sass-template-common 0.1.76 → 0.1.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sass-template-common.js +441 -441
- package/dist/sass-template-common.umd.cjs +13 -13
- package/package.json +1 -1
|
@@ -154,15 +154,15 @@ function Dr() {
|
|
|
154
154
|
(function(n, r) {
|
|
155
155
|
e.exports = r();
|
|
156
156
|
})(Fo, (function() {
|
|
157
|
-
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", f = "quarter",
|
|
157
|
+
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", f = "quarter", p = "year", g = "date", A = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|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(D) {
|
|
158
158
|
var k = ["th", "st", "nd", "rd"], E = D % 100;
|
|
159
159
|
return "[" + D + (k[(E - 20) % 10] || k[E] || k[0]) + "]";
|
|
160
|
-
} },
|
|
160
|
+
} }, _ = function(D, k, E) {
|
|
161
161
|
var P = String(D);
|
|
162
162
|
return !P || P.length >= k ? D : "" + Array(k + 1 - P.length).join(E) + D;
|
|
163
|
-
}, T = { s:
|
|
163
|
+
}, T = { s: _, z: function(D) {
|
|
164
164
|
var k = -D.utcOffset(), E = Math.abs(k), P = Math.floor(E / 60), I = E % 60;
|
|
165
|
-
return (k <= 0 ? "+" : "-") +
|
|
165
|
+
return (k <= 0 ? "+" : "-") + _(P, 2, "0") + ":" + _(I, 2, "0");
|
|
166
166
|
}, m: function D(k, E) {
|
|
167
167
|
if (k.date() < E.date()) return -D(E, k);
|
|
168
168
|
var P = 12 * (E.year() - k.year()) + (E.month() - k.month()), I = k.clone().add(P, m), z = E - I < 0, w = k.clone().add(P + (z ? -1 : 1), m);
|
|
@@ -170,7 +170,7 @@ function Dr() {
|
|
|
170
170
|
}, a: function(D) {
|
|
171
171
|
return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
|
|
172
172
|
}, p: function(D) {
|
|
173
|
-
return { M: m, y:
|
|
173
|
+
return { M: m, y: p, w: u, d: l, D: g, h: d, m: c, s: i, ms: s, Q: f }[D] || String(D || "").toLowerCase().replace(/s$/, "");
|
|
174
174
|
}, u: function(D) {
|
|
175
175
|
return D === void 0;
|
|
176
176
|
} }, b = "en", x = {};
|
|
@@ -186,8 +186,8 @@ function Dr() {
|
|
|
186
186
|
var w = k.split("-");
|
|
187
187
|
if (!I && w.length > 1) return D(w[0]);
|
|
188
188
|
} else {
|
|
189
|
-
var
|
|
190
|
-
x[
|
|
189
|
+
var N = k.name;
|
|
190
|
+
x[N] = k, I = N;
|
|
191
191
|
}
|
|
192
192
|
return !P && I && (b = I), I || !P && b;
|
|
193
193
|
}, G = function(D, k) {
|
|
@@ -212,8 +212,8 @@ function Dr() {
|
|
|
212
212
|
if (typeof I == "string" && !/Z$/i.test(I)) {
|
|
213
213
|
var w = I.match(y);
|
|
214
214
|
if (w) {
|
|
215
|
-
var
|
|
216
|
-
return z ? new Date(Date.UTC(w[1],
|
|
215
|
+
var N = w[2] - 1 || 0, R = (w[7] || "0").substring(0, 3);
|
|
216
|
+
return z ? new Date(Date.UTC(w[1], N, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, R)) : new Date(w[1], N, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, R);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
return new Date(I);
|
|
@@ -224,7 +224,7 @@ function Dr() {
|
|
|
224
224
|
}, k.$utils = function() {
|
|
225
225
|
return O;
|
|
226
226
|
}, k.isValid = function() {
|
|
227
|
-
return this.$d.toString() !==
|
|
227
|
+
return this.$d.toString() !== A;
|
|
228
228
|
}, k.isSame = function(E, P) {
|
|
229
229
|
var I = G(E);
|
|
230
230
|
return this.startOf(P) <= I && I <= this.endOf(P);
|
|
@@ -239,20 +239,20 @@ function Dr() {
|
|
|
239
239
|
}, k.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
241
|
}, k.startOf = function(E, P) {
|
|
242
|
-
var I = this, z = !!O.u(P) || P, w = O.p(E),
|
|
242
|
+
var I = this, z = !!O.u(P) || P, w = O.p(E), N = function(X, W) {
|
|
243
243
|
var ie = O.w(I.$u ? Date.UTC(I.$y, W, X) : new Date(I.$y, W, X), I);
|
|
244
244
|
return z ? ie : ie.endOf(l);
|
|
245
245
|
}, R = function(X, W) {
|
|
246
246
|
return O.w(I.toDate()[X].apply(I.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), I);
|
|
247
247
|
}, M = this.$W, B = this.$M, H = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (w) {
|
|
249
|
-
case
|
|
250
|
-
return z ?
|
|
249
|
+
case p:
|
|
250
|
+
return z ? N(1, 0) : N(31, 11);
|
|
251
251
|
case m:
|
|
252
|
-
return z ?
|
|
252
|
+
return z ? N(1, B) : N(0, B + 1);
|
|
253
253
|
case u:
|
|
254
254
|
var F = this.$locale().weekStart || 0, Z = (M < F ? M + 7 : M) - F;
|
|
255
|
-
return
|
|
255
|
+
return N(z ? H - Z : H + (6 - Z), B);
|
|
256
256
|
case l:
|
|
257
257
|
case g:
|
|
258
258
|
return R(V + "Hours", 0);
|
|
@@ -268,11 +268,11 @@ function Dr() {
|
|
|
268
268
|
}, k.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
270
|
}, k.$set = function(E, P) {
|
|
271
|
-
var I, z = O.p(E), w = "set" + (this.$u ? "UTC" : ""),
|
|
272
|
-
if (z === m || z ===
|
|
271
|
+
var I, z = O.p(E), w = "set" + (this.$u ? "UTC" : ""), N = (I = {}, I[l] = w + "Date", I[g] = w + "Date", I[m] = w + "Month", I[p] = w + "FullYear", I[d] = w + "Hours", I[c] = w + "Minutes", I[i] = w + "Seconds", I[s] = w + "Milliseconds", I)[z], R = z === l ? this.$D + (P - this.$W) : P;
|
|
272
|
+
if (z === m || z === p) {
|
|
273
273
|
var M = this.clone().set(g, 1);
|
|
274
|
-
M.$d[
|
|
275
|
-
} else
|
|
274
|
+
M.$d[N](R), M.init(), this.$d = M.set(g, Math.min(this.$D, M.daysInMonth())).$d;
|
|
275
|
+
} else N && this.$d[N](R);
|
|
276
276
|
return this.init(), this;
|
|
277
277
|
}, k.set = function(E, P) {
|
|
278
278
|
return this.clone().$set(E, P);
|
|
@@ -281,25 +281,25 @@ function Dr() {
|
|
|
281
281
|
}, k.add = function(E, P) {
|
|
282
282
|
var I, z = this;
|
|
283
283
|
E = Number(E);
|
|
284
|
-
var w = O.p(P),
|
|
284
|
+
var w = O.p(P), N = function(B) {
|
|
285
285
|
var H = G(z);
|
|
286
286
|
return O.w(H.date(H.date() + Math.round(B * E)), z);
|
|
287
287
|
};
|
|
288
288
|
if (w === m) return this.set(m, this.$M + E);
|
|
289
|
-
if (w ===
|
|
290
|
-
if (w === l) return
|
|
291
|
-
if (w === u) return
|
|
289
|
+
if (w === p) return this.set(p, this.$y + E);
|
|
290
|
+
if (w === l) return N(1);
|
|
291
|
+
if (w === u) return N(7);
|
|
292
292
|
var R = (I = {}, I[c] = r, I[d] = o, I[i] = n, I)[w] || 1, M = this.$d.getTime() + E * R;
|
|
293
293
|
return O.w(M, this);
|
|
294
294
|
}, k.subtract = function(E, P) {
|
|
295
295
|
return this.add(-1 * E, P);
|
|
296
296
|
}, k.format = function(E) {
|
|
297
297
|
var P = this, I = this.$locale();
|
|
298
|
-
if (!this.isValid()) return I.invalidDate ||
|
|
299
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this),
|
|
298
|
+
if (!this.isValid()) return I.invalidDate || A;
|
|
299
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), N = this.$H, R = this.$m, M = this.$M, B = I.weekdays, H = I.months, V = I.meridiem, F = function(W, ie, L, Ae) {
|
|
300
300
|
return W && (W[ie] || W(P, z)) || L[ie].slice(0, Ae);
|
|
301
301
|
}, Z = function(W) {
|
|
302
|
-
return O.s(
|
|
302
|
+
return O.s(N % 12 || 12, W, "0");
|
|
303
303
|
}, X = V || function(W, ie, L) {
|
|
304
304
|
var Ae = W < 12 ? "AM" : "PM";
|
|
305
305
|
return L ? Ae.toLowerCase() : Ae;
|
|
@@ -332,17 +332,17 @@ function Dr() {
|
|
|
332
332
|
case "dddd":
|
|
333
333
|
return B[P.$W];
|
|
334
334
|
case "H":
|
|
335
|
-
return String(
|
|
335
|
+
return String(N);
|
|
336
336
|
case "HH":
|
|
337
|
-
return O.s(
|
|
337
|
+
return O.s(N, 2, "0");
|
|
338
338
|
case "h":
|
|
339
339
|
return Z(1);
|
|
340
340
|
case "hh":
|
|
341
341
|
return Z(2);
|
|
342
342
|
case "a":
|
|
343
|
-
return X(
|
|
343
|
+
return X(N, R, !0);
|
|
344
344
|
case "A":
|
|
345
|
-
return X(
|
|
345
|
+
return X(N, R, !1);
|
|
346
346
|
case "m":
|
|
347
347
|
return String(R);
|
|
348
348
|
case "mm":
|
|
@@ -362,11 +362,11 @@ function Dr() {
|
|
|
362
362
|
}, k.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
364
|
}, k.diff = function(E, P, I) {
|
|
365
|
-
var z, w = this,
|
|
365
|
+
var z, w = this, N = O.p(P), R = G(E), M = (R.utcOffset() - this.utcOffset()) * r, B = this - R, H = function() {
|
|
366
366
|
return O.m(w, R);
|
|
367
367
|
};
|
|
368
|
-
switch (
|
|
369
|
-
case
|
|
368
|
+
switch (N) {
|
|
369
|
+
case p:
|
|
370
370
|
z = H() / 12;
|
|
371
371
|
break;
|
|
372
372
|
case m:
|
|
@@ -414,7 +414,7 @@ function Dr() {
|
|
|
414
414
|
return this.$d.toUTCString();
|
|
415
415
|
}, D;
|
|
416
416
|
})(), ce = ee.prototype;
|
|
417
|
-
return G.prototype = ce, [["$ms", s], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y",
|
|
417
|
+
return G.prototype = ce, [["$ms", s], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", p], ["$D", g]].forEach((function(D) {
|
|
418
418
|
ce[D[1]] = function(k) {
|
|
419
419
|
return this.$g(k, D[0], D[1]);
|
|
420
420
|
};
|
|
@@ -440,21 +440,21 @@ function Yo() {
|
|
|
440
440
|
function c(l, u, m, f) {
|
|
441
441
|
return s.fromToBase(l, u, m, f);
|
|
442
442
|
}
|
|
443
|
-
o.en.relativeTime = i, s.fromToBase = function(l, u, m, f,
|
|
444
|
-
for (var g,
|
|
443
|
+
o.en.relativeTime = i, s.fromToBase = function(l, u, m, f, p) {
|
|
444
|
+
for (var g, A, y, C = m.$locale().relativeTime || i, S = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], _ = S.length, T = 0; T < _; T += 1) {
|
|
445
445
|
var b = S[T];
|
|
446
446
|
b.d && (g = f ? o(l).diff(m, b.d, !0) : m.diff(l, b.d, !0));
|
|
447
447
|
var x = (n.rounding || Math.round)(Math.abs(g));
|
|
448
448
|
if (y = g > 0, x <= b.r || !b.r) {
|
|
449
449
|
x <= 1 && T > 0 && (b = S[T - 1]);
|
|
450
450
|
var j = C[b.l];
|
|
451
|
-
|
|
451
|
+
p && (x = p("" + x)), A = typeof j == "string" ? j.replace("%d", x) : j(x, u, b.l, y);
|
|
452
452
|
break;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
if (u) return
|
|
455
|
+
if (u) return A;
|
|
456
456
|
var Q = y ? C.future : C.past;
|
|
457
|
-
return typeof Q == "function" ? Q(
|
|
457
|
+
return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
|
|
458
458
|
}, s.to = function(l, u) {
|
|
459
459
|
return c(l, u, this, !0);
|
|
460
460
|
}, s.from = function(l, u) {
|
|
@@ -500,51 +500,51 @@ function ts() {
|
|
|
500
500
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
|
|
501
501
|
return function(s, i, c) {
|
|
502
502
|
var d = i.prototype;
|
|
503
|
-
c.utc = function(
|
|
504
|
-
var y = { date:
|
|
503
|
+
c.utc = function(A) {
|
|
504
|
+
var y = { date: A, utc: !0, args: arguments };
|
|
505
505
|
return new i(y);
|
|
506
|
-
}, d.utc = function(
|
|
506
|
+
}, d.utc = function(A) {
|
|
507
507
|
var y = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
508
|
-
return
|
|
508
|
+
return A ? y.add(this.utcOffset(), n) : y;
|
|
509
509
|
}, d.local = function() {
|
|
510
510
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
511
511
|
};
|
|
512
512
|
var l = d.parse;
|
|
513
|
-
d.parse = function(
|
|
514
|
-
|
|
513
|
+
d.parse = function(A) {
|
|
514
|
+
A.utc && (this.$u = !0), this.$utils().u(A.$offset) || (this.$offset = A.$offset), l.call(this, A);
|
|
515
515
|
};
|
|
516
516
|
var u = d.init;
|
|
517
517
|
d.init = function() {
|
|
518
518
|
if (this.$u) {
|
|
519
|
-
var
|
|
520
|
-
this.$y =
|
|
519
|
+
var A = this.$d;
|
|
520
|
+
this.$y = A.getUTCFullYear(), this.$M = A.getUTCMonth(), this.$D = A.getUTCDate(), this.$W = A.getUTCDay(), this.$H = A.getUTCHours(), this.$m = A.getUTCMinutes(), this.$s = A.getUTCSeconds(), this.$ms = A.getUTCMilliseconds();
|
|
521
521
|
} else u.call(this);
|
|
522
522
|
};
|
|
523
523
|
var m = d.utcOffset;
|
|
524
|
-
d.utcOffset = function(
|
|
524
|
+
d.utcOffset = function(A, y) {
|
|
525
525
|
var C = this.$utils().u;
|
|
526
|
-
if (C(
|
|
527
|
-
if (typeof
|
|
526
|
+
if (C(A)) return this.$u ? 0 : C(this.$offset) ? m.call(this) : this.$offset;
|
|
527
|
+
if (typeof A == "string" && (A = (function(b) {
|
|
528
528
|
b === void 0 && (b = "");
|
|
529
529
|
var x = b.match(r);
|
|
530
530
|
if (!x) return null;
|
|
531
531
|
var j = ("" + x[0]).match(o) || ["-", 0, 0], Q = j[0], te = 60 * +j[1] + +j[2];
|
|
532
532
|
return te === 0 ? 0 : Q === "+" ? te : -te;
|
|
533
|
-
})(
|
|
534
|
-
var S = Math.abs(
|
|
533
|
+
})(A), A === null)) return this;
|
|
534
|
+
var S = Math.abs(A) <= 16 ? 60 * A : A;
|
|
535
535
|
if (S === 0) return this.utc(y);
|
|
536
|
-
var
|
|
537
|
-
if (y) return
|
|
536
|
+
var _ = this.clone();
|
|
537
|
+
if (y) return _.$offset = S, _.$u = !1, _;
|
|
538
538
|
var T = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
539
|
-
return (
|
|
539
|
+
return (_ = this.local().add(S + T, n)).$offset = S, _.$x.$localOffset = T, _;
|
|
540
540
|
};
|
|
541
541
|
var f = d.format;
|
|
542
|
-
d.format = function(
|
|
543
|
-
var y =
|
|
542
|
+
d.format = function(A) {
|
|
543
|
+
var y = A || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
544
544
|
return f.call(this, y);
|
|
545
545
|
}, d.valueOf = function() {
|
|
546
|
-
var
|
|
547
|
-
return this.$d.valueOf() - 6e4 *
|
|
546
|
+
var A = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
547
|
+
return this.$d.valueOf() - 6e4 * A;
|
|
548
548
|
}, d.isUTC = function() {
|
|
549
549
|
return !!this.$u;
|
|
550
550
|
}, d.toISOString = function() {
|
|
@@ -552,15 +552,15 @@ function ts() {
|
|
|
552
552
|
}, d.toString = function() {
|
|
553
553
|
return this.toDate().toUTCString();
|
|
554
554
|
};
|
|
555
|
-
var
|
|
556
|
-
d.toDate = function(
|
|
557
|
-
return
|
|
555
|
+
var p = d.toDate;
|
|
556
|
+
d.toDate = function(A) {
|
|
557
|
+
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
558
558
|
};
|
|
559
559
|
var g = d.diff;
|
|
560
|
-
d.diff = function(
|
|
561
|
-
if (
|
|
562
|
-
var S = this.local(),
|
|
563
|
-
return g.call(S,
|
|
560
|
+
d.diff = function(A, y, C) {
|
|
561
|
+
if (A && this.$u === A.$u) return g.call(this, A, y, C);
|
|
562
|
+
var S = this.local(), _ = c(A).local();
|
|
563
|
+
return g.call(S, _, y, C);
|
|
564
564
|
};
|
|
565
565
|
};
|
|
566
566
|
}));
|
|
@@ -576,51 +576,51 @@ function os() {
|
|
|
576
576
|
})(rs, (function() {
|
|
577
577
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
|
|
578
578
|
return function(o, s, i) {
|
|
579
|
-
var c, d = function(f,
|
|
579
|
+
var c, d = function(f, p, g) {
|
|
580
580
|
g === void 0 && (g = {});
|
|
581
|
-
var
|
|
581
|
+
var A = new Date(f), y = (function(C, S) {
|
|
582
582
|
S === void 0 && (S = {});
|
|
583
|
-
var
|
|
584
|
-
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: C, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName:
|
|
585
|
-
})(
|
|
586
|
-
return y.formatToParts(
|
|
587
|
-
}, l = function(f,
|
|
588
|
-
for (var g = d(f,
|
|
589
|
-
var C = g[y], S = C.type,
|
|
590
|
-
T >= 0 && (
|
|
583
|
+
var _ = S.timeZoneName || "short", T = C + "|" + _, b = r[T];
|
|
584
|
+
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: C, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), r[T] = b), b;
|
|
585
|
+
})(p, g);
|
|
586
|
+
return y.formatToParts(A);
|
|
587
|
+
}, l = function(f, p) {
|
|
588
|
+
for (var g = d(f, p), A = [], y = 0; y < g.length; y += 1) {
|
|
589
|
+
var C = g[y], S = C.type, _ = C.value, T = n[S];
|
|
590
|
+
T >= 0 && (A[T] = parseInt(_, 10));
|
|
591
591
|
}
|
|
592
|
-
var b =
|
|
592
|
+
var b = A[3], x = b === 24 ? 0 : b, j = A[0] + "-" + A[1] + "-" + A[2] + " " + x + ":" + A[4] + ":" + A[5] + ":000", Q = +f;
|
|
593
593
|
return (i.utc(j).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
594
594
|
}, u = s.prototype;
|
|
595
|
-
u.tz = function(f,
|
|
595
|
+
u.tz = function(f, p) {
|
|
596
596
|
f === void 0 && (f = c);
|
|
597
|
-
var g,
|
|
598
|
-
if (!Number(
|
|
599
|
-
else if (g = i(C, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(
|
|
597
|
+
var g, A = this.utcOffset(), y = this.toDate(), C = y.toLocaleString("en-US", { timeZone: f }), S = Math.round((y - new Date(C)) / 1e3 / 60), _ = 15 * -Math.round(y.getTimezoneOffset() / 15) - S;
|
|
598
|
+
if (!Number(_)) g = this.utcOffset(0, p);
|
|
599
|
+
else if (g = i(C, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), p) {
|
|
600
600
|
var T = g.utcOffset();
|
|
601
|
-
g = g.add(
|
|
601
|
+
g = g.add(A - T, "minute");
|
|
602
602
|
}
|
|
603
603
|
return g.$x.$timezone = f, g;
|
|
604
604
|
}, u.offsetName = function(f) {
|
|
605
|
-
var
|
|
606
|
-
return
|
|
605
|
+
var p = this.$x.$timezone || i.tz.guess(), g = d(this.valueOf(), p, { timeZoneName: f }).find((function(A) {
|
|
606
|
+
return A.type.toLowerCase() === "timezonename";
|
|
607
607
|
}));
|
|
608
608
|
return g && g.value;
|
|
609
609
|
};
|
|
610
610
|
var m = u.startOf;
|
|
611
|
-
u.startOf = function(f,
|
|
612
|
-
if (!this.$x || !this.$x.$timezone) return m.call(this, f,
|
|
611
|
+
u.startOf = function(f, p) {
|
|
612
|
+
if (!this.$x || !this.$x.$timezone) return m.call(this, f, p);
|
|
613
613
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
614
|
-
return m.call(g, f,
|
|
615
|
-
}, i.tz = function(f,
|
|
616
|
-
var
|
|
614
|
+
return m.call(g, f, p).tz(this.$x.$timezone, !0);
|
|
615
|
+
}, i.tz = function(f, p, g) {
|
|
616
|
+
var A = g && p, y = g || p || c, C = l(+i(), y);
|
|
617
617
|
if (typeof f != "string") return i(f).tz(y);
|
|
618
618
|
var S = (function(x, j, Q) {
|
|
619
619
|
var te = x - 60 * j * 1e3, G = l(te, Q);
|
|
620
620
|
if (j === G) return [te, j];
|
|
621
621
|
var O = l(te -= 60 * (G - j) * 1e3, Q);
|
|
622
622
|
return G === O ? [te, G] : [x - 60 * Math.min(G, O) * 1e3, Math.max(G, O)];
|
|
623
|
-
})(i.utc(f,
|
|
623
|
+
})(i.utc(f, A).valueOf(), C, y), _ = S[0], T = S[1], b = i(_).utcOffset(T);
|
|
624
624
|
return b.$x.$timezone = y, b;
|
|
625
625
|
}, i.tz.guess = function() {
|
|
626
626
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -1138,13 +1138,13 @@ const xs = async ({
|
|
|
1138
1138
|
logow: t.socialBlockLogo?.width,
|
|
1139
1139
|
logoh: t.socialBlockLogo?.height,
|
|
1140
1140
|
authorurl: n + "/autor/"
|
|
1141
|
-
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema,
|
|
1141
|
+
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, p = o !== "false" && s !== "false" ? "/" + o + f : f;
|
|
1142
1142
|
i = (await Promise.all(
|
|
1143
|
-
m.map(async (
|
|
1144
|
-
const y =
|
|
1145
|
-
return await pa(y,
|
|
1143
|
+
m.map(async (A) => {
|
|
1144
|
+
const y = A === "/news-breadcrumb" ? { ...l, prefixtag: p } : l;
|
|
1145
|
+
return await pa(y, A, r);
|
|
1146
1146
|
})
|
|
1147
|
-
)).map((
|
|
1147
|
+
)).map((A) => A?.data?.data ?? []);
|
|
1148
1148
|
} catch (c) {
|
|
1149
1149
|
console.log("Error fetching schemas:", c);
|
|
1150
1150
|
}
|
|
@@ -1800,8 +1800,8 @@ function Tn(e, t, n) {
|
|
|
1800
1800
|
metaTokens: !0,
|
|
1801
1801
|
dots: !1,
|
|
1802
1802
|
indexes: !1
|
|
1803
|
-
}, !1, function(
|
|
1804
|
-
return !v.isUndefined(y[
|
|
1803
|
+
}, !1, function(A, y) {
|
|
1804
|
+
return !v.isUndefined(y[A]);
|
|
1805
1805
|
});
|
|
1806
1806
|
const r = n.metaTokens, o = n.visitor || u, s = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && v.isSpecCompliantForm(t);
|
|
1807
1807
|
if (!v.isFunction(o))
|
|
@@ -1816,45 +1816,45 @@ function Tn(e, t, n) {
|
|
|
1816
1816
|
throw new $("Blob is not supported. Use a Buffer instead.");
|
|
1817
1817
|
return v.isArrayBuffer(g) || v.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1818
1818
|
}
|
|
1819
|
-
function u(g,
|
|
1819
|
+
function u(g, A, y) {
|
|
1820
1820
|
let C = g;
|
|
1821
1821
|
if (g && !y && typeof g == "object") {
|
|
1822
|
-
if (v.endsWith(
|
|
1823
|
-
|
|
1824
|
-
else if (v.isArray(g) && vi(g) || (v.isFileList(g) || v.endsWith(
|
|
1825
|
-
return
|
|
1826
|
-
!(v.isUndefined(
|
|
1822
|
+
if (v.endsWith(A, "{}"))
|
|
1823
|
+
A = r ? A : A.slice(0, -2), g = JSON.stringify(g);
|
|
1824
|
+
else if (v.isArray(g) && vi(g) || (v.isFileList(g) || v.endsWith(A, "[]")) && (C = v.toArray(g)))
|
|
1825
|
+
return A = eo(A), C.forEach(function(_, T) {
|
|
1826
|
+
!(v.isUndefined(_) || _ === null) && t.append(
|
|
1827
1827
|
// eslint-disable-next-line no-nested-ternary
|
|
1828
|
-
i === !0 ? ja([
|
|
1829
|
-
l(
|
|
1828
|
+
i === !0 ? ja([A], T, s) : i === null ? A : A + "[]",
|
|
1829
|
+
l(_)
|
|
1830
1830
|
);
|
|
1831
1831
|
}), !1;
|
|
1832
1832
|
}
|
|
1833
|
-
return aa(g) ? !0 : (t.append(ja(y,
|
|
1833
|
+
return aa(g) ? !0 : (t.append(ja(y, A, s), l(g)), !1);
|
|
1834
1834
|
}
|
|
1835
1835
|
const m = [], f = Object.assign(bi, {
|
|
1836
1836
|
defaultVisitor: u,
|
|
1837
1837
|
convertValue: l,
|
|
1838
1838
|
isVisitable: aa
|
|
1839
1839
|
});
|
|
1840
|
-
function
|
|
1840
|
+
function p(g, A) {
|
|
1841
1841
|
if (!v.isUndefined(g)) {
|
|
1842
1842
|
if (m.indexOf(g) !== -1)
|
|
1843
|
-
throw Error("Circular reference detected in " +
|
|
1843
|
+
throw Error("Circular reference detected in " + A.join("."));
|
|
1844
1844
|
m.push(g), v.forEach(g, function(C, S) {
|
|
1845
1845
|
(!(v.isUndefined(C) || C === null) && o.call(
|
|
1846
1846
|
t,
|
|
1847
1847
|
C,
|
|
1848
1848
|
v.isString(S) ? S.trim() : S,
|
|
1849
|
-
|
|
1849
|
+
A,
|
|
1850
1850
|
f
|
|
1851
|
-
)) === !0 &&
|
|
1851
|
+
)) === !0 && p(C, A ? A.concat(S) : [S]);
|
|
1852
1852
|
}), m.pop();
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
if (!v.isObject(e))
|
|
1856
1856
|
throw new TypeError("data must be an object");
|
|
1857
|
-
return
|
|
1857
|
+
return p(e), t;
|
|
1858
1858
|
}
|
|
1859
1859
|
function Qa(e) {
|
|
1860
1860
|
const t = {
|
|
@@ -2338,8 +2338,8 @@ function Gi(e, t) {
|
|
|
2338
2338
|
f += n[m++], m = m % e;
|
|
2339
2339
|
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), l - i < t)
|
|
2340
2340
|
return;
|
|
2341
|
-
const
|
|
2342
|
-
return
|
|
2341
|
+
const p = u && l - u;
|
|
2342
|
+
return p ? Math.round(f * 1e3 / p) : void 0;
|
|
2343
2343
|
};
|
|
2344
2344
|
}
|
|
2345
2345
|
function Hi(e, t) {
|
|
@@ -2513,29 +2513,29 @@ const co = (e) => {
|
|
|
2513
2513
|
const o = co(e);
|
|
2514
2514
|
let s = o.data;
|
|
2515
2515
|
const i = _e.from(o.headers).normalize();
|
|
2516
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, m, f,
|
|
2517
|
-
function
|
|
2518
|
-
|
|
2516
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, m, f, p, g;
|
|
2517
|
+
function A() {
|
|
2518
|
+
p && p(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
|
|
2519
2519
|
}
|
|
2520
2520
|
let y = new XMLHttpRequest();
|
|
2521
2521
|
y.open(o.method.toUpperCase(), o.url, !0), y.timeout = o.timeout;
|
|
2522
2522
|
function C() {
|
|
2523
2523
|
if (!y)
|
|
2524
2524
|
return;
|
|
2525
|
-
const
|
|
2525
|
+
const _ = _e.from(
|
|
2526
2526
|
"getAllResponseHeaders" in y && y.getAllResponseHeaders()
|
|
2527
2527
|
), b = {
|
|
2528
2528
|
data: !c || c === "text" || c === "json" ? y.responseText : y.response,
|
|
2529
2529
|
status: y.status,
|
|
2530
2530
|
statusText: y.statusText,
|
|
2531
|
-
headers:
|
|
2531
|
+
headers: _,
|
|
2532
2532
|
config: e,
|
|
2533
2533
|
request: y
|
|
2534
2534
|
};
|
|
2535
2535
|
so(function(j) {
|
|
2536
|
-
n(j),
|
|
2536
|
+
n(j), A();
|
|
2537
2537
|
}, function(j) {
|
|
2538
|
-
r(j),
|
|
2538
|
+
r(j), A();
|
|
2539
2539
|
}, b), y = null;
|
|
2540
2540
|
}
|
|
2541
2541
|
"onloadend" in y ? y.onloadend = C : y.onreadystatechange = function() {
|
|
@@ -2556,8 +2556,8 @@ const co = (e) => {
|
|
|
2556
2556
|
)), y = null;
|
|
2557
2557
|
}, s === void 0 && i.setContentType(null), "setRequestHeader" in y && v.forEach(i.toJSON(), function(T, b) {
|
|
2558
2558
|
y.setRequestHeader(b, T);
|
|
2559
|
-
}), v.isUndefined(o.withCredentials) || (y.withCredentials = !!o.withCredentials), c && c !== "json" && (y.responseType = o.responseType), l && ([f, g] = wn(l, !0), y.addEventListener("progress", f)), d && y.upload && ([m,
|
|
2560
|
-
y && (r(!
|
|
2559
|
+
}), v.isUndefined(o.withCredentials) || (y.withCredentials = !!o.withCredentials), c && c !== "json" && (y.responseType = o.responseType), l && ([f, g] = wn(l, !0), y.addEventListener("progress", f)), d && y.upload && ([m, p] = wn(d), y.upload.addEventListener("progress", m), y.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (_) => {
|
|
2560
|
+
y && (r(!_ || _.type ? new Et(null, e, y) : _), y.abort(), y = null);
|
|
2561
2561
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2562
2562
|
const S = Qi(o.url);
|
|
2563
2563
|
if (S && fe.protocols.indexOf(S) === -1) {
|
|
@@ -2665,24 +2665,24 @@ const co = (e) => {
|
|
|
2665
2665
|
const { fetch: t, Request: n, Response: r } = e, o = t ? Kt(t) : typeof fetch == "function", s = Kt(n), i = Kt(r);
|
|
2666
2666
|
if (!o)
|
|
2667
2667
|
return !1;
|
|
2668
|
-
const c = o && Kt(Ya), d = o && (typeof Ka == "function" ? /* @__PURE__ */ ((g) => (
|
|
2668
|
+
const c = o && Kt(Ya), d = o && (typeof Ka == "function" ? /* @__PURE__ */ ((g) => (A) => g.encode(A))(new Ka()) : async (g) => new Uint8Array(await new n(g).arrayBuffer())), l = s && c && Ja(() => {
|
|
2669
2669
|
let g = !1;
|
|
2670
|
-
const
|
|
2670
|
+
const A = new n(fe.origin, {
|
|
2671
2671
|
body: new Ya(),
|
|
2672
2672
|
method: "POST",
|
|
2673
2673
|
get duplex() {
|
|
2674
2674
|
return g = !0, "half";
|
|
2675
2675
|
}
|
|
2676
2676
|
}).headers.has("Content-Type");
|
|
2677
|
-
return g && !
|
|
2677
|
+
return g && !A;
|
|
2678
2678
|
}), u = i && c && Ja(() => v.isReadableStream(new r("").body)), m = {
|
|
2679
2679
|
stream: u && ((g) => g.body)
|
|
2680
2680
|
};
|
|
2681
2681
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2682
|
-
!m[g] && (m[g] = (
|
|
2683
|
-
let C =
|
|
2682
|
+
!m[g] && (m[g] = (A, y) => {
|
|
2683
|
+
let C = A && A[g];
|
|
2684
2684
|
if (C)
|
|
2685
|
-
return C.call(
|
|
2685
|
+
return C.call(A);
|
|
2686
2686
|
throw new $(`Response type '${g}' is not supported`, $.ERR_NOT_SUPPORT, y);
|
|
2687
2687
|
});
|
|
2688
2688
|
});
|
|
@@ -2700,17 +2700,17 @@ const co = (e) => {
|
|
|
2700
2700
|
return g.byteLength;
|
|
2701
2701
|
if (v.isURLSearchParams(g) && (g = g + ""), v.isString(g))
|
|
2702
2702
|
return (await d(g)).byteLength;
|
|
2703
|
-
},
|
|
2703
|
+
}, p = async (g, A) => {
|
|
2704
2704
|
const y = v.toFiniteNumber(g.getContentLength());
|
|
2705
|
-
return y ?? f(
|
|
2705
|
+
return y ?? f(A);
|
|
2706
2706
|
};
|
|
2707
2707
|
return async (g) => {
|
|
2708
2708
|
let {
|
|
2709
|
-
url:
|
|
2709
|
+
url: A,
|
|
2710
2710
|
method: y,
|
|
2711
2711
|
data: C,
|
|
2712
2712
|
signal: S,
|
|
2713
|
-
cancelToken:
|
|
2713
|
+
cancelToken: _,
|
|
2714
2714
|
timeout: T,
|
|
2715
2715
|
onDownloadProgress: b,
|
|
2716
2716
|
onUploadProgress: x,
|
|
@@ -2720,24 +2720,24 @@ const co = (e) => {
|
|
|
2720
2720
|
fetchOptions: G
|
|
2721
2721
|
} = co(g), O = t || fetch;
|
|
2722
2722
|
j = j ? (j + "").toLowerCase() : "text";
|
|
2723
|
-
let ee = Ki([S,
|
|
2723
|
+
let ee = Ki([S, _ && _.toAbortSignal()], T), ce = null;
|
|
2724
2724
|
const D = ee && ee.unsubscribe && (() => {
|
|
2725
2725
|
ee.unsubscribe();
|
|
2726
2726
|
});
|
|
2727
2727
|
let k;
|
|
2728
2728
|
try {
|
|
2729
|
-
if (x && l && y !== "get" && y !== "head" && (k = await
|
|
2730
|
-
let
|
|
2729
|
+
if (x && l && y !== "get" && y !== "head" && (k = await p(Q, C)) !== 0) {
|
|
2730
|
+
let N = new n(A, {
|
|
2731
2731
|
method: "POST",
|
|
2732
2732
|
body: C,
|
|
2733
2733
|
duplex: "half"
|
|
2734
2734
|
}), R;
|
|
2735
|
-
if (v.isFormData(C) && (R =
|
|
2735
|
+
if (v.isFormData(C) && (R = N.headers.get("content-type")) && Q.setContentType(R), N.body) {
|
|
2736
2736
|
const [M, B] = za(
|
|
2737
2737
|
k,
|
|
2738
2738
|
wn(Va(x))
|
|
2739
2739
|
);
|
|
2740
|
-
C = Wa(
|
|
2740
|
+
C = Wa(N.body, $a, M, B);
|
|
2741
2741
|
}
|
|
2742
2742
|
}
|
|
2743
2743
|
v.isString(te) || (te = te ? "include" : "omit");
|
|
@@ -2750,13 +2750,13 @@ const co = (e) => {
|
|
|
2750
2750
|
duplex: "half",
|
|
2751
2751
|
credentials: E ? te : void 0
|
|
2752
2752
|
};
|
|
2753
|
-
ce = s && new n(
|
|
2754
|
-
let I = await (s ? O(ce, G) : O(
|
|
2753
|
+
ce = s && new n(A, P);
|
|
2754
|
+
let I = await (s ? O(ce, G) : O(A, P));
|
|
2755
2755
|
const z = u && (j === "stream" || j === "response");
|
|
2756
2756
|
if (u && (b || z && D)) {
|
|
2757
|
-
const
|
|
2757
|
+
const N = {};
|
|
2758
2758
|
["status", "statusText", "headers"].forEach((H) => {
|
|
2759
|
-
|
|
2759
|
+
N[H] = I[H];
|
|
2760
2760
|
});
|
|
2761
2761
|
const R = v.toFiniteNumber(I.headers.get("content-length")), [M, B] = b && za(
|
|
2762
2762
|
R,
|
|
@@ -2766,13 +2766,13 @@ const co = (e) => {
|
|
|
2766
2766
|
Wa(I.body, $a, M, () => {
|
|
2767
2767
|
B && B(), D && D();
|
|
2768
2768
|
}),
|
|
2769
|
-
|
|
2769
|
+
N
|
|
2770
2770
|
);
|
|
2771
2771
|
}
|
|
2772
2772
|
j = j || "text";
|
|
2773
2773
|
let w = await m[v.findKey(m, j) || "text"](I, g);
|
|
2774
|
-
return !z && D && D(), await new Promise((
|
|
2775
|
-
so(
|
|
2774
|
+
return !z && D && D(), await new Promise((N, R) => {
|
|
2775
|
+
so(N, R, {
|
|
2776
2776
|
data: w,
|
|
2777
2777
|
headers: _e.from(I.headers),
|
|
2778
2778
|
status: I.status,
|
|
@@ -2991,12 +2991,12 @@ let ut = class {
|
|
|
2991
2991
|
), n.headers = _e.concat(i, s);
|
|
2992
2992
|
const c = [];
|
|
2993
2993
|
let d = !0;
|
|
2994
|
-
this.interceptors.request.forEach(function(
|
|
2995
|
-
typeof
|
|
2994
|
+
this.interceptors.request.forEach(function(A) {
|
|
2995
|
+
typeof A.runWhen == "function" && A.runWhen(n) === !1 || (d = d && A.synchronous, c.unshift(A.fulfilled, A.rejected));
|
|
2996
2996
|
});
|
|
2997
2997
|
const l = [];
|
|
2998
|
-
this.interceptors.response.forEach(function(
|
|
2999
|
-
l.push(
|
|
2998
|
+
this.interceptors.response.forEach(function(A) {
|
|
2999
|
+
l.push(A.fulfilled, A.rejected);
|
|
3000
3000
|
});
|
|
3001
3001
|
let u, m = 0, f;
|
|
3002
3002
|
if (!d) {
|
|
@@ -3006,18 +3006,18 @@ let ut = class {
|
|
|
3006
3006
|
return u;
|
|
3007
3007
|
}
|
|
3008
3008
|
f = c.length;
|
|
3009
|
-
let
|
|
3009
|
+
let p = n;
|
|
3010
3010
|
for (; m < f; ) {
|
|
3011
|
-
const g = c[m++],
|
|
3011
|
+
const g = c[m++], A = c[m++];
|
|
3012
3012
|
try {
|
|
3013
|
-
|
|
3013
|
+
p = g(p);
|
|
3014
3014
|
} catch (y) {
|
|
3015
|
-
|
|
3015
|
+
A.call(this, y);
|
|
3016
3016
|
break;
|
|
3017
3017
|
}
|
|
3018
3018
|
}
|
|
3019
3019
|
try {
|
|
3020
|
-
u = Xa.call(this,
|
|
3020
|
+
u = Xa.call(this, p);
|
|
3021
3021
|
} catch (g) {
|
|
3022
3022
|
return Promise.reject(g);
|
|
3023
3023
|
}
|
|
@@ -3454,10 +3454,10 @@ const H3 = async (e, t, n, r, o, s, i) => {
|
|
|
3454
3454
|
return (() => {
|
|
3455
3455
|
const m = {};
|
|
3456
3456
|
for (let f = 0; f < l.length; f++) {
|
|
3457
|
-
const
|
|
3457
|
+
const p = ds(
|
|
3458
3458
|
l[f]
|
|
3459
3459
|
), g = "Home_" + (Math.floor(f / s) + 1) + "_" + (Math.floor(f % s) + 1);
|
|
3460
|
-
|
|
3460
|
+
p && (m[g] = { ...p });
|
|
3461
3461
|
}
|
|
3462
3462
|
return m;
|
|
3463
3463
|
})();
|
|
@@ -3558,7 +3558,7 @@ const H3 = async (e, t, n, r, o, s, i) => {
|
|
|
3558
3558
|
tema: async (e) => {
|
|
3559
3559
|
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Be(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), m = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f } = J();
|
|
3560
3560
|
try {
|
|
3561
|
-
const
|
|
3561
|
+
const p = await s.getNewsListTags({
|
|
3562
3562
|
tagid: m,
|
|
3563
3563
|
size: l,
|
|
3564
3564
|
tagtype: Number(f),
|
|
@@ -3566,9 +3566,9 @@ const H3 = async (e, t, n, r, o, s, i) => {
|
|
|
3566
3566
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
3567
3567
|
page: d
|
|
3568
3568
|
});
|
|
3569
|
-
if (!
|
|
3570
|
-
const g =
|
|
3571
|
-
return g ? (
|
|
3569
|
+
if (!p) return ve(t);
|
|
3570
|
+
const g = p.data.entity;
|
|
3571
|
+
return g ? (p.data.data?.length < l || c.push({
|
|
3572
3572
|
rel: "next",
|
|
3573
3573
|
url: Wt(n, i, d)
|
|
3574
3574
|
}), d > 1 && c.push({
|
|
@@ -3602,8 +3602,8 @@ const H3 = async (e, t, n, r, o, s, i) => {
|
|
|
3602
3602
|
url: `${n.siteUrl}${r}`
|
|
3603
3603
|
}
|
|
3604
3604
|
}) : t;
|
|
3605
|
-
} catch (
|
|
3606
|
-
return console.error(
|
|
3605
|
+
} catch (p) {
|
|
3606
|
+
return console.error(p), ve(t);
|
|
3607
3607
|
}
|
|
3608
3608
|
},
|
|
3609
3609
|
"ultimas-noticias": (e) => {
|
|
@@ -3785,13 +3785,13 @@ async function V3({
|
|
|
3785
3785
|
banners: u,
|
|
3786
3786
|
internalPath: m,
|
|
3787
3787
|
config: f,
|
|
3788
|
-
socials:
|
|
3788
|
+
socials: p,
|
|
3789
3789
|
speculationType: g = "Common",
|
|
3790
|
-
preloadImageUrl:
|
|
3790
|
+
preloadImageUrl: A,
|
|
3791
3791
|
custom_Speculation: y,
|
|
3792
3792
|
custom_metadata: C,
|
|
3793
3793
|
custom_scriptReplaces: S,
|
|
3794
|
-
head_custom_elements:
|
|
3794
|
+
head_custom_elements: _
|
|
3795
3795
|
}) {
|
|
3796
3796
|
const T = C || await uc[o]({
|
|
3797
3797
|
meta: n,
|
|
@@ -3830,7 +3830,7 @@ async function V3({
|
|
|
3830
3830
|
]
|
|
3831
3831
|
}
|
|
3832
3832
|
),
|
|
3833
|
-
t.preloadImages &&
|
|
3833
|
+
t.preloadImages && A && /* @__PURE__ */ a(Da, { images: A }),
|
|
3834
3834
|
/* @__PURE__ */ a(ks, { config: f }),
|
|
3835
3835
|
/* @__PURE__ */ a(
|
|
3836
3836
|
Qr,
|
|
@@ -3849,7 +3849,7 @@ async function V3({
|
|
|
3849
3849
|
axiosApi: e
|
|
3850
3850
|
}
|
|
3851
3851
|
),
|
|
3852
|
-
/* @__PURE__ */ a(Ts, { config: f, socials:
|
|
3852
|
+
/* @__PURE__ */ a(Ts, { config: f, socials: p }),
|
|
3853
3853
|
t.schemas_Videos && m && /* @__PURE__ */ a(
|
|
3854
3854
|
Us,
|
|
3855
3855
|
{
|
|
@@ -3876,7 +3876,7 @@ async function V3({
|
|
|
3876
3876
|
customSpeculation: y
|
|
3877
3877
|
}
|
|
3878
3878
|
),
|
|
3879
|
-
|
|
3879
|
+
_
|
|
3880
3880
|
] });
|
|
3881
3881
|
}
|
|
3882
3882
|
const F3 = ({
|
|
@@ -3898,9 +3898,9 @@ const F3 = ({
|
|
|
3898
3898
|
config: s,
|
|
3899
3899
|
currentNew: c,
|
|
3900
3900
|
internalPath: i
|
|
3901
|
-
}),
|
|
3901
|
+
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : f : void 0, y = g ? l.after.customData ? l.after.customData : f : void 0;
|
|
3902
3902
|
return /* @__PURE__ */ h(K, { children: [
|
|
3903
|
-
/* @__PURE__ */ a(Qr, { name: "bodybefore", banners: n, replaces:
|
|
3903
|
+
/* @__PURE__ */ a(Qr, { name: "bodybefore", banners: n, replaces: A }),
|
|
3904
3904
|
e,
|
|
3905
3905
|
/* @__PURE__ */ a(Vo, {}),
|
|
3906
3906
|
/* @__PURE__ */ a(Qo, {}),
|
|
@@ -3950,15 +3950,15 @@ function wc({
|
|
|
3950
3950
|
enableDrag: s,
|
|
3951
3951
|
onIndexChange: i
|
|
3952
3952
|
}) {
|
|
3953
|
-
const [c, d] = Y(!1), [l, u] = Y(0), [m, f] = Y(0), [
|
|
3953
|
+
const [c, d] = Y(!1), [l, u] = Y(0), [m, f] = Y(0), [p, g] = Y(0), [A, y] = Y(0), [C, S] = Y(null), _ = Or(null), [T, b] = Y(1), x = he(() => {
|
|
3954
3954
|
if (o) return 1;
|
|
3955
|
-
const w =
|
|
3955
|
+
const w = _.current?.offsetWidth || window.innerWidth, N = n + r, R = Math.floor(w / N);
|
|
3956
3956
|
return Math.max(1, R);
|
|
3957
3957
|
}, [o, n, r]);
|
|
3958
3958
|
Me(() => {
|
|
3959
3959
|
const w = () => {
|
|
3960
|
-
const
|
|
3961
|
-
b(
|
|
3960
|
+
const N = x();
|
|
3961
|
+
b(N);
|
|
3962
3962
|
};
|
|
3963
3963
|
return w(), window.addEventListener("resize", w), () => window.removeEventListener("resize", w);
|
|
3964
3964
|
}, [x]);
|
|
@@ -3969,19 +3969,19 @@ function wc({
|
|
|
3969
3969
|
const w = x();
|
|
3970
3970
|
return w === 1 ? 1 : Math.max(1, Math.ceil(w / 2));
|
|
3971
3971
|
}, [x]), G = he(
|
|
3972
|
-
(w,
|
|
3972
|
+
(w, N = 0) => {
|
|
3973
3973
|
if (o) {
|
|
3974
|
-
const R =
|
|
3975
|
-
return -(w * (100 + r)) +
|
|
3974
|
+
const R = _.current?.offsetWidth || window.innerWidth;
|
|
3975
|
+
return -(w * (100 + r)) + N / R * 100;
|
|
3976
3976
|
}
|
|
3977
|
-
return -(w * (n + r)) +
|
|
3977
|
+
return -(w * (n + r)) + N;
|
|
3978
3978
|
},
|
|
3979
3979
|
[o, n, r]
|
|
3980
3980
|
), O = he(
|
|
3981
3981
|
(w) => {
|
|
3982
|
-
const
|
|
3982
|
+
const N = _.current?.offsetWidth || window.innerWidth, R = x(), M = te();
|
|
3983
3983
|
if (o)
|
|
3984
|
-
return Math.abs(w) /
|
|
3984
|
+
return Math.abs(w) / N * 100 > 30 ? 1 : 0;
|
|
3985
3985
|
{
|
|
3986
3986
|
const B = n + r, H = Math.abs(w) / B;
|
|
3987
3987
|
return H >= (R === 1 ? 0.2 : 0.3) ? R === 1 ? 1 : Math.min(Math.round(H), M) : 0;
|
|
@@ -3996,7 +3996,7 @@ function wc({
|
|
|
3996
3996
|
), ce = he(
|
|
3997
3997
|
(w) => {
|
|
3998
3998
|
if (!c || !s) return;
|
|
3999
|
-
const
|
|
3999
|
+
const N = w - l, R = (n + r) * 1.2, M = e === 0 && N > 0, B = e === Q && N < 0, H = M || B ? Math.sign(N) * Math.min(Math.abs(N), R) : N;
|
|
4000
4000
|
f(w), g(H);
|
|
4001
4001
|
},
|
|
4002
4002
|
[c, l, s, e, Q, n, r]
|
|
@@ -4008,9 +4008,9 @@ function wc({
|
|
|
4008
4008
|
), k = he(
|
|
4009
4009
|
(w) => {
|
|
4010
4010
|
if (!c || !s) return;
|
|
4011
|
-
const
|
|
4011
|
+
const N = m - l, R = Date.now() - A, M = Math.abs(N) / Math.max(R, 1), B = O(N), V = M > 0.5 && Math.abs(N) > 50 ? Math.max(B, 1) : B;
|
|
4012
4012
|
if (V > 0)
|
|
4013
|
-
if (
|
|
4013
|
+
if (N > 0) {
|
|
4014
4014
|
const F = Math.max(0, e - V);
|
|
4015
4015
|
i(F);
|
|
4016
4016
|
} else {
|
|
@@ -4023,7 +4023,7 @@ function wc({
|
|
|
4023
4023
|
c,
|
|
4024
4024
|
m,
|
|
4025
4025
|
l,
|
|
4026
|
-
|
|
4026
|
+
A,
|
|
4027
4027
|
e,
|
|
4028
4028
|
Q,
|
|
4029
4029
|
s,
|
|
@@ -4055,16 +4055,16 @@ function wc({
|
|
|
4055
4055
|
);
|
|
4056
4056
|
return Me(() => {
|
|
4057
4057
|
if (c)
|
|
4058
|
-
return
|
|
4059
|
-
|
|
4058
|
+
return _.current?.addEventListener("mousemove", D), _.current?.addEventListener("mouseup", k), () => {
|
|
4059
|
+
_.current?.removeEventListener(
|
|
4060
4060
|
"mousemove",
|
|
4061
4061
|
D
|
|
4062
|
-
),
|
|
4062
|
+
), _.current?.removeEventListener("mouseup", k);
|
|
4063
4063
|
};
|
|
4064
4064
|
}, [c, ce, k, D]), {
|
|
4065
4065
|
isDragging: c,
|
|
4066
|
-
translateOffset:
|
|
4067
|
-
carrouselRef:
|
|
4066
|
+
translateOffset: p,
|
|
4067
|
+
carrouselRef: _,
|
|
4068
4068
|
maxIndex: Q,
|
|
4069
4069
|
getTranslateValue: G,
|
|
4070
4070
|
actualVisibleItems: T,
|
|
@@ -4087,19 +4087,19 @@ function $3(e) {
|
|
|
4087
4087
|
fullPageWidth: i = !1,
|
|
4088
4088
|
pagination: c = !1,
|
|
4089
4089
|
enableDrag: d = !0
|
|
4090
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = Y(0), [f,
|
|
4090
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = Y(0), [f, p] = Y(!1);
|
|
4091
4091
|
Me(() => {
|
|
4092
|
-
|
|
4092
|
+
p(!0);
|
|
4093
4093
|
const G = document.getElementById("ssr-dummy_" + n);
|
|
4094
4094
|
G && G.remove();
|
|
4095
4095
|
}, []);
|
|
4096
4096
|
const {
|
|
4097
4097
|
isDragging: g,
|
|
4098
|
-
translateOffset:
|
|
4098
|
+
translateOffset: A,
|
|
4099
4099
|
carrouselRef: y,
|
|
4100
4100
|
maxIndex: C,
|
|
4101
4101
|
getTranslateValue: S,
|
|
4102
|
-
actualVisibleItems:
|
|
4102
|
+
actualVisibleItems: _,
|
|
4103
4103
|
dragHandlers: T
|
|
4104
4104
|
} = wc({
|
|
4105
4105
|
currentIndex: u,
|
|
@@ -4121,7 +4121,7 @@ function $3(e) {
|
|
|
4121
4121
|
b(u + 1);
|
|
4122
4122
|
}, [u, b]);
|
|
4123
4123
|
if (!f) return;
|
|
4124
|
-
const Q = S(u,
|
|
4124
|
+
const Q = S(u, A), te = i ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
4125
4125
|
return /* @__PURE__ */ h("div", { className: `${n}- carrousel-container`, children: [
|
|
4126
4126
|
u > 0 && /* @__PURE__ */ a(
|
|
4127
4127
|
"button",
|
|
@@ -4220,14 +4220,14 @@ function $3(e) {
|
|
|
4220
4220
|
}
|
|
4221
4221
|
),
|
|
4222
4222
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4223
|
-
{ length: Math.ceil(l.length /
|
|
4223
|
+
{ length: Math.ceil(l.length / _) },
|
|
4224
4224
|
(G, O) => {
|
|
4225
|
-
const ee = Math.floor(u /
|
|
4225
|
+
const ee = Math.floor(u / _) === O;
|
|
4226
4226
|
return /* @__PURE__ */ a(
|
|
4227
4227
|
"li",
|
|
4228
4228
|
{
|
|
4229
4229
|
className: ee ? "active" : "",
|
|
4230
|
-
onClick: () => b(O *
|
|
4230
|
+
onClick: () => b(O * _),
|
|
4231
4231
|
style: {
|
|
4232
4232
|
cursor: "pointer",
|
|
4233
4233
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
@@ -6574,8 +6574,8 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6574
6574
|
const { currentPage: t, showNext: n, maxPages: r, pathname: o, query: s } = e, i = (c, d, l) => {
|
|
6575
6575
|
let u = "";
|
|
6576
6576
|
const m = d.split("/");
|
|
6577
|
-
return m.indexOf("page") !== -1 && m.splice(u.indexOf("page") - 1, m.length - 1), m.forEach((f,
|
|
6578
|
-
|
|
6577
|
+
return m.indexOf("page") !== -1 && m.splice(u.indexOf("page") - 1, m.length - 1), m.forEach((f, p) => {
|
|
6578
|
+
p !== 0 && (u += `/${f}`);
|
|
6579
6579
|
}), c === "next" ? u += `/page/${t + 1}${l ? `?query=${l}` : ""}` : u += `/page/${t - 1}${l ? `?query=${l}` : ""}`;
|
|
6580
6580
|
};
|
|
6581
6581
|
return (t > 1 || n && t < r) && /* @__PURE__ */ h("section", { className: Pn.content, children: [
|
|
@@ -6631,7 +6631,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6631
6631
|
priorityHigh: u = !1,
|
|
6632
6632
|
isLarge: m,
|
|
6633
6633
|
paths: f,
|
|
6634
|
-
keywords:
|
|
6634
|
+
keywords: p
|
|
6635
6635
|
} = e;
|
|
6636
6636
|
return /* @__PURE__ */ h(
|
|
6637
6637
|
"section",
|
|
@@ -6672,7 +6672,7 @@ const Dd = "_content_xlsy2_1", Md = "_videoContent_xlsy2_39", jd = "_articleSect
|
|
|
6672
6672
|
overImage: d,
|
|
6673
6673
|
isTitle: l,
|
|
6674
6674
|
paths: f,
|
|
6675
|
-
keywords:
|
|
6675
|
+
keywords: p
|
|
6676
6676
|
}
|
|
6677
6677
|
) })
|
|
6678
6678
|
]
|
|
@@ -9601,12 +9601,12 @@ function Zf(e) {
|
|
|
9601
9601
|
const d = [], l = [];
|
|
9602
9602
|
let u = "", m = !0;
|
|
9603
9603
|
for (let f = 0; f < c; f++) {
|
|
9604
|
-
const
|
|
9604
|
+
const p = `[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f + 1}) {
|
|
9605
9605
|
background-color:var(--carrousel-pagination-background-color)
|
|
9606
9606
|
}`;
|
|
9607
9607
|
u += `
|
|
9608
9608
|
.${n}.carrousel-container {
|
|
9609
|
-
${
|
|
9609
|
+
${p}
|
|
9610
9610
|
[data-index="${f}"]:checked ~ .carrousel-ssr {
|
|
9611
9611
|
transform: translate(-${f * (100 + o) + "%"});
|
|
9612
9612
|
transition: transform 300ms;
|
|
@@ -9740,13 +9740,13 @@ const Xf = (e) => /* @__PURE__ */ a(
|
|
|
9740
9740
|
(g) => g[1]
|
|
9741
9741
|
).map(
|
|
9742
9742
|
(g) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${g}" class="carrusel-note-item" width="800" height="469"/>`
|
|
9743
|
-
), f = "gallery_embeded" + d.toString(),
|
|
9743
|
+
), f = "gallery_embeded" + d.toString(), p = Zf({
|
|
9744
9744
|
slot_id: f,
|
|
9745
9745
|
children: m,
|
|
9746
9746
|
visibleItems: 1,
|
|
9747
9747
|
cardGap: 0
|
|
9748
9748
|
});
|
|
9749
|
-
r +=
|
|
9749
|
+
r += p, o = l;
|
|
9750
9750
|
}
|
|
9751
9751
|
return r += e.slice(o), r;
|
|
9752
9752
|
}, r0 = async (e, t, n) => {
|
|
@@ -9758,20 +9758,20 @@ const Xf = (e) => /* @__PURE__ */ a(
|
|
|
9758
9758
|
(S) => d.includes(S?.[0]?.info.link.internal || "")
|
|
9759
9759
|
);
|
|
9760
9760
|
if (!l || !l[0]) continue;
|
|
9761
|
-
const u = l[0].preview?.sizes?.[0], m = u ? await pe(u.url) : "", f = l[0].info.section?.url ?? "#",
|
|
9761
|
+
const u = l[0].preview?.sizes?.[0], m = u ? await pe(u.url) : "", f = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", y = (await Promise.all(
|
|
9762
9762
|
l[0].preview?.sizes?.map(async (S) => {
|
|
9763
|
-
const
|
|
9764
|
-
return S.width < 200 ? `<source srcset="${
|
|
9763
|
+
const _ = await pe(S.url);
|
|
9764
|
+
return S.width < 200 ? `<source srcset="${_}" media="(width < 750px)"/>` : `<source srcset="${_}" media="(width >= 750px)"/>`;
|
|
9765
9765
|
})
|
|
9766
|
-
)).reduce((S,
|
|
9766
|
+
)).reduce((S, _) => S += _, ""), C = `
|
|
9767
9767
|
<span data-src="${d}">
|
|
9768
9768
|
<picture style='display: flex'>
|
|
9769
9769
|
${y}
|
|
9770
9770
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${t.noteRelatedImageAlt}" />
|
|
9771
9771
|
</picture>
|
|
9772
9772
|
<div>
|
|
9773
|
-
<a class="section" href="${f}">${
|
|
9774
|
-
<a class="title" href="${g}">${
|
|
9773
|
+
<a class="section" href="${f}">${p}</a>
|
|
9774
|
+
<a class="title" href="${g}">${A}</a>
|
|
9775
9775
|
</div>
|
|
9776
9776
|
</span>
|
|
9777
9777
|
`;
|
|
@@ -9792,12 +9792,12 @@ async function o0(e, t) {
|
|
|
9792
9792
|
} catch {
|
|
9793
9793
|
console.log("error fetching schema videos embed.");
|
|
9794
9794
|
}
|
|
9795
|
-
let
|
|
9795
|
+
let p = "";
|
|
9796
9796
|
if (m && m.data) {
|
|
9797
9797
|
let g = "";
|
|
9798
9798
|
m.data.data[0].info.type === "video-youtube" ? g = `<iframe
|
|
9799
9799
|
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen
|
|
9800
|
-
style="position: relative!important;" src="https://www.youtube.com/embed/${m.data.data[0].main.code}"></iframe>` : g = m.data.data[0].main.code,
|
|
9800
|
+
style="position: relative!important;" src="https://www.youtube.com/embed/${m.data.data[0].main.code}"></iframe>` : g = m.data.data[0].main.code, p = `
|
|
9801
9801
|
<figure class="videoFigure">
|
|
9802
9802
|
${f && f.data && f.data.data && /* @__PURE__ */ h("script", { type: "application/ld+json", children: [
|
|
9803
9803
|
"$",
|
|
@@ -9810,7 +9810,7 @@ async function o0(e, t) {
|
|
|
9810
9810
|
</figure>
|
|
9811
9811
|
`;
|
|
9812
9812
|
}
|
|
9813
|
-
o +=
|
|
9813
|
+
o += p, s = u;
|
|
9814
9814
|
}
|
|
9815
9815
|
return o += e.slice(s), o;
|
|
9816
9816
|
}
|
|
@@ -10198,25 +10198,25 @@ const wr = {
|
|
|
10198
10198
|
const c = [], l = t, u = Object.keys(e).length / l;
|
|
10199
10199
|
for (let m = 1; m <= u; m++)
|
|
10200
10200
|
for (let f = 1; f <= l; f++) {
|
|
10201
|
-
const
|
|
10202
|
-
!e[
|
|
10201
|
+
const p = "Home_" + m + "_" + f;
|
|
10202
|
+
!e[p] || !e[p].blockSass || !e[p].blockSass[0] || !e[p].blockSass[0].value || !e[p].blockSass[0].block || e[p].blockSass[0].block === "No Mostrar" || c.push(
|
|
10203
10203
|
/* @__PURE__ */ h(
|
|
10204
10204
|
Ac,
|
|
10205
10205
|
{
|
|
10206
|
-
show: !!e[
|
|
10206
|
+
show: !!e[p].content?.data,
|
|
10207
10207
|
order: (m - 1) * l + (f - 1),
|
|
10208
10208
|
children: [
|
|
10209
10209
|
/* @__PURE__ */ a(
|
|
10210
10210
|
xo,
|
|
10211
10211
|
{
|
|
10212
|
-
component: e[
|
|
10212
|
+
component: e[p].blockSass[0].block,
|
|
10213
10213
|
banners: s,
|
|
10214
|
-
slot_id:
|
|
10214
|
+
slot_id: p,
|
|
10215
10215
|
data: {
|
|
10216
|
-
...e[
|
|
10217
|
-
content: e[
|
|
10218
|
-
title: e[
|
|
10219
|
-
titleUrl: e[
|
|
10216
|
+
...e[p].blockSass[0].block ? n[e[p].blockSass[0].block] : [],
|
|
10217
|
+
content: e[p].content?.data ?? [],
|
|
10218
|
+
title: e[p].blockSass[0].title ?? void 0,
|
|
10219
|
+
titleUrl: e[p].blockSass[0].link ?? void 0,
|
|
10220
10220
|
autorIcon: /* @__PURE__ */ a(r, {}),
|
|
10221
10221
|
paths: o.paths,
|
|
10222
10222
|
showTagBySection: i
|
|
@@ -10636,7 +10636,7 @@ const wr = {
|
|
|
10636
10636
|
showNext: !(t.length < e.newsListLimit)
|
|
10637
10637
|
}
|
|
10638
10638
|
),
|
|
10639
|
-
children: Array.isArray(t) && t?.map((
|
|
10639
|
+
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ h(pn, { children: [
|
|
10640
10640
|
m.includes(g + 1) && /* @__PURE__ */ a(
|
|
10641
10641
|
"div",
|
|
10642
10642
|
{
|
|
@@ -10654,7 +10654,7 @@ const wr = {
|
|
|
10654
10654
|
ca,
|
|
10655
10655
|
{
|
|
10656
10656
|
autorIcon: e.autorIcon,
|
|
10657
|
-
item:
|
|
10657
|
+
item: p,
|
|
10658
10658
|
option: l,
|
|
10659
10659
|
paths: e.paths
|
|
10660
10660
|
},
|
|
@@ -11103,7 +11103,7 @@ const Ng = (e) => {
|
|
|
11103
11103
|
isVideo: u = !1,
|
|
11104
11104
|
config: m,
|
|
11105
11105
|
overImage: f = "default",
|
|
11106
|
-
isTitle:
|
|
11106
|
+
isTitle: p = !1,
|
|
11107
11107
|
isLarge: g = !1
|
|
11108
11108
|
} = o;
|
|
11109
11109
|
return /* @__PURE__ */ a(
|
|
@@ -11142,7 +11142,7 @@ const Ng = (e) => {
|
|
|
11142
11142
|
share: e.share,
|
|
11143
11143
|
config: m,
|
|
11144
11144
|
overImage: f,
|
|
11145
|
-
isTitle:
|
|
11145
|
+
isTitle: p,
|
|
11146
11146
|
paths: o.paths,
|
|
11147
11147
|
isVisible: e.isVisible
|
|
11148
11148
|
}
|
|
@@ -11342,9 +11342,9 @@ async function y9({
|
|
|
11342
11342
|
throw new Error(`Respuesta inesperada del servidor: ${f.status}`);
|
|
11343
11343
|
} catch (f) {
|
|
11344
11344
|
if (console.error("Error reporting comment:", f), oe.isAxiosError(f)) {
|
|
11345
|
-
const
|
|
11346
|
-
throw
|
|
11347
|
-
g?.error || g?.message || `Error HTTP ${
|
|
11345
|
+
const p = f.response?.status, g = f.response?.data;
|
|
11346
|
+
throw p === 400 ? new Error("Datos inválidos para el reporte") : p === 401 ? new Error("Token de API inválido") : p === 403 ? new Error("Acceso denegado para reportar comentario") : p === 404 ? new Error("Comentario no encontrado") : p === 409 ? new Error("El comentario ya fue reportado por este usuario") : p === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
11347
|
+
g?.error || g?.message || `Error HTTP ${p}: No se pudo reportar el comentario`
|
|
11348
11348
|
);
|
|
11349
11349
|
}
|
|
11350
11350
|
throw f;
|
|
@@ -11407,8 +11407,8 @@ var _r;
|
|
|
11407
11407
|
function Zg() {
|
|
11408
11408
|
if (_r) return ne;
|
|
11409
11409
|
_r = 1;
|
|
11410
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120,
|
|
11411
|
-
function
|
|
11410
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
11411
|
+
function _(b) {
|
|
11412
11412
|
if (typeof b == "object" && b !== null) {
|
|
11413
11413
|
var x = b.$$typeof;
|
|
11414
11414
|
switch (x) {
|
|
@@ -11426,7 +11426,7 @@ function Zg() {
|
|
|
11426
11426
|
case c:
|
|
11427
11427
|
case u:
|
|
11428
11428
|
case g:
|
|
11429
|
-
case
|
|
11429
|
+
case p:
|
|
11430
11430
|
case i:
|
|
11431
11431
|
return b;
|
|
11432
11432
|
default:
|
|
@@ -11439,44 +11439,44 @@ function Zg() {
|
|
|
11439
11439
|
}
|
|
11440
11440
|
}
|
|
11441
11441
|
function T(b) {
|
|
11442
|
-
return
|
|
11442
|
+
return _(b) === l;
|
|
11443
11443
|
}
|
|
11444
|
-
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = r, ne.Lazy = g, ne.Memo =
|
|
11445
|
-
return T(b) ||
|
|
11444
|
+
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = r, ne.Lazy = g, ne.Memo = p, ne.Portal = n, ne.Profiler = s, ne.StrictMode = o, ne.Suspense = m, ne.isAsyncMode = function(b) {
|
|
11445
|
+
return T(b) || _(b) === d;
|
|
11446
11446
|
}, ne.isConcurrentMode = T, ne.isContextConsumer = function(b) {
|
|
11447
|
-
return
|
|
11447
|
+
return _(b) === c;
|
|
11448
11448
|
}, ne.isContextProvider = function(b) {
|
|
11449
|
-
return
|
|
11449
|
+
return _(b) === i;
|
|
11450
11450
|
}, ne.isElement = function(b) {
|
|
11451
11451
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
11452
11452
|
}, ne.isForwardRef = function(b) {
|
|
11453
|
-
return
|
|
11453
|
+
return _(b) === u;
|
|
11454
11454
|
}, ne.isFragment = function(b) {
|
|
11455
|
-
return
|
|
11455
|
+
return _(b) === r;
|
|
11456
11456
|
}, ne.isLazy = function(b) {
|
|
11457
|
-
return
|
|
11457
|
+
return _(b) === g;
|
|
11458
11458
|
}, ne.isMemo = function(b) {
|
|
11459
|
-
return
|
|
11459
|
+
return _(b) === p;
|
|
11460
11460
|
}, ne.isPortal = function(b) {
|
|
11461
|
-
return
|
|
11461
|
+
return _(b) === n;
|
|
11462
11462
|
}, ne.isProfiler = function(b) {
|
|
11463
|
-
return
|
|
11463
|
+
return _(b) === s;
|
|
11464
11464
|
}, ne.isStrictMode = function(b) {
|
|
11465
|
-
return
|
|
11465
|
+
return _(b) === o;
|
|
11466
11466
|
}, ne.isSuspense = function(b) {
|
|
11467
|
-
return
|
|
11467
|
+
return _(b) === m;
|
|
11468
11468
|
}, ne.isValidElementType = function(b) {
|
|
11469
|
-
return typeof b == "string" || typeof b == "function" || b === r || b === l || b === s || b === o || b === m || b === f || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof ===
|
|
11470
|
-
}, ne.typeOf =
|
|
11469
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === l || b === s || b === o || b === m || b === f || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === p || b.$$typeof === i || b.$$typeof === c || b.$$typeof === u || b.$$typeof === y || b.$$typeof === C || b.$$typeof === S || b.$$typeof === A);
|
|
11470
|
+
}, ne.typeOf = _, ne;
|
|
11471
11471
|
}
|
|
11472
11472
|
var ae = {};
|
|
11473
11473
|
var Nr;
|
|
11474
11474
|
function Xg() {
|
|
11475
11475
|
return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
11476
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120,
|
|
11477
|
-
function
|
|
11476
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
11477
|
+
function _(L) {
|
|
11478
11478
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11479
|
-
L === r || L === l || L === s || L === o || L === m || L === f || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof ===
|
|
11479
|
+
L === r || L === l || L === s || L === o || L === m || L === f || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === y || L.$$typeof === C || L.$$typeof === S || L.$$typeof === A);
|
|
11480
11480
|
}
|
|
11481
11481
|
function T(L) {
|
|
11482
11482
|
if (typeof L == "object" && L !== null) {
|
|
@@ -11498,7 +11498,7 @@ function Xg() {
|
|
|
11498
11498
|
case c:
|
|
11499
11499
|
case u:
|
|
11500
11500
|
case g:
|
|
11501
|
-
case
|
|
11501
|
+
case p:
|
|
11502
11502
|
case i:
|
|
11503
11503
|
return ka;
|
|
11504
11504
|
default:
|
|
@@ -11510,14 +11510,14 @@ function Xg() {
|
|
|
11510
11510
|
}
|
|
11511
11511
|
}
|
|
11512
11512
|
}
|
|
11513
|
-
var b = d, x = l, j = c, Q = i, te = t, G = u, O = r, ee = g, ce =
|
|
11513
|
+
var b = d, x = l, j = c, Q = i, te = t, G = u, O = r, ee = g, ce = p, D = n, k = s, E = o, P = m, I = !1;
|
|
11514
11514
|
function z(L) {
|
|
11515
11515
|
return I || (I = !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.")), w(L) || T(L) === d;
|
|
11516
11516
|
}
|
|
11517
11517
|
function w(L) {
|
|
11518
11518
|
return T(L) === l;
|
|
11519
11519
|
}
|
|
11520
|
-
function
|
|
11520
|
+
function N(L) {
|
|
11521
11521
|
return T(L) === c;
|
|
11522
11522
|
}
|
|
11523
11523
|
function R(L) {
|
|
@@ -11536,7 +11536,7 @@ function Xg() {
|
|
|
11536
11536
|
return T(L) === g;
|
|
11537
11537
|
}
|
|
11538
11538
|
function F(L) {
|
|
11539
|
-
return T(L) ===
|
|
11539
|
+
return T(L) === p;
|
|
11540
11540
|
}
|
|
11541
11541
|
function Z(L) {
|
|
11542
11542
|
return T(L) === n;
|
|
@@ -11550,7 +11550,7 @@ function Xg() {
|
|
|
11550
11550
|
function ie(L) {
|
|
11551
11551
|
return T(L) === m;
|
|
11552
11552
|
}
|
|
11553
|
-
ae.AsyncMode = b, ae.ConcurrentMode = x, ae.ContextConsumer = j, ae.ContextProvider = Q, ae.Element = te, ae.ForwardRef = G, ae.Fragment = O, ae.Lazy = ee, ae.Memo = ce, ae.Portal = D, ae.Profiler = k, ae.StrictMode = E, ae.Suspense = P, ae.isAsyncMode = z, ae.isConcurrentMode = w, ae.isContextConsumer =
|
|
11553
|
+
ae.AsyncMode = b, ae.ConcurrentMode = x, ae.ContextConsumer = j, ae.ContextProvider = Q, ae.Element = te, ae.ForwardRef = G, ae.Fragment = O, ae.Lazy = ee, ae.Memo = ce, ae.Portal = D, ae.Profiler = k, ae.StrictMode = E, ae.Suspense = P, ae.isAsyncMode = z, ae.isConcurrentMode = w, ae.isContextConsumer = N, ae.isContextProvider = R, ae.isElement = M, ae.isForwardRef = B, ae.isFragment = H, ae.isLazy = V, ae.isMemo = F, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = W, ae.isSuspense = ie, ae.isValidElementType = _, ae.typeOf = T;
|
|
11554
11554
|
})()), ae;
|
|
11555
11555
|
}
|
|
11556
11556
|
var Sr;
|
|
@@ -11651,9 +11651,9 @@ function tp() {
|
|
|
11651
11651
|
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
11652
11652
|
), m instanceof Error && !(m.message in n)) {
|
|
11653
11653
|
n[m.message] = !0;
|
|
11654
|
-
var
|
|
11654
|
+
var p = l ? l() : "";
|
|
11655
11655
|
e(
|
|
11656
|
-
"Failed " + c + " type: " + m.message + (
|
|
11656
|
+
"Failed " + c + " type: " + m.message + (p ?? "")
|
|
11657
11657
|
);
|
|
11658
11658
|
}
|
|
11659
11659
|
}
|
|
@@ -11683,11 +11683,11 @@ function np() {
|
|
|
11683
11683
|
return Zn = function(c, d) {
|
|
11684
11684
|
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
11685
11685
|
function m(w) {
|
|
11686
|
-
var
|
|
11687
|
-
if (typeof
|
|
11688
|
-
return
|
|
11686
|
+
var N = w && (l && w[l] || w[u]);
|
|
11687
|
+
if (typeof N == "function")
|
|
11688
|
+
return N;
|
|
11689
11689
|
}
|
|
11690
|
-
var f = "<<anonymous>>",
|
|
11690
|
+
var f = "<<anonymous>>", p = {
|
|
11691
11691
|
array: C("array"),
|
|
11692
11692
|
bigint: C("bigint"),
|
|
11693
11693
|
bool: C("boolean"),
|
|
@@ -11697,7 +11697,7 @@ function np() {
|
|
|
11697
11697
|
string: C("string"),
|
|
11698
11698
|
symbol: C("symbol"),
|
|
11699
11699
|
any: S(),
|
|
11700
|
-
arrayOf:
|
|
11700
|
+
arrayOf: _,
|
|
11701
11701
|
element: T(),
|
|
11702
11702
|
elementType: b(),
|
|
11703
11703
|
instanceOf: x,
|
|
@@ -11708,16 +11708,16 @@ function np() {
|
|
|
11708
11708
|
shape: ee,
|
|
11709
11709
|
exact: ce
|
|
11710
11710
|
};
|
|
11711
|
-
function g(w,
|
|
11712
|
-
return w ===
|
|
11711
|
+
function g(w, N) {
|
|
11712
|
+
return w === N ? w !== 0 || 1 / w === 1 / N : w !== w && N !== N;
|
|
11713
11713
|
}
|
|
11714
|
-
function
|
|
11715
|
-
this.message = w, this.data =
|
|
11714
|
+
function A(w, N) {
|
|
11715
|
+
this.message = w, this.data = N && typeof N == "object" ? N : {}, this.stack = "";
|
|
11716
11716
|
}
|
|
11717
|
-
|
|
11717
|
+
A.prototype = Error.prototype;
|
|
11718
11718
|
function y(w) {
|
|
11719
11719
|
if (process.env.NODE_ENV !== "production")
|
|
11720
|
-
var
|
|
11720
|
+
var N = {}, R = 0;
|
|
11721
11721
|
function M(H, V, F, Z, X, W, ie) {
|
|
11722
11722
|
if (Z = Z || f, W = W || F, ie !== n) {
|
|
11723
11723
|
if (d) {
|
|
@@ -11727,42 +11727,42 @@ function np() {
|
|
|
11727
11727
|
throw L.name = "Invariant Violation", L;
|
|
11728
11728
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
11729
11729
|
var Ae = Z + ":" + F;
|
|
11730
|
-
!
|
|
11730
|
+
!N[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
11731
11731
|
R < 3 && (s(
|
|
11732
11732
|
"You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
11733
|
-
),
|
|
11733
|
+
), N[Ae] = !0, R++);
|
|
11734
11734
|
}
|
|
11735
11735
|
}
|
|
11736
|
-
return V[F] == null ? H ? V[F] === null ? new
|
|
11736
|
+
return V[F] == null ? H ? V[F] === null ? new A("The " + X + " `" + W + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new A("The " + X + " `" + W + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : w(V, F, Z, X, W);
|
|
11737
11737
|
}
|
|
11738
11738
|
var B = M.bind(null, !1);
|
|
11739
11739
|
return B.isRequired = M.bind(null, !0), B;
|
|
11740
11740
|
}
|
|
11741
11741
|
function C(w) {
|
|
11742
|
-
function
|
|
11742
|
+
function N(R, M, B, H, V, F) {
|
|
11743
11743
|
var Z = R[M], X = E(Z);
|
|
11744
11744
|
if (X !== w) {
|
|
11745
11745
|
var W = P(Z);
|
|
11746
|
-
return new
|
|
11746
|
+
return new A(
|
|
11747
11747
|
"Invalid " + H + " `" + V + "` of type " + ("`" + W + "` supplied to `" + B + "`, expected ") + ("`" + w + "`."),
|
|
11748
11748
|
{ expectedType: w }
|
|
11749
11749
|
);
|
|
11750
11750
|
}
|
|
11751
11751
|
return null;
|
|
11752
11752
|
}
|
|
11753
|
-
return y(
|
|
11753
|
+
return y(N);
|
|
11754
11754
|
}
|
|
11755
11755
|
function S() {
|
|
11756
11756
|
return y(i);
|
|
11757
11757
|
}
|
|
11758
|
-
function
|
|
11759
|
-
function
|
|
11758
|
+
function _(w) {
|
|
11759
|
+
function N(R, M, B, H, V) {
|
|
11760
11760
|
if (typeof w != "function")
|
|
11761
|
-
return new
|
|
11761
|
+
return new A("Property `" + V + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
|
|
11762
11762
|
var F = R[M];
|
|
11763
11763
|
if (!Array.isArray(F)) {
|
|
11764
11764
|
var Z = E(F);
|
|
11765
|
-
return new
|
|
11765
|
+
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an array."));
|
|
11766
11766
|
}
|
|
11767
11767
|
for (var X = 0; X < F.length; X++) {
|
|
11768
11768
|
var W = w(F, X, B, H, V + "[" + X + "]", n);
|
|
@@ -11771,46 +11771,46 @@ function np() {
|
|
|
11771
11771
|
}
|
|
11772
11772
|
return null;
|
|
11773
11773
|
}
|
|
11774
|
-
return y(
|
|
11774
|
+
return y(N);
|
|
11775
11775
|
}
|
|
11776
11776
|
function T() {
|
|
11777
|
-
function w(
|
|
11778
|
-
var V =
|
|
11777
|
+
function w(N, R, M, B, H) {
|
|
11778
|
+
var V = N[R];
|
|
11779
11779
|
if (!c(V)) {
|
|
11780
11780
|
var F = E(V);
|
|
11781
|
-
return new
|
|
11781
|
+
return new A("Invalid " + B + " `" + H + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected a single ReactElement."));
|
|
11782
11782
|
}
|
|
11783
11783
|
return null;
|
|
11784
11784
|
}
|
|
11785
11785
|
return y(w);
|
|
11786
11786
|
}
|
|
11787
11787
|
function b() {
|
|
11788
|
-
function w(
|
|
11789
|
-
var V =
|
|
11788
|
+
function w(N, R, M, B, H) {
|
|
11789
|
+
var V = N[R];
|
|
11790
11790
|
if (!e.isValidElementType(V)) {
|
|
11791
11791
|
var F = E(V);
|
|
11792
|
-
return new
|
|
11792
|
+
return new A("Invalid " + B + " `" + H + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected a single ReactElement type."));
|
|
11793
11793
|
}
|
|
11794
11794
|
return null;
|
|
11795
11795
|
}
|
|
11796
11796
|
return y(w);
|
|
11797
11797
|
}
|
|
11798
11798
|
function x(w) {
|
|
11799
|
-
function
|
|
11799
|
+
function N(R, M, B, H, V) {
|
|
11800
11800
|
if (!(R[M] instanceof w)) {
|
|
11801
11801
|
var F = w.name || f, Z = z(R[M]);
|
|
11802
|
-
return new
|
|
11802
|
+
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected ") + ("instance of `" + F + "`."));
|
|
11803
11803
|
}
|
|
11804
11804
|
return null;
|
|
11805
11805
|
}
|
|
11806
|
-
return y(
|
|
11806
|
+
return y(N);
|
|
11807
11807
|
}
|
|
11808
11808
|
function j(w) {
|
|
11809
11809
|
if (!Array.isArray(w))
|
|
11810
11810
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
11811
11811
|
"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])."
|
|
11812
11812
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
11813
|
-
function
|
|
11813
|
+
function N(R, M, B, H, V) {
|
|
11814
11814
|
for (var F = R[M], Z = 0; Z < w.length; Z++)
|
|
11815
11815
|
if (g(F, w[Z]))
|
|
11816
11816
|
return null;
|
|
@@ -11818,17 +11818,17 @@ function np() {
|
|
|
11818
11818
|
var Ae = P(L);
|
|
11819
11819
|
return Ae === "symbol" ? String(L) : L;
|
|
11820
11820
|
});
|
|
11821
|
-
return new
|
|
11821
|
+
return new A("Invalid " + H + " `" + V + "` of value `" + String(F) + "` " + ("supplied to `" + B + "`, expected one of " + X + "."));
|
|
11822
11822
|
}
|
|
11823
|
-
return y(
|
|
11823
|
+
return y(N);
|
|
11824
11824
|
}
|
|
11825
11825
|
function Q(w) {
|
|
11826
|
-
function
|
|
11826
|
+
function N(R, M, B, H, V) {
|
|
11827
11827
|
if (typeof w != "function")
|
|
11828
|
-
return new
|
|
11828
|
+
return new A("Property `" + V + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
|
|
11829
11829
|
var F = R[M], Z = E(F);
|
|
11830
11830
|
if (Z !== "object")
|
|
11831
|
-
return new
|
|
11831
|
+
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an object."));
|
|
11832
11832
|
for (var X in F)
|
|
11833
11833
|
if (r(F, X)) {
|
|
11834
11834
|
var W = w(F, X, B, H, V + "." + X, n);
|
|
@@ -11837,16 +11837,16 @@ function np() {
|
|
|
11837
11837
|
}
|
|
11838
11838
|
return null;
|
|
11839
11839
|
}
|
|
11840
|
-
return y(
|
|
11840
|
+
return y(N);
|
|
11841
11841
|
}
|
|
11842
11842
|
function te(w) {
|
|
11843
11843
|
if (!Array.isArray(w))
|
|
11844
11844
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
11845
|
-
for (var
|
|
11846
|
-
var R = w[
|
|
11845
|
+
for (var N = 0; N < w.length; N++) {
|
|
11846
|
+
var R = w[N];
|
|
11847
11847
|
if (typeof R != "function")
|
|
11848
11848
|
return s(
|
|
11849
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(R) + " at index " +
|
|
11849
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(R) + " at index " + N + "."
|
|
11850
11850
|
), i;
|
|
11851
11851
|
}
|
|
11852
11852
|
function M(B, H, V, F, Z) {
|
|
@@ -11857,26 +11857,26 @@ function np() {
|
|
|
11857
11857
|
L.data && r(L.data, "expectedType") && X.push(L.data.expectedType);
|
|
11858
11858
|
}
|
|
11859
11859
|
var Ae = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
11860
|
-
return new
|
|
11860
|
+
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" + Ae + "."));
|
|
11861
11861
|
}
|
|
11862
11862
|
return y(M);
|
|
11863
11863
|
}
|
|
11864
11864
|
function G() {
|
|
11865
|
-
function w(
|
|
11866
|
-
return D(
|
|
11865
|
+
function w(N, R, M, B, H) {
|
|
11866
|
+
return D(N[R]) ? null : new A("Invalid " + B + " `" + H + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
|
|
11867
11867
|
}
|
|
11868
11868
|
return y(w);
|
|
11869
11869
|
}
|
|
11870
|
-
function O(w,
|
|
11871
|
-
return new
|
|
11872
|
-
(w || "React class") + ": " +
|
|
11870
|
+
function O(w, N, R, M, B) {
|
|
11871
|
+
return new A(
|
|
11872
|
+
(w || "React class") + ": " + N + " type `" + R + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
|
|
11873
11873
|
);
|
|
11874
11874
|
}
|
|
11875
11875
|
function ee(w) {
|
|
11876
|
-
function
|
|
11876
|
+
function N(R, M, B, H, V) {
|
|
11877
11877
|
var F = R[M], Z = E(F);
|
|
11878
11878
|
if (Z !== "object")
|
|
11879
|
-
return new
|
|
11879
|
+
return new A("Invalid " + H + " `" + V + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
11880
11880
|
for (var X in w) {
|
|
11881
11881
|
var W = w[X];
|
|
11882
11882
|
if (typeof W != "function")
|
|
@@ -11887,20 +11887,20 @@ function np() {
|
|
|
11887
11887
|
}
|
|
11888
11888
|
return null;
|
|
11889
11889
|
}
|
|
11890
|
-
return y(
|
|
11890
|
+
return y(N);
|
|
11891
11891
|
}
|
|
11892
11892
|
function ce(w) {
|
|
11893
|
-
function
|
|
11893
|
+
function N(R, M, B, H, V) {
|
|
11894
11894
|
var F = R[M], Z = E(F);
|
|
11895
11895
|
if (Z !== "object")
|
|
11896
|
-
return new
|
|
11896
|
+
return new A("Invalid " + H + " `" + V + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
11897
11897
|
var X = t({}, R[M], w);
|
|
11898
11898
|
for (var W in X) {
|
|
11899
11899
|
var ie = w[W];
|
|
11900
11900
|
if (r(w, W) && typeof ie != "function")
|
|
11901
11901
|
return O(B, H, V, W, P(ie));
|
|
11902
11902
|
if (!ie)
|
|
11903
|
-
return new
|
|
11903
|
+
return new A(
|
|
11904
11904
|
"Invalid " + H + " `" + V + "` key `" + W + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(R[M], null, " ") + `
|
|
11905
11905
|
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
11906
11906
|
);
|
|
@@ -11910,7 +11910,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
11910
11910
|
}
|
|
11911
11911
|
return null;
|
|
11912
11912
|
}
|
|
11913
|
-
return y(
|
|
11913
|
+
return y(N);
|
|
11914
11914
|
}
|
|
11915
11915
|
function D(w) {
|
|
11916
11916
|
switch (typeof w) {
|
|
@@ -11925,10 +11925,10 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
11925
11925
|
return w.every(D);
|
|
11926
11926
|
if (w === null || c(w))
|
|
11927
11927
|
return !0;
|
|
11928
|
-
var
|
|
11929
|
-
if (
|
|
11930
|
-
var R =
|
|
11931
|
-
if (
|
|
11928
|
+
var N = m(w);
|
|
11929
|
+
if (N) {
|
|
11930
|
+
var R = N.call(w), M;
|
|
11931
|
+
if (N !== w.entries) {
|
|
11932
11932
|
for (; !(M = R.next()).done; )
|
|
11933
11933
|
if (!D(M.value))
|
|
11934
11934
|
return !1;
|
|
@@ -11945,43 +11945,43 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
11945
11945
|
return !1;
|
|
11946
11946
|
}
|
|
11947
11947
|
}
|
|
11948
|
-
function k(w,
|
|
11949
|
-
return w === "symbol" ? !0 :
|
|
11948
|
+
function k(w, N) {
|
|
11949
|
+
return w === "symbol" ? !0 : N ? N["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && N instanceof Symbol : !1;
|
|
11950
11950
|
}
|
|
11951
11951
|
function E(w) {
|
|
11952
|
-
var
|
|
11953
|
-
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : k(
|
|
11952
|
+
var N = typeof w;
|
|
11953
|
+
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : k(N, w) ? "symbol" : N;
|
|
11954
11954
|
}
|
|
11955
11955
|
function P(w) {
|
|
11956
11956
|
if (typeof w > "u" || w === null)
|
|
11957
11957
|
return "" + w;
|
|
11958
|
-
var
|
|
11959
|
-
if (
|
|
11958
|
+
var N = E(w);
|
|
11959
|
+
if (N === "object") {
|
|
11960
11960
|
if (w instanceof Date)
|
|
11961
11961
|
return "date";
|
|
11962
11962
|
if (w instanceof RegExp)
|
|
11963
11963
|
return "regexp";
|
|
11964
11964
|
}
|
|
11965
|
-
return
|
|
11965
|
+
return N;
|
|
11966
11966
|
}
|
|
11967
11967
|
function I(w) {
|
|
11968
|
-
var
|
|
11969
|
-
switch (
|
|
11968
|
+
var N = P(w);
|
|
11969
|
+
switch (N) {
|
|
11970
11970
|
case "array":
|
|
11971
11971
|
case "object":
|
|
11972
|
-
return "an " +
|
|
11972
|
+
return "an " + N;
|
|
11973
11973
|
case "boolean":
|
|
11974
11974
|
case "date":
|
|
11975
11975
|
case "regexp":
|
|
11976
|
-
return "a " +
|
|
11976
|
+
return "a " + N;
|
|
11977
11977
|
default:
|
|
11978
|
-
return
|
|
11978
|
+
return N;
|
|
11979
11979
|
}
|
|
11980
11980
|
}
|
|
11981
11981
|
function z(w) {
|
|
11982
11982
|
return !w.constructor || !w.constructor.name ? f : w.constructor.name;
|
|
11983
11983
|
}
|
|
11984
|
-
return
|
|
11984
|
+
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
11985
11985
|
}, Zn;
|
|
11986
11986
|
}
|
|
11987
11987
|
var Xn, kr;
|
|
@@ -12214,18 +12214,18 @@ function lp() {
|
|
|
12214
12214
|
return e.isMemo(g) ? o : s[g.$$typeof] || t;
|
|
12215
12215
|
}
|
|
12216
12216
|
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, f = Object.prototype;
|
|
12217
|
-
function
|
|
12218
|
-
if (typeof
|
|
12217
|
+
function p(g, A, y) {
|
|
12218
|
+
if (typeof A != "string") {
|
|
12219
12219
|
if (f) {
|
|
12220
|
-
var C = m(
|
|
12221
|
-
C && C !== f &&
|
|
12220
|
+
var C = m(A);
|
|
12221
|
+
C && C !== f && p(g, C, y);
|
|
12222
12222
|
}
|
|
12223
|
-
var S = d(
|
|
12224
|
-
l && (S = S.concat(l(
|
|
12225
|
-
for (var
|
|
12223
|
+
var S = d(A);
|
|
12224
|
+
l && (S = S.concat(l(A)));
|
|
12225
|
+
for (var _ = i(g), T = i(A), b = 0; b < S.length; ++b) {
|
|
12226
12226
|
var x = S[b];
|
|
12227
|
-
if (!n[x] && !(y && y[x]) && !(T && T[x]) && !(
|
|
12228
|
-
var j = u(
|
|
12227
|
+
if (!n[x] && !(y && y[x]) && !(T && T[x]) && !(_ && _[x])) {
|
|
12228
|
+
var j = u(A, x);
|
|
12229
12229
|
try {
|
|
12230
12230
|
c(g, x, j);
|
|
12231
12231
|
} catch {
|
|
@@ -12235,7 +12235,7 @@ function lp() {
|
|
|
12235
12235
|
}
|
|
12236
12236
|
return g;
|
|
12237
12237
|
}
|
|
12238
|
-
return ea =
|
|
12238
|
+
return ea = p, ea;
|
|
12239
12239
|
}
|
|
12240
12240
|
var dp = lp();
|
|
12241
12241
|
const up = /* @__PURE__ */ Nt(dp);
|
|
@@ -12286,8 +12286,8 @@ function gp(e, t) {
|
|
|
12286
12286
|
m.observers[f](m);
|
|
12287
12287
|
delete window[t.callbackName];
|
|
12288
12288
|
}, l.componentDidMount = function() {
|
|
12289
|
-
var m = this, f = this.setupScriptURL(),
|
|
12290
|
-
if (
|
|
12289
|
+
var m = this, f = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, y = g.callbackName, C = g.scriptId;
|
|
12290
|
+
if (A && typeof window[A] < "u" && (qe[f] = {
|
|
12291
12291
|
loaded: !0,
|
|
12292
12292
|
observers: {}
|
|
12293
12293
|
}), qe[f]) {
|
|
@@ -12296,17 +12296,17 @@ function gp(e, t) {
|
|
|
12296
12296
|
this.asyncScriptLoaderHandleLoad(S);
|
|
12297
12297
|
return;
|
|
12298
12298
|
}
|
|
12299
|
-
S.observers[
|
|
12299
|
+
S.observers[p] = function(j) {
|
|
12300
12300
|
return m.asyncScriptLoaderHandleLoad(j);
|
|
12301
12301
|
};
|
|
12302
12302
|
return;
|
|
12303
12303
|
}
|
|
12304
|
-
var
|
|
12305
|
-
|
|
12304
|
+
var _ = {};
|
|
12305
|
+
_[p] = function(j) {
|
|
12306
12306
|
return m.asyncScriptLoaderHandleLoad(j);
|
|
12307
12307
|
}, qe[f] = {
|
|
12308
12308
|
loaded: !1,
|
|
12309
|
-
observers:
|
|
12309
|
+
observers: _
|
|
12310
12310
|
};
|
|
12311
12311
|
var T = document.createElement("script");
|
|
12312
12312
|
T.src = f, T.async = !0;
|
|
@@ -12336,15 +12336,15 @@ function gp(e, t) {
|
|
|
12336
12336
|
}, l.componentWillUnmount = function() {
|
|
12337
12337
|
var m = this.__scriptURL;
|
|
12338
12338
|
if (t.removeOnUnmount === !0)
|
|
12339
|
-
for (var f = document.getElementsByTagName("script"),
|
|
12340
|
-
f[
|
|
12339
|
+
for (var f = document.getElementsByTagName("script"), p = 0; p < f.length; p += 1)
|
|
12340
|
+
f[p].src.indexOf(m) > -1 && f[p].parentNode && f[p].parentNode.removeChild(f[p]);
|
|
12341
12341
|
var g = qe[m];
|
|
12342
12342
|
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete qe[m]);
|
|
12343
12343
|
}, l.render = function() {
|
|
12344
12344
|
var m = t.globalName, f = this.props;
|
|
12345
12345
|
f.asyncScriptOnLoad;
|
|
12346
|
-
var
|
|
12347
|
-
return m && typeof window < "u" && (g[m] = typeof window[m] < "u" ? window[m] : void 0), g.ref =
|
|
12346
|
+
var p = f.forwardedRef, g = hp(f, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12347
|
+
return m && typeof window < "u" && (g[m] = typeof window[m] < "u" ? window[m] : void 0), g.ref = p, st(r, g);
|
|
12348
12348
|
}, d;
|
|
12349
12349
|
})(jo), i = Pr(function(c, d) {
|
|
12350
12350
|
return st(s, ha({}, c, {
|
|
@@ -12419,7 +12419,7 @@ const ko = gp(Ap, {
|
|
|
12419
12419
|
}) => {
|
|
12420
12420
|
const [i, c] = Y("form"), [d, l] = Y(
|
|
12421
12421
|
""
|
|
12422
|
-
), [u, m] = Y(""), [f,
|
|
12422
|
+
), [u, m] = Y(""), [f, p] = Y(""), g = [
|
|
12423
12423
|
{ id: "spam", label: Ye.spam },
|
|
12424
12424
|
{
|
|
12425
12425
|
id: "inappropriate",
|
|
@@ -12436,7 +12436,7 @@ const ko = gp(Ap, {
|
|
|
12436
12436
|
label: Ye.intellectual
|
|
12437
12437
|
},
|
|
12438
12438
|
{ id: "bullying", label: Ye.bullying }
|
|
12439
|
-
],
|
|
12439
|
+
], A = async () => {
|
|
12440
12440
|
if (!(!d || !n)) {
|
|
12441
12441
|
if (Io(document).includes(n)) {
|
|
12442
12442
|
m("Ya has reportado este comentario.");
|
|
@@ -12498,8 +12498,8 @@ const ko = gp(Ap, {
|
|
|
12498
12498
|
sitekey: s,
|
|
12499
12499
|
theme: "light",
|
|
12500
12500
|
size: "normal",
|
|
12501
|
-
onChange: (C) =>
|
|
12502
|
-
onExpired: () =>
|
|
12501
|
+
onChange: (C) => p(C ?? ""),
|
|
12502
|
+
onExpired: () => p("")
|
|
12503
12503
|
}
|
|
12504
12504
|
),
|
|
12505
12505
|
/* @__PURE__ */ h("div", { className: ue.buttons, children: [
|
|
@@ -12507,7 +12507,7 @@ const ko = gp(Ap, {
|
|
|
12507
12507
|
/* @__PURE__ */ a(
|
|
12508
12508
|
"button",
|
|
12509
12509
|
{
|
|
12510
|
-
onClick:
|
|
12510
|
+
onClick: A,
|
|
12511
12511
|
disabled: !d,
|
|
12512
12512
|
className: ue.reportButton,
|
|
12513
12513
|
children: "Reportar"
|
|
@@ -12590,20 +12590,20 @@ async function Vp({
|
|
|
12590
12590
|
throw new Error("Invalid input types for publication or path");
|
|
12591
12591
|
if (!c)
|
|
12592
12592
|
throw new Error("Missing CMS API token");
|
|
12593
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } = J(), f = parseInt(String(n), 10),
|
|
12593
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } = J(), f = parseInt(String(n), 10), p = parseInt(String(r), 10);
|
|
12594
12594
|
if (isNaN(f) || f <= 0)
|
|
12595
12595
|
throw new Error("Invalid size parameter");
|
|
12596
|
-
if (isNaN(
|
|
12596
|
+
if (isNaN(p) || p < 0)
|
|
12597
12597
|
throw new Error("Invalid sizereply parameter");
|
|
12598
|
-
const g = d !== "prod" ? `${l}${u}` : us(),
|
|
12598
|
+
const g = d !== "prod" ? `${l}${u}` : us(), A = new URLSearchParams({
|
|
12599
12599
|
publication: e,
|
|
12600
12600
|
path: t,
|
|
12601
12601
|
size: f.toString(),
|
|
12602
|
-
sizereply:
|
|
12602
|
+
sizereply: p.toString(),
|
|
12603
12603
|
state: i
|
|
12604
12604
|
});
|
|
12605
|
-
o &&
|
|
12606
|
-
const y = `${g}${m}/newcomments/get?${
|
|
12605
|
+
o && A.append("id", o), s && A.append("lastid", s);
|
|
12606
|
+
const y = `${g}${m}/newcomments/get?${A.toString()}`;
|
|
12607
12607
|
try {
|
|
12608
12608
|
console.log("Fetching comments from:", y);
|
|
12609
12609
|
const { data: C } = await oe.get(y, {
|
|
@@ -12619,8 +12619,8 @@ async function Vp({
|
|
|
12619
12619
|
return C.data || C || [];
|
|
12620
12620
|
} catch (C) {
|
|
12621
12621
|
if (console.error("Error fetching comments:", C), oe.isAxiosError(C)) {
|
|
12622
|
-
const S = C.response?.status,
|
|
12623
|
-
throw S === 404 ? new Error("Comments not found") : S === 403 ? new Error("Access forbidden - check API token") : S === 401 ? new Error("Unauthorized - invalid API token") : S === 500 ? new Error("Internal server error from CMS") : new Error(
|
|
12622
|
+
const S = C.response?.status, _ = C.response?.data;
|
|
12623
|
+
throw S === 404 ? new Error("Comments not found") : S === 403 ? new Error("Access forbidden - check API token") : S === 401 ? new Error("Unauthorized - invalid API token") : S === 500 ? new Error("Internal server error from CMS") : new Error(_?.error || _?.message || `HTTP ${S}: Failed to fetch comments`);
|
|
12624
12624
|
}
|
|
12625
12625
|
throw C;
|
|
12626
12626
|
}
|
|
@@ -12826,7 +12826,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12826
12826
|
throw new Error(
|
|
12827
12827
|
`Error al enviar comentario: ${u?.message} status: ${l.status}`
|
|
12828
12828
|
);
|
|
12829
|
-
const m = Date.now(), f = Math.max(0, 2400 + Math.abs(m - d)),
|
|
12829
|
+
const m = Date.now(), f = Math.max(0, 2400 + Math.abs(m - d)), p = {
|
|
12830
12830
|
username: o.username,
|
|
12831
12831
|
firstname: o.firstname,
|
|
12832
12832
|
...o.lastname && { lastname: o.lastname },
|
|
@@ -12835,7 +12835,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12835
12835
|
return i({
|
|
12836
12836
|
id: m.toString(),
|
|
12837
12837
|
text: c,
|
|
12838
|
-
user:
|
|
12838
|
+
user: p,
|
|
12839
12839
|
date: { time: Date.now() },
|
|
12840
12840
|
reply: []
|
|
12841
12841
|
}), t.current && (t.current.value = ""), f;
|
|
@@ -12876,7 +12876,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12876
12876
|
{
|
|
12877
12877
|
onClick: async (f) => {
|
|
12878
12878
|
if (c) return;
|
|
12879
|
-
const
|
|
12879
|
+
const p = await Do({
|
|
12880
12880
|
path: r,
|
|
12881
12881
|
ref: t,
|
|
12882
12882
|
captchaToken: l,
|
|
@@ -12885,9 +12885,9 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12885
12885
|
id: e,
|
|
12886
12886
|
addComment: o
|
|
12887
12887
|
});
|
|
12888
|
-
return
|
|
12888
|
+
return p && typeof p == "number" ? (setTimeout(() => {
|
|
12889
12889
|
m();
|
|
12890
|
-
},
|
|
12890
|
+
}, p), !0) : !1;
|
|
12891
12891
|
},
|
|
12892
12892
|
isDisabled: c
|
|
12893
12893
|
}
|
|
@@ -12912,11 +12912,11 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12912
12912
|
] })
|
|
12913
12913
|
] }) });
|
|
12914
12914
|
}, Xp = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s, CAPTCHA_KEY_V2: i }) => {
|
|
12915
|
-
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = Y(c), [u, m] = xe.useState(!1), f
|
|
12916
|
-
let
|
|
12917
|
-
e.user && (
|
|
12918
|
-
const
|
|
12919
|
-
l({ morereply: d.morereply, reply: [
|
|
12915
|
+
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = Y(c), [u, m] = xe.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: p } = J(), g = e.text, A = xe.useRef(null);
|
|
12916
|
+
let y = `${Je.firstname} ${Je.lastname}`, C = Je.username;
|
|
12917
|
+
e.user && (y = `${e.user.firstname} ${e.user.lastname}`, C = e.user.username);
|
|
12918
|
+
const S = (_) => {
|
|
12919
|
+
l({ morereply: d.morereply, reply: [_, ...d.reply] });
|
|
12920
12920
|
};
|
|
12921
12921
|
return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ h(
|
|
12922
12922
|
"div",
|
|
@@ -12926,9 +12926,9 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12926
12926
|
children: [
|
|
12927
12927
|
/* @__PURE__ */ a(Lo, { user: e.user ? e.user : Je }),
|
|
12928
12928
|
/* @__PURE__ */ h("div", { style: { flex: 1 }, children: [
|
|
12929
|
-
/* @__PURE__ */ a(Ro, { username:
|
|
12930
|
-
/* @__PURE__ */ a("p", { className: "comment-text", children:
|
|
12931
|
-
r?.username.toLowerCase() !==
|
|
12929
|
+
/* @__PURE__ */ a(Ro, { username: y, date: e.date.time }),
|
|
12930
|
+
/* @__PURE__ */ a("p", { className: "comment-text", children: g }),
|
|
12931
|
+
r?.username.toLowerCase() !== C.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
12932
12932
|
/* @__PURE__ */ a(
|
|
12933
12933
|
qo,
|
|
12934
12934
|
{
|
|
@@ -12940,8 +12940,8 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12940
12940
|
Jp,
|
|
12941
12941
|
{
|
|
12942
12942
|
replyingTo: t,
|
|
12943
|
-
commentRef:
|
|
12944
|
-
addReply:
|
|
12943
|
+
commentRef: A,
|
|
12944
|
+
addReply: S,
|
|
12945
12945
|
user: r,
|
|
12946
12946
|
path: n,
|
|
12947
12947
|
CAPTCHA_KEY_V2: i,
|
|
@@ -12949,37 +12949,37 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
12949
12949
|
}
|
|
12950
12950
|
),
|
|
12951
12951
|
d.reply.length > 0 && /* @__PURE__ */ h("div", { className: "comment-replies", children: [
|
|
12952
|
-
d.reply.map((
|
|
12952
|
+
d.reply.map((_) => /* @__PURE__ */ a(
|
|
12953
12953
|
Zp,
|
|
12954
12954
|
{
|
|
12955
12955
|
user: r,
|
|
12956
|
-
reply:
|
|
12957
|
-
replyingTo:
|
|
12956
|
+
reply: _,
|
|
12957
|
+
replyingTo: y,
|
|
12958
12958
|
onFlag: s
|
|
12959
12959
|
},
|
|
12960
|
-
|
|
12960
|
+
_.id
|
|
12961
12961
|
)),
|
|
12962
12962
|
u ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(Ze, {}) }) : d.morereply && /* @__PURE__ */ a(
|
|
12963
12963
|
"button",
|
|
12964
12964
|
{
|
|
12965
12965
|
className: "comment-replies-button reply-button",
|
|
12966
12966
|
onClick: async () => {
|
|
12967
|
-
const
|
|
12967
|
+
const _ = d.reply[d.reply.length - 1]?.id;
|
|
12968
12968
|
m(!0);
|
|
12969
12969
|
try {
|
|
12970
|
-
const
|
|
12971
|
-
publication: f,
|
|
12970
|
+
const b = await Ua({
|
|
12971
|
+
publication: f ?? "",
|
|
12972
12972
|
path: n ?? "",
|
|
12973
12973
|
size: 2,
|
|
12974
12974
|
sizereply: 2,
|
|
12975
12975
|
id: e.id,
|
|
12976
|
-
lastid:
|
|
12976
|
+
lastid: _,
|
|
12977
12977
|
state: "5,6",
|
|
12978
|
-
apiToken:
|
|
12978
|
+
apiToken: p ?? ""
|
|
12979
12979
|
});
|
|
12980
|
-
m(!1), l({ morereply:
|
|
12981
|
-
} catch (
|
|
12982
|
-
throw m(!1), new Error(`Error al obtener comentarios: ${
|
|
12980
|
+
m(!1), l({ morereply: b.morecomment, reply: [...d.reply, ...b.comments] });
|
|
12981
|
+
} catch (T) {
|
|
12982
|
+
throw m(!1), new Error(`Error al obtener comentarios: ${T}`);
|
|
12983
12983
|
}
|
|
12984
12984
|
},
|
|
12985
12985
|
children: "Más Respuestas"
|
|
@@ -13046,7 +13046,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
13046
13046
|
}) => {
|
|
13047
13047
|
const s = t.replaceAll("/", "|"), [i, c] = Y(
|
|
13048
13048
|
void 0
|
|
13049
|
-
), [d, l] = Y(""), { comments: u, setComments: m } = $p(s), [f,
|
|
13049
|
+
), [d, l] = Y(""), { comments: u, setComments: m } = $p(s), [f, p] = xe.useState(!1), g = xe.useRef(null), A = (x) => {
|
|
13050
13050
|
l(d === x ? "" : x);
|
|
13051
13051
|
}, y = (x) => {
|
|
13052
13052
|
m(
|
|
@@ -13061,7 +13061,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
13061
13061
|
if (!u || !u.morecomment || u.comments.length === 0) return;
|
|
13062
13062
|
const x = u.comments[u.comments.length - 1];
|
|
13063
13063
|
if (!x) return;
|
|
13064
|
-
|
|
13064
|
+
p(!0);
|
|
13065
13065
|
const j = x.id;
|
|
13066
13066
|
try {
|
|
13067
13067
|
const Q = await Ua({
|
|
@@ -13077,13 +13077,13 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
13077
13077
|
m({
|
|
13078
13078
|
morecomment: Q.morecomment ?? !1,
|
|
13079
13079
|
comments: [...u.comments, ...Q.comments]
|
|
13080
|
-
}),
|
|
13080
|
+
}), p(!1);
|
|
13081
13081
|
} catch (Q) {
|
|
13082
|
-
throw
|
|
13082
|
+
throw p(!1), new Error(`Error al obtener comentarios: ${Q}`);
|
|
13083
13083
|
}
|
|
13084
|
-
},
|
|
13084
|
+
}, _ = u?.comments && u.comments.length > 0, T = _ ? "Comparte tu opinión de este artículo." : "Se el primero en compartir tu opinión de este artículo.", b = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Ze, {}) });
|
|
13085
13085
|
return /* @__PURE__ */ h(K, { children: [
|
|
13086
|
-
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title:
|
|
13086
|
+
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ h(K, { children: [
|
|
13087
13087
|
e && n && /* @__PURE__ */ h("div", { className: "comments-header", children: [
|
|
13088
13088
|
/* @__PURE__ */ a(
|
|
13089
13089
|
Ug,
|
|
@@ -13115,7 +13115,7 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
13115
13115
|
{
|
|
13116
13116
|
comment: x,
|
|
13117
13117
|
replyingTo: d,
|
|
13118
|
-
handleReplyingTo:
|
|
13118
|
+
handleReplyingTo: A,
|
|
13119
13119
|
onFlag: C,
|
|
13120
13120
|
user: n ?? Je,
|
|
13121
13121
|
path: s,
|
|
@@ -13198,8 +13198,8 @@ const { PUBLIC_PUBLICATION_ID: Fp } = J(), Wp = Fp, $p = (e) => {
|
|
|
13198
13198
|
function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
13199
13199
|
const [r, o] = Y({}), [s, i] = Y(!1), [c, d] = Y(!1), [l, u] = Y(null), [m, f] = Y(
|
|
13200
13200
|
"register"
|
|
13201
|
-
),
|
|
13202
|
-
o((
|
|
13201
|
+
), p = (C, S) => {
|
|
13202
|
+
o((_) => ({ ..._, [C]: S }));
|
|
13203
13203
|
}, g = async (C) => {
|
|
13204
13204
|
C.preventDefault(), u(null), d(!0);
|
|
13205
13205
|
try {
|
|
@@ -13212,9 +13212,9 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13212
13212
|
u("Las contraseñas no coinciden");
|
|
13213
13213
|
return;
|
|
13214
13214
|
}
|
|
13215
|
-
const
|
|
13215
|
+
const _ = r.password || "";
|
|
13216
13216
|
if (_n.some(
|
|
13217
|
-
(Q) => !Q.test(
|
|
13217
|
+
(Q) => !Q.test(_)
|
|
13218
13218
|
)) {
|
|
13219
13219
|
u("La contraseña no es válida");
|
|
13220
13220
|
return;
|
|
@@ -13249,7 +13249,7 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13249
13249
|
} finally {
|
|
13250
13250
|
d(!1);
|
|
13251
13251
|
}
|
|
13252
|
-
},
|
|
13252
|
+
}, A = async (C) => {
|
|
13253
13253
|
if (C.preventDefault(), !r.confirmationCode) {
|
|
13254
13254
|
u("Debes ingresar el código de verificación");
|
|
13255
13255
|
return;
|
|
@@ -13265,8 +13265,8 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13265
13265
|
})
|
|
13266
13266
|
});
|
|
13267
13267
|
if (!S.ok) {
|
|
13268
|
-
const
|
|
13269
|
-
throw new Error(
|
|
13268
|
+
const _ = await S.json().catch(() => ({}));
|
|
13269
|
+
throw new Error(_?.error || "Error al confirmar usuario");
|
|
13270
13270
|
}
|
|
13271
13271
|
f("success");
|
|
13272
13272
|
} catch (S) {
|
|
@@ -13304,20 +13304,20 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13304
13304
|
type: C.toLowerCase().includes("password") ? s ? "text" : "password" : C === "birthdate" ? "date" : C === "email" ? "email" : C === "phone_number" ? "tel" : "text",
|
|
13305
13305
|
name: C,
|
|
13306
13306
|
value: r[C] || "",
|
|
13307
|
-
onChange: (
|
|
13307
|
+
onChange: (_) => p(C, _.target.value),
|
|
13308
13308
|
className: U.input,
|
|
13309
13309
|
placeholder: ""
|
|
13310
13310
|
}
|
|
13311
13311
|
),
|
|
13312
|
-
C === "password" && /* @__PURE__ */ a("div", { className: U.passwordChecker, children: _n.map((
|
|
13313
|
-
const b =
|
|
13312
|
+
C === "password" && /* @__PURE__ */ a("div", { className: U.passwordChecker, children: _n.map((_, T) => {
|
|
13313
|
+
const b = _.test(y);
|
|
13314
13314
|
return /* @__PURE__ */ h(
|
|
13315
13315
|
"div",
|
|
13316
13316
|
{
|
|
13317
13317
|
className: b ? U.valid : U.invalid,
|
|
13318
13318
|
children: [
|
|
13319
13319
|
/* @__PURE__ */ a("div", { children: b ? "✔" : "○" }),
|
|
13320
|
-
/* @__PURE__ */ a("div", { children:
|
|
13320
|
+
/* @__PURE__ */ a("div", { children: _.label })
|
|
13321
13321
|
]
|
|
13322
13322
|
},
|
|
13323
13323
|
T
|
|
@@ -13330,7 +13330,7 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13330
13330
|
id: "showPasswordRegister",
|
|
13331
13331
|
type: "checkbox",
|
|
13332
13332
|
checked: s,
|
|
13333
|
-
onChange: (
|
|
13333
|
+
onChange: (_) => i(_.target.checked)
|
|
13334
13334
|
}
|
|
13335
13335
|
),
|
|
13336
13336
|
/* @__PURE__ */ a(
|
|
@@ -13357,7 +13357,7 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13357
13357
|
m === "confirm" && /* @__PURE__ */ h(
|
|
13358
13358
|
"form",
|
|
13359
13359
|
{
|
|
13360
|
-
onSubmit:
|
|
13360
|
+
onSubmit: A,
|
|
13361
13361
|
className: U.form,
|
|
13362
13362
|
"data-error": l ? "true" : "false",
|
|
13363
13363
|
children: [
|
|
@@ -13369,7 +13369,7 @@ function r3({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13369
13369
|
type: "text",
|
|
13370
13370
|
name: "confirmationCode",
|
|
13371
13371
|
value: r.confirmationCode || "",
|
|
13372
|
-
onChange: (C) =>
|
|
13372
|
+
onChange: (C) => p("confirmationCode", C.target.value),
|
|
13373
13373
|
className: U.input,
|
|
13374
13374
|
required: !0
|
|
13375
13375
|
}
|
|
@@ -13422,7 +13422,7 @@ function o3({
|
|
|
13422
13422
|
handleGoogleLogin: r,
|
|
13423
13423
|
CAPTCHA_KEY: o
|
|
13424
13424
|
}) {
|
|
13425
|
-
const [s, i] = Y("login"), [c, d] = Y(""), [l, u] = Y(""), [m, f] = Y(""), [
|
|
13425
|
+
const [s, i] = Y("login"), [c, d] = Y(""), [l, u] = Y(""), [m, f] = Y(""), [p, g] = Y(""), [A, y] = Y(""), [C, S] = Y(!1), [_, T] = Y(!1), [b, x] = Y(null);
|
|
13426
13426
|
return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ h(K, { children: [
|
|
13427
13427
|
s === "login" && /* @__PURE__ */ a(
|
|
13428
13428
|
s3,
|
|
@@ -13430,13 +13430,13 @@ function o3({
|
|
|
13430
13430
|
email: c,
|
|
13431
13431
|
password: l,
|
|
13432
13432
|
showPassword: C,
|
|
13433
|
-
loading:
|
|
13433
|
+
loading: _,
|
|
13434
13434
|
error: b,
|
|
13435
13435
|
setEmail: d,
|
|
13436
13436
|
setPassword: u,
|
|
13437
13437
|
setShowPassword: S,
|
|
13438
13438
|
onSubmit: async (G) => {
|
|
13439
|
-
if (!
|
|
13439
|
+
if (!_) {
|
|
13440
13440
|
G.preventDefault(), x(null), T(!0);
|
|
13441
13441
|
try {
|
|
13442
13442
|
console.log(!0, o);
|
|
@@ -13470,10 +13470,10 @@ function o3({
|
|
|
13470
13470
|
{
|
|
13471
13471
|
email: c,
|
|
13472
13472
|
setEmail: d,
|
|
13473
|
-
loading:
|
|
13473
|
+
loading: _,
|
|
13474
13474
|
error: b,
|
|
13475
13475
|
onSubmit: async (G) => {
|
|
13476
|
-
if (!
|
|
13476
|
+
if (!_) {
|
|
13477
13477
|
G.preventDefault(), x(null), T(!0);
|
|
13478
13478
|
try {
|
|
13479
13479
|
const O = await fetch("/api/auth/forgot-password", {
|
|
@@ -13503,23 +13503,23 @@ function o3({
|
|
|
13503
13503
|
{
|
|
13504
13504
|
email: c,
|
|
13505
13505
|
confirmationCode: m,
|
|
13506
|
-
newPassword:
|
|
13507
|
-
confirmNewPassword:
|
|
13506
|
+
newPassword: p,
|
|
13507
|
+
confirmNewPassword: A,
|
|
13508
13508
|
showPassword: C,
|
|
13509
|
-
loading:
|
|
13509
|
+
loading: _,
|
|
13510
13510
|
error: b,
|
|
13511
13511
|
setConfirmationCode: f,
|
|
13512
13512
|
setNewPassword: g,
|
|
13513
13513
|
setConfirmNewPassword: y,
|
|
13514
13514
|
setShowPassword: S,
|
|
13515
13515
|
onSubmit: async (G) => {
|
|
13516
|
-
if (
|
|
13517
|
-
if (G.preventDefault(),
|
|
13516
|
+
if (_) return;
|
|
13517
|
+
if (G.preventDefault(), p !== A) {
|
|
13518
13518
|
x("Las contraseñas no coinciden");
|
|
13519
13519
|
return;
|
|
13520
13520
|
}
|
|
13521
13521
|
if (_n.some(
|
|
13522
|
-
(ee) => !ee.test(
|
|
13522
|
+
(ee) => !ee.test(p)
|
|
13523
13523
|
)) {
|
|
13524
13524
|
x("La contraseña no cumple con los requisitos");
|
|
13525
13525
|
return;
|
|
@@ -13529,7 +13529,7 @@ function o3({
|
|
|
13529
13529
|
const ee = await fetch("/api/auth/confirm-forgot-password", {
|
|
13530
13530
|
method: "POST",
|
|
13531
13531
|
headers: { "Content-Type": "application/json" },
|
|
13532
|
-
body: JSON.stringify({ email: c, code: m, newPassword:
|
|
13532
|
+
body: JSON.stringify({ email: c, code: m, newPassword: p })
|
|
13533
13533
|
});
|
|
13534
13534
|
if (!ee.ok) {
|
|
13535
13535
|
const ce = await ee.json().catch(() => ({}));
|
|
@@ -13721,7 +13721,7 @@ function c3({
|
|
|
13721
13721
|
{
|
|
13722
13722
|
type: "text",
|
|
13723
13723
|
value: t,
|
|
13724
|
-
onChange: (
|
|
13724
|
+
onChange: (p) => c(p.target.value),
|
|
13725
13725
|
className: U.input,
|
|
13726
13726
|
placeholder: ""
|
|
13727
13727
|
}
|
|
@@ -13734,17 +13734,17 @@ function c3({
|
|
|
13734
13734
|
{
|
|
13735
13735
|
type: o ? "text" : "password",
|
|
13736
13736
|
value: n,
|
|
13737
|
-
onChange: (
|
|
13737
|
+
onChange: (p) => d(p.target.value),
|
|
13738
13738
|
className: U.input,
|
|
13739
13739
|
placeholder: "",
|
|
13740
13740
|
name: "password"
|
|
13741
13741
|
}
|
|
13742
13742
|
),
|
|
13743
|
-
/* @__PURE__ */ a("div", { className: U.passwordChecker, children: _n.map((
|
|
13744
|
-
const
|
|
13745
|
-
return /* @__PURE__ */ h("div", { className:
|
|
13746
|
-
/* @__PURE__ */ a("div", { children:
|
|
13747
|
-
/* @__PURE__ */ a("div", { children:
|
|
13743
|
+
/* @__PURE__ */ a("div", { className: U.passwordChecker, children: _n.map((p, g) => {
|
|
13744
|
+
const A = p.test(n);
|
|
13745
|
+
return /* @__PURE__ */ h("div", { className: A ? U.valid : U.invalid, children: [
|
|
13746
|
+
/* @__PURE__ */ a("div", { children: A ? "✔" : "○" }),
|
|
13747
|
+
/* @__PURE__ */ a("div", { children: p.label })
|
|
13748
13748
|
] }, g);
|
|
13749
13749
|
}) })
|
|
13750
13750
|
] }),
|
|
@@ -13755,7 +13755,7 @@ function c3({
|
|
|
13755
13755
|
{
|
|
13756
13756
|
type: o ? "text" : "password",
|
|
13757
13757
|
value: r,
|
|
13758
|
-
onChange: (
|
|
13758
|
+
onChange: (p) => l(p.target.value),
|
|
13759
13759
|
className: U.input,
|
|
13760
13760
|
placeholder: ""
|
|
13761
13761
|
}
|
|
@@ -13767,7 +13767,7 @@ function c3({
|
|
|
13767
13767
|
id: "showPasswordForgot",
|
|
13768
13768
|
type: "checkbox",
|
|
13769
13769
|
checked: o,
|
|
13770
|
-
onChange: (
|
|
13770
|
+
onChange: (p) => u(p.target.checked)
|
|
13771
13771
|
}
|
|
13772
13772
|
),
|
|
13773
13773
|
/* @__PURE__ */ a(
|
|
@@ -13930,8 +13930,8 @@ function h3({
|
|
|
13930
13930
|
return;
|
|
13931
13931
|
}
|
|
13932
13932
|
try {
|
|
13933
|
-
const
|
|
13934
|
-
s(
|
|
13933
|
+
const p = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
13934
|
+
s(p.isAuthenticated ?? !1), c(p.user ?? null);
|
|
13935
13935
|
} catch (f) {
|
|
13936
13936
|
console.error("Error checking auth:", f), s(!1), c(null);
|
|
13937
13937
|
}
|
|
@@ -13989,8 +13989,8 @@ const C9 = ({
|
|
|
13989
13989
|
xe.useEffect(() => {
|
|
13990
13990
|
if (i || l) return;
|
|
13991
13991
|
const f = new IntersectionObserver(
|
|
13992
|
-
([
|
|
13993
|
-
|
|
13992
|
+
([p]) => {
|
|
13993
|
+
p?.isIntersecting && (u(!0), f.disconnect());
|
|
13994
13994
|
},
|
|
13995
13995
|
{
|
|
13996
13996
|
rootMargin: "0px",
|
|
@@ -14088,9 +14088,9 @@ async function _9({
|
|
|
14088
14088
|
text: r.trim()
|
|
14089
14089
|
};
|
|
14090
14090
|
o && (f.id = o);
|
|
14091
|
-
const
|
|
14091
|
+
const p = new URLSearchParams(f);
|
|
14092
14092
|
try {
|
|
14093
|
-
const { data: g } = await oe.get(`${m}?${
|
|
14093
|
+
const { data: g } = await oe.get(`${m}?${p.toString()}`, {
|
|
14094
14094
|
headers: {
|
|
14095
14095
|
"Content-Type": "application/json",
|
|
14096
14096
|
"x-security-token": d,
|
|
@@ -14109,23 +14109,23 @@ async function _9({
|
|
|
14109
14109
|
});
|
|
14110
14110
|
} catch (g) {
|
|
14111
14111
|
if (console.error("Error enviando comentario:", g), oe.isAxiosError(g)) {
|
|
14112
|
-
const
|
|
14113
|
-
return
|
|
14112
|
+
const A = g.response?.status ?? 500, y = g.response?.data;
|
|
14113
|
+
return A === 400 ? {
|
|
14114
14114
|
type: "error",
|
|
14115
14115
|
message: y?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
14116
14116
|
status: 400
|
|
14117
|
-
} :
|
|
14117
|
+
} : A === 403 ? {
|
|
14118
14118
|
type: "error",
|
|
14119
14119
|
message: "Captcha inválido o acceso prohibido.",
|
|
14120
14120
|
status: 403
|
|
14121
|
-
} :
|
|
14121
|
+
} : A === 500 ? {
|
|
14122
14122
|
type: "error",
|
|
14123
14123
|
message: "Error interno del servidor del CMS.",
|
|
14124
14124
|
status: 500
|
|
14125
14125
|
} : {
|
|
14126
14126
|
type: "error",
|
|
14127
14127
|
message: y?.message || "No se pudo enviar el comentario.",
|
|
14128
|
-
status:
|
|
14128
|
+
status: A
|
|
14129
14129
|
};
|
|
14130
14130
|
}
|
|
14131
14131
|
return {
|