sass-template-common 0.1.8 → 0.1.9
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.
|
@@ -182,24 +182,24 @@ function Za() {
|
|
|
182
182
|
return P ? Ve : Ve.endOf(u);
|
|
183
183
|
}, G = function(Ke, de) {
|
|
184
184
|
return T.w(S.toDate()[Ke].apply(S.toDate("s"), (P ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(de)), S);
|
|
185
|
-
}, W = this.$W, V = this.$M, Z = this.$D,
|
|
185
|
+
}, W = this.$W, V = this.$M, Z = this.$D, be = "set" + (this.$u ? "UTC" : "");
|
|
186
186
|
switch (_) {
|
|
187
187
|
case w:
|
|
188
188
|
return P ? L(1, 0) : L(31, 11);
|
|
189
189
|
case h:
|
|
190
190
|
return P ? L(1, V) : L(0, V + 1);
|
|
191
191
|
case d:
|
|
192
|
-
var
|
|
192
|
+
var _e = this.$locale().weekStart || 0, yt = (W < _e ? W + 7 : W) - _e;
|
|
193
193
|
return L(P ? Z - yt : Z + (6 - yt), V);
|
|
194
194
|
case u:
|
|
195
195
|
case g:
|
|
196
|
-
return G(
|
|
196
|
+
return G(be + "Hours", 0);
|
|
197
197
|
case c:
|
|
198
|
-
return G(
|
|
198
|
+
return G(be + "Minutes", 1);
|
|
199
199
|
case l:
|
|
200
|
-
return G(
|
|
200
|
+
return G(be + "Seconds", 2);
|
|
201
201
|
case r:
|
|
202
|
-
return G(
|
|
202
|
+
return G(be + "Milliseconds", 3);
|
|
203
203
|
default:
|
|
204
204
|
return this.clone();
|
|
205
205
|
}
|
|
@@ -234,11 +234,11 @@ function Za() {
|
|
|
234
234
|
}, x.format = function(b) {
|
|
235
235
|
var B = this, S = this.$locale();
|
|
236
236
|
if (!this.isValid()) return S.invalidDate || p;
|
|
237
|
-
var P = b || "YYYY-MM-DDTHH:mm:ssZ", _ = T.z(this), L = this.$H, G = this.$m, W = this.$M, V = S.weekdays, Z = S.months,
|
|
237
|
+
var P = b || "YYYY-MM-DDTHH:mm:ssZ", _ = T.z(this), L = this.$H, G = this.$m, W = this.$M, V = S.weekdays, Z = S.months, be = S.meridiem, _e = function(de, Ve, Ct, Pt) {
|
|
238
238
|
return de && (de[Ve] || de(B, P)) || Ct[Ve].slice(0, Pt);
|
|
239
239
|
}, yt = function(de) {
|
|
240
240
|
return T.s(L % 12 || 12, de, "0");
|
|
241
|
-
}, Ke =
|
|
241
|
+
}, Ke = be || function(de, Ve, Ct) {
|
|
242
242
|
var Pt = de < 12 ? "AM" : "PM";
|
|
243
243
|
return Ct ? Pt.toLowerCase() : Pt;
|
|
244
244
|
};
|
|
@@ -254,9 +254,9 @@ function Za() {
|
|
|
254
254
|
case "MM":
|
|
255
255
|
return T.s(W + 1, 2, "0");
|
|
256
256
|
case "MMM":
|
|
257
|
-
return
|
|
257
|
+
return _e(S.monthsShort, W, Z, 3);
|
|
258
258
|
case "MMMM":
|
|
259
|
-
return
|
|
259
|
+
return _e(Z, W);
|
|
260
260
|
case "D":
|
|
261
261
|
return B.$D;
|
|
262
262
|
case "DD":
|
|
@@ -264,9 +264,9 @@ function Za() {
|
|
|
264
264
|
case "d":
|
|
265
265
|
return String(B.$W);
|
|
266
266
|
case "dd":
|
|
267
|
-
return
|
|
267
|
+
return _e(S.weekdaysMin, B.$W, V, 2);
|
|
268
268
|
case "ddd":
|
|
269
|
-
return
|
|
269
|
+
return _e(S.weekdaysShort, B.$W, V, 3);
|
|
270
270
|
case "dddd":
|
|
271
271
|
return V[B.$W];
|
|
272
272
|
case "H":
|
|
@@ -617,7 +617,7 @@ const fn = (e) => e === "en" ? "en" : "es", Te = (e) => {
|
|
|
617
617
|
}, r9 = (e) => {
|
|
618
618
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), s = fn(t ?? "es");
|
|
619
619
|
return ge.tz(e, n).locale(s).format("dddd DD [de] MMMM YYYY");
|
|
620
|
-
},
|
|
620
|
+
}, xe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
621
621
|
function bo(e) {
|
|
622
622
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
623
623
|
}
|
|
@@ -3214,7 +3214,7 @@ const {
|
|
|
3214
3214
|
getAdapter: I9,
|
|
3215
3215
|
mergeConfig: T9
|
|
3216
3216
|
} = Y;
|
|
3217
|
-
class
|
|
3217
|
+
class Se {
|
|
3218
3218
|
constructor(t) {
|
|
3219
3219
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion);
|
|
3220
3220
|
}
|
|
@@ -3300,7 +3300,7 @@ class xe {
|
|
|
3300
3300
|
};
|
|
3301
3301
|
};
|
|
3302
3302
|
}
|
|
3303
|
-
class br extends
|
|
3303
|
+
class br extends Se {
|
|
3304
3304
|
getBlockSass = async (t) => {
|
|
3305
3305
|
const n = await this.props?.axiosApi.get("/config/blocks-saas", {
|
|
3306
3306
|
params: {
|
|
@@ -3469,7 +3469,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3469
3469
|
return o ? { ...t, ...o } : ue(t);
|
|
3470
3470
|
},
|
|
3471
3471
|
seccion: async (e) => {
|
|
3472
|
-
const { meta: t, config: n, pathname: s, slug: o } = e, i = new
|
|
3472
|
+
const { meta: t, config: n, pathname: s, slug: o } = e, i = new Se(), r = s.split("/"), l = [], c = Qt(s), u = Number(n.newsListLimit) ?? 0;
|
|
3473
3473
|
try {
|
|
3474
3474
|
const d = await i.getNewsListSection({
|
|
3475
3475
|
section: o,
|
|
@@ -3513,7 +3513,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3513
3513
|
}
|
|
3514
3514
|
},
|
|
3515
3515
|
tema: async (e) => {
|
|
3516
|
-
const { meta: t, config: n, pathname: s, slug: o } = e, i = new
|
|
3516
|
+
const { meta: t, config: n, pathname: s, slug: o } = e, i = new Se(), r = s.split("/"), l = [], c = Qt(s), u = Number(n.newsListLimit) ?? 0, d = /([t][0-9]{4})\w+/.exec(o || ""), h = d && d?.length > 0 ? d[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f } = J();
|
|
3517
3517
|
try {
|
|
3518
3518
|
const w = await i.getNewsListTags({
|
|
3519
3519
|
tagid: h,
|
|
@@ -3574,7 +3574,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3574
3574
|
};
|
|
3575
3575
|
},
|
|
3576
3576
|
video: async (e) => {
|
|
3577
|
-
const { meta: t, config: n, internalPath: s } = e, o = new
|
|
3577
|
+
const { meta: t, config: n, internalPath: s } = e, o = new Se();
|
|
3578
3578
|
try {
|
|
3579
3579
|
const i = await o.getVideos({
|
|
3580
3580
|
imagesizes: "w:1200,h:630,t:2;",
|
|
@@ -3589,7 +3589,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3589
3589
|
}
|
|
3590
3590
|
},
|
|
3591
3591
|
videos: async (e) => {
|
|
3592
|
-
const { meta: t, config: n, pathname: s } = e, o = new
|
|
3592
|
+
const { meta: t, config: n, pathname: s } = e, o = new Se(), i = s.split("/"), r = [], l = Qt(s), c = await o.getvideoListAdvanced({
|
|
3593
3593
|
size: Number(n.newsListLimit),
|
|
3594
3594
|
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
3595
3595
|
page: Number(l)
|
|
@@ -3618,7 +3618,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3618
3618
|
}) : ue(t);
|
|
3619
3619
|
},
|
|
3620
3620
|
pages: async (e) => {
|
|
3621
|
-
const { meta: t, config: n, pathname: s, slug: o } = e, i = new
|
|
3621
|
+
const { meta: t, config: n, pathname: s, slug: o } = e, i = new Se();
|
|
3622
3622
|
try {
|
|
3623
3623
|
const r = await i.getPages({
|
|
3624
3624
|
path: n.servicePrefix + `/pages/${o}`
|
|
@@ -3678,7 +3678,7 @@ const B9 = async (e, t, n, s, o, i) => {
|
|
|
3678
3678
|
};
|
|
3679
3679
|
},
|
|
3680
3680
|
autor: async (e) => {
|
|
3681
|
-
const { meta: t, config: n, pathname: s, imgSizes: o, slug: i } = e, r = new
|
|
3681
|
+
const { meta: t, config: n, pathname: s, imgSizes: o, slug: i } = e, r = new Se(), l = s.split("/"), c = [], u = Qt(s);
|
|
3682
3682
|
try {
|
|
3683
3683
|
const d = await r.getAutorInfo({
|
|
3684
3684
|
user: i,
|
|
@@ -3965,14 +3965,14 @@ function Ir({
|
|
|
3965
3965
|
), x = ae(
|
|
3966
3966
|
(_) => {
|
|
3967
3967
|
if (!l || !i) return;
|
|
3968
|
-
const L = h - u, G = Date.now() - p, W = Math.abs(L) / Math.max(G, 1), V = T(L),
|
|
3969
|
-
if (
|
|
3968
|
+
const L = h - u, G = Date.now() - p, W = Math.abs(L) / Math.max(G, 1), V = T(L), be = W > 0.5 && Math.abs(L) > 50 ? Math.max(V, 1) : V;
|
|
3969
|
+
if (be > 0)
|
|
3970
3970
|
if (L > 0) {
|
|
3971
|
-
const
|
|
3972
|
-
r(
|
|
3971
|
+
const _e = Math.max(0, e - be);
|
|
3972
|
+
r(_e);
|
|
3973
3973
|
} else {
|
|
3974
|
-
const
|
|
3975
|
-
r(
|
|
3974
|
+
const _e = Math.min(z, e + be);
|
|
3975
|
+
r(_e);
|
|
3976
3976
|
}
|
|
3977
3977
|
c(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", x), _.clientX === u && C?.dispatchEvent(new PointerEvent("click"));
|
|
3978
3978
|
},
|
|
@@ -4417,7 +4417,7 @@ const At = (e) => {
|
|
|
4417
4417
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4418
4418
|
"--colorSubTitle": e.colorSubTitle
|
|
4419
4419
|
};
|
|
4420
|
-
return n ? /* @__PURE__ */ a("p", { className: $.description, children:
|
|
4420
|
+
return n ? /* @__PURE__ */ a("p", { className: $.description, children: xe(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4421
4421
|
"h2",
|
|
4422
4422
|
{
|
|
4423
4423
|
className: $.description,
|
|
@@ -4693,7 +4693,7 @@ const At = (e) => {
|
|
|
4693
4693
|
children: /* @__PURE__ */ a("div", { className: K.imagePlaceholder })
|
|
4694
4694
|
}
|
|
4695
4695
|
);
|
|
4696
|
-
},
|
|
4696
|
+
}, Ce = async (e) => {
|
|
4697
4697
|
const { preview: t } = e;
|
|
4698
4698
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
|
|
4699
4699
|
return /* @__PURE__ */ a("div", { className: K.imageLogoPlaceholder });
|
|
@@ -4738,7 +4738,7 @@ const At = (e) => {
|
|
|
4738
4738
|
},
|
|
4739
4739
|
children: [
|
|
4740
4740
|
/* @__PURE__ */ a("div", { className: zt.numberTag, children: s + 1 }),
|
|
4741
|
-
n.main.title.home && /* @__PURE__ */ a(
|
|
4741
|
+
n.main.title.home && /* @__PURE__ */ a(Ce, { preview: n.preview, priorityHigh: e.priorityHigh })
|
|
4742
4742
|
]
|
|
4743
4743
|
}
|
|
4744
4744
|
),
|
|
@@ -5711,7 +5711,7 @@ const At = (e) => {
|
|
|
5711
5711
|
]
|
|
5712
5712
|
}
|
|
5713
5713
|
);
|
|
5714
|
-
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50", Cl = "_title_6azvz_55", bl = "_inputStyled_6azvz_72", _l = "_buttonStyled_6azvz_112", vl = "_contentTerms_6azvz_123", Nl = "_subscribeText_6azvz_128", Sl = "_terms_6azvz_138",
|
|
5714
|
+
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50", Cl = "_title_6azvz_55", bl = "_inputStyled_6azvz_72", _l = "_buttonStyled_6azvz_112", vl = "_contentTerms_6azvz_123", Nl = "_subscribeText_6azvz_128", Sl = "_terms_6azvz_138", ve = {
|
|
5715
5715
|
content: pl,
|
|
5716
5716
|
subscribeImage: Al,
|
|
5717
5717
|
tag: wl,
|
|
@@ -5748,14 +5748,14 @@ const At = (e) => {
|
|
|
5748
5748
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
5749
5749
|
}
|
|
5750
5750
|
) : /* @__PURE__ */ a(k, { ...s, style: o });
|
|
5751
|
-
}, xl = (e) => /* @__PURE__ */ m("section", { className: [
|
|
5752
|
-
/* @__PURE__ */ a("div", { className:
|
|
5753
|
-
/* @__PURE__ */ a("div", { className:
|
|
5754
|
-
/* @__PURE__ */ m("div", { className:
|
|
5755
|
-
/* @__PURE__ */ a("p", { className:
|
|
5756
|
-
/* @__PURE__ */ a("p", { className:
|
|
5751
|
+
}, xl = (e) => /* @__PURE__ */ m("section", { className: [ve.content, e.className ?? ""].join(" "), children: [
|
|
5752
|
+
/* @__PURE__ */ a("div", { className: ve.subscribeImage, children: e.image }),
|
|
5753
|
+
/* @__PURE__ */ a("div", { className: ve.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
5754
|
+
/* @__PURE__ */ m("div", { className: ve.contentTitle, children: [
|
|
5755
|
+
/* @__PURE__ */ a("p", { className: ve.title, children: e.title }),
|
|
5756
|
+
/* @__PURE__ */ a("p", { className: ve.subTitle, children: e.sibtitle })
|
|
5757
5757
|
] }),
|
|
5758
|
-
/* @__PURE__ */ a("div", { className:
|
|
5758
|
+
/* @__PURE__ */ a("div", { className: ve.inputStyled, children: /* @__PURE__ */ a(
|
|
5759
5759
|
"input",
|
|
5760
5760
|
{
|
|
5761
5761
|
type: "email",
|
|
@@ -5763,10 +5763,10 @@ const At = (e) => {
|
|
|
5763
5763
|
id: "newsletter-email-column"
|
|
5764
5764
|
}
|
|
5765
5765
|
) }),
|
|
5766
|
-
/* @__PURE__ */ a(Cn, { className:
|
|
5767
|
-
/* @__PURE__ */ m("div", { className:
|
|
5768
|
-
/* @__PURE__ */ a("p", { className:
|
|
5769
|
-
/* @__PURE__ */ a(k, { className:
|
|
5766
|
+
/* @__PURE__ */ a(Cn, { className: ve.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5767
|
+
/* @__PURE__ */ m("div", { className: ve.contentTerms, children: [
|
|
5768
|
+
/* @__PURE__ */ a("p", { className: ve.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5769
|
+
/* @__PURE__ */ a(k, { className: ve.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5770
5770
|
] })
|
|
5771
5771
|
] }), El = "_content_1ms2y_1", Ul = "_contentInfo_1ms2y_20", kl = "_subscribeImage_1ms2y_28", Il = "_tag_1ms2y_42", Tl = "_contentTitle_1ms2y_60", ql = "_title_1ms2y_65", Bl = "_subTitle_1ms2y_70", Ll = "_inputStyled_1ms2y_79", Rl = "_buttonStyled_1ms2y_118", Dl = "_contentTerms_1ms2y_131", Ml = "_subscribeText_1ms2y_137", Pl = "_terms_1ms2y_146", Ae = {
|
|
5772
5772
|
content: El,
|
|
@@ -6470,7 +6470,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6470
6470
|
}
|
|
6471
6471
|
),
|
|
6472
6472
|
/* @__PURE__ */ m("div", { className: Be.articleSection, children: [
|
|
6473
|
-
/* @__PURE__ */ a("p", { className: Be.article, children:
|
|
6473
|
+
/* @__PURE__ */ a("p", { className: Be.article, children: xe(e.video.main.description) }),
|
|
6474
6474
|
/* @__PURE__ */ a("p", { className: Be.correspondent, children: t() })
|
|
6475
6475
|
] })
|
|
6476
6476
|
] }) }) });
|
|
@@ -6556,7 +6556,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6556
6556
|
href: s?.link?.url,
|
|
6557
6557
|
target: s?.link?.target,
|
|
6558
6558
|
children: /* @__PURE__ */ a(
|
|
6559
|
-
|
|
6559
|
+
Ce,
|
|
6560
6560
|
{
|
|
6561
6561
|
preview: o,
|
|
6562
6562
|
isVideo: r,
|
|
@@ -6583,7 +6583,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6583
6583
|
]
|
|
6584
6584
|
}
|
|
6585
6585
|
);
|
|
6586
|
-
}, md = "
|
|
6586
|
+
}, md = "_content_14xk9_1", hd = "_boxInformation_14xk9_12", fd = "_titleGradient_14xk9_30", gd = "_sectionDescription_14xk9_58", pd = "_articule_14xk9_83", Ad = "_linkStyled_14xk9_116", st = {
|
|
6587
6587
|
content: md,
|
|
6588
6588
|
boxInformation: hd,
|
|
6589
6589
|
titleGradient: fd,
|
|
@@ -6605,7 +6605,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6605
6605
|
title: s?.title?.section,
|
|
6606
6606
|
href: n.link.url,
|
|
6607
6607
|
target: n.link.target,
|
|
6608
|
-
children: /* @__PURE__ */ a(
|
|
6608
|
+
children: /* @__PURE__ */ a(Ce, { preview: e.preview, isVideo: t })
|
|
6609
6609
|
}
|
|
6610
6610
|
),
|
|
6611
6611
|
/* @__PURE__ */ m(
|
|
@@ -6635,10 +6635,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6635
6635
|
className: st.linkStyled,
|
|
6636
6636
|
href: e?.info?.link?.url,
|
|
6637
6637
|
target: e?.info?.link?.target,
|
|
6638
|
-
children:
|
|
6639
|
-
e.main?.title?.section,
|
|
6640
|
-
o !== "default" ? 60 : 75
|
|
6641
|
-
)
|
|
6638
|
+
children: e.main?.title?.section
|
|
6642
6639
|
}
|
|
6643
6640
|
) })
|
|
6644
6641
|
]
|
|
@@ -6715,7 +6712,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6715
6712
|
}, Bs = (e) => {
|
|
6716
6713
|
let t = "";
|
|
6717
6714
|
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ m("div", { className: dn.content, children: [
|
|
6718
|
-
/* @__PURE__ */ a(
|
|
6715
|
+
/* @__PURE__ */ a(Ce, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6719
6716
|
t && /* @__PURE__ */ a("div", { className: dn.description, children: t })
|
|
6720
6717
|
] });
|
|
6721
6718
|
}, Yd = (e) => /* @__PURE__ */ a(j, { children: /* @__PURE__ */ m("div", { className: Fe.boxInformation, children: [
|
|
@@ -6923,7 +6920,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6923
6920
|
),
|
|
6924
6921
|
e.banner
|
|
6925
6922
|
] })
|
|
6926
|
-
] }), N1 = "_content_1jqwg_1", S1 = "_header_1jqwg_21", x1 = "_videos_1jqwg_46", E1 = "_videoContent_1jqwg_53", U1 = "_articleSection_1jqwg_60", k1 = "_contentLayoutVideoSection_1jqwg_74", I1 = "_sectionVideoList_1jqwg_82", T1 = "_iframeStyled_1jqwg_155", q1 = "_contentFrame_1jqwg_164", B1 = "_relatedTitle_1jqwg_189",
|
|
6923
|
+
] }), N1 = "_content_1jqwg_1", S1 = "_header_1jqwg_21", x1 = "_videos_1jqwg_46", E1 = "_videoContent_1jqwg_53", U1 = "_articleSection_1jqwg_60", k1 = "_contentLayoutVideoSection_1jqwg_74", I1 = "_sectionVideoList_1jqwg_82", T1 = "_iframeStyled_1jqwg_155", q1 = "_contentFrame_1jqwg_164", B1 = "_relatedTitle_1jqwg_189", Ne = {
|
|
6927
6924
|
content: N1,
|
|
6928
6925
|
header: S1,
|
|
6929
6926
|
videos: x1,
|
|
@@ -6945,7 +6942,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6945
6942
|
...e.main,
|
|
6946
6943
|
title: {
|
|
6947
6944
|
...e.main.title,
|
|
6948
|
-
article:
|
|
6945
|
+
article: xe(e.main.title.article, 60)
|
|
6949
6946
|
}
|
|
6950
6947
|
}
|
|
6951
6948
|
};
|
|
@@ -6965,8 +6962,8 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6965
6962
|
),
|
|
6966
6963
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(At, { ...t, paths: e.paths }) })
|
|
6967
6964
|
] }) : null;
|
|
6968
|
-
}, F9 = (e) => /* @__PURE__ */ a("div", { className:
|
|
6969
|
-
/* @__PURE__ */ m("a", { className:
|
|
6965
|
+
}, F9 = (e) => /* @__PURE__ */ a("div", { className: Ne.content, children: /* @__PURE__ */ m(Mt, { className: Ne.contentLayoutVideoSection, children: [
|
|
6966
|
+
/* @__PURE__ */ m("a", { className: Ne.header, href: "/", children: [
|
|
6970
6967
|
/* @__PURE__ */ a(
|
|
6971
6968
|
"svg",
|
|
6972
6969
|
{
|
|
@@ -6988,12 +6985,12 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
6988
6985
|
),
|
|
6989
6986
|
"VOLVER A VIDEOS"
|
|
6990
6987
|
] }),
|
|
6991
|
-
/* @__PURE__ */ m("div", { className:
|
|
6992
|
-
/* @__PURE__ */ m("div", { className:
|
|
6988
|
+
/* @__PURE__ */ m("div", { className: Ne.videos, children: [
|
|
6989
|
+
/* @__PURE__ */ m("div", { className: Ne.videoContent, style: e.mainVideoStyles, children: [
|
|
6993
6990
|
e.type === "vy" && /* @__PURE__ */ a(
|
|
6994
6991
|
"iframe",
|
|
6995
6992
|
{
|
|
6996
|
-
className:
|
|
6993
|
+
className: Ne.iframeStyled,
|
|
6997
6994
|
src: `https://www.youtube.com/embed/${e.video?.main?.code}`,
|
|
6998
6995
|
frameBorder: "0",
|
|
6999
6996
|
allowFullScreen: !0
|
|
@@ -7002,7 +6999,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7002
6999
|
e.type === "vf" && /* @__PURE__ */ a(
|
|
7003
7000
|
"iframe",
|
|
7004
7001
|
{
|
|
7005
|
-
className:
|
|
7002
|
+
className: Ne.iframeStyled,
|
|
7006
7003
|
src: e.video?.main?.code,
|
|
7007
7004
|
frameBorder: "0",
|
|
7008
7005
|
allowFullScreen: !0
|
|
@@ -7011,11 +7008,11 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7011
7008
|
e.type === "ve" && /* @__PURE__ */ a(
|
|
7012
7009
|
"div",
|
|
7013
7010
|
{
|
|
7014
|
-
className:
|
|
7011
|
+
className: Ne.contentFrame,
|
|
7015
7012
|
dangerouslySetInnerHTML: { __html: e.video?.main?.code }
|
|
7016
7013
|
}
|
|
7017
7014
|
),
|
|
7018
|
-
/* @__PURE__ */ a("div", { className:
|
|
7015
|
+
/* @__PURE__ */ a("div", { className: Ne.articleSection, children: /* @__PURE__ */ a(
|
|
7019
7016
|
At,
|
|
7020
7017
|
{
|
|
7021
7018
|
...Tt(
|
|
@@ -7030,7 +7027,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7030
7027
|
/* @__PURE__ */ m(
|
|
7031
7028
|
"div",
|
|
7032
7029
|
{
|
|
7033
|
-
className:
|
|
7030
|
+
className: Ne.sectionVideoList,
|
|
7034
7031
|
style: e.listVideoStyles,
|
|
7035
7032
|
children: [
|
|
7036
7033
|
e.banner && /* @__PURE__ */ a(
|
|
@@ -7040,7 +7037,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7040
7037
|
name: e.banner.bannerName
|
|
7041
7038
|
}
|
|
7042
7039
|
),
|
|
7043
|
-
e.relatedName && /* @__PURE__ */ a("h2", { className:
|
|
7040
|
+
e.relatedName && /* @__PURE__ */ a("h2", { className: Ne.relatedTitle, children: e.relatedName }),
|
|
7044
7041
|
Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */ ht(
|
|
7045
7042
|
M1,
|
|
7046
7043
|
{
|
|
@@ -7473,7 +7470,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7473
7470
|
href: t.data[0]?.info.link.url,
|
|
7474
7471
|
target: t.data[0]?.info.link.target,
|
|
7475
7472
|
title: t.data[0]?.main.title.home,
|
|
7476
|
-
children:
|
|
7473
|
+
children: xe(t.data[0]?.main.title.home ?? "", 120)
|
|
7477
7474
|
}
|
|
7478
7475
|
)
|
|
7479
7476
|
] }),
|
|
@@ -7622,7 +7619,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7622
7619
|
href: n.data[0]?.info.link.url,
|
|
7623
7620
|
target: n.data[0]?.info.link.target,
|
|
7624
7621
|
title: n.data[0]?.main.title.home,
|
|
7625
|
-
children:
|
|
7622
|
+
children: xe(n.data[0]?.main.title.home ?? "", 120)
|
|
7626
7623
|
}
|
|
7627
7624
|
)
|
|
7628
7625
|
] }) : /* @__PURE__ */ a("div", { className: ce.line }),
|
|
@@ -7975,7 +7972,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
7975
7972
|
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
7976
7973
|
},
|
|
7977
7974
|
children: /* @__PURE__ */ a(
|
|
7978
|
-
|
|
7975
|
+
Ce,
|
|
7979
7976
|
{
|
|
7980
7977
|
preview: e.preview,
|
|
7981
7978
|
isLarge: !0,
|
|
@@ -8231,7 +8228,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
8231
8228
|
className: Tn.headerSectionLink,
|
|
8232
8229
|
href: i?.info?.link?.url,
|
|
8233
8230
|
target: i?.info?.link?.target,
|
|
8234
|
-
children: /* @__PURE__ */ a(
|
|
8231
|
+
children: /* @__PURE__ */ a(Ce, { preview: i.preview })
|
|
8235
8232
|
}
|
|
8236
8233
|
)
|
|
8237
8234
|
] }),
|
|
@@ -8281,7 +8278,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
8281
8278
|
alt: t?.authors[0]?.fullname
|
|
8282
8279
|
}
|
|
8283
8280
|
) : /* @__PURE__ */ a("div", { className: Pe.contentIcon, children: /* @__PURE__ */ a(s, {}) }),
|
|
8284
|
-
/* @__PURE__ */ a("p", { className: Pe.autorName, children:
|
|
8281
|
+
/* @__PURE__ */ a("p", { className: Pe.autorName, children: xe(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
8285
8282
|
/* @__PURE__ */ a("p", { className: Pe.time, children: o() })
|
|
8286
8283
|
] });
|
|
8287
8284
|
return /* @__PURE__ */ m("div", { className: Pe.content, children: [
|
|
@@ -8302,7 +8299,7 @@ const Yc = "_content_r1co8_1", Kc = "_videoContent_r1co8_20", Jc = "_articleSect
|
|
|
8302
8299
|
children: t?.main?.title?.home
|
|
8303
8300
|
}
|
|
8304
8301
|
),
|
|
8305
|
-
/* @__PURE__ */ a("p", { className: Pe.comment, children:
|
|
8302
|
+
/* @__PURE__ */ a("p", { className: Pe.comment, children: xe(t?.main?.subtitle?.striped || "") })
|
|
8306
8303
|
] })
|
|
8307
8304
|
] });
|
|
8308
8305
|
}, yh = "_content_1d7mg_1", Ch = "_boxPosition_1d7mg_8", bh = "_contentFlex_1d7mg_21", _h = "_bannerContent_1d7mg_29", vh = "_bannerContentAux_1d7mg_40", rt = {
|
|
@@ -8591,7 +8588,7 @@ const $9 = (e) => {
|
|
|
8591
8588
|
target: o?.info?.link.target,
|
|
8592
8589
|
"aria-label": "Video",
|
|
8593
8590
|
children: /* @__PURE__ */ a(
|
|
8594
|
-
|
|
8591
|
+
Ce,
|
|
8595
8592
|
{
|
|
8596
8593
|
preview: {
|
|
8597
8594
|
sizes: o?.main?.image.sizes,
|
|
@@ -8652,7 +8649,7 @@ const $9 = (e) => {
|
|
|
8652
8649
|
target: e?.info?.link?.target,
|
|
8653
8650
|
title: e.main?.title?.section,
|
|
8654
8651
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
8655
|
-
children: /* @__PURE__ */ a(
|
|
8652
|
+
children: /* @__PURE__ */ a(Ce, { preview: e.preview })
|
|
8656
8653
|
}
|
|
8657
8654
|
),
|
|
8658
8655
|
/* @__PURE__ */ m("div", { className: xt.textContent, children: [
|
|
@@ -8662,7 +8659,7 @@ const $9 = (e) => {
|
|
|
8662
8659
|
className: xt.sectionDescription,
|
|
8663
8660
|
target: e?.info?.link?.target,
|
|
8664
8661
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
8665
|
-
children:
|
|
8662
|
+
children: xe(
|
|
8666
8663
|
(t ? e?.main?.title?.section : e?.info?.section?.name) ?? "",
|
|
8667
8664
|
45
|
|
8668
8665
|
)
|
|
@@ -8789,7 +8786,7 @@ const $9 = (e) => {
|
|
|
8789
8786
|
className: $e.linkStyled,
|
|
8790
8787
|
href: t?.info?.link?.url,
|
|
8791
8788
|
target: t?.info?.link?.target,
|
|
8792
|
-
children:
|
|
8789
|
+
children: xe(t?.main?.title?.home, 40)
|
|
8793
8790
|
}
|
|
8794
8791
|
) }),
|
|
8795
8792
|
/* @__PURE__ */ a("p", { className: $e.comment, children: t?.main?.subtitle?.striped })
|
|
@@ -9234,7 +9231,7 @@ const K2 = async ({
|
|
|
9234
9231
|
)
|
|
9235
9232
|
] }),
|
|
9236
9233
|
/* @__PURE__ */ a("p", { className: Oe.contentTitle, children: e[0]?.list.integrated ? i.title : `${i.index}. ${i.title}` }),
|
|
9237
|
-
i.image && /* @__PURE__ */ a(
|
|
9234
|
+
i.image && /* @__PURE__ */ a(Ce, { preview: i.image, isLarge: !0 }),
|
|
9238
9235
|
/* @__PURE__ */ a(
|
|
9239
9236
|
"div",
|
|
9240
9237
|
{
|
|
@@ -9413,7 +9410,7 @@ const X2 = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9413
9410
|
internal: t
|
|
9414
9411
|
}) => {
|
|
9415
9412
|
if (!t) return;
|
|
9416
|
-
const n = new
|
|
9413
|
+
const n = new Se(), s = e.preview.sizes, i = (await n.getNewsMultimedia({
|
|
9417
9414
|
path: t,
|
|
9418
9415
|
imagesizes: s ? s[0]?.scale : "w:801,h:449,t:2;"
|
|
9419
9416
|
}))?.data.data[0]?.gallery ?? [];
|
|
@@ -9426,7 +9423,7 @@ const X2 = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9426
9423
|
visibleItems: 1,
|
|
9427
9424
|
pagination: !0,
|
|
9428
9425
|
cardGap: 0,
|
|
9429
|
-
children: i && i.map((r, l) => /* @__PURE__ */ a(
|
|
9426
|
+
children: i && i.map((r, l) => /* @__PURE__ */ a(Ce, { preview: r, priorityHigh: !0 }, l))
|
|
9430
9427
|
}
|
|
9431
9428
|
),
|
|
9432
9429
|
/* @__PURE__ */ a("div", { className: dn.description, children: i && i[0]?.description })
|
|
@@ -9713,7 +9710,7 @@ const w0 = "_content_cu8lm_1", y0 = "_title_cu8lm_18", Ga = {
|
|
|
9713
9710
|
internal: t
|
|
9714
9711
|
}) => {
|
|
9715
9712
|
if (!t) return;
|
|
9716
|
-
const s = await new
|
|
9713
|
+
const s = await new Se().getNewsMultimedia({
|
|
9717
9714
|
path: t,
|
|
9718
9715
|
imagesizes: e.preview.sizes[0]?.scale
|
|
9719
9716
|
});
|
|
@@ -9733,7 +9730,7 @@ const w0 = "_content_cu8lm_1", y0 = "_title_cu8lm_18", Ga = {
|
|
|
9733
9730
|
internal: t
|
|
9734
9731
|
}) => {
|
|
9735
9732
|
if (!t) return;
|
|
9736
|
-
const s = await new
|
|
9733
|
+
const s = await new Se().getNewsMultimedia({
|
|
9737
9734
|
path: t,
|
|
9738
9735
|
imagesizes: e.preview.sizes[0]?.scale
|
|
9739
9736
|
});
|
|
@@ -9760,7 +9757,7 @@ const w0 = "_content_cu8lm_1", y0 = "_title_cu8lm_18", Ga = {
|
|
|
9760
9757
|
internal: t
|
|
9761
9758
|
}) => {
|
|
9762
9759
|
if (!t) return;
|
|
9763
|
-
const s = await new
|
|
9760
|
+
const s = await new Se().getNews({
|
|
9764
9761
|
path: t,
|
|
9765
9762
|
imagesizes: e.preview.sizes[0]?.scale
|
|
9766
9763
|
});
|
|
@@ -9900,7 +9897,7 @@ const w0 = "_content_cu8lm_1", y0 = "_title_cu8lm_18", Ga = {
|
|
|
9900
9897
|
/* @__PURE__ */ a("p", { className: Je.title, children: o?.main?.title.home }),
|
|
9901
9898
|
o?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: Je.subtitle, children: o?.main?.subtitle?.striped })
|
|
9902
9899
|
] }),
|
|
9903
|
-
/* @__PURE__ */ a(
|
|
9900
|
+
/* @__PURE__ */ a(Ce, { preview: o.preview })
|
|
9904
9901
|
]
|
|
9905
9902
|
}
|
|
9906
9903
|
) }),
|
|
@@ -10658,7 +10655,7 @@ const Ha = {
|
|
|
10658
10655
|
target: t.info.link.target,
|
|
10659
10656
|
children: /* @__PURE__ */ m("section", { className: Wa.container, children: [
|
|
10660
10657
|
/* @__PURE__ */ a(
|
|
10661
|
-
|
|
10658
|
+
Ce,
|
|
10662
10659
|
{
|
|
10663
10660
|
isLarge: !0,
|
|
10664
10661
|
preview: {
|
|
@@ -10687,7 +10684,7 @@ const Ha = {
|
|
|
10687
10684
|
children: e.video.main.title
|
|
10688
10685
|
}
|
|
10689
10686
|
),
|
|
10690
|
-
/* @__PURE__ */ a("p", { className: Ze.article, children:
|
|
10687
|
+
/* @__PURE__ */ a("p", { className: Ze.article, children: xe(e.video.main.description) }),
|
|
10691
10688
|
/* @__PURE__ */ a("p", { className: Ze.correspondent, children: t() })
|
|
10692
10689
|
] })
|
|
10693
10690
|
] }) }) }) });
|
|
@@ -11026,7 +11023,7 @@ const Lf = (e) => {
|
|
|
11026
11023
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
11027
11024
|
"--colorSubTitle": e.colorSubTitle
|
|
11028
11025
|
},
|
|
11029
|
-
children: n ?
|
|
11026
|
+
children: n ? xe(e.main.subtitle.striped) : e.main.subtitle.striped
|
|
11030
11027
|
}
|
|
11031
11028
|
),
|
|
11032
11029
|
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(j, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -12997,7 +12994,7 @@ export {
|
|
|
12997
12994
|
pt as CarrouselIRS,
|
|
12998
12995
|
i2 as CarruselCard,
|
|
12999
12996
|
g2 as CarruselOpinion,
|
|
13000
|
-
|
|
12997
|
+
Se as CommonServices,
|
|
13001
12998
|
Xs as Comscore,
|
|
13002
12999
|
X9 as ContactInfoServer,
|
|
13003
13000
|
z9 as ContactInput,
|
|
@@ -13082,7 +13079,7 @@ export {
|
|
|
13082
13079
|
ns as buildTagUrl,
|
|
13083
13080
|
Ac as coloringByStrokeSVGs,
|
|
13084
13081
|
sa as compileStyleProps,
|
|
13085
|
-
|
|
13082
|
+
xe as cutString,
|
|
13086
13083
|
l9 as extractRealtedNews,
|
|
13087
13084
|
Te as formatDate,
|
|
13088
13085
|
r9 as formatDateEdiciones,
|