sass-template-common 0.9.65 → 0.9.67
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.
|
@@ -177,56 +177,56 @@ function Oa() {
|
|
|
177
177
|
(function(s, n) {
|
|
178
178
|
e.exports = n();
|
|
179
179
|
})(Vn, (function() {
|
|
180
|
-
var s = 1e3, n = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", h = "quarter", g = "year", f = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
181
|
-
var
|
|
182
|
-
return "[" + q + (
|
|
183
|
-
} }, N = function(q,
|
|
180
|
+
var s = 1e3, n = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", h = "quarter", g = "year", f = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|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, E = { 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(q) {
|
|
181
|
+
var x = ["th", "st", "nd", "rd"], U = q % 100;
|
|
182
|
+
return "[" + q + (x[(U - 20) % 10] || x[U] || x[0]) + "]";
|
|
183
|
+
} }, N = function(q, x, U) {
|
|
184
184
|
var M = String(q);
|
|
185
|
-
return !M || M.length >=
|
|
185
|
+
return !M || M.length >= x ? q : "" + Array(x + 1 - M.length).join(U) + q;
|
|
186
186
|
}, S = { s: N, z: function(q) {
|
|
187
|
-
var
|
|
188
|
-
return (
|
|
189
|
-
}, m: function q(
|
|
190
|
-
if (
|
|
191
|
-
var M = 12 * (
|
|
192
|
-
return +(-(M + (
|
|
187
|
+
var x = -q.utcOffset(), U = Math.abs(x), M = Math.floor(U / 60), k = U % 60;
|
|
188
|
+
return (x <= 0 ? "+" : "-") + N(M, 2, "0") + ":" + N(k, 2, "0");
|
|
189
|
+
}, m: function q(x, U) {
|
|
190
|
+
if (x.date() < U.date()) return -q(U, x);
|
|
191
|
+
var M = 12 * (U.year() - x.year()) + (U.month() - x.month()), k = x.clone().add(M, m), F = U - k < 0, y = x.clone().add(M + (F ? -1 : 1), m);
|
|
192
|
+
return +(-(M + (U - k) / (F ? k - y : y - k)) || 0);
|
|
193
193
|
}, a: function(q) {
|
|
194
194
|
return q < 0 ? Math.ceil(q) || 0 : Math.floor(q);
|
|
195
195
|
}, p: function(q) {
|
|
196
196
|
return { M: m, y: g, w: d, d: l, D: f, h: u, m: c, s: o, ms: i, Q: h }[q] || String(q || "").toLowerCase().replace(/s$/, "");
|
|
197
197
|
}, u: function(q) {
|
|
198
198
|
return q === void 0;
|
|
199
|
-
} },
|
|
200
|
-
I[
|
|
199
|
+
} }, v = "en", I = {};
|
|
200
|
+
I[v] = E;
|
|
201
201
|
var R = "$isDayjsObject", Q = function(q) {
|
|
202
202
|
return q instanceof H || !(!q || !q[R]);
|
|
203
|
-
}, W = function q(
|
|
203
|
+
}, W = function q(x, U, M) {
|
|
204
204
|
var k;
|
|
205
|
-
if (!
|
|
206
|
-
if (typeof
|
|
207
|
-
var F =
|
|
208
|
-
I[F] && (k = F),
|
|
209
|
-
var y =
|
|
205
|
+
if (!x) return v;
|
|
206
|
+
if (typeof x == "string") {
|
|
207
|
+
var F = x.toLowerCase();
|
|
208
|
+
I[F] && (k = F), U && (I[F] = U, k = F);
|
|
209
|
+
var y = x.split("-");
|
|
210
210
|
if (!k && y.length > 1) return q(y[0]);
|
|
211
211
|
} else {
|
|
212
|
-
var T =
|
|
213
|
-
I[T] =
|
|
212
|
+
var T = x.name;
|
|
213
|
+
I[T] = x, k = T;
|
|
214
214
|
}
|
|
215
|
-
return !M && k && (
|
|
216
|
-
}, j = function(q,
|
|
215
|
+
return !M && k && (v = k), k || !M && v;
|
|
216
|
+
}, j = function(q, x) {
|
|
217
217
|
if (Q(q)) return q.clone();
|
|
218
|
-
var
|
|
219
|
-
return
|
|
218
|
+
var U = typeof x == "object" ? x : {};
|
|
219
|
+
return U.date = q, U.args = arguments, new H(U);
|
|
220
220
|
}, L = S;
|
|
221
|
-
L.l = W, L.i = Q, L.w = function(q,
|
|
222
|
-
return j(q, { locale:
|
|
221
|
+
L.l = W, L.i = Q, L.w = function(q, x) {
|
|
222
|
+
return j(q, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
|
|
223
223
|
};
|
|
224
224
|
var H = (function() {
|
|
225
|
-
function q(
|
|
226
|
-
this.$L = W(
|
|
225
|
+
function q(U) {
|
|
226
|
+
this.$L = W(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[R] = !0;
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
return
|
|
228
|
+
var x = q.prototype;
|
|
229
|
+
return x.parse = function(U) {
|
|
230
230
|
this.$d = (function(M) {
|
|
231
231
|
var k = M.date, F = M.utc;
|
|
232
232
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -240,29 +240,29 @@ function Oa() {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
return new Date(k);
|
|
243
|
-
})(
|
|
244
|
-
},
|
|
245
|
-
var
|
|
246
|
-
this.$y =
|
|
247
|
-
},
|
|
243
|
+
})(U), this.init();
|
|
244
|
+
}, x.init = function() {
|
|
245
|
+
var U = this.$d;
|
|
246
|
+
this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
|
|
247
|
+
}, x.$utils = function() {
|
|
248
248
|
return L;
|
|
249
|
-
},
|
|
249
|
+
}, x.isValid = function() {
|
|
250
250
|
return this.$d.toString() !== A;
|
|
251
|
-
},
|
|
252
|
-
var k = j(
|
|
251
|
+
}, x.isSame = function(U, M) {
|
|
252
|
+
var k = j(U);
|
|
253
253
|
return this.startOf(M) <= k && k <= this.endOf(M);
|
|
254
|
-
},
|
|
255
|
-
return j(
|
|
256
|
-
},
|
|
257
|
-
return this.endOf(M) < j(
|
|
258
|
-
},
|
|
259
|
-
return L.u(
|
|
260
|
-
},
|
|
254
|
+
}, x.isAfter = function(U, M) {
|
|
255
|
+
return j(U) < this.startOf(M);
|
|
256
|
+
}, x.isBefore = function(U, M) {
|
|
257
|
+
return this.endOf(M) < j(U);
|
|
258
|
+
}, x.$g = function(U, M, k) {
|
|
259
|
+
return L.u(U) ? this[M] : this.set(k, U);
|
|
260
|
+
}, x.unix = function() {
|
|
261
261
|
return Math.floor(this.valueOf() / 1e3);
|
|
262
|
-
},
|
|
262
|
+
}, x.valueOf = function() {
|
|
263
263
|
return this.$d.getTime();
|
|
264
|
-
},
|
|
265
|
-
var k = this, F = !!L.u(M) || M, y = L.p(
|
|
264
|
+
}, x.startOf = function(U, M) {
|
|
265
|
+
var k = this, F = !!L.u(M) || M, y = L.p(U), T = function(te, K) {
|
|
266
266
|
var ie = L.w(k.$u ? Date.UTC(k.$y, K, te) : new Date(k.$y, K, te), k);
|
|
267
267
|
return F ? ie : ie.endOf(l);
|
|
268
268
|
}, P = function(te, K) {
|
|
@@ -288,38 +288,38 @@ function Oa() {
|
|
|
288
288
|
default:
|
|
289
289
|
return this.clone();
|
|
290
290
|
}
|
|
291
|
-
},
|
|
292
|
-
return this.startOf(
|
|
293
|
-
},
|
|
294
|
-
var k, F = L.p(
|
|
291
|
+
}, x.endOf = function(U) {
|
|
292
|
+
return this.startOf(U, !1);
|
|
293
|
+
}, x.$set = function(U, M) {
|
|
294
|
+
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[f] = y + "Date", k[m] = y + "Month", k[g] = y + "FullYear", k[u] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (M - this.$W) : M;
|
|
295
295
|
if (F === m || F === g) {
|
|
296
296
|
var G = this.clone().set(f, 1);
|
|
297
297
|
G.$d[T](P), G.init(), this.$d = G.set(f, Math.min(this.$D, G.daysInMonth())).$d;
|
|
298
298
|
} else T && this.$d[T](P);
|
|
299
299
|
return this.init(), this;
|
|
300
|
-
},
|
|
301
|
-
return this.clone().$set(
|
|
302
|
-
},
|
|
303
|
-
return this[L.p(
|
|
304
|
-
},
|
|
300
|
+
}, x.set = function(U, M) {
|
|
301
|
+
return this.clone().$set(U, M);
|
|
302
|
+
}, x.get = function(U) {
|
|
303
|
+
return this[L.p(U)]();
|
|
304
|
+
}, x.add = function(U, M) {
|
|
305
305
|
var k, F = this;
|
|
306
|
-
|
|
306
|
+
U = Number(U);
|
|
307
307
|
var y = L.p(M), T = function(D) {
|
|
308
308
|
var V = j(F);
|
|
309
|
-
return L.w(V.date(V.date() + Math.round(D *
|
|
309
|
+
return L.w(V.date(V.date() + Math.round(D * U)), F);
|
|
310
310
|
};
|
|
311
|
-
if (y === m) return this.set(m, this.$M +
|
|
312
|
-
if (y === g) return this.set(g, this.$y +
|
|
311
|
+
if (y === m) return this.set(m, this.$M + U);
|
|
312
|
+
if (y === g) return this.set(g, this.$y + U);
|
|
313
313
|
if (y === l) return T(1);
|
|
314
314
|
if (y === d) return T(7);
|
|
315
|
-
var P = (k = {}, k[c] = n, k[u] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() +
|
|
315
|
+
var P = (k = {}, k[c] = n, k[u] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() + U * P;
|
|
316
316
|
return L.w(G, this);
|
|
317
|
-
},
|
|
318
|
-
return this.add(-1 *
|
|
319
|
-
},
|
|
317
|
+
}, x.subtract = function(U, M) {
|
|
318
|
+
return this.add(-1 * U, M);
|
|
319
|
+
}, x.format = function(U) {
|
|
320
320
|
var M = this, k = this.$locale();
|
|
321
321
|
if (!this.isValid()) return k.invalidDate || A;
|
|
322
|
-
var F =
|
|
322
|
+
var F = U || "YYYY-MM-DDTHH:mm:ssZ", y = L.z(this), T = this.$H, P = this.$m, G = this.$M, D = k.weekdays, V = k.months, z = k.meridiem, Y = function(K, ie, B, me) {
|
|
323
323
|
return K && (K[ie] || K(M, F)) || B[ie].slice(0, me);
|
|
324
324
|
}, ee = function(K) {
|
|
325
325
|
return L.s(T % 12 || 12, K, "0");
|
|
@@ -327,7 +327,7 @@ function Oa() {
|
|
|
327
327
|
var me = K < 12 ? "AM" : "PM";
|
|
328
328
|
return B ? me.toLowerCase() : me;
|
|
329
329
|
};
|
|
330
|
-
return F.replace(
|
|
330
|
+
return F.replace(b, (function(K, ie) {
|
|
331
331
|
return ie || (function(B) {
|
|
332
332
|
switch (B) {
|
|
333
333
|
case "YY":
|
|
@@ -382,10 +382,10 @@ function Oa() {
|
|
|
382
382
|
return null;
|
|
383
383
|
})(K) || y.replace(":", "");
|
|
384
384
|
}));
|
|
385
|
-
},
|
|
385
|
+
}, x.utcOffset = function() {
|
|
386
386
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
387
|
-
},
|
|
388
|
-
var F, y = this, T = L.p(M), P = j(
|
|
387
|
+
}, x.diff = function(U, M, k) {
|
|
388
|
+
var F, y = this, T = L.p(M), P = j(U), G = (P.utcOffset() - this.utcOffset()) * n, D = this - P, V = function() {
|
|
389
389
|
return L.m(y, P);
|
|
390
390
|
};
|
|
391
391
|
switch (T) {
|
|
@@ -417,41 +417,41 @@ function Oa() {
|
|
|
417
417
|
F = D;
|
|
418
418
|
}
|
|
419
419
|
return k ? F : L.a(F);
|
|
420
|
-
},
|
|
420
|
+
}, x.daysInMonth = function() {
|
|
421
421
|
return this.endOf(m).$D;
|
|
422
|
-
},
|
|
422
|
+
}, x.$locale = function() {
|
|
423
423
|
return I[this.$L];
|
|
424
|
-
},
|
|
425
|
-
if (!
|
|
426
|
-
var k = this.clone(), F = W(
|
|
424
|
+
}, x.locale = function(U, M) {
|
|
425
|
+
if (!U) return this.$L;
|
|
426
|
+
var k = this.clone(), F = W(U, M, !0);
|
|
427
427
|
return F && (k.$L = F), k;
|
|
428
|
-
},
|
|
428
|
+
}, x.clone = function() {
|
|
429
429
|
return L.w(this.$d, this);
|
|
430
|
-
},
|
|
430
|
+
}, x.toDate = function() {
|
|
431
431
|
return new Date(this.valueOf());
|
|
432
|
-
},
|
|
432
|
+
}, x.toJSON = function() {
|
|
433
433
|
return this.isValid() ? this.toISOString() : null;
|
|
434
|
-
},
|
|
434
|
+
}, x.toISOString = function() {
|
|
435
435
|
return this.$d.toISOString();
|
|
436
|
-
},
|
|
436
|
+
}, x.toString = function() {
|
|
437
437
|
return this.$d.toUTCString();
|
|
438
438
|
}, q;
|
|
439
439
|
})(), se = H.prototype;
|
|
440
440
|
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", g], ["$D", f]].forEach((function(q) {
|
|
441
|
-
se[q[1]] = function(
|
|
442
|
-
return this.$g(
|
|
441
|
+
se[q[1]] = function(x) {
|
|
442
|
+
return this.$g(x, q[0], q[1]);
|
|
443
443
|
};
|
|
444
|
-
})), j.extend = function(q,
|
|
445
|
-
return q.$i || (q(
|
|
444
|
+
})), j.extend = function(q, x) {
|
|
445
|
+
return q.$i || (q(x, H, j), q.$i = !0), j;
|
|
446
446
|
}, j.locale = W, j.isDayjs = Q, j.unix = function(q) {
|
|
447
447
|
return j(1e3 * q);
|
|
448
|
-
}, j.en = I[
|
|
448
|
+
}, j.en = I[v], j.Ls = I, j.p = {}, j;
|
|
449
449
|
}));
|
|
450
450
|
})(wt)), wt.exports;
|
|
451
451
|
}
|
|
452
452
|
var Fn = Oa();
|
|
453
|
-
const
|
|
454
|
-
var
|
|
453
|
+
const ve = /* @__PURE__ */ Ye(Fn);
|
|
454
|
+
var vt = { exports: {} }, zn = vt.exports, Qs;
|
|
455
455
|
function Wn() {
|
|
456
456
|
return Qs || (Qs = 1, (function(e, t) {
|
|
457
457
|
(function(s, n) {
|
|
@@ -464,19 +464,19 @@ function Wn() {
|
|
|
464
464
|
return i.fromToBase(l, d, m, h);
|
|
465
465
|
}
|
|
466
466
|
r.en.relativeTime = o, i.fromToBase = function(l, d, m, h, g) {
|
|
467
|
-
for (var f, A, w,
|
|
468
|
-
var
|
|
469
|
-
|
|
467
|
+
for (var f, A, w, b = m.$locale().relativeTime || o, E = s.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], N = E.length, S = 0; S < N; S += 1) {
|
|
468
|
+
var v = E[S];
|
|
469
|
+
v.d && (f = h ? r(l).diff(m, v.d, !0) : m.diff(l, v.d, !0));
|
|
470
470
|
var I = (s.rounding || Math.round)(Math.abs(f));
|
|
471
|
-
if (w = f > 0, I <=
|
|
472
|
-
I <= 1 && S > 0 && (
|
|
473
|
-
var R = v
|
|
474
|
-
g && (I = g("" + I)), A = typeof R == "string" ? R.replace("%d", I) : R(I, d,
|
|
471
|
+
if (w = f > 0, I <= v.r || !v.r) {
|
|
472
|
+
I <= 1 && S > 0 && (v = E[S - 1]);
|
|
473
|
+
var R = b[v.l];
|
|
474
|
+
g && (I = g("" + I)), A = typeof R == "string" ? R.replace("%d", I) : R(I, d, v.l, w);
|
|
475
475
|
break;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
if (d) return A;
|
|
479
|
-
var Q = w ?
|
|
479
|
+
var Q = w ? b.future : b.past;
|
|
480
480
|
return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
|
|
481
481
|
}, i.to = function(l, d) {
|
|
482
482
|
return c(l, d, this, !0);
|
|
@@ -493,11 +493,11 @@ function Wn() {
|
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
}));
|
|
496
|
-
})(
|
|
496
|
+
})(vt)), vt.exports;
|
|
497
497
|
}
|
|
498
498
|
var Yn = Wn();
|
|
499
499
|
const Kn = /* @__PURE__ */ Ye(Yn);
|
|
500
|
-
var
|
|
500
|
+
var bt = { exports: {} }, Jn = bt.exports, Hs;
|
|
501
501
|
function $n() {
|
|
502
502
|
return Hs || (Hs = 1, (function(e, t) {
|
|
503
503
|
(function(s, n) {
|
|
@@ -511,7 +511,7 @@ function $n() {
|
|
|
511
511
|
} };
|
|
512
512
|
return r.default.locale(i, null, !0), i;
|
|
513
513
|
}));
|
|
514
|
-
})(
|
|
514
|
+
})(bt)), bt.exports;
|
|
515
515
|
}
|
|
516
516
|
$n();
|
|
517
517
|
var yt = { exports: {} }, Zn = yt.exports, Vs;
|
|
@@ -545,11 +545,11 @@ function Xn() {
|
|
|
545
545
|
};
|
|
546
546
|
var m = u.utcOffset;
|
|
547
547
|
u.utcOffset = function(A, w) {
|
|
548
|
-
var
|
|
549
|
-
if (
|
|
550
|
-
if (typeof A == "string" && (A = (function(
|
|
551
|
-
|
|
552
|
-
var I =
|
|
548
|
+
var b = this.$utils().u;
|
|
549
|
+
if (b(A)) return this.$u ? 0 : b(this.$offset) ? m.call(this) : this.$offset;
|
|
550
|
+
if (typeof A == "string" && (A = (function(v) {
|
|
551
|
+
v === void 0 && (v = "");
|
|
552
|
+
var I = v.match(n);
|
|
553
553
|
if (!I) return null;
|
|
554
554
|
var R = ("" + I[0]).match(r) || ["-", 0, 0], Q = R[0], W = 60 * +R[1] + +R[2];
|
|
555
555
|
return W === 0 ? 0 : Q === "+" ? W : -W;
|
|
@@ -580,10 +580,10 @@ function Xn() {
|
|
|
580
580
|
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : g.call(this);
|
|
581
581
|
};
|
|
582
582
|
var f = u.diff;
|
|
583
|
-
u.diff = function(A, w,
|
|
584
|
-
if (A && this.$u === A.$u) return f.call(this, A, w,
|
|
583
|
+
u.diff = function(A, w, b) {
|
|
584
|
+
if (A && this.$u === A.$u) return f.call(this, A, w, b);
|
|
585
585
|
var E = this.local(), N = c(A).local();
|
|
586
|
-
return f.call(E, N, w,
|
|
586
|
+
return f.call(E, N, w, b);
|
|
587
587
|
};
|
|
588
588
|
};
|
|
589
589
|
}));
|
|
@@ -601,25 +601,25 @@ function ar() {
|
|
|
601
601
|
return function(r, i, o) {
|
|
602
602
|
var c, u = function(h, g, f) {
|
|
603
603
|
f === void 0 && (f = {});
|
|
604
|
-
var A = new Date(h), w = (function(
|
|
604
|
+
var A = new Date(h), w = (function(b, E) {
|
|
605
605
|
E === void 0 && (E = {});
|
|
606
|
-
var N = E.timeZoneName || "short", S =
|
|
607
|
-
return
|
|
606
|
+
var N = E.timeZoneName || "short", S = b + "|" + N, v = n[S];
|
|
607
|
+
return v || (v = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), n[S] = v), v;
|
|
608
608
|
})(g, f);
|
|
609
609
|
return w.formatToParts(A);
|
|
610
610
|
}, l = function(h, g) {
|
|
611
611
|
for (var f = u(h, g), A = [], w = 0; w < f.length; w += 1) {
|
|
612
|
-
var
|
|
612
|
+
var b = f[w], E = b.type, N = b.value, S = s[E];
|
|
613
613
|
S >= 0 && (A[S] = parseInt(N, 10));
|
|
614
614
|
}
|
|
615
|
-
var
|
|
615
|
+
var v = A[3], I = v === 24 ? 0 : v, R = A[0] + "-" + A[1] + "-" + A[2] + " " + I + ":" + A[4] + ":" + A[5] + ":000", Q = +h;
|
|
616
616
|
return (o.utc(R).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
617
617
|
}, d = i.prototype;
|
|
618
618
|
d.tz = function(h, g) {
|
|
619
619
|
h === void 0 && (h = c);
|
|
620
|
-
var f, A = this.utcOffset(), w = this.toDate(),
|
|
620
|
+
var f, A = this.utcOffset(), w = this.toDate(), b = w.toLocaleString("en-US", { timeZone: h }), E = Math.round((w - new Date(b)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - E;
|
|
621
621
|
if (!Number(N)) f = this.utcOffset(0, g);
|
|
622
|
-
else if (f = o(
|
|
622
|
+
else if (f = o(b, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), g) {
|
|
623
623
|
var S = f.utcOffset();
|
|
624
624
|
f = f.add(A - S, "minute");
|
|
625
625
|
}
|
|
@@ -636,15 +636,15 @@ function ar() {
|
|
|
636
636
|
var f = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
637
637
|
return m.call(f, h, g).tz(this.$x.$timezone, !0);
|
|
638
638
|
}, o.tz = function(h, g, f) {
|
|
639
|
-
var A = f && g, w = f || g || c,
|
|
639
|
+
var A = f && g, w = f || g || c, b = l(+o(), w);
|
|
640
640
|
if (typeof h != "string") return o(h).tz(w);
|
|
641
641
|
var E = (function(I, R, Q) {
|
|
642
642
|
var W = I - 60 * R * 1e3, j = l(W, Q);
|
|
643
643
|
if (R === j) return [W, R];
|
|
644
644
|
var L = l(W -= 60 * (j - R) * 1e3, Q);
|
|
645
645
|
return j === L ? [W, j] : [I - 60 * Math.min(j, L) * 1e3, Math.max(j, L)];
|
|
646
|
-
})(o.utc(h, A).valueOf(),
|
|
647
|
-
return
|
|
646
|
+
})(o.utc(h, A).valueOf(), b, w), N = E[0], S = E[1], v = o(N).utcOffset(S);
|
|
647
|
+
return v.$x.$timezone = w, v;
|
|
648
648
|
}, o.tz.guess = function() {
|
|
649
649
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
650
650
|
}, o.tz.setDefault = function(h) {
|
|
@@ -656,23 +656,23 @@ function ar() {
|
|
|
656
656
|
}
|
|
657
657
|
var nr = ar();
|
|
658
658
|
const rr = /* @__PURE__ */ Ye(nr);
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
const Rt = (e) => e === "en" ? "en" : "es",
|
|
659
|
+
ve.extend(tr);
|
|
660
|
+
ve.extend(rr);
|
|
661
|
+
ve.extend(Kn);
|
|
662
|
+
const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
663
663
|
const { PUBLIC_LNG: s, DATE_TIMEZONE: n } = t || _(), r = Rt(s ?? "es");
|
|
664
|
-
return
|
|
664
|
+
return ve.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
665
665
|
}, gs = (e) => {
|
|
666
666
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = _(), n = Rt(t ?? "es");
|
|
667
|
-
return
|
|
667
|
+
return ve.tz(e, s).locale(n).format(
|
|
668
668
|
n === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
669
669
|
);
|
|
670
670
|
}, ir = (e) => {
|
|
671
671
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = _(), n = Rt(t ?? "es");
|
|
672
|
-
return
|
|
672
|
+
return ve.tz(e, s).locale(n).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
673
673
|
}, Ad = (e) => {
|
|
674
674
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = _(), n = Rt(t ?? "es");
|
|
675
|
-
return
|
|
675
|
+
return ve.tz(e, s).locale(n).format("dddd DD [de] MMMM YYYY");
|
|
676
676
|
}, Fe = (e, t) => {
|
|
677
677
|
if (!e) return "";
|
|
678
678
|
const s = new Date(e), r = new Intl.DateTimeFormat("en-CA", {
|
|
@@ -690,7 +690,7 @@ const Rt = (e) => e === "en" ? "en" : "es", xe = (e, t) => {
|
|
|
690
690
|
});
|
|
691
691
|
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), u = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = u >= 0 ? "+" : "-", d = (g) => String(Math.floor(Math.abs(g))).padStart(2, "0"), m = d(u / 60), h = d(u % 60);
|
|
692
692
|
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${h}`;
|
|
693
|
-
},
|
|
693
|
+
}, xe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
694
694
|
function He(e) {
|
|
695
695
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
696
696
|
}
|
|
@@ -764,10 +764,10 @@ function ns(e) {
|
|
|
764
764
|
const i = r.index + r[0].length;
|
|
765
765
|
let o = 1, c = i, u = i;
|
|
766
766
|
for (; c < t.length && o > 0; ) {
|
|
767
|
-
const g = t.slice(c), f = g.match(/<div\b/i), A = g.match(/<\/div>/i), w = f?.index ?? -1,
|
|
768
|
-
if (
|
|
769
|
-
const E = w === -1 ? 1 / 0 : c + w, N = c +
|
|
770
|
-
w !== -1 && w <
|
|
767
|
+
const g = t.slice(c), f = g.match(/<div\b/i), A = g.match(/<\/div>/i), w = f?.index ?? -1, b = A?.index ?? -1;
|
|
768
|
+
if (b === -1) break;
|
|
769
|
+
const E = w === -1 ? 1 / 0 : c + w, N = c + b;
|
|
770
|
+
w !== -1 && w < b ? (o += 1, c = E + f[0].length) : (o -= 1, u = N, c = N + A[0].length);
|
|
771
771
|
}
|
|
772
772
|
const l = t.slice(i, u), d = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
773
773
|
let h;
|
|
@@ -796,7 +796,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
796
796
|
}, st = () => {
|
|
797
797
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } = _();
|
|
798
798
|
return e == "local" ? t : s && s !== "false" ? s : "";
|
|
799
|
-
},
|
|
799
|
+
}, vd = () => {
|
|
800
800
|
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = _();
|
|
801
801
|
return e === "local" ? t : "";
|
|
802
802
|
}, mr = (e) => {
|
|
@@ -1089,7 +1089,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
1089
1089
|
t[r] = i;
|
|
1090
1090
|
}
|
|
1091
1091
|
return t;
|
|
1092
|
-
},
|
|
1092
|
+
}, vr = (e) => {
|
|
1093
1093
|
const t = e.match(
|
|
1094
1094
|
/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i
|
|
1095
1095
|
);
|
|
@@ -1106,7 +1106,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
1106
1106
|
s
|
|
1107
1107
|
);
|
|
1108
1108
|
} catch {
|
|
1109
|
-
const i =
|
|
1109
|
+
const i = vr(e);
|
|
1110
1110
|
return i ? /* @__PURE__ */ a(
|
|
1111
1111
|
"script",
|
|
1112
1112
|
{
|
|
@@ -1118,7 +1118,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
1118
1118
|
s
|
|
1119
1119
|
) : null;
|
|
1120
1120
|
}
|
|
1121
|
-
},
|
|
1121
|
+
}, br = (e) => {
|
|
1122
1122
|
const t = /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;
|
|
1123
1123
|
return [...e.matchAll(t)];
|
|
1124
1124
|
}, Da = (e) => {
|
|
@@ -1129,7 +1129,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
1129
1129
|
const s = ps(
|
|
1130
1130
|
t.value || "",
|
|
1131
1131
|
e.replaces
|
|
1132
|
-
), n =
|
|
1132
|
+
), n = br(s);
|
|
1133
1133
|
return /* @__PURE__ */ a(J, { children: n.map((r, i) => {
|
|
1134
1134
|
const o = r[1] || r[3] || "", c = r[2]?.trim() || "";
|
|
1135
1135
|
return Ma(o, c, i, e.name);
|
|
@@ -1172,7 +1172,7 @@ const wd = ns, ur = async (e, t) => {
|
|
|
1172
1172
|
i > 0 && (n += `/${r}`);
|
|
1173
1173
|
}), `${n}/page/${s - 1}`;
|
|
1174
1174
|
};
|
|
1175
|
-
function
|
|
1175
|
+
function bd(e) {
|
|
1176
1176
|
const t = e.length;
|
|
1177
1177
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
1178
1178
|
}
|
|
@@ -1236,15 +1236,15 @@ const Cr = () => {
|
|
|
1236
1236
|
let t = "";
|
|
1237
1237
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1238
1238
|
const s = e.params.news.split("-"), n = s[s.length - 1] ?? "", r = n.substring(1, 9), i = n.substring(9, 13);
|
|
1239
|
-
t = `/listas/${
|
|
1239
|
+
t = `/listas/${ve(r).format("YYYY/MM/DD")}/lista_${i}.html`;
|
|
1240
1240
|
} else if (e.params.news.match(/.*lb[0-9]*.html/g)) {
|
|
1241
1241
|
const s = e.params.news.split("-"), n = s[s.length - 1] ?? "", r = n.substring(2, 10), i = n.substring(10, 14);
|
|
1242
|
-
t = `/liveblog/${
|
|
1242
|
+
t = `/liveblog/${ve(r).format(
|
|
1243
1243
|
"YYYY/MM/DD"
|
|
1244
1244
|
)}/liveblog_${i}.html`;
|
|
1245
1245
|
} else {
|
|
1246
1246
|
const n = e.params.news.replace(/\.html$/g, "").split("-");
|
|
1247
|
-
Array.isArray(n) && (t = `/contenidos/${
|
|
1247
|
+
Array.isArray(n) && (t = `/contenidos/${ve(n[n.length - 2]).format(
|
|
1248
1248
|
"YYYY/MM/DD"
|
|
1249
1249
|
)}/noticia_${n[n.length - 1]}.html`);
|
|
1250
1250
|
}
|
|
@@ -1253,13 +1253,13 @@ const Cr = () => {
|
|
|
1253
1253
|
function Cd(e) {
|
|
1254
1254
|
const t = e.lastIndexOf("-"), s = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], n = s[s.length - 1]?.split("."), r = n && n[0] ? n[0] : "", i = r.substring(0, 2), o = r.substring(2, 10), c = r.substring(10);
|
|
1255
1255
|
return { path: {
|
|
1256
|
-
vy: (l) => `/videos/video-youtube/${
|
|
1256
|
+
vy: (l) => `/videos/video-youtube/${ve(o).format(
|
|
1257
1257
|
"YYYY/MM/DD"
|
|
1258
1258
|
)}/videoYouTube_${l}.lnk`,
|
|
1259
|
-
ve: (l) => `/videos/video-embedded/${
|
|
1259
|
+
ve: (l) => `/videos/video-embedded/${ve(o).format(
|
|
1260
1260
|
"YYYY/MM/DD"
|
|
1261
1261
|
)}/videoEmbedded_${l}.lnk`,
|
|
1262
|
-
vf: (l) => `/videos/video-flash/${
|
|
1262
|
+
vf: (l) => `/videos/video-flash/${ve(o).format("YYYY/MM/DD")}/${s[0]}.${l}`
|
|
1263
1263
|
}[i]?.(c) ?? "", op: i };
|
|
1264
1264
|
}
|
|
1265
1265
|
const De = (e, t) => {
|
|
@@ -1351,7 +1351,7 @@ function Td(e, t) {
|
|
|
1351
1351
|
return typeof s == "string" || s === void 0 ? s : void 0;
|
|
1352
1352
|
}
|
|
1353
1353
|
const Id = (e) => e?.body?.rendered.includes("ck-image-gallery") || e?.config?.articlepreview === "fotogaleria" && e?.hascontent?.hasgalleryimages;
|
|
1354
|
-
function
|
|
1354
|
+
function Ud(e) {
|
|
1355
1355
|
const t = {};
|
|
1356
1356
|
for (const [s, n] of Object.entries(e)) {
|
|
1357
1357
|
const r = btoa(s).split("").reverse().join("");
|
|
@@ -1374,7 +1374,7 @@ function _a(e) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
return t;
|
|
1376
1376
|
}
|
|
1377
|
-
const
|
|
1377
|
+
const xd = async (e, t, s) => {
|
|
1378
1378
|
const { info: n, preview: r } = e, i = e?.config?.homepreview || "imagen", o = i === "clip" && e?.hascontent?.hasgalleryvideosflash, c = {
|
|
1379
1379
|
...r
|
|
1380
1380
|
};
|
|
@@ -1423,15 +1423,15 @@ const Ud = async (e, t, s) => {
|
|
|
1423
1423
|
{ not: { selector_matches: "[rel~=nofollow]" } }
|
|
1424
1424
|
] }, eagerness: "moderate" },
|
|
1425
1425
|
{ eagerness: "moderate", urls: ["/"] }
|
|
1426
|
-
] },
|
|
1426
|
+
] }, Ur = {
|
|
1427
1427
|
Home: Tr,
|
|
1428
1428
|
Common: Ir
|
|
1429
|
-
},
|
|
1429
|
+
}, xr = ({ active: e, type: t, customSpeculation: s }) => e && /* @__PURE__ */ a(
|
|
1430
1430
|
"script",
|
|
1431
1431
|
{
|
|
1432
1432
|
type: "speculationrules",
|
|
1433
1433
|
dangerouslySetInnerHTML: {
|
|
1434
|
-
__html: JSON.stringify(s ??
|
|
1434
|
+
__html: JSON.stringify(s ?? Ur[t])
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
), As = async (e, t, s) => {
|
|
@@ -2238,8 +2238,8 @@ const ni = (e, t, s, { allOwnKeys: n } = {}) => (it(t, (r, i) => {
|
|
|
2238
2238
|
};
|
|
2239
2239
|
return Ke(e) ? n(e) : n(String(e).split(t)), s;
|
|
2240
2240
|
}, wi = () => {
|
|
2241
|
-
},
|
|
2242
|
-
function
|
|
2241
|
+
}, vi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
2242
|
+
function bi(e) {
|
|
2243
2243
|
return !!(e && pe(e.append) && e[Qa] === "FormData" && e[Lt]);
|
|
2244
2244
|
}
|
|
2245
2245
|
const yi = (e) => {
|
|
@@ -2316,11 +2316,11 @@ const yi = (e) => {
|
|
|
2316
2316
|
toObjectSet: Ai,
|
|
2317
2317
|
toCamelCase: fi,
|
|
2318
2318
|
noop: wi,
|
|
2319
|
-
toFiniteNumber:
|
|
2319
|
+
toFiniteNumber: vi,
|
|
2320
2320
|
findKey: Fa,
|
|
2321
2321
|
global: Oe,
|
|
2322
2322
|
isContextDefined: za,
|
|
2323
|
-
isSpecCompliantForm:
|
|
2323
|
+
isSpecCompliantForm: bi,
|
|
2324
2324
|
toJSONObject: yi,
|
|
2325
2325
|
isAsyncFn: Ci,
|
|
2326
2326
|
isThenable: Ni,
|
|
@@ -2395,7 +2395,7 @@ function Js(e, t, s) {
|
|
|
2395
2395
|
function Ii(e) {
|
|
2396
2396
|
return C.isArray(e) && !e.some(is);
|
|
2397
2397
|
}
|
|
2398
|
-
const
|
|
2398
|
+
const Ui = C.toFlatObject(C, {}, null, function(t) {
|
|
2399
2399
|
return /^is[A-Z]/.test(t);
|
|
2400
2400
|
});
|
|
2401
2401
|
function Ot(e, t, s) {
|
|
@@ -2422,12 +2422,12 @@ function Ot(e, t, s) {
|
|
|
2422
2422
|
return C.isArrayBuffer(f) || C.isTypedArray(f) ? u && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2423
2423
|
}
|
|
2424
2424
|
function d(f, A, w) {
|
|
2425
|
-
let
|
|
2425
|
+
let b = f;
|
|
2426
2426
|
if (f && !w && typeof f == "object") {
|
|
2427
2427
|
if (C.endsWith(A, "{}"))
|
|
2428
2428
|
A = n ? A : A.slice(0, -2), f = JSON.stringify(f);
|
|
2429
|
-
else if (C.isArray(f) && Ii(f) || (C.isFileList(f) || C.endsWith(A, "[]")) && (
|
|
2430
|
-
return A = $a(A),
|
|
2429
|
+
else if (C.isArray(f) && Ii(f) || (C.isFileList(f) || C.endsWith(A, "[]")) && (b = C.toArray(f)))
|
|
2430
|
+
return A = $a(A), b.forEach(function(N, S) {
|
|
2431
2431
|
!(C.isUndefined(N) || N === null) && t.append(
|
|
2432
2432
|
// eslint-disable-next-line no-nested-ternary
|
|
2433
2433
|
o === !0 ? Js([A], S, i) : o === null ? A : A + "[]",
|
|
@@ -2437,7 +2437,7 @@ function Ot(e, t, s) {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
return is(f) ? !0 : (t.append(Js(w, A, i), l(f)), !1);
|
|
2439
2439
|
}
|
|
2440
|
-
const m = [], h = Object.assign(
|
|
2440
|
+
const m = [], h = Object.assign(Ui, {
|
|
2441
2441
|
defaultVisitor: d,
|
|
2442
2442
|
convertValue: l,
|
|
2443
2443
|
isVisitable: is
|
|
@@ -2446,14 +2446,14 @@ function Ot(e, t, s) {
|
|
|
2446
2446
|
if (!C.isUndefined(f)) {
|
|
2447
2447
|
if (m.indexOf(f) !== -1)
|
|
2448
2448
|
throw Error("Circular reference detected in " + A.join("."));
|
|
2449
|
-
m.push(f), C.forEach(f, function(
|
|
2450
|
-
(!(C.isUndefined(
|
|
2449
|
+
m.push(f), C.forEach(f, function(b, E) {
|
|
2450
|
+
(!(C.isUndefined(b) || b === null) && r.call(
|
|
2451
2451
|
t,
|
|
2452
|
-
|
|
2452
|
+
b,
|
|
2453
2453
|
C.isString(E) ? E.trim() : E,
|
|
2454
2454
|
A,
|
|
2455
2455
|
h
|
|
2456
|
-
)) === !0 && g(
|
|
2456
|
+
)) === !0 && g(b, A ? A.concat(E) : [E]);
|
|
2457
2457
|
}), m.pop();
|
|
2458
2458
|
}
|
|
2459
2459
|
}
|
|
@@ -2475,10 +2475,10 @@ function $s(e) {
|
|
|
2475
2475
|
return t[n];
|
|
2476
2476
|
});
|
|
2477
2477
|
}
|
|
2478
|
-
function
|
|
2478
|
+
function vs(e, t) {
|
|
2479
2479
|
this._pairs = [], e && Ot(e, this, t);
|
|
2480
2480
|
}
|
|
2481
|
-
const Za =
|
|
2481
|
+
const Za = vs.prototype;
|
|
2482
2482
|
Za.append = function(t, s) {
|
|
2483
2483
|
this._pairs.push([t, s]);
|
|
2484
2484
|
};
|
|
@@ -2490,19 +2490,19 @@ Za.toString = function(t) {
|
|
|
2490
2490
|
return s(r[0]) + "=" + s(r[1]);
|
|
2491
2491
|
}, "").join("&");
|
|
2492
2492
|
};
|
|
2493
|
-
function
|
|
2493
|
+
function xi(e) {
|
|
2494
2494
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
2495
2495
|
}
|
|
2496
2496
|
function Xa(e, t, s) {
|
|
2497
2497
|
if (!t)
|
|
2498
2498
|
return e;
|
|
2499
|
-
const n = s && s.encode ||
|
|
2499
|
+
const n = s && s.encode || xi;
|
|
2500
2500
|
C.isFunction(s) && (s = {
|
|
2501
2501
|
serialize: s
|
|
2502
2502
|
});
|
|
2503
2503
|
const r = s && s.serialize;
|
|
2504
2504
|
let i;
|
|
2505
|
-
if (r ? i = r(t, s) : i = C.isURLSearchParams(t) ? t.toString() : new
|
|
2505
|
+
if (r ? i = r(t, s) : i = C.isURLSearchParams(t) ? t.toString() : new vs(t, s).toString(n), i) {
|
|
2506
2506
|
const o = e.indexOf("#");
|
|
2507
2507
|
o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
|
|
2508
2508
|
}
|
|
@@ -2566,7 +2566,7 @@ const en = {
|
|
|
2566
2566
|
silentJSONParsing: !0,
|
|
2567
2567
|
forcedJSONParsing: !0,
|
|
2568
2568
|
clarifyTimeoutError: !1
|
|
2569
|
-
}, Ri = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
2569
|
+
}, Ri = typeof URLSearchParams < "u" ? URLSearchParams : vs, ki = typeof FormData < "u" ? FormData : null, Li = typeof Blob < "u" ? Blob : null, Pi = {
|
|
2570
2570
|
isBrowser: !0,
|
|
2571
2571
|
classes: {
|
|
2572
2572
|
URLSearchParams: Ri,
|
|
@@ -2574,10 +2574,10 @@ const en = {
|
|
|
2574
2574
|
Blob: Li
|
|
2575
2575
|
},
|
|
2576
2576
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
2577
|
-
},
|
|
2578
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", qi =
|
|
2577
|
+
}, bs = typeof window < "u" && typeof document < "u", os = typeof navigator == "object" && navigator || void 0, Bi = bs && (!os || ["ReactNative", "NativeScript", "NS"].indexOf(os.product) < 0), Oi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2578
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", qi = bs && window.location.href || "http://localhost", Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2579
2579
|
__proto__: null,
|
|
2580
|
-
hasBrowserEnv:
|
|
2580
|
+
hasBrowserEnv: bs,
|
|
2581
2581
|
hasStandardBrowserEnv: Bi,
|
|
2582
2582
|
hasStandardBrowserWebWorkerEnv: Oi,
|
|
2583
2583
|
navigator: os,
|
|
@@ -3124,12 +3124,12 @@ const rn = (e) => {
|
|
|
3124
3124
|
}
|
|
3125
3125
|
let w = new XMLHttpRequest();
|
|
3126
3126
|
w.open(r.method.toUpperCase(), r.url, !0), w.timeout = r.timeout;
|
|
3127
|
-
function
|
|
3127
|
+
function b() {
|
|
3128
3128
|
if (!w)
|
|
3129
3129
|
return;
|
|
3130
3130
|
const N = Ae.from(
|
|
3131
3131
|
"getAllResponseHeaders" in w && w.getAllResponseHeaders()
|
|
3132
|
-
),
|
|
3132
|
+
), v = {
|
|
3133
3133
|
data: !c || c === "text" || c === "json" ? w.responseText : w.response,
|
|
3134
3134
|
status: w.status,
|
|
3135
3135
|
statusText: w.statusText,
|
|
@@ -3141,26 +3141,26 @@ const rn = (e) => {
|
|
|
3141
3141
|
s(R), A();
|
|
3142
3142
|
}, function(R) {
|
|
3143
3143
|
n(R), A();
|
|
3144
|
-
},
|
|
3144
|
+
}, v), w = null;
|
|
3145
3145
|
}
|
|
3146
|
-
"onloadend" in w ? w.onloadend =
|
|
3147
|
-
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
3146
|
+
"onloadend" in w ? w.onloadend = b : w.onreadystatechange = function() {
|
|
3147
|
+
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
3148
3148
|
}, w.onabort = function() {
|
|
3149
3149
|
w && (n(new Z("Request aborted", Z.ECONNABORTED, e, w)), w = null);
|
|
3150
3150
|
}, w.onerror = function(S) {
|
|
3151
|
-
const
|
|
3151
|
+
const v = S && S.message ? S.message : "Network Error", I = new Z(v, Z.ERR_NETWORK, e, w);
|
|
3152
3152
|
I.event = S || null, n(I), w = null;
|
|
3153
3153
|
}, w.ontimeout = function() {
|
|
3154
3154
|
let S = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
3155
|
-
const
|
|
3155
|
+
const v = r.transitional || en;
|
|
3156
3156
|
r.timeoutErrorMessage && (S = r.timeoutErrorMessage), n(new Z(
|
|
3157
3157
|
S,
|
|
3158
|
-
|
|
3158
|
+
v.clarifyTimeoutError ? Z.ETIMEDOUT : Z.ECONNABORTED,
|
|
3159
3159
|
e,
|
|
3160
3160
|
w
|
|
3161
3161
|
)), w = null;
|
|
3162
|
-
}, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S,
|
|
3163
|
-
w.setRequestHeader(
|
|
3162
|
+
}, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S, v) {
|
|
3163
|
+
w.setRequestHeader(v, S);
|
|
3164
3164
|
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([h, f] = It(l, !0), w.addEventListener("progress", h)), u && w.upload && ([m, g] = It(u), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (d = (N) => {
|
|
3165
3165
|
w && (n(!N || N.type ? new Je(null, e, w) : N), w.abort(), w = null);
|
|
3166
3166
|
}, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
|
|
@@ -3285,9 +3285,9 @@ const rn = (e) => {
|
|
|
3285
3285
|
};
|
|
3286
3286
|
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
3287
3287
|
!m[f] && (m[f] = (A, w) => {
|
|
3288
|
-
let
|
|
3289
|
-
if (
|
|
3290
|
-
return
|
|
3288
|
+
let b = A && A[f];
|
|
3289
|
+
if (b)
|
|
3290
|
+
return b.call(A);
|
|
3291
3291
|
throw new Z(`Response type '${f}' is not supported`, Z.ERR_NOT_SUPPORT, w);
|
|
3292
3292
|
});
|
|
3293
3293
|
});
|
|
@@ -3313,11 +3313,11 @@ const rn = (e) => {
|
|
|
3313
3313
|
let {
|
|
3314
3314
|
url: A,
|
|
3315
3315
|
method: w,
|
|
3316
|
-
data:
|
|
3316
|
+
data: b,
|
|
3317
3317
|
signal: E,
|
|
3318
3318
|
cancelToken: N,
|
|
3319
3319
|
timeout: S,
|
|
3320
|
-
onDownloadProgress:
|
|
3320
|
+
onDownloadProgress: v,
|
|
3321
3321
|
onUploadProgress: I,
|
|
3322
3322
|
responseType: R,
|
|
3323
3323
|
headers: Q,
|
|
@@ -3329,43 +3329,43 @@ const rn = (e) => {
|
|
|
3329
3329
|
const q = H && H.unsubscribe && (() => {
|
|
3330
3330
|
H.unsubscribe();
|
|
3331
3331
|
});
|
|
3332
|
-
let
|
|
3332
|
+
let x;
|
|
3333
3333
|
try {
|
|
3334
|
-
if (I && l && w !== "get" && w !== "head" && (
|
|
3334
|
+
if (I && l && w !== "get" && w !== "head" && (x = await g(Q, b)) !== 0) {
|
|
3335
3335
|
let T = new s(A, {
|
|
3336
3336
|
method: "POST",
|
|
3337
|
-
body:
|
|
3337
|
+
body: b,
|
|
3338
3338
|
duplex: "half"
|
|
3339
3339
|
}), P;
|
|
3340
|
-
if (C.isFormData(
|
|
3340
|
+
if (C.isFormData(b) && (P = T.headers.get("content-type")) && Q.setContentType(P), T.body) {
|
|
3341
3341
|
const [G, D] = ea(
|
|
3342
|
-
|
|
3342
|
+
x,
|
|
3343
3343
|
It(ta(I))
|
|
3344
3344
|
);
|
|
3345
|
-
|
|
3345
|
+
b = aa(T.body, na, G, D);
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
3348
|
C.isString(W) || (W = W ? "include" : "omit");
|
|
3349
|
-
const
|
|
3349
|
+
const U = i && "credentials" in s.prototype, M = {
|
|
3350
3350
|
...j,
|
|
3351
3351
|
signal: H,
|
|
3352
3352
|
method: w.toUpperCase(),
|
|
3353
3353
|
headers: Q.normalize().toJSON(),
|
|
3354
|
-
body:
|
|
3354
|
+
body: b,
|
|
3355
3355
|
duplex: "half",
|
|
3356
|
-
credentials:
|
|
3356
|
+
credentials: U ? W : void 0
|
|
3357
3357
|
};
|
|
3358
3358
|
se = i && new s(A, M);
|
|
3359
3359
|
let k = await (i ? L(se, j) : L(A, M));
|
|
3360
3360
|
const F = d && (R === "stream" || R === "response");
|
|
3361
|
-
if (d && (
|
|
3361
|
+
if (d && (v || F && q)) {
|
|
3362
3362
|
const T = {};
|
|
3363
3363
|
["status", "statusText", "headers"].forEach((V) => {
|
|
3364
3364
|
T[V] = k[V];
|
|
3365
3365
|
});
|
|
3366
|
-
const P = C.toFiniteNumber(k.headers.get("content-length")), [G, D] =
|
|
3366
|
+
const P = C.toFiniteNumber(k.headers.get("content-length")), [G, D] = v && ea(
|
|
3367
3367
|
P,
|
|
3368
|
-
It(ta(
|
|
3368
|
+
It(ta(v), !0)
|
|
3369
3369
|
) || [];
|
|
3370
3370
|
k = new n(
|
|
3371
3371
|
aa(k.body, na, G, () => {
|
|
@@ -3386,13 +3386,13 @@ const rn = (e) => {
|
|
|
3386
3386
|
request: se
|
|
3387
3387
|
});
|
|
3388
3388
|
});
|
|
3389
|
-
} catch (
|
|
3390
|
-
throw q && q(),
|
|
3389
|
+
} catch (U) {
|
|
3390
|
+
throw q && q(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
|
|
3391
3391
|
new Z("Network Error", Z.ERR_NETWORK, f, se),
|
|
3392
3392
|
{
|
|
3393
|
-
cause:
|
|
3393
|
+
cause: U.cause || U
|
|
3394
3394
|
}
|
|
3395
|
-
) : Z.from(
|
|
3395
|
+
) : Z.from(U, U && U.code, f, se);
|
|
3396
3396
|
}
|
|
3397
3397
|
};
|
|
3398
3398
|
}, lo = /* @__PURE__ */ new Map(), on = (e) => {
|
|
@@ -4200,9 +4200,9 @@ class Be {
|
|
|
4200
4200
|
exclude: n.getAutorInfo,
|
|
4201
4201
|
imagesizes: s.getAutorInfo
|
|
4202
4202
|
}))?.data.data ?? []);
|
|
4203
|
-
const l = ns(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((
|
|
4204
|
-
console.log("newsRelatedList: ", m), m?.forEach((
|
|
4205
|
-
|
|
4203
|
+
const l = ns(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((b) => ns(b)), h = [];
|
|
4204
|
+
console.log("newsRelatedList: ", m), m?.forEach((b) => {
|
|
4205
|
+
b && b.length > 0 && b.forEach((E) => {
|
|
4206
4206
|
E.forEach((N) => {
|
|
4207
4207
|
const S = this.getNews({
|
|
4208
4208
|
path: N.replaceAll("|", "/"),
|
|
@@ -4218,7 +4218,7 @@ class Be {
|
|
|
4218
4218
|
const f = (await Promise.allSettled([
|
|
4219
4219
|
...h
|
|
4220
4220
|
])).map(
|
|
4221
|
-
(
|
|
4221
|
+
(b) => He(b)?.data
|
|
4222
4222
|
), A = await ur(
|
|
4223
4223
|
l,
|
|
4224
4224
|
this.getNews
|
|
@@ -4226,8 +4226,8 @@ class Be {
|
|
|
4226
4226
|
let w = [];
|
|
4227
4227
|
try {
|
|
4228
4228
|
w = (await this.getNewsSchemasImages({ path: t }))?.data?.data ?? [];
|
|
4229
|
-
} catch (
|
|
4230
|
-
console.warn("getNewsSchemasImages failed:",
|
|
4229
|
+
} catch (b) {
|
|
4230
|
+
console.warn("getNewsSchemasImages failed:", b), w = [];
|
|
4231
4231
|
}
|
|
4232
4232
|
return {
|
|
4233
4233
|
news: o ?? [],
|
|
@@ -4445,7 +4445,7 @@ const $d = async (e, t, s, n, r, i, o) => {
|
|
|
4445
4445
|
title: e.title,
|
|
4446
4446
|
description: e.description
|
|
4447
4447
|
// robots: 'noindex',
|
|
4448
|
-
}), ua = (e = "") => e.replace(/-/g, " ").replace(/^./, (t) => t.toUpperCase()),
|
|
4448
|
+
}), ua = (e = "") => e.replace(/-/g, " ").replace(/^./, (t) => t.toUpperCase()), vo = {
|
|
4449
4449
|
404: (e) => {
|
|
4450
4450
|
const { meta: t } = e;
|
|
4451
4451
|
return fe(t);
|
|
@@ -4747,7 +4747,7 @@ const $d = async (e, t, s, n, r, i, o) => {
|
|
|
4747
4747
|
return console.error(m), fe(t);
|
|
4748
4748
|
}
|
|
4749
4749
|
}
|
|
4750
|
-
},
|
|
4750
|
+
}, bo = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", yo = ({
|
|
4751
4751
|
autor: e,
|
|
4752
4752
|
listAutor: t,
|
|
4753
4753
|
config: s
|
|
@@ -4760,7 +4760,7 @@ const $d = async (e, t, s, n, r, i, o) => {
|
|
|
4760
4760
|
name: e.info.fullname ?? e.info.name,
|
|
4761
4761
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4762
4762
|
identifier: e.info.id,
|
|
4763
|
-
description:
|
|
4763
|
+
description: bo(e.addtional?.USER_MIBIO ?? ""),
|
|
4764
4764
|
image: e.info.image ? e.info.image.sizes.map((m, h) => h === 0 && e.info.image.sizes.length !== 1 ? null : l + m.url).filter(Boolean) : [],
|
|
4765
4765
|
sameAs: [
|
|
4766
4766
|
e.addtional?.USER_USERFB,
|
|
@@ -4801,14 +4801,14 @@ async function Xd({
|
|
|
4801
4801
|
internalPath: f,
|
|
4802
4802
|
config: A,
|
|
4803
4803
|
socials: w,
|
|
4804
|
-
speculationType:
|
|
4804
|
+
speculationType: b = "Common",
|
|
4805
4805
|
preloadImageUrl: E,
|
|
4806
4806
|
custom_Speculation: N,
|
|
4807
4807
|
custom_metadata: S,
|
|
4808
|
-
custom_scriptReplaces:
|
|
4808
|
+
custom_scriptReplaces: v,
|
|
4809
4809
|
head_custom_elements: I
|
|
4810
4810
|
}) {
|
|
4811
|
-
const R = g && g[0] && g[0].preview ? g[0] : void 0, Q = S || await
|
|
4811
|
+
const R = g && g[0] && g[0].preview ? g[0] : void 0, Q = S || await vo[r]({
|
|
4812
4812
|
meta: s,
|
|
4813
4813
|
config: A,
|
|
4814
4814
|
currentNew: m,
|
|
@@ -4820,7 +4820,7 @@ async function Xd({
|
|
|
4820
4820
|
axiosApi: e,
|
|
4821
4821
|
internalPath: f,
|
|
4822
4822
|
schemasImages: R
|
|
4823
|
-
}), W = Ar(Q), j =
|
|
4823
|
+
}), W = Ar(Q), j = v || Ga[r]({
|
|
4824
4824
|
pathname: i,
|
|
4825
4825
|
slug: o,
|
|
4826
4826
|
config: A,
|
|
@@ -4894,10 +4894,10 @@ async function Xd({
|
|
|
4894
4894
|
}
|
|
4895
4895
|
),
|
|
4896
4896
|
t.schemas_WebsiteList && /* @__PURE__ */ a(Br, { config: A }),
|
|
4897
|
-
|
|
4898
|
-
|
|
4897
|
+
b && /* @__PURE__ */ a(
|
|
4898
|
+
xr,
|
|
4899
4899
|
{
|
|
4900
|
-
type:
|
|
4900
|
+
type: b,
|
|
4901
4901
|
active: A.useSpeculationRules,
|
|
4902
4902
|
customSpeculation: N
|
|
4903
4903
|
}
|
|
@@ -4971,7 +4971,7 @@ function No({
|
|
|
4971
4971
|
enableDrag: i,
|
|
4972
4972
|
onIndexChange: o
|
|
4973
4973
|
}) {
|
|
4974
|
-
const [c, u] = $(!1), [l, d] = $(0), [m, h] = $(0), [g, f] = $(0), [A, w] = $(0), [
|
|
4974
|
+
const [c, u] = $(!1), [l, d] = $(0), [m, h] = $(0), [g, f] = $(0), [A, w] = $(0), [b, E] = $(null), N = Mn(null), [S, v] = $(1), I = ce(() => {
|
|
4975
4975
|
if (r) return 1;
|
|
4976
4976
|
const y = N.current?.offsetWidth || window.innerWidth, T = s + n, P = Math.floor(y / T);
|
|
4977
4977
|
return Math.max(1, P);
|
|
@@ -4979,7 +4979,7 @@ function No({
|
|
|
4979
4979
|
Te(() => {
|
|
4980
4980
|
const y = () => {
|
|
4981
4981
|
const T = I();
|
|
4982
|
-
|
|
4982
|
+
v(T);
|
|
4983
4983
|
};
|
|
4984
4984
|
return y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
|
|
4985
4985
|
}, [I]);
|
|
@@ -5026,7 +5026,7 @@ function No({
|
|
|
5026
5026
|
se(y.clientX);
|
|
5027
5027
|
},
|
|
5028
5028
|
[se]
|
|
5029
|
-
),
|
|
5029
|
+
), x = ce(
|
|
5030
5030
|
(y) => {
|
|
5031
5031
|
if (!c || !i) return;
|
|
5032
5032
|
const T = m - l, P = Date.now() - A, G = Math.abs(T) / Math.max(P, 1), D = L(T), z = G > 0.5 && Math.abs(T) > 50 ? Math.max(D, 1) : D;
|
|
@@ -5038,7 +5038,7 @@ function No({
|
|
|
5038
5038
|
const Y = Math.min(Q, e + z);
|
|
5039
5039
|
o(Y);
|
|
5040
5040
|
}
|
|
5041
|
-
u(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup",
|
|
5041
|
+
u(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", x), y.clientX === l && b?.dispatchEvent(new PointerEvent("click"));
|
|
5042
5042
|
},
|
|
5043
5043
|
[
|
|
5044
5044
|
c,
|
|
@@ -5051,9 +5051,9 @@ function No({
|
|
|
5051
5051
|
o,
|
|
5052
5052
|
L,
|
|
5053
5053
|
q,
|
|
5054
|
-
|
|
5054
|
+
b
|
|
5055
5055
|
]
|
|
5056
|
-
),
|
|
5056
|
+
), U = ce(
|
|
5057
5057
|
(y) => {
|
|
5058
5058
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && E(y.target), H(y.clientX);
|
|
5059
5059
|
},
|
|
@@ -5070,19 +5070,19 @@ function No({
|
|
|
5070
5070
|
[c, se]
|
|
5071
5071
|
), F = ce(
|
|
5072
5072
|
(y) => {
|
|
5073
|
-
|
|
5073
|
+
x(y);
|
|
5074
5074
|
},
|
|
5075
|
-
[
|
|
5075
|
+
[x]
|
|
5076
5076
|
);
|
|
5077
5077
|
return Te(() => {
|
|
5078
5078
|
if (c)
|
|
5079
|
-
return N.current?.addEventListener("mousemove", q), N.current?.addEventListener("mouseup",
|
|
5079
|
+
return N.current?.addEventListener("mousemove", q), N.current?.addEventListener("mouseup", x), () => {
|
|
5080
5080
|
N.current?.removeEventListener(
|
|
5081
5081
|
"mousemove",
|
|
5082
5082
|
q
|
|
5083
|
-
), N.current?.removeEventListener("mouseup",
|
|
5083
|
+
), N.current?.removeEventListener("mouseup", x);
|
|
5084
5084
|
};
|
|
5085
|
-
}, [c, se,
|
|
5085
|
+
}, [c, se, x, q]), {
|
|
5086
5086
|
isDragging: c,
|
|
5087
5087
|
translateOffset: g,
|
|
5088
5088
|
carrouselRef: N,
|
|
@@ -5090,11 +5090,11 @@ function No({
|
|
|
5090
5090
|
getTranslateValue: j,
|
|
5091
5091
|
actualVisibleItems: S,
|
|
5092
5092
|
dragHandlers: {
|
|
5093
|
-
onMouseDown:
|
|
5093
|
+
onMouseDown: U,
|
|
5094
5094
|
onTouchStart: M,
|
|
5095
5095
|
onTouchMove: k,
|
|
5096
5096
|
onTouchEnd: F,
|
|
5097
|
-
onMouseLeave:
|
|
5097
|
+
onMouseLeave: x
|
|
5098
5098
|
}
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
@@ -5118,7 +5118,7 @@ function su(e) {
|
|
|
5118
5118
|
isDragging: f,
|
|
5119
5119
|
translateOffset: A,
|
|
5120
5120
|
carrouselRef: w,
|
|
5121
|
-
maxIndex:
|
|
5121
|
+
maxIndex: b,
|
|
5122
5122
|
getTranslateValue: E,
|
|
5123
5123
|
actualVisibleItems: N,
|
|
5124
5124
|
dragHandlers: S
|
|
@@ -5130,17 +5130,17 @@ function su(e) {
|
|
|
5130
5130
|
fullPageWidth: o,
|
|
5131
5131
|
enableDrag: u,
|
|
5132
5132
|
onIndexChange: m
|
|
5133
|
-
}),
|
|
5133
|
+
}), v = ce(
|
|
5134
5134
|
(j) => {
|
|
5135
|
-
const L = Math.max(0, Math.min(j,
|
|
5135
|
+
const L = Math.max(0, Math.min(j, b));
|
|
5136
5136
|
m(L);
|
|
5137
5137
|
},
|
|
5138
|
-
[
|
|
5138
|
+
[b]
|
|
5139
5139
|
), I = ce(() => {
|
|
5140
|
-
|
|
5141
|
-
}, [d,
|
|
5142
|
-
|
|
5143
|
-
}, [d,
|
|
5140
|
+
v(d - 1);
|
|
5141
|
+
}, [d, v]), R = ce(() => {
|
|
5142
|
+
v(d + 1);
|
|
5143
|
+
}, [d, v]);
|
|
5144
5144
|
if (!h) return;
|
|
5145
5145
|
const Q = E(d, A), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
5146
5146
|
return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
|
|
@@ -5170,7 +5170,7 @@ function su(e) {
|
|
|
5170
5170
|
)
|
|
5171
5171
|
}
|
|
5172
5172
|
),
|
|
5173
|
-
d <
|
|
5173
|
+
d < b && /* @__PURE__ */ a(
|
|
5174
5174
|
"button",
|
|
5175
5175
|
{
|
|
5176
5176
|
className: "visible-arrow right",
|
|
@@ -5249,7 +5249,7 @@ function su(e) {
|
|
|
5249
5249
|
"li",
|
|
5250
5250
|
{
|
|
5251
5251
|
className: H ? "active" : "",
|
|
5252
|
-
onClick: () =>
|
|
5252
|
+
onClick: () => v(L * N),
|
|
5253
5253
|
style: {
|
|
5254
5254
|
cursor: "pointer",
|
|
5255
5255
|
backgroundColor: H ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
@@ -5426,7 +5426,7 @@ const Io = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5426
5426
|
]
|
|
5427
5427
|
}
|
|
5428
5428
|
);
|
|
5429
|
-
},
|
|
5429
|
+
}, Uo = (e) => {
|
|
5430
5430
|
const { PUBLIC_ENV: t } = _(), s = oe("/send.svg");
|
|
5431
5431
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ a(
|
|
5432
5432
|
"svg",
|
|
@@ -5449,7 +5449,7 @@ const Io = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5449
5449
|
}, ha = (e) => {
|
|
5450
5450
|
const { PUBLIC_ENV: t } = _(), s = oe("/message.svg");
|
|
5451
5451
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ a("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ a("path", { d: "M15 4C21.0751 4 26 8.92487 26 15C26 16.2691 25.5577 17.9814 24.6729 20.1367L24.502 20.5459L25.5459 24.8428C25.5943 25.042 25.5804 25.2514 25.5059 25.4424C25.3194 25.92 24.8065 26.1738 24.3223 26.0469L24.2109 26.0107L20.4648 24.5488C18.1478 25.5163 16.326 26 15 26C8.92487 26 4 21.0751 4 15C4 8.92487 8.92487 4 15 4ZM15 5.5C9.75329 5.5 5.5 9.75329 5.5 15C5.5 20.2467 9.75329 24.5 15 24.5C16.0245 24.5 17.5449 24.1124 19.5127 23.3184L20.4453 22.9316L23.8623 24.2637L22.9268 20.417L23.2715 19.6006C24.0971 17.5954 24.5 16.0455 24.5 15C24.5 9.75329 20.2467 5.5 15 5.5Z", fill: "#162950" }) });
|
|
5452
|
-
},
|
|
5452
|
+
}, xo = {
|
|
5453
5453
|
Whatsapp: {
|
|
5454
5454
|
url: (e) => `https://wa.me/?text=${encodeURIComponent(e)}`,
|
|
5455
5455
|
icon: {
|
|
@@ -5469,7 +5469,7 @@ function Ro({ noteShare: e }) {
|
|
|
5469
5469
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
5470
5470
|
return e ? /* @__PURE__ */ p("div", { className: "sass-com-nd-socialNetworkSection sass-news-description-social-network-section", children: [
|
|
5471
5471
|
e.options?.map((s) => {
|
|
5472
|
-
const n =
|
|
5472
|
+
const n = xo[s];
|
|
5473
5473
|
if (!n) return null;
|
|
5474
5474
|
const r = e.variant === "outline" ? n.icon.outline : n.icon.solid, i = n.url(t);
|
|
5475
5475
|
return /* @__PURE__ */ a(
|
|
@@ -5491,7 +5491,7 @@ function Ro({ noteShare: e }) {
|
|
|
5491
5491
|
type: "button",
|
|
5492
5492
|
"aria-label": "share",
|
|
5493
5493
|
className: ["sass-com-nd-clipboardButton", "sharebtn-id"].join(" "),
|
|
5494
|
-
children: /* @__PURE__ */ a(
|
|
5494
|
+
children: /* @__PURE__ */ a(Uo, {})
|
|
5495
5495
|
}
|
|
5496
5496
|
),
|
|
5497
5497
|
/* @__PURE__ */ a(
|
|
@@ -5510,20 +5510,20 @@ function Ro({ noteShare: e }) {
|
|
|
5510
5510
|
const Qe = (e) => {
|
|
5511
5511
|
const { share: t = !1, cutSubtitle: s = !0, keywords: n, info: r, paths: i, newsDescriptionSectionTag: o = "h3" } = e, { SHOW_TAG_BY_SECTION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } = _(), l = () => {
|
|
5512
5512
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
5513
|
-
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${
|
|
5513
|
+
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
|
|
5514
5514
|
e.info?.date?.modified
|
|
5515
5515
|
)}`;
|
|
5516
5516
|
if (e.config?.showauthor)
|
|
5517
5517
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
5518
5518
|
if (e?.config?.showtime)
|
|
5519
|
-
return
|
|
5519
|
+
return Ue(e.info?.date?.modified);
|
|
5520
5520
|
}, d = () => {
|
|
5521
5521
|
const g = {
|
|
5522
5522
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
5523
5523
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
5524
5524
|
"--colorSubTitle": e.colorSubTitle
|
|
5525
5525
|
};
|
|
5526
|
-
return s ? /* @__PURE__ */ a("p", { className: "sass-com-nd-description", children:
|
|
5526
|
+
return s ? /* @__PURE__ */ a("p", { className: "sass-com-nd-description", children: xe(e.main?.subtitle?.striped ?? "") }) : /* @__PURE__ */ a(
|
|
5527
5527
|
"h2",
|
|
5528
5528
|
{
|
|
5529
5529
|
className: "sass-com-nd-description",
|
|
@@ -5767,7 +5767,7 @@ const ko = (e) => {
|
|
|
5767
5767
|
children: /* @__PURE__ */ a("div", { className: "sass-com-img-imagePlaceholder" })
|
|
5768
5768
|
}
|
|
5769
5769
|
);
|
|
5770
|
-
},
|
|
5770
|
+
}, be = async (e) => {
|
|
5771
5771
|
const { preview: t } = e;
|
|
5772
5772
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
|
|
5773
5773
|
return /* @__PURE__ */ a("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center" });
|
|
@@ -5819,7 +5819,7 @@ const ko = (e) => {
|
|
|
5819
5819
|
},
|
|
5820
5820
|
children: [
|
|
5821
5821
|
/* @__PURE__ */ a("div", { className: "sass-com-ndb1-numberTag", children: n + 1 }),
|
|
5822
|
-
s.main.title.home && /* @__PURE__ */ a(
|
|
5822
|
+
s.main.title.home && /* @__PURE__ */ a(be, { preview: s.preview, priorityHigh: e.priorityHigh })
|
|
5823
5823
|
]
|
|
5824
5824
|
}
|
|
5825
5825
|
),
|
|
@@ -7001,10 +7001,10 @@ const ko = (e) => {
|
|
|
7001
7001
|
"path",
|
|
7002
7002
|
{
|
|
7003
7003
|
fill: "currentColor",
|
|
7004
|
-
d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6
|
|
7005
|
-
c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1
|
|
7006
|
-
c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5
|
|
7007
|
-
v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1
|
|
7004
|
+
d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6
|
|
7005
|
+
c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1
|
|
7006
|
+
c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5
|
|
7007
|
+
v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1
|
|
7008
7008
|
C25.9,18.2,25.9,18.2,25.7,18.2L25.7,18.2z`
|
|
7009
7009
|
}
|
|
7010
7010
|
) })
|
|
@@ -7015,7 +7015,35 @@ const ko = (e) => {
|
|
|
7015
7015
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ a("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ a("path", { d: "M25.3 6.5H15.3C10.7 6.5 7 10.2 7 14.8V24.8C7 29.4 10.7 33.1 15.3 33.1H25.3C29.9 33.1 33.6 29.4 33.6 24.8V14.8C33.6 10.2 29.9 6.5 25.3 6.5ZM31.1 24.6C31.1 27.8 28.5 30.4 25.3 30.4H15.3C12.1 30.4 9.5 27.8 9.5 24.6V14.6C9.5 11.4 12.1 8.8 15.3 8.8H25.3C28.5 8.8 31.1 11.4 31.1 14.6V24.6ZM20.4 13.1C16.8 13.1 13.8 16.1 13.8 19.7C13.8 23.3 16.8 26.3 20.4 26.3C24 26.3 27 23.3 27 19.7C27 16.1 24.1 13.1 20.5 13.1H20.4ZM20.4 23.8C18.1 23.8 16.3 22 16.3 19.7C16.3 17.4 18.1 15.6 20.4 15.6C22.7 15.6 24.5 17.4 24.5 19.7C24.6 21.9 22.8 23.7 20.6 23.8H20.4ZM27.5 11.7C28 11.7 28.4 12.1 28.4 12.6C28.4 13.1 28 13.5 27.5 13.5C27 13.5 26.6 13.1 26.6 12.6C26.6 12.1 27 11.7 27.5 11.7Z", fill: "currentColor" }) });
|
|
7016
7016
|
}, _o = (e) => {
|
|
7017
7017
|
const { PUBLIC_ENV: t } = _(), s = oe("/podcast.svg");
|
|
7018
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a(
|
|
7018
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a(
|
|
7019
|
+
"img",
|
|
7020
|
+
{
|
|
7021
|
+
fetchPriority: "low",
|
|
7022
|
+
loading: "lazy",
|
|
7023
|
+
src: s,
|
|
7024
|
+
alt: "",
|
|
7025
|
+
...e,
|
|
7026
|
+
width: 23,
|
|
7027
|
+
height: 23
|
|
7028
|
+
}
|
|
7029
|
+
) : /* @__PURE__ */ a(
|
|
7030
|
+
"svg",
|
|
7031
|
+
{
|
|
7032
|
+
...e,
|
|
7033
|
+
width: "17",
|
|
7034
|
+
height: "21",
|
|
7035
|
+
viewBox: "0 -3 16 22",
|
|
7036
|
+
fill: "currentColor",
|
|
7037
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7038
|
+
children: /* @__PURE__ */ a(
|
|
7039
|
+
"path",
|
|
7040
|
+
{
|
|
7041
|
+
fill: "currentColor",
|
|
7042
|
+
d: "M7 10.7368C8.66 10.7368 10 9.53789 10 8.05263V2.68421C10 1.19895 8.66 0 7 0C5.34 0 4 1.19895 4 2.68421V8.05263C4 9.53789 5.34 10.7368 7 10.7368ZM6 2.68421C6 2.19211 6.45 1.78947 7 1.78947C7.55 1.78947 8 2.19211 8 2.68421V8.05263C8 8.54474 7.55 8.94737 7 8.94737C6.45 8.94737 6 8.54474 6 8.05263V2.68421ZM12 8.05263C12 10.5221 9.76 12.5263 7 12.5263C4.24 12.5263 2 10.5221 2 8.05263H0C0 11.2111 2.61 13.8058 6 14.2442V17H8V14.2442C11.39 13.8058 14 11.2111 14 8.05263H12Z"
|
|
7043
|
+
}
|
|
7044
|
+
)
|
|
7045
|
+
}
|
|
7046
|
+
);
|
|
7019
7047
|
}, Go = (e) => {
|
|
7020
7048
|
const { PUBLIC_ENV: t } = _(), s = oe("/telegram.svg");
|
|
7021
7049
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ a(
|
|
@@ -7039,7 +7067,18 @@ const ko = (e) => {
|
|
|
7039
7067
|
);
|
|
7040
7068
|
}, jo = (e) => {
|
|
7041
7069
|
const { PUBLIC_ENV: t } = _(), s = oe("/tiktok.svg");
|
|
7042
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a(
|
|
7070
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a(
|
|
7071
|
+
"img",
|
|
7072
|
+
{
|
|
7073
|
+
fetchPriority: "low",
|
|
7074
|
+
loading: "lazy",
|
|
7075
|
+
width: 23,
|
|
7076
|
+
height: 23,
|
|
7077
|
+
src: s,
|
|
7078
|
+
alt: "",
|
|
7079
|
+
...e
|
|
7080
|
+
}
|
|
7081
|
+
) : /* @__PURE__ */ a(
|
|
7043
7082
|
"svg",
|
|
7044
7083
|
{
|
|
7045
7084
|
version: "1.1",
|
|
@@ -7057,13 +7096,13 @@ const ko = (e) => {
|
|
|
7057
7096
|
"path",
|
|
7058
7097
|
{
|
|
7059
7098
|
fill: "currentColor",
|
|
7060
|
-
d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4
|
|
7061
|
-
c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8
|
|
7062
|
-
c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9
|
|
7063
|
-
c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6
|
|
7064
|
-
c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1
|
|
7065
|
-
c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3
|
|
7066
|
-
c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4
|
|
7099
|
+
d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4
|
|
7100
|
+
c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8
|
|
7101
|
+
c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9
|
|
7102
|
+
c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6
|
|
7103
|
+
c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1
|
|
7104
|
+
c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3
|
|
7105
|
+
c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4
|
|
7067
7106
|
C14,21.8,13,22,12,21.8c-1.8-0.4-3-2-2.7-3.9c0.3-1.7,1.8-2.9,3.6-2.7v-1.9C12.9,13.4,12.8,13.4,12.7,13.4z`
|
|
7068
7107
|
}
|
|
7069
7108
|
) })
|
|
@@ -7089,13 +7128,13 @@ const ko = (e) => {
|
|
|
7089
7128
|
"path",
|
|
7090
7129
|
{
|
|
7091
7130
|
fill: "currentColor",
|
|
7092
|
-
d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3
|
|
7093
|
-
c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2
|
|
7094
|
-
l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5
|
|
7095
|
-
C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9
|
|
7096
|
-
c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4
|
|
7097
|
-
c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0
|
|
7098
|
-
c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5
|
|
7131
|
+
d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3
|
|
7132
|
+
c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2
|
|
7133
|
+
l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5
|
|
7134
|
+
C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9
|
|
7135
|
+
c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4
|
|
7136
|
+
c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0
|
|
7137
|
+
c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5
|
|
7099
7138
|
c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C19.7,17.1,19.6,17,19.4,16.9`
|
|
7100
7139
|
}
|
|
7101
7140
|
) }) })
|
|
@@ -7125,9 +7164,9 @@ const ko = (e) => {
|
|
|
7125
7164
|
"path",
|
|
7126
7165
|
{
|
|
7127
7166
|
fill: "currentColor",
|
|
7128
|
-
d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9
|
|
7129
|
-
c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4
|
|
7130
|
-
c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
|
|
7167
|
+
d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9
|
|
7168
|
+
c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4
|
|
7169
|
+
c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
|
|
7131
7170
|
c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`
|
|
7132
7171
|
}
|
|
7133
7172
|
),
|
|
@@ -7135,7 +7174,7 @@ const ko = (e) => {
|
|
|
7135
7174
|
]
|
|
7136
7175
|
}
|
|
7137
7176
|
);
|
|
7138
|
-
}, nu = ["telegram"],
|
|
7177
|
+
}, nu = ["telegram"], Us = {
|
|
7139
7178
|
facebook: (e) => /* @__PURE__ */ a(Mt, { ...e }),
|
|
7140
7179
|
instagram: (e) => /* @__PURE__ */ a(Dt, { ...e }),
|
|
7141
7180
|
whatsapp: (e) => /* @__PURE__ */ a(Qo, { ...e }),
|
|
@@ -7167,8 +7206,8 @@ const ko = (e) => {
|
|
|
7167
7206
|
"aria-label": s[o].title + " link",
|
|
7168
7207
|
className: "su-flex-center sass-com-ft-linkSocialNetwoks",
|
|
7169
7208
|
href: s[o].url,
|
|
7170
|
-
children:
|
|
7171
|
-
className: `${
|
|
7209
|
+
children: Us[o]({
|
|
7210
|
+
className: `${`sass-com-ft-social${o.charAt(0).toUpperCase() + o.slice(1)}`}`
|
|
7172
7211
|
})
|
|
7173
7212
|
},
|
|
7174
7213
|
o
|
|
@@ -7326,7 +7365,7 @@ const ko = (e) => {
|
|
|
7326
7365
|
)
|
|
7327
7366
|
}
|
|
7328
7367
|
);
|
|
7329
|
-
},
|
|
7368
|
+
}, vn = (e) => /* @__PURE__ */ a(
|
|
7330
7369
|
"svg",
|
|
7331
7370
|
{
|
|
7332
7371
|
width: "26",
|
|
@@ -7419,13 +7458,13 @@ function Fo({ noteShare: e }) {
|
|
|
7419
7458
|
type: "button",
|
|
7420
7459
|
"aria-label": "share",
|
|
7421
7460
|
className: ["sass-com-ja3-clipboardButton", "sharebtn-id"].join(" "),
|
|
7422
|
-
children: /* @__PURE__ */ a(
|
|
7461
|
+
children: /* @__PURE__ */ a(vn, {})
|
|
7423
7462
|
}
|
|
7424
7463
|
)
|
|
7425
7464
|
] }) : null;
|
|
7426
7465
|
}
|
|
7427
7466
|
const iu = (e) => {
|
|
7428
|
-
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${
|
|
7467
|
+
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Ue(
|
|
7429
7468
|
e.video.info.date.created
|
|
7430
7469
|
)}` : e?.video.main.author;
|
|
7431
7470
|
return /* @__PURE__ */ a("div", { className: "sass-com-bv3-content", children: /* @__PURE__ */ a(Cs, { children: /* @__PURE__ */ p("div", { className: "sass-com-bv3-videoContent", children: [
|
|
@@ -7456,7 +7495,7 @@ const iu = (e) => {
|
|
|
7456
7495
|
}
|
|
7457
7496
|
),
|
|
7458
7497
|
/* @__PURE__ */ p("div", { className: "sass-com-bv3-articleSection", children: [
|
|
7459
|
-
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children:
|
|
7498
|
+
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children: xe(e.video.main.description) }),
|
|
7460
7499
|
/* @__PURE__ */ a("p", { className: "sass-com-bv3-correspondent", children: t() })
|
|
7461
7500
|
] })
|
|
7462
7501
|
] }) }) });
|
|
@@ -7533,7 +7572,7 @@ const iu = (e) => {
|
|
|
7533
7572
|
href: n?.link?.url,
|
|
7534
7573
|
target: n?.link?.target,
|
|
7535
7574
|
children: /* @__PURE__ */ a(
|
|
7536
|
-
|
|
7575
|
+
be,
|
|
7537
7576
|
{
|
|
7538
7577
|
preview: r,
|
|
7539
7578
|
isVideo: o,
|
|
@@ -7600,7 +7639,7 @@ const iu = (e) => {
|
|
|
7600
7639
|
title: n?.title?.section,
|
|
7601
7640
|
href: s.link.url,
|
|
7602
7641
|
target: s.link.target,
|
|
7603
|
-
children: /* @__PURE__ */ a(
|
|
7642
|
+
children: /* @__PURE__ */ a(be, { preview: e.preview, isVideo: t })
|
|
7604
7643
|
}
|
|
7605
7644
|
),
|
|
7606
7645
|
/* @__PURE__ */ p(
|
|
@@ -7666,11 +7705,11 @@ const iu = (e) => {
|
|
|
7666
7705
|
] }), uu = (e) => /* @__PURE__ */ p("div", { className: "sass-com-cta-content", children: [
|
|
7667
7706
|
/* @__PURE__ */ a("label", { className: "sass-com-cta-label", children: e.label }),
|
|
7668
7707
|
/* @__PURE__ */ a("textarea", { className: "sass-com-cta-input", ...e })
|
|
7669
|
-
] }),
|
|
7708
|
+
] }), bn = (e) => {
|
|
7670
7709
|
let t = "";
|
|
7671
|
-
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__ */ a("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ a(
|
|
7710
|
+
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__ */ a("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ a(be, { preview: e.preview, isLarge: !0, priorityHigh: !0, figCaption: t }) });
|
|
7672
7711
|
}, zo = (e) => /* @__PURE__ */ a(J, { children: /* @__PURE__ */ p("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
|
|
7673
|
-
/* @__PURE__ */ a(
|
|
7712
|
+
/* @__PURE__ */ a(bn, { preview: e.preview }),
|
|
7674
7713
|
/* @__PURE__ */ p("div", { className: "sass-com-lbh-textBox", children: [
|
|
7675
7714
|
/* @__PURE__ */ p("div", { className: "sass-com-lbh-contentBox", children: [
|
|
7676
7715
|
e?.info?.section && /* @__PURE__ */ a(
|
|
@@ -7726,8 +7765,8 @@ const iu = (e) => {
|
|
|
7726
7765
|
strokeLinecap: "round",
|
|
7727
7766
|
strokeLinejoin: "round",
|
|
7728
7767
|
strokeMiterlimit: "10",
|
|
7729
|
-
d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
|
|
7730
|
-
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
|
|
7768
|
+
d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
|
|
7769
|
+
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
|
|
7731
7770
|
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
|
|
7732
7771
|
}
|
|
7733
7772
|
)
|
|
@@ -7739,7 +7778,7 @@ const iu = (e) => {
|
|
|
7739
7778
|
const t = e.trim();
|
|
7740
7779
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
7741
7780
|
}, Yo = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), mu = async (e) => {
|
|
7742
|
-
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), h = ht(t?.addtional?.USER_USERIG ?? ""), g = ht(t?.addtional?.USER_USERTWT ?? ""), f = ht(t?.addtional?.USER_USERLIN ?? ""), A = () => !u || !c || c.trim() === "" ? !1 : Yo(c), w = (
|
|
7781
|
+
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), h = ht(t?.addtional?.USER_USERIG ?? ""), g = ht(t?.addtional?.USER_USERTWT ?? ""), f = ht(t?.addtional?.USER_USERLIN ?? ""), A = () => !u || !c || c.trim() === "" ? !1 : Yo(c), w = (b) => `mailto:${b.trim()}`;
|
|
7743
7782
|
return /* @__PURE__ */ a(
|
|
7744
7783
|
"section",
|
|
7745
7784
|
{
|
|
@@ -7933,7 +7972,7 @@ const iu = (e) => {
|
|
|
7933
7972
|
...e.main,
|
|
7934
7973
|
title: {
|
|
7935
7974
|
...e.main.title,
|
|
7936
|
-
article:
|
|
7975
|
+
article: xe(e.main.title.article, 60)
|
|
7937
7976
|
}
|
|
7938
7977
|
}
|
|
7939
7978
|
};
|
|
@@ -8085,7 +8124,7 @@ const iu = (e) => {
|
|
|
8085
8124
|
e.title && /* @__PURE__ */ a("hr", { className: ["sass-com-sec-bottomLine", e.className ?? ""].join(" ") }),
|
|
8086
8125
|
/* @__PURE__ */ a("div", { className: "sass-com-sec-childrenContent", ref: t, children: e.children })
|
|
8087
8126
|
] });
|
|
8088
|
-
}),
|
|
8127
|
+
}), xs = (e) => /* @__PURE__ */ a(
|
|
8089
8128
|
"svg",
|
|
8090
8129
|
{
|
|
8091
8130
|
width: "24",
|
|
@@ -8104,7 +8143,7 @@ const iu = (e) => {
|
|
|
8104
8143
|
}
|
|
8105
8144
|
)
|
|
8106
8145
|
}
|
|
8107
|
-
),
|
|
8146
|
+
), Ut = (e) => /* @__PURE__ */ a(
|
|
8108
8147
|
"svg",
|
|
8109
8148
|
{
|
|
8110
8149
|
width: "12",
|
|
@@ -8133,7 +8172,7 @@ const iu = (e) => {
|
|
|
8133
8172
|
placeholder: t
|
|
8134
8173
|
}
|
|
8135
8174
|
),
|
|
8136
|
-
/* @__PURE__ */ a("button", { type: "submit", "aria-label": "Buscar from sidebar", className: "sass-com-sb-searchSubmit", children: /* @__PURE__ */ a(
|
|
8175
|
+
/* @__PURE__ */ a("button", { type: "submit", "aria-label": "Buscar from sidebar", className: "sass-com-sb-searchSubmit", children: /* @__PURE__ */ a(xs, { color: "var(--search-input-icons)" }) })
|
|
8137
8176
|
] }) }), Xo = ({ item: e, index: t }) => {
|
|
8138
8177
|
const s = `accordion_${t}`, n = Array.isArray(e.subitem);
|
|
8139
8178
|
return /* @__PURE__ */ p("div", { className: "sass-com-sb-accordionStyled", children: [
|
|
@@ -8149,7 +8188,7 @@ const iu = (e) => {
|
|
|
8149
8188
|
children: e.description
|
|
8150
8189
|
}
|
|
8151
8190
|
) : /* @__PURE__ */ a("div", { children: e.description }),
|
|
8152
|
-
/* @__PURE__ */ a(
|
|
8191
|
+
/* @__PURE__ */ a(Ut, { width: 13, height: 13, fill: "var(--side-bar-arrow-color)" })
|
|
8153
8192
|
] }) : /* @__PURE__ */ a(
|
|
8154
8193
|
O,
|
|
8155
8194
|
{
|
|
@@ -8189,7 +8228,7 @@ const iu = (e) => {
|
|
|
8189
8228
|
rel: "noreferrer",
|
|
8190
8229
|
"aria-label": `${e[s].title} link`,
|
|
8191
8230
|
className: "sass-com-sb-linkSocialNetwork",
|
|
8192
|
-
children:
|
|
8231
|
+
children: Us[s]({ className: "sass-com-sb-icon" })
|
|
8193
8232
|
},
|
|
8194
8233
|
s
|
|
8195
8234
|
) : null
|
|
@@ -8320,7 +8359,7 @@ const iu = (e) => {
|
|
|
8320
8359
|
"aria-label": n[o].title + " link",
|
|
8321
8360
|
className: "sass-com-htape-linkSocialNetwork",
|
|
8322
8361
|
href: n[o].url,
|
|
8323
|
-
children:
|
|
8362
|
+
children: Us[o]({
|
|
8324
8363
|
className: [
|
|
8325
8364
|
"sass-com-htape-icon",
|
|
8326
8365
|
`sass-com-htape-${String(o)}`
|
|
@@ -8402,7 +8441,7 @@ const iu = (e) => {
|
|
|
8402
8441
|
href: t.data[0]?.info.link.url,
|
|
8403
8442
|
target: t.data[0]?.info.link.target,
|
|
8404
8443
|
title: t.data[0]?.main.title.home,
|
|
8405
|
-
children:
|
|
8444
|
+
children: xe(t.data[0]?.main.title.home ?? "", 120)
|
|
8406
8445
|
}
|
|
8407
8446
|
)
|
|
8408
8447
|
] }),
|
|
@@ -8424,7 +8463,7 @@ const iu = (e) => {
|
|
|
8424
8463
|
"aria-label": e.searchKeyWord,
|
|
8425
8464
|
className: "sass-com-h1sk-buttonSectionSearch search-button-icon",
|
|
8426
8465
|
style: { display: "flex" },
|
|
8427
|
-
children: /* @__PURE__ */ a(
|
|
8466
|
+
children: /* @__PURE__ */ a(xs, { width: 28, height: 28, color: "currentColor" })
|
|
8428
8467
|
}
|
|
8429
8468
|
),
|
|
8430
8469
|
e.rightZone
|
|
@@ -8453,12 +8492,12 @@ const iu = (e) => {
|
|
|
8453
8492
|
target: s.target,
|
|
8454
8493
|
children: [
|
|
8455
8494
|
s.description,
|
|
8456
|
-
Array.isArray(s.subitem) && /* @__PURE__ */ a(
|
|
8495
|
+
Array.isArray(s.subitem) && /* @__PURE__ */ a(Ut, {})
|
|
8457
8496
|
]
|
|
8458
8497
|
}
|
|
8459
8498
|
) : /* @__PURE__ */ p("span", { "aria-label": s.description, className: "sass-com-mopt-linkStyled", children: [
|
|
8460
8499
|
s.description,
|
|
8461
|
-
Array.isArray(s.subitem) && /* @__PURE__ */ a(
|
|
8500
|
+
Array.isArray(s.subitem) && /* @__PURE__ */ a(Ut, {})
|
|
8462
8501
|
] }),
|
|
8463
8502
|
Array.isArray(s.subitem) && /* @__PURE__ */ a("ul", { className: "sass-com-mopt-ulContent", children: /* @__PURE__ */ a("div", { className: "sass-com-mopt-contentModal", children: s.subitem.map((r, i) => /* @__PURE__ */ a("li", { className: "sass-com-mopt-li", children: /* @__PURE__ */ a(
|
|
8464
8503
|
O,
|
|
@@ -8527,7 +8566,7 @@ const iu = (e) => {
|
|
|
8527
8566
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
8528
8567
|
className: "sass-com-h1st-buttonSectionSearch",
|
|
8529
8568
|
"aria-label": e.searchKeyWord,
|
|
8530
|
-
children: /* @__PURE__ */ a(
|
|
8569
|
+
children: /* @__PURE__ */ a(xs, { width: 28, height: 28, color: "currentColor" })
|
|
8531
8570
|
}
|
|
8532
8571
|
),
|
|
8533
8572
|
e.rightZone
|
|
@@ -8541,7 +8580,7 @@ const iu = (e) => {
|
|
|
8541
8580
|
href: s.data[0]?.info.link.url,
|
|
8542
8581
|
target: s.data[0]?.info.link.target,
|
|
8543
8582
|
title: s.data[0]?.main.title.home,
|
|
8544
|
-
children:
|
|
8583
|
+
children: xe(s.data[0]?.main.title.home ?? "", 120)
|
|
8545
8584
|
}
|
|
8546
8585
|
)
|
|
8547
8586
|
] }) : /* @__PURE__ */ a("div", { className: "sass-com-h1st-line" }),
|
|
@@ -8956,27 +8995,27 @@ function Au(e) {
|
|
|
8956
8995
|
isTitle: h,
|
|
8957
8996
|
paths: g
|
|
8958
8997
|
} = e, { CONFIG_videoClipUrl: f } = _(), A = i?.homepreview ?? "imagen", w = () => {
|
|
8959
|
-
const
|
|
8960
|
-
return
|
|
8961
|
-
},
|
|
8998
|
+
const v = e.videos?.[0]?.clip;
|
|
8999
|
+
return v ? /* @__PURE__ */ a("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ a("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ a("source", { src: `${f}${v}`, type: "video/mp4" }) }) }) : null;
|
|
9000
|
+
}, b = () => {
|
|
8962
9001
|
if (!e.videos) return null;
|
|
8963
|
-
const
|
|
8964
|
-
return
|
|
9002
|
+
const v = e.videos?.[0]?.code;
|
|
9003
|
+
return v ? /* @__PURE__ */ a(
|
|
8965
9004
|
"iframe",
|
|
8966
9005
|
{
|
|
8967
9006
|
className: "homeCardVideoIframeContainer",
|
|
8968
|
-
src: `https://www.youtube.com/embed/${
|
|
9007
|
+
src: `https://www.youtube.com/embed/${v}`,
|
|
8969
9008
|
frameBorder: "0",
|
|
8970
9009
|
allowFullScreen: !0
|
|
8971
9010
|
}
|
|
8972
9011
|
) : null;
|
|
8973
9012
|
}, E = () => {
|
|
8974
9013
|
if (!e.videos) return null;
|
|
8975
|
-
const
|
|
9014
|
+
const v = (e.videos ?? []).find(
|
|
8976
9015
|
(H) => H.type === "video-embedded"
|
|
8977
9016
|
);
|
|
8978
|
-
if (!
|
|
8979
|
-
const R = /src\s*=\s*"([^"]+)"/.exec(
|
|
9017
|
+
if (!v?.code) return null;
|
|
9018
|
+
const R = /src\s*=\s*"([^"]+)"/.exec(v.code), Q = R ? R[1] : null;
|
|
8980
9019
|
if (!Q) return null;
|
|
8981
9020
|
const W = r.original?.url ?? r.sizes?.[0]?.url ?? "", j = st() ?? "", L = W.startsWith("http") || W.includes(j) || j === "" ? W : j + W;
|
|
8982
9021
|
return /* @__PURE__ */ a(
|
|
@@ -9012,7 +9051,7 @@ function Au(e) {
|
|
|
9012
9051
|
href: n?.link?.url,
|
|
9013
9052
|
target: n?.link?.target,
|
|
9014
9053
|
children: /* @__PURE__ */ a(
|
|
9015
|
-
|
|
9054
|
+
be,
|
|
9016
9055
|
{
|
|
9017
9056
|
preview: R,
|
|
9018
9057
|
isVideo: c,
|
|
@@ -9033,7 +9072,7 @@ function Au(e) {
|
|
|
9033
9072
|
S = /* @__PURE__ */ a(N, {});
|
|
9034
9073
|
break;
|
|
9035
9074
|
case "videoYouTube":
|
|
9036
|
-
S = /* @__PURE__ */ a(
|
|
9075
|
+
S = /* @__PURE__ */ a(b, {});
|
|
9037
9076
|
break;
|
|
9038
9077
|
case "videoEmbedded":
|
|
9039
9078
|
S = /* @__PURE__ */ a(E, {});
|
|
@@ -9060,7 +9099,7 @@ function Au(e) {
|
|
|
9060
9099
|
href: n?.link?.url,
|
|
9061
9100
|
target: n?.link?.target,
|
|
9062
9101
|
children: /* @__PURE__ */ a(
|
|
9063
|
-
|
|
9102
|
+
be,
|
|
9064
9103
|
{
|
|
9065
9104
|
preview: r,
|
|
9066
9105
|
isVideo: c,
|
|
@@ -9103,13 +9142,13 @@ function Au(e) {
|
|
|
9103
9142
|
const We = (e) => {
|
|
9104
9143
|
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = _(), n = () => {
|
|
9105
9144
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
9106
|
-
return `${e?.authors[0]?.fullname} - ${
|
|
9145
|
+
return `${e?.authors[0]?.fullname} - ${Ue(
|
|
9107
9146
|
e.info?.date?.modified
|
|
9108
9147
|
)}`;
|
|
9109
9148
|
if (e.config?.showauthor)
|
|
9110
9149
|
return e?.authors[0]?.fullname;
|
|
9111
9150
|
if (e?.config?.showtime)
|
|
9112
|
-
return
|
|
9151
|
+
return Ue(e.info?.date?.modified);
|
|
9113
9152
|
}, r = () => {
|
|
9114
9153
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
9115
9154
|
const o = e.keywords.tags[0], c = o.name;
|
|
@@ -9159,7 +9198,7 @@ const We = (e) => {
|
|
|
9159
9198
|
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
9160
9199
|
},
|
|
9161
9200
|
children: /* @__PURE__ */ a(
|
|
9162
|
-
|
|
9201
|
+
be,
|
|
9163
9202
|
{
|
|
9164
9203
|
preview: e.preview,
|
|
9165
9204
|
isLarge: !0,
|
|
@@ -9240,67 +9279,65 @@ const We = (e) => {
|
|
|
9240
9279
|
itemReverseOrder: c,
|
|
9241
9280
|
imageSize: u,
|
|
9242
9281
|
showSuper: l,
|
|
9243
|
-
textPosition: d
|
|
9282
|
+
textPosition: d,
|
|
9283
|
+
heightImageOverwrite: m,
|
|
9284
|
+
heightImageOverwriteMobile: h
|
|
9244
9285
|
} = e;
|
|
9245
|
-
return /* @__PURE__ */ p(
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
...e.customSectionCardStyles
|
|
9255
|
-
},
|
|
9256
|
-
children: /* @__PURE__ */ a(
|
|
9257
|
-
We,
|
|
9258
|
-
{
|
|
9259
|
-
main: t,
|
|
9260
|
-
authors: s,
|
|
9261
|
-
info: n,
|
|
9262
|
-
preview: r,
|
|
9263
|
-
isVideo: i,
|
|
9264
|
-
config: o,
|
|
9265
|
-
paths: e.paths,
|
|
9266
|
-
textPosition: d
|
|
9267
|
-
}
|
|
9268
|
-
)
|
|
9269
|
-
}
|
|
9270
|
-
) : /* @__PURE__ */ a(
|
|
9271
|
-
ke,
|
|
9286
|
+
return /* @__PURE__ */ p("section", { className: "su-grid su-w-full su-gap-8 sass-bmd-dd-content", children: [
|
|
9287
|
+
l ? /* @__PURE__ */ a(
|
|
9288
|
+
"section",
|
|
9289
|
+
{
|
|
9290
|
+
style: {
|
|
9291
|
+
...e.customSectionCardStyles
|
|
9292
|
+
},
|
|
9293
|
+
children: /* @__PURE__ */ a(
|
|
9294
|
+
We,
|
|
9272
9295
|
{
|
|
9273
|
-
...e,
|
|
9274
9296
|
main: t,
|
|
9275
9297
|
authors: s,
|
|
9276
9298
|
info: n,
|
|
9277
9299
|
preview: r,
|
|
9278
9300
|
isVideo: i,
|
|
9279
9301
|
config: o,
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
we,
|
|
9285
|
-
{
|
|
9286
|
-
banners: e.banners,
|
|
9287
|
-
name: "main_block_" + (e.rightOnlyBanner ? 1 : 2)
|
|
9288
|
-
}
|
|
9289
|
-
),
|
|
9290
|
-
!e.rightOnlyBanner && /* @__PURE__ */ a(
|
|
9291
|
-
gn,
|
|
9292
|
-
{
|
|
9293
|
-
block: e.block,
|
|
9294
|
-
itemReverseOrder: c,
|
|
9295
|
-
priorityHigh: !0,
|
|
9296
|
-
imageSize: u,
|
|
9297
|
-
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
9298
|
-
paths: e.paths
|
|
9302
|
+
paths: e.paths,
|
|
9303
|
+
textPosition: d,
|
|
9304
|
+
heightImageOverwrite: m,
|
|
9305
|
+
heightImageOverwriteMobile: h
|
|
9299
9306
|
}
|
|
9300
9307
|
)
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9308
|
+
}
|
|
9309
|
+
) : /* @__PURE__ */ a(
|
|
9310
|
+
ke,
|
|
9311
|
+
{
|
|
9312
|
+
...e,
|
|
9313
|
+
main: t,
|
|
9314
|
+
authors: s,
|
|
9315
|
+
info: n,
|
|
9316
|
+
preview: r,
|
|
9317
|
+
isVideo: i,
|
|
9318
|
+
config: o,
|
|
9319
|
+
priorityHigh: !0
|
|
9320
|
+
}
|
|
9321
|
+
),
|
|
9322
|
+
e.banners && /* @__PURE__ */ a(
|
|
9323
|
+
we,
|
|
9324
|
+
{
|
|
9325
|
+
banners: e.banners,
|
|
9326
|
+
name: "main_block_" + (e.rightOnlyBanner ? 1 : 2)
|
|
9327
|
+
}
|
|
9328
|
+
),
|
|
9329
|
+
!e.rightOnlyBanner && /* @__PURE__ */ a(
|
|
9330
|
+
gn,
|
|
9331
|
+
{
|
|
9332
|
+
block: e.block,
|
|
9333
|
+
itemReverseOrder: c,
|
|
9334
|
+
priorityHigh: !0,
|
|
9335
|
+
imageSize: u,
|
|
9336
|
+
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
9337
|
+
paths: e.paths
|
|
9338
|
+
}
|
|
9339
|
+
)
|
|
9340
|
+
] });
|
|
9304
9341
|
}, cc = ({
|
|
9305
9342
|
content: e,
|
|
9306
9343
|
customLargeSection: t,
|
|
@@ -9450,7 +9487,7 @@ const We = (e) => {
|
|
|
9450
9487
|
className: "sass-bd-dn-headerSectionLink",
|
|
9451
9488
|
href: i?.info?.link?.url,
|
|
9452
9489
|
target: i?.info?.link?.target,
|
|
9453
|
-
children: /* @__PURE__ */ a(
|
|
9490
|
+
children: /* @__PURE__ */ a(be, { preview: i.preview })
|
|
9454
9491
|
}
|
|
9455
9492
|
)
|
|
9456
9493
|
]
|
|
@@ -9487,7 +9524,7 @@ const We = (e) => {
|
|
|
9487
9524
|
)
|
|
9488
9525
|
] });
|
|
9489
9526
|
}, Tt = async (e) => {
|
|
9490
|
-
const { data: t, autorIcon: s } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = _(), r = s, i = () => t?.config?.showtime ? `${
|
|
9527
|
+
const { data: t, autorIcon: s } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = _(), r = s, i = () => t?.config?.showtime ? `${Ue(t.info?.date?.modified)}` : "", o = /* @__PURE__ */ p("div", { className: "sass-com-oc2-autorContent", children: [
|
|
9491
9528
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
9492
9529
|
"img",
|
|
9493
9530
|
{
|
|
@@ -9498,7 +9535,7 @@ const We = (e) => {
|
|
|
9498
9535
|
alt: t?.authors[0]?.fullname
|
|
9499
9536
|
}
|
|
9500
9537
|
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: /* @__PURE__ */ a(r, {}) }),
|
|
9501
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children:
|
|
9538
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children: xe(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
9502
9539
|
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children: i() })
|
|
9503
9540
|
] });
|
|
9504
9541
|
return /* @__PURE__ */ p("div", { className: "sass-com-oc2-content", children: [
|
|
@@ -9520,7 +9557,7 @@ const We = (e) => {
|
|
|
9520
9557
|
children: t?.main?.title?.home
|
|
9521
9558
|
}
|
|
9522
9559
|
),
|
|
9523
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children:
|
|
9560
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children: xe(t?.main?.subtitle?.striped || "") })
|
|
9524
9561
|
] })
|
|
9525
9562
|
] });
|
|
9526
9563
|
};
|
|
@@ -9584,7 +9621,7 @@ const wu = (e) => {
|
|
|
9584
9621
|
] })
|
|
9585
9622
|
}
|
|
9586
9623
|
) });
|
|
9587
|
-
},
|
|
9624
|
+
}, vu = (e) => {
|
|
9588
9625
|
const { showTitle: t = !0 } = e;
|
|
9589
9626
|
return /* @__PURE__ */ p("div", { className: "sass-bs-eb1-content", children: [
|
|
9590
9627
|
t && /* @__PURE__ */ a("p", { className: "sass-bs-eb1-title", children: "Editorial" }),
|
|
@@ -9603,7 +9640,7 @@ const wu = (e) => {
|
|
|
9603
9640
|
}
|
|
9604
9641
|
)
|
|
9605
9642
|
] });
|
|
9606
|
-
},
|
|
9643
|
+
}, bu = (e) => {
|
|
9607
9644
|
const { news: t } = e;
|
|
9608
9645
|
return Array.isArray(t) && /* @__PURE__ */ p("div", { className: "sass-bs-m2c-content", children: [
|
|
9609
9646
|
/* @__PURE__ */ p("div", { className: "sass-bs-m2c-newsContent", children: [
|
|
@@ -9794,7 +9831,7 @@ const wu = (e) => {
|
|
|
9794
9831
|
target: r?.info?.link.target,
|
|
9795
9832
|
"aria-label": "Video",
|
|
9796
9833
|
children: /* @__PURE__ */ a(
|
|
9797
|
-
|
|
9834
|
+
be,
|
|
9798
9835
|
{
|
|
9799
9836
|
preview: {
|
|
9800
9837
|
sizes: r?.main?.image.sizes,
|
|
@@ -9849,7 +9886,7 @@ const wu = (e) => {
|
|
|
9849
9886
|
target: e?.info?.link?.target,
|
|
9850
9887
|
title: e.main?.title?.section,
|
|
9851
9888
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
9852
|
-
children: /* @__PURE__ */ a(
|
|
9889
|
+
children: /* @__PURE__ */ a(be, { preview: e.preview })
|
|
9853
9890
|
}
|
|
9854
9891
|
),
|
|
9855
9892
|
/* @__PURE__ */ p("div", { className: "sass-com-sc6-textContent", children: [
|
|
@@ -9862,7 +9899,7 @@ const wu = (e) => {
|
|
|
9862
9899
|
children: (t ? e?.main?.title?.section : e?.info?.section?.name) ?? ""
|
|
9863
9900
|
}
|
|
9864
9901
|
),
|
|
9865
|
-
/* @__PURE__ */ a("p", { className: "sass-com-sc6-dateText", children:
|
|
9902
|
+
/* @__PURE__ */ a("p", { className: "sass-com-sc6-dateText", children: Ue(e?.info?.date?.modified) })
|
|
9866
9903
|
] })
|
|
9867
9904
|
]
|
|
9868
9905
|
}
|
|
@@ -9906,7 +9943,7 @@ const wu = (e) => {
|
|
|
9906
9943
|
})
|
|
9907
9944
|
}
|
|
9908
9945
|
) });
|
|
9909
|
-
},
|
|
9946
|
+
}, vc = (e) => {
|
|
9910
9947
|
const { content: t, title: s, slot_id: n } = e, r = e.slot_id && e.slot_id !== "Nota_1";
|
|
9911
9948
|
return t && t.length !== 0 && /* @__PURE__ */ a(he, { title: s, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
9912
9949
|
je,
|
|
@@ -9941,7 +9978,7 @@ const wu = (e) => {
|
|
|
9941
9978
|
})
|
|
9942
9979
|
}
|
|
9943
9980
|
) });
|
|
9944
|
-
},
|
|
9981
|
+
}, bc = async (e) => {
|
|
9945
9982
|
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = _(), { data: s } = e;
|
|
9946
9983
|
return /* @__PURE__ */ p("div", { className: "sass-com-opt1-content", children: [
|
|
9947
9984
|
Array.isArray(s.authors) && s?.authors[0]?.image ? /* @__PURE__ */ a(
|
|
@@ -9969,7 +10006,7 @@ const wu = (e) => {
|
|
|
9969
10006
|
className: "sass-com-opt1-linkStyled",
|
|
9970
10007
|
href: s?.info?.link?.url,
|
|
9971
10008
|
target: s?.info?.link?.target,
|
|
9972
|
-
children:
|
|
10009
|
+
children: xe(s?.main?.title?.home, 40)
|
|
9973
10010
|
}
|
|
9974
10011
|
) }),
|
|
9975
10012
|
/* @__PURE__ */ a("p", { className: "sass-com-opt1-comment", children: s?.main?.subtitle?.striped })
|
|
@@ -9996,7 +10033,7 @@ const wu = (e) => {
|
|
|
9996
10033
|
}
|
|
9997
10034
|
};
|
|
9998
10035
|
return /* @__PURE__ */ a(
|
|
9999
|
-
|
|
10036
|
+
bc,
|
|
10000
10037
|
{
|
|
10001
10038
|
autorIcon: e.autorIcon,
|
|
10002
10039
|
data: r,
|
|
@@ -10330,7 +10367,7 @@ const wu = (e) => {
|
|
|
10330
10367
|
[Me.videoEmbedded]: Sc,
|
|
10331
10368
|
[Me.videoYouTube]: Ec,
|
|
10332
10369
|
[Me.iframe]: Tc
|
|
10333
|
-
},
|
|
10370
|
+
}, Uc = ({ news: e, commonServices: t }) => {
|
|
10334
10371
|
const { config: s, info: n } = e, r = s.articlepreview, i = n.link.internal, o = r ? Ic[r] : null;
|
|
10335
10372
|
return o ? /* @__PURE__ */ a("div", { className: "sass-pg-nap-content", children: /* @__PURE__ */ a(
|
|
10336
10373
|
o,
|
|
@@ -10340,7 +10377,7 @@ const wu = (e) => {
|
|
|
10340
10377
|
commonServices: t
|
|
10341
10378
|
}
|
|
10342
10379
|
) }) : null;
|
|
10343
|
-
},
|
|
10380
|
+
}, xc = (e) => {
|
|
10344
10381
|
const t = e.option === "liveblogs";
|
|
10345
10382
|
return /* @__PURE__ */ p(J, { children: [
|
|
10346
10383
|
/* @__PURE__ */ a(() => {
|
|
@@ -10433,7 +10470,7 @@ const wu = (e) => {
|
|
|
10433
10470
|
}, {}),
|
|
10434
10471
|
/* @__PURE__ */ a(Ve, { banners: e.banners, index: 1 }),
|
|
10435
10472
|
!t && e.commonServices && /* @__PURE__ */ a(
|
|
10436
|
-
|
|
10473
|
+
Uc,
|
|
10437
10474
|
{
|
|
10438
10475
|
news: e.news[0],
|
|
10439
10476
|
commonServices: e.commonServices
|
|
@@ -10447,22 +10484,22 @@ const wu = (e) => {
|
|
|
10447
10484
|
for (const o of r) {
|
|
10448
10485
|
const c = o[1], u = o[2] ?? "";
|
|
10449
10486
|
let l;
|
|
10450
|
-
if (s.forEach((
|
|
10451
|
-
Array.isArray(
|
|
10487
|
+
if (s.forEach((v) => {
|
|
10488
|
+
Array.isArray(v) && !l && (l = v.find((I) => u.replaceAll("/", "|").includes(I?.info.link.internal || "")));
|
|
10452
10489
|
}), !l) {
|
|
10453
|
-
const
|
|
10490
|
+
const v = c.replace(
|
|
10454
10491
|
/class=["']([^"']*ck-related-news[^"']*)["']/,
|
|
10455
10492
|
'class="$1-empty"'
|
|
10456
10493
|
);
|
|
10457
|
-
i = i.replace(c,
|
|
10494
|
+
i = i.replace(c, v);
|
|
10458
10495
|
continue;
|
|
10459
10496
|
}
|
|
10460
10497
|
const d = l.preview?.sizes?.[0], m = d ? await ue(d.url) : "", h = l.info.section?.url ?? "#", g = l.info.section?.name ?? "Sección", f = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
10461
|
-
l.preview?.sizes?.map(async (
|
|
10462
|
-
const I = await ue(
|
|
10463
|
-
return
|
|
10498
|
+
l.preview?.sizes?.map(async (v) => {
|
|
10499
|
+
const I = await ue(v.url);
|
|
10500
|
+
return v.width < 200 ? `<source srcset="${I}" media="(width < 750px)"/>` : `<source srcset="${I}" media="(width >= 750px)"/>`;
|
|
10464
10501
|
}) || []
|
|
10465
|
-
)).reduce((
|
|
10502
|
+
)).reduce((v, I) => v += I, ""), b = c.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/), E = b ? b[0] : "", N = `
|
|
10466
10503
|
<span data-src="${u}">
|
|
10467
10504
|
<picture style='display: flex'>
|
|
10468
10505
|
${w}
|
|
@@ -10480,7 +10517,7 @@ const wu = (e) => {
|
|
|
10480
10517
|
}, Lc = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), Pc = (e) => {
|
|
10481
10518
|
const t = /\ssrc="\/(?!\/)(.*?)"/g;
|
|
10482
10519
|
return e.replace(t, ` src="${st()}/$1"`);
|
|
10483
|
-
},
|
|
10520
|
+
}, va = {
|
|
10484
10521
|
2: 1,
|
|
10485
10522
|
4: 2,
|
|
10486
10523
|
7: 3,
|
|
@@ -10512,7 +10549,7 @@ async function Oc(e, t) {
|
|
|
10512
10549
|
let A = "";
|
|
10513
10550
|
const w = u.match(
|
|
10514
10551
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10515
|
-
),
|
|
10552
|
+
), b = w && w[1] ? w[1].trim() : "";
|
|
10516
10553
|
f.info && f.info.type === "video-youtube" ? A = `<iframe
|
|
10517
10554
|
loading="lazy"
|
|
10518
10555
|
frameborder="0"
|
|
@@ -10528,7 +10565,7 @@ async function Oc(e, t) {
|
|
|
10528
10565
|
allowfullscreen
|
|
10529
10566
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10530
10567
|
src="${f.main?.code || ""}"></iframe>` : A = f.main?.code || "";
|
|
10531
|
-
const E =
|
|
10568
|
+
const E = b || f.main?.description || "";
|
|
10532
10569
|
m = `
|
|
10533
10570
|
<figure class="videoFigure">
|
|
10534
10571
|
${g && g.data && g.data.data ? `<script type="application/ld+json">${kt(
|
|
@@ -10599,7 +10636,7 @@ const Mc = async ({
|
|
|
10599
10636
|
)
|
|
10600
10637
|
] }),
|
|
10601
10638
|
/* @__PURE__ */ a("h2", { className: "sass-com-bnl-contentTitle", children: e[0]?.list.integrated ? (await c).title : `${(await c).index}. ${(await c).title}` }),
|
|
10602
|
-
(await c).image && /* @__PURE__ */ a(
|
|
10639
|
+
(await c).image && /* @__PURE__ */ a(be, { preview: (await c).image, isLarge: !0 }),
|
|
10603
10640
|
/* @__PURE__ */ a(
|
|
10604
10641
|
"div",
|
|
10605
10642
|
{
|
|
@@ -10623,11 +10660,11 @@ const Mc = async ({
|
|
|
10623
10660
|
}
|
|
10624
10661
|
) })
|
|
10625
10662
|
] }) }, u),
|
|
10626
|
-
|
|
10663
|
+
va[u] && /* @__PURE__ */ a(
|
|
10627
10664
|
we,
|
|
10628
10665
|
{
|
|
10629
10666
|
banners: s,
|
|
10630
|
-
name: "list_" +
|
|
10667
|
+
name: "list_" + va[u]
|
|
10631
10668
|
},
|
|
10632
10669
|
u
|
|
10633
10670
|
)
|
|
@@ -10788,7 +10825,7 @@ const _c = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10788
10825
|
visibleItems: 1,
|
|
10789
10826
|
pagination: !0,
|
|
10790
10827
|
cardGap: 0,
|
|
10791
|
-
children: i && i.map((o, c) => /* @__PURE__ */ a(
|
|
10828
|
+
children: i && i.map((o, c) => /* @__PURE__ */ a(be, { preview: o, priorityHigh: !0 }, c))
|
|
10792
10829
|
}
|
|
10793
10830
|
),
|
|
10794
10831
|
/* @__PURE__ */ a("div", { className: "sass-com-in2-description", children: i && i[0]?.description })
|
|
@@ -10961,7 +10998,7 @@ function zc({ noteShare: e }) {
|
|
|
10961
10998
|
type: "button",
|
|
10962
10999
|
"aria-label": "share",
|
|
10963
11000
|
className: ["sass-com-ja4-clipboardButton", "sharebtn-id"].join(" "),
|
|
10964
|
-
children: /* @__PURE__ */ a(
|
|
11001
|
+
children: /* @__PURE__ */ a(vn, {})
|
|
10965
11002
|
}
|
|
10966
11003
|
),
|
|
10967
11004
|
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */ p(O, { href: e?.googleProfile.url ?? "", className: "sass-com-ja4-socialActionLink sass-com-ja4-socialActionLinkGoogleMobile", "aria-label": "Follow on Google", children: [
|
|
@@ -11137,25 +11174,25 @@ const Wc = async (e) => {
|
|
|
11137
11174
|
const d = l[0], m = l[1] ?? "";
|
|
11138
11175
|
r.add(m);
|
|
11139
11176
|
const h = d.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), A = f ? decodeURIComponent(f[1]) : null;
|
|
11140
|
-
let w = 0,
|
|
11177
|
+
let w = 0, b = 0;
|
|
11141
11178
|
if (A) {
|
|
11142
11179
|
const I = A.match(/w:(\d+)/), R = A.match(/h:(\d+)/);
|
|
11143
|
-
w = I ? parseInt(I[1]) : 0,
|
|
11180
|
+
w = I ? parseInt(I[1]) : 0, b = R ? parseInt(R[1]) : 0;
|
|
11144
11181
|
}
|
|
11145
11182
|
const N = {
|
|
11146
11183
|
preview: {
|
|
11147
11184
|
sizes: [
|
|
11148
11185
|
{
|
|
11149
|
-
scale: A || `w:${w},h:${
|
|
11186
|
+
scale: A || `w:${w},h:${b},t:2`,
|
|
11150
11187
|
url: m,
|
|
11151
11188
|
width: w,
|
|
11152
|
-
height:
|
|
11189
|
+
height: b
|
|
11153
11190
|
}
|
|
11154
11191
|
],
|
|
11155
11192
|
original: {
|
|
11156
11193
|
url: m.split("?")[0],
|
|
11157
11194
|
width: w,
|
|
11158
|
-
height:
|
|
11195
|
+
height: b
|
|
11159
11196
|
},
|
|
11160
11197
|
copyright: !1,
|
|
11161
11198
|
description: g,
|
|
@@ -11163,33 +11200,33 @@ const Wc = async (e) => {
|
|
|
11163
11200
|
},
|
|
11164
11201
|
isLarge: !1,
|
|
11165
11202
|
priorityHigh: !1
|
|
11166
|
-
},
|
|
11167
|
-
n = n.replace(d,
|
|
11203
|
+
}, v = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(N))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
11204
|
+
n = n.replace(d, v), i.lastIndex = 0;
|
|
11168
11205
|
}
|
|
11169
11206
|
const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, u = [...n.matchAll(c)];
|
|
11170
11207
|
for (const l of u) {
|
|
11171
11208
|
const d = l[0], m = l[1] ?? "";
|
|
11172
11209
|
if (r.has(m)) continue;
|
|
11173
11210
|
const h = d.match(/\balt=["']([^"']*)["']/), g = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), A = f ? decodeURIComponent(f[1]) : null;
|
|
11174
|
-
let w = 0,
|
|
11211
|
+
let w = 0, b = 0;
|
|
11175
11212
|
if (A) {
|
|
11176
11213
|
const I = A.match(/w:(\d+)/), R = A.match(/h:(\d+)/);
|
|
11177
|
-
w = I ? parseInt(I[1]) : 0,
|
|
11214
|
+
w = I ? parseInt(I[1]) : 0, b = R ? parseInt(R[1]) : 0;
|
|
11178
11215
|
}
|
|
11179
11216
|
const N = {
|
|
11180
11217
|
preview: {
|
|
11181
11218
|
sizes: [
|
|
11182
11219
|
{
|
|
11183
|
-
scale: A || `w:${w},h:${
|
|
11220
|
+
scale: A || `w:${w},h:${b},t:2`,
|
|
11184
11221
|
url: m,
|
|
11185
11222
|
width: w,
|
|
11186
|
-
height:
|
|
11223
|
+
height: b
|
|
11187
11224
|
}
|
|
11188
11225
|
],
|
|
11189
11226
|
original: {
|
|
11190
11227
|
url: m.split("?")[0],
|
|
11191
11228
|
width: w,
|
|
11192
|
-
height:
|
|
11229
|
+
height: b
|
|
11193
11230
|
},
|
|
11194
11231
|
copyright: !1,
|
|
11195
11232
|
description: g,
|
|
@@ -11197,8 +11234,8 @@ const Wc = async (e) => {
|
|
|
11197
11234
|
},
|
|
11198
11235
|
isLarge: !1,
|
|
11199
11236
|
priorityHigh: !1
|
|
11200
|
-
},
|
|
11201
|
-
n = n.replace(d,
|
|
11237
|
+
}, v = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(N))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
11238
|
+
n = n.replace(d, v);
|
|
11202
11239
|
}
|
|
11203
11240
|
return n;
|
|
11204
11241
|
}, Zc = (e) => e.replace(
|
|
@@ -11267,7 +11304,7 @@ const Wc = async (e) => {
|
|
|
11267
11304
|
const S = await ue(E.url);
|
|
11268
11305
|
return N === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
|
|
11269
11306
|
})
|
|
11270
|
-
)).reduce((E, N) => E += N, ""),
|
|
11307
|
+
)).reduce((E, N) => E += N, ""), b = `
|
|
11271
11308
|
<span data-src="${u}">
|
|
11272
11309
|
<picture style='display: flex'>
|
|
11273
11310
|
${w}
|
|
@@ -11279,7 +11316,7 @@ const Wc = async (e) => {
|
|
|
11279
11316
|
</div>
|
|
11280
11317
|
</span>
|
|
11281
11318
|
`;
|
|
11282
|
-
i = i.replace(c,
|
|
11319
|
+
i = i.replace(c, b);
|
|
11283
11320
|
}
|
|
11284
11321
|
return i;
|
|
11285
11322
|
};
|
|
@@ -11293,22 +11330,22 @@ async function sl(e, t) {
|
|
|
11293
11330
|
let u = 1, l = c;
|
|
11294
11331
|
const d = e.length;
|
|
11295
11332
|
for (; l < d && u > 0; ) {
|
|
11296
|
-
const
|
|
11333
|
+
const b = e.indexOf("<div", l), E = e.indexOf("</div>", l);
|
|
11297
11334
|
if (E === -1) {
|
|
11298
11335
|
l = d;
|
|
11299
11336
|
break;
|
|
11300
11337
|
}
|
|
11301
|
-
|
|
11338
|
+
b !== -1 && b < E ? (u += 1, l = b + 4) : (u -= 1, l = E + 6);
|
|
11302
11339
|
}
|
|
11303
11340
|
const m = l, h = e.slice(o, m);
|
|
11304
11341
|
let g = null;
|
|
11305
11342
|
const f = /<span\b([^>]*)>/gi;
|
|
11306
11343
|
let A;
|
|
11307
11344
|
for (; (A = f.exec(h)) !== null; ) {
|
|
11308
|
-
const
|
|
11309
|
-
if (!
|
|
11310
|
-
if (/data-type\s*=\s*["']?video["']?/i.test(
|
|
11311
|
-
const E =
|
|
11345
|
+
const b = A[1];
|
|
11346
|
+
if (!b) break;
|
|
11347
|
+
if (/data-type\s*=\s*["']?video["']?/i.test(b)) {
|
|
11348
|
+
const E = b.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
11312
11349
|
if (E) {
|
|
11313
11350
|
g = E[1] ?? "";
|
|
11314
11351
|
break;
|
|
@@ -11316,24 +11353,24 @@ async function sl(e, t) {
|
|
|
11316
11353
|
}
|
|
11317
11354
|
}
|
|
11318
11355
|
if (!g) {
|
|
11319
|
-
const
|
|
11356
|
+
const b = h.match(
|
|
11320
11357
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
11321
11358
|
);
|
|
11322
|
-
if (
|
|
11323
|
-
const E =
|
|
11359
|
+
if (b) {
|
|
11360
|
+
const E = b[0].match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
11324
11361
|
E && (g = E[1] ?? "");
|
|
11325
11362
|
}
|
|
11326
11363
|
}
|
|
11327
11364
|
let w = "";
|
|
11328
11365
|
if (g)
|
|
11329
11366
|
try {
|
|
11330
|
-
const
|
|
11331
|
-
if (
|
|
11332
|
-
const N =
|
|
11367
|
+
const b = await t.iframe({ path: g }), E = t.schema ? await t.schema(g) : null;
|
|
11368
|
+
if (b && b.data) {
|
|
11369
|
+
const N = b.data.data[0];
|
|
11333
11370
|
let S = "";
|
|
11334
|
-
const
|
|
11371
|
+
const v = h.match(
|
|
11335
11372
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
11336
|
-
), I =
|
|
11373
|
+
), I = v && v[1] ? v[1].trim() : "";
|
|
11337
11374
|
N.info && N.info.type === "video-youtube" ? S = `<iframe
|
|
11338
11375
|
loading="lazy"
|
|
11339
11376
|
frameborder="0"
|
|
@@ -11360,8 +11397,8 @@ async function sl(e, t) {
|
|
|
11360
11397
|
</figure>
|
|
11361
11398
|
`;
|
|
11362
11399
|
}
|
|
11363
|
-
} catch (
|
|
11364
|
-
console.error("insertVideos error for", g,
|
|
11400
|
+
} catch (b) {
|
|
11401
|
+
console.error("insertVideos error for", g, b), w = "";
|
|
11365
11402
|
}
|
|
11366
11403
|
else
|
|
11367
11404
|
w = h;
|
|
@@ -11399,7 +11436,7 @@ async function al(e) {
|
|
|
11399
11436
|
newsformated: t,
|
|
11400
11437
|
internal: t.info.link.internal
|
|
11401
11438
|
}
|
|
11402
|
-
) : /* @__PURE__ */ a(
|
|
11439
|
+
) : /* @__PURE__ */ a(bn, { preview: t.preview }) : null,
|
|
11403
11440
|
/* @__PURE__ */ a(we, { banners: s, name: "block_1" }),
|
|
11404
11441
|
/* @__PURE__ */ a("div", { className: "sass-pg-nrs-journalistArticleContent", children: h === "op1" ? /* @__PURE__ */ a(
|
|
11405
11442
|
Gc,
|
|
@@ -11511,7 +11548,7 @@ const nl = (e) => {
|
|
|
11511
11548
|
if (!(!r || !r[0]))
|
|
11512
11549
|
return /* @__PURE__ */ a(J, { children: /* @__PURE__ */ p(Cc, { className: "sass-pg-news-contentLayout2", children: [
|
|
11513
11550
|
/* @__PURE__ */ a(
|
|
11514
|
-
|
|
11551
|
+
xc,
|
|
11515
11552
|
{
|
|
11516
11553
|
option: e.slug,
|
|
11517
11554
|
news: r,
|
|
@@ -11675,7 +11712,7 @@ const Ee = [
|
|
|
11675
11712
|
(e) => /[a-z]/.test(e),
|
|
11676
11713
|
(e) => /[A-Z]/.test(e),
|
|
11677
11714
|
(e) => /[^A-Za-z0-9]/.test(e)
|
|
11678
|
-
],
|
|
11715
|
+
], Un = [
|
|
11679
11716
|
{ label: "La contraseña debe tener al menos 8 caracteres", test: Ee[0] },
|
|
11680
11717
|
{ label: "Usa un número", test: Ee[1] },
|
|
11681
11718
|
{ label: "Usa una letra minúscula", test: Ee[2] },
|
|
@@ -11702,12 +11739,12 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11702
11739
|
await fetch("/api/auth/debug-login", { method: "GET", credentials: "include" });
|
|
11703
11740
|
return;
|
|
11704
11741
|
}
|
|
11705
|
-
const
|
|
11706
|
-
window.location.href = `/api/auth/login?redirect=${
|
|
11707
|
-
},
|
|
11708
|
-
c((R) => ({ ...R, [
|
|
11709
|
-
}, E = async (
|
|
11710
|
-
|
|
11742
|
+
const v = encodeURIComponent(window.location.pathname);
|
|
11743
|
+
window.location.href = `/api/auth/login?redirect=${v}`;
|
|
11744
|
+
}, b = (v, I) => {
|
|
11745
|
+
c((R) => ({ ...R, [v]: I }));
|
|
11746
|
+
}, E = async (v) => {
|
|
11747
|
+
v.preventDefault(), g(null), m(!0);
|
|
11711
11748
|
try {
|
|
11712
11749
|
const I = Object.keys(r).filter((H) => !["username", "password", "confirmPassword"].includes(H)).map((H) => ({ Name: H, Value: o[H] }));
|
|
11713
11750
|
if (I.some((H) => {
|
|
@@ -11760,8 +11797,8 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11760
11797
|
} finally {
|
|
11761
11798
|
m(!1);
|
|
11762
11799
|
}
|
|
11763
|
-
}, N = async (
|
|
11764
|
-
if (
|
|
11800
|
+
}, N = async (v) => {
|
|
11801
|
+
if (v.preventDefault(), !o.confirmationCode) {
|
|
11765
11802
|
g(n.errorVerificationCodeRequired);
|
|
11766
11803
|
return;
|
|
11767
11804
|
}
|
|
@@ -11807,20 +11844,20 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11807
11844
|
className: "sass-pg-login-form",
|
|
11808
11845
|
"data-error": h ? "true" : "false",
|
|
11809
11846
|
children: [
|
|
11810
|
-
/* @__PURE__ */ a("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([
|
|
11847
|
+
/* @__PURE__ */ a("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([v, { label: I }]) => /* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
11811
11848
|
/* @__PURE__ */ a("label", { className: "sass-pg-login-label", children: I }),
|
|
11812
11849
|
/* @__PURE__ */ a(
|
|
11813
11850
|
"input",
|
|
11814
11851
|
{
|
|
11815
|
-
type:
|
|
11816
|
-
name:
|
|
11817
|
-
value: o[
|
|
11818
|
-
onChange: (R) => v
|
|
11852
|
+
type: v.toLowerCase().includes("password") ? u ? "text" : "password" : v === "birthdate" ? "date" : v === "email" ? "email" : v === "phone_number" ? "tel" : "text",
|
|
11853
|
+
name: v,
|
|
11854
|
+
value: o[v] || "",
|
|
11855
|
+
onChange: (R) => b(v, R.target.value),
|
|
11819
11856
|
className: "sass-pg-login-input",
|
|
11820
11857
|
placeholder: ""
|
|
11821
11858
|
}
|
|
11822
11859
|
),
|
|
11823
|
-
|
|
11860
|
+
v === "password" && /* @__PURE__ */ a("div", { className: "sass-pg-login-passwordChecker", children: i.map((R, Q) => {
|
|
11824
11861
|
const W = R.test(S);
|
|
11825
11862
|
return /* @__PURE__ */ p(
|
|
11826
11863
|
"div",
|
|
@@ -11834,7 +11871,7 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11834
11871
|
Q
|
|
11835
11872
|
);
|
|
11836
11873
|
}) }),
|
|
11837
|
-
|
|
11874
|
+
v === "confirmPassword" && /* @__PURE__ */ p("div", { className: "sass-pg-login-checkboxRow", children: [
|
|
11838
11875
|
/* @__PURE__ */ a(
|
|
11839
11876
|
"input",
|
|
11840
11877
|
{
|
|
@@ -11853,7 +11890,7 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11853
11890
|
}
|
|
11854
11891
|
)
|
|
11855
11892
|
] })
|
|
11856
|
-
] },
|
|
11893
|
+
] }, v)) }),
|
|
11857
11894
|
h && /* @__PURE__ */ a("p", { className: "sass-pg-login-error", children: h }),
|
|
11858
11895
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-terms", children: [
|
|
11859
11896
|
n.termsPrefix,
|
|
@@ -11882,7 +11919,7 @@ function Tu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11882
11919
|
type: "text",
|
|
11883
11920
|
name: "confirmationCode",
|
|
11884
11921
|
value: o.confirmationCode || "",
|
|
11885
|
-
onChange: (
|
|
11922
|
+
onChange: (v) => b("confirmationCode", v.target.value),
|
|
11886
11923
|
className: "sass-pg-login-input",
|
|
11887
11924
|
required: !0
|
|
11888
11925
|
}
|
|
@@ -11956,15 +11993,15 @@ function Iu({
|
|
|
11956
11993
|
API_ENV: e,
|
|
11957
11994
|
texts: t
|
|
11958
11995
|
}) {
|
|
11959
|
-
const s = { ...ll, ...t?.comentarios }, [n, r] = $("login"), [i, o] = $(""), [c, u] = $(""), [l, d] = $(""), [m, h] = $(""), [g, f] = $(""), [A, w] = $(!1), [
|
|
11996
|
+
const s = { ...ll, ...t?.comentarios }, [n, r] = $("login"), [i, o] = $(""), [c, u] = $(""), [l, d] = $(""), [m, h] = $(""), [g, f] = $(""), [A, w] = $(!1), [b, E] = $(!1), [N, S] = $(null);
|
|
11960
11997
|
le.useEffect(() => {
|
|
11961
11998
|
if (typeof window > "u") return;
|
|
11962
11999
|
window.location.hash.includes("forgot") && n === "login" && r("forgot"), n === "login" && I();
|
|
11963
12000
|
});
|
|
11964
|
-
const
|
|
12001
|
+
const v = (L) => document.cookie.split("; ").find((H) => H.startsWith(L + "="))?.split("=")[1], I = async () => {
|
|
11965
12002
|
if (document.cookie.search(e.COGNITO_AUTH_PREFIX + "IS_AUTH=true") !== -1) {
|
|
11966
12003
|
if (!window) return;
|
|
11967
|
-
const L =
|
|
12004
|
+
const L = v("redirect_after_login_1");
|
|
11968
12005
|
console.log("Redirect path after login:", L, document.cookie, document.cookie.search("redirect_after_login_1=") !== -1), L && L !== "" ? (window.location.pathname = L, window.location.hash = "comentarios") : window.location.pathname = "/auth/success";
|
|
11969
12006
|
}
|
|
11970
12007
|
};
|
|
@@ -11975,13 +12012,13 @@ function Iu({
|
|
|
11975
12012
|
email: i,
|
|
11976
12013
|
password: c,
|
|
11977
12014
|
showPassword: A,
|
|
11978
|
-
loading:
|
|
12015
|
+
loading: b,
|
|
11979
12016
|
error: N,
|
|
11980
12017
|
setEmail: o,
|
|
11981
12018
|
setPassword: u,
|
|
11982
12019
|
setShowPassword: w,
|
|
11983
12020
|
onSubmit: async (L) => {
|
|
11984
|
-
if (!
|
|
12021
|
+
if (!b) {
|
|
11985
12022
|
if (L.preventDefault(), i === "" || c === "") {
|
|
11986
12023
|
S("Complete todos los campos");
|
|
11987
12024
|
return;
|
|
@@ -12018,7 +12055,7 @@ function Iu({
|
|
|
12018
12055
|
return;
|
|
12019
12056
|
}
|
|
12020
12057
|
let L = "/auth/login";
|
|
12021
|
-
const H =
|
|
12058
|
+
const H = v("redirect_after_login_1");
|
|
12022
12059
|
H && H !== "" && (L = H), window.location.href = `/api/auth/login?redirect=${L}`;
|
|
12023
12060
|
},
|
|
12024
12061
|
t: s
|
|
@@ -12029,10 +12066,10 @@ function Iu({
|
|
|
12029
12066
|
{
|
|
12030
12067
|
email: i,
|
|
12031
12068
|
setEmail: o,
|
|
12032
|
-
loading:
|
|
12069
|
+
loading: b,
|
|
12033
12070
|
error: N,
|
|
12034
12071
|
onSubmit: async (L) => {
|
|
12035
|
-
if (!
|
|
12072
|
+
if (!b) {
|
|
12036
12073
|
L.preventDefault(), S(null), E(!0);
|
|
12037
12074
|
try {
|
|
12038
12075
|
const H = await fetch("/api/auth/forgot-password", {
|
|
@@ -12066,19 +12103,19 @@ function Iu({
|
|
|
12066
12103
|
newPassword: m,
|
|
12067
12104
|
confirmNewPassword: g,
|
|
12068
12105
|
showPassword: A,
|
|
12069
|
-
loading:
|
|
12106
|
+
loading: b,
|
|
12070
12107
|
error: N,
|
|
12071
12108
|
setConfirmationCode: d,
|
|
12072
12109
|
setNewPassword: h,
|
|
12073
12110
|
setConfirmNewPassword: f,
|
|
12074
12111
|
setShowPassword: w,
|
|
12075
12112
|
onSubmit: async (L) => {
|
|
12076
|
-
if (
|
|
12113
|
+
if (b) return;
|
|
12077
12114
|
if (L.preventDefault(), m !== g) {
|
|
12078
12115
|
S("Las contraseñas no coinciden");
|
|
12079
12116
|
return;
|
|
12080
12117
|
}
|
|
12081
|
-
if (
|
|
12118
|
+
if (Un.some(
|
|
12082
12119
|
(se) => !se.test(m)
|
|
12083
12120
|
)) {
|
|
12084
12121
|
S("La contraseña no cumple con los requisitos");
|
|
@@ -12312,10 +12349,10 @@ function hl({
|
|
|
12312
12349
|
name: "password"
|
|
12313
12350
|
}
|
|
12314
12351
|
),
|
|
12315
|
-
/* @__PURE__ */ a("div", { className: "sass-pg-login-passwordChecker", children:
|
|
12316
|
-
const
|
|
12317
|
-
return /* @__PURE__ */ p("div", { className:
|
|
12318
|
-
/* @__PURE__ */ a("div", { children:
|
|
12352
|
+
/* @__PURE__ */ a("div", { className: "sass-pg-login-passwordChecker", children: Un.map((A, w) => {
|
|
12353
|
+
const b = A.test(s);
|
|
12354
|
+
return /* @__PURE__ */ p("div", { className: b ? "sass-pg-login-valid" : "sass-pg-login-invalid", children: [
|
|
12355
|
+
/* @__PURE__ */ a("div", { children: b ? "✔" : "○" }),
|
|
12319
12356
|
/* @__PURE__ */ a("div", { children: A.label })
|
|
12320
12357
|
] }, w);
|
|
12321
12358
|
}) })
|
|
@@ -12378,7 +12415,7 @@ function fl({
|
|
|
12378
12415
|
/* @__PURE__ */ a("button", { type: "submit", className: "sass-pg-login-primary", onClick: e, children: t.loginButtonText })
|
|
12379
12416
|
] });
|
|
12380
12417
|
}
|
|
12381
|
-
function
|
|
12418
|
+
function Uu({ containerId: e, containerId2: t }) {
|
|
12382
12419
|
return Te(() => {
|
|
12383
12420
|
try {
|
|
12384
12421
|
let s = function() {
|
|
@@ -12414,7 +12451,7 @@ function xu({ containerId: e, containerId2: t }) {
|
|
|
12414
12451
|
}
|
|
12415
12452
|
}, [e]), null;
|
|
12416
12453
|
}
|
|
12417
|
-
const
|
|
12454
|
+
const xu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @__PURE__ */ a("script", { src: "https://platform.twitter.com/widgets.js" }), gl = (e) => {
|
|
12418
12455
|
const {
|
|
12419
12456
|
//rounded = false,
|
|
12420
12457
|
isVideo: t = !1,
|
|
@@ -12567,18 +12604,18 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12567
12604
|
const w = new URLSearchParams({
|
|
12568
12605
|
section: e,
|
|
12569
12606
|
currentNewsLink: t
|
|
12570
|
-
}),
|
|
12571
|
-
if (!
|
|
12572
|
-
throw new Error(`HTTP error! status: ${
|
|
12573
|
-
return await
|
|
12607
|
+
}), b = await fetch(`/api/get-more-news?${w}`);
|
|
12608
|
+
if (!b.ok)
|
|
12609
|
+
throw new Error(`HTTP error! status: ${b.status}`);
|
|
12610
|
+
return await b.json();
|
|
12574
12611
|
}, [e, t]), f = ce(async () => {
|
|
12575
12612
|
const {
|
|
12576
12613
|
PUBLIC_API_FRONT: w,
|
|
12577
|
-
PUBLIC_X_SECURITY_TOKEN:
|
|
12614
|
+
PUBLIC_X_SECURITY_TOKEN: b,
|
|
12578
12615
|
PUBLIC_API_PATH_VERSION: E,
|
|
12579
12616
|
PUBLIC_PUBLICATION_ID: N
|
|
12580
12617
|
} = i;
|
|
12581
|
-
if (!w || !
|
|
12618
|
+
if (!w || !b || !N || !E)
|
|
12582
12619
|
throw new Error("Missing required environment variables");
|
|
12583
12620
|
const S = await re.get(
|
|
12584
12621
|
`${w}${E}/news-list-section`,
|
|
@@ -12591,7 +12628,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12591
12628
|
publication: parseInt(N)
|
|
12592
12629
|
},
|
|
12593
12630
|
headers: {
|
|
12594
|
-
"x-api-token":
|
|
12631
|
+
"x-api-token": b,
|
|
12595
12632
|
"Content-Type": "application/json"
|
|
12596
12633
|
}
|
|
12597
12634
|
}
|
|
@@ -12599,7 +12636,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12599
12636
|
return {
|
|
12600
12637
|
...S.data,
|
|
12601
12638
|
data: S.data.data.filter(
|
|
12602
|
-
(
|
|
12639
|
+
(v) => v.info.link.internal !== t
|
|
12603
12640
|
)
|
|
12604
12641
|
};
|
|
12605
12642
|
}, [e, t, i]), A = ce(async () => {
|
|
@@ -12625,7 +12662,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12625
12662
|
return Te(() => {
|
|
12626
12663
|
n && A();
|
|
12627
12664
|
}, [n, A]), !l?.data || l.data.length === 0 ? null : /* @__PURE__ */ a(
|
|
12628
|
-
|
|
12665
|
+
vl,
|
|
12629
12666
|
{
|
|
12630
12667
|
news: l.data,
|
|
12631
12668
|
title: "Más Noticias",
|
|
@@ -12639,7 +12676,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12639
12676
|
isVisible: n
|
|
12640
12677
|
}
|
|
12641
12678
|
);
|
|
12642
|
-
},
|
|
12679
|
+
}, vl = (e) => {
|
|
12643
12680
|
const { news: t, hasLines: s = !1, API_ENV: n } = e, r = (i) => s && (i + 1) % 3 !== 0 ? "sass-bd-m13-contentSeparator" : "";
|
|
12644
12681
|
return /* @__PURE__ */ a(
|
|
12645
12682
|
"div",
|
|
@@ -12690,7 +12727,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12690
12727
|
}
|
|
12691
12728
|
),
|
|
12692
12729
|
/* @__PURE__ */ a("div", { className: "sass-com-sc1-newsDescription", children: /* @__PURE__ */ a(
|
|
12693
|
-
|
|
12730
|
+
bl,
|
|
12694
12731
|
{
|
|
12695
12732
|
main: c,
|
|
12696
12733
|
SHOW_TAG_BY_SECTION: n.SHOW_TAG_BY_SECTION,
|
|
@@ -12714,10 +12751,10 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12714
12751
|
})
|
|
12715
12752
|
}
|
|
12716
12753
|
);
|
|
12717
|
-
},
|
|
12754
|
+
}, bl = (e) => {
|
|
12718
12755
|
const { share: t = !1, cutSubtitle: s = !0, SHOW_TAG_BY_SECTION: n, keywords: r, info: i } = e, c = (() => {
|
|
12719
12756
|
if (!e?.authors || e.authors.length === 0) return "";
|
|
12720
|
-
const d = e.authors[0], m =
|
|
12757
|
+
const d = e.authors[0], m = Ue(e.info?.date?.modified, e.DATE_CONFIG);
|
|
12721
12758
|
return d && e?.config?.showtime && e.config?.showauthor ? `${d.fullname} - ${m}` : d && e.config?.showauthor ? d.fullname : e?.config?.showtime ? m : "";
|
|
12722
12759
|
})(), u = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null;
|
|
12723
12760
|
return /* @__PURE__ */ p("div", { className: "sass-com-nd-boxInformation", children: [
|
|
@@ -12777,7 +12814,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12777
12814
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
12778
12815
|
"--colorSubTitle": e.colorSubTitle
|
|
12779
12816
|
},
|
|
12780
|
-
children: s ?
|
|
12817
|
+
children: s ? xe(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
|
|
12781
12818
|
}
|
|
12782
12819
|
),
|
|
12783
12820
|
(e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ a(J, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -12825,12 +12862,12 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12825
12862
|
children: "Cerrar Sesion"
|
|
12826
12863
|
}
|
|
12827
12864
|
) }),
|
|
12828
|
-
/* @__PURE__ */ a("button", { className: "user-actions-span", onClick: n, children: /* @__PURE__ */ a(
|
|
12865
|
+
/* @__PURE__ */ a("button", { className: "user-actions-span", onClick: n, children: /* @__PURE__ */ a(Ut, { width: 13, height: 13, fill: "black" }) })
|
|
12829
12866
|
] }),
|
|
12830
12867
|
/* @__PURE__ */ a("p", { className: "comment-text su-font-normal", children: s })
|
|
12831
12868
|
] })
|
|
12832
12869
|
] }) });
|
|
12833
|
-
},
|
|
12870
|
+
}, xn = async (e, t) => {
|
|
12834
12871
|
if (!e) return !1;
|
|
12835
12872
|
const { CAPTCHA_PROJECT: s, CAPTCHA_KEY_V2: n, COMMENTS_CAPTCHA_API_KEY: r } = t;
|
|
12836
12873
|
try {
|
|
@@ -12869,7 +12906,7 @@ async function Ru({
|
|
|
12869
12906
|
);
|
|
12870
12907
|
if (typeof e != "string" || typeof t != "string" || typeof s != "string" || typeof n != "string" || typeof i != "string")
|
|
12871
12908
|
throw new Error("Todos los parámetros deben ser strings");
|
|
12872
|
-
if (!await
|
|
12909
|
+
if (!await xn(i, u))
|
|
12873
12910
|
throw new Error("Token de captcha inválido");
|
|
12874
12911
|
if (!o)
|
|
12875
12912
|
throw new Error("Falta el token de API del CMS");
|
|
@@ -12956,32 +12993,32 @@ const jt = (e, t, s) => {
|
|
|
12956
12993
|
)}; path=/; max-age=${3600 * 24 * 1}`);
|
|
12957
12994
|
};
|
|
12958
12995
|
var gt = { exports: {} }, pt = { exports: {} }, ae = {};
|
|
12959
|
-
var
|
|
12996
|
+
var ba;
|
|
12960
12997
|
function Sl() {
|
|
12961
|
-
if (
|
|
12962
|
-
|
|
12963
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
12964
|
-
function N(
|
|
12965
|
-
if (typeof
|
|
12966
|
-
var I =
|
|
12998
|
+
if (ba) return ae;
|
|
12999
|
+
ba = 1;
|
|
13000
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13001
|
+
function N(v) {
|
|
13002
|
+
if (typeof v == "object" && v !== null) {
|
|
13003
|
+
var I = v.$$typeof;
|
|
12967
13004
|
switch (I) {
|
|
12968
13005
|
case t:
|
|
12969
|
-
switch (
|
|
13006
|
+
switch (v = v.type, v) {
|
|
12970
13007
|
case u:
|
|
12971
13008
|
case l:
|
|
12972
13009
|
case n:
|
|
12973
13010
|
case i:
|
|
12974
13011
|
case r:
|
|
12975
13012
|
case m:
|
|
12976
|
-
return
|
|
13013
|
+
return v;
|
|
12977
13014
|
default:
|
|
12978
|
-
switch (
|
|
13015
|
+
switch (v = v && v.$$typeof, v) {
|
|
12979
13016
|
case c:
|
|
12980
13017
|
case d:
|
|
12981
13018
|
case f:
|
|
12982
13019
|
case g:
|
|
12983
13020
|
case o:
|
|
12984
|
-
return
|
|
13021
|
+
return v;
|
|
12985
13022
|
default:
|
|
12986
13023
|
return I;
|
|
12987
13024
|
}
|
|
@@ -12991,45 +13028,45 @@ function Sl() {
|
|
|
12991
13028
|
}
|
|
12992
13029
|
}
|
|
12993
13030
|
}
|
|
12994
|
-
function S(
|
|
12995
|
-
return N(
|
|
12996
|
-
}
|
|
12997
|
-
return ae.AsyncMode = u, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = o, ae.Element = t, ae.ForwardRef = d, ae.Fragment = n, ae.Lazy = f, ae.Memo = g, ae.Portal = s, ae.Profiler = i, ae.StrictMode = r, ae.Suspense = m, ae.isAsyncMode = function(
|
|
12998
|
-
return S(
|
|
12999
|
-
}, ae.isConcurrentMode = S, ae.isContextConsumer = function(
|
|
13000
|
-
return N(
|
|
13001
|
-
}, ae.isContextProvider = function(
|
|
13002
|
-
return N(
|
|
13003
|
-
}, ae.isElement = function(
|
|
13004
|
-
return typeof
|
|
13005
|
-
}, ae.isForwardRef = function(
|
|
13006
|
-
return N(
|
|
13007
|
-
}, ae.isFragment = function(
|
|
13008
|
-
return N(
|
|
13009
|
-
}, ae.isLazy = function(
|
|
13010
|
-
return N(
|
|
13011
|
-
}, ae.isMemo = function(
|
|
13012
|
-
return N(
|
|
13013
|
-
}, ae.isPortal = function(
|
|
13014
|
-
return N(
|
|
13015
|
-
}, ae.isProfiler = function(
|
|
13016
|
-
return N(
|
|
13017
|
-
}, ae.isStrictMode = function(
|
|
13018
|
-
return N(
|
|
13019
|
-
}, ae.isSuspense = function(
|
|
13020
|
-
return N(
|
|
13021
|
-
}, ae.isValidElementType = function(
|
|
13022
|
-
return typeof
|
|
13031
|
+
function S(v) {
|
|
13032
|
+
return N(v) === l;
|
|
13033
|
+
}
|
|
13034
|
+
return ae.AsyncMode = u, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = o, ae.Element = t, ae.ForwardRef = d, ae.Fragment = n, ae.Lazy = f, ae.Memo = g, ae.Portal = s, ae.Profiler = i, ae.StrictMode = r, ae.Suspense = m, ae.isAsyncMode = function(v) {
|
|
13035
|
+
return S(v) || N(v) === u;
|
|
13036
|
+
}, ae.isConcurrentMode = S, ae.isContextConsumer = function(v) {
|
|
13037
|
+
return N(v) === c;
|
|
13038
|
+
}, ae.isContextProvider = function(v) {
|
|
13039
|
+
return N(v) === o;
|
|
13040
|
+
}, ae.isElement = function(v) {
|
|
13041
|
+
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
13042
|
+
}, ae.isForwardRef = function(v) {
|
|
13043
|
+
return N(v) === d;
|
|
13044
|
+
}, ae.isFragment = function(v) {
|
|
13045
|
+
return N(v) === n;
|
|
13046
|
+
}, ae.isLazy = function(v) {
|
|
13047
|
+
return N(v) === f;
|
|
13048
|
+
}, ae.isMemo = function(v) {
|
|
13049
|
+
return N(v) === g;
|
|
13050
|
+
}, ae.isPortal = function(v) {
|
|
13051
|
+
return N(v) === s;
|
|
13052
|
+
}, ae.isProfiler = function(v) {
|
|
13053
|
+
return N(v) === i;
|
|
13054
|
+
}, ae.isStrictMode = function(v) {
|
|
13055
|
+
return N(v) === r;
|
|
13056
|
+
}, ae.isSuspense = function(v) {
|
|
13057
|
+
return N(v) === m;
|
|
13058
|
+
}, ae.isValidElementType = function(v) {
|
|
13059
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === l || v === i || v === r || v === m || v === h || typeof v == "object" && v !== null && (v.$$typeof === f || v.$$typeof === g || v.$$typeof === o || v.$$typeof === c || v.$$typeof === d || v.$$typeof === w || v.$$typeof === b || v.$$typeof === E || v.$$typeof === A);
|
|
13023
13060
|
}, ae.typeOf = N, ae;
|
|
13024
13061
|
}
|
|
13025
13062
|
var ne = {};
|
|
13026
13063
|
var ya;
|
|
13027
13064
|
function El() {
|
|
13028
13065
|
return ya || (ya = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
13029
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
13066
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13030
13067
|
function N(B) {
|
|
13031
13068
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
13032
|
-
B === n || B === l || B === i || B === r || B === m || B === h || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === g || B.$$typeof === o || B.$$typeof === c || B.$$typeof === d || B.$$typeof === w || B.$$typeof ===
|
|
13069
|
+
B === n || B === l || B === i || B === r || B === m || B === h || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === g || B.$$typeof === o || B.$$typeof === c || B.$$typeof === d || B.$$typeof === w || B.$$typeof === b || B.$$typeof === E || B.$$typeof === A);
|
|
13033
13070
|
}
|
|
13034
13071
|
function S(B) {
|
|
13035
13072
|
if (typeof B == "object" && B !== null) {
|
|
@@ -13063,7 +13100,7 @@ function El() {
|
|
|
13063
13100
|
}
|
|
13064
13101
|
}
|
|
13065
13102
|
}
|
|
13066
|
-
var
|
|
13103
|
+
var v = u, I = l, R = c, Q = o, W = t, j = d, L = n, H = f, se = g, q = s, x = i, U = r, M = m, k = !1;
|
|
13067
13104
|
function F(B) {
|
|
13068
13105
|
return k || (k = !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(B) || S(B) === u;
|
|
13069
13106
|
}
|
|
@@ -13103,7 +13140,7 @@ function El() {
|
|
|
13103
13140
|
function ie(B) {
|
|
13104
13141
|
return S(B) === m;
|
|
13105
13142
|
}
|
|
13106
|
-
ne.AsyncMode =
|
|
13143
|
+
ne.AsyncMode = v, ne.ConcurrentMode = I, ne.ContextConsumer = R, ne.ContextProvider = Q, ne.Element = W, ne.ForwardRef = j, ne.Fragment = L, ne.Lazy = H, ne.Memo = se, ne.Portal = q, ne.Profiler = x, ne.StrictMode = U, ne.Suspense = M, ne.isAsyncMode = F, ne.isConcurrentMode = y, ne.isContextConsumer = T, ne.isContextProvider = P, ne.isElement = G, ne.isForwardRef = D, ne.isFragment = V, ne.isLazy = z, ne.isMemo = Y, ne.isPortal = ee, ne.isProfiler = te, ne.isStrictMode = K, ne.isSuspense = ie, ne.isValidElementType = N, ne.typeOf = S;
|
|
13107
13144
|
})()), ne;
|
|
13108
13145
|
}
|
|
13109
13146
|
var Ca;
|
|
@@ -13217,7 +13254,7 @@ function Il() {
|
|
|
13217
13254
|
}, Jt = r, Jt;
|
|
13218
13255
|
}
|
|
13219
13256
|
var $t, Ia;
|
|
13220
|
-
function
|
|
13257
|
+
function Ul() {
|
|
13221
13258
|
if (Ia) return $t;
|
|
13222
13259
|
Ia = 1;
|
|
13223
13260
|
var e = Rs(), t = Tl(), s = /* @__PURE__ */ ks(), n = /* @__PURE__ */ kn(), r = /* @__PURE__ */ Il(), i = function() {
|
|
@@ -13241,18 +13278,18 @@ function xl() {
|
|
|
13241
13278
|
return T;
|
|
13242
13279
|
}
|
|
13243
13280
|
var h = "<<anonymous>>", g = {
|
|
13244
|
-
array:
|
|
13245
|
-
bigint:
|
|
13246
|
-
bool:
|
|
13247
|
-
func:
|
|
13248
|
-
number:
|
|
13249
|
-
object:
|
|
13250
|
-
string:
|
|
13251
|
-
symbol:
|
|
13281
|
+
array: b("array"),
|
|
13282
|
+
bigint: b("bigint"),
|
|
13283
|
+
bool: b("boolean"),
|
|
13284
|
+
func: b("function"),
|
|
13285
|
+
number: b("number"),
|
|
13286
|
+
object: b("object"),
|
|
13287
|
+
string: b("string"),
|
|
13288
|
+
symbol: b("symbol"),
|
|
13252
13289
|
any: E(),
|
|
13253
13290
|
arrayOf: N,
|
|
13254
13291
|
element: S(),
|
|
13255
|
-
elementType:
|
|
13292
|
+
elementType: v(),
|
|
13256
13293
|
instanceOf: I,
|
|
13257
13294
|
node: j(),
|
|
13258
13295
|
objectOf: Q,
|
|
@@ -13291,9 +13328,9 @@ function xl() {
|
|
|
13291
13328
|
var D = G.bind(null, !1);
|
|
13292
13329
|
return D.isRequired = G.bind(null, !0), D;
|
|
13293
13330
|
}
|
|
13294
|
-
function
|
|
13331
|
+
function b(y) {
|
|
13295
13332
|
function T(P, G, D, V, z, Y) {
|
|
13296
|
-
var ee = P[G], te =
|
|
13333
|
+
var ee = P[G], te = U(ee);
|
|
13297
13334
|
if (te !== y) {
|
|
13298
13335
|
var K = M(ee);
|
|
13299
13336
|
return new A(
|
|
@@ -13314,7 +13351,7 @@ function xl() {
|
|
|
13314
13351
|
return new A("Property `" + z + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
13315
13352
|
var Y = P[G];
|
|
13316
13353
|
if (!Array.isArray(Y)) {
|
|
13317
|
-
var ee =
|
|
13354
|
+
var ee = U(Y);
|
|
13318
13355
|
return new A("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + D + "`, expected an array."));
|
|
13319
13356
|
}
|
|
13320
13357
|
for (var te = 0; te < Y.length; te++) {
|
|
@@ -13330,18 +13367,18 @@ function xl() {
|
|
|
13330
13367
|
function y(T, P, G, D, V) {
|
|
13331
13368
|
var z = T[P];
|
|
13332
13369
|
if (!c(z)) {
|
|
13333
|
-
var Y =
|
|
13370
|
+
var Y = U(z);
|
|
13334
13371
|
return new A("Invalid " + D + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement."));
|
|
13335
13372
|
}
|
|
13336
13373
|
return null;
|
|
13337
13374
|
}
|
|
13338
13375
|
return w(y);
|
|
13339
13376
|
}
|
|
13340
|
-
function
|
|
13377
|
+
function v() {
|
|
13341
13378
|
function y(T, P, G, D, V) {
|
|
13342
13379
|
var z = T[P];
|
|
13343
13380
|
if (!e.isValidElementType(z)) {
|
|
13344
|
-
var Y =
|
|
13381
|
+
var Y = U(z);
|
|
13345
13382
|
return new A("Invalid " + D + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement type."));
|
|
13346
13383
|
}
|
|
13347
13384
|
return null;
|
|
@@ -13379,7 +13416,7 @@ function xl() {
|
|
|
13379
13416
|
function T(P, G, D, V, z) {
|
|
13380
13417
|
if (typeof y != "function")
|
|
13381
13418
|
return new A("Property `" + z + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
13382
|
-
var Y = P[G], ee =
|
|
13419
|
+
var Y = P[G], ee = U(Y);
|
|
13383
13420
|
if (ee !== "object")
|
|
13384
13421
|
return new A("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + D + "`, expected an object."));
|
|
13385
13422
|
for (var te in Y)
|
|
@@ -13427,7 +13464,7 @@ function xl() {
|
|
|
13427
13464
|
}
|
|
13428
13465
|
function H(y) {
|
|
13429
13466
|
function T(P, G, D, V, z) {
|
|
13430
|
-
var Y = P[G], ee =
|
|
13467
|
+
var Y = P[G], ee = U(Y);
|
|
13431
13468
|
if (ee !== "object")
|
|
13432
13469
|
return new A("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
13433
13470
|
for (var te in y) {
|
|
@@ -13444,7 +13481,7 @@ function xl() {
|
|
|
13444
13481
|
}
|
|
13445
13482
|
function se(y) {
|
|
13446
13483
|
function T(P, G, D, V, z) {
|
|
13447
|
-
var Y = P[G], ee =
|
|
13484
|
+
var Y = P[G], ee = U(Y);
|
|
13448
13485
|
if (ee !== "object")
|
|
13449
13486
|
return new A("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
13450
13487
|
var te = t({}, P[G], y);
|
|
@@ -13498,17 +13535,17 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13498
13535
|
return !1;
|
|
13499
13536
|
}
|
|
13500
13537
|
}
|
|
13501
|
-
function
|
|
13538
|
+
function x(y, T) {
|
|
13502
13539
|
return y === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
|
|
13503
13540
|
}
|
|
13504
|
-
function
|
|
13541
|
+
function U(y) {
|
|
13505
13542
|
var T = typeof y;
|
|
13506
|
-
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" :
|
|
13543
|
+
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : x(T, y) ? "symbol" : T;
|
|
13507
13544
|
}
|
|
13508
13545
|
function M(y) {
|
|
13509
13546
|
if (typeof y > "u" || y === null)
|
|
13510
13547
|
return "" + y;
|
|
13511
|
-
var T =
|
|
13548
|
+
var T = U(y);
|
|
13512
13549
|
if (T === "object") {
|
|
13513
13550
|
if (y instanceof Date)
|
|
13514
13551
|
return "date";
|
|
@@ -13537,10 +13574,10 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13537
13574
|
return g.checkPropTypes = r, g.resetWarningCache = r.resetWarningCache, g.PropTypes = g, g;
|
|
13538
13575
|
}, $t;
|
|
13539
13576
|
}
|
|
13540
|
-
var Zt,
|
|
13541
|
-
function
|
|
13542
|
-
if (
|
|
13543
|
-
|
|
13577
|
+
var Zt, Ua;
|
|
13578
|
+
function xl() {
|
|
13579
|
+
if (Ua) return Zt;
|
|
13580
|
+
Ua = 1;
|
|
13544
13581
|
var e = /* @__PURE__ */ ks();
|
|
13545
13582
|
function t() {
|
|
13546
13583
|
}
|
|
@@ -13585,14 +13622,14 @@ function Ul() {
|
|
|
13585
13622
|
return i.PropTypes = i, i;
|
|
13586
13623
|
}, Zt;
|
|
13587
13624
|
}
|
|
13588
|
-
var
|
|
13625
|
+
var xa;
|
|
13589
13626
|
function Rl() {
|
|
13590
|
-
if (
|
|
13591
|
-
if (
|
|
13627
|
+
if (xa) return gt.exports;
|
|
13628
|
+
if (xa = 1, process.env.NODE_ENV !== "production") {
|
|
13592
13629
|
var e = Rs(), t = !0;
|
|
13593
|
-
gt.exports = /* @__PURE__ */
|
|
13630
|
+
gt.exports = /* @__PURE__ */ Ul()(e.isElement, t);
|
|
13594
13631
|
} else
|
|
13595
|
-
gt.exports = /* @__PURE__ */
|
|
13632
|
+
gt.exports = /* @__PURE__ */ xl()();
|
|
13596
13633
|
return gt.exports;
|
|
13597
13634
|
}
|
|
13598
13635
|
var kl = /* @__PURE__ */ Rl();
|
|
@@ -13770,13 +13807,13 @@ function Ol() {
|
|
|
13770
13807
|
function g(f, A, w) {
|
|
13771
13808
|
if (typeof A != "string") {
|
|
13772
13809
|
if (h) {
|
|
13773
|
-
var
|
|
13774
|
-
|
|
13810
|
+
var b = m(A);
|
|
13811
|
+
b && b !== h && g(f, b, w);
|
|
13775
13812
|
}
|
|
13776
13813
|
var E = u(A);
|
|
13777
13814
|
l && (E = E.concat(l(A)));
|
|
13778
|
-
for (var N = o(f), S = o(A),
|
|
13779
|
-
var I = E[
|
|
13815
|
+
for (var N = o(f), S = o(A), v = 0; v < E.length; ++v) {
|
|
13816
|
+
var I = E[v];
|
|
13780
13817
|
if (!s[I] && !(w && w[I]) && !(S && S[I]) && !(N && N[I])) {
|
|
13781
13818
|
var R = d(A, I);
|
|
13782
13819
|
try {
|
|
@@ -13839,7 +13876,7 @@ function jl(e, t) {
|
|
|
13839
13876
|
m.observers[h](m);
|
|
13840
13877
|
delete window[t.callbackName];
|
|
13841
13878
|
}, l.componentDidMount = function() {
|
|
13842
|
-
var m = this, h = this.setupScriptURL(), g = this.asyncScriptLoaderGetScriptLoaderID(), f = t, A = f.globalName, w = f.callbackName,
|
|
13879
|
+
var m = this, h = this.setupScriptURL(), g = this.asyncScriptLoaderGetScriptLoaderID(), f = t, A = f.globalName, w = f.callbackName, b = f.scriptId;
|
|
13843
13880
|
if (A && typeof window[A] < "u" && (Ce[h] = {
|
|
13844
13881
|
loaded: !0,
|
|
13845
13882
|
observers: {}
|
|
@@ -13863,9 +13900,9 @@ function jl(e, t) {
|
|
|
13863
13900
|
};
|
|
13864
13901
|
var S = document.createElement("script");
|
|
13865
13902
|
S.src = h, S.async = !0;
|
|
13866
|
-
for (var
|
|
13867
|
-
S.setAttribute(
|
|
13868
|
-
|
|
13903
|
+
for (var v in t.attributes)
|
|
13904
|
+
S.setAttribute(v, t.attributes[v]);
|
|
13905
|
+
b && (S.id = b);
|
|
13869
13906
|
var I = function(Q) {
|
|
13870
13907
|
if (Ce[h]) {
|
|
13871
13908
|
var W = Ce[h], j = W.observers;
|
|
@@ -13953,7 +13990,7 @@ const Ln = jl(Hl, {
|
|
|
13953
13990
|
}) => {
|
|
13954
13991
|
const c = { ...Vl, ...o?.comentarios }, u = { ...ls, ...c.reportReasons ?? {} }, [l, d] = $("form"), [m, h] = $(
|
|
13955
13992
|
""
|
|
13956
|
-
), [g, f] = $(""), [A, w] = $(""),
|
|
13993
|
+
), [g, f] = $(""), [A, w] = $(""), b = [
|
|
13957
13994
|
{ id: "spam", label: u.spam },
|
|
13958
13995
|
{ id: "inappropriate", label: u.inappropriate },
|
|
13959
13996
|
{ id: "hate", label: u.hate },
|
|
@@ -13969,7 +14006,7 @@ const Ln = jl(Hl, {
|
|
|
13969
14006
|
}
|
|
13970
14007
|
d("loading"), f("");
|
|
13971
14008
|
try {
|
|
13972
|
-
const
|
|
14009
|
+
const v = await (await fetch("/api/comments-report", {
|
|
13973
14010
|
method: "POST",
|
|
13974
14011
|
headers: {
|
|
13975
14012
|
"Content-Type": "application/json"
|
|
@@ -13983,12 +14020,12 @@ const Ln = jl(Hl, {
|
|
|
13983
14020
|
// Enviamos el label completo
|
|
13984
14021
|
})
|
|
13985
14022
|
})).json();
|
|
13986
|
-
if (
|
|
14023
|
+
if (v.type === "success")
|
|
13987
14024
|
Nl(document, s), d("success"), setTimeout(() => {
|
|
13988
14025
|
N();
|
|
13989
14026
|
}, 3e3);
|
|
13990
14027
|
else
|
|
13991
|
-
throw new Error(
|
|
14028
|
+
throw new Error(v.message || c.errorReportComment);
|
|
13992
14029
|
} catch (S) {
|
|
13993
14030
|
console.error("Error reporting comment:", S), f(S.message || c.errorReportComment), d("form");
|
|
13994
14031
|
}
|
|
@@ -14001,7 +14038,7 @@ const Ln = jl(Hl, {
|
|
|
14001
14038
|
/* @__PURE__ */ a("h2", { className: "sass-pg-cmt-rp-title", children: c.reportAbuseTitle }),
|
|
14002
14039
|
l === "loading" && /* @__PURE__ */ a("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ a(Ls, {}) }),
|
|
14003
14040
|
l === "form" || l === "loading" ? /* @__PURE__ */ p(J, { children: [
|
|
14004
|
-
/* @__PURE__ */ a("div", { className: "sass-pg-cmt-rp-optionsContainer", children:
|
|
14041
|
+
/* @__PURE__ */ a("div", { className: "sass-pg-cmt-rp-optionsContainer", children: b.map((S) => /* @__PURE__ */ p("label", { className: "sass-pg-cmt-rp-option", children: [
|
|
14005
14042
|
/* @__PURE__ */ a(
|
|
14006
14043
|
"input",
|
|
14007
14044
|
{
|
|
@@ -14009,7 +14046,7 @@ const Ln = jl(Hl, {
|
|
|
14009
14046
|
name: "reportReason",
|
|
14010
14047
|
value: S.id,
|
|
14011
14048
|
checked: m === S.id,
|
|
14012
|
-
onChange: (
|
|
14049
|
+
onChange: (v) => h(v.target.value),
|
|
14013
14050
|
className: "sass-pg-cmt-rp-radioInput"
|
|
14014
14051
|
}
|
|
14015
14052
|
),
|
|
@@ -14084,21 +14121,21 @@ function zl(e) {
|
|
|
14084
14121
|
text: e
|
|
14085
14122
|
};
|
|
14086
14123
|
}
|
|
14087
|
-
function
|
|
14124
|
+
function xt(e) {
|
|
14088
14125
|
const t = e.comments.map((s) => {
|
|
14089
14126
|
if (s.user)
|
|
14090
14127
|
return {
|
|
14091
14128
|
...s,
|
|
14092
14129
|
user: s.user,
|
|
14093
14130
|
text: s.text,
|
|
14094
|
-
reply: s.reply ?
|
|
14131
|
+
reply: s.reply ? xt({ comments: s.reply }).comments : s.reply
|
|
14095
14132
|
};
|
|
14096
14133
|
const { user: n, text: r } = zl(s.text);
|
|
14097
14134
|
return {
|
|
14098
14135
|
...s,
|
|
14099
14136
|
user: n || !1,
|
|
14100
14137
|
text: r,
|
|
14101
|
-
reply: s.reply ?
|
|
14138
|
+
reply: s.reply ? xt({ comments: s.reply }).comments : s.reply
|
|
14102
14139
|
};
|
|
14103
14140
|
});
|
|
14104
14141
|
return {
|
|
@@ -14130,13 +14167,13 @@ async function Ps({
|
|
|
14130
14167
|
apiToken: c,
|
|
14131
14168
|
API_ENV: u
|
|
14132
14169
|
});
|
|
14133
|
-
return
|
|
14170
|
+
return xt(d[0]);
|
|
14134
14171
|
} else {
|
|
14135
14172
|
const d = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${s}&sizereply=${n}&lastid=${i}`);
|
|
14136
14173
|
if (!d.ok)
|
|
14137
14174
|
throw new Error(`Error al obtener comentarios: ${d.status}`);
|
|
14138
14175
|
const m = await d.json();
|
|
14139
|
-
return
|
|
14176
|
+
return xt(m.data[0]);
|
|
14140
14177
|
}
|
|
14141
14178
|
}
|
|
14142
14179
|
async function Wl({
|
|
@@ -14169,9 +14206,9 @@ async function Wl({
|
|
|
14169
14206
|
state: o
|
|
14170
14207
|
});
|
|
14171
14208
|
r && w.append("id", r), i && w.append("lastid", i);
|
|
14172
|
-
const
|
|
14209
|
+
const b = `${A}${h}/newcomments/get?${w.toString()}`;
|
|
14173
14210
|
try {
|
|
14174
|
-
const { data: E } = await re.get(
|
|
14211
|
+
const { data: E } = await re.get(b, {
|
|
14175
14212
|
headers: {
|
|
14176
14213
|
"x-api-token": c,
|
|
14177
14214
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -14217,7 +14254,7 @@ const Yl = (e, t) => {
|
|
|
14217
14254
|
}, Pn = ({ username: e, date: t, DATE_CONFIG: s }) => /* @__PURE__ */ p("div", { className: "comment-header su-flex su-items-center su-relative su-flex-wrap", children: [
|
|
14218
14255
|
/* @__PURE__ */ a("span", { className: "comment-username su-font-bold su-truncate", children: e }),
|
|
14219
14256
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
14220
|
-
/* @__PURE__ */ a("span", { className: "comment-date su-truncate", children: Cl(
|
|
14257
|
+
/* @__PURE__ */ a("span", { className: "comment-date su-truncate", children: Cl(Ue(Number(t), s)) })
|
|
14221
14258
|
] }), Bn = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar su-flex-center su-rounded-full su-font-bold su-overflow-hidden", children: e.picture ? /* @__PURE__ */ a(
|
|
14222
14259
|
"img",
|
|
14223
14260
|
{
|
|
@@ -14430,8 +14467,8 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14430
14467
|
if (!u || !s.CONFIG_commentsV2 || !i || !document) return;
|
|
14431
14468
|
const g = document.getElementById("comment-button");
|
|
14432
14469
|
if (!g) return;
|
|
14433
|
-
const f = g.closest(".comment-form"), A = f?.querySelector('input[name="username"]'), w = f?.querySelector('textarea[name="comment"]'),
|
|
14434
|
-
A?.value?.trim() && w?.value?.trim() &&
|
|
14470
|
+
const f = g.closest(".comment-form"), A = f?.querySelector('input[name="username"]'), w = f?.querySelector('textarea[name="comment"]'), b = f?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
14471
|
+
A?.value?.trim() && w?.value?.trim() && b?.value?.trim() && g.click();
|
|
14435
14472
|
});
|
|
14436
14473
|
const h = oe("/Success.gif");
|
|
14437
14474
|
return o ? /* @__PURE__ */ a("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ a("img", { className: "success-gif su-absolute", src: h }) }) : /* @__PURE__ */ p(J, { children: [
|
|
@@ -14517,7 +14554,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14517
14554
|
throw new Error(
|
|
14518
14555
|
`Error al enviar comentario: ${A?.message} status: ${f.status}`
|
|
14519
14556
|
);
|
|
14520
|
-
const w = Date.now(),
|
|
14557
|
+
const w = Date.now(), b = Math.max(0, 2400 + Math.abs(w - g)), E = r || { username: u, firstname: u }, N = {
|
|
14521
14558
|
username: E.username,
|
|
14522
14559
|
firstname: E.firstname,
|
|
14523
14560
|
...E.lastname && { lastname: E.lastname },
|
|
@@ -14529,7 +14566,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14529
14566
|
user: N,
|
|
14530
14567
|
date: { time: Date.now() },
|
|
14531
14568
|
reply: []
|
|
14532
|
-
}), t.current && (t.current.value = ""),
|
|
14569
|
+
}), t.current && (t.current.value = ""), b;
|
|
14533
14570
|
} catch (g) {
|
|
14534
14571
|
return console.error("Error enviando comentario:", g), alert(g.message || "Error al enviar el comentario."), !1;
|
|
14535
14572
|
}
|
|
@@ -14608,11 +14645,11 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14608
14645
|
}, Xl = {
|
|
14609
14646
|
moreRepliesButton: "Más Respuestas"
|
|
14610
14647
|
}, ed = ({ comment: e, replyingTo: t, path: s, user: n, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: c }) => {
|
|
14611
|
-
const u = { ...Xl, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = $(l), [h, g] = le.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: A } = o, w = e.text,
|
|
14648
|
+
const u = { ...Xl, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = $(l), [h, g] = le.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: A } = o, w = e.text, b = le.useRef(null);
|
|
14612
14649
|
let E = `${Ie.firstname} ${Ie.lastname ?? ""}`, N = Ie.username;
|
|
14613
14650
|
e.user && (E = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
14614
|
-
const S = (
|
|
14615
|
-
m({ morereply: d.morereply, reply: [
|
|
14651
|
+
const S = (v) => {
|
|
14652
|
+
m({ morereply: d.morereply, reply: [v, ...d.reply] });
|
|
14616
14653
|
};
|
|
14617
14654
|
return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ p(
|
|
14618
14655
|
"div",
|
|
@@ -14636,7 +14673,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14636
14673
|
$l,
|
|
14637
14674
|
{
|
|
14638
14675
|
replyingTo: t,
|
|
14639
|
-
commentRef:
|
|
14676
|
+
commentRef: b,
|
|
14640
14677
|
addReply: S,
|
|
14641
14678
|
user: n,
|
|
14642
14679
|
path: s,
|
|
@@ -14645,23 +14682,23 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14645
14682
|
}
|
|
14646
14683
|
),
|
|
14647
14684
|
d.reply.length > 0 && /* @__PURE__ */ p("div", { className: "comment-replies", children: [
|
|
14648
|
-
d.reply.map((
|
|
14685
|
+
d.reply.map((v) => /* @__PURE__ */ a(
|
|
14649
14686
|
Zl,
|
|
14650
14687
|
{
|
|
14651
14688
|
user: n,
|
|
14652
|
-
reply:
|
|
14689
|
+
reply: v,
|
|
14653
14690
|
replyingTo: E,
|
|
14654
14691
|
onFlag: i,
|
|
14655
14692
|
DATE_CONFIG: o
|
|
14656
14693
|
},
|
|
14657
|
-
|
|
14694
|
+
v.id
|
|
14658
14695
|
)),
|
|
14659
14696
|
h ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(Ls, {}) }) : d.morereply && /* @__PURE__ */ a(
|
|
14660
14697
|
"button",
|
|
14661
14698
|
{
|
|
14662
14699
|
className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
|
|
14663
14700
|
onClick: async () => {
|
|
14664
|
-
const
|
|
14701
|
+
const v = d.reply[d.reply.length - 1]?.id;
|
|
14665
14702
|
g(!0);
|
|
14666
14703
|
try {
|
|
14667
14704
|
const R = await Ps({
|
|
@@ -14670,7 +14707,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14670
14707
|
size: 2,
|
|
14671
14708
|
sizereply: 2,
|
|
14672
14709
|
id: e.id,
|
|
14673
|
-
lastid:
|
|
14710
|
+
lastid: v,
|
|
14674
14711
|
state: "5,6",
|
|
14675
14712
|
apiToken: A ?? "",
|
|
14676
14713
|
API_ENV: o
|
|
@@ -14837,23 +14874,23 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14837
14874
|
}) => {
|
|
14838
14875
|
const u = { ...nd, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: d } = o, m = l ?? "", h = t.replaceAll("/", "|"), [g, f] = $(
|
|
14839
14876
|
void 0
|
|
14840
|
-
), [A, w] = $(""), { comments:
|
|
14841
|
-
w(A ===
|
|
14842
|
-
}, Q = (
|
|
14877
|
+
), [A, w] = $(""), { comments: b, setComments: E } = Yl(h, o), [N, S] = le.useState(!1), v = le.useRef(null), I = le.useRef(null), R = (x) => {
|
|
14878
|
+
w(A === x ? "" : x);
|
|
14879
|
+
}, Q = (x) => {
|
|
14843
14880
|
E(
|
|
14844
|
-
|
|
14845
|
-
...
|
|
14846
|
-
comments: [
|
|
14881
|
+
b ? {
|
|
14882
|
+
...b,
|
|
14883
|
+
comments: [x, ...b.comments ?? []]
|
|
14847
14884
|
} : void 0
|
|
14848
14885
|
);
|
|
14849
|
-
}, W = (
|
|
14850
|
-
f(
|
|
14886
|
+
}, W = (x) => {
|
|
14887
|
+
f(x);
|
|
14851
14888
|
}, j = async () => {
|
|
14852
|
-
if (!
|
|
14853
|
-
const
|
|
14854
|
-
if (!
|
|
14889
|
+
if (!b || !b.morecomment || b.comments.length === 0) return;
|
|
14890
|
+
const x = b.comments[b.comments.length - 1];
|
|
14891
|
+
if (!x) return;
|
|
14855
14892
|
S(!0);
|
|
14856
|
-
const
|
|
14893
|
+
const U = x.id;
|
|
14857
14894
|
try {
|
|
14858
14895
|
const M = await Ps({
|
|
14859
14896
|
publication: m,
|
|
@@ -14861,19 +14898,19 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14861
14898
|
size: 5,
|
|
14862
14899
|
sizereply: 2,
|
|
14863
14900
|
id: void 0,
|
|
14864
|
-
lastid:
|
|
14901
|
+
lastid: U,
|
|
14865
14902
|
state: "5,6",
|
|
14866
14903
|
apiToken: d,
|
|
14867
14904
|
API_ENV: o
|
|
14868
14905
|
});
|
|
14869
14906
|
E({
|
|
14870
14907
|
morecomment: M.morecomment ?? !1,
|
|
14871
|
-
comments: [...
|
|
14908
|
+
comments: [...b.comments, ...M.comments]
|
|
14872
14909
|
}), S(!1);
|
|
14873
14910
|
} catch (M) {
|
|
14874
14911
|
throw S(!1), new Error(`Error al obtener comentarios: ${M}`);
|
|
14875
14912
|
}
|
|
14876
|
-
}, L =
|
|
14913
|
+
}, L = b?.comments && b.comments.length > 0, H = L ? u.commentHeaderMessageWithComments : u.commentHeaderMessageEmpty, se = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Ls, {}) }), q = () => {
|
|
14877
14914
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login");
|
|
14878
14915
|
};
|
|
14879
14916
|
return /* @__PURE__ */ p(J, { children: [
|
|
@@ -14890,7 +14927,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14890
14927
|
/* @__PURE__ */ a(
|
|
14891
14928
|
td,
|
|
14892
14929
|
{
|
|
14893
|
-
commentRef:
|
|
14930
|
+
commentRef: v,
|
|
14894
14931
|
user: s,
|
|
14895
14932
|
addComment: Q,
|
|
14896
14933
|
path: h,
|
|
@@ -14907,7 +14944,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14907
14944
|
ad,
|
|
14908
14945
|
{
|
|
14909
14946
|
usernameRef: I,
|
|
14910
|
-
commentRef:
|
|
14947
|
+
commentRef: v,
|
|
14911
14948
|
icon: r,
|
|
14912
14949
|
handleGoogleLogin: i,
|
|
14913
14950
|
addComment: Q,
|
|
@@ -14916,16 +14953,16 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14916
14953
|
}
|
|
14917
14954
|
)
|
|
14918
14955
|
] }) : null }),
|
|
14919
|
-
|
|
14956
|
+
b ? b.comments && b.comments.length > 0 ? /* @__PURE__ */ p(
|
|
14920
14957
|
"div",
|
|
14921
14958
|
{
|
|
14922
14959
|
className: "comments-list",
|
|
14923
14960
|
"data-isauthenticated": `${e}`,
|
|
14924
14961
|
children: [
|
|
14925
|
-
|
|
14962
|
+
b.comments.map((x) => /* @__PURE__ */ a(
|
|
14926
14963
|
ed,
|
|
14927
14964
|
{
|
|
14928
|
-
comment:
|
|
14965
|
+
comment: x,
|
|
14929
14966
|
replyingTo: A,
|
|
14930
14967
|
handleReplyingTo: R,
|
|
14931
14968
|
onFlag: W,
|
|
@@ -14934,13 +14971,13 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14934
14971
|
API_ENV: o,
|
|
14935
14972
|
texts: c
|
|
14936
14973
|
},
|
|
14937
|
-
|
|
14974
|
+
x.id
|
|
14938
14975
|
)),
|
|
14939
14976
|
N && se
|
|
14940
14977
|
]
|
|
14941
14978
|
}
|
|
14942
14979
|
) : null : se,
|
|
14943
|
-
|
|
14980
|
+
b?.morecomment && !N && /* @__PURE__ */ a(
|
|
14944
14981
|
"button",
|
|
14945
14982
|
{
|
|
14946
14983
|
className: "comment-replies-button su-flex-center su-rounded-full",
|
|
@@ -15147,7 +15184,7 @@ async function Bu({
|
|
|
15147
15184
|
message: "El comentario no puede estar vacío.",
|
|
15148
15185
|
status: 400
|
|
15149
15186
|
};
|
|
15150
|
-
const d = await
|
|
15187
|
+
const d = await xn(i, l);
|
|
15151
15188
|
if (console.log("Verifying captcha token...", d), !d)
|
|
15152
15189
|
return {
|
|
15153
15190
|
type: "error",
|
|
@@ -15351,7 +15388,7 @@ const qn = async (e, t) => {
|
|
|
15351
15388
|
/* @__PURE__ */ a("p", { className: "sass-bd-dnfw-title", children: r?.main?.title.home }),
|
|
15352
15389
|
r?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: "sass-bd-dnfw-subtitle", children: r?.main?.subtitle?.striped })
|
|
15353
15390
|
] }),
|
|
15354
|
-
/* @__PURE__ */ a(
|
|
15391
|
+
/* @__PURE__ */ a(be, { preview: r.preview })
|
|
15355
15392
|
]
|
|
15356
15393
|
}
|
|
15357
15394
|
) }),
|
|
@@ -15396,7 +15433,7 @@ const qn = async (e, t) => {
|
|
|
15396
15433
|
"Destacado noticias": (e) => /* @__PURE__ */ a(dc, { ...e }),
|
|
15397
15434
|
"Destacado full width": (e) => /* @__PURE__ */ a(ud, { ...e }),
|
|
15398
15435
|
"Destacado videos": (e) => /* @__PURE__ */ a(pc, { ...e }),
|
|
15399
|
-
"Carrusel card": (e) => /* @__PURE__ */ a(
|
|
15436
|
+
"Carrusel card": (e) => /* @__PURE__ */ a(vc, { ...e }),
|
|
15400
15437
|
"Carrusel story": (e) => /* @__PURE__ */ a(cd, { ...e }),
|
|
15401
15438
|
"Carrusel owl": (e) => /* @__PURE__ */ a(ld, { ...e }),
|
|
15402
15439
|
"Modulo fotogaleria": (e) => /* @__PURE__ */ a(dd, { ...e }),
|
|
@@ -15432,6 +15469,8 @@ const Pa = {
|
|
|
15432
15469
|
block: t,
|
|
15433
15470
|
banners: e.banners,
|
|
15434
15471
|
showSuper: e.showSuper,
|
|
15472
|
+
heightImageOverwrite: e.heightImageOverwrite,
|
|
15473
|
+
heightImageOverwriteMobile: e.heightImageOverwriteMobile,
|
|
15435
15474
|
rightOnlyBanner: e.rightOnlyBanner,
|
|
15436
15475
|
customSectionCardStyles: e.customSectionCardStyles,
|
|
15437
15476
|
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
@@ -15623,7 +15662,7 @@ export {
|
|
|
15623
15662
|
Ve as BannerAdvertisingMiddle,
|
|
15624
15663
|
su as CarrouselCSR,
|
|
15625
15664
|
je as CarrouselIRS,
|
|
15626
|
-
|
|
15665
|
+
vc as CarruselCard,
|
|
15627
15666
|
yc as CarruselOpinion,
|
|
15628
15667
|
Lu as CommentLazyLoader,
|
|
15629
15668
|
Be as CommonServices,
|
|
@@ -15641,7 +15680,7 @@ export {
|
|
|
15641
15680
|
Mu as DynamicComponents,
|
|
15642
15681
|
es as DynamicMainSlot,
|
|
15643
15682
|
La as DynamicSlot,
|
|
15644
|
-
|
|
15683
|
+
vu as EditorialBlock,
|
|
15645
15684
|
cu as ErrorComponent,
|
|
15646
15685
|
qr as Font,
|
|
15647
15686
|
ru as Footer,
|
|
@@ -15653,11 +15692,11 @@ export {
|
|
|
15653
15692
|
eu as GenerateBody,
|
|
15654
15693
|
Xd as GenerateHead,
|
|
15655
15694
|
gu as Header,
|
|
15656
|
-
|
|
15695
|
+
xc as HeaderSectionComponent,
|
|
15657
15696
|
Au as HomeCard,
|
|
15658
15697
|
Tc as IframeHeader,
|
|
15659
15698
|
Lo as ImageOffline,
|
|
15660
|
-
|
|
15699
|
+
be as ImageOnline,
|
|
15661
15700
|
ko as ImageOnlineClient,
|
|
15662
15701
|
Jd as IssuuServices,
|
|
15663
15702
|
kr as ItemListSchema,
|
|
@@ -15676,7 +15715,7 @@ export {
|
|
|
15676
15715
|
wc as Modulo1x3Card,
|
|
15677
15716
|
fc as Modulo1x4,
|
|
15678
15717
|
gc as Modulo1x5,
|
|
15679
|
-
|
|
15718
|
+
bu as Modulo2Columnas,
|
|
15680
15719
|
mc as Modulo3Columnas,
|
|
15681
15720
|
yu as ModuloNewsletter,
|
|
15682
15721
|
wu as ModuloOpinion,
|
|
@@ -15693,7 +15732,7 @@ export {
|
|
|
15693
15732
|
pd as ReCaptchaRender,
|
|
15694
15733
|
Ts as Readest,
|
|
15695
15734
|
Tu as RegisterForm,
|
|
15696
|
-
|
|
15735
|
+
Uu as ScriptHydrator,
|
|
15697
15736
|
Eu as SearchSection,
|
|
15698
15737
|
he as Section,
|
|
15699
15738
|
ke as SectionCard,
|
|
@@ -15702,7 +15741,7 @@ export {
|
|
|
15702
15741
|
Cu as SectionServerComponent,
|
|
15703
15742
|
ma as ShowSection,
|
|
15704
15743
|
Tn as SocialNetworks,
|
|
15705
|
-
|
|
15744
|
+
xr as SpeculationRules,
|
|
15706
15745
|
at as Spin,
|
|
15707
15746
|
qu as StaticSlotWrapper,
|
|
15708
15747
|
Bo as SubscribeColumn,
|
|
@@ -15711,8 +15750,8 @@ export {
|
|
|
15711
15750
|
pu as TagHeader,
|
|
15712
15751
|
rc as TagSection,
|
|
15713
15752
|
Wo as TimeLine,
|
|
15714
|
-
|
|
15715
|
-
|
|
15753
|
+
bd as TrimPathname,
|
|
15754
|
+
xu as TwitterHydration,
|
|
15716
15755
|
iu as VideoBlock3,
|
|
15717
15756
|
fu as VideoBlock4,
|
|
15718
15757
|
Sc as VideoEmbeddedHeader,
|
|
@@ -15726,13 +15765,13 @@ export {
|
|
|
15726
15765
|
nu as coloringByStrokeSVGs,
|
|
15727
15766
|
Ds as compileStyleProps,
|
|
15728
15767
|
Ed as createAssessment,
|
|
15729
|
-
|
|
15768
|
+
xe as cutString,
|
|
15730
15769
|
_a as decodeApiEnv,
|
|
15731
|
-
|
|
15770
|
+
Ud as encodeApiEnv,
|
|
15732
15771
|
ye as extractMainSlug,
|
|
15733
15772
|
wd as extractRealtedNews,
|
|
15734
15773
|
ns as extractRelatedNews,
|
|
15735
|
-
|
|
15774
|
+
Ue as formatDate,
|
|
15736
15775
|
Ad as formatDateEdiciones,
|
|
15737
15776
|
gs as formatDateJournalistArticule,
|
|
15738
15777
|
ir as formatDateTimeline,
|
|
@@ -15744,10 +15783,10 @@ export {
|
|
|
15744
15783
|
_ as getConfig,
|
|
15745
15784
|
$d as getDynamicSlots,
|
|
15746
15785
|
st as getEnvironmentUrl,
|
|
15747
|
-
|
|
15786
|
+
vd as getEnvironmentUrlFront,
|
|
15748
15787
|
Nd as getHydratorPath,
|
|
15749
15788
|
ue as getImageUrl,
|
|
15750
|
-
|
|
15789
|
+
xd as getItemFormated,
|
|
15751
15790
|
lt as getNextMeta,
|
|
15752
15791
|
ut as getPage,
|
|
15753
15792
|
hn as getPlayIcon,
|
|
@@ -15767,14 +15806,14 @@ export {
|
|
|
15767
15806
|
gd as initLibrary,
|
|
15768
15807
|
Id as isPhotoGallery,
|
|
15769
15808
|
Ar as metadataToJSX,
|
|
15770
|
-
|
|
15809
|
+
vo as metadata_defaults,
|
|
15771
15810
|
qa as parseTags,
|
|
15772
15811
|
fr as pathnameSplit,
|
|
15773
15812
|
ur as processExtractedRelatedNews,
|
|
15774
15813
|
Mr as removePages,
|
|
15775
15814
|
Ru as reportComment,
|
|
15776
15815
|
Fo as shareButtons,
|
|
15777
|
-
|
|
15816
|
+
Us as socialIcons,
|
|
15778
15817
|
Ir as speculationRules,
|
|
15779
15818
|
Tr as speculationRulesHome,
|
|
15780
15819
|
Fe as toISOWithTimeZone,
|