sass-template-common 0.2.27 → 0.2.30
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
|
-
import { jsx as a, jsxs as f, Fragment as
|
|
1
|
+
import { jsx as a, jsxs as f, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as Ra from "react";
|
|
3
|
-
import Te, { useState as J, useRef as Or, useCallback as he, useEffect as De, createElement as st, forwardRef as Dr, Fragment as
|
|
3
|
+
import Te, { useState as J, useRef as Or, useCallback as he, useEffect as De, createElement as st, forwardRef as Dr, Fragment as pn, useMemo as Go, Component as Ho } from "react";
|
|
4
4
|
let Xn = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -57,11 +57,11 @@ let Xn = {
|
|
|
57
57
|
function y9(e = {}) {
|
|
58
58
|
Xn = { ...Xn, ...e };
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function W() {
|
|
61
61
|
return Xn;
|
|
62
62
|
}
|
|
63
63
|
const zo = () => {
|
|
64
|
-
const { ANALYTICS_comscore: e } =
|
|
64
|
+
const { ANALYTICS_comscore: e } = W();
|
|
65
65
|
return e && /* @__PURE__ */ a(
|
|
66
66
|
"script",
|
|
67
67
|
{
|
|
@@ -86,8 +86,8 @@ const zo = () => {
|
|
|
86
86
|
return Object.keys(t).forEach((s) => {
|
|
87
87
|
o[s] = s;
|
|
88
88
|
}), o;
|
|
89
|
-
}, [t]), { ANALYTICS_ga4: r } =
|
|
90
|
-
return r && /* @__PURE__ */ f(
|
|
89
|
+
}, [t]), { ANALYTICS_ga4: r } = W();
|
|
90
|
+
return r && /* @__PURE__ */ f(K, { children: [
|
|
91
91
|
/* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + e }),
|
|
92
92
|
/* @__PURE__ */ a(
|
|
93
93
|
"script",
|
|
@@ -109,8 +109,8 @@ const zo = () => {
|
|
|
109
109
|
)
|
|
110
110
|
] });
|
|
111
111
|
}, $o = () => {
|
|
112
|
-
const { ANALYTICS_gtm: e } =
|
|
113
|
-
return e && /* @__PURE__ */ f(
|
|
112
|
+
const { ANALYTICS_gtm: e } = W();
|
|
113
|
+
return e && /* @__PURE__ */ f(K, { children: [
|
|
114
114
|
/* @__PURE__ */ a(
|
|
115
115
|
"script",
|
|
116
116
|
{
|
|
@@ -137,7 +137,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
137
137
|
) })
|
|
138
138
|
] });
|
|
139
139
|
}, Wo = () => {
|
|
140
|
-
const { ANALYTICS_marfeel: e } =
|
|
140
|
+
const { ANALYTICS_marfeel: e } = W();
|
|
141
141
|
return e && /* @__PURE__ */ a(
|
|
142
142
|
"script",
|
|
143
143
|
{
|
|
@@ -151,7 +151,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
151
151
|
function _t(e) {
|
|
152
152
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
153
153
|
}
|
|
154
|
-
var
|
|
154
|
+
var sn = { exports: {} }, Yo = sn.exports, La;
|
|
155
155
|
function Mr() {
|
|
156
156
|
return La || (La = 1, (function(e, t) {
|
|
157
157
|
(function(n, r) {
|
|
@@ -427,11 +427,11 @@ function Mr() {
|
|
|
427
427
|
return G(1e3 * M);
|
|
428
428
|
}, G.en = x[b], G.Ls = x, G.p = {}, G;
|
|
429
429
|
}));
|
|
430
|
-
})(
|
|
430
|
+
})(sn)), sn.exports;
|
|
431
431
|
}
|
|
432
432
|
var Ko = Mr();
|
|
433
433
|
const Ee = /* @__PURE__ */ _t(Ko);
|
|
434
|
-
var
|
|
434
|
+
var cn = { exports: {} }, Jo = cn.exports, Ba;
|
|
435
435
|
function Zo() {
|
|
436
436
|
return Ba || (Ba = 1, (function(e, t) {
|
|
437
437
|
(function(n, r) {
|
|
@@ -473,11 +473,11 @@ function Zo() {
|
|
|
473
473
|
};
|
|
474
474
|
};
|
|
475
475
|
}));
|
|
476
|
-
})(
|
|
476
|
+
})(cn)), cn.exports;
|
|
477
477
|
}
|
|
478
478
|
var Xo = Zo();
|
|
479
479
|
const es = /* @__PURE__ */ _t(Xo);
|
|
480
|
-
var
|
|
480
|
+
var ln = { exports: {} }, ts = ln.exports, Pa;
|
|
481
481
|
function ns() {
|
|
482
482
|
return Pa || (Pa = 1, (function(e, t) {
|
|
483
483
|
(function(n, r) {
|
|
@@ -491,10 +491,10 @@ function ns() {
|
|
|
491
491
|
} };
|
|
492
492
|
return o.default.locale(s, null, !0), s;
|
|
493
493
|
}));
|
|
494
|
-
})(
|
|
494
|
+
})(ln)), ln.exports;
|
|
495
495
|
}
|
|
496
496
|
ns();
|
|
497
|
-
var
|
|
497
|
+
var dn = { exports: {} }, as = dn.exports, Oa;
|
|
498
498
|
function rs() {
|
|
499
499
|
return Oa || (Oa = 1, (function(e, t) {
|
|
500
500
|
(function(n, r) {
|
|
@@ -567,11 +567,11 @@ function rs() {
|
|
|
567
567
|
};
|
|
568
568
|
};
|
|
569
569
|
}));
|
|
570
|
-
})(
|
|
570
|
+
})(dn)), dn.exports;
|
|
571
571
|
}
|
|
572
572
|
var os = rs();
|
|
573
573
|
const ss = /* @__PURE__ */ _t(os);
|
|
574
|
-
var
|
|
574
|
+
var un = { exports: {} }, is = un.exports, Da;
|
|
575
575
|
function cs() {
|
|
576
576
|
return Da || (Da = 1, (function(e, t) {
|
|
577
577
|
(function(n, r) {
|
|
@@ -632,7 +632,7 @@ function cs() {
|
|
|
632
632
|
};
|
|
633
633
|
};
|
|
634
634
|
}));
|
|
635
|
-
})(
|
|
635
|
+
})(un)), un.exports;
|
|
636
636
|
}
|
|
637
637
|
var ls = cs();
|
|
638
638
|
const ds = /* @__PURE__ */ _t(ls);
|
|
@@ -640,18 +640,18 @@ Ee.extend(ss);
|
|
|
640
640
|
Ee.extend(ds);
|
|
641
641
|
Ee.extend(es);
|
|
642
642
|
const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
|
|
643
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
643
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), r = _n(t ?? "es");
|
|
644
644
|
return Ee.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
645
645
|
}, jr = (e) => {
|
|
646
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
646
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), r = _n(t ?? "es");
|
|
647
647
|
return Ee.tz(e, n).locale(r).format(
|
|
648
648
|
r === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
649
649
|
);
|
|
650
650
|
}, us = (e) => {
|
|
651
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
651
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), r = _n(t ?? "es");
|
|
652
652
|
return Ee.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
653
653
|
}, w9 = (e) => {
|
|
654
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
654
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), r = _n(t ?? "es");
|
|
655
655
|
return Ee.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
|
|
656
656
|
}, je = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
657
657
|
function Qr(e) {
|
|
@@ -724,15 +724,15 @@ const b9 = async (e, t) => {
|
|
|
724
724
|
}), (await Promise.allSettled(n)).map(
|
|
725
725
|
(s) => Qr(s)?.data
|
|
726
726
|
);
|
|
727
|
-
},
|
|
728
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } =
|
|
729
|
-
return e == "local" ? t : n
|
|
727
|
+
}, Mt = () => {
|
|
728
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = W();
|
|
729
|
+
return e == "local" ? t : n && n !== "false" ? n : "";
|
|
730
730
|
}, ms = () => {
|
|
731
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
731
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = W();
|
|
732
732
|
return e === "local" ? t : "";
|
|
733
733
|
}, fs = (e, t) => {
|
|
734
734
|
if (!e) return {};
|
|
735
|
-
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } =
|
|
735
|
+
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = W(), o = Gr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
|
|
736
736
|
return {
|
|
737
737
|
title: (e?.main?.title?.seo ?? e?.main?.title?.article) + " | " + t.name,
|
|
738
738
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -913,14 +913,14 @@ const b9 = async (e, t) => {
|
|
|
913
913
|
)
|
|
914
914
|
);
|
|
915
915
|
}), t;
|
|
916
|
-
}, me = async (e) => `${
|
|
916
|
+
}, me = async (e) => `${Mt()}${e}`, ma = (e, t) => {
|
|
917
917
|
const n = e || "";
|
|
918
918
|
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 || "";
|
|
919
919
|
}, Hr = (e) => {
|
|
920
920
|
const t = e.banners.find((s) => s.key === e.name);
|
|
921
921
|
if (!t || !t.show) return null;
|
|
922
922
|
const n = ma(t.value || "", e.replaces), r = /<script([^>]*)>([\s\S]*?)<\/script\s*>/gi, o = [...n.matchAll(r)];
|
|
923
|
-
return /* @__PURE__ */ a(
|
|
923
|
+
return /* @__PURE__ */ a(K, { children: o.map((s, i) => {
|
|
924
924
|
const c = s[1] || "", d = s[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
|
|
925
925
|
if (l) {
|
|
926
926
|
const u = l[1];
|
|
@@ -939,7 +939,7 @@ const b9 = async (e, t) => {
|
|
|
939
939
|
const t = e.banners.find((o) => o.key === e.name);
|
|
940
940
|
if (!t || !t.show) return null;
|
|
941
941
|
const r = ma(t.value || "", e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);
|
|
942
|
-
return /* @__PURE__ */ a(
|
|
942
|
+
return /* @__PURE__ */ a(K, { children: r.map((o, s) => {
|
|
943
943
|
const i = o.match(
|
|
944
944
|
/<script([^>]*)>([\s\S]*?)<\/script\s*>/i
|
|
945
945
|
);
|
|
@@ -961,12 +961,12 @@ const b9 = async (e, t) => {
|
|
|
961
961
|
return /* @__PURE__ */ a("div", { dangerouslySetInnerHTML: { __html: o } }, s);
|
|
962
962
|
return null;
|
|
963
963
|
}) });
|
|
964
|
-
},
|
|
964
|
+
}, $t = (e, t, n) => {
|
|
965
965
|
let r = e.siteUrl;
|
|
966
966
|
return t.forEach((o, s) => {
|
|
967
967
|
s > 0 && (r += `/${o}`);
|
|
968
968
|
}), `${r}/page/${n + 1}`;
|
|
969
|
-
},
|
|
969
|
+
}, Wt = (e, t, n) => {
|
|
970
970
|
let r = e.siteUrl;
|
|
971
971
|
return t.forEach((o, s) => {
|
|
972
972
|
s > 0 && (r += `/${o}`);
|
|
@@ -977,9 +977,9 @@ function C9(e) {
|
|
|
977
977
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
978
978
|
}
|
|
979
979
|
const vs = () => {
|
|
980
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
980
|
+
const { PUBLIC_ASSETS_URL: e } = W();
|
|
981
981
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
982
|
-
}, { PUBLIC_ASSETS_URL: Un } =
|
|
982
|
+
}, { PUBLIC_ASSETS_URL: Un } = W(), bs = Un && Un !== "false" ? Un : "", Ma = ({ images: e }) => /* @__PURE__ */ a(K, { children: e.map(
|
|
983
983
|
(t, n) => t.href !== "" && /* @__PURE__ */ a(
|
|
984
984
|
"link",
|
|
985
985
|
{
|
|
@@ -993,7 +993,7 @@ const vs = () => {
|
|
|
993
993
|
)
|
|
994
994
|
) }), Cs = (e, t) => {
|
|
995
995
|
if (!e) return {};
|
|
996
|
-
const { PUBLIC_API_FRONT: n } =
|
|
996
|
+
const { PUBLIC_API_FRONT: n } = W();
|
|
997
997
|
return {
|
|
998
998
|
title: e?.main?.title + " | " + t.name,
|
|
999
999
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1105,7 +1105,7 @@ const vt = (e, t) => {
|
|
|
1105
1105
|
pathname: n,
|
|
1106
1106
|
ROUTE: r
|
|
1107
1107
|
}) => {
|
|
1108
|
-
const { PUBLIC_PUBLICATION_ID: o = "" } =
|
|
1108
|
+
const { PUBLIC_PUBLICATION_ID: o = "" } = W();
|
|
1109
1109
|
let s = [];
|
|
1110
1110
|
const i = n === "/" || n === "/index.html" ? void 0 : Ls(Bs[r]({ pathname: n, config: e })), c = Es[r] ?? void 0, d = {
|
|
1111
1111
|
newstype: e.newsType,
|
|
@@ -1133,7 +1133,7 @@ const vt = (e, t) => {
|
|
|
1133
1133
|
);
|
|
1134
1134
|
};
|
|
1135
1135
|
function ga(e) {
|
|
1136
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1136
|
+
const { PUBLIC_ASSETS_URL: t } = W();
|
|
1137
1137
|
if (!t || t === "false") return e;
|
|
1138
1138
|
const n = t.replace(/\/+$/, ""), r = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1139
1139
|
return e.replace(r, (o, s) => `${n}/${s}/`);
|
|
@@ -1144,7 +1144,7 @@ const Is = async ({
|
|
|
1144
1144
|
BASE_URL: n,
|
|
1145
1145
|
axiosApi: r
|
|
1146
1146
|
}) => {
|
|
1147
|
-
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } =
|
|
1147
|
+
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } = W();
|
|
1148
1148
|
let i = [];
|
|
1149
1149
|
try {
|
|
1150
1150
|
const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
|
|
@@ -1247,7 +1247,7 @@ const Is = async ({
|
|
|
1247
1247
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
1248
1248
|
}
|
|
1249
1249
|
`;
|
|
1250
|
-
return /* @__PURE__ */ a(
|
|
1250
|
+
return /* @__PURE__ */ a(K, { children: e.useS3Font ? /* @__PURE__ */ f(K, { children: [
|
|
1251
1251
|
/* @__PURE__ */ a(
|
|
1252
1252
|
"link",
|
|
1253
1253
|
{
|
|
@@ -1366,7 +1366,7 @@ const Is = async ({
|
|
|
1366
1366
|
autor: (e) => e.pathname.split("/autor/")[1] ?? "",
|
|
1367
1367
|
video: (e) => e.pathname.split("/video/")[1] ?? "",
|
|
1368
1368
|
videos: (e) => e.pathname.split("/videos/")[1] ?? ""
|
|
1369
|
-
},
|
|
1369
|
+
}, Yt = (e) => {
|
|
1370
1370
|
const t = e.split("/"), n = t[t.length - 1] ?? "1";
|
|
1371
1371
|
return Number(n) > 0 ? Number(n) : 1;
|
|
1372
1372
|
}, x9 = (e, t = 2) => {
|
|
@@ -1512,7 +1512,7 @@ const { toString: Ps } = Object.prototype, { getPrototypeOf: pa } = Object, { it
|
|
|
1512
1512
|
const n = Ps.call(t);
|
|
1513
1513
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1514
1514
|
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => Sn(t) === e), xn = (e) => (t) => typeof t === e, { isArray: Nt } = Array, bt = xn("undefined");
|
|
1515
|
-
function
|
|
1515
|
+
function Qt(e) {
|
|
1516
1516
|
return e !== null && !bt(e) && e.constructor !== null && !bt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1517
1517
|
}
|
|
1518
1518
|
const $r = Be("ArrayBuffer");
|
|
@@ -1520,25 +1520,25 @@ function Os(e) {
|
|
|
1520
1520
|
let t;
|
|
1521
1521
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && $r(e.buffer), t;
|
|
1522
1522
|
}
|
|
1523
|
-
const Ds = xn("string"), Ce = xn("function"), Wr = xn("number"),
|
|
1523
|
+
const Ds = xn("string"), Ce = xn("function"), Wr = xn("number"), Gt = (e) => e !== null && typeof e == "object", Ms = (e) => e === !0 || e === !1, hn = (e) => {
|
|
1524
1524
|
if (Sn(e) !== "object")
|
|
1525
1525
|
return !1;
|
|
1526
1526
|
const t = pa(e);
|
|
1527
1527
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Fr in e) && !(Nn in e);
|
|
1528
1528
|
}, js = (e) => {
|
|
1529
|
-
if (!
|
|
1529
|
+
if (!Gt(e) || Qt(e))
|
|
1530
1530
|
return !1;
|
|
1531
1531
|
try {
|
|
1532
1532
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
1533
1533
|
} catch {
|
|
1534
1534
|
return !1;
|
|
1535
1535
|
}
|
|
1536
|
-
}, Qs = Be("Date"), Gs = Be("File"), Hs = Be("Blob"), zs = Be("FileList"), Vs = (e) =>
|
|
1536
|
+
}, Qs = Be("Date"), Gs = Be("File"), Hs = Be("Blob"), zs = Be("FileList"), Vs = (e) => Gt(e) && Ce(e.pipe), Fs = (e) => {
|
|
1537
1537
|
let t;
|
|
1538
1538
|
return e && (typeof FormData == "function" && e instanceof FormData || Ce(e.append) && ((t = Sn(e)) === "formdata" || // detect form-data instance
|
|
1539
1539
|
t === "object" && Ce(e.toString) && e.toString() === "[object FormData]"));
|
|
1540
1540
|
}, $s = Be("URLSearchParams"), [Ws, Ys, Ks, Js] = ["ReadableStream", "Request", "Response", "Headers"].map(Be), Zs = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
1541
|
-
function
|
|
1541
|
+
function Ht(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
1542
1542
|
if (e === null || typeof e > "u")
|
|
1543
1543
|
return;
|
|
1544
1544
|
let r, o;
|
|
@@ -1546,7 +1546,7 @@ function Gt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
1546
1546
|
for (r = 0, o = e.length; r < o; r++)
|
|
1547
1547
|
t.call(null, e[r], r, e);
|
|
1548
1548
|
else {
|
|
1549
|
-
if (
|
|
1549
|
+
if (Qt(e))
|
|
1550
1550
|
return;
|
|
1551
1551
|
const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
1552
1552
|
let c;
|
|
@@ -1555,7 +1555,7 @@ function Gt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
function Yr(e, t) {
|
|
1558
|
-
if (
|
|
1558
|
+
if (Qt(e))
|
|
1559
1559
|
return null;
|
|
1560
1560
|
t = t.toLowerCase();
|
|
1561
1561
|
const n = Object.keys(e);
|
|
@@ -1569,13 +1569,13 @@ const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
1569
1569
|
function ea() {
|
|
1570
1570
|
const { caseless: e, skipUndefined: t } = Kr(this) && this || {}, n = {}, r = (o, s) => {
|
|
1571
1571
|
const i = e && Yr(n, s) || s;
|
|
1572
|
-
|
|
1572
|
+
hn(n[i]) && hn(o) ? n[i] = ea(n[i], o) : hn(o) ? n[i] = ea({}, o) : Nt(o) ? n[i] = o.slice() : (!t || !bt(o)) && (n[i] = o);
|
|
1573
1573
|
};
|
|
1574
1574
|
for (let o = 0, s = arguments.length; o < s; o++)
|
|
1575
|
-
arguments[o] &&
|
|
1575
|
+
arguments[o] && Ht(arguments[o], r);
|
|
1576
1576
|
return n;
|
|
1577
1577
|
}
|
|
1578
|
-
const Xs = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
1578
|
+
const Xs = (e, t, n, { allOwnKeys: r } = {}) => (Ht(t, (o, s) => {
|
|
1579
1579
|
n && Ce(o) ? e[s] = Vr(o, n) : e[s] = o;
|
|
1580
1580
|
}, { allOwnKeys: r }), e), ei = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ti = (e, t, n, r) => {
|
|
1581
1581
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -1624,7 +1624,7 @@ const Xs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
), ja = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), di = Be("RegExp"), Jr = (e, t) => {
|
|
1626
1626
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
1627
|
-
|
|
1627
|
+
Ht(n, (o, s) => {
|
|
1628
1628
|
let i;
|
|
1629
1629
|
(i = t(o, s, e)) !== !1 && (r[s] = i || o);
|
|
1630
1630
|
}), Object.defineProperties(e, r);
|
|
@@ -1657,15 +1657,15 @@ function gi(e) {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
const pi = (e) => {
|
|
1659
1659
|
const t = new Array(10), n = (r, o) => {
|
|
1660
|
-
if (
|
|
1660
|
+
if (Gt(r)) {
|
|
1661
1661
|
if (t.indexOf(r) >= 0)
|
|
1662
1662
|
return;
|
|
1663
|
-
if (
|
|
1663
|
+
if (Qt(r))
|
|
1664
1664
|
return r;
|
|
1665
1665
|
if (!("toJSON" in r)) {
|
|
1666
1666
|
t[o] = r;
|
|
1667
1667
|
const s = Nt(r) ? [] : {};
|
|
1668
|
-
return
|
|
1668
|
+
return Ht(r, (i, c) => {
|
|
1669
1669
|
const d = n(i, o + 1);
|
|
1670
1670
|
!bt(d) && (s[c] = d);
|
|
1671
1671
|
}), t[o] = void 0, s;
|
|
@@ -1674,7 +1674,7 @@ const pi = (e) => {
|
|
|
1674
1674
|
return r;
|
|
1675
1675
|
};
|
|
1676
1676
|
return n(e, 0);
|
|
1677
|
-
}, Ai = Be("AsyncFunction"), yi = (e) => e && (
|
|
1677
|
+
}, Ai = Be("AsyncFunction"), yi = (e) => e && (Gt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Zr = ((e, t) => e ? setImmediate : t ? ((n, r) => (dt.addEventListener("message", ({ source: o, data: s }) => {
|
|
1678
1678
|
o === dt && s === n && r.length && r.shift()();
|
|
1679
1679
|
}, !1), (o) => {
|
|
1680
1680
|
r.push(o), dt.postMessage(n, "*");
|
|
@@ -1684,14 +1684,14 @@ const pi = (e) => {
|
|
|
1684
1684
|
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick || Zr, vi = (e) => e != null && Ce(e[Nn]), C = {
|
|
1685
1685
|
isArray: Nt,
|
|
1686
1686
|
isArrayBuffer: $r,
|
|
1687
|
-
isBuffer:
|
|
1687
|
+
isBuffer: Qt,
|
|
1688
1688
|
isFormData: Fs,
|
|
1689
1689
|
isArrayBufferView: Os,
|
|
1690
1690
|
isString: Ds,
|
|
1691
1691
|
isNumber: Wr,
|
|
1692
1692
|
isBoolean: Ms,
|
|
1693
|
-
isObject:
|
|
1694
|
-
isPlainObject:
|
|
1693
|
+
isObject: Gt,
|
|
1694
|
+
isPlainObject: hn,
|
|
1695
1695
|
isEmptyObject: js,
|
|
1696
1696
|
isReadableStream: Ws,
|
|
1697
1697
|
isRequest: Ys,
|
|
@@ -1707,7 +1707,7 @@ const pi = (e) => {
|
|
|
1707
1707
|
isURLSearchParams: $s,
|
|
1708
1708
|
isTypedArray: oi,
|
|
1709
1709
|
isFileList: zs,
|
|
1710
|
-
forEach:
|
|
1710
|
+
forEach: Ht,
|
|
1711
1711
|
merge: ea,
|
|
1712
1712
|
extend: Xs,
|
|
1713
1713
|
trim: Zs,
|
|
@@ -1741,10 +1741,10 @@ const pi = (e) => {
|
|
|
1741
1741
|
asap: wi,
|
|
1742
1742
|
isIterable: vi
|
|
1743
1743
|
};
|
|
1744
|
-
function
|
|
1744
|
+
function Y(e, t, n, r, o) {
|
|
1745
1745
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
1746
1746
|
}
|
|
1747
|
-
C.inherits(
|
|
1747
|
+
C.inherits(Y, Error, {
|
|
1748
1748
|
toJSON: function() {
|
|
1749
1749
|
return {
|
|
1750
1750
|
// Standard
|
|
@@ -1765,7 +1765,7 @@ C.inherits(W, Error, {
|
|
|
1765
1765
|
};
|
|
1766
1766
|
}
|
|
1767
1767
|
});
|
|
1768
|
-
const Xr =
|
|
1768
|
+
const Xr = Y.prototype, eo = {};
|
|
1769
1769
|
[
|
|
1770
1770
|
"ERR_BAD_OPTION_VALUE",
|
|
1771
1771
|
"ERR_BAD_OPTION",
|
|
@@ -1783,15 +1783,15 @@ const Xr = W.prototype, eo = {};
|
|
|
1783
1783
|
].forEach((e) => {
|
|
1784
1784
|
eo[e] = { value: e };
|
|
1785
1785
|
});
|
|
1786
|
-
Object.defineProperties(
|
|
1786
|
+
Object.defineProperties(Y, eo);
|
|
1787
1787
|
Object.defineProperty(Xr, "isAxiosError", { value: !0 });
|
|
1788
|
-
|
|
1788
|
+
Y.from = (e, t, n, r, o, s) => {
|
|
1789
1789
|
const i = Object.create(Xr);
|
|
1790
1790
|
C.toFlatObject(e, i, function(u) {
|
|
1791
1791
|
return u !== Error.prototype;
|
|
1792
1792
|
}, (l) => l !== "isAxiosError");
|
|
1793
1793
|
const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
|
|
1794
|
-
return
|
|
1794
|
+
return Y.call(i, c, d, n, r, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
|
|
1795
1795
|
};
|
|
1796
1796
|
const bi = null;
|
|
1797
1797
|
function ta(e) {
|
|
@@ -1831,7 +1831,7 @@ function En(e, t, n) {
|
|
|
1831
1831
|
if (C.isBoolean(g))
|
|
1832
1832
|
return g.toString();
|
|
1833
1833
|
if (!d && C.isBlob(g))
|
|
1834
|
-
throw new
|
|
1834
|
+
throw new Y("Blob is not supported. Use a Buffer instead.");
|
|
1835
1835
|
return C.isArrayBuffer(g) || C.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1836
1836
|
}
|
|
1837
1837
|
function u(g, A, y) {
|
|
@@ -2044,7 +2044,7 @@ function Pi(e, t, n) {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
return (n || JSON.stringify)(e);
|
|
2046
2046
|
}
|
|
2047
|
-
const
|
|
2047
|
+
const zt = {
|
|
2048
2048
|
transitional: ro,
|
|
2049
2049
|
adapter: ["xhr", "http", "fetch"],
|
|
2050
2050
|
transformRequest: [function(t, n) {
|
|
@@ -2073,7 +2073,7 @@ const Ht = {
|
|
|
2073
2073
|
return s || o ? (n.setContentType("application/json", !1), Pi(t)) : t;
|
|
2074
2074
|
}],
|
|
2075
2075
|
transformResponse: [function(t) {
|
|
2076
|
-
const n = this.transitional ||
|
|
2076
|
+
const n = this.transitional || zt.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
2077
2077
|
if (C.isResponse(t) || C.isReadableStream(t))
|
|
2078
2078
|
return t;
|
|
2079
2079
|
if (t && C.isString(t) && (r && !this.responseType || o)) {
|
|
@@ -2082,7 +2082,7 @@ const Ht = {
|
|
|
2082
2082
|
return JSON.parse(t, this.parseReviver);
|
|
2083
2083
|
} catch (c) {
|
|
2084
2084
|
if (i)
|
|
2085
|
-
throw c.name === "SyntaxError" ?
|
|
2085
|
+
throw c.name === "SyntaxError" ? Y.from(c, Y.ERR_BAD_RESPONSE, this, null, this.response) : c;
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
2088
|
return t;
|
|
@@ -2111,7 +2111,7 @@ const Ht = {
|
|
|
2111
2111
|
}
|
|
2112
2112
|
};
|
|
2113
2113
|
C.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2114
|
-
|
|
2114
|
+
zt.headers[e] = {};
|
|
2115
2115
|
});
|
|
2116
2116
|
const Oi = C.toObjectSet([
|
|
2117
2117
|
"age",
|
|
@@ -2142,8 +2142,8 @@ const Oi = C.toObjectSet([
|
|
|
2142
2142
|
function It(e) {
|
|
2143
2143
|
return e && String(e).trim().toLowerCase();
|
|
2144
2144
|
}
|
|
2145
|
-
function
|
|
2146
|
-
return e === !1 || e == null ? e : C.isArray(e) ? e.map(
|
|
2145
|
+
function mn(e) {
|
|
2146
|
+
return e === !1 || e == null ? e : C.isArray(e) ? e.map(mn) : String(e);
|
|
2147
2147
|
}
|
|
2148
2148
|
function Mi(e) {
|
|
2149
2149
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -2188,7 +2188,7 @@ let _e = class {
|
|
|
2188
2188
|
if (!u)
|
|
2189
2189
|
throw new Error("header name must be a non-empty string");
|
|
2190
2190
|
const m = C.findKey(o, u);
|
|
2191
|
-
(!m || o[m] === void 0 || l === !0 || l === void 0 && o[m] !== !1) && (o[m || d] =
|
|
2191
|
+
(!m || o[m] === void 0 || l === !0 || l === void 0 && o[m] !== !1) && (o[m || d] = mn(c));
|
|
2192
2192
|
}
|
|
2193
2193
|
const i = (c, d) => C.forEach(c, (l, u) => s(l, u, d));
|
|
2194
2194
|
if (C.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -2256,11 +2256,11 @@ let _e = class {
|
|
|
2256
2256
|
return C.forEach(this, (o, s) => {
|
|
2257
2257
|
const i = C.findKey(r, s);
|
|
2258
2258
|
if (i) {
|
|
2259
|
-
n[i] =
|
|
2259
|
+
n[i] = mn(o), delete n[s];
|
|
2260
2260
|
return;
|
|
2261
2261
|
}
|
|
2262
2262
|
const c = t ? Qi(s) : String(s).trim();
|
|
2263
|
-
c !== s && delete n[s], n[c] =
|
|
2263
|
+
c !== s && delete n[s], n[c] = mn(o), r[c] = !0;
|
|
2264
2264
|
}), this;
|
|
2265
2265
|
}
|
|
2266
2266
|
concat(...t) {
|
|
@@ -2315,7 +2315,7 @@ C.reduceDescriptors(_e.prototype, ({ value: e }, t) => {
|
|
|
2315
2315
|
});
|
|
2316
2316
|
C.freezeMethods(_e);
|
|
2317
2317
|
function Rn(e, t) {
|
|
2318
|
-
const n = this ||
|
|
2318
|
+
const n = this || zt, r = t || n, o = _e.from(r.headers);
|
|
2319
2319
|
let s = r.data;
|
|
2320
2320
|
return C.forEach(e, function(c) {
|
|
2321
2321
|
s = c.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
@@ -2325,16 +2325,16 @@ function so(e) {
|
|
|
2325
2325
|
return !!(e && e.__CANCEL__);
|
|
2326
2326
|
}
|
|
2327
2327
|
function St(e, t, n) {
|
|
2328
|
-
|
|
2328
|
+
Y.call(this, e ?? "canceled", Y.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
2329
2329
|
}
|
|
2330
|
-
C.inherits(St,
|
|
2330
|
+
C.inherits(St, Y, {
|
|
2331
2331
|
__CANCEL__: !0
|
|
2332
2332
|
});
|
|
2333
2333
|
function io(e, t, n) {
|
|
2334
2334
|
const r = n.config.validateStatus;
|
|
2335
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
2335
|
+
!n.status || !r || r(n.status) ? e(n) : t(new Y(
|
|
2336
2336
|
"Request failed with status code " + n.status,
|
|
2337
|
-
[
|
|
2337
|
+
[Y.ERR_BAD_REQUEST, Y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
2338
2338
|
n.config,
|
|
2339
2339
|
n.request,
|
|
2340
2340
|
n
|
|
@@ -2559,16 +2559,16 @@ const lo = (e) => {
|
|
|
2559
2559
|
"onloadend" in y ? y.onloadend = v : y.onreadystatechange = function() {
|
|
2560
2560
|
!y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
2561
2561
|
}, y.onabort = function() {
|
|
2562
|
-
y && (r(new
|
|
2562
|
+
y && (r(new Y("Request aborted", Y.ECONNABORTED, e, y)), y = null);
|
|
2563
2563
|
}, y.onerror = function(E) {
|
|
2564
|
-
const b = E && E.message ? E.message : "Network Error", x = new
|
|
2564
|
+
const b = E && E.message ? E.message : "Network Error", x = new Y(b, Y.ERR_NETWORK, e, y);
|
|
2565
2565
|
x.event = E || null, r(x), y = null;
|
|
2566
2566
|
}, y.ontimeout = function() {
|
|
2567
2567
|
let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
2568
2568
|
const b = o.transitional || ro;
|
|
2569
|
-
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new
|
|
2569
|
+
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new Y(
|
|
2570
2570
|
E,
|
|
2571
|
-
b.clarifyTimeoutError ?
|
|
2571
|
+
b.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
|
|
2572
2572
|
e,
|
|
2573
2573
|
y
|
|
2574
2574
|
)), y = null;
|
|
@@ -2579,7 +2579,7 @@ const lo = (e) => {
|
|
|
2579
2579
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2580
2580
|
const N = Hi(o.url);
|
|
2581
2581
|
if (N && ge.protocols.indexOf(N) === -1) {
|
|
2582
|
-
r(new
|
|
2582
|
+
r(new Y("Unsupported protocol " + N + ":", Y.ERR_BAD_REQUEST, e));
|
|
2583
2583
|
return;
|
|
2584
2584
|
}
|
|
2585
2585
|
y.send(s || null);
|
|
@@ -2592,11 +2592,11 @@ const lo = (e) => {
|
|
|
2592
2592
|
if (!o) {
|
|
2593
2593
|
o = !0, c();
|
|
2594
2594
|
const u = l instanceof Error ? l : this.reason;
|
|
2595
|
-
r.abort(u instanceof
|
|
2595
|
+
r.abort(u instanceof Y ? u : new St(u instanceof Error ? u.message : u));
|
|
2596
2596
|
}
|
|
2597
2597
|
};
|
|
2598
2598
|
let i = t && setTimeout(() => {
|
|
2599
|
-
i = null, s(new
|
|
2599
|
+
i = null, s(new Y(`timeout ${t} of ms exceeded`, Y.ETIMEDOUT));
|
|
2600
2600
|
}, t);
|
|
2601
2601
|
const c = () => {
|
|
2602
2602
|
e && (i && clearTimeout(i), i = null, e.forEach((l) => {
|
|
@@ -2664,7 +2664,7 @@ const lo = (e) => {
|
|
|
2664
2664
|
}, {
|
|
2665
2665
|
highWaterMark: 2
|
|
2666
2666
|
});
|
|
2667
|
-
}, Ya = 64 * 1024, { isFunction:
|
|
2667
|
+
}, Ya = 64 * 1024, { isFunction: Kt } = C, nc = (({ Request: e, Response: t }) => ({
|
|
2668
2668
|
Request: e,
|
|
2669
2669
|
Response: t
|
|
2670
2670
|
}))(C.global), {
|
|
@@ -2680,10 +2680,10 @@ const lo = (e) => {
|
|
|
2680
2680
|
e = C.merge.call({
|
|
2681
2681
|
skipUndefined: !0
|
|
2682
2682
|
}, nc, e);
|
|
2683
|
-
const { fetch: t, Request: n, Response: r } = e, o = t ?
|
|
2683
|
+
const { fetch: t, Request: n, Response: r } = e, o = t ? Kt(t) : typeof fetch == "function", s = Kt(n), i = Kt(r);
|
|
2684
2684
|
if (!o)
|
|
2685
2685
|
return !1;
|
|
2686
|
-
const c = o &&
|
|
2686
|
+
const c = o && Kt(Ka), d = o && (typeof Ja == "function" ? /* @__PURE__ */ ((g) => (A) => g.encode(A))(new Ja()) : async (g) => new Uint8Array(await new n(g).arrayBuffer())), l = s && c && Za(() => {
|
|
2687
2687
|
let g = !1;
|
|
2688
2688
|
const A = new n(ge.origin, {
|
|
2689
2689
|
body: new Ka(),
|
|
@@ -2701,7 +2701,7 @@ const lo = (e) => {
|
|
|
2701
2701
|
let v = A && A[g];
|
|
2702
2702
|
if (v)
|
|
2703
2703
|
return v.call(A);
|
|
2704
|
-
throw new
|
|
2704
|
+
throw new Y(`Response type '${g}' is not supported`, Y.ERR_NOT_SUPPORT, y);
|
|
2705
2705
|
});
|
|
2706
2706
|
});
|
|
2707
2707
|
const h = async (g) => {
|
|
@@ -2801,11 +2801,11 @@ const lo = (e) => {
|
|
|
2801
2801
|
});
|
|
2802
2802
|
} catch (T) {
|
|
2803
2803
|
throw M && M(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
|
|
2804
|
-
new
|
|
2804
|
+
new Y("Network Error", Y.ERR_NETWORK, g, ce),
|
|
2805
2805
|
{
|
|
2806
2806
|
cause: T.cause || T
|
|
2807
2807
|
}
|
|
2808
|
-
) :
|
|
2808
|
+
) : Y.from(T, T && T.code, g, ce);
|
|
2809
2809
|
}
|
|
2810
2810
|
};
|
|
2811
2811
|
}, rc = /* @__PURE__ */ new Map(), uo = (e) => {
|
|
@@ -2847,7 +2847,7 @@ function sc(e, t) {
|
|
|
2847
2847
|
r = e[i];
|
|
2848
2848
|
let c;
|
|
2849
2849
|
if (o = r, !oc(r) && (o = wa[(c = String(r)).toLowerCase()], o === void 0))
|
|
2850
|
-
throw new
|
|
2850
|
+
throw new Y(`Unknown adapter '${c}'`);
|
|
2851
2851
|
if (o && (C.isFunction(o) || (o = o.get(t))))
|
|
2852
2852
|
break;
|
|
2853
2853
|
s[c || "#" + i] = o;
|
|
@@ -2859,7 +2859,7 @@ function sc(e, t) {
|
|
|
2859
2859
|
let c = n ? i.length > 1 ? `since :
|
|
2860
2860
|
` + i.map(Xa).join(`
|
|
2861
2861
|
`) : " " + Xa(i[0]) : "as no adapter specified";
|
|
2862
|
-
throw new
|
|
2862
|
+
throw new Y(
|
|
2863
2863
|
"There is no suitable adapter to dispatch the request " + c,
|
|
2864
2864
|
"ERR_NOT_SUPPORT"
|
|
2865
2865
|
);
|
|
@@ -2886,7 +2886,7 @@ function er(e) {
|
|
|
2886
2886
|
return Ln(e), e.headers = _e.from(e.headers), e.data = Rn.call(
|
|
2887
2887
|
e,
|
|
2888
2888
|
e.transformRequest
|
|
2889
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ho.getAdapter(e.adapter ||
|
|
2889
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ho.getAdapter(e.adapter || zt.adapter, e)(e).then(function(r) {
|
|
2890
2890
|
return Ln(e), r.data = Rn.call(
|
|
2891
2891
|
e,
|
|
2892
2892
|
e.transformResponse,
|
|
@@ -2913,9 +2913,9 @@ Tn.transitional = function(t, n, r) {
|
|
|
2913
2913
|
}
|
|
2914
2914
|
return (s, i, c) => {
|
|
2915
2915
|
if (t === !1)
|
|
2916
|
-
throw new
|
|
2916
|
+
throw new Y(
|
|
2917
2917
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
2918
|
-
|
|
2918
|
+
Y.ERR_DEPRECATED
|
|
2919
2919
|
);
|
|
2920
2920
|
return n && !tr[i] && (tr[i] = !0, console.warn(
|
|
2921
2921
|
o(
|
|
@@ -2930,7 +2930,7 @@ Tn.spelling = function(t) {
|
|
|
2930
2930
|
};
|
|
2931
2931
|
function ic(e, t, n) {
|
|
2932
2932
|
if (typeof e != "object")
|
|
2933
|
-
throw new
|
|
2933
|
+
throw new Y("options must be an object", Y.ERR_BAD_OPTION_VALUE);
|
|
2934
2934
|
const r = Object.keys(e);
|
|
2935
2935
|
let o = r.length;
|
|
2936
2936
|
for (; o-- > 0; ) {
|
|
@@ -2938,17 +2938,17 @@ function ic(e, t, n) {
|
|
|
2938
2938
|
if (i) {
|
|
2939
2939
|
const c = e[s], d = c === void 0 || i(c, s, e);
|
|
2940
2940
|
if (d !== !0)
|
|
2941
|
-
throw new
|
|
2941
|
+
throw new Y("option " + s + " must be " + d, Y.ERR_BAD_OPTION_VALUE);
|
|
2942
2942
|
continue;
|
|
2943
2943
|
}
|
|
2944
2944
|
if (n !== !0)
|
|
2945
|
-
throw new
|
|
2945
|
+
throw new Y("Unknown option " + s, Y.ERR_BAD_OPTION);
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
|
-
const
|
|
2948
|
+
const fn = {
|
|
2949
2949
|
assertOptions: ic,
|
|
2950
2950
|
validators: Tn
|
|
2951
|
-
}, Pe =
|
|
2951
|
+
}, Pe = fn.validators;
|
|
2952
2952
|
let ut = class {
|
|
2953
2953
|
constructor(t) {
|
|
2954
2954
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -2984,16 +2984,16 @@ let ut = class {
|
|
|
2984
2984
|
_request(t, n) {
|
|
2985
2985
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = mt(this.defaults, n);
|
|
2986
2986
|
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
2987
|
-
r !== void 0 &&
|
|
2987
|
+
r !== void 0 && fn.assertOptions(r, {
|
|
2988
2988
|
silentJSONParsing: Pe.transitional(Pe.boolean),
|
|
2989
2989
|
forcedJSONParsing: Pe.transitional(Pe.boolean),
|
|
2990
2990
|
clarifyTimeoutError: Pe.transitional(Pe.boolean)
|
|
2991
2991
|
}, !1), o != null && (C.isFunction(o) ? n.paramsSerializer = {
|
|
2992
2992
|
serialize: o
|
|
2993
|
-
} :
|
|
2993
|
+
} : fn.assertOptions(o, {
|
|
2994
2994
|
encode: Pe.function,
|
|
2995
2995
|
serialize: Pe.function
|
|
2996
|
-
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0),
|
|
2996
|
+
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), fn.assertOptions(n, {
|
|
2997
2997
|
baseUrl: Pe.spelling("baseURL"),
|
|
2998
2998
|
withXsrfToken: Pe.spelling("withXSRFToken")
|
|
2999
2999
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -3234,14 +3234,14 @@ function go(e) {
|
|
|
3234
3234
|
return go(mt(e, o));
|
|
3235
3235
|
}, n;
|
|
3236
3236
|
}
|
|
3237
|
-
const oe = go(
|
|
3237
|
+
const oe = go(zt);
|
|
3238
3238
|
oe.Axios = ut;
|
|
3239
3239
|
oe.CanceledError = St;
|
|
3240
3240
|
oe.CancelToken = cc;
|
|
3241
3241
|
oe.isCancel = so;
|
|
3242
3242
|
oe.VERSION = mo;
|
|
3243
3243
|
oe.toFormData = En;
|
|
3244
|
-
oe.AxiosError =
|
|
3244
|
+
oe.AxiosError = Y;
|
|
3245
3245
|
oe.Cancel = oe.CanceledError;
|
|
3246
3246
|
oe.all = function(t) {
|
|
3247
3247
|
return Promise.all(t);
|
|
@@ -3283,7 +3283,7 @@ class at {
|
|
|
3283
3283
|
PUBLIC_IS_OFFLINE: n,
|
|
3284
3284
|
PUBLIC_USERNAME_OFFLINE: r,
|
|
3285
3285
|
PUBLIC_PASSWORD_OFFLINE: o
|
|
3286
|
-
} =
|
|
3286
|
+
} = W();
|
|
3287
3287
|
if (n === "true")
|
|
3288
3288
|
try {
|
|
3289
3289
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -3525,7 +3525,7 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3525
3525
|
return o ? { ...t, ...o } : ve(t);
|
|
3526
3526
|
},
|
|
3527
3527
|
seccion: async (e) => {
|
|
3528
|
-
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d =
|
|
3528
|
+
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0;
|
|
3529
3529
|
try {
|
|
3530
3530
|
const u = await s.getNewsListSection({
|
|
3531
3531
|
section: o,
|
|
@@ -3536,7 +3536,7 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3536
3536
|
});
|
|
3537
3537
|
if (!u) return ve(t);
|
|
3538
3538
|
const m = u.data.data, h = m[0];
|
|
3539
|
-
return m.length < l || c.push({ rel: "next", url:
|
|
3539
|
+
return m.length < l || c.push({ rel: "next", url: $t(n, i, d) }), d > 1 && c.push({ rel: "prev", url: Wt(n, i, d) }), {
|
|
3540
3540
|
...t,
|
|
3541
3541
|
title: `Últimas Noticias de ${h.info.section?.name} | ${n.name}`,
|
|
3542
3542
|
description: `Todas las últimas noticias de ${h.info.section?.name} en ${n.name}`,
|
|
@@ -3569,7 +3569,7 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
},
|
|
3571
3571
|
tema: async (e) => {
|
|
3572
|
-
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d =
|
|
3572
|
+
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), m = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: h } = W();
|
|
3573
3573
|
try {
|
|
3574
3574
|
const p = await s.getNewsListTags({
|
|
3575
3575
|
tagid: m,
|
|
@@ -3583,10 +3583,10 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3583
3583
|
const g = p.data.entity;
|
|
3584
3584
|
return g ? (p.data.data?.length < l || c.push({
|
|
3585
3585
|
rel: "next",
|
|
3586
|
-
url:
|
|
3586
|
+
url: $t(n, i, d)
|
|
3587
3587
|
}), d > 1 && c.push({
|
|
3588
3588
|
rel: "prev",
|
|
3589
|
-
url:
|
|
3589
|
+
url: Wt(n, i, d)
|
|
3590
3590
|
}), {
|
|
3591
3591
|
...t,
|
|
3592
3592
|
title: `Últimas noticias de ${g.name} | ${n.name}`,
|
|
@@ -3645,17 +3645,17 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
},
|
|
3647
3647
|
videos: async (e) => {
|
|
3648
|
-
const { meta: t, config: n, pathname: r } = e, o = new at(), s = r.split("/"), i = [], c =
|
|
3648
|
+
const { meta: t, config: n, pathname: r } = e, o = new at(), s = r.split("/"), i = [], c = Yt(r), d = await o.getvideoListAdvanced({
|
|
3649
3649
|
size: Number(n.newsListLimit),
|
|
3650
3650
|
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
3651
3651
|
page: Number(c)
|
|
3652
3652
|
});
|
|
3653
3653
|
return d ? (d.data.data.length < Number(n.newsListLimit) || i.push({
|
|
3654
3654
|
rel: "next",
|
|
3655
|
-
url:
|
|
3655
|
+
url: $t(n, s, c)
|
|
3656
3656
|
}), c > 1 && i.push({
|
|
3657
3657
|
rel: "prev",
|
|
3658
|
-
url:
|
|
3658
|
+
url: Wt(n, s, c)
|
|
3659
3659
|
}), {
|
|
3660
3660
|
...t,
|
|
3661
3661
|
title: "Videos | " + n.name,
|
|
@@ -3734,7 +3734,7 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3734
3734
|
};
|
|
3735
3735
|
},
|
|
3736
3736
|
autor: async (e) => {
|
|
3737
|
-
const { meta: t, config: n, pathname: r, imgSizes: o, slug: s } = e, i = new at(), c = r.split("/"), d = [], l =
|
|
3737
|
+
const { meta: t, config: n, pathname: r, imgSizes: o, slug: s } = e, i = new at(), c = r.split("/"), d = [], l = Yt(r);
|
|
3738
3738
|
try {
|
|
3739
3739
|
const u = await i.getAutorInfo({
|
|
3740
3740
|
user: s,
|
|
@@ -3750,10 +3750,10 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3750
3750
|
});
|
|
3751
3751
|
return m ? (m.data.data.length < Number(n.newsListLimit) || d.push({
|
|
3752
3752
|
rel: "next",
|
|
3753
|
-
url:
|
|
3753
|
+
url: $t(n, c, l)
|
|
3754
3754
|
}), l > 1 && d.push({
|
|
3755
3755
|
rel: "prev",
|
|
3756
|
-
url:
|
|
3756
|
+
url: Wt(n, c, l)
|
|
3757
3757
|
}), {
|
|
3758
3758
|
...t,
|
|
3759
3759
|
title: `Últimas Noticias de ${u?.data.data[0]?.info.fullname} | ${n.name}`,
|
|
@@ -3822,7 +3822,7 @@ async function Y9({
|
|
|
3822
3822
|
currentNew: l,
|
|
3823
3823
|
internalPath: m
|
|
3824
3824
|
});
|
|
3825
|
-
return /* @__PURE__ */ f(
|
|
3825
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
3826
3826
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
3827
3827
|
/* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
|
|
3828
3828
|
b,
|
|
@@ -3833,11 +3833,11 @@ async function Y9({
|
|
|
3833
3833
|
{
|
|
3834
3834
|
images: [
|
|
3835
3835
|
{
|
|
3836
|
-
href:
|
|
3836
|
+
href: Mt() + (l.preview.sizes[0]?.url ?? ""),
|
|
3837
3837
|
media: "(min-width: 900px)"
|
|
3838
3838
|
},
|
|
3839
3839
|
{
|
|
3840
|
-
href:
|
|
3840
|
+
href: Mt() + (l.preview.sizes[1]?.url ?? ""),
|
|
3841
3841
|
media: "(max-width: 900px)"
|
|
3842
3842
|
}
|
|
3843
3843
|
]
|
|
@@ -3912,7 +3912,7 @@ const K9 = ({
|
|
|
3912
3912
|
currentNew: c,
|
|
3913
3913
|
internalPath: i
|
|
3914
3914
|
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0, y = g ? l.after.customData ? l.after.customData : h : void 0;
|
|
3915
|
-
return /* @__PURE__ */ f(
|
|
3915
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
3916
3916
|
/* @__PURE__ */ a(Hr, { name: "bodybefore", banners: n, replaces: A }),
|
|
3917
3917
|
e,
|
|
3918
3918
|
/* @__PURE__ */ a(Wo, {}),
|
|
@@ -3946,7 +3946,7 @@ const K9 = ({
|
|
|
3946
3946
|
}, J9 = (e) => /* @__PURE__ */ f("div", { className: nr.content, children: [
|
|
3947
3947
|
/* @__PURE__ */ a(pc, {}),
|
|
3948
3948
|
/* @__PURE__ */ a("p", { className: nr.location, children: e.place })
|
|
3949
|
-
] }),
|
|
3949
|
+
] }), Vt = ({
|
|
3950
3950
|
children: e,
|
|
3951
3951
|
className: t
|
|
3952
3952
|
// desktopWidth = '1185px'
|
|
@@ -4340,7 +4340,7 @@ const Cc = "_content_3olxv_1", _c = {
|
|
|
4340
4340
|
socialNetworkSection: Dc
|
|
4341
4341
|
};
|
|
4342
4342
|
function B(e) {
|
|
4343
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } =
|
|
4343
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = W(), r = t !== "false" && n !== "false" ? "/" + t : "", o = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), s = e.href?.split("/")[1] === r.replace("/", ""), i = {
|
|
4344
4344
|
...e,
|
|
4345
4345
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
4346
4346
|
};
|
|
@@ -4508,7 +4508,7 @@ function Qc({ noteShare: e }) {
|
|
|
4508
4508
|
] }) : null;
|
|
4509
4509
|
}
|
|
4510
4510
|
const Et = (e) => {
|
|
4511
|
-
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } =
|
|
4511
|
+
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = W(), c = () => {
|
|
4512
4512
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4513
4513
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
|
|
4514
4514
|
e.info?.date?.modified
|
|
@@ -4596,7 +4596,7 @@ const Et = (e) => {
|
|
|
4596
4596
|
) : e.main?.title?.section
|
|
4597
4597
|
),
|
|
4598
4598
|
e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
|
|
4599
|
-
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(
|
|
4599
|
+
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
4600
4600
|
B,
|
|
4601
4601
|
{
|
|
4602
4602
|
"aria-label": c(),
|
|
@@ -4606,7 +4606,7 @@ const Et = (e) => {
|
|
|
4606
4606
|
}
|
|
4607
4607
|
) }) : /* @__PURE__ */ a("h3", { className: re.correspondent, children: c() }) })
|
|
4608
4608
|
] });
|
|
4609
|
-
}, Gc = "_content_coxjf_1", Hc = "_contentNew_coxjf_21", zc = "_imageBox_coxjf_29", Vc = "_numberTag_coxjf_44",
|
|
4609
|
+
}, Gc = "_content_coxjf_1", Hc = "_contentNew_coxjf_21", zc = "_imageBox_coxjf_29", Vc = "_numberTag_coxjf_44", Jt = {
|
|
4610
4610
|
content: Gc,
|
|
4611
4611
|
contentNew: Hc,
|
|
4612
4612
|
imageBox: zc,
|
|
@@ -4642,10 +4642,10 @@ const Et = (e) => {
|
|
|
4642
4642
|
}
|
|
4643
4643
|
);
|
|
4644
4644
|
function va() {
|
|
4645
|
-
return
|
|
4645
|
+
return W().COMPONENTS?.PlayIcon || wo;
|
|
4646
4646
|
}
|
|
4647
4647
|
function vo() {
|
|
4648
|
-
return
|
|
4648
|
+
return W().COMPONENTS?.PlayIcon || wo;
|
|
4649
4649
|
}
|
|
4650
4650
|
const el = (e) => {
|
|
4651
4651
|
const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = va(), s = e.preview.sizes;
|
|
@@ -4662,7 +4662,7 @@ const el = (e) => {
|
|
|
4662
4662
|
src: s[0]?.url ? s[0]?.url : void 0
|
|
4663
4663
|
}
|
|
4664
4664
|
),
|
|
4665
|
-
t && /* @__PURE__ */ f(
|
|
4665
|
+
t && /* @__PURE__ */ f(K, { children: [
|
|
4666
4666
|
/* @__PURE__ */ a(
|
|
4667
4667
|
"div",
|
|
4668
4668
|
{
|
|
@@ -4714,7 +4714,7 @@ const el = (e) => {
|
|
|
4714
4714
|
src: s[0]?.url ? s[0]?.url : ""
|
|
4715
4715
|
}
|
|
4716
4716
|
),
|
|
4717
|
-
t && /* @__PURE__ */ f(
|
|
4717
|
+
t && /* @__PURE__ */ f(K, { children: [
|
|
4718
4718
|
/* @__PURE__ */ a(
|
|
4719
4719
|
"div",
|
|
4720
4720
|
{
|
|
@@ -4781,7 +4781,7 @@ const el = (e) => {
|
|
|
4781
4781
|
const { preview: t } = e;
|
|
4782
4782
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4783
4783
|
return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
|
|
4784
|
-
const { PUBLIC_IS_OFFLINE: n } =
|
|
4784
|
+
const { PUBLIC_IS_OFFLINE: n } = W();
|
|
4785
4785
|
if (n === "true")
|
|
4786
4786
|
return /* @__PURE__ */ a(
|
|
4787
4787
|
tl,
|
|
@@ -4808,14 +4808,14 @@ const el = (e) => {
|
|
|
4808
4808
|
return /* @__PURE__ */ a(
|
|
4809
4809
|
"section",
|
|
4810
4810
|
{
|
|
4811
|
-
className:
|
|
4811
|
+
className: Jt.content,
|
|
4812
4812
|
style: {
|
|
4813
4813
|
...e.customNewsDescriptionStyles
|
|
4814
4814
|
},
|
|
4815
4815
|
children: e.block.map(async (n, r) => /* @__PURE__ */ f(
|
|
4816
4816
|
"div",
|
|
4817
4817
|
{
|
|
4818
|
-
className:
|
|
4818
|
+
className: Jt.contentNew,
|
|
4819
4819
|
style: {
|
|
4820
4820
|
flexDirection: t ? "row-reverse" : "row"
|
|
4821
4821
|
},
|
|
@@ -4823,12 +4823,12 @@ const el = (e) => {
|
|
|
4823
4823
|
/* @__PURE__ */ f(
|
|
4824
4824
|
"div",
|
|
4825
4825
|
{
|
|
4826
|
-
className:
|
|
4826
|
+
className: Jt.imageBox,
|
|
4827
4827
|
style: {
|
|
4828
4828
|
"--heightImageOverwrite": "100%"
|
|
4829
4829
|
},
|
|
4830
4830
|
children: [
|
|
4831
|
-
/* @__PURE__ */ a("div", { className:
|
|
4831
|
+
/* @__PURE__ */ a("div", { className: Jt.numberTag, children: r + 1 }),
|
|
4832
4832
|
n.main.title.home && /* @__PURE__ */ a(Ue, { preview: n.preview, priorityHigh: e.priorityHigh })
|
|
4833
4833
|
]
|
|
4834
4834
|
}
|
|
@@ -5777,7 +5777,7 @@ const el = (e) => {
|
|
|
5777
5777
|
showads: !1
|
|
5778
5778
|
}, ba = (e) => {
|
|
5779
5779
|
let t = [];
|
|
5780
|
-
const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } =
|
|
5780
|
+
const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = W();
|
|
5781
5781
|
return e.content && e.content.length > 0 ? t = e.content.map((o) => ({
|
|
5782
5782
|
...o,
|
|
5783
5783
|
config: or
|
|
@@ -6194,7 +6194,7 @@ const el = (e) => {
|
|
|
6194
6194
|
}
|
|
6195
6195
|
) }) })
|
|
6196
6196
|
}
|
|
6197
|
-
),
|
|
6197
|
+
), jt = (e) => /* @__PURE__ */ a("svg", { ...e, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) }), od = (e) => /* @__PURE__ */ f(
|
|
6198
6198
|
"svg",
|
|
6199
6199
|
{
|
|
6200
6200
|
version: "1.1",
|
|
@@ -6228,7 +6228,7 @@ const el = (e) => {
|
|
|
6228
6228
|
whatsapp: (e) => /* @__PURE__ */ a(rd, { ...e }),
|
|
6229
6229
|
tiktok: (e) => /* @__PURE__ */ a(ad, { ...e }),
|
|
6230
6230
|
youtube: (e) => /* @__PURE__ */ a(od, { ...e }),
|
|
6231
|
-
x: (e) => /* @__PURE__ */ a(
|
|
6231
|
+
x: (e) => /* @__PURE__ */ a(jt, { ...e }),
|
|
6232
6232
|
gnews: (e) => /* @__PURE__ */ a(ed, { ...e }),
|
|
6233
6233
|
podcast: (e) => /* @__PURE__ */ a(td, { ...e }),
|
|
6234
6234
|
telegram: (e) => /* @__PURE__ */ a(nd, { ...e })
|
|
@@ -6275,7 +6275,7 @@ const el = (e) => {
|
|
|
6275
6275
|
i
|
|
6276
6276
|
)) })
|
|
6277
6277
|
] }),
|
|
6278
|
-
o && /* @__PURE__ */ a(
|
|
6278
|
+
o && /* @__PURE__ */ a(K, { children: o }),
|
|
6279
6279
|
/* @__PURE__ */ f("section", { className: ye.copyrigth, children: [
|
|
6280
6280
|
/* @__PURE__ */ a("p", { className: ye.copyrigthText, children: e.copyrigth }),
|
|
6281
6281
|
/* @__PURE__ */ a(
|
|
@@ -6460,8 +6460,8 @@ const el = (e) => {
|
|
|
6460
6460
|
X: {
|
|
6461
6461
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
6462
6462
|
icon: {
|
|
6463
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
6464
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
6463
|
+
outline: (e) => /* @__PURE__ */ a(jt, { className: e }),
|
|
6464
|
+
solid: (e) => /* @__PURE__ */ a(jt, { className: e })
|
|
6465
6465
|
}
|
|
6466
6466
|
},
|
|
6467
6467
|
Whatsapp: {
|
|
@@ -6543,7 +6543,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6543
6543
|
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Me(
|
|
6544
6544
|
e.video.info.date.created
|
|
6545
6545
|
)}` : e?.video.main.author;
|
|
6546
|
-
return /* @__PURE__ */ a("div", { className: Ge.content, children: /* @__PURE__ */ a(
|
|
6546
|
+
return /* @__PURE__ */ a("div", { className: Ge.content, children: /* @__PURE__ */ a(Vt, { children: /* @__PURE__ */ f("div", { className: Ge.videoContent, children: [
|
|
6547
6547
|
/* @__PURE__ */ a("p", { className: Ge.title, children: e.video.main.title }),
|
|
6548
6548
|
e.type === "vy" && /* @__PURE__ */ a(
|
|
6549
6549
|
"iframe",
|
|
@@ -6604,22 +6604,22 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6604
6604
|
}
|
|
6605
6605
|
)
|
|
6606
6606
|
] });
|
|
6607
|
-
}, Wd = "_content_zal5g_1", Yd = "_contentGrid_zal5g_8", Kd = "_contentGrid4_zal5g_17", Jd = "_contentGrid3_zal5g_21",
|
|
6607
|
+
}, Wd = "_content_zal5g_1", Yd = "_contentGrid_zal5g_8", Kd = "_contentGrid4_zal5g_17", Jd = "_contentGrid3_zal5g_21", Zt = {
|
|
6608
6608
|
content: Wd,
|
|
6609
6609
|
contentGrid: Yd,
|
|
6610
6610
|
contentGrid4: Kd,
|
|
6611
6611
|
contentGrid3: Jd
|
|
6612
6612
|
}, ra = (e) => {
|
|
6613
6613
|
const { grid: t = 3 } = e;
|
|
6614
|
-
return /* @__PURE__ */ f("section", { className: `${
|
|
6614
|
+
return /* @__PURE__ */ f("section", { className: `${Zt.content}`, children: [
|
|
6615
6615
|
/* @__PURE__ */ a(
|
|
6616
6616
|
"div",
|
|
6617
6617
|
{
|
|
6618
|
-
className: `${
|
|
6618
|
+
className: `${Zt.contentGrid} ${e.className ? e.className : ""} ${t === 3 ? Zt.contentGrid3 : Zt.contentGrid4} news-content`,
|
|
6619
6619
|
children: e.children
|
|
6620
6620
|
}
|
|
6621
6621
|
),
|
|
6622
|
-
/* @__PURE__ */ a(
|
|
6622
|
+
/* @__PURE__ */ a(K, { children: e.paginatorComponent })
|
|
6623
6623
|
] });
|
|
6624
6624
|
}, Zd = "_content_15x47_1", Xd = "_newsDescription_15x47_15", e1 = "_image_15x47_41", Ot = {
|
|
6625
6625
|
content: Zd,
|
|
@@ -6700,7 +6700,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6700
6700
|
main: r,
|
|
6701
6701
|
overImage: o = "default",
|
|
6702
6702
|
titleGradient: s = !1
|
|
6703
|
-
} = e, { SHOW_TAG_BY_SECTION: i } =
|
|
6703
|
+
} = e, { SHOW_TAG_BY_SECTION: i } = W(), c = () => {
|
|
6704
6704
|
if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
6705
6705
|
const d = e.keywords.tags[0], l = d.name;
|
|
6706
6706
|
return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -6764,7 +6764,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6764
6764
|
}, i1 = "_content_kro73_1", c1 = "_contentLayout_kro73_5", sr = {
|
|
6765
6765
|
content: i1,
|
|
6766
6766
|
contentLayout: c1
|
|
6767
|
-
}, ir = (e) => /* @__PURE__ */ a("div", { className: sr.content, children: /* @__PURE__ */ a(
|
|
6767
|
+
}, ir = (e) => /* @__PURE__ */ a("div", { className: sr.content, children: /* @__PURE__ */ a(Vt, { className: `${sr.contentLayout} ${e.className}`, children: e.children }) }), l1 = "_content_1nqra_1", d1 = "_before_1nqra_11", u1 = "_textContent_1nqra_22", h1 = "_title_1nqra_37", m1 = "_description_1nqra_46", f1 = "_linkStyled_1nqra_57", gt = {
|
|
6768
6768
|
content: l1,
|
|
6769
6769
|
before: d1,
|
|
6770
6770
|
textContent: u1,
|
|
@@ -6834,7 +6834,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6834
6834
|
/* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6835
6835
|
t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
|
|
6836
6836
|
] });
|
|
6837
|
-
}, D1 = (e) => /* @__PURE__ */ a(
|
|
6837
|
+
}, D1 = (e) => /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f("div", { className: et.boxInformation, children: [
|
|
6838
6838
|
/* @__PURE__ */ a(Co, { preview: e.preview }),
|
|
6839
6839
|
/* @__PURE__ */ f("div", { className: et.textBox, children: [
|
|
6840
6840
|
/* @__PURE__ */ f("div", { className: et.contentBox, children: [
|
|
@@ -6864,14 +6864,14 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6864
6864
|
}
|
|
6865
6865
|
)
|
|
6866
6866
|
] })
|
|
6867
|
-
] }) }), M1 = "_content_oipiy_1", j1 = "_contentLine_oipiy_17", Q1 = "_contentText_oipiy_24", G1 = "_dateLink_oipiy_37",
|
|
6867
|
+
] }) }), M1 = "_content_oipiy_1", j1 = "_contentLine_oipiy_17", Q1 = "_contentText_oipiy_24", G1 = "_dateLink_oipiy_37", Xt = {
|
|
6868
6868
|
content: M1,
|
|
6869
6869
|
contentLine: j1,
|
|
6870
6870
|
contentText: Q1,
|
|
6871
6871
|
dateLink: G1
|
|
6872
|
-
}, H1 = (e) => /* @__PURE__ */ a("section", { className:
|
|
6873
|
-
/* @__PURE__ */ a(B, { className:
|
|
6874
|
-
/* @__PURE__ */ a("div", { className:
|
|
6872
|
+
}, H1 = (e) => /* @__PURE__ */ a("section", { className: Xt.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ f("div", { className: Xt.contentLine, children: [
|
|
6873
|
+
/* @__PURE__ */ a(B, { className: Xt.dateLink, href: `#item-${n + 1}`, children: us(t.date) }),
|
|
6874
|
+
/* @__PURE__ */ a("div", { className: Xt.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6875
6875
|
] }, n)) }), z1 = "_content_1rsue_1", V1 = "_contentInfo_1rsue_11", F1 = "_imageContainer_1rsue_19", $1 = "_imageStyled_1rsue_28", W1 = "_contentIconStyled_1rsue_39", Y1 = "_name_1rsue_65", K1 = "_email_1rsue_74", J1 = "_description_1rsue_90", Z1 = "_contenSocialNetwork_1rsue_102", X1 = "_socialIcon_1rsue_112", Ne = {
|
|
6876
6876
|
content: z1,
|
|
6877
6877
|
contentInfo: V1,
|
|
@@ -6934,7 +6934,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6934
6934
|
href: h,
|
|
6935
6935
|
target: "_blank",
|
|
6936
6936
|
rel: "noreferrer",
|
|
6937
|
-
children: /* @__PURE__ */ a(
|
|
6937
|
+
children: /* @__PURE__ */ a(jt, { className: Ne.socialIcon })
|
|
6938
6938
|
}
|
|
6939
6939
|
),
|
|
6940
6940
|
p && /* @__PURE__ */ a(
|
|
@@ -7008,7 +7008,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7008
7008
|
href: h,
|
|
7009
7009
|
target: "_blank",
|
|
7010
7010
|
rel: "noreferrer",
|
|
7011
|
-
children: /* @__PURE__ */ a(
|
|
7011
|
+
children: /* @__PURE__ */ a(jt, { className: Se.socialIcon })
|
|
7012
7012
|
}
|
|
7013
7013
|
),
|
|
7014
7014
|
p && /* @__PURE__ */ a(
|
|
@@ -7087,7 +7087,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7087
7087
|
),
|
|
7088
7088
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(Et, { ...n, paths: e.paths }) })
|
|
7089
7089
|
] }) : null;
|
|
7090
|
-
}, s3 = (e) => /* @__PURE__ */ a("div", { className: Re.content, children: /* @__PURE__ */ f(
|
|
7090
|
+
}, s3 = (e) => /* @__PURE__ */ a("div", { className: Re.content, children: /* @__PURE__ */ f(Vt, { className: Re.contentLayoutVideoSection, children: [
|
|
7091
7091
|
/* @__PURE__ */ f("a", { className: Re.header, href: e.goBackLink ?? "/videos", children: [
|
|
7092
7092
|
/* @__PURE__ */ a(
|
|
7093
7093
|
"svg",
|
|
@@ -7446,7 +7446,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7446
7446
|
children: t?.data[0]?.main?.title.home ?? ""
|
|
7447
7447
|
}
|
|
7448
7448
|
);
|
|
7449
|
-
return /* @__PURE__ */ f(
|
|
7449
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
7450
7450
|
/* @__PURE__ */ a(
|
|
7451
7451
|
"input",
|
|
7452
7452
|
{
|
|
@@ -7783,7 +7783,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7783
7783
|
op2: am
|
|
7784
7784
|
}, i3 = (e) => {
|
|
7785
7785
|
const { alertZone: t, children: n, sidebar: r } = e;
|
|
7786
|
-
return /* @__PURE__ */ f(
|
|
7786
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
7787
7787
|
/* @__PURE__ */ a(kh, { ...e }),
|
|
7788
7788
|
!e.showOnlyStickyHeader && /* @__PURE__ */ a(em, { ...e }),
|
|
7789
7789
|
/* @__PURE__ */ f(
|
|
@@ -8090,7 +8090,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8090
8090
|
correspondentLink: Bm,
|
|
8091
8091
|
description: Pm
|
|
8092
8092
|
}, Ct = (e) => {
|
|
8093
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8093
|
+
const { SHOW_TAG_BY_SECTION: t } = W(), n = () => {
|
|
8094
8094
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8095
8095
|
return `${e?.authors[0]?.fullname} - ${Me(
|
|
8096
8096
|
e.info?.date?.modified
|
|
@@ -8203,7 +8203,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8203
8203
|
}
|
|
8204
8204
|
}
|
|
8205
8205
|
),
|
|
8206
|
-
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(
|
|
8206
|
+
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8207
8207
|
B,
|
|
8208
8208
|
{
|
|
8209
8209
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
@@ -8357,7 +8357,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8357
8357
|
subtitle: $m,
|
|
8358
8358
|
linkStyled: Wm
|
|
8359
8359
|
}, xo = (e) => {
|
|
8360
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8360
|
+
const { SHOW_TAG_BY_SECTION: t } = W(), n = () => {
|
|
8361
8361
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
8362
8362
|
const r = e.mainNew.keywords.tags[0], o = r.name;
|
|
8363
8363
|
return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -8458,7 +8458,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8458
8458
|
time: of,
|
|
8459
8459
|
comment: sf,
|
|
8460
8460
|
title: cf
|
|
8461
|
-
},
|
|
8461
|
+
}, gn = async (e) => {
|
|
8462
8462
|
const { data: t, autorIcon: n } = e, r = n, o = () => t?.config?.showtime ? `${Me(t.info?.date?.modified)}` : "", s = /* @__PURE__ */ f("div", { className: Fe.autorContent, children: [
|
|
8463
8463
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
8464
8464
|
"img",
|
|
@@ -8536,7 +8536,7 @@ const c3 = (e) => {
|
|
|
8536
8536
|
className: At.boxPosition,
|
|
8537
8537
|
style: { order: s },
|
|
8538
8538
|
children: /* @__PURE__ */ a(
|
|
8539
|
-
|
|
8539
|
+
gn,
|
|
8540
8540
|
{
|
|
8541
8541
|
data: i,
|
|
8542
8542
|
autorIcon: e.autorIcon,
|
|
@@ -8624,7 +8624,7 @@ const c3 = (e) => {
|
|
|
8624
8624
|
] }),
|
|
8625
8625
|
/* @__PURE__ */ a("div", { className: yt.bannerContent, children: e.halfPageBanner })
|
|
8626
8626
|
] });
|
|
8627
|
-
}, u3 = (e) => /* @__PURE__ */ f(
|
|
8627
|
+
}, u3 = (e) => /* @__PURE__ */ f(K, { children: [
|
|
8628
8628
|
/* @__PURE__ */ a(
|
|
8629
8629
|
gl,
|
|
8630
8630
|
{
|
|
@@ -8635,7 +8635,7 @@ const c3 = (e) => {
|
|
|
8635
8635
|
}
|
|
8636
8636
|
),
|
|
8637
8637
|
/* @__PURE__ */ a(Tl, { ...e })
|
|
8638
|
-
] }), Cf = "_newsContent_gd57q_1", _f = "_newsContentWithLines_gd57q_8", Nf = "_newsContentWithoutLines_gd57q_13", Sf = "_contentSeparator_gd57q_18",
|
|
8638
|
+
] }), Cf = "_newsContent_gd57q_1", _f = "_newsContentWithLines_gd57q_8", Nf = "_newsContentWithoutLines_gd57q_13", Sf = "_contentSeparator_gd57q_18", en = {
|
|
8639
8639
|
newsContent: Cf,
|
|
8640
8640
|
newsContentWithLines: _f,
|
|
8641
8641
|
newsContentWithoutLines: Nf,
|
|
@@ -8643,7 +8643,7 @@ const c3 = (e) => {
|
|
|
8643
8643
|
}, xf = (e) => {
|
|
8644
8644
|
const { content: t } = e;
|
|
8645
8645
|
if (!t || t.length === 0) return;
|
|
8646
|
-
const n = (i) => e.hasLines && (i + 1) % 3 !== 0 ?
|
|
8646
|
+
const n = (i) => e.hasLines && (i + 1) % 3 !== 0 ? en.contentSeparator : "", r = [];
|
|
8647
8647
|
let o = 0, s = 1;
|
|
8648
8648
|
for (let i = 0; i < t.length; i++) {
|
|
8649
8649
|
e.banners && e.bannerPositionIndex?.includes(i) && (r.push(
|
|
@@ -8687,7 +8687,7 @@ const c3 = (e) => {
|
|
|
8687
8687
|
return r.length === 2 && r.push(/* @__PURE__ */ a("div", {}, o)), /* @__PURE__ */ a(
|
|
8688
8688
|
"div",
|
|
8689
8689
|
{
|
|
8690
|
-
className: `${e.hasLines ?
|
|
8690
|
+
className: `${e.hasLines ? en.newsContentWithLines : en.newsContentWithoutLines} ${en.newsContent}`,
|
|
8691
8691
|
children: r
|
|
8692
8692
|
}
|
|
8693
8693
|
);
|
|
@@ -9040,7 +9040,7 @@ const c3 = (e) => {
|
|
|
9040
9040
|
return /* @__PURE__ */ a("div", { className: Ye.ItemCustomContent });
|
|
9041
9041
|
case "columnistasnacionales":
|
|
9042
9042
|
return /* @__PURE__ */ a("div", { className: Ye.ItemCustomContent, children: /* @__PURE__ */ a(
|
|
9043
|
-
|
|
9043
|
+
gn,
|
|
9044
9044
|
{
|
|
9045
9045
|
data: t,
|
|
9046
9046
|
autorIcon: e.autorIcon,
|
|
@@ -9049,7 +9049,7 @@ const c3 = (e) => {
|
|
|
9049
9049
|
) });
|
|
9050
9050
|
case "columnistaslocales":
|
|
9051
9051
|
return /* @__PURE__ */ a("div", { className: Ye.ItemCustomContent, children: /* @__PURE__ */ a(
|
|
9052
|
-
|
|
9052
|
+
gn,
|
|
9053
9053
|
{
|
|
9054
9054
|
data: t,
|
|
9055
9055
|
autorIcon: e.autorIcon,
|
|
@@ -9058,7 +9058,7 @@ const c3 = (e) => {
|
|
|
9058
9058
|
) });
|
|
9059
9059
|
case "columnistas":
|
|
9060
9060
|
return /* @__PURE__ */ a("div", { className: Ye.ItemCustomContent, children: /* @__PURE__ */ a(
|
|
9061
|
-
|
|
9061
|
+
gn,
|
|
9062
9062
|
{
|
|
9063
9063
|
data: t,
|
|
9064
9064
|
autorIcon: e.autorIcon,
|
|
@@ -9113,7 +9113,7 @@ const c3 = (e) => {
|
|
|
9113
9113
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9114
9114
|
}
|
|
9115
9115
|
),
|
|
9116
|
-
children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ f(
|
|
9116
|
+
children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ f(pn, { children: [
|
|
9117
9117
|
d.includes(m + 1) && /* @__PURE__ */ a("div", { className: Ye.itemContent + " banner-context", children: /* @__PURE__ */ a(
|
|
9118
9118
|
pe,
|
|
9119
9119
|
{
|
|
@@ -9161,7 +9161,7 @@ const c3 = (e) => {
|
|
|
9161
9161
|
}
|
|
9162
9162
|
);
|
|
9163
9163
|
case "op2":
|
|
9164
|
-
return /* @__PURE__ */ a(
|
|
9164
|
+
return /* @__PURE__ */ a(K, { children: t.length > 0 ? /* @__PURE__ */ a(
|
|
9165
9165
|
ra,
|
|
9166
9166
|
{
|
|
9167
9167
|
className: "padding-0",
|
|
@@ -9176,7 +9176,7 @@ const c3 = (e) => {
|
|
|
9176
9176
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9177
9177
|
}
|
|
9178
9178
|
),
|
|
9179
|
-
children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ f(
|
|
9179
|
+
children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ f(pn, { children: [
|
|
9180
9180
|
d.includes(m + 1) && /* @__PURE__ */ a("div", { className: Ye.itemContent, children: /* @__PURE__ */ a(
|
|
9181
9181
|
pe,
|
|
9182
9182
|
{
|
|
@@ -9222,7 +9222,7 @@ const c3 = (e) => {
|
|
|
9222
9222
|
}
|
|
9223
9223
|
) });
|
|
9224
9224
|
default:
|
|
9225
|
-
return /* @__PURE__ */ a(
|
|
9225
|
+
return /* @__PURE__ */ a(K, {});
|
|
9226
9226
|
}
|
|
9227
9227
|
}, d2 = "_content_gwsqy_1", u2 = "_contactInfoContent_gwsqy_7", fr = {
|
|
9228
9228
|
content: d2,
|
|
@@ -9416,7 +9416,7 @@ const c3 = (e) => {
|
|
|
9416
9416
|
return s;
|
|
9417
9417
|
}, D2 = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), M2 = (e) => {
|
|
9418
9418
|
const t = /src="\/(.*?)"/g;
|
|
9419
|
-
return e.replace(t, `src="${
|
|
9419
|
+
return e.replace(t, `src="${Mt()}/$1"`);
|
|
9420
9420
|
}, gr = {
|
|
9421
9421
|
2: 1,
|
|
9422
9422
|
4: 2,
|
|
@@ -9512,7 +9512,7 @@ const H2 = async ({
|
|
|
9512
9512
|
}
|
|
9513
9513
|
};
|
|
9514
9514
|
});
|
|
9515
|
-
return /* @__PURE__ */ a("section", { className: $e.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(
|
|
9515
|
+
return /* @__PURE__ */ a("section", { className: $e.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(pn, { children: [
|
|
9516
9516
|
/* @__PURE__ */ a(P2, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: $e.contentWithinCard, children: [
|
|
9517
9517
|
(await c).date > 0 && /* @__PURE__ */ f("div", { className: $e.contentDate, children: [
|
|
9518
9518
|
/* @__PURE__ */ a(
|
|
@@ -9613,7 +9613,7 @@ const F2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9613
9613
|
if (!e.news || !e.news.authors) return null;
|
|
9614
9614
|
const { news: t, socials: n, texts: r } = e, o = t.authors.map(
|
|
9615
9615
|
(c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
|
|
9616
|
-
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } =
|
|
9616
|
+
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = W();
|
|
9617
9617
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ f("div", { className: de.avatarContent, children: [
|
|
9618
9618
|
i ? /* @__PURE__ */ f(
|
|
9619
9619
|
"a",
|
|
@@ -9699,7 +9699,7 @@ const F2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9699
9699
|
)
|
|
9700
9700
|
] })
|
|
9701
9701
|
] }) });
|
|
9702
|
-
}, W2 = "
|
|
9702
|
+
}, W2 = "_content_jd3s4_1", Y2 = "_journalistArticleContent_jd3s4_15", K2 = "_contentNews_jd3s4_35", J2 = "_noteSource_jd3s4_398", tn = {
|
|
9703
9703
|
content: W2,
|
|
9704
9704
|
journalistArticleContent: Y2,
|
|
9705
9705
|
contentNews: K2,
|
|
@@ -9831,7 +9831,7 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9831
9831
|
/<iframe(?![^>]*\btitle=)[^>]*>/gi,
|
|
9832
9832
|
(n) => n.replace("<iframe", '<iframe title="frame custom content"')
|
|
9833
9833
|
), Io = async (e) => {
|
|
9834
|
-
const { PUBLIC_IS_OFFLINE: t } =
|
|
9834
|
+
const { PUBLIC_IS_OFFLINE: t } = W();
|
|
9835
9835
|
if (!(t === "true")) {
|
|
9836
9836
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], m = {};
|
|
9837
9837
|
for (const h of u) {
|
|
@@ -10098,7 +10098,7 @@ async function l0(e) {
|
|
|
10098
10098
|
r
|
|
10099
10099
|
), d = await c0(d, c), d = a0(d), d = r0(d);
|
|
10100
10100
|
const l = t.main.sources ?? [];
|
|
10101
|
-
return /* @__PURE__ */ f("div", { className:
|
|
10101
|
+
return /* @__PURE__ */ f("div", { className: tn.content, children: [
|
|
10102
10102
|
o !== "liveblogs" && e.showHeaderImage ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ a(
|
|
10103
10103
|
To,
|
|
10104
10104
|
{
|
|
@@ -10107,7 +10107,7 @@ async function l0(e) {
|
|
|
10107
10107
|
}
|
|
10108
10108
|
) : /* @__PURE__ */ a(Co, { preview: t.preview }) : null,
|
|
10109
10109
|
/* @__PURE__ */ a(pe, { banners: n, name: "block_1" }),
|
|
10110
|
-
/* @__PURE__ */ a("div", { className:
|
|
10110
|
+
/* @__PURE__ */ a("div", { className: tn.journalistArticleContent, children: /* @__PURE__ */ a(
|
|
10111
10111
|
$2,
|
|
10112
10112
|
{
|
|
10113
10113
|
autorIcon: e.autorIcon,
|
|
@@ -10122,7 +10122,7 @@ async function l0(e) {
|
|
|
10122
10122
|
/* @__PURE__ */ a(
|
|
10123
10123
|
"div",
|
|
10124
10124
|
{
|
|
10125
|
-
className:
|
|
10125
|
+
className: tn.contentNews,
|
|
10126
10126
|
suppressHydrationWarning: !0,
|
|
10127
10127
|
id: "content-news-section",
|
|
10128
10128
|
dangerouslySetInnerHTML: { __html: d }
|
|
@@ -10139,7 +10139,7 @@ async function l0(e) {
|
|
|
10139
10139
|
newsRelatedListResponses: r
|
|
10140
10140
|
}
|
|
10141
10141
|
),
|
|
10142
|
-
l.length > 0 && /* @__PURE__ */ f("div", { className:
|
|
10142
|
+
l.length > 0 && /* @__PURE__ */ f("div", { className: tn.noteSource, children: [
|
|
10143
10143
|
/* @__PURE__ */ a(n0, {}),
|
|
10144
10144
|
/* @__PURE__ */ a("p", { children: e.texts.noteSource + (l.length === 1 ? "" : "s") + ": " + l.map((u) => u.name).join(", ") })
|
|
10145
10145
|
] })
|
|
@@ -10541,7 +10541,7 @@ const wr = {
|
|
|
10541
10541
|
config: n,
|
|
10542
10542
|
banners: r
|
|
10543
10543
|
}) => {
|
|
10544
|
-
const { PUBLIC_ENV: o } =
|
|
10544
|
+
const { PUBLIC_ENV: o } = W();
|
|
10545
10545
|
if (o !== "local") return null;
|
|
10546
10546
|
const s = e?.news?.data || [], i = (c, d) => ({
|
|
10547
10547
|
...e?.news,
|
|
@@ -10549,7 +10549,7 @@ const wr = {
|
|
|
10549
10549
|
data: s.slice(0, d),
|
|
10550
10550
|
paths: n.paths
|
|
10551
10551
|
});
|
|
10552
|
-
return /* @__PURE__ */ f(
|
|
10552
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
10553
10553
|
/* @__PURE__ */ a(
|
|
10554
10554
|
zn,
|
|
10555
10555
|
{
|
|
@@ -10596,9 +10596,9 @@ const wr = {
|
|
|
10596
10596
|
itemList: c = [],
|
|
10597
10597
|
socials: d,
|
|
10598
10598
|
getVideos: l
|
|
10599
|
-
} = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: h } =
|
|
10599
|
+
} = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: h } = W();
|
|
10600
10600
|
if (!(!s || !s[0]))
|
|
10601
|
-
return /* @__PURE__ */ a(
|
|
10601
|
+
return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(A2, { className: ia.contentLayout2, children: [
|
|
10602
10602
|
/* @__PURE__ */ a(
|
|
10603
10603
|
N2,
|
|
10604
10604
|
{
|
|
@@ -10677,7 +10677,7 @@ const wr = {
|
|
|
10677
10677
|
}
|
|
10678
10678
|
),
|
|
10679
10679
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 2 }) }),
|
|
10680
|
-
h && /* @__PURE__ */ f(
|
|
10680
|
+
h && /* @__PURE__ */ f(K, { children: [
|
|
10681
10681
|
/* @__PURE__ */ a(
|
|
10682
10682
|
ko,
|
|
10683
10683
|
{
|
|
@@ -10694,7 +10694,7 @@ const wr = {
|
|
|
10694
10694
|
),
|
|
10695
10695
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 3 }) })
|
|
10696
10696
|
] }),
|
|
10697
|
-
m && /* @__PURE__ */ f(
|
|
10697
|
+
m && /* @__PURE__ */ f(K, { children: [
|
|
10698
10698
|
/* @__PURE__ */ a(fe, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
|
|
10699
10699
|
"div",
|
|
10700
10700
|
{
|
|
@@ -10784,7 +10784,7 @@ const wr = {
|
|
|
10784
10784
|
]
|
|
10785
10785
|
}
|
|
10786
10786
|
) });
|
|
10787
|
-
}, Q0 = "_content_7wvro_1", G0 = "_contentInfo_7wvro_23", H0 = "_name_7wvro_34", z0 = "_description_7wvro_43",
|
|
10787
|
+
}, Q0 = "_content_7wvro_1", G0 = "_contentInfo_7wvro_23", H0 = "_name_7wvro_34", z0 = "_description_7wvro_43", nn = {
|
|
10788
10788
|
content: Q0,
|
|
10789
10789
|
contentInfo: G0,
|
|
10790
10790
|
name: H0,
|
|
@@ -10792,18 +10792,18 @@ const wr = {
|
|
|
10792
10792
|
}, V0 = (e) => /* @__PURE__ */ a(
|
|
10793
10793
|
"section",
|
|
10794
10794
|
{
|
|
10795
|
-
className:
|
|
10795
|
+
className: nn.content,
|
|
10796
10796
|
style: {
|
|
10797
10797
|
color: e.textColor,
|
|
10798
10798
|
"--backDropHeigth": e.backDropHeigth ? e.backDropHeigth : "100%",
|
|
10799
10799
|
padding: e.sectionPadding ?? "",
|
|
10800
10800
|
"--backgroundColor": e.backgroundColor
|
|
10801
10801
|
},
|
|
10802
|
-
children: /* @__PURE__ */ f("div", { className:
|
|
10802
|
+
children: /* @__PURE__ */ f("div", { className: nn.contentInfo, children: [
|
|
10803
10803
|
/* @__PURE__ */ a(
|
|
10804
10804
|
"h1",
|
|
10805
10805
|
{
|
|
10806
|
-
className:
|
|
10806
|
+
className: nn.name,
|
|
10807
10807
|
style: {
|
|
10808
10808
|
color: e.textColor
|
|
10809
10809
|
},
|
|
@@ -10816,7 +10816,7 @@ const wr = {
|
|
|
10816
10816
|
style: {
|
|
10817
10817
|
color: e.textColor
|
|
10818
10818
|
},
|
|
10819
|
-
className:
|
|
10819
|
+
className: nn.description,
|
|
10820
10820
|
dangerouslySetInnerHTML: {
|
|
10821
10821
|
__html: e.description
|
|
10822
10822
|
}
|
|
@@ -10849,7 +10849,7 @@ const wr = {
|
|
|
10849
10849
|
}
|
|
10850
10850
|
);
|
|
10851
10851
|
default:
|
|
10852
|
-
return /* @__PURE__ */ a(
|
|
10852
|
+
return /* @__PURE__ */ a(K, {});
|
|
10853
10853
|
}
|
|
10854
10854
|
}, F0 = "_content_1046n_1", $0 = "_buttonStyled_1046n_9", W0 = "_searchStyled_1046n_20", Y0 = "_inputStyled_1046n_36", K0 = "_inputStyledTest_1046n_55", Bt = {
|
|
10855
10855
|
content: F0,
|
|
@@ -10919,7 +10919,7 @@ const wr = {
|
|
|
10919
10919
|
};
|
|
10920
10920
|
switch (n) {
|
|
10921
10921
|
case "op1":
|
|
10922
|
-
return /* @__PURE__ */ a(
|
|
10922
|
+
return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(ir, { children: [
|
|
10923
10923
|
/* @__PURE__ */ a(eu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10924
10924
|
/* @__PURE__ */ a(
|
|
10925
10925
|
_o,
|
|
@@ -10946,7 +10946,7 @@ const wr = {
|
|
|
10946
10946
|
showNext: !(t.length < e.newsListLimit)
|
|
10947
10947
|
}
|
|
10948
10948
|
),
|
|
10949
|
-
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(
|
|
10949
|
+
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(pn, { children: [
|
|
10950
10950
|
m.includes(g + 1) && /* @__PURE__ */ a(
|
|
10951
10951
|
"div",
|
|
10952
10952
|
{
|
|
@@ -11001,9 +11001,9 @@ const wr = {
|
|
|
11001
11001
|
)
|
|
11002
11002
|
] }) });
|
|
11003
11003
|
case "op2":
|
|
11004
|
-
return /* @__PURE__ */ a(
|
|
11004
|
+
return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(ir, { children: [
|
|
11005
11005
|
/* @__PURE__ */ a(uu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
11006
|
-
Array.isArray(t) ? /* @__PURE__ */ f(
|
|
11006
|
+
Array.isArray(t) ? /* @__PURE__ */ f(K, { children: [
|
|
11007
11007
|
/* @__PURE__ */ a(
|
|
11008
11008
|
Eo,
|
|
11009
11009
|
{
|
|
@@ -11054,7 +11054,7 @@ const wr = {
|
|
|
11054
11054
|
)
|
|
11055
11055
|
] }) });
|
|
11056
11056
|
default:
|
|
11057
|
-
return /* @__PURE__ */ a(
|
|
11057
|
+
return /* @__PURE__ */ a(K, {});
|
|
11058
11058
|
}
|
|
11059
11059
|
}, tg = "_content_pq89v_1", ng = "_videoContent_pq89v_9", vr = {
|
|
11060
11060
|
content: tg,
|
|
@@ -11106,7 +11106,7 @@ const wr = {
|
|
|
11106
11106
|
] }) });
|
|
11107
11107
|
}, gg = (e) => {
|
|
11108
11108
|
const { videos: t } = e;
|
|
11109
|
-
return /* @__PURE__ */ a("div", { className: vr.content, children: /* @__PURE__ */ a(
|
|
11109
|
+
return /* @__PURE__ */ a("div", { className: vr.content, children: /* @__PURE__ */ a(Vt, { children: /* @__PURE__ */ a(fe, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ f("div", { className: vr.videoContent, children: [
|
|
11110
11110
|
/* @__PURE__ */ a(br, { video: t[0] }),
|
|
11111
11111
|
/* @__PURE__ */ a("div", { style: { display: "flex", flexDirection: "column" }, children: t.slice(1).map((n, r) => /* @__PURE__ */ a(
|
|
11112
11112
|
br,
|
|
@@ -11154,7 +11154,7 @@ const wr = {
|
|
|
11154
11154
|
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Me(
|
|
11155
11155
|
e.video.info.date.created
|
|
11156
11156
|
)}` : e?.video.main.author;
|
|
11157
|
-
return /* @__PURE__ */ a("div", { className: lt.content, children: /* @__PURE__ */ a(
|
|
11157
|
+
return /* @__PURE__ */ a("div", { className: lt.content, children: /* @__PURE__ */ a(Vt, { className: lt.contentLatout, children: /* @__PURE__ */ a(fe, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ f("div", { className: lt.videoContent, children: [
|
|
11158
11158
|
/* @__PURE__ */ a(Sg, { video: e.video }),
|
|
11159
11159
|
/* @__PURE__ */ f("div", { className: lt.articleSection, children: [
|
|
11160
11160
|
/* @__PURE__ */ a(
|
|
@@ -11177,7 +11177,7 @@ const wr = {
|
|
|
11177
11177
|
case "op2":
|
|
11178
11178
|
return /* @__PURE__ */ a(xg, { video: e.data[0] });
|
|
11179
11179
|
default:
|
|
11180
|
-
return /* @__PURE__ */ a(
|
|
11180
|
+
return /* @__PURE__ */ a(K, {});
|
|
11181
11181
|
}
|
|
11182
11182
|
};
|
|
11183
11183
|
function C3({ containerId: e, containerId2: t }) {
|
|
@@ -11230,7 +11230,7 @@ const Eg = (e) => {
|
|
|
11230
11230
|
);
|
|
11231
11231
|
if (!i.length || !i[0]?.url || i[0]?.url === "")
|
|
11232
11232
|
return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
|
|
11233
|
-
const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } =
|
|
11233
|
+
const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = W();
|
|
11234
11234
|
return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ f("span", { className: se.backdrop, children: [
|
|
11235
11235
|
/* @__PURE__ */ a(
|
|
11236
11236
|
"span",
|
|
@@ -11255,7 +11255,7 @@ const Eg = (e) => {
|
|
|
11255
11255
|
}
|
|
11256
11256
|
}
|
|
11257
11257
|
),
|
|
11258
|
-
t && /* @__PURE__ */ f(
|
|
11258
|
+
t && /* @__PURE__ */ f(K, { children: [
|
|
11259
11259
|
/* @__PURE__ */ a(
|
|
11260
11260
|
"div",
|
|
11261
11261
|
{
|
|
@@ -11508,7 +11508,7 @@ const Eg = (e) => {
|
|
|
11508
11508
|
children: n ? je(e.main.subtitle.striped) : e.main.subtitle.striped
|
|
11509
11509
|
}
|
|
11510
11510
|
),
|
|
11511
|
-
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(
|
|
11511
|
+
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
11512
11512
|
B,
|
|
11513
11513
|
{
|
|
11514
11514
|
className: re.correspondentLink,
|
|
@@ -11576,7 +11576,7 @@ const Eg = (e) => {
|
|
|
11576
11576
|
errorMessage: Kg,
|
|
11577
11577
|
loadingContainer: Jg
|
|
11578
11578
|
}, Uo = async (e, t) => {
|
|
11579
|
-
const { PUBLIC_ENV: n } =
|
|
11579
|
+
const { PUBLIC_ENV: n } = W();
|
|
11580
11580
|
if (console.log(n, !0), n === "local") return !0;
|
|
11581
11581
|
if (!e) return !1;
|
|
11582
11582
|
const { CAPTCHA_PROJECT: r, CAPTCHA_KEY_V2: o, COMMENTS_CAPTCHA_API_KEY: s } = t;
|
|
@@ -11685,7 +11685,7 @@ function Zg(e) {
|
|
|
11685
11685
|
}
|
|
11686
11686
|
const Ta = (e, t) => {
|
|
11687
11687
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
11688
|
-
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } =
|
|
11688
|
+
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } = W(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ft} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
11689
11689
|
return { boolean: i, text: c };
|
|
11690
11690
|
}, qo = (e) => {
|
|
11691
11691
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
@@ -11712,7 +11712,7 @@ function ep(e) {
|
|
|
11712
11712
|
let c = "";
|
|
11713
11713
|
return s.length <= 2 ? c = s[0] + "*" : c = s[0] + "*".repeat(s.length - 2) + s[s.length - 1], `${r}@${c}${i}`;
|
|
11714
11714
|
}
|
|
11715
|
-
var
|
|
11715
|
+
var an = { exports: {} }, rn = { exports: {} }, ne = {};
|
|
11716
11716
|
var Nr;
|
|
11717
11717
|
function tp() {
|
|
11718
11718
|
if (Nr) return ne;
|
|
@@ -11793,17 +11793,17 @@ function np() {
|
|
|
11793
11793
|
var Ae = R.$$typeof;
|
|
11794
11794
|
switch (Ae) {
|
|
11795
11795
|
case t:
|
|
11796
|
-
var
|
|
11797
|
-
switch (
|
|
11796
|
+
var Ft = R.type;
|
|
11797
|
+
switch (Ft) {
|
|
11798
11798
|
case d:
|
|
11799
11799
|
case l:
|
|
11800
11800
|
case r:
|
|
11801
11801
|
case s:
|
|
11802
11802
|
case o:
|
|
11803
11803
|
case m:
|
|
11804
|
-
return
|
|
11804
|
+
return Ft;
|
|
11805
11805
|
default:
|
|
11806
|
-
var qa =
|
|
11806
|
+
var qa = Ft && Ft.$$typeof;
|
|
11807
11807
|
switch (qa) {
|
|
11808
11808
|
case c:
|
|
11809
11809
|
case u:
|
|
@@ -11865,7 +11865,7 @@ function np() {
|
|
|
11865
11865
|
}
|
|
11866
11866
|
var xr;
|
|
11867
11867
|
function Ia() {
|
|
11868
|
-
return xr || (xr = 1, process.env.NODE_ENV === "production" ?
|
|
11868
|
+
return xr || (xr = 1, process.env.NODE_ENV === "production" ? rn.exports = tp() : rn.exports = np()), rn.exports;
|
|
11869
11869
|
}
|
|
11870
11870
|
var Fn, Er;
|
|
11871
11871
|
function ap() {
|
|
@@ -12344,13 +12344,13 @@ function sp() {
|
|
|
12344
12344
|
}
|
|
12345
12345
|
var Rr;
|
|
12346
12346
|
function ip() {
|
|
12347
|
-
if (Rr) return
|
|
12347
|
+
if (Rr) return an.exports;
|
|
12348
12348
|
if (Rr = 1, process.env.NODE_ENV !== "production") {
|
|
12349
12349
|
var e = Ia(), t = !0;
|
|
12350
|
-
|
|
12350
|
+
an.exports = /* @__PURE__ */ op()(e.isElement, t);
|
|
12351
12351
|
} else
|
|
12352
|
-
|
|
12353
|
-
return
|
|
12352
|
+
an.exports = /* @__PURE__ */ sp()();
|
|
12353
|
+
return an.exports;
|
|
12354
12354
|
}
|
|
12355
12355
|
var cp = /* @__PURE__ */ ip();
|
|
12356
12356
|
const be = /* @__PURE__ */ _t(cp);
|
|
@@ -12372,7 +12372,7 @@ function dp(e, t) {
|
|
|
12372
12372
|
o = r[s], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
12373
12373
|
return n;
|
|
12374
12374
|
}
|
|
12375
|
-
function
|
|
12375
|
+
function on(e) {
|
|
12376
12376
|
if (e === void 0)
|
|
12377
12377
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12378
12378
|
return e;
|
|
@@ -12389,7 +12389,7 @@ var kn = /* @__PURE__ */ (function(e) {
|
|
|
12389
12389
|
up(t, e);
|
|
12390
12390
|
function t() {
|
|
12391
12391
|
var r;
|
|
12392
|
-
return r = e.call(this) || this, r.handleExpired = r.handleExpired.bind(
|
|
12392
|
+
return r = e.call(this) || this, r.handleExpired = r.handleExpired.bind(on(r)), r.handleErrored = r.handleErrored.bind(on(r)), r.handleChange = r.handleChange.bind(on(r)), r.handleRecaptchaRef = r.handleRecaptchaRef.bind(on(r)), r;
|
|
12393
12393
|
}
|
|
12394
12394
|
var n = t.prototype;
|
|
12395
12395
|
return n.getCaptchaFunction = function(o) {
|
|
@@ -12785,7 +12785,7 @@ const Lo = yp(vp, {
|
|
|
12785
12785
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: y, children: /* @__PURE__ */ a(Tt, {}) }),
|
|
12786
12786
|
/* @__PURE__ */ a("h2", { className: ue.title, children: "Reportar Abuso" }),
|
|
12787
12787
|
i === "loading" && /* @__PURE__ */ a("div", { className: ue.loadingContainer, children: /* @__PURE__ */ a(Je, {}) }),
|
|
12788
|
-
i === "form" || i === "loading" ? /* @__PURE__ */ f(
|
|
12788
|
+
i === "form" || i === "loading" ? /* @__PURE__ */ f(K, { children: [
|
|
12789
12789
|
/* @__PURE__ */ a("div", { className: ue.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ue.option, children: [
|
|
12790
12790
|
/* @__PURE__ */ a(
|
|
12791
12791
|
"input",
|
|
@@ -12824,7 +12824,7 @@ const Lo = yp(vp, {
|
|
|
12824
12824
|
}
|
|
12825
12825
|
)
|
|
12826
12826
|
] })
|
|
12827
|
-
] }) : /* @__PURE__ */ f(
|
|
12827
|
+
] }) : /* @__PURE__ */ f(K, { children: [
|
|
12828
12828
|
/* @__PURE__ */ f("div", { className: ue.successContainer, children: [
|
|
12829
12829
|
/* @__PURE__ */ a("div", { className: ue.thumbsUp, children: /* @__PURE__ */ a(
|
|
12830
12830
|
"svg",
|
|
@@ -12865,7 +12865,7 @@ async function Ua({
|
|
|
12865
12865
|
state: i = "5,6",
|
|
12866
12866
|
apiToken: c
|
|
12867
12867
|
}) {
|
|
12868
|
-
const { PUBLIC_ENV: d } =
|
|
12868
|
+
const { PUBLIC_ENV: d } = W();
|
|
12869
12869
|
if (d === "prod")
|
|
12870
12870
|
return (await Wp({
|
|
12871
12871
|
publication: e,
|
|
@@ -12900,7 +12900,7 @@ async function Wp({
|
|
|
12900
12900
|
throw new Error("Invalid input types for publication or path");
|
|
12901
12901
|
if (!c)
|
|
12902
12902
|
throw new Error("Missing CMS API token");
|
|
12903
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } =
|
|
12903
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } = W(), h = parseInt(String(n), 10), p = parseInt(String(r), 10);
|
|
12904
12904
|
if (isNaN(h) || h <= 0)
|
|
12905
12905
|
throw new Error("Invalid size parameter");
|
|
12906
12906
|
if (isNaN(p) || p < 0)
|
|
@@ -12935,12 +12935,12 @@ async function Wp({
|
|
|
12935
12935
|
throw v;
|
|
12936
12936
|
}
|
|
12937
12937
|
}
|
|
12938
|
-
const { PUBLIC_PUBLICATION_ID: Yp } =
|
|
12938
|
+
const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
12939
12939
|
const [t, n] = J(void 0);
|
|
12940
12940
|
return De(() => {
|
|
12941
12941
|
if (t) return;
|
|
12942
12942
|
(async () => {
|
|
12943
|
-
const { PUBLIC_X_SECURITY_TOKEN: o } =
|
|
12943
|
+
const { PUBLIC_X_SECURITY_TOKEN: o } = W();
|
|
12944
12944
|
try {
|
|
12945
12945
|
const s = await Ua({
|
|
12946
12946
|
publication: Kp,
|
|
@@ -13059,20 +13059,20 @@ const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
|
13059
13059
|
] })
|
|
13060
13060
|
] });
|
|
13061
13061
|
}, jo = ({ onClick: e, isDisabled: t }) => {
|
|
13062
|
-
const [n, r] = Te.useState(!1);
|
|
13062
|
+
const [n, r] = Te.useState(!1), { S3_ID_DIR: o } = W();
|
|
13063
13063
|
return Te.useEffect(() => {
|
|
13064
|
-
let
|
|
13065
|
-
return n && (
|
|
13064
|
+
let s = null;
|
|
13065
|
+
return n && (s = setTimeout(() => {
|
|
13066
13066
|
r(!1);
|
|
13067
13067
|
}, 2400)), () => {
|
|
13068
|
-
|
|
13068
|
+
s && clearTimeout(s);
|
|
13069
13069
|
};
|
|
13070
|
-
}, [n]), n ? /* @__PURE__ */ a("div", { className: "success-gif-container", children: /* @__PURE__ */ a("img", { className: "success-gif", src: "/Success.gif" }) }) : /* @__PURE__ */ f(
|
|
13070
|
+
}, [n]), n ? /* @__PURE__ */ a("div", { className: "success-gif-container", children: /* @__PURE__ */ a("img", { className: "success-gif", src: Mt() + "/arte/" + o + "/Success.gif" }) }) : /* @__PURE__ */ f(
|
|
13071
13071
|
"button",
|
|
13072
13072
|
{
|
|
13073
13073
|
type: "button",
|
|
13074
|
-
onClick: async (
|
|
13075
|
-
await e(
|
|
13074
|
+
onClick: async (s) => {
|
|
13075
|
+
await e(s) && r(!0);
|
|
13076
13076
|
},
|
|
13077
13077
|
id: "comment-button",
|
|
13078
13078
|
className: `submit-btn ${t ? "disabled" : "active"}`,
|
|
@@ -13099,7 +13099,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
|
13099
13099
|
]
|
|
13100
13100
|
}
|
|
13101
13101
|
);
|
|
13102
|
-
}, { PUBLIC_PUBLICATION_ID: Zp } =
|
|
13102
|
+
}, { PUBLIC_PUBLICATION_ID: Zp } = W(), Xp = Zp, Qo = async ({
|
|
13103
13103
|
path: e,
|
|
13104
13104
|
ref: t,
|
|
13105
13105
|
captchaToken: n,
|
|
@@ -13222,7 +13222,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
|
13222
13222
|
] })
|
|
13223
13223
|
] }) });
|
|
13224
13224
|
}, n9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s, CAPTCHA_KEY_V2: i }) => {
|
|
13225
|
-
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, m] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: p } =
|
|
13225
|
+
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, m] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: p } = W(), g = e.text, A = Te.useRef(null);
|
|
13226
13226
|
let y = `${Ke.firstname} ${Ke.lastname}`, v = Ke.username;
|
|
13227
13227
|
e.user && (y = `${e.user.firstname} ${e.user.lastname}`, v = e.user.username);
|
|
13228
13228
|
const N = (_) => {
|
|
@@ -13347,7 +13347,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
|
13347
13347
|
}
|
|
13348
13348
|
)
|
|
13349
13349
|
] });
|
|
13350
|
-
}, { PUBLIC_PUBLICATION_ID: r9, PUBLIC_X_SECURITY_TOKEN: o9 } =
|
|
13350
|
+
}, { PUBLIC_PUBLICATION_ID: r9, PUBLIC_X_SECURITY_TOKEN: o9 } = W(), Br = r9 ?? "", s9 = ({
|
|
13351
13351
|
isAuthenticated: e,
|
|
13352
13352
|
path: t,
|
|
13353
13353
|
user: n,
|
|
@@ -13392,8 +13392,8 @@ const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
|
13392
13392
|
throw p(!1), new Error(`Error al obtener comentarios: ${Q}`);
|
|
13393
13393
|
}
|
|
13394
13394
|
}, _ = u?.comments && u.comments.length > 0, E = _ ? "Comparte tu opinión de este artículo." : "Se el primero en compartir tu opinión de este artículo.", b = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Je, {}) });
|
|
13395
|
-
return /* @__PURE__ */ f(
|
|
13396
|
-
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(fe, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(
|
|
13395
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
13396
|
+
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(fe, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(K, { children: [
|
|
13397
13397
|
e && n && /* @__PURE__ */ f("div", { className: "comments-header", children: [
|
|
13398
13398
|
/* @__PURE__ */ a(
|
|
13399
13399
|
Rg,
|
|
@@ -13585,8 +13585,8 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13585
13585
|
d(!1);
|
|
13586
13586
|
}
|
|
13587
13587
|
}, y = r.password || "";
|
|
13588
|
-
return /* @__PURE__ */ f(
|
|
13589
|
-
m === "register" && /* @__PURE__ */ f(
|
|
13588
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
13589
|
+
m === "register" && /* @__PURE__ */ f(K, { children: [
|
|
13590
13590
|
/* @__PURE__ */ f("button", { onClick: t, className: k.google, children: [
|
|
13591
13591
|
/* @__PURE__ */ a(
|
|
13592
13592
|
"img",
|
|
@@ -13733,7 +13733,7 @@ function c9({
|
|
|
13733
13733
|
CAPTCHA_KEY: o
|
|
13734
13734
|
}) {
|
|
13735
13735
|
const [s, i] = J("login"), [c, d] = J(""), [l, u] = J(""), [m, h] = J(""), [p, g] = J(""), [A, y] = J(""), [v, N] = J(!1), [_, E] = J(!1), [b, x] = J(null);
|
|
13736
|
-
return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(
|
|
13736
|
+
return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(K, { children: [
|
|
13737
13737
|
s === "login" && /* @__PURE__ */ a(
|
|
13738
13738
|
l9,
|
|
13739
13739
|
{
|
|
@@ -13881,7 +13881,7 @@ function l9({
|
|
|
13881
13881
|
onRegister: u,
|
|
13882
13882
|
handleGoogleLogin: m
|
|
13883
13883
|
}) {
|
|
13884
|
-
return /* @__PURE__ */ f(
|
|
13884
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
13885
13885
|
/* @__PURE__ */ f("button", { onClick: m, className: k.google, children: [
|
|
13886
13886
|
/* @__PURE__ */ a(
|
|
13887
13887
|
"img",
|
|
@@ -14182,7 +14182,7 @@ function f9({
|
|
|
14182
14182
|
COMMENTS_VARS: c
|
|
14183
14183
|
}) {
|
|
14184
14184
|
const [d, l] = Te.useState(!1);
|
|
14185
|
-
return /* @__PURE__ */ f(
|
|
14185
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
14186
14186
|
d && /* @__PURE__ */ a(
|
|
14187
14187
|
m9,
|
|
14188
14188
|
{
|
|
@@ -14495,7 +14495,7 @@ export {
|
|
|
14495
14495
|
a3 as ContactInput,
|
|
14496
14496
|
r3 as ContactSelect,
|
|
14497
14497
|
o3 as ContactTextarea,
|
|
14498
|
-
|
|
14498
|
+
Vt as ContentLayout1,
|
|
14499
14499
|
ir as ContentLayoutTema,
|
|
14500
14500
|
p3 as DEBUG_MainSlots,
|
|
14501
14501
|
Zm as DestacadoNoticias,
|
|
@@ -14592,17 +14592,17 @@ export {
|
|
|
14592
14592
|
W9 as generalGetData,
|
|
14593
14593
|
S3 as getCaptchaToken,
|
|
14594
14594
|
Wp as getComments,
|
|
14595
|
-
|
|
14595
|
+
W as getConfig,
|
|
14596
14596
|
$9 as getDynamicSlots,
|
|
14597
|
-
|
|
14597
|
+
Mt as getEnvironmentUrl,
|
|
14598
14598
|
ms as getEnvironmentUrlFront,
|
|
14599
14599
|
S9 as getHydratorPath,
|
|
14600
14600
|
me as getImageUrl,
|
|
14601
|
-
|
|
14602
|
-
|
|
14601
|
+
$t as getNextMeta,
|
|
14602
|
+
Yt as getPage,
|
|
14603
14603
|
va as getPlayIcon,
|
|
14604
14604
|
x9 as getPreloadImages,
|
|
14605
|
-
|
|
14605
|
+
Wt as getPrevMeta,
|
|
14606
14606
|
N3 as getReportReasonLabel,
|
|
14607
14607
|
Qr as getResponse,
|
|
14608
14608
|
hs as getResponsePromise,
|