@digital-b2c/coreui-kit 0.15.10 → 0.16.1
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.
- package/dist/index.cjs +282 -216
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +211 -10
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.mjs +280 -216
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx48 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import React70, { forwardRef, useId, useRef, useState, useCallback, useMemo, useEffect, Children, isValidElement, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import gsap$1, { gsap } from 'gsap';
|
|
@@ -59,7 +59,7 @@ var Picture = (_a) => {
|
|
|
59
59
|
__spreadValues({
|
|
60
60
|
src: desktop.src,
|
|
61
61
|
alt: desktop.alt,
|
|
62
|
-
className:
|
|
62
|
+
className: clsx48(className, Picture_module_default["image-desktop"])
|
|
63
63
|
}, rest)
|
|
64
64
|
),
|
|
65
65
|
/* @__PURE__ */ jsx(
|
|
@@ -67,7 +67,7 @@ var Picture = (_a) => {
|
|
|
67
67
|
__spreadValues({
|
|
68
68
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
69
69
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
70
|
-
className:
|
|
70
|
+
className: clsx48(className, Picture_module_default["image-mobile"])
|
|
71
71
|
}, rest)
|
|
72
72
|
)
|
|
73
73
|
] });
|
|
@@ -461,7 +461,7 @@ var Button = (_a) => {
|
|
|
461
461
|
]);
|
|
462
462
|
const isLink = !!href;
|
|
463
463
|
const props = __spreadValues(__spreadValues({
|
|
464
|
-
className:
|
|
464
|
+
className: clsx48(
|
|
465
465
|
Button_module_default.button,
|
|
466
466
|
variant ? Button_module_default[variant] : null,
|
|
467
467
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -693,7 +693,7 @@ var BrandsStrip = ({
|
|
|
693
693
|
"div",
|
|
694
694
|
{
|
|
695
695
|
ref: containerRef,
|
|
696
|
-
className:
|
|
696
|
+
className: clsx48(
|
|
697
697
|
BrandsStrip_module_default.brandsStrip,
|
|
698
698
|
BrandsStrip_module_default[variant],
|
|
699
699
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -702,13 +702,13 @@ var BrandsStrip = ({
|
|
|
702
702
|
onMouseEnter: handleMouseEnter,
|
|
703
703
|
onMouseLeave: handleMouseLeave,
|
|
704
704
|
children: [
|
|
705
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
706
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className:
|
|
705
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
706
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx48("body", BrandsStrip_module_default.title), children: title }),
|
|
707
707
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
708
708
|
"div",
|
|
709
709
|
{
|
|
710
710
|
ref: marqueeRef,
|
|
711
|
-
className:
|
|
711
|
+
className: clsx48(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
712
712
|
children: duplicatedLogos.map((logo, index) => /* @__PURE__ */ jsx("div", { className: BrandsStrip_module_default.logoWrapper, children: /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsStrip_module_default.logo }, logo)) }, `${logo.alt}-${index}`))
|
|
713
713
|
}
|
|
714
714
|
)
|
|
@@ -755,7 +755,7 @@ var Container_module_default = {
|
|
|
755
755
|
var Container = forwardRef(
|
|
756
756
|
(_a, ref) => {
|
|
757
757
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
758
|
-
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
758
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx48(Container_module_default.container, className) }, props), { children }));
|
|
759
759
|
}
|
|
760
760
|
);
|
|
761
761
|
Container.displayName = "Container";
|
|
@@ -796,14 +796,14 @@ var Card = ({
|
|
|
796
796
|
ConditionalWrapper,
|
|
797
797
|
__spreadProps(__spreadValues({
|
|
798
798
|
ref,
|
|
799
|
-
className:
|
|
799
|
+
className: clsx48(Card_module_default.card, Card_module_default[variant], className),
|
|
800
800
|
wrapper: Anchor,
|
|
801
801
|
fallback: "div",
|
|
802
802
|
condition: isLink
|
|
803
803
|
}, href ? { href, isExternal } : {}), {
|
|
804
804
|
children: [
|
|
805
805
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
806
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
806
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx48(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx48(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
807
807
|
isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
808
808
|
] }),
|
|
809
809
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -838,10 +838,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
838
838
|
title: CountingCardTitle
|
|
839
839
|
});
|
|
840
840
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
841
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
841
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx48(CountingCard_module_default["counting-card"], className), children: [
|
|
842
842
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
843
843
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
844
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
844
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx48(CountingCard_module_default.count, "h1"), children: count })
|
|
845
845
|
] }),
|
|
846
846
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
847
847
|
] });
|
|
@@ -927,7 +927,7 @@ function FilterBar({
|
|
|
927
927
|
"button",
|
|
928
928
|
{
|
|
929
929
|
type: "button",
|
|
930
|
-
className:
|
|
930
|
+
className: clsx48(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
931
931
|
onClick: () => onViewChange("grid"),
|
|
932
932
|
"aria-pressed": view === "grid",
|
|
933
933
|
children: [
|
|
@@ -940,7 +940,7 @@ function FilterBar({
|
|
|
940
940
|
"button",
|
|
941
941
|
{
|
|
942
942
|
type: "button",
|
|
943
|
-
className:
|
|
943
|
+
className: clsx48(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
944
944
|
onClick: () => onViewChange("list"),
|
|
945
945
|
"aria-pressed": view === "list",
|
|
946
946
|
children: [
|
|
@@ -954,7 +954,7 @@ function FilterBar({
|
|
|
954
954
|
/* @__PURE__ */ jsxs(
|
|
955
955
|
"div",
|
|
956
956
|
{
|
|
957
|
-
className:
|
|
957
|
+
className: clsx48(
|
|
958
958
|
FilterBar_module_default.dropdownWrapper,
|
|
959
959
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
960
960
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -965,7 +965,7 @@ function FilterBar({
|
|
|
965
965
|
"button",
|
|
966
966
|
{
|
|
967
967
|
type: "button",
|
|
968
|
-
className:
|
|
968
|
+
className: clsx48(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
969
969
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
970
970
|
"aria-expanded": openDropdown === "filter",
|
|
971
971
|
children: [
|
|
@@ -980,7 +980,7 @@ function FilterBar({
|
|
|
980
980
|
type: "button",
|
|
981
981
|
role: "option",
|
|
982
982
|
"aria-selected": filterValue === opt.value,
|
|
983
|
-
className:
|
|
983
|
+
className: clsx48(
|
|
984
984
|
FilterBar_module_default.dropdownOption,
|
|
985
985
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
986
986
|
),
|
|
@@ -1001,7 +1001,7 @@ function FilterBar({
|
|
|
1001
1001
|
/* @__PURE__ */ jsxs(
|
|
1002
1002
|
"div",
|
|
1003
1003
|
{
|
|
1004
|
-
className:
|
|
1004
|
+
className: clsx48(
|
|
1005
1005
|
FilterBar_module_default.dropdownWrapper,
|
|
1006
1006
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1007
1007
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1027,7 +1027,7 @@ function FilterBar({
|
|
|
1027
1027
|
type: "button",
|
|
1028
1028
|
role: "option",
|
|
1029
1029
|
"aria-selected": sortValue === opt.value,
|
|
1030
|
-
className:
|
|
1030
|
+
className: clsx48(
|
|
1031
1031
|
FilterBar_module_default.dropdownOption,
|
|
1032
1032
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1033
1033
|
),
|
|
@@ -1045,7 +1045,7 @@ function FilterBar({
|
|
|
1045
1045
|
searchState !== "closed" ? /* @__PURE__ */ jsxs(
|
|
1046
1046
|
"div",
|
|
1047
1047
|
{
|
|
1048
|
-
className:
|
|
1048
|
+
className: clsx48(
|
|
1049
1049
|
FilterBar_module_default.searchExpanded,
|
|
1050
1050
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1051
1051
|
),
|
|
@@ -1127,9 +1127,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1127
1127
|
});
|
|
1128
1128
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1129
1129
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1130
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1130
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx48(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1131
1131
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1132
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
1132
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx48(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1133
1133
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
1134
1134
|
] }),
|
|
1135
1135
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1226,7 +1226,7 @@ var Pagination = ({
|
|
|
1226
1226
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1227
1227
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1228
1228
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1229
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1229
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx48(Pagination_module_default.pagination, className), children: [
|
|
1230
1230
|
!disableArrows && (renderLink ? renderLink({
|
|
1231
1231
|
page: prevPage,
|
|
1232
1232
|
className: Pagination_module_default.prev,
|
|
@@ -1247,7 +1247,7 @@ var Pagination = ({
|
|
|
1247
1247
|
return /* @__PURE__ */ jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1248
1248
|
}
|
|
1249
1249
|
const page = item;
|
|
1250
|
-
const pageClassName =
|
|
1250
|
+
const pageClassName = clsx48(Pagination_module_default.page, {
|
|
1251
1251
|
[Pagination_module_default.active]: activePage === page,
|
|
1252
1252
|
[Pagination_module_default.number]: hasNumber,
|
|
1253
1253
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
@@ -1299,7 +1299,7 @@ var PracticeCard_module_default = {
|
|
|
1299
1299
|
};
|
|
1300
1300
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1301
1301
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1302
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1302
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
1303
1303
|
ConditionalWrapper,
|
|
1304
1304
|
__spreadProps(__spreadValues({
|
|
1305
1305
|
className: PracticeCard_module_default.wrapper,
|
|
@@ -1310,7 +1310,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1310
1310
|
children: [
|
|
1311
1311
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1312
1312
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1313
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
1313
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx48(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1314
1314
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1315
1315
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1316
1316
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1354,15 +1354,15 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1354
1354
|
"aria-disabled": isRestricted
|
|
1355
1355
|
} : null;
|
|
1356
1356
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1357
|
-
className:
|
|
1357
|
+
className: clsx48(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1358
1358
|
children: null
|
|
1359
1359
|
})) : /* @__PURE__ */ jsx(
|
|
1360
1360
|
"a",
|
|
1361
1361
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1362
|
-
className:
|
|
1362
|
+
className: clsx48(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1363
1363
|
})
|
|
1364
1364
|
) : null;
|
|
1365
|
-
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className:
|
|
1365
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx48(ResourceCardItem_module_default.cardLink), children }));
|
|
1366
1366
|
function getIcon() {
|
|
1367
1367
|
switch (item.type) {
|
|
1368
1368
|
case "pdf":
|
|
@@ -1379,7 +1379,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1379
1379
|
return /* @__PURE__ */ jsxs(
|
|
1380
1380
|
"article",
|
|
1381
1381
|
{
|
|
1382
|
-
className:
|
|
1382
|
+
className: clsx48(
|
|
1383
1383
|
ResourceCardItem_module_default.cardGrid,
|
|
1384
1384
|
isGlobalSearchVariant && ResourceCardItem_module_default[variant],
|
|
1385
1385
|
isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
|
|
@@ -1456,7 +1456,7 @@ var Sidebar = ({
|
|
|
1456
1456
|
return /* @__PURE__ */ jsxs(
|
|
1457
1457
|
"li",
|
|
1458
1458
|
{
|
|
1459
|
-
className:
|
|
1459
|
+
className: clsx48(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1460
1460
|
role: "button",
|
|
1461
1461
|
tabIndex: 0,
|
|
1462
1462
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1514,7 +1514,7 @@ var UpcomingEventCard = ({
|
|
|
1514
1514
|
return /* @__PURE__ */ jsxs(
|
|
1515
1515
|
"article",
|
|
1516
1516
|
{
|
|
1517
|
-
className:
|
|
1517
|
+
className: clsx48(
|
|
1518
1518
|
"card",
|
|
1519
1519
|
UpcomingEventCard_module_default["event-card"],
|
|
1520
1520
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1522,26 +1522,26 @@ var UpcomingEventCard = ({
|
|
|
1522
1522
|
className
|
|
1523
1523
|
),
|
|
1524
1524
|
children: [
|
|
1525
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1526
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1525
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1526
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx48("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1527
1527
|
/* @__PURE__ */ jsxs(
|
|
1528
1528
|
"div",
|
|
1529
1529
|
{
|
|
1530
|
-
className:
|
|
1530
|
+
className: clsx48(
|
|
1531
1531
|
"card-text-content",
|
|
1532
1532
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1533
1533
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1534
1534
|
),
|
|
1535
1535
|
children: [
|
|
1536
1536
|
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1537
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1537
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx48("card-text-title"), children: title }),
|
|
1538
1538
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1539
|
-
description && /* @__PURE__ */ jsx("div", { className:
|
|
1540
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1539
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx48("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1540
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx48("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1541
1541
|
Button,
|
|
1542
1542
|
{
|
|
1543
1543
|
variant: "secondary",
|
|
1544
|
-
className:
|
|
1544
|
+
className: clsx48(
|
|
1545
1545
|
"card-cta",
|
|
1546
1546
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1547
1547
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1560,12 +1560,12 @@ var UpcomingEventCard = ({
|
|
|
1560
1560
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1561
1561
|
"div",
|
|
1562
1562
|
{
|
|
1563
|
-
className:
|
|
1563
|
+
className: clsx48("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1564
1564
|
children: /* @__PURE__ */ jsx(
|
|
1565
1565
|
Button,
|
|
1566
1566
|
{
|
|
1567
1567
|
variant: "secondary",
|
|
1568
|
-
className:
|
|
1568
|
+
className: clsx48("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1569
1569
|
fullWidth: isBelowMobile,
|
|
1570
1570
|
href: cta.url,
|
|
1571
1571
|
icon: cta.icon,
|
|
@@ -1613,7 +1613,7 @@ var Badge = forwardRef(
|
|
|
1613
1613
|
"live",
|
|
1614
1614
|
"clickable"
|
|
1615
1615
|
]);
|
|
1616
|
-
const classes =
|
|
1616
|
+
const classes = clsx48(
|
|
1617
1617
|
Badge_module_default.badge,
|
|
1618
1618
|
Badge_module_default[variant],
|
|
1619
1619
|
Badge_module_default[size],
|
|
@@ -1624,7 +1624,7 @@ var Badge = forwardRef(
|
|
|
1624
1624
|
className
|
|
1625
1625
|
);
|
|
1626
1626
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1627
|
-
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className:
|
|
1627
|
+
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx48("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1628
1628
|
!iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
|
|
1629
1629
|
] });
|
|
1630
1630
|
if (clickable) {
|
|
@@ -1705,7 +1705,7 @@ var Input = forwardRef(
|
|
|
1705
1705
|
return /* @__PURE__ */ jsxs(
|
|
1706
1706
|
"div",
|
|
1707
1707
|
{
|
|
1708
|
-
className:
|
|
1708
|
+
className: clsx48(
|
|
1709
1709
|
"input-field",
|
|
1710
1710
|
Input_module_default["input-field"],
|
|
1711
1711
|
{
|
|
@@ -1719,17 +1719,17 @@ var Input = forwardRef(
|
|
|
1719
1719
|
"label",
|
|
1720
1720
|
{
|
|
1721
1721
|
htmlFor: inputId,
|
|
1722
|
-
className:
|
|
1722
|
+
className: clsx48("input-label", Input_module_default.label, {
|
|
1723
1723
|
["sr-only"]: hideLabel
|
|
1724
1724
|
}),
|
|
1725
1725
|
children: [
|
|
1726
1726
|
label,
|
|
1727
|
-
required && /* @__PURE__ */ jsx("span", { className:
|
|
1727
|
+
required && /* @__PURE__ */ jsx("span", { className: clsx48("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1728
1728
|
]
|
|
1729
1729
|
}
|
|
1730
1730
|
),
|
|
1731
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1732
|
-
startAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1731
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("input-wrapper", Input_module_default.wrapper), children: [
|
|
1732
|
+
startAdornment && /* @__PURE__ */ jsx("span", { className: clsx48("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1733
1733
|
/* @__PURE__ */ jsx(
|
|
1734
1734
|
"input",
|
|
1735
1735
|
__spreadValues({
|
|
@@ -1740,7 +1740,7 @@ var Input = forwardRef(
|
|
|
1740
1740
|
disabled,
|
|
1741
1741
|
"aria-invalid": !!error,
|
|
1742
1742
|
"aria-describedby": describedBy || void 0,
|
|
1743
|
-
className:
|
|
1743
|
+
className: clsx48(
|
|
1744
1744
|
"input",
|
|
1745
1745
|
Input_module_default.input,
|
|
1746
1746
|
{
|
|
@@ -1751,11 +1751,11 @@ var Input = forwardRef(
|
|
|
1751
1751
|
)
|
|
1752
1752
|
}, props)
|
|
1753
1753
|
),
|
|
1754
|
-
endAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1755
|
-
endAction && /* @__PURE__ */ jsx("span", { className:
|
|
1754
|
+
endAdornment && /* @__PURE__ */ jsx("span", { className: clsx48("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1755
|
+
endAction && /* @__PURE__ */ jsx("span", { className: clsx48("input-end-action"), children: endAction })
|
|
1756
1756
|
] }),
|
|
1757
|
-
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className:
|
|
1758
|
-
error && /* @__PURE__ */ jsx("p", { id: errorId, className:
|
|
1757
|
+
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx48("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1758
|
+
error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx48("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1759
1759
|
]
|
|
1760
1760
|
}
|
|
1761
1761
|
);
|
|
@@ -1795,14 +1795,14 @@ var NewsCard = ({
|
|
|
1795
1795
|
href: cta.url,
|
|
1796
1796
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1797
1797
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1798
|
-
className:
|
|
1798
|
+
className: clsx48("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1799
1799
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1800
1800
|
} : null;
|
|
1801
1801
|
const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsx("a", __spreadValues({}, linkProps)) : null;
|
|
1802
1802
|
return /* @__PURE__ */ jsxs(
|
|
1803
1803
|
"article",
|
|
1804
1804
|
{
|
|
1805
|
-
className:
|
|
1805
|
+
className: clsx48(
|
|
1806
1806
|
"news-card",
|
|
1807
1807
|
NewsCard_module_default["news-card"],
|
|
1808
1808
|
NewsCard_module_default[`news-card--${direction}`],
|
|
@@ -1810,28 +1810,28 @@ var NewsCard = ({
|
|
|
1810
1810
|
),
|
|
1811
1811
|
children: [
|
|
1812
1812
|
cardLink,
|
|
1813
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1813
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx48("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1814
1814
|
/* @__PURE__ */ jsxs(
|
|
1815
1815
|
"div",
|
|
1816
1816
|
{
|
|
1817
|
-
className:
|
|
1817
|
+
className: clsx48("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1818
1818
|
style: {
|
|
1819
1819
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1820
1820
|
},
|
|
1821
1821
|
children: [
|
|
1822
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1823
|
-
/* @__PURE__ */ jsx(Badge, { className:
|
|
1824
|
-
/* @__PURE__ */ jsx("time", { dateTime: date.value, className:
|
|
1822
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1823
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx48("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1824
|
+
/* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx48("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1825
1825
|
] }),
|
|
1826
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1827
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
1828
|
-
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1826
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1827
|
+
/* @__PURE__ */ jsx("h3", { className: clsx48("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1828
|
+
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx48("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
|
|
1829
1829
|
] }),
|
|
1830
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1830
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx48("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1831
1831
|
Button,
|
|
1832
1832
|
{
|
|
1833
1833
|
variant: "secondary",
|
|
1834
|
-
className:
|
|
1834
|
+
className: clsx48("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1835
1835
|
href: cta.url,
|
|
1836
1836
|
icon: cta.icon,
|
|
1837
1837
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -1862,7 +1862,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1862
1862
|
body: BlogPostContentBody
|
|
1863
1863
|
});
|
|
1864
1864
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1865
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1865
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1866
1866
|
};
|
|
1867
1867
|
|
|
1868
1868
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1913,7 +1913,7 @@ var Search = ({
|
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
1915
|
if (!isOpen) {
|
|
1916
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1916
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(Search_module_default.search, className), children: /* @__PURE__ */ jsx(
|
|
1917
1917
|
"button",
|
|
1918
1918
|
{
|
|
1919
1919
|
type: "button",
|
|
@@ -1925,10 +1925,10 @@ var Search = ({
|
|
|
1925
1925
|
}
|
|
1926
1926
|
) });
|
|
1927
1927
|
}
|
|
1928
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1928
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(Search_module_default.search, className), children: /* @__PURE__ */ jsxs(
|
|
1929
1929
|
"div",
|
|
1930
1930
|
{
|
|
1931
|
-
className:
|
|
1931
|
+
className: clsx48(
|
|
1932
1932
|
Search_module_default.searchField,
|
|
1933
1933
|
isPill ? Search_module_default.searchFieldPill : Search_module_default.searchFieldLine
|
|
1934
1934
|
),
|
|
@@ -2011,6 +2011,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2011
2011
|
if (closeTimer.current) clearTimeout(closeTimer.current);
|
|
2012
2012
|
closeTimer.current = setTimeout(() => setIsOpen(false), 120);
|
|
2013
2013
|
};
|
|
2014
|
+
const handlePointerEnter = (e) => {
|
|
2015
|
+
if (e.pointerType === "mouse") openMenu();
|
|
2016
|
+
};
|
|
2017
|
+
const handlePointerLeave = (e) => {
|
|
2018
|
+
if (e.pointerType === "mouse") scheduleClose();
|
|
2019
|
+
};
|
|
2014
2020
|
const handleBlur = (e) => {
|
|
2015
2021
|
var _a2;
|
|
2016
2022
|
if (!((_a2 = wrapperRef.current) == null ? void 0 : _a2.contains(e.relatedTarget))) {
|
|
@@ -2048,7 +2054,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2048
2054
|
/* @__PURE__ */ jsx(Icon, { type: "downChevronBlack", size: 13, "aria-hidden": "true" })
|
|
2049
2055
|
] })
|
|
2050
2056
|
] });
|
|
2051
|
-
const rootClass =
|
|
2057
|
+
const rootClass = clsx48(UserMenu_module_default.userButton, fullWidth && UserMenu_module_default.fullWidth, className);
|
|
2052
2058
|
return user.url ? /* @__PURE__ */ jsx(
|
|
2053
2059
|
"a",
|
|
2054
2060
|
{
|
|
@@ -2063,9 +2069,9 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2063
2069
|
return /* @__PURE__ */ jsxs(
|
|
2064
2070
|
"div",
|
|
2065
2071
|
{
|
|
2066
|
-
className:
|
|
2072
|
+
className: clsx48(UserMenu_module_default.userMenuWrapper, fullWidth && UserMenu_module_default.fullWidth, className),
|
|
2067
2073
|
ref: wrapperRef,
|
|
2068
|
-
|
|
2074
|
+
onPointerLeave: handlePointerLeave,
|
|
2069
2075
|
onBlur: handleBlur,
|
|
2070
2076
|
children: [
|
|
2071
2077
|
/* @__PURE__ */ jsxs(
|
|
@@ -2076,8 +2082,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2076
2082
|
className: UserMenu_module_default.userButton,
|
|
2077
2083
|
"aria-haspopup": "menu",
|
|
2078
2084
|
"aria-expanded": isOpen,
|
|
2079
|
-
|
|
2080
|
-
onFocus: openMenu,
|
|
2085
|
+
onPointerEnter: handlePointerEnter,
|
|
2081
2086
|
onClick: () => setIsOpen((prev) => !prev),
|
|
2082
2087
|
children: [
|
|
2083
2088
|
avatar,
|
|
@@ -2086,7 +2091,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2086
2091
|
/* @__PURE__ */ jsx(
|
|
2087
2092
|
"span",
|
|
2088
2093
|
{
|
|
2089
|
-
className:
|
|
2094
|
+
className: clsx48(
|
|
2090
2095
|
UserMenu_module_default.userChevron,
|
|
2091
2096
|
dropUp && UserMenu_module_default.userChevronUp,
|
|
2092
2097
|
isOpen && UserMenu_module_default.userChevronOpen
|
|
@@ -2101,12 +2106,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2101
2106
|
isOpen && /* @__PURE__ */ jsx(
|
|
2102
2107
|
"div",
|
|
2103
2108
|
{
|
|
2104
|
-
className:
|
|
2109
|
+
className: clsx48(UserMenu_module_default.userMenu, dropUp && UserMenu_module_default.userMenuUp),
|
|
2105
2110
|
role: "menu",
|
|
2106
|
-
|
|
2107
|
-
|
|
2111
|
+
onPointerEnter: handlePointerEnter,
|
|
2112
|
+
onPointerLeave: handlePointerLeave,
|
|
2108
2113
|
children: (_c = user.menuItems) == null ? void 0 : _c.map((item, i) => {
|
|
2109
|
-
const itemClass =
|
|
2114
|
+
const itemClass = clsx48(
|
|
2110
2115
|
UserMenu_module_default.userMenuItem,
|
|
2111
2116
|
item.variant === "danger" && UserMenu_module_default.userMenuItemDanger
|
|
2112
2117
|
);
|
|
@@ -2145,6 +2150,14 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2145
2150
|
}
|
|
2146
2151
|
);
|
|
2147
2152
|
};
|
|
2153
|
+
|
|
2154
|
+
// src/components/Loader/Loader.module.scss
|
|
2155
|
+
var Loader_module_default = {
|
|
2156
|
+
loader: "Loader_module_loader"};
|
|
2157
|
+
var Loader = ({ className }) => {
|
|
2158
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48("loader", Loader_module_default["loader"], className) });
|
|
2159
|
+
};
|
|
2160
|
+
Loader.displayName = "Loader";
|
|
2148
2161
|
var CardCollectionTitle = ({ children }) => {
|
|
2149
2162
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2150
2163
|
};
|
|
@@ -2224,13 +2237,13 @@ var CardCollection = ({
|
|
|
2224
2237
|
Container,
|
|
2225
2238
|
{
|
|
2226
2239
|
ref: container,
|
|
2227
|
-
className:
|
|
2240
|
+
className: clsx48(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2228
2241
|
children: [
|
|
2229
2242
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2230
2243
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2231
2244
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
2232
2245
|
] }),
|
|
2233
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
2246
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx48(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
2234
2247
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2235
2248
|
isExamCard && hiddenCards.length > 0 && /* @__PURE__ */ jsx("div", { ref: revealWrapper, className: CardCollection_module_default["reveal-wrapper"], children: /* @__PURE__ */ jsx("div", { className: CardCollection_module_default["reveal-inner"], children: hiddenCards.map((card, key) => /* @__PURE__ */ jsx(
|
|
2236
2249
|
Card2,
|
|
@@ -2331,7 +2344,7 @@ var ContactModule = ({
|
|
|
2331
2344
|
},
|
|
2332
2345
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2333
2346
|
);
|
|
2334
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
2347
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx48(ContactModule_module_default["contact-module"], className), children: [
|
|
2335
2348
|
blurred && /* @__PURE__ */ jsx(
|
|
2336
2349
|
"div",
|
|
2337
2350
|
{
|
|
@@ -2346,8 +2359,8 @@ var ContactModule = ({
|
|
|
2346
2359
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2347
2360
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2348
2361
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2349
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2350
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2362
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx48(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2363
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx48(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2351
2364
|
] }),
|
|
2352
2365
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2353
2366
|
Button,
|
|
@@ -2416,7 +2429,7 @@ var Footer = ({
|
|
|
2416
2429
|
disclaimer: FooterDisclaimer
|
|
2417
2430
|
});
|
|
2418
2431
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2419
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2432
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx48(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2420
2433
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2421
2434
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2422
2435
|
/* @__PURE__ */ jsx("div", { className: Footer_module_default.support, children: supportColumns.map((column, colIdx) => /* @__PURE__ */ jsx("div", { className: Footer_module_default["support-column"], children: column.map((group, i) => /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-group"], children: [
|
|
@@ -2445,7 +2458,7 @@ var Footer = ({
|
|
|
2445
2458
|
index
|
|
2446
2459
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2447
2460
|
) }) }),
|
|
2448
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2461
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx48(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2449
2462
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2450
2463
|
] }),
|
|
2451
2464
|
navigationLinks.length > 0 && /* @__PURE__ */ jsx("nav", { className: Footer_module_default["bottom-right"], children: /* @__PURE__ */ jsx("ul", { className: Footer_module_default["nav-list"], children: navigationLinks.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -2471,7 +2484,7 @@ var LogoBar_module_default = {
|
|
|
2471
2484
|
};
|
|
2472
2485
|
var LogoBar = ({ className, items }) => {
|
|
2473
2486
|
if (!items || items.length === 0) return null;
|
|
2474
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2487
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2475
2488
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2476
2489
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2477
2490
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2505,6 +2518,8 @@ var HeroBanner_module_default = {
|
|
|
2505
2518
|
backgroundImage: "HeroBanner_module_backgroundImage",
|
|
2506
2519
|
scrollDown: "HeroBanner_module_scrollDown",
|
|
2507
2520
|
arrow: "HeroBanner_module_arrow",
|
|
2521
|
+
internal: "HeroBanner_module_internal",
|
|
2522
|
+
external: "HeroBanner_module_external",
|
|
2508
2523
|
mainHeroBanner: "HeroBanner_module_mainHeroBanner",
|
|
2509
2524
|
bannerPodcast: "HeroBanner_module_bannerPodcast",
|
|
2510
2525
|
logoWrapper: "HeroBanner_module_logoWrapper",
|
|
@@ -2523,6 +2538,7 @@ var HeroBanner = ({
|
|
|
2523
2538
|
ctaLogo,
|
|
2524
2539
|
brands,
|
|
2525
2540
|
promoteToH1,
|
|
2541
|
+
type = "external",
|
|
2526
2542
|
children
|
|
2527
2543
|
}) => {
|
|
2528
2544
|
var _a, _b;
|
|
@@ -2543,7 +2559,7 @@ var HeroBanner = ({
|
|
|
2543
2559
|
});
|
|
2544
2560
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2545
2561
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2546
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2562
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx48(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2547
2563
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2548
2564
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2549
2565
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
@@ -2553,7 +2569,7 @@ var HeroBanner = ({
|
|
|
2553
2569
|
{
|
|
2554
2570
|
tag: "h2",
|
|
2555
2571
|
promoteToH1,
|
|
2556
|
-
className:
|
|
2572
|
+
className: clsx48(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2557
2573
|
children: titleNode
|
|
2558
2574
|
}
|
|
2559
2575
|
),
|
|
@@ -2562,7 +2578,7 @@ var HeroBanner = ({
|
|
|
2562
2578
|
{
|
|
2563
2579
|
tag: "div",
|
|
2564
2580
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2565
|
-
className:
|
|
2581
|
+
className: clsx48(HeroBanner_module_default.subtitle, "subheading"),
|
|
2566
2582
|
children: subtitleNode
|
|
2567
2583
|
}
|
|
2568
2584
|
)
|
|
@@ -2639,7 +2655,7 @@ var HeroBannerCarousel = ({
|
|
|
2639
2655
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2640
2656
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2641
2657
|
if (!items.length) return null;
|
|
2642
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2658
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2643
2659
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2644
2660
|
Swiper,
|
|
2645
2661
|
{
|
|
@@ -2686,7 +2702,7 @@ var HeroBannerCarousel = ({
|
|
|
2686
2702
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
2687
2703
|
"button",
|
|
2688
2704
|
{
|
|
2689
|
-
className:
|
|
2705
|
+
className: clsx48(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2690
2706
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2691
2707
|
"aria-label": `Go to slide ${index + 1}`
|
|
2692
2708
|
},
|
|
@@ -2766,7 +2782,7 @@ var AccordionItem = ({
|
|
|
2766
2782
|
return /* @__PURE__ */ jsxs(
|
|
2767
2783
|
"div",
|
|
2768
2784
|
{
|
|
2769
|
-
className:
|
|
2785
|
+
className: clsx48(
|
|
2770
2786
|
Accordion_module_default.accordionItem,
|
|
2771
2787
|
{
|
|
2772
2788
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2777,18 +2793,18 @@ var AccordionItem = ({
|
|
|
2777
2793
|
/* @__PURE__ */ jsxs(
|
|
2778
2794
|
"button",
|
|
2779
2795
|
{
|
|
2780
|
-
className:
|
|
2796
|
+
className: clsx48(Accordion_module_default.accordionHeader, {
|
|
2781
2797
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2782
2798
|
}),
|
|
2783
2799
|
onClick: handleToggle,
|
|
2784
2800
|
"aria-expanded": isOpen,
|
|
2785
2801
|
"aria-label": `Toggle ${title}`,
|
|
2786
2802
|
children: [
|
|
2787
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
2803
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx48("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2788
2804
|
/* @__PURE__ */ jsx(
|
|
2789
2805
|
"span",
|
|
2790
2806
|
{
|
|
2791
|
-
className:
|
|
2807
|
+
className: clsx48(Accordion_module_default.accordionChevron, {
|
|
2792
2808
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2793
2809
|
}),
|
|
2794
2810
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2840,7 +2856,7 @@ var Accordion = ({
|
|
|
2840
2856
|
if (items.length === 0) {
|
|
2841
2857
|
return null;
|
|
2842
2858
|
}
|
|
2843
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2859
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsx(
|
|
2844
2860
|
AccordionItem,
|
|
2845
2861
|
{
|
|
2846
2862
|
id: item.id,
|
|
@@ -2930,7 +2946,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2930
2946
|
};
|
|
2931
2947
|
})) || [];
|
|
2932
2948
|
}, [tabs]);
|
|
2933
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2949
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx48(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
2934
2950
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
2935
2951
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
2936
2952
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -2946,7 +2962,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2946
2962
|
},
|
|
2947
2963
|
index
|
|
2948
2964
|
)) }),
|
|
2949
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2965
|
+
/* @__PURE__ */ jsx("div", { className: clsx48(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2950
2966
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
2951
2967
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2952
2968
|
((_b = tabs[activeIndex].topContent) == null ? void 0 : _b.title) && /* @__PURE__ */ jsx("p", { className: InternalBrandsTab_module_default.topContentTitle, children: (_c = tabs[activeIndex].topContent) == null ? void 0 : _c.title }),
|
|
@@ -3044,22 +3060,22 @@ var MiniBanner = ({
|
|
|
3044
3060
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3045
3061
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3046
3062
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3047
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
3063
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx48(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3048
3064
|
((background == null ? void 0 : background.src) || ((_d = background == null ? void 0 : background.desktop) == null ? void 0 : _d.src) || ((_e = background == null ? void 0 : background.mobile) == null ? void 0 : _e.src)) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
3049
|
-
/* @__PURE__ */ jsx(Container, { className:
|
|
3065
|
+
/* @__PURE__ */ jsx(Container, { className: clsx48(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3050
3066
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3051
3067
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3052
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3068
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx48(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3053
3069
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3054
3070
|
goBackNode ? React70.cloneElement(goBackNode, {
|
|
3055
|
-
className:
|
|
3071
|
+
className: clsx48("back-button", MiniBanner_module_default["back-button"])
|
|
3056
3072
|
}) : null,
|
|
3057
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3073
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx48(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
|
|
3058
3074
|
] }),
|
|
3059
3075
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3060
3076
|
"div",
|
|
3061
3077
|
{
|
|
3062
|
-
className:
|
|
3078
|
+
className: clsx48(MiniBanner_module_default.title, {
|
|
3063
3079
|
subheading: isMiniBannerNoBG,
|
|
3064
3080
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3065
3081
|
h4: isMiniBannerTextLeft
|
|
@@ -3132,14 +3148,14 @@ var MiniSectionCta = ({
|
|
|
3132
3148
|
return /* @__PURE__ */ jsx(
|
|
3133
3149
|
"div",
|
|
3134
3150
|
{
|
|
3135
|
-
className:
|
|
3151
|
+
className: clsx48(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3136
3152
|
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
3137
3153
|
/* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
3138
3154
|
titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
3139
3155
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3140
3156
|
"div",
|
|
3141
3157
|
{
|
|
3142
|
-
className:
|
|
3158
|
+
className: clsx48(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3143
3159
|
children: subtitleNode
|
|
3144
3160
|
}
|
|
3145
3161
|
)
|
|
@@ -3201,6 +3217,7 @@ var Navigation_module_default = {
|
|
|
3201
3217
|
mobileSubItems: "Navigation_module_mobileSubItems",
|
|
3202
3218
|
mobileSubItemsOpen: "Navigation_module_mobileSubItemsOpen",
|
|
3203
3219
|
mobileSubItemsInner: "Navigation_module_mobileSubItemsInner",
|
|
3220
|
+
mobileSubLinkActive: "Navigation_module_mobileSubLinkActive",
|
|
3204
3221
|
mobileMenuCtas: "Navigation_module_mobileMenuCtas",
|
|
3205
3222
|
Navigation: "Navigation_module_Navigation",
|
|
3206
3223
|
mainBar: "Navigation_module_mainBar",
|
|
@@ -3235,8 +3252,8 @@ var Navigation_module_default = {
|
|
|
3235
3252
|
internalMobileMenu: "Navigation_module_internalMobileMenu",
|
|
3236
3253
|
internalMobileMenuOpen: "Navigation_module_internalMobileMenuOpen",
|
|
3237
3254
|
mobileHeader: "Navigation_module_mobileHeader",
|
|
3238
|
-
mobileClose: "Navigation_module_mobileClose",
|
|
3239
3255
|
mobileBrandBars: "Navigation_module_mobileBrandBars",
|
|
3256
|
+
mobileClose: "Navigation_module_mobileClose",
|
|
3240
3257
|
mobileItems: "Navigation_module_mobileItems",
|
|
3241
3258
|
internalMobileItem: "Navigation_module_internalMobileItem",
|
|
3242
3259
|
internalMobileItemLink: "Navigation_module_internalMobileItemLink",
|
|
@@ -3247,6 +3264,7 @@ var Navigation_module_default = {
|
|
|
3247
3264
|
internalMobileSubItemsOpen: "Navigation_module_internalMobileSubItemsOpen",
|
|
3248
3265
|
internalMobileSubItemsInner: "Navigation_module_internalMobileSubItemsInner",
|
|
3249
3266
|
internalMobileSubLink: "Navigation_module_internalMobileSubLink",
|
|
3267
|
+
internalMobileSubLinkActive: "Navigation_module_internalMobileSubLinkActive",
|
|
3250
3268
|
mobileFooter: "Navigation_module_mobileFooter"
|
|
3251
3269
|
};
|
|
3252
3270
|
var NavigationLogo = ({
|
|
@@ -3289,12 +3307,12 @@ var NavigationBrandBars = ({
|
|
|
3289
3307
|
return /* @__PURE__ */ jsx(
|
|
3290
3308
|
"div",
|
|
3291
3309
|
{
|
|
3292
|
-
className:
|
|
3310
|
+
className: clsx48(Navigation_module_default.brandBars, isUnfolded && Navigation_module_default.brandBarsUnfolded, className),
|
|
3293
3311
|
"aria-hidden": "true",
|
|
3294
3312
|
children: BRANDS.map((brand) => {
|
|
3295
3313
|
var _a;
|
|
3296
3314
|
const logo = brandLogos == null ? void 0 : brandLogos[brand.key];
|
|
3297
|
-
return /* @__PURE__ */ jsx("span", { className:
|
|
3315
|
+
return /* @__PURE__ */ jsx("span", { className: clsx48(Navigation_module_default.brandBar, brand.className), children: logo && /* @__PURE__ */ jsx("img", { className: Navigation_module_default.brandLogo, src: logo.src, alt: (_a = logo.alt) != null ? _a : brand.label }) }, brand.key);
|
|
3298
3316
|
})
|
|
3299
3317
|
}
|
|
3300
3318
|
);
|
|
@@ -3355,7 +3373,7 @@ var NavigationDesktop = ({
|
|
|
3355
3373
|
"a",
|
|
3356
3374
|
{
|
|
3357
3375
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3358
|
-
className:
|
|
3376
|
+
className: clsx48(Navigation_module_default.navTabLink, isCurrent2 && Navigation_module_default.navTabActive),
|
|
3359
3377
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3360
3378
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3361
3379
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3374,7 +3392,7 @@ var NavigationDesktop = ({
|
|
|
3374
3392
|
{
|
|
3375
3393
|
type: "button",
|
|
3376
3394
|
id: `${baseId}-trigger-${index}`,
|
|
3377
|
-
className:
|
|
3395
|
+
className: clsx48(
|
|
3378
3396
|
Navigation_module_default.navTabLink,
|
|
3379
3397
|
Navigation_module_default.navTabTrigger,
|
|
3380
3398
|
(isCurrent || isOpen) && Navigation_module_default.navTabActive,
|
|
@@ -3434,7 +3452,7 @@ var NavigationDropdown = ({
|
|
|
3434
3452
|
"div",
|
|
3435
3453
|
{
|
|
3436
3454
|
id: panelId,
|
|
3437
|
-
className:
|
|
3455
|
+
className: clsx48(Navigation_module_default.dropdownPanel, Navigation_module_default.dropdownPanelOpen),
|
|
3438
3456
|
onMouseEnter,
|
|
3439
3457
|
onMouseLeave,
|
|
3440
3458
|
children: /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.dropdownInner, children: [
|
|
@@ -3443,7 +3461,7 @@ var NavigationDropdown = ({
|
|
|
3443
3461
|
return /* @__PURE__ */ jsx(
|
|
3444
3462
|
"li",
|
|
3445
3463
|
{
|
|
3446
|
-
className:
|
|
3464
|
+
className: clsx48(Navigation_module_default.dropdownLinkItem, {
|
|
3447
3465
|
[Navigation_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3448
3466
|
}),
|
|
3449
3467
|
children: /* @__PURE__ */ jsx(
|
|
@@ -3480,25 +3498,26 @@ var NavigationMobile = ({
|
|
|
3480
3498
|
searchPlaceholder,
|
|
3481
3499
|
searchCta,
|
|
3482
3500
|
onSearch,
|
|
3501
|
+
brandLogos,
|
|
3483
3502
|
isOpen,
|
|
3484
3503
|
onClose,
|
|
3485
3504
|
isExternal = false,
|
|
3486
3505
|
loginCta,
|
|
3487
3506
|
rightButton
|
|
3488
3507
|
}) => {
|
|
3489
|
-
const [expanded, setExpanded] = useState(
|
|
3508
|
+
const [expanded, setExpanded] = useState(null);
|
|
3490
3509
|
const [supportsHover] = useState(
|
|
3491
3510
|
() => typeof window !== "undefined" && window.matchMedia("(hover: hover)").matches
|
|
3492
3511
|
);
|
|
3493
3512
|
const baseId = useId();
|
|
3494
3513
|
const toggleExpanded = (index) => {
|
|
3495
|
-
setExpanded((prev) => prev
|
|
3514
|
+
setExpanded((prev) => prev === index ? null : index);
|
|
3496
3515
|
};
|
|
3497
3516
|
const expandItem = (index) => {
|
|
3498
|
-
setExpanded(
|
|
3517
|
+
setExpanded(index);
|
|
3499
3518
|
};
|
|
3500
3519
|
const collapseItem = (index) => {
|
|
3501
|
-
setExpanded((prev) => prev
|
|
3520
|
+
setExpanded((prev) => prev === index ? null : prev);
|
|
3502
3521
|
};
|
|
3503
3522
|
const hoverFocusProps = (index) => !supportsHover ? {} : {
|
|
3504
3523
|
onMouseEnter: () => expandItem(index),
|
|
@@ -3514,7 +3533,7 @@ var NavigationMobile = ({
|
|
|
3514
3533
|
"div",
|
|
3515
3534
|
{
|
|
3516
3535
|
id,
|
|
3517
|
-
className:
|
|
3536
|
+
className: clsx48(Navigation_module_default.mobileMenu, isOpen && Navigation_module_default.mobileMenuOpen),
|
|
3518
3537
|
role: "dialog",
|
|
3519
3538
|
"aria-modal": "true",
|
|
3520
3539
|
"aria-label": "Navigation menu",
|
|
@@ -3545,7 +3564,7 @@ var NavigationMobile = ({
|
|
|
3545
3564
|
/* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileMenuItems, children: navItems == null ? void 0 : navItems.map((item, index) => {
|
|
3546
3565
|
var _a, _b;
|
|
3547
3566
|
const subMenuId = `${baseId}-submenu-${index}`;
|
|
3548
|
-
const isExpanded = expanded
|
|
3567
|
+
const isExpanded = expanded === index;
|
|
3549
3568
|
return item.type === "dropdown" ? /* @__PURE__ */ jsxs("li", __spreadProps(__spreadValues({ className: Navigation_module_default.mobileItem }, hoverFocusProps(index)), { children: [
|
|
3550
3569
|
/* @__PURE__ */ jsxs(
|
|
3551
3570
|
"button",
|
|
@@ -3560,7 +3579,7 @@ var NavigationMobile = ({
|
|
|
3560
3579
|
/* @__PURE__ */ jsx(
|
|
3561
3580
|
"span",
|
|
3562
3581
|
{
|
|
3563
|
-
className:
|
|
3582
|
+
className: clsx48(
|
|
3564
3583
|
Navigation_module_default.mobileItemChevron,
|
|
3565
3584
|
isExpanded && Navigation_module_default.mobileItemChevronOpen
|
|
3566
3585
|
),
|
|
@@ -3575,7 +3594,7 @@ var NavigationMobile = ({
|
|
|
3575
3594
|
"div",
|
|
3576
3595
|
{
|
|
3577
3596
|
id: subMenuId,
|
|
3578
|
-
className:
|
|
3597
|
+
className: clsx48(Navigation_module_default.mobileSubItems, isExpanded && Navigation_module_default.mobileSubItemsOpen),
|
|
3579
3598
|
children: /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3580
3599
|
(subItem, i) => {
|
|
3581
3600
|
var _a2, _b2;
|
|
@@ -3583,7 +3602,10 @@ var NavigationMobile = ({
|
|
|
3583
3602
|
"a",
|
|
3584
3603
|
{
|
|
3585
3604
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3586
|
-
className:
|
|
3605
|
+
className: clsx48(
|
|
3606
|
+
Navigation_module_default.mobileSubLink,
|
|
3607
|
+
subItem.isActive && Navigation_module_default.mobileSubLinkActive
|
|
3608
|
+
),
|
|
3587
3609
|
onClick: onClose,
|
|
3588
3610
|
children: (_b2 = subItem.cta) == null ? void 0 : _b2.label
|
|
3589
3611
|
}
|
|
@@ -3611,7 +3633,7 @@ var NavigationMobile = ({
|
|
|
3611
3633
|
"div",
|
|
3612
3634
|
{
|
|
3613
3635
|
id,
|
|
3614
|
-
className:
|
|
3636
|
+
className: clsx48(Navigation_module_default.internalMobileMenu, isOpen && Navigation_module_default.internalMobileMenuOpen),
|
|
3615
3637
|
role: "dialog",
|
|
3616
3638
|
"aria-modal": "true",
|
|
3617
3639
|
"aria-label": "Navigation menu",
|
|
@@ -3631,16 +3653,18 @@ var NavigationMobile = ({
|
|
|
3631
3653
|
}
|
|
3632
3654
|
)
|
|
3633
3655
|
] }),
|
|
3634
|
-
/* @__PURE__ */
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3656
|
+
/* @__PURE__ */ jsx(
|
|
3657
|
+
NavigationBrandBars,
|
|
3658
|
+
{
|
|
3659
|
+
brandLogos,
|
|
3660
|
+
unfolded: false,
|
|
3661
|
+
className: Navigation_module_default.mobileBrandBars
|
|
3662
|
+
}
|
|
3663
|
+
),
|
|
3640
3664
|
/* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileItems, children: navItems == null ? void 0 : navItems.map((item, index) => {
|
|
3641
3665
|
var _a, _b, _c, _d;
|
|
3642
3666
|
const subMenuId = `${baseId}-submenu-${index}`;
|
|
3643
|
-
const isExpanded = expanded
|
|
3667
|
+
const isExpanded = expanded === index;
|
|
3644
3668
|
if (item.type === "link") {
|
|
3645
3669
|
return /* @__PURE__ */ jsx("li", { className: Navigation_module_default.internalMobileItem, children: /* @__PURE__ */ jsx(
|
|
3646
3670
|
"a",
|
|
@@ -3668,7 +3692,7 @@ var NavigationMobile = ({
|
|
|
3668
3692
|
/* @__PURE__ */ jsx(
|
|
3669
3693
|
"span",
|
|
3670
3694
|
{
|
|
3671
|
-
className:
|
|
3695
|
+
className: clsx48(
|
|
3672
3696
|
Navigation_module_default.internalMobileItemChevron,
|
|
3673
3697
|
isExpanded && Navigation_module_default.internalMobileItemChevronOpen
|
|
3674
3698
|
),
|
|
@@ -3683,7 +3707,7 @@ var NavigationMobile = ({
|
|
|
3683
3707
|
"div",
|
|
3684
3708
|
{
|
|
3685
3709
|
id: subMenuId,
|
|
3686
|
-
className:
|
|
3710
|
+
className: clsx48(
|
|
3687
3711
|
Navigation_module_default.internalMobileSubItems,
|
|
3688
3712
|
isExpanded && Navigation_module_default.internalMobileSubItemsOpen
|
|
3689
3713
|
),
|
|
@@ -3694,7 +3718,10 @@ var NavigationMobile = ({
|
|
|
3694
3718
|
"a",
|
|
3695
3719
|
{
|
|
3696
3720
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
3697
|
-
className:
|
|
3721
|
+
className: clsx48(
|
|
3722
|
+
Navigation_module_default.internalMobileSubLink,
|
|
3723
|
+
sub.isActive && Navigation_module_default.internalMobileSubLinkActive
|
|
3724
|
+
),
|
|
3698
3725
|
target: ((_b2 = sub.cta) == null ? void 0 : _b2.isExternal) ? "_blank" : void 0,
|
|
3699
3726
|
rel: ((_c2 = sub.cta) == null ? void 0 : _c2.isExternal) ? "noopener noreferrer" : void 0,
|
|
3700
3727
|
onClick: onClose,
|
|
@@ -3829,7 +3856,7 @@ var Navigation2 = (props) => {
|
|
|
3829
3856
|
const logo = mainLogo ? /* @__PURE__ */ jsx(
|
|
3830
3857
|
Picture,
|
|
3831
3858
|
{
|
|
3832
|
-
className:
|
|
3859
|
+
className: clsx48(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
3833
3860
|
src: mainLogo,
|
|
3834
3861
|
alt: logoAlt
|
|
3835
3862
|
}
|
|
@@ -3839,7 +3866,7 @@ var Navigation2 = (props) => {
|
|
|
3839
3866
|
"nav",
|
|
3840
3867
|
{
|
|
3841
3868
|
ref: navRef,
|
|
3842
|
-
className:
|
|
3869
|
+
className: clsx48(
|
|
3843
3870
|
Navigation_module_default.Navigation,
|
|
3844
3871
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
3845
3872
|
// External-only transparent / hover treatment.
|
|
@@ -3859,7 +3886,7 @@ var Navigation2 = (props) => {
|
|
|
3859
3886
|
{
|
|
3860
3887
|
mainLogo,
|
|
3861
3888
|
homeCta,
|
|
3862
|
-
className:
|
|
3889
|
+
className: clsx48(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
3863
3890
|
}
|
|
3864
3891
|
) : logo,
|
|
3865
3892
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -3913,7 +3940,13 @@ var Navigation2 = (props) => {
|
|
|
3913
3940
|
)
|
|
3914
3941
|
] })
|
|
3915
3942
|
] }) }),
|
|
3916
|
-
!isExternal && /* @__PURE__ */ jsx(
|
|
3943
|
+
!isExternal && /* @__PURE__ */ jsx(
|
|
3944
|
+
NavigationBrandBars,
|
|
3945
|
+
{
|
|
3946
|
+
brandLogos,
|
|
3947
|
+
unfolded: showLogoUnfolded && !isMobileMenuOpen
|
|
3948
|
+
}
|
|
3949
|
+
),
|
|
3917
3950
|
dropdownOpen && (openItem == null ? void 0 : openItem.type) === "dropdown" && /* @__PURE__ */ jsx(
|
|
3918
3951
|
NavigationDropdown,
|
|
3919
3952
|
{
|
|
@@ -3942,6 +3975,7 @@ var Navigation2 = (props) => {
|
|
|
3942
3975
|
searchPlaceholder,
|
|
3943
3976
|
searchCta,
|
|
3944
3977
|
onSearch,
|
|
3978
|
+
brandLogos,
|
|
3945
3979
|
isOpen: isMobileMenuOpen,
|
|
3946
3980
|
onClose: () => setIsMobileMenuOpen(false),
|
|
3947
3981
|
isExternal,
|
|
@@ -3990,7 +4024,7 @@ var PracticePathCards = ({
|
|
|
3990
4024
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3991
4025
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
3992
4026
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
3993
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4027
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
3994
4028
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
3995
4029
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
3996
4030
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -4044,8 +4078,8 @@ var Teaser5050With3Text = ({
|
|
|
4044
4078
|
title: Teaser5050With3TextTitle
|
|
4045
4079
|
});
|
|
4046
4080
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4047
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4048
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4081
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
4082
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx48(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4049
4083
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4050
4084
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4051
4085
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4095,12 +4129,12 @@ var Teaser5050WithCta = ({
|
|
|
4095
4129
|
return /* @__PURE__ */ jsx(
|
|
4096
4130
|
"div",
|
|
4097
4131
|
{
|
|
4098
|
-
className:
|
|
4132
|
+
className: clsx48(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4099
4133
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
4100
4134
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4101
4135
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4102
4136
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4103
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4137
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx48(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
4104
4138
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
4105
4139
|
] }),
|
|
4106
4140
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
@@ -4152,7 +4186,7 @@ var Carousel = (_a) => {
|
|
|
4152
4186
|
},
|
|
4153
4187
|
role: "region",
|
|
4154
4188
|
"aria-label": ariaLabel,
|
|
4155
|
-
className:
|
|
4189
|
+
className: clsx48(Carousel_module_default.carousel, className),
|
|
4156
4190
|
spaceBetween: 0,
|
|
4157
4191
|
slidesPerView: "auto",
|
|
4158
4192
|
modules: [FreeMode, A11y],
|
|
@@ -4162,7 +4196,7 @@ var Carousel = (_a) => {
|
|
|
4162
4196
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
4163
4197
|
SwiperSlide,
|
|
4164
4198
|
{
|
|
4165
|
-
className:
|
|
4199
|
+
className: clsx48(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4166
4200
|
children: slide
|
|
4167
4201
|
},
|
|
4168
4202
|
index
|
|
@@ -4219,13 +4253,13 @@ var EventList = ({
|
|
|
4219
4253
|
return /* @__PURE__ */ jsx(
|
|
4220
4254
|
"div",
|
|
4221
4255
|
{
|
|
4222
|
-
className:
|
|
4256
|
+
className: clsx48("event-list-module", EventList_module_default["event-list-module"], className),
|
|
4223
4257
|
style: {
|
|
4224
4258
|
backgroundColor
|
|
4225
4259
|
},
|
|
4226
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4260
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx48(EventList_module_default["event-list-container"]), children: [
|
|
4227
4261
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4228
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
4262
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx48(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4229
4263
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
4230
4264
|
Button,
|
|
4231
4265
|
{
|
|
@@ -4243,7 +4277,7 @@ var EventList = ({
|
|
|
4243
4277
|
Carousel,
|
|
4244
4278
|
{
|
|
4245
4279
|
"aria-label": "Upcoming events",
|
|
4246
|
-
wrapperClass:
|
|
4280
|
+
wrapperClass: clsx48(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4247
4281
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4248
4282
|
spaceBetween: 16,
|
|
4249
4283
|
slides: items.map((item) => {
|
|
@@ -4251,7 +4285,7 @@ var EventList = ({
|
|
|
4251
4285
|
return /* @__PURE__ */ jsx(
|
|
4252
4286
|
UpcomingEventCard,
|
|
4253
4287
|
__spreadValues({
|
|
4254
|
-
className:
|
|
4288
|
+
className: clsx48(EventList_module_default["event-card"]),
|
|
4255
4289
|
direction: "vertical",
|
|
4256
4290
|
showImage: false
|
|
4257
4291
|
}, item),
|
|
@@ -4264,7 +4298,7 @@ var EventList = ({
|
|
|
4264
4298
|
"ul",
|
|
4265
4299
|
{
|
|
4266
4300
|
"aria-label": "Upcoming events",
|
|
4267
|
-
className:
|
|
4301
|
+
className: clsx48(
|
|
4268
4302
|
EventList_module_default["event-list-wrapper"],
|
|
4269
4303
|
EventList_module_default["horizontal"],
|
|
4270
4304
|
EventList_module_default[variant]
|
|
@@ -4274,11 +4308,11 @@ var EventList = ({
|
|
|
4274
4308
|
return /* @__PURE__ */ jsx(
|
|
4275
4309
|
"li",
|
|
4276
4310
|
{
|
|
4277
|
-
className:
|
|
4311
|
+
className: clsx48(EventList_module_default["card-list-item"]),
|
|
4278
4312
|
children: /* @__PURE__ */ jsx(
|
|
4279
4313
|
UpcomingEventCard,
|
|
4280
4314
|
__spreadProps(__spreadValues({}, item), {
|
|
4281
|
-
className:
|
|
4315
|
+
className: clsx48(EventList_module_default["card-item"]),
|
|
4282
4316
|
showImage: false,
|
|
4283
4317
|
direction: "vertical"
|
|
4284
4318
|
})
|
|
@@ -4293,7 +4327,7 @@ var EventList = ({
|
|
|
4293
4327
|
"ul",
|
|
4294
4328
|
{
|
|
4295
4329
|
"aria-label": "Upcoming events",
|
|
4296
|
-
className:
|
|
4330
|
+
className: clsx48(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4297
4331
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4298
4332
|
var _a2, _b, _c;
|
|
4299
4333
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(UpcomingEventCard, __spreadProps(__spreadValues({}, item), { direction: cardDirection })) }, (_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index);
|
|
@@ -4302,7 +4336,7 @@ var EventList = ({
|
|
|
4302
4336
|
)
|
|
4303
4337
|
] }),
|
|
4304
4338
|
!isNotEmpty && emptyNode ? React70.cloneElement(emptyNode, {
|
|
4305
|
-
className:
|
|
4339
|
+
className: clsx48("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4306
4340
|
}) : null
|
|
4307
4341
|
] })
|
|
4308
4342
|
}
|
|
@@ -4346,9 +4380,9 @@ var TextEvent = (props) => {
|
|
|
4346
4380
|
});
|
|
4347
4381
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4348
4382
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4349
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4383
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx48(TextEvent_module_default.textEvent, className), children: [
|
|
4350
4384
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4351
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4385
|
+
/* @__PURE__ */ jsx("div", { className: clsx48(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4352
4386
|
] });
|
|
4353
4387
|
};
|
|
4354
4388
|
|
|
@@ -4379,7 +4413,7 @@ var TextBody = (props) => {
|
|
|
4379
4413
|
});
|
|
4380
4414
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4381
4415
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
4382
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4416
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx48(TextBody_module_default.textBody, className), children: [
|
|
4383
4417
|
titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
4384
4418
|
/* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
4385
4419
|
] });
|
|
@@ -4422,7 +4456,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4422
4456
|
});
|
|
4423
4457
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4424
4458
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4425
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4459
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4426
4460
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4427
4461
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4428
4462
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4430,7 +4464,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4430
4464
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
4431
4465
|
"div",
|
|
4432
4466
|
{
|
|
4433
|
-
className:
|
|
4467
|
+
className: clsx48(
|
|
4434
4468
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4435
4469
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4436
4470
|
),
|
|
@@ -4542,7 +4576,7 @@ var ResourcesGridList = ({
|
|
|
4542
4576
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
4543
4577
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
4544
4578
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
4545
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
4579
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx48(ResourcesGridList_module_default.widget, className), children: [
|
|
4546
4580
|
/* @__PURE__ */ jsx(
|
|
4547
4581
|
FilterBar,
|
|
4548
4582
|
{
|
|
@@ -4561,7 +4595,7 @@ var ResourcesGridList = ({
|
|
|
4561
4595
|
isMobile && /* @__PURE__ */ jsxs(
|
|
4562
4596
|
"div",
|
|
4563
4597
|
{
|
|
4564
|
-
className:
|
|
4598
|
+
className: clsx48(
|
|
4565
4599
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
4566
4600
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
4567
4601
|
),
|
|
@@ -4572,7 +4606,7 @@ var ResourcesGridList = ({
|
|
|
4572
4606
|
return /* @__PURE__ */ jsxs(
|
|
4573
4607
|
"li",
|
|
4574
4608
|
{
|
|
4575
|
-
className:
|
|
4609
|
+
className: clsx48(
|
|
4576
4610
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
4577
4611
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
4578
4612
|
),
|
|
@@ -4617,7 +4651,7 @@ var ResourcesGridList = ({
|
|
|
4617
4651
|
onSelect: handleSelectCategory
|
|
4618
4652
|
}
|
|
4619
4653
|
),
|
|
4620
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4654
|
+
/* @__PURE__ */ jsx("div", { className: clsx48(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
4621
4655
|
] }),
|
|
4622
4656
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
4623
4657
|
Pagination,
|
|
@@ -4650,7 +4684,7 @@ var Grid = ({
|
|
|
4650
4684
|
return /* @__PURE__ */ jsx(
|
|
4651
4685
|
Component,
|
|
4652
4686
|
{
|
|
4653
|
-
className:
|
|
4687
|
+
className: clsx48("grid", Grid_module_default.grid, className),
|
|
4654
4688
|
role,
|
|
4655
4689
|
"aria-label": ariaLabel,
|
|
4656
4690
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4675,7 +4709,7 @@ var GridItem = ({
|
|
|
4675
4709
|
return /* @__PURE__ */ jsx(
|
|
4676
4710
|
Component,
|
|
4677
4711
|
{
|
|
4678
|
-
className:
|
|
4712
|
+
className: clsx48("grid-item", Grid_module_default["grid-item"], className),
|
|
4679
4713
|
role,
|
|
4680
4714
|
"aria-label": ariaLabel,
|
|
4681
4715
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4723,13 +4757,13 @@ var BlogCardGrid = ({
|
|
|
4723
4757
|
title: BlogCardGridTitle
|
|
4724
4758
|
});
|
|
4725
4759
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4726
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4727
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
4728
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className:
|
|
4729
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4760
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx48("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
4761
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx48("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
4762
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx48("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
4763
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx48("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4730
4764
|
Button,
|
|
4731
4765
|
{
|
|
4732
|
-
className:
|
|
4766
|
+
className: clsx48("cta", BlogCardGrid_module_default["cta"]),
|
|
4733
4767
|
variant: "nofillblack",
|
|
4734
4768
|
href: cta.url,
|
|
4735
4769
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4755,11 +4789,11 @@ var BlogCardGrid = ({
|
|
|
4755
4789
|
return /* @__PURE__ */ jsx(
|
|
4756
4790
|
"div",
|
|
4757
4791
|
{
|
|
4758
|
-
className:
|
|
4792
|
+
className: clsx48("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
4759
4793
|
style: {
|
|
4760
4794
|
backgroundColor
|
|
4761
4795
|
},
|
|
4762
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4796
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx48("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
4763
4797
|
}
|
|
4764
4798
|
);
|
|
4765
4799
|
};
|
|
@@ -4807,13 +4841,13 @@ var FeaturedNewsHighlights = ({
|
|
|
4807
4841
|
const sideCards = items.slice(1);
|
|
4808
4842
|
const isVariantHome = variant === "home";
|
|
4809
4843
|
const isBelowTablet = is("tablet", "below");
|
|
4810
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4811
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
4844
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx48("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
4845
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx48("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
4812
4846
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
4813
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4847
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx48("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4814
4848
|
Button,
|
|
4815
4849
|
{
|
|
4816
|
-
className:
|
|
4850
|
+
className: clsx48("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
4817
4851
|
variant: "nofillblack",
|
|
4818
4852
|
href: cta.url,
|
|
4819
4853
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4825,9 +4859,9 @@ var FeaturedNewsHighlights = ({
|
|
|
4825
4859
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
4826
4860
|
Carousel,
|
|
4827
4861
|
{
|
|
4828
|
-
className:
|
|
4862
|
+
className: clsx48("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
4829
4863
|
"aria-label": "featured news",
|
|
4830
|
-
wrapperClass:
|
|
4864
|
+
wrapperClass: clsx48(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
4831
4865
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
4832
4866
|
spaceBetween: 16,
|
|
4833
4867
|
slides: items.map((item, index) => {
|
|
@@ -4836,27 +4870,27 @@ var FeaturedNewsHighlights = ({
|
|
|
4836
4870
|
NewsCard,
|
|
4837
4871
|
__spreadProps(__spreadValues({}, item), {
|
|
4838
4872
|
direction: "vertical",
|
|
4839
|
-
className:
|
|
4873
|
+
className: clsx48("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
4840
4874
|
}),
|
|
4841
4875
|
(_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
|
|
4842
4876
|
);
|
|
4843
4877
|
})
|
|
4844
4878
|
}
|
|
4845
4879
|
),
|
|
4846
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
4880
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx48("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
4847
4881
|
featuredCard && /* @__PURE__ */ jsx(
|
|
4848
4882
|
NewsCard,
|
|
4849
4883
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
4850
|
-
className:
|
|
4884
|
+
className: clsx48("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
4851
4885
|
renderLink
|
|
4852
4886
|
})
|
|
4853
4887
|
),
|
|
4854
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
4888
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx48("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
|
|
4855
4889
|
var _a2;
|
|
4856
4890
|
return /* @__PURE__ */ jsx(
|
|
4857
4891
|
NewsCard,
|
|
4858
4892
|
__spreadProps(__spreadValues({}, card), {
|
|
4859
|
-
className:
|
|
4893
|
+
className: clsx48("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
4860
4894
|
direction: "horizontal",
|
|
4861
4895
|
renderLink
|
|
4862
4896
|
}),
|
|
@@ -4868,11 +4902,11 @@ var FeaturedNewsHighlights = ({
|
|
|
4868
4902
|
return /* @__PURE__ */ jsx(
|
|
4869
4903
|
"div",
|
|
4870
4904
|
{
|
|
4871
|
-
className:
|
|
4905
|
+
className: clsx48("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
4872
4906
|
style: {
|
|
4873
4907
|
backgroundColor
|
|
4874
4908
|
},
|
|
4875
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4909
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx48("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
4876
4910
|
}
|
|
4877
4911
|
);
|
|
4878
4912
|
};
|
|
@@ -4916,23 +4950,23 @@ var NewsCardList = ({
|
|
|
4916
4950
|
return /* @__PURE__ */ jsx(
|
|
4917
4951
|
"div",
|
|
4918
4952
|
{
|
|
4919
|
-
className:
|
|
4953
|
+
className: clsx48("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
4920
4954
|
style: {
|
|
4921
4955
|
backgroundColor
|
|
4922
4956
|
},
|
|
4923
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4924
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4957
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx48("container", NewsCardList_module_default["container"]), children: [
|
|
4958
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
4925
4959
|
/* @__PURE__ */ jsx(
|
|
4926
4960
|
Input,
|
|
4927
4961
|
__spreadValues({
|
|
4928
|
-
className:
|
|
4962
|
+
className: clsx48("search-input", NewsCardList_module_default["search-input"]),
|
|
4929
4963
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
4930
4964
|
placeholder: "Search News",
|
|
4931
4965
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
4932
4966
|
Button,
|
|
4933
4967
|
{
|
|
4934
4968
|
variant: "nofillblack",
|
|
4935
|
-
className:
|
|
4969
|
+
className: clsx48(NewsCardList_module_default["end-action-button"]),
|
|
4936
4970
|
"aria-label": "Search",
|
|
4937
4971
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
4938
4972
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -4944,7 +4978,7 @@ var NewsCardList = ({
|
|
|
4944
4978
|
} : void 0
|
|
4945
4979
|
}, searchInputProps)
|
|
4946
4980
|
),
|
|
4947
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4981
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
4948
4982
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
4949
4983
|
FeaturedNewsHighlights2,
|
|
4950
4984
|
{
|
|
@@ -4958,7 +4992,7 @@ var NewsCardList = ({
|
|
|
4958
4992
|
] })
|
|
4959
4993
|
] }),
|
|
4960
4994
|
paginationNode ? React70.cloneElement(paginationNode, {
|
|
4961
|
-
className:
|
|
4995
|
+
className: clsx48("pagination", NewsCardList_module_default["pagination"])
|
|
4962
4996
|
}) : null
|
|
4963
4997
|
] })
|
|
4964
4998
|
}
|
|
@@ -5003,15 +5037,15 @@ var BlogPost = ({
|
|
|
5003
5037
|
});
|
|
5004
5038
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5005
5039
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5006
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5007
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5040
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx48("container", BlogPost_module_default["container"]), children: [
|
|
5041
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("header", BlogPost_module_default["header"]), children: [
|
|
5008
5042
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5009
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5043
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx48("image", BlogPost_module_default["image"]) }))
|
|
5010
5044
|
] }),
|
|
5011
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5012
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5045
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("content", BlogPost_module_default["content"]), children: [
|
|
5046
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5013
5047
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
5014
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
5048
|
+
/* @__PURE__ */ jsxs("span", { className: clsx48("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5015
5049
|
"Published ",
|
|
5016
5050
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
5017
5051
|
] })
|
|
@@ -5024,7 +5058,7 @@ var BlogPost = ({
|
|
|
5024
5058
|
title: "More News",
|
|
5025
5059
|
items: relatedArticles,
|
|
5026
5060
|
hasContainer: false,
|
|
5027
|
-
className:
|
|
5061
|
+
className: clsx48("related-articles", BlogPost_module_default["related-articles"])
|
|
5028
5062
|
}
|
|
5029
5063
|
)
|
|
5030
5064
|
] }) });
|
|
@@ -5072,22 +5106,22 @@ var BlogSearchResultsList = ({
|
|
|
5072
5106
|
});
|
|
5073
5107
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5074
5108
|
const paginationNode = slots.pagination;
|
|
5075
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5076
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5077
|
-
className:
|
|
5109
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx48("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
5110
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx48("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React70.isValidElement(searchNode) ? React70.cloneElement(searchNode, {
|
|
5111
|
+
className: clsx48("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5078
5112
|
}) : null,
|
|
5079
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5113
|
+
/* @__PURE__ */ jsxs("div", { className: clsx48("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5080
5114
|
/* @__PURE__ */ jsx(
|
|
5081
5115
|
Input,
|
|
5082
5116
|
__spreadValues({
|
|
5083
|
-
className:
|
|
5117
|
+
className: clsx48("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5084
5118
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5085
5119
|
placeholder: "Search News",
|
|
5086
5120
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
5087
5121
|
Button,
|
|
5088
5122
|
{
|
|
5089
5123
|
variant: "nofillblack",
|
|
5090
|
-
className:
|
|
5124
|
+
className: clsx48(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5091
5125
|
"aria-label": "Search",
|
|
5092
5126
|
onClick: () => onSearchSubmit(searchValue),
|
|
5093
5127
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5102,7 +5136,7 @@ var BlogSearchResultsList = ({
|
|
|
5102
5136
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5103
5137
|
] }),
|
|
5104
5138
|
paginationNode ? React70.cloneElement(paginationNode, {
|
|
5105
|
-
className:
|
|
5139
|
+
className: clsx48("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5106
5140
|
}) : null
|
|
5107
5141
|
] }) });
|
|
5108
5142
|
};
|
|
@@ -5143,11 +5177,11 @@ var GlobalSearchResultsList = ({
|
|
|
5143
5177
|
});
|
|
5144
5178
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5145
5179
|
const paginationNode = slots.pagination;
|
|
5146
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5147
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5148
|
-
className:
|
|
5180
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx48("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
5181
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx48("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React70.isValidElement(searchNode) ? React70.cloneElement(searchNode, {
|
|
5182
|
+
className: clsx48("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5149
5183
|
}) : null,
|
|
5150
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5184
|
+
/* @__PURE__ */ jsx("div", { className: clsx48("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5151
5185
|
var _a2;
|
|
5152
5186
|
return /* @__PURE__ */ jsx(
|
|
5153
5187
|
GridItem,
|
|
@@ -5168,7 +5202,7 @@ var GlobalSearchResultsList = ({
|
|
|
5168
5202
|
);
|
|
5169
5203
|
}) }) }),
|
|
5170
5204
|
paginationNode ? React70.cloneElement(paginationNode, {
|
|
5171
|
-
className:
|
|
5205
|
+
className: clsx48("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5172
5206
|
}) : null
|
|
5173
5207
|
] }) });
|
|
5174
5208
|
};
|
|
@@ -5226,7 +5260,7 @@ var TextCenterWithMedia = ({
|
|
|
5226
5260
|
};
|
|
5227
5261
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5228
5262
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5229
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
5263
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx48(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5230
5264
|
/* @__PURE__ */ jsxs(Container, { children: [
|
|
5231
5265
|
titleNode && /* @__PURE__ */ jsx("h2", { className: "h2", children: titleNode }),
|
|
5232
5266
|
/* @__PURE__ */ jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5289,7 +5323,7 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
|
|
|
5289
5323
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
5290
5324
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
5291
5325
|
if (!items.length) return null;
|
|
5292
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5326
|
+
return /* @__PURE__ */ jsx("div", { className: clsx48(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
|
|
5293
5327
|
title && /* @__PURE__ */ jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5294
5328
|
/* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
5295
5329
|
Swiper,
|
|
@@ -5331,6 +5365,36 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
|
|
|
5331
5365
|
)
|
|
5332
5366
|
] }) });
|
|
5333
5367
|
};
|
|
5368
|
+
|
|
5369
|
+
// src/widgets/PageLoader/PageLoader.module.scss
|
|
5370
|
+
var PageLoader_module_default = {
|
|
5371
|
+
container: "PageLoader_module_container",
|
|
5372
|
+
wrapper: "PageLoader_module_wrapper",
|
|
5373
|
+
"image-logo": "PageLoader_module_image-logo",
|
|
5374
|
+
"loader-wrapper": "PageLoader_module_loader-wrapper",
|
|
5375
|
+
"loader-text": "PageLoader_module_loader-text"
|
|
5376
|
+
};
|
|
5377
|
+
var PageLoaderLogo = ({ children }) => {
|
|
5378
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
5379
|
+
};
|
|
5380
|
+
var PageLoader = ({ className, children }) => {
|
|
5381
|
+
const slots = resolveCompoundSlots(children, {
|
|
5382
|
+
logo: PageLoaderLogo
|
|
5383
|
+
});
|
|
5384
|
+
const logoNode = slots.logo;
|
|
5385
|
+
return /* @__PURE__ */ jsx(Container, { className: clsx48(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxs("div", { className: clsx48("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
5386
|
+
logoNode ? React70.cloneElement(logoNode, {
|
|
5387
|
+
className: clsx48("image-logo", PageLoader_module_default["image-logo"])
|
|
5388
|
+
}) : null,
|
|
5389
|
+
/* @__PURE__ */ jsx("div", { className: clsx48("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsx(Loader, {}) }),
|
|
5390
|
+
/* @__PURE__ */ jsx("span", { className: clsx48("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5391
|
+
] }) });
|
|
5392
|
+
};
|
|
5393
|
+
|
|
5394
|
+
// src/widgets/PageLoader/index.ts
|
|
5395
|
+
var PageLoader2 = Object.assign(PageLoader, {
|
|
5396
|
+
Logo: PageLoaderLogo
|
|
5397
|
+
});
|
|
5334
5398
|
function useIntersectionObserver({
|
|
5335
5399
|
animateOnce = false,
|
|
5336
5400
|
options = {}
|
|
@@ -5360,6 +5424,6 @@ function useIntersectionObserver({
|
|
|
5360
5424
|
return { observeRef, isVisible };
|
|
5361
5425
|
}
|
|
5362
5426
|
|
|
5363
|
-
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, GlobalSearchResultsList2 as GlobalSearchResultsList, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Navigation2 as Navigation, NewsCard, NewsCardList2 as NewsCardList, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, QuoteSectionBlock, ResourceCardItem, ResourcesGridList, Search, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextCenterWithMedia2 as TextCenterWithMedia, TextEvent2 as TextEvent, UpcomingEventCard, UserMenu, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
5427
|
+
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, GlobalSearchResultsList2 as GlobalSearchResultsList, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, Loader, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Navigation2 as Navigation, NewsCard, NewsCardList2 as NewsCardList, PageLoader2 as PageLoader, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, QuoteSectionBlock, ResourceCardItem, ResourcesGridList, Search, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextCenterWithMedia2 as TextCenterWithMedia, TextEvent2 as TextEvent, UpcomingEventCard, UserMenu, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
5364
5428
|
//# sourceMappingURL=index.mjs.map
|
|
5365
5429
|
//# sourceMappingURL=index.mjs.map
|