@rivm-loculus-tools/sequence-editor 0.1.4 → 0.1.5
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/_chunks/Box.js +6737 -0
- package/dist/_chunks/Box.js.map +1 -0
- package/dist/_chunks/Close.js +7 -0
- package/dist/_chunks/Close.js.map +1 -0
- package/dist/_chunks/EditorWorkerService.js +126 -0
- package/dist/_chunks/EditorWorkerService.js.map +1 -0
- package/dist/_chunks/KeyboardArrowDown.js +1023 -0
- package/dist/_chunks/KeyboardArrowDown.js.map +1 -0
- package/dist/_chunks/Redo.js +2559 -0
- package/dist/_chunks/Redo.js.map +1 -0
- package/dist/_chunks/SequenceEditor.js +860 -0
- package/dist/_chunks/SequenceEditor.js.map +1 -0
- package/dist/_chunks/SequenceEditorEventBusService.js +102 -0
- package/dist/_chunks/SequenceEditorEventBusService.js.map +1 -0
- package/dist/_chunks/SequenceEditorMainPage.js +552 -0
- package/dist/_chunks/SequenceEditorMainPage.js.map +1 -0
- package/dist/_chunks/SequenceEditorPageDrawer.js +49842 -0
- package/dist/_chunks/SequenceEditorPageDrawer.js.map +1 -0
- package/dist/_chunks/SequenceEditorPageHeader.js +236 -0
- package/dist/_chunks/SequenceEditorPageHeader.js.map +1 -0
- package/dist/_chunks/SequenceEditorSearchBar.js +143 -0
- package/dist/_chunks/SequenceEditorSearchBar.js.map +1 -0
- package/dist/_chunks/TestIdUtil.js +4695 -0
- package/dist/_chunks/TestIdUtil.js.map +1 -0
- package/dist/_chunks/TextField.js +3083 -0
- package/dist/_chunks/TextField.js.map +1 -0
- package/dist/_chunks/rolldown-runtime.js +13 -0
- package/dist/_chunks/sequenceEditorStore.js +407 -0
- package/dist/_chunks/sequenceEditorStore.js.map +1 -0
- package/dist/_chunks/sequence_editor.js +517 -0
- package/dist/_chunks/sequence_editor.js.map +1 -0
- package/dist/_chunks/withDialog.js +289 -0
- package/dist/_chunks/withDialog.js.map +1 -0
- package/dist/assets/index-C5rc-pJV.js +8 -0
- package/dist/assets/index-C5rc-pJV.js.map +1 -0
- package/dist/classes/services/EditorWorkerService/EditorWorkerService.d.ts +27 -0
- package/dist/classes/services/EditorWorkerService/index.js +2 -0
- package/dist/classes/services/SequenceEditorEventBusService/SequenceEditorEventBusService.d.ts +25 -0
- package/dist/classes/services/SequenceEditorEventBusService/index.js +2 -0
- package/dist/classes/workers/EngineWorker/EngineWorker.d.ts +46 -0
- package/dist/classes/workers/EngineWorker/index.js +110 -0
- package/dist/classes/workers/EngineWorker/index.js.map +1 -0
- package/dist/components/app/App/App.d.ts +1 -0
- package/dist/components/app/App/index.js +957 -0
- package/dist/components/app/App/index.js.map +1 -0
- package/dist/components/pages/EmptyWorkspace.d.ts +3 -0
- package/dist/components/pages/SequenceEditorErrorPage/SequenceEditorErrorPage.d.ts +3 -0
- package/dist/components/pages/SequenceEditorErrorPage/index.js +12 -0
- package/dist/components/pages/SequenceEditorErrorPage/index.js.map +1 -0
- package/dist/components/pages/SequenceEditorMainPage/SequenceEditorMainPage.d.ts +1 -0
- package/dist/components/pages/SequenceEditorMainPage/index.js +2 -0
- package/dist/components/ui/SequenceEditor/SequenceEditor.d.ts +1 -0
- package/dist/components/ui/SequenceEditor/SequenceEditorGotoPositionDialog.d.ts +8 -0
- package/dist/components/ui/SequenceEditor/SequenceEditorStatusBar.d.ts +1 -0
- package/dist/components/ui/SequenceEditor/index.js +2 -0
- package/dist/components/ui/SequenceEditorPage/SequenceEditorPage.d.ts +5 -0
- package/dist/components/ui/SequenceEditorPage/index.js +15 -0
- package/dist/components/ui/SequenceEditorPage/index.js.map +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawer.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerColorForm.d.ts +7 -0
- package/dist/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerKeyboardShortcuts.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageDrawer/index.js +2 -0
- package/dist/components/ui/SequenceEditorPageHeader/SequenceEditorPageHeader.d.ts +1 -0
- package/dist/components/ui/SequenceEditorPageHeader/index.js +2 -0
- package/dist/components/ui/SequenceEditorSearchBar/SequenceEditorSearchBar.d.ts +1 -0
- package/dist/components/ui/SequenceEditorSearchBar/index.js +2 -0
- package/dist/constants/editor.d.ts +4 -0
- package/dist/constants/editor.js +14 -0
- package/dist/constants/editor.js.map +1 -0
- package/dist/constants/index.js +4 -0
- package/dist/constants/keyboard.d.ts +10 -0
- package/dist/constants/keyboard.js +179 -0
- package/dist/constants/keyboard.js.map +1 -0
- package/dist/constants/palette.d.ts +15 -0
- package/dist/constants/palette.js +196 -0
- package/dist/constants/palette.js.map +1 -0
- package/dist/models/editor.d.ts +6 -0
- package/dist/models/editor.js +8 -0
- package/dist/models/editor.js.map +1 -0
- package/dist/models/model.d.ts +250 -0
- package/dist/models/model.js +10 -0
- package/dist/models/model.js.map +1 -0
- package/dist/models/palette.d.ts +61 -0
- package/dist/models/palette.js +10 -0
- package/dist/models/palette.js.map +1 -0
- package/dist/stores/sequenceEditorStore/index.js +2 -0
- package/dist/stores/sequenceEditorStore/sequenceEditorStore.d.ts +36 -0
- package/dist/utils/EditorUtil/EditorUtil.d.ts +96 -0
- package/dist/utils/EditorUtil/index.js +544 -0
- package/dist/utils/EditorUtil/index.js.map +1 -0
- package/dist/utils/EngineErrorUtil/EngineErrorUtil.d.ts +4 -0
- package/dist/utils/PaletteUtil/PaletteUtil.d.ts +6 -0
- package/dist/utils/PaletteUtil/index.js +19 -0
- package/dist/utils/PaletteUtil/index.js.map +1 -0
- package/package.json +5 -2
- package/.gitkeep +0 -0
- package/CHANGELOG.md +0 -37
- package/eslint.config.js +0 -16
- package/scripts/update-exports.js +0 -9
- package/src/classes/services/EditorWorkerService/EditorWorkerService.ts +0 -163
- package/src/classes/services/SequenceEditorEventBusService/SequenceEditorEventBusService.ts +0 -37
- package/src/classes/workers/EngineWorker/EngineWorker.ts +0 -196
- package/src/components/app/App/App.tsx +0 -22
- package/src/components/pages/EmptyWorkspace.tsx +0 -43
- package/src/components/pages/SequenceEditorErrorPage/SequenceEditorErrorPage.tsx +0 -16
- package/src/components/pages/SequenceEditorMainPage/SequenceEditorMainPage.tsx +0 -76
- package/src/components/ui/SequenceEditor/SequenceEditor.tsx +0 -896
- package/src/components/ui/SequenceEditor/SequenceEditorGotoPositionDialog.tsx +0 -108
- package/src/components/ui/SequenceEditor/SequenceEditorStatusBar.tsx +0 -72
- package/src/components/ui/SequenceEditorPage/SequenceEditorPage.tsx +0 -23
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawer.tsx +0 -234
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerColorForm.tsx +0 -73
- package/src/components/ui/SequenceEditorPageDrawer/SequenceEditorPageDrawerKeyboardShortcuts.tsx +0 -230
- package/src/components/ui/SequenceEditorPageHeader/SequenceEditorPageHeader.tsx +0 -71
- package/src/components/ui/SequenceEditorSearchBar/SequenceEditorSearchBar.tsx +0 -35
- package/src/constants/editor.ts +0 -15
- package/src/constants/keyboard.ts +0 -154
- package/src/constants/palette.ts +0 -227
- package/src/models/editor.ts +0 -6
- package/src/models/model.ts +0 -295
- package/src/models/palette.ts +0 -68
- package/src/stores/sequenceEditorStore/sequenceEditorStore.ts +0 -103
- package/src/utils/EditorUtil/EditorUtil.ts +0 -892
- package/src/utils/EngineErrorUtil/EngineErrorUtil.ts +0 -25
- package/src/utils/PaletteUtil/PaletteUtil.ts +0 -31
- package/tsconfig.build.json +0 -14
- package/tsconfig.json +0 -32
- package/vite.config.ts +0 -177
- /package/{src/classes/services/EditorWorkerService/index.ts → dist/classes/services/EditorWorkerService/index.d.ts} +0 -0
- /package/{src/classes/services/SequenceEditorEventBusService/index.ts → dist/classes/services/SequenceEditorEventBusService/index.d.ts} +0 -0
- /package/{src/classes/workers/EngineWorker/index.ts → dist/classes/workers/EngineWorker/index.d.ts} +0 -0
- /package/{src/components/app/App/index.ts → dist/components/app/App/index.d.ts} +0 -0
- /package/{src/components/pages/SequenceEditorErrorPage/index.ts → dist/components/pages/SequenceEditorErrorPage/index.d.ts} +0 -0
- /package/{src/components/pages/SequenceEditorMainPage/index.ts → dist/components/pages/SequenceEditorMainPage/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditor/index.ts → dist/components/ui/SequenceEditor/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPage/index.ts → dist/components/ui/SequenceEditorPage/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPageDrawer/index.ts → dist/components/ui/SequenceEditorPageDrawer/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorPageHeader/index.ts → dist/components/ui/SequenceEditorPageHeader/index.d.ts} +0 -0
- /package/{src/components/ui/SequenceEditorSearchBar/index.ts → dist/components/ui/SequenceEditorSearchBar/index.d.ts} +0 -0
- /package/{src/constants/index.ts → dist/constants/index.d.ts} +0 -0
- /package/{src/models/index.ts → dist/models/index.d.ts} +0 -0
- /package/{src/stores/sequenceEditorStore/index.ts → dist/stores/sequenceEditorStore/index.d.ts} +0 -0
- /package/{src/utils/EditorUtil/index.ts → dist/utils/EditorUtil/index.d.ts} +0 -0
- /package/{src/utils/PaletteUtil/index.ts → dist/utils/PaletteUtil/index.d.ts} +0 -0
|
@@ -0,0 +1,4695 @@
|
|
|
1
|
+
import { n as e, t } from "./rolldown-runtime.js";
|
|
2
|
+
import { $ as n, A as r, B as i, C as a, D as o, Dt as s, H as c, I as l, K as u, L as d, Lt as f, M as p, O as m, Ot as h, P as g, Q as _, R as v, T as y, V as b, W as x, a as S, b as C, d as w, dt as T, f as E, ft as D, g as O, h as k, j as A, k as j, l as M, m as N, o as P, ot as F, p as I, s as L, st as R, tt as ee, u as te, ut as z, w as B, x as V, y as ne, z as H } from "./Box.js";
|
|
3
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/exactProp/exactProp.mjs
|
|
4
|
+
var re = "exact-prop: ";
|
|
5
|
+
function ie(e) {
|
|
6
|
+
return process.env.NODE_ENV === "production" ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
[re]: (t) => {
|
|
9
|
+
let n = Object.keys(t).filter((t) => !e.hasOwnProperty(t));
|
|
10
|
+
return n.length > 0 ? /* @__PURE__ */ Error(`The following props are not supported: ${n.map((e) => `\`${e}\``).join(", ")}. Please remove them.`) : null;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../../../node_modules/.pnpm/@mui+system@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-colo_32d5b560e7df1e0e32825774190c62b4/node_modules/@mui/system/RtlProvider/index.mjs
|
|
16
|
+
var U = /* @__PURE__ */ e(f(), 1), W = /* @__PURE__ */ e(h(), 1), G = s(), K = /*#__PURE__*/ U.createContext();
|
|
17
|
+
function ae({ value: e, ...t }) {
|
|
18
|
+
return /*#__PURE__*/ (0, G.jsx)(K.Provider, {
|
|
19
|
+
value: e ?? !0,
|
|
20
|
+
...t
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
process.env.NODE_ENV !== "production" && (ae.propTypes = {
|
|
24
|
+
children: W.default.node,
|
|
25
|
+
value: W.default.bool
|
|
26
|
+
});
|
|
27
|
+
var oe = () => U.useContext(K) ?? !1;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/createChainedFunction/createChainedFunction.mjs
|
|
30
|
+
function q(...e) {
|
|
31
|
+
return e.reduce((e, t) => t == null ? e : function(...n) {
|
|
32
|
+
e.apply(this, n), t.apply(this, n);
|
|
33
|
+
}, () => {});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/debounce.mjs
|
|
37
|
+
var se = i, ce = l;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/setRef/setRef.mjs
|
|
40
|
+
function le(e, t) {
|
|
41
|
+
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/useControlled/useControlled.mjs
|
|
45
|
+
function ue(e) {
|
|
46
|
+
let { controlled: t, default: n, name: r, state: i = "value" } = e, { current: a } = U.useRef(t !== void 0), [o, s] = U.useState(n), c = a ? t : o;
|
|
47
|
+
if (process.env.NODE_ENV !== "production") {
|
|
48
|
+
U.useEffect(() => {
|
|
49
|
+
a !== (t !== void 0) && console.error([
|
|
50
|
+
`MUI: A component is changing the ${a ? "" : "un"}controlled ${i} state of ${r} to be ${a ? "un" : ""}controlled.`,
|
|
51
|
+
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
52
|
+
`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,
|
|
53
|
+
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
54
|
+
"More info: https://fb.me/react-controlled-components"
|
|
55
|
+
].join("\n"));
|
|
56
|
+
}, [
|
|
57
|
+
i,
|
|
58
|
+
r,
|
|
59
|
+
t
|
|
60
|
+
]);
|
|
61
|
+
let { current: e } = U.useRef(n);
|
|
62
|
+
U.useEffect(() => {
|
|
63
|
+
!a && JSON.stringify(n) !== JSON.stringify(e) && console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"));
|
|
64
|
+
}, [JSON.stringify(n)]);
|
|
65
|
+
}
|
|
66
|
+
return [c, U.useCallback((e) => {
|
|
67
|
+
a || s(e);
|
|
68
|
+
}, [])];
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/useControlled.mjs
|
|
72
|
+
var de = ue;
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/isEventHandler/isEventHandler.mjs
|
|
75
|
+
function fe(e, t) {
|
|
76
|
+
let n = e.charCodeAt(2);
|
|
77
|
+
return e[0] === "o" && e[1] === "n" && n >= 65 && n <= 90 && typeof t == "function";
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/mergeSlotProps.mjs
|
|
81
|
+
function pe(e, t) {
|
|
82
|
+
if (!e) return t;
|
|
83
|
+
function n(e, t) {
|
|
84
|
+
let n = {};
|
|
85
|
+
return Object.keys(t).forEach((r) => {
|
|
86
|
+
fe(r, t[r]) && typeof e[r] == "function" && (n[r] = (...n) => {
|
|
87
|
+
e[r](...n), t[r](...n);
|
|
88
|
+
});
|
|
89
|
+
}), n;
|
|
90
|
+
}
|
|
91
|
+
if (typeof e == "function" || typeof t == "function") return (r) => {
|
|
92
|
+
let i = typeof t == "function" ? t(r) : t, a = typeof e == "function" ? e({
|
|
93
|
+
...r,
|
|
94
|
+
...i
|
|
95
|
+
}) : e, o = D(r?.className, i?.className, a?.className), s = n(a, i);
|
|
96
|
+
return {
|
|
97
|
+
...i,
|
|
98
|
+
...a,
|
|
99
|
+
...s,
|
|
100
|
+
...!!o && { className: o },
|
|
101
|
+
...i?.style && a?.style && { style: {
|
|
102
|
+
...i.style,
|
|
103
|
+
...a.style
|
|
104
|
+
} },
|
|
105
|
+
...i?.sx && a?.sx && { sx: [...Array.isArray(i.sx) ? i.sx : [i.sx], ...Array.isArray(a.sx) ? a.sx : [a.sx]] }
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
let r = t, i = n(e, r), a = D(r?.className, e?.className);
|
|
109
|
+
return {
|
|
110
|
+
...t,
|
|
111
|
+
...e,
|
|
112
|
+
...i,
|
|
113
|
+
...!!a && { className: a },
|
|
114
|
+
...r?.style && e?.style && { style: {
|
|
115
|
+
...r.style,
|
|
116
|
+
...e.style
|
|
117
|
+
} },
|
|
118
|
+
...r?.sx && e?.sx && { sx: [...Array.isArray(r.sx) ? r.sx : [r.sx], ...Array.isArray(e.sx) ? e.sx : [e.sx]] }
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/useValueAsRef/useValueAsRef.mjs
|
|
123
|
+
function me(e) {
|
|
124
|
+
let t = I(() => he(e)).current;
|
|
125
|
+
return t.next = e, F(t.effect), t;
|
|
126
|
+
}
|
|
127
|
+
function he(e) {
|
|
128
|
+
let t = {
|
|
129
|
+
current: e,
|
|
130
|
+
next: e,
|
|
131
|
+
effect: () => {
|
|
132
|
+
t.current = t.next;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
return t;
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region ../../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-transition-group/esm/TransitionGroupContext.js
|
|
139
|
+
var ge = U.createContext(null);
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/internal/Transition.mjs
|
|
142
|
+
function _e(e) {
|
|
143
|
+
if (e == null) return {
|
|
144
|
+
appear: void 0,
|
|
145
|
+
enter: void 0,
|
|
146
|
+
exit: void 0
|
|
147
|
+
};
|
|
148
|
+
if (typeof e == "number") return {
|
|
149
|
+
appear: e,
|
|
150
|
+
enter: e,
|
|
151
|
+
exit: e
|
|
152
|
+
};
|
|
153
|
+
let t = e.enter, n = e.exit;
|
|
154
|
+
return {
|
|
155
|
+
appear: e.appear === void 0 ? t : e.appear,
|
|
156
|
+
enter: t,
|
|
157
|
+
exit: n
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function ve(e) {
|
|
161
|
+
if (e.autoTimeout != null) return e.autoTimeout;
|
|
162
|
+
let t = _e(e.timeout);
|
|
163
|
+
return e.currentStatus === "entering" ? e.isAppearing ? t.appear ?? t.enter ?? null : t.enter ?? null : t.exit ?? null;
|
|
164
|
+
}
|
|
165
|
+
function ye(e) {
|
|
166
|
+
let { in: t = !1, appear: n = !1, enter: r = !0, exit: i = !0, mountOnEnter: a = !1, unmountOnExit: o = !1, timeout: s, addEndListener: c, reduceMotion: l = !1, getAutoTimeout: u, nodeRef: d, onEnter: f, onEntering: p, onEntered: m, onExit: h, onExiting: g, onExited: _, children: v, ...y } = e, b = U.useContext(ge), x = b && !b.isMounting ? r : n, [S, C] = U.useState(() => t ? x ? "exited" : "entered" : a || o ? "unmounted" : "exited"), w = U.useRef(S);
|
|
167
|
+
w.current = S, t && S === "unmounted" && (w.current = "exited", C("exited"));
|
|
168
|
+
let T = U.useRef(t && x), E = U.useRef(!1), D = U.useRef(null), O = U.useRef(S), k = U.useRef(!1), A = U.useRef(l), j = me({
|
|
169
|
+
timeout: s,
|
|
170
|
+
addEndListener: c,
|
|
171
|
+
reduceMotion: l,
|
|
172
|
+
getAutoTimeout: u,
|
|
173
|
+
onEnter: f,
|
|
174
|
+
onEntering: p,
|
|
175
|
+
onEntered: m,
|
|
176
|
+
onExit: h,
|
|
177
|
+
onExiting: g,
|
|
178
|
+
onExited: _,
|
|
179
|
+
enter: r,
|
|
180
|
+
exit: i,
|
|
181
|
+
mountOnEnter: a,
|
|
182
|
+
unmountOnExit: o,
|
|
183
|
+
nodeRef: d,
|
|
184
|
+
parentGroup: b
|
|
185
|
+
}), M = U.useCallback(() => {
|
|
186
|
+
D.current !== null && (D.current.cancel(), D.current = null);
|
|
187
|
+
}, []), N = U.useCallback((e) => {
|
|
188
|
+
let t = !0, n = () => {
|
|
189
|
+
t && (t = !1, D.current = null, e());
|
|
190
|
+
};
|
|
191
|
+
return n.cancel = () => {
|
|
192
|
+
t = !1;
|
|
193
|
+
}, D.current = n, n;
|
|
194
|
+
}, []), P = U.useCallback((e, t) => {
|
|
195
|
+
let n, r = () => {
|
|
196
|
+
n !== void 0 && (clearTimeout(n), n = void 0);
|
|
197
|
+
}, i = N(() => {
|
|
198
|
+
r(), w.current = e, C(e);
|
|
199
|
+
}), a = i.cancel;
|
|
200
|
+
i.cancel = () => {
|
|
201
|
+
r(), a();
|
|
202
|
+
};
|
|
203
|
+
let o = j.current.nodeRef.current, s = j.current.addEndListener, c = j.current.getAutoTimeout !== void 0, l = j.current.getAutoTimeout?.(), u = ve({
|
|
204
|
+
currentStatus: t,
|
|
205
|
+
isAppearing: k.current,
|
|
206
|
+
timeout: j.current.timeout,
|
|
207
|
+
autoTimeout: l
|
|
208
|
+
}), d = A.current, f = u ?? (d && c ? 0 : null), p = (e) => {
|
|
209
|
+
n = setTimeout(i, e);
|
|
210
|
+
};
|
|
211
|
+
if (!o) {
|
|
212
|
+
process.env.NODE_ENV !== "production" && console.warn([
|
|
213
|
+
"MUI: The transition child does not expose a DOM element.",
|
|
214
|
+
"Make sure the child accepts a ref and forwards it to the underlying DOM element.",
|
|
215
|
+
"The transition animation cannot be observed without a DOM element and will be skipped."
|
|
216
|
+
].join("\n")), p(0);
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (s) {
|
|
220
|
+
f != null && p(d ? 0 : f), s.length >= 2 ? s(o, i) : s(i);
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
p(d ? 0 : u ?? 0);
|
|
224
|
+
}, [N, j]), I = U.useCallback((e) => {
|
|
225
|
+
let t = j.current, n = t.parentGroup ? t.parentGroup.isMounting : e;
|
|
226
|
+
if (k.current = n, !e && !t.enter) {
|
|
227
|
+
w.current = "entered", C("entered");
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
A.current = t.reduceMotion, t.onEnter?.(n), w.current = "entering", C("entering");
|
|
231
|
+
}, [j]), L = U.useCallback(() => {
|
|
232
|
+
let e = j.current;
|
|
233
|
+
if (!e.exit) {
|
|
234
|
+
w.current = "exited", C("exited");
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
A.current = e.reduceMotion, e.onExit?.(), w.current = "exiting", C("exiting");
|
|
238
|
+
}, [j]), R = U.useCallback((e, t) => {
|
|
239
|
+
if (M(), t === "entering") {
|
|
240
|
+
let t = j.current;
|
|
241
|
+
if (t.mountOnEnter || t.unmountOnExit) {
|
|
242
|
+
let e = t.nodeRef.current;
|
|
243
|
+
e && B(e);
|
|
244
|
+
}
|
|
245
|
+
I(e);
|
|
246
|
+
} else L();
|
|
247
|
+
}, [
|
|
248
|
+
M,
|
|
249
|
+
I,
|
|
250
|
+
L,
|
|
251
|
+
j
|
|
252
|
+
]);
|
|
253
|
+
return F(() => (E.current = !0, T.current && (T.current = !1, R(!0, "entering")), () => {
|
|
254
|
+
E.current = !1, M();
|
|
255
|
+
}), [M, R]), F(() => {
|
|
256
|
+
if (!E.current) return;
|
|
257
|
+
let e = w.current;
|
|
258
|
+
t ? e !== "entering" && e !== "entered" && R(!1, "entering") : e === "entering" || e === "entered" ? R(!1, "exiting") : e === "exited" && o && (w.current = "unmounted", C("unmounted"));
|
|
259
|
+
}, [
|
|
260
|
+
t,
|
|
261
|
+
S,
|
|
262
|
+
o,
|
|
263
|
+
R
|
|
264
|
+
]), F(() => {
|
|
265
|
+
if (S === "unmounted" || O.current === "unmounted") {
|
|
266
|
+
O.current = S;
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
let e = O.current !== S;
|
|
270
|
+
e && (O.current = S);
|
|
271
|
+
let t = j.current;
|
|
272
|
+
S === "entering" ? (e && t.onEntering?.(k.current), D.current === null && w.current === S && P("entered", "entering")) : S === "exiting" ? (e && t.onExiting?.(), D.current === null && w.current === S && P("exited", "exiting")) : S === "entered" && e ? t.onEntered?.(k.current) : S === "exited" && e && t.onExited?.();
|
|
273
|
+
}, [
|
|
274
|
+
j,
|
|
275
|
+
P,
|
|
276
|
+
S
|
|
277
|
+
]), S === "unmounted" ? null : /*#__PURE__*/ (0, G.jsx)(ge.Provider, {
|
|
278
|
+
value: null,
|
|
279
|
+
children: v(S, y)
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
283
|
+
addEndListener: W.default.func,
|
|
284
|
+
appear: W.default.bool,
|
|
285
|
+
children: W.default.func.isRequired,
|
|
286
|
+
enter: W.default.bool,
|
|
287
|
+
exit: W.default.bool,
|
|
288
|
+
getAutoTimeout: W.default.func,
|
|
289
|
+
in: W.default.bool,
|
|
290
|
+
mountOnEnter: W.default.bool,
|
|
291
|
+
nodeRef: W.default.shape({ current: (e, t) => e[t] == null ? null : typeof e[t] != "object" || e[t].nodeType !== 1 ? /* @__PURE__ */ Error(`Expected prop '${t}' to be of type Element`) : null }).isRequired,
|
|
292
|
+
onEnter: W.default.func,
|
|
293
|
+
onEntered: W.default.func,
|
|
294
|
+
onEntering: W.default.func,
|
|
295
|
+
onExit: W.default.func,
|
|
296
|
+
onExited: W.default.func,
|
|
297
|
+
onExiting: W.default.func,
|
|
298
|
+
reduceMotion: W.default.bool,
|
|
299
|
+
timeout: W.default.oneOfType([W.default.number, W.default.shape({
|
|
300
|
+
appear: W.default.number,
|
|
301
|
+
enter: W.default.number,
|
|
302
|
+
exit: W.default.number
|
|
303
|
+
})]),
|
|
304
|
+
unmountOnExit: W.default.bool
|
|
305
|
+
});
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/appendOwnerState/appendOwnerState.mjs
|
|
308
|
+
function be(e, t, n) {
|
|
309
|
+
return e === void 0 || b(e) ? t : {
|
|
310
|
+
...t,
|
|
311
|
+
ownerState: {
|
|
312
|
+
...t.ownerState,
|
|
313
|
+
...n
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/resolveComponentProps/resolveComponentProps.mjs
|
|
319
|
+
function xe(e, t, n) {
|
|
320
|
+
return typeof e == "function" ? e(t, n) : e;
|
|
321
|
+
}
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/extractEventHandlers/extractEventHandlers.mjs
|
|
324
|
+
function Se(e) {
|
|
325
|
+
if (e === void 0) return {};
|
|
326
|
+
let t = {};
|
|
327
|
+
for (let n of Object.keys(e)) fe(n, e[n]) && (t[n] = e[n]);
|
|
328
|
+
return t;
|
|
329
|
+
}
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/omitEventHandlers/omitEventHandlers.mjs
|
|
332
|
+
function Ce(e) {
|
|
333
|
+
if (e === void 0) return {};
|
|
334
|
+
let t = {};
|
|
335
|
+
return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((n) => {
|
|
336
|
+
t[n] = e[n];
|
|
337
|
+
}), t;
|
|
338
|
+
}
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/mergeSlotProps/mergeSlotProps.mjs
|
|
341
|
+
function we(e) {
|
|
342
|
+
let { getSlotProps: t, additionalProps: n, externalSlotProps: r, externalForwardedProps: i, className: a } = e;
|
|
343
|
+
if (!t) {
|
|
344
|
+
let e = D(n?.className, a, i?.className, r?.className), t = {
|
|
345
|
+
...n?.style,
|
|
346
|
+
...i?.style,
|
|
347
|
+
...r?.style
|
|
348
|
+
}, o = {
|
|
349
|
+
...n,
|
|
350
|
+
...i,
|
|
351
|
+
...r
|
|
352
|
+
};
|
|
353
|
+
return e.length > 0 && (o.className = e), Object.keys(t).length > 0 && (o.style = t), {
|
|
354
|
+
props: o,
|
|
355
|
+
internalRef: void 0
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
let o = Se({
|
|
359
|
+
...i,
|
|
360
|
+
...r
|
|
361
|
+
}), s = Ce(r), c = Ce(i), l = t(o), u = D(l?.className, n?.className, a, i?.className, r?.className), d = {
|
|
362
|
+
...l?.style,
|
|
363
|
+
...n?.style,
|
|
364
|
+
...i?.style,
|
|
365
|
+
...r?.style
|
|
366
|
+
}, f = {
|
|
367
|
+
...l,
|
|
368
|
+
...n,
|
|
369
|
+
...c,
|
|
370
|
+
...s
|
|
371
|
+
};
|
|
372
|
+
return u.length > 0 && (f.className = u), Object.keys(d).length > 0 && (f.style = d), {
|
|
373
|
+
props: f,
|
|
374
|
+
internalRef: l.ref
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
//#endregion
|
|
378
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/useSlot.mjs
|
|
379
|
+
function J(e, t) {
|
|
380
|
+
let { className: n, elementType: r, ownerState: i, externalForwardedProps: a, internalForwardedProps: o, shouldForwardComponentProp: s = !1, ...c } = t, { component: l, slots: u = { [e]: void 0 }, slotProps: d = { [e]: void 0 }, ...f } = a, p = u[e] || r, m = xe(d[e], i), { props: { component: h, ...g }, internalRef: _ } = we({
|
|
381
|
+
className: n,
|
|
382
|
+
...c,
|
|
383
|
+
externalForwardedProps: e === "root" ? f : void 0,
|
|
384
|
+
externalSlotProps: m
|
|
385
|
+
}), v = H(_, m?.ref, t.ref), y = e === "root" ? h || l : h;
|
|
386
|
+
return [p, be(p, {
|
|
387
|
+
...e === "root" && !l && !u[e] && o,
|
|
388
|
+
...e !== "root" && !u[e] && o,
|
|
389
|
+
...g,
|
|
390
|
+
...y && !s && { as: y },
|
|
391
|
+
...y && s && { component: y },
|
|
392
|
+
ref: v
|
|
393
|
+
}, i)];
|
|
394
|
+
}
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/integerPropType/integerPropType.mjs
|
|
397
|
+
function Te(e) {
|
|
398
|
+
let t = typeof e;
|
|
399
|
+
switch (t) {
|
|
400
|
+
case "number": return Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? e === Math.floor(e) ? "number" : "float" : "Infinity";
|
|
401
|
+
case "object": return e === null ? "null" : e.constructor.name;
|
|
402
|
+
default: return t;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
function Y(e, t, n, r) {
|
|
406
|
+
let i = e[t];
|
|
407
|
+
if (i == null || !Number.isInteger(i)) {
|
|
408
|
+
let e = Te(i);
|
|
409
|
+
return /* @__PURE__ */ RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`);
|
|
410
|
+
}
|
|
411
|
+
return null;
|
|
412
|
+
}
|
|
413
|
+
function Ee(e, t, n, r) {
|
|
414
|
+
return e[t] === void 0 ? null : Y(e, t, n, r);
|
|
415
|
+
}
|
|
416
|
+
function De() {
|
|
417
|
+
return null;
|
|
418
|
+
}
|
|
419
|
+
Ee.isRequired = Y, De.isRequired = De;
|
|
420
|
+
var Oe = process.env.NODE_ENV === "production" ? De : Ee;
|
|
421
|
+
//#endregion
|
|
422
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Paper/paperClasses.mjs
|
|
423
|
+
function ke(e) {
|
|
424
|
+
return T("MuiPaper", e);
|
|
425
|
+
}
|
|
426
|
+
z("MuiPaper", /* @__PURE__ */ "root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24".split("."));
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Paper/Paper.mjs
|
|
429
|
+
var Ae = (e) => {
|
|
430
|
+
let { square: t, elevation: n, variant: r, classes: i } = e, a = { root: [
|
|
431
|
+
"root",
|
|
432
|
+
r,
|
|
433
|
+
!t && "rounded",
|
|
434
|
+
r === "elevation" && `elevation${n}`
|
|
435
|
+
] };
|
|
436
|
+
return _(a, ke, i);
|
|
437
|
+
}, je = A("div", {
|
|
438
|
+
name: "MuiPaper",
|
|
439
|
+
slot: "Root",
|
|
440
|
+
overridesResolver: (e, t) => {
|
|
441
|
+
let { ownerState: n } = e;
|
|
442
|
+
return [
|
|
443
|
+
t.root,
|
|
444
|
+
t[n.variant],
|
|
445
|
+
!n.square && t.rounded,
|
|
446
|
+
n.variant === "elevation" && t[`elevation${n.elevation}`]
|
|
447
|
+
];
|
|
448
|
+
}
|
|
449
|
+
})(r(({ theme: e }) => ({
|
|
450
|
+
backgroundColor: (e.vars || e).palette.background.paper,
|
|
451
|
+
color: (e.vars || e).palette.text.primary,
|
|
452
|
+
...V(e, "box-shadow"),
|
|
453
|
+
variants: [
|
|
454
|
+
{
|
|
455
|
+
props: ({ ownerState: e }) => !e.square,
|
|
456
|
+
style: { borderRadius: e.shape.borderRadius }
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
props: { variant: "outlined" },
|
|
460
|
+
style: { border: `1px solid ${(e.vars || e).palette.divider}` }
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
props: { variant: "elevation" },
|
|
464
|
+
style: {
|
|
465
|
+
boxShadow: "var(--Paper-shadow)",
|
|
466
|
+
backgroundImage: "var(--Paper-overlay)"
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
}))), Me = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
471
|
+
let n = j({
|
|
472
|
+
props: e,
|
|
473
|
+
name: "MuiPaper"
|
|
474
|
+
}), r = g(), { className: i, component: a = "div", elevation: o = 1, square: s = !1, variant: c = "elevation", ...l } = n, d = {
|
|
475
|
+
...n,
|
|
476
|
+
component: a,
|
|
477
|
+
elevation: o,
|
|
478
|
+
square: s,
|
|
479
|
+
variant: c
|
|
480
|
+
}, f = Ae(d);
|
|
481
|
+
return process.env.NODE_ENV !== "production" && r.shadows[o] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${o}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${o}]\` is defined.`].join("\n")), /*#__PURE__*/ (0, G.jsx)(je, {
|
|
482
|
+
as: a,
|
|
483
|
+
ownerState: d,
|
|
484
|
+
className: D(f.root, i),
|
|
485
|
+
ref: t,
|
|
486
|
+
...l,
|
|
487
|
+
style: {
|
|
488
|
+
...c === "elevation" && {
|
|
489
|
+
"--Paper-shadow": (r.vars || r).shadows[o],
|
|
490
|
+
...r.vars && { "--Paper-overlay": r.vars.overlays?.[o] },
|
|
491
|
+
...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${ee("#fff", u(o))}, ${ee("#fff", u(o))})` }
|
|
492
|
+
},
|
|
493
|
+
...l.style
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
process.env.NODE_ENV !== "production" && (Me.propTypes = {
|
|
498
|
+
children: W.default.node,
|
|
499
|
+
classes: W.default.object,
|
|
500
|
+
className: W.default.string,
|
|
501
|
+
component: W.default.elementType,
|
|
502
|
+
elevation: x(Oe, (e) => {
|
|
503
|
+
let { elevation: t, variant: n } = e;
|
|
504
|
+
return t > 0 && n === "outlined" ? /* @__PURE__ */ Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
|
|
505
|
+
}),
|
|
506
|
+
square: W.default.bool,
|
|
507
|
+
style: W.default.object,
|
|
508
|
+
sx: W.default.oneOfType([
|
|
509
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
510
|
+
W.default.func,
|
|
511
|
+
W.default.object,
|
|
512
|
+
W.default.bool
|
|
513
|
+
])),
|
|
514
|
+
W.default.func,
|
|
515
|
+
W.default.object
|
|
516
|
+
]),
|
|
517
|
+
variant: W.default.oneOfType([W.default.oneOf(["elevation", "outlined"]), W.default.string])
|
|
518
|
+
});
|
|
519
|
+
//#endregion
|
|
520
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/contains/contains.mjs
|
|
521
|
+
function Ne(e, t) {
|
|
522
|
+
if (!e || !t) return !1;
|
|
523
|
+
if (e.contains(t)) return !0;
|
|
524
|
+
let n = t.getRootNode?.();
|
|
525
|
+
if (n && n instanceof ShadowRoot) {
|
|
526
|
+
let n = t;
|
|
527
|
+
for (; n;) {
|
|
528
|
+
if (e === n) return !0;
|
|
529
|
+
n = n.parentNode ?? n.host ?? null;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
return !1;
|
|
533
|
+
}
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/HTMLElementType/HTMLElementType.mjs
|
|
536
|
+
function Pe(e, t, n, r, i) {
|
|
537
|
+
if (process.env.NODE_ENV === "production") return null;
|
|
538
|
+
let a = e[t], o = i || t;
|
|
539
|
+
return a == null ? null : a && a.nodeType !== 1 ? /* @__PURE__ */ Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
|
|
540
|
+
}
|
|
541
|
+
var X = "bottom", Fe = "right", Ie = "left", Le = "auto", Re = [
|
|
542
|
+
"top",
|
|
543
|
+
X,
|
|
544
|
+
Fe,
|
|
545
|
+
Ie
|
|
546
|
+
], ze = "start", Be = "clippingParents", Ve = "viewport", He = "popper", Ue = "reference", We = /*#__PURE__*/ Re.reduce(function(e, t) {
|
|
547
|
+
return e.concat([t + "-" + ze, t + "-end"]);
|
|
548
|
+
}, []), Ge = /*#__PURE__*/ [].concat(Re, [Le]).reduce(function(e, t) {
|
|
549
|
+
return e.concat([
|
|
550
|
+
t,
|
|
551
|
+
t + "-" + ze,
|
|
552
|
+
t + "-end"
|
|
553
|
+
]);
|
|
554
|
+
}, []), Ke = [
|
|
555
|
+
"beforeRead",
|
|
556
|
+
"read",
|
|
557
|
+
"afterRead",
|
|
558
|
+
"beforeMain",
|
|
559
|
+
"main",
|
|
560
|
+
"afterMain",
|
|
561
|
+
"beforeWrite",
|
|
562
|
+
"write",
|
|
563
|
+
"afterWrite"
|
|
564
|
+
];
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
|
|
567
|
+
function qe(e) {
|
|
568
|
+
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
572
|
+
function Z(e) {
|
|
573
|
+
if (e == null) return window;
|
|
574
|
+
if (e.toString() !== "[object Window]") {
|
|
575
|
+
var t = e.ownerDocument;
|
|
576
|
+
return t && t.defaultView || window;
|
|
577
|
+
}
|
|
578
|
+
return e;
|
|
579
|
+
}
|
|
580
|
+
//#endregion
|
|
581
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
|
|
582
|
+
function Je(e) {
|
|
583
|
+
return e instanceof Z(e).Element || e instanceof Element;
|
|
584
|
+
}
|
|
585
|
+
function Q(e) {
|
|
586
|
+
return e instanceof Z(e).HTMLElement || e instanceof HTMLElement;
|
|
587
|
+
}
|
|
588
|
+
function Ye(e) {
|
|
589
|
+
return typeof ShadowRoot > "u" ? !1 : e instanceof Z(e).ShadowRoot || e instanceof ShadowRoot;
|
|
590
|
+
}
|
|
591
|
+
//#endregion
|
|
592
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js
|
|
593
|
+
function Xe(e) {
|
|
594
|
+
var t = e.state;
|
|
595
|
+
Object.keys(t.elements).forEach(function(e) {
|
|
596
|
+
var n = t.styles[e] || {}, r = t.attributes[e] || {}, i = t.elements[e];
|
|
597
|
+
Q(i) && qe(i) && (Object.assign(i.style, n), Object.keys(r).forEach(function(e) {
|
|
598
|
+
var t = r[e];
|
|
599
|
+
t === !1 ? i.removeAttribute(e) : i.setAttribute(e, t === !0 ? "" : t);
|
|
600
|
+
}));
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
function Ze(e) {
|
|
604
|
+
var t = e.state, n = {
|
|
605
|
+
popper: {
|
|
606
|
+
position: t.options.strategy,
|
|
607
|
+
left: "0",
|
|
608
|
+
top: "0",
|
|
609
|
+
margin: "0"
|
|
610
|
+
},
|
|
611
|
+
arrow: { position: "absolute" },
|
|
612
|
+
reference: {}
|
|
613
|
+
};
|
|
614
|
+
return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
|
|
615
|
+
Object.keys(t.elements).forEach(function(e) {
|
|
616
|
+
var r = t.elements[e], i = t.attributes[e] || {}, a = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce(function(e, t) {
|
|
617
|
+
return e[t] = "", e;
|
|
618
|
+
}, {});
|
|
619
|
+
Q(r) && qe(r) && (Object.assign(r.style, a), Object.keys(i).forEach(function(e) {
|
|
620
|
+
r.removeAttribute(e);
|
|
621
|
+
}));
|
|
622
|
+
});
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
var Qe = {
|
|
626
|
+
name: "applyStyles",
|
|
627
|
+
enabled: !0,
|
|
628
|
+
phase: "write",
|
|
629
|
+
fn: Xe,
|
|
630
|
+
effect: Ze,
|
|
631
|
+
requires: ["computeStyles"]
|
|
632
|
+
};
|
|
633
|
+
//#endregion
|
|
634
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js
|
|
635
|
+
function $e(e) {
|
|
636
|
+
return e.split("-")[0];
|
|
637
|
+
}
|
|
638
|
+
//#endregion
|
|
639
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js
|
|
640
|
+
var et = Math.max, tt = Math.min, nt = Math.round;
|
|
641
|
+
//#endregion
|
|
642
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js
|
|
643
|
+
function rt() {
|
|
644
|
+
var e = navigator.userAgentData;
|
|
645
|
+
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(e) {
|
|
646
|
+
return e.brand + "/" + e.version;
|
|
647
|
+
}).join(" ") : navigator.userAgent;
|
|
648
|
+
}
|
|
649
|
+
//#endregion
|
|
650
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js
|
|
651
|
+
function it() {
|
|
652
|
+
return !/^((?!chrome|android).)*safari/i.test(rt());
|
|
653
|
+
}
|
|
654
|
+
//#endregion
|
|
655
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
656
|
+
function at(e, t, n) {
|
|
657
|
+
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
658
|
+
var r = e.getBoundingClientRect(), i = 1, a = 1;
|
|
659
|
+
t && Q(e) && (i = e.offsetWidth > 0 && nt(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && nt(r.height) / e.offsetHeight || 1);
|
|
660
|
+
var o = (Je(e) ? Z(e) : window).visualViewport, s = !it() && n, c = (r.left + (s && o ? o.offsetLeft : 0)) / i, l = (r.top + (s && o ? o.offsetTop : 0)) / a, u = r.width / i, d = r.height / a;
|
|
661
|
+
return {
|
|
662
|
+
width: u,
|
|
663
|
+
height: d,
|
|
664
|
+
top: l,
|
|
665
|
+
right: c + u,
|
|
666
|
+
bottom: l + d,
|
|
667
|
+
left: c,
|
|
668
|
+
x: c,
|
|
669
|
+
y: l
|
|
670
|
+
};
|
|
671
|
+
}
|
|
672
|
+
//#endregion
|
|
673
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
|
|
674
|
+
function ot(e) {
|
|
675
|
+
var t = at(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
676
|
+
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
677
|
+
x: e.offsetLeft,
|
|
678
|
+
y: e.offsetTop,
|
|
679
|
+
width: n,
|
|
680
|
+
height: r
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
//#endregion
|
|
684
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js
|
|
685
|
+
function st(e, t) {
|
|
686
|
+
var n = t.getRootNode && t.getRootNode();
|
|
687
|
+
if (e.contains(t)) return !0;
|
|
688
|
+
if (n && Ye(n)) {
|
|
689
|
+
var r = t;
|
|
690
|
+
do {
|
|
691
|
+
if (r && e.isSameNode(r)) return !0;
|
|
692
|
+
r = r.parentNode || r.host;
|
|
693
|
+
} while (r);
|
|
694
|
+
}
|
|
695
|
+
return !1;
|
|
696
|
+
}
|
|
697
|
+
//#endregion
|
|
698
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
|
|
699
|
+
function ct(e) {
|
|
700
|
+
return Z(e).getComputedStyle(e);
|
|
701
|
+
}
|
|
702
|
+
//#endregion
|
|
703
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
|
|
704
|
+
function lt(e) {
|
|
705
|
+
return [
|
|
706
|
+
"table",
|
|
707
|
+
"td",
|
|
708
|
+
"th"
|
|
709
|
+
].indexOf(qe(e)) >= 0;
|
|
710
|
+
}
|
|
711
|
+
//#endregion
|
|
712
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
|
|
713
|
+
function ut(e) {
|
|
714
|
+
return ((Je(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
|
715
|
+
}
|
|
716
|
+
//#endregion
|
|
717
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
|
|
718
|
+
function dt(e) {
|
|
719
|
+
return qe(e) === "html" ? e : e.assignedSlot || e.parentNode || (Ye(e) ? e.host : null) || ut(e);
|
|
720
|
+
}
|
|
721
|
+
//#endregion
|
|
722
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
|
|
723
|
+
function ft(e) {
|
|
724
|
+
return !Q(e) || ct(e).position === "fixed" ? null : e.offsetParent;
|
|
725
|
+
}
|
|
726
|
+
function pt(e) {
|
|
727
|
+
var t = /firefox/i.test(rt());
|
|
728
|
+
if (/Trident/i.test(rt()) && Q(e) && ct(e).position === "fixed") return null;
|
|
729
|
+
var n = dt(e);
|
|
730
|
+
for (Ye(n) && (n = n.host); Q(n) && ["html", "body"].indexOf(qe(n)) < 0;) {
|
|
731
|
+
var r = ct(n);
|
|
732
|
+
if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || t && r.willChange === "filter" || t && r.filter && r.filter !== "none") return n;
|
|
733
|
+
n = n.parentNode;
|
|
734
|
+
}
|
|
735
|
+
return null;
|
|
736
|
+
}
|
|
737
|
+
function mt(e) {
|
|
738
|
+
for (var t = Z(e), n = ft(e); n && lt(n) && ct(n).position === "static";) n = ft(n);
|
|
739
|
+
return n && (qe(n) === "html" || qe(n) === "body" && ct(n).position === "static") ? t : n || pt(e) || t;
|
|
740
|
+
}
|
|
741
|
+
//#endregion
|
|
742
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
|
|
743
|
+
function ht(e) {
|
|
744
|
+
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
745
|
+
}
|
|
746
|
+
//#endregion
|
|
747
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js
|
|
748
|
+
function gt(e, t, n) {
|
|
749
|
+
return et(e, tt(t, n));
|
|
750
|
+
}
|
|
751
|
+
function _t(e, t, n) {
|
|
752
|
+
var r = gt(e, t, n);
|
|
753
|
+
return r > n ? n : r;
|
|
754
|
+
}
|
|
755
|
+
//#endregion
|
|
756
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
|
|
757
|
+
function vt() {
|
|
758
|
+
return {
|
|
759
|
+
top: 0,
|
|
760
|
+
right: 0,
|
|
761
|
+
bottom: 0,
|
|
762
|
+
left: 0
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
//#endregion
|
|
766
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
|
|
767
|
+
function yt(e) {
|
|
768
|
+
return Object.assign({}, vt(), e);
|
|
769
|
+
}
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js
|
|
772
|
+
function bt(e, t) {
|
|
773
|
+
return t.reduce(function(t, n) {
|
|
774
|
+
return t[n] = e, t;
|
|
775
|
+
}, {});
|
|
776
|
+
}
|
|
777
|
+
//#endregion
|
|
778
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js
|
|
779
|
+
var xt = function(e, t) {
|
|
780
|
+
return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, yt(typeof e == "number" ? bt(e, Re) : e);
|
|
781
|
+
};
|
|
782
|
+
function St(e) {
|
|
783
|
+
var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, s = $e(n.placement), c = ht(s), l = ["left", "right"].indexOf(s) >= 0 ? "height" : "width";
|
|
784
|
+
if (a && o) {
|
|
785
|
+
var u = xt(i.padding, n), d = ot(a), f = c === "y" ? "top" : Ie, p = c === "y" ? X : Fe, m = n.rects.reference[l] + n.rects.reference[c] - o[c] - n.rects.popper[l], h = o[c] - n.rects.reference[c], g = mt(a), _ = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, v = m / 2 - h / 2, y = u[f], b = _ - d[l] - u[p], x = _ / 2 - d[l] / 2 + v, S = gt(y, x, b), C = c;
|
|
786
|
+
n.modifiersData[r] = (t = {}, t[C] = S, t.centerOffset = S - x, t);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
function Ct(e) {
|
|
790
|
+
var t = e.state, n = e.options.element, r = n === void 0 ? "[data-popper-arrow]" : n;
|
|
791
|
+
r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || st(t.elements.popper, r) && (t.elements.arrow = r));
|
|
792
|
+
}
|
|
793
|
+
var wt = {
|
|
794
|
+
name: "arrow",
|
|
795
|
+
enabled: !0,
|
|
796
|
+
phase: "main",
|
|
797
|
+
fn: St,
|
|
798
|
+
effect: Ct,
|
|
799
|
+
requires: ["popperOffsets"],
|
|
800
|
+
requiresIfExists: ["preventOverflow"]
|
|
801
|
+
};
|
|
802
|
+
//#endregion
|
|
803
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js
|
|
804
|
+
function Tt(e) {
|
|
805
|
+
return e.split("-")[1];
|
|
806
|
+
}
|
|
807
|
+
//#endregion
|
|
808
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js
|
|
809
|
+
var Et = {
|
|
810
|
+
top: "auto",
|
|
811
|
+
right: "auto",
|
|
812
|
+
bottom: "auto",
|
|
813
|
+
left: "auto"
|
|
814
|
+
};
|
|
815
|
+
function Dt(e, t) {
|
|
816
|
+
var n = e.x, r = e.y, i = t.devicePixelRatio || 1;
|
|
817
|
+
return {
|
|
818
|
+
x: nt(n * i) / i || 0,
|
|
819
|
+
y: nt(r * i) / i || 0
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
function Ot(e) {
|
|
823
|
+
var t, n = e.popper, r = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = o.x, p = f === void 0 ? 0 : f, m = o.y, h = m === void 0 ? 0 : m, g = typeof u == "function" ? u({
|
|
824
|
+
x: p,
|
|
825
|
+
y: h
|
|
826
|
+
}) : {
|
|
827
|
+
x: p,
|
|
828
|
+
y: h
|
|
829
|
+
};
|
|
830
|
+
p = g.x, h = g.y;
|
|
831
|
+
var _ = o.hasOwnProperty("x"), v = o.hasOwnProperty("y"), y = Ie, b = "top", x = window;
|
|
832
|
+
if (l) {
|
|
833
|
+
var S = mt(n), C = "clientHeight", w = "clientWidth";
|
|
834
|
+
if (S === Z(n) && (S = ut(n), ct(S).position !== "static" && s === "absolute" && (C = "scrollHeight", w = "scrollWidth")), S = S, i === "top" || (i === "left" || i === "right") && a === "end") {
|
|
835
|
+
b = X;
|
|
836
|
+
var T = d && S === x && x.visualViewport ? x.visualViewport.height : S[C];
|
|
837
|
+
h -= T - r.height, h *= c ? 1 : -1;
|
|
838
|
+
}
|
|
839
|
+
if (i === "left" || (i === "top" || i === "bottom") && a === "end") {
|
|
840
|
+
y = Fe;
|
|
841
|
+
var E = d && S === x && x.visualViewport ? x.visualViewport.width : S[w];
|
|
842
|
+
p -= E - r.width, p *= c ? 1 : -1;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
var D = Object.assign({ position: s }, l && Et), O = u === !0 ? Dt({
|
|
846
|
+
x: p,
|
|
847
|
+
y: h
|
|
848
|
+
}, Z(n)) : {
|
|
849
|
+
x: p,
|
|
850
|
+
y: h
|
|
851
|
+
};
|
|
852
|
+
if (p = O.x, h = O.y, c) {
|
|
853
|
+
var k;
|
|
854
|
+
return Object.assign({}, D, (k = {}, k[b] = v ? "0" : "", k[y] = _ ? "0" : "", k.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", k));
|
|
855
|
+
}
|
|
856
|
+
return Object.assign({}, D, (t = {}, t[b] = v ? h + "px" : "", t[y] = _ ? p + "px" : "", t.transform = "", t));
|
|
857
|
+
}
|
|
858
|
+
function kt(e) {
|
|
859
|
+
var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 || r, a = n.adaptive, o = a === void 0 || a, s = n.roundOffsets, c = s === void 0 || s, l = {
|
|
860
|
+
placement: $e(t.placement),
|
|
861
|
+
variation: Tt(t.placement),
|
|
862
|
+
popper: t.elements.popper,
|
|
863
|
+
popperRect: t.rects.popper,
|
|
864
|
+
gpuAcceleration: i,
|
|
865
|
+
isFixed: t.options.strategy === "fixed"
|
|
866
|
+
};
|
|
867
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ot(Object.assign({}, l, {
|
|
868
|
+
offsets: t.modifiersData.popperOffsets,
|
|
869
|
+
position: t.options.strategy,
|
|
870
|
+
adaptive: o,
|
|
871
|
+
roundOffsets: c
|
|
872
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ot(Object.assign({}, l, {
|
|
873
|
+
offsets: t.modifiersData.arrow,
|
|
874
|
+
position: "absolute",
|
|
875
|
+
adaptive: !1,
|
|
876
|
+
roundOffsets: c
|
|
877
|
+
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
|
|
878
|
+
}
|
|
879
|
+
var At = {
|
|
880
|
+
name: "computeStyles",
|
|
881
|
+
enabled: !0,
|
|
882
|
+
phase: "beforeWrite",
|
|
883
|
+
fn: kt,
|
|
884
|
+
data: {}
|
|
885
|
+
}, jt = { passive: !0 };
|
|
886
|
+
function Mt(e) {
|
|
887
|
+
var t = e.state, n = e.instance, r = e.options, i = r.scroll, a = i === void 0 || i, o = r.resize, s = o === void 0 || o, c = Z(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
888
|
+
return a && l.forEach(function(e) {
|
|
889
|
+
e.addEventListener("scroll", n.update, jt);
|
|
890
|
+
}), s && c.addEventListener("resize", n.update, jt), function() {
|
|
891
|
+
a && l.forEach(function(e) {
|
|
892
|
+
e.removeEventListener("scroll", n.update, jt);
|
|
893
|
+
}), s && c.removeEventListener("resize", n.update, jt);
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
var Nt = {
|
|
897
|
+
name: "eventListeners",
|
|
898
|
+
enabled: !0,
|
|
899
|
+
phase: "write",
|
|
900
|
+
fn: function() {},
|
|
901
|
+
effect: Mt,
|
|
902
|
+
data: {}
|
|
903
|
+
}, Pt = {
|
|
904
|
+
left: "right",
|
|
905
|
+
right: "left",
|
|
906
|
+
bottom: "top",
|
|
907
|
+
top: "bottom"
|
|
908
|
+
};
|
|
909
|
+
function Ft(e) {
|
|
910
|
+
return e.replace(/left|right|bottom|top/g, function(e) {
|
|
911
|
+
return Pt[e];
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
//#endregion
|
|
915
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
|
|
916
|
+
var It = {
|
|
917
|
+
start: "end",
|
|
918
|
+
end: "start"
|
|
919
|
+
};
|
|
920
|
+
function Lt(e) {
|
|
921
|
+
return e.replace(/start|end/g, function(e) {
|
|
922
|
+
return It[e];
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
//#endregion
|
|
926
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
|
|
927
|
+
function Rt(e) {
|
|
928
|
+
var t = Z(e);
|
|
929
|
+
return {
|
|
930
|
+
scrollLeft: t.pageXOffset,
|
|
931
|
+
scrollTop: t.pageYOffset
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
//#endregion
|
|
935
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
|
|
936
|
+
function zt(e) {
|
|
937
|
+
return at(ut(e)).left + Rt(e).scrollLeft;
|
|
938
|
+
}
|
|
939
|
+
//#endregion
|
|
940
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
|
|
941
|
+
function Bt(e, t) {
|
|
942
|
+
var n = Z(e), r = ut(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
943
|
+
if (i) {
|
|
944
|
+
a = i.width, o = i.height;
|
|
945
|
+
var l = it();
|
|
946
|
+
(l || !l && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
947
|
+
}
|
|
948
|
+
return {
|
|
949
|
+
width: a,
|
|
950
|
+
height: o,
|
|
951
|
+
x: s + zt(e),
|
|
952
|
+
y: c
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
//#endregion
|
|
956
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
|
|
957
|
+
function Vt(e) {
|
|
958
|
+
var t = ut(e), n = Rt(e), r = e.ownerDocument?.body, i = et(t.scrollWidth, t.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), a = et(t.scrollHeight, t.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), o = -n.scrollLeft + zt(e), s = -n.scrollTop;
|
|
959
|
+
return ct(r || t).direction === "rtl" && (o += et(t.clientWidth, r ? r.clientWidth : 0) - i), {
|
|
960
|
+
width: i,
|
|
961
|
+
height: a,
|
|
962
|
+
x: o,
|
|
963
|
+
y: s
|
|
964
|
+
};
|
|
965
|
+
}
|
|
966
|
+
//#endregion
|
|
967
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
|
|
968
|
+
function Ht(e) {
|
|
969
|
+
var t = ct(e), n = t.overflow, r = t.overflowX, i = t.overflowY;
|
|
970
|
+
return /auto|scroll|overlay|hidden/.test(n + i + r);
|
|
971
|
+
}
|
|
972
|
+
//#endregion
|
|
973
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
|
|
974
|
+
function Ut(e) {
|
|
975
|
+
return [
|
|
976
|
+
"html",
|
|
977
|
+
"body",
|
|
978
|
+
"#document"
|
|
979
|
+
].indexOf(qe(e)) >= 0 ? e.ownerDocument.body : Q(e) && Ht(e) ? e : Ut(dt(e));
|
|
980
|
+
}
|
|
981
|
+
//#endregion
|
|
982
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
|
|
983
|
+
function Wt(e, t) {
|
|
984
|
+
t === void 0 && (t = []);
|
|
985
|
+
var n = Ut(e), r = n === e.ownerDocument?.body, i = Z(n), a = r ? [i].concat(i.visualViewport || [], Ht(n) ? n : []) : n, o = t.concat(a);
|
|
986
|
+
return r ? o : o.concat(Wt(dt(a)));
|
|
987
|
+
}
|
|
988
|
+
//#endregion
|
|
989
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js
|
|
990
|
+
function Gt(e) {
|
|
991
|
+
return Object.assign({}, e, {
|
|
992
|
+
left: e.x,
|
|
993
|
+
top: e.y,
|
|
994
|
+
right: e.x + e.width,
|
|
995
|
+
bottom: e.y + e.height
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
//#endregion
|
|
999
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
|
|
1000
|
+
function Kt(e, t) {
|
|
1001
|
+
var n = at(e, !1, t === "fixed");
|
|
1002
|
+
return n.top += e.clientTop, n.left += e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
1003
|
+
}
|
|
1004
|
+
function qt(e, t, n) {
|
|
1005
|
+
return t === "viewport" ? Gt(Bt(e, n)) : Je(t) ? Kt(t, n) : Gt(Vt(ut(e)));
|
|
1006
|
+
}
|
|
1007
|
+
function Jt(e) {
|
|
1008
|
+
var t = Wt(dt(e)), n = ["absolute", "fixed"].indexOf(ct(e).position) >= 0 && Q(e) ? mt(e) : e;
|
|
1009
|
+
return Je(n) ? t.filter(function(e) {
|
|
1010
|
+
return Je(e) && st(e, n) && qe(e) !== "body";
|
|
1011
|
+
}) : [];
|
|
1012
|
+
}
|
|
1013
|
+
function Yt(e, t, n, r) {
|
|
1014
|
+
var i = t === "clippingParents" ? Jt(e) : [].concat(t), a = [].concat(i, [n]), o = a[0], s = a.reduce(function(t, n) {
|
|
1015
|
+
var i = qt(e, n, r);
|
|
1016
|
+
return t.top = et(i.top, t.top), t.right = tt(i.right, t.right), t.bottom = tt(i.bottom, t.bottom), t.left = et(i.left, t.left), t;
|
|
1017
|
+
}, qt(e, o, r));
|
|
1018
|
+
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
1019
|
+
}
|
|
1020
|
+
//#endregion
|
|
1021
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js
|
|
1022
|
+
function Xt(e) {
|
|
1023
|
+
var t = e.reference, n = e.element, r = e.placement, i = r ? $e(r) : null, a = r ? Tt(r) : null, o = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
|
|
1024
|
+
switch (i) {
|
|
1025
|
+
case "top":
|
|
1026
|
+
c = {
|
|
1027
|
+
x: o,
|
|
1028
|
+
y: t.y - n.height
|
|
1029
|
+
};
|
|
1030
|
+
break;
|
|
1031
|
+
case X:
|
|
1032
|
+
c = {
|
|
1033
|
+
x: o,
|
|
1034
|
+
y: t.y + t.height
|
|
1035
|
+
};
|
|
1036
|
+
break;
|
|
1037
|
+
case Fe:
|
|
1038
|
+
c = {
|
|
1039
|
+
x: t.x + t.width,
|
|
1040
|
+
y: s
|
|
1041
|
+
};
|
|
1042
|
+
break;
|
|
1043
|
+
case Ie:
|
|
1044
|
+
c = {
|
|
1045
|
+
x: t.x - n.width,
|
|
1046
|
+
y: s
|
|
1047
|
+
};
|
|
1048
|
+
break;
|
|
1049
|
+
default: c = {
|
|
1050
|
+
x: t.x,
|
|
1051
|
+
y: t.y
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
var l = i ? ht(i) : null;
|
|
1055
|
+
if (l != null) {
|
|
1056
|
+
var u = l === "y" ? "height" : "width";
|
|
1057
|
+
switch (a) {
|
|
1058
|
+
case ze:
|
|
1059
|
+
c[l] = c[l] - (t[u] / 2 - n[u] / 2);
|
|
1060
|
+
break;
|
|
1061
|
+
case "end": c[l] = c[l] + (t[u] / 2 - n[u] / 2);
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return c;
|
|
1065
|
+
}
|
|
1066
|
+
//#endregion
|
|
1067
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js
|
|
1068
|
+
function Zt(e, t) {
|
|
1069
|
+
t === void 0 && (t = {});
|
|
1070
|
+
var n = t, r = n.placement, i = r === void 0 ? e.placement : r, a = n.strategy, o = a === void 0 ? e.strategy : a, s = n.boundary, c = s === void 0 ? Be : s, l = n.rootBoundary, u = l === void 0 ? Ve : l, d = n.elementContext, f = d === void 0 ? He : d, p = n.altBoundary, m = p !== void 0 && p, h = n.padding, g = h === void 0 ? 0 : h, _ = yt(typeof g == "number" ? bt(g, Re) : g), v = f === "popper" ? Ue : He, y = e.rects.popper, b = e.elements[m ? v : f], x = Yt(Je(b) ? b : b.contextElement || ut(e.elements.popper), c, u, o), S = at(e.elements.reference), C = Xt({
|
|
1071
|
+
reference: S,
|
|
1072
|
+
element: y,
|
|
1073
|
+
strategy: "absolute",
|
|
1074
|
+
placement: i
|
|
1075
|
+
}), w = Gt(Object.assign({}, y, C)), T = f === "popper" ? w : S, E = {
|
|
1076
|
+
top: x.top - T.top + _.top,
|
|
1077
|
+
bottom: T.bottom - x.bottom + _.bottom,
|
|
1078
|
+
left: x.left - T.left + _.left,
|
|
1079
|
+
right: T.right - x.right + _.right
|
|
1080
|
+
}, D = e.modifiersData.offset;
|
|
1081
|
+
if (f === "popper" && D) {
|
|
1082
|
+
var O = D[i];
|
|
1083
|
+
Object.keys(E).forEach(function(e) {
|
|
1084
|
+
var t = ["right", "bottom"].indexOf(e) >= 0 ? 1 : -1, n = ["top", "bottom"].indexOf(e) >= 0 ? "y" : "x";
|
|
1085
|
+
E[e] += O[n] * t;
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
return E;
|
|
1089
|
+
}
|
|
1090
|
+
//#endregion
|
|
1091
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
|
|
1092
|
+
function Qt(e, t) {
|
|
1093
|
+
t === void 0 && (t = {});
|
|
1094
|
+
var n = t, r = n.placement, i = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, l = c === void 0 ? Ge : c, u = Tt(r), d = u ? s ? We : We.filter(function(e) {
|
|
1095
|
+
return Tt(e) === u;
|
|
1096
|
+
}) : Re, f = d.filter(function(e) {
|
|
1097
|
+
return l.indexOf(e) >= 0;
|
|
1098
|
+
});
|
|
1099
|
+
f.length === 0 && (f = d);
|
|
1100
|
+
var p = f.reduce(function(t, n) {
|
|
1101
|
+
return t[n] = Zt(e, {
|
|
1102
|
+
placement: n,
|
|
1103
|
+
boundary: i,
|
|
1104
|
+
rootBoundary: a,
|
|
1105
|
+
padding: o
|
|
1106
|
+
})[$e(n)], t;
|
|
1107
|
+
}, {});
|
|
1108
|
+
return Object.keys(p).sort(function(e, t) {
|
|
1109
|
+
return p[e] - p[t];
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
//#endregion
|
|
1113
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js
|
|
1114
|
+
function $t(e) {
|
|
1115
|
+
if ($e(e) === "auto") return [];
|
|
1116
|
+
var t = Ft(e);
|
|
1117
|
+
return [
|
|
1118
|
+
Lt(e),
|
|
1119
|
+
t,
|
|
1120
|
+
Lt(t)
|
|
1121
|
+
];
|
|
1122
|
+
}
|
|
1123
|
+
function en(e) {
|
|
1124
|
+
var t = e.state, n = e.options, r = e.name;
|
|
1125
|
+
if (!t.modifiersData[r]._skip) {
|
|
1126
|
+
for (var i = n.mainAxis, a = i === void 0 || i, o = n.altAxis, s = o === void 0 || o, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, m = p === void 0 || p, h = n.allowedAutoPlacements, g = t.options.placement, _ = $e(g) === g, v = c || (_ || !m ? [Ft(g)] : $t(g)), y = [g].concat(v).reduce(function(e, n) {
|
|
1127
|
+
return e.concat($e(n) === "auto" ? Qt(t, {
|
|
1128
|
+
placement: n,
|
|
1129
|
+
boundary: u,
|
|
1130
|
+
rootBoundary: d,
|
|
1131
|
+
padding: l,
|
|
1132
|
+
flipVariations: m,
|
|
1133
|
+
allowedAutoPlacements: h
|
|
1134
|
+
}) : n);
|
|
1135
|
+
}, []), b = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, w = y[0], T = 0; T < y.length; T++) {
|
|
1136
|
+
var E = y[T], D = $e(E), O = Tt(E) === ze, k = ["top", X].indexOf(D) >= 0, A = k ? "width" : "height", j = Zt(t, {
|
|
1137
|
+
placement: E,
|
|
1138
|
+
boundary: u,
|
|
1139
|
+
rootBoundary: d,
|
|
1140
|
+
altBoundary: f,
|
|
1141
|
+
padding: l
|
|
1142
|
+
}), M = k ? O ? Fe : Ie : O ? X : "top";
|
|
1143
|
+
b[A] > x[A] && (M = Ft(M));
|
|
1144
|
+
var N = Ft(M), P = [];
|
|
1145
|
+
if (a && P.push(j[D] <= 0), s && P.push(j[M] <= 0, j[N] <= 0), P.every(function(e) {
|
|
1146
|
+
return e;
|
|
1147
|
+
})) {
|
|
1148
|
+
w = E, C = !1;
|
|
1149
|
+
break;
|
|
1150
|
+
}
|
|
1151
|
+
S.set(E, P);
|
|
1152
|
+
}
|
|
1153
|
+
if (C) for (var F = m ? 3 : 1, I = function(e) {
|
|
1154
|
+
var t = y.find(function(t) {
|
|
1155
|
+
var n = S.get(t);
|
|
1156
|
+
if (n) return n.slice(0, e).every(function(e) {
|
|
1157
|
+
return e;
|
|
1158
|
+
});
|
|
1159
|
+
});
|
|
1160
|
+
if (t) return w = t, "break";
|
|
1161
|
+
}, L = F; L > 0 && I(L) !== "break"; L--);
|
|
1162
|
+
t.placement !== w && (t.modifiersData[r]._skip = !0, t.placement = w, t.reset = !0);
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
var tn = {
|
|
1166
|
+
name: "flip",
|
|
1167
|
+
enabled: !0,
|
|
1168
|
+
phase: "main",
|
|
1169
|
+
fn: en,
|
|
1170
|
+
requiresIfExists: ["offset"],
|
|
1171
|
+
data: { _skip: !1 }
|
|
1172
|
+
};
|
|
1173
|
+
//#endregion
|
|
1174
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js
|
|
1175
|
+
function nn(e, t, n) {
|
|
1176
|
+
return n === void 0 && (n = {
|
|
1177
|
+
x: 0,
|
|
1178
|
+
y: 0
|
|
1179
|
+
}), {
|
|
1180
|
+
top: e.top - t.height - n.y,
|
|
1181
|
+
right: e.right - t.width + n.x,
|
|
1182
|
+
bottom: e.bottom - t.height + n.y,
|
|
1183
|
+
left: e.left - t.width - n.x
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
function rn(e) {
|
|
1187
|
+
return [
|
|
1188
|
+
"top",
|
|
1189
|
+
Fe,
|
|
1190
|
+
X,
|
|
1191
|
+
Ie
|
|
1192
|
+
].some(function(t) {
|
|
1193
|
+
return e[t] >= 0;
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
function an(e) {
|
|
1197
|
+
var t = e.state, n = e.name, r = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, o = Zt(t, { elementContext: "reference" }), s = Zt(t, { altBoundary: !0 }), c = nn(o, r), l = nn(s, i, a), u = rn(c), d = rn(l);
|
|
1198
|
+
t.modifiersData[n] = {
|
|
1199
|
+
referenceClippingOffsets: c,
|
|
1200
|
+
popperEscapeOffsets: l,
|
|
1201
|
+
isReferenceHidden: u,
|
|
1202
|
+
hasPopperEscaped: d
|
|
1203
|
+
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
1204
|
+
"data-popper-reference-hidden": u,
|
|
1205
|
+
"data-popper-escaped": d
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
var on = {
|
|
1209
|
+
name: "hide",
|
|
1210
|
+
enabled: !0,
|
|
1211
|
+
phase: "main",
|
|
1212
|
+
requiresIfExists: ["preventOverflow"],
|
|
1213
|
+
fn: an
|
|
1214
|
+
};
|
|
1215
|
+
//#endregion
|
|
1216
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js
|
|
1217
|
+
function sn(e, t, n) {
|
|
1218
|
+
var r = $e(e), i = ["left", "top"].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, o = a[0], s = a[1];
|
|
1219
|
+
return o ||= 0, s = (s || 0) * i, ["left", "right"].indexOf(r) >= 0 ? {
|
|
1220
|
+
x: s,
|
|
1221
|
+
y: o
|
|
1222
|
+
} : {
|
|
1223
|
+
x: o,
|
|
1224
|
+
y: s
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
function cn(e) {
|
|
1228
|
+
var t = e.state, n = e.options, r = e.name, i = n.offset, a = i === void 0 ? [0, 0] : i, o = Ge.reduce(function(e, n) {
|
|
1229
|
+
return e[n] = sn(n, t.rects, a), e;
|
|
1230
|
+
}, {}), s = o[t.placement], c = s.x, l = s.y;
|
|
1231
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += l), t.modifiersData[r] = o;
|
|
1232
|
+
}
|
|
1233
|
+
var ln = {
|
|
1234
|
+
name: "offset",
|
|
1235
|
+
enabled: !0,
|
|
1236
|
+
phase: "main",
|
|
1237
|
+
requires: ["popperOffsets"],
|
|
1238
|
+
fn: cn
|
|
1239
|
+
};
|
|
1240
|
+
//#endregion
|
|
1241
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
|
|
1242
|
+
function un(e) {
|
|
1243
|
+
var t = e.state, n = e.name;
|
|
1244
|
+
t.modifiersData[n] = Xt({
|
|
1245
|
+
reference: t.rects.reference,
|
|
1246
|
+
element: t.rects.popper,
|
|
1247
|
+
strategy: "absolute",
|
|
1248
|
+
placement: t.placement
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
var dn = {
|
|
1252
|
+
name: "popperOffsets",
|
|
1253
|
+
enabled: !0,
|
|
1254
|
+
phase: "read",
|
|
1255
|
+
fn: un,
|
|
1256
|
+
data: {}
|
|
1257
|
+
};
|
|
1258
|
+
//#endregion
|
|
1259
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js
|
|
1260
|
+
function fn(e) {
|
|
1261
|
+
return e === "x" ? "y" : "x";
|
|
1262
|
+
}
|
|
1263
|
+
//#endregion
|
|
1264
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
|
|
1265
|
+
function pn(e) {
|
|
1266
|
+
var t = e.state, n = e.options, r = e.name, i = n.mainAxis, a = i === void 0 || i, o = n.altAxis, s = o !== void 0 && o, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 || f, m = n.tetherOffset, h = m === void 0 ? 0 : m, g = Zt(t, {
|
|
1267
|
+
boundary: c,
|
|
1268
|
+
rootBoundary: l,
|
|
1269
|
+
padding: d,
|
|
1270
|
+
altBoundary: u
|
|
1271
|
+
}), _ = $e(t.placement), v = Tt(t.placement), y = !v, b = ht(_), x = fn(b), S = t.modifiersData.popperOffsets, C = t.rects.reference, w = t.rects.popper, T = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, E = typeof T == "number" ? {
|
|
1272
|
+
mainAxis: T,
|
|
1273
|
+
altAxis: T
|
|
1274
|
+
} : Object.assign({
|
|
1275
|
+
mainAxis: 0,
|
|
1276
|
+
altAxis: 0
|
|
1277
|
+
}, T), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
|
|
1278
|
+
x: 0,
|
|
1279
|
+
y: 0
|
|
1280
|
+
};
|
|
1281
|
+
if (S) {
|
|
1282
|
+
if (a) {
|
|
1283
|
+
var k = b === "y" ? "top" : Ie, A = b === "y" ? X : Fe, j = b === "y" ? "height" : "width", M = S[b], N = M + g[k], P = M - g[A], F = p ? -w[j] / 2 : 0, I = v === "start" ? C[j] : w[j], L = v === "start" ? -w[j] : -C[j], R = t.elements.arrow, ee = p && R ? ot(R) : {
|
|
1284
|
+
width: 0,
|
|
1285
|
+
height: 0
|
|
1286
|
+
}, te = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vt(), z = te[k], B = te[A], V = gt(0, C[j], ee[j]), ne = y ? C[j] / 2 - F - V - z - E.mainAxis : I - V - z - E.mainAxis, H = y ? -C[j] / 2 + F + V + B + E.mainAxis : L + V + B + E.mainAxis, re = t.elements.arrow && mt(t.elements.arrow), ie = re ? b === "y" ? re.clientTop || 0 : re.clientLeft || 0 : 0, U = D?.[b] ?? 0, W = M + ne - U - ie, G = M + H - U, K = gt(p ? tt(N, W) : N, M, p ? et(P, G) : P);
|
|
1287
|
+
S[b] = K, O[b] = K - M;
|
|
1288
|
+
}
|
|
1289
|
+
if (s) {
|
|
1290
|
+
var ae = b === "x" ? "top" : Ie, oe = b === "x" ? X : Fe, q = S[x], se = x === "y" ? "height" : "width", ce = q + g[ae], le = q - g[oe], ue = ["top", Ie].indexOf(_) !== -1, de = D?.[x] ?? 0, fe = ue ? ce : q - C[se] - w[se] - de + E.altAxis, pe = ue ? q + C[se] + w[se] - de - E.altAxis : le, me = p && ue ? _t(fe, q, pe) : gt(p ? fe : ce, q, p ? pe : le);
|
|
1291
|
+
S[x] = me, O[x] = me - q;
|
|
1292
|
+
}
|
|
1293
|
+
t.modifiersData[r] = O;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
var mn = {
|
|
1297
|
+
name: "preventOverflow",
|
|
1298
|
+
enabled: !0,
|
|
1299
|
+
phase: "main",
|
|
1300
|
+
fn: pn,
|
|
1301
|
+
requiresIfExists: ["offset"]
|
|
1302
|
+
};
|
|
1303
|
+
//#endregion
|
|
1304
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
|
|
1305
|
+
function hn(e) {
|
|
1306
|
+
return {
|
|
1307
|
+
scrollLeft: e.scrollLeft,
|
|
1308
|
+
scrollTop: e.scrollTop
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
//#endregion
|
|
1312
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
|
|
1313
|
+
function gn(e) {
|
|
1314
|
+
return e === Z(e) || !Q(e) ? Rt(e) : hn(e);
|
|
1315
|
+
}
|
|
1316
|
+
//#endregion
|
|
1317
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
|
|
1318
|
+
function _n(e) {
|
|
1319
|
+
var t = e.getBoundingClientRect(), n = nt(t.width) / e.offsetWidth || 1, r = nt(t.height) / e.offsetHeight || 1;
|
|
1320
|
+
return n !== 1 || r !== 1;
|
|
1321
|
+
}
|
|
1322
|
+
function vn(e, t, n) {
|
|
1323
|
+
n === void 0 && (n = !1);
|
|
1324
|
+
var r = Q(t), i = Q(t) && _n(t), a = ut(t), o = at(e, i, n), s = {
|
|
1325
|
+
scrollLeft: 0,
|
|
1326
|
+
scrollTop: 0
|
|
1327
|
+
}, c = {
|
|
1328
|
+
x: 0,
|
|
1329
|
+
y: 0
|
|
1330
|
+
};
|
|
1331
|
+
return (r || !r && !n) && ((qe(t) !== "body" || Ht(a)) && (s = gn(t)), Q(t) ? (c = at(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = zt(a))), {
|
|
1332
|
+
x: o.left + s.scrollLeft - c.x,
|
|
1333
|
+
y: o.top + s.scrollTop - c.y,
|
|
1334
|
+
width: o.width,
|
|
1335
|
+
height: o.height
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
//#endregion
|
|
1339
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js
|
|
1340
|
+
function yn(e) {
|
|
1341
|
+
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
1342
|
+
e.forEach(function(e) {
|
|
1343
|
+
t.set(e.name, e);
|
|
1344
|
+
});
|
|
1345
|
+
function i(e) {
|
|
1346
|
+
n.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach(function(e) {
|
|
1347
|
+
if (!n.has(e)) {
|
|
1348
|
+
var r = t.get(e);
|
|
1349
|
+
r && i(r);
|
|
1350
|
+
}
|
|
1351
|
+
}), r.push(e);
|
|
1352
|
+
}
|
|
1353
|
+
return e.forEach(function(e) {
|
|
1354
|
+
n.has(e.name) || i(e);
|
|
1355
|
+
}), r;
|
|
1356
|
+
}
|
|
1357
|
+
function bn(e) {
|
|
1358
|
+
var t = yn(e);
|
|
1359
|
+
return Ke.reduce(function(e, n) {
|
|
1360
|
+
return e.concat(t.filter(function(e) {
|
|
1361
|
+
return e.phase === n;
|
|
1362
|
+
}));
|
|
1363
|
+
}, []);
|
|
1364
|
+
}
|
|
1365
|
+
//#endregion
|
|
1366
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js
|
|
1367
|
+
function xn(e) {
|
|
1368
|
+
var t;
|
|
1369
|
+
return function() {
|
|
1370
|
+
return t ||= new Promise(function(n) {
|
|
1371
|
+
Promise.resolve().then(function() {
|
|
1372
|
+
t = void 0, n(e());
|
|
1373
|
+
});
|
|
1374
|
+
}), t;
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
//#endregion
|
|
1378
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js
|
|
1379
|
+
function Sn(e) {
|
|
1380
|
+
var t = e.reduce(function(e, t) {
|
|
1381
|
+
var n = e[t.name];
|
|
1382
|
+
return e[t.name] = n ? Object.assign({}, n, t, {
|
|
1383
|
+
options: Object.assign({}, n.options, t.options),
|
|
1384
|
+
data: Object.assign({}, n.data, t.data)
|
|
1385
|
+
}) : t, e;
|
|
1386
|
+
}, {});
|
|
1387
|
+
return Object.keys(t).map(function(e) {
|
|
1388
|
+
return t[e];
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
//#endregion
|
|
1392
|
+
//#region ../../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js
|
|
1393
|
+
var Cn = {
|
|
1394
|
+
placement: "bottom",
|
|
1395
|
+
modifiers: [],
|
|
1396
|
+
strategy: "absolute"
|
|
1397
|
+
};
|
|
1398
|
+
function wn() {
|
|
1399
|
+
return ![...arguments].some(function(e) {
|
|
1400
|
+
return !(e && typeof e.getBoundingClientRect == "function");
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
function Tn(e) {
|
|
1404
|
+
e === void 0 && (e = {});
|
|
1405
|
+
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, i = t.defaultOptions, a = i === void 0 ? Cn : i;
|
|
1406
|
+
return function(e, t, n) {
|
|
1407
|
+
n === void 0 && (n = a);
|
|
1408
|
+
var i = {
|
|
1409
|
+
placement: "bottom",
|
|
1410
|
+
orderedModifiers: [],
|
|
1411
|
+
options: Object.assign({}, Cn, a),
|
|
1412
|
+
modifiersData: {},
|
|
1413
|
+
elements: {
|
|
1414
|
+
reference: e,
|
|
1415
|
+
popper: t
|
|
1416
|
+
},
|
|
1417
|
+
attributes: {},
|
|
1418
|
+
styles: {}
|
|
1419
|
+
}, o = [], s = !1, c = {
|
|
1420
|
+
state: i,
|
|
1421
|
+
setOptions: function(n) {
|
|
1422
|
+
var o = typeof n == "function" ? n(i.options) : n;
|
|
1423
|
+
u(), i.options = Object.assign({}, a, i.options, o), i.scrollParents = {
|
|
1424
|
+
reference: Je(e) ? Wt(e) : e.contextElement ? Wt(e.contextElement) : [],
|
|
1425
|
+
popper: Wt(t)
|
|
1426
|
+
};
|
|
1427
|
+
var s = bn(Sn([].concat(r, i.options.modifiers)));
|
|
1428
|
+
return i.orderedModifiers = s.filter(function(e) {
|
|
1429
|
+
return e.enabled;
|
|
1430
|
+
}), l(), c.update();
|
|
1431
|
+
},
|
|
1432
|
+
forceUpdate: function() {
|
|
1433
|
+
if (!s) {
|
|
1434
|
+
var e = i.elements, t = e.reference, n = e.popper;
|
|
1435
|
+
if (wn(t, n)) {
|
|
1436
|
+
i.rects = {
|
|
1437
|
+
reference: vn(t, mt(n), i.options.strategy === "fixed"),
|
|
1438
|
+
popper: ot(n)
|
|
1439
|
+
}, i.reset = !1, i.placement = i.options.placement, i.orderedModifiers.forEach(function(e) {
|
|
1440
|
+
return i.modifiersData[e.name] = Object.assign({}, e.data);
|
|
1441
|
+
});
|
|
1442
|
+
for (var r = 0; r < i.orderedModifiers.length; r++) {
|
|
1443
|
+
if (i.reset === !0) {
|
|
1444
|
+
i.reset = !1, r = -1;
|
|
1445
|
+
continue;
|
|
1446
|
+
}
|
|
1447
|
+
var a = i.orderedModifiers[r], o = a.fn, l = a.options, u = l === void 0 ? {} : l, d = a.name;
|
|
1448
|
+
typeof o == "function" && (i = o({
|
|
1449
|
+
state: i,
|
|
1450
|
+
options: u,
|
|
1451
|
+
name: d,
|
|
1452
|
+
instance: c
|
|
1453
|
+
}) || i);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
},
|
|
1458
|
+
update: xn(function() {
|
|
1459
|
+
return new Promise(function(e) {
|
|
1460
|
+
c.forceUpdate(), e(i);
|
|
1461
|
+
});
|
|
1462
|
+
}),
|
|
1463
|
+
destroy: function() {
|
|
1464
|
+
u(), s = !0;
|
|
1465
|
+
}
|
|
1466
|
+
};
|
|
1467
|
+
if (!wn(e, t)) return c;
|
|
1468
|
+
c.setOptions(n).then(function(e) {
|
|
1469
|
+
!s && n.onFirstUpdate && n.onFirstUpdate(e);
|
|
1470
|
+
});
|
|
1471
|
+
function l() {
|
|
1472
|
+
i.orderedModifiers.forEach(function(e) {
|
|
1473
|
+
var t = e.name, n = e.options, r = n === void 0 ? {} : n, a = e.effect;
|
|
1474
|
+
if (typeof a == "function") {
|
|
1475
|
+
var s = a({
|
|
1476
|
+
state: i,
|
|
1477
|
+
name: t,
|
|
1478
|
+
instance: c,
|
|
1479
|
+
options: r
|
|
1480
|
+
});
|
|
1481
|
+
o.push(s || function() {});
|
|
1482
|
+
}
|
|
1483
|
+
});
|
|
1484
|
+
}
|
|
1485
|
+
function u() {
|
|
1486
|
+
o.forEach(function(e) {
|
|
1487
|
+
return e();
|
|
1488
|
+
}), o = [];
|
|
1489
|
+
}
|
|
1490
|
+
return c;
|
|
1491
|
+
};
|
|
1492
|
+
}
|
|
1493
|
+
var En = /*#__PURE__*/ Tn({ defaultModifiers: [
|
|
1494
|
+
Nt,
|
|
1495
|
+
dn,
|
|
1496
|
+
At,
|
|
1497
|
+
Qe,
|
|
1498
|
+
ln,
|
|
1499
|
+
tn,
|
|
1500
|
+
mn,
|
|
1501
|
+
wt,
|
|
1502
|
+
on
|
|
1503
|
+
] });
|
|
1504
|
+
//#endregion
|
|
1505
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/useSlotProps/useSlotProps.mjs
|
|
1506
|
+
function Dn(e) {
|
|
1507
|
+
let { elementType: t, externalSlotProps: n, ownerState: r, skipResolvingSlotProps: i = !1, ...a } = e, o = i ? {} : xe(n, r), { props: s, internalRef: c } = we({
|
|
1508
|
+
...a,
|
|
1509
|
+
externalSlotProps: o
|
|
1510
|
+
}), l = H(c, o?.ref, e.additionalProps?.ref);
|
|
1511
|
+
return be(t, {
|
|
1512
|
+
...s,
|
|
1513
|
+
ref: l
|
|
1514
|
+
}, r);
|
|
1515
|
+
}
|
|
1516
|
+
//#endregion
|
|
1517
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/isLayoutSupported.mjs
|
|
1518
|
+
function On() {
|
|
1519
|
+
return !(/jsdom|HappyDOM/.test(window.navigator.userAgent) || process.env.NODE_ENV === "test");
|
|
1520
|
+
}
|
|
1521
|
+
//#endregion
|
|
1522
|
+
//#region ../../../../node_modules/.pnpm/react-dom@19.3.0_react@19.3.0/node_modules/react-dom/cjs/react-dom.production.js
|
|
1523
|
+
var kn = /* @__PURE__ */ t(((e) => {
|
|
1524
|
+
var t = f();
|
|
1525
|
+
function n(e) {
|
|
1526
|
+
var t = "https://react.dev/errors/" + e;
|
|
1527
|
+
if (1 < arguments.length) {
|
|
1528
|
+
t += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
1529
|
+
for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
1530
|
+
}
|
|
1531
|
+
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
1532
|
+
}
|
|
1533
|
+
function r() {}
|
|
1534
|
+
var i = {
|
|
1535
|
+
d: {
|
|
1536
|
+
f: r,
|
|
1537
|
+
r: function() {
|
|
1538
|
+
throw Error(n(522));
|
|
1539
|
+
},
|
|
1540
|
+
D: r,
|
|
1541
|
+
C: r,
|
|
1542
|
+
L: r,
|
|
1543
|
+
m: r,
|
|
1544
|
+
X: r,
|
|
1545
|
+
S: r,
|
|
1546
|
+
M: r
|
|
1547
|
+
},
|
|
1548
|
+
p: 0,
|
|
1549
|
+
findDOMNode: null
|
|
1550
|
+
}, a = Symbol.for("react.portal"), o = Symbol.for("react.recoverable"), s = Symbol.for("react.optimistic_key");
|
|
1551
|
+
function c(e, t, n) {
|
|
1552
|
+
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
1553
|
+
return {
|
|
1554
|
+
$$typeof: a,
|
|
1555
|
+
key: r == null ? null : r === s ? s : "" + r,
|
|
1556
|
+
children: e,
|
|
1557
|
+
containerInfo: t,
|
|
1558
|
+
implementation: n
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
var l = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1562
|
+
function u(e, t) {
|
|
1563
|
+
if (e === "font") return "";
|
|
1564
|
+
if (typeof t == "string") return t === "use-credentials" ? t : "";
|
|
1565
|
+
}
|
|
1566
|
+
e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.browser = function(e) {
|
|
1567
|
+
return {
|
|
1568
|
+
$$typeof: o,
|
|
1569
|
+
_reason: e
|
|
1570
|
+
};
|
|
1571
|
+
}, e.createPortal = function(e, t) {
|
|
1572
|
+
var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1573
|
+
if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));
|
|
1574
|
+
return c(e, t, null, r);
|
|
1575
|
+
}, e.flushSync = function(e) {
|
|
1576
|
+
var t = l.T, n = i.p;
|
|
1577
|
+
try {
|
|
1578
|
+
if (l.T = null, i.p = 2, e) return e();
|
|
1579
|
+
} finally {
|
|
1580
|
+
l.T = t, i.p = n, i.d.f();
|
|
1581
|
+
}
|
|
1582
|
+
}, e.preconnect = function(e, t) {
|
|
1583
|
+
typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));
|
|
1584
|
+
}, e.prefetchDNS = function(e) {
|
|
1585
|
+
typeof e == "string" && i.d.D(e);
|
|
1586
|
+
}, e.preinit = function(e, t) {
|
|
1587
|
+
if (typeof e == "string" && t && typeof t.as == "string") {
|
|
1588
|
+
var n = t.as, r = u(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
|
|
1589
|
+
n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
|
|
1590
|
+
crossOrigin: r,
|
|
1591
|
+
integrity: a,
|
|
1592
|
+
fetchPriority: o
|
|
1593
|
+
}) : n === "script" && i.d.X(e, {
|
|
1594
|
+
crossOrigin: r,
|
|
1595
|
+
integrity: a,
|
|
1596
|
+
fetchPriority: o,
|
|
1597
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
1598
|
+
});
|
|
1599
|
+
}
|
|
1600
|
+
}, e.preinitModule = function(e, t) {
|
|
1601
|
+
if (typeof e == "string") {
|
|
1602
|
+
if (typeof t == "object" && t) {
|
|
1603
|
+
if (t.as == null || t.as === "script") {
|
|
1604
|
+
var n = u(t.as, t.crossOrigin);
|
|
1605
|
+
i.d.M(e, {
|
|
1606
|
+
crossOrigin: n,
|
|
1607
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1608
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1609
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
1612
|
+
} else t ?? i.d.M(e);
|
|
1613
|
+
}
|
|
1614
|
+
}, e.preload = function(e, t) {
|
|
1615
|
+
if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
|
|
1616
|
+
var n = t.as, r = u(n, t.crossOrigin);
|
|
1617
|
+
i.d.L(e, n, {
|
|
1618
|
+
crossOrigin: r,
|
|
1619
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1620
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1621
|
+
type: typeof t.type == "string" ? t.type : void 0,
|
|
1622
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
|
|
1623
|
+
referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
|
|
1624
|
+
imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
|
|
1625
|
+
imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
|
|
1626
|
+
media: typeof t.media == "string" ? t.media : void 0
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
}, e.preloadModule = function(e, t) {
|
|
1630
|
+
if (typeof e == "string") {
|
|
1631
|
+
if (t) {
|
|
1632
|
+
var n = u(t.as, t.crossOrigin);
|
|
1633
|
+
i.d.m(e, {
|
|
1634
|
+
as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
|
|
1635
|
+
crossOrigin: n,
|
|
1636
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1637
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1638
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
|
|
1639
|
+
});
|
|
1640
|
+
} else i.d.m(e);
|
|
1641
|
+
}
|
|
1642
|
+
}, e.requestFormReset = function(e) {
|
|
1643
|
+
i.d.r(e);
|
|
1644
|
+
}, e.unstable_batchedUpdates = function(e, t) {
|
|
1645
|
+
return e(t);
|
|
1646
|
+
}, e.useFormState = function(e, t, n) {
|
|
1647
|
+
return l.H.useFormState(e, t, n);
|
|
1648
|
+
}, e.useFormStatus = function() {
|
|
1649
|
+
return l.H.useHostTransitionStatus();
|
|
1650
|
+
}, e.version = "19.3.0";
|
|
1651
|
+
})), An = /* @__PURE__ */ t(((e) => {
|
|
1652
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
1653
|
+
function t() {}
|
|
1654
|
+
function n(e) {
|
|
1655
|
+
return "" + e;
|
|
1656
|
+
}
|
|
1657
|
+
function r(e, t, r) {
|
|
1658
|
+
var i = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
1659
|
+
if (i == null) i = null;
|
|
1660
|
+
else if (i === p) i = p;
|
|
1661
|
+
else {
|
|
1662
|
+
try {
|
|
1663
|
+
n(i);
|
|
1664
|
+
var a = !1;
|
|
1665
|
+
} catch {
|
|
1666
|
+
a = !0;
|
|
1667
|
+
}
|
|
1668
|
+
a && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object"), n(i)), i = "" + i;
|
|
1669
|
+
}
|
|
1670
|
+
return {
|
|
1671
|
+
$$typeof: u,
|
|
1672
|
+
key: i,
|
|
1673
|
+
children: e,
|
|
1674
|
+
containerInfo: t,
|
|
1675
|
+
implementation: r
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1678
|
+
function i(e, t) {
|
|
1679
|
+
if (e === "font") return "";
|
|
1680
|
+
if (typeof t == "string") return t === "use-credentials" ? t : "";
|
|
1681
|
+
}
|
|
1682
|
+
function a(e) {
|
|
1683
|
+
return e === null ? "`null`" : e === void 0 ? "`undefined`" : e === "" ? "an empty string" : "something with type \"" + typeof e + "\"";
|
|
1684
|
+
}
|
|
1685
|
+
function o(e) {
|
|
1686
|
+
return e === null ? "`null`" : e === void 0 ? "`undefined`" : e === "" ? "an empty string" : typeof e == "string" ? JSON.stringify(e) : typeof e == "number" ? "`" + e + "`" : "something with type \"" + typeof e + "\"";
|
|
1687
|
+
}
|
|
1688
|
+
function s() {
|
|
1689
|
+
var e = m.H;
|
|
1690
|
+
return e === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), e;
|
|
1691
|
+
}
|
|
1692
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1693
|
+
var c = f(), l = {
|
|
1694
|
+
d: {
|
|
1695
|
+
f: t,
|
|
1696
|
+
r: function() {
|
|
1697
|
+
throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.");
|
|
1698
|
+
},
|
|
1699
|
+
D: t,
|
|
1700
|
+
C: t,
|
|
1701
|
+
L: t,
|
|
1702
|
+
m: t,
|
|
1703
|
+
X: t,
|
|
1704
|
+
S: t,
|
|
1705
|
+
M: t
|
|
1706
|
+
},
|
|
1707
|
+
p: 0,
|
|
1708
|
+
findDOMNode: null
|
|
1709
|
+
}, u = Symbol.for("react.portal"), d = Symbol.for("react.recoverable"), p = Symbol.for("react.optimistic_key"), m = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1710
|
+
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = l, e.browser = function(e) {
|
|
1711
|
+
return {
|
|
1712
|
+
$$typeof: d,
|
|
1713
|
+
_reason: e
|
|
1714
|
+
};
|
|
1715
|
+
}, e.createPortal = function(e, t) {
|
|
1716
|
+
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1717
|
+
if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error("Target container is not a DOM element.");
|
|
1718
|
+
return r(e, t, null, n);
|
|
1719
|
+
}, e.flushSync = function(e) {
|
|
1720
|
+
var t = m.T, n = l.p;
|
|
1721
|
+
try {
|
|
1722
|
+
if (m.T = null, l.p = 2, e) return e();
|
|
1723
|
+
} finally {
|
|
1724
|
+
m.T = t, l.p = n, l.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.");
|
|
1725
|
+
}
|
|
1726
|
+
}, e.preconnect = function(e, t) {
|
|
1727
|
+
typeof e == "string" && e ? t != null && typeof t != "object" ? console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", o(t)) : t != null && typeof t.crossOrigin != "string" && console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", a(t.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e)), typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, l.d.C(e, t));
|
|
1728
|
+
}, e.prefetchDNS = function(e) {
|
|
1729
|
+
if (typeof e != "string" || !e) console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e));
|
|
1730
|
+
else if (1 < arguments.length) {
|
|
1731
|
+
var t = arguments[1];
|
|
1732
|
+
typeof t == "object" && t.hasOwnProperty("crossOrigin") ? console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", o(t)) : console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", o(t));
|
|
1733
|
+
}
|
|
1734
|
+
typeof e == "string" && l.d.D(e);
|
|
1735
|
+
}, e.preinit = function(e, t) {
|
|
1736
|
+
if (typeof e == "string" && e ? typeof t != "object" || !t ? console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", o(t)) : t.as !== "style" && t.as !== "script" && console.error("ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".", o(t.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e)), typeof e == "string" && t && typeof t.as == "string") {
|
|
1737
|
+
var n = t.as, r = i(n, t.crossOrigin), s = typeof t.integrity == "string" ? t.integrity : void 0, c = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
|
|
1738
|
+
n === "style" ? l.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
|
|
1739
|
+
crossOrigin: r,
|
|
1740
|
+
integrity: s,
|
|
1741
|
+
fetchPriority: c
|
|
1742
|
+
}) : n === "script" && l.d.X(e, {
|
|
1743
|
+
crossOrigin: r,
|
|
1744
|
+
integrity: s,
|
|
1745
|
+
fetchPriority: c,
|
|
1746
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
}, e.preinitModule = function(e, t) {
|
|
1750
|
+
var n = "";
|
|
1751
|
+
if (typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), t !== void 0 && typeof t != "object" ? n += " The `options` argument encountered was " + a(t) + "." : t && "as" in t && t.as !== "script" && (n += " The `as` option encountered was " + o(t.as) + "."), n) console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", n);
|
|
1752
|
+
else switch (n = t && typeof t.as == "string" ? t.as : "script", n) {
|
|
1753
|
+
case "script": break;
|
|
1754
|
+
default: n = o(n), console.error("ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)", n, e);
|
|
1755
|
+
}
|
|
1756
|
+
typeof e == "string" && (typeof t == "object" && t ? (t.as == null || t.as === "script") && (n = i(t.as, t.crossOrigin), l.d.M(e, {
|
|
1757
|
+
crossOrigin: n,
|
|
1758
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1759
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1760
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
|
|
1761
|
+
})) : t ?? l.d.M(e));
|
|
1762
|
+
}, e.preload = function(e, t) {
|
|
1763
|
+
var n = "";
|
|
1764
|
+
if (typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), typeof t != "object" || !t ? n += " The `options` argument encountered was " + a(t) + "." : typeof t.as == "string" && t.as || (n += " The `as` option encountered was " + a(t.as) + "."), n && console.error("ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s", n), typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
|
|
1765
|
+
n = t.as;
|
|
1766
|
+
var r = i(n, t.crossOrigin);
|
|
1767
|
+
l.d.L(e, n, {
|
|
1768
|
+
crossOrigin: r,
|
|
1769
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1770
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1771
|
+
type: typeof t.type == "string" ? t.type : void 0,
|
|
1772
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
|
|
1773
|
+
referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
|
|
1774
|
+
imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
|
|
1775
|
+
imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
|
|
1776
|
+
media: typeof t.media == "string" ? t.media : void 0
|
|
1777
|
+
});
|
|
1778
|
+
}
|
|
1779
|
+
}, e.preloadModule = function(e, t) {
|
|
1780
|
+
var n = "";
|
|
1781
|
+
typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), t !== void 0 && typeof t != "object" ? n += " The `options` argument encountered was " + a(t) + "." : t && "as" in t && typeof t.as != "string" && (n += " The `as` option encountered was " + a(t.as) + "."), n && console.error("ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s", n), typeof e == "string" && (t ? (n = i(t.as, t.crossOrigin), l.d.m(e, {
|
|
1782
|
+
as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
|
|
1783
|
+
crossOrigin: n,
|
|
1784
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1785
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1786
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
|
|
1787
|
+
})) : l.d.m(e));
|
|
1788
|
+
}, e.requestFormReset = function(e) {
|
|
1789
|
+
l.d.r(e);
|
|
1790
|
+
}, e.unstable_batchedUpdates = function(e, t) {
|
|
1791
|
+
return e(t);
|
|
1792
|
+
}, e.useFormState = function(e, t, n) {
|
|
1793
|
+
return s().useFormState(e, t, n);
|
|
1794
|
+
}, e.useFormStatus = function() {
|
|
1795
|
+
return s().useHostTransitionStatus();
|
|
1796
|
+
}, e.version = "19.3.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1797
|
+
})();
|
|
1798
|
+
})), jn = /* @__PURE__ */ t(((e, t) => {
|
|
1799
|
+
function n() {
|
|
1800
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE == "function") {
|
|
1801
|
+
if (process.env.NODE_ENV !== "production") throw Error("^_^");
|
|
1802
|
+
try {
|
|
1803
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
|
|
1804
|
+
} catch (e) {
|
|
1805
|
+
console.error(e);
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
process.env.NODE_ENV === "production" ? (n(), t.exports = kn()) : t.exports = An();
|
|
1810
|
+
}));
|
|
1811
|
+
//#endregion
|
|
1812
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/getReactElementRef/getReactElementRef.mjs
|
|
1813
|
+
function Mn(e) {
|
|
1814
|
+
return e?.props?.ref || null;
|
|
1815
|
+
}
|
|
1816
|
+
//#endregion
|
|
1817
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Portal/Portal.mjs
|
|
1818
|
+
var Nn = /* @__PURE__ */ e(jn(), 1);
|
|
1819
|
+
function Pn(e) {
|
|
1820
|
+
return typeof e == "function" ? e() : e;
|
|
1821
|
+
}
|
|
1822
|
+
var Fn = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
1823
|
+
let { children: n, container: r, disablePortal: i = !1 } = e, [a, o] = U.useState(null), s = H(/*#__PURE__*/ U.isValidElement(n) ? Mn(n) : null, t);
|
|
1824
|
+
if (F(() => {
|
|
1825
|
+
i || o(Pn(r) || document.body);
|
|
1826
|
+
}, [r, i]), F(() => {
|
|
1827
|
+
if (a && !i) return le(t, a), () => {
|
|
1828
|
+
le(t, null);
|
|
1829
|
+
};
|
|
1830
|
+
}, [
|
|
1831
|
+
t,
|
|
1832
|
+
a,
|
|
1833
|
+
i
|
|
1834
|
+
]), i) {
|
|
1835
|
+
if (/*#__PURE__*/ U.isValidElement(n)) {
|
|
1836
|
+
let e = { ref: s };
|
|
1837
|
+
return /*#__PURE__*/ U.cloneElement(n, e);
|
|
1838
|
+
}
|
|
1839
|
+
return n;
|
|
1840
|
+
}
|
|
1841
|
+
return a && /*#__PURE__*/ Nn.createPortal(n, a);
|
|
1842
|
+
});
|
|
1843
|
+
process.env.NODE_ENV !== "production" && (Fn.propTypes = {
|
|
1844
|
+
children: W.default.node,
|
|
1845
|
+
container: W.default.oneOfType([Pe, W.default.func]),
|
|
1846
|
+
disablePortal: W.default.bool
|
|
1847
|
+
}), process.env.NODE_ENV !== "production" && (Fn.propTypes = ie(Fn.propTypes));
|
|
1848
|
+
//#endregion
|
|
1849
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Popper/popperClasses.mjs
|
|
1850
|
+
function In(e) {
|
|
1851
|
+
return T("MuiPopper", e);
|
|
1852
|
+
}
|
|
1853
|
+
z("MuiPopper", ["root"]);
|
|
1854
|
+
//#endregion
|
|
1855
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Popper/BasePopper.mjs
|
|
1856
|
+
function Ln(e, t) {
|
|
1857
|
+
if (t === "ltr") return e;
|
|
1858
|
+
switch (e) {
|
|
1859
|
+
case "bottom-end": return "bottom-start";
|
|
1860
|
+
case "bottom-start": return "bottom-end";
|
|
1861
|
+
case "top-end": return "top-start";
|
|
1862
|
+
case "top-start": return "top-end";
|
|
1863
|
+
default: return e;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
function Rn(e) {
|
|
1867
|
+
return typeof e == "function" ? e() : e;
|
|
1868
|
+
}
|
|
1869
|
+
function zn(e) {
|
|
1870
|
+
return e.nodeType !== void 0;
|
|
1871
|
+
}
|
|
1872
|
+
function Bn(e) {
|
|
1873
|
+
return !zn(e);
|
|
1874
|
+
}
|
|
1875
|
+
var Vn = (e) => {
|
|
1876
|
+
let { classes: t } = e;
|
|
1877
|
+
return _({ root: ["root"] }, In, t);
|
|
1878
|
+
}, Hn = {}, Un = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
1879
|
+
let { anchorEl: n, children: r, direction: i, disablePortal: a, modifiers: o, open: s, placement: c, popperOptions: l, popperRef: u, slotProps: d = {}, slots: f = {}, TransitionProps: p, ownerState: m, ...h } = e, g = U.useRef(null), _ = H(g, t), v = U.useRef(null), y = H(v, u), b = U.useRef(y);
|
|
1880
|
+
F(() => {
|
|
1881
|
+
b.current = y;
|
|
1882
|
+
}, [y]), U.useImperativeHandle(u, () => v.current, []);
|
|
1883
|
+
let x = Ln(c, i), [S, C] = U.useState(x), w = U.useMemo(() => Rn(n), [n]);
|
|
1884
|
+
U.useEffect(() => {
|
|
1885
|
+
v.current && v.current.forceUpdate();
|
|
1886
|
+
}), F(() => {
|
|
1887
|
+
if (!w || !s) return;
|
|
1888
|
+
let e = (e) => {
|
|
1889
|
+
C(e.placement);
|
|
1890
|
+
};
|
|
1891
|
+
if (process.env.NODE_ENV !== "production" && w && zn(w) && w.nodeType === 1) {
|
|
1892
|
+
let e = w.getBoundingClientRect();
|
|
1893
|
+
On() && e.top === 0 && e.left === 0 && e.right === 0 && e.bottom === 0 && console.warn([
|
|
1894
|
+
"MUI: The `anchorEl` prop provided to the component is invalid.",
|
|
1895
|
+
"The anchor element should be part of the document layout.",
|
|
1896
|
+
"Make sure the element is present in the document or that it's not display none."
|
|
1897
|
+
].join("\n"));
|
|
1898
|
+
}
|
|
1899
|
+
let t = [
|
|
1900
|
+
{
|
|
1901
|
+
name: "preventOverflow",
|
|
1902
|
+
options: { altBoundary: a }
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
name: "flip",
|
|
1906
|
+
options: { altBoundary: a }
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
name: "onUpdate",
|
|
1910
|
+
enabled: !0,
|
|
1911
|
+
phase: "afterWrite",
|
|
1912
|
+
fn: ({ state: t }) => {
|
|
1913
|
+
e(t);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
];
|
|
1917
|
+
o != null && (t = t.concat(o)), l && l.modifiers != null && (t = t.concat(l.modifiers));
|
|
1918
|
+
let n = En(w, g.current, {
|
|
1919
|
+
placement: x,
|
|
1920
|
+
...l,
|
|
1921
|
+
modifiers: t
|
|
1922
|
+
});
|
|
1923
|
+
b.current(n);
|
|
1924
|
+
let r = g.current;
|
|
1925
|
+
return () => {
|
|
1926
|
+
if (r) {
|
|
1927
|
+
let { style: e } = r, t = e.position, i = e.top, a = e.left, o = e.transform;
|
|
1928
|
+
n.destroy(), e.position = t, e.top = i, e.left = a, e.transform = o;
|
|
1929
|
+
} else n.destroy();
|
|
1930
|
+
b.current(null);
|
|
1931
|
+
};
|
|
1932
|
+
}, [
|
|
1933
|
+
w,
|
|
1934
|
+
a,
|
|
1935
|
+
o,
|
|
1936
|
+
s,
|
|
1937
|
+
l,
|
|
1938
|
+
x
|
|
1939
|
+
]);
|
|
1940
|
+
let T = { placement: S };
|
|
1941
|
+
p !== null && (T.TransitionProps = p);
|
|
1942
|
+
let E = Vn(e), D = f.root ?? "div", O = Dn({
|
|
1943
|
+
elementType: D,
|
|
1944
|
+
externalSlotProps: d.root,
|
|
1945
|
+
externalForwardedProps: h,
|
|
1946
|
+
additionalProps: {
|
|
1947
|
+
role: "tooltip",
|
|
1948
|
+
ref: _
|
|
1949
|
+
},
|
|
1950
|
+
ownerState: e,
|
|
1951
|
+
className: E.root
|
|
1952
|
+
});
|
|
1953
|
+
return /*#__PURE__*/ (0, G.jsx)(D, {
|
|
1954
|
+
...O,
|
|
1955
|
+
children: typeof r == "function" ? r(T) : r
|
|
1956
|
+
});
|
|
1957
|
+
}), Wn = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
1958
|
+
let { anchorEl: n, children: r, container: i, direction: a = "ltr", disablePortal: o = !1, keepMounted: s = !1, modifiers: c, open: l, placement: u = "bottom", popperOptions: f = Hn, popperRef: p, style: m, transition: h = !1, slotProps: g = {}, slots: _ = {}, ...v } = e, [y, b] = U.useState(!0), x = () => {
|
|
1959
|
+
b(!1);
|
|
1960
|
+
}, S = () => {
|
|
1961
|
+
b(!0);
|
|
1962
|
+
};
|
|
1963
|
+
if (!s && !l && (!h || y)) return null;
|
|
1964
|
+
let C;
|
|
1965
|
+
if (i) C = i;
|
|
1966
|
+
else if (n) {
|
|
1967
|
+
let e = Rn(n);
|
|
1968
|
+
C = e && zn(e) ? d(e).body : d(null).body;
|
|
1969
|
+
}
|
|
1970
|
+
let w = !l && s && (!h || y) ? "none" : void 0, T = h ? {
|
|
1971
|
+
in: l,
|
|
1972
|
+
onEnter: x,
|
|
1973
|
+
onExited: S
|
|
1974
|
+
} : void 0;
|
|
1975
|
+
return /*#__PURE__*/ (0, G.jsx)(Fn, {
|
|
1976
|
+
disablePortal: o,
|
|
1977
|
+
container: C,
|
|
1978
|
+
children: /*#__PURE__*/ (0, G.jsx)(Un, {
|
|
1979
|
+
anchorEl: n,
|
|
1980
|
+
direction: a,
|
|
1981
|
+
disablePortal: o,
|
|
1982
|
+
modifiers: c,
|
|
1983
|
+
ref: t,
|
|
1984
|
+
open: h ? !y : l,
|
|
1985
|
+
placement: u,
|
|
1986
|
+
popperOptions: f,
|
|
1987
|
+
popperRef: p,
|
|
1988
|
+
slotProps: g,
|
|
1989
|
+
slots: _,
|
|
1990
|
+
...v,
|
|
1991
|
+
style: {
|
|
1992
|
+
position: "fixed",
|
|
1993
|
+
top: 0,
|
|
1994
|
+
left: 0,
|
|
1995
|
+
display: w,
|
|
1996
|
+
...m
|
|
1997
|
+
},
|
|
1998
|
+
TransitionProps: T,
|
|
1999
|
+
children: r
|
|
2000
|
+
})
|
|
2001
|
+
});
|
|
2002
|
+
});
|
|
2003
|
+
process.env.NODE_ENV !== "production" && (Wn.propTypes = {
|
|
2004
|
+
anchorEl: x(W.default.oneOfType([
|
|
2005
|
+
Pe,
|
|
2006
|
+
W.default.object,
|
|
2007
|
+
W.default.func
|
|
2008
|
+
]), (e) => {
|
|
2009
|
+
if (e.open) {
|
|
2010
|
+
let t = Rn(e.anchorEl);
|
|
2011
|
+
if (t && zn(t) && t.nodeType === 1) {
|
|
2012
|
+
let e = t.getBoundingClientRect();
|
|
2013
|
+
if (process.env.NODE_ENV !== "production" && On() && e.top === 0 && e.left === 0 && e.right === 0 && e.bottom === 0) return Error([
|
|
2014
|
+
"MUI: The `anchorEl` prop provided to the component is invalid.",
|
|
2015
|
+
"The anchor element should be part of the document layout.",
|
|
2016
|
+
"Make sure the element is present in the document or that it's not display none."
|
|
2017
|
+
].join("\n"));
|
|
2018
|
+
} else if (!t || typeof t.getBoundingClientRect != "function" || Bn(t) && t.contextElement != null && t.contextElement.nodeType !== 1) return Error([
|
|
2019
|
+
"MUI: The `anchorEl` prop provided to the component is invalid.",
|
|
2020
|
+
"It should be an HTML element instance or a virtualElement ",
|
|
2021
|
+
"(https://popper.js.org/docs/v2/virtual-elements/)."
|
|
2022
|
+
].join("\n"));
|
|
2023
|
+
}
|
|
2024
|
+
return null;
|
|
2025
|
+
}),
|
|
2026
|
+
children: W.default.oneOfType([W.default.node, W.default.func]),
|
|
2027
|
+
container: W.default.oneOfType([Pe, W.default.func]),
|
|
2028
|
+
direction: W.default.oneOf(["ltr", "rtl"]),
|
|
2029
|
+
disablePortal: W.default.bool,
|
|
2030
|
+
keepMounted: W.default.bool,
|
|
2031
|
+
modifiers: W.default.arrayOf(W.default.shape({
|
|
2032
|
+
data: W.default.object,
|
|
2033
|
+
effect: W.default.func,
|
|
2034
|
+
enabled: W.default.bool,
|
|
2035
|
+
fn: W.default.func,
|
|
2036
|
+
name: W.default.any,
|
|
2037
|
+
options: W.default.object,
|
|
2038
|
+
phase: W.default.oneOf([
|
|
2039
|
+
"afterMain",
|
|
2040
|
+
"afterRead",
|
|
2041
|
+
"afterWrite",
|
|
2042
|
+
"beforeMain",
|
|
2043
|
+
"beforeRead",
|
|
2044
|
+
"beforeWrite",
|
|
2045
|
+
"main",
|
|
2046
|
+
"read",
|
|
2047
|
+
"write"
|
|
2048
|
+
]),
|
|
2049
|
+
requires: W.default.arrayOf(W.default.string),
|
|
2050
|
+
requiresIfExists: W.default.arrayOf(W.default.string)
|
|
2051
|
+
})),
|
|
2052
|
+
open: W.default.bool.isRequired,
|
|
2053
|
+
placement: W.default.oneOf([
|
|
2054
|
+
"auto-end",
|
|
2055
|
+
"auto-start",
|
|
2056
|
+
"auto",
|
|
2057
|
+
"bottom-end",
|
|
2058
|
+
"bottom-start",
|
|
2059
|
+
"bottom",
|
|
2060
|
+
"left-end",
|
|
2061
|
+
"left-start",
|
|
2062
|
+
"left",
|
|
2063
|
+
"right-end",
|
|
2064
|
+
"right-start",
|
|
2065
|
+
"right",
|
|
2066
|
+
"top-end",
|
|
2067
|
+
"top-start",
|
|
2068
|
+
"top"
|
|
2069
|
+
]),
|
|
2070
|
+
popperOptions: W.default.shape({
|
|
2071
|
+
modifiers: W.default.array,
|
|
2072
|
+
onFirstUpdate: W.default.func,
|
|
2073
|
+
placement: W.default.oneOf([
|
|
2074
|
+
"auto-end",
|
|
2075
|
+
"auto-start",
|
|
2076
|
+
"auto",
|
|
2077
|
+
"bottom-end",
|
|
2078
|
+
"bottom-start",
|
|
2079
|
+
"bottom",
|
|
2080
|
+
"left-end",
|
|
2081
|
+
"left-start",
|
|
2082
|
+
"left",
|
|
2083
|
+
"right-end",
|
|
2084
|
+
"right-start",
|
|
2085
|
+
"right",
|
|
2086
|
+
"top-end",
|
|
2087
|
+
"top-start",
|
|
2088
|
+
"top"
|
|
2089
|
+
]),
|
|
2090
|
+
strategy: W.default.oneOf(["absolute", "fixed"])
|
|
2091
|
+
}),
|
|
2092
|
+
popperRef: c,
|
|
2093
|
+
slotProps: W.default.shape({ root: W.default.oneOfType([W.default.func, W.default.object]) }),
|
|
2094
|
+
slots: W.default.shape({ root: W.default.elementType }),
|
|
2095
|
+
transition: W.default.bool
|
|
2096
|
+
});
|
|
2097
|
+
//#endregion
|
|
2098
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Popper/Popper.mjs
|
|
2099
|
+
var Gn = A(Wn, {
|
|
2100
|
+
name: "MuiPopper",
|
|
2101
|
+
slot: "Root"
|
|
2102
|
+
})({}), Kn = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
2103
|
+
let n = oe(), { anchorEl: r, component: i, container: a, disablePortal: o, keepMounted: s, modifiers: c, open: l, placement: u, popperOptions: d, popperRef: f, transition: p, slots: m, slotProps: h, ...g } = j({
|
|
2104
|
+
props: e,
|
|
2105
|
+
name: "MuiPopper"
|
|
2106
|
+
}), _ = {
|
|
2107
|
+
anchorEl: r,
|
|
2108
|
+
container: a,
|
|
2109
|
+
disablePortal: o,
|
|
2110
|
+
keepMounted: s,
|
|
2111
|
+
modifiers: c,
|
|
2112
|
+
open: l,
|
|
2113
|
+
placement: u,
|
|
2114
|
+
popperOptions: d,
|
|
2115
|
+
popperRef: f,
|
|
2116
|
+
transition: p,
|
|
2117
|
+
...g
|
|
2118
|
+
};
|
|
2119
|
+
return /*#__PURE__*/ (0, G.jsx)(Gn, {
|
|
2120
|
+
as: i,
|
|
2121
|
+
direction: n ? "rtl" : "ltr",
|
|
2122
|
+
slots: m,
|
|
2123
|
+
slotProps: h,
|
|
2124
|
+
..._,
|
|
2125
|
+
ref: t
|
|
2126
|
+
});
|
|
2127
|
+
});
|
|
2128
|
+
process.env.NODE_ENV !== "production" && (Kn.propTypes = {
|
|
2129
|
+
anchorEl: W.default.oneOfType([
|
|
2130
|
+
Pe,
|
|
2131
|
+
W.default.object,
|
|
2132
|
+
W.default.func
|
|
2133
|
+
]),
|
|
2134
|
+
children: W.default.oneOfType([W.default.node, W.default.func]),
|
|
2135
|
+
component: W.default.elementType,
|
|
2136
|
+
container: W.default.oneOfType([Pe, W.default.func]),
|
|
2137
|
+
disablePortal: W.default.bool,
|
|
2138
|
+
keepMounted: W.default.bool,
|
|
2139
|
+
modifiers: W.default.arrayOf(W.default.shape({
|
|
2140
|
+
data: W.default.object,
|
|
2141
|
+
effect: W.default.func,
|
|
2142
|
+
enabled: W.default.bool,
|
|
2143
|
+
fn: W.default.func,
|
|
2144
|
+
name: W.default.any,
|
|
2145
|
+
options: W.default.object,
|
|
2146
|
+
phase: W.default.oneOf([
|
|
2147
|
+
"afterMain",
|
|
2148
|
+
"afterRead",
|
|
2149
|
+
"afterWrite",
|
|
2150
|
+
"beforeMain",
|
|
2151
|
+
"beforeRead",
|
|
2152
|
+
"beforeWrite",
|
|
2153
|
+
"main",
|
|
2154
|
+
"read",
|
|
2155
|
+
"write"
|
|
2156
|
+
]),
|
|
2157
|
+
requires: W.default.arrayOf(W.default.string),
|
|
2158
|
+
requiresIfExists: W.default.arrayOf(W.default.string)
|
|
2159
|
+
})),
|
|
2160
|
+
open: W.default.bool.isRequired,
|
|
2161
|
+
placement: W.default.oneOf([
|
|
2162
|
+
"auto-end",
|
|
2163
|
+
"auto-start",
|
|
2164
|
+
"auto",
|
|
2165
|
+
"bottom-end",
|
|
2166
|
+
"bottom-start",
|
|
2167
|
+
"bottom",
|
|
2168
|
+
"left-end",
|
|
2169
|
+
"left-start",
|
|
2170
|
+
"left",
|
|
2171
|
+
"right-end",
|
|
2172
|
+
"right-start",
|
|
2173
|
+
"right",
|
|
2174
|
+
"top-end",
|
|
2175
|
+
"top-start",
|
|
2176
|
+
"top"
|
|
2177
|
+
]),
|
|
2178
|
+
popperOptions: W.default.shape({
|
|
2179
|
+
modifiers: W.default.array,
|
|
2180
|
+
onFirstUpdate: W.default.func,
|
|
2181
|
+
placement: W.default.oneOf([
|
|
2182
|
+
"auto-end",
|
|
2183
|
+
"auto-start",
|
|
2184
|
+
"auto",
|
|
2185
|
+
"bottom-end",
|
|
2186
|
+
"bottom-start",
|
|
2187
|
+
"bottom",
|
|
2188
|
+
"left-end",
|
|
2189
|
+
"left-start",
|
|
2190
|
+
"left",
|
|
2191
|
+
"right-end",
|
|
2192
|
+
"right-start",
|
|
2193
|
+
"right",
|
|
2194
|
+
"top-end",
|
|
2195
|
+
"top-start",
|
|
2196
|
+
"top"
|
|
2197
|
+
]),
|
|
2198
|
+
strategy: W.default.oneOf(["absolute", "fixed"])
|
|
2199
|
+
}),
|
|
2200
|
+
popperRef: c,
|
|
2201
|
+
slotProps: W.default.shape({ root: W.default.oneOfType([W.default.func, W.default.object]) }),
|
|
2202
|
+
slots: W.default.shape({ root: W.default.elementType }),
|
|
2203
|
+
sx: W.default.oneOfType([
|
|
2204
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
2205
|
+
W.default.func,
|
|
2206
|
+
W.default.object,
|
|
2207
|
+
W.default.bool
|
|
2208
|
+
])),
|
|
2209
|
+
W.default.func,
|
|
2210
|
+
W.default.object
|
|
2211
|
+
]),
|
|
2212
|
+
transition: W.default.bool
|
|
2213
|
+
});
|
|
2214
|
+
//#endregion
|
|
2215
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.mjs
|
|
2216
|
+
function qn(e) {
|
|
2217
|
+
let { prototype: t = {} } = e;
|
|
2218
|
+
return !!t.isReactComponent;
|
|
2219
|
+
}
|
|
2220
|
+
function Jn(e, t, n, r, i) {
|
|
2221
|
+
let a = e[t], o = i || t;
|
|
2222
|
+
if (a == null || typeof window > "u") return null;
|
|
2223
|
+
let s, c = a.type;
|
|
2224
|
+
return typeof c == "function" && !qn(c) && (s = "Did you accidentally use a plain function component for an element instead?"), s === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`);
|
|
2225
|
+
}
|
|
2226
|
+
var Yn = x(W.default.element, Jn);
|
|
2227
|
+
Yn.isRequired = x(W.default.element.isRequired, Jn);
|
|
2228
|
+
//#endregion
|
|
2229
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Fade/Fade.mjs
|
|
2230
|
+
var Xn = {
|
|
2231
|
+
entering: { opacity: 1 },
|
|
2232
|
+
entered: { opacity: 1 },
|
|
2233
|
+
exiting: { opacity: 0 },
|
|
2234
|
+
exited: { opacity: 0 }
|
|
2235
|
+
}, Zn = {
|
|
2236
|
+
opacity: 0,
|
|
2237
|
+
visibility: "hidden"
|
|
2238
|
+
}, Qn = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
2239
|
+
let n = g(), r = {
|
|
2240
|
+
enter: n.transitions.duration.enteringScreen,
|
|
2241
|
+
exit: n.transitions.duration.leavingScreen
|
|
2242
|
+
}, { addEndListener: i, appear: s = !0, children: c, disablePrefersReducedMotion: l = !1, easing: u, in: d, onEnter: f, onEntered: p, onEntering: m, onExit: h, onExited: _, onExiting: v, style: y, timeout: b = r, ...x } = e, S = E(n.motion.reducedMotion, l), w = U.useRef(null), T = o(w, Mn(c), t), D = a(w, m), O = a(w, (e, t) => {
|
|
2243
|
+
S.shouldReduceMotion || B(e);
|
|
2244
|
+
let r = C({
|
|
2245
|
+
style: y,
|
|
2246
|
+
timeout: b,
|
|
2247
|
+
easing: u
|
|
2248
|
+
}, { mode: "enter" }), i = S.getTransitionTiming({
|
|
2249
|
+
duration: r.duration,
|
|
2250
|
+
delay: r.delay
|
|
2251
|
+
});
|
|
2252
|
+
e.style.transition = n.transitions.create("opacity", {
|
|
2253
|
+
duration: i.duration,
|
|
2254
|
+
easing: r.easing,
|
|
2255
|
+
delay: i.delay
|
|
2256
|
+
}), f && f(e, t);
|
|
2257
|
+
}), k = a(w, p), A = a(w, v), j = a(w, (e) => {
|
|
2258
|
+
let t = C({
|
|
2259
|
+
style: y,
|
|
2260
|
+
timeout: b,
|
|
2261
|
+
easing: u
|
|
2262
|
+
}, { mode: "exit" }), r = S.getTransitionTiming({
|
|
2263
|
+
duration: t.duration,
|
|
2264
|
+
delay: t.delay
|
|
2265
|
+
});
|
|
2266
|
+
e.style.transition = n.transitions.create("opacity", {
|
|
2267
|
+
duration: r.duration,
|
|
2268
|
+
easing: t.easing,
|
|
2269
|
+
delay: r.delay
|
|
2270
|
+
}), h && h(e);
|
|
2271
|
+
}), M = a(w, (e) => {
|
|
2272
|
+
e.style.transition = "", _ && _(e);
|
|
2273
|
+
});
|
|
2274
|
+
return /*#__PURE__*/ (0, G.jsx)(ye, {
|
|
2275
|
+
appear: s,
|
|
2276
|
+
in: d,
|
|
2277
|
+
nodeRef: w,
|
|
2278
|
+
onEnter: O,
|
|
2279
|
+
onEntered: k,
|
|
2280
|
+
onEntering: D,
|
|
2281
|
+
onExit: j,
|
|
2282
|
+
onExited: M,
|
|
2283
|
+
onExiting: A,
|
|
2284
|
+
addEndListener: i ? (e) => {
|
|
2285
|
+
i(w.current, e);
|
|
2286
|
+
} : void 0,
|
|
2287
|
+
reduceMotion: S.shouldReduceMotion,
|
|
2288
|
+
timeout: b,
|
|
2289
|
+
...x,
|
|
2290
|
+
children: (e, { ownerState: t, ...n }) => {
|
|
2291
|
+
let r = ne(e, d, Xn, Zn, y, c.props.style);
|
|
2292
|
+
return /*#__PURE__*/ U.cloneElement(c, {
|
|
2293
|
+
style: r,
|
|
2294
|
+
ref: T,
|
|
2295
|
+
...n
|
|
2296
|
+
});
|
|
2297
|
+
}
|
|
2298
|
+
});
|
|
2299
|
+
});
|
|
2300
|
+
process.env.NODE_ENV !== "production" && (Qn.propTypes = {
|
|
2301
|
+
addEndListener: W.default.func,
|
|
2302
|
+
appear: W.default.bool,
|
|
2303
|
+
children: Yn.isRequired,
|
|
2304
|
+
disablePrefersReducedMotion: W.default.bool,
|
|
2305
|
+
easing: W.default.oneOfType([W.default.shape({
|
|
2306
|
+
enter: W.default.string,
|
|
2307
|
+
exit: W.default.string
|
|
2308
|
+
}), W.default.string]),
|
|
2309
|
+
in: W.default.bool,
|
|
2310
|
+
onEnter: W.default.func,
|
|
2311
|
+
onEntered: W.default.func,
|
|
2312
|
+
onEntering: W.default.func,
|
|
2313
|
+
onExit: W.default.func,
|
|
2314
|
+
onExited: W.default.func,
|
|
2315
|
+
onExiting: W.default.func,
|
|
2316
|
+
style: W.default.object,
|
|
2317
|
+
timeout: W.default.oneOfType([W.default.number, W.default.shape({
|
|
2318
|
+
appear: W.default.number,
|
|
2319
|
+
enter: W.default.number,
|
|
2320
|
+
exit: W.default.number
|
|
2321
|
+
})])
|
|
2322
|
+
});
|
|
2323
|
+
//#endregion
|
|
2324
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Backdrop/backdropClasses.mjs
|
|
2325
|
+
function $n(e) {
|
|
2326
|
+
return T("MuiBackdrop", e);
|
|
2327
|
+
}
|
|
2328
|
+
z("MuiBackdrop", ["root", "invisible"]);
|
|
2329
|
+
//#endregion
|
|
2330
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Backdrop/Backdrop.mjs
|
|
2331
|
+
var er = (e) => {
|
|
2332
|
+
let { classes: t, invisible: n } = e;
|
|
2333
|
+
return _({ root: ["root", n && "invisible"] }, $n, t);
|
|
2334
|
+
}, tr = A("div", {
|
|
2335
|
+
name: "MuiBackdrop",
|
|
2336
|
+
slot: "Root",
|
|
2337
|
+
overridesResolver: (e, t) => {
|
|
2338
|
+
let { ownerState: n } = e;
|
|
2339
|
+
return [t.root, n.invisible && t.invisible];
|
|
2340
|
+
}
|
|
2341
|
+
})({
|
|
2342
|
+
position: "fixed",
|
|
2343
|
+
display: "flex",
|
|
2344
|
+
alignItems: "center",
|
|
2345
|
+
justifyContent: "center",
|
|
2346
|
+
right: 0,
|
|
2347
|
+
bottom: 0,
|
|
2348
|
+
top: 0,
|
|
2349
|
+
left: 0,
|
|
2350
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
2351
|
+
WebkitTapHighlightColor: "transparent",
|
|
2352
|
+
variants: [{
|
|
2353
|
+
props: { invisible: !0 },
|
|
2354
|
+
style: { backgroundColor: "transparent" }
|
|
2355
|
+
}]
|
|
2356
|
+
}), nr = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
2357
|
+
let n = j({
|
|
2358
|
+
props: e,
|
|
2359
|
+
name: "MuiBackdrop"
|
|
2360
|
+
}), { children: r, className: i, component: a = "div", invisible: o = !1, open: s, slotProps: c = {}, slots: l = {}, transitionDuration: u, ...d } = n, f = {
|
|
2361
|
+
...n,
|
|
2362
|
+
component: a,
|
|
2363
|
+
invisible: o
|
|
2364
|
+
}, p = er(f), m = {
|
|
2365
|
+
component: a,
|
|
2366
|
+
slots: l,
|
|
2367
|
+
slotProps: c
|
|
2368
|
+
}, [h, g] = J("root", {
|
|
2369
|
+
elementType: tr,
|
|
2370
|
+
externalForwardedProps: m,
|
|
2371
|
+
className: D(p.root, i),
|
|
2372
|
+
ownerState: f
|
|
2373
|
+
}), [_, v] = J("transition", {
|
|
2374
|
+
elementType: Qn,
|
|
2375
|
+
externalForwardedProps: m,
|
|
2376
|
+
ownerState: f
|
|
2377
|
+
});
|
|
2378
|
+
return /*#__PURE__*/ (0, G.jsx)(_, {
|
|
2379
|
+
in: s,
|
|
2380
|
+
timeout: u,
|
|
2381
|
+
...d,
|
|
2382
|
+
...v,
|
|
2383
|
+
children: /*#__PURE__*/ (0, G.jsx)(h, {
|
|
2384
|
+
...g,
|
|
2385
|
+
ref: t,
|
|
2386
|
+
children: r
|
|
2387
|
+
})
|
|
2388
|
+
});
|
|
2389
|
+
});
|
|
2390
|
+
process.env.NODE_ENV !== "production" && (nr.propTypes = {
|
|
2391
|
+
children: W.default.node,
|
|
2392
|
+
classes: W.default.object,
|
|
2393
|
+
className: W.default.string,
|
|
2394
|
+
component: W.default.elementType,
|
|
2395
|
+
invisible: W.default.bool,
|
|
2396
|
+
open: W.default.bool.isRequired,
|
|
2397
|
+
slotProps: W.default.shape({
|
|
2398
|
+
root: W.default.oneOfType([W.default.func, W.default.object]),
|
|
2399
|
+
transition: W.default.oneOfType([W.default.func, W.default.object])
|
|
2400
|
+
}),
|
|
2401
|
+
slots: W.default.shape({
|
|
2402
|
+
root: W.default.elementType,
|
|
2403
|
+
transition: W.default.elementType
|
|
2404
|
+
}),
|
|
2405
|
+
sx: W.default.oneOfType([
|
|
2406
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
2407
|
+
W.default.func,
|
|
2408
|
+
W.default.object,
|
|
2409
|
+
W.default.bool
|
|
2410
|
+
])),
|
|
2411
|
+
W.default.func,
|
|
2412
|
+
W.default.object
|
|
2413
|
+
]),
|
|
2414
|
+
transitionDuration: W.default.oneOfType([W.default.number, W.default.shape({
|
|
2415
|
+
appear: W.default.number,
|
|
2416
|
+
enter: W.default.number,
|
|
2417
|
+
exit: W.default.number
|
|
2418
|
+
})])
|
|
2419
|
+
});
|
|
2420
|
+
//#endregion
|
|
2421
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Button/buttonClasses.mjs
|
|
2422
|
+
function rr(e) {
|
|
2423
|
+
return T("MuiButton", e);
|
|
2424
|
+
}
|
|
2425
|
+
var ir = z("MuiButton", /* @__PURE__ */ "root.text.outlined.contained.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd".split(".")), ar = /*#__PURE__*/ U.createContext({});
|
|
2426
|
+
process.env.NODE_ENV !== "production" && (ar.displayName = "ButtonGroupContext");
|
|
2427
|
+
//#endregion
|
|
2428
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.mjs
|
|
2429
|
+
var or = /*#__PURE__*/ U.createContext(void 0);
|
|
2430
|
+
process.env.NODE_ENV !== "production" && (or.displayName = "ButtonGroupButtonContext");
|
|
2431
|
+
//#endregion
|
|
2432
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Button/Button.mjs
|
|
2433
|
+
var sr = (e) => {
|
|
2434
|
+
let { color: t, disableElevation: n, fullWidth: r, size: i, variant: a, loading: o, loadingPosition: s, classes: c } = e, l = {
|
|
2435
|
+
root: [
|
|
2436
|
+
"root",
|
|
2437
|
+
o && "loading",
|
|
2438
|
+
a,
|
|
2439
|
+
`size${m(i)}`,
|
|
2440
|
+
`color${m(t)}`,
|
|
2441
|
+
n && "disableElevation",
|
|
2442
|
+
r && "fullWidth",
|
|
2443
|
+
o && `loadingPosition${m(s)}`
|
|
2444
|
+
],
|
|
2445
|
+
startIcon: ["icon", "startIcon"],
|
|
2446
|
+
endIcon: ["icon", "endIcon"],
|
|
2447
|
+
loadingIndicator: ["loadingIndicator"],
|
|
2448
|
+
loadingWrapper: ["loadingWrapper"]
|
|
2449
|
+
}, u = _(l, rr, c);
|
|
2450
|
+
return {
|
|
2451
|
+
...c,
|
|
2452
|
+
...u
|
|
2453
|
+
};
|
|
2454
|
+
}, cr = [
|
|
2455
|
+
{
|
|
2456
|
+
props: { size: "small" },
|
|
2457
|
+
style: { "& > *:nth-of-type(1)": { fontSize: 18 } }
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
props: { size: "medium" },
|
|
2461
|
+
style: { "& > *:nth-of-type(1)": { fontSize: 20 } }
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
props: { size: "large" },
|
|
2465
|
+
style: { "& > *:nth-of-type(1)": { fontSize: 22 } }
|
|
2466
|
+
}
|
|
2467
|
+
], lr = A(L, {
|
|
2468
|
+
shouldForwardProp: (e) => p(e) || e === "classes",
|
|
2469
|
+
name: "MuiButton",
|
|
2470
|
+
slot: "Root",
|
|
2471
|
+
overridesResolver: (e, t) => {
|
|
2472
|
+
let { ownerState: n } = e;
|
|
2473
|
+
return [
|
|
2474
|
+
t.root,
|
|
2475
|
+
t[n.variant],
|
|
2476
|
+
t[`size${m(n.size)}`],
|
|
2477
|
+
n.color === "inherit" && t.colorInherit,
|
|
2478
|
+
n.disableElevation && t.disableElevation,
|
|
2479
|
+
n.fullWidth && t.fullWidth,
|
|
2480
|
+
n.loading && t.loading
|
|
2481
|
+
];
|
|
2482
|
+
}
|
|
2483
|
+
})(r(({ theme: e }) => {
|
|
2484
|
+
let t = e.palette.mode === "light" ? e.palette.grey[300] : e.palette.grey[800], n = e.palette.mode === "light" ? e.palette.grey.A100 : e.palette.grey[700];
|
|
2485
|
+
return {
|
|
2486
|
+
...e.typography.button,
|
|
2487
|
+
minWidth: 64,
|
|
2488
|
+
padding: "6px 16px",
|
|
2489
|
+
border: 0,
|
|
2490
|
+
borderRadius: (e.vars || e).shape.borderRadius,
|
|
2491
|
+
...V(e, [
|
|
2492
|
+
"background-color",
|
|
2493
|
+
"box-shadow",
|
|
2494
|
+
"border-color",
|
|
2495
|
+
"color"
|
|
2496
|
+
], { duration: e.transitions.duration.short }),
|
|
2497
|
+
"&:hover": { textDecoration: "none" },
|
|
2498
|
+
[`&.${ir.disabled}`]: { color: (e.vars || e).palette.action.disabled },
|
|
2499
|
+
variants: [
|
|
2500
|
+
{
|
|
2501
|
+
props: { variant: "contained" },
|
|
2502
|
+
style: {
|
|
2503
|
+
color: "var(--variant-containedColor)",
|
|
2504
|
+
backgroundColor: "var(--variant-containedBg)",
|
|
2505
|
+
boxShadow: (e.vars || e).shadows[2],
|
|
2506
|
+
"&:hover": {
|
|
2507
|
+
boxShadow: (e.vars || e).shadows[4],
|
|
2508
|
+
"@media (hover: none)": { boxShadow: (e.vars || e).shadows[2] }
|
|
2509
|
+
},
|
|
2510
|
+
"&:active": { boxShadow: (e.vars || e).shadows[8] },
|
|
2511
|
+
[`&.${ir.focusVisible}`]: {
|
|
2512
|
+
...e.focusVisible,
|
|
2513
|
+
boxShadow: e.focusVisible?.boxShadow ? `${(e.vars || e).shadows[6]}, ${e.focusVisible.boxShadow}` : (e.vars || e).shadows[6]
|
|
2514
|
+
},
|
|
2515
|
+
[`&.${ir.disabled}`]: {
|
|
2516
|
+
color: (e.vars || e).palette.action.disabled,
|
|
2517
|
+
boxShadow: (e.vars || e).shadows[0],
|
|
2518
|
+
backgroundColor: (e.vars || e).palette.action.disabledBackground
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
props: { variant: "outlined" },
|
|
2524
|
+
style: {
|
|
2525
|
+
padding: "5px 15px",
|
|
2526
|
+
border: "1px solid currentColor",
|
|
2527
|
+
borderColor: "var(--variant-outlinedBorder, currentColor)",
|
|
2528
|
+
backgroundColor: "var(--variant-outlinedBg)",
|
|
2529
|
+
color: "var(--variant-outlinedColor)",
|
|
2530
|
+
[`&.${ir.disabled}`]: { border: `1px solid ${(e.vars || e).palette.action.disabledBackground}` }
|
|
2531
|
+
}
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
props: { variant: "text" },
|
|
2535
|
+
style: {
|
|
2536
|
+
padding: "6px 8px",
|
|
2537
|
+
color: "var(--variant-textColor)",
|
|
2538
|
+
backgroundColor: "var(--variant-textBg)"
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
...Object.entries(e.palette).filter(P()).map(([t]) => ({
|
|
2542
|
+
props: { color: t },
|
|
2543
|
+
style: {
|
|
2544
|
+
"--variant-textColor": (e.vars || e).palette[t].main,
|
|
2545
|
+
"--variant-outlinedColor": (e.vars || e).palette[t].main,
|
|
2546
|
+
"--variant-outlinedBorder": e.alpha((e.vars || e).palette[t].main, .5),
|
|
2547
|
+
"--variant-containedColor": (e.vars || e).palette[t].contrastText,
|
|
2548
|
+
"--variant-containedBg": (e.vars || e).palette[t].main,
|
|
2549
|
+
"@media (hover: hover)": { "&:hover": {
|
|
2550
|
+
"--variant-containedBg": (e.vars || e).palette[t].dark,
|
|
2551
|
+
"--variant-textBg": e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity),
|
|
2552
|
+
"--variant-outlinedBorder": (e.vars || e).palette[t].main,
|
|
2553
|
+
"--variant-outlinedBg": e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity)
|
|
2554
|
+
} }
|
|
2555
|
+
}
|
|
2556
|
+
})),
|
|
2557
|
+
{
|
|
2558
|
+
props: { color: "inherit" },
|
|
2559
|
+
style: {
|
|
2560
|
+
color: "inherit",
|
|
2561
|
+
borderColor: "currentColor",
|
|
2562
|
+
"--variant-containedBg": e.vars ? e.vars.palette.Button.inheritContainedBg : t,
|
|
2563
|
+
"@media (hover: hover)": { "&:hover": {
|
|
2564
|
+
"--variant-containedBg": e.vars ? e.vars.palette.Button.inheritContainedHoverBg : n,
|
|
2565
|
+
"--variant-textBg": e.alpha((e.vars || e).palette.text.primary, (e.vars || e).palette.action.hoverOpacity),
|
|
2566
|
+
"--variant-outlinedBg": e.alpha((e.vars || e).palette.text.primary, (e.vars || e).palette.action.hoverOpacity)
|
|
2567
|
+
} }
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
props: {
|
|
2572
|
+
size: "small",
|
|
2573
|
+
variant: "text"
|
|
2574
|
+
},
|
|
2575
|
+
style: {
|
|
2576
|
+
padding: "4px 5px",
|
|
2577
|
+
fontSize: e.typography.pxToRem(13)
|
|
2578
|
+
}
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
props: {
|
|
2582
|
+
size: "large",
|
|
2583
|
+
variant: "text"
|
|
2584
|
+
},
|
|
2585
|
+
style: {
|
|
2586
|
+
padding: "8px 11px",
|
|
2587
|
+
fontSize: e.typography.pxToRem(15)
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
props: {
|
|
2592
|
+
size: "small",
|
|
2593
|
+
variant: "outlined"
|
|
2594
|
+
},
|
|
2595
|
+
style: {
|
|
2596
|
+
padding: "3px 9px",
|
|
2597
|
+
fontSize: e.typography.pxToRem(13)
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
props: {
|
|
2602
|
+
size: "large",
|
|
2603
|
+
variant: "outlined"
|
|
2604
|
+
},
|
|
2605
|
+
style: {
|
|
2606
|
+
padding: "7px 21px",
|
|
2607
|
+
fontSize: e.typography.pxToRem(15)
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
props: {
|
|
2612
|
+
size: "small",
|
|
2613
|
+
variant: "contained"
|
|
2614
|
+
},
|
|
2615
|
+
style: {
|
|
2616
|
+
padding: "4px 10px",
|
|
2617
|
+
fontSize: e.typography.pxToRem(13)
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
props: {
|
|
2622
|
+
size: "large",
|
|
2623
|
+
variant: "contained"
|
|
2624
|
+
},
|
|
2625
|
+
style: {
|
|
2626
|
+
padding: "8px 22px",
|
|
2627
|
+
fontSize: e.typography.pxToRem(15)
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
props: { disableElevation: !0 },
|
|
2632
|
+
style: {
|
|
2633
|
+
boxShadow: "none",
|
|
2634
|
+
"&:hover": { boxShadow: "none" },
|
|
2635
|
+
[`&.${ir.focusVisible}`]: { boxShadow: e.focusVisible?.boxShadow ?? "none" },
|
|
2636
|
+
"&:active": { boxShadow: "none" },
|
|
2637
|
+
[`&.${ir.disabled}`]: { boxShadow: "none" }
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
props: { fullWidth: !0 },
|
|
2642
|
+
style: { width: "100%" }
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
props: { loadingPosition: "center" },
|
|
2646
|
+
style: {
|
|
2647
|
+
...V(e, [
|
|
2648
|
+
"background-color",
|
|
2649
|
+
"box-shadow",
|
|
2650
|
+
"border-color"
|
|
2651
|
+
], { duration: e.transitions.duration.short }),
|
|
2652
|
+
[`&.${ir.loading}`]: { color: "transparent" }
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
]
|
|
2656
|
+
};
|
|
2657
|
+
})), ur = A("span", {
|
|
2658
|
+
name: "MuiButton",
|
|
2659
|
+
slot: "StartIcon",
|
|
2660
|
+
overridesResolver: (e, t) => {
|
|
2661
|
+
let { ownerState: n } = e;
|
|
2662
|
+
return [t.startIcon, n.loading && t.startIconLoadingStart];
|
|
2663
|
+
}
|
|
2664
|
+
})(({ theme: e }) => ({
|
|
2665
|
+
display: "inherit",
|
|
2666
|
+
alignItems: "center",
|
|
2667
|
+
marginRight: 8,
|
|
2668
|
+
marginLeft: -4,
|
|
2669
|
+
"&::before": {
|
|
2670
|
+
content: "\"\\200b\"",
|
|
2671
|
+
width: 0,
|
|
2672
|
+
overflow: "hidden"
|
|
2673
|
+
},
|
|
2674
|
+
variants: [
|
|
2675
|
+
{
|
|
2676
|
+
props: { size: "small" },
|
|
2677
|
+
style: { marginLeft: -2 }
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
props: {
|
|
2681
|
+
loadingPosition: "start",
|
|
2682
|
+
loading: !0
|
|
2683
|
+
},
|
|
2684
|
+
style: {
|
|
2685
|
+
...V(e, ["opacity"], { duration: e.transitions.duration.short }),
|
|
2686
|
+
opacity: 0
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
props: {
|
|
2691
|
+
loadingPosition: "start",
|
|
2692
|
+
loading: !0,
|
|
2693
|
+
fullWidth: !0
|
|
2694
|
+
},
|
|
2695
|
+
style: { marginRight: -8 }
|
|
2696
|
+
},
|
|
2697
|
+
...cr
|
|
2698
|
+
]
|
|
2699
|
+
})), dr = A("span", {
|
|
2700
|
+
name: "MuiButton",
|
|
2701
|
+
slot: "EndIcon",
|
|
2702
|
+
overridesResolver: (e, t) => {
|
|
2703
|
+
let { ownerState: n } = e;
|
|
2704
|
+
return [t.endIcon, n.loading && t.endIconLoadingEnd];
|
|
2705
|
+
}
|
|
2706
|
+
})(({ theme: e }) => ({
|
|
2707
|
+
display: "inherit",
|
|
2708
|
+
marginRight: -4,
|
|
2709
|
+
marginLeft: 8,
|
|
2710
|
+
variants: [
|
|
2711
|
+
{
|
|
2712
|
+
props: { size: "small" },
|
|
2713
|
+
style: { marginRight: -2 }
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
props: {
|
|
2717
|
+
loadingPosition: "end",
|
|
2718
|
+
loading: !0
|
|
2719
|
+
},
|
|
2720
|
+
style: {
|
|
2721
|
+
...V(e, ["opacity"], { duration: e.transitions.duration.short }),
|
|
2722
|
+
opacity: 0
|
|
2723
|
+
}
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
props: {
|
|
2727
|
+
loadingPosition: "end",
|
|
2728
|
+
loading: !0,
|
|
2729
|
+
fullWidth: !0
|
|
2730
|
+
},
|
|
2731
|
+
style: { marginLeft: -8 }
|
|
2732
|
+
},
|
|
2733
|
+
...cr
|
|
2734
|
+
]
|
|
2735
|
+
})), fr = A("span", {
|
|
2736
|
+
name: "MuiButton",
|
|
2737
|
+
slot: "LoadingIndicator"
|
|
2738
|
+
})(({ theme: e }) => ({
|
|
2739
|
+
display: "none",
|
|
2740
|
+
position: "absolute",
|
|
2741
|
+
visibility: "visible",
|
|
2742
|
+
variants: [
|
|
2743
|
+
{
|
|
2744
|
+
props: { loading: !0 },
|
|
2745
|
+
style: { display: "flex" }
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
props: { loadingPosition: "start" },
|
|
2749
|
+
style: { left: 14 }
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
props: {
|
|
2753
|
+
loadingPosition: "start",
|
|
2754
|
+
size: "small"
|
|
2755
|
+
},
|
|
2756
|
+
style: { left: 10 }
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
props: {
|
|
2760
|
+
variant: "text",
|
|
2761
|
+
loadingPosition: "start"
|
|
2762
|
+
},
|
|
2763
|
+
style: { left: 6 }
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
props: { loadingPosition: "center" },
|
|
2767
|
+
style: {
|
|
2768
|
+
left: "50%",
|
|
2769
|
+
transform: "translate(-50%)",
|
|
2770
|
+
color: (e.vars || e).palette.action.disabled
|
|
2771
|
+
}
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
props: { loadingPosition: "end" },
|
|
2775
|
+
style: { right: 14 }
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
props: {
|
|
2779
|
+
loadingPosition: "end",
|
|
2780
|
+
size: "small"
|
|
2781
|
+
},
|
|
2782
|
+
style: { right: 10 }
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
props: {
|
|
2786
|
+
variant: "text",
|
|
2787
|
+
loadingPosition: "end"
|
|
2788
|
+
},
|
|
2789
|
+
style: { right: 6 }
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
props: {
|
|
2793
|
+
loadingPosition: "start",
|
|
2794
|
+
fullWidth: !0
|
|
2795
|
+
},
|
|
2796
|
+
style: {
|
|
2797
|
+
position: "relative",
|
|
2798
|
+
left: -10
|
|
2799
|
+
}
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
props: {
|
|
2803
|
+
loadingPosition: "end",
|
|
2804
|
+
fullWidth: !0
|
|
2805
|
+
},
|
|
2806
|
+
style: {
|
|
2807
|
+
position: "relative",
|
|
2808
|
+
right: -10
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
]
|
|
2812
|
+
})), pr = A("span", {
|
|
2813
|
+
name: "MuiButton",
|
|
2814
|
+
slot: "LoadingIconPlaceholder"
|
|
2815
|
+
})({
|
|
2816
|
+
display: "inline-block",
|
|
2817
|
+
width: "1em",
|
|
2818
|
+
height: "1em"
|
|
2819
|
+
}), mr = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
2820
|
+
let n = U.useContext(ar), r = U.useContext(or), i = R(n, e), a = j({
|
|
2821
|
+
props: i,
|
|
2822
|
+
name: "MuiButton"
|
|
2823
|
+
}), { children: o, color: s = "primary", component: c = "button", className: l, disabled: u = !1, disableElevation: d = !1, disableFocusRipple: f = !1, endIcon: p, focusVisibleClassName: m, fullWidth: h = !1, id: g, loading: _ = null, loadingIndicator: v, loadingPosition: y = "center", size: b = "medium", startIcon: x, type: C, variant: w = "text", ...T } = a, E = k(g), O = v ?? /*#__PURE__*/ (0, G.jsx)(S, {
|
|
2824
|
+
"aria-labelledby": E,
|
|
2825
|
+
color: "inherit",
|
|
2826
|
+
size: 16
|
|
2827
|
+
}), A = {
|
|
2828
|
+
...a,
|
|
2829
|
+
color: s,
|
|
2830
|
+
component: c,
|
|
2831
|
+
disabled: u,
|
|
2832
|
+
disableElevation: d,
|
|
2833
|
+
disableFocusRipple: f,
|
|
2834
|
+
fullWidth: h,
|
|
2835
|
+
loading: _,
|
|
2836
|
+
loadingIndicator: O,
|
|
2837
|
+
loadingPosition: y,
|
|
2838
|
+
size: b,
|
|
2839
|
+
type: C,
|
|
2840
|
+
variant: w
|
|
2841
|
+
}, M = sr(A), N = (x || _ && y === "start") && /*#__PURE__*/ (0, G.jsx)(ur, {
|
|
2842
|
+
className: M.startIcon,
|
|
2843
|
+
ownerState: A,
|
|
2844
|
+
children: x || /*#__PURE__*/ (0, G.jsx)(pr, {
|
|
2845
|
+
className: M.loadingIconPlaceholder,
|
|
2846
|
+
ownerState: A
|
|
2847
|
+
})
|
|
2848
|
+
}), P = (p || _ && y === "end") && /*#__PURE__*/ (0, G.jsx)(dr, {
|
|
2849
|
+
className: M.endIcon,
|
|
2850
|
+
ownerState: A,
|
|
2851
|
+
children: p || /*#__PURE__*/ (0, G.jsx)(pr, {
|
|
2852
|
+
className: M.loadingIconPlaceholder,
|
|
2853
|
+
ownerState: A
|
|
2854
|
+
})
|
|
2855
|
+
}), F = r || "", I = typeof _ == "boolean" ? /*#__PURE__*/ (0, G.jsx)("span", {
|
|
2856
|
+
className: M.loadingWrapper,
|
|
2857
|
+
style: { display: "contents" },
|
|
2858
|
+
children: _ && /*#__PURE__*/ (0, G.jsx)(fr, {
|
|
2859
|
+
className: M.loadingIndicator,
|
|
2860
|
+
ownerState: A,
|
|
2861
|
+
children: O
|
|
2862
|
+
})
|
|
2863
|
+
}) : null, { root: L, ...ee } = M;
|
|
2864
|
+
return /*#__PURE__*/ (0, G.jsxs)(lr, {
|
|
2865
|
+
ownerState: A,
|
|
2866
|
+
className: D(n.className, M.root, l, F),
|
|
2867
|
+
component: c,
|
|
2868
|
+
disabled: u || _,
|
|
2869
|
+
focusRipple: !f,
|
|
2870
|
+
focusVisibleClassName: D(M.focusVisible, m),
|
|
2871
|
+
ref: t,
|
|
2872
|
+
internalNativeButton: !0,
|
|
2873
|
+
type: C,
|
|
2874
|
+
id: _ ? E : g,
|
|
2875
|
+
...T,
|
|
2876
|
+
classes: ee,
|
|
2877
|
+
children: [
|
|
2878
|
+
N,
|
|
2879
|
+
y !== "end" && I,
|
|
2880
|
+
o,
|
|
2881
|
+
y === "end" && I,
|
|
2882
|
+
P
|
|
2883
|
+
]
|
|
2884
|
+
});
|
|
2885
|
+
});
|
|
2886
|
+
process.env.NODE_ENV !== "production" && (mr.propTypes = {
|
|
2887
|
+
children: W.default.node,
|
|
2888
|
+
classes: W.default.object,
|
|
2889
|
+
className: W.default.string,
|
|
2890
|
+
color: W.default.oneOfType([W.default.oneOf([
|
|
2891
|
+
"inherit",
|
|
2892
|
+
"primary",
|
|
2893
|
+
"secondary",
|
|
2894
|
+
"success",
|
|
2895
|
+
"error",
|
|
2896
|
+
"info",
|
|
2897
|
+
"warning"
|
|
2898
|
+
]), W.default.string]),
|
|
2899
|
+
component: W.default.elementType,
|
|
2900
|
+
disabled: W.default.bool,
|
|
2901
|
+
disableElevation: W.default.bool,
|
|
2902
|
+
disableFocusRipple: W.default.bool,
|
|
2903
|
+
disableRipple: W.default.bool,
|
|
2904
|
+
endIcon: W.default.node,
|
|
2905
|
+
focusVisibleClassName: W.default.string,
|
|
2906
|
+
fullWidth: W.default.bool,
|
|
2907
|
+
href: W.default.string,
|
|
2908
|
+
id: W.default.string,
|
|
2909
|
+
loading: W.default.bool,
|
|
2910
|
+
loadingIndicator: W.default.node,
|
|
2911
|
+
loadingPosition: W.default.oneOf([
|
|
2912
|
+
"center",
|
|
2913
|
+
"end",
|
|
2914
|
+
"start"
|
|
2915
|
+
]),
|
|
2916
|
+
size: W.default.oneOfType([W.default.oneOf([
|
|
2917
|
+
"small",
|
|
2918
|
+
"medium",
|
|
2919
|
+
"large"
|
|
2920
|
+
]), W.default.string]),
|
|
2921
|
+
startIcon: W.default.node,
|
|
2922
|
+
sx: W.default.oneOfType([
|
|
2923
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
2924
|
+
W.default.func,
|
|
2925
|
+
W.default.object,
|
|
2926
|
+
W.default.bool
|
|
2927
|
+
])),
|
|
2928
|
+
W.default.func,
|
|
2929
|
+
W.default.object
|
|
2930
|
+
]),
|
|
2931
|
+
type: W.default.string,
|
|
2932
|
+
variant: W.default.oneOfType([W.default.oneOf([
|
|
2933
|
+
"contained",
|
|
2934
|
+
"outlined",
|
|
2935
|
+
"text"
|
|
2936
|
+
]), W.default.string])
|
|
2937
|
+
});
|
|
2938
|
+
//#endregion
|
|
2939
|
+
//#region ../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/getScrollbarSize/getScrollbarSize.mjs
|
|
2940
|
+
function hr(e = window) {
|
|
2941
|
+
let t = e.document.documentElement.clientWidth;
|
|
2942
|
+
return e.innerWidth - t;
|
|
2943
|
+
}
|
|
2944
|
+
//#endregion
|
|
2945
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Modal/ModalManager.mjs
|
|
2946
|
+
function gr(e) {
|
|
2947
|
+
let t = d(e);
|
|
2948
|
+
return e === t.body || e === t.documentElement ? l(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
2949
|
+
}
|
|
2950
|
+
function _r(e, t) {
|
|
2951
|
+
t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
|
|
2952
|
+
}
|
|
2953
|
+
function vr(e) {
|
|
2954
|
+
return parseFloat(l(e).getComputedStyle(e).paddingRight) || 0;
|
|
2955
|
+
}
|
|
2956
|
+
function yr(e) {
|
|
2957
|
+
let t = [
|
|
2958
|
+
"TEMPLATE",
|
|
2959
|
+
"SCRIPT",
|
|
2960
|
+
"STYLE",
|
|
2961
|
+
"LINK",
|
|
2962
|
+
"MAP",
|
|
2963
|
+
"META",
|
|
2964
|
+
"NOSCRIPT",
|
|
2965
|
+
"PICTURE",
|
|
2966
|
+
"COL",
|
|
2967
|
+
"COLGROUP",
|
|
2968
|
+
"PARAM",
|
|
2969
|
+
"SLOT",
|
|
2970
|
+
"SOURCE",
|
|
2971
|
+
"TRACK"
|
|
2972
|
+
].includes(e.tagName), n = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
|
|
2973
|
+
return t || n;
|
|
2974
|
+
}
|
|
2975
|
+
function br(e, t, n, r, i) {
|
|
2976
|
+
let a = [
|
|
2977
|
+
t,
|
|
2978
|
+
n,
|
|
2979
|
+
...r
|
|
2980
|
+
];
|
|
2981
|
+
[].forEach.call(e.children, (e) => {
|
|
2982
|
+
let t = !a.includes(e), n = !yr(e);
|
|
2983
|
+
t && n && _r(e, i);
|
|
2984
|
+
});
|
|
2985
|
+
}
|
|
2986
|
+
function xr(e, t) {
|
|
2987
|
+
let n = [], r = e.container;
|
|
2988
|
+
if (!t.disableScrollLock) {
|
|
2989
|
+
let e;
|
|
2990
|
+
if (r.parentNode instanceof DocumentFragment) e = d(r).body;
|
|
2991
|
+
else {
|
|
2992
|
+
let t = r.parentElement, n = l(r);
|
|
2993
|
+
e = t?.nodeName === "HTML" && n.getComputedStyle(t).overflowY === "scroll" ? t : r;
|
|
2994
|
+
}
|
|
2995
|
+
if (gr(e)) {
|
|
2996
|
+
let t = hr(l(e));
|
|
2997
|
+
n.push({
|
|
2998
|
+
value: e.style.paddingRight,
|
|
2999
|
+
property: "padding-right",
|
|
3000
|
+
el: e
|
|
3001
|
+
}), e.style.paddingRight = `${vr(e) + t}px`;
|
|
3002
|
+
let i = d(r).querySelectorAll(".mui-fixed");
|
|
3003
|
+
[].forEach.call(i, (e) => {
|
|
3004
|
+
n.push({
|
|
3005
|
+
value: e.style.paddingRight,
|
|
3006
|
+
property: "padding-right",
|
|
3007
|
+
el: e
|
|
3008
|
+
}), e.style.paddingRight = `${vr(e) + t}px`;
|
|
3009
|
+
});
|
|
3010
|
+
}
|
|
3011
|
+
n.push({
|
|
3012
|
+
value: e.style.overflow,
|
|
3013
|
+
property: "overflow",
|
|
3014
|
+
el: e
|
|
3015
|
+
}, {
|
|
3016
|
+
value: e.style.overflowX,
|
|
3017
|
+
property: "overflow-x",
|
|
3018
|
+
el: e
|
|
3019
|
+
}, {
|
|
3020
|
+
value: e.style.overflowY,
|
|
3021
|
+
property: "overflow-y",
|
|
3022
|
+
el: e
|
|
3023
|
+
}), e.style.overflow = "hidden";
|
|
3024
|
+
}
|
|
3025
|
+
return () => {
|
|
3026
|
+
n.forEach(({ value: e, el: t, property: n }) => {
|
|
3027
|
+
e ? t.style.setProperty(n, e) : t.style.removeProperty(n);
|
|
3028
|
+
});
|
|
3029
|
+
};
|
|
3030
|
+
}
|
|
3031
|
+
function Sr(e) {
|
|
3032
|
+
let t = [];
|
|
3033
|
+
return [].forEach.call(e.children, (e) => {
|
|
3034
|
+
e.getAttribute("aria-hidden") === "true" && t.push(e);
|
|
3035
|
+
}), t;
|
|
3036
|
+
}
|
|
3037
|
+
var Cr = class {
|
|
3038
|
+
constructor() {
|
|
3039
|
+
this.modals = [], this.containers = [];
|
|
3040
|
+
}
|
|
3041
|
+
add(e, t) {
|
|
3042
|
+
let n = this.modals.indexOf(e);
|
|
3043
|
+
if (n !== -1) return n;
|
|
3044
|
+
n = this.modals.length, this.modals.push(e), e.modalRef && _r(e.modalRef, !1);
|
|
3045
|
+
let r = Sr(t);
|
|
3046
|
+
br(t, e.mount, e.modalRef, r, !0);
|
|
3047
|
+
let i = this.containers.findIndex((e) => e.container === t);
|
|
3048
|
+
return i === -1 ? (this.containers.push({
|
|
3049
|
+
modals: [e],
|
|
3050
|
+
container: t,
|
|
3051
|
+
restore: null,
|
|
3052
|
+
hiddenSiblings: r
|
|
3053
|
+
}), n) : (this.containers[i].modals.push(e), n);
|
|
3054
|
+
}
|
|
3055
|
+
mount(e, t) {
|
|
3056
|
+
let n = this.containers.findIndex((t) => t.modals.includes(e)), r = this.containers[n];
|
|
3057
|
+
r.restore ||= xr(r, t);
|
|
3058
|
+
}
|
|
3059
|
+
remove(e, t = !0) {
|
|
3060
|
+
let n = this.modals.indexOf(e);
|
|
3061
|
+
if (n === -1) return n;
|
|
3062
|
+
let r = this.containers.findIndex((t) => t.modals.includes(e)), i = this.containers[r];
|
|
3063
|
+
if (i.modals.splice(i.modals.indexOf(e), 1), this.modals.splice(n, 1), i.modals.length === 0) i.restore && i.restore(), e.modalRef && _r(e.modalRef, t), br(i.container, e.mount, e.modalRef, i.hiddenSiblings, !1), this.containers.splice(r, 1);
|
|
3064
|
+
else {
|
|
3065
|
+
let e = i.modals[i.modals.length - 1];
|
|
3066
|
+
e.modalRef && _r(e.modalRef, !1);
|
|
3067
|
+
}
|
|
3068
|
+
return n;
|
|
3069
|
+
}
|
|
3070
|
+
isTopModal(e) {
|
|
3071
|
+
return this.modals.length > 0 && this.modals[this.modals.length - 1] === e;
|
|
3072
|
+
}
|
|
3073
|
+
}, wr = Ne, Tr = "data-mui-focusable";
|
|
3074
|
+
function Er(e) {
|
|
3075
|
+
return e ? e.hasAttribute("data-mui-focusable") ? e : e.querySelector(`[${Tr}]`) : null;
|
|
3076
|
+
}
|
|
3077
|
+
//#endregion
|
|
3078
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.mjs
|
|
3079
|
+
var Dr = [
|
|
3080
|
+
"input",
|
|
3081
|
+
"select",
|
|
3082
|
+
"textarea",
|
|
3083
|
+
"a[href]",
|
|
3084
|
+
"button",
|
|
3085
|
+
"[tabindex]",
|
|
3086
|
+
"audio[controls]",
|
|
3087
|
+
"video[controls]",
|
|
3088
|
+
"[contenteditable]:not([contenteditable=\"false\"])"
|
|
3089
|
+
].join(",");
|
|
3090
|
+
function Or(e) {
|
|
3091
|
+
let t = parseInt(e.getAttribute("tabindex") || "", 10);
|
|
3092
|
+
return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
|
|
3093
|
+
}
|
|
3094
|
+
function kr(e) {
|
|
3095
|
+
if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name) return !1;
|
|
3096
|
+
let t = (t) => e.ownerDocument.querySelector(`input[type="radio"]${t}`), n = t(`[name="${e.name}"]:checked`);
|
|
3097
|
+
return n ||= t(`[name="${e.name}"]`), n !== e;
|
|
3098
|
+
}
|
|
3099
|
+
function Ar(e) {
|
|
3100
|
+
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || kr(e));
|
|
3101
|
+
}
|
|
3102
|
+
function jr(e) {
|
|
3103
|
+
let t = [], n = [];
|
|
3104
|
+
return Array.from(e.querySelectorAll(Dr)).forEach((e, r) => {
|
|
3105
|
+
let i = Or(e);
|
|
3106
|
+
i !== -1 && Ar(e) && (i === 0 ? t.push(e) : n.push({
|
|
3107
|
+
documentOrder: r,
|
|
3108
|
+
tabIndex: i,
|
|
3109
|
+
node: e
|
|
3110
|
+
}));
|
|
3111
|
+
}), n.sort((e, t) => e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex).map((e) => e.node).concat(t);
|
|
3112
|
+
}
|
|
3113
|
+
function Mr() {
|
|
3114
|
+
return !0;
|
|
3115
|
+
}
|
|
3116
|
+
function Nr(e) {
|
|
3117
|
+
let { children: t, disableAutoFocus: n = !1, disableEnforceFocus: r = !1, disableRestoreFocus: i = !1, getTabbable: a = jr, isEnabled: o = Mr, open: s } = e, c = U.useRef(!1), l = U.useRef(null), u = U.useRef(null), f = U.useRef(null), p = U.useRef(null), m = U.useRef(!1), h = U.useRef(null), g = H(Mn(t), h), _ = U.useRef(null);
|
|
3118
|
+
U.useEffect(() => {
|
|
3119
|
+
s && h.current && (m.current = !n);
|
|
3120
|
+
}, [n, s]), U.useEffect(() => {
|
|
3121
|
+
if (c.current = !1, !s || !h.current) return;
|
|
3122
|
+
let e = d(h.current), t = y(e), n = Er(h.current) ?? h.current;
|
|
3123
|
+
return wr(h.current, t) || (n.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", "For the benefit of assistive technologies, the tabIndex of the node is being set to \"-1\"."].join("\n")), n.setAttribute("tabIndex", "-1")), m.current && n.focus()), () => {
|
|
3124
|
+
!i && f.current && (c.current = !0, f.current.focus(), f.current = null);
|
|
3125
|
+
};
|
|
3126
|
+
}, [s]), U.useEffect(() => {
|
|
3127
|
+
if (!s || !h.current) return;
|
|
3128
|
+
let e = d(h.current), t = (t) => {
|
|
3129
|
+
if (_.current = t, r || !o() || t.key !== "Tab") return;
|
|
3130
|
+
let n = h.current, i = y(e);
|
|
3131
|
+
if (n === null) return;
|
|
3132
|
+
let s = Er(n);
|
|
3133
|
+
if (i === n || i === s) {
|
|
3134
|
+
let e = a(n);
|
|
3135
|
+
if (e.length === 0) return;
|
|
3136
|
+
t.preventDefault(), t.shiftKey ? e[e.length - 1].focus() : e[0].focus();
|
|
3137
|
+
return;
|
|
3138
|
+
}
|
|
3139
|
+
if (wr(n, i)) {
|
|
3140
|
+
let e = a(n), r = e.indexOf(i);
|
|
3141
|
+
if (r === -1 || !e.some((e) => Or(e) > 0)) return;
|
|
3142
|
+
t.preventDefault();
|
|
3143
|
+
let o = 0;
|
|
3144
|
+
o = t.shiftKey ? r <= 0 ? e.length - 1 : r - 1 : r === e.length - 1 ? 0 : r + 1, e[o].focus();
|
|
3145
|
+
}
|
|
3146
|
+
}, n = () => {
|
|
3147
|
+
let t = h.current;
|
|
3148
|
+
if (t === null) return;
|
|
3149
|
+
let n = y(e);
|
|
3150
|
+
if (!e.hasFocus() || !o() || c.current) {
|
|
3151
|
+
c.current = !1;
|
|
3152
|
+
return;
|
|
3153
|
+
}
|
|
3154
|
+
if (wr(t, n) || r && n !== l.current && n !== u.current) return;
|
|
3155
|
+
if (n !== p.current) p.current = null;
|
|
3156
|
+
else if (p.current !== null) return;
|
|
3157
|
+
if (!m.current) return;
|
|
3158
|
+
let i = [];
|
|
3159
|
+
if ((n === l.current || n === u.current) && (i = a(h.current)), i.length > 0) {
|
|
3160
|
+
let e = !!(_.current?.shiftKey && _.current?.key === "Tab"), t = i[0], n = i[i.length - 1];
|
|
3161
|
+
typeof t != "string" && typeof n != "string" && (e ? n.focus() : t.focus());
|
|
3162
|
+
} else t.focus();
|
|
3163
|
+
};
|
|
3164
|
+
e.addEventListener("focusin", n), e.addEventListener("keydown", t, !0);
|
|
3165
|
+
let i = setInterval(() => {
|
|
3166
|
+
let t = y(e);
|
|
3167
|
+
t && t.tagName === "BODY" && n();
|
|
3168
|
+
}, 50);
|
|
3169
|
+
return () => {
|
|
3170
|
+
clearInterval(i), e.removeEventListener("focusin", n), e.removeEventListener("keydown", t, !0);
|
|
3171
|
+
};
|
|
3172
|
+
}, [
|
|
3173
|
+
n,
|
|
3174
|
+
r,
|
|
3175
|
+
i,
|
|
3176
|
+
o,
|
|
3177
|
+
s,
|
|
3178
|
+
a
|
|
3179
|
+
]);
|
|
3180
|
+
let v = (e) => {
|
|
3181
|
+
f.current === null && (f.current = e.relatedTarget), m.current = !0, p.current = e.target;
|
|
3182
|
+
let n = t.props.onFocus;
|
|
3183
|
+
n && n(e);
|
|
3184
|
+
}, b = (e) => {
|
|
3185
|
+
f.current === null && (f.current = e.relatedTarget), m.current = !0;
|
|
3186
|
+
};
|
|
3187
|
+
return /*#__PURE__*/ (0, G.jsxs)(U.Fragment, { children: [
|
|
3188
|
+
/*#__PURE__*/ (0, G.jsx)("div", {
|
|
3189
|
+
tabIndex: s ? 0 : -1,
|
|
3190
|
+
onFocus: b,
|
|
3191
|
+
ref: l,
|
|
3192
|
+
"data-testid": "sentinelStart"
|
|
3193
|
+
}),
|
|
3194
|
+
/*#__PURE__*/ U.cloneElement(t, {
|
|
3195
|
+
ref: g,
|
|
3196
|
+
onFocus: v
|
|
3197
|
+
}),
|
|
3198
|
+
/*#__PURE__*/ (0, G.jsx)("div", {
|
|
3199
|
+
tabIndex: s ? 0 : -1,
|
|
3200
|
+
onFocus: b,
|
|
3201
|
+
ref: u,
|
|
3202
|
+
"data-testid": "sentinelEnd"
|
|
3203
|
+
})
|
|
3204
|
+
] });
|
|
3205
|
+
}
|
|
3206
|
+
process.env.NODE_ENV !== "production" && (Nr.propTypes = {
|
|
3207
|
+
children: Yn,
|
|
3208
|
+
disableAutoFocus: W.default.bool,
|
|
3209
|
+
disableEnforceFocus: W.default.bool,
|
|
3210
|
+
disableRestoreFocus: W.default.bool,
|
|
3211
|
+
getTabbable: W.default.func,
|
|
3212
|
+
isEnabled: W.default.func,
|
|
3213
|
+
open: W.default.bool.isRequired
|
|
3214
|
+
}), process.env.NODE_ENV !== "production" && (Nr.propTypes = ie(Nr.propTypes));
|
|
3215
|
+
//#endregion
|
|
3216
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Modal/useModal.mjs
|
|
3217
|
+
function Pr(e) {
|
|
3218
|
+
return typeof e == "function" ? e() : e;
|
|
3219
|
+
}
|
|
3220
|
+
function Fr(e) {
|
|
3221
|
+
return e ? e.props.hasOwnProperty("in") : !1;
|
|
3222
|
+
}
|
|
3223
|
+
var Ir = () => {}, Lr = new Cr();
|
|
3224
|
+
function Rr(e) {
|
|
3225
|
+
let { container: t, disableScrollLock: n = !1, closeAfterTransition: r = !1, onTransitionEnter: i, onTransitionExited: a, children: o, onClose: s, open: c, rootRef: l } = e, u = U.useRef({}), f = U.useRef(null), p = U.useRef(null), m = U.useRef(null), h = H(m, l), [g, _] = U.useState(!c), y = Fr(o), b = !0;
|
|
3226
|
+
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (b = !1);
|
|
3227
|
+
let x = () => d(f.current), S = () => (u.current.modalRef = m.current, u.current.mount = f.current, u.current), C = () => {
|
|
3228
|
+
Lr.mount(S(), { disableScrollLock: n }), m.current && (m.current.scrollTop = 0);
|
|
3229
|
+
}, w = v(() => {
|
|
3230
|
+
let e = Pr(t) || x().body;
|
|
3231
|
+
Lr.add(S(), e), m.current && C();
|
|
3232
|
+
}), T = () => Lr.isTopModal(S()), E = v((e) => {
|
|
3233
|
+
f.current = e, e && (p.current = e, c && T() ? C() : m.current && _r(m.current, b));
|
|
3234
|
+
}), D = U.useCallback(() => {
|
|
3235
|
+
Lr.remove(S(), b);
|
|
3236
|
+
}, [b]);
|
|
3237
|
+
U.useEffect(() => () => {
|
|
3238
|
+
D();
|
|
3239
|
+
}, [D]), U.useEffect(() => {
|
|
3240
|
+
c ? w() : (!y || !r) && D();
|
|
3241
|
+
}, [
|
|
3242
|
+
c,
|
|
3243
|
+
D,
|
|
3244
|
+
y,
|
|
3245
|
+
r,
|
|
3246
|
+
w
|
|
3247
|
+
]);
|
|
3248
|
+
let O = (e) => (t) => {
|
|
3249
|
+
e.onKeyDown?.(t), t.key === "Escape" && t.which !== 229 && T() && (t.stopPropagation(), s && s(t, "escapeKeyDown"));
|
|
3250
|
+
}, k = (e) => (t) => {
|
|
3251
|
+
e.onClick?.(t), t.target === t.currentTarget && s && s(t, "backdropClick");
|
|
3252
|
+
};
|
|
3253
|
+
return {
|
|
3254
|
+
getRootProps: (t = {}) => {
|
|
3255
|
+
let n = Se(e);
|
|
3256
|
+
delete n.onTransitionEnter, delete n.onTransitionExited;
|
|
3257
|
+
let r = {
|
|
3258
|
+
...n,
|
|
3259
|
+
...t
|
|
3260
|
+
};
|
|
3261
|
+
return {
|
|
3262
|
+
role: "presentation",
|
|
3263
|
+
...r,
|
|
3264
|
+
onKeyDown: O(r),
|
|
3265
|
+
ref: h
|
|
3266
|
+
};
|
|
3267
|
+
},
|
|
3268
|
+
getBackdropProps: (e = {}) => {
|
|
3269
|
+
let t = e;
|
|
3270
|
+
return {
|
|
3271
|
+
"aria-hidden": !0,
|
|
3272
|
+
...t,
|
|
3273
|
+
onClick: k(t),
|
|
3274
|
+
open: c
|
|
3275
|
+
};
|
|
3276
|
+
},
|
|
3277
|
+
getTransitionProps: () => ({
|
|
3278
|
+
onEnter: q(() => {
|
|
3279
|
+
_(!1), i && i();
|
|
3280
|
+
}, o?.props.onEnter ?? Ir),
|
|
3281
|
+
onExited: q(() => {
|
|
3282
|
+
_(!0), a && a(), r && D();
|
|
3283
|
+
}, o?.props.onExited ?? Ir)
|
|
3284
|
+
}),
|
|
3285
|
+
rootRef: h,
|
|
3286
|
+
portalRef: E,
|
|
3287
|
+
portalContainer: !c && y && !g ? p.current ?? t : t,
|
|
3288
|
+
isTopModal: T,
|
|
3289
|
+
exited: g,
|
|
3290
|
+
hasTransition: y
|
|
3291
|
+
};
|
|
3292
|
+
}
|
|
3293
|
+
//#endregion
|
|
3294
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Modal/modalClasses.mjs
|
|
3295
|
+
function zr(e) {
|
|
3296
|
+
return T("MuiModal", e);
|
|
3297
|
+
}
|
|
3298
|
+
z("MuiModal", [
|
|
3299
|
+
"root",
|
|
3300
|
+
"hidden",
|
|
3301
|
+
"backdrop"
|
|
3302
|
+
]);
|
|
3303
|
+
//#endregion
|
|
3304
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Modal/Modal.mjs
|
|
3305
|
+
var Br = (e) => {
|
|
3306
|
+
let { open: t, exited: n, classes: r } = e;
|
|
3307
|
+
return _({
|
|
3308
|
+
root: ["root", !t && n && "hidden"],
|
|
3309
|
+
backdrop: ["backdrop"]
|
|
3310
|
+
}, zr, r);
|
|
3311
|
+
}, Vr = A("div", {
|
|
3312
|
+
name: "MuiModal",
|
|
3313
|
+
slot: "Root",
|
|
3314
|
+
overridesResolver: (e, t) => {
|
|
3315
|
+
let { ownerState: n } = e;
|
|
3316
|
+
return [t.root, !n.open && n.exited && t.hidden];
|
|
3317
|
+
}
|
|
3318
|
+
})(r(({ theme: e }) => ({
|
|
3319
|
+
position: "fixed",
|
|
3320
|
+
zIndex: (e.vars || e).zIndex.modal,
|
|
3321
|
+
right: 0,
|
|
3322
|
+
bottom: 0,
|
|
3323
|
+
top: 0,
|
|
3324
|
+
left: 0,
|
|
3325
|
+
variants: [{
|
|
3326
|
+
props: ({ ownerState: e }) => !e.open && e.exited,
|
|
3327
|
+
style: { visibility: "hidden" }
|
|
3328
|
+
}]
|
|
3329
|
+
}))), Hr = A(nr, {
|
|
3330
|
+
name: "MuiModal",
|
|
3331
|
+
slot: "Backdrop"
|
|
3332
|
+
})({ zIndex: -1 }), Ur = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
3333
|
+
let n = j({
|
|
3334
|
+
name: "MuiModal",
|
|
3335
|
+
props: e
|
|
3336
|
+
}), { classes: r, className: i, closeAfterTransition: a = !1, children: o, container: s, component: c, disableAutoFocus: l = !1, disableEnforceFocus: u = !1, disablePortal: d = !1, disableRestoreFocus: f = !1, disableScrollLock: p = !1, hideBackdrop: m = !1, keepMounted: h = !1, onClose: g, onTransitionEnter: _, onTransitionExited: v, open: y, slotProps: b = {}, slots: x = {}, theme: S, ...C } = n, w = {
|
|
3337
|
+
...n,
|
|
3338
|
+
closeAfterTransition: a,
|
|
3339
|
+
disableAutoFocus: l,
|
|
3340
|
+
disableEnforceFocus: u,
|
|
3341
|
+
disablePortal: d,
|
|
3342
|
+
disableRestoreFocus: f,
|
|
3343
|
+
disableScrollLock: p,
|
|
3344
|
+
hideBackdrop: m,
|
|
3345
|
+
keepMounted: h
|
|
3346
|
+
}, { getRootProps: T, getBackdropProps: E, getTransitionProps: O, portalRef: k, portalContainer: A, isTopModal: M, exited: N, hasTransition: P } = Rr({
|
|
3347
|
+
...w,
|
|
3348
|
+
rootRef: t
|
|
3349
|
+
}), F = {
|
|
3350
|
+
...w,
|
|
3351
|
+
exited: N
|
|
3352
|
+
}, I = Br(F), L = {};
|
|
3353
|
+
if (o.props.tabIndex === void 0 && (L.tabIndex = "-1"), P) {
|
|
3354
|
+
let { onEnter: e, onExited: t } = O();
|
|
3355
|
+
L.onEnter = e, L.onExited = t;
|
|
3356
|
+
}
|
|
3357
|
+
let R = {
|
|
3358
|
+
slots: x,
|
|
3359
|
+
slotProps: b
|
|
3360
|
+
}, [ee, te] = J("root", {
|
|
3361
|
+
ref: t,
|
|
3362
|
+
elementType: Vr,
|
|
3363
|
+
externalForwardedProps: {
|
|
3364
|
+
...R,
|
|
3365
|
+
...C,
|
|
3366
|
+
component: c
|
|
3367
|
+
},
|
|
3368
|
+
getSlotProps: T,
|
|
3369
|
+
ownerState: F,
|
|
3370
|
+
className: D(i, I?.root, !F.open && F.exited && I?.hidden)
|
|
3371
|
+
}), [z, B] = J("backdrop", {
|
|
3372
|
+
elementType: Hr,
|
|
3373
|
+
externalForwardedProps: R,
|
|
3374
|
+
shouldForwardComponentProp: !0,
|
|
3375
|
+
getSlotProps: (e) => E({
|
|
3376
|
+
...e,
|
|
3377
|
+
onClick: (t) => {
|
|
3378
|
+
e?.onClick && e.onClick(t);
|
|
3379
|
+
}
|
|
3380
|
+
}),
|
|
3381
|
+
className: I?.backdrop,
|
|
3382
|
+
ownerState: F
|
|
3383
|
+
});
|
|
3384
|
+
return !h && !y && (!P || N) ? null : /*#__PURE__*/ (0, G.jsx)(Fn, {
|
|
3385
|
+
ref: k,
|
|
3386
|
+
container: A,
|
|
3387
|
+
disablePortal: d,
|
|
3388
|
+
children: /*#__PURE__*/ (0, G.jsxs)(ee, {
|
|
3389
|
+
...te,
|
|
3390
|
+
children: [m ? null : /*#__PURE__*/ (0, G.jsx)(z, { ...B }), /*#__PURE__*/ (0, G.jsx)(Nr, {
|
|
3391
|
+
disableEnforceFocus: u,
|
|
3392
|
+
disableAutoFocus: l,
|
|
3393
|
+
disableRestoreFocus: f,
|
|
3394
|
+
isEnabled: M,
|
|
3395
|
+
open: y,
|
|
3396
|
+
children: /*#__PURE__*/ U.cloneElement(o, L)
|
|
3397
|
+
})]
|
|
3398
|
+
})
|
|
3399
|
+
});
|
|
3400
|
+
});
|
|
3401
|
+
process.env.NODE_ENV !== "production" && (Ur.propTypes = {
|
|
3402
|
+
children: Yn.isRequired,
|
|
3403
|
+
classes: W.default.object,
|
|
3404
|
+
className: W.default.string,
|
|
3405
|
+
closeAfterTransition: W.default.bool,
|
|
3406
|
+
component: W.default.elementType,
|
|
3407
|
+
container: W.default.oneOfType([Pe, W.default.func]),
|
|
3408
|
+
disableAutoFocus: W.default.bool,
|
|
3409
|
+
disableEnforceFocus: W.default.bool,
|
|
3410
|
+
disablePortal: W.default.bool,
|
|
3411
|
+
disableRestoreFocus: W.default.bool,
|
|
3412
|
+
disableScrollLock: W.default.bool,
|
|
3413
|
+
hideBackdrop: W.default.bool,
|
|
3414
|
+
keepMounted: W.default.bool,
|
|
3415
|
+
onClose: W.default.func,
|
|
3416
|
+
onTransitionEnter: W.default.func,
|
|
3417
|
+
onTransitionExited: W.default.func,
|
|
3418
|
+
open: W.default.bool.isRequired,
|
|
3419
|
+
slotProps: W.default.shape({
|
|
3420
|
+
backdrop: W.default.oneOfType([W.default.func, W.default.object]),
|
|
3421
|
+
root: W.default.oneOfType([W.default.func, W.default.object])
|
|
3422
|
+
}),
|
|
3423
|
+
slots: W.default.shape({
|
|
3424
|
+
backdrop: W.default.elementType,
|
|
3425
|
+
root: W.default.elementType
|
|
3426
|
+
}),
|
|
3427
|
+
sx: W.default.oneOfType([
|
|
3428
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
3429
|
+
W.default.func,
|
|
3430
|
+
W.default.object,
|
|
3431
|
+
W.default.bool
|
|
3432
|
+
])),
|
|
3433
|
+
W.default.func,
|
|
3434
|
+
W.default.object
|
|
3435
|
+
])
|
|
3436
|
+
});
|
|
3437
|
+
//#endregion
|
|
3438
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Dialog/dialogClasses.mjs
|
|
3439
|
+
function Wr(e) {
|
|
3440
|
+
return T("MuiDialog", e);
|
|
3441
|
+
}
|
|
3442
|
+
var Gr = z("MuiDialog", [
|
|
3443
|
+
"root",
|
|
3444
|
+
"backdrop",
|
|
3445
|
+
"scrollPaper",
|
|
3446
|
+
"scrollBody",
|
|
3447
|
+
"container",
|
|
3448
|
+
"paper",
|
|
3449
|
+
"paperWidthFalse",
|
|
3450
|
+
"paperWidthXs",
|
|
3451
|
+
"paperWidthSm",
|
|
3452
|
+
"paperWidthMd",
|
|
3453
|
+
"paperWidthLg",
|
|
3454
|
+
"paperWidthXl",
|
|
3455
|
+
"paperFullWidth",
|
|
3456
|
+
"paperFullScreen"
|
|
3457
|
+
]), Kr = /*#__PURE__*/ U.createContext({});
|
|
3458
|
+
process.env.NODE_ENV !== "production" && (Kr.displayName = "DialogContext");
|
|
3459
|
+
//#endregion
|
|
3460
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Dialog/Dialog.mjs
|
|
3461
|
+
var qr = A(nr, {
|
|
3462
|
+
name: "MuiDialog",
|
|
3463
|
+
slot: "Backdrop"
|
|
3464
|
+
})({ zIndex: -1 }), Jr = (e) => {
|
|
3465
|
+
let { classes: t, scroll: n, maxWidth: r, fullWidth: i, fullScreen: a } = e, o = {
|
|
3466
|
+
root: ["root"],
|
|
3467
|
+
backdrop: ["backdrop"],
|
|
3468
|
+
container: ["container", `scroll${m(n)}`],
|
|
3469
|
+
paper: [
|
|
3470
|
+
"paper",
|
|
3471
|
+
`paperWidth${m(String(r))}`,
|
|
3472
|
+
i && "paperFullWidth",
|
|
3473
|
+
a && "paperFullScreen"
|
|
3474
|
+
]
|
|
3475
|
+
};
|
|
3476
|
+
return _(o, Wr, t);
|
|
3477
|
+
}, Yr = A(Ur, {
|
|
3478
|
+
name: "MuiDialog",
|
|
3479
|
+
slot: "Root"
|
|
3480
|
+
})({ "@media print": { position: "absolute !important" } }), Xr = A("div", {
|
|
3481
|
+
name: "MuiDialog",
|
|
3482
|
+
slot: "Container",
|
|
3483
|
+
overridesResolver: (e, t) => {
|
|
3484
|
+
let { ownerState: n } = e;
|
|
3485
|
+
return [t.container, t[`scroll${m(n.scroll)}`]];
|
|
3486
|
+
}
|
|
3487
|
+
})({
|
|
3488
|
+
height: "100%",
|
|
3489
|
+
"@media print": { height: "auto" },
|
|
3490
|
+
outline: 0,
|
|
3491
|
+
variants: [{
|
|
3492
|
+
props: { scroll: "paper" },
|
|
3493
|
+
style: {
|
|
3494
|
+
display: "flex",
|
|
3495
|
+
justifyContent: "center",
|
|
3496
|
+
alignItems: "center"
|
|
3497
|
+
}
|
|
3498
|
+
}, {
|
|
3499
|
+
props: { scroll: "body" },
|
|
3500
|
+
style: {
|
|
3501
|
+
overflowY: "auto",
|
|
3502
|
+
overflowX: "hidden",
|
|
3503
|
+
textAlign: "center",
|
|
3504
|
+
"&::after": {
|
|
3505
|
+
content: "\"\"",
|
|
3506
|
+
display: "inline-block",
|
|
3507
|
+
verticalAlign: "middle",
|
|
3508
|
+
height: "100%",
|
|
3509
|
+
width: "0"
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
}]
|
|
3513
|
+
}), Zr = A(Me, {
|
|
3514
|
+
name: "MuiDialog",
|
|
3515
|
+
slot: "Paper",
|
|
3516
|
+
overridesResolver: (e, t) => {
|
|
3517
|
+
let { ownerState: n } = e;
|
|
3518
|
+
return [
|
|
3519
|
+
t.paper,
|
|
3520
|
+
t[`paperWidth${m(String(n.maxWidth))}`],
|
|
3521
|
+
n.fullWidth && t.paperFullWidth,
|
|
3522
|
+
n.fullScreen && t.paperFullScreen
|
|
3523
|
+
];
|
|
3524
|
+
}
|
|
3525
|
+
})(r(({ theme: e }) => ({
|
|
3526
|
+
margin: 32,
|
|
3527
|
+
position: "relative",
|
|
3528
|
+
overflowY: "auto",
|
|
3529
|
+
outline: 0,
|
|
3530
|
+
"@media print": {
|
|
3531
|
+
overflowY: "visible",
|
|
3532
|
+
boxShadow: "none"
|
|
3533
|
+
},
|
|
3534
|
+
variants: [
|
|
3535
|
+
{
|
|
3536
|
+
props: { scroll: "paper" },
|
|
3537
|
+
style: {
|
|
3538
|
+
display: "flex",
|
|
3539
|
+
flexDirection: "column",
|
|
3540
|
+
maxHeight: "calc(100% - 64px)"
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
props: { scroll: "body" },
|
|
3545
|
+
style: {
|
|
3546
|
+
display: "inline-block",
|
|
3547
|
+
verticalAlign: "middle",
|
|
3548
|
+
textAlign: "initial"
|
|
3549
|
+
}
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
props: ({ ownerState: e }) => !e.maxWidth,
|
|
3553
|
+
style: { maxWidth: "calc(100% - 64px)" }
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
props: { maxWidth: "xs" },
|
|
3557
|
+
style: { maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)` }
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
props: {
|
|
3561
|
+
maxWidth: "xs",
|
|
3562
|
+
scroll: "body"
|
|
3563
|
+
},
|
|
3564
|
+
style: { [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 64)]: { maxWidth: "calc(100% - 64px)" } }
|
|
3565
|
+
},
|
|
3566
|
+
...Object.keys(e.breakpoints.values).filter((e) => e !== "xs").map((t) => ({
|
|
3567
|
+
props: { maxWidth: t },
|
|
3568
|
+
style: { maxWidth: `${e.breakpoints.values[t]}${e.breakpoints.unit}` }
|
|
3569
|
+
})),
|
|
3570
|
+
...Object.keys(e.breakpoints.values).filter((e) => e !== "xs").map((t) => ({
|
|
3571
|
+
props: {
|
|
3572
|
+
maxWidth: t,
|
|
3573
|
+
scroll: "body"
|
|
3574
|
+
},
|
|
3575
|
+
style: { [e.breakpoints.down(e.breakpoints.values[t] + 64)]: { maxWidth: "calc(100% - 64px)" } }
|
|
3576
|
+
})),
|
|
3577
|
+
{
|
|
3578
|
+
props: ({ ownerState: e }) => e.fullWidth,
|
|
3579
|
+
style: { width: "calc(100% - 64px)" }
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
props: ({ ownerState: e }) => e.fullScreen,
|
|
3583
|
+
style: {
|
|
3584
|
+
margin: 0,
|
|
3585
|
+
width: "100%",
|
|
3586
|
+
maxWidth: "100%",
|
|
3587
|
+
height: "100%",
|
|
3588
|
+
maxHeight: "none",
|
|
3589
|
+
borderRadius: 0
|
|
3590
|
+
}
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
props: ({ ownerState: e }) => e.fullScreen && e.scroll === "body",
|
|
3594
|
+
style: {
|
|
3595
|
+
margin: 0,
|
|
3596
|
+
maxWidth: "100%"
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
]
|
|
3600
|
+
}))), Qr = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
3601
|
+
let r = j({
|
|
3602
|
+
props: e,
|
|
3603
|
+
name: "MuiDialog"
|
|
3604
|
+
}), i = g(), a = {
|
|
3605
|
+
enter: i.transitions.duration.enteringScreen,
|
|
3606
|
+
exit: i.transitions.duration.leavingScreen
|
|
3607
|
+
}, { "aria-describedby": o, "aria-labelledby": s, "aria-modal": c = !0, children: l, className: u, fullScreen: d = !1, fullWidth: f = !1, maxWidth: p = "sm", onClick: m, onClose: h, open: _, PaperComponent: v = Me, role: y = "dialog", scroll: b = "paper", slots: x = {}, slotProps: S = {}, transitionDuration: C = a, ...w } = r, T = {
|
|
3608
|
+
...r,
|
|
3609
|
+
fullScreen: d,
|
|
3610
|
+
fullWidth: f,
|
|
3611
|
+
maxWidth: p,
|
|
3612
|
+
scroll: b
|
|
3613
|
+
}, E = Jr(T), O = U.useRef(), k = (e) => {
|
|
3614
|
+
O.current = e.target === e.currentTarget;
|
|
3615
|
+
}, A = (e) => {
|
|
3616
|
+
m && m(e), O.current && (O.current = null, h && h(e, "backdropClick"));
|
|
3617
|
+
}, M = n(s), N = U.useMemo(() => ({ titleId: M }), [M]), P = {
|
|
3618
|
+
slots: x,
|
|
3619
|
+
slotProps: S
|
|
3620
|
+
}, [F, I] = J("root", {
|
|
3621
|
+
elementType: Yr,
|
|
3622
|
+
shouldForwardComponentProp: !0,
|
|
3623
|
+
externalForwardedProps: P,
|
|
3624
|
+
ownerState: T,
|
|
3625
|
+
className: D(E.root, u),
|
|
3626
|
+
ref: t
|
|
3627
|
+
}), [L, R] = J("backdrop", {
|
|
3628
|
+
elementType: qr,
|
|
3629
|
+
shouldForwardComponentProp: !0,
|
|
3630
|
+
externalForwardedProps: P,
|
|
3631
|
+
ownerState: T,
|
|
3632
|
+
className: E.backdrop
|
|
3633
|
+
}), [ee, te] = J("paper", {
|
|
3634
|
+
elementType: Zr,
|
|
3635
|
+
shouldForwardComponentProp: !0,
|
|
3636
|
+
externalForwardedProps: P,
|
|
3637
|
+
ownerState: T,
|
|
3638
|
+
className: E.paper,
|
|
3639
|
+
additionalProps: {
|
|
3640
|
+
elevation: 24,
|
|
3641
|
+
role: y,
|
|
3642
|
+
"aria-describedby": o,
|
|
3643
|
+
"aria-labelledby": M,
|
|
3644
|
+
"aria-modal": c,
|
|
3645
|
+
tabIndex: -1,
|
|
3646
|
+
[Tr]: ""
|
|
3647
|
+
}
|
|
3648
|
+
}), [z, B] = J("container", {
|
|
3649
|
+
elementType: Xr,
|
|
3650
|
+
externalForwardedProps: P,
|
|
3651
|
+
ownerState: T,
|
|
3652
|
+
className: E.container
|
|
3653
|
+
}), [V, ne] = J("transition", {
|
|
3654
|
+
elementType: Qn,
|
|
3655
|
+
externalForwardedProps: P,
|
|
3656
|
+
ownerState: T,
|
|
3657
|
+
additionalProps: {
|
|
3658
|
+
appear: !0,
|
|
3659
|
+
in: _,
|
|
3660
|
+
timeout: C,
|
|
3661
|
+
role: "presentation"
|
|
3662
|
+
}
|
|
3663
|
+
});
|
|
3664
|
+
return /*#__PURE__*/ (0, G.jsx)(F, {
|
|
3665
|
+
closeAfterTransition: !0,
|
|
3666
|
+
slots: { backdrop: L },
|
|
3667
|
+
slotProps: { backdrop: {
|
|
3668
|
+
transitionDuration: C,
|
|
3669
|
+
...R
|
|
3670
|
+
} },
|
|
3671
|
+
onClose: h,
|
|
3672
|
+
open: _,
|
|
3673
|
+
onClick: A,
|
|
3674
|
+
...I,
|
|
3675
|
+
...w,
|
|
3676
|
+
children: /*#__PURE__*/ (0, G.jsx)(V, {
|
|
3677
|
+
...ne,
|
|
3678
|
+
children: /*#__PURE__*/ (0, G.jsx)(z, {
|
|
3679
|
+
onMouseDown: k,
|
|
3680
|
+
...B,
|
|
3681
|
+
children: /*#__PURE__*/ (0, G.jsx)(ee, {
|
|
3682
|
+
as: v,
|
|
3683
|
+
...te,
|
|
3684
|
+
children: /*#__PURE__*/ (0, G.jsx)(Kr.Provider, {
|
|
3685
|
+
value: N,
|
|
3686
|
+
children: l
|
|
3687
|
+
})
|
|
3688
|
+
})
|
|
3689
|
+
})
|
|
3690
|
+
})
|
|
3691
|
+
});
|
|
3692
|
+
});
|
|
3693
|
+
process.env.NODE_ENV !== "production" && (Qr.propTypes = {
|
|
3694
|
+
"aria-describedby": W.default.string,
|
|
3695
|
+
"aria-labelledby": W.default.string,
|
|
3696
|
+
"aria-modal": W.default.oneOfType([W.default.oneOf(["false", "true"]), W.default.bool]),
|
|
3697
|
+
children: W.default.node,
|
|
3698
|
+
classes: W.default.object,
|
|
3699
|
+
className: W.default.string,
|
|
3700
|
+
fullScreen: W.default.bool,
|
|
3701
|
+
fullWidth: W.default.bool,
|
|
3702
|
+
maxWidth: W.default.oneOfType([W.default.oneOf([
|
|
3703
|
+
"xs",
|
|
3704
|
+
"sm",
|
|
3705
|
+
"md",
|
|
3706
|
+
"lg",
|
|
3707
|
+
"xl",
|
|
3708
|
+
!1
|
|
3709
|
+
]), W.default.string]),
|
|
3710
|
+
onClick: W.default.func,
|
|
3711
|
+
onClose: W.default.func,
|
|
3712
|
+
open: W.default.bool.isRequired,
|
|
3713
|
+
PaperComponent: W.default.elementType,
|
|
3714
|
+
role: W.default.oneOf(["alertdialog", "dialog"]),
|
|
3715
|
+
scroll: W.default.oneOf(["body", "paper"]),
|
|
3716
|
+
slotProps: W.default.shape({
|
|
3717
|
+
backdrop: W.default.oneOfType([W.default.func, W.default.object]),
|
|
3718
|
+
container: W.default.oneOfType([W.default.func, W.default.object]),
|
|
3719
|
+
paper: W.default.oneOfType([W.default.func, W.default.object]),
|
|
3720
|
+
root: W.default.oneOfType([W.default.func, W.default.object]),
|
|
3721
|
+
transition: W.default.oneOfType([W.default.func, W.default.object])
|
|
3722
|
+
}),
|
|
3723
|
+
slots: W.default.shape({
|
|
3724
|
+
backdrop: W.default.elementType,
|
|
3725
|
+
container: W.default.elementType,
|
|
3726
|
+
paper: W.default.elementType,
|
|
3727
|
+
root: W.default.elementType,
|
|
3728
|
+
transition: W.default.elementType
|
|
3729
|
+
}),
|
|
3730
|
+
sx: W.default.oneOfType([
|
|
3731
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
3732
|
+
W.default.func,
|
|
3733
|
+
W.default.object,
|
|
3734
|
+
W.default.bool
|
|
3735
|
+
])),
|
|
3736
|
+
W.default.func,
|
|
3737
|
+
W.default.object
|
|
3738
|
+
]),
|
|
3739
|
+
transitionDuration: W.default.oneOfType([W.default.number, W.default.shape({
|
|
3740
|
+
appear: W.default.number,
|
|
3741
|
+
enter: W.default.number,
|
|
3742
|
+
exit: W.default.number
|
|
3743
|
+
})])
|
|
3744
|
+
});
|
|
3745
|
+
//#endregion
|
|
3746
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/DialogActions/dialogActionsClasses.mjs
|
|
3747
|
+
function $r(e) {
|
|
3748
|
+
return T("MuiDialogActions", e);
|
|
3749
|
+
}
|
|
3750
|
+
z("MuiDialogActions", ["root", "spacing"]);
|
|
3751
|
+
//#endregion
|
|
3752
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/DialogActions/DialogActions.mjs
|
|
3753
|
+
var ei = (e) => {
|
|
3754
|
+
let { classes: t, disableSpacing: n } = e;
|
|
3755
|
+
return _({ root: ["root", !n && "spacing"] }, $r, t);
|
|
3756
|
+
}, ti = A("div", {
|
|
3757
|
+
name: "MuiDialogActions",
|
|
3758
|
+
slot: "Root",
|
|
3759
|
+
overridesResolver: (e, t) => {
|
|
3760
|
+
let { ownerState: n } = e;
|
|
3761
|
+
return [t.root, !n.disableSpacing && t.spacing];
|
|
3762
|
+
}
|
|
3763
|
+
})({
|
|
3764
|
+
display: "flex",
|
|
3765
|
+
alignItems: "center",
|
|
3766
|
+
padding: 8,
|
|
3767
|
+
justifyContent: "flex-end",
|
|
3768
|
+
flex: "0 0 auto",
|
|
3769
|
+
variants: [{
|
|
3770
|
+
props: ({ ownerState: e }) => !e.disableSpacing,
|
|
3771
|
+
style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } }
|
|
3772
|
+
}]
|
|
3773
|
+
}), ni = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
3774
|
+
let n = j({
|
|
3775
|
+
props: e,
|
|
3776
|
+
name: "MuiDialogActions"
|
|
3777
|
+
}), { className: r, disableSpacing: i = !1, ...a } = n, o = {
|
|
3778
|
+
...n,
|
|
3779
|
+
disableSpacing: i
|
|
3780
|
+
}, s = ei(o);
|
|
3781
|
+
return /*#__PURE__*/ (0, G.jsx)(ti, {
|
|
3782
|
+
className: D(s.root, r),
|
|
3783
|
+
ownerState: o,
|
|
3784
|
+
ref: t,
|
|
3785
|
+
...a
|
|
3786
|
+
});
|
|
3787
|
+
});
|
|
3788
|
+
process.env.NODE_ENV !== "production" && (ni.propTypes = {
|
|
3789
|
+
children: W.default.node,
|
|
3790
|
+
classes: W.default.object,
|
|
3791
|
+
className: W.default.string,
|
|
3792
|
+
disableSpacing: W.default.bool,
|
|
3793
|
+
sx: W.default.oneOfType([
|
|
3794
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
3795
|
+
W.default.func,
|
|
3796
|
+
W.default.object,
|
|
3797
|
+
W.default.bool
|
|
3798
|
+
])),
|
|
3799
|
+
W.default.func,
|
|
3800
|
+
W.default.object
|
|
3801
|
+
])
|
|
3802
|
+
});
|
|
3803
|
+
//#endregion
|
|
3804
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/DialogContent/dialogContentClasses.mjs
|
|
3805
|
+
function ri(e) {
|
|
3806
|
+
return T("MuiDialogContent", e);
|
|
3807
|
+
}
|
|
3808
|
+
z("MuiDialogContent", ["root", "dividers"]);
|
|
3809
|
+
//#endregion
|
|
3810
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/DialogTitle/dialogTitleClasses.mjs
|
|
3811
|
+
function ii(e) {
|
|
3812
|
+
return T("MuiDialogTitle", e);
|
|
3813
|
+
}
|
|
3814
|
+
var ai = z("MuiDialogTitle", ["root"]), oi = (e) => {
|
|
3815
|
+
let { classes: t, dividers: n } = e;
|
|
3816
|
+
return _({ root: ["root", n && "dividers"] }, ri, t);
|
|
3817
|
+
}, si = A("div", {
|
|
3818
|
+
name: "MuiDialogContent",
|
|
3819
|
+
slot: "Root",
|
|
3820
|
+
overridesResolver: (e, t) => {
|
|
3821
|
+
let { ownerState: n } = e;
|
|
3822
|
+
return [t.root, n.dividers && t.dividers];
|
|
3823
|
+
}
|
|
3824
|
+
})(r(({ theme: e }) => ({
|
|
3825
|
+
flex: "1 1 auto",
|
|
3826
|
+
WebkitOverflowScrolling: "touch",
|
|
3827
|
+
overflowY: "auto",
|
|
3828
|
+
padding: "20px 24px",
|
|
3829
|
+
variants: [{
|
|
3830
|
+
props: ({ ownerState: e }) => e.dividers,
|
|
3831
|
+
style: {
|
|
3832
|
+
padding: "16px 24px",
|
|
3833
|
+
borderTop: `1px solid ${(e.vars || e).palette.divider}`,
|
|
3834
|
+
borderBottom: `1px solid ${(e.vars || e).palette.divider}`
|
|
3835
|
+
}
|
|
3836
|
+
}, {
|
|
3837
|
+
props: ({ ownerState: e }) => !e.dividers,
|
|
3838
|
+
style: { [`.${ai.root} + &`]: { paddingTop: 0 } }
|
|
3839
|
+
}]
|
|
3840
|
+
}))), ci = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
3841
|
+
let n = j({
|
|
3842
|
+
props: e,
|
|
3843
|
+
name: "MuiDialogContent"
|
|
3844
|
+
}), { className: r, dividers: i = !1, ...a } = n, o = {
|
|
3845
|
+
...n,
|
|
3846
|
+
dividers: i
|
|
3847
|
+
}, s = oi(o);
|
|
3848
|
+
return /*#__PURE__*/ (0, G.jsx)(si, {
|
|
3849
|
+
className: D(s.root, r),
|
|
3850
|
+
ownerState: o,
|
|
3851
|
+
ref: t,
|
|
3852
|
+
...a
|
|
3853
|
+
});
|
|
3854
|
+
});
|
|
3855
|
+
process.env.NODE_ENV !== "production" && (ci.propTypes = {
|
|
3856
|
+
children: W.default.node,
|
|
3857
|
+
classes: W.default.object,
|
|
3858
|
+
className: W.default.string,
|
|
3859
|
+
dividers: W.default.bool,
|
|
3860
|
+
sx: W.default.oneOfType([
|
|
3861
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
3862
|
+
W.default.func,
|
|
3863
|
+
W.default.object,
|
|
3864
|
+
W.default.bool
|
|
3865
|
+
])),
|
|
3866
|
+
W.default.func,
|
|
3867
|
+
W.default.object
|
|
3868
|
+
])
|
|
3869
|
+
});
|
|
3870
|
+
//#endregion
|
|
3871
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Grow/Grow.mjs
|
|
3872
|
+
function li(e) {
|
|
3873
|
+
return `scale(${e}, ${e ** 2})`;
|
|
3874
|
+
}
|
|
3875
|
+
var ui = {
|
|
3876
|
+
entering: {
|
|
3877
|
+
opacity: 1,
|
|
3878
|
+
transform: li(1)
|
|
3879
|
+
},
|
|
3880
|
+
entered: {
|
|
3881
|
+
opacity: 1,
|
|
3882
|
+
transform: "none"
|
|
3883
|
+
},
|
|
3884
|
+
exiting: {
|
|
3885
|
+
opacity: 0,
|
|
3886
|
+
transform: li(.75)
|
|
3887
|
+
},
|
|
3888
|
+
exited: {
|
|
3889
|
+
opacity: 0,
|
|
3890
|
+
transform: li(.75)
|
|
3891
|
+
}
|
|
3892
|
+
}, di = {
|
|
3893
|
+
opacity: 0,
|
|
3894
|
+
transform: li(.75),
|
|
3895
|
+
visibility: "hidden"
|
|
3896
|
+
}, fi = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
3897
|
+
let { addEndListener: n, appear: r = !0, children: i, disablePrefersReducedMotion: s = !1, easing: c, in: l, onEnter: u, onEntered: d, onEntering: f, onExit: p, onExited: m, onExiting: h, style: _, timeout: v = "auto", ...y } = e, b = U.useRef(null), x = g(), S = E(x.motion.reducedMotion, s), w = U.useRef(null), T = o(w, Mn(i), t), D = a(w, f), O = a(w, (e, t) => {
|
|
3898
|
+
S.shouldReduceMotion || B(e);
|
|
3899
|
+
let { duration: n, delay: r, easing: i } = C({
|
|
3900
|
+
style: _,
|
|
3901
|
+
timeout: v,
|
|
3902
|
+
easing: c
|
|
3903
|
+
}, { mode: "enter" }), a;
|
|
3904
|
+
v === "auto" && !S.shouldReduceMotion ? (a = x.transitions.getAutoHeightDuration(e.clientHeight), b.current = a) : (a = n, b.current = null);
|
|
3905
|
+
let o = S.getTransitionTiming({
|
|
3906
|
+
duration: a,
|
|
3907
|
+
delay: r
|
|
3908
|
+
});
|
|
3909
|
+
e.style.transition = [x.transitions.create("opacity", {
|
|
3910
|
+
duration: o.duration,
|
|
3911
|
+
delay: o.delay
|
|
3912
|
+
}), x.transitions.create("transform", {
|
|
3913
|
+
duration: typeof o.duration == "string" ? o.duration : o.duration * .666,
|
|
3914
|
+
delay: o.delay,
|
|
3915
|
+
easing: i
|
|
3916
|
+
})].join(","), u && u(e, t);
|
|
3917
|
+
}), k = a(w, d), A = a(w, h), j = a(w, (e) => {
|
|
3918
|
+
let { duration: t, delay: n, easing: r } = C({
|
|
3919
|
+
style: _,
|
|
3920
|
+
timeout: v,
|
|
3921
|
+
easing: c
|
|
3922
|
+
}, { mode: "exit" }), i;
|
|
3923
|
+
v === "auto" && !S.shouldReduceMotion ? (i = x.transitions.getAutoHeightDuration(e.clientHeight), b.current = i) : (i = t, b.current = null);
|
|
3924
|
+
let a = S.getTransitionTiming({
|
|
3925
|
+
duration: i,
|
|
3926
|
+
delay: n
|
|
3927
|
+
});
|
|
3928
|
+
e.style.transition = [x.transitions.create("opacity", {
|
|
3929
|
+
duration: a.duration,
|
|
3930
|
+
delay: a.delay
|
|
3931
|
+
}), x.transitions.create("transform", {
|
|
3932
|
+
duration: typeof a.duration == "string" ? a.duration : a.duration * .666,
|
|
3933
|
+
delay: a.delay || (typeof a.duration == "string" ? a.duration : a.duration * .333),
|
|
3934
|
+
easing: r
|
|
3935
|
+
})].join(","), e.style.opacity = 0, e.style.transform = li(.75), p && p(e);
|
|
3936
|
+
}), M = a(w, (e) => {
|
|
3937
|
+
e.style.transition = "", m && m(e);
|
|
3938
|
+
});
|
|
3939
|
+
return /*#__PURE__*/ (0, G.jsx)(ye, {
|
|
3940
|
+
appear: r,
|
|
3941
|
+
in: l,
|
|
3942
|
+
nodeRef: w,
|
|
3943
|
+
onEnter: O,
|
|
3944
|
+
onEntered: k,
|
|
3945
|
+
onEntering: D,
|
|
3946
|
+
onExit: j,
|
|
3947
|
+
onExited: M,
|
|
3948
|
+
onExiting: A,
|
|
3949
|
+
addEndListener: n ? (e) => {
|
|
3950
|
+
n(w.current, e);
|
|
3951
|
+
} : void 0,
|
|
3952
|
+
getAutoTimeout: v === "auto" ? () => b.current : void 0,
|
|
3953
|
+
reduceMotion: S.shouldReduceMotion,
|
|
3954
|
+
timeout: v === "auto" ? null : v,
|
|
3955
|
+
...y,
|
|
3956
|
+
children: (e, { ownerState: t, ...n }) => {
|
|
3957
|
+
let r = ne(e, l, ui, di, _, i.props.style);
|
|
3958
|
+
return /*#__PURE__*/ U.cloneElement(i, {
|
|
3959
|
+
style: r,
|
|
3960
|
+
ref: T,
|
|
3961
|
+
...n
|
|
3962
|
+
});
|
|
3963
|
+
}
|
|
3964
|
+
});
|
|
3965
|
+
});
|
|
3966
|
+
process.env.NODE_ENV !== "production" && (fi.propTypes = {
|
|
3967
|
+
addEndListener: W.default.func,
|
|
3968
|
+
appear: W.default.bool,
|
|
3969
|
+
children: Yn.isRequired,
|
|
3970
|
+
disablePrefersReducedMotion: W.default.bool,
|
|
3971
|
+
easing: W.default.oneOfType([W.default.shape({
|
|
3972
|
+
enter: W.default.string,
|
|
3973
|
+
exit: W.default.string
|
|
3974
|
+
}), W.default.string]),
|
|
3975
|
+
in: W.default.bool,
|
|
3976
|
+
onEnter: W.default.func,
|
|
3977
|
+
onEntered: W.default.func,
|
|
3978
|
+
onEntering: W.default.func,
|
|
3979
|
+
onExit: W.default.func,
|
|
3980
|
+
onExited: W.default.func,
|
|
3981
|
+
onExiting: W.default.func,
|
|
3982
|
+
style: W.default.object,
|
|
3983
|
+
timeout: W.default.oneOfType([
|
|
3984
|
+
W.default.oneOf(["auto"]),
|
|
3985
|
+
W.default.number,
|
|
3986
|
+
W.default.shape({
|
|
3987
|
+
appear: W.default.number,
|
|
3988
|
+
enter: W.default.number,
|
|
3989
|
+
exit: W.default.number
|
|
3990
|
+
})
|
|
3991
|
+
])
|
|
3992
|
+
}), fi && (fi.muiSupportAuto = !0);
|
|
3993
|
+
//#endregion
|
|
3994
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Tooltip/tooltipClasses.mjs
|
|
3995
|
+
function pi(e) {
|
|
3996
|
+
return T("MuiTooltip", e);
|
|
3997
|
+
}
|
|
3998
|
+
var $ = z("MuiTooltip", [
|
|
3999
|
+
"popper",
|
|
4000
|
+
"popperInteractive",
|
|
4001
|
+
"popperArrow",
|
|
4002
|
+
"popperClose",
|
|
4003
|
+
"tooltip",
|
|
4004
|
+
"tooltipArrow",
|
|
4005
|
+
"touch",
|
|
4006
|
+
"tooltipPlacementLeft",
|
|
4007
|
+
"tooltipPlacementRight",
|
|
4008
|
+
"tooltipPlacementTop",
|
|
4009
|
+
"tooltipPlacementBottom",
|
|
4010
|
+
"arrow"
|
|
4011
|
+
]);
|
|
4012
|
+
//#endregion
|
|
4013
|
+
//#region ../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Tooltip/Tooltip.mjs
|
|
4014
|
+
function mi(e) {
|
|
4015
|
+
return Math.round(e * 1e5) / 1e5;
|
|
4016
|
+
}
|
|
4017
|
+
var hi = (e) => {
|
|
4018
|
+
let { classes: t, disableInteractive: n, arrow: r, touch: i, placement: a } = e, o = {
|
|
4019
|
+
popper: [
|
|
4020
|
+
"popper",
|
|
4021
|
+
!n && "popperInteractive",
|
|
4022
|
+
r && "popperArrow"
|
|
4023
|
+
],
|
|
4024
|
+
tooltip: [
|
|
4025
|
+
"tooltip",
|
|
4026
|
+
r && "tooltipArrow",
|
|
4027
|
+
i && "touch",
|
|
4028
|
+
`tooltipPlacement${m(a.split("-")[0])}`
|
|
4029
|
+
],
|
|
4030
|
+
arrow: ["arrow"]
|
|
4031
|
+
};
|
|
4032
|
+
return _(o, pi, t);
|
|
4033
|
+
}, gi = A(Kn, {
|
|
4034
|
+
name: "MuiTooltip",
|
|
4035
|
+
slot: "Popper",
|
|
4036
|
+
overridesResolver: (e, t) => {
|
|
4037
|
+
let { ownerState: n } = e;
|
|
4038
|
+
return [
|
|
4039
|
+
t.popper,
|
|
4040
|
+
!n.disableInteractive && t.popperInteractive,
|
|
4041
|
+
n.arrow && t.popperArrow,
|
|
4042
|
+
!n.open && t.popperClose
|
|
4043
|
+
];
|
|
4044
|
+
}
|
|
4045
|
+
})(r(({ theme: e }) => ({
|
|
4046
|
+
zIndex: (e.vars || e).zIndex.tooltip,
|
|
4047
|
+
pointerEvents: "none",
|
|
4048
|
+
variants: [{
|
|
4049
|
+
props: ({ ownerState: e, open: t }) => t && !e.disableInteractive,
|
|
4050
|
+
style: { pointerEvents: "auto" }
|
|
4051
|
+
}, {
|
|
4052
|
+
props: ({ ownerState: e }) => e.arrow,
|
|
4053
|
+
style: {
|
|
4054
|
+
[`&[data-popper-placement*="bottom"] .${$.arrow}`]: {
|
|
4055
|
+
top: 0,
|
|
4056
|
+
marginTop: "-0.71em",
|
|
4057
|
+
"&::before": { transformOrigin: "0 100%" }
|
|
4058
|
+
},
|
|
4059
|
+
[`&[data-popper-placement*="top"] .${$.arrow}`]: {
|
|
4060
|
+
bottom: 0,
|
|
4061
|
+
marginBottom: "-0.71em",
|
|
4062
|
+
"&::before": { transformOrigin: "100% 0" }
|
|
4063
|
+
},
|
|
4064
|
+
[`&[data-popper-placement*="right"] .${$.arrow}`]: {
|
|
4065
|
+
height: "1em",
|
|
4066
|
+
width: "0.71em",
|
|
4067
|
+
insetInlineStart: 0,
|
|
4068
|
+
marginInlineStart: "-0.71em",
|
|
4069
|
+
"&::before": { transformOrigin: "100% 100%" }
|
|
4070
|
+
},
|
|
4071
|
+
[`&[data-popper-placement*="left"] .${$.arrow}`]: {
|
|
4072
|
+
height: "1em",
|
|
4073
|
+
width: "0.71em",
|
|
4074
|
+
insetInlineEnd: 0,
|
|
4075
|
+
marginInlineEnd: "-0.71em",
|
|
4076
|
+
"&::before": { transformOrigin: "0 0" }
|
|
4077
|
+
}
|
|
4078
|
+
}
|
|
4079
|
+
}]
|
|
4080
|
+
}))), _i = A("div", {
|
|
4081
|
+
name: "MuiTooltip",
|
|
4082
|
+
slot: "Tooltip",
|
|
4083
|
+
overridesResolver: (e, t) => {
|
|
4084
|
+
let { ownerState: n } = e;
|
|
4085
|
+
return [
|
|
4086
|
+
t.tooltip,
|
|
4087
|
+
n.touch && t.touch,
|
|
4088
|
+
n.arrow && t.tooltipArrow,
|
|
4089
|
+
t[`tooltipPlacement${m(n.placement.split("-")[0])}`]
|
|
4090
|
+
];
|
|
4091
|
+
}
|
|
4092
|
+
})(r(({ theme: e }) => ({
|
|
4093
|
+
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg : e.alpha(e.palette.grey[700], .92),
|
|
4094
|
+
borderRadius: (e.vars || e).shape.borderRadius,
|
|
4095
|
+
color: (e.vars || e).palette.common.white,
|
|
4096
|
+
fontFamily: e.typography.fontFamily,
|
|
4097
|
+
padding: "4px 8px",
|
|
4098
|
+
fontSize: e.typography.pxToRem(11),
|
|
4099
|
+
maxWidth: 300,
|
|
4100
|
+
margin: 2,
|
|
4101
|
+
wordWrap: "break-word",
|
|
4102
|
+
fontWeight: e.typography.fontWeightMedium,
|
|
4103
|
+
[`.${$.popper}[data-popper-placement*="left"] &`]: {
|
|
4104
|
+
transformOrigin: "right center",
|
|
4105
|
+
marginInlineEnd: "14px"
|
|
4106
|
+
},
|
|
4107
|
+
[`.${$.popper}[data-popper-placement*="right"] &`]: {
|
|
4108
|
+
transformOrigin: "left center",
|
|
4109
|
+
marginInlineStart: "14px"
|
|
4110
|
+
},
|
|
4111
|
+
[`.${$.popper}[data-popper-placement*="top"] &`]: {
|
|
4112
|
+
transformOrigin: "center bottom",
|
|
4113
|
+
marginBottom: "14px"
|
|
4114
|
+
},
|
|
4115
|
+
[`.${$.popper}[data-popper-placement*="bottom"] &`]: {
|
|
4116
|
+
transformOrigin: "center top",
|
|
4117
|
+
marginTop: "14px"
|
|
4118
|
+
},
|
|
4119
|
+
variants: [
|
|
4120
|
+
{
|
|
4121
|
+
props: ({ ownerState: e }) => e.arrow,
|
|
4122
|
+
style: {
|
|
4123
|
+
position: "relative",
|
|
4124
|
+
marginBlock: 0
|
|
4125
|
+
}
|
|
4126
|
+
},
|
|
4127
|
+
{
|
|
4128
|
+
props: ({ ownerState: e }) => e.touch,
|
|
4129
|
+
style: {
|
|
4130
|
+
padding: "8px 16px",
|
|
4131
|
+
fontSize: e.typography.pxToRem(14),
|
|
4132
|
+
lineHeight: `${mi(16 / 14)}em`,
|
|
4133
|
+
fontWeight: e.typography.fontWeightRegular
|
|
4134
|
+
}
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
props: ({ ownerState: e }) => e.touch,
|
|
4138
|
+
style: {
|
|
4139
|
+
[`.${$.popper}[data-popper-placement*="left"] &`]: { marginInlineEnd: "24px" },
|
|
4140
|
+
[`.${$.popper}[data-popper-placement*="right"] &`]: { marginInlineStart: "24px" },
|
|
4141
|
+
[`.${$.popper}[data-popper-placement*="top"] &`]: { marginBottom: "24px" },
|
|
4142
|
+
[`.${$.popper}[data-popper-placement*="bottom"] &`]: { marginTop: "24px" }
|
|
4143
|
+
}
|
|
4144
|
+
}
|
|
4145
|
+
]
|
|
4146
|
+
}))), vi = A("span", {
|
|
4147
|
+
name: "MuiTooltip",
|
|
4148
|
+
slot: "Arrow"
|
|
4149
|
+
})(r(({ theme: e }) => ({
|
|
4150
|
+
overflow: "hidden",
|
|
4151
|
+
position: "absolute",
|
|
4152
|
+
width: "1em",
|
|
4153
|
+
height: "0.71em",
|
|
4154
|
+
boxSizing: "border-box",
|
|
4155
|
+
color: e.vars ? e.vars.palette.Tooltip.bg : e.alpha(e.palette.grey[700], .9),
|
|
4156
|
+
"&::before": {
|
|
4157
|
+
content: "\"\"",
|
|
4158
|
+
margin: "auto",
|
|
4159
|
+
display: "block",
|
|
4160
|
+
width: "100%",
|
|
4161
|
+
height: "100%",
|
|
4162
|
+
backgroundColor: "currentColor",
|
|
4163
|
+
transform: "rotate(45deg)"
|
|
4164
|
+
}
|
|
4165
|
+
}))), yi = !1, bi = new M(), xi = {
|
|
4166
|
+
x: 0,
|
|
4167
|
+
y: 0
|
|
4168
|
+
};
|
|
4169
|
+
function Si(e, t) {
|
|
4170
|
+
return (n, ...r) => {
|
|
4171
|
+
t && t(n, ...r), e(n, ...r);
|
|
4172
|
+
};
|
|
4173
|
+
}
|
|
4174
|
+
var Ci = /*#__PURE__*/ U.forwardRef(function(e, t) {
|
|
4175
|
+
let n = j({
|
|
4176
|
+
props: e,
|
|
4177
|
+
name: "MuiTooltip"
|
|
4178
|
+
}), { arrow: r = !1, children: i, classes: a, describeChild: s = !1, disableFocusListener: c = !1, disableHoverListener: l = !1, disableInteractive: u = !1, disableTouchListener: d = !1, enterDelay: f = 100, enterNextDelay: p = 0, enterTouchDelay: m = 700, followCursor: h = !1, id: _, leaveDelay: v = 0, leaveTouchDelay: y = 1500, onClose: b, onOpen: x, open: S, placement: C = "bottom", slotProps: T = {}, slots: E = {}, title: O, ...A } = n, M = /*#__PURE__*/ U.isValidElement(i) ? i : /*#__PURE__*/ (0, G.jsx)("span", { children: i }), P = g(), [F, I] = U.useState(), [L, R] = U.useState(null), ee = U.useRef(!1), z = U.useRef(!1), B = u || h, V = te(), ne = te(), H = te(), re = te(), [ie, W] = de({
|
|
4179
|
+
controlled: S,
|
|
4180
|
+
default: !1,
|
|
4181
|
+
name: "Tooltip",
|
|
4182
|
+
state: "open"
|
|
4183
|
+
}), K = ie, { current: ae } = U.useRef(S !== void 0), oe = k(_), q = U.useRef(), se = N(() => {
|
|
4184
|
+
q.current !== void 0 && (document.body.style.WebkitUserSelect = q.current, q.current = void 0), re.clear();
|
|
4185
|
+
});
|
|
4186
|
+
U.useEffect(() => se, [se]);
|
|
4187
|
+
let ce = (e) => {
|
|
4188
|
+
bi.clear(), yi = !0, W(!0), x && !K && x(e);
|
|
4189
|
+
}, le = N((e) => {
|
|
4190
|
+
z.current = !1, bi.start(800 + v, () => {
|
|
4191
|
+
yi = !1;
|
|
4192
|
+
}), W(!1), b && K && b(e), V.start(P.transitions.duration.shortest, () => {
|
|
4193
|
+
ee.current = !1;
|
|
4194
|
+
});
|
|
4195
|
+
}), ue = (e) => {
|
|
4196
|
+
ee.current && e.type !== "touchstart" || (F && F.removeAttribute("title"), ne.clear(), H.clear(), f || yi && p ? ne.start(yi ? p : f, () => {
|
|
4197
|
+
ce(e);
|
|
4198
|
+
}) : ce(e));
|
|
4199
|
+
}, fe = (e) => {
|
|
4200
|
+
if (F?.disabled && !ae) {
|
|
4201
|
+
if (K && !z.current) return;
|
|
4202
|
+
z.current = !0;
|
|
4203
|
+
} else z.current = !1;
|
|
4204
|
+
ue(e);
|
|
4205
|
+
}, pe = (e) => {
|
|
4206
|
+
(!F?.disabled || ae || z.current) && ue(e);
|
|
4207
|
+
}, me = (e) => {
|
|
4208
|
+
ne.clear(), H.start(v, () => {
|
|
4209
|
+
le(e);
|
|
4210
|
+
});
|
|
4211
|
+
}, [, he] = U.useState(!1), ge = (e) => {
|
|
4212
|
+
let t = e?.target ?? F;
|
|
4213
|
+
if (!t || t.disabled || !w(t)) {
|
|
4214
|
+
he(!1);
|
|
4215
|
+
let n = e ?? new Event("blur");
|
|
4216
|
+
!e && t && (Object.defineProperty(n, "target", { value: t }), Object.defineProperty(n, "currentTarget", { value: t })), me(n);
|
|
4217
|
+
}
|
|
4218
|
+
}, _e = (e) => {
|
|
4219
|
+
if (F || I(e.currentTarget), z.current = !1, w(e.target)) {
|
|
4220
|
+
let t = (e) => {
|
|
4221
|
+
e.target.disabled && ge(e), e.target.removeEventListener("blur", t);
|
|
4222
|
+
};
|
|
4223
|
+
e.target.addEventListener("blur", t), he(!0), ue(e);
|
|
4224
|
+
}
|
|
4225
|
+
}, ve = (e) => {
|
|
4226
|
+
ee.current = !0;
|
|
4227
|
+
let t = M.props;
|
|
4228
|
+
t.onTouchStart && t.onTouchStart(e);
|
|
4229
|
+
}, ye = (e) => {
|
|
4230
|
+
ve(e), H.clear(), V.clear(), se(), q.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", re.start(m, () => {
|
|
4231
|
+
document.body.style.WebkitUserSelect = q.current, fe(e);
|
|
4232
|
+
});
|
|
4233
|
+
}, be = (e) => {
|
|
4234
|
+
M.props.onTouchEnd && M.props.onTouchEnd(e), se(), H.start(y, () => {
|
|
4235
|
+
le(e);
|
|
4236
|
+
});
|
|
4237
|
+
};
|
|
4238
|
+
U.useEffect(() => {
|
|
4239
|
+
if (!K) return;
|
|
4240
|
+
function e(e) {
|
|
4241
|
+
e.key === "Escape" && le(e);
|
|
4242
|
+
}
|
|
4243
|
+
return document.addEventListener("keydown", e), () => {
|
|
4244
|
+
document.removeEventListener("keydown", e);
|
|
4245
|
+
};
|
|
4246
|
+
}, [le, K]);
|
|
4247
|
+
let xe = o(Mn(M), I, t);
|
|
4248
|
+
!O && O !== 0 && (K = !1);
|
|
4249
|
+
let Se = U.useRef(), Ce = (e) => {
|
|
4250
|
+
let t = M.props;
|
|
4251
|
+
t.onMouseMove && t.onMouseMove(e), xi = {
|
|
4252
|
+
x: e.clientX,
|
|
4253
|
+
y: e.clientY
|
|
4254
|
+
}, Se.current && Se.current.update();
|
|
4255
|
+
}, we = {}, Te = typeof O == "string";
|
|
4256
|
+
s ? (we.title = !K && Te && !l ? O : null, we["aria-describedby"] = K ? oe : null) : (we["aria-label"] = Te ? O : null, we["aria-labelledby"] = K && !Te ? oe : null);
|
|
4257
|
+
let Y = {
|
|
4258
|
+
...we,
|
|
4259
|
+
...A,
|
|
4260
|
+
...M.props,
|
|
4261
|
+
className: D(A.className, M.props.className),
|
|
4262
|
+
onTouchStart: ve,
|
|
4263
|
+
ref: xe,
|
|
4264
|
+
...h ? { onMouseMove: Ce } : {}
|
|
4265
|
+
};
|
|
4266
|
+
process.env.NODE_ENV !== "production" && (Y["data-mui-internal-clone-element"] = !0, U.useEffect(() => {
|
|
4267
|
+
F && !F.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join("\n"));
|
|
4268
|
+
}, [F]));
|
|
4269
|
+
let Ee = {};
|
|
4270
|
+
d || (Y.onTouchStart = ye, Y.onTouchEnd = be), l || (Y.onMouseOver = Si(fe, Y.onMouseOver), Y.onMouseLeave = Si(me, Y.onMouseLeave), B || (Ee.onMouseOver = pe, Ee.onMouseLeave = me)), c || (Y.onFocus = Si(_e, Y.onFocus), Y.onBlur = Si(ge, Y.onBlur), B || (Ee.onFocus = _e, Ee.onBlur = ge)), process.env.NODE_ENV !== "production" && M.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${M.props.title}\` or the Tooltip component.`].join("\n"));
|
|
4271
|
+
let De = {
|
|
4272
|
+
...n,
|
|
4273
|
+
arrow: r,
|
|
4274
|
+
disableInteractive: B,
|
|
4275
|
+
placement: C,
|
|
4276
|
+
touch: ee.current
|
|
4277
|
+
}, Oe = typeof T.popper == "function" ? T.popper(De) : T.popper, ke = U.useMemo(() => {
|
|
4278
|
+
let e = [{
|
|
4279
|
+
name: "arrow",
|
|
4280
|
+
enabled: !!L,
|
|
4281
|
+
options: {
|
|
4282
|
+
element: L,
|
|
4283
|
+
padding: 4
|
|
4284
|
+
}
|
|
4285
|
+
}];
|
|
4286
|
+
return Oe?.popperOptions?.modifiers && (e = e.concat(Oe.popperOptions.modifiers)), {
|
|
4287
|
+
...Oe?.popperOptions,
|
|
4288
|
+
modifiers: e
|
|
4289
|
+
};
|
|
4290
|
+
}, [L, Oe?.popperOptions]), Ae = hi(De), je = {
|
|
4291
|
+
slots: E,
|
|
4292
|
+
slotProps: {
|
|
4293
|
+
arrow: T.arrow,
|
|
4294
|
+
popper: Oe,
|
|
4295
|
+
tooltip: T.tooltip,
|
|
4296
|
+
transition: T.transition
|
|
4297
|
+
}
|
|
4298
|
+
}, [Me, Ne] = J("popper", {
|
|
4299
|
+
elementType: gi,
|
|
4300
|
+
externalForwardedProps: je,
|
|
4301
|
+
ownerState: De,
|
|
4302
|
+
className: Ae.popper
|
|
4303
|
+
}), [Pe, X] = J("transition", {
|
|
4304
|
+
elementType: fi,
|
|
4305
|
+
externalForwardedProps: je,
|
|
4306
|
+
ownerState: De
|
|
4307
|
+
}), [Fe, Ie] = J("tooltip", {
|
|
4308
|
+
elementType: _i,
|
|
4309
|
+
className: Ae.tooltip,
|
|
4310
|
+
externalForwardedProps: je,
|
|
4311
|
+
ownerState: De
|
|
4312
|
+
}), [Le, Re] = J("arrow", {
|
|
4313
|
+
elementType: vi,
|
|
4314
|
+
className: Ae.arrow,
|
|
4315
|
+
externalForwardedProps: je,
|
|
4316
|
+
ownerState: De,
|
|
4317
|
+
ref: R
|
|
4318
|
+
});
|
|
4319
|
+
return /*#__PURE__*/ (0, G.jsxs)(U.Fragment, { children: [/*#__PURE__*/ U.cloneElement(M, Y), /*#__PURE__*/ (0, G.jsx)(Me, {
|
|
4320
|
+
as: Kn,
|
|
4321
|
+
placement: C,
|
|
4322
|
+
anchorEl: h ? { getBoundingClientRect: () => ({
|
|
4323
|
+
top: xi.y,
|
|
4324
|
+
left: xi.x,
|
|
4325
|
+
right: xi.x,
|
|
4326
|
+
bottom: xi.y,
|
|
4327
|
+
width: 0,
|
|
4328
|
+
height: 0
|
|
4329
|
+
}) } : F,
|
|
4330
|
+
popperRef: Se,
|
|
4331
|
+
open: F ? K : !1,
|
|
4332
|
+
id: oe,
|
|
4333
|
+
transition: !0,
|
|
4334
|
+
...Ee,
|
|
4335
|
+
...Ne,
|
|
4336
|
+
popperOptions: ke,
|
|
4337
|
+
children: ({ TransitionProps: e }) => /*#__PURE__*/ (0, G.jsx)(Pe, {
|
|
4338
|
+
timeout: P.transitions.duration.shorter,
|
|
4339
|
+
...e,
|
|
4340
|
+
...X,
|
|
4341
|
+
children: /*#__PURE__*/ (0, G.jsxs)(Fe, {
|
|
4342
|
+
...Ie,
|
|
4343
|
+
children: [O, r ? /*#__PURE__*/ (0, G.jsx)(Le, { ...Re }) : null]
|
|
4344
|
+
})
|
|
4345
|
+
})
|
|
4346
|
+
})] });
|
|
4347
|
+
});
|
|
4348
|
+
process.env.NODE_ENV !== "production" && (Ci.propTypes = {
|
|
4349
|
+
arrow: W.default.bool,
|
|
4350
|
+
children: Yn.isRequired,
|
|
4351
|
+
classes: W.default.object,
|
|
4352
|
+
className: W.default.string,
|
|
4353
|
+
describeChild: W.default.bool,
|
|
4354
|
+
disableFocusListener: W.default.bool,
|
|
4355
|
+
disableHoverListener: W.default.bool,
|
|
4356
|
+
disableInteractive: W.default.bool,
|
|
4357
|
+
disableTouchListener: W.default.bool,
|
|
4358
|
+
enterDelay: W.default.number,
|
|
4359
|
+
enterNextDelay: W.default.number,
|
|
4360
|
+
enterTouchDelay: W.default.number,
|
|
4361
|
+
followCursor: W.default.bool,
|
|
4362
|
+
id: W.default.string,
|
|
4363
|
+
leaveDelay: W.default.number,
|
|
4364
|
+
leaveTouchDelay: W.default.number,
|
|
4365
|
+
onClose: W.default.func,
|
|
4366
|
+
onOpen: W.default.func,
|
|
4367
|
+
open: W.default.bool,
|
|
4368
|
+
placement: W.default.oneOf([
|
|
4369
|
+
"auto-end",
|
|
4370
|
+
"auto-start",
|
|
4371
|
+
"auto",
|
|
4372
|
+
"bottom-end",
|
|
4373
|
+
"bottom-start",
|
|
4374
|
+
"bottom",
|
|
4375
|
+
"left-end",
|
|
4376
|
+
"left-start",
|
|
4377
|
+
"left",
|
|
4378
|
+
"right-end",
|
|
4379
|
+
"right-start",
|
|
4380
|
+
"right",
|
|
4381
|
+
"top-end",
|
|
4382
|
+
"top-start",
|
|
4383
|
+
"top"
|
|
4384
|
+
]),
|
|
4385
|
+
slotProps: W.default.shape({
|
|
4386
|
+
arrow: W.default.oneOfType([W.default.func, W.default.object]),
|
|
4387
|
+
popper: W.default.oneOfType([W.default.func, W.default.object]),
|
|
4388
|
+
tooltip: W.default.oneOfType([W.default.func, W.default.object]),
|
|
4389
|
+
transition: W.default.oneOfType([W.default.func, W.default.object])
|
|
4390
|
+
}),
|
|
4391
|
+
slots: W.default.shape({
|
|
4392
|
+
arrow: W.default.elementType,
|
|
4393
|
+
popper: W.default.elementType,
|
|
4394
|
+
tooltip: W.default.elementType,
|
|
4395
|
+
transition: W.default.elementType
|
|
4396
|
+
}),
|
|
4397
|
+
sx: W.default.oneOfType([
|
|
4398
|
+
W.default.arrayOf(W.default.oneOfType([
|
|
4399
|
+
W.default.func,
|
|
4400
|
+
W.default.object,
|
|
4401
|
+
W.default.bool
|
|
4402
|
+
])),
|
|
4403
|
+
W.default.func,
|
|
4404
|
+
W.default.object
|
|
4405
|
+
]),
|
|
4406
|
+
title: W.default.node
|
|
4407
|
+
});
|
|
4408
|
+
//#endregion
|
|
4409
|
+
//#region ../../../../node_modules/.pnpm/react-i18next@17.0.15_i18next@26.4.2_typescript@6.0.3__react-dom@19.3.0_react@19.3.0__react@19.3.0_typescript@6.0.3/node_modules/react-i18next/dist/es/utils.js
|
|
4410
|
+
var wi = (e, t, n, r) => {
|
|
4411
|
+
let i = [n, {
|
|
4412
|
+
code: t,
|
|
4413
|
+
...r || {}
|
|
4414
|
+
}];
|
|
4415
|
+
if (e?.services?.logger?.forward) return e.services.logger.forward(i, "warn", "react-i18next::", !0);
|
|
4416
|
+
ji(i[0]) && (i[0] = `react-i18next:: ${i[0]}`), e?.services?.logger?.warn ? e.services.logger.warn(...i) : console?.warn && console.warn(...i);
|
|
4417
|
+
}, Ti = {}, Ei = (e, t, n, r) => {
|
|
4418
|
+
ji(n) && Ti[n] || (ji(n) && (Ti[n] = /* @__PURE__ */ new Date()), wi(e, t, n, r));
|
|
4419
|
+
}, Di = (e, t) => () => {
|
|
4420
|
+
if (e.isInitialized) t();
|
|
4421
|
+
else {
|
|
4422
|
+
let n = () => {
|
|
4423
|
+
setTimeout(() => {
|
|
4424
|
+
e.off("initialized", n);
|
|
4425
|
+
}, 0), t();
|
|
4426
|
+
};
|
|
4427
|
+
e.on("initialized", n);
|
|
4428
|
+
}
|
|
4429
|
+
}, Oi = (e, t, n) => {
|
|
4430
|
+
e.loadNamespaces(t, Di(e, n));
|
|
4431
|
+
}, ki = (e, t, n, r) => {
|
|
4432
|
+
if (ji(n) && (n = [n]), e.options.preload && e.options.preload.indexOf(t) > -1) return Oi(e, n, r);
|
|
4433
|
+
n.forEach((t) => {
|
|
4434
|
+
e.options.ns.indexOf(t) < 0 && e.options.ns.push(t);
|
|
4435
|
+
}), e.loadLanguages(t, Di(e, r));
|
|
4436
|
+
}, Ai = (e, t, n = {}) => !t.languages || !t.languages.length ? (Ei(t, "NO_LANGUAGES", "i18n.languages were undefined or empty", { languages: t.languages }), !0) : t.hasLoadedNamespace(e, {
|
|
4437
|
+
lng: n.lng,
|
|
4438
|
+
precheck: (t, r) => {
|
|
4439
|
+
if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !r(t.isLanguageChangingTo, e)) return !1;
|
|
4440
|
+
}
|
|
4441
|
+
}), ji = (e) => typeof e == "string", Mi = (e) => typeof e == "object" && !!e, Ni = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Pi = {
|
|
4442
|
+
"&": "&",
|
|
4443
|
+
"&": "&",
|
|
4444
|
+
"<": "<",
|
|
4445
|
+
"<": "<",
|
|
4446
|
+
">": ">",
|
|
4447
|
+
">": ">",
|
|
4448
|
+
"'": "'",
|
|
4449
|
+
"'": "'",
|
|
4450
|
+
""": "\"",
|
|
4451
|
+
""": "\"",
|
|
4452
|
+
" ": " ",
|
|
4453
|
+
" ": " ",
|
|
4454
|
+
"©": "©",
|
|
4455
|
+
"©": "©",
|
|
4456
|
+
"®": "®",
|
|
4457
|
+
"®": "®",
|
|
4458
|
+
"…": "…",
|
|
4459
|
+
"…": "…",
|
|
4460
|
+
"/": "/",
|
|
4461
|
+
"/": "/"
|
|
4462
|
+
}, Fi = (e) => Pi[e], Ii = {
|
|
4463
|
+
bindI18n: "languageChanged",
|
|
4464
|
+
bindI18nStore: "",
|
|
4465
|
+
transEmptyNodeValue: "",
|
|
4466
|
+
transSupportBasicHtmlNodes: !0,
|
|
4467
|
+
transWrapTextNodes: "",
|
|
4468
|
+
transKeepBasicHtmlNodesFor: [
|
|
4469
|
+
"br",
|
|
4470
|
+
"strong",
|
|
4471
|
+
"i",
|
|
4472
|
+
"p"
|
|
4473
|
+
],
|
|
4474
|
+
useSuspense: !0,
|
|
4475
|
+
unescape: (e) => e.replace(Ni, Fi),
|
|
4476
|
+
transDefaultProps: void 0
|
|
4477
|
+
}, Li = (e = {}) => {
|
|
4478
|
+
Ii = {
|
|
4479
|
+
...Ii,
|
|
4480
|
+
...e
|
|
4481
|
+
};
|
|
4482
|
+
}, Ri = () => Ii, zi, Bi = (e) => {
|
|
4483
|
+
zi = e;
|
|
4484
|
+
}, Vi = () => zi, Hi = (0, U.createContext)(), Ui = class {
|
|
4485
|
+
constructor() {
|
|
4486
|
+
this.usedNamespaces = {};
|
|
4487
|
+
}
|
|
4488
|
+
addUsedNamespaces(e) {
|
|
4489
|
+
e.forEach((e) => {
|
|
4490
|
+
this.usedNamespaces[e] || (this.usedNamespaces[e] = !0);
|
|
4491
|
+
});
|
|
4492
|
+
}
|
|
4493
|
+
getUsedNamespaces() {
|
|
4494
|
+
return Object.keys(this.usedNamespaces);
|
|
4495
|
+
}
|
|
4496
|
+
}, Wi = /* @__PURE__ */ t(((e) => {
|
|
4497
|
+
var t = f();
|
|
4498
|
+
function n(e, t) {
|
|
4499
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
4500
|
+
}
|
|
4501
|
+
var r = typeof Object.is == "function" ? Object.is : n, i = t.useState, a = t.useEffect, o = t.useLayoutEffect, s = t.useDebugValue;
|
|
4502
|
+
function c(e, t) {
|
|
4503
|
+
var n = t(), r = i({ inst: {
|
|
4504
|
+
value: n,
|
|
4505
|
+
getSnapshot: t
|
|
4506
|
+
} }), c = r[0].inst, u = r[1];
|
|
4507
|
+
return o(function() {
|
|
4508
|
+
c.value = n, c.getSnapshot = t, l(c) && u({ inst: c });
|
|
4509
|
+
}, [
|
|
4510
|
+
e,
|
|
4511
|
+
n,
|
|
4512
|
+
t
|
|
4513
|
+
]), a(function() {
|
|
4514
|
+
return l(c) && u({ inst: c }), e(function() {
|
|
4515
|
+
l(c) && u({ inst: c });
|
|
4516
|
+
});
|
|
4517
|
+
}, [e]), s(n), n;
|
|
4518
|
+
}
|
|
4519
|
+
function l(e) {
|
|
4520
|
+
var t = e.getSnapshot;
|
|
4521
|
+
e = e.value;
|
|
4522
|
+
try {
|
|
4523
|
+
var n = t();
|
|
4524
|
+
return !r(e, n);
|
|
4525
|
+
} catch {
|
|
4526
|
+
return !0;
|
|
4527
|
+
}
|
|
4528
|
+
}
|
|
4529
|
+
function u(e, t) {
|
|
4530
|
+
return t();
|
|
4531
|
+
}
|
|
4532
|
+
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
|
|
4533
|
+
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
|
|
4534
|
+
})), Gi = /* @__PURE__ */ t(((e) => {
|
|
4535
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
4536
|
+
function t(e, t) {
|
|
4537
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
4538
|
+
}
|
|
4539
|
+
function n(e, t) {
|
|
4540
|
+
d || a.startTransition === void 0 || (d = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
4541
|
+
var n = t();
|
|
4542
|
+
if (!p) {
|
|
4543
|
+
var i = t();
|
|
4544
|
+
o(n, i) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
|
|
4545
|
+
}
|
|
4546
|
+
i = s({ inst: {
|
|
4547
|
+
value: n,
|
|
4548
|
+
getSnapshot: t
|
|
4549
|
+
} });
|
|
4550
|
+
var f = i[0].inst, m = i[1];
|
|
4551
|
+
return l(function() {
|
|
4552
|
+
f.value = n, f.getSnapshot = t, r(f) && m({ inst: f });
|
|
4553
|
+
}, [
|
|
4554
|
+
e,
|
|
4555
|
+
n,
|
|
4556
|
+
t
|
|
4557
|
+
]), c(function() {
|
|
4558
|
+
return r(f) && m({ inst: f }), e(function() {
|
|
4559
|
+
r(f) && m({ inst: f });
|
|
4560
|
+
});
|
|
4561
|
+
}, [e]), u(n), n;
|
|
4562
|
+
}
|
|
4563
|
+
function r(e) {
|
|
4564
|
+
var t = e.getSnapshot;
|
|
4565
|
+
e = e.value;
|
|
4566
|
+
try {
|
|
4567
|
+
var n = t();
|
|
4568
|
+
return !o(e, n);
|
|
4569
|
+
} catch {
|
|
4570
|
+
return !0;
|
|
4571
|
+
}
|
|
4572
|
+
}
|
|
4573
|
+
function i(e, t) {
|
|
4574
|
+
return t();
|
|
4575
|
+
}
|
|
4576
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
4577
|
+
var a = f(), o = typeof Object.is == "function" ? Object.is : t, s = a.useState, c = a.useEffect, l = a.useLayoutEffect, u = a.useDebugValue, d = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? i : n;
|
|
4578
|
+
e.useSyncExternalStore = a.useSyncExternalStore === void 0 ? m : a.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
4579
|
+
})();
|
|
4580
|
+
})), Ki = (/* @__PURE__ */ t(((e, t) => {
|
|
4581
|
+
t.exports = process.env.NODE_ENV === "production" ? Wi() : Gi();
|
|
4582
|
+
})))(), qi = {
|
|
4583
|
+
t: (e, t) => {
|
|
4584
|
+
if (ji(t)) return t;
|
|
4585
|
+
if (Mi(t) && ji(t.defaultValue)) return t.defaultValue;
|
|
4586
|
+
if (typeof e == "function") return "";
|
|
4587
|
+
if (Array.isArray(e)) {
|
|
4588
|
+
let t = e[e.length - 1];
|
|
4589
|
+
return typeof t == "function" ? "" : t;
|
|
4590
|
+
}
|
|
4591
|
+
return e;
|
|
4592
|
+
},
|
|
4593
|
+
ready: !1
|
|
4594
|
+
}, Ji = () => () => {}, Yi = (e, t = {}) => {
|
|
4595
|
+
let { i18n: n } = t, { i18n: r, defaultNS: i } = (0, U.useContext)(Hi) || {}, a = n || r || Vi();
|
|
4596
|
+
a && !a.reportNamespaces && (a.reportNamespaces = new Ui()), a || Ei(a, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.");
|
|
4597
|
+
let o = (0, U.useMemo)(() => ({
|
|
4598
|
+
...Ri(),
|
|
4599
|
+
...a?.options?.react,
|
|
4600
|
+
...t
|
|
4601
|
+
}), [a, t]), { useSuspense: s, keyPrefix: c } = o, l = e || i || a?.options?.defaultNS, u = ji(l) ? [l] : l || ["translation"], d = (0, U.useMemo)(() => u, u);
|
|
4602
|
+
a?.reportNamespaces?.addUsedNamespaces?.(d);
|
|
4603
|
+
let f = (0, U.useRef)(0), p = (0, U.useCallback)((e) => {
|
|
4604
|
+
if (!a) return Ji;
|
|
4605
|
+
let { bindI18n: t, bindI18nStore: n } = o, r = () => {
|
|
4606
|
+
f.current += 1, e();
|
|
4607
|
+
};
|
|
4608
|
+
return t && a.on(t, r), n && a.store.on(n, r), () => {
|
|
4609
|
+
t && t.split(" ").forEach((e) => a.off(e, r)), n && n.split(" ").forEach((e) => a.store.off(e, r));
|
|
4610
|
+
};
|
|
4611
|
+
}, [a, o]), m = (0, U.useRef)(), h = (0, U.useCallback)(() => {
|
|
4612
|
+
if (!a) return qi;
|
|
4613
|
+
let e = !!(a.isInitialized || a.initializedStoreOnce) && d.every((e) => Ai(e, a, o)), n = t.lng || a.language, r = f.current, i = m.current;
|
|
4614
|
+
if (i && i.ready === e && i.lng === n && i.keyPrefix === c && i.revision === r) return i;
|
|
4615
|
+
let s = {
|
|
4616
|
+
t: a.getFixedT(n, o.nsMode === "fallback" ? d : d[0], c, { scopeNs: d }),
|
|
4617
|
+
ready: e,
|
|
4618
|
+
lng: n,
|
|
4619
|
+
keyPrefix: c,
|
|
4620
|
+
revision: r
|
|
4621
|
+
};
|
|
4622
|
+
return m.current = s, s;
|
|
4623
|
+
}, [
|
|
4624
|
+
a,
|
|
4625
|
+
d,
|
|
4626
|
+
c,
|
|
4627
|
+
o,
|
|
4628
|
+
t.lng
|
|
4629
|
+
]), [g, _] = (0, U.useState)(0), { t: v, ready: y } = (0, Ki.useSyncExternalStore)(p, h, h);
|
|
4630
|
+
(0, U.useEffect)(() => {
|
|
4631
|
+
if (a && !y && !s) {
|
|
4632
|
+
let e = () => _((e) => e + 1);
|
|
4633
|
+
t.lng ? ki(a, t.lng, d, e) : Oi(a, d, e);
|
|
4634
|
+
}
|
|
4635
|
+
}, [
|
|
4636
|
+
a,
|
|
4637
|
+
t.lng,
|
|
4638
|
+
d,
|
|
4639
|
+
y,
|
|
4640
|
+
s,
|
|
4641
|
+
g
|
|
4642
|
+
]);
|
|
4643
|
+
let b = a || {}, x = (0, U.useRef)(null), S = (0, U.useRef)(), C = (e) => `${e.language}|${e.resolvedLanguage}|${e.languages?.join(",")}`, w = (e) => {
|
|
4644
|
+
let t = Object.getOwnPropertyDescriptors(e);
|
|
4645
|
+
t.__original && delete t.__original;
|
|
4646
|
+
let n = Object.create(Object.getPrototypeOf(e), t);
|
|
4647
|
+
if (!Object.prototype.hasOwnProperty.call(n, "__original")) try {
|
|
4648
|
+
Object.defineProperty(n, "__original", {
|
|
4649
|
+
value: e,
|
|
4650
|
+
writable: !1,
|
|
4651
|
+
enumerable: !1,
|
|
4652
|
+
configurable: !1
|
|
4653
|
+
});
|
|
4654
|
+
} catch {}
|
|
4655
|
+
return n;
|
|
4656
|
+
}, T = (0, U.useMemo)(() => {
|
|
4657
|
+
let e = b, t = e && C(e), n = e;
|
|
4658
|
+
e && (x.current && x.current.__original === e && S.current === t ? n = x.current : (n = w(e), x.current = n, S.current = t));
|
|
4659
|
+
let r = !y && !s ? (...e) => (Ei(a, "USE_T_BEFORE_READY", "useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."), v(...e)) : v, i = [
|
|
4660
|
+
r,
|
|
4661
|
+
n,
|
|
4662
|
+
y
|
|
4663
|
+
];
|
|
4664
|
+
return i.t = r, i.i18n = n, i.ready = y, i;
|
|
4665
|
+
}, [
|
|
4666
|
+
v,
|
|
4667
|
+
b,
|
|
4668
|
+
y,
|
|
4669
|
+
b.resolvedLanguage,
|
|
4670
|
+
b.language,
|
|
4671
|
+
b.languages
|
|
4672
|
+
]);
|
|
4673
|
+
if (a && s && !y) {
|
|
4674
|
+
let e = !1;
|
|
4675
|
+
try {
|
|
4676
|
+
e = process.env.NODE_ENV !== "production";
|
|
4677
|
+
} catch {}
|
|
4678
|
+
throw e && Ei(a, "SUSPENDED_WHILE_LOADING", "useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook"), new Promise((e) => {
|
|
4679
|
+
let n = () => e();
|
|
4680
|
+
t.lng ? ki(a, t.lng, d, n) : Oi(a, d, n);
|
|
4681
|
+
});
|
|
4682
|
+
}
|
|
4683
|
+
return T;
|
|
4684
|
+
}, Xi = O(/*#__PURE__*/ (0, G.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z" }), "Error"), Zi = O(/*#__PURE__*/ (0, G.jsx)("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5" }), "Link"), Qi = class {
|
|
4685
|
+
static createAttributes(e, t = {}) {
|
|
4686
|
+
let n = { "data-testid": e };
|
|
4687
|
+
return Object.keys(t).forEach((e) => {
|
|
4688
|
+
n[`data-testid-prop-${e}`] = `${t[e]}`;
|
|
4689
|
+
}), n;
|
|
4690
|
+
}
|
|
4691
|
+
};
|
|
4692
|
+
//#endregion
|
|
4693
|
+
export { Ne as A, ue as B, Yn as C, On as D, jn as E, xe as F, ae as G, ce as H, ye as I, oe as K, ge as L, Oe as M, J as N, Dn as O, Se as P, pe as R, Qn as S, Mn as T, se as U, le as V, q as W, Tr as _, Bi as a, mr as b, fi as c, ni as d, Qr as f, Nr as g, Ur as h, Yi as i, Me as j, Pe as k, ci as l, Gr as m, Zi as n, Li as o, Kr as p, ie as q, Xi as r, Ci as s, Qi as t, ii as u, wr as v, Kn as w, nr as x, hr as y, de as z };
|
|
4694
|
+
|
|
4695
|
+
//# sourceMappingURL=TestIdUtil.js.map
|