sass-template-common 0.2.57 → 0.2.58
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.
|
@@ -656,9 +656,10 @@ export declare interface FreeZoneResponse {
|
|
|
656
656
|
|
|
657
657
|
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
658
658
|
|
|
659
|
-
export declare const GalleryHeader: ({ newsformated, internal, }: {
|
|
659
|
+
export declare const GalleryHeader: ({ newsformated, internal, commonServices, }: {
|
|
660
660
|
newsformated: NewListResponseData;
|
|
661
661
|
internal?: string;
|
|
662
|
+
commonServices: CommonServices;
|
|
662
663
|
}) => Promise<JSX.Element | undefined>;
|
|
663
664
|
|
|
664
665
|
export declare const generalGetData: (promiseArray: PromiseArray) => Promise<{
|
|
@@ -1595,7 +1596,7 @@ declare type Props_10 = {
|
|
|
1595
1596
|
paths: RoutePathConfig;
|
|
1596
1597
|
internalPath: string;
|
|
1597
1598
|
showComments?: boolean;
|
|
1598
|
-
commonServices
|
|
1599
|
+
commonServices: CommonServices;
|
|
1599
1600
|
COMMENTS_VARS?: {
|
|
1600
1601
|
COGNITO_AUTH_PREFIX: string;
|
|
1601
1602
|
CAPTCHA_KEY_V2: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as f, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as La from "react";
|
|
3
|
-
import Te, { useState as K, useRef as Dr, useCallback as he, useEffect as De, createElement as
|
|
3
|
+
import Te, { useState as K, useRef as Dr, useCallback as he, useEffect as De, createElement as st, forwardRef as Mr, Fragment as pn, useMemo as Hs, Component as zs } from "react";
|
|
4
4
|
let ea = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -3283,7 +3283,7 @@ const {
|
|
|
3283
3283
|
getAdapter: H9,
|
|
3284
3284
|
mergeConfig: z9
|
|
3285
3285
|
} = se;
|
|
3286
|
-
class
|
|
3286
|
+
class lt {
|
|
3287
3287
|
constructor(t) {
|
|
3288
3288
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion), t?.exclude && (this.exclude = t.exclude);
|
|
3289
3289
|
}
|
|
@@ -3366,7 +3366,7 @@ class at {
|
|
|
3366
3366
|
};
|
|
3367
3367
|
};
|
|
3368
3368
|
}
|
|
3369
|
-
class mc extends
|
|
3369
|
+
class mc extends lt {
|
|
3370
3370
|
getBlockSass = async (t) => {
|
|
3371
3371
|
const n = await this.props?.axiosApi.get("/config/blocks-saas", {
|
|
3372
3372
|
params: {
|
|
@@ -3537,7 +3537,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3537
3537
|
return s ? { ...t, ...s } : be(t);
|
|
3538
3538
|
},
|
|
3539
3539
|
seccion: async (e) => {
|
|
3540
|
-
const { meta: t, config: n, pathname: r, slug: s } = e, o = new
|
|
3540
|
+
const { meta: t, config: n, pathname: r, slug: s } = e, o = new lt(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0;
|
|
3541
3541
|
try {
|
|
3542
3542
|
const u = await o.getNewsListSection({
|
|
3543
3543
|
section: s,
|
|
@@ -3581,7 +3581,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3581
3581
|
}
|
|
3582
3582
|
},
|
|
3583
3583
|
tema: async (e) => {
|
|
3584
|
-
const { meta: t, config: n, pathname: r, slug: s } = e, o = new
|
|
3584
|
+
const { meta: t, config: n, pathname: r, slug: s } = e, o = new lt(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(s || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: m } = Y();
|
|
3585
3585
|
try {
|
|
3586
3586
|
const p = await o.getNewsListTags({
|
|
3587
3587
|
tagid: h,
|
|
@@ -3642,7 +3642,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3642
3642
|
};
|
|
3643
3643
|
},
|
|
3644
3644
|
video: async (e) => {
|
|
3645
|
-
const { meta: t, config: n, internalPath: r } = e, s = new
|
|
3645
|
+
const { meta: t, config: n, internalPath: r } = e, s = new lt();
|
|
3646
3646
|
try {
|
|
3647
3647
|
const o = await s.getVideos({
|
|
3648
3648
|
imagesizes: "w:1200,h:630,t:2;",
|
|
@@ -3657,7 +3657,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
},
|
|
3659
3659
|
videos: async (e) => {
|
|
3660
|
-
const { meta: t, config: n, pathname: r } = e, s = new
|
|
3660
|
+
const { meta: t, config: n, pathname: r } = e, s = new lt(), o = r.split("/"), i = [], c = Yt(r), d = await s.getvideoListAdvanced({
|
|
3661
3661
|
size: Number(n.newsListLimit),
|
|
3662
3662
|
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
3663
3663
|
page: Number(c)
|
|
@@ -3686,7 +3686,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3686
3686
|
}) : be(t);
|
|
3687
3687
|
},
|
|
3688
3688
|
pages: async (e) => {
|
|
3689
|
-
const { meta: t, config: n, pathname: r, slug: s } = e, o = new
|
|
3689
|
+
const { meta: t, config: n, pathname: r, slug: s } = e, o = new lt();
|
|
3690
3690
|
try {
|
|
3691
3691
|
const i = await o.getPages({
|
|
3692
3692
|
path: n.servicePrefix + `/pages/${s}`
|
|
@@ -3746,7 +3746,7 @@ const F9 = async (e, t, n, r, s, o, i) => {
|
|
|
3746
3746
|
};
|
|
3747
3747
|
},
|
|
3748
3748
|
autor: async (e) => {
|
|
3749
|
-
const { meta: t, config: n, pathname: r, imgSizes: s, slug: o } = e, i = new
|
|
3749
|
+
const { meta: t, config: n, pathname: r, imgSizes: s, slug: o } = e, i = new lt(), c = r.split("/"), d = [], l = Yt(r);
|
|
3750
3750
|
try {
|
|
3751
3751
|
const u = await i.getAutorInfo({
|
|
3752
3752
|
user: o,
|
|
@@ -4308,7 +4308,7 @@ function Et(e) {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
const Nc = "_content_3olxv_1", Sc = {
|
|
4310
4310
|
content: Nc
|
|
4311
|
-
}, ht = (e) => /* @__PURE__ */ a("div", { className: Sc.content, children: e.children }), Ec = (e) => (e || "").replaceAll("[section_replace]", "").replaceAll("[tags_replace]", "").replaceAll("[url_replace]", "").replaceAll("[creator_replace]", ""),
|
|
4311
|
+
}, ht = (e) => /* @__PURE__ */ a("div", { className: Sc.content, children: e.children }), Ec = (e) => (e || "").replaceAll("[section_replace]", "").replaceAll("[tags_replace]", "").replaceAll("[url_replace]", "").replaceAll("[creator_replace]", ""), at = ({ banners: e, index: t }) => {
|
|
4312
4312
|
if (!e || e.length === 0) return null;
|
|
4313
4313
|
const n = e.find((r) => r.key === `middle_${t}`);
|
|
4314
4314
|
return n?.value && n.show ? /* @__PURE__ */ a(
|
|
@@ -7198,7 +7198,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7198
7198
|
}
|
|
7199
7199
|
),
|
|
7200
7200
|
e.relatedName && /* @__PURE__ */ a("h2", { className: `${Re.relatedTitle} saas-video-related-title`, children: e.relatedName }),
|
|
7201
|
-
Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */
|
|
7201
|
+
Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */ st(
|
|
7202
7202
|
ku,
|
|
7203
7203
|
{
|
|
7204
7204
|
...Dt(t, !0, !1, !1),
|
|
@@ -8370,7 +8370,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8370
8370
|
paths: r
|
|
8371
8371
|
}
|
|
8372
8372
|
) }),
|
|
8373
|
-
/* @__PURE__ */ a("div", { style: n, className: jn.secondSection, children: e.map((o, i) => i > 0 && /* @__PURE__ */
|
|
8373
|
+
/* @__PURE__ */ a("div", { style: n, className: jn.secondSection, children: e.map((o, i) => i > 0 && /* @__PURE__ */ st(
|
|
8374
8374
|
Ct,
|
|
8375
8375
|
{
|
|
8376
8376
|
...o,
|
|
@@ -8408,7 +8408,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8408
8408
|
)
|
|
8409
8409
|
},
|
|
8410
8410
|
o
|
|
8411
|
-
) : /* @__PURE__ */ a("section", { style: n, children: /* @__PURE__ */
|
|
8411
|
+
) : /* @__PURE__ */ a("section", { style: n, children: /* @__PURE__ */ st(
|
|
8412
8412
|
Ct,
|
|
8413
8413
|
{
|
|
8414
8414
|
...s,
|
|
@@ -8419,7 +8419,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8419
8419
|
heightImageOverwriteMobile: "270px",
|
|
8420
8420
|
paths: r
|
|
8421
8421
|
}
|
|
8422
|
-
) }, o)) }), Xm = "_content_1n73e_1", ef = "_sectionDescription_1n73e_13", tf = "_title_1n73e_33", nf = "_subtitle_1n73e_47", af = "_linkStyled_1n73e_58",
|
|
8422
|
+
) }, o)) }), Xm = "_content_1n73e_1", ef = "_sectionDescription_1n73e_13", tf = "_title_1n73e_33", nf = "_subtitle_1n73e_47", af = "_linkStyled_1n73e_58", ot = {
|
|
8423
8423
|
content: Xm,
|
|
8424
8424
|
sectionDescription: ef,
|
|
8425
8425
|
title: tf,
|
|
@@ -8433,35 +8433,35 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8433
8433
|
B,
|
|
8434
8434
|
{
|
|
8435
8435
|
"aria-label": s,
|
|
8436
|
-
className:
|
|
8436
|
+
className: ot.sectionDescription,
|
|
8437
8437
|
href: vt(r, e.paths),
|
|
8438
8438
|
children: s
|
|
8439
8439
|
}
|
|
8440
|
-
) }) : /* @__PURE__ */ a("div", { className:
|
|
8440
|
+
) }) : /* @__PURE__ */ a("div", { className: ot.sectionDescription, children: s });
|
|
8441
8441
|
} else if (e.mainNew.info?.section?.url)
|
|
8442
8442
|
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
8443
8443
|
B,
|
|
8444
8444
|
{
|
|
8445
|
-
className:
|
|
8445
|
+
className: ot.sectionDescription,
|
|
8446
8446
|
href: e?.mainNew?.info?.section?.url,
|
|
8447
8447
|
children: e?.mainNew?.info?.section?.name
|
|
8448
8448
|
}
|
|
8449
8449
|
) });
|
|
8450
8450
|
return null;
|
|
8451
8451
|
};
|
|
8452
|
-
return /* @__PURE__ */ f("div", { className:
|
|
8452
|
+
return /* @__PURE__ */ f("div", { className: ot.content, children: [
|
|
8453
8453
|
/* @__PURE__ */ a(n, {}),
|
|
8454
8454
|
/* @__PURE__ */ a(
|
|
8455
8455
|
B,
|
|
8456
8456
|
{
|
|
8457
|
-
className:
|
|
8457
|
+
className: ot.title,
|
|
8458
8458
|
href: e?.mainNew?.info?.link?.url,
|
|
8459
8459
|
target: e?.mainNew?.info?.link?.target,
|
|
8460
8460
|
children: e?.mainNew?.main?.title.home
|
|
8461
8461
|
}
|
|
8462
8462
|
),
|
|
8463
|
-
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className:
|
|
8464
|
-
e.goTo && /* @__PURE__ */ a(B, { href: e.goTo.url, className:
|
|
8463
|
+
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: ot.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
8464
|
+
e.goTo && /* @__PURE__ */ a(B, { href: e.goTo.url, className: ot.linkStyled, children: e.goTo.description })
|
|
8465
8465
|
] });
|
|
8466
8466
|
}, rf = "_headerSection_drjnj_1", sf = "_headerSectionLink_drjnj_12", of = "_newsContent_drjnj_17", Qn = {
|
|
8467
8467
|
headerSection: rf,
|
|
@@ -8890,7 +8890,7 @@ const c3 = (e) => {
|
|
|
8890
8890
|
}
|
|
8891
8891
|
}
|
|
8892
8892
|
};
|
|
8893
|
-
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */
|
|
8893
|
+
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ st(
|
|
8894
8894
|
Ze,
|
|
8895
8895
|
{
|
|
8896
8896
|
...u,
|
|
@@ -8975,7 +8975,7 @@ const c3 = (e) => {
|
|
|
8975
8975
|
"section",
|
|
8976
8976
|
{
|
|
8977
8977
|
className: e.hasLines ? oa.hasLinesBlock : "",
|
|
8978
|
-
children: /* @__PURE__ */
|
|
8978
|
+
children: /* @__PURE__ */ st(
|
|
8979
8979
|
Zf,
|
|
8980
8980
|
{
|
|
8981
8981
|
...s,
|
|
@@ -9784,10 +9784,11 @@ const t0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9784
9784
|
}
|
|
9785
9785
|
), Is = async ({
|
|
9786
9786
|
newsformated: e,
|
|
9787
|
-
internal: t
|
|
9787
|
+
internal: t,
|
|
9788
|
+
commonServices: n
|
|
9788
9789
|
}) => {
|
|
9789
9790
|
if (!t) return;
|
|
9790
|
-
const
|
|
9791
|
+
const r = e.preview.sizes, o = (await n.getNewsMultimedia({
|
|
9791
9792
|
path: t,
|
|
9792
9793
|
imagesizes: r ? r[0]?.scale : "w:801,h:449,t:2;"
|
|
9793
9794
|
}))?.data.data[0]?.gallery ?? [];
|
|
@@ -10161,19 +10162,21 @@ async function w0(e) {
|
|
|
10161
10162
|
slug: o,
|
|
10162
10163
|
itemList: i,
|
|
10163
10164
|
socials: c,
|
|
10164
|
-
getVideos: d
|
|
10165
|
+
getVideos: d,
|
|
10166
|
+
commonServices: l
|
|
10165
10167
|
} = e;
|
|
10166
|
-
let
|
|
10167
|
-
|
|
10168
|
-
|
|
10168
|
+
let u = t?.body?.rendered ?? "";
|
|
10169
|
+
u = u.replace(/ /g, ""), u = g0(u, n), u = p0(u), u = await ks(u), u = await A0(
|
|
10170
|
+
u,
|
|
10169
10171
|
e.texts,
|
|
10170
10172
|
r
|
|
10171
|
-
),
|
|
10172
|
-
const
|
|
10173
|
+
), u = await y0(u, d), u = h0(u), u = m0(u);
|
|
10174
|
+
const h = t.main.sources ?? [];
|
|
10173
10175
|
return /* @__PURE__ */ f("div", { className: nn.content, children: [
|
|
10174
10176
|
o !== "liveblogs" && e.showHeaderImage ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ a(
|
|
10175
10177
|
Is,
|
|
10176
10178
|
{
|
|
10179
|
+
commonServices: l,
|
|
10177
10180
|
newsformated: t,
|
|
10178
10181
|
internal: t.info.link.internal
|
|
10179
10182
|
}
|
|
@@ -10197,7 +10200,7 @@ async function w0(e) {
|
|
|
10197
10200
|
className: nn.contentNews,
|
|
10198
10201
|
suppressHydrationWarning: !0,
|
|
10199
10202
|
id: "content-news-section",
|
|
10200
|
-
dangerouslySetInnerHTML: { __html:
|
|
10203
|
+
dangerouslySetInnerHTML: { __html: u }
|
|
10201
10204
|
}
|
|
10202
10205
|
),
|
|
10203
10206
|
/* @__PURE__ */ a(
|
|
@@ -10211,9 +10214,9 @@ async function w0(e) {
|
|
|
10211
10214
|
newsRelatedListResponses: s ?? []
|
|
10212
10215
|
}
|
|
10213
10216
|
),
|
|
10214
|
-
|
|
10217
|
+
h.length > 0 && /* @__PURE__ */ f("div", { className: nn.noteSource, children: [
|
|
10215
10218
|
/* @__PURE__ */ a(u0, {}),
|
|
10216
|
-
/* @__PURE__ */ a("p", { children: e.texts.noteSource + (
|
|
10219
|
+
/* @__PURE__ */ a("p", { children: e.texts.noteSource + (h.length === 1 ? "" : "s") + ": " + h.map((m) => m.name).join(", ") })
|
|
10217
10220
|
] })
|
|
10218
10221
|
] });
|
|
10219
10222
|
}
|
|
@@ -10309,19 +10312,19 @@ const v0 = "_content_cu8lm_1", b0 = "_title_cu8lm_18", Ar = {
|
|
|
10309
10312
|
}
|
|
10310
10313
|
}, I0 = "_content_156j7_1", yr = {
|
|
10311
10314
|
content: I0
|
|
10312
|
-
},
|
|
10315
|
+
}, rt = {
|
|
10313
10316
|
videoEmbedded: "videoEmbedded",
|
|
10314
10317
|
videoYouTube: "videoYouTube",
|
|
10315
10318
|
iframe: "iframe",
|
|
10316
10319
|
fotoGaleria: "fotogaleria"
|
|
10317
10320
|
}, k0 = {
|
|
10318
|
-
[
|
|
10319
|
-
[
|
|
10320
|
-
[
|
|
10321
|
+
[rt.videoEmbedded]: C0,
|
|
10322
|
+
[rt.videoYouTube]: S0,
|
|
10323
|
+
[rt.iframe]: T0
|
|
10321
10324
|
}, U0 = ({ news: e, commonServices: t }) => {
|
|
10322
10325
|
const { config: n, hascontent: r, info: s } = e, o = n.articlepreview, i = s.link.internal, c = r?.hasgalleryimages;
|
|
10323
|
-
if (o ===
|
|
10324
|
-
return /* @__PURE__ */ a("div", { className: yr.content, children: /* @__PURE__ */ a(Is, { newsformated: e, internal: i }) });
|
|
10326
|
+
if (o === rt.fotoGaleria && c)
|
|
10327
|
+
return /* @__PURE__ */ a("div", { className: yr.content, children: /* @__PURE__ */ a(Is, { commonServices: t, newsformated: e, internal: i }) });
|
|
10325
10328
|
const d = o ? k0[o] : null;
|
|
10326
10329
|
return d ? /* @__PURE__ */ a("div", { className: yr.content, children: /* @__PURE__ */ a(
|
|
10327
10330
|
d,
|
|
@@ -10389,7 +10392,7 @@ const v0 = "_content_cu8lm_1", b0 = "_title_cu8lm_18", Ar = {
|
|
|
10389
10392
|
...o.main,
|
|
10390
10393
|
title: { ...o.main.title, section: s ? o.main.title.home : o.main.title.section }
|
|
10391
10394
|
} };
|
|
10392
|
-
return /* @__PURE__ */
|
|
10395
|
+
return /* @__PURE__ */ st(
|
|
10393
10396
|
kn,
|
|
10394
10397
|
{
|
|
10395
10398
|
...c,
|
|
@@ -10406,7 +10409,7 @@ const v0 = "_content_cu8lm_1", b0 = "_title_cu8lm_18", Ar = {
|
|
|
10406
10409
|
for (const n in e)
|
|
10407
10410
|
n.startsWith("--") && (t[n] = e[n]);
|
|
10408
10411
|
return t;
|
|
10409
|
-
}, B0 = "_headerSection_1c69w_1", O0 = "_title_1c69w_11", P0 = "_subtitle_1c69w_23", D0 = "_newsContent_1c69w_36", M0 = "_containerCards_1c69w_44", j0 = "_image_1c69w_50", Q0 = "_blockHeadContainer_1c69w_56",
|
|
10412
|
+
}, B0 = "_headerSection_1c69w_1", O0 = "_title_1c69w_11", P0 = "_subtitle_1c69w_23", D0 = "_newsContent_1c69w_36", M0 = "_containerCards_1c69w_44", j0 = "_image_1c69w_50", Q0 = "_blockHeadContainer_1c69w_56", it = {
|
|
10410
10413
|
headerSection: B0,
|
|
10411
10414
|
title: O0,
|
|
10412
10415
|
subtitle: P0,
|
|
@@ -10419,25 +10422,25 @@ const v0 = "_content_cu8lm_1", b0 = "_title_cu8lm_18", Ar = {
|
|
|
10419
10422
|
if (!t || t.length === 0) return;
|
|
10420
10423
|
const s = t[0], o = t.slice(1), i = e.slot_id && e.slot_id !== "Nota_1";
|
|
10421
10424
|
return s && o && /* @__PURE__ */ f(ge, { title: n, titleUrl: e.titleUrl, children: [
|
|
10422
|
-
/* @__PURE__ */ a("div", { className:
|
|
10425
|
+
/* @__PURE__ */ a("div", { className: it.headerSection, children: /* @__PURE__ */ f(
|
|
10423
10426
|
"a",
|
|
10424
10427
|
{
|
|
10425
10428
|
style: { "--heightImageOverwriteMobile": "200%" },
|
|
10426
|
-
className:
|
|
10429
|
+
className: it.image,
|
|
10427
10430
|
href: s?.info?.link?.url,
|
|
10428
10431
|
target: s?.info?.link?.target,
|
|
10429
10432
|
children: [
|
|
10430
|
-
/* @__PURE__ */ f("div", { className:
|
|
10431
|
-
/* @__PURE__ */ a("p", { className:
|
|
10432
|
-
s?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className:
|
|
10433
|
+
/* @__PURE__ */ f("div", { className: it.blockHeadContainer, children: [
|
|
10434
|
+
/* @__PURE__ */ a("p", { className: it.title, children: s?.main?.title.home }),
|
|
10435
|
+
s?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: it.subtitle, children: s?.main?.subtitle?.striped })
|
|
10433
10436
|
] }),
|
|
10434
10437
|
/* @__PURE__ */ a(Ue, { preview: s.preview })
|
|
10435
10438
|
]
|
|
10436
10439
|
}
|
|
10437
10440
|
) }),
|
|
10438
|
-
/* @__PURE__ */ f("div", { className:
|
|
10441
|
+
/* @__PURE__ */ f("div", { className: it.containerCards, children: [
|
|
10439
10442
|
/* @__PURE__ */ a("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
|
|
10440
|
-
/* @__PURE__ */ a("div", { className:
|
|
10443
|
+
/* @__PURE__ */ a("div", { className: it.newsContent, children: Array.isArray(o) && o.map((c, d) => {
|
|
10441
10444
|
const l = {
|
|
10442
10445
|
...c,
|
|
10443
10446
|
main: {
|
|
@@ -10594,7 +10597,7 @@ const vr = {
|
|
|
10594
10597
|
}
|
|
10595
10598
|
),
|
|
10596
10599
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10597
|
-
|
|
10600
|
+
at,
|
|
10598
10601
|
{
|
|
10599
10602
|
banners: o,
|
|
10600
10603
|
index: "dynamic_" + h + "_" + m
|
|
@@ -10630,7 +10633,7 @@ const vr = {
|
|
|
10630
10633
|
banners: r
|
|
10631
10634
|
}
|
|
10632
10635
|
),
|
|
10633
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10636
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 1 }) }),
|
|
10634
10637
|
/* @__PURE__ */ a(
|
|
10635
10638
|
Vn,
|
|
10636
10639
|
{
|
|
@@ -10639,7 +10642,7 @@ const vr = {
|
|
|
10639
10642
|
banners: r
|
|
10640
10643
|
}
|
|
10641
10644
|
),
|
|
10642
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10645
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 1 }) }),
|
|
10643
10646
|
/* @__PURE__ */ a(
|
|
10644
10647
|
Vn,
|
|
10645
10648
|
{
|
|
@@ -10648,15 +10651,15 @@ const vr = {
|
|
|
10648
10651
|
banners: r
|
|
10649
10652
|
}
|
|
10650
10653
|
),
|
|
10651
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10654
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 1 }) })
|
|
10652
10655
|
] });
|
|
10653
10656
|
}, H0 = (e) => {
|
|
10654
10657
|
const { config: t, hascontent: n } = e, r = t.articlepreview, s = [
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
+
rt.videoEmbedded,
|
|
10659
|
+
rt.videoYouTube,
|
|
10660
|
+
rt.iframe
|
|
10658
10661
|
];
|
|
10659
|
-
return !!(r ===
|
|
10662
|
+
return !!(r === rt.fotoGaleria && n?.hasgalleryimages || s.includes(r));
|
|
10660
10663
|
}, A3 = async (e) => {
|
|
10661
10664
|
const {
|
|
10662
10665
|
custom_complement: t,
|
|
@@ -10681,7 +10684,7 @@ const vr = {
|
|
|
10681
10684
|
headerSectionStyles: e.headerSectionStyles
|
|
10682
10685
|
}
|
|
10683
10686
|
),
|
|
10684
|
-
/* @__PURE__ */ a(
|
|
10687
|
+
/* @__PURE__ */ a(at, { banners: r, index: 1 }),
|
|
10685
10688
|
!h && e.commonServices && /* @__PURE__ */ a(
|
|
10686
10689
|
U0,
|
|
10687
10690
|
{
|
|
@@ -10750,7 +10753,7 @@ const vr = {
|
|
|
10750
10753
|
)
|
|
10751
10754
|
}
|
|
10752
10755
|
),
|
|
10753
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10756
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 2 }) }),
|
|
10754
10757
|
p && /* @__PURE__ */ f(J, { children: [
|
|
10755
10758
|
/* @__PURE__ */ a(
|
|
10756
10759
|
Us,
|
|
@@ -10766,7 +10769,7 @@ const vr = {
|
|
|
10766
10769
|
}
|
|
10767
10770
|
}
|
|
10768
10771
|
),
|
|
10769
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10772
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 3 }) })
|
|
10770
10773
|
] }),
|
|
10771
10774
|
m && /* @__PURE__ */ f(J, { children: [
|
|
10772
10775
|
/* @__PURE__ */ a(ge, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
|
|
@@ -10784,7 +10787,7 @@ const vr = {
|
|
|
10784
10787
|
)
|
|
10785
10788
|
}
|
|
10786
10789
|
) }),
|
|
10787
|
-
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10790
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: r, index: 4 }) })
|
|
10788
10791
|
] }),
|
|
10789
10792
|
t && t()
|
|
10790
10793
|
]
|
|
@@ -10813,7 +10816,8 @@ const vr = {
|
|
|
10813
10816
|
getVideos: u,
|
|
10814
10817
|
noteShare: e.noteShare,
|
|
10815
10818
|
paths: e.paths,
|
|
10816
|
-
showHeaderImage: !H0(o[0])
|
|
10819
|
+
showHeaderImage: !H0(o[0]),
|
|
10820
|
+
commonServices: e.commonServices
|
|
10817
10821
|
}
|
|
10818
10822
|
),
|
|
10819
10823
|
/* @__PURE__ */ a(Ae, { banners: r ?? [], name: "block_3" })
|
|
@@ -11089,7 +11093,7 @@ const vr = {
|
|
|
11089
11093
|
`video-small-${r}`
|
|
11090
11094
|
)) })
|
|
11091
11095
|
] }) }) }) });
|
|
11092
|
-
}, fg = "_content_ruy5q_1", gg = "_videoContent_ruy5q_9", pg = "_articleSection_ruy5q_21", Ag = "_contentLatout_ruy5q_31", yg = "_title_ruy5q_36", wg = "_article_ruy5q_21", vg = "_correspondent_ruy5q_64",
|
|
11096
|
+
}, fg = "_content_ruy5q_1", gg = "_videoContent_ruy5q_9", pg = "_articleSection_ruy5q_21", Ag = "_contentLatout_ruy5q_31", yg = "_title_ruy5q_36", wg = "_article_ruy5q_21", vg = "_correspondent_ruy5q_64", ct = {
|
|
11093
11097
|
content: fg,
|
|
11094
11098
|
videoContent: gg,
|
|
11095
11099
|
articleSection: pg,
|
|
@@ -11126,20 +11130,20 @@ const vr = {
|
|
|
11126
11130
|
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Me(
|
|
11127
11131
|
e.video.info.date.created
|
|
11128
11132
|
)}` : e?.video.main.author;
|
|
11129
|
-
return /* @__PURE__ */ a("div", { className:
|
|
11133
|
+
return /* @__PURE__ */ a("div", { className: ct.content, children: /* @__PURE__ */ a(Vt, { className: ct.contentLatout, children: /* @__PURE__ */ a(ge, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ f("div", { className: ct.videoContent, children: [
|
|
11130
11134
|
/* @__PURE__ */ a(_g, { video: e.video }),
|
|
11131
|
-
/* @__PURE__ */ f("div", { className:
|
|
11135
|
+
/* @__PURE__ */ f("div", { className: ct.articleSection, children: [
|
|
11132
11136
|
/* @__PURE__ */ a(
|
|
11133
11137
|
B,
|
|
11134
11138
|
{
|
|
11135
|
-
className:
|
|
11139
|
+
className: ct.title,
|
|
11136
11140
|
href: e.video.info.link.url,
|
|
11137
11141
|
target: e.video.info.link.target,
|
|
11138
11142
|
children: e.video.main.title
|
|
11139
11143
|
}
|
|
11140
11144
|
),
|
|
11141
|
-
/* @__PURE__ */ a("p", { className:
|
|
11142
|
-
/* @__PURE__ */ a("p", { className:
|
|
11145
|
+
/* @__PURE__ */ a("p", { className: ct.article, children: je(e.video.main.description) }),
|
|
11146
|
+
/* @__PURE__ */ a("p", { className: ct.correspondent, children: t() })
|
|
11143
11147
|
] })
|
|
11144
11148
|
] }) }) }) });
|
|
11145
11149
|
}, v3 = (e) => {
|
|
@@ -12623,10 +12627,10 @@ function pp(e, t) {
|
|
|
12623
12627
|
var h = t.globalName, m = this.props;
|
|
12624
12628
|
m.asyncScriptOnLoad;
|
|
12625
12629
|
var p = m.forwardedRef, g = mp(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12626
|
-
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = p,
|
|
12630
|
+
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = p, st(r, g);
|
|
12627
12631
|
}, d;
|
|
12628
12632
|
})(zs), i = Mr(function(c, d) {
|
|
12629
|
-
return
|
|
12633
|
+
return st(o, ua({}, c, {
|
|
12630
12634
|
forwardedRef: d
|
|
12631
12635
|
}));
|
|
12632
12636
|
});
|
|
@@ -14487,12 +14491,12 @@ export {
|
|
|
14487
14491
|
ru as AutorHeader1,
|
|
14488
14492
|
gu as AutorHeader2,
|
|
14489
14493
|
Ae as BannerAdvertising,
|
|
14490
|
-
|
|
14494
|
+
at as BannerAdvertisingMiddle,
|
|
14491
14495
|
J9 as CarrouselCSR,
|
|
14492
14496
|
Et as CarrouselIRS,
|
|
14493
14497
|
s2 as CarruselCard,
|
|
14494
14498
|
f2 as CarruselOpinion,
|
|
14495
|
-
|
|
14499
|
+
lt as CommonServices,
|
|
14496
14500
|
Vs as Comscore,
|
|
14497
14501
|
m3 as ContactInfoServer,
|
|
14498
14502
|
n3 as ContactInput,
|