sass-template-common 0.2.84 → 0.2.86
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.
|
@@ -4609,7 +4609,7 @@ const It = (e) => {
|
|
|
4609
4609
|
contentNew: Vc,
|
|
4610
4610
|
imageBox: Fc,
|
|
4611
4611
|
numberTag: $c
|
|
4612
|
-
}, Wc = "
|
|
4612
|
+
}, Wc = "_figure_dgmzs_1", Yc = "_backdrop_dgmzs_6", Kc = "_backdropAux_dgmzs_16", Jc = "_imageStyled_dgmzs_37", Zc = "_boxPlayIcon_dgmzs_51", Xc = "_playStyled_dgmzs_61", el = "_imageLogoPlaceholder_dgmzs_78", tl = "_imagePlaceholder_dgmzs_99", oe = {
|
|
4613
4613
|
figure: Wc,
|
|
4614
4614
|
backdrop: Yc,
|
|
4615
4615
|
backdropAux: Kc,
|
|
@@ -4646,30 +4646,29 @@ function vr() {
|
|
|
4646
4646
|
return Y().COMPONENTS?.PlayIcon || yr;
|
|
4647
4647
|
}
|
|
4648
4648
|
const nl = (e) => {
|
|
4649
|
-
const { isVideo: t = !1,
|
|
4650
|
-
return
|
|
4649
|
+
const { isVideo: t = !1, priorityHigh: n = !1 } = e, s = Na(), r = e.preview.sizes;
|
|
4650
|
+
return r ? r.length === 1 ? /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ f("span", { className: oe.backdrop, children: [
|
|
4651
4651
|
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4652
4652
|
/* @__PURE__ */ f("picture", { children: [
|
|
4653
4653
|
/* @__PURE__ */ a(
|
|
4654
4654
|
"img",
|
|
4655
4655
|
{
|
|
4656
|
-
fetchPriority:
|
|
4657
|
-
loading:
|
|
4656
|
+
fetchPriority: n ? "high" : "low",
|
|
4657
|
+
loading: n ? "eager" : "lazy",
|
|
4658
4658
|
className: oe.imageStyled,
|
|
4659
4659
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
4660
|
-
src:
|
|
4660
|
+
src: r[0]?.url ? r[0]?.url : void 0
|
|
4661
4661
|
}
|
|
4662
4662
|
),
|
|
4663
4663
|
t && /* @__PURE__ */ f(J, { children: [
|
|
4664
4664
|
/* @__PURE__ */ a(
|
|
4665
4665
|
"div",
|
|
4666
4666
|
{
|
|
4667
|
-
className: oe.boxPlayIcon
|
|
4668
|
-
style: { height: n ? "40%" : "72px" }
|
|
4667
|
+
className: oe.boxPlayIcon
|
|
4669
4668
|
}
|
|
4670
4669
|
),
|
|
4671
4670
|
/* @__PURE__ */ a(
|
|
4672
|
-
|
|
4671
|
+
s,
|
|
4673
4672
|
{
|
|
4674
4673
|
className: `${oe.playStyled} saas-image-play-icon`
|
|
4675
4674
|
}
|
|
@@ -4679,49 +4678,48 @@ const nl = (e) => {
|
|
|
4679
4678
|
] }) }) : /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ f("span", { className: oe.backdrop, children: [
|
|
4680
4679
|
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4681
4680
|
/* @__PURE__ */ f("picture", { children: [
|
|
4682
|
-
|
|
4681
|
+
r.map((o, i) => {
|
|
4683
4682
|
if (e.isLarge)
|
|
4684
|
-
return
|
|
4683
|
+
return o.width >= 580 ? /* @__PURE__ */ a(
|
|
4685
4684
|
"source",
|
|
4686
4685
|
{
|
|
4687
4686
|
media: "(width >=900px)",
|
|
4688
|
-
srcSet:
|
|
4687
|
+
srcSet: o.url
|
|
4689
4688
|
},
|
|
4690
|
-
|
|
4689
|
+
i
|
|
4691
4690
|
) : /* @__PURE__ */ a(
|
|
4692
4691
|
"source",
|
|
4693
4692
|
{
|
|
4694
4693
|
media: "(width <900px)",
|
|
4695
|
-
srcSet:
|
|
4694
|
+
srcSet: o.url
|
|
4696
4695
|
},
|
|
4697
|
-
|
|
4696
|
+
i
|
|
4698
4697
|
);
|
|
4699
|
-
if (
|
|
4700
|
-
return /* @__PURE__ */ a("source", { srcSet:
|
|
4698
|
+
if (o.width < 580)
|
|
4699
|
+
return /* @__PURE__ */ a("source", { srcSet: o.url }, i);
|
|
4701
4700
|
}),
|
|
4702
4701
|
/* @__PURE__ */ a(
|
|
4703
4702
|
"img",
|
|
4704
4703
|
{
|
|
4705
|
-
fetchPriority:
|
|
4706
|
-
loading:
|
|
4704
|
+
fetchPriority: n ? "high" : "low",
|
|
4705
|
+
loading: n ? "eager" : "lazy",
|
|
4707
4706
|
decoding: "async",
|
|
4708
4707
|
className: oe.imageStyled,
|
|
4709
|
-
width:
|
|
4710
|
-
height:
|
|
4708
|
+
width: r[0]?.width,
|
|
4709
|
+
height: r[0]?.height,
|
|
4711
4710
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
4712
|
-
src:
|
|
4711
|
+
src: r[0]?.url ? r[0]?.url : ""
|
|
4713
4712
|
}
|
|
4714
4713
|
),
|
|
4715
4714
|
t && /* @__PURE__ */ f(J, { children: [
|
|
4716
4715
|
/* @__PURE__ */ a(
|
|
4717
4716
|
"div",
|
|
4718
4717
|
{
|
|
4719
|
-
className: oe.boxPlayIcon
|
|
4720
|
-
style: { height: n ? "40%" : "72px" }
|
|
4718
|
+
className: oe.boxPlayIcon
|
|
4721
4719
|
}
|
|
4722
4720
|
),
|
|
4723
4721
|
/* @__PURE__ */ a(
|
|
4724
|
-
|
|
4722
|
+
s,
|
|
4725
4723
|
{
|
|
4726
4724
|
className: `${oe.playStyled} saas-image-play-icon`
|
|
4727
4725
|
}
|
|
@@ -7140,7 +7138,8 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
|
|
|
7140
7138
|
}
|
|
7141
7139
|
},
|
|
7142
7140
|
!0,
|
|
7143
|
-
!!e.video?.main?.description
|
|
7141
|
+
!!e.video?.main?.description,
|
|
7142
|
+
!0
|
|
7144
7143
|
),
|
|
7145
7144
|
paths: e.paths
|
|
7146
7145
|
}
|