sass-template-common 0.9.75 → 0.9.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -36
- package/dist/sass-template-common.js +709 -709
- package/dist/sass-template-common.umd.cjs +38 -38
- package/package.json +68 -68
|
@@ -67,11 +67,11 @@ let ns = {
|
|
|
67
67
|
function Cd(e = {}) {
|
|
68
68
|
ns = { ...ns, ...e };
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function q() {
|
|
71
71
|
return ns;
|
|
72
72
|
}
|
|
73
73
|
const _a = () => {
|
|
74
|
-
const { ANALYTICS_comscore: e } =
|
|
74
|
+
const { ANALYTICS_comscore: e } = q();
|
|
75
75
|
return e && /* @__PURE__ */ n(
|
|
76
76
|
"script",
|
|
77
77
|
{
|
|
@@ -96,7 +96,7 @@ const _a = () => {
|
|
|
96
96
|
return Object.keys(t).forEach((i) => {
|
|
97
97
|
r[i] = i;
|
|
98
98
|
}), r;
|
|
99
|
-
}, [t]), { ANALYTICS_ga4: a } =
|
|
99
|
+
}, [t]), { ANALYTICS_ga4: a } = q();
|
|
100
100
|
return a && /* @__PURE__ */ p(J, { children: [
|
|
101
101
|
/* @__PURE__ */ n("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + a }),
|
|
102
102
|
/* @__PURE__ */ n(
|
|
@@ -119,7 +119,7 @@ const _a = () => {
|
|
|
119
119
|
)
|
|
120
120
|
] });
|
|
121
121
|
}, Qa = () => {
|
|
122
|
-
const { ANALYTICS_gtm: e } =
|
|
122
|
+
const { ANALYTICS_gtm: e } = q();
|
|
123
123
|
return e && /* @__PURE__ */ p(J, { children: [
|
|
124
124
|
/* @__PURE__ */ n(
|
|
125
125
|
"script",
|
|
@@ -147,7 +147,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
147
147
|
) })
|
|
148
148
|
] });
|
|
149
149
|
}, Ha = () => {
|
|
150
|
-
const { ANALYTICS_marfeel: e } =
|
|
150
|
+
const { ANALYTICS_marfeel: e } = q();
|
|
151
151
|
return e && /* @__PURE__ */ n(
|
|
152
152
|
"script",
|
|
153
153
|
{
|
|
@@ -158,7 +158,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
158
158
|
}
|
|
159
159
|
);
|
|
160
160
|
}, Nd = ({ defaultRouteName: e }) => {
|
|
161
|
-
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: a = !1 } =
|
|
161
|
+
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: a = !1 } = q();
|
|
162
162
|
return t && t !== "" && (e === "video" && s && !a || e === "news" && s && !a || e === "auth" || e === "anuncia" || e === "contacto") && /* @__PURE__ */ n(
|
|
163
163
|
"script",
|
|
164
164
|
{
|
|
@@ -177,58 +177,58 @@ function qn() {
|
|
|
177
177
|
(function(s, a) {
|
|
178
178
|
e.exports = a();
|
|
179
179
|
})(Va, (function() {
|
|
180
|
-
var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month",
|
|
181
|
-
var x = ["th", "st", "nd", "rd"], U =
|
|
182
|
-
return "[" +
|
|
183
|
-
} }, N = function(
|
|
184
|
-
var
|
|
185
|
-
return !
|
|
186
|
-
}, S = { s: N, z: function(
|
|
187
|
-
var x = -
|
|
188
|
-
return (x <= 0 ? "+" : "-") + N(
|
|
189
|
-
}, m: function
|
|
190
|
-
if (x.date() < U.date()) return -
|
|
191
|
-
var
|
|
192
|
-
return +(-(
|
|
193
|
-
}, a: function(
|
|
194
|
-
return
|
|
195
|
-
}, p: function(
|
|
196
|
-
return { M: m, y: A, w: u, d: l, D:
|
|
197
|
-
}, u: function(
|
|
198
|
-
return
|
|
180
|
+
var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", h = "quarter", A = "year", f = "date", g = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|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(M) {
|
|
181
|
+
var x = ["th", "st", "nd", "rd"], U = M % 100;
|
|
182
|
+
return "[" + M + (x[(U - 20) % 10] || x[U] || x[0]) + "]";
|
|
183
|
+
} }, N = function(M, x, U) {
|
|
184
|
+
var D = String(M);
|
|
185
|
+
return !D || D.length >= x ? M : "" + Array(x + 1 - D.length).join(U) + M;
|
|
186
|
+
}, S = { s: N, z: function(M) {
|
|
187
|
+
var x = -M.utcOffset(), U = Math.abs(x), D = Math.floor(U / 60), k = U % 60;
|
|
188
|
+
return (x <= 0 ? "+" : "-") + N(D, 2, "0") + ":" + N(k, 2, "0");
|
|
189
|
+
}, m: function M(x, U) {
|
|
190
|
+
if (x.date() < U.date()) return -M(U, x);
|
|
191
|
+
var D = 12 * (U.year() - x.year()) + (U.month() - x.month()), k = x.clone().add(D, m), F = U - k < 0, y = x.clone().add(D + (F ? -1 : 1), m);
|
|
192
|
+
return +(-(D + (U - k) / (F ? k - y : y - k)) || 0);
|
|
193
|
+
}, a: function(M) {
|
|
194
|
+
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
195
|
+
}, p: function(M) {
|
|
196
|
+
return { M: m, y: A, w: u, d: l, D: f, h: d, m: c, s: o, ms: i, Q: h }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
197
|
+
}, u: function(M) {
|
|
198
|
+
return M === void 0;
|
|
199
199
|
} }, b = "en", I = {};
|
|
200
200
|
I[b] = E;
|
|
201
|
-
var R = "$isDayjsObject", Q = function(
|
|
202
|
-
return
|
|
203
|
-
}, W = function
|
|
201
|
+
var R = "$isDayjsObject", Q = function(M) {
|
|
202
|
+
return M instanceof H || !(!M || !M[R]);
|
|
203
|
+
}, W = function M(x, U, D) {
|
|
204
204
|
var k;
|
|
205
205
|
if (!x) return b;
|
|
206
206
|
if (typeof x == "string") {
|
|
207
207
|
var F = x.toLowerCase();
|
|
208
208
|
I[F] && (k = F), U && (I[F] = U, k = F);
|
|
209
209
|
var y = x.split("-");
|
|
210
|
-
if (!k && y.length > 1) return
|
|
210
|
+
if (!k && y.length > 1) return M(y[0]);
|
|
211
211
|
} else {
|
|
212
212
|
var T = x.name;
|
|
213
213
|
I[T] = x, k = T;
|
|
214
214
|
}
|
|
215
|
-
return !
|
|
216
|
-
}, j = function(
|
|
217
|
-
if (Q(
|
|
215
|
+
return !D && k && (b = k), k || !D && b;
|
|
216
|
+
}, j = function(M, x) {
|
|
217
|
+
if (Q(M)) return M.clone();
|
|
218
218
|
var U = typeof x == "object" ? x : {};
|
|
219
|
-
return U.date =
|
|
219
|
+
return U.date = M, U.args = arguments, new H(U);
|
|
220
220
|
}, L = S;
|
|
221
|
-
L.l = W, L.i = Q, L.w = function(
|
|
222
|
-
return j(
|
|
221
|
+
L.l = W, L.i = Q, L.w = function(M, x) {
|
|
222
|
+
return j(M, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
|
|
223
223
|
};
|
|
224
224
|
var H = (function() {
|
|
225
|
-
function
|
|
225
|
+
function M(U) {
|
|
226
226
|
this.$L = W(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[R] = !0;
|
|
227
227
|
}
|
|
228
|
-
var x =
|
|
228
|
+
var x = M.prototype;
|
|
229
229
|
return x.parse = function(U) {
|
|
230
|
-
this.$d = (function(
|
|
231
|
-
var k =
|
|
230
|
+
this.$d = (function(D) {
|
|
231
|
+
var k = D.date, F = D.utc;
|
|
232
232
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
233
233
|
if (L.u(k)) return /* @__PURE__ */ new Date();
|
|
234
234
|
if (k instanceof Date) return new Date(k);
|
|
@@ -248,36 +248,36 @@ function qn() {
|
|
|
248
248
|
return L;
|
|
249
249
|
}, x.isValid = function() {
|
|
250
250
|
return this.$d.toString() !== g;
|
|
251
|
-
}, x.isSame = function(U,
|
|
251
|
+
}, x.isSame = function(U, D) {
|
|
252
252
|
var k = j(U);
|
|
253
|
-
return this.startOf(
|
|
254
|
-
}, x.isAfter = function(U,
|
|
255
|
-
return j(U) < this.startOf(
|
|
256
|
-
}, x.isBefore = function(U,
|
|
257
|
-
return this.endOf(
|
|
258
|
-
}, x.$g = function(U,
|
|
259
|
-
return L.u(U) ? this[
|
|
253
|
+
return this.startOf(D) <= k && k <= this.endOf(D);
|
|
254
|
+
}, x.isAfter = function(U, D) {
|
|
255
|
+
return j(U) < this.startOf(D);
|
|
256
|
+
}, x.isBefore = function(U, D) {
|
|
257
|
+
return this.endOf(D) < j(U);
|
|
258
|
+
}, x.$g = function(U, D, k) {
|
|
259
|
+
return L.u(U) ? this[D] : this.set(k, U);
|
|
260
260
|
}, x.unix = function() {
|
|
261
261
|
return Math.floor(this.valueOf() / 1e3);
|
|
262
262
|
}, x.valueOf = function() {
|
|
263
263
|
return this.$d.getTime();
|
|
264
|
-
}, x.startOf = function(U,
|
|
265
|
-
var k = this, F = !!L.u(
|
|
264
|
+
}, x.startOf = function(U, D) {
|
|
265
|
+
var k = this, F = !!L.u(D) || D, 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) {
|
|
269
269
|
return L.w(k.toDate()[te].apply(k.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), k);
|
|
270
|
-
}, G = this.$W,
|
|
270
|
+
}, G = this.$W, _ = this.$M, V = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
271
271
|
switch (y) {
|
|
272
272
|
case A:
|
|
273
273
|
return F ? T(1, 0) : T(31, 11);
|
|
274
274
|
case m:
|
|
275
|
-
return F ? T(1,
|
|
275
|
+
return F ? T(1, _) : T(0, _ + 1);
|
|
276
276
|
case u:
|
|
277
277
|
var Y = this.$locale().weekStart || 0, ee = (G < Y ? G + 7 : G) - Y;
|
|
278
|
-
return T(F ? V - ee : V + (6 - ee),
|
|
278
|
+
return T(F ? V - ee : V + (6 - ee), _);
|
|
279
279
|
case l:
|
|
280
|
-
case
|
|
280
|
+
case f:
|
|
281
281
|
return P(z + "Hours", 0);
|
|
282
282
|
case d:
|
|
283
283
|
return P(z + "Minutes", 1);
|
|
@@ -290,23 +290,23 @@ function qn() {
|
|
|
290
290
|
}
|
|
291
291
|
}, x.endOf = function(U) {
|
|
292
292
|
return this.startOf(U, !1);
|
|
293
|
-
}, x.$set = function(U,
|
|
294
|
-
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[
|
|
293
|
+
}, x.$set = function(U, D) {
|
|
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[A] = y + "FullYear", k[d] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (D - this.$W) : D;
|
|
295
295
|
if (F === m || F === A) {
|
|
296
|
-
var G = this.clone().set(
|
|
297
|
-
G.$d[T](P), G.init(), this.$d = G.set(
|
|
296
|
+
var G = this.clone().set(f, 1);
|
|
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
|
-
}, x.set = function(U,
|
|
301
|
-
return this.clone().$set(U,
|
|
300
|
+
}, x.set = function(U, D) {
|
|
301
|
+
return this.clone().$set(U, D);
|
|
302
302
|
}, x.get = function(U) {
|
|
303
303
|
return this[L.p(U)]();
|
|
304
|
-
}, x.add = function(U,
|
|
304
|
+
}, x.add = function(U, D) {
|
|
305
305
|
var k, F = this;
|
|
306
306
|
U = Number(U);
|
|
307
|
-
var y = L.p(
|
|
307
|
+
var y = L.p(D), T = function(_) {
|
|
308
308
|
var V = j(F);
|
|
309
|
-
return L.w(V.date(V.date() + Math.round(
|
|
309
|
+
return L.w(V.date(V.date() + Math.round(_ * U)), F);
|
|
310
310
|
};
|
|
311
311
|
if (y === m) return this.set(m, this.$M + U);
|
|
312
312
|
if (y === A) return this.set(A, this.$y + U);
|
|
@@ -314,13 +314,13 @@ function qn() {
|
|
|
314
314
|
if (y === u) return T(7);
|
|
315
315
|
var P = (k = {}, k[c] = a, k[d] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() + U * P;
|
|
316
316
|
return L.w(G, this);
|
|
317
|
-
}, x.subtract = function(U,
|
|
318
|
-
return this.add(-1 * U,
|
|
317
|
+
}, x.subtract = function(U, D) {
|
|
318
|
+
return this.add(-1 * U, D);
|
|
319
319
|
}, x.format = function(U) {
|
|
320
|
-
var
|
|
320
|
+
var D = this, k = this.$locale();
|
|
321
321
|
if (!this.isValid()) return k.invalidDate || g;
|
|
322
|
-
var F = U || "YYYY-MM-DDTHH:mm:ssZ", y = L.z(this), T = this.$H, P = this.$m, G = this.$M,
|
|
323
|
-
return K && (K[ie] || K(
|
|
322
|
+
var F = U || "YYYY-MM-DDTHH:mm:ssZ", y = L.z(this), T = this.$H, P = this.$m, G = this.$M, _ = k.weekdays, V = k.months, z = k.meridiem, Y = function(K, ie, B, me) {
|
|
323
|
+
return K && (K[ie] || K(D, F)) || B[ie].slice(0, me);
|
|
324
324
|
}, ee = function(K) {
|
|
325
325
|
return L.s(T % 12 || 12, K, "0");
|
|
326
326
|
}, te = z || function(K, ie, B) {
|
|
@@ -331,9 +331,9 @@ function qn() {
|
|
|
331
331
|
return ie || (function(B) {
|
|
332
332
|
switch (B) {
|
|
333
333
|
case "YY":
|
|
334
|
-
return String(
|
|
334
|
+
return String(D.$y).slice(-2);
|
|
335
335
|
case "YYYY":
|
|
336
|
-
return L.s(
|
|
336
|
+
return L.s(D.$y, 4, "0");
|
|
337
337
|
case "M":
|
|
338
338
|
return G + 1;
|
|
339
339
|
case "MM":
|
|
@@ -343,17 +343,17 @@ function qn() {
|
|
|
343
343
|
case "MMMM":
|
|
344
344
|
return Y(V, G);
|
|
345
345
|
case "D":
|
|
346
|
-
return
|
|
346
|
+
return D.$D;
|
|
347
347
|
case "DD":
|
|
348
|
-
return L.s(
|
|
348
|
+
return L.s(D.$D, 2, "0");
|
|
349
349
|
case "d":
|
|
350
|
-
return String(
|
|
350
|
+
return String(D.$W);
|
|
351
351
|
case "dd":
|
|
352
|
-
return Y(k.weekdaysMin,
|
|
352
|
+
return Y(k.weekdaysMin, D.$W, _, 2);
|
|
353
353
|
case "ddd":
|
|
354
|
-
return Y(k.weekdaysShort,
|
|
354
|
+
return Y(k.weekdaysShort, D.$W, _, 3);
|
|
355
355
|
case "dddd":
|
|
356
|
-
return D
|
|
356
|
+
return _[D.$W];
|
|
357
357
|
case "H":
|
|
358
358
|
return String(T);
|
|
359
359
|
case "HH":
|
|
@@ -371,11 +371,11 @@ function qn() {
|
|
|
371
371
|
case "mm":
|
|
372
372
|
return L.s(P, 2, "0");
|
|
373
373
|
case "s":
|
|
374
|
-
return String(
|
|
374
|
+
return String(D.$s);
|
|
375
375
|
case "ss":
|
|
376
|
-
return L.s(
|
|
376
|
+
return L.s(D.$s, 2, "0");
|
|
377
377
|
case "SSS":
|
|
378
|
-
return L.s(
|
|
378
|
+
return L.s(D.$ms, 3, "0");
|
|
379
379
|
case "Z":
|
|
380
380
|
return y;
|
|
381
381
|
}
|
|
@@ -384,8 +384,8 @@ function qn() {
|
|
|
384
384
|
}));
|
|
385
385
|
}, x.utcOffset = function() {
|
|
386
386
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
387
|
-
}, x.diff = function(U,
|
|
388
|
-
var F, y = this, T = L.p(
|
|
387
|
+
}, x.diff = function(U, D, k) {
|
|
388
|
+
var F, y = this, T = L.p(D), P = j(U), G = (P.utcOffset() - this.utcOffset()) * a, _ = this - P, V = function() {
|
|
389
389
|
return L.m(y, P);
|
|
390
390
|
};
|
|
391
391
|
switch (T) {
|
|
@@ -395,35 +395,35 @@ function qn() {
|
|
|
395
395
|
case m:
|
|
396
396
|
F = V();
|
|
397
397
|
break;
|
|
398
|
-
case
|
|
398
|
+
case h:
|
|
399
399
|
F = V() / 3;
|
|
400
400
|
break;
|
|
401
401
|
case u:
|
|
402
|
-
F = (
|
|
402
|
+
F = (_ - G) / 6048e5;
|
|
403
403
|
break;
|
|
404
404
|
case l:
|
|
405
|
-
F = (
|
|
405
|
+
F = (_ - G) / 864e5;
|
|
406
406
|
break;
|
|
407
407
|
case d:
|
|
408
|
-
F =
|
|
408
|
+
F = _ / r;
|
|
409
409
|
break;
|
|
410
410
|
case c:
|
|
411
|
-
F =
|
|
411
|
+
F = _ / a;
|
|
412
412
|
break;
|
|
413
413
|
case o:
|
|
414
|
-
F =
|
|
414
|
+
F = _ / s;
|
|
415
415
|
break;
|
|
416
416
|
default:
|
|
417
|
-
F =
|
|
417
|
+
F = _;
|
|
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
|
-
}, x.locale = function(U,
|
|
424
|
+
}, x.locale = function(U, D) {
|
|
425
425
|
if (!U) return this.$L;
|
|
426
|
-
var k = this.clone(), F = W(U,
|
|
426
|
+
var k = this.clone(), F = W(U, D, !0);
|
|
427
427
|
return F && (k.$L = F), k;
|
|
428
428
|
}, x.clone = function() {
|
|
429
429
|
return L.w(this.$d, this);
|
|
@@ -435,16 +435,16 @@ function qn() {
|
|
|
435
435
|
return this.$d.toISOString();
|
|
436
436
|
}, x.toString = function() {
|
|
437
437
|
return this.$d.toUTCString();
|
|
438
|
-
},
|
|
438
|
+
}, M;
|
|
439
439
|
})(), se = H.prototype;
|
|
440
|
-
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", A], ["$D",
|
|
441
|
-
se[
|
|
442
|
-
return this.$g(x,
|
|
440
|
+
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", A], ["$D", f]].forEach((function(M) {
|
|
441
|
+
se[M[1]] = function(x) {
|
|
442
|
+
return this.$g(x, M[0], M[1]);
|
|
443
443
|
};
|
|
444
|
-
})), j.extend = function(
|
|
445
|
-
return
|
|
446
|
-
}, j.locale = W, j.isDayjs = Q, j.unix = function(
|
|
447
|
-
return j(1e3 *
|
|
444
|
+
})), j.extend = function(M, x) {
|
|
445
|
+
return M.$i || (M(x, H, j), M.$i = !0), j;
|
|
446
|
+
}, j.locale = W, j.isDayjs = Q, j.unix = function(M) {
|
|
447
|
+
return j(1e3 * M);
|
|
448
448
|
}, j.en = I[b], j.Ls = I, j.p = {}, j;
|
|
449
449
|
}));
|
|
450
450
|
})(wt)), wt.exports;
|
|
@@ -460,15 +460,15 @@ function Wa() {
|
|
|
460
460
|
return function(s, a, r) {
|
|
461
461
|
s = s || {};
|
|
462
462
|
var i = a.prototype, o = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
463
|
-
function c(l, u, m,
|
|
464
|
-
return i.fromToBase(l, u, m,
|
|
463
|
+
function c(l, u, m, h) {
|
|
464
|
+
return i.fromToBase(l, u, m, h);
|
|
465
465
|
}
|
|
466
|
-
r.en.relativeTime = o, i.fromToBase = function(l, u, m,
|
|
467
|
-
for (var
|
|
466
|
+
r.en.relativeTime = o, i.fromToBase = function(l, u, m, h, A) {
|
|
467
|
+
for (var f, g, w, v = 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
468
|
var b = E[S];
|
|
469
|
-
b.d && (
|
|
470
|
-
var I = (s.rounding || Math.round)(Math.abs(
|
|
471
|
-
if (w =
|
|
469
|
+
b.d && (f = h ? r(l).diff(m, b.d, !0) : m.diff(l, b.d, !0));
|
|
470
|
+
var I = (s.rounding || Math.round)(Math.abs(f));
|
|
471
|
+
if (w = f > 0, I <= b.r || !b.r) {
|
|
472
472
|
I <= 1 && S > 0 && (b = E[S - 1]);
|
|
473
473
|
var R = v[b.l];
|
|
474
474
|
A && (I = A("" + I)), g = typeof R == "string" ? R.replace("%d", I) : R(I, u, b.l, w);
|
|
@@ -561,10 +561,10 @@ function Xa() {
|
|
|
561
561
|
var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
562
562
|
return (N = this.local().add(E + S, s)).$offset = E, N.$x.$localOffset = S, N;
|
|
563
563
|
};
|
|
564
|
-
var
|
|
564
|
+
var h = d.format;
|
|
565
565
|
d.format = function(g) {
|
|
566
566
|
var w = g || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
567
|
-
return
|
|
567
|
+
return h.call(this, w);
|
|
568
568
|
}, d.valueOf = function() {
|
|
569
569
|
var g = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
570
570
|
return this.$d.valueOf() - 6e4 * g;
|
|
@@ -579,11 +579,11 @@ function Xa() {
|
|
|
579
579
|
d.toDate = function(g) {
|
|
580
580
|
return g === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
|
|
581
581
|
};
|
|
582
|
-
var
|
|
582
|
+
var f = d.diff;
|
|
583
583
|
d.diff = function(g, w, v) {
|
|
584
|
-
if (g && this.$u === g.$u) return
|
|
584
|
+
if (g && this.$u === g.$u) return f.call(this, g, w, v);
|
|
585
585
|
var E = this.local(), N = c(g).local();
|
|
586
|
-
return
|
|
586
|
+
return f.call(E, N, w, v);
|
|
587
587
|
};
|
|
588
588
|
};
|
|
589
589
|
}));
|
|
@@ -599,56 +599,56 @@ function nr() {
|
|
|
599
599
|
})(sr, (function() {
|
|
600
600
|
var s = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
601
601
|
return function(r, i, o) {
|
|
602
|
-
var c, d = function(
|
|
603
|
-
|
|
604
|
-
var g = new Date(
|
|
602
|
+
var c, d = function(h, A, f) {
|
|
603
|
+
f === void 0 && (f = {});
|
|
604
|
+
var g = new Date(h), w = (function(v, E) {
|
|
605
605
|
E === void 0 && (E = {});
|
|
606
606
|
var N = E.timeZoneName || "short", S = v + "|" + N, b = a[S];
|
|
607
607
|
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), a[S] = b), b;
|
|
608
|
-
})(A,
|
|
608
|
+
})(A, f);
|
|
609
609
|
return w.formatToParts(g);
|
|
610
|
-
}, l = function(
|
|
611
|
-
for (var
|
|
612
|
-
var v =
|
|
610
|
+
}, l = function(h, A) {
|
|
611
|
+
for (var f = d(h, A), g = [], w = 0; w < f.length; w += 1) {
|
|
612
|
+
var v = f[w], E = v.type, N = v.value, S = s[E];
|
|
613
613
|
S >= 0 && (g[S] = parseInt(N, 10));
|
|
614
614
|
}
|
|
615
|
-
var b = g[3], I = b === 24 ? 0 : b, R = g[0] + "-" + g[1] + "-" + g[2] + " " + I + ":" + g[4] + ":" + g[5] + ":000", Q = +
|
|
615
|
+
var b = g[3], I = b === 24 ? 0 : b, R = g[0] + "-" + g[1] + "-" + g[2] + " " + I + ":" + g[4] + ":" + g[5] + ":000", Q = +h;
|
|
616
616
|
return (o.utc(R).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
617
617
|
}, u = i.prototype;
|
|
618
|
-
u.tz = function(
|
|
619
|
-
|
|
620
|
-
var
|
|
621
|
-
if (!Number(N))
|
|
622
|
-
else if (
|
|
623
|
-
var S =
|
|
624
|
-
|
|
618
|
+
u.tz = function(h, A) {
|
|
619
|
+
h === void 0 && (h = c);
|
|
620
|
+
var f, g = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: h }), E = Math.round((w - new Date(v)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - E;
|
|
621
|
+
if (!Number(N)) f = this.utcOffset(0, A);
|
|
622
|
+
else if (f = o(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), A) {
|
|
623
|
+
var S = f.utcOffset();
|
|
624
|
+
f = f.add(g - S, "minute");
|
|
625
625
|
}
|
|
626
|
-
return
|
|
627
|
-
}, u.offsetName = function(
|
|
628
|
-
var A = this.$x.$timezone || o.tz.guess(),
|
|
626
|
+
return f.$x.$timezone = h, f;
|
|
627
|
+
}, u.offsetName = function(h) {
|
|
628
|
+
var A = this.$x.$timezone || o.tz.guess(), f = d(this.valueOf(), A, { timeZoneName: h }).find((function(g) {
|
|
629
629
|
return g.type.toLowerCase() === "timezonename";
|
|
630
630
|
}));
|
|
631
|
-
return
|
|
631
|
+
return f && f.value;
|
|
632
632
|
};
|
|
633
633
|
var m = u.startOf;
|
|
634
|
-
u.startOf = function(
|
|
635
|
-
if (!this.$x || !this.$x.$timezone) return m.call(this,
|
|
636
|
-
var
|
|
637
|
-
return m.call(
|
|
638
|
-
}, o.tz = function(
|
|
639
|
-
var g =
|
|
640
|
-
if (typeof
|
|
634
|
+
u.startOf = function(h, A) {
|
|
635
|
+
if (!this.$x || !this.$x.$timezone) return m.call(this, h, A);
|
|
636
|
+
var f = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
637
|
+
return m.call(f, h, A).tz(this.$x.$timezone, !0);
|
|
638
|
+
}, o.tz = function(h, A, f) {
|
|
639
|
+
var g = f && A, w = f || A || c, v = l(+o(), w);
|
|
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(
|
|
646
|
+
})(o.utc(h, g).valueOf(), v, w), N = E[0], S = E[1], b = o(N).utcOffset(S);
|
|
647
647
|
return b.$x.$timezone = w, b;
|
|
648
648
|
}, o.tz.guess = function() {
|
|
649
649
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
650
|
-
}, o.tz.setDefault = function(
|
|
651
|
-
c =
|
|
650
|
+
}, o.tz.setDefault = function(h) {
|
|
651
|
+
c = h;
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
654
|
}));
|
|
@@ -660,18 +660,18 @@ be.extend(tr);
|
|
|
660
660
|
be.extend(rr);
|
|
661
661
|
be.extend(Ka);
|
|
662
662
|
const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
663
|
-
const { PUBLIC_LNG: s, DATE_TIMEZONE: a } = t ||
|
|
663
|
+
const { PUBLIC_LNG: s, DATE_TIMEZONE: a } = t || q(), r = Rt(s ?? "es");
|
|
664
664
|
return be.tz(e, a).locale(r).format("DD MMMM YYYY");
|
|
665
665
|
}, gs = (e) => {
|
|
666
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
666
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
667
667
|
return be.tz(e, s).locale(a).format(
|
|
668
668
|
a === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
669
669
|
);
|
|
670
670
|
}, ir = (e) => {
|
|
671
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
671
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
672
672
|
return be.tz(e, s).locale(a).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
673
673
|
}, Sd = (e) => {
|
|
674
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
674
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
675
675
|
return be.tz(e, s).locale(a).format("dddd DD [de] MMMM YYYY");
|
|
676
676
|
}, Fe = (e, t) => {
|
|
677
677
|
if (!e) return "";
|
|
@@ -688,8 +688,8 @@ const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
|
688
688
|
r.forEach((A) => {
|
|
689
689
|
A.type !== "literal" && (i[A.type] = A.value);
|
|
690
690
|
});
|
|
691
|
-
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = d >= 0 ? "+" : "-", u = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = u(d / 60),
|
|
692
|
-
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${
|
|
691
|
+
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = d >= 0 ? "+" : "-", u = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = u(d / 60), h = u(d % 60);
|
|
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;
|
|
@@ -764,15 +764,15 @@ function as(e) {
|
|
|
764
764
|
const i = r.index + r[0].length;
|
|
765
765
|
let o = 1, c = i, d = i;
|
|
766
766
|
for (; c < t.length && o > 0; ) {
|
|
767
|
-
const A = t.slice(c),
|
|
767
|
+
const A = t.slice(c), f = A.match(/<div\b/i), g = A.match(/<\/div>/i), w = f?.index ?? -1, v = g?.index ?? -1;
|
|
768
768
|
if (v === -1) break;
|
|
769
769
|
const E = w === -1 ? 1 / 0 : c + w, N = c + v;
|
|
770
|
-
w !== -1 && w < v ? (o += 1, c = E +
|
|
770
|
+
w !== -1 && w < v ? (o += 1, c = E + f[0].length) : (o -= 1, d = N, c = N + g[0].length);
|
|
771
771
|
}
|
|
772
772
|
const l = t.slice(i, d), u = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
773
|
-
let
|
|
774
|
-
for (; (
|
|
775
|
-
const A =
|
|
773
|
+
let h;
|
|
774
|
+
for (; (h = m.exec(l)) !== null; ) {
|
|
775
|
+
const A = h[1];
|
|
776
776
|
A && u.push(A);
|
|
777
777
|
}
|
|
778
778
|
u.length > 0 && s.push(u), a = c;
|
|
@@ -794,10 +794,10 @@ const Ed = as, ur = async (e, t) => {
|
|
|
794
794
|
(i) => He(i)?.data
|
|
795
795
|
);
|
|
796
796
|
}, st = () => {
|
|
797
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } =
|
|
797
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } = q();
|
|
798
798
|
return e == "local" ? t : s && s !== "false" ? s : "";
|
|
799
799
|
}, Td = () => {
|
|
800
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
800
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = q();
|
|
801
801
|
return e === "local" ? t : "";
|
|
802
802
|
}, mr = (e) => {
|
|
803
803
|
if (!e?.preview?.length) return null;
|
|
@@ -827,7 +827,7 @@ const Ed = as, ur = async (e, t) => {
|
|
|
827
827
|
PUBLIC_ASSETS_URL: r,
|
|
828
828
|
PUBLIC_API_FRONT: i,
|
|
829
829
|
DATE_TIMEZONE: o = "America/Mexico_City"
|
|
830
|
-
} =
|
|
830
|
+
} = q(), c = Mn(t.keywords) ?? "", d = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", u = mr(a), m = t.main.title.article, h = Ws({
|
|
831
831
|
schemaImage: u,
|
|
832
832
|
socialImage: t?.social?.images?.facebook,
|
|
833
833
|
fallbackImage: d,
|
|
@@ -861,7 +861,7 @@ const Ed = as, ur = async (e, t) => {
|
|
|
861
861
|
url: t?.info?.link?.canonical,
|
|
862
862
|
type: "article",
|
|
863
863
|
description: t?.social?.description ? t?.social?.description : t?.main?.subtitle?.striped ?? "",
|
|
864
|
-
images: [
|
|
864
|
+
images: [h],
|
|
865
865
|
siteName: s.name.toLocaleUpperCase(),
|
|
866
866
|
locale: s.lang.startsWith("en") ? "en_US" : s.lang === "es" ? "es_LA" : s.lang.replace("-", "_")
|
|
867
867
|
},
|
|
@@ -1177,9 +1177,9 @@ function Id(e) {
|
|
|
1177
1177
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
1178
1178
|
}
|
|
1179
1179
|
const Cr = () => {
|
|
1180
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
1180
|
+
const { PUBLIC_ASSETS_URL: e } = q();
|
|
1181
1181
|
return e && e !== "false" && /* @__PURE__ */ n("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
1182
|
-
}, { PUBLIC_ASSETS_URL: Ht } =
|
|
1182
|
+
}, { PUBLIC_ASSETS_URL: Ht } = q(), Nr = Ht && Ht !== "false" ? Ht : "", Ys = ({ images: e }) => /* @__PURE__ */ n(J, { children: e.map(
|
|
1183
1183
|
(t, s) => t.href !== "" && /* @__PURE__ */ n(
|
|
1184
1184
|
"link",
|
|
1185
1185
|
{
|
|
@@ -1193,7 +1193,7 @@ const Cr = () => {
|
|
|
1193
1193
|
)
|
|
1194
1194
|
) }), Sr = (e, t, s) => {
|
|
1195
1195
|
if (!t) return {};
|
|
1196
|
-
const { PUBLIC_API_FRONT: a } =
|
|
1196
|
+
const { PUBLIC_API_FRONT: a } = q();
|
|
1197
1197
|
return {
|
|
1198
1198
|
title: t?.main?.title + " | " + s.name,
|
|
1199
1199
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1269,7 +1269,7 @@ const De = (e, t) => {
|
|
|
1269
1269
|
const { AssetsPrefix: t = "", AssetsPath: s = "src", isDev: a = !1 } = e;
|
|
1270
1270
|
return a ? "src" : t + s;
|
|
1271
1271
|
}, kd = async (e, t, s, a) => {
|
|
1272
|
-
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } =
|
|
1272
|
+
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } = q();
|
|
1273
1273
|
if (!e) return [];
|
|
1274
1274
|
try {
|
|
1275
1275
|
if (e.related && e.related?.automatic === !1 && e.related?.news && e.related?.news.length > 0)
|
|
@@ -1340,7 +1340,7 @@ const De = (e, t) => {
|
|
|
1340
1340
|
a
|
|
1341
1341
|
), null;
|
|
1342
1342
|
const m = u?.riskAnalysis?.score;
|
|
1343
|
-
return m !== void 0 && (console.log("reCAPTCHA score:", m), u?.riskAnalysis?.reasons?.forEach((
|
|
1343
|
+
return m !== void 0 && (console.log("reCAPTCHA score:", m), u?.riskAnalysis?.reasons?.forEach((h) => console.log(h))), typeof m == "number" ? m : null;
|
|
1344
1344
|
} catch (l) {
|
|
1345
1345
|
return console.error("createAssessment error:", l), null;
|
|
1346
1346
|
}
|
|
@@ -1578,7 +1578,7 @@ const qd = async (e, t, s) => {
|
|
|
1578
1578
|
pathname: s,
|
|
1579
1579
|
ROUTE: a
|
|
1580
1580
|
}) => {
|
|
1581
|
-
const { PUBLIC_PUBLICATION_ID: r = "" } =
|
|
1581
|
+
const { PUBLIC_PUBLICATION_ID: r = "" } = q();
|
|
1582
1582
|
let i = [];
|
|
1583
1583
|
const o = s === "/" || s === "/index.html" ? void 0 : _r(Gr[a]({ pathname: s, config: e })), c = Lr[a] ?? void 0, d = {
|
|
1584
1584
|
newstype: e.newsType,
|
|
@@ -1606,7 +1606,7 @@ const qd = async (e, t, s) => {
|
|
|
1606
1606
|
);
|
|
1607
1607
|
};
|
|
1608
1608
|
function kt(e) {
|
|
1609
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1609
|
+
const { PUBLIC_ASSETS_URL: t } = q();
|
|
1610
1610
|
if (!t || t === "false") return e;
|
|
1611
1611
|
const s = t.replace(/\/+$/, ""), a = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1612
1612
|
return e.replace(a, (r, i) => `${s}/${i}/`);
|
|
@@ -1617,7 +1617,7 @@ const Br = async ({
|
|
|
1617
1617
|
BASE_URL: s,
|
|
1618
1618
|
axiosApi: a
|
|
1619
1619
|
}) => {
|
|
1620
|
-
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } =
|
|
1620
|
+
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } = q();
|
|
1621
1621
|
let o = [];
|
|
1622
1622
|
try {
|
|
1623
1623
|
const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
|
|
@@ -1629,7 +1629,7 @@ const Br = async ({
|
|
|
1629
1629
|
logow: t.socialBlockLogo?.width,
|
|
1630
1630
|
logoh: t.socialBlockLogo?.height,
|
|
1631
1631
|
authorurl: s + "/autor/"
|
|
1632
|
-
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"],
|
|
1632
|
+
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], h = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, A = r !== "false" && i !== "false" ? "/" + r + h : h;
|
|
1633
1633
|
o = (await Promise.all(
|
|
1634
1634
|
m.map(async (g) => {
|
|
1635
1635
|
const w = g === "/news-breadcrumb" ? { ...l, prefixtag: A } : g === "/news" && t.schemasNewsParams ? { ...l, ...t.schemasNewsParams } : l;
|
|
@@ -1877,7 +1877,7 @@ const Br = async ({
|
|
|
1877
1877
|
PUBLIC_API_HOST: s,
|
|
1878
1878
|
PUBLIC_ENV: a,
|
|
1879
1879
|
PUBLIC_PUBLICATION_ID: r
|
|
1880
|
-
} =
|
|
1880
|
+
} = q(), i = (/* @__PURE__ */ new Date()).toISOString(), o = t?.projectName ?? "";
|
|
1881
1881
|
return `<!doctype html>
|
|
1882
1882
|
<html lang="es">
|
|
1883
1883
|
<head>
|
|
@@ -1980,7 +1980,7 @@ const Br = async ({
|
|
|
1980
1980
|
</body>
|
|
1981
1981
|
</html>`;
|
|
1982
1982
|
}, X = async (e) => {
|
|
1983
|
-
const { SERVICE_DEBUG: t } =
|
|
1983
|
+
const { SERVICE_DEBUG: t } = q();
|
|
1984
1984
|
if (!t?.enabled)
|
|
1985
1985
|
return;
|
|
1986
1986
|
const s = Qr(e);
|
|
@@ -2539,22 +2539,22 @@ function Ot(e, t, s) {
|
|
|
2539
2539
|
const a = s.metaTokens, r = s.visitor || u, i = s.dots, o = s.indexes, d = (s.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
2540
2540
|
if (!C.isFunction(r))
|
|
2541
2541
|
throw new TypeError("visitor must be a function");
|
|
2542
|
-
function l(
|
|
2543
|
-
if (
|
|
2544
|
-
if (C.isDate(
|
|
2545
|
-
return
|
|
2546
|
-
if (C.isBoolean(
|
|
2547
|
-
return
|
|
2548
|
-
if (!d && C.isBlob(
|
|
2542
|
+
function l(f) {
|
|
2543
|
+
if (f === null) return "";
|
|
2544
|
+
if (C.isDate(f))
|
|
2545
|
+
return f.toISOString();
|
|
2546
|
+
if (C.isBoolean(f))
|
|
2547
|
+
return f.toString();
|
|
2548
|
+
if (!d && C.isBlob(f))
|
|
2549
2549
|
throw new Z("Blob is not supported. Use a Buffer instead.");
|
|
2550
|
-
return C.isArrayBuffer(
|
|
2550
|
+
return C.isArrayBuffer(f) || C.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2551
2551
|
}
|
|
2552
|
-
function u(
|
|
2553
|
-
let v =
|
|
2554
|
-
if (
|
|
2552
|
+
function u(f, g, w) {
|
|
2553
|
+
let v = f;
|
|
2554
|
+
if (f && !w && typeof f == "object") {
|
|
2555
2555
|
if (C.endsWith(g, "{}"))
|
|
2556
|
-
g = a ? g : g.slice(0, -2),
|
|
2557
|
-
else if (C.isArray(
|
|
2556
|
+
g = a ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
2557
|
+
else if (C.isArray(f) && xi(f) || (C.isFileList(f) || C.endsWith(g, "[]")) && (v = C.toArray(f)))
|
|
2558
2558
|
return g = Zn(g), v.forEach(function(N, S) {
|
|
2559
2559
|
!(C.isUndefined(N) || N === null) && t.append(
|
|
2560
2560
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -2563,24 +2563,24 @@ function Ot(e, t, s) {
|
|
|
2563
2563
|
);
|
|
2564
2564
|
}), !1;
|
|
2565
2565
|
}
|
|
2566
|
-
return is(
|
|
2566
|
+
return is(f) ? !0 : (t.append(Js(w, g, i), l(f)), !1);
|
|
2567
2567
|
}
|
|
2568
|
-
const m = [],
|
|
2568
|
+
const m = [], h = Object.assign(Ri, {
|
|
2569
2569
|
defaultVisitor: u,
|
|
2570
2570
|
convertValue: l,
|
|
2571
2571
|
isVisitable: is
|
|
2572
2572
|
});
|
|
2573
|
-
function A(
|
|
2574
|
-
if (!C.isUndefined(
|
|
2575
|
-
if (m.indexOf(
|
|
2573
|
+
function A(f, g) {
|
|
2574
|
+
if (!C.isUndefined(f)) {
|
|
2575
|
+
if (m.indexOf(f) !== -1)
|
|
2576
2576
|
throw Error("Circular reference detected in " + g.join("."));
|
|
2577
|
-
m.push(
|
|
2577
|
+
m.push(f), C.forEach(f, function(v, E) {
|
|
2578
2578
|
(!(C.isUndefined(v) || v === null) && r.call(
|
|
2579
2579
|
t,
|
|
2580
2580
|
v,
|
|
2581
2581
|
C.isString(E) ? E.trim() : E,
|
|
2582
2582
|
g,
|
|
2583
|
-
|
|
2583
|
+
h
|
|
2584
2584
|
)) === !0 && A(v, g ? g.concat(E) : [E]);
|
|
2585
2585
|
}), m.pop();
|
|
2586
2586
|
}
|
|
@@ -3066,13 +3066,13 @@ function $i(e, t) {
|
|
|
3066
3066
|
return t = t !== void 0 ? t : 1e3, function(d) {
|
|
3067
3067
|
const l = Date.now(), u = a[i];
|
|
3068
3068
|
o || (o = l), s[r] = d, a[r] = l;
|
|
3069
|
-
let m = i,
|
|
3069
|
+
let m = i, h = 0;
|
|
3070
3070
|
for (; m !== r; )
|
|
3071
|
-
|
|
3071
|
+
h += s[m++], m = m % e;
|
|
3072
3072
|
if (r = (r + 1) % e, r === i && (i = (i + 1) % e), l - o < t)
|
|
3073
3073
|
return;
|
|
3074
3074
|
const A = u && l - u;
|
|
3075
|
-
return A ? Math.round(
|
|
3075
|
+
return A ? Math.round(h * 1e3 / A) : void 0;
|
|
3076
3076
|
};
|
|
3077
3077
|
}
|
|
3078
3078
|
function Zi(e, t) {
|
|
@@ -3159,14 +3159,14 @@ const sn = (e) => e instanceof Ae ? { ...e } : e;
|
|
|
3159
3159
|
function _e(e, t) {
|
|
3160
3160
|
t = t || {};
|
|
3161
3161
|
const s = {};
|
|
3162
|
-
function a(l, u, m,
|
|
3163
|
-
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless:
|
|
3162
|
+
function a(l, u, m, h) {
|
|
3163
|
+
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless: h }, l, u) : C.isPlainObject(u) ? C.merge({}, u) : C.isArray(u) ? u.slice() : u;
|
|
3164
3164
|
}
|
|
3165
|
-
function r(l, u, m,
|
|
3165
|
+
function r(l, u, m, h) {
|
|
3166
3166
|
if (C.isUndefined(u)) {
|
|
3167
3167
|
if (!C.isUndefined(l))
|
|
3168
|
-
return a(void 0, l, m,
|
|
3169
|
-
} else return a(l, u, m,
|
|
3168
|
+
return a(void 0, l, m, h);
|
|
3169
|
+
} else return a(l, u, m, h);
|
|
3170
3170
|
}
|
|
3171
3171
|
function i(l, u) {
|
|
3172
3172
|
if (!C.isUndefined(u))
|
|
@@ -3216,8 +3216,8 @@ function _e(e, t) {
|
|
|
3216
3216
|
headers: (l, u, m) => r(sn(l), sn(u), m, !0)
|
|
3217
3217
|
};
|
|
3218
3218
|
return C.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
3219
|
-
const m = d[u] || r,
|
|
3220
|
-
C.isUndefined(
|
|
3219
|
+
const m = d[u] || r, h = m(e[u], t[u], u);
|
|
3220
|
+
C.isUndefined(h) && m !== c || (s[u] = h);
|
|
3221
3221
|
}), s;
|
|
3222
3222
|
}
|
|
3223
3223
|
const ia = (e) => {
|
|
@@ -3246,9 +3246,9 @@ const ia = (e) => {
|
|
|
3246
3246
|
const r = ia(e);
|
|
3247
3247
|
let i = r.data;
|
|
3248
3248
|
const o = Ae.from(r.headers).normalize();
|
|
3249
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, m,
|
|
3249
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, m, h, A, f;
|
|
3250
3250
|
function g() {
|
|
3251
|
-
A && A(),
|
|
3251
|
+
A && A(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
3252
3252
|
}
|
|
3253
3253
|
let w = new XMLHttpRequest();
|
|
3254
3254
|
w.open(r.method.toUpperCase(), r.url, !0), w.timeout = r.timeout;
|
|
@@ -3289,7 +3289,7 @@ const ia = (e) => {
|
|
|
3289
3289
|
)), w = null;
|
|
3290
3290
|
}, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S, b) {
|
|
3291
3291
|
w.setRequestHeader(b, S);
|
|
3292
|
-
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([
|
|
3292
|
+
}), 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)), d && w.upload && ([m, A] = It(d), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", A)), (r.cancelToken || r.signal) && (u = (N) => {
|
|
3293
3293
|
w && (a(!N || N.type ? new Je(null, e, w) : N), w.abort(), w = null);
|
|
3294
3294
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3295
3295
|
const E = Ji(r.url);
|
|
@@ -3365,8 +3365,8 @@ const ia = (e) => {
|
|
|
3365
3365
|
}
|
|
3366
3366
|
let m = u.byteLength;
|
|
3367
3367
|
if (s) {
|
|
3368
|
-
let
|
|
3369
|
-
s(
|
|
3368
|
+
let h = i += m;
|
|
3369
|
+
s(h);
|
|
3370
3370
|
}
|
|
3371
3371
|
d.enqueue(new Uint8Array(u));
|
|
3372
3372
|
} catch (l) {
|
|
@@ -3398,46 +3398,46 @@ const ia = (e) => {
|
|
|
3398
3398
|
const { fetch: t, Request: s, Response: a } = e, r = t ? mt(t) : typeof fetch == "function", i = mt(s), o = mt(a);
|
|
3399
3399
|
if (!r)
|
|
3400
3400
|
return !1;
|
|
3401
|
-
const c = r && mt(rn), d = r && (typeof on == "function" ? /* @__PURE__ */ ((
|
|
3402
|
-
let
|
|
3401
|
+
const c = r && mt(rn), d = r && (typeof on == "function" ? /* @__PURE__ */ ((f) => (g) => f.encode(g))(new on()) : async (f) => new Uint8Array(await new s(f).arrayBuffer())), l = i && c && cn(() => {
|
|
3402
|
+
let f = !1;
|
|
3403
3403
|
const g = new s(de.origin, {
|
|
3404
3404
|
body: new rn(),
|
|
3405
3405
|
method: "POST",
|
|
3406
3406
|
get duplex() {
|
|
3407
|
-
return
|
|
3407
|
+
return f = !0, "half";
|
|
3408
3408
|
}
|
|
3409
3409
|
}).headers.has("Content-Type");
|
|
3410
|
-
return
|
|
3410
|
+
return f && !g;
|
|
3411
3411
|
}), u = o && c && cn(() => C.isReadableStream(new a("").body)), m = {
|
|
3412
|
-
stream: u && ((
|
|
3412
|
+
stream: u && ((f) => f.body)
|
|
3413
3413
|
};
|
|
3414
|
-
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((
|
|
3415
|
-
!m[
|
|
3416
|
-
let v = g && g[
|
|
3414
|
+
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
3415
|
+
!m[f] && (m[f] = (g, w) => {
|
|
3416
|
+
let v = g && g[f];
|
|
3417
3417
|
if (v)
|
|
3418
3418
|
return v.call(g);
|
|
3419
|
-
throw new Z(`Response type '${
|
|
3419
|
+
throw new Z(`Response type '${f}' is not supported`, Z.ERR_NOT_SUPPORT, w);
|
|
3420
3420
|
});
|
|
3421
3421
|
});
|
|
3422
|
-
const
|
|
3423
|
-
if (
|
|
3422
|
+
const h = async (f) => {
|
|
3423
|
+
if (f == null)
|
|
3424
3424
|
return 0;
|
|
3425
|
-
if (C.isBlob(
|
|
3426
|
-
return
|
|
3427
|
-
if (C.isSpecCompliantForm(
|
|
3425
|
+
if (C.isBlob(f))
|
|
3426
|
+
return f.size;
|
|
3427
|
+
if (C.isSpecCompliantForm(f))
|
|
3428
3428
|
return (await new s(de.origin, {
|
|
3429
3429
|
method: "POST",
|
|
3430
|
-
body:
|
|
3430
|
+
body: f
|
|
3431
3431
|
}).arrayBuffer()).byteLength;
|
|
3432
|
-
if (C.isArrayBufferView(
|
|
3433
|
-
return
|
|
3434
|
-
if (C.isURLSearchParams(
|
|
3435
|
-
return (await d(
|
|
3436
|
-
}, A = async (
|
|
3437
|
-
const w = C.toFiniteNumber(
|
|
3438
|
-
return w ??
|
|
3432
|
+
if (C.isArrayBufferView(f) || C.isArrayBuffer(f))
|
|
3433
|
+
return f.byteLength;
|
|
3434
|
+
if (C.isURLSearchParams(f) && (f = f + ""), C.isString(f))
|
|
3435
|
+
return (await d(f)).byteLength;
|
|
3436
|
+
}, A = async (f, g) => {
|
|
3437
|
+
const w = C.toFiniteNumber(f.getContentLength());
|
|
3438
|
+
return w ?? h(g);
|
|
3439
3439
|
};
|
|
3440
|
-
return async (
|
|
3440
|
+
return async (f) => {
|
|
3441
3441
|
let {
|
|
3442
3442
|
url: g,
|
|
3443
3443
|
method: w,
|
|
@@ -3451,10 +3451,10 @@ const ia = (e) => {
|
|
|
3451
3451
|
headers: Q,
|
|
3452
3452
|
withCredentials: W = "same-origin",
|
|
3453
3453
|
fetchOptions: j
|
|
3454
|
-
} = ia(
|
|
3454
|
+
} = ia(f), L = t || fetch;
|
|
3455
3455
|
R = R ? (R + "").toLowerCase() : "text";
|
|
3456
3456
|
let H = ro([E, N && N.toAbortSignal()], S), se = null;
|
|
3457
|
-
const
|
|
3457
|
+
const M = H && H.unsubscribe && (() => {
|
|
3458
3458
|
H.unsubscribe();
|
|
3459
3459
|
});
|
|
3460
3460
|
let x;
|
|
@@ -3466,15 +3466,15 @@ const ia = (e) => {
|
|
|
3466
3466
|
duplex: "half"
|
|
3467
3467
|
}), P;
|
|
3468
3468
|
if (C.isFormData(v) && (P = T.headers.get("content-type")) && Q.setContentType(P), T.body) {
|
|
3469
|
-
const [G,
|
|
3469
|
+
const [G, _] = en(
|
|
3470
3470
|
x,
|
|
3471
3471
|
It(tn(I))
|
|
3472
3472
|
);
|
|
3473
|
-
v = nn(T.body, an, G,
|
|
3473
|
+
v = nn(T.body, an, G, _);
|
|
3474
3474
|
}
|
|
3475
3475
|
}
|
|
3476
3476
|
C.isString(W) || (W = W ? "include" : "omit");
|
|
3477
|
-
const U = i && "credentials" in s.prototype,
|
|
3477
|
+
const U = i && "credentials" in s.prototype, D = {
|
|
3478
3478
|
...j,
|
|
3479
3479
|
signal: H,
|
|
3480
3480
|
method: w.toUpperCase(),
|
|
@@ -3483,44 +3483,44 @@ const ia = (e) => {
|
|
|
3483
3483
|
duplex: "half",
|
|
3484
3484
|
credentials: U ? W : void 0
|
|
3485
3485
|
};
|
|
3486
|
-
se = i && new s(g,
|
|
3487
|
-
let k = await (i ? L(se, j) : L(g,
|
|
3486
|
+
se = i && new s(g, D);
|
|
3487
|
+
let k = await (i ? L(se, j) : L(g, D));
|
|
3488
3488
|
const F = u && (R === "stream" || R === "response");
|
|
3489
|
-
if (u && (b || F &&
|
|
3489
|
+
if (u && (b || F && M)) {
|
|
3490
3490
|
const T = {};
|
|
3491
3491
|
["status", "statusText", "headers"].forEach((V) => {
|
|
3492
3492
|
T[V] = k[V];
|
|
3493
3493
|
});
|
|
3494
|
-
const P = C.toFiniteNumber(k.headers.get("content-length")), [G,
|
|
3494
|
+
const P = C.toFiniteNumber(k.headers.get("content-length")), [G, _] = b && en(
|
|
3495
3495
|
P,
|
|
3496
3496
|
It(tn(b), !0)
|
|
3497
3497
|
) || [];
|
|
3498
3498
|
k = new a(
|
|
3499
3499
|
nn(k.body, an, G, () => {
|
|
3500
|
-
|
|
3500
|
+
_ && _(), M && M();
|
|
3501
3501
|
}),
|
|
3502
3502
|
T
|
|
3503
3503
|
);
|
|
3504
3504
|
}
|
|
3505
3505
|
R = R || "text";
|
|
3506
|
-
let y = await m[C.findKey(m, R) || "text"](k,
|
|
3507
|
-
return !F &&
|
|
3506
|
+
let y = await m[C.findKey(m, R) || "text"](k, f);
|
|
3507
|
+
return !F && M && M(), await new Promise((T, P) => {
|
|
3508
3508
|
aa(T, P, {
|
|
3509
3509
|
data: y,
|
|
3510
3510
|
headers: Ae.from(k.headers),
|
|
3511
3511
|
status: k.status,
|
|
3512
3512
|
statusText: k.statusText,
|
|
3513
|
-
config:
|
|
3513
|
+
config: f,
|
|
3514
3514
|
request: se
|
|
3515
3515
|
});
|
|
3516
3516
|
});
|
|
3517
3517
|
} catch (U) {
|
|
3518
|
-
throw
|
|
3519
|
-
new Z("Network Error", Z.ERR_NETWORK,
|
|
3518
|
+
throw M && M(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
|
|
3519
|
+
new Z("Network Error", Z.ERR_NETWORK, f, se),
|
|
3520
3520
|
{
|
|
3521
3521
|
cause: U.cause || U
|
|
3522
3522
|
}
|
|
3523
|
-
) : Z.from(U, U && U.code,
|
|
3523
|
+
) : Z.from(U, U && U.code, f, se);
|
|
3524
3524
|
}
|
|
3525
3525
|
};
|
|
3526
3526
|
}, mo = /* @__PURE__ */ new Map(), oa = (e) => {
|
|
@@ -3718,8 +3718,8 @@ let qe = class {
|
|
|
3718
3718
|
);
|
|
3719
3719
|
i && C.forEach(
|
|
3720
3720
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3721
|
-
(
|
|
3722
|
-
delete i[
|
|
3721
|
+
(f) => {
|
|
3722
|
+
delete i[f];
|
|
3723
3723
|
}
|
|
3724
3724
|
), s.headers = Ae.concat(o, i);
|
|
3725
3725
|
const c = [];
|
|
@@ -3731,19 +3731,19 @@ let qe = class {
|
|
|
3731
3731
|
this.interceptors.response.forEach(function(g) {
|
|
3732
3732
|
l.push(g.fulfilled, g.rejected);
|
|
3733
3733
|
});
|
|
3734
|
-
let u, m = 0,
|
|
3734
|
+
let u, m = 0, h;
|
|
3735
3735
|
if (!d) {
|
|
3736
|
-
const
|
|
3737
|
-
for (
|
|
3738
|
-
u = u.then(
|
|
3736
|
+
const f = [dn.bind(this), void 0];
|
|
3737
|
+
for (f.unshift(...c), f.push(...l), h = f.length, u = Promise.resolve(s); m < h; )
|
|
3738
|
+
u = u.then(f[m++], f[m++]);
|
|
3739
3739
|
return u;
|
|
3740
3740
|
}
|
|
3741
|
-
|
|
3741
|
+
h = c.length;
|
|
3742
3742
|
let A = s;
|
|
3743
|
-
for (; m <
|
|
3744
|
-
const
|
|
3743
|
+
for (; m < h; ) {
|
|
3744
|
+
const f = c[m++], g = c[m++];
|
|
3745
3745
|
try {
|
|
3746
|
-
A =
|
|
3746
|
+
A = f(A);
|
|
3747
3747
|
} catch (w) {
|
|
3748
3748
|
g.call(this, w);
|
|
3749
3749
|
break;
|
|
@@ -3751,10 +3751,10 @@ let qe = class {
|
|
|
3751
3751
|
}
|
|
3752
3752
|
try {
|
|
3753
3753
|
u = dn.call(this, A);
|
|
3754
|
-
} catch (
|
|
3755
|
-
return Promise.reject(
|
|
3754
|
+
} catch (f) {
|
|
3755
|
+
return Promise.reject(f);
|
|
3756
3756
|
}
|
|
3757
|
-
for (m = 0,
|
|
3757
|
+
for (m = 0, h = l.length; m < h; )
|
|
3758
3758
|
u = u.then(l[m++], l[m++]);
|
|
3759
3759
|
return u;
|
|
3760
3760
|
}
|
|
@@ -3998,7 +3998,7 @@ class Be {
|
|
|
3998
3998
|
PUBLIC_IS_OFFLINE: s,
|
|
3999
3999
|
PUBLIC_USERNAME_OFFLINE: a,
|
|
4000
4000
|
PUBLIC_PASSWORD_OFFLINE: r
|
|
4001
|
-
} =
|
|
4001
|
+
} = q();
|
|
4002
4002
|
if (s === "true")
|
|
4003
4003
|
try {
|
|
4004
4004
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -4328,7 +4328,7 @@ class Be {
|
|
|
4328
4328
|
exclude: a.getAutorInfo,
|
|
4329
4329
|
imagesizes: s.getAutorInfo
|
|
4330
4330
|
}))?.data.data ?? []);
|
|
4331
|
-
const l = as(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((v) => as(v)),
|
|
4331
|
+
const l = as(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((v) => as(v)), h = [];
|
|
4332
4332
|
console.log("newsRelatedList: ", m), m?.forEach((v) => {
|
|
4333
4333
|
v && v.length > 0 && v.forEach((E) => {
|
|
4334
4334
|
E.forEach((N) => {
|
|
@@ -4337,14 +4337,14 @@ class Be {
|
|
|
4337
4337
|
imagesizes: s.getNewsItemsRelated,
|
|
4338
4338
|
exclude: a.getNewsItemsRelated
|
|
4339
4339
|
});
|
|
4340
|
-
S &&
|
|
4340
|
+
S && h.push(
|
|
4341
4341
|
S
|
|
4342
4342
|
);
|
|
4343
4343
|
});
|
|
4344
4344
|
});
|
|
4345
|
-
}), console.log("newsRelatedListRequest: ",
|
|
4346
|
-
const
|
|
4347
|
-
...
|
|
4345
|
+
}), console.log("newsRelatedListRequest: ", h);
|
|
4346
|
+
const f = (await Promise.allSettled([
|
|
4347
|
+
...h
|
|
4348
4348
|
])).map(
|
|
4349
4349
|
(v) => He(v)?.data
|
|
4350
4350
|
), g = await ur(
|
|
@@ -4362,7 +4362,7 @@ class Be {
|
|
|
4362
4362
|
autor: d,
|
|
4363
4363
|
newsRelatedResponses: g,
|
|
4364
4364
|
itemList: He(i)?.data ?? [],
|
|
4365
|
-
newsRelatedListResponses:
|
|
4365
|
+
newsRelatedListResponses: f,
|
|
4366
4366
|
schemasImages: w ?? []
|
|
4367
4367
|
};
|
|
4368
4368
|
};
|
|
@@ -4373,7 +4373,7 @@ class bo extends Be {
|
|
|
4373
4373
|
IS_MULTIPUBLICATION;
|
|
4374
4374
|
constructor(t) {
|
|
4375
4375
|
super(t);
|
|
4376
|
-
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: a } =
|
|
4376
|
+
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: a } = q();
|
|
4377
4377
|
this.MULTIPUBLICATION_FETCHES = s, this.PUBLIC_PUBLICATION_ID = a, this.IS_MULTIPUBLICATION = s != null && s !== "" || a != null && a !== "";
|
|
4378
4378
|
}
|
|
4379
4379
|
getBlockSass = async (t) => {
|
|
@@ -4424,7 +4424,7 @@ class bo extends Be {
|
|
|
4424
4424
|
}
|
|
4425
4425
|
},
|
|
4426
4426
|
tag: async () => {
|
|
4427
|
-
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } =
|
|
4427
|
+
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = q(), u = {
|
|
4428
4428
|
query: l ? 'claves:("' + o + '")' : "claves:(" + o + ")",
|
|
4429
4429
|
size: this.props?.imgSizes[c]?.size ?? 3,
|
|
4430
4430
|
newstype: this.props?.config?.newsType,
|
|
@@ -4537,21 +4537,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4537
4537
|
exclude: o
|
|
4538
4538
|
}), d = [];
|
|
4539
4539
|
for (let m = 1; m <= r; m++)
|
|
4540
|
-
for (let
|
|
4540
|
+
for (let h = 1; h <= i; h++)
|
|
4541
4541
|
d.push({
|
|
4542
4542
|
func: c.getBlockSass,
|
|
4543
|
-
slot_id: m + "_" +
|
|
4543
|
+
slot_id: m + "_" + h
|
|
4544
4544
|
});
|
|
4545
4545
|
const l = await Promise.allSettled([
|
|
4546
4546
|
...d.map((m) => m.func({ template: "Home_" + m.slot_id }))
|
|
4547
4547
|
]);
|
|
4548
4548
|
return (() => {
|
|
4549
4549
|
const m = {};
|
|
4550
|
-
for (let
|
|
4550
|
+
for (let h = 0; h < l.length; h++) {
|
|
4551
4551
|
const A = or(
|
|
4552
|
-
l[
|
|
4553
|
-
),
|
|
4554
|
-
A && (m[
|
|
4552
|
+
l[h]
|
|
4553
|
+
), f = "Home_" + (Math.floor(h / i) + 1) + "_" + (Math.floor(h % i) + 1);
|
|
4554
|
+
A && (m[f] = { ...A });
|
|
4555
4555
|
}
|
|
4556
4556
|
return m;
|
|
4557
4557
|
})();
|
|
@@ -4621,21 +4621,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4621
4621
|
return i ? { ...t, ...i } : fe(t);
|
|
4622
4622
|
},
|
|
4623
4623
|
seccion: async (e) => {
|
|
4624
|
-
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0;
|
|
4624
|
+
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = q().PUBLIC_LNG === "en";
|
|
4625
4625
|
try {
|
|
4626
|
-
const
|
|
4626
|
+
const h = await o.getNewsListSection({
|
|
4627
4627
|
section: r,
|
|
4628
4628
|
size: u,
|
|
4629
4629
|
newstype: s.newsType,
|
|
4630
4630
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4631
4631
|
page: l
|
|
4632
4632
|
});
|
|
4633
|
-
if (!
|
|
4634
|
-
const
|
|
4635
|
-
return
|
|
4633
|
+
if (!h) return fe(t);
|
|
4634
|
+
const A = h.data.data, f = A[0];
|
|
4635
|
+
return A.length < u || d.push({ rel: "next", url: lt(s, c, l) }), l > 1 && d.push({ rel: "prev", url: dt(s, c, l) }), {
|
|
4636
4636
|
...t,
|
|
4637
|
-
title: `Últimas Noticias de ${
|
|
4638
|
-
description: `Todas las últimas noticias de ${
|
|
4637
|
+
title: m ? `Latest News from ${f.info.section?.name} | ${s.name}` : `Últimas Noticias de ${f.info.section?.name} | ${s.name}`,
|
|
4638
|
+
description: m ? `All the latest news from ${f.info.section?.name} on ${s.name}` : `Todas las últimas noticias de ${f.info.section?.name} en ${s.name}`,
|
|
4639
4639
|
alternates: {
|
|
4640
4640
|
...t.alternates,
|
|
4641
4641
|
canonical: s.siteUrl + a
|
|
@@ -4649,37 +4649,37 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4649
4649
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4650
4650
|
},
|
|
4651
4651
|
openGraph: {
|
|
4652
|
-
title: `${
|
|
4652
|
+
title: `${f.info.section?.name}`,
|
|
4653
4653
|
type: "website",
|
|
4654
4654
|
url: `${s.siteUrl}${a}`,
|
|
4655
4655
|
locale: t.openGraph.locale
|
|
4656
4656
|
},
|
|
4657
4657
|
twitter: {
|
|
4658
4658
|
card: "summary_large_image",
|
|
4659
|
-
title: `${
|
|
4659
|
+
title: `${f.info.section?.name}`,
|
|
4660
4660
|
site: t.twitter.site,
|
|
4661
4661
|
domain: s.siteUrl,
|
|
4662
4662
|
url: `${s.siteUrl}${a}`
|
|
4663
4663
|
}
|
|
4664
4664
|
};
|
|
4665
|
-
} catch (
|
|
4666
|
-
return console.error(
|
|
4665
|
+
} catch (h) {
|
|
4666
|
+
return console.error(h), fe(t);
|
|
4667
4667
|
}
|
|
4668
4668
|
},
|
|
4669
4669
|
tema: async (e) => {
|
|
4670
|
-
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""),
|
|
4670
|
+
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), h = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: A, PUBLIC_LNG: f } = q(), g = f === "en";
|
|
4671
4671
|
try {
|
|
4672
|
-
const
|
|
4673
|
-
tagid:
|
|
4672
|
+
const w = await o.getNewsListTags({
|
|
4673
|
+
tagid: h,
|
|
4674
4674
|
size: u,
|
|
4675
4675
|
tagtype: Number(A),
|
|
4676
4676
|
newstype: s.newsType,
|
|
4677
4677
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4678
4678
|
page: l
|
|
4679
4679
|
});
|
|
4680
|
-
if (!
|
|
4681
|
-
const
|
|
4682
|
-
return
|
|
4680
|
+
if (!w) return fe(t);
|
|
4681
|
+
const v = w.data.entity;
|
|
4682
|
+
return v ? (w.data.data?.length < u || d.push({
|
|
4683
4683
|
rel: "next",
|
|
4684
4684
|
url: lt(s, c, l)
|
|
4685
4685
|
}), l > 1 && d.push({
|
|
@@ -4687,8 +4687,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4687
4687
|
url: dt(s, c, l)
|
|
4688
4688
|
}), {
|
|
4689
4689
|
...t,
|
|
4690
|
-
title: `Últimas noticias de ${
|
|
4691
|
-
description: `Las últimas noticias sobre ${
|
|
4690
|
+
title: g ? `Latest news about ${v.name} | ${s.name}` : `Últimas noticias de ${v.name} | ${s.name}`,
|
|
4691
|
+
description: g ? `The latest news about ${v.name} on ${s.name}` : `Las últimas noticias sobre ${v.name} en ${s.name}`,
|
|
4692
4692
|
alternates: {
|
|
4693
4693
|
...t.alternates,
|
|
4694
4694
|
canonical: s.siteUrl + a
|
|
@@ -4702,21 +4702,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4702
4702
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4703
4703
|
},
|
|
4704
4704
|
openGraph: {
|
|
4705
|
-
title: `${
|
|
4705
|
+
title: `${v.name}`,
|
|
4706
4706
|
type: "website",
|
|
4707
4707
|
url: `${s.siteUrl}${a}`,
|
|
4708
4708
|
locale: t.openGraph.locale
|
|
4709
4709
|
},
|
|
4710
4710
|
twitter: {
|
|
4711
4711
|
card: "summary_large_image",
|
|
4712
|
-
title: `${
|
|
4712
|
+
title: `${v.name}`,
|
|
4713
4713
|
site: t.twitter.site,
|
|
4714
4714
|
domain: s.siteUrl,
|
|
4715
4715
|
url: `${s.siteUrl}${a}`
|
|
4716
4716
|
}
|
|
4717
4717
|
}) : t;
|
|
4718
|
-
} catch (
|
|
4719
|
-
return console.error(
|
|
4718
|
+
} catch (w) {
|
|
4719
|
+
return console.error(w), fe(t);
|
|
4720
4720
|
}
|
|
4721
4721
|
},
|
|
4722
4722
|
"ultimas-noticias": (e) => {
|
|
@@ -4798,10 +4798,10 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
},
|
|
4800
4800
|
contacto: (e) => {
|
|
4801
|
-
const { meta: t, config: s, pathname: a } = e;
|
|
4801
|
+
const { meta: t, config: s, pathname: a } = e, r = q().PUBLIC_LNG === "en";
|
|
4802
4802
|
return {
|
|
4803
4803
|
...t,
|
|
4804
|
-
title: `${s.name} | Contacto`,
|
|
4804
|
+
title: `${s.name} | ${r ? "Contact" : "Contacto"}`,
|
|
4805
4805
|
alternates: {
|
|
4806
4806
|
...t.alternates,
|
|
4807
4807
|
canonical: s.siteUrl + a
|
|
@@ -4809,10 +4809,10 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4809
4809
|
};
|
|
4810
4810
|
},
|
|
4811
4811
|
anuncia: (e) => {
|
|
4812
|
-
const { meta: t, config: s, pathname: a } = e;
|
|
4812
|
+
const { meta: t, config: s, pathname: a } = e, r = q().PUBLIC_LNG === "en";
|
|
4813
4813
|
return {
|
|
4814
4814
|
...t,
|
|
4815
|
-
title: `${s.name} | Anuncia`,
|
|
4815
|
+
title: `${s.name} | ${r ? "Advertise" : "Anuncia"}`,
|
|
4816
4816
|
alternates: {
|
|
4817
4817
|
...t.alternates,
|
|
4818
4818
|
canonical: s.siteUrl + a
|
|
@@ -4838,13 +4838,13 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4838
4838
|
};
|
|
4839
4839
|
},
|
|
4840
4840
|
autor: async (e) => {
|
|
4841
|
-
const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), d = a.split("/"), l = [], u = ut(a);
|
|
4841
|
+
const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), d = a.split("/"), l = [], u = ut(a), m = q().PUBLIC_LNG === "en";
|
|
4842
4842
|
try {
|
|
4843
|
-
const
|
|
4843
|
+
const h = await c.getAutorInfo({
|
|
4844
4844
|
user: i,
|
|
4845
4845
|
exclude: "groups",
|
|
4846
4846
|
imagesizes: r.sm
|
|
4847
|
-
}),
|
|
4847
|
+
}), A = await c.getNewsListAutor({
|
|
4848
4848
|
size: Number(s.newsListLimit) ?? 0,
|
|
4849
4849
|
user: i,
|
|
4850
4850
|
page: u,
|
|
@@ -4852,7 +4852,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4852
4852
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4853
4853
|
imagesizes: r.md
|
|
4854
4854
|
});
|
|
4855
|
-
return
|
|
4855
|
+
return A ? (A.data.data.length < Number(s.newsListLimit) || l.push({
|
|
4856
4856
|
rel: "next",
|
|
4857
4857
|
url: lt(s, d, u)
|
|
4858
4858
|
}), u > 1 && l.push({
|
|
@@ -4860,8 +4860,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4860
4860
|
url: dt(s, d, u)
|
|
4861
4861
|
}), {
|
|
4862
4862
|
...t,
|
|
4863
|
-
title: `Últimas Noticias de ${
|
|
4864
|
-
description: `Todas las últimas noticias de ${
|
|
4863
|
+
title: m ? `Latest News from ${h?.data.data[0]?.info.fullname} | ${s.name}` : `Últimas Noticias de ${h?.data.data[0]?.info.fullname} | ${s.name}`,
|
|
4864
|
+
description: m ? `All the latest news from ${h?.data.data[0]?.info.fullname} on ${s.name}` : `Todas las últimas noticias de ${h?.data.data[0]?.info.fullname} en ${s.name}`,
|
|
4865
4865
|
alternates: {
|
|
4866
4866
|
...t.alternates,
|
|
4867
4867
|
canonical: s.siteUrl + a
|
|
@@ -4875,8 +4875,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4875
4875
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4876
4876
|
}
|
|
4877
4877
|
}) : fe(t);
|
|
4878
|
-
} catch (
|
|
4879
|
-
return console.error(
|
|
4878
|
+
} catch (h) {
|
|
4879
|
+
return console.error(h), fe(t);
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
4882
|
}, Co = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", No = ({
|
|
@@ -4884,7 +4884,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4884
4884
|
listAutor: t,
|
|
4885
4885
|
config: s
|
|
4886
4886
|
}) => {
|
|
4887
|
-
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } =
|
|
4887
|
+
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } = q(), o = r, c = a?.info?.date?.modified ? Fe(a.info.date.modified, o) : void 0, d = e.addtional?.USER_JOBSTART ? Fe(e.addtional.USER_JOBSTART, o) : void 0, l = i && i !== "false" ? i : "", u = {
|
|
4888
4888
|
"@context": "https://schema.org",
|
|
4889
4889
|
"@type": "ProfilePage",
|
|
4890
4890
|
mainEntity: {
|
|
@@ -4893,7 +4893,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4893
4893
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4894
4894
|
identifier: e.info.id,
|
|
4895
4895
|
description: Co(e.addtional?.USER_MIBIO ?? ""),
|
|
4896
|
-
image: e.info.image ? e.info.image.sizes.map((m,
|
|
4896
|
+
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) : [],
|
|
4897
4897
|
sameAs: [
|
|
4898
4898
|
e.addtional?.USER_USERFB,
|
|
4899
4899
|
e.addtional?.USER_USERIG,
|
|
@@ -4928,9 +4928,9 @@ async function iu({
|
|
|
4928
4928
|
autor: l,
|
|
4929
4929
|
listAutor: u,
|
|
4930
4930
|
currentNew: m,
|
|
4931
|
-
banners:
|
|
4931
|
+
banners: h,
|
|
4932
4932
|
schemasImages: A,
|
|
4933
|
-
internalPath:
|
|
4933
|
+
internalPath: f,
|
|
4934
4934
|
config: g,
|
|
4935
4935
|
socials: w,
|
|
4936
4936
|
speculationType: v = "Common",
|
|
@@ -4950,14 +4950,14 @@ async function iu({
|
|
|
4950
4950
|
texts: c,
|
|
4951
4951
|
query: d,
|
|
4952
4952
|
axiosApi: e,
|
|
4953
|
-
internalPath:
|
|
4953
|
+
internalPath: f,
|
|
4954
4954
|
schemasImages: R
|
|
4955
4955
|
}), W = Ar(Q), j = b || jn[r]({
|
|
4956
4956
|
pathname: i,
|
|
4957
4957
|
slug: o,
|
|
4958
4958
|
config: g,
|
|
4959
4959
|
currentNew: m,
|
|
4960
|
-
internalPath:
|
|
4960
|
+
internalPath: f
|
|
4961
4961
|
});
|
|
4962
4962
|
return /* @__PURE__ */ p(J, { children: [
|
|
4963
4963
|
/* @__PURE__ */ n("meta", { charSet: "utf-8" }),
|
|
@@ -4987,24 +4987,24 @@ async function iu({
|
|
|
4987
4987
|
{
|
|
4988
4988
|
name: "headscripts",
|
|
4989
4989
|
replaces: j,
|
|
4990
|
-
banners:
|
|
4990
|
+
banners: h
|
|
4991
4991
|
}
|
|
4992
4992
|
),
|
|
4993
|
-
t.schemas_NewsArticle &&
|
|
4993
|
+
t.schemas_NewsArticle && f && /* @__PURE__ */ n(
|
|
4994
4994
|
Br,
|
|
4995
4995
|
{
|
|
4996
4996
|
BASE_URL: g.siteUrl,
|
|
4997
4997
|
config: g,
|
|
4998
|
-
realPath:
|
|
4998
|
+
realPath: f,
|
|
4999
4999
|
axiosApi: e
|
|
5000
5000
|
}
|
|
5001
5001
|
),
|
|
5002
5002
|
/* @__PURE__ */ n(Or, { config: g, socials: w }),
|
|
5003
|
-
t.schemas_Videos &&
|
|
5003
|
+
t.schemas_Videos && f && /* @__PURE__ */ n(
|
|
5004
5004
|
Mr,
|
|
5005
5005
|
{
|
|
5006
5006
|
axiosApi: e,
|
|
5007
|
-
realPath:
|
|
5007
|
+
realPath: f,
|
|
5008
5008
|
config: g
|
|
5009
5009
|
}
|
|
5010
5010
|
),
|
|
@@ -5050,13 +5050,13 @@ const ou = ({
|
|
|
5050
5050
|
scriptReplaces: l,
|
|
5051
5051
|
body_custom_elements: u
|
|
5052
5052
|
}) => {
|
|
5053
|
-
const m = Ga(c, d),
|
|
5053
|
+
const m = Ga(c, d), h = jn[t]({
|
|
5054
5054
|
pathname: a,
|
|
5055
5055
|
slug: r,
|
|
5056
5056
|
config: i,
|
|
5057
5057
|
currentNew: c,
|
|
5058
5058
|
internalPath: o
|
|
5059
|
-
}), A = l.before.active,
|
|
5059
|
+
}), A = l.before.active, f = l.after.active, g = A ? l.before.customData ? l.before.customData : h : void 0, w = f ? l.after.customData ? l.after.customData : h : void 0;
|
|
5060
5060
|
return /* @__PURE__ */ p(J, { children: [
|
|
5061
5061
|
/* @__PURE__ */ n(_n, { name: "bodybefore", banners: s, replaces: g }),
|
|
5062
5062
|
e,
|
|
@@ -5103,7 +5103,7 @@ function Eo({
|
|
|
5103
5103
|
enableDrag: i,
|
|
5104
5104
|
onIndexChange: o
|
|
5105
5105
|
}) {
|
|
5106
|
-
const [c, d] = $(!1), [l, u] = $(0), [m,
|
|
5106
|
+
const [c, d] = $(!1), [l, u] = $(0), [m, h] = $(0), [A, f] = $(0), [g, w] = $(0), [v, E] = $(null), N = Ma(null), [S, b] = $(1), I = ce(() => {
|
|
5107
5107
|
if (r) return 1;
|
|
5108
5108
|
const y = N.current?.offsetWidth || window.innerWidth, T = s + a, P = Math.floor(y / T);
|
|
5109
5109
|
return Math.max(1, P);
|
|
@@ -5136,24 +5136,24 @@ function Eo({
|
|
|
5136
5136
|
if (r)
|
|
5137
5137
|
return Math.abs(y) / T * 100 > 30 ? 1 : 0;
|
|
5138
5138
|
{
|
|
5139
|
-
const
|
|
5139
|
+
const _ = s + a, V = Math.abs(y) / _;
|
|
5140
5140
|
return V >= (P === 1 ? 0.2 : 0.3) ? P === 1 ? 1 : Math.min(Math.round(V), G) : 0;
|
|
5141
5141
|
}
|
|
5142
5142
|
},
|
|
5143
5143
|
[r, s, a, I, W]
|
|
5144
5144
|
), H = ce(
|
|
5145
5145
|
(y) => {
|
|
5146
|
-
i && (u(y),
|
|
5146
|
+
i && (u(y), h(y), f(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
5147
5147
|
},
|
|
5148
5148
|
[i]
|
|
5149
5149
|
), se = ce(
|
|
5150
5150
|
(y) => {
|
|
5151
5151
|
if (!c || !i) return;
|
|
5152
|
-
const T = y - l, P = (s + a) * 1.2, G = e === 0 && T > 0,
|
|
5153
|
-
|
|
5152
|
+
const T = y - l, P = (s + a) * 1.2, G = e === 0 && T > 0, _ = e === Q && T < 0, V = G || _ ? Math.sign(T) * Math.min(Math.abs(T), P) : T;
|
|
5153
|
+
h(y), f(V);
|
|
5154
5154
|
},
|
|
5155
5155
|
[c, l, i, e, Q, s, a]
|
|
5156
|
-
),
|
|
5156
|
+
), M = ce(
|
|
5157
5157
|
(y) => {
|
|
5158
5158
|
se(y.clientX);
|
|
5159
5159
|
},
|
|
@@ -5161,7 +5161,7 @@ function Eo({
|
|
|
5161
5161
|
), x = ce(
|
|
5162
5162
|
(y) => {
|
|
5163
5163
|
if (!c || !i) return;
|
|
5164
|
-
const T = m - l, P = Date.now() - g, G = Math.abs(T) / Math.max(P, 1),
|
|
5164
|
+
const T = m - l, P = Date.now() - g, G = Math.abs(T) / Math.max(P, 1), _ = L(T), z = G > 0.5 && Math.abs(T) > 50 ? Math.max(_, 1) : _;
|
|
5165
5165
|
if (z > 0)
|
|
5166
5166
|
if (T > 0) {
|
|
5167
5167
|
const Y = Math.max(0, e - z);
|
|
@@ -5170,7 +5170,7 @@ function Eo({
|
|
|
5170
5170
|
const Y = Math.min(Q, e + z);
|
|
5171
5171
|
o(Y);
|
|
5172
5172
|
}
|
|
5173
|
-
d(!1),
|
|
5173
|
+
d(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", x), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
5174
5174
|
},
|
|
5175
5175
|
[
|
|
5176
5176
|
c,
|
|
@@ -5182,7 +5182,7 @@ function Eo({
|
|
|
5182
5182
|
i,
|
|
5183
5183
|
o,
|
|
5184
5184
|
L,
|
|
5185
|
-
|
|
5185
|
+
M,
|
|
5186
5186
|
v
|
|
5187
5187
|
]
|
|
5188
5188
|
), U = ce(
|
|
@@ -5190,7 +5190,7 @@ function Eo({
|
|
|
5190
5190
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && E(y.target), H(y.clientX);
|
|
5191
5191
|
},
|
|
5192
5192
|
[H]
|
|
5193
|
-
),
|
|
5193
|
+
), D = ce(
|
|
5194
5194
|
(y) => {
|
|
5195
5195
|
H(y.touches[0].clientX);
|
|
5196
5196
|
},
|
|
@@ -5208,13 +5208,13 @@ function Eo({
|
|
|
5208
5208
|
);
|
|
5209
5209
|
return Te(() => {
|
|
5210
5210
|
if (c)
|
|
5211
|
-
return N.current?.addEventListener("mousemove",
|
|
5211
|
+
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup", x), () => {
|
|
5212
5212
|
N.current?.removeEventListener(
|
|
5213
5213
|
"mousemove",
|
|
5214
|
-
|
|
5214
|
+
M
|
|
5215
5215
|
), N.current?.removeEventListener("mouseup", x);
|
|
5216
5216
|
};
|
|
5217
|
-
}, [c, se, x,
|
|
5217
|
+
}, [c, se, x, M]), {
|
|
5218
5218
|
isDragging: c,
|
|
5219
5219
|
translateOffset: A,
|
|
5220
5220
|
carrouselRef: N,
|
|
@@ -5223,7 +5223,7 @@ function Eo({
|
|
|
5223
5223
|
actualVisibleItems: S,
|
|
5224
5224
|
dragHandlers: {
|
|
5225
5225
|
onMouseDown: U,
|
|
5226
|
-
onTouchStart:
|
|
5226
|
+
onTouchStart: D,
|
|
5227
5227
|
onTouchMove: k,
|
|
5228
5228
|
onTouchEnd: F,
|
|
5229
5229
|
onMouseLeave: x
|
|
@@ -5240,14 +5240,14 @@ function lu(e) {
|
|
|
5240
5240
|
fullPageWidth: o = !1,
|
|
5241
5241
|
pagination: c = !1,
|
|
5242
5242
|
enableDrag: d = !0
|
|
5243
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = $(0), [
|
|
5243
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = $(0), [h, A] = $(!1);
|
|
5244
5244
|
Te(() => {
|
|
5245
5245
|
A(!0);
|
|
5246
5246
|
const j = document.getElementById("ssr-dummy_" + s);
|
|
5247
5247
|
j && j.remove();
|
|
5248
5248
|
}, []);
|
|
5249
5249
|
const {
|
|
5250
|
-
isDragging:
|
|
5250
|
+
isDragging: f,
|
|
5251
5251
|
translateOffset: g,
|
|
5252
5252
|
carrouselRef: w,
|
|
5253
5253
|
maxIndex: v,
|
|
@@ -5273,7 +5273,7 @@ function lu(e) {
|
|
|
5273
5273
|
}, [u, b]), R = ce(() => {
|
|
5274
5274
|
b(u + 1);
|
|
5275
5275
|
}, [u, b]);
|
|
5276
|
-
if (!
|
|
5276
|
+
if (!h) return;
|
|
5277
5277
|
const Q = E(u, g), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
5278
5278
|
return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
|
|
5279
5279
|
u > 0 && /* @__PURE__ */ n(
|
|
@@ -5336,7 +5336,7 @@ function lu(e) {
|
|
|
5336
5336
|
style: {
|
|
5337
5337
|
gap: i,
|
|
5338
5338
|
margin: i === 0 ? "0" : "0 0.5rem 1rem",
|
|
5339
|
-
cursor: d ?
|
|
5339
|
+
cursor: d ? f ? "grabbing" : "grab" : "default",
|
|
5340
5340
|
justifyContent: "start !important"
|
|
5341
5341
|
},
|
|
5342
5342
|
...S,
|
|
@@ -5346,11 +5346,11 @@ function lu(e) {
|
|
|
5346
5346
|
className: "card",
|
|
5347
5347
|
style: {
|
|
5348
5348
|
transform: W,
|
|
5349
|
-
transition:
|
|
5349
|
+
transition: f ? "none" : "transform 300ms ease",
|
|
5350
5350
|
minWidth: o ? "100%" : r,
|
|
5351
5351
|
width: "min-content",
|
|
5352
|
-
userSelect:
|
|
5353
|
-
pointerEvents:
|
|
5352
|
+
userSelect: f ? "none" : "auto",
|
|
5353
|
+
pointerEvents: f ? "none" : "auto"
|
|
5354
5354
|
},
|
|
5355
5355
|
dangerouslySetInnerHTML: { __html: j }
|
|
5356
5356
|
},
|
|
@@ -5361,11 +5361,11 @@ function lu(e) {
|
|
|
5361
5361
|
className: "card",
|
|
5362
5362
|
style: {
|
|
5363
5363
|
transform: W,
|
|
5364
|
-
transition:
|
|
5364
|
+
transition: f ? "none" : "transform 300ms ease",
|
|
5365
5365
|
minWidth: o ? "100%" : r,
|
|
5366
5366
|
width: "min-content",
|
|
5367
|
-
userSelect:
|
|
5368
|
-
pointerEvents:
|
|
5367
|
+
userSelect: f ? "none" : "auto",
|
|
5368
|
+
pointerEvents: f ? "none" : "auto"
|
|
5369
5369
|
},
|
|
5370
5370
|
children: j
|
|
5371
5371
|
},
|
|
@@ -5471,25 +5471,25 @@ const et = (e) => /* @__PURE__ */ n("div", { className: "su-flex su-flex-col sas
|
|
|
5471
5471
|
);
|
|
5472
5472
|
};
|
|
5473
5473
|
function O(e) {
|
|
5474
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } =
|
|
5474
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = q(), { block_subPublication: r } = e, i = xo(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = a?.tema && i, d = a?.buscar && o, l = !r && !c && !d && t !== "false" && s !== "false" ? "/" + t : "", u = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), h = {
|
|
5475
5475
|
...e,
|
|
5476
5476
|
href: (!u && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
|
|
5477
5477
|
};
|
|
5478
5478
|
return u ? /* @__PURE__ */ n(
|
|
5479
5479
|
"a",
|
|
5480
5480
|
{
|
|
5481
|
-
target:
|
|
5482
|
-
rel:
|
|
5483
|
-
...
|
|
5481
|
+
target: h.target ?? "_blank",
|
|
5482
|
+
rel: h.rel ?? "noopener noreferrer",
|
|
5483
|
+
...h,
|
|
5484
5484
|
children: e.children
|
|
5485
5485
|
}
|
|
5486
|
-
) : /* @__PURE__ */ n("a", { ...
|
|
5486
|
+
) : /* @__PURE__ */ n("a", { ...h, children: e.children });
|
|
5487
5487
|
}
|
|
5488
5488
|
const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
5489
|
-
const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s, PUBLIC_SERVICE_PREFIX: a, PUBLIC_IS_SUB_PUBLICATION: r } =
|
|
5489
|
+
const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s, PUBLIC_SERVICE_PREFIX: a, PUBLIC_IS_SUB_PUBLICATION: r } = q(), i = a && a !== "false" ? a : "", c = r && r !== "false" && i && s === "local" ? `/${i}` : "", d = t;
|
|
5490
5490
|
return (d && d !== "false" ? d : "") + c + "/versions/images" + e;
|
|
5491
5491
|
}, Ns = (e) => {
|
|
5492
|
-
const { PUBLIC_ENV: t } =
|
|
5492
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp-black.svg");
|
|
5493
5493
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5494
5494
|
"svg",
|
|
5495
5495
|
{
|
|
@@ -5509,7 +5509,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5509
5509
|
}
|
|
5510
5510
|
);
|
|
5511
5511
|
}, Ss = (e) => {
|
|
5512
|
-
const { PUBLIC_ENV: t } =
|
|
5512
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp-note.svg");
|
|
5513
5513
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5514
5514
|
"svg",
|
|
5515
5515
|
{
|
|
@@ -5530,7 +5530,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5530
5530
|
}
|
|
5531
5531
|
);
|
|
5532
5532
|
}, Es = (e) => {
|
|
5533
|
-
const { PUBLIC_ENV: t } =
|
|
5533
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/clipboard.svg");
|
|
5534
5534
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
5535
5535
|
"svg",
|
|
5536
5536
|
{
|
|
@@ -5559,7 +5559,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5559
5559
|
}
|
|
5560
5560
|
);
|
|
5561
5561
|
}, Ro = (e) => {
|
|
5562
|
-
const { PUBLIC_ENV: t } =
|
|
5562
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/send.svg");
|
|
5563
5563
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5564
5564
|
"svg",
|
|
5565
5565
|
{
|
|
@@ -5579,7 +5579,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5579
5579
|
}
|
|
5580
5580
|
);
|
|
5581
5581
|
}, fn = (e) => {
|
|
5582
|
-
const { PUBLIC_ENV: t } =
|
|
5582
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/message.svg");
|
|
5583
5583
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("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" }) });
|
|
5584
5584
|
}, ko = {
|
|
5585
5585
|
Whatsapp: {
|
|
@@ -5648,7 +5648,7 @@ const Qe = (e) => {
|
|
|
5648
5648
|
paths: i,
|
|
5649
5649
|
newsDescriptionSectionTag: o = "h3",
|
|
5650
5650
|
speculationPrerenderClass: c
|
|
5651
|
-
} = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } =
|
|
5651
|
+
} = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = q(), u = () => {
|
|
5652
5652
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
5653
5653
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
|
|
5654
5654
|
e.info?.date?.modified
|
|
@@ -5658,7 +5658,7 @@ const Qe = (e) => {
|
|
|
5658
5658
|
if (e?.config?.showtime)
|
|
5659
5659
|
return Ue(e.info?.date?.modified);
|
|
5660
5660
|
}, m = () => {
|
|
5661
|
-
const
|
|
5661
|
+
const f = {
|
|
5662
5662
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
5663
5663
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
5664
5664
|
"--colorSubTitle": e.colorSubTitle
|
|
@@ -5670,31 +5670,31 @@ const Qe = (e) => {
|
|
|
5670
5670
|
dangerouslySetInnerHTML: {
|
|
5671
5671
|
__html: e.main?.subtitle?.striped ?? ""
|
|
5672
5672
|
},
|
|
5673
|
-
style:
|
|
5673
|
+
style: f
|
|
5674
5674
|
}
|
|
5675
5675
|
);
|
|
5676
|
-
},
|
|
5676
|
+
}, h = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, A = () => {
|
|
5677
5677
|
if (d && a?.tags?.length && a.tags.length > 0) {
|
|
5678
|
-
const
|
|
5678
|
+
const f = a.tags[0], g = f.name;
|
|
5679
5679
|
return le.createElement(
|
|
5680
5680
|
o,
|
|
5681
5681
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
5682
5682
|
/* @__PURE__ */ p(J, { children: [
|
|
5683
|
-
|
|
5683
|
+
f.approved ? /* @__PURE__ */ n(
|
|
5684
5684
|
O,
|
|
5685
5685
|
{
|
|
5686
5686
|
block_subPublication: l?.tema,
|
|
5687
5687
|
"aria-label": g,
|
|
5688
5688
|
className: "sass-com-nd-sectionDescription",
|
|
5689
|
-
href: De(
|
|
5689
|
+
href: De(f, i),
|
|
5690
5690
|
children: g
|
|
5691
5691
|
}
|
|
5692
5692
|
) : /* @__PURE__ */ n("div", { className: "sass-com-nd-sectionDescription", children: g }),
|
|
5693
|
-
|
|
5693
|
+
h()
|
|
5694
5694
|
] })
|
|
5695
5695
|
);
|
|
5696
5696
|
} else if (r?.section?.url) {
|
|
5697
|
-
const
|
|
5697
|
+
const f = r.section.name;
|
|
5698
5698
|
return le.createElement(
|
|
5699
5699
|
o,
|
|
5700
5700
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
@@ -5702,13 +5702,13 @@ const Qe = (e) => {
|
|
|
5702
5702
|
/* @__PURE__ */ n(
|
|
5703
5703
|
O,
|
|
5704
5704
|
{
|
|
5705
|
-
"aria-label":
|
|
5705
|
+
"aria-label": f,
|
|
5706
5706
|
className: "sass-com-nd-sectionDescription",
|
|
5707
5707
|
href: r.section.url,
|
|
5708
|
-
children:
|
|
5708
|
+
children: f
|
|
5709
5709
|
}
|
|
5710
5710
|
),
|
|
5711
|
-
|
|
5711
|
+
h()
|
|
5712
5712
|
] })
|
|
5713
5713
|
);
|
|
5714
5714
|
}
|
|
@@ -5778,10 +5778,10 @@ const Qe = (e) => {
|
|
|
5778
5778
|
}
|
|
5779
5779
|
);
|
|
5780
5780
|
function ha() {
|
|
5781
|
-
return
|
|
5781
|
+
return q().COMPONENTS?.PlayIcon || ma;
|
|
5782
5782
|
}
|
|
5783
5783
|
function fa() {
|
|
5784
|
-
return
|
|
5784
|
+
return q().COMPONENTS?.PlayIcon || ma;
|
|
5785
5785
|
}
|
|
5786
5786
|
const Po = (e) => {
|
|
5787
5787
|
const { isVideo: t = !1, priorityHigh: s = !1 } = e, a = ha(), r = e.preview.sizes;
|
|
@@ -5919,7 +5919,7 @@ const Po = (e) => {
|
|
|
5919
5919
|
const { preview: t } = e;
|
|
5920
5920
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
|
|
5921
5921
|
return /* @__PURE__ */ n("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center" });
|
|
5922
|
-
const { PUBLIC_IS_OFFLINE: s } =
|
|
5922
|
+
const { PUBLIC_IS_OFFLINE: s } = q();
|
|
5923
5923
|
if (s === "true")
|
|
5924
5924
|
return /* @__PURE__ */ n(
|
|
5925
5925
|
Bo,
|
|
@@ -6919,7 +6919,7 @@ const Po = (e) => {
|
|
|
6919
6919
|
showads: !1
|
|
6920
6920
|
}, Ts = (e) => {
|
|
6921
6921
|
let t = [];
|
|
6922
|
-
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: a, SHOW_DEV_RANKING: r } =
|
|
6922
|
+
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: a, SHOW_DEV_RANKING: r } = q();
|
|
6923
6923
|
return e.content && e.content.length > 0 ? t = e.content.map((i) => ({
|
|
6924
6924
|
...i,
|
|
6925
6925
|
config: gn
|
|
@@ -7114,7 +7114,7 @@ const Po = (e) => {
|
|
|
7114
7114
|
/* @__PURE__ */ n(O, { className: "sass-com-subw-terms", href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
7115
7115
|
] })
|
|
7116
7116
|
] }), _o = (e) => {
|
|
7117
|
-
const { PUBLIC_ENV: t } =
|
|
7117
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/bluestack.svg");
|
|
7118
7118
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "BlueStack logo", ...e }) : /* @__PURE__ */ p(
|
|
7119
7119
|
"svg",
|
|
7120
7120
|
{
|
|
@@ -7134,10 +7134,10 @@ const Po = (e) => {
|
|
|
7134
7134
|
}
|
|
7135
7135
|
);
|
|
7136
7136
|
}, Mt = (e) => {
|
|
7137
|
-
const { PUBLIC_ENV: t } =
|
|
7137
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook.svg");
|
|
7138
7138
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("path", { stroke: "currentColor", d: "M27.5444 6H23.9083C19.8444 6 17.1708 8.67176 17.1708 12.9466V16.1527H13.5347C13.2139 16.1527 13 16.3664 13 16.687V21.2824C13 21.6031 13.2139 21.8168 13.5347 21.8168H17.1708V33.4656C17.1708 33.7863 17.3847 34 17.7055 34H22.518C22.8389 34 23.0527 33.7863 23.0527 33.4656V21.8168H27.3305C27.6513 21.8168 27.8652 21.6031 27.8652 21.2824V16.687C27.8652 16.5802 27.7583 16.3664 27.6513 16.2595C27.5444 16.1527 27.4375 16.0458 27.2236 16.0458H22.9458V13.374C22.9458 12.0916 23.2666 11.4504 24.9777 11.4504H27.4375C27.7583 11.4504 27.9722 11.2366 27.9722 10.916V6.64122C28.0791 6.21374 27.8652 6 27.5444 6Z", "stroke-width": "1.6" }) });
|
|
7139
7139
|
}, Go = (e) => {
|
|
7140
|
-
const { PUBLIC_ENV: t } =
|
|
7140
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/gnews.svg");
|
|
7141
7141
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 31, height: 40, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7142
7142
|
"svg",
|
|
7143
7143
|
{
|
|
@@ -7156,20 +7156,20 @@ const Po = (e) => {
|
|
|
7156
7156
|
"path",
|
|
7157
7157
|
{
|
|
7158
7158
|
fill: "currentColor",
|
|
7159
|
-
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
|
|
7160
|
-
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
|
|
7161
|
-
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
|
|
7162
|
-
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
|
|
7159
|
+
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\r
|
|
7160
|
+
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\r
|
|
7161
|
+
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\r
|
|
7162
|
+
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\r
|
|
7163
7163
|
C25.9,18.2,25.9,18.2,25.7,18.2L25.7,18.2z`
|
|
7164
7164
|
}
|
|
7165
7165
|
) })
|
|
7166
7166
|
}
|
|
7167
7167
|
);
|
|
7168
7168
|
}, Dt = (e) => {
|
|
7169
|
-
const { PUBLIC_ENV: t } =
|
|
7169
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/instagram.svg");
|
|
7170
7170
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("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" }) });
|
|
7171
7171
|
}, jo = (e) => {
|
|
7172
|
-
const { PUBLIC_ENV: t } =
|
|
7172
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/podcast.svg");
|
|
7173
7173
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n(
|
|
7174
7174
|
"img",
|
|
7175
7175
|
{
|
|
@@ -7200,7 +7200,7 @@ const Po = (e) => {
|
|
|
7200
7200
|
}
|
|
7201
7201
|
);
|
|
7202
7202
|
}, Qo = (e) => {
|
|
7203
|
-
const { PUBLIC_ENV: t } =
|
|
7203
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/telegram.svg");
|
|
7204
7204
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7205
7205
|
"svg",
|
|
7206
7206
|
{
|
|
@@ -7221,7 +7221,7 @@ const Po = (e) => {
|
|
|
7221
7221
|
}
|
|
7222
7222
|
);
|
|
7223
7223
|
}, Ho = (e) => {
|
|
7224
|
-
const { PUBLIC_ENV: t } =
|
|
7224
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/tiktok.svg");
|
|
7225
7225
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n(
|
|
7226
7226
|
"img",
|
|
7227
7227
|
{
|
|
@@ -7251,20 +7251,20 @@ const Po = (e) => {
|
|
|
7251
7251
|
"path",
|
|
7252
7252
|
{
|
|
7253
7253
|
fill: "currentColor",
|
|
7254
|
-
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
|
|
7255
|
-
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
|
|
7256
|
-
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
|
|
7257
|
-
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
|
|
7258
|
-
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
|
|
7259
|
-
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
|
|
7260
|
-
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
|
|
7254
|
+
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\r
|
|
7255
|
+
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\r
|
|
7256
|
+
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\r
|
|
7257
|
+
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\r
|
|
7258
|
+
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\r
|
|
7259
|
+
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\r
|
|
7260
|
+
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\r
|
|
7261
7261
|
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`
|
|
7262
7262
|
}
|
|
7263
7263
|
) })
|
|
7264
7264
|
}
|
|
7265
7265
|
);
|
|
7266
7266
|
}, Vo = (e) => {
|
|
7267
|
-
const { PUBLIC_ENV: t } =
|
|
7267
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp.svg");
|
|
7268
7268
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7269
7269
|
"svg",
|
|
7270
7270
|
{
|
|
@@ -7283,23 +7283,23 @@ const Po = (e) => {
|
|
|
7283
7283
|
"path",
|
|
7284
7284
|
{
|
|
7285
7285
|
fill: "currentColor",
|
|
7286
|
-
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
|
|
7287
|
-
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
|
|
7288
|
-
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
|
|
7289
|
-
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
|
|
7290
|
-
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
|
|
7291
|
-
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
|
|
7292
|
-
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
|
|
7286
|
+
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\r
|
|
7287
|
+
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\r
|
|
7288
|
+
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\r
|
|
7289
|
+
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\r
|
|
7290
|
+
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\r
|
|
7291
|
+
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\r
|
|
7292
|
+
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\r
|
|
7293
7293
|
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`
|
|
7294
7294
|
}
|
|
7295
7295
|
) }) })
|
|
7296
7296
|
}
|
|
7297
7297
|
);
|
|
7298
7298
|
}, Pe = (e) => {
|
|
7299
|
-
const { PUBLIC_ENV: t } =
|
|
7299
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/x.svg");
|
|
7300
7300
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", width: 23, height: 23, ...e }) : /* @__PURE__ */ n("svg", { ...e, width: 28, height: 28, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ n("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
7301
7301
|
}, Fo = (e) => {
|
|
7302
|
-
const { PUBLIC_ENV: t } =
|
|
7302
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/youtube.svg");
|
|
7303
7303
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 32, height: 20, src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7304
7304
|
"svg",
|
|
7305
7305
|
{
|
|
@@ -7319,9 +7319,9 @@ const Po = (e) => {
|
|
|
7319
7319
|
"path",
|
|
7320
7320
|
{
|
|
7321
7321
|
fill: "currentColor",
|
|
7322
|
-
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
|
|
7323
|
-
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
|
|
7324
|
-
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
|
|
7322
|
+
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\r
|
|
7323
|
+
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\r
|
|
7324
|
+
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\r
|
|
7325
7325
|
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`
|
|
7326
7326
|
}
|
|
7327
7327
|
),
|
|
@@ -7414,7 +7414,7 @@ const Po = (e) => {
|
|
|
7414
7414
|
}
|
|
7415
7415
|
);
|
|
7416
7416
|
}, _t = (e) => {
|
|
7417
|
-
const { PUBLIC_ENV: t } =
|
|
7417
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook-black.svg");
|
|
7418
7418
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7419
7419
|
"svg",
|
|
7420
7420
|
{
|
|
@@ -7434,14 +7434,14 @@ const Po = (e) => {
|
|
|
7434
7434
|
}
|
|
7435
7435
|
);
|
|
7436
7436
|
}, Ge = (e) => {
|
|
7437
|
-
const { PUBLIC_ENV: t } =
|
|
7437
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/linkedin.svg");
|
|
7438
7438
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
7439
7439
|
/* @__PURE__ */ n("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
7440
7440
|
/* @__PURE__ */ n("path", { d: "M11.6141 33.4944L7.91316 33.5011C7.09486 33.5022 6.46473 32.847 6.46582 32.006L6.46801 15.4505C6.46801 14.6384 7.09158 14.0432 7.85627 14.0432L11.5211 14.041C12.3689 14.041 13.0023 14.6885 13.0023 15.5595L12.9925 32.1773C12.9925 32.9026 12.2978 33.4922 11.6152 33.4944H11.6141ZM11.6283 32.5544C11.8952 32.4932 12.067 32.3453 12.067 32.0605V15.5106C12.067 15.1835 11.8099 14.991 11.5233 14.991H7.85846C7.59809 14.9922 7.43728 15.1791 7.39789 15.4516V32.006C7.39789 32.2986 7.597 32.5511 7.88034 32.5511L11.6272 32.5555L11.6283 32.5544Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
7441
7441
|
/* @__PURE__ */ n("path", { d: "M13.4654 9.03032C13.5595 10.9582 12.2708 12.6836 10.4296 13.0318C9.25798 13.2532 8.14212 12.9372 7.26804 12.1385C6.08982 11.0639 5.67082 9.39631 6.27142 7.88227C6.82716 6.48392 8.16072 5.51164 9.71855 5.4994C10.8103 5.4905 11.7829 5.93103 12.5038 6.75536C13.0628 7.3939 13.4206 8.12701 13.4654 9.03032ZM11.5094 11.5022C12.9447 10.2807 12.8058 8.12256 11.4645 7.05572C10.7119 6.45611 9.73058 6.29925 8.80289 6.61519C7.48464 7.06573 6.74621 8.42403 6.98141 9.82461C7.19255 11.0861 8.2012 11.9661 9.44068 12.1218C10.2097 12.2186 10.9022 12.0184 11.5094 11.5022Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" })
|
|
7442
7442
|
] });
|
|
7443
7443
|
}, pa = (e) => {
|
|
7444
|
-
const { PUBLIC_ENV: t } =
|
|
7444
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/email.svg");
|
|
7445
7445
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7446
7446
|
"svg",
|
|
7447
7447
|
{
|
|
@@ -7471,7 +7471,7 @@ const Po = (e) => {
|
|
|
7471
7471
|
}
|
|
7472
7472
|
);
|
|
7473
7473
|
}, Aa = (e) => {
|
|
7474
|
-
const { PUBLIC_ENV: t } =
|
|
7474
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/email-black.svg");
|
|
7475
7475
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7476
7476
|
"svg",
|
|
7477
7477
|
{
|
|
@@ -7500,7 +7500,7 @@ const Po = (e) => {
|
|
|
7500
7500
|
}
|
|
7501
7501
|
);
|
|
7502
7502
|
}, wa = (e) => {
|
|
7503
|
-
const { PUBLIC_ENV: t } =
|
|
7503
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook-note.svg");
|
|
7504
7504
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7505
7505
|
"svg",
|
|
7506
7506
|
{
|
|
@@ -7657,9 +7657,9 @@ const hu = (e) => {
|
|
|
7657
7657
|
}, pn = (e) => {
|
|
7658
7658
|
const { currentPage: t, showNext: s, maxPages: a, pathname: r, query: i, block_subPublication: o } = e, c = (d, l, u) => {
|
|
7659
7659
|
let m = "";
|
|
7660
|
-
const
|
|
7661
|
-
return
|
|
7662
|
-
|
|
7660
|
+
const h = l.split("/");
|
|
7661
|
+
return h.indexOf("page") !== -1 && h.splice(m.indexOf("page") - 1, h.length - 1), h.forEach((A, f) => {
|
|
7662
|
+
f !== 0 && (m += `/${A}`);
|
|
7663
7663
|
}), d === "next" ? m += `/page/${t + 1}${u ? `?query=${u}` : ""}` : m += `/page/${t - 1}${u ? `?query=${u}` : ""}`;
|
|
7664
7664
|
};
|
|
7665
7665
|
return (t > 1 || s && t < a) && /* @__PURE__ */ p("section", { className: "sass-com-np-content", children: [
|
|
@@ -7707,9 +7707,9 @@ const hu = (e) => {
|
|
|
7707
7707
|
isTitle: l,
|
|
7708
7708
|
priorityHigh: u = !1,
|
|
7709
7709
|
isLarge: m,
|
|
7710
|
-
paths:
|
|
7710
|
+
paths: h,
|
|
7711
7711
|
keywords: A,
|
|
7712
|
-
speculationPrerenderClass:
|
|
7712
|
+
speculationPrerenderClass: f
|
|
7713
7713
|
} = e;
|
|
7714
7714
|
return /* @__PURE__ */ p(
|
|
7715
7715
|
"section",
|
|
@@ -7723,7 +7723,7 @@ const hu = (e) => {
|
|
|
7723
7723
|
O,
|
|
7724
7724
|
{
|
|
7725
7725
|
"aria-label": e.main?.title?.section,
|
|
7726
|
-
className:
|
|
7726
|
+
className: f ? `${f} sass-com-sc1-image` : "sass-com-sc1-image",
|
|
7727
7727
|
title: t?.title?.section,
|
|
7728
7728
|
href: a?.link?.url,
|
|
7729
7729
|
target: a?.link?.target,
|
|
@@ -7749,7 +7749,7 @@ const hu = (e) => {
|
|
|
7749
7749
|
config: c,
|
|
7750
7750
|
overImage: d,
|
|
7751
7751
|
isTitle: l,
|
|
7752
|
-
paths:
|
|
7752
|
+
paths: h,
|
|
7753
7753
|
keywords: A
|
|
7754
7754
|
}
|
|
7755
7755
|
) })
|
|
@@ -7763,7 +7763,7 @@ const hu = (e) => {
|
|
|
7763
7763
|
main: a,
|
|
7764
7764
|
overImage: r = "default",
|
|
7765
7765
|
titleGradient: i = !1
|
|
7766
|
-
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } =
|
|
7766
|
+
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = q(), d = () => {
|
|
7767
7767
|
if (o && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7768
7768
|
const l = e.keywords.tags[0], u = l.name;
|
|
7769
7769
|
return l.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
@@ -7898,7 +7898,7 @@ const hu = (e) => {
|
|
|
7898
7898
|
/* @__PURE__ */ n(O, { className: "sass-com-tl-dateLink", href: `#item-${s + 1}`, children: ir(t.date) }),
|
|
7899
7899
|
/* @__PURE__ */ n("div", { className: "sass-com-tl-contentText", children: (e.itemList[0]?.list.integrated, t.title) })
|
|
7900
7900
|
] }, s)) }), ya = (e) => {
|
|
7901
|
-
const { PUBLIC_ENV: t } =
|
|
7901
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/linkedin-black.svg");
|
|
7902
7902
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7903
7903
|
"svg",
|
|
7904
7904
|
{
|
|
@@ -7921,8 +7921,8 @@ const hu = (e) => {
|
|
|
7921
7921
|
strokeLinecap: "round",
|
|
7922
7922
|
strokeLinejoin: "round",
|
|
7923
7923
|
strokeMiterlimit: "10",
|
|
7924
|
-
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
|
|
7925
|
-
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
|
|
7924
|
+
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\r
|
|
7925
|
+
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\r
|
|
7926
7926
|
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
|
|
7927
7927
|
}
|
|
7928
7928
|
)
|
|
@@ -7934,7 +7934,7 @@ const hu = (e) => {
|
|
|
7934
7934
|
const t = e.trim();
|
|
7935
7935
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
7936
7936
|
}, Jo = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), bu = async (e) => {
|
|
7937
|
-
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""),
|
|
7937
|
+
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), h = ht(t?.addtional?.USER_USERIG ?? ""), A = ht(t?.addtional?.USER_USERTWT ?? ""), f = ht(t?.addtional?.USER_USERLIN ?? ""), g = () => !d || !c || c.trim() === "" ? !1 : Jo(c), w = (v) => `mailto:${v.trim()}`;
|
|
7938
7938
|
return /* @__PURE__ */ n(
|
|
7939
7939
|
"section",
|
|
7940
7940
|
{
|
|
@@ -7979,10 +7979,10 @@ const hu = (e) => {
|
|
|
7979
7979
|
children: a ? /* @__PURE__ */ n(_t, { className: "sass-com-ah1-social-icon sass-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ n(Mt, { className: "sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook", forceSVG: !0 })
|
|
7980
7980
|
}
|
|
7981
7981
|
),
|
|
7982
|
-
|
|
7982
|
+
h && /* @__PURE__ */ n(
|
|
7983
7983
|
"a",
|
|
7984
7984
|
{
|
|
7985
|
-
href:
|
|
7985
|
+
href: h,
|
|
7986
7986
|
target: "_blank",
|
|
7987
7987
|
className: "sass-com-ah1-social-link",
|
|
7988
7988
|
rel: "noreferrer",
|
|
@@ -7999,10 +7999,10 @@ const hu = (e) => {
|
|
|
7999
7999
|
children: /* @__PURE__ */ n(Pe, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
8000
8000
|
}
|
|
8001
8001
|
),
|
|
8002
|
-
|
|
8002
|
+
f && /* @__PURE__ */ n(
|
|
8003
8003
|
"a",
|
|
8004
8004
|
{
|
|
8005
|
-
href:
|
|
8005
|
+
href: f,
|
|
8006
8006
|
target: "_blank",
|
|
8007
8007
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8008
8008
|
rel: "noreferrer",
|
|
@@ -8014,7 +8014,7 @@ const hu = (e) => {
|
|
|
8014
8014
|
}
|
|
8015
8015
|
);
|
|
8016
8016
|
}, vu = async (e) => {
|
|
8017
|
-
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "",
|
|
8017
|
+
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", A = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "";
|
|
8018
8018
|
return /* @__PURE__ */ n(
|
|
8019
8019
|
"section",
|
|
8020
8020
|
{
|
|
@@ -8056,10 +8056,10 @@ const hu = (e) => {
|
|
|
8056
8056
|
children: a ? /* @__PURE__ */ n(_t, { className: "sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ n(Mt, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 })
|
|
8057
8057
|
}
|
|
8058
8058
|
),
|
|
8059
|
-
|
|
8059
|
+
h && /* @__PURE__ */ n(
|
|
8060
8060
|
"a",
|
|
8061
8061
|
{
|
|
8062
|
-
href:
|
|
8062
|
+
href: h,
|
|
8063
8063
|
target: "_blank",
|
|
8064
8064
|
rel: "noreferrer",
|
|
8065
8065
|
children: /* @__PURE__ */ n(
|
|
@@ -8080,10 +8080,10 @@ const hu = (e) => {
|
|
|
8080
8080
|
children: /* @__PURE__ */ n(Pe, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-x", forceSVG: !0 })
|
|
8081
8081
|
}
|
|
8082
8082
|
),
|
|
8083
|
-
|
|
8083
|
+
f && /* @__PURE__ */ n(
|
|
8084
8084
|
"a",
|
|
8085
8085
|
{
|
|
8086
|
-
href:
|
|
8086
|
+
href: f,
|
|
8087
8087
|
target: "_blank",
|
|
8088
8088
|
className: a ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
8089
8089
|
rel: "noreferrer",
|
|
@@ -8399,7 +8399,7 @@ const hu = (e) => {
|
|
|
8399
8399
|
searchLink: i,
|
|
8400
8400
|
custom_styles: o = {}
|
|
8401
8401
|
}) => {
|
|
8402
|
-
const { PUBLIC_SERVICE_PREFIX: c, PUBLIC_IS_SUB_PUBLICATION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } =
|
|
8402
|
+
const { PUBLIC_SERVICE_PREFIX: c, PUBLIC_IS_SUB_PUBLICATION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = q(), u = l?.buscar && c !== "false" && d !== "false" ? `/${c}` : "";
|
|
8403
8403
|
return /* @__PURE__ */ p(
|
|
8404
8404
|
"aside",
|
|
8405
8405
|
{
|
|
@@ -8420,7 +8420,7 @@ const hu = (e) => {
|
|
|
8420
8420
|
/* @__PURE__ */ p("div", { className: "sass-com-sb-mainContent", children: [
|
|
8421
8421
|
/* @__PURE__ */ p("div", { children: [
|
|
8422
8422
|
a,
|
|
8423
|
-
e.map((m,
|
|
8423
|
+
e.map((m, h) => /* @__PURE__ */ n(tc, { item: m, index: h }, h))
|
|
8424
8424
|
] }),
|
|
8425
8425
|
/* @__PURE__ */ n(sc, { socials: t, copyright: s })
|
|
8426
8426
|
] })
|
|
@@ -8527,7 +8527,7 @@ const hu = (e) => {
|
|
|
8527
8527
|
)) })
|
|
8528
8528
|
] });
|
|
8529
8529
|
}, ac = (e) => {
|
|
8530
|
-
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } =
|
|
8530
|
+
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = q();
|
|
8531
8531
|
return /* @__PURE__ */ p("header", { className: "sass-com-h1sk-headerStyled", style: s, id: "saas-header-sticky", children: [
|
|
8532
8532
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ n(
|
|
8533
8533
|
Sa,
|
|
@@ -8669,7 +8669,7 @@ const hu = (e) => {
|
|
|
8669
8669
|
) }, i)) }) })
|
|
8670
8670
|
] }, a)) });
|
|
8671
8671
|
}, ic = (e) => {
|
|
8672
|
-
const { menu: t, alertZone: s, custom_styles: a = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: i } =
|
|
8672
|
+
const { menu: t, alertZone: s, custom_styles: a = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: i } = q();
|
|
8673
8673
|
return /* @__PURE__ */ p(
|
|
8674
8674
|
"header",
|
|
8675
8675
|
{
|
|
@@ -8823,7 +8823,7 @@ const hu = (e) => {
|
|
|
8823
8823
|
)
|
|
8824
8824
|
] });
|
|
8825
8825
|
}, oc = (e) => {
|
|
8826
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
8826
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = q();
|
|
8827
8827
|
return e?.tags && e?.tags?.length > 0 && /* @__PURE__ */ n("section", { className: "sass-com-ts-content", children: Array.isArray(e.tags) && /* @__PURE__ */ p("div", { className: "sass-com-ts-tags", children: [
|
|
8828
8828
|
/* @__PURE__ */ n("p", { className: "sass-com-ts-tagStyled", children: e.title ? e.title : "Tags:" }),
|
|
8829
8829
|
e.tags.map((s, a) => s.approved ? /* @__PURE__ */ n(
|
|
@@ -8837,7 +8837,7 @@ const hu = (e) => {
|
|
|
8837
8837
|
) : /* @__PURE__ */ n("div", { className: "sass-com-ts-chipStyled", children: s.name }, a))
|
|
8838
8838
|
] }) });
|
|
8839
8839
|
}, cc = async (e) => {
|
|
8840
|
-
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
8840
|
+
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q(), a = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", i = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", c = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", l = t?.addtional?.USER_USERIG ?? "", u = t?.addtional?.USER_USERTWT ?? "", m = t?.addtional?.USER_USERLIN ?? "";
|
|
8841
8841
|
return a && !!t && /* @__PURE__ */ n("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
|
|
8842
8842
|
/* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
8843
8843
|
/* @__PURE__ */ n(
|
|
@@ -9172,11 +9172,11 @@ function Su(e) {
|
|
|
9172
9172
|
priorityHigh: l,
|
|
9173
9173
|
share: u,
|
|
9174
9174
|
overImage: m,
|
|
9175
|
-
isTitle:
|
|
9175
|
+
isTitle: h,
|
|
9176
9176
|
paths: A
|
|
9177
|
-
} = e, { CONFIG_videoClipUrl:
|
|
9177
|
+
} = e, { CONFIG_videoClipUrl: f } = q(), g = i?.homepreview ?? "imagen", w = () => {
|
|
9178
9178
|
const b = e.videos?.[0]?.clip;
|
|
9179
|
-
return b ? /* @__PURE__ */ n("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ n("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ n("source", { src: `${
|
|
9179
|
+
return b ? /* @__PURE__ */ n("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ n("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ n("source", { src: `${f}${b}`, type: "video/mp4" }) }) }) : null;
|
|
9180
9180
|
}, v = () => {
|
|
9181
9181
|
if (!e.videos) return null;
|
|
9182
9182
|
const b = e.videos?.[0]?.code;
|
|
@@ -9310,7 +9310,7 @@ function Su(e) {
|
|
|
9310
9310
|
share: u,
|
|
9311
9311
|
config: i,
|
|
9312
9312
|
overImage: m,
|
|
9313
|
-
isTitle:
|
|
9313
|
+
isTitle: h,
|
|
9314
9314
|
paths: A,
|
|
9315
9315
|
keywords: o
|
|
9316
9316
|
}
|
|
@@ -9320,7 +9320,7 @@ function Su(e) {
|
|
|
9320
9320
|
);
|
|
9321
9321
|
}
|
|
9322
9322
|
const We = (e) => {
|
|
9323
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
9323
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q(), a = () => {
|
|
9324
9324
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
9325
9325
|
return `${e?.authors[0]?.fullname} - ${Ue(
|
|
9326
9326
|
e.info?.date?.modified
|
|
@@ -9469,7 +9469,7 @@ const We = (e) => {
|
|
|
9469
9469
|
showSuper: l,
|
|
9470
9470
|
textPosition: u,
|
|
9471
9471
|
heightImageOverwrite: m,
|
|
9472
|
-
heightImageOverwriteMobile:
|
|
9472
|
+
heightImageOverwriteMobile: h
|
|
9473
9473
|
} = e;
|
|
9474
9474
|
return /* @__PURE__ */ p("section", { className: "su-grid su-w-full su-gap-8 sass-bmd-dd-content", children: [
|
|
9475
9475
|
l ? /* @__PURE__ */ n(
|
|
@@ -9490,7 +9490,7 @@ const We = (e) => {
|
|
|
9490
9490
|
paths: e.paths,
|
|
9491
9491
|
textPosition: u,
|
|
9492
9492
|
heightImageOverwrite: m,
|
|
9493
|
-
heightImageOverwriteMobile:
|
|
9493
|
+
heightImageOverwriteMobile: h,
|
|
9494
9494
|
speculationPrerenderClass: e.speculationPrerenderClass
|
|
9495
9495
|
}
|
|
9496
9496
|
)
|
|
@@ -9614,7 +9614,7 @@ const We = (e) => {
|
|
|
9614
9614
|
speculationPrerenderClass: r
|
|
9615
9615
|
}
|
|
9616
9616
|
) }, o)) }), Ea = (e) => {
|
|
9617
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
9617
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q();
|
|
9618
9618
|
return /* @__PURE__ */ p("div", { className: "sass-com-bh-content", children: [
|
|
9619
9619
|
/* @__PURE__ */ n(() => {
|
|
9620
9620
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
@@ -9715,7 +9715,7 @@ const We = (e) => {
|
|
|
9715
9715
|
)
|
|
9716
9716
|
] });
|
|
9717
9717
|
}, Tt = async (e) => {
|
|
9718
|
-
const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } =
|
|
9718
|
+
const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = q(), i = s, o = () => t?.config?.showtime ? `${Ue(t.info?.date?.modified)}` : "", c = /* @__PURE__ */ p("div", { className: "sass-com-oc2-autorContent", children: [
|
|
9719
9719
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ n(
|
|
9720
9720
|
"img",
|
|
9721
9721
|
{
|
|
@@ -10172,7 +10172,7 @@ const Eu = (e) => {
|
|
|
10172
10172
|
}
|
|
10173
10173
|
) });
|
|
10174
10174
|
}, Cc = async (e) => {
|
|
10175
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
10175
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = q(), { data: s } = e;
|
|
10176
10176
|
return /* @__PURE__ */ p("div", { className: "sass-com-opt1-content", children: [
|
|
10177
10177
|
Array.isArray(s.authors) && s?.authors[0]?.image ? /* @__PURE__ */ n(
|
|
10178
10178
|
"img",
|
|
@@ -10701,7 +10701,7 @@ const Eu = (e) => {
|
|
|
10701
10701
|
i = i.replace(c, b);
|
|
10702
10702
|
continue;
|
|
10703
10703
|
}
|
|
10704
|
-
const u = l.preview?.sizes?.[0], m = u ? await ue(u.url) : "",
|
|
10704
|
+
const u = l.preview?.sizes?.[0], m = u ? await ue(u.url) : "", h = l.info.section?.url ?? "#", A = l.info.section?.name ?? "Sección", f = l.info.link?.url ?? "#", g = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
10705
10705
|
l.preview?.sizes?.map(async (b) => {
|
|
10706
10706
|
const I = await ue(b.url);
|
|
10707
10707
|
return b.width < 200 ? `<source srcset="${I}" media="(width < 750px)"/>` : `<source srcset="${I}" media="(width >= 750px)"/>`;
|
|
@@ -10713,8 +10713,8 @@ const Eu = (e) => {
|
|
|
10713
10713
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
|
|
10714
10714
|
</picture>
|
|
10715
10715
|
<div>
|
|
10716
|
-
<a class="section" href="${
|
|
10717
|
-
<a class="title" href="${
|
|
10716
|
+
<a class="section" href="${h}">${A}</a>
|
|
10717
|
+
<a class="title" href="${f}">${g}</a>
|
|
10718
10718
|
</div>
|
|
10719
10719
|
</span>
|
|
10720
10720
|
`, S = c.replace(E, N);
|
|
@@ -10750,29 +10750,29 @@ async function qc(e, t) {
|
|
|
10750
10750
|
let m = d;
|
|
10751
10751
|
if (u && l)
|
|
10752
10752
|
try {
|
|
10753
|
-
const
|
|
10754
|
-
if (
|
|
10755
|
-
const
|
|
10753
|
+
const h = await t.iframe({ path: l }), A = t.schema ? await t.schema(l) : null;
|
|
10754
|
+
if (h && h.data) {
|
|
10755
|
+
const f = h.data.data[0];
|
|
10756
10756
|
let g = "";
|
|
10757
10757
|
const w = d.match(
|
|
10758
10758
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10759
10759
|
), v = w && w[1] ? w[1].trim() : "";
|
|
10760
|
-
|
|
10760
|
+
f.info && f.info.type === "video-youtube" ? g = `<iframe
|
|
10761
10761
|
loading="lazy"
|
|
10762
10762
|
frameborder="0"
|
|
10763
10763
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10764
10764
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10765
10765
|
allowfullscreen
|
|
10766
10766
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10767
|
-
src="https://www.youtube.com/embed/${
|
|
10767
|
+
src="https://www.youtube.com/embed/${f.main?.code || f.main?.youtubeid || ""}"></iframe>` : f.info && f.info.type === "video-link" ? g = `<iframe
|
|
10768
10768
|
loading="lazy"
|
|
10769
10769
|
frameborder="0"
|
|
10770
10770
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10771
10771
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10772
10772
|
allowfullscreen
|
|
10773
10773
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10774
|
-
src="${
|
|
10775
|
-
const E = v ||
|
|
10774
|
+
src="${f.main?.code || ""}"></iframe>` : g = f.main?.code || "";
|
|
10775
|
+
const E = v || f.main?.description || "";
|
|
10776
10776
|
m = `
|
|
10777
10777
|
<figure class="videoFigure">
|
|
10778
10778
|
${A && A.data && A.data.data ? `<script type="application/ld+json">${kt(
|
|
@@ -10783,8 +10783,8 @@ async function qc(e, t) {
|
|
|
10783
10783
|
</figure>
|
|
10784
10784
|
`;
|
|
10785
10785
|
}
|
|
10786
|
-
} catch (
|
|
10787
|
-
console.error("replaceVideoSpansWithIframes error for", l,
|
|
10786
|
+
} catch (h) {
|
|
10787
|
+
console.error("replaceVideoSpansWithIframes error for", l, h), m = d;
|
|
10788
10788
|
}
|
|
10789
10789
|
a = c, s += m, r.lastIndex = c;
|
|
10790
10790
|
}
|
|
@@ -10919,7 +10919,7 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10919
10919
|
if (!e.news || !e.news.authors) return null;
|
|
10920
10920
|
const { news: t, socials: s, texts: a } = e, r = t.authors.map(
|
|
10921
10921
|
(d) => d.internaluser ? `<a href="${`/${e.paths.autor}/${d.name}`}">${d.fullname}</a>` : d.fullname
|
|
10922
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } =
|
|
10922
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } = q();
|
|
10923
10923
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ p("div", { className: "sass-com-ja3-avatarContent", children: [
|
|
10924
10924
|
c ? /* @__PURE__ */ p(
|
|
10925
10925
|
"a",
|
|
@@ -11043,39 +11043,39 @@ function Vc(e) {
|
|
|
11043
11043
|
function i(c) {
|
|
11044
11044
|
const d = [], l = [];
|
|
11045
11045
|
let u = "", m = !0;
|
|
11046
|
-
for (let
|
|
11047
|
-
const A = `[data-index="${
|
|
11046
|
+
for (let h = 0; h < c; h++) {
|
|
11047
|
+
const A = `[data-index="${h}"]:checked ~ .carrousel-pagination li:nth-child(${h + 1}) {
|
|
11048
11048
|
background-color:var(--carrousel-pagination-background-color)
|
|
11049
11049
|
}`;
|
|
11050
11050
|
u += `
|
|
11051
11051
|
.${s}.carrousel-container {
|
|
11052
11052
|
${A}
|
|
11053
|
-
[data-index="${
|
|
11054
|
-
transform: translate(-${
|
|
11053
|
+
[data-index="${h}"]:checked ~ .carrousel-ssr {
|
|
11054
|
+
transform: translate(-${h * (100 + r) + "%"});
|
|
11055
11055
|
transition: transform 300ms;
|
|
11056
11056
|
}
|
|
11057
|
-
[data-index="${
|
|
11058
|
-
${
|
|
11057
|
+
[data-index="${h + 1}"]:checked ~ .visible-arrow.left[data-index="${h}"]
|
|
11058
|
+
${h < c - 1 ? `,[data-index="${h}"]:checked ~ .visible-arrow.right[data-index="${h}"]` : ""} {
|
|
11059
11059
|
display: flex;
|
|
11060
11060
|
}
|
|
11061
11061
|
}
|
|
11062
|
-
`,
|
|
11062
|
+
`, h > c - (a + 1) && (u += `
|
|
11063
11063
|
@media (min-width:900px) {
|
|
11064
11064
|
.${s}.carrousel-container {
|
|
11065
|
-
[data-index="${
|
|
11065
|
+
[data-index="${h}"]:checked ~ .visible-arrow.right[data-index="${h}"] {
|
|
11066
11066
|
display:none!important;
|
|
11067
11067
|
}
|
|
11068
11068
|
}
|
|
11069
11069
|
}`), d.push(
|
|
11070
|
-
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" +
|
|
11070
|
+
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" + h}" data-index="${h}" />`
|
|
11071
11071
|
), l.push(`
|
|
11072
|
-
<label for="${s + "input-check-" +
|
|
11072
|
+
<label for="${s + "input-check-" + h}" data-index="${h}" class="visible-arrow left">
|
|
11073
11073
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
11074
11074
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
11075
11075
|
</svg>
|
|
11076
11076
|
</label>
|
|
11077
11077
|
|
|
11078
|
-
${
|
|
11078
|
+
${h < c - 1 ? `<label for="${s + "input-check-" + (h + 1)}" data-index="${h}" class="visible-arrow right">
|
|
11079
11079
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
11080
11080
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
11081
11081
|
</svg>
|
|
@@ -11233,7 +11233,7 @@ const Yc = async (e) => {
|
|
|
11233
11233
|
if (!e.news || !e.news.authors) return null;
|
|
11234
11234
|
const { news: t, socials: s, texts: a } = e, r = t.authors.map(
|
|
11235
11235
|
(l) => l.internaluser ? `<a href="${`/${e.paths.autor}/${l.name}`}">${l.fullname}</a>` : l.fullname
|
|
11236
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: d } =
|
|
11236
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: d } = q();
|
|
11237
11237
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ p("div", { className: "sass-com-ja4-avatarContent", children: [
|
|
11238
11238
|
/* @__PURE__ */ p("div", { className: "sass-com-ja4-socialActionsRow", children: [
|
|
11239
11239
|
/* @__PURE__ */ p("div", { style: { display: "flex", gap: "10px", alignItems: "center" }, children: [
|
|
@@ -11356,19 +11356,19 @@ const Yc = async (e) => {
|
|
|
11356
11356
|
/<span\b[^>]*class=["'][^"']*video__title[^"']*["'][^>]*>[\s\S]*?<\/span>/gi,
|
|
11357
11357
|
""
|
|
11358
11358
|
), Zc = async (e) => {
|
|
11359
|
-
const { PUBLIC_IS_OFFLINE: t } =
|
|
11359
|
+
const { PUBLIC_IS_OFFLINE: t } = q();
|
|
11360
11360
|
if (!(t === "true")) {
|
|
11361
11361
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], m = {};
|
|
11362
|
-
for (const
|
|
11363
|
-
const A =
|
|
11364
|
-
if (
|
|
11365
|
-
const g = await ue(
|
|
11362
|
+
for (const h of u) {
|
|
11363
|
+
const A = h[1] ?? "", f = e.includes(A) ? { url: A } : null;
|
|
11364
|
+
if (f) {
|
|
11365
|
+
const g = await ue(f.url) || "";
|
|
11366
11366
|
m[A] = g;
|
|
11367
11367
|
}
|
|
11368
11368
|
}
|
|
11369
11369
|
return e.replace(
|
|
11370
11370
|
l,
|
|
11371
|
-
(
|
|
11371
|
+
(h, A) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${m[A] || A}"`
|
|
11372
11372
|
);
|
|
11373
11373
|
}
|
|
11374
11374
|
let a = e;
|
|
@@ -11380,7 +11380,7 @@ const Yc = async (e) => {
|
|
|
11380
11380
|
if (!l) break;
|
|
11381
11381
|
const u = l[0], m = l[1] ?? "";
|
|
11382
11382
|
r.add(m);
|
|
11383
|
-
const
|
|
11383
|
+
const h = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), A = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), g = f ? decodeURIComponent(f[1]) : null;
|
|
11384
11384
|
let w = 0, v = 0;
|
|
11385
11385
|
if (g) {
|
|
11386
11386
|
const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
|
|
@@ -11414,7 +11414,7 @@ const Yc = async (e) => {
|
|
|
11414
11414
|
for (const l of d) {
|
|
11415
11415
|
const u = l[0], m = l[1] ?? "";
|
|
11416
11416
|
if (r.has(m)) continue;
|
|
11417
|
-
const
|
|
11417
|
+
const h = u.match(/\balt=["']([^"']*)["']/), A = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), g = f ? decodeURIComponent(f[1]) : null;
|
|
11418
11418
|
let w = 0, v = 0;
|
|
11419
11419
|
if (g) {
|
|
11420
11420
|
const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
|
|
@@ -11485,11 +11485,11 @@ const Yc = async (e) => {
|
|
|
11485
11485
|
const [o, c = ""] = i, d = i.index, l = d + o.length;
|
|
11486
11486
|
a += e.slice(r, d);
|
|
11487
11487
|
const m = [...c.matchAll(/data-src="([^"]+)"/g)].map(
|
|
11488
|
-
(
|
|
11488
|
+
(f) => f[1]
|
|
11489
11489
|
).map(
|
|
11490
|
-
(
|
|
11491
|
-
),
|
|
11492
|
-
slot_id:
|
|
11490
|
+
(f) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${f}" class="carrusel-note-item" width="800" height="469"/>`
|
|
11491
|
+
), h = "gallery_embeded" + d.toString(), A = Vc({
|
|
11492
|
+
slot_id: h,
|
|
11493
11493
|
children: m,
|
|
11494
11494
|
visibleItems: 1,
|
|
11495
11495
|
cardGap: 0
|
|
@@ -11506,7 +11506,7 @@ const Yc = async (e) => {
|
|
|
11506
11506
|
(E) => d.includes(E?.[0]?.info.link.internal || "")
|
|
11507
11507
|
);
|
|
11508
11508
|
if (!l || !l[0]) continue;
|
|
11509
|
-
const u = l[0].preview?.sizes?.[0], m = u ? await ue(u.url) : "",
|
|
11509
|
+
const u = l[0].preview?.sizes?.[0], m = u ? await ue(u.url) : "", h = l[0].info.section?.url ?? "#", A = l[0].info.section?.name ?? "Sección", f = l[0].info.link?.url ?? "#", g = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
11510
11510
|
l[0].preview?.sizes?.map(async (E, N) => {
|
|
11511
11511
|
const S = await ue(E.url);
|
|
11512
11512
|
return N === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
|
|
@@ -11518,8 +11518,8 @@ const Yc = async (e) => {
|
|
|
11518
11518
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
|
|
11519
11519
|
</picture>
|
|
11520
11520
|
<div>
|
|
11521
|
-
<a class="section" href="${
|
|
11522
|
-
<a class="title" href="${
|
|
11521
|
+
<a class="section" href="${h}">${A}</a>
|
|
11522
|
+
<a class="title" href="${f}">${g}</a>
|
|
11523
11523
|
</div>
|
|
11524
11524
|
</span>
|
|
11525
11525
|
`;
|
|
@@ -11544,11 +11544,11 @@ async function nl(e, t) {
|
|
|
11544
11544
|
}
|
|
11545
11545
|
v !== -1 && v < E ? (d += 1, l = v + 4) : (d -= 1, l = E + 6);
|
|
11546
11546
|
}
|
|
11547
|
-
const m = l,
|
|
11547
|
+
const m = l, h = e.slice(o, m);
|
|
11548
11548
|
let A = null;
|
|
11549
|
-
const
|
|
11549
|
+
const f = /<span\b([^>]*)>/gi;
|
|
11550
11550
|
let g;
|
|
11551
|
-
for (; (g =
|
|
11551
|
+
for (; (g = f.exec(h)) !== null; ) {
|
|
11552
11552
|
const v = g[1];
|
|
11553
11553
|
if (!v) break;
|
|
11554
11554
|
if (/data-type\s*=\s*["']?video["']?/i.test(v)) {
|
|
@@ -11560,7 +11560,7 @@ async function nl(e, t) {
|
|
|
11560
11560
|
}
|
|
11561
11561
|
}
|
|
11562
11562
|
if (!A) {
|
|
11563
|
-
const v =
|
|
11563
|
+
const v = h.match(
|
|
11564
11564
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
11565
11565
|
);
|
|
11566
11566
|
if (v) {
|
|
@@ -11575,7 +11575,7 @@ async function nl(e, t) {
|
|
|
11575
11575
|
if (v && v.data) {
|
|
11576
11576
|
const N = v.data.data[0];
|
|
11577
11577
|
let S = "";
|
|
11578
|
-
const b =
|
|
11578
|
+
const b = h.match(
|
|
11579
11579
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
11580
11580
|
), I = b && b[1] ? b[1].trim() : "";
|
|
11581
11581
|
N.info && N.info.type === "video-youtube" ? S = `<iframe
|
|
@@ -11608,7 +11608,7 @@ async function nl(e, t) {
|
|
|
11608
11608
|
console.error("insertVideos error for", A, v), w = "";
|
|
11609
11609
|
}
|
|
11610
11610
|
else
|
|
11611
|
-
w =
|
|
11611
|
+
w = h;
|
|
11612
11612
|
a = m, s += w, r.lastIndex = m;
|
|
11613
11613
|
}
|
|
11614
11614
|
return s += e.slice(a), s = $c(s), s;
|
|
@@ -11634,9 +11634,9 @@ async function al(e) {
|
|
|
11634
11634
|
e.texts,
|
|
11635
11635
|
a
|
|
11636
11636
|
), u = await nl(u, d), u = Kc(u), u = Jc(u);
|
|
11637
|
-
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT:
|
|
11637
|
+
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: h, CONFIG_blockDefaultTwitterHydrator: A } = q(), f = t.config.articlepreview === Me.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
11638
11638
|
return /* @__PURE__ */ p(J, { children: [
|
|
11639
|
-
i !== "liveblogs" && e.showHeaderImage ?
|
|
11639
|
+
i !== "liveblogs" && e.showHeaderImage ? f ? /* @__PURE__ */ n(
|
|
11640
11640
|
Hc,
|
|
11641
11641
|
{
|
|
11642
11642
|
commonServices: l,
|
|
@@ -11645,7 +11645,7 @@ async function al(e) {
|
|
|
11645
11645
|
}
|
|
11646
11646
|
) : /* @__PURE__ */ n(va, { preview: t.preview }) : null,
|
|
11647
11647
|
/* @__PURE__ */ n(we, { banners: s, name: "block_1" }),
|
|
11648
|
-
/* @__PURE__ */ n("div", { className: "sass-pg-nrs-journalistArticleContent", children:
|
|
11648
|
+
/* @__PURE__ */ n("div", { className: "sass-pg-nrs-journalistArticleContent", children: h === "op1" ? /* @__PURE__ */ n(
|
|
11649
11649
|
jc,
|
|
11650
11650
|
{
|
|
11651
11651
|
autorIcon: e.autorIcon,
|
|
@@ -11714,7 +11714,7 @@ const rl = (e) => {
|
|
|
11714
11714
|
newsRelatedResponses: l = [],
|
|
11715
11715
|
newsRelatedListResponses: u = [],
|
|
11716
11716
|
itemList: m = [],
|
|
11717
|
-
socials:
|
|
11717
|
+
socials: h,
|
|
11718
11718
|
getVideos: A
|
|
11719
11719
|
} = e;
|
|
11720
11720
|
if (d)
|
|
@@ -11724,7 +11724,7 @@ const rl = (e) => {
|
|
|
11724
11724
|
{
|
|
11725
11725
|
texts: t,
|
|
11726
11726
|
autorIcon: s,
|
|
11727
|
-
socials:
|
|
11727
|
+
socials: h,
|
|
11728
11728
|
news: d,
|
|
11729
11729
|
banners: c,
|
|
11730
11730
|
newsRelatedResponses: l,
|
|
@@ -11939,7 +11939,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11939
11939
|
{ label: a.passwordRuleSymbol, test: Ee[4] }
|
|
11940
11940
|
],
|
|
11941
11941
|
[a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
|
|
11942
|
-
), [o, c] = $({}), [d, l] = $(!1), [u, m] = $(!1), [
|
|
11942
|
+
), [o, c] = $({}), [d, l] = $(!1), [u, m] = $(!1), [h, A] = $(null), [f, g] = $(
|
|
11943
11943
|
"register"
|
|
11944
11944
|
), w = async () => {
|
|
11945
11945
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -12031,7 +12031,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12031
12031
|
}
|
|
12032
12032
|
}, S = o.password || "";
|
|
12033
12033
|
return /* @__PURE__ */ p(J, { children: [
|
|
12034
|
-
|
|
12034
|
+
f === "register" && /* @__PURE__ */ p(J, { children: [
|
|
12035
12035
|
/* @__PURE__ */ p("button", { onClick: w, className: "sass-pg-login-google", children: [
|
|
12036
12036
|
/* @__PURE__ */ n(
|
|
12037
12037
|
"img",
|
|
@@ -12049,7 +12049,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12049
12049
|
{
|
|
12050
12050
|
onSubmit: E,
|
|
12051
12051
|
className: "sass-pg-login-form",
|
|
12052
|
-
"data-error":
|
|
12052
|
+
"data-error": h ? "true" : "false",
|
|
12053
12053
|
children: [
|
|
12054
12054
|
/* @__PURE__ */ n("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([b, { label: I }]) => /* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12055
12055
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: I }),
|
|
@@ -12098,7 +12098,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12098
12098
|
)
|
|
12099
12099
|
] })
|
|
12100
12100
|
] }, b)) }),
|
|
12101
|
-
|
|
12101
|
+
h && /* @__PURE__ */ n("p", { className: "sass-pg-login-error", children: h }),
|
|
12102
12102
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-terms", children: [
|
|
12103
12103
|
a.termsPrefix,
|
|
12104
12104
|
" ",
|
|
@@ -12111,12 +12111,12 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12111
12111
|
}
|
|
12112
12112
|
)
|
|
12113
12113
|
] }),
|
|
12114
|
-
|
|
12114
|
+
f === "confirm" && /* @__PURE__ */ p(
|
|
12115
12115
|
"form",
|
|
12116
12116
|
{
|
|
12117
12117
|
onSubmit: N,
|
|
12118
12118
|
className: "sass-pg-login-form",
|
|
12119
|
-
"data-error":
|
|
12119
|
+
"data-error": h ? "true" : "false",
|
|
12120
12120
|
children: [
|
|
12121
12121
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12122
12122
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: a.verificationCodeLabel }),
|
|
@@ -12132,7 +12132,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12132
12132
|
}
|
|
12133
12133
|
)
|
|
12134
12134
|
] }),
|
|
12135
|
-
|
|
12135
|
+
h && /* @__PURE__ */ n("p", { className: "sass-pg-login-error", children: h }),
|
|
12136
12136
|
/* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: u, children: u ? /* @__PURE__ */ n(nt, {}) : a.confirmAccountButton }),
|
|
12137
12137
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
12138
12138
|
a.alreadyConfirmedText,
|
|
@@ -12141,7 +12141,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12141
12141
|
]
|
|
12142
12142
|
}
|
|
12143
12143
|
),
|
|
12144
|
-
|
|
12144
|
+
f === "success" && /* @__PURE__ */ p("form", { className: "sass-pg-login-form", children: [
|
|
12145
12145
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-successContainer", children: [
|
|
12146
12146
|
/* @__PURE__ */ n("div", { className: "sass-pg-login-thumbsUp", children: /* @__PURE__ */ n(
|
|
12147
12147
|
"svg",
|
|
@@ -12166,7 +12166,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12166
12166
|
] }),
|
|
12167
12167
|
/* @__PURE__ */ n("a", { href: "./login", type: "submit", className: "sass-pg-login-primary", children: a.loginButtonText })
|
|
12168
12168
|
] }),
|
|
12169
|
-
|
|
12169
|
+
f === "register" && /* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
12170
12170
|
a.alreadyHasAccountText,
|
|
12171
12171
|
/* @__PURE__ */ n("a", { className: "sass-pg-login-toRegister", href: "./login", children: a.loginButtonText })
|
|
12172
12172
|
] })
|
|
@@ -12200,7 +12200,7 @@ function Bu({
|
|
|
12200
12200
|
API_ENV: e,
|
|
12201
12201
|
texts: t
|
|
12202
12202
|
}) {
|
|
12203
|
-
const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, d] = $(""), [l, u] = $(""), [m,
|
|
12203
|
+
const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, d] = $(""), [l, u] = $(""), [m, h] = $(""), [A, f] = $(""), [g, w] = $(!1), [v, E] = $(!1), [N, S] = $(null);
|
|
12204
12204
|
le.useEffect(() => {
|
|
12205
12205
|
if (typeof window > "u") return;
|
|
12206
12206
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && I();
|
|
@@ -12241,8 +12241,8 @@ function Bu({
|
|
|
12241
12241
|
body: JSON.stringify({ email: i, password: c, token: H })
|
|
12242
12242
|
});
|
|
12243
12243
|
if (!se.ok) {
|
|
12244
|
-
const
|
|
12245
|
-
throw new Error(
|
|
12244
|
+
const M = await se.json().catch(() => ({}));
|
|
12245
|
+
throw new Error(M?.error || "Ha ocurrido un error");
|
|
12246
12246
|
}
|
|
12247
12247
|
await I();
|
|
12248
12248
|
return;
|
|
@@ -12313,8 +12313,8 @@ function Bu({
|
|
|
12313
12313
|
loading: v,
|
|
12314
12314
|
error: N,
|
|
12315
12315
|
setConfirmationCode: u,
|
|
12316
|
-
setNewPassword:
|
|
12317
|
-
setConfirmNewPassword:
|
|
12316
|
+
setNewPassword: h,
|
|
12317
|
+
setConfirmNewPassword: f,
|
|
12318
12318
|
setShowPassword: w,
|
|
12319
12319
|
onSubmit: async (L) => {
|
|
12320
12320
|
if (v) return;
|
|
@@ -12336,8 +12336,8 @@ function Bu({
|
|
|
12336
12336
|
body: JSON.stringify({ email: i, code: l, newPassword: m })
|
|
12337
12337
|
});
|
|
12338
12338
|
if (!se.ok) {
|
|
12339
|
-
const
|
|
12340
|
-
throw new Error(
|
|
12339
|
+
const M = await se.json().catch(() => ({}));
|
|
12340
|
+
throw new Error(M?.error || "Error al cambiar contraseña");
|
|
12341
12341
|
}
|
|
12342
12342
|
r("feedback");
|
|
12343
12343
|
} catch (se) {
|
|
@@ -12404,7 +12404,7 @@ function ul({
|
|
|
12404
12404
|
{
|
|
12405
12405
|
type: "email",
|
|
12406
12406
|
value: e,
|
|
12407
|
-
onChange: (
|
|
12407
|
+
onChange: (h) => i(h.target.value),
|
|
12408
12408
|
className: "sass-pg-login-input",
|
|
12409
12409
|
placeholder: ""
|
|
12410
12410
|
}
|
|
@@ -12417,7 +12417,7 @@ function ul({
|
|
|
12417
12417
|
{
|
|
12418
12418
|
type: s ? "text" : "password",
|
|
12419
12419
|
value: t,
|
|
12420
|
-
onChange: (
|
|
12420
|
+
onChange: (h) => o(h.target.value),
|
|
12421
12421
|
className: "sass-pg-login-input",
|
|
12422
12422
|
placeholder: ""
|
|
12423
12423
|
}
|
|
@@ -12429,7 +12429,7 @@ function ul({
|
|
|
12429
12429
|
id: "showPasswordLogin",
|
|
12430
12430
|
type: "checkbox",
|
|
12431
12431
|
checked: s,
|
|
12432
|
-
onChange: (
|
|
12432
|
+
onChange: (h) => c(h.target.checked)
|
|
12433
12433
|
}
|
|
12434
12434
|
),
|
|
12435
12435
|
/* @__PURE__ */ n("label", { htmlFor: "showPasswordLogin", className: "sass-pg-login-checkboxLabel", children: m.showPassword })
|
|
@@ -12517,10 +12517,10 @@ function fl({
|
|
|
12517
12517
|
setConfirmNewPassword: l,
|
|
12518
12518
|
setShowPassword: u,
|
|
12519
12519
|
onSubmit: m,
|
|
12520
|
-
onBack:
|
|
12520
|
+
onBack: h,
|
|
12521
12521
|
t: A
|
|
12522
12522
|
}) {
|
|
12523
|
-
const
|
|
12523
|
+
const f = A.changePasswordMessage.replace("{{email}}", hl(e));
|
|
12524
12524
|
return /* @__PURE__ */ p(
|
|
12525
12525
|
"form",
|
|
12526
12526
|
{
|
|
@@ -12528,7 +12528,7 @@ function fl({
|
|
|
12528
12528
|
className: "sass-pg-login-form",
|
|
12529
12529
|
"data-error": o ? "true" : "false",
|
|
12530
12530
|
children: [
|
|
12531
|
-
/* @__PURE__ */ n("p", { className: "sass-pg-login-message", children:
|
|
12531
|
+
/* @__PURE__ */ n("p", { className: "sass-pg-login-message", children: f }),
|
|
12532
12532
|
/* @__PURE__ */ p("ul", { className: "sass-pg-login-formUl", children: [
|
|
12533
12533
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12534
12534
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: A.verificationCodeLabel }),
|
|
@@ -12608,7 +12608,7 @@ function fl({
|
|
|
12608
12608
|
children: i ? /* @__PURE__ */ n(nt, {}) : A.changePasswordButton
|
|
12609
12609
|
}
|
|
12610
12610
|
),
|
|
12611
|
-
/* @__PURE__ */ n("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick:
|
|
12611
|
+
/* @__PURE__ */ n("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick: h, children: A.backButton }) })
|
|
12612
12612
|
]
|
|
12613
12613
|
}
|
|
12614
12614
|
);
|
|
@@ -12634,8 +12634,8 @@ function Ou({ containerId: e, containerId2: t }) {
|
|
|
12634
12634
|
const i = a?.querySelectorAll("script[src]") ?? [], o = r?.querySelectorAll("script[src]") ?? [];
|
|
12635
12635
|
[...i, ...o].forEach((u) => {
|
|
12636
12636
|
const m = document.createElement("script");
|
|
12637
|
-
Array.from(u.attributes).forEach((
|
|
12638
|
-
m.setAttribute(
|
|
12637
|
+
Array.from(u.attributes).forEach((h) => {
|
|
12638
|
+
m.setAttribute(h.name, h.value);
|
|
12639
12639
|
}), u.replaceWith(m);
|
|
12640
12640
|
});
|
|
12641
12641
|
const d = document.querySelectorAll(
|
|
@@ -12667,8 +12667,8 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12667
12667
|
BackDropAuxHeigthMobile: r
|
|
12668
12668
|
//isVisible,
|
|
12669
12669
|
} = e, i = fa(), o = ss(() => {
|
|
12670
|
-
const
|
|
12671
|
-
if (
|
|
12670
|
+
const h = e?.preview?.sizes;
|
|
12671
|
+
if (h && Array.isArray(h) && h.length > 0) return h;
|
|
12672
12672
|
const A = e?.preview?.original;
|
|
12673
12673
|
return A?.url ? [{ url: A.url, width: A.width || 0, height: A.height || 0 }] : [];
|
|
12674
12674
|
}, [e?.preview?.sizes, e?.preview?.original]);
|
|
@@ -12806,7 +12806,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12806
12806
|
fetchConfig: o,
|
|
12807
12807
|
paths: c
|
|
12808
12808
|
}) => {
|
|
12809
|
-
const d = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = $({ data: Array.from({ length: d }, () => wl) }), [m,
|
|
12809
|
+
const d = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = $({ data: Array.from({ length: d }, () => wl) }), [m, h] = $(!1), A = ce(async () => {
|
|
12810
12810
|
if (!t) return;
|
|
12811
12811
|
const w = new URLSearchParams({
|
|
12812
12812
|
section: e,
|
|
@@ -12815,7 +12815,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12815
12815
|
if (!v.ok)
|
|
12816
12816
|
throw new Error(`HTTP error! status: ${v.status}`);
|
|
12817
12817
|
return await v.json();
|
|
12818
|
-
}, [e, t]),
|
|
12818
|
+
}, [e, t]), f = ce(async () => {
|
|
12819
12819
|
const {
|
|
12820
12820
|
PUBLIC_API_FRONT: w,
|
|
12821
12821
|
PUBLIC_X_SECURITY_TOKEN: v,
|
|
@@ -12848,10 +12848,10 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12848
12848
|
};
|
|
12849
12849
|
}, [e, t, i]), g = ce(async () => {
|
|
12850
12850
|
if (!(m || !t)) {
|
|
12851
|
-
|
|
12851
|
+
h(!0);
|
|
12852
12852
|
try {
|
|
12853
12853
|
let w;
|
|
12854
|
-
i.PUBLIC_ENV !== "prod" ? w = await A() : w = await
|
|
12854
|
+
i.PUBLIC_ENV !== "prod" ? w = await A() : w = await f(), u({
|
|
12855
12855
|
...w,
|
|
12856
12856
|
data: w.data.slice(0, d)
|
|
12857
12857
|
});
|
|
@@ -12864,7 +12864,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12864
12864
|
t,
|
|
12865
12865
|
i.PUBLIC_ENV,
|
|
12866
12866
|
A,
|
|
12867
|
-
|
|
12867
|
+
f
|
|
12868
12868
|
]);
|
|
12869
12869
|
return Te(() => {
|
|
12870
12870
|
a && g();
|
|
@@ -12900,9 +12900,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12900
12900
|
info: l,
|
|
12901
12901
|
preview: u,
|
|
12902
12902
|
isVideo: m = !1,
|
|
12903
|
-
config:
|
|
12903
|
+
config: h,
|
|
12904
12904
|
overImage: A = "default",
|
|
12905
|
-
isTitle:
|
|
12905
|
+
isTitle: f = !1,
|
|
12906
12906
|
isLarge: g = !1,
|
|
12907
12907
|
keywords: w
|
|
12908
12908
|
} = i;
|
|
@@ -12942,9 +12942,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12942
12942
|
info: l,
|
|
12943
12943
|
preview: u,
|
|
12944
12944
|
share: e.share,
|
|
12945
|
-
config:
|
|
12945
|
+
config: h,
|
|
12946
12946
|
overImage: A,
|
|
12947
|
-
isTitle:
|
|
12947
|
+
isTitle: f,
|
|
12948
12948
|
paths: e.paths,
|
|
12949
12949
|
isVisible: e.isVisible,
|
|
12950
12950
|
DATE_CONFIG: e.API_ENV,
|
|
@@ -13122,7 +13122,7 @@ async function Mu({
|
|
|
13122
13122
|
username: t ?? !1,
|
|
13123
13123
|
id: s,
|
|
13124
13124
|
type: u
|
|
13125
|
-
}),
|
|
13125
|
+
}), h = `${l}?${m.toString()}`;
|
|
13126
13126
|
try {
|
|
13127
13127
|
console.log("Reporting comment:", {
|
|
13128
13128
|
publication: e,
|
|
@@ -13130,9 +13130,9 @@ async function Mu({
|
|
|
13130
13130
|
id: s,
|
|
13131
13131
|
type: a,
|
|
13132
13132
|
encodedType: u,
|
|
13133
|
-
url:
|
|
13133
|
+
url: h
|
|
13134
13134
|
});
|
|
13135
|
-
const A = await re.get(
|
|
13135
|
+
const A = await re.get(h, {
|
|
13136
13136
|
headers: {
|
|
13137
13137
|
"User-Agent": "blu3st@ck-react",
|
|
13138
13138
|
"x-security-token": c,
|
|
@@ -13150,9 +13150,9 @@ async function Mu({
|
|
|
13150
13150
|
throw new Error(`Respuesta inesperada del servidor: ${A.status}`);
|
|
13151
13151
|
} catch (A) {
|
|
13152
13152
|
if (console.error("Error reporting comment:", A), re.isAxiosError(A)) {
|
|
13153
|
-
const
|
|
13154
|
-
throw
|
|
13155
|
-
g?.error || g?.message || `Error HTTP ${
|
|
13153
|
+
const f = A.response?.status, g = A.response?.data;
|
|
13154
|
+
throw f === 400 ? new Error("Datos inválidos para el reporte") : f === 401 ? new Error("Token de API inválido") : f === 403 ? new Error("Acceso denegado para reportar comentario") : f === 404 ? new Error("Comentario no encontrado") : f === 409 ? new Error("El comentario ya fue reportado por este usuario") : f === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
13155
|
+
g?.error || g?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
13156
13156
|
);
|
|
13157
13157
|
}
|
|
13158
13158
|
throw A;
|
|
@@ -13204,7 +13204,7 @@ var yn;
|
|
|
13204
13204
|
function Tl() {
|
|
13205
13205
|
if (yn) return ne;
|
|
13206
13206
|
yn = 1;
|
|
13207
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = 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, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13207
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = 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, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13208
13208
|
function N(b) {
|
|
13209
13209
|
if (typeof b == "object" && b !== null) {
|
|
13210
13210
|
var I = b.$$typeof;
|
|
@@ -13222,7 +13222,7 @@ function Tl() {
|
|
|
13222
13222
|
switch (b = b && b.$$typeof, b) {
|
|
13223
13223
|
case c:
|
|
13224
13224
|
case u:
|
|
13225
|
-
case
|
|
13225
|
+
case f:
|
|
13226
13226
|
case A:
|
|
13227
13227
|
case o:
|
|
13228
13228
|
return b;
|
|
@@ -13238,7 +13238,7 @@ function Tl() {
|
|
|
13238
13238
|
function S(b) {
|
|
13239
13239
|
return N(b) === l;
|
|
13240
13240
|
}
|
|
13241
|
-
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = u, ne.Fragment = a, ne.Lazy =
|
|
13241
|
+
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = u, ne.Fragment = a, ne.Lazy = f, ne.Memo = A, ne.Portal = s, ne.Profiler = i, ne.StrictMode = r, ne.Suspense = m, ne.isAsyncMode = function(b) {
|
|
13242
13242
|
return S(b) || N(b) === d;
|
|
13243
13243
|
}, ne.isConcurrentMode = S, ne.isContextConsumer = function(b) {
|
|
13244
13244
|
return N(b) === c;
|
|
@@ -13251,7 +13251,7 @@ function Tl() {
|
|
|
13251
13251
|
}, ne.isFragment = function(b) {
|
|
13252
13252
|
return N(b) === a;
|
|
13253
13253
|
}, ne.isLazy = function(b) {
|
|
13254
|
-
return N(b) ===
|
|
13254
|
+
return N(b) === f;
|
|
13255
13255
|
}, ne.isMemo = function(b) {
|
|
13256
13256
|
return N(b) === A;
|
|
13257
13257
|
}, ne.isPortal = function(b) {
|
|
@@ -13263,17 +13263,17 @@ function Tl() {
|
|
|
13263
13263
|
}, ne.isSuspense = function(b) {
|
|
13264
13264
|
return N(b) === m;
|
|
13265
13265
|
}, ne.isValidElementType = function(b) {
|
|
13266
|
-
return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b ===
|
|
13266
|
+
return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b === h || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === A || b.$$typeof === o || b.$$typeof === c || b.$$typeof === u || b.$$typeof === w || b.$$typeof === v || b.$$typeof === E || b.$$typeof === g);
|
|
13267
13267
|
}, ne.typeOf = N, ne;
|
|
13268
13268
|
}
|
|
13269
13269
|
var ae = {};
|
|
13270
13270
|
var Cn;
|
|
13271
13271
|
function Il() {
|
|
13272
13272
|
return Cn || (Cn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
13273
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = 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, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13273
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = 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, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13274
13274
|
function N(B) {
|
|
13275
13275
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
13276
|
-
B === a || B === l || B === i || B === r || B === m || B ===
|
|
13276
|
+
B === a || B === l || B === i || B === r || B === m || B === h || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === A || B.$$typeof === o || B.$$typeof === c || B.$$typeof === u || B.$$typeof === w || B.$$typeof === v || B.$$typeof === E || B.$$typeof === g);
|
|
13277
13277
|
}
|
|
13278
13278
|
function S(B) {
|
|
13279
13279
|
if (typeof B == "object" && B !== null) {
|
|
@@ -13294,7 +13294,7 @@ function Il() {
|
|
|
13294
13294
|
switch (_s) {
|
|
13295
13295
|
case c:
|
|
13296
13296
|
case u:
|
|
13297
|
-
case
|
|
13297
|
+
case f:
|
|
13298
13298
|
case A:
|
|
13299
13299
|
case o:
|
|
13300
13300
|
return _s;
|
|
@@ -13307,7 +13307,7 @@ function Il() {
|
|
|
13307
13307
|
}
|
|
13308
13308
|
}
|
|
13309
13309
|
}
|
|
13310
|
-
var b = d, I = l, R = c, Q = o, W = t, j = u, L = a, H =
|
|
13310
|
+
var b = d, I = l, R = c, Q = o, W = t, j = u, L = a, H = f, se = A, M = s, x = i, U = r, D = m, k = !1;
|
|
13311
13311
|
function F(B) {
|
|
13312
13312
|
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) === d;
|
|
13313
13313
|
}
|
|
@@ -13323,14 +13323,14 @@ function Il() {
|
|
|
13323
13323
|
function G(B) {
|
|
13324
13324
|
return typeof B == "object" && B !== null && B.$$typeof === t;
|
|
13325
13325
|
}
|
|
13326
|
-
function
|
|
13326
|
+
function _(B) {
|
|
13327
13327
|
return S(B) === u;
|
|
13328
13328
|
}
|
|
13329
13329
|
function V(B) {
|
|
13330
13330
|
return S(B) === a;
|
|
13331
13331
|
}
|
|
13332
13332
|
function z(B) {
|
|
13333
|
-
return S(B) ===
|
|
13333
|
+
return S(B) === f;
|
|
13334
13334
|
}
|
|
13335
13335
|
function Y(B) {
|
|
13336
13336
|
return S(B) === A;
|
|
@@ -13347,7 +13347,7 @@ function Il() {
|
|
|
13347
13347
|
function ie(B) {
|
|
13348
13348
|
return S(B) === m;
|
|
13349
13349
|
}
|
|
13350
|
-
ae.AsyncMode = b, ae.ConcurrentMode = I, ae.ContextConsumer = R, ae.ContextProvider = Q, ae.Element = W, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = H, ae.Memo = se, ae.Portal =
|
|
13350
|
+
ae.AsyncMode = b, ae.ConcurrentMode = I, ae.ContextConsumer = R, ae.ContextProvider = Q, ae.Element = W, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = H, ae.Memo = se, ae.Portal = M, ae.Profiler = x, ae.StrictMode = U, ae.Suspense = D, ae.isAsyncMode = F, ae.isConcurrentMode = y, ae.isContextConsumer = T, ae.isContextProvider = P, ae.isElement = G, ae.isForwardRef = _, ae.isFragment = V, ae.isLazy = z, ae.isMemo = Y, ae.isPortal = ee, ae.isProfiler = te, ae.isStrictMode = K, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = S;
|
|
13351
13351
|
})()), ae;
|
|
13352
13352
|
}
|
|
13353
13353
|
var Nn;
|
|
@@ -13393,8 +13393,8 @@ function Ul() {
|
|
|
13393
13393
|
t.call(c, m) && (d[m] = c[m]);
|
|
13394
13394
|
if (e) {
|
|
13395
13395
|
l = e(c);
|
|
13396
|
-
for (var
|
|
13397
|
-
s.call(c, l[
|
|
13396
|
+
for (var h = 0; h < l.length; h++)
|
|
13397
|
+
s.call(c, l[h]) && (d[l[h]] = c[l[h]]);
|
|
13398
13398
|
}
|
|
13399
13399
|
}
|
|
13400
13400
|
return d;
|
|
@@ -13435,14 +13435,14 @@ function xl() {
|
|
|
13435
13435
|
var m;
|
|
13436
13436
|
try {
|
|
13437
13437
|
if (typeof i[u] != "function") {
|
|
13438
|
-
var
|
|
13438
|
+
var h = Error(
|
|
13439
13439
|
(d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
13440
13440
|
);
|
|
13441
|
-
throw
|
|
13441
|
+
throw h.name = "Invariant Violation", h;
|
|
13442
13442
|
}
|
|
13443
13443
|
m = i[u](o, u, d, c, null, t);
|
|
13444
|
-
} catch (
|
|
13445
|
-
m =
|
|
13444
|
+
} catch (f) {
|
|
13445
|
+
m = f;
|
|
13446
13446
|
}
|
|
13447
13447
|
if (m && !(m instanceof Error) && e(
|
|
13448
13448
|
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -13484,7 +13484,7 @@ function Rl() {
|
|
|
13484
13484
|
if (typeof T == "function")
|
|
13485
13485
|
return T;
|
|
13486
13486
|
}
|
|
13487
|
-
var
|
|
13487
|
+
var h = "<<anonymous>>", A = {
|
|
13488
13488
|
array: v("array"),
|
|
13489
13489
|
bigint: v("bigint"),
|
|
13490
13490
|
bool: v("boolean"),
|
|
@@ -13505,7 +13505,7 @@ function Rl() {
|
|
|
13505
13505
|
shape: H,
|
|
13506
13506
|
exact: se
|
|
13507
13507
|
};
|
|
13508
|
-
function
|
|
13508
|
+
function f(y, T) {
|
|
13509
13509
|
return y === T ? y !== 0 || 1 / y === 1 / T : y !== y && T !== T;
|
|
13510
13510
|
}
|
|
13511
13511
|
function g(y, T) {
|
|
@@ -13516,7 +13516,7 @@ function Rl() {
|
|
|
13516
13516
|
if (process.env.NODE_ENV !== "production")
|
|
13517
13517
|
var T = {}, P = 0;
|
|
13518
13518
|
function G(V, z, Y, ee, te, K, ie) {
|
|
13519
|
-
if (ee = ee ||
|
|
13519
|
+
if (ee = ee || h, K = K || Y, ie !== s) {
|
|
13520
13520
|
if (d) {
|
|
13521
13521
|
var B = new Error(
|
|
13522
13522
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -13532,16 +13532,16 @@ function Rl() {
|
|
|
13532
13532
|
}
|
|
13533
13533
|
return z[Y] == null ? V ? z[Y] === null ? new g("The " + te + " `" + K + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new g("The " + te + " `" + K + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : y(z, Y, ee, te, K);
|
|
13534
13534
|
}
|
|
13535
|
-
var
|
|
13536
|
-
return
|
|
13535
|
+
var _ = G.bind(null, !1);
|
|
13536
|
+
return _.isRequired = G.bind(null, !0), _;
|
|
13537
13537
|
}
|
|
13538
13538
|
function v(y) {
|
|
13539
|
-
function T(P, G,
|
|
13539
|
+
function T(P, G, _, V, z, Y) {
|
|
13540
13540
|
var ee = P[G], te = U(ee);
|
|
13541
13541
|
if (te !== y) {
|
|
13542
|
-
var K =
|
|
13542
|
+
var K = D(ee);
|
|
13543
13543
|
return new g(
|
|
13544
|
-
"Invalid " + V + " `" + z + "` of type " + ("`" + K + "` supplied to `" +
|
|
13544
|
+
"Invalid " + V + " `" + z + "` of type " + ("`" + K + "` supplied to `" + _ + "`, expected ") + ("`" + y + "`."),
|
|
13545
13545
|
{ expectedType: y }
|
|
13546
13546
|
);
|
|
13547
13547
|
}
|
|
@@ -13553,16 +13553,16 @@ function Rl() {
|
|
|
13553
13553
|
return w(o);
|
|
13554
13554
|
}
|
|
13555
13555
|
function N(y) {
|
|
13556
|
-
function T(P, G,
|
|
13556
|
+
function T(P, G, _, V, z) {
|
|
13557
13557
|
if (typeof y != "function")
|
|
13558
|
-
return new g("Property `" + z + "` of component `" +
|
|
13558
|
+
return new g("Property `" + z + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
13559
13559
|
var Y = P[G];
|
|
13560
13560
|
if (!Array.isArray(Y)) {
|
|
13561
13561
|
var ee = U(Y);
|
|
13562
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13562
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an array."));
|
|
13563
13563
|
}
|
|
13564
13564
|
for (var te = 0; te < Y.length; te++) {
|
|
13565
|
-
var K = y(Y, te,
|
|
13565
|
+
var K = y(Y, te, _, V, z + "[" + te + "]", s);
|
|
13566
13566
|
if (K instanceof Error)
|
|
13567
13567
|
return K;
|
|
13568
13568
|
}
|
|
@@ -13571,32 +13571,32 @@ function Rl() {
|
|
|
13571
13571
|
return w(T);
|
|
13572
13572
|
}
|
|
13573
13573
|
function S() {
|
|
13574
|
-
function y(T, P, G,
|
|
13574
|
+
function y(T, P, G, _, V) {
|
|
13575
13575
|
var z = T[P];
|
|
13576
13576
|
if (!c(z)) {
|
|
13577
13577
|
var Y = U(z);
|
|
13578
|
-
return new g("Invalid " +
|
|
13578
|
+
return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement."));
|
|
13579
13579
|
}
|
|
13580
13580
|
return null;
|
|
13581
13581
|
}
|
|
13582
13582
|
return w(y);
|
|
13583
13583
|
}
|
|
13584
13584
|
function b() {
|
|
13585
|
-
function y(T, P, G,
|
|
13585
|
+
function y(T, P, G, _, V) {
|
|
13586
13586
|
var z = T[P];
|
|
13587
13587
|
if (!e.isValidElementType(z)) {
|
|
13588
13588
|
var Y = U(z);
|
|
13589
|
-
return new g("Invalid " +
|
|
13589
|
+
return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement type."));
|
|
13590
13590
|
}
|
|
13591
13591
|
return null;
|
|
13592
13592
|
}
|
|
13593
13593
|
return w(y);
|
|
13594
13594
|
}
|
|
13595
13595
|
function I(y) {
|
|
13596
|
-
function T(P, G,
|
|
13596
|
+
function T(P, G, _, V, z) {
|
|
13597
13597
|
if (!(P[G] instanceof y)) {
|
|
13598
|
-
var Y = y.name ||
|
|
13599
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13598
|
+
var Y = y.name || h, ee = F(P[G]);
|
|
13599
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected ") + ("instance of `" + Y + "`."));
|
|
13600
13600
|
}
|
|
13601
13601
|
return null;
|
|
13602
13602
|
}
|
|
@@ -13607,28 +13607,28 @@ function Rl() {
|
|
|
13607
13607
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
13608
13608
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
13609
13609
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
13610
|
-
function T(P, G,
|
|
13610
|
+
function T(P, G, _, V, z) {
|
|
13611
13611
|
for (var Y = P[G], ee = 0; ee < y.length; ee++)
|
|
13612
|
-
if (
|
|
13612
|
+
if (f(Y, y[ee]))
|
|
13613
13613
|
return null;
|
|
13614
13614
|
var te = JSON.stringify(y, function(ie, B) {
|
|
13615
|
-
var me =
|
|
13615
|
+
var me = D(B);
|
|
13616
13616
|
return me === "symbol" ? String(B) : B;
|
|
13617
13617
|
});
|
|
13618
|
-
return new g("Invalid " + V + " `" + z + "` of value `" + String(Y) + "` " + ("supplied to `" +
|
|
13618
|
+
return new g("Invalid " + V + " `" + z + "` of value `" + String(Y) + "` " + ("supplied to `" + _ + "`, expected one of " + te + "."));
|
|
13619
13619
|
}
|
|
13620
13620
|
return w(T);
|
|
13621
13621
|
}
|
|
13622
13622
|
function Q(y) {
|
|
13623
|
-
function T(P, G,
|
|
13623
|
+
function T(P, G, _, V, z) {
|
|
13624
13624
|
if (typeof y != "function")
|
|
13625
|
-
return new g("Property `" + z + "` of component `" +
|
|
13625
|
+
return new g("Property `" + z + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
13626
13626
|
var Y = P[G], ee = U(Y);
|
|
13627
13627
|
if (ee !== "object")
|
|
13628
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13628
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an object."));
|
|
13629
13629
|
for (var te in Y)
|
|
13630
13630
|
if (a(Y, te)) {
|
|
13631
|
-
var K = y(Y, te,
|
|
13631
|
+
var K = y(Y, te, _, V, z + "." + te, s);
|
|
13632
13632
|
if (K instanceof Error)
|
|
13633
13633
|
return K;
|
|
13634
13634
|
}
|
|
@@ -13646,9 +13646,9 @@ function Rl() {
|
|
|
13646
13646
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + k(P) + " at index " + T + "."
|
|
13647
13647
|
), o;
|
|
13648
13648
|
}
|
|
13649
|
-
function G(
|
|
13649
|
+
function G(_, V, z, Y, ee) {
|
|
13650
13650
|
for (var te = [], K = 0; K < y.length; K++) {
|
|
13651
|
-
var ie = y[K], B = ie(
|
|
13651
|
+
var ie = y[K], B = ie(_, V, z, Y, ee, s);
|
|
13652
13652
|
if (B == null)
|
|
13653
13653
|
return null;
|
|
13654
13654
|
B.data && a(B.data, "expectedType") && te.push(B.data.expectedType);
|
|
@@ -13659,26 +13659,26 @@ function Rl() {
|
|
|
13659
13659
|
return w(G);
|
|
13660
13660
|
}
|
|
13661
13661
|
function j() {
|
|
13662
|
-
function y(T, P, G,
|
|
13663
|
-
return
|
|
13662
|
+
function y(T, P, G, _, V) {
|
|
13663
|
+
return M(T[P]) ? null : new g("Invalid " + _ + " `" + V + "` supplied to " + ("`" + G + "`, expected a ReactNode."));
|
|
13664
13664
|
}
|
|
13665
13665
|
return w(y);
|
|
13666
13666
|
}
|
|
13667
|
-
function L(y, T, P, G,
|
|
13667
|
+
function L(y, T, P, G, _) {
|
|
13668
13668
|
return new g(
|
|
13669
|
-
(y || "React class") + ": " + T + " type `" + P + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
13669
|
+
(y || "React class") + ": " + T + " type `" + P + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
13670
13670
|
);
|
|
13671
13671
|
}
|
|
13672
13672
|
function H(y) {
|
|
13673
|
-
function T(P, G,
|
|
13673
|
+
function T(P, G, _, V, z) {
|
|
13674
13674
|
var Y = P[G], ee = U(Y);
|
|
13675
13675
|
if (ee !== "object")
|
|
13676
|
-
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
13676
|
+
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
13677
13677
|
for (var te in y) {
|
|
13678
13678
|
var K = y[te];
|
|
13679
13679
|
if (typeof K != "function")
|
|
13680
|
-
return L(
|
|
13681
|
-
var ie = K(Y, te,
|
|
13680
|
+
return L(_, V, z, te, D(K));
|
|
13681
|
+
var ie = K(Y, te, _, V, z + "." + te, s);
|
|
13682
13682
|
if (ie)
|
|
13683
13683
|
return ie;
|
|
13684
13684
|
}
|
|
@@ -13687,21 +13687,21 @@ function Rl() {
|
|
|
13687
13687
|
return w(T);
|
|
13688
13688
|
}
|
|
13689
13689
|
function se(y) {
|
|
13690
|
-
function T(P, G,
|
|
13690
|
+
function T(P, G, _, V, z) {
|
|
13691
13691
|
var Y = P[G], ee = U(Y);
|
|
13692
13692
|
if (ee !== "object")
|
|
13693
|
-
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
13693
|
+
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
13694
13694
|
var te = t({}, P[G], y);
|
|
13695
13695
|
for (var K in te) {
|
|
13696
13696
|
var ie = y[K];
|
|
13697
13697
|
if (a(y, K) && typeof ie != "function")
|
|
13698
|
-
return L(
|
|
13698
|
+
return L(_, V, z, K, D(ie));
|
|
13699
13699
|
if (!ie)
|
|
13700
13700
|
return new g(
|
|
13701
|
-
"Invalid " + V + " `" + z + "` key `" + K + "` supplied to `" +
|
|
13701
|
+
"Invalid " + V + " `" + z + "` key `" + K + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(P[G], null, " ") + `
|
|
13702
13702
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
13703
13703
|
);
|
|
13704
|
-
var B = ie(Y, K,
|
|
13704
|
+
var B = ie(Y, K, _, V, z + "." + K, s);
|
|
13705
13705
|
if (B)
|
|
13706
13706
|
return B;
|
|
13707
13707
|
}
|
|
@@ -13709,7 +13709,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13709
13709
|
}
|
|
13710
13710
|
return w(T);
|
|
13711
13711
|
}
|
|
13712
|
-
function
|
|
13712
|
+
function M(y) {
|
|
13713
13713
|
switch (typeof y) {
|
|
13714
13714
|
case "number":
|
|
13715
13715
|
case "string":
|
|
@@ -13719,7 +13719,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13719
13719
|
return !y;
|
|
13720
13720
|
case "object":
|
|
13721
13721
|
if (Array.isArray(y))
|
|
13722
|
-
return y.every(
|
|
13722
|
+
return y.every(M);
|
|
13723
13723
|
if (y === null || c(y))
|
|
13724
13724
|
return !0;
|
|
13725
13725
|
var T = m(y);
|
|
@@ -13727,12 +13727,12 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13727
13727
|
var P = T.call(y), G;
|
|
13728
13728
|
if (T !== y.entries) {
|
|
13729
13729
|
for (; !(G = P.next()).done; )
|
|
13730
|
-
if (!
|
|
13730
|
+
if (!M(G.value))
|
|
13731
13731
|
return !1;
|
|
13732
13732
|
} else
|
|
13733
13733
|
for (; !(G = P.next()).done; ) {
|
|
13734
|
-
var
|
|
13735
|
-
if (
|
|
13734
|
+
var _ = G.value;
|
|
13735
|
+
if (_ && !M(_[1]))
|
|
13736
13736
|
return !1;
|
|
13737
13737
|
}
|
|
13738
13738
|
} else
|
|
@@ -13749,7 +13749,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13749
13749
|
var T = typeof y;
|
|
13750
13750
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : x(T, y) ? "symbol" : T;
|
|
13751
13751
|
}
|
|
13752
|
-
function
|
|
13752
|
+
function D(y) {
|
|
13753
13753
|
if (typeof y > "u" || y === null)
|
|
13754
13754
|
return "" + y;
|
|
13755
13755
|
var T = U(y);
|
|
@@ -13762,7 +13762,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13762
13762
|
return T;
|
|
13763
13763
|
}
|
|
13764
13764
|
function k(y) {
|
|
13765
|
-
var T =
|
|
13765
|
+
var T = D(y);
|
|
13766
13766
|
switch (T) {
|
|
13767
13767
|
case "array":
|
|
13768
13768
|
case "object":
|
|
@@ -13776,7 +13776,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13776
13776
|
}
|
|
13777
13777
|
}
|
|
13778
13778
|
function F(y) {
|
|
13779
|
-
return !y.constructor || !y.constructor.name ?
|
|
13779
|
+
return !y.constructor || !y.constructor.name ? h : y.constructor.name;
|
|
13780
13780
|
}
|
|
13781
13781
|
return A.checkPropTypes = r, A.resetWarningCache = r.resetWarningCache, A.PropTypes = A, A;
|
|
13782
13782
|
}, $t;
|
|
@@ -13793,10 +13793,10 @@ function kl() {
|
|
|
13793
13793
|
return s.resetWarningCache = t, Zt = function() {
|
|
13794
13794
|
function a(o, c, d, l, u, m) {
|
|
13795
13795
|
if (m !== e) {
|
|
13796
|
-
var
|
|
13796
|
+
var h = new Error(
|
|
13797
13797
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
13798
13798
|
);
|
|
13799
|
-
throw
|
|
13799
|
+
throw h.name = "Invariant Violation", h;
|
|
13800
13800
|
}
|
|
13801
13801
|
}
|
|
13802
13802
|
a.isRequired = a;
|
|
@@ -14007,30 +14007,30 @@ function Ml() {
|
|
|
14007
14007
|
type: !0
|
|
14008
14008
|
}, i = {};
|
|
14009
14009
|
i[e.ForwardRef] = a, i[e.Memo] = r;
|
|
14010
|
-
function o(
|
|
14011
|
-
return e.isMemo(
|
|
14010
|
+
function o(f) {
|
|
14011
|
+
return e.isMemo(f) ? r : i[f.$$typeof] || t;
|
|
14012
14012
|
}
|
|
14013
|
-
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf,
|
|
14014
|
-
function A(
|
|
14013
|
+
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, h = Object.prototype;
|
|
14014
|
+
function A(f, g, w) {
|
|
14015
14015
|
if (typeof g != "string") {
|
|
14016
|
-
if (
|
|
14016
|
+
if (h) {
|
|
14017
14017
|
var v = m(g);
|
|
14018
|
-
v && v !==
|
|
14018
|
+
v && v !== h && A(f, v, w);
|
|
14019
14019
|
}
|
|
14020
14020
|
var E = d(g);
|
|
14021
14021
|
l && (E = E.concat(l(g)));
|
|
14022
|
-
for (var N = o(
|
|
14022
|
+
for (var N = o(f), S = o(g), b = 0; b < E.length; ++b) {
|
|
14023
14023
|
var I = E[b];
|
|
14024
14024
|
if (!s[I] && !(w && w[I]) && !(S && S[I]) && !(N && N[I])) {
|
|
14025
14025
|
var R = u(g, I);
|
|
14026
14026
|
try {
|
|
14027
|
-
c(
|
|
14027
|
+
c(f, I, R);
|
|
14028
14028
|
} catch {
|
|
14029
14029
|
}
|
|
14030
14030
|
}
|
|
14031
14031
|
}
|
|
14032
14032
|
}
|
|
14033
|
-
return
|
|
14033
|
+
return f;
|
|
14034
14034
|
}
|
|
14035
14035
|
return Xt = A, Xt;
|
|
14036
14036
|
}
|
|
@@ -14062,8 +14062,8 @@ function Hl(e, t) {
|
|
|
14062
14062
|
var r = a.displayName || a.name || "Component", i = /* @__PURE__ */ (function(c) {
|
|
14063
14063
|
jl(d, c);
|
|
14064
14064
|
function d(u, m) {
|
|
14065
|
-
var
|
|
14066
|
-
return
|
|
14065
|
+
var h;
|
|
14066
|
+
return h = c.call(this, u, m) || this, h.state = {}, h.__scriptURL = "", h;
|
|
14067
14067
|
}
|
|
14068
14068
|
var l = d.prototype;
|
|
14069
14069
|
return l.asyncScriptLoaderGetScriptLoaderID = function() {
|
|
@@ -14071,24 +14071,24 @@ function Hl(e, t) {
|
|
|
14071
14071
|
}, l.setupScriptURL = function() {
|
|
14072
14072
|
return this.__scriptURL = typeof e == "function" ? e() : e, this.__scriptURL;
|
|
14073
14073
|
}, l.asyncScriptLoaderHandleLoad = function(m) {
|
|
14074
|
-
var
|
|
14074
|
+
var h = this;
|
|
14075
14075
|
this.setState(m, function() {
|
|
14076
|
-
return
|
|
14076
|
+
return h.props.asyncScriptOnLoad && h.props.asyncScriptOnLoad(h.state);
|
|
14077
14077
|
});
|
|
14078
14078
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
14079
14079
|
var m = Ce[this.__scriptURL];
|
|
14080
14080
|
if (!m || !m.loaded)
|
|
14081
14081
|
throw new Error("Script is not loaded.");
|
|
14082
|
-
for (var
|
|
14083
|
-
m.observers[
|
|
14082
|
+
for (var h in m.observers)
|
|
14083
|
+
m.observers[h](m);
|
|
14084
14084
|
delete window[t.callbackName];
|
|
14085
14085
|
}, l.componentDidMount = function() {
|
|
14086
|
-
var m = this,
|
|
14087
|
-
if (g && typeof window[g] < "u" && (Ce[
|
|
14086
|
+
var m = this, h = this.setupScriptURL(), A = this.asyncScriptLoaderGetScriptLoaderID(), f = t, g = f.globalName, w = f.callbackName, v = f.scriptId;
|
|
14087
|
+
if (g && typeof window[g] < "u" && (Ce[h] = {
|
|
14088
14088
|
loaded: !0,
|
|
14089
14089
|
observers: {}
|
|
14090
|
-
}), Ce[
|
|
14091
|
-
var E = Ce[
|
|
14090
|
+
}), Ce[h]) {
|
|
14091
|
+
var E = Ce[h];
|
|
14092
14092
|
if (E && (E.loaded || E.errored)) {
|
|
14093
14093
|
this.asyncScriptLoaderHandleLoad(E);
|
|
14094
14094
|
return;
|
|
@@ -14101,18 +14101,18 @@ function Hl(e, t) {
|
|
|
14101
14101
|
var N = {};
|
|
14102
14102
|
N[A] = function(R) {
|
|
14103
14103
|
return m.asyncScriptLoaderHandleLoad(R);
|
|
14104
|
-
}, Ce[
|
|
14104
|
+
}, Ce[h] = {
|
|
14105
14105
|
loaded: !1,
|
|
14106
14106
|
observers: N
|
|
14107
14107
|
};
|
|
14108
14108
|
var S = document.createElement("script");
|
|
14109
|
-
S.src =
|
|
14109
|
+
S.src = h, S.async = !0;
|
|
14110
14110
|
for (var b in t.attributes)
|
|
14111
14111
|
S.setAttribute(b, t.attributes[b]);
|
|
14112
14112
|
v && (S.id = v);
|
|
14113
14113
|
var I = function(Q) {
|
|
14114
|
-
if (Ce[
|
|
14115
|
-
var W = Ce[
|
|
14114
|
+
if (Ce[h]) {
|
|
14115
|
+
var W = Ce[h], j = W.observers;
|
|
14116
14116
|
for (var L in j)
|
|
14117
14117
|
Q(j[L]) && delete j[L];
|
|
14118
14118
|
}
|
|
@@ -14120,12 +14120,12 @@ function Hl(e, t) {
|
|
|
14120
14120
|
w && typeof window < "u" && (window[w] = function() {
|
|
14121
14121
|
return m.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
14122
14122
|
}), S.onload = function() {
|
|
14123
|
-
var R = Ce[
|
|
14123
|
+
var R = Ce[h];
|
|
14124
14124
|
R && (R.loaded = !0, I(function(Q) {
|
|
14125
14125
|
return w ? !1 : (Q(R), !0);
|
|
14126
14126
|
}));
|
|
14127
14127
|
}, S.onerror = function() {
|
|
14128
|
-
var R = Ce[
|
|
14128
|
+
var R = Ce[h];
|
|
14129
14129
|
R && (R.errored = !0, I(function(Q) {
|
|
14130
14130
|
return Q(R), !0;
|
|
14131
14131
|
}));
|
|
@@ -14133,15 +14133,15 @@ function Hl(e, t) {
|
|
|
14133
14133
|
}, l.componentWillUnmount = function() {
|
|
14134
14134
|
var m = this.__scriptURL;
|
|
14135
14135
|
if (t.removeOnUnmount === !0)
|
|
14136
|
-
for (var
|
|
14137
|
-
|
|
14138
|
-
var
|
|
14139
|
-
|
|
14136
|
+
for (var h = document.getElementsByTagName("script"), A = 0; A < h.length; A += 1)
|
|
14137
|
+
h[A].src.indexOf(m) > -1 && h[A].parentNode && h[A].parentNode.removeChild(h[A]);
|
|
14138
|
+
var f = Ce[m];
|
|
14139
|
+
f && (delete f.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Ce[m]);
|
|
14140
14140
|
}, l.render = function() {
|
|
14141
|
-
var m = t.globalName,
|
|
14142
|
-
|
|
14143
|
-
var A =
|
|
14144
|
-
return m && typeof window < "u" && (
|
|
14141
|
+
var m = t.globalName, h = this.props;
|
|
14142
|
+
h.asyncScriptOnLoad;
|
|
14143
|
+
var A = h.forwardedRef, f = Gl(h, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
14144
|
+
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = A, Le(a, f);
|
|
14145
14145
|
}, d;
|
|
14146
14146
|
})(Da), o = On(function(c, d) {
|
|
14147
14147
|
return Le(i, ms({}, c, {
|
|
@@ -14195,9 +14195,9 @@ const La = Hl(Fl, {
|
|
|
14195
14195
|
CAPTCHA_KEY_V2: i,
|
|
14196
14196
|
texts: o
|
|
14197
14197
|
}) => {
|
|
14198
|
-
const c = { ...zl, ...o?.comentarios }, d = { ...ls, ...c.reportReasons ?? {} }, [l, u] = $("form"), [m,
|
|
14198
|
+
const c = { ...zl, ...o?.comentarios }, d = { ...ls, ...c.reportReasons ?? {} }, [l, u] = $("form"), [m, h] = $(
|
|
14199
14199
|
""
|
|
14200
|
-
), [A,
|
|
14200
|
+
), [A, f] = $(""), [g, w] = $(""), v = [
|
|
14201
14201
|
{ id: "spam", label: d.spam },
|
|
14202
14202
|
{ id: "inappropriate", label: d.inappropriate },
|
|
14203
14203
|
{ id: "hate", label: d.hate },
|
|
@@ -14208,10 +14208,10 @@ const La = Hl(Fl, {
|
|
|
14208
14208
|
], E = async () => {
|
|
14209
14209
|
if (!(!m || !s)) {
|
|
14210
14210
|
if (Ra(document).includes(s)) {
|
|
14211
|
-
|
|
14211
|
+
f(c.errorAlreadyReported);
|
|
14212
14212
|
return;
|
|
14213
14213
|
}
|
|
14214
|
-
u("loading"),
|
|
14214
|
+
u("loading"), f("");
|
|
14215
14215
|
try {
|
|
14216
14216
|
const b = await (await fetch("/api/comments-report", {
|
|
14217
14217
|
method: "POST",
|
|
@@ -14234,11 +14234,11 @@ const La = Hl(Fl, {
|
|
|
14234
14234
|
else
|
|
14235
14235
|
throw new Error(b.message || c.errorReportComment);
|
|
14236
14236
|
} catch (S) {
|
|
14237
|
-
console.error("Error reporting comment:", S),
|
|
14237
|
+
console.error("Error reporting comment:", S), f(S.message || c.errorReportComment), u("form");
|
|
14238
14238
|
}
|
|
14239
14239
|
}
|
|
14240
14240
|
}, N = () => {
|
|
14241
|
-
u("form"),
|
|
14241
|
+
u("form"), h(""), f(""), t();
|
|
14242
14242
|
};
|
|
14243
14243
|
return !e || !s || !r ? null : /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ p("div", { className: "sass-pg-cmt-rp-popup", children: [
|
|
14244
14244
|
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ n($e, {}) }),
|
|
@@ -14253,7 +14253,7 @@ const La = Hl(Fl, {
|
|
|
14253
14253
|
name: "reportReason",
|
|
14254
14254
|
value: S.id,
|
|
14255
14255
|
checked: m === S.id,
|
|
14256
|
-
onChange: (b) =>
|
|
14256
|
+
onChange: (b) => h(b.target.value),
|
|
14257
14257
|
className: "sass-pg-cmt-rp-radioInput"
|
|
14258
14258
|
}
|
|
14259
14259
|
),
|
|
@@ -14400,20 +14400,20 @@ async function Kl({
|
|
|
14400
14400
|
throw new Error("Invalid input types for publication or path");
|
|
14401
14401
|
if (!c)
|
|
14402
14402
|
throw new Error("Missing CMS API token");
|
|
14403
|
-
const { PUBLIC_ENV: l, PUBLIC_API_HOST: u = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION:
|
|
14403
|
+
const { PUBLIC_ENV: l, PUBLIC_API_HOST: u = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION: h } = d, A = parseInt(String(s), 10), f = parseInt(String(a), 10);
|
|
14404
14404
|
if (isNaN(A) || A <= 0)
|
|
14405
14405
|
throw new Error("Invalid size parameter");
|
|
14406
|
-
if (isNaN(
|
|
14406
|
+
if (isNaN(f) || f < 0)
|
|
14407
14407
|
throw new Error("Invalid sizereply parameter");
|
|
14408
14408
|
const g = l !== "prod" ? `${u}${m}` : "", w = new URLSearchParams({
|
|
14409
14409
|
publication: e,
|
|
14410
14410
|
path: t,
|
|
14411
14411
|
size: A.toString(),
|
|
14412
|
-
sizereply:
|
|
14412
|
+
sizereply: f.toString(),
|
|
14413
14413
|
state: o
|
|
14414
14414
|
});
|
|
14415
14415
|
r && w.append("id", r), i && w.append("lastid", i);
|
|
14416
|
-
const v = `${g}${
|
|
14416
|
+
const v = `${g}${h}/newcomments/get?${w.toString()}`;
|
|
14417
14417
|
try {
|
|
14418
14418
|
const { data: E } = await re.get(v, {
|
|
14419
14419
|
headers: {
|
|
@@ -14675,7 +14675,7 @@ function ed({
|
|
|
14675
14675
|
const td = {
|
|
14676
14676
|
submitCommentButton: "Enviar Comentario"
|
|
14677
14677
|
}, qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin: r, showAlert: i, texts: o }) => {
|
|
14678
|
-
const c = { ...td, ...o?.comentarios }, [d, l] = le.useState(!1), [u, m] = le.useState(!1), [
|
|
14678
|
+
const c = { ...td, ...o?.comentarios }, [d, l] = le.useState(!1), [u, m] = le.useState(!1), [h, A] = le.useState(!1);
|
|
14679
14679
|
le.useEffect(() => {
|
|
14680
14680
|
let g = null;
|
|
14681
14681
|
return d && (g = setTimeout(() => {
|
|
@@ -14690,9 +14690,9 @@ const td = {
|
|
|
14690
14690
|
const w = g.closest(".comment-form"), v = w?.querySelector('input[name="username"]'), E = w?.querySelector('textarea[name="comment"]'), N = w?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
14691
14691
|
v?.value?.trim() && E?.value?.trim() && N?.value?.trim() && g.click();
|
|
14692
14692
|
});
|
|
14693
|
-
const
|
|
14694
|
-
return d ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src:
|
|
14695
|
-
|
|
14693
|
+
const f = oe("/Success.gif");
|
|
14694
|
+
return d ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */ p(J, { children: [
|
|
14695
|
+
h && s.CONFIG_commentsV2 && i && /* @__PURE__ */ n(ed, { API_ENV: s, icon: a, handleGoogleLogin: r, texts: o, onClose: (g) => {
|
|
14696
14696
|
g && m(!0), A(!1);
|
|
14697
14697
|
} }),
|
|
14698
14698
|
/* @__PURE__ */ p(
|
|
@@ -14750,9 +14750,9 @@ const td = {
|
|
|
14750
14750
|
return A && (A.style.display = "block"), !1;
|
|
14751
14751
|
}
|
|
14752
14752
|
if (!r && !d) return;
|
|
14753
|
-
const
|
|
14753
|
+
const h = r ? l : "[[" + d + "]] " + l;
|
|
14754
14754
|
try {
|
|
14755
|
-
const A = Date.now(),
|
|
14755
|
+
const A = Date.now(), f = await fetch("/api/comments-add", {
|
|
14756
14756
|
method: "POST",
|
|
14757
14757
|
headers: { "Content-Type": "application/json" },
|
|
14758
14758
|
body: JSON.stringify({
|
|
@@ -14760,19 +14760,19 @@ const td = {
|
|
|
14760
14760
|
path: e,
|
|
14761
14761
|
id: i,
|
|
14762
14762
|
username: r ? r.username : !1,
|
|
14763
|
-
comment:
|
|
14763
|
+
comment: h,
|
|
14764
14764
|
recaptchaResponse: s
|
|
14765
14765
|
})
|
|
14766
14766
|
});
|
|
14767
14767
|
let g = null;
|
|
14768
14768
|
try {
|
|
14769
|
-
g = await
|
|
14769
|
+
g = await f.json();
|
|
14770
14770
|
} catch (S) {
|
|
14771
14771
|
console.error("Error parsing JSON response:", S);
|
|
14772
14772
|
}
|
|
14773
|
-
if (!
|
|
14773
|
+
if (!f.ok)
|
|
14774
14774
|
throw new Error(
|
|
14775
|
-
`Error al enviar comentario: ${g?.message} status: ${
|
|
14775
|
+
`Error al enviar comentario: ${g?.message} status: ${f.status}`
|
|
14776
14776
|
);
|
|
14777
14777
|
const w = Date.now(), v = Math.max(0, 2400 + Math.abs(w - A)), E = r || { username: d, firstname: d }, N = {
|
|
14778
14778
|
username: E.username,
|
|
@@ -14800,11 +14800,11 @@ const td = {
|
|
|
14800
14800
|
API_ENV: o,
|
|
14801
14801
|
texts: c
|
|
14802
14802
|
}) => {
|
|
14803
|
-
const [d, l] = $(!0), [u, m] = $(""),
|
|
14803
|
+
const [d, l] = $(!0), [u, m] = $(""), h = () => {
|
|
14804
14804
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0), i();
|
|
14805
14805
|
};
|
|
14806
14806
|
return /* @__PURE__ */ p("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
14807
|
-
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick:
|
|
14807
|
+
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: h, children: /* @__PURE__ */ n($e, {}) }),
|
|
14808
14808
|
/* @__PURE__ */ n(
|
|
14809
14809
|
Bs,
|
|
14810
14810
|
{
|
|
@@ -14827,7 +14827,7 @@ const td = {
|
|
|
14827
14827
|
{
|
|
14828
14828
|
onClick: async (A) => {
|
|
14829
14829
|
if (d) return;
|
|
14830
|
-
const
|
|
14830
|
+
const f = await Ms({
|
|
14831
14831
|
path: a,
|
|
14832
14832
|
ref: t,
|
|
14833
14833
|
captchaToken: u,
|
|
@@ -14837,9 +14837,9 @@ const td = {
|
|
|
14837
14837
|
addComment: r,
|
|
14838
14838
|
API_ENV: o
|
|
14839
14839
|
});
|
|
14840
|
-
return
|
|
14841
|
-
|
|
14842
|
-
},
|
|
14840
|
+
return f && typeof f == "number" ? (setTimeout(() => {
|
|
14841
|
+
h();
|
|
14842
|
+
}, f), !0) : !1;
|
|
14843
14843
|
},
|
|
14844
14844
|
isDisabled: d,
|
|
14845
14845
|
API_ENV: o,
|
|
@@ -14871,7 +14871,7 @@ const td = {
|
|
|
14871
14871
|
}, rd = {
|
|
14872
14872
|
moreRepliesButton: "Más Respuestas"
|
|
14873
14873
|
}, id = ({ comment: e, replyingTo: t, path: s, user: a, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: c }) => {
|
|
14874
|
-
const d = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, m] = $(l), [
|
|
14874
|
+
const d = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, m] = $(l), [h, A] = le.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: g } = o, w = e.text, v = le.useRef(null);
|
|
14875
14875
|
let E = `${Ie.firstname} ${Ie.lastname ?? ""}`, N = Ie.username;
|
|
14876
14876
|
e.user && (E = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
14877
14877
|
const S = (b) => {
|
|
@@ -14921,7 +14921,7 @@ const td = {
|
|
|
14921
14921
|
},
|
|
14922
14922
|
b.id
|
|
14923
14923
|
)),
|
|
14924
|
-
|
|
14924
|
+
h ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Ls, {}) }) : u.morereply && /* @__PURE__ */ n(
|
|
14925
14925
|
"button",
|
|
14926
14926
|
{
|
|
14927
14927
|
className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
|
|
@@ -14930,7 +14930,7 @@ const td = {
|
|
|
14930
14930
|
A(!0);
|
|
14931
14931
|
try {
|
|
14932
14932
|
const R = await Ps({
|
|
14933
|
-
publication:
|
|
14933
|
+
publication: f ?? "",
|
|
14934
14934
|
path: s ?? "",
|
|
14935
14935
|
size: 2,
|
|
14936
14936
|
sizereply: 2,
|
|
@@ -15071,7 +15071,7 @@ const td = {
|
|
|
15071
15071
|
console.log("invalidForm");
|
|
15072
15072
|
return;
|
|
15073
15073
|
}
|
|
15074
|
-
const
|
|
15074
|
+
const f = e.current.value, g = await Ms({
|
|
15075
15075
|
path: s,
|
|
15076
15076
|
ref: t,
|
|
15077
15077
|
captchaToken: u,
|
|
@@ -15079,7 +15079,7 @@ const td = {
|
|
|
15079
15079
|
user: void 0,
|
|
15080
15080
|
addComment: i,
|
|
15081
15081
|
API_ENV: o,
|
|
15082
|
-
anonimusUser:
|
|
15082
|
+
anonimusUser: f
|
|
15083
15083
|
});
|
|
15084
15084
|
return m(""), g && typeof g == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0), setTimeout(() => {
|
|
15085
15085
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0);
|
|
@@ -15116,9 +15116,9 @@ const td = {
|
|
|
15116
15116
|
API_ENV: o,
|
|
15117
15117
|
texts: c
|
|
15118
15118
|
}) => {
|
|
15119
|
-
const d = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: u } = o, m = l ?? "",
|
|
15119
|
+
const d = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: u } = o, m = l ?? "", h = t.replaceAll("/", "|"), [A, f] = $(
|
|
15120
15120
|
void 0
|
|
15121
|
-
), [g, w] = $(""), { comments: v, setComments: E } = Jl(
|
|
15121
|
+
), [g, w] = $(""), { comments: v, setComments: E } = Jl(h, o), [N, S] = le.useState(!1), b = le.useRef(null), I = le.useRef(null), R = (x) => {
|
|
15122
15122
|
w(g === x ? "" : x);
|
|
15123
15123
|
}, Q = (x) => {
|
|
15124
15124
|
E(
|
|
@@ -15128,7 +15128,7 @@ const td = {
|
|
|
15128
15128
|
} : void 0
|
|
15129
15129
|
);
|
|
15130
15130
|
}, W = (x) => {
|
|
15131
|
-
|
|
15131
|
+
f(x);
|
|
15132
15132
|
}, j = async () => {
|
|
15133
15133
|
if (!v || !v.morecomment || v.comments.length === 0) return;
|
|
15134
15134
|
const x = v.comments[v.comments.length - 1];
|
|
@@ -15136,9 +15136,9 @@ const td = {
|
|
|
15136
15136
|
S(!0);
|
|
15137
15137
|
const U = x.id;
|
|
15138
15138
|
try {
|
|
15139
|
-
const
|
|
15139
|
+
const D = await Ps({
|
|
15140
15140
|
publication: m,
|
|
15141
|
-
path:
|
|
15141
|
+
path: h ?? "",
|
|
15142
15142
|
size: 5,
|
|
15143
15143
|
sizereply: 2,
|
|
15144
15144
|
id: void 0,
|
|
@@ -15148,13 +15148,13 @@ const td = {
|
|
|
15148
15148
|
API_ENV: o
|
|
15149
15149
|
});
|
|
15150
15150
|
E({
|
|
15151
|
-
morecomment:
|
|
15152
|
-
comments: [...v.comments, ...
|
|
15151
|
+
morecomment: D.morecomment ?? !1,
|
|
15152
|
+
comments: [...v.comments, ...D.comments]
|
|
15153
15153
|
}), S(!1);
|
|
15154
|
-
} catch (
|
|
15155
|
-
throw S(!1), new Error(`Error al obtener comentarios: ${
|
|
15154
|
+
} catch (D) {
|
|
15155
|
+
throw S(!1), new Error(`Error al obtener comentarios: ${D}`);
|
|
15156
15156
|
}
|
|
15157
|
-
}, L = v?.comments && v.comments.length > 0, H = L ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }),
|
|
15157
|
+
}, L = v?.comments && v.comments.length > 0, H = L ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }), M = () => {
|
|
15158
15158
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login");
|
|
15159
15159
|
};
|
|
15160
15160
|
return /* @__PURE__ */ p(J, { children: [
|
|
@@ -15175,7 +15175,7 @@ const td = {
|
|
|
15175
15175
|
commentRef: b,
|
|
15176
15176
|
user: s,
|
|
15177
15177
|
addComment: Q,
|
|
15178
|
-
path:
|
|
15178
|
+
path: h,
|
|
15179
15179
|
API_ENV: o,
|
|
15180
15180
|
texts: c
|
|
15181
15181
|
}
|
|
@@ -15183,7 +15183,7 @@ const td = {
|
|
|
15183
15183
|
] }) : o.CONFIG_commentsV2 ? /* @__PURE__ */ p(J, { children: [
|
|
15184
15184
|
/* @__PURE__ */ p("p", { className: "anonimus-message", children: [
|
|
15185
15185
|
d.anonimusPromptPrefix,
|
|
15186
|
-
/* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick:
|
|
15186
|
+
/* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick: M, children: d.anonimusPromptLinkText }),
|
|
15187
15187
|
d.anonimusPromptSuffix
|
|
15188
15188
|
] }),
|
|
15189
15189
|
/* @__PURE__ */ n(
|
|
@@ -15194,7 +15194,7 @@ const td = {
|
|
|
15194
15194
|
icon: r,
|
|
15195
15195
|
handleGoogleLogin: i,
|
|
15196
15196
|
addComment: Q,
|
|
15197
|
-
path:
|
|
15197
|
+
path: h,
|
|
15198
15198
|
API_ENV: o,
|
|
15199
15199
|
texts: c
|
|
15200
15200
|
}
|
|
@@ -15214,7 +15214,7 @@ const td = {
|
|
|
15214
15214
|
handleReplyingTo: R,
|
|
15215
15215
|
onFlag: W,
|
|
15216
15216
|
user: s ?? Ie,
|
|
15217
|
-
path:
|
|
15217
|
+
path: h,
|
|
15218
15218
|
API_ENV: o,
|
|
15219
15219
|
texts: c
|
|
15220
15220
|
},
|
|
@@ -15240,7 +15240,7 @@ const td = {
|
|
|
15240
15240
|
publication: m,
|
|
15241
15241
|
commentId: A,
|
|
15242
15242
|
isOpen: A !== void 0,
|
|
15243
|
-
onClose: () =>
|
|
15243
|
+
onClose: () => f(void 0),
|
|
15244
15244
|
CAPTCHA_KEY_V2: o.CAPTCHA_KEY_V2 ?? "",
|
|
15245
15245
|
texts: c
|
|
15246
15246
|
}
|
|
@@ -15307,8 +15307,8 @@ function fd({
|
|
|
15307
15307
|
try {
|
|
15308
15308
|
const g = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
15309
15309
|
o(g.isAuthenticated ?? !1), d(g.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
|
|
15310
|
-
} catch (
|
|
15311
|
-
console.error("Error checking auth:",
|
|
15310
|
+
} catch (f) {
|
|
15311
|
+
console.error("Error checking auth:", f), o(!1), d(null);
|
|
15312
15312
|
}
|
|
15313
15313
|
}
|
|
15314
15314
|
}, [e, l]);
|
|
@@ -15316,14 +15316,14 @@ function fd({
|
|
|
15316
15316
|
u();
|
|
15317
15317
|
}, [u, e]), Te(() => {
|
|
15318
15318
|
if (!c || !e || typeof window > "u") return;
|
|
15319
|
-
const
|
|
15320
|
-
if (typeof
|
|
15319
|
+
const f = window;
|
|
15320
|
+
if (typeof f != "function") {
|
|
15321
15321
|
console.warn("gtag no está disponible todavía");
|
|
15322
15322
|
return;
|
|
15323
15323
|
}
|
|
15324
|
-
|
|
15324
|
+
f.gtag("set", { user_id: c.username }), console.log("username setted successfully");
|
|
15325
15325
|
}, [c, e]);
|
|
15326
|
-
const m = "/api/auth/login",
|
|
15326
|
+
const m = "/api/auth/login", h = /* @__PURE__ */ n(
|
|
15327
15327
|
"div",
|
|
15328
15328
|
{
|
|
15329
15329
|
className: "su-flex-center su-relative",
|
|
@@ -15332,7 +15332,7 @@ function fd({
|
|
|
15332
15332
|
}
|
|
15333
15333
|
}
|
|
15334
15334
|
);
|
|
15335
|
-
if (i === null) return
|
|
15335
|
+
if (i === null) return h;
|
|
15336
15336
|
const A = t.replaceAll("|", "/");
|
|
15337
15337
|
return e ? /* @__PURE__ */ n(
|
|
15338
15338
|
hd,
|
|
@@ -15347,7 +15347,7 @@ function fd({
|
|
|
15347
15347
|
API_ENV: a,
|
|
15348
15348
|
texts: r
|
|
15349
15349
|
}
|
|
15350
|
-
) :
|
|
15350
|
+
) : h;
|
|
15351
15351
|
}
|
|
15352
15352
|
const _u = ({
|
|
15353
15353
|
internalPath: e,
|
|
@@ -15419,7 +15419,7 @@ async function ju({
|
|
|
15419
15419
|
message: "Faltan campos obligatorios. Por favor, completa todos los campos.",
|
|
15420
15420
|
status: 400
|
|
15421
15421
|
};
|
|
15422
|
-
if ([e, t, a].some((
|
|
15422
|
+
if ([e, t, a].some((f) => typeof f != "string"))
|
|
15423
15423
|
return {
|
|
15424
15424
|
type: "error",
|
|
15425
15425
|
message: "Datos inválidos. Intenta de nuevo.",
|
|
@@ -15438,15 +15438,15 @@ async function ju({
|
|
|
15438
15438
|
message: "Captcha inválido. Intenta nuevamente.",
|
|
15439
15439
|
status: 403
|
|
15440
15440
|
};
|
|
15441
|
-
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,
|
|
15441
|
+
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`, h = {
|
|
15442
15442
|
publication: e,
|
|
15443
15443
|
path: t.replace(/\|/gi, "/"),
|
|
15444
15444
|
text: a.trim()
|
|
15445
15445
|
};
|
|
15446
|
-
s && (
|
|
15447
|
-
const A = new URLSearchParams(
|
|
15446
|
+
s && (h.username = s), r && (h.id = r);
|
|
15447
|
+
const A = new URLSearchParams(h);
|
|
15448
15448
|
try {
|
|
15449
|
-
const { data:
|
|
15449
|
+
const { data: f } = await re.get(`${m}?${A.toString()}`, {
|
|
15450
15450
|
headers: {
|
|
15451
15451
|
"Content-Type": "application/json",
|
|
15452
15452
|
"x-security-token": d,
|
|
@@ -15454,18 +15454,18 @@ async function ju({
|
|
|
15454
15454
|
"User-Agent": "amplifyapp-comments-saas"
|
|
15455
15455
|
}
|
|
15456
15456
|
});
|
|
15457
|
-
return !
|
|
15457
|
+
return !f || f.error ? (console.error("CMS error response:", f), {
|
|
15458
15458
|
type: "error",
|
|
15459
15459
|
message: "No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",
|
|
15460
15460
|
status: 502
|
|
15461
|
-
}) : (console.log("Comentario enviado con éxito",
|
|
15461
|
+
}) : (console.log("Comentario enviado con éxito", f), {
|
|
15462
15462
|
type: "success",
|
|
15463
15463
|
message: "Comentario enviado con éxito.",
|
|
15464
15464
|
status: 200
|
|
15465
15465
|
});
|
|
15466
|
-
} catch (
|
|
15467
|
-
if (console.error("Error enviando comentario:",
|
|
15468
|
-
const g =
|
|
15466
|
+
} catch (f) {
|
|
15467
|
+
if (console.error("Error enviando comentario:", f), re.isAxiosError(f)) {
|
|
15468
|
+
const g = f.response?.status ?? 500, w = f.response?.data;
|
|
15469
15469
|
return g === 400 ? {
|
|
15470
15470
|
type: "error",
|
|
15471
15471
|
message: w?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
@@ -15795,15 +15795,15 @@ const Bn = {
|
|
|
15795
15795
|
}) => {
|
|
15796
15796
|
const c = [], l = t, u = Object.keys(e).length / l;
|
|
15797
15797
|
for (let m = 1; m <= u; m++)
|
|
15798
|
-
for (let
|
|
15799
|
-
const A = "Home_" + m + "_" +
|
|
15798
|
+
for (let h = 1; h <= l; h++) {
|
|
15799
|
+
const A = "Home_" + m + "_" + h;
|
|
15800
15800
|
!e[A] || !e[A].blockSass || !e[A].blockSass[0] || !e[A].blockSass[0].value || !e[A].blockSass[0].block || e[A].blockSass[0].block === "No Mostrar" || (e[A].blockSass[0]?.block === "Modulo iframe" ? c.push(
|
|
15801
15801
|
/* @__PURE__ */ p(
|
|
15802
15802
|
hn,
|
|
15803
15803
|
{
|
|
15804
15804
|
id: e[A].blockSass[0].key,
|
|
15805
15805
|
show: !!e[A].blockSass[0].value,
|
|
15806
|
-
order: (m - 1) * l + (
|
|
15806
|
+
order: (m - 1) * l + (h - 1),
|
|
15807
15807
|
children: [
|
|
15808
15808
|
/* @__PURE__ */ n(
|
|
15809
15809
|
Pn,
|
|
@@ -15822,12 +15822,12 @@ const Bn = {
|
|
|
15822
15822
|
Ve,
|
|
15823
15823
|
{
|
|
15824
15824
|
banners: i,
|
|
15825
|
-
index: "dynamic_" + m + "_" +
|
|
15825
|
+
index: "dynamic_" + m + "_" + h
|
|
15826
15826
|
}
|
|
15827
15827
|
) })
|
|
15828
15828
|
]
|
|
15829
15829
|
},
|
|
15830
|
-
m + "_" +
|
|
15830
|
+
m + "_" + h
|
|
15831
15831
|
)
|
|
15832
15832
|
) : c.push(
|
|
15833
15833
|
/* @__PURE__ */ p(
|
|
@@ -15835,7 +15835,7 @@ const Bn = {
|
|
|
15835
15835
|
{
|
|
15836
15836
|
id: e[A].blockSass[0].key,
|
|
15837
15837
|
show: !!e[A].content?.data,
|
|
15838
|
-
order: (m - 1) * l + (
|
|
15838
|
+
order: (m - 1) * l + (h - 1),
|
|
15839
15839
|
children: [
|
|
15840
15840
|
/* @__PURE__ */ n(
|
|
15841
15841
|
Pn,
|
|
@@ -15858,12 +15858,12 @@ const Bn = {
|
|
|
15858
15858
|
Ve,
|
|
15859
15859
|
{
|
|
15860
15860
|
banners: i,
|
|
15861
|
-
index: "dynamic_" + m + "_" +
|
|
15861
|
+
index: "dynamic_" + m + "_" + h
|
|
15862
15862
|
}
|
|
15863
15863
|
) })
|
|
15864
15864
|
]
|
|
15865
15865
|
},
|
|
15866
|
-
m + "_" +
|
|
15866
|
+
m + "_" + h
|
|
15867
15867
|
)
|
|
15868
15868
|
));
|
|
15869
15869
|
}
|
|
@@ -15874,7 +15874,7 @@ const Bn = {
|
|
|
15874
15874
|
config: s,
|
|
15875
15875
|
banners: a
|
|
15876
15876
|
}) => {
|
|
15877
|
-
const { PUBLIC_ENV: r } =
|
|
15877
|
+
const { PUBLIC_ENV: r } = q();
|
|
15878
15878
|
if (r !== "local") return null;
|
|
15879
15879
|
const i = e?.news?.data || [], o = (c, d) => ({
|
|
15880
15880
|
...e?.news,
|
|
@@ -16038,7 +16038,7 @@ export {
|
|
|
16038
16038
|
ru as generalGetData,
|
|
16039
16039
|
qa as getCaptchaToken,
|
|
16040
16040
|
Kl as getComments,
|
|
16041
|
-
|
|
16041
|
+
q as getConfig,
|
|
16042
16042
|
au as getDynamicSlots,
|
|
16043
16043
|
st as getEnvironmentUrl,
|
|
16044
16044
|
Td as getEnvironmentUrlFront,
|