@deriv-web-design/ui 0.1.0 → 0.1.2
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/block-registry.json +308 -6
- package/dist/index.css +92 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +399 -351
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +398 -351
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2728,9 +2728,55 @@ var FeatureScroll = ({
|
|
|
2728
2728
|
] }) });
|
|
2729
2729
|
};
|
|
2730
2730
|
|
|
2731
|
+
// templates/FeatureSplit/FeatureSplit.tsx
|
|
2732
|
+
import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2733
|
+
var FeatureSplit = ({
|
|
2734
|
+
title,
|
|
2735
|
+
description,
|
|
2736
|
+
showDescription = true,
|
|
2737
|
+
linkText = "Learn more",
|
|
2738
|
+
showLink = true,
|
|
2739
|
+
onLinkClick,
|
|
2740
|
+
image,
|
|
2741
|
+
imageAlt = "",
|
|
2742
|
+
imagePosition = "right"
|
|
2743
|
+
}) => {
|
|
2744
|
+
return /* @__PURE__ */ jsx29("section", { className: "feature-split", children: /* @__PURE__ */ jsx29("div", { className: "feature-split__container", children: /* @__PURE__ */ jsxs26(
|
|
2745
|
+
"div",
|
|
2746
|
+
{
|
|
2747
|
+
className: [
|
|
2748
|
+
"feature-split__split",
|
|
2749
|
+
imagePosition === "left" ? "feature-split__split--image-left" : ""
|
|
2750
|
+
].filter(Boolean).join(" "),
|
|
2751
|
+
children: [
|
|
2752
|
+
/* @__PURE__ */ jsxs26("div", { className: "feature-split__content", children: [
|
|
2753
|
+
/* @__PURE__ */ jsx29("h2", { className: "feature-split__title", children: title }),
|
|
2754
|
+
showDescription && description && /* @__PURE__ */ jsx29("p", { className: "feature-split__description", children: description }),
|
|
2755
|
+
showLink && /* @__PURE__ */ jsx29(
|
|
2756
|
+
Link,
|
|
2757
|
+
{
|
|
2758
|
+
colorScheme: "coral",
|
|
2759
|
+
label: linkText,
|
|
2760
|
+
onClick: onLinkClick
|
|
2761
|
+
}
|
|
2762
|
+
)
|
|
2763
|
+
] }),
|
|
2764
|
+
image && /* @__PURE__ */ jsx29("div", { className: "feature-split__image-wrapper", children: /* @__PURE__ */ jsx29(
|
|
2765
|
+
"img",
|
|
2766
|
+
{
|
|
2767
|
+
alt: imageAlt,
|
|
2768
|
+
className: "feature-split__image",
|
|
2769
|
+
src: image
|
|
2770
|
+
}
|
|
2771
|
+
) })
|
|
2772
|
+
]
|
|
2773
|
+
}
|
|
2774
|
+
) }) });
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2731
2777
|
// templates/StickyStackedCards/StickyStackedCards.tsx
|
|
2732
2778
|
import { useEffect as useEffect7, useRef as useRef8 } from "react";
|
|
2733
|
-
import { jsx as
|
|
2779
|
+
import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2734
2780
|
var PLACEHOLDER_IMAGE = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
2735
2781
|
var STEPS_DATA = [
|
|
2736
2782
|
{
|
|
@@ -2794,14 +2840,14 @@ var StickyStackedCards = ({
|
|
|
2794
2840
|
cancelAnimationFrame(rafId);
|
|
2795
2841
|
};
|
|
2796
2842
|
}, [items.length]);
|
|
2797
|
-
return /* @__PURE__ */
|
|
2843
|
+
return /* @__PURE__ */ jsx30(
|
|
2798
2844
|
"section",
|
|
2799
2845
|
{
|
|
2800
2846
|
className: ["ssc", className].filter(Boolean).join(" "),
|
|
2801
2847
|
...props,
|
|
2802
|
-
children: /* @__PURE__ */
|
|
2803
|
-
/* @__PURE__ */
|
|
2804
|
-
/* @__PURE__ */
|
|
2848
|
+
children: /* @__PURE__ */ jsxs27("div", { className: "ssc__inner", children: [
|
|
2849
|
+
/* @__PURE__ */ jsx30("h2", { className: "ssc__header", children: header }),
|
|
2850
|
+
/* @__PURE__ */ jsx30("div", { className: "ssc__track", children: items.map((item, i) => /* @__PURE__ */ jsxs27(
|
|
2805
2851
|
"div",
|
|
2806
2852
|
{
|
|
2807
2853
|
ref: (el) => {
|
|
@@ -2827,11 +2873,11 @@ var StickyStackedCards = ({
|
|
|
2827
2873
|
top: `calc(var(--ssc-sticky-top) + ${i} * var(--ssc-peek-offset))`
|
|
2828
2874
|
},
|
|
2829
2875
|
children: [
|
|
2830
|
-
/* @__PURE__ */
|
|
2831
|
-
/* @__PURE__ */
|
|
2832
|
-
/* @__PURE__ */
|
|
2876
|
+
/* @__PURE__ */ jsxs27("div", { className: "ssc__card-content", children: [
|
|
2877
|
+
/* @__PURE__ */ jsx30("h3", { className: "ssc__card-title", children: item.title }),
|
|
2878
|
+
/* @__PURE__ */ jsx30("p", { className: "ssc__card-desc", children: item.description })
|
|
2833
2879
|
] }),
|
|
2834
|
-
/* @__PURE__ */
|
|
2880
|
+
/* @__PURE__ */ jsx30("div", { className: "ssc__card-image", children: /* @__PURE__ */ jsx30(
|
|
2835
2881
|
"img",
|
|
2836
2882
|
{
|
|
2837
2883
|
src: item.imageUrl,
|
|
@@ -2857,7 +2903,7 @@ import {
|
|
|
2857
2903
|
useTransform,
|
|
2858
2904
|
useMotionTemplate
|
|
2859
2905
|
} from "framer-motion";
|
|
2860
|
-
import { jsx as
|
|
2906
|
+
import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2861
2907
|
var ENTRANCE = {
|
|
2862
2908
|
near: 80,
|
|
2863
2909
|
mid: 130,
|
|
@@ -3121,14 +3167,14 @@ var CTABanner = ({
|
|
|
3121
3167
|
const compactXValues = useCompactAvatarXValues(smooth);
|
|
3122
3168
|
const avatarYValues = variant === "compact" ? compactYValues : standardYValues;
|
|
3123
3169
|
const avatarXValues = variant === "compact" ? compactXValues : standardXValues;
|
|
3124
|
-
return /* @__PURE__ */
|
|
3170
|
+
return /* @__PURE__ */ jsxs28(
|
|
3125
3171
|
"section",
|
|
3126
3172
|
{
|
|
3127
3173
|
ref: sectionRef,
|
|
3128
3174
|
className: ["ctab", variant === "compact" ? "ctab--compact" : "", className].filter(Boolean).join(" "),
|
|
3129
3175
|
...props,
|
|
3130
3176
|
children: [
|
|
3131
|
-
/* @__PURE__ */
|
|
3177
|
+
/* @__PURE__ */ jsx31(
|
|
3132
3178
|
motion.div,
|
|
3133
3179
|
{
|
|
3134
3180
|
className: "ctab__grid",
|
|
@@ -3136,7 +3182,7 @@ var CTABanner = ({
|
|
|
3136
3182
|
"aria-hidden": "true"
|
|
3137
3183
|
}
|
|
3138
3184
|
),
|
|
3139
|
-
/* @__PURE__ */
|
|
3185
|
+
/* @__PURE__ */ jsx31("div", { className: "ctab__inner", children: /* @__PURE__ */ jsxs28("div", { className: "ctab__stage", children: [
|
|
3140
3186
|
resolvedAvatars.map((avatar, index) => {
|
|
3141
3187
|
const posStyle = {};
|
|
3142
3188
|
if (avatar.desktopPos.left) posStyle["--av-d-left"] = avatar.desktopPos.left;
|
|
@@ -3145,7 +3191,7 @@ var CTABanner = ({
|
|
|
3145
3191
|
if (avatar.mobilePos?.left) posStyle["--av-m-left"] = avatar.mobilePos.left;
|
|
3146
3192
|
if (avatar.mobilePos?.right) posStyle["--av-m-right"] = avatar.mobilePos.right;
|
|
3147
3193
|
if (avatar.mobilePos?.top) posStyle["--av-m-top"] = avatar.mobilePos.top;
|
|
3148
|
-
return /* @__PURE__ */
|
|
3194
|
+
return /* @__PURE__ */ jsx31(
|
|
3149
3195
|
motion.div,
|
|
3150
3196
|
{
|
|
3151
3197
|
className: [
|
|
@@ -3159,7 +3205,7 @@ var CTABanner = ({
|
|
|
3159
3205
|
opacity: avatarOpacity,
|
|
3160
3206
|
filter: avatarFilter
|
|
3161
3207
|
},
|
|
3162
|
-
children: /* @__PURE__ */
|
|
3208
|
+
children: /* @__PURE__ */ jsx31(
|
|
3163
3209
|
"img",
|
|
3164
3210
|
{
|
|
3165
3211
|
src: avatar.imageUrl,
|
|
@@ -3172,14 +3218,14 @@ var CTABanner = ({
|
|
|
3172
3218
|
avatar.id
|
|
3173
3219
|
);
|
|
3174
3220
|
}),
|
|
3175
|
-
/* @__PURE__ */
|
|
3221
|
+
/* @__PURE__ */ jsxs28(
|
|
3176
3222
|
motion.div,
|
|
3177
3223
|
{
|
|
3178
3224
|
className: "ctab__hero",
|
|
3179
3225
|
style: { y: heroY, opacity: heroOpacity },
|
|
3180
3226
|
children: [
|
|
3181
|
-
/* @__PURE__ */
|
|
3182
|
-
/* @__PURE__ */
|
|
3227
|
+
/* @__PURE__ */ jsx31("h2", { className: "ctab__headline", children: headline }),
|
|
3228
|
+
/* @__PURE__ */ jsx31("a", { href: ctaHref, children: /* @__PURE__ */ jsx31(Button, { colorScheme: "black", variant: "primary", label: ctaLabel }) })
|
|
3183
3229
|
]
|
|
3184
3230
|
}
|
|
3185
3231
|
)
|
|
@@ -3197,7 +3243,7 @@ import { motion as motion2, AnimatePresence } from "framer-motion";
|
|
|
3197
3243
|
var icon_globe_default = "./icon-globe-S54WYYEK.svg";
|
|
3198
3244
|
|
|
3199
3245
|
// components/Navbar/Navbar.tsx
|
|
3200
|
-
import { jsx as
|
|
3246
|
+
import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3201
3247
|
var EASE_OUT_EXPO = [0.16, 1, 0.3, 1];
|
|
3202
3248
|
var dropdownVariants = {
|
|
3203
3249
|
hidden: { opacity: 0, scale: 0.96, y: -8 },
|
|
@@ -3211,7 +3257,7 @@ var accordionVariants = {
|
|
|
3211
3257
|
hidden: { height: 0, opacity: 0 },
|
|
3212
3258
|
visible: { height: "auto", opacity: 1 }
|
|
3213
3259
|
};
|
|
3214
|
-
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */
|
|
3260
|
+
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx32(
|
|
3215
3261
|
"svg",
|
|
3216
3262
|
{
|
|
3217
3263
|
className,
|
|
@@ -3220,7 +3266,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx31(
|
|
|
3220
3266
|
viewBox: "0 0 14 14",
|
|
3221
3267
|
fill: "none",
|
|
3222
3268
|
"aria-hidden": "true",
|
|
3223
|
-
children: /* @__PURE__ */
|
|
3269
|
+
children: /* @__PURE__ */ jsx32(
|
|
3224
3270
|
"path",
|
|
3225
3271
|
{
|
|
3226
3272
|
d: "M2.625 4.8125L7 9.1875L11.375 4.8125",
|
|
@@ -3232,7 +3278,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ jsx31(
|
|
|
3232
3278
|
)
|
|
3233
3279
|
}
|
|
3234
3280
|
);
|
|
3235
|
-
var ArrowRightIcon = () => /* @__PURE__ */
|
|
3281
|
+
var ArrowRightIcon = () => /* @__PURE__ */ jsx32("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx32(
|
|
3236
3282
|
"path",
|
|
3237
3283
|
{
|
|
3238
3284
|
d: "M2.625 7H11.375M11.375 7L7.875 3.5M11.375 7L7.875 10.5",
|
|
@@ -3242,7 +3288,7 @@ var ArrowRightIcon = () => /* @__PURE__ */ jsx31("svg", { width: "14", height: "
|
|
|
3242
3288
|
strokeLinejoin: "round"
|
|
3243
3289
|
}
|
|
3244
3290
|
) });
|
|
3245
|
-
var ArrowUpRightIcon = () => /* @__PURE__ */
|
|
3291
|
+
var ArrowUpRightIcon = () => /* @__PURE__ */ jsx32("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx32(
|
|
3246
3292
|
"path",
|
|
3247
3293
|
{
|
|
3248
3294
|
d: "M4.5 11.5L11.5 4.5M11.5 4.5H5.5M11.5 4.5V10.5",
|
|
@@ -3252,7 +3298,7 @@ var ArrowUpRightIcon = () => /* @__PURE__ */ jsx31("svg", { width: "16", height:
|
|
|
3252
3298
|
strokeLinejoin: "round"
|
|
3253
3299
|
}
|
|
3254
3300
|
) });
|
|
3255
|
-
var BarsIcon = () => /* @__PURE__ */
|
|
3301
|
+
var BarsIcon = () => /* @__PURE__ */ jsx32("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx32(
|
|
3256
3302
|
"path",
|
|
3257
3303
|
{
|
|
3258
3304
|
d: "M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5",
|
|
@@ -3261,7 +3307,7 @@ var BarsIcon = () => /* @__PURE__ */ jsx31("svg", { width: "20", height: "20", v
|
|
|
3261
3307
|
strokeLinecap: "round"
|
|
3262
3308
|
}
|
|
3263
3309
|
) });
|
|
3264
|
-
var XMarkIcon2 = () => /* @__PURE__ */
|
|
3310
|
+
var XMarkIcon2 = () => /* @__PURE__ */ jsx32("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx32(
|
|
3265
3311
|
"path",
|
|
3266
3312
|
{
|
|
3267
3313
|
d: "M15 5L5 15M5 5L15 15",
|
|
@@ -3270,7 +3316,7 @@ var XMarkIcon2 = () => /* @__PURE__ */ jsx31("svg", { width: "20", height: "20",
|
|
|
3270
3316
|
strokeLinecap: "round"
|
|
3271
3317
|
}
|
|
3272
3318
|
) });
|
|
3273
|
-
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */
|
|
3319
|
+
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx32(
|
|
3274
3320
|
"svg",
|
|
3275
3321
|
{
|
|
3276
3322
|
className,
|
|
@@ -3279,7 +3325,7 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx31(
|
|
|
3279
3325
|
viewBox: "0 0 24 24",
|
|
3280
3326
|
fill: "none",
|
|
3281
3327
|
"aria-hidden": "true",
|
|
3282
|
-
children: /* @__PURE__ */
|
|
3328
|
+
children: /* @__PURE__ */ jsx32(
|
|
3283
3329
|
"path",
|
|
3284
3330
|
{
|
|
3285
3331
|
d: "M15 18L9 12L15 6",
|
|
@@ -3291,11 +3337,11 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ jsx31(
|
|
|
3291
3337
|
)
|
|
3292
3338
|
}
|
|
3293
3339
|
);
|
|
3294
|
-
var GlobeIcon = ({ className }) => /* @__PURE__ */
|
|
3340
|
+
var GlobeIcon = ({ className }) => /* @__PURE__ */ jsx32("img", { src: icon_globe_default, alt: "", "aria-hidden": "true", width: "20", height: "20", className });
|
|
3295
3341
|
var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
3296
3342
|
const { dropdown } = item;
|
|
3297
3343
|
if (!dropdown) return null;
|
|
3298
|
-
return /* @__PURE__ */
|
|
3344
|
+
return /* @__PURE__ */ jsx32(
|
|
3299
3345
|
motion2.div,
|
|
3300
3346
|
{
|
|
3301
3347
|
className: "navbar__dropdown",
|
|
@@ -3306,10 +3352,10 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
3306
3352
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3307
3353
|
onMouseEnter,
|
|
3308
3354
|
onMouseLeave,
|
|
3309
|
-
children: /* @__PURE__ */
|
|
3310
|
-
/* @__PURE__ */
|
|
3311
|
-
/* @__PURE__ */
|
|
3312
|
-
section.items.map((link) => /* @__PURE__ */
|
|
3355
|
+
children: /* @__PURE__ */ jsxs29("div", { className: "navbar__dropdown-inner", children: [
|
|
3356
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__dropdown-left", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ jsx32("div", { className: "navbar__dropdown-col", children: col.sections.map((section) => /* @__PURE__ */ jsxs29("div", { className: "navbar__dropdown-col-list", children: [
|
|
3357
|
+
/* @__PURE__ */ jsx32("p", { className: "navbar__dropdown-col-title", children: section.title }),
|
|
3358
|
+
section.items.map((link) => /* @__PURE__ */ jsxs29(
|
|
3313
3359
|
"a",
|
|
3314
3360
|
{
|
|
3315
3361
|
href: link.href,
|
|
@@ -3318,24 +3364,24 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
3318
3364
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
3319
3365
|
children: [
|
|
3320
3366
|
link.label,
|
|
3321
|
-
link.external ? /* @__PURE__ */
|
|
3367
|
+
link.external ? /* @__PURE__ */ jsx32(ArrowUpRightIcon, {}) : /* @__PURE__ */ jsx32(ArrowRightIcon, {})
|
|
3322
3368
|
]
|
|
3323
3369
|
},
|
|
3324
3370
|
link.href
|
|
3325
3371
|
))
|
|
3326
3372
|
] }, section.title)) }, colIdx)) }),
|
|
3327
|
-
dropdown.feature && /* @__PURE__ */
|
|
3373
|
+
dropdown.feature && /* @__PURE__ */ jsx32("div", { className: "navbar__dropdown-right", children: /* @__PURE__ */ jsx32(FeatureCard, { feature: dropdown.feature }) })
|
|
3328
3374
|
] })
|
|
3329
3375
|
}
|
|
3330
3376
|
);
|
|
3331
3377
|
};
|
|
3332
|
-
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */
|
|
3378
|
+
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs29(
|
|
3333
3379
|
"div",
|
|
3334
3380
|
{
|
|
3335
3381
|
className: mobile ? "navbar__drawer-feature" : "navbar__dropdown-feature",
|
|
3336
3382
|
style: feature.backgroundImageUrl ? { backgroundImage: `url(${feature.backgroundImageUrl})` } : void 0,
|
|
3337
3383
|
children: [
|
|
3338
|
-
feature.backgroundImageUrl && /* @__PURE__ */
|
|
3384
|
+
feature.backgroundImageUrl && /* @__PURE__ */ jsx32(
|
|
3339
3385
|
"img",
|
|
3340
3386
|
{
|
|
3341
3387
|
src: feature.backgroundImageUrl,
|
|
@@ -3344,20 +3390,20 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs28(
|
|
|
3344
3390
|
"aria-hidden": "true"
|
|
3345
3391
|
}
|
|
3346
3392
|
),
|
|
3347
|
-
/* @__PURE__ */
|
|
3348
|
-
/* @__PURE__ */
|
|
3349
|
-
/* @__PURE__ */
|
|
3350
|
-
/* @__PURE__ */
|
|
3351
|
-
/* @__PURE__ */
|
|
3393
|
+
/* @__PURE__ */ jsx32("div", { className: mobile ? "navbar__drawer-feature-overlay" : "navbar__dropdown-feature-overlay", "aria-hidden": "true" }),
|
|
3394
|
+
/* @__PURE__ */ jsxs29("div", { className: mobile ? "navbar__drawer-feature-content" : "navbar__dropdown-feature-content", children: [
|
|
3395
|
+
/* @__PURE__ */ jsxs29("div", { children: [
|
|
3396
|
+
/* @__PURE__ */ jsx32("p", { className: mobile ? "navbar__drawer-feature-title" : "navbar__dropdown-feature-title", children: feature.title }),
|
|
3397
|
+
/* @__PURE__ */ jsx32("p", { className: mobile ? "navbar__drawer-feature-desc" : "navbar__dropdown-feature-desc", children: feature.description })
|
|
3352
3398
|
] }),
|
|
3353
|
-
/* @__PURE__ */
|
|
3399
|
+
/* @__PURE__ */ jsxs29(
|
|
3354
3400
|
"a",
|
|
3355
3401
|
{
|
|
3356
3402
|
href: feature.ctaHref,
|
|
3357
3403
|
className: mobile ? "navbar__drawer-feature-cta" : "navbar__dropdown-feature-cta",
|
|
3358
3404
|
children: [
|
|
3359
3405
|
feature.ctaLabel,
|
|
3360
|
-
/* @__PURE__ */
|
|
3406
|
+
/* @__PURE__ */ jsx32(ArrowRightIcon, {})
|
|
3361
3407
|
]
|
|
3362
3408
|
}
|
|
3363
3409
|
)
|
|
@@ -3367,8 +3413,8 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ jsxs28(
|
|
|
3367
3413
|
);
|
|
3368
3414
|
var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
3369
3415
|
const { dropdown } = item;
|
|
3370
|
-
return /* @__PURE__ */
|
|
3371
|
-
/* @__PURE__ */
|
|
3416
|
+
return /* @__PURE__ */ jsxs29("div", { className: "navbar__drawer-item", children: [
|
|
3417
|
+
/* @__PURE__ */ jsxs29(
|
|
3372
3418
|
"button",
|
|
3373
3419
|
{
|
|
3374
3420
|
className: `navbar__drawer-trigger ${isOpen ? "navbar__drawer-trigger--open" : ""}`,
|
|
@@ -3376,11 +3422,11 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3376
3422
|
"aria-expanded": isOpen,
|
|
3377
3423
|
children: [
|
|
3378
3424
|
item.label,
|
|
3379
|
-
/* @__PURE__ */
|
|
3425
|
+
/* @__PURE__ */ jsx32(ChevronDownIcon3, { className: "navbar__drawer-trigger__chevron" })
|
|
3380
3426
|
]
|
|
3381
3427
|
}
|
|
3382
3428
|
),
|
|
3383
|
-
/* @__PURE__ */
|
|
3429
|
+
/* @__PURE__ */ jsx32(AnimatePresence, { initial: false, children: isOpen && dropdown && /* @__PURE__ */ jsx32(
|
|
3384
3430
|
motion2.div,
|
|
3385
3431
|
{
|
|
3386
3432
|
className: "navbar__drawer-panel",
|
|
@@ -3389,10 +3435,10 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3389
3435
|
animate: "visible",
|
|
3390
3436
|
exit: "hidden",
|
|
3391
3437
|
transition: { duration: 0.22, ease: EASE_OUT_EXPO },
|
|
3392
|
-
children: /* @__PURE__ */
|
|
3393
|
-
/* @__PURE__ */
|
|
3394
|
-
/* @__PURE__ */
|
|
3395
|
-
/* @__PURE__ */
|
|
3438
|
+
children: /* @__PURE__ */ jsxs29("div", { className: "navbar__drawer-panel-inner", children: [
|
|
3439
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__drawer-panel-cols", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ jsx32("div", { className: "navbar__drawer-panel-col", children: col.sections.map((section) => /* @__PURE__ */ jsxs29("div", { className: "navbar__drawer-col-section", children: [
|
|
3440
|
+
/* @__PURE__ */ jsx32("p", { className: "navbar__drawer-col-title", children: section.title }),
|
|
3441
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__drawer-col-links", children: section.items.map((link) => /* @__PURE__ */ jsx32(
|
|
3396
3442
|
"a",
|
|
3397
3443
|
{
|
|
3398
3444
|
href: link.href,
|
|
@@ -3404,7 +3450,7 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3404
3450
|
link.href
|
|
3405
3451
|
)) })
|
|
3406
3452
|
] }, section.title)) }, colIdx)) }),
|
|
3407
|
-
dropdown.feature && /* @__PURE__ */
|
|
3453
|
+
dropdown.feature && /* @__PURE__ */ jsx32(FeatureCard, { feature: dropdown.feature, mobile: true })
|
|
3408
3454
|
] })
|
|
3409
3455
|
}
|
|
3410
3456
|
) })
|
|
@@ -3509,20 +3555,20 @@ var Navbar = ({
|
|
|
3509
3555
|
hoverTimeoutRef.current = setTimeout(() => setOpenDropdown(null), 120);
|
|
3510
3556
|
}, [clearHoverTimeout]);
|
|
3511
3557
|
const activeDropdownItem = navItems.find((item) => item.label === openDropdown);
|
|
3512
|
-
return /* @__PURE__ */
|
|
3558
|
+
return /* @__PURE__ */ jsxs29(
|
|
3513
3559
|
"nav",
|
|
3514
3560
|
{
|
|
3515
3561
|
className: ["navbar", `navbar--${theme}`, scrolled && "navbar--scrolled", mobileOpen && "navbar--menu-open", className].filter(Boolean).join(" "),
|
|
3516
3562
|
...props,
|
|
3517
3563
|
children: [
|
|
3518
|
-
/* @__PURE__ */
|
|
3519
|
-
/* @__PURE__ */
|
|
3520
|
-
/* @__PURE__ */
|
|
3521
|
-
/* @__PURE__ */
|
|
3522
|
-
/* @__PURE__ */
|
|
3564
|
+
/* @__PURE__ */ jsxs29("div", { className: "navbar__bar", children: [
|
|
3565
|
+
/* @__PURE__ */ jsx32("a", { href: logoHref, className: "navbar__logo", "aria-label": "Home", children: /* @__PURE__ */ jsx32("img", { src: resolvedLogo, alt: "Logo" }) }),
|
|
3566
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__nav-center", ref: pillAreaRef, children: /* @__PURE__ */ jsxs29("div", { className: "navbar__pill", children: [
|
|
3567
|
+
/* @__PURE__ */ jsx32("a", { href: logoHref, className: "navbar__pill-logo", "aria-label": "Home", children: /* @__PURE__ */ jsx32("img", { src: logoSrcDark ?? logoSrc, alt: "Logo" }) }),
|
|
3568
|
+
/* @__PURE__ */ jsxs29("div", { className: "navbar__nav-group", children: [
|
|
3523
3569
|
navItems.map((item) => {
|
|
3524
3570
|
if (item.external) {
|
|
3525
|
-
return /* @__PURE__ */
|
|
3571
|
+
return /* @__PURE__ */ jsxs29(
|
|
3526
3572
|
"a",
|
|
3527
3573
|
{
|
|
3528
3574
|
href: item.href,
|
|
@@ -3531,14 +3577,14 @@ var Navbar = ({
|
|
|
3531
3577
|
rel: "noopener noreferrer",
|
|
3532
3578
|
children: [
|
|
3533
3579
|
item.label,
|
|
3534
|
-
/* @__PURE__ */
|
|
3580
|
+
/* @__PURE__ */ jsx32(ArrowUpRightIcon, {})
|
|
3535
3581
|
]
|
|
3536
3582
|
},
|
|
3537
3583
|
item.label
|
|
3538
3584
|
);
|
|
3539
3585
|
}
|
|
3540
3586
|
if (item.dropdown) {
|
|
3541
|
-
return /* @__PURE__ */
|
|
3587
|
+
return /* @__PURE__ */ jsxs29(
|
|
3542
3588
|
"button",
|
|
3543
3589
|
{
|
|
3544
3590
|
className: [
|
|
@@ -3551,21 +3597,21 @@ var Navbar = ({
|
|
|
3551
3597
|
"aria-haspopup": "true",
|
|
3552
3598
|
children: [
|
|
3553
3599
|
item.label,
|
|
3554
|
-
/* @__PURE__ */
|
|
3600
|
+
/* @__PURE__ */ jsx32(ChevronDownIcon3, { className: "navbar__nav-item__chevron" })
|
|
3555
3601
|
]
|
|
3556
3602
|
},
|
|
3557
3603
|
item.label
|
|
3558
3604
|
);
|
|
3559
3605
|
}
|
|
3560
|
-
return /* @__PURE__ */
|
|
3606
|
+
return /* @__PURE__ */ jsx32("a", { href: item.href, className: "navbar__nav-item", children: item.label }, item.label);
|
|
3561
3607
|
}),
|
|
3562
|
-
languageLabel && /* @__PURE__ */
|
|
3608
|
+
languageLabel && /* @__PURE__ */ jsx32(
|
|
3563
3609
|
"div",
|
|
3564
3610
|
{
|
|
3565
3611
|
className: "navbar__lang-wrapper",
|
|
3566
3612
|
onMouseEnter: hasLangDropdown ? handleLangEnter : void 0,
|
|
3567
3613
|
onMouseLeave: hasLangDropdown ? handleLangLeave : void 0,
|
|
3568
|
-
children: /* @__PURE__ */
|
|
3614
|
+
children: /* @__PURE__ */ jsxs29(
|
|
3569
3615
|
"button",
|
|
3570
3616
|
{
|
|
3571
3617
|
ref: langBtnRef,
|
|
@@ -3578,7 +3624,7 @@ var Navbar = ({
|
|
|
3578
3624
|
"aria-haspopup": hasLangDropdown ? "true" : void 0,
|
|
3579
3625
|
"aria-expanded": hasLangDropdown ? langDropdownOpen : void 0,
|
|
3580
3626
|
children: [
|
|
3581
|
-
/* @__PURE__ */
|
|
3627
|
+
/* @__PURE__ */ jsx32(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3582
3628
|
languageLabel
|
|
3583
3629
|
]
|
|
3584
3630
|
}
|
|
@@ -3586,12 +3632,12 @@ var Navbar = ({
|
|
|
3586
3632
|
}
|
|
3587
3633
|
)
|
|
3588
3634
|
] }),
|
|
3589
|
-
/* @__PURE__ */
|
|
3590
|
-
loginHref && /* @__PURE__ */
|
|
3591
|
-
ctaHref && /* @__PURE__ */
|
|
3635
|
+
/* @__PURE__ */ jsxs29("div", { className: "navbar__pill-actions", children: [
|
|
3636
|
+
loginHref && /* @__PURE__ */ jsx32("a", { href: loginHref, children: /* @__PURE__ */ jsx32(Button, { colorScheme: "black", variant: "secondary", label: loginLabel }) }),
|
|
3637
|
+
ctaHref && /* @__PURE__ */ jsx32("a", { href: ctaHref, children: /* @__PURE__ */ jsx32(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3592
3638
|
] })
|
|
3593
3639
|
] }) }),
|
|
3594
|
-
/* @__PURE__ */
|
|
3640
|
+
/* @__PURE__ */ jsx32(AnimatePresence, { children: openDropdown && activeDropdownItem?.dropdown && /* @__PURE__ */ jsx32(
|
|
3595
3641
|
DropdownPanel,
|
|
3596
3642
|
{
|
|
3597
3643
|
item: activeDropdownItem,
|
|
@@ -3600,7 +3646,7 @@ var Navbar = ({
|
|
|
3600
3646
|
},
|
|
3601
3647
|
"dropdown"
|
|
3602
3648
|
) }),
|
|
3603
|
-
/* @__PURE__ */
|
|
3649
|
+
/* @__PURE__ */ jsx32(AnimatePresence, { children: hasLangDropdown && langDropdownOpen && /* @__PURE__ */ jsx32(
|
|
3604
3650
|
motion2.div,
|
|
3605
3651
|
{
|
|
3606
3652
|
className: "navbar__lang-dropdown",
|
|
@@ -3611,12 +3657,12 @@ var Navbar = ({
|
|
|
3611
3657
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3612
3658
|
onMouseEnter: clearLangHoverTimeout,
|
|
3613
3659
|
onMouseLeave: handleLangLeave,
|
|
3614
|
-
children: /* @__PURE__ */
|
|
3660
|
+
children: /* @__PURE__ */ jsx32(
|
|
3615
3661
|
"div",
|
|
3616
3662
|
{
|
|
3617
3663
|
className: "navbar__lang-dropdown-grid",
|
|
3618
3664
|
style: { "--lang-rows": Math.ceil(languageItems.length / 3) },
|
|
3619
|
-
children: languageItems.map((lang) => /* @__PURE__ */
|
|
3665
|
+
children: languageItems.map((lang) => /* @__PURE__ */ jsx32(
|
|
3620
3666
|
"button",
|
|
3621
3667
|
{
|
|
3622
3668
|
className: [
|
|
@@ -3632,8 +3678,8 @@ var Navbar = ({
|
|
|
3632
3678
|
)
|
|
3633
3679
|
}
|
|
3634
3680
|
) }),
|
|
3635
|
-
/* @__PURE__ */
|
|
3636
|
-
loginHref && /* @__PURE__ */
|
|
3681
|
+
/* @__PURE__ */ jsxs29("div", { className: "navbar__actions", children: [
|
|
3682
|
+
loginHref && /* @__PURE__ */ jsx32("a", { href: loginHref, className: "navbar__actions-login", children: /* @__PURE__ */ jsx32(
|
|
3637
3683
|
Button,
|
|
3638
3684
|
{
|
|
3639
3685
|
colorScheme: theme === "dark" ? "white" : "black",
|
|
@@ -3641,10 +3687,10 @@ var Navbar = ({
|
|
|
3641
3687
|
label: loginLabel
|
|
3642
3688
|
}
|
|
3643
3689
|
) }),
|
|
3644
|
-
ctaHref && /* @__PURE__ */
|
|
3690
|
+
ctaHref && /* @__PURE__ */ jsx32("a", { href: ctaHref, children: /* @__PURE__ */ jsx32(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3645
3691
|
] }),
|
|
3646
|
-
/* @__PURE__ */
|
|
3647
|
-
loginHref && /* @__PURE__ */
|
|
3692
|
+
/* @__PURE__ */ jsxs29("div", { className: "navbar__mobile-actions", children: [
|
|
3693
|
+
loginHref && /* @__PURE__ */ jsx32("a", { href: loginHref, children: /* @__PURE__ */ jsx32(
|
|
3648
3694
|
Button,
|
|
3649
3695
|
{
|
|
3650
3696
|
colorScheme: scrolled || theme === "light" ? "black" : "white",
|
|
@@ -3652,18 +3698,18 @@ var Navbar = ({
|
|
|
3652
3698
|
label: loginLabel
|
|
3653
3699
|
}
|
|
3654
3700
|
) }),
|
|
3655
|
-
/* @__PURE__ */
|
|
3701
|
+
/* @__PURE__ */ jsx32(
|
|
3656
3702
|
"button",
|
|
3657
3703
|
{
|
|
3658
3704
|
className: "navbar__mobile-trigger",
|
|
3659
3705
|
onClick: () => setMobileOpen((o) => !o),
|
|
3660
3706
|
"aria-label": mobileOpen ? "Close navigation menu" : "Open navigation menu",
|
|
3661
|
-
children: mobileOpen ? /* @__PURE__ */
|
|
3707
|
+
children: mobileOpen ? /* @__PURE__ */ jsx32(XMarkIcon2, {}) : /* @__PURE__ */ jsx32(BarsIcon, {})
|
|
3662
3708
|
}
|
|
3663
3709
|
)
|
|
3664
3710
|
] })
|
|
3665
3711
|
] }),
|
|
3666
|
-
/* @__PURE__ */
|
|
3712
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__drawer-clip", children: /* @__PURE__ */ jsx32(AnimatePresence, { children: mobileOpen && /* @__PURE__ */ jsxs29(
|
|
3667
3713
|
motion2.div,
|
|
3668
3714
|
{
|
|
3669
3715
|
className: "navbar__drawer",
|
|
@@ -3676,10 +3722,10 @@ var Navbar = ({
|
|
|
3676
3722
|
role: "dialog",
|
|
3677
3723
|
"aria-label": "Navigation menu",
|
|
3678
3724
|
children: [
|
|
3679
|
-
/* @__PURE__ */
|
|
3725
|
+
/* @__PURE__ */ jsxs29("nav", { className: "navbar__drawer-nav", children: [
|
|
3680
3726
|
navItems.map((item) => {
|
|
3681
3727
|
if (item.dropdown) {
|
|
3682
|
-
return /* @__PURE__ */
|
|
3728
|
+
return /* @__PURE__ */ jsx32(
|
|
3683
3729
|
DrawerAccordion,
|
|
3684
3730
|
{
|
|
3685
3731
|
item,
|
|
@@ -3691,7 +3737,7 @@ var Navbar = ({
|
|
|
3691
3737
|
item.label
|
|
3692
3738
|
);
|
|
3693
3739
|
}
|
|
3694
|
-
return /* @__PURE__ */
|
|
3740
|
+
return /* @__PURE__ */ jsxs29(
|
|
3695
3741
|
"a",
|
|
3696
3742
|
{
|
|
3697
3743
|
href: item.href,
|
|
@@ -3700,30 +3746,30 @@ var Navbar = ({
|
|
|
3700
3746
|
rel: item.external ? "noopener noreferrer" : void 0,
|
|
3701
3747
|
children: [
|
|
3702
3748
|
item.label,
|
|
3703
|
-
item.external && /* @__PURE__ */
|
|
3749
|
+
item.external && /* @__PURE__ */ jsx32(ArrowUpRightIcon, {})
|
|
3704
3750
|
]
|
|
3705
3751
|
},
|
|
3706
3752
|
item.label
|
|
3707
3753
|
);
|
|
3708
3754
|
}),
|
|
3709
|
-
languageLabel && !hasLangDropdown && /* @__PURE__ */
|
|
3710
|
-
/* @__PURE__ */
|
|
3755
|
+
languageLabel && !hasLangDropdown && /* @__PURE__ */ jsxs29("button", { className: "navbar__drawer-lang", onClick: onLanguageClick, children: [
|
|
3756
|
+
/* @__PURE__ */ jsx32(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3711
3757
|
languageLabel
|
|
3712
3758
|
] }),
|
|
3713
|
-
languageLabel && hasLangDropdown && /* @__PURE__ */
|
|
3759
|
+
languageLabel && hasLangDropdown && /* @__PURE__ */ jsxs29(
|
|
3714
3760
|
"button",
|
|
3715
3761
|
{
|
|
3716
3762
|
className: "navbar__drawer-lang",
|
|
3717
3763
|
onClick: () => setMobileLangOpen(true),
|
|
3718
3764
|
children: [
|
|
3719
|
-
/* @__PURE__ */
|
|
3765
|
+
/* @__PURE__ */ jsx32(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3720
3766
|
languageLabel
|
|
3721
3767
|
]
|
|
3722
3768
|
}
|
|
3723
3769
|
)
|
|
3724
3770
|
] }),
|
|
3725
|
-
!mobileLangOpen && /* @__PURE__ */
|
|
3726
|
-
loginHref && /* @__PURE__ */
|
|
3771
|
+
!mobileLangOpen && /* @__PURE__ */ jsxs29("div", { className: "navbar__drawer-footer", children: [
|
|
3772
|
+
loginHref && /* @__PURE__ */ jsx32("a", { href: loginHref, style: { display: "block" }, children: /* @__PURE__ */ jsx32(
|
|
3727
3773
|
Button,
|
|
3728
3774
|
{
|
|
3729
3775
|
colorScheme: "black",
|
|
@@ -3732,7 +3778,7 @@ var Navbar = ({
|
|
|
3732
3778
|
fullWidth: true
|
|
3733
3779
|
}
|
|
3734
3780
|
) }),
|
|
3735
|
-
ctaHref && /* @__PURE__ */
|
|
3781
|
+
ctaHref && /* @__PURE__ */ jsx32("a", { href: ctaHref, style: { display: "block" }, children: /* @__PURE__ */ jsx32(
|
|
3736
3782
|
Button,
|
|
3737
3783
|
{
|
|
3738
3784
|
colorScheme: "coral",
|
|
@@ -3742,7 +3788,7 @@ var Navbar = ({
|
|
|
3742
3788
|
}
|
|
3743
3789
|
) })
|
|
3744
3790
|
] }),
|
|
3745
|
-
/* @__PURE__ */
|
|
3791
|
+
/* @__PURE__ */ jsx32(AnimatePresence, { children: hasLangDropdown && mobileLangOpen && /* @__PURE__ */ jsxs29(
|
|
3746
3792
|
motion2.div,
|
|
3747
3793
|
{
|
|
3748
3794
|
className: "navbar__drawer-lang-panel",
|
|
@@ -3751,16 +3797,16 @@ var Navbar = ({
|
|
|
3751
3797
|
exit: { y: "100%" },
|
|
3752
3798
|
transition: { duration: 0.25, ease: EASE_OUT_EXPO },
|
|
3753
3799
|
children: [
|
|
3754
|
-
/* @__PURE__ */
|
|
3800
|
+
/* @__PURE__ */ jsx32(
|
|
3755
3801
|
"button",
|
|
3756
3802
|
{
|
|
3757
3803
|
className: "navbar__drawer-lang-back",
|
|
3758
3804
|
onClick: () => setMobileLangOpen(false),
|
|
3759
3805
|
"aria-label": "Back to menu",
|
|
3760
|
-
children: /* @__PURE__ */
|
|
3806
|
+
children: /* @__PURE__ */ jsx32(ChevronLeftIcon, {})
|
|
3761
3807
|
}
|
|
3762
3808
|
),
|
|
3763
|
-
/* @__PURE__ */
|
|
3809
|
+
/* @__PURE__ */ jsx32("div", { className: "navbar__drawer-lang-grid", children: languageItems.map((lang) => /* @__PURE__ */ jsx32(
|
|
3764
3810
|
"button",
|
|
3765
3811
|
{
|
|
3766
3812
|
className: [
|
|
@@ -3867,7 +3913,7 @@ function webflowV2DayClipPercent(t, media) {
|
|
|
3867
3913
|
}
|
|
3868
3914
|
|
|
3869
3915
|
// templates/DayNightTransition/DayNightTransition.tsx
|
|
3870
|
-
import { Fragment as Fragment3, jsx as
|
|
3916
|
+
import { Fragment as Fragment3, jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
3871
3917
|
var SPRING2 = { stiffness: 80, damping: 30, restDelta: 1e-3 };
|
|
3872
3918
|
var FADE_START = 0.35;
|
|
3873
3919
|
var FADE_END = 0.65;
|
|
@@ -4004,15 +4050,15 @@ var DayNightTransition = ({
|
|
|
4004
4050
|
descriptionLevel === "body-lg" && "dnt--desc-body-lg",
|
|
4005
4051
|
className
|
|
4006
4052
|
].filter(Boolean).join(" ");
|
|
4007
|
-
return /* @__PURE__ */
|
|
4053
|
+
return /* @__PURE__ */ jsxs30(
|
|
4008
4054
|
"div",
|
|
4009
4055
|
{
|
|
4010
4056
|
ref: wrapperRef,
|
|
4011
4057
|
className: rootClass,
|
|
4012
4058
|
...props,
|
|
4013
4059
|
children: [
|
|
4014
|
-
webflowV2 && /* @__PURE__ */
|
|
4015
|
-
/* @__PURE__ */
|
|
4060
|
+
webflowV2 && /* @__PURE__ */ jsxs30("div", { className: "dnt__v2-background-wrapper", "aria-hidden": "true", children: [
|
|
4061
|
+
/* @__PURE__ */ jsx33(
|
|
4016
4062
|
motion3.div,
|
|
4017
4063
|
{
|
|
4018
4064
|
className: "dnt__v2-bg-day trade-day-night_background-day is-alternative",
|
|
@@ -4022,7 +4068,7 @@ var DayNightTransition = ({
|
|
|
4022
4068
|
}
|
|
4023
4069
|
}
|
|
4024
4070
|
),
|
|
4025
|
-
/* @__PURE__ */
|
|
4071
|
+
/* @__PURE__ */ jsx33(
|
|
4026
4072
|
"div",
|
|
4027
4073
|
{
|
|
4028
4074
|
className: "dnt__v2-bg-night trade-day-night_background-night is-alternative",
|
|
@@ -4030,9 +4076,9 @@ var DayNightTransition = ({
|
|
|
4030
4076
|
}
|
|
4031
4077
|
)
|
|
4032
4078
|
] }),
|
|
4033
|
-
/* @__PURE__ */
|
|
4034
|
-
!webflowV2 && /* @__PURE__ */
|
|
4035
|
-
/* @__PURE__ */
|
|
4079
|
+
/* @__PURE__ */ jsxs30("div", { className: webflowV2 ? "dnt__sticky dnt__sticky--webflow-v2" : "dnt__sticky", children: [
|
|
4080
|
+
!webflowV2 && /* @__PURE__ */ jsxs30(Fragment3, { children: [
|
|
4081
|
+
/* @__PURE__ */ jsx33(
|
|
4036
4082
|
"img",
|
|
4037
4083
|
{
|
|
4038
4084
|
className: "dnt__bg dnt__bg--day",
|
|
@@ -4042,7 +4088,7 @@ var DayNightTransition = ({
|
|
|
4042
4088
|
draggable: false
|
|
4043
4089
|
}
|
|
4044
4090
|
),
|
|
4045
|
-
/* @__PURE__ */
|
|
4091
|
+
/* @__PURE__ */ jsx33(
|
|
4046
4092
|
motion3.img,
|
|
4047
4093
|
{
|
|
4048
4094
|
className: "dnt__bg dnt__bg--night",
|
|
@@ -4054,17 +4100,17 @@ var DayNightTransition = ({
|
|
|
4054
4100
|
}
|
|
4055
4101
|
)
|
|
4056
4102
|
] }),
|
|
4057
|
-
/* @__PURE__ */
|
|
4058
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */
|
|
4103
|
+
/* @__PURE__ */ jsx33("div", { className: "dnt__content", children: /* @__PURE__ */ jsx33("div", { className: "dnt__inner", children: webflowV2 ? /* @__PURE__ */ jsxs30("div", { className: "dnt__text-wrap", children: [
|
|
4104
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ jsxs30(
|
|
4059
4105
|
MotionHeadline,
|
|
4060
4106
|
{
|
|
4061
4107
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
4062
4108
|
style: { color: v2TitleColor },
|
|
4063
4109
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
4064
4110
|
children: [
|
|
4065
|
-
/* @__PURE__ */
|
|
4066
|
-
/* @__PURE__ */
|
|
4067
|
-
/* @__PURE__ */
|
|
4111
|
+
/* @__PURE__ */ jsx33("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
4112
|
+
/* @__PURE__ */ jsxs30("span", { className: "dnt__headline-pair", children: [
|
|
4113
|
+
/* @__PURE__ */ jsx33(
|
|
4068
4114
|
motion3.span,
|
|
4069
4115
|
{
|
|
4070
4116
|
ref: dayWordRef,
|
|
@@ -4073,7 +4119,7 @@ var DayNightTransition = ({
|
|
|
4073
4119
|
children: inlineDayNightHeadline.dayWord
|
|
4074
4120
|
}
|
|
4075
4121
|
),
|
|
4076
|
-
/* @__PURE__ */
|
|
4122
|
+
/* @__PURE__ */ jsx33(
|
|
4077
4123
|
motion3.span,
|
|
4078
4124
|
{
|
|
4079
4125
|
className: "dnt__headline-wnight",
|
|
@@ -4088,8 +4134,8 @@ var DayNightTransition = ({
|
|
|
4088
4134
|
] })
|
|
4089
4135
|
]
|
|
4090
4136
|
}
|
|
4091
|
-
) : /* @__PURE__ */
|
|
4092
|
-
/* @__PURE__ */
|
|
4137
|
+
) : /* @__PURE__ */ jsxs30("div", { className: "dnt__crossfade-wrap", children: [
|
|
4138
|
+
/* @__PURE__ */ jsx33(
|
|
4093
4139
|
MotionHeadline,
|
|
4094
4140
|
{
|
|
4095
4141
|
className: "dnt__headline",
|
|
@@ -4097,7 +4143,7 @@ var DayNightTransition = ({
|
|
|
4097
4143
|
children: dayHeadline
|
|
4098
4144
|
}
|
|
4099
4145
|
),
|
|
4100
|
-
/* @__PURE__ */
|
|
4146
|
+
/* @__PURE__ */ jsx33(
|
|
4101
4147
|
MotionHeadline,
|
|
4102
4148
|
{
|
|
4103
4149
|
className: "dnt__headline",
|
|
@@ -4107,8 +4153,8 @@ var DayNightTransition = ({
|
|
|
4107
4153
|
}
|
|
4108
4154
|
)
|
|
4109
4155
|
] }),
|
|
4110
|
-
hasDescription && /* @__PURE__ */
|
|
4111
|
-
/* @__PURE__ */
|
|
4156
|
+
hasDescription && /* @__PURE__ */ jsxs30("div", { className: "dnt__crossfade-wrap", children: [
|
|
4157
|
+
/* @__PURE__ */ jsx33(
|
|
4112
4158
|
motion3.p,
|
|
4113
4159
|
{
|
|
4114
4160
|
className: "dnt__description",
|
|
@@ -4119,7 +4165,7 @@ var DayNightTransition = ({
|
|
|
4119
4165
|
children: dayDescription ?? ""
|
|
4120
4166
|
}
|
|
4121
4167
|
),
|
|
4122
|
-
/* @__PURE__ */
|
|
4168
|
+
/* @__PURE__ */ jsx33(
|
|
4123
4169
|
motion3.p,
|
|
4124
4170
|
{
|
|
4125
4171
|
className: "dnt__description",
|
|
@@ -4132,22 +4178,22 @@ var DayNightTransition = ({
|
|
|
4132
4178
|
}
|
|
4133
4179
|
)
|
|
4134
4180
|
] }),
|
|
4135
|
-
!hideCta && /* @__PURE__ */
|
|
4136
|
-
] }) : /* @__PURE__ */
|
|
4181
|
+
!hideCta && /* @__PURE__ */ jsx33("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
4182
|
+
] }) : /* @__PURE__ */ jsxs30(
|
|
4137
4183
|
motion3.div,
|
|
4138
4184
|
{
|
|
4139
4185
|
className: "dnt__text-wrap",
|
|
4140
4186
|
style: { color: textColor },
|
|
4141
4187
|
children: [
|
|
4142
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */
|
|
4188
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ jsxs30(
|
|
4143
4189
|
MotionHeadline,
|
|
4144
4190
|
{
|
|
4145
4191
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
4146
4192
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
4147
4193
|
children: [
|
|
4148
|
-
/* @__PURE__ */
|
|
4149
|
-
/* @__PURE__ */
|
|
4150
|
-
/* @__PURE__ */
|
|
4194
|
+
/* @__PURE__ */ jsx33("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
4195
|
+
/* @__PURE__ */ jsxs30("span", { className: "dnt__headline-pair", children: [
|
|
4196
|
+
/* @__PURE__ */ jsx33(
|
|
4151
4197
|
motion3.span,
|
|
4152
4198
|
{
|
|
4153
4199
|
ref: dayWordRef,
|
|
@@ -4156,7 +4202,7 @@ var DayNightTransition = ({
|
|
|
4156
4202
|
children: inlineDayNightHeadline.dayWord
|
|
4157
4203
|
}
|
|
4158
4204
|
),
|
|
4159
|
-
/* @__PURE__ */
|
|
4205
|
+
/* @__PURE__ */ jsx33(
|
|
4160
4206
|
motion3.span,
|
|
4161
4207
|
{
|
|
4162
4208
|
className: "dnt__headline-wnight",
|
|
@@ -4171,8 +4217,8 @@ var DayNightTransition = ({
|
|
|
4171
4217
|
] })
|
|
4172
4218
|
]
|
|
4173
4219
|
}
|
|
4174
|
-
) : /* @__PURE__ */
|
|
4175
|
-
/* @__PURE__ */
|
|
4220
|
+
) : /* @__PURE__ */ jsxs30("div", { className: "dnt__crossfade-wrap", children: [
|
|
4221
|
+
/* @__PURE__ */ jsx33(
|
|
4176
4222
|
MotionHeadline,
|
|
4177
4223
|
{
|
|
4178
4224
|
className: "dnt__headline",
|
|
@@ -4180,7 +4226,7 @@ var DayNightTransition = ({
|
|
|
4180
4226
|
children: dayHeadline
|
|
4181
4227
|
}
|
|
4182
4228
|
),
|
|
4183
|
-
/* @__PURE__ */
|
|
4229
|
+
/* @__PURE__ */ jsx33(
|
|
4184
4230
|
MotionHeadline,
|
|
4185
4231
|
{
|
|
4186
4232
|
className: "dnt__headline",
|
|
@@ -4190,8 +4236,8 @@ var DayNightTransition = ({
|
|
|
4190
4236
|
}
|
|
4191
4237
|
)
|
|
4192
4238
|
] }),
|
|
4193
|
-
hasDescription && /* @__PURE__ */
|
|
4194
|
-
/* @__PURE__ */
|
|
4239
|
+
hasDescription && /* @__PURE__ */ jsxs30("div", { className: "dnt__crossfade-wrap", children: [
|
|
4240
|
+
/* @__PURE__ */ jsx33(
|
|
4195
4241
|
motion3.p,
|
|
4196
4242
|
{
|
|
4197
4243
|
className: "dnt__description",
|
|
@@ -4199,7 +4245,7 @@ var DayNightTransition = ({
|
|
|
4199
4245
|
children: dayDescription ?? ""
|
|
4200
4246
|
}
|
|
4201
4247
|
),
|
|
4202
|
-
/* @__PURE__ */
|
|
4248
|
+
/* @__PURE__ */ jsx33(
|
|
4203
4249
|
motion3.p,
|
|
4204
4250
|
{
|
|
4205
4251
|
className: "dnt__description",
|
|
@@ -4209,7 +4255,7 @@ var DayNightTransition = ({
|
|
|
4209
4255
|
}
|
|
4210
4256
|
)
|
|
4211
4257
|
] }),
|
|
4212
|
-
!hideCta && /* @__PURE__ */
|
|
4258
|
+
!hideCta && /* @__PURE__ */ jsx33("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
4213
4259
|
]
|
|
4214
4260
|
}
|
|
4215
4261
|
) }) })
|
|
@@ -4242,7 +4288,7 @@ import {
|
|
|
4242
4288
|
useAnimationFrame,
|
|
4243
4289
|
useMotionValue
|
|
4244
4290
|
} from "framer-motion";
|
|
4245
|
-
import { jsx as
|
|
4291
|
+
import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4246
4292
|
function modWrap(min, max, v) {
|
|
4247
4293
|
const range = max - min;
|
|
4248
4294
|
return ((v - min) % range + range) % range + min;
|
|
@@ -4313,21 +4359,21 @@ var LogoMarquee = ({
|
|
|
4313
4359
|
});
|
|
4314
4360
|
const track1 = [...col1Logos, ...col1Logos];
|
|
4315
4361
|
const track2 = [...col2Logos, ...col2Logos];
|
|
4316
|
-
return /* @__PURE__ */
|
|
4362
|
+
return /* @__PURE__ */ jsx34(
|
|
4317
4363
|
"section",
|
|
4318
4364
|
{
|
|
4319
4365
|
className: ["lm", className].filter(Boolean).join(" "),
|
|
4320
4366
|
...props,
|
|
4321
|
-
children: /* @__PURE__ */
|
|
4322
|
-
/* @__PURE__ */
|
|
4323
|
-
/* @__PURE__ */
|
|
4324
|
-
/* @__PURE__ */
|
|
4367
|
+
children: /* @__PURE__ */ jsxs31("div", { className: "lm__inner", children: [
|
|
4368
|
+
/* @__PURE__ */ jsx34("div", { className: "lm__media", children: /* @__PURE__ */ jsxs31("div", { className: "lm__carousel", children: [
|
|
4369
|
+
/* @__PURE__ */ jsx34("div", { className: "lm__fade lm__fade--top", "aria-hidden": "true" }),
|
|
4370
|
+
/* @__PURE__ */ jsx34(
|
|
4325
4371
|
motion4.div,
|
|
4326
4372
|
{
|
|
4327
4373
|
ref: col1Ref,
|
|
4328
4374
|
className: "lm__col",
|
|
4329
4375
|
style: { y: col1Y },
|
|
4330
|
-
children: track1.map((logo, i) => /* @__PURE__ */
|
|
4376
|
+
children: track1.map((logo, i) => /* @__PURE__ */ jsx34("div", { className: "lm__card", children: /* @__PURE__ */ jsx34("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ jsx34(
|
|
4331
4377
|
"img",
|
|
4332
4378
|
{
|
|
4333
4379
|
src: logo.url,
|
|
@@ -4338,13 +4384,13 @@ var LogoMarquee = ({
|
|
|
4338
4384
|
) }) }, `c1-${i}`))
|
|
4339
4385
|
}
|
|
4340
4386
|
),
|
|
4341
|
-
/* @__PURE__ */
|
|
4387
|
+
/* @__PURE__ */ jsx34(
|
|
4342
4388
|
motion4.div,
|
|
4343
4389
|
{
|
|
4344
4390
|
ref: col2Ref,
|
|
4345
4391
|
className: "lm__col",
|
|
4346
4392
|
style: { y: col2Y },
|
|
4347
|
-
children: track2.map((logo, i) => /* @__PURE__ */
|
|
4393
|
+
children: track2.map((logo, i) => /* @__PURE__ */ jsx34("div", { className: "lm__card", children: /* @__PURE__ */ jsx34("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ jsx34(
|
|
4348
4394
|
"img",
|
|
4349
4395
|
{
|
|
4350
4396
|
src: logo.url,
|
|
@@ -4355,17 +4401,17 @@ var LogoMarquee = ({
|
|
|
4355
4401
|
) }) }, `c2-${i}`))
|
|
4356
4402
|
}
|
|
4357
4403
|
),
|
|
4358
|
-
/* @__PURE__ */
|
|
4404
|
+
/* @__PURE__ */ jsx34("div", { className: "lm__fade lm__fade--bottom", "aria-hidden": "true" })
|
|
4359
4405
|
] }) }),
|
|
4360
|
-
/* @__PURE__ */
|
|
4361
|
-
/* @__PURE__ */
|
|
4362
|
-
/* @__PURE__ */
|
|
4363
|
-
/* @__PURE__ */
|
|
4364
|
-
/* @__PURE__ */
|
|
4406
|
+
/* @__PURE__ */ jsxs31("div", { className: "lm__content", children: [
|
|
4407
|
+
/* @__PURE__ */ jsx34("h2", { className: "lm__headline", children: headline }),
|
|
4408
|
+
/* @__PURE__ */ jsxs31("div", { className: "lm__text-group", children: [
|
|
4409
|
+
/* @__PURE__ */ jsx34("p", { className: "lm__body", children: body }),
|
|
4410
|
+
/* @__PURE__ */ jsx34("p", { className: "lm__disclaimer", children: disclaimer })
|
|
4365
4411
|
] }),
|
|
4366
|
-
/* @__PURE__ */
|
|
4412
|
+
/* @__PURE__ */ jsxs31("a", { href: ctaHref, className: "lm__link", children: [
|
|
4367
4413
|
ctaLabel,
|
|
4368
|
-
/* @__PURE__ */
|
|
4414
|
+
/* @__PURE__ */ jsx34("span", { className: "lm__link-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx34("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx34("path", { d: "M3 8H13M13 8L9 4M13 8L9 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
|
|
4369
4415
|
] })
|
|
4370
4416
|
] })
|
|
4371
4417
|
] })
|
|
@@ -4416,7 +4462,7 @@ var appstore_linux_dark_default = "./appstore-linux-dark-RVH7CBM4.svg";
|
|
|
4416
4462
|
var appstore_browser_dark_default = "./appstore-browser-dark-2E6TK6JH.svg";
|
|
4417
4463
|
|
|
4418
4464
|
// components/DownloadBadge/DownloadBadge.tsx
|
|
4419
|
-
import { jsx as
|
|
4465
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
4420
4466
|
var BADGE_ASSETS = {
|
|
4421
4467
|
light: {
|
|
4422
4468
|
googleplay: { src: appstore_googleplay_light_default, alt: "Get it on Google Play" },
|
|
@@ -4445,7 +4491,7 @@ var DownloadBadge = ({
|
|
|
4445
4491
|
...props
|
|
4446
4492
|
}) => {
|
|
4447
4493
|
const { src, alt } = BADGE_ASSETS[colorScheme][platform];
|
|
4448
|
-
return /* @__PURE__ */
|
|
4494
|
+
return /* @__PURE__ */ jsx35(
|
|
4449
4495
|
"a",
|
|
4450
4496
|
{
|
|
4451
4497
|
className: [
|
|
@@ -4458,13 +4504,13 @@ var DownloadBadge = ({
|
|
|
4458
4504
|
target: "_blank",
|
|
4459
4505
|
rel: "noopener noreferrer",
|
|
4460
4506
|
...props,
|
|
4461
|
-
children: /* @__PURE__ */
|
|
4507
|
+
children: /* @__PURE__ */ jsx35("img", { className: "download-badge__img", src, alt })
|
|
4462
4508
|
}
|
|
4463
4509
|
);
|
|
4464
4510
|
};
|
|
4465
4511
|
|
|
4466
4512
|
// templates/Steps/Steps.tsx
|
|
4467
|
-
import { jsx as
|
|
4513
|
+
import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4468
4514
|
var Steps = ({
|
|
4469
4515
|
title,
|
|
4470
4516
|
steps,
|
|
@@ -4476,8 +4522,8 @@ var Steps = ({
|
|
|
4476
4522
|
"steps__container",
|
|
4477
4523
|
imagePosition === "right" ? "steps__container--image-right" : ""
|
|
4478
4524
|
].filter(Boolean).join(" ");
|
|
4479
|
-
return /* @__PURE__ */
|
|
4480
|
-
image && /* @__PURE__ */
|
|
4525
|
+
return /* @__PURE__ */ jsx36("section", { className: "steps", children: /* @__PURE__ */ jsxs32("div", { className: containerClass, children: [
|
|
4526
|
+
image && /* @__PURE__ */ jsx36("div", { className: "steps__image-wrapper", children: /* @__PURE__ */ jsx36(
|
|
4481
4527
|
"img",
|
|
4482
4528
|
{
|
|
4483
4529
|
src: image,
|
|
@@ -4485,13 +4531,13 @@ var Steps = ({
|
|
|
4485
4531
|
className: "steps__image"
|
|
4486
4532
|
}
|
|
4487
4533
|
) }),
|
|
4488
|
-
/* @__PURE__ */
|
|
4489
|
-
/* @__PURE__ */
|
|
4490
|
-
/* @__PURE__ */
|
|
4491
|
-
/* @__PURE__ */
|
|
4492
|
-
/* @__PURE__ */
|
|
4493
|
-
/* @__PURE__ */
|
|
4494
|
-
/* @__PURE__ */
|
|
4534
|
+
/* @__PURE__ */ jsxs32("div", { className: "steps__content", children: [
|
|
4535
|
+
/* @__PURE__ */ jsx36("h2", { className: "steps__title", children: title }),
|
|
4536
|
+
/* @__PURE__ */ jsx36("ol", { className: "steps__list", children: steps.map((step, index) => /* @__PURE__ */ jsx36("li", { className: "steps__item", children: /* @__PURE__ */ jsxs32("div", { className: "steps__item-inner", children: [
|
|
4537
|
+
/* @__PURE__ */ jsx36("span", { className: "steps__number", "aria-hidden": "true", children: index + 1 }),
|
|
4538
|
+
/* @__PURE__ */ jsxs32("div", { className: "steps__item-body", children: [
|
|
4539
|
+
/* @__PURE__ */ jsx36("h3", { className: "steps__item-title", children: step.title }),
|
|
4540
|
+
/* @__PURE__ */ jsx36("p", { className: "steps__item-description", children: step.description })
|
|
4495
4541
|
] })
|
|
4496
4542
|
] }) }, index)) })
|
|
4497
4543
|
] })
|
|
@@ -4499,7 +4545,7 @@ var Steps = ({
|
|
|
4499
4545
|
};
|
|
4500
4546
|
|
|
4501
4547
|
// templates/DownloadBanner/DownloadBanner.tsx
|
|
4502
|
-
import { jsx as
|
|
4548
|
+
import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4503
4549
|
var DownloadBanner = ({
|
|
4504
4550
|
style = "light-2",
|
|
4505
4551
|
qrCodeImage,
|
|
@@ -4524,9 +4570,9 @@ var DownloadBanner = ({
|
|
|
4524
4570
|
disclaimer
|
|
4525
4571
|
}) => {
|
|
4526
4572
|
const colorScheme = style === "dark" ? "dark" : "light";
|
|
4527
|
-
return /* @__PURE__ */
|
|
4528
|
-
/* @__PURE__ */
|
|
4529
|
-
qrCodeImage && /* @__PURE__ */
|
|
4573
|
+
return /* @__PURE__ */ jsx37("section", { className: `db-section db-section--${style}`, children: /* @__PURE__ */ jsx37("div", { className: "db-container", children: /* @__PURE__ */ jsxs33("div", { className: "db-card", children: [
|
|
4574
|
+
/* @__PURE__ */ jsxs33("div", { className: "db-qr-block", children: [
|
|
4575
|
+
qrCodeImage && /* @__PURE__ */ jsx37(
|
|
4530
4576
|
"img",
|
|
4531
4577
|
{
|
|
4532
4578
|
className: "db-qr-image",
|
|
@@ -4534,21 +4580,21 @@ var DownloadBanner = ({
|
|
|
4534
4580
|
alt: qrCodeAlt
|
|
4535
4581
|
}
|
|
4536
4582
|
),
|
|
4537
|
-
/* @__PURE__ */
|
|
4538
|
-
/* @__PURE__ */
|
|
4539
|
-
/* @__PURE__ */
|
|
4540
|
-
/* @__PURE__ */
|
|
4541
|
-
disclaimer && /* @__PURE__ */
|
|
4583
|
+
/* @__PURE__ */ jsxs33("div", { className: "db-qr-text", children: [
|
|
4584
|
+
/* @__PURE__ */ jsx37("span", { className: "db-qr-text__title db-qr-text__title--desktop", children: qrTitle }),
|
|
4585
|
+
/* @__PURE__ */ jsx37("h2", { className: "db-qr-text__subtitle db-qr-text__subtitle--desktop", children: qrSubtitle }),
|
|
4586
|
+
/* @__PURE__ */ jsx37("span", { className: "db-qr-text__title db-qr-text__title--mobile", children: mobileTitle }),
|
|
4587
|
+
disclaimer && /* @__PURE__ */ jsx37("span", { className: "db-disclaimer", children: disclaimer })
|
|
4542
4588
|
] })
|
|
4543
4589
|
] }),
|
|
4544
|
-
/* @__PURE__ */
|
|
4545
|
-
showGooglePlay && /* @__PURE__ */
|
|
4546
|
-
showAppGallery && /* @__PURE__ */
|
|
4547
|
-
showMacOS && /* @__PURE__ */
|
|
4548
|
-
showWindows && /* @__PURE__ */
|
|
4549
|
-
showLinux && /* @__PURE__ */
|
|
4550
|
-
showAppStore && /* @__PURE__ */
|
|
4551
|
-
showWeb && /* @__PURE__ */
|
|
4590
|
+
/* @__PURE__ */ jsxs33("div", { className: "db-badges", children: [
|
|
4591
|
+
showGooglePlay && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "googleplay", colorScheme, href: googlePlayHref }),
|
|
4592
|
+
showAppGallery && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "appgallery", colorScheme, href: appGalleryHref }),
|
|
4593
|
+
showMacOS && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "macos", colorScheme, href: macOSHref }),
|
|
4594
|
+
showWindows && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "windows", colorScheme, href: windowsHref }),
|
|
4595
|
+
showLinux && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "linux", colorScheme, href: linuxHref }),
|
|
4596
|
+
showAppStore && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "appstore", colorScheme, href: appStoreHref }),
|
|
4597
|
+
showWeb && /* @__PURE__ */ jsx37(DownloadBadge, { platform: "web", colorScheme, href: webHref })
|
|
4552
4598
|
] })
|
|
4553
4599
|
] }) }) });
|
|
4554
4600
|
};
|
|
@@ -4557,7 +4603,7 @@ var DownloadBanner = ({
|
|
|
4557
4603
|
import { useEffect as useEffect10, useRef as useRef13 } from "react";
|
|
4558
4604
|
import { gsap } from "gsap";
|
|
4559
4605
|
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
|
4560
|
-
import { jsx as
|
|
4606
|
+
import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4561
4607
|
gsap.registerPlugin(ScrollTrigger);
|
|
4562
4608
|
var TextScroll = ({ text, className }) => {
|
|
4563
4609
|
const sectionRef = useRef13(null);
|
|
@@ -4597,12 +4643,12 @@ var TextScroll = ({ text, className }) => {
|
|
|
4597
4643
|
gsap.set(wordEls, { clearProps: "opacity" });
|
|
4598
4644
|
};
|
|
4599
4645
|
}, [text]);
|
|
4600
|
-
return /* @__PURE__ */
|
|
4646
|
+
return /* @__PURE__ */ jsx38(
|
|
4601
4647
|
"section",
|
|
4602
4648
|
{
|
|
4603
4649
|
ref: sectionRef,
|
|
4604
4650
|
className: ["ts", className].filter(Boolean).join(" "),
|
|
4605
|
-
children: /* @__PURE__ */
|
|
4651
|
+
children: /* @__PURE__ */ jsx38("div", { className: "ts__inner", children: /* @__PURE__ */ jsx38("p", { className: "ts__text", "aria-label": text, children: words.map((word, i) => /* @__PURE__ */ jsxs34(
|
|
4606
4652
|
"span",
|
|
4607
4653
|
{
|
|
4608
4654
|
ref: (el) => {
|
|
@@ -4623,7 +4669,7 @@ var TextScroll = ({ text, className }) => {
|
|
|
4623
4669
|
|
|
4624
4670
|
// templates/StickyMarketCards/StickyMarketCards.tsx
|
|
4625
4671
|
import { useEffect as useEffect11, useRef as useRef14 } from "react";
|
|
4626
|
-
import { jsx as
|
|
4672
|
+
import { jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4627
4673
|
var PLACEHOLDER_IMAGE3 = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
4628
4674
|
var StickyMarketCards = ({
|
|
4629
4675
|
sectionTitle,
|
|
@@ -4704,20 +4750,20 @@ var StickyMarketCards = ({
|
|
|
4704
4750
|
const n = items.length;
|
|
4705
4751
|
const maxStack = 4;
|
|
4706
4752
|
const baseIndex = Math.max(0, n - maxStack);
|
|
4707
|
-
return /* @__PURE__ */
|
|
4753
|
+
return /* @__PURE__ */ jsx39(
|
|
4708
4754
|
"section",
|
|
4709
4755
|
{
|
|
4710
4756
|
className: ["smc", className].filter(Boolean).join(" "),
|
|
4711
4757
|
...props,
|
|
4712
|
-
children: /* @__PURE__ */
|
|
4713
|
-
/* @__PURE__ */
|
|
4714
|
-
/* @__PURE__ */
|
|
4715
|
-
sectionDescription && /* @__PURE__ */
|
|
4758
|
+
children: /* @__PURE__ */ jsxs35("div", { className: "smc__inner", children: [
|
|
4759
|
+
/* @__PURE__ */ jsxs35("div", { className: "smc__header-wrap", children: [
|
|
4760
|
+
/* @__PURE__ */ jsx39("h2", { className: "smc__header", children: sectionTitle }),
|
|
4761
|
+
sectionDescription && /* @__PURE__ */ jsx39("p", { className: "smc__description", children: sectionDescription })
|
|
4716
4762
|
] }),
|
|
4717
|
-
/* @__PURE__ */
|
|
4763
|
+
/* @__PURE__ */ jsx39("div", { className: "smc__track", children: items.map((item, i) => {
|
|
4718
4764
|
const theme = item.theme ?? "dark";
|
|
4719
4765
|
const offsetMultiplier = Math.max(0, i - baseIndex);
|
|
4720
|
-
return /* @__PURE__ */
|
|
4766
|
+
return /* @__PURE__ */ jsx39(
|
|
4721
4767
|
"div",
|
|
4722
4768
|
{
|
|
4723
4769
|
ref: (el) => {
|
|
@@ -4728,7 +4774,7 @@ var StickyMarketCards = ({
|
|
|
4728
4774
|
["--smc-card-index"]: String(offsetMultiplier),
|
|
4729
4775
|
zIndex: i + 1
|
|
4730
4776
|
},
|
|
4731
|
-
children: /* @__PURE__ */
|
|
4777
|
+
children: /* @__PURE__ */ jsxs35(
|
|
4732
4778
|
"div",
|
|
4733
4779
|
{
|
|
4734
4780
|
ref: (el) => {
|
|
@@ -4739,8 +4785,8 @@ var StickyMarketCards = ({
|
|
|
4739
4785
|
`smc__card-inner--${theme}`
|
|
4740
4786
|
].join(" "),
|
|
4741
4787
|
children: [
|
|
4742
|
-
/* @__PURE__ */
|
|
4743
|
-
/* @__PURE__ */
|
|
4788
|
+
/* @__PURE__ */ jsxs35("div", { className: "smc__card-bg", children: [
|
|
4789
|
+
/* @__PURE__ */ jsx39(
|
|
4744
4790
|
"img",
|
|
4745
4791
|
{
|
|
4746
4792
|
src: item.imageUrl ?? PLACEHOLDER_IMAGE3,
|
|
@@ -4749,7 +4795,7 @@ var StickyMarketCards = ({
|
|
|
4749
4795
|
loading: i === 0 ? "eager" : "lazy"
|
|
4750
4796
|
}
|
|
4751
4797
|
),
|
|
4752
|
-
/* @__PURE__ */
|
|
4798
|
+
/* @__PURE__ */ jsx39(
|
|
4753
4799
|
"div",
|
|
4754
4800
|
{
|
|
4755
4801
|
className: [
|
|
@@ -4759,9 +4805,9 @@ var StickyMarketCards = ({
|
|
|
4759
4805
|
}
|
|
4760
4806
|
)
|
|
4761
4807
|
] }),
|
|
4762
|
-
/* @__PURE__ */
|
|
4763
|
-
/* @__PURE__ */
|
|
4764
|
-
/* @__PURE__ */
|
|
4808
|
+
/* @__PURE__ */ jsxs35("div", { className: "smc__card-content", children: [
|
|
4809
|
+
/* @__PURE__ */ jsx39("div", { className: "smc__card-title-wrap", children: /* @__PURE__ */ jsx39("h3", { className: "smc__card-title", children: item.title }) }),
|
|
4810
|
+
/* @__PURE__ */ jsx39("div", { className: "smc__card-desc-wrap", children: /* @__PURE__ */ jsx39("p", { className: "smc__card-desc", children: item.description }) })
|
|
4765
4811
|
] })
|
|
4766
4812
|
]
|
|
4767
4813
|
}
|
|
@@ -4777,11 +4823,11 @@ var StickyMarketCards = ({
|
|
|
4777
4823
|
|
|
4778
4824
|
// templates/Table/Table.tsx
|
|
4779
4825
|
import { useState as useState13, useMemo as useMemo2 } from "react";
|
|
4780
|
-
import { Fragment as Fragment4, jsx as
|
|
4781
|
-
var InfoIcon = ({ className }) => /* @__PURE__ */
|
|
4782
|
-
/* @__PURE__ */
|
|
4783
|
-
/* @__PURE__ */
|
|
4784
|
-
/* @__PURE__ */
|
|
4826
|
+
import { Fragment as Fragment4, jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4827
|
+
var InfoIcon = ({ className }) => /* @__PURE__ */ jsxs36("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className, children: [
|
|
4828
|
+
/* @__PURE__ */ jsx40("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
4829
|
+
/* @__PURE__ */ jsx40("path", { d: "M12 16V12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
4830
|
+
/* @__PURE__ */ jsx40("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor", stroke: "currentColor", strokeWidth: "1" })
|
|
4785
4831
|
] });
|
|
4786
4832
|
var Table = ({
|
|
4787
4833
|
sectionTitle,
|
|
@@ -4818,12 +4864,12 @@ var Table = ({
|
|
|
4818
4864
|
setSearch("");
|
|
4819
4865
|
setPage(1);
|
|
4820
4866
|
};
|
|
4821
|
-
return /* @__PURE__ */
|
|
4822
|
-
sectionTitle && /* @__PURE__ */
|
|
4823
|
-
/* @__PURE__ */
|
|
4824
|
-
/* @__PURE__ */
|
|
4825
|
-
/* @__PURE__ */
|
|
4826
|
-
/* @__PURE__ */
|
|
4867
|
+
return /* @__PURE__ */ jsxs36("section", { className: ["tbl-section", className].filter(Boolean).join(" "), ...props, children: [
|
|
4868
|
+
sectionTitle && /* @__PURE__ */ jsx40("div", { className: "tbl-section__header", children: /* @__PURE__ */ jsx40("h2", { className: "tbl-section__title", children: sectionTitle }) }),
|
|
4869
|
+
/* @__PURE__ */ jsxs36("div", { className: "tbl-section__content", children: [
|
|
4870
|
+
/* @__PURE__ */ jsxs36("div", { className: "tbl", children: [
|
|
4871
|
+
/* @__PURE__ */ jsxs36("div", { className: "tbl__topbar", children: [
|
|
4872
|
+
/* @__PURE__ */ jsx40("div", { className: "tbl__search-wrap", children: /* @__PURE__ */ jsx40(
|
|
4827
4873
|
SearchField,
|
|
4828
4874
|
{
|
|
4829
4875
|
placeholder: searchPlaceholder,
|
|
@@ -4834,7 +4880,7 @@ var Table = ({
|
|
|
4834
4880
|
"aria-label": searchPlaceholder
|
|
4835
4881
|
}
|
|
4836
4882
|
) }),
|
|
4837
|
-
/* @__PURE__ */
|
|
4883
|
+
/* @__PURE__ */ jsx40("div", { className: "tbl__summary", children: filtered.length > 0 ? /* @__PURE__ */ jsxs36(Fragment4, { children: [
|
|
4838
4884
|
"Showing ",
|
|
4839
4885
|
startIdx + 1,
|
|
4840
4886
|
"- ",
|
|
@@ -4843,12 +4889,12 @@ var Table = ({
|
|
|
4843
4889
|
filtered.length
|
|
4844
4890
|
] }) : "No results" })
|
|
4845
4891
|
] }),
|
|
4846
|
-
/* @__PURE__ */
|
|
4847
|
-
/* @__PURE__ */
|
|
4892
|
+
/* @__PURE__ */ jsx40("div", { className: "tbl__scroll-wrapper", children: /* @__PURE__ */ jsxs36("table", { className: "tbl__table", children: [
|
|
4893
|
+
/* @__PURE__ */ jsx40("thead", { children: /* @__PURE__ */ jsx40("tr", { className: "tbl__tr", children: columns.map((col, colIdx) => {
|
|
4848
4894
|
const isFirst = colIdx === 0;
|
|
4849
4895
|
const isLast = colIdx === columns.length - 1;
|
|
4850
4896
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4851
|
-
return /* @__PURE__ */
|
|
4897
|
+
return /* @__PURE__ */ jsx40(
|
|
4852
4898
|
"th",
|
|
4853
4899
|
{
|
|
4854
4900
|
className: [
|
|
@@ -4856,7 +4902,7 @@ var Table = ({
|
|
|
4856
4902
|
isMain ? "tbl__th--main" : "",
|
|
4857
4903
|
col.width === "big" ? "tbl__th--big" : ""
|
|
4858
4904
|
].filter(Boolean).join(" "),
|
|
4859
|
-
children: /* @__PURE__ */
|
|
4905
|
+
children: /* @__PURE__ */ jsx40(
|
|
4860
4906
|
"div",
|
|
4861
4907
|
{
|
|
4862
4908
|
className: "tbl__th-inner",
|
|
@@ -4886,9 +4932,9 @@ var Table = ({
|
|
|
4886
4932
|
setTooltip((prev) => ({ ...prev, visible: false }));
|
|
4887
4933
|
}
|
|
4888
4934
|
},
|
|
4889
|
-
children: /* @__PURE__ */
|
|
4935
|
+
children: /* @__PURE__ */ jsx40("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__ */ jsxs36("span", { children: [
|
|
4890
4936
|
line,
|
|
4891
|
-
li < col.header.length - 1 && /* @__PURE__ */
|
|
4937
|
+
li < col.header.length - 1 && /* @__PURE__ */ jsx40("br", {})
|
|
4892
4938
|
] }, li)) : col.header })
|
|
4893
4939
|
}
|
|
4894
4940
|
)
|
|
@@ -4896,10 +4942,10 @@ var Table = ({
|
|
|
4896
4942
|
col.key
|
|
4897
4943
|
);
|
|
4898
4944
|
}) }) }),
|
|
4899
|
-
/* @__PURE__ */
|
|
4945
|
+
/* @__PURE__ */ jsx40("tbody", { className: "tbl__tbody", children: visible.length > 0 ? visible.map((row, rowIdx) => /* @__PURE__ */ jsx40("tr", { className: "tbl__tr", children: columns.map((col) => {
|
|
4900
4946
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4901
4947
|
const iconUrl = row[`${col.key}_iconUrl`];
|
|
4902
|
-
return /* @__PURE__ */
|
|
4948
|
+
return /* @__PURE__ */ jsx40(
|
|
4903
4949
|
"td",
|
|
4904
4950
|
{
|
|
4905
4951
|
className: [
|
|
@@ -4907,8 +4953,8 @@ var Table = ({
|
|
|
4907
4953
|
isMain ? "tbl__td--main" : "",
|
|
4908
4954
|
col.width === "big" ? "tbl__td--big" : ""
|
|
4909
4955
|
].filter(Boolean).join(" "),
|
|
4910
|
-
children: isMain ? /* @__PURE__ */
|
|
4911
|
-
iconUrl && /* @__PURE__ */
|
|
4956
|
+
children: isMain ? /* @__PURE__ */ jsxs36("div", { className: "tbl__cell-inner", children: [
|
|
4957
|
+
iconUrl && /* @__PURE__ */ jsx40(
|
|
4912
4958
|
"img",
|
|
4913
4959
|
{
|
|
4914
4960
|
src: iconUrl,
|
|
@@ -4920,18 +4966,18 @@ var Table = ({
|
|
|
4920
4966
|
height: "24"
|
|
4921
4967
|
}
|
|
4922
4968
|
),
|
|
4923
|
-
/* @__PURE__ */
|
|
4924
|
-
] }) : /* @__PURE__ */
|
|
4969
|
+
/* @__PURE__ */ jsx40("span", { className: "tbl__cell-text tbl__cell-text--bold", children: row[col.key] ?? "" })
|
|
4970
|
+
] }) : /* @__PURE__ */ jsx40("span", { className: "tbl__cell-text", children: row[col.key] ?? "" })
|
|
4925
4971
|
},
|
|
4926
4972
|
col.key
|
|
4927
4973
|
);
|
|
4928
|
-
}) }, rowIdx)) : /* @__PURE__ */
|
|
4974
|
+
}) }, rowIdx)) : /* @__PURE__ */ jsx40("tr", { className: "tbl__tr", children: /* @__PURE__ */ jsxs36("td", { colSpan: columns.length, className: "tbl__empty-cell", children: [
|
|
4929
4975
|
'No results found for "',
|
|
4930
4976
|
search,
|
|
4931
4977
|
'"'
|
|
4932
4978
|
] }) }) })
|
|
4933
4979
|
] }) }),
|
|
4934
|
-
totalPages > 1 && /* @__PURE__ */
|
|
4980
|
+
totalPages > 1 && /* @__PURE__ */ jsx40("div", { className: "tbl__footer", children: /* @__PURE__ */ jsx40("div", { className: "tbl__pagination-wrap", children: /* @__PURE__ */ jsx40(
|
|
4935
4981
|
Pagination,
|
|
4936
4982
|
{
|
|
4937
4983
|
currentPage,
|
|
@@ -4940,19 +4986,19 @@ var Table = ({
|
|
|
4940
4986
|
}
|
|
4941
4987
|
) }) })
|
|
4942
4988
|
] }),
|
|
4943
|
-
infoText && /* @__PURE__ */
|
|
4944
|
-
/* @__PURE__ */
|
|
4945
|
-
/* @__PURE__ */
|
|
4989
|
+
infoText && /* @__PURE__ */ jsxs36("div", { className: "tbl-section__info-box", children: [
|
|
4990
|
+
/* @__PURE__ */ jsx40(InfoIcon, { className: "tbl-section__info-icon" }),
|
|
4991
|
+
/* @__PURE__ */ jsx40("p", { className: "tbl-section__info-text", children: infoText })
|
|
4946
4992
|
] })
|
|
4947
4993
|
] }),
|
|
4948
|
-
/* @__PURE__ */
|
|
4994
|
+
/* @__PURE__ */ jsxs36(
|
|
4949
4995
|
"div",
|
|
4950
4996
|
{
|
|
4951
4997
|
className: ["tbl__global-hint", tooltip.visible ? "tbl__global-hint--visible" : ""].filter(Boolean).join(" "),
|
|
4952
4998
|
style: { left: tooltip.x, top: tooltip.y - 8 },
|
|
4953
4999
|
children: [
|
|
4954
|
-
/* @__PURE__ */
|
|
4955
|
-
/* @__PURE__ */
|
|
5000
|
+
/* @__PURE__ */ jsx40("div", { className: "tbl__global-hint-desc", children: tooltip.description }),
|
|
5001
|
+
/* @__PURE__ */ jsx40(
|
|
4956
5002
|
"div",
|
|
4957
5003
|
{
|
|
4958
5004
|
className: "tbl__global-hint-arrow",
|
|
@@ -4967,11 +5013,11 @@ var Table = ({
|
|
|
4967
5013
|
|
|
4968
5014
|
// templates/Leaders/Leaders.tsx
|
|
4969
5015
|
import { useState as useState14 } from "react";
|
|
4970
|
-
import { Fragment as Fragment5, jsx as
|
|
4971
|
-
var ChevronDownIcon4 = () => /* @__PURE__ */
|
|
4972
|
-
var ChevronUpIcon = () => /* @__PURE__ */
|
|
4973
|
-
var CardContent = ({ item }) => /* @__PURE__ */
|
|
4974
|
-
/* @__PURE__ */
|
|
5016
|
+
import { Fragment as Fragment5, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
5017
|
+
var ChevronDownIcon4 = () => /* @__PURE__ */ jsx41("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx41("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
5018
|
+
var ChevronUpIcon = () => /* @__PURE__ */ jsx41("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx41("path", { d: "M12 10L8 6L4 10", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
5019
|
+
var CardContent = ({ item }) => /* @__PURE__ */ jsxs37(Fragment5, { children: [
|
|
5020
|
+
/* @__PURE__ */ jsx41("div", { className: "avatar-grid__image-wrapper", children: /* @__PURE__ */ jsx41(
|
|
4975
5021
|
"img",
|
|
4976
5022
|
{
|
|
4977
5023
|
src: item.imageUrl,
|
|
@@ -4980,11 +5026,11 @@ var CardContent = ({ item }) => /* @__PURE__ */ jsxs36(Fragment5, { children: [
|
|
|
4980
5026
|
loading: "lazy"
|
|
4981
5027
|
}
|
|
4982
5028
|
) }),
|
|
4983
|
-
/* @__PURE__ */
|
|
4984
|
-
/* @__PURE__ */
|
|
4985
|
-
/* @__PURE__ */
|
|
5029
|
+
/* @__PURE__ */ jsxs37("div", { className: "avatar-grid__content", children: [
|
|
5030
|
+
/* @__PURE__ */ jsx41("h3", { className: "avatar-grid__name", children: item.name }),
|
|
5031
|
+
/* @__PURE__ */ jsx41("p", { className: "avatar-grid__role", children: item.role })
|
|
4986
5032
|
] }),
|
|
4987
|
-
item.linkUrl && /* @__PURE__ */
|
|
5033
|
+
item.linkUrl && /* @__PURE__ */ jsx41(
|
|
4988
5034
|
Link,
|
|
4989
5035
|
{
|
|
4990
5036
|
href: item.linkUrl,
|
|
@@ -5012,14 +5058,14 @@ var AvatarGrid = ({
|
|
|
5012
5058
|
const hasMore = items.length > initialVisibleCount;
|
|
5013
5059
|
const visibleItems = items.slice(0, initialVisibleCount);
|
|
5014
5060
|
const extraItems = items.slice(initialVisibleCount);
|
|
5015
|
-
return /* @__PURE__ */
|
|
5016
|
-
(title || description) && /* @__PURE__ */
|
|
5017
|
-
title && /* @__PURE__ */
|
|
5018
|
-
description && /* @__PURE__ */
|
|
5061
|
+
return /* @__PURE__ */ jsx41("section", { className: ["avatar-grid", className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ jsxs37("div", { className: "avatar-grid__container", children: [
|
|
5062
|
+
(title || description) && /* @__PURE__ */ jsxs37("div", { className: "avatar-grid__header", children: [
|
|
5063
|
+
title && /* @__PURE__ */ jsx41("h2", { className: "avatar-grid__title", children: title }),
|
|
5064
|
+
description && /* @__PURE__ */ jsx41("p", { className: "avatar-grid__description", children: description })
|
|
5019
5065
|
] }),
|
|
5020
|
-
/* @__PURE__ */
|
|
5021
|
-
/* @__PURE__ */
|
|
5022
|
-
hasMore && /* @__PURE__ */
|
|
5066
|
+
/* @__PURE__ */ jsxs37("div", { className: "avatar-grid__grid-wrapper", children: [
|
|
5067
|
+
/* @__PURE__ */ jsx41("div", { className: "avatar-grid__grid", children: visibleItems.map((item, i) => /* @__PURE__ */ jsx41("div", { className: "avatar-grid__card", children: /* @__PURE__ */ jsx41(CardContent, { item }) }, i)) }),
|
|
5068
|
+
hasMore && /* @__PURE__ */ jsx41(
|
|
5023
5069
|
"div",
|
|
5024
5070
|
{
|
|
5025
5071
|
className: [
|
|
@@ -5027,7 +5073,7 @@ var AvatarGrid = ({
|
|
|
5027
5073
|
isExpanded ? "avatar-grid__extra-cards--open" : ""
|
|
5028
5074
|
].join(" "),
|
|
5029
5075
|
"aria-hidden": !isExpanded,
|
|
5030
|
-
children: /* @__PURE__ */
|
|
5076
|
+
children: /* @__PURE__ */ jsx41("div", { className: "avatar-grid__extra-grid", children: extraItems.map((item, i) => /* @__PURE__ */ jsx41(
|
|
5031
5077
|
"div",
|
|
5032
5078
|
{
|
|
5033
5079
|
className: [
|
|
@@ -5038,21 +5084,21 @@ var AvatarGrid = ({
|
|
|
5038
5084
|
style: {
|
|
5039
5085
|
transitionDelay: isExpanded ? `${i * 70 + 120}ms` : "0ms"
|
|
5040
5086
|
},
|
|
5041
|
-
children: /* @__PURE__ */
|
|
5087
|
+
children: /* @__PURE__ */ jsx41(CardContent, { item })
|
|
5042
5088
|
},
|
|
5043
5089
|
i
|
|
5044
5090
|
)) })
|
|
5045
5091
|
}
|
|
5046
5092
|
)
|
|
5047
5093
|
] }),
|
|
5048
|
-
hasMore && /* @__PURE__ */
|
|
5094
|
+
hasMore && /* @__PURE__ */ jsx41("div", { className: "avatar-grid__actions", children: /* @__PURE__ */ jsx41(
|
|
5049
5095
|
Button,
|
|
5050
5096
|
{
|
|
5051
5097
|
variant: "secondary",
|
|
5052
5098
|
colorScheme: "black",
|
|
5053
5099
|
onClick: () => setIsExpanded(!isExpanded),
|
|
5054
5100
|
iconPosition: "icon-right",
|
|
5055
|
-
icon: isExpanded ? /* @__PURE__ */
|
|
5101
|
+
icon: isExpanded ? /* @__PURE__ */ jsx41(ChevronUpIcon, {}) : /* @__PURE__ */ jsx41(ChevronDownIcon4, {}),
|
|
5056
5102
|
fullWidth: true,
|
|
5057
5103
|
children: isExpanded ? collapseText : expandText
|
|
5058
5104
|
}
|
|
@@ -5063,7 +5109,7 @@ var PeopleGrid = AvatarGrid;
|
|
|
5063
5109
|
var Leaders = AvatarGrid;
|
|
5064
5110
|
|
|
5065
5111
|
// templates/ImageBanner/ImageBanner.tsx
|
|
5066
|
-
import { jsx as
|
|
5112
|
+
import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
5067
5113
|
var ImageBanner = ({
|
|
5068
5114
|
variant = "split",
|
|
5069
5115
|
title = "Join our global community",
|
|
@@ -5077,12 +5123,12 @@ var ImageBanner = ({
|
|
|
5077
5123
|
...props
|
|
5078
5124
|
}) => {
|
|
5079
5125
|
const isFullBg = variant === "full-bg";
|
|
5080
|
-
return /* @__PURE__ */
|
|
5126
|
+
return /* @__PURE__ */ jsx42(
|
|
5081
5127
|
"section",
|
|
5082
5128
|
{
|
|
5083
5129
|
className: ["image-banner", className].filter(Boolean).join(" "),
|
|
5084
5130
|
...props,
|
|
5085
|
-
children: /* @__PURE__ */
|
|
5131
|
+
children: /* @__PURE__ */ jsxs38(
|
|
5086
5132
|
"div",
|
|
5087
5133
|
{
|
|
5088
5134
|
className: [
|
|
@@ -5090,8 +5136,8 @@ var ImageBanner = ({
|
|
|
5090
5136
|
`image-banner__inner--${variant}`
|
|
5091
5137
|
].join(" "),
|
|
5092
5138
|
children: [
|
|
5093
|
-
isFullBg && imageUrl && /* @__PURE__ */
|
|
5094
|
-
/* @__PURE__ */
|
|
5139
|
+
isFullBg && imageUrl && /* @__PURE__ */ jsxs38("div", { className: "image-banner__bg-image-wrapper", children: [
|
|
5140
|
+
/* @__PURE__ */ jsx42(
|
|
5095
5141
|
"img",
|
|
5096
5142
|
{
|
|
5097
5143
|
src: imageUrl,
|
|
@@ -5100,12 +5146,12 @@ var ImageBanner = ({
|
|
|
5100
5146
|
loading: "lazy"
|
|
5101
5147
|
}
|
|
5102
5148
|
),
|
|
5103
|
-
/* @__PURE__ */
|
|
5149
|
+
/* @__PURE__ */ jsx42("div", { className: "image-banner__bg-overlay", "aria-hidden": "true" })
|
|
5104
5150
|
] }),
|
|
5105
|
-
/* @__PURE__ */
|
|
5106
|
-
/* @__PURE__ */
|
|
5107
|
-
description && /* @__PURE__ */
|
|
5108
|
-
ctaLabel && /* @__PURE__ */
|
|
5151
|
+
/* @__PURE__ */ jsxs38("div", { className: "image-banner__content", children: [
|
|
5152
|
+
/* @__PURE__ */ jsx42("h2", { className: "image-banner__title", children: title }),
|
|
5153
|
+
description && /* @__PURE__ */ jsx42("p", { className: "image-banner__description", children: description }),
|
|
5154
|
+
ctaLabel && /* @__PURE__ */ jsx42("div", { className: "image-banner__actions", children: /* @__PURE__ */ jsx42(
|
|
5109
5155
|
Link,
|
|
5110
5156
|
{
|
|
5111
5157
|
colorScheme: "coral",
|
|
@@ -5117,7 +5163,7 @@ var ImageBanner = ({
|
|
|
5117
5163
|
}
|
|
5118
5164
|
) })
|
|
5119
5165
|
] }),
|
|
5120
|
-
!isFullBg && imageUrl && /* @__PURE__ */
|
|
5166
|
+
!isFullBg && imageUrl && /* @__PURE__ */ jsx42("div", { className: "image-banner__image-wrapper", children: /* @__PURE__ */ jsx42(
|
|
5121
5167
|
"img",
|
|
5122
5168
|
{
|
|
5123
5169
|
src: imageUrl,
|
|
@@ -5143,7 +5189,7 @@ var quote_left_default = "./quote-left-63QMW5NQ.webp";
|
|
|
5143
5189
|
var quote_right_default = "./quote-right-W6AS4YHN.webp";
|
|
5144
5190
|
|
|
5145
5191
|
// templates/Testimonial/Testimonial.tsx
|
|
5146
|
-
import { jsx as
|
|
5192
|
+
import { jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
5147
5193
|
var Testimonial = ({
|
|
5148
5194
|
title,
|
|
5149
5195
|
items,
|
|
@@ -5180,15 +5226,15 @@ var Testimonial = ({
|
|
|
5180
5226
|
};
|
|
5181
5227
|
}, [activeIndex, items.length]);
|
|
5182
5228
|
if (!items || items.length === 0) return null;
|
|
5183
|
-
return /* @__PURE__ */
|
|
5229
|
+
return /* @__PURE__ */ jsx43(
|
|
5184
5230
|
"section",
|
|
5185
5231
|
{
|
|
5186
5232
|
className: ["testimonial", className].filter(Boolean).join(" "),
|
|
5187
5233
|
...props,
|
|
5188
|
-
children: /* @__PURE__ */
|
|
5189
|
-
title && /* @__PURE__ */
|
|
5190
|
-
/* @__PURE__ */
|
|
5191
|
-
/* @__PURE__ */
|
|
5234
|
+
children: /* @__PURE__ */ jsxs39("div", { className: "testimonial__container", children: [
|
|
5235
|
+
title && /* @__PURE__ */ jsx43("h2", { className: "testimonial__title", children: title }),
|
|
5236
|
+
/* @__PURE__ */ jsxs39("div", { className: "testimonial__carousel", children: [
|
|
5237
|
+
/* @__PURE__ */ jsx43("div", { className: "testimonial__slides", children: items.map((item, i) => {
|
|
5192
5238
|
const isActive = i === activeIndex;
|
|
5193
5239
|
const isExiting = isActive && phase === "exiting";
|
|
5194
5240
|
const slideClass = [
|
|
@@ -5196,18 +5242,18 @@ var Testimonial = ({
|
|
|
5196
5242
|
isActive && !isExiting ? "testimonial__slide--active" : "",
|
|
5197
5243
|
isExiting ? "testimonial__slide--exiting" : ""
|
|
5198
5244
|
].filter(Boolean).join(" ");
|
|
5199
|
-
return /* @__PURE__ */
|
|
5245
|
+
return /* @__PURE__ */ jsx43(
|
|
5200
5246
|
"div",
|
|
5201
5247
|
{
|
|
5202
5248
|
className: slideClass,
|
|
5203
5249
|
role: "region",
|
|
5204
5250
|
"aria-label": `Testimonial ${i + 1} of ${items.length}`,
|
|
5205
5251
|
"aria-hidden": !isActive,
|
|
5206
|
-
children: /* @__PURE__ */
|
|
5207
|
-
/* @__PURE__ */
|
|
5208
|
-
/* @__PURE__ */
|
|
5209
|
-
/* @__PURE__ */
|
|
5210
|
-
item.avatarUrl && /* @__PURE__ */
|
|
5252
|
+
children: /* @__PURE__ */ jsxs39("div", { className: "testimonial__card", children: [
|
|
5253
|
+
/* @__PURE__ */ jsx43("span", { className: "testimonial__quotemark testimonial__quotemark--open", "aria-hidden": "true", children: /* @__PURE__ */ jsx43("img", { src: quote_left_default, alt: "", className: "testimonial__quotemark-img" }) }),
|
|
5254
|
+
/* @__PURE__ */ jsx43("p", { className: "testimonial__quote", children: item.quote }),
|
|
5255
|
+
/* @__PURE__ */ jsxs39("div", { className: "testimonial__author", children: [
|
|
5256
|
+
item.avatarUrl && /* @__PURE__ */ jsx43(
|
|
5211
5257
|
"img",
|
|
5212
5258
|
{
|
|
5213
5259
|
src: item.avatarUrl,
|
|
@@ -5216,22 +5262,22 @@ var Testimonial = ({
|
|
|
5216
5262
|
loading: "lazy"
|
|
5217
5263
|
}
|
|
5218
5264
|
),
|
|
5219
|
-
/* @__PURE__ */
|
|
5220
|
-
item.authorLocation && /* @__PURE__ */
|
|
5265
|
+
/* @__PURE__ */ jsx43("p", { className: "testimonial__author-name", children: item.authorName }),
|
|
5266
|
+
item.authorLocation && /* @__PURE__ */ jsx43("p", { className: "testimonial__author-location", children: item.authorLocation })
|
|
5221
5267
|
] }),
|
|
5222
|
-
/* @__PURE__ */
|
|
5268
|
+
/* @__PURE__ */ jsx43("span", { className: "testimonial__quotemark testimonial__quotemark--close", "aria-hidden": "true", children: /* @__PURE__ */ jsx43("img", { src: quote_right_default, alt: "", className: "testimonial__quotemark-img" }) })
|
|
5223
5269
|
] })
|
|
5224
5270
|
},
|
|
5225
5271
|
i
|
|
5226
5272
|
);
|
|
5227
5273
|
}) }),
|
|
5228
|
-
items.length > 1 && /* @__PURE__ */
|
|
5274
|
+
items.length > 1 && /* @__PURE__ */ jsx43(
|
|
5229
5275
|
"div",
|
|
5230
5276
|
{
|
|
5231
5277
|
className: "testimonial__dots",
|
|
5232
5278
|
role: "tablist",
|
|
5233
5279
|
"aria-label": "Testimonial navigation",
|
|
5234
|
-
children: items.map((_, i) => /* @__PURE__ */
|
|
5280
|
+
children: items.map((_, i) => /* @__PURE__ */ jsx43(
|
|
5235
5281
|
"button",
|
|
5236
5282
|
{
|
|
5237
5283
|
role: "tab",
|
|
@@ -5257,8 +5303,8 @@ var Testimonial = ({
|
|
|
5257
5303
|
};
|
|
5258
5304
|
|
|
5259
5305
|
// templates/ArticleHero/ArticleHero.tsx
|
|
5260
|
-
import { jsx as
|
|
5261
|
-
var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */
|
|
5306
|
+
import { jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
5307
|
+
var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */ jsx44("div", { className: "bh-listItem", children: /* @__PURE__ */ jsx44(
|
|
5262
5308
|
Card,
|
|
5263
5309
|
{
|
|
5264
5310
|
variant: "thumbnail",
|
|
@@ -5274,12 +5320,12 @@ var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */ jsx43(
|
|
|
5274
5320
|
hideAvatar: true
|
|
5275
5321
|
}
|
|
5276
5322
|
) });
|
|
5277
|
-
var ColumnSection = ({ column, showThumbnails = false }) => /* @__PURE__ */
|
|
5278
|
-
column.label && /* @__PURE__ */
|
|
5279
|
-
/* @__PURE__ */
|
|
5280
|
-
/* @__PURE__ */
|
|
5323
|
+
var ColumnSection = ({ column, showThumbnails = false }) => /* @__PURE__ */ jsxs40("div", { className: "bh-column", children: [
|
|
5324
|
+
column.label && /* @__PURE__ */ jsxs40("div", { className: "bh-columnHeader", children: [
|
|
5325
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLabel", children: column.label }),
|
|
5326
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLine" })
|
|
5281
5327
|
] }),
|
|
5282
|
-
/* @__PURE__ */
|
|
5328
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-columnList", children: column.articles.map((article, i) => /* @__PURE__ */ jsx44(ArticleCard, { article, showThumbnail: showThumbnails }, i)) })
|
|
5283
5329
|
] });
|
|
5284
5330
|
var ArticleHero = ({
|
|
5285
5331
|
featured,
|
|
@@ -5288,79 +5334,79 @@ var ArticleHero = ({
|
|
|
5288
5334
|
rightColumn,
|
|
5289
5335
|
className
|
|
5290
5336
|
}) => {
|
|
5291
|
-
return /* @__PURE__ */
|
|
5292
|
-
/* @__PURE__ */
|
|
5293
|
-
/* @__PURE__ */
|
|
5294
|
-
/* @__PURE__ */
|
|
5295
|
-
/* @__PURE__ */
|
|
5296
|
-
/* @__PURE__ */
|
|
5337
|
+
return /* @__PURE__ */ jsxs40("section", { className: ["bh-root", className ?? ""].filter(Boolean).join(" "), children: [
|
|
5338
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-desktop", children: [
|
|
5339
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-desktopHeader", children: [
|
|
5340
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-headerLeft", children: leftColumn.label && /* @__PURE__ */ jsxs40("div", { className: "bh-columnHeader", children: [
|
|
5341
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLabel", children: leftColumn.label }),
|
|
5342
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLine" })
|
|
5297
5343
|
] }) }),
|
|
5298
|
-
/* @__PURE__ */
|
|
5299
|
-
/* @__PURE__ */
|
|
5300
|
-
/* @__PURE__ */
|
|
5344
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-headerRight", children: rightColumn.label && /* @__PURE__ */ jsxs40("div", { className: "bh-columnHeader", children: [
|
|
5345
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLabel", children: rightColumn.label }),
|
|
5346
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-columnLine" })
|
|
5301
5347
|
] }) })
|
|
5302
5348
|
] }),
|
|
5303
|
-
/* @__PURE__ */
|
|
5304
|
-
/* @__PURE__ */
|
|
5305
|
-
/* @__PURE__ */
|
|
5306
|
-
/* @__PURE__ */
|
|
5307
|
-
/* @__PURE__ */
|
|
5308
|
-
/* @__PURE__ */
|
|
5309
|
-
/* @__PURE__ */
|
|
5310
|
-
featured.summary && /* @__PURE__ */
|
|
5311
|
-
featured.tags && featured.tags.length > 0 && /* @__PURE__ */
|
|
5312
|
-
i > 0 && /* @__PURE__ */
|
|
5313
|
-
/* @__PURE__ */
|
|
5349
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-desktopBody", children: [
|
|
5350
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-sidebar bh-sidebarLeft", children: /* @__PURE__ */ jsx44(ColumnSection, { column: { ...leftColumn, label: void 0 }, showThumbnails: true }) }),
|
|
5351
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-divider" }),
|
|
5352
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-center", children: [
|
|
5353
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-featured", children: [
|
|
5354
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-featuredInfo", children: [
|
|
5355
|
+
/* @__PURE__ */ jsx44("h2", { className: "bh-featuredTitle", children: featured.title }),
|
|
5356
|
+
featured.summary && /* @__PURE__ */ jsx44("p", { className: "bh-featuredSummary", children: featured.summary }),
|
|
5357
|
+
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-featuredTags", children: featured.tags.map((tag, i) => /* @__PURE__ */ jsxs40("span", { className: "bh-tagItem", children: [
|
|
5358
|
+
i > 0 && /* @__PURE__ */ jsx44("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5359
|
+
/* @__PURE__ */ jsx44(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5314
5360
|
] }, i)) })
|
|
5315
5361
|
] }),
|
|
5316
|
-
featured.thumbnail && /* @__PURE__ */
|
|
5362
|
+
featured.thumbnail && /* @__PURE__ */ jsx44("div", { className: "bh-featuredImage", children: /* @__PURE__ */ jsx44("img", { alt: featured.thumbnailAlt ?? "", className: "bh-featuredImg", src: featured.thumbnail }) })
|
|
5317
5363
|
] }),
|
|
5318
|
-
featuredFooter.length > 0 && /* @__PURE__ */
|
|
5319
|
-
i > 0 && /* @__PURE__ */
|
|
5320
|
-
/* @__PURE__ */
|
|
5321
|
-
/* @__PURE__ */
|
|
5322
|
-
article.tags && article.tags.length > 0 && /* @__PURE__ */
|
|
5323
|
-
j > 0 && /* @__PURE__ */
|
|
5324
|
-
/* @__PURE__ */
|
|
5364
|
+
featuredFooter.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-featuredFooter", children: featuredFooter.map((article, i) => /* @__PURE__ */ jsxs40("div", { className: "bh-footerItem", children: [
|
|
5365
|
+
i > 0 && /* @__PURE__ */ jsx44("span", { className: "bh-footerDivider" }),
|
|
5366
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-footerContent", children: [
|
|
5367
|
+
/* @__PURE__ */ jsx44("p", { className: "bh-footerTitle", children: article.title }),
|
|
5368
|
+
article.tags && article.tags.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-listItemTags", children: article.tags.map((tag, j) => /* @__PURE__ */ jsxs40("span", { className: "bh-tagItem", children: [
|
|
5369
|
+
j > 0 && /* @__PURE__ */ jsx44("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5370
|
+
/* @__PURE__ */ jsx44(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5325
5371
|
] }, j)) })
|
|
5326
5372
|
] })
|
|
5327
5373
|
] }, i)) })
|
|
5328
5374
|
] }),
|
|
5329
|
-
/* @__PURE__ */
|
|
5330
|
-
/* @__PURE__ */
|
|
5375
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-divider" }),
|
|
5376
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-sidebar bh-sidebarRight", children: /* @__PURE__ */ jsx44(ColumnSection, { column: { ...rightColumn, label: void 0 } }) })
|
|
5331
5377
|
] })
|
|
5332
5378
|
] }),
|
|
5333
|
-
/* @__PURE__ */
|
|
5334
|
-
/* @__PURE__ */
|
|
5335
|
-
/* @__PURE__ */
|
|
5336
|
-
/* @__PURE__ */
|
|
5337
|
-
/* @__PURE__ */
|
|
5338
|
-
featured.summary && /* @__PURE__ */
|
|
5339
|
-
featured.tags && featured.tags.length > 0 && /* @__PURE__ */
|
|
5340
|
-
i > 0 && /* @__PURE__ */
|
|
5341
|
-
/* @__PURE__ */
|
|
5379
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-mobile", children: [
|
|
5380
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-mobileFeatured", children: [
|
|
5381
|
+
/* @__PURE__ */ jsx44("span", { className: "bh-mobileLabel", children: leftColumn.label ?? "Trending stories" }),
|
|
5382
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-featuredInfo", children: [
|
|
5383
|
+
/* @__PURE__ */ jsx44("h2", { className: "bh-featuredTitle", children: featured.title }),
|
|
5384
|
+
featured.summary && /* @__PURE__ */ jsx44("p", { className: "bh-featuredSummary", children: featured.summary }),
|
|
5385
|
+
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-featuredTags", children: featured.tags.map((tag, i) => /* @__PURE__ */ jsxs40("span", { className: "bh-tagItem", children: [
|
|
5386
|
+
i > 0 && /* @__PURE__ */ jsx44("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5387
|
+
/* @__PURE__ */ jsx44(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5342
5388
|
] }, i)) })
|
|
5343
5389
|
] }),
|
|
5344
|
-
featured.thumbnail && /* @__PURE__ */
|
|
5345
|
-
featuredFooter.length > 0 && /* @__PURE__ */
|
|
5346
|
-
i > 0 && /* @__PURE__ */
|
|
5347
|
-
/* @__PURE__ */
|
|
5348
|
-
/* @__PURE__ */
|
|
5349
|
-
article.tags && article.tags.length > 0 && /* @__PURE__ */
|
|
5350
|
-
j > 0 && /* @__PURE__ */
|
|
5351
|
-
/* @__PURE__ */
|
|
5390
|
+
featured.thumbnail && /* @__PURE__ */ jsx44("div", { className: "bh-mobileFeaturedImage", children: /* @__PURE__ */ jsx44("img", { alt: featured.thumbnailAlt ?? "", className: "bh-featuredImg", src: featured.thumbnail }) }),
|
|
5391
|
+
featuredFooter.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-featuredFooter", children: featuredFooter.map((article, i) => /* @__PURE__ */ jsxs40("div", { className: "bh-footerItem", children: [
|
|
5392
|
+
i > 0 && /* @__PURE__ */ jsx44("span", { className: "bh-footerDivider" }),
|
|
5393
|
+
/* @__PURE__ */ jsxs40("div", { className: "bh-footerContent", children: [
|
|
5394
|
+
/* @__PURE__ */ jsx44("p", { className: "bh-footerTitle", children: article.title }),
|
|
5395
|
+
article.tags && article.tags.length > 0 && /* @__PURE__ */ jsx44("div", { className: "bh-listItemTags", children: article.tags.map((tag, j) => /* @__PURE__ */ jsxs40("span", { className: "bh-tagItem", children: [
|
|
5396
|
+
j > 0 && /* @__PURE__ */ jsx44("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5397
|
+
/* @__PURE__ */ jsx44(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5352
5398
|
] }, j)) })
|
|
5353
5399
|
] })
|
|
5354
5400
|
] }, i)) })
|
|
5355
5401
|
] }),
|
|
5356
|
-
/* @__PURE__ */
|
|
5357
|
-
/* @__PURE__ */
|
|
5402
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-mobileSection", children: /* @__PURE__ */ jsx44(ColumnSection, { column: { ...leftColumn, label: void 0 }, showThumbnails: true }) }),
|
|
5403
|
+
/* @__PURE__ */ jsx44("div", { className: "bh-mobileSection", children: /* @__PURE__ */ jsx44(ColumnSection, { column: rightColumn }) })
|
|
5358
5404
|
] })
|
|
5359
5405
|
] });
|
|
5360
5406
|
};
|
|
5361
5407
|
|
|
5362
5408
|
// templates/ArticleSection/ArticleSection.tsx
|
|
5363
|
-
import { Fragment as Fragment6, jsx as
|
|
5409
|
+
import { Fragment as Fragment6, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
5364
5410
|
var ArticleSection = ({
|
|
5365
5411
|
variant = "featured",
|
|
5366
5412
|
sectionTitle,
|
|
@@ -5376,14 +5422,14 @@ var ArticleSection = ({
|
|
|
5376
5422
|
const midpoint = Math.ceil(articles.length / 2);
|
|
5377
5423
|
const col2 = articles.slice(0, midpoint);
|
|
5378
5424
|
const col3 = articles.slice(midpoint);
|
|
5379
|
-
return /* @__PURE__ */
|
|
5380
|
-
/* @__PURE__ */
|
|
5381
|
-
/* @__PURE__ */
|
|
5382
|
-
linkText && /* @__PURE__ */
|
|
5425
|
+
return /* @__PURE__ */ jsxs41("section", { className: rootClass, children: [
|
|
5426
|
+
/* @__PURE__ */ jsxs41("div", { className: "as-header", children: [
|
|
5427
|
+
/* @__PURE__ */ jsx45("h2", { className: "as-title", children: sectionTitle }),
|
|
5428
|
+
linkText && /* @__PURE__ */ jsx45(Link, { colorScheme: "coral", label: linkText, onClick: onLinkClick })
|
|
5383
5429
|
] }),
|
|
5384
|
-
/* @__PURE__ */
|
|
5385
|
-
!isShowcase && !isGrid && featured && /* @__PURE__ */
|
|
5386
|
-
/* @__PURE__ */
|
|
5430
|
+
/* @__PURE__ */ jsxs41("div", { className: "as-desktop", children: [
|
|
5431
|
+
!isShowcase && !isGrid && featured && /* @__PURE__ */ jsxs41(Fragment6, { children: [
|
|
5432
|
+
/* @__PURE__ */ jsx45("div", { className: "as-featuredRow", children: /* @__PURE__ */ jsx45(
|
|
5387
5433
|
Card,
|
|
5388
5434
|
{
|
|
5389
5435
|
variant: "thumbnail",
|
|
@@ -5399,7 +5445,7 @@ var ArticleSection = ({
|
|
|
5399
5445
|
hideAvatar: true
|
|
5400
5446
|
}
|
|
5401
5447
|
) }),
|
|
5402
|
-
/* @__PURE__ */
|
|
5448
|
+
/* @__PURE__ */ jsx45("div", { className: "as-grid", children: articles.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-gridItem", children: /* @__PURE__ */ jsx45(
|
|
5403
5449
|
Card,
|
|
5404
5450
|
{
|
|
5405
5451
|
variant: "thumbnail",
|
|
@@ -5416,7 +5462,7 @@ var ArticleSection = ({
|
|
|
5416
5462
|
}
|
|
5417
5463
|
) }, i)) })
|
|
5418
5464
|
] }),
|
|
5419
|
-
isGrid && /* @__PURE__ */
|
|
5465
|
+
isGrid && /* @__PURE__ */ jsx45("div", { className: "as-grid", children: articles.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-gridItem", children: /* @__PURE__ */ jsx45(
|
|
5420
5466
|
Card,
|
|
5421
5467
|
{
|
|
5422
5468
|
variant: "thumbnail",
|
|
@@ -5432,8 +5478,8 @@ var ArticleSection = ({
|
|
|
5432
5478
|
hideAvatar: true
|
|
5433
5479
|
}
|
|
5434
5480
|
) }, i)) }),
|
|
5435
|
-
isShowcase && /* @__PURE__ */
|
|
5436
|
-
/* @__PURE__ */
|
|
5481
|
+
isShowcase && /* @__PURE__ */ jsxs41("div", { className: "as-showcaseGrid", children: [
|
|
5482
|
+
/* @__PURE__ */ jsx45("div", { className: "as-showcaseFeatured", children: featured && /* @__PURE__ */ jsx45(
|
|
5437
5483
|
Card,
|
|
5438
5484
|
{
|
|
5439
5485
|
variant: "thumbnail",
|
|
@@ -5449,7 +5495,7 @@ var ArticleSection = ({
|
|
|
5449
5495
|
hideAvatar: true
|
|
5450
5496
|
}
|
|
5451
5497
|
) }),
|
|
5452
|
-
/* @__PURE__ */
|
|
5498
|
+
/* @__PURE__ */ jsx45("div", { className: "as-showcaseCol", children: col2.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-showcaseItem", children: /* @__PURE__ */ jsx45(
|
|
5453
5499
|
Card,
|
|
5454
5500
|
{
|
|
5455
5501
|
variant: "thumbnail",
|
|
@@ -5465,7 +5511,7 @@ var ArticleSection = ({
|
|
|
5465
5511
|
hideAvatar: true
|
|
5466
5512
|
}
|
|
5467
5513
|
) }, i)) }),
|
|
5468
|
-
/* @__PURE__ */
|
|
5514
|
+
/* @__PURE__ */ jsx45("div", { className: "as-showcaseCol", children: col3.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-showcaseItem", children: /* @__PURE__ */ jsx45(
|
|
5469
5515
|
Card,
|
|
5470
5516
|
{
|
|
5471
5517
|
variant: "thumbnail",
|
|
@@ -5483,8 +5529,8 @@ var ArticleSection = ({
|
|
|
5483
5529
|
) }, i)) })
|
|
5484
5530
|
] })
|
|
5485
5531
|
] }),
|
|
5486
|
-
/* @__PURE__ */
|
|
5487
|
-
!isGrid && featured && /* @__PURE__ */
|
|
5532
|
+
/* @__PURE__ */ jsxs41("div", { className: isGrid ? "as-mobile-grid" : "as-mobile", children: [
|
|
5533
|
+
!isGrid && featured && /* @__PURE__ */ jsx45("div", { className: "as-mobileFeatured", children: /* @__PURE__ */ jsx45(
|
|
5488
5534
|
Card,
|
|
5489
5535
|
{
|
|
5490
5536
|
variant: "thumbnail",
|
|
@@ -5500,7 +5546,7 @@ var ArticleSection = ({
|
|
|
5500
5546
|
hideAvatar: true
|
|
5501
5547
|
}
|
|
5502
5548
|
) }),
|
|
5503
|
-
!isGrid && /* @__PURE__ */
|
|
5549
|
+
!isGrid && /* @__PURE__ */ jsx45("div", { className: "as-mobileList", children: articles.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-mobileListItem", children: /* @__PURE__ */ jsx45(
|
|
5504
5550
|
Card,
|
|
5505
5551
|
{
|
|
5506
5552
|
variant: "thumbnail",
|
|
@@ -5516,7 +5562,7 @@ var ArticleSection = ({
|
|
|
5516
5562
|
hideAvatar: true
|
|
5517
5563
|
}
|
|
5518
5564
|
) }, i)) }),
|
|
5519
|
-
isGrid && /* @__PURE__ */
|
|
5565
|
+
isGrid && /* @__PURE__ */ jsx45("div", { className: "as-mobileScroll", children: articles.map((article, i) => /* @__PURE__ */ jsx45("div", { className: "as-mobileScrollItem", children: /* @__PURE__ */ jsx45(
|
|
5520
5566
|
Card,
|
|
5521
5567
|
{
|
|
5522
5568
|
variant: "thumbnail",
|
|
@@ -5560,6 +5606,7 @@ export {
|
|
|
5560
5606
|
FeatureCards,
|
|
5561
5607
|
FeatureCardsIcon,
|
|
5562
5608
|
FeatureScroll,
|
|
5609
|
+
FeatureSplit,
|
|
5563
5610
|
Footer,
|
|
5564
5611
|
Header,
|
|
5565
5612
|
Hero,
|