sass-template-common 0.1.54 → 0.1.56
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.
- package/dist/sass-template-common.js +575 -550
- package/dist/sass-template-common.umd.cjs +13 -13
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as ka from "react";
|
|
3
|
-
import Ee, { useState as $, useRef as Br, useCallback as he, useEffect as De, createElement as ot, forwardRef as Or, Fragment as gn, useMemo as
|
|
3
|
+
import Ee, { useState as $, useRef as Br, useCallback as he, useEffect as De, createElement as ot, forwardRef as Or, Fragment as gn, useMemo as jo, Component as Qo } from "react";
|
|
4
4
|
let ea = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -54,11 +54,11 @@ let ea = {
|
|
|
54
54
|
function p9(e = {}) {
|
|
55
55
|
ea = { ...ea, ...e };
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function J() {
|
|
58
58
|
return ea;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
const { ANALYTICS_comscore: e } =
|
|
60
|
+
const Go = () => {
|
|
61
|
+
const { ANALYTICS_comscore: e } = J();
|
|
62
62
|
return e && /* @__PURE__ */ a(
|
|
63
63
|
"script",
|
|
64
64
|
{
|
|
@@ -68,7 +68,7 @@ const Qo = () => {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
|
-
},
|
|
71
|
+
}, zo = (e, t) => e && t ? {
|
|
72
72
|
author: e?.authors[0]?.name ?? "",
|
|
73
73
|
creator: e?.authors[0]?.name ?? "",
|
|
74
74
|
// currentNew?.info?.creator,
|
|
@@ -77,13 +77,13 @@ const Qo = () => {
|
|
|
77
77
|
hiddentags: String(e?.keywords?.hiddentags) ?? "",
|
|
78
78
|
newsType: e?.info?.type ?? "",
|
|
79
79
|
publishDate: new Date(e?.info?.date?.firstpublish ?? "").toISOString().split("T")[0] ?? ""
|
|
80
|
-
} : void 0,
|
|
80
|
+
} : void 0, Ho = ({ id: e, dimensionValues: t = {} }) => {
|
|
81
81
|
const n = Ee.useMemo(() => {
|
|
82
82
|
const o = {};
|
|
83
83
|
return Object.keys(t).forEach((s) => {
|
|
84
84
|
o[s] = s;
|
|
85
85
|
}), o;
|
|
86
|
-
}, [t]), { ANALYTICS_ga4: r } =
|
|
86
|
+
}, [t]), { ANALYTICS_ga4: r } = J();
|
|
87
87
|
return r && /* @__PURE__ */ m(K, { children: [
|
|
88
88
|
/* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + e }),
|
|
89
89
|
/* @__PURE__ */ a(
|
|
@@ -105,8 +105,8 @@ const Qo = () => {
|
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
107
|
] });
|
|
108
|
-
},
|
|
109
|
-
const { ANALYTICS_gtm: e } =
|
|
108
|
+
}, Vo = () => {
|
|
109
|
+
const { ANALYTICS_gtm: e } = J();
|
|
110
110
|
return e && /* @__PURE__ */ m(K, { children: [
|
|
111
111
|
/* @__PURE__ */ a(
|
|
112
112
|
"script",
|
|
@@ -133,8 +133,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
133
133
|
}
|
|
134
134
|
) })
|
|
135
135
|
] });
|
|
136
|
-
},
|
|
137
|
-
const { ANALYTICS_marfeel: e } =
|
|
136
|
+
}, Fo = () => {
|
|
137
|
+
const { ANALYTICS_marfeel: e } = J();
|
|
138
138
|
return e && /* @__PURE__ */ a(
|
|
139
139
|
"script",
|
|
140
140
|
{
|
|
@@ -148,25 +148,25 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
148
148
|
function Ct(e) {
|
|
149
149
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
150
150
|
}
|
|
151
|
-
var on = { exports: {} },
|
|
151
|
+
var on = { exports: {} }, Wo = on.exports, qa;
|
|
152
152
|
function Pr() {
|
|
153
153
|
return qa || (qa = 1, (function(e, t) {
|
|
154
154
|
(function(n, r) {
|
|
155
155
|
e.exports = r();
|
|
156
|
-
})(
|
|
156
|
+
})(Wo, (function() {
|
|
157
157
|
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", f = "quarter", w = "year", g = "date", p = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, S = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
158
158
|
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
159
159
|
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
160
160
|
} }, N = function(M, U, E) {
|
|
161
|
-
var
|
|
162
|
-
return !
|
|
161
|
+
var D = String(M);
|
|
162
|
+
return !D || D.length >= U ? M : "" + Array(U + 1 - D.length).join(E) + M;
|
|
163
163
|
}, x = { s: N, z: function(M) {
|
|
164
|
-
var U = -M.utcOffset(), E = Math.abs(U),
|
|
165
|
-
return (U <= 0 ? "+" : "-") + N(
|
|
164
|
+
var U = -M.utcOffset(), E = Math.abs(U), D = Math.floor(E / 60), T = E % 60;
|
|
165
|
+
return (U <= 0 ? "+" : "-") + N(D, 2, "0") + ":" + N(T, 2, "0");
|
|
166
166
|
}, m: function M(U, E) {
|
|
167
167
|
if (U.date() < E.date()) return -M(E, U);
|
|
168
|
-
var
|
|
169
|
-
return +(-(
|
|
168
|
+
var D = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(D, h), z = E - T < 0, y = U.clone().add(D + (z ? -1 : 1), h);
|
|
169
|
+
return +(-(D + (E - T) / (z ? T - y : y - T)) || 0);
|
|
170
170
|
}, a: function(M) {
|
|
171
171
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
172
172
|
}, p: function(M) {
|
|
@@ -177,7 +177,7 @@ function Pr() {
|
|
|
177
177
|
B[v] = S;
|
|
178
178
|
var R = "$isDayjsObject", Y = function(M) {
|
|
179
179
|
return M instanceof ee || !(!M || !M[R]);
|
|
180
|
-
}, te = function M(U, E,
|
|
180
|
+
}, te = function M(U, E, D) {
|
|
181
181
|
var T;
|
|
182
182
|
if (!U) return v;
|
|
183
183
|
if (typeof U == "string") {
|
|
@@ -189,13 +189,13 @@ function Pr() {
|
|
|
189
189
|
var C = U.name;
|
|
190
190
|
B[C] = U, T = C;
|
|
191
191
|
}
|
|
192
|
-
return !
|
|
192
|
+
return !D && T && (v = T), T || !D && v;
|
|
193
193
|
}, Q = function(M, U) {
|
|
194
194
|
if (Y(M)) return M.clone();
|
|
195
195
|
var E = typeof U == "object" ? U : {};
|
|
196
196
|
return E.date = M, E.args = arguments, new ee(E);
|
|
197
|
-
},
|
|
198
|
-
|
|
197
|
+
}, P = x;
|
|
198
|
+
P.l = te, P.i = Y, P.w = function(M, U) {
|
|
199
199
|
return Q(M, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
200
200
|
};
|
|
201
201
|
var ee = (function() {
|
|
@@ -204,10 +204,10 @@ function Pr() {
|
|
|
204
204
|
}
|
|
205
205
|
var U = M.prototype;
|
|
206
206
|
return U.parse = function(E) {
|
|
207
|
-
this.$d = (function(
|
|
208
|
-
var T =
|
|
207
|
+
this.$d = (function(D) {
|
|
208
|
+
var T = D.date, z = D.utc;
|
|
209
209
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
210
|
-
if (
|
|
210
|
+
if (P.u(T)) return /* @__PURE__ */ new Date();
|
|
211
211
|
if (T instanceof Date) return new Date(T);
|
|
212
212
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
213
213
|
var y = T.match(A);
|
|
@@ -222,28 +222,28 @@ function Pr() {
|
|
|
222
222
|
var E = this.$d;
|
|
223
223
|
this.$y = E.getFullYear(), this.$M = E.getMonth(), this.$D = E.getDate(), this.$W = E.getDay(), this.$H = E.getHours(), this.$m = E.getMinutes(), this.$s = E.getSeconds(), this.$ms = E.getMilliseconds();
|
|
224
224
|
}, U.$utils = function() {
|
|
225
|
-
return
|
|
225
|
+
return P;
|
|
226
226
|
}, U.isValid = function() {
|
|
227
227
|
return this.$d.toString() !== p;
|
|
228
|
-
}, U.isSame = function(E,
|
|
228
|
+
}, U.isSame = function(E, D) {
|
|
229
229
|
var T = Q(E);
|
|
230
|
-
return this.startOf(
|
|
231
|
-
}, U.isAfter = function(E,
|
|
232
|
-
return Q(E) < this.startOf(
|
|
233
|
-
}, U.isBefore = function(E,
|
|
234
|
-
return this.endOf(
|
|
235
|
-
}, U.$g = function(E,
|
|
236
|
-
return
|
|
230
|
+
return this.startOf(D) <= T && T <= this.endOf(D);
|
|
231
|
+
}, U.isAfter = function(E, D) {
|
|
232
|
+
return Q(E) < this.startOf(D);
|
|
233
|
+
}, U.isBefore = function(E, D) {
|
|
234
|
+
return this.endOf(D) < Q(E);
|
|
235
|
+
}, U.$g = function(E, D, T) {
|
|
236
|
+
return P.u(E) ? this[D] : this.set(T, E);
|
|
237
237
|
}, U.unix = function() {
|
|
238
238
|
return Math.floor(this.valueOf() / 1e3);
|
|
239
239
|
}, U.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
|
-
}, U.startOf = function(E,
|
|
242
|
-
var T = this, z = !!
|
|
243
|
-
var ie =
|
|
241
|
+
}, U.startOf = function(E, D) {
|
|
242
|
+
var T = this, z = !!P.u(D) || D, y = P.p(E), C = function(X, F) {
|
|
243
|
+
var ie = P.w(T.$u ? Date.UTC(T.$y, F, X) : new Date(T.$y, F, X), T);
|
|
244
244
|
return z ? ie : ie.endOf(l);
|
|
245
245
|
}, k = function(X, F) {
|
|
246
|
-
return
|
|
246
|
+
return P.w(T.toDate()[X].apply(T.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), T);
|
|
247
247
|
}, j = this.$W, L = this.$M, G = this.$D, H = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (y) {
|
|
249
249
|
case w:
|
|
@@ -251,8 +251,8 @@ function Pr() {
|
|
|
251
251
|
case h:
|
|
252
252
|
return z ? C(1, L) : C(0, L + 1);
|
|
253
253
|
case u:
|
|
254
|
-
var V = this.$locale().weekStart || 0,
|
|
255
|
-
return C(z ? G -
|
|
254
|
+
var V = this.$locale().weekStart || 0, Z = (j < V ? j + 7 : j) - V;
|
|
255
|
+
return C(z ? G - Z : G + (6 - Z), L);
|
|
256
256
|
case l:
|
|
257
257
|
case g:
|
|
258
258
|
return k(H + "Hours", 0);
|
|
@@ -267,39 +267,39 @@ function Pr() {
|
|
|
267
267
|
}
|
|
268
268
|
}, U.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
|
-
}, U.$set = function(E,
|
|
271
|
-
var T, z =
|
|
270
|
+
}, U.$set = function(E, D) {
|
|
271
|
+
var T, z = P.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[w] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[z], k = z === l ? this.$D + (D - this.$W) : D;
|
|
272
272
|
if (z === h || z === w) {
|
|
273
273
|
var j = this.clone().set(g, 1);
|
|
274
274
|
j.$d[C](k), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
275
275
|
} else C && this.$d[C](k);
|
|
276
276
|
return this.init(), this;
|
|
277
|
-
}, U.set = function(E,
|
|
278
|
-
return this.clone().$set(E,
|
|
277
|
+
}, U.set = function(E, D) {
|
|
278
|
+
return this.clone().$set(E, D);
|
|
279
279
|
}, U.get = function(E) {
|
|
280
|
-
return this[
|
|
281
|
-
}, U.add = function(E,
|
|
280
|
+
return this[P.p(E)]();
|
|
281
|
+
}, U.add = function(E, D) {
|
|
282
282
|
var T, z = this;
|
|
283
283
|
E = Number(E);
|
|
284
|
-
var y =
|
|
284
|
+
var y = P.p(D), C = function(L) {
|
|
285
285
|
var G = Q(z);
|
|
286
|
-
return
|
|
286
|
+
return P.w(G.date(G.date() + Math.round(L * E)), z);
|
|
287
287
|
};
|
|
288
288
|
if (y === h) return this.set(h, this.$M + E);
|
|
289
289
|
if (y === w) return this.set(w, this.$y + E);
|
|
290
290
|
if (y === l) return C(1);
|
|
291
291
|
if (y === u) return C(7);
|
|
292
292
|
var k = (T = {}, T[c] = r, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + E * k;
|
|
293
|
-
return
|
|
294
|
-
}, U.subtract = function(E,
|
|
295
|
-
return this.add(-1 * E,
|
|
293
|
+
return P.w(j, this);
|
|
294
|
+
}, U.subtract = function(E, D) {
|
|
295
|
+
return this.add(-1 * E, D);
|
|
296
296
|
}, U.format = function(E) {
|
|
297
|
-
var
|
|
297
|
+
var D = this, T = this.$locale();
|
|
298
298
|
if (!this.isValid()) return T.invalidDate || p;
|
|
299
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y =
|
|
300
|
-
return F && (F[ie] || F(
|
|
301
|
-
},
|
|
302
|
-
return
|
|
299
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), C = this.$H, k = this.$m, j = this.$M, L = T.weekdays, G = T.months, H = T.meridiem, V = function(F, ie, q, Ae) {
|
|
300
|
+
return F && (F[ie] || F(D, z)) || q[ie].slice(0, Ae);
|
|
301
|
+
}, Z = function(F) {
|
|
302
|
+
return P.s(C % 12 || 12, F, "0");
|
|
303
303
|
}, X = H || function(F, ie, q) {
|
|
304
304
|
var Ae = F < 12 ? "AM" : "PM";
|
|
305
305
|
return q ? Ae.toLowerCase() : Ae;
|
|
@@ -308,37 +308,37 @@ function Pr() {
|
|
|
308
308
|
return ie || (function(q) {
|
|
309
309
|
switch (q) {
|
|
310
310
|
case "YY":
|
|
311
|
-
return String(
|
|
311
|
+
return String(D.$y).slice(-2);
|
|
312
312
|
case "YYYY":
|
|
313
|
-
return
|
|
313
|
+
return P.s(D.$y, 4, "0");
|
|
314
314
|
case "M":
|
|
315
315
|
return j + 1;
|
|
316
316
|
case "MM":
|
|
317
|
-
return
|
|
317
|
+
return P.s(j + 1, 2, "0");
|
|
318
318
|
case "MMM":
|
|
319
319
|
return V(T.monthsShort, j, G, 3);
|
|
320
320
|
case "MMMM":
|
|
321
321
|
return V(G, j);
|
|
322
322
|
case "D":
|
|
323
|
-
return
|
|
323
|
+
return D.$D;
|
|
324
324
|
case "DD":
|
|
325
|
-
return
|
|
325
|
+
return P.s(D.$D, 2, "0");
|
|
326
326
|
case "d":
|
|
327
|
-
return String(
|
|
327
|
+
return String(D.$W);
|
|
328
328
|
case "dd":
|
|
329
|
-
return V(T.weekdaysMin,
|
|
329
|
+
return V(T.weekdaysMin, D.$W, L, 2);
|
|
330
330
|
case "ddd":
|
|
331
|
-
return V(T.weekdaysShort,
|
|
331
|
+
return V(T.weekdaysShort, D.$W, L, 3);
|
|
332
332
|
case "dddd":
|
|
333
|
-
return L[
|
|
333
|
+
return L[D.$W];
|
|
334
334
|
case "H":
|
|
335
335
|
return String(C);
|
|
336
336
|
case "HH":
|
|
337
|
-
return
|
|
337
|
+
return P.s(C, 2, "0");
|
|
338
338
|
case "h":
|
|
339
|
-
return
|
|
339
|
+
return Z(1);
|
|
340
340
|
case "hh":
|
|
341
|
-
return
|
|
341
|
+
return Z(2);
|
|
342
342
|
case "a":
|
|
343
343
|
return X(C, k, !0);
|
|
344
344
|
case "A":
|
|
@@ -346,13 +346,13 @@ function Pr() {
|
|
|
346
346
|
case "m":
|
|
347
347
|
return String(k);
|
|
348
348
|
case "mm":
|
|
349
|
-
return
|
|
349
|
+
return P.s(k, 2, "0");
|
|
350
350
|
case "s":
|
|
351
|
-
return String(
|
|
351
|
+
return String(D.$s);
|
|
352
352
|
case "ss":
|
|
353
|
-
return
|
|
353
|
+
return P.s(D.$s, 2, "0");
|
|
354
354
|
case "SSS":
|
|
355
|
-
return
|
|
355
|
+
return P.s(D.$ms, 3, "0");
|
|
356
356
|
case "Z":
|
|
357
357
|
return y;
|
|
358
358
|
}
|
|
@@ -361,9 +361,9 @@ function Pr() {
|
|
|
361
361
|
}));
|
|
362
362
|
}, U.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
|
-
}, U.diff = function(E,
|
|
365
|
-
var z, y = this, C =
|
|
366
|
-
return
|
|
364
|
+
}, U.diff = function(E, D, T) {
|
|
365
|
+
var z, y = this, C = P.p(D), k = Q(E), j = (k.utcOffset() - this.utcOffset()) * r, L = this - k, G = function() {
|
|
366
|
+
return P.m(y, k);
|
|
367
367
|
};
|
|
368
368
|
switch (C) {
|
|
369
369
|
case w:
|
|
@@ -393,17 +393,17 @@ function Pr() {
|
|
|
393
393
|
default:
|
|
394
394
|
z = L;
|
|
395
395
|
}
|
|
396
|
-
return T ? z :
|
|
396
|
+
return T ? z : P.a(z);
|
|
397
397
|
}, U.daysInMonth = function() {
|
|
398
398
|
return this.endOf(h).$D;
|
|
399
399
|
}, U.$locale = function() {
|
|
400
400
|
return B[this.$L];
|
|
401
|
-
}, U.locale = function(E,
|
|
401
|
+
}, U.locale = function(E, D) {
|
|
402
402
|
if (!E) return this.$L;
|
|
403
|
-
var T = this.clone(), z = te(E,
|
|
403
|
+
var T = this.clone(), z = te(E, D, !0);
|
|
404
404
|
return z && (T.$L = z), T;
|
|
405
405
|
}, U.clone = function() {
|
|
406
|
-
return
|
|
406
|
+
return P.w(this.$d, this);
|
|
407
407
|
}, U.toDate = function() {
|
|
408
408
|
return new Date(this.valueOf());
|
|
409
409
|
}, U.toJSON = function() {
|
|
@@ -426,14 +426,14 @@ function Pr() {
|
|
|
426
426
|
}));
|
|
427
427
|
})(on)), on.exports;
|
|
428
428
|
}
|
|
429
|
-
var
|
|
430
|
-
const Se = /* @__PURE__ */ Ct(
|
|
431
|
-
var sn = { exports: {} },
|
|
432
|
-
function
|
|
429
|
+
var $o = Pr();
|
|
430
|
+
const Se = /* @__PURE__ */ Ct($o);
|
|
431
|
+
var sn = { exports: {} }, Yo = sn.exports, Ra;
|
|
432
|
+
function Ko() {
|
|
433
433
|
return Ra || (Ra = 1, (function(e, t) {
|
|
434
434
|
(function(n, r) {
|
|
435
435
|
e.exports = r();
|
|
436
|
-
})(
|
|
436
|
+
})(Yo, (function() {
|
|
437
437
|
return function(n, r, o) {
|
|
438
438
|
n = n || {};
|
|
439
439
|
var s = r.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -472,14 +472,14 @@ function Yo() {
|
|
|
472
472
|
}));
|
|
473
473
|
})(sn)), sn.exports;
|
|
474
474
|
}
|
|
475
|
-
var
|
|
476
|
-
const
|
|
477
|
-
var cn = { exports: {} },
|
|
478
|
-
function
|
|
475
|
+
var Jo = Ko();
|
|
476
|
+
const Zo = /* @__PURE__ */ Ct(Jo);
|
|
477
|
+
var cn = { exports: {} }, Xo = cn.exports, La;
|
|
478
|
+
function es() {
|
|
479
479
|
return La || (La = 1, (function(e, t) {
|
|
480
480
|
(function(n, r) {
|
|
481
481
|
e.exports = r(Pr());
|
|
482
|
-
})(
|
|
482
|
+
})(Xo, (function(n) {
|
|
483
483
|
function r(i) {
|
|
484
484
|
return i && typeof i == "object" && "default" in i ? i : { default: i };
|
|
485
485
|
}
|
|
@@ -490,13 +490,13 @@ function Xo() {
|
|
|
490
490
|
}));
|
|
491
491
|
})(cn)), cn.exports;
|
|
492
492
|
}
|
|
493
|
-
|
|
494
|
-
var ln = { exports: {} },
|
|
495
|
-
function
|
|
493
|
+
es();
|
|
494
|
+
var ln = { exports: {} }, ts = ln.exports, Ba;
|
|
495
|
+
function ns() {
|
|
496
496
|
return Ba || (Ba = 1, (function(e, t) {
|
|
497
497
|
(function(n, r) {
|
|
498
498
|
e.exports = r();
|
|
499
|
-
})(
|
|
499
|
+
})(ts, (function() {
|
|
500
500
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
|
|
501
501
|
return function(s, i, c) {
|
|
502
502
|
var d = i.prototype;
|
|
@@ -566,14 +566,14 @@ function ts() {
|
|
|
566
566
|
}));
|
|
567
567
|
})(ln)), ln.exports;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
const
|
|
571
|
-
var dn = { exports: {} },
|
|
572
|
-
function
|
|
569
|
+
var as = ns();
|
|
570
|
+
const rs = /* @__PURE__ */ Ct(as);
|
|
571
|
+
var dn = { exports: {} }, os = dn.exports, Oa;
|
|
572
|
+
function ss() {
|
|
573
573
|
return Oa || (Oa = 1, (function(e, t) {
|
|
574
574
|
(function(n, r) {
|
|
575
575
|
e.exports = r();
|
|
576
|
-
})(
|
|
576
|
+
})(os, (function() {
|
|
577
577
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
|
|
578
578
|
return function(o, s, i) {
|
|
579
579
|
var c, d = function(f, w, g) {
|
|
@@ -618,8 +618,8 @@ function os() {
|
|
|
618
618
|
var S = (function(B, R, Y) {
|
|
619
619
|
var te = B - 60 * R * 1e3, Q = l(te, Y);
|
|
620
620
|
if (R === Q) return [te, R];
|
|
621
|
-
var
|
|
622
|
-
return Q ===
|
|
621
|
+
var P = l(te -= 60 * (Q - R) * 1e3, Y);
|
|
622
|
+
return Q === P ? [te, Q] : [B - 60 * Math.min(Q, P) * 1e3, Math.max(Q, P)];
|
|
623
623
|
})(i.utc(f, p).valueOf(), _, A), N = S[0], x = S[1], v = i(N).utcOffset(x);
|
|
624
624
|
return v.$x.$timezone = A, v;
|
|
625
625
|
}, i.tz.guess = function() {
|
|
@@ -631,30 +631,30 @@ function os() {
|
|
|
631
631
|
}));
|
|
632
632
|
})(dn)), dn.exports;
|
|
633
633
|
}
|
|
634
|
-
var
|
|
635
|
-
const
|
|
636
|
-
Se.extend(
|
|
637
|
-
Se.extend(
|
|
638
|
-
Se.extend(
|
|
634
|
+
var is = ss();
|
|
635
|
+
const cs = /* @__PURE__ */ Ct(is);
|
|
636
|
+
Se.extend(rs);
|
|
637
|
+
Se.extend(cs);
|
|
638
|
+
Se.extend(Zo);
|
|
639
639
|
const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
|
|
640
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
640
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
641
641
|
return Se.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
642
642
|
}, Dr = (e) => {
|
|
643
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
643
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
644
644
|
return Se.tz(e, n).locale(r).format(
|
|
645
645
|
r === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
646
646
|
);
|
|
647
|
-
},
|
|
648
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
647
|
+
}, ls = (e) => {
|
|
648
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
649
649
|
return Se.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
650
650
|
}, A9 = (e) => {
|
|
651
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
651
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
652
652
|
return Se.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
|
|
653
653
|
}, je = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
654
|
-
function
|
|
654
|
+
function ds(e) {
|
|
655
655
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function us(e) {
|
|
658
658
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
659
659
|
}
|
|
660
660
|
const Dt = (e, t, n) => ({
|
|
@@ -707,14 +707,14 @@ function w9(e) {
|
|
|
707
707
|
return t;
|
|
708
708
|
}
|
|
709
709
|
const pn = () => {
|
|
710
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } =
|
|
710
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = J();
|
|
711
711
|
return e == "local" ? t : n !== "false" && n !== "false" ? n : "";
|
|
712
|
-
},
|
|
713
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
712
|
+
}, hs = () => {
|
|
713
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = J();
|
|
714
714
|
return e === "local" ? t : "";
|
|
715
|
-
},
|
|
715
|
+
}, ms = (e, t) => {
|
|
716
716
|
if (!e) return {};
|
|
717
|
-
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } =
|
|
717
|
+
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = J(), o = Mr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
|
|
718
718
|
return {
|
|
719
719
|
title: (e?.main?.title?.seo ?? e?.main?.title?.article) + " | " + t.name,
|
|
720
720
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -755,10 +755,10 @@ const pn = () => {
|
|
|
755
755
|
]
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
|
-
}, Mr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"),
|
|
758
|
+
}, Mr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"), fs = (e) => {
|
|
759
759
|
const t = e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);
|
|
760
760
|
return t ? { slug: t[1] ?? "", path: t[2] ?? "" } : { slug: "", path: "" };
|
|
761
|
-
},
|
|
761
|
+
}, gs = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""), ps = {
|
|
762
762
|
description: { attr: "name", value: "description" },
|
|
763
763
|
robots: { attr: "name", value: "robots" },
|
|
764
764
|
keywords: { attr: "name", value: "keywords" },
|
|
@@ -773,11 +773,11 @@ const pn = () => {
|
|
|
773
773
|
"twitter.description": { attr: "name", value: "twitter:description" },
|
|
774
774
|
"twitter.site": { attr: "name", value: "twitter:site" },
|
|
775
775
|
"twitter.creator": { attr: "name", value: "twitter:creator" }
|
|
776
|
-
},
|
|
776
|
+
}, As = (e) => {
|
|
777
777
|
const t = [];
|
|
778
778
|
let n = 0;
|
|
779
779
|
const r = (i) => t.push(i);
|
|
780
|
-
return e.title && typeof e.title == "string" && r(/* @__PURE__ */ a("title", { children: e.title }, `title-${n++}`)), Object.entries(
|
|
780
|
+
return e.title && typeof e.title == "string" && r(/* @__PURE__ */ a("title", { children: e.title }, `title-${n++}`)), Object.entries(ps).forEach(([i, c]) => {
|
|
781
781
|
const d = i.split(".").reduce((l, u) => l?.[u], e);
|
|
782
782
|
d && r(
|
|
783
783
|
/* @__PURE__ */ a(
|
|
@@ -917,7 +917,7 @@ const pn = () => {
|
|
|
917
917
|
i
|
|
918
918
|
);
|
|
919
919
|
}) });
|
|
920
|
-
},
|
|
920
|
+
}, ws = (e) => {
|
|
921
921
|
const t = e.banners.find((o) => o.key === e.name);
|
|
922
922
|
if (!t || !t.show) return null;
|
|
923
923
|
const r = fa(t.value || "", e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);
|
|
@@ -958,24 +958,24 @@ function y9(e) {
|
|
|
958
958
|
const t = e.length;
|
|
959
959
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
960
960
|
}
|
|
961
|
-
const
|
|
962
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
961
|
+
const ys = () => {
|
|
962
|
+
const { PUBLIC_ASSETS_URL: e } = J();
|
|
963
963
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
964
|
-
}, { PUBLIC_ASSETS_URL: qn } =
|
|
964
|
+
}, { PUBLIC_ASSETS_URL: qn } = J(), vs = qn && qn !== "false" ? qn : "", Pa = ({ images: e }) => /* @__PURE__ */ a(K, { children: e.map(
|
|
965
965
|
(t, n) => t.href !== "" && /* @__PURE__ */ a(
|
|
966
966
|
"link",
|
|
967
967
|
{
|
|
968
968
|
rel: "preload",
|
|
969
|
-
href:
|
|
969
|
+
href: vs + t.href,
|
|
970
970
|
media: t.media ?? "",
|
|
971
971
|
as: "image",
|
|
972
972
|
fetchPriority: t.fetchPriority ?? "high"
|
|
973
973
|
},
|
|
974
974
|
n
|
|
975
975
|
)
|
|
976
|
-
) }),
|
|
976
|
+
) }), bs = (e, t) => {
|
|
977
977
|
if (!e) return {};
|
|
978
|
-
const { PUBLIC_API_FRONT: n } =
|
|
978
|
+
const { PUBLIC_API_FRONT: n } = J();
|
|
979
979
|
return {
|
|
980
980
|
title: e?.main?.title + " | " + t.name,
|
|
981
981
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1043,7 +1043,7 @@ function b9(e) {
|
|
|
1043
1043
|
vf: (d) => `/videos/video-flash/${Se(s).format("YYYY/MM/DD")}/${t[0]}.${d}`
|
|
1044
1044
|
}[o]?.(i) ?? "", op: o };
|
|
1045
1045
|
}
|
|
1046
|
-
const
|
|
1046
|
+
const Qr = (e, t) => {
|
|
1047
1047
|
const n = e.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
|
|
1048
1048
|
return t.tema ? `/${t.tema}/${n}-t${e.id}` : `/${n}-t${e.id}`;
|
|
1049
1049
|
}, C9 = (e) => {
|
|
@@ -1087,7 +1087,7 @@ const bs = (e, t) => {
|
|
|
1087
1087
|
pathname: n,
|
|
1088
1088
|
ROUTE: r
|
|
1089
1089
|
}) => {
|
|
1090
|
-
const { PUBLIC_PUBLICATION_ID: o = "" } =
|
|
1090
|
+
const { PUBLIC_PUBLICATION_ID: o = "" } = J();
|
|
1091
1091
|
let s = [];
|
|
1092
1092
|
const i = n === "/" || n === "/index.html" ? void 0 : Rs(Ls[r]({ pathname: n, config: e })), c = Es[r] ?? void 0, d = {
|
|
1093
1093
|
newstype: e.newsType,
|
|
@@ -1114,8 +1114,8 @@ const bs = (e, t) => {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
);
|
|
1116
1116
|
};
|
|
1117
|
-
function
|
|
1118
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1117
|
+
function Gr(e) {
|
|
1118
|
+
const { PUBLIC_ASSETS_URL: t } = J();
|
|
1119
1119
|
if (!t || t === "false") return e;
|
|
1120
1120
|
const n = t.replace(/\/+$/, ""), r = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1121
1121
|
return e.replace(r, (o, s) => `${n}/${s}/`);
|
|
@@ -1126,7 +1126,7 @@ const Ts = async ({
|
|
|
1126
1126
|
BASE_URL: n,
|
|
1127
1127
|
axiosApi: r
|
|
1128
1128
|
}) => {
|
|
1129
|
-
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } =
|
|
1129
|
+
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } = J();
|
|
1130
1130
|
let i = [];
|
|
1131
1131
|
try {
|
|
1132
1132
|
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 = {
|
|
@@ -1153,7 +1153,7 @@ const Ts = async ({
|
|
|
1153
1153
|
{
|
|
1154
1154
|
type: "application/ld+json",
|
|
1155
1155
|
dangerouslySetInnerHTML: {
|
|
1156
|
-
__html:
|
|
1156
|
+
__html: Gr(JSON.stringify(c))
|
|
1157
1157
|
}
|
|
1158
1158
|
},
|
|
1159
1159
|
d
|
|
@@ -1213,7 +1213,7 @@ const Ts = async ({
|
|
|
1213
1213
|
"script",
|
|
1214
1214
|
{
|
|
1215
1215
|
type: "application/ld+json",
|
|
1216
|
-
dangerouslySetInnerHTML: { __html:
|
|
1216
|
+
dangerouslySetInnerHTML: { __html: Gr(JSON.stringify(s)) }
|
|
1217
1217
|
}
|
|
1218
1218
|
) : void 0;
|
|
1219
1219
|
} catch (r) {
|
|
@@ -1248,7 +1248,7 @@ const Ts = async ({
|
|
|
1248
1248
|
href: `https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=swap`
|
|
1249
1249
|
}
|
|
1250
1250
|
) });
|
|
1251
|
-
},
|
|
1251
|
+
}, zr = {
|
|
1252
1252
|
404: () => {
|
|
1253
1253
|
},
|
|
1254
1254
|
home: () => ({
|
|
@@ -1267,7 +1267,7 @@ const Ts = async ({
|
|
|
1267
1267
|
"[author_replace]": e.currentNew?.authors[0]?.name ?? "",
|
|
1268
1268
|
"[section_replace]": e.currentNew?.info?.section?.slug ?? "",
|
|
1269
1269
|
"[tag_replace]": Mr(e.currentNew?.keywords),
|
|
1270
|
-
"[url_replace]":
|
|
1270
|
+
"[url_replace]": gs(e.internalPath ?? "")
|
|
1271
1271
|
}),
|
|
1272
1272
|
seccion: (e) => ({
|
|
1273
1273
|
"[author_replace]": "",
|
|
@@ -1337,7 +1337,7 @@ const Ts = async ({
|
|
|
1337
1337
|
404: () => "404",
|
|
1338
1338
|
home: () => "home",
|
|
1339
1339
|
slug: (e) => e.pathname.replace("/", ""),
|
|
1340
|
-
news: (e) =>
|
|
1340
|
+
news: (e) => fs(e.pathname)?.slug,
|
|
1341
1341
|
seccion: (e) => e.pathname.split("/seccion/")[1] ?? "",
|
|
1342
1342
|
tema: (e) => e.pathname.split("/tema/")[1] ?? "",
|
|
1343
1343
|
pages: (e) => e.pathname.split("/pages/")[1] ?? "",
|
|
@@ -1485,28 +1485,28 @@ class N9 {
|
|
|
1485
1485
|
};
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function Hr(e, t) {
|
|
1489
1489
|
return function() {
|
|
1490
1490
|
return e.apply(t, arguments);
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
|
-
const { toString: Bs } = Object.prototype, { getPrototypeOf: pa } = Object, { iterator: Nn, toStringTag:
|
|
1493
|
+
const { toString: Bs } = Object.prototype, { getPrototypeOf: pa } = Object, { iterator: Nn, toStringTag: Vr } = Symbol, Sn = /* @__PURE__ */ ((e) => (t) => {
|
|
1494
1494
|
const n = Bs.call(t);
|
|
1495
1495
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1496
1496
|
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => Sn(t) === e), En = (e) => (t) => typeof t === e, { isArray: _t } = Array, yt = En("undefined");
|
|
1497
1497
|
function jt(e) {
|
|
1498
1498
|
return e !== null && !yt(e) && e.constructor !== null && !yt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1499
1499
|
}
|
|
1500
|
-
const
|
|
1500
|
+
const Fr = Be("ArrayBuffer");
|
|
1501
1501
|
function Os(e) {
|
|
1502
1502
|
let t;
|
|
1503
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
1503
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Fr(e.buffer), t;
|
|
1504
1504
|
}
|
|
1505
|
-
const Ps = En("string"), Ce = En("function"),
|
|
1505
|
+
const Ps = En("string"), Ce = En("function"), Wr = En("number"), Qt = (e) => e !== null && typeof e == "object", Ds = (e) => e === !0 || e === !1, un = (e) => {
|
|
1506
1506
|
if (Sn(e) !== "object")
|
|
1507
1507
|
return !1;
|
|
1508
1508
|
const t = pa(e);
|
|
1509
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
1509
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Vr in e) && !(Nn in e);
|
|
1510
1510
|
}, Ms = (e) => {
|
|
1511
1511
|
if (!Qt(e) || jt(e))
|
|
1512
1512
|
return !1;
|
|
@@ -1536,7 +1536,7 @@ function Gt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
1536
1536
|
c = s[r], t.call(null, e[c], c, e);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function $r(e, t) {
|
|
1540
1540
|
if (jt(e))
|
|
1541
1541
|
return null;
|
|
1542
1542
|
t = t.toLowerCase();
|
|
@@ -1547,10 +1547,10 @@ function Wr(e, t) {
|
|
|
1547
1547
|
return o;
|
|
1548
1548
|
return null;
|
|
1549
1549
|
}
|
|
1550
|
-
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
1550
|
+
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yr = (e) => !yt(e) && e !== ct;
|
|
1551
1551
|
function ta() {
|
|
1552
|
-
const { caseless: e, skipUndefined: t } =
|
|
1553
|
-
const i = e &&
|
|
1552
|
+
const { caseless: e, skipUndefined: t } = Yr(this) && this || {}, n = {}, r = (o, s) => {
|
|
1553
|
+
const i = e && $r(n, s) || s;
|
|
1554
1554
|
un(n[i]) && un(o) ? n[i] = ta(n[i], o) : un(o) ? n[i] = ta({}, o) : _t(o) ? n[i] = o.slice() : (!t || !yt(o)) && (n[i] = o);
|
|
1555
1555
|
};
|
|
1556
1556
|
for (let o = 0, s = arguments.length; o < s; o++)
|
|
@@ -1558,7 +1558,7 @@ function ta() {
|
|
|
1558
1558
|
return n;
|
|
1559
1559
|
}
|
|
1560
1560
|
const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
1561
|
-
n && Ce(o) ? e[s] =
|
|
1561
|
+
n && Ce(o) ? e[s] = Hr(o, n) : e[s] = o;
|
|
1562
1562
|
}, { allOwnKeys: r }), e), Xs = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ei = (e, t, n, r) => {
|
|
1563
1563
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
1564
1564
|
value: t.prototype
|
|
@@ -1581,7 +1581,7 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1581
1581
|
if (!e) return null;
|
|
1582
1582
|
if (_t(e)) return e;
|
|
1583
1583
|
let t = e.length;
|
|
1584
|
-
if (!
|
|
1584
|
+
if (!Wr(t)) return null;
|
|
1585
1585
|
const n = new Array(t);
|
|
1586
1586
|
for (; t-- > 0; )
|
|
1587
1587
|
n[t] = e[t];
|
|
@@ -1604,14 +1604,14 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1604
1604
|
function(n, r, o) {
|
|
1605
1605
|
return r.toUpperCase() + o;
|
|
1606
1606
|
}
|
|
1607
|
-
), Da = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), li = Be("RegExp"),
|
|
1607
|
+
), Da = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), li = Be("RegExp"), Kr = (e, t) => {
|
|
1608
1608
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
1609
1609
|
Gt(n, (o, s) => {
|
|
1610
1610
|
let i;
|
|
1611
1611
|
(i = t(o, s, e)) !== !1 && (r[s] = i || o);
|
|
1612
1612
|
}), Object.defineProperties(e, r);
|
|
1613
1613
|
}, di = (e) => {
|
|
1614
|
-
|
|
1614
|
+
Kr(e, (t, n) => {
|
|
1615
1615
|
if (Ce(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1616
1616
|
return !1;
|
|
1617
1617
|
const r = e[n];
|
|
@@ -1635,7 +1635,7 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1635
1635
|
}, hi = () => {
|
|
1636
1636
|
}, mi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
1637
1637
|
function fi(e) {
|
|
1638
|
-
return !!(e && Ce(e.append) && e[
|
|
1638
|
+
return !!(e && Ce(e.append) && e[Vr] === "FormData" && e[Nn]);
|
|
1639
1639
|
}
|
|
1640
1640
|
const gi = (e) => {
|
|
1641
1641
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -1656,21 +1656,21 @@ const gi = (e) => {
|
|
|
1656
1656
|
return r;
|
|
1657
1657
|
};
|
|
1658
1658
|
return n(e, 0);
|
|
1659
|
-
}, pi = Be("AsyncFunction"), Ai = (e) => e && (Qt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch),
|
|
1659
|
+
}, pi = Be("AsyncFunction"), Ai = (e) => e && (Qt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Jr = ((e, t) => e ? setImmediate : t ? ((n, r) => (ct.addEventListener("message", ({ source: o, data: s }) => {
|
|
1660
1660
|
o === ct && s === n && r.length && r.shift()();
|
|
1661
1661
|
}, !1), (o) => {
|
|
1662
1662
|
r.push(o), ct.postMessage(n, "*");
|
|
1663
1663
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1664
1664
|
typeof setImmediate == "function",
|
|
1665
1665
|
Ce(ct.postMessage)
|
|
1666
|
-
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick ||
|
|
1666
|
+
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick || Jr, yi = (e) => e != null && Ce(e[Nn]), b = {
|
|
1667
1667
|
isArray: _t,
|
|
1668
|
-
isArrayBuffer:
|
|
1668
|
+
isArrayBuffer: Fr,
|
|
1669
1669
|
isBuffer: jt,
|
|
1670
1670
|
isFormData: Vs,
|
|
1671
1671
|
isArrayBufferView: Os,
|
|
1672
1672
|
isString: Ps,
|
|
1673
|
-
isNumber:
|
|
1673
|
+
isNumber: Wr,
|
|
1674
1674
|
isBoolean: Ds,
|
|
1675
1675
|
isObject: Qt,
|
|
1676
1676
|
isPlainObject: un,
|
|
@@ -1706,20 +1706,20 @@ const gi = (e) => {
|
|
|
1706
1706
|
hasOwnProperty: Da,
|
|
1707
1707
|
hasOwnProp: Da,
|
|
1708
1708
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1709
|
-
reduceDescriptors:
|
|
1709
|
+
reduceDescriptors: Kr,
|
|
1710
1710
|
freezeMethods: di,
|
|
1711
1711
|
toObjectSet: ui,
|
|
1712
1712
|
toCamelCase: ci,
|
|
1713
1713
|
noop: hi,
|
|
1714
1714
|
toFiniteNumber: mi,
|
|
1715
|
-
findKey:
|
|
1715
|
+
findKey: $r,
|
|
1716
1716
|
global: ct,
|
|
1717
|
-
isContextDefined:
|
|
1717
|
+
isContextDefined: Yr,
|
|
1718
1718
|
isSpecCompliantForm: fi,
|
|
1719
1719
|
toJSONObject: gi,
|
|
1720
1720
|
isAsyncFn: pi,
|
|
1721
1721
|
isThenable: Ai,
|
|
1722
|
-
setImmediate:
|
|
1722
|
+
setImmediate: Jr,
|
|
1723
1723
|
asap: wi,
|
|
1724
1724
|
isIterable: yi
|
|
1725
1725
|
};
|
|
@@ -1747,7 +1747,7 @@ b.inherits(W, Error, {
|
|
|
1747
1747
|
};
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
|
-
const
|
|
1750
|
+
const Zr = W.prototype, Xr = {};
|
|
1751
1751
|
[
|
|
1752
1752
|
"ERR_BAD_OPTION_VALUE",
|
|
1753
1753
|
"ERR_BAD_OPTION",
|
|
@@ -1763,12 +1763,12 @@ const Jr = W.prototype, Zr = {};
|
|
|
1763
1763
|
"ERR_INVALID_URL"
|
|
1764
1764
|
// eslint-disable-next-line func-names
|
|
1765
1765
|
].forEach((e) => {
|
|
1766
|
-
|
|
1766
|
+
Xr[e] = { value: e };
|
|
1767
1767
|
});
|
|
1768
|
-
Object.defineProperties(W,
|
|
1769
|
-
Object.defineProperty(
|
|
1768
|
+
Object.defineProperties(W, Xr);
|
|
1769
|
+
Object.defineProperty(Zr, "isAxiosError", { value: !0 });
|
|
1770
1770
|
W.from = (e, t, n, r, o, s) => {
|
|
1771
|
-
const i = Object.create(
|
|
1771
|
+
const i = Object.create(Zr);
|
|
1772
1772
|
b.toFlatObject(e, i, function(u) {
|
|
1773
1773
|
return u !== Error.prototype;
|
|
1774
1774
|
}, (l) => l !== "isAxiosError");
|
|
@@ -1779,12 +1779,12 @@ const vi = null;
|
|
|
1779
1779
|
function na(e) {
|
|
1780
1780
|
return b.isPlainObject(e) || b.isArray(e);
|
|
1781
1781
|
}
|
|
1782
|
-
function
|
|
1782
|
+
function eo(e) {
|
|
1783
1783
|
return b.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
1784
1784
|
}
|
|
1785
1785
|
function Ma(e, t, n) {
|
|
1786
1786
|
return e ? e.concat(t).map(function(o, s) {
|
|
1787
|
-
return o =
|
|
1787
|
+
return o = eo(o), !n && s ? "[" + o + "]" : o;
|
|
1788
1788
|
}).join(n ? "." : "") : t;
|
|
1789
1789
|
}
|
|
1790
1790
|
function bi(e) {
|
|
@@ -1822,7 +1822,7 @@ function xn(e, t, n) {
|
|
|
1822
1822
|
if (b.endsWith(p, "{}"))
|
|
1823
1823
|
p = r ? p : p.slice(0, -2), g = JSON.stringify(g);
|
|
1824
1824
|
else if (b.isArray(g) && bi(g) || (b.isFileList(g) || b.endsWith(p, "[]")) && (_ = b.toArray(g)))
|
|
1825
|
-
return p =
|
|
1825
|
+
return p = eo(p), _.forEach(function(N, x) {
|
|
1826
1826
|
!(b.isUndefined(N) || N === null) && t.append(
|
|
1827
1827
|
// eslint-disable-next-line no-nested-ternary
|
|
1828
1828
|
i === !0 ? Ma([p], x, s) : i === null ? p : p + "[]",
|
|
@@ -1873,11 +1873,11 @@ function ja(e) {
|
|
|
1873
1873
|
function Aa(e, t) {
|
|
1874
1874
|
this._pairs = [], e && xn(e, this, t);
|
|
1875
1875
|
}
|
|
1876
|
-
const
|
|
1877
|
-
|
|
1876
|
+
const to = Aa.prototype;
|
|
1877
|
+
to.append = function(t, n) {
|
|
1878
1878
|
this._pairs.push([t, n]);
|
|
1879
1879
|
};
|
|
1880
|
-
|
|
1880
|
+
to.toString = function(t) {
|
|
1881
1881
|
const n = t ? function(r) {
|
|
1882
1882
|
return t.call(this, r, ja);
|
|
1883
1883
|
} : ja;
|
|
@@ -1888,7 +1888,7 @@ eo.toString = function(t) {
|
|
|
1888
1888
|
function _i(e) {
|
|
1889
1889
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function no(e, t, n) {
|
|
1892
1892
|
if (!t)
|
|
1893
1893
|
return e;
|
|
1894
1894
|
const r = n && n.encode || _i;
|
|
@@ -1957,7 +1957,7 @@ class Qa {
|
|
|
1957
1957
|
});
|
|
1958
1958
|
}
|
|
1959
1959
|
}
|
|
1960
|
-
const
|
|
1960
|
+
const ao = {
|
|
1961
1961
|
silentJSONParsing: !0,
|
|
1962
1962
|
forcedJSONParsing: !0,
|
|
1963
1963
|
clarifyTimeoutError: !1
|
|
@@ -2001,7 +2001,7 @@ function Li(e) {
|
|
|
2001
2001
|
s = n[r], t[s] = e[s];
|
|
2002
2002
|
return t;
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function ro(e) {
|
|
2005
2005
|
function t(n, r, o, s) {
|
|
2006
2006
|
let i = n[s++];
|
|
2007
2007
|
if (i === "__proto__") return !0;
|
|
@@ -2027,12 +2027,12 @@ function Bi(e, t, n) {
|
|
|
2027
2027
|
return (n || JSON.stringify)(e);
|
|
2028
2028
|
}
|
|
2029
2029
|
const zt = {
|
|
2030
|
-
transitional:
|
|
2030
|
+
transitional: ao,
|
|
2031
2031
|
adapter: ["xhr", "http", "fetch"],
|
|
2032
2032
|
transformRequest: [function(t, n) {
|
|
2033
2033
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = b.isObject(t);
|
|
2034
2034
|
if (s && b.isHTMLForm(t) && (t = new FormData(t)), b.isFormData(t))
|
|
2035
|
-
return o ? JSON.stringify(
|
|
2035
|
+
return o ? JSON.stringify(ro(t)) : t;
|
|
2036
2036
|
if (b.isArrayBuffer(t) || b.isBuffer(t) || b.isStream(t) || b.isFile(t) || b.isBlob(t) || b.isReadableStream(t))
|
|
2037
2037
|
return t;
|
|
2038
2038
|
if (b.isArrayBufferView(t))
|
|
@@ -2303,7 +2303,7 @@ function Ln(e, t) {
|
|
|
2303
2303
|
s = c.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
2304
2304
|
}), o.normalize(), s;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function oo(e) {
|
|
2307
2307
|
return !!(e && e.__CANCEL__);
|
|
2308
2308
|
}
|
|
2309
2309
|
function Nt(e, t, n) {
|
|
@@ -2312,7 +2312,7 @@ function Nt(e, t, n) {
|
|
|
2312
2312
|
b.inherits(Nt, W, {
|
|
2313
2313
|
__CANCEL__: !0
|
|
2314
2314
|
});
|
|
2315
|
-
function
|
|
2315
|
+
function so(e, t, n) {
|
|
2316
2316
|
const r = n.config.validateStatus;
|
|
2317
2317
|
!n.status || !r || r(n.status) ? e(n) : t(new W(
|
|
2318
2318
|
"Request failed with status code " + n.status,
|
|
@@ -2418,7 +2418,7 @@ function Wi(e) {
|
|
|
2418
2418
|
function $i(e, t) {
|
|
2419
2419
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function io(e, t, n) {
|
|
2422
2422
|
let r = !Wi(t);
|
|
2423
2423
|
return e && (r || n == !1) ? $i(e, t) : t;
|
|
2424
2424
|
}
|
|
@@ -2487,10 +2487,10 @@ function ut(e, t) {
|
|
|
2487
2487
|
b.isUndefined(f) && h !== c || (n[u] = f);
|
|
2488
2488
|
}), n;
|
|
2489
2489
|
}
|
|
2490
|
-
const
|
|
2490
|
+
const co = (e) => {
|
|
2491
2491
|
const t = ut({}, e);
|
|
2492
2492
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: c } = t;
|
|
2493
|
-
if (t.headers = i = _e.from(i), t.url =
|
|
2493
|
+
if (t.headers = i = _e.from(i), t.url = no(io(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
|
|
2494
2494
|
"Authorization",
|
|
2495
2495
|
"Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
|
|
2496
2496
|
), b.isFormData(n)) {
|
|
@@ -2510,7 +2510,7 @@ const io = (e) => {
|
|
|
2510
2510
|
return t;
|
|
2511
2511
|
}, Yi = typeof XMLHttpRequest < "u", Ki = Yi && function(e) {
|
|
2512
2512
|
return new Promise(function(n, r) {
|
|
2513
|
-
const o =
|
|
2513
|
+
const o = co(e);
|
|
2514
2514
|
let s = o.data;
|
|
2515
2515
|
const i = _e.from(o.headers).normalize();
|
|
2516
2516
|
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, h, f, w, g;
|
|
@@ -2532,7 +2532,7 @@ const io = (e) => {
|
|
|
2532
2532
|
config: e,
|
|
2533
2533
|
request: A
|
|
2534
2534
|
};
|
|
2535
|
-
|
|
2535
|
+
so(function(R) {
|
|
2536
2536
|
n(R), p();
|
|
2537
2537
|
}, function(R) {
|
|
2538
2538
|
r(R), p();
|
|
@@ -2547,7 +2547,7 @@ const io = (e) => {
|
|
|
2547
2547
|
B.event = x || null, r(B), A = null;
|
|
2548
2548
|
}, A.ontimeout = function() {
|
|
2549
2549
|
let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
2550
|
-
const v = o.transitional ||
|
|
2550
|
+
const v = o.transitional || ao;
|
|
2551
2551
|
o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new W(
|
|
2552
2552
|
x,
|
|
2553
2553
|
v.clarifyTimeoutError ? W.ETIMEDOUT : W.ECONNABORTED,
|
|
@@ -2718,7 +2718,7 @@ const io = (e) => {
|
|
|
2718
2718
|
headers: Y,
|
|
2719
2719
|
withCredentials: te = "same-origin",
|
|
2720
2720
|
fetchOptions: Q
|
|
2721
|
-
} =
|
|
2721
|
+
} = co(g), P = t || fetch;
|
|
2722
2722
|
R = R ? (R + "").toLowerCase() : "text";
|
|
2723
2723
|
let ee = Ji([S, N && N.toAbortSignal()], x), ce = null;
|
|
2724
2724
|
const M = ee && ee.unsubscribe && (() => {
|
|
@@ -2741,7 +2741,7 @@ const io = (e) => {
|
|
|
2741
2741
|
}
|
|
2742
2742
|
}
|
|
2743
2743
|
b.isString(te) || (te = te ? "include" : "omit");
|
|
2744
|
-
const E = s && "credentials" in n.prototype,
|
|
2744
|
+
const E = s && "credentials" in n.prototype, D = {
|
|
2745
2745
|
...Q,
|
|
2746
2746
|
signal: ee,
|
|
2747
2747
|
method: A.toUpperCase(),
|
|
@@ -2750,8 +2750,8 @@ const io = (e) => {
|
|
|
2750
2750
|
duplex: "half",
|
|
2751
2751
|
credentials: E ? te : void 0
|
|
2752
2752
|
};
|
|
2753
|
-
ce = s && new n(p,
|
|
2754
|
-
let T = await (s ?
|
|
2753
|
+
ce = s && new n(p, D);
|
|
2754
|
+
let T = await (s ? P(ce, Q) : P(p, D));
|
|
2755
2755
|
const z = u && (R === "stream" || R === "response");
|
|
2756
2756
|
if (u && (v || z && M)) {
|
|
2757
2757
|
const C = {};
|
|
@@ -2772,7 +2772,7 @@ const io = (e) => {
|
|
|
2772
2772
|
R = R || "text";
|
|
2773
2773
|
let y = await h[b.findKey(h, R) || "text"](T, g);
|
|
2774
2774
|
return !z && M && M(), await new Promise((C, k) => {
|
|
2775
|
-
|
|
2775
|
+
so(C, k, {
|
|
2776
2776
|
data: y,
|
|
2777
2777
|
headers: _e.from(T.headers),
|
|
2778
2778
|
status: T.status,
|
|
@@ -2790,7 +2790,7 @@ const io = (e) => {
|
|
|
2790
2790
|
) : W.from(E, E && E.code, g, ce);
|
|
2791
2791
|
}
|
|
2792
2792
|
};
|
|
2793
|
-
}, ac = /* @__PURE__ */ new Map(),
|
|
2793
|
+
}, ac = /* @__PURE__ */ new Map(), lo = (e) => {
|
|
2794
2794
|
let t = e && e.env || {};
|
|
2795
2795
|
const { fetch: n, Request: r, Response: o } = t, s = [
|
|
2796
2796
|
r,
|
|
@@ -2802,12 +2802,12 @@ const io = (e) => {
|
|
|
2802
2802
|
d = s[c], l = u.get(d), l === void 0 && u.set(d, l = c ? /* @__PURE__ */ new Map() : nc(t)), u = l;
|
|
2803
2803
|
return l;
|
|
2804
2804
|
};
|
|
2805
|
-
|
|
2805
|
+
lo();
|
|
2806
2806
|
const ya = {
|
|
2807
2807
|
http: vi,
|
|
2808
2808
|
xhr: Ki,
|
|
2809
2809
|
fetch: {
|
|
2810
|
-
get:
|
|
2810
|
+
get: lo
|
|
2811
2811
|
}
|
|
2812
2812
|
};
|
|
2813
2813
|
b.forEach(ya, (e, t) => {
|
|
@@ -2848,7 +2848,7 @@ function oc(e, t) {
|
|
|
2848
2848
|
}
|
|
2849
2849
|
return o;
|
|
2850
2850
|
}
|
|
2851
|
-
const
|
|
2851
|
+
const uo = {
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Resolve an adapter from a list of adapter names or functions.
|
|
2854
2854
|
* @type {Function}
|
|
@@ -2868,21 +2868,21 @@ function Za(e) {
|
|
|
2868
2868
|
return Bn(e), e.headers = _e.from(e.headers), e.data = Ln.call(
|
|
2869
2869
|
e,
|
|
2870
2870
|
e.transformRequest
|
|
2871
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
2871
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), uo.getAdapter(e.adapter || zt.adapter, e)(e).then(function(r) {
|
|
2872
2872
|
return Bn(e), r.data = Ln.call(
|
|
2873
2873
|
e,
|
|
2874
2874
|
e.transformResponse,
|
|
2875
2875
|
r
|
|
2876
2876
|
), r.headers = _e.from(r.headers), r;
|
|
2877
2877
|
}, function(r) {
|
|
2878
|
-
return
|
|
2878
|
+
return oo(r) || (Bn(e), r && r.response && (r.response.data = Ln.call(
|
|
2879
2879
|
e,
|
|
2880
2880
|
e.transformResponse,
|
|
2881
2881
|
r.response
|
|
2882
2882
|
), r.response.headers = _e.from(r.response.headers))), Promise.reject(r);
|
|
2883
2883
|
});
|
|
2884
2884
|
}
|
|
2885
|
-
const
|
|
2885
|
+
const ho = "1.13.2", Tn = {};
|
|
2886
2886
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2887
2887
|
Tn[e] = function(r) {
|
|
2888
2888
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -2891,7 +2891,7 @@ const uo = "1.13.2", Tn = {};
|
|
|
2891
2891
|
const Xa = {};
|
|
2892
2892
|
Tn.transitional = function(t, n, r) {
|
|
2893
2893
|
function o(s, i) {
|
|
2894
|
-
return "[Axios v" +
|
|
2894
|
+
return "[Axios v" + ho + "] Transitional option '" + s + "'" + i + (r ? ". " + r : "");
|
|
2895
2895
|
}
|
|
2896
2896
|
return (s, i, c) => {
|
|
2897
2897
|
if (t === !1)
|
|
@@ -3027,8 +3027,8 @@ let lt = class {
|
|
|
3027
3027
|
}
|
|
3028
3028
|
getUri(t) {
|
|
3029
3029
|
t = ut(this.defaults, t);
|
|
3030
|
-
const n =
|
|
3031
|
-
return
|
|
3030
|
+
const n = io(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
3031
|
+
return no(n, t.params, t.paramsSerializer);
|
|
3032
3032
|
}
|
|
3033
3033
|
};
|
|
3034
3034
|
b.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -3055,7 +3055,7 @@ b.forEach(["post", "put", "patch"], function(t) {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
lt.prototype[t] = n(), lt.prototype[t + "Form"] = n(!0);
|
|
3057
3057
|
});
|
|
3058
|
-
let ic = class
|
|
3058
|
+
let ic = class mo {
|
|
3059
3059
|
constructor(t) {
|
|
3060
3060
|
if (typeof t != "function")
|
|
3061
3061
|
throw new TypeError("executor must be a function.");
|
|
@@ -3121,7 +3121,7 @@ let ic = class ho {
|
|
|
3121
3121
|
static source() {
|
|
3122
3122
|
let t;
|
|
3123
3123
|
return {
|
|
3124
|
-
token: new
|
|
3124
|
+
token: new mo(function(o) {
|
|
3125
3125
|
t = o;
|
|
3126
3126
|
}),
|
|
3127
3127
|
cancel: t
|
|
@@ -3210,32 +3210,32 @@ const ra = {
|
|
|
3210
3210
|
Object.entries(ra).forEach(([e, t]) => {
|
|
3211
3211
|
ra[t] = e;
|
|
3212
3212
|
});
|
|
3213
|
-
function
|
|
3214
|
-
const t = new lt(e), n =
|
|
3213
|
+
function fo(e) {
|
|
3214
|
+
const t = new lt(e), n = Hr(lt.prototype.request, t);
|
|
3215
3215
|
return b.extend(n, lt.prototype, t, { allOwnKeys: !0 }), b.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
3216
|
-
return
|
|
3216
|
+
return fo(ut(e, o));
|
|
3217
3217
|
}, n;
|
|
3218
3218
|
}
|
|
3219
|
-
const
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3219
|
+
const oe = fo(zt);
|
|
3220
|
+
oe.Axios = lt;
|
|
3221
|
+
oe.CanceledError = Nt;
|
|
3222
|
+
oe.CancelToken = ic;
|
|
3223
|
+
oe.isCancel = oo;
|
|
3224
|
+
oe.VERSION = ho;
|
|
3225
|
+
oe.toFormData = xn;
|
|
3226
|
+
oe.AxiosError = W;
|
|
3227
|
+
oe.Cancel = oe.CanceledError;
|
|
3228
|
+
oe.all = function(t) {
|
|
3229
3229
|
return Promise.all(t);
|
|
3230
3230
|
};
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3231
|
+
oe.spread = cc;
|
|
3232
|
+
oe.isAxiosError = lc;
|
|
3233
|
+
oe.mergeConfig = ut;
|
|
3234
|
+
oe.AxiosHeaders = _e;
|
|
3235
|
+
oe.formToJSON = (e) => ro(b.isHTMLForm(e) ? new FormData(e) : e);
|
|
3236
|
+
oe.getAdapter = uo.getAdapter;
|
|
3237
|
+
oe.HttpStatusCode = ra;
|
|
3238
|
+
oe.default = oe;
|
|
3239
3239
|
const {
|
|
3240
3240
|
Axios: x9,
|
|
3241
3241
|
AxiosError: T9,
|
|
@@ -3253,7 +3253,7 @@ const {
|
|
|
3253
3253
|
formToJSON: j9,
|
|
3254
3254
|
getAdapter: Q9,
|
|
3255
3255
|
mergeConfig: G9
|
|
3256
|
-
} =
|
|
3256
|
+
} = oe;
|
|
3257
3257
|
class Le {
|
|
3258
3258
|
constructor(t) {
|
|
3259
3259
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion);
|
|
@@ -3264,7 +3264,7 @@ class Le {
|
|
|
3264
3264
|
PUBLIC_IS_OFFLINE: n,
|
|
3265
3265
|
PUBLIC_USERNAME_OFFLINE: r,
|
|
3266
3266
|
PUBLIC_PASSWORD_OFFLINE: o
|
|
3267
|
-
} =
|
|
3267
|
+
} = J();
|
|
3268
3268
|
if (n === "true")
|
|
3269
3269
|
try {
|
|
3270
3270
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -3301,7 +3301,7 @@ class Le {
|
|
|
3301
3301
|
getPages = (t) => this.props?.axiosApi.get("/config/pages", { params: t }).catch((n) => (console.log(`[/config/pages] Error: ${n.message}`), Promise.reject(n)));
|
|
3302
3302
|
getRankingS3 = async (t, n = {
|
|
3303
3303
|
Referer: "https://goamg.amplifyapp.com/vndomv"
|
|
3304
|
-
}) => !t || t === "" ? { data: [] } : await
|
|
3304
|
+
}) => !t || t === "" ? { data: [] } : await oe.get(t, { headers: n }).catch((r) => {
|
|
3305
3305
|
console.log(`[Rankings s3] Error: ${r.message}`);
|
|
3306
3306
|
});
|
|
3307
3307
|
getNews = (t) => this.props?.axiosApi.get("/news", {
|
|
@@ -3400,7 +3400,7 @@ class z9 {
|
|
|
3400
3400
|
issuuApi = "https://api.issuu.com/v2";
|
|
3401
3401
|
api = void 0;
|
|
3402
3402
|
constructor(t) {
|
|
3403
|
-
this.api =
|
|
3403
|
+
this.api = oe.create({
|
|
3404
3404
|
baseURL: this.issuuApi,
|
|
3405
3405
|
params: {
|
|
3406
3406
|
state: "PUBLISHED",
|
|
@@ -3451,7 +3451,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3451
3451
|
return (() => {
|
|
3452
3452
|
const u = {};
|
|
3453
3453
|
for (let h = 0; h < d.length; h++) {
|
|
3454
|
-
const f =
|
|
3454
|
+
const f = us(
|
|
3455
3455
|
d[h]
|
|
3456
3456
|
), w = "Home_" + (Math.floor(h / s) + 1) + "_" + (Math.floor(h % s) + 1);
|
|
3457
3457
|
f && (u[w] = { ...f });
|
|
@@ -3459,7 +3459,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3459
3459
|
return u;
|
|
3460
3460
|
})();
|
|
3461
3461
|
}, uc = (e) => {
|
|
3462
|
-
const t =
|
|
3462
|
+
const t = ds(e);
|
|
3463
3463
|
return t && t.data ? t.data : t;
|
|
3464
3464
|
}, V9 = async (e) => {
|
|
3465
3465
|
const t = await Promise.allSettled(
|
|
@@ -3505,7 +3505,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3505
3505
|
news: (e) => {
|
|
3506
3506
|
const { meta: t, config: n, currentNew: r } = e;
|
|
3507
3507
|
if (!r) return ve(t);
|
|
3508
|
-
const o =
|
|
3508
|
+
const o = ms(r, n);
|
|
3509
3509
|
return o ? { ...t, ...o } : ve(t);
|
|
3510
3510
|
},
|
|
3511
3511
|
seccion: async (e) => {
|
|
@@ -3553,7 +3553,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3553
3553
|
}
|
|
3554
3554
|
},
|
|
3555
3555
|
tema: async (e) => {
|
|
3556
|
-
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Le(), i = r.split("/"), c = [], d = $t(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f } =
|
|
3556
|
+
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Le(), i = r.split("/"), c = [], d = $t(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f } = J();
|
|
3557
3557
|
try {
|
|
3558
3558
|
const w = await s.getNewsListTags({
|
|
3559
3559
|
tagid: h,
|
|
@@ -3622,7 +3622,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3622
3622
|
});
|
|
3623
3623
|
return s?.data?.data?.length ? {
|
|
3624
3624
|
...t,
|
|
3625
|
-
...
|
|
3625
|
+
...bs(s.data.data[0], n) ?? {}
|
|
3626
3626
|
} : ve(t);
|
|
3627
3627
|
} catch (s) {
|
|
3628
3628
|
return console.error("metadata (video) error:", s), ve(t);
|
|
@@ -3799,7 +3799,7 @@ async function F9({
|
|
|
3799
3799
|
slug: i,
|
|
3800
3800
|
texts: c,
|
|
3801
3801
|
query: d
|
|
3802
|
-
}), v =
|
|
3802
|
+
}), v = As(x), B = S || zr[o]({
|
|
3803
3803
|
pathname: s,
|
|
3804
3804
|
slug: i,
|
|
3805
3805
|
config: f,
|
|
@@ -3810,7 +3810,7 @@ async function F9({
|
|
|
3810
3810
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
3811
3811
|
/* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
|
|
3812
3812
|
v,
|
|
3813
|
-
/* @__PURE__ */ a(
|
|
3813
|
+
/* @__PURE__ */ a(ys, {}),
|
|
3814
3814
|
t.ampConfig && f.ampOption && t.ampConfig_slugIsValid && /* @__PURE__ */ a("link", { rel: "amphtml", href: f.siteUrl + "/amp" + s }),
|
|
3815
3815
|
t.preloadImages && l && l.preview?.sizes && /* @__PURE__ */ a(
|
|
3816
3816
|
Pa,
|
|
@@ -3889,7 +3889,7 @@ const W9 = ({
|
|
|
3889
3889
|
scriptReplaces: l,
|
|
3890
3890
|
body_custom_elements: u
|
|
3891
3891
|
}) => {
|
|
3892
|
-
const h =
|
|
3892
|
+
const h = zo(c, d), f = zr[t]({
|
|
3893
3893
|
pathname: r,
|
|
3894
3894
|
slug: o,
|
|
3895
3895
|
config: s,
|
|
@@ -3899,12 +3899,12 @@ const W9 = ({
|
|
|
3899
3899
|
return /* @__PURE__ */ m(K, { children: [
|
|
3900
3900
|
/* @__PURE__ */ a(jr, { name: "bodybefore", banners: n, replaces: p }),
|
|
3901
3901
|
e,
|
|
3902
|
+
/* @__PURE__ */ a(Fo, {}),
|
|
3903
|
+
/* @__PURE__ */ a(Go, {}),
|
|
3904
|
+
/* @__PURE__ */ a(Ho, { dimensionValues: h }),
|
|
3902
3905
|
/* @__PURE__ */ a(Vo, {}),
|
|
3903
|
-
/* @__PURE__ */ a(Qo, {}),
|
|
3904
|
-
/* @__PURE__ */ a(zo, { dimensionValues: h }),
|
|
3905
|
-
/* @__PURE__ */ a(Ho, {}),
|
|
3906
3906
|
u,
|
|
3907
|
-
/* @__PURE__ */ a(
|
|
3907
|
+
/* @__PURE__ */ a(ws, { name: "bodyafter", banners: n, replaces: A })
|
|
3908
3908
|
] });
|
|
3909
3909
|
}, mc = "_content_1tvgz_1", fc = {
|
|
3910
3910
|
content: mc
|
|
@@ -3974,7 +3974,7 @@ function yc({
|
|
|
3974
3974
|
return -(y * (n + r)) + C;
|
|
3975
3975
|
},
|
|
3976
3976
|
[o, n, r]
|
|
3977
|
-
),
|
|
3977
|
+
), P = he(
|
|
3978
3978
|
(y) => {
|
|
3979
3979
|
const C = N.current?.offsetWidth || window.innerWidth, k = B(), j = te();
|
|
3980
3980
|
if (o)
|
|
@@ -4005,7 +4005,7 @@ function yc({
|
|
|
4005
4005
|
), U = he(
|
|
4006
4006
|
(y) => {
|
|
4007
4007
|
if (!c || !s) return;
|
|
4008
|
-
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L =
|
|
4008
|
+
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L = P(C), H = j > 0.5 && Math.abs(C) > 50 ? Math.max(L, 1) : L;
|
|
4009
4009
|
if (H > 0)
|
|
4010
4010
|
if (C > 0) {
|
|
4011
4011
|
const V = Math.max(0, e - H);
|
|
@@ -4025,7 +4025,7 @@ function yc({
|
|
|
4025
4025
|
Y,
|
|
4026
4026
|
s,
|
|
4027
4027
|
i,
|
|
4028
|
-
|
|
4028
|
+
P,
|
|
4029
4029
|
M,
|
|
4030
4030
|
_
|
|
4031
4031
|
]
|
|
@@ -4034,7 +4034,7 @@ function yc({
|
|
|
4034
4034
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && S(y.target), ee(y.clientX);
|
|
4035
4035
|
},
|
|
4036
4036
|
[ee]
|
|
4037
|
-
),
|
|
4037
|
+
), D = he(
|
|
4038
4038
|
(y) => {
|
|
4039
4039
|
ee(y.touches[0].clientX);
|
|
4040
4040
|
},
|
|
@@ -4067,7 +4067,7 @@ function yc({
|
|
|
4067
4067
|
actualVisibleItems: x,
|
|
4068
4068
|
dragHandlers: {
|
|
4069
4069
|
onMouseDown: E,
|
|
4070
|
-
onTouchStart:
|
|
4070
|
+
onTouchStart: D,
|
|
4071
4071
|
onTouchMove: T,
|
|
4072
4072
|
onTouchEnd: z,
|
|
4073
4073
|
onMouseLeave: U
|
|
@@ -4108,8 +4108,8 @@ function Y9(e) {
|
|
|
4108
4108
|
onIndexChange: h
|
|
4109
4109
|
}), v = he(
|
|
4110
4110
|
(Q) => {
|
|
4111
|
-
const
|
|
4112
|
-
h(
|
|
4111
|
+
const P = Math.max(0, Math.min(Q, _));
|
|
4112
|
+
h(P);
|
|
4113
4113
|
},
|
|
4114
4114
|
[_]
|
|
4115
4115
|
), B = he(() => {
|
|
@@ -4183,7 +4183,7 @@ function Y9(e) {
|
|
|
4183
4183
|
cursor: d ? g ? "grabbing" : "grab" : "default"
|
|
4184
4184
|
},
|
|
4185
4185
|
...x,
|
|
4186
|
-
children: l && l.map((Q,
|
|
4186
|
+
children: l && l.map((Q, P) => typeof Q == "string" ? /* @__PURE__ */ a(
|
|
4187
4187
|
"section",
|
|
4188
4188
|
{
|
|
4189
4189
|
className: "card",
|
|
@@ -4197,7 +4197,7 @@ function Y9(e) {
|
|
|
4197
4197
|
},
|
|
4198
4198
|
dangerouslySetInnerHTML: { __html: Q }
|
|
4199
4199
|
},
|
|
4200
|
-
|
|
4200
|
+
P
|
|
4201
4201
|
) : /* @__PURE__ */ a(
|
|
4202
4202
|
"section",
|
|
4203
4203
|
{
|
|
@@ -4212,25 +4212,25 @@ function Y9(e) {
|
|
|
4212
4212
|
},
|
|
4213
4213
|
children: Q
|
|
4214
4214
|
},
|
|
4215
|
-
|
|
4215
|
+
P
|
|
4216
4216
|
))
|
|
4217
4217
|
}
|
|
4218
4218
|
),
|
|
4219
4219
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4220
4220
|
{ length: Math.ceil(l.length / N) },
|
|
4221
|
-
(Q,
|
|
4222
|
-
const ee = Math.floor(u / N) ===
|
|
4221
|
+
(Q, P) => {
|
|
4222
|
+
const ee = Math.floor(u / N) === P;
|
|
4223
4223
|
return /* @__PURE__ */ a(
|
|
4224
4224
|
"li",
|
|
4225
4225
|
{
|
|
4226
4226
|
className: ee ? "active" : "",
|
|
4227
|
-
onClick: () => v(
|
|
4227
|
+
onClick: () => v(P * N),
|
|
4228
4228
|
style: {
|
|
4229
4229
|
cursor: "pointer",
|
|
4230
4230
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
4231
4231
|
}
|
|
4232
4232
|
},
|
|
4233
|
-
|
|
4233
|
+
P
|
|
4234
4234
|
);
|
|
4235
4235
|
}
|
|
4236
4236
|
) })
|
|
@@ -4309,7 +4309,7 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4309
4309
|
},
|
|
4310
4310
|
n.key
|
|
4311
4311
|
);
|
|
4312
|
-
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158",
|
|
4312
|
+
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158", re = {
|
|
4313
4313
|
boxInformation: Ec,
|
|
4314
4314
|
sectionDescriptionContainer: xc,
|
|
4315
4315
|
uppertitle: Tc,
|
|
@@ -4323,8 +4323,8 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4323
4323
|
clipboardButton: Oc,
|
|
4324
4324
|
socialNetworkSection: Pc
|
|
4325
4325
|
};
|
|
4326
|
-
function
|
|
4327
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } =
|
|
4326
|
+
function O(e) {
|
|
4327
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = J(), 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 = {
|
|
4328
4328
|
...e,
|
|
4329
4329
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
4330
4330
|
};
|
|
@@ -4338,7 +4338,7 @@ function D(e) {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
) : /* @__PURE__ */ a("a", { ...i, children: e.children });
|
|
4340
4340
|
}
|
|
4341
|
-
const
|
|
4341
|
+
const go = (e) => /* @__PURE__ */ a(
|
|
4342
4342
|
"svg",
|
|
4343
4343
|
{
|
|
4344
4344
|
width: "23",
|
|
@@ -4355,7 +4355,7 @@ const fo = (e) => /* @__PURE__ */ a(
|
|
|
4355
4355
|
}
|
|
4356
4356
|
)
|
|
4357
4357
|
}
|
|
4358
|
-
),
|
|
4358
|
+
), po = (e) => /* @__PURE__ */ a(
|
|
4359
4359
|
"svg",
|
|
4360
4360
|
{
|
|
4361
4361
|
width: "23",
|
|
@@ -4373,7 +4373,7 @@ const fo = (e) => /* @__PURE__ */ a(
|
|
|
4373
4373
|
}
|
|
4374
4374
|
)
|
|
4375
4375
|
}
|
|
4376
|
-
),
|
|
4376
|
+
), Ao = (e) => /* @__PURE__ */ m(
|
|
4377
4377
|
"svg",
|
|
4378
4378
|
{
|
|
4379
4379
|
width: "24",
|
|
@@ -4437,8 +4437,8 @@ const fo = (e) => /* @__PURE__ */ a(
|
|
|
4437
4437
|
Whatsapp: {
|
|
4438
4438
|
url: (e) => `https://wa.me/?text=${encodeURIComponent(e)}`,
|
|
4439
4439
|
icon: {
|
|
4440
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
4441
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
4440
|
+
outline: (e) => /* @__PURE__ */ a(po, { className: e }),
|
|
4441
|
+
solid: (e) => /* @__PURE__ */ a(go, { className: e })
|
|
4442
4442
|
}
|
|
4443
4443
|
},
|
|
4444
4444
|
Message: {
|
|
@@ -4451,19 +4451,19 @@ const fo = (e) => /* @__PURE__ */ a(
|
|
|
4451
4451
|
};
|
|
4452
4452
|
function jc({ noteShare: e }) {
|
|
4453
4453
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
4454
|
-
return e ? /* @__PURE__ */ m("div", { className:
|
|
4454
|
+
return e ? /* @__PURE__ */ m("div", { className: re.socialNetworkSection, children: [
|
|
4455
4455
|
e.options?.map((n) => {
|
|
4456
4456
|
const r = Mc[n];
|
|
4457
4457
|
if (!r) return null;
|
|
4458
4458
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
4459
4459
|
return /* @__PURE__ */ a(
|
|
4460
|
-
|
|
4460
|
+
O,
|
|
4461
4461
|
{
|
|
4462
4462
|
href: s,
|
|
4463
4463
|
target: "_blank",
|
|
4464
4464
|
rel: "noopener noreferrer",
|
|
4465
4465
|
"aria-label": `Compartir en ${n}`,
|
|
4466
|
-
className: `${
|
|
4466
|
+
className: `${re.socialButton} ${re[`${n.toLowerCase()}Button`] ?? ""} ${re[`${n.toLowerCase()}Styled`]}`,
|
|
4467
4467
|
children: o("")
|
|
4468
4468
|
},
|
|
4469
4469
|
n
|
|
@@ -4474,7 +4474,7 @@ function jc({ noteShare: e }) {
|
|
|
4474
4474
|
{
|
|
4475
4475
|
type: "button",
|
|
4476
4476
|
"aria-label": "share",
|
|
4477
|
-
className: [
|
|
4477
|
+
className: [re.clipboardButton, "sharebtn-id"].join(" "),
|
|
4478
4478
|
children: /* @__PURE__ */ a(Dc, {})
|
|
4479
4479
|
}
|
|
4480
4480
|
),
|
|
@@ -4485,14 +4485,14 @@ function jc({ noteShare: e }) {
|
|
|
4485
4485
|
"data-text": "Link copiado",
|
|
4486
4486
|
"data-active": "false",
|
|
4487
4487
|
"aria-label": "copy",
|
|
4488
|
-
className: [
|
|
4489
|
-
children: /* @__PURE__ */ a(
|
|
4488
|
+
className: [re.clipboardButton, "clipbtn-id"].join(" "),
|
|
4489
|
+
children: /* @__PURE__ */ a(Ao, {})
|
|
4490
4490
|
}
|
|
4491
4491
|
)
|
|
4492
4492
|
] }) : null;
|
|
4493
4493
|
}
|
|
4494
4494
|
const Et = (e) => {
|
|
4495
|
-
const { share: t = !1, cutSubtitle: n = !0, keywords: r } = e,
|
|
4495
|
+
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = J(), c = () => {
|
|
4496
4496
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4497
4497
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
|
|
4498
4498
|
e.info?.date?.modified
|
|
@@ -4501,30 +4501,55 @@ const Et = (e) => {
|
|
|
4501
4501
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
4502
4502
|
if (e?.config?.showtime)
|
|
4503
4503
|
return Me(e.info?.date?.modified);
|
|
4504
|
-
},
|
|
4505
|
-
const
|
|
4504
|
+
}, d = () => {
|
|
4505
|
+
const h = {
|
|
4506
4506
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4507
4507
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4508
4508
|
"--colorSubTitle": e.colorSubTitle
|
|
4509
4509
|
};
|
|
4510
|
-
return n ? /* @__PURE__ */ a("p", { className:
|
|
4510
|
+
return n ? /* @__PURE__ */ a("p", { className: re.description, children: je(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4511
4511
|
"h2",
|
|
4512
4512
|
{
|
|
4513
|
-
className:
|
|
4513
|
+
className: re.description,
|
|
4514
4514
|
dangerouslySetInnerHTML: {
|
|
4515
4515
|
__html: e.main.subtitle.rendered ?? e.main.subtitle.striped ?? ""
|
|
4516
4516
|
},
|
|
4517
|
-
style:
|
|
4517
|
+
style: h
|
|
4518
4518
|
}
|
|
4519
4519
|
);
|
|
4520
|
-
},
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
/* @__PURE__ */
|
|
4524
|
-
|
|
4525
|
-
|
|
4520
|
+
}, l = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: re.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, u = () => {
|
|
4521
|
+
if (i && r?.tags?.length && r.tags.length > 0) {
|
|
4522
|
+
const h = r.tags[0], f = h.name;
|
|
4523
|
+
return /* @__PURE__ */ m("h3", { className: re.sectionDescriptionContainer, children: [
|
|
4524
|
+
h.approved ? /* @__PURE__ */ a(
|
|
4525
|
+
O,
|
|
4526
|
+
{
|
|
4527
|
+
"aria-label": f,
|
|
4528
|
+
className: re.sectionDescription,
|
|
4529
|
+
href: Qr(h, s),
|
|
4530
|
+
children: f
|
|
4531
|
+
}
|
|
4532
|
+
) : /* @__PURE__ */ a("div", { className: re.sectionDescription, children: f }),
|
|
4533
|
+
l()
|
|
4534
|
+
] });
|
|
4535
|
+
} else if (o?.section?.url) {
|
|
4536
|
+
const h = o.section.name;
|
|
4537
|
+
return /* @__PURE__ */ m("h3", { className: re.sectionDescriptionContainer, children: [
|
|
4538
|
+
/* @__PURE__ */ a(
|
|
4539
|
+
O,
|
|
4540
|
+
{
|
|
4541
|
+
"aria-label": h,
|
|
4542
|
+
className: re.sectionDescription,
|
|
4543
|
+
href: o.section.url,
|
|
4544
|
+
children: h
|
|
4545
|
+
}
|
|
4546
|
+
),
|
|
4547
|
+
l()
|
|
4548
|
+
] });
|
|
4549
|
+
}
|
|
4550
|
+
return null;
|
|
4526
4551
|
};
|
|
4527
|
-
return /* @__PURE__ */ m("div", { className:
|
|
4552
|
+
return /* @__PURE__ */ m("div", { className: re.boxInformation, children: [
|
|
4528
4553
|
t && /* @__PURE__ */ a(
|
|
4529
4554
|
"div",
|
|
4530
4555
|
{
|
|
@@ -4534,17 +4559,17 @@ const Et = (e) => {
|
|
|
4534
4559
|
children: /* @__PURE__ */ a(jc, { noteShare: { ...t } })
|
|
4535
4560
|
}
|
|
4536
4561
|
),
|
|
4537
|
-
/* @__PURE__ */ a(
|
|
4562
|
+
/* @__PURE__ */ a(u, {}),
|
|
4538
4563
|
Ee.createElement(
|
|
4539
4564
|
e.isTitle ? "h1" : "h2",
|
|
4540
4565
|
{
|
|
4541
|
-
className:
|
|
4566
|
+
className: re.articule
|
|
4542
4567
|
},
|
|
4543
4568
|
e?.info?.link?.url ? /* @__PURE__ */ a(
|
|
4544
|
-
|
|
4569
|
+
O,
|
|
4545
4570
|
{
|
|
4546
4571
|
"aria-label": e.main?.title?.section,
|
|
4547
|
-
className:
|
|
4572
|
+
className: re.linkStyled,
|
|
4548
4573
|
style: {
|
|
4549
4574
|
"--isLink": "var(--news-description-title-color-hover-decoration)"
|
|
4550
4575
|
},
|
|
@@ -4554,23 +4579,23 @@ const Et = (e) => {
|
|
|
4554
4579
|
}
|
|
4555
4580
|
) : e.main?.title?.section
|
|
4556
4581
|
),
|
|
4557
|
-
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
4582
|
+
e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
|
|
4558
4583
|
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
4559
|
-
|
|
4584
|
+
O,
|
|
4560
4585
|
{
|
|
4561
|
-
"aria-label":
|
|
4562
|
-
className:
|
|
4586
|
+
"aria-label": c(),
|
|
4587
|
+
className: re.correspondentLink,
|
|
4563
4588
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
4564
|
-
children:
|
|
4589
|
+
children: c()
|
|
4565
4590
|
}
|
|
4566
|
-
) }) : /* @__PURE__ */ a("h3", { className:
|
|
4591
|
+
) }) : /* @__PURE__ */ a("h3", { className: re.correspondent, children: c() }) })
|
|
4567
4592
|
] });
|
|
4568
4593
|
}, Qc = "_content_coxjf_1", Gc = "_contentNew_coxjf_21", zc = "_imageBox_coxjf_29", Hc = "_numberTag_coxjf_44", Kt = {
|
|
4569
4594
|
content: Qc,
|
|
4570
4595
|
contentNew: Gc,
|
|
4571
4596
|
imageBox: zc,
|
|
4572
4597
|
numberTag: Hc
|
|
4573
|
-
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98",
|
|
4598
|
+
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98", se = {
|
|
4574
4599
|
figure: Vc,
|
|
4575
4600
|
backdrop: Fc,
|
|
4576
4601
|
backdropAux: Wc,
|
|
@@ -4601,15 +4626,15 @@ const Et = (e) => {
|
|
|
4601
4626
|
}
|
|
4602
4627
|
), Xc = (e) => {
|
|
4603
4628
|
const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = e.preview.sizes;
|
|
4604
|
-
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className:
|
|
4605
|
-
/* @__PURE__ */ a("span", { className:
|
|
4629
|
+
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ m("span", { className: se.backdrop, children: [
|
|
4630
|
+
/* @__PURE__ */ a("span", { className: se.backdropAux }),
|
|
4606
4631
|
/* @__PURE__ */ m("picture", { children: [
|
|
4607
4632
|
/* @__PURE__ */ a(
|
|
4608
4633
|
"img",
|
|
4609
4634
|
{
|
|
4610
4635
|
fetchPriority: r ? "high" : "low",
|
|
4611
4636
|
loading: r ? "eager" : "lazy",
|
|
4612
|
-
className:
|
|
4637
|
+
className: se.imageStyled,
|
|
4613
4638
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
4614
4639
|
src: o[0]?.url ? o[0]?.url : void 0
|
|
4615
4640
|
}
|
|
@@ -4618,14 +4643,14 @@ const Et = (e) => {
|
|
|
4618
4643
|
/* @__PURE__ */ a(
|
|
4619
4644
|
"div",
|
|
4620
4645
|
{
|
|
4621
|
-
className:
|
|
4646
|
+
className: se.boxPlayIcon,
|
|
4622
4647
|
style: { height: n ? "40%" : "72px" }
|
|
4623
4648
|
}
|
|
4624
4649
|
),
|
|
4625
4650
|
/* @__PURE__ */ a(
|
|
4626
4651
|
vt,
|
|
4627
4652
|
{
|
|
4628
|
-
className:
|
|
4653
|
+
className: se.playStyled,
|
|
4629
4654
|
style: {
|
|
4630
4655
|
width: n ? "3rem" : "27px",
|
|
4631
4656
|
height: n ? "3rem" : "27px",
|
|
@@ -4636,8 +4661,8 @@ const Et = (e) => {
|
|
|
4636
4661
|
)
|
|
4637
4662
|
] })
|
|
4638
4663
|
] })
|
|
4639
|
-
] }) }) : /* @__PURE__ */ a("figure", { className:
|
|
4640
|
-
/* @__PURE__ */ a("span", { className:
|
|
4664
|
+
] }) }) : /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ m("span", { className: se.backdrop, children: [
|
|
4665
|
+
/* @__PURE__ */ a("span", { className: se.backdropAux }),
|
|
4641
4666
|
/* @__PURE__ */ m("picture", { children: [
|
|
4642
4667
|
o.map(async (s, i) => {
|
|
4643
4668
|
if (e.isLarge)
|
|
@@ -4665,7 +4690,7 @@ const Et = (e) => {
|
|
|
4665
4690
|
fetchPriority: r ? "high" : "low",
|
|
4666
4691
|
loading: r ? "eager" : "lazy",
|
|
4667
4692
|
decoding: "async",
|
|
4668
|
-
className:
|
|
4693
|
+
className: se.imageStyled,
|
|
4669
4694
|
width: o[0]?.width,
|
|
4670
4695
|
height: o[0]?.height,
|
|
4671
4696
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
@@ -4676,14 +4701,14 @@ const Et = (e) => {
|
|
|
4676
4701
|
/* @__PURE__ */ a(
|
|
4677
4702
|
"div",
|
|
4678
4703
|
{
|
|
4679
|
-
className:
|
|
4704
|
+
className: se.boxPlayIcon,
|
|
4680
4705
|
style: { height: n ? "40%" : "72px" }
|
|
4681
4706
|
}
|
|
4682
4707
|
),
|
|
4683
4708
|
/* @__PURE__ */ a(
|
|
4684
4709
|
vt,
|
|
4685
4710
|
{
|
|
4686
|
-
className:
|
|
4711
|
+
className: se.playStyled,
|
|
4687
4712
|
style: {
|
|
4688
4713
|
width: n ? "3rem" : "var(--image-play-width)",
|
|
4689
4714
|
height: n ? "3rem" : "var(--image-play-height)",
|
|
@@ -4699,7 +4724,7 @@ const Et = (e) => {
|
|
|
4699
4724
|
/* @__PURE__ */ a("defs", { children: /* @__PURE__ */ a("clipPath", { id: "clip0_2503_6565", children: /* @__PURE__ */ a("rect", { width: "28", height: "28", fill: "currentColor" }) }) })
|
|
4700
4725
|
] }), el = async (e) => Buffer.from(await e.arrayBuffer()).toString("base64"), tl = async (e, t) => {
|
|
4701
4726
|
try {
|
|
4702
|
-
const { PUBLIC_API_HOST: n, PUBLIC_OFFLINE_SITE: r } =
|
|
4727
|
+
const { PUBLIC_API_HOST: n, PUBLIC_OFFLINE_SITE: r } = J(), o = t?.site ?? "", s = decodeURIComponent(o ?? ""), i = t?.browser ?? "", c = await fetch(`${n}${e}`, {
|
|
4703
4728
|
headers: {
|
|
4704
4729
|
PROJECT: "Offline",
|
|
4705
4730
|
SITE: "/sites/" + r,
|
|
@@ -4722,22 +4747,22 @@ const Et = (e) => {
|
|
|
4722
4747
|
} = e, [s, i] = $(void 0), c = t?.sizes;
|
|
4723
4748
|
return De(() => {
|
|
4724
4749
|
(async () => {
|
|
4725
|
-
const { PUBLIC_IS_OFFLINE: l } =
|
|
4750
|
+
const { PUBLIC_IS_OFFLINE: l } = J();
|
|
4726
4751
|
if (l === "true" && c?.[0]?.url) {
|
|
4727
4752
|
const u = await tl(c[0].url, e.cookies);
|
|
4728
4753
|
i(u);
|
|
4729
4754
|
} else
|
|
4730
4755
|
i(c?.[0]?.url);
|
|
4731
4756
|
})();
|
|
4732
|
-
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className:
|
|
4733
|
-
/* @__PURE__ */ a("span", { className:
|
|
4757
|
+
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ m("span", { className: se.backdrop, children: [
|
|
4758
|
+
/* @__PURE__ */ a("span", { className: se.backdropAux }),
|
|
4734
4759
|
/* @__PURE__ */ m("picture", { children: [
|
|
4735
4760
|
/* @__PURE__ */ a(
|
|
4736
4761
|
"img",
|
|
4737
4762
|
{
|
|
4738
4763
|
fetchPriority: o ? "high" : "low",
|
|
4739
4764
|
loading: o ? "eager" : "lazy",
|
|
4740
|
-
className:
|
|
4765
|
+
className: se.imageStyled,
|
|
4741
4766
|
style: {
|
|
4742
4767
|
boxShadow: r ? "0px 4px 8px 0px #00000033" : "0px"
|
|
4743
4768
|
},
|
|
@@ -4745,9 +4770,9 @@ const Et = (e) => {
|
|
|
4745
4770
|
src: s
|
|
4746
4771
|
}
|
|
4747
4772
|
),
|
|
4748
|
-
n && /* @__PURE__ */ a("div", { className:
|
|
4773
|
+
n && /* @__PURE__ */ a("div", { className: se.playWrapper, children: /* @__PURE__ */ a(vt, {}) })
|
|
4749
4774
|
] })
|
|
4750
|
-
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className:
|
|
4775
|
+
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder, children: /* @__PURE__ */ a(xt, { style: { color: "var(--grey-100)" } }) }) : /* @__PURE__ */ a(
|
|
4751
4776
|
"div",
|
|
4752
4777
|
{
|
|
4753
4778
|
style: { display: "flex" },
|
|
@@ -4755,14 +4780,14 @@ const Et = (e) => {
|
|
|
4755
4780
|
"data-props": encodeURIComponent(
|
|
4756
4781
|
JSON.stringify({ ...e, children: void 0 })
|
|
4757
4782
|
),
|
|
4758
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4783
|
+
children: /* @__PURE__ */ a("div", { className: se.imagePlaceholder })
|
|
4759
4784
|
}
|
|
4760
4785
|
);
|
|
4761
4786
|
}, Ue = async (e) => {
|
|
4762
4787
|
const { preview: t } = e;
|
|
4763
4788
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4764
|
-
return /* @__PURE__ */ a("div", { className:
|
|
4765
|
-
const { PUBLIC_IS_OFFLINE: n } =
|
|
4789
|
+
return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
|
|
4790
|
+
const { PUBLIC_IS_OFFLINE: n } = J();
|
|
4766
4791
|
if (n === "true")
|
|
4767
4792
|
return /* @__PURE__ */ a(nl, { ...e });
|
|
4768
4793
|
const r = await Promise.all(
|
|
@@ -4777,7 +4802,7 @@ const Et = (e) => {
|
|
|
4777
4802
|
sizes: r
|
|
4778
4803
|
};
|
|
4779
4804
|
return /* @__PURE__ */ a(Xc, { ...e, preview: o });
|
|
4780
|
-
},
|
|
4805
|
+
}, wo = (e) => {
|
|
4781
4806
|
const { itemReverseOrder: t = !1 } = e;
|
|
4782
4807
|
return /* @__PURE__ */ a(
|
|
4783
4808
|
"section",
|
|
@@ -5751,7 +5776,7 @@ const Et = (e) => {
|
|
|
5751
5776
|
showads: !1
|
|
5752
5777
|
}, va = (e) => {
|
|
5753
5778
|
let t = [];
|
|
5754
|
-
const { PUBLIC_ENV: n } =
|
|
5779
|
+
const { PUBLIC_ENV: n } = J();
|
|
5755
5780
|
return e.content && e.content.length > 0 ? t = e.content.map((r) => ({
|
|
5756
5781
|
...r,
|
|
5757
5782
|
config: ar
|
|
@@ -5766,7 +5791,7 @@ const Et = (e) => {
|
|
|
5766
5791
|
children: [
|
|
5767
5792
|
/* @__PURE__ */ a("p", { className: nr.titulo, children: e.title ?? "" }),
|
|
5768
5793
|
/* @__PURE__ */ a(
|
|
5769
|
-
|
|
5794
|
+
wo,
|
|
5770
5795
|
{
|
|
5771
5796
|
block: t,
|
|
5772
5797
|
paths: e.paths,
|
|
@@ -5812,7 +5837,7 @@ const Et = (e) => {
|
|
|
5812
5837
|
style: o,
|
|
5813
5838
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
5814
5839
|
}
|
|
5815
|
-
) : /* @__PURE__ */ a(
|
|
5840
|
+
) : /* @__PURE__ */ a(O, { ...r, style: o });
|
|
5816
5841
|
}, pl = (e) => /* @__PURE__ */ m("section", { className: [ke.content, e.className ?? ""].join(" "), children: [
|
|
5817
5842
|
/* @__PURE__ */ a("div", { className: ke.subscribeImage, children: e.image }),
|
|
5818
5843
|
/* @__PURE__ */ a("div", { className: ke.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
@@ -5831,7 +5856,7 @@ const Et = (e) => {
|
|
|
5831
5856
|
/* @__PURE__ */ a(In, { className: ke.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5832
5857
|
/* @__PURE__ */ m("div", { className: ke.contentTerms, children: [
|
|
5833
5858
|
/* @__PURE__ */ a("p", { className: ke.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5834
|
-
/* @__PURE__ */ a(
|
|
5859
|
+
/* @__PURE__ */ a(O, { className: ke.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5835
5860
|
] })
|
|
5836
5861
|
] }), Al = "_content_1ms2y_1", wl = "_contentInfo_1ms2y_20", yl = "_subscribeImage_1ms2y_28", vl = "_tag_1ms2y_42", bl = "_contentTitle_1ms2y_60", Cl = "_title_1ms2y_65", _l = "_subTitle_1ms2y_70", Nl = "_inputStyled_1ms2y_79", Sl = "_buttonStyled_1ms2y_118", El = "_contentTerms_1ms2y_131", xl = "_subscribeText_1ms2y_137", Tl = "_terms_1ms2y_146", xe = {
|
|
5837
5862
|
content: Al,
|
|
@@ -5867,7 +5892,7 @@ const Et = (e) => {
|
|
|
5867
5892
|
] }),
|
|
5868
5893
|
/* @__PURE__ */ m("div", { className: xe.contentTerms, children: [
|
|
5869
5894
|
/* @__PURE__ */ a("p", { className: xe.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5870
|
-
/* @__PURE__ */ a(
|
|
5895
|
+
/* @__PURE__ */ a(O, { className: xe.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5871
5896
|
] })
|
|
5872
5897
|
] })
|
|
5873
5898
|
] }), Ul = (e) => /* @__PURE__ */ m(
|
|
@@ -5968,7 +5993,7 @@ const Et = (e) => {
|
|
|
5968
5993
|
),
|
|
5969
5994
|
/* @__PURE__ */ m("div", { className: Qe.contentTerms, children: [
|
|
5970
5995
|
/* @__PURE__ */ a("p", { className: Qe.subscribeText, children: "Suscribirte implica aceptar los" }),
|
|
5971
|
-
/* @__PURE__ */ a(
|
|
5996
|
+
/* @__PURE__ */ a(O, { className: Qe.terms, href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
5972
5997
|
] })
|
|
5973
5998
|
] }), jl = (e) => /* @__PURE__ */ m(
|
|
5974
5999
|
"svg",
|
|
@@ -6200,7 +6225,7 @@ const Et = (e) => {
|
|
|
6200
6225
|
const { freeZone: t, socials: n, menu: r, customBlock: o } = e;
|
|
6201
6226
|
return /* @__PURE__ */ m("footer", { className: we.content, children: [
|
|
6202
6227
|
/* @__PURE__ */ m("section", { className: we.brandContent, children: [
|
|
6203
|
-
/* @__PURE__ */ a(
|
|
6228
|
+
/* @__PURE__ */ a(O, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: we.logoStyled, children: e.logo }) }),
|
|
6204
6229
|
/* @__PURE__ */ a("div", { className: we.socialMedia, children: Object.keys(n).map((s) => n[s]?.show && /* @__PURE__ */ a(
|
|
6205
6230
|
"a",
|
|
6206
6231
|
{
|
|
@@ -6218,7 +6243,7 @@ const Et = (e) => {
|
|
|
6218
6243
|
] }),
|
|
6219
6244
|
/* @__PURE__ */ m("section", { className: we.sectionContent, children: [
|
|
6220
6245
|
/* @__PURE__ */ a("div", { className: we.section, children: r.filter((s) => !s.subitem).map((s, i) => /* @__PURE__ */ a(
|
|
6221
|
-
|
|
6246
|
+
O,
|
|
6222
6247
|
{
|
|
6223
6248
|
href: s.link ? s.link : void 0,
|
|
6224
6249
|
target: s.target,
|
|
@@ -6229,7 +6254,7 @@ const Et = (e) => {
|
|
|
6229
6254
|
i
|
|
6230
6255
|
)) }),
|
|
6231
6256
|
/* @__PURE__ */ a("div", { className: we.section, children: t && t.map((s, i) => /* @__PURE__ */ a(
|
|
6232
|
-
|
|
6257
|
+
O,
|
|
6233
6258
|
{
|
|
6234
6259
|
href: s.link ? s?.link : void 0,
|
|
6235
6260
|
target: s.target,
|
|
@@ -6243,7 +6268,7 @@ const Et = (e) => {
|
|
|
6243
6268
|
/* @__PURE__ */ m("section", { className: we.copyrigth, children: [
|
|
6244
6269
|
/* @__PURE__ */ a("p", { className: we.copyrigthText, children: e.copyrigth }),
|
|
6245
6270
|
/* @__PURE__ */ a(
|
|
6246
|
-
|
|
6271
|
+
O,
|
|
6247
6272
|
{
|
|
6248
6273
|
"aria-label": "Bluestack link",
|
|
6249
6274
|
href: "https://www.bluestack.la",
|
|
@@ -6431,8 +6456,8 @@ const Et = (e) => {
|
|
|
6431
6456
|
Whatsapp: {
|
|
6432
6457
|
url: (e) => `https://wa.me/?text=${encodeURIComponent(e)}`,
|
|
6433
6458
|
icon: {
|
|
6434
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
6435
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
6459
|
+
outline: (e) => /* @__PURE__ */ a(po, { className: e }),
|
|
6460
|
+
solid: (e) => /* @__PURE__ */ a(go, { className: e })
|
|
6436
6461
|
}
|
|
6437
6462
|
},
|
|
6438
6463
|
Email: {
|
|
@@ -6460,7 +6485,7 @@ function Dd({ noteShare: e }) {
|
|
|
6460
6485
|
if (!r) return null;
|
|
6461
6486
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
6462
6487
|
return /* @__PURE__ */ a(
|
|
6463
|
-
|
|
6488
|
+
O,
|
|
6464
6489
|
{
|
|
6465
6490
|
href: s,
|
|
6466
6491
|
target: "_blank",
|
|
@@ -6480,7 +6505,7 @@ function Dd({ noteShare: e }) {
|
|
|
6480
6505
|
"data-active": "false",
|
|
6481
6506
|
"aria-label": "copy",
|
|
6482
6507
|
className: [de.clipboardButton, "clipbtn-id"].join(" "),
|
|
6483
|
-
children: /* @__PURE__ */ a(
|
|
6508
|
+
children: /* @__PURE__ */ a(Ao, {})
|
|
6484
6509
|
}
|
|
6485
6510
|
),
|
|
6486
6511
|
/* @__PURE__ */ a(
|
|
@@ -6552,7 +6577,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6552
6577
|
};
|
|
6553
6578
|
return (t > 1 || n && t < r) && /* @__PURE__ */ m("section", { className: On.content, children: [
|
|
6554
6579
|
t > 1 && /* @__PURE__ */ a(
|
|
6555
|
-
|
|
6580
|
+
O,
|
|
6556
6581
|
{
|
|
6557
6582
|
className: On.linkStyled,
|
|
6558
6583
|
href: i("prev", o || "", s || ""),
|
|
@@ -6560,7 +6585,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6560
6585
|
}
|
|
6561
6586
|
),
|
|
6562
6587
|
n && t < r && /* @__PURE__ */ a(
|
|
6563
|
-
|
|
6588
|
+
O,
|
|
6564
6589
|
{
|
|
6565
6590
|
className: On.linkStyled,
|
|
6566
6591
|
href: i("next", o || "", s || ""),
|
|
@@ -6613,7 +6638,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6613
6638
|
},
|
|
6614
6639
|
children: [
|
|
6615
6640
|
/* @__PURE__ */ a(
|
|
6616
|
-
|
|
6641
|
+
O,
|
|
6617
6642
|
{
|
|
6618
6643
|
"aria-label": e.main?.title?.section,
|
|
6619
6644
|
className: Pt.image,
|
|
@@ -6665,7 +6690,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6665
6690
|
} = e;
|
|
6666
6691
|
return /* @__PURE__ */ m("section", { className: mt.content, children: [
|
|
6667
6692
|
/* @__PURE__ */ a(
|
|
6668
|
-
|
|
6693
|
+
O,
|
|
6669
6694
|
{
|
|
6670
6695
|
title: r?.title?.section,
|
|
6671
6696
|
href: n.link.url,
|
|
@@ -6687,7 +6712,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6687
6712
|
},
|
|
6688
6713
|
children: [
|
|
6689
6714
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6690
|
-
|
|
6715
|
+
O,
|
|
6691
6716
|
{
|
|
6692
6717
|
className: [mt.sectionDescription].join(" "),
|
|
6693
6718
|
href: e?.info?.section?.url,
|
|
@@ -6695,7 +6720,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6695
6720
|
}
|
|
6696
6721
|
),
|
|
6697
6722
|
/* @__PURE__ */ a("h2", { className: mt.articule, children: /* @__PURE__ */ a(
|
|
6698
|
-
|
|
6723
|
+
O,
|
|
6699
6724
|
{
|
|
6700
6725
|
className: mt.linkStyled,
|
|
6701
6726
|
href: e?.info?.link?.url,
|
|
@@ -6725,7 +6750,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6725
6750
|
/* @__PURE__ */ a(t, {}),
|
|
6726
6751
|
/* @__PURE__ */ a("p", { className: ft.title, children: e.title }),
|
|
6727
6752
|
/* @__PURE__ */ a("p", { className: ft.description, children: e.description }),
|
|
6728
|
-
/* @__PURE__ */ a(
|
|
6753
|
+
/* @__PURE__ */ a(O, { className: ft.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6729
6754
|
] })
|
|
6730
6755
|
] });
|
|
6731
6756
|
}, p1 = "_content_zxcog_1", A1 = "_contentLabel_zxcog_8", w1 = "_label_zxcog_13", y1 = "_required_zxcog_22", v1 = "_input_zxcog_28", It = {
|
|
@@ -6774,18 +6799,18 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6774
6799
|
}, P1 = "_content_8ehij_1", D1 = "_description_8ehij_23", vn = {
|
|
6775
6800
|
content: P1,
|
|
6776
6801
|
description: D1
|
|
6777
|
-
},
|
|
6802
|
+
}, yo = (e) => {
|
|
6778
6803
|
let t = "";
|
|
6779
6804
|
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ m("div", { className: vn.content, children: [
|
|
6780
6805
|
/* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6781
6806
|
t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
|
|
6782
6807
|
] });
|
|
6783
6808
|
}, M1 = (e) => /* @__PURE__ */ a(K, { children: /* @__PURE__ */ m("div", { className: et.boxInformation, children: [
|
|
6784
|
-
/* @__PURE__ */ a(
|
|
6809
|
+
/* @__PURE__ */ a(yo, { preview: e.preview }),
|
|
6785
6810
|
/* @__PURE__ */ m("div", { className: et.textBox, children: [
|
|
6786
6811
|
/* @__PURE__ */ m("div", { className: et.contentBox, children: [
|
|
6787
6812
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6788
|
-
|
|
6813
|
+
O,
|
|
6789
6814
|
{
|
|
6790
6815
|
className: et.sectionDescription,
|
|
6791
6816
|
href: e?.info?.section?.url,
|
|
@@ -6816,7 +6841,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6816
6841
|
contentText: G1,
|
|
6817
6842
|
dateLink: z1
|
|
6818
6843
|
}, H1 = (e) => /* @__PURE__ */ a("section", { className: Zt.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ m("div", { className: Zt.contentLine, children: [
|
|
6819
|
-
/* @__PURE__ */ a(
|
|
6844
|
+
/* @__PURE__ */ a(O, { className: Zt.dateLink, href: `#item-${n + 1}`, children: ls(t.date) }),
|
|
6820
6845
|
/* @__PURE__ */ a("div", { className: Zt.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6821
6846
|
] }, n)) }), V1 = "_content_w8a84_1", F1 = "_contentInfo_w8a84_11", W1 = "_imageStyled_w8a84_19", $1 = "_contentIconStyled_w8a84_30", Y1 = "_name_w8a84_56", K1 = "_email_w8a84_65", J1 = "_description_w8a84_81", Z1 = "_contenSocialNetwork_w8a84_93", X1 = "_socialIcon_w8a84_103", Te = {
|
|
6822
6847
|
content: V1,
|
|
@@ -6965,7 +6990,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6965
6990
|
}, hu = "_content_jg6i2_1", mu = "_bannerSection_jg6i2_25", sr = {
|
|
6966
6991
|
content: hu,
|
|
6967
6992
|
bannerSection: mu
|
|
6968
|
-
},
|
|
6993
|
+
}, vo = (e) => /* @__PURE__ */ m("section", { className: sr.content, children: [
|
|
6969
6994
|
e.children,
|
|
6970
6995
|
/* @__PURE__ */ m("div", { className: sr.bannerSection, children: [
|
|
6971
6996
|
e.bannerTop,
|
|
@@ -7134,10 +7159,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7134
7159
|
"data-after": `${r}`,
|
|
7135
7160
|
children: [
|
|
7136
7161
|
/* @__PURE__ */ a("hr", { className: ze.startLine }),
|
|
7137
|
-
e.titleUrl ? /* @__PURE__ */ a(
|
|
7162
|
+
e.titleUrl ? /* @__PURE__ */ a(O, { href: e.titleUrl, children: o }) : o,
|
|
7138
7163
|
/* @__PURE__ */ a("hr", { className: ze.line }),
|
|
7139
7164
|
e.titleUrl && /* @__PURE__ */ a(
|
|
7140
|
-
|
|
7165
|
+
O,
|
|
7141
7166
|
{
|
|
7142
7167
|
className: ze.readMore,
|
|
7143
7168
|
href: e.titleUrl?.toString() ?? ""
|
|
@@ -7223,7 +7248,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7223
7248
|
/* @__PURE__ */ a("input", { type: "checkbox", id: "side-bar-state" }),
|
|
7224
7249
|
/* @__PURE__ */ m("section", { className: le.sidebarCustom, children: [
|
|
7225
7250
|
/* @__PURE__ */ a("div", { className: le.buttonContent, children: /* @__PURE__ */ a("label", { className: le.buttonStyled, htmlFor: "side-bar-state", children: /* @__PURE__ */ a(xt, { className: le.icon }) }) }),
|
|
7226
|
-
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(
|
|
7251
|
+
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(O, { href: "/buscar", className: le.inputStyled, children: [
|
|
7227
7252
|
/* @__PURE__ */ m("p", { className: le.buscar, children: [
|
|
7228
7253
|
o,
|
|
7229
7254
|
"..."
|
|
@@ -7258,7 +7283,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7258
7283
|
htmlFor: "accordion_" + i,
|
|
7259
7284
|
children: [
|
|
7260
7285
|
s.link ? /* @__PURE__ */ a(
|
|
7261
|
-
|
|
7286
|
+
O,
|
|
7262
7287
|
{
|
|
7263
7288
|
className: `${le.linkStyledAccordion} ${le.linkStyled}`,
|
|
7264
7289
|
href: s.link ? s.link : void 0,
|
|
@@ -7277,7 +7302,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7277
7302
|
]
|
|
7278
7303
|
}
|
|
7279
7304
|
) : /* @__PURE__ */ a(
|
|
7280
|
-
|
|
7305
|
+
O,
|
|
7281
7306
|
{
|
|
7282
7307
|
className: le.linkStyled,
|
|
7283
7308
|
href: s.link ? s.link : void 0,
|
|
@@ -7293,7 +7318,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7293
7318
|
"--max-height": s.subitem.length * 45 + "px"
|
|
7294
7319
|
},
|
|
7295
7320
|
children: s.subitem.map((c, d) => /* @__PURE__ */ a(
|
|
7296
|
-
|
|
7321
|
+
O,
|
|
7297
7322
|
{
|
|
7298
7323
|
className: le.subLinkStyled,
|
|
7299
7324
|
href: c.link ? c.link : void 0,
|
|
@@ -7327,7 +7352,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7327
7352
|
] })
|
|
7328
7353
|
]
|
|
7329
7354
|
}
|
|
7330
|
-
),
|
|
7355
|
+
), bo = (e) => /* @__PURE__ */ m(
|
|
7331
7356
|
"svg",
|
|
7332
7357
|
{
|
|
7333
7358
|
width: "30",
|
|
@@ -7359,9 +7384,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7359
7384
|
headLine: nh,
|
|
7360
7385
|
live: ah,
|
|
7361
7386
|
closeLiveStyled: rh
|
|
7362
|
-
},
|
|
7387
|
+
}, Co = (e) => {
|
|
7363
7388
|
const { alertZone: t, id: n = "close-alert" } = e, r = () => /* @__PURE__ */ a(
|
|
7364
|
-
|
|
7389
|
+
O,
|
|
7365
7390
|
{
|
|
7366
7391
|
className: kt.headLine,
|
|
7367
7392
|
href: t?.data[0]?.info.link.url,
|
|
@@ -7422,7 +7447,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7422
7447
|
Array.isArray(t) && /* @__PURE__ */ m("div", { className: `${He.tabs} header-page-tape-content`, children: [
|
|
7423
7448
|
n !== "" && /* @__PURE__ */ a("p", { className: He.title, children: `${n}` }),
|
|
7424
7449
|
t && t[s] && /* @__PURE__ */ a(
|
|
7425
|
-
|
|
7450
|
+
O,
|
|
7426
7451
|
{
|
|
7427
7452
|
className: He.linkStyled,
|
|
7428
7453
|
target: t[s]?.target,
|
|
@@ -7438,7 +7463,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7438
7463
|
t && t.map((i, c) => {
|
|
7439
7464
|
if (c !== s)
|
|
7440
7465
|
return /* @__PURE__ */ a(
|
|
7441
|
-
|
|
7466
|
+
O,
|
|
7442
7467
|
{
|
|
7443
7468
|
className: He.linkStyled,
|
|
7444
7469
|
href: i?.link,
|
|
@@ -7502,7 +7527,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7502
7527
|
"aria-labelledby": "menu",
|
|
7503
7528
|
title: "menu",
|
|
7504
7529
|
children: /* @__PURE__ */ a(
|
|
7505
|
-
|
|
7530
|
+
bo,
|
|
7506
7531
|
{
|
|
7507
7532
|
className: Ie.startIcon,
|
|
7508
7533
|
color: "var(--header-icons)",
|
|
@@ -7513,7 +7538,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7513
7538
|
}
|
|
7514
7539
|
),
|
|
7515
7540
|
/* @__PURE__ */ a("div", { className: Ie.iconContent, children: /* @__PURE__ */ a(
|
|
7516
|
-
|
|
7541
|
+
O,
|
|
7517
7542
|
{
|
|
7518
7543
|
href: "/",
|
|
7519
7544
|
"aria-label": "Home",
|
|
@@ -7529,7 +7554,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7529
7554
|
!e.showAlertPop && t?.data && /* @__PURE__ */ m("div", { className: Ie.headLineContent, children: [
|
|
7530
7555
|
/* @__PURE__ */ a("div", { className: `${Ie.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
7531
7556
|
/* @__PURE__ */ a(
|
|
7532
|
-
|
|
7557
|
+
O,
|
|
7533
7558
|
{
|
|
7534
7559
|
className: Ie.headLine,
|
|
7535
7560
|
href: t.data[0]?.info.link.url,
|
|
@@ -7550,7 +7575,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7550
7575
|
].join(" "),
|
|
7551
7576
|
children: [
|
|
7552
7577
|
/* @__PURE__ */ a(
|
|
7553
|
-
|
|
7578
|
+
O,
|
|
7554
7579
|
{
|
|
7555
7580
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7556
7581
|
"aria-label": e.searchKeyWord,
|
|
@@ -7565,7 +7590,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7565
7590
|
)
|
|
7566
7591
|
] }),
|
|
7567
7592
|
!e.showAlertPop && /* @__PURE__ */ a(
|
|
7568
|
-
|
|
7593
|
+
Co,
|
|
7569
7594
|
{
|
|
7570
7595
|
alertZone: t,
|
|
7571
7596
|
forceShow: e.showAlertPop
|
|
@@ -7584,7 +7609,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7584
7609
|
const { items: t } = e;
|
|
7585
7610
|
return /* @__PURE__ */ a("ul", { className: Ve.ul, children: t.map((n, r) => /* @__PURE__ */ m("li", { className: `${Ve.liBefore} ${Ve.li}`, children: [
|
|
7586
7611
|
n.link ? /* @__PURE__ */ m(
|
|
7587
|
-
|
|
7612
|
+
O,
|
|
7588
7613
|
{
|
|
7589
7614
|
"aria-label": n.description,
|
|
7590
7615
|
className: Ve.linkStyled,
|
|
@@ -7600,7 +7625,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7600
7625
|
Array.isArray(n.subitem) && /* @__PURE__ */ a(bn, {})
|
|
7601
7626
|
] }),
|
|
7602
7627
|
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: Ve.ulContent, children: /* @__PURE__ */ a("div", { className: Ve.contentModal, children: n.subitem.map((o, s) => /* @__PURE__ */ a("li", { className: Ve.li, children: /* @__PURE__ */ a(
|
|
7603
|
-
|
|
7628
|
+
O,
|
|
7604
7629
|
{
|
|
7605
7630
|
className: Ve.itemLink,
|
|
7606
7631
|
"aria-label": o.description,
|
|
@@ -7652,19 +7677,19 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7652
7677
|
"aria-labelledby": "menu",
|
|
7653
7678
|
title: "menu",
|
|
7654
7679
|
children: [
|
|
7655
|
-
/* @__PURE__ */ a(
|
|
7680
|
+
/* @__PURE__ */ a(bo, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7656
7681
|
/* @__PURE__ */ a("p", { className: ye.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7657
7682
|
]
|
|
7658
7683
|
}
|
|
7659
7684
|
) }),
|
|
7660
|
-
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(
|
|
7685
|
+
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(O, { href: "/", "aria-label": "Home", className: "header-logo-link", children: Ee.createElement(
|
|
7661
7686
|
"span",
|
|
7662
7687
|
{ className: `${ye.logoStyled}` },
|
|
7663
7688
|
e.icon
|
|
7664
7689
|
) }) }),
|
|
7665
7690
|
/* @__PURE__ */ m("div", { className: ye.buttonSection, children: [
|
|
7666
7691
|
/* @__PURE__ */ a(
|
|
7667
|
-
|
|
7692
|
+
O,
|
|
7668
7693
|
{
|
|
7669
7694
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7670
7695
|
style: { display: "flex" },
|
|
@@ -7678,7 +7703,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7678
7703
|
!e.showAlertPop && n?.data ? /* @__PURE__ */ m("div", { className: ye.headLineContent, children: [
|
|
7679
7704
|
/* @__PURE__ */ a("p", { className: `${ye.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7680
7705
|
/* @__PURE__ */ a(
|
|
7681
|
-
|
|
7706
|
+
O,
|
|
7682
7707
|
{
|
|
7683
7708
|
className: ye.headLine,
|
|
7684
7709
|
href: n.data[0]?.info.link.url,
|
|
@@ -7724,7 +7749,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7724
7749
|
id: "content-layout",
|
|
7725
7750
|
children: [
|
|
7726
7751
|
e.showAlertPop && /* @__PURE__ */ a(
|
|
7727
|
-
|
|
7752
|
+
Co,
|
|
7728
7753
|
{
|
|
7729
7754
|
alertZone: t,
|
|
7730
7755
|
forceShow: e.showAlertPop,
|
|
@@ -7754,7 +7779,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7754
7779
|
tagStyled: lm
|
|
7755
7780
|
}, dm = (e) => /* @__PURE__ */ a("section", { className: gt.content, children: Array.isArray(e.tags) && /* @__PURE__ */ m("div", { className: gt.tags, children: [
|
|
7756
7781
|
/* @__PURE__ */ a("p", { className: gt.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7757
|
-
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(
|
|
7782
|
+
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(O, { href: Qr(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${gt.chipStyled} ${gt.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: gt.chipStyled, children: t.name }, n))
|
|
7758
7783
|
] }) }), um = "_contentBox_1rkkg_1", hm = "_content_1rkkg_1", mm = "_imageStyled_1rkkg_16", fm = "_contentIconStyled_1rkkg_23", gm = "_avatarContent_1rkkg_43", pm = "_journalistSection_1rkkg_50", Am = "_journalistInfo_1rkkg_56", wm = "_socialNetworkSection_1rkkg_70", ym = "_article_1rkkg_83", Pe = {
|
|
7759
7784
|
contentBox: um,
|
|
7760
7785
|
content: hm,
|
|
@@ -7770,7 +7795,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7770
7795
|
return t.addtional.USER_SHOWBIO && /* @__PURE__ */ a("section", { className: Pe.contentBox, children: /* @__PURE__ */ m("div", { className: Pe.content, children: [
|
|
7771
7796
|
/* @__PURE__ */ m("div", { className: Pe.avatarContent, children: [
|
|
7772
7797
|
/* @__PURE__ */ a(
|
|
7773
|
-
|
|
7798
|
+
O,
|
|
7774
7799
|
{
|
|
7775
7800
|
className: Pe.journalistInfo,
|
|
7776
7801
|
href: `/${e.paths.autor}/${t.info.name}`,
|
|
@@ -7787,7 +7812,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7787
7812
|
}
|
|
7788
7813
|
),
|
|
7789
7814
|
/* @__PURE__ */ m("section", { className: Pe.journalistSection, children: [
|
|
7790
|
-
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(
|
|
7815
|
+
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(O, { href: `/${e.paths.autor}/${t.info.name}`, children: t.info.fullname }) }),
|
|
7791
7816
|
/* @__PURE__ */ m("section", { className: Pe.socialNetworkSection, children: [
|
|
7792
7817
|
t.addtional.USER_USERFB && /* @__PURE__ */ a(
|
|
7793
7818
|
"a",
|
|
@@ -8026,7 +8051,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8026
8051
|
};
|
|
8027
8052
|
return /* @__PURE__ */ m("section", { className: `${Fe.content} destacado-super-content`, children: [
|
|
8028
8053
|
/* @__PURE__ */ a(
|
|
8029
|
-
|
|
8054
|
+
O,
|
|
8030
8055
|
{
|
|
8031
8056
|
href: e?.info?.link?.url,
|
|
8032
8057
|
target: e?.info?.link?.target,
|
|
@@ -8055,7 +8080,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8055
8080
|
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
8056
8081
|
},
|
|
8057
8082
|
children: [
|
|
8058
|
-
/* @__PURE__ */ a(
|
|
8083
|
+
/* @__PURE__ */ a(O, { className: Fe.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8059
8084
|
/* @__PURE__ */ m(
|
|
8060
8085
|
"div",
|
|
8061
8086
|
{
|
|
@@ -8063,9 +8088,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8063
8088
|
position: "relative"
|
|
8064
8089
|
},
|
|
8065
8090
|
children: [
|
|
8066
|
-
/* @__PURE__ */ a(
|
|
8091
|
+
/* @__PURE__ */ a(O, { className: Fe.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8067
8092
|
/* @__PURE__ */ a(
|
|
8068
|
-
|
|
8093
|
+
O,
|
|
8069
8094
|
{
|
|
8070
8095
|
className: Fe.linkTitle,
|
|
8071
8096
|
href: e?.info?.link?.url,
|
|
@@ -8095,7 +8120,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8095
8120
|
}
|
|
8096
8121
|
),
|
|
8097
8122
|
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8098
|
-
|
|
8123
|
+
O,
|
|
8099
8124
|
{
|
|
8100
8125
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
8101
8126
|
className: Fe.correspondent,
|
|
@@ -8159,7 +8184,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8159
8184
|
}
|
|
8160
8185
|
),
|
|
8161
8186
|
!e.rightOnlyBanner && /* @__PURE__ */ a(
|
|
8162
|
-
|
|
8187
|
+
wo,
|
|
8163
8188
|
{
|
|
8164
8189
|
block: e.block,
|
|
8165
8190
|
itemReverseOrder: c,
|
|
@@ -8247,9 +8272,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8247
8272
|
title: Wm,
|
|
8248
8273
|
subtitle: $m,
|
|
8249
8274
|
linkStyled: Ym
|
|
8250
|
-
},
|
|
8275
|
+
}, _o = (e) => /* @__PURE__ */ m("div", { className: qt.content, children: [
|
|
8251
8276
|
e?.mainNew?.info.section && /* @__PURE__ */ a(
|
|
8252
|
-
|
|
8277
|
+
O,
|
|
8253
8278
|
{
|
|
8254
8279
|
className: qt.sectionDescription,
|
|
8255
8280
|
href: e?.mainNew?.info?.section?.url,
|
|
@@ -8257,7 +8282,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8257
8282
|
}
|
|
8258
8283
|
),
|
|
8259
8284
|
/* @__PURE__ */ a(
|
|
8260
|
-
|
|
8285
|
+
O,
|
|
8261
8286
|
{
|
|
8262
8287
|
className: qt.title,
|
|
8263
8288
|
href: e?.mainNew?.info?.link?.url,
|
|
@@ -8266,7 +8291,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8266
8291
|
}
|
|
8267
8292
|
),
|
|
8268
8293
|
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: qt.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
8269
|
-
e.goTo && /* @__PURE__ */ a(
|
|
8294
|
+
e.goTo && /* @__PURE__ */ a(O, { href: e.goTo.url, className: qt.linkStyled, children: e.goTo.description })
|
|
8270
8295
|
] }), Km = "_headerSection_drjnj_1", Jm = "_headerSectionLink_drjnj_12", Zm = "_newsContent_drjnj_17", Qn = {
|
|
8271
8296
|
headerSection: Km,
|
|
8272
8297
|
headerSectionLink: Jm,
|
|
@@ -8286,9 +8311,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8286
8311
|
}, i = t.slice(1);
|
|
8287
8312
|
return s && i && /* @__PURE__ */ m(me, { title: n, titleUrl: e.titleUrl, children: [
|
|
8288
8313
|
/* @__PURE__ */ m("div", { className: Qn.headerSection, children: [
|
|
8289
|
-
/* @__PURE__ */ a(
|
|
8314
|
+
/* @__PURE__ */ a(_o, { mainNew: s, goTo: e.goTo }),
|
|
8290
8315
|
/* @__PURE__ */ a(
|
|
8291
|
-
|
|
8316
|
+
O,
|
|
8292
8317
|
{
|
|
8293
8318
|
className: Qn.headerSectionLink,
|
|
8294
8319
|
href: s?.info?.link?.url,
|
|
@@ -8348,7 +8373,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8348
8373
|
] });
|
|
8349
8374
|
return /* @__PURE__ */ m("div", { className: We.content, children: [
|
|
8350
8375
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8351
|
-
|
|
8376
|
+
O,
|
|
8352
8377
|
{
|
|
8353
8378
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8354
8379
|
children: s
|
|
@@ -8356,7 +8381,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8356
8381
|
) : s,
|
|
8357
8382
|
/* @__PURE__ */ m("div", { className: We.boxInformationContent, children: [
|
|
8358
8383
|
/* @__PURE__ */ a(
|
|
8359
|
-
|
|
8384
|
+
O,
|
|
8360
8385
|
{
|
|
8361
8386
|
className: We.title,
|
|
8362
8387
|
href: t?.info?.link?.url,
|
|
@@ -8556,7 +8581,7 @@ const o3 = (e) => {
|
|
|
8556
8581
|
children: r
|
|
8557
8582
|
}
|
|
8558
8583
|
);
|
|
8559
|
-
},
|
|
8584
|
+
}, No = (e) => /* @__PURE__ */ a(me, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
8560
8585
|
E2,
|
|
8561
8586
|
{
|
|
8562
8587
|
content: e.content,
|
|
@@ -8644,9 +8669,9 @@ const o3 = (e) => {
|
|
|
8644
8669
|
const o = t[0], s = e.slot_id && e.slot_id !== "Nota_1", i = t.slice(1);
|
|
8645
8670
|
return o && i && /* @__PURE__ */ m(me, { title: n, titleUrl: e.titleUrl, children: [
|
|
8646
8671
|
/* @__PURE__ */ m("div", { className: zn.headerSection, children: [
|
|
8647
|
-
/* @__PURE__ */ a(
|
|
8672
|
+
/* @__PURE__ */ a(_o, { goTo: e.goTo, mainNew: Dt(o) }),
|
|
8648
8673
|
/* @__PURE__ */ a(
|
|
8649
|
-
|
|
8674
|
+
O,
|
|
8650
8675
|
{
|
|
8651
8676
|
className: zn.headerSectionLink,
|
|
8652
8677
|
href: o?.info?.link.url,
|
|
@@ -8708,7 +8733,7 @@ const o3 = (e) => {
|
|
|
8708
8733
|
},
|
|
8709
8734
|
children: [
|
|
8710
8735
|
/* @__PURE__ */ a(
|
|
8711
|
-
|
|
8736
|
+
O,
|
|
8712
8737
|
{
|
|
8713
8738
|
className: Rt.linkImage,
|
|
8714
8739
|
target: e?.info?.link?.target,
|
|
@@ -8719,7 +8744,7 @@ const o3 = (e) => {
|
|
|
8719
8744
|
),
|
|
8720
8745
|
/* @__PURE__ */ m("div", { className: Rt.textContent, children: [
|
|
8721
8746
|
/* @__PURE__ */ a(
|
|
8722
|
-
|
|
8747
|
+
O,
|
|
8723
8748
|
{
|
|
8724
8749
|
className: Rt.sectionDescription,
|
|
8725
8750
|
target: e?.info?.link?.target,
|
|
@@ -8836,14 +8861,14 @@ const o3 = (e) => {
|
|
|
8836
8861
|
) : /* @__PURE__ */ a("div", { className: nt.contentIcon, children: e.autorIcon }),
|
|
8837
8862
|
/* @__PURE__ */ m("div", { className: nt.boxInformation, children: [
|
|
8838
8863
|
/* @__PURE__ */ a("p", { className: nt.authorName, children: t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8839
|
-
|
|
8864
|
+
O,
|
|
8840
8865
|
{
|
|
8841
8866
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8842
8867
|
children: t?.authors[0]?.fullname ?? "Redacción"
|
|
8843
8868
|
}
|
|
8844
8869
|
) : t?.authors[0]?.fullname ?? "Redacción" }),
|
|
8845
8870
|
/* @__PURE__ */ a("p", { className: nt.title, children: /* @__PURE__ */ a(
|
|
8846
|
-
|
|
8871
|
+
O,
|
|
8847
8872
|
{
|
|
8848
8873
|
className: nt.linkStyled,
|
|
8849
8874
|
href: t?.info?.link?.url,
|
|
@@ -8949,7 +8974,7 @@ const o3 = (e) => {
|
|
|
8949
8974
|
switch (e.option) {
|
|
8950
8975
|
case "op1":
|
|
8951
8976
|
return /* @__PURE__ */ a(
|
|
8952
|
-
|
|
8977
|
+
vo,
|
|
8953
8978
|
{
|
|
8954
8979
|
ranking: s,
|
|
8955
8980
|
readestTitle: c.readestTitle ?? "",
|
|
@@ -9334,7 +9359,7 @@ const Qf = async ({
|
|
|
9334
9359
|
Telegram: "telegram"
|
|
9335
9360
|
};
|
|
9336
9361
|
function zf({ url: e }) {
|
|
9337
|
-
return e && e !== "" && /* @__PURE__ */ m(
|
|
9362
|
+
return e && e !== "" && /* @__PURE__ */ m(O, { href: e, className: de.googleProfileButton, children: [
|
|
9338
9363
|
/* @__PURE__ */ a(
|
|
9339
9364
|
"svg",
|
|
9340
9365
|
{
|
|
@@ -9366,7 +9391,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9366
9391
|
if (!e.news || !e.news.authors) return null;
|
|
9367
9392
|
const { news: t, socials: n, texts: r } = e, o = t.authors.map(
|
|
9368
9393
|
(c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
|
|
9369
|
-
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } =
|
|
9394
|
+
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = J();
|
|
9370
9395
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ m("div", { className: de.avatarContent, children: [
|
|
9371
9396
|
i ? /* @__PURE__ */ m(
|
|
9372
9397
|
"a",
|
|
@@ -9467,7 +9492,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9467
9492
|
__html: e.rendered
|
|
9468
9493
|
}
|
|
9469
9494
|
}
|
|
9470
|
-
),
|
|
9495
|
+
), So = async ({
|
|
9471
9496
|
newsformated: e,
|
|
9472
9497
|
internal: t
|
|
9473
9498
|
}) => {
|
|
@@ -9583,7 +9608,7 @@ const e0 = (e) => /* @__PURE__ */ a(
|
|
|
9583
9608
|
), n0 = (e) => e.replace(
|
|
9584
9609
|
/<iframe(?![^>]*\btitle=)[^>]*>/gi,
|
|
9585
9610
|
(n) => n.replace("<iframe", '<iframe title="frame custom content"')
|
|
9586
|
-
),
|
|
9611
|
+
), Eo = async (e) => {
|
|
9587
9612
|
const t = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, n = [...e.matchAll(t)], r = {};
|
|
9588
9613
|
for (const o of n) {
|
|
9589
9614
|
const s = o[1] ?? "", i = e.includes(s) ? { url: s } : null;
|
|
@@ -9697,7 +9722,7 @@ async function s0(e, t) {
|
|
|
9697
9722
|
<figure class="videoFigure">
|
|
9698
9723
|
${f && f.data && f.data.data && /* @__PURE__ */ m("script", { type: "application/ld+json", children: [
|
|
9699
9724
|
"$",
|
|
9700
|
-
|
|
9725
|
+
Eo(
|
|
9701
9726
|
JSON.stringify(f.data.data) || ""
|
|
9702
9727
|
)
|
|
9703
9728
|
] })}
|
|
@@ -9721,7 +9746,7 @@ async function i0(e) {
|
|
|
9721
9746
|
getVideos: c
|
|
9722
9747
|
} = e;
|
|
9723
9748
|
let d = t?.body?.rendered ?? "";
|
|
9724
|
-
d = d.replace(/ /g, ""), d = a0(d, n), d = r0(d), d = await
|
|
9749
|
+
d = d.replace(/ /g, ""), d = a0(d, n), d = r0(d), d = await Eo(d), d = await o0(
|
|
9725
9750
|
d,
|
|
9726
9751
|
e.texts,
|
|
9727
9752
|
r
|
|
@@ -9729,12 +9754,12 @@ async function i0(e) {
|
|
|
9729
9754
|
const l = t.main.sources ?? [];
|
|
9730
9755
|
return /* @__PURE__ */ m("div", { className: en.content, children: [
|
|
9731
9756
|
o !== "liveblogs" && e.showHeaderImage ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ a(
|
|
9732
|
-
|
|
9757
|
+
So,
|
|
9733
9758
|
{
|
|
9734
9759
|
newsformated: t,
|
|
9735
9760
|
internal: t.info.link.internal
|
|
9736
9761
|
}
|
|
9737
|
-
) : /* @__PURE__ */ a(
|
|
9762
|
+
) : /* @__PURE__ */ a(yo, { preview: t.preview }) : null,
|
|
9738
9763
|
/* @__PURE__ */ a(ge, { banners: n, name: "block_1" }),
|
|
9739
9764
|
/* @__PURE__ */ a("div", { className: en.journalistArticleContent, children: /* @__PURE__ */ a(
|
|
9740
9765
|
Vf,
|
|
@@ -9854,7 +9879,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9854
9879
|
}, y0 = ({ news: e }) => {
|
|
9855
9880
|
const { config: t, hascontent: n, info: r } = e, o = t.articlepreview, s = r.link.internal, i = n?.hasgalleryimages;
|
|
9856
9881
|
if (o === rt.imagen && i)
|
|
9857
|
-
return /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(
|
|
9882
|
+
return /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(So, { newsformated: e, internal: s }) });
|
|
9858
9883
|
const c = o ? w0[o] : null;
|
|
9859
9884
|
return c ? /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(c, { newsformated: e, internal: s }) }) : null;
|
|
9860
9885
|
}, v0 = (e) => {
|
|
@@ -9988,7 +10013,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9988
10013
|
}, pr = {
|
|
9989
10014
|
banner: (e) => /* @__PURE__ */ a(ge, { ...e, name: e.slot_id.replace("Home", "block") }),
|
|
9990
10015
|
readest: (e) => /* @__PURE__ */ a(va, { ...e }),
|
|
9991
|
-
"Modulo 1x3": (e) => /* @__PURE__ */ a(
|
|
10016
|
+
"Modulo 1x3": (e) => /* @__PURE__ */ a(No, { ...e }),
|
|
9992
10017
|
"Modulo 1x4": (e) => /* @__PURE__ */ a(I2, { ...e }),
|
|
9993
10018
|
"Modulo 1x5": (e) => /* @__PURE__ */ a(R2, { ...e }),
|
|
9994
10019
|
"Destacado noticias": (e) => /* @__PURE__ */ a(Xm, { ...e }),
|
|
@@ -10001,7 +10026,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
10001
10026
|
"Carrusel opinion": (e) => /* @__PURE__ */ a(of, { ...e }),
|
|
10002
10027
|
"Modulo 1x3 card": (e) => /* @__PURE__ */ a(Y2, { ...e })
|
|
10003
10028
|
};
|
|
10004
|
-
function
|
|
10029
|
+
function xo({
|
|
10005
10030
|
component: e,
|
|
10006
10031
|
slot_id: t,
|
|
10007
10032
|
data: n,
|
|
@@ -10103,7 +10128,7 @@ const Ar = {
|
|
|
10103
10128
|
order: (h - 1) * l + (f - 1),
|
|
10104
10129
|
children: [
|
|
10105
10130
|
/* @__PURE__ */ a(
|
|
10106
|
-
|
|
10131
|
+
xo,
|
|
10107
10132
|
{
|
|
10108
10133
|
component: e[w].blockSass[0].block,
|
|
10109
10134
|
banners: s,
|
|
@@ -10139,7 +10164,7 @@ const Ar = {
|
|
|
10139
10164
|
config: n,
|
|
10140
10165
|
banners: r
|
|
10141
10166
|
}) => {
|
|
10142
|
-
const { PUBLIC_ENV: o } =
|
|
10167
|
+
const { PUBLIC_ENV: o } = J();
|
|
10143
10168
|
if (o !== "local") return null;
|
|
10144
10169
|
const s = e?.news?.data || [], i = (c, d) => ({
|
|
10145
10170
|
...e?.news,
|
|
@@ -10268,7 +10293,7 @@ const Ar = {
|
|
|
10268
10293
|
),
|
|
10269
10294
|
/* @__PURE__ */ a(dt, { children: /* @__PURE__ */ a(at, { banners: r, index: 2 }) }),
|
|
10270
10295
|
/* @__PURE__ */ a(
|
|
10271
|
-
|
|
10296
|
+
xo,
|
|
10272
10297
|
{
|
|
10273
10298
|
component: "Carrusel card",
|
|
10274
10299
|
banners: [],
|
|
@@ -10507,7 +10532,7 @@ const Ar = {
|
|
|
10507
10532
|
return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ m(or, { children: [
|
|
10508
10533
|
/* @__PURE__ */ a(eu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10509
10534
|
/* @__PURE__ */ a(
|
|
10510
|
-
|
|
10535
|
+
vo,
|
|
10511
10536
|
{
|
|
10512
10537
|
paths: e.paths,
|
|
10513
10538
|
ranking: c,
|
|
@@ -10590,7 +10615,7 @@ const Ar = {
|
|
|
10590
10615
|
/* @__PURE__ */ a(uu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10591
10616
|
Array.isArray(t) ? /* @__PURE__ */ m(K, { children: [
|
|
10592
10617
|
/* @__PURE__ */ a(
|
|
10593
|
-
|
|
10618
|
+
No,
|
|
10594
10619
|
{
|
|
10595
10620
|
content: t,
|
|
10596
10621
|
title: "",
|
|
@@ -10661,7 +10686,7 @@ const Ar = {
|
|
|
10661
10686
|
const { size: t = "longer", video: n } = e, r = n.main.image.sizes[0]?.url ?? "";
|
|
10662
10687
|
return /* @__PURE__ */ a("figure", { className: Ot.figure, children: /* @__PURE__ */ m("span", { className: Ot.backdrop, children: [
|
|
10663
10688
|
/* @__PURE__ */ a("span", { className: Ot.backDropAux }),
|
|
10664
|
-
/* @__PURE__ */ a(
|
|
10689
|
+
/* @__PURE__ */ a(O, { href: n.info.link.url, target: n.info.link.target, children: /* @__PURE__ */ m("div", { children: [
|
|
10665
10690
|
n.main.image.sizes.map(async (o, s) => o.width >= 580 ? /* @__PURE__ */ a(
|
|
10666
10691
|
"source",
|
|
10667
10692
|
{
|
|
@@ -10716,7 +10741,7 @@ const Ar = {
|
|
|
10716
10741
|
}, _g = (e) => {
|
|
10717
10742
|
const { video: t } = e;
|
|
10718
10743
|
return /* @__PURE__ */ a(
|
|
10719
|
-
|
|
10744
|
+
O,
|
|
10720
10745
|
{
|
|
10721
10746
|
href: t.info.link.url ? t.info.link.url : void 0,
|
|
10722
10747
|
target: t.info.link.target,
|
|
@@ -10743,7 +10768,7 @@ const Ar = {
|
|
|
10743
10768
|
/* @__PURE__ */ a(_g, { video: e.video }),
|
|
10744
10769
|
/* @__PURE__ */ m("div", { className: it.articleSection, children: [
|
|
10745
10770
|
/* @__PURE__ */ a(
|
|
10746
|
-
|
|
10771
|
+
O,
|
|
10747
10772
|
{
|
|
10748
10773
|
className: it.title,
|
|
10749
10774
|
href: e.video.info.link.url,
|
|
@@ -10809,18 +10834,18 @@ const Sg = (e) => {
|
|
|
10809
10834
|
hasShadow: r = !1,
|
|
10810
10835
|
BackDropAuxHeigthMobile: o
|
|
10811
10836
|
//isVisible,
|
|
10812
|
-
} = e, s =
|
|
10837
|
+
} = e, s = jo(
|
|
10813
10838
|
() => e?.preview?.sizes || [],
|
|
10814
10839
|
[e?.preview?.sizes]
|
|
10815
10840
|
);
|
|
10816
10841
|
if (!s.length || !s[0]?.url || s[0]?.url === "")
|
|
10817
|
-
return /* @__PURE__ */ a("div", { className:
|
|
10818
|
-
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } =
|
|
10819
|
-
return /* @__PURE__ */ a("figure", { className:
|
|
10842
|
+
return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
|
|
10843
|
+
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } = J();
|
|
10844
|
+
return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ m("span", { className: se.backdrop, children: [
|
|
10820
10845
|
/* @__PURE__ */ a(
|
|
10821
10846
|
"span",
|
|
10822
10847
|
{
|
|
10823
|
-
className:
|
|
10848
|
+
className: se.backdropAux,
|
|
10824
10849
|
style: {
|
|
10825
10850
|
height: o || "56.25%"
|
|
10826
10851
|
}
|
|
@@ -10832,7 +10857,7 @@ const Sg = (e) => {
|
|
|
10832
10857
|
{
|
|
10833
10858
|
fetchPriority: "low",
|
|
10834
10859
|
loading: "lazy",
|
|
10835
|
-
className:
|
|
10860
|
+
className: se.imageStyled,
|
|
10836
10861
|
alt: e.preview?.description || "",
|
|
10837
10862
|
src: (c === "local" ? i : "") + s[0]?.url,
|
|
10838
10863
|
style: {
|
|
@@ -10844,14 +10869,14 @@ const Sg = (e) => {
|
|
|
10844
10869
|
/* @__PURE__ */ a(
|
|
10845
10870
|
"div",
|
|
10846
10871
|
{
|
|
10847
|
-
className:
|
|
10872
|
+
className: se.boxPlayIcon,
|
|
10848
10873
|
style: { height: n ? "40%" : "72px" }
|
|
10849
10874
|
}
|
|
10850
10875
|
),
|
|
10851
10876
|
/* @__PURE__ */ a(
|
|
10852
10877
|
vt,
|
|
10853
10878
|
{
|
|
10854
|
-
className:
|
|
10879
|
+
className: se.playStyled,
|
|
10855
10880
|
style: {
|
|
10856
10881
|
width: n ? "3rem" : "27px",
|
|
10857
10882
|
height: n ? "3rem" : "27px",
|
|
@@ -11008,7 +11033,7 @@ const Sg = (e) => {
|
|
|
11008
11033
|
style: { order: s },
|
|
11009
11034
|
children: /* @__PURE__ */ m("section", { className: Pt.content, children: [
|
|
11010
11035
|
/* @__PURE__ */ a(
|
|
11011
|
-
|
|
11036
|
+
O,
|
|
11012
11037
|
{
|
|
11013
11038
|
title: i?.title?.section,
|
|
11014
11039
|
href: d?.link?.url ?? "invalidUrl",
|
|
@@ -11055,23 +11080,23 @@ const Sg = (e) => {
|
|
|
11055
11080
|
const s = e.authors[0], i = Me(e.info?.date?.modified);
|
|
11056
11081
|
return s && e?.config?.showtime && e.config?.showauthor ? `${s.fullname} - ${i}` : s && e.config?.showauthor ? s.fullname : e?.config?.showtime ? i : "";
|
|
11057
11082
|
})();
|
|
11058
|
-
return /* @__PURE__ */ m("div", { className:
|
|
11059
|
-
t && /* @__PURE__ */ a(Eg, { className:
|
|
11060
|
-
e?.info?.section?.url && /* @__PURE__ */ m("div", { className:
|
|
11083
|
+
return /* @__PURE__ */ m("div", { className: re.boxInformation, children: [
|
|
11084
|
+
t && /* @__PURE__ */ a(Eg, { className: re.dotStyles }),
|
|
11085
|
+
e?.info?.section?.url && /* @__PURE__ */ m("div", { className: re.sectionDescriptionContainer, children: [
|
|
11061
11086
|
/* @__PURE__ */ a(
|
|
11062
|
-
|
|
11087
|
+
O,
|
|
11063
11088
|
{
|
|
11064
|
-
className:
|
|
11089
|
+
className: re.sectionDescription,
|
|
11065
11090
|
href: e.info.section.url ?? "invalidUrl",
|
|
11066
11091
|
children: e.info.section.name
|
|
11067
11092
|
}
|
|
11068
11093
|
),
|
|
11069
|
-
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className:
|
|
11094
|
+
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className: re.uppertitle, children: e.main.uppertitle })
|
|
11070
11095
|
] }),
|
|
11071
|
-
/* @__PURE__ */ a("h2", { className:
|
|
11072
|
-
|
|
11096
|
+
/* @__PURE__ */ a("h2", { className: re.articule, children: /* @__PURE__ */ a(
|
|
11097
|
+
O,
|
|
11073
11098
|
{
|
|
11074
|
-
className:
|
|
11099
|
+
className: re.linkStyled,
|
|
11075
11100
|
style: {
|
|
11076
11101
|
"--isLink": e?.info?.link?.url ? "underline" : "none"
|
|
11077
11102
|
},
|
|
@@ -11084,7 +11109,7 @@ const Sg = (e) => {
|
|
|
11084
11109
|
e.config?.showsubtitle && e.main?.subtitle?.striped && /* @__PURE__ */ a(
|
|
11085
11110
|
"p",
|
|
11086
11111
|
{
|
|
11087
|
-
className:
|
|
11112
|
+
className: re.description,
|
|
11088
11113
|
style: {
|
|
11089
11114
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
11090
11115
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
@@ -11094,13 +11119,13 @@ const Sg = (e) => {
|
|
|
11094
11119
|
}
|
|
11095
11120
|
),
|
|
11096
11121
|
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
11097
|
-
|
|
11122
|
+
O,
|
|
11098
11123
|
{
|
|
11099
|
-
className:
|
|
11124
|
+
className: re.correspondentLink,
|
|
11100
11125
|
href: `/autor/${e.authors[0].name}`,
|
|
11101
11126
|
children: o
|
|
11102
11127
|
}
|
|
11103
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
11128
|
+
) : /* @__PURE__ */ a("div", { className: re.correspondent, children: o }) })
|
|
11104
11129
|
] });
|
|
11105
11130
|
}, kg = ({
|
|
11106
11131
|
user: e,
|
|
@@ -11160,11 +11185,11 @@ const Sg = (e) => {
|
|
|
11160
11185
|
successMessage: Wg,
|
|
11161
11186
|
errorMessage: $g,
|
|
11162
11187
|
loadingContainer: Yg
|
|
11163
|
-
},
|
|
11164
|
-
const { PUBLIC_ENV: t } =
|
|
11188
|
+
}, To = async (e) => {
|
|
11189
|
+
const { PUBLIC_ENV: t } = J();
|
|
11165
11190
|
if (t === "local") return !0;
|
|
11166
11191
|
if (!e) return !1;
|
|
11167
|
-
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o } =
|
|
11192
|
+
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o } = J();
|
|
11168
11193
|
try {
|
|
11169
11194
|
const s = n, i = r, l = await (await fetch(
|
|
11170
11195
|
`https://recaptchaenterprise.googleapis.com/v1/projects/${s}/assessments?key=${o}`,
|
|
@@ -11199,7 +11224,7 @@ async function v3({
|
|
|
11199
11224
|
);
|
|
11200
11225
|
if (typeof e != "string" || typeof t != "string" || typeof n != "string" || typeof r != "string" || typeof s != "string")
|
|
11201
11226
|
throw new Error("Todos los parámetros deben ser strings");
|
|
11202
|
-
if (!await
|
|
11227
|
+
if (!await To(s))
|
|
11203
11228
|
throw new Error("Token de captcha inválido");
|
|
11204
11229
|
if (!i)
|
|
11205
11230
|
throw new Error("Falta el token de API del CMS");
|
|
@@ -11218,7 +11243,7 @@ async function v3({
|
|
|
11218
11243
|
encodedType: d,
|
|
11219
11244
|
url: u
|
|
11220
11245
|
});
|
|
11221
|
-
const h = await
|
|
11246
|
+
const h = await oe.post(u, null, {
|
|
11222
11247
|
headers: {
|
|
11223
11248
|
"User-Agent": "Bluestack",
|
|
11224
11249
|
"x-api-token": i,
|
|
@@ -11234,7 +11259,7 @@ async function v3({
|
|
|
11234
11259
|
};
|
|
11235
11260
|
throw new Error(`Respuesta inesperada del servidor: ${h.status}`);
|
|
11236
11261
|
} catch (h) {
|
|
11237
|
-
if (console.error("Error reporting comment:", h),
|
|
11262
|
+
if (console.error("Error reporting comment:", h), oe.isAxiosError(h)) {
|
|
11238
11263
|
const f = h.response?.status, w = h.response?.data;
|
|
11239
11264
|
throw f === 400 ? new Error("Datos inválidos para el reporte") : f === 401 ? new Error("Token de API inválido") : f === 403 ? new Error("Acceso denegado para reportar comentario") : f === 404 ? new Error("Comentario no encontrado") : f === 409 ? new Error("El comentario ya fue reportado por este usuario") : f === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
11240
11265
|
w?.error || w?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
@@ -11268,9 +11293,9 @@ function Kg(e) {
|
|
|
11268
11293
|
}
|
|
11269
11294
|
const Ea = (e, t) => {
|
|
11270
11295
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
11271
|
-
const n = e.current?.value || "", r = n.length > ht, { PUBLIC_ENV: o } =
|
|
11296
|
+
const n = e.current?.value || "", r = n.length > ht, { PUBLIC_ENV: o } = J(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ht} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
11272
11297
|
return { boolean: i, text: c };
|
|
11273
|
-
},
|
|
11298
|
+
}, Io = (e) => {
|
|
11274
11299
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
11275
11300
|
if (!t) return [];
|
|
11276
11301
|
try {
|
|
@@ -11279,7 +11304,7 @@ const Ea = (e, t) => {
|
|
|
11279
11304
|
return [];
|
|
11280
11305
|
}
|
|
11281
11306
|
}, Jg = (e, t) => {
|
|
11282
|
-
const n =
|
|
11307
|
+
const n = Io(e);
|
|
11283
11308
|
n.includes(t) || (n.push(t), e.cookie = `reported=${encodeURIComponent(
|
|
11284
11309
|
JSON.stringify(n)
|
|
11285
11310
|
)}; path=/; max-age=${3600 * 24 * 1}`);
|
|
@@ -11403,7 +11428,7 @@ function ep() {
|
|
|
11403
11428
|
}
|
|
11404
11429
|
}
|
|
11405
11430
|
}
|
|
11406
|
-
var v = d, B = l, R = c, Y = i, te = t, Q = u,
|
|
11431
|
+
var v = d, B = l, R = c, Y = i, te = t, Q = u, P = r, ee = g, ce = w, M = n, U = s, E = o, D = h, T = !1;
|
|
11407
11432
|
function z(q) {
|
|
11408
11433
|
return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(q) || x(q) === d;
|
|
11409
11434
|
}
|
|
@@ -11431,7 +11456,7 @@ function ep() {
|
|
|
11431
11456
|
function V(q) {
|
|
11432
11457
|
return x(q) === w;
|
|
11433
11458
|
}
|
|
11434
|
-
function
|
|
11459
|
+
function Z(q) {
|
|
11435
11460
|
return x(q) === n;
|
|
11436
11461
|
}
|
|
11437
11462
|
function X(q) {
|
|
@@ -11443,7 +11468,7 @@ function ep() {
|
|
|
11443
11468
|
function ie(q) {
|
|
11444
11469
|
return x(q) === h;
|
|
11445
11470
|
}
|
|
11446
|
-
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment =
|
|
11471
|
+
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = P, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler = U, ae.StrictMode = E, ae.Suspense = D, ae.isAsyncMode = z, ae.isConcurrentMode = y, ae.isContextConsumer = C, ae.isContextProvider = k, ae.isElement = j, ae.isForwardRef = L, ae.isFragment = G, ae.isLazy = H, ae.isMemo = V, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = F, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
|
|
11447
11472
|
})()), ae;
|
|
11448
11473
|
}
|
|
11449
11474
|
var Nr;
|
|
@@ -11504,7 +11529,7 @@ function Ta() {
|
|
|
11504
11529
|
return $n = e, $n;
|
|
11505
11530
|
}
|
|
11506
11531
|
var Yn, xr;
|
|
11507
|
-
function
|
|
11532
|
+
function Uo() {
|
|
11508
11533
|
return xr || (xr = 1, Yn = Function.call.bind(Object.prototype.hasOwnProperty)), Yn;
|
|
11509
11534
|
}
|
|
11510
11535
|
var Kn, Tr;
|
|
@@ -11514,7 +11539,7 @@ function np() {
|
|
|
11514
11539
|
var e = function() {
|
|
11515
11540
|
};
|
|
11516
11541
|
if (process.env.NODE_ENV !== "production") {
|
|
11517
|
-
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */
|
|
11542
|
+
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */ Uo();
|
|
11518
11543
|
e = function(s) {
|
|
11519
11544
|
var i = "Warning: " + s;
|
|
11520
11545
|
typeof console < "u" && console.error(i);
|
|
@@ -11560,7 +11585,7 @@ var Jn, Ir;
|
|
|
11560
11585
|
function ap() {
|
|
11561
11586
|
if (Ir) return Jn;
|
|
11562
11587
|
Ir = 1;
|
|
11563
|
-
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */
|
|
11588
|
+
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */ Uo(), o = /* @__PURE__ */ np(), s = function() {
|
|
11564
11589
|
};
|
|
11565
11590
|
process.env.NODE_ENV !== "production" && (s = function(c) {
|
|
11566
11591
|
var d = "Warning: " + c;
|
|
@@ -11611,31 +11636,31 @@ function ap() {
|
|
|
11611
11636
|
function A(y) {
|
|
11612
11637
|
if (process.env.NODE_ENV !== "production")
|
|
11613
11638
|
var C = {}, k = 0;
|
|
11614
|
-
function j(G, H, V,
|
|
11615
|
-
if (
|
|
11639
|
+
function j(G, H, V, Z, X, F, ie) {
|
|
11640
|
+
if (Z = Z || f, F = F || V, ie !== n) {
|
|
11616
11641
|
if (d) {
|
|
11617
11642
|
var q = new Error(
|
|
11618
11643
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
11619
11644
|
);
|
|
11620
11645
|
throw q.name = "Invariant Violation", q;
|
|
11621
11646
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
11622
|
-
var Ae =
|
|
11647
|
+
var Ae = Z + ":" + V;
|
|
11623
11648
|
!C[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
11624
11649
|
k < 3 && (s(
|
|
11625
|
-
"You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" +
|
|
11650
|
+
"You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
11626
11651
|
), C[Ae] = !0, k++);
|
|
11627
11652
|
}
|
|
11628
11653
|
}
|
|
11629
|
-
return H[V] == null ? G ? H[V] === null ? new p("The " + X + " `" + F + "` is marked as required " + ("in `" +
|
|
11654
|
+
return H[V] == null ? G ? H[V] === null ? new p("The " + X + " `" + F + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new p("The " + X + " `" + F + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : y(H, V, Z, X, F);
|
|
11630
11655
|
}
|
|
11631
11656
|
var L = j.bind(null, !1);
|
|
11632
11657
|
return L.isRequired = j.bind(null, !0), L;
|
|
11633
11658
|
}
|
|
11634
11659
|
function _(y) {
|
|
11635
11660
|
function C(k, j, L, G, H, V) {
|
|
11636
|
-
var
|
|
11661
|
+
var Z = k[j], X = E(Z);
|
|
11637
11662
|
if (X !== y) {
|
|
11638
|
-
var F =
|
|
11663
|
+
var F = D(Z);
|
|
11639
11664
|
return new p(
|
|
11640
11665
|
"Invalid " + G + " `" + H + "` of type " + ("`" + F + "` supplied to `" + L + "`, expected ") + ("`" + y + "`."),
|
|
11641
11666
|
{ expectedType: y }
|
|
@@ -11654,8 +11679,8 @@ function ap() {
|
|
|
11654
11679
|
return new p("Property `" + H + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
11655
11680
|
var V = k[j];
|
|
11656
11681
|
if (!Array.isArray(V)) {
|
|
11657
|
-
var
|
|
11658
|
-
return new p("Invalid " + G + " `" + H + "` of type " + ("`" +
|
|
11682
|
+
var Z = E(V);
|
|
11683
|
+
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an array."));
|
|
11659
11684
|
}
|
|
11660
11685
|
for (var X = 0; X < V.length; X++) {
|
|
11661
11686
|
var F = y(V, X, L, G, H + "[" + X + "]", n);
|
|
@@ -11691,8 +11716,8 @@ function ap() {
|
|
|
11691
11716
|
function B(y) {
|
|
11692
11717
|
function C(k, j, L, G, H) {
|
|
11693
11718
|
if (!(k[j] instanceof y)) {
|
|
11694
|
-
var V = y.name || f,
|
|
11695
|
-
return new p("Invalid " + G + " `" + H + "` of type " + ("`" +
|
|
11719
|
+
var V = y.name || f, Z = z(k[j]);
|
|
11720
|
+
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected ") + ("instance of `" + V + "`."));
|
|
11696
11721
|
}
|
|
11697
11722
|
return null;
|
|
11698
11723
|
}
|
|
@@ -11704,11 +11729,11 @@ function ap() {
|
|
|
11704
11729
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
11705
11730
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
11706
11731
|
function C(k, j, L, G, H) {
|
|
11707
|
-
for (var V = k[j],
|
|
11708
|
-
if (g(V, y[
|
|
11732
|
+
for (var V = k[j], Z = 0; Z < y.length; Z++)
|
|
11733
|
+
if (g(V, y[Z]))
|
|
11709
11734
|
return null;
|
|
11710
11735
|
var X = JSON.stringify(y, function(ie, q) {
|
|
11711
|
-
var Ae =
|
|
11736
|
+
var Ae = D(q);
|
|
11712
11737
|
return Ae === "symbol" ? String(q) : q;
|
|
11713
11738
|
});
|
|
11714
11739
|
return new p("Invalid " + G + " `" + H + "` of value `" + String(V) + "` " + ("supplied to `" + L + "`, expected one of " + X + "."));
|
|
@@ -11719,9 +11744,9 @@ function ap() {
|
|
|
11719
11744
|
function C(k, j, L, G, H) {
|
|
11720
11745
|
if (typeof y != "function")
|
|
11721
11746
|
return new p("Property `" + H + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
11722
|
-
var V = k[j],
|
|
11723
|
-
if (
|
|
11724
|
-
return new p("Invalid " + G + " `" + H + "` of type " + ("`" +
|
|
11747
|
+
var V = k[j], Z = E(V);
|
|
11748
|
+
if (Z !== "object")
|
|
11749
|
+
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an object."));
|
|
11725
11750
|
for (var X in V)
|
|
11726
11751
|
if (r(V, X)) {
|
|
11727
11752
|
var F = y(V, X, L, G, H + "." + X, n);
|
|
@@ -11742,15 +11767,15 @@ function ap() {
|
|
|
11742
11767
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(k) + " at index " + C + "."
|
|
11743
11768
|
), i;
|
|
11744
11769
|
}
|
|
11745
|
-
function j(L, G, H, V,
|
|
11770
|
+
function j(L, G, H, V, Z) {
|
|
11746
11771
|
for (var X = [], F = 0; F < y.length; F++) {
|
|
11747
|
-
var ie = y[F], q = ie(L, G, H, V,
|
|
11772
|
+
var ie = y[F], q = ie(L, G, H, V, Z, n);
|
|
11748
11773
|
if (q == null)
|
|
11749
11774
|
return null;
|
|
11750
11775
|
q.data && r(q.data, "expectedType") && X.push(q.data.expectedType);
|
|
11751
11776
|
}
|
|
11752
11777
|
var Ae = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
11753
|
-
return new p("Invalid " + V + " `" +
|
|
11778
|
+
return new p("Invalid " + V + " `" + Z + "` supplied to " + ("`" + H + "`" + Ae + "."));
|
|
11754
11779
|
}
|
|
11755
11780
|
return A(j);
|
|
11756
11781
|
}
|
|
@@ -11760,20 +11785,20 @@ function ap() {
|
|
|
11760
11785
|
}
|
|
11761
11786
|
return A(y);
|
|
11762
11787
|
}
|
|
11763
|
-
function
|
|
11788
|
+
function P(y, C, k, j, L) {
|
|
11764
11789
|
return new p(
|
|
11765
11790
|
(y || "React class") + ": " + C + " type `" + k + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
11766
11791
|
);
|
|
11767
11792
|
}
|
|
11768
11793
|
function ee(y) {
|
|
11769
11794
|
function C(k, j, L, G, H) {
|
|
11770
|
-
var V = k[j],
|
|
11771
|
-
if (
|
|
11772
|
-
return new p("Invalid " + G + " `" + H + "` of type `" +
|
|
11795
|
+
var V = k[j], Z = E(V);
|
|
11796
|
+
if (Z !== "object")
|
|
11797
|
+
return new p("Invalid " + G + " `" + H + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
11773
11798
|
for (var X in y) {
|
|
11774
11799
|
var F = y[X];
|
|
11775
11800
|
if (typeof F != "function")
|
|
11776
|
-
return
|
|
11801
|
+
return P(L, G, H, X, D(F));
|
|
11777
11802
|
var ie = F(V, X, L, G, H + "." + X, n);
|
|
11778
11803
|
if (ie)
|
|
11779
11804
|
return ie;
|
|
@@ -11784,14 +11809,14 @@ function ap() {
|
|
|
11784
11809
|
}
|
|
11785
11810
|
function ce(y) {
|
|
11786
11811
|
function C(k, j, L, G, H) {
|
|
11787
|
-
var V = k[j],
|
|
11788
|
-
if (
|
|
11789
|
-
return new p("Invalid " + G + " `" + H + "` of type `" +
|
|
11812
|
+
var V = k[j], Z = E(V);
|
|
11813
|
+
if (Z !== "object")
|
|
11814
|
+
return new p("Invalid " + G + " `" + H + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
11790
11815
|
var X = t({}, k[j], y);
|
|
11791
11816
|
for (var F in X) {
|
|
11792
11817
|
var ie = y[F];
|
|
11793
11818
|
if (r(y, F) && typeof ie != "function")
|
|
11794
|
-
return
|
|
11819
|
+
return P(L, G, H, F, D(ie));
|
|
11795
11820
|
if (!ie)
|
|
11796
11821
|
return new p(
|
|
11797
11822
|
"Invalid " + G + " `" + H + "` key `" + F + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
@@ -11845,7 +11870,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11845
11870
|
var C = typeof y;
|
|
11846
11871
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : U(C, y) ? "symbol" : C;
|
|
11847
11872
|
}
|
|
11848
|
-
function
|
|
11873
|
+
function D(y) {
|
|
11849
11874
|
if (typeof y > "u" || y === null)
|
|
11850
11875
|
return "" + y;
|
|
11851
11876
|
var C = E(y);
|
|
@@ -11858,7 +11883,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11858
11883
|
return C;
|
|
11859
11884
|
}
|
|
11860
11885
|
function T(y) {
|
|
11861
|
-
var C =
|
|
11886
|
+
var C = D(y);
|
|
11862
11887
|
switch (C) {
|
|
11863
11888
|
case "array":
|
|
11864
11889
|
case "object":
|
|
@@ -12209,8 +12234,8 @@ function pp(e, t) {
|
|
|
12209
12234
|
var B = function(Y) {
|
|
12210
12235
|
if (Re[f]) {
|
|
12211
12236
|
var te = Re[f], Q = te.observers;
|
|
12212
|
-
for (var
|
|
12213
|
-
Y(Q[
|
|
12237
|
+
for (var P in Q)
|
|
12238
|
+
Y(Q[P]) && delete Q[P];
|
|
12214
12239
|
}
|
|
12215
12240
|
};
|
|
12216
12241
|
A && typeof window < "u" && (window[A] = function() {
|
|
@@ -12239,7 +12264,7 @@ function pp(e, t) {
|
|
|
12239
12264
|
var w = f.forwardedRef, g = mp(f, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12240
12265
|
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = w, ot(r, g);
|
|
12241
12266
|
}, d;
|
|
12242
|
-
})(
|
|
12267
|
+
})(Qo), i = Or(function(c, d) {
|
|
12243
12268
|
return ot(s, ua({}, c, {
|
|
12244
12269
|
forwardedRef: d
|
|
12245
12270
|
}));
|
|
@@ -12257,7 +12282,7 @@ function wp() {
|
|
|
12257
12282
|
var e = ma(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12258
12283
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ha + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ha + "&render=explicit";
|
|
12259
12284
|
}
|
|
12260
|
-
const
|
|
12285
|
+
const ko = pp(wp, {
|
|
12261
12286
|
callbackName: ha,
|
|
12262
12287
|
globalName: Ap,
|
|
12263
12288
|
attributes: ma().nonce ? {
|
|
@@ -12330,7 +12355,7 @@ const Uo = pp(wp, {
|
|
|
12330
12355
|
{ id: "bullying", label: Ye.bullying }
|
|
12331
12356
|
], g = async () => {
|
|
12332
12357
|
if (!(!c || !n)) {
|
|
12333
|
-
if (
|
|
12358
|
+
if (Io(document).includes(n)) {
|
|
12334
12359
|
u("Ya has reportado este comentario.");
|
|
12335
12360
|
return;
|
|
12336
12361
|
}
|
|
@@ -12385,7 +12410,7 @@ const Uo = pp(wp, {
|
|
|
12385
12410
|
] }, A.id)) }),
|
|
12386
12411
|
l && /* @__PURE__ */ a("div", { className: ue.errorMessage, children: l }),
|
|
12387
12412
|
/* @__PURE__ */ a(
|
|
12388
|
-
|
|
12413
|
+
ko,
|
|
12389
12414
|
{
|
|
12390
12415
|
sitekey: "",
|
|
12391
12416
|
theme: "light",
|
|
@@ -12447,7 +12472,7 @@ async function Ia({
|
|
|
12447
12472
|
state: i = "5,6",
|
|
12448
12473
|
apiToken: c
|
|
12449
12474
|
}) {
|
|
12450
|
-
const { PUBLIC_ENV: d } =
|
|
12475
|
+
const { PUBLIC_ENV: d } = J();
|
|
12451
12476
|
if (d === "prod")
|
|
12452
12477
|
return (await Fp({
|
|
12453
12478
|
publication: e,
|
|
@@ -12482,12 +12507,12 @@ async function Fp({
|
|
|
12482
12507
|
throw new Error("Invalid input types for publication or path");
|
|
12483
12508
|
if (!c)
|
|
12484
12509
|
throw new Error("Missing CMS API token");
|
|
12485
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } =
|
|
12510
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = J(), f = parseInt(String(n), 10), w = parseInt(String(r), 10);
|
|
12486
12511
|
if (isNaN(f) || f <= 0)
|
|
12487
12512
|
throw new Error("Invalid size parameter");
|
|
12488
12513
|
if (isNaN(w) || w < 0)
|
|
12489
12514
|
throw new Error("Invalid sizereply parameter");
|
|
12490
|
-
const g = d !== "prod" ? `${l}${u}` :
|
|
12515
|
+
const g = d !== "prod" ? `${l}${u}` : hs(), p = new URLSearchParams({
|
|
12491
12516
|
publication: e,
|
|
12492
12517
|
path: t,
|
|
12493
12518
|
size: f.toString(),
|
|
@@ -12498,7 +12523,7 @@ async function Fp({
|
|
|
12498
12523
|
const A = `${g}${h}/newcomments/get?${p.toString()}`;
|
|
12499
12524
|
try {
|
|
12500
12525
|
console.log("Fetching comments from:", A);
|
|
12501
|
-
const { data: _ } = await
|
|
12526
|
+
const { data: _ } = await oe.get(A, {
|
|
12502
12527
|
headers: {
|
|
12503
12528
|
"x-api-token": c,
|
|
12504
12529
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -12510,19 +12535,19 @@ async function Fp({
|
|
|
12510
12535
|
throw new Error("No comments data received");
|
|
12511
12536
|
return _.data || _ || [];
|
|
12512
12537
|
} catch (_) {
|
|
12513
|
-
if (console.error("Error fetching comments:", _),
|
|
12538
|
+
if (console.error("Error fetching comments:", _), oe.isAxiosError(_)) {
|
|
12514
12539
|
const S = _.response?.status, N = _.response?.data;
|
|
12515
12540
|
throw S === 404 ? new Error("Comments not found") : S === 403 ? new Error("Access forbidden - check API token") : S === 401 ? new Error("Unauthorized - invalid API token") : S === 500 ? new Error("Internal server error from CMS") : new Error(N?.error || N?.message || `HTTP ${S}: Failed to fetch comments`);
|
|
12516
12541
|
}
|
|
12517
12542
|
throw _;
|
|
12518
12543
|
}
|
|
12519
12544
|
}
|
|
12520
|
-
const { PUBLIC_PUBLICATION_ID: Wp } =
|
|
12545
|
+
const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
12521
12546
|
const [t, n] = $(void 0);
|
|
12522
12547
|
return De(() => {
|
|
12523
12548
|
if (t) return;
|
|
12524
12549
|
(async () => {
|
|
12525
|
-
const { PUBLIC_X_SECURITY_TOKEN: o } =
|
|
12550
|
+
const { PUBLIC_X_SECURITY_TOKEN: o } = J();
|
|
12526
12551
|
try {
|
|
12527
12552
|
const s = await Ia({
|
|
12528
12553
|
publication: $p,
|
|
@@ -12540,18 +12565,18 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12540
12565
|
}
|
|
12541
12566
|
})();
|
|
12542
12567
|
}, [t]), { comments: t, setComments: n };
|
|
12543
|
-
},
|
|
12568
|
+
}, qo = ({ username: e, date: t }) => /* @__PURE__ */ m("div", { className: "comment-header", children: [
|
|
12544
12569
|
/* @__PURE__ */ a("span", { className: "comment-username", children: e }),
|
|
12545
12570
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
12546
12571
|
/* @__PURE__ */ a("span", { className: "comment-date", children: Kg(Me(Number(t))) })
|
|
12547
|
-
] }),
|
|
12572
|
+
] }), Ro = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
|
|
12548
12573
|
"img",
|
|
12549
12574
|
{
|
|
12550
12575
|
className: "comment-avatar-img",
|
|
12551
12576
|
src: e.picture,
|
|
12552
12577
|
alt: e.username
|
|
12553
12578
|
}
|
|
12554
|
-
) : e.firstname.charAt(0).toUpperCase() }),
|
|
12579
|
+
) : e.firstname.charAt(0).toUpperCase() }), Lo = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */ m("div", { className: "comment-actions", children: [
|
|
12555
12580
|
!e && t && /* @__PURE__ */ a(
|
|
12556
12581
|
"button",
|
|
12557
12582
|
{
|
|
@@ -12597,7 +12622,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12597
12622
|
]
|
|
12598
12623
|
}
|
|
12599
12624
|
) })
|
|
12600
|
-
] }),
|
|
12625
|
+
] }), Bo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n }) => (De(() => {
|
|
12601
12626
|
const r = e.current;
|
|
12602
12627
|
if (!r) return;
|
|
12603
12628
|
const o = () => {
|
|
@@ -12616,7 +12641,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12616
12641
|
rows: 2
|
|
12617
12642
|
}
|
|
12618
12643
|
)
|
|
12619
|
-
] })),
|
|
12644
|
+
] })), Oo = ({
|
|
12620
12645
|
commentRef: e,
|
|
12621
12646
|
captchaToken: t = "",
|
|
12622
12647
|
setCaptchaToken: n,
|
|
@@ -12625,7 +12650,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12625
12650
|
const o = Ea(e, t);
|
|
12626
12651
|
return /* @__PURE__ */ m("div", { className: "form-actions", children: [
|
|
12627
12652
|
/* @__PURE__ */ a(
|
|
12628
|
-
|
|
12653
|
+
ko,
|
|
12629
12654
|
{
|
|
12630
12655
|
sitekey: "",
|
|
12631
12656
|
theme: "light",
|
|
@@ -12639,7 +12664,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12639
12664
|
!o.boolean && /* @__PURE__ */ a("p", { className: "submit-warning", children: o.text })
|
|
12640
12665
|
] })
|
|
12641
12666
|
] });
|
|
12642
|
-
},
|
|
12667
|
+
}, Po = ({ onClick: e, isDisabled: t }) => {
|
|
12643
12668
|
const [n, r] = Ee.useState(!1);
|
|
12644
12669
|
return Ee.useEffect(() => {
|
|
12645
12670
|
let o = null;
|
|
@@ -12680,7 +12705,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12680
12705
|
]
|
|
12681
12706
|
}
|
|
12682
12707
|
);
|
|
12683
|
-
}, { PUBLIC_PUBLICATION_ID: Kp } =
|
|
12708
|
+
}, { PUBLIC_PUBLICATION_ID: Kp } = J(), Jp = Kp, Do = async ({
|
|
12684
12709
|
path: e,
|
|
12685
12710
|
ref: t,
|
|
12686
12711
|
captchaToken: n,
|
|
@@ -12747,7 +12772,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12747
12772
|
return /* @__PURE__ */ m("div", { className: "comment-form reply-form", children: [
|
|
12748
12773
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: u, children: /* @__PURE__ */ a(xt, {}) }),
|
|
12749
12774
|
/* @__PURE__ */ a(
|
|
12750
|
-
|
|
12775
|
+
Bo,
|
|
12751
12776
|
{
|
|
12752
12777
|
commentRef: t,
|
|
12753
12778
|
captchaToken: d,
|
|
@@ -12755,17 +12780,17 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12755
12780
|
}
|
|
12756
12781
|
),
|
|
12757
12782
|
/* @__PURE__ */ a(
|
|
12758
|
-
|
|
12783
|
+
Oo,
|
|
12759
12784
|
{
|
|
12760
12785
|
commentRef: t,
|
|
12761
12786
|
captchaToken: d,
|
|
12762
12787
|
setCaptchaToken: l,
|
|
12763
12788
|
children: /* @__PURE__ */ a(
|
|
12764
|
-
|
|
12789
|
+
Po,
|
|
12765
12790
|
{
|
|
12766
12791
|
onClick: async (h) => {
|
|
12767
12792
|
if (i) return;
|
|
12768
|
-
const f = await
|
|
12793
|
+
const f = await Do({
|
|
12769
12794
|
path: r,
|
|
12770
12795
|
ref: t,
|
|
12771
12796
|
captchaToken: d,
|
|
@@ -12788,16 +12813,16 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12788
12813
|
const o = e.text;
|
|
12789
12814
|
let s = `${Je.firstname} ${Je.lastname}`, i = Je.username;
|
|
12790
12815
|
return e.user && (s = `${e.user.firstname} ${e.user.lastname}`, i = e.user.username), /* @__PURE__ */ a("div", { className: "comment-item reply", children: /* @__PURE__ */ m("div", { className: "comment-header-container", children: [
|
|
12791
|
-
/* @__PURE__ */ a(
|
|
12816
|
+
/* @__PURE__ */ a(Ro, { user: e.user ? e.user : Je }),
|
|
12792
12817
|
/* @__PURE__ */ m("div", { style: { flex: 1 }, children: [
|
|
12793
|
-
/* @__PURE__ */ a(
|
|
12818
|
+
/* @__PURE__ */ a(qo, { username: s, date: e.date.time }),
|
|
12794
12819
|
/* @__PURE__ */ m("div", { className: "comment-reply-to", children: [
|
|
12795
12820
|
"Respondiendo a ",
|
|
12796
12821
|
/* @__PURE__ */ a("strong", { children: t })
|
|
12797
12822
|
] }),
|
|
12798
12823
|
/* @__PURE__ */ a("p", { className: "comment-text", children: o }),
|
|
12799
12824
|
n?.username.toLowerCase() !== i.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
12800
|
-
/* @__PURE__ */ a(
|
|
12825
|
+
/* @__PURE__ */ a(Lo, { isReply: !0, onFlag: () => r(e.id) })
|
|
12801
12826
|
] })
|
|
12802
12827
|
] }) });
|
|
12803
12828
|
}, e9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s }) => {
|
|
@@ -12813,13 +12838,13 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12813
12838
|
className: "comment-header-container",
|
|
12814
12839
|
"data-hasreplies": c.reply.length > 0 ? "true" : "false",
|
|
12815
12840
|
children: [
|
|
12816
|
-
/* @__PURE__ */ a(
|
|
12841
|
+
/* @__PURE__ */ a(Ro, { user: e.user ? e.user : Je }),
|
|
12817
12842
|
/* @__PURE__ */ m("div", { style: { flex: 1 }, children: [
|
|
12818
|
-
/* @__PURE__ */ a(
|
|
12843
|
+
/* @__PURE__ */ a(qo, { username: g, date: e.date.time }),
|
|
12819
12844
|
/* @__PURE__ */ a("p", { className: "comment-text", children: f }),
|
|
12820
12845
|
r?.username.toLowerCase() !== p.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
12821
12846
|
/* @__PURE__ */ a(
|
|
12822
|
-
|
|
12847
|
+
Lo,
|
|
12823
12848
|
{
|
|
12824
12849
|
onReply: () => o(e.id),
|
|
12825
12850
|
onFlag: () => s(e.id)
|
|
@@ -12887,7 +12912,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12887
12912
|
const [o, s] = $(!0), [i, c] = $("");
|
|
12888
12913
|
return /* @__PURE__ */ m("div", { className: "comment-form", children: [
|
|
12889
12914
|
/* @__PURE__ */ a(
|
|
12890
|
-
|
|
12915
|
+
Bo,
|
|
12891
12916
|
{
|
|
12892
12917
|
commentRef: e,
|
|
12893
12918
|
captchaToken: i,
|
|
@@ -12895,17 +12920,17 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12895
12920
|
}
|
|
12896
12921
|
),
|
|
12897
12922
|
/* @__PURE__ */ a(
|
|
12898
|
-
|
|
12923
|
+
Oo,
|
|
12899
12924
|
{
|
|
12900
12925
|
commentRef: e,
|
|
12901
12926
|
captchaToken: i,
|
|
12902
12927
|
setCaptchaToken: c,
|
|
12903
12928
|
children: /* @__PURE__ */ a(
|
|
12904
|
-
|
|
12929
|
+
Po,
|
|
12905
12930
|
{
|
|
12906
12931
|
onClick: async (d) => {
|
|
12907
12932
|
if (o) return;
|
|
12908
|
-
const l = await
|
|
12933
|
+
const l = await Do({
|
|
12909
12934
|
path: n,
|
|
12910
12935
|
ref: e,
|
|
12911
12936
|
captchaToken: i,
|
|
@@ -12923,7 +12948,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
12923
12948
|
}
|
|
12924
12949
|
)
|
|
12925
12950
|
] });
|
|
12926
|
-
}, { PUBLIC_PUBLICATION_ID: n9, PUBLIC_X_SECURITY_TOKEN: a9 } =
|
|
12951
|
+
}, { PUBLIC_PUBLICATION_ID: n9, PUBLIC_X_SECURITY_TOKEN: a9 } = J(), Rr = n9 ?? "", r9 = ({
|
|
12927
12952
|
isAuthenticated: e,
|
|
12928
12953
|
path: t,
|
|
12929
12954
|
user: n,
|
|
@@ -13030,7 +13055,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = Z(), $p = Wp, Yp = (e) => {
|
|
|
13030
13055
|
}
|
|
13031
13056
|
)
|
|
13032
13057
|
] });
|
|
13033
|
-
},
|
|
13058
|
+
}, Mo = async (e, t) => {
|
|
13034
13059
|
if (!e) throw new Error("No action provided");
|
|
13035
13060
|
if (!t) throw new Error("No site key provided");
|
|
13036
13061
|
const n = window.grecaptcha;
|
|
@@ -13103,7 +13128,7 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13103
13128
|
}
|
|
13104
13129
|
const x = Math.floor(Date.now() / 1e3);
|
|
13105
13130
|
_.push({ Name: "updated_at", Value: String(x) });
|
|
13106
|
-
const v = await
|
|
13131
|
+
const v = await Mo(
|
|
13107
13132
|
"comment_register",
|
|
13108
13133
|
""
|
|
13109
13134
|
);
|
|
@@ -13308,7 +13333,7 @@ function s9({
|
|
|
13308
13333
|
goToRegister: n,
|
|
13309
13334
|
handleGoogleLogin: r
|
|
13310
13335
|
}) {
|
|
13311
|
-
const [o, s] = $("login"), [i, c] = $(""), [d, l] = $(""), [u, h] = $(""), [f, w] = $(""), [g, p] = $(""), [A, _] = $(!1), [S, N] = $(!1), [x, v] = $(null), { CAPTCHA_KEY: B } =
|
|
13336
|
+
const [o, s] = $("login"), [i, c] = $(""), [d, l] = $(""), [u, h] = $(""), [f, w] = $(""), [g, p] = $(""), [A, _] = $(!1), [S, N] = $(!1), [x, v] = $(null), { CAPTCHA_KEY: B } = J();
|
|
13312
13337
|
return /* @__PURE__ */ m(K, { children: [
|
|
13313
13338
|
o === "login" && /* @__PURE__ */ a(
|
|
13314
13339
|
i9,
|
|
@@ -13325,21 +13350,21 @@ function s9({
|
|
|
13325
13350
|
if (!S) {
|
|
13326
13351
|
Q.preventDefault(), v(null), N(!0);
|
|
13327
13352
|
try {
|
|
13328
|
-
const
|
|
13329
|
-
if (!
|
|
13353
|
+
const P = await Mo("comment_login", B || "");
|
|
13354
|
+
if (!P) throw new Error("Captcha token no generado");
|
|
13330
13355
|
const ee = await fetch("/api/auth/login-password", {
|
|
13331
13356
|
method: "POST",
|
|
13332
13357
|
headers: { "Content-Type": "application/json" },
|
|
13333
13358
|
credentials: "include",
|
|
13334
|
-
body: JSON.stringify({ email: i, password: d, token:
|
|
13359
|
+
body: JSON.stringify({ email: i, password: d, token: P })
|
|
13335
13360
|
});
|
|
13336
13361
|
if (!ee.ok) {
|
|
13337
13362
|
const ce = await ee.json().catch(() => ({}));
|
|
13338
13363
|
throw new Error(ce?.error || "Ha ocurrido un error");
|
|
13339
13364
|
}
|
|
13340
13365
|
e(), await t();
|
|
13341
|
-
} catch (
|
|
13342
|
-
v(
|
|
13366
|
+
} catch (P) {
|
|
13367
|
+
v(P?.message || "Error inesperado");
|
|
13343
13368
|
} finally {
|
|
13344
13369
|
N(!1);
|
|
13345
13370
|
}
|
|
@@ -13363,18 +13388,18 @@ function s9({
|
|
|
13363
13388
|
if (!S) {
|
|
13364
13389
|
Q.preventDefault(), v(null), N(!0);
|
|
13365
13390
|
try {
|
|
13366
|
-
const
|
|
13391
|
+
const P = await fetch("/api/auth/forgot-password", {
|
|
13367
13392
|
method: "POST",
|
|
13368
13393
|
headers: { "Content-Type": "application/json" },
|
|
13369
13394
|
body: JSON.stringify({ email: i })
|
|
13370
13395
|
});
|
|
13371
|
-
if (!
|
|
13372
|
-
const ee = await
|
|
13396
|
+
if (!P.ok) {
|
|
13397
|
+
const ee = await P.json().catch(() => ({}));
|
|
13373
13398
|
throw new Error(ee?.error || "Error al enviar código");
|
|
13374
13399
|
}
|
|
13375
13400
|
l(""), s("changePassword");
|
|
13376
|
-
} catch (
|
|
13377
|
-
v(
|
|
13401
|
+
} catch (P) {
|
|
13402
|
+
v(P?.message || "Error inesperado");
|
|
13378
13403
|
} finally {
|
|
13379
13404
|
N(!1);
|
|
13380
13405
|
}
|
|
@@ -13803,7 +13828,7 @@ function m9({
|
|
|
13803
13828
|
path: t,
|
|
13804
13829
|
icon: n
|
|
13805
13830
|
}) {
|
|
13806
|
-
const [r, o] = $(null), [s, i] = $(null), { COGNITO_AUTH_PREFIX: c } =
|
|
13831
|
+
const [r, o] = $(null), [s, i] = $(null), { COGNITO_AUTH_PREFIX: c } = J(), d = he(async () => {
|
|
13807
13832
|
if (e) {
|
|
13808
13833
|
if (document.cookie.search(c + "IS_AUTH=true") === -1) {
|
|
13809
13834
|
o(!1), i(null), console.log("user not logged");
|
|
@@ -13950,7 +13975,7 @@ async function _3({
|
|
|
13950
13975
|
message: "El comentario no puede estar vacío.",
|
|
13951
13976
|
status: 400
|
|
13952
13977
|
};
|
|
13953
|
-
const l = await
|
|
13978
|
+
const l = await To(s);
|
|
13954
13979
|
if (console.log("Verifying captcha token...", l), !l)
|
|
13955
13980
|
return {
|
|
13956
13981
|
type: "error",
|
|
@@ -13966,7 +13991,7 @@ async function _3({
|
|
|
13966
13991
|
o && (h.id = o);
|
|
13967
13992
|
const f = new URLSearchParams(h);
|
|
13968
13993
|
try {
|
|
13969
|
-
const { data: w } = await
|
|
13994
|
+
const { data: w } = await oe.get(`${u}?${f.toString()}`, {
|
|
13970
13995
|
headers: {
|
|
13971
13996
|
"Content-Type": "application/json",
|
|
13972
13997
|
"x-security-token": d,
|
|
@@ -13984,7 +14009,7 @@ async function _3({
|
|
|
13984
14009
|
status: 200
|
|
13985
14010
|
});
|
|
13986
14011
|
} catch (w) {
|
|
13987
|
-
if (console.error("Error enviando comentario:", w),
|
|
14012
|
+
if (console.error("Error enviando comentario:", w), oe.isAxiosError(w)) {
|
|
13988
14013
|
const g = w.response?.status ?? 500, p = w.response?.data;
|
|
13989
14014
|
return g === 400 ? {
|
|
13990
14015
|
type: "error",
|
|
@@ -14046,7 +14071,7 @@ const N3 = async ({
|
|
|
14046
14071
|
}
|
|
14047
14072
|
};
|
|
14048
14073
|
export {
|
|
14049
|
-
|
|
14074
|
+
ys as AssetsPreconnect,
|
|
14050
14075
|
A3 as AutorComponent,
|
|
14051
14076
|
eu as AutorHeader1,
|
|
14052
14077
|
uu as AutorHeader2,
|
|
@@ -14057,7 +14082,7 @@ export {
|
|
|
14057
14082
|
K2 as CarruselCard,
|
|
14058
14083
|
of as CarruselOpinion,
|
|
14059
14084
|
Le as CommonServices,
|
|
14060
|
-
|
|
14085
|
+
Go as Comscore,
|
|
14061
14086
|
d3 as ContactInfoServer,
|
|
14062
14087
|
e3 as ContactInput,
|
|
14063
14088
|
t3 as ContactSelect,
|
|
@@ -14070,16 +14095,16 @@ export {
|
|
|
14070
14095
|
dc as DynamicBlockServices,
|
|
14071
14096
|
h3 as DynamicComponents,
|
|
14072
14097
|
Vn as DynamicMainSlot,
|
|
14073
|
-
|
|
14098
|
+
xo as DynamicSlot,
|
|
14074
14099
|
s3 as EditorialBlock,
|
|
14075
14100
|
X9 as ErrorComponent,
|
|
14076
14101
|
qs as Font,
|
|
14077
14102
|
J9 as Footer,
|
|
14078
|
-
|
|
14103
|
+
ws as FormatAfterScripts,
|
|
14079
14104
|
jr as FormatScripts,
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14105
|
+
Ho as GA4,
|
|
14106
|
+
Vo as GTM,
|
|
14107
|
+
So as GalleryHeader,
|
|
14083
14108
|
W9 as GenerateBody,
|
|
14084
14109
|
F9 as GenerateHead,
|
|
14085
14110
|
r3 as Header,
|
|
@@ -14088,14 +14113,14 @@ export {
|
|
|
14088
14113
|
xs as ItemListSchema,
|
|
14089
14114
|
vm as JournalistArticule2,
|
|
14090
14115
|
Tm as JournalistGroup,
|
|
14091
|
-
|
|
14116
|
+
vo as LayoutNewsComponent,
|
|
14092
14117
|
C3 as LazyLoader,
|
|
14093
14118
|
M1 as LiveBlogHeader,
|
|
14094
14119
|
$9 as Location,
|
|
14095
14120
|
N9 as MainComponentServices,
|
|
14096
|
-
|
|
14121
|
+
Fo as Marfeel,
|
|
14097
14122
|
dt as MiddleSection,
|
|
14098
|
-
|
|
14123
|
+
No as Modulo1x3,
|
|
14099
14124
|
Y2 as Modulo1x3Card,
|
|
14100
14125
|
I2 as Modulo1x4,
|
|
14101
14126
|
R2 as Modulo1x5,
|
|
@@ -14138,7 +14163,7 @@ export {
|
|
|
14138
14163
|
_3 as addComment,
|
|
14139
14164
|
fa as bannersReplace,
|
|
14140
14165
|
Dt as becomeVideoObject,
|
|
14141
|
-
|
|
14166
|
+
Qr as buildTagUrl,
|
|
14142
14167
|
id as coloringByStrokeSVGs,
|
|
14143
14168
|
Sa as compileStyleProps,
|
|
14144
14169
|
je as cutString,
|
|
@@ -14146,16 +14171,16 @@ export {
|
|
|
14146
14171
|
Me as formatDate,
|
|
14147
14172
|
A9 as formatDateEdiciones,
|
|
14148
14173
|
Dr as formatDateJournalistArticule,
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14174
|
+
ls as formatDateTimeline,
|
|
14175
|
+
ms as formatNewsMeta,
|
|
14176
|
+
bs as formatVideoData,
|
|
14152
14177
|
V9 as generalGetData,
|
|
14153
|
-
|
|
14178
|
+
Mo as getCaptchaToken,
|
|
14154
14179
|
Fp as getComments,
|
|
14155
|
-
|
|
14180
|
+
J as getConfig,
|
|
14156
14181
|
H9 as getDynamicSlots,
|
|
14157
14182
|
pn as getEnvironmentUrl,
|
|
14158
|
-
|
|
14183
|
+
hs as getEnvironmentUrlFront,
|
|
14159
14184
|
C9 as getHydratorPath,
|
|
14160
14185
|
pe as getImageUrl,
|
|
14161
14186
|
Ft as getNextMeta,
|
|
@@ -14163,25 +14188,25 @@ export {
|
|
|
14163
14188
|
_9 as getPreloadImages,
|
|
14164
14189
|
Wt as getPrevMeta,
|
|
14165
14190
|
b3 as getReportReasonLabel,
|
|
14166
|
-
|
|
14167
|
-
|
|
14191
|
+
ds as getResponse,
|
|
14192
|
+
us as getResponsePromise,
|
|
14168
14193
|
ga as getSchemas,
|
|
14169
|
-
|
|
14194
|
+
zr as getScriptReplaces,
|
|
14170
14195
|
Ls as getSlugs,
|
|
14171
14196
|
v9 as getTypeOfNews,
|
|
14172
14197
|
b9 as getVideoRealPath,
|
|
14173
14198
|
Ia as handleGetComments,
|
|
14174
14199
|
p9 as initLibrary,
|
|
14175
|
-
|
|
14200
|
+
As as metadataToJSX,
|
|
14176
14201
|
hc as metadata_defaults,
|
|
14177
14202
|
Mr as parseTags,
|
|
14178
|
-
|
|
14203
|
+
fs as pathnameSplit,
|
|
14179
14204
|
Rs as removePages,
|
|
14180
14205
|
v3 as reportComment,
|
|
14181
14206
|
Dd as shareButtons,
|
|
14182
14207
|
_a as socialIcons,
|
|
14183
14208
|
_s as speculationRules,
|
|
14184
14209
|
Cs as speculationRulesHome,
|
|
14185
|
-
|
|
14210
|
+
gs as urlReplaces,
|
|
14186
14211
|
N3 as verifyCaptchaTokenEnterprise
|
|
14187
14212
|
};
|