highsoft-ui 1.0.133 → 1.0.134
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/{Button-BWe-hGo0.js → Button-K3WlRB7Q.js} +2 -2
- package/dist/{ButtonGroup-CXgj-MxA.js → ButtonGroup-Di8R8XMS.js} +2 -2
- package/dist/{Checkbox-Dgs_Bq30.js → Checkbox-Yg8sUFcu.js} +2 -2
- package/dist/{Container-mH6tG_kR.js → Container--5g4TI1z.js} +1 -1
- package/dist/{CookiePolicyModal-loN0LAaO.js → CookiePolicyModal-BDtX6aXU.js} +6 -6
- package/dist/{CopyCode-D6zuZ3nb.js → CopyCode-CPC5QPAz.js} +4 -4
- package/dist/{DiscordInvite-CR7g5hay.js → DiscordInvite-CLYxexdH.js} +2 -2
- package/dist/Dropdown-CMR98u7M.js +821 -0
- package/dist/{Footer-CLBv8yI9.js → Footer-DJ2xOs6M.js} +11 -11
- package/dist/{FooterBottom-BuUj1R5w.js → FooterBottom-BSII1GXN.js} +4 -4
- package/dist/{FooterHelp-aae_c9D0.js → FooterHelp-D14IrxvA.js} +5 -5
- package/dist/{FooterLinks-CMoTnXpW.js → FooterLinks-_OSgp8_1.js} +5 -5
- package/dist/{GPTInput-Cgu6_F53.js → GPTInput-C0YG1990.js} +1 -1
- package/dist/{Header-DjRIOI5-.js → Header-CB4t3RmW.js} +10 -10
- package/dist/{Heading-DvLlRFvQ.js → Heading-pg3St8MI.js} +1 -1
- package/dist/{Icon-Dwo9ZDNX.js → Icon-VeXJMj8Q.js} +1 -1
- package/dist/{InputGrouped-qenKO8Jl.js → InputGrouped-ENTLSUR_.js} +3 -3
- package/dist/{InputSolo-DOZp13Mv.js → InputSolo-BUg1ip7e.js} +1 -1
- package/dist/{Label-DkJ9JjU6.js → Label-gTAMwE0j.js} +2 -2
- package/dist/{Logo-BRXxiQk8.js → Logo-DTfFHBgU.js} +1 -1
- package/dist/{NewsletterSignup-CQ16wS4l.js → NewsletterSignup-hFZm8H5q.js} +9 -9
- package/dist/{Notification-BDC_8mYw.js → Notification-DcC9pjzU.js} +5 -5
- package/dist/{PrefPanel-Cf-9oKfS.js → PrefPanel-pFTxxuQW.js} +54 -53
- package/dist/{ProductIcon-DjgAODwc.js → ProductIcon-DFLAYWbu.js} +1 -1
- package/dist/{RadioBox-B9rLrNTK.js → RadioBox-o1Ssyj0s.js} +1 -1
- package/dist/{RoadmapDetails-8I0H8cJO.js → RoadmapDetails-Cv-T7-lm.js} +4 -4
- package/dist/{Search-BvuVKy00.js → Search-DwY5daIl.js} +1039 -943
- package/dist/{Tabs-DanjfIHP.js → Tabs-BEpADhmv.js} +2 -2
- package/dist/{Typography-Dw2_XzMu.js → Typography-CJ7GcPcE.js} +1 -1
- package/dist/{YoutubeModal-CcsPAJj8.js → YoutubeModal-CiBt7a4G.js} +7 -7
- package/dist/components/Box/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Container/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/DiscordInvite/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/GPTInput/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/Heading/index.js +1 -1
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/InputSolo/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Link/index.js +1 -1
- package/dist/components/Logo/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +4 -4
- package/dist/components/Modal/index.js +5 -5
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/ProductIcon/icons/grayscale/index.js +1 -1
- package/dist/components/ProductIcon/icons/line/index.js +1 -1
- package/dist/components/ProductIcon/icons/monochrome/index.js +1 -1
- package/dist/components/ProductIcon/icons/multi/index.js +1 -1
- package/dist/components/ProductIcon/index.js +1 -1
- package/dist/components/RadioBox/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/{dist-MBZ50zVE.js → dist-B04QoImH.js} +60 -45
- package/dist/{dist-BMBUb7XY.js → dist-CE9LFbij.js} +71 -72
- package/dist/{dist-SfVqm611.js → dist-J9cXmrDi.js} +1 -1
- package/dist/dist-f0z6DapB.js +185 -0
- package/dist/{es2015-CJyFgdNb.js → es2015-DWa0ZZ7A.js} +395 -337
- package/dist/{esm-CH52zwuf.js → esm-Co_Guu6S.js} +89 -89
- package/dist/{fa-Ci5IATkb.js → fa-B95RwBpz.js} +6 -6
- package/dist/lib/components/ButtonGroup/index.d.ts +1 -1
- package/dist/lib/components/Checkbox/index.d.ts +2 -2
- package/dist/lib/components/DiscordInvite/index.d.ts +1 -1
- package/dist/lib/components/Dropdown/index.d.ts +3 -3
- package/dist/lib/components/Footer/CookiePolicyModal.d.ts +1 -1
- package/dist/lib/components/Footer/FooterBottom.d.ts +1 -1
- package/dist/lib/components/Footer/FooterHelp.d.ts +1 -1
- package/dist/lib/components/Footer/FooterLinks.d.ts +1 -1
- package/dist/lib/components/Footer/YoutubeModal.d.ts +1 -1
- package/dist/lib/components/Footer/index.d.ts +1 -1
- package/dist/lib/components/GPTInput/index.d.ts +2 -2
- package/dist/lib/components/Header/index.d.ts +2 -2
- package/dist/lib/components/Icon/index.d.ts +1 -1
- package/dist/lib/components/InputGrouped/index.d.ts +1 -1
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/Link/index.d.ts +1 -1
- package/dist/lib/components/Logo/index.d.ts +1 -1
- package/dist/lib/components/Modal/ModalContactFooter.d.ts +1 -1
- package/dist/lib/components/Modal/index.d.ts +1 -1
- package/dist/lib/components/NewsletterSignup/index.d.ts +1 -1
- package/dist/lib/components/Notification/index.d.ts +1 -1
- package/dist/lib/components/PrefPanel/index.d.ts +2 -2
- package/dist/lib/components/ProductIcon/icons/grayscale/Accessibility.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Advantageplus.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Api.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/CaseStudies.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Changelog.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/ChartChooser.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Core.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/CustomProjects.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Dashboards.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Demos.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Docs.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Editor.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/EduLicense.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/ExportServer.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Gantt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Gpt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Grid.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Hca.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Lab.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/License.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Maps.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Python.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Roadmap.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Stock.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/grayscale/Support.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Accessibility.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Advantageplus.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Api.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/CaseStudies.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Changelog.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/ChartChooser.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Core.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/CustomProjects.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Dashboards.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Demos.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Docs.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Editor.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/EduLicense.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/ExportServer.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Gantt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Gpt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Grid.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Hca.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Lab.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/License.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Maps.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Python.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Roadmap.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Stock.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/line/Support.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Accessibility.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Advantageplus.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Api.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/CaseStudies.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Changelog.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/ChartChooser.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Core.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/CustomProjects.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Dashboards.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Demos.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Docs.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Editor.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/EduLicense.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/ExportServer.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Gantt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Gpt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Grid.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Hca.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Lab.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/License.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Maps.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Python.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Roadmap.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Stock.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/monochrome/Support.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Accessibility.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Advantageplus.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Api.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/CaseStudies.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Changelog.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/ChartChooser.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Core.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/CustomProjects.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Dashboards.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Demos.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Docs.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Editor.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/EduLicense.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/ExportServer.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Gantt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Gpt.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Grid.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Hca.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Lab.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/License.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Maps.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Python.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Roadmap.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Stock.d.ts +1 -1
- package/dist/lib/components/ProductIcon/icons/multi/Support.d.ts +1 -1
- package/dist/lib/components/ProductIcon/index.d.ts +1 -1
- package/dist/lib/components/RadioBox/index.d.ts +2 -2
- package/dist/lib/components/RoadmapDetails/index.d.ts +1 -1
- package/dist/lib/components/Search/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/ThemeLoader/index.d.ts +1 -1
- package/dist/lib/components/icons/Bubble.d.ts +1 -1
- package/dist/lib/components/icons/MadeInNorway.d.ts +1 -1
- package/dist/lib/components/icons/Plane.d.ts +1 -1
- package/dist/main.js +27 -27
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/Dropdown-fBTRMHW7.js +0 -817
- package/dist/dist-9h8Pur86.js +0 -211
- /package/dist/{Box-Bi-n_ZxQ.js → Box-BZgeSeCV.js} +0 -0
- /package/dist/{Link-DGMiLJES.js → Link-CYR92_U0.js} +0 -0
- /package/dist/{chunk-foFoljWS.js → chunk-jwUa06l-.js} +0 -0
- /package/dist/{clsx-D7D_XZ_-.js → clsx-BWCAbrjV.js} +0 -0
- /package/dist/{styles.module-BZplfYRW.js → styles.module-BDcr8Smc.js} +0 -0
- /package/dist/{utils-BCI5dixg.js → utils-K9S_6_Eq.js} +0 -0
|
@@ -2,68 +2,59 @@ import * as e from "react";
|
|
|
2
2
|
import { useState as t } from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "react-dom";
|
|
5
|
-
import i from "react-dom";
|
|
6
5
|
//#region node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
7
|
-
function
|
|
6
|
+
function i(e, t) {
|
|
8
7
|
if (typeof e == "function") return e(t);
|
|
9
8
|
e != null && (e.current = t);
|
|
10
9
|
}
|
|
11
|
-
function
|
|
10
|
+
function a(...e) {
|
|
12
11
|
return (t) => {
|
|
13
12
|
let n = !1, r = e.map((e) => {
|
|
14
|
-
let r =
|
|
13
|
+
let r = i(e, t);
|
|
15
14
|
return !n && typeof r == "function" && (n = !0), r;
|
|
16
15
|
});
|
|
17
16
|
if (n) return () => {
|
|
18
17
|
for (let t = 0; t < r.length; t++) {
|
|
19
18
|
let n = r[t];
|
|
20
|
-
typeof n == "function" ? n() :
|
|
19
|
+
typeof n == "function" ? n() : i(e[t], null);
|
|
21
20
|
}
|
|
22
21
|
};
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
|
-
function
|
|
26
|
-
return e.useCallback(
|
|
24
|
+
function o(...t) {
|
|
25
|
+
return e.useCallback(a(...t), t);
|
|
27
26
|
}
|
|
28
27
|
//#endregion
|
|
29
28
|
//#region node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
30
|
-
|
|
31
|
-
function
|
|
32
|
-
let
|
|
33
|
-
let { children:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
children: a
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
return i.displayName = `${t}.Slot`, i;
|
|
49
|
-
}
|
|
50
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
51
|
-
function l(t) {
|
|
52
|
-
let n = e.forwardRef((t, n) => {
|
|
53
|
-
let { children: r, ...i } = t;
|
|
54
|
-
if (e.isValidElement(r)) {
|
|
55
|
-
let t = p(r), a = f(i, r.props);
|
|
56
|
-
return r.type !== e.Fragment && (a.ref = n ? o(n, t) : t), e.cloneElement(r, a);
|
|
29
|
+
// @__NO_SIDE_EFFECTS__
|
|
30
|
+
function s(t) {
|
|
31
|
+
let n = e.forwardRef((n, r) => {
|
|
32
|
+
let { children: i, ...a } = n, s = null, c = !1, p = [];
|
|
33
|
+
m(i) && typeof v == "function" && (i = v(i._payload)), e.Children.forEach(i, (e) => {
|
|
34
|
+
if (f(e)) {
|
|
35
|
+
c = !0;
|
|
36
|
+
let t = e, n = "child" in t.props ? t.props.child : t.props.children;
|
|
37
|
+
m(n) && typeof v == "function" && (n = v(n._payload)), s = l(t, n), p.push(s?.props?.children);
|
|
38
|
+
} else p.push(e);
|
|
39
|
+
}), s ? s = e.cloneElement(s, void 0, p) : !c && e.Children.count(i) === 1 && e.isValidElement(i) && (s = i);
|
|
40
|
+
let h = s ? d(s) : void 0, y = o(r, h);
|
|
41
|
+
if (!s) {
|
|
42
|
+
if (i || i === 0) throw Error(c ? _(t) : g(t));
|
|
43
|
+
return i;
|
|
57
44
|
}
|
|
58
|
-
|
|
45
|
+
let b = u(a, s.props ?? {});
|
|
46
|
+
return s.type !== e.Fragment && (b.ref = r ? y : h), e.cloneElement(s, b);
|
|
59
47
|
});
|
|
60
|
-
return n.displayName = `${t}.
|
|
61
|
-
}
|
|
62
|
-
var u = Symbol("radix.slottable");
|
|
63
|
-
function d(t) {
|
|
64
|
-
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === u;
|
|
48
|
+
return n.displayName = `${t}.Slot`, n;
|
|
65
49
|
}
|
|
66
|
-
|
|
50
|
+
var c = Symbol.for("radix.slottable"), l = (t, n) => {
|
|
51
|
+
if ("child" in t.props) {
|
|
52
|
+
let n = t.props.child;
|
|
53
|
+
return e.isValidElement(n) ? e.cloneElement(n, void 0, t.props.children(n.props.children)) : null;
|
|
54
|
+
}
|
|
55
|
+
return e.isValidElement(n) ? n : null;
|
|
56
|
+
};
|
|
57
|
+
function u(e, t) {
|
|
67
58
|
let n = { ...t };
|
|
68
59
|
for (let r in t) {
|
|
69
60
|
let i = e[r], a = t[r];
|
|
@@ -80,13 +71,21 @@ function f(e, t) {
|
|
|
80
71
|
...n
|
|
81
72
|
};
|
|
82
73
|
}
|
|
83
|
-
function
|
|
74
|
+
function d(e) {
|
|
84
75
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
85
76
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
86
77
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
78
|
+
function f(t) {
|
|
79
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === c;
|
|
80
|
+
}
|
|
81
|
+
var p = Symbol.for("react.lazy");
|
|
82
|
+
function m(e) {
|
|
83
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === p && "_payload" in e && h(e._payload);
|
|
84
|
+
}
|
|
85
|
+
function h(e) {
|
|
86
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
87
|
+
}
|
|
88
|
+
var g = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, _ = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, v = e.use, y = [
|
|
90
89
|
"a",
|
|
91
90
|
"button",
|
|
92
91
|
"div",
|
|
@@ -105,7 +104,7 @@ var m = [
|
|
|
105
104
|
"svg",
|
|
106
105
|
"ul"
|
|
107
106
|
].reduce((t, r) => {
|
|
108
|
-
let i = /* @__PURE__ */
|
|
107
|
+
let i = /* @__PURE__ */ s(`Primitive.${r}`), a = e.forwardRef((e, t) => {
|
|
109
108
|
let { asChild: a, ...o } = e, s = a ? i : r;
|
|
110
109
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, {
|
|
111
110
|
...o,
|
|
@@ -117,32 +116,17 @@ var m = [
|
|
|
117
116
|
[r]: a
|
|
118
117
|
};
|
|
119
118
|
}, {});
|
|
120
|
-
function
|
|
119
|
+
function b(e, t) {
|
|
121
120
|
e && r.flushSync(() => e.dispatchEvent(t));
|
|
122
121
|
}
|
|
123
122
|
//#endregion
|
|
124
123
|
//#region node_modules/@radix-ui/react-context/dist/index.mjs
|
|
125
|
-
function
|
|
126
|
-
let i = e.createContext(r), a = (t) => {
|
|
127
|
-
let { children: r, ...a } = t, o = e.useMemo(() => a, Object.values(a));
|
|
128
|
-
return /* @__PURE__ */ n(i.Provider, {
|
|
129
|
-
value: o,
|
|
130
|
-
children: r
|
|
131
|
-
});
|
|
132
|
-
};
|
|
133
|
-
a.displayName = t + "Provider";
|
|
134
|
-
function o(n) {
|
|
135
|
-
let a = e.useContext(i);
|
|
136
|
-
if (a) return a;
|
|
137
|
-
if (r !== void 0) return r;
|
|
138
|
-
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
139
|
-
}
|
|
140
|
-
return [a, o];
|
|
141
|
-
}
|
|
142
|
-
function _(t, r = []) {
|
|
124
|
+
function x(t, r = []) {
|
|
143
125
|
let i = [];
|
|
144
126
|
function a(r, a) {
|
|
145
|
-
let o = e.createContext(a)
|
|
127
|
+
let o = e.createContext(a);
|
|
128
|
+
o.displayName = r + "Context";
|
|
129
|
+
let s = i.length;
|
|
146
130
|
i = [...i, a];
|
|
147
131
|
let c = (r) => {
|
|
148
132
|
let { scope: i, children: a, ...c } = r, l = i?.[t]?.[s] || o, u = e.useMemo(() => c, Object.values(c));
|
|
@@ -170,9 +154,9 @@ function _(t, r = []) {
|
|
|
170
154
|
} }), [r, i]);
|
|
171
155
|
};
|
|
172
156
|
};
|
|
173
|
-
return o.scopeName = t, [a,
|
|
157
|
+
return o.scopeName = t, [a, S(o, ...r)];
|
|
174
158
|
}
|
|
175
|
-
function
|
|
159
|
+
function S(...t) {
|
|
176
160
|
let n = t[0];
|
|
177
161
|
if (t.length === 1) return n;
|
|
178
162
|
let r = () => {
|
|
@@ -194,16 +178,16 @@ function v(...t) {
|
|
|
194
178
|
return r.scopeName = n.scopeName, r;
|
|
195
179
|
}
|
|
196
180
|
typeof window < "u" && window.document && window.document.createElement;
|
|
197
|
-
function
|
|
181
|
+
function C(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
198
182
|
return function(r) {
|
|
199
183
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
200
184
|
};
|
|
201
185
|
}
|
|
202
186
|
//#endregion
|
|
203
187
|
//#region node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
204
|
-
var
|
|
205
|
-
function
|
|
206
|
-
let [a, o, s] =
|
|
188
|
+
var w = globalThis?.document ? e.useLayoutEffect : () => {}, ee = e.useInsertionEffect || w;
|
|
189
|
+
function T({ prop: t, defaultProp: n, onChange: r = () => {}, caller: i }) {
|
|
190
|
+
let [a, o, s] = E({
|
|
207
191
|
defaultProp: n,
|
|
208
192
|
onChange: r
|
|
209
193
|
}), c = t !== void 0, l = c ? t : a;
|
|
@@ -216,7 +200,7 @@ function S({ prop: t, defaultProp: n, onChange: r = () => {}, caller: i }) {
|
|
|
216
200
|
}
|
|
217
201
|
return [l, e.useCallback((e) => {
|
|
218
202
|
if (c) {
|
|
219
|
-
let n =
|
|
203
|
+
let n = te(e) ? e(t) : e;
|
|
220
204
|
n !== t && s.current?.(n);
|
|
221
205
|
} else o(e);
|
|
222
206
|
}, [
|
|
@@ -226,9 +210,9 @@ function S({ prop: t, defaultProp: n, onChange: r = () => {}, caller: i }) {
|
|
|
226
210
|
s
|
|
227
211
|
])];
|
|
228
212
|
}
|
|
229
|
-
function
|
|
213
|
+
function E({ defaultProp: t, onChange: n }) {
|
|
230
214
|
let [r, i] = e.useState(t), a = e.useRef(r), o = e.useRef(n);
|
|
231
|
-
return
|
|
215
|
+
return ee(() => {
|
|
232
216
|
o.current = n;
|
|
233
217
|
}, [n]), e.useEffect(() => {
|
|
234
218
|
a.current !== r && (o.current?.(r), a.current = r);
|
|
@@ -238,21 +222,21 @@ function C({ defaultProp: t, onChange: n }) {
|
|
|
238
222
|
o
|
|
239
223
|
];
|
|
240
224
|
}
|
|
241
|
-
function
|
|
225
|
+
function te(e) {
|
|
242
226
|
return typeof e == "function";
|
|
243
227
|
}
|
|
244
228
|
//#endregion
|
|
245
229
|
//#region node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
246
|
-
function
|
|
230
|
+
function D(t, n) {
|
|
247
231
|
return e.useReducer((e, t) => n[e][t] ?? e, t);
|
|
248
232
|
}
|
|
249
|
-
var
|
|
250
|
-
let { present: n, children: r } = t, i =
|
|
233
|
+
var ne = (t) => {
|
|
234
|
+
let { present: n, children: r } = t, i = re(n), a = typeof r == "function" ? r({ present: i.isPresent }) : e.Children.only(r), o = ae(i.ref, oe(a));
|
|
251
235
|
return typeof r == "function" || i.isPresent ? e.cloneElement(a, { ref: o }) : null;
|
|
252
236
|
};
|
|
253
|
-
|
|
254
|
-
function
|
|
255
|
-
let [n, r] = e.useState(), i = e.useRef(null), a = e.useRef(t), o = e.useRef("none"), [s, c] =
|
|
237
|
+
ne.displayName = "Presence";
|
|
238
|
+
function re(t) {
|
|
239
|
+
let [n, r] = e.useState(), i = e.useRef(null), a = e.useRef(t), o = e.useRef("none"), [s, c] = D(t ? "mounted" : "unmounted", {
|
|
256
240
|
mounted: {
|
|
257
241
|
UNMOUNT: "unmounted",
|
|
258
242
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -266,13 +250,13 @@ function D(t) {
|
|
|
266
250
|
return e.useEffect(() => {
|
|
267
251
|
let e = O(i.current);
|
|
268
252
|
o.current = s === "mounted" ? e : "none";
|
|
269
|
-
}, [s]),
|
|
253
|
+
}, [s]), w(() => {
|
|
270
254
|
let e = i.current, n = a.current;
|
|
271
255
|
if (n !== t) {
|
|
272
256
|
let r = o.current, i = O(e);
|
|
273
257
|
t ? c("MOUNT") : i === "none" || e?.display === "none" ? c("UNMOUNT") : c(n && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
|
|
274
258
|
}
|
|
275
|
-
}, [t, c]),
|
|
259
|
+
}, [t, c]), w(() => {
|
|
276
260
|
if (n) {
|
|
277
261
|
let e, t = n.ownerDocument.defaultView ?? window, r = (r) => {
|
|
278
262
|
let o = O(i.current).includes(CSS.escape(r.animationName));
|
|
@@ -296,20 +280,39 @@ function D(t) {
|
|
|
296
280
|
}, [])
|
|
297
281
|
};
|
|
298
282
|
}
|
|
283
|
+
function ie(e, t) {
|
|
284
|
+
if (typeof e == "function") return e(t);
|
|
285
|
+
e != null && (e.current = t);
|
|
286
|
+
}
|
|
287
|
+
function ae(...t) {
|
|
288
|
+
let n = e.useRef(t);
|
|
289
|
+
return n.current = t, e.useCallback((e) => {
|
|
290
|
+
let t = n.current, r = !1, i = t.map((t) => {
|
|
291
|
+
let n = ie(t, e);
|
|
292
|
+
return !r && typeof n == "function" && (r = !0), n;
|
|
293
|
+
});
|
|
294
|
+
if (r) return () => {
|
|
295
|
+
for (let e = 0; e < i.length; e++) {
|
|
296
|
+
let n = i[e];
|
|
297
|
+
typeof n == "function" ? n() : ie(t[e], null);
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
}, []);
|
|
301
|
+
}
|
|
299
302
|
function O(e) {
|
|
300
303
|
return e?.animationName || "none";
|
|
301
304
|
}
|
|
302
|
-
function
|
|
305
|
+
function oe(e) {
|
|
303
306
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
304
307
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
305
308
|
}
|
|
306
309
|
//#endregion
|
|
307
310
|
//#region node_modules/@radix-ui/react-id/dist/index.mjs
|
|
308
|
-
var
|
|
309
|
-
function
|
|
310
|
-
let [n, r] = e.useState(
|
|
311
|
-
return
|
|
312
|
-
t || r((e) => e ?? String(
|
|
311
|
+
var se = e.useId || (() => void 0), ce = 0;
|
|
312
|
+
function le(t) {
|
|
313
|
+
let [n, r] = e.useState(se());
|
|
314
|
+
return w(() => {
|
|
315
|
+
t || r((e) => e ?? String(ce++));
|
|
313
316
|
}, [t]), t || (n ? `radix-${n}` : "");
|
|
314
317
|
}
|
|
315
318
|
//#endregion
|
|
@@ -318,11 +321,11 @@ function k(t) {
|
|
|
318
321
|
let n = e.useRef(t);
|
|
319
322
|
return e.useEffect(() => {
|
|
320
323
|
n.current = t;
|
|
321
|
-
}), e.useMemo(() => (...e) => n.current?.(...e), []);
|
|
324
|
+
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
322
325
|
}
|
|
323
326
|
//#endregion
|
|
324
327
|
//#region node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
325
|
-
function
|
|
328
|
+
function ue(t, n = globalThis?.document) {
|
|
326
329
|
let r = k(t);
|
|
327
330
|
e.useEffect(() => {
|
|
328
331
|
let e = (e) => {
|
|
@@ -333,84 +336,135 @@ function ie(t, n = globalThis?.document) {
|
|
|
333
336
|
}
|
|
334
337
|
//#endregion
|
|
335
338
|
//#region node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
336
|
-
var
|
|
339
|
+
var de = "DismissableLayer", A = "dismissableLayer.update", fe = "dismissableLayer.pointerDownOutside", pe = "dismissableLayer.focusOutside", me, j = e.createContext({
|
|
337
340
|
layers: /* @__PURE__ */ new Set(),
|
|
338
341
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
339
|
-
branches: /* @__PURE__ */ new Set()
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
branches: /* @__PURE__ */ new Set(),
|
|
343
|
+
dismissableSurfaces: /* @__PURE__ */ new Set()
|
|
344
|
+
}), he = e.forwardRef((t, r) => {
|
|
345
|
+
let { disableOutsidePointerEvents: i = !1, deferPointerDownOutside: a = !1, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, onDismiss: d, ...f } = t, p = e.useContext(j), [m, h] = e.useState(null), g = m?.ownerDocument ?? globalThis?.document, [, _] = e.useState({}), v = o(r, (e) => h(e)), b = Array.from(p.layers), [x] = [...p.layersWithOutsidePointerEventsDisabled].slice(-1), S = b.indexOf(x), w = m ? b.indexOf(m) : -1, ee = p.layersWithOutsidePointerEventsDisabled.size > 0, T = w >= S, E = e.useRef(!1), te = ye((e) => {
|
|
346
|
+
let t = e.target;
|
|
347
|
+
if (!(t instanceof Node)) return;
|
|
348
|
+
let n = [...p.branches].some((e) => e.contains(t));
|
|
349
|
+
!T || n || (c?.(e), u?.(e), e.defaultPrevented || d?.());
|
|
350
|
+
}, {
|
|
351
|
+
ownerDocument: g,
|
|
352
|
+
deferPointerDownOutside: a,
|
|
353
|
+
isDeferredPointerDownOutsideRef: E,
|
|
354
|
+
dismissableSurfaces: p.dismissableSurfaces
|
|
355
|
+
}), D = be((e) => {
|
|
356
|
+
if (a && E.current) return;
|
|
345
357
|
let t = e.target;
|
|
346
|
-
[...
|
|
358
|
+
[...p.branches].some((e) => e.contains(t)) || (l?.(e), u?.(e), e.defaultPrevented || d?.());
|
|
347
359
|
}, g);
|
|
348
|
-
return
|
|
349
|
-
|
|
360
|
+
return ue((e) => {
|
|
361
|
+
w === p.layers.size - 1 && (s?.(e), !e.defaultPrevented && d && (e.preventDefault(), d()));
|
|
350
362
|
}, g), e.useEffect(() => {
|
|
351
|
-
if (
|
|
352
|
-
i &&
|
|
363
|
+
if (m) return i && (p.layersWithOutsidePointerEventsDisabled.size === 0 && (me = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), p.layersWithOutsidePointerEventsDisabled.add(m)), p.layers.add(m), xe(), () => {
|
|
364
|
+
i && (p.layersWithOutsidePointerEventsDisabled.delete(m), p.layersWithOutsidePointerEventsDisabled.size === 0 && (g.body.style.pointerEvents = me));
|
|
353
365
|
};
|
|
354
366
|
}, [
|
|
355
|
-
|
|
367
|
+
m,
|
|
356
368
|
g,
|
|
357
369
|
i,
|
|
358
|
-
|
|
370
|
+
p
|
|
359
371
|
]), e.useEffect(() => () => {
|
|
360
|
-
|
|
361
|
-
}, [
|
|
372
|
+
m && (p.layers.delete(m), p.layersWithOutsidePointerEventsDisabled.delete(m), xe());
|
|
373
|
+
}, [m, p]), e.useEffect(() => {
|
|
362
374
|
let e = () => _({});
|
|
363
375
|
return document.addEventListener(A, e), () => document.removeEventListener(A, e);
|
|
364
|
-
}, []), /* @__PURE__ */ n(
|
|
365
|
-
...
|
|
376
|
+
}, []), /* @__PURE__ */ n(y.div, {
|
|
377
|
+
...f,
|
|
366
378
|
ref: v,
|
|
367
379
|
style: {
|
|
368
|
-
pointerEvents:
|
|
380
|
+
pointerEvents: ee ? T ? "auto" : "none" : void 0,
|
|
369
381
|
...t.style
|
|
370
382
|
},
|
|
371
|
-
onFocusCapture:
|
|
372
|
-
onBlurCapture:
|
|
373
|
-
onPointerDownCapture:
|
|
383
|
+
onFocusCapture: C(t.onFocusCapture, D.onFocusCapture),
|
|
384
|
+
onBlurCapture: C(t.onBlurCapture, D.onBlurCapture),
|
|
385
|
+
onPointerDownCapture: C(t.onPointerDownCapture, te.onPointerDownCapture)
|
|
374
386
|
});
|
|
375
387
|
});
|
|
376
|
-
|
|
377
|
-
var
|
|
378
|
-
let i = e.useContext(
|
|
388
|
+
he.displayName = de;
|
|
389
|
+
var ge = "DismissableLayerBranch", _e = e.forwardRef((t, r) => {
|
|
390
|
+
let i = e.useContext(j), a = e.useRef(null), s = o(r, a);
|
|
379
391
|
return e.useEffect(() => {
|
|
380
392
|
let e = a.current;
|
|
381
393
|
if (e) return i.branches.add(e), () => {
|
|
382
394
|
i.branches.delete(e);
|
|
383
395
|
};
|
|
384
|
-
}, [i.branches]), /* @__PURE__ */ n(
|
|
396
|
+
}, [i.branches]), /* @__PURE__ */ n(y.div, {
|
|
385
397
|
...t,
|
|
386
|
-
ref:
|
|
398
|
+
ref: s
|
|
387
399
|
});
|
|
388
400
|
});
|
|
389
|
-
|
|
390
|
-
function
|
|
391
|
-
let
|
|
401
|
+
_e.displayName = ge;
|
|
402
|
+
function ve() {
|
|
403
|
+
let t = e.useContext(j), [n, r] = e.useState(null);
|
|
392
404
|
return e.useEffect(() => {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
405
|
+
if (n) return t.dismissableSurfaces.add(n), () => {
|
|
406
|
+
t.dismissableSurfaces.delete(n);
|
|
407
|
+
};
|
|
408
|
+
}, [n, t.dismissableSurfaces]), r;
|
|
409
|
+
}
|
|
410
|
+
function ye(t, n) {
|
|
411
|
+
let { ownerDocument: r = globalThis?.document, deferPointerDownOutside: i = !1, isDeferredPointerDownOutsideRef: a, dismissableSurfaces: o } = n, s = k(t), c = e.useRef(!1), l = e.useRef(!1), u = e.useRef(/* @__PURE__ */ new Map()), d = e.useRef(() => {});
|
|
412
|
+
return e.useEffect(() => {
|
|
413
|
+
function e() {
|
|
414
|
+
l.current = !1, a.current = !1, u.current.clear();
|
|
415
|
+
}
|
|
416
|
+
function t() {
|
|
417
|
+
return Array.from(u.current.values()).some(Boolean);
|
|
418
|
+
}
|
|
419
|
+
function n(e) {
|
|
420
|
+
if (!l.current) return;
|
|
421
|
+
let t = e.target;
|
|
422
|
+
t instanceof Node && [...o].some((e) => e.contains(t)) || u.current.set(e.type, !0), e.type === "click" && window.setTimeout(() => {
|
|
423
|
+
l.current && d.current();
|
|
424
|
+
}, 0);
|
|
425
|
+
}
|
|
426
|
+
function f(e) {
|
|
427
|
+
l.current && u.current.set(e.type, !1);
|
|
428
|
+
}
|
|
429
|
+
let p = (n) => {
|
|
430
|
+
if (n.target && !c.current) {
|
|
431
|
+
let o = function() {
|
|
432
|
+
r.removeEventListener("click", d.current);
|
|
433
|
+
let n = t();
|
|
434
|
+
e(), n || Se(fe, s, c, { discrete: !0 });
|
|
435
|
+
}, c = { originalEvent: n };
|
|
436
|
+
l.current = !0, a.current = i && n.button === 0, u.current.clear(), !i || n.button !== 0 ? o() : (r.removeEventListener("click", d.current), d.current = o, r.addEventListener("click", d.current, { once: !0 }));
|
|
437
|
+
} else r.removeEventListener("click", d.current), e();
|
|
438
|
+
c.current = !1;
|
|
439
|
+
}, m = [
|
|
440
|
+
"pointerup",
|
|
441
|
+
"mousedown",
|
|
442
|
+
"mouseup",
|
|
443
|
+
"touchstart",
|
|
444
|
+
"touchend",
|
|
445
|
+
"click"
|
|
446
|
+
];
|
|
447
|
+
for (let e of m) r.addEventListener(e, n, !0), r.addEventListener(e, f);
|
|
448
|
+
let h = window.setTimeout(() => {
|
|
449
|
+
r.addEventListener("pointerdown", p);
|
|
403
450
|
}, 0);
|
|
404
451
|
return () => {
|
|
405
|
-
window.clearTimeout(
|
|
452
|
+
window.clearTimeout(h), r.removeEventListener("pointerdown", p), r.removeEventListener("click", d.current);
|
|
453
|
+
for (let e of m) r.removeEventListener(e, n, !0), r.removeEventListener(e, f);
|
|
406
454
|
};
|
|
407
|
-
}, [
|
|
455
|
+
}, [
|
|
456
|
+
r,
|
|
457
|
+
s,
|
|
458
|
+
i,
|
|
459
|
+
a,
|
|
460
|
+
o
|
|
461
|
+
]), { onPointerDownCapture: () => c.current = !0 };
|
|
408
462
|
}
|
|
409
|
-
function
|
|
463
|
+
function be(t, n = globalThis?.document) {
|
|
410
464
|
let r = k(t), i = e.useRef(!1);
|
|
411
465
|
return e.useEffect(() => {
|
|
412
466
|
let e = (e) => {
|
|
413
|
-
e.target && !i.current &&
|
|
467
|
+
e.target && !i.current && Se(pe, r, { originalEvent: e }, { discrete: !1 });
|
|
414
468
|
};
|
|
415
469
|
return n.addEventListener("focusin", e), () => n.removeEventListener("focusin", e);
|
|
416
470
|
}, [n, r]), {
|
|
@@ -418,25 +472,25 @@ function me(t, n = globalThis?.document) {
|
|
|
418
472
|
onBlurCapture: () => i.current = !1
|
|
419
473
|
};
|
|
420
474
|
}
|
|
421
|
-
function
|
|
475
|
+
function xe() {
|
|
422
476
|
let e = new CustomEvent(A);
|
|
423
477
|
document.dispatchEvent(e);
|
|
424
478
|
}
|
|
425
|
-
function
|
|
479
|
+
function Se(e, t, n, { discrete: r }) {
|
|
426
480
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
427
481
|
bubbles: !1,
|
|
428
482
|
cancelable: !0,
|
|
429
483
|
detail: n
|
|
430
484
|
});
|
|
431
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
485
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? b(i, a) : i.dispatchEvent(a);
|
|
432
486
|
}
|
|
433
487
|
//#endregion
|
|
434
488
|
//#region node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
435
|
-
var
|
|
489
|
+
var M = "focusScope.autoFocusOnMount", N = "focusScope.autoFocusOnUnmount", Ce = {
|
|
436
490
|
bubbles: !1,
|
|
437
491
|
cancelable: !0
|
|
438
|
-
},
|
|
439
|
-
let { loop: i = !1, trapped: a = !1, onMountAutoFocus:
|
|
492
|
+
}, we = "FocusScope", Te = e.forwardRef((t, r) => {
|
|
493
|
+
let { loop: i = !1, trapped: a = !1, onMountAutoFocus: s, onUnmountAutoFocus: c, ...l } = t, [u, d] = e.useState(null), f = k(s), p = k(c), m = e.useRef(null), h = o(r, (e) => d(e)), g = e.useRef({
|
|
440
494
|
paused: !1,
|
|
441
495
|
pause() {
|
|
442
496
|
this.paused = !0;
|
|
@@ -448,13 +502,13 @@ var j = "focusScope.autoFocusOnMount", M = "focusScope.autoFocusOnUnmount", _e =
|
|
|
448
502
|
e.useEffect(() => {
|
|
449
503
|
if (a) {
|
|
450
504
|
let e = function(e) {
|
|
451
|
-
if (
|
|
505
|
+
if (g.paused || !u) return;
|
|
452
506
|
let t = e.target;
|
|
453
|
-
u.contains(t) ?
|
|
507
|
+
u.contains(t) ? m.current = t : P(m.current, { select: !0 });
|
|
454
508
|
}, t = function(e) {
|
|
455
|
-
if (
|
|
509
|
+
if (g.paused || !u) return;
|
|
456
510
|
let t = e.relatedTarget;
|
|
457
|
-
t !== null && (u.contains(t) || P(
|
|
511
|
+
t !== null && (u.contains(t) || P(m.current, { select: !0 }));
|
|
458
512
|
}, n = function(e) {
|
|
459
513
|
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && P(u);
|
|
460
514
|
};
|
|
@@ -470,19 +524,19 @@ var j = "focusScope.autoFocusOnMount", M = "focusScope.autoFocusOnUnmount", _e =
|
|
|
470
524
|
}, [
|
|
471
525
|
a,
|
|
472
526
|
u,
|
|
473
|
-
|
|
527
|
+
g.paused
|
|
474
528
|
]), e.useEffect(() => {
|
|
475
529
|
if (u) {
|
|
476
|
-
|
|
530
|
+
Me.add(g);
|
|
477
531
|
let e = document.activeElement;
|
|
478
532
|
if (!u.contains(e)) {
|
|
479
|
-
let t = new CustomEvent(
|
|
480
|
-
u.addEventListener(
|
|
533
|
+
let t = new CustomEvent(M, Ce);
|
|
534
|
+
u.addEventListener(M, f), u.dispatchEvent(t), t.defaultPrevented || (Ee(Fe(Oe(u)), { select: !0 }), document.activeElement === e && P(u));
|
|
481
535
|
}
|
|
482
536
|
return () => {
|
|
483
|
-
u.removeEventListener(
|
|
484
|
-
let t = new CustomEvent(
|
|
485
|
-
u.addEventListener(
|
|
537
|
+
u.removeEventListener(M, f), setTimeout(() => {
|
|
538
|
+
let t = new CustomEvent(N, Ce);
|
|
539
|
+
u.addEventListener(N, p), u.dispatchEvent(t), t.defaultPrevented || P(e ?? document.body, { select: !0 }), u.removeEventListener(N, p), Me.remove(g);
|
|
486
540
|
}, 0);
|
|
487
541
|
};
|
|
488
542
|
}
|
|
@@ -490,37 +544,37 @@ var j = "focusScope.autoFocusOnMount", M = "focusScope.autoFocusOnUnmount", _e =
|
|
|
490
544
|
u,
|
|
491
545
|
f,
|
|
492
546
|
p,
|
|
493
|
-
|
|
547
|
+
g
|
|
494
548
|
]);
|
|
495
|
-
let
|
|
496
|
-
if (!i && !a ||
|
|
549
|
+
let _ = e.useCallback((e) => {
|
|
550
|
+
if (!i && !a || g.paused) return;
|
|
497
551
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, n = document.activeElement;
|
|
498
552
|
if (t && n) {
|
|
499
|
-
let t = e.currentTarget, [r, a] =
|
|
553
|
+
let t = e.currentTarget, [r, a] = De(t);
|
|
500
554
|
r && a ? !e.shiftKey && n === a ? (e.preventDefault(), i && P(r, { select: !0 })) : e.shiftKey && n === r && (e.preventDefault(), i && P(a, { select: !0 })) : n === t && e.preventDefault();
|
|
501
555
|
}
|
|
502
556
|
}, [
|
|
503
557
|
i,
|
|
504
558
|
a,
|
|
505
|
-
|
|
559
|
+
g.paused
|
|
506
560
|
]);
|
|
507
|
-
return /* @__PURE__ */ n(
|
|
561
|
+
return /* @__PURE__ */ n(y.div, {
|
|
508
562
|
tabIndex: -1,
|
|
509
563
|
...l,
|
|
510
|
-
ref:
|
|
511
|
-
onKeyDown:
|
|
564
|
+
ref: h,
|
|
565
|
+
onKeyDown: _
|
|
512
566
|
});
|
|
513
567
|
});
|
|
514
|
-
|
|
515
|
-
function
|
|
568
|
+
Te.displayName = we;
|
|
569
|
+
function Ee(e, { select: t = !1 } = {}) {
|
|
516
570
|
let n = document.activeElement;
|
|
517
571
|
for (let r of e) if (P(r, { select: t }), document.activeElement !== n) return;
|
|
518
572
|
}
|
|
519
|
-
function
|
|
520
|
-
let t =
|
|
521
|
-
return [
|
|
573
|
+
function De(e) {
|
|
574
|
+
let t = Oe(e);
|
|
575
|
+
return [ke(t, e), ke(t.reverse(), e)];
|
|
522
576
|
}
|
|
523
|
-
function
|
|
577
|
+
function Oe(e) {
|
|
524
578
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
525
579
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
526
580
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -528,10 +582,10 @@ function Se(e) {
|
|
|
528
582
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
529
583
|
return t;
|
|
530
584
|
}
|
|
531
|
-
function
|
|
532
|
-
for (let n of e) if (!
|
|
585
|
+
function ke(e, t) {
|
|
586
|
+
for (let n of e) if (!Ae(n, { upTo: t })) return n;
|
|
533
587
|
}
|
|
534
|
-
function
|
|
588
|
+
function Ae(e, { upTo: t }) {
|
|
535
589
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
536
590
|
for (; e;) {
|
|
537
591
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -540,91 +594,95 @@ function Ce(e, { upTo: t }) {
|
|
|
540
594
|
}
|
|
541
595
|
return !1;
|
|
542
596
|
}
|
|
543
|
-
function
|
|
597
|
+
function je(e) {
|
|
544
598
|
return e instanceof HTMLInputElement && "select" in e;
|
|
545
599
|
}
|
|
546
600
|
function P(e, { select: t = !1 } = {}) {
|
|
547
601
|
if (e && e.focus) {
|
|
548
602
|
let n = document.activeElement;
|
|
549
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
603
|
+
e.focus({ preventScroll: !0 }), e !== n && je(e) && t && e.select();
|
|
550
604
|
}
|
|
551
605
|
}
|
|
552
|
-
var
|
|
553
|
-
function
|
|
606
|
+
var Me = Ne();
|
|
607
|
+
function Ne() {
|
|
554
608
|
let e = [];
|
|
555
609
|
return {
|
|
556
610
|
add(t) {
|
|
557
611
|
let n = e[0];
|
|
558
|
-
t !== n && n?.pause(), e =
|
|
612
|
+
t !== n && n?.pause(), e = Pe(e, t), e.unshift(t);
|
|
559
613
|
},
|
|
560
614
|
remove(t) {
|
|
561
|
-
e =
|
|
615
|
+
e = Pe(e, t), e[0]?.resume();
|
|
562
616
|
}
|
|
563
617
|
};
|
|
564
618
|
}
|
|
565
|
-
function
|
|
619
|
+
function Pe(e, t) {
|
|
566
620
|
let n = [...e], r = n.indexOf(t);
|
|
567
621
|
return r !== -1 && n.splice(r, 1), n;
|
|
568
622
|
}
|
|
569
|
-
function
|
|
623
|
+
function Fe(e) {
|
|
570
624
|
return e.filter((e) => e.tagName !== "A");
|
|
571
625
|
}
|
|
572
626
|
//#endregion
|
|
573
627
|
//#region node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
574
|
-
var
|
|
628
|
+
var Ie = "Portal", Le = e.forwardRef((t, i) => {
|
|
575
629
|
let { container: a, ...o } = t, [s, c] = e.useState(!1);
|
|
576
|
-
|
|
630
|
+
w(() => c(!0), []);
|
|
577
631
|
let l = a || s && globalThis?.document?.body;
|
|
578
|
-
return l ?
|
|
632
|
+
return l ? r.createPortal(/* @__PURE__ */ n(y.div, {
|
|
579
633
|
...o,
|
|
580
|
-
ref:
|
|
634
|
+
ref: i
|
|
581
635
|
}), l) : null;
|
|
582
636
|
});
|
|
583
|
-
|
|
637
|
+
Le.displayName = Ie;
|
|
584
638
|
//#endregion
|
|
585
639
|
//#region node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
586
|
-
var F = 0;
|
|
587
|
-
function
|
|
640
|
+
var F = 0, I = null;
|
|
641
|
+
function Re() {
|
|
588
642
|
e.useEffect(() => {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
643
|
+
I ||= {
|
|
644
|
+
start: ze(),
|
|
645
|
+
end: ze()
|
|
646
|
+
};
|
|
647
|
+
let { start: e, end: t } = I;
|
|
648
|
+
return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== t && document.body.insertAdjacentElement("beforeend", t), F++, () => {
|
|
649
|
+
F === 1 && (I?.start.remove(), I?.end.remove(), I = null), F = Math.max(0, F - 1);
|
|
592
650
|
};
|
|
593
651
|
}, []);
|
|
594
652
|
}
|
|
595
|
-
function
|
|
653
|
+
function ze() {
|
|
596
654
|
let e = document.createElement("span");
|
|
597
655
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
598
656
|
}
|
|
599
657
|
//#endregion
|
|
600
658
|
//#region node_modules/tslib/tslib.es6.mjs
|
|
601
|
-
var
|
|
602
|
-
return
|
|
659
|
+
var L = function() {
|
|
660
|
+
return L = Object.assign || function(e) {
|
|
603
661
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
604
662
|
return e;
|
|
605
|
-
},
|
|
663
|
+
}, L.apply(this, arguments);
|
|
606
664
|
};
|
|
607
|
-
function
|
|
665
|
+
function Be(e, t) {
|
|
608
666
|
var n = {};
|
|
609
667
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
610
668
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
611
669
|
return n;
|
|
612
670
|
}
|
|
613
|
-
function
|
|
671
|
+
function Ve(e, t, n) {
|
|
614
672
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
615
673
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
616
674
|
}
|
|
617
675
|
//#endregion
|
|
618
676
|
//#region node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
619
|
-
var
|
|
677
|
+
var R = "right-scroll-bar-position", z = "width-before-scroll-bar", He = "with-scroll-bars-hidden", Ue = "--removed-body-scroll-bar-size";
|
|
620
678
|
//#endregion
|
|
621
679
|
//#region node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
622
|
-
function
|
|
680
|
+
function B(e, t) {
|
|
623
681
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
624
682
|
}
|
|
625
683
|
//#endregion
|
|
626
684
|
//#region node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
627
|
-
function
|
|
685
|
+
function We(e, n) {
|
|
628
686
|
var r = t(function() {
|
|
629
687
|
return {
|
|
630
688
|
value: e,
|
|
@@ -644,33 +702,33 @@ function Le(e, n) {
|
|
|
644
702
|
}
|
|
645
703
|
//#endregion
|
|
646
704
|
//#region node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
647
|
-
var
|
|
648
|
-
function
|
|
649
|
-
var n =
|
|
705
|
+
var Ge = typeof window < "u" ? e.useLayoutEffect : e.useEffect, Ke = /* @__PURE__ */ new WeakMap();
|
|
706
|
+
function qe(e, t) {
|
|
707
|
+
var n = We(t || null, function(t) {
|
|
650
708
|
return e.forEach(function(e) {
|
|
651
|
-
return
|
|
709
|
+
return B(e, t);
|
|
652
710
|
});
|
|
653
711
|
});
|
|
654
|
-
return
|
|
655
|
-
var t =
|
|
712
|
+
return Ge(function() {
|
|
713
|
+
var t = Ke.get(n);
|
|
656
714
|
if (t) {
|
|
657
715
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
658
716
|
r.forEach(function(e) {
|
|
659
|
-
i.has(e) ||
|
|
717
|
+
i.has(e) || B(e, null);
|
|
660
718
|
}), i.forEach(function(e) {
|
|
661
|
-
r.has(e) ||
|
|
719
|
+
r.has(e) || B(e, a);
|
|
662
720
|
});
|
|
663
721
|
}
|
|
664
|
-
|
|
722
|
+
Ke.set(n, e);
|
|
665
723
|
}, [e]), n;
|
|
666
724
|
}
|
|
667
725
|
//#endregion
|
|
668
726
|
//#region node_modules/use-sidecar/dist/es2015/medium.js
|
|
669
|
-
function
|
|
727
|
+
function Je(e) {
|
|
670
728
|
return e;
|
|
671
729
|
}
|
|
672
|
-
function
|
|
673
|
-
t === void 0 && (t =
|
|
730
|
+
function Ye(e, t) {
|
|
731
|
+
t === void 0 && (t = Je);
|
|
674
732
|
var n = [], r = !1;
|
|
675
733
|
return {
|
|
676
734
|
read: function() {
|
|
@@ -723,35 +781,35 @@ function He(e, t) {
|
|
|
723
781
|
}
|
|
724
782
|
};
|
|
725
783
|
}
|
|
726
|
-
function
|
|
784
|
+
function Xe(e) {
|
|
727
785
|
e === void 0 && (e = {});
|
|
728
|
-
var t =
|
|
729
|
-
return t.options =
|
|
786
|
+
var t = Ye(null);
|
|
787
|
+
return t.options = L({
|
|
730
788
|
async: !0,
|
|
731
789
|
ssr: !1
|
|
732
790
|
}, e), t;
|
|
733
791
|
}
|
|
734
792
|
//#endregion
|
|
735
793
|
//#region node_modules/use-sidecar/dist/es2015/exports.js
|
|
736
|
-
var
|
|
737
|
-
var n = t.sideCar, r =
|
|
794
|
+
var Ze = function(t) {
|
|
795
|
+
var n = t.sideCar, r = Be(t, ["sideCar"]);
|
|
738
796
|
if (!n) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
739
797
|
var i = n.read();
|
|
740
798
|
if (!i) throw Error("Sidecar medium not found");
|
|
741
|
-
return e.createElement(i,
|
|
799
|
+
return e.createElement(i, L({}, r));
|
|
742
800
|
};
|
|
743
|
-
|
|
744
|
-
function
|
|
745
|
-
return e.useMedium(t),
|
|
801
|
+
Ze.isSideCarExport = !0;
|
|
802
|
+
function Qe(e, t) {
|
|
803
|
+
return e.useMedium(t), Ze;
|
|
746
804
|
}
|
|
747
805
|
//#endregion
|
|
748
806
|
//#region node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
749
|
-
var
|
|
807
|
+
var $e = Xe(), V = function() {}, H = e.forwardRef(function(t, n) {
|
|
750
808
|
var r = e.useRef(null), i = e.useState({
|
|
751
|
-
onScrollCapture:
|
|
752
|
-
onWheelCapture:
|
|
753
|
-
onTouchMoveCapture:
|
|
754
|
-
}), a = i[0], o = i[1], s = t.forwardProps, c = t.children, l = t.className, u = t.removeScrollBar, d = t.enabled, f = t.shards, p = t.sideCar, m = t.noRelative, h = t.noIsolation, g = t.inert, _ = t.allowPinchZoom, v = t.as, y = v === void 0 ? "div" : v, b = t.gapMode, x =
|
|
809
|
+
onScrollCapture: V,
|
|
810
|
+
onWheelCapture: V,
|
|
811
|
+
onTouchMoveCapture: V
|
|
812
|
+
}), a = i[0], o = i[1], s = t.forwardProps, c = t.children, l = t.className, u = t.removeScrollBar, d = t.enabled, f = t.shards, p = t.sideCar, m = t.noRelative, h = t.noIsolation, g = t.inert, _ = t.allowPinchZoom, v = t.as, y = v === void 0 ? "div" : v, b = t.gapMode, x = Be(t, [
|
|
755
813
|
"forwardProps",
|
|
756
814
|
"children",
|
|
757
815
|
"className",
|
|
@@ -765,9 +823,9 @@ var Ke = Ue(), B = function() {}, V = e.forwardRef(function(t, n) {
|
|
|
765
823
|
"allowPinchZoom",
|
|
766
824
|
"as",
|
|
767
825
|
"gapMode"
|
|
768
|
-
]), S = p, C =
|
|
826
|
+
]), S = p, C = qe([r, n]), w = L(L({}, x), a);
|
|
769
827
|
return e.createElement(e.Fragment, null, d && e.createElement(S, {
|
|
770
|
-
sideCar:
|
|
828
|
+
sideCar: $e,
|
|
771
829
|
removeScrollBar: u,
|
|
772
830
|
shards: f,
|
|
773
831
|
noRelative: m,
|
|
@@ -777,52 +835,52 @@ var Ke = Ue(), B = function() {}, V = e.forwardRef(function(t, n) {
|
|
|
777
835
|
allowPinchZoom: !!_,
|
|
778
836
|
lockRef: r,
|
|
779
837
|
gapMode: b
|
|
780
|
-
}), s ? e.cloneElement(e.Children.only(c),
|
|
838
|
+
}), s ? e.cloneElement(e.Children.only(c), L(L({}, w), { ref: C })) : e.createElement(y, L({}, w, {
|
|
781
839
|
className: l,
|
|
782
840
|
ref: C
|
|
783
841
|
}), c));
|
|
784
842
|
});
|
|
785
|
-
|
|
843
|
+
H.defaultProps = {
|
|
786
844
|
enabled: !0,
|
|
787
845
|
removeScrollBar: !0,
|
|
788
846
|
inert: !1
|
|
789
|
-
},
|
|
790
|
-
fullWidth:
|
|
791
|
-
zeroRight:
|
|
847
|
+
}, H.classNames = {
|
|
848
|
+
fullWidth: z,
|
|
849
|
+
zeroRight: R
|
|
792
850
|
};
|
|
793
851
|
//#endregion
|
|
794
852
|
//#region node_modules/get-nonce/dist/es2015/index.js
|
|
795
|
-
var
|
|
796
|
-
if (
|
|
853
|
+
var et, tt = function() {
|
|
854
|
+
if (et) return et;
|
|
797
855
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
798
856
|
};
|
|
799
857
|
//#endregion
|
|
800
858
|
//#region node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
801
|
-
function
|
|
859
|
+
function nt() {
|
|
802
860
|
if (!document) return null;
|
|
803
861
|
var e = document.createElement("style");
|
|
804
862
|
e.type = "text/css";
|
|
805
|
-
var t =
|
|
863
|
+
var t = tt();
|
|
806
864
|
return t && e.setAttribute("nonce", t), e;
|
|
807
865
|
}
|
|
808
|
-
function
|
|
866
|
+
function rt(e, t) {
|
|
809
867
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
810
868
|
}
|
|
811
|
-
function
|
|
869
|
+
function it(e) {
|
|
812
870
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
813
871
|
}
|
|
814
|
-
var
|
|
872
|
+
var at = function() {
|
|
815
873
|
var e = 0, t = null;
|
|
816
874
|
return {
|
|
817
875
|
add: function(n) {
|
|
818
|
-
e == 0 && (t =
|
|
876
|
+
e == 0 && (t = nt()) && (rt(t, n), it(t)), e++;
|
|
819
877
|
},
|
|
820
878
|
remove: function() {
|
|
821
879
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
822
880
|
}
|
|
823
881
|
};
|
|
824
|
-
},
|
|
825
|
-
var t =
|
|
882
|
+
}, ot = function() {
|
|
883
|
+
var t = at();
|
|
826
884
|
return function(n, r) {
|
|
827
885
|
e.useEffect(function() {
|
|
828
886
|
return t.add(n), function() {
|
|
@@ -830,43 +888,43 @@ var Qe = function() {
|
|
|
830
888
|
};
|
|
831
889
|
}, [n && r]);
|
|
832
890
|
};
|
|
833
|
-
},
|
|
834
|
-
var e =
|
|
891
|
+
}, st = function() {
|
|
892
|
+
var e = ot();
|
|
835
893
|
return function(t) {
|
|
836
894
|
var n = t.styles, r = t.dynamic;
|
|
837
895
|
return e(n, r), null;
|
|
838
896
|
};
|
|
839
|
-
},
|
|
897
|
+
}, ct = {
|
|
840
898
|
left: 0,
|
|
841
899
|
top: 0,
|
|
842
900
|
right: 0,
|
|
843
901
|
gap: 0
|
|
844
|
-
},
|
|
902
|
+
}, U = function(e) {
|
|
845
903
|
return parseInt(e || "", 10) || 0;
|
|
846
|
-
},
|
|
904
|
+
}, lt = function(e) {
|
|
847
905
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
848
906
|
return [
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
907
|
+
U(n),
|
|
908
|
+
U(r),
|
|
909
|
+
U(i)
|
|
852
910
|
];
|
|
853
|
-
},
|
|
854
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
855
|
-
var t =
|
|
911
|
+
}, ut = function(e) {
|
|
912
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return ct;
|
|
913
|
+
var t = lt(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
856
914
|
return {
|
|
857
915
|
left: t[0],
|
|
858
916
|
top: t[1],
|
|
859
917
|
right: t[2],
|
|
860
918
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
861
919
|
};
|
|
862
|
-
},
|
|
920
|
+
}, dt = st(), W = "data-scroll-locked", ft = function(e, t, n, r) {
|
|
863
921
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
864
922
|
return n === void 0 && (n = "margin"), `
|
|
865
|
-
.${
|
|
923
|
+
.${He} {
|
|
866
924
|
overflow: hidden ${r};
|
|
867
925
|
padding-right: ${s}px ${r};
|
|
868
926
|
}
|
|
869
|
-
body[${
|
|
927
|
+
body[${W}] {
|
|
870
928
|
overflow: hidden ${r};
|
|
871
929
|
overscroll-behavior: contain;
|
|
872
930
|
${[
|
|
@@ -883,122 +941,122 @@ var Qe = function() {
|
|
|
883
941
|
].filter(Boolean).join("")}
|
|
884
942
|
}
|
|
885
943
|
|
|
886
|
-
.${
|
|
944
|
+
.${R} {
|
|
887
945
|
right: ${s}px ${r};
|
|
888
946
|
}
|
|
889
947
|
|
|
890
|
-
.${
|
|
948
|
+
.${z} {
|
|
891
949
|
margin-right: ${s}px ${r};
|
|
892
950
|
}
|
|
893
951
|
|
|
894
|
-
.${
|
|
952
|
+
.${R} .${R} {
|
|
895
953
|
right: 0 ${r};
|
|
896
954
|
}
|
|
897
955
|
|
|
898
|
-
.${
|
|
956
|
+
.${z} .${z} {
|
|
899
957
|
margin-right: 0 ${r};
|
|
900
958
|
}
|
|
901
959
|
|
|
902
|
-
body[${
|
|
903
|
-
${
|
|
960
|
+
body[${W}] {
|
|
961
|
+
${Ue}: ${s}px;
|
|
904
962
|
}
|
|
905
963
|
`;
|
|
906
|
-
},
|
|
964
|
+
}, pt = function() {
|
|
907
965
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
908
966
|
return isFinite(e) ? e : 0;
|
|
909
|
-
},
|
|
967
|
+
}, mt = function() {
|
|
910
968
|
e.useEffect(function() {
|
|
911
|
-
return document.body.setAttribute(
|
|
912
|
-
var e =
|
|
913
|
-
e <= 0 ? document.body.removeAttribute(
|
|
969
|
+
return document.body.setAttribute(W, (pt() + 1).toString()), function() {
|
|
970
|
+
var e = pt() - 1;
|
|
971
|
+
e <= 0 ? document.body.removeAttribute(W) : document.body.setAttribute(W, e.toString());
|
|
914
972
|
};
|
|
915
973
|
}, []);
|
|
916
|
-
},
|
|
974
|
+
}, ht = function(t) {
|
|
917
975
|
var n = t.noRelative, r = t.noImportant, i = t.gapMode, a = i === void 0 ? "margin" : i;
|
|
918
|
-
|
|
976
|
+
mt();
|
|
919
977
|
var o = e.useMemo(function() {
|
|
920
|
-
return
|
|
978
|
+
return ut(a);
|
|
921
979
|
}, [a]);
|
|
922
|
-
return e.createElement(
|
|
923
|
-
},
|
|
980
|
+
return e.createElement(dt, { styles: ft(o, !n, a, r ? "" : "!important") });
|
|
981
|
+
}, G = !1;
|
|
924
982
|
if (typeof window < "u") try {
|
|
925
|
-
var
|
|
926
|
-
return
|
|
983
|
+
var K = Object.defineProperty({}, "passive", { get: function() {
|
|
984
|
+
return G = !0, !0;
|
|
927
985
|
} });
|
|
928
|
-
window.addEventListener("test",
|
|
986
|
+
window.addEventListener("test", K, K), window.removeEventListener("test", K, K);
|
|
929
987
|
} catch {
|
|
930
|
-
|
|
988
|
+
G = !1;
|
|
931
989
|
}
|
|
932
|
-
var
|
|
990
|
+
var q = G ? { passive: !1 } : !1, gt = function(e) {
|
|
933
991
|
return e.tagName === "TEXTAREA";
|
|
934
|
-
},
|
|
992
|
+
}, _t = function(e, t) {
|
|
935
993
|
if (!(e instanceof Element)) return !1;
|
|
936
994
|
var n = window.getComputedStyle(e);
|
|
937
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
938
|
-
},
|
|
939
|
-
return
|
|
940
|
-
},
|
|
941
|
-
return
|
|
942
|
-
},
|
|
995
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !gt(e) && n[t] === "visible");
|
|
996
|
+
}, vt = function(e) {
|
|
997
|
+
return _t(e, "overflowY");
|
|
998
|
+
}, yt = function(e) {
|
|
999
|
+
return _t(e, "overflowX");
|
|
1000
|
+
}, bt = function(e, t) {
|
|
943
1001
|
var n = t.ownerDocument, r = t;
|
|
944
1002
|
do {
|
|
945
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
946
|
-
var i =
|
|
1003
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Ct(e, r)) {
|
|
1004
|
+
var i = wt(e, r);
|
|
947
1005
|
if (i[1] > i[2]) return !0;
|
|
948
1006
|
}
|
|
949
1007
|
r = r.parentNode;
|
|
950
1008
|
} while (r && r !== n.body);
|
|
951
1009
|
return !1;
|
|
952
|
-
},
|
|
1010
|
+
}, xt = function(e) {
|
|
953
1011
|
return [
|
|
954
1012
|
e.scrollTop,
|
|
955
1013
|
e.scrollHeight,
|
|
956
1014
|
e.clientHeight
|
|
957
1015
|
];
|
|
958
|
-
},
|
|
1016
|
+
}, St = function(e) {
|
|
959
1017
|
return [
|
|
960
1018
|
e.scrollLeft,
|
|
961
1019
|
e.scrollWidth,
|
|
962
1020
|
e.clientWidth
|
|
963
1021
|
];
|
|
964
|
-
},
|
|
965
|
-
return e === "v" ?
|
|
966
|
-
},
|
|
967
|
-
return e === "v" ?
|
|
968
|
-
},
|
|
1022
|
+
}, Ct = function(e, t) {
|
|
1023
|
+
return e === "v" ? vt(t) : yt(t);
|
|
1024
|
+
}, wt = function(e, t) {
|
|
1025
|
+
return e === "v" ? xt(t) : St(t);
|
|
1026
|
+
}, Tt = function(e, t) {
|
|
969
1027
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
970
|
-
},
|
|
971
|
-
var a =
|
|
1028
|
+
}, Et = function(e, t, n, r, i) {
|
|
1029
|
+
var a = Tt(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
972
1030
|
do {
|
|
973
1031
|
if (!s) break;
|
|
974
|
-
var p =
|
|
975
|
-
(m || h) &&
|
|
1032
|
+
var p = wt(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
1033
|
+
(m || h) && Ct(e, s) && (d += h, f += m);
|
|
976
1034
|
var g = s.parentNode;
|
|
977
1035
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
978
1036
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
979
1037
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
980
|
-
},
|
|
1038
|
+
}, J = function(e) {
|
|
981
1039
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
982
|
-
},
|
|
1040
|
+
}, Dt = function(e) {
|
|
983
1041
|
return [e.deltaX, e.deltaY];
|
|
984
|
-
},
|
|
1042
|
+
}, Ot = function(e) {
|
|
985
1043
|
return e && "current" in e ? e.current : e;
|
|
986
|
-
},
|
|
1044
|
+
}, kt = function(e, t) {
|
|
987
1045
|
return e[0] === t[0] && e[1] === t[1];
|
|
988
|
-
},
|
|
1046
|
+
}, At = function(e) {
|
|
989
1047
|
return `
|
|
990
1048
|
.block-interactivity-${e} {pointer-events: none;}
|
|
991
1049
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
992
1050
|
`;
|
|
993
|
-
},
|
|
994
|
-
function
|
|
995
|
-
var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(
|
|
1051
|
+
}, jt = 0, Y = [];
|
|
1052
|
+
function Mt(t) {
|
|
1053
|
+
var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(jt++)[0], o = e.useState(st)[0], s = e.useRef(t);
|
|
996
1054
|
e.useEffect(function() {
|
|
997
1055
|
s.current = t;
|
|
998
1056
|
}, [t]), e.useEffect(function() {
|
|
999
1057
|
if (t.inert) {
|
|
1000
1058
|
document.body.classList.add(`block-interactivity-${a}`);
|
|
1001
|
-
var e =
|
|
1059
|
+
var e = Ve([t.lockRef.current], (t.shards || []).map(Ot), !0).filter(Boolean);
|
|
1002
1060
|
return e.forEach(function(e) {
|
|
1003
1061
|
return e.classList.add(`allow-interactivity-${a}`);
|
|
1004
1062
|
}), function() {
|
|
@@ -1014,28 +1072,28 @@ function Tt(t) {
|
|
|
1014
1072
|
]);
|
|
1015
1073
|
var c = e.useCallback(function(e, t) {
|
|
1016
1074
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !s.current.allowPinchZoom;
|
|
1017
|
-
var n =
|
|
1075
|
+
var n = J(e), a = r.current, o = "deltaX" in e ? e.deltaX : a[0] - n[0], c = "deltaY" in e ? e.deltaY : a[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
|
|
1018
1076
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
1019
1077
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
1020
1078
|
if (p && (p === u || p.contains(u))) return !1;
|
|
1021
|
-
var m =
|
|
1079
|
+
var m = bt(d, u);
|
|
1022
1080
|
if (!m) return !0;
|
|
1023
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
1081
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = bt(d, u)), !m) return !1;
|
|
1024
1082
|
if (!i.current && "changedTouches" in e && (o || c) && (i.current = l), !l) return !0;
|
|
1025
1083
|
var h = i.current || l;
|
|
1026
|
-
return
|
|
1084
|
+
return Et(h, t, e, h === "h" ? o : c, !0);
|
|
1027
1085
|
}, []), l = e.useCallback(function(e) {
|
|
1028
1086
|
var t = e;
|
|
1029
|
-
if (!(!
|
|
1030
|
-
var r = "deltaY" in t ?
|
|
1031
|
-
return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) &&
|
|
1087
|
+
if (!(!Y.length || Y[Y.length - 1] !== o)) {
|
|
1088
|
+
var r = "deltaY" in t ? Dt(t) : J(t), i = n.current.filter(function(e) {
|
|
1089
|
+
return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && kt(e.delta, r);
|
|
1032
1090
|
})[0];
|
|
1033
1091
|
if (i && i.should) {
|
|
1034
1092
|
t.cancelable && t.preventDefault();
|
|
1035
1093
|
return;
|
|
1036
1094
|
}
|
|
1037
1095
|
if (!i) {
|
|
1038
|
-
var a = (s.current.shards || []).map(
|
|
1096
|
+
var a = (s.current.shards || []).map(Ot).filter(Boolean).filter(function(e) {
|
|
1039
1097
|
return e.contains(t.target);
|
|
1040
1098
|
});
|
|
1041
1099
|
(a.length > 0 ? c(t, a[0]) : !s.current.noIsolation) && t.cancelable && t.preventDefault();
|
|
@@ -1047,7 +1105,7 @@ function Tt(t) {
|
|
|
1047
1105
|
delta: t,
|
|
1048
1106
|
target: r,
|
|
1049
1107
|
should: i,
|
|
1050
|
-
shadowParent:
|
|
1108
|
+
shadowParent: Nt(r)
|
|
1051
1109
|
};
|
|
1052
1110
|
n.current.push(a), setTimeout(function() {
|
|
1053
1111
|
n.current = n.current.filter(function(e) {
|
|
@@ -1055,58 +1113,58 @@ function Tt(t) {
|
|
|
1055
1113
|
});
|
|
1056
1114
|
}, 1);
|
|
1057
1115
|
}, []), d = e.useCallback(function(e) {
|
|
1058
|
-
r.current =
|
|
1116
|
+
r.current = J(e), i.current = void 0;
|
|
1059
1117
|
}, []), f = e.useCallback(function(e) {
|
|
1060
|
-
u(e.type,
|
|
1118
|
+
u(e.type, Dt(e), e.target, c(e, t.lockRef.current));
|
|
1061
1119
|
}, []), p = e.useCallback(function(e) {
|
|
1062
|
-
u(e.type,
|
|
1120
|
+
u(e.type, J(e), e.target, c(e, t.lockRef.current));
|
|
1063
1121
|
}, []);
|
|
1064
1122
|
e.useEffect(function() {
|
|
1065
|
-
return
|
|
1123
|
+
return Y.push(o), t.setCallbacks({
|
|
1066
1124
|
onScrollCapture: f,
|
|
1067
1125
|
onWheelCapture: f,
|
|
1068
1126
|
onTouchMoveCapture: p
|
|
1069
|
-
}), document.addEventListener("wheel", l,
|
|
1070
|
-
|
|
1127
|
+
}), document.addEventListener("wheel", l, q), document.addEventListener("touchmove", l, q), document.addEventListener("touchstart", d, q), function() {
|
|
1128
|
+
Y = Y.filter(function(e) {
|
|
1071
1129
|
return e !== o;
|
|
1072
|
-
}), document.removeEventListener("wheel", l,
|
|
1130
|
+
}), document.removeEventListener("wheel", l, q), document.removeEventListener("touchmove", l, q), document.removeEventListener("touchstart", d, q);
|
|
1073
1131
|
};
|
|
1074
1132
|
}, []);
|
|
1075
1133
|
var m = t.removeScrollBar, h = t.inert;
|
|
1076
|
-
return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles:
|
|
1134
|
+
return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles: At(a) }) : null, m ? e.createElement(ht, {
|
|
1077
1135
|
noRelative: t.noRelative,
|
|
1078
1136
|
gapMode: t.gapMode
|
|
1079
1137
|
}) : null);
|
|
1080
1138
|
}
|
|
1081
|
-
function
|
|
1139
|
+
function Nt(e) {
|
|
1082
1140
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
1083
1141
|
return t;
|
|
1084
1142
|
}
|
|
1085
1143
|
//#endregion
|
|
1086
1144
|
//#region node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
1087
|
-
var
|
|
1088
|
-
return e.createElement(
|
|
1145
|
+
var Pt = Qe($e, Mt), Ft = e.forwardRef(function(t, n) {
|
|
1146
|
+
return e.createElement(H, L({}, t, {
|
|
1089
1147
|
ref: n,
|
|
1090
|
-
sideCar:
|
|
1148
|
+
sideCar: Pt
|
|
1091
1149
|
}));
|
|
1092
1150
|
});
|
|
1093
|
-
|
|
1151
|
+
Ft.classNames = H.classNames;
|
|
1094
1152
|
//#endregion
|
|
1095
1153
|
//#region node_modules/aria-hidden/dist/es2015/index.js
|
|
1096
|
-
var
|
|
1154
|
+
var It = function(e) {
|
|
1097
1155
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
1098
|
-
}, X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = {}, $ = 0,
|
|
1099
|
-
return e && (e.host ||
|
|
1100
|
-
},
|
|
1156
|
+
}, X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = {}, $ = 0, Lt = function(e) {
|
|
1157
|
+
return e && (e.host || Lt(e.parentNode));
|
|
1158
|
+
}, Rt = function(e, t) {
|
|
1101
1159
|
return t.map(function(t) {
|
|
1102
1160
|
if (e.contains(t)) return t;
|
|
1103
|
-
var n =
|
|
1161
|
+
var n = Lt(t);
|
|
1104
1162
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
1105
1163
|
}).filter(function(e) {
|
|
1106
1164
|
return !!e;
|
|
1107
1165
|
});
|
|
1108
|
-
},
|
|
1109
|
-
var i =
|
|
1166
|
+
}, zt = function(e, t, n, r) {
|
|
1167
|
+
var i = Rt(t, Array.isArray(e) ? e : [e]);
|
|
1110
1168
|
Q[n] || (Q[n] = /* @__PURE__ */ new WeakMap());
|
|
1111
1169
|
var a = Q[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
1112
1170
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
@@ -1129,12 +1187,12 @@ var Ot = function(e) {
|
|
|
1129
1187
|
X.set(e, t), a.set(e, i), t || (Z.has(e) || e.removeAttribute(r), Z.delete(e)), i || e.removeAttribute(n);
|
|
1130
1188
|
}), $--, $ || (X = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = {});
|
|
1131
1189
|
};
|
|
1132
|
-
},
|
|
1190
|
+
}, Bt = function(e, t, n) {
|
|
1133
1191
|
n === void 0 && (n = "data-aria-hidden");
|
|
1134
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
1135
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
1192
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || It(e);
|
|
1193
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), zt(r, i, n, "aria-hidden")) : function() {
|
|
1136
1194
|
return null;
|
|
1137
1195
|
};
|
|
1138
1196
|
};
|
|
1139
1197
|
//#endregion
|
|
1140
|
-
export {
|
|
1198
|
+
export { s as _, Te as a, k as c, T as d, w as f, b as g, y as h, Le as i, le as l, x as m, Ft as n, he as o, C as p, Re as r, ve as s, Bt as t, ne as u, a as v, o as y };
|