sass-template-common 0.9.173 → 0.9.174
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 p, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as Ks from "react";
|
|
3
|
-
import ce, { useState as F, useRef as Vn, useCallback as le, useEffect as Ue, createElement as
|
|
3
|
+
import ce, { useState as F, useRef as Vn, useCallback as le, useEffect as Ue, createElement as Oe, forwardRef as Va, Fragment as gs, useMemo as dt, Component as Fn } from "react";
|
|
4
4
|
let ps = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -697,7 +697,7 @@ const Dt = (e) => e === "en" ? "en" : "es", ke = (e, t) => {
|
|
|
697
697
|
});
|
|
698
698
|
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, c = d >= 0 ? "+" : "-", u = (g) => String(Math.floor(Math.abs(g))).padStart(2, "0"), m = u(d / 60), h = u(d % 60);
|
|
699
699
|
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${c}${m}:${h}`;
|
|
700
|
-
},
|
|
700
|
+
}, Me = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
701
701
|
function Ye(e) {
|
|
702
702
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
703
703
|
}
|
|
@@ -4083,7 +4083,7 @@ const {
|
|
|
4083
4083
|
getAdapter: ku,
|
|
4084
4084
|
mergeConfig: Ru
|
|
4085
4085
|
} = re;
|
|
4086
|
-
class
|
|
4086
|
+
class Be {
|
|
4087
4087
|
constructor(t) {
|
|
4088
4088
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion), t?.exclude && (this.exclude = t.exclude);
|
|
4089
4089
|
}
|
|
@@ -4463,7 +4463,7 @@ class Oe {
|
|
|
4463
4463
|
};
|
|
4464
4464
|
};
|
|
4465
4465
|
}
|
|
4466
|
-
class Lo extends
|
|
4466
|
+
class Lo extends Be {
|
|
4467
4467
|
MULTIPUBLICATION_FETCHES;
|
|
4468
4468
|
PUBLIC_PUBLICATION_ID;
|
|
4469
4469
|
IS_MULTIPUBLICATION;
|
|
@@ -4717,7 +4717,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4717
4717
|
return i ? { ...t, ...i } : ge(t);
|
|
4718
4718
|
},
|
|
4719
4719
|
seccion: async (e) => {
|
|
4720
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new
|
|
4720
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = M().PUBLIC_LNG === "en";
|
|
4721
4721
|
try {
|
|
4722
4722
|
const g = await o.getNewsListSection({
|
|
4723
4723
|
section: r,
|
|
@@ -4763,7 +4763,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4763
4763
|
}
|
|
4764
4764
|
},
|
|
4765
4765
|
tema: async (e) => {
|
|
4766
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new
|
|
4766
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = /([t][0-9]{4})\w+/.exec(r || ""), g = h && h?.length > 0 ? h[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f, PUBLIC_LNG: w } = M(), A = w === "en";
|
|
4767
4767
|
try {
|
|
4768
4768
|
const b = await o.getNewsListTags({
|
|
4769
4769
|
tagid: g,
|
|
@@ -4818,7 +4818,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4818
4818
|
}
|
|
4819
4819
|
},
|
|
4820
4820
|
"ultimas-noticias": async (e) => {
|
|
4821
|
-
const { meta: t, config: s, pathname: n, texts: r, axiosApi: i } = e, o = new
|
|
4821
|
+
const { meta: t, config: s, pathname: n, texts: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = {
|
|
4822
4822
|
...t,
|
|
4823
4823
|
title: `${s.name} | ${r.lastNotesTitle}`,
|
|
4824
4824
|
alternates: {
|
|
@@ -4855,7 +4855,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4855
4855
|
}
|
|
4856
4856
|
},
|
|
4857
4857
|
video: async (e) => {
|
|
4858
|
-
const { meta: t, config: s, internalPath: n, axiosApi: r } = e, i = new
|
|
4858
|
+
const { meta: t, config: s, internalPath: n, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r });
|
|
4859
4859
|
try {
|
|
4860
4860
|
const o = await i.getVideos({
|
|
4861
4861
|
imagesizes: "w:1200,h:630,t:2;",
|
|
@@ -4874,7 +4874,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4874
4874
|
}
|
|
4875
4875
|
},
|
|
4876
4876
|
videos: async (e) => {
|
|
4877
|
-
const { meta: t, config: s, pathname: n, axiosApi: r } = e, i = new
|
|
4877
|
+
const { meta: t, config: s, pathname: n, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r }), l = it(n).split("/"), d = [], c = nt(n), u = await i.getvideoListAdvanced({
|
|
4878
4878
|
size: Number(s.newsListLimit),
|
|
4879
4879
|
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
4880
4880
|
page: Number(c)
|
|
@@ -4903,7 +4903,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4903
4903
|
}) : ge(t);
|
|
4904
4904
|
},
|
|
4905
4905
|
pages: async (e, t) => {
|
|
4906
|
-
const { meta: s, config: n, pathname: r, slug: i, axiosApi: o } = e, l = new
|
|
4906
|
+
const { meta: s, config: n, pathname: r, slug: i, axiosApi: o } = e, l = new Be({ config: n, axiosApi: o });
|
|
4907
4907
|
try {
|
|
4908
4908
|
const d = await l.getPages({
|
|
4909
4909
|
path: t || n.servicePrefix + `/pages/${i}`
|
|
@@ -4995,7 +4995,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4995
4995
|
}
|
|
4996
4996
|
},
|
|
4997
4997
|
autor: async (e) => {
|
|
4998
|
-
const { meta: t, config: s, pathname: n, imgSizes: r, slug: i, axiosApi: o } = e, l = new
|
|
4998
|
+
const { meta: t, config: s, pathname: n, imgSizes: r, slug: i, axiosApi: o } = e, l = new Be({ config: s, axiosApi: o, imgSizes: r }), c = it(n).split("/"), u = [], m = nt(n), h = M().PUBLIC_LNG === "en";
|
|
4999
4999
|
try {
|
|
5000
5000
|
const g = await l.getAutorInfo({
|
|
5001
5001
|
user: i,
|
|
@@ -5865,7 +5865,7 @@ const yn = ({
|
|
|
5865
5865
|
"--lineHeightSubTitle": n,
|
|
5866
5866
|
"--colorSubTitle": r
|
|
5867
5867
|
};
|
|
5868
|
-
return t ? /* @__PURE__ */ a("p", { className: `sass-com-nd-description ${i}`, style: l, children:
|
|
5868
|
+
return t ? /* @__PURE__ */ a("p", { className: `sass-com-nd-description ${i}`, style: l, children: e }) : ce.createElement(o ? "h2" : "p", { className: `sass-com-nd-description ${i}`, style: l }, e);
|
|
5869
5869
|
}, ze = (e) => {
|
|
5870
5870
|
const {
|
|
5871
5871
|
share: t = !1,
|
|
@@ -5966,7 +5966,7 @@ const yn = ({
|
|
|
5966
5966
|
isH2: e.isTitle
|
|
5967
5967
|
}
|
|
5968
5968
|
),
|
|
5969
|
-
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
5969
|
+
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
5970
5970
|
O,
|
|
5971
5971
|
{
|
|
5972
5972
|
block_subPublication: c?.autor,
|
|
@@ -5975,7 +5975,7 @@ const yn = ({
|
|
|
5975
5975
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
5976
5976
|
children: u()
|
|
5977
5977
|
}
|
|
5978
|
-
)
|
|
5978
|
+
) : /* @__PURE__ */ a("span", { className: "sass-com-nd-correspondent", children: u() }) })
|
|
5979
5979
|
] });
|
|
5980
5980
|
}, Nn = (e) => /* @__PURE__ */ p(
|
|
5981
5981
|
"svg",
|
|
@@ -7144,8 +7144,9 @@ const zo = (e) => {
|
|
|
7144
7144
|
...i,
|
|
7145
7145
|
config: Sa
|
|
7146
7146
|
}))), Array.isArray(t) && t.length > 0 && /* @__PURE__ */ p(
|
|
7147
|
-
"
|
|
7147
|
+
"aside",
|
|
7148
7148
|
{
|
|
7149
|
+
"aria-label": "Lo Más Leído",
|
|
7149
7150
|
className: "sass-com-rd-content sass-readest",
|
|
7150
7151
|
style: { "--aspect-ratio": "1 / 1" },
|
|
7151
7152
|
children: [
|
|
@@ -7650,7 +7651,7 @@ const zo = (e) => {
|
|
|
7650
7651
|
)
|
|
7651
7652
|
}
|
|
7652
7653
|
);
|
|
7653
|
-
},
|
|
7654
|
+
}, Re = (e) => {
|
|
7654
7655
|
const { PUBLIC_ENV: t } = M(), s = ie("/linkedin.svg");
|
|
7655
7656
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p("svg", { width: "32", height: "32", viewBox: "0 0 42 42", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
7656
7657
|
/* @__PURE__ */ a("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
@@ -7788,8 +7789,8 @@ const zo = (e) => {
|
|
|
7788
7789
|
e
|
|
7789
7790
|
)}`,
|
|
7790
7791
|
icon: {
|
|
7791
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
7792
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
7792
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
7793
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
7793
7794
|
}
|
|
7794
7795
|
}
|
|
7795
7796
|
};
|
|
@@ -7867,7 +7868,7 @@ const Hu = (e) => {
|
|
|
7867
7868
|
}
|
|
7868
7869
|
),
|
|
7869
7870
|
/* @__PURE__ */ p("div", { className: "sass-com-bv3-articleSection", children: [
|
|
7870
|
-
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children:
|
|
7871
|
+
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children: Me(e.video.main.description) }),
|
|
7871
7872
|
/* @__PURE__ */ a("p", { className: "sass-com-bv3-correspondent", children: t() })
|
|
7872
7873
|
] })
|
|
7873
7874
|
] }) }) });
|
|
@@ -7911,7 +7912,7 @@ const Hu = (e) => {
|
|
|
7911
7912
|
),
|
|
7912
7913
|
/* @__PURE__ */ a(K, { children: e.paginatorComponent })
|
|
7913
7914
|
] });
|
|
7914
|
-
},
|
|
7915
|
+
}, Pe = (e) => {
|
|
7915
7916
|
const {
|
|
7916
7917
|
main: t,
|
|
7917
7918
|
authors: s,
|
|
@@ -8100,7 +8101,7 @@ const Hu = (e) => {
|
|
|
8100
8101
|
] }),
|
|
8101
8102
|
/* @__PURE__ */ a("h1", { className: "sass-com-lbh-articule", children: e.main?.title?.section }),
|
|
8102
8103
|
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
8103
|
-
"
|
|
8104
|
+
"p",
|
|
8104
8105
|
{
|
|
8105
8106
|
className: "sass-com-lbh-description",
|
|
8106
8107
|
style: {
|
|
@@ -8223,7 +8224,7 @@ const Hu = (e) => {
|
|
|
8223
8224
|
target: "_blank",
|
|
8224
8225
|
className: `sass-com-ah1-social-link ${n ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8225
8226
|
rel: "noreferrer",
|
|
8226
|
-
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(
|
|
8227
|
+
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(Re, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 })
|
|
8227
8228
|
}
|
|
8228
8229
|
)
|
|
8229
8230
|
] })
|
|
@@ -8304,7 +8305,7 @@ const Hu = (e) => {
|
|
|
8304
8305
|
target: "_blank",
|
|
8305
8306
|
className: n ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
8306
8307
|
rel: "noreferrer",
|
|
8307
|
-
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(
|
|
8308
|
+
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(Re, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 })
|
|
8308
8309
|
}
|
|
8309
8310
|
)
|
|
8310
8311
|
]
|
|
@@ -8352,7 +8353,7 @@ const Hu = (e) => {
|
|
|
8352
8353
|
...e.main,
|
|
8353
8354
|
title: {
|
|
8354
8355
|
...e.main.title,
|
|
8355
|
-
article:
|
|
8356
|
+
article: Me(e.main.title.article, 60)
|
|
8356
8357
|
}
|
|
8357
8358
|
}
|
|
8358
8359
|
};
|
|
@@ -8466,7 +8467,7 @@ const Hu = (e) => {
|
|
|
8466
8467
|
}
|
|
8467
8468
|
),
|
|
8468
8469
|
e.relatedName && /* @__PURE__ */ a("h2", { className: "sass-com-bv4-relatedTitle saas-video-related-title", children: e.relatedName }),
|
|
8469
|
-
Array.isArray(t) && t.map((s, n) => /* @__PURE__ */
|
|
8470
|
+
Array.isArray(t) && t.map((s, n) => /* @__PURE__ */ Oe(
|
|
8470
8471
|
ul,
|
|
8471
8472
|
{
|
|
8472
8473
|
...ut(s, !0, !1, !1),
|
|
@@ -8832,7 +8833,7 @@ const Hu = (e) => {
|
|
|
8832
8833
|
href: t.data[0]?.info.link.url,
|
|
8833
8834
|
target: t.data[0]?.info.link.target,
|
|
8834
8835
|
title: t.data[0]?.main.title.home,
|
|
8835
|
-
children:
|
|
8836
|
+
children: Me(t.data[0]?.main.title.home ?? "", 120)
|
|
8836
8837
|
}
|
|
8837
8838
|
)
|
|
8838
8839
|
] }),
|
|
@@ -8998,7 +8999,7 @@ const Hu = (e) => {
|
|
|
8998
8999
|
href: s.data[0]?.info.link.url,
|
|
8999
9000
|
target: s.data[0]?.info.link.target,
|
|
9000
9001
|
title: s.data[0]?.main.title.home,
|
|
9001
|
-
children:
|
|
9002
|
+
children: Me(s.data[0]?.main.title.home ?? "", 120)
|
|
9002
9003
|
}
|
|
9003
9004
|
)
|
|
9004
9005
|
] }) : /* @__PURE__ */ a("div", { className: "sass-com-h1st-line" }),
|
|
@@ -9392,7 +9393,7 @@ const Hu = (e) => {
|
|
|
9392
9393
|
target: "_blank",
|
|
9393
9394
|
className: "sass-com-th-socialIconLink sass-com-th-socialIconStroke",
|
|
9394
9395
|
rel: "noreferrer",
|
|
9395
|
-
children: /* @__PURE__ */ a(
|
|
9396
|
+
children: /* @__PURE__ */ a(Re, { className: "sass-com-th-socialIcon", forceSVG: !0 })
|
|
9396
9397
|
}
|
|
9397
9398
|
)
|
|
9398
9399
|
] })
|
|
@@ -9828,7 +9829,7 @@ const Ze = (e) => {
|
|
|
9828
9829
|
)
|
|
9829
9830
|
}
|
|
9830
9831
|
) : /* @__PURE__ */ a(
|
|
9831
|
-
|
|
9832
|
+
Pe,
|
|
9832
9833
|
{
|
|
9833
9834
|
...e,
|
|
9834
9835
|
main: t,
|
|
@@ -9894,7 +9895,7 @@ const Ze = (e) => {
|
|
|
9894
9895
|
{
|
|
9895
9896
|
style: s,
|
|
9896
9897
|
className: "su-flex su-flex-col su-gap-2 su-w-full su-h-auto su-md:gap-0 sass-bmd-dnh-secondSection",
|
|
9897
|
-
children: e.map((o, l) => l > 0 && /* @__PURE__ */
|
|
9898
|
+
children: e.map((o, l) => l > 0 && /* @__PURE__ */ Oe(
|
|
9898
9899
|
Ze,
|
|
9899
9900
|
{
|
|
9900
9901
|
...o,
|
|
@@ -9934,7 +9935,7 @@ const Ze = (e) => {
|
|
|
9934
9935
|
)
|
|
9935
9936
|
},
|
|
9936
9937
|
o
|
|
9937
|
-
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */
|
|
9938
|
+
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */ Oe(
|
|
9938
9939
|
Ze,
|
|
9939
9940
|
{
|
|
9940
9941
|
...i,
|
|
@@ -10035,7 +10036,7 @@ const Ze = (e) => {
|
|
|
10035
10036
|
}
|
|
10036
10037
|
};
|
|
10037
10038
|
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
|
|
10038
|
-
|
|
10039
|
+
Pe,
|
|
10039
10040
|
{
|
|
10040
10041
|
...c,
|
|
10041
10042
|
isVideo: n,
|
|
@@ -10059,7 +10060,7 @@ const Ze = (e) => {
|
|
|
10059
10060
|
alt: t?.authors[0]?.fullname
|
|
10060
10061
|
}
|
|
10061
10062
|
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: s }),
|
|
10062
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children:
|
|
10063
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children: Me(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
10063
10064
|
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children: i() })
|
|
10064
10065
|
] });
|
|
10065
10066
|
return /* @__PURE__ */ p("div", { className: "sass-com-oc2-content", children: [
|
|
@@ -10081,7 +10082,7 @@ const Ze = (e) => {
|
|
|
10081
10082
|
children: t?.main?.title?.home
|
|
10082
10083
|
}
|
|
10083
10084
|
),
|
|
10084
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children:
|
|
10085
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children: Me(t?.main?.subtitle?.striped || "") })
|
|
10085
10086
|
] })
|
|
10086
10087
|
] });
|
|
10087
10088
|
};
|
|
@@ -10192,7 +10193,7 @@ const sm = (e) => {
|
|
|
10192
10193
|
{
|
|
10193
10194
|
className: "sass-bs-m2c-boxPosition",
|
|
10194
10195
|
style: { order: n },
|
|
10195
|
-
children: /* @__PURE__ */ a(
|
|
10196
|
+
children: /* @__PURE__ */ a(Pe, { ...s, share: e.share, paths: e.paths })
|
|
10196
10197
|
},
|
|
10197
10198
|
n
|
|
10198
10199
|
))
|
|
@@ -10247,7 +10248,7 @@ const sm = (e) => {
|
|
|
10247
10248
|
};
|
|
10248
10249
|
n.push(
|
|
10249
10250
|
/* @__PURE__ */ a("section", { className: s(r), children: /* @__PURE__ */ a(
|
|
10250
|
-
|
|
10251
|
+
Pe,
|
|
10251
10252
|
{
|
|
10252
10253
|
...c,
|
|
10253
10254
|
isVideo: e.isVideo,
|
|
@@ -10297,7 +10298,7 @@ const sm = (e) => {
|
|
|
10297
10298
|
}
|
|
10298
10299
|
};
|
|
10299
10300
|
return /* @__PURE__ */ a("section", { children: /* @__PURE__ */ a(
|
|
10300
|
-
|
|
10301
|
+
Pe,
|
|
10301
10302
|
{
|
|
10302
10303
|
...o,
|
|
10303
10304
|
share: e.share,
|
|
@@ -10326,7 +10327,7 @@ const sm = (e) => {
|
|
|
10326
10327
|
}
|
|
10327
10328
|
};
|
|
10328
10329
|
return /* @__PURE__ */ a("section", { children: /* @__PURE__ */ a(
|
|
10329
|
-
|
|
10330
|
+
Pe,
|
|
10330
10331
|
{
|
|
10331
10332
|
...o,
|
|
10332
10333
|
share: e.share,
|
|
@@ -10384,8 +10385,8 @@ const sm = (e) => {
|
|
|
10384
10385
|
}
|
|
10385
10386
|
}
|
|
10386
10387
|
};
|
|
10387
|
-
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */
|
|
10388
|
-
|
|
10388
|
+
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ Oe(
|
|
10389
|
+
Pe,
|
|
10389
10390
|
{
|
|
10390
10391
|
...u,
|
|
10391
10392
|
isVideo: n,
|
|
@@ -10456,7 +10457,7 @@ const sm = (e) => {
|
|
|
10456
10457
|
"section",
|
|
10457
10458
|
{
|
|
10458
10459
|
className: e.hasLines ? "sass-bd-m13-hasLinesBlock" : "",
|
|
10459
|
-
children: /* @__PURE__ */
|
|
10460
|
+
children: /* @__PURE__ */ Oe(
|
|
10460
10461
|
Ll,
|
|
10461
10462
|
{
|
|
10462
10463
|
...r,
|
|
@@ -10533,7 +10534,7 @@ const sm = (e) => {
|
|
|
10533
10534
|
className: "sass-com-opt1-linkStyled",
|
|
10534
10535
|
href: s?.info?.link?.url,
|
|
10535
10536
|
target: s?.info?.link?.target,
|
|
10536
|
-
children:
|
|
10537
|
+
children: Me(s?.main?.title?.home, 40)
|
|
10537
10538
|
}
|
|
10538
10539
|
) }),
|
|
10539
10540
|
/* @__PURE__ */ a("p", { className: "sass-com-opt1-comment", children: s?.main?.subtitle?.striped }),
|
|
@@ -10615,7 +10616,7 @@ const sm = (e) => {
|
|
|
10615
10616
|
); */
|
|
10616
10617
|
default:
|
|
10617
10618
|
return /* @__PURE__ */ a("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ a(
|
|
10618
|
-
|
|
10619
|
+
Pe,
|
|
10619
10620
|
{
|
|
10620
10621
|
...t,
|
|
10621
10622
|
paths: e.paths,
|
|
@@ -11003,7 +11004,7 @@ const sm = (e) => {
|
|
|
11003
11004
|
...n,
|
|
11004
11005
|
fontSizeSubTitle: "18px",
|
|
11005
11006
|
lineHeightSubTitle: "28px",
|
|
11006
|
-
cutSubtitle: !
|
|
11007
|
+
cutSubtitle: !0,
|
|
11007
11008
|
colorSubTitle: "black",
|
|
11008
11009
|
isTitle: !0,
|
|
11009
11010
|
paths: e.paths,
|
|
@@ -11515,8 +11516,8 @@ const nc = (e) => /* @__PURE__ */ a(
|
|
|
11515
11516
|
e
|
|
11516
11517
|
)}`,
|
|
11517
11518
|
icon: {
|
|
11518
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
11519
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
11519
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
11520
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
11520
11521
|
}
|
|
11521
11522
|
}
|
|
11522
11523
|
};
|
|
@@ -11768,8 +11769,8 @@ const oc = async (e) => {
|
|
|
11768
11769
|
e
|
|
11769
11770
|
)}`,
|
|
11770
11771
|
icon: {
|
|
11771
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
11772
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
11772
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
11773
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
11773
11774
|
}
|
|
11774
11775
|
}
|
|
11775
11776
|
};
|
|
@@ -13762,7 +13763,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13762
13763
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
13763
13764
|
"--colorSubTitle": e.colorSubTitle
|
|
13764
13765
|
},
|
|
13765
|
-
children: s ?
|
|
13766
|
+
children: s ? Me(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
|
|
13766
13767
|
}
|
|
13767
13768
|
),
|
|
13768
13769
|
(e?.config?.showtime || e.config?.showauthor) && l && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -13911,7 +13912,7 @@ const ys = {
|
|
|
13911
13912
|
function gm(e) {
|
|
13912
13913
|
return ys[e];
|
|
13913
13914
|
}
|
|
13914
|
-
const
|
|
13915
|
+
const Le = 300, xe = {
|
|
13915
13916
|
username: "anonimo",
|
|
13916
13917
|
firstname: "Usuario",
|
|
13917
13918
|
lastname: "Anonimo"
|
|
@@ -13924,7 +13925,7 @@ function jc(e) {
|
|
|
13924
13925
|
}
|
|
13925
13926
|
const es = (e, t, s) => {
|
|
13926
13927
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
13927
|
-
const n = e.current?.value || "", r = n.length >
|
|
13928
|
+
const n = e.current?.value || "", r = n.length > Le, { PUBLIC_ENV: i } = s, o = i === "local", l = n.trim() !== "" && (o || t !== "") && !r, d = r ? `No debes exceder el limite de ${Le} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
13928
13929
|
return { boolean: l, text: d };
|
|
13929
13930
|
}, qn = (e) => {
|
|
13930
13931
|
const t = e.cookie.split("; ").find((s) => s.startsWith("reported="));
|
|
@@ -14893,10 +14894,10 @@ function id(e, t) {
|
|
|
14893
14894
|
var m = t.globalName, h = this.props;
|
|
14894
14895
|
h.asyncScriptOnLoad;
|
|
14895
14896
|
var g = h.forwardedRef, f = ad(h, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
14896
|
-
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = g,
|
|
14897
|
+
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = g, Oe(n, f);
|
|
14897
14898
|
}, d;
|
|
14898
14899
|
})(Fn), o = Va(function(l, d) {
|
|
14899
|
-
return
|
|
14900
|
+
return Oe(i, Es({}, l, {
|
|
14900
14901
|
forwardedRef: d
|
|
14901
14902
|
}));
|
|
14902
14903
|
});
|
|
@@ -15277,7 +15278,7 @@ const hd = (e, t) => {
|
|
|
15277
15278
|
if (!o) return;
|
|
15278
15279
|
const l = () => {
|
|
15279
15280
|
const c = o.value.length;
|
|
15280
|
-
o.parentElement && (o.parentElement.dataset.text = `${c}/${
|
|
15281
|
+
o.parentElement && (o.parentElement.dataset.text = `${c}/${Le}`), o.classList.toggle("over-limit", c > Le), s(!es(e, t, n).boolean);
|
|
15281
15282
|
};
|
|
15282
15283
|
return o.addEventListener("input", l), l(), () => o.removeEventListener("input", l);
|
|
15283
15284
|
}, [e, t, s]), /* @__PURE__ */ p("div", { className: "su-relative", children: [
|
|
@@ -15553,7 +15554,7 @@ const Ad = {
|
|
|
15553
15554
|
texts: l
|
|
15554
15555
|
}) => {
|
|
15555
15556
|
const [d, c] = F(!0), [u, m] = F(""), h = () => {
|
|
15556
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15557
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), i();
|
|
15557
15558
|
};
|
|
15558
15559
|
return /* @__PURE__ */ p("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
15559
15560
|
/* @__PURE__ */ a("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: h, children: /* @__PURE__ */ a(We, {}) }),
|
|
@@ -15746,8 +15747,8 @@ const Ad = {
|
|
|
15746
15747
|
addComment: n,
|
|
15747
15748
|
API_ENV: r
|
|
15748
15749
|
});
|
|
15749
|
-
return m && typeof m == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
15750
|
-
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
15750
|
+
return m && typeof m == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Le}`), l(!0), setTimeout(() => {
|
|
15751
|
+
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Le}`), l(!0);
|
|
15751
15752
|
}, m), !0) : !1;
|
|
15752
15753
|
},
|
|
15753
15754
|
isDisabled: o,
|
|
@@ -15833,8 +15834,8 @@ const Ad = {
|
|
|
15833
15834
|
API_ENV: o,
|
|
15834
15835
|
anonimusUser: f
|
|
15835
15836
|
});
|
|
15836
|
-
return m(""), w && typeof w == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15837
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15837
|
+
return m(""), w && typeof w == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), setTimeout(() => {
|
|
15838
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0);
|
|
15838
15839
|
}, w), !0) : !1;
|
|
15839
15840
|
},
|
|
15840
15841
|
isDisabled: d,
|
|
@@ -17161,7 +17162,7 @@ const bm = async ({
|
|
|
17161
17162
|
...i.main,
|
|
17162
17163
|
title: { ...i.main.title, section: r ? i.main.title.home : i.main.title.section }
|
|
17163
17164
|
} };
|
|
17164
|
-
return /* @__PURE__ */
|
|
17165
|
+
return /* @__PURE__ */ Oe(
|
|
17165
17166
|
Zt,
|
|
17166
17167
|
{
|
|
17167
17168
|
...l,
|
|
@@ -17213,7 +17214,7 @@ const bm = async ({
|
|
|
17213
17214
|
}
|
|
17214
17215
|
};
|
|
17215
17216
|
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
|
|
17216
|
-
|
|
17217
|
+
Pe,
|
|
17217
17218
|
{
|
|
17218
17219
|
...c,
|
|
17219
17220
|
isVideo: n,
|
|
@@ -17483,7 +17484,7 @@ export {
|
|
|
17483
17484
|
Bl as CarruselCard,
|
|
17484
17485
|
Ml as CarruselOpinion,
|
|
17485
17486
|
pm as CommentLazyLoader,
|
|
17486
|
-
|
|
17487
|
+
Be as CommonServices,
|
|
17487
17488
|
zn as Comscore,
|
|
17488
17489
|
om as ContactInfoServer,
|
|
17489
17490
|
zu as ContactInput,
|
|
@@ -17553,7 +17554,7 @@ export {
|
|
|
17553
17554
|
mm as ScriptHydrator,
|
|
17554
17555
|
cm as SearchSection,
|
|
17555
17556
|
fe as Section,
|
|
17556
|
-
|
|
17557
|
+
Pe as SectionCard,
|
|
17557
17558
|
Zt as SectionCard2,
|
|
17558
17559
|
_u as SectionCard5,
|
|
17559
17560
|
xa as SectionCardServerComponent,
|
|
@@ -17586,7 +17587,7 @@ export {
|
|
|
17586
17587
|
Gu as coloringByStrokeSVGs,
|
|
17587
17588
|
Ys as compileStyleProps,
|
|
17588
17589
|
iu as createAssessment,
|
|
17589
|
-
|
|
17590
|
+
Me as cutString,
|
|
17590
17591
|
$a as decodeApiEnv,
|
|
17591
17592
|
cu as encodeApiEnv,
|
|
17592
17593
|
Ce as extractMainSlug,
|