sass-template-common 0.9.135 → 0.9.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import * as Ws from "react";
|
|
3
|
-
import ce, { useState as
|
|
3
|
+
import ce, { useState as Z, useRef as Ga, useCallback as le, useEffect as xe, createElement as Be, forwardRef as Qn, Fragment as ds, useMemo as us, Component as ja } from "react";
|
|
4
4
|
let ms = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -2531,10 +2531,10 @@ const Ri = (e) => {
|
|
|
2531
2531
|
asap: Bi,
|
|
2532
2532
|
isIterable: Oi
|
|
2533
2533
|
};
|
|
2534
|
-
function
|
|
2534
|
+
function J(e, t, s, a, r) {
|
|
2535
2535
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), s && (this.config = s), a && (this.request = a), r && (this.response = r, this.status = r.status ? r.status : null);
|
|
2536
2536
|
}
|
|
2537
|
-
N.inherits(
|
|
2537
|
+
N.inherits(J, Error, {
|
|
2538
2538
|
toJSON: function() {
|
|
2539
2539
|
return {
|
|
2540
2540
|
// Standard
|
|
@@ -2555,7 +2555,7 @@ N.inherits(Z, Error, {
|
|
|
2555
2555
|
};
|
|
2556
2556
|
}
|
|
2557
2557
|
});
|
|
2558
|
-
const na =
|
|
2558
|
+
const na = J.prototype, aa = {};
|
|
2559
2559
|
[
|
|
2560
2560
|
"ERR_BAD_OPTION_VALUE",
|
|
2561
2561
|
"ERR_BAD_OPTION",
|
|
@@ -2573,15 +2573,15 @@ const na = Z.prototype, aa = {};
|
|
|
2573
2573
|
].forEach((e) => {
|
|
2574
2574
|
aa[e] = { value: e };
|
|
2575
2575
|
});
|
|
2576
|
-
Object.defineProperties(
|
|
2576
|
+
Object.defineProperties(J, aa);
|
|
2577
2577
|
Object.defineProperty(na, "isAxiosError", { value: !0 });
|
|
2578
|
-
|
|
2578
|
+
J.from = (e, t, s, a, r, i) => {
|
|
2579
2579
|
const o = Object.create(na);
|
|
2580
2580
|
N.toFlatObject(e, o, function(d) {
|
|
2581
2581
|
return d !== Error.prototype;
|
|
2582
2582
|
}, (c) => c !== "isAxiosError");
|
|
2583
2583
|
const l = e && e.message ? e.message : "Error", u = t == null && e ? e.code : t;
|
|
2584
|
-
return
|
|
2584
|
+
return J.call(o, l, u, s, a, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
|
|
2585
2585
|
};
|
|
2586
2586
|
const Mi = null;
|
|
2587
2587
|
function gs(e) {
|
|
@@ -2621,7 +2621,7 @@ function jt(e, t, s) {
|
|
|
2621
2621
|
if (N.isBoolean(f))
|
|
2622
2622
|
return f.toString();
|
|
2623
2623
|
if (!u && N.isBlob(f))
|
|
2624
|
-
throw new
|
|
2624
|
+
throw new J("Blob is not supported. Use a Buffer instead.");
|
|
2625
2625
|
return N.isArrayBuffer(f) || N.isTypedArray(f) ? u && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2626
2626
|
}
|
|
2627
2627
|
function d(f, A, w) {
|
|
@@ -2872,7 +2872,7 @@ const lt = {
|
|
|
2872
2872
|
return JSON.parse(t, this.parseReviver);
|
|
2873
2873
|
} catch (l) {
|
|
2874
2874
|
if (o)
|
|
2875
|
-
throw l.name === "SyntaxError" ?
|
|
2875
|
+
throw l.name === "SyntaxError" ? J.from(l, J.ERR_BAD_RESPONSE, this, null, this.response) : l;
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
2878
|
return t;
|
|
@@ -3115,16 +3115,16 @@ function da(e) {
|
|
|
3115
3115
|
return !!(e && e.__CANCEL__);
|
|
3116
3116
|
}
|
|
3117
3117
|
function Ze(e, t, s) {
|
|
3118
|
-
|
|
3118
|
+
J.call(this, e ?? "canceled", J.ERR_CANCELED, t, s), this.name = "CanceledError";
|
|
3119
3119
|
}
|
|
3120
|
-
N.inherits(Ze,
|
|
3120
|
+
N.inherits(Ze, J, {
|
|
3121
3121
|
__CANCEL__: !0
|
|
3122
3122
|
});
|
|
3123
3123
|
function ua(e, t, s) {
|
|
3124
3124
|
const a = s.config.validateStatus;
|
|
3125
|
-
!s.status || !a || a(s.status) ? e(s) : t(new
|
|
3125
|
+
!s.status || !a || a(s.status) ? e(s) : t(new J(
|
|
3126
3126
|
"Request failed with status code " + s.status,
|
|
3127
|
-
[
|
|
3127
|
+
[J.ERR_BAD_REQUEST, J.ERR_BAD_RESPONSE][Math.floor(s.status / 100) - 4],
|
|
3128
3128
|
s.config,
|
|
3129
3129
|
s.request,
|
|
3130
3130
|
s
|
|
@@ -3349,16 +3349,16 @@ const ha = (e) => {
|
|
|
3349
3349
|
"onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
|
|
3350
3350
|
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
3351
3351
|
}, w.onabort = function() {
|
|
3352
|
-
w && (a(new
|
|
3352
|
+
w && (a(new J("Request aborted", J.ECONNABORTED, e, w)), w = null);
|
|
3353
3353
|
}, w.onerror = function(E) {
|
|
3354
|
-
const b = E && E.message ? E.message : "Network Error", I = new
|
|
3354
|
+
const b = E && E.message ? E.message : "Network Error", I = new J(b, J.ERR_NETWORK, e, w);
|
|
3355
3355
|
I.event = E || null, a(I), w = null;
|
|
3356
3356
|
}, w.ontimeout = function() {
|
|
3357
3357
|
let E = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
3358
3358
|
const b = r.transitional || la;
|
|
3359
|
-
r.timeoutErrorMessage && (E = r.timeoutErrorMessage), a(new
|
|
3359
|
+
r.timeoutErrorMessage && (E = r.timeoutErrorMessage), a(new J(
|
|
3360
3360
|
E,
|
|
3361
|
-
b.clarifyTimeoutError ?
|
|
3361
|
+
b.clarifyTimeoutError ? J.ETIMEDOUT : J.ECONNABORTED,
|
|
3362
3362
|
e,
|
|
3363
3363
|
w
|
|
3364
3364
|
)), w = null;
|
|
@@ -3369,7 +3369,7 @@ const ha = (e) => {
|
|
|
3369
3369
|
}, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
|
|
3370
3370
|
const y = ao(r.url);
|
|
3371
3371
|
if (y && ue.protocols.indexOf(y) === -1) {
|
|
3372
|
-
a(new
|
|
3372
|
+
a(new J("Unsupported protocol " + y + ":", J.ERR_BAD_REQUEST, e));
|
|
3373
3373
|
return;
|
|
3374
3374
|
}
|
|
3375
3375
|
w.send(i || null);
|
|
@@ -3382,11 +3382,11 @@ const ha = (e) => {
|
|
|
3382
3382
|
if (!r) {
|
|
3383
3383
|
r = !0, l();
|
|
3384
3384
|
const d = c instanceof Error ? c : this.reason;
|
|
3385
|
-
a.abort(d instanceof
|
|
3385
|
+
a.abort(d instanceof J ? d : new Ze(d instanceof Error ? d.message : d));
|
|
3386
3386
|
}
|
|
3387
3387
|
};
|
|
3388
3388
|
let o = t && setTimeout(() => {
|
|
3389
|
-
o = null, i(new
|
|
3389
|
+
o = null, i(new J(`timeout ${t} of ms exceeded`, J.ETIMEDOUT));
|
|
3390
3390
|
}, t);
|
|
3391
3391
|
const l = () => {
|
|
3392
3392
|
e && (o && clearTimeout(o), o = null, e.forEach((c) => {
|
|
@@ -3491,7 +3491,7 @@ const ha = (e) => {
|
|
|
3491
3491
|
let v = A && A[f];
|
|
3492
3492
|
if (v)
|
|
3493
3493
|
return v.call(A);
|
|
3494
|
-
throw new
|
|
3494
|
+
throw new J(`Response type '${f}' is not supported`, J.ERR_NOT_SUPPORT, w);
|
|
3495
3495
|
});
|
|
3496
3496
|
});
|
|
3497
3497
|
const h = async (f) => {
|
|
@@ -3591,11 +3591,11 @@ const ha = (e) => {
|
|
|
3591
3591
|
});
|
|
3592
3592
|
} catch (x) {
|
|
3593
3593
|
throw q && q(), x && x.name === "TypeError" && /Load failed|fetch/i.test(x.message) ? Object.assign(
|
|
3594
|
-
new
|
|
3594
|
+
new J("Network Error", J.ERR_NETWORK, f, se),
|
|
3595
3595
|
{
|
|
3596
3596
|
cause: x.cause || x
|
|
3597
3597
|
}
|
|
3598
|
-
) :
|
|
3598
|
+
) : J.from(x, x && x.code, f, se);
|
|
3599
3599
|
}
|
|
3600
3600
|
};
|
|
3601
3601
|
}, vo = /* @__PURE__ */ new Map(), fa = (e) => {
|
|
@@ -3637,7 +3637,7 @@ function yo(e, t) {
|
|
|
3637
3637
|
a = e[o];
|
|
3638
3638
|
let l;
|
|
3639
3639
|
if (r = a, !Co(a) && (r = Us[(l = String(a)).toLowerCase()], r === void 0))
|
|
3640
|
-
throw new
|
|
3640
|
+
throw new J(`Unknown adapter '${l}'`);
|
|
3641
3641
|
if (r && (N.isFunction(r) || (r = r.get(t))))
|
|
3642
3642
|
break;
|
|
3643
3643
|
i[l || "#" + o] = r;
|
|
@@ -3649,7 +3649,7 @@ function yo(e, t) {
|
|
|
3649
3649
|
let l = s ? o.length > 1 ? `since :
|
|
3650
3650
|
` + o.map(pn).join(`
|
|
3651
3651
|
`) : " " + pn(o[0]) : "as no adapter specified";
|
|
3652
|
-
throw new
|
|
3652
|
+
throw new J(
|
|
3653
3653
|
"There is no suitable adapter to dispatch the request " + l,
|
|
3654
3654
|
"ERR_NOT_SUPPORT"
|
|
3655
3655
|
);
|
|
@@ -3703,9 +3703,9 @@ Qt.transitional = function(t, s, a) {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
return (i, o, l) => {
|
|
3705
3705
|
if (t === !1)
|
|
3706
|
-
throw new
|
|
3706
|
+
throw new J(
|
|
3707
3707
|
r(o, " has been removed" + (s ? " in " + s : "")),
|
|
3708
|
-
|
|
3708
|
+
J.ERR_DEPRECATED
|
|
3709
3709
|
);
|
|
3710
3710
|
return s && !wn[o] && (wn[o] = !0, console.warn(
|
|
3711
3711
|
r(
|
|
@@ -3720,7 +3720,7 @@ Qt.spelling = function(t) {
|
|
|
3720
3720
|
};
|
|
3721
3721
|
function No(e, t, s) {
|
|
3722
3722
|
if (typeof e != "object")
|
|
3723
|
-
throw new
|
|
3723
|
+
throw new J("options must be an object", J.ERR_BAD_OPTION_VALUE);
|
|
3724
3724
|
const a = Object.keys(e);
|
|
3725
3725
|
let r = a.length;
|
|
3726
3726
|
for (; r-- > 0; ) {
|
|
@@ -3728,11 +3728,11 @@ function No(e, t, s) {
|
|
|
3728
3728
|
if (o) {
|
|
3729
3729
|
const l = e[i], u = l === void 0 || o(l, i, e);
|
|
3730
3730
|
if (u !== !0)
|
|
3731
|
-
throw new
|
|
3731
|
+
throw new J("option " + i + " must be " + u, J.ERR_BAD_OPTION_VALUE);
|
|
3732
3732
|
continue;
|
|
3733
3733
|
}
|
|
3734
3734
|
if (s !== !0)
|
|
3735
|
-
throw new
|
|
3735
|
+
throw new J("Unknown option " + i, J.ERR_BAD_OPTION);
|
|
3736
3736
|
}
|
|
3737
3737
|
}
|
|
3738
3738
|
const xt = {
|
|
@@ -4031,7 +4031,7 @@ re.CancelToken = So;
|
|
|
4031
4031
|
re.isCancel = da;
|
|
4032
4032
|
re.VERSION = pa;
|
|
4033
4033
|
re.toFormData = jt;
|
|
4034
|
-
re.AxiosError =
|
|
4034
|
+
re.AxiosError = J;
|
|
4035
4035
|
re.Cancel = re.CanceledError;
|
|
4036
4036
|
re.all = function(t) {
|
|
4037
4037
|
return Promise.all(t);
|
|
@@ -5215,12 +5215,12 @@ function Po({
|
|
|
5215
5215
|
enableDrag: i,
|
|
5216
5216
|
onIndexChange: o
|
|
5217
5217
|
}) {
|
|
5218
|
-
const [l, u] =
|
|
5218
|
+
const [l, u] = Z(!1), [c, d] = Z(0), [m, h] = Z(0), [p, f] = Z(0), [A, w] = Z(0), [v, y] = Z(null), S = Ga(null), [E, b] = Z(1), I = le(() => {
|
|
5219
5219
|
if (r) return 1;
|
|
5220
5220
|
const C = S.current?.offsetWidth || window.innerWidth, T = s + a, O = Math.floor(C / T);
|
|
5221
5221
|
return Math.max(1, O);
|
|
5222
5222
|
}, [r, s, a]);
|
|
5223
|
-
|
|
5223
|
+
xe(() => {
|
|
5224
5224
|
const C = () => {
|
|
5225
5225
|
const T = I();
|
|
5226
5226
|
b(T);
|
|
@@ -5318,7 +5318,7 @@ function Po({
|
|
|
5318
5318
|
},
|
|
5319
5319
|
[U]
|
|
5320
5320
|
);
|
|
5321
|
-
return
|
|
5321
|
+
return xe(() => {
|
|
5322
5322
|
if (l)
|
|
5323
5323
|
return S.current?.addEventListener("mousemove", q), S.current?.addEventListener("mouseup", U), () => {
|
|
5324
5324
|
S.current?.removeEventListener(
|
|
@@ -5352,8 +5352,8 @@ function vu(e) {
|
|
|
5352
5352
|
fullPageWidth: o = !1,
|
|
5353
5353
|
pagination: l = !1,
|
|
5354
5354
|
enableDrag: u = !0
|
|
5355
|
-
} = e, c = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] =
|
|
5356
|
-
|
|
5355
|
+
} = e, c = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] = Z(0), [h, p] = Z(!1);
|
|
5356
|
+
xe(() => {
|
|
5357
5357
|
p(!0);
|
|
5358
5358
|
const j = document.getElementById("ssr-dummy_" + s);
|
|
5359
5359
|
j && j.remove();
|
|
@@ -6041,14 +6041,10 @@ const Go = (e) => {
|
|
|
6041
6041
|
isVideo: s = !1,
|
|
6042
6042
|
hasShadow: a = !1,
|
|
6043
6043
|
priorityHigh: r = !1
|
|
6044
|
-
} = e, i = Ca()
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
`/api/image-proxy?url=${encodeURIComponent(u[0].url)}`
|
|
6049
|
-
) : l(u?.[0]?.url);
|
|
6050
|
-
})();
|
|
6051
|
-
}, [u, t, e.cookies]), u && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
6044
|
+
} = e, i = Ca();
|
|
6045
|
+
let o;
|
|
6046
|
+
const l = t?.sizes;
|
|
6047
|
+
return l?.[0]?.url ? o = `/api/image-proxy?url=${encodeURIComponent(l[0].url)}` : o = l?.[0]?.url, l && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
6052
6048
|
/* @__PURE__ */ n("span", { className: "sass-com-img-backdropAux" }),
|
|
6053
6049
|
/* @__PURE__ */ g("picture", { children: [
|
|
6054
6050
|
/* @__PURE__ */ n(
|
|
@@ -7456,7 +7452,7 @@ const Go = (e) => {
|
|
|
7456
7452
|
) }) })
|
|
7457
7453
|
}
|
|
7458
7454
|
);
|
|
7459
|
-
},
|
|
7455
|
+
}, Te = (e) => {
|
|
7460
7456
|
const { PUBLIC_ENV: t } = B(), s = ie("/x.svg");
|
|
7461
7457
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", width: 23, height: 23, ...e }) : /* @__PURE__ */ n("svg", { ...e, width: 28, height: 28, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ n("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
7462
7458
|
}, Zo = (e) => {
|
|
@@ -7496,7 +7492,7 @@ const Go = (e) => {
|
|
|
7496
7492
|
whatsapp: (e) => /* @__PURE__ */ n(Jo, { ...e }),
|
|
7497
7493
|
tiktok: (e) => /* @__PURE__ */ n($o, { ...e }),
|
|
7498
7494
|
youtube: (e) => /* @__PURE__ */ n(Zo, { ...e }),
|
|
7499
|
-
x: (e) => /* @__PURE__ */ n(
|
|
7495
|
+
x: (e) => /* @__PURE__ */ n(Te, { ...e }),
|
|
7500
7496
|
gnews: (e) => /* @__PURE__ */ n(Wo, { ...e }),
|
|
7501
7497
|
podcast: (e) => /* @__PURE__ */ n(Yo, { ...e }),
|
|
7502
7498
|
telegram: (e) => /* @__PURE__ */ n(Ko, { ...e })
|
|
@@ -7709,8 +7705,8 @@ const Go = (e) => {
|
|
|
7709
7705
|
X: {
|
|
7710
7706
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
7711
7707
|
icon: {
|
|
7712
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
7713
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
7708
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
7709
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
7714
7710
|
}
|
|
7715
7711
|
},
|
|
7716
7712
|
Whatsapp: {
|
|
@@ -7919,24 +7915,23 @@ const Eu = (e) => {
|
|
|
7919
7915
|
);
|
|
7920
7916
|
}, Yt = (e) => {
|
|
7921
7917
|
const {
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
return c.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7918
|
+
info: t,
|
|
7919
|
+
main: s,
|
|
7920
|
+
overImage: a = "default",
|
|
7921
|
+
titleGradient: r = !1
|
|
7922
|
+
} = e, { SHOW_TAG_BY_SECTION: i, SUB_PUBLICATION_PREFIX_IN_ROUTES: o } = B(), l = () => {
|
|
7923
|
+
if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7924
|
+
const u = e.keywords.tags[0], c = u.name;
|
|
7925
|
+
return u.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7931
7926
|
P,
|
|
7932
7927
|
{
|
|
7933
|
-
"aria-label":
|
|
7934
|
-
block_subPublication:
|
|
7928
|
+
"aria-label": c,
|
|
7929
|
+
block_subPublication: o?.tema,
|
|
7935
7930
|
className: "sass-com-sc2-sectionDescription",
|
|
7936
|
-
href: je(
|
|
7937
|
-
children:
|
|
7931
|
+
href: je(u, e.paths),
|
|
7932
|
+
children: c
|
|
7938
7933
|
}
|
|
7939
|
-
) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children:
|
|
7934
|
+
) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children: c });
|
|
7940
7935
|
} else if (e.info?.section?.url)
|
|
7941
7936
|
return /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7942
7937
|
P,
|
|
@@ -7949,14 +7944,14 @@ const Eu = (e) => {
|
|
|
7949
7944
|
) });
|
|
7950
7945
|
return null;
|
|
7951
7946
|
};
|
|
7952
|
-
return /* @__PURE__ */ g("section", { className: "sass-com-sc2-content", children: [
|
|
7947
|
+
return console.log("props-sc2 owl preview", e.preview), /* @__PURE__ */ g("section", { className: "sass-com-sc2-content", children: [
|
|
7953
7948
|
/* @__PURE__ */ n(
|
|
7954
7949
|
P,
|
|
7955
7950
|
{
|
|
7956
|
-
title:
|
|
7957
|
-
href:
|
|
7958
|
-
target:
|
|
7959
|
-
children: /* @__PURE__ */ n(ve, { preview: e.preview
|
|
7951
|
+
title: s?.title?.section,
|
|
7952
|
+
href: t.link.url,
|
|
7953
|
+
target: t.link.target,
|
|
7954
|
+
children: /* @__PURE__ */ n(ve, { preview: e.preview })
|
|
7960
7955
|
}
|
|
7961
7956
|
),
|
|
7962
7957
|
/* @__PURE__ */ g(
|
|
@@ -7964,15 +7959,15 @@ const Eu = (e) => {
|
|
|
7964
7959
|
{
|
|
7965
7960
|
className: [
|
|
7966
7961
|
"sass-com-sc2-boxInformation",
|
|
7967
|
-
|
|
7962
|
+
r ? "sass-com-sc2-titleGradient" : ""
|
|
7968
7963
|
].join(" "),
|
|
7969
7964
|
style: {
|
|
7970
|
-
width:
|
|
7971
|
-
left:
|
|
7972
|
-
top:
|
|
7965
|
+
width: a !== "default" ? "90%" : "",
|
|
7966
|
+
left: a === "left" ? 0 : a === "right" ? "calc(10% - 1px)" : "auto",
|
|
7967
|
+
top: a !== "default" ? "-1rem" : ""
|
|
7973
7968
|
},
|
|
7974
7969
|
children: [
|
|
7975
|
-
/* @__PURE__ */ n(
|
|
7970
|
+
/* @__PURE__ */ n(l, {}),
|
|
7976
7971
|
/* @__PURE__ */ n("h2", { className: "sass-com-sc2-articule", children: /* @__PURE__ */ n(
|
|
7977
7972
|
P,
|
|
7978
7973
|
{
|
|
@@ -8157,7 +8152,7 @@ const Eu = (e) => {
|
|
|
8157
8152
|
target: "_blank",
|
|
8158
8153
|
className: "sass-com-ah1-social-link",
|
|
8159
8154
|
rel: "noreferrer",
|
|
8160
|
-
children: /* @__PURE__ */ n(
|
|
8155
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
8161
8156
|
}
|
|
8162
8157
|
),
|
|
8163
8158
|
f && /* @__PURE__ */ n(
|
|
@@ -8238,7 +8233,7 @@ const Eu = (e) => {
|
|
|
8238
8233
|
href: p,
|
|
8239
8234
|
target: "_blank",
|
|
8240
8235
|
rel: "noreferrer",
|
|
8241
|
-
children: /* @__PURE__ */ n(
|
|
8236
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-x", forceSVG: !0 })
|
|
8242
8237
|
}
|
|
8243
8238
|
),
|
|
8244
8239
|
f && /* @__PURE__ */ n(
|
|
@@ -9326,7 +9321,7 @@ const Eu = (e) => {
|
|
|
9326
9321
|
target: "_blank",
|
|
9327
9322
|
className: "sass-com-th-socialIconLink",
|
|
9328
9323
|
rel: "noreferrer",
|
|
9329
|
-
children: /* @__PURE__ */ n(
|
|
9324
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-th-socialIcon", forceSVG: !0 })
|
|
9330
9325
|
}
|
|
9331
9326
|
),
|
|
9332
9327
|
i && /* @__PURE__ */ n(
|
|
@@ -11432,8 +11427,8 @@ const Zl = (e) => /* @__PURE__ */ n(
|
|
|
11432
11427
|
X: {
|
|
11433
11428
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
11434
11429
|
icon: {
|
|
11435
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
11436
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
11430
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
11431
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
11437
11432
|
}
|
|
11438
11433
|
},
|
|
11439
11434
|
Whatsapp: {
|
|
@@ -11683,8 +11678,8 @@ const tc = async (e) => {
|
|
|
11683
11678
|
X: {
|
|
11684
11679
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
11685
11680
|
icon: {
|
|
11686
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
11687
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
11681
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
11682
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
11688
11683
|
}
|
|
11689
11684
|
},
|
|
11690
11685
|
Whatsapp: {
|
|
@@ -12577,7 +12572,7 @@ function zu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12577
12572
|
{ label: a.passwordRuleSymbol, test: Ee[4] }
|
|
12578
12573
|
],
|
|
12579
12574
|
[a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
|
|
12580
|
-
), [o, l] =
|
|
12575
|
+
), [o, l] = Z({}), [u, c] = Z(!1), [d, m] = Z(!1), [h, p] = Z(null), [f, A] = Z(
|
|
12581
12576
|
"register"
|
|
12582
12577
|
), w = async () => {
|
|
12583
12578
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -12838,7 +12833,7 @@ function Wu({
|
|
|
12838
12833
|
API_ENV: e,
|
|
12839
12834
|
texts: t
|
|
12840
12835
|
}) {
|
|
12841
|
-
const s = { ...vc, ...t?.comentarios }, [a, r] =
|
|
12836
|
+
const s = { ...vc, ...t?.comentarios }, [a, r] = Z("login"), [i, o] = Z(""), [l, u] = Z(""), [c, d] = Z(""), [m, h] = Z(""), [p, f] = Z(""), [A, w] = Z(!1), [v, y] = Z(!1), [S, E] = Z(null);
|
|
12842
12837
|
ce.useEffect(() => {
|
|
12843
12838
|
if (typeof window > "u") return;
|
|
12844
12839
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && I();
|
|
@@ -13261,7 +13256,7 @@ function Ec({
|
|
|
13261
13256
|
] });
|
|
13262
13257
|
}
|
|
13263
13258
|
function Yu({ containerId: e, containerId2: t }) {
|
|
13264
|
-
return
|
|
13259
|
+
return xe(() => {
|
|
13265
13260
|
try {
|
|
13266
13261
|
let s = function() {
|
|
13267
13262
|
const d = window.twttr;
|
|
@@ -13444,7 +13439,7 @@ const Ku = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13444
13439
|
fetchConfig: o,
|
|
13445
13440
|
paths: l
|
|
13446
13441
|
}) => {
|
|
13447
|
-
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [c, d] =
|
|
13442
|
+
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [c, d] = Z({ data: Array.from({ length: u }, () => xc) }), [m, h] = Z(!1), p = le(async () => {
|
|
13448
13443
|
if (!t) return;
|
|
13449
13444
|
const w = new URLSearchParams({
|
|
13450
13445
|
section: e,
|
|
@@ -13504,7 +13499,7 @@ const Ku = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13504
13499
|
p,
|
|
13505
13500
|
f
|
|
13506
13501
|
]);
|
|
13507
|
-
return
|
|
13502
|
+
return xe(() => {
|
|
13508
13503
|
a && A();
|
|
13509
13504
|
}, [a, A]), !c?.data || c.data.length === 0 ? null : /* @__PURE__ */ n(
|
|
13510
13505
|
kc,
|
|
@@ -13818,7 +13813,7 @@ const ws = {
|
|
|
13818
13813
|
function Ju(e) {
|
|
13819
13814
|
return ws[e];
|
|
13820
13815
|
}
|
|
13821
|
-
const Le = 300,
|
|
13816
|
+
const Le = 300, Ie = {
|
|
13822
13817
|
username: "anonimo",
|
|
13823
13818
|
firstname: "Usuario",
|
|
13824
13819
|
lastname: "Anonimo"
|
|
@@ -14843,9 +14838,9 @@ const Oa = Xc(td, {
|
|
|
14843
14838
|
CAPTCHA_KEY_V2: i,
|
|
14844
14839
|
texts: o
|
|
14845
14840
|
}) => {
|
|
14846
|
-
const l = { ...sd, ...o?.comentarios }, u = { ...ws, ...l.reportReasons ?? {} }, [c, d] =
|
|
14841
|
+
const l = { ...sd, ...o?.comentarios }, u = { ...ws, ...l.reportReasons ?? {} }, [c, d] = Z("form"), [m, h] = Z(
|
|
14847
14842
|
""
|
|
14848
|
-
), [p, f] =
|
|
14843
|
+
), [p, f] = Z(""), [A, w] = Z(""), v = [
|
|
14849
14844
|
{ id: "spam", label: u.spam },
|
|
14850
14845
|
{ id: "inappropriate", label: u.inappropriate },
|
|
14851
14846
|
{ id: "hate", label: u.hate },
|
|
@@ -15083,8 +15078,8 @@ async function rd({
|
|
|
15083
15078
|
}
|
|
15084
15079
|
}
|
|
15085
15080
|
const id = (e, t) => {
|
|
15086
|
-
const [s, a] =
|
|
15087
|
-
return
|
|
15081
|
+
const [s, a] = Z(void 0), { PUBLIC_PUBLICATION_ID: r } = t, i = r;
|
|
15082
|
+
return xe(() => {
|
|
15088
15083
|
if (s) return;
|
|
15089
15084
|
(async () => {
|
|
15090
15085
|
const { PUBLIC_X_SECURITY_TOKEN: l } = t;
|
|
@@ -15168,7 +15163,7 @@ const id = (e, t) => {
|
|
|
15168
15163
|
commentInputPlaceholder: "Ingresa un comentario"
|
|
15169
15164
|
}, js = ({ commentRef: e, captchaToken: t = "", setIsDisabled: s, API_ENV: a, texts: r }) => {
|
|
15170
15165
|
const i = { ...od, ...r?.comentarios };
|
|
15171
|
-
return
|
|
15166
|
+
return xe(() => {
|
|
15172
15167
|
const o = e.current;
|
|
15173
15168
|
if (!o) return;
|
|
15174
15169
|
const l = () => {
|
|
@@ -15448,7 +15443,7 @@ const ud = {
|
|
|
15448
15443
|
API_ENV: o,
|
|
15449
15444
|
texts: l
|
|
15450
15445
|
}) => {
|
|
15451
|
-
const [u, c] =
|
|
15446
|
+
const [u, c] = Z(!0), [d, m] = Z(""), h = () => {
|
|
15452
15447
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), i();
|
|
15453
15448
|
};
|
|
15454
15449
|
return /* @__PURE__ */ g("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
@@ -15501,9 +15496,9 @@ const ud = {
|
|
|
15501
15496
|
replyingToLabel: "Respondiendo a"
|
|
15502
15497
|
}, fd = ({ reply: e, replyingTo: t, user: s, onFlag: a, DATE_CONFIG: r, texts: i }) => {
|
|
15503
15498
|
const o = { ...hd, ...i?.comentarios }, l = e.text;
|
|
15504
|
-
let u = `${
|
|
15499
|
+
let u = `${Ie.firstname} ${Ie.lastname ?? ""}`, c = Ie.username;
|
|
15505
15500
|
return e.user && (u = `${e.user.firstname} ${e.user.lastname ?? ""}`, c = e.user.username), /* @__PURE__ */ n("div", { className: "comment-item reply", children: /* @__PURE__ */ g("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
15506
|
-
/* @__PURE__ */ n(qa, { user: e.user ? e.user :
|
|
15501
|
+
/* @__PURE__ */ n(qa, { user: e.user ? e.user : Ie }),
|
|
15507
15502
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
15508
15503
|
/* @__PURE__ */ n(Ma, { username: u, date: e.date.time, DATE_CONFIG: r }),
|
|
15509
15504
|
/* @__PURE__ */ g("div", { className: "comment-reply-to", children: [
|
|
@@ -15519,8 +15514,8 @@ const ud = {
|
|
|
15519
15514
|
}, gd = {
|
|
15520
15515
|
moreRepliesButton: "Más Respuestas"
|
|
15521
15516
|
}, pd = ({ comment: e, replyingTo: t, path: s, user: a, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: l }) => {
|
|
15522
|
-
const u = { ...gd, ...l?.comentarios }, c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] =
|
|
15523
|
-
let y = `${
|
|
15517
|
+
const u = { ...gd, ...l?.comentarios }, c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = Z(c), [h, p] = ce.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: A } = o, w = e.text, v = ce.useRef(null);
|
|
15518
|
+
let y = `${Ie.firstname} ${Ie.lastname ?? ""}`, S = Ie.username;
|
|
15524
15519
|
e.user && (y = `${e.user.firstname} ${e.user.lastname ?? ""}`, S = e.user.username);
|
|
15525
15520
|
const E = (b) => {
|
|
15526
15521
|
m({ morereply: d.morereply, reply: [b, ...d.reply] });
|
|
@@ -15531,7 +15526,7 @@ const ud = {
|
|
|
15531
15526
|
className: "comment-header-container su-flex su-relative",
|
|
15532
15527
|
"data-hasreplies": d.reply.length > 0 ? "true" : "false",
|
|
15533
15528
|
children: [
|
|
15534
|
-
/* @__PURE__ */ n(qa, { user: e.user ? e.user :
|
|
15529
|
+
/* @__PURE__ */ n(qa, { user: e.user ? e.user : Ie }),
|
|
15535
15530
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
15536
15531
|
/* @__PURE__ */ n(Ma, { username: y, date: e.date.time, DATE_CONFIG: o }),
|
|
15537
15532
|
/* @__PURE__ */ n("p", { className: "comment-text su-font-normal", children: w }),
|
|
@@ -15609,7 +15604,7 @@ const ud = {
|
|
|
15609
15604
|
API_ENV: r,
|
|
15610
15605
|
texts: i
|
|
15611
15606
|
}) => {
|
|
15612
|
-
const [o, l] =
|
|
15607
|
+
const [o, l] = Z(!0), [u, c] = Z("");
|
|
15613
15608
|
return /* @__PURE__ */ g("div", { className: "comment-form su-p-8 su-relative", children: [
|
|
15614
15609
|
/* @__PURE__ */ n(
|
|
15615
15610
|
js,
|
|
@@ -15681,7 +15676,7 @@ const ud = {
|
|
|
15681
15676
|
API_ENV: o,
|
|
15682
15677
|
texts: l
|
|
15683
15678
|
}) => {
|
|
15684
|
-
const [u, c] =
|
|
15679
|
+
const [u, c] = Z(!0), [d, m] = Z("");
|
|
15685
15680
|
return /* @__PURE__ */ n($, { children: /* @__PURE__ */ g("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
|
|
15686
15681
|
/* @__PURE__ */ n(
|
|
15687
15682
|
bd,
|
|
@@ -15764,9 +15759,9 @@ const ud = {
|
|
|
15764
15759
|
API_ENV: o,
|
|
15765
15760
|
texts: l
|
|
15766
15761
|
}) => {
|
|
15767
|
-
const u = { ...Cd, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: c, PUBLIC_X_SECURITY_TOKEN: d } = o, m = c ?? "", h = t.replaceAll("/", "|"), [p, f] =
|
|
15762
|
+
const u = { ...Cd, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: c, PUBLIC_X_SECURITY_TOKEN: d } = o, m = c ?? "", h = t.replaceAll("/", "|"), [p, f] = Z(
|
|
15768
15763
|
void 0
|
|
15769
|
-
), [A, w] =
|
|
15764
|
+
), [A, w] = Z(""), { comments: v, setComments: y } = id(h, o), [S, E] = ce.useState(!1), b = ce.useRef(null), I = ce.useRef(null), k = (U) => {
|
|
15770
15765
|
w(A === U ? "" : U);
|
|
15771
15766
|
}, Q = (U) => {
|
|
15772
15767
|
y(
|
|
@@ -15861,7 +15856,7 @@ const ud = {
|
|
|
15861
15856
|
replyingTo: A,
|
|
15862
15857
|
handleReplyingTo: k,
|
|
15863
15858
|
onFlag: W,
|
|
15864
|
-
user: s ??
|
|
15859
|
+
user: s ?? Ie,
|
|
15865
15860
|
path: h,
|
|
15866
15861
|
API_ENV: o,
|
|
15867
15862
|
texts: l
|
|
@@ -15946,7 +15941,7 @@ function Sd({
|
|
|
15946
15941
|
API_ENV: a,
|
|
15947
15942
|
texts: r
|
|
15948
15943
|
}) {
|
|
15949
|
-
const [i, o] =
|
|
15944
|
+
const [i, o] = Z(null), [l, u] = Z(null), c = a?.COGNITO_AUTH_PREFIX ?? "ASTRO_", d = le(async () => {
|
|
15950
15945
|
if (e) {
|
|
15951
15946
|
if (document.cookie.search(c + "IS_AUTH=true") === -1) {
|
|
15952
15947
|
o(!1), u(null);
|
|
@@ -15960,9 +15955,9 @@ function Sd({
|
|
|
15960
15955
|
}
|
|
15961
15956
|
}
|
|
15962
15957
|
}, [e, c]);
|
|
15963
|
-
|
|
15958
|
+
xe(() => {
|
|
15964
15959
|
d();
|
|
15965
|
-
}, [d, e]),
|
|
15960
|
+
}, [d, e]), xe(() => {
|
|
15966
15961
|
if (!l || !e || typeof window > "u") return;
|
|
15967
15962
|
const f = window;
|
|
15968
15963
|
if (typeof f != "function") {
|
|
@@ -16218,10 +16213,16 @@ const _a = async (e, t) => {
|
|
|
16218
16213
|
cardGap: 32,
|
|
16219
16214
|
visibleItems: 3,
|
|
16220
16215
|
children: t.map((i, o) => {
|
|
16221
|
-
const l = {
|
|
16222
|
-
...i
|
|
16223
|
-
|
|
16224
|
-
|
|
16216
|
+
const l = {
|
|
16217
|
+
...i,
|
|
16218
|
+
preview: {
|
|
16219
|
+
...i.preview
|
|
16220
|
+
},
|
|
16221
|
+
main: {
|
|
16222
|
+
...i.main,
|
|
16223
|
+
title: { ...i.main.title, section: r ? i.main.title.home : i.main.title.section }
|
|
16224
|
+
}
|
|
16225
|
+
};
|
|
16225
16226
|
return /* @__PURE__ */ n(
|
|
16226
16227
|
Yt,
|
|
16227
16228
|
{
|