@digital-b2c/coreui-kit 0.16.2 → 0.17.0
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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +347 -296
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +85 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +58 -29
- package/dist/index.d.ts +58 -29
- package/dist/index.mjs +259 -210
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -101
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx49 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import
|
|
3
|
+
import React71, { forwardRef, useId, useRef, useState, useCallback, useMemo, useEffect, Children, isValidElement, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import gsap$1, { gsap } from 'gsap';
|
|
5
5
|
import { useGSAP } from '@gsap/react';
|
|
6
6
|
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
@@ -59,7 +59,7 @@ var Picture = (_a) => {
|
|
|
59
59
|
__spreadValues({
|
|
60
60
|
src: desktop.src,
|
|
61
61
|
alt: desktop.alt,
|
|
62
|
-
className:
|
|
62
|
+
className: clsx49(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: clsx49(className, Picture_module_default["image-mobile"])
|
|
71
71
|
}, rest)
|
|
72
72
|
)
|
|
73
73
|
] });
|
|
@@ -312,6 +312,8 @@ var SvgIconChevronLeftBlack = (props) => /* @__PURE__ */ jsx("svg", __spreadProp
|
|
|
312
312
|
var icon_chevron_left_black_default = SvgIconChevronLeftBlack;
|
|
313
313
|
var SvgIconChevronRightBlack = (props) => /* @__PURE__ */ jsx("svg", __spreadProps(__spreadValues({ width: 44, height: 44, viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ jsx("path", { d: "M28.6806 23.1676L21.1594 15.6468L19.5383 17.3142L25.3922 23.1676L19.5383 29.021L21.1594 30.6883L28.6806 23.1676ZM40.7 23.1643C40.7 25.586 40.2381 27.8659 39.3142 30.0038C38.3904 32.1417 37.1315 34.0081 35.5376 35.6029C33.9435 37.1974 32.0779 38.4569 29.9408 39.3813C27.8038 40.3055 25.5246 40.7676 23.1032 40.7676C20.6689 40.7676 18.3807 40.3057 16.2388 39.3818C14.0968 38.458 12.2337 37.1991 10.6494 35.6052C9.06508 34.011 7.81069 32.1454 6.88623 30.0084C5.96208 27.8714 5.5 25.5922 5.5 23.1708C5.5 20.7365 5.96192 18.4483 6.88577 16.3064C7.80961 14.1644 9.06338 12.3013 10.6471 10.717C12.2308 9.13266 14.0931 7.87827 16.2341 6.95381C18.3752 6.02966 20.6627 5.56758 23.0968 5.56758C25.5185 5.56758 27.7983 6.0295 29.9362 6.95335C32.0741 7.87719 33.9405 9.13096 35.5353 10.7147C37.1298 12.2983 38.3893 14.1607 39.3138 16.3017C40.2379 18.4427 40.7 20.7303 40.7 23.1643Z", fill: "#080808" }) }));
|
|
314
314
|
var icon_chevron_right_black_default = SvgIconChevronRightBlack;
|
|
315
|
+
var SvgIconChevronRight = (props) => /* @__PURE__ */ jsx("svg", __spreadProps(__spreadValues({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ jsx("path", { d: "M9 6L15 12L9 18", stroke: "#080808", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
316
|
+
var icon_chevron_right_default = SvgIconChevronRight;
|
|
315
317
|
var SvgIconPdf = (props) => /* @__PURE__ */ jsxs("svg", __spreadProps(__spreadValues({ width: 33, height: 32, viewBox: "0 0 33 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: [
|
|
316
318
|
/* @__PURE__ */ jsx("g", { clipPath: "url(#clip0_7870_13608)", children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.875 8.92428V27.7644C28.875 28.8164 28.4404 29.8252 27.6668 30.5691C26.8932 31.3129 25.844 31.7308 24.75 31.7308H22.6875V29.7476H24.75C25.297 29.7476 25.8216 29.5387 26.2084 29.1667C26.5952 28.7948 26.8125 28.2904 26.8125 27.7644V8.92428H22.6875C21.867 8.92428 21.0801 8.61087 20.4999 8.05299C19.9197 7.49512 19.5938 6.73847 19.5938 5.94952V1.98317H8.25C7.70299 1.98317 7.17839 2.19211 6.79159 2.56403C6.4048 2.93595 6.1875 3.44038 6.1875 3.96635V21.8149H4.125V3.96635C4.125 2.91441 4.5596 1.90555 5.33318 1.16172C6.10677 0.417882 7.15598 0 8.25 0L19.5938 0L28.875 8.92428ZM3.3 23.5006H0V31.4313H1.63144V28.7699H3.28762C3.87887 28.7699 4.38212 28.6555 4.79737 28.4268C5.21675 28.1954 5.53506 27.8821 5.75231 27.4868C5.97875 27.0732 6.09297 26.6114 6.08438 26.1442C6.08438 25.6484 5.97575 25.2008 5.7585 24.8016C5.54086 24.4069 5.21207 24.079 4.80975 23.8556C4.39725 23.6176 3.894 23.4993 3.3 23.5006ZM4.42406 26.1442C4.43107 26.4054 4.37085 26.6643 4.24875 26.8978C4.13927 27.1012 3.96809 27.2679 3.75788 27.3757C3.51761 27.4895 3.25216 27.5453 2.98444 27.5383H1.62525V24.75H2.9865C3.43612 24.75 3.78813 24.8697 4.0425 25.109C4.29688 25.3509 4.42406 25.696 4.42406 26.1442ZM6.93412 23.5006V31.4313H9.94538C10.7731 31.4313 11.4593 31.2746 12.0038 30.9613C12.5548 30.6443 12.985 30.1652 13.2309 29.5949C13.5004 28.9999 13.6352 28.2834 13.6352 27.4451C13.6352 26.6122 13.5004 25.9016 13.2309 25.3132C12.9874 24.7497 12.5614 24.2768 12.0161 23.9647C11.4716 23.6553 10.7807 23.5006 9.94331 23.5006H6.93412ZM8.56556 24.7797H9.72675C10.2369 24.7797 10.6556 24.8802 10.9828 25.0812C11.3221 25.2964 11.5786 25.6127 11.7129 25.9816C11.8752 26.3808 11.9563 26.8786 11.9563 27.4749C11.9627 27.8704 11.9156 28.2651 11.8161 28.6489C11.7449 28.9524 11.6071 29.2378 11.4118 29.4858C11.2324 29.7082 10.9946 29.8807 10.7229 29.9856C10.4046 30.1 10.0665 30.1552 9.72675 30.1482H8.56556V24.7797ZM16.2855 28.2761V31.4313H14.6561V23.5006H19.9114V24.7956H16.2855V27.0108H19.5979V28.2761H16.2855Z", fill: "#949494" }) }),
|
|
317
319
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_7870_13608", children: /* @__PURE__ */ jsx("rect", { width: 33, height: 31.7308, fill: "white" }) }) })
|
|
@@ -390,6 +392,7 @@ var svgs = {
|
|
|
390
392
|
list: icon_list_default,
|
|
391
393
|
chevronLeftBlack: icon_chevron_left_black_default,
|
|
392
394
|
chevronRightBlack: icon_chevron_right_black_default,
|
|
395
|
+
chevronRight: icon_chevron_right_default,
|
|
393
396
|
/* Dropdown */
|
|
394
397
|
chevronDefault: icon_chevron_default_default,
|
|
395
398
|
chevronHovered: icon_chevron_hovered_default,
|
|
@@ -403,7 +406,7 @@ var svgs = {
|
|
|
403
406
|
xWhite: icon_x_white_default,
|
|
404
407
|
user: icon_user_default
|
|
405
408
|
};
|
|
406
|
-
var Icon =
|
|
409
|
+
var Icon = React71.memo(
|
|
407
410
|
(_a) => {
|
|
408
411
|
var _b = _a, { type, size } = _b, props = __objRest(_b, ["type", "size"]);
|
|
409
412
|
if (type) {
|
|
@@ -432,6 +435,7 @@ var Button_module_default = {
|
|
|
432
435
|
shiny: "Button_module_shiny",
|
|
433
436
|
rotateGradient: "Button_module_rotateGradient",
|
|
434
437
|
tabbutton: "Button_module_tabbutton",
|
|
438
|
+
textmenu: "Button_module_textmenu",
|
|
435
439
|
icon: "Button_module_icon",
|
|
436
440
|
logo: "Button_module_logo"
|
|
437
441
|
};
|
|
@@ -461,7 +465,7 @@ var Button = (_a) => {
|
|
|
461
465
|
]);
|
|
462
466
|
const isLink = !!href;
|
|
463
467
|
const props = __spreadValues(__spreadValues({
|
|
464
|
-
className:
|
|
468
|
+
className: clsx49(
|
|
465
469
|
Button_module_default.button,
|
|
466
470
|
variant ? Button_module_default[variant] : null,
|
|
467
471
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -693,7 +697,7 @@ var BrandsStrip = ({
|
|
|
693
697
|
"div",
|
|
694
698
|
{
|
|
695
699
|
ref: containerRef,
|
|
696
|
-
className:
|
|
700
|
+
className: clsx49(
|
|
697
701
|
BrandsStrip_module_default.brandsStrip,
|
|
698
702
|
BrandsStrip_module_default[variant],
|
|
699
703
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -702,13 +706,13 @@ var BrandsStrip = ({
|
|
|
702
706
|
onMouseEnter: handleMouseEnter,
|
|
703
707
|
onMouseLeave: handleMouseLeave,
|
|
704
708
|
children: [
|
|
705
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
706
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className:
|
|
709
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
710
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx49("body", BrandsStrip_module_default.title), children: title }),
|
|
707
711
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
708
712
|
"div",
|
|
709
713
|
{
|
|
710
714
|
ref: marqueeRef,
|
|
711
|
-
className:
|
|
715
|
+
className: clsx49(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
712
716
|
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
717
|
}
|
|
714
718
|
)
|
|
@@ -755,7 +759,7 @@ var Container_module_default = {
|
|
|
755
759
|
var Container = forwardRef(
|
|
756
760
|
(_a, ref) => {
|
|
757
761
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
758
|
-
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
762
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx49(Container_module_default.container, className) }, props), { children }));
|
|
759
763
|
}
|
|
760
764
|
);
|
|
761
765
|
Container.displayName = "Container";
|
|
@@ -796,14 +800,14 @@ var Card = ({
|
|
|
796
800
|
ConditionalWrapper,
|
|
797
801
|
__spreadProps(__spreadValues({
|
|
798
802
|
ref,
|
|
799
|
-
className:
|
|
803
|
+
className: clsx49(Card_module_default.card, Card_module_default[variant], className),
|
|
800
804
|
wrapper: Anchor,
|
|
801
805
|
fallback: "div",
|
|
802
806
|
condition: isLink
|
|
803
807
|
}, href ? { href, isExternal } : {}), {
|
|
804
808
|
children: [
|
|
805
809
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
806
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
810
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx49(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx49(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
807
811
|
isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
808
812
|
] }),
|
|
809
813
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -838,10 +842,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
838
842
|
title: CountingCardTitle
|
|
839
843
|
});
|
|
840
844
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
841
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
845
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx49(CountingCard_module_default["counting-card"], className), children: [
|
|
842
846
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
843
847
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
844
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
848
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx49(CountingCard_module_default.count, "h1"), children: count })
|
|
845
849
|
] }),
|
|
846
850
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
847
851
|
] });
|
|
@@ -927,7 +931,7 @@ function FilterBar({
|
|
|
927
931
|
"button",
|
|
928
932
|
{
|
|
929
933
|
type: "button",
|
|
930
|
-
className:
|
|
934
|
+
className: clsx49(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
931
935
|
onClick: () => onViewChange("grid"),
|
|
932
936
|
"aria-pressed": view === "grid",
|
|
933
937
|
children: [
|
|
@@ -940,7 +944,7 @@ function FilterBar({
|
|
|
940
944
|
"button",
|
|
941
945
|
{
|
|
942
946
|
type: "button",
|
|
943
|
-
className:
|
|
947
|
+
className: clsx49(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
944
948
|
onClick: () => onViewChange("list"),
|
|
945
949
|
"aria-pressed": view === "list",
|
|
946
950
|
children: [
|
|
@@ -954,7 +958,7 @@ function FilterBar({
|
|
|
954
958
|
/* @__PURE__ */ jsxs(
|
|
955
959
|
"div",
|
|
956
960
|
{
|
|
957
|
-
className:
|
|
961
|
+
className: clsx49(
|
|
958
962
|
FilterBar_module_default.dropdownWrapper,
|
|
959
963
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
960
964
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -965,7 +969,7 @@ function FilterBar({
|
|
|
965
969
|
"button",
|
|
966
970
|
{
|
|
967
971
|
type: "button",
|
|
968
|
-
className:
|
|
972
|
+
className: clsx49(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
969
973
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
970
974
|
"aria-expanded": openDropdown === "filter",
|
|
971
975
|
children: [
|
|
@@ -980,7 +984,7 @@ function FilterBar({
|
|
|
980
984
|
type: "button",
|
|
981
985
|
role: "option",
|
|
982
986
|
"aria-selected": filterValue === opt.value,
|
|
983
|
-
className:
|
|
987
|
+
className: clsx49(
|
|
984
988
|
FilterBar_module_default.dropdownOption,
|
|
985
989
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
986
990
|
),
|
|
@@ -1001,7 +1005,7 @@ function FilterBar({
|
|
|
1001
1005
|
/* @__PURE__ */ jsxs(
|
|
1002
1006
|
"div",
|
|
1003
1007
|
{
|
|
1004
|
-
className:
|
|
1008
|
+
className: clsx49(
|
|
1005
1009
|
FilterBar_module_default.dropdownWrapper,
|
|
1006
1010
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1007
1011
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1027,7 +1031,7 @@ function FilterBar({
|
|
|
1027
1031
|
type: "button",
|
|
1028
1032
|
role: "option",
|
|
1029
1033
|
"aria-selected": sortValue === opt.value,
|
|
1030
|
-
className:
|
|
1034
|
+
className: clsx49(
|
|
1031
1035
|
FilterBar_module_default.dropdownOption,
|
|
1032
1036
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1033
1037
|
),
|
|
@@ -1045,7 +1049,7 @@ function FilterBar({
|
|
|
1045
1049
|
searchState !== "closed" ? /* @__PURE__ */ jsxs(
|
|
1046
1050
|
"div",
|
|
1047
1051
|
{
|
|
1048
|
-
className:
|
|
1052
|
+
className: clsx49(
|
|
1049
1053
|
FilterBar_module_default.searchExpanded,
|
|
1050
1054
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1051
1055
|
),
|
|
@@ -1127,9 +1131,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1127
1131
|
});
|
|
1128
1132
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1129
1133
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1130
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1134
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx49(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1131
1135
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1132
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
1136
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx49(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1133
1137
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
1134
1138
|
] }),
|
|
1135
1139
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1226,7 +1230,7 @@ var Pagination = ({
|
|
|
1226
1230
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1227
1231
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1228
1232
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1229
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1233
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx49(Pagination_module_default.pagination, className), children: [
|
|
1230
1234
|
!disableArrows && (renderLink ? renderLink({
|
|
1231
1235
|
page: prevPage,
|
|
1232
1236
|
className: Pagination_module_default.prev,
|
|
@@ -1247,7 +1251,7 @@ var Pagination = ({
|
|
|
1247
1251
|
return /* @__PURE__ */ jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1248
1252
|
}
|
|
1249
1253
|
const page = item;
|
|
1250
|
-
const pageClassName =
|
|
1254
|
+
const pageClassName = clsx49(Pagination_module_default.page, {
|
|
1251
1255
|
[Pagination_module_default.active]: activePage === page,
|
|
1252
1256
|
[Pagination_module_default.number]: hasNumber,
|
|
1253
1257
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
@@ -1299,7 +1303,7 @@ var PracticeCard_module_default = {
|
|
|
1299
1303
|
};
|
|
1300
1304
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1301
1305
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1302
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1306
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
1303
1307
|
ConditionalWrapper,
|
|
1304
1308
|
__spreadProps(__spreadValues({
|
|
1305
1309
|
className: PracticeCard_module_default.wrapper,
|
|
@@ -1310,7 +1314,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1310
1314
|
children: [
|
|
1311
1315
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1312
1316
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1313
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
1317
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx49(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1314
1318
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1315
1319
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1316
1320
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1354,15 +1358,15 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1354
1358
|
"aria-disabled": isRestricted
|
|
1355
1359
|
} : null;
|
|
1356
1360
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1357
|
-
className:
|
|
1361
|
+
className: clsx49(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1358
1362
|
children: null
|
|
1359
1363
|
})) : /* @__PURE__ */ jsx(
|
|
1360
1364
|
"a",
|
|
1361
1365
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1362
|
-
className:
|
|
1366
|
+
className: clsx49(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1363
1367
|
})
|
|
1364
1368
|
) : null;
|
|
1365
|
-
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className:
|
|
1369
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx49(ResourceCardItem_module_default.cardLink), children }));
|
|
1366
1370
|
function getIcon() {
|
|
1367
1371
|
switch (item.type) {
|
|
1368
1372
|
case "pdf":
|
|
@@ -1379,7 +1383,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1379
1383
|
return /* @__PURE__ */ jsxs(
|
|
1380
1384
|
"article",
|
|
1381
1385
|
{
|
|
1382
|
-
className:
|
|
1386
|
+
className: clsx49(
|
|
1383
1387
|
ResourceCardItem_module_default.cardGrid,
|
|
1384
1388
|
isGlobalSearchVariant && ResourceCardItem_module_default[variant],
|
|
1385
1389
|
isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
|
|
@@ -1463,7 +1467,7 @@ var Sidebar = ({
|
|
|
1463
1467
|
return /* @__PURE__ */ jsxs(
|
|
1464
1468
|
"li",
|
|
1465
1469
|
{
|
|
1466
|
-
className:
|
|
1470
|
+
className: clsx49(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1467
1471
|
role: "button",
|
|
1468
1472
|
tabIndex: 0,
|
|
1469
1473
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1521,7 +1525,7 @@ var UpcomingEventCard = ({
|
|
|
1521
1525
|
return /* @__PURE__ */ jsxs(
|
|
1522
1526
|
"article",
|
|
1523
1527
|
{
|
|
1524
|
-
className:
|
|
1528
|
+
className: clsx49(
|
|
1525
1529
|
"card",
|
|
1526
1530
|
UpcomingEventCard_module_default["event-card"],
|
|
1527
1531
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1529,26 +1533,26 @@ var UpcomingEventCard = ({
|
|
|
1529
1533
|
className
|
|
1530
1534
|
),
|
|
1531
1535
|
children: [
|
|
1532
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1533
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1536
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1537
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx49("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1534
1538
|
/* @__PURE__ */ jsxs(
|
|
1535
1539
|
"div",
|
|
1536
1540
|
{
|
|
1537
|
-
className:
|
|
1541
|
+
className: clsx49(
|
|
1538
1542
|
"card-text-content",
|
|
1539
1543
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1540
1544
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1541
1545
|
),
|
|
1542
1546
|
children: [
|
|
1543
1547
|
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1544
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1548
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx49("card-text-title"), children: title }),
|
|
1545
1549
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1546
|
-
description && /* @__PURE__ */ jsx("div", { className:
|
|
1547
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1550
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx49("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1551
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx49("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1548
1552
|
Button,
|
|
1549
1553
|
{
|
|
1550
1554
|
variant: "secondary",
|
|
1551
|
-
className:
|
|
1555
|
+
className: clsx49(
|
|
1552
1556
|
"card-cta",
|
|
1553
1557
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1554
1558
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1567,12 +1571,12 @@ var UpcomingEventCard = ({
|
|
|
1567
1571
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1568
1572
|
"div",
|
|
1569
1573
|
{
|
|
1570
|
-
className:
|
|
1574
|
+
className: clsx49("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1571
1575
|
children: /* @__PURE__ */ jsx(
|
|
1572
1576
|
Button,
|
|
1573
1577
|
{
|
|
1574
1578
|
variant: "secondary",
|
|
1575
|
-
className:
|
|
1579
|
+
className: clsx49("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1576
1580
|
fullWidth: isBelowMobile,
|
|
1577
1581
|
href: cta.url,
|
|
1578
1582
|
icon: cta.icon,
|
|
@@ -1620,7 +1624,7 @@ var Badge = forwardRef(
|
|
|
1620
1624
|
"live",
|
|
1621
1625
|
"clickable"
|
|
1622
1626
|
]);
|
|
1623
|
-
const classes =
|
|
1627
|
+
const classes = clsx49(
|
|
1624
1628
|
Badge_module_default.badge,
|
|
1625
1629
|
Badge_module_default[variant],
|
|
1626
1630
|
Badge_module_default[size],
|
|
@@ -1631,7 +1635,7 @@ var Badge = forwardRef(
|
|
|
1631
1635
|
className
|
|
1632
1636
|
);
|
|
1633
1637
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1634
|
-
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className:
|
|
1638
|
+
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx49("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1635
1639
|
!iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
|
|
1636
1640
|
] });
|
|
1637
1641
|
if (clickable) {
|
|
@@ -1712,7 +1716,7 @@ var Input = forwardRef(
|
|
|
1712
1716
|
return /* @__PURE__ */ jsxs(
|
|
1713
1717
|
"div",
|
|
1714
1718
|
{
|
|
1715
|
-
className:
|
|
1719
|
+
className: clsx49(
|
|
1716
1720
|
"input-field",
|
|
1717
1721
|
Input_module_default["input-field"],
|
|
1718
1722
|
{
|
|
@@ -1726,17 +1730,17 @@ var Input = forwardRef(
|
|
|
1726
1730
|
"label",
|
|
1727
1731
|
{
|
|
1728
1732
|
htmlFor: inputId,
|
|
1729
|
-
className:
|
|
1733
|
+
className: clsx49("input-label", Input_module_default.label, {
|
|
1730
1734
|
["sr-only"]: hideLabel
|
|
1731
1735
|
}),
|
|
1732
1736
|
children: [
|
|
1733
1737
|
label,
|
|
1734
|
-
required && /* @__PURE__ */ jsx("span", { className:
|
|
1738
|
+
required && /* @__PURE__ */ jsx("span", { className: clsx49("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1735
1739
|
]
|
|
1736
1740
|
}
|
|
1737
1741
|
),
|
|
1738
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1739
|
-
startAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1742
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("input-wrapper", Input_module_default.wrapper), children: [
|
|
1743
|
+
startAdornment && /* @__PURE__ */ jsx("span", { className: clsx49("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1740
1744
|
/* @__PURE__ */ jsx(
|
|
1741
1745
|
"input",
|
|
1742
1746
|
__spreadValues({
|
|
@@ -1747,7 +1751,7 @@ var Input = forwardRef(
|
|
|
1747
1751
|
disabled,
|
|
1748
1752
|
"aria-invalid": !!error,
|
|
1749
1753
|
"aria-describedby": describedBy || void 0,
|
|
1750
|
-
className:
|
|
1754
|
+
className: clsx49(
|
|
1751
1755
|
"input",
|
|
1752
1756
|
Input_module_default.input,
|
|
1753
1757
|
{
|
|
@@ -1758,11 +1762,11 @@ var Input = forwardRef(
|
|
|
1758
1762
|
)
|
|
1759
1763
|
}, props)
|
|
1760
1764
|
),
|
|
1761
|
-
endAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1762
|
-
endAction && /* @__PURE__ */ jsx("span", { className:
|
|
1765
|
+
endAdornment && /* @__PURE__ */ jsx("span", { className: clsx49("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1766
|
+
endAction && /* @__PURE__ */ jsx("span", { className: clsx49("input-end-action"), children: endAction })
|
|
1763
1767
|
] }),
|
|
1764
|
-
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className:
|
|
1765
|
-
error && /* @__PURE__ */ jsx("p", { id: errorId, className:
|
|
1768
|
+
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx49("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1769
|
+
error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx49("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1766
1770
|
]
|
|
1767
1771
|
}
|
|
1768
1772
|
);
|
|
@@ -1802,14 +1806,14 @@ var NewsCard = ({
|
|
|
1802
1806
|
href: cta.url,
|
|
1803
1807
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1804
1808
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1805
|
-
className:
|
|
1809
|
+
className: clsx49("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1806
1810
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1807
1811
|
} : null;
|
|
1808
1812
|
const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsx("a", __spreadValues({}, linkProps)) : null;
|
|
1809
1813
|
return /* @__PURE__ */ jsxs(
|
|
1810
1814
|
"article",
|
|
1811
1815
|
{
|
|
1812
|
-
className:
|
|
1816
|
+
className: clsx49(
|
|
1813
1817
|
"news-card",
|
|
1814
1818
|
NewsCard_module_default["news-card"],
|
|
1815
1819
|
NewsCard_module_default[`news-card--${direction}`],
|
|
@@ -1817,28 +1821,28 @@ var NewsCard = ({
|
|
|
1817
1821
|
),
|
|
1818
1822
|
children: [
|
|
1819
1823
|
cardLink,
|
|
1820
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1824
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx49("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1821
1825
|
/* @__PURE__ */ jsxs(
|
|
1822
1826
|
"div",
|
|
1823
1827
|
{
|
|
1824
|
-
className:
|
|
1828
|
+
className: clsx49("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1825
1829
|
style: {
|
|
1826
1830
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1827
1831
|
},
|
|
1828
1832
|
children: [
|
|
1829
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1830
|
-
/* @__PURE__ */ jsx(Badge, { className:
|
|
1831
|
-
/* @__PURE__ */ jsx("time", { dateTime: date.value, className:
|
|
1833
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1834
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx49("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1835
|
+
/* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx49("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1832
1836
|
] }),
|
|
1833
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1834
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
1835
|
-
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1837
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1838
|
+
/* @__PURE__ */ jsx("h3", { className: clsx49("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1839
|
+
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx49("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
|
|
1836
1840
|
] }),
|
|
1837
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1841
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx49("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1838
1842
|
Button,
|
|
1839
1843
|
{
|
|
1840
1844
|
variant: "secondary",
|
|
1841
|
-
className:
|
|
1845
|
+
className: clsx49("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1842
1846
|
href: cta.url,
|
|
1843
1847
|
icon: cta.icon,
|
|
1844
1848
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -1869,7 +1873,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1869
1873
|
body: BlogPostContentBody
|
|
1870
1874
|
});
|
|
1871
1875
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1872
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1876
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1873
1877
|
};
|
|
1874
1878
|
|
|
1875
1879
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1920,7 +1924,7 @@ var Search = ({
|
|
|
1920
1924
|
}
|
|
1921
1925
|
};
|
|
1922
1926
|
if (!isOpen) {
|
|
1923
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1927
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(Search_module_default.search, className), children: /* @__PURE__ */ jsx(
|
|
1924
1928
|
"button",
|
|
1925
1929
|
{
|
|
1926
1930
|
type: "button",
|
|
@@ -1932,10 +1936,10 @@ var Search = ({
|
|
|
1932
1936
|
}
|
|
1933
1937
|
) });
|
|
1934
1938
|
}
|
|
1935
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1939
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(Search_module_default.search, className), children: /* @__PURE__ */ jsxs(
|
|
1936
1940
|
"div",
|
|
1937
1941
|
{
|
|
1938
|
-
className:
|
|
1942
|
+
className: clsx49(
|
|
1939
1943
|
Search_module_default.searchField,
|
|
1940
1944
|
isPill ? Search_module_default.searchFieldPill : Search_module_default.searchFieldLine
|
|
1941
1945
|
),
|
|
@@ -1987,6 +1991,27 @@ var Search = ({
|
|
|
1987
1991
|
}
|
|
1988
1992
|
) });
|
|
1989
1993
|
};
|
|
1994
|
+
var ColTextMenu = ({
|
|
1995
|
+
label,
|
|
1996
|
+
url,
|
|
1997
|
+
isExternal,
|
|
1998
|
+
className,
|
|
1999
|
+
renderLink
|
|
2000
|
+
}) => {
|
|
2001
|
+
return /* @__PURE__ */ jsx(
|
|
2002
|
+
Button,
|
|
2003
|
+
{
|
|
2004
|
+
variant: "textmenu",
|
|
2005
|
+
href: url,
|
|
2006
|
+
isExternal,
|
|
2007
|
+
renderLink,
|
|
2008
|
+
icon: "chevronRight",
|
|
2009
|
+
className: clsx49("subheading", className),
|
|
2010
|
+
children: label
|
|
2011
|
+
}
|
|
2012
|
+
);
|
|
2013
|
+
};
|
|
2014
|
+
ColTextMenu.displayName = "ColTextMenu";
|
|
1990
2015
|
|
|
1991
2016
|
// src/components/UserMenu/UserMenu.module.scss
|
|
1992
2017
|
var UserMenu_module_default = {
|
|
@@ -2061,7 +2086,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2061
2086
|
/* @__PURE__ */ jsx(Icon, { type: "downChevronBlack", size: 13, "aria-hidden": "true" })
|
|
2062
2087
|
] })
|
|
2063
2088
|
] });
|
|
2064
|
-
const rootClass =
|
|
2089
|
+
const rootClass = clsx49(UserMenu_module_default.userButton, fullWidth && UserMenu_module_default.fullWidth, className);
|
|
2065
2090
|
return user.url ? /* @__PURE__ */ jsx(
|
|
2066
2091
|
"a",
|
|
2067
2092
|
{
|
|
@@ -2076,7 +2101,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2076
2101
|
return /* @__PURE__ */ jsxs(
|
|
2077
2102
|
"div",
|
|
2078
2103
|
{
|
|
2079
|
-
className:
|
|
2104
|
+
className: clsx49(UserMenu_module_default.userMenuWrapper, fullWidth && UserMenu_module_default.fullWidth, className),
|
|
2080
2105
|
ref: wrapperRef,
|
|
2081
2106
|
onPointerLeave: handlePointerLeave,
|
|
2082
2107
|
onBlur: handleBlur,
|
|
@@ -2098,7 +2123,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2098
2123
|
/* @__PURE__ */ jsx(
|
|
2099
2124
|
"span",
|
|
2100
2125
|
{
|
|
2101
|
-
className:
|
|
2126
|
+
className: clsx49(
|
|
2102
2127
|
UserMenu_module_default.userChevron,
|
|
2103
2128
|
dropUp && UserMenu_module_default.userChevronUp,
|
|
2104
2129
|
isOpen && UserMenu_module_default.userChevronOpen
|
|
@@ -2113,12 +2138,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2113
2138
|
isOpen && /* @__PURE__ */ jsx(
|
|
2114
2139
|
"div",
|
|
2115
2140
|
{
|
|
2116
|
-
className:
|
|
2141
|
+
className: clsx49(UserMenu_module_default.userMenu, dropUp && UserMenu_module_default.userMenuUp),
|
|
2117
2142
|
role: "menu",
|
|
2118
2143
|
onPointerEnter: handlePointerEnter,
|
|
2119
2144
|
onPointerLeave: handlePointerLeave,
|
|
2120
2145
|
children: (_c = user.menuItems) == null ? void 0 : _c.map((item, i) => {
|
|
2121
|
-
const itemClass =
|
|
2146
|
+
const itemClass = clsx49(
|
|
2122
2147
|
UserMenu_module_default.userMenuItem,
|
|
2123
2148
|
item.variant === "danger" && UserMenu_module_default.userMenuItemDanger
|
|
2124
2149
|
);
|
|
@@ -2162,7 +2187,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2162
2187
|
var Loader_module_default = {
|
|
2163
2188
|
loader: "Loader_module_loader"};
|
|
2164
2189
|
var Loader = ({ className }) => {
|
|
2165
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2190
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49("loader", Loader_module_default["loader"], className) });
|
|
2166
2191
|
};
|
|
2167
2192
|
Loader.displayName = "Loader";
|
|
2168
2193
|
var CardCollectionTitle = ({ children }) => {
|
|
@@ -2244,13 +2269,13 @@ var CardCollection = ({
|
|
|
2244
2269
|
Container,
|
|
2245
2270
|
{
|
|
2246
2271
|
ref: container,
|
|
2247
|
-
className:
|
|
2272
|
+
className: clsx49(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2248
2273
|
children: [
|
|
2249
2274
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2250
2275
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2251
2276
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
2252
2277
|
] }),
|
|
2253
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
2278
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx49(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
2254
2279
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2255
2280
|
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(
|
|
2256
2281
|
Card2,
|
|
@@ -2351,7 +2376,7 @@ var ContactModule = ({
|
|
|
2351
2376
|
},
|
|
2352
2377
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2353
2378
|
);
|
|
2354
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
2379
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx49(ContactModule_module_default["contact-module"], className), children: [
|
|
2355
2380
|
blurred && /* @__PURE__ */ jsx(
|
|
2356
2381
|
"div",
|
|
2357
2382
|
{
|
|
@@ -2366,8 +2391,8 @@ var ContactModule = ({
|
|
|
2366
2391
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2367
2392
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2368
2393
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2369
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2370
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2394
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx49(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2395
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx49(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2371
2396
|
] }),
|
|
2372
2397
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2373
2398
|
Button,
|
|
@@ -2436,7 +2461,7 @@ var Footer = ({
|
|
|
2436
2461
|
disclaimer: FooterDisclaimer
|
|
2437
2462
|
});
|
|
2438
2463
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2439
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2464
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx49(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2440
2465
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2441
2466
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2442
2467
|
/* @__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: [
|
|
@@ -2465,7 +2490,7 @@ var Footer = ({
|
|
|
2465
2490
|
index
|
|
2466
2491
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2467
2492
|
) }) }),
|
|
2468
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2493
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx49(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2469
2494
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2470
2495
|
] }),
|
|
2471
2496
|
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(
|
|
@@ -2491,7 +2516,7 @@ var LogoBar_module_default = {
|
|
|
2491
2516
|
};
|
|
2492
2517
|
var LogoBar = ({ className, items }) => {
|
|
2493
2518
|
if (!items || items.length === 0) return null;
|
|
2494
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2519
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2495
2520
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2496
2521
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2497
2522
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2566,7 +2591,7 @@ var HeroBanner = ({
|
|
|
2566
2591
|
});
|
|
2567
2592
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2568
2593
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2569
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2594
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx49(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2570
2595
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2571
2596
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2572
2597
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
@@ -2576,7 +2601,7 @@ var HeroBanner = ({
|
|
|
2576
2601
|
{
|
|
2577
2602
|
tag: "h2",
|
|
2578
2603
|
promoteToH1,
|
|
2579
|
-
className:
|
|
2604
|
+
className: clsx49(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2580
2605
|
children: titleNode
|
|
2581
2606
|
}
|
|
2582
2607
|
),
|
|
@@ -2585,7 +2610,7 @@ var HeroBanner = ({
|
|
|
2585
2610
|
{
|
|
2586
2611
|
tag: "div",
|
|
2587
2612
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2588
|
-
className:
|
|
2613
|
+
className: clsx49(HeroBanner_module_default.subtitle, "subheading"),
|
|
2589
2614
|
children: subtitleNode
|
|
2590
2615
|
}
|
|
2591
2616
|
)
|
|
@@ -2662,7 +2687,7 @@ var HeroBannerCarousel = ({
|
|
|
2662
2687
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2663
2688
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2664
2689
|
if (!items.length) return null;
|
|
2665
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2690
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2666
2691
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2667
2692
|
Swiper,
|
|
2668
2693
|
{
|
|
@@ -2709,7 +2734,7 @@ var HeroBannerCarousel = ({
|
|
|
2709
2734
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
2710
2735
|
"button",
|
|
2711
2736
|
{
|
|
2712
|
-
className:
|
|
2737
|
+
className: clsx49(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2713
2738
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2714
2739
|
"aria-label": `Go to slide ${index + 1}`
|
|
2715
2740
|
},
|
|
@@ -2789,7 +2814,7 @@ var AccordionItem = ({
|
|
|
2789
2814
|
return /* @__PURE__ */ jsxs(
|
|
2790
2815
|
"div",
|
|
2791
2816
|
{
|
|
2792
|
-
className:
|
|
2817
|
+
className: clsx49(
|
|
2793
2818
|
Accordion_module_default.accordionItem,
|
|
2794
2819
|
{
|
|
2795
2820
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2800,18 +2825,18 @@ var AccordionItem = ({
|
|
|
2800
2825
|
/* @__PURE__ */ jsxs(
|
|
2801
2826
|
"button",
|
|
2802
2827
|
{
|
|
2803
|
-
className:
|
|
2828
|
+
className: clsx49(Accordion_module_default.accordionHeader, {
|
|
2804
2829
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2805
2830
|
}),
|
|
2806
2831
|
onClick: handleToggle,
|
|
2807
2832
|
"aria-expanded": isOpen,
|
|
2808
2833
|
"aria-label": `Toggle ${title}`,
|
|
2809
2834
|
children: [
|
|
2810
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
2835
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx49("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2811
2836
|
/* @__PURE__ */ jsx(
|
|
2812
2837
|
"span",
|
|
2813
2838
|
{
|
|
2814
|
-
className:
|
|
2839
|
+
className: clsx49(Accordion_module_default.accordionChevron, {
|
|
2815
2840
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2816
2841
|
}),
|
|
2817
2842
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2863,7 +2888,7 @@ var Accordion = ({
|
|
|
2863
2888
|
if (items.length === 0) {
|
|
2864
2889
|
return null;
|
|
2865
2890
|
}
|
|
2866
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2891
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsx(
|
|
2867
2892
|
AccordionItem,
|
|
2868
2893
|
{
|
|
2869
2894
|
id: item.id,
|
|
@@ -2953,7 +2978,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2953
2978
|
};
|
|
2954
2979
|
})) || [];
|
|
2955
2980
|
}, [tabs]);
|
|
2956
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2981
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx49(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
2957
2982
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
2958
2983
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
2959
2984
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -2969,7 +2994,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2969
2994
|
},
|
|
2970
2995
|
index
|
|
2971
2996
|
)) }),
|
|
2972
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2997
|
+
/* @__PURE__ */ jsx("div", { className: clsx49(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2973
2998
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
2974
2999
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2975
3000
|
((_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 }),
|
|
@@ -3067,22 +3092,22 @@ var MiniBanner = ({
|
|
|
3067
3092
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3068
3093
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3069
3094
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3070
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
3095
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx49(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3071
3096
|
((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)),
|
|
3072
|
-
/* @__PURE__ */ jsx(Container, { className:
|
|
3097
|
+
/* @__PURE__ */ jsx(Container, { className: clsx49(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3073
3098
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3074
3099
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3075
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3100
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx49(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3076
3101
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3077
|
-
goBackNode ?
|
|
3078
|
-
className:
|
|
3102
|
+
goBackNode ? React71.cloneElement(goBackNode, {
|
|
3103
|
+
className: clsx49("back-button", MiniBanner_module_default["back-button"])
|
|
3079
3104
|
}) : null,
|
|
3080
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3105
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx49(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
|
|
3081
3106
|
] }),
|
|
3082
3107
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3083
3108
|
"div",
|
|
3084
3109
|
{
|
|
3085
|
-
className:
|
|
3110
|
+
className: clsx49(MiniBanner_module_default.title, {
|
|
3086
3111
|
subheading: isMiniBannerNoBG,
|
|
3087
3112
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3088
3113
|
h4: isMiniBannerTextLeft
|
|
@@ -3155,14 +3180,14 @@ var MiniSectionCta = ({
|
|
|
3155
3180
|
return /* @__PURE__ */ jsx(
|
|
3156
3181
|
"div",
|
|
3157
3182
|
{
|
|
3158
|
-
className:
|
|
3183
|
+
className: clsx49(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3159
3184
|
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
3160
3185
|
/* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
3161
3186
|
titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
3162
3187
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3163
3188
|
"div",
|
|
3164
3189
|
{
|
|
3165
|
-
className:
|
|
3190
|
+
className: clsx49(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3166
3191
|
children: subtitleNode
|
|
3167
3192
|
}
|
|
3168
3193
|
)
|
|
@@ -3314,12 +3339,12 @@ var NavigationBrandBars = ({
|
|
|
3314
3339
|
return /* @__PURE__ */ jsx(
|
|
3315
3340
|
"div",
|
|
3316
3341
|
{
|
|
3317
|
-
className:
|
|
3342
|
+
className: clsx49(Navigation_module_default.brandBars, isUnfolded && Navigation_module_default.brandBarsUnfolded, className),
|
|
3318
3343
|
"aria-hidden": "true",
|
|
3319
3344
|
children: BRANDS.map((brand) => {
|
|
3320
3345
|
var _a;
|
|
3321
3346
|
const logo = brandLogos == null ? void 0 : brandLogos[brand.key];
|
|
3322
|
-
return /* @__PURE__ */ jsx("span", { className:
|
|
3347
|
+
return /* @__PURE__ */ jsx("span", { className: clsx49(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);
|
|
3323
3348
|
})
|
|
3324
3349
|
}
|
|
3325
3350
|
);
|
|
@@ -3380,7 +3405,7 @@ var NavigationDesktop = ({
|
|
|
3380
3405
|
"a",
|
|
3381
3406
|
{
|
|
3382
3407
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3383
|
-
className:
|
|
3408
|
+
className: clsx49(Navigation_module_default.navTabLink, isCurrent2 && Navigation_module_default.navTabActive),
|
|
3384
3409
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3385
3410
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3386
3411
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3399,7 +3424,7 @@ var NavigationDesktop = ({
|
|
|
3399
3424
|
{
|
|
3400
3425
|
type: "button",
|
|
3401
3426
|
id: `${baseId}-trigger-${index}`,
|
|
3402
|
-
className:
|
|
3427
|
+
className: clsx49(
|
|
3403
3428
|
Navigation_module_default.navTabLink,
|
|
3404
3429
|
Navigation_module_default.navTabTrigger,
|
|
3405
3430
|
(isCurrent || isOpen) && Navigation_module_default.navTabActive,
|
|
@@ -3459,7 +3484,7 @@ var NavigationDropdown = ({
|
|
|
3459
3484
|
"div",
|
|
3460
3485
|
{
|
|
3461
3486
|
id: panelId,
|
|
3462
|
-
className:
|
|
3487
|
+
className: clsx49(Navigation_module_default.dropdownPanel, Navigation_module_default.dropdownPanelOpen),
|
|
3463
3488
|
onMouseEnter,
|
|
3464
3489
|
onMouseLeave,
|
|
3465
3490
|
children: /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.dropdownInner, children: [
|
|
@@ -3468,7 +3493,7 @@ var NavigationDropdown = ({
|
|
|
3468
3493
|
return /* @__PURE__ */ jsx(
|
|
3469
3494
|
"li",
|
|
3470
3495
|
{
|
|
3471
|
-
className:
|
|
3496
|
+
className: clsx49(Navigation_module_default.dropdownLinkItem, {
|
|
3472
3497
|
[Navigation_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3473
3498
|
}),
|
|
3474
3499
|
children: /* @__PURE__ */ jsx(
|
|
@@ -3540,7 +3565,7 @@ var NavigationMobile = ({
|
|
|
3540
3565
|
"div",
|
|
3541
3566
|
{
|
|
3542
3567
|
id,
|
|
3543
|
-
className:
|
|
3568
|
+
className: clsx49(Navigation_module_default.mobileMenu, isOpen && Navigation_module_default.mobileMenuOpen),
|
|
3544
3569
|
role: "dialog",
|
|
3545
3570
|
"aria-modal": "true",
|
|
3546
3571
|
"aria-label": "Navigation menu",
|
|
@@ -3586,7 +3611,7 @@ var NavigationMobile = ({
|
|
|
3586
3611
|
/* @__PURE__ */ jsx(
|
|
3587
3612
|
"span",
|
|
3588
3613
|
{
|
|
3589
|
-
className:
|
|
3614
|
+
className: clsx49(
|
|
3590
3615
|
Navigation_module_default.mobileItemChevron,
|
|
3591
3616
|
isExpanded && Navigation_module_default.mobileItemChevronOpen
|
|
3592
3617
|
),
|
|
@@ -3601,7 +3626,7 @@ var NavigationMobile = ({
|
|
|
3601
3626
|
"div",
|
|
3602
3627
|
{
|
|
3603
3628
|
id: subMenuId,
|
|
3604
|
-
className:
|
|
3629
|
+
className: clsx49(Navigation_module_default.mobileSubItems, isExpanded && Navigation_module_default.mobileSubItemsOpen),
|
|
3605
3630
|
children: /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3606
3631
|
(subItem, i) => {
|
|
3607
3632
|
var _a2, _b2;
|
|
@@ -3609,7 +3634,7 @@ var NavigationMobile = ({
|
|
|
3609
3634
|
"a",
|
|
3610
3635
|
{
|
|
3611
3636
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3612
|
-
className:
|
|
3637
|
+
className: clsx49(
|
|
3613
3638
|
Navigation_module_default.mobileSubLink,
|
|
3614
3639
|
subItem.isActive && Navigation_module_default.mobileSubLinkActive
|
|
3615
3640
|
),
|
|
@@ -3640,7 +3665,7 @@ var NavigationMobile = ({
|
|
|
3640
3665
|
"div",
|
|
3641
3666
|
{
|
|
3642
3667
|
id,
|
|
3643
|
-
className:
|
|
3668
|
+
className: clsx49(Navigation_module_default.internalMobileMenu, isOpen && Navigation_module_default.internalMobileMenuOpen),
|
|
3644
3669
|
role: "dialog",
|
|
3645
3670
|
"aria-modal": "true",
|
|
3646
3671
|
"aria-label": "Navigation menu",
|
|
@@ -3699,7 +3724,7 @@ var NavigationMobile = ({
|
|
|
3699
3724
|
/* @__PURE__ */ jsx(
|
|
3700
3725
|
"span",
|
|
3701
3726
|
{
|
|
3702
|
-
className:
|
|
3727
|
+
className: clsx49(
|
|
3703
3728
|
Navigation_module_default.internalMobileItemChevron,
|
|
3704
3729
|
isExpanded && Navigation_module_default.internalMobileItemChevronOpen
|
|
3705
3730
|
),
|
|
@@ -3714,7 +3739,7 @@ var NavigationMobile = ({
|
|
|
3714
3739
|
"div",
|
|
3715
3740
|
{
|
|
3716
3741
|
id: subMenuId,
|
|
3717
|
-
className:
|
|
3742
|
+
className: clsx49(
|
|
3718
3743
|
Navigation_module_default.internalMobileSubItems,
|
|
3719
3744
|
isExpanded && Navigation_module_default.internalMobileSubItemsOpen
|
|
3720
3745
|
),
|
|
@@ -3725,7 +3750,7 @@ var NavigationMobile = ({
|
|
|
3725
3750
|
"a",
|
|
3726
3751
|
{
|
|
3727
3752
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
3728
|
-
className:
|
|
3753
|
+
className: clsx49(
|
|
3729
3754
|
Navigation_module_default.internalMobileSubLink,
|
|
3730
3755
|
sub.isActive && Navigation_module_default.internalMobileSubLinkActive
|
|
3731
3756
|
),
|
|
@@ -3863,7 +3888,7 @@ var Navigation2 = (props) => {
|
|
|
3863
3888
|
const logo = mainLogo ? /* @__PURE__ */ jsx(
|
|
3864
3889
|
Picture,
|
|
3865
3890
|
{
|
|
3866
|
-
className:
|
|
3891
|
+
className: clsx49(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
3867
3892
|
src: mainLogo,
|
|
3868
3893
|
alt: logoAlt
|
|
3869
3894
|
}
|
|
@@ -3873,7 +3898,7 @@ var Navigation2 = (props) => {
|
|
|
3873
3898
|
"nav",
|
|
3874
3899
|
{
|
|
3875
3900
|
ref: navRef,
|
|
3876
|
-
className:
|
|
3901
|
+
className: clsx49(
|
|
3877
3902
|
Navigation_module_default.Navigation,
|
|
3878
3903
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
3879
3904
|
// External-only transparent / hover treatment.
|
|
@@ -3893,7 +3918,7 @@ var Navigation2 = (props) => {
|
|
|
3893
3918
|
{
|
|
3894
3919
|
mainLogo,
|
|
3895
3920
|
homeCta,
|
|
3896
|
-
className:
|
|
3921
|
+
className: clsx49(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
3897
3922
|
}
|
|
3898
3923
|
) : logo,
|
|
3899
3924
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -4031,7 +4056,7 @@ var PracticePathCards = ({
|
|
|
4031
4056
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4032
4057
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4033
4058
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
4034
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4059
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
4035
4060
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
4036
4061
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
4037
4062
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -4085,8 +4110,8 @@ var Teaser5050With3Text = ({
|
|
|
4085
4110
|
title: Teaser5050With3TextTitle
|
|
4086
4111
|
});
|
|
4087
4112
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4088
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4089
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4113
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
4114
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx49(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4090
4115
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4091
4116
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4092
4117
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4136,12 +4161,12 @@ var Teaser5050WithCta = ({
|
|
|
4136
4161
|
return /* @__PURE__ */ jsx(
|
|
4137
4162
|
"div",
|
|
4138
4163
|
{
|
|
4139
|
-
className:
|
|
4164
|
+
className: clsx49(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4140
4165
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
4141
4166
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4142
4167
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4143
4168
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4144
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4169
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx49(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
4145
4170
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
4146
4171
|
] }),
|
|
4147
4172
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
@@ -4193,7 +4218,7 @@ var Carousel = (_a) => {
|
|
|
4193
4218
|
},
|
|
4194
4219
|
role: "region",
|
|
4195
4220
|
"aria-label": ariaLabel,
|
|
4196
|
-
className:
|
|
4221
|
+
className: clsx49(Carousel_module_default.carousel, className),
|
|
4197
4222
|
spaceBetween: 0,
|
|
4198
4223
|
slidesPerView: "auto",
|
|
4199
4224
|
modules: [FreeMode, A11y],
|
|
@@ -4203,7 +4228,7 @@ var Carousel = (_a) => {
|
|
|
4203
4228
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
4204
4229
|
SwiperSlide,
|
|
4205
4230
|
{
|
|
4206
|
-
className:
|
|
4231
|
+
className: clsx49(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4207
4232
|
children: slide
|
|
4208
4233
|
},
|
|
4209
4234
|
index
|
|
@@ -4260,13 +4285,13 @@ var EventList = ({
|
|
|
4260
4285
|
return /* @__PURE__ */ jsx(
|
|
4261
4286
|
"div",
|
|
4262
4287
|
{
|
|
4263
|
-
className:
|
|
4288
|
+
className: clsx49("event-list-module", EventList_module_default["event-list-module"], className),
|
|
4264
4289
|
style: {
|
|
4265
4290
|
backgroundColor
|
|
4266
4291
|
},
|
|
4267
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4292
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx49(EventList_module_default["event-list-container"]), children: [
|
|
4268
4293
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4269
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
4294
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx49(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4270
4295
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
4271
4296
|
Button,
|
|
4272
4297
|
{
|
|
@@ -4284,7 +4309,7 @@ var EventList = ({
|
|
|
4284
4309
|
Carousel,
|
|
4285
4310
|
{
|
|
4286
4311
|
"aria-label": "Upcoming events",
|
|
4287
|
-
wrapperClass:
|
|
4312
|
+
wrapperClass: clsx49(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4288
4313
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4289
4314
|
spaceBetween: 16,
|
|
4290
4315
|
slides: items.map((item) => {
|
|
@@ -4292,7 +4317,7 @@ var EventList = ({
|
|
|
4292
4317
|
return /* @__PURE__ */ jsx(
|
|
4293
4318
|
UpcomingEventCard,
|
|
4294
4319
|
__spreadValues({
|
|
4295
|
-
className:
|
|
4320
|
+
className: clsx49(EventList_module_default["event-card"]),
|
|
4296
4321
|
direction: "vertical",
|
|
4297
4322
|
showImage: false
|
|
4298
4323
|
}, item),
|
|
@@ -4305,7 +4330,7 @@ var EventList = ({
|
|
|
4305
4330
|
"ul",
|
|
4306
4331
|
{
|
|
4307
4332
|
"aria-label": "Upcoming events",
|
|
4308
|
-
className:
|
|
4333
|
+
className: clsx49(
|
|
4309
4334
|
EventList_module_default["event-list-wrapper"],
|
|
4310
4335
|
EventList_module_default["horizontal"],
|
|
4311
4336
|
EventList_module_default[variant]
|
|
@@ -4315,11 +4340,11 @@ var EventList = ({
|
|
|
4315
4340
|
return /* @__PURE__ */ jsx(
|
|
4316
4341
|
"li",
|
|
4317
4342
|
{
|
|
4318
|
-
className:
|
|
4343
|
+
className: clsx49(EventList_module_default["card-list-item"]),
|
|
4319
4344
|
children: /* @__PURE__ */ jsx(
|
|
4320
4345
|
UpcomingEventCard,
|
|
4321
4346
|
__spreadProps(__spreadValues({}, item), {
|
|
4322
|
-
className:
|
|
4347
|
+
className: clsx49(EventList_module_default["card-item"]),
|
|
4323
4348
|
showImage: false,
|
|
4324
4349
|
direction: "vertical"
|
|
4325
4350
|
})
|
|
@@ -4334,7 +4359,7 @@ var EventList = ({
|
|
|
4334
4359
|
"ul",
|
|
4335
4360
|
{
|
|
4336
4361
|
"aria-label": "Upcoming events",
|
|
4337
|
-
className:
|
|
4362
|
+
className: clsx49(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4338
4363
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4339
4364
|
var _a2, _b, _c;
|
|
4340
4365
|
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);
|
|
@@ -4342,8 +4367,8 @@ var EventList = ({
|
|
|
4342
4367
|
}
|
|
4343
4368
|
)
|
|
4344
4369
|
] }),
|
|
4345
|
-
!isNotEmpty && emptyNode ?
|
|
4346
|
-
className:
|
|
4370
|
+
!isNotEmpty && emptyNode ? React71.cloneElement(emptyNode, {
|
|
4371
|
+
className: clsx49("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4347
4372
|
}) : null
|
|
4348
4373
|
] })
|
|
4349
4374
|
}
|
|
@@ -4387,9 +4412,9 @@ var TextEvent = (props) => {
|
|
|
4387
4412
|
});
|
|
4388
4413
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4389
4414
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4390
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4415
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx49(TextEvent_module_default.textEvent, className), children: [
|
|
4391
4416
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4392
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4417
|
+
/* @__PURE__ */ jsx("div", { className: clsx49(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4393
4418
|
] });
|
|
4394
4419
|
};
|
|
4395
4420
|
|
|
@@ -4420,7 +4445,7 @@ var TextBody = (props) => {
|
|
|
4420
4445
|
});
|
|
4421
4446
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4422
4447
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
4423
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4448
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx49(TextBody_module_default.textBody, className), children: [
|
|
4424
4449
|
titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
4425
4450
|
/* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
4426
4451
|
] });
|
|
@@ -4463,7 +4488,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4463
4488
|
});
|
|
4464
4489
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4465
4490
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4466
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4491
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4467
4492
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4468
4493
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4469
4494
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4471,7 +4496,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4471
4496
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
4472
4497
|
"div",
|
|
4473
4498
|
{
|
|
4474
|
-
className:
|
|
4499
|
+
className: clsx49(
|
|
4475
4500
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4476
4501
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4477
4502
|
),
|
|
@@ -4584,7 +4609,7 @@ var ResourcesGridList = ({
|
|
|
4584
4609
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
4585
4610
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
4586
4611
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
4587
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
4612
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx49(ResourcesGridList_module_default.widget, className), children: [
|
|
4588
4613
|
/* @__PURE__ */ jsx(
|
|
4589
4614
|
FilterBar,
|
|
4590
4615
|
{
|
|
@@ -4603,7 +4628,7 @@ var ResourcesGridList = ({
|
|
|
4603
4628
|
isMobile && /* @__PURE__ */ jsxs(
|
|
4604
4629
|
"div",
|
|
4605
4630
|
{
|
|
4606
|
-
className:
|
|
4631
|
+
className: clsx49(
|
|
4607
4632
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
4608
4633
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
4609
4634
|
),
|
|
@@ -4614,7 +4639,7 @@ var ResourcesGridList = ({
|
|
|
4614
4639
|
return /* @__PURE__ */ jsxs(
|
|
4615
4640
|
"li",
|
|
4616
4641
|
{
|
|
4617
|
-
className:
|
|
4642
|
+
className: clsx49(
|
|
4618
4643
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
4619
4644
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
4620
4645
|
),
|
|
@@ -4659,7 +4684,7 @@ var ResourcesGridList = ({
|
|
|
4659
4684
|
onSelect: handleSelectCategory
|
|
4660
4685
|
}
|
|
4661
4686
|
),
|
|
4662
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4687
|
+
/* @__PURE__ */ jsx("div", { className: clsx49(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
4663
4688
|
] }),
|
|
4664
4689
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
4665
4690
|
Pagination,
|
|
@@ -4692,7 +4717,7 @@ var Grid = ({
|
|
|
4692
4717
|
return /* @__PURE__ */ jsx(
|
|
4693
4718
|
Component,
|
|
4694
4719
|
{
|
|
4695
|
-
className:
|
|
4720
|
+
className: clsx49("grid", Grid_module_default.grid, className),
|
|
4696
4721
|
role,
|
|
4697
4722
|
"aria-label": ariaLabel,
|
|
4698
4723
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4717,7 +4742,7 @@ var GridItem = ({
|
|
|
4717
4742
|
return /* @__PURE__ */ jsx(
|
|
4718
4743
|
Component,
|
|
4719
4744
|
{
|
|
4720
|
-
className:
|
|
4745
|
+
className: clsx49("grid-item", Grid_module_default["grid-item"], className),
|
|
4721
4746
|
role,
|
|
4722
4747
|
"aria-label": ariaLabel,
|
|
4723
4748
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4765,13 +4790,13 @@ var BlogCardGrid = ({
|
|
|
4765
4790
|
title: BlogCardGridTitle
|
|
4766
4791
|
});
|
|
4767
4792
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4768
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4769
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
4770
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className:
|
|
4771
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4793
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx49("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
4794
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx49("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
4795
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx49("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
4796
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx49("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4772
4797
|
Button,
|
|
4773
4798
|
{
|
|
4774
|
-
className:
|
|
4799
|
+
className: clsx49("cta", BlogCardGrid_module_default["cta"]),
|
|
4775
4800
|
variant: "nofillblack",
|
|
4776
4801
|
href: cta.url,
|
|
4777
4802
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4797,11 +4822,11 @@ var BlogCardGrid = ({
|
|
|
4797
4822
|
return /* @__PURE__ */ jsx(
|
|
4798
4823
|
"div",
|
|
4799
4824
|
{
|
|
4800
|
-
className:
|
|
4825
|
+
className: clsx49("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
4801
4826
|
style: {
|
|
4802
4827
|
backgroundColor
|
|
4803
4828
|
},
|
|
4804
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4829
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx49("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
4805
4830
|
}
|
|
4806
4831
|
);
|
|
4807
4832
|
};
|
|
@@ -4849,13 +4874,13 @@ var FeaturedNewsHighlights = ({
|
|
|
4849
4874
|
const sideCards = items.slice(1);
|
|
4850
4875
|
const isVariantHome = variant === "home";
|
|
4851
4876
|
const isBelowTablet = is("tablet", "below");
|
|
4852
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4853
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
4877
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx49("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
4878
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx49("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
4854
4879
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
4855
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4880
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx49("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4856
4881
|
Button,
|
|
4857
4882
|
{
|
|
4858
|
-
className:
|
|
4883
|
+
className: clsx49("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
4859
4884
|
variant: "nofillblack",
|
|
4860
4885
|
href: cta.url,
|
|
4861
4886
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4867,9 +4892,9 @@ var FeaturedNewsHighlights = ({
|
|
|
4867
4892
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
4868
4893
|
Carousel,
|
|
4869
4894
|
{
|
|
4870
|
-
className:
|
|
4895
|
+
className: clsx49("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
4871
4896
|
"aria-label": "featured news",
|
|
4872
|
-
wrapperClass:
|
|
4897
|
+
wrapperClass: clsx49(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
4873
4898
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
4874
4899
|
spaceBetween: 16,
|
|
4875
4900
|
slides: items.map((item, index) => {
|
|
@@ -4878,27 +4903,27 @@ var FeaturedNewsHighlights = ({
|
|
|
4878
4903
|
NewsCard,
|
|
4879
4904
|
__spreadProps(__spreadValues({}, item), {
|
|
4880
4905
|
direction: "vertical",
|
|
4881
|
-
className:
|
|
4906
|
+
className: clsx49("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
4882
4907
|
}),
|
|
4883
4908
|
(_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
|
|
4884
4909
|
);
|
|
4885
4910
|
})
|
|
4886
4911
|
}
|
|
4887
4912
|
),
|
|
4888
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
4913
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx49("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
4889
4914
|
featuredCard && /* @__PURE__ */ jsx(
|
|
4890
4915
|
NewsCard,
|
|
4891
4916
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
4892
|
-
className:
|
|
4917
|
+
className: clsx49("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
4893
4918
|
renderLink
|
|
4894
4919
|
})
|
|
4895
4920
|
),
|
|
4896
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
4921
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx49("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
|
|
4897
4922
|
var _a2;
|
|
4898
4923
|
return /* @__PURE__ */ jsx(
|
|
4899
4924
|
NewsCard,
|
|
4900
4925
|
__spreadProps(__spreadValues({}, card), {
|
|
4901
|
-
className:
|
|
4926
|
+
className: clsx49("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
4902
4927
|
direction: "horizontal",
|
|
4903
4928
|
renderLink
|
|
4904
4929
|
}),
|
|
@@ -4910,11 +4935,11 @@ var FeaturedNewsHighlights = ({
|
|
|
4910
4935
|
return /* @__PURE__ */ jsx(
|
|
4911
4936
|
"div",
|
|
4912
4937
|
{
|
|
4913
|
-
className:
|
|
4938
|
+
className: clsx49("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
4914
4939
|
style: {
|
|
4915
4940
|
backgroundColor
|
|
4916
4941
|
},
|
|
4917
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4942
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx49("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
4918
4943
|
}
|
|
4919
4944
|
);
|
|
4920
4945
|
};
|
|
@@ -4958,23 +4983,23 @@ var NewsCardList = ({
|
|
|
4958
4983
|
return /* @__PURE__ */ jsx(
|
|
4959
4984
|
"div",
|
|
4960
4985
|
{
|
|
4961
|
-
className:
|
|
4986
|
+
className: clsx49("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
4962
4987
|
style: {
|
|
4963
4988
|
backgroundColor
|
|
4964
4989
|
},
|
|
4965
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4966
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4990
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx49("container", NewsCardList_module_default["container"]), children: [
|
|
4991
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
4967
4992
|
/* @__PURE__ */ jsx(
|
|
4968
4993
|
Input,
|
|
4969
4994
|
__spreadValues({
|
|
4970
|
-
className:
|
|
4995
|
+
className: clsx49("search-input", NewsCardList_module_default["search-input"]),
|
|
4971
4996
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
4972
4997
|
placeholder: "Search News",
|
|
4973
4998
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
4974
4999
|
Button,
|
|
4975
5000
|
{
|
|
4976
5001
|
variant: "nofillblack",
|
|
4977
|
-
className:
|
|
5002
|
+
className: clsx49(NewsCardList_module_default["end-action-button"]),
|
|
4978
5003
|
"aria-label": "Search",
|
|
4979
5004
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
4980
5005
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -4986,7 +5011,7 @@ var NewsCardList = ({
|
|
|
4986
5011
|
} : void 0
|
|
4987
5012
|
}, searchInputProps)
|
|
4988
5013
|
),
|
|
4989
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5014
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
4990
5015
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
4991
5016
|
FeaturedNewsHighlights2,
|
|
4992
5017
|
{
|
|
@@ -4999,8 +5024,8 @@ var NewsCardList = ({
|
|
|
4999
5024
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items: cards, hasContainer: false, renderLink })
|
|
5000
5025
|
] })
|
|
5001
5026
|
] }),
|
|
5002
|
-
paginationNode ?
|
|
5003
|
-
className:
|
|
5027
|
+
paginationNode ? React71.cloneElement(paginationNode, {
|
|
5028
|
+
className: clsx49("pagination", NewsCardList_module_default["pagination"])
|
|
5004
5029
|
}) : null
|
|
5005
5030
|
] })
|
|
5006
5031
|
}
|
|
@@ -5045,15 +5070,15 @@ var BlogPost = ({
|
|
|
5045
5070
|
});
|
|
5046
5071
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5047
5072
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5048
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5049
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5073
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx49("container", BlogPost_module_default["container"]), children: [
|
|
5074
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("header", BlogPost_module_default["header"]), children: [
|
|
5050
5075
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5051
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5076
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx49("image", BlogPost_module_default["image"]) }))
|
|
5052
5077
|
] }),
|
|
5053
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5054
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5078
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("content", BlogPost_module_default["content"]), children: [
|
|
5079
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5055
5080
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
5056
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
5081
|
+
/* @__PURE__ */ jsxs("span", { className: clsx49("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5057
5082
|
"Published ",
|
|
5058
5083
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
5059
5084
|
] })
|
|
@@ -5066,7 +5091,7 @@ var BlogPost = ({
|
|
|
5066
5091
|
title: "More News",
|
|
5067
5092
|
items: relatedArticles,
|
|
5068
5093
|
hasContainer: false,
|
|
5069
|
-
className:
|
|
5094
|
+
className: clsx49("related-articles", BlogPost_module_default["related-articles"])
|
|
5070
5095
|
}
|
|
5071
5096
|
)
|
|
5072
5097
|
] }) });
|
|
@@ -5114,22 +5139,22 @@ var BlogSearchResultsList = ({
|
|
|
5114
5139
|
});
|
|
5115
5140
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5116
5141
|
const paginationNode = slots.pagination;
|
|
5117
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5118
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5119
|
-
className:
|
|
5142
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx49("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
5143
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx49("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React71.isValidElement(searchNode) ? React71.cloneElement(searchNode, {
|
|
5144
|
+
className: clsx49("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5120
5145
|
}) : null,
|
|
5121
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5146
|
+
/* @__PURE__ */ jsxs("div", { className: clsx49("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5122
5147
|
/* @__PURE__ */ jsx(
|
|
5123
5148
|
Input,
|
|
5124
5149
|
__spreadValues({
|
|
5125
|
-
className:
|
|
5150
|
+
className: clsx49("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5126
5151
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5127
5152
|
placeholder: "Search News",
|
|
5128
5153
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
5129
5154
|
Button,
|
|
5130
5155
|
{
|
|
5131
5156
|
variant: "nofillblack",
|
|
5132
|
-
className:
|
|
5157
|
+
className: clsx49(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5133
5158
|
"aria-label": "Search",
|
|
5134
5159
|
onClick: () => onSearchSubmit(searchValue),
|
|
5135
5160
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5143,8 +5168,8 @@ var BlogSearchResultsList = ({
|
|
|
5143
5168
|
),
|
|
5144
5169
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5145
5170
|
] }),
|
|
5146
|
-
paginationNode ?
|
|
5147
|
-
className:
|
|
5171
|
+
paginationNode ? React71.cloneElement(paginationNode, {
|
|
5172
|
+
className: clsx49("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5148
5173
|
}) : null
|
|
5149
5174
|
] }) });
|
|
5150
5175
|
};
|
|
@@ -5185,11 +5210,11 @@ var GlobalSearchResultsList = ({
|
|
|
5185
5210
|
});
|
|
5186
5211
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5187
5212
|
const paginationNode = slots.pagination;
|
|
5188
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5189
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5190
|
-
className:
|
|
5213
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx49("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
5214
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx49("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React71.isValidElement(searchNode) ? React71.cloneElement(searchNode, {
|
|
5215
|
+
className: clsx49("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5191
5216
|
}) : null,
|
|
5192
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5217
|
+
/* @__PURE__ */ jsx("div", { className: clsx49("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5193
5218
|
var _a2;
|
|
5194
5219
|
return /* @__PURE__ */ jsx(
|
|
5195
5220
|
GridItem,
|
|
@@ -5209,8 +5234,8 @@ var GlobalSearchResultsList = ({
|
|
|
5209
5234
|
item.title ? `${item.title}-${(_a2 = item == null ? void 0 : item.id) != null ? _a2 : index}` : index
|
|
5210
5235
|
);
|
|
5211
5236
|
}) }) }),
|
|
5212
|
-
paginationNode ?
|
|
5213
|
-
className:
|
|
5237
|
+
paginationNode ? React71.cloneElement(paginationNode, {
|
|
5238
|
+
className: clsx49("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5214
5239
|
}) : null
|
|
5215
5240
|
] }) });
|
|
5216
5241
|
};
|
|
@@ -5268,7 +5293,7 @@ var TextCenterWithMedia = ({
|
|
|
5268
5293
|
};
|
|
5269
5294
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5270
5295
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5271
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
5296
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx49(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5272
5297
|
/* @__PURE__ */ jsxs(Container, { children: [
|
|
5273
5298
|
titleNode && /* @__PURE__ */ jsx("h2", { className: "h2", children: titleNode }),
|
|
5274
5299
|
/* @__PURE__ */ jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5331,7 +5356,7 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
|
|
|
5331
5356
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
5332
5357
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
5333
5358
|
if (!items.length) return null;
|
|
5334
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5359
|
+
return /* @__PURE__ */ jsx("div", { className: clsx49(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
|
|
5335
5360
|
title && /* @__PURE__ */ jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5336
5361
|
/* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
5337
5362
|
Swiper,
|
|
@@ -5390,12 +5415,12 @@ var PageLoader = ({ className, children }) => {
|
|
|
5390
5415
|
logo: PageLoaderLogo
|
|
5391
5416
|
});
|
|
5392
5417
|
const logoNode = slots.logo;
|
|
5393
|
-
return /* @__PURE__ */ jsx(Container, { className:
|
|
5394
|
-
logoNode ?
|
|
5395
|
-
className:
|
|
5418
|
+
return /* @__PURE__ */ jsx(Container, { className: clsx49(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxs("div", { className: clsx49("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
5419
|
+
logoNode ? React71.cloneElement(logoNode, {
|
|
5420
|
+
className: clsx49("image-logo", PageLoader_module_default["image-logo"])
|
|
5396
5421
|
}) : null,
|
|
5397
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5398
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5422
|
+
/* @__PURE__ */ jsx("div", { className: clsx49("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsx(Loader, {}) }),
|
|
5423
|
+
/* @__PURE__ */ jsx("span", { className: clsx49("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5399
5424
|
] }) });
|
|
5400
5425
|
};
|
|
5401
5426
|
|
|
@@ -5403,6 +5428,30 @@ var PageLoader = ({ className, children }) => {
|
|
|
5403
5428
|
var PageLoader2 = Object.assign(PageLoader, {
|
|
5404
5429
|
Logo: PageLoaderLogo
|
|
5405
5430
|
});
|
|
5431
|
+
|
|
5432
|
+
// src/widgets/TwoColTextMenu/TwoColTextMenu.module.scss
|
|
5433
|
+
var TwoColTextMenu_module_default = {
|
|
5434
|
+
"two-col-text-menu": "TwoColTextMenu_module_two-col-text-menu",
|
|
5435
|
+
container: "TwoColTextMenu_module_container",
|
|
5436
|
+
grid: "TwoColTextMenu_module_grid",
|
|
5437
|
+
section: "TwoColTextMenu_module_section",
|
|
5438
|
+
heading: "TwoColTextMenu_module_heading",
|
|
5439
|
+
title: "TwoColTextMenu_module_title",
|
|
5440
|
+
list: "TwoColTextMenu_module_list"
|
|
5441
|
+
};
|
|
5442
|
+
var TwoColTextMenu = ({
|
|
5443
|
+
className,
|
|
5444
|
+
ariaLabel = "TwoColTextMenu",
|
|
5445
|
+
sections = [],
|
|
5446
|
+
renderLink
|
|
5447
|
+
}) => {
|
|
5448
|
+
if (sections.length === 0) return null;
|
|
5449
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": ariaLabel, className: clsx49(TwoColTextMenu_module_default["two-col-text-menu"], className), children: /* @__PURE__ */ jsx(Container, { className: TwoColTextMenu_module_default.container, children: /* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.grid, children: sections.map((section, index) => /* @__PURE__ */ jsxs("div", { className: TwoColTextMenu_module_default.section, children: [
|
|
5450
|
+
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className: clsx49("h4", TwoColTextMenu_module_default.title), children: section.title }) }),
|
|
5451
|
+
/* @__PURE__ */ jsx("ul", { className: TwoColTextMenu_module_default.list, children: section.items.map((item, itemIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ColTextMenu, __spreadProps(__spreadValues({}, item), { renderLink })) }, itemIndex)) })
|
|
5452
|
+
] }, index)) }) }) });
|
|
5453
|
+
};
|
|
5454
|
+
TwoColTextMenu.displayName = "TwoColTextMenu";
|
|
5406
5455
|
function useIntersectionObserver({
|
|
5407
5456
|
animateOnce = false,
|
|
5408
5457
|
options = {}
|
|
@@ -5432,6 +5481,6 @@ function useIntersectionObserver({
|
|
|
5432
5481
|
return { observeRef, isVisible };
|
|
5433
5482
|
}
|
|
5434
5483
|
|
|
5435
|
-
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 };
|
|
5484
|
+
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ColTextMenu, 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, TwoColTextMenu, UpcomingEventCard, UserMenu, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
5436
5485
|
//# sourceMappingURL=index.mjs.map
|
|
5437
5486
|
//# sourceMappingURL=index.mjs.map
|