sass-template-common 0.1.72 → 0.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as Ra from "react";
|
|
3
|
-
import xe, { useState as
|
|
3
|
+
import xe, { useState as $, useRef as Or, useCallback as he, useEffect as Me, createElement as st, forwardRef as Pr, Fragment as pn, useMemo as Mo, Component as jo } from "react";
|
|
4
4
|
let ta = {
|
|
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 ta = {
|
|
|
54
54
|
function g3(e = {}) {
|
|
55
55
|
ta = { ...ta, ...e };
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Y() {
|
|
58
58
|
return ta;
|
|
59
59
|
}
|
|
60
60
|
const Qo = () => {
|
|
61
|
-
const { ANALYTICS_comscore: e } =
|
|
61
|
+
const { ANALYTICS_comscore: e } = Y();
|
|
62
62
|
return e && /* @__PURE__ */ a(
|
|
63
63
|
"script",
|
|
64
64
|
{
|
|
@@ -83,7 +83,7 @@ const Qo = () => {
|
|
|
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 } = Y();
|
|
87
87
|
return r && /* @__PURE__ */ m(J, { children: [
|
|
88
88
|
/* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + e }),
|
|
89
89
|
/* @__PURE__ */ a(
|
|
@@ -106,7 +106,7 @@ const Qo = () => {
|
|
|
106
106
|
)
|
|
107
107
|
] });
|
|
108
108
|
}, zo = () => {
|
|
109
|
-
const { ANALYTICS_gtm: e } =
|
|
109
|
+
const { ANALYTICS_gtm: e } = Y();
|
|
110
110
|
return e && /* @__PURE__ */ m(J, { children: [
|
|
111
111
|
/* @__PURE__ */ a(
|
|
112
112
|
"script",
|
|
@@ -134,7 +134,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
134
134
|
) })
|
|
135
135
|
] });
|
|
136
136
|
}, Vo = () => {
|
|
137
|
-
const { ANALYTICS_marfeel: e } =
|
|
137
|
+
const { ANALYTICS_marfeel: e } = Y();
|
|
138
138
|
return e && /* @__PURE__ */ a(
|
|
139
139
|
"script",
|
|
140
140
|
{
|
|
@@ -155,17 +155,17 @@ function Dr() {
|
|
|
155
155
|
e.exports = r();
|
|
156
156
|
})(Fo, (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", A = "year", g = "date", p = "Invalid Date", w = /^(\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
|
-
var
|
|
159
|
-
return "[" + M + (
|
|
160
|
-
} }, N = function(M,
|
|
158
|
+
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
159
|
+
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
160
|
+
} }, N = function(M, U, E) {
|
|
161
161
|
var D = String(M);
|
|
162
|
-
return !D || D.length >=
|
|
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
|
|
165
|
-
return (
|
|
166
|
-
}, m: function M(
|
|
167
|
-
if (
|
|
168
|
-
var D = 12 * (E.year() -
|
|
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
|
+
}, m: function M(U, E) {
|
|
167
|
+
if (U.date() < E.date()) return -M(E, U);
|
|
168
|
+
var D = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(D, h), H = E - T < 0, y = U.clone().add(D + (H ? -1 : 1), h);
|
|
169
169
|
return +(-(D + (E - T) / (H ? T - y : y - T)) || 0);
|
|
170
170
|
}, a: function(M) {
|
|
171
171
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
@@ -177,33 +177,33 @@ function Dr() {
|
|
|
177
177
|
O[v] = S;
|
|
178
178
|
var L = "$isDayjsObject", K = function(M) {
|
|
179
179
|
return M instanceof ee || !(!M || !M[L]);
|
|
180
|
-
}, te = function M(
|
|
180
|
+
}, te = function M(U, E, D) {
|
|
181
181
|
var T;
|
|
182
|
-
if (!
|
|
183
|
-
if (typeof
|
|
184
|
-
var H =
|
|
182
|
+
if (!U) return v;
|
|
183
|
+
if (typeof U == "string") {
|
|
184
|
+
var H = U.toLowerCase();
|
|
185
185
|
O[H] && (T = H), E && (O[H] = E, T = H);
|
|
186
|
-
var y =
|
|
186
|
+
var y = U.split("-");
|
|
187
187
|
if (!T && y.length > 1) return M(y[0]);
|
|
188
188
|
} else {
|
|
189
|
-
var C =
|
|
190
|
-
O[C] =
|
|
189
|
+
var C = U.name;
|
|
190
|
+
O[C] = U, T = C;
|
|
191
191
|
}
|
|
192
192
|
return !D && T && (v = T), T || !D && v;
|
|
193
|
-
}, Q = function(M,
|
|
193
|
+
}, Q = function(M, U) {
|
|
194
194
|
if (K(M)) return M.clone();
|
|
195
|
-
var E = typeof
|
|
195
|
+
var E = typeof U == "object" ? U : {};
|
|
196
196
|
return E.date = M, E.args = arguments, new ee(E);
|
|
197
197
|
}, P = x;
|
|
198
|
-
P.l = te, P.i = K, P.w = function(M,
|
|
199
|
-
return Q(M, { locale:
|
|
198
|
+
P.l = te, P.i = K, P.w = function(M, U) {
|
|
199
|
+
return Q(M, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
200
200
|
};
|
|
201
201
|
var ee = (function() {
|
|
202
202
|
function M(E) {
|
|
203
203
|
this.$L = te(E.locale, null, !0), this.parse(E), this.$x = this.$x || E.x || {}, this[L] = !0;
|
|
204
204
|
}
|
|
205
|
-
var
|
|
206
|
-
return
|
|
205
|
+
var U = M.prototype;
|
|
206
|
+
return U.parse = function(E) {
|
|
207
207
|
this.$d = (function(D) {
|
|
208
208
|
var T = D.date, H = D.utc;
|
|
209
209
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -212,37 +212,37 @@ function Dr() {
|
|
|
212
212
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
213
213
|
var y = T.match(w);
|
|
214
214
|
if (y) {
|
|
215
|
-
var C = y[2] - 1 || 0,
|
|
216
|
-
return H ? new Date(Date.UTC(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0,
|
|
215
|
+
var C = y[2] - 1 || 0, k = (y[7] || "0").substring(0, 3);
|
|
216
|
+
return H ? new Date(Date.UTC(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, k)) : new Date(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, k);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
return new Date(T);
|
|
220
220
|
})(E), this.init();
|
|
221
|
-
},
|
|
221
|
+
}, U.init = function() {
|
|
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
225
|
return P;
|
|
226
|
-
},
|
|
226
|
+
}, U.isValid = function() {
|
|
227
227
|
return this.$d.toString() !== p;
|
|
228
|
-
},
|
|
228
|
+
}, U.isSame = function(E, D) {
|
|
229
229
|
var T = Q(E);
|
|
230
230
|
return this.startOf(D) <= T && T <= this.endOf(D);
|
|
231
|
-
},
|
|
231
|
+
}, U.isAfter = function(E, D) {
|
|
232
232
|
return Q(E) < this.startOf(D);
|
|
233
|
-
},
|
|
233
|
+
}, U.isBefore = function(E, D) {
|
|
234
234
|
return this.endOf(D) < Q(E);
|
|
235
|
-
},
|
|
235
|
+
}, U.$g = function(E, D, T) {
|
|
236
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
|
-
},
|
|
241
|
+
}, U.startOf = function(E, D) {
|
|
242
242
|
var T = this, H = !!P.u(D) || D, y = P.p(E), C = function(X, F) {
|
|
243
243
|
var ie = P.w(T.$u ? Date.UTC(T.$y, F, X) : new Date(T.$y, F, X), T);
|
|
244
244
|
return H ? ie : ie.endOf(l);
|
|
245
|
-
},
|
|
245
|
+
}, k = function(X, F) {
|
|
246
246
|
return P.w(T.toDate()[X].apply(T.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), T);
|
|
247
247
|
}, j = this.$W, B = this.$M, G = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (y) {
|
|
@@ -255,30 +255,30 @@ function Dr() {
|
|
|
255
255
|
return C(H ? G - Z : G + (6 - Z), B);
|
|
256
256
|
case l:
|
|
257
257
|
case g:
|
|
258
|
-
return
|
|
258
|
+
return k(z + "Hours", 0);
|
|
259
259
|
case d:
|
|
260
|
-
return
|
|
260
|
+
return k(z + "Minutes", 1);
|
|
261
261
|
case c:
|
|
262
|
-
return
|
|
262
|
+
return k(z + "Seconds", 2);
|
|
263
263
|
case i:
|
|
264
|
-
return
|
|
264
|
+
return k(z + "Milliseconds", 3);
|
|
265
265
|
default:
|
|
266
266
|
return this.clone();
|
|
267
267
|
}
|
|
268
|
-
},
|
|
268
|
+
}, U.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
|
-
},
|
|
271
|
-
var T, H = P.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[A] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[H],
|
|
270
|
+
}, U.$set = function(E, D) {
|
|
271
|
+
var T, H = P.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[A] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[H], k = H === l ? this.$D + (D - this.$W) : D;
|
|
272
272
|
if (H === h || H === A) {
|
|
273
273
|
var j = this.clone().set(g, 1);
|
|
274
|
-
j.$d[C](
|
|
275
|
-
} else C && this.$d[C](
|
|
274
|
+
j.$d[C](k), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
275
|
+
} else C && this.$d[C](k);
|
|
276
276
|
return this.init(), this;
|
|
277
|
-
},
|
|
277
|
+
}, U.set = function(E, D) {
|
|
278
278
|
return this.clone().$set(E, D);
|
|
279
|
-
},
|
|
279
|
+
}, U.get = function(E) {
|
|
280
280
|
return this[P.p(E)]();
|
|
281
|
-
},
|
|
281
|
+
}, U.add = function(E, D) {
|
|
282
282
|
var T, H = this;
|
|
283
283
|
E = Number(E);
|
|
284
284
|
var y = P.p(D), C = function(B) {
|
|
@@ -289,14 +289,14 @@ function Dr() {
|
|
|
289
289
|
if (y === A) return this.set(A, this.$y + E);
|
|
290
290
|
if (y === l) return C(1);
|
|
291
291
|
if (y === u) return C(7);
|
|
292
|
-
var
|
|
292
|
+
var k = (T = {}, T[c] = r, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + E * k;
|
|
293
293
|
return P.w(j, this);
|
|
294
|
-
},
|
|
294
|
+
}, U.subtract = function(E, D) {
|
|
295
295
|
return this.add(-1 * E, D);
|
|
296
|
-
},
|
|
296
|
+
}, U.format = function(E) {
|
|
297
297
|
var D = this, T = this.$locale();
|
|
298
298
|
if (!this.isValid()) return T.invalidDate || p;
|
|
299
|
-
var H = E || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), C = this.$H,
|
|
299
|
+
var H = E || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), C = this.$H, k = this.$m, j = this.$M, B = T.weekdays, G = T.months, z = T.meridiem, V = function(F, ie, R, Ae) {
|
|
300
300
|
return F && (F[ie] || F(D, H)) || R[ie].slice(0, Ae);
|
|
301
301
|
}, Z = function(F) {
|
|
302
302
|
return P.s(C % 12 || 12, F, "0");
|
|
@@ -340,13 +340,13 @@ function Dr() {
|
|
|
340
340
|
case "hh":
|
|
341
341
|
return Z(2);
|
|
342
342
|
case "a":
|
|
343
|
-
return X(C,
|
|
343
|
+
return X(C, k, !0);
|
|
344
344
|
case "A":
|
|
345
|
-
return X(C,
|
|
345
|
+
return X(C, k, !1);
|
|
346
346
|
case "m":
|
|
347
|
-
return String(
|
|
347
|
+
return String(k);
|
|
348
348
|
case "mm":
|
|
349
|
-
return P.s(
|
|
349
|
+
return P.s(k, 2, "0");
|
|
350
350
|
case "s":
|
|
351
351
|
return String(D.$s);
|
|
352
352
|
case "ss":
|
|
@@ -359,11 +359,11 @@ function Dr() {
|
|
|
359
359
|
return null;
|
|
360
360
|
})(F) || y.replace(":", "");
|
|
361
361
|
}));
|
|
362
|
-
},
|
|
362
|
+
}, U.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
|
-
},
|
|
365
|
-
var H, y = this, C = P.p(D),
|
|
366
|
-
return P.m(y,
|
|
364
|
+
}, U.diff = function(E, D, T) {
|
|
365
|
+
var H, y = this, C = P.p(D), k = Q(E), j = (k.utcOffset() - this.utcOffset()) * r, B = this - k, G = function() {
|
|
366
|
+
return P.m(y, k);
|
|
367
367
|
};
|
|
368
368
|
switch (C) {
|
|
369
369
|
case A:
|
|
@@ -394,32 +394,32 @@ function Dr() {
|
|
|
394
394
|
H = B;
|
|
395
395
|
}
|
|
396
396
|
return T ? H : P.a(H);
|
|
397
|
-
},
|
|
397
|
+
}, U.daysInMonth = function() {
|
|
398
398
|
return this.endOf(h).$D;
|
|
399
|
-
},
|
|
399
|
+
}, U.$locale = function() {
|
|
400
400
|
return O[this.$L];
|
|
401
|
-
},
|
|
401
|
+
}, U.locale = function(E, D) {
|
|
402
402
|
if (!E) return this.$L;
|
|
403
403
|
var T = this.clone(), H = te(E, D, !0);
|
|
404
404
|
return H && (T.$L = H), T;
|
|
405
|
-
},
|
|
405
|
+
}, U.clone = function() {
|
|
406
406
|
return P.w(this.$d, this);
|
|
407
|
-
},
|
|
407
|
+
}, U.toDate = function() {
|
|
408
408
|
return new Date(this.valueOf());
|
|
409
|
-
},
|
|
409
|
+
}, U.toJSON = function() {
|
|
410
410
|
return this.isValid() ? this.toISOString() : null;
|
|
411
|
-
},
|
|
411
|
+
}, U.toISOString = function() {
|
|
412
412
|
return this.$d.toISOString();
|
|
413
|
-
},
|
|
413
|
+
}, U.toString = function() {
|
|
414
414
|
return this.$d.toUTCString();
|
|
415
415
|
}, M;
|
|
416
416
|
})(), ce = ee.prototype;
|
|
417
417
|
return Q.prototype = ce, [["$ms", s], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", h], ["$y", A], ["$D", g]].forEach((function(M) {
|
|
418
|
-
ce[M[1]] = function(
|
|
419
|
-
return this.$g(
|
|
418
|
+
ce[M[1]] = function(U) {
|
|
419
|
+
return this.$g(U, M[0], M[1]);
|
|
420
420
|
};
|
|
421
|
-
})), Q.extend = function(M,
|
|
422
|
-
return M.$i || (M(
|
|
421
|
+
})), Q.extend = function(M, U) {
|
|
422
|
+
return M.$i || (M(U, ee, Q), M.$i = !0), Q;
|
|
423
423
|
}, Q.locale = te, Q.isDayjs = K, Q.unix = function(M) {
|
|
424
424
|
return Q(1e3 * M);
|
|
425
425
|
}, Q.en = O[v], Q.Ls = O, Q.p = {}, Q;
|
|
@@ -637,18 +637,18 @@ Ee.extend(as);
|
|
|
637
637
|
Ee.extend(is);
|
|
638
638
|
Ee.extend(Jo);
|
|
639
639
|
const Nn = (e) => e === "en" ? "en" : "es", je = (e) => {
|
|
640
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
640
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = Y(), r = Nn(t ?? "es");
|
|
641
641
|
return Ee.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
642
642
|
}, Mr = (e) => {
|
|
643
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
643
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = Y(), r = Nn(t ?? "es");
|
|
644
644
|
return Ee.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
647
|
}, cs = (e) => {
|
|
648
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
648
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = Y(), r = Nn(t ?? "es");
|
|
649
649
|
return Ee.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
650
650
|
}, p3 = (e) => {
|
|
651
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
651
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = Y(), r = Nn(t ?? "es");
|
|
652
652
|
return Ee.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
|
|
653
653
|
}, Qe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
654
654
|
function ls(e) {
|
|
@@ -707,14 +707,14 @@ function A3(e) {
|
|
|
707
707
|
return t;
|
|
708
708
|
}
|
|
709
709
|
const An = () => {
|
|
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 } = Y();
|
|
711
711
|
return e == "local" ? t : n !== "false" && n !== "false" ? n : "";
|
|
712
712
|
}, us = () => {
|
|
713
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
713
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = Y();
|
|
714
714
|
return e === "local" ? t : "";
|
|
715
715
|
}, hs = (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 } = Y(), o = jr(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",
|
|
@@ -959,9 +959,9 @@ function w3(e) {
|
|
|
959
959
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
960
960
|
}
|
|
961
961
|
const ws = () => {
|
|
962
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
962
|
+
const { PUBLIC_ASSETS_URL: e } = Y();
|
|
963
963
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
964
|
-
}, { PUBLIC_ASSETS_URL: Ln } =
|
|
964
|
+
}, { PUBLIC_ASSETS_URL: Ln } = Y(), ys = Ln && Ln !== "false" ? Ln : "", Da = ({ images: e }) => /* @__PURE__ */ a(J, { children: e.map(
|
|
965
965
|
(t, n) => t.href !== "" && /* @__PURE__ */ a(
|
|
966
966
|
"link",
|
|
967
967
|
{
|
|
@@ -975,7 +975,7 @@ const ws = () => {
|
|
|
975
975
|
)
|
|
976
976
|
) }), vs = (e, t) => {
|
|
977
977
|
if (!e) return {};
|
|
978
|
-
const { PUBLIC_API_FRONT: n } =
|
|
978
|
+
const { PUBLIC_API_FRONT: n } = Y();
|
|
979
979
|
return {
|
|
980
980
|
title: e?.main?.title + " | " + t.name,
|
|
981
981
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1087,7 +1087,7 @@ const vt = (e, t) => {
|
|
|
1087
1087
|
pathname: n,
|
|
1088
1088
|
ROUTE: r
|
|
1089
1089
|
}) => {
|
|
1090
|
-
const { PUBLIC_PUBLICATION_ID: o = "" } =
|
|
1090
|
+
const { PUBLIC_PUBLICATION_ID: o = "" } = Y();
|
|
1091
1091
|
let s = [];
|
|
1092
1092
|
const i = n === "/" || n === "/index.html" ? void 0 : Rs(Ls[r]({ pathname: n, config: e })), c = Ss[r] ?? void 0, d = {
|
|
1093
1093
|
newstype: e.newsType,
|
|
@@ -1115,7 +1115,7 @@ const vt = (e, t) => {
|
|
|
1115
1115
|
);
|
|
1116
1116
|
};
|
|
1117
1117
|
function Gr(e) {
|
|
1118
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1118
|
+
const { PUBLIC_ASSETS_URL: t } = Y();
|
|
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 xs = 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 } = Y();
|
|
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 = {
|
|
@@ -1197,7 +1197,7 @@ const xs = async ({
|
|
|
1197
1197
|
dangerouslySetInnerHTML: { __html: JSON.stringify(t) }
|
|
1198
1198
|
}
|
|
1199
1199
|
);
|
|
1200
|
-
},
|
|
1200
|
+
}, Us = async ({ realPath: e, config: t, axiosApi: n }) => {
|
|
1201
1201
|
try {
|
|
1202
1202
|
const r = {
|
|
1203
1203
|
path: e,
|
|
@@ -1219,7 +1219,7 @@ const xs = async ({
|
|
|
1219
1219
|
} catch (r) {
|
|
1220
1220
|
return console.error("Error fetching video schemas:", r), null;
|
|
1221
1221
|
}
|
|
1222
|
-
},
|
|
1222
|
+
}, ks = ({ config: e }) => {
|
|
1223
1223
|
const t = `@font-face {
|
|
1224
1224
|
font-family: '${e.fontName}';
|
|
1225
1225
|
font-style: normal;
|
|
@@ -1970,7 +1970,7 @@ const ao = {
|
|
|
1970
1970
|
},
|
|
1971
1971
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1972
1972
|
}, ya = typeof window < "u" && typeof document < "u", ra = typeof navigator == "object" && navigator || void 0, xi = ya && (!ra || ["ReactNative", "NativeScript", "NS"].indexOf(ra.product) < 0), Ti = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1973
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ii = ya && window.location.href || "http://localhost",
|
|
1973
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ii = ya && window.location.href || "http://localhost", Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1974
1974
|
__proto__: null,
|
|
1975
1975
|
hasBrowserEnv: ya,
|
|
1976
1976
|
hasStandardBrowserEnv: xi,
|
|
@@ -1978,10 +1978,10 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ii
|
|
|
1978
1978
|
navigator: ra,
|
|
1979
1979
|
origin: Ii
|
|
1980
1980
|
}, Symbol.toStringTag, { value: "Module" })), fe = {
|
|
1981
|
-
...
|
|
1981
|
+
...Ui,
|
|
1982
1982
|
...Ei
|
|
1983
1983
|
};
|
|
1984
|
-
function
|
|
1984
|
+
function ki(e, t) {
|
|
1985
1985
|
return Tn(e, new fe.classes.URLSearchParams(), {
|
|
1986
1986
|
visitor: function(n, r, o, s) {
|
|
1987
1987
|
return fe.isNode && b.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
@@ -2042,7 +2042,7 @@ const zt = {
|
|
|
2042
2042
|
let c;
|
|
2043
2043
|
if (s) {
|
|
2044
2044
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
2045
|
-
return
|
|
2045
|
+
return ki(t, this.formSerializer).toString();
|
|
2046
2046
|
if ((c = b.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
2047
2047
|
const d = this.env && this.env.FormData;
|
|
2048
2048
|
return Tn(
|
|
@@ -2121,7 +2121,7 @@ const Bi = b.toObjectSet([
|
|
|
2121
2121
|
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && Bi[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
2122
2122
|
}), t;
|
|
2123
2123
|
}, Ha = Symbol("internals");
|
|
2124
|
-
function
|
|
2124
|
+
function Ut(e) {
|
|
2125
2125
|
return e && String(e).trim().toLowerCase();
|
|
2126
2126
|
}
|
|
2127
2127
|
function mn(e) {
|
|
@@ -2166,7 +2166,7 @@ let _e = class {
|
|
|
2166
2166
|
set(t, n, r) {
|
|
2167
2167
|
const o = this;
|
|
2168
2168
|
function s(c, d, l) {
|
|
2169
|
-
const u =
|
|
2169
|
+
const u = Ut(d);
|
|
2170
2170
|
if (!u)
|
|
2171
2171
|
throw new Error("header name must be a non-empty string");
|
|
2172
2172
|
const h = b.findKey(o, u);
|
|
@@ -2190,7 +2190,7 @@ let _e = class {
|
|
|
2190
2190
|
return this;
|
|
2191
2191
|
}
|
|
2192
2192
|
get(t, n) {
|
|
2193
|
-
if (t =
|
|
2193
|
+
if (t = Ut(t), t) {
|
|
2194
2194
|
const r = b.findKey(this, t);
|
|
2195
2195
|
if (r) {
|
|
2196
2196
|
const o = this[r];
|
|
@@ -2207,7 +2207,7 @@ let _e = class {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
2209
|
has(t, n) {
|
|
2210
|
-
if (t =
|
|
2210
|
+
if (t = Ut(t), t) {
|
|
2211
2211
|
const r = b.findKey(this, t);
|
|
2212
2212
|
return !!(r && this[r] !== void 0 && (!n || qn(this, this[r], r, n)));
|
|
2213
2213
|
}
|
|
@@ -2217,7 +2217,7 @@ let _e = class {
|
|
|
2217
2217
|
const r = this;
|
|
2218
2218
|
let o = !1;
|
|
2219
2219
|
function s(i) {
|
|
2220
|
-
if (i =
|
|
2220
|
+
if (i = Ut(i), i) {
|
|
2221
2221
|
const c = b.findKey(r, i);
|
|
2222
2222
|
c && (!n || qn(r, r[c], c, n)) && (delete r[c], o = !0);
|
|
2223
2223
|
}
|
|
@@ -2279,7 +2279,7 @@ let _e = class {
|
|
|
2279
2279
|
accessors: {}
|
|
2280
2280
|
}).accessors, o = this.prototype;
|
|
2281
2281
|
function s(i) {
|
|
2282
|
-
const c =
|
|
2282
|
+
const c = Ut(i);
|
|
2283
2283
|
r[c] || (ji(o, i), r[c] = !0);
|
|
2284
2284
|
}
|
|
2285
2285
|
return b.isArray(t) ? t.forEach(s) : s(t), this;
|
|
@@ -2724,17 +2724,17 @@ const co = (e) => {
|
|
|
2724
2724
|
const M = ee && ee.unsubscribe && (() => {
|
|
2725
2725
|
ee.unsubscribe();
|
|
2726
2726
|
});
|
|
2727
|
-
let
|
|
2727
|
+
let U;
|
|
2728
2728
|
try {
|
|
2729
|
-
if (O && l && w !== "get" && w !== "head" && (
|
|
2729
|
+
if (O && l && w !== "get" && w !== "head" && (U = await A(K, _)) !== 0) {
|
|
2730
2730
|
let C = new n(p, {
|
|
2731
2731
|
method: "POST",
|
|
2732
2732
|
body: _,
|
|
2733
2733
|
duplex: "half"
|
|
2734
|
-
}),
|
|
2735
|
-
if (b.isFormData(_) && (
|
|
2734
|
+
}), k;
|
|
2735
|
+
if (b.isFormData(_) && (k = C.headers.get("content-type")) && K.setContentType(k), C.body) {
|
|
2736
2736
|
const [j, B] = za(
|
|
2737
|
-
|
|
2737
|
+
U,
|
|
2738
2738
|
wn(Va(O))
|
|
2739
2739
|
);
|
|
2740
2740
|
_ = Wa(C.body, $a, j, B);
|
|
@@ -2758,8 +2758,8 @@ const co = (e) => {
|
|
|
2758
2758
|
["status", "statusText", "headers"].forEach((G) => {
|
|
2759
2759
|
C[G] = T[G];
|
|
2760
2760
|
});
|
|
2761
|
-
const
|
|
2762
|
-
|
|
2761
|
+
const k = b.toFiniteNumber(T.headers.get("content-length")), [j, B] = v && za(
|
|
2762
|
+
k,
|
|
2763
2763
|
wn(Va(v), !0)
|
|
2764
2764
|
) || [];
|
|
2765
2765
|
T = new r(
|
|
@@ -2771,8 +2771,8 @@ const co = (e) => {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
L = L || "text";
|
|
2773
2773
|
let y = await h[b.findKey(h, L) || "text"](T, g);
|
|
2774
|
-
return !H && M && M(), await new Promise((C,
|
|
2775
|
-
so(C,
|
|
2774
|
+
return !H && M && M(), await new Promise((C, k) => {
|
|
2775
|
+
so(C, k, {
|
|
2776
2776
|
data: y,
|
|
2777
2777
|
headers: _e.from(T.headers),
|
|
2778
2778
|
status: T.status,
|
|
@@ -3241,8 +3241,8 @@ const {
|
|
|
3241
3241
|
AxiosError: x3,
|
|
3242
3242
|
CanceledError: T3,
|
|
3243
3243
|
isCancel: I3,
|
|
3244
|
-
CancelToken:
|
|
3245
|
-
VERSION:
|
|
3244
|
+
CancelToken: U3,
|
|
3245
|
+
VERSION: k3,
|
|
3246
3246
|
all: R3,
|
|
3247
3247
|
Cancel: L3,
|
|
3248
3248
|
isAxiosError: q3,
|
|
@@ -3265,7 +3265,7 @@ class Be {
|
|
|
3265
3265
|
PUBLIC_IS_OFFLINE: n,
|
|
3266
3266
|
PUBLIC_USERNAME_OFFLINE: r,
|
|
3267
3267
|
PUBLIC_PASSWORD_OFFLINE: o
|
|
3268
|
-
} =
|
|
3268
|
+
} = Y();
|
|
3269
3269
|
if (n === "true")
|
|
3270
3270
|
try {
|
|
3271
3271
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -3556,7 +3556,7 @@ const H3 = async (e, t, n, r, o, s, i) => {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
},
|
|
3558
3558
|
tema: async (e) => {
|
|
3559
|
-
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Be(), i = r.split("/"), c = [], d = Yt(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 } =
|
|
3559
|
+
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Be(), i = r.split("/"), c = [], d = Yt(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 } = Y();
|
|
3560
3560
|
try {
|
|
3561
3561
|
const A = await s.getNewsListTags({
|
|
3562
3562
|
tagid: h,
|
|
@@ -3831,7 +3831,7 @@ async function V3({
|
|
|
3831
3831
|
}
|
|
3832
3832
|
),
|
|
3833
3833
|
t.preloadImages && p && /* @__PURE__ */ a(Da, { images: p }),
|
|
3834
|
-
/* @__PURE__ */ a(
|
|
3834
|
+
/* @__PURE__ */ a(ks, { config: f }),
|
|
3835
3835
|
/* @__PURE__ */ a(
|
|
3836
3836
|
Qr,
|
|
3837
3837
|
{
|
|
@@ -3851,7 +3851,7 @@ async function V3({
|
|
|
3851
3851
|
),
|
|
3852
3852
|
/* @__PURE__ */ a(Ts, { config: f, socials: A }),
|
|
3853
3853
|
t.schemas_Videos && h && /* @__PURE__ */ a(
|
|
3854
|
-
|
|
3854
|
+
Us,
|
|
3855
3855
|
{
|
|
3856
3856
|
axiosApi: e,
|
|
3857
3857
|
realPath: h,
|
|
@@ -3950,10 +3950,10 @@ function wc({
|
|
|
3950
3950
|
enableDrag: s,
|
|
3951
3951
|
onIndexChange: i
|
|
3952
3952
|
}) {
|
|
3953
|
-
const [c, d] =
|
|
3953
|
+
const [c, d] = $(!1), [l, u] = $(0), [h, f] = $(0), [A, g] = $(0), [p, w] = $(0), [_, S] = $(null), N = Or(null), [x, v] = $(1), O = he(() => {
|
|
3954
3954
|
if (o) return 1;
|
|
3955
|
-
const y = N.current?.offsetWidth || window.innerWidth, C = n + r,
|
|
3956
|
-
return Math.max(1,
|
|
3955
|
+
const y = N.current?.offsetWidth || window.innerWidth, C = n + r, k = Math.floor(y / C);
|
|
3956
|
+
return Math.max(1, k);
|
|
3957
3957
|
}, [o, n, r]);
|
|
3958
3958
|
Me(() => {
|
|
3959
3959
|
const y = () => {
|
|
@@ -3971,20 +3971,20 @@ function wc({
|
|
|
3971
3971
|
}, [O]), Q = he(
|
|
3972
3972
|
(y, C = 0) => {
|
|
3973
3973
|
if (o) {
|
|
3974
|
-
const
|
|
3975
|
-
return -(y * (100 + r)) + C /
|
|
3974
|
+
const k = N.current?.offsetWidth || window.innerWidth;
|
|
3975
|
+
return -(y * (100 + r)) + C / k * 100;
|
|
3976
3976
|
}
|
|
3977
3977
|
return -(y * (n + r)) + C;
|
|
3978
3978
|
},
|
|
3979
3979
|
[o, n, r]
|
|
3980
3980
|
), P = he(
|
|
3981
3981
|
(y) => {
|
|
3982
|
-
const C = N.current?.offsetWidth || window.innerWidth,
|
|
3982
|
+
const C = N.current?.offsetWidth || window.innerWidth, k = O(), j = te();
|
|
3983
3983
|
if (o)
|
|
3984
3984
|
return Math.abs(y) / C * 100 > 30 ? 1 : 0;
|
|
3985
3985
|
{
|
|
3986
3986
|
const B = n + r, G = Math.abs(y) / B;
|
|
3987
|
-
return G >= (
|
|
3987
|
+
return G >= (k === 1 ? 0.2 : 0.3) ? k === 1 ? 1 : Math.min(Math.round(G), j) : 0;
|
|
3988
3988
|
}
|
|
3989
3989
|
},
|
|
3990
3990
|
[o, n, r, O, te]
|
|
@@ -3996,7 +3996,7 @@ function wc({
|
|
|
3996
3996
|
), ce = he(
|
|
3997
3997
|
(y) => {
|
|
3998
3998
|
if (!c || !s) return;
|
|
3999
|
-
const C = y - l,
|
|
3999
|
+
const C = y - l, k = (n + r) * 1.2, j = e === 0 && C > 0, B = e === K && C < 0, G = j || B ? Math.sign(C) * Math.min(Math.abs(C), k) : C;
|
|
4000
4000
|
f(y), g(G);
|
|
4001
4001
|
},
|
|
4002
4002
|
[c, l, s, e, K, n, r]
|
|
@@ -4005,10 +4005,10 @@ function wc({
|
|
|
4005
4005
|
ce(y.clientX);
|
|
4006
4006
|
},
|
|
4007
4007
|
[ce]
|
|
4008
|
-
),
|
|
4008
|
+
), U = he(
|
|
4009
4009
|
(y) => {
|
|
4010
4010
|
if (!c || !s) return;
|
|
4011
|
-
const C = h - l,
|
|
4011
|
+
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), B = P(C), z = j > 0.5 && Math.abs(C) > 50 ? Math.max(B, 1) : B;
|
|
4012
4012
|
if (z > 0)
|
|
4013
4013
|
if (C > 0) {
|
|
4014
4014
|
const V = Math.max(0, e - z);
|
|
@@ -4017,7 +4017,7 @@ function wc({
|
|
|
4017
4017
|
const V = Math.min(K, e + z);
|
|
4018
4018
|
i(V);
|
|
4019
4019
|
}
|
|
4020
|
-
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup",
|
|
4020
|
+
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l && _?.dispatchEvent(new PointerEvent("click"));
|
|
4021
4021
|
},
|
|
4022
4022
|
[
|
|
4023
4023
|
c,
|
|
@@ -4049,19 +4049,19 @@ function wc({
|
|
|
4049
4049
|
[c, ce]
|
|
4050
4050
|
), H = he(
|
|
4051
4051
|
(y) => {
|
|
4052
|
-
|
|
4052
|
+
U(y);
|
|
4053
4053
|
},
|
|
4054
|
-
[
|
|
4054
|
+
[U]
|
|
4055
4055
|
);
|
|
4056
4056
|
return Me(() => {
|
|
4057
4057
|
if (c)
|
|
4058
|
-
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup",
|
|
4058
|
+
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup", U), () => {
|
|
4059
4059
|
N.current?.removeEventListener(
|
|
4060
4060
|
"mousemove",
|
|
4061
4061
|
M
|
|
4062
|
-
), N.current?.removeEventListener("mouseup",
|
|
4062
|
+
), N.current?.removeEventListener("mouseup", U);
|
|
4063
4063
|
};
|
|
4064
|
-
}, [c, ce,
|
|
4064
|
+
}, [c, ce, U, M]), {
|
|
4065
4065
|
isDragging: c,
|
|
4066
4066
|
translateOffset: A,
|
|
4067
4067
|
carrouselRef: N,
|
|
@@ -4073,7 +4073,7 @@ function wc({
|
|
|
4073
4073
|
onTouchStart: D,
|
|
4074
4074
|
onTouchMove: T,
|
|
4075
4075
|
onTouchEnd: H,
|
|
4076
|
-
onMouseLeave:
|
|
4076
|
+
onMouseLeave: U
|
|
4077
4077
|
}
|
|
4078
4078
|
};
|
|
4079
4079
|
}
|
|
@@ -4087,7 +4087,7 @@ function $3(e) {
|
|
|
4087
4087
|
fullPageWidth: i = !1,
|
|
4088
4088
|
pagination: c = !1,
|
|
4089
4089
|
enableDrag: d = !0
|
|
4090
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] =
|
|
4090
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = $(0), [f, A] = $(!1);
|
|
4091
4091
|
Me(() => {
|
|
4092
4092
|
A(!0);
|
|
4093
4093
|
const Q = document.getElementById("ssr-dummy_" + n);
|
|
@@ -4312,14 +4312,14 @@ const vc = "_content_1gcxd_1", bc = {
|
|
|
4312
4312
|
},
|
|
4313
4313
|
n.key
|
|
4314
4314
|
);
|
|
4315
|
-
}, Sc = "_boxInformation_tqxxy_1", Ec = "_sectionDescriptionContainer_tqxxy_17", xc = "_uppertitle_tqxxy_39", Tc = "_sectionDescription_tqxxy_17", Ic = "_articule_tqxxy_119",
|
|
4315
|
+
}, Sc = "_boxInformation_tqxxy_1", Ec = "_sectionDescriptionContainer_tqxxy_17", xc = "_uppertitle_tqxxy_39", Tc = "_sectionDescription_tqxxy_17", Ic = "_articule_tqxxy_119", Uc = "_linkStyled_tqxxy_147", kc = "_description_tqxxy_169", Rc = "_correspondent_tqxxy_225", Lc = "_correspondentLink_tqxxy_249", qc = "_dotStyles_tqxxy_273", Bc = "_clipboardButton_tqxxy_287", Oc = "_socialNetworkSection_tqxxy_315", re = {
|
|
4316
4316
|
boxInformation: Sc,
|
|
4317
4317
|
sectionDescriptionContainer: Ec,
|
|
4318
4318
|
uppertitle: xc,
|
|
4319
4319
|
sectionDescription: Tc,
|
|
4320
4320
|
articule: Ic,
|
|
4321
|
-
linkStyled:
|
|
4322
|
-
description:
|
|
4321
|
+
linkStyled: Uc,
|
|
4322
|
+
description: kc,
|
|
4323
4323
|
correspondent: Rc,
|
|
4324
4324
|
correspondentLink: Lc,
|
|
4325
4325
|
dotStyles: qc,
|
|
@@ -4327,7 +4327,7 @@ const vc = "_content_1gcxd_1", bc = {
|
|
|
4327
4327
|
socialNetworkSection: Oc
|
|
4328
4328
|
};
|
|
4329
4329
|
function q(e) {
|
|
4330
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } =
|
|
4330
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = Y(), 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 = {
|
|
4331
4331
|
...e,
|
|
4332
4332
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
4333
4333
|
};
|
|
@@ -4495,7 +4495,7 @@ function Mc({ noteShare: e }) {
|
|
|
4495
4495
|
] }) : null;
|
|
4496
4496
|
}
|
|
4497
4497
|
const Tt = (e) => {
|
|
4498
|
-
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } =
|
|
4498
|
+
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = Y(), c = () => {
|
|
4499
4499
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4500
4500
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${je(
|
|
4501
4501
|
e.info?.date?.modified
|
|
@@ -4727,7 +4727,7 @@ const Tt = (e) => {
|
|
|
4727
4727
|
/* @__PURE__ */ a("defs", { children: /* @__PURE__ */ a("clipPath", { id: "clip0_2503_6565", children: /* @__PURE__ */ a("rect", { width: "28", height: "28", fill: "currentColor" }) }) })
|
|
4728
4728
|
] }), Xc = async (e) => Buffer.from(await e.arrayBuffer()).toString("base64"), el = async (e, t) => {
|
|
4729
4729
|
try {
|
|
4730
|
-
const { PUBLIC_API_HOST: n, PUBLIC_OFFLINE_SITE: r } =
|
|
4730
|
+
const { PUBLIC_API_HOST: n, PUBLIC_OFFLINE_SITE: r } = Y(), o = t?.site ?? "", s = decodeURIComponent(o ?? ""), i = t?.browser ?? "", c = await fetch(`${n}${e}`, {
|
|
4731
4731
|
headers: {
|
|
4732
4732
|
PROJECT: "Offline",
|
|
4733
4733
|
SITE: "/sites/" + r,
|
|
@@ -4747,10 +4747,10 @@ const Tt = (e) => {
|
|
|
4747
4747
|
isVideo: n = !1,
|
|
4748
4748
|
hasShadow: r = !1,
|
|
4749
4749
|
priorityHigh: o = !1
|
|
4750
|
-
} = e, [s, i] =
|
|
4750
|
+
} = e, [s, i] = $(void 0), c = t?.sizes;
|
|
4751
4751
|
return Me(() => {
|
|
4752
4752
|
(async () => {
|
|
4753
|
-
const { PUBLIC_IS_OFFLINE: l } =
|
|
4753
|
+
const { PUBLIC_IS_OFFLINE: l } = Y();
|
|
4754
4754
|
if (l === "true" && c?.[0]?.url) {
|
|
4755
4755
|
const u = await el(c[0].url, e.cookies);
|
|
4756
4756
|
i(u);
|
|
@@ -4786,11 +4786,11 @@ const Tt = (e) => {
|
|
|
4786
4786
|
children: /* @__PURE__ */ a("div", { className: se.imagePlaceholder })
|
|
4787
4787
|
}
|
|
4788
4788
|
);
|
|
4789
|
-
},
|
|
4789
|
+
}, ke = async (e) => {
|
|
4790
4790
|
const { preview: t } = e;
|
|
4791
4791
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4792
4792
|
return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
|
|
4793
|
-
const { PUBLIC_IS_OFFLINE: n } =
|
|
4793
|
+
const { PUBLIC_IS_OFFLINE: n } = Y();
|
|
4794
4794
|
if (n === "true")
|
|
4795
4795
|
return /* @__PURE__ */ a(tl, { ...e });
|
|
4796
4796
|
const r = await Promise.all(
|
|
@@ -4831,7 +4831,7 @@ const Tt = (e) => {
|
|
|
4831
4831
|
},
|
|
4832
4832
|
children: [
|
|
4833
4833
|
/* @__PURE__ */ a("div", { className: Jt.numberTag, children: r + 1 }),
|
|
4834
|
-
n.main.title.home && /* @__PURE__ */ a(
|
|
4834
|
+
n.main.title.home && /* @__PURE__ */ a(ke, { preview: n.preview, priorityHigh: e.priorityHigh })
|
|
4835
4835
|
]
|
|
4836
4836
|
}
|
|
4837
4837
|
),
|
|
@@ -5779,7 +5779,7 @@ const Tt = (e) => {
|
|
|
5779
5779
|
showads: !1
|
|
5780
5780
|
}, ba = (e) => {
|
|
5781
5781
|
let t = [];
|
|
5782
|
-
const { PUBLIC_ENV: n } =
|
|
5782
|
+
const { PUBLIC_ENV: n } = Y();
|
|
5783
5783
|
return e.content && e.content.length > 0 ? t = e.content.map((r) => ({
|
|
5784
5784
|
...r,
|
|
5785
5785
|
config: rr
|
|
@@ -5815,7 +5815,7 @@ const Tt = (e) => {
|
|
|
5815
5815
|
contentTerms: hl,
|
|
5816
5816
|
subscribeText: ml,
|
|
5817
5817
|
terms: fl
|
|
5818
|
-
},
|
|
5818
|
+
}, Un = (e) => {
|
|
5819
5819
|
const { uppercase: t = !1, style: n = {} } = e, r = { ...e, rounded: "", uppercase: "", full: "" }, o = {
|
|
5820
5820
|
...n,
|
|
5821
5821
|
textTransform: t ? "uppercase" : "unset",
|
|
@@ -5856,7 +5856,7 @@ const Tt = (e) => {
|
|
|
5856
5856
|
id: "newsletter-email-column"
|
|
5857
5857
|
}
|
|
5858
5858
|
) }),
|
|
5859
|
-
/* @__PURE__ */ a(
|
|
5859
|
+
/* @__PURE__ */ a(Un, { className: Re.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5860
5860
|
/* @__PURE__ */ m("div", { className: Re.contentTerms, children: [
|
|
5861
5861
|
/* @__PURE__ */ a("p", { className: Re.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5862
5862
|
/* @__PURE__ */ a(q, { className: Re.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
@@ -5891,7 +5891,7 @@ const Tt = (e) => {
|
|
|
5891
5891
|
id: "newsletter-email"
|
|
5892
5892
|
}
|
|
5893
5893
|
),
|
|
5894
|
-
/* @__PURE__ */ a(
|
|
5894
|
+
/* @__PURE__ */ a(Un, { className: Te.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" })
|
|
5895
5895
|
] }),
|
|
5896
5896
|
/* @__PURE__ */ m("div", { className: Te.contentTerms, children: [
|
|
5897
5897
|
/* @__PURE__ */ a("p", { className: Te.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
@@ -5939,9 +5939,9 @@ const Tt = (e) => {
|
|
|
5939
5939
|
] })
|
|
5940
5940
|
]
|
|
5941
5941
|
}
|
|
5942
|
-
),
|
|
5943
|
-
content:
|
|
5944
|
-
subscribeImage:
|
|
5942
|
+
), Ul = "_content_1rb7n_1", kl = "_subscribeImage_1rb7n_31", Rl = "_contentTitle_1rb7n_43", Ll = "_title_1rb7n_65", ql = "_subTitle_1rb7n_79", Bl = "_contentTerms_1rb7n_119", Ol = "_whatsappLink_1rb7n_129", Pl = "_subscribeText_1rb7n_163", Dl = "_terms_1rb7n_183", Ge = {
|
|
5943
|
+
content: Ul,
|
|
5944
|
+
subscribeImage: kl,
|
|
5945
5945
|
contentTitle: Rl,
|
|
5946
5946
|
title: Ll,
|
|
5947
5947
|
subTitle: ql,
|
|
@@ -6283,7 +6283,7 @@ const Tt = (e) => {
|
|
|
6283
6283
|
)
|
|
6284
6284
|
] })
|
|
6285
6285
|
] });
|
|
6286
|
-
}, id = "_content_c2mo2_1", cd = "_imageContent_c2mo2_17", ld = "_width1Autor_c2mo2_35", dd = "_width2Autor_c2mo2_43", ud = "_width3Autor_c2mo2_51", hd = "_imageAutor_c2mo2_59", md = "_imageStyled_c2mo2_137", fd = "_contentIconStyled_c2mo2_139", gd = "_avatarContent_c2mo2_173", pd = "_journalistSection_c2mo2_189", Ad = "_journalistInfo_c2mo2_205", wd = "_journalistInfoLink_c2mo2_207", yd = "_socialNetworkSection_c2mo2_277", vd = "_avatarStyled_c2mo2_301", bd = "_article_c2mo2_311", Cd = "_socialButton_c2mo2_319", _d = "_facebookStyled_c2mo2_351", Nd = "_emailStyled_c2mo2_359", Sd = "_xStyled_c2mo2_367", Ed = "_linkedinStyled_c2mo2_375", xd = "_whatsappStyled_c2mo2_383", Td = "_whatsappLink_c2mo2_391", Id = "_clipboardButton_c2mo2_423",
|
|
6286
|
+
}, id = "_content_c2mo2_1", cd = "_imageContent_c2mo2_17", ld = "_width1Autor_c2mo2_35", dd = "_width2Autor_c2mo2_43", ud = "_width3Autor_c2mo2_51", hd = "_imageAutor_c2mo2_59", md = "_imageStyled_c2mo2_137", fd = "_contentIconStyled_c2mo2_139", gd = "_avatarContent_c2mo2_173", pd = "_journalistSection_c2mo2_189", Ad = "_journalistInfo_c2mo2_205", wd = "_journalistInfoLink_c2mo2_207", yd = "_socialNetworkSection_c2mo2_277", vd = "_avatarStyled_c2mo2_301", bd = "_article_c2mo2_311", Cd = "_socialButton_c2mo2_319", _d = "_facebookStyled_c2mo2_351", Nd = "_emailStyled_c2mo2_359", Sd = "_xStyled_c2mo2_367", Ed = "_linkedinStyled_c2mo2_375", xd = "_whatsappStyled_c2mo2_383", Td = "_whatsappLink_c2mo2_391", Id = "_clipboardButton_c2mo2_423", Ud = "_googleProfileButton_c2mo2_495", de = {
|
|
6287
6287
|
content: id,
|
|
6288
6288
|
imageContent: cd,
|
|
6289
6289
|
width1Autor: ld,
|
|
@@ -6307,8 +6307,8 @@ const Tt = (e) => {
|
|
|
6307
6307
|
whatsappStyled: xd,
|
|
6308
6308
|
whatsappLink: Td,
|
|
6309
6309
|
clipboardButton: Id,
|
|
6310
|
-
googleProfileButton:
|
|
6311
|
-
},
|
|
6310
|
+
googleProfileButton: Ud
|
|
6311
|
+
}, kd = (e) => /* @__PURE__ */ a(
|
|
6312
6312
|
"svg",
|
|
6313
6313
|
{
|
|
6314
6314
|
width: "13",
|
|
@@ -6446,7 +6446,7 @@ const Tt = (e) => {
|
|
|
6446
6446
|
url: (e) => `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,
|
|
6447
6447
|
icon: {
|
|
6448
6448
|
outline: (e) => /* @__PURE__ */ a(qd, { className: e }),
|
|
6449
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
6449
|
+
solid: (e) => /* @__PURE__ */ a(kd, { className: e })
|
|
6450
6450
|
}
|
|
6451
6451
|
},
|
|
6452
6452
|
X: {
|
|
@@ -6650,7 +6650,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6650
6650
|
href: r?.link?.url,
|
|
6651
6651
|
target: r?.link?.target,
|
|
6652
6652
|
children: /* @__PURE__ */ a(
|
|
6653
|
-
|
|
6653
|
+
ke,
|
|
6654
6654
|
{
|
|
6655
6655
|
preview: o,
|
|
6656
6656
|
isVideo: i,
|
|
@@ -6685,14 +6685,14 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6685
6685
|
sectionDescription: r1,
|
|
6686
6686
|
articule: o1,
|
|
6687
6687
|
linkStyled: s1
|
|
6688
|
-
},
|
|
6688
|
+
}, kn = (e) => {
|
|
6689
6689
|
const {
|
|
6690
6690
|
isVideo: t,
|
|
6691
6691
|
info: n,
|
|
6692
6692
|
main: r,
|
|
6693
6693
|
overImage: o = "default",
|
|
6694
6694
|
titleGradient: s = !1
|
|
6695
|
-
} = e, { SHOW_TAG_BY_SECTION: i } =
|
|
6695
|
+
} = e, { SHOW_TAG_BY_SECTION: i } = Y(), c = () => {
|
|
6696
6696
|
if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
6697
6697
|
const d = e.keywords.tags[0], l = d.name;
|
|
6698
6698
|
return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -6723,7 +6723,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6723
6723
|
title: r?.title?.section,
|
|
6724
6724
|
href: n.link.url,
|
|
6725
6725
|
target: n.link.target,
|
|
6726
|
-
children: /* @__PURE__ */ a(
|
|
6726
|
+
children: /* @__PURE__ */ a(ke, { preview: e.preview, isVideo: t })
|
|
6727
6727
|
}
|
|
6728
6728
|
),
|
|
6729
6729
|
/* @__PURE__ */ m(
|
|
@@ -6774,18 +6774,18 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6774
6774
|
/* @__PURE__ */ a(q, { className: gt.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6775
6775
|
] })
|
|
6776
6776
|
] });
|
|
6777
|
-
}, g1 = "_content_14eky_1", p1 = "_contentLabel_14eky_15", A1 = "_label_14eky_25", w1 = "_required_14eky_43", y1 = "_input_14eky_55",
|
|
6777
|
+
}, g1 = "_content_14eky_1", p1 = "_contentLabel_14eky_15", A1 = "_label_14eky_25", w1 = "_required_14eky_43", y1 = "_input_14eky_55", kt = {
|
|
6778
6778
|
content: g1,
|
|
6779
6779
|
contentLabel: p1,
|
|
6780
6780
|
label: A1,
|
|
6781
6781
|
required: w1,
|
|
6782
6782
|
input: y1
|
|
6783
|
-
}, X3 = (e) => /* @__PURE__ */ m("div", { className:
|
|
6784
|
-
/* @__PURE__ */ m("div", { className:
|
|
6785
|
-
/* @__PURE__ */ a("label", { className:
|
|
6786
|
-
e.required && /* @__PURE__ */ a("span", { className:
|
|
6783
|
+
}, X3 = (e) => /* @__PURE__ */ m("div", { className: kt.content, children: [
|
|
6784
|
+
/* @__PURE__ */ m("div", { className: kt.contentLabel, children: [
|
|
6785
|
+
/* @__PURE__ */ a("label", { className: kt.label, children: e.label }),
|
|
6786
|
+
e.required && /* @__PURE__ */ a("span", { className: kt.required, children: "*" })
|
|
6787
6787
|
] }),
|
|
6788
|
-
/* @__PURE__ */ a("input", { className:
|
|
6788
|
+
/* @__PURE__ */ a("input", { className: kt.input, ...e })
|
|
6789
6789
|
] }), v1 = "_content_1ukl4_1", b1 = "_contentLabel_1ukl4_15", C1 = "_label_1ukl4_25", _1 = "_required_1ukl4_43", N1 = "_input_1ukl4_55", Rt = {
|
|
6790
6790
|
content: v1,
|
|
6791
6791
|
contentLabel: b1,
|
|
@@ -6808,11 +6808,11 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6808
6808
|
}, t9 = (e) => /* @__PURE__ */ m("div", { className: Dn.content, children: [
|
|
6809
6809
|
/* @__PURE__ */ a("label", { className: Dn.label, children: e.label }),
|
|
6810
6810
|
/* @__PURE__ */ a("textarea", { className: Dn.input, ...e })
|
|
6811
|
-
] }), T1 = "_boxInformation_1ah38_1", I1 = "_textBox_1ah38_59",
|
|
6811
|
+
] }), T1 = "_boxInformation_1ah38_1", I1 = "_textBox_1ah38_59", U1 = "_contentBox_1ah38_79", k1 = "_liveBox_1ah38_99", R1 = "_dot_1ah38_143", L1 = "_sectionDescription_1ah38_193", q1 = "_articule_1ah38_219", B1 = "_description_1ah38_273", tt = {
|
|
6812
6812
|
boxInformation: T1,
|
|
6813
6813
|
textBox: I1,
|
|
6814
|
-
contentBox:
|
|
6815
|
-
liveBox:
|
|
6814
|
+
contentBox: U1,
|
|
6815
|
+
liveBox: k1,
|
|
6816
6816
|
dot: R1,
|
|
6817
6817
|
sectionDescription: L1,
|
|
6818
6818
|
articule: q1,
|
|
@@ -6823,7 +6823,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6823
6823
|
}, yo = (e) => {
|
|
6824
6824
|
let t = "";
|
|
6825
6825
|
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: bn.content, children: [
|
|
6826
|
-
/* @__PURE__ */ a(
|
|
6826
|
+
/* @__PURE__ */ a(ke, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6827
6827
|
t && /* @__PURE__ */ a("div", { className: bn.description, children: t })
|
|
6828
6828
|
] });
|
|
6829
6829
|
}, D1 = (e) => /* @__PURE__ */ a(J, { children: /* @__PURE__ */ m("div", { className: tt.boxInformation, children: [
|
|
@@ -7161,12 +7161,12 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7161
7161
|
}
|
|
7162
7162
|
)
|
|
7163
7163
|
] })
|
|
7164
|
-
] }) }), xu = "_content_17oas_1", Tu = "_titleContent_17oas_47", Iu = "_title_17oas_47",
|
|
7164
|
+
] }) }), xu = "_content_17oas_1", Tu = "_titleContent_17oas_47", Iu = "_title_17oas_47", Uu = "_startLine_17oas_175", ku = "_line_17oas_185", Ru = "_bottomLine_17oas_197", Lu = "_childrenContent_17oas_235", qu = "_readMore_17oas_261", ze = {
|
|
7165
7165
|
content: xu,
|
|
7166
7166
|
titleContent: Tu,
|
|
7167
7167
|
title: Iu,
|
|
7168
|
-
startLine:
|
|
7169
|
-
line:
|
|
7168
|
+
startLine: Uu,
|
|
7169
|
+
line: ku,
|
|
7170
7170
|
bottomLine: Ru,
|
|
7171
7171
|
childrenContent: Lu,
|
|
7172
7172
|
readMore: qu
|
|
@@ -7513,7 +7513,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7513
7513
|
i
|
|
7514
7514
|
)) })
|
|
7515
7515
|
] });
|
|
7516
|
-
}, yh = "_headerStyled_5isjw_1", vh = "_headerContent_5isjw_27", bh = "_iconContent_5isjw_49", Ch = "_menuButton_5isjw_67", _h = "_logoStyled_5isjw_131", Nh = "_buttonSection_5isjw_187", Sh = "_buttonSectionSearch_5isjw_217", Eh = "_headLineContent_5isjw_259", xh = "_headLineTitle_5isjw_285", Th = "_headLine_5isjw_259", Ih = "_hasAlertZone_5isjw_391",
|
|
7516
|
+
}, yh = "_headerStyled_5isjw_1", vh = "_headerContent_5isjw_27", bh = "_iconContent_5isjw_49", Ch = "_menuButton_5isjw_67", _h = "_logoStyled_5isjw_131", Nh = "_buttonSection_5isjw_187", Sh = "_buttonSectionSearch_5isjw_217", Eh = "_headLineContent_5isjw_259", xh = "_headLineTitle_5isjw_285", Th = "_headLine_5isjw_259", Ih = "_hasAlertZone_5isjw_391", Ue = {
|
|
7517
7517
|
headerStyled: yh,
|
|
7518
7518
|
headerContent: vh,
|
|
7519
7519
|
iconContent: bh,
|
|
@@ -7525,9 +7525,9 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7525
7525
|
headLineTitle: xh,
|
|
7526
7526
|
headLine: Th,
|
|
7527
7527
|
hasAlertZone: Ih
|
|
7528
|
-
},
|
|
7528
|
+
}, Uh = (e) => {
|
|
7529
7529
|
const { alertZone: t } = e;
|
|
7530
|
-
return /* @__PURE__ */ m("header", { className:
|
|
7530
|
+
return /* @__PURE__ */ m("header", { className: Ue.headerStyled, children: [
|
|
7531
7531
|
e.socialIcons && /* @__PURE__ */ a(
|
|
7532
7532
|
wh,
|
|
7533
7533
|
{
|
|
@@ -7537,12 +7537,12 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7537
7537
|
socials: e.socials
|
|
7538
7538
|
}
|
|
7539
7539
|
),
|
|
7540
|
-
/* @__PURE__ */ m("div", { className: `${
|
|
7540
|
+
/* @__PURE__ */ m("div", { className: `${Ue.headerContent} center-mobile-header-icon`, children: [
|
|
7541
7541
|
/* @__PURE__ */ a(
|
|
7542
|
-
|
|
7542
|
+
Un,
|
|
7543
7543
|
{
|
|
7544
7544
|
id: "button-app",
|
|
7545
|
-
className:
|
|
7545
|
+
className: Ue.menuButton,
|
|
7546
7546
|
toggledrawerevent: "true",
|
|
7547
7547
|
"aria-label": "menu",
|
|
7548
7548
|
"aria-labelledby": "menu",
|
|
@@ -7550,7 +7550,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7550
7550
|
children: /* @__PURE__ */ a(
|
|
7551
7551
|
bo,
|
|
7552
7552
|
{
|
|
7553
|
-
className:
|
|
7553
|
+
className: Ue.startIcon,
|
|
7554
7554
|
color: "var(--header-icons)",
|
|
7555
7555
|
width: 27,
|
|
7556
7556
|
height: 27
|
|
@@ -7558,7 +7558,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7558
7558
|
)
|
|
7559
7559
|
}
|
|
7560
7560
|
),
|
|
7561
|
-
/* @__PURE__ */ a("div", { className:
|
|
7561
|
+
/* @__PURE__ */ a("div", { className: Ue.iconContent, children: /* @__PURE__ */ a(
|
|
7562
7562
|
q,
|
|
7563
7563
|
{
|
|
7564
7564
|
href: "/",
|
|
@@ -7567,17 +7567,17 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7567
7567
|
style: { display: "flex" },
|
|
7568
7568
|
children: xe.createElement(
|
|
7569
7569
|
"span",
|
|
7570
|
-
{ className:
|
|
7570
|
+
{ className: Ue.logoStyled },
|
|
7571
7571
|
e.icon
|
|
7572
7572
|
)
|
|
7573
7573
|
}
|
|
7574
7574
|
) }),
|
|
7575
|
-
!e.showAlertPop && t?.data && /* @__PURE__ */ m("div", { className:
|
|
7576
|
-
/* @__PURE__ */ a("div", { className: `${
|
|
7575
|
+
!e.showAlertPop && t?.data && /* @__PURE__ */ m("div", { className: Ue.headLineContent, children: [
|
|
7576
|
+
/* @__PURE__ */ a("div", { className: `${Ue.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
7577
7577
|
/* @__PURE__ */ a(
|
|
7578
7578
|
q,
|
|
7579
7579
|
{
|
|
7580
|
-
className:
|
|
7580
|
+
className: Ue.headLine,
|
|
7581
7581
|
href: t.data[0]?.info.link.url,
|
|
7582
7582
|
target: t.data[0]?.info.link.target,
|
|
7583
7583
|
title: t.data[0]?.main.title.home,
|
|
@@ -7590,8 +7590,8 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7590
7590
|
{
|
|
7591
7591
|
style: e.showAlertPop ? { marginLeft: "auto" } : {},
|
|
7592
7592
|
className: [
|
|
7593
|
-
|
|
7594
|
-
t?.data ?
|
|
7593
|
+
Ue.buttonSection,
|
|
7594
|
+
t?.data ? Ue.hasAlertZone : "",
|
|
7595
7595
|
"search-button"
|
|
7596
7596
|
].join(" "),
|
|
7597
7597
|
children: [
|
|
@@ -7600,7 +7600,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7600
7600
|
{
|
|
7601
7601
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7602
7602
|
"aria-label": e.searchKeyWord,
|
|
7603
|
-
className: `${
|
|
7603
|
+
className: `${Ue.buttonSectionSearch} search-button-icon`,
|
|
7604
7604
|
style: { display: "flex" },
|
|
7605
7605
|
children: /* @__PURE__ */ a(Sa, { width: 28, height: 28, color: "currentColor" })
|
|
7606
7606
|
}
|
|
@@ -7618,8 +7618,8 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7618
7618
|
}
|
|
7619
7619
|
)
|
|
7620
7620
|
] });
|
|
7621
|
-
},
|
|
7622
|
-
ul:
|
|
7621
|
+
}, kh = "_ul_196it_1", Rh = "_li_196it_19", Lh = "_liBefore_196it_35", qh = "_ulContent_196it_65", Bh = "_contentModal_196it_87", Oh = "_linkStyled_196it_111", Ph = "_itemLink_196it_161", Fe = {
|
|
7622
|
+
ul: kh,
|
|
7623
7623
|
li: Rh,
|
|
7624
7624
|
liBefore: Lh,
|
|
7625
7625
|
ulContent: qh,
|
|
@@ -7689,7 +7689,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7689
7689
|
].join(" "),
|
|
7690
7690
|
children: [
|
|
7691
7691
|
/* @__PURE__ */ a("div", { className: ye.menuButtonSection, children: /* @__PURE__ */ m(
|
|
7692
|
-
|
|
7692
|
+
Un,
|
|
7693
7693
|
{
|
|
7694
7694
|
className: ye.menuButton,
|
|
7695
7695
|
id: "button-app",
|
|
@@ -7754,7 +7754,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
7754
7754
|
}, a9 = (e) => {
|
|
7755
7755
|
const { alertZone: t, children: n, sidebar: r } = e;
|
|
7756
7756
|
return /* @__PURE__ */ m(J, { children: [
|
|
7757
|
-
/* @__PURE__ */ a(
|
|
7757
|
+
/* @__PURE__ */ a(Uh, { ...e }),
|
|
7758
7758
|
!e.showOnlyStickyHeader && /* @__PURE__ */ a(em, { ...e }),
|
|
7759
7759
|
/* @__PURE__ */ m(
|
|
7760
7760
|
"div",
|
|
@@ -8049,18 +8049,18 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
8049
8049
|
},
|
|
8050
8050
|
`author-${r.firstname}`
|
|
8051
8051
|
)) });
|
|
8052
|
-
}, Tm = "_content_qiw8s_1", Im = "_contentNews_qiw8s_19",
|
|
8052
|
+
}, Tm = "_content_qiw8s_1", Im = "_contentNews_qiw8s_19", Um = "_linkTitle_qiw8s_53", km = "_tag_qiw8s_69", Rm = "_tagmx_qiw8s_109", Lm = "_titular_qiw8s_139", qm = "_correspondent_qiw8s_169", Bm = "_correspondentLink_qiw8s_191", Om = "_description_qiw8s_213", Se = {
|
|
8053
8053
|
content: Tm,
|
|
8054
8054
|
contentNews: Im,
|
|
8055
|
-
linkTitle:
|
|
8056
|
-
tag:
|
|
8055
|
+
linkTitle: Um,
|
|
8056
|
+
tag: km,
|
|
8057
8057
|
tagmx: Rm,
|
|
8058
8058
|
titular: Lm,
|
|
8059
8059
|
correspondent: qm,
|
|
8060
8060
|
correspondentLink: Bm,
|
|
8061
8061
|
description: Om
|
|
8062
8062
|
}, _t = (e) => {
|
|
8063
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8063
|
+
const { SHOW_TAG_BY_SECTION: t } = Y(), n = () => {
|
|
8064
8064
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8065
8065
|
return `${e?.authors[0]?.fullname} - ${je(
|
|
8066
8066
|
e.info?.date?.modified
|
|
@@ -8116,7 +8116,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
8116
8116
|
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
8117
8117
|
},
|
|
8118
8118
|
children: /* @__PURE__ */ a(
|
|
8119
|
-
|
|
8119
|
+
ke,
|
|
8120
8120
|
{
|
|
8121
8121
|
preview: e.preview,
|
|
8122
8122
|
isLarge: !0,
|
|
@@ -8327,7 +8327,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
8327
8327
|
subtitle: Wm,
|
|
8328
8328
|
linkStyled: $m
|
|
8329
8329
|
}, _o = (e) => {
|
|
8330
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8330
|
+
const { SHOW_TAG_BY_SECTION: t } = Y(), n = () => {
|
|
8331
8331
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
8332
8332
|
const r = e.mainNew.keywords.tags[0], o = r.name;
|
|
8333
8333
|
return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -8390,7 +8390,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
8390
8390
|
className: Gn.headerSectionLink,
|
|
8391
8391
|
href: s?.info?.link?.url,
|
|
8392
8392
|
target: s?.info?.link?.target,
|
|
8393
|
-
children: /* @__PURE__ */ a(
|
|
8393
|
+
children: /* @__PURE__ */ a(ke, { preview: s.preview })
|
|
8394
8394
|
}
|
|
8395
8395
|
)
|
|
8396
8396
|
] }),
|
|
@@ -8698,10 +8698,10 @@ const r9 = (e) => {
|
|
|
8698
8698
|
})
|
|
8699
8699
|
}
|
|
8700
8700
|
) });
|
|
8701
|
-
}, I2 = "_newsContent_1x5ie_1",
|
|
8701
|
+
}, I2 = "_newsContent_1x5ie_1", U2 = "_contentSeparator_1x5ie_15", k2 = "_newsContentWhitoutLine_1x5ie_57", Hn = {
|
|
8702
8702
|
newsContent: I2,
|
|
8703
|
-
contentSeparator:
|
|
8704
|
-
newsContentWhitoutLine:
|
|
8703
|
+
contentSeparator: U2,
|
|
8704
|
+
newsContentWhitoutLine: k2
|
|
8705
8705
|
}, R2 = (e) => {
|
|
8706
8706
|
const { content: t, title: n } = e;
|
|
8707
8707
|
if (!(!t || t.length === 0))
|
|
@@ -8757,7 +8757,7 @@ const r9 = (e) => {
|
|
|
8757
8757
|
target: o?.info?.link.target,
|
|
8758
8758
|
"aria-label": "Video",
|
|
8759
8759
|
children: /* @__PURE__ */ a(
|
|
8760
|
-
|
|
8760
|
+
ke,
|
|
8761
8761
|
{
|
|
8762
8762
|
preview: {
|
|
8763
8763
|
sizes: o?.main?.image.sizes,
|
|
@@ -8818,7 +8818,7 @@ const r9 = (e) => {
|
|
|
8818
8818
|
target: e?.info?.link?.target,
|
|
8819
8819
|
title: e.main?.title?.section,
|
|
8820
8820
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
8821
|
-
children: /* @__PURE__ */ a(
|
|
8821
|
+
children: /* @__PURE__ */ a(ke, { preview: e.preview })
|
|
8822
8822
|
}
|
|
8823
8823
|
),
|
|
8824
8824
|
/* @__PURE__ */ m("div", { className: qt.textContent, children: [
|
|
@@ -8910,7 +8910,7 @@ const r9 = (e) => {
|
|
|
8910
8910
|
"--heightImageOverwrite": e.heightImageOverwrite,
|
|
8911
8911
|
"--heightImageOverwriteMobile": e.heightImageOverwriteMobile
|
|
8912
8912
|
},
|
|
8913
|
-
children: /* @__PURE__ */ a(
|
|
8913
|
+
children: /* @__PURE__ */ a(kn, { ...c, paths: e.paths })
|
|
8914
8914
|
},
|
|
8915
8915
|
i
|
|
8916
8916
|
);
|
|
@@ -9327,14 +9327,14 @@ const r9 = (e) => {
|
|
|
9327
9327
|
}
|
|
9328
9328
|
);
|
|
9329
9329
|
}
|
|
9330
|
-
}, Sf = "_content_x3ugk_1", Ef = "_contentWithinCard_x3ugk_13", xf = "_contentDate_x3ugk_25", Tf = "_dateInfo_x3ugk_39", If = "_dot_x3ugk_59",
|
|
9330
|
+
}, Sf = "_content_x3ugk_1", Ef = "_contentWithinCard_x3ugk_13", xf = "_contentDate_x3ugk_25", Tf = "_dateInfo_x3ugk_39", If = "_dot_x3ugk_59", Uf = "_contentTitle_x3ugk_75", kf = "_contentTextList_x3ugk_93", Rf = "_contentButton_x3ugk_201", Lf = "_linkStyled_x3ugk_213", $e = {
|
|
9331
9331
|
content: Sf,
|
|
9332
9332
|
contentWithinCard: Ef,
|
|
9333
9333
|
contentDate: xf,
|
|
9334
9334
|
dateInfo: Tf,
|
|
9335
9335
|
dot: If,
|
|
9336
|
-
contentTitle:
|
|
9337
|
-
contentTextList:
|
|
9336
|
+
contentTitle: Uf,
|
|
9337
|
+
contentTextList: kf,
|
|
9338
9338
|
contentButton: Rf,
|
|
9339
9339
|
linkStyled: Lf
|
|
9340
9340
|
}, qf = "_content_12i3e_1", Bf = {
|
|
@@ -9397,7 +9397,7 @@ const jf = async ({
|
|
|
9397
9397
|
)
|
|
9398
9398
|
] }),
|
|
9399
9399
|
/* @__PURE__ */ a("p", { className: $e.contentTitle, children: e[0]?.list.integrated ? s.title : `${s.index}. ${s.title}` }),
|
|
9400
|
-
s.image && /* @__PURE__ */ a(
|
|
9400
|
+
s.image && /* @__PURE__ */ a(ke, { preview: s.image, isLarge: !0 }),
|
|
9401
9401
|
/* @__PURE__ */ a(
|
|
9402
9402
|
"div",
|
|
9403
9403
|
{
|
|
@@ -9470,7 +9470,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9470
9470
|
if (!e.news || !e.news.authors) return null;
|
|
9471
9471
|
const { news: t, socials: n, texts: r } = e, o = t.authors.map(
|
|
9472
9472
|
(c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
|
|
9473
|
-
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } =
|
|
9473
|
+
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = Y();
|
|
9474
9474
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ m("div", { className: de.avatarContent, children: [
|
|
9475
9475
|
i ? /* @__PURE__ */ m(
|
|
9476
9476
|
"a",
|
|
@@ -9589,7 +9589,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9589
9589
|
visibleItems: 1,
|
|
9590
9590
|
pagination: !0,
|
|
9591
9591
|
cardGap: 0,
|
|
9592
|
-
children: s && s.map((i, c) => /* @__PURE__ */ a(
|
|
9592
|
+
children: s && s.map((i, c) => /* @__PURE__ */ a(ke, { preview: i, priorityHigh: !0 }, c))
|
|
9593
9593
|
}
|
|
9594
9594
|
),
|
|
9595
9595
|
/* @__PURE__ */ a("div", { className: bn.description, children: s && s[0]?.description })
|
|
@@ -9969,7 +9969,7 @@ const i0 = "_content_1kodm_1", c0 = "_title_1kodm_35", gr = {
|
|
|
9969
9969
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
9970
9970
|
} };
|
|
9971
9971
|
return /* @__PURE__ */ a(
|
|
9972
|
-
|
|
9972
|
+
kn,
|
|
9973
9973
|
{
|
|
9974
9974
|
...c,
|
|
9975
9975
|
titleGradient: !0,
|
|
@@ -9993,7 +9993,7 @@ const i0 = "_content_1kodm_1", c0 = "_title_1kodm_35", gr = {
|
|
|
9993
9993
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
9994
9994
|
} };
|
|
9995
9995
|
return /* @__PURE__ */ a(
|
|
9996
|
-
|
|
9996
|
+
kn,
|
|
9997
9997
|
{
|
|
9998
9998
|
...c,
|
|
9999
9999
|
titleGradient: !0,
|
|
@@ -10020,7 +10020,7 @@ const i0 = "_content_1kodm_1", c0 = "_title_1kodm_35", gr = {
|
|
|
10020
10020
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
10021
10021
|
} };
|
|
10022
10022
|
return /* @__PURE__ */ st(
|
|
10023
|
-
|
|
10023
|
+
kn,
|
|
10024
10024
|
{
|
|
10025
10025
|
...c,
|
|
10026
10026
|
key: i,
|
|
@@ -10061,7 +10061,7 @@ const i0 = "_content_1kodm_1", c0 = "_title_1kodm_35", gr = {
|
|
|
10061
10061
|
/* @__PURE__ */ a("p", { className: ct.title, children: o?.main?.title.home }),
|
|
10062
10062
|
o?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: ct.subtitle, children: o?.main?.subtitle?.striped })
|
|
10063
10063
|
] }),
|
|
10064
|
-
/* @__PURE__ */ a(
|
|
10064
|
+
/* @__PURE__ */ a(ke, { preview: o.preview })
|
|
10065
10065
|
]
|
|
10066
10066
|
}
|
|
10067
10067
|
) }),
|
|
@@ -10243,7 +10243,7 @@ const wr = {
|
|
|
10243
10243
|
config: n,
|
|
10244
10244
|
banners: r
|
|
10245
10245
|
}) => {
|
|
10246
|
-
const { PUBLIC_ENV: o } =
|
|
10246
|
+
const { PUBLIC_ENV: o } = Y();
|
|
10247
10247
|
if (o !== "local") return null;
|
|
10248
10248
|
const s = e?.news?.data || [], i = (c, d) => ({
|
|
10249
10249
|
...e?.news,
|
|
@@ -10280,7 +10280,7 @@ const wr = {
|
|
|
10280
10280
|
),
|
|
10281
10281
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 1 }) })
|
|
10282
10282
|
] });
|
|
10283
|
-
},
|
|
10283
|
+
}, U0 = (e) => {
|
|
10284
10284
|
const { config: t, hascontent: n } = e, r = t.articlepreview, o = [
|
|
10285
10285
|
ot.videoEmbedded,
|
|
10286
10286
|
ot.videoYouTube,
|
|
@@ -10427,7 +10427,7 @@ const wr = {
|
|
|
10427
10427
|
getVideos: l,
|
|
10428
10428
|
noteShare: e.noteShare,
|
|
10429
10429
|
paths: e.paths,
|
|
10430
|
-
showHeaderImage: !
|
|
10430
|
+
showHeaderImage: !U0(s[0])
|
|
10431
10431
|
}
|
|
10432
10432
|
),
|
|
10433
10433
|
/* @__PURE__ */ a(ge, { banners: r ?? [], name: "block_3" })
|
|
@@ -10437,8 +10437,8 @@ const wr = {
|
|
|
10437
10437
|
}
|
|
10438
10438
|
)
|
|
10439
10439
|
] }) });
|
|
10440
|
-
},
|
|
10441
|
-
content:
|
|
10440
|
+
}, k0 = "_content_1mczt_1", R0 = "_contentInfo_1mczt_47", L0 = "_imageStyled_1mczt_81", q0 = "_name_1mczt_91", B0 = "_description_1mczt_101", O0 = "_contentInfoWithoutImg_1mczt_207", yt = {
|
|
10441
|
+
content: k0,
|
|
10442
10442
|
contentInfo: R0,
|
|
10443
10443
|
imageStyled: L0,
|
|
10444
10444
|
name: q0,
|
|
@@ -10826,7 +10826,7 @@ const wr = {
|
|
|
10826
10826
|
target: t.info.link.target,
|
|
10827
10827
|
children: /* @__PURE__ */ m("section", { className: br.container, children: [
|
|
10828
10828
|
/* @__PURE__ */ a(
|
|
10829
|
-
|
|
10829
|
+
ke,
|
|
10830
10830
|
{
|
|
10831
10831
|
isLarge: !0,
|
|
10832
10832
|
preview: {
|
|
@@ -10919,7 +10919,7 @@ const Ng = (e) => {
|
|
|
10919
10919
|
);
|
|
10920
10920
|
if (!s.length || !s[0]?.url || s[0]?.url === "")
|
|
10921
10921
|
return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
|
|
10922
|
-
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } =
|
|
10922
|
+
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } = Y();
|
|
10923
10923
|
return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ m("span", { className: se.backdrop, children: [
|
|
10924
10924
|
/* @__PURE__ */ a(
|
|
10925
10925
|
"span",
|
|
@@ -11048,7 +11048,7 @@ const Ng = (e) => {
|
|
|
11048
11048
|
isVisible: r = !1,
|
|
11049
11049
|
stylesConfig: o
|
|
11050
11050
|
}) => {
|
|
11051
|
-
const [s, i] =
|
|
11051
|
+
const [s, i] = $({ data: Array.from({ length: Cr }, () => Eg) }), [c, d] = $(!1), l = he(async () => {
|
|
11052
11052
|
if (!(c || !t?.info?.link?.internal)) {
|
|
11053
11053
|
d(!0);
|
|
11054
11054
|
try {
|
|
@@ -11206,7 +11206,7 @@ const Ng = (e) => {
|
|
|
11206
11206
|
}
|
|
11207
11207
|
) : /* @__PURE__ */ a("div", { className: re.correspondent, children: o }) })
|
|
11208
11208
|
] });
|
|
11209
|
-
},
|
|
11209
|
+
}, Ug = ({
|
|
11210
11210
|
user: e,
|
|
11211
11211
|
handleLogout: t,
|
|
11212
11212
|
message: n
|
|
@@ -11245,8 +11245,8 @@ const Ng = (e) => {
|
|
|
11245
11245
|
/* @__PURE__ */ a("p", { className: "comment-text", children: n })
|
|
11246
11246
|
] })
|
|
11247
11247
|
] }) });
|
|
11248
|
-
},
|
|
11249
|
-
overlay:
|
|
11248
|
+
}, kg = "_overlay_1ng7z_5", Rg = "_popup_1ng7z_33", Lg = "_title_1ng7z_79", qg = "_optionsContainer_1ng7z_103", Bg = "_option_1ng7z_103", Og = "_radioInput_1ng7z_131", Pg = "_radioCustom_1ng7z_139", Dg = "_optionLabel_1ng7z_193", Mg = "_buttons_1ng7z_219", jg = "_cancelButton_1ng7z_233", Qg = "_closeButton_1ng7z_235", Gg = "_buttonAlone_1ng7z_273", Hg = "_reportButton_1ng7z_285", zg = "_successContainer_1ng7z_325", Vg = "_thumbsUp_1ng7z_341", Fg = "_successMessage_1ng7z_353", Wg = "_errorMessage_1ng7z_435", $g = "_loadingContainer_1ng7z_461", ue = {
|
|
11249
|
+
overlay: kg,
|
|
11250
11250
|
popup: Rg,
|
|
11251
11251
|
title: Lg,
|
|
11252
11252
|
optionsContainer: qg,
|
|
@@ -11265,10 +11265,11 @@ const Ng = (e) => {
|
|
|
11265
11265
|
errorMessage: Wg,
|
|
11266
11266
|
loadingContainer: $g
|
|
11267
11267
|
}, To = async (e) => {
|
|
11268
|
-
const { PUBLIC_ENV: t } =
|
|
11269
|
-
if (t === "local") return !0;
|
|
11268
|
+
const { PUBLIC_ENV: t } = Y();
|
|
11269
|
+
if (console.log(t, !0), t === "local") return !0;
|
|
11270
11270
|
if (!e) return !1;
|
|
11271
|
-
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o } =
|
|
11271
|
+
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o } = Y();
|
|
11272
|
+
console.log({ CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o });
|
|
11272
11273
|
try {
|
|
11273
11274
|
const s = n, i = r, l = await (await fetch(
|
|
11274
11275
|
`https://recaptchaenterprise.googleapis.com/v1/projects/${s}/assessments?key=${o}`,
|
|
@@ -11372,7 +11373,7 @@ function Yg(e) {
|
|
|
11372
11373
|
}
|
|
11373
11374
|
const xa = (e, t) => {
|
|
11374
11375
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
11375
|
-
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } =
|
|
11376
|
+
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } = Y(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ft} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
11376
11377
|
return { boolean: i, text: c };
|
|
11377
11378
|
}, Io = (e) => {
|
|
11378
11379
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
@@ -11490,14 +11491,14 @@ function Xg() {
|
|
|
11490
11491
|
case h:
|
|
11491
11492
|
return Ft;
|
|
11492
11493
|
default:
|
|
11493
|
-
var
|
|
11494
|
-
switch (
|
|
11494
|
+
var ka = Ft && Ft.$$typeof;
|
|
11495
|
+
switch (ka) {
|
|
11495
11496
|
case c:
|
|
11496
11497
|
case u:
|
|
11497
11498
|
case g:
|
|
11498
11499
|
case A:
|
|
11499
11500
|
case i:
|
|
11500
|
-
return
|
|
11501
|
+
return ka;
|
|
11501
11502
|
default:
|
|
11502
11503
|
return Ae;
|
|
11503
11504
|
}
|
|
@@ -11507,7 +11508,7 @@ function Xg() {
|
|
|
11507
11508
|
}
|
|
11508
11509
|
}
|
|
11509
11510
|
}
|
|
11510
|
-
var v = d, O = l, L = c, K = i, te = t, Q = u, P = r, ee = g, ce = A, M = n,
|
|
11511
|
+
var v = d, O = l, L = c, K = i, te = t, Q = u, P = r, ee = g, ce = A, M = n, U = s, E = o, D = h, T = !1;
|
|
11511
11512
|
function H(R) {
|
|
11512
11513
|
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(R) || x(R) === d;
|
|
11513
11514
|
}
|
|
@@ -11517,7 +11518,7 @@ function Xg() {
|
|
|
11517
11518
|
function C(R) {
|
|
11518
11519
|
return x(R) === c;
|
|
11519
11520
|
}
|
|
11520
|
-
function
|
|
11521
|
+
function k(R) {
|
|
11521
11522
|
return x(R) === i;
|
|
11522
11523
|
}
|
|
11523
11524
|
function j(R) {
|
|
@@ -11547,7 +11548,7 @@ function Xg() {
|
|
|
11547
11548
|
function ie(R) {
|
|
11548
11549
|
return x(R) === h;
|
|
11549
11550
|
}
|
|
11550
|
-
ae.AsyncMode = v, ae.ConcurrentMode = O, ae.ContextConsumer = L, ae.ContextProvider = K, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = P, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler =
|
|
11551
|
+
ae.AsyncMode = v, ae.ConcurrentMode = O, ae.ContextConsumer = L, ae.ContextProvider = K, 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 = H, ae.isConcurrentMode = y, ae.isContextConsumer = C, ae.isContextProvider = k, ae.isElement = j, ae.isForwardRef = B, ae.isFragment = G, ae.isLazy = z, ae.isMemo = V, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = F, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
|
|
11551
11552
|
})()), ae;
|
|
11552
11553
|
}
|
|
11553
11554
|
var Sr;
|
|
@@ -11608,7 +11609,7 @@ function Ia() {
|
|
|
11608
11609
|
return Yn = e, Yn;
|
|
11609
11610
|
}
|
|
11610
11611
|
var Kn, Tr;
|
|
11611
|
-
function
|
|
11612
|
+
function Uo() {
|
|
11612
11613
|
return Tr || (Tr = 1, Kn = Function.call.bind(Object.prototype.hasOwnProperty)), Kn;
|
|
11613
11614
|
}
|
|
11614
11615
|
var Jn, Ir;
|
|
@@ -11618,7 +11619,7 @@ function tp() {
|
|
|
11618
11619
|
var e = function() {
|
|
11619
11620
|
};
|
|
11620
11621
|
if (process.env.NODE_ENV !== "production") {
|
|
11621
|
-
var t = /* @__PURE__ */ Ia(), n = {}, r = /* @__PURE__ */
|
|
11622
|
+
var t = /* @__PURE__ */ Ia(), n = {}, r = /* @__PURE__ */ Uo();
|
|
11622
11623
|
e = function(s) {
|
|
11623
11624
|
var i = "Warning: " + s;
|
|
11624
11625
|
typeof console < "u" && console.error(i);
|
|
@@ -11660,11 +11661,11 @@ function tp() {
|
|
|
11660
11661
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
11661
11662
|
}, Jn = o, Jn;
|
|
11662
11663
|
}
|
|
11663
|
-
var Zn,
|
|
11664
|
+
var Zn, Ur;
|
|
11664
11665
|
function np() {
|
|
11665
|
-
if (
|
|
11666
|
-
|
|
11667
|
-
var e = Ta(), t = ep(), n = /* @__PURE__ */ Ia(), r = /* @__PURE__ */
|
|
11666
|
+
if (Ur) return Zn;
|
|
11667
|
+
Ur = 1;
|
|
11668
|
+
var e = Ta(), t = ep(), n = /* @__PURE__ */ Ia(), r = /* @__PURE__ */ Uo(), o = /* @__PURE__ */ tp(), s = function() {
|
|
11668
11669
|
};
|
|
11669
11670
|
process.env.NODE_ENV !== "production" && (s = function(c) {
|
|
11670
11671
|
var d = "Warning: " + c;
|
|
@@ -11714,7 +11715,7 @@ function np() {
|
|
|
11714
11715
|
p.prototype = Error.prototype;
|
|
11715
11716
|
function w(y) {
|
|
11716
11717
|
if (process.env.NODE_ENV !== "production")
|
|
11717
|
-
var C = {},
|
|
11718
|
+
var C = {}, k = 0;
|
|
11718
11719
|
function j(G, z, V, Z, X, F, ie) {
|
|
11719
11720
|
if (Z = Z || f, F = F || V, ie !== n) {
|
|
11720
11721
|
if (d) {
|
|
@@ -11725,9 +11726,9 @@ function np() {
|
|
|
11725
11726
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
11726
11727
|
var Ae = Z + ":" + V;
|
|
11727
11728
|
!C[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
11728
|
-
|
|
11729
|
+
k < 3 && (s(
|
|
11729
11730
|
"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."
|
|
11730
|
-
), C[Ae] = !0,
|
|
11731
|
+
), C[Ae] = !0, k++);
|
|
11731
11732
|
}
|
|
11732
11733
|
}
|
|
11733
11734
|
return z[V] == null ? G ? z[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(z, V, Z, X, F);
|
|
@@ -11736,8 +11737,8 @@ function np() {
|
|
|
11736
11737
|
return B.isRequired = j.bind(null, !0), B;
|
|
11737
11738
|
}
|
|
11738
11739
|
function _(y) {
|
|
11739
|
-
function C(
|
|
11740
|
-
var Z =
|
|
11740
|
+
function C(k, j, B, G, z, V) {
|
|
11741
|
+
var Z = k[j], X = E(Z);
|
|
11741
11742
|
if (X !== y) {
|
|
11742
11743
|
var F = D(Z);
|
|
11743
11744
|
return new p(
|
|
@@ -11753,10 +11754,10 @@ function np() {
|
|
|
11753
11754
|
return w(i);
|
|
11754
11755
|
}
|
|
11755
11756
|
function N(y) {
|
|
11756
|
-
function C(
|
|
11757
|
+
function C(k, j, B, G, z) {
|
|
11757
11758
|
if (typeof y != "function")
|
|
11758
11759
|
return new p("Property `" + z + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
|
|
11759
|
-
var V =
|
|
11760
|
+
var V = k[j];
|
|
11760
11761
|
if (!Array.isArray(V)) {
|
|
11761
11762
|
var Z = E(V);
|
|
11762
11763
|
return new p("Invalid " + G + " `" + z + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an array."));
|
|
@@ -11771,8 +11772,8 @@ function np() {
|
|
|
11771
11772
|
return w(C);
|
|
11772
11773
|
}
|
|
11773
11774
|
function x() {
|
|
11774
|
-
function y(C,
|
|
11775
|
-
var z = C[
|
|
11775
|
+
function y(C, k, j, B, G) {
|
|
11776
|
+
var z = C[k];
|
|
11776
11777
|
if (!c(z)) {
|
|
11777
11778
|
var V = E(z);
|
|
11778
11779
|
return new p("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
@@ -11782,8 +11783,8 @@ function np() {
|
|
|
11782
11783
|
return w(y);
|
|
11783
11784
|
}
|
|
11784
11785
|
function v() {
|
|
11785
|
-
function y(C,
|
|
11786
|
-
var z = C[
|
|
11786
|
+
function y(C, k, j, B, G) {
|
|
11787
|
+
var z = C[k];
|
|
11787
11788
|
if (!e.isValidElementType(z)) {
|
|
11788
11789
|
var V = E(z);
|
|
11789
11790
|
return new p("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
@@ -11793,9 +11794,9 @@ function np() {
|
|
|
11793
11794
|
return w(y);
|
|
11794
11795
|
}
|
|
11795
11796
|
function O(y) {
|
|
11796
|
-
function C(
|
|
11797
|
-
if (!(
|
|
11798
|
-
var V = y.name || f, Z = H(
|
|
11797
|
+
function C(k, j, B, G, z) {
|
|
11798
|
+
if (!(k[j] instanceof y)) {
|
|
11799
|
+
var V = y.name || f, Z = H(k[j]);
|
|
11799
11800
|
return new p("Invalid " + G + " `" + z + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected ") + ("instance of `" + V + "`."));
|
|
11800
11801
|
}
|
|
11801
11802
|
return null;
|
|
@@ -11807,8 +11808,8 @@ function np() {
|
|
|
11807
11808
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
11808
11809
|
"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])."
|
|
11809
11810
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
11810
|
-
function C(
|
|
11811
|
-
for (var V =
|
|
11811
|
+
function C(k, j, B, G, z) {
|
|
11812
|
+
for (var V = k[j], Z = 0; Z < y.length; Z++)
|
|
11812
11813
|
if (g(V, y[Z]))
|
|
11813
11814
|
return null;
|
|
11814
11815
|
var X = JSON.stringify(y, function(ie, R) {
|
|
@@ -11820,10 +11821,10 @@ function np() {
|
|
|
11820
11821
|
return w(C);
|
|
11821
11822
|
}
|
|
11822
11823
|
function K(y) {
|
|
11823
|
-
function C(
|
|
11824
|
+
function C(k, j, B, G, z) {
|
|
11824
11825
|
if (typeof y != "function")
|
|
11825
11826
|
return new p("Property `" + z + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
|
|
11826
|
-
var V =
|
|
11827
|
+
var V = k[j], Z = E(V);
|
|
11827
11828
|
if (Z !== "object")
|
|
11828
11829
|
return new p("Invalid " + G + " `" + z + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an object."));
|
|
11829
11830
|
for (var X in V)
|
|
@@ -11840,10 +11841,10 @@ function np() {
|
|
|
11840
11841
|
if (!Array.isArray(y))
|
|
11841
11842
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
11842
11843
|
for (var C = 0; C < y.length; C++) {
|
|
11843
|
-
var
|
|
11844
|
-
if (typeof
|
|
11844
|
+
var k = y[C];
|
|
11845
|
+
if (typeof k != "function")
|
|
11845
11846
|
return s(
|
|
11846
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(
|
|
11847
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(k) + " at index " + C + "."
|
|
11847
11848
|
), i;
|
|
11848
11849
|
}
|
|
11849
11850
|
function j(B, G, z, V, Z) {
|
|
@@ -11859,19 +11860,19 @@ function np() {
|
|
|
11859
11860
|
return w(j);
|
|
11860
11861
|
}
|
|
11861
11862
|
function Q() {
|
|
11862
|
-
function y(C,
|
|
11863
|
-
return M(C[
|
|
11863
|
+
function y(C, k, j, B, G) {
|
|
11864
|
+
return M(C[k]) ? null : new p("Invalid " + B + " `" + G + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
11864
11865
|
}
|
|
11865
11866
|
return w(y);
|
|
11866
11867
|
}
|
|
11867
|
-
function P(y, C,
|
|
11868
|
+
function P(y, C, k, j, B) {
|
|
11868
11869
|
return new p(
|
|
11869
|
-
(y || "React class") + ": " + C + " type `" +
|
|
11870
|
+
(y || "React class") + ": " + C + " type `" + k + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
|
|
11870
11871
|
);
|
|
11871
11872
|
}
|
|
11872
11873
|
function ee(y) {
|
|
11873
|
-
function C(
|
|
11874
|
-
var V =
|
|
11874
|
+
function C(k, j, B, G, z) {
|
|
11875
|
+
var V = k[j], Z = E(V);
|
|
11875
11876
|
if (Z !== "object")
|
|
11876
11877
|
return new p("Invalid " + G + " `" + z + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
11877
11878
|
for (var X in y) {
|
|
@@ -11887,18 +11888,18 @@ function np() {
|
|
|
11887
11888
|
return w(C);
|
|
11888
11889
|
}
|
|
11889
11890
|
function ce(y) {
|
|
11890
|
-
function C(
|
|
11891
|
-
var V =
|
|
11891
|
+
function C(k, j, B, G, z) {
|
|
11892
|
+
var V = k[j], Z = E(V);
|
|
11892
11893
|
if (Z !== "object")
|
|
11893
11894
|
return new p("Invalid " + G + " `" + z + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
11894
|
-
var X = t({},
|
|
11895
|
+
var X = t({}, k[j], y);
|
|
11895
11896
|
for (var F in X) {
|
|
11896
11897
|
var ie = y[F];
|
|
11897
11898
|
if (r(y, F) && typeof ie != "function")
|
|
11898
11899
|
return P(B, G, z, F, D(ie));
|
|
11899
11900
|
if (!ie)
|
|
11900
11901
|
return new p(
|
|
11901
|
-
"Invalid " + G + " `" + z + "` key `" + F + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(
|
|
11902
|
+
"Invalid " + G + " `" + z + "` key `" + F + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
11902
11903
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
11903
11904
|
);
|
|
11904
11905
|
var R = ie(V, F, B, G, z + "." + F, n);
|
|
@@ -11924,13 +11925,13 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11924
11925
|
return !0;
|
|
11925
11926
|
var C = h(y);
|
|
11926
11927
|
if (C) {
|
|
11927
|
-
var
|
|
11928
|
+
var k = C.call(y), j;
|
|
11928
11929
|
if (C !== y.entries) {
|
|
11929
|
-
for (; !(j =
|
|
11930
|
+
for (; !(j = k.next()).done; )
|
|
11930
11931
|
if (!M(j.value))
|
|
11931
11932
|
return !1;
|
|
11932
11933
|
} else
|
|
11933
|
-
for (; !(j =
|
|
11934
|
+
for (; !(j = k.next()).done; ) {
|
|
11934
11935
|
var B = j.value;
|
|
11935
11936
|
if (B && !M(B[1]))
|
|
11936
11937
|
return !1;
|
|
@@ -11942,12 +11943,12 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11942
11943
|
return !1;
|
|
11943
11944
|
}
|
|
11944
11945
|
}
|
|
11945
|
-
function
|
|
11946
|
+
function U(y, C) {
|
|
11946
11947
|
return y === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
|
|
11947
11948
|
}
|
|
11948
11949
|
function E(y) {
|
|
11949
11950
|
var C = typeof y;
|
|
11950
|
-
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" :
|
|
11951
|
+
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : U(C, y) ? "symbol" : C;
|
|
11951
11952
|
}
|
|
11952
11953
|
function D(y) {
|
|
11953
11954
|
if (typeof y > "u" || y === null)
|
|
@@ -11981,10 +11982,10 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11981
11982
|
return A.checkPropTypes = o, A.resetWarningCache = o.resetWarningCache, A.PropTypes = A, A;
|
|
11982
11983
|
}, Zn;
|
|
11983
11984
|
}
|
|
11984
|
-
var Xn,
|
|
11985
|
+
var Xn, kr;
|
|
11985
11986
|
function ap() {
|
|
11986
|
-
if (
|
|
11987
|
-
|
|
11987
|
+
if (kr) return Xn;
|
|
11988
|
+
kr = 1;
|
|
11988
11989
|
var e = /* @__PURE__ */ Ia();
|
|
11989
11990
|
function t() {
|
|
11990
11991
|
}
|
|
@@ -12361,13 +12362,13 @@ function Ap() {
|
|
|
12361
12362
|
var e = fa(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12362
12363
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ma + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ma + "&render=explicit";
|
|
12363
12364
|
}
|
|
12364
|
-
const
|
|
12365
|
+
const ko = gp(Ap, {
|
|
12365
12366
|
callbackName: ma,
|
|
12366
12367
|
globalName: pp,
|
|
12367
12368
|
attributes: fa().nonce ? {
|
|
12368
12369
|
nonce: fa().nonce
|
|
12369
12370
|
} : {}
|
|
12370
|
-
})(Rn), wp = "_overlay_1je20_1", yp = "_header_1je20_35", vp = "_logo_1je20_49", bp = "_card_1je20_63", Cp = "_close_1je20_93", _p = "_form_1je20_141", Np = "_formUl_1je20_159", Sp = "_field_1je20_183", Ep = "_label_1je20_197", xp = "_input_1je20_215", Tp = "_error_1je20_251", Ip = "_primary_1je20_263",
|
|
12371
|
+
})(Rn), wp = "_overlay_1je20_1", yp = "_header_1je20_35", vp = "_logo_1je20_49", bp = "_card_1je20_63", Cp = "_close_1je20_93", _p = "_form_1je20_141", Np = "_formUl_1je20_159", Sp = "_field_1je20_183", Ep = "_label_1je20_197", xp = "_input_1je20_215", Tp = "_error_1je20_251", Ip = "_primary_1je20_263", Up = "_divider_1je20_333", kp = "_google_1je20_385", Rp = "_googleIcon_1je20_445", Lp = "_spin_1je20_511", qp = "_checkboxRow_1je20_555", Bp = "_terms_1je20_629", Op = "_message_1je20_691", Pp = "_passwordChecker_1je20_701", Dp = "_valid_1je20_739", Mp = "_invalid_1je20_747", jp = "_forgotPassword_1je20_755", Qp = "_successContainer_1je20_793", Gp = "_thumbsUp_1je20_809", Hp = "_successMessage_1je20_821", I = {
|
|
12371
12372
|
overlay: wp,
|
|
12372
12373
|
header: yp,
|
|
12373
12374
|
logo: vp,
|
|
@@ -12380,8 +12381,8 @@ const Uo = gp(Ap, {
|
|
|
12380
12381
|
input: xp,
|
|
12381
12382
|
error: Tp,
|
|
12382
12383
|
primary: Ip,
|
|
12383
|
-
divider:
|
|
12384
|
-
google:
|
|
12384
|
+
divider: Up,
|
|
12385
|
+
google: kp,
|
|
12385
12386
|
googleIcon: Rp,
|
|
12386
12387
|
spin: Lp,
|
|
12387
12388
|
checkboxRow: qp,
|
|
@@ -12413,9 +12414,9 @@ const Uo = gp(Ap, {
|
|
|
12413
12414
|
publication: r,
|
|
12414
12415
|
username: o
|
|
12415
12416
|
}) => {
|
|
12416
|
-
const [s, i] =
|
|
12417
|
+
const [s, i] = $("form"), [c, d] = $(
|
|
12417
12418
|
""
|
|
12418
|
-
), [l, u] =
|
|
12419
|
+
), [l, u] = $(""), [h, f] = $(""), A = [
|
|
12419
12420
|
{ id: "spam", label: Ye.spam },
|
|
12420
12421
|
{
|
|
12421
12422
|
id: "inappropriate",
|
|
@@ -12489,7 +12490,7 @@ const Uo = gp(Ap, {
|
|
|
12489
12490
|
] }, w.id)) }),
|
|
12490
12491
|
l && /* @__PURE__ */ a("div", { className: ue.errorMessage, children: l }),
|
|
12491
12492
|
/* @__PURE__ */ a(
|
|
12492
|
-
|
|
12493
|
+
ko,
|
|
12493
12494
|
{
|
|
12494
12495
|
sitekey: "",
|
|
12495
12496
|
theme: "light",
|
|
@@ -12541,7 +12542,7 @@ const Uo = gp(Ap, {
|
|
|
12541
12542
|
] })
|
|
12542
12543
|
] }) });
|
|
12543
12544
|
};
|
|
12544
|
-
async function
|
|
12545
|
+
async function Ua({
|
|
12545
12546
|
publication: e,
|
|
12546
12547
|
path: t,
|
|
12547
12548
|
size: n = 5,
|
|
@@ -12551,7 +12552,7 @@ async function ka({
|
|
|
12551
12552
|
state: i = "5,6",
|
|
12552
12553
|
apiToken: c
|
|
12553
12554
|
}) {
|
|
12554
|
-
const { PUBLIC_ENV: d } =
|
|
12555
|
+
const { PUBLIC_ENV: d } = Y();
|
|
12555
12556
|
if (d === "prod")
|
|
12556
12557
|
return (await Vp({
|
|
12557
12558
|
publication: e,
|
|
@@ -12586,7 +12587,7 @@ async function Vp({
|
|
|
12586
12587
|
throw new Error("Invalid input types for publication or path");
|
|
12587
12588
|
if (!c)
|
|
12588
12589
|
throw new Error("Missing CMS API token");
|
|
12589
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } =
|
|
12590
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = Y(), f = parseInt(String(n), 10), A = parseInt(String(r), 10);
|
|
12590
12591
|
if (isNaN(f) || f <= 0)
|
|
12591
12592
|
throw new Error("Invalid size parameter");
|
|
12592
12593
|
if (isNaN(A) || A < 0)
|
|
@@ -12621,14 +12622,14 @@ async function Vp({
|
|
|
12621
12622
|
throw _;
|
|
12622
12623
|
}
|
|
12623
12624
|
}
|
|
12624
|
-
const { PUBLIC_PUBLICATION_ID: Fp } =
|
|
12625
|
-
const [t, n] =
|
|
12625
|
+
const { PUBLIC_PUBLICATION_ID: Fp } = Y(), Wp = Fp, $p = (e) => {
|
|
12626
|
+
const [t, n] = $(void 0);
|
|
12626
12627
|
return Me(() => {
|
|
12627
12628
|
if (t) return;
|
|
12628
12629
|
(async () => {
|
|
12629
|
-
const { PUBLIC_X_SECURITY_TOKEN: o } =
|
|
12630
|
+
const { PUBLIC_X_SECURITY_TOKEN: o } = Y();
|
|
12630
12631
|
try {
|
|
12631
|
-
const s = await
|
|
12632
|
+
const s = await Ua({
|
|
12632
12633
|
publication: Wp,
|
|
12633
12634
|
path: e ?? "",
|
|
12634
12635
|
size: 5,
|
|
@@ -12729,7 +12730,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12729
12730
|
const o = xa(e, t);
|
|
12730
12731
|
return /* @__PURE__ */ m("div", { className: "form-actions", children: [
|
|
12731
12732
|
/* @__PURE__ */ a(
|
|
12732
|
-
|
|
12733
|
+
ko,
|
|
12733
12734
|
{
|
|
12734
12735
|
sitekey: "",
|
|
12735
12736
|
theme: "light",
|
|
@@ -12784,7 +12785,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12784
12785
|
]
|
|
12785
12786
|
}
|
|
12786
12787
|
);
|
|
12787
|
-
}, { PUBLIC_PUBLICATION_ID: Yp } =
|
|
12788
|
+
}, { PUBLIC_PUBLICATION_ID: Yp } = Y(), Kp = Yp, Do = async ({
|
|
12788
12789
|
path: e,
|
|
12789
12790
|
ref: t,
|
|
12790
12791
|
captchaToken: n,
|
|
@@ -12845,7 +12846,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12845
12846
|
addReply: o,
|
|
12846
12847
|
closeForm: s
|
|
12847
12848
|
}) => {
|
|
12848
|
-
const [i, c] =
|
|
12849
|
+
const [i, c] = $(!0), [d, l] = $(""), u = () => {
|
|
12849
12850
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${ft}`), c(!0), s();
|
|
12850
12851
|
};
|
|
12851
12852
|
return /* @__PURE__ */ m("div", { className: "comment-form reply-form", children: [
|
|
@@ -12905,7 +12906,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12905
12906
|
] })
|
|
12906
12907
|
] }) });
|
|
12907
12908
|
}, Xp = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s }) => {
|
|
12908
|
-
const i = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [c, d] =
|
|
12909
|
+
const i = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [c, d] = $(i), [l, u] = xe.useState(!1), h = process.env.PUBLIC_PUBLICATION_ID ?? "", f = e.text, A = xe.useRef(null);
|
|
12909
12910
|
let g = `${Je.firstname} ${Je.lastname}`, p = Je.username;
|
|
12910
12911
|
e.user && (g = `${e.user.firstname} ${e.user.lastname}`, p = e.user.username);
|
|
12911
12912
|
const w = (_) => {
|
|
@@ -12959,7 +12960,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12959
12960
|
const _ = c.reply[c.reply.length - 1]?.id;
|
|
12960
12961
|
u(!0);
|
|
12961
12962
|
try {
|
|
12962
|
-
const N = await
|
|
12963
|
+
const N = await Ua({
|
|
12963
12964
|
publication: h,
|
|
12964
12965
|
path: n ?? "",
|
|
12965
12966
|
size: 2,
|
|
@@ -12988,7 +12989,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
12988
12989
|
path: n,
|
|
12989
12990
|
addComment: r
|
|
12990
12991
|
}) => {
|
|
12991
|
-
const [o, s] =
|
|
12992
|
+
const [o, s] = $(!0), [i, c] = $("");
|
|
12992
12993
|
return /* @__PURE__ */ m("div", { className: "comment-form", children: [
|
|
12993
12994
|
/* @__PURE__ */ a(
|
|
12994
12995
|
Bo,
|
|
@@ -13027,15 +13028,15 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
13027
13028
|
}
|
|
13028
13029
|
)
|
|
13029
13030
|
] });
|
|
13030
|
-
}, { PUBLIC_PUBLICATION_ID: t3, PUBLIC_X_SECURITY_TOKEN: n3 } =
|
|
13031
|
+
}, { PUBLIC_PUBLICATION_ID: t3, PUBLIC_X_SECURITY_TOKEN: n3 } = Y(), qr = t3 ?? "", a3 = ({
|
|
13031
13032
|
isAuthenticated: e,
|
|
13032
13033
|
path: t,
|
|
13033
13034
|
user: n,
|
|
13034
13035
|
handleLogout: r
|
|
13035
13036
|
}) => {
|
|
13036
|
-
const o = t.replaceAll("/", "|"), [s, i] =
|
|
13037
|
+
const o = t.replaceAll("/", "|"), [s, i] = $(
|
|
13037
13038
|
void 0
|
|
13038
|
-
), [c, d] =
|
|
13039
|
+
), [c, d] = $(""), { comments: l, setComments: u } = $p(o), [h, f] = xe.useState(!1), A = xe.useRef(null), g = (v) => {
|
|
13039
13040
|
d(c === v ? "" : v);
|
|
13040
13041
|
}, p = (v) => {
|
|
13041
13042
|
u(
|
|
@@ -13053,7 +13054,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
13053
13054
|
f(!0);
|
|
13054
13055
|
const O = v.id;
|
|
13055
13056
|
try {
|
|
13056
|
-
const L = await
|
|
13057
|
+
const L = await Ua({
|
|
13057
13058
|
publication: qr,
|
|
13058
13059
|
path: o ?? "",
|
|
13059
13060
|
size: 5,
|
|
@@ -13075,7 +13076,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
13075
13076
|
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title: S || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ m(J, { children: [
|
|
13076
13077
|
e && n && /* @__PURE__ */ m("div", { className: "comments-header", children: [
|
|
13077
13078
|
/* @__PURE__ */ a(
|
|
13078
|
-
|
|
13079
|
+
Ug,
|
|
13079
13080
|
{
|
|
13080
13081
|
user: n,
|
|
13081
13082
|
handleLogout: r,
|
|
@@ -13182,7 +13183,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = $(), Wp = Fp, $p = (e) => {
|
|
|
13182
13183
|
}
|
|
13183
13184
|
];
|
|
13184
13185
|
function r3({ goToLogin: e, handleGoogleLogin: t }) {
|
|
13185
|
-
const [n, r] =
|
|
13186
|
+
const [n, r] = $({}), [o, s] = $(!1), [i, c] = $(!1), [d, l] = $(null), [u, h] = $(
|
|
13186
13187
|
"register"
|
|
13187
13188
|
), f = (w, _) => {
|
|
13188
13189
|
r((S) => ({ ...S, [w]: _ }));
|
|
@@ -13407,8 +13408,8 @@ function o3({
|
|
|
13407
13408
|
goToRegister: n,
|
|
13408
13409
|
handleGoogleLogin: r
|
|
13409
13410
|
}) {
|
|
13410
|
-
const [o, s] =
|
|
13411
|
-
return /* @__PURE__ */ m(J, { children: [
|
|
13411
|
+
const [o, s] = $("login"), [i, c] = $(""), [d, l] = $(""), [u, h] = $(""), [f, A] = $(""), [g, p] = $(""), [w, _] = $(!1), [S, N] = $(!1), [x, v] = $(null), { CAPTCHA_KEY: O } = Y();
|
|
13412
|
+
return console.log("CAPTCHA_KEY", O), /* @__PURE__ */ m(J, { children: [
|
|
13412
13413
|
o === "login" && /* @__PURE__ */ a(
|
|
13413
13414
|
s3,
|
|
13414
13415
|
{
|
|
@@ -13424,6 +13425,7 @@ function o3({
|
|
|
13424
13425
|
if (!S) {
|
|
13425
13426
|
Q.preventDefault(), v(null), N(!0);
|
|
13426
13427
|
try {
|
|
13428
|
+
console.log(!0, O);
|
|
13427
13429
|
const P = "token", ee = await fetch("/api/auth/login-password", {
|
|
13428
13430
|
method: "POST",
|
|
13429
13431
|
headers: { "Content-Type": "application/json" },
|
|
@@ -13793,7 +13795,7 @@ function d3({
|
|
|
13793
13795
|
checkAuth: n,
|
|
13794
13796
|
icon: r
|
|
13795
13797
|
}) {
|
|
13796
|
-
const [o, s] =
|
|
13798
|
+
const [o, s] = $("login"), i = async () => {
|
|
13797
13799
|
{
|
|
13798
13800
|
await fetch("/api/auth/debug-login", { method: "GET", credentials: "include" }), localStorage.setItem("cognito-login", "success:" + Date.now()), t(), n();
|
|
13799
13801
|
return;
|
|
@@ -13898,34 +13900,35 @@ function u3({
|
|
|
13898
13900
|
function h3({
|
|
13899
13901
|
isVisible: e,
|
|
13900
13902
|
path: t,
|
|
13901
|
-
icon: n
|
|
13903
|
+
icon: n,
|
|
13904
|
+
COMMENTS_VARS: r
|
|
13902
13905
|
}) {
|
|
13903
|
-
const [
|
|
13906
|
+
const [o, s] = $(null), [i, c] = $(null), d = r?.COGNITO_AUTH_PREFIX ?? "ASTRO_", l = he(async () => {
|
|
13904
13907
|
if (e) {
|
|
13905
|
-
if (document.cookie.search(
|
|
13906
|
-
|
|
13908
|
+
if (console.log(d), document.cookie.search(d + "IS_AUTH=true") === -1) {
|
|
13909
|
+
s(!1), c(null), console.log("user not logged");
|
|
13907
13910
|
return;
|
|
13908
13911
|
}
|
|
13909
13912
|
try {
|
|
13910
|
-
const
|
|
13911
|
-
|
|
13912
|
-
} catch (
|
|
13913
|
-
console.error("Error checking auth:",
|
|
13913
|
+
const A = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
13914
|
+
s(A.isAuthenticated ?? !1), c(A.user ?? null);
|
|
13915
|
+
} catch (f) {
|
|
13916
|
+
console.error("Error checking auth:", f), s(!1), c(null);
|
|
13914
13917
|
}
|
|
13915
13918
|
}
|
|
13916
|
-
}, [e,
|
|
13919
|
+
}, [e, d]);
|
|
13917
13920
|
Me(() => {
|
|
13918
|
-
|
|
13919
|
-
}, [
|
|
13920
|
-
if (!
|
|
13921
|
-
const
|
|
13922
|
-
if (typeof
|
|
13921
|
+
l();
|
|
13922
|
+
}, [l, e]), Me(() => {
|
|
13923
|
+
if (!i || !e || typeof window > "u") return;
|
|
13924
|
+
const f = window;
|
|
13925
|
+
if (typeof f != "function") {
|
|
13923
13926
|
console.warn("gtag no está disponible todavía");
|
|
13924
13927
|
return;
|
|
13925
13928
|
}
|
|
13926
|
-
|
|
13927
|
-
}, [
|
|
13928
|
-
const
|
|
13929
|
+
f.gtag("set", { user_id: i.username }), console.log("username setted successfully");
|
|
13930
|
+
}, [i, e]);
|
|
13931
|
+
const u = "/api/auth/login", h = /* @__PURE__ */ a(
|
|
13929
13932
|
"div",
|
|
13930
13933
|
{
|
|
13931
13934
|
style: {
|
|
@@ -13938,18 +13941,18 @@ function h3({
|
|
|
13938
13941
|
children: /* @__PURE__ */ a(Ze, {})
|
|
13939
13942
|
}
|
|
13940
13943
|
);
|
|
13941
|
-
return
|
|
13944
|
+
return o === null ? h : e ? /* @__PURE__ */ a(
|
|
13942
13945
|
u3,
|
|
13943
13946
|
{
|
|
13944
13947
|
icon: n,
|
|
13945
|
-
isAuthenticated:
|
|
13946
|
-
setIsAuthenticated:
|
|
13947
|
-
loginUrl:
|
|
13948
|
-
user:
|
|
13949
|
-
checkAuth:
|
|
13948
|
+
isAuthenticated: o,
|
|
13949
|
+
setIsAuthenticated: s,
|
|
13950
|
+
loginUrl: u,
|
|
13951
|
+
user: i ?? void 0,
|
|
13952
|
+
checkAuth: l,
|
|
13950
13953
|
path: t
|
|
13951
13954
|
}
|
|
13952
|
-
) :
|
|
13955
|
+
) : h;
|
|
13953
13956
|
}
|
|
13954
13957
|
const C9 = ({
|
|
13955
13958
|
render: e,
|
|
@@ -13958,29 +13961,31 @@ const C9 = ({
|
|
|
13958
13961
|
currentNews: r,
|
|
13959
13962
|
stylesConfig: o,
|
|
13960
13963
|
icon: s,
|
|
13961
|
-
isVisibleDefault: i = !1
|
|
13964
|
+
isVisibleDefault: i = !1,
|
|
13965
|
+
COMMENTS_VARS: c
|
|
13962
13966
|
}) => {
|
|
13963
|
-
const
|
|
13967
|
+
const d = Or(null), [l, u] = xe.useState(i);
|
|
13964
13968
|
xe.useEffect(() => {
|
|
13965
|
-
if (i ||
|
|
13966
|
-
const
|
|
13967
|
-
([
|
|
13968
|
-
|
|
13969
|
+
if (i || l) return;
|
|
13970
|
+
const f = new IntersectionObserver(
|
|
13971
|
+
([A]) => {
|
|
13972
|
+
A?.isIntersecting && (u(!0), f.disconnect());
|
|
13969
13973
|
},
|
|
13970
13974
|
{
|
|
13971
13975
|
rootMargin: "0px",
|
|
13972
13976
|
threshold: 0.1
|
|
13973
13977
|
}
|
|
13974
13978
|
);
|
|
13975
|
-
return
|
|
13979
|
+
return d.current && f.observe(d.current), () => f.disconnect();
|
|
13976
13980
|
}, []);
|
|
13977
|
-
const
|
|
13981
|
+
const h = {
|
|
13978
13982
|
comment: /* @__PURE__ */ a(
|
|
13979
13983
|
h3,
|
|
13980
13984
|
{
|
|
13981
13985
|
path: t,
|
|
13982
13986
|
icon: s,
|
|
13983
|
-
isVisible:
|
|
13987
|
+
isVisible: l,
|
|
13988
|
+
COMMENTS_VARS: c
|
|
13984
13989
|
}
|
|
13985
13990
|
),
|
|
13986
13991
|
more: /* @__PURE__ */ a(
|
|
@@ -13989,19 +13994,19 @@ const C9 = ({
|
|
|
13989
13994
|
section: n,
|
|
13990
13995
|
currentNews: r,
|
|
13991
13996
|
stylesConfig: o,
|
|
13992
|
-
isVisible:
|
|
13997
|
+
isVisible: l
|
|
13993
13998
|
}
|
|
13994
13999
|
)
|
|
13995
14000
|
};
|
|
13996
14001
|
return /* @__PURE__ */ a(
|
|
13997
14002
|
"div",
|
|
13998
14003
|
{
|
|
13999
|
-
ref:
|
|
14004
|
+
ref: d,
|
|
14000
14005
|
suppressHydrationWarning: !0,
|
|
14001
14006
|
style: {
|
|
14002
14007
|
...o ? o["Modulo 1x3 Client"] ? o["Modulo 1x3 Client"] : o["Modulo 1x3"] : {}
|
|
14003
14008
|
},
|
|
14004
|
-
children:
|
|
14009
|
+
children: h[e]
|
|
14005
14010
|
}
|
|
14006
14011
|
);
|
|
14007
14012
|
};
|
|
@@ -14170,7 +14175,7 @@ export {
|
|
|
14170
14175
|
xo as DynamicSlot,
|
|
14171
14176
|
o9 as EditorialBlock,
|
|
14172
14177
|
Z3 as ErrorComponent,
|
|
14173
|
-
|
|
14178
|
+
ks as Font,
|
|
14174
14179
|
K3 as Footer,
|
|
14175
14180
|
As as FormatAfterScripts,
|
|
14176
14181
|
Qr as FormatScripts,
|
|
@@ -14181,7 +14186,7 @@ export {
|
|
|
14181
14186
|
V3 as GenerateHead,
|
|
14182
14187
|
a9 as Header,
|
|
14183
14188
|
tl as ImageOffline,
|
|
14184
|
-
|
|
14189
|
+
ke as ImageOnline,
|
|
14185
14190
|
G3 as IssuuServices,
|
|
14186
14191
|
Es as ItemListSchema,
|
|
14187
14192
|
ym as JournalistArticule2,
|
|
@@ -14216,7 +14221,7 @@ export {
|
|
|
14216
14221
|
g9 as SearchSection,
|
|
14217
14222
|
me as Section,
|
|
14218
14223
|
Xe as SectionCard,
|
|
14219
|
-
|
|
14224
|
+
kn as SectionCard2,
|
|
14220
14225
|
ca as SectionCardServerComponent,
|
|
14221
14226
|
c9 as SectionServerComponent,
|
|
14222
14227
|
Ac as ShowSection,
|
|
@@ -14233,7 +14238,7 @@ export {
|
|
|
14233
14238
|
J3 as VideoBlock3,
|
|
14234
14239
|
n9 as VideoBlock4,
|
|
14235
14240
|
A9 as VideoSection,
|
|
14236
|
-
|
|
14241
|
+
Us as VideosSchemas,
|
|
14237
14242
|
Is as WebsiteList,
|
|
14238
14243
|
_9 as addComment,
|
|
14239
14244
|
ga as bannersReplace,
|
|
@@ -14252,7 +14257,7 @@ export {
|
|
|
14252
14257
|
z3 as generalGetData,
|
|
14253
14258
|
b9 as getCaptchaToken,
|
|
14254
14259
|
Vp as getComments,
|
|
14255
|
-
|
|
14260
|
+
Y as getConfig,
|
|
14256
14261
|
H3 as getDynamicSlots,
|
|
14257
14262
|
An as getEnvironmentUrl,
|
|
14258
14263
|
us as getEnvironmentUrlFront,
|
|
@@ -14270,7 +14275,7 @@ export {
|
|
|
14270
14275
|
Ls as getSlugs,
|
|
14271
14276
|
y3 as getTypeOfNews,
|
|
14272
14277
|
v3 as getVideoRealPath,
|
|
14273
|
-
|
|
14278
|
+
Ua as handleGetComments,
|
|
14274
14279
|
g3 as initLibrary,
|
|
14275
14280
|
ps as metadataToJSX,
|
|
14276
14281
|
uc as metadata_defaults,
|