sass-template-common 0.18.6 → 0.18.7
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.
|
@@ -11758,7 +11758,7 @@ const Nr = (e) => {
|
|
|
11758
11758
|
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */ b("section", { className: "sass-com-htape-content", children: [
|
|
11759
11759
|
Array.isArray(t) && /* @__PURE__ */ b("div", { className: "sass-com-htape-tabs header-page-tape-content", children: [
|
|
11760
11760
|
n !== "" && /* @__PURE__ */ a("p", { className: "sass-com-htape-title", children: `${n}` }),
|
|
11761
|
-
t && t[o] && /* @__PURE__ */ a(
|
|
11761
|
+
t && t[o] && (t[o]?.link ? /* @__PURE__ */ a(
|
|
11762
11762
|
_,
|
|
11763
11763
|
{
|
|
11764
11764
|
block_subPublication: !0,
|
|
@@ -11772,10 +11772,10 @@ const Nr = (e) => {
|
|
|
11772
11772
|
children: t[o]?.description
|
|
11773
11773
|
},
|
|
11774
11774
|
o
|
|
11775
|
-
),
|
|
11775
|
+
) : /* @__PURE__ */ a("span", { className: "sass-com-htape-textStyled", children: t[o]?.description }, o)),
|
|
11776
11776
|
t && t.map((i, c) => {
|
|
11777
11777
|
if (c !== o)
|
|
11778
|
-
return /* @__PURE__ */ a(
|
|
11778
|
+
return i?.link ? /* @__PURE__ */ a(
|
|
11779
11779
|
_,
|
|
11780
11780
|
{
|
|
11781
11781
|
block_subPublication: !0,
|
|
@@ -11788,7 +11788,7 @@ const Nr = (e) => {
|
|
|
11788
11788
|
children: i?.description
|
|
11789
11789
|
},
|
|
11790
11790
|
c
|
|
11791
|
-
);
|
|
11791
|
+
) : /* @__PURE__ */ a("span", { className: "sass-com-htape-textStyled", children: i?.description }, c);
|
|
11792
11792
|
})
|
|
11793
11793
|
] }),
|
|
11794
11794
|
/* @__PURE__ */ a("div", { className: "sass-com-htape-socialNetwork", children: Object.keys(s).map((i) => !i || !s[i] || !Tt[i] ? null : s[i]?.show && /* @__PURE__ */ a(
|
|
@@ -11936,36 +11936,53 @@ const Nr = (e) => {
|
|
|
11936
11936
|
);
|
|
11937
11937
|
}, Vm = (e) => {
|
|
11938
11938
|
const { items: t } = e;
|
|
11939
|
-
return /* @__PURE__ */ a("ul", { className: "sass-com-mopt-ul", children: t.map((n, s) =>
|
|
11940
|
-
n.link
|
|
11941
|
-
|
|
11939
|
+
return /* @__PURE__ */ a("ul", { className: "sass-com-mopt-ul", children: t.map((n, s) => {
|
|
11940
|
+
const r = !n.link && !Array.isArray(n.subitem);
|
|
11941
|
+
return /* @__PURE__ */ b(
|
|
11942
|
+
"li",
|
|
11942
11943
|
{
|
|
11943
|
-
|
|
11944
|
-
"aria-label": n.description,
|
|
11945
|
-
className: "sass-com-mopt-linkStyled",
|
|
11946
|
-
href: n.link ? n.link : void 0,
|
|
11947
|
-
target: n.target,
|
|
11944
|
+
className: r ? "sass-com-mopt-li" : "sass-com-mopt-liBefore sass-com-mopt-li",
|
|
11948
11945
|
children: [
|
|
11949
|
-
n.
|
|
11950
|
-
|
|
11946
|
+
n.link ? /* @__PURE__ */ b(
|
|
11947
|
+
_,
|
|
11948
|
+
{
|
|
11949
|
+
block_subPublication: !0,
|
|
11950
|
+
"aria-label": n.description,
|
|
11951
|
+
className: "sass-com-mopt-linkStyled",
|
|
11952
|
+
href: n.link ? n.link : void 0,
|
|
11953
|
+
target: n.target,
|
|
11954
|
+
children: [
|
|
11955
|
+
n.description,
|
|
11956
|
+
Array.isArray(n.subitem) && /* @__PURE__ */ a(_n, {})
|
|
11957
|
+
]
|
|
11958
|
+
}
|
|
11959
|
+
) : /* @__PURE__ */ b(
|
|
11960
|
+
"span",
|
|
11961
|
+
{
|
|
11962
|
+
"aria-label": n.description,
|
|
11963
|
+
className: r ? "sass-com-mopt-linkStyled sass-com-mopt-noHover" : "sass-com-mopt-linkStyled",
|
|
11964
|
+
children: [
|
|
11965
|
+
n.description,
|
|
11966
|
+
Array.isArray(n.subitem) && /* @__PURE__ */ a(_n, {})
|
|
11967
|
+
]
|
|
11968
|
+
}
|
|
11969
|
+
),
|
|
11970
|
+
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: "sass-com-mopt-ulContent", children: /* @__PURE__ */ a("div", { className: "sass-com-mopt-contentModal", children: n.subitem.map((o, i) => /* @__PURE__ */ a("li", { className: "sass-com-mopt-li", children: /* @__PURE__ */ a(
|
|
11971
|
+
_,
|
|
11972
|
+
{
|
|
11973
|
+
block_subPublication: !0,
|
|
11974
|
+
className: "sass-com-mopt-itemLink",
|
|
11975
|
+
"aria-label": o.description,
|
|
11976
|
+
href: o.link ? o.link : void 0,
|
|
11977
|
+
target: o.target,
|
|
11978
|
+
children: o.description
|
|
11979
|
+
}
|
|
11980
|
+
) }, i)) }) })
|
|
11951
11981
|
]
|
|
11952
|
-
}
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
] }),
|
|
11957
|
-
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: "sass-com-mopt-ulContent", children: /* @__PURE__ */ a("div", { className: "sass-com-mopt-contentModal", children: n.subitem.map((r, o) => /* @__PURE__ */ a("li", { className: "sass-com-mopt-li", children: /* @__PURE__ */ a(
|
|
11958
|
-
_,
|
|
11959
|
-
{
|
|
11960
|
-
block_subPublication: !0,
|
|
11961
|
-
className: "sass-com-mopt-itemLink",
|
|
11962
|
-
"aria-label": r.description,
|
|
11963
|
-
href: r.link ? r.link : void 0,
|
|
11964
|
-
target: r.target,
|
|
11965
|
-
children: r.description
|
|
11966
|
-
}
|
|
11967
|
-
) }, o)) }) })
|
|
11968
|
-
] }, s)) });
|
|
11982
|
+
},
|
|
11983
|
+
s
|
|
11984
|
+
);
|
|
11985
|
+
}) });
|
|
11969
11986
|
}, $m = (e) => {
|
|
11970
11987
|
const { menu: t, alertZone: n, custom_styles: s = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: o } = I();
|
|
11971
11988
|
return /* @__PURE__ */ b(
|