sass-template-common 0.6.13 → 0.6.14
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.
|
@@ -176,150 +176,150 @@ function io() {
|
|
|
176
176
|
(function(n, s) {
|
|
177
177
|
e.exports = s();
|
|
178
178
|
})(fi, (function() {
|
|
179
|
-
var n = 1e3, s = 6e4, o = 36e5, i = "millisecond", r = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", h = "quarter", p = "year", f = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, 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, S = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
180
|
-
var
|
|
181
|
-
return "[" +
|
|
182
|
-
} }, C = function(
|
|
183
|
-
var
|
|
184
|
-
return !
|
|
185
|
-
}, I = { s: C, z: function(
|
|
186
|
-
var
|
|
187
|
-
return (
|
|
188
|
-
}, m: function
|
|
189
|
-
if (
|
|
190
|
-
var
|
|
191
|
-
return +(-(
|
|
192
|
-
}, a: function(
|
|
193
|
-
return
|
|
194
|
-
}, p: function(
|
|
195
|
-
return { M: m, y: p, w: d, d: l, D: f, h: u, m: c, s: r, ms: i, Q: h }[
|
|
196
|
-
}, u: function(
|
|
197
|
-
return
|
|
179
|
+
var n = 1e3, s = 6e4, o = 36e5, i = "millisecond", r = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", h = "quarter", p = "year", f = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, 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, S = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(R) {
|
|
180
|
+
var x = ["th", "st", "nd", "rd"], T = R % 100;
|
|
181
|
+
return "[" + R + (x[(T - 20) % 10] || x[T] || x[0]) + "]";
|
|
182
|
+
} }, C = function(R, x, T) {
|
|
183
|
+
var q = String(R);
|
|
184
|
+
return !q || q.length >= x ? R : "" + Array(x + 1 - q.length).join(T) + R;
|
|
185
|
+
}, I = { s: C, z: function(R) {
|
|
186
|
+
var x = -R.utcOffset(), T = Math.abs(x), q = Math.floor(T / 60), L = T % 60;
|
|
187
|
+
return (x <= 0 ? "+" : "-") + C(q, 2, "0") + ":" + C(L, 2, "0");
|
|
188
|
+
}, m: function R(x, T) {
|
|
189
|
+
if (x.date() < T.date()) return -R(T, x);
|
|
190
|
+
var q = 12 * (T.year() - x.year()) + (T.month() - x.month()), L = x.clone().add(q, m), F = T - L < 0, b = x.clone().add(q + (F ? -1 : 1), m);
|
|
191
|
+
return +(-(q + (T - L) / (F ? L - b : b - L)) || 0);
|
|
192
|
+
}, a: function(R) {
|
|
193
|
+
return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
|
|
194
|
+
}, p: function(R) {
|
|
195
|
+
return { M: m, y: p, w: d, d: l, D: f, h: u, m: c, s: r, ms: i, Q: h }[R] || String(R || "").toLowerCase().replace(/s$/, "");
|
|
196
|
+
}, u: function(R) {
|
|
197
|
+
return R === void 0;
|
|
198
198
|
} }, y = "en", E = {};
|
|
199
199
|
E[y] = S;
|
|
200
|
-
var
|
|
201
|
-
return
|
|
202
|
-
}, X = function
|
|
203
|
-
var
|
|
204
|
-
if (!
|
|
205
|
-
if (typeof
|
|
206
|
-
var F =
|
|
207
|
-
E[F] && (
|
|
208
|
-
var b =
|
|
209
|
-
if (!
|
|
200
|
+
var U = "$isDayjsObject", j = function(R) {
|
|
201
|
+
return R instanceof J || !(!R || !R[U]);
|
|
202
|
+
}, X = function R(x, T, q) {
|
|
203
|
+
var L;
|
|
204
|
+
if (!x) return y;
|
|
205
|
+
if (typeof x == "string") {
|
|
206
|
+
var F = x.toLowerCase();
|
|
207
|
+
E[F] && (L = F), T && (E[F] = T, L = F);
|
|
208
|
+
var b = x.split("-");
|
|
209
|
+
if (!L && b.length > 1) return R(b[0]);
|
|
210
210
|
} else {
|
|
211
|
-
var N =
|
|
212
|
-
E[N] =
|
|
213
|
-
}
|
|
214
|
-
return !
|
|
215
|
-
}, Q = function(
|
|
216
|
-
if (j(
|
|
217
|
-
var T = typeof
|
|
218
|
-
return T.date =
|
|
211
|
+
var N = x.name;
|
|
212
|
+
E[N] = x, L = N;
|
|
213
|
+
}
|
|
214
|
+
return !q && L && (y = L), L || !q && y;
|
|
215
|
+
}, Q = function(R, x) {
|
|
216
|
+
if (j(R)) return R.clone();
|
|
217
|
+
var T = typeof x == "object" ? x : {};
|
|
218
|
+
return T.date = R, T.args = arguments, new J(T);
|
|
219
219
|
}, G = I;
|
|
220
|
-
G.l = X, G.i = j, G.w = function(
|
|
221
|
-
return Q(
|
|
220
|
+
G.l = X, G.i = j, G.w = function(R, x) {
|
|
221
|
+
return Q(R, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
|
|
222
222
|
};
|
|
223
223
|
var J = (function() {
|
|
224
|
-
function
|
|
225
|
-
this.$L = X(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[
|
|
226
|
-
}
|
|
227
|
-
var
|
|
228
|
-
return
|
|
229
|
-
this.$d = (function(
|
|
230
|
-
var
|
|
231
|
-
if (
|
|
232
|
-
if (G.u(
|
|
233
|
-
if (
|
|
234
|
-
if (typeof
|
|
235
|
-
var b =
|
|
224
|
+
function R(T) {
|
|
225
|
+
this.$L = X(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[U] = !0;
|
|
226
|
+
}
|
|
227
|
+
var x = R.prototype;
|
|
228
|
+
return x.parse = function(T) {
|
|
229
|
+
this.$d = (function(q) {
|
|
230
|
+
var L = q.date, F = q.utc;
|
|
231
|
+
if (L === null) return /* @__PURE__ */ new Date(NaN);
|
|
232
|
+
if (G.u(L)) return /* @__PURE__ */ new Date();
|
|
233
|
+
if (L instanceof Date) return new Date(L);
|
|
234
|
+
if (typeof L == "string" && !/Z$/i.test(L)) {
|
|
235
|
+
var b = L.match(w);
|
|
236
236
|
if (b) {
|
|
237
|
-
var N = b[2] - 1 || 0,
|
|
238
|
-
return F ? new Date(Date.UTC(b[1], N, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0,
|
|
237
|
+
var N = b[2] - 1 || 0, B = (b[7] || "0").substring(0, 3);
|
|
238
|
+
return F ? new Date(Date.UTC(b[1], N, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, B)) : new Date(b[1], N, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, B);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
return new Date(
|
|
241
|
+
return new Date(L);
|
|
242
242
|
})(T), this.init();
|
|
243
|
-
},
|
|
243
|
+
}, x.init = function() {
|
|
244
244
|
var T = this.$d;
|
|
245
245
|
this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds();
|
|
246
|
-
},
|
|
246
|
+
}, x.$utils = function() {
|
|
247
247
|
return G;
|
|
248
|
-
},
|
|
248
|
+
}, x.isValid = function() {
|
|
249
249
|
return this.$d.toString() !== A;
|
|
250
|
-
},
|
|
251
|
-
var
|
|
252
|
-
return this.startOf(
|
|
253
|
-
},
|
|
254
|
-
return Q(T) < this.startOf(
|
|
255
|
-
},
|
|
256
|
-
return this.endOf(
|
|
257
|
-
},
|
|
258
|
-
return G.u(T) ? this[
|
|
259
|
-
},
|
|
250
|
+
}, x.isSame = function(T, q) {
|
|
251
|
+
var L = Q(T);
|
|
252
|
+
return this.startOf(q) <= L && L <= this.endOf(q);
|
|
253
|
+
}, x.isAfter = function(T, q) {
|
|
254
|
+
return Q(T) < this.startOf(q);
|
|
255
|
+
}, x.isBefore = function(T, q) {
|
|
256
|
+
return this.endOf(q) < Q(T);
|
|
257
|
+
}, x.$g = function(T, q, L) {
|
|
258
|
+
return G.u(T) ? this[q] : this.set(L, T);
|
|
259
|
+
}, x.unix = function() {
|
|
260
260
|
return Math.floor(this.valueOf() / 1e3);
|
|
261
|
-
},
|
|
261
|
+
}, x.valueOf = function() {
|
|
262
262
|
return this.$d.getTime();
|
|
263
|
-
},
|
|
264
|
-
var
|
|
265
|
-
var de = G.w(
|
|
263
|
+
}, x.startOf = function(T, q) {
|
|
264
|
+
var L = this, F = !!G.u(q) || q, b = G.p(T), N = function(ne, W) {
|
|
265
|
+
var de = G.w(L.$u ? Date.UTC(L.$y, W, ne) : new Date(L.$y, W, ne), L);
|
|
266
266
|
return F ? de : de.endOf(l);
|
|
267
|
-
},
|
|
268
|
-
return G.w(
|
|
269
|
-
}, D = this.$W,
|
|
267
|
+
}, B = function(ne, W) {
|
|
268
|
+
return G.w(L.toDate()[ne].apply(L.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), L);
|
|
269
|
+
}, D = this.$W, M = this.$M, H = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
270
270
|
switch (b) {
|
|
271
271
|
case p:
|
|
272
272
|
return F ? N(1, 0) : N(31, 11);
|
|
273
273
|
case m:
|
|
274
|
-
return F ? N(1,
|
|
274
|
+
return F ? N(1, M) : N(0, M + 1);
|
|
275
275
|
case d:
|
|
276
276
|
var V = this.$locale().weekStart || 0, ee = (D < V ? D + 7 : D) - V;
|
|
277
|
-
return N(F ? H - ee : H + (6 - ee),
|
|
277
|
+
return N(F ? H - ee : H + (6 - ee), M);
|
|
278
278
|
case l:
|
|
279
279
|
case f:
|
|
280
|
-
return
|
|
280
|
+
return B(z + "Hours", 0);
|
|
281
281
|
case u:
|
|
282
|
-
return
|
|
282
|
+
return B(z + "Minutes", 1);
|
|
283
283
|
case c:
|
|
284
|
-
return
|
|
284
|
+
return B(z + "Seconds", 2);
|
|
285
285
|
case r:
|
|
286
|
-
return
|
|
286
|
+
return B(z + "Milliseconds", 3);
|
|
287
287
|
default:
|
|
288
288
|
return this.clone();
|
|
289
289
|
}
|
|
290
|
-
},
|
|
290
|
+
}, x.endOf = function(T) {
|
|
291
291
|
return this.startOf(T, !1);
|
|
292
|
-
},
|
|
293
|
-
var
|
|
292
|
+
}, x.$set = function(T, q) {
|
|
293
|
+
var L, F = G.p(T), b = "set" + (this.$u ? "UTC" : ""), N = (L = {}, L[l] = b + "Date", L[f] = b + "Date", L[m] = b + "Month", L[p] = b + "FullYear", L[u] = b + "Hours", L[c] = b + "Minutes", L[r] = b + "Seconds", L[i] = b + "Milliseconds", L)[F], B = F === l ? this.$D + (q - this.$W) : q;
|
|
294
294
|
if (F === m || F === p) {
|
|
295
295
|
var D = this.clone().set(f, 1);
|
|
296
|
-
D.$d[N](
|
|
297
|
-
} else N && this.$d[N](
|
|
296
|
+
D.$d[N](B), D.init(), this.$d = D.set(f, Math.min(this.$D, D.daysInMonth())).$d;
|
|
297
|
+
} else N && this.$d[N](B);
|
|
298
298
|
return this.init(), this;
|
|
299
|
-
},
|
|
300
|
-
return this.clone().$set(T,
|
|
301
|
-
},
|
|
299
|
+
}, x.set = function(T, q) {
|
|
300
|
+
return this.clone().$set(T, q);
|
|
301
|
+
}, x.get = function(T) {
|
|
302
302
|
return this[G.p(T)]();
|
|
303
|
-
},
|
|
304
|
-
var
|
|
303
|
+
}, x.add = function(T, q) {
|
|
304
|
+
var L, F = this;
|
|
305
305
|
T = Number(T);
|
|
306
|
-
var b = G.p(
|
|
306
|
+
var b = G.p(q), N = function(M) {
|
|
307
307
|
var H = Q(F);
|
|
308
|
-
return G.w(H.date(H.date() + Math.round(
|
|
308
|
+
return G.w(H.date(H.date() + Math.round(M * T)), F);
|
|
309
309
|
};
|
|
310
310
|
if (b === m) return this.set(m, this.$M + T);
|
|
311
311
|
if (b === p) return this.set(p, this.$y + T);
|
|
312
312
|
if (b === l) return N(1);
|
|
313
313
|
if (b === d) return N(7);
|
|
314
|
-
var
|
|
314
|
+
var B = (L = {}, L[c] = s, L[u] = o, L[r] = n, L)[b] || 1, D = this.$d.getTime() + T * B;
|
|
315
315
|
return G.w(D, this);
|
|
316
|
-
},
|
|
317
|
-
return this.add(-1 * T,
|
|
318
|
-
},
|
|
319
|
-
var
|
|
320
|
-
if (!this.isValid()) return
|
|
321
|
-
var F = T || "YYYY-MM-DDTHH:mm:ssZ", b = G.z(this), N = this.$H,
|
|
322
|
-
return W && (W[de] || W(
|
|
316
|
+
}, x.subtract = function(T, q) {
|
|
317
|
+
return this.add(-1 * T, q);
|
|
318
|
+
}, x.format = function(T) {
|
|
319
|
+
var q = this, L = this.$locale();
|
|
320
|
+
if (!this.isValid()) return L.invalidDate || A;
|
|
321
|
+
var F = T || "YYYY-MM-DDTHH:mm:ssZ", b = G.z(this), N = this.$H, B = this.$m, D = this.$M, M = L.weekdays, H = L.months, z = L.meridiem, V = function(W, de, O, Ce) {
|
|
322
|
+
return W && (W[de] || W(q, F)) || O[de].slice(0, Ce);
|
|
323
323
|
}, ee = function(W) {
|
|
324
324
|
return G.s(N % 12 || 12, W, "0");
|
|
325
325
|
}, ne = z || function(W, de, O) {
|
|
@@ -330,29 +330,29 @@ function io() {
|
|
|
330
330
|
return de || (function(O) {
|
|
331
331
|
switch (O) {
|
|
332
332
|
case "YY":
|
|
333
|
-
return String(
|
|
333
|
+
return String(q.$y).slice(-2);
|
|
334
334
|
case "YYYY":
|
|
335
|
-
return G.s(
|
|
335
|
+
return G.s(q.$y, 4, "0");
|
|
336
336
|
case "M":
|
|
337
337
|
return D + 1;
|
|
338
338
|
case "MM":
|
|
339
339
|
return G.s(D + 1, 2, "0");
|
|
340
340
|
case "MMM":
|
|
341
|
-
return V(
|
|
341
|
+
return V(L.monthsShort, D, H, 3);
|
|
342
342
|
case "MMMM":
|
|
343
343
|
return V(H, D);
|
|
344
344
|
case "D":
|
|
345
|
-
return
|
|
345
|
+
return q.$D;
|
|
346
346
|
case "DD":
|
|
347
|
-
return G.s(
|
|
347
|
+
return G.s(q.$D, 2, "0");
|
|
348
348
|
case "d":
|
|
349
|
-
return String(
|
|
349
|
+
return String(q.$W);
|
|
350
350
|
case "dd":
|
|
351
|
-
return V(
|
|
351
|
+
return V(L.weekdaysMin, q.$W, M, 2);
|
|
352
352
|
case "ddd":
|
|
353
|
-
return V(
|
|
353
|
+
return V(L.weekdaysShort, q.$W, M, 3);
|
|
354
354
|
case "dddd":
|
|
355
|
-
return q
|
|
355
|
+
return M[q.$W];
|
|
356
356
|
case "H":
|
|
357
357
|
return String(N);
|
|
358
358
|
case "HH":
|
|
@@ -362,30 +362,30 @@ function io() {
|
|
|
362
362
|
case "hh":
|
|
363
363
|
return ee(2);
|
|
364
364
|
case "a":
|
|
365
|
-
return ne(N,
|
|
365
|
+
return ne(N, B, !0);
|
|
366
366
|
case "A":
|
|
367
|
-
return ne(N,
|
|
367
|
+
return ne(N, B, !1);
|
|
368
368
|
case "m":
|
|
369
|
-
return String(
|
|
369
|
+
return String(B);
|
|
370
370
|
case "mm":
|
|
371
|
-
return G.s(
|
|
371
|
+
return G.s(B, 2, "0");
|
|
372
372
|
case "s":
|
|
373
|
-
return String(
|
|
373
|
+
return String(q.$s);
|
|
374
374
|
case "ss":
|
|
375
|
-
return G.s(
|
|
375
|
+
return G.s(q.$s, 2, "0");
|
|
376
376
|
case "SSS":
|
|
377
|
-
return G.s(
|
|
377
|
+
return G.s(q.$ms, 3, "0");
|
|
378
378
|
case "Z":
|
|
379
379
|
return b;
|
|
380
380
|
}
|
|
381
381
|
return null;
|
|
382
382
|
})(W) || b.replace(":", "");
|
|
383
383
|
}));
|
|
384
|
-
},
|
|
384
|
+
}, x.utcOffset = function() {
|
|
385
385
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
386
|
-
},
|
|
387
|
-
var F, b = this, N = G.p(
|
|
388
|
-
return G.m(b,
|
|
386
|
+
}, x.diff = function(T, q, L) {
|
|
387
|
+
var F, b = this, N = G.p(q), B = Q(T), D = (B.utcOffset() - this.utcOffset()) * s, M = this - B, H = function() {
|
|
388
|
+
return G.m(b, B);
|
|
389
389
|
};
|
|
390
390
|
switch (N) {
|
|
391
391
|
case p:
|
|
@@ -398,52 +398,52 @@ function io() {
|
|
|
398
398
|
F = H() / 3;
|
|
399
399
|
break;
|
|
400
400
|
case d:
|
|
401
|
-
F = (
|
|
401
|
+
F = (M - D) / 6048e5;
|
|
402
402
|
break;
|
|
403
403
|
case l:
|
|
404
|
-
F = (
|
|
404
|
+
F = (M - D) / 864e5;
|
|
405
405
|
break;
|
|
406
406
|
case u:
|
|
407
|
-
F =
|
|
407
|
+
F = M / o;
|
|
408
408
|
break;
|
|
409
409
|
case c:
|
|
410
|
-
F =
|
|
410
|
+
F = M / s;
|
|
411
411
|
break;
|
|
412
412
|
case r:
|
|
413
|
-
F =
|
|
413
|
+
F = M / n;
|
|
414
414
|
break;
|
|
415
415
|
default:
|
|
416
|
-
F =
|
|
416
|
+
F = M;
|
|
417
417
|
}
|
|
418
|
-
return
|
|
419
|
-
},
|
|
418
|
+
return L ? F : G.a(F);
|
|
419
|
+
}, x.daysInMonth = function() {
|
|
420
420
|
return this.endOf(m).$D;
|
|
421
|
-
},
|
|
421
|
+
}, x.$locale = function() {
|
|
422
422
|
return E[this.$L];
|
|
423
|
-
},
|
|
423
|
+
}, x.locale = function(T, q) {
|
|
424
424
|
if (!T) return this.$L;
|
|
425
|
-
var
|
|
426
|
-
return F && (
|
|
427
|
-
},
|
|
425
|
+
var L = this.clone(), F = X(T, q, !0);
|
|
426
|
+
return F && (L.$L = F), L;
|
|
427
|
+
}, x.clone = function() {
|
|
428
428
|
return G.w(this.$d, this);
|
|
429
|
-
},
|
|
429
|
+
}, x.toDate = function() {
|
|
430
430
|
return new Date(this.valueOf());
|
|
431
|
-
},
|
|
431
|
+
}, x.toJSON = function() {
|
|
432
432
|
return this.isValid() ? this.toISOString() : null;
|
|
433
|
-
},
|
|
433
|
+
}, x.toISOString = function() {
|
|
434
434
|
return this.$d.toISOString();
|
|
435
|
-
},
|
|
435
|
+
}, x.toString = function() {
|
|
436
436
|
return this.$d.toUTCString();
|
|
437
|
-
},
|
|
437
|
+
}, R;
|
|
438
438
|
})(), ae = J.prototype;
|
|
439
|
-
return Q.prototype = ae, [["$ms", i], ["$s", r], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", p], ["$D", f]].forEach((function(
|
|
440
|
-
ae[
|
|
441
|
-
return this.$g(
|
|
439
|
+
return Q.prototype = ae, [["$ms", i], ["$s", r], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", p], ["$D", f]].forEach((function(R) {
|
|
440
|
+
ae[R[1]] = function(x) {
|
|
441
|
+
return this.$g(x, R[0], R[1]);
|
|
442
442
|
};
|
|
443
|
-
})), Q.extend = function(
|
|
444
|
-
return
|
|
445
|
-
}, Q.locale = X, Q.isDayjs = j, Q.unix = function(
|
|
446
|
-
return Q(1e3 *
|
|
443
|
+
})), Q.extend = function(R, x) {
|
|
444
|
+
return R.$i || (R(x, J, Q), R.$i = !0), Q;
|
|
445
|
+
}, Q.locale = X, Q.isDayjs = j, Q.unix = function(R) {
|
|
446
|
+
return Q(1e3 * R);
|
|
447
447
|
}, Q.en = E[y], Q.Ls = E, Q.p = {}, Q;
|
|
448
448
|
}));
|
|
449
449
|
})(pn)), pn.exports;
|
|
@@ -469,8 +469,8 @@ function Ai() {
|
|
|
469
469
|
var E = (n.rounding || Math.round)(Math.abs(f));
|
|
470
470
|
if (w = f > 0, E <= y.r || !y.r) {
|
|
471
471
|
E <= 1 && I > 0 && (y = S[I - 1]);
|
|
472
|
-
var
|
|
473
|
-
p && (E = p("" + E)), A = typeof
|
|
472
|
+
var U = v[y.l];
|
|
473
|
+
p && (E = p("" + E)), A = typeof U == "string" ? U.replace("%d", E) : U(E, d, y.l, w);
|
|
474
474
|
break;
|
|
475
475
|
}
|
|
476
476
|
}
|
|
@@ -550,7 +550,7 @@ function Ci() {
|
|
|
550
550
|
y === void 0 && (y = "");
|
|
551
551
|
var E = y.match(s);
|
|
552
552
|
if (!E) return null;
|
|
553
|
-
var
|
|
553
|
+
var U = ("" + E[0]).match(o) || ["-", 0, 0], j = U[0], X = 60 * +U[1] + +U[2];
|
|
554
554
|
return X === 0 ? 0 : j === "+" ? X : -X;
|
|
555
555
|
})(A), A === null)) return this;
|
|
556
556
|
var S = Math.abs(A) <= 16 ? 60 * A : A;
|
|
@@ -611,8 +611,8 @@ function Ei() {
|
|
|
611
611
|
var v = f[w], S = v.type, C = v.value, I = n[S];
|
|
612
612
|
I >= 0 && (A[I] = parseInt(C, 10));
|
|
613
613
|
}
|
|
614
|
-
var y = A[3], E = y === 24 ? 0 : y,
|
|
615
|
-
return (r.utc(
|
|
614
|
+
var y = A[3], E = y === 24 ? 0 : y, U = A[0] + "-" + A[1] + "-" + A[2] + " " + E + ":" + A[4] + ":" + A[5] + ":000", j = +h;
|
|
615
|
+
return (r.utc(U).valueOf() - (j -= j % 1e3)) / 6e4;
|
|
616
616
|
}, d = i.prototype;
|
|
617
617
|
d.tz = function(h, p) {
|
|
618
618
|
h === void 0 && (h = c);
|
|
@@ -637,10 +637,10 @@ function Ei() {
|
|
|
637
637
|
}, r.tz = function(h, p, f) {
|
|
638
638
|
var A = f && p, w = f || p || c, v = l(+r(), w);
|
|
639
639
|
if (typeof h != "string") return r(h).tz(w);
|
|
640
|
-
var S = (function(E,
|
|
641
|
-
var X = E - 60 *
|
|
642
|
-
if (
|
|
643
|
-
var G = l(X -= 60 * (Q -
|
|
640
|
+
var S = (function(E, U, j) {
|
|
641
|
+
var X = E - 60 * U * 1e3, Q = l(X, j);
|
|
642
|
+
if (U === Q) return [X, U];
|
|
643
|
+
var G = l(X -= 60 * (Q - U) * 1e3, j);
|
|
644
644
|
return Q === G ? [X, Q] : [E - 60 * Math.min(Q, G) * 1e3, Math.max(Q, G)];
|
|
645
645
|
})(r.utc(h, A).valueOf(), v, w), C = S[0], I = S[1], y = r(C).utcOffset(I);
|
|
646
646
|
return y.$x.$timezone = w, y;
|
|
@@ -3076,10 +3076,10 @@ const ko = (e) => {
|
|
|
3076
3076
|
config: e,
|
|
3077
3077
|
request: w
|
|
3078
3078
|
};
|
|
3079
|
-
To(function(
|
|
3080
|
-
n(
|
|
3081
|
-
}, function(
|
|
3082
|
-
s(
|
|
3079
|
+
To(function(U) {
|
|
3080
|
+
n(U), A();
|
|
3081
|
+
}, function(U) {
|
|
3082
|
+
s(U), A();
|
|
3083
3083
|
}, y), w = null;
|
|
3084
3084
|
}
|
|
3085
3085
|
"onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
|
|
@@ -3258,34 +3258,34 @@ const ko = (e) => {
|
|
|
3258
3258
|
timeout: I,
|
|
3259
3259
|
onDownloadProgress: y,
|
|
3260
3260
|
onUploadProgress: E,
|
|
3261
|
-
responseType:
|
|
3261
|
+
responseType: U,
|
|
3262
3262
|
headers: j,
|
|
3263
3263
|
withCredentials: X = "same-origin",
|
|
3264
3264
|
fetchOptions: Q
|
|
3265
3265
|
} = ko(f), G = t || fetch;
|
|
3266
|
-
|
|
3266
|
+
U = U ? (U + "").toLowerCase() : "text";
|
|
3267
3267
|
let J = Ec([S, C && C.toAbortSignal()], I), ae = null;
|
|
3268
|
-
const
|
|
3268
|
+
const R = J && J.unsubscribe && (() => {
|
|
3269
3269
|
J.unsubscribe();
|
|
3270
3270
|
});
|
|
3271
|
-
let
|
|
3271
|
+
let x;
|
|
3272
3272
|
try {
|
|
3273
|
-
if (E && l && w !== "get" && w !== "head" && (
|
|
3273
|
+
if (E && l && w !== "get" && w !== "head" && (x = await p(j, v)) !== 0) {
|
|
3274
3274
|
let N = new n(A, {
|
|
3275
3275
|
method: "POST",
|
|
3276
3276
|
body: v,
|
|
3277
3277
|
duplex: "half"
|
|
3278
|
-
}),
|
|
3279
|
-
if (_.isFormData(v) && (
|
|
3280
|
-
const [D,
|
|
3281
|
-
|
|
3278
|
+
}), B;
|
|
3279
|
+
if (_.isFormData(v) && (B = N.headers.get("content-type")) && j.setContentType(B), N.body) {
|
|
3280
|
+
const [D, M] = fs(
|
|
3281
|
+
x,
|
|
3282
3282
|
En(gs(E))
|
|
3283
3283
|
);
|
|
3284
|
-
v = As(N.body, ws, D,
|
|
3284
|
+
v = As(N.body, ws, D, M);
|
|
3285
3285
|
}
|
|
3286
3286
|
}
|
|
3287
3287
|
_.isString(X) || (X = X ? "include" : "omit");
|
|
3288
|
-
const T = i && "credentials" in n.prototype,
|
|
3288
|
+
const T = i && "credentials" in n.prototype, q = {
|
|
3289
3289
|
...Q,
|
|
3290
3290
|
signal: J,
|
|
3291
3291
|
method: w.toUpperCase(),
|
|
@@ -3294,39 +3294,39 @@ const ko = (e) => {
|
|
|
3294
3294
|
duplex: "half",
|
|
3295
3295
|
credentials: T ? X : void 0
|
|
3296
3296
|
};
|
|
3297
|
-
ae = i && new n(A,
|
|
3298
|
-
let
|
|
3299
|
-
const F = d && (
|
|
3300
|
-
if (d && (y || F &&
|
|
3297
|
+
ae = i && new n(A, q);
|
|
3298
|
+
let L = await (i ? G(ae, Q) : G(A, q));
|
|
3299
|
+
const F = d && (U === "stream" || U === "response");
|
|
3300
|
+
if (d && (y || F && R)) {
|
|
3301
3301
|
const N = {};
|
|
3302
3302
|
["status", "statusText", "headers"].forEach((H) => {
|
|
3303
|
-
N[H] =
|
|
3303
|
+
N[H] = L[H];
|
|
3304
3304
|
});
|
|
3305
|
-
const
|
|
3306
|
-
|
|
3305
|
+
const B = _.toFiniteNumber(L.headers.get("content-length")), [D, M] = y && fs(
|
|
3306
|
+
B,
|
|
3307
3307
|
En(gs(y), !0)
|
|
3308
3308
|
) || [];
|
|
3309
|
-
|
|
3310
|
-
As(
|
|
3311
|
-
|
|
3309
|
+
L = new s(
|
|
3310
|
+
As(L.body, ws, D, () => {
|
|
3311
|
+
M && M(), R && R();
|
|
3312
3312
|
}),
|
|
3313
3313
|
N
|
|
3314
3314
|
);
|
|
3315
3315
|
}
|
|
3316
|
-
|
|
3317
|
-
let b = await m[_.findKey(m,
|
|
3318
|
-
return !F &&
|
|
3319
|
-
To(N,
|
|
3316
|
+
U = U || "text";
|
|
3317
|
+
let b = await m[_.findKey(m, U) || "text"](L, f);
|
|
3318
|
+
return !F && R && R(), await new Promise((N, B) => {
|
|
3319
|
+
To(N, B, {
|
|
3320
3320
|
data: b,
|
|
3321
|
-
headers: Te.from(
|
|
3322
|
-
status:
|
|
3323
|
-
statusText:
|
|
3321
|
+
headers: Te.from(L.headers),
|
|
3322
|
+
status: L.status,
|
|
3323
|
+
statusText: L.statusText,
|
|
3324
3324
|
config: f,
|
|
3325
3325
|
request: ae
|
|
3326
3326
|
});
|
|
3327
3327
|
});
|
|
3328
3328
|
} catch (T) {
|
|
3329
|
-
throw
|
|
3329
|
+
throw R && R(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
|
|
3330
3330
|
new Z("Network Error", Z.ERR_NETWORK, f, ae),
|
|
3331
3331
|
{
|
|
3332
3332
|
cause: T.cause || T
|
|
@@ -4722,7 +4722,7 @@ async function C5({
|
|
|
4722
4722
|
custom_scriptReplaces: y,
|
|
4723
4723
|
head_custom_elements: E
|
|
4724
4724
|
}) {
|
|
4725
|
-
const
|
|
4725
|
+
const U = p && p[0] && p[0].preview ? p[0] : void 0, j = I || await Qc[o]({
|
|
4726
4726
|
meta: n,
|
|
4727
4727
|
config: A,
|
|
4728
4728
|
currentNew: m,
|
|
@@ -4733,7 +4733,7 @@ async function C5({
|
|
|
4733
4733
|
query: u,
|
|
4734
4734
|
axiosApi: e,
|
|
4735
4735
|
internalPath: f,
|
|
4736
|
-
schemasImages:
|
|
4736
|
+
schemasImages: U
|
|
4737
4737
|
}), X = Gi(j), Q = y || uo[o]({
|
|
4738
4738
|
pathname: i,
|
|
4739
4739
|
slug: r,
|
|
@@ -4892,8 +4892,8 @@ function Kc({
|
|
|
4892
4892
|
}) {
|
|
4893
4893
|
const [c, u] = Y(!1), [l, d] = Y(0), [m, h] = Y(0), [p, f] = Y(0), [A, w] = Y(0), [v, S] = Y(null), C = so(null), [I, y] = Y(1), E = fe(() => {
|
|
4894
4894
|
if (o) return 1;
|
|
4895
|
-
const b = C.current?.offsetWidth || window.innerWidth, N = n + s,
|
|
4896
|
-
return Math.max(1,
|
|
4895
|
+
const b = C.current?.offsetWidth || window.innerWidth, N = n + s, B = Math.floor(b / N);
|
|
4896
|
+
return Math.max(1, B);
|
|
4897
4897
|
}, [o, n, s]);
|
|
4898
4898
|
He(() => {
|
|
4899
4899
|
const b = () => {
|
|
@@ -4911,20 +4911,20 @@ function Kc({
|
|
|
4911
4911
|
}, [E]), Q = fe(
|
|
4912
4912
|
(b, N = 0) => {
|
|
4913
4913
|
if (o) {
|
|
4914
|
-
const
|
|
4915
|
-
return -(b * (100 + s)) + N /
|
|
4914
|
+
const B = C.current?.offsetWidth || window.innerWidth;
|
|
4915
|
+
return -(b * (100 + s)) + N / B * 100;
|
|
4916
4916
|
}
|
|
4917
4917
|
return -(b * (n + s)) + N;
|
|
4918
4918
|
},
|
|
4919
4919
|
[o, n, s]
|
|
4920
4920
|
), G = fe(
|
|
4921
4921
|
(b) => {
|
|
4922
|
-
const N = C.current?.offsetWidth || window.innerWidth,
|
|
4922
|
+
const N = C.current?.offsetWidth || window.innerWidth, B = E(), D = X();
|
|
4923
4923
|
if (o)
|
|
4924
4924
|
return Math.abs(b) / N * 100 > 30 ? 1 : 0;
|
|
4925
4925
|
{
|
|
4926
|
-
const
|
|
4927
|
-
return H >= (
|
|
4926
|
+
const M = n + s, H = Math.abs(b) / M;
|
|
4927
|
+
return H >= (B === 1 ? 0.2 : 0.3) ? B === 1 ? 1 : Math.min(Math.round(H), D) : 0;
|
|
4928
4928
|
}
|
|
4929
4929
|
},
|
|
4930
4930
|
[o, n, s, E, X]
|
|
@@ -4936,19 +4936,19 @@ function Kc({
|
|
|
4936
4936
|
), ae = fe(
|
|
4937
4937
|
(b) => {
|
|
4938
4938
|
if (!c || !i) return;
|
|
4939
|
-
const N = b - l,
|
|
4939
|
+
const N = b - l, B = (n + s) * 1.2, D = e === 0 && N > 0, M = e === j && N < 0, H = D || M ? Math.sign(N) * Math.min(Math.abs(N), B) : N;
|
|
4940
4940
|
h(b), f(H);
|
|
4941
4941
|
},
|
|
4942
4942
|
[c, l, i, e, j, n, s]
|
|
4943
|
-
),
|
|
4943
|
+
), R = fe(
|
|
4944
4944
|
(b) => {
|
|
4945
4945
|
ae(b.clientX);
|
|
4946
4946
|
},
|
|
4947
4947
|
[ae]
|
|
4948
|
-
),
|
|
4948
|
+
), x = fe(
|
|
4949
4949
|
(b) => {
|
|
4950
4950
|
if (!c || !i) return;
|
|
4951
|
-
const N = m - l,
|
|
4951
|
+
const N = m - l, B = Date.now() - A, D = Math.abs(N) / Math.max(B, 1), M = G(N), z = D > 0.5 && Math.abs(N) > 50 ? Math.max(M, 1) : M;
|
|
4952
4952
|
if (z > 0)
|
|
4953
4953
|
if (N > 0) {
|
|
4954
4954
|
const V = Math.max(0, e - z);
|
|
@@ -4957,7 +4957,7 @@ function Kc({
|
|
|
4957
4957
|
const V = Math.min(j, e + z);
|
|
4958
4958
|
r(V);
|
|
4959
4959
|
}
|
|
4960
|
-
u(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove",
|
|
4960
|
+
u(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", R), document.removeEventListener("mouseup", x), b.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
4961
4961
|
},
|
|
4962
4962
|
[
|
|
4963
4963
|
c,
|
|
@@ -4969,7 +4969,7 @@ function Kc({
|
|
|
4969
4969
|
i,
|
|
4970
4970
|
r,
|
|
4971
4971
|
G,
|
|
4972
|
-
|
|
4972
|
+
R,
|
|
4973
4973
|
v
|
|
4974
4974
|
]
|
|
4975
4975
|
), T = fe(
|
|
@@ -4977,31 +4977,31 @@ function Kc({
|
|
|
4977
4977
|
b.preventDefault(), ["a", "span"].includes(b.target?.localName) && S(b.target), J(b.clientX);
|
|
4978
4978
|
},
|
|
4979
4979
|
[J]
|
|
4980
|
-
),
|
|
4980
|
+
), q = fe(
|
|
4981
4981
|
(b) => {
|
|
4982
4982
|
J(b.touches[0].clientX);
|
|
4983
4983
|
},
|
|
4984
4984
|
[J]
|
|
4985
|
-
),
|
|
4985
|
+
), L = fe(
|
|
4986
4986
|
(b) => {
|
|
4987
4987
|
c && (b.preventDefault(), ae(b.touches[0].clientX));
|
|
4988
4988
|
},
|
|
4989
4989
|
[c, ae]
|
|
4990
4990
|
), F = fe(
|
|
4991
4991
|
(b) => {
|
|
4992
|
-
|
|
4992
|
+
x(b);
|
|
4993
4993
|
},
|
|
4994
|
-
[
|
|
4994
|
+
[x]
|
|
4995
4995
|
);
|
|
4996
4996
|
return He(() => {
|
|
4997
4997
|
if (c)
|
|
4998
|
-
return C.current?.addEventListener("mousemove",
|
|
4998
|
+
return C.current?.addEventListener("mousemove", R), C.current?.addEventListener("mouseup", x), () => {
|
|
4999
4999
|
C.current?.removeEventListener(
|
|
5000
5000
|
"mousemove",
|
|
5001
|
-
|
|
5002
|
-
), C.current?.removeEventListener("mouseup",
|
|
5001
|
+
R
|
|
5002
|
+
), C.current?.removeEventListener("mouseup", x);
|
|
5003
5003
|
};
|
|
5004
|
-
}, [c, ae,
|
|
5004
|
+
}, [c, ae, x, R]), {
|
|
5005
5005
|
isDragging: c,
|
|
5006
5006
|
translateOffset: p,
|
|
5007
5007
|
carrouselRef: C,
|
|
@@ -5010,10 +5010,10 @@ function Kc({
|
|
|
5010
5010
|
actualVisibleItems: I,
|
|
5011
5011
|
dragHandlers: {
|
|
5012
5012
|
onMouseDown: T,
|
|
5013
|
-
onTouchStart:
|
|
5014
|
-
onTouchMove:
|
|
5013
|
+
onTouchStart: q,
|
|
5014
|
+
onTouchMove: L,
|
|
5015
5015
|
onTouchEnd: F,
|
|
5016
|
-
onMouseLeave:
|
|
5016
|
+
onMouseLeave: x
|
|
5017
5017
|
}
|
|
5018
5018
|
};
|
|
5019
5019
|
}
|
|
@@ -5057,7 +5057,7 @@ function I5(e) {
|
|
|
5057
5057
|
[v]
|
|
5058
5058
|
), E = fe(() => {
|
|
5059
5059
|
y(d - 1);
|
|
5060
|
-
}, [d, y]),
|
|
5060
|
+
}, [d, y]), U = fe(() => {
|
|
5061
5061
|
y(d + 1);
|
|
5062
5062
|
}, [d, y]);
|
|
5063
5063
|
if (!h) return;
|
|
@@ -5093,7 +5093,7 @@ function I5(e) {
|
|
|
5093
5093
|
"button",
|
|
5094
5094
|
{
|
|
5095
5095
|
className: "visible-arrow right",
|
|
5096
|
-
onClick:
|
|
5096
|
+
onClick: U,
|
|
5097
5097
|
"aria-label": "Next slide",
|
|
5098
5098
|
style: { display: "flex" },
|
|
5099
5099
|
children: /* @__PURE__ */ a(
|
|
@@ -5269,7 +5269,7 @@ const Zc = "_content_1gcxd_1", Xc = {
|
|
|
5269
5269
|
socialNetworkSection: gl,
|
|
5270
5270
|
whatsappButton: pl
|
|
5271
5271
|
};
|
|
5272
|
-
function
|
|
5272
|
+
function P(e) {
|
|
5273
5273
|
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = $(), { block_subPublication: o } = e, i = Al(e.href), r = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = s?.tema && i, u = s?.buscar && r, l = !o && !c && !u && t !== "false" && n !== "false" ? "/" + t : "", d = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), h = {
|
|
5274
5274
|
...e,
|
|
5275
5275
|
href: (!d && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
|
|
@@ -5386,7 +5386,7 @@ function bl({ noteShare: e }) {
|
|
|
5386
5386
|
if (!s) return null;
|
|
5387
5387
|
const o = e.variant === "outline" ? s.icon.outline : s.icon.solid, i = s.url(t);
|
|
5388
5388
|
return /* @__PURE__ */ a(
|
|
5389
|
-
|
|
5389
|
+
P,
|
|
5390
5390
|
{
|
|
5391
5391
|
href: i,
|
|
5392
5392
|
target: "_blank",
|
|
@@ -5451,7 +5451,7 @@ const Bt = (e) => {
|
|
|
5451
5451
|
const p = s.tags[0], f = p.name;
|
|
5452
5452
|
return be.createElement(r, { className: se.sectionDescriptionContainer }, /* @__PURE__ */ g(K, { children: [
|
|
5453
5453
|
p.approved ? /* @__PURE__ */ a(
|
|
5454
|
-
|
|
5454
|
+
P,
|
|
5455
5455
|
{
|
|
5456
5456
|
block_subPublication: u?.tema,
|
|
5457
5457
|
"aria-label": f,
|
|
@@ -5466,7 +5466,7 @@ const Bt = (e) => {
|
|
|
5466
5466
|
const p = o.section.name;
|
|
5467
5467
|
return be.createElement(r, { className: se.sectionDescriptionContainer }, /* @__PURE__ */ g(K, { children: [
|
|
5468
5468
|
/* @__PURE__ */ a(
|
|
5469
|
-
|
|
5469
|
+
P,
|
|
5470
5470
|
{
|
|
5471
5471
|
"aria-label": p,
|
|
5472
5472
|
className: se.sectionDescription,
|
|
@@ -5496,7 +5496,7 @@ const Bt = (e) => {
|
|
|
5496
5496
|
className: se.articule
|
|
5497
5497
|
},
|
|
5498
5498
|
e?.info?.link?.url ? /* @__PURE__ */ a(
|
|
5499
|
-
|
|
5499
|
+
P,
|
|
5500
5500
|
{
|
|
5501
5501
|
"aria-label": e.main?.title?.section,
|
|
5502
5502
|
className: se.linkStyled,
|
|
@@ -5511,7 +5511,7 @@ const Bt = (e) => {
|
|
|
5511
5511
|
),
|
|
5512
5512
|
e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
|
|
5513
5513
|
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
5514
|
-
|
|
5514
|
+
P,
|
|
5515
5515
|
{
|
|
5516
5516
|
block_subPublication: u?.autor,
|
|
5517
5517
|
"aria-label": l(),
|
|
@@ -6750,7 +6750,7 @@ const Rl = (e) => {
|
|
|
6750
6750
|
/* @__PURE__ */ g("div", { className: Oe.contentTerms, children: [
|
|
6751
6751
|
/* @__PURE__ */ a("p", { className: Oe.subscribeText, children: String(e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los") }),
|
|
6752
6752
|
/* @__PURE__ */ a(
|
|
6753
|
-
|
|
6753
|
+
P,
|
|
6754
6754
|
{
|
|
6755
6755
|
className: Oe.terms,
|
|
6756
6756
|
href: e.termsLink,
|
|
@@ -6797,7 +6797,7 @@ const Rl = (e) => {
|
|
|
6797
6797
|
style: o,
|
|
6798
6798
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
6799
6799
|
}
|
|
6800
|
-
) : /* @__PURE__ */ a(
|
|
6800
|
+
) : /* @__PURE__ */ a(P, { ...s, style: o });
|
|
6801
6801
|
}, rd = (e) => /* @__PURE__ */ g("section", { className: Be.content, children: [
|
|
6802
6802
|
/* @__PURE__ */ a("div", { className: Be.subscribeImage, children: e.image }),
|
|
6803
6803
|
/* @__PURE__ */ g("div", { className: Be.contentInfo, children: [
|
|
@@ -6819,7 +6819,7 @@ const Rl = (e) => {
|
|
|
6819
6819
|
] }),
|
|
6820
6820
|
/* @__PURE__ */ g("div", { className: Be.contentTerms, children: [
|
|
6821
6821
|
/* @__PURE__ */ a("p", { className: Be.subscribeText, children: String(e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los") }),
|
|
6822
|
-
/* @__PURE__ */ a(
|
|
6822
|
+
/* @__PURE__ */ a(P, { className: Be.terms, children: String(e.texts.newsletterTermsAnchor ?? "Términos y condiciones") })
|
|
6823
6823
|
] })
|
|
6824
6824
|
] })
|
|
6825
6825
|
] }), cd = (e) => /* @__PURE__ */ g(
|
|
@@ -6920,7 +6920,7 @@ const Rl = (e) => {
|
|
|
6920
6920
|
),
|
|
6921
6921
|
/* @__PURE__ */ g("div", { className: $e.contentTerms, children: [
|
|
6922
6922
|
/* @__PURE__ */ a("p", { className: $e.subscribeText, children: "Suscribirte implica aceptar los" }),
|
|
6923
|
-
/* @__PURE__ */ a(
|
|
6923
|
+
/* @__PURE__ */ a(P, { className: $e.terms, href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
6924
6924
|
] })
|
|
6925
6925
|
] }), wd = (e) => /* @__PURE__ */ g(
|
|
6926
6926
|
"svg",
|
|
@@ -7096,7 +7096,7 @@ const Rl = (e) => {
|
|
|
7096
7096
|
const { freeZone: t, socials: n, menu: s, customBlock: o, custom_styles: i = {} } = e;
|
|
7097
7097
|
return /* @__PURE__ */ g("footer", { className: xe.content, style: i, children: [
|
|
7098
7098
|
/* @__PURE__ */ g("section", { className: xe.brandContent, children: [
|
|
7099
|
-
/* @__PURE__ */ a(
|
|
7099
|
+
/* @__PURE__ */ a(P, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: xe.logoStyled, children: e.logo }) }),
|
|
7100
7100
|
/* @__PURE__ */ a("div", { className: xe.socialMedia, children: Object.keys(n).map((r) => n[r]?.show && /* @__PURE__ */ a(
|
|
7101
7101
|
"a",
|
|
7102
7102
|
{
|
|
@@ -7114,7 +7114,7 @@ const Rl = (e) => {
|
|
|
7114
7114
|
] }),
|
|
7115
7115
|
/* @__PURE__ */ g("section", { className: xe.sectionContent, children: [
|
|
7116
7116
|
/* @__PURE__ */ a("div", { className: xe.section, children: s.filter((r) => !r.subitem).map((r, c) => /* @__PURE__ */ a(
|
|
7117
|
-
|
|
7117
|
+
P,
|
|
7118
7118
|
{
|
|
7119
7119
|
block_subPublication: !0,
|
|
7120
7120
|
href: r.link ? r.link : void 0,
|
|
@@ -7126,7 +7126,7 @@ const Rl = (e) => {
|
|
|
7126
7126
|
c
|
|
7127
7127
|
)) }),
|
|
7128
7128
|
/* @__PURE__ */ a("div", { className: xe.section, children: t && t.map((r, c) => /* @__PURE__ */ a(
|
|
7129
|
-
|
|
7129
|
+
P,
|
|
7130
7130
|
{
|
|
7131
7131
|
block_subPublication: !0,
|
|
7132
7132
|
href: r.link ? r?.link : void 0,
|
|
@@ -7141,7 +7141,7 @@ const Rl = (e) => {
|
|
|
7141
7141
|
/* @__PURE__ */ g("section", { className: xe.copyrigth, children: [
|
|
7142
7142
|
/* @__PURE__ */ a("p", { className: xe.copyrigthText, children: e.copyrigth }),
|
|
7143
7143
|
/* @__PURE__ */ a(
|
|
7144
|
-
|
|
7144
|
+
P,
|
|
7145
7145
|
{
|
|
7146
7146
|
"aria-label": "Bluestack link",
|
|
7147
7147
|
href: "https://www.bluestack.la",
|
|
@@ -7334,7 +7334,7 @@ function c1({ noteShare: e }) {
|
|
|
7334
7334
|
if (!s) return null;
|
|
7335
7335
|
const o = e.variant === "outline" ? s.icon.outline : s.icon.solid, i = s.url(t);
|
|
7336
7336
|
return /* @__PURE__ */ a(
|
|
7337
|
-
|
|
7337
|
+
P,
|
|
7338
7338
|
{
|
|
7339
7339
|
href: i,
|
|
7340
7340
|
target: "_blank",
|
|
@@ -7426,7 +7426,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7426
7426
|
};
|
|
7427
7427
|
return (t > 1 || n && t < s) && /* @__PURE__ */ g("section", { className: Yn.content, children: [
|
|
7428
7428
|
t > 1 && /* @__PURE__ */ a(
|
|
7429
|
-
|
|
7429
|
+
P,
|
|
7430
7430
|
{
|
|
7431
7431
|
block_subPublication: r,
|
|
7432
7432
|
className: Yn.linkStyled,
|
|
@@ -7435,7 +7435,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7435
7435
|
}
|
|
7436
7436
|
),
|
|
7437
7437
|
n && t < s && /* @__PURE__ */ a(
|
|
7438
|
-
|
|
7438
|
+
P,
|
|
7439
7439
|
{
|
|
7440
7440
|
block_subPublication: r,
|
|
7441
7441
|
className: Yn.linkStyled,
|
|
@@ -7490,7 +7490,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7490
7490
|
},
|
|
7491
7491
|
children: [
|
|
7492
7492
|
/* @__PURE__ */ a(
|
|
7493
|
-
|
|
7493
|
+
P,
|
|
7494
7494
|
{
|
|
7495
7495
|
"aria-label": e.main?.title?.section,
|
|
7496
7496
|
className: zt.image,
|
|
@@ -7544,7 +7544,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7544
7544
|
if (r && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7545
7545
|
const l = e.keywords.tags[0], d = l.name;
|
|
7546
7546
|
return l.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
7547
|
-
|
|
7547
|
+
P,
|
|
7548
7548
|
{
|
|
7549
7549
|
"aria-label": d,
|
|
7550
7550
|
block_subPublication: c?.tema,
|
|
@@ -7555,7 +7555,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7555
7555
|
) }) : /* @__PURE__ */ a("div", { className: ot.sectionDescription, children: d });
|
|
7556
7556
|
} else if (e.info?.section?.url)
|
|
7557
7557
|
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
7558
|
-
|
|
7558
|
+
P,
|
|
7559
7559
|
{
|
|
7560
7560
|
className: ot.sectionDescription,
|
|
7561
7561
|
href: e?.info?.link?.url,
|
|
@@ -7567,7 +7567,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7567
7567
|
};
|
|
7568
7568
|
return /* @__PURE__ */ g("section", { className: ot.content, children: [
|
|
7569
7569
|
/* @__PURE__ */ a(
|
|
7570
|
-
|
|
7570
|
+
P,
|
|
7571
7571
|
{
|
|
7572
7572
|
title: s?.title?.section,
|
|
7573
7573
|
href: n.link.url,
|
|
@@ -7590,7 +7590,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7590
7590
|
children: [
|
|
7591
7591
|
/* @__PURE__ */ a(u, {}),
|
|
7592
7592
|
/* @__PURE__ */ a("h2", { className: ot.articule, children: /* @__PURE__ */ a(
|
|
7593
|
-
|
|
7593
|
+
P,
|
|
7594
7594
|
{
|
|
7595
7595
|
className: ot.linkStyled,
|
|
7596
7596
|
href: e?.info?.link?.url,
|
|
@@ -7620,7 +7620,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7620
7620
|
/* @__PURE__ */ a(t, {}),
|
|
7621
7621
|
/* @__PURE__ */ a("p", { className: Ct.title, children: e.title }),
|
|
7622
7622
|
/* @__PURE__ */ a("p", { className: Ct.description, children: e.description }),
|
|
7623
|
-
/* @__PURE__ */ a(
|
|
7623
|
+
/* @__PURE__ */ a(P, { className: Ct.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
7624
7624
|
] })
|
|
7625
7625
|
] });
|
|
7626
7626
|
}, j1 = "_content_14eky_1", G1 = "_contentLabel_14eky_15", Q1 = "_label_14eky_25", H1 = "_required_14eky_43", F1 = "_input_14eky_55", Ot = {
|
|
@@ -7676,7 +7676,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7676
7676
|
/* @__PURE__ */ g("div", { className: it.textBox, children: [
|
|
7677
7677
|
/* @__PURE__ */ g("div", { className: it.contentBox, children: [
|
|
7678
7678
|
e?.info?.section && /* @__PURE__ */ a(
|
|
7679
|
-
|
|
7679
|
+
P,
|
|
7680
7680
|
{
|
|
7681
7681
|
className: it.sectionDescription,
|
|
7682
7682
|
href: e?.info?.section?.url,
|
|
@@ -7707,7 +7707,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
7707
7707
|
contentText: uu,
|
|
7708
7708
|
dateLink: mu
|
|
7709
7709
|
}, hu = (e) => /* @__PURE__ */ a("section", { className: rn.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ g("div", { className: rn.contentLine, children: [
|
|
7710
|
-
/* @__PURE__ */ a(
|
|
7710
|
+
/* @__PURE__ */ a(P, { className: rn.dateLink, href: `#item-${n + 1}`, children: ki(t.date) }),
|
|
7711
7711
|
/* @__PURE__ */ a("div", { className: rn.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
7712
7712
|
] }, n)) }), fu = "_content_1qe2s_1", gu = "_contentInfo_1qe2s_21", pu = "_imageContainer_1qe2s_37", Au = "_imageStyled_1qe2s_55", wu = "_contentIconStyled_1qe2s_77", yu = "_name_1qe2s_129", bu = "_email_1qe2s_147", vu = "_description_1qe2s_179", _u = "_contenSocialNetwork_1qe2s_203", Cu = "_socialIcon_1qe2s_223", Su = "_socialIconFilled_1qe2s_233", Nu = "_faceBookIcon_1qe2s_249", Iu = "_socialIconLink_1qe2s_267", Eu = "_socialIconStroke_1qe2s_283", ue = {
|
|
7713
7713
|
content: fu,
|
|
@@ -8105,10 +8105,10 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8105
8105
|
"data-after": `${s}`,
|
|
8106
8106
|
children: [
|
|
8107
8107
|
/* @__PURE__ */ a("hr", { className: We.startLine }),
|
|
8108
|
-
e.titleUrl ? /* @__PURE__ */ a(
|
|
8108
|
+
e.titleUrl ? /* @__PURE__ */ a(P, { href: e.titleUrl, children: o }) : o,
|
|
8109
8109
|
/* @__PURE__ */ a("hr", { className: We.line }),
|
|
8110
8110
|
e.titleUrl && /* @__PURE__ */ a(
|
|
8111
|
-
|
|
8111
|
+
P,
|
|
8112
8112
|
{
|
|
8113
8113
|
className: We.readMore,
|
|
8114
8114
|
href: e.titleUrl?.toString() ?? ""
|
|
@@ -8236,7 +8236,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8236
8236
|
htmlFor: "accordion_" + m,
|
|
8237
8237
|
children: [
|
|
8238
8238
|
d.link ? /* @__PURE__ */ a(
|
|
8239
|
-
|
|
8239
|
+
P,
|
|
8240
8240
|
{
|
|
8241
8241
|
block_subPublication: !0,
|
|
8242
8242
|
className: `${me.linkStyledAccordion} ${me.linkStyled}`,
|
|
@@ -8256,7 +8256,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8256
8256
|
]
|
|
8257
8257
|
}
|
|
8258
8258
|
) : /* @__PURE__ */ a(
|
|
8259
|
-
|
|
8259
|
+
P,
|
|
8260
8260
|
{
|
|
8261
8261
|
block_subPublication: !0,
|
|
8262
8262
|
className: me.linkStyled,
|
|
@@ -8273,7 +8273,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8273
8273
|
"--max-height": d.subitem.length * 45 + "px"
|
|
8274
8274
|
},
|
|
8275
8275
|
children: d.subitem.map((h, p) => /* @__PURE__ */ a(
|
|
8276
|
-
|
|
8276
|
+
P,
|
|
8277
8277
|
{
|
|
8278
8278
|
block_subPublication: !0,
|
|
8279
8279
|
className: me.subLinkStyled,
|
|
@@ -8317,7 +8317,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8317
8317
|
closeLiveStyled: Om
|
|
8318
8318
|
}, Vo = (e) => {
|
|
8319
8319
|
const { alertZone: t, id: n = "close-alert" } = e, s = () => /* @__PURE__ */ a(
|
|
8320
|
-
|
|
8320
|
+
P,
|
|
8321
8321
|
{
|
|
8322
8322
|
className: Mt.headLine,
|
|
8323
8323
|
href: t?.data[0]?.info.link.url,
|
|
@@ -8378,7 +8378,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8378
8378
|
Array.isArray(t) && /* @__PURE__ */ g("div", { className: `${Ye.tabs} header-page-tape-content`, children: [
|
|
8379
8379
|
n !== "" && /* @__PURE__ */ a("p", { className: Ye.title, children: `${n}` }),
|
|
8380
8380
|
t && t[i] && /* @__PURE__ */ a(
|
|
8381
|
-
|
|
8381
|
+
P,
|
|
8382
8382
|
{
|
|
8383
8383
|
block_subPublication: !0,
|
|
8384
8384
|
className: Ye.linkStyled,
|
|
@@ -8395,7 +8395,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8395
8395
|
t && t.map((r, c) => {
|
|
8396
8396
|
if (c !== i)
|
|
8397
8397
|
return /* @__PURE__ */ a(
|
|
8398
|
-
|
|
8398
|
+
P,
|
|
8399
8399
|
{
|
|
8400
8400
|
block_subPublication: !0,
|
|
8401
8401
|
className: Ye.linkStyled,
|
|
@@ -8472,7 +8472,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8472
8472
|
),
|
|
8473
8473
|
/* @__PURE__ */ g("div", { className: ke.iconContent, children: [
|
|
8474
8474
|
/* @__PURE__ */ a(
|
|
8475
|
-
|
|
8475
|
+
P,
|
|
8476
8476
|
{
|
|
8477
8477
|
href: "/",
|
|
8478
8478
|
"aria-label": "Home",
|
|
@@ -8486,7 +8486,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8486
8486
|
}
|
|
8487
8487
|
),
|
|
8488
8488
|
e.mobileIcon ? /* @__PURE__ */ a(
|
|
8489
|
-
|
|
8489
|
+
P,
|
|
8490
8490
|
{
|
|
8491
8491
|
href: "/",
|
|
8492
8492
|
"aria-label": "Home",
|
|
@@ -8503,7 +8503,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8503
8503
|
!e.showAlertPop && t?.data && /* @__PURE__ */ g("div", { className: ke.headLineContent, children: [
|
|
8504
8504
|
/* @__PURE__ */ a("div", { className: `${ke.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
8505
8505
|
/* @__PURE__ */ a(
|
|
8506
|
-
|
|
8506
|
+
P,
|
|
8507
8507
|
{
|
|
8508
8508
|
className: ke.headLine,
|
|
8509
8509
|
href: t.data[0]?.info.link.url,
|
|
@@ -8524,7 +8524,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8524
8524
|
].join(" "),
|
|
8525
8525
|
children: [
|
|
8526
8526
|
/* @__PURE__ */ a(
|
|
8527
|
-
|
|
8527
|
+
P,
|
|
8528
8528
|
{
|
|
8529
8529
|
block_subPublication: s?.buscar,
|
|
8530
8530
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
@@ -8559,7 +8559,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8559
8559
|
const { items: t } = e;
|
|
8560
8560
|
return /* @__PURE__ */ a("ul", { className: Ke.ul, children: t.map((n, s) => /* @__PURE__ */ g("li", { className: `${Ke.liBefore} ${Ke.li}`, children: [
|
|
8561
8561
|
n.link ? /* @__PURE__ */ g(
|
|
8562
|
-
|
|
8562
|
+
P,
|
|
8563
8563
|
{
|
|
8564
8564
|
block_subPublication: !0,
|
|
8565
8565
|
"aria-label": n.description,
|
|
@@ -8576,7 +8576,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8576
8576
|
Array.isArray(n.subitem) && /* @__PURE__ */ a(xn, {})
|
|
8577
8577
|
] }),
|
|
8578
8578
|
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: Ke.ulContent, children: /* @__PURE__ */ a("div", { className: Ke.contentModal, children: n.subitem.map((o, i) => /* @__PURE__ */ a("li", { className: Ke.li, children: /* @__PURE__ */ a(
|
|
8579
|
-
|
|
8579
|
+
P,
|
|
8580
8580
|
{
|
|
8581
8581
|
block_subPublication: !0,
|
|
8582
8582
|
className: Ke.itemLink,
|
|
@@ -8645,14 +8645,14 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8645
8645
|
]
|
|
8646
8646
|
}
|
|
8647
8647
|
) }),
|
|
8648
|
-
/* @__PURE__ */ a("div", { className: Se.logoContent, children: /* @__PURE__ */ a(
|
|
8648
|
+
/* @__PURE__ */ a("div", { className: Se.logoContent, children: /* @__PURE__ */ a(P, { href: "/", "aria-label": "Home", className: "header-logo-link", children: be.createElement(
|
|
8649
8649
|
"span",
|
|
8650
8650
|
{ className: `${Se.logoStyled}` },
|
|
8651
8651
|
e.icon
|
|
8652
8652
|
) }) }),
|
|
8653
8653
|
/* @__PURE__ */ g("div", { className: `${Se.buttonSection} sass-header-right-button-section`, children: [
|
|
8654
8654
|
/* @__PURE__ */ a(
|
|
8655
|
-
|
|
8655
|
+
P,
|
|
8656
8656
|
{
|
|
8657
8657
|
block_subPublication: o?.buscar,
|
|
8658
8658
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
@@ -8666,7 +8666,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8666
8666
|
!e.showAlertPop && n?.data ? /* @__PURE__ */ g("div", { className: Se.headLineContent, children: [
|
|
8667
8667
|
/* @__PURE__ */ a("p", { className: `${Se.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
8668
8668
|
/* @__PURE__ */ a(
|
|
8669
|
-
|
|
8669
|
+
P,
|
|
8670
8670
|
{
|
|
8671
8671
|
className: Se.headLine,
|
|
8672
8672
|
href: n.data[0]?.info.link.url,
|
|
@@ -8749,7 +8749,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8749
8749
|
return /* @__PURE__ */ a("section", { className: St.content, children: Array.isArray(e.tags) && /* @__PURE__ */ g("div", { className: St.tags, children: [
|
|
8750
8750
|
/* @__PURE__ */ a("p", { className: St.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
8751
8751
|
e.tags.map((n, s) => n.approved ? /* @__PURE__ */ a(
|
|
8752
|
-
|
|
8752
|
+
P,
|
|
8753
8753
|
{
|
|
8754
8754
|
block_subPublication: t?.tema,
|
|
8755
8755
|
href: yt(n, e.paths),
|
|
@@ -8773,7 +8773,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8773
8773
|
return s && /* @__PURE__ */ a("section", { className: Ge.contentBox, children: /* @__PURE__ */ g("div", { className: Ge.content, children: [
|
|
8774
8774
|
/* @__PURE__ */ g("div", { className: Ge.avatarContent, children: [
|
|
8775
8775
|
/* @__PURE__ */ a(
|
|
8776
|
-
|
|
8776
|
+
P,
|
|
8777
8777
|
{
|
|
8778
8778
|
block_subPublication: n?.autor,
|
|
8779
8779
|
className: Ge.journalistInfo,
|
|
@@ -8792,7 +8792,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
8792
8792
|
),
|
|
8793
8793
|
/* @__PURE__ */ g("section", { className: Ge.journalistSection, children: [
|
|
8794
8794
|
/* @__PURE__ */ a("h3", { className: Ge.journalistInfo, children: /* @__PURE__ */ a(
|
|
8795
|
-
|
|
8795
|
+
P,
|
|
8796
8796
|
{
|
|
8797
8797
|
block_subPublication: n?.autor,
|
|
8798
8798
|
href: `/${e.paths.autor}/${o}`,
|
|
@@ -9132,7 +9132,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9132
9132
|
return r.approved ? /* @__PURE__ */ g("h3", { children: [
|
|
9133
9133
|
" ",
|
|
9134
9134
|
/* @__PURE__ */ a(
|
|
9135
|
-
|
|
9135
|
+
P,
|
|
9136
9136
|
{
|
|
9137
9137
|
"aria-label": c,
|
|
9138
9138
|
className: Ue.tagmx,
|
|
@@ -9143,13 +9143,13 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9143
9143
|
)
|
|
9144
9144
|
] }) : /* @__PURE__ */ a("div", { className: Ue.tagmx, children: c });
|
|
9145
9145
|
} else if (e.info?.section?.url)
|
|
9146
|
-
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9146
|
+
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(P, { className: Ue.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }) });
|
|
9147
9147
|
return null;
|
|
9148
9148
|
}, i = () => {
|
|
9149
9149
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
9150
9150
|
const r = e.keywords.tags[0], c = r.name;
|
|
9151
9151
|
return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9152
|
-
|
|
9152
|
+
P,
|
|
9153
9153
|
{
|
|
9154
9154
|
"aria-label": c,
|
|
9155
9155
|
className: Ue.tag,
|
|
@@ -9159,12 +9159,12 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9159
9159
|
}
|
|
9160
9160
|
) }) : /* @__PURE__ */ a("div", { className: Ue.tag, children: c });
|
|
9161
9161
|
} else if (e.info?.section?.url)
|
|
9162
|
-
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9162
|
+
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(P, { className: Ue.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }) });
|
|
9163
9163
|
return null;
|
|
9164
9164
|
};
|
|
9165
9165
|
return /* @__PURE__ */ g("section", { className: `${Ue.content} destacado-super-content`, children: [
|
|
9166
9166
|
/* @__PURE__ */ a(
|
|
9167
|
-
|
|
9167
|
+
P,
|
|
9168
9168
|
{
|
|
9169
9169
|
href: e?.info?.link?.url,
|
|
9170
9170
|
target: e?.info?.link?.target,
|
|
@@ -9203,7 +9203,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9203
9203
|
children: [
|
|
9204
9204
|
/* @__PURE__ */ a(i, {}),
|
|
9205
9205
|
/* @__PURE__ */ a(
|
|
9206
|
-
|
|
9206
|
+
P,
|
|
9207
9207
|
{
|
|
9208
9208
|
className: Ue.linkTitle,
|
|
9209
9209
|
href: e?.info?.link?.url,
|
|
@@ -9233,7 +9233,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9233
9233
|
}
|
|
9234
9234
|
),
|
|
9235
9235
|
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
9236
|
-
|
|
9236
|
+
P,
|
|
9237
9237
|
{
|
|
9238
9238
|
block_subPublication: n?.autor,
|
|
9239
9239
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
@@ -9391,7 +9391,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9391
9391
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
9392
9392
|
const o = e.mainNew.keywords.tags[0], i = o.name;
|
|
9393
9393
|
return o.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9394
|
-
|
|
9394
|
+
P,
|
|
9395
9395
|
{
|
|
9396
9396
|
"aria-label": i,
|
|
9397
9397
|
className: mt.sectionDescription,
|
|
@@ -9402,7 +9402,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9402
9402
|
) }) : /* @__PURE__ */ a("div", { className: mt.sectionDescription, children: i });
|
|
9403
9403
|
} else if (e.mainNew.info?.section?.url)
|
|
9404
9404
|
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9405
|
-
|
|
9405
|
+
P,
|
|
9406
9406
|
{
|
|
9407
9407
|
className: mt.sectionDescription,
|
|
9408
9408
|
href: e?.mainNew?.info?.section?.url,
|
|
@@ -9414,7 +9414,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9414
9414
|
return /* @__PURE__ */ g("div", { className: mt.content, children: [
|
|
9415
9415
|
/* @__PURE__ */ a(s, {}),
|
|
9416
9416
|
/* @__PURE__ */ a(
|
|
9417
|
-
|
|
9417
|
+
P,
|
|
9418
9418
|
{
|
|
9419
9419
|
className: mt.title,
|
|
9420
9420
|
href: e?.mainNew?.info?.link?.url,
|
|
@@ -9423,7 +9423,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9423
9423
|
}
|
|
9424
9424
|
),
|
|
9425
9425
|
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: mt.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
9426
|
-
e.goTo && /* @__PURE__ */ a(
|
|
9426
|
+
e.goTo && /* @__PURE__ */ a(P, { href: e.goTo.url, className: mt.linkStyled, children: e.goTo.description })
|
|
9427
9427
|
] });
|
|
9428
9428
|
}, G2 = "_headerSection_itzkx_1", Q2 = "_headerSectionLink_itzkx_23", H2 = "_newsContent_itzkx_33", Xn = {
|
|
9429
9429
|
headerSection: G2,
|
|
@@ -9446,7 +9446,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9446
9446
|
/* @__PURE__ */ g("div", { className: Xn.headerSection, children: [
|
|
9447
9447
|
/* @__PURE__ */ a(Yo, { mainNew: i, goTo: e.goTo, paths: e.paths }),
|
|
9448
9448
|
/* @__PURE__ */ a(
|
|
9449
|
-
|
|
9449
|
+
P,
|
|
9450
9450
|
{
|
|
9451
9451
|
className: Xn.headerSectionLink,
|
|
9452
9452
|
href: i?.info?.link?.url,
|
|
@@ -9506,7 +9506,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9506
9506
|
] });
|
|
9507
9507
|
return /* @__PURE__ */ g("div", { className: Je.content, children: [
|
|
9508
9508
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
9509
|
-
|
|
9509
|
+
P,
|
|
9510
9510
|
{
|
|
9511
9511
|
block_subPublication: s?.autor,
|
|
9512
9512
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
@@ -9515,7 +9515,7 @@ const l1 = "_content_xlsy2_1", d1 = "_videoContent_xlsy2_39", u1 = "_articleSect
|
|
|
9515
9515
|
) : r,
|
|
9516
9516
|
/* @__PURE__ */ g("div", { className: Je.boxInformationContent, children: [
|
|
9517
9517
|
/* @__PURE__ */ a(
|
|
9518
|
-
|
|
9518
|
+
P,
|
|
9519
9519
|
{
|
|
9520
9520
|
className: Je.title,
|
|
9521
9521
|
href: t?.info?.link?.url,
|
|
@@ -9821,7 +9821,7 @@ const M5 = (e) => {
|
|
|
9821
9821
|
}
|
|
9822
9822
|
),
|
|
9823
9823
|
/* @__PURE__ */ a(
|
|
9824
|
-
|
|
9824
|
+
P,
|
|
9825
9825
|
{
|
|
9826
9826
|
className: ta.headerSectionLink,
|
|
9827
9827
|
href: o?.info?.link.url,
|
|
@@ -9883,7 +9883,7 @@ const M5 = (e) => {
|
|
|
9883
9883
|
},
|
|
9884
9884
|
children: [
|
|
9885
9885
|
/* @__PURE__ */ a(
|
|
9886
|
-
|
|
9886
|
+
P,
|
|
9887
9887
|
{
|
|
9888
9888
|
className: Dt.linkImage,
|
|
9889
9889
|
target: e?.info?.link?.target,
|
|
@@ -9894,7 +9894,7 @@ const M5 = (e) => {
|
|
|
9894
9894
|
),
|
|
9895
9895
|
/* @__PURE__ */ g("div", { className: Dt.textContent, children: [
|
|
9896
9896
|
/* @__PURE__ */ a(
|
|
9897
|
-
|
|
9897
|
+
P,
|
|
9898
9898
|
{
|
|
9899
9899
|
className: Dt.sectionDescription,
|
|
9900
9900
|
target: e?.info?.link?.target,
|
|
@@ -10011,7 +10011,7 @@ const M5 = (e) => {
|
|
|
10011
10011
|
) : /* @__PURE__ */ a("div", { className: ct.contentIcon, children: e.autorIcon }),
|
|
10012
10012
|
/* @__PURE__ */ g("div", { className: ct.boxInformation, children: [
|
|
10013
10013
|
/* @__PURE__ */ a("p", { className: ct.authorName, children: n?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
10014
|
-
|
|
10014
|
+
P,
|
|
10015
10015
|
{
|
|
10016
10016
|
block_subPublication: t?.autor,
|
|
10017
10017
|
href: n.authors[0]?.internaluser ? `/${e.paths.autor}/${n?.authors[0]?.name}` : "#",
|
|
@@ -10019,7 +10019,7 @@ const M5 = (e) => {
|
|
|
10019
10019
|
}
|
|
10020
10020
|
) : n?.authors[0]?.fullname ?? "Redacción" }),
|
|
10021
10021
|
/* @__PURE__ */ a("p", { className: ct.title, children: /* @__PURE__ */ a(
|
|
10022
|
-
|
|
10022
|
+
P,
|
|
10023
10023
|
{
|
|
10024
10024
|
className: ct.linkStyled,
|
|
10025
10025
|
href: n?.info?.link?.url,
|
|
@@ -10619,7 +10619,7 @@ const q0 = async ({
|
|
|
10619
10619
|
Telegram: "telegram"
|
|
10620
10620
|
};
|
|
10621
10621
|
function M0({ url: e }) {
|
|
10622
|
-
return e && e !== "" && /* @__PURE__ */ g(
|
|
10622
|
+
return e && e !== "" && /* @__PURE__ */ g(P, { href: e, className: ge.googleProfileButton, children: [
|
|
10623
10623
|
/* @__PURE__ */ a(
|
|
10624
10624
|
"svg",
|
|
10625
10625
|
{
|
|
@@ -11054,7 +11054,7 @@ function Dg({ noteShare: e }) {
|
|
|
11054
11054
|
if (!s) return null;
|
|
11055
11055
|
const o = e.variant === "outline" ? s.icon.outline : s.icon.solid, i = s.url(t);
|
|
11056
11056
|
return /* @__PURE__ */ a(
|
|
11057
|
-
|
|
11057
|
+
P,
|
|
11058
11058
|
{
|
|
11059
11059
|
href: i,
|
|
11060
11060
|
target: "_blank",
|
|
@@ -11086,7 +11086,7 @@ function Dg({ noteShare: e }) {
|
|
|
11086
11086
|
children: /* @__PURE__ */ a(Qo, {})
|
|
11087
11087
|
}
|
|
11088
11088
|
),
|
|
11089
|
-
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */ g(
|
|
11089
|
+
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */ g(P, { href: e?.googleProfile.url ?? "", className: `${le.socialActionLink} ${le.socialActionLinkGoogleMobile}`, children: [
|
|
11090
11090
|
/* @__PURE__ */ a(
|
|
11091
11091
|
"svg",
|
|
11092
11092
|
{
|
|
@@ -11147,7 +11147,7 @@ const jg = async (e) => {
|
|
|
11147
11147
|
]
|
|
11148
11148
|
}
|
|
11149
11149
|
),
|
|
11150
|
-
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */ g(
|
|
11150
|
+
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */ g(P, { href: e.noteShare?.googleProfile.url ?? "", className: `${le.socialActionLink} sass-journalist-articule-google-profile-button`, children: [
|
|
11151
11151
|
/* @__PURE__ */ a(
|
|
11152
11152
|
"svg",
|
|
11153
11153
|
{
|
|
@@ -11261,8 +11261,8 @@ const jg = async (e) => {
|
|
|
11261
11261
|
const h = d.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), A = f ? decodeURIComponent(f[1]) : null;
|
|
11262
11262
|
let w = 0, v = 0;
|
|
11263
11263
|
if (A) {
|
|
11264
|
-
const E = A.match(/w:(\d+)/),
|
|
11265
|
-
w = E ? parseInt(E[1]) : 0, v =
|
|
11264
|
+
const E = A.match(/w:(\d+)/), U = A.match(/h:(\d+)/);
|
|
11265
|
+
w = E ? parseInt(E[1]) : 0, v = U ? parseInt(U[1]) : 0;
|
|
11266
11266
|
}
|
|
11267
11267
|
const C = {
|
|
11268
11268
|
preview: {
|
|
@@ -11295,8 +11295,8 @@ const jg = async (e) => {
|
|
|
11295
11295
|
const h = d.match(/\balt=["']([^"']*)["']/), p = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), A = f ? decodeURIComponent(f[1]) : null;
|
|
11296
11296
|
let w = 0, v = 0;
|
|
11297
11297
|
if (A) {
|
|
11298
|
-
const E = A.match(/w:(\d+)/),
|
|
11299
|
-
w = E ? parseInt(E[1]) : 0, v =
|
|
11298
|
+
const E = A.match(/w:(\d+)/), U = A.match(/h:(\d+)/);
|
|
11299
|
+
w = E ? parseInt(E[1]) : 0, v = U ? parseInt(U[1]) : 0;
|
|
11300
11300
|
}
|
|
11301
11301
|
const C = {
|
|
11302
11302
|
preview: {
|
|
@@ -11468,14 +11468,14 @@ async function Wg(e, t) {
|
|
|
11468
11468
|
allowfullscreen
|
|
11469
11469
|
style="position: relative!important;"
|
|
11470
11470
|
src="${C.main?.code || ""}"></iframe>` : I = C.main?.code || "";
|
|
11471
|
-
const
|
|
11471
|
+
const U = E || C.main?.description || "";
|
|
11472
11472
|
w = `
|
|
11473
11473
|
<figure class="videoFigure">
|
|
11474
11474
|
${S && S.data && S.data.data ? `<script type="application/ld+json">${Rn(
|
|
11475
11475
|
JSON.stringify(S.data.data)
|
|
11476
11476
|
)}<\/script>` : ""}
|
|
11477
11477
|
${I}
|
|
11478
|
-
<figcaption>${
|
|
11478
|
+
<figcaption>${U}</figcaption>
|
|
11479
11479
|
</figure>
|
|
11480
11480
|
`;
|
|
11481
11481
|
}
|
|
@@ -12330,7 +12330,7 @@ const Hs = {
|
|
|
12330
12330
|
default:
|
|
12331
12331
|
return /* @__PURE__ */ a(K, {});
|
|
12332
12332
|
}
|
|
12333
|
-
}, wp = "_overlay_1t390_1", yp = "_header_1t390_35", bp = "_logo_1t390_49", vp = "_anonimusWrapper_1t390_63", _p = "_anonimus_1t390_63", Cp = "_anonimusImage_1t390_115", Sp = "_card_1t390_131", Np = "_close_1t390_161", Ip = "_form_1t390_209", Ep = "_formUl_1t390_227", Tp = "_field_1t390_251", xp = "_label_1t390_265", kp = "_input_1t390_283", Up = "_error_1t390_319", Lp = "_primary_1t390_331", Rp = "_divider_1t390_407", Bp = "_google_1t390_459", Pp = "_googleIcon_1t390_519", Op = "_spin_1t390_585", qp = "_checkboxRow_1t390_629", Mp = "_terms_1t390_703", Dp = "_message_1t390_769", jp = "_passwordChecker_1t390_779", Gp = "_valid_1t390_817", Qp = "_invalid_1t390_825", Hp = "_forgotPassword_1t390_833", Fp = "_successContainer_1t390_871", zp = "_thumbsUp_1t390_887", $p = "_successMessage_1t390_899",
|
|
12333
|
+
}, wp = "_overlay_1t390_1", yp = "_header_1t390_35", bp = "_logo_1t390_49", vp = "_anonimusWrapper_1t390_63", _p = "_anonimus_1t390_63", Cp = "_anonimusImage_1t390_115", Sp = "_card_1t390_131", Np = "_close_1t390_161", Ip = "_form_1t390_209", Ep = "_formUl_1t390_227", Tp = "_field_1t390_251", xp = "_label_1t390_265", kp = "_input_1t390_283", Up = "_error_1t390_319", Lp = "_primary_1t390_331", Rp = "_divider_1t390_407", Bp = "_google_1t390_459", Pp = "_googleIcon_1t390_519", Op = "_spin_1t390_585", qp = "_checkboxRow_1t390_629", Mp = "_terms_1t390_703", Dp = "_message_1t390_769", jp = "_passwordChecker_1t390_779", Gp = "_valid_1t390_817", Qp = "_invalid_1t390_825", Hp = "_forgotPassword_1t390_833", Fp = "_successContainer_1t390_871", zp = "_thumbsUp_1t390_887", $p = "_successMessage_1t390_899", k = {
|
|
12334
12334
|
overlay: wp,
|
|
12335
12335
|
header: yp,
|
|
12336
12336
|
logo: bp,
|
|
@@ -12388,13 +12388,14 @@ const Hs = {
|
|
|
12388
12388
|
width: "24",
|
|
12389
12389
|
height: "24",
|
|
12390
12390
|
viewBox: "0 0 32 32",
|
|
12391
|
-
className:
|
|
12391
|
+
className: k.spin,
|
|
12392
12392
|
children: /* @__PURE__ */ a("path", { d: "M18,4.181v2.021c4.559,0.929,8,4.97,8,9.798c0,5.514-4.486,10-10,10S6,21.514,6,16c0-4.829,3.441-8.869,8-9.798V4.181 C8.334,5.137,4,10.066,4,16c0,6.617,5.383,12,12,12s12-5.383,12-12C28,10.066,23.666,5.137,18,4.181z" })
|
|
12393
12393
|
}
|
|
12394
12394
|
), Vp = {
|
|
12395
12395
|
GoogleButtonText: "Continuar con Google",
|
|
12396
12396
|
loginButtonText: "Iniciar sesión",
|
|
12397
12397
|
noAccountText: "¿Ya tenés cuenta?",
|
|
12398
|
+
alreadyHasAccountText: "¿Ya tienes cuenta?",
|
|
12398
12399
|
showPasswordsLabel: "Mostrar contraseñas",
|
|
12399
12400
|
termsPrefix: "Al continuar, confirmo que he leído y aceptado los",
|
|
12400
12401
|
termsLinkText: "Términos y Condiciones",
|
|
@@ -12460,7 +12461,7 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12460
12461
|
), [c, u] = Y({}), [l, d] = Y(!1), [m, h] = Y(!1), [p, f] = Y(null), [A, w] = Y(
|
|
12461
12462
|
"register"
|
|
12462
12463
|
), v = (y, E) => {
|
|
12463
|
-
u((
|
|
12464
|
+
u((U) => ({ ...U, [y]: E }));
|
|
12464
12465
|
}, S = async (y) => {
|
|
12465
12466
|
y.preventDefault(), f(null), h(!0);
|
|
12466
12467
|
try {
|
|
@@ -12473,9 +12474,9 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12473
12474
|
f(o.errorPasswordMismatch);
|
|
12474
12475
|
return;
|
|
12475
12476
|
}
|
|
12476
|
-
const
|
|
12477
|
+
const U = c.password || "";
|
|
12477
12478
|
if (r.some(
|
|
12478
|
-
(J) => !J.test(
|
|
12479
|
+
(J) => !J.test(U)
|
|
12479
12480
|
)) {
|
|
12480
12481
|
f(o.errorPasswordInvalid);
|
|
12481
12482
|
return;
|
|
@@ -12531,8 +12532,8 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12531
12532
|
})
|
|
12532
12533
|
});
|
|
12533
12534
|
if (!E.ok) {
|
|
12534
|
-
const
|
|
12535
|
-
throw new Error(
|
|
12535
|
+
const U = await E.json().catch(() => ({}));
|
|
12536
|
+
throw new Error(U?.error || "Error al confirmar usuario");
|
|
12536
12537
|
}
|
|
12537
12538
|
w("success");
|
|
12538
12539
|
} catch (E) {
|
|
@@ -12543,81 +12544,81 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12543
12544
|
}, I = c.password || "";
|
|
12544
12545
|
return /* @__PURE__ */ g(K, { children: [
|
|
12545
12546
|
A === "register" && /* @__PURE__ */ g(K, { children: [
|
|
12546
|
-
/* @__PURE__ */ g("button", { onClick: t, className:
|
|
12547
|
+
/* @__PURE__ */ g("button", { onClick: t, className: k.google, children: [
|
|
12547
12548
|
/* @__PURE__ */ a(
|
|
12548
12549
|
"img",
|
|
12549
12550
|
{
|
|
12550
12551
|
src: "https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",
|
|
12551
12552
|
alt: "",
|
|
12552
|
-
className:
|
|
12553
|
+
className: k.googleIcon
|
|
12553
12554
|
}
|
|
12554
12555
|
),
|
|
12555
12556
|
/* @__PURE__ */ a("span", { children: o.GoogleButtonText })
|
|
12556
12557
|
] }),
|
|
12557
|
-
/* @__PURE__ */ a("div", { className:
|
|
12558
|
+
/* @__PURE__ */ a("div", { className: k.divider, children: /* @__PURE__ */ a("span", { children: "o" }) }),
|
|
12558
12559
|
/* @__PURE__ */ g(
|
|
12559
12560
|
"form",
|
|
12560
12561
|
{
|
|
12561
12562
|
onSubmit: S,
|
|
12562
|
-
className:
|
|
12563
|
+
className: k.form,
|
|
12563
12564
|
"data-error": p ? "true" : "false",
|
|
12564
12565
|
children: [
|
|
12565
|
-
/* @__PURE__ */ a("ul", { className:
|
|
12566
|
-
/* @__PURE__ */ a("label", { className:
|
|
12566
|
+
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(i).map(([y, { label: E }]) => /* @__PURE__ */ g("div", { className: k.field, children: [
|
|
12567
|
+
/* @__PURE__ */ a("label", { className: k.label, children: E }),
|
|
12567
12568
|
/* @__PURE__ */ a(
|
|
12568
12569
|
"input",
|
|
12569
12570
|
{
|
|
12570
12571
|
type: y.toLowerCase().includes("password") ? l ? "text" : "password" : y === "birthdate" ? "date" : y === "email" ? "email" : y === "phone_number" ? "tel" : "text",
|
|
12571
12572
|
name: y,
|
|
12572
12573
|
value: c[y] || "",
|
|
12573
|
-
onChange: (
|
|
12574
|
-
className:
|
|
12574
|
+
onChange: (U) => v(y, U.target.value),
|
|
12575
|
+
className: k.input,
|
|
12575
12576
|
placeholder: ""
|
|
12576
12577
|
}
|
|
12577
12578
|
),
|
|
12578
|
-
y === "password" && /* @__PURE__ */ a("div", { className:
|
|
12579
|
-
const X =
|
|
12579
|
+
y === "password" && /* @__PURE__ */ a("div", { className: k.passwordChecker, children: r.map((U, j) => {
|
|
12580
|
+
const X = U.test(I);
|
|
12580
12581
|
return /* @__PURE__ */ g(
|
|
12581
12582
|
"div",
|
|
12582
12583
|
{
|
|
12583
|
-
className: X ?
|
|
12584
|
+
className: X ? k.valid : k.invalid,
|
|
12584
12585
|
children: [
|
|
12585
12586
|
/* @__PURE__ */ a("div", { children: X ? "✔" : "○" }),
|
|
12586
|
-
/* @__PURE__ */ a("div", { children:
|
|
12587
|
+
/* @__PURE__ */ a("div", { children: U.label })
|
|
12587
12588
|
]
|
|
12588
12589
|
},
|
|
12589
12590
|
j
|
|
12590
12591
|
);
|
|
12591
12592
|
}) }),
|
|
12592
|
-
y === "confirmPassword" && /* @__PURE__ */ g("div", { className:
|
|
12593
|
+
y === "confirmPassword" && /* @__PURE__ */ g("div", { className: k.checkboxRow, children: [
|
|
12593
12594
|
/* @__PURE__ */ a(
|
|
12594
12595
|
"input",
|
|
12595
12596
|
{
|
|
12596
12597
|
id: "showPasswordRegister",
|
|
12597
12598
|
type: "checkbox",
|
|
12598
12599
|
checked: l,
|
|
12599
|
-
onChange: (
|
|
12600
|
+
onChange: (U) => d(U.target.checked)
|
|
12600
12601
|
}
|
|
12601
12602
|
),
|
|
12602
12603
|
/* @__PURE__ */ a(
|
|
12603
12604
|
"label",
|
|
12604
12605
|
{
|
|
12605
12606
|
htmlFor: "showPasswordRegister",
|
|
12606
|
-
className:
|
|
12607
|
+
className: k.checkboxLabel,
|
|
12607
12608
|
children: o.showPasswordsLabel
|
|
12608
12609
|
}
|
|
12609
12610
|
)
|
|
12610
12611
|
] })
|
|
12611
12612
|
] }, y)) }),
|
|
12612
|
-
p && /* @__PURE__ */ a("p", { className:
|
|
12613
|
-
/* @__PURE__ */ g("p", { className:
|
|
12613
|
+
p && /* @__PURE__ */ a("p", { className: k.error, children: p }),
|
|
12614
|
+
/* @__PURE__ */ g("p", { className: k.terms, children: [
|
|
12614
12615
|
o.termsPrefix,
|
|
12615
12616
|
" ",
|
|
12616
12617
|
/* @__PURE__ */ a("a", { href: "/pages/politicas-de-privacidad.html", target: "_blank", children: o.termsLinkText }),
|
|
12617
12618
|
" ",
|
|
12618
12619
|
o.termsSuffix
|
|
12619
12620
|
] }),
|
|
12620
|
-
/* @__PURE__ */ a("button", { type: "submit", className:
|
|
12621
|
+
/* @__PURE__ */ a("button", { type: "submit", className: k.primary, disabled: m, children: m ? /* @__PURE__ */ a(nt, {}) : o.createAccountButton })
|
|
12621
12622
|
]
|
|
12622
12623
|
}
|
|
12623
12624
|
)
|
|
@@ -12626,11 +12627,11 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12626
12627
|
"form",
|
|
12627
12628
|
{
|
|
12628
12629
|
onSubmit: C,
|
|
12629
|
-
className:
|
|
12630
|
+
className: k.form,
|
|
12630
12631
|
"data-error": p ? "true" : "false",
|
|
12631
12632
|
children: [
|
|
12632
|
-
/* @__PURE__ */ g("div", { className:
|
|
12633
|
-
/* @__PURE__ */ a("label", { className:
|
|
12633
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
12634
|
+
/* @__PURE__ */ a("label", { className: k.label, children: o.verificationCodeLabel }),
|
|
12634
12635
|
/* @__PURE__ */ a(
|
|
12635
12636
|
"input",
|
|
12636
12637
|
{
|
|
@@ -12638,23 +12639,23 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12638
12639
|
name: "confirmationCode",
|
|
12639
12640
|
value: c.confirmationCode || "",
|
|
12640
12641
|
onChange: (y) => v("confirmationCode", y.target.value),
|
|
12641
|
-
className:
|
|
12642
|
+
className: k.input,
|
|
12642
12643
|
required: !0
|
|
12643
12644
|
}
|
|
12644
12645
|
)
|
|
12645
12646
|
] }),
|
|
12646
|
-
p && /* @__PURE__ */ a("p", { className:
|
|
12647
|
-
/* @__PURE__ */ a("button", { type: "submit", className:
|
|
12648
|
-
/* @__PURE__ */ g("p", { className:
|
|
12647
|
+
p && /* @__PURE__ */ a("p", { className: k.error, children: p }),
|
|
12648
|
+
/* @__PURE__ */ a("button", { type: "submit", className: k.primary, disabled: m, children: m ? /* @__PURE__ */ a(nt, {}) : o.confirmAccountButton }),
|
|
12649
|
+
/* @__PURE__ */ g("p", { className: k.switch, children: [
|
|
12649
12650
|
o.alreadyConfirmedText,
|
|
12650
12651
|
/* @__PURE__ */ a("button", { type: "button", onClick: e, children: o.loginButtonText })
|
|
12651
12652
|
] })
|
|
12652
12653
|
]
|
|
12653
12654
|
}
|
|
12654
12655
|
),
|
|
12655
|
-
A === "success" && /* @__PURE__ */ g("form", { className:
|
|
12656
|
-
/* @__PURE__ */ g("div", { className:
|
|
12657
|
-
/* @__PURE__ */ a("div", { className:
|
|
12656
|
+
A === "success" && /* @__PURE__ */ g("form", { className: k.form, children: [
|
|
12657
|
+
/* @__PURE__ */ g("div", { className: k.successContainer, children: [
|
|
12658
|
+
/* @__PURE__ */ a("div", { className: k.thumbsUp, children: /* @__PURE__ */ a(
|
|
12658
12659
|
"svg",
|
|
12659
12660
|
{
|
|
12660
12661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12670,15 +12671,15 @@ function Yp({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: s }) {
|
|
|
12670
12671
|
)
|
|
12671
12672
|
}
|
|
12672
12673
|
) }),
|
|
12673
|
-
/* @__PURE__ */ g("div", { className:
|
|
12674
|
+
/* @__PURE__ */ g("div", { className: k.successMessage, children: [
|
|
12674
12675
|
/* @__PURE__ */ a("p", { children: o.successTitle }),
|
|
12675
12676
|
/* @__PURE__ */ a("p", { children: o.successMessage })
|
|
12676
12677
|
] })
|
|
12677
12678
|
] }),
|
|
12678
|
-
/* @__PURE__ */ a("button", { onClick: e, className:
|
|
12679
|
+
/* @__PURE__ */ a("button", { onClick: e, className: k.primary, children: o.loginButtonText })
|
|
12679
12680
|
] }),
|
|
12680
|
-
A === "register" && /* @__PURE__ */ g("p", { className:
|
|
12681
|
-
o.
|
|
12681
|
+
A === "register" && /* @__PURE__ */ g("p", { className: k.switch, children: [
|
|
12682
|
+
o.alreadyHasAccountText,
|
|
12682
12683
|
/* @__PURE__ */ a("button", { type: "button", onClick: e, children: o.loginButtonText })
|
|
12683
12684
|
] })
|
|
12684
12685
|
] });
|
|
@@ -12734,6 +12735,7 @@ const Xp = {
|
|
|
12734
12735
|
backButton: "Volver",
|
|
12735
12736
|
GoogleButtonText: "Continuar con Google",
|
|
12736
12737
|
noAccountText: "¿No tienes cuenta?",
|
|
12738
|
+
alreadyHasAccountText: "¿Ya tienes cuenta?",
|
|
12737
12739
|
registerButtonText: "Registrate",
|
|
12738
12740
|
forgotPasswordText: "Olvidé mi contraseña",
|
|
12739
12741
|
forgotMessage: "Ingrese su dirección de correo electrónico. Le enviaremos un mensaje con un código para restablecer la contraseña.",
|
|
@@ -12754,7 +12756,7 @@ function e3({
|
|
|
12754
12756
|
API_ENV: o,
|
|
12755
12757
|
texts: i
|
|
12756
12758
|
}) {
|
|
12757
|
-
const r = { ...Xp, ...i?.comentarios }, [c, u] = Y("login"), [l, d] = Y(""), [m, h] = Y(""), [p, f] = Y(""), [A, w] = Y(""), [v, S] = Y(""), [C, I] = Y(!1), [y, E] = Y(!1), [
|
|
12759
|
+
const r = { ...Xp, ...i?.comentarios }, [c, u] = Y("login"), [l, d] = Y(""), [m, h] = Y(""), [p, f] = Y(""), [A, w] = Y(""), [v, S] = Y(""), [C, I] = Y(!1), [y, E] = Y(!1), [U, j] = Y(null);
|
|
12758
12760
|
return /* @__PURE__ */ g(K, { children: [
|
|
12759
12761
|
c === "login" && /* @__PURE__ */ a(
|
|
12760
12762
|
t3,
|
|
@@ -12763,7 +12765,7 @@ function e3({
|
|
|
12763
12765
|
password: m,
|
|
12764
12766
|
showPassword: C,
|
|
12765
12767
|
loading: y,
|
|
12766
|
-
error:
|
|
12768
|
+
error: U,
|
|
12767
12769
|
setEmail: d,
|
|
12768
12770
|
setPassword: h,
|
|
12769
12771
|
setShowPassword: I,
|
|
@@ -12773,15 +12775,15 @@ function e3({
|
|
|
12773
12775
|
try {
|
|
12774
12776
|
const ae = o.PUBLIC_ENV === "local" ? "token" : await Xo("comment_login", o.CAPTCHA_KEY || "");
|
|
12775
12777
|
if (!ae) throw new Error("Captcha token no generado");
|
|
12776
|
-
const
|
|
12778
|
+
const R = await fetch("/api/auth/login-password", {
|
|
12777
12779
|
method: "POST",
|
|
12778
12780
|
headers: { "Content-Type": "application/json" },
|
|
12779
12781
|
credentials: "include",
|
|
12780
12782
|
body: JSON.stringify({ email: l, password: m, token: ae })
|
|
12781
12783
|
});
|
|
12782
|
-
if (!
|
|
12783
|
-
const
|
|
12784
|
-
throw new Error(
|
|
12784
|
+
if (!R.ok) {
|
|
12785
|
+
const x = await R.json().catch(() => ({}));
|
|
12786
|
+
throw new Error(x?.error || "Ha ocurrido un error");
|
|
12785
12787
|
}
|
|
12786
12788
|
e(), await t();
|
|
12787
12789
|
} catch (ae) {
|
|
@@ -12805,7 +12807,7 @@ function e3({
|
|
|
12805
12807
|
email: l,
|
|
12806
12808
|
setEmail: d,
|
|
12807
12809
|
loading: y,
|
|
12808
|
-
error:
|
|
12810
|
+
error: U,
|
|
12809
12811
|
onSubmit: async (J) => {
|
|
12810
12812
|
if (!y) {
|
|
12811
12813
|
J.preventDefault(), j(null), E(!0);
|
|
@@ -12816,8 +12818,8 @@ function e3({
|
|
|
12816
12818
|
body: JSON.stringify({ email: l })
|
|
12817
12819
|
});
|
|
12818
12820
|
if (!ae.ok) {
|
|
12819
|
-
const
|
|
12820
|
-
throw new Error(
|
|
12821
|
+
const R = await ae.json().catch(() => ({}));
|
|
12822
|
+
throw new Error(R?.error || "Error al enviar código");
|
|
12821
12823
|
}
|
|
12822
12824
|
h(""), u("changePassword");
|
|
12823
12825
|
} catch (ae) {
|
|
@@ -12842,7 +12844,7 @@ function e3({
|
|
|
12842
12844
|
confirmNewPassword: v,
|
|
12843
12845
|
showPassword: C,
|
|
12844
12846
|
loading: y,
|
|
12845
|
-
error:
|
|
12847
|
+
error: U,
|
|
12846
12848
|
setConfirmationCode: f,
|
|
12847
12849
|
setNewPassword: w,
|
|
12848
12850
|
setConfirmNewPassword: S,
|
|
@@ -12854,25 +12856,25 @@ function e3({
|
|
|
12854
12856
|
return;
|
|
12855
12857
|
}
|
|
12856
12858
|
if (ei.some(
|
|
12857
|
-
(
|
|
12859
|
+
(R) => !R.test(A)
|
|
12858
12860
|
)) {
|
|
12859
12861
|
j("La contraseña no cumple con los requisitos");
|
|
12860
12862
|
return;
|
|
12861
12863
|
}
|
|
12862
12864
|
j(null), E(!0);
|
|
12863
12865
|
try {
|
|
12864
|
-
const
|
|
12866
|
+
const R = await fetch("/api/auth/confirm-forgot-password", {
|
|
12865
12867
|
method: "POST",
|
|
12866
12868
|
headers: { "Content-Type": "application/json" },
|
|
12867
12869
|
body: JSON.stringify({ email: l, code: p, newPassword: A })
|
|
12868
12870
|
});
|
|
12869
|
-
if (!
|
|
12870
|
-
const
|
|
12871
|
-
throw new Error(
|
|
12871
|
+
if (!R.ok) {
|
|
12872
|
+
const x = await R.json().catch(() => ({}));
|
|
12873
|
+
throw new Error(x?.error || "Error al cambiar contraseña");
|
|
12872
12874
|
}
|
|
12873
12875
|
u("feedback");
|
|
12874
|
-
} catch (
|
|
12875
|
-
j(
|
|
12876
|
+
} catch (R) {
|
|
12877
|
+
j(R?.message || "Error inesperado");
|
|
12876
12878
|
} finally {
|
|
12877
12879
|
E(!1);
|
|
12878
12880
|
}
|
|
@@ -12910,51 +12912,51 @@ function t3({
|
|
|
12910
12912
|
t: h
|
|
12911
12913
|
}) {
|
|
12912
12914
|
return /* @__PURE__ */ g(K, { children: [
|
|
12913
|
-
/* @__PURE__ */ g("button", { onClick: m, className:
|
|
12915
|
+
/* @__PURE__ */ g("button", { onClick: m, className: k.google, children: [
|
|
12914
12916
|
/* @__PURE__ */ a(
|
|
12915
12917
|
"img",
|
|
12916
12918
|
{
|
|
12917
12919
|
src: "https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",
|
|
12918
12920
|
alt: "",
|
|
12919
|
-
className:
|
|
12921
|
+
className: k.googleIcon
|
|
12920
12922
|
}
|
|
12921
12923
|
),
|
|
12922
12924
|
/* @__PURE__ */ a("span", { children: h.GoogleButtonText })
|
|
12923
12925
|
] }),
|
|
12924
|
-
/* @__PURE__ */ a("div", { className:
|
|
12926
|
+
/* @__PURE__ */ a("div", { className: k.divider, children: /* @__PURE__ */ a("span", { children: "o" }) }),
|
|
12925
12927
|
/* @__PURE__ */ g(
|
|
12926
12928
|
"form",
|
|
12927
12929
|
{
|
|
12928
12930
|
onSubmit: u,
|
|
12929
|
-
className:
|
|
12931
|
+
className: k.form,
|
|
12930
12932
|
"data-error": o ? "true" : "false",
|
|
12931
12933
|
children: [
|
|
12932
|
-
/* @__PURE__ */ g("div", { className:
|
|
12933
|
-
/* @__PURE__ */ a("label", { className:
|
|
12934
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
12935
|
+
/* @__PURE__ */ a("label", { className: k.label, children: h.email }),
|
|
12934
12936
|
/* @__PURE__ */ a(
|
|
12935
12937
|
"input",
|
|
12936
12938
|
{
|
|
12937
12939
|
type: "email",
|
|
12938
12940
|
value: e,
|
|
12939
12941
|
onChange: (p) => i(p.target.value),
|
|
12940
|
-
className:
|
|
12942
|
+
className: k.input,
|
|
12941
12943
|
placeholder: ""
|
|
12942
12944
|
}
|
|
12943
12945
|
)
|
|
12944
12946
|
] }),
|
|
12945
|
-
/* @__PURE__ */ g("div", { className:
|
|
12946
|
-
/* @__PURE__ */ a("label", { className:
|
|
12947
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
12948
|
+
/* @__PURE__ */ a("label", { className: k.label, children: h.password }),
|
|
12947
12949
|
/* @__PURE__ */ a(
|
|
12948
12950
|
"input",
|
|
12949
12951
|
{
|
|
12950
12952
|
type: n ? "text" : "password",
|
|
12951
12953
|
value: t,
|
|
12952
12954
|
onChange: (p) => r(p.target.value),
|
|
12953
|
-
className:
|
|
12955
|
+
className: k.input,
|
|
12954
12956
|
placeholder: ""
|
|
12955
12957
|
}
|
|
12956
12958
|
),
|
|
12957
|
-
/* @__PURE__ */ g("div", { className:
|
|
12959
|
+
/* @__PURE__ */ g("div", { className: k.checkboxRow, children: [
|
|
12958
12960
|
/* @__PURE__ */ a(
|
|
12959
12961
|
"input",
|
|
12960
12962
|
{
|
|
@@ -12964,15 +12966,15 @@ function t3({
|
|
|
12964
12966
|
onChange: (p) => c(p.target.checked)
|
|
12965
12967
|
}
|
|
12966
12968
|
),
|
|
12967
|
-
/* @__PURE__ */ a("label", { htmlFor: "showPasswordLogin", className:
|
|
12969
|
+
/* @__PURE__ */ a("label", { htmlFor: "showPasswordLogin", className: k.checkboxLabel, children: h.showPassword })
|
|
12968
12970
|
] })
|
|
12969
12971
|
] }),
|
|
12970
|
-
o && /* @__PURE__ */ a("p", { className:
|
|
12971
|
-
/* @__PURE__ */ a("button", { type: "submit", className:
|
|
12972
|
+
o && /* @__PURE__ */ a("p", { className: k.error, children: o }),
|
|
12973
|
+
/* @__PURE__ */ a("button", { type: "submit", className: k.primary, disabled: s, children: s ? /* @__PURE__ */ a(nt, {}) : h.loginButtonText })
|
|
12972
12974
|
]
|
|
12973
12975
|
}
|
|
12974
12976
|
),
|
|
12975
|
-
/* @__PURE__ */ g("p", { className:
|
|
12977
|
+
/* @__PURE__ */ g("p", { className: k.switch, children: [
|
|
12976
12978
|
h.noAccountText,
|
|
12977
12979
|
/* @__PURE__ */ a("button", { type: "button", onClick: d, children: h.registerButtonText })
|
|
12978
12980
|
] }),
|
|
@@ -12980,7 +12982,7 @@ function t3({
|
|
|
12980
12982
|
"button",
|
|
12981
12983
|
{
|
|
12982
12984
|
type: "button",
|
|
12983
|
-
className:
|
|
12985
|
+
className: k.forgotPassword,
|
|
12984
12986
|
onClick: l,
|
|
12985
12987
|
children: h.forgotPasswordText
|
|
12986
12988
|
}
|
|
@@ -13000,12 +13002,12 @@ function n3({
|
|
|
13000
13002
|
"form",
|
|
13001
13003
|
{
|
|
13002
13004
|
onSubmit: o,
|
|
13003
|
-
className:
|
|
13005
|
+
className: k.form,
|
|
13004
13006
|
"data-error": s ? "true" : "false",
|
|
13005
13007
|
children: [
|
|
13006
|
-
/* @__PURE__ */ a("p", { className:
|
|
13007
|
-
/* @__PURE__ */ g("div", { className:
|
|
13008
|
-
/* @__PURE__ */ a("label", { className:
|
|
13008
|
+
/* @__PURE__ */ a("p", { className: k.message, children: r.forgotMessage }),
|
|
13009
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
13010
|
+
/* @__PURE__ */ a("label", { className: k.label, children: r.email }),
|
|
13009
13011
|
/* @__PURE__ */ a(
|
|
13010
13012
|
"input",
|
|
13011
13013
|
{
|
|
@@ -13013,14 +13015,14 @@ function n3({
|
|
|
13013
13015
|
value: e,
|
|
13014
13016
|
name: "email",
|
|
13015
13017
|
onChange: (c) => t(c.target.value),
|
|
13016
|
-
className:
|
|
13018
|
+
className: k.input,
|
|
13017
13019
|
placeholder: ""
|
|
13018
13020
|
}
|
|
13019
13021
|
)
|
|
13020
13022
|
] }),
|
|
13021
|
-
s && /* @__PURE__ */ a("p", { className:
|
|
13022
|
-
/* @__PURE__ */ a("button", { type: "submit", className:
|
|
13023
|
-
/* @__PURE__ */ a("p", { className:
|
|
13023
|
+
s && /* @__PURE__ */ a("p", { className: k.error, children: s }),
|
|
13024
|
+
/* @__PURE__ */ a("button", { type: "submit", className: k.primary, disabled: n, children: n ? /* @__PURE__ */ a(nt, {}) : r.sendCodeButton }),
|
|
13025
|
+
/* @__PURE__ */ a("p", { className: k.switch, children: /* @__PURE__ */ a("button", { type: "button", onClick: i, children: r.backButton }) })
|
|
13024
13026
|
]
|
|
13025
13027
|
}
|
|
13026
13028
|
);
|
|
@@ -13046,58 +13048,58 @@ function a3({
|
|
|
13046
13048
|
"form",
|
|
13047
13049
|
{
|
|
13048
13050
|
onSubmit: m,
|
|
13049
|
-
className:
|
|
13051
|
+
className: k.form,
|
|
13050
13052
|
"data-error": r ? "true" : "false",
|
|
13051
13053
|
children: [
|
|
13052
|
-
/* @__PURE__ */ a("p", { className:
|
|
13053
|
-
/* @__PURE__ */ g("ul", { className:
|
|
13054
|
-
/* @__PURE__ */ g("div", { className:
|
|
13055
|
-
/* @__PURE__ */ a("label", { className:
|
|
13054
|
+
/* @__PURE__ */ a("p", { className: k.message, children: f }),
|
|
13055
|
+
/* @__PURE__ */ g("ul", { className: k.formUl, children: [
|
|
13056
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
13057
|
+
/* @__PURE__ */ a("label", { className: k.label, children: p.verificationCodeLabel }),
|
|
13056
13058
|
/* @__PURE__ */ a(
|
|
13057
13059
|
"input",
|
|
13058
13060
|
{
|
|
13059
13061
|
type: "text",
|
|
13060
13062
|
value: t,
|
|
13061
13063
|
onChange: (A) => c(A.target.value),
|
|
13062
|
-
className:
|
|
13064
|
+
className: k.input,
|
|
13063
13065
|
placeholder: ""
|
|
13064
13066
|
}
|
|
13065
13067
|
)
|
|
13066
13068
|
] }),
|
|
13067
|
-
/* @__PURE__ */ g("div", { className:
|
|
13068
|
-
/* @__PURE__ */ a("label", { className:
|
|
13069
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
13070
|
+
/* @__PURE__ */ a("label", { className: k.label, children: p.newPasswordLabel }),
|
|
13069
13071
|
/* @__PURE__ */ a(
|
|
13070
13072
|
"input",
|
|
13071
13073
|
{
|
|
13072
13074
|
type: o ? "text" : "password",
|
|
13073
13075
|
value: n,
|
|
13074
13076
|
onChange: (A) => u(A.target.value),
|
|
13075
|
-
className:
|
|
13077
|
+
className: k.input,
|
|
13076
13078
|
placeholder: "",
|
|
13077
13079
|
name: "password"
|
|
13078
13080
|
}
|
|
13079
13081
|
),
|
|
13080
|
-
/* @__PURE__ */ a("div", { className:
|
|
13082
|
+
/* @__PURE__ */ a("div", { className: k.passwordChecker, children: ei.map((A, w) => {
|
|
13081
13083
|
const v = A.test(n);
|
|
13082
|
-
return /* @__PURE__ */ g("div", { className: v ?
|
|
13084
|
+
return /* @__PURE__ */ g("div", { className: v ? k.valid : k.invalid, children: [
|
|
13083
13085
|
/* @__PURE__ */ a("div", { children: v ? "✔" : "○" }),
|
|
13084
13086
|
/* @__PURE__ */ a("div", { children: A.label })
|
|
13085
13087
|
] }, w);
|
|
13086
13088
|
}) })
|
|
13087
13089
|
] }),
|
|
13088
|
-
/* @__PURE__ */ g("div", { className:
|
|
13089
|
-
/* @__PURE__ */ a("label", { className:
|
|
13090
|
+
/* @__PURE__ */ g("div", { className: k.field, children: [
|
|
13091
|
+
/* @__PURE__ */ a("label", { className: k.label, children: p.confirmPasswordLabel }),
|
|
13090
13092
|
/* @__PURE__ */ a(
|
|
13091
13093
|
"input",
|
|
13092
13094
|
{
|
|
13093
13095
|
type: o ? "text" : "password",
|
|
13094
13096
|
value: s,
|
|
13095
13097
|
onChange: (A) => l(A.target.value),
|
|
13096
|
-
className:
|
|
13098
|
+
className: k.input,
|
|
13097
13099
|
placeholder: ""
|
|
13098
13100
|
}
|
|
13099
13101
|
),
|
|
13100
|
-
/* @__PURE__ */ g("div", { className:
|
|
13102
|
+
/* @__PURE__ */ g("div", { className: k.checkboxRow, children: [
|
|
13101
13103
|
/* @__PURE__ */ a(
|
|
13102
13104
|
"input",
|
|
13103
13105
|
{
|
|
@@ -13111,25 +13113,25 @@ function a3({
|
|
|
13111
13113
|
"label",
|
|
13112
13114
|
{
|
|
13113
13115
|
htmlFor: "showPasswordForgot",
|
|
13114
|
-
className:
|
|
13116
|
+
className: k.checkboxLabel,
|
|
13115
13117
|
children: p.showPasswordsLabel
|
|
13116
13118
|
}
|
|
13117
13119
|
)
|
|
13118
13120
|
] })
|
|
13119
13121
|
] })
|
|
13120
13122
|
] }),
|
|
13121
|
-
r && /* @__PURE__ */ a("p", { className:
|
|
13123
|
+
r && /* @__PURE__ */ a("p", { className: k.error, children: r }),
|
|
13122
13124
|
/* @__PURE__ */ a(
|
|
13123
13125
|
"button",
|
|
13124
13126
|
{
|
|
13125
13127
|
type: "submit",
|
|
13126
|
-
className:
|
|
13128
|
+
className: k.primary,
|
|
13127
13129
|
style: { maxWidth: i ? "revert-layer" : "fit-content" },
|
|
13128
13130
|
disabled: i,
|
|
13129
13131
|
children: i ? /* @__PURE__ */ a(nt, {}) : p.changePasswordButton
|
|
13130
13132
|
}
|
|
13131
13133
|
),
|
|
13132
|
-
/* @__PURE__ */ a("p", { className:
|
|
13134
|
+
/* @__PURE__ */ a("p", { className: k.switch, children: /* @__PURE__ */ a("button", { type: "button", onClick: h, children: p.backButton }) })
|
|
13133
13135
|
]
|
|
13134
13136
|
}
|
|
13135
13137
|
);
|
|
@@ -13138,9 +13140,9 @@ function s3({
|
|
|
13138
13140
|
onBackToLogin: e,
|
|
13139
13141
|
t
|
|
13140
13142
|
}) {
|
|
13141
|
-
return /* @__PURE__ */ g("div", { className:
|
|
13142
|
-
/* @__PURE__ */ a("p", { className:
|
|
13143
|
-
/* @__PURE__ */ a("button", { type: "button", className:
|
|
13143
|
+
return /* @__PURE__ */ g("div", { className: k.form, children: [
|
|
13144
|
+
/* @__PURE__ */ a("p", { className: k.success, children: t.feedbackSuccessMessage }),
|
|
13145
|
+
/* @__PURE__ */ a("button", { type: "button", className: k.primary, onClick: e, children: t.loginButtonText })
|
|
13144
13146
|
] });
|
|
13145
13147
|
}
|
|
13146
13148
|
function o3({
|
|
@@ -13155,7 +13157,7 @@ function o3({
|
|
|
13155
13157
|
return /* @__PURE__ */ a(
|
|
13156
13158
|
"div",
|
|
13157
13159
|
{
|
|
13158
|
-
className:
|
|
13160
|
+
className: k.overlay,
|
|
13159
13161
|
role: "dialog",
|
|
13160
13162
|
"aria-modal": "true",
|
|
13161
13163
|
id: "pop-overlay",
|
|
@@ -13163,14 +13165,14 @@ function o3({
|
|
|
13163
13165
|
const l = u.target;
|
|
13164
13166
|
l && l.id === "pop-overlay" && t();
|
|
13165
13167
|
},
|
|
13166
|
-
children: /* @__PURE__ */ g("div", { className:
|
|
13167
|
-
/* @__PURE__ */ g("header", { className:
|
|
13168
|
-
/* @__PURE__ */ a("div", { className:
|
|
13168
|
+
children: /* @__PURE__ */ g("div", { className: k.card, children: [
|
|
13169
|
+
/* @__PURE__ */ g("header", { className: k.header, children: [
|
|
13170
|
+
/* @__PURE__ */ a("div", { className: k.logo, children: s ? s() : null }),
|
|
13169
13171
|
/* @__PURE__ */ a(
|
|
13170
13172
|
"button",
|
|
13171
13173
|
{
|
|
13172
13174
|
onClick: t,
|
|
13173
|
-
className:
|
|
13175
|
+
className: k.close,
|
|
13174
13176
|
"aria-label": "Cerrar",
|
|
13175
13177
|
children: /* @__PURE__ */ a(_t, {})
|
|
13176
13178
|
}
|
|
@@ -13220,7 +13222,7 @@ const i3 = "_content_ghncj_1", r3 = "_videoContent_ghncj_17", Fs = {
|
|
|
13220
13222
|
const { size: t = "longer", video: n } = e, s = n.main.image.sizes[0]?.url ?? "";
|
|
13221
13223
|
return /* @__PURE__ */ a("figure", { className: Ht.figure, children: /* @__PURE__ */ g("span", { className: Ht.backdrop, children: [
|
|
13222
13224
|
/* @__PURE__ */ a("span", { className: Ht.backDropAux }),
|
|
13223
|
-
/* @__PURE__ */ a(
|
|
13225
|
+
/* @__PURE__ */ a(P, { href: n.info.link.url, target: n.info.link.target, children: /* @__PURE__ */ g("div", { children: [
|
|
13224
13226
|
n.main.image.sizes.map(async (o, i) => o.width >= 580 ? /* @__PURE__ */ a(
|
|
13225
13227
|
"source",
|
|
13226
13228
|
{
|
|
@@ -13275,7 +13277,7 @@ const i3 = "_content_ghncj_1", r3 = "_videoContent_ghncj_17", Fs = {
|
|
|
13275
13277
|
}, k3 = (e) => {
|
|
13276
13278
|
const { video: t } = e, n = Ma();
|
|
13277
13279
|
return /* @__PURE__ */ a(
|
|
13278
|
-
|
|
13280
|
+
P,
|
|
13279
13281
|
{
|
|
13280
13282
|
href: t.info.link.url ? t.info.link.url : void 0,
|
|
13281
13283
|
target: t.info.link.target,
|
|
@@ -13302,7 +13304,7 @@ const i3 = "_content_ghncj_1", r3 = "_videoContent_ghncj_17", Fs = {
|
|
|
13302
13304
|
/* @__PURE__ */ a(k3, { video: e.video }),
|
|
13303
13305
|
/* @__PURE__ */ g("div", { className: ft.articleSection, children: [
|
|
13304
13306
|
/* @__PURE__ */ a(
|
|
13305
|
-
|
|
13307
|
+
P,
|
|
13306
13308
|
{
|
|
13307
13309
|
className: ft.title,
|
|
13308
13310
|
href: e.video.info.link.url,
|
|
@@ -13615,7 +13617,7 @@ const Z5 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13615
13617
|
style: { order: r },
|
|
13616
13618
|
children: /* @__PURE__ */ g("section", { className: zt.content, children: [
|
|
13617
13619
|
/* @__PURE__ */ a(
|
|
13618
|
-
|
|
13620
|
+
P,
|
|
13619
13621
|
{
|
|
13620
13622
|
title: c?.title?.section,
|
|
13621
13623
|
href: l?.link?.url ?? "invalidUrl",
|
|
@@ -13670,7 +13672,7 @@ const Z5 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13670
13672
|
const d = o.tags[0], m = d.name;
|
|
13671
13673
|
return /* @__PURE__ */ g("h3", { className: se.sectionDescriptionContainer, children: [
|
|
13672
13674
|
d.approved ? /* @__PURE__ */ a(
|
|
13673
|
-
|
|
13675
|
+
P,
|
|
13674
13676
|
{
|
|
13675
13677
|
"aria-label": m,
|
|
13676
13678
|
block_subPublication: e.DATE_CONFIG?.SUB_PUBLICATION_PREFIX_IN_ROUTES?.tema,
|
|
@@ -13685,7 +13687,7 @@ const Z5 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13685
13687
|
const d = i.section.name;
|
|
13686
13688
|
return /* @__PURE__ */ g("h3", { className: se.sectionDescriptionContainer, children: [
|
|
13687
13689
|
/* @__PURE__ */ a(
|
|
13688
|
-
|
|
13690
|
+
P,
|
|
13689
13691
|
{
|
|
13690
13692
|
"aria-label": d,
|
|
13691
13693
|
className: se.sectionDescription,
|
|
@@ -13702,7 +13704,7 @@ const Z5 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13702
13704
|
t && /* @__PURE__ */ a(R3, { className: se.dotStyles }),
|
|
13703
13705
|
/* @__PURE__ */ a(l, {}),
|
|
13704
13706
|
/* @__PURE__ */ a("h2", { className: se.articule, children: /* @__PURE__ */ a(
|
|
13705
|
-
|
|
13707
|
+
P,
|
|
13706
13708
|
{
|
|
13707
13709
|
className: se.linkStyled,
|
|
13708
13710
|
style: {
|
|
@@ -13727,7 +13729,7 @@ const Z5 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13727
13729
|
}
|
|
13728
13730
|
),
|
|
13729
13731
|
(e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
13730
|
-
|
|
13732
|
+
P,
|
|
13731
13733
|
{
|
|
13732
13734
|
block_subPublication: e.DATE_CONFIG?.SUB_PUBLICATION_PREFIX_IN_ROUTES?.autor,
|
|
13733
13735
|
className: se.correspondentLink,
|
|
@@ -13998,9 +14000,9 @@ function s9() {
|
|
|
13998
14000
|
}
|
|
13999
14001
|
}
|
|
14000
14002
|
}
|
|
14001
|
-
var y = u, E = l,
|
|
14003
|
+
var y = u, E = l, U = c, j = r, X = t, Q = d, G = s, J = f, ae = p, R = n, x = i, T = o, q = m, L = !1;
|
|
14002
14004
|
function F(O) {
|
|
14003
|
-
return
|
|
14005
|
+
return L || (L = !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.")), b(O) || I(O) === u;
|
|
14004
14006
|
}
|
|
14005
14007
|
function b(O) {
|
|
14006
14008
|
return I(O) === l;
|
|
@@ -14008,13 +14010,13 @@ function s9() {
|
|
|
14008
14010
|
function N(O) {
|
|
14009
14011
|
return I(O) === c;
|
|
14010
14012
|
}
|
|
14011
|
-
function
|
|
14013
|
+
function B(O) {
|
|
14012
14014
|
return I(O) === r;
|
|
14013
14015
|
}
|
|
14014
14016
|
function D(O) {
|
|
14015
14017
|
return typeof O == "object" && O !== null && O.$$typeof === t;
|
|
14016
14018
|
}
|
|
14017
|
-
function
|
|
14019
|
+
function M(O) {
|
|
14018
14020
|
return I(O) === d;
|
|
14019
14021
|
}
|
|
14020
14022
|
function H(O) {
|
|
@@ -14038,7 +14040,7 @@ function s9() {
|
|
|
14038
14040
|
function de(O) {
|
|
14039
14041
|
return I(O) === m;
|
|
14040
14042
|
}
|
|
14041
|
-
ie.AsyncMode = y, ie.ConcurrentMode = E, ie.ContextConsumer =
|
|
14043
|
+
ie.AsyncMode = y, ie.ConcurrentMode = E, ie.ContextConsumer = U, ie.ContextProvider = j, ie.Element = X, ie.ForwardRef = Q, ie.Fragment = G, ie.Lazy = J, ie.Memo = ae, ie.Portal = R, ie.Profiler = x, ie.StrictMode = T, ie.Suspense = q, ie.isAsyncMode = F, ie.isConcurrentMode = b, ie.isContextConsumer = N, ie.isContextProvider = B, ie.isElement = D, ie.isForwardRef = M, ie.isFragment = H, ie.isLazy = z, ie.isMemo = V, ie.isPortal = ee, ie.isProfiler = ne, ie.isStrictMode = W, ie.isSuspense = de, ie.isValidElementType = C, ie.typeOf = I;
|
|
14042
14044
|
})()), ie;
|
|
14043
14045
|
}
|
|
14044
14046
|
var Ys;
|
|
@@ -14191,7 +14193,7 @@ function r9() {
|
|
|
14191
14193
|
instanceOf: E,
|
|
14192
14194
|
node: Q(),
|
|
14193
14195
|
objectOf: j,
|
|
14194
|
-
oneOf:
|
|
14196
|
+
oneOf: U,
|
|
14195
14197
|
oneOfType: X,
|
|
14196
14198
|
shape: J,
|
|
14197
14199
|
exact: ae
|
|
@@ -14205,7 +14207,7 @@ function r9() {
|
|
|
14205
14207
|
A.prototype = Error.prototype;
|
|
14206
14208
|
function w(b) {
|
|
14207
14209
|
if (process.env.NODE_ENV !== "production")
|
|
14208
|
-
var N = {},
|
|
14210
|
+
var N = {}, B = 0;
|
|
14209
14211
|
function D(H, z, V, ee, ne, W, de) {
|
|
14210
14212
|
if (ee = ee || h, W = W || V, de !== n) {
|
|
14211
14213
|
if (u) {
|
|
@@ -14216,23 +14218,23 @@ function r9() {
|
|
|
14216
14218
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
14217
14219
|
var Ce = ee + ":" + V;
|
|
14218
14220
|
!N[Ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
14219
|
-
|
|
14221
|
+
B < 3 && (i(
|
|
14220
14222
|
"You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + ee + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
14221
|
-
), N[Ce] = !0,
|
|
14223
|
+
), N[Ce] = !0, B++);
|
|
14222
14224
|
}
|
|
14223
14225
|
}
|
|
14224
14226
|
return z[V] == null ? H ? z[V] === null ? new A("The " + ne + " `" + W + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new A("The " + ne + " `" + W + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : b(z, V, ee, ne, W);
|
|
14225
14227
|
}
|
|
14226
|
-
var
|
|
14227
|
-
return
|
|
14228
|
+
var M = D.bind(null, !1);
|
|
14229
|
+
return M.isRequired = D.bind(null, !0), M;
|
|
14228
14230
|
}
|
|
14229
14231
|
function v(b) {
|
|
14230
|
-
function N(
|
|
14231
|
-
var ee =
|
|
14232
|
+
function N(B, D, M, H, z, V) {
|
|
14233
|
+
var ee = B[D], ne = T(ee);
|
|
14232
14234
|
if (ne !== b) {
|
|
14233
|
-
var W =
|
|
14235
|
+
var W = q(ee);
|
|
14234
14236
|
return new A(
|
|
14235
|
-
"Invalid " + H + " `" + z + "` of type " + ("`" + W + "` supplied to `" +
|
|
14237
|
+
"Invalid " + H + " `" + z + "` of type " + ("`" + W + "` supplied to `" + M + "`, expected ") + ("`" + b + "`."),
|
|
14236
14238
|
{ expectedType: b }
|
|
14237
14239
|
);
|
|
14238
14240
|
}
|
|
@@ -14244,16 +14246,16 @@ function r9() {
|
|
|
14244
14246
|
return w(r);
|
|
14245
14247
|
}
|
|
14246
14248
|
function C(b) {
|
|
14247
|
-
function N(
|
|
14249
|
+
function N(B, D, M, H, z) {
|
|
14248
14250
|
if (typeof b != "function")
|
|
14249
|
-
return new A("Property `" + z + "` of component `" +
|
|
14250
|
-
var V =
|
|
14251
|
+
return new A("Property `" + z + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
|
|
14252
|
+
var V = B[D];
|
|
14251
14253
|
if (!Array.isArray(V)) {
|
|
14252
14254
|
var ee = T(V);
|
|
14253
|
-
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14255
|
+
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + M + "`, expected an array."));
|
|
14254
14256
|
}
|
|
14255
14257
|
for (var ne = 0; ne < V.length; ne++) {
|
|
14256
|
-
var W = b(V, ne,
|
|
14258
|
+
var W = b(V, ne, M, H, z + "[" + ne + "]", n);
|
|
14257
14259
|
if (W instanceof Error)
|
|
14258
14260
|
return W;
|
|
14259
14261
|
}
|
|
@@ -14262,64 +14264,64 @@ function r9() {
|
|
|
14262
14264
|
return w(N);
|
|
14263
14265
|
}
|
|
14264
14266
|
function I() {
|
|
14265
|
-
function b(N,
|
|
14266
|
-
var z = N[
|
|
14267
|
+
function b(N, B, D, M, H) {
|
|
14268
|
+
var z = N[B];
|
|
14267
14269
|
if (!c(z)) {
|
|
14268
14270
|
var V = T(z);
|
|
14269
|
-
return new A("Invalid " +
|
|
14271
|
+
return new A("Invalid " + M + " `" + H + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
14270
14272
|
}
|
|
14271
14273
|
return null;
|
|
14272
14274
|
}
|
|
14273
14275
|
return w(b);
|
|
14274
14276
|
}
|
|
14275
14277
|
function y() {
|
|
14276
|
-
function b(N,
|
|
14277
|
-
var z = N[
|
|
14278
|
+
function b(N, B, D, M, H) {
|
|
14279
|
+
var z = N[B];
|
|
14278
14280
|
if (!e.isValidElementType(z)) {
|
|
14279
14281
|
var V = T(z);
|
|
14280
|
-
return new A("Invalid " +
|
|
14282
|
+
return new A("Invalid " + M + " `" + H + "` of type " + ("`" + V + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
14281
14283
|
}
|
|
14282
14284
|
return null;
|
|
14283
14285
|
}
|
|
14284
14286
|
return w(b);
|
|
14285
14287
|
}
|
|
14286
14288
|
function E(b) {
|
|
14287
|
-
function N(
|
|
14288
|
-
if (!(
|
|
14289
|
-
var V = b.name || h, ee = F(
|
|
14290
|
-
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14289
|
+
function N(B, D, M, H, z) {
|
|
14290
|
+
if (!(B[D] instanceof b)) {
|
|
14291
|
+
var V = b.name || h, ee = F(B[D]);
|
|
14292
|
+
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + M + "`, expected ") + ("instance of `" + V + "`."));
|
|
14291
14293
|
}
|
|
14292
14294
|
return null;
|
|
14293
14295
|
}
|
|
14294
14296
|
return w(N);
|
|
14295
14297
|
}
|
|
14296
|
-
function
|
|
14298
|
+
function U(b) {
|
|
14297
14299
|
if (!Array.isArray(b))
|
|
14298
14300
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
14299
14301
|
"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])."
|
|
14300
14302
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
14301
|
-
function N(
|
|
14302
|
-
for (var V =
|
|
14303
|
+
function N(B, D, M, H, z) {
|
|
14304
|
+
for (var V = B[D], ee = 0; ee < b.length; ee++)
|
|
14303
14305
|
if (f(V, b[ee]))
|
|
14304
14306
|
return null;
|
|
14305
14307
|
var ne = JSON.stringify(b, function(de, O) {
|
|
14306
|
-
var Ce =
|
|
14308
|
+
var Ce = q(O);
|
|
14307
14309
|
return Ce === "symbol" ? String(O) : O;
|
|
14308
14310
|
});
|
|
14309
|
-
return new A("Invalid " + H + " `" + z + "` of value `" + String(V) + "` " + ("supplied to `" +
|
|
14311
|
+
return new A("Invalid " + H + " `" + z + "` of value `" + String(V) + "` " + ("supplied to `" + M + "`, expected one of " + ne + "."));
|
|
14310
14312
|
}
|
|
14311
14313
|
return w(N);
|
|
14312
14314
|
}
|
|
14313
14315
|
function j(b) {
|
|
14314
|
-
function N(
|
|
14316
|
+
function N(B, D, M, H, z) {
|
|
14315
14317
|
if (typeof b != "function")
|
|
14316
|
-
return new A("Property `" + z + "` of component `" +
|
|
14317
|
-
var V =
|
|
14318
|
+
return new A("Property `" + z + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
|
|
14319
|
+
var V = B[D], ee = T(V);
|
|
14318
14320
|
if (ee !== "object")
|
|
14319
|
-
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14321
|
+
return new A("Invalid " + H + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + M + "`, expected an object."));
|
|
14320
14322
|
for (var ne in V)
|
|
14321
14323
|
if (s(V, ne)) {
|
|
14322
|
-
var W = b(V, ne,
|
|
14324
|
+
var W = b(V, ne, M, H, z + "." + ne, n);
|
|
14323
14325
|
if (W instanceof Error)
|
|
14324
14326
|
return W;
|
|
14325
14327
|
}
|
|
@@ -14331,15 +14333,15 @@ function r9() {
|
|
|
14331
14333
|
if (!Array.isArray(b))
|
|
14332
14334
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
14333
14335
|
for (var N = 0; N < b.length; N++) {
|
|
14334
|
-
var
|
|
14335
|
-
if (typeof
|
|
14336
|
+
var B = b[N];
|
|
14337
|
+
if (typeof B != "function")
|
|
14336
14338
|
return i(
|
|
14337
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
14339
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(B) + " at index " + N + "."
|
|
14338
14340
|
), r;
|
|
14339
14341
|
}
|
|
14340
|
-
function D(
|
|
14342
|
+
function D(M, H, z, V, ee) {
|
|
14341
14343
|
for (var ne = [], W = 0; W < b.length; W++) {
|
|
14342
|
-
var de = b[W], O = de(
|
|
14344
|
+
var de = b[W], O = de(M, H, z, V, ee, n);
|
|
14343
14345
|
if (O == null)
|
|
14344
14346
|
return null;
|
|
14345
14347
|
O.data && s(O.data, "expectedType") && ne.push(O.data.expectedType);
|
|
@@ -14350,26 +14352,26 @@ function r9() {
|
|
|
14350
14352
|
return w(D);
|
|
14351
14353
|
}
|
|
14352
14354
|
function Q() {
|
|
14353
|
-
function b(N,
|
|
14354
|
-
return
|
|
14355
|
+
function b(N, B, D, M, H) {
|
|
14356
|
+
return R(N[B]) ? null : new A("Invalid " + M + " `" + H + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
14355
14357
|
}
|
|
14356
14358
|
return w(b);
|
|
14357
14359
|
}
|
|
14358
|
-
function G(b, N,
|
|
14360
|
+
function G(b, N, B, D, M) {
|
|
14359
14361
|
return new A(
|
|
14360
|
-
(b || "React class") + ": " + N + " type `" +
|
|
14362
|
+
(b || "React class") + ": " + N + " type `" + B + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
|
|
14361
14363
|
);
|
|
14362
14364
|
}
|
|
14363
14365
|
function J(b) {
|
|
14364
|
-
function N(
|
|
14365
|
-
var V =
|
|
14366
|
+
function N(B, D, M, H, z) {
|
|
14367
|
+
var V = B[D], ee = T(V);
|
|
14366
14368
|
if (ee !== "object")
|
|
14367
|
-
return new A("Invalid " + H + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
14369
|
+
return new A("Invalid " + H + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
14368
14370
|
for (var ne in b) {
|
|
14369
14371
|
var W = b[ne];
|
|
14370
14372
|
if (typeof W != "function")
|
|
14371
|
-
return G(
|
|
14372
|
-
var de = W(V, ne,
|
|
14373
|
+
return G(M, H, z, ne, q(W));
|
|
14374
|
+
var de = W(V, ne, M, H, z + "." + ne, n);
|
|
14373
14375
|
if (de)
|
|
14374
14376
|
return de;
|
|
14375
14377
|
}
|
|
@@ -14378,21 +14380,21 @@ function r9() {
|
|
|
14378
14380
|
return w(N);
|
|
14379
14381
|
}
|
|
14380
14382
|
function ae(b) {
|
|
14381
|
-
function N(
|
|
14382
|
-
var V =
|
|
14383
|
+
function N(B, D, M, H, z) {
|
|
14384
|
+
var V = B[D], ee = T(V);
|
|
14383
14385
|
if (ee !== "object")
|
|
14384
|
-
return new A("Invalid " + H + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
14385
|
-
var ne = t({},
|
|
14386
|
+
return new A("Invalid " + H + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
14387
|
+
var ne = t({}, B[D], b);
|
|
14386
14388
|
for (var W in ne) {
|
|
14387
14389
|
var de = b[W];
|
|
14388
14390
|
if (s(b, W) && typeof de != "function")
|
|
14389
|
-
return G(
|
|
14391
|
+
return G(M, H, z, W, q(de));
|
|
14390
14392
|
if (!de)
|
|
14391
14393
|
return new A(
|
|
14392
|
-
"Invalid " + H + " `" + z + "` key `" + W + "` supplied to `" +
|
|
14394
|
+
"Invalid " + H + " `" + z + "` key `" + W + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(B[D], null, " ") + `
|
|
14393
14395
|
Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
14394
14396
|
);
|
|
14395
|
-
var O = de(V, W,
|
|
14397
|
+
var O = de(V, W, M, H, z + "." + W, n);
|
|
14396
14398
|
if (O)
|
|
14397
14399
|
return O;
|
|
14398
14400
|
}
|
|
@@ -14400,7 +14402,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
14400
14402
|
}
|
|
14401
14403
|
return w(N);
|
|
14402
14404
|
}
|
|
14403
|
-
function
|
|
14405
|
+
function R(b) {
|
|
14404
14406
|
switch (typeof b) {
|
|
14405
14407
|
case "number":
|
|
14406
14408
|
case "string":
|
|
@@ -14410,20 +14412,20 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
14410
14412
|
return !b;
|
|
14411
14413
|
case "object":
|
|
14412
14414
|
if (Array.isArray(b))
|
|
14413
|
-
return b.every(
|
|
14415
|
+
return b.every(R);
|
|
14414
14416
|
if (b === null || c(b))
|
|
14415
14417
|
return !0;
|
|
14416
14418
|
var N = m(b);
|
|
14417
14419
|
if (N) {
|
|
14418
|
-
var
|
|
14420
|
+
var B = N.call(b), D;
|
|
14419
14421
|
if (N !== b.entries) {
|
|
14420
|
-
for (; !(D =
|
|
14421
|
-
if (!
|
|
14422
|
+
for (; !(D = B.next()).done; )
|
|
14423
|
+
if (!R(D.value))
|
|
14422
14424
|
return !1;
|
|
14423
14425
|
} else
|
|
14424
|
-
for (; !(D =
|
|
14425
|
-
var
|
|
14426
|
-
if (
|
|
14426
|
+
for (; !(D = B.next()).done; ) {
|
|
14427
|
+
var M = D.value;
|
|
14428
|
+
if (M && !R(M[1]))
|
|
14427
14429
|
return !1;
|
|
14428
14430
|
}
|
|
14429
14431
|
} else
|
|
@@ -14433,14 +14435,14 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
14433
14435
|
return !1;
|
|
14434
14436
|
}
|
|
14435
14437
|
}
|
|
14436
|
-
function
|
|
14438
|
+
function x(b, N) {
|
|
14437
14439
|
return b === "symbol" ? !0 : N ? N["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && N instanceof Symbol : !1;
|
|
14438
14440
|
}
|
|
14439
14441
|
function T(b) {
|
|
14440
14442
|
var N = typeof b;
|
|
14441
|
-
return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" :
|
|
14443
|
+
return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : x(N, b) ? "symbol" : N;
|
|
14442
14444
|
}
|
|
14443
|
-
function
|
|
14445
|
+
function q(b) {
|
|
14444
14446
|
if (typeof b > "u" || b === null)
|
|
14445
14447
|
return "" + b;
|
|
14446
14448
|
var N = T(b);
|
|
@@ -14452,8 +14454,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
14452
14454
|
}
|
|
14453
14455
|
return N;
|
|
14454
14456
|
}
|
|
14455
|
-
function
|
|
14456
|
-
var N =
|
|
14457
|
+
function L(b) {
|
|
14458
|
+
var N = q(b);
|
|
14457
14459
|
switch (N) {
|
|
14458
14460
|
case "array":
|
|
14459
14461
|
case "object":
|
|
@@ -14713,9 +14715,9 @@ function f9() {
|
|
|
14713
14715
|
for (var C = r(f), I = r(A), y = 0; y < S.length; ++y) {
|
|
14714
14716
|
var E = S[y];
|
|
14715
14717
|
if (!n[E] && !(w && w[E]) && !(I && I[E]) && !(C && C[E])) {
|
|
14716
|
-
var
|
|
14718
|
+
var U = d(A, E);
|
|
14717
14719
|
try {
|
|
14718
|
-
c(f, E,
|
|
14720
|
+
c(f, E, U);
|
|
14719
14721
|
} catch {
|
|
14720
14722
|
}
|
|
14721
14723
|
}
|
|
@@ -14784,14 +14786,14 @@ function b9(e, t) {
|
|
|
14784
14786
|
this.asyncScriptLoaderHandleLoad(S);
|
|
14785
14787
|
return;
|
|
14786
14788
|
}
|
|
14787
|
-
S.observers[p] = function(
|
|
14788
|
-
return m.asyncScriptLoaderHandleLoad(
|
|
14789
|
+
S.observers[p] = function(U) {
|
|
14790
|
+
return m.asyncScriptLoaderHandleLoad(U);
|
|
14789
14791
|
};
|
|
14790
14792
|
return;
|
|
14791
14793
|
}
|
|
14792
14794
|
var C = {};
|
|
14793
|
-
C[p] = function(
|
|
14794
|
-
return m.asyncScriptLoaderHandleLoad(
|
|
14795
|
+
C[p] = function(U) {
|
|
14796
|
+
return m.asyncScriptLoaderHandleLoad(U);
|
|
14795
14797
|
}, Me[h] = {
|
|
14796
14798
|
loaded: !1,
|
|
14797
14799
|
observers: C
|
|
@@ -14811,14 +14813,14 @@ function b9(e, t) {
|
|
|
14811
14813
|
w && typeof window < "u" && (window[w] = function() {
|
|
14812
14814
|
return m.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
14813
14815
|
}), I.onload = function() {
|
|
14814
|
-
var
|
|
14815
|
-
|
|
14816
|
-
return w ? !1 : (j(
|
|
14816
|
+
var U = Me[h];
|
|
14817
|
+
U && (U.loaded = !0, E(function(j) {
|
|
14818
|
+
return w ? !1 : (j(U), !0);
|
|
14817
14819
|
}));
|
|
14818
14820
|
}, I.onerror = function() {
|
|
14819
|
-
var
|
|
14820
|
-
|
|
14821
|
-
return j(
|
|
14821
|
+
var U = Me[h];
|
|
14822
|
+
U && (U.errored = !0, E(function(j) {
|
|
14823
|
+
return j(U), !0;
|
|
14822
14824
|
}));
|
|
14823
14825
|
}, document.body.appendChild(I);
|
|
14824
14826
|
}, l.componentWillUnmount = function() {
|
|
@@ -15474,7 +15476,7 @@ const E9 = (e, t) => {
|
|
|
15474
15476
|
const y = d.reply[d.reply.length - 1]?.id;
|
|
15475
15477
|
p(!0);
|
|
15476
15478
|
try {
|
|
15477
|
-
const
|
|
15479
|
+
const U = await $a({
|
|
15478
15480
|
publication: f ?? "",
|
|
15479
15481
|
path: n ?? "",
|
|
15480
15482
|
size: 2,
|
|
@@ -15485,7 +15487,7 @@ const E9 = (e, t) => {
|
|
|
15485
15487
|
apiToken: A ?? "",
|
|
15486
15488
|
API_ENV: r
|
|
15487
15489
|
});
|
|
15488
|
-
p(!1), m({ morereply:
|
|
15490
|
+
p(!1), m({ morereply: U.morecomment, reply: [...d.reply, ...U.comments] });
|
|
15489
15491
|
} catch (E) {
|
|
15490
15492
|
throw p(!1), new Error(`Error al obtener comentarios: ${E}`);
|
|
15491
15493
|
}
|
|
@@ -15569,6 +15571,7 @@ const E9 = (e, t) => {
|
|
|
15569
15571
|
backButton: "Volver",
|
|
15570
15572
|
GoogleButtonText: "Continuar con GOOGLE",
|
|
15571
15573
|
noAccountText: "¿No tienes cuenta?",
|
|
15574
|
+
alreadyHasAccountText: "¿Ya tienes cuenta?",
|
|
15572
15575
|
registerButtonText: "Registrate",
|
|
15573
15576
|
forgotPasswordText: "Olvidé mi contraseña",
|
|
15574
15577
|
forgotMessage: "Ingrese su dirección de correo electrónico. Le enviaremos un mensaje con un código para restablecer la contraseña.",
|
|
@@ -15587,62 +15590,70 @@ function P9({
|
|
|
15587
15590
|
icon: n,
|
|
15588
15591
|
texts: s
|
|
15589
15592
|
}) {
|
|
15590
|
-
const o = { ...B9, ...s?.comentarios }
|
|
15593
|
+
const o = { ...B9, ...s?.comentarios }, i = (c) => {
|
|
15594
|
+
!window || !window.location || (document.cookie = `redirect_after_login=${window.location.pathname}; path=/; max-age=300`, window.location.pathname = "/auth/login" + (c ? "#forgot" : ""));
|
|
15595
|
+
}, r = () => {
|
|
15596
|
+
!window || !window.location || (document.cookie = `redirect_after_login=${window.location.pathname}; path=/; max-age=300`, window.location.pathname = "/auth/register");
|
|
15597
|
+
};
|
|
15591
15598
|
return /* @__PURE__ */ a(
|
|
15592
15599
|
"div",
|
|
15593
15600
|
{
|
|
15594
|
-
className:
|
|
15601
|
+
className: k.overlay,
|
|
15595
15602
|
role: "dialog",
|
|
15596
15603
|
"aria-modal": "true",
|
|
15597
15604
|
id: "pop-overlay",
|
|
15598
|
-
onClick: (
|
|
15599
|
-
const
|
|
15600
|
-
|
|
15605
|
+
onClick: (c) => {
|
|
15606
|
+
const u = c.target;
|
|
15607
|
+
u && u.id === "pop-overlay" && e();
|
|
15601
15608
|
},
|
|
15602
|
-
children: /* @__PURE__ */ g("div", { className:
|
|
15603
|
-
/* @__PURE__ */ g("header", { className:
|
|
15604
|
-
/* @__PURE__ */ a("div", { className:
|
|
15609
|
+
children: /* @__PURE__ */ g("div", { className: k.card, children: [
|
|
15610
|
+
/* @__PURE__ */ g("header", { className: k.header, children: [
|
|
15611
|
+
/* @__PURE__ */ a("div", { className: k.logo, children: n ? n() : null }),
|
|
15605
15612
|
/* @__PURE__ */ a(
|
|
15606
15613
|
"button",
|
|
15607
15614
|
{
|
|
15608
15615
|
onClick: () => {
|
|
15609
15616
|
e();
|
|
15610
15617
|
},
|
|
15611
|
-
className:
|
|
15618
|
+
className: k.close,
|
|
15612
15619
|
"aria-label": "Cerrar",
|
|
15613
15620
|
children: /* @__PURE__ */ a(_t, {})
|
|
15614
15621
|
}
|
|
15615
15622
|
)
|
|
15616
15623
|
] }),
|
|
15617
|
-
/* @__PURE__ */ g("div", { className:
|
|
15618
|
-
/* @__PURE__ */ a("img", { className:
|
|
15624
|
+
/* @__PURE__ */ g("div", { className: k.anonimusWrapper, children: [
|
|
15625
|
+
/* @__PURE__ */ a("img", { className: k.anonimusImage, src: "/anonimus-img.png", alt: "Imagen incognito" }),
|
|
15619
15626
|
/* @__PURE__ */ a("button", { onClick: () => {
|
|
15620
15627
|
e(!0);
|
|
15621
|
-
}, className:
|
|
15628
|
+
}, className: k.anonimus, children: /* @__PURE__ */ a("span", { children: "Continuar de forma anónima" }) })
|
|
15622
15629
|
] }),
|
|
15623
|
-
/* @__PURE__ */ a("div", { className:
|
|
15624
|
-
/* @__PURE__ */ g("button", { onClick: t, className:
|
|
15630
|
+
/* @__PURE__ */ a("div", { className: k.divider, children: /* @__PURE__ */ a("span", { children: "o" }) }),
|
|
15631
|
+
/* @__PURE__ */ g("button", { onClick: t, className: k.google, children: [
|
|
15625
15632
|
/* @__PURE__ */ a(
|
|
15626
15633
|
"img",
|
|
15627
15634
|
{
|
|
15628
15635
|
src: "https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",
|
|
15629
15636
|
alt: "",
|
|
15630
|
-
className:
|
|
15637
|
+
className: k.googleIcon
|
|
15631
15638
|
}
|
|
15632
15639
|
),
|
|
15633
15640
|
/* @__PURE__ */ a("span", { children: o.GoogleButtonText })
|
|
15634
15641
|
] }),
|
|
15635
|
-
/* @__PURE__ */ a(
|
|
15636
|
-
|
|
15642
|
+
/* @__PURE__ */ a("button", { type: "submit", className: k.primary, onClick: () => {
|
|
15643
|
+
i(!1);
|
|
15644
|
+
}, children: o.loginButtonText }),
|
|
15645
|
+
/* @__PURE__ */ g("p", { className: k.switch, children: [
|
|
15637
15646
|
o.noAccountText,
|
|
15638
|
-
/* @__PURE__ */ a(
|
|
15647
|
+
/* @__PURE__ */ a("button", { type: "button", onClick: r, children: o.registerButtonText })
|
|
15639
15648
|
] }),
|
|
15640
15649
|
/* @__PURE__ */ a(
|
|
15641
|
-
|
|
15650
|
+
"button",
|
|
15642
15651
|
{
|
|
15643
15652
|
type: "button",
|
|
15644
|
-
className:
|
|
15645
|
-
|
|
15653
|
+
className: k.forgotPassword,
|
|
15654
|
+
onClick: () => {
|
|
15655
|
+
i(!0);
|
|
15656
|
+
},
|
|
15646
15657
|
children: o.forgotPasswordText
|
|
15647
15658
|
}
|
|
15648
15659
|
)
|
|
@@ -15738,43 +15749,45 @@ const O9 = ({
|
|
|
15738
15749
|
}) => {
|
|
15739
15750
|
const u = { ...q9, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: d } = r, m = l ?? "", h = t.replaceAll("/", "|"), [p, f] = Y(
|
|
15740
15751
|
void 0
|
|
15741
|
-
), [A, w] = Y(""), { comments: v, setComments: S } = E9(h, r), [C, I] = be.useState(!1), y = be.useRef(null), E = be.useRef(null),
|
|
15742
|
-
w(A ===
|
|
15743
|
-
}, j = (
|
|
15752
|
+
), [A, w] = Y(""), { comments: v, setComments: S } = E9(h, r), [C, I] = be.useState(!1), y = be.useRef(null), E = be.useRef(null), U = (x) => {
|
|
15753
|
+
w(A === x ? "" : x);
|
|
15754
|
+
}, j = (x) => {
|
|
15744
15755
|
S(
|
|
15745
15756
|
v ? {
|
|
15746
15757
|
...v,
|
|
15747
|
-
comments: [
|
|
15758
|
+
comments: [x, ...v.comments ?? []]
|
|
15748
15759
|
} : void 0
|
|
15749
15760
|
);
|
|
15750
|
-
}, X = (
|
|
15751
|
-
f(
|
|
15761
|
+
}, X = (x) => {
|
|
15762
|
+
f(x);
|
|
15752
15763
|
}, Q = async () => {
|
|
15753
15764
|
if (!v || !v.morecomment || v.comments.length === 0) return;
|
|
15754
|
-
const
|
|
15755
|
-
if (!
|
|
15765
|
+
const x = v.comments[v.comments.length - 1];
|
|
15766
|
+
if (!x) return;
|
|
15756
15767
|
I(!0);
|
|
15757
|
-
const
|
|
15768
|
+
const T = x.id;
|
|
15758
15769
|
try {
|
|
15759
|
-
const
|
|
15770
|
+
const q = await $a({
|
|
15760
15771
|
publication: m,
|
|
15761
15772
|
path: h ?? "",
|
|
15762
15773
|
size: 5,
|
|
15763
15774
|
sizereply: 2,
|
|
15764
15775
|
id: void 0,
|
|
15765
|
-
lastid:
|
|
15776
|
+
lastid: T,
|
|
15766
15777
|
state: "5,6",
|
|
15767
15778
|
apiToken: d,
|
|
15768
15779
|
API_ENV: r
|
|
15769
15780
|
});
|
|
15770
15781
|
S({
|
|
15771
|
-
morecomment:
|
|
15772
|
-
comments: [...v.comments, ...
|
|
15782
|
+
morecomment: q.morecomment ?? !1,
|
|
15783
|
+
comments: [...v.comments, ...q.comments]
|
|
15773
15784
|
}), I(!1);
|
|
15774
|
-
} catch (
|
|
15775
|
-
throw I(!1), new Error(`Error al obtener comentarios: ${
|
|
15785
|
+
} catch (q) {
|
|
15786
|
+
throw I(!1), new Error(`Error al obtener comentarios: ${q}`);
|
|
15776
15787
|
}
|
|
15777
|
-
}, G = v?.comments && v.comments.length > 0, J = G ? u.commentHeaderMessageWithComments : u.commentHeaderMessageEmpty, ae = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(nt, {}) })
|
|
15788
|
+
}, G = v?.comments && v.comments.length > 0, J = G ? u.commentHeaderMessageWithComments : u.commentHeaderMessageEmpty, ae = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(nt, {}) }), R = () => {
|
|
15789
|
+
!window || !window.location || (document.cookie = `redirect_after_login=${window.location.pathname}; path=/; max-age=300`, window.location.pathname = "/auth/login");
|
|
15790
|
+
};
|
|
15778
15791
|
return /* @__PURE__ */ g(K, { children: [
|
|
15779
15792
|
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(ye, { title: r.CONFIG_commentsV2 || G || e ? u.commentsSectionTitle : !1, children: /* @__PURE__ */ g(K, { children: [
|
|
15780
15793
|
/* @__PURE__ */ a("div", { className: "comments-header", children: e && n ? /* @__PURE__ */ g(K, { children: [
|
|
@@ -15799,7 +15812,7 @@ const O9 = ({
|
|
|
15799
15812
|
] }) : r.CONFIG_commentsV2 ? /* @__PURE__ */ g(K, { children: [
|
|
15800
15813
|
/* @__PURE__ */ g("p", { className: "anonimus-message", children: [
|
|
15801
15814
|
"¿Querés debatir con otros lectores? Comentá ahora de forma anónima o ",
|
|
15802
|
-
/* @__PURE__ */ a(
|
|
15815
|
+
/* @__PURE__ */ a("button", { onClick: R, children: "INICIA SESIÓN AQUÍ" }),
|
|
15803
15816
|
" para responder a otros usuarios y ser parte activa de nuestra comunidad."
|
|
15804
15817
|
] }),
|
|
15805
15818
|
/* @__PURE__ */ a(
|
|
@@ -15821,19 +15834,19 @@ const O9 = ({
|
|
|
15821
15834
|
className: "comments-list",
|
|
15822
15835
|
"data-isauthenticated": `${e}`,
|
|
15823
15836
|
children: [
|
|
15824
|
-
v.comments.map((
|
|
15837
|
+
v.comments.map((x) => /* @__PURE__ */ a(
|
|
15825
15838
|
U9,
|
|
15826
15839
|
{
|
|
15827
|
-
comment:
|
|
15840
|
+
comment: x,
|
|
15828
15841
|
replyingTo: A,
|
|
15829
|
-
handleReplyingTo:
|
|
15842
|
+
handleReplyingTo: U,
|
|
15830
15843
|
onFlag: X,
|
|
15831
15844
|
user: n ?? tt,
|
|
15832
15845
|
path: h,
|
|
15833
15846
|
API_ENV: r,
|
|
15834
15847
|
texts: c
|
|
15835
15848
|
},
|
|
15836
|
-
|
|
15849
|
+
x.id
|
|
15837
15850
|
)),
|
|
15838
15851
|
C && ae
|
|
15839
15852
|
]
|
|
@@ -16241,7 +16254,7 @@ export {
|
|
|
16241
16254
|
o2 as JournalistGroup,
|
|
16242
16255
|
zo as LayoutNewsComponent,
|
|
16243
16256
|
t6 as LazyLoader,
|
|
16244
|
-
|
|
16257
|
+
P as LinkComponent,
|
|
16245
16258
|
cu as LiveBlogHeader,
|
|
16246
16259
|
N5 as Location,
|
|
16247
16260
|
o3 as LoginPopUp,
|