jcicl 0.0.120 → 0.0.122
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/.chunks/Input.js +328 -326
- package/AppContainer/AppContainer.d.ts +1 -0
- package/AppContainer/AppContainer.js +425 -398
- package/AppHeader/AppHeader.js +30 -30
- package/Button/Button.js +55 -54
- package/Flex/Flex.d.ts +1 -1
- package/Nav/Nav.d.ts +1 -0
- package/Nav/Nav.js +44 -43
- package/ScrollContainer/ScrollContainer.js +188 -188
- package/package.json +1 -1
- package/theme.d.ts +2 -0
- package/theme.js +14 -10
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as a, jsxs as P, Fragment as he } from "react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
3
|
import { useState as Y } from "react";
|
|
4
4
|
import { c as q } from "../.chunks/createSvgIcon.js";
|
|
5
|
-
import { n as
|
|
6
|
-
import { c as
|
|
7
|
-
import
|
|
5
|
+
import { n as y, i as ee } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
|
+
import { c as H } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
|
+
import Oe from "../AppHeader/AppHeader.js";
|
|
8
8
|
import { Nav as V } from "../Nav/Nav.js";
|
|
9
|
-
import
|
|
9
|
+
import ie from "../ScrollContainer/ScrollContainer.js";
|
|
10
10
|
import { Button as K } from "../Button/Button.js";
|
|
11
11
|
import i from "../theme.js";
|
|
12
|
-
import { l as
|
|
13
|
-
import { X as
|
|
14
|
-
import { P as n, g as
|
|
15
|
-
import { u as
|
|
16
|
-
import { m as
|
|
17
|
-
import { g as
|
|
18
|
-
import { c as
|
|
19
|
-
import { u as
|
|
20
|
-
function
|
|
21
|
-
const [
|
|
22
|
-
return
|
|
12
|
+
import { l as Ie } from "../.chunks/jocologo.js";
|
|
13
|
+
import { X as Be } from "../.chunks/Close.js";
|
|
14
|
+
import { P as n, g as Ae, a as je, s as ae, r as Ue, c as Z, u as Ve, b as _, d as Fe } from "../.chunks/DefaultPropsProvider.js";
|
|
15
|
+
import { u as We, e as Xe, H as Ge, a as we, g as Qe, T as Ye, r as _e, b as ue, c as Je } from "../.chunks/Portal.js";
|
|
16
|
+
import { m as ye } from "../.chunks/memoTheme.js";
|
|
17
|
+
import { g as Ke, o as ke, d as Ze, M as qe, P as eo, i as oo } from "../.chunks/Input.js";
|
|
18
|
+
import { c as to } from "../.chunks/chainPropTypes.js";
|
|
19
|
+
import { u as ro, a as no } from "../.chunks/TransitionGroupContext.js";
|
|
20
|
+
function io(e, o, r, t, c) {
|
|
21
|
+
const [f, u] = w.useState(() => c && r ? r(e).matches : t ? t(e).matches : o);
|
|
22
|
+
return ro(() => {
|
|
23
23
|
if (!r)
|
|
24
24
|
return;
|
|
25
|
-
const
|
|
26
|
-
h
|
|
25
|
+
const h = r(e), l = () => {
|
|
26
|
+
u(h.matches);
|
|
27
27
|
};
|
|
28
|
-
return l(),
|
|
29
|
-
|
|
28
|
+
return l(), h.addEventListener("change", l), () => {
|
|
29
|
+
h.removeEventListener("change", l);
|
|
30
30
|
};
|
|
31
|
-
}, [e, r]),
|
|
31
|
+
}, [e, r]), f;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
...
|
|
35
|
-
},
|
|
36
|
-
function
|
|
37
|
-
const
|
|
33
|
+
const ao = {
|
|
34
|
+
...w
|
|
35
|
+
}, Ce = ao.useSyncExternalStore;
|
|
36
|
+
function so(e, o, r, t, c) {
|
|
37
|
+
const f = w.useCallback(() => o, [o]), u = w.useMemo(() => {
|
|
38
38
|
if (c && r)
|
|
39
39
|
return () => r(e).matches;
|
|
40
40
|
if (t !== null) {
|
|
@@ -43,25 +43,25 @@ function io(e, o, r, t, c) {
|
|
|
43
43
|
} = t(e);
|
|
44
44
|
return () => p;
|
|
45
45
|
}
|
|
46
|
-
return
|
|
47
|
-
}, [
|
|
46
|
+
return f;
|
|
47
|
+
}, [f, e, t, c, r]), [h, l] = w.useMemo(() => {
|
|
48
48
|
if (r === null)
|
|
49
|
-
return [
|
|
49
|
+
return [f, () => () => {
|
|
50
50
|
}];
|
|
51
51
|
const p = r(e);
|
|
52
|
-
return [() => p.matches, (
|
|
53
|
-
p.removeEventListener("change",
|
|
52
|
+
return [() => p.matches, (M) => (p.addEventListener("change", M), () => {
|
|
53
|
+
p.removeEventListener("change", M);
|
|
54
54
|
})];
|
|
55
|
-
}, [
|
|
56
|
-
return
|
|
55
|
+
}, [f, r, e]);
|
|
56
|
+
return Ce(l, h, u);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
const r =
|
|
58
|
+
function fe(e, o = {}) {
|
|
59
|
+
const r = We(), t = typeof window < "u" && typeof window.matchMedia < "u", {
|
|
60
60
|
defaultMatches: c = !1,
|
|
61
|
-
matchMedia:
|
|
62
|
-
ssrMatchMedia:
|
|
63
|
-
noSsr:
|
|
64
|
-
} =
|
|
61
|
+
matchMedia: f = t ? window.matchMedia : null,
|
|
62
|
+
ssrMatchMedia: u = null,
|
|
63
|
+
noSsr: h = !1
|
|
64
|
+
} = Ke({
|
|
65
65
|
name: "MuiUseMediaQuery",
|
|
66
66
|
props: o,
|
|
67
67
|
theme: r
|
|
@@ -70,130 +70,130 @@ function de(e, o = {}) {
|
|
|
70
70
|
`));
|
|
71
71
|
let l = typeof e == "function" ? e(r) : e;
|
|
72
72
|
l = l.replace(/^@media( ?)/m, "");
|
|
73
|
-
const p = (
|
|
74
|
-
return process.env.NODE_ENV !== "production" &&
|
|
73
|
+
const p = (Ce !== void 0 ? so : io)(l, c, f, u, h);
|
|
74
|
+
return process.env.NODE_ENV !== "production" && w.useDebugValue({
|
|
75
75
|
query: l,
|
|
76
76
|
match: p
|
|
77
77
|
}), p;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(),
|
|
81
|
-
let
|
|
79
|
+
function co(e, o, r) {
|
|
80
|
+
const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), f = ke(o);
|
|
81
|
+
let u;
|
|
82
82
|
if (o.fakeTransform)
|
|
83
|
-
|
|
83
|
+
u = o.fakeTransform;
|
|
84
84
|
else {
|
|
85
|
-
const
|
|
86
|
-
|
|
85
|
+
const m = f.getComputedStyle(o);
|
|
86
|
+
u = m.getPropertyValue("-webkit-transform") || m.getPropertyValue("transform");
|
|
87
87
|
}
|
|
88
|
-
let
|
|
89
|
-
if (
|
|
90
|
-
const
|
|
91
|
-
|
|
88
|
+
let h = 0, l = 0;
|
|
89
|
+
if (u && u !== "none" && typeof u == "string") {
|
|
90
|
+
const m = u.split("(")[1].split(")")[0].split(",");
|
|
91
|
+
h = parseInt(m[4], 10), l = parseInt(m[5], 10);
|
|
92
92
|
}
|
|
93
|
-
return e === "left" ? c ? `translateX(${c.right +
|
|
93
|
+
return e === "left" ? c ? `translateX(${c.right + h - t.left}px)` : `translateX(${f.innerWidth + h - t.left}px)` : e === "right" ? c ? `translateX(-${t.right - c.left - h}px)` : `translateX(-${t.left + t.width - h}px)` : e === "up" ? c ? `translateY(${c.bottom + l - t.top}px)` : `translateY(${f.innerHeight + l - t.top}px)` : c ? `translateY(-${t.top - c.top + t.height - l}px)` : `translateY(-${t.top + t.height - l}px)`;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Te(e) {
|
|
96
96
|
return typeof e == "function" ? e() : e;
|
|
97
97
|
}
|
|
98
98
|
function J(e, o, r) {
|
|
99
|
-
const t =
|
|
99
|
+
const t = Te(r), c = co(e, o, t);
|
|
100
100
|
c && (o.style.webkitTransform = c, o.style.transform = c);
|
|
101
101
|
}
|
|
102
|
-
const
|
|
103
|
-
const t =
|
|
102
|
+
const $e = /* @__PURE__ */ w.forwardRef(function(o, r) {
|
|
103
|
+
const t = we(), c = {
|
|
104
104
|
enter: t.transitions.easing.easeOut,
|
|
105
105
|
exit: t.transitions.easing.sharp
|
|
106
|
-
},
|
|
106
|
+
}, f = {
|
|
107
107
|
enter: t.transitions.duration.enteringScreen,
|
|
108
108
|
exit: t.transitions.duration.leavingScreen
|
|
109
109
|
}, {
|
|
110
|
-
addEndListener:
|
|
111
|
-
appear:
|
|
110
|
+
addEndListener: u,
|
|
111
|
+
appear: h = !0,
|
|
112
112
|
children: l,
|
|
113
|
-
container:
|
|
113
|
+
container: m,
|
|
114
114
|
direction: p = "down",
|
|
115
|
-
easing:
|
|
116
|
-
in:
|
|
117
|
-
onEnter:
|
|
118
|
-
onEntered:
|
|
119
|
-
onEntering:
|
|
120
|
-
onExit:
|
|
121
|
-
onExited:
|
|
122
|
-
onExiting:
|
|
123
|
-
style:
|
|
124
|
-
timeout:
|
|
115
|
+
easing: M = c,
|
|
116
|
+
in: k,
|
|
117
|
+
onEnter: B,
|
|
118
|
+
onEntered: L,
|
|
119
|
+
onEntering: N,
|
|
120
|
+
onExit: C,
|
|
121
|
+
onExited: R,
|
|
122
|
+
onExiting: O,
|
|
123
|
+
style: I,
|
|
124
|
+
timeout: S = f,
|
|
125
125
|
// eslint-disable-next-line react/prop-types
|
|
126
|
-
TransitionComponent:
|
|
127
|
-
...
|
|
128
|
-
} = o,
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
J(p,
|
|
132
|
-
}),
|
|
133
|
-
const
|
|
134
|
-
timeout:
|
|
135
|
-
style:
|
|
136
|
-
easing:
|
|
126
|
+
TransitionComponent: g = Ye,
|
|
127
|
+
...v
|
|
128
|
+
} = o, b = w.useRef(null), D = no(Qe(l), b, r), x = (s) => (d) => {
|
|
129
|
+
s && (d === void 0 ? s(b.current) : s(b.current, d));
|
|
130
|
+
}, T = x((s, d) => {
|
|
131
|
+
J(p, s, m), _e(s), B && B(s, d);
|
|
132
|
+
}), $ = x((s, d) => {
|
|
133
|
+
const Q = ue({
|
|
134
|
+
timeout: S,
|
|
135
|
+
style: I,
|
|
136
|
+
easing: M
|
|
137
137
|
}, {
|
|
138
138
|
mode: "enter"
|
|
139
139
|
});
|
|
140
|
-
|
|
141
|
-
...
|
|
142
|
-
}),
|
|
143
|
-
...
|
|
144
|
-
}),
|
|
145
|
-
}),
|
|
146
|
-
const
|
|
147
|
-
timeout:
|
|
148
|
-
style:
|
|
149
|
-
easing:
|
|
140
|
+
s.style.webkitTransition = t.transitions.create("-webkit-transform", {
|
|
141
|
+
...Q
|
|
142
|
+
}), s.style.transition = t.transitions.create("transform", {
|
|
143
|
+
...Q
|
|
144
|
+
}), s.style.webkitTransform = "none", s.style.transform = "none", N && N(s, d);
|
|
145
|
+
}), A = x(L), j = x(O), z = x((s) => {
|
|
146
|
+
const d = ue({
|
|
147
|
+
timeout: S,
|
|
148
|
+
style: I,
|
|
149
|
+
easing: M
|
|
150
150
|
}, {
|
|
151
151
|
mode: "exit"
|
|
152
152
|
});
|
|
153
|
-
|
|
154
|
-
}),
|
|
155
|
-
|
|
156
|
-
}),
|
|
157
|
-
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
}, [p,
|
|
161
|
-
return
|
|
162
|
-
if (
|
|
153
|
+
s.style.webkitTransition = t.transitions.create("-webkit-transform", d), s.style.transition = t.transitions.create("transform", d), J(p, s, m), C && C(s);
|
|
154
|
+
}), W = x((s) => {
|
|
155
|
+
s.style.webkitTransition = "", s.style.transition = "", R && R(s);
|
|
156
|
+
}), U = (s) => {
|
|
157
|
+
u && u(b.current, s);
|
|
158
|
+
}, X = w.useCallback(() => {
|
|
159
|
+
b.current && J(p, b.current, m);
|
|
160
|
+
}, [p, m]);
|
|
161
|
+
return w.useEffect(() => {
|
|
162
|
+
if (k || p === "down" || p === "right")
|
|
163
163
|
return;
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
}),
|
|
167
|
-
return
|
|
168
|
-
|
|
164
|
+
const s = Ze(() => {
|
|
165
|
+
b.current && J(p, b.current, m);
|
|
166
|
+
}), d = ke(b.current);
|
|
167
|
+
return d.addEventListener("resize", s), () => {
|
|
168
|
+
s.clear(), d.removeEventListener("resize", s);
|
|
169
169
|
};
|
|
170
|
-
}, [p,
|
|
171
|
-
|
|
172
|
-
}, [
|
|
173
|
-
nodeRef:
|
|
174
|
-
onEnter:
|
|
175
|
-
onEntered:
|
|
176
|
-
onEntering:
|
|
177
|
-
onExit:
|
|
178
|
-
onExited:
|
|
179
|
-
onExiting:
|
|
180
|
-
addEndListener:
|
|
181
|
-
appear:
|
|
182
|
-
in:
|
|
183
|
-
timeout:
|
|
184
|
-
...
|
|
185
|
-
children: (
|
|
186
|
-
ref:
|
|
170
|
+
}, [p, k, m]), w.useEffect(() => {
|
|
171
|
+
k || X();
|
|
172
|
+
}, [k, X]), /* @__PURE__ */ a(g, {
|
|
173
|
+
nodeRef: b,
|
|
174
|
+
onEnter: T,
|
|
175
|
+
onEntered: A,
|
|
176
|
+
onEntering: $,
|
|
177
|
+
onExit: z,
|
|
178
|
+
onExited: W,
|
|
179
|
+
onExiting: j,
|
|
180
|
+
addEndListener: U,
|
|
181
|
+
appear: h,
|
|
182
|
+
in: k,
|
|
183
|
+
timeout: S,
|
|
184
|
+
...v,
|
|
185
|
+
children: (s, d) => /* @__PURE__ */ w.cloneElement(l, {
|
|
186
|
+
ref: D,
|
|
187
187
|
style: {
|
|
188
|
-
visibility:
|
|
189
|
-
...
|
|
188
|
+
visibility: s === "exited" && !k ? "hidden" : void 0,
|
|
189
|
+
...I,
|
|
190
190
|
...l.props.style
|
|
191
191
|
},
|
|
192
|
-
...
|
|
192
|
+
...d
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
|
-
process.env.NODE_ENV !== "production" && (
|
|
196
|
+
process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
197
197
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
198
198
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
199
199
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -213,14 +213,14 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
213
213
|
/**
|
|
214
214
|
* A single child content element.
|
|
215
215
|
*/
|
|
216
|
-
children:
|
|
216
|
+
children: Xe.isRequired,
|
|
217
217
|
/**
|
|
218
218
|
* An HTML element, or a function that returns one.
|
|
219
219
|
* It's used to set the container the Slide is transitioning from.
|
|
220
220
|
*/
|
|
221
|
-
container:
|
|
221
|
+
container: to(n.oneOfType([Ge, n.func]), (e) => {
|
|
222
222
|
if (e.open) {
|
|
223
|
-
const o =
|
|
223
|
+
const o = Te(e.container);
|
|
224
224
|
if (o && o.nodeType === 1) {
|
|
225
225
|
const r = o.getBoundingClientRect();
|
|
226
226
|
if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
|
@@ -295,16 +295,16 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
295
295
|
exit: n.number
|
|
296
296
|
})])
|
|
297
297
|
});
|
|
298
|
-
function
|
|
299
|
-
return
|
|
298
|
+
function lo(e) {
|
|
299
|
+
return Ae("MuiDrawer", e);
|
|
300
300
|
}
|
|
301
|
-
|
|
302
|
-
const
|
|
301
|
+
je("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
|
|
302
|
+
const Ee = (e, o) => {
|
|
303
303
|
const {
|
|
304
304
|
ownerState: r
|
|
305
305
|
} = e;
|
|
306
306
|
return [o.root, (r.variant === "permanent" || r.variant === "persistent") && o.docked, o.modal];
|
|
307
|
-
},
|
|
307
|
+
}, po = (e) => {
|
|
308
308
|
const {
|
|
309
309
|
classes: o,
|
|
310
310
|
anchor: r,
|
|
@@ -315,24 +315,24 @@ const Ce = (e, o) => {
|
|
|
315
315
|
modal: ["modal"],
|
|
316
316
|
paper: ["paper", `paperAnchor${Z(r)}`, t !== "temporary" && `paperAnchorDocked${Z(r)}`]
|
|
317
317
|
};
|
|
318
|
-
return
|
|
319
|
-
},
|
|
318
|
+
return Fe(c, lo, o);
|
|
319
|
+
}, ho = ae(qe, {
|
|
320
320
|
name: "MuiDrawer",
|
|
321
321
|
slot: "Root",
|
|
322
|
-
overridesResolver:
|
|
323
|
-
})(
|
|
322
|
+
overridesResolver: Ee
|
|
323
|
+
})(ye(({
|
|
324
324
|
theme: e
|
|
325
325
|
}) => ({
|
|
326
326
|
zIndex: (e.vars || e).zIndex.drawer
|
|
327
|
-
}))),
|
|
328
|
-
shouldForwardProp:
|
|
327
|
+
}))), me = ae("div", {
|
|
328
|
+
shouldForwardProp: Ue,
|
|
329
329
|
name: "MuiDrawer",
|
|
330
330
|
slot: "Docked",
|
|
331
331
|
skipVariantsResolver: !1,
|
|
332
|
-
overridesResolver:
|
|
332
|
+
overridesResolver: Ee
|
|
333
333
|
})({
|
|
334
334
|
flex: "0 0 auto"
|
|
335
|
-
}),
|
|
335
|
+
}), uo = ae(eo, {
|
|
336
336
|
name: "MuiDrawer",
|
|
337
337
|
slot: "Paper",
|
|
338
338
|
overridesResolver: (e, o) => {
|
|
@@ -341,7 +341,7 @@ const Ce = (e, o) => {
|
|
|
341
341
|
} = e;
|
|
342
342
|
return [o.paper, o[`paperAnchor${Z(r.anchor)}`], r.variant !== "temporary" && o[`paperAnchorDocked${Z(r.anchor)}`]];
|
|
343
343
|
}
|
|
344
|
-
})(
|
|
344
|
+
})(ye(({
|
|
345
345
|
theme: e
|
|
346
346
|
}) => ({
|
|
347
347
|
overflowY: "auto",
|
|
@@ -425,108 +425,108 @@ const Ce = (e, o) => {
|
|
|
425
425
|
borderTop: `1px solid ${(e.vars || e).palette.divider}`
|
|
426
426
|
}
|
|
427
427
|
}]
|
|
428
|
-
}))),
|
|
428
|
+
}))), Pe = {
|
|
429
429
|
left: "right",
|
|
430
430
|
right: "left",
|
|
431
431
|
top: "down",
|
|
432
432
|
bottom: "up"
|
|
433
433
|
};
|
|
434
|
-
function
|
|
434
|
+
function fo(e) {
|
|
435
435
|
return ["left", "right"].includes(e);
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function mo({
|
|
438
438
|
direction: e
|
|
439
439
|
}, o) {
|
|
440
|
-
return e === "rtl" &&
|
|
440
|
+
return e === "rtl" && fo(o) ? Pe[o] : o;
|
|
441
441
|
}
|
|
442
|
-
const
|
|
443
|
-
const t =
|
|
442
|
+
const F = /* @__PURE__ */ w.forwardRef(function(o, r) {
|
|
443
|
+
const t = Ve({
|
|
444
444
|
props: o,
|
|
445
445
|
name: "MuiDrawer"
|
|
446
|
-
}), c =
|
|
446
|
+
}), c = we(), f = Je(), u = {
|
|
447
447
|
enter: c.transitions.duration.enteringScreen,
|
|
448
448
|
exit: c.transitions.duration.leavingScreen
|
|
449
449
|
}, {
|
|
450
|
-
anchor:
|
|
450
|
+
anchor: h = "left",
|
|
451
451
|
BackdropProps: l,
|
|
452
|
-
children:
|
|
452
|
+
children: m,
|
|
453
453
|
className: p,
|
|
454
|
-
elevation:
|
|
455
|
-
hideBackdrop:
|
|
454
|
+
elevation: M = 16,
|
|
455
|
+
hideBackdrop: k = !1,
|
|
456
456
|
ModalProps: {
|
|
457
|
-
BackdropProps:
|
|
458
|
-
...
|
|
457
|
+
BackdropProps: B,
|
|
458
|
+
...L
|
|
459
459
|
} = {},
|
|
460
|
-
onClose:
|
|
461
|
-
open:
|
|
462
|
-
PaperProps:
|
|
463
|
-
SlideProps:
|
|
460
|
+
onClose: N,
|
|
461
|
+
open: C = !1,
|
|
462
|
+
PaperProps: R = {},
|
|
463
|
+
SlideProps: O,
|
|
464
464
|
// eslint-disable-next-line react/prop-types
|
|
465
|
-
TransitionComponent:
|
|
466
|
-
transitionDuration:
|
|
467
|
-
variant:
|
|
468
|
-
...
|
|
469
|
-
} = t,
|
|
470
|
-
|
|
471
|
-
|
|
465
|
+
TransitionComponent: I = $e,
|
|
466
|
+
transitionDuration: S = u,
|
|
467
|
+
variant: g = "temporary",
|
|
468
|
+
...v
|
|
469
|
+
} = t, b = w.useRef(!1);
|
|
470
|
+
w.useEffect(() => {
|
|
471
|
+
b.current = !0;
|
|
472
472
|
}, []);
|
|
473
|
-
const
|
|
474
|
-
direction:
|
|
475
|
-
},
|
|
473
|
+
const D = mo({
|
|
474
|
+
direction: f ? "rtl" : "ltr"
|
|
475
|
+
}, h), T = {
|
|
476
476
|
...t,
|
|
477
|
-
anchor:
|
|
478
|
-
elevation:
|
|
479
|
-
open:
|
|
480
|
-
variant:
|
|
481
|
-
...
|
|
482
|
-
},
|
|
483
|
-
elevation:
|
|
477
|
+
anchor: h,
|
|
478
|
+
elevation: M,
|
|
479
|
+
open: C,
|
|
480
|
+
variant: g,
|
|
481
|
+
...v
|
|
482
|
+
}, $ = po(T), A = /* @__PURE__ */ a(uo, {
|
|
483
|
+
elevation: g === "temporary" ? M : 0,
|
|
484
484
|
square: !0,
|
|
485
|
-
...
|
|
486
|
-
className: _(
|
|
487
|
-
ownerState:
|
|
488
|
-
children:
|
|
485
|
+
...R,
|
|
486
|
+
className: _($.paper, R.className),
|
|
487
|
+
ownerState: T,
|
|
488
|
+
children: m
|
|
489
489
|
});
|
|
490
|
-
if (
|
|
491
|
-
return /* @__PURE__ */
|
|
492
|
-
className: _(
|
|
493
|
-
ownerState:
|
|
490
|
+
if (g === "permanent")
|
|
491
|
+
return /* @__PURE__ */ a(me, {
|
|
492
|
+
className: _($.root, $.docked, p),
|
|
493
|
+
ownerState: T,
|
|
494
494
|
ref: r,
|
|
495
|
-
...
|
|
496
|
-
children:
|
|
495
|
+
...v,
|
|
496
|
+
children: A
|
|
497
497
|
});
|
|
498
|
-
const
|
|
499
|
-
in:
|
|
500
|
-
direction:
|
|
501
|
-
timeout:
|
|
502
|
-
appear:
|
|
503
|
-
...
|
|
504
|
-
children:
|
|
498
|
+
const j = /* @__PURE__ */ a(I, {
|
|
499
|
+
in: C,
|
|
500
|
+
direction: Pe[D],
|
|
501
|
+
timeout: S,
|
|
502
|
+
appear: b.current,
|
|
503
|
+
...O,
|
|
504
|
+
children: A
|
|
505
505
|
});
|
|
506
|
-
return
|
|
507
|
-
className: _(
|
|
508
|
-
ownerState:
|
|
506
|
+
return g === "persistent" ? /* @__PURE__ */ a(me, {
|
|
507
|
+
className: _($.root, $.docked, p),
|
|
508
|
+
ownerState: T,
|
|
509
509
|
ref: r,
|
|
510
|
-
...
|
|
511
|
-
children:
|
|
512
|
-
}) : /* @__PURE__ */
|
|
510
|
+
...v,
|
|
511
|
+
children: j
|
|
512
|
+
}) : /* @__PURE__ */ a(ho, {
|
|
513
513
|
BackdropProps: {
|
|
514
514
|
...l,
|
|
515
|
-
...
|
|
516
|
-
transitionDuration:
|
|
515
|
+
...B,
|
|
516
|
+
transitionDuration: S
|
|
517
517
|
},
|
|
518
|
-
className: _(
|
|
519
|
-
open:
|
|
520
|
-
ownerState:
|
|
521
|
-
onClose:
|
|
522
|
-
hideBackdrop:
|
|
518
|
+
className: _($.root, $.modal, p),
|
|
519
|
+
open: C,
|
|
520
|
+
ownerState: T,
|
|
521
|
+
onClose: N,
|
|
522
|
+
hideBackdrop: k,
|
|
523
523
|
ref: r,
|
|
524
|
-
...
|
|
525
|
-
...
|
|
526
|
-
children:
|
|
524
|
+
...v,
|
|
525
|
+
...L,
|
|
526
|
+
children: j
|
|
527
527
|
});
|
|
528
528
|
});
|
|
529
|
-
process.env.NODE_ENV !== "production" && (
|
|
529
|
+
process.env.NODE_ENV !== "production" && (F.propTypes = {
|
|
530
530
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
531
531
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
532
532
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -556,7 +556,7 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
556
556
|
* The elevation of the drawer.
|
|
557
557
|
* @default 16
|
|
558
558
|
*/
|
|
559
|
-
elevation:
|
|
559
|
+
elevation: oo,
|
|
560
560
|
/**
|
|
561
561
|
* If `true`, the backdrop is not rendered.
|
|
562
562
|
* @default false
|
|
@@ -612,15 +612,17 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
612
612
|
*/
|
|
613
613
|
variant: n.oneOf(["permanent", "persistent", "temporary"])
|
|
614
614
|
});
|
|
615
|
-
const
|
|
615
|
+
const ge = q(/* @__PURE__ */ a("path", {
|
|
616
616
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
617
|
-
}), "ArrowForward"),
|
|
617
|
+
}), "ArrowForward"), go = q(/* @__PURE__ */ a("path", {
|
|
618
618
|
d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
|
|
619
|
-
}), "Logout"),
|
|
619
|
+
}), "Logout"), be = q(/* @__PURE__ */ a("path", {
|
|
620
620
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
621
|
-
}), "Cancel"),
|
|
621
|
+
}), "Cancel"), bo = q(/* @__PURE__ */ a("path", {
|
|
622
622
|
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
|
623
|
-
}), "MoreHoriz"),
|
|
623
|
+
}), "MoreHoriz"), xo = y("div", {
|
|
624
|
+
shouldForwardProp: (e) => ee(e)
|
|
625
|
+
})(({ backgroundColor: e }) => ({
|
|
624
626
|
display: "flex",
|
|
625
627
|
flexDirection: "column",
|
|
626
628
|
width: "100vw",
|
|
@@ -629,7 +631,7 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
629
631
|
height: "100vh",
|
|
630
632
|
fontFamily: "Roboto, sans-serif",
|
|
631
633
|
overflow: "hidden"
|
|
632
|
-
})),
|
|
634
|
+
})), vo = y("div")(
|
|
633
635
|
({ tabletPadding: e, mobile: o }) => ({
|
|
634
636
|
display: "flex",
|
|
635
637
|
flexDirection: o ? "column-reverse" : "row",
|
|
@@ -641,7 +643,9 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
641
643
|
boxSizing: "border-box",
|
|
642
644
|
minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
|
|
643
645
|
})
|
|
644
|
-
),
|
|
646
|
+
), wo = y("div", {
|
|
647
|
+
shouldForwardProp: (e) => ee(e)
|
|
648
|
+
})(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: t }) => ({
|
|
645
649
|
display: "flex",
|
|
646
650
|
flexDirection: "column",
|
|
647
651
|
opacity: e ? 1 : 0,
|
|
@@ -660,9 +664,9 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
660
664
|
...!e && {
|
|
661
665
|
border: "none"
|
|
662
666
|
}
|
|
663
|
-
})),
|
|
667
|
+
})), yo = y(F)(
|
|
664
668
|
({ shadowColor: e, backgroundColor: o }) => ({
|
|
665
|
-
...
|
|
669
|
+
...H`
|
|
666
670
|
top: ${i.constants.appHeaderHeight}px;
|
|
667
671
|
font-family: 'Roboto';
|
|
668
672
|
|
|
@@ -684,8 +688,8 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
684
688
|
}
|
|
685
689
|
`
|
|
686
690
|
})
|
|
687
|
-
),
|
|
688
|
-
...
|
|
691
|
+
), xe = y(K)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: t = !1 }) => ({
|
|
692
|
+
...H`
|
|
689
693
|
position: absolute;
|
|
690
694
|
top: -0.5rem;
|
|
691
695
|
${!t && { right: "-0.5rem" }};
|
|
@@ -708,7 +712,9 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
708
712
|
}
|
|
709
713
|
}
|
|
710
714
|
`
|
|
711
|
-
})),
|
|
715
|
+
})), ko = y("div", {
|
|
716
|
+
shouldForwardProp: (e) => ee(e)
|
|
717
|
+
})(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: t }) => ({
|
|
712
718
|
display: "flex",
|
|
713
719
|
overflow: "hidden",
|
|
714
720
|
backgroundColor: r,
|
|
@@ -729,9 +735,9 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
729
735
|
borderBottomLeftRadius: 0,
|
|
730
736
|
borderTopLeftRadius: 0
|
|
731
737
|
}
|
|
732
|
-
})),
|
|
738
|
+
})), Co = y(F)(
|
|
733
739
|
({ backgroundColor: e, shadowColor: o }) => ({
|
|
734
|
-
...
|
|
740
|
+
...H`
|
|
735
741
|
z-index: 1327;
|
|
736
742
|
|
|
737
743
|
.MuiDrawer-paper {
|
|
@@ -747,11 +753,12 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
747
753
|
}
|
|
748
754
|
`
|
|
749
755
|
})
|
|
750
|
-
),
|
|
751
|
-
...
|
|
756
|
+
), To = y(F)(({ backgroundColor: e }) => ({
|
|
757
|
+
...H`
|
|
752
758
|
z-index: 1300;
|
|
753
759
|
|
|
754
760
|
.MuiDrawer-paper {
|
|
761
|
+
z-index: 1300;
|
|
755
762
|
width: 100vw;
|
|
756
763
|
top: ${i.constants.appHeaderHeight}px;
|
|
757
764
|
height: calc(100vh - ${i.constants.appHeaderHeight}px - 72px);
|
|
@@ -760,20 +767,35 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
760
767
|
}
|
|
761
768
|
|
|
762
769
|
.MuiBackdrop-root {
|
|
770
|
+
z-index: 1300;
|
|
763
771
|
top: ${i.constants.appHeaderHeight}px;
|
|
764
772
|
height: calc(100vh - ${i.constants.appHeaderHeight}px);
|
|
765
773
|
background-color: transparent;
|
|
766
774
|
}
|
|
767
775
|
`
|
|
768
|
-
})),
|
|
769
|
-
|
|
776
|
+
})), $o = y("div", {
|
|
777
|
+
shouldForwardProp: (e) => ee(e)
|
|
778
|
+
})(({ backgroundColor: e, open: o }) => ({
|
|
779
|
+
...H`
|
|
780
|
+
position: fixed;
|
|
781
|
+
transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
|
|
782
|
+
z-index: 1300;
|
|
783
|
+
bottom: 72px;
|
|
784
|
+
width: 100vw;
|
|
785
|
+
height: ${o ? `calc(100vh - ${i.constants.appHeaderHeight}px - 72px)` : 0};
|
|
786
|
+
overflow: hidden;
|
|
787
|
+
background-color: ${e};
|
|
788
|
+
box-sizing: border-box;
|
|
789
|
+
`
|
|
790
|
+
})), Eo = y("h1")(({ color: e }) => ({
|
|
791
|
+
...H`
|
|
770
792
|
margin: 0;
|
|
771
793
|
font-size: 2.1rem;
|
|
772
794
|
font-family: 'Roboto';
|
|
773
795
|
color: ${e};
|
|
774
796
|
`
|
|
775
|
-
})),
|
|
776
|
-
...
|
|
797
|
+
})), Po = y(F)(() => ({
|
|
798
|
+
...H`
|
|
777
799
|
top: ${i.constants.appHeaderHeight}px;
|
|
778
800
|
font-family: 'Roboto';
|
|
779
801
|
z-index: 1336;
|
|
@@ -792,21 +814,21 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
792
814
|
background-color: transparent;
|
|
793
815
|
}
|
|
794
816
|
`
|
|
795
|
-
})),
|
|
796
|
-
...
|
|
817
|
+
})), Mo = y("img")(({ width: e, height: o }) => ({
|
|
818
|
+
...H`
|
|
797
819
|
width: ${e}px;
|
|
798
820
|
height: ${o}px;
|
|
799
821
|
`
|
|
800
|
-
})),
|
|
801
|
-
...
|
|
822
|
+
})), ve = y("div")(({ justifyStart: e }) => ({
|
|
823
|
+
...H`
|
|
802
824
|
display: flex;
|
|
803
825
|
flex-direction: row;
|
|
804
826
|
align-items: flex-start;
|
|
805
827
|
justify-content: ${e ? "start" : "space-between"};
|
|
806
828
|
padding: 8px 16px 8px 24px;
|
|
807
829
|
`
|
|
808
|
-
})),
|
|
809
|
-
...
|
|
830
|
+
})), Ho = y(F)(() => ({
|
|
831
|
+
...H`
|
|
810
832
|
top: ${i.constants.appHeaderHeight}px;
|
|
811
833
|
font-family: 'Roboto';
|
|
812
834
|
|
|
@@ -827,270 +849,275 @@ const ue = q(/* @__PURE__ */ s("path", {
|
|
|
827
849
|
background-color: transparent;
|
|
828
850
|
}
|
|
829
851
|
`
|
|
830
|
-
})),
|
|
852
|
+
})), _o = ({
|
|
831
853
|
navProps: e,
|
|
832
854
|
appHeaderProps: o = {},
|
|
833
855
|
userProfileMenuItems: r = [],
|
|
834
856
|
actionsPanelContent: t,
|
|
835
857
|
navWidth: c = i.constants.navDefaultWidth,
|
|
836
|
-
breakpoints:
|
|
837
|
-
children:
|
|
838
|
-
themeColors:
|
|
858
|
+
breakpoints: f = { mobile: i.screenSizes.mobile, tablet: i.screenSizes.tablet },
|
|
859
|
+
children: u,
|
|
860
|
+
themeColors: h = {},
|
|
839
861
|
logoProps: l = {},
|
|
840
|
-
loggedIn:
|
|
862
|
+
loggedIn: m,
|
|
863
|
+
mobileActionsPanelOpen: p
|
|
841
864
|
}) => {
|
|
842
|
-
const [
|
|
843
|
-
backgroundPrimary:
|
|
844
|
-
backgroundSecondary:
|
|
865
|
+
const [M, k] = Y(!1), [B, L] = Y(!1), [N, C] = Y(!1), [R, O] = Y(!1), { mobile: I = i.screenSizes.mobile, tablet: S = i.screenSizes.tablet } = f, g = fe(`(max-width: ${I})`), v = fe(`(max-width: ${S})`) && !g, b = !g && !v, {
|
|
866
|
+
backgroundPrimary: D = i.colors.whiteGreen,
|
|
867
|
+
backgroundSecondary: x = i.colors.whiteGreenA,
|
|
845
868
|
backgroundTertiary: T = i.colors.sage,
|
|
846
|
-
highlightPrimary:
|
|
847
|
-
highlightSecondary:
|
|
869
|
+
highlightPrimary: $ = i.colors.sunlight,
|
|
870
|
+
highlightSecondary: A = i.colors.dandelion,
|
|
848
871
|
highlightTertiary: j = `${i.colors.dandelion}99`,
|
|
849
|
-
iconPrimary:
|
|
850
|
-
shadowPrimary:
|
|
872
|
+
iconPrimary: z = i.colors.darkGreen,
|
|
873
|
+
shadowPrimary: W = i.colors.darkGreenO99,
|
|
851
874
|
shadowSecondary: U = i.boxShadows.darkGreen,
|
|
852
|
-
shadowTertiary:
|
|
853
|
-
borderPrimary:
|
|
854
|
-
scrollColor:
|
|
855
|
-
avatarColors:
|
|
856
|
-
} =
|
|
857
|
-
backgroundPrimary:
|
|
858
|
-
backgroundSecondary:
|
|
875
|
+
shadowTertiary: X = i.boxShadows.darkGreenThick,
|
|
876
|
+
borderPrimary: s = i.colors.green,
|
|
877
|
+
scrollColor: d = i.colors.darkGreenO99,
|
|
878
|
+
avatarColors: Q
|
|
879
|
+
} = h, { logoSrc: se = Ie, logoWidth: ce = 36, logoHeight: le = 50 } = l, Me = {
|
|
880
|
+
backgroundPrimary: D,
|
|
881
|
+
backgroundSecondary: x,
|
|
859
882
|
backgroundTertiary: T,
|
|
860
|
-
highlightPrimary:
|
|
861
|
-
highlightSecondary:
|
|
883
|
+
highlightPrimary: $,
|
|
884
|
+
highlightSecondary: A,
|
|
862
885
|
highlightTertiary: j,
|
|
863
|
-
borderPrimary:
|
|
864
|
-
iconPrimary:
|
|
865
|
-
shadowPrimary:
|
|
886
|
+
borderPrimary: s,
|
|
887
|
+
iconPrimary: z,
|
|
888
|
+
shadowPrimary: W,
|
|
866
889
|
shadowSecondary: U,
|
|
867
|
-
shadowTertiary:
|
|
868
|
-
scrollColor:
|
|
869
|
-
},
|
|
870
|
-
} } = o,
|
|
871
|
-
...
|
|
890
|
+
shadowTertiary: X,
|
|
891
|
+
scrollColor: d
|
|
892
|
+
}, He = { logoSrc: se, logoWidth: ce, logoHeight: le }, oe = t != null, Re = { ...o, navWidth: c, loggedIn: m }, { onLogout: Se = () => {
|
|
893
|
+
} } = o, G = { ...e, themeColors: Me }, De = {
|
|
894
|
+
...G,
|
|
872
895
|
navWidth: `${c}px`,
|
|
873
896
|
isMobile: g
|
|
874
|
-
},
|
|
875
|
-
{ label: "Log Out", icon: /* @__PURE__ */
|
|
897
|
+
}, pe = [
|
|
898
|
+
{ label: "Log Out", icon: /* @__PURE__ */ a(go, {}), onClick: Se },
|
|
876
899
|
...r
|
|
877
|
-
].map((
|
|
878
|
-
...
|
|
900
|
+
].map((E) => ({
|
|
901
|
+
...E,
|
|
879
902
|
onClick: () => {
|
|
880
|
-
|
|
903
|
+
E.onClick && E.onClick(), C(!1);
|
|
881
904
|
}
|
|
882
|
-
})), { navItems:
|
|
883
|
-
...
|
|
905
|
+
})), { navItems: te } = e, ze = te.map((E) => ({
|
|
906
|
+
...E,
|
|
884
907
|
onClick: () => {
|
|
885
|
-
|
|
908
|
+
E.onClick && E.onClick(), k(!1);
|
|
886
909
|
}
|
|
887
|
-
})),
|
|
888
|
-
...
|
|
910
|
+
})), re = {
|
|
911
|
+
...G,
|
|
889
912
|
navWidth: "100%",
|
|
890
913
|
isTablet: !0,
|
|
891
|
-
navItems:
|
|
914
|
+
navItems: ze
|
|
892
915
|
};
|
|
893
|
-
let
|
|
894
|
-
...
|
|
916
|
+
let ne = te.map((E) => ({
|
|
917
|
+
...E,
|
|
895
918
|
onClick: () => {
|
|
896
|
-
|
|
919
|
+
E.onClick && E.onClick(), O(!1);
|
|
897
920
|
}
|
|
898
|
-
})),
|
|
899
|
-
|
|
921
|
+
})), de = [];
|
|
922
|
+
te.length > 4 && g && (de = ne.splice(3), ne.push({
|
|
900
923
|
label: "More",
|
|
901
|
-
icon: /* @__PURE__ */
|
|
902
|
-
onClick: () =>
|
|
924
|
+
icon: /* @__PURE__ */ a(bo, {}),
|
|
925
|
+
onClick: () => O(!0)
|
|
903
926
|
}));
|
|
904
|
-
const
|
|
905
|
-
...
|
|
927
|
+
const Le = {
|
|
928
|
+
...G,
|
|
906
929
|
navWidth: "100%",
|
|
907
|
-
navItems:
|
|
908
|
-
isMobile: !0
|
|
909
|
-
|
|
910
|
-
|
|
930
|
+
navItems: ne,
|
|
931
|
+
isMobile: !0,
|
|
932
|
+
activeRoute: R ? "More" : G.activeRoute
|
|
933
|
+
}, Ne = {
|
|
934
|
+
...G,
|
|
911
935
|
navWidth: "100%",
|
|
912
|
-
navItems:
|
|
936
|
+
navItems: de,
|
|
913
937
|
isTablet: !0
|
|
914
938
|
};
|
|
915
|
-
return /* @__PURE__ */
|
|
916
|
-
/* @__PURE__ */
|
|
917
|
-
|
|
939
|
+
return /* @__PURE__ */ P(xo, { backgroundColor: x, children: [
|
|
940
|
+
/* @__PURE__ */ a(
|
|
941
|
+
Oe,
|
|
918
942
|
{
|
|
919
|
-
...
|
|
920
|
-
hamburgerMenu:
|
|
921
|
-
onHamburgerMenuClick: () =>
|
|
943
|
+
...Re,
|
|
944
|
+
hamburgerMenu: v,
|
|
945
|
+
onHamburgerMenuClick: () => k(!0),
|
|
922
946
|
onUserMenuClick: () => C(!0),
|
|
923
|
-
logoProps:
|
|
924
|
-
iconColor:
|
|
947
|
+
logoProps: He,
|
|
948
|
+
iconColor: z,
|
|
925
949
|
isMobile: g,
|
|
926
|
-
themeProps: { shadowSecondary: U, shadowTertiary:
|
|
927
|
-
avatarColors:
|
|
950
|
+
themeProps: { shadowSecondary: U, shadowTertiary: X, iconPrimary: z, borderPrimary: s },
|
|
951
|
+
avatarColors: Q
|
|
928
952
|
}
|
|
929
953
|
),
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
|
|
932
|
-
g && /* @__PURE__ */
|
|
933
|
-
/* @__PURE__ */
|
|
934
|
-
/* @__PURE__ */
|
|
935
|
-
|
|
954
|
+
/* @__PURE__ */ P(vo, { tabletPadding: v, mobile: g, children: [
|
|
955
|
+
b && /* @__PURE__ */ a(V, { ...De }),
|
|
956
|
+
g && /* @__PURE__ */ P(he, { children: [
|
|
957
|
+
/* @__PURE__ */ a(V, { ...Le }),
|
|
958
|
+
/* @__PURE__ */ a(
|
|
959
|
+
To,
|
|
936
960
|
{
|
|
937
|
-
open:
|
|
938
|
-
onClose: () =>
|
|
939
|
-
backgroundColor:
|
|
961
|
+
open: R,
|
|
962
|
+
onClose: () => O(!1),
|
|
963
|
+
backgroundColor: x,
|
|
940
964
|
anchor: "right",
|
|
941
|
-
children: /* @__PURE__ */
|
|
965
|
+
children: /* @__PURE__ */ a(V, { ...Ne })
|
|
942
966
|
}
|
|
943
967
|
)
|
|
944
968
|
] }),
|
|
945
|
-
|
|
946
|
-
|
|
969
|
+
v && /* @__PURE__ */ P(
|
|
970
|
+
Co,
|
|
947
971
|
{
|
|
948
|
-
open:
|
|
949
|
-
onClose: () =>
|
|
950
|
-
backgroundColor:
|
|
951
|
-
shadowColor:
|
|
972
|
+
open: M,
|
|
973
|
+
onClose: () => k(!1),
|
|
974
|
+
backgroundColor: x,
|
|
975
|
+
shadowColor: W,
|
|
952
976
|
children: [
|
|
953
|
-
/* @__PURE__ */
|
|
954
|
-
/* @__PURE__ */
|
|
955
|
-
/* @__PURE__ */
|
|
977
|
+
/* @__PURE__ */ P(ve, { children: [
|
|
978
|
+
/* @__PURE__ */ a(Mo, { src: se, alt: "logo", width: ce, height: le }),
|
|
979
|
+
/* @__PURE__ */ a(K, { variant: "icon", size: 36, onClick: () => k(!1), color: z, children: /* @__PURE__ */ a(Be, {}) })
|
|
956
980
|
] }),
|
|
957
|
-
/* @__PURE__ */
|
|
981
|
+
/* @__PURE__ */ a(V, { ...re })
|
|
958
982
|
]
|
|
959
983
|
}
|
|
960
984
|
),
|
|
961
|
-
|
|
962
|
-
|
|
985
|
+
v && /* @__PURE__ */ P(
|
|
986
|
+
yo,
|
|
963
987
|
{
|
|
964
|
-
open:
|
|
988
|
+
open: B && oe,
|
|
965
989
|
onClose: () => L(!1),
|
|
966
|
-
shadowColor:
|
|
990
|
+
shadowColor: W,
|
|
967
991
|
backgroundColor: T,
|
|
968
992
|
children: [
|
|
969
|
-
/* @__PURE__ */
|
|
970
|
-
|
|
993
|
+
/* @__PURE__ */ a(
|
|
994
|
+
xe,
|
|
971
995
|
{
|
|
972
996
|
variant: "icon",
|
|
973
997
|
size: 24,
|
|
974
998
|
onClick: () => L(!1),
|
|
975
|
-
iconColor:
|
|
976
|
-
highlight1:
|
|
977
|
-
highlight2:
|
|
978
|
-
children: /* @__PURE__ */
|
|
999
|
+
iconColor: z,
|
|
1000
|
+
highlight1: x,
|
|
1001
|
+
highlight2: x,
|
|
1002
|
+
children: /* @__PURE__ */ a(be, {})
|
|
979
1003
|
}
|
|
980
1004
|
),
|
|
981
|
-
/* @__PURE__ */
|
|
1005
|
+
/* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t })
|
|
982
1006
|
]
|
|
983
1007
|
}
|
|
984
1008
|
),
|
|
985
|
-
(
|
|
986
|
-
|
|
1009
|
+
(v || b) && /* @__PURE__ */ P(
|
|
1010
|
+
Ho,
|
|
987
1011
|
{
|
|
988
1012
|
anchor: "right",
|
|
989
|
-
open:
|
|
1013
|
+
open: N,
|
|
990
1014
|
onClose: () => C(!1),
|
|
991
1015
|
children: [
|
|
992
|
-
/* @__PURE__ */
|
|
993
|
-
|
|
1016
|
+
/* @__PURE__ */ a(
|
|
1017
|
+
xe,
|
|
994
1018
|
{
|
|
995
1019
|
variant: "icon",
|
|
996
1020
|
size: 24,
|
|
997
1021
|
onClick: () => C(!1),
|
|
998
1022
|
iconColor: i.colors.midnight,
|
|
999
1023
|
highlight1: i.colors.white,
|
|
1000
|
-
highlight2:
|
|
1024
|
+
highlight2: x,
|
|
1001
1025
|
rightDrawer: !0,
|
|
1002
|
-
children: /* @__PURE__ */
|
|
1026
|
+
children: /* @__PURE__ */ a(be, {})
|
|
1003
1027
|
}
|
|
1004
1028
|
),
|
|
1005
|
-
/* @__PURE__ */
|
|
1029
|
+
/* @__PURE__ */ a(
|
|
1006
1030
|
V,
|
|
1007
1031
|
{
|
|
1008
|
-
...
|
|
1009
|
-
navItems:
|
|
1032
|
+
...re,
|
|
1033
|
+
navItems: pe,
|
|
1010
1034
|
themeColors: {
|
|
1011
1035
|
iconPrimary: i.colors.midnight,
|
|
1012
|
-
highlightPrimary:
|
|
1013
|
-
highlightTertiary:
|
|
1036
|
+
highlightPrimary: D,
|
|
1037
|
+
highlightTertiary: x,
|
|
1014
1038
|
shadowSecondary: U,
|
|
1015
|
-
scrollColor:
|
|
1039
|
+
scrollColor: d
|
|
1016
1040
|
}
|
|
1017
1041
|
}
|
|
1018
1042
|
)
|
|
1019
1043
|
]
|
|
1020
1044
|
}
|
|
1021
1045
|
),
|
|
1022
|
-
g && /* @__PURE__ */
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
/* @__PURE__ */
|
|
1031
|
-
|
|
1032
|
-
|
|
1046
|
+
g && /* @__PURE__ */ P(he, { children: [
|
|
1047
|
+
/* @__PURE__ */ P(
|
|
1048
|
+
Po,
|
|
1049
|
+
{
|
|
1050
|
+
anchor: "right",
|
|
1051
|
+
open: N,
|
|
1052
|
+
onClose: () => C(!1),
|
|
1053
|
+
children: [
|
|
1054
|
+
/* @__PURE__ */ P(ve, { children: [
|
|
1055
|
+
/* @__PURE__ */ a(Eo, { color: i.colors.midnight, children: "Settings" }),
|
|
1056
|
+
/* @__PURE__ */ a(
|
|
1057
|
+
K,
|
|
1058
|
+
{
|
|
1059
|
+
variant: "icon",
|
|
1060
|
+
size: 36,
|
|
1061
|
+
onClick: () => C(!1),
|
|
1062
|
+
color: i.colors.midnight,
|
|
1063
|
+
children: /* @__PURE__ */ a(ge, {})
|
|
1064
|
+
}
|
|
1065
|
+
)
|
|
1066
|
+
] }),
|
|
1067
|
+
/* @__PURE__ */ a(
|
|
1068
|
+
V,
|
|
1033
1069
|
{
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1070
|
+
...re,
|
|
1071
|
+
navItems: pe,
|
|
1072
|
+
themeColors: {
|
|
1073
|
+
iconPrimary: i.colors.midnight,
|
|
1074
|
+
highlightPrimary: D,
|
|
1075
|
+
highlightTertiary: x,
|
|
1076
|
+
shadowSecondary: U,
|
|
1077
|
+
scrollColor: d
|
|
1078
|
+
}
|
|
1039
1079
|
}
|
|
1040
1080
|
)
|
|
1041
|
-
]
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
iconPrimary: i.colors.midnight,
|
|
1049
|
-
highlightPrimary: m,
|
|
1050
|
-
highlightTertiary: y,
|
|
1051
|
-
shadowSecondary: U,
|
|
1052
|
-
scrollColor: a
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
)
|
|
1056
|
-
]
|
|
1057
|
-
}
|
|
1058
|
-
),
|
|
1059
|
-
!A && /* @__PURE__ */ R(
|
|
1060
|
-
xo,
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
),
|
|
1084
|
+
/* @__PURE__ */ a($o, { backgroundColor: T, open: p, children: t })
|
|
1085
|
+
] }),
|
|
1086
|
+
!g && /* @__PURE__ */ P(
|
|
1087
|
+
wo,
|
|
1061
1088
|
{
|
|
1062
|
-
withActionsPanel:
|
|
1063
|
-
tablet:
|
|
1064
|
-
borderColor:
|
|
1089
|
+
withActionsPanel: oe,
|
|
1090
|
+
tablet: v,
|
|
1091
|
+
borderColor: s,
|
|
1065
1092
|
backgroundColor: T,
|
|
1066
1093
|
children: [
|
|
1067
|
-
|
|
1068
|
-
|
|
1094
|
+
b && /* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t }),
|
|
1095
|
+
v && /* @__PURE__ */ a(
|
|
1069
1096
|
K,
|
|
1070
1097
|
{
|
|
1071
1098
|
variant: "icon",
|
|
1072
1099
|
size: 36,
|
|
1073
1100
|
onClick: () => L(!0),
|
|
1074
|
-
color:
|
|
1075
|
-
children: /* @__PURE__ */
|
|
1101
|
+
color: z,
|
|
1102
|
+
children: /* @__PURE__ */ a(ge, {})
|
|
1076
1103
|
}
|
|
1077
1104
|
)
|
|
1078
1105
|
]
|
|
1079
1106
|
}
|
|
1080
1107
|
),
|
|
1081
|
-
/* @__PURE__ */
|
|
1082
|
-
|
|
1108
|
+
/* @__PURE__ */ a(
|
|
1109
|
+
ko,
|
|
1083
1110
|
{
|
|
1084
|
-
withActionsPanel:
|
|
1085
|
-
borderColor:
|
|
1086
|
-
backgroundColor:
|
|
1111
|
+
withActionsPanel: oe,
|
|
1112
|
+
borderColor: s,
|
|
1113
|
+
backgroundColor: D,
|
|
1087
1114
|
mobileScreen: g,
|
|
1088
|
-
children: /* @__PURE__ */
|
|
1115
|
+
children: /* @__PURE__ */ a(ie, { scrollColor: d, children: u })
|
|
1089
1116
|
}
|
|
1090
1117
|
)
|
|
1091
1118
|
] })
|
|
1092
1119
|
] });
|
|
1093
1120
|
};
|
|
1094
1121
|
export {
|
|
1095
|
-
|
|
1122
|
+
_o as default
|
|
1096
1123
|
};
|