@deriv-web-design/ui 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +427 -406
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +94 -45
- package/dist/index.d.ts +94 -45
- package/dist/index.js +682 -684
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +679 -683
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -150,6 +150,11 @@ var Tag = ({
|
|
|
150
150
|
|
|
151
151
|
// primitives/Accordion/Accordion.tsx
|
|
152
152
|
import { useState } from "react";
|
|
153
|
+
|
|
154
|
+
// primitives/Accordion/Accordion.module.css
|
|
155
|
+
var Accordion_default = {};
|
|
156
|
+
|
|
157
|
+
// primitives/Accordion/Accordion.tsx
|
|
153
158
|
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
154
159
|
var ChevronIcon2 = () => /* @__PURE__ */ jsx5("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx5("path", { d: "M4 6l4 4 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
155
160
|
var Accordion = ({
|
|
@@ -171,7 +176,7 @@ var Accordion = ({
|
|
|
171
176
|
if (!isControlled) setInternalOpen(next);
|
|
172
177
|
onToggle?.(next);
|
|
173
178
|
};
|
|
174
|
-
const classNames = [
|
|
179
|
+
const classNames = [Accordion_default.accordion, className ?? ""].filter(Boolean).join(" ");
|
|
175
180
|
return /* @__PURE__ */ jsxs5(
|
|
176
181
|
"div",
|
|
177
182
|
{
|
|
@@ -184,17 +189,17 @@ var Accordion = ({
|
|
|
184
189
|
/* @__PURE__ */ jsxs5(
|
|
185
190
|
"button",
|
|
186
191
|
{
|
|
187
|
-
className:
|
|
192
|
+
className: Accordion_default.header,
|
|
188
193
|
onClick: handleToggle,
|
|
189
194
|
"aria-expanded": isOpen,
|
|
190
195
|
children: [
|
|
191
|
-
/* @__PURE__ */ jsx5("span", { className:
|
|
192
|
-
/* @__PURE__ */ jsx5("span", { className: [
|
|
193
|
-
showFocusRing && /* @__PURE__ */ jsx5("span", { className:
|
|
196
|
+
/* @__PURE__ */ jsx5("span", { className: Accordion_default.titleWrapper, children: /* @__PURE__ */ jsx5("span", { className: Accordion_default.title, children: title }) }),
|
|
197
|
+
/* @__PURE__ */ jsx5("span", { className: [Accordion_default.chevron, isOpen ? Accordion_default.chevronRotated : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5(ChevronIcon2, {}) }),
|
|
198
|
+
showFocusRing && /* @__PURE__ */ jsx5("span", { className: Accordion_default.focusRing, "aria-hidden": "true" })
|
|
194
199
|
]
|
|
195
200
|
}
|
|
196
201
|
),
|
|
197
|
-
/* @__PURE__ */ jsx5("div", { className: [
|
|
202
|
+
/* @__PURE__ */ jsx5("div", { className: [Accordion_default.bodyWrapper, isOpen ? Accordion_default.bodyWrapperOpen : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5("div", { className: Accordion_default.bodyInner, children: /* @__PURE__ */ jsx5("div", { className: Accordion_default.body, children }) }) })
|
|
198
203
|
]
|
|
199
204
|
}
|
|
200
205
|
);
|
|
@@ -1026,67 +1031,50 @@ var Tabs = ({
|
|
|
1026
1031
|
);
|
|
1027
1032
|
};
|
|
1028
1033
|
|
|
1029
|
-
// templates/
|
|
1034
|
+
// templates/FaqAccordion/FaqAccordion.module.css
|
|
1035
|
+
var FaqAccordion_default = {};
|
|
1036
|
+
|
|
1037
|
+
// templates/FaqAccordion/FaqAccordion.tsx
|
|
1030
1038
|
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1031
|
-
var
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
linkText = "Learn more",
|
|
1036
|
-
onLinkClick,
|
|
1037
|
-
cardColorScheme = "image",
|
|
1038
|
-
cards
|
|
1039
|
+
var FaqAccordion = ({
|
|
1040
|
+
title,
|
|
1041
|
+
items,
|
|
1042
|
+
colorScheme = "white"
|
|
1039
1043
|
}) => {
|
|
1040
|
-
return /* @__PURE__ */ jsx17("section", { className:
|
|
1041
|
-
/* @__PURE__ */
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
showLink && /* @__PURE__ */ jsx17(
|
|
1045
|
-
Link,
|
|
1046
|
-
{
|
|
1047
|
-
colorScheme: "coral",
|
|
1048
|
-
label: linkText,
|
|
1049
|
-
onClick: onLinkClick
|
|
1050
|
-
}
|
|
1051
|
-
)
|
|
1052
|
-
] }),
|
|
1053
|
-
/* @__PURE__ */ jsx17("div", { className: "fc-grid", children: cards.map((card, index) => /* @__PURE__ */ jsx17(
|
|
1054
|
-
Card,
|
|
1044
|
+
return /* @__PURE__ */ jsx17("section", { className: [FaqAccordion_default.section, FaqAccordion_default[`section--${colorScheme}`]].join(" "), children: /* @__PURE__ */ jsxs15("div", { className: FaqAccordion_default.container, children: [
|
|
1045
|
+
/* @__PURE__ */ jsx17("div", { className: FaqAccordion_default.header, children: /* @__PURE__ */ jsx17("h2", { className: FaqAccordion_default.title, children: title }) }),
|
|
1046
|
+
/* @__PURE__ */ jsx17("div", { className: FaqAccordion_default.list, children: items.map((item, index) => /* @__PURE__ */ jsx17(
|
|
1047
|
+
Accordion,
|
|
1055
1048
|
{
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
image: card.image,
|
|
1061
|
-
imageAlt: card.imageAlt,
|
|
1062
|
-
showLink: card.showLink,
|
|
1063
|
-
linkText: card.linkText,
|
|
1064
|
-
onLinkClick: card.onLinkClick
|
|
1049
|
+
title: item.question,
|
|
1050
|
+
showTopDivider: index === 0,
|
|
1051
|
+
showBottomDivider: true,
|
|
1052
|
+
children: item.answer
|
|
1065
1053
|
},
|
|
1066
|
-
index
|
|
1054
|
+
`${item.question}-${index}`
|
|
1067
1055
|
)) })
|
|
1068
1056
|
] }) });
|
|
1069
1057
|
};
|
|
1070
1058
|
|
|
1071
|
-
// templates/
|
|
1059
|
+
// templates/FeatureCards/FeatureCards.tsx
|
|
1072
1060
|
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1073
1061
|
var externalLinkRel = (href) => href && /^https?:\/\//i.test(href) ? "noopener noreferrer" : void 0;
|
|
1074
1062
|
var TwoCardsItem = ({ card, index }) => {
|
|
1075
|
-
const isDark = card.
|
|
1063
|
+
const isDark = card.twoTone === "dark";
|
|
1076
1064
|
const showCardLink = card.showLink !== false;
|
|
1077
|
-
return /* @__PURE__ */ jsx18("div", { className: "
|
|
1065
|
+
return /* @__PURE__ */ jsx18("div", { className: "fc-twoCardWrap", children: /* @__PURE__ */ jsxs16(
|
|
1078
1066
|
"div",
|
|
1079
1067
|
{
|
|
1080
1068
|
className: [
|
|
1081
|
-
"
|
|
1082
|
-
isDark ? "
|
|
1069
|
+
"fc-twoCard",
|
|
1070
|
+
isDark ? "fc-twoCard--dark" : "fc-twoCard--light"
|
|
1083
1071
|
].join(" "),
|
|
1084
1072
|
children: [
|
|
1085
|
-
/* @__PURE__ */ jsxs16("div", { className: "
|
|
1086
|
-
/* @__PURE__ */ jsxs16("div", { className: "
|
|
1087
|
-
/* @__PURE__ */ jsx18("h3", { className: "
|
|
1088
|
-
/* @__PURE__ */ jsx18("p", { className: "
|
|
1089
|
-
showCardLink && /* @__PURE__ */ jsx18("div", { className: "
|
|
1073
|
+
/* @__PURE__ */ jsxs16("div", { className: "fc-twoCard-body", children: [
|
|
1074
|
+
/* @__PURE__ */ jsxs16("div", { className: "fc-twoCard-content", children: [
|
|
1075
|
+
/* @__PURE__ */ jsx18("h3", { className: "fc-twoCard-title", children: card.title }),
|
|
1076
|
+
/* @__PURE__ */ jsx18("p", { className: "fc-twoCard-description", children: card.description }),
|
|
1077
|
+
showCardLink && /* @__PURE__ */ jsx18("div", { className: "fc-twoCard-linkWrap", children: /* @__PURE__ */ jsx18(
|
|
1090
1078
|
Link,
|
|
1091
1079
|
{
|
|
1092
1080
|
colorScheme: "coral",
|
|
@@ -1097,14 +1085,14 @@ var TwoCardsItem = ({ card, index }) => {
|
|
|
1097
1085
|
}
|
|
1098
1086
|
) })
|
|
1099
1087
|
] }),
|
|
1100
|
-
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ jsxs16("div", { className: "
|
|
1101
|
-
/* @__PURE__ */ jsx18("h3", { className: "
|
|
1102
|
-
/* @__PURE__ */ jsx18("div", { className: "
|
|
1088
|
+
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ jsxs16("div", { className: "fc-twoCard-platformsOuter", children: [
|
|
1089
|
+
/* @__PURE__ */ jsx18("h3", { className: "fc-twoCard-platformsHeading", children: card.platformsHeading ?? "Available on" }),
|
|
1090
|
+
/* @__PURE__ */ jsx18("div", { className: "fc-twoCard-platformRow", children: card.platforms.map((platform, i) => /* @__PURE__ */ jsxs16(
|
|
1103
1091
|
"a",
|
|
1104
1092
|
{
|
|
1105
1093
|
className: [
|
|
1106
|
-
"
|
|
1107
|
-
isDark ? "
|
|
1094
|
+
"fc-platformLink",
|
|
1095
|
+
isDark ? "fc-platformLink--dark" : ""
|
|
1108
1096
|
].filter(Boolean).join(" "),
|
|
1109
1097
|
href: platform.href,
|
|
1110
1098
|
rel: externalLinkRel(platform.href),
|
|
@@ -1113,24 +1101,24 @@ var TwoCardsItem = ({ card, index }) => {
|
|
|
1113
1101
|
"img",
|
|
1114
1102
|
{
|
|
1115
1103
|
alt: "",
|
|
1116
|
-
className: "
|
|
1104
|
+
className: "fc-platformLink-icon",
|
|
1117
1105
|
height: 32,
|
|
1118
1106
|
src: platform.iconSrc,
|
|
1119
1107
|
width: 32
|
|
1120
1108
|
}
|
|
1121
1109
|
),
|
|
1122
|
-
/* @__PURE__ */ jsx18("span", { className: "
|
|
1110
|
+
/* @__PURE__ */ jsx18("span", { className: "fc-platformLink-label", children: platform.label })
|
|
1123
1111
|
]
|
|
1124
1112
|
},
|
|
1125
1113
|
`${platform.label}-${i}`
|
|
1126
1114
|
)) })
|
|
1127
1115
|
] })
|
|
1128
1116
|
] }),
|
|
1129
|
-
card.image && /* @__PURE__ */ jsx18("div", { className: "
|
|
1117
|
+
card.image && /* @__PURE__ */ jsx18("div", { className: "fc-twoCard-imageSection", children: /* @__PURE__ */ jsx18(
|
|
1130
1118
|
"img",
|
|
1131
1119
|
{
|
|
1132
1120
|
alt: card.imageAlt ?? "",
|
|
1133
|
-
className: "
|
|
1121
|
+
className: "fc-twoCard-image",
|
|
1134
1122
|
decoding: "async",
|
|
1135
1123
|
loading: index === 0 ? "eager" : "lazy",
|
|
1136
1124
|
src: card.image
|
|
@@ -1142,12 +1130,12 @@ var TwoCardsItem = ({ card, index }) => {
|
|
|
1142
1130
|
};
|
|
1143
1131
|
var OneCardPanel = ({ card }) => {
|
|
1144
1132
|
const showCardLink = card.showLink !== false;
|
|
1145
|
-
return /* @__PURE__ */ jsx18("div", { className: "
|
|
1146
|
-
/* @__PURE__ */ jsxs16("div", { className: "
|
|
1147
|
-
/* @__PURE__ */ jsxs16("div", { className: "
|
|
1148
|
-
/* @__PURE__ */ jsx18("h3", { className: "
|
|
1149
|
-
/* @__PURE__ */ jsx18("p", { className: "
|
|
1150
|
-
showCardLink && /* @__PURE__ */ jsx18("div", { className: "
|
|
1133
|
+
return /* @__PURE__ */ jsx18("div", { className: "fc-oneCardShell", children: /* @__PURE__ */ jsxs16("div", { className: "fc-oneCardGrid fc-twoCard--dark", children: [
|
|
1134
|
+
/* @__PURE__ */ jsxs16("div", { className: "fc-oneCardLeft", children: [
|
|
1135
|
+
/* @__PURE__ */ jsxs16("div", { className: "fc-oneCardContentBlock", children: [
|
|
1136
|
+
/* @__PURE__ */ jsx18("h3", { className: "fc-twoCard-title", children: card.title }),
|
|
1137
|
+
/* @__PURE__ */ jsx18("p", { className: "fc-twoCard-description", children: card.description }),
|
|
1138
|
+
showCardLink && /* @__PURE__ */ jsx18("div", { className: "fc-twoCard-linkWrap", children: /* @__PURE__ */ jsx18(
|
|
1151
1139
|
Link,
|
|
1152
1140
|
{
|
|
1153
1141
|
colorScheme: "coral",
|
|
@@ -1158,12 +1146,12 @@ var OneCardPanel = ({ card }) => {
|
|
|
1158
1146
|
}
|
|
1159
1147
|
) })
|
|
1160
1148
|
] }),
|
|
1161
|
-
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ jsxs16("div", { className: "
|
|
1162
|
-
/* @__PURE__ */ jsx18("h3", { className: "
|
|
1163
|
-
/* @__PURE__ */ jsx18("div", { className: "
|
|
1149
|
+
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ jsxs16("div", { className: "fc-twoCard-platformsOuter", children: [
|
|
1150
|
+
/* @__PURE__ */ jsx18("h3", { className: "fc-twoCard-platformsHeading", children: card.platformsHeading ?? "Available on" }),
|
|
1151
|
+
/* @__PURE__ */ jsx18("div", { className: "fc-twoCard-platformRow", children: card.platforms.map((platform, i) => /* @__PURE__ */ jsxs16(
|
|
1164
1152
|
"a",
|
|
1165
1153
|
{
|
|
1166
|
-
className: "
|
|
1154
|
+
className: "fc-platformLink fc-platformLink--dark",
|
|
1167
1155
|
href: platform.href,
|
|
1168
1156
|
rel: externalLinkRel(platform.href),
|
|
1169
1157
|
children: [
|
|
@@ -1171,24 +1159,24 @@ var OneCardPanel = ({ card }) => {
|
|
|
1171
1159
|
"img",
|
|
1172
1160
|
{
|
|
1173
1161
|
alt: "",
|
|
1174
|
-
className: "
|
|
1162
|
+
className: "fc-platformLink-icon",
|
|
1175
1163
|
height: 32,
|
|
1176
1164
|
src: platform.iconSrc,
|
|
1177
1165
|
width: 32
|
|
1178
1166
|
}
|
|
1179
1167
|
),
|
|
1180
|
-
/* @__PURE__ */ jsx18("span", { className: "
|
|
1168
|
+
/* @__PURE__ */ jsx18("span", { className: "fc-platformLink-label", children: platform.label })
|
|
1181
1169
|
]
|
|
1182
1170
|
},
|
|
1183
1171
|
`${platform.label}-${i}`
|
|
1184
1172
|
)) })
|
|
1185
1173
|
] })
|
|
1186
1174
|
] }),
|
|
1187
|
-
card.image && /* @__PURE__ */ jsx18("div", { className: "
|
|
1175
|
+
card.image && /* @__PURE__ */ jsx18("div", { className: "fc-oneCardRight", children: /* @__PURE__ */ jsx18(
|
|
1188
1176
|
"img",
|
|
1189
1177
|
{
|
|
1190
1178
|
alt: card.imageAlt ?? "",
|
|
1191
|
-
className: "
|
|
1179
|
+
className: "fc-oneCardImage",
|
|
1192
1180
|
decoding: "async",
|
|
1193
1181
|
loading: "eager",
|
|
1194
1182
|
src: card.image
|
|
@@ -1196,24 +1184,25 @@ var OneCardPanel = ({ card }) => {
|
|
|
1196
1184
|
) })
|
|
1197
1185
|
] }) });
|
|
1198
1186
|
};
|
|
1199
|
-
var
|
|
1187
|
+
var FeatureCards = ({
|
|
1200
1188
|
variant = "default",
|
|
1201
1189
|
sectionTitle,
|
|
1202
1190
|
sectionDescription,
|
|
1203
1191
|
showLink = false,
|
|
1204
1192
|
linkText = "Learn more",
|
|
1205
1193
|
onLinkClick,
|
|
1194
|
+
cardColorScheme = "image",
|
|
1206
1195
|
cards
|
|
1207
1196
|
}) => {
|
|
1208
|
-
const sectionHeader = /* @__PURE__ */ jsxs16("div", { className: "
|
|
1209
|
-
|
|
1210
|
-
sectionDescription && /* @__PURE__ */ jsx18("p", { className: "
|
|
1197
|
+
const sectionHeader = /* @__PURE__ */ jsxs16("div", { className: "fc-header", children: [
|
|
1198
|
+
/* @__PURE__ */ jsx18("h2", { className: "fc-sectionTitle", children: sectionTitle }),
|
|
1199
|
+
sectionDescription && /* @__PURE__ */ jsx18("p", { className: "fc-sectionDescription", children: sectionDescription }),
|
|
1211
1200
|
showLink && /* @__PURE__ */ jsx18(Link, { colorScheme: "coral", label: linkText, onClick: onLinkClick })
|
|
1212
1201
|
] });
|
|
1213
1202
|
if (variant === "twoCards") {
|
|
1214
|
-
return /* @__PURE__ */ jsx18("section", { className: "
|
|
1203
|
+
return /* @__PURE__ */ jsx18("section", { className: "fc-section", children: /* @__PURE__ */ jsxs16("div", { className: "fc-container", children: [
|
|
1215
1204
|
sectionHeader,
|
|
1216
|
-
/* @__PURE__ */ jsx18("div", { className: "
|
|
1205
|
+
/* @__PURE__ */ jsx18("div", { className: "fc-grid fc-grid--twoCards", children: cards.map((card, index) => /* @__PURE__ */ jsx18(
|
|
1217
1206
|
TwoCardsItem,
|
|
1218
1207
|
{
|
|
1219
1208
|
card,
|
|
@@ -1225,17 +1214,49 @@ var FeatureCardsSecondary = ({
|
|
|
1225
1214
|
}
|
|
1226
1215
|
if (variant === "oneCard") {
|
|
1227
1216
|
const card = cards[0];
|
|
1228
|
-
if (!card)
|
|
1229
|
-
|
|
1230
|
-
}
|
|
1231
|
-
return /* @__PURE__ */ jsx18("section", { className: "fcs-section", children: /* @__PURE__ */ jsxs16("div", { className: "fcs-container", children: [
|
|
1217
|
+
if (!card) return null;
|
|
1218
|
+
return /* @__PURE__ */ jsx18("section", { className: "fc-section", children: /* @__PURE__ */ jsxs16("div", { className: "fc-container", children: [
|
|
1232
1219
|
sectionHeader,
|
|
1233
1220
|
/* @__PURE__ */ jsx18(OneCardPanel, { card })
|
|
1234
1221
|
] }) });
|
|
1235
1222
|
}
|
|
1236
|
-
return /* @__PURE__ */ jsx18("section", { className: "
|
|
1223
|
+
return /* @__PURE__ */ jsx18("section", { className: "fc-section", children: /* @__PURE__ */ jsxs16("div", { className: "fc-container", children: [
|
|
1237
1224
|
sectionHeader,
|
|
1238
|
-
/* @__PURE__ */ jsx18("div", { className: `
|
|
1225
|
+
/* @__PURE__ */ jsx18("div", { className: `fc-grid fc-grid--${cards.length === 4 ? "4" : "3"}`, children: cards.map((card, index) => /* @__PURE__ */ jsx18(
|
|
1226
|
+
Card,
|
|
1227
|
+
{
|
|
1228
|
+
variant: "primary",
|
|
1229
|
+
colorScheme: card.colorScheme ?? cardColorScheme,
|
|
1230
|
+
title: card.title,
|
|
1231
|
+
description: card.description,
|
|
1232
|
+
image: card.image,
|
|
1233
|
+
imageAlt: card.imageAlt,
|
|
1234
|
+
showLink: card.showLink,
|
|
1235
|
+
linkText: card.linkText,
|
|
1236
|
+
onLinkClick: card.onLinkClick
|
|
1237
|
+
},
|
|
1238
|
+
index
|
|
1239
|
+
)) })
|
|
1240
|
+
] }) });
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
// templates/FeatureCardsIcon/FeatureCardsIcon.tsx
|
|
1244
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1245
|
+
var FeatureCardsIcon = ({
|
|
1246
|
+
sectionTitle,
|
|
1247
|
+
sectionDescription,
|
|
1248
|
+
showLink = false,
|
|
1249
|
+
linkText = "Learn more",
|
|
1250
|
+
onLinkClick,
|
|
1251
|
+
cards
|
|
1252
|
+
}) => {
|
|
1253
|
+
return /* @__PURE__ */ jsx19("section", { className: "fci-section", children: /* @__PURE__ */ jsxs17("div", { className: "fci-container", children: [
|
|
1254
|
+
/* @__PURE__ */ jsxs17("div", { className: "fci-header", children: [
|
|
1255
|
+
sectionTitle && /* @__PURE__ */ jsx19("h2", { className: "fci-sectionTitle", children: sectionTitle }),
|
|
1256
|
+
sectionDescription && /* @__PURE__ */ jsx19("p", { className: "fci-sectionDescription", children: sectionDescription }),
|
|
1257
|
+
showLink && /* @__PURE__ */ jsx19(Link, { colorScheme: "coral", label: linkText, onClick: onLinkClick })
|
|
1258
|
+
] }),
|
|
1259
|
+
/* @__PURE__ */ jsx19("div", { className: `fci-grid fci-grid--${cards.length === 4 ? "4" : "3"}`, children: cards.map((card, index) => /* @__PURE__ */ jsx19(
|
|
1239
1260
|
Card,
|
|
1240
1261
|
{
|
|
1241
1262
|
variant: "secondary",
|
|
@@ -1256,8 +1277,8 @@ var FeatureCardsSecondary = ({
|
|
|
1256
1277
|
var FeatureBullets_default = {};
|
|
1257
1278
|
|
|
1258
1279
|
// templates/FeatureBullets/FeatureBullets.tsx
|
|
1259
|
-
import { jsx as
|
|
1260
|
-
var CheckIcon2 = () => /* @__PURE__ */
|
|
1280
|
+
import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1281
|
+
var CheckIcon2 = () => /* @__PURE__ */ jsx20("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", className: FeatureBullets_default.icon, children: /* @__PURE__ */ jsx20("path", { d: "M12 4.375C9.07031 4.375 6.41406 5.9375 4.92969 8.4375C3.48438 10.9766 3.48438 14.0625 4.92969 16.5625C6.41406 19.1016 9.07031 20.625 12 20.625C14.8906 20.625 17.5469 19.1016 19.0312 16.5625C20.4766 14.0625 20.4766 10.9766 19.0312 8.4375C17.5469 5.9375 14.8906 4.375 12 4.375ZM12 22.5C8.40625 22.5 5.125 20.625 3.32812 17.5C1.53125 14.4141 1.53125 10.625 3.32812 7.5C5.125 4.41406 8.40625 2.5 12 2.5C15.5547 2.5 18.8359 4.41406 20.6328 7.5C22.4297 10.625 22.4297 14.4141 20.6328 17.5C18.8359 20.625 15.5547 22.5 12 22.5ZM16.4141 10.6641L11.4141 15.6641C11.0234 16.0547 10.4375 16.0547 10.0859 15.6641L7.58594 13.1641C7.19531 12.8125 7.19531 12.2266 7.58594 11.875C7.9375 11.4844 8.52344 11.4844 8.91406 11.875L10.75 13.7109L15.0859 9.375C15.4375 8.98438 16.0234 8.98438 16.4141 9.375C16.7656 9.72656 16.7656 10.3125 16.4141 10.6641Z", fill: "currentColor" }) });
|
|
1261
1282
|
var FeatureBullets = ({
|
|
1262
1283
|
title,
|
|
1263
1284
|
bullets,
|
|
@@ -1265,7 +1286,7 @@ var FeatureBullets = ({
|
|
|
1265
1286
|
imageAlt = "",
|
|
1266
1287
|
imagePosition = "right"
|
|
1267
1288
|
}) => {
|
|
1268
|
-
return /* @__PURE__ */
|
|
1289
|
+
return /* @__PURE__ */ jsx20("section", { className: FeatureBullets_default.section, children: /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.container, children: /* @__PURE__ */ jsxs18(
|
|
1269
1290
|
"div",
|
|
1270
1291
|
{
|
|
1271
1292
|
className: [
|
|
@@ -1273,14 +1294,14 @@ var FeatureBullets = ({
|
|
|
1273
1294
|
imagePosition === "left" ? FeatureBullets_default["split--image-left"] : ""
|
|
1274
1295
|
].filter(Boolean).join(" "),
|
|
1275
1296
|
children: [
|
|
1276
|
-
/* @__PURE__ */
|
|
1277
|
-
/* @__PURE__ */
|
|
1278
|
-
bullets && bullets.length > 0 && /* @__PURE__ */
|
|
1279
|
-
/* @__PURE__ */
|
|
1280
|
-
/* @__PURE__ */
|
|
1297
|
+
/* @__PURE__ */ jsxs18("div", { className: FeatureBullets_default.content, children: [
|
|
1298
|
+
/* @__PURE__ */ jsx20("h2", { className: FeatureBullets_default.title, children: title }),
|
|
1299
|
+
bullets && bullets.length > 0 && /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.bulletList, children: bullets.map((bullet, i) => /* @__PURE__ */ jsxs18("div", { className: FeatureBullets_default.bulletItem, children: [
|
|
1300
|
+
/* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.iconWrapper, children: /* @__PURE__ */ jsx20(CheckIcon2, {}) }),
|
|
1301
|
+
/* @__PURE__ */ jsx20("p", { className: FeatureBullets_default.bulletText, children: bullet })
|
|
1281
1302
|
] }, i)) })
|
|
1282
1303
|
] }),
|
|
1283
|
-
image && /* @__PURE__ */
|
|
1304
|
+
image && /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.imageWrapper, children: /* @__PURE__ */ jsx20(
|
|
1284
1305
|
"img",
|
|
1285
1306
|
{
|
|
1286
1307
|
alt: imageAlt,
|
|
@@ -1295,8 +1316,8 @@ var FeatureBullets = ({
|
|
|
1295
1316
|
|
|
1296
1317
|
// components/Footer/Footer.tsx
|
|
1297
1318
|
import { useState as useState5 } from "react";
|
|
1298
|
-
import { Fragment as Fragment2, jsx as
|
|
1299
|
-
var ExternalLinkIcon = () => /* @__PURE__ */
|
|
1319
|
+
import { Fragment as Fragment2, jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1320
|
+
var ExternalLinkIcon = () => /* @__PURE__ */ jsx21(
|
|
1300
1321
|
"svg",
|
|
1301
1322
|
{
|
|
1302
1323
|
width: "12",
|
|
@@ -1305,7 +1326,7 @@ var ExternalLinkIcon = () => /* @__PURE__ */ jsx20(
|
|
|
1305
1326
|
fill: "none",
|
|
1306
1327
|
"aria-hidden": "true",
|
|
1307
1328
|
focusable: "false",
|
|
1308
|
-
children: /* @__PURE__ */
|
|
1329
|
+
children: /* @__PURE__ */ jsx21(
|
|
1309
1330
|
"path",
|
|
1310
1331
|
{
|
|
1311
1332
|
d: "M2 2H10M10 2V10M10 2L2 10",
|
|
@@ -1317,7 +1338,7 @@ var ExternalLinkIcon = () => /* @__PURE__ */ jsx20(
|
|
|
1317
1338
|
)
|
|
1318
1339
|
}
|
|
1319
1340
|
);
|
|
1320
|
-
var ChevronDownIcon2 = () => /* @__PURE__ */
|
|
1341
|
+
var ChevronDownIcon2 = () => /* @__PURE__ */ jsx21(
|
|
1321
1342
|
"svg",
|
|
1322
1343
|
{
|
|
1323
1344
|
width: "12",
|
|
@@ -1326,7 +1347,7 @@ var ChevronDownIcon2 = () => /* @__PURE__ */ jsx20(
|
|
|
1326
1347
|
fill: "none",
|
|
1327
1348
|
"aria-hidden": "true",
|
|
1328
1349
|
focusable: "false",
|
|
1329
|
-
children: /* @__PURE__ */
|
|
1350
|
+
children: /* @__PURE__ */ jsx21(
|
|
1330
1351
|
"path",
|
|
1331
1352
|
{
|
|
1332
1353
|
d: "M2 4L6 8L10 4",
|
|
@@ -1343,9 +1364,9 @@ var DerivGoBadges = ({
|
|
|
1343
1364
|
appStoreBadge,
|
|
1344
1365
|
huaweiBadge,
|
|
1345
1366
|
availabilityNote
|
|
1346
|
-
}) => /* @__PURE__ */
|
|
1347
|
-
/* @__PURE__ */
|
|
1348
|
-
googlePlayBadge && /* @__PURE__ */
|
|
1367
|
+
}) => /* @__PURE__ */ jsxs19(Fragment2, { children: [
|
|
1368
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__app-badges", children: [
|
|
1369
|
+
googlePlayBadge && /* @__PURE__ */ jsx21(
|
|
1349
1370
|
"a",
|
|
1350
1371
|
{
|
|
1351
1372
|
href: googlePlayBadge.href,
|
|
@@ -1353,10 +1374,10 @@ var DerivGoBadges = ({
|
|
|
1353
1374
|
"aria-label": googlePlayBadge.imageAlt,
|
|
1354
1375
|
target: "_blank",
|
|
1355
1376
|
rel: "noopener noreferrer",
|
|
1356
|
-
children: googlePlayBadge.icon ?? /* @__PURE__ */
|
|
1377
|
+
children: googlePlayBadge.icon ?? /* @__PURE__ */ jsx21("img", { src: googlePlayBadge.imageSrc, alt: googlePlayBadge.imageAlt })
|
|
1357
1378
|
}
|
|
1358
1379
|
),
|
|
1359
|
-
appStoreBadge && /* @__PURE__ */
|
|
1380
|
+
appStoreBadge && /* @__PURE__ */ jsx21(
|
|
1360
1381
|
"a",
|
|
1361
1382
|
{
|
|
1362
1383
|
href: appStoreBadge.href,
|
|
@@ -1364,10 +1385,10 @@ var DerivGoBadges = ({
|
|
|
1364
1385
|
"aria-label": appStoreBadge.imageAlt,
|
|
1365
1386
|
target: "_blank",
|
|
1366
1387
|
rel: "noopener noreferrer",
|
|
1367
|
-
children: appStoreBadge.icon ?? /* @__PURE__ */
|
|
1388
|
+
children: appStoreBadge.icon ?? /* @__PURE__ */ jsx21("img", { src: appStoreBadge.imageSrc, alt: appStoreBadge.imageAlt })
|
|
1368
1389
|
}
|
|
1369
1390
|
),
|
|
1370
|
-
huaweiBadge && /* @__PURE__ */
|
|
1391
|
+
huaweiBadge && /* @__PURE__ */ jsx21(
|
|
1371
1392
|
"a",
|
|
1372
1393
|
{
|
|
1373
1394
|
href: huaweiBadge.href,
|
|
@@ -1375,13 +1396,13 @@ var DerivGoBadges = ({
|
|
|
1375
1396
|
"aria-label": huaweiBadge.imageAlt,
|
|
1376
1397
|
target: "_blank",
|
|
1377
1398
|
rel: "noopener noreferrer",
|
|
1378
|
-
children: huaweiBadge.icon ?? /* @__PURE__ */
|
|
1399
|
+
children: huaweiBadge.icon ?? /* @__PURE__ */ jsx21("img", { src: huaweiBadge.imageSrc, alt: huaweiBadge.imageAlt })
|
|
1379
1400
|
}
|
|
1380
1401
|
)
|
|
1381
1402
|
] }),
|
|
1382
|
-
availabilityNote && /* @__PURE__ */
|
|
1403
|
+
availabilityNote && /* @__PURE__ */ jsx21("p", { className: "footer__app-note", children: availabilityNote })
|
|
1383
1404
|
] });
|
|
1384
|
-
var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */
|
|
1405
|
+
var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ jsxs19(
|
|
1385
1406
|
"a",
|
|
1386
1407
|
{
|
|
1387
1408
|
href,
|
|
@@ -1390,7 +1411,7 @@ var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ jsxs18(
|
|
|
1390
1411
|
...isExternal ? { target: "_blank", rel: "noopener noreferrer" } : {},
|
|
1391
1412
|
children: [
|
|
1392
1413
|
label,
|
|
1393
|
-
isExternal && /* @__PURE__ */
|
|
1414
|
+
isExternal && /* @__PURE__ */ jsx21(ExternalLinkIcon, {})
|
|
1394
1415
|
]
|
|
1395
1416
|
}
|
|
1396
1417
|
);
|
|
@@ -1422,14 +1443,14 @@ var Footer = ({
|
|
|
1422
1443
|
});
|
|
1423
1444
|
};
|
|
1424
1445
|
const aiLabel = aiSummary?.label ?? "Ask AI for a summary of Deriv";
|
|
1425
|
-
return /* @__PURE__ */
|
|
1446
|
+
return /* @__PURE__ */ jsx21(
|
|
1426
1447
|
"footer",
|
|
1427
1448
|
{
|
|
1428
1449
|
className: ["footer", className].filter(Boolean).join(" "),
|
|
1429
1450
|
...props,
|
|
1430
|
-
children: /* @__PURE__ */
|
|
1431
|
-
/* @__PURE__ */
|
|
1432
|
-
/* @__PURE__ */
|
|
1451
|
+
children: /* @__PURE__ */ jsxs19("div", { className: "footer__inner", children: [
|
|
1452
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__header", children: [
|
|
1453
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__logo-wrapper", children: /* @__PURE__ */ jsx21(
|
|
1433
1454
|
"img",
|
|
1434
1455
|
{
|
|
1435
1456
|
src: logoSrc,
|
|
@@ -1437,21 +1458,21 @@ var Footer = ({
|
|
|
1437
1458
|
className: "footer__logo"
|
|
1438
1459
|
}
|
|
1439
1460
|
) }),
|
|
1440
|
-
aiSummary && /* @__PURE__ */
|
|
1441
|
-
/* @__PURE__ */
|
|
1442
|
-
/* @__PURE__ */
|
|
1461
|
+
aiSummary && /* @__PURE__ */ jsxs19("div", { className: "footer__ai-bar footer__ai-bar--inline", children: [
|
|
1462
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__ai-bar-label", children: aiLabel }),
|
|
1463
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__ai-bar-icons", children: aiSummary.items.map((item, i) => /* @__PURE__ */ jsx21(
|
|
1443
1464
|
"a",
|
|
1444
1465
|
{
|
|
1445
1466
|
href: item.href,
|
|
1446
1467
|
"aria-label": item.imageAlt,
|
|
1447
1468
|
target: "_blank",
|
|
1448
1469
|
rel: "noopener noreferrer",
|
|
1449
|
-
children: /* @__PURE__ */
|
|
1470
|
+
children: /* @__PURE__ */ jsx21("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
|
|
1450
1471
|
},
|
|
1451
1472
|
i
|
|
1452
1473
|
)) })
|
|
1453
1474
|
] }),
|
|
1454
|
-
/* @__PURE__ */
|
|
1475
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__social footer__social--in-header", children: socialLinks.map((link, i) => /* @__PURE__ */ jsx21(
|
|
1455
1476
|
"a",
|
|
1456
1477
|
{
|
|
1457
1478
|
href: link.href,
|
|
@@ -1464,27 +1485,27 @@ var Footer = ({
|
|
|
1464
1485
|
i
|
|
1465
1486
|
)) })
|
|
1466
1487
|
] }),
|
|
1467
|
-
aiSummary && /* @__PURE__ */
|
|
1468
|
-
/* @__PURE__ */
|
|
1469
|
-
/* @__PURE__ */
|
|
1488
|
+
aiSummary && /* @__PURE__ */ jsx21("div", { className: "footer__ai-section", children: /* @__PURE__ */ jsxs19("div", { className: "footer__ai-bar footer__ai-bar--block", children: [
|
|
1489
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__ai-bar-label", children: aiLabel }),
|
|
1490
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__ai-bar-icons", children: aiSummary.items.map((item, i) => /* @__PURE__ */ jsx21(
|
|
1470
1491
|
"a",
|
|
1471
1492
|
{
|
|
1472
1493
|
href: item.href,
|
|
1473
1494
|
"aria-label": item.imageAlt,
|
|
1474
1495
|
target: "_blank",
|
|
1475
1496
|
rel: "noopener noreferrer",
|
|
1476
|
-
children: /* @__PURE__ */
|
|
1497
|
+
children: /* @__PURE__ */ jsx21("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
|
|
1477
1498
|
},
|
|
1478
1499
|
i
|
|
1479
1500
|
)) })
|
|
1480
1501
|
] }) }),
|
|
1481
|
-
/* @__PURE__ */
|
|
1482
|
-
navColumns.map((column, colIdx) => /* @__PURE__ */
|
|
1483
|
-
/* @__PURE__ */
|
|
1484
|
-
/* @__PURE__ */
|
|
1502
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__nav footer__nav--columns", children: [
|
|
1503
|
+
navColumns.map((column, colIdx) => /* @__PURE__ */ jsx21("div", { className: "footer__column", children: column.map((section, secIdx) => /* @__PURE__ */ jsxs19("div", { className: "footer__nav-section", children: [
|
|
1504
|
+
/* @__PURE__ */ jsx21("p", { className: "footer__nav-title", children: section.title }),
|
|
1505
|
+
/* @__PURE__ */ jsx21("ul", { className: "footer__nav-links", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(NavLink, { ...link }) }, linkIdx)) })
|
|
1485
1506
|
] }, secIdx)) }, colIdx)),
|
|
1486
|
-
/* @__PURE__ */
|
|
1487
|
-
investorsInPeopleSrc && /* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__sidebar", children: [
|
|
1508
|
+
investorsInPeopleSrc && /* @__PURE__ */ jsx21("div", { className: "footer__investors-card", children: /* @__PURE__ */ jsx21(
|
|
1488
1509
|
"img",
|
|
1489
1510
|
{
|
|
1490
1511
|
src: investorsInPeopleSrc,
|
|
@@ -1492,9 +1513,9 @@ var Footer = ({
|
|
|
1492
1513
|
className: "footer__investors-img"
|
|
1493
1514
|
}
|
|
1494
1515
|
) }),
|
|
1495
|
-
derivGo && /* @__PURE__ */
|
|
1496
|
-
/* @__PURE__ */
|
|
1497
|
-
/* @__PURE__ */
|
|
1516
|
+
derivGo && /* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-card", children: [
|
|
1517
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-header", children: [
|
|
1518
|
+
/* @__PURE__ */ jsx21(
|
|
1498
1519
|
"img",
|
|
1499
1520
|
{
|
|
1500
1521
|
src: derivGo.logoSrc,
|
|
@@ -1502,11 +1523,11 @@ var Footer = ({
|
|
|
1502
1523
|
className: "footer__deriv-go-logo"
|
|
1503
1524
|
}
|
|
1504
1525
|
),
|
|
1505
|
-
/* @__PURE__ */
|
|
1526
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__deriv-go-title", children: derivGo.title ?? "Deriv GO" })
|
|
1506
1527
|
] }),
|
|
1507
|
-
/* @__PURE__ */
|
|
1508
|
-
(derivGo.qrCodeSrc || derivGo.qrCodeIcon) && /* @__PURE__ */
|
|
1509
|
-
derivGo.qrCodeIcon ? /* @__PURE__ */
|
|
1528
|
+
/* @__PURE__ */ jsx21("p", { className: "footer__deriv-go-desc", children: derivGo.description ?? "Trade multipliers on our mobile app." }),
|
|
1529
|
+
(derivGo.qrCodeSrc || derivGo.qrCodeIcon) && /* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-qr", children: [
|
|
1530
|
+
derivGo.qrCodeIcon ? /* @__PURE__ */ jsx21("div", { className: "footer__deriv-go-qr-icon", children: derivGo.qrCodeIcon }) : /* @__PURE__ */ jsx21(
|
|
1510
1531
|
"img",
|
|
1511
1532
|
{
|
|
1512
1533
|
src: derivGo.qrCodeSrc,
|
|
@@ -1514,9 +1535,9 @@ var Footer = ({
|
|
|
1514
1535
|
className: "footer__deriv-go-qr-img"
|
|
1515
1536
|
}
|
|
1516
1537
|
),
|
|
1517
|
-
/* @__PURE__ */
|
|
1538
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__deriv-go-qr-label", children: derivGo.scanToDownloadLabel ?? "Scan to download" })
|
|
1518
1539
|
] }),
|
|
1519
|
-
/* @__PURE__ */
|
|
1540
|
+
/* @__PURE__ */ jsx21(
|
|
1520
1541
|
DerivGoBadges,
|
|
1521
1542
|
{
|
|
1522
1543
|
googlePlayBadge: derivGo.googlePlayBadge,
|
|
@@ -1528,9 +1549,9 @@ var Footer = ({
|
|
|
1528
1549
|
] })
|
|
1529
1550
|
] })
|
|
1530
1551
|
] }),
|
|
1531
|
-
/* @__PURE__ */
|
|
1552
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__nav footer__nav--accordion", children: allSections.map((section, idx) => {
|
|
1532
1553
|
const isOpen = openSections.has(idx);
|
|
1533
|
-
return /* @__PURE__ */
|
|
1554
|
+
return /* @__PURE__ */ jsxs19(
|
|
1534
1555
|
"div",
|
|
1535
1556
|
{
|
|
1536
1557
|
className: [
|
|
@@ -1538,7 +1559,7 @@ var Footer = ({
|
|
|
1538
1559
|
isOpen && "footer__accordion-item--open"
|
|
1539
1560
|
].filter(Boolean).join(" "),
|
|
1540
1561
|
children: [
|
|
1541
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ jsxs19(
|
|
1542
1563
|
"button",
|
|
1543
1564
|
{
|
|
1544
1565
|
type: "button",
|
|
@@ -1546,18 +1567,18 @@ var Footer = ({
|
|
|
1546
1567
|
onClick: () => toggleSection(idx),
|
|
1547
1568
|
"aria-expanded": isOpen,
|
|
1548
1569
|
children: [
|
|
1549
|
-
/* @__PURE__ */
|
|
1550
|
-
/* @__PURE__ */
|
|
1570
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__accordion-label", children: section.title }),
|
|
1571
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__accordion-chevron", children: /* @__PURE__ */ jsx21(ChevronDownIcon2, {}) })
|
|
1551
1572
|
]
|
|
1552
1573
|
}
|
|
1553
1574
|
),
|
|
1554
|
-
isOpen && /* @__PURE__ */
|
|
1575
|
+
isOpen && /* @__PURE__ */ jsx21("ul", { className: "footer__accordion-links", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(NavLink, { ...link }) }, linkIdx)) })
|
|
1555
1576
|
]
|
|
1556
1577
|
},
|
|
1557
1578
|
idx
|
|
1558
1579
|
);
|
|
1559
1580
|
}) }),
|
|
1560
|
-
socialLinks.length > 0 && /* @__PURE__ */
|
|
1581
|
+
socialLinks.length > 0 && /* @__PURE__ */ jsx21("div", { className: "footer__social footer__social--standalone", children: socialLinks.map((link, i) => /* @__PURE__ */ jsx21(
|
|
1561
1582
|
"a",
|
|
1562
1583
|
{
|
|
1563
1584
|
href: link.href,
|
|
@@ -1569,10 +1590,10 @@ var Footer = ({
|
|
|
1569
1590
|
},
|
|
1570
1591
|
i
|
|
1571
1592
|
)) }),
|
|
1572
|
-
derivGo && /* @__PURE__ */
|
|
1573
|
-
/* @__PURE__ */
|
|
1574
|
-
/* @__PURE__ */
|
|
1575
|
-
/* @__PURE__ */
|
|
1593
|
+
derivGo && /* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-banner", children: [
|
|
1594
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-banner-info", children: [
|
|
1595
|
+
/* @__PURE__ */ jsxs19("div", { className: "footer__deriv-go-header", children: [
|
|
1596
|
+
/* @__PURE__ */ jsx21(
|
|
1576
1597
|
"img",
|
|
1577
1598
|
{
|
|
1578
1599
|
src: derivGo.logoSrc,
|
|
@@ -1580,11 +1601,11 @@ var Footer = ({
|
|
|
1580
1601
|
className: "footer__deriv-go-logo"
|
|
1581
1602
|
}
|
|
1582
1603
|
),
|
|
1583
|
-
/* @__PURE__ */
|
|
1604
|
+
/* @__PURE__ */ jsx21("span", { className: "footer__deriv-go-title", children: derivGo.title ?? "Deriv GO" })
|
|
1584
1605
|
] }),
|
|
1585
|
-
/* @__PURE__ */
|
|
1606
|
+
/* @__PURE__ */ jsx21("p", { className: "footer__deriv-go-desc", children: derivGo.description ?? "Trade multipliers on our mobile app." })
|
|
1586
1607
|
] }),
|
|
1587
|
-
/* @__PURE__ */
|
|
1608
|
+
/* @__PURE__ */ jsx21("div", { className: "footer__deriv-go-banner-badges", children: /* @__PURE__ */ jsx21(
|
|
1588
1609
|
DerivGoBadges,
|
|
1589
1610
|
{
|
|
1590
1611
|
googlePlayBadge: derivGo.googlePlayBadge,
|
|
@@ -1594,11 +1615,11 @@ var Footer = ({
|
|
|
1594
1615
|
}
|
|
1595
1616
|
) })
|
|
1596
1617
|
] }),
|
|
1597
|
-
(licenseText || riskWarningText) && /* @__PURE__ */
|
|
1598
|
-
licenseText && /* @__PURE__ */
|
|
1599
|
-
riskWarningText && /* @__PURE__ */
|
|
1618
|
+
(licenseText || riskWarningText) && /* @__PURE__ */ jsxs19("div", { className: "footer__legal-block", children: [
|
|
1619
|
+
licenseText && /* @__PURE__ */ jsx21("div", { className: "footer__license", children: licenseText }),
|
|
1620
|
+
riskWarningText && /* @__PURE__ */ jsx21("div", { className: "footer__risk-warning", children: /* @__PURE__ */ jsx21("p", { className: "footer__risk-warning-text", children: riskWarningText }) })
|
|
1600
1621
|
] }),
|
|
1601
|
-
investorsInPeopleSrc && /* @__PURE__ */
|
|
1622
|
+
investorsInPeopleSrc && /* @__PURE__ */ jsx21("div", { className: "footer__investors-stacked", children: /* @__PURE__ */ jsx21(
|
|
1602
1623
|
"img",
|
|
1603
1624
|
{
|
|
1604
1625
|
src: investorsInPeopleSrc,
|
|
@@ -1612,70 +1633,19 @@ var Footer = ({
|
|
|
1612
1633
|
};
|
|
1613
1634
|
|
|
1614
1635
|
// templates/Hero/Hero.tsx
|
|
1615
|
-
import {
|
|
1616
|
-
import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1636
|
+
import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1617
1637
|
var Visual = ({
|
|
1618
1638
|
src,
|
|
1619
1639
|
className,
|
|
1620
1640
|
alt = ""
|
|
1621
|
-
}) => /* @__PURE__ */
|
|
1622
|
-
var
|
|
1623
|
-
variant,
|
|
1624
|
-
subtitle,
|
|
1625
|
-
title,
|
|
1626
|
-
description,
|
|
1641
|
+
}) => /* @__PURE__ */ jsx22("div", { className, children: typeof src === "string" ? /* @__PURE__ */ jsx22("img", { src, alt }) : src });
|
|
1642
|
+
var ButtonBlock = ({
|
|
1627
1643
|
primaryButton,
|
|
1628
|
-
secondaryButton
|
|
1629
|
-
backgroundImageSrc,
|
|
1630
|
-
heroImage,
|
|
1631
|
-
leftVisual,
|
|
1632
|
-
rightVisual,
|
|
1633
|
-
productImage,
|
|
1634
|
-
floatingImage,
|
|
1635
|
-
className,
|
|
1636
|
-
...props
|
|
1644
|
+
secondaryButton
|
|
1637
1645
|
}) => {
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
const rightRef = useRef3(null);
|
|
1642
|
-
useEffect3(() => {
|
|
1643
|
-
if (variant !== "visuals") return;
|
|
1644
|
-
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
1645
|
-
const section = sectionRef.current;
|
|
1646
|
-
const leftEl = leftRef.current;
|
|
1647
|
-
const rightEl = rightRef.current;
|
|
1648
|
-
if (!section || !leftEl || !rightEl) return;
|
|
1649
|
-
const STRENGTH = 60;
|
|
1650
|
-
const onScroll = () => {
|
|
1651
|
-
const rect = section.getBoundingClientRect();
|
|
1652
|
-
const viewH = window.innerHeight;
|
|
1653
|
-
const progress = 1 - rect.bottom / (viewH + rect.height);
|
|
1654
|
-
const clamped = Math.max(0, Math.min(1, progress));
|
|
1655
|
-
const offset = (clamped - 0.5) * STRENGTH * 2;
|
|
1656
|
-
leftEl.style.transform = `translateY(${-offset}px)`;
|
|
1657
|
-
rightEl.style.transform = `translateY(${offset}px)`;
|
|
1658
|
-
};
|
|
1659
|
-
const scrollEl = (() => {
|
|
1660
|
-
let el = section.parentElement;
|
|
1661
|
-
while (el && el !== document.documentElement) {
|
|
1662
|
-
const { overflow, overflowY } = getComputedStyle(el);
|
|
1663
|
-
if (/auto|scroll/.test(overflow + overflowY)) return el;
|
|
1664
|
-
el = el.parentElement;
|
|
1665
|
-
}
|
|
1666
|
-
return window;
|
|
1667
|
-
})();
|
|
1668
|
-
scrollEl.addEventListener("scroll", onScroll, { passive: true });
|
|
1669
|
-
onScroll();
|
|
1670
|
-
return () => scrollEl.removeEventListener("scroll", onScroll);
|
|
1671
|
-
}, [variant]);
|
|
1672
|
-
const textBlock = /* @__PURE__ */ jsxs19("div", { className: "hero__text", children: [
|
|
1673
|
-
subtitle && /* @__PURE__ */ jsx21("p", { className: "hero__subtitle", children: subtitle }),
|
|
1674
|
-
/* @__PURE__ */ jsx21("h2", { className: "hero__title", children: title }),
|
|
1675
|
-
description && /* @__PURE__ */ jsx21("p", { className: "hero__description", children: description })
|
|
1676
|
-
] });
|
|
1677
|
-
const buttonBlock = (primaryButton || secondaryButton) && /* @__PURE__ */ jsxs19("div", { className: "hero__buttons", children: [
|
|
1678
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ jsx21("a", { href: primaryButton.href, children: /* @__PURE__ */ jsx21(
|
|
1646
|
+
if (!primaryButton && !secondaryButton) return null;
|
|
1647
|
+
return /* @__PURE__ */ jsxs20("div", { className: "hero__buttons", children: [
|
|
1648
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ jsx22("a", { href: primaryButton.href, children: /* @__PURE__ */ jsx22(
|
|
1679
1649
|
Button,
|
|
1680
1650
|
{
|
|
1681
1651
|
colorScheme: "coral",
|
|
@@ -1683,7 +1653,7 @@ var Hero = ({
|
|
|
1683
1653
|
label: primaryButton.label,
|
|
1684
1654
|
onClick: primaryButton.onClick
|
|
1685
1655
|
}
|
|
1686
|
-
) }) : /* @__PURE__ */
|
|
1656
|
+
) }) : /* @__PURE__ */ jsx22(
|
|
1687
1657
|
Button,
|
|
1688
1658
|
{
|
|
1689
1659
|
colorScheme: "coral",
|
|
@@ -1692,7 +1662,7 @@ var Hero = ({
|
|
|
1692
1662
|
onClick: primaryButton.onClick
|
|
1693
1663
|
}
|
|
1694
1664
|
)),
|
|
1695
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */
|
|
1665
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ jsx22("a", { href: secondaryButton.href, children: /* @__PURE__ */ jsx22(
|
|
1696
1666
|
Button,
|
|
1697
1667
|
{
|
|
1698
1668
|
colorScheme: "white",
|
|
@@ -1700,7 +1670,7 @@ var Hero = ({
|
|
|
1700
1670
|
label: secondaryButton.label,
|
|
1701
1671
|
onClick: secondaryButton.onClick
|
|
1702
1672
|
}
|
|
1703
|
-
) }) : /* @__PURE__ */
|
|
1673
|
+
) }) : /* @__PURE__ */ jsx22(
|
|
1704
1674
|
Button,
|
|
1705
1675
|
{
|
|
1706
1676
|
colorScheme: "white",
|
|
@@ -1710,191 +1680,70 @@ var Hero = ({
|
|
|
1710
1680
|
}
|
|
1711
1681
|
))
|
|
1712
1682
|
] });
|
|
1683
|
+
};
|
|
1684
|
+
var Hero = ({
|
|
1685
|
+
variant,
|
|
1686
|
+
subtitle,
|
|
1687
|
+
title,
|
|
1688
|
+
description,
|
|
1689
|
+
primaryButton,
|
|
1690
|
+
secondaryButton,
|
|
1691
|
+
backgroundImageSrc,
|
|
1692
|
+
heroImage,
|
|
1693
|
+
productImage,
|
|
1694
|
+
floatingImage,
|
|
1695
|
+
className,
|
|
1696
|
+
...props
|
|
1697
|
+
}) => {
|
|
1698
|
+
const variantClass = `hero--${variant}`;
|
|
1713
1699
|
if (variant === "split") {
|
|
1714
|
-
return /* @__PURE__ */
|
|
1700
|
+
return /* @__PURE__ */ jsxs20(
|
|
1715
1701
|
"section",
|
|
1716
1702
|
{
|
|
1717
1703
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1718
1704
|
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1719
1705
|
...props,
|
|
1720
1706
|
children: [
|
|
1721
|
-
/* @__PURE__ */
|
|
1722
|
-
heroImage && /* @__PURE__ */
|
|
1723
|
-
|
|
1724
|
-
{
|
|
1725
|
-
|
|
1726
|
-
className: "
|
|
1727
|
-
|
|
1728
|
-
}
|
|
1729
|
-
),
|
|
1730
|
-
/* @__PURE__ */ jsx21("div", { className: "hero__inner", children: /* @__PURE__ */ jsx21("div", { className: "hero__content", children: /* @__PURE__ */ jsx21("div", { className: "hero__left", children: /* @__PURE__ */ jsxs19("div", { className: "hero__body", children: [
|
|
1731
|
-
/* @__PURE__ */ jsxs19("div", { className: "hero__text", children: [
|
|
1732
|
-
subtitle && /* @__PURE__ */ jsx21("p", { className: "hero__subtitle", children: subtitle }),
|
|
1733
|
-
/* @__PURE__ */ jsx21("h2", { className: "hero__title", children: title }),
|
|
1734
|
-
description && /* @__PURE__ */ jsx21("p", { className: "hero__description", children: description })
|
|
1707
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1708
|
+
heroImage && /* @__PURE__ */ jsx22(Visual, { src: heroImage, className: "hero__image-slot", alt: "" }),
|
|
1709
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__inner", children: /* @__PURE__ */ jsx22("div", { className: "hero__content", children: /* @__PURE__ */ jsx22("div", { className: "hero__left", children: /* @__PURE__ */ jsxs20("div", { className: "hero__body", children: [
|
|
1710
|
+
/* @__PURE__ */ jsxs20("div", { className: "hero__text", children: [
|
|
1711
|
+
subtitle && /* @__PURE__ */ jsx22("p", { className: "hero__subtitle", children: subtitle }),
|
|
1712
|
+
/* @__PURE__ */ jsx22("h2", { className: "hero__title", children: title }),
|
|
1713
|
+
description && /* @__PURE__ */ jsx22("p", { className: "hero__description", children: description })
|
|
1735
1714
|
] }),
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
onClick: primaryButton.onClick
|
|
1744
|
-
}
|
|
1745
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1746
|
-
Button,
|
|
1747
|
-
{
|
|
1748
|
-
colorScheme: "coral",
|
|
1749
|
-
variant: "primary",
|
|
1750
|
-
label: primaryButton.label,
|
|
1751
|
-
onClick: primaryButton.onClick
|
|
1752
|
-
}
|
|
1753
|
-
)),
|
|
1754
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ jsx21("a", { href: secondaryButton.href, children: /* @__PURE__ */ jsx21(
|
|
1755
|
-
Button,
|
|
1756
|
-
{
|
|
1757
|
-
colorScheme: "white",
|
|
1758
|
-
variant: "secondary",
|
|
1759
|
-
label: secondaryButton.label,
|
|
1760
|
-
onClick: secondaryButton.onClick
|
|
1761
|
-
}
|
|
1762
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1763
|
-
Button,
|
|
1764
|
-
{
|
|
1765
|
-
colorScheme: "white",
|
|
1766
|
-
variant: "secondary",
|
|
1767
|
-
label: secondaryButton.label,
|
|
1768
|
-
onClick: secondaryButton.onClick
|
|
1769
|
-
}
|
|
1770
|
-
))
|
|
1771
|
-
] })
|
|
1715
|
+
/* @__PURE__ */ jsx22(
|
|
1716
|
+
ButtonBlock,
|
|
1717
|
+
{
|
|
1718
|
+
primaryButton,
|
|
1719
|
+
secondaryButton
|
|
1720
|
+
}
|
|
1721
|
+
)
|
|
1772
1722
|
] }) }) }) })
|
|
1773
1723
|
]
|
|
1774
1724
|
}
|
|
1775
1725
|
);
|
|
1776
1726
|
}
|
|
1777
1727
|
if (variant === "centered") {
|
|
1778
|
-
return /* @__PURE__ */
|
|
1779
|
-
"section",
|
|
1780
|
-
{
|
|
1781
|
-
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1782
|
-
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1783
|
-
...props,
|
|
1784
|
-
children: [
|
|
1785
|
-
/* @__PURE__ */ jsx21("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1786
|
-
/* @__PURE__ */ jsx21("div", { className: "hero__inner", children: /* @__PURE__ */ jsxs19("div", { className: "hero__content", children: [
|
|
1787
|
-
/* @__PURE__ */ jsxs19("div", { className: "hero__text", children: [
|
|
1788
|
-
subtitle && /* @__PURE__ */ jsx21("p", { className: "hero__subtitle", children: subtitle }),
|
|
1789
|
-
/* @__PURE__ */ jsx21("h2", { className: "hero__title", children: title }),
|
|
1790
|
-
description && /* @__PURE__ */ jsx21("p", { className: "hero__description", children: description })
|
|
1791
|
-
] }),
|
|
1792
|
-
(primaryButton || secondaryButton) && /* @__PURE__ */ jsxs19("div", { className: "hero__buttons", children: [
|
|
1793
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ jsx21("a", { href: primaryButton.href, children: /* @__PURE__ */ jsx21(
|
|
1794
|
-
Button,
|
|
1795
|
-
{
|
|
1796
|
-
colorScheme: "coral",
|
|
1797
|
-
variant: "primary",
|
|
1798
|
-
label: primaryButton.label,
|
|
1799
|
-
onClick: primaryButton.onClick
|
|
1800
|
-
}
|
|
1801
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1802
|
-
Button,
|
|
1803
|
-
{
|
|
1804
|
-
colorScheme: "coral",
|
|
1805
|
-
variant: "primary",
|
|
1806
|
-
label: primaryButton.label,
|
|
1807
|
-
onClick: primaryButton.onClick
|
|
1808
|
-
}
|
|
1809
|
-
)),
|
|
1810
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ jsx21("a", { href: secondaryButton.href, children: /* @__PURE__ */ jsx21(
|
|
1811
|
-
Button,
|
|
1812
|
-
{
|
|
1813
|
-
colorScheme: "white",
|
|
1814
|
-
variant: "secondary",
|
|
1815
|
-
label: secondaryButton.label,
|
|
1816
|
-
onClick: secondaryButton.onClick
|
|
1817
|
-
}
|
|
1818
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1819
|
-
Button,
|
|
1820
|
-
{
|
|
1821
|
-
colorScheme: "white",
|
|
1822
|
-
variant: "secondary",
|
|
1823
|
-
label: secondaryButton.label,
|
|
1824
|
-
onClick: secondaryButton.onClick
|
|
1825
|
-
}
|
|
1826
|
-
))
|
|
1827
|
-
] })
|
|
1828
|
-
] }) })
|
|
1829
|
-
]
|
|
1830
|
-
}
|
|
1831
|
-
);
|
|
1832
|
-
}
|
|
1833
|
-
if (variant === "showcase") {
|
|
1834
|
-
return /* @__PURE__ */ jsxs19(
|
|
1728
|
+
return /* @__PURE__ */ jsxs20(
|
|
1835
1729
|
"section",
|
|
1836
1730
|
{
|
|
1837
1731
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1838
1732
|
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1839
1733
|
...props,
|
|
1840
1734
|
children: [
|
|
1841
|
-
/* @__PURE__ */
|
|
1842
|
-
/* @__PURE__ */
|
|
1843
|
-
/* @__PURE__ */
|
|
1844
|
-
subtitle && /* @__PURE__ */
|
|
1845
|
-
/* @__PURE__ */
|
|
1846
|
-
description && /* @__PURE__ */
|
|
1735
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1736
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__inner", children: /* @__PURE__ */ jsxs20("div", { className: "hero__content", children: [
|
|
1737
|
+
/* @__PURE__ */ jsxs20("div", { className: "hero__text", children: [
|
|
1738
|
+
subtitle && /* @__PURE__ */ jsx22("p", { className: "hero__subtitle", children: subtitle }),
|
|
1739
|
+
/* @__PURE__ */ jsx22("h2", { className: "hero__title", children: title }),
|
|
1740
|
+
description && /* @__PURE__ */ jsx22("p", { className: "hero__description", children: description })
|
|
1847
1741
|
] }),
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
Button,
|
|
1851
|
-
{
|
|
1852
|
-
colorScheme: "coral",
|
|
1853
|
-
variant: "primary",
|
|
1854
|
-
label: primaryButton.label,
|
|
1855
|
-
onClick: primaryButton.onClick
|
|
1856
|
-
}
|
|
1857
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1858
|
-
Button,
|
|
1859
|
-
{
|
|
1860
|
-
colorScheme: "coral",
|
|
1861
|
-
variant: "primary",
|
|
1862
|
-
label: primaryButton.label,
|
|
1863
|
-
onClick: primaryButton.onClick
|
|
1864
|
-
}
|
|
1865
|
-
)),
|
|
1866
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ jsx21("a", { href: secondaryButton.href, children: /* @__PURE__ */ jsx21(
|
|
1867
|
-
Button,
|
|
1868
|
-
{
|
|
1869
|
-
colorScheme: "white",
|
|
1870
|
-
variant: "secondary",
|
|
1871
|
-
label: secondaryButton.label,
|
|
1872
|
-
onClick: secondaryButton.onClick
|
|
1873
|
-
}
|
|
1874
|
-
) }) : /* @__PURE__ */ jsx21(
|
|
1875
|
-
Button,
|
|
1876
|
-
{
|
|
1877
|
-
colorScheme: "white",
|
|
1878
|
-
variant: "secondary",
|
|
1879
|
-
label: secondaryButton.label,
|
|
1880
|
-
onClick: secondaryButton.onClick
|
|
1881
|
-
}
|
|
1882
|
-
))
|
|
1883
|
-
] }),
|
|
1884
|
-
productImage && /* @__PURE__ */ jsx21(
|
|
1885
|
-
Visual,
|
|
1742
|
+
/* @__PURE__ */ jsx22(
|
|
1743
|
+
ButtonBlock,
|
|
1886
1744
|
{
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
alt: ""
|
|
1890
|
-
}
|
|
1891
|
-
),
|
|
1892
|
-
floatingImage && /* @__PURE__ */ jsx21(
|
|
1893
|
-
Visual,
|
|
1894
|
-
{
|
|
1895
|
-
src: floatingImage,
|
|
1896
|
-
className: "hero__floating-image",
|
|
1897
|
-
alt: ""
|
|
1745
|
+
primaryButton,
|
|
1746
|
+
secondaryButton
|
|
1898
1747
|
}
|
|
1899
1748
|
)
|
|
1900
1749
|
] }) })
|
|
@@ -1902,20 +1751,165 @@ var Hero = ({
|
|
|
1902
1751
|
}
|
|
1903
1752
|
);
|
|
1904
1753
|
}
|
|
1905
|
-
return /* @__PURE__ */
|
|
1754
|
+
return /* @__PURE__ */ jsxs20(
|
|
1906
1755
|
"section",
|
|
1907
1756
|
{
|
|
1908
|
-
ref: sectionRef,
|
|
1909
1757
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1758
|
+
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1759
|
+
...props,
|
|
1760
|
+
children: [
|
|
1761
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1762
|
+
/* @__PURE__ */ jsx22("div", { className: "hero__inner", children: /* @__PURE__ */ jsxs20("div", { className: "hero__content", children: [
|
|
1763
|
+
/* @__PURE__ */ jsxs20("div", { className: "hero__text", children: [
|
|
1764
|
+
subtitle && /* @__PURE__ */ jsx22("p", { className: "hero__subtitle", children: subtitle }),
|
|
1765
|
+
/* @__PURE__ */ jsx22("h2", { className: "hero__title", children: title }),
|
|
1766
|
+
description && /* @__PURE__ */ jsx22("p", { className: "hero__description", children: description })
|
|
1767
|
+
] }),
|
|
1768
|
+
/* @__PURE__ */ jsx22(
|
|
1769
|
+
ButtonBlock,
|
|
1770
|
+
{
|
|
1771
|
+
primaryButton,
|
|
1772
|
+
secondaryButton
|
|
1773
|
+
}
|
|
1774
|
+
),
|
|
1775
|
+
productImage && /* @__PURE__ */ jsx22(
|
|
1776
|
+
Visual,
|
|
1777
|
+
{
|
|
1778
|
+
src: productImage,
|
|
1779
|
+
className: "hero__product-image",
|
|
1780
|
+
alt: ""
|
|
1781
|
+
}
|
|
1782
|
+
),
|
|
1783
|
+
floatingImage && /* @__PURE__ */ jsx22(
|
|
1784
|
+
Visual,
|
|
1785
|
+
{
|
|
1786
|
+
src: floatingImage,
|
|
1787
|
+
className: "hero__floating-image",
|
|
1788
|
+
alt: ""
|
|
1789
|
+
}
|
|
1790
|
+
)
|
|
1791
|
+
] }) })
|
|
1792
|
+
]
|
|
1793
|
+
}
|
|
1794
|
+
);
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
// templates/Header/Header.tsx
|
|
1798
|
+
import { useEffect as useEffect3, useRef as useRef3 } from "react";
|
|
1799
|
+
import { jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1800
|
+
var ButtonBlock2 = ({
|
|
1801
|
+
primaryButton,
|
|
1802
|
+
secondaryButton
|
|
1803
|
+
}) => {
|
|
1804
|
+
if (!primaryButton && !secondaryButton) return null;
|
|
1805
|
+
return /* @__PURE__ */ jsxs21("div", { className: "header__buttons", children: [
|
|
1806
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ jsx23("a", { href: primaryButton.href, children: /* @__PURE__ */ jsx23(
|
|
1807
|
+
Button,
|
|
1808
|
+
{
|
|
1809
|
+
colorScheme: "coral",
|
|
1810
|
+
variant: "primary",
|
|
1811
|
+
label: primaryButton.label,
|
|
1812
|
+
onClick: primaryButton.onClick
|
|
1813
|
+
}
|
|
1814
|
+
) }) : /* @__PURE__ */ jsx23(
|
|
1815
|
+
Button,
|
|
1816
|
+
{
|
|
1817
|
+
colorScheme: "coral",
|
|
1818
|
+
variant: "primary",
|
|
1819
|
+
label: primaryButton.label,
|
|
1820
|
+
onClick: primaryButton.onClick
|
|
1821
|
+
}
|
|
1822
|
+
)),
|
|
1823
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ jsx23("a", { href: secondaryButton.href, children: /* @__PURE__ */ jsx23(
|
|
1824
|
+
Button,
|
|
1825
|
+
{
|
|
1826
|
+
colorScheme: "white",
|
|
1827
|
+
variant: "secondary",
|
|
1828
|
+
label: secondaryButton.label,
|
|
1829
|
+
onClick: secondaryButton.onClick
|
|
1830
|
+
}
|
|
1831
|
+
) }) : /* @__PURE__ */ jsx23(
|
|
1832
|
+
Button,
|
|
1833
|
+
{
|
|
1834
|
+
colorScheme: "white",
|
|
1835
|
+
variant: "secondary",
|
|
1836
|
+
label: secondaryButton.label,
|
|
1837
|
+
onClick: secondaryButton.onClick
|
|
1838
|
+
}
|
|
1839
|
+
))
|
|
1840
|
+
] });
|
|
1841
|
+
};
|
|
1842
|
+
var Header = ({
|
|
1843
|
+
variant,
|
|
1844
|
+
subtitle,
|
|
1845
|
+
title,
|
|
1846
|
+
description,
|
|
1847
|
+
primaryButton,
|
|
1848
|
+
secondaryButton,
|
|
1849
|
+
leftVisual,
|
|
1850
|
+
rightVisual,
|
|
1851
|
+
className,
|
|
1852
|
+
...props
|
|
1853
|
+
}) => {
|
|
1854
|
+
const variantClass = `header--${variant}`;
|
|
1855
|
+
const sectionRef = useRef3(null);
|
|
1856
|
+
const leftRef = useRef3(null);
|
|
1857
|
+
const rightRef = useRef3(null);
|
|
1858
|
+
useEffect3(() => {
|
|
1859
|
+
if (variant !== "visuals") return;
|
|
1860
|
+
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
1861
|
+
const section = sectionRef.current;
|
|
1862
|
+
const leftEl = leftRef.current;
|
|
1863
|
+
const rightEl = rightRef.current;
|
|
1864
|
+
if (!section || !leftEl || !rightEl) return;
|
|
1865
|
+
const STRENGTH = 60;
|
|
1866
|
+
const onScroll = () => {
|
|
1867
|
+
const rect = section.getBoundingClientRect();
|
|
1868
|
+
const viewH = window.innerHeight;
|
|
1869
|
+
const progress = 1 - rect.bottom / (viewH + rect.height);
|
|
1870
|
+
const clamped = Math.max(0, Math.min(1, progress));
|
|
1871
|
+
const offset = (clamped - 0.5) * STRENGTH * 2;
|
|
1872
|
+
leftEl.style.transform = `translateY(${-offset}px)`;
|
|
1873
|
+
rightEl.style.transform = `translateY(${offset}px)`;
|
|
1874
|
+
};
|
|
1875
|
+
const scrollEl = (() => {
|
|
1876
|
+
let el = section.parentElement;
|
|
1877
|
+
while (el && el !== document.documentElement) {
|
|
1878
|
+
const { overflow, overflowY } = getComputedStyle(el);
|
|
1879
|
+
if (/auto|scroll/.test(overflow + overflowY)) return el;
|
|
1880
|
+
el = el.parentElement;
|
|
1881
|
+
}
|
|
1882
|
+
return window;
|
|
1883
|
+
})();
|
|
1884
|
+
scrollEl.addEventListener("scroll", onScroll, { passive: true });
|
|
1885
|
+
onScroll();
|
|
1886
|
+
return () => scrollEl.removeEventListener("scroll", onScroll);
|
|
1887
|
+
}, [variant]);
|
|
1888
|
+
const textBlock = /* @__PURE__ */ jsxs21("div", { className: "header__text", children: [
|
|
1889
|
+
subtitle && /* @__PURE__ */ jsx23("p", { className: "header__subtitle", children: subtitle }),
|
|
1890
|
+
/* @__PURE__ */ jsx23("h2", { className: "header__title", children: title }),
|
|
1891
|
+
description && /* @__PURE__ */ jsx23("p", { className: "header__description", children: description })
|
|
1892
|
+
] });
|
|
1893
|
+
return /* @__PURE__ */ jsxs21(
|
|
1894
|
+
"section",
|
|
1895
|
+
{
|
|
1896
|
+
ref: sectionRef,
|
|
1897
|
+
className: ["header", variantClass, className].filter(Boolean).join(" "),
|
|
1910
1898
|
...props,
|
|
1911
1899
|
children: [
|
|
1912
|
-
/* @__PURE__ */
|
|
1913
|
-
variant === "visuals" && leftVisual && /* @__PURE__ */
|
|
1914
|
-
variant === "visuals" && rightVisual && /* @__PURE__ */
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
1900
|
+
/* @__PURE__ */ jsx23("div", { className: "header__grid", "aria-hidden": "true" }),
|
|
1901
|
+
variant === "visuals" && leftVisual && /* @__PURE__ */ jsx23("div", { ref: leftRef, className: "header__visual header__visual--left", children: typeof leftVisual === "string" ? /* @__PURE__ */ jsx23("img", { src: leftVisual, alt: "" }) : leftVisual }),
|
|
1902
|
+
variant === "visuals" && rightVisual && /* @__PURE__ */ jsx23("div", { ref: rightRef, className: "header__visual header__visual--right", children: typeof rightVisual === "string" ? /* @__PURE__ */ jsx23("img", { src: rightVisual, alt: "" }) : rightVisual }),
|
|
1903
|
+
/* @__PURE__ */ jsx23("div", { className: "header__overlay", "aria-hidden": "true" }),
|
|
1904
|
+
/* @__PURE__ */ jsx23("div", { className: "header__inner", children: /* @__PURE__ */ jsx23("div", { className: "header__content", children: /* @__PURE__ */ jsxs21("div", { className: "header__body", children: [
|
|
1917
1905
|
textBlock,
|
|
1918
|
-
|
|
1906
|
+
/* @__PURE__ */ jsx23(
|
|
1907
|
+
ButtonBlock2,
|
|
1908
|
+
{
|
|
1909
|
+
primaryButton,
|
|
1910
|
+
secondaryButton
|
|
1911
|
+
}
|
|
1912
|
+
)
|
|
1919
1913
|
] }) }) })
|
|
1920
1914
|
]
|
|
1921
1915
|
}
|
|
@@ -1924,7 +1918,7 @@ var Hero = ({
|
|
|
1924
1918
|
|
|
1925
1919
|
// templates/Stats/Stats.tsx
|
|
1926
1920
|
import { useEffect as useEffect4, useRef as useRef4, useState as useState6 } from "react";
|
|
1927
|
-
import { jsx as
|
|
1921
|
+
import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1928
1922
|
var INTERVAL_MS = 2e3;
|
|
1929
1923
|
var TRANSITION = "transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)";
|
|
1930
1924
|
var PARALLAX_FACTOR = 0.18;
|
|
@@ -1951,7 +1945,7 @@ function getStatStyle(rel) {
|
|
|
1951
1945
|
transition: TRANSITION
|
|
1952
1946
|
};
|
|
1953
1947
|
}
|
|
1954
|
-
var AwardBadge = ({ imageSrc, imageAlt = "" }) => /* @__PURE__ */
|
|
1948
|
+
var AwardBadge = ({ imageSrc, imageAlt = "" }) => /* @__PURE__ */ jsx24("div", { className: "stats__award", children: /* @__PURE__ */ jsx24("img", { src: imageSrc, alt: imageAlt, className: "stats__award-image" }) });
|
|
1955
1949
|
var Stats = ({
|
|
1956
1950
|
title,
|
|
1957
1951
|
description,
|
|
@@ -2008,26 +2002,26 @@ var Stats = ({
|
|
|
2008
2002
|
if (rafRef.current) cancelAnimationFrame(rafRef.current);
|
|
2009
2003
|
};
|
|
2010
2004
|
}, []);
|
|
2011
|
-
return /* @__PURE__ */
|
|
2005
|
+
return /* @__PURE__ */ jsx24(
|
|
2012
2006
|
"section",
|
|
2013
2007
|
{
|
|
2014
2008
|
ref: sectionRef,
|
|
2015
2009
|
className: ["stats", className].filter(Boolean).join(" "),
|
|
2016
2010
|
...props,
|
|
2017
|
-
children: /* @__PURE__ */
|
|
2018
|
-
/* @__PURE__ */
|
|
2019
|
-
/* @__PURE__ */
|
|
2020
|
-
description && /* @__PURE__ */
|
|
2011
|
+
children: /* @__PURE__ */ jsxs22("div", { className: "stats__inner", children: [
|
|
2012
|
+
/* @__PURE__ */ jsxs22("div", { className: "stats__header", children: [
|
|
2013
|
+
/* @__PURE__ */ jsx24("h2", { className: "stats__title", children: title }),
|
|
2014
|
+
description && /* @__PURE__ */ jsx24("p", { className: "stats__description", children: description })
|
|
2021
2015
|
] }),
|
|
2022
|
-
/* @__PURE__ */
|
|
2023
|
-
leftAwards.length > 0 && /* @__PURE__ */
|
|
2024
|
-
/* @__PURE__ */
|
|
2025
|
-
/* @__PURE__ */
|
|
2026
|
-
/* @__PURE__ */
|
|
2016
|
+
/* @__PURE__ */ jsxs22("div", { className: "stats__content", children: [
|
|
2017
|
+
leftAwards.length > 0 && /* @__PURE__ */ jsx24("div", { ref: leftColRef, className: "stats__awards-col stats__awards-col--left", children: leftAwards.map((award, i) => /* @__PURE__ */ jsx24(AwardBadge, { ...award }, i)) }),
|
|
2018
|
+
/* @__PURE__ */ jsx24("div", { className: "stats__card", children: /* @__PURE__ */ jsxs22("div", { className: "stats__card-track", children: [
|
|
2019
|
+
/* @__PURE__ */ jsx24("div", { className: "stats__fade stats__fade--top", "aria-hidden": "true" }),
|
|
2020
|
+
/* @__PURE__ */ jsx24("div", { className: "stats__fade stats__fade--bottom", "aria-hidden": "true" }),
|
|
2027
2021
|
stats.map((stat, i) => {
|
|
2028
2022
|
const rel = relativePos(i, activeIndex, total);
|
|
2029
2023
|
const active = rel === 0;
|
|
2030
|
-
return /* @__PURE__ */
|
|
2024
|
+
return /* @__PURE__ */ jsxs22(
|
|
2031
2025
|
"div",
|
|
2032
2026
|
{
|
|
2033
2027
|
className: [
|
|
@@ -2037,16 +2031,16 @@ var Stats = ({
|
|
|
2037
2031
|
style: getStatStyle(rel),
|
|
2038
2032
|
"aria-hidden": !active,
|
|
2039
2033
|
children: [
|
|
2040
|
-
/* @__PURE__ */
|
|
2041
|
-
/* @__PURE__ */
|
|
2034
|
+
/* @__PURE__ */ jsx24("span", { className: "stats__stat-value", children: stat.value }),
|
|
2035
|
+
/* @__PURE__ */ jsx24("span", { className: "stats__stat-label", children: stat.label })
|
|
2042
2036
|
]
|
|
2043
2037
|
},
|
|
2044
2038
|
i
|
|
2045
2039
|
);
|
|
2046
2040
|
})
|
|
2047
2041
|
] }) }),
|
|
2048
|
-
rightAwards.length > 0 && /* @__PURE__ */
|
|
2049
|
-
hasAwards && /* @__PURE__ */
|
|
2042
|
+
rightAwards.length > 0 && /* @__PURE__ */ jsx24("div", { ref: rightColRef, className: "stats__awards-col stats__awards-col--right", children: rightAwards.map((award, i) => /* @__PURE__ */ jsx24(AwardBadge, { ...award }, i)) }),
|
|
2043
|
+
hasAwards && /* @__PURE__ */ jsx24("div", { className: "stats__awards-mobile", children: allAwards.map((award, i) => /* @__PURE__ */ jsx24(AwardBadge, { ...award }, i)) })
|
|
2050
2044
|
] })
|
|
2051
2045
|
] })
|
|
2052
2046
|
}
|
|
@@ -2059,7 +2053,7 @@ import { useLayoutEffect, useRef as useRef6, useState as useState8 } from "react
|
|
|
2059
2053
|
// components/DotLottieInView/DotLottieInView.tsx
|
|
2060
2054
|
import { useEffect as useEffect5, useRef as useRef5, useState as useState7 } from "react";
|
|
2061
2055
|
import { DotLottieReact } from "@lottiefiles/dotlottie-react";
|
|
2062
|
-
import { jsx as
|
|
2056
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2063
2057
|
function DotLottieInView({
|
|
2064
2058
|
enabled = true,
|
|
2065
2059
|
rootMargin = "0px",
|
|
@@ -2092,7 +2086,7 @@ function DotLottieInView({
|
|
|
2092
2086
|
dotLottie.stop();
|
|
2093
2087
|
dotLottie.play();
|
|
2094
2088
|
}, [dotLottie, enabled, inView]);
|
|
2095
|
-
return /* @__PURE__ */
|
|
2089
|
+
return /* @__PURE__ */ jsx25(
|
|
2096
2090
|
"div",
|
|
2097
2091
|
{
|
|
2098
2092
|
ref: wrapRef,
|
|
@@ -2107,7 +2101,7 @@ function DotLottieInView({
|
|
|
2107
2101
|
backgroundColor: "transparent",
|
|
2108
2102
|
...style
|
|
2109
2103
|
},
|
|
2110
|
-
children: /* @__PURE__ */
|
|
2104
|
+
children: /* @__PURE__ */ jsx25(
|
|
2111
2105
|
DotLottieReact,
|
|
2112
2106
|
{
|
|
2113
2107
|
...dotProps,
|
|
@@ -2121,7 +2115,7 @@ function DotLottieInView({
|
|
|
2121
2115
|
}
|
|
2122
2116
|
|
|
2123
2117
|
// templates/FeatureScroll/FeatureScroll.tsx
|
|
2124
|
-
import { jsx as
|
|
2118
|
+
import { jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2125
2119
|
var FEATURE_SCROLL_DATA = [
|
|
2126
2120
|
{
|
|
2127
2121
|
title: "Forex",
|
|
@@ -2166,7 +2160,7 @@ var FEATURE_SCROLL_DATA = [
|
|
|
2166
2160
|
mediaUrl: "https://cdn.prod.website-files.com/66fbaad381fa6866fa4991f3/675a9064f2c16e4e0732abfb_Stock%20Indices.lottie"
|
|
2167
2161
|
}
|
|
2168
2162
|
];
|
|
2169
|
-
var ChevronRight2 = () => /* @__PURE__ */
|
|
2163
|
+
var ChevronRight2 = () => /* @__PURE__ */ jsx26(
|
|
2170
2164
|
"svg",
|
|
2171
2165
|
{
|
|
2172
2166
|
className: "fs__item-link-icon",
|
|
@@ -2175,7 +2169,7 @@ var ChevronRight2 = () => /* @__PURE__ */ jsx24(
|
|
|
2175
2169
|
viewBox: "0 0 16 16",
|
|
2176
2170
|
fill: "none",
|
|
2177
2171
|
"aria-hidden": "true",
|
|
2178
|
-
children: /* @__PURE__ */
|
|
2172
|
+
children: /* @__PURE__ */ jsx26(
|
|
2179
2173
|
"path",
|
|
2180
2174
|
{
|
|
2181
2175
|
d: "M6 3l5 5-5 5",
|
|
@@ -2193,7 +2187,7 @@ function resolveMediaType(item) {
|
|
|
2193
2187
|
}
|
|
2194
2188
|
var MediaRenderer = ({ item, active }) => {
|
|
2195
2189
|
if (resolveMediaType(item) === "lottie") {
|
|
2196
|
-
return /* @__PURE__ */
|
|
2190
|
+
return /* @__PURE__ */ jsx26(
|
|
2197
2191
|
DotLottieInView,
|
|
2198
2192
|
{
|
|
2199
2193
|
src: item.mediaUrl,
|
|
@@ -2201,7 +2195,7 @@ var MediaRenderer = ({ item, active }) => {
|
|
|
2201
2195
|
}
|
|
2202
2196
|
);
|
|
2203
2197
|
}
|
|
2204
|
-
return /* @__PURE__ */
|
|
2198
|
+
return /* @__PURE__ */ jsx26(
|
|
2205
2199
|
"img",
|
|
2206
2200
|
{
|
|
2207
2201
|
src: item.mediaUrl,
|
|
@@ -2272,24 +2266,24 @@ var FeatureScroll = ({
|
|
|
2272
2266
|
className
|
|
2273
2267
|
].filter(Boolean).join(" ");
|
|
2274
2268
|
if (items.length === 0) {
|
|
2275
|
-
return /* @__PURE__ */
|
|
2269
|
+
return /* @__PURE__ */ jsx26("section", { className: rootClass, ...props, children: /* @__PURE__ */ jsx26("div", { className: "fs__inner", children: /* @__PURE__ */ jsx26("h2", { className: "fs__header", children: header }) }) });
|
|
2276
2270
|
}
|
|
2277
|
-
return /* @__PURE__ */
|
|
2278
|
-
/* @__PURE__ */
|
|
2279
|
-
/* @__PURE__ */
|
|
2280
|
-
/* @__PURE__ */
|
|
2271
|
+
return /* @__PURE__ */ jsx26("section", { className: rootClass, ...props, children: /* @__PURE__ */ jsxs23("div", { className: "fs__inner", children: [
|
|
2272
|
+
/* @__PURE__ */ jsx26("h2", { className: "fs__header", children: header }),
|
|
2273
|
+
/* @__PURE__ */ jsxs23("div", { className: "fs__layout", children: [
|
|
2274
|
+
/* @__PURE__ */ jsx26("div", { className: "fs__media-col", "aria-hidden": "true", children: /* @__PURE__ */ jsx26(
|
|
2281
2275
|
"div",
|
|
2282
2276
|
{
|
|
2283
2277
|
ref: mediaColRef,
|
|
2284
2278
|
className: "fs__media-sticky",
|
|
2285
|
-
children: /* @__PURE__ */
|
|
2279
|
+
children: /* @__PURE__ */ jsx26("div", { className: "fs__media-wrap", children: items.map((item, i) => /* @__PURE__ */ jsx26(
|
|
2286
2280
|
"div",
|
|
2287
2281
|
{
|
|
2288
2282
|
className: [
|
|
2289
2283
|
"fs__media-item",
|
|
2290
2284
|
i === activeIndex ? "fs__media-item--active" : ""
|
|
2291
2285
|
].filter(Boolean).join(" "),
|
|
2292
|
-
children: /* @__PURE__ */
|
|
2286
|
+
children: /* @__PURE__ */ jsx26(
|
|
2293
2287
|
MediaRenderer,
|
|
2294
2288
|
{
|
|
2295
2289
|
item,
|
|
@@ -2301,12 +2295,12 @@ var FeatureScroll = ({
|
|
|
2301
2295
|
)) })
|
|
2302
2296
|
}
|
|
2303
2297
|
) }),
|
|
2304
|
-
/* @__PURE__ */
|
|
2298
|
+
/* @__PURE__ */ jsx26("div", { className: "fs__content-col", children: items.map((item, i) => /* @__PURE__ */ jsxs23(
|
|
2305
2299
|
"div",
|
|
2306
2300
|
{
|
|
2307
2301
|
className: "fs__item",
|
|
2308
2302
|
children: [
|
|
2309
|
-
/* @__PURE__ */
|
|
2303
|
+
/* @__PURE__ */ jsx26(
|
|
2310
2304
|
"h3",
|
|
2311
2305
|
{
|
|
2312
2306
|
ref: (el) => {
|
|
@@ -2316,15 +2310,15 @@ var FeatureScroll = ({
|
|
|
2316
2310
|
children: item.title
|
|
2317
2311
|
}
|
|
2318
2312
|
),
|
|
2319
|
-
/* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2313
|
+
/* @__PURE__ */ jsx26("p", { className: "fs__item-desc", children: item.description }),
|
|
2314
|
+
/* @__PURE__ */ jsxs23(
|
|
2321
2315
|
"a",
|
|
2322
2316
|
{
|
|
2323
2317
|
href: item.link,
|
|
2324
2318
|
className: "fs__item-link",
|
|
2325
2319
|
children: [
|
|
2326
|
-
/* @__PURE__ */
|
|
2327
|
-
/* @__PURE__ */
|
|
2320
|
+
/* @__PURE__ */ jsx26("span", { children: item.linkLabel }),
|
|
2321
|
+
/* @__PURE__ */ jsx26(ChevronRight2, {})
|
|
2328
2322
|
]
|
|
2329
2323
|
}
|
|
2330
2324
|
)
|
|
@@ -2333,18 +2327,18 @@ var FeatureScroll = ({
|
|
|
2333
2327
|
i
|
|
2334
2328
|
)) })
|
|
2335
2329
|
] }),
|
|
2336
|
-
/* @__PURE__ */
|
|
2337
|
-
/* @__PURE__ */
|
|
2338
|
-
/* @__PURE__ */
|
|
2339
|
-
/* @__PURE__ */
|
|
2340
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsx26("div", { className: "fs__mobile-list", children: items.map((item, i) => /* @__PURE__ */ jsxs23("div", { className: "fs__mobile-item", children: [
|
|
2331
|
+
/* @__PURE__ */ jsx26("h3", { className: "fs__item-title", children: item.title }),
|
|
2332
|
+
/* @__PURE__ */ jsx26("div", { className: "fs__mobile-media", children: /* @__PURE__ */ jsx26(MediaRenderer, { item, active: true }) }),
|
|
2333
|
+
/* @__PURE__ */ jsx26("p", { className: "fs__item-desc", children: item.description }),
|
|
2334
|
+
/* @__PURE__ */ jsxs23(
|
|
2341
2335
|
"a",
|
|
2342
2336
|
{
|
|
2343
2337
|
href: item.link,
|
|
2344
2338
|
className: "fs__item-link",
|
|
2345
2339
|
children: [
|
|
2346
|
-
/* @__PURE__ */
|
|
2347
|
-
/* @__PURE__ */
|
|
2340
|
+
/* @__PURE__ */ jsx26("span", { children: item.linkLabel }),
|
|
2341
|
+
/* @__PURE__ */ jsx26(ChevronRight2, {})
|
|
2348
2342
|
]
|
|
2349
2343
|
}
|
|
2350
2344
|
)
|
|
@@ -2354,7 +2348,7 @@ var FeatureScroll = ({
|
|
|
2354
2348
|
|
|
2355
2349
|
// templates/StickyStackedCards/StickyStackedCards.tsx
|
|
2356
2350
|
import { useEffect as useEffect6, useRef as useRef7 } from "react";
|
|
2357
|
-
import { jsx as
|
|
2351
|
+
import { jsx as jsx27, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2358
2352
|
var PLACEHOLDER_IMAGE = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
2359
2353
|
var STEPS_DATA = [
|
|
2360
2354
|
{
|
|
@@ -2418,14 +2412,14 @@ var StickyStackedCards = ({
|
|
|
2418
2412
|
cancelAnimationFrame(rafId);
|
|
2419
2413
|
};
|
|
2420
2414
|
}, [items.length]);
|
|
2421
|
-
return /* @__PURE__ */
|
|
2415
|
+
return /* @__PURE__ */ jsx27(
|
|
2422
2416
|
"section",
|
|
2423
2417
|
{
|
|
2424
2418
|
className: ["ssc", className].filter(Boolean).join(" "),
|
|
2425
2419
|
...props,
|
|
2426
|
-
children: /* @__PURE__ */
|
|
2427
|
-
/* @__PURE__ */
|
|
2428
|
-
/* @__PURE__ */
|
|
2420
|
+
children: /* @__PURE__ */ jsxs24("div", { className: "ssc__inner", children: [
|
|
2421
|
+
/* @__PURE__ */ jsx27("h2", { className: "ssc__header", children: header }),
|
|
2422
|
+
/* @__PURE__ */ jsx27("div", { className: "ssc__track", children: items.map((item, i) => /* @__PURE__ */ jsxs24(
|
|
2429
2423
|
"div",
|
|
2430
2424
|
{
|
|
2431
2425
|
ref: (el) => {
|
|
@@ -2451,11 +2445,11 @@ var StickyStackedCards = ({
|
|
|
2451
2445
|
top: `calc(var(--ssc-sticky-top) + ${i} * var(--ssc-peek-offset))`
|
|
2452
2446
|
},
|
|
2453
2447
|
children: [
|
|
2454
|
-
/* @__PURE__ */
|
|
2455
|
-
/* @__PURE__ */
|
|
2456
|
-
/* @__PURE__ */
|
|
2448
|
+
/* @__PURE__ */ jsxs24("div", { className: "ssc__card-content", children: [
|
|
2449
|
+
/* @__PURE__ */ jsx27("h3", { className: "ssc__card-title", children: item.title }),
|
|
2450
|
+
/* @__PURE__ */ jsx27("p", { className: "ssc__card-desc", children: item.description })
|
|
2457
2451
|
] }),
|
|
2458
|
-
/* @__PURE__ */
|
|
2452
|
+
/* @__PURE__ */ jsx27("div", { className: "ssc__card-image", children: /* @__PURE__ */ jsx27(
|
|
2459
2453
|
"img",
|
|
2460
2454
|
{
|
|
2461
2455
|
src: item.imageUrl,
|
|
@@ -2481,7 +2475,7 @@ import {
|
|
|
2481
2475
|
useTransform,
|
|
2482
2476
|
useMotionTemplate
|
|
2483
2477
|
} from "framer-motion";
|
|
2484
|
-
import { jsx as
|
|
2478
|
+
import { jsx as jsx28, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2485
2479
|
var ENTRANCE = {
|
|
2486
2480
|
near: 80,
|
|
2487
2481
|
mid: 130,
|
|
@@ -2745,14 +2739,14 @@ var CTABanner = ({
|
|
|
2745
2739
|
const compactXValues = useCompactAvatarXValues(smooth);
|
|
2746
2740
|
const avatarYValues = variant === "compact" ? compactYValues : standardYValues;
|
|
2747
2741
|
const avatarXValues = variant === "compact" ? compactXValues : standardXValues;
|
|
2748
|
-
return /* @__PURE__ */
|
|
2742
|
+
return /* @__PURE__ */ jsxs25(
|
|
2749
2743
|
"section",
|
|
2750
2744
|
{
|
|
2751
2745
|
ref: sectionRef,
|
|
2752
2746
|
className: ["ctab", variant === "compact" ? "ctab--compact" : "", className].filter(Boolean).join(" "),
|
|
2753
2747
|
...props,
|
|
2754
2748
|
children: [
|
|
2755
|
-
/* @__PURE__ */
|
|
2749
|
+
/* @__PURE__ */ jsx28(
|
|
2756
2750
|
motion.div,
|
|
2757
2751
|
{
|
|
2758
2752
|
className: "ctab__grid",
|
|
@@ -2760,7 +2754,7 @@ var CTABanner = ({
|
|
|
2760
2754
|
"aria-hidden": "true"
|
|
2761
2755
|
}
|
|
2762
2756
|
),
|
|
2763
|
-
/* @__PURE__ */
|
|
2757
|
+
/* @__PURE__ */ jsx28("div", { className: "ctab__inner", children: /* @__PURE__ */ jsxs25("div", { className: "ctab__stage", children: [
|
|
2764
2758
|
resolvedAvatars.map((avatar, index) => {
|
|
2765
2759
|
const posStyle = {};
|
|
2766
2760
|
if (avatar.desktopPos.left) posStyle["--av-d-left"] = avatar.desktopPos.left;
|
|
@@ -2769,7 +2763,7 @@ var CTABanner = ({
|
|
|
2769
2763
|
if (avatar.mobilePos?.left) posStyle["--av-m-left"] = avatar.mobilePos.left;
|
|
2770
2764
|
if (avatar.mobilePos?.right) posStyle["--av-m-right"] = avatar.mobilePos.right;
|
|
2771
2765
|
if (avatar.mobilePos?.top) posStyle["--av-m-top"] = avatar.mobilePos.top;
|
|
2772
|
-
return /* @__PURE__ */
|
|
2766
|
+
return /* @__PURE__ */ jsx28(
|
|
2773
2767
|
motion.div,
|
|
2774
2768
|
{
|
|
2775
2769
|
className: [
|
|
@@ -2783,7 +2777,7 @@ var CTABanner = ({
|
|
|
2783
2777
|
opacity: avatarOpacity,
|
|
2784
2778
|
filter: avatarFilter
|
|
2785
2779
|
},
|
|
2786
|
-
children: /* @__PURE__ */
|
|
2780
|
+
children: /* @__PURE__ */ jsx28(
|
|
2787
2781
|
"img",
|
|
2788
2782
|
{
|
|
2789
2783
|
src: avatar.imageUrl,
|
|
@@ -2796,14 +2790,14 @@ var CTABanner = ({
|
|
|
2796
2790
|
avatar.id
|
|
2797
2791
|
);
|
|
2798
2792
|
}),
|
|
2799
|
-
/* @__PURE__ */
|
|
2793
|
+
/* @__PURE__ */ jsxs25(
|
|
2800
2794
|
motion.div,
|
|
2801
2795
|
{
|
|
2802
2796
|
className: "ctab__hero",
|
|
2803
2797
|
style: { y: heroY, opacity: heroOpacity },
|
|
2804
2798
|
children: [
|
|
2805
|
-
/* @__PURE__ */
|
|
2806
|
-
/* @__PURE__ */
|
|
2799
|
+
/* @__PURE__ */ jsx28("h2", { className: "ctab__headline", children: headline }),
|
|
2800
|
+
/* @__PURE__ */ jsx28("a", { href: ctaHref, children: /* @__PURE__ */ jsx28(Button, { colorScheme: "black", variant: "primary", label: ctaLabel }) })
|
|
2807
2801
|
]
|
|
2808
2802
|
}
|
|
2809
2803
|
)
|
|
@@ -2821,7 +2815,7 @@ import { motion as motion2, AnimatePresence } from "framer-motion";
|
|
|
2821
2815
|
var icon_globe_default = "./icon-globe-S54WYYEK.svg";
|
|
2822
2816
|
|
|
2823
2817
|
// components/Navbar/Navbar.tsx
|
|
2824
|
-
import { jsx as
|
|
2818
|
+
import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2825
2819
|
var EASE_OUT_EXPO = [0.16, 1, 0.3, 1];
|
|
2826
2820
|
var dropdownVariants = {
|
|
2827
2821
|
hidden: { opacity: 0, scale: 0.96, y: -8 },
|
|
@@ -2835,7 +2829,7 @@ var accordionVariants = {
|
|
|
2835
2829
|
hidden: { height: 0, opacity: 0 },
|
|
2836
2830
|
visible: { height: "auto", opacity: 1 }
|
|
2837
2831
|
};
|
|
2838
|
-
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */
|
|
2832
|
+
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx29(
|
|
2839
2833
|
"svg",
|
|
2840
2834
|
{
|
|
2841
2835
|
className,
|
|
@@ -2844,7 +2838,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx27(
|
|
|
2844
2838
|
viewBox: "0 0 14 14",
|
|
2845
2839
|
fill: "none",
|
|
2846
2840
|
"aria-hidden": "true",
|
|
2847
|
-
children: /* @__PURE__ */
|
|
2841
|
+
children: /* @__PURE__ */ jsx29(
|
|
2848
2842
|
"path",
|
|
2849
2843
|
{
|
|
2850
2844
|
d: "M2.625 4.8125L7 9.1875L11.375 4.8125",
|
|
@@ -2856,7 +2850,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx27(
|
|
|
2856
2850
|
)
|
|
2857
2851
|
}
|
|
2858
2852
|
);
|
|
2859
|
-
var ArrowRightIcon = () => /* @__PURE__ */
|
|
2853
|
+
var ArrowRightIcon = () => /* @__PURE__ */ jsx29("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx29(
|
|
2860
2854
|
"path",
|
|
2861
2855
|
{
|
|
2862
2856
|
d: "M2.625 7H11.375M11.375 7L7.875 3.5M11.375 7L7.875 10.5",
|
|
@@ -2866,7 +2860,7 @@ var ArrowRightIcon = () => /* @__PURE__ */ jsx27("svg", { width: "14", height: "
|
|
|
2866
2860
|
strokeLinejoin: "round"
|
|
2867
2861
|
}
|
|
2868
2862
|
) });
|
|
2869
|
-
var ArrowUpRightIcon = () => /* @__PURE__ */
|
|
2863
|
+
var ArrowUpRightIcon = () => /* @__PURE__ */ jsx29("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx29(
|
|
2870
2864
|
"path",
|
|
2871
2865
|
{
|
|
2872
2866
|
d: "M4.5 11.5L11.5 4.5M11.5 4.5H5.5M11.5 4.5V10.5",
|
|
@@ -2876,7 +2870,7 @@ var ArrowUpRightIcon = () => /* @__PURE__ */ jsx27("svg", { width: "16", height:
|
|
|
2876
2870
|
strokeLinejoin: "round"
|
|
2877
2871
|
}
|
|
2878
2872
|
) });
|
|
2879
|
-
var BarsIcon = () => /* @__PURE__ */
|
|
2873
|
+
var BarsIcon = () => /* @__PURE__ */ jsx29("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx29(
|
|
2880
2874
|
"path",
|
|
2881
2875
|
{
|
|
2882
2876
|
d: "M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5",
|
|
@@ -2885,7 +2879,7 @@ var BarsIcon = () => /* @__PURE__ */ jsx27("svg", { width: "20", height: "20", v
|
|
|
2885
2879
|
strokeLinecap: "round"
|
|
2886
2880
|
}
|
|
2887
2881
|
) });
|
|
2888
|
-
var XMarkIcon2 = () => /* @__PURE__ */
|
|
2882
|
+
var XMarkIcon2 = () => /* @__PURE__ */ jsx29("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx29(
|
|
2889
2883
|
"path",
|
|
2890
2884
|
{
|
|
2891
2885
|
d: "M15 5L5 15M5 5L15 15",
|
|
@@ -2894,7 +2888,7 @@ var XMarkIcon2 = () => /* @__PURE__ */ jsx27("svg", { width: "20", height: "20",
|
|
|
2894
2888
|
strokeLinecap: "round"
|
|
2895
2889
|
}
|
|
2896
2890
|
) });
|
|
2897
|
-
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */
|
|
2891
|
+
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx29(
|
|
2898
2892
|
"svg",
|
|
2899
2893
|
{
|
|
2900
2894
|
className,
|
|
@@ -2903,7 +2897,7 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx27(
|
|
|
2903
2897
|
viewBox: "0 0 24 24",
|
|
2904
2898
|
fill: "none",
|
|
2905
2899
|
"aria-hidden": "true",
|
|
2906
|
-
children: /* @__PURE__ */
|
|
2900
|
+
children: /* @__PURE__ */ jsx29(
|
|
2907
2901
|
"path",
|
|
2908
2902
|
{
|
|
2909
2903
|
d: "M15 18L9 12L15 6",
|
|
@@ -2915,11 +2909,11 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx27(
|
|
|
2915
2909
|
)
|
|
2916
2910
|
}
|
|
2917
2911
|
);
|
|
2918
|
-
var GlobeIcon = ({ className }) => /* @__PURE__ */
|
|
2912
|
+
var GlobeIcon = ({ className }) => /* @__PURE__ */ jsx29("img", { src: icon_globe_default, alt: "", "aria-hidden": "true", width: "20", height: "20", className });
|
|
2919
2913
|
var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
2920
2914
|
const { dropdown } = item;
|
|
2921
2915
|
if (!dropdown) return null;
|
|
2922
|
-
return /* @__PURE__ */
|
|
2916
|
+
return /* @__PURE__ */ jsx29(
|
|
2923
2917
|
motion2.div,
|
|
2924
2918
|
{
|
|
2925
2919
|
className: "navbar__dropdown",
|
|
@@ -2930,10 +2924,10 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
2930
2924
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
2931
2925
|
onMouseEnter,
|
|
2932
2926
|
onMouseLeave,
|
|
2933
|
-
children: /* @__PURE__ */
|
|
2934
|
-
/* @__PURE__ */
|
|
2935
|
-
/* @__PURE__ */
|
|
2936
|
-
section.items.map((link) => /* @__PURE__ */
|
|
2927
|
+
children: /* @__PURE__ */ jsxs26("div", { className: "navbar__dropdown-inner", children: [
|
|
2928
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__dropdown-left", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ jsx29("div", { className: "navbar__dropdown-col", children: col.sections.map((section) => /* @__PURE__ */ jsxs26("div", { className: "navbar__dropdown-col-list", children: [
|
|
2929
|
+
/* @__PURE__ */ jsx29("p", { className: "navbar__dropdown-col-title", children: section.title }),
|
|
2930
|
+
section.items.map((link) => /* @__PURE__ */ jsxs26(
|
|
2937
2931
|
"a",
|
|
2938
2932
|
{
|
|
2939
2933
|
href: link.href,
|
|
@@ -2942,24 +2936,24 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
2942
2936
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
2943
2937
|
children: [
|
|
2944
2938
|
link.label,
|
|
2945
|
-
link.external ? /* @__PURE__ */
|
|
2939
|
+
link.external ? /* @__PURE__ */ jsx29(ArrowUpRightIcon, {}) : /* @__PURE__ */ jsx29(ArrowRightIcon, {})
|
|
2946
2940
|
]
|
|
2947
2941
|
},
|
|
2948
2942
|
link.href
|
|
2949
2943
|
))
|
|
2950
2944
|
] }, section.title)) }, colIdx)) }),
|
|
2951
|
-
dropdown.feature && /* @__PURE__ */
|
|
2945
|
+
dropdown.feature && /* @__PURE__ */ jsx29("div", { className: "navbar__dropdown-right", children: /* @__PURE__ */ jsx29(FeatureCard, { feature: dropdown.feature }) })
|
|
2952
2946
|
] })
|
|
2953
2947
|
}
|
|
2954
2948
|
);
|
|
2955
2949
|
};
|
|
2956
|
-
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */
|
|
2950
|
+
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs26(
|
|
2957
2951
|
"div",
|
|
2958
2952
|
{
|
|
2959
2953
|
className: mobile ? "navbar__drawer-feature" : "navbar__dropdown-feature",
|
|
2960
2954
|
style: feature.backgroundImageUrl ? { backgroundImage: `url(${feature.backgroundImageUrl})` } : void 0,
|
|
2961
2955
|
children: [
|
|
2962
|
-
feature.backgroundImageUrl && /* @__PURE__ */
|
|
2956
|
+
feature.backgroundImageUrl && /* @__PURE__ */ jsx29(
|
|
2963
2957
|
"img",
|
|
2964
2958
|
{
|
|
2965
2959
|
src: feature.backgroundImageUrl,
|
|
@@ -2968,20 +2962,20 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs24(
|
|
|
2968
2962
|
"aria-hidden": "true"
|
|
2969
2963
|
}
|
|
2970
2964
|
),
|
|
2971
|
-
/* @__PURE__ */
|
|
2972
|
-
/* @__PURE__ */
|
|
2973
|
-
/* @__PURE__ */
|
|
2974
|
-
/* @__PURE__ */
|
|
2975
|
-
/* @__PURE__ */
|
|
2965
|
+
/* @__PURE__ */ jsx29("div", { className: mobile ? "navbar__drawer-feature-overlay" : "navbar__dropdown-feature-overlay", "aria-hidden": "true" }),
|
|
2966
|
+
/* @__PURE__ */ jsxs26("div", { className: mobile ? "navbar__drawer-feature-content" : "navbar__dropdown-feature-content", children: [
|
|
2967
|
+
/* @__PURE__ */ jsxs26("div", { children: [
|
|
2968
|
+
/* @__PURE__ */ jsx29("p", { className: mobile ? "navbar__drawer-feature-title" : "navbar__dropdown-feature-title", children: feature.title }),
|
|
2969
|
+
/* @__PURE__ */ jsx29("p", { className: mobile ? "navbar__drawer-feature-desc" : "navbar__dropdown-feature-desc", children: feature.description })
|
|
2976
2970
|
] }),
|
|
2977
|
-
/* @__PURE__ */
|
|
2971
|
+
/* @__PURE__ */ jsxs26(
|
|
2978
2972
|
"a",
|
|
2979
2973
|
{
|
|
2980
2974
|
href: feature.ctaHref,
|
|
2981
2975
|
className: mobile ? "navbar__drawer-feature-cta" : "navbar__dropdown-feature-cta",
|
|
2982
2976
|
children: [
|
|
2983
2977
|
feature.ctaLabel,
|
|
2984
|
-
/* @__PURE__ */
|
|
2978
|
+
/* @__PURE__ */ jsx29(ArrowRightIcon, {})
|
|
2985
2979
|
]
|
|
2986
2980
|
}
|
|
2987
2981
|
)
|
|
@@ -2991,8 +2985,8 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs24(
|
|
|
2991
2985
|
);
|
|
2992
2986
|
var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
2993
2987
|
const { dropdown } = item;
|
|
2994
|
-
return /* @__PURE__ */
|
|
2995
|
-
/* @__PURE__ */
|
|
2988
|
+
return /* @__PURE__ */ jsxs26("div", { className: "navbar__drawer-item", children: [
|
|
2989
|
+
/* @__PURE__ */ jsxs26(
|
|
2996
2990
|
"button",
|
|
2997
2991
|
{
|
|
2998
2992
|
className: `navbar__drawer-trigger ${isOpen ? "navbar__drawer-trigger--open" : ""}`,
|
|
@@ -3000,11 +2994,11 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3000
2994
|
"aria-expanded": isOpen,
|
|
3001
2995
|
children: [
|
|
3002
2996
|
item.label,
|
|
3003
|
-
/* @__PURE__ */
|
|
2997
|
+
/* @__PURE__ */ jsx29(ChevronDownIcon3, { className: "navbar__drawer-trigger__chevron" })
|
|
3004
2998
|
]
|
|
3005
2999
|
}
|
|
3006
3000
|
),
|
|
3007
|
-
/* @__PURE__ */
|
|
3001
|
+
/* @__PURE__ */ jsx29(AnimatePresence, { initial: false, children: isOpen && dropdown && /* @__PURE__ */ jsx29(
|
|
3008
3002
|
motion2.div,
|
|
3009
3003
|
{
|
|
3010
3004
|
className: "navbar__drawer-panel",
|
|
@@ -3013,10 +3007,10 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3013
3007
|
animate: "visible",
|
|
3014
3008
|
exit: "hidden",
|
|
3015
3009
|
transition: { duration: 0.22, ease: EASE_OUT_EXPO },
|
|
3016
|
-
children: /* @__PURE__ */
|
|
3017
|
-
/* @__PURE__ */
|
|
3018
|
-
/* @__PURE__ */
|
|
3019
|
-
/* @__PURE__ */
|
|
3010
|
+
children: /* @__PURE__ */ jsxs26("div", { className: "navbar__drawer-panel-inner", children: [
|
|
3011
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__drawer-panel-cols", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ jsx29("div", { className: "navbar__drawer-panel-col", children: col.sections.map((section) => /* @__PURE__ */ jsxs26("div", { className: "navbar__drawer-col-section", children: [
|
|
3012
|
+
/* @__PURE__ */ jsx29("p", { className: "navbar__drawer-col-title", children: section.title }),
|
|
3013
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__drawer-col-links", children: section.items.map((link) => /* @__PURE__ */ jsx29(
|
|
3020
3014
|
"a",
|
|
3021
3015
|
{
|
|
3022
3016
|
href: link.href,
|
|
@@ -3028,7 +3022,7 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3028
3022
|
link.href
|
|
3029
3023
|
)) })
|
|
3030
3024
|
] }, section.title)) }, colIdx)) }),
|
|
3031
|
-
dropdown.feature && /* @__PURE__ */
|
|
3025
|
+
dropdown.feature && /* @__PURE__ */ jsx29(FeatureCard, { feature: dropdown.feature, mobile: true })
|
|
3032
3026
|
] })
|
|
3033
3027
|
}
|
|
3034
3028
|
) })
|
|
@@ -3133,20 +3127,20 @@ var Navbar = ({
|
|
|
3133
3127
|
hoverTimeoutRef.current = setTimeout(() => setOpenDropdown(null), 120);
|
|
3134
3128
|
}, [clearHoverTimeout]);
|
|
3135
3129
|
const activeDropdownItem = navItems.find((item) => item.label === openDropdown);
|
|
3136
|
-
return /* @__PURE__ */
|
|
3130
|
+
return /* @__PURE__ */ jsxs26(
|
|
3137
3131
|
"nav",
|
|
3138
3132
|
{
|
|
3139
3133
|
className: ["navbar", `navbar--${theme}`, scrolled && "navbar--scrolled", mobileOpen && "navbar--menu-open", className].filter(Boolean).join(" "),
|
|
3140
3134
|
...props,
|
|
3141
3135
|
children: [
|
|
3142
|
-
/* @__PURE__ */
|
|
3143
|
-
/* @__PURE__ */
|
|
3144
|
-
/* @__PURE__ */
|
|
3145
|
-
/* @__PURE__ */
|
|
3146
|
-
/* @__PURE__ */
|
|
3136
|
+
/* @__PURE__ */ jsxs26("div", { className: "navbar__bar", children: [
|
|
3137
|
+
/* @__PURE__ */ jsx29("a", { href: logoHref, className: "navbar__logo", "aria-label": "Home", children: /* @__PURE__ */ jsx29("img", { src: resolvedLogo, alt: "Logo" }) }),
|
|
3138
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__nav-center", ref: pillAreaRef, children: /* @__PURE__ */ jsxs26("div", { className: "navbar__pill", children: [
|
|
3139
|
+
/* @__PURE__ */ jsx29("a", { href: logoHref, className: "navbar__pill-logo", "aria-label": "Home", children: /* @__PURE__ */ jsx29("img", { src: logoSrcDark ?? logoSrc, alt: "Logo" }) }),
|
|
3140
|
+
/* @__PURE__ */ jsxs26("div", { className: "navbar__nav-group", children: [
|
|
3147
3141
|
navItems.map((item) => {
|
|
3148
3142
|
if (item.external) {
|
|
3149
|
-
return /* @__PURE__ */
|
|
3143
|
+
return /* @__PURE__ */ jsxs26(
|
|
3150
3144
|
"a",
|
|
3151
3145
|
{
|
|
3152
3146
|
href: item.href,
|
|
@@ -3155,14 +3149,14 @@ var Navbar = ({
|
|
|
3155
3149
|
rel: "noopener noreferrer",
|
|
3156
3150
|
children: [
|
|
3157
3151
|
item.label,
|
|
3158
|
-
/* @__PURE__ */
|
|
3152
|
+
/* @__PURE__ */ jsx29(ArrowUpRightIcon, {})
|
|
3159
3153
|
]
|
|
3160
3154
|
},
|
|
3161
3155
|
item.label
|
|
3162
3156
|
);
|
|
3163
3157
|
}
|
|
3164
3158
|
if (item.dropdown) {
|
|
3165
|
-
return /* @__PURE__ */
|
|
3159
|
+
return /* @__PURE__ */ jsxs26(
|
|
3166
3160
|
"button",
|
|
3167
3161
|
{
|
|
3168
3162
|
className: [
|
|
@@ -3175,21 +3169,21 @@ var Navbar = ({
|
|
|
3175
3169
|
"aria-haspopup": "true",
|
|
3176
3170
|
children: [
|
|
3177
3171
|
item.label,
|
|
3178
|
-
/* @__PURE__ */
|
|
3172
|
+
/* @__PURE__ */ jsx29(ChevronDownIcon3, { className: "navbar__nav-item__chevron" })
|
|
3179
3173
|
]
|
|
3180
3174
|
},
|
|
3181
3175
|
item.label
|
|
3182
3176
|
);
|
|
3183
3177
|
}
|
|
3184
|
-
return /* @__PURE__ */
|
|
3178
|
+
return /* @__PURE__ */ jsx29("a", { href: item.href, className: "navbar__nav-item", children: item.label }, item.label);
|
|
3185
3179
|
}),
|
|
3186
|
-
languageLabel && /* @__PURE__ */
|
|
3180
|
+
languageLabel && /* @__PURE__ */ jsx29(
|
|
3187
3181
|
"div",
|
|
3188
3182
|
{
|
|
3189
3183
|
className: "navbar__lang-wrapper",
|
|
3190
3184
|
onMouseEnter: hasLangDropdown ? handleLangEnter : void 0,
|
|
3191
3185
|
onMouseLeave: hasLangDropdown ? handleLangLeave : void 0,
|
|
3192
|
-
children: /* @__PURE__ */
|
|
3186
|
+
children: /* @__PURE__ */ jsxs26(
|
|
3193
3187
|
"button",
|
|
3194
3188
|
{
|
|
3195
3189
|
ref: langBtnRef,
|
|
@@ -3202,7 +3196,7 @@ var Navbar = ({
|
|
|
3202
3196
|
"aria-haspopup": hasLangDropdown ? "true" : void 0,
|
|
3203
3197
|
"aria-expanded": hasLangDropdown ? langDropdownOpen : void 0,
|
|
3204
3198
|
children: [
|
|
3205
|
-
/* @__PURE__ */
|
|
3199
|
+
/* @__PURE__ */ jsx29(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3206
3200
|
languageLabel
|
|
3207
3201
|
]
|
|
3208
3202
|
}
|
|
@@ -3210,12 +3204,12 @@ var Navbar = ({
|
|
|
3210
3204
|
}
|
|
3211
3205
|
)
|
|
3212
3206
|
] }),
|
|
3213
|
-
/* @__PURE__ */
|
|
3214
|
-
loginHref && /* @__PURE__ */
|
|
3215
|
-
ctaHref && /* @__PURE__ */
|
|
3207
|
+
/* @__PURE__ */ jsxs26("div", { className: "navbar__pill-actions", children: [
|
|
3208
|
+
loginHref && /* @__PURE__ */ jsx29("a", { href: loginHref, children: /* @__PURE__ */ jsx29(Button, { colorScheme: "black", variant: "secondary", label: loginLabel }) }),
|
|
3209
|
+
ctaHref && /* @__PURE__ */ jsx29("a", { href: ctaHref, children: /* @__PURE__ */ jsx29(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3216
3210
|
] })
|
|
3217
3211
|
] }) }),
|
|
3218
|
-
/* @__PURE__ */
|
|
3212
|
+
/* @__PURE__ */ jsx29(AnimatePresence, { children: openDropdown && activeDropdownItem?.dropdown && /* @__PURE__ */ jsx29(
|
|
3219
3213
|
DropdownPanel,
|
|
3220
3214
|
{
|
|
3221
3215
|
item: activeDropdownItem,
|
|
@@ -3224,7 +3218,7 @@ var Navbar = ({
|
|
|
3224
3218
|
},
|
|
3225
3219
|
"dropdown"
|
|
3226
3220
|
) }),
|
|
3227
|
-
/* @__PURE__ */
|
|
3221
|
+
/* @__PURE__ */ jsx29(AnimatePresence, { children: hasLangDropdown && langDropdownOpen && /* @__PURE__ */ jsx29(
|
|
3228
3222
|
motion2.div,
|
|
3229
3223
|
{
|
|
3230
3224
|
className: "navbar__lang-dropdown",
|
|
@@ -3235,12 +3229,12 @@ var Navbar = ({
|
|
|
3235
3229
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3236
3230
|
onMouseEnter: clearLangHoverTimeout,
|
|
3237
3231
|
onMouseLeave: handleLangLeave,
|
|
3238
|
-
children: /* @__PURE__ */
|
|
3232
|
+
children: /* @__PURE__ */ jsx29(
|
|
3239
3233
|
"div",
|
|
3240
3234
|
{
|
|
3241
3235
|
className: "navbar__lang-dropdown-grid",
|
|
3242
3236
|
style: { "--lang-rows": Math.ceil(languageItems.length / 3) },
|
|
3243
|
-
children: languageItems.map((lang) => /* @__PURE__ */
|
|
3237
|
+
children: languageItems.map((lang) => /* @__PURE__ */ jsx29(
|
|
3244
3238
|
"button",
|
|
3245
3239
|
{
|
|
3246
3240
|
className: [
|
|
@@ -3256,8 +3250,8 @@ var Navbar = ({
|
|
|
3256
3250
|
)
|
|
3257
3251
|
}
|
|
3258
3252
|
) }),
|
|
3259
|
-
/* @__PURE__ */
|
|
3260
|
-
loginHref && /* @__PURE__ */
|
|
3253
|
+
/* @__PURE__ */ jsxs26("div", { className: "navbar__actions", children: [
|
|
3254
|
+
loginHref && /* @__PURE__ */ jsx29("a", { href: loginHref, className: "navbar__actions-login", children: /* @__PURE__ */ jsx29(
|
|
3261
3255
|
Button,
|
|
3262
3256
|
{
|
|
3263
3257
|
colorScheme: theme === "dark" ? "white" : "black",
|
|
@@ -3265,10 +3259,10 @@ var Navbar = ({
|
|
|
3265
3259
|
label: loginLabel
|
|
3266
3260
|
}
|
|
3267
3261
|
) }),
|
|
3268
|
-
ctaHref && /* @__PURE__ */
|
|
3262
|
+
ctaHref && /* @__PURE__ */ jsx29("a", { href: ctaHref, children: /* @__PURE__ */ jsx29(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3269
3263
|
] }),
|
|
3270
|
-
/* @__PURE__ */
|
|
3271
|
-
loginHref && /* @__PURE__ */
|
|
3264
|
+
/* @__PURE__ */ jsxs26("div", { className: "navbar__mobile-actions", children: [
|
|
3265
|
+
loginHref && /* @__PURE__ */ jsx29("a", { href: loginHref, children: /* @__PURE__ */ jsx29(
|
|
3272
3266
|
Button,
|
|
3273
3267
|
{
|
|
3274
3268
|
colorScheme: scrolled || theme === "light" ? "black" : "white",
|
|
@@ -3276,18 +3270,18 @@ var Navbar = ({
|
|
|
3276
3270
|
label: loginLabel
|
|
3277
3271
|
}
|
|
3278
3272
|
) }),
|
|
3279
|
-
/* @__PURE__ */
|
|
3273
|
+
/* @__PURE__ */ jsx29(
|
|
3280
3274
|
"button",
|
|
3281
3275
|
{
|
|
3282
3276
|
className: "navbar__mobile-trigger",
|
|
3283
3277
|
onClick: () => setMobileOpen((o) => !o),
|
|
3284
3278
|
"aria-label": mobileOpen ? "Close navigation menu" : "Open navigation menu",
|
|
3285
|
-
children: mobileOpen ? /* @__PURE__ */
|
|
3279
|
+
children: mobileOpen ? /* @__PURE__ */ jsx29(XMarkIcon2, {}) : /* @__PURE__ */ jsx29(BarsIcon, {})
|
|
3286
3280
|
}
|
|
3287
3281
|
)
|
|
3288
3282
|
] })
|
|
3289
3283
|
] }),
|
|
3290
|
-
/* @__PURE__ */
|
|
3284
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__drawer-clip", children: /* @__PURE__ */ jsx29(AnimatePresence, { children: mobileOpen && /* @__PURE__ */ jsxs26(
|
|
3291
3285
|
motion2.div,
|
|
3292
3286
|
{
|
|
3293
3287
|
className: "navbar__drawer",
|
|
@@ -3300,10 +3294,10 @@ var Navbar = ({
|
|
|
3300
3294
|
role: "dialog",
|
|
3301
3295
|
"aria-label": "Navigation menu",
|
|
3302
3296
|
children: [
|
|
3303
|
-
/* @__PURE__ */
|
|
3297
|
+
/* @__PURE__ */ jsxs26("nav", { className: "navbar__drawer-nav", children: [
|
|
3304
3298
|
navItems.map((item) => {
|
|
3305
3299
|
if (item.dropdown) {
|
|
3306
|
-
return /* @__PURE__ */
|
|
3300
|
+
return /* @__PURE__ */ jsx29(
|
|
3307
3301
|
DrawerAccordion,
|
|
3308
3302
|
{
|
|
3309
3303
|
item,
|
|
@@ -3315,7 +3309,7 @@ var Navbar = ({
|
|
|
3315
3309
|
item.label
|
|
3316
3310
|
);
|
|
3317
3311
|
}
|
|
3318
|
-
return /* @__PURE__ */
|
|
3312
|
+
return /* @__PURE__ */ jsxs26(
|
|
3319
3313
|
"a",
|
|
3320
3314
|
{
|
|
3321
3315
|
href: item.href,
|
|
@@ -3324,30 +3318,30 @@ var Navbar = ({
|
|
|
3324
3318
|
rel: item.external ? "noopener noreferrer" : void 0,
|
|
3325
3319
|
children: [
|
|
3326
3320
|
item.label,
|
|
3327
|
-
item.external && /* @__PURE__ */
|
|
3321
|
+
item.external && /* @__PURE__ */ jsx29(ArrowUpRightIcon, {})
|
|
3328
3322
|
]
|
|
3329
3323
|
},
|
|
3330
3324
|
item.label
|
|
3331
3325
|
);
|
|
3332
3326
|
}),
|
|
3333
|
-
languageLabel && !hasLangDropdown && /* @__PURE__ */
|
|
3334
|
-
/* @__PURE__ */
|
|
3327
|
+
languageLabel && !hasLangDropdown && /* @__PURE__ */ jsxs26("button", { className: "navbar__drawer-lang", onClick: onLanguageClick, children: [
|
|
3328
|
+
/* @__PURE__ */ jsx29(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3335
3329
|
languageLabel
|
|
3336
3330
|
] }),
|
|
3337
|
-
languageLabel && hasLangDropdown && /* @__PURE__ */
|
|
3331
|
+
languageLabel && hasLangDropdown && /* @__PURE__ */ jsxs26(
|
|
3338
3332
|
"button",
|
|
3339
3333
|
{
|
|
3340
3334
|
className: "navbar__drawer-lang",
|
|
3341
3335
|
onClick: () => setMobileLangOpen(true),
|
|
3342
3336
|
children: [
|
|
3343
|
-
/* @__PURE__ */
|
|
3337
|
+
/* @__PURE__ */ jsx29(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3344
3338
|
languageLabel
|
|
3345
3339
|
]
|
|
3346
3340
|
}
|
|
3347
3341
|
)
|
|
3348
3342
|
] }),
|
|
3349
|
-
!mobileLangOpen && /* @__PURE__ */
|
|
3350
|
-
loginHref && /* @__PURE__ */
|
|
3343
|
+
!mobileLangOpen && /* @__PURE__ */ jsxs26("div", { className: "navbar__drawer-footer", children: [
|
|
3344
|
+
loginHref && /* @__PURE__ */ jsx29("a", { href: loginHref, style: { display: "block" }, children: /* @__PURE__ */ jsx29(
|
|
3351
3345
|
Button,
|
|
3352
3346
|
{
|
|
3353
3347
|
colorScheme: "black",
|
|
@@ -3356,7 +3350,7 @@ var Navbar = ({
|
|
|
3356
3350
|
fullWidth: true
|
|
3357
3351
|
}
|
|
3358
3352
|
) }),
|
|
3359
|
-
ctaHref && /* @__PURE__ */
|
|
3353
|
+
ctaHref && /* @__PURE__ */ jsx29("a", { href: ctaHref, style: { display: "block" }, children: /* @__PURE__ */ jsx29(
|
|
3360
3354
|
Button,
|
|
3361
3355
|
{
|
|
3362
3356
|
colorScheme: "coral",
|
|
@@ -3366,7 +3360,7 @@ var Navbar = ({
|
|
|
3366
3360
|
}
|
|
3367
3361
|
) })
|
|
3368
3362
|
] }),
|
|
3369
|
-
/* @__PURE__ */
|
|
3363
|
+
/* @__PURE__ */ jsx29(AnimatePresence, { children: hasLangDropdown && mobileLangOpen && /* @__PURE__ */ jsxs26(
|
|
3370
3364
|
motion2.div,
|
|
3371
3365
|
{
|
|
3372
3366
|
className: "navbar__drawer-lang-panel",
|
|
@@ -3375,16 +3369,16 @@ var Navbar = ({
|
|
|
3375
3369
|
exit: { y: "100%" },
|
|
3376
3370
|
transition: { duration: 0.25, ease: EASE_OUT_EXPO },
|
|
3377
3371
|
children: [
|
|
3378
|
-
/* @__PURE__ */
|
|
3372
|
+
/* @__PURE__ */ jsx29(
|
|
3379
3373
|
"button",
|
|
3380
3374
|
{
|
|
3381
3375
|
className: "navbar__drawer-lang-back",
|
|
3382
3376
|
onClick: () => setMobileLangOpen(false),
|
|
3383
3377
|
"aria-label": "Back to menu",
|
|
3384
|
-
children: /* @__PURE__ */
|
|
3378
|
+
children: /* @__PURE__ */ jsx29(ChevronLeftIcon, {})
|
|
3385
3379
|
}
|
|
3386
3380
|
),
|
|
3387
|
-
/* @__PURE__ */
|
|
3381
|
+
/* @__PURE__ */ jsx29("div", { className: "navbar__drawer-lang-grid", children: languageItems.map((lang) => /* @__PURE__ */ jsx29(
|
|
3388
3382
|
"button",
|
|
3389
3383
|
{
|
|
3390
3384
|
className: [
|
|
@@ -3491,7 +3485,7 @@ function webflowV2DayClipPercent(t, media) {
|
|
|
3491
3485
|
}
|
|
3492
3486
|
|
|
3493
3487
|
// templates/DayNightTransition/DayNightTransition.tsx
|
|
3494
|
-
import { Fragment as Fragment3, jsx as
|
|
3488
|
+
import { Fragment as Fragment3, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3495
3489
|
var SPRING2 = { stiffness: 80, damping: 30, restDelta: 1e-3 };
|
|
3496
3490
|
var FADE_START = 0.35;
|
|
3497
3491
|
var FADE_END = 0.65;
|
|
@@ -3628,15 +3622,15 @@ var DayNightTransition = ({
|
|
|
3628
3622
|
descriptionLevel === "body-lg" && "dnt--desc-body-lg",
|
|
3629
3623
|
className
|
|
3630
3624
|
].filter(Boolean).join(" ");
|
|
3631
|
-
return /* @__PURE__ */
|
|
3625
|
+
return /* @__PURE__ */ jsxs27(
|
|
3632
3626
|
"div",
|
|
3633
3627
|
{
|
|
3634
3628
|
ref: wrapperRef,
|
|
3635
3629
|
className: rootClass,
|
|
3636
3630
|
...props,
|
|
3637
3631
|
children: [
|
|
3638
|
-
webflowV2 && /* @__PURE__ */
|
|
3639
|
-
/* @__PURE__ */
|
|
3632
|
+
webflowV2 && /* @__PURE__ */ jsxs27("div", { className: "dnt__v2-background-wrapper", "aria-hidden": "true", children: [
|
|
3633
|
+
/* @__PURE__ */ jsx30(
|
|
3640
3634
|
motion3.div,
|
|
3641
3635
|
{
|
|
3642
3636
|
className: "dnt__v2-bg-day trade-day-night_background-day is-alternative",
|
|
@@ -3646,7 +3640,7 @@ var DayNightTransition = ({
|
|
|
3646
3640
|
}
|
|
3647
3641
|
}
|
|
3648
3642
|
),
|
|
3649
|
-
/* @__PURE__ */
|
|
3643
|
+
/* @__PURE__ */ jsx30(
|
|
3650
3644
|
"div",
|
|
3651
3645
|
{
|
|
3652
3646
|
className: "dnt__v2-bg-night trade-day-night_background-night is-alternative",
|
|
@@ -3654,9 +3648,9 @@ var DayNightTransition = ({
|
|
|
3654
3648
|
}
|
|
3655
3649
|
)
|
|
3656
3650
|
] }),
|
|
3657
|
-
/* @__PURE__ */
|
|
3658
|
-
!webflowV2 && /* @__PURE__ */
|
|
3659
|
-
/* @__PURE__ */
|
|
3651
|
+
/* @__PURE__ */ jsxs27("div", { className: webflowV2 ? "dnt__sticky dnt__sticky--webflow-v2" : "dnt__sticky", children: [
|
|
3652
|
+
!webflowV2 && /* @__PURE__ */ jsxs27(Fragment3, { children: [
|
|
3653
|
+
/* @__PURE__ */ jsx30(
|
|
3660
3654
|
"img",
|
|
3661
3655
|
{
|
|
3662
3656
|
className: "dnt__bg dnt__bg--day",
|
|
@@ -3666,7 +3660,7 @@ var DayNightTransition = ({
|
|
|
3666
3660
|
draggable: false
|
|
3667
3661
|
}
|
|
3668
3662
|
),
|
|
3669
|
-
/* @__PURE__ */
|
|
3663
|
+
/* @__PURE__ */ jsx30(
|
|
3670
3664
|
motion3.img,
|
|
3671
3665
|
{
|
|
3672
3666
|
className: "dnt__bg dnt__bg--night",
|
|
@@ -3678,17 +3672,17 @@ var DayNightTransition = ({
|
|
|
3678
3672
|
}
|
|
3679
3673
|
)
|
|
3680
3674
|
] }),
|
|
3681
|
-
/* @__PURE__ */
|
|
3682
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */
|
|
3675
|
+
/* @__PURE__ */ jsx30("div", { className: "dnt__content", children: /* @__PURE__ */ jsx30("div", { className: "dnt__inner", children: webflowV2 ? /* @__PURE__ */ jsxs27("div", { className: "dnt__text-wrap", children: [
|
|
3676
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ jsxs27(
|
|
3683
3677
|
MotionHeadline,
|
|
3684
3678
|
{
|
|
3685
3679
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
3686
3680
|
style: { color: v2TitleColor },
|
|
3687
3681
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
3688
3682
|
children: [
|
|
3689
|
-
/* @__PURE__ */
|
|
3690
|
-
/* @__PURE__ */
|
|
3691
|
-
/* @__PURE__ */
|
|
3683
|
+
/* @__PURE__ */ jsx30("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
3684
|
+
/* @__PURE__ */ jsxs27("span", { className: "dnt__headline-pair", children: [
|
|
3685
|
+
/* @__PURE__ */ jsx30(
|
|
3692
3686
|
motion3.span,
|
|
3693
3687
|
{
|
|
3694
3688
|
ref: dayWordRef,
|
|
@@ -3697,7 +3691,7 @@ var DayNightTransition = ({
|
|
|
3697
3691
|
children: inlineDayNightHeadline.dayWord
|
|
3698
3692
|
}
|
|
3699
3693
|
),
|
|
3700
|
-
/* @__PURE__ */
|
|
3694
|
+
/* @__PURE__ */ jsx30(
|
|
3701
3695
|
motion3.span,
|
|
3702
3696
|
{
|
|
3703
3697
|
className: "dnt__headline-wnight",
|
|
@@ -3712,8 +3706,8 @@ var DayNightTransition = ({
|
|
|
3712
3706
|
] })
|
|
3713
3707
|
]
|
|
3714
3708
|
}
|
|
3715
|
-
) : /* @__PURE__ */
|
|
3716
|
-
/* @__PURE__ */
|
|
3709
|
+
) : /* @__PURE__ */ jsxs27("div", { className: "dnt__crossfade-wrap", children: [
|
|
3710
|
+
/* @__PURE__ */ jsx30(
|
|
3717
3711
|
MotionHeadline,
|
|
3718
3712
|
{
|
|
3719
3713
|
className: "dnt__headline",
|
|
@@ -3721,7 +3715,7 @@ var DayNightTransition = ({
|
|
|
3721
3715
|
children: dayHeadline
|
|
3722
3716
|
}
|
|
3723
3717
|
),
|
|
3724
|
-
/* @__PURE__ */
|
|
3718
|
+
/* @__PURE__ */ jsx30(
|
|
3725
3719
|
MotionHeadline,
|
|
3726
3720
|
{
|
|
3727
3721
|
className: "dnt__headline",
|
|
@@ -3731,8 +3725,8 @@ var DayNightTransition = ({
|
|
|
3731
3725
|
}
|
|
3732
3726
|
)
|
|
3733
3727
|
] }),
|
|
3734
|
-
hasDescription && /* @__PURE__ */
|
|
3735
|
-
/* @__PURE__ */
|
|
3728
|
+
hasDescription && /* @__PURE__ */ jsxs27("div", { className: "dnt__crossfade-wrap", children: [
|
|
3729
|
+
/* @__PURE__ */ jsx30(
|
|
3736
3730
|
motion3.p,
|
|
3737
3731
|
{
|
|
3738
3732
|
className: "dnt__description",
|
|
@@ -3743,7 +3737,7 @@ var DayNightTransition = ({
|
|
|
3743
3737
|
children: dayDescription ?? ""
|
|
3744
3738
|
}
|
|
3745
3739
|
),
|
|
3746
|
-
/* @__PURE__ */
|
|
3740
|
+
/* @__PURE__ */ jsx30(
|
|
3747
3741
|
motion3.p,
|
|
3748
3742
|
{
|
|
3749
3743
|
className: "dnt__description",
|
|
@@ -3756,22 +3750,22 @@ var DayNightTransition = ({
|
|
|
3756
3750
|
}
|
|
3757
3751
|
)
|
|
3758
3752
|
] }),
|
|
3759
|
-
!hideCta && /* @__PURE__ */
|
|
3760
|
-
] }) : /* @__PURE__ */
|
|
3753
|
+
!hideCta && /* @__PURE__ */ jsx30("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
3754
|
+
] }) : /* @__PURE__ */ jsxs27(
|
|
3761
3755
|
motion3.div,
|
|
3762
3756
|
{
|
|
3763
3757
|
className: "dnt__text-wrap",
|
|
3764
3758
|
style: { color: textColor },
|
|
3765
3759
|
children: [
|
|
3766
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */
|
|
3760
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ jsxs27(
|
|
3767
3761
|
MotionHeadline,
|
|
3768
3762
|
{
|
|
3769
3763
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
3770
3764
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
3771
3765
|
children: [
|
|
3772
|
-
/* @__PURE__ */
|
|
3773
|
-
/* @__PURE__ */
|
|
3774
|
-
/* @__PURE__ */
|
|
3766
|
+
/* @__PURE__ */ jsx30("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
3767
|
+
/* @__PURE__ */ jsxs27("span", { className: "dnt__headline-pair", children: [
|
|
3768
|
+
/* @__PURE__ */ jsx30(
|
|
3775
3769
|
motion3.span,
|
|
3776
3770
|
{
|
|
3777
3771
|
ref: dayWordRef,
|
|
@@ -3780,7 +3774,7 @@ var DayNightTransition = ({
|
|
|
3780
3774
|
children: inlineDayNightHeadline.dayWord
|
|
3781
3775
|
}
|
|
3782
3776
|
),
|
|
3783
|
-
/* @__PURE__ */
|
|
3777
|
+
/* @__PURE__ */ jsx30(
|
|
3784
3778
|
motion3.span,
|
|
3785
3779
|
{
|
|
3786
3780
|
className: "dnt__headline-wnight",
|
|
@@ -3795,8 +3789,8 @@ var DayNightTransition = ({
|
|
|
3795
3789
|
] })
|
|
3796
3790
|
]
|
|
3797
3791
|
}
|
|
3798
|
-
) : /* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
3792
|
+
) : /* @__PURE__ */ jsxs27("div", { className: "dnt__crossfade-wrap", children: [
|
|
3793
|
+
/* @__PURE__ */ jsx30(
|
|
3800
3794
|
MotionHeadline,
|
|
3801
3795
|
{
|
|
3802
3796
|
className: "dnt__headline",
|
|
@@ -3804,7 +3798,7 @@ var DayNightTransition = ({
|
|
|
3804
3798
|
children: dayHeadline
|
|
3805
3799
|
}
|
|
3806
3800
|
),
|
|
3807
|
-
/* @__PURE__ */
|
|
3801
|
+
/* @__PURE__ */ jsx30(
|
|
3808
3802
|
MotionHeadline,
|
|
3809
3803
|
{
|
|
3810
3804
|
className: "dnt__headline",
|
|
@@ -3814,8 +3808,8 @@ var DayNightTransition = ({
|
|
|
3814
3808
|
}
|
|
3815
3809
|
)
|
|
3816
3810
|
] }),
|
|
3817
|
-
hasDescription && /* @__PURE__ */
|
|
3818
|
-
/* @__PURE__ */
|
|
3811
|
+
hasDescription && /* @__PURE__ */ jsxs27("div", { className: "dnt__crossfade-wrap", children: [
|
|
3812
|
+
/* @__PURE__ */ jsx30(
|
|
3819
3813
|
motion3.p,
|
|
3820
3814
|
{
|
|
3821
3815
|
className: "dnt__description",
|
|
@@ -3823,7 +3817,7 @@ var DayNightTransition = ({
|
|
|
3823
3817
|
children: dayDescription ?? ""
|
|
3824
3818
|
}
|
|
3825
3819
|
),
|
|
3826
|
-
/* @__PURE__ */
|
|
3820
|
+
/* @__PURE__ */ jsx30(
|
|
3827
3821
|
motion3.p,
|
|
3828
3822
|
{
|
|
3829
3823
|
className: "dnt__description",
|
|
@@ -3833,7 +3827,7 @@ var DayNightTransition = ({
|
|
|
3833
3827
|
}
|
|
3834
3828
|
)
|
|
3835
3829
|
] }),
|
|
3836
|
-
!hideCta && /* @__PURE__ */
|
|
3830
|
+
!hideCta && /* @__PURE__ */ jsx30("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
3837
3831
|
]
|
|
3838
3832
|
}
|
|
3839
3833
|
) }) })
|
|
@@ -3866,7 +3860,7 @@ import {
|
|
|
3866
3860
|
useAnimationFrame,
|
|
3867
3861
|
useMotionValue
|
|
3868
3862
|
} from "framer-motion";
|
|
3869
|
-
import { jsx as
|
|
3863
|
+
import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3870
3864
|
function modWrap(min, max, v) {
|
|
3871
3865
|
const range = max - min;
|
|
3872
3866
|
return ((v - min) % range + range) % range + min;
|
|
@@ -3937,21 +3931,21 @@ var LogoMarquee = ({
|
|
|
3937
3931
|
});
|
|
3938
3932
|
const track1 = [...col1Logos, ...col1Logos];
|
|
3939
3933
|
const track2 = [...col2Logos, ...col2Logos];
|
|
3940
|
-
return /* @__PURE__ */
|
|
3934
|
+
return /* @__PURE__ */ jsx31(
|
|
3941
3935
|
"section",
|
|
3942
3936
|
{
|
|
3943
3937
|
className: ["lm", className].filter(Boolean).join(" "),
|
|
3944
3938
|
...props,
|
|
3945
|
-
children: /* @__PURE__ */
|
|
3946
|
-
/* @__PURE__ */
|
|
3947
|
-
/* @__PURE__ */
|
|
3948
|
-
/* @__PURE__ */
|
|
3939
|
+
children: /* @__PURE__ */ jsxs28("div", { className: "lm__inner", children: [
|
|
3940
|
+
/* @__PURE__ */ jsx31("div", { className: "lm__media", children: /* @__PURE__ */ jsxs28("div", { className: "lm__carousel", children: [
|
|
3941
|
+
/* @__PURE__ */ jsx31("div", { className: "lm__fade lm__fade--top", "aria-hidden": "true" }),
|
|
3942
|
+
/* @__PURE__ */ jsx31(
|
|
3949
3943
|
motion4.div,
|
|
3950
3944
|
{
|
|
3951
3945
|
ref: col1Ref,
|
|
3952
3946
|
className: "lm__col",
|
|
3953
3947
|
style: { y: col1Y },
|
|
3954
|
-
children: track1.map((logo, i) => /* @__PURE__ */
|
|
3948
|
+
children: track1.map((logo, i) => /* @__PURE__ */ jsx31("div", { className: "lm__card", children: /* @__PURE__ */ jsx31("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ jsx31(
|
|
3955
3949
|
"img",
|
|
3956
3950
|
{
|
|
3957
3951
|
src: logo.url,
|
|
@@ -3962,13 +3956,13 @@ var LogoMarquee = ({
|
|
|
3962
3956
|
) }) }, `c1-${i}`))
|
|
3963
3957
|
}
|
|
3964
3958
|
),
|
|
3965
|
-
/* @__PURE__ */
|
|
3959
|
+
/* @__PURE__ */ jsx31(
|
|
3966
3960
|
motion4.div,
|
|
3967
3961
|
{
|
|
3968
3962
|
ref: col2Ref,
|
|
3969
3963
|
className: "lm__col",
|
|
3970
3964
|
style: { y: col2Y },
|
|
3971
|
-
children: track2.map((logo, i) => /* @__PURE__ */
|
|
3965
|
+
children: track2.map((logo, i) => /* @__PURE__ */ jsx31("div", { className: "lm__card", children: /* @__PURE__ */ jsx31("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ jsx31(
|
|
3972
3966
|
"img",
|
|
3973
3967
|
{
|
|
3974
3968
|
src: logo.url,
|
|
@@ -3979,17 +3973,17 @@ var LogoMarquee = ({
|
|
|
3979
3973
|
) }) }, `c2-${i}`))
|
|
3980
3974
|
}
|
|
3981
3975
|
),
|
|
3982
|
-
/* @__PURE__ */
|
|
3976
|
+
/* @__PURE__ */ jsx31("div", { className: "lm__fade lm__fade--bottom", "aria-hidden": "true" })
|
|
3983
3977
|
] }) }),
|
|
3984
|
-
/* @__PURE__ */
|
|
3985
|
-
/* @__PURE__ */
|
|
3986
|
-
/* @__PURE__ */
|
|
3987
|
-
/* @__PURE__ */
|
|
3988
|
-
/* @__PURE__ */
|
|
3978
|
+
/* @__PURE__ */ jsxs28("div", { className: "lm__content", children: [
|
|
3979
|
+
/* @__PURE__ */ jsx31("h2", { className: "lm__headline", children: headline }),
|
|
3980
|
+
/* @__PURE__ */ jsxs28("div", { className: "lm__text-group", children: [
|
|
3981
|
+
/* @__PURE__ */ jsx31("p", { className: "lm__body", children: body }),
|
|
3982
|
+
/* @__PURE__ */ jsx31("p", { className: "lm__disclaimer", children: disclaimer })
|
|
3989
3983
|
] }),
|
|
3990
|
-
/* @__PURE__ */
|
|
3984
|
+
/* @__PURE__ */ jsxs28("a", { href: ctaHref, className: "lm__link", children: [
|
|
3991
3985
|
ctaLabel,
|
|
3992
|
-
/* @__PURE__ */
|
|
3986
|
+
/* @__PURE__ */ jsx31("span", { className: "lm__link-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx31("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx31("path", { d: "M3 8H13M13 8L9 4M13 8L9 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
|
|
3993
3987
|
] })
|
|
3994
3988
|
] })
|
|
3995
3989
|
] })
|
|
@@ -4040,7 +4034,7 @@ var appstore_linux_dark_default = "./appstore-linux-dark-RVH7CBM4.svg";
|
|
|
4040
4034
|
var appstore_browser_dark_default = "./appstore-browser-dark-2E6TK6JH.svg";
|
|
4041
4035
|
|
|
4042
4036
|
// primitives/DownloadBadge/DownloadBadge.tsx
|
|
4043
|
-
import { jsx as
|
|
4037
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
4044
4038
|
var BADGE_ASSETS = {
|
|
4045
4039
|
light: {
|
|
4046
4040
|
googleplay: { src: appstore_googleplay_light_default, alt: "Get it on Google Play" },
|
|
@@ -4069,7 +4063,7 @@ var DownloadBadge = ({
|
|
|
4069
4063
|
...props
|
|
4070
4064
|
}) => {
|
|
4071
4065
|
const { src, alt } = BADGE_ASSETS[colorScheme][platform];
|
|
4072
|
-
return /* @__PURE__ */
|
|
4066
|
+
return /* @__PURE__ */ jsx32(
|
|
4073
4067
|
"a",
|
|
4074
4068
|
{
|
|
4075
4069
|
className: [
|
|
@@ -4082,13 +4076,13 @@ var DownloadBadge = ({
|
|
|
4082
4076
|
target: "_blank",
|
|
4083
4077
|
rel: "noopener noreferrer",
|
|
4084
4078
|
...props,
|
|
4085
|
-
children: /* @__PURE__ */
|
|
4079
|
+
children: /* @__PURE__ */ jsx32("img", { className: "download-badge__img", src, alt })
|
|
4086
4080
|
}
|
|
4087
4081
|
);
|
|
4088
4082
|
};
|
|
4089
4083
|
|
|
4090
4084
|
// templates/Steps/Steps.tsx
|
|
4091
|
-
import { jsx as
|
|
4085
|
+
import { jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4092
4086
|
var Steps = ({
|
|
4093
4087
|
title,
|
|
4094
4088
|
steps,
|
|
@@ -4100,8 +4094,8 @@ var Steps = ({
|
|
|
4100
4094
|
"steps__container",
|
|
4101
4095
|
imagePosition === "right" ? "steps__container--image-right" : ""
|
|
4102
4096
|
].filter(Boolean).join(" ");
|
|
4103
|
-
return /* @__PURE__ */
|
|
4104
|
-
image && /* @__PURE__ */
|
|
4097
|
+
return /* @__PURE__ */ jsx33("section", { className: "steps", children: /* @__PURE__ */ jsxs29("div", { className: containerClass, children: [
|
|
4098
|
+
image && /* @__PURE__ */ jsx33("div", { className: "steps__image-wrapper", children: /* @__PURE__ */ jsx33(
|
|
4105
4099
|
"img",
|
|
4106
4100
|
{
|
|
4107
4101
|
src: image,
|
|
@@ -4109,13 +4103,13 @@ var Steps = ({
|
|
|
4109
4103
|
className: "steps__image"
|
|
4110
4104
|
}
|
|
4111
4105
|
) }),
|
|
4112
|
-
/* @__PURE__ */
|
|
4113
|
-
/* @__PURE__ */
|
|
4114
|
-
/* @__PURE__ */
|
|
4115
|
-
/* @__PURE__ */
|
|
4116
|
-
/* @__PURE__ */
|
|
4117
|
-
/* @__PURE__ */
|
|
4118
|
-
/* @__PURE__ */
|
|
4106
|
+
/* @__PURE__ */ jsxs29("div", { className: "steps__content", children: [
|
|
4107
|
+
/* @__PURE__ */ jsx33("h2", { className: "steps__title", children: title }),
|
|
4108
|
+
/* @__PURE__ */ jsx33("ol", { className: "steps__list", children: steps.map((step, index) => /* @__PURE__ */ jsx33("li", { className: "steps__item", children: /* @__PURE__ */ jsxs29("div", { className: "steps__item-inner", children: [
|
|
4109
|
+
/* @__PURE__ */ jsx33("span", { className: "steps__number", "aria-hidden": "true", children: index + 1 }),
|
|
4110
|
+
/* @__PURE__ */ jsxs29("div", { className: "steps__item-body", children: [
|
|
4111
|
+
/* @__PURE__ */ jsx33("h3", { className: "steps__item-title", children: step.title }),
|
|
4112
|
+
/* @__PURE__ */ jsx33("p", { className: "steps__item-description", children: step.description })
|
|
4119
4113
|
] })
|
|
4120
4114
|
] }) }, index)) })
|
|
4121
4115
|
] })
|
|
@@ -4123,7 +4117,7 @@ var Steps = ({
|
|
|
4123
4117
|
};
|
|
4124
4118
|
|
|
4125
4119
|
// templates/DownloadBanner/DownloadBanner.tsx
|
|
4126
|
-
import { jsx as
|
|
4120
|
+
import { jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4127
4121
|
var DownloadBanner = ({
|
|
4128
4122
|
style = "light-2",
|
|
4129
4123
|
qrCodeImage,
|
|
@@ -4148,9 +4142,9 @@ var DownloadBanner = ({
|
|
|
4148
4142
|
disclaimer
|
|
4149
4143
|
}) => {
|
|
4150
4144
|
const colorScheme = style === "dark" ? "dark" : "light";
|
|
4151
|
-
return /* @__PURE__ */
|
|
4152
|
-
/* @__PURE__ */
|
|
4153
|
-
qrCodeImage && /* @__PURE__ */
|
|
4145
|
+
return /* @__PURE__ */ jsx34("section", { className: `db-section db-section--${style}`, children: /* @__PURE__ */ jsx34("div", { className: "db-container", children: /* @__PURE__ */ jsxs30("div", { className: "db-card", children: [
|
|
4146
|
+
/* @__PURE__ */ jsxs30("div", { className: "db-qr-block", children: [
|
|
4147
|
+
qrCodeImage && /* @__PURE__ */ jsx34(
|
|
4154
4148
|
"img",
|
|
4155
4149
|
{
|
|
4156
4150
|
className: "db-qr-image",
|
|
@@ -4158,21 +4152,21 @@ var DownloadBanner = ({
|
|
|
4158
4152
|
alt: qrCodeAlt
|
|
4159
4153
|
}
|
|
4160
4154
|
),
|
|
4161
|
-
/* @__PURE__ */
|
|
4162
|
-
/* @__PURE__ */
|
|
4163
|
-
/* @__PURE__ */
|
|
4164
|
-
/* @__PURE__ */
|
|
4165
|
-
disclaimer && /* @__PURE__ */
|
|
4155
|
+
/* @__PURE__ */ jsxs30("div", { className: "db-qr-text", children: [
|
|
4156
|
+
/* @__PURE__ */ jsx34("span", { className: "db-qr-text__title db-qr-text__title--desktop", children: qrTitle }),
|
|
4157
|
+
/* @__PURE__ */ jsx34("h2", { className: "db-qr-text__subtitle db-qr-text__subtitle--desktop", children: qrSubtitle }),
|
|
4158
|
+
/* @__PURE__ */ jsx34("span", { className: "db-qr-text__title db-qr-text__title--mobile", children: mobileTitle }),
|
|
4159
|
+
disclaimer && /* @__PURE__ */ jsx34("span", { className: "db-disclaimer", children: disclaimer })
|
|
4166
4160
|
] })
|
|
4167
4161
|
] }),
|
|
4168
|
-
/* @__PURE__ */
|
|
4169
|
-
showGooglePlay && /* @__PURE__ */
|
|
4170
|
-
showAppGallery && /* @__PURE__ */
|
|
4171
|
-
showMacOS && /* @__PURE__ */
|
|
4172
|
-
showWindows && /* @__PURE__ */
|
|
4173
|
-
showLinux && /* @__PURE__ */
|
|
4174
|
-
showAppStore && /* @__PURE__ */
|
|
4175
|
-
showWeb && /* @__PURE__ */
|
|
4162
|
+
/* @__PURE__ */ jsxs30("div", { className: "db-badges", children: [
|
|
4163
|
+
showGooglePlay && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "googleplay", colorScheme, href: googlePlayHref }),
|
|
4164
|
+
showAppGallery && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "appgallery", colorScheme, href: appGalleryHref }),
|
|
4165
|
+
showMacOS && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "macos", colorScheme, href: macOSHref }),
|
|
4166
|
+
showWindows && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "windows", colorScheme, href: windowsHref }),
|
|
4167
|
+
showLinux && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "linux", colorScheme, href: linuxHref }),
|
|
4168
|
+
showAppStore && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "appstore", colorScheme, href: appStoreHref }),
|
|
4169
|
+
showWeb && /* @__PURE__ */ jsx34(DownloadBadge, { platform: "web", colorScheme, href: webHref })
|
|
4176
4170
|
] })
|
|
4177
4171
|
] }) }) });
|
|
4178
4172
|
};
|
|
@@ -4181,7 +4175,7 @@ var DownloadBanner = ({
|
|
|
4181
4175
|
import { useEffect as useEffect9, useRef as useRef12 } from "react";
|
|
4182
4176
|
import { gsap } from "gsap";
|
|
4183
4177
|
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
|
4184
|
-
import { jsx as
|
|
4178
|
+
import { jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4185
4179
|
gsap.registerPlugin(ScrollTrigger);
|
|
4186
4180
|
var TextScroll = ({ text, className }) => {
|
|
4187
4181
|
const sectionRef = useRef12(null);
|
|
@@ -4221,12 +4215,12 @@ var TextScroll = ({ text, className }) => {
|
|
|
4221
4215
|
gsap.set(wordEls, { clearProps: "opacity" });
|
|
4222
4216
|
};
|
|
4223
4217
|
}, [text]);
|
|
4224
|
-
return /* @__PURE__ */
|
|
4218
|
+
return /* @__PURE__ */ jsx35(
|
|
4225
4219
|
"section",
|
|
4226
4220
|
{
|
|
4227
4221
|
ref: sectionRef,
|
|
4228
4222
|
className: ["ts", className].filter(Boolean).join(" "),
|
|
4229
|
-
children: /* @__PURE__ */
|
|
4223
|
+
children: /* @__PURE__ */ jsx35("div", { className: "ts__inner", children: /* @__PURE__ */ jsx35("p", { className: "ts__text", "aria-label": text, children: words.map((word, i) => /* @__PURE__ */ jsxs31(
|
|
4230
4224
|
"span",
|
|
4231
4225
|
{
|
|
4232
4226
|
ref: (el) => {
|
|
@@ -4247,7 +4241,7 @@ var TextScroll = ({ text, className }) => {
|
|
|
4247
4241
|
|
|
4248
4242
|
// templates/StickyMarketCards/StickyMarketCards.tsx
|
|
4249
4243
|
import { useEffect as useEffect10, useRef as useRef13 } from "react";
|
|
4250
|
-
import { jsx as
|
|
4244
|
+
import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4251
4245
|
var PLACEHOLDER_IMAGE3 = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
4252
4246
|
var StickyMarketCards = ({
|
|
4253
4247
|
sectionTitle,
|
|
@@ -4328,20 +4322,20 @@ var StickyMarketCards = ({
|
|
|
4328
4322
|
const n = items.length;
|
|
4329
4323
|
const maxStack = 4;
|
|
4330
4324
|
const baseIndex = Math.max(0, n - maxStack);
|
|
4331
|
-
return /* @__PURE__ */
|
|
4325
|
+
return /* @__PURE__ */ jsx36(
|
|
4332
4326
|
"section",
|
|
4333
4327
|
{
|
|
4334
4328
|
className: ["smc", className].filter(Boolean).join(" "),
|
|
4335
4329
|
...props,
|
|
4336
|
-
children: /* @__PURE__ */
|
|
4337
|
-
/* @__PURE__ */
|
|
4338
|
-
/* @__PURE__ */
|
|
4339
|
-
sectionDescription && /* @__PURE__ */
|
|
4330
|
+
children: /* @__PURE__ */ jsxs32("div", { className: "smc__inner", children: [
|
|
4331
|
+
/* @__PURE__ */ jsxs32("div", { className: "smc__header-wrap", children: [
|
|
4332
|
+
/* @__PURE__ */ jsx36("h2", { className: "smc__header", children: sectionTitle }),
|
|
4333
|
+
sectionDescription && /* @__PURE__ */ jsx36("p", { className: "smc__description", children: sectionDescription })
|
|
4340
4334
|
] }),
|
|
4341
|
-
/* @__PURE__ */
|
|
4335
|
+
/* @__PURE__ */ jsx36("div", { className: "smc__track", children: items.map((item, i) => {
|
|
4342
4336
|
const theme = item.theme ?? "dark";
|
|
4343
4337
|
const offsetMultiplier = Math.max(0, i - baseIndex);
|
|
4344
|
-
return /* @__PURE__ */
|
|
4338
|
+
return /* @__PURE__ */ jsx36(
|
|
4345
4339
|
"div",
|
|
4346
4340
|
{
|
|
4347
4341
|
ref: (el) => {
|
|
@@ -4352,7 +4346,7 @@ var StickyMarketCards = ({
|
|
|
4352
4346
|
["--smc-card-index"]: String(offsetMultiplier),
|
|
4353
4347
|
zIndex: i + 1
|
|
4354
4348
|
},
|
|
4355
|
-
children: /* @__PURE__ */
|
|
4349
|
+
children: /* @__PURE__ */ jsxs32(
|
|
4356
4350
|
"div",
|
|
4357
4351
|
{
|
|
4358
4352
|
ref: (el) => {
|
|
@@ -4363,8 +4357,8 @@ var StickyMarketCards = ({
|
|
|
4363
4357
|
`smc__card-inner--${theme}`
|
|
4364
4358
|
].join(" "),
|
|
4365
4359
|
children: [
|
|
4366
|
-
/* @__PURE__ */
|
|
4367
|
-
/* @__PURE__ */
|
|
4360
|
+
/* @__PURE__ */ jsxs32("div", { className: "smc__card-bg", children: [
|
|
4361
|
+
/* @__PURE__ */ jsx36(
|
|
4368
4362
|
"img",
|
|
4369
4363
|
{
|
|
4370
4364
|
src: item.imageUrl ?? PLACEHOLDER_IMAGE3,
|
|
@@ -4373,7 +4367,7 @@ var StickyMarketCards = ({
|
|
|
4373
4367
|
loading: i === 0 ? "eager" : "lazy"
|
|
4374
4368
|
}
|
|
4375
4369
|
),
|
|
4376
|
-
/* @__PURE__ */
|
|
4370
|
+
/* @__PURE__ */ jsx36(
|
|
4377
4371
|
"div",
|
|
4378
4372
|
{
|
|
4379
4373
|
className: [
|
|
@@ -4383,9 +4377,9 @@ var StickyMarketCards = ({
|
|
|
4383
4377
|
}
|
|
4384
4378
|
)
|
|
4385
4379
|
] }),
|
|
4386
|
-
/* @__PURE__ */
|
|
4387
|
-
/* @__PURE__ */
|
|
4388
|
-
/* @__PURE__ */
|
|
4380
|
+
/* @__PURE__ */ jsxs32("div", { className: "smc__card-content", children: [
|
|
4381
|
+
/* @__PURE__ */ jsx36("div", { className: "smc__card-title-wrap", children: /* @__PURE__ */ jsx36("h3", { className: "smc__card-title", children: item.title }) }),
|
|
4382
|
+
/* @__PURE__ */ jsx36("div", { className: "smc__card-desc-wrap", children: /* @__PURE__ */ jsx36("p", { className: "smc__card-desc", children: item.description }) })
|
|
4389
4383
|
] })
|
|
4390
4384
|
]
|
|
4391
4385
|
}
|
|
@@ -4401,11 +4395,11 @@ var StickyMarketCards = ({
|
|
|
4401
4395
|
|
|
4402
4396
|
// templates/Table/Table.tsx
|
|
4403
4397
|
import { useState as useState11, useMemo } from "react";
|
|
4404
|
-
import { Fragment as Fragment4, jsx as
|
|
4405
|
-
var InfoIcon = ({ className }) => /* @__PURE__ */
|
|
4406
|
-
/* @__PURE__ */
|
|
4407
|
-
/* @__PURE__ */
|
|
4408
|
-
/* @__PURE__ */
|
|
4398
|
+
import { Fragment as Fragment4, jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4399
|
+
var InfoIcon = ({ className }) => /* @__PURE__ */ jsxs33("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className, children: [
|
|
4400
|
+
/* @__PURE__ */ jsx37("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
4401
|
+
/* @__PURE__ */ jsx37("path", { d: "M12 16V12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
4402
|
+
/* @__PURE__ */ jsx37("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor", stroke: "currentColor", strokeWidth: "1" })
|
|
4409
4403
|
] });
|
|
4410
4404
|
var Table = ({
|
|
4411
4405
|
sectionTitle,
|
|
@@ -4442,12 +4436,12 @@ var Table = ({
|
|
|
4442
4436
|
setSearch("");
|
|
4443
4437
|
setPage(1);
|
|
4444
4438
|
};
|
|
4445
|
-
return /* @__PURE__ */
|
|
4446
|
-
sectionTitle && /* @__PURE__ */
|
|
4447
|
-
/* @__PURE__ */
|
|
4448
|
-
/* @__PURE__ */
|
|
4449
|
-
/* @__PURE__ */
|
|
4450
|
-
/* @__PURE__ */
|
|
4439
|
+
return /* @__PURE__ */ jsxs33("section", { className: ["tbl-section", className].filter(Boolean).join(" "), ...props, children: [
|
|
4440
|
+
sectionTitle && /* @__PURE__ */ jsx37("div", { className: "tbl-section__header", children: /* @__PURE__ */ jsx37("h2", { className: "tbl-section__title", children: sectionTitle }) }),
|
|
4441
|
+
/* @__PURE__ */ jsxs33("div", { className: "tbl-section__content", children: [
|
|
4442
|
+
/* @__PURE__ */ jsxs33("div", { className: "tbl", children: [
|
|
4443
|
+
/* @__PURE__ */ jsxs33("div", { className: "tbl__topbar", children: [
|
|
4444
|
+
/* @__PURE__ */ jsx37("div", { className: "tbl__search-wrap", children: /* @__PURE__ */ jsx37(
|
|
4451
4445
|
SearchField,
|
|
4452
4446
|
{
|
|
4453
4447
|
placeholder: searchPlaceholder,
|
|
@@ -4458,7 +4452,7 @@ var Table = ({
|
|
|
4458
4452
|
"aria-label": searchPlaceholder
|
|
4459
4453
|
}
|
|
4460
4454
|
) }),
|
|
4461
|
-
/* @__PURE__ */
|
|
4455
|
+
/* @__PURE__ */ jsx37("div", { className: "tbl__summary", children: filtered.length > 0 ? /* @__PURE__ */ jsxs33(Fragment4, { children: [
|
|
4462
4456
|
"Showing ",
|
|
4463
4457
|
startIdx + 1,
|
|
4464
4458
|
"- ",
|
|
@@ -4467,12 +4461,12 @@ var Table = ({
|
|
|
4467
4461
|
filtered.length
|
|
4468
4462
|
] }) : "No results" })
|
|
4469
4463
|
] }),
|
|
4470
|
-
/* @__PURE__ */
|
|
4471
|
-
/* @__PURE__ */
|
|
4464
|
+
/* @__PURE__ */ jsx37("div", { className: "tbl__scroll-wrapper", children: /* @__PURE__ */ jsxs33("table", { className: "tbl__table", children: [
|
|
4465
|
+
/* @__PURE__ */ jsx37("thead", { children: /* @__PURE__ */ jsx37("tr", { className: "tbl__tr", children: columns.map((col, colIdx) => {
|
|
4472
4466
|
const isFirst = colIdx === 0;
|
|
4473
4467
|
const isLast = colIdx === columns.length - 1;
|
|
4474
4468
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4475
|
-
return /* @__PURE__ */
|
|
4469
|
+
return /* @__PURE__ */ jsx37(
|
|
4476
4470
|
"th",
|
|
4477
4471
|
{
|
|
4478
4472
|
className: [
|
|
@@ -4480,7 +4474,7 @@ var Table = ({
|
|
|
4480
4474
|
isMain ? "tbl__th--main" : "",
|
|
4481
4475
|
col.width === "big" ? "tbl__th--big" : ""
|
|
4482
4476
|
].filter(Boolean).join(" "),
|
|
4483
|
-
children: /* @__PURE__ */
|
|
4477
|
+
children: /* @__PURE__ */ jsx37(
|
|
4484
4478
|
"div",
|
|
4485
4479
|
{
|
|
4486
4480
|
className: "tbl__th-inner",
|
|
@@ -4510,9 +4504,9 @@ var Table = ({
|
|
|
4510
4504
|
setTooltip((prev) => ({ ...prev, visible: false }));
|
|
4511
4505
|
}
|
|
4512
4506
|
},
|
|
4513
|
-
children: /* @__PURE__ */
|
|
4507
|
+
children: /* @__PURE__ */ jsx37("span", { className: ["tbl__col-label", col.tooltip ? "tbl__col-label--dashed" : ""].filter(Boolean).join(" "), children: Array.isArray(col.header) ? col.header.map((line, li) => /* @__PURE__ */ jsxs33("span", { children: [
|
|
4514
4508
|
line,
|
|
4515
|
-
li < col.header.length - 1 && /* @__PURE__ */
|
|
4509
|
+
li < col.header.length - 1 && /* @__PURE__ */ jsx37("br", {})
|
|
4516
4510
|
] }, li)) : col.header })
|
|
4517
4511
|
}
|
|
4518
4512
|
)
|
|
@@ -4520,10 +4514,10 @@ var Table = ({
|
|
|
4520
4514
|
col.key
|
|
4521
4515
|
);
|
|
4522
4516
|
}) }) }),
|
|
4523
|
-
/* @__PURE__ */
|
|
4517
|
+
/* @__PURE__ */ jsx37("tbody", { className: "tbl__tbody", children: visible.length > 0 ? visible.map((row, rowIdx) => /* @__PURE__ */ jsx37("tr", { className: "tbl__tr", children: columns.map((col) => {
|
|
4524
4518
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4525
4519
|
const iconUrl = row[`${col.key}_iconUrl`];
|
|
4526
|
-
return /* @__PURE__ */
|
|
4520
|
+
return /* @__PURE__ */ jsx37(
|
|
4527
4521
|
"td",
|
|
4528
4522
|
{
|
|
4529
4523
|
className: [
|
|
@@ -4531,8 +4525,8 @@ var Table = ({
|
|
|
4531
4525
|
isMain ? "tbl__td--main" : "",
|
|
4532
4526
|
col.width === "big" ? "tbl__td--big" : ""
|
|
4533
4527
|
].filter(Boolean).join(" "),
|
|
4534
|
-
children: isMain ? /* @__PURE__ */
|
|
4535
|
-
iconUrl && /* @__PURE__ */
|
|
4528
|
+
children: isMain ? /* @__PURE__ */ jsxs33("div", { className: "tbl__cell-inner", children: [
|
|
4529
|
+
iconUrl && /* @__PURE__ */ jsx37(
|
|
4536
4530
|
"img",
|
|
4537
4531
|
{
|
|
4538
4532
|
src: iconUrl,
|
|
@@ -4544,18 +4538,18 @@ var Table = ({
|
|
|
4544
4538
|
height: "24"
|
|
4545
4539
|
}
|
|
4546
4540
|
),
|
|
4547
|
-
/* @__PURE__ */
|
|
4548
|
-
] }) : /* @__PURE__ */
|
|
4541
|
+
/* @__PURE__ */ jsx37("span", { className: "tbl__cell-text tbl__cell-text--bold", children: row[col.key] ?? "" })
|
|
4542
|
+
] }) : /* @__PURE__ */ jsx37("span", { className: "tbl__cell-text", children: row[col.key] ?? "" })
|
|
4549
4543
|
},
|
|
4550
4544
|
col.key
|
|
4551
4545
|
);
|
|
4552
|
-
}) }, rowIdx)) : /* @__PURE__ */
|
|
4546
|
+
}) }, rowIdx)) : /* @__PURE__ */ jsx37("tr", { className: "tbl__tr", children: /* @__PURE__ */ jsxs33("td", { colSpan: columns.length, className: "tbl__empty-cell", children: [
|
|
4553
4547
|
'No results found for "',
|
|
4554
4548
|
search,
|
|
4555
4549
|
'"'
|
|
4556
4550
|
] }) }) })
|
|
4557
4551
|
] }) }),
|
|
4558
|
-
totalPages > 1 && /* @__PURE__ */
|
|
4552
|
+
totalPages > 1 && /* @__PURE__ */ jsx37("div", { className: "tbl__footer", children: /* @__PURE__ */ jsx37("div", { className: "tbl__pagination-wrap", children: /* @__PURE__ */ jsx37(
|
|
4559
4553
|
Pagination,
|
|
4560
4554
|
{
|
|
4561
4555
|
currentPage,
|
|
@@ -4564,19 +4558,19 @@ var Table = ({
|
|
|
4564
4558
|
}
|
|
4565
4559
|
) }) })
|
|
4566
4560
|
] }),
|
|
4567
|
-
infoText && /* @__PURE__ */
|
|
4568
|
-
/* @__PURE__ */
|
|
4569
|
-
/* @__PURE__ */
|
|
4561
|
+
infoText && /* @__PURE__ */ jsxs33("div", { className: "tbl-section__info-box", children: [
|
|
4562
|
+
/* @__PURE__ */ jsx37(InfoIcon, { className: "tbl-section__info-icon" }),
|
|
4563
|
+
/* @__PURE__ */ jsx37("p", { className: "tbl-section__info-text", children: infoText })
|
|
4570
4564
|
] })
|
|
4571
4565
|
] }),
|
|
4572
|
-
/* @__PURE__ */
|
|
4566
|
+
/* @__PURE__ */ jsxs33(
|
|
4573
4567
|
"div",
|
|
4574
4568
|
{
|
|
4575
4569
|
className: ["tbl__global-hint", tooltip.visible ? "tbl__global-hint--visible" : ""].filter(Boolean).join(" "),
|
|
4576
4570
|
style: { left: tooltip.x, top: tooltip.y - 8 },
|
|
4577
4571
|
children: [
|
|
4578
|
-
/* @__PURE__ */
|
|
4579
|
-
/* @__PURE__ */
|
|
4572
|
+
/* @__PURE__ */ jsx37("div", { className: "tbl__global-hint-desc", children: tooltip.description }),
|
|
4573
|
+
/* @__PURE__ */ jsx37(
|
|
4580
4574
|
"div",
|
|
4581
4575
|
{
|
|
4582
4576
|
className: "tbl__global-hint-arrow",
|
|
@@ -4596,12 +4590,12 @@ import { useState as useState12 } from "react";
|
|
|
4596
4590
|
var Leaders_default = {};
|
|
4597
4591
|
|
|
4598
4592
|
// templates/Leaders/Leaders.tsx
|
|
4599
|
-
import { Fragment as Fragment5, jsx as
|
|
4600
|
-
var LinkedInIcon = () => /* @__PURE__ */
|
|
4601
|
-
var ChevronDownIcon4 = () => /* @__PURE__ */
|
|
4602
|
-
var ChevronUpIcon = () => /* @__PURE__ */
|
|
4603
|
-
var CardContent = ({ item }) => /* @__PURE__ */
|
|
4604
|
-
/* @__PURE__ */
|
|
4593
|
+
import { Fragment as Fragment5, jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4594
|
+
var LinkedInIcon = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M14.816 0H1.18C0.528 0 0 0.516 0 1.153V14.846C0 15.484 0.528 16 1.18 16H14.816C15.468 16 16 15.484 16 14.846V1.153C16 0.516 15.468 0 14.816 0ZM4.744 13.642H2.368V5.996H4.744V13.642ZM3.556 4.952C2.796 4.952 2.18 4.336 2.18 3.576C2.18 2.816 2.796 2.2 3.556 2.2C4.316 2.2 4.932 2.816 4.932 3.576C4.932 4.336 4.316 4.952 3.556 4.952ZM13.642 13.642H11.266V9.924C11.266 9.038 11.25 7.896 10.032 7.896C8.814 7.896 8.626 8.846 8.626 9.86V13.642H6.25V5.996H8.53V7.04H8.562C8.88 6.44 9.534 5.806 10.686 5.806C12.958 5.806 13.642 7.3 13.642 9.386V13.642Z", fill: "currentColor" }) });
|
|
4595
|
+
var ChevronDownIcon4 = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4596
|
+
var ChevronUpIcon = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M12 10L8 6L4 10", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4597
|
+
var CardContent = ({ item }) => /* @__PURE__ */ jsxs34(Fragment5, { children: [
|
|
4598
|
+
/* @__PURE__ */ jsx38("div", { className: Leaders_default.imageWrapper, children: /* @__PURE__ */ jsx38(
|
|
4605
4599
|
"img",
|
|
4606
4600
|
{
|
|
4607
4601
|
src: item.imageUrl,
|
|
@@ -4610,17 +4604,17 @@ var CardContent = ({ item }) => /* @__PURE__ */ jsxs32(Fragment5, { children: [
|
|
|
4610
4604
|
loading: "lazy"
|
|
4611
4605
|
}
|
|
4612
4606
|
) }),
|
|
4613
|
-
/* @__PURE__ */
|
|
4614
|
-
/* @__PURE__ */
|
|
4615
|
-
/* @__PURE__ */
|
|
4607
|
+
/* @__PURE__ */ jsxs34("div", { className: Leaders_default.content, children: [
|
|
4608
|
+
/* @__PURE__ */ jsx38("h3", { className: Leaders_default.name, children: item.name }),
|
|
4609
|
+
/* @__PURE__ */ jsx38("p", { className: Leaders_default.role, children: item.role })
|
|
4616
4610
|
] }),
|
|
4617
|
-
item.linkedinUrl && /* @__PURE__ */
|
|
4611
|
+
item.linkedinUrl && /* @__PURE__ */ jsx38(
|
|
4618
4612
|
Link,
|
|
4619
4613
|
{
|
|
4620
4614
|
href: item.linkedinUrl,
|
|
4621
4615
|
target: "_blank",
|
|
4622
4616
|
rel: "noopener noreferrer",
|
|
4623
|
-
icon: /* @__PURE__ */
|
|
4617
|
+
icon: /* @__PURE__ */ jsx38(LinkedInIcon, {}),
|
|
4624
4618
|
label: "LinkedIn",
|
|
4625
4619
|
colorScheme: "black",
|
|
4626
4620
|
showChevron: false,
|
|
@@ -4641,11 +4635,11 @@ var Leaders = ({
|
|
|
4641
4635
|
const hasMore = items.length > initialVisibleCount;
|
|
4642
4636
|
const visibleItems = items.slice(0, initialVisibleCount);
|
|
4643
4637
|
const extraItems = items.slice(initialVisibleCount);
|
|
4644
|
-
return /* @__PURE__ */
|
|
4645
|
-
title && /* @__PURE__ */
|
|
4646
|
-
/* @__PURE__ */
|
|
4647
|
-
/* @__PURE__ */
|
|
4648
|
-
hasMore && /* @__PURE__ */
|
|
4638
|
+
return /* @__PURE__ */ jsx38("section", { className: [Leaders_default.section, className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ jsxs34("div", { className: Leaders_default.container, children: [
|
|
4639
|
+
title && /* @__PURE__ */ jsx38("div", { className: Leaders_default.header, children: /* @__PURE__ */ jsx38("h2", { className: Leaders_default.title, children: title }) }),
|
|
4640
|
+
/* @__PURE__ */ jsxs34("div", { className: Leaders_default.gridWrapper, children: [
|
|
4641
|
+
/* @__PURE__ */ jsx38("div", { className: Leaders_default.grid, children: visibleItems.map((item, i) => /* @__PURE__ */ jsx38("div", { className: Leaders_default.card, children: /* @__PURE__ */ jsx38(CardContent, { item }) }, i)) }),
|
|
4642
|
+
hasMore && /* @__PURE__ */ jsx38(
|
|
4649
4643
|
"div",
|
|
4650
4644
|
{
|
|
4651
4645
|
className: [
|
|
@@ -4653,7 +4647,7 @@ var Leaders = ({
|
|
|
4653
4647
|
isExpanded ? Leaders_default.extraCardsOpen : ""
|
|
4654
4648
|
].join(" "),
|
|
4655
4649
|
"aria-hidden": !isExpanded,
|
|
4656
|
-
children: /* @__PURE__ */
|
|
4650
|
+
children: /* @__PURE__ */ jsx38("div", { className: Leaders_default.extraGrid, children: extraItems.map((item, i) => /* @__PURE__ */ jsx38(
|
|
4657
4651
|
"div",
|
|
4658
4652
|
{
|
|
4659
4653
|
className: [
|
|
@@ -4664,21 +4658,21 @@ var Leaders = ({
|
|
|
4664
4658
|
style: {
|
|
4665
4659
|
transitionDelay: isExpanded ? `${i * 70 + 120}ms` : "0ms"
|
|
4666
4660
|
},
|
|
4667
|
-
children: /* @__PURE__ */
|
|
4661
|
+
children: /* @__PURE__ */ jsx38(CardContent, { item })
|
|
4668
4662
|
},
|
|
4669
4663
|
i
|
|
4670
4664
|
)) })
|
|
4671
4665
|
}
|
|
4672
4666
|
)
|
|
4673
4667
|
] }),
|
|
4674
|
-
hasMore && /* @__PURE__ */
|
|
4668
|
+
hasMore && /* @__PURE__ */ jsx38("div", { className: Leaders_default.actions, children: /* @__PURE__ */ jsx38(
|
|
4675
4669
|
Button,
|
|
4676
4670
|
{
|
|
4677
4671
|
variant: "secondary",
|
|
4678
4672
|
colorScheme: "black",
|
|
4679
4673
|
onClick: () => setIsExpanded(!isExpanded),
|
|
4680
4674
|
iconPosition: "icon-right",
|
|
4681
|
-
icon: isExpanded ? /* @__PURE__ */
|
|
4675
|
+
icon: isExpanded ? /* @__PURE__ */ jsx38(ChevronUpIcon, {}) : /* @__PURE__ */ jsx38(ChevronDownIcon4, {}),
|
|
4682
4676
|
children: isExpanded ? collapseText : expandText
|
|
4683
4677
|
}
|
|
4684
4678
|
) })
|
|
@@ -4701,11 +4695,13 @@ export {
|
|
|
4701
4695
|
DownloadBadge,
|
|
4702
4696
|
DownloadBanner,
|
|
4703
4697
|
FEATURE_SCROLL_DATA,
|
|
4698
|
+
FaqAccordion,
|
|
4704
4699
|
FeatureBullets,
|
|
4705
4700
|
FeatureCards,
|
|
4706
|
-
|
|
4701
|
+
FeatureCardsIcon,
|
|
4707
4702
|
FeatureScroll,
|
|
4708
4703
|
Footer,
|
|
4704
|
+
Header,
|
|
4709
4705
|
Hero,
|
|
4710
4706
|
Leaders,
|
|
4711
4707
|
Link,
|