sass-template-common 0.9.229 → 0.9.231
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.
|
@@ -245,13 +245,13 @@ function pa() {
|
|
|
245
245
|
}, U.format = function(k) {
|
|
246
246
|
var j = this, M = this.$locale();
|
|
247
247
|
if (!this.isValid()) return M.invalidDate || g;
|
|
248
|
-
var Y = k || "YYYY-MM-DDTHH:mm:ssZ", N = P.z(this), T = this.$H, _ = this.$m, H = this.$M, G = M.weekdays, $ = M.months, K = M.meridiem, J = function(X, ce, q,
|
|
249
|
-
return X && (X[ce] || X(j, Y)) || q[ce].slice(0,
|
|
248
|
+
var Y = k || "YYYY-MM-DDTHH:mm:ssZ", N = P.z(this), T = this.$H, _ = this.$m, H = this.$M, G = M.weekdays, $ = M.months, K = M.meridiem, J = function(X, ce, q, Ae) {
|
|
249
|
+
return X && (X[ce] || X(j, Y)) || q[ce].slice(0, Ae);
|
|
250
250
|
}, ne = function(X) {
|
|
251
251
|
return P.s(T % 12 || 12, X, "0");
|
|
252
252
|
}, se = K || function(X, ce, q) {
|
|
253
|
-
var
|
|
254
|
-
return q ?
|
|
253
|
+
var Ae = X < 12 ? "AM" : "PM";
|
|
254
|
+
return q ? Ae.toLowerCase() : Ae;
|
|
255
255
|
};
|
|
256
256
|
return Y.replace(A, (function(X, ce) {
|
|
257
257
|
return ce || (function(q) {
|
|
@@ -376,7 +376,7 @@ function pa() {
|
|
|
376
376
|
})(jt)), jt.exports;
|
|
377
377
|
}
|
|
378
378
|
var Ir = pa();
|
|
379
|
-
const
|
|
379
|
+
const ye = /* @__PURE__ */ ut(Ir);
|
|
380
380
|
var Gt = { exports: {} }, kr = Gt.exports, ps;
|
|
381
381
|
function Ur() {
|
|
382
382
|
return ps || (ps = 1, (function(e, t) {
|
|
@@ -582,23 +582,23 @@ function jr() {
|
|
|
582
582
|
}
|
|
583
583
|
var Gr = jr();
|
|
584
584
|
const Fr = /* @__PURE__ */ ut(Gr);
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
585
|
+
ye.extend(qr);
|
|
586
|
+
ye.extend(Fr);
|
|
587
|
+
ye.extend(Rr);
|
|
588
588
|
const en = (e) => e === "en" ? "en" : "es", Oe = (e, t) => {
|
|
589
589
|
const { PUBLIC_LNG: n, DATE_TIMEZONE: a } = t || R(), r = en(n ?? "es");
|
|
590
|
-
return
|
|
590
|
+
return ye.tz(e, a).locale(r).format("DD MMMM YYYY");
|
|
591
591
|
}, tn = (e) => {
|
|
592
592
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = en(t ?? "es");
|
|
593
|
-
return
|
|
593
|
+
return ye.tz(e, n).locale(a).format(
|
|
594
594
|
a === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
595
595
|
);
|
|
596
596
|
}, Hr = (e) => {
|
|
597
597
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = en(t ?? "es");
|
|
598
|
-
return
|
|
598
|
+
return ye.tz(e, n).locale(a).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
599
599
|
}, gm = (e) => {
|
|
600
600
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = en(t ?? "es");
|
|
601
|
-
return
|
|
601
|
+
return ye.tz(e, n).locale(a).format("dddd DD [de] MMMM YYYY");
|
|
602
602
|
}, Ze = (e, t) => {
|
|
603
603
|
if (!e) return "";
|
|
604
604
|
const n = new Date(e), r = new Intl.DateTimeFormat("en-CA", {
|
|
@@ -1277,15 +1277,15 @@ const uo = () => {
|
|
|
1277
1277
|
let t = "";
|
|
1278
1278
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1279
1279
|
const n = e.params.news.split("-"), a = n[n.length - 1] ?? "", r = a.substring(1, 9), o = a.substring(9, 13);
|
|
1280
|
-
t = `/listas/${
|
|
1280
|
+
t = `/listas/${ye(r).format("YYYY/MM/DD")}/lista_${o}.html`;
|
|
1281
1281
|
} else if (e.params.news.match(/.*lb[0-9]*.html/g)) {
|
|
1282
1282
|
const n = e.params.news.split("-"), a = n[n.length - 1] ?? "", r = a.substring(2, 10), o = a.substring(10, 14);
|
|
1283
|
-
t = `/liveblog/${
|
|
1283
|
+
t = `/liveblog/${ye(r).format(
|
|
1284
1284
|
"YYYY/MM/DD"
|
|
1285
1285
|
)}/liveblog_${o}.html`;
|
|
1286
1286
|
} else {
|
|
1287
1287
|
const a = e.params.news.replace(/\.html$/g, "").split("-");
|
|
1288
|
-
Array.isArray(a) && (t = `/contenidos/${
|
|
1288
|
+
Array.isArray(a) && (t = `/contenidos/${ye(a[a.length - 2]).format(
|
|
1289
1289
|
"YYYY/MM/DD"
|
|
1290
1290
|
)}/noticia_${a[a.length - 1]}.html`);
|
|
1291
1291
|
}
|
|
@@ -1294,13 +1294,13 @@ const uo = () => {
|
|
|
1294
1294
|
function vm(e) {
|
|
1295
1295
|
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], a = n[n.length - 1]?.split("."), r = a && a[0] ? a[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), l = r.substring(10);
|
|
1296
1296
|
return { path: {
|
|
1297
|
-
vy: (d) => `/videos/video-youtube/${
|
|
1297
|
+
vy: (d) => `/videos/video-youtube/${ye(i).format(
|
|
1298
1298
|
"YYYY/MM/DD"
|
|
1299
1299
|
)}/videoYouTube_${d}.lnk`,
|
|
1300
|
-
ve: (d) => `/videos/video-embedded/${
|
|
1300
|
+
ve: (d) => `/videos/video-embedded/${ye(i).format(
|
|
1301
1301
|
"YYYY/MM/DD"
|
|
1302
1302
|
)}/videoEmbedded_${d}.lnk`,
|
|
1303
|
-
vf: (d) => `/videos/video-flash/${
|
|
1303
|
+
vf: (d) => `/videos/video-flash/${ye(i).format("YYYY/MM/DD")}/${n[0]}.${d}`
|
|
1304
1304
|
}[o]?.(l) ?? "", op: o };
|
|
1305
1305
|
}
|
|
1306
1306
|
const Xe = (e, t) => {
|
|
@@ -2798,14 +2798,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Di
|
|
|
2798
2798
|
hasStandardBrowserWebWorkerEnv: qi,
|
|
2799
2799
|
navigator: Mn,
|
|
2800
2800
|
origin: Di
|
|
2801
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2801
|
+
}, Symbol.toStringTag, { value: "Module" })), we = {
|
|
2802
2802
|
...ji,
|
|
2803
2803
|
...Mi
|
|
2804
2804
|
};
|
|
2805
2805
|
function Gi(e, t) {
|
|
2806
|
-
return on(e, new
|
|
2806
|
+
return on(e, new we.classes.URLSearchParams(), {
|
|
2807
2807
|
visitor: function(n, a, r, o) {
|
|
2808
|
-
return
|
|
2808
|
+
return we.isNode && S.isBuffer(n) ? (this.append(a, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
2809
2809
|
},
|
|
2810
2810
|
...t
|
|
2811
2811
|
});
|
|
@@ -2900,8 +2900,8 @@ const It = {
|
|
|
2900
2900
|
maxContentLength: -1,
|
|
2901
2901
|
maxBodyLength: -1,
|
|
2902
2902
|
env: {
|
|
2903
|
-
FormData:
|
|
2904
|
-
Blob:
|
|
2903
|
+
FormData: we.classes.FormData,
|
|
2904
|
+
Blob: we.classes.Blob
|
|
2905
2905
|
},
|
|
2906
2906
|
validateStatus: function(t) {
|
|
2907
2907
|
return t >= 200 && t < 300;
|
|
@@ -3201,10 +3201,10 @@ const Kt = (e, t, n = 3) => {
|
|
|
3201
3201
|
total: e,
|
|
3202
3202
|
loaded: a
|
|
3203
3203
|
}), t[1]];
|
|
3204
|
-
}, Us = (e) => (...t) => S.asap(() => e(...t)), el =
|
|
3205
|
-
new URL(
|
|
3206
|
-
|
|
3207
|
-
) : () => !0, tl =
|
|
3204
|
+
}, Us = (e) => (...t) => S.asap(() => e(...t)), el = we.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, we.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
3205
|
+
new URL(we.origin),
|
|
3206
|
+
we.navigator && /(msie|trident)/i.test(we.navigator.userAgent)
|
|
3207
|
+
) : () => !0, tl = we.hasStandardBrowserEnv ? (
|
|
3208
3208
|
// Standard browser envs support document.cookie
|
|
3209
3209
|
{
|
|
3210
3210
|
write(e, t, n, a, r, o, i) {
|
|
@@ -3315,7 +3315,7 @@ const Ga = (e) => {
|
|
|
3315
3315
|
"Authorization",
|
|
3316
3316
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
3317
3317
|
), S.isFormData(n)) {
|
|
3318
|
-
if (
|
|
3318
|
+
if (we.hasStandardBrowserEnv || we.hasStandardBrowserWebWorkerEnv)
|
|
3319
3319
|
i.setContentType(void 0);
|
|
3320
3320
|
else if (S.isFunction(n.getHeaders)) {
|
|
3321
3321
|
const c = n.getHeaders(), d = ["content-type", "content-length"];
|
|
@@ -3324,7 +3324,7 @@ const Ga = (e) => {
|
|
|
3324
3324
|
});
|
|
3325
3325
|
}
|
|
3326
3326
|
}
|
|
3327
|
-
if (
|
|
3327
|
+
if (we.hasStandardBrowserEnv && (a && S.isFunction(a) && (a = a(t)), a || a !== !1 && el(t.url))) {
|
|
3328
3328
|
const c = r && o && tl.read(o);
|
|
3329
3329
|
c && i.set(r, c);
|
|
3330
3330
|
}
|
|
@@ -3381,7 +3381,7 @@ const Ga = (e) => {
|
|
|
3381
3381
|
b && (a(!x || x.type ? new ht(null, e, b) : x), b.abort(), b = null);
|
|
3382
3382
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3383
3383
|
const C = Ji(r.url);
|
|
3384
|
-
if (C &&
|
|
3384
|
+
if (C && we.protocols.indexOf(C) === -1) {
|
|
3385
3385
|
a(new te("Unsupported protocol " + C + ":", te.ERR_BAD_REQUEST, e));
|
|
3386
3386
|
return;
|
|
3387
3387
|
}
|
|
@@ -3488,7 +3488,7 @@ const Ga = (e) => {
|
|
|
3488
3488
|
return !1;
|
|
3489
3489
|
const l = r && Rt(Os), c = r && (typeof Bs == "function" ? /* @__PURE__ */ ((f) => (g) => f.encode(g))(new Bs()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), d = o && l && Ms(() => {
|
|
3490
3490
|
let f = !1;
|
|
3491
|
-
const g = new n(
|
|
3491
|
+
const g = new n(we.origin, {
|
|
3492
3492
|
body: new Os(),
|
|
3493
3493
|
method: "POST",
|
|
3494
3494
|
get duplex() {
|
|
@@ -3513,7 +3513,7 @@ const Ga = (e) => {
|
|
|
3513
3513
|
if (S.isBlob(f))
|
|
3514
3514
|
return f.size;
|
|
3515
3515
|
if (S.isSpecCompliantForm(f))
|
|
3516
|
-
return (await new n(
|
|
3516
|
+
return (await new n(we.origin, {
|
|
3517
3517
|
method: "POST",
|
|
3518
3518
|
body: f
|
|
3519
3519
|
}).arrayBuffer()).byteLength;
|
|
@@ -4405,11 +4405,11 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4405
4405
|
a[r] = i(t[n.indexOf(r)]);
|
|
4406
4406
|
}
|
|
4407
4407
|
return a;
|
|
4408
|
-
},
|
|
4408
|
+
}, fe = (e) => ({
|
|
4409
4409
|
title: e.title,
|
|
4410
4410
|
description: e.description
|
|
4411
4411
|
// robots: 'noindex',
|
|
4412
|
-
}), js = (e = "") => e.replace(/-/g, " ").replace(/^./, (t) => t.toUpperCase()), gt = (e) => e.includes("/page/") ? e.replace(/\/page\/\d+$/, "") : e,
|
|
4412
|
+
}), js = (e = "") => e.replace(/-/g, " ").replace(/^./, (t) => t.toUpperCase()), gt = (e) => e.includes("/page/") ? e.replace(/\/page\/\d+$/, "") : e, pe = (e) => {
|
|
4413
4413
|
try {
|
|
4414
4414
|
const t = me();
|
|
4415
4415
|
if (!t) return e;
|
|
@@ -4418,56 +4418,59 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4418
4418
|
} catch {
|
|
4419
4419
|
return e;
|
|
4420
4420
|
}
|
|
4421
|
-
}, Le = (e, t) => {
|
|
4422
|
-
const
|
|
4421
|
+
}, Le = (e, t, n, a) => {
|
|
4422
|
+
const r = pe(t), o = {
|
|
4423
|
+
...n ? { title: n } : {},
|
|
4424
|
+
...a ? { description: a } : {}
|
|
4425
|
+
};
|
|
4423
4426
|
return {
|
|
4424
|
-
alternates: { ...e.alternates, canonical:
|
|
4425
|
-
openGraph: { ...e.openGraph, url:
|
|
4426
|
-
twitter: { ...e.twitter, url:
|
|
4427
|
+
alternates: { ...e.alternates, canonical: r },
|
|
4428
|
+
openGraph: { ...e.openGraph, url: r, ...o },
|
|
4429
|
+
twitter: { ...e.twitter, url: r, ...o }
|
|
4427
4430
|
};
|
|
4428
4431
|
}, Cl = {
|
|
4429
4432
|
404: (e) => {
|
|
4430
4433
|
const { meta: t } = e;
|
|
4431
|
-
return
|
|
4434
|
+
return fe(t);
|
|
4432
4435
|
},
|
|
4433
4436
|
home: (e) => {
|
|
4434
4437
|
const { meta: t, config: n } = e;
|
|
4435
4438
|
return {
|
|
4436
4439
|
...t,
|
|
4437
|
-
...Le(t, n.siteUrl)
|
|
4440
|
+
...Le(t, n.siteUrl, t.title)
|
|
4438
4441
|
};
|
|
4439
4442
|
},
|
|
4440
4443
|
slug: (e) => {
|
|
4441
|
-
const { meta: t, config: n, slug: a, pathname: r } = e
|
|
4444
|
+
const { meta: t, config: n, slug: a, pathname: r } = e, o = `${n.name} | ${js(a)}`;
|
|
4442
4445
|
return {
|
|
4443
4446
|
...t,
|
|
4444
|
-
title:
|
|
4445
|
-
...Le(t, n.siteUrl + r)
|
|
4447
|
+
title: o,
|
|
4448
|
+
...Le(t, n.siteUrl + r, o)
|
|
4446
4449
|
};
|
|
4447
4450
|
},
|
|
4448
4451
|
auth: (e) => {
|
|
4449
|
-
const { meta: t, config: n, slug: a, pathname: r } = e
|
|
4452
|
+
const { meta: t, config: n, slug: a, pathname: r } = e, o = `${n.name} | ${js(a)}`;
|
|
4450
4453
|
return {
|
|
4451
4454
|
...t,
|
|
4452
|
-
title:
|
|
4453
|
-
...Le(t, n.siteUrl + r)
|
|
4455
|
+
title: o,
|
|
4456
|
+
...Le(t, n.siteUrl + r, o)
|
|
4454
4457
|
};
|
|
4455
4458
|
},
|
|
4456
4459
|
news: (e) => {
|
|
4457
4460
|
const { meta: t, config: n, currentNew: a, schemasImages: r } = e;
|
|
4458
|
-
if (!a) return
|
|
4461
|
+
if (!a) return fe(t);
|
|
4459
4462
|
const o = Jr(t, a, n, r);
|
|
4460
|
-
return o ? { ...t, ...o } :
|
|
4463
|
+
return o ? { ...t, ...o } : fe(t);
|
|
4461
4464
|
},
|
|
4462
4465
|
seccion: async (e) => {
|
|
4463
|
-
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o, meta_info: i } = e, { CONFIG_sectionMetaInfo: l, CONFIG_sectionBatchedFetch: c, PUBLIC_LNG: d } = R(), h = gt(a).split("/"), m = [], w = ft(a), f = Number(n.newsListLimit)
|
|
4466
|
+
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o, meta_info: i } = e, { CONFIG_sectionMetaInfo: l, CONFIG_sectionBatchedFetch: c, PUBLIC_LNG: d } = R(), h = gt(a).split("/"), m = [], w = ft(a), f = Number(n.newsListLimit) || 0, g = d === "en";
|
|
4464
4467
|
if (l && i)
|
|
4465
4468
|
return i.next && m.push({ rel: "next", url: st(n, h, w) }), w > 1 && m.push({ rel: "prev", url: at(n, h, w) }), {
|
|
4466
4469
|
...t,
|
|
4467
4470
|
title: i.title,
|
|
4468
4471
|
alternates: {
|
|
4469
4472
|
...t.alternates,
|
|
4470
|
-
canonical:
|
|
4473
|
+
canonical: pe(n.siteUrl + a)
|
|
4471
4474
|
},
|
|
4472
4475
|
manifest: n.manifest,
|
|
4473
4476
|
icons: { ...n.icons, other: m },
|
|
@@ -4478,22 +4481,22 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4478
4481
|
...t.openGraph,
|
|
4479
4482
|
title: i.title,
|
|
4480
4483
|
type: "website",
|
|
4481
|
-
url:
|
|
4484
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4482
4485
|
},
|
|
4483
4486
|
twitter: {
|
|
4484
4487
|
...t.twitter,
|
|
4485
4488
|
card: "summary_large_image",
|
|
4486
4489
|
title: i.title,
|
|
4487
4490
|
domain: new URL(n.siteUrl).hostname,
|
|
4488
|
-
url:
|
|
4491
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4489
4492
|
}
|
|
4490
4493
|
};
|
|
4491
4494
|
const b = new He({ config: n, axiosApi: o });
|
|
4492
4495
|
try {
|
|
4493
4496
|
let A, C;
|
|
4494
4497
|
if (c) {
|
|
4495
|
-
const
|
|
4496
|
-
fetchFn: (
|
|
4498
|
+
const E = await ro({
|
|
4499
|
+
fetchFn: (I) => b.getNewsListSection(I),
|
|
4497
4500
|
baseParams: {
|
|
4498
4501
|
section: r,
|
|
4499
4502
|
newstype: n.newsType,
|
|
@@ -4502,26 +4505,28 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4502
4505
|
userPage: w,
|
|
4503
4506
|
newsListLimit: f
|
|
4504
4507
|
});
|
|
4505
|
-
A =
|
|
4508
|
+
A = E.data, C = E.hasNextPage;
|
|
4506
4509
|
} else {
|
|
4507
|
-
const
|
|
4510
|
+
const E = await b.getNewsListSection({
|
|
4508
4511
|
section: r,
|
|
4509
4512
|
size: f,
|
|
4510
4513
|
newstype: n.newsType,
|
|
4511
4514
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4512
4515
|
page: w
|
|
4513
4516
|
});
|
|
4514
|
-
if (!
|
|
4515
|
-
A =
|
|
4517
|
+
if (!E) return fe(t);
|
|
4518
|
+
A = E.data.data, C = !(A.length < f);
|
|
4516
4519
|
}
|
|
4517
4520
|
const x = A[0];
|
|
4518
|
-
|
|
4521
|
+
C && m.push({ rel: "next", url: st(n, h, w) }), w > 1 && m.push({ rel: "prev", url: at(n, h, w) });
|
|
4522
|
+
const v = g ? `Latest News from ${x.info.section?.name} | ${n.name}` : `Últimas Noticias de ${x.info.section?.name} | ${n.name}`, y = g ? `All the latest news from ${x.info.section?.name} on ${n.name}` : `Todas las últimas noticias de ${x.info.section?.name} en ${n.name}`;
|
|
4523
|
+
return {
|
|
4519
4524
|
...t,
|
|
4520
|
-
title:
|
|
4521
|
-
description:
|
|
4525
|
+
title: v,
|
|
4526
|
+
description: y,
|
|
4522
4527
|
alternates: {
|
|
4523
4528
|
...t.alternates,
|
|
4524
|
-
canonical:
|
|
4529
|
+
canonical: pe(n.siteUrl + a)
|
|
4525
4530
|
},
|
|
4526
4531
|
manifest: n.manifest,
|
|
4527
4532
|
icons: {
|
|
@@ -4532,25 +4537,29 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4532
4537
|
"msapplication-TileImage": n.msapplicationTileImage ?? ""
|
|
4533
4538
|
},
|
|
4534
4539
|
openGraph: {
|
|
4535
|
-
|
|
4540
|
+
...t.openGraph,
|
|
4541
|
+
title: v,
|
|
4542
|
+
description: y,
|
|
4536
4543
|
type: "website",
|
|
4537
|
-
url:
|
|
4544
|
+
url: pe(`${n.siteUrl}${a}`),
|
|
4538
4545
|
locale: t.openGraph.locale
|
|
4539
4546
|
},
|
|
4540
4547
|
twitter: {
|
|
4548
|
+
...t.twitter,
|
|
4541
4549
|
card: "summary_large_image",
|
|
4542
|
-
title:
|
|
4550
|
+
title: v,
|
|
4551
|
+
description: y,
|
|
4543
4552
|
site: t.twitter.site,
|
|
4544
4553
|
domain: new URL(n.siteUrl).hostname,
|
|
4545
|
-
url:
|
|
4554
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4546
4555
|
}
|
|
4547
4556
|
};
|
|
4548
4557
|
} catch (A) {
|
|
4549
|
-
return console.error(A),
|
|
4558
|
+
return console.error(A), fe(t);
|
|
4550
4559
|
}
|
|
4551
4560
|
},
|
|
4552
4561
|
tema: async (e) => {
|
|
4553
|
-
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o } = e, i = new He({ config: n, axiosApi: o }), c = gt(a).split("/"), d = [], u = ft(a), h = Number(n.newsListLimit)
|
|
4562
|
+
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o } = e, i = new He({ config: n, axiosApi: o }), c = gt(a).split("/"), d = [], u = ft(a), h = Number(n.newsListLimit) || 0, m = /([t][0-9]{4})\w+/.exec(r || ""), w = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f, PUBLIC_LNG: g } = R(), b = g === "en";
|
|
4554
4563
|
try {
|
|
4555
4564
|
const A = await i.getNewsListTags({
|
|
4556
4565
|
tagid: w,
|
|
@@ -4560,21 +4569,24 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4560
4569
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4561
4570
|
page: u
|
|
4562
4571
|
});
|
|
4563
|
-
if (!A) return
|
|
4572
|
+
if (!A) return fe(t);
|
|
4564
4573
|
const C = A.data.entity;
|
|
4565
|
-
|
|
4574
|
+
if (!C) return fe(t);
|
|
4575
|
+
A.data.data?.length < h || d.push({
|
|
4566
4576
|
rel: "next",
|
|
4567
4577
|
url: st(n, c, u)
|
|
4568
4578
|
}), u > 1 && d.push({
|
|
4569
4579
|
rel: "prev",
|
|
4570
4580
|
url: at(n, c, u)
|
|
4571
|
-
})
|
|
4581
|
+
});
|
|
4582
|
+
const x = b ? `Latest news about ${C.name} | ${n.name}` : `Últimas noticias de ${C.name} | ${n.name}`, v = b ? `The latest news about ${C.name} on ${n.name}` : `Las últimas noticias sobre ${C.name} en ${n.name}`;
|
|
4583
|
+
return {
|
|
4572
4584
|
...t,
|
|
4573
|
-
title:
|
|
4574
|
-
description:
|
|
4585
|
+
title: x,
|
|
4586
|
+
description: v,
|
|
4575
4587
|
alternates: {
|
|
4576
4588
|
...t.alternates,
|
|
4577
|
-
canonical:
|
|
4589
|
+
canonical: pe(n.siteUrl + a)
|
|
4578
4590
|
},
|
|
4579
4591
|
manifest: n.manifest,
|
|
4580
4592
|
icons: {
|
|
@@ -4586,42 +4598,48 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4586
4598
|
},
|
|
4587
4599
|
openGraph: {
|
|
4588
4600
|
...t.openGraph,
|
|
4589
|
-
title:
|
|
4601
|
+
title: x,
|
|
4602
|
+
description: v,
|
|
4590
4603
|
type: "website",
|
|
4591
|
-
url:
|
|
4604
|
+
url: pe(`${n.siteUrl}${a}`),
|
|
4592
4605
|
locale: t.openGraph.locale
|
|
4593
4606
|
},
|
|
4594
4607
|
twitter: {
|
|
4595
4608
|
...t.twitter,
|
|
4596
4609
|
card: "summary_large_image",
|
|
4597
|
-
title:
|
|
4610
|
+
title: x,
|
|
4611
|
+
description: v,
|
|
4598
4612
|
site: t.twitter.site,
|
|
4599
4613
|
domain: new URL(n.siteUrl).hostname,
|
|
4600
|
-
url:
|
|
4614
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4601
4615
|
}
|
|
4602
|
-
}
|
|
4616
|
+
};
|
|
4603
4617
|
} catch (A) {
|
|
4604
|
-
return console.error(A),
|
|
4618
|
+
return console.error(A), fe(t);
|
|
4605
4619
|
}
|
|
4606
4620
|
},
|
|
4607
4621
|
"ultimas-noticias": async (e) => {
|
|
4608
|
-
const { meta: t, config: n, pathname: a, texts: r, axiosApi: o } = e, i = new He({ config: n, axiosApi: o }), c = gt(a).split("/"), d = [], u = ft(a), h = Number(n.newsListLimit)
|
|
4622
|
+
const { meta: t, config: n, pathname: a, texts: r, axiosApi: o } = e, i = new He({ config: n, axiosApi: o }), c = gt(a).split("/"), d = [], u = ft(a), h = Number(n.newsListLimit) || 0, m = `${n.name} | ${r.lastNotesTitle}`, w = {
|
|
4609
4623
|
...t,
|
|
4610
|
-
title:
|
|
4611
|
-
...Le(
|
|
4624
|
+
title: m,
|
|
4625
|
+
...Le(
|
|
4626
|
+
t,
|
|
4627
|
+
n.siteUrl + "/" + n.paths["ultimas-noticias"],
|
|
4628
|
+
m
|
|
4629
|
+
)
|
|
4612
4630
|
};
|
|
4613
|
-
if (!o) return
|
|
4631
|
+
if (!o) return w;
|
|
4614
4632
|
try {
|
|
4615
|
-
const
|
|
4633
|
+
const f = await i.getNewsList({
|
|
4616
4634
|
size: h,
|
|
4617
4635
|
newstype: n.newsType,
|
|
4618
4636
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4619
4637
|
page: u
|
|
4620
4638
|
});
|
|
4621
|
-
return
|
|
4639
|
+
return f ? (f.data.data.length < h || d.push({ rel: "next", url: st(n, c, u) }), u > 1 && d.push({ rel: "prev", url: at(n, c, u) }), {
|
|
4622
4640
|
...t,
|
|
4623
|
-
title:
|
|
4624
|
-
...Le(t, n.siteUrl + a),
|
|
4641
|
+
title: m,
|
|
4642
|
+
...Le(t, n.siteUrl + a, m),
|
|
4625
4643
|
manifest: n.manifest,
|
|
4626
4644
|
icons: {
|
|
4627
4645
|
...n.icons,
|
|
@@ -4630,9 +4648,9 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4630
4648
|
other: {
|
|
4631
4649
|
"msapplication-TileImage": n.msapplicationTileImage ?? ""
|
|
4632
4650
|
}
|
|
4633
|
-
}) :
|
|
4634
|
-
} catch (
|
|
4635
|
-
return console.error(
|
|
4651
|
+
}) : w;
|
|
4652
|
+
} catch (f) {
|
|
4653
|
+
return console.error(f), w;
|
|
4636
4654
|
}
|
|
4637
4655
|
},
|
|
4638
4656
|
video: async (e) => {
|
|
@@ -4649,36 +4667,44 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4649
4667
|
i.data.data[0],
|
|
4650
4668
|
n
|
|
4651
4669
|
) ?? {}
|
|
4652
|
-
} :
|
|
4670
|
+
} : fe(t);
|
|
4653
4671
|
} catch (i) {
|
|
4654
|
-
return console.error("metadata (video) error:", i),
|
|
4672
|
+
return console.error("metadata (video) error:", i), fe(t);
|
|
4655
4673
|
}
|
|
4656
4674
|
},
|
|
4657
4675
|
videos: async (e) => {
|
|
4658
|
-
const { meta: t, config: n, pathname: a, axiosApi: r } = e, o = new He({ config: n, axiosApi: r }), l = gt(a).split("/"), c = [], d = ft(a), u =
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
...
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4676
|
+
const { meta: t, config: n, pathname: a, axiosApi: r } = e, o = new He({ config: n, axiosApi: r }), l = gt(a).split("/"), c = [], d = ft(a), u = Number(n.newsListLimit) || 0;
|
|
4677
|
+
try {
|
|
4678
|
+
const h = await o.getvideoListAdvanced({
|
|
4679
|
+
size: u,
|
|
4680
|
+
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
4681
|
+
page: Number(d)
|
|
4682
|
+
});
|
|
4683
|
+
if (!h) return fe(t);
|
|
4684
|
+
h.data.data.length < u || c.push({
|
|
4685
|
+
rel: "next",
|
|
4686
|
+
url: st(n, l, d)
|
|
4687
|
+
}), d > 1 && c.push({
|
|
4688
|
+
rel: "prev",
|
|
4689
|
+
url: at(n, l, d)
|
|
4690
|
+
});
|
|
4691
|
+
const m = "Videos | " + n.name;
|
|
4692
|
+
return {
|
|
4693
|
+
...t,
|
|
4694
|
+
title: m,
|
|
4695
|
+
...Le(t, n.siteUrl + a, m),
|
|
4696
|
+
manifest: n.manifest,
|
|
4697
|
+
icons: {
|
|
4698
|
+
...n.icons,
|
|
4699
|
+
other: c
|
|
4700
|
+
},
|
|
4701
|
+
other: {
|
|
4702
|
+
"msapplication-TileImage": n.msapplicationTileImage ?? ""
|
|
4703
|
+
}
|
|
4704
|
+
};
|
|
4705
|
+
} catch (h) {
|
|
4706
|
+
return console.error(h), fe(t);
|
|
4707
|
+
}
|
|
4682
4708
|
},
|
|
4683
4709
|
pages: async (e, t) => {
|
|
4684
4710
|
const { meta: n, config: a, pathname: r, slug: o, axiosApi: i } = e, l = new He({ config: a, axiosApi: i });
|
|
@@ -4686,31 +4712,31 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4686
4712
|
const c = await l.getPages({
|
|
4687
4713
|
path: t || a.servicePrefix + `/pages/${o}`
|
|
4688
4714
|
});
|
|
4689
|
-
if (!c) return
|
|
4690
|
-
const d = c.data.data[0]?.info.title ?? ""
|
|
4715
|
+
if (!c) return fe(n);
|
|
4716
|
+
const d = c.data.data[0]?.info.title ?? "", u = `${a.name} | ${d}`;
|
|
4691
4717
|
return {
|
|
4692
4718
|
...n,
|
|
4693
|
-
title:
|
|
4694
|
-
...Le(n, a.siteUrl + r)
|
|
4719
|
+
title: u,
|
|
4720
|
+
...Le(n, a.siteUrl + r, u)
|
|
4695
4721
|
};
|
|
4696
4722
|
} catch (c) {
|
|
4697
|
-
return console.error(c),
|
|
4723
|
+
return console.error(c), fe(n);
|
|
4698
4724
|
}
|
|
4699
4725
|
},
|
|
4700
4726
|
contacto: (e) => {
|
|
4701
|
-
const { meta: t, config: n, pathname: a } = e, r = R().PUBLIC_LNG === "en"
|
|
4727
|
+
const { meta: t, config: n, pathname: a } = e, r = R().PUBLIC_LNG === "en", o = `${n.name} | ${r ? "Contact" : "Contacto"}`;
|
|
4702
4728
|
return {
|
|
4703
4729
|
...t,
|
|
4704
|
-
title:
|
|
4705
|
-
...Le(t, n.siteUrl + a)
|
|
4730
|
+
title: o,
|
|
4731
|
+
...Le(t, n.siteUrl + a, o)
|
|
4706
4732
|
};
|
|
4707
4733
|
},
|
|
4708
4734
|
anuncia: (e) => {
|
|
4709
|
-
const { meta: t, config: n, pathname: a } = e, r = R().PUBLIC_LNG === "en"
|
|
4735
|
+
const { meta: t, config: n, pathname: a } = e, r = R().PUBLIC_LNG === "en", o = `${n.name} | ${r ? "Advertise" : "Anuncia"}`;
|
|
4710
4736
|
return {
|
|
4711
4737
|
...t,
|
|
4712
|
-
title:
|
|
4713
|
-
...Le(t, n.siteUrl + a)
|
|
4738
|
+
title: o,
|
|
4739
|
+
...Le(t, n.siteUrl + a, o)
|
|
4714
4740
|
};
|
|
4715
4741
|
},
|
|
4716
4742
|
buscar: (e) => {
|
|
@@ -4722,7 +4748,7 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4722
4748
|
title: i,
|
|
4723
4749
|
alternates: {
|
|
4724
4750
|
...t.alternates,
|
|
4725
|
-
canonical:
|
|
4751
|
+
canonical: pe(
|
|
4726
4752
|
n.siteUrl + a + (r ? "?query=" + r : "")
|
|
4727
4753
|
)
|
|
4728
4754
|
},
|
|
@@ -4730,7 +4756,7 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4730
4756
|
...t.openGraph,
|
|
4731
4757
|
title: i,
|
|
4732
4758
|
type: "website",
|
|
4733
|
-
url:
|
|
4759
|
+
url: pe(
|
|
4734
4760
|
`${n.siteUrl}${a}${r ? "?query=" + r : ""}`
|
|
4735
4761
|
)
|
|
4736
4762
|
},
|
|
@@ -4739,7 +4765,7 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4739
4765
|
card: "summary_large_image",
|
|
4740
4766
|
title: i,
|
|
4741
4767
|
domain: new URL(n.siteUrl).hostname,
|
|
4742
|
-
url:
|
|
4768
|
+
url: pe(
|
|
4743
4769
|
`${n.siteUrl}${a}${r ? "?query=" + r : ""}`
|
|
4744
4770
|
)
|
|
4745
4771
|
}
|
|
@@ -4751,7 +4777,7 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4751
4777
|
title: i,
|
|
4752
4778
|
alternates: {
|
|
4753
4779
|
...t.alternates,
|
|
4754
|
-
canonical:
|
|
4780
|
+
canonical: pe(
|
|
4755
4781
|
n.siteUrl + a + (r ? "?query=" + r : "")
|
|
4756
4782
|
)
|
|
4757
4783
|
},
|
|
@@ -4759,44 +4785,47 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4759
4785
|
...t.openGraph,
|
|
4760
4786
|
title: i,
|
|
4761
4787
|
type: "website",
|
|
4762
|
-
url:
|
|
4788
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4763
4789
|
},
|
|
4764
4790
|
twitter: {
|
|
4765
4791
|
...t.twitter,
|
|
4766
4792
|
card: "summary_large_image",
|
|
4767
4793
|
title: i,
|
|
4768
4794
|
domain: new URL(n.siteUrl).hostname,
|
|
4769
|
-
url:
|
|
4795
|
+
url: pe(`${n.siteUrl}${a}`)
|
|
4770
4796
|
}
|
|
4771
4797
|
};
|
|
4772
4798
|
}
|
|
4773
4799
|
},
|
|
4774
4800
|
autor: async (e) => {
|
|
4775
|
-
const { meta: t, config: n, pathname: a, imgSizes: r, slug: o, axiosApi: i } = e, l = new He({ config: n, axiosApi: i, imgSizes: r }), d = gt(a).split("/"), u = [], h = ft(a), m = R().PUBLIC_LNG === "en";
|
|
4801
|
+
const { meta: t, config: n, pathname: a, imgSizes: r, slug: o, axiosApi: i } = e, l = new He({ config: n, axiosApi: i, imgSizes: r }), d = gt(a).split("/"), u = [], h = ft(a), m = R().PUBLIC_LNG === "en", w = Number(n.newsListLimit) || 0;
|
|
4776
4802
|
try {
|
|
4777
|
-
const
|
|
4803
|
+
const f = await l.getAutorInfo({
|
|
4778
4804
|
user: o,
|
|
4779
4805
|
exclude: "groups",
|
|
4780
4806
|
imagesizes: r.sm
|
|
4781
|
-
}),
|
|
4782
|
-
size:
|
|
4807
|
+
}), g = await l.getNewsListAutor({
|
|
4808
|
+
size: w,
|
|
4783
4809
|
user: o,
|
|
4784
4810
|
page: h,
|
|
4785
4811
|
newstype: n.newsType,
|
|
4786
4812
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4787
4813
|
imagesizes: r.md
|
|
4788
4814
|
});
|
|
4789
|
-
|
|
4815
|
+
if (!g) return fe(t);
|
|
4816
|
+
g.data.data.length < w || u.push({
|
|
4790
4817
|
rel: "next",
|
|
4791
4818
|
url: st(n, d, h)
|
|
4792
4819
|
}), h > 1 && u.push({
|
|
4793
4820
|
rel: "prev",
|
|
4794
4821
|
url: at(n, d, h)
|
|
4795
|
-
})
|
|
4822
|
+
});
|
|
4823
|
+
const b = f?.data.data[0]?.info.fullname, A = m ? `Latest News from ${b} | ${n.name}` : `Últimas Noticias de ${b} | ${n.name}`, C = m ? `All the latest news from ${b} on ${n.name}` : `Todas las últimas noticias de ${b} en ${n.name}`;
|
|
4824
|
+
return {
|
|
4796
4825
|
...t,
|
|
4797
|
-
title:
|
|
4798
|
-
description:
|
|
4799
|
-
...Le(t, n.siteUrl + a),
|
|
4826
|
+
title: A,
|
|
4827
|
+
description: C,
|
|
4828
|
+
...Le(t, n.siteUrl + a, A, C),
|
|
4800
4829
|
manifest: n.manifest,
|
|
4801
4830
|
icons: {
|
|
4802
4831
|
...n.icons,
|
|
@@ -4805,9 +4834,9 @@ const Zm = async (e, t, n, a, r, o, i) => {
|
|
|
4805
4834
|
other: {
|
|
4806
4835
|
"msapplication-TileImage": n.msapplicationTileImage ?? ""
|
|
4807
4836
|
}
|
|
4808
|
-
}
|
|
4809
|
-
} catch (
|
|
4810
|
-
return console.error(
|
|
4837
|
+
};
|
|
4838
|
+
} catch (f) {
|
|
4839
|
+
return console.error(f), fe(t);
|
|
4811
4840
|
}
|
|
4812
4841
|
}
|
|
4813
4842
|
}, vl = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", Nl = ({
|
|
@@ -5239,27 +5268,27 @@ function El({ manifest: e }) {
|
|
|
5239
5268
|
] }) : null;
|
|
5240
5269
|
}
|
|
5241
5270
|
const Z = !0, ee = !1, ae = "meta", Tl = {
|
|
5242
|
-
404:
|
|
5243
|
-
home:
|
|
5244
|
-
slug:
|
|
5245
|
-
auth:
|
|
5246
|
-
news:
|
|
5247
|
-
seccion:
|
|
5248
|
-
tema:
|
|
5249
|
-
"ultimas-noticias":
|
|
5250
|
-
video:
|
|
5251
|
-
videos:
|
|
5252
|
-
pages:
|
|
5253
|
-
contacto:
|
|
5254
|
-
anuncia:
|
|
5255
|
-
buscar:
|
|
5256
|
-
autor:
|
|
5271
|
+
404: ge(Z, Z, ee, ee, ae, ae, ee, ee),
|
|
5272
|
+
home: ge(ae, ae, Z, ee, ae, ae, ee, ee),
|
|
5273
|
+
slug: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5274
|
+
auth: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5275
|
+
news: ge(Z, Z, Z, Z, Z, Z, Z, Z),
|
|
5276
|
+
seccion: ge(Z, Z, Z, ee, Z, Z, ee, ee),
|
|
5277
|
+
tema: ge(Z, Z, Z, ee, Z, Z, ee, ee),
|
|
5278
|
+
"ultimas-noticias": ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5279
|
+
video: ge(Z, Z, Z, Z, Z, Z, ee, ee),
|
|
5280
|
+
videos: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5281
|
+
pages: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5282
|
+
contacto: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5283
|
+
anuncia: ge(Z, ae, Z, ee, ae, ae, ee, ee),
|
|
5284
|
+
buscar: ge(Z, ae, Z, ee, Z, Z, ee, ee),
|
|
5285
|
+
autor: ge(Z, Z, Z, ee, ae, ae, ee, ee)
|
|
5257
5286
|
};
|
|
5258
|
-
function
|
|
5287
|
+
function ge(e, t, n, a, r, o, i, l) {
|
|
5259
5288
|
return { title: e, description: t, canonical: n, robots: a, openGraph: r, twitter: o, article: i, rss: l };
|
|
5260
5289
|
}
|
|
5261
5290
|
function Il(e) {
|
|
5262
|
-
return Tl[e] ??
|
|
5291
|
+
return Tl[e] ?? ge(ae, ae, ae, ee, ae, ae, ee, ee);
|
|
5263
5292
|
}
|
|
5264
5293
|
function kl(e) {
|
|
5265
5294
|
const t = e.headConfig, n = e.config, a = e.defaultMetadataName, r = R(), o = r.PUBLIC_ASSETS_URL, i = n.fontS3Url && n.useS3Font || n.googleFontFamily && !n.googleFontFamily.startsWith("family=") ? "selfHosted" : n.googleFontFamily?.startsWith("family=") ? "google" : "none";
|
|
@@ -5941,7 +5970,7 @@ const Ml = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), ah = async (e) => {
|
|
|
5941
5970
|
children: t ? r : e?.info?.section?.name
|
|
5942
5971
|
}
|
|
5943
5972
|
),
|
|
5944
|
-
/* @__PURE__ */ s("p", { className: "sass-com-sc5-dateText", children:
|
|
5973
|
+
/* @__PURE__ */ s("p", { className: "sass-com-sc5-dateText", children: ye(e?.info?.date?.modified).locale("es").format("DD [De] MMMM YYYY") })
|
|
5945
5974
|
] }),
|
|
5946
5975
|
/* @__PURE__ */ s(
|
|
5947
5976
|
B,
|
|
@@ -6498,7 +6527,7 @@ const Wa = ({
|
|
|
6498
6527
|
block_subPublication: d?.autor,
|
|
6499
6528
|
"aria-label": h(),
|
|
6500
6529
|
className: "sass-com-nd-correspondentLink",
|
|
6501
|
-
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
6530
|
+
href: `/${e?.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
6502
6531
|
children: m()
|
|
6503
6532
|
}
|
|
6504
6533
|
) : /* @__PURE__ */ s("span", { className: "sass-com-nd-correspondent", children: m() }) })
|
|
@@ -9085,7 +9114,7 @@ const lh = (e) => {
|
|
|
9085
9114
|
)
|
|
9086
9115
|
] })
|
|
9087
9116
|
] }) });
|
|
9088
|
-
},
|
|
9117
|
+
}, be = fa((e, t) => {
|
|
9089
9118
|
const { isTitle: n = !1, isOpinion: a = !1, noHeading: r = !1 } = e, o = r ? /* @__PURE__ */ s("div", { className: "sass-com-sec-title", children: e.title }) : n ? /* @__PURE__ */ s("h1", { className: "sass-com-sec-title", children: e.title }) : /* @__PURE__ */ s("h2", { className: "sass-com-sec-title", children: e.title });
|
|
9090
9119
|
return /* @__PURE__ */ p("section", { className: "sass-com-sec-content", children: [
|
|
9091
9120
|
e.title && /* @__PURE__ */ p(
|
|
@@ -10680,7 +10709,7 @@ const dt = (e) => {
|
|
|
10680
10709
|
}
|
|
10681
10710
|
}
|
|
10682
10711
|
}, i = t.slice(1);
|
|
10683
|
-
return o && i && /* @__PURE__ */ p(
|
|
10712
|
+
return o && i && /* @__PURE__ */ p(be, { title: n, titleUrl: e.titleUrl, children: [
|
|
10684
10713
|
/* @__PURE__ */ p(
|
|
10685
10714
|
"div",
|
|
10686
10715
|
{
|
|
@@ -10816,7 +10845,7 @@ const Ch = (e) => {
|
|
|
10816
10845
|
}
|
|
10817
10846
|
const r = a.length % 2 === 0 ? Sc(a) : a;
|
|
10818
10847
|
return /* @__PURE__ */ s("section", { style: e.customStyles, children: /* @__PURE__ */ s(
|
|
10819
|
-
|
|
10848
|
+
be,
|
|
10820
10849
|
{
|
|
10821
10850
|
title: e.title,
|
|
10822
10851
|
titleUrl: e.titleUrl,
|
|
@@ -11011,7 +11040,13 @@ const Sh = (e) => {
|
|
|
11011
11040
|
{
|
|
11012
11041
|
className: "sass-bs-mbn-boxPosition",
|
|
11013
11042
|
style: { order: o },
|
|
11014
|
-
children: /* @__PURE__ */ s(
|
|
11043
|
+
children: /* @__PURE__ */ s(
|
|
11044
|
+
Ge,
|
|
11045
|
+
{
|
|
11046
|
+
...l,
|
|
11047
|
+
paths: e.paths
|
|
11048
|
+
}
|
|
11049
|
+
)
|
|
11015
11050
|
},
|
|
11016
11051
|
`description-block-2-odd-${o}`
|
|
11017
11052
|
)
|
|
@@ -11028,11 +11063,11 @@ const Sh = (e) => {
|
|
|
11028
11063
|
)
|
|
11029
11064
|
);
|
|
11030
11065
|
const r = Tc(a);
|
|
11031
|
-
return /* @__PURE__ */ s(
|
|
11066
|
+
return /* @__PURE__ */ s(be, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ p("div", { className: "sass-bs-mbn-content", children: [
|
|
11032
11067
|
/* @__PURE__ */ s("div", { className: "sass-bs-mbn-contentFlex", children: r }),
|
|
11033
11068
|
/* @__PURE__ */ s("div", { className: "sass-bs-mbn-bannerContent", children: e.halfPageBanner })
|
|
11034
11069
|
] }) });
|
|
11035
|
-
}, Ic = (e) => /* @__PURE__ */ s(
|
|
11070
|
+
}, Ic = (e) => /* @__PURE__ */ s(be, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
11036
11071
|
Ec,
|
|
11037
11072
|
{
|
|
11038
11073
|
content: e.content,
|
|
@@ -11049,7 +11084,7 @@ const Sh = (e) => {
|
|
|
11049
11084
|
) }), kc = (e) => {
|
|
11050
11085
|
const { content: t, title: n } = e;
|
|
11051
11086
|
if (!(!t || t.length === 0 || !Array.isArray(t)))
|
|
11052
|
-
return /* @__PURE__ */ s(
|
|
11087
|
+
return /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
11053
11088
|
"div",
|
|
11054
11089
|
{
|
|
11055
11090
|
className: `su-grid su-justify-center sass-bd-m14-newsContent ${e.hasLines ? "sass-bd-m14-contentSeparator" : ""}`,
|
|
@@ -11078,7 +11113,7 @@ const Sh = (e) => {
|
|
|
11078
11113
|
}, Uc = (e) => {
|
|
11079
11114
|
const { content: t, title: n } = e;
|
|
11080
11115
|
if (!(!t || t.length === 0))
|
|
11081
|
-
return /* @__PURE__ */ s(
|
|
11116
|
+
return /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
11082
11117
|
"div",
|
|
11083
11118
|
{
|
|
11084
11119
|
className: `su-grid su-justify-center sass-bd-m15-newsContent ${e.hasLines ? "sass-bd-m15-contentSeparator" : "sass-bd-m15-newsContentWhitoutLine"}`,
|
|
@@ -11108,7 +11143,7 @@ const Sh = (e) => {
|
|
|
11108
11143
|
const { content: t, title: n, isVideo: a = !0 } = e;
|
|
11109
11144
|
if (!t || t.length === 0) return;
|
|
11110
11145
|
const r = t[0], o = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1"), i = t.slice(1);
|
|
11111
|
-
return r && i && /* @__PURE__ */ p(
|
|
11146
|
+
return r && i && /* @__PURE__ */ p(be, { title: n, titleUrl: e.titleUrl, children: [
|
|
11112
11147
|
/* @__PURE__ */ p("div", { className: "sass-bd-dv-headerSection", children: [
|
|
11113
11148
|
/* @__PURE__ */ s(
|
|
11114
11149
|
rr,
|
|
@@ -11191,7 +11226,7 @@ const Sh = (e) => {
|
|
|
11191
11226
|
}, Pc = (e) => {
|
|
11192
11227
|
if (!e.content || e.content.length === 0) return;
|
|
11193
11228
|
const t = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
11194
|
-
return /* @__PURE__ */ s(
|
|
11229
|
+
return /* @__PURE__ */ s(be, { title: e.title, children: /* @__PURE__ */ s(
|
|
11195
11230
|
"div",
|
|
11196
11231
|
{
|
|
11197
11232
|
className: `su-grid sass-bd-m13c-content ${e.hasLines ? "sass-bd-m13c-contentSeparator" : ""}`,
|
|
@@ -11230,7 +11265,7 @@ const Sh = (e) => {
|
|
|
11230
11265
|
) });
|
|
11231
11266
|
}, Oc = (e) => {
|
|
11232
11267
|
const { content: t, title: n, slot_id: a } = e, r = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
11233
|
-
return t && t.length !== 0 && /* @__PURE__ */ s(
|
|
11268
|
+
return t && t.length !== 0 && /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
11234
11269
|
tt,
|
|
11235
11270
|
{
|
|
11236
11271
|
slot_id: a,
|
|
@@ -11295,12 +11330,12 @@ const Sh = (e) => {
|
|
|
11295
11330
|
}
|
|
11296
11331
|
) }),
|
|
11297
11332
|
/* @__PURE__ */ s("p", { className: "sass-com-opt1-comment", children: n?.main?.subtitle?.striped }),
|
|
11298
|
-
/* @__PURE__ */ s("p", { className: "sass-com-opt1-dateText", children:
|
|
11333
|
+
/* @__PURE__ */ s("p", { className: "sass-com-opt1-dateText", children: ye(n.info.date.modified).locale("es").format("DD [De] MMMM") })
|
|
11299
11334
|
] })
|
|
11300
11335
|
] });
|
|
11301
11336
|
}, Mc = (e) => {
|
|
11302
11337
|
const t = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
11303
|
-
return /* @__PURE__ */ s(
|
|
11338
|
+
return /* @__PURE__ */ s(be, { titleUrl: e.titleUrl, title: e.title, children: /* @__PURE__ */ s(
|
|
11304
11339
|
tt,
|
|
11305
11340
|
{
|
|
11306
11341
|
slot_id: e.slot_id,
|
|
@@ -14829,8 +14864,8 @@ function Vd() {
|
|
|
14829
14864
|
}
|
|
14830
14865
|
function v(q) {
|
|
14831
14866
|
if (typeof q == "object" && q !== null) {
|
|
14832
|
-
var
|
|
14833
|
-
switch (
|
|
14867
|
+
var Ae = q.$$typeof;
|
|
14868
|
+
switch (Ae) {
|
|
14834
14869
|
case t:
|
|
14835
14870
|
var Lt = q.type;
|
|
14836
14871
|
switch (Lt) {
|
|
@@ -14851,11 +14886,11 @@ function Vd() {
|
|
|
14851
14886
|
case i:
|
|
14852
14887
|
return ms;
|
|
14853
14888
|
default:
|
|
14854
|
-
return
|
|
14889
|
+
return Ae;
|
|
14855
14890
|
}
|
|
14856
14891
|
}
|
|
14857
14892
|
case n:
|
|
14858
|
-
return
|
|
14893
|
+
return Ae;
|
|
14859
14894
|
}
|
|
14860
14895
|
}
|
|
14861
14896
|
}
|
|
@@ -15075,11 +15110,11 @@ function Wd() {
|
|
|
15075
15110
|
);
|
|
15076
15111
|
throw q.name = "Invariant Violation", q;
|
|
15077
15112
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
15078
|
-
var
|
|
15079
|
-
!T[
|
|
15113
|
+
var Ae = ne + ":" + J;
|
|
15114
|
+
!T[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
15080
15115
|
_ < 3 && (o(
|
|
15081
15116
|
"You are manually calling a React.PropTypes validation function for the `" + X + "` prop on `" + ne + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
15082
|
-
), T[
|
|
15117
|
+
), T[Ae] = !0, _++);
|
|
15083
15118
|
}
|
|
15084
15119
|
}
|
|
15085
15120
|
return K[J] == null ? $ ? K[J] === null ? new g("The " + se + " `" + X + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new g("The " + se + " `" + X + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : N(K, J, ne, se, X);
|
|
@@ -15164,8 +15199,8 @@ function Wd() {
|
|
|
15164
15199
|
if (f(J, N[ne]))
|
|
15165
15200
|
return null;
|
|
15166
15201
|
var se = JSON.stringify(N, function(ce, q) {
|
|
15167
|
-
var
|
|
15168
|
-
return
|
|
15202
|
+
var Ae = j(q);
|
|
15203
|
+
return Ae === "symbol" ? String(q) : q;
|
|
15169
15204
|
});
|
|
15170
15205
|
return new g("Invalid " + $ + " `" + K + "` of value `" + String(J) + "` " + ("supplied to `" + G + "`, expected one of " + se + "."));
|
|
15171
15206
|
}
|
|
@@ -15205,8 +15240,8 @@ function Wd() {
|
|
|
15205
15240
|
return null;
|
|
15206
15241
|
q.data && a(q.data, "expectedType") && se.push(q.data.expectedType);
|
|
15207
15242
|
}
|
|
15208
|
-
var
|
|
15209
|
-
return new g("Invalid " + J + " `" + ne + "` supplied to " + ("`" + K + "`" +
|
|
15243
|
+
var Ae = se.length > 0 ? ", expected one of type [" + se.join(", ") + "]" : "";
|
|
15244
|
+
return new g("Invalid " + J + " `" + ne + "` supplied to " + ("`" + K + "`" + Ae + "."));
|
|
15210
15245
|
}
|
|
15211
15246
|
return b(H);
|
|
15212
15247
|
}
|
|
@@ -16710,7 +16745,7 @@ const bu = {
|
|
|
16710
16745
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = me(i) + "/auth/login");
|
|
16711
16746
|
};
|
|
16712
16747
|
return /* @__PURE__ */ p(W, { children: [
|
|
16713
|
-
/* @__PURE__ */ s("div", { className: "comments-container", children: /* @__PURE__ */ s(
|
|
16748
|
+
/* @__PURE__ */ s("div", { className: "comments-container", children: /* @__PURE__ */ s(be, { noHeading: !0, title: i.CONFIG_commentsV2 || P || e ? c.commentsSectionTitle : !1, children: /* @__PURE__ */ p(W, { children: [
|
|
16714
16749
|
/* @__PURE__ */ s("div", { className: "comments-header", children: e && n ? /* @__PURE__ */ p(W, { children: [
|
|
16715
16750
|
/* @__PURE__ */ s(
|
|
16716
16751
|
Dd,
|
|
@@ -17905,7 +17940,7 @@ const Dh = async ({
|
|
|
17905
17940
|
}
|
|
17906
17941
|
}, Hu = (e) => {
|
|
17907
17942
|
const { content: t, title: n, slot_id: a } = e, r = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
17908
|
-
return t && t.length !== 0 && /* @__PURE__ */ s(
|
|
17943
|
+
return t && t.length !== 0 && /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(tt, { slot_id: a, cardWidth: 200, children: t.map((o, i) => {
|
|
17909
17944
|
const l = { ...o, main: {
|
|
17910
17945
|
...o.main,
|
|
17911
17946
|
title: { ...o.main.title, section: r ? o.main.title.home : o.main.title.section }
|
|
@@ -17922,7 +17957,7 @@ const Dh = async ({
|
|
|
17922
17957
|
}) }) });
|
|
17923
17958
|
}, Vu = (e) => {
|
|
17924
17959
|
const { content: t, title: n, slot_id: a } = e, r = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
17925
|
-
return t && t.length !== 0 && /* @__PURE__ */ s(
|
|
17960
|
+
return t && t.length !== 0 && /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
17926
17961
|
tt,
|
|
17927
17962
|
{
|
|
17928
17963
|
slot_id: a,
|
|
@@ -17948,7 +17983,7 @@ const Dh = async ({
|
|
|
17948
17983
|
) });
|
|
17949
17984
|
}, zu = (e) => {
|
|
17950
17985
|
const { content: t, title: n, slot_id: a } = e, r = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
17951
|
-
return t && t.length !== 0 && /* @__PURE__ */ s(
|
|
17986
|
+
return t && t.length !== 0 && /* @__PURE__ */ s(be, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ s(
|
|
17952
17987
|
tt,
|
|
17953
17988
|
{
|
|
17954
17989
|
slot_id: a,
|
|
@@ -17982,7 +18017,7 @@ const Dh = async ({
|
|
|
17982
18017
|
const { content: t, title: n, isVideo: a } = e;
|
|
17983
18018
|
if (!t || t.length === 0) return;
|
|
17984
18019
|
const r = t[0], o = t.slice(1), i = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
17985
|
-
return r && o && /* @__PURE__ */ p(
|
|
18020
|
+
return r && o && /* @__PURE__ */ p(be, { title: n, titleUrl: e.titleUrl, children: [
|
|
17986
18021
|
/* @__PURE__ */ s("div", { className: "sass-bd-dnfw-headerSection", children: /* @__PURE__ */ p(
|
|
17987
18022
|
"a",
|
|
17988
18023
|
{
|
|
@@ -18023,7 +18058,7 @@ const Dh = async ({
|
|
|
18023
18058
|
}) })
|
|
18024
18059
|
] })
|
|
18025
18060
|
] });
|
|
18026
|
-
}, Wu = ({ printEdition: e, title: t }) => e && /* @__PURE__ */ s(
|
|
18061
|
+
}, Wu = ({ printEdition: e, title: t }) => e && /* @__PURE__ */ s(be, { title: t, children: /* @__PURE__ */ s(
|
|
18027
18062
|
"div",
|
|
18028
18063
|
{
|
|
18029
18064
|
className: "sass-bd-mif-content iframe-container",
|
|
@@ -18795,7 +18830,7 @@ export {
|
|
|
18795
18830
|
Uh as RegisterForm,
|
|
18796
18831
|
Rh as ScriptHydrator,
|
|
18797
18832
|
kh as SearchSection,
|
|
18798
|
-
|
|
18833
|
+
be as Section,
|
|
18799
18834
|
Fe as SectionCard,
|
|
18800
18835
|
fn as SectionCard2,
|
|
18801
18836
|
ah as SectionCard5,
|