sass-template-common 0.3.95 → 0.3.97
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 a, jsxs as f, Fragment as Z } from "react/jsx-runtime";
|
|
2
2
|
import * as za from "react";
|
|
3
|
-
import
|
|
3
|
+
import xe, { useState as J, useRef as Vs, useCallback as ue, useEffect as Qe, createElement as ct, forwardRef as $s, Fragment as _n, useMemo as Jo, Component as Zo } from "react";
|
|
4
4
|
let la = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -87,7 +87,7 @@ const Xo = () => {
|
|
|
87
87
|
newsType: e?.info?.type ?? "",
|
|
88
88
|
publishDate: new Date(e?.info?.date?.firstpublish ?? "").toISOString().split("T")[0] ?? ""
|
|
89
89
|
} : void 0, tr = ({ id: e, dimensionValues: t = {} }) => {
|
|
90
|
-
const n =
|
|
90
|
+
const n = xe.useMemo(() => {
|
|
91
91
|
const o = {};
|
|
92
92
|
return Object.keys(t).forEach((r) => {
|
|
93
93
|
o[r] = r;
|
|
@@ -436,7 +436,7 @@ function Ws() {
|
|
|
436
436
|
})(hn)), hn.exports;
|
|
437
437
|
}
|
|
438
438
|
var or = Ws();
|
|
439
|
-
const
|
|
439
|
+
const Ue = /* @__PURE__ */ Et(or);
|
|
440
440
|
var mn = { exports: {} }, rr = mn.exports, Fa;
|
|
441
441
|
function ir() {
|
|
442
442
|
return Fa || (Fa = 1, (function(e, t) {
|
|
@@ -642,23 +642,23 @@ function Ar() {
|
|
|
642
642
|
}
|
|
643
643
|
var wr = Ar();
|
|
644
644
|
const yr = /* @__PURE__ */ Et(wr);
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
645
|
+
Ue.extend(gr);
|
|
646
|
+
Ue.extend(yr);
|
|
647
|
+
Ue.extend(lr);
|
|
648
648
|
const kn = (e) => e === "en" ? "en" : "es", Ge = (e, t) => {
|
|
649
649
|
const { PUBLIC_LNG: n, DATE_TIMEZONE: s } = t || W(), o = kn(n ?? "es");
|
|
650
|
-
return
|
|
650
|
+
return Ue.tz(e, s).locale(o).format("DD MMMM YYYY");
|
|
651
651
|
}, Ca = (e) => {
|
|
652
652
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), s = kn(t ?? "es");
|
|
653
|
-
return
|
|
653
|
+
return Ue.tz(e, n).locale(s).format(
|
|
654
654
|
s === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
655
655
|
);
|
|
656
656
|
}, br = (e) => {
|
|
657
657
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), s = kn(t ?? "es");
|
|
658
|
-
return
|
|
658
|
+
return Ue.tz(e, n).locale(s).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
659
659
|
}, c9 = (e) => {
|
|
660
660
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = W(), s = kn(t ?? "es");
|
|
661
|
-
return
|
|
661
|
+
return Ue.tz(e, n).locale(s).format("dddd DD [de] MMMM YYYY");
|
|
662
662
|
}, ze = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
663
663
|
function St(e) {
|
|
664
664
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
@@ -1048,15 +1048,15 @@ const Tr = () => {
|
|
|
1048
1048
|
let t = "";
|
|
1049
1049
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1050
1050
|
const n = e.params.news.split("-"), s = n[n.length - 1] ?? "", o = s.substring(1, 9), r = s.substring(9, 13);
|
|
1051
|
-
t = `/listas/${
|
|
1051
|
+
t = `/listas/${Ue(o).format("YYYY/MM/DD")}/lista_${r}.html`;
|
|
1052
1052
|
} else if (e.params.news.match(/.*lb[0-9]*.html/g)) {
|
|
1053
1053
|
const n = e.params.news.split("-"), s = n[n.length - 1] ?? "", o = s.substring(2, 10), r = s.substring(10, 14);
|
|
1054
|
-
t = `/liveblog/${
|
|
1054
|
+
t = `/liveblog/${Ue(o).format(
|
|
1055
1055
|
"YYYY/MM/DD"
|
|
1056
1056
|
)}/liveblog_${r}.html`;
|
|
1057
1057
|
} else {
|
|
1058
1058
|
const s = e.params.news.replace(/\.html$/g, "").split("-");
|
|
1059
|
-
Array.isArray(s) && (t = `/contenidos/${
|
|
1059
|
+
Array.isArray(s) && (t = `/contenidos/${Ue(s[s.length - 2]).format(
|
|
1060
1060
|
"YYYY/MM/DD"
|
|
1061
1061
|
)}/noticia_${s[s.length - 1]}.html`);
|
|
1062
1062
|
}
|
|
@@ -1065,13 +1065,13 @@ const Tr = () => {
|
|
|
1065
1065
|
function h9(e) {
|
|
1066
1066
|
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], s = n[n.length - 1]?.split("."), o = s && s[0] ? s[0] : "", r = o.substring(0, 2), i = o.substring(2, 10), c = o.substring(10);
|
|
1067
1067
|
return { path: {
|
|
1068
|
-
vy: (l) => `/videos/video-youtube/${
|
|
1068
|
+
vy: (l) => `/videos/video-youtube/${Ue(i).format(
|
|
1069
1069
|
"YYYY/MM/DD"
|
|
1070
1070
|
)}/videoYouTube_${l}.lnk`,
|
|
1071
|
-
ve: (l) => `/videos/video-embedded/${
|
|
1071
|
+
ve: (l) => `/videos/video-embedded/${Ue(i).format(
|
|
1072
1072
|
"YYYY/MM/DD"
|
|
1073
1073
|
)}/videoEmbedded_${l}.lnk`,
|
|
1074
|
-
vf: (l) => `/videos/video-flash/${
|
|
1074
|
+
vf: (l) => `/videos/video-flash/${Ue(i).format("YYYY/MM/DD")}/${n[0]}.${l}`
|
|
1075
1075
|
}[r]?.(c) ?? "", op: r };
|
|
1076
1076
|
}
|
|
1077
1077
|
const At = (e, t) => {
|
|
@@ -4721,7 +4721,7 @@ const Rt = (e) => {
|
|
|
4721
4721
|
}
|
|
4722
4722
|
),
|
|
4723
4723
|
/* @__PURE__ */ a(h, {}),
|
|
4724
|
-
|
|
4724
|
+
xe.createElement(
|
|
4725
4725
|
e.isTitle ? "h1" : "h2",
|
|
4726
4726
|
{
|
|
4727
4727
|
className: ne.articule
|
|
@@ -5984,7 +5984,7 @@ const ml = (e) => {
|
|
|
5984
5984
|
}
|
|
5985
5985
|
)
|
|
5986
5986
|
] })
|
|
5987
|
-
] }), Tl = "_content_19eag_1", kl = "_contentInfo_19eag_39", Ul = "_subscribeImage_19eag_55", Rl = "_tag_19eag_83", Ll = "_contentTitle_19eag_119", ql = "_title_19eag_129", Bl = "_subTitle_19eag_139", Ol = "_inputStyled_19eag_157", Pl = "_buttonStyled_19eag_235", Dl = "_contentTerms_19eag_261", Ml = "_subscribeText_19eag_273", jl = "_terms_19eag_291",
|
|
5987
|
+
] }), Tl = "_content_19eag_1", kl = "_contentInfo_19eag_39", Ul = "_subscribeImage_19eag_55", Rl = "_tag_19eag_83", Ll = "_contentTitle_19eag_119", ql = "_title_19eag_129", Bl = "_subTitle_19eag_139", Ol = "_inputStyled_19eag_157", Pl = "_buttonStyled_19eag_235", Dl = "_contentTerms_19eag_261", Ml = "_subscribeText_19eag_273", jl = "_terms_19eag_291", Re = {
|
|
5988
5988
|
content: Tl,
|
|
5989
5989
|
contentInfo: kl,
|
|
5990
5990
|
subscribeImage: Ul,
|
|
@@ -6023,15 +6023,15 @@ const ml = (e) => {
|
|
|
6023
6023
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
6024
6024
|
}
|
|
6025
6025
|
) : /* @__PURE__ */ a(q, { ...s, style: o });
|
|
6026
|
-
}, Ql = (e) => /* @__PURE__ */ f("section", { className:
|
|
6027
|
-
/* @__PURE__ */ a("div", { className:
|
|
6028
|
-
/* @__PURE__ */ f("div", { className:
|
|
6029
|
-
/* @__PURE__ */ a("div", { className:
|
|
6030
|
-
/* @__PURE__ */ f("div", { className:
|
|
6031
|
-
/* @__PURE__ */ a("p", { className:
|
|
6032
|
-
/* @__PURE__ */ a("p", { className:
|
|
6026
|
+
}, Ql = (e) => /* @__PURE__ */ f("section", { className: Re.content, children: [
|
|
6027
|
+
/* @__PURE__ */ a("div", { className: Re.subscribeImage, children: e.image }),
|
|
6028
|
+
/* @__PURE__ */ f("div", { className: Re.contentInfo, children: [
|
|
6029
|
+
/* @__PURE__ */ a("div", { className: Re.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
6030
|
+
/* @__PURE__ */ f("div", { className: Re.contentTitle, children: [
|
|
6031
|
+
/* @__PURE__ */ a("p", { className: Re.title, children: e.title }),
|
|
6032
|
+
/* @__PURE__ */ a("p", { className: Re.subTitle, children: e.sibtitle })
|
|
6033
6033
|
] }),
|
|
6034
|
-
/* @__PURE__ */ f("div", { className:
|
|
6034
|
+
/* @__PURE__ */ f("div", { className: Re.inputStyled, children: [
|
|
6035
6035
|
/* @__PURE__ */ a(
|
|
6036
6036
|
"input",
|
|
6037
6037
|
{
|
|
@@ -6040,11 +6040,11 @@ const ml = (e) => {
|
|
|
6040
6040
|
id: "newsletter-email"
|
|
6041
6041
|
}
|
|
6042
6042
|
),
|
|
6043
|
-
/* @__PURE__ */ a(qa, { className:
|
|
6043
|
+
/* @__PURE__ */ a(qa, { className: Re.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" })
|
|
6044
6044
|
] }),
|
|
6045
|
-
/* @__PURE__ */ f("div", { className:
|
|
6046
|
-
/* @__PURE__ */ a("p", { className:
|
|
6047
|
-
/* @__PURE__ */ a(q, { className:
|
|
6045
|
+
/* @__PURE__ */ f("div", { className: Re.contentTerms, children: [
|
|
6046
|
+
/* @__PURE__ */ a("p", { className: Re.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
6047
|
+
/* @__PURE__ */ a(q, { className: Re.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
6048
6048
|
] })
|
|
6049
6049
|
] })
|
|
6050
6050
|
] }), Gl = (e) => /* @__PURE__ */ f(
|
|
@@ -6164,7 +6164,7 @@ const ml = (e) => {
|
|
|
6164
6164
|
/* @__PURE__ */ a("path", { d: "M0,0v19.74h74.3V0H0ZM62.2,4.7h2v5.8l3-3h2.4l-1.1,1.2-6.3,6.2V4.7ZM69.8,15h-2.4l-1.6-2.1,1.4-1.4,2.6,3.5ZM40.3,7.7h1v-1.8h2v1.8h1.8v1.7h-1.8v3c0,.3.1.6.2.7.2.2.4.3.6.3.3,0,.6-.1.8-.3l.5,1.5c-.2.2-.5.3-.7.4-.3.1-.6.1-.9.1-.8,0-1.4-.2-1.9-.6-.5-.5-.7-1.1-.7-2v-3.1h-1v-1.7h.1ZM37.7,12.3c-.2-.1-.4-.2-.6-.2-.3,0-.5-.1-.8-.1s-.6-.1-.9-.2c-.3-.1-.6-.2-.8-.4-.3-.2-.5-.4-.6-.6-.2-.3-.2-.6-.2-1,0-.5.1-.9.4-1.2.3-.4.6-.6,1.1-.8s1-.3,1.7-.3c.5,0,1,.1,1.4.2.5.1.9.3,1.2.5l-.6,1.6c-.3-.2-.6-.4-1-.4-.3-.1-.6-.1-1-.1-.5,0-.8.1-1,.2-.2.1-.3.3-.3.5s.1.3.2.4c.2.1.4.2.6.2.3.1.5.1.8.1s.6.1.9.2c.3.1.6.2.8.4s.4.4.6.6c.2.3.2.6.2,1,0,.5-.1.9-.4,1.2-.3.4-.6.6-1.1.8-.4.2-1,.3-1.7.3-.6,0-1.2-.1-1.7-.2-.6-.2-1-.3-1.3-.6l.6-1.6c.3.2.7.4,1.1.5.4.1.8.2,1.3.2s.8-.1,1-.2c.2-.1.3-.3.3-.5,0-.2,0-.3-.2-.5ZM6.7,14.3l1.1-1.1c.2.1.4.1.6.1.3,0,.6-.1.9-.3.3-.2.5-.4.6-.7.2-.3.2-.7.2-1.1s0-.8-.1-1.1c-.2-.3-.4-.6-.6-.7-.3-.2-.6-.3-.9-.3s-.6.1-.9.3-.5.4-.6.7c-.2.3-.2.7-.2,1.1s.1.8.2,1.1c-.1.1,0,.1,0,.2l-2.3,2.3V4.7h1.9v3.6c.2-.2.4-.3.6-.5.5-.3.9-.4,1.5-.4s1.2.2,1.8.5c.5.3,1,.8,1.2,1.3.3.6.5,1.3.5,2.1s-.2,1.5-.5,2c-.3.6-.7,1-1.2,1.4-.5.3-1.1.5-1.8.5-.6,0-1.1-.2-1.6-.4-.1-.2-.3-.4-.4-.5ZM13.6,4.7h2v10.3h-2V4.7ZM17.7,13.6c-.3-.5-.4-1.1-.4-1.9v-4.2h2v3.9c0,.6.1,1.1.4,1.4.2.3.6.4,1,.4.3,0,.6-.1.8-.2s.4-.4.6-.6c.1-.3.2-.7.2-1.1v-3.8h2v7.5h-1.8v-.9c-.2.2-.4.5-.6.6-.5.2-1,.3-1.5.3-.6,0-1.1-.1-1.6-.4-.5-.1-.8-.5-1.1-1ZM33,11.5v.3h-5.3c0,.2.1.4.2.6.2.3.4.6.7.7.3.2.6.2,1.1.2.4,0,.7-.1,1-.2.3-.1.5-.3.8-.5l1,1.2c-.3.4-.7.7-1.2.9-.5.2-1,.3-1.6.3-.8,0-1.5-.2-2.1-.5s-1-.8-1.4-1.4c-.3-.6-.5-1.2-.5-2s.2-1.4.5-2,.8-1,1.3-1.4c.5-.1,1.2-.3,1.9-.3s1.3.2,1.8.5c.6.3,1,.8,1.3,1.3.3.6.5,1.3.5,2.1,0,0,0,.1,0,.2ZM47.4,14.8c-.4-.2-.7-.5-.9-.8s-.3-.7-.3-1.2c0-.4.1-.8.3-1.2.2-.3.5-.6,1-.8.4-.2,1-.3,1.7-.3h1.6c0-.4-.1-.8-.4-1-.3-.3-.6-.4-1.2-.4-.4,0-.7.1-1.1.2s-.6.3-.9.5l-.7-1.5c.4-.3.8-.5,1.4-.6.5-.2,1.1-.3,1.6-.3,1,0,1.9.3,2.5.8s.9,1.4.9,2.5v4.2h-1.9v-1.1c-.2.3-.4.6-.7.8-.4.3-.8.4-1.4.4-.6.1-1.1,0-1.5-.2ZM56,14.6c-.6-.3-1-.8-1.4-1.4-.3-.6-.5-1.2-.5-2s.2-1.4.5-2,.8-1,1.4-1.4c.6-.2,1.3-.4,2-.4s1.4.2,1.9.5,1,.8,1.2,1.4l-1.6.9c-.2-.4-.4-.6-.7-.8s-.6-.3-.9-.3-.6.1-.9.3c-.3.2-.5.4-.6.7-.2.3-.2.7-.2,1.1s.1.8.2,1.1c.2.3.4.5.6.7.3.2.6.3.9.3s.6-.1.9-.2c.3-.2.5-.4.7-.8l1.6.9c-.3.6-.6,1-1.2,1.4-.6.3-1.2.5-1.9.5s-1.4-.2-2-.5Z" })
|
|
6165
6165
|
]
|
|
6166
6166
|
}
|
|
6167
|
-
), Xl = "_content_hsrgo_1", ed = "_brandContent_hsrgo_19", td = "_socialMedia_hsrgo_41", nd = "_linkSocialNetwoks_hsrgo_55", ad = "_sectionContent_hsrgo_97", sd = "_section_hsrgo_97", od = "_menuItem_hsrgo_133", rd = "_otherItems_hsrgo_159", id = "_copyrigth_hsrgo_187", cd = "_copyrigthText_hsrgo_207", ld = "_logoStyled_hsrgo_227", dd = "_socialInstagram_hsrgo_263",
|
|
6167
|
+
), Xl = "_content_hsrgo_1", ed = "_brandContent_hsrgo_19", td = "_socialMedia_hsrgo_41", nd = "_linkSocialNetwoks_hsrgo_55", ad = "_sectionContent_hsrgo_97", sd = "_section_hsrgo_97", od = "_menuItem_hsrgo_133", rd = "_otherItems_hsrgo_159", id = "_copyrigth_hsrgo_187", cd = "_copyrigthText_hsrgo_207", ld = "_logoStyled_hsrgo_227", dd = "_socialInstagram_hsrgo_263", Ie = {
|
|
6168
6168
|
content: Xl,
|
|
6169
6169
|
brandContent: ed,
|
|
6170
6170
|
socialMedia: td,
|
|
@@ -6319,52 +6319,52 @@ const ml = (e) => {
|
|
|
6319
6319
|
telegram: (e) => /* @__PURE__ */ a(md, { ...e })
|
|
6320
6320
|
}, F9 = (e) => {
|
|
6321
6321
|
const { freeZone: t, socials: n, menu: s, customBlock: o } = e;
|
|
6322
|
-
return /* @__PURE__ */ f("footer", { className:
|
|
6323
|
-
/* @__PURE__ */ f("section", { className:
|
|
6324
|
-
/* @__PURE__ */ a(q, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className:
|
|
6325
|
-
/* @__PURE__ */ a("div", { className:
|
|
6322
|
+
return /* @__PURE__ */ f("footer", { className: Ie.content, children: [
|
|
6323
|
+
/* @__PURE__ */ f("section", { className: Ie.brandContent, children: [
|
|
6324
|
+
/* @__PURE__ */ a(q, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: Ie.logoStyled, children: e.logo }) }),
|
|
6325
|
+
/* @__PURE__ */ a("div", { className: Ie.socialMedia, children: Object.keys(n).map((r) => n[r]?.show && /* @__PURE__ */ a(
|
|
6326
6326
|
"a",
|
|
6327
6327
|
{
|
|
6328
6328
|
target: "_blank",
|
|
6329
6329
|
rel: "noreferrer",
|
|
6330
6330
|
"aria-label": n[r].title + " link",
|
|
6331
|
-
className:
|
|
6331
|
+
className: Ie.linkSocialNetwoks,
|
|
6332
6332
|
href: n[r].url,
|
|
6333
6333
|
children: Ba[r]({
|
|
6334
|
-
className: `${r === "instagram" ?
|
|
6334
|
+
className: `${r === "instagram" ? Ie.socialInstagram : ""}`
|
|
6335
6335
|
})
|
|
6336
6336
|
},
|
|
6337
6337
|
r
|
|
6338
6338
|
)) })
|
|
6339
6339
|
] }),
|
|
6340
|
-
/* @__PURE__ */ f("section", { className:
|
|
6341
|
-
/* @__PURE__ */ a("div", { className:
|
|
6340
|
+
/* @__PURE__ */ f("section", { className: Ie.sectionContent, children: [
|
|
6341
|
+
/* @__PURE__ */ a("div", { className: Ie.section, children: s.filter((r) => !r.subitem).map((r, i) => /* @__PURE__ */ a(
|
|
6342
6342
|
q,
|
|
6343
6343
|
{
|
|
6344
6344
|
block_subPublication: !0,
|
|
6345
6345
|
href: r.link ? r.link : void 0,
|
|
6346
6346
|
target: r.target,
|
|
6347
|
-
className: `${
|
|
6347
|
+
className: `${Ie.menuItem} footer-menu-item`,
|
|
6348
6348
|
"aria-label": r.description,
|
|
6349
6349
|
children: r.description
|
|
6350
6350
|
},
|
|
6351
6351
|
i
|
|
6352
6352
|
)) }),
|
|
6353
|
-
/* @__PURE__ */ a("div", { className:
|
|
6353
|
+
/* @__PURE__ */ a("div", { className: Ie.section, children: t && t.map((r, i) => /* @__PURE__ */ a(
|
|
6354
6354
|
q,
|
|
6355
6355
|
{
|
|
6356
6356
|
block_subPublication: !0,
|
|
6357
6357
|
href: r.link ? r?.link : void 0,
|
|
6358
6358
|
target: r.target,
|
|
6359
|
-
className:
|
|
6359
|
+
className: Ie.otherItems,
|
|
6360
6360
|
children: r.description
|
|
6361
6361
|
},
|
|
6362
6362
|
i
|
|
6363
6363
|
)) })
|
|
6364
6364
|
] }),
|
|
6365
6365
|
o && /* @__PURE__ */ a(Z, { children: o }),
|
|
6366
|
-
/* @__PURE__ */ f("section", { className:
|
|
6367
|
-
/* @__PURE__ */ a("p", { className:
|
|
6366
|
+
/* @__PURE__ */ f("section", { className: Ie.copyrigth, children: [
|
|
6367
|
+
/* @__PURE__ */ a("p", { className: Ie.copyrigthText, children: e.copyrigth }),
|
|
6368
6368
|
/* @__PURE__ */ a(
|
|
6369
6369
|
q,
|
|
6370
6370
|
{
|
|
@@ -7038,7 +7038,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7038
7038
|
] })
|
|
7039
7039
|
}
|
|
7040
7040
|
);
|
|
7041
|
-
}, uu = "_content_1ofcp_1", hu = "_contentInfo_1ofcp_25", mu = "_contentAuthor_1ofcp_51", fu = "_imageStyled_1ofcp_65", gu = "_contentIconStyled_1ofcp_83", pu = "_name_1ofcp_127", Au = "_email_1ofcp_143", wu = "_description_1ofcp_163", yu = "_contenSocialNetwork_1ofcp_185", bu = "_socialIcon_1ofcp_205",
|
|
7041
|
+
}, uu = "_content_1ofcp_1", hu = "_contentInfo_1ofcp_25", mu = "_contentAuthor_1ofcp_51", fu = "_imageStyled_1ofcp_65", gu = "_contentIconStyled_1ofcp_83", pu = "_name_1ofcp_127", Au = "_email_1ofcp_143", wu = "_description_1ofcp_163", yu = "_contenSocialNetwork_1ofcp_185", bu = "_socialIcon_1ofcp_205", Ee = {
|
|
7042
7042
|
content: uu,
|
|
7043
7043
|
contentInfo: hu,
|
|
7044
7044
|
contentAuthor: mu,
|
|
@@ -7051,28 +7051,28 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7051
7051
|
socialIcon: bu
|
|
7052
7052
|
}, _u = async (e) => {
|
|
7053
7053
|
const { autor: t, autorIcon: n } = e, s = n, o = t?.info?.image?.sizes?.[0]?.url ?? "", r = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, u = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", m = t?.addtional?.USER_USERTWT ?? "", p = t?.addtional?.USER_USERLIN ?? "";
|
|
7054
|
-
return /* @__PURE__ */ a("section", { className:
|
|
7054
|
+
return /* @__PURE__ */ a("section", { className: Ee.content, children: /* @__PURE__ */ f("div", { className: Ee.contentInfo, children: [
|
|
7055
7055
|
o ? /* @__PURE__ */ a(
|
|
7056
7056
|
"img",
|
|
7057
7057
|
{
|
|
7058
7058
|
fetchPriority: "low",
|
|
7059
7059
|
loading: "lazy",
|
|
7060
|
-
className:
|
|
7060
|
+
className: Ee.imageStyled,
|
|
7061
7061
|
src: await pe(o)
|
|
7062
7062
|
}
|
|
7063
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
7064
|
-
/* @__PURE__ */ f("div", { className:
|
|
7065
|
-
/* @__PURE__ */ a("h1", { className:
|
|
7066
|
-
c && /* @__PURE__ */ a("p", { className:
|
|
7067
|
-
u && /* @__PURE__ */ a("p", { className:
|
|
7068
|
-
/* @__PURE__ */ f("div", { className:
|
|
7063
|
+
) : /* @__PURE__ */ a("div", { className: Ee.contentIconStyled, children: /* @__PURE__ */ a(s, {}) }),
|
|
7064
|
+
/* @__PURE__ */ f("div", { className: Ee.contentAuthor, children: [
|
|
7065
|
+
/* @__PURE__ */ a("h1", { className: Ee.name, children: r }),
|
|
7066
|
+
c && /* @__PURE__ */ a("p", { className: Ee.email, children: i }),
|
|
7067
|
+
u && /* @__PURE__ */ a("p", { className: Ee.description, children: l }),
|
|
7068
|
+
/* @__PURE__ */ f("div", { className: Ee.contenSocialNetwork, children: [
|
|
7069
7069
|
d && /* @__PURE__ */ a(
|
|
7070
7070
|
"a",
|
|
7071
7071
|
{
|
|
7072
7072
|
href: d,
|
|
7073
7073
|
target: "_blank",
|
|
7074
7074
|
rel: "noreferrer",
|
|
7075
|
-
children: /* @__PURE__ */ a(Pn, { className:
|
|
7075
|
+
children: /* @__PURE__ */ a(Pn, { className: Ee.socialIcon })
|
|
7076
7076
|
}
|
|
7077
7077
|
),
|
|
7078
7078
|
h && /* @__PURE__ */ a(
|
|
@@ -7084,7 +7084,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7084
7084
|
children: /* @__PURE__ */ a(
|
|
7085
7085
|
Dn,
|
|
7086
7086
|
{
|
|
7087
|
-
className:
|
|
7087
|
+
className: Ee.socialIcon,
|
|
7088
7088
|
style: { padding: "4px" }
|
|
7089
7089
|
}
|
|
7090
7090
|
)
|
|
@@ -7096,7 +7096,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7096
7096
|
href: m,
|
|
7097
7097
|
target: "_blank",
|
|
7098
7098
|
rel: "noreferrer",
|
|
7099
|
-
children: /* @__PURE__ */ a(lt, { className:
|
|
7099
|
+
children: /* @__PURE__ */ a(lt, { className: Ee.socialIcon })
|
|
7100
7100
|
}
|
|
7101
7101
|
),
|
|
7102
7102
|
p && /* @__PURE__ */ a(
|
|
@@ -7105,7 +7105,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7105
7105
|
href: p,
|
|
7106
7106
|
target: "_blank",
|
|
7107
7107
|
rel: "noreferrer",
|
|
7108
|
-
children: /* @__PURE__ */ a(yt, { className:
|
|
7108
|
+
children: /* @__PURE__ */ a(yt, { className: Ee.socialIcon })
|
|
7109
7109
|
}
|
|
7110
7110
|
)
|
|
7111
7111
|
] })
|
|
@@ -7647,7 +7647,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7647
7647
|
i
|
|
7648
7648
|
)) })
|
|
7649
7649
|
] });
|
|
7650
|
-
}, Eh = "_headerStyled_1gz8t_1", Th = "_headerContent_1gz8t_27", kh = "_iconContent_1gz8t_49", Uh = "_menuButton_1gz8t_67", Rh = "_logoStyled_1gz8t_131", Lh = "_buttonSection_1gz8t_187", qh = "_buttonSectionSearch_1gz8t_217", Bh = "_headLineContent_1gz8t_261", Oh = "_headLineTitle_1gz8t_287", Ph = "_headLine_1gz8t_261", Dh = "_hasAlertZone_1gz8t_393",
|
|
7650
|
+
}, Eh = "_headerStyled_1gz8t_1", Th = "_headerContent_1gz8t_27", kh = "_iconContent_1gz8t_49", Uh = "_menuButton_1gz8t_67", Rh = "_logoStyled_1gz8t_131", Lh = "_buttonSection_1gz8t_187", qh = "_buttonSectionSearch_1gz8t_217", Bh = "_headLineContent_1gz8t_261", Oh = "_headLineTitle_1gz8t_287", Ph = "_headLine_1gz8t_261", Dh = "_hasAlertZone_1gz8t_393", Te = {
|
|
7651
7651
|
headerStyled: Eh,
|
|
7652
7652
|
headerContent: Th,
|
|
7653
7653
|
iconContent: kh,
|
|
@@ -7661,7 +7661,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7661
7661
|
hasAlertZone: Dh
|
|
7662
7662
|
}, Mh = (e) => {
|
|
7663
7663
|
const { alertZone: t, custom_styles: n = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = W();
|
|
7664
|
-
return /* @__PURE__ */ f("header", { className:
|
|
7664
|
+
return /* @__PURE__ */ f("header", { className: Te.headerStyled, style: n, children: [
|
|
7665
7665
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ a(
|
|
7666
7666
|
Bo,
|
|
7667
7667
|
{
|
|
@@ -7671,12 +7671,12 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7671
7671
|
socials: e.socials
|
|
7672
7672
|
}
|
|
7673
7673
|
),
|
|
7674
|
-
/* @__PURE__ */ f("div", { className: `${
|
|
7674
|
+
/* @__PURE__ */ f("div", { className: `${Te.headerContent} center-mobile-header-icon`, children: [
|
|
7675
7675
|
/* @__PURE__ */ a(
|
|
7676
7676
|
qa,
|
|
7677
7677
|
{
|
|
7678
7678
|
id: "button-app",
|
|
7679
|
-
className:
|
|
7679
|
+
className: Te.menuButton,
|
|
7680
7680
|
toggledrawerevent: "true",
|
|
7681
7681
|
"aria-label": "menu",
|
|
7682
7682
|
"aria-labelledby": "menu",
|
|
@@ -7684,34 +7684,50 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7684
7684
|
children: /* @__PURE__ */ a(
|
|
7685
7685
|
Lo,
|
|
7686
7686
|
{
|
|
7687
|
-
className:
|
|
7688
|
-
color: "var(--header-icons)",
|
|
7687
|
+
className: Te.startIcon,
|
|
7688
|
+
color: "var(--header-menu-icon-color, var(--header-icons))",
|
|
7689
7689
|
width: 27,
|
|
7690
7690
|
height: 27
|
|
7691
7691
|
}
|
|
7692
7692
|
)
|
|
7693
7693
|
}
|
|
7694
7694
|
),
|
|
7695
|
-
/* @__PURE__ */
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
/* @__PURE__ */ a(
|
|
7695
|
+
/* @__PURE__ */ f("div", { className: Te.iconContent, children: [
|
|
7696
|
+
/* @__PURE__ */ a(
|
|
7697
|
+
q,
|
|
7698
|
+
{
|
|
7699
|
+
href: "/",
|
|
7700
|
+
"aria-label": "Home",
|
|
7701
|
+
className: "icon header-logo-link-sticky",
|
|
7702
|
+
style: { display: "flex" },
|
|
7703
|
+
children: xe.createElement(
|
|
7704
|
+
"span",
|
|
7705
|
+
{ className: Te.logoStyled },
|
|
7706
|
+
e.icon
|
|
7707
|
+
)
|
|
7708
|
+
}
|
|
7709
|
+
),
|
|
7710
|
+
e.mobileIcon && /* @__PURE__ */ a(
|
|
7711
|
+
q,
|
|
7712
|
+
{
|
|
7713
|
+
href: "/",
|
|
7714
|
+
"aria-label": "Home",
|
|
7715
|
+
className: "icon header-logo-link-sticky header-mobile-icon",
|
|
7716
|
+
style: { display: "flex" },
|
|
7717
|
+
children: xe.createElement(
|
|
7718
|
+
"span",
|
|
7719
|
+
{ className: Te.logoStyled },
|
|
7720
|
+
e.mobileIcon
|
|
7721
|
+
)
|
|
7722
|
+
}
|
|
7723
|
+
)
|
|
7724
|
+
] }),
|
|
7725
|
+
!e.showAlertPop && t?.data && /* @__PURE__ */ f("div", { className: Te.headLineContent, children: [
|
|
7726
|
+
/* @__PURE__ */ a("div", { className: `${Te.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
7711
7727
|
/* @__PURE__ */ a(
|
|
7712
7728
|
q,
|
|
7713
7729
|
{
|
|
7714
|
-
className:
|
|
7730
|
+
className: Te.headLine,
|
|
7715
7731
|
href: t.data[0]?.info.link.url,
|
|
7716
7732
|
target: t.data[0]?.info.link.target,
|
|
7717
7733
|
title: t.data[0]?.main.title.home,
|
|
@@ -7724,8 +7740,8 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7724
7740
|
{
|
|
7725
7741
|
style: e.showAlertPop ? { marginLeft: "auto" } : {},
|
|
7726
7742
|
className: [
|
|
7727
|
-
|
|
7728
|
-
t?.data ?
|
|
7743
|
+
Te.buttonSection,
|
|
7744
|
+
t?.data ? Te.hasAlertZone : "",
|
|
7729
7745
|
"search-button"
|
|
7730
7746
|
].join(" "),
|
|
7731
7747
|
children: [
|
|
@@ -7735,7 +7751,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7735
7751
|
block_subPublication: s?.buscar,
|
|
7736
7752
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7737
7753
|
"aria-label": e.searchKeyWord,
|
|
7738
|
-
className: `${
|
|
7754
|
+
className: `${Te.buttonSectionSearch} search-button-icon`,
|
|
7739
7755
|
style: { display: "flex" },
|
|
7740
7756
|
children: /* @__PURE__ */ a(Oa, { width: 28, height: 28, color: "currentColor" })
|
|
7741
7757
|
}
|
|
@@ -7845,12 +7861,12 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
7845
7861
|
"aria-labelledby": "menu",
|
|
7846
7862
|
title: "menu",
|
|
7847
7863
|
children: [
|
|
7848
|
-
/* @__PURE__ */ a(Lo, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7864
|
+
/* @__PURE__ */ a(Lo, { color: "var(--header-menu-icon-color, var(--header-icons))", width: 27, height: 27 }),
|
|
7849
7865
|
/* @__PURE__ */ a("p", { className: _e.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7850
7866
|
]
|
|
7851
7867
|
}
|
|
7852
7868
|
) }),
|
|
7853
|
-
/* @__PURE__ */ a("div", { className: _e.logoContent, children: /* @__PURE__ */ a(q, { href: "/", "aria-label": "Home", className: "header-logo-link", children:
|
|
7869
|
+
/* @__PURE__ */ a("div", { className: _e.logoContent, children: /* @__PURE__ */ a(q, { href: "/", "aria-label": "Home", className: "header-logo-link", children: xe.createElement(
|
|
7854
7870
|
"span",
|
|
7855
7871
|
{ className: `${_e.logoStyled}` },
|
|
7856
7872
|
e.icon
|
|
@@ -8310,7 +8326,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8310
8326
|
]
|
|
8311
8327
|
}
|
|
8312
8328
|
) });
|
|
8313
|
-
}, Jm = "_content_qiw8s_1", Zm = "_contentNews_qiw8s_19", Xm = "_linkTitle_qiw8s_53", e2 = "_tag_qiw8s_69", t2 = "_tagmx_qiw8s_109", n2 = "_titular_qiw8s_139", a2 = "_correspondent_qiw8s_169", s2 = "_correspondentLink_qiw8s_191", o2 = "_description_qiw8s_213",
|
|
8329
|
+
}, Jm = "_content_qiw8s_1", Zm = "_contentNews_qiw8s_19", Xm = "_linkTitle_qiw8s_53", e2 = "_tag_qiw8s_69", t2 = "_tagmx_qiw8s_109", n2 = "_titular_qiw8s_139", a2 = "_correspondent_qiw8s_169", s2 = "_correspondentLink_qiw8s_191", o2 = "_description_qiw8s_213", ke = {
|
|
8314
8330
|
content: Jm,
|
|
8315
8331
|
contentNews: Zm,
|
|
8316
8332
|
linkTitle: Xm,
|
|
@@ -8339,15 +8355,15 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8339
8355
|
q,
|
|
8340
8356
|
{
|
|
8341
8357
|
"aria-label": c,
|
|
8342
|
-
className:
|
|
8358
|
+
className: ke.tagmx,
|
|
8343
8359
|
block_subPublication: n?.tema,
|
|
8344
8360
|
href: At(i, e.paths),
|
|
8345
8361
|
children: c
|
|
8346
8362
|
}
|
|
8347
8363
|
)
|
|
8348
|
-
] }) : /* @__PURE__ */ a("div", { className:
|
|
8364
|
+
] }) : /* @__PURE__ */ a("div", { className: ke.tagmx, children: c });
|
|
8349
8365
|
} else if (e.info?.section?.url)
|
|
8350
|
-
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(q, { className:
|
|
8366
|
+
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(q, { className: ke.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }) });
|
|
8351
8367
|
return null;
|
|
8352
8368
|
}, r = () => {
|
|
8353
8369
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
@@ -8356,17 +8372,17 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8356
8372
|
q,
|
|
8357
8373
|
{
|
|
8358
8374
|
"aria-label": c,
|
|
8359
|
-
className:
|
|
8375
|
+
className: ke.tag,
|
|
8360
8376
|
block_subPublication: n?.tema,
|
|
8361
8377
|
href: At(i, e.paths),
|
|
8362
8378
|
children: c
|
|
8363
8379
|
}
|
|
8364
|
-
) }) : /* @__PURE__ */ a("div", { className:
|
|
8380
|
+
) }) : /* @__PURE__ */ a("div", { className: ke.tag, children: c });
|
|
8365
8381
|
} else if (e.info?.section?.url)
|
|
8366
|
-
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(q, { className:
|
|
8382
|
+
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(q, { className: ke.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }) });
|
|
8367
8383
|
return null;
|
|
8368
8384
|
};
|
|
8369
|
-
return /* @__PURE__ */ f("section", { className: `${
|
|
8385
|
+
return /* @__PURE__ */ f("section", { className: `${ke.content} destacado-super-content`, children: [
|
|
8370
8386
|
/* @__PURE__ */ a(
|
|
8371
8387
|
q,
|
|
8372
8388
|
{
|
|
@@ -8392,7 +8408,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8392
8408
|
/* @__PURE__ */ f(
|
|
8393
8409
|
"div",
|
|
8394
8410
|
{
|
|
8395
|
-
className:
|
|
8411
|
+
className: ke.contentNews,
|
|
8396
8412
|
style: {
|
|
8397
8413
|
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
8398
8414
|
},
|
|
@@ -8409,13 +8425,13 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8409
8425
|
/* @__PURE__ */ a(
|
|
8410
8426
|
q,
|
|
8411
8427
|
{
|
|
8412
|
-
className:
|
|
8428
|
+
className: ke.linkTitle,
|
|
8413
8429
|
href: e?.info?.link?.url,
|
|
8414
8430
|
target: e?.info?.link?.target,
|
|
8415
8431
|
children: /* @__PURE__ */ a(
|
|
8416
8432
|
"h1",
|
|
8417
8433
|
{
|
|
8418
|
-
className:
|
|
8434
|
+
className: ke.titular,
|
|
8419
8435
|
style: {
|
|
8420
8436
|
"--titlePosition": e.textPosition === "start" ? "initial" : "center"
|
|
8421
8437
|
},
|
|
@@ -8430,7 +8446,7 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8430
8446
|
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
8431
8447
|
"div",
|
|
8432
8448
|
{
|
|
8433
|
-
className:
|
|
8449
|
+
className: ke.description,
|
|
8434
8450
|
dangerouslySetInnerHTML: {
|
|
8435
8451
|
__html: e.main.subtitle.striped
|
|
8436
8452
|
}
|
|
@@ -8441,10 +8457,10 @@ const zd = "_content_xlsy2_1", Hd = "_videoContent_xlsy2_39", Fd = "_articleSect
|
|
|
8441
8457
|
{
|
|
8442
8458
|
block_subPublication: n?.autor,
|
|
8443
8459
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
8444
|
-
className:
|
|
8460
|
+
className: ke.correspondent,
|
|
8445
8461
|
children: s()
|
|
8446
8462
|
}
|
|
8447
|
-
) : /* @__PURE__ */ a("p", { className:
|
|
8463
|
+
) : /* @__PURE__ */ a("p", { className: ke.correspondentLink, children: s() }) })
|
|
8448
8464
|
]
|
|
8449
8465
|
}
|
|
8450
8466
|
)
|
|
@@ -13623,8 +13639,8 @@ const H3 = (e, t) => {
|
|
|
13623
13639
|
] })
|
|
13624
13640
|
] });
|
|
13625
13641
|
}, Wo = ({ onClick: e, isDisabled: t, API_ENV: n }) => {
|
|
13626
|
-
const [s, o] =
|
|
13627
|
-
|
|
13642
|
+
const [s, o] = xe.useState(!1), { S3_ID_DIR: r = "", PUBLIC_ENV: i, PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: u } = n;
|
|
13643
|
+
xe.useEffect(() => {
|
|
13628
13644
|
let d = null;
|
|
13629
13645
|
return s && (d = setTimeout(() => {
|
|
13630
13646
|
o(!1);
|
|
@@ -13792,7 +13808,7 @@ const H3 = (e, t) => {
|
|
|
13792
13808
|
] })
|
|
13793
13809
|
] }) });
|
|
13794
13810
|
}, $3 = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: r, API_ENV: i }) => {
|
|
13795
|
-
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, l] = J(c), [d, h] =
|
|
13811
|
+
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, l] = J(c), [d, h] = xe.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = i, g = e.text, A = xe.useRef(null);
|
|
13796
13812
|
let w = `${et.firstname} ${et.lastname ?? ""}`, b = et.username;
|
|
13797
13813
|
e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`, b = e.user.username);
|
|
13798
13814
|
const N = (v) => {
|
|
@@ -13931,7 +13947,7 @@ const H3 = (e, t) => {
|
|
|
13931
13947
|
}) => {
|
|
13932
13948
|
const { PUBLIC_PUBLICATION_ID: r, PUBLIC_X_SECURITY_TOKEN: i } = o, c = r ?? "", u = t.replaceAll("/", "|"), [l, d] = J(
|
|
13933
13949
|
void 0
|
|
13934
|
-
), [h, m] = J(""), { comments: p, setComments: g } = H3(u, o), [A, w] =
|
|
13950
|
+
), [h, m] = J(""), { comments: p, setComments: g } = H3(u, o), [A, w] = xe.useState(!1), b = xe.useRef(null), N = (Y) => {
|
|
13935
13951
|
m(h === Y ? "" : Y);
|
|
13936
13952
|
}, v = (Y) => {
|
|
13937
13953
|
g(
|
|
@@ -14768,7 +14784,7 @@ function a9({
|
|
|
14768
14784
|
API_ENV: c,
|
|
14769
14785
|
commentLabel: u
|
|
14770
14786
|
}) {
|
|
14771
|
-
const [l, d] =
|
|
14787
|
+
const [l, d] = xe.useState(!1);
|
|
14772
14788
|
return /* @__PURE__ */ f(Z, { children: [
|
|
14773
14789
|
l && /* @__PURE__ */ a(
|
|
14774
14790
|
n9,
|
|
@@ -14890,8 +14906,8 @@ const p5 = ({
|
|
|
14890
14906
|
fetchConfig: u,
|
|
14891
14907
|
commentLabel: l
|
|
14892
14908
|
}) => {
|
|
14893
|
-
const d = Vs(null), [h, m] =
|
|
14894
|
-
|
|
14909
|
+
const d = Vs(null), [h, m] = xe.useState(r);
|
|
14910
|
+
xe.useEffect(() => {
|
|
14895
14911
|
if (r || h) return;
|
|
14896
14912
|
const g = new IntersectionObserver(
|
|
14897
14913
|
([A]) => {
|