@geowiki/design-system 0.16.9-dev.5 → 0.16.9-dev.6
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.ts +47 -22
- package/dist/index.js +864 -838
- package/dist/index.mjs +527 -504
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -327,6 +327,7 @@ __export(src_exports, {
|
|
|
327
327
|
NavigationMenuTrigger: () => NavigationMenuTrigger,
|
|
328
328
|
NavigationMenuViewport: () => NavigationMenuViewport,
|
|
329
329
|
NoResults: () => NoResults,
|
|
330
|
+
Notification: () => Notification,
|
|
330
331
|
ObservationPin: () => ObservationPin,
|
|
331
332
|
OldButton: () => OldButton,
|
|
332
333
|
OldCustomInput: () => OldCustomInput,
|
|
@@ -343,6 +344,7 @@ __export(src_exports, {
|
|
|
343
344
|
Progress: () => Progress,
|
|
344
345
|
RadioGroup: () => RadioGroup4,
|
|
345
346
|
RadioGroupItem: () => RadioGroupItem,
|
|
347
|
+
ResourceTag: () => ResourceTag,
|
|
346
348
|
ResourcesIcon: () => ResourcesIcon,
|
|
347
349
|
ResourcesQuickFind: () => ResourcesQuickFind,
|
|
348
350
|
ScrollArea: () => ScrollArea,
|
|
@@ -370,6 +372,7 @@ __export(src_exports, {
|
|
|
370
372
|
SheetTrigger: () => SheetTrigger,
|
|
371
373
|
ShowLargeText: () => ShowLargeText,
|
|
372
374
|
ShowShortText: () => ShowShortText,
|
|
375
|
+
SimpleLink: () => SimpleLink,
|
|
373
376
|
SizedImage: () => SizedImage,
|
|
374
377
|
Skeleton: () => Skeleton,
|
|
375
378
|
Slider: () => Slider,
|
|
@@ -6409,81 +6412,30 @@ var DesignResultTag = ({ tag, name }) => {
|
|
|
6409
6412
|
) : null;
|
|
6410
6413
|
};
|
|
6411
6414
|
|
|
6412
|
-
// src/components/DesignElements/
|
|
6413
|
-
var import_uuid2 = require("uuid");
|
|
6414
|
-
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6415
|
-
var TagsGroup = ({ label, tags, variant }) => {
|
|
6416
|
-
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { children: tags && (tags == null ? void 0 : tags.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "w-[41.25rem] items-start max-md:flex-wrap max-md:max-w-full", children: [
|
|
6417
|
-
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Caption, { className: "text-grey", children: label }),
|
|
6418
|
-
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "pt-2 flex flex-wrap gap-1 lg:pt-4", children: tags == null ? void 0 : tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(DesignSimpleTag, { tag, variant }, (0, import_uuid2.v4)())) })
|
|
6419
|
-
] }) });
|
|
6420
|
-
};
|
|
6421
|
-
|
|
6422
|
-
// src/components/DesignElements/TestWeight.tsx
|
|
6415
|
+
// src/components/DesignElements/ResourceTag.tsx
|
|
6423
6416
|
var import_class_variance_authority13 = require("class-variance-authority");
|
|
6424
|
-
var
|
|
6425
|
-
var
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6417
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6418
|
+
var tagVariants = (0, import_class_variance_authority13.cva)(
|
|
6419
|
+
"justify-center self-start px-4 py-2 mr-2 mt-1 text-sm font-medium text-white whitespace-nowrap rounded-[40px] first-letter:capitalize",
|
|
6420
|
+
{
|
|
6421
|
+
variants: {
|
|
6422
|
+
variant: {
|
|
6423
|
+
topic: "bg-tag-dark-blue",
|
|
6424
|
+
audience: "bg-tag-dark-green",
|
|
6425
|
+
keyword: "bg-tag-blue",
|
|
6426
|
+
language: "bg-tag-orange",
|
|
6427
|
+
resourceType: "bg-sky-500"
|
|
6428
|
+
}
|
|
6429
|
+
},
|
|
6430
|
+
defaultVariants: {
|
|
6431
|
+
variant: "topic"
|
|
6437
6432
|
}
|
|
6438
|
-
},
|
|
6439
|
-
defaultVariants: {
|
|
6440
|
-
variant: "weight400"
|
|
6441
6433
|
}
|
|
6442
|
-
|
|
6443
|
-
var
|
|
6444
|
-
return /* @__PURE__ */ (0,
|
|
6445
|
-
"div",
|
|
6446
|
-
{
|
|
6447
|
-
className: cn(weightVariants({ variant }), className),
|
|
6448
|
-
"data-component": "TestWeight",
|
|
6449
|
-
children: text
|
|
6450
|
-
}
|
|
6451
|
-
);
|
|
6452
|
-
};
|
|
6453
|
-
|
|
6454
|
-
// src/components/DesignElements/ThreeColumn.tsx
|
|
6455
|
-
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
6456
|
-
var ThreeColumn = ({ tag, content, TagClassName }) => {
|
|
6457
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("div", { className: "lg:container mx-auto lg:flex lg:gap-5 lg:justify-between lg:pr-20 lg:pt-20 w-full", children: [
|
|
6458
|
-
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Body18, { className: `pt-5 lg:w-[15%] lg:pt-0 ${TagClassName}`, children: tag }),
|
|
6459
|
-
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: "lg:w-[50%] max-md:max-w-[41.25rem]", children: content }),
|
|
6460
|
-
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: "lg:w-[15%]" })
|
|
6461
|
-
] });
|
|
6462
|
-
};
|
|
6463
|
-
|
|
6464
|
-
// src/components/DesignElements/VersionDisplay.tsx
|
|
6465
|
-
var import_react13 = require("react");
|
|
6466
|
-
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
6467
|
-
var VersionDisplay = () => {
|
|
6468
|
-
const [version, setVersion] = (0, import_react13.useState)();
|
|
6469
|
-
(0, import_react13.useEffect)(() => {
|
|
6470
|
-
fetch("/version.json").then((res) => {
|
|
6471
|
-
if (!res.ok)
|
|
6472
|
-
throw new Error("Version file not found");
|
|
6473
|
-
return res.json();
|
|
6474
|
-
}).then((data) => setVersion(data.version)).catch(() => setVersion(void 0));
|
|
6475
|
-
}, []);
|
|
6476
|
-
if (!version)
|
|
6477
|
-
return null;
|
|
6478
|
-
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "text-grey text-sm lg:text-base font-normal leading-[130%]", children: [
|
|
6479
|
-
"Version: ",
|
|
6480
|
-
version
|
|
6481
|
-
] });
|
|
6434
|
+
);
|
|
6435
|
+
var ResourceTag = ({ tag, type }) => {
|
|
6436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: cn(tagVariants({ variant: type })), children: tag });
|
|
6482
6437
|
};
|
|
6483
6438
|
|
|
6484
|
-
// src/components/DesignElements/header.tsx
|
|
6485
|
-
var import_react68 = require("react");
|
|
6486
|
-
|
|
6487
6439
|
// ../../node_modules/react-aria/dist/private/utils/domHelpers.mjs
|
|
6488
6440
|
var $d447af545b77c9f1$export$b204af158042fbac = (el) => {
|
|
6489
6441
|
var _a;
|
|
@@ -6605,12 +6557,12 @@ function $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements) {
|
|
|
6605
6557
|
}
|
|
6606
6558
|
|
|
6607
6559
|
// ../../node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
|
|
6608
|
-
var
|
|
6609
|
-
var $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (0,
|
|
6560
|
+
var import_react13 = __toESM(require("react"), 1);
|
|
6561
|
+
var $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (0, import_react13.default).useLayoutEffect : () => {
|
|
6610
6562
|
};
|
|
6611
6563
|
|
|
6612
6564
|
// ../../node_modules/react-aria/dist/private/interactions/utils.mjs
|
|
6613
|
-
var
|
|
6565
|
+
var import_react14 = require("react");
|
|
6614
6566
|
function $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent) {
|
|
6615
6567
|
let event = nativeEvent;
|
|
6616
6568
|
event.nativeEvent = nativeEvent;
|
|
@@ -6629,7 +6581,7 @@ function $a92dc41f639950be$export$c2b7abe5d61ec696(event, target) {
|
|
|
6629
6581
|
});
|
|
6630
6582
|
}
|
|
6631
6583
|
function $a92dc41f639950be$export$715c682d09d639cc(onBlur) {
|
|
6632
|
-
let stateRef = (0,
|
|
6584
|
+
let stateRef = (0, import_react14.useRef)({
|
|
6633
6585
|
isFocused: false,
|
|
6634
6586
|
observer: null
|
|
6635
6587
|
});
|
|
@@ -6642,7 +6594,7 @@ function $a92dc41f639950be$export$715c682d09d639cc(onBlur) {
|
|
|
6642
6594
|
}
|
|
6643
6595
|
};
|
|
6644
6596
|
}, []);
|
|
6645
|
-
return (0,
|
|
6597
|
+
return (0, import_react14.useCallback)((e5) => {
|
|
6646
6598
|
let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5);
|
|
6647
6599
|
if (eventTarget instanceof HTMLButtonElement || eventTarget instanceof HTMLInputElement || eventTarget instanceof HTMLTextAreaElement || eventTarget instanceof HTMLSelectElement) {
|
|
6648
6600
|
stateRef.current.isFocused = true;
|
|
@@ -6749,7 +6701,7 @@ function $b5c62b033c25b96d$export$60278871457622de(event) {
|
|
|
6749
6701
|
}
|
|
6750
6702
|
|
|
6751
6703
|
// ../../node_modules/react-aria/dist/private/utils/openLink.mjs
|
|
6752
|
-
var
|
|
6704
|
+
var import_react15 = __toESM(require("react"), 1);
|
|
6753
6705
|
function $caaf0dd3060ed57c$export$95185d699e05d4d7(target, modifiers, setOpening = true) {
|
|
6754
6706
|
var _a, _b;
|
|
6755
6707
|
let { metaKey, ctrlKey, altKey, shiftKey } = modifiers;
|
|
@@ -6782,7 +6734,7 @@ function $caaf0dd3060ed57c$export$95185d699e05d4d7(target, modifiers, setOpening
|
|
|
6782
6734
|
$caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;
|
|
6783
6735
|
|
|
6784
6736
|
// ../../node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
|
|
6785
|
-
var
|
|
6737
|
+
var import_react16 = require("react");
|
|
6786
6738
|
var $8f5a2122b0992be3$var$currentModality = null;
|
|
6787
6739
|
var $8f5a2122b0992be3$var$currentPointerType = "keyboard";
|
|
6788
6740
|
var $8f5a2122b0992be3$export$901e90a13c50a14e = /* @__PURE__ */ new Set();
|
|
@@ -6944,7 +6896,7 @@ function $8f5a2122b0992be3$var$isKeyboardFocusEvent(isTextInput, modality, e5) {
|
|
|
6944
6896
|
}
|
|
6945
6897
|
function $8f5a2122b0992be3$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
6946
6898
|
$8f5a2122b0992be3$var$setupGlobalFocusEvents();
|
|
6947
|
-
(0,
|
|
6899
|
+
(0, import_react16.useEffect)(() => {
|
|
6948
6900
|
if ((opts == null ? void 0 : opts.enabled) === false)
|
|
6949
6901
|
return;
|
|
6950
6902
|
let handler = (modality, e5) => {
|
|
@@ -6960,10 +6912,10 @@ function $8f5a2122b0992be3$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
|
6960
6912
|
}
|
|
6961
6913
|
|
|
6962
6914
|
// ../../node_modules/react-aria/dist/private/interactions/useFocus.mjs
|
|
6963
|
-
var
|
|
6915
|
+
var import_react17 = require("react");
|
|
6964
6916
|
function $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {
|
|
6965
6917
|
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
|
6966
|
-
const onBlur = (0,
|
|
6918
|
+
const onBlur = (0, import_react17.useCallback)((e5) => {
|
|
6967
6919
|
if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5) === e5.currentTarget) {
|
|
6968
6920
|
if (onBlurProp)
|
|
6969
6921
|
onBlurProp(e5);
|
|
@@ -6976,7 +6928,7 @@ function $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {
|
|
|
6976
6928
|
onFocusChange
|
|
6977
6929
|
]);
|
|
6978
6930
|
const onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);
|
|
6979
|
-
const onFocus = (0,
|
|
6931
|
+
const onFocus = (0, import_react17.useCallback)((e5) => {
|
|
6980
6932
|
let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5);
|
|
6981
6933
|
const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);
|
|
6982
6934
|
const activeElement2 = ownerDocument ? (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument) : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();
|
|
@@ -7001,10 +6953,10 @@ function $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {
|
|
|
7001
6953
|
}
|
|
7002
6954
|
|
|
7003
6955
|
// ../../node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
|
|
7004
|
-
var
|
|
6956
|
+
var import_react18 = require("react");
|
|
7005
6957
|
function $48a7d519b337145d$export$4eaf04e54aa8eed6() {
|
|
7006
|
-
let globalListeners = (0,
|
|
7007
|
-
let addGlobalListener = (0,
|
|
6958
|
+
let globalListeners = (0, import_react18.useRef)(/* @__PURE__ */ new Map());
|
|
6959
|
+
let addGlobalListener = (0, import_react18.useCallback)((eventTarget, type, listener, options) => {
|
|
7008
6960
|
let fn = (options == null ? void 0 : options.once) ? (...args) => {
|
|
7009
6961
|
globalListeners.current.delete(listener);
|
|
7010
6962
|
listener(...args);
|
|
@@ -7017,20 +6969,20 @@ function $48a7d519b337145d$export$4eaf04e54aa8eed6() {
|
|
|
7017
6969
|
});
|
|
7018
6970
|
eventTarget.addEventListener(type, fn, options);
|
|
7019
6971
|
}, []);
|
|
7020
|
-
let removeGlobalListener = (0,
|
|
6972
|
+
let removeGlobalListener = (0, import_react18.useCallback)((eventTarget, type, listener, options) => {
|
|
7021
6973
|
var _a;
|
|
7022
6974
|
let fn = ((_a = globalListeners.current.get(listener)) == null ? void 0 : _a.fn) || listener;
|
|
7023
6975
|
eventTarget.removeEventListener(type, fn, options);
|
|
7024
6976
|
globalListeners.current.delete(listener);
|
|
7025
6977
|
}, []);
|
|
7026
|
-
let removeAllGlobalListeners = (0,
|
|
6978
|
+
let removeAllGlobalListeners = (0, import_react18.useCallback)(() => {
|
|
7027
6979
|
globalListeners.current.forEach((value, key) => {
|
|
7028
6980
|
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
7029
6981
|
});
|
|
7030
6982
|
}, [
|
|
7031
6983
|
removeGlobalListener
|
|
7032
6984
|
]);
|
|
7033
|
-
(0,
|
|
6985
|
+
(0, import_react18.useEffect)(() => {
|
|
7034
6986
|
return removeAllGlobalListeners;
|
|
7035
6987
|
}, [
|
|
7036
6988
|
removeAllGlobalListeners
|
|
@@ -7043,14 +6995,14 @@ function $48a7d519b337145d$export$4eaf04e54aa8eed6() {
|
|
|
7043
6995
|
}
|
|
7044
6996
|
|
|
7045
6997
|
// ../../node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
|
|
7046
|
-
var
|
|
6998
|
+
var import_react19 = require("react");
|
|
7047
6999
|
function $2c9edc598a03d523$export$420e68273165f4ec(props) {
|
|
7048
7000
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
7049
|
-
let state = (0,
|
|
7001
|
+
let state = (0, import_react19.useRef)({
|
|
7050
7002
|
isFocusWithin: false
|
|
7051
7003
|
});
|
|
7052
7004
|
let { addGlobalListener, removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();
|
|
7053
|
-
let onBlur = (0,
|
|
7005
|
+
let onBlur = (0, import_react19.useCallback)((e5) => {
|
|
7054
7006
|
if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e5.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5)))
|
|
7055
7007
|
return;
|
|
7056
7008
|
if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e5.currentTarget, e5.relatedTarget)) {
|
|
@@ -7068,7 +7020,7 @@ function $2c9edc598a03d523$export$420e68273165f4ec(props) {
|
|
|
7068
7020
|
removeAllGlobalListeners
|
|
7069
7021
|
]);
|
|
7070
7022
|
let onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);
|
|
7071
|
-
let onFocus = (0,
|
|
7023
|
+
let onFocus = (0, import_react19.useCallback)((e5) => {
|
|
7072
7024
|
if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e5.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5)))
|
|
7073
7025
|
return;
|
|
7074
7026
|
let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e5);
|
|
@@ -7120,17 +7072,17 @@ function $2c9edc598a03d523$export$420e68273165f4ec(props) {
|
|
|
7120
7072
|
}
|
|
7121
7073
|
|
|
7122
7074
|
// ../../node_modules/react-aria/dist/private/focus/useFocusRing.mjs
|
|
7123
|
-
var
|
|
7075
|
+
var import_react20 = require("react");
|
|
7124
7076
|
function $0c4a58759813079a$export$4e328f61c538687f(props = {}) {
|
|
7125
7077
|
let { autoFocus = false, isTextInput, within } = props;
|
|
7126
|
-
let state = (0,
|
|
7078
|
+
let state = (0, import_react20.useRef)({
|
|
7127
7079
|
isFocused: false,
|
|
7128
7080
|
isFocusVisible: autoFocus || (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()
|
|
7129
7081
|
});
|
|
7130
|
-
let [isFocused, setFocused] = (0,
|
|
7131
|
-
let [isFocusVisibleState, setFocusVisible] = (0,
|
|
7132
|
-
let updateState = (0,
|
|
7133
|
-
let onFocusChange = (0,
|
|
7082
|
+
let [isFocused, setFocused] = (0, import_react20.useState)(false);
|
|
7083
|
+
let [isFocusVisibleState, setFocusVisible] = (0, import_react20.useState)(() => state.current.isFocused && state.current.isFocusVisible);
|
|
7084
|
+
let updateState = (0, import_react20.useCallback)(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);
|
|
7085
|
+
let onFocusChange = (0, import_react20.useCallback)((isFocused2) => {
|
|
7134
7086
|
state.current.isFocused = isFocused2;
|
|
7135
7087
|
state.current.isFocusVisible = (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)();
|
|
7136
7088
|
setFocused(isFocused2);
|
|
@@ -7164,7 +7116,7 @@ function $0c4a58759813079a$export$4e328f61c538687f(props = {}) {
|
|
|
7164
7116
|
}
|
|
7165
7117
|
|
|
7166
7118
|
// ../../node_modules/react-aria/dist/private/interactions/useHover.mjs
|
|
7167
|
-
var
|
|
7119
|
+
var import_react21 = require("react");
|
|
7168
7120
|
var $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;
|
|
7169
7121
|
var $e969f22b6713ca4a$var$hoverCount = 0;
|
|
7170
7122
|
function $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents() {
|
|
@@ -7200,16 +7152,16 @@ function $e969f22b6713ca4a$var$setupGlobalTouchEvents() {
|
|
|
7200
7152
|
}
|
|
7201
7153
|
function $e969f22b6713ca4a$export$ae780daf29e6d456(props) {
|
|
7202
7154
|
let { onHoverStart, onHoverChange, onHoverEnd, isDisabled } = props;
|
|
7203
|
-
let [isHovered, setHovered] = (0,
|
|
7204
|
-
let state = (0,
|
|
7155
|
+
let [isHovered, setHovered] = (0, import_react21.useState)(false);
|
|
7156
|
+
let state = (0, import_react21.useRef)({
|
|
7205
7157
|
isHovered: false,
|
|
7206
7158
|
ignoreEmulatedMouseEvents: false,
|
|
7207
7159
|
pointerType: "",
|
|
7208
7160
|
target: null
|
|
7209
7161
|
}).current;
|
|
7210
|
-
(0,
|
|
7162
|
+
(0, import_react21.useEffect)($e969f22b6713ca4a$var$setupGlobalTouchEvents, []);
|
|
7211
7163
|
let { addGlobalListener, removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();
|
|
7212
|
-
let { hoverProps, triggerHoverEnd } = (0,
|
|
7164
|
+
let { hoverProps, triggerHoverEnd } = (0, import_react21.useMemo)(() => {
|
|
7213
7165
|
let triggerHoverStart = (event, pointerType) => {
|
|
7214
7166
|
state.pointerType = pointerType;
|
|
7215
7167
|
if (isDisabled || pointerType === "touch" || state.isHovered || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(event.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event)))
|
|
@@ -7289,7 +7241,7 @@ function $e969f22b6713ca4a$export$ae780daf29e6d456(props) {
|
|
|
7289
7241
|
addGlobalListener,
|
|
7290
7242
|
removeAllGlobalListeners
|
|
7291
7243
|
]);
|
|
7292
|
-
(0,
|
|
7244
|
+
(0, import_react21.useEffect)(() => {
|
|
7293
7245
|
if (isDisabled)
|
|
7294
7246
|
triggerHoverEnd({
|
|
7295
7247
|
currentTarget: state.target
|
|
@@ -7304,7 +7256,7 @@ function $e969f22b6713ca4a$export$ae780daf29e6d456(props) {
|
|
|
7304
7256
|
}
|
|
7305
7257
|
|
|
7306
7258
|
// ../../node_modules/@headlessui/react/dist/hooks/use-active-press.js
|
|
7307
|
-
var
|
|
7259
|
+
var import_react26 = require("react");
|
|
7308
7260
|
|
|
7309
7261
|
// ../../node_modules/@headlessui/react/dist/utils/env.js
|
|
7310
7262
|
var i = Object.defineProperty;
|
|
@@ -7349,7 +7301,7 @@ function u(r12) {
|
|
|
7349
7301
|
}
|
|
7350
7302
|
|
|
7351
7303
|
// ../../node_modules/@headlessui/react/dist/hooks/use-disposables.js
|
|
7352
|
-
var
|
|
7304
|
+
var import_react22 = require("react");
|
|
7353
7305
|
|
|
7354
7306
|
// ../../node_modules/@headlessui/react/dist/utils/micro-task.js
|
|
7355
7307
|
function t(e5) {
|
|
@@ -7401,25 +7353,25 @@ function o2() {
|
|
|
7401
7353
|
|
|
7402
7354
|
// ../../node_modules/@headlessui/react/dist/hooks/use-disposables.js
|
|
7403
7355
|
function p() {
|
|
7404
|
-
let [e5] = (0,
|
|
7405
|
-
return (0,
|
|
7356
|
+
let [e5] = (0, import_react22.useState)(o2);
|
|
7357
|
+
return (0, import_react22.useEffect)(() => () => e5.dispose(), [e5]), e5;
|
|
7406
7358
|
}
|
|
7407
7359
|
|
|
7408
7360
|
// ../../node_modules/@headlessui/react/dist/hooks/use-event.js
|
|
7409
|
-
var
|
|
7361
|
+
var import_react25 = __toESM(require("react"), 1);
|
|
7410
7362
|
|
|
7411
7363
|
// ../../node_modules/@headlessui/react/dist/hooks/use-latest-value.js
|
|
7412
|
-
var
|
|
7364
|
+
var import_react24 = require("react");
|
|
7413
7365
|
|
|
7414
7366
|
// ../../node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js
|
|
7415
|
-
var
|
|
7367
|
+
var import_react23 = require("react");
|
|
7416
7368
|
var n = (e5, t11) => {
|
|
7417
|
-
s.isServer ? (0,
|
|
7369
|
+
s.isServer ? (0, import_react23.useEffect)(e5, t11) : (0, import_react23.useLayoutEffect)(e5, t11);
|
|
7418
7370
|
};
|
|
7419
7371
|
|
|
7420
7372
|
// ../../node_modules/@headlessui/react/dist/hooks/use-latest-value.js
|
|
7421
7373
|
function s3(e5) {
|
|
7422
|
-
let r12 = (0,
|
|
7374
|
+
let r12 = (0, import_react24.useRef)(e5);
|
|
7423
7375
|
return n(() => {
|
|
7424
7376
|
r12.current = e5;
|
|
7425
7377
|
}, [e5]), r12;
|
|
@@ -7428,7 +7380,7 @@ function s3(e5) {
|
|
|
7428
7380
|
// ../../node_modules/@headlessui/react/dist/hooks/use-event.js
|
|
7429
7381
|
var o4 = function(t11) {
|
|
7430
7382
|
let e5 = s3(t11);
|
|
7431
|
-
return
|
|
7383
|
+
return import_react25.default.useCallback((...r12) => e5.current(...r12), [e5]);
|
|
7432
7384
|
};
|
|
7433
7385
|
|
|
7434
7386
|
// ../../node_modules/@headlessui/react/dist/hooks/use-active-press.js
|
|
@@ -7440,7 +7392,7 @@ function P(e5, t11) {
|
|
|
7440
7392
|
return !(!e5 || !t11 || e5.right < t11.left || e5.left > t11.right || e5.bottom < t11.top || e5.top > t11.bottom);
|
|
7441
7393
|
}
|
|
7442
7394
|
function w({ disabled: e5 = false } = {}) {
|
|
7443
|
-
let t11 = (0,
|
|
7395
|
+
let t11 = (0, import_react26.useRef)(null), [n10, l7] = (0, import_react26.useState)(false), r12 = p(), o12 = o4(() => {
|
|
7444
7396
|
t11.current = null, l7(false), r12.dispose();
|
|
7445
7397
|
}), f12 = o4((s10) => {
|
|
7446
7398
|
if (r12.dispose(), t11.current === null) {
|
|
@@ -7460,14 +7412,14 @@ function w({ disabled: e5 = false } = {}) {
|
|
|
7460
7412
|
}
|
|
7461
7413
|
|
|
7462
7414
|
// ../../node_modules/@headlessui/react/dist/internal/disabled.js
|
|
7463
|
-
var
|
|
7464
|
-
var e = (0,
|
|
7415
|
+
var import_react27 = __toESM(require("react"), 1);
|
|
7416
|
+
var e = (0, import_react27.createContext)(void 0);
|
|
7465
7417
|
function a3() {
|
|
7466
|
-
return (0,
|
|
7418
|
+
return (0, import_react27.useContext)(e);
|
|
7467
7419
|
}
|
|
7468
7420
|
|
|
7469
7421
|
// ../../node_modules/@headlessui/react/dist/utils/render.js
|
|
7470
|
-
var
|
|
7422
|
+
var import_react28 = require("react");
|
|
7471
7423
|
|
|
7472
7424
|
// ../../node_modules/@headlessui/react/dist/utils/class-names.js
|
|
7473
7425
|
function t3(...r12) {
|
|
@@ -7522,8 +7474,8 @@ function b(r12, n10 = {}, e5, a15, s10) {
|
|
|
7522
7474
|
u11[`data-${c11}`] = "";
|
|
7523
7475
|
}
|
|
7524
7476
|
}
|
|
7525
|
-
if (t11 ===
|
|
7526
|
-
if (!(0,
|
|
7477
|
+
if (t11 === import_react28.Fragment && (Object.keys(m2(o12)).length > 0 || Object.keys(m2(u11)).length > 0))
|
|
7478
|
+
if (!(0, import_react28.isValidElement)(f12) || Array.isArray(f12) && f12.length > 1) {
|
|
7527
7479
|
if (Object.keys(m2(o12)).length > 0)
|
|
7528
7480
|
throw new Error(['Passing props on "Fragment"!', "", `The current component <${a15} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(m2(o12)).concat(Object.keys(m2(u11))).map((d9) => ` - ${d9}`).join(`
|
|
7529
7481
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((d9) => ` - ${d9}`).join(`
|
|
@@ -7533,12 +7485,12 @@ function b(r12, n10 = {}, e5, a15, s10) {
|
|
|
7533
7485
|
let d9 = f12.props, p4 = d9 == null ? void 0 : d9.className, c11 = typeof p4 == "function" ? (...F5) => t3(p4(...F5), o12.className) : t3(p4, o12.className), T7 = c11 ? { className: c11 } : {}, g3 = N(f12.props, m2(h(o12, ["ref"])));
|
|
7534
7486
|
for (let F5 in u11)
|
|
7535
7487
|
F5 in g3 && delete u11[F5];
|
|
7536
|
-
return (0,
|
|
7488
|
+
return (0, import_react28.cloneElement)(f12, Object.assign({}, g3, u11, y8, { ref: s10(f12.ref, y8.ref) }, T7));
|
|
7537
7489
|
}
|
|
7538
|
-
return (0,
|
|
7490
|
+
return (0, import_react28.createElement)(t11, Object.assign({}, h(o12, ["ref"]), t11 !== import_react28.Fragment && y8, t11 !== import_react28.Fragment && u11), f12);
|
|
7539
7491
|
}
|
|
7540
7492
|
function U() {
|
|
7541
|
-
let r12 = (0,
|
|
7493
|
+
let r12 = (0, import_react28.useRef)([]), n10 = (0, import_react28.useCallback)((e5) => {
|
|
7542
7494
|
for (let a15 of r12.current)
|
|
7543
7495
|
a15 != null && (typeof a15 == "function" ? a15(e5) : a15.current = e5);
|
|
7544
7496
|
}, []);
|
|
@@ -7600,7 +7552,7 @@ function D(...r12) {
|
|
|
7600
7552
|
}
|
|
7601
7553
|
function I(r12) {
|
|
7602
7554
|
var n10;
|
|
7603
|
-
return Object.assign((0,
|
|
7555
|
+
return Object.assign((0, import_react28.forwardRef)(r12), { displayName: (n10 = r12.displayName) != null ? n10 : r12.name });
|
|
7604
7556
|
}
|
|
7605
7557
|
function m2(r12) {
|
|
7606
7558
|
let n10 = Object.assign({}, r12);
|
|
@@ -7616,10 +7568,10 @@ function h(r12, n10 = []) {
|
|
|
7616
7568
|
}
|
|
7617
7569
|
|
|
7618
7570
|
// ../../node_modules/@headlessui/react/dist/hooks/use-id.js
|
|
7619
|
-
var
|
|
7571
|
+
var import_react29 = require("react");
|
|
7620
7572
|
|
|
7621
7573
|
// ../../node_modules/@headlessui/react/dist/internal/form-fields.js
|
|
7622
|
-
var
|
|
7574
|
+
var import_react30 = __toESM(require("react"), 1);
|
|
7623
7575
|
var import_react_dom = require("react-dom");
|
|
7624
7576
|
|
|
7625
7577
|
// ../../node_modules/@headlessui/react/dist/internal/hidden.js
|
|
@@ -7633,13 +7585,13 @@ function l(t11, r12) {
|
|
|
7633
7585
|
var T = I(l);
|
|
7634
7586
|
|
|
7635
7587
|
// ../../node_modules/@headlessui/react/dist/internal/form-fields.js
|
|
7636
|
-
var f2 = (0,
|
|
7588
|
+
var f2 = (0, import_react30.createContext)(null);
|
|
7637
7589
|
function c2({ children: t11 }) {
|
|
7638
|
-
let e5 = (0,
|
|
7590
|
+
let e5 = (0, import_react30.useContext)(f2);
|
|
7639
7591
|
if (!e5)
|
|
7640
|
-
return
|
|
7592
|
+
return import_react30.default.createElement(import_react30.default.Fragment, null, t11);
|
|
7641
7593
|
let { target: r12 } = e5;
|
|
7642
|
-
return r12 ? (0, import_react_dom.createPortal)(
|
|
7594
|
+
return r12 ? (0, import_react_dom.createPortal)(import_react30.default.createElement(import_react30.default.Fragment, null, t11), r12) : null;
|
|
7643
7595
|
}
|
|
7644
7596
|
|
|
7645
7597
|
// ../../node_modules/@headlessui/react/dist/utils/bugs.js
|
|
@@ -7663,17 +7615,17 @@ function i3(n10) {
|
|
|
7663
7615
|
}
|
|
7664
7616
|
|
|
7665
7617
|
// ../../node_modules/@headlessui/react/dist/components/description/description.js
|
|
7666
|
-
var
|
|
7618
|
+
var import_react32 = __toESM(require("react"), 1);
|
|
7667
7619
|
|
|
7668
7620
|
// ../../node_modules/@headlessui/react/dist/hooks/use-sync-refs.js
|
|
7669
|
-
var
|
|
7621
|
+
var import_react31 = require("react");
|
|
7670
7622
|
var u4 = Symbol();
|
|
7671
7623
|
function T2(t11, n10 = true) {
|
|
7672
7624
|
return Object.assign(t11, { [u4]: n10 });
|
|
7673
7625
|
}
|
|
7674
7626
|
function y(...t11) {
|
|
7675
|
-
let n10 = (0,
|
|
7676
|
-
(0,
|
|
7627
|
+
let n10 = (0, import_react31.useRef)(t11);
|
|
7628
|
+
(0, import_react31.useEffect)(() => {
|
|
7677
7629
|
n10.current = t11;
|
|
7678
7630
|
}, [t11]);
|
|
7679
7631
|
let c11 = o4((e5) => {
|
|
@@ -7684,10 +7636,10 @@ function y(...t11) {
|
|
|
7684
7636
|
}
|
|
7685
7637
|
|
|
7686
7638
|
// ../../node_modules/@headlessui/react/dist/components/description/description.js
|
|
7687
|
-
var a5 = (0,
|
|
7639
|
+
var a5 = (0, import_react32.createContext)(null);
|
|
7688
7640
|
a5.displayName = "DescriptionContext";
|
|
7689
7641
|
function f3() {
|
|
7690
|
-
let r12 = (0,
|
|
7642
|
+
let r12 = (0, import_react32.useContext)(a5);
|
|
7691
7643
|
if (r12 === null) {
|
|
7692
7644
|
let e5 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
|
|
7693
7645
|
throw Error.captureStackTrace && Error.captureStackTrace(e5, f3), e5;
|
|
@@ -7695,20 +7647,20 @@ function f3() {
|
|
|
7695
7647
|
return r12;
|
|
7696
7648
|
}
|
|
7697
7649
|
function U2() {
|
|
7698
|
-
let [r12, e5] = (0,
|
|
7699
|
-
return [r12.length > 0 ? r12.join(" ") : void 0, (0,
|
|
7650
|
+
let [r12, e5] = (0, import_react32.useState)([]);
|
|
7651
|
+
return [r12.length > 0 ? r12.join(" ") : void 0, (0, import_react32.useMemo)(() => function(t11) {
|
|
7700
7652
|
let i11 = o4((n10) => (e5((s10) => [...s10, n10]), () => e5((s10) => {
|
|
7701
7653
|
let o12 = s10.slice(), p4 = o12.indexOf(n10);
|
|
7702
7654
|
return p4 !== -1 && o12.splice(p4, 1), o12;
|
|
7703
|
-
}))), l7 = (0,
|
|
7704
|
-
return
|
|
7655
|
+
}))), l7 = (0, import_react32.useMemo)(() => ({ register: i11, slot: t11.slot, name: t11.name, props: t11.props, value: t11.value }), [i11, t11.slot, t11.name, t11.props, t11.value]);
|
|
7656
|
+
return import_react32.default.createElement(a5.Provider, { value: l7 }, t11.children);
|
|
7705
7657
|
}, [e5])];
|
|
7706
7658
|
}
|
|
7707
7659
|
var S2 = "p";
|
|
7708
7660
|
function C(r12, e5) {
|
|
7709
|
-
let d9 = (0,
|
|
7661
|
+
let d9 = (0, import_react29.useId)(), t11 = a3(), _a = r12, { id: i11 = `headlessui-description-${d9}` } = _a, l7 = __objRest(_a, ["id"]), n10 = f3(), s10 = y(e5);
|
|
7710
7662
|
n(() => n10.register(i11), [i11, n10.register]);
|
|
7711
|
-
let o12 = t11 || false, p4 = (0,
|
|
7663
|
+
let o12 = t11 || false, p4 = (0, import_react32.useMemo)(() => __spreadProps(__spreadValues({}, n10.slot), { disabled: o12 }), [n10.slot, o12]), D6 = __spreadProps(__spreadValues({ ref: s10 }, n10.props), { id: i11 });
|
|
7712
7664
|
return H({ ourProps: D6, theirProps: l7, slot: p4, defaultTag: S2, name: n10.name || "Description" });
|
|
7713
7665
|
}
|
|
7714
7666
|
var _ = I(C);
|
|
@@ -7718,15 +7670,15 @@ var w3 = Object.assign(_, {});
|
|
|
7718
7670
|
var o6 = ((r12) => (r12.Space = " ", r12.Enter = "Enter", r12.Escape = "Escape", r12.Backspace = "Backspace", r12.Delete = "Delete", r12.ArrowLeft = "ArrowLeft", r12.ArrowUp = "ArrowUp", r12.ArrowRight = "ArrowRight", r12.ArrowDown = "ArrowDown", r12.Home = "Home", r12.End = "End", r12.PageUp = "PageUp", r12.PageDown = "PageDown", r12.Tab = "Tab", r12))(o6 || {});
|
|
7719
7671
|
|
|
7720
7672
|
// ../../node_modules/@headlessui/react/dist/internal/close-provider.js
|
|
7721
|
-
var
|
|
7722
|
-
var e2 = (0,
|
|
7673
|
+
var import_react33 = __toESM(require("react"), 1);
|
|
7674
|
+
var e2 = (0, import_react33.createContext)(() => {
|
|
7723
7675
|
});
|
|
7724
7676
|
function u6({ value: o12, children: t11 }) {
|
|
7725
|
-
return
|
|
7677
|
+
return import_react33.default.createElement(e2.Provider, { value: o12 }, t11);
|
|
7726
7678
|
}
|
|
7727
7679
|
|
|
7728
7680
|
// ../../node_modules/@headlessui/react/dist/hooks/use-element-size.js
|
|
7729
|
-
var
|
|
7681
|
+
var import_react34 = require("react");
|
|
7730
7682
|
function s5(e5) {
|
|
7731
7683
|
if (e5 === null)
|
|
7732
7684
|
return { width: 0, height: 0 };
|
|
@@ -7734,7 +7686,7 @@ function s5(e5) {
|
|
|
7734
7686
|
return { width: n10, height: t11 };
|
|
7735
7687
|
}
|
|
7736
7688
|
function f4(e5, n10 = false) {
|
|
7737
|
-
let t11 = e5 === null ? null : "current" in e5 ? e5.current : e5, [l7, u11] = (0,
|
|
7689
|
+
let t11 = e5 === null ? null : "current" in e5 ? e5.current : e5, [l7, u11] = (0, import_react34.useReducer)(() => ({}), {}), r12 = (0, import_react34.useMemo)(() => s5(t11), [t11, l7]);
|
|
7738
7690
|
return n(() => {
|
|
7739
7691
|
if (!t11)
|
|
7740
7692
|
return;
|
|
@@ -7746,7 +7698,7 @@ function f4(e5, n10 = false) {
|
|
|
7746
7698
|
}
|
|
7747
7699
|
|
|
7748
7700
|
// ../../node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js
|
|
7749
|
-
var
|
|
7701
|
+
var import_react36 = require("react");
|
|
7750
7702
|
|
|
7751
7703
|
// ../../node_modules/@headlessui/react/dist/utils/default-map.js
|
|
7752
7704
|
var a6 = class extends Map {
|
|
@@ -7774,9 +7726,9 @@ function a7(o12, r12) {
|
|
|
7774
7726
|
}
|
|
7775
7727
|
|
|
7776
7728
|
// ../../node_modules/@headlessui/react/dist/hooks/use-store.js
|
|
7777
|
-
var
|
|
7729
|
+
var import_react35 = require("react");
|
|
7778
7730
|
function o8(t11) {
|
|
7779
|
-
return (0,
|
|
7731
|
+
return (0, import_react35.useSyncExternalStore)(t11.subscribe, t11.getSnapshot, t11.getSnapshot);
|
|
7780
7732
|
}
|
|
7781
7733
|
|
|
7782
7734
|
// ../../node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js
|
|
@@ -7790,7 +7742,7 @@ var p2 = new a6(() => a7(() => [], { ADD(r12) {
|
|
|
7790
7742
|
return t11.splice(e5, 1), t11;
|
|
7791
7743
|
} }));
|
|
7792
7744
|
function x2(r12, e5) {
|
|
7793
|
-
let t11 = p2.get(e5), i11 = (0,
|
|
7745
|
+
let t11 = p2.get(e5), i11 = (0, import_react36.useId)(), h5 = o8(t11);
|
|
7794
7746
|
if (n(() => {
|
|
7795
7747
|
if (r12)
|
|
7796
7748
|
return t11.dispatch("ADD", i11), () => t11.dispatch("REMOVE", i11);
|
|
@@ -7844,13 +7796,13 @@ function y2(t11, { allowed: r12, disallowed: e5 } = {}) {
|
|
|
7844
7796
|
}
|
|
7845
7797
|
|
|
7846
7798
|
// ../../node_modules/@headlessui/react/dist/hooks/use-on-disappear.js
|
|
7847
|
-
var
|
|
7799
|
+
var import_react37 = require("react");
|
|
7848
7800
|
function m6(s10, n10, l7) {
|
|
7849
7801
|
let i11 = s3((t11) => {
|
|
7850
7802
|
let e5 = t11.getBoundingClientRect();
|
|
7851
7803
|
e5.x === 0 && e5.y === 0 && e5.width === 0 && e5.height === 0 && l7();
|
|
7852
7804
|
});
|
|
7853
|
-
(0,
|
|
7805
|
+
(0, import_react37.useEffect)(() => {
|
|
7854
7806
|
if (!s10)
|
|
7855
7807
|
return;
|
|
7856
7808
|
let t11 = n10 === null ? null : n10 instanceof HTMLElement ? n10 : n10.current;
|
|
@@ -7870,7 +7822,7 @@ function m6(s10, n10, l7) {
|
|
|
7870
7822
|
}
|
|
7871
7823
|
|
|
7872
7824
|
// ../../node_modules/@headlessui/react/dist/hooks/use-outside-click.js
|
|
7873
|
-
var
|
|
7825
|
+
var import_react40 = require("react");
|
|
7874
7826
|
|
|
7875
7827
|
// ../../node_modules/@headlessui/react/dist/utils/focus-management.js
|
|
7876
7828
|
var f6 = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e5) => `${e5}:not([tabindex='-1'])`).join(",");
|
|
@@ -7971,10 +7923,10 @@ function n5() {
|
|
|
7971
7923
|
}
|
|
7972
7924
|
|
|
7973
7925
|
// ../../node_modules/@headlessui/react/dist/hooks/use-document-event.js
|
|
7974
|
-
var
|
|
7926
|
+
var import_react38 = require("react");
|
|
7975
7927
|
function i7(t11, e5, o12, n10) {
|
|
7976
7928
|
let u11 = s3(o12);
|
|
7977
|
-
(0,
|
|
7929
|
+
(0, import_react38.useEffect)(() => {
|
|
7978
7930
|
if (!t11)
|
|
7979
7931
|
return;
|
|
7980
7932
|
function r12(m12) {
|
|
@@ -7985,10 +7937,10 @@ function i7(t11, e5, o12, n10) {
|
|
|
7985
7937
|
}
|
|
7986
7938
|
|
|
7987
7939
|
// ../../node_modules/@headlessui/react/dist/hooks/use-window-event.js
|
|
7988
|
-
var
|
|
7940
|
+
var import_react39 = require("react");
|
|
7989
7941
|
function s6(t11, e5, o12, n10) {
|
|
7990
7942
|
let i11 = s3(o12);
|
|
7991
|
-
(0,
|
|
7943
|
+
(0, import_react39.useEffect)(() => {
|
|
7992
7944
|
if (!t11)
|
|
7993
7945
|
return;
|
|
7994
7946
|
function r12(d9) {
|
|
@@ -8001,7 +7953,7 @@ function s6(t11, e5, o12, n10) {
|
|
|
8001
7953
|
// ../../node_modules/@headlessui/react/dist/hooks/use-outside-click.js
|
|
8002
7954
|
var d2 = 30;
|
|
8003
7955
|
function F2(E8, p4, C2) {
|
|
8004
|
-
let u11 = x2(E8, "outside-click"), f12 = s3(C2), s10 = (0,
|
|
7956
|
+
let u11 = x2(E8, "outside-click"), f12 = s3(C2), s10 = (0, import_react40.useCallback)(function(e5, o12) {
|
|
8005
7957
|
if (e5.defaultPrevented)
|
|
8006
7958
|
return;
|
|
8007
7959
|
let r12 = o12(e5);
|
|
@@ -8018,7 +7970,7 @@ function F2(E8, p4, C2) {
|
|
|
8018
7970
|
return;
|
|
8019
7971
|
}
|
|
8020
7972
|
return !A2(r12, h3.Loose) && r12.tabIndex !== -1 && e5.preventDefault(), f12.current(e5, r12);
|
|
8021
|
-
}, [f12]), l7 = (0,
|
|
7973
|
+
}, [f12]), l7 = (0, import_react40.useRef)(null);
|
|
8022
7974
|
i7(u11, "pointerdown", (t11) => {
|
|
8023
7975
|
var e5, o12;
|
|
8024
7976
|
l7.current = ((o12 = (e5 = t11.composedPath) == null ? void 0 : e5.call(t11)) == null ? void 0 : o12[0]) || t11.target;
|
|
@@ -8028,7 +7980,7 @@ function F2(E8, p4, C2) {
|
|
|
8028
7980
|
}, true), i7(u11, "click", (t11) => {
|
|
8029
7981
|
n5() || l7.current && (s10(t11, () => l7.current), l7.current = null);
|
|
8030
7982
|
}, true);
|
|
8031
|
-
let a15 = (0,
|
|
7983
|
+
let a15 = (0, import_react40.useRef)({ x: 0, y: 0 });
|
|
8032
7984
|
i7(u11, "touchstart", (t11) => {
|
|
8033
7985
|
a15.current.x = t11.touches[0].clientX, a15.current.y = t11.touches[0].clientY;
|
|
8034
7986
|
}, true), i7(u11, "touchend", (t11) => {
|
|
@@ -8039,16 +7991,16 @@ function F2(E8, p4, C2) {
|
|
|
8039
7991
|
}
|
|
8040
7992
|
|
|
8041
7993
|
// ../../node_modules/@headlessui/react/dist/hooks/use-owner.js
|
|
8042
|
-
var
|
|
7994
|
+
var import_react41 = require("react");
|
|
8043
7995
|
function n6(...e5) {
|
|
8044
|
-
return (0,
|
|
7996
|
+
return (0, import_react41.useMemo)(() => u(...e5), [...e5]);
|
|
8045
7997
|
}
|
|
8046
7998
|
|
|
8047
7999
|
// ../../node_modules/@headlessui/react/dist/hooks/use-event-listener.js
|
|
8048
|
-
var
|
|
8000
|
+
var import_react42 = require("react");
|
|
8049
8001
|
function E4(n10, e5, a15, t11) {
|
|
8050
8002
|
let i11 = s3(a15);
|
|
8051
|
-
(0,
|
|
8003
|
+
(0, import_react42.useEffect)(() => {
|
|
8052
8004
|
n10 = n10 != null ? n10 : window;
|
|
8053
8005
|
function r12(o12) {
|
|
8054
8006
|
i11.current(o12);
|
|
@@ -8058,7 +8010,7 @@ function E4(n10, e5, a15, t11) {
|
|
|
8058
8010
|
}
|
|
8059
8011
|
|
|
8060
8012
|
// ../../node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js
|
|
8061
|
-
var
|
|
8013
|
+
var import_react43 = require("react");
|
|
8062
8014
|
function i8(t11) {
|
|
8063
8015
|
var n10;
|
|
8064
8016
|
if (t11.type)
|
|
@@ -8068,7 +8020,7 @@ function i8(t11) {
|
|
|
8068
8020
|
return "button";
|
|
8069
8021
|
}
|
|
8070
8022
|
function T5(t11, e5) {
|
|
8071
|
-
let [n10, u11] = (0,
|
|
8023
|
+
let [n10, u11] = (0, import_react43.useState)(() => i8(t11));
|
|
8072
8024
|
return n(() => {
|
|
8073
8025
|
u11(i8(t11));
|
|
8074
8026
|
}, [t11.type, t11.as]), n(() => {
|
|
@@ -8200,7 +8152,7 @@ function f7(e5, c11, n10 = () => [document.body]) {
|
|
|
8200
8152
|
}
|
|
8201
8153
|
|
|
8202
8154
|
// ../../node_modules/@headlessui/react/dist/hooks/use-transition.js
|
|
8203
|
-
var
|
|
8155
|
+
var import_react45 = require("react");
|
|
8204
8156
|
|
|
8205
8157
|
// ../../node_modules/@headlessui/react/dist/utils/once.js
|
|
8206
8158
|
function l3(r12) {
|
|
@@ -8212,9 +8164,9 @@ function l3(r12) {
|
|
|
8212
8164
|
}
|
|
8213
8165
|
|
|
8214
8166
|
// ../../node_modules/@headlessui/react/dist/hooks/use-flags.js
|
|
8215
|
-
var
|
|
8167
|
+
var import_react44 = require("react");
|
|
8216
8168
|
function c6(u11 = 0) {
|
|
8217
|
-
let [t11, l7] = (0,
|
|
8169
|
+
let [t11, l7] = (0, import_react44.useState)(u11), g3 = (0, import_react44.useCallback)((e5) => l7(e5), [t11]), s10 = (0, import_react44.useCallback)((e5) => l7((a15) => a15 | e5), [t11]), m12 = (0, import_react44.useCallback)((e5) => (t11 & e5) === e5, [t11]), n10 = (0, import_react44.useCallback)((e5) => l7((a15) => a15 & ~e5), [l7]), F5 = (0, import_react44.useCallback)((e5) => l7((a15) => a15 ^ e5), [l7]);
|
|
8218
8170
|
return { flags: t11, setFlag: g3, addFlag: s10, hasFlag: m12, removeFlag: n10, toggleFlag: F5 };
|
|
8219
8171
|
}
|
|
8220
8172
|
|
|
@@ -8227,7 +8179,7 @@ function A3(e5) {
|
|
|
8227
8179
|
return a15;
|
|
8228
8180
|
}
|
|
8229
8181
|
function V(e5, a15, t11, r12) {
|
|
8230
|
-
let [i11, u11] = (0,
|
|
8182
|
+
let [i11, u11] = (0, import_react45.useState)(t11), { hasFlag: d9, addFlag: f12, removeFlag: s10 } = c6(e5 && i11 ? 3 : 0), l7 = (0, import_react45.useRef)(false), n10 = (0, import_react45.useRef)(false), o12 = p();
|
|
8231
8183
|
return n(function p4() {
|
|
8232
8184
|
var T7;
|
|
8233
8185
|
if (!e5)
|
|
@@ -8286,10 +8238,10 @@ function R2(e5, { inFlight: a15, prepare: t11 }) {
|
|
|
8286
8238
|
}
|
|
8287
8239
|
|
|
8288
8240
|
// ../../node_modules/@headlessui/react/dist/hooks/use-watch.js
|
|
8289
|
-
var
|
|
8241
|
+
var import_react46 = require("react");
|
|
8290
8242
|
function m9(u11, t11) {
|
|
8291
|
-
let e5 = (0,
|
|
8292
|
-
(0,
|
|
8243
|
+
let e5 = (0, import_react46.useRef)([]), r12 = o4(u11);
|
|
8244
|
+
(0, import_react46.useEffect)(() => {
|
|
8293
8245
|
let o12 = [...e5.current];
|
|
8294
8246
|
for (let [a15, l7] of t11.entries())
|
|
8295
8247
|
if (e5.current[a15] !== l7) {
|
|
@@ -8301,7 +8253,7 @@ function m9(u11, t11) {
|
|
|
8301
8253
|
|
|
8302
8254
|
// ../../node_modules/@floating-ui/react/dist/floating-ui.react.mjs
|
|
8303
8255
|
var React45 = __toESM(require("react"), 1);
|
|
8304
|
-
var
|
|
8256
|
+
var import_react48 = require("react");
|
|
8305
8257
|
|
|
8306
8258
|
// ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
8307
8259
|
function hasWindow() {
|
|
@@ -9761,12 +9713,12 @@ var computePosition2 = (reference, floating, options) => {
|
|
|
9761
9713
|
|
|
9762
9714
|
// ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
9763
9715
|
var React44 = __toESM(require("react"), 1);
|
|
9764
|
-
var
|
|
9716
|
+
var import_react47 = require("react");
|
|
9765
9717
|
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
9766
9718
|
var isClient = typeof document !== "undefined";
|
|
9767
9719
|
var noop = function noop2() {
|
|
9768
9720
|
};
|
|
9769
|
-
var index = isClient ?
|
|
9721
|
+
var index = isClient ? import_react47.useLayoutEffect : noop;
|
|
9770
9722
|
function deepEqual(a15, b5) {
|
|
9771
9723
|
if (a15 === b5) {
|
|
9772
9724
|
return true;
|
|
@@ -10038,7 +9990,7 @@ var ARROW_UP = "ArrowUp";
|
|
|
10038
9990
|
var ARROW_DOWN = "ArrowDown";
|
|
10039
9991
|
var ARROW_LEFT = "ArrowLeft";
|
|
10040
9992
|
var ARROW_RIGHT = "ArrowRight";
|
|
10041
|
-
var index2 = typeof document !== "undefined" ?
|
|
9993
|
+
var index2 = typeof document !== "undefined" ? import_react48.useLayoutEffect : import_react48.useEffect;
|
|
10042
9994
|
var horizontalKeys = [ARROW_LEFT, ARROW_RIGHT];
|
|
10043
9995
|
var verticalKeys = [ARROW_UP, ARROW_DOWN];
|
|
10044
9996
|
var allKeys = [...horizontalKeys, ...verticalKeys];
|
|
@@ -10490,35 +10442,35 @@ function useInnerOffset(context, props) {
|
|
|
10490
10442
|
|
|
10491
10443
|
// ../../node_modules/@headlessui/react/dist/internal/floating.js
|
|
10492
10444
|
var j2 = __toESM(require("react"), 1);
|
|
10493
|
-
var
|
|
10494
|
-
var y4 = (0,
|
|
10445
|
+
var import_react50 = require("react");
|
|
10446
|
+
var y4 = (0, import_react50.createContext)({ styles: void 0, setReference: () => {
|
|
10495
10447
|
}, setFloating: () => {
|
|
10496
10448
|
}, getReferenceProps: () => ({}), getFloatingProps: () => ({}), slot: {} });
|
|
10497
10449
|
y4.displayName = "FloatingContext";
|
|
10498
|
-
var S5 = (0,
|
|
10450
|
+
var S5 = (0, import_react50.createContext)(null);
|
|
10499
10451
|
S5.displayName = "PlacementContext";
|
|
10500
10452
|
function xe(e5) {
|
|
10501
|
-
return (0,
|
|
10453
|
+
return (0, import_react50.useMemo)(() => e5 ? typeof e5 == "string" ? { to: e5 } : e5 : null, [e5]);
|
|
10502
10454
|
}
|
|
10503
10455
|
function ye() {
|
|
10504
|
-
return (0,
|
|
10456
|
+
return (0, import_react50.useContext)(y4).setReference;
|
|
10505
10457
|
}
|
|
10506
10458
|
function be() {
|
|
10507
|
-
let { getFloatingProps: e5, slot: t11 } = (0,
|
|
10508
|
-
return (0,
|
|
10459
|
+
let { getFloatingProps: e5, slot: t11 } = (0, import_react50.useContext)(y4);
|
|
10460
|
+
return (0, import_react50.useCallback)((...n10) => Object.assign({}, e5(...n10), { "data-anchor": t11.anchor }), [e5, t11]);
|
|
10509
10461
|
}
|
|
10510
10462
|
function Re(e5 = null) {
|
|
10511
10463
|
e5 === false && (e5 = null), typeof e5 == "string" && (e5 = { to: e5 });
|
|
10512
|
-
let t11 = (0,
|
|
10464
|
+
let t11 = (0, import_react50.useContext)(S5), n10 = (0, import_react50.useMemo)(() => e5, [JSON.stringify(e5, typeof HTMLElement != "undefined" ? (a15, r12) => r12 instanceof HTMLElement ? r12.outerHTML : r12 : void 0)]);
|
|
10513
10465
|
n(() => {
|
|
10514
10466
|
t11 == null || t11(n10 != null ? n10 : null);
|
|
10515
10467
|
}, [t11, n10]);
|
|
10516
|
-
let l7 = (0,
|
|
10517
|
-
return (0,
|
|
10468
|
+
let l7 = (0, import_react50.useContext)(y4);
|
|
10469
|
+
return (0, import_react50.useMemo)(() => [l7.setFloating, e5 ? l7.styles : {}], [l7.setFloating, e5, l7.styles]);
|
|
10518
10470
|
}
|
|
10519
10471
|
var q = 4;
|
|
10520
10472
|
function ve({ children: e5, enabled: t11 = true }) {
|
|
10521
|
-
let [n10, l7] = (0,
|
|
10473
|
+
let [n10, l7] = (0, import_react50.useState)(null), [a15, r12] = (0, import_react50.useState)(0), c11 = (0, import_react50.useRef)(null), [u11, i11] = (0, import_react50.useState)(null);
|
|
10522
10474
|
pe(u11);
|
|
10523
10475
|
let o12 = t11 && n10 !== null && u11 !== null, { to: F5 = "bottom", gap: C2 = 0, offset: M8 = 0, padding: p4 = 0, inner: P4 } = ce(n10, u11), [s10, f12 = "center"] = F5.split(" ");
|
|
10524
10476
|
n(() => {
|
|
@@ -10550,7 +10502,7 @@ function ve({ children: e5, enabled: t11 = true }) {
|
|
|
10550
10502
|
Object.assign(T7.floating.style, { overflow: "auto", maxWidth: `${h5}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${d9}px)` });
|
|
10551
10503
|
} })].filter(Boolean), whileElementsMounted: autoUpdate }), [I6 = s10, V4 = f12] = g3.placement.split("-");
|
|
10552
10504
|
s10 === "selection" && (I6 = "selection");
|
|
10553
|
-
let G2 = (0,
|
|
10505
|
+
let G2 = (0, import_react50.useMemo)(() => ({ anchor: [I6, V4].filter(Boolean).join(" ") }), [I6, V4]), K2 = useInnerOffset(g3, { overflowRef: c11, onChange: r12 }), { getReferenceProps: Q, getFloatingProps: X4 } = useInteractions([K2]), Y3 = o4((h5) => {
|
|
10554
10506
|
i11(h5), b5.setFloating(h5);
|
|
10555
10507
|
});
|
|
10556
10508
|
return j2.createElement(S5.Provider, { value: l7 }, j2.createElement(y4.Provider, { value: { setFloating: Y3, setReference: b5.setReference, styles: $2, getReferenceProps: Q, getFloatingProps: X4, slot: G2 } }, e5));
|
|
@@ -10607,7 +10559,7 @@ function L(e5, t11, n10 = void 0) {
|
|
|
10607
10559
|
}];
|
|
10608
10560
|
}
|
|
10609
10561
|
return [n10, null];
|
|
10610
|
-
}), r12 = (0,
|
|
10562
|
+
}), r12 = (0, import_react50.useMemo)(() => a15(e5, t11)[0], [e5, t11]), [c11 = r12, u11] = (0, import_react50.useState)();
|
|
10611
10563
|
return n(() => {
|
|
10612
10564
|
let [i11, o12] = a15(e5, t11);
|
|
10613
10565
|
if (u11(i11), !!o12)
|
|
@@ -10633,18 +10585,18 @@ function J(e5, t11) {
|
|
|
10633
10585
|
}
|
|
10634
10586
|
|
|
10635
10587
|
// ../../node_modules/@headlessui/react/dist/internal/open-closed.js
|
|
10636
|
-
var
|
|
10637
|
-
var n7 = (0,
|
|
10588
|
+
var import_react51 = __toESM(require("react"), 1);
|
|
10589
|
+
var n7 = (0, import_react51.createContext)(null);
|
|
10638
10590
|
n7.displayName = "OpenClosedContext";
|
|
10639
10591
|
var i9 = ((e5) => (e5[e5.Open = 1] = "Open", e5[e5.Closed = 2] = "Closed", e5[e5.Closing = 4] = "Closing", e5[e5.Opening = 8] = "Opening", e5))(i9 || {});
|
|
10640
10592
|
function u8() {
|
|
10641
|
-
return (0,
|
|
10593
|
+
return (0, import_react51.useContext)(n7);
|
|
10642
10594
|
}
|
|
10643
10595
|
function c7({ value: o12, children: t11 }) {
|
|
10644
|
-
return
|
|
10596
|
+
return import_react51.default.createElement(n7.Provider, { value: o12 }, t11);
|
|
10645
10597
|
}
|
|
10646
10598
|
function s8({ children: o12 }) {
|
|
10647
|
-
return
|
|
10599
|
+
return import_react51.default.createElement(n7.Provider, { value: null }, o12);
|
|
10648
10600
|
}
|
|
10649
10601
|
|
|
10650
10602
|
// ../../node_modules/@headlessui/react/dist/utils/document-ready.js
|
|
@@ -10665,14 +10617,14 @@ t6(() => {
|
|
|
10665
10617
|
});
|
|
10666
10618
|
|
|
10667
10619
|
// ../../node_modules/@headlessui/react/dist/components/portal/portal.js
|
|
10668
|
-
var
|
|
10620
|
+
var import_react54 = __toESM(require("react"), 1);
|
|
10669
10621
|
var import_react_dom4 = require("react-dom");
|
|
10670
10622
|
|
|
10671
10623
|
// ../../node_modules/@headlessui/react/dist/hooks/use-on-unmount.js
|
|
10672
|
-
var
|
|
10624
|
+
var import_react52 = require("react");
|
|
10673
10625
|
function c8(t11) {
|
|
10674
|
-
let r12 = o4(t11), e5 = (0,
|
|
10675
|
-
(0,
|
|
10626
|
+
let r12 = o4(t11), e5 = (0, import_react52.useRef)(false);
|
|
10627
|
+
(0, import_react52.useEffect)(() => (e5.current = false, () => {
|
|
10676
10628
|
e5.current = true, t(() => {
|
|
10677
10629
|
e5.current && r12();
|
|
10678
10630
|
});
|
|
@@ -10694,18 +10646,18 @@ function l5() {
|
|
|
10694
10646
|
}
|
|
10695
10647
|
|
|
10696
10648
|
// ../../node_modules/@headlessui/react/dist/internal/portal-force-root.js
|
|
10697
|
-
var
|
|
10698
|
-
var e4 = (0,
|
|
10649
|
+
var import_react53 = __toESM(require("react"), 1);
|
|
10650
|
+
var e4 = (0, import_react53.createContext)(false);
|
|
10699
10651
|
function a11() {
|
|
10700
|
-
return (0,
|
|
10652
|
+
return (0, import_react53.useContext)(e4);
|
|
10701
10653
|
}
|
|
10702
10654
|
function l6(o12) {
|
|
10703
|
-
return
|
|
10655
|
+
return import_react53.default.createElement(e4.Provider, { value: o12.force }, o12.children);
|
|
10704
10656
|
}
|
|
10705
10657
|
|
|
10706
10658
|
// ../../node_modules/@headlessui/react/dist/components/portal/portal.js
|
|
10707
10659
|
function D4(p4) {
|
|
10708
|
-
let r12 = a11(), l7 = (0,
|
|
10660
|
+
let r12 = a11(), l7 = (0, import_react54.useContext)(v3), e5 = n6(p4), [o12, n10] = (0, import_react54.useState)(() => {
|
|
10709
10661
|
var t11;
|
|
10710
10662
|
if (!r12 && l7 !== null)
|
|
10711
10663
|
return (t11 = l7.current) != null ? t11 : null;
|
|
@@ -10719,20 +10671,20 @@ function D4(p4) {
|
|
|
10719
10671
|
let a15 = e5.createElement("div");
|
|
10720
10672
|
return a15.setAttribute("id", "headlessui-portal-root"), e5.body.appendChild(a15);
|
|
10721
10673
|
});
|
|
10722
|
-
return (0,
|
|
10674
|
+
return (0, import_react54.useEffect)(() => {
|
|
10723
10675
|
o12 !== null && (e5 != null && e5.body.contains(o12) || e5 == null || e5.body.appendChild(o12));
|
|
10724
|
-
}, [o12, e5]), (0,
|
|
10676
|
+
}, [o12, e5]), (0, import_react54.useEffect)(() => {
|
|
10725
10677
|
r12 || l7 !== null && n10(l7.current);
|
|
10726
10678
|
}, [l7, n10, r12]), o12;
|
|
10727
10679
|
}
|
|
10728
|
-
var M3 =
|
|
10680
|
+
var M3 = import_react54.Fragment;
|
|
10729
10681
|
var N2 = I(function(r12, l7) {
|
|
10730
|
-
let e5 = r12, o12 = (0,
|
|
10682
|
+
let e5 = r12, o12 = (0, import_react54.useRef)(null), n10 = y(T2((i11) => {
|
|
10731
10683
|
o12.current = i11;
|
|
10732
|
-
}), l7), u11 = n6(o12), a15 = D4(o12), [t11] = (0,
|
|
10684
|
+
}), l7), u11 = n6(o12), a15 = D4(o12), [t11] = (0, import_react54.useState)(() => {
|
|
10733
10685
|
var i11;
|
|
10734
10686
|
return s.isServer ? null : (i11 = u11 == null ? void 0 : u11.createElement("div")) != null ? i11 : null;
|
|
10735
|
-
}), s10 = (0,
|
|
10687
|
+
}), s10 = (0, import_react54.useContext)(y5), b5 = l5();
|
|
10736
10688
|
return n(() => {
|
|
10737
10689
|
!a15 || !t11 || a15.contains(t11) || (t11.setAttribute("data-headlessui-portal", ""), a15.appendChild(t11));
|
|
10738
10690
|
}, [a15, t11]), n(() => {
|
|
@@ -10745,22 +10697,22 @@ var N2 = I(function(r12, l7) {
|
|
|
10745
10697
|
});
|
|
10746
10698
|
function S6(p4, r12) {
|
|
10747
10699
|
let l7 = y(r12), _a = p4, { enabled: e5 = true } = _a, o12 = __objRest(_a, ["enabled"]);
|
|
10748
|
-
return e5 ?
|
|
10700
|
+
return e5 ? import_react54.default.createElement(N2, __spreadProps(__spreadValues({}, o12), { ref: l7 })) : H({ ourProps: { ref: l7 }, theirProps: o12, slot: {}, defaultTag: M3, name: "Portal" });
|
|
10749
10701
|
}
|
|
10750
|
-
var j3 =
|
|
10751
|
-
var v3 = (0,
|
|
10702
|
+
var j3 = import_react54.Fragment;
|
|
10703
|
+
var v3 = (0, import_react54.createContext)(null);
|
|
10752
10704
|
function W(p4, r12) {
|
|
10753
10705
|
let _a = p4, { target: l7 } = _a, e5 = __objRest(_a, ["target"]), n10 = { ref: y(r12) };
|
|
10754
|
-
return
|
|
10706
|
+
return import_react54.default.createElement(v3.Provider, { value: l7 }, H({ ourProps: n10, theirProps: e5, defaultTag: j3, name: "Popover.Group" }));
|
|
10755
10707
|
}
|
|
10756
|
-
var y5 = (0,
|
|
10708
|
+
var y5 = (0, import_react54.createContext)(null);
|
|
10757
10709
|
function ee() {
|
|
10758
|
-
let p4 = (0,
|
|
10710
|
+
let p4 = (0, import_react54.useContext)(y5), r12 = (0, import_react54.useRef)([]), l7 = o4((n10) => (r12.current.push(n10), p4 && p4.register(n10), () => e5(n10))), e5 = o4((n10) => {
|
|
10759
10711
|
let u11 = r12.current.indexOf(n10);
|
|
10760
10712
|
u11 !== -1 && r12.current.splice(u11, 1), p4 && p4.unregister(n10);
|
|
10761
|
-
}), o12 = (0,
|
|
10762
|
-
return [r12, (0,
|
|
10763
|
-
return
|
|
10713
|
+
}), o12 = (0, import_react54.useMemo)(() => ({ register: l7, unregister: e5, portals: r12 }), [l7, e5, r12]);
|
|
10714
|
+
return [r12, (0, import_react54.useMemo)(() => function({ children: u11 }) {
|
|
10715
|
+
return import_react54.default.createElement(y5.Provider, { value: o12 }, u11);
|
|
10764
10716
|
}, [o12])];
|
|
10765
10717
|
}
|
|
10766
10718
|
var I3 = I(S6);
|
|
@@ -10768,7 +10720,7 @@ var J2 = I(W);
|
|
|
10768
10720
|
var te = Object.assign(I3, { Group: J2 });
|
|
10769
10721
|
|
|
10770
10722
|
// ../../node_modules/@headlessui/react/dist/components/dialog/dialog.js
|
|
10771
|
-
var
|
|
10723
|
+
var import_react61 = __toESM(require("react"), 1);
|
|
10772
10724
|
|
|
10773
10725
|
// ../../node_modules/@headlessui/react/dist/hooks/use-escape.js
|
|
10774
10726
|
function a12(o12, r12 = typeof document != "undefined" ? document.defaultView : null, t11) {
|
|
@@ -10779,10 +10731,10 @@ function a12(o12, r12 = typeof document != "undefined" ? document.defaultView :
|
|
|
10779
10731
|
}
|
|
10780
10732
|
|
|
10781
10733
|
// ../../node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js
|
|
10782
|
-
var
|
|
10734
|
+
var import_react55 = require("react");
|
|
10783
10735
|
function f10() {
|
|
10784
10736
|
var t11;
|
|
10785
|
-
let [e5] = (0,
|
|
10737
|
+
let [e5] = (0, import_react55.useState)(() => typeof window != "undefined" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [o12, c11] = (0, import_react55.useState)((t11 = e5 == null ? void 0 : e5.matches) != null ? t11 : false);
|
|
10786
10738
|
return n(() => {
|
|
10787
10739
|
if (!e5)
|
|
10788
10740
|
return;
|
|
@@ -10794,10 +10746,10 @@ function f10() {
|
|
|
10794
10746
|
}
|
|
10795
10747
|
|
|
10796
10748
|
// ../../node_modules/@headlessui/react/dist/hooks/use-root-containers.js
|
|
10797
|
-
var
|
|
10749
|
+
var import_react56 = __toESM(require("react"), 1);
|
|
10798
10750
|
function j4({ defaultContainers: o12 = [], portals: r12, mainTreeNodeRef: u11 } = {}) {
|
|
10799
10751
|
var f12;
|
|
10800
|
-
let t11 = (0,
|
|
10752
|
+
let t11 = (0, import_react56.useRef)((f12 = u11 == null ? void 0 : u11.current) != null ? f12 : null), l7 = n6(t11), c11 = o4(() => {
|
|
10801
10753
|
var i11, s10, a15;
|
|
10802
10754
|
let n10 = [];
|
|
10803
10755
|
for (let e5 of o12)
|
|
@@ -10809,34 +10761,34 @@ function j4({ defaultContainers: o12 = [], portals: r12, mainTreeNodeRef: u11 }
|
|
|
10809
10761
|
e5 !== document.body && e5 !== document.head && e5 instanceof HTMLElement && e5.id !== "headlessui-portal-root" && (e5.contains(t11.current) || e5.contains((a15 = (s10 = t11.current) == null ? void 0 : s10.getRootNode()) == null ? void 0 : a15.host) || n10.some((L5) => e5.contains(L5)) || n10.push(e5));
|
|
10810
10762
|
return n10;
|
|
10811
10763
|
});
|
|
10812
|
-
return { resolveContainers: c11, contains: o4((n10) => c11().some((i11) => i11.contains(n10))), mainTreeNodeRef: t11, MainTreeNode: (0,
|
|
10813
|
-
return u11 != null ? null :
|
|
10764
|
+
return { resolveContainers: c11, contains: o4((n10) => c11().some((i11) => i11.contains(n10))), mainTreeNodeRef: t11, MainTreeNode: (0, import_react56.useMemo)(() => function() {
|
|
10765
|
+
return u11 != null ? null : import_react56.default.createElement(T, { features: s4.Hidden, ref: t11 });
|
|
10814
10766
|
}, [t11, u11]) };
|
|
10815
10767
|
}
|
|
10816
10768
|
function y6() {
|
|
10817
|
-
let o12 = (0,
|
|
10818
|
-
return { mainTreeNodeRef: o12, MainTreeNode: (0,
|
|
10819
|
-
return
|
|
10769
|
+
let o12 = (0, import_react56.useRef)(null);
|
|
10770
|
+
return { mainTreeNodeRef: o12, MainTreeNode: (0, import_react56.useMemo)(() => function() {
|
|
10771
|
+
return import_react56.default.createElement(T, { features: s4.Hidden, ref: o12 });
|
|
10820
10772
|
}, [o12]) };
|
|
10821
10773
|
}
|
|
10822
10774
|
|
|
10823
10775
|
// ../../node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js
|
|
10824
|
-
var
|
|
10776
|
+
var import_react59 = __toESM(require("react"), 1);
|
|
10825
10777
|
|
|
10826
10778
|
// ../../node_modules/@headlessui/react/dist/hooks/use-is-mounted.js
|
|
10827
|
-
var
|
|
10779
|
+
var import_react57 = require("react");
|
|
10828
10780
|
function f11() {
|
|
10829
|
-
let e5 = (0,
|
|
10781
|
+
let e5 = (0, import_react57.useRef)(false);
|
|
10830
10782
|
return n(() => (e5.current = true, () => {
|
|
10831
10783
|
e5.current = false;
|
|
10832
10784
|
}), []), e5;
|
|
10833
10785
|
}
|
|
10834
10786
|
|
|
10835
10787
|
// ../../node_modules/@headlessui/react/dist/hooks/use-tab-direction.js
|
|
10836
|
-
var
|
|
10788
|
+
var import_react58 = require("react");
|
|
10837
10789
|
var a13 = ((r12) => (r12[r12.Forwards = 0] = "Forwards", r12[r12.Backwards = 1] = "Backwards", r12))(a13 || {});
|
|
10838
10790
|
function u10() {
|
|
10839
|
-
let e5 = (0,
|
|
10791
|
+
let e5 = (0, import_react58.useRef)(0);
|
|
10840
10792
|
return s6(true, "keydown", (r12) => {
|
|
10841
10793
|
r12.key === "Tab" && (e5.current = r12.shiftKey ? 1 : 0);
|
|
10842
10794
|
}, true), e5;
|
|
@@ -10856,7 +10808,7 @@ function U3(o12) {
|
|
|
10856
10808
|
var Y = "div";
|
|
10857
10809
|
var x3 = ((n10) => (n10[n10.None = 0] = "None", n10[n10.InitialFocus = 1] = "InitialFocus", n10[n10.TabLock = 2] = "TabLock", n10[n10.FocusLock = 4] = "FocusLock", n10[n10.RestoreFocus = 8] = "RestoreFocus", n10[n10.AutoFocus = 16] = "AutoFocus", n10))(x3 || {});
|
|
10858
10810
|
function Z(o12, e5) {
|
|
10859
|
-
let t11 = (0,
|
|
10811
|
+
let t11 = (0, import_react59.useRef)(null), r12 = y(t11, e5), _a = o12, { initialFocus: s10, initialFocusFallback: a15, containers: n10, features: u11 = 15 } = _a, f12 = __objRest(_a, ["initialFocus", "initialFocusFallback", "containers", "features"]);
|
|
10860
10812
|
l5() || (u11 = 0);
|
|
10861
10813
|
let l7 = n6(t11);
|
|
10862
10814
|
w5(u11, { ownerDocument: l7 });
|
|
@@ -10873,7 +10825,7 @@ function Z(o12, e5) {
|
|
|
10873
10825
|
P3(m12, F.Last, { skipElements: [c11.relatedTarget, a15] });
|
|
10874
10826
|
} });
|
|
10875
10827
|
});
|
|
10876
|
-
}), v6 = x2(!!(u11 & 2), "focus-trap#tab-lock"), N3 = p(), F5 = (0,
|
|
10828
|
+
}), v6 = x2(!!(u11 & 2), "focus-trap#tab-lock"), N3 = p(), F5 = (0, import_react59.useRef)(false), k3 = { ref: r12, onKeyDown(c11) {
|
|
10877
10829
|
c11.key == "Tab" && (F5.current = true, N3.requestAnimationFrame(() => {
|
|
10878
10830
|
F5.current = false;
|
|
10879
10831
|
}));
|
|
@@ -10885,12 +10837,12 @@ function Z(o12, e5) {
|
|
|
10885
10837
|
let d9 = c11.relatedTarget;
|
|
10886
10838
|
d9 instanceof HTMLElement && d9.dataset.headlessuiFocusGuard !== "true" && (I4(m12, d9) || (F5.current ? P3(t11.current, u2(R6.current, { [a13.Forwards]: () => F.Next, [a13.Backwards]: () => F.Previous }) | F.WrapAround, { relativeTo: c11.target }) : c11.target instanceof HTMLElement && I2(c11.target)));
|
|
10887
10839
|
} };
|
|
10888
|
-
return
|
|
10840
|
+
return import_react59.default.createElement(import_react59.default.Fragment, null, v6 && import_react59.default.createElement(T, { as: "button", type: "button", "data-headlessui-focus-guard": true, onFocus: g3, features: s4.Focusable }), H({ ourProps: k3, theirProps: f12, defaultTag: Y, name: "FocusTrap" }), v6 && import_react59.default.createElement(T, { as: "button", type: "button", "data-headlessui-focus-guard": true, onFocus: g3, features: s4.Focusable }));
|
|
10889
10841
|
}
|
|
10890
10842
|
var $ = I(Z);
|
|
10891
10843
|
var Fe = Object.assign($, { features: x3 });
|
|
10892
10844
|
function D5(o12 = true) {
|
|
10893
|
-
let e5 = (0,
|
|
10845
|
+
let e5 = (0, import_react59.useRef)(t7.slice());
|
|
10894
10846
|
return m9(([t11], [r12]) => {
|
|
10895
10847
|
r12 === true && t11 === false && t(() => {
|
|
10896
10848
|
e5.current.splice(0);
|
|
@@ -10909,7 +10861,7 @@ function w5(o12, { ownerDocument: e5 }) {
|
|
|
10909
10861
|
});
|
|
10910
10862
|
}
|
|
10911
10863
|
function ee2(o12, { ownerDocument: e5, container: t11, initialFocus: r12, initialFocusFallback: s10 }) {
|
|
10912
|
-
let a15 = (0,
|
|
10864
|
+
let a15 = (0, import_react59.useRef)(null), n10 = x2(!!(o12 & 1), "focus-trap#initial-focus"), u11 = f11();
|
|
10913
10865
|
return m9(() => {
|
|
10914
10866
|
if (o12 === 0)
|
|
10915
10867
|
return;
|
|
@@ -10969,33 +10921,33 @@ function I4(o12, e5) {
|
|
|
10969
10921
|
}
|
|
10970
10922
|
|
|
10971
10923
|
// ../../node_modules/@headlessui/react/dist/components/transition/transition.js
|
|
10972
|
-
var
|
|
10924
|
+
var import_react60 = __toESM(require("react"), 1);
|
|
10973
10925
|
function le(e5) {
|
|
10974
10926
|
var t11;
|
|
10975
|
-
return !!(e5.enter || e5.enterFrom || e5.enterTo || e5.leave || e5.leaveFrom || e5.leaveTo) || ((t11 = e5.as) != null ? t11 : ue2) !==
|
|
10927
|
+
return !!(e5.enter || e5.enterFrom || e5.enterTo || e5.leave || e5.leaveFrom || e5.leaveTo) || ((t11 = e5.as) != null ? t11 : ue2) !== import_react60.Fragment || import_react60.default.Children.count(e5.children) === 1;
|
|
10976
10928
|
}
|
|
10977
|
-
var V2 = (0,
|
|
10929
|
+
var V2 = (0, import_react60.createContext)(null);
|
|
10978
10930
|
V2.displayName = "TransitionContext";
|
|
10979
10931
|
var xe2 = ((i11) => (i11.Visible = "visible", i11.Hidden = "hidden", i11))(xe2 || {});
|
|
10980
10932
|
function Ne() {
|
|
10981
|
-
let e5 = (0,
|
|
10933
|
+
let e5 = (0, import_react60.useContext)(V2);
|
|
10982
10934
|
if (e5 === null)
|
|
10983
10935
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
10984
10936
|
return e5;
|
|
10985
10937
|
}
|
|
10986
10938
|
function _e() {
|
|
10987
|
-
let e5 = (0,
|
|
10939
|
+
let e5 = (0, import_react60.useContext)(w6);
|
|
10988
10940
|
if (e5 === null)
|
|
10989
10941
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
10990
10942
|
return e5;
|
|
10991
10943
|
}
|
|
10992
|
-
var w6 = (0,
|
|
10944
|
+
var w6 = (0, import_react60.createContext)(null);
|
|
10993
10945
|
w6.displayName = "NestingContext";
|
|
10994
10946
|
function M6(e5) {
|
|
10995
10947
|
return "children" in e5 ? M6(e5.children) : e5.current.filter(({ el: t11 }) => t11.current !== null).filter(({ state: t11 }) => t11 === "visible").length > 0;
|
|
10996
10948
|
}
|
|
10997
10949
|
function ae2(e5, t11) {
|
|
10998
|
-
let i11 = s3(e5), l7 = (0,
|
|
10950
|
+
let i11 = s3(e5), l7 = (0, import_react60.useRef)([]), S7 = f11(), E8 = p(), u11 = o4((s10, r12 = M.Hidden) => {
|
|
10999
10951
|
let n10 = l7.current.findIndex(({ el: o12 }) => o12 === s10);
|
|
11000
10952
|
n10 !== -1 && (u2(r12, { [M.Unmount]() {
|
|
11001
10953
|
l7.current.splice(n10, 1);
|
|
@@ -11008,7 +10960,7 @@ function ae2(e5, t11) {
|
|
|
11008
10960
|
}), y8 = o4((s10) => {
|
|
11009
10961
|
let r12 = l7.current.find(({ el: n10 }) => n10 === s10);
|
|
11010
10962
|
return r12 ? r12.state !== "visible" && (r12.state = "visible") : l7.current.push({ el: s10, state: "visible" }), () => u11(s10, M.Unmount);
|
|
11011
|
-
}), c11 = (0,
|
|
10963
|
+
}), c11 = (0, import_react60.useRef)([]), f12 = (0, import_react60.useRef)(Promise.resolve()), p4 = (0, import_react60.useRef)({ enter: [], leave: [] }), m12 = o4((s10, r12, n10) => {
|
|
11012
10964
|
c11.current.splice(0), t11 && (t11.chains.current[r12] = t11.chains.current[r12].filter(([o12]) => o12 !== s10)), t11 == null || t11.chains.current[r12].push([s10, new Promise((o12) => {
|
|
11013
10965
|
c11.current.push(o12);
|
|
11014
10966
|
})]), t11 == null || t11.chains.current[r12].push([s10, new Promise((o12) => {
|
|
@@ -11020,13 +10972,13 @@ function ae2(e5, t11) {
|
|
|
11020
10972
|
(o12 = c11.current.shift()) == null || o12();
|
|
11021
10973
|
}).then(() => n10(r12));
|
|
11022
10974
|
});
|
|
11023
|
-
return (0,
|
|
10975
|
+
return (0, import_react60.useMemo)(() => ({ children: l7, register: y8, unregister: u11, onStart: m12, onStop: C2, wait: f12, chains: p4 }), [y8, u11, l7, m12, C2, p4, f12]);
|
|
11024
10976
|
}
|
|
11025
|
-
var ue2 =
|
|
10977
|
+
var ue2 = import_react60.Fragment;
|
|
11026
10978
|
var Te = O.RenderStrategy;
|
|
11027
10979
|
function De(e5, t11) {
|
|
11028
10980
|
var Z3, $2;
|
|
11029
|
-
let _a = e5, { transition: i11 = true, beforeEnter: l7, afterEnter: S7, beforeLeave: E8, afterLeave: u11, enter: y8, enterFrom: c11, enterTo: f12, entered: p4, leave: m12, leaveFrom: C2, leaveTo: s10 } = _a, r12 = __objRest(_a, ["transition", "beforeEnter", "afterEnter", "beforeLeave", "afterLeave", "enter", "enterFrom", "enterTo", "entered", "leave", "leaveFrom", "leaveTo"]), n10 = (0,
|
|
10981
|
+
let _a = e5, { transition: i11 = true, beforeEnter: l7, afterEnter: S7, beforeLeave: E8, afterLeave: u11, enter: y8, enterFrom: c11, enterTo: f12, entered: p4, leave: m12, leaveFrom: C2, leaveTo: s10 } = _a, r12 = __objRest(_a, ["transition", "beforeEnter", "afterEnter", "beforeLeave", "afterLeave", "enter", "enterFrom", "enterTo", "entered", "leave", "leaveFrom", "leaveTo"]), n10 = (0, import_react60.useRef)(null), o12 = le(e5), R6 = y(...o12 ? [n10, t11] : t11 === null ? [] : [t11]), x6 = (Z3 = r12.unmount) == null || Z3 ? M.Unmount : M.Hidden, { show: T7, appear: h5, initial: X4 } = Ne(), [g3, U4] = (0, import_react60.useState)(T7 ? "visible" : "hidden"), z = _e(), { register: A6, unregister: I6 } = z;
|
|
11030
10982
|
n(() => A6(n10), [A6, n10]), n(() => {
|
|
11031
10983
|
if (x6 === M.Hidden && n10.current) {
|
|
11032
10984
|
if (T7 && g3 !== "visible") {
|
|
@@ -11041,7 +10993,7 @@ function De(e5, t11) {
|
|
|
11041
10993
|
if (o12 && j6 && g3 === "visible" && n10.current === null)
|
|
11042
10994
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
11043
10995
|
}, [n10, g3, j6, o12]);
|
|
11044
|
-
let fe2 = X4 && !h5, K2 = h5 && T7 && X4, G2 = (0,
|
|
10996
|
+
let fe2 = X4 && !h5, K2 = h5 && T7 && X4, G2 = (0, import_react60.useRef)(false), F5 = ae2(() => {
|
|
11045
10997
|
G2.current || (U4("hidden"), I6(n10));
|
|
11046
10998
|
}, z), Q = o4((B2) => {
|
|
11047
10999
|
G2.current = true;
|
|
@@ -11055,25 +11007,25 @@ function De(e5, t11) {
|
|
|
11055
11007
|
D6 === "enter" ? S7 == null || S7() : D6 === "leave" && (u11 == null || u11());
|
|
11056
11008
|
}), L5 === "leave" && !M6(F5) && (U4("hidden"), I6(n10));
|
|
11057
11009
|
});
|
|
11058
|
-
(0,
|
|
11010
|
+
(0, import_react60.useEffect)(() => {
|
|
11059
11011
|
o12 && i11 || (Q(T7), Y3(T7));
|
|
11060
11012
|
}, [T7, o12, i11]);
|
|
11061
11013
|
let me3 = (() => !(!i11 || !o12 || !j6 || fe2))(), [, a15] = V(me3, n10, T7, { start: Q, end: Y3 }), ce2 = m2(__spreadValues({ ref: R6, className: (($2 = t3(r12.className, K2 && y8, K2 && c11, a15.enter && y8, a15.enter && a15.closed && c11, a15.enter && !a15.closed && f12, a15.leave && m12, a15.leave && !a15.closed && C2, a15.leave && a15.closed && s10, !a15.transition && T7 && p4)) == null ? void 0 : $2.trim()) || void 0 }, A3(a15))), _4 = 0;
|
|
11062
|
-
return g3 === "visible" && (_4 |= i9.Open), g3 === "hidden" && (_4 |= i9.Closed), a15.enter && (_4 |= i9.Opening), a15.leave && (_4 |= i9.Closing),
|
|
11014
|
+
return g3 === "visible" && (_4 |= i9.Open), g3 === "hidden" && (_4 |= i9.Closed), a15.enter && (_4 |= i9.Opening), a15.leave && (_4 |= i9.Closing), import_react60.default.createElement(w6.Provider, { value: F5 }, import_react60.default.createElement(c7, { value: _4 }, H({ ourProps: ce2, theirProps: r12, defaultTag: ue2, features: Te, visible: g3 === "visible", name: "Transition.Child" })));
|
|
11063
11015
|
}
|
|
11064
11016
|
function He(e5, t11) {
|
|
11065
|
-
let _a = e5, { show: i11, appear: l7 = false, unmount: S7 = true } = _a, E8 = __objRest(_a, ["show", "appear", "unmount"]), u11 = (0,
|
|
11017
|
+
let _a = e5, { show: i11, appear: l7 = false, unmount: S7 = true } = _a, E8 = __objRest(_a, ["show", "appear", "unmount"]), u11 = (0, import_react60.useRef)(null), y8 = le(e5), c11 = y(...y8 ? [u11, t11] : t11 === null ? [] : [t11]);
|
|
11066
11018
|
l5();
|
|
11067
11019
|
let f12 = u8();
|
|
11068
11020
|
if (i11 === void 0 && f12 !== null && (i11 = (f12 & i9.Open) === i9.Open), i11 === void 0)
|
|
11069
11021
|
throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
11070
|
-
let [p4, m12] = (0,
|
|
11022
|
+
let [p4, m12] = (0, import_react60.useState)(i11 ? "visible" : "hidden"), C2 = ae2(() => {
|
|
11071
11023
|
i11 || m12("hidden");
|
|
11072
|
-
}), [s10, r12] = (0,
|
|
11024
|
+
}), [s10, r12] = (0, import_react60.useState)(true), n10 = (0, import_react60.useRef)([i11]);
|
|
11073
11025
|
n(() => {
|
|
11074
11026
|
s10 !== false && n10.current[n10.current.length - 1] !== i11 && (n10.current.push(i11), r12(false));
|
|
11075
11027
|
}, [n10, i11]);
|
|
11076
|
-
let o12 = (0,
|
|
11028
|
+
let o12 = (0, import_react60.useMemo)(() => ({ show: i11, appear: l7, initial: s10 }), [i11, l7, s10]);
|
|
11077
11029
|
m6(i11, u11, () => m12("hidden")), n(() => {
|
|
11078
11030
|
i11 ? m12("visible") : !M6(C2) && u11.current !== null && m12("hidden");
|
|
11079
11031
|
}, [i11, C2]);
|
|
@@ -11084,11 +11036,11 @@ function He(e5, t11) {
|
|
|
11084
11036
|
var h5;
|
|
11085
11037
|
s10 && r12(false), (h5 = e5.beforeLeave) == null || h5.call(e5);
|
|
11086
11038
|
});
|
|
11087
|
-
return
|
|
11039
|
+
return import_react60.default.createElement(w6.Provider, { value: C2 }, import_react60.default.createElement(V2.Provider, { value: o12 }, H({ ourProps: __spreadProps(__spreadValues({}, R6), { as: import_react60.Fragment, children: import_react60.default.createElement(de, __spreadProps(__spreadValues(__spreadValues({ ref: c11 }, R6), E8), { beforeEnter: x6, beforeLeave: T7 })) }), theirProps: {}, defaultTag: import_react60.Fragment, features: Te, visible: p4 === "visible", name: "Transition" })));
|
|
11088
11040
|
}
|
|
11089
11041
|
function Ae(e5, t11) {
|
|
11090
|
-
let i11 = (0,
|
|
11091
|
-
return
|
|
11042
|
+
let i11 = (0, import_react60.useContext)(V2) !== null, l7 = u8() !== null;
|
|
11043
|
+
return import_react60.default.createElement(import_react60.default.Fragment, null, !i11 && l7 ? import_react60.default.createElement(J3, __spreadValues({ ref: t11 }, e5)) : import_react60.default.createElement(de, __spreadValues({ ref: t11 }, e5)));
|
|
11092
11044
|
}
|
|
11093
11045
|
var J3 = I(He);
|
|
11094
11046
|
var de = I(De);
|
|
@@ -11101,10 +11053,10 @@ var Le = ((t11) => (t11[t11.SetTitleId = 0] = "SetTitleId", t11))(Le || {});
|
|
|
11101
11053
|
var Oe = { [0](e5, t11) {
|
|
11102
11054
|
return e5.titleId === t11.id ? e5 : __spreadProps(__spreadValues({}, e5), { titleId: t11.id });
|
|
11103
11055
|
} };
|
|
11104
|
-
var I5 = (0,
|
|
11056
|
+
var I5 = (0, import_react61.createContext)(null);
|
|
11105
11057
|
I5.displayName = "DialogContext";
|
|
11106
11058
|
function x4(e5) {
|
|
11107
|
-
let t11 = (0,
|
|
11059
|
+
let t11 = (0, import_react61.useContext)(I5);
|
|
11108
11060
|
if (t11 === null) {
|
|
11109
11061
|
let o12 = new Error(`<${e5} /> is missing a parent <Dialog /> component.`);
|
|
11110
11062
|
throw Error.captureStackTrace && Error.captureStackTrace(o12, x4), o12;
|
|
@@ -11115,13 +11067,13 @@ function he(e5, t11) {
|
|
|
11115
11067
|
return u2(t11.type, Oe, e5, t11);
|
|
11116
11068
|
}
|
|
11117
11069
|
var Y2 = I(function(t11, o12) {
|
|
11118
|
-
let a15 = (0,
|
|
11070
|
+
let a15 = (0, import_react29.useId)(), _a = t11, { id: i11 = `headlessui-dialog-${a15}`, open: l7, onClose: p4, initialFocus: d9, role: s10 = "dialog", autoFocus: C2 = true, __demoMode: f12 = false } = _a, G2 = __objRest(_a, ["id", "open", "onClose", "initialFocus", "role", "autoFocus", "__demoMode"]), L5 = (0, import_react61.useRef)(false);
|
|
11119
11071
|
s10 = function() {
|
|
11120
11072
|
return s10 === "dialog" || s10 === "alertdialog" ? s10 : (L5.current || (L5.current = true, console.warn(`Invalid role [${s10}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
|
|
11121
11073
|
}();
|
|
11122
11074
|
let g3 = u8();
|
|
11123
11075
|
l7 === void 0 && g3 !== null && (l7 = (g3 & i9.Open) === i9.Open);
|
|
11124
|
-
let u11 = (0,
|
|
11076
|
+
let u11 = (0, import_react61.useRef)(null), J4 = y(u11, o12), F5 = n6(u11), T7 = l7 ? 0 : 1, [b5, K2] = (0, import_react61.useReducer)(he, { titleId: null, descriptionId: null, panelRef: (0, import_react61.createRef)() }), m12 = o4(() => p4(false)), k3 = o4((r12) => K2({ type: 0, id: r12 })), c11 = l5() ? T7 === 0 : false, [X4, V4] = ee(), q2 = { get current() {
|
|
11125
11077
|
var r12;
|
|
11126
11078
|
return (r12 = b5.panelRef.current) != null ? r12 : u11.current;
|
|
11127
11079
|
} }, { resolveContainers: O4, mainTreeNodeRef: z, MainTreeNode: Q } = j4({ portals: X4, defaultContainers: [q2] }), M8 = g3 !== null ? (g3 & i9.Closing) === i9.Closing : false;
|
|
@@ -11136,8 +11088,8 @@ var Y2 = I(function(t11, o12) {
|
|
|
11136
11088
|
}), a12(c11, F5 == null ? void 0 : F5.defaultView, (r12) => {
|
|
11137
11089
|
r12.preventDefault(), r12.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), m12();
|
|
11138
11090
|
}), f7(f12 || M8 ? false : c11, F5, O4), m6(c11, u11, m12);
|
|
11139
|
-
let [Z3, ee5] = U2(), te5 = (0,
|
|
11140
|
-
return c11 && !f12 && (D6 |= x3.RestoreFocus, D6 |= x3.TabLock, C2 && (D6 |= x3.AutoFocus), ne && (D6 |= x3.InitialFocus)),
|
|
11091
|
+
let [Z3, ee5] = U2(), te5 = (0, import_react61.useMemo)(() => [{ dialogState: T7, close: m12, setTitleId: k3 }, b5], [T7, b5, m12, k3]), w7 = (0, import_react61.useMemo)(() => ({ open: T7 === 0 }), [T7]), oe2 = { ref: J4, id: i11, role: s10, tabIndex: -1, "aria-modal": f12 ? void 0 : T7 === 0 ? true : void 0, "aria-labelledby": b5.titleId, "aria-describedby": Z3 }, ne = !f10(), D6 = x3.None;
|
|
11092
|
+
return c11 && !f12 && (D6 |= x3.RestoreFocus, D6 |= x3.TabLock, C2 && (D6 |= x3.AutoFocus), ne && (D6 |= x3.InitialFocus)), import_react61.default.createElement(s8, null, import_react61.default.createElement(l6, { force: true }, import_react61.default.createElement(te, null, import_react61.default.createElement(I5.Provider, { value: te5 }, import_react61.default.createElement(J2, { target: u11 }, import_react61.default.createElement(l6, { force: false }, import_react61.default.createElement(ee5, { slot: w7 }, import_react61.default.createElement(V4, null, import_react61.default.createElement(Fe, { initialFocus: d9, initialFocusFallback: u11, containers: O4, features: D6 }, import_react61.default.createElement(u6, { value: m12 }, H({ ourProps: oe2, theirProps: G2, slot: w7, defaultTag: Se, features: Ie2, visible: T7 === 0, name: "Dialog" })))))))))), import_react61.default.createElement(c2, null, import_react61.default.createElement(Q, null)));
|
|
11141
11093
|
});
|
|
11142
11094
|
var Se = "div";
|
|
11143
11095
|
var Ie2 = O.RenderStrategy | O.Static;
|
|
@@ -11153,25 +11105,25 @@ function Ge(e5, t11) {
|
|
|
11153
11105
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e5.open}`);
|
|
11154
11106
|
if (typeof e5.onClose != "function")
|
|
11155
11107
|
throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e5.onClose}`);
|
|
11156
|
-
return !(l7 !== null) && a15 !== void 0 && !i11.static ?
|
|
11108
|
+
return !(l7 !== null) && a15 !== void 0 && !i11.static ? import_react61.default.createElement(Xe, { show: a15, transition: o12, unmount: i11.unmount }, import_react61.default.createElement(Y2, __spreadValues({ ref: t11 }, i11))) : import_react61.default.createElement(Y2, __spreadValues({ ref: t11, open: a15 }, i11));
|
|
11157
11109
|
}
|
|
11158
11110
|
var ke = "div";
|
|
11159
11111
|
function Me(e5, t11) {
|
|
11160
|
-
let o12 = (0,
|
|
11112
|
+
let o12 = (0, import_react29.useId)(), _a = e5, { id: a15 = `headlessui-dialog-panel-${o12}`, transition: i11 = false } = _a, l7 = __objRest(_a, ["id", "transition"]), [{ dialogState: p4 }, d9] = x4("Dialog.Panel"), s10 = y(t11, d9.panelRef), C2 = (0, import_react61.useMemo)(() => ({ open: p4 === 0 }), [p4]), f12 = o4((g3) => {
|
|
11161
11113
|
g3.stopPropagation();
|
|
11162
11114
|
});
|
|
11163
|
-
return
|
|
11115
|
+
return import_react61.default.createElement(i11 ? Ie : import_react61.Fragment, null, H({ ourProps: { ref: s10, id: a15, onClick: f12 }, theirProps: l7, slot: C2, defaultTag: ke, name: "Dialog.Panel" }));
|
|
11164
11116
|
}
|
|
11165
11117
|
var we = "div";
|
|
11166
11118
|
function He2(e5, t11) {
|
|
11167
|
-
let _a = e5, { transition: o12 = false } = _a, a15 = __objRest(_a, ["transition"]), [{ dialogState: i11 }] = x4("Dialog.Backdrop"), l7 = (0,
|
|
11168
|
-
return
|
|
11119
|
+
let _a = e5, { transition: o12 = false } = _a, a15 = __objRest(_a, ["transition"]), [{ dialogState: i11 }] = x4("Dialog.Backdrop"), l7 = (0, import_react61.useMemo)(() => ({ open: i11 === 0 }), [i11]);
|
|
11120
|
+
return import_react61.default.createElement(o12 ? Ie : import_react61.Fragment, null, H({ ourProps: { ref: t11, "aria-hidden": true }, theirProps: a15, slot: l7, defaultTag: we, name: "Dialog.Backdrop" }));
|
|
11169
11121
|
}
|
|
11170
11122
|
var Be = "h2";
|
|
11171
11123
|
function Ue(e5, t11) {
|
|
11172
|
-
let o12 = (0,
|
|
11173
|
-
(0,
|
|
11174
|
-
let s10 = (0,
|
|
11124
|
+
let o12 = (0, import_react29.useId)(), _a = e5, { id: a15 = `headlessui-dialog-title-${o12}` } = _a, i11 = __objRest(_a, ["id"]), [{ dialogState: l7, setTitleId: p4 }] = x4("Dialog.Title"), d9 = y(t11);
|
|
11125
|
+
(0, import_react61.useEffect)(() => (p4(a15), () => p4(null)), [a15, p4]);
|
|
11126
|
+
let s10 = (0, import_react61.useMemo)(() => ({ open: l7 === 0 }), [l7]);
|
|
11175
11127
|
return H({ ourProps: { ref: d9, id: a15 }, theirProps: i11, slot: s10, defaultTag: Be, name: "Dialog.Title" });
|
|
11176
11128
|
}
|
|
11177
11129
|
var Ne2 = I(Ge);
|
|
@@ -11181,12 +11133,12 @@ var $e = I(Ue);
|
|
|
11181
11133
|
var Pt = Object.assign(Ne2, { Panel: We, Title: $e, Description: w3 });
|
|
11182
11134
|
|
|
11183
11135
|
// ../../node_modules/@headlessui/react/dist/components/disclosure/disclosure.js
|
|
11184
|
-
var
|
|
11136
|
+
var import_react63 = __toESM(require("react"), 1);
|
|
11185
11137
|
|
|
11186
11138
|
// ../../node_modules/@headlessui/react/dist/utils/start-transition.js
|
|
11187
|
-
var
|
|
11139
|
+
var import_react62 = __toESM(require("react"), 1);
|
|
11188
11140
|
var t10;
|
|
11189
|
-
var a14 = (t10 =
|
|
11141
|
+
var a14 = (t10 = import_react62.default.startTransition) != null ? t10 : function(i11) {
|
|
11190
11142
|
i11();
|
|
11191
11143
|
};
|
|
11192
11144
|
|
|
@@ -11202,52 +11154,52 @@ var Te2 = { [0]: (e5) => __spreadProps(__spreadValues({}, e5), { disclosureState
|
|
|
11202
11154
|
}, [3](e5, n10) {
|
|
11203
11155
|
return e5.panelId === n10.panelId ? e5 : __spreadProps(__spreadValues({}, e5), { panelId: n10.panelId });
|
|
11204
11156
|
} };
|
|
11205
|
-
var M7 = (0,
|
|
11157
|
+
var M7 = (0, import_react63.createContext)(null);
|
|
11206
11158
|
M7.displayName = "DisclosureContext";
|
|
11207
11159
|
function F4(e5) {
|
|
11208
|
-
let n10 = (0,
|
|
11160
|
+
let n10 = (0, import_react63.useContext)(M7);
|
|
11209
11161
|
if (n10 === null) {
|
|
11210
11162
|
let r12 = new Error(`<${e5} /> is missing a parent <Disclosure /> component.`);
|
|
11211
11163
|
throw Error.captureStackTrace && Error.captureStackTrace(r12, F4), r12;
|
|
11212
11164
|
}
|
|
11213
11165
|
return n10;
|
|
11214
11166
|
}
|
|
11215
|
-
var k2 = (0,
|
|
11167
|
+
var k2 = (0, import_react63.createContext)(null);
|
|
11216
11168
|
k2.displayName = "DisclosureAPIContext";
|
|
11217
11169
|
function V3(e5) {
|
|
11218
|
-
let n10 = (0,
|
|
11170
|
+
let n10 = (0, import_react63.useContext)(k2);
|
|
11219
11171
|
if (n10 === null) {
|
|
11220
11172
|
let r12 = new Error(`<${e5} /> is missing a parent <Disclosure /> component.`);
|
|
11221
11173
|
throw Error.captureStackTrace && Error.captureStackTrace(r12, V3), r12;
|
|
11222
11174
|
}
|
|
11223
11175
|
return n10;
|
|
11224
11176
|
}
|
|
11225
|
-
var H6 = (0,
|
|
11177
|
+
var H6 = (0, import_react63.createContext)(null);
|
|
11226
11178
|
H6.displayName = "DisclosurePanelContext";
|
|
11227
11179
|
function De2() {
|
|
11228
|
-
return (0,
|
|
11180
|
+
return (0, import_react63.useContext)(H6);
|
|
11229
11181
|
}
|
|
11230
11182
|
function Pe(e5, n10) {
|
|
11231
11183
|
return u2(n10.type, Te2, e5, n10);
|
|
11232
11184
|
}
|
|
11233
|
-
var ye2 =
|
|
11185
|
+
var ye2 = import_react63.Fragment;
|
|
11234
11186
|
function me(e5, n10) {
|
|
11235
|
-
let _a = e5, { defaultOpen: r12 = false } = _a, c11 = __objRest(_a, ["defaultOpen"]), s10 = (0,
|
|
11187
|
+
let _a = e5, { defaultOpen: r12 = false } = _a, c11 = __objRest(_a, ["defaultOpen"]), s10 = (0, import_react63.useRef)(null), d9 = y(n10, T2((u11) => {
|
|
11236
11188
|
s10.current = u11;
|
|
11237
|
-
}, e5.as === void 0 || e5.as ===
|
|
11189
|
+
}, e5.as === void 0 || e5.as === import_react63.Fragment)), t11 = (0, import_react63.useRef)(null), o12 = (0, import_react63.useRef)(null), l7 = (0, import_react63.useReducer)(Pe, { disclosureState: r12 ? 0 : 1, linkedPanel: false, buttonRef: o12, panelRef: t11, buttonId: null, panelId: null }), [{ disclosureState: f12, buttonId: i11 }, T7] = l7, p4 = o4((u11) => {
|
|
11238
11190
|
T7({ type: 1 });
|
|
11239
11191
|
let P4 = u(s10);
|
|
11240
11192
|
if (!P4 || !i11)
|
|
11241
11193
|
return;
|
|
11242
11194
|
let y8 = (() => u11 ? u11 instanceof HTMLElement ? u11 : u11.current instanceof HTMLElement ? u11.current : P4.getElementById(i11) : P4.getElementById(i11))();
|
|
11243
11195
|
y8 == null || y8.focus();
|
|
11244
|
-
}), E8 = (0,
|
|
11245
|
-
return
|
|
11196
|
+
}), E8 = (0, import_react63.useMemo)(() => ({ close: p4 }), [p4]), D6 = (0, import_react63.useMemo)(() => ({ open: f12 === 0, close: p4 }), [f12, p4]), g3 = { ref: d9 };
|
|
11197
|
+
return import_react63.default.createElement(M7.Provider, { value: l7 }, import_react63.default.createElement(k2.Provider, { value: E8 }, import_react63.default.createElement(u6, { value: p4 }, import_react63.default.createElement(c7, { value: u2(f12, { [0]: i9.Open, [1]: i9.Closed }) }, H({ ourProps: g3, theirProps: c11, slot: D6, defaultTag: ye2, name: "Disclosure" })))));
|
|
11246
11198
|
}
|
|
11247
11199
|
var Ee = "button";
|
|
11248
11200
|
function ge(e5, n10) {
|
|
11249
|
-
let r12 = (0,
|
|
11250
|
-
(0,
|
|
11201
|
+
let r12 = (0, import_react29.useId)(), _a = e5, { id: c11 = `headlessui-disclosure-button-${r12}`, disabled: s10 = false, autoFocus: d9 = false } = _a, t11 = __objRest(_a, ["id", "disabled", "autoFocus"]), [o12, l7] = F4("Disclosure.Button"), f12 = De2(), i11 = f12 === null ? false : f12 === o12.panelId, T7 = (0, import_react63.useRef)(null), p4 = y(T7, n10, i11 ? null : o12.buttonRef), E8 = U();
|
|
11202
|
+
(0, import_react63.useEffect)(() => {
|
|
11251
11203
|
if (!i11)
|
|
11252
11204
|
return l7({ type: 2, buttonId: c11 }), () => {
|
|
11253
11205
|
l7({ type: 2, buttonId: null });
|
|
@@ -11280,20 +11232,20 @@ function ge(e5, n10) {
|
|
|
11280
11232
|
}), u11 = o4((a15) => {
|
|
11281
11233
|
var S7;
|
|
11282
11234
|
r4(a15.currentTarget) || s10 || (i11 ? (l7({ type: 0 }), (S7 = o12.buttonRef.current) == null || S7.focus()) : l7({ type: 0 }));
|
|
11283
|
-
}), { isFocusVisible: P4, focusProps: y8 } = $0c4a58759813079a$export$4e328f61c538687f({ autoFocus: d9 }), { isHovered: U4, hoverProps: h5 } = $e969f22b6713ca4a$export$ae780daf29e6d456({ isDisabled: s10 }), { pressed: N3, pressProps: w7 } = w({ disabled: s10 }), q2 = (0,
|
|
11235
|
+
}), { isFocusVisible: P4, focusProps: y8 } = $0c4a58759813079a$export$4e328f61c538687f({ autoFocus: d9 }), { isHovered: U4, hoverProps: h5 } = $e969f22b6713ca4a$export$ae780daf29e6d456({ isDisabled: s10 }), { pressed: N3, pressProps: w7 } = w({ disabled: s10 }), q2 = (0, import_react63.useMemo)(() => ({ open: o12.disclosureState === 0, hover: U4, active: N3, disabled: s10, focus: P4, autofocus: d9 }), [o12, U4, N3, P4, s10, d9]), G2 = T5(e5, T7), z = i11 ? D({ ref: p4, type: G2, disabled: s10 || void 0, autoFocus: d9, onKeyDown: D6, onClick: u11 }, y8, h5, w7) : D({ ref: p4, id: c11, type: G2, "aria-expanded": o12.disclosureState === 0, "aria-controls": o12.linkedPanel ? o12.panelId : void 0, disabled: s10 || void 0, autoFocus: d9, onKeyDown: D6, onKeyUp: g3, onClick: u11 }, y8, h5, w7);
|
|
11284
11236
|
return H({ mergeRefs: E8, ourProps: z, theirProps: t11, slot: q2, defaultTag: Ee, name: "Disclosure.Button" });
|
|
11285
11237
|
}
|
|
11286
11238
|
var Se2 = "div";
|
|
11287
11239
|
var be2 = O.RenderStrategy | O.Static;
|
|
11288
11240
|
function Re2(e5, n10) {
|
|
11289
|
-
let r12 = (0,
|
|
11241
|
+
let r12 = (0, import_react29.useId)(), _a = e5, { id: c11 = `headlessui-disclosure-panel-${r12}`, transition: s10 = false } = _a, d9 = __objRest(_a, ["id", "transition"]), [t11, o12] = F4("Disclosure.Panel"), { close: l7 } = V3("Disclosure.Panel"), f12 = U(), i11 = y(n10, t11.panelRef, (u11) => {
|
|
11290
11242
|
a14(() => o12({ type: u11 ? 4 : 5 }));
|
|
11291
11243
|
});
|
|
11292
|
-
(0,
|
|
11244
|
+
(0, import_react63.useEffect)(() => (o12({ type: 3, panelId: c11 }), () => {
|
|
11293
11245
|
o12({ type: 3, panelId: null });
|
|
11294
11246
|
}), [c11, o12]);
|
|
11295
|
-
let T7 = u8(), [p4, E8] = V(s10, t11.panelRef, T7 !== null ? (T7 & i9.Open) === i9.Open : t11.disclosureState === 0), D6 = (0,
|
|
11296
|
-
return
|
|
11247
|
+
let T7 = u8(), [p4, E8] = V(s10, t11.panelRef, T7 !== null ? (T7 & i9.Open) === i9.Open : t11.disclosureState === 0), D6 = (0, import_react63.useMemo)(() => ({ open: t11.disclosureState === 0, close: l7 }), [t11.disclosureState, l7]), g3 = __spreadValues({ ref: i11, id: c11 }, A3(E8));
|
|
11248
|
+
return import_react63.default.createElement(s8, null, import_react63.default.createElement(H6.Provider, { value: t11.panelId }, H({ mergeRefs: f12, ourProps: g3, theirProps: d9, slot: D6, defaultTag: Se2, features: be2, visible: p4, name: "Disclosure.Panel" })));
|
|
11297
11249
|
}
|
|
11298
11250
|
var Ae2 = I(me);
|
|
11299
11251
|
var Ce = I(ge);
|
|
@@ -11301,7 +11253,7 @@ var Ie3 = I(Re2);
|
|
|
11301
11253
|
var We2 = Object.assign(Ae2, { Button: Ce, Panel: Ie3 });
|
|
11302
11254
|
|
|
11303
11255
|
// ../../node_modules/@headlessui/react/dist/components/popover/popover.js
|
|
11304
|
-
var
|
|
11256
|
+
var import_react64 = __toESM(require("react"), 1);
|
|
11305
11257
|
var nt = ((f12) => (f12[f12.Open = 0] = "Open", f12[f12.Closed = 1] = "Closed", f12))(nt || {});
|
|
11306
11258
|
var lt = ((u11) => (u11[u11.TogglePopover = 0] = "TogglePopover", u11[u11.ClosePopover = 1] = "ClosePopover", u11[u11.SetButton = 2] = "SetButton", u11[u11.SetButtonId = 3] = "SetButtonId", u11[u11.SetPanel = 4] = "SetPanel", u11[u11.SetPanelId = 5] = "SetPanelId", u11))(lt || {});
|
|
11307
11259
|
var at = { [0]: (t11) => __spreadProps(__spreadValues({}, t11), { popoverState: u2(t11.popoverState, { [0]: 1, [1]: 0 }), __demoMode: false }), [1](t11) {
|
|
@@ -11315,35 +11267,35 @@ var at = { [0]: (t11) => __spreadProps(__spreadValues({}, t11), { popoverState:
|
|
|
11315
11267
|
}, [5](t11, a15) {
|
|
11316
11268
|
return t11.panelId === a15.panelId ? t11 : __spreadProps(__spreadValues({}, t11), { panelId: a15.panelId });
|
|
11317
11269
|
} };
|
|
11318
|
-
var Te3 = (0,
|
|
11270
|
+
var Te3 = (0, import_react64.createContext)(null);
|
|
11319
11271
|
Te3.displayName = "PopoverContext";
|
|
11320
11272
|
function le3(t11) {
|
|
11321
|
-
let a15 = (0,
|
|
11273
|
+
let a15 = (0, import_react64.useContext)(Te3);
|
|
11322
11274
|
if (a15 === null) {
|
|
11323
11275
|
let f12 = new Error(`<${t11} /> is missing a parent <Popover /> component.`);
|
|
11324
11276
|
throw Error.captureStackTrace && Error.captureStackTrace(f12, le3), f12;
|
|
11325
11277
|
}
|
|
11326
11278
|
return a15;
|
|
11327
11279
|
}
|
|
11328
|
-
var ae4 = (0,
|
|
11280
|
+
var ae4 = (0, import_react64.createContext)(null);
|
|
11329
11281
|
ae4.displayName = "PopoverAPIContext";
|
|
11330
11282
|
function me2(t11) {
|
|
11331
|
-
let a15 = (0,
|
|
11283
|
+
let a15 = (0, import_react64.useContext)(ae4);
|
|
11332
11284
|
if (a15 === null) {
|
|
11333
11285
|
let f12 = new Error(`<${t11} /> is missing a parent <Popover /> component.`);
|
|
11334
11286
|
throw Error.captureStackTrace && Error.captureStackTrace(f12, me2), f12;
|
|
11335
11287
|
}
|
|
11336
11288
|
return a15;
|
|
11337
11289
|
}
|
|
11338
|
-
var ye3 = (0,
|
|
11290
|
+
var ye3 = (0, import_react64.createContext)(null);
|
|
11339
11291
|
ye3.displayName = "PopoverGroupContext";
|
|
11340
11292
|
function Fe2() {
|
|
11341
|
-
return (0,
|
|
11293
|
+
return (0, import_react64.useContext)(ye3);
|
|
11342
11294
|
}
|
|
11343
|
-
var pe4 = (0,
|
|
11295
|
+
var pe4 = (0, import_react64.createContext)(null);
|
|
11344
11296
|
pe4.displayName = "PopoverPanelContext";
|
|
11345
11297
|
function pt() {
|
|
11346
|
-
return (0,
|
|
11298
|
+
return (0, import_react64.useContext)(pe4);
|
|
11347
11299
|
}
|
|
11348
11300
|
function st(t11, a15) {
|
|
11349
11301
|
return u2(a15.type, at, t11, a15);
|
|
@@ -11351,9 +11303,9 @@ function st(t11, a15) {
|
|
|
11351
11303
|
var ut = "div";
|
|
11352
11304
|
function it(t11, a15) {
|
|
11353
11305
|
var J4;
|
|
11354
|
-
let _a = t11, { __demoMode: f12 = false } = _a, C2 = __objRest(_a, ["__demoMode"]), m12 = (0,
|
|
11306
|
+
let _a = t11, { __demoMode: f12 = false } = _a, C2 = __objRest(_a, ["__demoMode"]), m12 = (0, import_react64.useRef)(null), R6 = y(a15, T2((e5) => {
|
|
11355
11307
|
m12.current = e5;
|
|
11356
|
-
})), u11 = (0,
|
|
11308
|
+
})), u11 = (0, import_react64.useRef)([]), l7 = (0, import_react64.useReducer)(st, { __demoMode: f12, popoverState: f12 ? 0 : 1, buttons: u11, button: null, buttonId: null, panel: null, panelId: null, beforePanelSentinel: (0, import_react64.createRef)(), afterPanelSentinel: (0, import_react64.createRef)(), afterButtonSentinel: (0, import_react64.createRef)() }), [{ popoverState: c11, button: P4, buttonId: r12, panel: i11, panelId: B2, beforePanelSentinel: y8, afterPanelSentinel: I6, afterButtonSentinel: d9 }, n10] = l7, v6 = n6((J4 = m12.current) != null ? J4 : P4), _4 = (0, import_react64.useMemo)(() => {
|
|
11357
11309
|
if (!P4 || !i11)
|
|
11358
11310
|
return false;
|
|
11359
11311
|
for (let g3 of document.querySelectorAll("body > *"))
|
|
@@ -11361,11 +11313,11 @@ function it(t11, a15) {
|
|
|
11361
11313
|
return true;
|
|
11362
11314
|
let e5 = b2(), s10 = e5.indexOf(P4), o12 = (s10 + e5.length - 1) % e5.length, p4 = (s10 + 1) % e5.length, S7 = e5[o12], b5 = e5[p4];
|
|
11363
11315
|
return !i11.contains(S7) && !i11.contains(b5);
|
|
11364
|
-
}, [P4, i11]), F5 = s3(r12), x6 = s3(B2), W3 = (0,
|
|
11316
|
+
}, [P4, i11]), F5 = s3(r12), x6 = s3(B2), W3 = (0, import_react64.useMemo)(() => ({ buttonId: F5, panelId: x6, close: () => n10({ type: 1 }) }), [F5, x6, n10]), T7 = Fe2(), D6 = T7 == null ? void 0 : T7.registerPopover, N3 = o4(() => {
|
|
11365
11317
|
var e5;
|
|
11366
11318
|
return (e5 = T7 == null ? void 0 : T7.isFocusWithinPopoverGroup()) != null ? e5 : (v6 == null ? void 0 : v6.activeElement) && ((P4 == null ? void 0 : P4.contains(v6.activeElement)) || (i11 == null ? void 0 : i11.contains(v6.activeElement)));
|
|
11367
11319
|
});
|
|
11368
|
-
(0,
|
|
11320
|
+
(0, import_react64.useEffect)(() => D6 == null ? void 0 : D6(W3), [D6, W3]);
|
|
11369
11321
|
let [M8, j6] = ee(), h5 = j4({ mainTreeNodeRef: T7 == null ? void 0 : T7.mainTreeNodeRef, portals: M8, defaultContainers: [P4, i11] });
|
|
11370
11322
|
E4(v6 == null ? void 0 : v6.defaultView, "focus", (e5) => {
|
|
11371
11323
|
var s10, o12, p4, S7, b5, g3;
|
|
@@ -11377,19 +11329,19 @@ function it(t11, a15) {
|
|
|
11377
11329
|
n10({ type: 1 });
|
|
11378
11330
|
let s10 = (() => e5 ? e5 instanceof HTMLElement ? e5 : "current" in e5 && e5.current instanceof HTMLElement ? e5.current : P4 : P4)();
|
|
11379
11331
|
s10 == null || s10.focus();
|
|
11380
|
-
}), k3 = (0,
|
|
11381
|
-
return
|
|
11332
|
+
}), k3 = (0, import_react64.useMemo)(() => ({ close: O4, isPortalled: _4 }), [O4, _4]), V4 = (0, import_react64.useMemo)(() => ({ open: c11 === 0, close: O4 }), [c11, O4]), $2 = { ref: R6 };
|
|
11333
|
+
return import_react64.default.createElement(ve, null, import_react64.default.createElement(pe4.Provider, { value: null }, import_react64.default.createElement(Te3.Provider, { value: l7 }, import_react64.default.createElement(ae4.Provider, { value: k3 }, import_react64.default.createElement(u6, { value: O4 }, import_react64.default.createElement(c7, { value: u2(c11, { [0]: i9.Open, [1]: i9.Closed }) }, import_react64.default.createElement(j6, null, H({ ourProps: $2, theirProps: C2, slot: V4, defaultTag: ut, name: "Popover" }), import_react64.default.createElement(h5.MainTreeNode, null))))))));
|
|
11382
11334
|
}
|
|
11383
11335
|
var dt = "button";
|
|
11384
11336
|
function ft(t11, a15) {
|
|
11385
|
-
let f12 = (0,
|
|
11386
|
-
(0,
|
|
11337
|
+
let f12 = (0, import_react29.useId)(), _a = t11, { id: C2 = `headlessui-popover-button-${f12}`, disabled: m12 = false, autoFocus: R6 = false } = _a, u11 = __objRest(_a, ["id", "disabled", "autoFocus"]), [l7, c11] = le3("Popover.Button"), { isPortalled: P4 } = me2("Popover.Button"), r12 = (0, import_react64.useRef)(null), i11 = `headlessui-focus-sentinel-${(0, import_react29.useId)()}`, B2 = Fe2(), y8 = B2 == null ? void 0 : B2.closeOthers, d9 = pt() !== null;
|
|
11338
|
+
(0, import_react64.useEffect)(() => {
|
|
11387
11339
|
if (!d9)
|
|
11388
11340
|
return c11({ type: 3, buttonId: C2 }), () => {
|
|
11389
11341
|
c11({ type: 3, buttonId: null });
|
|
11390
11342
|
};
|
|
11391
11343
|
}, [d9, C2, c11]);
|
|
11392
|
-
let [n10] = (0,
|
|
11344
|
+
let [n10] = (0, import_react64.useState)(() => Symbol()), v6 = y(r12, a15, ye(), d9 ? null : (o12) => {
|
|
11393
11345
|
if (o12)
|
|
11394
11346
|
l7.buttons.current.push(n10);
|
|
11395
11347
|
else {
|
|
@@ -11429,7 +11381,7 @@ function ft(t11, a15) {
|
|
|
11429
11381
|
r4(o12.currentTarget) || m12 || (d9 ? (c11({ type: 1 }), (p4 = l7.button) == null || p4.focus()) : (o12.preventDefault(), o12.stopPropagation(), l7.popoverState === 1 && (y8 == null || y8(l7.buttonId)), c11({ type: 0 }), (S7 = l7.button) == null || S7.focus()));
|
|
11430
11382
|
}), D6 = o4((o12) => {
|
|
11431
11383
|
o12.preventDefault(), o12.stopPropagation();
|
|
11432
|
-
}), { isFocusVisible: N3, focusProps: M8 } = $0c4a58759813079a$export$4e328f61c538687f({ autoFocus: R6 }), { isHovered: j6, hoverProps: h5 } = $e969f22b6713ca4a$export$ae780daf29e6d456({ isDisabled: m12 }), { pressed: Q, pressProps: O4 } = w({ disabled: m12 }), k3 = l7.popoverState === 0, V4 = (0,
|
|
11384
|
+
}), { isFocusVisible: N3, focusProps: M8 } = $0c4a58759813079a$export$4e328f61c538687f({ autoFocus: R6 }), { isHovered: j6, hoverProps: h5 } = $e969f22b6713ca4a$export$ae780daf29e6d456({ isDisabled: m12 }), { pressed: Q, pressProps: O4 } = w({ disabled: m12 }), k3 = l7.popoverState === 0, V4 = (0, import_react64.useMemo)(() => ({ open: k3, active: Q || k3, disabled: m12, hover: j6, focus: N3, autofocus: R6 }), [k3, j6, N3, Q, m12, R6]), $2 = T5(t11, r12), J4 = d9 ? D({ ref: _4, type: $2, onKeyDown: x6, onClick: T7, disabled: m12 || void 0, autoFocus: R6 }, M8, h5, O4) : D({ ref: v6, id: l7.buttonId, type: $2, "aria-expanded": l7.popoverState === 0, "aria-controls": l7.panel ? l7.panelId : void 0, disabled: m12 || void 0, autoFocus: R6, onKeyDown: x6, onKeyUp: W3, onClick: T7, onMouseDown: D6 }, M8, h5, O4), e5 = u10(), s10 = o4(() => {
|
|
11433
11385
|
let o12 = l7.panel;
|
|
11434
11386
|
if (!o12)
|
|
11435
11387
|
return;
|
|
@@ -11438,22 +11390,22 @@ function ft(t11, a15) {
|
|
|
11438
11390
|
}
|
|
11439
11391
|
p4();
|
|
11440
11392
|
});
|
|
11441
|
-
return
|
|
11393
|
+
return import_react64.default.createElement(import_react64.default.Fragment, null, H({ ourProps: J4, theirProps: u11, slot: V4, defaultTag: dt, name: "Popover.Button" }), k3 && !d9 && P4 && import_react64.default.createElement(T, { id: i11, ref: l7.afterButtonSentinel, features: s4.Focusable, "data-headlessui-focus-guard": true, as: "button", type: "button", onFocus: s10 }));
|
|
11442
11394
|
}
|
|
11443
11395
|
var Pt2 = "div";
|
|
11444
11396
|
var ct2 = O.RenderStrategy | O.Static;
|
|
11445
11397
|
function Me2(t11, a15) {
|
|
11446
|
-
let f12 = (0,
|
|
11398
|
+
let f12 = (0, import_react29.useId)(), _a = t11, { id: C2 = `headlessui-popover-backdrop-${f12}`, transition: m12 = false } = _a, R6 = __objRest(_a, ["id", "transition"]), [{ popoverState: u11 }, l7] = le3("Popover.Backdrop"), c11 = (0, import_react64.useRef)(null), P4 = y(a15, c11), r12 = u8(), [i11, B2] = V(m12, c11, r12 !== null ? (r12 & i9.Open) === i9.Open : u11 === 0), y8 = o4((n10) => {
|
|
11447
11399
|
if (r4(n10.currentTarget))
|
|
11448
11400
|
return n10.preventDefault();
|
|
11449
11401
|
l7({ type: 1 });
|
|
11450
|
-
}), I6 = (0,
|
|
11402
|
+
}), I6 = (0, import_react64.useMemo)(() => ({ open: u11 === 0 }), [u11]), d9 = __spreadValues({ ref: P4, id: C2, "aria-hidden": true, onClick: y8 }, A3(B2));
|
|
11451
11403
|
return H({ ourProps: d9, theirProps: R6, slot: I6, defaultTag: Pt2, features: ct2, visible: i11, name: "Popover.Backdrop" });
|
|
11452
11404
|
}
|
|
11453
11405
|
var vt = "div";
|
|
11454
11406
|
var Tt = O.RenderStrategy | O.Static;
|
|
11455
11407
|
function mt(t11, a15) {
|
|
11456
|
-
let f12 = (0,
|
|
11408
|
+
let f12 = (0, import_react29.useId)(), _a = t11, { id: C2 = `headlessui-popover-panel-${f12}`, focus: m12 = false, anchor: R6, portal: u11 = false, modal: l7 = false, transition: c11 = false } = _a, P4 = __objRest(_a, ["id", "focus", "anchor", "portal", "modal", "transition"]), [r12, i11] = le3("Popover.Panel"), { close: B2, isPortalled: y8 } = me2("Popover.Panel"), I6 = `headlessui-focus-sentinel-before-${f12}`, d9 = `headlessui-focus-sentinel-after-${f12}`, n10 = (0, import_react64.useRef)(null), v6 = xe(R6), [_4, F5] = Re(v6), x6 = be();
|
|
11457
11409
|
v6 && (u11 = true);
|
|
11458
11410
|
let W3 = y(n10, a15, v6 ? _4 : null, (e5) => {
|
|
11459
11411
|
i11({ type: 4, panel: e5 });
|
|
@@ -11477,16 +11429,16 @@ function mt(t11, a15) {
|
|
|
11477
11429
|
break;
|
|
11478
11430
|
}
|
|
11479
11431
|
});
|
|
11480
|
-
(0,
|
|
11432
|
+
(0, import_react64.useEffect)(() => {
|
|
11481
11433
|
var e5;
|
|
11482
11434
|
t11.static || r12.popoverState === 1 && ((e5 = t11.unmount) == null || e5) && i11({ type: 4, panel: null });
|
|
11483
|
-
}, [r12.popoverState, t11.unmount, t11.static, i11]), (0,
|
|
11435
|
+
}, [r12.popoverState, t11.unmount, t11.static, i11]), (0, import_react64.useEffect)(() => {
|
|
11484
11436
|
if (r12.__demoMode || !m12 || r12.popoverState !== 0 || !n10.current)
|
|
11485
11437
|
return;
|
|
11486
11438
|
let e5 = T7 == null ? void 0 : T7.activeElement;
|
|
11487
11439
|
n10.current.contains(e5) || P3(n10.current, F.First);
|
|
11488
11440
|
}, [r12.__demoMode, m12, n10, r12.popoverState]);
|
|
11489
|
-
let O4 = (0,
|
|
11441
|
+
let O4 = (0, import_react64.useMemo)(() => ({ open: r12.popoverState === 0, close: B2 }), [r12.popoverState, B2]), k3 = D(v6 ? x6() : {}, __spreadValues({ ref: W3, id: C2, onKeyDown: Q, onBlur: m12 && r12.popoverState === 0 ? (e5) => {
|
|
11490
11442
|
var o12, p4, S7, b5, g3;
|
|
11491
11443
|
let s10 = e5.relatedTarget;
|
|
11492
11444
|
s10 && n10.current && ((o12 = n10.current) != null && o12.contains(s10) || (i11({ type: 1 }), ((S7 = (p4 = r12.beforePanelSentinel.current) == null ? void 0 : p4.contains) != null && S7.call(p4, s10) || (g3 = (b5 = r12.afterPanelSentinel.current) == null ? void 0 : b5.contains) != null && g3.call(b5, s10)) && s10.focus({ preventScroll: true })));
|
|
@@ -11527,11 +11479,11 @@ function mt(t11, a15) {
|
|
|
11527
11479
|
}
|
|
11528
11480
|
s10();
|
|
11529
11481
|
});
|
|
11530
|
-
return
|
|
11482
|
+
return import_react64.default.createElement(s8, null, import_react64.default.createElement(pe4.Provider, { value: C2 }, import_react64.default.createElement(ae4.Provider, { value: { close: B2, isPortalled: y8 } }, import_react64.default.createElement(te, { enabled: u11 ? t11.static || M8 : false }, M8 && y8 && import_react64.default.createElement(T, { id: I6, ref: r12.beforePanelSentinel, features: s4.Focusable, "data-headlessui-focus-guard": true, as: "button", type: "button", onFocus: $2 }), H({ mergeRefs: D6, ourProps: k3, theirProps: P4, slot: O4, defaultTag: vt, features: Tt, visible: M8, name: "Popover.Panel" }), M8 && y8 && import_react64.default.createElement(T, { id: d9, ref: r12.afterPanelSentinel, features: s4.Focusable, "data-headlessui-focus-guard": true, as: "button", type: "button", onFocus: J4 })))));
|
|
11531
11483
|
}
|
|
11532
11484
|
var yt = "div";
|
|
11533
11485
|
function Et(t11, a15) {
|
|
11534
|
-
let f12 = (0,
|
|
11486
|
+
let f12 = (0, import_react64.useRef)(null), C2 = y(f12, a15), [m12, R6] = (0, import_react64.useState)([]), u11 = y6(), l7 = o4((d9) => {
|
|
11535
11487
|
R6((n10) => {
|
|
11536
11488
|
let v6 = n10.indexOf(d9);
|
|
11537
11489
|
if (v6 !== -1) {
|
|
@@ -11553,8 +11505,8 @@ function Et(t11, a15) {
|
|
|
11553
11505
|
}), r12 = o4((d9) => {
|
|
11554
11506
|
for (let n10 of m12)
|
|
11555
11507
|
n10.buttonId.current !== d9 && n10.close();
|
|
11556
|
-
}), i11 = (0,
|
|
11557
|
-
return
|
|
11508
|
+
}), i11 = (0, import_react64.useMemo)(() => ({ registerPopover: c11, unregisterPopover: l7, isFocusWithinPopoverGroup: P4, closeOthers: r12, mainTreeNodeRef: u11.mainTreeNodeRef }), [c11, l7, P4, r12, u11.mainTreeNodeRef]), B2 = (0, import_react64.useMemo)(() => ({}), []), y8 = t11, I6 = { ref: C2 };
|
|
11509
|
+
return import_react64.default.createElement(ye3.Provider, { value: i11 }, H({ ourProps: I6, theirProps: y8, slot: B2, defaultTag: yt, name: "Popover.Group" }), import_react64.default.createElement(u11.MainTreeNode, null));
|
|
11558
11510
|
}
|
|
11559
11511
|
var bt = I(it);
|
|
11560
11512
|
var gt = I(ft);
|
|
@@ -11564,87 +11516,10 @@ var Rt = I(mt);
|
|
|
11564
11516
|
var Ct = I(Et);
|
|
11565
11517
|
var no = Object.assign(bt, { Button: gt, Backdrop: At, Overlay: St, Panel: Rt, Group: Ct });
|
|
11566
11518
|
|
|
11567
|
-
// src/components/DesignElements/header.tsx
|
|
11568
|
-
var import_outline2 = require("@heroicons/react/24/outline");
|
|
11569
|
-
var import_solid2 = require("@heroicons/react/20/solid");
|
|
11570
|
-
var import_core3 = require("@geowiki/core");
|
|
11571
|
-
|
|
11572
|
-
// src/components/Elements/ImageElement.tsx
|
|
11573
|
-
var import_core2 = require("@geowiki/core");
|
|
11574
|
-
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
11575
|
-
var ImageElement = ({
|
|
11576
|
-
src,
|
|
11577
|
-
width,
|
|
11578
|
-
height,
|
|
11579
|
-
alt = "Image",
|
|
11580
|
-
className,
|
|
11581
|
-
// = "relative w-full h-full",
|
|
11582
|
-
showPlaceholder = true
|
|
11583
|
-
//shimmer, toBase64,
|
|
11584
|
-
//cmsImageUrlPath
|
|
11585
|
-
}) => {
|
|
11586
|
-
if (width && height) {
|
|
11587
|
-
if (!showPlaceholder)
|
|
11588
|
-
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
11589
|
-
import_core2.Image,
|
|
11590
|
-
{
|
|
11591
|
-
className,
|
|
11592
|
-
src,
|
|
11593
|
-
alt,
|
|
11594
|
-
width,
|
|
11595
|
-
height,
|
|
11596
|
-
quality: 90,
|
|
11597
|
-
priority: true
|
|
11598
|
-
}
|
|
11599
|
-
);
|
|
11600
|
-
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
11601
|
-
import_core2.Image,
|
|
11602
|
-
{
|
|
11603
|
-
className,
|
|
11604
|
-
src,
|
|
11605
|
-
alt,
|
|
11606
|
-
placeholder: `data:image/svg+xml;base64,${toBase64(shimmer(700, 490))}`,
|
|
11607
|
-
width,
|
|
11608
|
-
height,
|
|
11609
|
-
quality: 90,
|
|
11610
|
-
priority: true
|
|
11611
|
-
}
|
|
11612
|
-
);
|
|
11613
|
-
}
|
|
11614
|
-
if (!showPlaceholder)
|
|
11615
|
-
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
11616
|
-
import_core2.Image,
|
|
11617
|
-
{
|
|
11618
|
-
className,
|
|
11619
|
-
src,
|
|
11620
|
-
alt,
|
|
11621
|
-
layout: "fill",
|
|
11622
|
-
objectFit: "cover",
|
|
11623
|
-
quality: 90,
|
|
11624
|
-
priority: true
|
|
11625
|
-
}
|
|
11626
|
-
);
|
|
11627
|
-
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
11628
|
-
import_core2.Image,
|
|
11629
|
-
{
|
|
11630
|
-
className: "rounded-xl",
|
|
11631
|
-
src,
|
|
11632
|
-
placeholder: `data:image/svg+xml;base64,${toBase64(shimmer(700, 490))}`,
|
|
11633
|
-
alt: src,
|
|
11634
|
-
quality: 90,
|
|
11635
|
-
fill: true,
|
|
11636
|
-
style: {
|
|
11637
|
-
objectFit: "cover"
|
|
11638
|
-
},
|
|
11639
|
-
priority: true
|
|
11640
|
-
}
|
|
11641
|
-
) });
|
|
11642
|
-
};
|
|
11643
|
-
|
|
11644
11519
|
// src/components/DesignElements/Notification.tsx
|
|
11645
|
-
var
|
|
11520
|
+
var import_react66 = require("react");
|
|
11646
11521
|
var import_outline = require("@heroicons/react/24/outline");
|
|
11647
|
-
var
|
|
11522
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
11648
11523
|
var Notification = ({
|
|
11649
11524
|
title,
|
|
11650
11525
|
description,
|
|
@@ -11652,45 +11527,45 @@ var Notification = ({
|
|
|
11652
11527
|
setOpen,
|
|
11653
11528
|
icon
|
|
11654
11529
|
}) => {
|
|
11655
|
-
return /* @__PURE__ */ (0,
|
|
11656
|
-
/* @__PURE__ */ (0,
|
|
11530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Xe.Root, { show: open, as: import_react66.Fragment, "data-component": "Notification", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Pt, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
11531
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
11657
11532
|
Xe.Child,
|
|
11658
11533
|
{
|
|
11659
|
-
as:
|
|
11534
|
+
as: import_react66.Fragment,
|
|
11660
11535
|
enter: "ease-out duration-300",
|
|
11661
11536
|
enterFrom: "opacity-0",
|
|
11662
11537
|
enterTo: "opacity-100",
|
|
11663
11538
|
leave: "ease-in duration-200",
|
|
11664
11539
|
leaveFrom: "opacity-100",
|
|
11665
11540
|
leaveTo: "opacity-0",
|
|
11666
|
-
children: /* @__PURE__ */ (0,
|
|
11541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" })
|
|
11667
11542
|
}
|
|
11668
11543
|
),
|
|
11669
|
-
/* @__PURE__ */ (0,
|
|
11544
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "fixed z-10 inset-0 overflow-y-auto text-black", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "flex items-center justify-center min-h-full p-4 text-center ", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
11670
11545
|
Xe.Child,
|
|
11671
11546
|
{
|
|
11672
|
-
as:
|
|
11547
|
+
as: import_react66.Fragment,
|
|
11673
11548
|
enter: "ease-out duration-300",
|
|
11674
11549
|
enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
11675
11550
|
enterTo: "opacity-100 translate-y-0 sm:scale-100",
|
|
11676
11551
|
leave: "ease-in duration-200",
|
|
11677
11552
|
leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
|
|
11678
11553
|
leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
11679
|
-
children: /* @__PURE__ */ (0,
|
|
11680
|
-
/* @__PURE__ */ (0,
|
|
11554
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Pt.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: [
|
|
11555
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "absolute top-0 right-0 pt-10 pr-10", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
11681
11556
|
"button",
|
|
11682
11557
|
{
|
|
11683
11558
|
type: "button",
|
|
11684
11559
|
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 ",
|
|
11685
11560
|
onClick: () => setOpen(false),
|
|
11686
11561
|
children: [
|
|
11687
|
-
/* @__PURE__ */ (0,
|
|
11688
|
-
/* @__PURE__ */ (0,
|
|
11562
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "sr-only", children: "Close" }),
|
|
11563
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_outline.XMarkIcon, { className: "h-6 w-6", "aria-hidden": "true" })
|
|
11689
11564
|
]
|
|
11690
11565
|
}
|
|
11691
11566
|
) }),
|
|
11692
|
-
/* @__PURE__ */ (0,
|
|
11693
|
-
/* @__PURE__ */ (0,
|
|
11567
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col items-center text-center max-w-[90rem]", children: [
|
|
11568
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("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__ */ (0, import_jsx_runtime113.jsx)(
|
|
11694
11569
|
"svg",
|
|
11695
11570
|
{
|
|
11696
11571
|
width: "40",
|
|
@@ -11698,7 +11573,7 @@ var Notification = ({
|
|
|
11698
11573
|
viewBox: "0 0 40 40",
|
|
11699
11574
|
fill: "none",
|
|
11700
11575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11701
|
-
children: /* @__PURE__ */ (0,
|
|
11576
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
11702
11577
|
"path",
|
|
11703
11578
|
{
|
|
11704
11579
|
d: "M35 23.3333C35 26.6667 33.3333 28.3333 30 28.3333H23.3333V33.75H27.5C28.1833 33.75 28.75 34.3167 28.75 35C28.75 35.6833 28.1833 36.25 27.5 36.25H12.5C11.8167 36.25 11.25 35.6833 11.25 35C11.25 34.3167 11.8167 33.75 12.5 33.75H16.6667V28.3333H10C6.66667 28.3333 5 26.6667 5 23.3333C5 23.1033 5.18667 22.9167 5.41667 22.9167H34.5833C34.8133 22.9167 35 23.1033 35 23.3333ZM30 5H10C6.66667 5 5 6.66667 5 10V20C5 20.23 5.18667 20.4167 5.41667 20.4167H34.5833C34.8133 20.4167 35 20.23 35 20V10C35 6.66667 33.3333 5 30 5Z",
|
|
@@ -11706,7 +11581,7 @@ var Notification = ({
|
|
|
11706
11581
|
}
|
|
11707
11582
|
)
|
|
11708
11583
|
}
|
|
11709
|
-
) : /* @__PURE__ */ (0,
|
|
11584
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
11710
11585
|
"svg",
|
|
11711
11586
|
{
|
|
11712
11587
|
width: "49",
|
|
@@ -11714,7 +11589,7 @@ var Notification = ({
|
|
|
11714
11589
|
viewBox: "0 0 49 48",
|
|
11715
11590
|
fill: "none",
|
|
11716
11591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11717
|
-
children: /* @__PURE__ */ (0,
|
|
11592
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
11718
11593
|
"path",
|
|
11719
11594
|
{
|
|
11720
11595
|
d: "M36.5 10H12.5C8.5 10 6.5 12 6.5 16V34C6.5 38 8.5 40 12.5 40H36.5C40.5 40 42.5 38 42.5 34V16C42.5 12 40.5 10 36.5 10ZM36.3818 19.212L26.5581 26.356C25.9421 26.804 25.22 27.028 24.5 27.028C23.78 27.028 23.0559 26.804 22.4419 26.358L12.6182 19.212C11.9482 18.726 11.8001 17.786 12.2881 17.116C12.7741 16.448 13.7078 16.296 14.3838 16.786L24.208 23.93C24.384 24.056 24.6179 24.058 24.7939 23.93L34.6182 16.786C35.2922 16.296 36.2279 16.448 36.7139 17.116C37.2019 17.788 37.0518 18.726 36.3818 19.212Z",
|
|
@@ -11723,8 +11598,8 @@ var Notification = ({
|
|
|
11723
11598
|
)
|
|
11724
11599
|
}
|
|
11725
11600
|
) }),
|
|
11726
|
-
/* @__PURE__ */ (0,
|
|
11727
|
-
/* @__PURE__ */ (0,
|
|
11601
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(H5Design, { className: "pt-8 pb-6", children: title }),
|
|
11602
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Body16, { children: description })
|
|
11728
11603
|
] })
|
|
11729
11604
|
] })
|
|
11730
11605
|
}
|
|
@@ -11732,8 +11607,180 @@ var Notification = ({
|
|
|
11732
11607
|
] }) });
|
|
11733
11608
|
};
|
|
11734
11609
|
|
|
11735
|
-
// src/components/DesignElements/
|
|
11610
|
+
// src/components/DesignElements/Link/SimpleLink.tsx
|
|
11611
|
+
var import_core2 = require("@geowiki/core");
|
|
11612
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
11613
|
+
var SimpleLink = ({ link }) => {
|
|
11614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
11615
|
+
import_core2.Link,
|
|
11616
|
+
{
|
|
11617
|
+
href: link.href,
|
|
11618
|
+
target: link.isNewTab ? "_blank" : "_self",
|
|
11619
|
+
rel: "noreferrer",
|
|
11620
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
11621
|
+
DesignButton,
|
|
11622
|
+
{
|
|
11623
|
+
variant: link.isNewTab ? "externalLink" : "internalLink",
|
|
11624
|
+
className: "h-auto p-0 flex self-start lg:p-0",
|
|
11625
|
+
children: link.title
|
|
11626
|
+
}
|
|
11627
|
+
)
|
|
11628
|
+
}
|
|
11629
|
+
);
|
|
11630
|
+
};
|
|
11631
|
+
|
|
11632
|
+
// src/components/DesignElements/TagsGroup.tsx
|
|
11633
|
+
var import_uuid2 = require("uuid");
|
|
11634
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
11635
|
+
var TagsGroup = ({ label, tags, variant }) => {
|
|
11636
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { children: tags && (tags == null ? void 0 : tags.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "w-[41.25rem] items-start max-md:flex-wrap max-md:max-w-full", children: [
|
|
11637
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Caption, { className: "text-grey", children: label }),
|
|
11638
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "pt-2 flex flex-wrap gap-1 lg:pt-4", children: tags == null ? void 0 : tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(DesignSimpleTag, { tag, variant }, (0, import_uuid2.v4)())) })
|
|
11639
|
+
] }) });
|
|
11640
|
+
};
|
|
11641
|
+
|
|
11642
|
+
// src/components/DesignElements/TestWeight.tsx
|
|
11643
|
+
var import_class_variance_authority14 = require("class-variance-authority");
|
|
11644
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
11645
|
+
var weightVariants = (0, import_class_variance_authority14.cva)("text-[1.375rem] leading-[120%]", {
|
|
11646
|
+
variants: {
|
|
11647
|
+
variant: {
|
|
11648
|
+
weight100: "font-thin",
|
|
11649
|
+
weight200: "font-extralight",
|
|
11650
|
+
weight300: "font-light",
|
|
11651
|
+
weight400: "font-normal",
|
|
11652
|
+
weight500: "font-medium",
|
|
11653
|
+
weight600: "font-semibold",
|
|
11654
|
+
weight700: "font-bold",
|
|
11655
|
+
weight800: "font-extrabold",
|
|
11656
|
+
weight900: "font-black"
|
|
11657
|
+
}
|
|
11658
|
+
},
|
|
11659
|
+
defaultVariants: {
|
|
11660
|
+
variant: "weight400"
|
|
11661
|
+
}
|
|
11662
|
+
});
|
|
11663
|
+
var TestWeight = ({ text, variant, className }) => {
|
|
11664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
11665
|
+
"div",
|
|
11666
|
+
{
|
|
11667
|
+
className: cn(weightVariants({ variant }), className),
|
|
11668
|
+
"data-component": "TestWeight",
|
|
11669
|
+
children: text
|
|
11670
|
+
}
|
|
11671
|
+
);
|
|
11672
|
+
};
|
|
11673
|
+
|
|
11674
|
+
// src/components/DesignElements/ThreeColumn.tsx
|
|
11675
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
11676
|
+
var ThreeColumn = ({ tag, content, TagClassName }) => {
|
|
11677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { className: "lg:container mx-auto lg:flex lg:gap-5 lg:justify-between lg:pr-20 lg:pt-20 w-full", children: [
|
|
11678
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Body18, { className: `pt-5 lg:w-[15%] lg:pt-0 ${TagClassName}`, children: tag }),
|
|
11679
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { className: "lg:w-[50%] max-md:max-w-[41.25rem]", children: content }),
|
|
11680
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { className: "lg:w-[15%]" })
|
|
11681
|
+
] });
|
|
11682
|
+
};
|
|
11683
|
+
|
|
11684
|
+
// src/components/DesignElements/VersionDisplay.tsx
|
|
11685
|
+
var import_react67 = require("react");
|
|
11736
11686
|
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
11687
|
+
var VersionDisplay = () => {
|
|
11688
|
+
const [version, setVersion] = (0, import_react67.useState)();
|
|
11689
|
+
(0, import_react67.useEffect)(() => {
|
|
11690
|
+
fetch("/version.json").then((res) => {
|
|
11691
|
+
if (!res.ok)
|
|
11692
|
+
throw new Error("Version file not found");
|
|
11693
|
+
return res.json();
|
|
11694
|
+
}).then((data) => setVersion(data.version)).catch(() => setVersion(void 0));
|
|
11695
|
+
}, []);
|
|
11696
|
+
if (!version)
|
|
11697
|
+
return null;
|
|
11698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "text-grey text-sm lg:text-base font-normal leading-[130%]", children: [
|
|
11699
|
+
"Version: ",
|
|
11700
|
+
version
|
|
11701
|
+
] });
|
|
11702
|
+
};
|
|
11703
|
+
|
|
11704
|
+
// src/components/DesignElements/header.tsx
|
|
11705
|
+
var import_react68 = require("react");
|
|
11706
|
+
var import_outline2 = require("@heroicons/react/24/outline");
|
|
11707
|
+
var import_solid2 = require("@heroicons/react/20/solid");
|
|
11708
|
+
var import_core4 = require("@geowiki/core");
|
|
11709
|
+
|
|
11710
|
+
// src/components/Elements/ImageElement.tsx
|
|
11711
|
+
var import_core3 = require("@geowiki/core");
|
|
11712
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
11713
|
+
var ImageElement = ({
|
|
11714
|
+
src,
|
|
11715
|
+
width,
|
|
11716
|
+
height,
|
|
11717
|
+
alt = "Image",
|
|
11718
|
+
className,
|
|
11719
|
+
// = "relative w-full h-full",
|
|
11720
|
+
showPlaceholder = true
|
|
11721
|
+
//shimmer, toBase64,
|
|
11722
|
+
//cmsImageUrlPath
|
|
11723
|
+
}) => {
|
|
11724
|
+
if (width && height) {
|
|
11725
|
+
if (!showPlaceholder)
|
|
11726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
11727
|
+
import_core3.Image,
|
|
11728
|
+
{
|
|
11729
|
+
className,
|
|
11730
|
+
src,
|
|
11731
|
+
alt,
|
|
11732
|
+
width,
|
|
11733
|
+
height,
|
|
11734
|
+
quality: 90,
|
|
11735
|
+
priority: true
|
|
11736
|
+
}
|
|
11737
|
+
);
|
|
11738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
11739
|
+
import_core3.Image,
|
|
11740
|
+
{
|
|
11741
|
+
className,
|
|
11742
|
+
src,
|
|
11743
|
+
alt,
|
|
11744
|
+
placeholder: `data:image/svg+xml;base64,${toBase64(shimmer(700, 490))}`,
|
|
11745
|
+
width,
|
|
11746
|
+
height,
|
|
11747
|
+
quality: 90,
|
|
11748
|
+
priority: true
|
|
11749
|
+
}
|
|
11750
|
+
);
|
|
11751
|
+
}
|
|
11752
|
+
if (!showPlaceholder)
|
|
11753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
11754
|
+
import_core3.Image,
|
|
11755
|
+
{
|
|
11756
|
+
className,
|
|
11757
|
+
src,
|
|
11758
|
+
alt,
|
|
11759
|
+
layout: "fill",
|
|
11760
|
+
objectFit: "cover",
|
|
11761
|
+
quality: 90,
|
|
11762
|
+
priority: true
|
|
11763
|
+
}
|
|
11764
|
+
);
|
|
11765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
11766
|
+
import_core3.Image,
|
|
11767
|
+
{
|
|
11768
|
+
className: "rounded-xl",
|
|
11769
|
+
src,
|
|
11770
|
+
placeholder: `data:image/svg+xml;base64,${toBase64(shimmer(700, 490))}`,
|
|
11771
|
+
alt: src,
|
|
11772
|
+
quality: 90,
|
|
11773
|
+
fill: true,
|
|
11774
|
+
style: {
|
|
11775
|
+
objectFit: "cover"
|
|
11776
|
+
},
|
|
11777
|
+
priority: true
|
|
11778
|
+
}
|
|
11779
|
+
) });
|
|
11780
|
+
};
|
|
11781
|
+
|
|
11782
|
+
// src/components/DesignElements/header.tsx
|
|
11783
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
11737
11784
|
var DesignHeader = ({
|
|
11738
11785
|
branding,
|
|
11739
11786
|
mainMenu,
|
|
@@ -11757,21 +11804,21 @@ var DesignHeader = ({
|
|
|
11757
11804
|
if (rootUrl) {
|
|
11758
11805
|
rootPath = rootUrl != null ? rootUrl : "/";
|
|
11759
11806
|
}
|
|
11760
|
-
return /* @__PURE__ */ (0,
|
|
11807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11761
11808
|
"header",
|
|
11762
11809
|
{
|
|
11763
11810
|
"data-component": "DesignHeader",
|
|
11764
11811
|
className: hasStickyNavBar ? "fixed w-full bg-white" : "lg:container mx-auto",
|
|
11765
11812
|
children: [
|
|
11766
|
-
/* @__PURE__ */ (0,
|
|
11813
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11767
11814
|
"nav",
|
|
11768
11815
|
{
|
|
11769
11816
|
className: "flex items-center justify-between p-4 lg:px-12 min-h-12",
|
|
11770
11817
|
"aria-label": "Global",
|
|
11771
11818
|
children: [
|
|
11772
|
-
/* @__PURE__ */ (0,
|
|
11773
|
-
/* @__PURE__ */ (0,
|
|
11774
|
-
/* @__PURE__ */ (0,
|
|
11819
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "hidden lg:flex lg:flex-1 md:flex md:flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_core4.Link, { href: rootPath, className: "-m-1.5 min-h-16", children: [
|
|
11820
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
11821
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11775
11822
|
ImageElement,
|
|
11776
11823
|
{
|
|
11777
11824
|
src: branding.logo,
|
|
@@ -11783,10 +11830,10 @@ var DesignHeader = ({
|
|
|
11783
11830
|
}
|
|
11784
11831
|
)
|
|
11785
11832
|
] }) }),
|
|
11786
|
-
/* @__PURE__ */ (0,
|
|
11787
|
-
/* @__PURE__ */ (0,
|
|
11788
|
-
/* @__PURE__ */ (0,
|
|
11789
|
-
/* @__PURE__ */ (0,
|
|
11833
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "flex lg:hidden md:hidden w-full", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "flex items-center justify-between w-full", children: [
|
|
11834
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_core4.Link, { href: rootPath, className: "flex-shrink-0", children: [
|
|
11835
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
11836
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11790
11837
|
ImageElement,
|
|
11791
11838
|
{
|
|
11792
11839
|
src: branding.logo,
|
|
@@ -11797,15 +11844,15 @@ var DesignHeader = ({
|
|
|
11797
11844
|
}
|
|
11798
11845
|
)
|
|
11799
11846
|
] }),
|
|
11800
|
-
mobile_menu_color == "light" && /* @__PURE__ */ (0,
|
|
11847
|
+
mobile_menu_color == "light" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11801
11848
|
"button",
|
|
11802
11849
|
{
|
|
11803
11850
|
type: "button",
|
|
11804
11851
|
className: "flex items-center justify-center h-12 w-12 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors duration-200",
|
|
11805
11852
|
onClick: () => setMobileMenuOpen(true),
|
|
11806
11853
|
children: [
|
|
11807
|
-
/* @__PURE__ */ (0,
|
|
11808
|
-
/* @__PURE__ */ (0,
|
|
11854
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: "Open main menu" }),
|
|
11855
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11809
11856
|
import_outline2.Bars3Icon,
|
|
11810
11857
|
{
|
|
11811
11858
|
className: `h-8 w-8 border-2 text-gray-700`,
|
|
@@ -11815,7 +11862,7 @@ var DesignHeader = ({
|
|
|
11815
11862
|
]
|
|
11816
11863
|
}
|
|
11817
11864
|
),
|
|
11818
|
-
mobile_menu_color == "dark" && /* @__PURE__ */ (0,
|
|
11865
|
+
mobile_menu_color == "dark" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11819
11866
|
"svg",
|
|
11820
11867
|
{
|
|
11821
11868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11825,18 +11872,18 @@ var DesignHeader = ({
|
|
|
11825
11872
|
fill: "none",
|
|
11826
11873
|
onClick: () => setMobileMenuOpen(true),
|
|
11827
11874
|
children: [
|
|
11828
|
-
/* @__PURE__ */ (0,
|
|
11829
|
-
/* @__PURE__ */ (0,
|
|
11830
|
-
/* @__PURE__ */ (0,
|
|
11875
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("circle", { cx: "20", cy: "20", r: "19.25", fill: "black", stroke: "black", strokeWidth: "1.5" }),
|
|
11876
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("path", { d: "M10 14C10 13.448 10.448 13 11 13H29C29.552 13 30 13.448 30 14C30 14.552 29.552 15 29 15H11C10.448 15 10 14.552 10 14ZM29 19H11C10.448 19 10 19.448 10 20C10 20.552 10.448 21 11 21H29C29.552 21 30 20.552 30 20C30 19.448 29.552 19 29 19ZM29 25H11C10.448 25 10 25.448 10 26C10 26.552 10.448 27 11 27H29C29.552 27 30 26.552 30 26C30 25.448 29.552 25 29 25Z", fill: "white" }),
|
|
11877
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: "Open main menu" })
|
|
11831
11878
|
]
|
|
11832
11879
|
}
|
|
11833
11880
|
)
|
|
11834
11881
|
] }) }),
|
|
11835
|
-
/* @__PURE__ */ (0,
|
|
11836
|
-
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ (0,
|
|
11837
|
-
/* @__PURE__ */ (0,
|
|
11882
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(no.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(
|
|
11883
|
+
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(no, { children: [
|
|
11884
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(no.Button, { className: "flex items-center gap-x-1 text-base font-medium outline-none border-none", children: [
|
|
11838
11885
|
menuItem.text,
|
|
11839
|
-
/* @__PURE__ */ (0,
|
|
11886
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11840
11887
|
import_solid2.ChevronDownIcon,
|
|
11841
11888
|
{
|
|
11842
11889
|
className: "h-6 w-6 flex-none text-black",
|
|
@@ -11844,12 +11891,12 @@ var DesignHeader = ({
|
|
|
11844
11891
|
}
|
|
11845
11892
|
)
|
|
11846
11893
|
] }),
|
|
11847
|
-
/* @__PURE__ */ (0,
|
|
11894
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(no.Panel, { className: "absolute mt-3 bg-white overflow-hidden bg-neutral-content rounded-lg ring-1 ring-gray-900/5 z-[401]", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "p-4 space-y-4 ", children: menuItem.subMenu.map((subItem) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11848
11895
|
"div",
|
|
11849
11896
|
{
|
|
11850
11897
|
className: "group relative flex rounded-lg text-sm leading-tight",
|
|
11851
|
-
children: /* @__PURE__ */ (0,
|
|
11852
|
-
|
|
11898
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11899
|
+
import_core4.Link,
|
|
11853
11900
|
{
|
|
11854
11901
|
href: subItem.link,
|
|
11855
11902
|
className: "block font-medium min-w-[120px] hover:font-semibold ",
|
|
@@ -11860,8 +11907,8 @@ var DesignHeader = ({
|
|
|
11860
11907
|
},
|
|
11861
11908
|
subItem.text
|
|
11862
11909
|
)) }) })
|
|
11863
|
-
] }, menuItem.text) : /* @__PURE__ */ (0,
|
|
11864
|
-
|
|
11910
|
+
] }, menuItem.text) : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11911
|
+
import_core4.Link,
|
|
11865
11912
|
{
|
|
11866
11913
|
href: menuItem.link,
|
|
11867
11914
|
className: "text-base font-medium leading-tight",
|
|
@@ -11870,9 +11917,9 @@ var DesignHeader = ({
|
|
|
11870
11917
|
}
|
|
11871
11918
|
) }, menuItem.text)
|
|
11872
11919
|
) }),
|
|
11873
|
-
/* @__PURE__ */ (0,
|
|
11874
|
-
sessionStatus === "unauthenticated" && /* @__PURE__ */ (0,
|
|
11875
|
-
/* @__PURE__ */ (0,
|
|
11920
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "hidden lg:flex lg:flex-1 lg:justify-end gap-8", children: canLogin && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
11921
|
+
sessionStatus === "unauthenticated" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
11922
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11876
11923
|
DesignButton,
|
|
11877
11924
|
{
|
|
11878
11925
|
variant: "secondary",
|
|
@@ -11881,24 +11928,24 @@ var DesignHeader = ({
|
|
|
11881
11928
|
children: "Login"
|
|
11882
11929
|
}
|
|
11883
11930
|
),
|
|
11884
|
-
canSignup && /* @__PURE__ */ (0,
|
|
11885
|
-
|
|
11931
|
+
canSignup && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(DesignButton, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11932
|
+
import_core4.Link,
|
|
11886
11933
|
{
|
|
11887
11934
|
href: `${isFeatureEnabled ? "/signup" : "/register"}`,
|
|
11888
11935
|
children: "Sign up"
|
|
11889
11936
|
}
|
|
11890
11937
|
) })
|
|
11891
11938
|
] }),
|
|
11892
|
-
sessionStatus === "authenticated" && /* @__PURE__ */ (0,
|
|
11893
|
-
isAdmin && /* @__PURE__ */ (0,
|
|
11894
|
-
|
|
11939
|
+
sessionStatus === "authenticated" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
11940
|
+
isAdmin && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11941
|
+
import_core4.Link,
|
|
11895
11942
|
{
|
|
11896
11943
|
href: `${isFeatureEnabled ? "/admin/cluster" : "/admin"} `,
|
|
11897
11944
|
className: "rounded-full flex-col items-center justify-center disabled:pointer-events-none hover:brightness-90 text-primary border border-primary py-2.5 px-5 text-base font-medium",
|
|
11898
11945
|
children: "Admin"
|
|
11899
11946
|
}
|
|
11900
11947
|
),
|
|
11901
|
-
/* @__PURE__ */ (0,
|
|
11948
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11902
11949
|
DesignButton,
|
|
11903
11950
|
{
|
|
11904
11951
|
variant: "secondary",
|
|
@@ -11912,7 +11959,7 @@ var DesignHeader = ({
|
|
|
11912
11959
|
]
|
|
11913
11960
|
}
|
|
11914
11961
|
) }),
|
|
11915
|
-
/* @__PURE__ */ (0,
|
|
11962
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11916
11963
|
Pt,
|
|
11917
11964
|
{
|
|
11918
11965
|
as: "div",
|
|
@@ -11920,12 +11967,12 @@ var DesignHeader = ({
|
|
|
11920
11967
|
open: mobileMenuOpen,
|
|
11921
11968
|
onClose: setMobileMenuOpen,
|
|
11922
11969
|
children: [
|
|
11923
|
-
/* @__PURE__ */ (0,
|
|
11924
|
-
/* @__PURE__ */ (0,
|
|
11925
|
-
/* @__PURE__ */ (0,
|
|
11926
|
-
/* @__PURE__ */ (0,
|
|
11927
|
-
/* @__PURE__ */ (0,
|
|
11928
|
-
/* @__PURE__ */ (0,
|
|
11970
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "fixed inset-0 z-10" }),
|
|
11971
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(Pt.Panel, { className: "fixed inset-y-0 right-0 z-10 flex w-full flex-col bg-white shadow-xl sm:max-w-sm", children: [
|
|
11972
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "flex items-center justify-between p-4", children: [
|
|
11973
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_core4.Link, { href: rootPath, className: "flex-shrink-0", children: [
|
|
11974
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: branding.title }),
|
|
11975
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11929
11976
|
ImageElement,
|
|
11930
11977
|
{
|
|
11931
11978
|
src: branding.logo,
|
|
@@ -11938,27 +11985,27 @@ var DesignHeader = ({
|
|
|
11938
11985
|
}
|
|
11939
11986
|
)
|
|
11940
11987
|
] }),
|
|
11941
|
-
mobile_menu_color == "light" && /* @__PURE__ */ (0,
|
|
11988
|
+
mobile_menu_color == "light" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
11942
11989
|
"button",
|
|
11943
11990
|
{
|
|
11944
11991
|
type: "button",
|
|
11945
11992
|
className: "flex items-center justify-center h-12 w-12 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors duration-200",
|
|
11946
11993
|
onClick: () => setMobileMenuOpen(false),
|
|
11947
11994
|
children: [
|
|
11948
|
-
/* @__PURE__ */ (0,
|
|
11949
|
-
/* @__PURE__ */ (0,
|
|
11995
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: "Close menu" }),
|
|
11996
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_outline2.XMarkIcon, { className: `h-8 w-8 text-gray-700`, "aria-hidden": "true" })
|
|
11950
11997
|
]
|
|
11951
11998
|
}
|
|
11952
11999
|
),
|
|
11953
|
-
mobile_menu_color == "dark" && /* @__PURE__ */ (0,
|
|
11954
|
-
/* @__PURE__ */ (0,
|
|
11955
|
-
/* @__PURE__ */ (0,
|
|
11956
|
-
/* @__PURE__ */ (0,
|
|
12000
|
+
mobile_menu_color == "dark" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", onClick: () => setMobileMenuOpen(false), children: [
|
|
12001
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("circle", { cx: "20", cy: "20", r: "19.25", fill: "black", stroke: "black", strokeWidth: "1.5" }),
|
|
12002
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("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" }),
|
|
12003
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "sr-only", style: { position: "absolute", width: "1px", height: "1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)" }, children: "Close menu" })
|
|
11957
12004
|
] })
|
|
11958
12005
|
] }),
|
|
11959
|
-
/* @__PURE__ */ (0,
|
|
11960
|
-
!mainMenu.some((menuItem) => menuItem.text === "Home") && /* @__PURE__ */ (0,
|
|
11961
|
-
|
|
12006
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "flex-1 flex flex-col p-6", children: [
|
|
12007
|
+
!mainMenu.some((menuItem) => menuItem.text === "Home") && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "py-2", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12008
|
+
import_core4.Link,
|
|
11962
12009
|
{
|
|
11963
12010
|
href: rootPath,
|
|
11964
12011
|
className: "block text-lg font-semibold text-gray-900 hover:text-gray-700 transition-colors duration-200",
|
|
@@ -11967,10 +12014,10 @@ var DesignHeader = ({
|
|
|
11967
12014
|
}
|
|
11968
12015
|
) }),
|
|
11969
12016
|
mainMenu.map(
|
|
11970
|
-
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ (0,
|
|
11971
|
-
/* @__PURE__ */ (0,
|
|
12017
|
+
(menuItem) => menuItem.subMenu ? /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(no, { className: "relative", children: [
|
|
12018
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(no.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: [
|
|
11972
12019
|
menuItem.text,
|
|
11973
|
-
/* @__PURE__ */ (0,
|
|
12020
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
11974
12021
|
import_solid2.ChevronDownIcon,
|
|
11975
12022
|
{
|
|
11976
12023
|
className: "h-5 w-5 flex-none text-gray-500",
|
|
@@ -11978,8 +12025,8 @@ var DesignHeader = ({
|
|
|
11978
12025
|
}
|
|
11979
12026
|
)
|
|
11980
12027
|
] }),
|
|
11981
|
-
/* @__PURE__ */ (0,
|
|
11982
|
-
|
|
12028
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(no.Panel, { className: "relative mt-2 ml-4", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "space-y-3", children: menuItem.subMenu.map((subItem) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12029
|
+
import_core4.Link,
|
|
11983
12030
|
{
|
|
11984
12031
|
href: subItem.link,
|
|
11985
12032
|
className: "block text-base text-gray-600 hover:text-gray-900 hover:font-medium transition-colors duration-200 py-1",
|
|
@@ -11988,8 +12035,8 @@ var DesignHeader = ({
|
|
|
11988
12035
|
children: subItem.text
|
|
11989
12036
|
}
|
|
11990
12037
|
) }, subItem.text)) }) })
|
|
11991
|
-
] }, menuItem.text) : /* @__PURE__ */ (0,
|
|
11992
|
-
|
|
12038
|
+
] }, menuItem.text) : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12039
|
+
import_core4.Link,
|
|
11993
12040
|
{
|
|
11994
12041
|
href: menuItem.link,
|
|
11995
12042
|
className: "block text-lg font-semibold text-gray-900 hover:text-gray-700 transition-colors duration-200 py-2",
|
|
@@ -11999,9 +12046,9 @@ var DesignHeader = ({
|
|
|
11999
12046
|
}
|
|
12000
12047
|
) }, menuItem.text)
|
|
12001
12048
|
),
|
|
12002
|
-
canLogin && /* @__PURE__ */ (0,
|
|
12003
|
-
sessionStatus === "unauthenticated" && /* @__PURE__ */ (0,
|
|
12004
|
-
/* @__PURE__ */ (0,
|
|
12049
|
+
canLogin && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "pt-6 mt-auto", children: [
|
|
12050
|
+
sessionStatus === "unauthenticated" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "flex gap-4 mb-4", children: [
|
|
12051
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12005
12052
|
"button",
|
|
12006
12053
|
{
|
|
12007
12054
|
type: "button",
|
|
@@ -12013,8 +12060,8 @@ var DesignHeader = ({
|
|
|
12013
12060
|
children: "Login"
|
|
12014
12061
|
}
|
|
12015
12062
|
),
|
|
12016
|
-
canSignup && /* @__PURE__ */ (0,
|
|
12017
|
-
|
|
12063
|
+
canSignup && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12064
|
+
import_core4.Link,
|
|
12018
12065
|
{
|
|
12019
12066
|
href: `${isFeatureEnabled ? "/signup" : "/register"}`,
|
|
12020
12067
|
className: "text-base font-medium text-gray-900 hover:text-gray-700 transition-colors duration-200",
|
|
@@ -12023,9 +12070,9 @@ var DesignHeader = ({
|
|
|
12023
12070
|
}
|
|
12024
12071
|
)
|
|
12025
12072
|
] }),
|
|
12026
|
-
sessionStatus === "authenticated" && /* @__PURE__ */ (0,
|
|
12027
|
-
isAdmin && /* @__PURE__ */ (0,
|
|
12028
|
-
|
|
12073
|
+
sessionStatus === "authenticated" && /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "space-y-3 mb-4", children: [
|
|
12074
|
+
isAdmin && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12075
|
+
import_core4.Link,
|
|
12029
12076
|
{
|
|
12030
12077
|
href: `${isFeatureEnabled ? "/admin/cluster" : "/admin"}`,
|
|
12031
12078
|
className: "block text-base font-medium text-gray-900 hover:text-gray-700 transition-colors duration-200",
|
|
@@ -12033,7 +12080,7 @@ var DesignHeader = ({
|
|
|
12033
12080
|
children: "Admin"
|
|
12034
12081
|
}
|
|
12035
12082
|
),
|
|
12036
|
-
/* @__PURE__ */ (0,
|
|
12083
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12037
12084
|
"button",
|
|
12038
12085
|
{
|
|
12039
12086
|
type: "button",
|
|
@@ -12047,9 +12094,9 @@ var DesignHeader = ({
|
|
|
12047
12094
|
)
|
|
12048
12095
|
] })
|
|
12049
12096
|
] }),
|
|
12050
|
-
/* @__PURE__ */ (0,
|
|
12051
|
-
/* @__PURE__ */ (0,
|
|
12052
|
-
|
|
12097
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "pt-4 mt-auto border-t-2", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "flex flex-wrap gap-4 text-base text-gray-600", children: [
|
|
12098
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12099
|
+
import_core4.Link,
|
|
12053
12100
|
{
|
|
12054
12101
|
href: privacy_policy_url != null ? privacy_policy_url : "/",
|
|
12055
12102
|
className: "hover:text-gray-900 transition-colors duration-200",
|
|
@@ -12057,8 +12104,8 @@ var DesignHeader = ({
|
|
|
12057
12104
|
children: "Privacy Policy"
|
|
12058
12105
|
}
|
|
12059
12106
|
),
|
|
12060
|
-
/* @__PURE__ */ (0,
|
|
12061
|
-
|
|
12107
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12108
|
+
import_core4.Link,
|
|
12062
12109
|
{
|
|
12063
12110
|
href: termsUrl != null ? termsUrl : "/",
|
|
12064
12111
|
className: "hover:text-gray-900 transition-colors duration-200",
|
|
@@ -12066,8 +12113,8 @@ var DesignHeader = ({
|
|
|
12066
12113
|
children: "Terms of Use"
|
|
12067
12114
|
}
|
|
12068
12115
|
),
|
|
12069
|
-
showLanguageSwitcher && /* @__PURE__ */ (0,
|
|
12070
|
-
|
|
12116
|
+
showLanguageSwitcher && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12117
|
+
import_core4.Link,
|
|
12071
12118
|
{
|
|
12072
12119
|
href: "/page/language",
|
|
12073
12120
|
className: "hover:text-gray-900 transition-colors duration-200",
|
|
@@ -12077,7 +12124,7 @@ var DesignHeader = ({
|
|
|
12077
12124
|
)
|
|
12078
12125
|
] }) })
|
|
12079
12126
|
] }),
|
|
12080
|
-
/* @__PURE__ */ (0,
|
|
12127
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
12081
12128
|
Notification,
|
|
12082
12129
|
{
|
|
12083
12130
|
title: "Please login to your account on your desktop",
|
|
@@ -12098,7 +12145,7 @@ var DesignHeader = ({
|
|
|
12098
12145
|
|
|
12099
12146
|
// src/components/Elements/HTMLView.tsx
|
|
12100
12147
|
var import_html_react_parser = __toESM(require("html-react-parser"));
|
|
12101
|
-
var
|
|
12148
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
12102
12149
|
var HtmlView = (props) => {
|
|
12103
12150
|
const options = {
|
|
12104
12151
|
replace: (domNode) => {
|
|
@@ -12114,11 +12161,11 @@ var HtmlView = (props) => {
|
|
|
12114
12161
|
data = data.replace(match, imageHtml);
|
|
12115
12162
|
});
|
|
12116
12163
|
}
|
|
12117
|
-
return /* @__PURE__ */ (0,
|
|
12164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("span", { children: (0, import_html_react_parser.default)(data) });
|
|
12118
12165
|
}
|
|
12119
12166
|
}
|
|
12120
12167
|
};
|
|
12121
|
-
return /* @__PURE__ */ (0,
|
|
12168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
12122
12169
|
"div",
|
|
12123
12170
|
{
|
|
12124
12171
|
className: props.cssClass !== void 0 && props.cssClass !== null ? props.cssClass : "lg:py-5",
|
|
@@ -12132,8 +12179,8 @@ var HtmlView = (props) => {
|
|
|
12132
12179
|
|
|
12133
12180
|
// src/components/DesignElements/ResourcesQuickFind.tsx
|
|
12134
12181
|
var import_react70 = require("react");
|
|
12135
|
-
var
|
|
12136
|
-
var
|
|
12182
|
+
var import_core5 = require("@geowiki/core");
|
|
12183
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
12137
12184
|
var ResourcesQuickFind = (props) => {
|
|
12138
12185
|
const [selectedParent, setSelectedParent] = (0, import_react70.useState)();
|
|
12139
12186
|
const [selectedChild, setSelectedChild] = (0, import_react70.useState)();
|
|
@@ -12153,9 +12200,9 @@ var ResourcesQuickFind = (props) => {
|
|
|
12153
12200
|
});
|
|
12154
12201
|
return updatedArray;
|
|
12155
12202
|
};
|
|
12156
|
-
return /* @__PURE__ */ (0,
|
|
12157
|
-
/* @__PURE__ */ (0,
|
|
12158
|
-
/* @__PURE__ */ (0,
|
|
12203
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("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__ */ (0, import_jsx_runtime122.jsx)("div", { className: "lg:container mx-auto w-full max-w-[1116px] ", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: "lg:flex lg:gap-5 ", children: [
|
|
12204
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: "flex flex-col lg:w-[57%] ", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: "flex flex-col text-gray-900 space-y-4 lg:space-y-6 lg:mt-2.5", children: [
|
|
12205
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
12159
12206
|
HtmlView,
|
|
12160
12207
|
{
|
|
12161
12208
|
cssClass: "m-0 pt-2 lg:pt-0",
|
|
@@ -12166,14 +12213,14 @@ var ResourcesQuickFind = (props) => {
|
|
|
12166
12213
|
) : props.title
|
|
12167
12214
|
}
|
|
12168
12215
|
),
|
|
12169
|
-
/* @__PURE__ */ (0,
|
|
12170
|
-
props.resource_finder_text && props.resource_finder_url && /* @__PURE__ */ (0,
|
|
12216
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Body18, { className: "lg:w-[65%]", children: props.description }),
|
|
12217
|
+
props.resource_finder_text && props.resource_finder_url && /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
12171
12218
|
DesignButton,
|
|
12172
12219
|
{
|
|
12173
12220
|
className: "h-auto p-0 lg:p-0 self-start",
|
|
12174
12221
|
variant: "internalLink",
|
|
12175
|
-
children: /* @__PURE__ */ (0,
|
|
12176
|
-
|
|
12222
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
12223
|
+
import_core5.Link,
|
|
12177
12224
|
{
|
|
12178
12225
|
href: props.resource_finder_url,
|
|
12179
12226
|
target: "_self",
|
|
@@ -12184,17 +12231,17 @@ var ResourcesQuickFind = (props) => {
|
|
|
12184
12231
|
}
|
|
12185
12232
|
)
|
|
12186
12233
|
] }) }),
|
|
12187
|
-
/* @__PURE__ */ (0,
|
|
12188
|
-
/* @__PURE__ */ (0,
|
|
12189
|
-
/* @__PURE__ */ (0,
|
|
12234
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("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__ */ (0, import_jsx_runtime122.jsx)("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__ */ (0, import_jsx_runtime122.jsx)("div", { className: "w-full flex-col flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: " w-full lg:w-[20rem] p-8 bg-opacity-40 rounded-xl", children: [
|
|
12235
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Body16m, { className: "pb-1", children: props.parent_list_title }),
|
|
12236
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
12190
12237
|
DesignSelect,
|
|
12191
12238
|
{
|
|
12192
12239
|
onValueChange: (v6) => {
|
|
12193
12240
|
handleParentChange(v6);
|
|
12194
12241
|
},
|
|
12195
12242
|
children: [
|
|
12196
|
-
/* @__PURE__ */ (0,
|
|
12197
|
-
/* @__PURE__ */ (0,
|
|
12243
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectTrigger, { className: "w-full lg:w-80 bg-white", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectValue, { placeholder: "Select one" }) }),
|
|
12244
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectGroup, { children: props.parent_list.map((audience) => /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
12198
12245
|
DesignSelectItem,
|
|
12199
12246
|
{
|
|
12200
12247
|
value: audience.key,
|
|
@@ -12205,17 +12252,17 @@ var ResourcesQuickFind = (props) => {
|
|
|
12205
12252
|
]
|
|
12206
12253
|
}
|
|
12207
12254
|
),
|
|
12208
|
-
props.child_list && /* @__PURE__ */ (0,
|
|
12209
|
-
/* @__PURE__ */ (0,
|
|
12210
|
-
/* @__PURE__ */ (0,
|
|
12255
|
+
props.child_list && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
12256
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Body16m, { className: "pb-1 pt-8", children: props.child_list_title }),
|
|
12257
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
12211
12258
|
DesignSelect,
|
|
12212
12259
|
{
|
|
12213
12260
|
onValueChange: (v6) => {
|
|
12214
12261
|
handleChildChange(v6);
|
|
12215
12262
|
},
|
|
12216
12263
|
children: [
|
|
12217
|
-
/* @__PURE__ */ (0,
|
|
12218
|
-
/* @__PURE__ */ (0,
|
|
12264
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectTrigger, { className: "w-full lg:w-80 bg-white", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectValue, { placeholder: "Select one" }) }),
|
|
12265
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DesignSelectGroup, { children: updateChild().map((topic) => /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
12219
12266
|
DesignSelectItem,
|
|
12220
12267
|
{
|
|
12221
12268
|
value: topic.key,
|
|
@@ -12227,15 +12274,15 @@ var ResourcesQuickFind = (props) => {
|
|
|
12227
12274
|
}
|
|
12228
12275
|
)
|
|
12229
12276
|
] }),
|
|
12230
|
-
props.download_resource && /* @__PURE__ */ (0,
|
|
12277
|
+
props.download_resource && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
12231
12278
|
"a",
|
|
12232
12279
|
{
|
|
12233
12280
|
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"),
|
|
12234
12281
|
href: selectedParent ? props.parent_list.filter((x6) => x6.key == selectedParent)[0].link : "#",
|
|
12235
12282
|
target: "_blank",
|
|
12236
12283
|
children: [
|
|
12237
|
-
/* @__PURE__ */ (0,
|
|
12238
|
-
/* @__PURE__ */ (0,
|
|
12284
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: "inline-flex justify-start items-start gap-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: "justify-center text-white text-lg font-medium", children: "Download" }) }),
|
|
12285
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: "w-3.5 h-5bg-white", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M1.29297 10.707C0.901969 10.316 0.901969 9.68397 1.29297 9.29297C1.68397 8.90197 2.31603 8.90197 2.70703 9.29297L6 12.5859V1C6 0.448 6.447 0 7 0C7.553 0 8 0.448 8 1V12.5859L11.293 9.29297C11.684 8.90197 12.316 8.90197 12.707 9.29297C13.098 9.68397 13.098 10.316 12.707 10.707L7.70801 15.7061C7.61501 15.7991 7.50508 15.8721 7.38208 15.9231C7.26008 15.9741 7.13 16 7 16C6.87 16 6.73992 15.9731 6.61792 15.9231C6.49492 15.8721 6.38499 15.7991 6.29199 15.7061L1.29297 10.707ZM13 18H1C0.447 18 0 18.448 0 19C0 19.552 0.447 20 1 20H13C13.553 20 14 19.552 14 19C14 18.448 13.553 18 13 18Z", fill: "white" }) }) }) })
|
|
12239
12286
|
]
|
|
12240
12287
|
}
|
|
12241
12288
|
)
|
|
@@ -12245,32 +12292,32 @@ var ResourcesQuickFind = (props) => {
|
|
|
12245
12292
|
|
|
12246
12293
|
// src/components/DesignElements/FAQItem.tsx
|
|
12247
12294
|
var import_outline3 = require("@heroicons/react/24/outline");
|
|
12248
|
-
var
|
|
12295
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
12249
12296
|
var FAQItem = ({ faqs, backgroundColor }) => {
|
|
12250
|
-
return /* @__PURE__ */ (0,
|
|
12297
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { className: "mx-auto", "data-component": "FAQItem", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("dl", { children: faqs.map((faq) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
12251
12298
|
We2,
|
|
12252
12299
|
{
|
|
12253
12300
|
as: "div",
|
|
12254
12301
|
className: "border-0 border-b border-zinc-300",
|
|
12255
|
-
children: ({ open }) => /* @__PURE__ */ (0,
|
|
12256
|
-
/* @__PURE__ */ (0,
|
|
12257
|
-
/* @__PURE__ */ (0,
|
|
12258
|
-
/* @__PURE__ */ (0,
|
|
12302
|
+
children: ({ open }) => /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
12303
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("dt", { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(We2.Button, { className: "pt-6 flex w-full items-start justify-between text-left lg:pt-8", children: [
|
|
12304
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Body20m, { className: `${open ? "pb-0" : "pb-6 lg:pb-8"}`, children: faq.question }),
|
|
12305
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { className: "ml-6 flex h-7 items-center", children: open ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
12259
12306
|
import_outline3.MinusSmallIcon,
|
|
12260
12307
|
{
|
|
12261
12308
|
className: "h-6 w-6",
|
|
12262
12309
|
"aria-hidden": "true"
|
|
12263
12310
|
}
|
|
12264
|
-
) : /* @__PURE__ */ (0,
|
|
12311
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_outline3.PlusSmallIcon, { className: "h-6 w-6", "aria-hidden": "true" }) })
|
|
12265
12312
|
] }) }),
|
|
12266
|
-
/* @__PURE__ */ (0,
|
|
12313
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
12267
12314
|
We2.Panel,
|
|
12268
12315
|
{
|
|
12269
12316
|
as: "dd",
|
|
12270
12317
|
className: `pr-10 ${faq.hint ? "pt-6 pb-8 space-y-6" : "py-6"}`,
|
|
12271
12318
|
children: [
|
|
12272
|
-
/* @__PURE__ */ (0,
|
|
12273
|
-
/* @__PURE__ */ (0,
|
|
12319
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Body16, { children: faq.hint }),
|
|
12320
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
12274
12321
|
Body18,
|
|
12275
12322
|
{
|
|
12276
12323
|
className: (backgroundColor == null ? void 0 : backgroundColor.includes("text-white")) ? "text-white" : "text-zinc-500",
|
|
@@ -12287,30 +12334,30 @@ var FAQItem = ({ faqs, backgroundColor }) => {
|
|
|
12287
12334
|
};
|
|
12288
12335
|
|
|
12289
12336
|
// src/components/DesignElements/FaqComponent.tsx
|
|
12290
|
-
var
|
|
12337
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
12291
12338
|
var FaqComponent = (props) => {
|
|
12292
|
-
return /* @__PURE__ */ (0,
|
|
12293
|
-
/* @__PURE__ */ (0,
|
|
12294
|
-
/* @__PURE__ */ (0,
|
|
12339
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("div", { id: props.id, children: [
|
|
12340
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("a", { href: "#faq" }),
|
|
12341
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
12295
12342
|
"div",
|
|
12296
12343
|
{
|
|
12297
12344
|
className: `${props.backgroundColor} rounded-xl `,
|
|
12298
12345
|
"data-component": "FaqComponent",
|
|
12299
|
-
children: /* @__PURE__ */ (0,
|
|
12346
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
|
|
12300
12347
|
"div",
|
|
12301
12348
|
{
|
|
12302
12349
|
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 "}`,
|
|
12303
12350
|
children: [
|
|
12304
|
-
/* @__PURE__ */ (0,
|
|
12305
|
-
/* @__PURE__ */ (0,
|
|
12306
|
-
/* @__PURE__ */ (0,
|
|
12351
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(Body18, { className: "w-[15%] pb-2 lg:pb-0", children: [
|
|
12352
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { className: "hidden md:block", children: props.subtitle }),
|
|
12353
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { className: "block md:hidden", children: "FAQs" })
|
|
12307
12354
|
] }),
|
|
12308
|
-
/* @__PURE__ */ (0,
|
|
12309
|
-
/* @__PURE__ */ (0,
|
|
12310
|
-
/* @__PURE__ */ (0,
|
|
12311
|
-
props.faqs && /* @__PURE__ */ (0,
|
|
12355
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("div", { className: "lg:w-[50%]", children: [
|
|
12356
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(H3Design, { className: "pb-4", children: props.title }),
|
|
12357
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Body18, { children: props.description }),
|
|
12358
|
+
props.faqs && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(FAQItem, { faqs: props.faqs, backgroundColor: props.backgroundColor })
|
|
12312
12359
|
] }),
|
|
12313
|
-
/* @__PURE__ */ (0,
|
|
12360
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className: "hidden lg:w-[15%] lg:inline" })
|
|
12314
12361
|
]
|
|
12315
12362
|
}
|
|
12316
12363
|
)
|
|
@@ -12320,13 +12367,13 @@ var FaqComponent = (props) => {
|
|
|
12320
12367
|
};
|
|
12321
12368
|
|
|
12322
12369
|
// src/components/DesignElements/footer.tsx
|
|
12323
|
-
var
|
|
12370
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
12324
12371
|
var DesignFooter = (props) => {
|
|
12325
12372
|
var _a, _b, _c;
|
|
12326
|
-
return /* @__PURE__ */ (0,
|
|
12327
|
-
props.branding.logo && props.branding.title && /* @__PURE__ */ (0,
|
|
12328
|
-
/* @__PURE__ */ (0,
|
|
12329
|
-
props.branding.logo && /* @__PURE__ */ (0,
|
|
12373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("footer", { "data-component": "DesignFooter", children: [
|
|
12374
|
+
props.branding.logo && props.branding.title && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "bg-neutral-100 rounded-tl-3xl rounded-tr-3xl lg:px-12 px-4 mt-20", children: [
|
|
12375
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "container mx-auto flex flex-col lg:flex-row items-center lg:items-start justify-between pt-12 gap-4", children: [
|
|
12376
|
+
props.branding.logo && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12330
12377
|
ImageElement,
|
|
12331
12378
|
{
|
|
12332
12379
|
src: props.branding.logo,
|
|
@@ -12337,21 +12384,21 @@ var DesignFooter = (props) => {
|
|
|
12337
12384
|
},
|
|
12338
12385
|
props.branding.logo
|
|
12339
12386
|
),
|
|
12340
|
-
/* @__PURE__ */ (0,
|
|
12387
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "text-center text-primary text-sm lg:text-lg font-semibold capitalize leading-[130%]", children: props.branding.title })
|
|
12341
12388
|
] }),
|
|
12342
|
-
props.navigation && props.navigation.length > 0 && /* @__PURE__ */ (0,
|
|
12343
|
-
/* @__PURE__ */ (0,
|
|
12344
|
-
/* @__PURE__ */ (0,
|
|
12389
|
+
props.navigation && props.navigation.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "pt-12 lg:pt-20 pb-8 lg:pb-16 container mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("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__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
|
|
12390
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Body18m, { className: "mb-4", children: category.category }),
|
|
12391
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("ul", { role: "list", className: "space-y-4", children: category.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("a", { href: item.href, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Body18, { children: item.name }) }) }, item.name)) })
|
|
12345
12392
|
] }, category.category)) }) }),
|
|
12346
|
-
props.navigation && props.navigation.length > 0 && props.bottomMenu && props.bottomMenu.length > 0 && /* @__PURE__ */ (0,
|
|
12347
|
-
/* @__PURE__ */ (0,
|
|
12348
|
-
/* @__PURE__ */ (0,
|
|
12393
|
+
props.navigation && props.navigation.length > 0 && props.bottomMenu && props.bottomMenu.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "border-t border-neutral-300" }),
|
|
12394
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("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__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "w-full items-center justify-between lg:flex", children: [
|
|
12395
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("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__ */ (0, import_jsx_runtime125.jsxs)(
|
|
12349
12396
|
"a",
|
|
12350
12397
|
{
|
|
12351
12398
|
href: item.href,
|
|
12352
12399
|
className: `text-lg font-normal leading-[130%] flex items-center justify-center ${item.name === "Contact" ? "hidden lg:block" : ""}`,
|
|
12353
12400
|
children: [
|
|
12354
|
-
item.name == "Language" && /* @__PURE__ */ (0,
|
|
12401
|
+
item.name == "Language" && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "hidden lg:block lg:pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
12355
12402
|
"svg",
|
|
12356
12403
|
{
|
|
12357
12404
|
width: "33",
|
|
@@ -12360,14 +12407,14 @@ var DesignFooter = (props) => {
|
|
|
12360
12407
|
fill: "none",
|
|
12361
12408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12362
12409
|
children: [
|
|
12363
|
-
/* @__PURE__ */ (0,
|
|
12410
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12364
12411
|
"path",
|
|
12365
12412
|
{
|
|
12366
12413
|
d: "M1.94995 22.212C0.729951 20.892 0 19.121 0 17.001C0 12 4.03 9 9 9C13.97 9 18 12 18 17.001C18 22.002 13.97 25.002 9 25.002C7.72 25.002 6.50991 24.802 5.40991 24.422C4.06991 25.852 1.87996 26.0419 0.459961 25.9919C0.0299609 25.9819 -0.160078 25.432 0.169922 25.152C1.25992 24.273 1.79995 23.173 1.94995 22.212Z",
|
|
12367
12414
|
fill: "#101010"
|
|
12368
12415
|
}
|
|
12369
12416
|
),
|
|
12370
|
-
/* @__PURE__ */ (0,
|
|
12417
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12371
12418
|
"path",
|
|
12372
12419
|
{
|
|
12373
12420
|
d: "M32.1439 17.7628L32.144 17.7626L32.1536 17.7707C32.8223 18.3382 32.4564 19.4679 31.5552 19.4917C30.1893 19.5395 27.9612 19.3819 26.4556 17.9925C25.3814 18.3278 24.2185 18.502 23 18.502C20.4179 18.502 18.0475 17.7227 16.3137 16.2589C14.5716 14.7881 13.5 12.6476 13.5 10.001C13.5 7.35432 14.5716 5.2139 16.3137 3.74307C18.0475 2.27927 20.4179 1.5 23 1.5C25.5821 1.5 27.9525 2.27927 29.6863 3.74307C31.4284 5.2139 32.5 7.35432 32.5 10.001C32.5 12.1433 31.7925 13.968 30.5872 15.3614C30.7637 16.1483 31.2398 17.0337 32.1439 17.7628Z",
|
|
@@ -12375,14 +12422,14 @@ var DesignFooter = (props) => {
|
|
|
12375
12422
|
stroke: "white"
|
|
12376
12423
|
}
|
|
12377
12424
|
),
|
|
12378
|
-
/* @__PURE__ */ (0,
|
|
12425
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12379
12426
|
"path",
|
|
12380
12427
|
{
|
|
12381
12428
|
d: "M27 6.5H23.5V6C23.5 5.86739 23.4473 5.74021 23.3536 5.64645C23.2598 5.55268 23.1326 5.5 23 5.5C22.8674 5.5 22.7402 5.55268 22.6464 5.64645C22.5527 5.74021 22.5 5.86739 22.5 6V6.5H19C18.8674 6.5 18.7402 6.55268 18.6464 6.64645C18.5527 6.74021 18.5 6.86739 18.5 7C18.5 7.13261 18.5527 7.25979 18.6464 7.35355C18.7402 7.44732 18.8674 7.5 19 7.5H24.9411C24.7163 8.99882 24.0272 10.3894 22.9707 11.4761C22.2391 10.7254 21.6799 9.82414 21.332 8.83521C21.2882 8.71015 21.1965 8.60761 21.0771 8.5501C20.9577 8.49259 20.8204 8.48481 20.6953 8.52848C20.5702 8.57215 20.4675 8.66369 20.4098 8.78299C20.3522 8.9023 20.3442 9.03962 20.3877 9.16479C20.7796 10.2786 21.4072 11.2948 22.2278 12.1439C21.3816 12.8114 20.3955 13.2789 19.3433 13.5115C19.2229 13.5379 19.1165 13.6078 19.0445 13.7078C18.9726 13.8079 18.9401 13.9309 18.9533 14.0535C18.9664 14.176 19.0244 14.2893 19.116 14.3717C19.2077 14.4541 19.3265 14.4998 19.4497 14.5C19.4858 14.5 19.5218 14.4961 19.5571 14.4885C20.8104 14.2121 21.9807 13.6435 22.9726 12.8291C23.9671 13.6428 25.1389 14.2112 26.3936 14.4885C26.5227 14.5157 26.6574 14.4907 26.7682 14.419C26.879 14.3472 26.9569 14.2346 26.985 14.1057C27.0131 13.9767 26.9891 13.8419 26.9182 13.7305C26.8473 13.6192 26.7352 13.5405 26.6064 13.5114C25.5511 13.2792 24.5617 12.8121 23.7117 12.1449C24.934 10.8754 25.7172 9.2474 25.9462 7.5H27C27.1326 7.5 27.2598 7.44732 27.3536 7.35355C27.4473 7.25979 27.5 7.13261 27.5 7C27.5 6.86739 27.4473 6.74021 27.3536 6.64645C27.2598 6.55268 27.1326 6.5 27 6.5Z",
|
|
12382
12429
|
fill: "white"
|
|
12383
12430
|
}
|
|
12384
12431
|
),
|
|
12385
|
-
/* @__PURE__ */ (0,
|
|
12432
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12386
12433
|
"path",
|
|
12387
12434
|
{
|
|
12388
12435
|
d: "M10.48 18.88H6.98L6.29 20.5H4.95L8.1 13.5H9.38L12.54 20.5H11.18L10.48 18.88ZM10.05 17.86L8.73 14.8L7.42 17.86H10.05Z",
|
|
@@ -12392,27 +12439,27 @@ var DesignFooter = (props) => {
|
|
|
12392
12439
|
]
|
|
12393
12440
|
}
|
|
12394
12441
|
) }),
|
|
12395
|
-
/* @__PURE__ */ (0,
|
|
12442
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Body18, { children: item.name })
|
|
12396
12443
|
]
|
|
12397
12444
|
},
|
|
12398
12445
|
item.name
|
|
12399
12446
|
)) }),
|
|
12400
|
-
props.socialLinks && props.socialLinks.length > 0 && /* @__PURE__ */ (0,
|
|
12447
|
+
props.socialLinks && props.socialLinks.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "flex-wrap flex gap-x-6 gap-y-2 pt-4 lg:gap-y-0 lg:pt-0", children: props.socialLinks.map((socialLink) => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12401
12448
|
"a",
|
|
12402
12449
|
{
|
|
12403
12450
|
href: socialLink.href,
|
|
12404
12451
|
target: socialLink.isNewTab ? "_blank" : "_self",
|
|
12405
12452
|
className: "text-lg font-normal leading-[130%] flex items-center justify-center",
|
|
12406
|
-
children: /* @__PURE__ */ (0,
|
|
12453
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Body18, { children: socialLink.name })
|
|
12407
12454
|
},
|
|
12408
12455
|
socialLink.name
|
|
12409
12456
|
)) })
|
|
12410
12457
|
] }) })
|
|
12411
12458
|
] }),
|
|
12412
|
-
/* @__PURE__ */ (0,
|
|
12413
|
-
(props.footerLogoPath || props.footerText || props.imagesPaths) && /* @__PURE__ */ (0,
|
|
12414
|
-
/* @__PURE__ */ (0,
|
|
12415
|
-
props.footerLogoPath && /* @__PURE__ */ (0,
|
|
12459
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "bg-white py-6 lg:py-10 space-y-4 px-4 lg:px-0", children: [
|
|
12460
|
+
(props.footerLogoPath || props.footerText || props.imagesPaths) && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "container mx-auto flex flex-col lg:flex-row gap-3 lg:gap-5 justify-between", children: [
|
|
12461
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "flex flex-col lg:flex-row items-center lg:items-start gap-4 lg:space-x-4", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("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: [
|
|
12462
|
+
props.footerLogoPath && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12416
12463
|
ImageElement,
|
|
12417
12464
|
{
|
|
12418
12465
|
src: props.footerLogoPath,
|
|
@@ -12421,9 +12468,9 @@ var DesignFooter = (props) => {
|
|
|
12421
12468
|
className: "h-10 lg:h-16 w-auto"
|
|
12422
12469
|
}
|
|
12423
12470
|
),
|
|
12424
|
-
props.footerText && /* @__PURE__ */ (0,
|
|
12471
|
+
props.footerText && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("p", { className: "text-left max-w-full text-xs lg:text-sm lg:max-w-md", children: props.footerText })
|
|
12425
12472
|
] }) }),
|
|
12426
|
-
/* @__PURE__ */ (0,
|
|
12473
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "flex flex-wrap gap-3 justify-start items-center lg:justify-end lg:gap-4 ", children: (_c = props.imagesPaths) == null ? void 0 : _c.map((path) => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
12427
12474
|
ImageElement,
|
|
12428
12475
|
{
|
|
12429
12476
|
src: path,
|
|
@@ -12435,47 +12482,47 @@ var DesignFooter = (props) => {
|
|
|
12435
12482
|
path
|
|
12436
12483
|
)) })
|
|
12437
12484
|
] }),
|
|
12438
|
-
/* @__PURE__ */ (0,
|
|
12439
|
-
props.copyrights && /* @__PURE__ */ (0,
|
|
12485
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "container mx-auto flex justify-start items-center text-center space-x-6 lg:justify-center", children: [
|
|
12486
|
+
props.copyrights && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(Body16, { className: "text-grey", children: [
|
|
12440
12487
|
"\xA9 ",
|
|
12441
12488
|
props.copyrights,
|
|
12442
12489
|
" ",
|
|
12443
12490
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
12444
12491
|
" "
|
|
12445
12492
|
] }),
|
|
12446
|
-
/* @__PURE__ */ (0,
|
|
12493
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(VersionDisplay, {})
|
|
12447
12494
|
] })
|
|
12448
12495
|
] })
|
|
12449
12496
|
] });
|
|
12450
12497
|
};
|
|
12451
12498
|
var BasicFooter = (props) => {
|
|
12452
|
-
return /* @__PURE__ */ (0,
|
|
12453
|
-
/* @__PURE__ */ (0,
|
|
12454
|
-
/* @__PURE__ */ (0,
|
|
12455
|
-
/* @__PURE__ */ (0,
|
|
12456
|
-
/* @__PURE__ */ (0,
|
|
12499
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "w-full bg-zinc-100 md:bg-white rounded-tl-3xl rounded-tr-3xl overflow-hidden mt-20", children: [
|
|
12500
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "w-full bg-zinc-100 md:p-12 p-8 md:flex justify-between items-center", children: [
|
|
12501
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "flex gap-6 justify-center md:justify-start", children: [
|
|
12502
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.privacy_policy_url, children: "Privacy policy" }),
|
|
12503
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.termsUrl, children: "Terms of Use" })
|
|
12457
12504
|
] }),
|
|
12458
|
-
/* @__PURE__ */ (0,
|
|
12459
|
-
/* @__PURE__ */ (0,
|
|
12505
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "hidden md:flex gap-6", children: [
|
|
12506
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
12460
12507
|
"Version: ",
|
|
12461
12508
|
props.version
|
|
12462
12509
|
] }),
|
|
12463
|
-
/* @__PURE__ */ (0,
|
|
12510
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
12464
12511
|
"\xA9 IIASA ",
|
|
12465
12512
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
12466
12513
|
] })
|
|
12467
12514
|
] })
|
|
12468
12515
|
] }),
|
|
12469
|
-
/* @__PURE__ */ (0,
|
|
12470
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("a", { href: "https://iiasa.ac.at/", target: "_blank", className: "mt-5 mb-5 ml-10 flex", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("img", { id: "image0_539_1532", src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAABBCAYAAAAnr8OUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA4aADAAQAAAABAAAAQQAAAABouFlRAAAlcUlEQVR4Ae2dCZycRZXAX33dySRAAgJRbgJyiHIfcsgKCCpXFJFhphOOZGaScKyygOsKIgRZwSuQsLKQZHpyKDOTRETCfQcE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whpG9HZ5Y/Q6cMvIWT1VbIe+TnHIIty9IzE3jGOvTpH4kuarhvPGQIF3tQI1FYwyaMB0yy55j41yFqW1MzXk9hy2YbbMHszvNjztiv4luj714wtOfSOPWu82fBcFIyvEnRcN/b3fXStf5ThBjFiCI1RE/5aDloeP2Qi4LFjEdSh8eAN/2xiXvWiw1YkGGcU4WKcqDwkGYgUVjmD8Y+40lYjO+o4dMCUBMdRWG/5nwstvqLgVWhY2ipEPARlNAWn2N2p6HzPZGfs9p3mvMKDCY1LMNG3e7IgXLxdBFHTeqrwSMFL9Tac/hFEmv2pqJPw+dC9S4KJmBBxGJKPr4C/J2hswXvjzl8NSRrXbqH8741izHqrpbe9BsRl+Cnw0TtPYfxxxARVgs0zjC4AQveD3O071lsYF4O7Qdxn0B+sV5nhrk5XqyZ3hUz7jE+dmJZwRY+q6bbQxo+6ayOPce7fkPiYsLfTj7V4JQPjwdpfANae/h02EX0lI865+plQBzwrVpnZBnm7w7pldJKrIn1hhey7L+Syq5gkkso9DML0nUa93ybQc0G6mJBMTDyXWeEVf0/wmyc0i8Xwoh+xORCNKR9z6BmNaz9ET2LF5o0nXLxjMHaGPScdWsCB0nmibyryUKFiOY3h4+6We+si+HntPON3ytsa2gjH2e4MM66mrPFc6t7T+i2jgqefYBvBG7vPoDiFmQi2A5V0/KUQaALQymTC+ky6er0DV8ychB+2vNjNTw4Cvxz6cH8Ao9+8MWag6DzPP73SXLYw4wwsIJGmrUOKCSTxxC/51coE/PC6zaOUB6aDhuucPjVS5UDVQ5UOfBx58D/AWeQ7WVvbg61AAAAAElFTkSuQmCC" }) }),
|
|
12471
|
-
props.showGeoWiki && /* @__PURE__ */ (0,
|
|
12516
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "w-full bg-white flex flex-row items-center justify-center gap-4", children: [
|
|
12517
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)("a", { href: "https://iiasa.ac.at/", target: "_blank", className: "mt-5 mb-5 ml-10 flex", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("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+RRhTpWoPC2x+EI5YdamfQldFLc+vhn0rNS3TCmK83H0MPKf8GvCkEr6muC1tYfQEEyTmuioIZH3+pYDEMDzJSFfkhWJHQaSptzN+r7TGX/1p8SuvpaAB5GgvofvGeJ4SUQPQXDGSXvDgz2914BLrHkGeemk1f/+GoitdBT18dNBOJxWdlwG0cixEtoPM++fxAcVarELqFK/5ADJLT6LwTyxiaXym6mvZ7Lcn7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xz6cH8Ao9+8MWag6DzPP73SXLYw4wwsIJGmrUOKCSTxxC/51coE/PC6zaOUB6aDhuucPjVS5UDVQ5UOfBx58D/AWeQ7WVvbg61AAAAAElFTkSuQmCC" }) }),
|
|
12518
|
+
props.showGeoWiki && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("a", { href: "https://www.geo-wiki.org/", target: "_blank", className: "mt-5 mb-5 mr-10 flex", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("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/uEf2O368ZrUkIpdKEiCSVggqihmRf5c6WfuHcVk70E6cbJBMKVNnfla7nAjrSnz9Dv19hLOzNY39AzG0mxaMm/weIT6bJNBloZN2om/fvu5jdZV3UakNQzpzSSK7E0qzpC3zpK7/K8LVn5eXtxswTzKMdseW2nE2FRdDvSuNNYBJ1lsQWSSpWIG4/BaBJUgCXRrtTT10xtpdwwnXrhecu6SUhHNBbItTm3NmmmZZKstYgcCyTjYIAtTFuTmdCARmeFwEmYcxdgGV7Kcud3K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Qex/uG9K9I2X/fcCO1uuCarDP2QmACXQ5jjTEPfdD/Hx9bnQP32U1aZ0U68on1KdnZI1PAeicK7M69H59AAgkkkEACCSSQQAIJJJBAAgn8P8b/AevP9Boq4KweAAAAAElFTkSuQmCC" }) })
|
|
12472
12519
|
] }),
|
|
12473
|
-
/* @__PURE__ */ (0,
|
|
12474
|
-
/* @__PURE__ */ (0,
|
|
12520
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "flex items-center md:hidden justify-center gap-6 h-20", children: [
|
|
12521
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
12475
12522
|
"Version: ",
|
|
12476
12523
|
props.version
|
|
12477
12524
|
] }),
|
|
12478
|
-
/* @__PURE__ */ (0,
|
|
12525
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
12479
12526
|
"\xA9 IIASA ",
|
|
12480
12527
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
12481
12528
|
] })
|
|
@@ -12489,64 +12536,64 @@ var import_react75 = require("react");
|
|
|
12489
12536
|
// src/components/DesignElements/AppItemPopUpView.tsx
|
|
12490
12537
|
var import_react73 = require("react");
|
|
12491
12538
|
var import_outline4 = require("@heroicons/react/24/outline");
|
|
12492
|
-
var
|
|
12539
|
+
var import_core6 = require("@geowiki/core");
|
|
12493
12540
|
|
|
12494
12541
|
// src/components/Icons/ResourceIcon.tsx
|
|
12495
|
-
var
|
|
12542
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
12496
12543
|
var ResourceIcon = ({
|
|
12497
12544
|
type
|
|
12498
12545
|
}) => {
|
|
12499
12546
|
switch (type) {
|
|
12500
12547
|
case "Collection":
|
|
12501
|
-
return /* @__PURE__ */ (0,
|
|
12548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(GridDividersIcon, { className: "bg-tag-yellow w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12502
12549
|
case "Dataset":
|
|
12503
|
-
return /* @__PURE__ */ (0,
|
|
12550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ChartLineDotsIcon, { className: "bg-tag-turquoise w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12504
12551
|
case "Event":
|
|
12505
|
-
return /* @__PURE__ */ (0,
|
|
12552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(CalendarIcon, { className: "bg-tag-orange w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12506
12553
|
case "Image":
|
|
12507
|
-
return /* @__PURE__ */ (0,
|
|
12554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ImageIcon, { className: "bg-tag-turquoise w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12508
12555
|
case "InteractiveResource":
|
|
12509
|
-
return /* @__PURE__ */ (0,
|
|
12556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(DesktopCodeIcon, { className: "bg-tag-light-purple w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12510
12557
|
case "MovingImage":
|
|
12511
|
-
return /* @__PURE__ */ (0,
|
|
12558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(VideoPlayIcon, { className: "bg-tag-pink w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12512
12559
|
case "PhysicalObject":
|
|
12513
|
-
return /* @__PURE__ */ (0,
|
|
12560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(CpuIcon, { className: "bg-tag-purple w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12514
12561
|
case "Service":
|
|
12515
|
-
return /* @__PURE__ */ (0,
|
|
12562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(UserGroupIcon, { className: "bg-tag-dark-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12516
12563
|
case "Software":
|
|
12517
|
-
return /* @__PURE__ */ (0,
|
|
12564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(HardDriveIcon, { className: "bg-tag-dark-green w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12518
12565
|
case "Sound":
|
|
12519
|
-
return /* @__PURE__ */ (0,
|
|
12566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(HeadphonesIcon, { className: "bg-tag-dark-purple w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12520
12567
|
case "StillImage":
|
|
12521
|
-
return /* @__PURE__ */ (0,
|
|
12568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(CameraIcon, { className: "bg-tag-light-green w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12522
12569
|
case "TextBook":
|
|
12523
|
-
return /* @__PURE__ */ (0,
|
|
12570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12524
12571
|
case "TextGuidelines":
|
|
12525
|
-
return /* @__PURE__ */ (0,
|
|
12572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12526
12573
|
case "TextGuideline":
|
|
12527
|
-
return /* @__PURE__ */ (0,
|
|
12574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12528
12575
|
case "TextCaseStudy":
|
|
12529
|
-
return /* @__PURE__ */ (0,
|
|
12576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12530
12577
|
case "TextReport":
|
|
12531
|
-
return /* @__PURE__ */ (0,
|
|
12578
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12532
12579
|
case "TextPolicyBrief":
|
|
12533
|
-
return /* @__PURE__ */ (0,
|
|
12580
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12534
12581
|
case "TextScientificPublication":
|
|
12535
|
-
return /* @__PURE__ */ (0,
|
|
12582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12536
12583
|
case "TextOther":
|
|
12537
|
-
return /* @__PURE__ */ (0,
|
|
12584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(BookTextIcon, { className: "bg-tag-blue w-[40px] h-[40px] lg:w-[48px] lg:h-[48px] p-3 rounded-[8px] fill-white" });
|
|
12538
12585
|
default:
|
|
12539
|
-
return /* @__PURE__ */ (0,
|
|
12586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_jsx_runtime126.Fragment, { children: "Not found" });
|
|
12540
12587
|
}
|
|
12541
12588
|
};
|
|
12542
12589
|
|
|
12543
12590
|
// src/components/DesignElements/ExpandableText.tsx
|
|
12544
12591
|
var import_react72 = require("react");
|
|
12545
|
-
var
|
|
12592
|
+
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
12546
12593
|
var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_wrap = true }) => {
|
|
12547
12594
|
const [expanded, setExpanded] = (0, import_react72.useState)(false);
|
|
12548
12595
|
if (text.length <= maxLength || maxLength == 0) {
|
|
12549
|
-
return /* @__PURE__ */ (0,
|
|
12596
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: no_word_wrap ? "whitespace-normal" : "whitespace-nowrap", children: [
|
|
12550
12597
|
" ",
|
|
12551
12598
|
text
|
|
12552
12599
|
] });
|
|
@@ -12554,10 +12601,10 @@ var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_w
|
|
|
12554
12601
|
const truncated = text.slice(0, maxLength);
|
|
12555
12602
|
const lastSpace = truncated.lastIndexOf(" ");
|
|
12556
12603
|
const safeText = truncated.slice(0, lastSpace);
|
|
12557
|
-
return /* @__PURE__ */ (0,
|
|
12604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "text-zinc-500 " + (no_word_wrap ? "whitespace-normal" : "whitespace-nowrap"), children: [
|
|
12558
12605
|
expanded ? text : safeText + "\u2026",
|
|
12559
12606
|
" ",
|
|
12560
|
-
show_read_more && /* @__PURE__ */ (0,
|
|
12607
|
+
show_read_more && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
12561
12608
|
"button",
|
|
12562
12609
|
{
|
|
12563
12610
|
onClick: () => setExpanded(!expanded),
|
|
@@ -12568,42 +12615,18 @@ var ExpandableText = ({ text, maxLength = 120, show_read_more = false, no_word_w
|
|
|
12568
12615
|
] });
|
|
12569
12616
|
};
|
|
12570
12617
|
|
|
12571
|
-
// src/components/DesignElements/ResourceTag.tsx
|
|
12572
|
-
var import_class_variance_authority14 = require("class-variance-authority");
|
|
12573
|
-
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
12574
|
-
var tagVariants = (0, import_class_variance_authority14.cva)(
|
|
12575
|
-
"justify-center self-start px-4 py-2 mr-2 mt-1 text-sm font-medium text-white whitespace-nowrap rounded-[40px] first-letter:capitalize",
|
|
12576
|
-
{
|
|
12577
|
-
variants: {
|
|
12578
|
-
variant: {
|
|
12579
|
-
topic: "bg-tag-dark-blue",
|
|
12580
|
-
audience: "bg-tag-dark-green",
|
|
12581
|
-
keyword: "bg-tag-blue",
|
|
12582
|
-
language: "bg-tag-orange",
|
|
12583
|
-
resourceType: "bg-sky-500"
|
|
12584
|
-
}
|
|
12585
|
-
},
|
|
12586
|
-
defaultVariants: {
|
|
12587
|
-
variant: "topic"
|
|
12588
|
-
}
|
|
12589
|
-
}
|
|
12590
|
-
);
|
|
12591
|
-
var ResourceTag = ({ tag, type }) => {
|
|
12592
|
-
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { className: cn(tagVariants({ variant: type })), children: tag });
|
|
12593
|
-
};
|
|
12594
|
-
|
|
12595
12618
|
// src/components/DesignElements/AppItemPopUpView.tsx
|
|
12596
|
-
var
|
|
12619
|
+
var import_jsx_runtime128 = require("react/jsx-runtime");
|
|
12597
12620
|
var DetailRow = ({ label, value }) => {
|
|
12598
|
-
return /* @__PURE__ */ (0,
|
|
12599
|
-
/* @__PURE__ */ (0,
|
|
12600
|
-
/* @__PURE__ */ (0,
|
|
12621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_jsx_runtime128.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("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: [
|
|
12622
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Body16, { className: "text-grey", children: label }),
|
|
12623
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Body16m, { className: "lg:text-righ max-md:max-w-full", children: value })
|
|
12601
12624
|
] }) });
|
|
12602
12625
|
};
|
|
12603
12626
|
var KeyValues = ({ name, keyValues, kind }) => {
|
|
12604
|
-
return /* @__PURE__ */ (0,
|
|
12605
|
-
/* @__PURE__ */ (0,
|
|
12606
|
-
/* @__PURE__ */ (0,
|
|
12627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
|
|
12628
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Caption, { className: "text-grey", children: name }),
|
|
12629
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("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, index3) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ResourceTag, { tag: keyValue.value, type: kind }, index3)) })
|
|
12607
12630
|
] });
|
|
12608
12631
|
};
|
|
12609
12632
|
function AppItemPopUpView({
|
|
@@ -12639,8 +12662,8 @@ function AppItemPopUpView({
|
|
|
12639
12662
|
const currentTypes = ((_a = types == null ? void 0 : types.find((type) => type.key === resource.resourceType)) == null ? void 0 : _a.value) || resource.resourceType;
|
|
12640
12663
|
const link = (resource == null ? void 0 : resource.link) || "";
|
|
12641
12664
|
const linkText = link.length > 70 ? `${link.slice(0, 70)}...` : link;
|
|
12642
|
-
return /* @__PURE__ */ (0,
|
|
12643
|
-
/* @__PURE__ */ (0,
|
|
12665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Xe.Root, { show: open, as: import_react73.Fragment, "data-component": "AppItemPopUpView", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(Pt, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
12666
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12644
12667
|
Xe.Child,
|
|
12645
12668
|
{
|
|
12646
12669
|
as: import_react73.Fragment,
|
|
@@ -12650,10 +12673,10 @@ function AppItemPopUpView({
|
|
|
12650
12673
|
leave: "ease-in duration-200",
|
|
12651
12674
|
leaveFrom: "opacity-100",
|
|
12652
12675
|
leaveTo: "opacity-0",
|
|
12653
|
-
children: /* @__PURE__ */ (0,
|
|
12676
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" })
|
|
12654
12677
|
}
|
|
12655
12678
|
),
|
|
12656
|
-
/* @__PURE__ */ (0,
|
|
12679
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "fixed z-10 inset-0 overflow-y-auto text-black", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12657
12680
|
Xe.Child,
|
|
12658
12681
|
{
|
|
12659
12682
|
as: import_react73.Fragment,
|
|
@@ -12663,20 +12686,20 @@ function AppItemPopUpView({
|
|
|
12663
12686
|
leave: "ease-in duration-200",
|
|
12664
12687
|
leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
|
|
12665
12688
|
leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
12666
|
-
children: /* @__PURE__ */ (0,
|
|
12689
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
|
|
12667
12690
|
Pt.Panel,
|
|
12668
12691
|
{
|
|
12669
12692
|
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`,
|
|
12670
12693
|
children: [
|
|
12671
|
-
/* @__PURE__ */ (0,
|
|
12694
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("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__ */ (0, import_jsx_runtime128.jsxs)(
|
|
12672
12695
|
"button",
|
|
12673
12696
|
{
|
|
12674
12697
|
type: "button",
|
|
12675
12698
|
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 ",
|
|
12676
12699
|
onClick: () => setOpen(false),
|
|
12677
12700
|
children: [
|
|
12678
|
-
/* @__PURE__ */ (0,
|
|
12679
|
-
/* @__PURE__ */ (0,
|
|
12701
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("span", { className: "sr-only", children: "Close" }),
|
|
12702
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12680
12703
|
import_outline4.XMarkIcon,
|
|
12681
12704
|
{
|
|
12682
12705
|
className: "h-4 w-4 lg:h-6 lg:w-6",
|
|
@@ -12686,41 +12709,41 @@ function AppItemPopUpView({
|
|
|
12686
12709
|
]
|
|
12687
12710
|
}
|
|
12688
12711
|
) }),
|
|
12689
|
-
/* @__PURE__ */ (0,
|
|
12690
|
-
/* @__PURE__ */ (0,
|
|
12691
|
-
/* @__PURE__ */ (0,
|
|
12692
|
-
resource.resourceType && /* @__PURE__ */ (0,
|
|
12693
|
-
currentTypes && /* @__PURE__ */ (0,
|
|
12712
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("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: [
|
|
12713
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { children: [
|
|
12714
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "flex space-x-2 lg:block lg:space-x-0", children: [
|
|
12715
|
+
resource.resourceType && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ResourceIcon, { type: resource.resourceType }),
|
|
12716
|
+
currentTypes && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Body16sb, { className: "self-start mt-[10px] text-primary lg:mt-4", children: currentTypes })
|
|
12694
12717
|
] }),
|
|
12695
|
-
resource.imgUrl && /* @__PURE__ */ (0,
|
|
12696
|
-
/* @__PURE__ */ (0,
|
|
12697
|
-
/* @__PURE__ */ (0,
|
|
12698
|
-
/* @__PURE__ */ (0,
|
|
12718
|
+
resource.imgUrl && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("img", { src: resource.imgUrl, className: "w-full h-48 object-cover rounded-xl" }),
|
|
12719
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(H3Design, { className: "mt-6", children: resource.title }),
|
|
12720
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Body16, { className: is_small ? "mt-4" : "mt-6", children: is_small ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ExpandableText, { text: resource.description, maxLength: 250, show_read_more: true }) : resource.description }),
|
|
12721
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: is_small ? "whitespace-nowrap mt-6" : "whitespace-nowrap mt-6 lg:mt-8", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_core6.Link, { href: link, target: "_blank", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
|
|
12699
12722
|
DesignButton,
|
|
12700
12723
|
{
|
|
12701
12724
|
variant: "externalLink",
|
|
12702
12725
|
className: "p-0 lg:p-0 ",
|
|
12703
12726
|
children: [
|
|
12704
|
-
window.innerWidth < 700 && /* @__PURE__ */ (0,
|
|
12705
|
-
window.innerWidth > 700 && /* @__PURE__ */ (0,
|
|
12727
|
+
window.innerWidth < 700 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ExpandableText, { text: linkText, maxLength: 35, no_word_wrap: false }),
|
|
12728
|
+
window.innerWidth > 700 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ExpandableText, { text: linkText, maxLength: 50, no_word_wrap: false })
|
|
12706
12729
|
]
|
|
12707
12730
|
}
|
|
12708
12731
|
) }) }),
|
|
12709
|
-
resource.statistics && /* @__PURE__ */ (0,
|
|
12710
|
-
return /* @__PURE__ */ (0,
|
|
12711
|
-
/* @__PURE__ */ (0,
|
|
12712
|
-
/* @__PURE__ */ (0,
|
|
12732
|
+
resource.statistics && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "flex w-full flex-col gap-6 mt-10", children: (_b = resource.statistics) == null ? void 0 : _b.map((x6) => {
|
|
12733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "border-b-2", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "flex justify-between items-center w-full gap-14 lg:mb-6 mb-2", children: [
|
|
12734
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "text-zinc-500 text-base font-normal leading-5", children: x6.name }),
|
|
12735
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "text-right text-gray-900 text-base font-medium leading-5", children: x6.value })
|
|
12713
12736
|
] }) });
|
|
12714
12737
|
}) }),
|
|
12715
|
-
currentTypes && resource.publisher && /* @__PURE__ */ (0,
|
|
12716
|
-
currentTypes && /* @__PURE__ */ (0,
|
|
12738
|
+
currentTypes && resource.publisher && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "my-6 lg:my-10", children: [
|
|
12739
|
+
currentTypes && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12717
12740
|
DetailRow,
|
|
12718
12741
|
{
|
|
12719
12742
|
label: "Resource type:",
|
|
12720
12743
|
value: currentTypes
|
|
12721
12744
|
}
|
|
12722
12745
|
),
|
|
12723
|
-
resource.publisher && /* @__PURE__ */ (0,
|
|
12746
|
+
resource.publisher && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12724
12747
|
DetailRow,
|
|
12725
12748
|
{
|
|
12726
12749
|
label: "Publisher",
|
|
@@ -12728,7 +12751,7 @@ function AppItemPopUpView({
|
|
|
12728
12751
|
}
|
|
12729
12752
|
)
|
|
12730
12753
|
] }),
|
|
12731
|
-
(currentTopics == null ? void 0 : currentTopics.length) > 0 && /* @__PURE__ */ (0,
|
|
12754
|
+
(currentTopics == null ? void 0 : currentTopics.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12732
12755
|
KeyValues,
|
|
12733
12756
|
{
|
|
12734
12757
|
name: "Topic",
|
|
@@ -12739,7 +12762,7 @@ function AppItemPopUpView({
|
|
|
12739
12762
|
kind: "topic"
|
|
12740
12763
|
}
|
|
12741
12764
|
),
|
|
12742
|
-
(currentAudiences == null ? void 0 : currentAudiences.length) > 0 && /* @__PURE__ */ (0,
|
|
12765
|
+
(currentAudiences == null ? void 0 : currentAudiences.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12743
12766
|
KeyValues,
|
|
12744
12767
|
{
|
|
12745
12768
|
name: "Audience",
|
|
@@ -12750,9 +12773,9 @@ function AppItemPopUpView({
|
|
|
12750
12773
|
kind: "audience"
|
|
12751
12774
|
}
|
|
12752
12775
|
),
|
|
12753
|
-
(resource == null ? void 0 : resource.keywords) && ((_c = resource == null ? void 0 : resource.keywords) == null ? void 0 : _c.length) > 0 && /* @__PURE__ */ (0,
|
|
12754
|
-
/* @__PURE__ */ (0,
|
|
12755
|
-
/* @__PURE__ */ (0,
|
|
12776
|
+
(resource == null ? void 0 : resource.keywords) && ((_c = resource == null ? void 0 : resource.keywords) == null ? void 0 : _c.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { children: [
|
|
12777
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Caption, { className: "self-start lg:mt-10 tracking-wider text-grey", children: "Keywords" }),
|
|
12778
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)("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, index3) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12756
12779
|
ResourceTag,
|
|
12757
12780
|
{
|
|
12758
12781
|
tag: keyword,
|
|
@@ -12761,7 +12784,7 @@ function AppItemPopUpView({
|
|
|
12761
12784
|
index3
|
|
12762
12785
|
)) })
|
|
12763
12786
|
] }),
|
|
12764
|
-
(currentLanguages == null ? void 0 : currentLanguages.length) > 0 && /* @__PURE__ */ (0,
|
|
12787
|
+
(currentLanguages == null ? void 0 : currentLanguages.length) > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12765
12788
|
KeyValues,
|
|
12766
12789
|
{
|
|
12767
12790
|
name: "Language",
|
|
@@ -12773,11 +12796,11 @@ function AppItemPopUpView({
|
|
|
12773
12796
|
}
|
|
12774
12797
|
)
|
|
12775
12798
|
] }),
|
|
12776
|
-
showResourcesButton && /* @__PURE__ */ (0,
|
|
12777
|
-
|
|
12799
|
+
showResourcesButton && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
12800
|
+
import_core6.Link,
|
|
12778
12801
|
{
|
|
12779
12802
|
href: `/resources/resource-finder?topic=${selectedTopic}&audience=${selectedAudience}`,
|
|
12780
|
-
children: /* @__PURE__ */ (0,
|
|
12803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(DesignButton, { children: "View all Resources" })
|
|
12781
12804
|
}
|
|
12782
12805
|
) })
|
|
12783
12806
|
] })
|
|
@@ -12791,29 +12814,29 @@ function AppItemPopUpView({
|
|
|
12791
12814
|
var AppItemPopUpView_default = AppItemPopUpView;
|
|
12792
12815
|
|
|
12793
12816
|
// src/components/DesignElements/AppItem.tsx
|
|
12794
|
-
var
|
|
12817
|
+
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
12795
12818
|
var AppItem = (props) => {
|
|
12796
12819
|
var _a;
|
|
12797
12820
|
const [open, setOpen] = (0, import_react75.useState)(false);
|
|
12798
|
-
return /* @__PURE__ */ (0,
|
|
12821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "w-full h-64 pointer-events-auto mb-6 md:mb-0 md:pointer-events-none", onClick: () => {
|
|
12799
12822
|
if (window.innerWidth < 700)
|
|
12800
12823
|
setOpen(true);
|
|
12801
12824
|
}, children: [
|
|
12802
|
-
/* @__PURE__ */ (0,
|
|
12803
|
-
/* @__PURE__ */ (0,
|
|
12804
|
-
/* @__PURE__ */ (0,
|
|
12805
|
-
/* @__PURE__ */ (0,
|
|
12806
|
-
/* @__PURE__ */ (0,
|
|
12807
|
-
/* @__PURE__ */ (0,
|
|
12825
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "w-full h-64 relative overflow-hidden rounded-xl", children: [
|
|
12826
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("img", { className: "absolute w-full h-64 rounded-xl object-cover", src: props.item.logoUrl }),
|
|
12827
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "inset-0 absolute bg-black/40 rounded-xl" }),
|
|
12828
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "left-4 md:left-6 top-44 absolute justify-start text-white text-base font-medium leading-5", children: props.item.locationType }),
|
|
12829
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)("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 }),
|
|
12830
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
12808
12831
|
"a",
|
|
12809
12832
|
{
|
|
12810
12833
|
className: "w-14 h-14 bottom-4 right-6 md:bottom-2 md:right-8 lg:bottom-0 -mb-3 lg:right-10 absolute origin-top-left -rotate-45 bg-primary rounded-full hidden md:block md:pointer-events-auto hover:cursor-pointer",
|
|
12811
12834
|
onClick: () => setOpen(true),
|
|
12812
|
-
children: /* @__PURE__ */ (0,
|
|
12835
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "w-4 h-4 left-[40px] top-[16px] absolute origin-top-left rotate-90", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("path", { d: "M19.092 5.22341V15.1215C19.092 15.3973 18.9802 15.6476 18.7992 15.8286C18.6182 16.0096 18.3679 16.1214 18.0921 16.1214C17.5391 16.1214 17.0922 15.6745 17.0922 15.1215V7.63613L6.07127 18.6571C5.68024 19.0481 5.04738 19.0474 4.65705 18.6571C4.26673 18.2667 4.26602 17.6339 4.65705 17.2428L15.678 6.22192L8.19259 6.22192C7.63963 6.22192 7.19269 5.77498 7.19269 5.22203C7.19269 4.66907 7.63963 4.22213 8.19259 4.22213L18.0907 4.22213C18.2222 4.22213 18.3516 4.24822 18.4746 4.29913C18.7186 4.40024 18.9139 4.59552 19.015 4.83947C19.0659 4.96251 19.092 5.09188 19.092 5.22341Z", fill: "white" }) }) })
|
|
12813
12836
|
}
|
|
12814
12837
|
)
|
|
12815
12838
|
] }),
|
|
12816
|
-
/* @__PURE__ */ (0,
|
|
12839
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(AppItemPopUpView_default, { resource: {
|
|
12817
12840
|
title: props.item.name,
|
|
12818
12841
|
description: props.item.description,
|
|
12819
12842
|
imgUrl: props.item.logoUrl,
|
|
@@ -12829,19 +12852,19 @@ var AppItem = (props) => {
|
|
|
12829
12852
|
};
|
|
12830
12853
|
|
|
12831
12854
|
// src/components/DesignElements/AppItemsList.tsx
|
|
12832
|
-
var
|
|
12855
|
+
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
12833
12856
|
var AppItemsList = (props) => {
|
|
12834
12857
|
var _a;
|
|
12835
|
-
return /* @__PURE__ */ (0,
|
|
12836
|
-
/* @__PURE__ */ (0,
|
|
12837
|
-
/* @__PURE__ */ (0,
|
|
12838
|
-
/* @__PURE__ */ (0,
|
|
12858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)("div", { className: "w-full relative mt-10 pt-5", id: props.id, children: [
|
|
12859
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "justify-start text-black text-lg font-normal leading-6 mb-2", children: props.name }),
|
|
12860
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "justify-center text-gray-900 text-3xl md:text-5xl font-light", children: props.title }),
|
|
12861
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { className: "md:grid md:grid-cols-3 gap-4 md:mt-12 mt-5", children: props.allItems && ((_a = props.allItems) == null ? void 0 : _a.map((x6, index3) => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(AppItem, { item: x6 }, index3))) })
|
|
12839
12862
|
] });
|
|
12840
12863
|
};
|
|
12841
12864
|
|
|
12842
12865
|
// src/components/Elements/button.tsx
|
|
12843
12866
|
var import_classnames4 = __toESM(require("classnames"));
|
|
12844
|
-
var
|
|
12867
|
+
var import_jsx_runtime131 = require("react/jsx-runtime");
|
|
12845
12868
|
var OldButton = ({
|
|
12846
12869
|
label,
|
|
12847
12870
|
appearance,
|
|
@@ -12850,7 +12873,7 @@ var OldButton = ({
|
|
|
12850
12873
|
loading = false,
|
|
12851
12874
|
type
|
|
12852
12875
|
}) => {
|
|
12853
|
-
return /* @__PURE__ */ (0,
|
|
12876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("button", { onClick: handleClick, type, children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
12854
12877
|
"div",
|
|
12855
12878
|
{
|
|
12856
12879
|
className: (0, import_classnames4.default)(
|
|
@@ -12888,9 +12911,9 @@ var OldButton = ({
|
|
|
12888
12911
|
|
|
12889
12912
|
// src/components/Elements/button-link.tsx
|
|
12890
12913
|
var import_classnames5 = __toESM(require("classnames"));
|
|
12891
|
-
var
|
|
12914
|
+
var import_jsx_runtime132 = require("react/jsx-runtime");
|
|
12892
12915
|
var ButtonContent = ({ button, appearance, compact: compact2 }) => {
|
|
12893
|
-
return /* @__PURE__ */ (0,
|
|
12916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
|
|
12894
12917
|
"div",
|
|
12895
12918
|
{
|
|
12896
12919
|
className: (0, import_classnames5.default)(
|
|
@@ -12930,13 +12953,13 @@ var ButtonLink = ({
|
|
|
12930
12953
|
appearance,
|
|
12931
12954
|
compact: compact2 = false
|
|
12932
12955
|
}) => {
|
|
12933
|
-
return /* @__PURE__ */ (0,
|
|
12956
|
+
return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(ButtonContent, { button, appearance, compact: compact2 });
|
|
12934
12957
|
};
|
|
12935
12958
|
|
|
12936
12959
|
// src/components/Elements/Error.tsx
|
|
12937
|
-
var
|
|
12960
|
+
var import_jsx_runtime133 = require("react/jsx-runtime");
|
|
12938
12961
|
var ErrorMessage = (props) => {
|
|
12939
|
-
return /* @__PURE__ */ (0,
|
|
12962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)("div", { children: [
|
|
12940
12963
|
"Error (: ",
|
|
12941
12964
|
props.message,
|
|
12942
12965
|
")"
|
|
@@ -12944,10 +12967,10 @@ var ErrorMessage = (props) => {
|
|
|
12944
12967
|
};
|
|
12945
12968
|
|
|
12946
12969
|
// src/components/Elements/feature-disabled.tsx
|
|
12947
|
-
var
|
|
12970
|
+
var import_jsx_runtime134 = require("react/jsx-runtime");
|
|
12948
12971
|
var FeatureDisabled = () => {
|
|
12949
|
-
return /* @__PURE__ */ (0,
|
|
12950
|
-
/* @__PURE__ */ (0,
|
|
12972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: "container mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("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: [
|
|
12973
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
|
|
12951
12974
|
"svg",
|
|
12952
12975
|
{
|
|
12953
12976
|
className: "mx-auto h-12 w-12 text-gray-400",
|
|
@@ -12955,7 +12978,7 @@ var FeatureDisabled = () => {
|
|
|
12955
12978
|
fill: "none",
|
|
12956
12979
|
viewBox: "0 0 24 24",
|
|
12957
12980
|
stroke: "currentColor",
|
|
12958
|
-
children: /* @__PURE__ */ (0,
|
|
12981
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
|
|
12959
12982
|
"path",
|
|
12960
12983
|
{
|
|
12961
12984
|
strokeLinecap: "round",
|
|
@@ -12966,13 +12989,13 @@ var FeatureDisabled = () => {
|
|
|
12966
12989
|
)
|
|
12967
12990
|
}
|
|
12968
12991
|
),
|
|
12969
|
-
/* @__PURE__ */ (0,
|
|
12992
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)("span", { className: "mt-2 block text-sm font-medium ", children: "This feature is disabled for your site." })
|
|
12970
12993
|
] }) }) });
|
|
12971
12994
|
};
|
|
12972
12995
|
|
|
12973
12996
|
// src/components/Elements/IframeViewer.tsx
|
|
12974
12997
|
var import_react76 = require("react");
|
|
12975
|
-
var
|
|
12998
|
+
var import_jsx_runtime135 = require("react/jsx-runtime");
|
|
12976
12999
|
var IframeViewer = ({ html, className }) => {
|
|
12977
13000
|
const containerRef = (0, import_react76.useRef)(null);
|
|
12978
13001
|
(0, import_react76.useEffect)(() => {
|
|
@@ -13002,28 +13025,28 @@ var IframeViewer = ({ html, className }) => {
|
|
|
13002
13025
|
});
|
|
13003
13026
|
}
|
|
13004
13027
|
}, [html]);
|
|
13005
|
-
return /* @__PURE__ */ (0,
|
|
13028
|
+
return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { ref: containerRef, className: className != null ? className : "" });
|
|
13006
13029
|
};
|
|
13007
13030
|
|
|
13008
13031
|
// src/components/Elements/loader.tsx
|
|
13009
|
-
var
|
|
13032
|
+
var import_jsx_runtime136 = require("react/jsx-runtime");
|
|
13010
13033
|
var LoaderFull = ({
|
|
13011
13034
|
showInCenter = true,
|
|
13012
13035
|
cssClass = null
|
|
13013
13036
|
}) => {
|
|
13014
|
-
return /* @__PURE__ */ (0,
|
|
13037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
|
|
13015
13038
|
"div",
|
|
13016
13039
|
{
|
|
13017
13040
|
className: showInCenter ? "w-full min-h-screen flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0") : "w-full flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0"),
|
|
13018
|
-
children: /* @__PURE__ */ (0,
|
|
13041
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
|
|
13019
13042
|
"svg",
|
|
13020
13043
|
{
|
|
13021
13044
|
viewBox: "0 0 38 38",
|
|
13022
13045
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
13023
13046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13024
|
-
children: /* @__PURE__ */ (0,
|
|
13025
|
-
/* @__PURE__ */ (0,
|
|
13026
|
-
/* @__PURE__ */ (0,
|
|
13047
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
13048
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
13049
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
|
|
13027
13050
|
"animateTransform",
|
|
13028
13051
|
{
|
|
13029
13052
|
attributeName: "transform",
|
|
@@ -13042,17 +13065,17 @@ var LoaderFull = ({
|
|
|
13042
13065
|
};
|
|
13043
13066
|
|
|
13044
13067
|
// src/components/Elements/LocalLoader.tsx
|
|
13045
|
-
var
|
|
13068
|
+
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
13046
13069
|
var LocalLoader = () => {
|
|
13047
|
-
return /* @__PURE__ */ (0,
|
|
13070
|
+
return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { className: "flex items-center justify-center ", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
|
|
13048
13071
|
"svg",
|
|
13049
13072
|
{
|
|
13050
13073
|
viewBox: "0 0 38 38",
|
|
13051
13074
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
13052
13075
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13053
|
-
children: /* @__PURE__ */ (0,
|
|
13054
|
-
/* @__PURE__ */ (0,
|
|
13055
|
-
/* @__PURE__ */ (0,
|
|
13076
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
13077
|
+
/* @__PURE__ */ (0, import_jsx_runtime137.jsx)("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
13078
|
+
/* @__PURE__ */ (0, import_jsx_runtime137.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
|
|
13056
13079
|
"animateTransform",
|
|
13057
13080
|
{
|
|
13058
13081
|
attributeName: "transform",
|
|
@@ -13069,9 +13092,9 @@ var LocalLoader = () => {
|
|
|
13069
13092
|
};
|
|
13070
13093
|
|
|
13071
13094
|
// src/components/Elements/MediaEmbedItem.tsx
|
|
13072
|
-
var
|
|
13095
|
+
var import_jsx_runtime138 = require("react/jsx-runtime");
|
|
13073
13096
|
var MediaEmbedItem = ({ alt, src }) => {
|
|
13074
|
-
return /* @__PURE__ */ (0,
|
|
13097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(
|
|
13075
13098
|
"img",
|
|
13076
13099
|
{
|
|
13077
13100
|
alt,
|
|
@@ -13082,10 +13105,10 @@ var MediaEmbedItem = ({ alt, src }) => {
|
|
|
13082
13105
|
};
|
|
13083
13106
|
|
|
13084
13107
|
// src/components/Elements/permission-disabled.tsx
|
|
13085
|
-
var
|
|
13108
|
+
var import_jsx_runtime139 = require("react/jsx-runtime");
|
|
13086
13109
|
var PermissionDisabled = () => {
|
|
13087
|
-
return /* @__PURE__ */ (0,
|
|
13088
|
-
/* @__PURE__ */ (0,
|
|
13110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("div", { className: "container mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)("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: [
|
|
13111
|
+
/* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
|
|
13089
13112
|
"svg",
|
|
13090
13113
|
{
|
|
13091
13114
|
className: "mx-auto h-12 w-12 text-gray-400",
|
|
@@ -13093,7 +13116,7 @@ var PermissionDisabled = () => {
|
|
|
13093
13116
|
fill: "none",
|
|
13094
13117
|
viewBox: "0 0 24 24",
|
|
13095
13118
|
stroke: "currentColor",
|
|
13096
|
-
children: /* @__PURE__ */ (0,
|
|
13119
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
|
|
13097
13120
|
"path",
|
|
13098
13121
|
{
|
|
13099
13122
|
strokeLinecap: "round",
|
|
@@ -13104,38 +13127,38 @@ var PermissionDisabled = () => {
|
|
|
13104
13127
|
)
|
|
13105
13128
|
}
|
|
13106
13129
|
),
|
|
13107
|
-
/* @__PURE__ */ (0,
|
|
13130
|
+
/* @__PURE__ */ (0, import_jsx_runtime139.jsx)("span", { className: "mt-2 block text-sm font-medium ", children: "Permission denied" })
|
|
13108
13131
|
] }) }) });
|
|
13109
13132
|
};
|
|
13110
13133
|
|
|
13111
13134
|
// src/components/Elements/ShowLargeText.tsx
|
|
13112
|
-
var
|
|
13135
|
+
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
13113
13136
|
var ShowLargeText = (props) => {
|
|
13114
|
-
return /* @__PURE__ */ (0,
|
|
13137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(
|
|
13115
13138
|
"div",
|
|
13116
13139
|
{
|
|
13117
13140
|
className: props.colSpan != null ? "sm:col-span-" + props.colSpan : "sm:col-span-1",
|
|
13118
13141
|
children: [
|
|
13119
|
-
/* @__PURE__ */ (0,
|
|
13120
|
-
/* @__PURE__ */ (0,
|
|
13142
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)("dt", { className: "text-sm font-bold", children: props.label }),
|
|
13143
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)("dd", { className: "mt-1 text-sm", children: props.value })
|
|
13121
13144
|
]
|
|
13122
13145
|
}
|
|
13123
13146
|
);
|
|
13124
13147
|
};
|
|
13125
13148
|
|
|
13126
13149
|
// src/components/Elements/ShowShortText.tsx
|
|
13127
|
-
var
|
|
13150
|
+
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
13128
13151
|
var ShowShortText = (props) => {
|
|
13129
|
-
return /* @__PURE__ */ (0,
|
|
13130
|
-
/* @__PURE__ */ (0,
|
|
13131
|
-
/* @__PURE__ */ (0,
|
|
13152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)("div", { className: "sm:col-span-1", children: [
|
|
13153
|
+
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)("dt", { className: "text-sm font-bold", children: props.label }),
|
|
13154
|
+
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)("dd", { className: "mt-1 text-sm", children: props.value })
|
|
13132
13155
|
] });
|
|
13133
13156
|
};
|
|
13134
13157
|
|
|
13135
13158
|
// src/components/Elements/SizedImage.tsx
|
|
13136
|
-
var
|
|
13159
|
+
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
13137
13160
|
var SizedImage = (props) => {
|
|
13138
|
-
return /* @__PURE__ */ (0,
|
|
13161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
|
|
13139
13162
|
"img",
|
|
13140
13163
|
{
|
|
13141
13164
|
className: props.className,
|
|
@@ -13148,43 +13171,43 @@ var SizedImage = (props) => {
|
|
|
13148
13171
|
};
|
|
13149
13172
|
|
|
13150
13173
|
// src/components/Elements/UnderConstruction.tsx
|
|
13151
|
-
var
|
|
13174
|
+
var import_jsx_runtime143 = require("react/jsx-runtime");
|
|
13152
13175
|
var UnderConstruction = () => {
|
|
13153
|
-
return /* @__PURE__ */ (0,
|
|
13154
|
-
/* @__PURE__ */ (0,
|
|
13155
|
-
/* @__PURE__ */ (0,
|
|
13156
|
-
/* @__PURE__ */ (0,
|
|
13157
|
-
/* @__PURE__ */ (0,
|
|
13176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("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__ */ (0, import_jsx_runtime143.jsx)("div", { className: "max-w-max mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("main", { className: "sm:flex", children: [
|
|
13177
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)("p", { className: "text-4xl font-extrabold text-primary-600 sm:text-5xl", children: "recodo.io" }),
|
|
13178
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { className: "sm:ml-6", children: /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { className: "sm:border-l sm:border-gray-200 sm:pl-6", children: [
|
|
13179
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)("h1", { className: "text-4xl font-extrabold tracking-tight sm:text-5xl", children: "Under Construction" }),
|
|
13180
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)("p", { className: "mt-4 text-xl ", children: "Please check back later." })
|
|
13158
13181
|
] }) })
|
|
13159
13182
|
] }) }) });
|
|
13160
13183
|
};
|
|
13161
13184
|
|
|
13162
13185
|
// src/components/Elements/FeaturedItemWithBannerImage.tsx
|
|
13163
|
-
var
|
|
13186
|
+
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
13164
13187
|
var FeaturedItemWithBannerImage = (props) => {
|
|
13165
13188
|
var _a, _b, _c, _d;
|
|
13166
|
-
return /* @__PURE__ */ (0,
|
|
13189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)("div", { className: "w-full h-full mt-15 pointer-events-auto md:pointer-events-none", onClick: () => {
|
|
13167
13190
|
if (window.innerWidth < 700 && props.itemDetails.externalWebsiteLink)
|
|
13168
13191
|
window.open(props.itemDetails.externalWebsiteLink, "_blank");
|
|
13169
13192
|
}, children: [
|
|
13170
|
-
/* @__PURE__ */ (0,
|
|
13171
|
-
/* @__PURE__ */ (0,
|
|
13172
|
-
props.itemDetails.externalWebsiteLink && /* @__PURE__ */ (0,
|
|
13173
|
-
/* @__PURE__ */ (0,
|
|
13174
|
-
/* @__PURE__ */ (0,
|
|
13193
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsxs)("div", { className: "hidden md:block relative", children: [
|
|
13194
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)("img", { src: (_a = props.featuredItem[0]) == null ? void 0 : _a.landscapeBannerUrl, className: "relative w-full object-contain rounded-xl mt-6 lg:mt-12 " }),
|
|
13195
|
+
props.itemDetails.externalWebsiteLink && /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("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__ */ (0, import_jsx_runtime144.jsx)("div", { className: "w-auto h-14 bg-primary rounded-[40px] flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)("div", { className: "inline-flex gap-2", children: [
|
|
13196
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { className: "text-white text-base text-lg font-medium ml-6", children: "View Quest" }),
|
|
13197
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)("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__ */ (0, import_jsx_runtime144.jsx)("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" }) })
|
|
13175
13198
|
] }) }) })
|
|
13176
13199
|
] }),
|
|
13177
|
-
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */ (0,
|
|
13178
|
-
/* @__PURE__ */ (0,
|
|
13179
|
-
/* @__PURE__ */ (0,
|
|
13200
|
+
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)("div", { className: "w-full relative pt-10", children: [
|
|
13201
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { className: "justify-start text-black text-lg font-normal leading-6 mb-2", children: "Feature Quest" }),
|
|
13202
|
+
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)("img", { src: (_d = props.featuredItem[0]) == null ? void 0 : _d.portraitBannerUrl, className: "w-full h-full overflow-hidden rounded-xl object-cover mt-5" })
|
|
13180
13203
|
] }) })
|
|
13181
13204
|
] });
|
|
13182
13205
|
};
|
|
13183
13206
|
|
|
13184
13207
|
// src/components/Hero/HeroImage.tsx
|
|
13185
|
-
var
|
|
13208
|
+
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
13186
13209
|
var HeroImage = ({ path, cmsUrl }) => {
|
|
13187
|
-
return /* @__PURE__ */ (0,
|
|
13210
|
+
return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
13188
13211
|
"div",
|
|
13189
13212
|
{
|
|
13190
13213
|
className: "w-full bg-center bg-cover hero-geo-wiki rounded-xl overflow-hidden",
|
|
@@ -13199,9 +13222,9 @@ var HeroImage = ({ path, cmsUrl }) => {
|
|
|
13199
13222
|
var import_react77 = require("react");
|
|
13200
13223
|
|
|
13201
13224
|
// src/components/HeadingTextBlocks/H1BodyButton.tsx
|
|
13202
|
-
var
|
|
13225
|
+
var import_core7 = require("@geowiki/core");
|
|
13203
13226
|
var import_html_react_parser2 = __toESM(require("html-react-parser"));
|
|
13204
|
-
var
|
|
13227
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
13205
13228
|
var HtmlView2 = (props) => {
|
|
13206
13229
|
const options = {
|
|
13207
13230
|
replace: (domNode) => {
|
|
@@ -13215,11 +13238,11 @@ var HtmlView2 = (props) => {
|
|
|
13215
13238
|
data = data.replace(match, imageHtml);
|
|
13216
13239
|
});
|
|
13217
13240
|
}
|
|
13218
|
-
return /* @__PURE__ */ (0,
|
|
13241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("span", { children: (0, import_html_react_parser2.default)(data) });
|
|
13219
13242
|
}
|
|
13220
13243
|
}
|
|
13221
13244
|
};
|
|
13222
|
-
return /* @__PURE__ */ (0,
|
|
13245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(
|
|
13223
13246
|
"div",
|
|
13224
13247
|
{
|
|
13225
13248
|
className: props.cssClass !== void 0 && props.cssClass !== null ? props.cssClass : "m-5 ",
|
|
@@ -13239,40 +13262,40 @@ var H1BodyButton = (props) => {
|
|
|
13239
13262
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
13240
13263
|
return modifiedText;
|
|
13241
13264
|
};
|
|
13242
|
-
return /* @__PURE__ */ (0,
|
|
13265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(
|
|
13243
13266
|
"div",
|
|
13244
13267
|
{
|
|
13245
13268
|
className: "px-0 container mx-auto mt-6 lg:mt-10 flex justify-start",
|
|
13246
13269
|
"data-component-name": "H1BodyButton",
|
|
13247
13270
|
children: [
|
|
13248
|
-
/* @__PURE__ */ (0,
|
|
13249
|
-
/* @__PURE__ */ (0,
|
|
13250
|
-
isNeedParse && /* @__PURE__ */ (0,
|
|
13251
|
-
!isNeedParse && /* @__PURE__ */ (0,
|
|
13271
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
13272
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("div", { className: "w-full max-w-3xl lg:px-5", children: [
|
|
13273
|
+
isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
13274
|
+
!isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(H1Design, { children: [
|
|
13252
13275
|
props.title,
|
|
13253
13276
|
" "
|
|
13254
13277
|
] }),
|
|
13255
|
-
props.textBody && /* @__PURE__ */ (0,
|
|
13278
|
+
props.textBody && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13256
13279
|
HtmlView2,
|
|
13257
13280
|
{
|
|
13258
13281
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] pt-4 lg:pt-6",
|
|
13259
13282
|
html: addLinksStyles(props.textBody)
|
|
13260
13283
|
}
|
|
13261
13284
|
),
|
|
13262
|
-
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ (0,
|
|
13263
|
-
|
|
13285
|
+
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "pt-4 lg:pt-6", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13286
|
+
import_core7.Link,
|
|
13264
13287
|
{
|
|
13265
13288
|
href: props.button.link,
|
|
13266
13289
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
13267
13290
|
rel: "noreferrer",
|
|
13268
|
-
children: props.button.isNewTab ? /* @__PURE__ */ (0,
|
|
13291
|
+
children: props.button.isNewTab ? /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13269
13292
|
DesignButton,
|
|
13270
13293
|
{
|
|
13271
13294
|
variant: "externalLink",
|
|
13272
13295
|
className: "h-auto p-0 lg:p-0",
|
|
13273
13296
|
children: props.button.text
|
|
13274
13297
|
}
|
|
13275
|
-
) : /* @__PURE__ */ (0,
|
|
13298
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(DesignButton, { children: props.button.text })
|
|
13276
13299
|
}
|
|
13277
13300
|
) })
|
|
13278
13301
|
] })
|
|
@@ -13289,57 +13312,57 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
13289
13312
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
13290
13313
|
return modifiedText;
|
|
13291
13314
|
};
|
|
13292
|
-
return /* @__PURE__ */ (0,
|
|
13315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(
|
|
13293
13316
|
"div",
|
|
13294
13317
|
{
|
|
13295
13318
|
className: "px-0 container mx-auto mt-2 lg:mt-10 flex justify-start",
|
|
13296
13319
|
"data-component-name": "H1BodyButton",
|
|
13297
13320
|
children: [
|
|
13298
|
-
/* @__PURE__ */ (0,
|
|
13299
|
-
/* @__PURE__ */ (0,
|
|
13300
|
-
isNeedParse && /* @__PURE__ */ (0,
|
|
13301
|
-
!isNeedParse && /* @__PURE__ */ (0,
|
|
13321
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
13322
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("div", { className: "max-w-3xl lg:px-5", children: [
|
|
13323
|
+
isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
13324
|
+
!isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(BigLandingTitle, { children: [
|
|
13302
13325
|
props.title,
|
|
13303
13326
|
" "
|
|
13304
13327
|
] }),
|
|
13305
|
-
props.textBody && /* @__PURE__ */ (0,
|
|
13328
|
+
props.textBody && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13306
13329
|
HtmlView2,
|
|
13307
13330
|
{
|
|
13308
13331
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] pt-4 lg:pt-6",
|
|
13309
13332
|
html: addLinksStyles(props.textBody)
|
|
13310
13333
|
}
|
|
13311
13334
|
),
|
|
13312
|
-
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ (0,
|
|
13313
|
-
|
|
13335
|
+
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "pt-4 lg:pt-6", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13336
|
+
import_core7.Link,
|
|
13314
13337
|
{
|
|
13315
13338
|
href: props.button.link,
|
|
13316
13339
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
13317
13340
|
rel: "noreferrer",
|
|
13318
|
-
children: props.button.isNewTab ? /* @__PURE__ */ (0,
|
|
13341
|
+
children: props.button.isNewTab ? /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
13319
13342
|
DesignButton,
|
|
13320
13343
|
{
|
|
13321
13344
|
variant: "externalLink",
|
|
13322
13345
|
className: "h-auto p-0 lg:p-0",
|
|
13323
13346
|
children: props.button.text
|
|
13324
13347
|
}
|
|
13325
|
-
) : /* @__PURE__ */ (0,
|
|
13348
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(DesignButton, { children: props.button.text })
|
|
13326
13349
|
}
|
|
13327
13350
|
) }),
|
|
13328
|
-
props.show_app_stores && /* @__PURE__ */ (0,
|
|
13329
|
-
/* @__PURE__ */ (0,
|
|
13330
|
-
/* @__PURE__ */ (0,
|
|
13331
|
-
/* @__PURE__ */ (0,
|
|
13332
|
-
/* @__PURE__ */ (0,
|
|
13333
|
-
/* @__PURE__ */ (0,
|
|
13334
|
-
/* @__PURE__ */ (0,
|
|
13335
|
-
/* @__PURE__ */ (0,
|
|
13336
|
-
/* @__PURE__ */ (0,
|
|
13337
|
-
/* @__PURE__ */ (0,
|
|
13338
|
-
/* @__PURE__ */ (0,
|
|
13351
|
+
props.show_app_stores && /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("div", { className: "mt-6 gap-3 lg:gap-2 flex flex-row md:px-0", children: [
|
|
13352
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("a", { href: props.google_marketplace_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", className: "w-full md:w-auto h-auto", viewBox: "0 0 180 53", fill: "none", children: [
|
|
13353
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("g", { clipPath: "url(#clip0_5955_146)", children: [
|
|
13354
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13355
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13356
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13357
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M27.622 25.7372L13.428 40.7092C13.4285 40.7122 13.4296 40.7148 13.4301 40.718C13.8654 42.3438 15.3597 43.5409 17.1331 43.5409C17.842 43.5409 18.5076 43.3504 19.0784 43.0161L19.1237 42.9897L35.1017 33.8272L27.622 25.7372Z", fill: "#EB3131" }),
|
|
13358
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M41.9831 23.1884L41.9695 23.1791L35.0713 19.2051L27.2996 26.0775L35.0983 33.8265L41.9601 29.892C43.1631 29.2466 43.9798 27.9863 43.9798 26.5329C43.9798 25.09 43.1742 23.8359 41.9831 23.1884Z", fill: "#F6B60B" }),
|
|
13359
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M13.4261 12.2927C13.3407 12.6054 13.2959 12.933 13.2959 13.2731V39.7298C13.2959 40.0693 13.3402 40.398 13.4266 40.7096L28.1106 26.1202L13.4261 12.2927Z", fill: "#5778C5" }),
|
|
13360
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M27.727 26.5016L35.0743 19.2024L19.1143 10.0067C18.5342 9.66144 17.8571 9.46216 17.1326 9.46216C15.3592 9.46216 13.8629 10.6614 13.4275 12.2891C13.427 12.2907 13.427 12.2918 13.427 12.2932L27.727 26.5016Z", fill: "#3BAD49" }),
|
|
13361
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M63.193 12.9606H59.3035V13.9171H62.2181C62.1389 14.6976 61.8263 15.3104 61.2993 15.7555C60.7722 16.2007 60.0993 16.4243 59.3035 16.4243C58.4306 16.4243 57.691 16.122 57.0849 15.5217C56.491 14.9089 56.189 14.1511 56.189 13.2381C56.189 12.3252 56.491 11.5674 57.0849 10.9547C57.691 10.3543 58.4306 10.0541 59.3035 10.0541C59.7515 10.0541 60.1785 10.1307 60.5701 10.2984C60.9618 10.466 61.2763 10.7 61.5222 11.0003L62.2618 10.2653C61.9263 9.88636 61.5014 9.59658 60.9742 9.38539C60.4471 9.17419 59.8972 9.07282 59.3034 9.07282C58.1389 9.07282 57.1515 9.47442 56.3452 10.2757C55.5389 11.0789 55.1348 12.0685 55.1348 13.2382C55.1348 14.4078 55.5389 15.3996 56.3452 16.2008C57.1514 17.0019 58.1389 17.4037 59.3034 17.4037C60.5263 17.4037 61.5013 17.0144 62.2513 16.2235C62.9116 15.5653 63.2491 14.675 63.2491 13.5612C63.2491 13.3728 63.2263 13.1718 63.193 12.9606ZM64.6998 9.2507V17.2255H69.385V16.2462H65.731V13.7164H69.0268V12.7599H65.731V10.2321H69.385V9.25067L64.6998 9.2507ZM75.9548 10.2321V9.2507H70.4403V10.2321H72.682V17.2255H73.7132V10.2321H75.9548ZM80.9473 9.2507H79.9161V17.2255H80.9473V9.2507ZM87.7539 10.2321V9.2507H82.2395V10.2321H84.481V17.2255H85.5122V10.2321H87.7539ZM98.1599 10.288C97.364 9.47436 96.3891 9.07275 95.2245 9.07275C94.0579 9.07275 93.083 9.47435 92.2871 10.2756C91.4912 11.0665 91.0997 12.0581 91.0997 13.2381C91.0997 14.4181 91.4912 15.4098 92.2871 16.2008C93.0829 17.0018 94.0579 17.4036 95.2245 17.4036C96.3786 17.4036 97.364 17.0019 98.1599 16.2008C98.9557 15.4099 99.3473 14.4182 99.3473 13.2381C99.3473 12.0684 98.9557 11.0788 98.1599 10.288ZM93.0267 10.9546C93.6204 10.3543 94.3496 10.054 95.2245 10.054C96.0974 10.054 96.8266 10.3543 97.4099 10.9546C98.0036 11.5446 98.2952 12.3147 98.2952 13.2381C98.2952 14.1636 98.0036 14.9315 97.4099 15.5216C96.8265 16.122 96.0974 16.4242 95.2245 16.4242C94.3495 16.4242 93.6204 16.122 93.0267 15.5216C92.4453 14.9192 92.1537 14.1635 92.1537 13.2381C92.1537 12.3147 92.4453 11.557 93.0267 10.9546ZM101.797 12.2589L101.754 10.7206H101.797L105.876 17.2254H106.953V9.25062H105.922V13.917L105.966 15.4553H105.922L102.022 9.25062H100.766V17.2254H101.797V12.2589Z", fill: "white", stroke: "white", strokeWidth: "0.26666", strokeMiterlimit: "10" })
|
|
13339
13362
|
] }),
|
|
13340
|
-
/* @__PURE__ */ (0,
|
|
13363
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("clipPath", { id: "clip0_5955_146", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("rect", { width: "180", height: "53", fill: "white" }) }) })
|
|
13341
13364
|
] }) }),
|
|
13342
|
-
/* @__PURE__ */ (0,
|
|
13365
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("a", { href: props.apple_store_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(
|
|
13343
13366
|
"svg",
|
|
13344
13367
|
{
|
|
13345
13368
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13348,34 +13371,34 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
13348
13371
|
fill: "none",
|
|
13349
13372
|
onClick: () => props.apple_store_link,
|
|
13350
13373
|
children: [
|
|
13351
|
-
/* @__PURE__ */ (0,
|
|
13352
|
-
/* @__PURE__ */ (0,
|
|
13353
|
-
/* @__PURE__ */ (0,
|
|
13354
|
-
/* @__PURE__ */ (0,
|
|
13355
|
-
/* @__PURE__ */ (0,
|
|
13356
|
-
/* @__PURE__ */ (0,
|
|
13357
|
-
/* @__PURE__ */ (0,
|
|
13358
|
-
/* @__PURE__ */ (0,
|
|
13359
|
-
/* @__PURE__ */ (0,
|
|
13360
|
-
/* @__PURE__ */ (0,
|
|
13361
|
-
/* @__PURE__ */ (0,
|
|
13362
|
-
/* @__PURE__ */ (0,
|
|
13363
|
-
/* @__PURE__ */ (0,
|
|
13364
|
-
/* @__PURE__ */ (0,
|
|
13365
|
-
/* @__PURE__ */ (0,
|
|
13366
|
-
/* @__PURE__ */ (0,
|
|
13367
|
-
/* @__PURE__ */ (0,
|
|
13368
|
-
/* @__PURE__ */ (0,
|
|
13369
|
-
/* @__PURE__ */ (0,
|
|
13370
|
-
/* @__PURE__ */ (0,
|
|
13371
|
-
/* @__PURE__ */ (0,
|
|
13372
|
-
/* @__PURE__ */ (0,
|
|
13373
|
-
/* @__PURE__ */ (0,
|
|
13374
|
-
/* @__PURE__ */ (0,
|
|
13375
|
-
/* @__PURE__ */ (0,
|
|
13376
|
-
/* @__PURE__ */ (0,
|
|
13374
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("g", { clipPath: "url(#clip0_5955_114)", children: [
|
|
13375
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13376
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13377
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("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" }),
|
|
13378
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M35.9041 13.6555C37.0694 12.2072 37.8667 10.237 37.6454 8.23755C35.9587 8.31175 33.8494 9.39692 32.6347 10.8133C31.5601 12.0615 30.6001 14.1073 30.8481 16.0312C32.7427 16.1716 34.6881 15.0812 35.9041 13.6555Z", fill: "white" }),
|
|
13379
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M71.5266 41.7427H68.4986L66.84 36.5633H61.0746L59.4946 41.7427H56.5466L62.2586 24.1096H65.7866L71.5266 41.7427ZM66.34 34.3903L64.84 29.7859C64.6813 29.3155 64.384 28.2078 63.9453 26.4641H63.892C63.7173 27.2141 63.436 28.3218 63.0493 29.7859L61.576 34.3903H66.34Z", fill: "white" }),
|
|
13380
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M86.2159 35.2291C86.2159 37.3915 85.6279 39.1008 84.4519 40.3555C83.3985 41.4725 82.0905 42.0303 80.5292 42.0303C78.8439 42.0303 77.6332 41.4288 76.8959 40.2257H76.8425V46.9236H73.9999V33.2138C73.9999 31.8543 73.9639 30.4591 73.8945 29.0281H76.3945L76.5532 31.0434H76.6065C77.5545 29.525 78.9932 28.7671 80.9239 28.7671C82.4332 28.7671 83.6932 29.3594 84.7012 30.5452C85.7119 31.7324 86.2159 33.2933 86.2159 35.2291ZM83.3199 35.3325C83.3199 34.0949 83.0399 33.0747 82.4772 32.2717C81.8625 31.4343 81.0372 31.0156 80.0025 31.0156C79.3012 31.0156 78.6639 31.2488 78.0945 31.7086C77.5239 32.1723 77.1505 32.7779 76.9759 33.5278C76.8879 33.8776 76.8439 34.1638 76.8439 34.3891V36.5091C76.8439 37.4339 77.1292 38.2143 77.6999 38.8517C78.2705 39.489 79.0119 39.807 79.9239 39.807C80.9945 39.807 81.8279 39.3962 82.4239 38.5774C83.0212 37.7572 83.3199 36.676 83.3199 35.3325Z", fill: "white" }),
|
|
13381
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M100.932 35.2291C100.932 37.3915 100.344 39.1008 99.1667 40.3555C98.1147 41.4725 96.8067 42.0303 95.2454 42.0303C93.5601 42.0303 92.3494 41.4288 91.6134 40.2257H91.5601V46.9236H88.7174V33.2138C88.7174 31.8543 88.6814 30.4591 88.6121 29.0281H91.1121L91.2707 31.0434H91.3241C92.2707 29.525 93.7094 28.7671 95.6414 28.7671C97.1494 28.7671 98.4094 29.3594 99.4201 30.5452C100.427 31.7324 100.932 33.2933 100.932 35.2291ZM98.0361 35.3325C98.0361 34.0949 97.7547 33.0747 97.1921 32.2717C96.5774 31.4343 95.7547 31.0156 94.7187 31.0156C94.0161 31.0156 93.3801 31.2488 92.8094 31.7086C92.2387 32.1723 91.8667 32.7779 91.6921 33.5278C91.6054 33.8776 91.5601 34.1638 91.5601 34.3891V36.5091C91.5601 37.4339 91.8454 38.2143 92.4134 38.8517C92.9841 39.4877 93.7254 39.807 94.6401 39.807C95.7107 39.807 96.5441 39.3962 97.1401 38.5774C97.7374 37.7572 98.0361 36.676 98.0361 35.3325Z", fill: "white" }),
|
|
13382
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M117.385 36.7979C117.385 38.2978 116.861 39.5181 115.809 40.4602C114.653 41.4897 113.044 42.0038 110.976 42.0038C109.067 42.0038 107.536 41.6381 106.377 40.9054L107.036 38.5509C108.284 39.3008 109.653 39.6771 111.145 39.6771C112.216 39.6771 113.049 39.436 113.648 38.9563C114.244 38.4767 114.541 37.8327 114.541 37.0298C114.541 36.3143 114.296 35.7114 113.804 35.2225C113.315 34.7335 112.497 34.2791 111.356 33.859C108.249 32.7076 106.697 31.0209 106.697 28.8028C106.697 27.3533 107.241 26.1648 108.331 25.2399C109.416 24.3137 110.864 23.8513 112.675 23.8513C114.289 23.8513 115.631 24.1309 116.701 24.6887L115.991 26.9916C114.991 26.451 113.86 26.1807 112.595 26.1807C111.595 26.1807 110.813 26.4258 110.253 26.9134C109.78 27.3493 109.543 27.8806 109.543 28.51C109.543 29.207 109.813 29.7833 110.357 30.2365C110.831 30.6552 111.691 31.1083 112.939 31.5973C114.465 32.2081 115.587 32.9223 116.308 33.7411C117.027 34.5573 117.385 35.5789 117.385 36.7979Z", fill: "white" }),
|
|
13383
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M126.784 31.1482H123.651V37.3214C123.651 38.8915 124.203 39.6759 125.309 39.6759C125.817 39.6759 126.239 39.6322 126.572 39.5447L126.651 41.6899C126.091 41.8979 125.353 42.0026 124.44 42.0026C123.317 42.0026 122.44 41.6621 121.807 40.9823C121.176 40.3013 120.859 39.1591 120.859 37.5546V31.1455H118.992V29.0255H120.859V26.6975L123.651 25.8601V29.0255H126.784V31.1482Z", fill: "white" }),
|
|
13384
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M140.921 35.2807C140.921 37.2351 140.359 38.8396 139.236 40.0944C138.059 41.3863 136.496 42.0302 134.548 42.0302C132.671 42.0302 131.176 41.4115 130.061 40.1739C128.947 38.9364 128.389 37.3742 128.389 35.4914C128.389 33.5211 128.963 31.9072 130.113 30.6525C131.261 29.3964 132.811 28.7683 134.759 28.7683C136.636 28.7683 138.147 29.3871 139.287 30.626C140.377 31.8277 140.921 33.3793 140.921 35.2807ZM137.972 35.3721C137.972 34.1995 137.72 33.1938 137.209 32.3551C136.613 31.3401 135.761 30.834 134.657 30.834C133.515 30.834 132.647 31.3415 132.051 32.3551C131.54 33.1951 131.288 34.2167 131.288 35.4251C131.288 36.5977 131.54 37.6034 132.051 38.4408C132.665 39.4558 133.524 39.9619 134.632 39.9619C135.717 39.9619 136.569 39.4452 137.184 38.4143C137.708 37.5597 137.972 36.5434 137.972 35.3721Z", fill: "white" }),
|
|
13385
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M150.161 31.5125C149.88 31.4608 149.58 31.4343 149.265 31.4343C148.265 31.4343 147.492 31.8093 146.948 32.5606C146.475 33.2231 146.237 34.0605 146.237 35.0714V41.7428H143.396L143.423 33.0323C143.423 31.5668 143.387 30.2325 143.316 29.0294H145.792L145.896 31.4621H145.975C146.275 30.6261 146.748 29.953 147.396 29.4481C148.029 28.9937 148.713 28.7671 149.451 28.7671C149.713 28.7671 149.951 28.7856 150.161 28.8188V31.5125Z", fill: "white" }),
|
|
13386
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M162.875 34.7838C162.875 35.29 162.841 35.7166 162.771 36.0651H154.243C154.276 37.3212 154.688 38.2818 155.48 38.9443C156.199 39.5366 157.128 39.8334 158.269 39.8334C159.532 39.8334 160.684 39.6333 161.72 39.2319L162.165 41.1929C160.955 41.7176 159.525 41.9786 157.876 41.9786C155.892 41.9786 154.335 41.3982 153.201 40.2389C152.071 39.0795 151.504 37.5226 151.504 35.5696C151.504 33.6523 152.031 32.0557 153.085 30.7823C154.189 29.4229 155.681 28.7432 157.559 28.7432C159.403 28.7432 160.799 29.4229 161.747 30.7823C162.497 31.8622 162.875 33.1978 162.875 34.7838ZM160.164 34.0511C160.183 33.2137 159.997 32.4903 159.612 31.8794C159.12 31.0937 158.364 30.7015 157.347 30.7015C156.417 30.7015 155.661 31.0844 155.084 31.8529C154.611 32.4638 154.329 33.1965 154.243 34.0498L160.164 34.0511Z", fill: "white" }),
|
|
13387
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M65.4 13.262C65.4 14.8215 64.9293 15.9955 63.9893 16.7839C63.1186 17.5113 61.8813 17.8757 60.2786 17.8757C59.484 17.8757 58.804 17.8412 58.2346 17.7723V9.25124C58.9773 9.13199 59.7773 9.07104 60.6413 9.07104C62.168 9.07104 63.3186 9.40097 64.0946 10.0608C64.964 10.8068 65.4 11.8734 65.4 13.262ZM63.9266 13.3004C63.9266 12.2895 63.6573 11.5143 63.1186 10.9737C62.58 10.4345 61.7933 10.1642 60.7573 10.1642C60.3173 10.1642 59.9426 10.1933 59.632 10.2543V16.7322C59.804 16.7587 60.1186 16.7706 60.576 16.7706C61.6453 16.7706 62.4706 16.4751 63.052 15.8842C63.6333 15.2932 63.9266 14.432 63.9266 13.3004Z", fill: "white" }),
|
|
13388
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M73.2119 14.6241C73.2119 15.5847 72.9359 16.3718 72.3839 16.9892C71.8052 17.6239 71.0386 17.9406 70.0812 17.9406C69.1586 17.9406 68.4239 17.6371 67.8759 17.0276C67.3292 16.4195 67.0559 15.6523 67.0559 14.7274C67.0559 13.7602 67.3372 12.9665 67.9026 12.3504C68.4679 11.7343 69.2279 11.4255 70.1852 11.4255C71.1079 11.4255 71.8492 11.729 72.4106 12.3371C72.9439 12.9281 73.2119 13.6913 73.2119 14.6241ZM71.7626 14.6691C71.7626 14.0928 71.6372 13.5985 71.3879 13.1865C71.0946 12.6883 70.6772 12.4392 70.1346 12.4392C69.5732 12.4392 69.1466 12.6883 68.8532 13.1865C68.6026 13.5985 68.4786 14.1007 68.4786 14.6943C68.4786 15.2707 68.6039 15.7649 68.8532 16.177C69.1559 16.6752 69.5772 16.9243 70.1212 16.9243C70.6546 16.9243 71.0732 16.6712 71.3746 16.1637C71.6332 15.7437 71.7626 15.2455 71.7626 14.6691Z", fill: "white" }),
|
|
13389
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M83.6867 11.5527L81.7201 17.7988H80.4401L79.6254 15.0865C79.4187 14.4094 79.2507 13.7363 79.1201 13.0685H79.0947C78.9734 13.7549 78.8054 14.4267 78.5894 15.0865L77.7241 17.7988H76.4294L74.5801 11.5527H76.0161L76.7267 14.5221C76.8987 15.2243 77.0401 15.8934 77.1534 16.5268H77.1787C77.2827 16.0047 77.4547 15.3396 77.6974 14.5353L78.5894 11.5541H79.7281L80.5827 14.4717C80.7894 15.1832 80.9574 15.8683 81.0867 16.5281H81.1254C81.2201 15.8855 81.3627 15.2005 81.5521 14.4717L82.3147 11.5541H83.6867V11.5527Z", fill: "white" }),
|
|
13390
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M90.9307 17.7989H89.5334V14.2214C89.5334 13.119 89.112 12.5678 88.2667 12.5678C87.852 12.5678 87.5174 12.7188 87.2574 13.0222C87.0001 13.3257 86.8694 13.6834 86.8694 14.0928V17.7975H85.472V13.3376C85.472 12.789 85.4547 12.1941 85.4214 11.5502H86.6494L86.7147 12.5267H86.7534C86.9161 12.2233 87.1587 11.9728 87.4774 11.7728C87.8561 11.5396 88.28 11.4216 88.744 11.4216C89.3307 11.4216 89.8187 11.6098 90.2067 11.9874C90.6894 12.4498 90.9307 13.1402 90.9307 14.0571V17.7989Z", fill: "white" }),
|
|
13391
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M94.7839 17.7988H93.3879V8.68677H94.7839V17.7988Z", fill: "white" }),
|
|
13392
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M103.011 14.6241C103.011 15.5847 102.735 16.3718 102.183 16.9892C101.604 17.6239 100.836 17.9406 99.8801 17.9406C98.9561 17.9406 98.2214 17.6371 97.6747 17.0276C97.1281 16.4195 96.8547 15.6523 96.8547 14.7274C96.8547 13.7602 97.1361 12.9665 97.7014 12.3504C98.2667 11.7343 99.0267 11.4255 99.9827 11.4255C100.907 11.4255 101.647 11.729 102.209 12.3371C102.743 12.9281 103.011 13.6913 103.011 14.6241ZM101.56 14.6691C101.56 14.0928 101.435 13.5985 101.185 13.1865C100.893 12.6883 100.475 12.4392 99.9334 12.4392C99.3707 12.4392 98.9441 12.6883 98.6521 13.1865C98.4014 13.5985 98.2774 14.1007 98.2774 14.6943C98.2774 15.2707 98.4027 15.7649 98.6521 16.177C98.9547 16.6752 99.3761 16.9243 99.9201 16.9243C100.453 16.9243 100.871 16.6712 101.172 16.1637C101.432 15.7437 101.56 15.2455 101.56 14.6691Z", fill: "white" }),
|
|
13393
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M109.773 17.7988H108.519L108.415 17.0793H108.376C107.947 17.653 107.335 17.9406 106.54 17.9406C105.947 17.9406 105.467 17.7511 105.105 17.3748C104.777 17.0329 104.613 16.6076 104.613 16.1028C104.613 15.3396 104.933 14.7579 105.577 14.3551C106.22 13.9523 107.124 13.7549 108.288 13.7642V13.6476C108.288 12.8247 107.853 12.414 106.983 12.414C106.363 12.414 105.816 12.569 105.344 12.8764L105.06 11.9648C105.644 11.6057 106.365 11.4255 107.216 11.4255C108.859 11.4255 109.683 12.2868 109.683 14.0093V16.3095C109.683 16.9336 109.713 17.4304 109.773 17.7988ZM108.323 15.6523V14.689C106.781 14.6625 106.011 15.0825 106.011 15.9478C106.011 16.2737 106.099 16.5175 106.279 16.6805C106.459 16.8435 106.688 16.9243 106.961 16.9243C107.268 16.9243 107.555 16.8276 107.816 16.6354C108.079 16.442 108.24 16.1969 108.3 15.8961C108.315 15.8285 108.323 15.7464 108.323 15.6523Z", fill: "white" }),
|
|
13394
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M117.713 17.7988H116.473L116.408 16.7958H116.369C115.973 17.559 115.299 17.9406 114.351 17.9406C113.593 17.9406 112.963 17.6451 112.463 17.0541C111.963 16.4632 111.713 15.696 111.713 14.7539C111.713 13.743 111.984 12.9241 112.528 12.2987C113.055 11.7157 113.7 11.4242 114.468 11.4242C115.312 11.4242 115.903 11.7064 116.239 12.2722H116.265V8.68677H117.664V16.116C117.664 16.7242 117.68 17.2847 117.713 17.7988ZM116.265 15.1647V14.1232C116.265 13.943 116.252 13.7973 116.227 13.686C116.148 13.3521 115.979 13.0712 115.721 12.8446C115.461 12.618 115.148 12.5041 114.787 12.5041C114.265 12.5041 113.857 12.7095 113.557 13.1215C113.26 13.5336 113.109 14.0596 113.109 14.7023C113.109 15.3197 113.252 15.8206 113.539 16.2061C113.841 16.6169 114.249 16.8223 114.76 16.8223C115.219 16.8223 115.585 16.6513 115.864 16.3082C116.133 15.9915 116.265 15.6099 116.265 15.1647Z", fill: "white" }),
|
|
13395
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M129.664 14.6241C129.664 15.5847 129.388 16.3718 128.836 16.9892C128.257 17.6239 127.492 17.9406 126.533 17.9406C125.612 17.9406 124.877 17.6371 124.328 17.0276C123.781 16.4195 123.508 15.6523 123.508 14.7274C123.508 13.7602 123.789 12.9665 124.355 12.3504C124.92 11.7343 125.68 11.4255 126.639 11.4255C127.56 11.4255 128.303 11.729 128.863 12.3371C129.396 12.9281 129.664 13.6913 129.664 14.6241ZM128.216 14.6691C128.216 14.0928 128.091 13.5985 127.841 13.1865C127.547 12.6883 127.131 12.4392 126.587 12.4392C126.027 12.4392 125.6 12.6883 125.305 13.1865C125.055 13.5985 124.931 14.1007 124.931 14.6943C124.931 15.2707 125.056 15.7649 125.305 16.177C125.608 16.6752 126.029 16.9243 126.573 16.9243C127.107 16.9243 127.527 16.6712 127.828 16.1637C128.085 15.7437 128.216 15.2455 128.216 14.6691Z", fill: "white" }),
|
|
13396
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M137.177 17.7989H135.781V14.2214C135.781 13.119 135.36 12.5678 134.513 12.5678C134.099 12.5678 133.764 12.7188 133.505 13.0222C133.247 13.3257 133.117 13.6834 133.117 14.0928V17.7975H131.719V13.3376C131.719 12.789 131.703 12.1941 131.669 11.5502H132.896L132.961 12.5267H133C133.164 12.2233 133.407 11.9728 133.724 11.7728C134.104 11.5396 134.527 11.4216 134.992 11.4216C135.577 11.4216 136.065 11.6098 136.453 11.9874C136.937 12.4498 137.177 13.1402 137.177 14.0571V17.7989Z", fill: "white" }),
|
|
13397
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M146.581 12.593H145.043V15.6272C145.043 16.3984 145.316 16.784 145.857 16.784C146.108 16.784 146.316 16.7628 146.48 16.719L146.516 17.7724C146.24 17.8758 145.877 17.9274 145.431 17.9274C144.879 17.9274 144.449 17.7605 144.139 17.4266C143.827 17.0927 143.672 16.5309 143.672 15.7425V12.593H142.753V11.5529H143.672V10.4081L145.041 9.99731V11.5515H146.58L146.581 12.593Z", fill: "white" }),
|
|
13398
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M153.979 17.7988H152.58V14.2478C152.58 13.1282 152.159 12.5677 151.315 12.5677C150.667 12.5677 150.224 12.8923 149.981 13.5416C149.94 13.678 149.916 13.845 149.916 14.0411V17.7975H148.52V8.68677H149.916V12.4511H149.943C150.383 11.7661 151.013 11.4242 151.831 11.4242C152.409 11.4242 152.888 11.6124 153.268 11.99C153.741 12.4604 153.979 13.16 153.979 14.0848V17.7988Z", fill: "white" }),
|
|
13399
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M161.609 14.3802C161.609 14.6293 161.591 14.8387 161.557 15.0096H157.367C157.385 15.6271 157.585 16.0974 157.973 16.4234C158.328 16.7149 158.785 16.8606 159.345 16.8606C159.965 16.8606 160.531 16.7626 161.04 16.5652L161.259 17.5298C160.663 17.7868 159.961 17.9153 159.149 17.9153C158.176 17.9153 157.409 17.6305 156.855 17.0607C156.297 16.491 156.021 15.7264 156.021 14.7671C156.021 13.8251 156.279 13.0407 156.797 12.4153C157.339 11.7475 158.071 11.4136 158.995 11.4136C159.899 11.4136 160.585 11.7475 161.049 12.4153C161.424 12.9453 161.609 13.6011 161.609 14.3802ZM160.276 14.0212C160.287 13.6091 160.195 13.254 160.005 12.9545C159.763 12.569 159.393 12.3755 158.893 12.3755C158.437 12.3755 158.065 12.5637 157.781 12.9413C157.549 13.2421 157.412 13.6011 157.367 14.0212H160.276Z", fill: "white" })
|
|
13377
13400
|
] }),
|
|
13378
|
-
/* @__PURE__ */ (0,
|
|
13401
|
+
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("clipPath", { id: "clip0_5955_114", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("rect", { width: "180", height: "53", fill: "white" }) }) })
|
|
13379
13402
|
]
|
|
13380
13403
|
}
|
|
13381
13404
|
) })
|
|
@@ -13387,7 +13410,7 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
13387
13410
|
};
|
|
13388
13411
|
|
|
13389
13412
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
13390
|
-
var
|
|
13413
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
13391
13414
|
var HeroImageRightWithAppButtons = (props) => {
|
|
13392
13415
|
const [description, setDescription] = (0, import_react77.useState)(props.description);
|
|
13393
13416
|
(0, import_react77.useEffect)(() => {
|
|
@@ -13397,8 +13420,8 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
13397
13420
|
setDescription(desc);
|
|
13398
13421
|
}
|
|
13399
13422
|
}, [props.description]);
|
|
13400
|
-
return /* @__PURE__ */ (0,
|
|
13401
|
-
/* @__PURE__ */ (0,
|
|
13423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "lg:mt-10", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsxs)("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
|
|
13424
|
+
/* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "flex flex-col w-[50%] max-md:ml-0 max-md:w-full lg:pr-5", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "flex flex-col self-stretch lg:pr-5 my-auto max-md:max-w-full", children: props.title && props.description && /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
13402
13425
|
H1BodyButtonWithApp,
|
|
13403
13426
|
{
|
|
13404
13427
|
title: props.title,
|
|
@@ -13408,7 +13431,7 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
13408
13431
|
apple_store_link: props.app_store_link
|
|
13409
13432
|
}
|
|
13410
13433
|
) }) }),
|
|
13411
|
-
/* @__PURE__ */ (0,
|
|
13434
|
+
/* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "flex flex-col ml-5 w-[50%] max-md:ml-0 max-md:w-full", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("div", { className: "flex overflow-hidden relative min-h-[430px] flex-col grow justify-center lg:min-h-[784px] max-md:mt-6 max-md:max-w-full", children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
13412
13435
|
ImageElement,
|
|
13413
13436
|
{
|
|
13414
13437
|
src: props.path,
|
|
@@ -13419,16 +13442,16 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
13419
13442
|
};
|
|
13420
13443
|
|
|
13421
13444
|
// src/components/Panel/Horizontal.tsx
|
|
13422
|
-
var
|
|
13445
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
13423
13446
|
var PanelHorizontal = ({
|
|
13424
13447
|
children
|
|
13425
13448
|
}) => {
|
|
13426
|
-
return /* @__PURE__ */ (0,
|
|
13449
|
+
return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { className: "panel-horizontal", children });
|
|
13427
13450
|
};
|
|
13428
13451
|
|
|
13429
13452
|
// src/components/HeadingTextBlocks/H2BodyButton.tsx
|
|
13430
|
-
var
|
|
13431
|
-
var
|
|
13453
|
+
var import_core8 = require("@geowiki/core");
|
|
13454
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
13432
13455
|
var H2BodyButton = (props) => {
|
|
13433
13456
|
var _a;
|
|
13434
13457
|
const isNeedParse = /<em>(.*?)<\/em>/g.test(props.title);
|
|
@@ -13438,43 +13461,43 @@ var H2BodyButton = (props) => {
|
|
|
13438
13461
|
const modifiedText = content.replace(regex, `$1${textToAdd}`);
|
|
13439
13462
|
return modifiedText;
|
|
13440
13463
|
};
|
|
13441
|
-
return /* @__PURE__ */ (0,
|
|
13464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)(
|
|
13442
13465
|
"div",
|
|
13443
13466
|
{
|
|
13444
13467
|
id: props.id,
|
|
13445
13468
|
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}`}`,
|
|
13446
13469
|
children: [
|
|
13447
|
-
/* @__PURE__ */ (0,
|
|
13448
|
-
/* @__PURE__ */ (0,
|
|
13449
|
-
isNeedParse && /* @__PURE__ */ (0,
|
|
13470
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "flex flex-col lg:w-[14%]", children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(Body18, { children: props.tag }) }),
|
|
13471
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { className: "flex flex-col lg:w-[51%] space-y-4 lg:space-y-6", children: [
|
|
13472
|
+
isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
13450
13473
|
HtmlView,
|
|
13451
13474
|
{
|
|
13452
13475
|
cssClass: "m-0 pt-2 lg:pt-0",
|
|
13453
13476
|
html: parseTitle(props.title, "H2")
|
|
13454
13477
|
}
|
|
13455
13478
|
),
|
|
13456
|
-
!isNeedParse && /* @__PURE__ */ (0,
|
|
13479
|
+
!isNeedParse && /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)(H2Design, { className: "pt-2 lg:pt-0", children: [
|
|
13457
13480
|
props.title,
|
|
13458
13481
|
" "
|
|
13459
13482
|
] }),
|
|
13460
|
-
/* @__PURE__ */ (0,
|
|
13483
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
13461
13484
|
HtmlView,
|
|
13462
13485
|
{
|
|
13463
13486
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] lg:mt-4",
|
|
13464
13487
|
html: addLinksStyles(props.textBody)
|
|
13465
13488
|
}
|
|
13466
13489
|
),
|
|
13467
|
-
((_a = props.button) == null ? void 0 : _a.text) && props.button.link && /* @__PURE__ */ (0,
|
|
13468
|
-
|
|
13490
|
+
((_a = props.button) == null ? void 0 : _a.text) && props.button.link && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
13491
|
+
import_core8.Link,
|
|
13469
13492
|
{
|
|
13470
13493
|
href: props.button.link,
|
|
13471
13494
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
13472
13495
|
rel: "noreferrer",
|
|
13473
|
-
children: /* @__PURE__ */ (0,
|
|
13496
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(DesignButton, { children: props.button.text })
|
|
13474
13497
|
}
|
|
13475
13498
|
) })
|
|
13476
13499
|
] }),
|
|
13477
|
-
/* @__PURE__ */ (0,
|
|
13500
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "hidden lg:w-[15%] lg:inline" })
|
|
13478
13501
|
]
|
|
13479
13502
|
}
|
|
13480
13503
|
);
|
|
@@ -13728,6 +13751,7 @@ var H2BodyButton = (props) => {
|
|
|
13728
13751
|
NavigationMenuTrigger,
|
|
13729
13752
|
NavigationMenuViewport,
|
|
13730
13753
|
NoResults,
|
|
13754
|
+
Notification,
|
|
13731
13755
|
ObservationPin,
|
|
13732
13756
|
OldButton,
|
|
13733
13757
|
OldCustomInput,
|
|
@@ -13744,6 +13768,7 @@ var H2BodyButton = (props) => {
|
|
|
13744
13768
|
Progress,
|
|
13745
13769
|
RadioGroup,
|
|
13746
13770
|
RadioGroupItem,
|
|
13771
|
+
ResourceTag,
|
|
13747
13772
|
ResourcesIcon,
|
|
13748
13773
|
ResourcesQuickFind,
|
|
13749
13774
|
ScrollArea,
|
|
@@ -13771,6 +13796,7 @@ var H2BodyButton = (props) => {
|
|
|
13771
13796
|
SheetTrigger,
|
|
13772
13797
|
ShowLargeText,
|
|
13773
13798
|
ShowShortText,
|
|
13799
|
+
SimpleLink,
|
|
13774
13800
|
SizedImage,
|
|
13775
13801
|
Skeleton,
|
|
13776
13802
|
Slider,
|