@geowiki/design-system 0.16.20 → 0.16.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +109 -48
- package/dist/index.mjs +343 -282
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2098,26 +2098,33 @@ Slider.displayName = SliderPrimitive.Root.displayName;
|
|
|
2098
2098
|
// src/components/ui/switch.tsx
|
|
2099
2099
|
import * as React26 from "react";
|
|
2100
2100
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
2101
|
-
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
2101
|
+
import { jsx as jsx29, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2102
2102
|
var Switch = React26.forwardRef((_a, ref) => {
|
|
2103
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2104
|
-
return /* @__PURE__ */
|
|
2103
|
+
var _b = _a, { className, activeLabel, labels } = _b, props = __objRest(_b, ["className", "activeLabel", "labels"]);
|
|
2104
|
+
return /* @__PURE__ */ jsxs13(
|
|
2105
2105
|
SwitchPrimitives.Root,
|
|
2106
2106
|
__spreadProps(__spreadValues({
|
|
2107
2107
|
className: cn(
|
|
2108
|
-
|
|
2108
|
+
`group relative peer inline-flex ${labels && labels.length > 0 ? `h-12 w-48` : `h-[24px] w-[44px]`} shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 ${activeLabel || labels && labels.length > 1 ? "bg-primary" : "data-[state=checked]:bg-primary data-[state=unchecked]:bg-input"}`,
|
|
2109
2109
|
className
|
|
2110
2110
|
)
|
|
2111
2111
|
}, props), {
|
|
2112
2112
|
ref,
|
|
2113
|
-
children:
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
className:
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2113
|
+
children: [
|
|
2114
|
+
activeLabel && labels && labels.length > 0 ? /* @__PURE__ */ jsxs13("div", { className: "absolute inset-0 flex items-center justify-between px-4 z-10 pointer-events-none", children: [
|
|
2115
|
+
/* @__PURE__ */ jsx29("span", { className: "w-16 text-center text-[15px] select-none transition-colors duration-200\n group-data-[state=checked]:text-primary group-data-[state=unchecked]:text-secondary\n group-data-[state=checked]:font-semibold group-data-[state=unchecked]:font-normal", children: labels[0] }),
|
|
2116
|
+
/* @__PURE__ */ jsx29("span", { className: "w-16 text-center text-[15px] select-none transition-colors duration-200\n group-data-[state=unchecked]:text-primary group-data-[state=checked]:text-secondary\n group-data-[state=unchecked]:font-semibold group-data-[state=checked]:font-normal", children: labels[1] })
|
|
2117
|
+
] }) : null,
|
|
2118
|
+
/* @__PURE__ */ jsx29(
|
|
2119
|
+
SwitchPrimitives.Thumb,
|
|
2120
|
+
{
|
|
2121
|
+
className: cn(
|
|
2122
|
+
`pointer-events-none relative block z-0 ${activeLabel && labels && labels.length > 1 ? `h-10 w-24 translate-x-[92px] group-data-[state=checked]:translate-x-1
|
|
2123
|
+
bg-secondary` : `h-5 w-5 bg-background data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0`} rounded-full shadow-lg ring-0 transition-transform duration-300`
|
|
2124
|
+
)
|
|
2125
|
+
}
|
|
2126
|
+
)
|
|
2127
|
+
]
|
|
2121
2128
|
})
|
|
2122
2129
|
);
|
|
2123
2130
|
});
|
|
@@ -2528,14 +2535,14 @@ function useToast() {
|
|
|
2528
2535
|
}
|
|
2529
2536
|
|
|
2530
2537
|
// src/components/ui/toaster.tsx
|
|
2531
|
-
import { jsx as jsx36, jsxs as
|
|
2538
|
+
import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2532
2539
|
function Toaster() {
|
|
2533
2540
|
const { toasts } = useToast();
|
|
2534
|
-
return /* @__PURE__ */
|
|
2541
|
+
return /* @__PURE__ */ jsxs14(ToastProvider, { children: [
|
|
2535
2542
|
toasts.map(function(_a) {
|
|
2536
2543
|
var _b = _a, { id, title, description, action } = _b, props = __objRest(_b, ["id", "title", "description", "action"]);
|
|
2537
|
-
return /* @__PURE__ */
|
|
2538
|
-
/* @__PURE__ */
|
|
2544
|
+
return /* @__PURE__ */ jsxs14(Toast, __spreadProps(__spreadValues({}, props), { children: [
|
|
2545
|
+
/* @__PURE__ */ jsxs14("div", { className: "grid gap-1", children: [
|
|
2539
2546
|
title && /* @__PURE__ */ jsx36(ToastTitle, { children: title }),
|
|
2540
2547
|
description && /* @__PURE__ */ jsx36(ToastDescription, { children: description })
|
|
2541
2548
|
] }),
|
|
@@ -3281,9 +3288,9 @@ var GlobeIcon = (_a) => {
|
|
|
3281
3288
|
};
|
|
3282
3289
|
|
|
3283
3290
|
// src/components/Icons/MapIcons/Download.tsx
|
|
3284
|
-
import { jsx as jsx68, jsxs as
|
|
3291
|
+
import { jsx as jsx68, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3285
3292
|
var DownloadIcon = () => {
|
|
3286
|
-
return /* @__PURE__ */
|
|
3293
|
+
return /* @__PURE__ */ jsxs15(
|
|
3287
3294
|
"svg",
|
|
3288
3295
|
{
|
|
3289
3296
|
width: "40",
|
|
@@ -3306,10 +3313,10 @@ var DownloadIcon = () => {
|
|
|
3306
3313
|
};
|
|
3307
3314
|
|
|
3308
3315
|
// src/components/Icons/MapIcons/FarmerClusterPin.tsx
|
|
3309
|
-
import { jsx as jsx69, jsxs as
|
|
3316
|
+
import { jsx as jsx69, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3310
3317
|
var FarmerClusterPin = (_a) => {
|
|
3311
3318
|
var props = __objRest(_a, []);
|
|
3312
|
-
return /* @__PURE__ */
|
|
3319
|
+
return /* @__PURE__ */ jsxs16(
|
|
3313
3320
|
"svg",
|
|
3314
3321
|
__spreadProps(__spreadValues({}, props), {
|
|
3315
3322
|
width: 40,
|
|
@@ -3356,10 +3363,10 @@ var Hexagon = (_a) => {
|
|
|
3356
3363
|
};
|
|
3357
3364
|
|
|
3358
3365
|
// src/components/Icons/MapIcons/ObservationPin.tsx
|
|
3359
|
-
import { jsx as jsx71, jsxs as
|
|
3366
|
+
import { jsx as jsx71, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3360
3367
|
var ObservationPin = (_a) => {
|
|
3361
3368
|
var props = __objRest(_a, []);
|
|
3362
|
-
return /* @__PURE__ */
|
|
3369
|
+
return /* @__PURE__ */ jsxs17(
|
|
3363
3370
|
"svg",
|
|
3364
3371
|
__spreadProps(__spreadValues({}, props), {
|
|
3365
3372
|
width: 40,
|
|
@@ -3396,9 +3403,9 @@ var IconPaths = [
|
|
|
3396
3403
|
];
|
|
3397
3404
|
|
|
3398
3405
|
// src/components/Icons/MapIcons/Legend.tsx
|
|
3399
|
-
import { jsx as jsx72, jsxs as
|
|
3406
|
+
import { jsx as jsx72, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3400
3407
|
var MapLegendIcon = () => {
|
|
3401
|
-
return /* @__PURE__ */
|
|
3408
|
+
return /* @__PURE__ */ jsxs18(
|
|
3402
3409
|
"svg",
|
|
3403
3410
|
{
|
|
3404
3411
|
width: "40",
|
|
@@ -3456,9 +3463,9 @@ var MapLegendIcon = () => {
|
|
|
3456
3463
|
};
|
|
3457
3464
|
|
|
3458
3465
|
// src/components/Icons/MapIcons/LocationIcon.tsx
|
|
3459
|
-
import { jsx as jsx73, jsxs as
|
|
3466
|
+
import { jsx as jsx73, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3460
3467
|
var LocationIcon = ({ Icon: Icon4, color }) => {
|
|
3461
|
-
return /* @__PURE__ */
|
|
3468
|
+
return /* @__PURE__ */ jsxs19("div", { className: "relative w-10 h-10 flex items-center justify-center", children: [
|
|
3462
3469
|
/* @__PURE__ */ jsx73(
|
|
3463
3470
|
"svg",
|
|
3464
3471
|
{
|
|
@@ -3493,9 +3500,9 @@ var LocationIcon = ({ Icon: Icon4, color }) => {
|
|
|
3493
3500
|
};
|
|
3494
3501
|
|
|
3495
3502
|
// src/components/Icons/MapIcons/MapIcon.tsx
|
|
3496
|
-
import { jsx as jsx74, jsxs as
|
|
3503
|
+
import { jsx as jsx74, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3497
3504
|
var MapIcon = ({ Icon: Icon4, color }) => {
|
|
3498
|
-
return /* @__PURE__ */
|
|
3505
|
+
return /* @__PURE__ */ jsxs20("div", { className: "relative w-10 h-10 flex items-center justify-center", children: [
|
|
3499
3506
|
/* @__PURE__ */ jsx74(
|
|
3500
3507
|
"svg",
|
|
3501
3508
|
{
|
|
@@ -3553,9 +3560,9 @@ var Microscope = (_a) => {
|
|
|
3553
3560
|
};
|
|
3554
3561
|
|
|
3555
3562
|
// src/components/Icons/MapIcons/Overlay.tsx
|
|
3556
|
-
import { jsx as jsx76, jsxs as
|
|
3563
|
+
import { jsx as jsx76, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3557
3564
|
var OverlayIcon = () => {
|
|
3558
|
-
return /* @__PURE__ */
|
|
3565
|
+
return /* @__PURE__ */ jsxs21(
|
|
3559
3566
|
"svg",
|
|
3560
3567
|
{
|
|
3561
3568
|
width: "40",
|
|
@@ -3612,7 +3619,7 @@ import {
|
|
|
3612
3619
|
ChevronDoubleLeftIcon,
|
|
3613
3620
|
ChevronDoubleRightIcon
|
|
3614
3621
|
} from "@heroicons/react/24/solid";
|
|
3615
|
-
import { jsx as jsx78, jsxs as
|
|
3622
|
+
import { jsx as jsx78, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3616
3623
|
var Pagination = ({
|
|
3617
3624
|
pageCount,
|
|
3618
3625
|
table
|
|
@@ -3637,7 +3644,7 @@ var Pagination = ({
|
|
|
3637
3644
|
v4()
|
|
3638
3645
|
);
|
|
3639
3646
|
};
|
|
3640
|
-
return /* @__PURE__ */
|
|
3647
|
+
return /* @__PURE__ */ jsxs22("section", { className: "pagination flex items-center space-x-1", children: [
|
|
3641
3648
|
/* @__PURE__ */ jsx78(
|
|
3642
3649
|
Button,
|
|
3643
3650
|
{
|
|
@@ -3664,7 +3671,7 @@ var Pagination = ({
|
|
|
3664
3671
|
children: /* @__PURE__ */ jsx78(ChevronLeftIcon2, { width: 24, height: 24 })
|
|
3665
3672
|
}
|
|
3666
3673
|
),
|
|
3667
|
-
/* @__PURE__ */
|
|
3674
|
+
/* @__PURE__ */ jsxs22("div", { className: "block pr-2 pl-2 lg:hidden", children: [
|
|
3668
3675
|
table.getState().pagination.pageIndex,
|
|
3669
3676
|
" / ",
|
|
3670
3677
|
pageCount
|
|
@@ -3704,7 +3711,7 @@ var Pagination = ({
|
|
|
3704
3711
|
};
|
|
3705
3712
|
|
|
3706
3713
|
// src/components/Shared/CustomTable.tsx
|
|
3707
|
-
import { jsx as jsx79, jsxs as
|
|
3714
|
+
import { jsx as jsx79, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3708
3715
|
var TableView = ({
|
|
3709
3716
|
table,
|
|
3710
3717
|
totalCount,
|
|
@@ -3757,13 +3764,13 @@ var TableView = ({
|
|
|
3757
3764
|
return /* @__PURE__ */ jsx79("section", { className: "p-3 flex justify-center", children: /* @__PURE__ */ jsx79("h3", { className: "leading-3 text-base-content", children: "No Records Found" }) });
|
|
3758
3765
|
}
|
|
3759
3766
|
const pageCount = Math.ceil(totalCount / pageSize);
|
|
3760
|
-
return /* @__PURE__ */
|
|
3761
|
-
/* @__PURE__ */ jsx79("section", { className: "overflow-auto", children: /* @__PURE__ */
|
|
3767
|
+
return /* @__PURE__ */ jsxs23("section", { children: [
|
|
3768
|
+
/* @__PURE__ */ jsx79("section", { className: "overflow-auto", children: /* @__PURE__ */ jsxs23("table", { className: "w-full divide-y text-left divide-base-200 table-auto sm:overflow-x-auto lg:table-fixed text-base-content", children: [
|
|
3762
3769
|
/* @__PURE__ */ jsx79("thead", { children: renderHeader() }),
|
|
3763
3770
|
/* @__PURE__ */ jsx79("tbody", { children: renderBody() })
|
|
3764
3771
|
] }) }),
|
|
3765
|
-
/* @__PURE__ */
|
|
3766
|
-
/* @__PURE__ */
|
|
3772
|
+
/* @__PURE__ */ jsxs23("div", { className: "border-t p-5 flex flex-col lg:items-center lg:flex-row", children: [
|
|
3773
|
+
/* @__PURE__ */ jsxs23("div", { className: "flex-grow text-base-content pb-2", children: [
|
|
3767
3774
|
totalCount,
|
|
3768
3775
|
" total"
|
|
3769
3776
|
] }),
|
|
@@ -3853,12 +3860,12 @@ var Label6 = forwardRef33((_a, ref) => {
|
|
|
3853
3860
|
Label6.displayName = LabelPrimitive2.Root.displayName;
|
|
3854
3861
|
|
|
3855
3862
|
// src/components/Shared/Input.tsx
|
|
3856
|
-
import { jsx as jsx84, jsxs as
|
|
3863
|
+
import { jsx as jsx84, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3857
3864
|
var Input2 = forwardRef34(
|
|
3858
3865
|
(_a, ref) => {
|
|
3859
3866
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3860
3867
|
const { label, errMessage, id } = props;
|
|
3861
|
-
return /* @__PURE__ */
|
|
3868
|
+
return /* @__PURE__ */ jsxs24("section", { className: "grid w-full items-center gap-1.5", children: [
|
|
3862
3869
|
label && /* @__PURE__ */ jsx84(Label6, { htmlFor: id, className: "text-primary", children: label }),
|
|
3863
3870
|
/* @__PURE__ */ jsx84(
|
|
3864
3871
|
"input",
|
|
@@ -3924,12 +3931,12 @@ import * as DropdownMenuPrimitive2 from "@radix-ui/react-dropdown-menu";
|
|
|
3924
3931
|
import { CheckIcon, ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
|
|
3925
3932
|
import React34 from "react";
|
|
3926
3933
|
import { DotFilledIcon } from "@radix-ui/react-icons";
|
|
3927
|
-
import { jsx as jsx86, jsxs as
|
|
3934
|
+
import { jsx as jsx86, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3928
3935
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
3929
3936
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
3930
3937
|
var DropdownMenuSubTrigger2 = React34.forwardRef((_a, ref) => {
|
|
3931
3938
|
var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
|
|
3932
|
-
return /* @__PURE__ */
|
|
3939
|
+
return /* @__PURE__ */ jsxs25(
|
|
3933
3940
|
DropdownMenuPrimitive2.SubTrigger,
|
|
3934
3941
|
__spreadProps(__spreadValues({
|
|
3935
3942
|
ref,
|
|
@@ -3994,7 +4001,7 @@ var DropdownMenuItem2 = React34.forwardRef((_a, ref) => {
|
|
|
3994
4001
|
DropdownMenuItem2.displayName = DropdownMenuPrimitive2.Item.displayName;
|
|
3995
4002
|
var DropdownMenuCheckboxItem2 = React34.forwardRef((_a, ref) => {
|
|
3996
4003
|
var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
|
|
3997
|
-
return /* @__PURE__ */
|
|
4004
|
+
return /* @__PURE__ */ jsxs25(
|
|
3998
4005
|
DropdownMenuPrimitive2.CheckboxItem,
|
|
3999
4006
|
__spreadProps(__spreadValues({
|
|
4000
4007
|
ref,
|
|
@@ -4014,7 +4021,7 @@ var DropdownMenuCheckboxItem2 = React34.forwardRef((_a, ref) => {
|
|
|
4014
4021
|
DropdownMenuCheckboxItem2.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
|
|
4015
4022
|
var DropdownMenuRadioItem2 = React34.forwardRef((_a, ref) => {
|
|
4016
4023
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
4017
|
-
return /* @__PURE__ */
|
|
4024
|
+
return /* @__PURE__ */ jsxs25(
|
|
4018
4025
|
DropdownMenuPrimitive2.RadioItem,
|
|
4019
4026
|
__spreadProps(__spreadValues({
|
|
4020
4027
|
ref,
|
|
@@ -4073,7 +4080,7 @@ var DropdownMenuShortcut2 = (_a) => {
|
|
|
4073
4080
|
DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
|
|
4074
4081
|
|
|
4075
4082
|
// src/components/Shared/ThemeChanger.tsx
|
|
4076
|
-
import { jsx as jsx87, jsxs as
|
|
4083
|
+
import { jsx as jsx87, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
4077
4084
|
var themes = ["light", "dark", "cupcake", "dracula"];
|
|
4078
4085
|
var ThemeSwitcher = () => {
|
|
4079
4086
|
const [currTheme, setCurrTheme] = useState4("");
|
|
@@ -4093,8 +4100,8 @@ var ThemeSwitcher = () => {
|
|
|
4093
4100
|
if (selectedTheme === null) return "light";
|
|
4094
4101
|
return selectedTheme;
|
|
4095
4102
|
};
|
|
4096
|
-
return /* @__PURE__ */
|
|
4097
|
-
/* @__PURE__ */ jsx87(DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ jsx87(Button, { size: "sm", variant: "default", className: "w-[6rem]", children: /* @__PURE__ */
|
|
4103
|
+
return /* @__PURE__ */ jsxs26(DropdownMenu2, { children: [
|
|
4104
|
+
/* @__PURE__ */ jsx87(DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ jsx87(Button, { size: "sm", variant: "default", className: "w-[6rem]", children: /* @__PURE__ */ jsxs26("span", { className: "w-full inline-flex items-center justify-between", children: [
|
|
4098
4105
|
/* @__PURE__ */ jsx87(Palette, { width: 16, height: 16 }),
|
|
4099
4106
|
/* @__PURE__ */ jsx87("span", { className: "capitalize", children: "Theme" })
|
|
4100
4107
|
] }) }) }),
|
|
@@ -4103,7 +4110,7 @@ var ThemeSwitcher = () => {
|
|
|
4103
4110
|
{
|
|
4104
4111
|
variant: t === currTheme ? "default" : "secondary",
|
|
4105
4112
|
onClick: () => updateThemeSettings(t),
|
|
4106
|
-
children: /* @__PURE__ */
|
|
4113
|
+
children: /* @__PURE__ */ jsxs26("span", { className: "w-full inline-flex items-center justify-between", children: [
|
|
4107
4114
|
t === currTheme ? /* @__PURE__ */ jsx87(Check6, { width: 16, height: 16 }) : /* @__PURE__ */ jsx87(BoxSelect, { width: 16, height: 16 }),
|
|
4108
4115
|
/* @__PURE__ */ jsx87("span", { className: "capitalize", children: t })
|
|
4109
4116
|
] })
|
|
@@ -4115,14 +4122,14 @@ var ThemeChanger_default = ThemeSwitcher;
|
|
|
4115
4122
|
|
|
4116
4123
|
// src/components/Input/Input.tsx
|
|
4117
4124
|
import classNames from "classnames";
|
|
4118
|
-
import { jsx as jsx88, jsxs as
|
|
4125
|
+
import { jsx as jsx88, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
4119
4126
|
var OldCustomInput = (props) => {
|
|
4120
|
-
return /* @__PURE__ */
|
|
4127
|
+
return /* @__PURE__ */ jsxs27(
|
|
4121
4128
|
"div",
|
|
4122
4129
|
{
|
|
4123
4130
|
className: props.cssClass !== null && props.cssClass !== void 0 ? props.cssClass : "",
|
|
4124
4131
|
children: [
|
|
4125
|
-
/* @__PURE__ */
|
|
4132
|
+
/* @__PURE__ */ jsxs27(
|
|
4126
4133
|
"label",
|
|
4127
4134
|
{
|
|
4128
4135
|
htmlFor: props.name,
|
|
@@ -4161,7 +4168,7 @@ var OldCustomInput = (props) => {
|
|
|
4161
4168
|
)
|
|
4162
4169
|
})
|
|
4163
4170
|
),
|
|
4164
|
-
props.errors && /* @__PURE__ */
|
|
4171
|
+
props.errors && /* @__PURE__ */ jsxs27("span", { className: "text-red-500", children: [
|
|
4165
4172
|
props.displayText,
|
|
4166
4173
|
" is required"
|
|
4167
4174
|
] })
|
|
@@ -4173,7 +4180,7 @@ var OldCustomInput = (props) => {
|
|
|
4173
4180
|
// src/components/Input/MultiSelect.tsx
|
|
4174
4181
|
import { Controller as Controller2 } from "react-hook-form";
|
|
4175
4182
|
import Select2 from "react-select";
|
|
4176
|
-
import { jsx as jsx89, jsxs as
|
|
4183
|
+
import { jsx as jsx89, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4177
4184
|
var MultiSelect = (props) => {
|
|
4178
4185
|
const customStyles = {
|
|
4179
4186
|
input: (base) => __spreadProps(__spreadValues({}, base), {
|
|
@@ -4182,7 +4189,7 @@ var MultiSelect = (props) => {
|
|
|
4182
4189
|
}
|
|
4183
4190
|
})
|
|
4184
4191
|
};
|
|
4185
|
-
return /* @__PURE__ */
|
|
4192
|
+
return /* @__PURE__ */ jsxs28("div", { children: [
|
|
4186
4193
|
/* @__PURE__ */ jsx89(
|
|
4187
4194
|
Controller2,
|
|
4188
4195
|
{
|
|
@@ -4217,7 +4224,7 @@ var MultiSelect = (props) => {
|
|
|
4217
4224
|
}
|
|
4218
4225
|
}
|
|
4219
4226
|
),
|
|
4220
|
-
props.errors && /* @__PURE__ */
|
|
4227
|
+
props.errors && /* @__PURE__ */ jsxs28("span", { className: "text-red-500", children: [
|
|
4221
4228
|
props.displayText,
|
|
4222
4229
|
" is required"
|
|
4223
4230
|
] })
|
|
@@ -4226,11 +4233,11 @@ var MultiSelect = (props) => {
|
|
|
4226
4233
|
|
|
4227
4234
|
// src/components/Input/TextArea.tsx
|
|
4228
4235
|
import classNames2 from "classnames";
|
|
4229
|
-
import { jsx as jsx90, jsxs as
|
|
4236
|
+
import { jsx as jsx90, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4230
4237
|
var TextArea = (props) => {
|
|
4231
4238
|
var _a;
|
|
4232
|
-
return /* @__PURE__ */
|
|
4233
|
-
props.displayText && /* @__PURE__ */
|
|
4239
|
+
return /* @__PURE__ */ jsxs29("div", { children: [
|
|
4240
|
+
props.displayText && /* @__PURE__ */ jsxs29(
|
|
4234
4241
|
"label",
|
|
4235
4242
|
{
|
|
4236
4243
|
htmlFor: props.name,
|
|
@@ -4266,7 +4273,7 @@ var TextArea = (props) => {
|
|
|
4266
4273
|
)
|
|
4267
4274
|
})
|
|
4268
4275
|
),
|
|
4269
|
-
props.errors && /* @__PURE__ */
|
|
4276
|
+
props.errors && /* @__PURE__ */ jsxs29("span", { className: "text-red-500", children: [
|
|
4270
4277
|
props.displayText,
|
|
4271
4278
|
" is required"
|
|
4272
4279
|
] })
|
|
@@ -4869,9 +4876,9 @@ var Body12 = forwardRef35(
|
|
|
4869
4876
|
Body12.displayName = "Body12";
|
|
4870
4877
|
|
|
4871
4878
|
// src/components/DesignElements/AboutInfoItem.tsx
|
|
4872
|
-
import { jsx as jsx95, jsxs as
|
|
4879
|
+
import { jsx as jsx95, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4873
4880
|
var AboutInfoItem = ({ title, description }) => {
|
|
4874
|
-
return description ? /* @__PURE__ */ jsx95("div", { children: /* @__PURE__ */
|
|
4881
|
+
return description ? /* @__PURE__ */ jsx95("div", { children: /* @__PURE__ */ jsxs30("div", { className: "text-grey space-y-4", children: [
|
|
4875
4882
|
/* @__PURE__ */ jsx95(Caption, { children: title }),
|
|
4876
4883
|
/* @__PURE__ */ jsx95(Body18, { children: description })
|
|
4877
4884
|
] }) }) : null;
|
|
@@ -4881,7 +4888,7 @@ var AboutInfoItem = ({ title, description }) => {
|
|
|
4881
4888
|
import * as React35 from "react";
|
|
4882
4889
|
import { ChevronRightIcon as ChevronRightIcon4, DotsHorizontalIcon } from "@radix-ui/react-icons";
|
|
4883
4890
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
4884
|
-
import { jsx as jsx96, jsxs as
|
|
4891
|
+
import { jsx as jsx96, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4885
4892
|
var Breadcrumb = React35.forwardRef((_a, ref) => {
|
|
4886
4893
|
var props = __objRest(_a, []);
|
|
4887
4894
|
return /* @__PURE__ */ jsx96("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
|
|
@@ -4964,7 +4971,7 @@ var BreadcrumbEllipsis = (_a) => {
|
|
|
4964
4971
|
} = _b, props = __objRest(_b, [
|
|
4965
4972
|
"className"
|
|
4966
4973
|
]);
|
|
4967
|
-
return /* @__PURE__ */
|
|
4974
|
+
return /* @__PURE__ */ jsxs31(
|
|
4968
4975
|
"span",
|
|
4969
4976
|
__spreadProps(__spreadValues({
|
|
4970
4977
|
role: "presentation",
|
|
@@ -4984,7 +4991,7 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
|
4984
4991
|
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
4985
4992
|
import React36 from "react";
|
|
4986
4993
|
import { cva as cva9 } from "class-variance-authority";
|
|
4987
|
-
import { jsx as jsx97, jsxs as
|
|
4994
|
+
import { jsx as jsx97, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4988
4995
|
var designButtonVariants = cva9(
|
|
4989
4996
|
"rounded-full flex-col items-center justify-center disabled:pointer-events-none leading-normal",
|
|
4990
4997
|
{
|
|
@@ -5040,7 +5047,7 @@ var DesignButton = React36.forwardRef(
|
|
|
5040
5047
|
}),
|
|
5041
5048
|
disabled
|
|
5042
5049
|
}, props), {
|
|
5043
|
-
children: /* @__PURE__ */
|
|
5050
|
+
children: /* @__PURE__ */ jsxs32(
|
|
5044
5051
|
"div",
|
|
5045
5052
|
{
|
|
5046
5053
|
className: "flex items-center justify-center",
|
|
@@ -5048,7 +5055,7 @@ var DesignButton = React36.forwardRef(
|
|
|
5048
5055
|
children: [
|
|
5049
5056
|
icon && /* @__PURE__ */ jsx97("div", { className: "pr-[10px]", children: icon }),
|
|
5050
5057
|
children,
|
|
5051
|
-
(variant === "externalLink" || variant === "internalLink") && /* @__PURE__ */ jsx97("div", { className: "pl-2", children: /* @__PURE__ */
|
|
5058
|
+
(variant === "externalLink" || variant === "internalLink") && /* @__PURE__ */ jsx97("div", { className: "pl-2", children: /* @__PURE__ */ jsxs32(
|
|
5052
5059
|
"svg",
|
|
5053
5060
|
{
|
|
5054
5061
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5076,7 +5083,7 @@ DesignButton.displayName = "DesignButton";
|
|
|
5076
5083
|
import * as React37 from "react";
|
|
5077
5084
|
import useEmblaCarousel from "embla-carousel-react";
|
|
5078
5085
|
import { ChevronLeft, ChevronRight as ChevronRight4 } from "lucide-react";
|
|
5079
|
-
import { jsx as jsx98, jsxs as
|
|
5086
|
+
import { jsx as jsx98, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5080
5087
|
var CarouselContext = React37.createContext(null);
|
|
5081
5088
|
function useCarousel() {
|
|
5082
5089
|
const context = React37.useContext(CarouselContext);
|
|
@@ -5223,7 +5230,7 @@ CarouselItem.displayName = "CarouselItem";
|
|
|
5223
5230
|
var CarouselPrevious = React37.forwardRef((_a, ref) => {
|
|
5224
5231
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5225
5232
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
5226
|
-
return /* @__PURE__ */
|
|
5233
|
+
return /* @__PURE__ */ jsxs33(
|
|
5227
5234
|
"button",
|
|
5228
5235
|
__spreadProps(__spreadValues({
|
|
5229
5236
|
ref,
|
|
@@ -5247,7 +5254,7 @@ var CarouselNext = React37.forwardRef(
|
|
|
5247
5254
|
(_a, ref) => {
|
|
5248
5255
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5249
5256
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
5250
|
-
return /* @__PURE__ */
|
|
5257
|
+
return /* @__PURE__ */ jsxs33(
|
|
5251
5258
|
"button",
|
|
5252
5259
|
__spreadProps(__spreadValues({
|
|
5253
5260
|
ref,
|
|
@@ -5300,24 +5307,24 @@ Checkbox2.displayName = CheckboxPrimitive2.Root.displayName;
|
|
|
5300
5307
|
// src/components/DesignElements/cookies.tsx
|
|
5301
5308
|
import { useState as useState6 } from "react";
|
|
5302
5309
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
5303
|
-
import { jsx as jsx100, jsxs as
|
|
5310
|
+
import { jsx as jsx100, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5304
5311
|
var Cookies = ({ handleAccept, handleDecline }) => {
|
|
5305
5312
|
const [isOpen, setIsOpen] = useState6(true);
|
|
5306
5313
|
const handleClose = () => {
|
|
5307
5314
|
setIsOpen(false);
|
|
5308
5315
|
};
|
|
5309
|
-
return isOpen ? /* @__PURE__ */
|
|
5316
|
+
return isOpen ? /* @__PURE__ */ jsxs34(
|
|
5310
5317
|
"div",
|
|
5311
5318
|
{
|
|
5312
5319
|
className: "w-full max-w-[27rem] h-auto relative bg-accent-secondary rounded-xl p-6",
|
|
5313
5320
|
"data-component": "Cookies",
|
|
5314
5321
|
children: [
|
|
5315
|
-
/* @__PURE__ */
|
|
5322
|
+
/* @__PURE__ */ jsxs34("div", { className: "flex justify-between items-start", children: [
|
|
5316
5323
|
/* @__PURE__ */ jsx100(Body20m, { className: "pb-2", children: "Cookie Settings" }),
|
|
5317
5324
|
/* @__PURE__ */ jsx100("button", { type: "button", onClick: handleClose, children: /* @__PURE__ */ jsx100(XIcon2, { className: "h-4 w-4 lg:h-6 lg:w-6", "aria-hidden": "true" }) })
|
|
5318
5325
|
] }),
|
|
5319
5326
|
/* @__PURE__ */ jsx100(Body16, { className: " text-grey", children: "Recodo uses cookies that are required for the functionality of the website and performance cookies, that are used to collect information about how our website is used." }),
|
|
5320
|
-
/* @__PURE__ */
|
|
5327
|
+
/* @__PURE__ */ jsxs34("div", { className: "pt-4 space-x-2", children: [
|
|
5321
5328
|
/* @__PURE__ */ jsx100(
|
|
5322
5329
|
DesignButton,
|
|
5323
5330
|
{
|
|
@@ -5344,9 +5351,9 @@ var Cookies = ({ handleAccept, handleDecline }) => {
|
|
|
5344
5351
|
};
|
|
5345
5352
|
|
|
5346
5353
|
// src/components/DesignElements/country.tsx
|
|
5347
|
-
import { jsx as jsx101, jsxs as
|
|
5354
|
+
import { jsx as jsx101, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
5348
5355
|
var CountryItem = ({ country }) => {
|
|
5349
|
-
return /* @__PURE__ */
|
|
5356
|
+
return /* @__PURE__ */ jsxs35(
|
|
5350
5357
|
"div",
|
|
5351
5358
|
{
|
|
5352
5359
|
className: "flex justify-start items-center gap-1",
|
|
@@ -5371,9 +5378,9 @@ var CountryItem = ({ country }) => {
|
|
|
5371
5378
|
};
|
|
5372
5379
|
|
|
5373
5380
|
// src/components/DesignElements/infobox.tsx
|
|
5374
|
-
import { jsx as jsx102, jsxs as
|
|
5381
|
+
import { jsx as jsx102, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5375
5382
|
var InfoBox = ({ title, text }) => {
|
|
5376
|
-
return /* @__PURE__ */
|
|
5383
|
+
return /* @__PURE__ */ jsxs36(
|
|
5377
5384
|
"div",
|
|
5378
5385
|
{
|
|
5379
5386
|
className: "w-96 px-4 py-3 rounded-2xl shadow-lg justify-start items-start gap-2 inline-flex",
|
|
@@ -5390,7 +5397,7 @@ var InfoBox = ({ title, text }) => {
|
|
|
5390
5397
|
children: /* @__PURE__ */ jsx102("path", { d: "M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12.75 16.5C12.75 16.914 12.414 17.25 12 17.25C11.586 17.25 11.25 16.914 11.25 16.5V11.929C11.25 11.515 11.586 11.179 12 11.179C12.414 11.179 12.75 11.515 12.75 11.929V16.5ZM12.02 9.5C11.468 9.5 11.0149 9.052 11.0149 8.5C11.0149 7.948 11.458 7.5 12.01 7.5H12.02C12.573 7.5 13.02 7.948 13.02 8.5C13.02 9.052 12.572 9.5 12.02 9.5Z" })
|
|
5391
5398
|
}
|
|
5392
5399
|
) }),
|
|
5393
|
-
/* @__PURE__ */
|
|
5400
|
+
/* @__PURE__ */ jsxs36("div", { className: "flex-col justify-start items-start gap-2 inline-flex", children: [
|
|
5394
5401
|
/* @__PURE__ */ jsx102("div", { className: "text-sm font-medium ", children: title }),
|
|
5395
5402
|
/* @__PURE__ */ jsx102("div", { className: "text-neutral-500 text-sm font-normal ", children: text })
|
|
5396
5403
|
] })
|
|
@@ -5402,7 +5409,7 @@ var InfoBox = ({ title, text }) => {
|
|
|
5402
5409
|
// src/components/DesignElements/input.tsx
|
|
5403
5410
|
import * as React39 from "react";
|
|
5404
5411
|
import { cva as cva10 } from "class-variance-authority";
|
|
5405
|
-
import { jsx as jsx103, jsxs as
|
|
5412
|
+
import { jsx as jsx103, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
5406
5413
|
var designInputVariants = cva10(
|
|
5407
5414
|
"peer block bg-transparent w-full border-0 py-1.5 mx-0 px-0 focus:ring-0 text-sm sm:leading-6 lg:text-base",
|
|
5408
5415
|
{
|
|
@@ -5421,7 +5428,7 @@ var designInputVariants = cva10(
|
|
|
5421
5428
|
var DesignInput = React39.forwardRef(
|
|
5422
5429
|
(_a, ref) => {
|
|
5423
5430
|
var _b = _a, { className, type, variant } = _b, props = __objRest(_b, ["className", "type", "variant"]);
|
|
5424
|
-
return /* @__PURE__ */
|
|
5431
|
+
return /* @__PURE__ */ jsxs37("div", { className: "relative", children: [
|
|
5425
5432
|
/* @__PURE__ */ jsx103(
|
|
5426
5433
|
"input",
|
|
5427
5434
|
__spreadValues({
|
|
@@ -5443,16 +5450,16 @@ var DesignInput = React39.forwardRef(
|
|
|
5443
5450
|
DesignInput.displayName = "DesignInput";
|
|
5444
5451
|
|
|
5445
5452
|
// src/components/DesignElements/KeyInfoItem.tsx
|
|
5446
|
-
import { jsx as jsx104, jsxs as
|
|
5453
|
+
import { jsx as jsx104, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
5447
5454
|
var KeyInfoItem = ({ label, value }) => {
|
|
5448
|
-
return /* @__PURE__ */
|
|
5455
|
+
return /* @__PURE__ */ jsxs38("div", { className: "w-[41.25rem] flex justify-between gap-5 items-start py-4 border-0 border-b border-grey-light max-md:flex-wrap max-md:max-w-full lg:py-6", children: [
|
|
5449
5456
|
/* @__PURE__ */ jsx104(Body18, { className: "text-grey", children: label }),
|
|
5450
5457
|
/* @__PURE__ */ jsx104(Body18m, { className: "text-grey-dark", children: value })
|
|
5451
5458
|
] });
|
|
5452
5459
|
};
|
|
5453
5460
|
|
|
5454
5461
|
// src/components/DesignElements/LastUpdatedTag.tsx
|
|
5455
|
-
import { jsx as jsx105, jsxs as
|
|
5462
|
+
import { jsx as jsx105, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
5456
5463
|
var LastUpdatedTag = ({ date }) => {
|
|
5457
5464
|
function formatDate(input) {
|
|
5458
5465
|
const date2 = new Date(input);
|
|
@@ -5466,7 +5473,7 @@ var LastUpdatedTag = ({ date }) => {
|
|
|
5466
5473
|
{
|
|
5467
5474
|
className: "h-8 px-4 py-2 bg-grey-lightest text-grey rounded-3xl justify-center items-center inline-flex",
|
|
5468
5475
|
"data-component": "LastUpdatedTag",
|
|
5469
|
-
children: /* @__PURE__ */
|
|
5476
|
+
children: /* @__PURE__ */ jsxs39(Body14, { children: [
|
|
5470
5477
|
/* @__PURE__ */ jsx105("span", { children: "Last updated " }),
|
|
5471
5478
|
formatDate(date)
|
|
5472
5479
|
] })
|
|
@@ -5475,10 +5482,10 @@ var LastUpdatedTag = ({ date }) => {
|
|
|
5475
5482
|
};
|
|
5476
5483
|
|
|
5477
5484
|
// src/components/DesignElements/NoResults.tsx
|
|
5478
|
-
import { jsx as jsx106, jsxs as
|
|
5485
|
+
import { jsx as jsx106, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
5479
5486
|
var NoResults = () => {
|
|
5480
|
-
return /* @__PURE__ */
|
|
5481
|
-
/* @__PURE__ */ jsx106("div", { className: "flex justify-center items-center px-14 w-40 h-40 bg-accent-light-purple rounded-full max-md:px-5", children: /* @__PURE__ */
|
|
5487
|
+
return /* @__PURE__ */ jsxs40("div", { className: "flex flex-col items-center max-w-[90rem]", children: [
|
|
5488
|
+
/* @__PURE__ */ jsx106("div", { className: "flex justify-center items-center px-14 w-40 h-40 bg-accent-light-purple rounded-full max-md:px-5", children: /* @__PURE__ */ jsxs40(
|
|
5482
5489
|
"svg",
|
|
5483
5490
|
{
|
|
5484
5491
|
width: "56",
|
|
@@ -5542,7 +5549,7 @@ DesignRadioGroupItem.displayName = RadioGroupPrimitive2.Item.displayName;
|
|
|
5542
5549
|
import * as SelectPrimitive2 from "@radix-ui/react-select";
|
|
5543
5550
|
import { ChevronDown as ChevronDown4 } from "lucide-react";
|
|
5544
5551
|
import { cva as cva11 } from "class-variance-authority";
|
|
5545
|
-
import { jsx as jsx108, jsxs as
|
|
5552
|
+
import { jsx as jsx108, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
5546
5553
|
var DesignSelect = SelectPrimitive2.Root;
|
|
5547
5554
|
var DesignSelectGroup = SelectPrimitive2.Group;
|
|
5548
5555
|
var DesignSelectValue = SelectPrimitive2.Value;
|
|
@@ -5572,7 +5579,7 @@ var DesignSelectTrigger = (_a) => {
|
|
|
5572
5579
|
"variant",
|
|
5573
5580
|
"ref"
|
|
5574
5581
|
]);
|
|
5575
|
-
return /* @__PURE__ */
|
|
5582
|
+
return /* @__PURE__ */ jsxs41(
|
|
5576
5583
|
SelectPrimitive2.Trigger,
|
|
5577
5584
|
__spreadProps(__spreadValues({
|
|
5578
5585
|
ref,
|
|
@@ -5751,13 +5758,13 @@ DesignSwitch.displayName = SwitchPrimitives2.Root.displayName;
|
|
|
5751
5758
|
// src/components/DesignElements/tag.tsx
|
|
5752
5759
|
import { useState as useState7 } from "react";
|
|
5753
5760
|
import { X as X2 } from "lucide-react";
|
|
5754
|
-
import { jsx as jsx111, jsxs as
|
|
5761
|
+
import { jsx as jsx111, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
5755
5762
|
var DesignResultTag = ({ tag, name }) => {
|
|
5756
5763
|
const [isOpen, setIsOpen] = useState7(true);
|
|
5757
5764
|
const handleClose = () => {
|
|
5758
5765
|
setIsOpen(false);
|
|
5759
5766
|
};
|
|
5760
|
-
return isOpen ? /* @__PURE__ */
|
|
5767
|
+
return isOpen ? /* @__PURE__ */ jsxs42(
|
|
5761
5768
|
"div",
|
|
5762
5769
|
{
|
|
5763
5770
|
className: "px-[10px] py-2 justify-center items-center gap-1 inline-flex rounded-full border border-zinc-300",
|
|
@@ -5807,7 +5814,7 @@ var ResourceTag = ({ tag, type }) => {
|
|
|
5807
5814
|
import { Dialog as Dialog2, Transition } from "@headlessui/react";
|
|
5808
5815
|
import { Fragment as Fragment2 } from "react";
|
|
5809
5816
|
import { XMarkIcon } from "@heroicons/react/24/outline";
|
|
5810
|
-
import { jsx as jsx113, jsxs as
|
|
5817
|
+
import { jsx as jsx113, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
5811
5818
|
var Notification = ({
|
|
5812
5819
|
title,
|
|
5813
5820
|
description,
|
|
@@ -5815,7 +5822,7 @@ var Notification = ({
|
|
|
5815
5822
|
setOpen,
|
|
5816
5823
|
icon
|
|
5817
5824
|
}) => {
|
|
5818
|
-
return /* @__PURE__ */ jsx113(Transition.Root, { show: open, as: Fragment2, "data-component": "Notification", children: /* @__PURE__ */
|
|
5825
|
+
return /* @__PURE__ */ jsx113(Transition.Root, { show: open, as: Fragment2, "data-component": "Notification", children: /* @__PURE__ */ jsxs43(Dialog2, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
5819
5826
|
/* @__PURE__ */ jsx113(
|
|
5820
5827
|
Transition.Child,
|
|
5821
5828
|
{
|
|
@@ -5839,8 +5846,8 @@ var Notification = ({
|
|
|
5839
5846
|
leave: "ease-in duration-200",
|
|
5840
5847
|
leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
|
|
5841
5848
|
leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
5842
|
-
children: /* @__PURE__ */
|
|
5843
|
-
/* @__PURE__ */ jsx113("div", { className: "absolute top-0 right-0 pt-10 pr-10", children: /* @__PURE__ */
|
|
5849
|
+
children: /* @__PURE__ */ jsxs43(Dialog2.Panel, { className: "relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all py-8 max-w-4xl w-full p-10", children: [
|
|
5850
|
+
/* @__PURE__ */ jsx113("div", { className: "absolute top-0 right-0 pt-10 pr-10", children: /* @__PURE__ */ jsxs43(
|
|
5844
5851
|
"button",
|
|
5845
5852
|
{
|
|
5846
5853
|
type: "button",
|
|
@@ -5852,7 +5859,7 @@ var Notification = ({
|
|
|
5852
5859
|
]
|
|
5853
5860
|
}
|
|
5854
5861
|
) }),
|
|
5855
|
-
/* @__PURE__ */
|
|
5862
|
+
/* @__PURE__ */ jsxs43("div", { className: "flex flex-col items-center text-center max-w-[90rem]", children: [
|
|
5856
5863
|
/* @__PURE__ */ jsx113("div", { className: "flex justify-center items-center px-14 w-40 h-40 bg-accent-light-purple rounded-full max-md:px-5", children: icon === "computer" ? /* @__PURE__ */ jsx113(
|
|
5857
5864
|
"svg",
|
|
5858
5865
|
{
|
|
@@ -5919,9 +5926,9 @@ var SimpleLink = ({ link }) => {
|
|
|
5919
5926
|
|
|
5920
5927
|
// src/components/DesignElements/TagsGroup.tsx
|
|
5921
5928
|
import { v4 as v42 } from "uuid";
|
|
5922
|
-
import { jsx as jsx115, jsxs as
|
|
5929
|
+
import { jsx as jsx115, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
5923
5930
|
var TagsGroup = ({ label, tags, variant }) => {
|
|
5924
|
-
return /* @__PURE__ */ jsx115("div", { children: tags && (tags == null ? void 0 : tags.length) > 0 && /* @__PURE__ */
|
|
5931
|
+
return /* @__PURE__ */ jsx115("div", { children: tags && (tags == null ? void 0 : tags.length) > 0 && /* @__PURE__ */ jsxs44("div", { className: "w-[41.25rem] items-start max-md:flex-wrap max-md:max-w-full", children: [
|
|
5925
5932
|
/* @__PURE__ */ jsx115(Caption, { className: "text-grey", children: label }),
|
|
5926
5933
|
/* @__PURE__ */ jsx115("div", { className: "pt-2 flex flex-wrap gap-1 lg:pt-4", children: tags == null ? void 0 : tags.map((tag) => /* @__PURE__ */ jsx115(DesignSimpleTag, { tag, variant }, v42())) })
|
|
5927
5934
|
] }) });
|
|
@@ -5960,9 +5967,9 @@ var TestWeight = ({ text, variant, className }) => {
|
|
|
5960
5967
|
};
|
|
5961
5968
|
|
|
5962
5969
|
// src/components/DesignElements/ThreeColumn.tsx
|
|
5963
|
-
import { jsx as jsx117, jsxs as
|
|
5970
|
+
import { jsx as jsx117, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
5964
5971
|
var ThreeColumn = ({ tag, content, TagClassName }) => {
|
|
5965
|
-
return /* @__PURE__ */
|
|
5972
|
+
return /* @__PURE__ */ jsxs45("div", { className: "lg:container mx-auto lg:flex lg:gap-5 lg:justify-between lg:pr-20 lg:pt-20 w-full", children: [
|
|
5966
5973
|
/* @__PURE__ */ jsx117(Body18, { className: `pt-5 lg:w-[15%] lg:pt-0 ${TagClassName}`, children: tag }),
|
|
5967
5974
|
/* @__PURE__ */ jsx117("div", { className: "lg:w-[50%] max-md:max-w-[41.25rem]", children: content }),
|
|
5968
5975
|
/* @__PURE__ */ jsx117("div", { className: "lg:w-[15%]" })
|
|
@@ -5971,7 +5978,7 @@ var ThreeColumn = ({ tag, content, TagClassName }) => {
|
|
|
5971
5978
|
|
|
5972
5979
|
// src/components/DesignElements/VersionDisplay.tsx
|
|
5973
5980
|
import { useEffect as useEffect6, useState as useState8 } from "react";
|
|
5974
|
-
import { jsxs as
|
|
5981
|
+
import { jsxs as jsxs46 } from "react/jsx-runtime";
|
|
5975
5982
|
var VersionDisplay = () => {
|
|
5976
5983
|
const [version, setVersion] = useState8();
|
|
5977
5984
|
useEffect6(() => {
|
|
@@ -5981,7 +5988,7 @@ var VersionDisplay = () => {
|
|
|
5981
5988
|
}).then((data) => setVersion(data.version)).catch(() => setVersion(void 0));
|
|
5982
5989
|
}, []);
|
|
5983
5990
|
if (!version) return null;
|
|
5984
|
-
return /* @__PURE__ */
|
|
5991
|
+
return /* @__PURE__ */ jsxs46("div", { className: "text-grey text-sm lg:text-base font-normal leading-[130%]", children: [
|
|
5985
5992
|
"Version: ",
|
|
5986
5993
|
version
|
|
5987
5994
|
] });
|
|
@@ -6064,7 +6071,7 @@ var ImageElement = ({
|
|
|
6064
6071
|
};
|
|
6065
6072
|
|
|
6066
6073
|
// src/components/DesignElements/header.tsx
|
|
6067
|
-
import { Fragment as Fragment3, jsx as jsx119, jsxs as
|
|
6074
|
+
import { Fragment as Fragment3, jsx as jsx119, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6068
6075
|
var DesignHeader = ({
|
|
6069
6076
|
branding,
|
|
6070
6077
|
mainMenu,
|
|
@@ -6088,19 +6095,19 @@ var DesignHeader = ({
|
|
|
6088
6095
|
if (rootUrl) {
|
|
6089
6096
|
rootPath = rootUrl != null ? rootUrl : "/";
|
|
6090
6097
|
}
|
|
6091
|
-
return /* @__PURE__ */
|
|
6098
|
+
return /* @__PURE__ */ jsxs47(
|
|
6092
6099
|
"header",
|
|
6093
6100
|
{
|
|
6094
6101
|
"data-component": "DesignHeader",
|
|
6095
6102
|
className: hasStickyNavBar ? "fixed w-full bg-white" : "lg:container mx-auto",
|
|
6096
6103
|
children: [
|
|
6097
|
-
/* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */
|
|
6104
|
+
/* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */ jsxs47(
|
|
6098
6105
|
"nav",
|
|
6099
6106
|
{
|
|
6100
6107
|
className: "flex items-center justify-between p-4 lg:px-12 min-h-12",
|
|
6101
6108
|
"aria-label": "Global",
|
|
6102
6109
|
children: [
|
|
6103
|
-
/* @__PURE__ */ jsx119("div", { className: "hidden lg:flex lg:flex-1 md:flex md:flex-1", children: /* @__PURE__ */
|
|
6110
|
+
/* @__PURE__ */ jsx119("div", { className: "hidden lg:flex lg:flex-1 md:flex md:flex-1", children: /* @__PURE__ */ jsxs47(Link3, { href: rootPath, className: "-m-1.5 min-h-16", children: [
|
|
6104
6111
|
/* @__PURE__ */ jsx119("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
6105
6112
|
/* @__PURE__ */ jsx119(
|
|
6106
6113
|
ImageElement,
|
|
@@ -6114,8 +6121,8 @@ var DesignHeader = ({
|
|
|
6114
6121
|
}
|
|
6115
6122
|
)
|
|
6116
6123
|
] }) }),
|
|
6117
|
-
/* @__PURE__ */ jsx119("div", { className: "flex lg:hidden md:hidden w-full", children: /* @__PURE__ */
|
|
6118
|
-
/* @__PURE__ */
|
|
6124
|
+
/* @__PURE__ */ jsx119("div", { className: "flex lg:hidden md:hidden w-full", children: /* @__PURE__ */ jsxs47("div", { className: "flex items-center justify-between w-full", children: [
|
|
6125
|
+
/* @__PURE__ */ jsxs47(Link3, { href: rootPath, className: "flex-shrink-0", children: [
|
|
6119
6126
|
/* @__PURE__ */ jsx119("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
6120
6127
|
/* @__PURE__ */ jsx119(
|
|
6121
6128
|
ImageElement,
|
|
@@ -6128,7 +6135,7 @@ var DesignHeader = ({
|
|
|
6128
6135
|
}
|
|
6129
6136
|
)
|
|
6130
6137
|
] }),
|
|
6131
|
-
mobile_menu_color == "light" && /* @__PURE__ */
|
|
6138
|
+
mobile_menu_color == "light" && /* @__PURE__ */ jsxs47(
|
|
6132
6139
|
"button",
|
|
6133
6140
|
{
|
|
6134
6141
|
type: "button",
|
|
@@ -6146,7 +6153,7 @@ var DesignHeader = ({
|
|
|
6146
6153
|
]
|
|
6147
6154
|
}
|
|
6148
6155
|
),
|
|
6149
|
-
mobile_menu_color == "dark" && /* @__PURE__ */
|
|
6156
|
+
mobile_menu_color == "dark" && /* @__PURE__ */ jsxs47(
|
|
6150
6157
|
"svg",
|
|
6151
6158
|
{
|
|
6152
6159
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6164,8 +6171,8 @@ var DesignHeader = ({
|
|
|
6164
6171
|
)
|
|
6165
6172
|
] }) }),
|
|
6166
6173
|
/* @__PURE__ */ jsx119(Popover2.Group, { className: "hidden lg:flex lg:items-center lg:gap-x-6 grid-cols-1 flex items-center gap-6 text-base font-medium", children: mainMenu.map(
|
|
6167
|
-
(menuItem) => menuItem.subMenu ? /* @__PURE__ */
|
|
6168
|
-
/* @__PURE__ */
|
|
6174
|
+
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ jsxs47(Popover2, { children: [
|
|
6175
|
+
/* @__PURE__ */ jsxs47(Popover2.Button, { className: "flex items-center gap-x-1 text-base font-medium outline-none border-none", children: [
|
|
6169
6176
|
menuItem.text,
|
|
6170
6177
|
/* @__PURE__ */ jsx119(
|
|
6171
6178
|
ChevronDownIcon,
|
|
@@ -6201,8 +6208,8 @@ var DesignHeader = ({
|
|
|
6201
6208
|
}
|
|
6202
6209
|
) }, menuItem.text)
|
|
6203
6210
|
) }),
|
|
6204
|
-
/* @__PURE__ */ jsx119("div", { className: "hidden lg:flex lg:flex-1 lg:justify-end gap-8", children: canLogin && /* @__PURE__ */
|
|
6205
|
-
sessionStatus === "unauthenticated" && /* @__PURE__ */
|
|
6211
|
+
/* @__PURE__ */ jsx119("div", { className: "hidden lg:flex lg:flex-1 lg:justify-end gap-8", children: canLogin && /* @__PURE__ */ jsxs47(Fragment3, { children: [
|
|
6212
|
+
sessionStatus === "unauthenticated" && /* @__PURE__ */ jsxs47(Fragment3, { children: [
|
|
6206
6213
|
/* @__PURE__ */ jsx119(
|
|
6207
6214
|
DesignButton,
|
|
6208
6215
|
{
|
|
@@ -6220,7 +6227,7 @@ var DesignHeader = ({
|
|
|
6220
6227
|
}
|
|
6221
6228
|
) })
|
|
6222
6229
|
] }),
|
|
6223
|
-
sessionStatus === "authenticated" && /* @__PURE__ */
|
|
6230
|
+
sessionStatus === "authenticated" && /* @__PURE__ */ jsxs47(Fragment3, { children: [
|
|
6224
6231
|
isAdmin && /* @__PURE__ */ jsx119(
|
|
6225
6232
|
Link3,
|
|
6226
6233
|
{
|
|
@@ -6243,7 +6250,7 @@ var DesignHeader = ({
|
|
|
6243
6250
|
]
|
|
6244
6251
|
}
|
|
6245
6252
|
) }),
|
|
6246
|
-
/* @__PURE__ */
|
|
6253
|
+
/* @__PURE__ */ jsxs47(
|
|
6247
6254
|
Dialog3,
|
|
6248
6255
|
{
|
|
6249
6256
|
as: "div",
|
|
@@ -6252,9 +6259,9 @@ var DesignHeader = ({
|
|
|
6252
6259
|
onClose: setMobileMenuOpen,
|
|
6253
6260
|
children: [
|
|
6254
6261
|
/* @__PURE__ */ jsx119("div", { className: "fixed inset-0 z-10" }),
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
/* @__PURE__ */
|
|
6257
|
-
/* @__PURE__ */
|
|
6262
|
+
/* @__PURE__ */ jsxs47(Dialog3.Panel, { className: "fixed inset-y-0 right-0 z-10 flex w-full flex-col bg-white shadow-xl sm:max-w-sm", children: [
|
|
6263
|
+
/* @__PURE__ */ jsxs47("div", { className: "flex items-center justify-between p-4", children: [
|
|
6264
|
+
/* @__PURE__ */ jsxs47(Link3, { href: rootPath, className: "flex-shrink-0", children: [
|
|
6258
6265
|
/* @__PURE__ */ jsx119("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
6259
6266
|
/* @__PURE__ */ jsx119(
|
|
6260
6267
|
ImageElement,
|
|
@@ -6269,7 +6276,7 @@ var DesignHeader = ({
|
|
|
6269
6276
|
}
|
|
6270
6277
|
)
|
|
6271
6278
|
] }),
|
|
6272
|
-
mobile_menu_color == "light" && /* @__PURE__ */
|
|
6279
|
+
mobile_menu_color == "light" && /* @__PURE__ */ jsxs47(
|
|
6273
6280
|
"button",
|
|
6274
6281
|
{
|
|
6275
6282
|
type: "button",
|
|
@@ -6281,13 +6288,13 @@ var DesignHeader = ({
|
|
|
6281
6288
|
]
|
|
6282
6289
|
}
|
|
6283
6290
|
),
|
|
6284
|
-
mobile_menu_color == "dark" && /* @__PURE__ */
|
|
6291
|
+
mobile_menu_color == "dark" && /* @__PURE__ */ jsxs47("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", onClick: () => setMobileMenuOpen(false), children: [
|
|
6285
6292
|
/* @__PURE__ */ jsx119("circle", { cx: "20", cy: "20", r: "19.25", fill: "black", stroke: "black", strokeWidth: "1.5" }),
|
|
6286
6293
|
/* @__PURE__ */ jsx119("path", { d: "M21.414 20.0002L26.707 14.7072C27.098 14.3172 27.098 13.6832 26.707 13.2932C26.316 12.9022 25.684 12.9022 25.293 13.2932L20 18.5862L14.707 13.2932C14.316 12.9022 13.684 12.9022 13.293 13.2932C12.902 13.6832 12.902 14.3172 13.293 14.7072L18.586 20.0002L13.293 25.2933C12.902 25.6833 12.902 26.3172 13.293 26.7072C13.488 26.9022 13.744 27.0002 14 27.0002C14.256 27.0002 14.512 26.9022 14.707 26.7072L20 21.4142L25.293 26.7072C25.488 26.9022 25.744 27.0002 26 27.0002C26.256 27.0002 26.512 26.9022 26.707 26.7072C27.098 26.3172 27.098 25.6833 26.707 25.2933L21.414 20.0002Z", fill: "white" }),
|
|
6287
6294
|
/* @__PURE__ */ jsx119("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: "Close menu" })
|
|
6288
6295
|
] })
|
|
6289
6296
|
] }),
|
|
6290
|
-
/* @__PURE__ */
|
|
6297
|
+
/* @__PURE__ */ jsxs47("div", { className: "flex-1 flex flex-col p-6", children: [
|
|
6291
6298
|
!mainMenu.some((menuItem) => menuItem.text === "Home") && /* @__PURE__ */ jsx119("div", { className: "py-2", children: /* @__PURE__ */ jsx119(
|
|
6292
6299
|
Link3,
|
|
6293
6300
|
{
|
|
@@ -6298,8 +6305,8 @@ var DesignHeader = ({
|
|
|
6298
6305
|
}
|
|
6299
6306
|
) }),
|
|
6300
6307
|
mainMenu.map(
|
|
6301
|
-
(menuItem) => menuItem.subMenu ? /* @__PURE__ */
|
|
6302
|
-
/* @__PURE__ */
|
|
6308
|
+
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ jsxs47(Popover2, { className: "relative", children: [
|
|
6309
|
+
/* @__PURE__ */ jsxs47(Popover2.Button, { className: "flex w-full justify-between items-center text-lg font-semibold text-gray-900 hover:text-gray-700 transition-colors duration-200 outline-none border-none py-2", children: [
|
|
6303
6310
|
menuItem.text,
|
|
6304
6311
|
/* @__PURE__ */ jsx119(
|
|
6305
6312
|
ChevronDownIcon,
|
|
@@ -6330,8 +6337,8 @@ var DesignHeader = ({
|
|
|
6330
6337
|
}
|
|
6331
6338
|
) }, menuItem.text)
|
|
6332
6339
|
),
|
|
6333
|
-
canLogin && /* @__PURE__ */
|
|
6334
|
-
sessionStatus === "unauthenticated" && /* @__PURE__ */
|
|
6340
|
+
canLogin && /* @__PURE__ */ jsxs47("div", { className: "pt-6 mt-auto", children: [
|
|
6341
|
+
sessionStatus === "unauthenticated" && /* @__PURE__ */ jsxs47("div", { className: "flex gap-4 mb-4", children: [
|
|
6335
6342
|
/* @__PURE__ */ jsx119(
|
|
6336
6343
|
"button",
|
|
6337
6344
|
{
|
|
@@ -6354,7 +6361,7 @@ var DesignHeader = ({
|
|
|
6354
6361
|
}
|
|
6355
6362
|
)
|
|
6356
6363
|
] }),
|
|
6357
|
-
sessionStatus === "authenticated" && /* @__PURE__ */
|
|
6364
|
+
sessionStatus === "authenticated" && /* @__PURE__ */ jsxs47("div", { className: "space-y-3 mb-4", children: [
|
|
6358
6365
|
isAdmin && /* @__PURE__ */ jsx119(
|
|
6359
6366
|
Link3,
|
|
6360
6367
|
{
|
|
@@ -6378,7 +6385,7 @@ var DesignHeader = ({
|
|
|
6378
6385
|
)
|
|
6379
6386
|
] })
|
|
6380
6387
|
] }),
|
|
6381
|
-
/* @__PURE__ */ jsx119("div", { className: "pt-4 mt-auto border-t-2", children: /* @__PURE__ */
|
|
6388
|
+
/* @__PURE__ */ jsx119("div", { className: "pt-4 mt-auto border-t-2", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-wrap gap-4 text-base text-gray-600", children: [
|
|
6382
6389
|
/* @__PURE__ */ jsx119(
|
|
6383
6390
|
Link3,
|
|
6384
6391
|
{
|
|
@@ -6429,7 +6436,7 @@ var DesignHeader = ({
|
|
|
6429
6436
|
|
|
6430
6437
|
// src/components/Elements/HTMLView.tsx
|
|
6431
6438
|
import parse from "html-react-parser";
|
|
6432
|
-
import { jsx as jsx120, jsxs as
|
|
6439
|
+
import { jsx as jsx120, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6433
6440
|
var HtmlView = (props) => {
|
|
6434
6441
|
const options = {
|
|
6435
6442
|
replace: (domNode) => {
|
|
@@ -6449,7 +6456,7 @@ var HtmlView = (props) => {
|
|
|
6449
6456
|
}
|
|
6450
6457
|
}
|
|
6451
6458
|
};
|
|
6452
|
-
return /* @__PURE__ */
|
|
6459
|
+
return /* @__PURE__ */ jsxs48(
|
|
6453
6460
|
"div",
|
|
6454
6461
|
{
|
|
6455
6462
|
className: props.cssClass !== void 0 && props.cssClass !== null ? props.cssClass : "lg:py-5",
|
|
@@ -6464,7 +6471,7 @@ var HtmlView = (props) => {
|
|
|
6464
6471
|
// src/components/DesignElements/ResourcesQuickFind.tsx
|
|
6465
6472
|
import { useState as useState10 } from "react";
|
|
6466
6473
|
import { Link as Link4 } from "@geowiki/core";
|
|
6467
|
-
import { Fragment as Fragment4, jsx as jsx121, jsxs as
|
|
6474
|
+
import { Fragment as Fragment4, jsx as jsx121, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
6468
6475
|
var ResourcesQuickFind = (props) => {
|
|
6469
6476
|
const [selectedParent, setSelectedParent] = useState10();
|
|
6470
6477
|
const [selectedChild, setSelectedChild] = useState10();
|
|
@@ -6484,8 +6491,8 @@ var ResourcesQuickFind = (props) => {
|
|
|
6484
6491
|
});
|
|
6485
6492
|
return updatedArray;
|
|
6486
6493
|
};
|
|
6487
|
-
return /* @__PURE__ */ jsx121("section", { id: props.id, className: `flex justify-center items-center mt-6 p-5 rounded-xl lg:mt-12 lg:px-16 lg:py-20 ${props.background_color}`, children: /* @__PURE__ */ jsx121("div", { className: "lg:container mx-auto w-full max-w-[1116px] ", children: /* @__PURE__ */
|
|
6488
|
-
/* @__PURE__ */ jsx121("div", { className: "flex flex-col lg:w-[57%] ", children: /* @__PURE__ */
|
|
6494
|
+
return /* @__PURE__ */ jsx121("section", { id: props.id, className: `flex justify-center items-center mt-6 p-5 rounded-xl lg:mt-12 lg:px-16 lg:py-20 ${props.background_color}`, children: /* @__PURE__ */ jsx121("div", { className: "lg:container mx-auto w-full max-w-[1116px] ", children: /* @__PURE__ */ jsxs49("div", { className: "lg:flex lg:gap-5 ", children: [
|
|
6495
|
+
/* @__PURE__ */ jsx121("div", { className: "flex flex-col lg:w-[57%] ", children: /* @__PURE__ */ jsxs49("div", { className: "flex flex-col text-gray-900 space-y-4 lg:space-y-6 lg:mt-2.5", children: [
|
|
6489
6496
|
/* @__PURE__ */ jsx121(
|
|
6490
6497
|
HtmlView,
|
|
6491
6498
|
{
|
|
@@ -6515,9 +6522,9 @@ var ResourcesQuickFind = (props) => {
|
|
|
6515
6522
|
}
|
|
6516
6523
|
)
|
|
6517
6524
|
] }) }),
|
|
6518
|
-
/* @__PURE__ */ jsx121("div", { className: "pt-6 flex flex-col lg:ml-5 lg:pt-0 " + (!props.right_panel_default_width ? "" : "w-full lg:w-[43%]"), children: /* @__PURE__ */ jsx121("form", { className: `flex flex-col grow w-full lg:w-full text-base font-medium leading-5 text-gray-900 rounded-xl bg-white bg-opacity-${props.background_opacity} lg:min-w-[24rem]`, children: props.parent_list && /* @__PURE__ */ jsx121("div", { className: "w-full flex-col flex justify-center", children: /* @__PURE__ */
|
|
6525
|
+
/* @__PURE__ */ jsx121("div", { className: "pt-6 flex flex-col lg:ml-5 lg:pt-0 " + (!props.right_panel_default_width ? "" : "w-full lg:w-[43%]"), children: /* @__PURE__ */ jsx121("form", { className: `flex flex-col grow w-full lg:w-full text-base font-medium leading-5 text-gray-900 rounded-xl bg-white bg-opacity-${props.background_opacity} lg:min-w-[24rem]`, children: props.parent_list && /* @__PURE__ */ jsx121("div", { className: "w-full flex-col flex justify-center", children: /* @__PURE__ */ jsxs49("div", { className: " w-full lg:w-[20rem] p-8 bg-opacity-40 rounded-xl", children: [
|
|
6519
6526
|
/* @__PURE__ */ jsx121(Body16m, { className: "pb-1", children: props.parent_list_title }),
|
|
6520
|
-
/* @__PURE__ */
|
|
6527
|
+
/* @__PURE__ */ jsxs49(
|
|
6521
6528
|
DesignSelect,
|
|
6522
6529
|
{
|
|
6523
6530
|
onValueChange: (v) => {
|
|
@@ -6536,9 +6543,9 @@ var ResourcesQuickFind = (props) => {
|
|
|
6536
6543
|
]
|
|
6537
6544
|
}
|
|
6538
6545
|
),
|
|
6539
|
-
props.child_list && /* @__PURE__ */
|
|
6546
|
+
props.child_list && /* @__PURE__ */ jsxs49(Fragment4, { children: [
|
|
6540
6547
|
/* @__PURE__ */ jsx121(Body16m, { className: "pb-1 pt-8", children: props.child_list_title }),
|
|
6541
|
-
/* @__PURE__ */
|
|
6548
|
+
/* @__PURE__ */ jsxs49(
|
|
6542
6549
|
DesignSelect,
|
|
6543
6550
|
{
|
|
6544
6551
|
onValueChange: (v) => {
|
|
@@ -6558,7 +6565,7 @@ var ResourcesQuickFind = (props) => {
|
|
|
6558
6565
|
}
|
|
6559
6566
|
)
|
|
6560
6567
|
] }),
|
|
6561
|
-
props.download_resource && /* @__PURE__ */
|
|
6568
|
+
props.download_resource && /* @__PURE__ */ jsxs49(
|
|
6562
6569
|
"a",
|
|
6563
6570
|
{
|
|
6564
6571
|
className: "md:w-44 w-full h-14 bg-black rounded-[40px] flex items-center justify-center gap-2 mt-5 " + (selectedParent ? "hover:cursor-pointer" : "pointer-events-none"),
|
|
@@ -6577,15 +6584,15 @@ var ResourcesQuickFind = (props) => {
|
|
|
6577
6584
|
// src/components/DesignElements/FAQItem.tsx
|
|
6578
6585
|
import { Disclosure } from "@headlessui/react";
|
|
6579
6586
|
import { MinusSmallIcon, PlusSmallIcon } from "@heroicons/react/24/outline";
|
|
6580
|
-
import { Fragment as Fragment5, jsx as jsx122, jsxs as
|
|
6587
|
+
import { Fragment as Fragment5, jsx as jsx122, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
6581
6588
|
var FAQItem = ({ faqs, backgroundColor }) => {
|
|
6582
6589
|
return /* @__PURE__ */ jsx122("div", { className: "mx-auto", "data-component": "FAQItem", children: /* @__PURE__ */ jsx122("dl", { children: faqs.map((faq) => /* @__PURE__ */ jsx122(
|
|
6583
6590
|
Disclosure,
|
|
6584
6591
|
{
|
|
6585
6592
|
as: "div",
|
|
6586
6593
|
className: "border-0 border-b border-zinc-300",
|
|
6587
|
-
children: ({ open }) => /* @__PURE__ */
|
|
6588
|
-
/* @__PURE__ */ jsx122("dt", { children: /* @__PURE__ */
|
|
6594
|
+
children: ({ open }) => /* @__PURE__ */ jsxs50(Fragment5, { children: [
|
|
6595
|
+
/* @__PURE__ */ jsx122("dt", { children: /* @__PURE__ */ jsxs50(Disclosure.Button, { className: "pt-6 flex w-full items-start justify-between text-left lg:pt-8", children: [
|
|
6589
6596
|
/* @__PURE__ */ jsx122(Body20m, { className: `${open ? "pb-0" : "pb-6 lg:pb-8"}`, children: faq.question }),
|
|
6590
6597
|
/* @__PURE__ */ jsx122("span", { className: "ml-6 flex h-7 items-center", children: open ? /* @__PURE__ */ jsx122(
|
|
6591
6598
|
MinusSmallIcon,
|
|
@@ -6595,7 +6602,7 @@ var FAQItem = ({ faqs, backgroundColor }) => {
|
|
|
6595
6602
|
}
|
|
6596
6603
|
) : /* @__PURE__ */ jsx122(PlusSmallIcon, { className: "h-6 w-6", "aria-hidden": "true" }) })
|
|
6597
6604
|
] }) }),
|
|
6598
|
-
/* @__PURE__ */
|
|
6605
|
+
/* @__PURE__ */ jsxs50(
|
|
6599
6606
|
Disclosure.Panel,
|
|
6600
6607
|
{
|
|
6601
6608
|
as: "dd",
|
|
@@ -6619,25 +6626,25 @@ var FAQItem = ({ faqs, backgroundColor }) => {
|
|
|
6619
6626
|
};
|
|
6620
6627
|
|
|
6621
6628
|
// src/components/DesignElements/FaqComponent.tsx
|
|
6622
|
-
import { jsx as jsx123, jsxs as
|
|
6629
|
+
import { jsx as jsx123, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
6623
6630
|
var FaqComponent = (props) => {
|
|
6624
|
-
return /* @__PURE__ */
|
|
6631
|
+
return /* @__PURE__ */ jsxs51("div", { id: props.id, children: [
|
|
6625
6632
|
/* @__PURE__ */ jsx123("a", { href: "#faq" }),
|
|
6626
6633
|
/* @__PURE__ */ jsx123(
|
|
6627
6634
|
"div",
|
|
6628
6635
|
{
|
|
6629
6636
|
className: `${props.backgroundColor} rounded-xl `,
|
|
6630
6637
|
"data-component": "FaqComponent",
|
|
6631
|
-
children: /* @__PURE__ */
|
|
6638
|
+
children: /* @__PURE__ */ jsxs51(
|
|
6632
6639
|
"div",
|
|
6633
6640
|
{
|
|
6634
6641
|
className: `container mx-auto flex flex-col lg:flex-row justify-between py-6 lg:px-12 lg:pt-20 lg:pb-14 lg:mt-10 ${props.backgroundColor === "" ? "px-0 mt-2" : " px-5 mt-6 "}`,
|
|
6635
6642
|
children: [
|
|
6636
|
-
/* @__PURE__ */
|
|
6643
|
+
/* @__PURE__ */ jsxs51(Body18, { className: "w-[15%] pb-2 lg:pb-0", children: [
|
|
6637
6644
|
/* @__PURE__ */ jsx123("span", { className: "hidden md:block", children: props.subtitle }),
|
|
6638
6645
|
/* @__PURE__ */ jsx123("span", { className: "block md:hidden", children: "FAQs" })
|
|
6639
6646
|
] }),
|
|
6640
|
-
/* @__PURE__ */
|
|
6647
|
+
/* @__PURE__ */ jsxs51("div", { className: "lg:w-[50%]", children: [
|
|
6641
6648
|
/* @__PURE__ */ jsx123(H3Design, { className: "pb-4", children: props.title }),
|
|
6642
6649
|
/* @__PURE__ */ jsx123(Body18, { children: props.description }),
|
|
6643
6650
|
props.faqs && /* @__PURE__ */ jsx123(FAQItem, { faqs: props.faqs, backgroundColor: props.backgroundColor })
|
|
@@ -6652,12 +6659,12 @@ var FaqComponent = (props) => {
|
|
|
6652
6659
|
};
|
|
6653
6660
|
|
|
6654
6661
|
// src/components/DesignElements/footer.tsx
|
|
6655
|
-
import { jsx as jsx124, jsxs as
|
|
6662
|
+
import { jsx as jsx124, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
6656
6663
|
var DesignFooter = (props) => {
|
|
6657
6664
|
var _a, _b, _c;
|
|
6658
|
-
return /* @__PURE__ */
|
|
6659
|
-
props.branding.logo && props.branding.title && /* @__PURE__ */
|
|
6660
|
-
/* @__PURE__ */
|
|
6665
|
+
return /* @__PURE__ */ jsxs52("footer", { "data-component": "DesignFooter", children: [
|
|
6666
|
+
props.branding.logo && props.branding.title && /* @__PURE__ */ jsxs52("div", { className: "bg-neutral-100 rounded-tl-3xl rounded-tr-3xl lg:px-12 px-4 mt-20", children: [
|
|
6667
|
+
/* @__PURE__ */ jsxs52("div", { className: "container mx-auto flex flex-col lg:flex-row items-center lg:items-start justify-between pt-12 gap-4", children: [
|
|
6661
6668
|
props.branding.logo && /* @__PURE__ */ jsx124(
|
|
6662
6669
|
ImageElement,
|
|
6663
6670
|
{
|
|
@@ -6671,19 +6678,19 @@ var DesignFooter = (props) => {
|
|
|
6671
6678
|
),
|
|
6672
6679
|
/* @__PURE__ */ jsx124("div", { className: "text-center text-primary text-sm lg:text-lg font-semibold capitalize leading-[130%]", children: props.branding.title })
|
|
6673
6680
|
] }),
|
|
6674
|
-
props.navigation && props.navigation.length > 0 && /* @__PURE__ */ jsx124("div", { className: "pt-12 lg:pt-20 pb-8 lg:pb-16 container mx-auto", children: /* @__PURE__ */ jsx124("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8", children: (_a = props.navigation) == null ? void 0 : _a.map((category) => /* @__PURE__ */
|
|
6681
|
+
props.navigation && props.navigation.length > 0 && /* @__PURE__ */ jsx124("div", { className: "pt-12 lg:pt-20 pb-8 lg:pb-16 container mx-auto", children: /* @__PURE__ */ jsx124("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8", children: (_a = props.navigation) == null ? void 0 : _a.map((category) => /* @__PURE__ */ jsxs52("div", { children: [
|
|
6675
6682
|
/* @__PURE__ */ jsx124(Body18m, { className: "mb-4", children: category.category }),
|
|
6676
6683
|
/* @__PURE__ */ jsx124("ul", { role: "list", className: "space-y-4", children: category.items.map((item) => /* @__PURE__ */ jsx124("li", { children: /* @__PURE__ */ jsx124("a", { href: item.href, children: /* @__PURE__ */ jsx124(Body18, { children: item.name }) }) }, item.name)) })
|
|
6677
6684
|
] }, category.category)) }) }),
|
|
6678
6685
|
props.navigation && props.navigation.length > 0 && props.bottomMenu && props.bottomMenu.length > 0 && /* @__PURE__ */ jsx124("div", { className: "border-t border-neutral-300" }),
|
|
6679
|
-
/* @__PURE__ */ jsx124("div", { className: "container mx-auto flex justify-between items-center py-6 lg:pt-10 lg:pb-16 ", children: props.bottomMenu && props.bottomMenu.length > 0 && /* @__PURE__ */
|
|
6680
|
-
/* @__PURE__ */ jsx124("div", { className: "flex-wrap flex gap-x-5 gap-y-2 lg:gap-y-0 lg:gap-x-6", children: (_b = props.bottomMenu) == null ? void 0 : _b.map((item) => /* @__PURE__ */
|
|
6686
|
+
/* @__PURE__ */ jsx124("div", { className: "container mx-auto flex justify-between items-center py-6 lg:pt-10 lg:pb-16 ", children: props.bottomMenu && props.bottomMenu.length > 0 && /* @__PURE__ */ jsxs52("div", { className: "w-full items-center justify-between lg:flex", children: [
|
|
6687
|
+
/* @__PURE__ */ jsx124("div", { className: "flex-wrap flex gap-x-5 gap-y-2 lg:gap-y-0 lg:gap-x-6", children: (_b = props.bottomMenu) == null ? void 0 : _b.map((item) => /* @__PURE__ */ jsxs52(
|
|
6681
6688
|
"a",
|
|
6682
6689
|
{
|
|
6683
6690
|
href: item.href,
|
|
6684
6691
|
className: `text-lg font-normal leading-[130%] flex items-center justify-center ${item.name === "Contact" ? "hidden lg:block" : ""}`,
|
|
6685
6692
|
children: [
|
|
6686
|
-
item.name == "Language" && /* @__PURE__ */ jsx124("div", { className: "hidden lg:block lg:pr-2", children: /* @__PURE__ */
|
|
6693
|
+
item.name == "Language" && /* @__PURE__ */ jsx124("div", { className: "hidden lg:block lg:pr-2", children: /* @__PURE__ */ jsxs52(
|
|
6687
6694
|
"svg",
|
|
6688
6695
|
{
|
|
6689
6696
|
width: "33",
|
|
@@ -6741,9 +6748,9 @@ var DesignFooter = (props) => {
|
|
|
6741
6748
|
)) })
|
|
6742
6749
|
] }) })
|
|
6743
6750
|
] }),
|
|
6744
|
-
/* @__PURE__ */
|
|
6745
|
-
(props.footerLogoPath || props.footerText || props.imagesPaths) && /* @__PURE__ */
|
|
6746
|
-
/* @__PURE__ */ jsx124("div", { className: "flex flex-col lg:flex-row items-center lg:items-start gap-4 lg:space-x-4", children: /* @__PURE__ */
|
|
6751
|
+
/* @__PURE__ */ jsxs52("div", { className: "bg-white py-6 lg:py-10 space-y-4 px-4 lg:px-0", children: [
|
|
6752
|
+
(props.footerLogoPath || props.footerText || props.imagesPaths) && /* @__PURE__ */ jsxs52("div", { className: "container mx-auto flex flex-col lg:flex-row gap-3 lg:gap-5 justify-between", children: [
|
|
6753
|
+
/* @__PURE__ */ jsx124("div", { className: "flex flex-col lg:flex-row items-center lg:items-start gap-4 lg:space-x-4", children: /* @__PURE__ */ jsxs52("div", { className: "flex flex-col gap-4 items-start text-sm leading-5 text-grey lg:flex-row lg:gap-5 lg:items-center", children: [
|
|
6747
6754
|
props.footerLogoPath && /* @__PURE__ */ jsx124(
|
|
6748
6755
|
ImageElement,
|
|
6749
6756
|
{
|
|
@@ -6767,8 +6774,8 @@ var DesignFooter = (props) => {
|
|
|
6767
6774
|
path
|
|
6768
6775
|
)) })
|
|
6769
6776
|
] }),
|
|
6770
|
-
/* @__PURE__ */
|
|
6771
|
-
props.copyrights && /* @__PURE__ */
|
|
6777
|
+
/* @__PURE__ */ jsxs52("div", { className: "container mx-auto flex justify-start items-center text-center space-x-6 lg:justify-center", children: [
|
|
6778
|
+
props.copyrights && /* @__PURE__ */ jsxs52(Body16, { className: "text-grey", children: [
|
|
6772
6779
|
"\xA9 ",
|
|
6773
6780
|
props.copyrights,
|
|
6774
6781
|
" ",
|
|
@@ -6781,33 +6788,33 @@ var DesignFooter = (props) => {
|
|
|
6781
6788
|
] });
|
|
6782
6789
|
};
|
|
6783
6790
|
var BasicFooter = (props) => {
|
|
6784
|
-
return /* @__PURE__ */
|
|
6785
|
-
/* @__PURE__ */
|
|
6786
|
-
/* @__PURE__ */
|
|
6791
|
+
return /* @__PURE__ */ jsxs52("div", { className: "w-full bg-zinc-100 md:bg-white rounded-tl-3xl rounded-tr-3xl overflow-hidden mt-20", children: [
|
|
6792
|
+
/* @__PURE__ */ jsxs52("div", { className: "w-full bg-zinc-100 md:p-12 p-8 md:flex justify-between items-center", children: [
|
|
6793
|
+
/* @__PURE__ */ jsxs52("div", { className: "flex gap-6 justify-center md:justify-start", children: [
|
|
6787
6794
|
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.privacy_policy_url, target: props.openInNewTab ? "_blank" : "_self", children: "Privacy policy" }),
|
|
6788
6795
|
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.termsUrl, target: props.openInNewTab ? "_blank" : "_self", children: "Terms of Use" })
|
|
6789
6796
|
] }),
|
|
6790
|
-
/* @__PURE__ */
|
|
6791
|
-
/* @__PURE__ */
|
|
6797
|
+
/* @__PURE__ */ jsxs52("div", { className: "hidden md:flex gap-6", children: [
|
|
6798
|
+
/* @__PURE__ */ jsxs52("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
6792
6799
|
"Version: ",
|
|
6793
6800
|
props.version
|
|
6794
6801
|
] }),
|
|
6795
|
-
/* @__PURE__ */
|
|
6802
|
+
/* @__PURE__ */ jsxs52("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
6796
6803
|
"\xA9 IIASA ",
|
|
6797
6804
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
6798
6805
|
] })
|
|
6799
6806
|
] })
|
|
6800
6807
|
] }),
|
|
6801
|
-
/* @__PURE__ */
|
|
6808
|
+
/* @__PURE__ */ jsxs52("div", { className: "w-full bg-white flex flex-row items-center justify-center gap-4", children: [
|
|
6802
6809
|
/* @__PURE__ */ jsx124("a", { href: "https://iiasa.ac.at/", target: "_blank", className: "mt-5 mb-5 ml-10 flex", children: /* @__PURE__ */ jsx124("img", { id: "image0_539_1532", src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAABBCAYAAAAnr8OUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA4aADAAQAAAABAAAAQQAAAABouFlRAAAlcUlEQVR4Ae2dCZycRZXAX33dySRAAgJRbgJyiHIfcsgKCCpXFJFhphOOZGaScKyygOsKIgRZwSuQsLKQZHpyKDOTRETCfQcEAyigXHIKAgJyE8gxM91f7f9V9TnT3dMz05MMbL9f93dUvXpV9ape3e99IlWocqDKgbXKAeNir5u9g5jI+LWaknIjt8lWWTjl2XLRq3hVDgx1DkR9AqMIob2A53uGeoJpLG4d8mmsJrDKgT5wwAthEGqP+Lq0NR3ch7BV1CoHqhyoAAeCCtCokqhyoMqBAXCgKoQDYF41aJUDleBAVQgrwcUqjSoHBsCBqhAOgHnVoFUOVIIDVSGsBBerNKocGAAH/OpoGFi2KOwA6OQHHd+yrdjwK2LNF8XIzmJlC+5bgvQO/9dE7Av4/UmMuV/aGob+tkh+7qpvVQ5UlAOpfUJoGus37vtL/sQF60pX56kEHy/W7gFB93PkspQ34p2/2QXvYxBGkVjze9zaJWlmyuLGZ/ob/f+bcHXxs+Dba7KwqX2N5bk+Po3yukDaGrMlucYiT0UUazmIenWwJFdPl8Wnf7Smoy8YX6z5Qury6dTf1dLeuEVBnDIcKzMcrY+fiwD+k57tF/wRwL6A+RRhTp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rIn1hhey7L+Syq5gkkso9DML0nUa93ybQc0G6mJBMTDyXWeEVf0/wmyc0i8Xwoh+xORCNKR9z6BmNaz9ET2LF5o0nXLxjMHaGPScdWsCB0nmibyryUKFiOY3h4+6We+si+HntPON3ytsa2gjH2e4MM66mrPFc6t7T+i2jgqefYBvBG7vPoDiFmQi2A5V0/KUQaALQymTC+ky6er0DV8ychB+2vNjNTw4Cvxz6cH8Ao9+8MWag6DzPP73SXLYw4wwsIJGmrUOKCSTxxC/51coE/PC6zaOUB6aDhuucPjVS5UDVQ5UOfBx58D/AWeQ7WVvbg61AAAAAElFTkSuQmCC" }) }),
|
|
6803
6810
|
props.showGeoWiki && /* @__PURE__ */ jsx124("a", { href: "https://www.geo-wiki.org/", target: "_blank", className: "mt-5 mb-5 mr-10 flex", children: /* @__PURE__ */ jsx124("img", { id: "image0_539_1533", src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAAAyCAYAAABRTkkkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVbSURBVHgB7VwJdFRVmr73vvcqlUoIIZAEA0IQkCXI0oj2OIOUaPf0uIzANO6OoTnS6KhAo2jbThtox7UVmUERNyKt3bgCBwWB9lBKu4AwBhpIwChRWbIQEshSVe+9e+9899WSSiVAFtCJpz7OO6/q1b33bf/7/u//7guEJJBAAgkkkEACCSSQQAIJdAKUFBQwksCPDpT8sKAPbzmeYRv6uX2+SN41fTqtxzZJEvhR4IdljLFjdZMEJ1um/739w6uXPFFalzd27AyDJPCjQGeDq1PMl3OYGFxY50khkong1x+vDKy/YvGC/DekdJEEujw6FFwF0EgFJQ05C4rqhj+zW/a+b3Ntj2wpUwYNGpTUZv2EdjPXbRxLiJGBEH2LSlqOhJglqT6/ZE9tHvmhWTWBTqMjzEP/uEf2O368ZrUkIpdKEiCSVggqihmRf5c6WfuHcVk70E6cbJBMKVNnfla7nAjrSnz9Dv19hLOzNY39AzG0mx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0xXcLdkINqsU1uif5effa+UXbu3WTo8bPmmJI9rJmMMwEsaCua9uo4VrEB5+38eMvnmm4fcIEz8EvU15IQn5MSsm4f+Cewm/OtLeVwJlDh9+KIOH3uiKfdaE1IApqmcarJWHrNE/yq1Uv/mH/gQP/jEpxuxMg1aXBNWfd+sCLEFlnuwxXYRbp/lHVu3c3fBQex/uG9K9I2X/fcCO1uuCarDP2QmACXQ5jjTEPfdD/Hx9bnQP32U1aZ0U68on1KdnZI1PAeicK7M69H59AAgkkkEACCSSQQAIJJJBAAgn8P8b/AevP9Boq4KweAAAAAElFTkSuQmCC" }) })
|
|
6804
6811
|
] }),
|
|
6805
|
-
/* @__PURE__ */
|
|
6806
|
-
props.version && /* @__PURE__ */
|
|
6812
|
+
/* @__PURE__ */ jsxs52("div", { className: "flex items-center md:hidden justify-center gap-6 h-20", children: [
|
|
6813
|
+
props.version && /* @__PURE__ */ jsxs52("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
6807
6814
|
"Version: ",
|
|
6808
6815
|
props.version
|
|
6809
6816
|
] }),
|
|
6810
|
-
/* @__PURE__ */
|
|
6817
|
+
/* @__PURE__ */ jsxs52("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
6811
6818
|
"\xA9 IIASA ",
|
|
6812
6819
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
6813
6820
|
] })
|
|
@@ -6875,11 +6882,11 @@ var ResourceIcon = ({
|
|
|
6875
6882
|
|
|
6876
6883
|
// src/components/DesignElements/ExpandableText.tsx
|
|
6877
6884
|
import { useState as useState11 } from "react";
|
|
6878
|
-
import { jsx as jsx126, jsxs as
|
|
6885
|
+
import { jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
6879
6886
|
var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_wrap = true }) => {
|
|
6880
6887
|
const [expanded, setExpanded] = useState11(false);
|
|
6881
6888
|
if (text.length <= maxLength || maxLength == 0) {
|
|
6882
|
-
return /* @__PURE__ */
|
|
6889
|
+
return /* @__PURE__ */ jsxs53("div", { className: no_word_wrap ? "whitespace-normal" : "whitespace-nowrap", children: [
|
|
6883
6890
|
" ",
|
|
6884
6891
|
text
|
|
6885
6892
|
] });
|
|
@@ -6887,7 +6894,7 @@ var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_w
|
|
|
6887
6894
|
const truncated = text.slice(0, maxLength);
|
|
6888
6895
|
const lastSpace = truncated.lastIndexOf(" ");
|
|
6889
6896
|
const safeText = truncated.slice(0, lastSpace);
|
|
6890
|
-
return /* @__PURE__ */
|
|
6897
|
+
return /* @__PURE__ */ jsxs53("div", { className: "text-zinc-500 " + (no_word_wrap ? "whitespace-normal" : "whitespace-nowrap"), children: [
|
|
6891
6898
|
expanded ? text : safeText + "\u2026",
|
|
6892
6899
|
" ",
|
|
6893
6900
|
show_read_more && /* @__PURE__ */ jsx126(
|
|
@@ -6902,15 +6909,15 @@ var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_w
|
|
|
6902
6909
|
};
|
|
6903
6910
|
|
|
6904
6911
|
// src/components/DesignElements/AppItemPopUpView.tsx
|
|
6905
|
-
import { Fragment as Fragment8, jsx as jsx127, jsxs as
|
|
6912
|
+
import { Fragment as Fragment8, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
6906
6913
|
var DetailRow = ({ label, value }) => {
|
|
6907
|
-
return /* @__PURE__ */ jsx127(Fragment8, { children: /* @__PURE__ */
|
|
6914
|
+
return /* @__PURE__ */ jsx127(Fragment8, { children: /* @__PURE__ */ jsxs54("div", { className: "flex gap-2 lg:gap-5 lg:justify-between py-4 max-md:flex-wrap max-md:max-w-full lg:py-6 border-0 border-b border-grey-light", children: [
|
|
6908
6915
|
/* @__PURE__ */ jsx127(Body16, { className: "text-grey", children: label }),
|
|
6909
6916
|
/* @__PURE__ */ jsx127(Body16m, { className: "lg:text-righ max-md:max-w-full", children: value })
|
|
6910
6917
|
] }) });
|
|
6911
6918
|
};
|
|
6912
6919
|
var KeyValues = ({ name, keyValues, kind }) => {
|
|
6913
|
-
return /* @__PURE__ */
|
|
6920
|
+
return /* @__PURE__ */ jsxs54(Fragment8, { children: [
|
|
6914
6921
|
/* @__PURE__ */ jsx127(Caption, { className: "text-grey", children: name }),
|
|
6915
6922
|
/* @__PURE__ */ jsx127("div", { className: "flex items-center flex-wrap text-sm font-medium whitespace-nowrap mt-2 mb-6 lg:mt-4 lg:mb-10", children: keyValues.map((keyValue, index) => /* @__PURE__ */ jsx127(ResourceTag, { tag: keyValue.value, type: kind }, index)) })
|
|
6916
6923
|
] });
|
|
@@ -6956,7 +6963,7 @@ function AppItemPopUpView({
|
|
|
6956
6963
|
const currentTypes = ((_a = types == null ? void 0 : types.find((type) => type.key === resource.resourceType)) == null ? void 0 : _a.value) || resource.resourceType;
|
|
6957
6964
|
const link = (resource == null ? void 0 : resource.link) || "";
|
|
6958
6965
|
const linkText = link.length > 70 ? `${link.slice(0, 70)}...` : link;
|
|
6959
|
-
return /* @__PURE__ */ jsx127(Transition2.Root, { show: open, as: Fragment7, "data-component": "AppItemPopUpView", children: /* @__PURE__ */
|
|
6966
|
+
return /* @__PURE__ */ jsx127(Transition2.Root, { show: open, as: Fragment7, "data-component": "AppItemPopUpView", children: /* @__PURE__ */ jsxs54(Dialog4, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
6960
6967
|
/* @__PURE__ */ jsx127(
|
|
6961
6968
|
Transition2.Child,
|
|
6962
6969
|
{
|
|
@@ -6980,12 +6987,12 @@ function AppItemPopUpView({
|
|
|
6980
6987
|
leave: "ease-in duration-200",
|
|
6981
6988
|
leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
|
|
6982
6989
|
leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
6983
|
-
children: /* @__PURE__ */
|
|
6990
|
+
children: /* @__PURE__ */ jsxs54(
|
|
6984
6991
|
Dialog4.Panel,
|
|
6985
6992
|
{
|
|
6986
6993
|
className: is_small ? `relative bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-xl sm:w-full sm:p-10` : `relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-4xl sm:w-full sm:p-10`,
|
|
6987
6994
|
children: [
|
|
6988
|
-
/* @__PURE__ */ jsx127("div", { className: "absolute top-0 right-0 " + (is_small ? "pr-2 pt-1 lg:pt-5 lg:pr-5" : "lg:pt-10 lg:pr-10"), children: /* @__PURE__ */
|
|
6995
|
+
/* @__PURE__ */ jsx127("div", { className: "absolute top-0 right-0 " + (is_small ? "pr-2 pt-1 lg:pt-5 lg:pr-5" : "lg:pt-10 lg:pr-10"), children: /* @__PURE__ */ jsxs54(
|
|
6989
6996
|
"button",
|
|
6990
6997
|
{
|
|
6991
6998
|
type: "button",
|
|
@@ -7003,9 +7010,9 @@ function AppItemPopUpView({
|
|
|
7003
7010
|
]
|
|
7004
7011
|
}
|
|
7005
7012
|
) }),
|
|
7006
|
-
/* @__PURE__ */
|
|
7007
|
-
/* @__PURE__ */
|
|
7008
|
-
/* @__PURE__ */
|
|
7013
|
+
/* @__PURE__ */ jsxs54("div", { className: is_small ? "p-5 mt-2 lg:mt-0 lg:mx-0 lg:p-0" : "p-5 lg:px-6 lg:py-2", children: [
|
|
7014
|
+
/* @__PURE__ */ jsxs54("div", { children: [
|
|
7015
|
+
/* @__PURE__ */ jsxs54("div", { className: "flex space-x-2 lg:block lg:space-x-0", children: [
|
|
7009
7016
|
resource.resourceType && /* @__PURE__ */ jsx127(ResourceIcon, { type: resource.resourceType }),
|
|
7010
7017
|
currentTypes && /* @__PURE__ */ jsx127(Body16sb, { className: "self-start mt-[10px] text-primary lg:mt-4", children: currentTypes })
|
|
7011
7018
|
] }),
|
|
@@ -7028,12 +7035,12 @@ function AppItemPopUpView({
|
|
|
7028
7035
|
}
|
|
7029
7036
|
) }) }),
|
|
7030
7037
|
resource.statistics && /* @__PURE__ */ jsx127("div", { className: "flex w-full flex-col gap-6 mt-10", children: (_b = resource.statistics) == null ? void 0 : _b.map((x) => {
|
|
7031
|
-
return /* @__PURE__ */ jsx127("div", { className: "border-b-2", children: /* @__PURE__ */
|
|
7038
|
+
return /* @__PURE__ */ jsx127("div", { className: "border-b-2", children: /* @__PURE__ */ jsxs54("div", { className: "flex justify-between items-center w-full gap-14 lg:mb-6 mb-2", children: [
|
|
7032
7039
|
/* @__PURE__ */ jsx127("div", { className: "text-zinc-500 text-base font-normal leading-5", children: x.name }),
|
|
7033
7040
|
/* @__PURE__ */ jsx127("div", { className: "text-right text-gray-900 text-base font-medium leading-5", children: x.value })
|
|
7034
7041
|
] }) }, x.name);
|
|
7035
7042
|
}) }),
|
|
7036
|
-
currentTypes && resource.publisher && /* @__PURE__ */
|
|
7043
|
+
currentTypes && resource.publisher && /* @__PURE__ */ jsxs54("div", { className: "my-6 lg:my-10", children: [
|
|
7037
7044
|
currentTypes && /* @__PURE__ */ jsx127(
|
|
7038
7045
|
DetailRow,
|
|
7039
7046
|
{
|
|
@@ -7071,7 +7078,7 @@ function AppItemPopUpView({
|
|
|
7071
7078
|
kind: "audience"
|
|
7072
7079
|
}
|
|
7073
7080
|
),
|
|
7074
|
-
(resource == null ? void 0 : resource.keywords) && ((_c = resource == null ? void 0 : resource.keywords) == null ? void 0 : _c.length) > 0 && /* @__PURE__ */
|
|
7081
|
+
(resource == null ? void 0 : resource.keywords) && ((_c = resource == null ? void 0 : resource.keywords) == null ? void 0 : _c.length) > 0 && /* @__PURE__ */ jsxs54("div", { children: [
|
|
7075
7082
|
/* @__PURE__ */ jsx127(Caption, { className: "self-start lg:mt-10 tracking-wider text-grey", children: "Keywords" }),
|
|
7076
7083
|
/* @__PURE__ */ jsx127("div", { className: "flex items-center flex-wrap mt-2 mb-6 lg:mt-4 lg:mb-10", children: (_d = resource.keywords) == null ? void 0 : _d.map((keyword, index) => /* @__PURE__ */ jsx127(
|
|
7077
7084
|
ResourceTag,
|
|
@@ -7112,18 +7119,24 @@ function AppItemPopUpView({
|
|
|
7112
7119
|
var AppItemPopUpView_default = AppItemPopUpView;
|
|
7113
7120
|
|
|
7114
7121
|
// src/components/DesignElements/AppItem.tsx
|
|
7115
|
-
import { jsx as jsx128, jsxs as
|
|
7122
|
+
import { jsx as jsx128, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7116
7123
|
var AppItem = (props) => {
|
|
7117
7124
|
var _a;
|
|
7118
7125
|
const [open, setOpen] = useState13(false);
|
|
7119
|
-
return /* @__PURE__ */
|
|
7126
|
+
return /* @__PURE__ */ jsxs55("div", { className: "w-full h-64 pointer-events-auto mb-6 md:mb-0 md:pointer-events-none", onClick: () => {
|
|
7120
7127
|
if (window.innerWidth < 700)
|
|
7121
7128
|
setOpen(true);
|
|
7122
7129
|
}, children: [
|
|
7123
|
-
/* @__PURE__ */
|
|
7130
|
+
/* @__PURE__ */ jsxs55("div", { className: "w-full h-64 relative overflow-hidden rounded-xl", children: [
|
|
7124
7131
|
/* @__PURE__ */ jsx128("img", { className: "absolute w-full h-64 rounded-xl object-cover", src: props.item.logoUrl }),
|
|
7125
7132
|
/* @__PURE__ */ jsx128("div", { className: "inset-0 absolute bg-black/20 rounded-xl" }),
|
|
7126
|
-
/* @__PURE__ */ jsx128("div", { className: "left-4 md:left-6 top-44 absolute justify-start text-white text-base font-medium leading-5", children:
|
|
7133
|
+
/* @__PURE__ */ jsx128("div", { className: "left-4 md:left-6 top-44 absolute justify-start text-white text-base font-medium leading-5", children: /* @__PURE__ */ jsxs55("div", { className: "flex flex-row ", children: [
|
|
7134
|
+
/* @__PURE__ */ jsx128("div", { children: props.item.locationType }),
|
|
7135
|
+
props.item.activeAppText && /* @__PURE__ */ jsxs55("div", { className: "flex flex-row items-center ml-2", children: [
|
|
7136
|
+
/* @__PURE__ */ jsx128("div", { className: "w-2 h-2 mr-1 bg-primary rounded-full" }),
|
|
7137
|
+
props.item.activeAppText
|
|
7138
|
+
] })
|
|
7139
|
+
] }) }),
|
|
7127
7140
|
/* @__PURE__ */ jsx128("div", { className: "w-80 left-4 md:left-6 top-48 mt-2 absolute justify-start text-white text-xl font-semibold leading-7", children: (_a = props.item) == null ? void 0 : _a.name }),
|
|
7128
7141
|
/* @__PURE__ */ jsx128(
|
|
7129
7142
|
"button",
|
|
@@ -7151,28 +7164,76 @@ var AppItem = (props) => {
|
|
|
7151
7164
|
};
|
|
7152
7165
|
|
|
7153
7166
|
// src/components/DesignElements/AppItemsList.tsx
|
|
7154
|
-
import {
|
|
7167
|
+
import { useState as useState14 } from "react";
|
|
7168
|
+
import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight5 } from "lucide-react";
|
|
7169
|
+
import { jsx as jsx129, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7155
7170
|
var AppItemsList = (props) => {
|
|
7156
|
-
|
|
7157
|
-
|
|
7171
|
+
const [toggle, setToggle] = useState14(true);
|
|
7172
|
+
const [currentPage, setCurrentPage] = useState14(1);
|
|
7173
|
+
const itemsPerPage = 6;
|
|
7174
|
+
const totalPages = Math.ceil(props.allItems.length / itemsPerPage);
|
|
7175
|
+
const currentItems = props.allItems.slice((currentPage - 1) * itemsPerPage, currentPage * itemsPerPage);
|
|
7176
|
+
return /* @__PURE__ */ jsxs56("div", { className: "w-full relative mt-10 pt-5", id: props.id, children: [
|
|
7158
7177
|
/* @__PURE__ */ jsx129("div", { className: "justify-start text-black text-lg font-normal leading-6 mb-2", children: props.name }),
|
|
7159
|
-
/* @__PURE__ */
|
|
7160
|
-
|
|
7178
|
+
/* @__PURE__ */ jsxs56("div", { className: "flex flex-row justify-between items-center", children: [
|
|
7179
|
+
/* @__PURE__ */ jsx129("div", { className: " text-gray-900 text-3xl md:text-5xl font-light", children: props.title }),
|
|
7180
|
+
props.toggleLabels && props.onToggleChange && /* @__PURE__ */ jsx129("div", { className: "flex flex-row space-x-2", children: /* @__PURE__ */ jsx129("div", { className: "hidden lg:block", children: /* @__PURE__ */ jsx129(
|
|
7181
|
+
Switch,
|
|
7182
|
+
{
|
|
7183
|
+
className: "border-2 border-primary rounded-full",
|
|
7184
|
+
checked: toggle,
|
|
7185
|
+
onCheckedChange: (checked) => {
|
|
7186
|
+
setToggle(checked);
|
|
7187
|
+
props.onToggleChange && props.onToggleChange(checked);
|
|
7188
|
+
},
|
|
7189
|
+
labels: props.toggleLabels,
|
|
7190
|
+
activeLabel: props.currentToggleLabel
|
|
7191
|
+
}
|
|
7192
|
+
) }) })
|
|
7193
|
+
] }),
|
|
7194
|
+
/* @__PURE__ */ jsx129("div", { className: "md:grid md:grid-cols-3 gap-4 md:mt-12 mt-5", children: currentItems.map((x, index) => /* @__PURE__ */ jsx129(AppItem, { item: __spreadProps(__spreadValues({}, x), { activeAppText: props.currentToggleLabel }) }, index)) }),
|
|
7195
|
+
/* @__PURE__ */ jsxs56("div", { className: "flex justify-center mt-8 items-center", children: [
|
|
7196
|
+
/* @__PURE__ */ jsx129(
|
|
7197
|
+
"button",
|
|
7198
|
+
{
|
|
7199
|
+
className: "disabled:text-[#DCDCDF] disabled:bg-gray-100 transition-colors text-[#686873] flex items-center justify-center w-10 h-10 rounded-full bg-[#F3F3F4] hover:bg-gray-300 disabled:cursor-not-allowed",
|
|
7200
|
+
onClick: () => setCurrentPage((prev) => Math.max(prev - 1, 1)),
|
|
7201
|
+
disabled: currentPage === 1,
|
|
7202
|
+
children: /* @__PURE__ */ jsx129(ChevronLeft2, {})
|
|
7203
|
+
}
|
|
7204
|
+
),
|
|
7205
|
+
/* @__PURE__ */ jsxs56("span", { className: "mx-5 text-gray-700 font-semibold flex-row flex", children: [
|
|
7206
|
+
/* @__PURE__ */ jsx129("div", { className: "text-primary w-3", children: currentPage }),
|
|
7207
|
+
/* @__PURE__ */ jsxs56("div", { className: "text-[#DCDCDF]", children: [
|
|
7208
|
+
" / ",
|
|
7209
|
+
totalPages
|
|
7210
|
+
] })
|
|
7211
|
+
] }),
|
|
7212
|
+
/* @__PURE__ */ jsx129(
|
|
7213
|
+
"button",
|
|
7214
|
+
{
|
|
7215
|
+
className: "disabled:text-[#DCDCDF] disabled:bg-gray-100 transition-colors text-[#686873] flex items-center justify-center w-10 h-10 rounded-full bg-[#F3F3F4] hover:bg-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
7216
|
+
onClick: () => setCurrentPage((prev) => Math.min(prev + 1, totalPages)),
|
|
7217
|
+
disabled: currentPage === totalPages,
|
|
7218
|
+
children: /* @__PURE__ */ jsx129(ChevronRight5, {})
|
|
7219
|
+
}
|
|
7220
|
+
)
|
|
7221
|
+
] })
|
|
7161
7222
|
] });
|
|
7162
7223
|
};
|
|
7163
7224
|
|
|
7164
7225
|
// src/components/DesignElements/SummaryCard.tsx
|
|
7165
7226
|
import { UserGroupIcon as UserGroupIcon2, PhotoIcon, DocumentCheckIcon } from "@heroicons/react/24/solid";
|
|
7166
|
-
import { jsx as jsx130, jsxs as
|
|
7227
|
+
import { jsx as jsx130, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7167
7228
|
var SummaryCard = (props) => {
|
|
7168
|
-
return /* @__PURE__ */
|
|
7169
|
-
/* @__PURE__ */
|
|
7229
|
+
return /* @__PURE__ */ jsxs57("div", { className: "w-96 h-32 relative rounded-xl outline outline-1 outline-offset-[-1px] outline-zinc-300 overflow-hidden flex-row flex w-full items-center justify-between", children: [
|
|
7230
|
+
/* @__PURE__ */ jsxs57("div", { children: [
|
|
7170
7231
|
/* @__PURE__ */ jsx130("div", { className: "ml-6 justify-center text-black text-4xl font-semibold leading-8", children: props.count }),
|
|
7171
7232
|
/* @__PURE__ */ jsx130("div", { className: "mt-2 ml-6 justify-start text-primary text-base font-semibold leading-5", children: props.name })
|
|
7172
7233
|
] }),
|
|
7173
|
-
/* @__PURE__ */
|
|
7234
|
+
/* @__PURE__ */ jsxs57("div", { className: "relative -mt-4 mr-6", children: [
|
|
7174
7235
|
/* @__PURE__ */ jsx130("div", { className: "w-14 h-14 bg-primary rounded-lg" }),
|
|
7175
|
-
/* @__PURE__ */ jsx130("div", { children: /* @__PURE__ */
|
|
7236
|
+
/* @__PURE__ */ jsx130("div", { children: /* @__PURE__ */ jsxs57("div", { className: "w-7 h-7 top-3.5 left-3.5 absolute", children: [
|
|
7176
7237
|
props.imageSrc === "document" && /* @__PURE__ */ jsx130(DocumentCheckIcon, { fill: "white", stroke: props.iconColor }),
|
|
7177
7238
|
props.imageSrc === "photo" && /* @__PURE__ */ jsx130(PhotoIcon, { fill: "white", stroke: props.iconColor }),
|
|
7178
7239
|
props.imageSrc === "group" && /* @__PURE__ */ jsx130(UserGroupIcon2, { fill: "white", stroke: props.iconColor })
|
|
@@ -7197,10 +7258,10 @@ var VideoPlayer = (props) => {
|
|
|
7197
7258
|
};
|
|
7198
7259
|
|
|
7199
7260
|
// src/components/DesignElements/Carousel/CarouselGalleryItem.tsx
|
|
7200
|
-
import { Fragment as Fragment9, jsx as jsx132, jsxs as
|
|
7261
|
+
import { Fragment as Fragment9, jsx as jsx132, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7201
7262
|
var CarouselGalleryItem = ({ text, url, id }) => {
|
|
7202
|
-
return /* @__PURE__ */
|
|
7203
|
-
!url.includes(".mp4") && !url.includes(".mov") && /* @__PURE__ */
|
|
7263
|
+
return /* @__PURE__ */ jsxs58(Fragment9, { children: [
|
|
7264
|
+
!url.includes(".mp4") && !url.includes(".mov") && /* @__PURE__ */ jsxs58("div", { className: "aspect-square sm:w-auto bg-center relative flex group ", id: "img_" + id, children: [
|
|
7204
7265
|
/* @__PURE__ */ jsx132(
|
|
7205
7266
|
ImageElement,
|
|
7206
7267
|
{
|
|
@@ -7212,7 +7273,7 @@ var CarouselGalleryItem = ({ text, url, id }) => {
|
|
|
7212
7273
|
),
|
|
7213
7274
|
/* @__PURE__ */ jsx132("div", { className: " absolute bottom-6 opacity-0 group-hover:opacity-100", children: /* @__PURE__ */ jsx132("div", { className: " mx-6 text-white text-base leading-[120%] line-clamp-4", children: text }) })
|
|
7214
7275
|
] }),
|
|
7215
|
-
(url.includes(".mp4") || url.includes(".mov")) && /* @__PURE__ */
|
|
7276
|
+
(url.includes(".mp4") || url.includes(".mov")) && /* @__PURE__ */ jsxs58("div", { className: " max-w-sm aspect-square relative group cursor-pointer overflow-hidden rounded-xl", children: [
|
|
7216
7277
|
/* @__PURE__ */ jsx132("div", { className: "transition-all duration-300 group-hover:brightness-50", id: "vid_" + id, children: /* @__PURE__ */ jsx132(
|
|
7217
7278
|
VideoPlayer,
|
|
7218
7279
|
{
|
|
@@ -7230,10 +7291,10 @@ var CarouselGalleryItem = ({ text, url, id }) => {
|
|
|
7230
7291
|
import { Fragment as Fragment10 } from "react";
|
|
7231
7292
|
import { Dialog as Dialog5, Transition as Transition3 } from "@headlessui/react";
|
|
7232
7293
|
import { XMarkIcon as XMarkIcon4 } from "@heroicons/react/24/outline";
|
|
7233
|
-
import { useState as
|
|
7234
|
-
import { ChevronLeft as
|
|
7294
|
+
import { useState as useState15, useEffect as useEffect8, useRef as useRef2 } from "react";
|
|
7295
|
+
import { ChevronLeft as ChevronLeft3, ChevronRight as ChevronRight6, RotateCw, RotateCcw } from "lucide-react";
|
|
7235
7296
|
import { TransformComponent, TransformWrapper } from "react-zoom-pan-pinch";
|
|
7236
|
-
import { jsx as jsx133, jsxs as
|
|
7297
|
+
import { jsx as jsx133, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
7237
7298
|
var GalleryCarouselOpen = ({
|
|
7238
7299
|
list,
|
|
7239
7300
|
currentPhoto,
|
|
@@ -7245,10 +7306,10 @@ var GalleryCarouselOpen = ({
|
|
|
7245
7306
|
selectImageText,
|
|
7246
7307
|
imageRotation
|
|
7247
7308
|
}) => {
|
|
7248
|
-
const [defaultPhoto, setDefaultPhoto] =
|
|
7249
|
-
const [text, setDefaultText] =
|
|
7250
|
-
const [id, setDefaultId] =
|
|
7251
|
-
const [rotation, setRotation] =
|
|
7309
|
+
const [defaultPhoto, setDefaultPhoto] = useState15(currentPhoto);
|
|
7310
|
+
const [text, setDefaultText] = useState15("");
|
|
7311
|
+
const [id, setDefaultId] = useState15("");
|
|
7312
|
+
const [rotation, setRotation] = useState15(imageRotation);
|
|
7252
7313
|
const imageRef = useRef2(null);
|
|
7253
7314
|
const currentPhotoUrl = currentPhoto.imageUrl;
|
|
7254
7315
|
const currentPhotoId = currentPhoto.id;
|
|
@@ -7299,7 +7360,7 @@ var GalleryCarouselOpen = ({
|
|
|
7299
7360
|
setDefaultId(foundPhoto.id);
|
|
7300
7361
|
}
|
|
7301
7362
|
}, [defaultPhoto, list]);
|
|
7302
|
-
return /* @__PURE__ */ jsx133(Transition3.Root, { show: open, as: Fragment10, "data-component": "ResourceView", children: /* @__PURE__ */
|
|
7363
|
+
return /* @__PURE__ */ jsx133(Transition3.Root, { show: open, as: Fragment10, "data-component": "ResourceView", children: /* @__PURE__ */ jsxs59(Dialog5, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
7303
7364
|
/* @__PURE__ */ jsx133(
|
|
7304
7365
|
Transition3.Child,
|
|
7305
7366
|
{
|
|
@@ -7313,8 +7374,8 @@ var GalleryCarouselOpen = ({
|
|
|
7313
7374
|
children: /* @__PURE__ */ jsx133("div", { className: "fixed inset-0 bg-black bg-opacity-90 transition-opacity" })
|
|
7314
7375
|
}
|
|
7315
7376
|
),
|
|
7316
|
-
/* @__PURE__ */ jsx133(Dialog5.Panel, { className: "relative ", children: /* @__PURE__ */
|
|
7317
|
-
/* @__PURE__ */ jsx133("div", { className: "absolute top-0 right-0 pt-4 pr-4 z-40", children: /* @__PURE__ */
|
|
7377
|
+
/* @__PURE__ */ jsx133(Dialog5.Panel, { className: "relative ", children: /* @__PURE__ */ jsxs59("div", { className: "fixed inset-0 flex items-center justify-between", children: [
|
|
7378
|
+
/* @__PURE__ */ jsx133("div", { className: "absolute top-0 right-0 pt-4 pr-4 z-40", children: /* @__PURE__ */ jsxs59(
|
|
7318
7379
|
"button",
|
|
7319
7380
|
{
|
|
7320
7381
|
type: "button",
|
|
@@ -7332,15 +7393,15 @@ var GalleryCarouselOpen = ({
|
|
|
7332
7393
|
]
|
|
7333
7394
|
}
|
|
7334
7395
|
) }),
|
|
7335
|
-
/* @__PURE__ */ jsx133("div", { className: "mx-20 w-full items-center z-30 cursor-default ", children: /* @__PURE__ */
|
|
7336
|
-
/* @__PURE__ */
|
|
7396
|
+
/* @__PURE__ */ jsx133("div", { className: "mx-20 w-full items-center z-30 cursor-default ", children: /* @__PURE__ */ jsxs59("div", { className: "flex flex-col", children: [
|
|
7397
|
+
/* @__PURE__ */ jsxs59("div", { className: "flex justify-between items-center w-full ", children: [
|
|
7337
7398
|
/* @__PURE__ */ jsx133(
|
|
7338
7399
|
"button",
|
|
7339
7400
|
{
|
|
7340
7401
|
type: "button",
|
|
7341
7402
|
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 z-40 ",
|
|
7342
7403
|
onClick: handlePrevious,
|
|
7343
|
-
children: /* @__PURE__ */ jsx133(
|
|
7404
|
+
children: /* @__PURE__ */ jsx133(ChevronLeft3, { className: "h-8 w-8 disabled:pointer-events-none disabled:opacity-60 text-white" })
|
|
7344
7405
|
}
|
|
7345
7406
|
),
|
|
7346
7407
|
/* @__PURE__ */ jsx133(
|
|
@@ -7353,8 +7414,8 @@ var GalleryCarouselOpen = ({
|
|
|
7353
7414
|
maxScale: 5,
|
|
7354
7415
|
wheel: { step: 0.1 },
|
|
7355
7416
|
doubleClick: { disabled: true },
|
|
7356
|
-
children: ({ zoomIn, zoomOut, resetTransform }) => /* @__PURE__ */
|
|
7357
|
-
allowZoom && /* @__PURE__ */
|
|
7417
|
+
children: ({ zoomIn, zoomOut, resetTransform }) => /* @__PURE__ */ jsxs59("div", { className: "w-full h-full flex justify-center items-center", children: [
|
|
7418
|
+
allowZoom && /* @__PURE__ */ jsxs59("div", { className: "absolute top-10 right-10 z-50 flex gap-2 bg-black/60 p-2 rounded-lg backdrop-blur-sm", children: [
|
|
7358
7419
|
/* @__PURE__ */ jsx133(
|
|
7359
7420
|
"button",
|
|
7360
7421
|
{
|
|
@@ -7385,7 +7446,7 @@ var GalleryCarouselOpen = ({
|
|
|
7385
7446
|
{
|
|
7386
7447
|
wrapperStyle: { width: "100%", height: "100%" },
|
|
7387
7448
|
contentStyle: { width: "100%", height: "100%" },
|
|
7388
|
-
children: /* @__PURE__ */
|
|
7449
|
+
children: /* @__PURE__ */ jsxs59("div", { className: "w-full flex-col flex justify-center items-center", children: [
|
|
7389
7450
|
!defaultPhoto.imageUrl.includes(".mp4") && !defaultPhoto.imageUrl.includes(".mov") && /* @__PURE__ */ jsx133(
|
|
7390
7451
|
"img",
|
|
7391
7452
|
{
|
|
@@ -7422,12 +7483,12 @@ var GalleryCarouselOpen = ({
|
|
|
7422
7483
|
type: "button",
|
|
7423
7484
|
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 z-40",
|
|
7424
7485
|
onClick: handleNext,
|
|
7425
|
-
children: /* @__PURE__ */ jsx133(
|
|
7486
|
+
children: /* @__PURE__ */ jsx133(ChevronRight6, { className: "h-8 w-8 disabled:pointer-events-none disabled:opacity-60 text-white" })
|
|
7426
7487
|
}
|
|
7427
7488
|
)
|
|
7428
7489
|
] }),
|
|
7429
|
-
/* @__PURE__ */
|
|
7430
|
-
/* @__PURE__ */
|
|
7490
|
+
/* @__PURE__ */ jsxs59("div", { className: "justify-between flex flex-row mb-5", children: [
|
|
7491
|
+
/* @__PURE__ */ jsxs59("div", { className: "gap-2 flex flex-row", children: [
|
|
7431
7492
|
/* @__PURE__ */ jsx133(RotateCcw, { className: "h-6 w-6 text-white cursor-pointer", onClick: () => {
|
|
7432
7493
|
setRotation(rotation - 90);
|
|
7433
7494
|
} }),
|
|
@@ -7465,19 +7526,19 @@ var GalleryCarouselOpen = ({
|
|
|
7465
7526
|
};
|
|
7466
7527
|
|
|
7467
7528
|
// src/components/DesignElements/Carousel/CarouselGalleryItemList.tsx
|
|
7468
|
-
import { useState as
|
|
7469
|
-
import { jsx as jsx134, jsxs as
|
|
7529
|
+
import { useState as useState16 } from "react";
|
|
7530
|
+
import { jsx as jsx134, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7470
7531
|
var CarouselItemList = (props) => {
|
|
7471
|
-
const [open, setOpen] =
|
|
7472
|
-
const [selectedItemId, setSelectedItemId] =
|
|
7473
|
-
const [selectedImageId, setSelectedImageId] =
|
|
7532
|
+
const [open, setOpen] = useState16(false);
|
|
7533
|
+
const [selectedItemId, setSelectedItemId] = useState16("");
|
|
7534
|
+
const [selectedImageId, setSelectedImageId] = useState16(null);
|
|
7474
7535
|
const handleOpenGallery = (id, imageId) => {
|
|
7475
7536
|
setOpen(true);
|
|
7476
7537
|
setSelectedItemId(id);
|
|
7477
7538
|
setSelectedImageId(imageId);
|
|
7478
7539
|
};
|
|
7479
|
-
return /* @__PURE__ */
|
|
7480
|
-
/* @__PURE__ */
|
|
7540
|
+
return /* @__PURE__ */ jsxs60("div", { children: [
|
|
7541
|
+
/* @__PURE__ */ jsxs60(Carousel, { className: "w-full px-8", orientation: props.orientation || "horizontal", children: [
|
|
7481
7542
|
/* @__PURE__ */ jsx134(CarouselContent, { className: "px-3", children: props.galleryItems.map((galleryItem, index) => /* @__PURE__ */ jsx134(CarouselItem, { className: " md:basis-1/2 lg:basis-1/3", children: /* @__PURE__ */ jsx134("div", { className: "p-1", children: /* @__PURE__ */ jsx134(
|
|
7482
7543
|
"div",
|
|
7483
7544
|
{
|
|
@@ -7610,9 +7671,9 @@ var ButtonLink = ({
|
|
|
7610
7671
|
};
|
|
7611
7672
|
|
|
7612
7673
|
// src/components/Elements/Error.tsx
|
|
7613
|
-
import { jsxs as
|
|
7674
|
+
import { jsxs as jsxs61 } from "react/jsx-runtime";
|
|
7614
7675
|
var ErrorMessage = (props) => {
|
|
7615
|
-
return /* @__PURE__ */
|
|
7676
|
+
return /* @__PURE__ */ jsxs61("div", { children: [
|
|
7616
7677
|
"Error (: ",
|
|
7617
7678
|
props.message,
|
|
7618
7679
|
")"
|
|
@@ -7620,9 +7681,9 @@ var ErrorMessage = (props) => {
|
|
|
7620
7681
|
};
|
|
7621
7682
|
|
|
7622
7683
|
// src/components/Elements/feature-disabled.tsx
|
|
7623
|
-
import { jsx as jsx137, jsxs as
|
|
7684
|
+
import { jsx as jsx137, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
7624
7685
|
var FeatureDisabled = () => {
|
|
7625
|
-
return /* @__PURE__ */ jsx137("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx137("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */
|
|
7686
|
+
return /* @__PURE__ */ jsx137("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx137("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ jsxs62("div", { className: "relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", children: [
|
|
7626
7687
|
/* @__PURE__ */ jsx137(
|
|
7627
7688
|
"svg",
|
|
7628
7689
|
{
|
|
@@ -7682,7 +7743,7 @@ var IframeViewer = ({ html, className }) => {
|
|
|
7682
7743
|
};
|
|
7683
7744
|
|
|
7684
7745
|
// src/components/Elements/loader.tsx
|
|
7685
|
-
import { jsx as jsx139, jsxs as
|
|
7746
|
+
import { jsx as jsx139, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
7686
7747
|
var LoaderFull = ({
|
|
7687
7748
|
showInCenter = true,
|
|
7688
7749
|
cssClass = null
|
|
@@ -7697,7 +7758,7 @@ var LoaderFull = ({
|
|
|
7697
7758
|
viewBox: "0 0 38 38",
|
|
7698
7759
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
7699
7760
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7700
|
-
children: /* @__PURE__ */ jsx139("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */
|
|
7761
|
+
children: /* @__PURE__ */ jsx139("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs63("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
7701
7762
|
/* @__PURE__ */ jsx139("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
7702
7763
|
/* @__PURE__ */ jsx139("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ jsx139(
|
|
7703
7764
|
"animateTransform",
|
|
@@ -7718,7 +7779,7 @@ var LoaderFull = ({
|
|
|
7718
7779
|
};
|
|
7719
7780
|
|
|
7720
7781
|
// src/components/Elements/LocalLoader.tsx
|
|
7721
|
-
import { jsx as jsx140, jsxs as
|
|
7782
|
+
import { jsx as jsx140, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
7722
7783
|
var LocalLoader = () => {
|
|
7723
7784
|
return /* @__PURE__ */ jsx140("div", { className: "flex items-center justify-center ", children: /* @__PURE__ */ jsx140(
|
|
7724
7785
|
"svg",
|
|
@@ -7726,7 +7787,7 @@ var LocalLoader = () => {
|
|
|
7726
7787
|
viewBox: "0 0 38 38",
|
|
7727
7788
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
7728
7789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7729
|
-
children: /* @__PURE__ */ jsx140("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */
|
|
7790
|
+
children: /* @__PURE__ */ jsx140("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs64("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
7730
7791
|
/* @__PURE__ */ jsx140("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
7731
7792
|
/* @__PURE__ */ jsx140("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ jsx140(
|
|
7732
7793
|
"animateTransform",
|
|
@@ -7758,9 +7819,9 @@ var MediaEmbedItem = ({ alt, src }) => {
|
|
|
7758
7819
|
};
|
|
7759
7820
|
|
|
7760
7821
|
// src/components/Elements/permission-disabled.tsx
|
|
7761
|
-
import { jsx as jsx142, jsxs as
|
|
7822
|
+
import { jsx as jsx142, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
7762
7823
|
var PermissionDisabled = () => {
|
|
7763
|
-
return /* @__PURE__ */ jsx142("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx142("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */
|
|
7824
|
+
return /* @__PURE__ */ jsx142("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx142("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ jsxs65("div", { className: "relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", children: [
|
|
7764
7825
|
/* @__PURE__ */ jsx142(
|
|
7765
7826
|
"svg",
|
|
7766
7827
|
{
|
|
@@ -7785,9 +7846,9 @@ var PermissionDisabled = () => {
|
|
|
7785
7846
|
};
|
|
7786
7847
|
|
|
7787
7848
|
// src/components/Elements/ShowLargeText.tsx
|
|
7788
|
-
import { jsx as jsx143, jsxs as
|
|
7849
|
+
import { jsx as jsx143, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
7789
7850
|
var ShowLargeText = (props) => {
|
|
7790
|
-
return /* @__PURE__ */
|
|
7851
|
+
return /* @__PURE__ */ jsxs66(
|
|
7791
7852
|
"div",
|
|
7792
7853
|
{
|
|
7793
7854
|
className: props.colSpan != null ? "sm:col-span-" + props.colSpan : "sm:col-span-1",
|
|
@@ -7800,9 +7861,9 @@ var ShowLargeText = (props) => {
|
|
|
7800
7861
|
};
|
|
7801
7862
|
|
|
7802
7863
|
// src/components/Elements/ShowShortText.tsx
|
|
7803
|
-
import { jsx as jsx144, jsxs as
|
|
7864
|
+
import { jsx as jsx144, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
7804
7865
|
var ShowShortText = (props) => {
|
|
7805
|
-
return /* @__PURE__ */
|
|
7866
|
+
return /* @__PURE__ */ jsxs67("div", { className: "sm:col-span-1", children: [
|
|
7806
7867
|
/* @__PURE__ */ jsx144("dt", { className: "text-sm font-bold", children: props.label }),
|
|
7807
7868
|
/* @__PURE__ */ jsx144("dd", { className: "mt-1 text-sm", children: props.value })
|
|
7808
7869
|
] });
|
|
@@ -7824,11 +7885,11 @@ var SizedImage = (props) => {
|
|
|
7824
7885
|
};
|
|
7825
7886
|
|
|
7826
7887
|
// src/components/Elements/UnderConstruction.tsx
|
|
7827
|
-
import { jsx as jsx146, jsxs as
|
|
7888
|
+
import { jsx as jsx146, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
7828
7889
|
var UnderConstruction = () => {
|
|
7829
|
-
return /* @__PURE__ */ jsx146("div", { className: " min-h-screen px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8", children: /* @__PURE__ */ jsx146("div", { className: "max-w-max mx-auto", children: /* @__PURE__ */
|
|
7890
|
+
return /* @__PURE__ */ jsx146("div", { className: " min-h-screen px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8", children: /* @__PURE__ */ jsx146("div", { className: "max-w-max mx-auto", children: /* @__PURE__ */ jsxs68("main", { className: "sm:flex", children: [
|
|
7830
7891
|
/* @__PURE__ */ jsx146("p", { className: "text-4xl font-extrabold text-primary-600 sm:text-5xl", children: "recodo.io" }),
|
|
7831
|
-
/* @__PURE__ */ jsx146("div", { className: "sm:ml-6", children: /* @__PURE__ */
|
|
7892
|
+
/* @__PURE__ */ jsx146("div", { className: "sm:ml-6", children: /* @__PURE__ */ jsxs68("div", { className: "sm:border-l sm:border-gray-200 sm:pl-6", children: [
|
|
7832
7893
|
/* @__PURE__ */ jsx146("h1", { className: "text-4xl font-extrabold tracking-tight sm:text-5xl", children: "Under Construction" }),
|
|
7833
7894
|
/* @__PURE__ */ jsx146("p", { className: "mt-4 text-xl ", children: "Please check back later." })
|
|
7834
7895
|
] }) })
|
|
@@ -7836,20 +7897,20 @@ var UnderConstruction = () => {
|
|
|
7836
7897
|
};
|
|
7837
7898
|
|
|
7838
7899
|
// src/components/Elements/FeaturedItemWithBannerImage.tsx
|
|
7839
|
-
import { jsx as jsx147, jsxs as
|
|
7900
|
+
import { jsx as jsx147, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
7840
7901
|
var FeaturedItemWithBannerImage = (props) => {
|
|
7841
7902
|
var _a, _b, _c, _d;
|
|
7842
|
-
return /* @__PURE__ */
|
|
7903
|
+
return /* @__PURE__ */ jsxs69("div", { className: "w-full h-full mt-15 pointer-events-auto md:pointer-events-none", onClick: () => {
|
|
7843
7904
|
if (window.innerWidth < 700 && props.itemDetails.externalWebsiteLink) window.open(props.itemDetails.externalWebsiteLink, "_blank");
|
|
7844
7905
|
}, children: [
|
|
7845
|
-
/* @__PURE__ */
|
|
7906
|
+
/* @__PURE__ */ jsxs69("div", { className: "hidden md:block relative", children: [
|
|
7846
7907
|
/* @__PURE__ */ jsx147("img", { src: (_a = props.featuredItem[0]) == null ? void 0 : _a.landscapeBannerUrl, className: "relative w-full object-contain rounded-xl mt-6 lg:mt-12 " }),
|
|
7847
|
-
props.itemDetails.externalWebsiteLink && /* @__PURE__ */ jsx147("a", { className: "hidden md:block md:pointer-events-auto absolute featuredItemButton ml-5 h-24 rounded-tr-xl", target: "_blank", href: (_b = props.itemDetails) == null ? void 0 : _b.externalWebsiteLink, children: /* @__PURE__ */ jsx147("div", { className: "w-auto h-14 bg-primary rounded-[40px] flex items-center justify-center", children: /* @__PURE__ */
|
|
7908
|
+
props.itemDetails.externalWebsiteLink && /* @__PURE__ */ jsx147("a", { className: "hidden md:block md:pointer-events-auto absolute featuredItemButton ml-5 h-24 rounded-tr-xl", target: "_blank", href: (_b = props.itemDetails) == null ? void 0 : _b.externalWebsiteLink, children: /* @__PURE__ */ jsx147("div", { className: "w-auto h-14 bg-primary rounded-[40px] flex items-center justify-center", children: /* @__PURE__ */ jsxs69("div", { className: "inline-flex gap-2", children: [
|
|
7848
7909
|
/* @__PURE__ */ jsx147("div", { className: "text-white text-base text-lg font-medium ml-6", children: "View Quest" }),
|
|
7849
7910
|
/* @__PURE__ */ jsx147("svg", { width: "13", height: "13", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "-rotate-1 mt-2 mr-6", children: /* @__PURE__ */ jsx147("path", { d: "M14.728 1.00124V10.8994C14.728 11.1751 14.6162 11.4254 14.4352 11.6065C14.2542 11.7875 14.0038 11.8992 13.7281 11.8992C13.1751 11.8992 12.7282 11.4523 12.7282 10.8994V3.41396L1.70725 14.4349C1.31622 14.8259 0.683362 14.8252 0.293039 14.4349C-0.0972836 14.0446 -0.0979906 13.4117 0.293039 13.0207L11.314 1.99975L3.82857 1.99975C3.27562 1.99975 2.82868 1.55281 2.82868 0.999856C2.82868 0.446899 3.27562 -3.6872e-05 3.82857 -3.67244e-05L13.7267 -3.66612e-05C13.8582 -3.69984e-05 13.9876 0.0260465 14.1106 0.0769579C14.3546 0.178074 14.5498 0.373349 14.651 0.617301C14.7019 0.740338 14.728 0.869715 14.728 1.00124Z", fill: "white" }) })
|
|
7850
7911
|
] }) }) })
|
|
7851
7912
|
] }),
|
|
7852
|
-
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */ jsx147("div", { className: "md:hidden", children: /* @__PURE__ */
|
|
7913
|
+
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */ jsx147("div", { className: "md:hidden", children: /* @__PURE__ */ jsxs69("div", { className: "w-full relative pt-10", children: [
|
|
7853
7914
|
/* @__PURE__ */ jsx147("div", { className: "justify-start text-black text-lg font-normal leading-6 mb-2", children: "Feature Quest" }),
|
|
7854
7915
|
/* @__PURE__ */ jsx147("img", { src: (_d = props.featuredItem[0]) == null ? void 0 : _d.portraitBannerUrl, className: "w-full h-full overflow-hidden rounded-xl object-cover mt-5" })
|
|
7855
7916
|
] }) })
|
|
@@ -7857,12 +7918,12 @@ var FeaturedItemWithBannerImage = (props) => {
|
|
|
7857
7918
|
};
|
|
7858
7919
|
|
|
7859
7920
|
// src/components/Elements/NewsLetter.tsx
|
|
7860
|
-
import { useState as
|
|
7861
|
-
import { jsx as jsx148, jsxs as
|
|
7921
|
+
import { useState as useState17 } from "react";
|
|
7922
|
+
import { jsx as jsx148, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
7862
7923
|
var NewsLetter = (props) => {
|
|
7863
|
-
const [loading, setLoading] =
|
|
7864
|
-
const [isAccepted, setIsAccepted] =
|
|
7865
|
-
const [email, setEmail] =
|
|
7924
|
+
const [loading, setLoading] = useState17(false);
|
|
7925
|
+
const [isAccepted, setIsAccepted] = useState17(false);
|
|
7926
|
+
const [email, setEmail] = useState17("");
|
|
7866
7927
|
const isEmailValid = (email2) => {
|
|
7867
7928
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email2);
|
|
7868
7929
|
};
|
|
@@ -7951,8 +8012,8 @@ var NewsLetter = (props) => {
|
|
|
7951
8012
|
setLoading(false);
|
|
7952
8013
|
}
|
|
7953
8014
|
});
|
|
7954
|
-
return /* @__PURE__ */ jsx148("div", { className: "bg-secondary", children: /* @__PURE__ */
|
|
7955
|
-
/* @__PURE__ */
|
|
8015
|
+
return /* @__PURE__ */ jsx148("div", { className: "bg-secondary", children: /* @__PURE__ */ jsxs70("div", { className: "container mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center", children: [
|
|
8016
|
+
/* @__PURE__ */ jsxs70("div", { className: "lg:w-0 lg:flex-1", children: [
|
|
7956
8017
|
/* @__PURE__ */ jsx148(
|
|
7957
8018
|
"h2",
|
|
7958
8019
|
{
|
|
@@ -7963,8 +8024,8 @@ var NewsLetter = (props) => {
|
|
|
7963
8024
|
),
|
|
7964
8025
|
/* @__PURE__ */ jsx148("p", { className: "mt-3 max-w-3xl text-lg leading-6 text-gray-500", children: props == null ? void 0 : props.SubText })
|
|
7965
8026
|
] }),
|
|
7966
|
-
/* @__PURE__ */ jsx148("div", { className: "lg:mt-0 lg:ml-8 ", children: /* @__PURE__ */
|
|
7967
|
-
/* @__PURE__ */
|
|
8027
|
+
/* @__PURE__ */ jsx148("div", { className: "lg:mt-0 lg:ml-8 ", children: /* @__PURE__ */ jsxs70("div", { children: [
|
|
8028
|
+
/* @__PURE__ */ jsxs70("div", { className: "flex flex-col md:flex-row gap-4 pt-8", children: [
|
|
7968
8029
|
/* @__PURE__ */ jsx148(
|
|
7969
8030
|
"input",
|
|
7970
8031
|
{
|
|
@@ -7978,7 +8039,7 @@ var NewsLetter = (props) => {
|
|
|
7978
8039
|
),
|
|
7979
8040
|
/* @__PURE__ */ jsx148(Button, { onClick: () => subscribe(), disabled: loading, children: "Subscribe" })
|
|
7980
8041
|
] }),
|
|
7981
|
-
/* @__PURE__ */
|
|
8042
|
+
/* @__PURE__ */ jsxs70("p", { className: "mt-3 text-sm text-gray-500", children: [
|
|
7982
8043
|
/* @__PURE__ */ jsx148(
|
|
7983
8044
|
"input",
|
|
7984
8045
|
{
|
|
@@ -8021,12 +8082,12 @@ var HeroImage = ({ path, cmsUrl }) => {
|
|
|
8021
8082
|
};
|
|
8022
8083
|
|
|
8023
8084
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
8024
|
-
import { useEffect as useEffect10, useState as
|
|
8085
|
+
import { useEffect as useEffect10, useState as useState18 } from "react";
|
|
8025
8086
|
|
|
8026
8087
|
// src/components/HeadingTextBlocks/H1BodyButton.tsx
|
|
8027
8088
|
import { Link as Link6 } from "@geowiki/core";
|
|
8028
8089
|
import parse2 from "html-react-parser";
|
|
8029
|
-
import { jsx as jsx150, jsxs as
|
|
8090
|
+
import { jsx as jsx150, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8030
8091
|
var HtmlView2 = (props) => {
|
|
8031
8092
|
const options = {
|
|
8032
8093
|
replace: (domNode) => {
|
|
@@ -8044,7 +8105,7 @@ var HtmlView2 = (props) => {
|
|
|
8044
8105
|
}
|
|
8045
8106
|
}
|
|
8046
8107
|
};
|
|
8047
|
-
return /* @__PURE__ */
|
|
8108
|
+
return /* @__PURE__ */ jsxs71(
|
|
8048
8109
|
"div",
|
|
8049
8110
|
{
|
|
8050
8111
|
className: props.cssClass !== void 0 && props.cssClass !== null ? props.cssClass : "m-5 ",
|
|
@@ -8064,16 +8125,16 @@ var H1BodyButton = (props) => {
|
|
|
8064
8125
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
8065
8126
|
return modifiedText;
|
|
8066
8127
|
};
|
|
8067
|
-
return /* @__PURE__ */
|
|
8128
|
+
return /* @__PURE__ */ jsxs71(
|
|
8068
8129
|
"div",
|
|
8069
8130
|
{
|
|
8070
8131
|
className: "px-0 container mx-auto mt-6 lg:mt-10 flex justify-start",
|
|
8071
8132
|
"data-component-name": "H1BodyButton",
|
|
8072
8133
|
children: [
|
|
8073
8134
|
/* @__PURE__ */ jsx150("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
8074
|
-
/* @__PURE__ */
|
|
8135
|
+
/* @__PURE__ */ jsxs71("div", { className: "w-full max-w-3xl lg:px-5", children: [
|
|
8075
8136
|
isNeedParse && /* @__PURE__ */ jsx150(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
8076
|
-
!isNeedParse && /* @__PURE__ */
|
|
8137
|
+
!isNeedParse && /* @__PURE__ */ jsxs71(H1Design, { children: [
|
|
8077
8138
|
props.title,
|
|
8078
8139
|
" "
|
|
8079
8140
|
] }),
|
|
@@ -8114,16 +8175,16 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
8114
8175
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
8115
8176
|
return modifiedText;
|
|
8116
8177
|
};
|
|
8117
|
-
return /* @__PURE__ */
|
|
8178
|
+
return /* @__PURE__ */ jsxs71(
|
|
8118
8179
|
"div",
|
|
8119
8180
|
{
|
|
8120
8181
|
className: "px-0 container mx-auto mt-2 lg:mt-10 flex justify-start",
|
|
8121
8182
|
"data-component-name": "H1BodyButton",
|
|
8122
8183
|
children: [
|
|
8123
8184
|
/* @__PURE__ */ jsx150("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
8124
|
-
/* @__PURE__ */
|
|
8185
|
+
/* @__PURE__ */ jsxs71("div", { className: "max-w-3xl lg:px-5", children: [
|
|
8125
8186
|
isNeedParse && /* @__PURE__ */ jsx150(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
8126
|
-
!isNeedParse && /* @__PURE__ */
|
|
8187
|
+
!isNeedParse && /* @__PURE__ */ jsxs71(BigLandingTitle, { children: [
|
|
8127
8188
|
props.title,
|
|
8128
8189
|
" "
|
|
8129
8190
|
] }),
|
|
@@ -8150,9 +8211,9 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
8150
8211
|
) : /* @__PURE__ */ jsx150(DesignButton, { children: props.button.text })
|
|
8151
8212
|
}
|
|
8152
8213
|
) }),
|
|
8153
|
-
props.show_app_stores && /* @__PURE__ */
|
|
8154
|
-
/* @__PURE__ */ jsx150("a", { href: props.google_marketplace_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */
|
|
8155
|
-
/* @__PURE__ */
|
|
8214
|
+
props.show_app_stores && /* @__PURE__ */ jsxs71("div", { className: "mt-6 gap-3 lg:gap-2 flex flex-row md:px-0", children: [
|
|
8215
|
+
/* @__PURE__ */ jsx150("a", { href: props.google_marketplace_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ jsxs71("svg", { xmlns: "http://www.w3.org/2000/svg", className: "w-full md:w-auto h-auto", viewBox: "0 0 180 53", fill: "none", children: [
|
|
8216
|
+
/* @__PURE__ */ jsxs71("g", { clipPath: "url(#clip0_5955_146)", children: [
|
|
8156
8217
|
/* @__PURE__ */ jsx150("path", { d: "M173.33 53H6.66992C3.00332 53 0.00341797 50.0188 0.00341797 46.3751V6.62585C0.00341797 2.98215 3.00332 0.000976562 6.66992 0.000976562H173.33C176.997 0.000976562 179.996 2.98215 179.996 6.62585V46.3751C179.996 50.0188 176.997 53 173.33 53Z", fill: "#100F0D" }),
|
|
8157
8218
|
/* @__PURE__ */ jsx150("path", { d: "M173.33 0.000976562H6.66992C3.00332 0.000976562 0.00341797 2.98215 0.00341797 6.62585V46.3751C0.00341797 50.0188 3.00332 53 6.66992 53H173.33C176.997 53 179.996 50.0188 179.996 46.3751V6.62585C179.996 2.98215 176.997 0.000976562 173.33 0.000976562ZM173.33 1.06042C176.418 1.06042 178.93 3.55723 178.93 6.62585V46.3751C178.93 49.4437 176.418 51.9405 173.33 51.9405H6.66992C3.58202 51.9405 1.07062 49.4437 1.07062 46.3751V6.62585C1.07062 3.55723 3.58202 1.06042 6.66992 1.06042H173.33Z", fill: "#A2A2A1" }),
|
|
8158
8219
|
/* @__PURE__ */ jsx150("path", { d: "M142.58 39.7504H145.068V23.1854H142.58V39.7504ZM164.989 29.1529L162.137 36.3342H162.052L159.092 29.1529H156.412L160.852 39.1899L158.32 44.7733H160.915L167.756 29.1534L164.989 29.1529ZM150.879 37.8688C150.066 37.8688 148.928 37.4635 148.928 36.462C148.928 35.1836 150.344 34.6934 151.566 34.6934C152.659 34.6934 153.175 34.9274 153.839 35.2473C153.646 36.7818 152.316 37.8688 150.879 37.8688ZM151.18 28.7906C149.379 28.7906 147.514 29.5794 146.742 31.3268L148.95 32.2429C149.422 31.3268 150.3 31.0287 151.223 31.0287C152.51 31.0287 153.818 31.7952 153.839 33.1595V33.3298C153.388 33.074 152.423 32.6906 151.244 32.6906C148.863 32.6906 146.44 33.9901 146.44 36.4196C146.44 38.6359 148.392 40.0638 150.579 40.0638C152.251 40.0638 153.175 39.3179 153.752 38.4439H153.839V39.7232H156.241V33.3721C156.241 30.4313 154.031 28.7906 151.18 28.7906ZM135.804 31.1694H132.266V25.4917H135.804C137.664 25.4917 138.72 27.0217 138.72 28.3305C138.72 29.6141 137.664 31.1694 135.804 31.1694ZM135.74 23.1858H129.779V39.7508H132.266V33.4753H135.74C138.498 33.4753 141.208 31.4919 141.208 28.3311C141.208 25.1709 138.498 23.1858 135.74 23.1858ZM103.233 37.8716C101.514 37.8716 100.076 36.441 100.076 34.4779C100.076 32.492 101.514 31.0412 103.233 31.0412C104.93 31.0412 106.262 32.4921 106.262 34.4779C106.262 36.441 104.93 37.8716 103.233 37.8716ZM106.09 30.0802H106.004C105.446 29.4187 104.371 28.8209 103.019 28.8209C100.183 28.8209 97.5839 31.2975 97.5839 34.4779C97.5839 37.6366 100.183 40.0914 103.019 40.0914C104.371 40.0914 105.446 39.4936 106.004 38.811H106.09V39.6214C106.09 41.7782 104.93 42.9303 103.061 42.9303C101.537 42.9303 100.592 41.8418 100.205 40.9241L98.0356 41.8205C98.658 43.3141 100.311 45.1506 103.061 45.1506C105.983 45.1506 108.453 43.4425 108.453 39.2798V29.1623H106.09L106.09 30.0802ZM110.172 39.7499H112.663V23.1849H110.172V39.7499ZM116.336 34.2854C116.272 32.108 118.034 30.9982 119.301 30.9982C120.289 30.9982 121.126 31.4894 121.406 32.1933L116.336 34.2854ZM124.069 32.4066C123.596 31.1479 122.157 28.8209 119.215 28.8209C116.293 28.8209 113.866 31.1049 113.866 34.4562C113.866 37.6155 116.272 40.0915 119.493 40.0915C122.092 40.0915 123.596 38.5124 124.22 37.5942L122.286 36.3133C121.642 37.2527 120.762 37.8717 119.493 37.8717C118.227 37.8717 117.324 37.2952 116.745 36.1638L124.327 33.0475L124.069 32.4066ZM63.6598 30.5501V32.9407H69.4163C69.2444 34.2855 68.7934 35.2672 68.1059 35.9504C67.2679 36.7827 65.9576 37.7008 63.6597 37.7008C60.1154 37.7008 57.3447 34.862 57.3447 31.3399C57.3447 27.8178 60.1154 24.9786 63.6597 24.9786C65.5715 24.9786 66.9674 25.7259 67.9985 26.6864L69.6959 24.9997C68.2563 23.6338 66.3449 22.5879 63.6597 22.5879C58.8045 22.5879 54.7234 26.5156 54.7234 31.3399C54.7234 36.1637 58.8045 40.0915 63.6597 40.0915C66.2799 40.0915 68.2564 39.2376 69.8027 37.6367C71.3923 36.0571 71.8865 33.8372 71.8865 32.0439C71.8865 31.4895 71.8432 30.9772 71.7573 30.5501H63.6598ZM78.4318 37.8716C76.713 37.8716 75.2308 36.4627 75.2308 34.4562C75.2308 32.4284 76.713 31.0413 78.4318 31.0413C80.1499 31.0413 81.6321 32.4284 81.6321 34.4562C81.6321 36.4627 80.1499 37.8716 78.4318 37.8716ZM78.4318 28.8209C75.2948 28.8209 72.7391 31.1902 72.7391 34.4562C72.7391 37.7008 75.2948 40.0915 78.4318 40.0915C81.5676 40.0915 84.1238 37.7008 84.1238 34.4562C84.1238 31.1902 81.5676 28.8209 78.4318 28.8209ZM90.8488 37.8716C89.1312 37.8716 87.6485 36.4627 87.6485 34.4562C87.6485 32.4284 89.1313 31.0413 90.8488 31.0413C92.5676 31.0413 94.0493 32.4284 94.0493 34.4562C94.0493 36.4627 92.5676 37.8716 90.8488 37.8716ZM90.8488 28.8209C87.713 28.8209 85.1573 31.1902 85.1573 34.4562C85.1573 37.7008 87.713 40.0915 90.8488 40.0915C93.9858 40.0915 96.5415 37.7008 96.5415 34.4562C96.5415 31.1902 93.9858 28.8209 90.8488 28.8209Z", fill: "white" }),
|
|
@@ -8164,7 +8225,7 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
8164
8225
|
] }),
|
|
8165
8226
|
/* @__PURE__ */ jsx150("defs", { children: /* @__PURE__ */ jsx150("clipPath", { id: "clip0_5955_146", children: /* @__PURE__ */ jsx150("rect", { width: "180", height: "53", fill: "white" }) }) })
|
|
8166
8227
|
] }) }),
|
|
8167
|
-
/* @__PURE__ */ jsx150("a", { href: props.apple_store_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */
|
|
8228
|
+
/* @__PURE__ */ jsx150("a", { href: props.apple_store_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ jsxs71(
|
|
8168
8229
|
"svg",
|
|
8169
8230
|
{
|
|
8170
8231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8173,7 +8234,7 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
8173
8234
|
fill: "none",
|
|
8174
8235
|
onClick: () => props.apple_store_link,
|
|
8175
8236
|
children: [
|
|
8176
|
-
/* @__PURE__ */
|
|
8237
|
+
/* @__PURE__ */ jsxs71("g", { clipPath: "url(#clip0_5955_114)", children: [
|
|
8177
8238
|
/* @__PURE__ */ jsx150("path", { d: "M173.596 53H6.30533C2.82933 53 0 50.1804 0 46.7288V6.26195C0 2.809 2.82933 0 6.30533 0H173.596C177.071 0 180 2.809 180 6.26195V46.7288C180 50.1804 177.071 53 173.596 53Z", fill: "#A6A6A6" }),
|
|
8178
8239
|
/* @__PURE__ */ jsx150("path", { d: "M178.709 46.73C178.709 49.5337 176.424 51.8048 173.597 51.8048H6.30543C3.4801 51.8048 1.18677 49.5337 1.18677 46.73V6.26057C1.18677 3.4582 3.4801 1.1792 6.30543 1.1792H173.596C176.424 1.1792 178.708 3.4582 178.708 6.26057L178.709 46.73Z", fill: "black" }),
|
|
8179
8240
|
/* @__PURE__ */ jsx150("path", { d: "M40.1707 26.2137C40.132 21.9432 43.6894 19.8656 43.852 19.7689C41.8374 16.8499 38.7147 16.4511 37.6174 16.4193C34.9947 16.145 32.4507 17.9788 31.1147 17.9788C29.752 17.9788 27.6947 16.4458 25.4774 16.4909C22.624 16.5346 19.9547 18.1763 18.4907 20.7256C15.4694 25.9235 17.7227 33.5622 20.6174 37.7637C22.0654 39.8215 23.7574 42.119 25.972 42.0382C28.1387 41.9494 28.948 40.6655 31.5627 40.6655C34.1534 40.6655 34.9134 42.0382 37.172 41.9865C39.4974 41.9494 40.9614 39.9195 42.3587 37.8432C44.032 35.4847 44.704 33.162 44.7307 33.0428C44.676 33.0242 40.2147 31.3322 40.1707 26.2137Z", fill: "white" }),
|
|
@@ -8212,9 +8273,9 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
8212
8273
|
};
|
|
8213
8274
|
|
|
8214
8275
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
8215
|
-
import { jsx as jsx151, jsxs as
|
|
8276
|
+
import { jsx as jsx151, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8216
8277
|
var HeroImageRightWithAppButtons = (props) => {
|
|
8217
|
-
const [description, setDescription] =
|
|
8278
|
+
const [description, setDescription] = useState18(props.description);
|
|
8218
8279
|
useEffect10(() => {
|
|
8219
8280
|
var _a;
|
|
8220
8281
|
if (typeof window !== "undefined") {
|
|
@@ -8222,7 +8283,7 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
8222
8283
|
setDescription(desc);
|
|
8223
8284
|
}
|
|
8224
8285
|
}, [props.description]);
|
|
8225
|
-
return /* @__PURE__ */ jsx151("div", { children: /* @__PURE__ */ jsx151("div", { className: "lg:mt-10", children: /* @__PURE__ */ jsx151("div", { className: "justify-end", children: /* @__PURE__ */
|
|
8286
|
+
return /* @__PURE__ */ jsx151("div", { children: /* @__PURE__ */ jsx151("div", { className: "lg:mt-10", children: /* @__PURE__ */ jsx151("div", { className: "justify-end", children: /* @__PURE__ */ jsxs72("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
|
|
8226
8287
|
/* @__PURE__ */ jsx151("div", { className: "flex flex-col w-[50%] max-md:ml-0 max-md:w-full lg:pr-5", children: /* @__PURE__ */ jsx151("div", { className: "flex flex-col self-stretch lg:pr-5 my-auto max-md:max-w-full", children: props.title && props.description && /* @__PURE__ */ jsx151(
|
|
8227
8288
|
H1BodyButtonWithApp,
|
|
8228
8289
|
{
|
|
@@ -8253,7 +8314,7 @@ var PanelHorizontal = ({
|
|
|
8253
8314
|
|
|
8254
8315
|
// src/components/HeadingTextBlocks/H2BodyButton.tsx
|
|
8255
8316
|
import { Link as Link7 } from "@geowiki/core";
|
|
8256
|
-
import { jsx as jsx153, jsxs as
|
|
8317
|
+
import { jsx as jsx153, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
8257
8318
|
var H2BodyButton = (props) => {
|
|
8258
8319
|
var _a;
|
|
8259
8320
|
const isNeedParse = /<em>(.*?)<\/em>/g.test(props.title);
|
|
@@ -8263,14 +8324,14 @@ var H2BodyButton = (props) => {
|
|
|
8263
8324
|
const modifiedText = content.replace(regex, `$1${textToAdd}`);
|
|
8264
8325
|
return modifiedText;
|
|
8265
8326
|
};
|
|
8266
|
-
return /* @__PURE__ */
|
|
8327
|
+
return /* @__PURE__ */ jsxs73(
|
|
8267
8328
|
"div",
|
|
8268
8329
|
{
|
|
8269
8330
|
id: props.id,
|
|
8270
8331
|
className: `${props.noContainer ? `lg:ml-8` : `lg:container`} mx-auto flex flex-col lg:flex-row justify-between mt-4 lg:pt-20 ${props.bottomPadding && `lg:mb-${props.bottomPadding}`}`,
|
|
8271
8332
|
children: [
|
|
8272
8333
|
/* @__PURE__ */ jsx153("div", { className: "flex flex-col lg:w-[14%]", children: /* @__PURE__ */ jsx153(Body18, { children: props.tag }) }),
|
|
8273
|
-
/* @__PURE__ */
|
|
8334
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex flex-col lg:w-[51%] space-y-4 lg:space-y-6", children: [
|
|
8274
8335
|
isNeedParse && /* @__PURE__ */ jsx153(
|
|
8275
8336
|
HtmlView,
|
|
8276
8337
|
{
|
|
@@ -8278,7 +8339,7 @@ var H2BodyButton = (props) => {
|
|
|
8278
8339
|
html: parseTitle(props.title, "H2")
|
|
8279
8340
|
}
|
|
8280
8341
|
),
|
|
8281
|
-
!isNeedParse && /* @__PURE__ */
|
|
8342
|
+
!isNeedParse && /* @__PURE__ */ jsxs73(H2Design, { className: "pt-2 lg:pt-0", children: [
|
|
8282
8343
|
props.title,
|
|
8283
8344
|
" "
|
|
8284
8345
|
] }),
|