jcicl 0.0.128 → 0.0.132

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.
@@ -1,199 +1,199 @@
1
- import { jsx as a, jsxs as E, Fragment as he } from "react/jsx-runtime";
2
- import * as w from "react";
1
+ import { jsx as a, jsxs as T, Fragment as fe } from "react/jsx-runtime";
2
+ import * as x from "react";
3
3
  import { useState as Y } from "react";
4
4
  import { c as ee } from "../.chunks/createSvgIcon.js";
5
- import { n as y, i as oe } 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";
5
+ import { n as v, i as oe } from "../.chunks/emotion-styled.browser.esm.js";
6
+ import { c as R } from "../.chunks/emotion-react.browser.esm.js";
7
+ import Ae from "../AppHeader/AppHeader.js";
8
8
  import { Nav as F } from "../Nav/Nav.js";
9
9
  import _ from "../ScrollContainer/ScrollContainer.js";
10
10
  import { Button as Z } from "../Button/Button.js";
11
11
  import i from "../theme.js";
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 q, u as Fe, b as J, d as Ve } 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
- if (!r)
12
+ import { l as je } from "../.chunks/jocologo.js";
13
+ import { X as Ue } from "../.chunks/Close.js";
14
+ import { P as r, g as Fe, a as Ve, s as ce, r as We, c as q, u as Qe, b as J, d as Xe } from "../.chunks/DefaultPropsProvider.js";
15
+ import { u as Ge, e as Ye, H as _e, a as ke, g as Je, T as Ke, r as Ze, b as me, c as qe } from "../.chunks/Portal.js";
16
+ import { m as Ce } from "../.chunks/memoTheme.js";
17
+ import { g as eo, o as Te, d as oo, M as to, P as ro, i as no } from "../.chunks/TextField.js";
18
+ import { c as io } from "../.chunks/chainPropTypes.js";
19
+ import { u as ao, a as so } from "../.chunks/TransitionGroupContext.js";
20
+ function co(e, o, t, n, c) {
21
+ const [l, u] = x.useState(() => c && t ? t(e).matches : n ? n(e).matches : o);
22
+ return ao(() => {
23
+ if (!t)
24
24
  return;
25
- const h = r(e), l = () => {
26
- u(h.matches);
25
+ const f = t(e), p = () => {
26
+ u(f.matches);
27
27
  };
28
- return l(), h.addEventListener("change", l), () => {
29
- h.removeEventListener("change", l);
28
+ return p(), f.addEventListener("change", p), () => {
29
+ f.removeEventListener("change", p);
30
30
  };
31
- }, [e, r]), f;
31
+ }, [e, t]), l;
32
32
  }
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
- if (c && r)
39
- return () => r(e).matches;
40
- if (t !== null) {
33
+ const lo = {
34
+ ...x
35
+ }, $e = lo.useSyncExternalStore;
36
+ function po(e, o, t, n, c) {
37
+ const l = x.useCallback(() => o, [o]), u = x.useMemo(() => {
38
+ if (c && t)
39
+ return () => t(e).matches;
40
+ if (n !== null) {
41
41
  const {
42
- matches: p
43
- } = t(e);
44
- return () => p;
42
+ matches: h
43
+ } = n(e);
44
+ return () => h;
45
45
  }
46
- return f;
47
- }, [f, e, t, c, r]), [h, l] = w.useMemo(() => {
48
- if (r === null)
49
- return [f, () => () => {
46
+ return l;
47
+ }, [l, e, n, c, t]), [f, p] = x.useMemo(() => {
48
+ if (t === null)
49
+ return [l, () => () => {
50
50
  }];
51
- const p = r(e);
52
- return [() => p.matches, (M) => (p.addEventListener("change", M), () => {
53
- p.removeEventListener("change", M);
51
+ const h = t(e);
52
+ return [() => h.matches, ($) => (h.addEventListener("change", $), () => {
53
+ h.removeEventListener("change", $);
54
54
  })];
55
- }, [f, r, e]);
56
- return Ce(l, h, u);
55
+ }, [l, t, e]);
56
+ return $e(p, f, u);
57
57
  }
58
- function fe(e, o = {}) {
59
- const r = We(), t = typeof window < "u" && typeof window.matchMedia < "u", {
58
+ function ge(e, o = {}) {
59
+ const t = Ge(), n = typeof window < "u" && typeof window.matchMedia < "u", {
60
60
  defaultMatches: c = !1,
61
- matchMedia: f = t ? window.matchMedia : null,
61
+ matchMedia: l = n ? window.matchMedia : null,
62
62
  ssrMatchMedia: u = null,
63
- noSsr: h = !1
64
- } = Ke({
63
+ noSsr: f = !1
64
+ } = eo({
65
65
  name: "MuiUseMediaQuery",
66
66
  props: o,
67
- theme: r
67
+ theme: t
68
68
  });
69
- process.env.NODE_ENV !== "production" && typeof e == "function" && r === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
69
+ process.env.NODE_ENV !== "production" && typeof e == "function" && t === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
70
70
  `));
71
- let l = typeof e == "function" ? e(r) : e;
72
- l = l.replace(/^@media( ?)/m, "");
73
- const p = (Ce !== void 0 ? so : io)(l, c, f, u, h);
74
- return process.env.NODE_ENV !== "production" && w.useDebugValue({
75
- query: l,
76
- match: p
77
- }), p;
71
+ let p = typeof e == "function" ? e(t) : e;
72
+ p = p.replace(/^@media( ?)/m, "");
73
+ const h = ($e !== void 0 ? po : co)(p, c, l, u, f);
74
+ return process.env.NODE_ENV !== "production" && x.useDebugValue({
75
+ query: p,
76
+ match: h
77
+ }), h;
78
78
  }
79
- function co(e, o, r) {
80
- const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), f = ke(o);
79
+ function ho(e, o, t) {
80
+ const n = o.getBoundingClientRect(), c = t && t.getBoundingClientRect(), l = Te(o);
81
81
  let u;
82
82
  if (o.fakeTransform)
83
83
  u = o.fakeTransform;
84
84
  else {
85
- const m = f.getComputedStyle(o);
86
- u = m.getPropertyValue("-webkit-transform") || m.getPropertyValue("transform");
85
+ const b = l.getComputedStyle(o);
86
+ u = b.getPropertyValue("-webkit-transform") || b.getPropertyValue("transform");
87
87
  }
88
- let h = 0, l = 0;
88
+ let f = 0, p = 0;
89
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);
90
+ const b = u.split("(")[1].split(")")[0].split(",");
91
+ f = parseInt(b[4], 10), p = parseInt(b[5], 10);
92
92
  }
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)`;
93
+ return e === "left" ? c ? `translateX(${c.right + f - n.left}px)` : `translateX(${l.innerWidth + f - n.left}px)` : e === "right" ? c ? `translateX(-${n.right - c.left - f}px)` : `translateX(-${n.left + n.width - f}px)` : e === "up" ? c ? `translateY(${c.bottom + p - n.top}px)` : `translateY(${l.innerHeight + p - n.top}px)` : c ? `translateY(-${n.top - c.top + n.height - p}px)` : `translateY(-${n.top + n.height - p}px)`;
94
94
  }
95
- function Te(e) {
95
+ function Pe(e) {
96
96
  return typeof e == "function" ? e() : e;
97
97
  }
98
- function K(e, o, r) {
99
- const t = Te(r), c = co(e, o, t);
98
+ function K(e, o, t) {
99
+ const n = Pe(t), c = ho(e, o, n);
100
100
  c && (o.style.webkitTransform = c, o.style.transform = c);
101
101
  }
102
- const $e = /* @__PURE__ */ w.forwardRef(function(o, r) {
103
- const t = we(), c = {
104
- enter: t.transitions.easing.easeOut,
105
- exit: t.transitions.easing.sharp
106
- }, f = {
107
- enter: t.transitions.duration.enteringScreen,
108
- exit: t.transitions.duration.leavingScreen
102
+ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
103
+ const n = ke(), c = {
104
+ enter: n.transitions.easing.easeOut,
105
+ exit: n.transitions.easing.sharp
106
+ }, l = {
107
+ enter: n.transitions.duration.enteringScreen,
108
+ exit: n.transitions.duration.leavingScreen
109
109
  }, {
110
110
  addEndListener: u,
111
- appear: h = !0,
112
- children: l,
113
- container: m,
114
- direction: p = "down",
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,
111
+ appear: f = !0,
112
+ children: p,
113
+ container: b,
114
+ direction: h = "down",
115
+ easing: $ = c,
116
+ in: P,
117
+ onEnter: A,
118
+ onEntered: z,
119
+ onEntering: j,
120
+ onExit: E,
121
+ onExited: N,
122
+ onExiting: M,
123
+ style: L,
124
+ timeout: H = l,
125
125
  // eslint-disable-next-line react/prop-types
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
- K(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
126
+ TransitionComponent: O = Ke,
127
+ ...B
128
+ } = o, d = x.useRef(null), w = so(Je(p), d, t), k = (s) => (g) => {
129
+ s && (g === void 0 ? s(d.current) : s(d.current, g));
130
+ }, y = k((s, g) => {
131
+ K(h, s, b), Ze(s), A && A(s, g);
132
+ }), m = k((s, g) => {
133
+ const W = me({
134
+ timeout: H,
135
+ style: L,
136
+ easing: $
137
137
  }, {
138
138
  mode: "enter"
139
139
  });
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
140
+ s.style.webkitTransition = n.transitions.create("-webkit-transform", {
141
+ ...W
142
+ }), s.style.transition = n.transitions.create("transform", {
143
+ ...W
144
+ }), s.style.webkitTransform = "none", s.style.transform = "none", j && j(s, g);
145
+ }), S = k(z), U = k(M), X = k((s) => {
146
+ const g = me({
147
+ timeout: H,
148
+ style: L,
149
+ easing: $
150
150
  }, {
151
151
  mode: "exit"
152
152
  });
153
- s.style.webkitTransition = t.transitions.create("-webkit-transform", d), s.style.transition = t.transitions.create("transform", d), K(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 && K(p, b.current, m);
160
- }, [p, m]);
161
- return w.useEffect(() => {
162
- if (k || p === "down" || p === "right")
153
+ s.style.webkitTransition = n.transitions.create("-webkit-transform", g), s.style.transition = n.transitions.create("transform", g), K(h, s, b), E && E(s);
154
+ }), te = k((s) => {
155
+ s.style.webkitTransition = "", s.style.transition = "", N && N(s);
156
+ }), re = (s) => {
157
+ u && u(d.current, s);
158
+ }, D = x.useCallback(() => {
159
+ d.current && K(h, d.current, b);
160
+ }, [h, b]);
161
+ return x.useEffect(() => {
162
+ if (P || h === "down" || h === "right")
163
163
  return;
164
- const s = Ze(() => {
165
- b.current && K(p, b.current, m);
166
- }), d = ke(b.current);
167
- return d.addEventListener("resize", s), () => {
168
- s.clear(), d.removeEventListener("resize", s);
164
+ const s = oo(() => {
165
+ d.current && K(h, d.current, b);
166
+ }), g = Te(d.current);
167
+ return g.addEventListener("resize", s), () => {
168
+ s.clear(), g.removeEventListener("resize", s);
169
169
  };
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,
170
+ }, [h, P, b]), x.useEffect(() => {
171
+ P || D();
172
+ }, [P, D]), /* @__PURE__ */ a(O, {
173
+ nodeRef: d,
174
+ onEnter: y,
175
+ onEntered: S,
176
+ onEntering: m,
177
+ onExit: X,
178
+ onExited: te,
179
+ onExiting: U,
180
+ addEndListener: re,
181
+ appear: f,
182
+ in: P,
183
+ timeout: H,
184
+ ...B,
185
+ children: (s, g) => /* @__PURE__ */ x.cloneElement(p, {
186
+ ref: w,
187
187
  style: {
188
- visibility: s === "exited" && !k ? "hidden" : void 0,
189
- ...I,
190
- ...l.props.style
188
+ visibility: s === "exited" && !P ? "hidden" : void 0,
189
+ ...L,
190
+ ...p.props.style
191
191
  },
192
- ...d
192
+ ...g
193
193
  })
194
194
  });
195
195
  });
196
- process.env.NODE_ENV !== "production" && ($e.propTypes = {
196
+ process.env.NODE_ENV !== "production" && (Ee.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`. │
@@ -203,27 +203,27 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
203
203
  * node and a done callback. Allows for more fine grained transition end
204
204
  * logic. Note: Timeouts are still used as a fallback if provided.
205
205
  */
206
- addEndListener: n.func,
206
+ addEndListener: r.func,
207
207
  /**
208
208
  * Perform the enter transition when it first mounts if `in` is also `true`.
209
209
  * Set this to `false` to disable this behavior.
210
210
  * @default true
211
211
  */
212
- appear: n.bool,
212
+ appear: r.bool,
213
213
  /**
214
214
  * A single child content element.
215
215
  */
216
- children: Xe.isRequired,
216
+ children: Ye.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: to(n.oneOfType([Ge, n.func]), (e) => {
221
+ container: io(r.oneOfType([_e, r.func]), (e) => {
222
222
  if (e.open) {
223
- const o = Te(e.container);
223
+ const o = Pe(e.container);
224
224
  if (o && o.nodeType === 1) {
225
- const r = o.getBoundingClientRect();
226
- if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
225
+ const t = o.getBoundingClientRect();
226
+ if (process.env.NODE_ENV !== "test" && t.top === 0 && t.left === 0 && t.right === 0 && t.bottom === 0)
227
227
  return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
228
228
  `));
229
229
  } else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
236
236
  * Direction the child node will enter from.
237
237
  * @default 'down'
238
238
  */
239
- direction: n.oneOf(["down", "left", "right", "up"]),
239
+ direction: r.oneOf(["down", "left", "right", "up"]),
240
240
  /**
241
241
  * The transition timing function.
242
242
  * You may specify a single easing or a object containing enter and exit values.
@@ -245,42 +245,42 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
245
245
  * exit: theme.transitions.easing.sharp,
246
246
  * }
247
247
  */
248
- easing: n.oneOfType([n.shape({
249
- enter: n.string,
250
- exit: n.string
251
- }), n.string]),
248
+ easing: r.oneOfType([r.shape({
249
+ enter: r.string,
250
+ exit: r.string
251
+ }), r.string]),
252
252
  /**
253
253
  * If `true`, the component will transition in.
254
254
  */
255
- in: n.bool,
255
+ in: r.bool,
256
256
  /**
257
257
  * @ignore
258
258
  */
259
- onEnter: n.func,
259
+ onEnter: r.func,
260
260
  /**
261
261
  * @ignore
262
262
  */
263
- onEntered: n.func,
263
+ onEntered: r.func,
264
264
  /**
265
265
  * @ignore
266
266
  */
267
- onEntering: n.func,
267
+ onEntering: r.func,
268
268
  /**
269
269
  * @ignore
270
270
  */
271
- onExit: n.func,
271
+ onExit: r.func,
272
272
  /**
273
273
  * @ignore
274
274
  */
275
- onExited: n.func,
275
+ onExited: r.func,
276
276
  /**
277
277
  * @ignore
278
278
  */
279
- onExiting: n.func,
279
+ onExiting: r.func,
280
280
  /**
281
281
  * @ignore
282
282
  */
283
- style: n.object,
283
+ style: r.object,
284
284
  /**
285
285
  * The duration for the transition, in milliseconds.
286
286
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -289,59 +289,59 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
289
289
  * exit: theme.transitions.duration.leavingScreen,
290
290
  * }
291
291
  */
292
- timeout: n.oneOfType([n.number, n.shape({
293
- appear: n.number,
294
- enter: n.number,
295
- exit: n.number
292
+ timeout: r.oneOfType([r.number, r.shape({
293
+ appear: r.number,
294
+ enter: r.number,
295
+ exit: r.number
296
296
  })])
297
297
  });
298
- function lo(e) {
299
- return Ae("MuiDrawer", e);
298
+ function uo(e) {
299
+ return Fe("MuiDrawer", e);
300
300
  }
301
- je("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
302
- const Pe = (e, o) => {
301
+ Ve("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
302
+ const Me = (e, o) => {
303
303
  const {
304
- ownerState: r
304
+ ownerState: t
305
305
  } = e;
306
- return [o.root, (r.variant === "permanent" || r.variant === "persistent") && o.docked, o.modal];
307
- }, po = (e) => {
306
+ return [o.root, (t.variant === "permanent" || t.variant === "persistent") && o.docked, o.modal];
307
+ }, fo = (e) => {
308
308
  const {
309
309
  classes: o,
310
- anchor: r,
311
- variant: t
310
+ anchor: t,
311
+ variant: n
312
312
  } = e, c = {
313
313
  root: ["root"],
314
- docked: [(t === "permanent" || t === "persistent") && "docked"],
314
+ docked: [(n === "permanent" || n === "persistent") && "docked"],
315
315
  modal: ["modal"],
316
- paper: ["paper", `paperAnchor${q(r)}`, t !== "temporary" && `paperAnchorDocked${q(r)}`]
316
+ paper: ["paper", `paperAnchor${q(t)}`, n !== "temporary" && `paperAnchorDocked${q(t)}`]
317
317
  };
318
- return Ve(c, lo, o);
319
- }, ho = ae(qe, {
318
+ return Xe(c, uo, o);
319
+ }, mo = ce(to, {
320
320
  name: "MuiDrawer",
321
321
  slot: "Root",
322
- overridesResolver: Pe
323
- })(ye(({
322
+ overridesResolver: Me
323
+ })(Ce(({
324
324
  theme: e
325
325
  }) => ({
326
326
  zIndex: (e.vars || e).zIndex.drawer
327
- }))), me = ae("div", {
328
- shouldForwardProp: Ue,
327
+ }))), be = ce("div", {
328
+ shouldForwardProp: We,
329
329
  name: "MuiDrawer",
330
330
  slot: "Docked",
331
331
  skipVariantsResolver: !1,
332
- overridesResolver: Pe
332
+ overridesResolver: Me
333
333
  })({
334
334
  flex: "0 0 auto"
335
- }), uo = ae(eo, {
335
+ }), go = ce(ro, {
336
336
  name: "MuiDrawer",
337
337
  slot: "Paper",
338
338
  overridesResolver: (e, o) => {
339
339
  const {
340
- ownerState: r
340
+ ownerState: t
341
341
  } = e;
342
- return [o.paper, o[`paperAnchor${q(r.anchor)}`], r.variant !== "temporary" && o[`paperAnchorDocked${q(r.anchor)}`]];
342
+ return [o.paper, o[`paperAnchor${q(t.anchor)}`], t.variant !== "temporary" && o[`paperAnchorDocked${q(t.anchor)}`]];
343
343
  }
344
- })(ye(({
344
+ })(Ce(({
345
345
  theme: e
346
346
  }) => ({
347
347
  overflowY: "auto",
@@ -425,105 +425,105 @@ const Pe = (e, o) => {
425
425
  borderTop: `1px solid ${(e.vars || e).palette.divider}`
426
426
  }
427
427
  }]
428
- }))), Ee = {
428
+ }))), He = {
429
429
  left: "right",
430
430
  right: "left",
431
431
  top: "down",
432
432
  bottom: "up"
433
433
  };
434
- function fo(e) {
434
+ function bo(e) {
435
435
  return ["left", "right"].includes(e);
436
436
  }
437
- function mo({
437
+ function xo({
438
438
  direction: e
439
439
  }, o) {
440
- return e === "rtl" && fo(o) ? Ee[o] : o;
440
+ return e === "rtl" && bo(o) ? He[o] : o;
441
441
  }
442
- const V = /* @__PURE__ */ w.forwardRef(function(o, r) {
443
- const t = Fe({
442
+ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
443
+ const n = Qe({
444
444
  props: o,
445
445
  name: "MuiDrawer"
446
- }), c = we(), f = Je(), u = {
446
+ }), c = ke(), l = qe(), u = {
447
447
  enter: c.transitions.duration.enteringScreen,
448
448
  exit: c.transitions.duration.leavingScreen
449
449
  }, {
450
- anchor: h = "left",
451
- BackdropProps: l,
452
- children: m,
453
- className: p,
454
- elevation: M = 16,
455
- hideBackdrop: k = !1,
450
+ anchor: f = "left",
451
+ BackdropProps: p,
452
+ children: b,
453
+ className: h,
454
+ elevation: $ = 16,
455
+ hideBackdrop: P = !1,
456
456
  ModalProps: {
457
- BackdropProps: B,
458
- ...L
457
+ BackdropProps: A,
458
+ ...z
459
459
  } = {},
460
- onClose: N,
461
- open: C = !1,
462
- PaperProps: R = {},
463
- SlideProps: O,
460
+ onClose: j,
461
+ open: E = !1,
462
+ PaperProps: N = {},
463
+ SlideProps: M,
464
464
  // eslint-disable-next-line react/prop-types
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;
465
+ TransitionComponent: L = Ee,
466
+ transitionDuration: H = u,
467
+ variant: O = "temporary",
468
+ ...B
469
+ } = n, d = x.useRef(!1);
470
+ x.useEffect(() => {
471
+ d.current = !0;
472
472
  }, []);
473
- const D = mo({
474
- direction: f ? "rtl" : "ltr"
475
- }, h), T = {
476
- ...t,
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,
473
+ const w = xo({
474
+ direction: l ? "rtl" : "ltr"
475
+ }, f), y = {
476
+ ...n,
477
+ anchor: f,
478
+ elevation: $,
479
+ open: E,
480
+ variant: O,
481
+ ...B
482
+ }, m = fo(y), S = /* @__PURE__ */ a(go, {
483
+ elevation: O === "temporary" ? $ : 0,
484
484
  square: !0,
485
- ...R,
486
- className: J($.paper, R.className),
487
- ownerState: T,
488
- children: m
485
+ ...N,
486
+ className: J(m.paper, N.className),
487
+ ownerState: y,
488
+ children: b
489
489
  });
490
- if (g === "permanent")
491
- return /* @__PURE__ */ a(me, {
492
- className: J($.root, $.docked, p),
493
- ownerState: T,
494
- ref: r,
495
- ...v,
496
- children: A
490
+ if (O === "permanent")
491
+ return /* @__PURE__ */ a(be, {
492
+ className: J(m.root, m.docked, h),
493
+ ownerState: y,
494
+ ref: t,
495
+ ...B,
496
+ children: S
497
497
  });
498
- const j = /* @__PURE__ */ a(I, {
499
- in: C,
500
- direction: Ee[D],
501
- timeout: S,
502
- appear: b.current,
503
- ...O,
504
- children: A
498
+ const U = /* @__PURE__ */ a(L, {
499
+ in: E,
500
+ direction: He[w],
501
+ timeout: H,
502
+ appear: d.current,
503
+ ...M,
504
+ children: S
505
505
  });
506
- return g === "persistent" ? /* @__PURE__ */ a(me, {
507
- className: J($.root, $.docked, p),
508
- ownerState: T,
509
- ref: r,
510
- ...v,
511
- children: j
512
- }) : /* @__PURE__ */ a(ho, {
506
+ return O === "persistent" ? /* @__PURE__ */ a(be, {
507
+ className: J(m.root, m.docked, h),
508
+ ownerState: y,
509
+ ref: t,
510
+ ...B,
511
+ children: U
512
+ }) : /* @__PURE__ */ a(mo, {
513
513
  BackdropProps: {
514
- ...l,
515
- ...B,
516
- transitionDuration: S
514
+ ...p,
515
+ ...A,
516
+ transitionDuration: H
517
517
  },
518
- className: J($.root, $.modal, p),
519
- open: C,
520
- ownerState: T,
521
- onClose: N,
522
- hideBackdrop: k,
523
- ref: r,
524
- ...v,
525
- ...L,
526
- children: j
518
+ className: J(m.root, m.modal, h),
519
+ open: E,
520
+ ownerState: y,
521
+ onClose: j,
522
+ hideBackdrop: P,
523
+ ref: t,
524
+ ...B,
525
+ ...z,
526
+ children: U
527
527
  });
528
528
  });
529
529
  process.env.NODE_ENV !== "production" && (V.propTypes = {
@@ -535,38 +535,38 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
535
535
  * Side from which the drawer will appear.
536
536
  * @default 'left'
537
537
  */
538
- anchor: n.oneOf(["bottom", "left", "right", "top"]),
538
+ anchor: r.oneOf(["bottom", "left", "right", "top"]),
539
539
  /**
540
540
  * @ignore
541
541
  */
542
- BackdropProps: n.object,
542
+ BackdropProps: r.object,
543
543
  /**
544
544
  * The content of the component.
545
545
  */
546
- children: n.node,
546
+ children: r.node,
547
547
  /**
548
548
  * Override or extend the styles applied to the component.
549
549
  */
550
- classes: n.object,
550
+ classes: r.object,
551
551
  /**
552
552
  * @ignore
553
553
  */
554
- className: n.string,
554
+ className: r.string,
555
555
  /**
556
556
  * The elevation of the drawer.
557
557
  * @default 16
558
558
  */
559
- elevation: oo,
559
+ elevation: no,
560
560
  /**
561
561
  * If `true`, the backdrop is not rendered.
562
562
  * @default false
563
563
  */
564
- hideBackdrop: n.bool,
564
+ hideBackdrop: r.bool,
565
565
  /**
566
566
  * Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
567
567
  * @default {}
568
568
  */
569
- ModalProps: n.object,
569
+ ModalProps: r.object,
570
570
  /**
571
571
  * Callback fired when the component requests to be closed.
572
572
  * The `reason` parameter can optionally be used to control the response to `onClose`.
@@ -574,25 +574,25 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
574
574
  * @param {object} event The event source of the callback.
575
575
  * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
576
576
  */
577
- onClose: n.func,
577
+ onClose: r.func,
578
578
  /**
579
579
  * If `true`, the component is shown.
580
580
  * @default false
581
581
  */
582
- open: n.bool,
582
+ open: r.bool,
583
583
  /**
584
584
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
585
585
  * @default {}
586
586
  */
587
- PaperProps: n.object,
587
+ PaperProps: r.object,
588
588
  /**
589
589
  * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
590
590
  */
591
- SlideProps: n.object,
591
+ SlideProps: r.object,
592
592
  /**
593
593
  * The system prop that allows defining system overrides as well as additional CSS styles.
594
594
  */
595
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
595
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
596
596
  /**
597
597
  * The duration for the transition, in milliseconds.
598
598
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -601,26 +601,26 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
601
601
  * exit: theme.transitions.duration.leavingScreen,
602
602
  * }
603
603
  */
604
- transitionDuration: n.oneOfType([n.number, n.shape({
605
- appear: n.number,
606
- enter: n.number,
607
- exit: n.number
604
+ transitionDuration: r.oneOfType([r.number, r.shape({
605
+ appear: r.number,
606
+ enter: r.number,
607
+ exit: r.number
608
608
  })]),
609
609
  /**
610
610
  * The variant to use.
611
611
  * @default 'temporary'
612
612
  */
613
- variant: n.oneOf(["permanent", "persistent", "temporary"])
613
+ variant: r.oneOf(["permanent", "persistent", "temporary"])
614
614
  });
615
- const ge = ee(/* @__PURE__ */ a("path", {
615
+ const xe = ee(/* @__PURE__ */ a("path", {
616
616
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
617
- }), "ArrowForward"), go = ee(/* @__PURE__ */ a("path", {
617
+ }), "ArrowForward"), vo = ee(/* @__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"), be = ee(/* @__PURE__ */ a("path", {
619
+ }), "Logout"), ve = ee(/* @__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"), bo = ee(/* @__PURE__ */ a("path", {
621
+ }), "Cancel"), wo = ee(/* @__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"), xo = y("div", {
623
+ }), "MoreHoriz"), yo = v("div", {
624
624
  shouldForwardProp: (e) => oe(e)
625
625
  })(({ backgroundColor: e }) => ({
626
626
  display: "flex",
@@ -631,7 +631,7 @@ const ge = ee(/* @__PURE__ */ a("path", {
631
631
  height: "100vh",
632
632
  fontFamily: "Roboto, sans-serif",
633
633
  overflow: "hidden"
634
- })), vo = y("div")(
634
+ })), ko = v("div")(
635
635
  ({ tabletPadding: e, mobile: o }) => ({
636
636
  display: "flex",
637
637
  flexDirection: o ? "column-reverse" : "row",
@@ -643,13 +643,13 @@ const ge = ee(/* @__PURE__ */ a("path", {
643
643
  boxSizing: "border-box",
644
644
  minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
645
645
  })
646
- ), wo = y("div", {
646
+ ), Co = v("div", {
647
647
  shouldForwardProp: (e) => oe(e)
648
- })(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: t }) => ({
648
+ })(({ withActionsPanel: e, tablet: o, borderColor: t, backgroundColor: n }) => ({
649
649
  display: "flex",
650
650
  flexDirection: "column",
651
651
  opacity: e ? 1 : 0,
652
- border: `1px solid ${r}`,
652
+ border: `1px solid ${t}`,
653
653
  borderRight: 0,
654
654
  borderRadius: "4px",
655
655
  borderTopRightRadius: 0,
@@ -657,16 +657,16 @@ const ge = ee(/* @__PURE__ */ a("path", {
657
657
  height: e ? "calc(100% + 2px)" : "100%",
658
658
  boxSizing: "border-box",
659
659
  padding: e ? o ? "2px" : "1rem" : 0,
660
- backgroundColor: t,
660
+ backgroundColor: n,
661
661
  width: e ? o ? "66px" : "400px" : 0,
662
662
  maxWidth: o ? "100%" : "25%",
663
663
  transition: "313ms all ease-in-out",
664
664
  ...!e && {
665
665
  border: "none"
666
666
  }
667
- })), yo = y(V)(
667
+ })), To = v(V)(
668
668
  ({ shadowColor: e, backgroundColor: o }) => ({
669
- ...H`
669
+ ...R`
670
670
  top: ${i.constants.appHeaderHeight}px;
671
671
  font-family: 'Roboto';
672
672
 
@@ -688,12 +688,12 @@ const ge = ee(/* @__PURE__ */ a("path", {
688
688
  }
689
689
  `
690
690
  })
691
- ), xe = y(Z)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: t = !1 }) => ({
692
- ...H`
691
+ ), we = v(Z)(({ iconColor: e, highlight1: o, highlight2: t, rightDrawer: n = !1 }) => ({
692
+ ...R`
693
693
  position: absolute;
694
694
  top: -0.5rem;
695
- ${!t && { right: "-0.5rem" }};
696
- ${t && { left: "-0.5rem" }};
695
+ ${!n && { right: "-0.5rem" }};
696
+ ${n && { left: "-0.5rem" }};
697
697
  z-index: 1;
698
698
  border-radius: 50%;
699
699
 
@@ -707,17 +707,17 @@ const ge = ee(/* @__PURE__ */ a("path", {
707
707
  :focus-visible {
708
708
  svg {
709
709
  filter: unset;
710
- background-color: ${r};
710
+ background-color: ${t};
711
711
  fill: ${e};
712
712
  }
713
713
  }
714
714
  `
715
- })), ko = y("div", {
715
+ })), $o = v("div", {
716
716
  shouldForwardProp: (e) => oe(e)
717
- })(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: t }) => ({
717
+ })(({ withActionsPanel: e, borderColor: o, backgroundColor: t, mobileScreen: n }) => ({
718
718
  display: "flex",
719
719
  overflow: "hidden",
720
- backgroundColor: r,
720
+ backgroundColor: t,
721
721
  borderRadius: "4px",
722
722
  borderBottomLeftRadius: e ? 0 : "4px",
723
723
  borderTopLeftRadius: e ? 0 : "4px",
@@ -729,16 +729,16 @@ const ge = ee(/* @__PURE__ */ a("path", {
729
729
  h1: {
730
730
  margin: 0
731
731
  },
732
- ...t && {
732
+ ...n && {
733
733
  border: "none",
734
734
  borderRadius: 0,
735
735
  borderBottomLeftRadius: 0,
736
736
  borderTopLeftRadius: 0
737
737
  }
738
- })), Co = y(V, {
738
+ })), Po = v(V, {
739
739
  shouldForwardProp: (e) => !["backgroundColor", "shadowColor"].includes(e)
740
740
  })(({ backgroundColor: e, shadowColor: o }) => ({
741
- ...H`
741
+ ...R`
742
742
  z-index: 1327;
743
743
 
744
744
  .MuiDrawer-paper {
@@ -753,10 +753,10 @@ const ge = ee(/* @__PURE__ */ a("path", {
753
753
  background-color: transparent;
754
754
  }
755
755
  `
756
- })), To = y(V, {
756
+ })), Eo = v(V, {
757
757
  shouldForwardProp: (e) => e != "backgroundColor"
758
758
  })(({ backgroundColor: e }) => ({
759
- ...H`
759
+ ...R`
760
760
  z-index: 1300;
761
761
 
762
762
  .MuiDrawer-paper {
@@ -775,10 +775,10 @@ const ge = ee(/* @__PURE__ */ a("path", {
775
775
  background-color: transparent;
776
776
  }
777
777
  `
778
- })), $o = y("div", {
778
+ })), Mo = v("div", {
779
779
  shouldForwardProp: (e) => oe(e)
780
780
  })(({ backgroundColor: e, open: o }) => ({
781
- ...H`
781
+ ...R`
782
782
  position: fixed;
783
783
  transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
784
784
  z-index: 1300;
@@ -790,15 +790,15 @@ const ge = ee(/* @__PURE__ */ a("path", {
790
790
  box-sizing: border-box;
791
791
  padding: ${o ? "16px" : 0};
792
792
  `
793
- })), Po = y("h1")(({ color: e }) => ({
794
- ...H`
793
+ })), Ho = v("h1")(({ color: e }) => ({
794
+ ...R`
795
795
  margin: 0;
796
796
  font-size: 2.1rem;
797
797
  font-family: 'Roboto';
798
798
  color: ${e};
799
799
  `
800
- })), Eo = y(V)(() => ({
801
- ...H`
800
+ })), Ro = v(V)(({ backgroundQuaternary: e }) => ({
801
+ ...R`
802
802
  top: ${i.constants.appHeaderHeight}px;
803
803
  font-family: 'Roboto';
804
804
  z-index: 1336;
@@ -808,7 +808,7 @@ const ge = ee(/* @__PURE__ */ a("path", {
808
808
  box-sizing: border-box;
809
809
  top: ${i.constants.appHeaderHeight}px;
810
810
  height: calc(100vh - ${i.constants.appHeaderHeight}px);
811
- background-color: ${i.colors.white};
811
+ background-image: linear-gradient(to bottom right, ${i.colors.oldPaper}, ${e});
812
812
  padding: 0;
813
813
  }
814
814
 
@@ -817,21 +817,21 @@ const ge = ee(/* @__PURE__ */ a("path", {
817
817
  background-color: transparent;
818
818
  }
819
819
  `
820
- })), Mo = y("img")(({ width: e, height: o }) => ({
821
- ...H`
820
+ })), So = v("img")(({ width: e, height: o }) => ({
821
+ ...R`
822
822
  width: ${e}px;
823
823
  height: ${o}px;
824
824
  `
825
- })), ve = y("div")(({ justifyStart: e }) => ({
826
- ...H`
825
+ })), ye = v("div")(({ justifyStart: e }) => ({
826
+ ...R`
827
827
  display: flex;
828
828
  flex-direction: row;
829
829
  align-items: flex-start;
830
830
  justify-content: ${e ? "start" : "space-between"};
831
831
  padding: 8px 16px 8px 24px;
832
832
  `
833
- })), Ho = y(V)(() => ({
834
- ...H`
833
+ })), Do = v(V)(({ backgroundQuaternary: e }) => ({
834
+ ...R`
835
835
  top: ${i.constants.appHeaderHeight}px;
836
836
  font-family: 'Roboto';
837
837
 
@@ -841,7 +841,7 @@ const ge = ee(/* @__PURE__ */ a("path", {
841
841
  box-sizing: border-box;
842
842
  top: ${i.constants.appHeaderHeight}px;
843
843
  height: calc(100vh - ${i.constants.appHeaderHeight}px);
844
- background-color: ${i.colors.white};
844
+ background-image: linear-gradient(to bottom right, ${i.colors.oldPaper}, ${e});
845
845
  box-shadow: 0 3px 6px 3px ${i.colors.gray};
846
846
  padding: 0;
847
847
  overflow: visible;
@@ -852,275 +852,282 @@ const ge = ee(/* @__PURE__ */ a("path", {
852
852
  background-color: transparent;
853
853
  }
854
854
  `
855
- })), _o = ({
855
+ })), Zo = ({
856
856
  navProps: e,
857
857
  appHeaderProps: o = {},
858
- userProfileMenuItems: r = [],
859
- actionsPanelContent: t,
860
- navWidth: c = i.constants.navDefaultWidth,
858
+ userInfo: t,
859
+ userSettingsEnabled: n = !0,
860
+ userProfileMenuItems: c = [],
861
+ actionsPanelContent: l,
862
+ navWidth: u = i.constants.navDefaultWidth,
861
863
  breakpoints: f = { mobile: i.screenSizes.mobile, tablet: i.screenSizes.tablet },
862
- children: u,
863
- themeColors: h = {},
864
- logoProps: l = {},
865
- loggedIn: m,
866
- mobileActionsPanelOpen: p
864
+ children: p,
865
+ themeColors: b = {},
866
+ logoProps: h = {},
867
+ loggedIn: $,
868
+ mobileActionsPanelOpen: P
867
869
  }) => {
868
- 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, {
869
- backgroundPrimary: D = i.colors.whiteGreen,
870
- backgroundSecondary: x = i.colors.whiteGreenA,
871
- backgroundTertiary: T = i.colors.sage,
872
- highlightPrimary: $ = i.colors.sunlight,
873
- highlightSecondary: A = i.colors.dandelion,
874
- highlightTertiary: j = `${i.colors.dandelion}99`,
875
- iconPrimary: z = i.colors.darkGreen,
876
- shadowPrimary: W = i.colors.darkGreenO99,
877
- shadowSecondary: U = i.boxShadows.darkGreen,
878
- shadowTertiary: X = i.boxShadows.darkGreenThick,
879
- borderPrimary: s = i.colors.green,
880
- scrollColor: d = i.colors.darkGreenO99,
881
- avatarColors: Q
882
- } = h, { logoSrc: se = Ie, logoWidth: ce = 36, logoHeight: le = 50 } = l, Me = {
883
- backgroundPrimary: D,
884
- backgroundSecondary: x,
885
- backgroundTertiary: T,
886
- highlightPrimary: $,
887
- highlightSecondary: A,
888
- highlightTertiary: j,
889
- borderPrimary: s,
890
- iconPrimary: z,
891
- shadowPrimary: W,
892
- shadowSecondary: U,
893
- shadowTertiary: X,
894
- scrollColor: d
895
- }, He = { logoSrc: se, logoWidth: ce, logoHeight: le }, te = t != null, Re = { ...o, navWidth: c, loggedIn: m }, { onLogout: Se = () => {
896
- } } = o, G = { ...e, themeColors: Me }, De = {
897
- ...G,
898
- navWidth: `${c}px`,
899
- isMobile: g
900
- }, pe = [
901
- { label: "Log Out", icon: /* @__PURE__ */ a(go, {}), onClick: Se },
902
- ...r
903
- ].map((P) => ({
904
- ...P,
870
+ const [A, z] = Y(!1), [j, E] = Y(!1), [N, M] = Y(!1), [L, H] = Y(!1), { mobile: O = i.screenSizes.mobile, tablet: B = i.screenSizes.tablet } = f, d = ge(`(max-width: ${O})`), w = ge(`(max-width: ${B})`) && !d, k = !d && !w, {
871
+ backgroundPrimary: y = i.colors.whiteGreen,
872
+ backgroundSecondary: m = i.colors.whiteGreenA,
873
+ backgroundTertiary: S = i.colors.sage,
874
+ highlightPrimary: U = i.colors.sunlight,
875
+ backgroundQuaternary: X = i.colors.moss,
876
+ highlightSecondary: te = i.colors.dandelion,
877
+ highlightTertiary: re = `${i.colors.dandelion}99`,
878
+ iconPrimary: D = i.colors.darkGreen,
879
+ shadowPrimary: s = i.colors.darkGreenO99,
880
+ shadowSecondary: g = i.boxShadows.darkGreen,
881
+ shadowTertiary: W = i.boxShadows.darkGreenThick,
882
+ borderPrimary: G = i.colors.green,
883
+ scrollColor: I = i.colors.darkGreenO99,
884
+ iconColors: Re
885
+ } = b, { logoSrc: le = je, logoWidth: pe = 36, logoHeight: de = 50 } = h, Se = {
886
+ backgroundPrimary: y,
887
+ backgroundSecondary: m,
888
+ backgroundTertiary: S,
889
+ highlightPrimary: U,
890
+ highlightSecondary: te,
891
+ highlightTertiary: re,
892
+ borderPrimary: G,
893
+ iconPrimary: D,
894
+ shadowPrimary: s,
895
+ shadowSecondary: g,
896
+ shadowTertiary: W,
897
+ scrollColor: I
898
+ }, De = { logoSrc: le, logoWidth: pe, logoHeight: de }, ne = l != null, ze = { ...o, navWidth: u, loggedIn: $ }, { onLogout: Ne = () => {
899
+ } } = o, Q = { ...e, themeColors: Se }, Le = {
900
+ ...Q,
901
+ navWidth: `${u}px`,
902
+ isMobile: d
903
+ }, he = [
904
+ { label: "Log Out", icon: /* @__PURE__ */ a(vo, {}), onClick: Ne },
905
+ ...c
906
+ ].map((C) => ({
907
+ ...C,
905
908
  onClick: () => {
906
- P.onClick && P.onClick(), C(!1);
909
+ C.onClick && C.onClick(), M(!1);
907
910
  }
908
- })), { navItems: re } = e, ze = re.map((P) => ({
909
- ...P,
911
+ })), { navItems: ie } = e, Oe = ie.map((C) => ({
912
+ ...C,
910
913
  onClick: () => {
911
- P.onClick && P.onClick(), k(!1);
914
+ C.onClick && C.onClick(), z(!1);
912
915
  }
913
- })), ne = {
914
- ...G,
916
+ })), ae = {
917
+ ...Q,
915
918
  navWidth: "100%",
916
919
  isTablet: !0,
917
- navItems: ze
920
+ navItems: Oe
918
921
  };
919
- let ie = re.map((P) => ({
920
- ...P,
922
+ let se = ie.map((C) => ({
923
+ ...C,
921
924
  onClick: () => {
922
- P.onClick && P.onClick(), O(!1);
925
+ C.onClick && C.onClick(), H(!1);
923
926
  }
924
- })), de = [];
925
- re.length > 4 && g && (de = ie.splice(3), ie.push({
927
+ })), ue = [];
928
+ ie.length > 4 && d && (ue = se.splice(3), se.push({
926
929
  label: "More",
927
- icon: /* @__PURE__ */ a(bo, {}),
928
- onClick: () => O(!0)
930
+ icon: /* @__PURE__ */ a(wo, {}),
931
+ onClick: () => H(!0)
929
932
  }));
930
- const Le = {
931
- ...G,
933
+ const Be = {
934
+ ...Q,
932
935
  navWidth: "100%",
933
- navItems: ie,
936
+ navItems: se,
934
937
  isMobile: !0,
935
- activeRoute: R ? "More" : G.activeRoute
936
- }, Ne = {
937
- ...G,
938
+ activeRoute: L ? "More" : Q.activeRoute
939
+ }, Ie = {
940
+ ...Q,
938
941
  navWidth: "100%",
939
- navItems: de,
942
+ navItems: ue,
940
943
  isTablet: !0
941
944
  };
942
- return /* @__PURE__ */ E(xo, { backgroundColor: x, children: [
945
+ return /* @__PURE__ */ T(yo, { backgroundColor: m, children: [
943
946
  /* @__PURE__ */ a(
944
- Oe,
947
+ Ae,
945
948
  {
946
- ...Re,
947
- hamburgerMenu: v,
948
- onHamburgerMenuClick: () => k(!0),
949
- onUserMenuClick: () => C(!0),
950
- logoProps: He,
951
- iconColor: z,
952
- isMobile: g,
953
- themeProps: { shadowSecondary: U, shadowTertiary: X, iconPrimary: z, borderPrimary: s },
954
- avatarColors: Q
949
+ ...ze,
950
+ hamburgerMenu: w,
951
+ onHamburgerMenuClick: () => z(!0),
952
+ onUserMenuClick: () => M(!0),
953
+ logoProps: De,
954
+ iconColor: D,
955
+ isMobile: d,
956
+ themeProps: { shadowSecondary: g, shadowTertiary: W, iconPrimary: D, borderPrimary: G },
957
+ iconColors: Re,
958
+ userName: t == null ? void 0 : t.name,
959
+ userSettingsEnabled: n
955
960
  }
956
961
  ),
957
- /* @__PURE__ */ E(vo, { tabletPadding: v, mobile: g, children: [
958
- b && /* @__PURE__ */ a(F, { ...De }),
959
- g && /* @__PURE__ */ E(he, { children: [
960
- /* @__PURE__ */ a(F, { ...Le }),
962
+ /* @__PURE__ */ T(ko, { tabletPadding: w, mobile: d, children: [
963
+ k && /* @__PURE__ */ a(F, { ...Le }),
964
+ d && /* @__PURE__ */ T(fe, { children: [
965
+ /* @__PURE__ */ a(F, { ...Be }),
961
966
  /* @__PURE__ */ a(
962
- To,
967
+ Eo,
963
968
  {
964
- open: R,
965
- onClose: () => O(!1),
966
- backgroundColor: x,
969
+ open: L,
970
+ onClose: () => H(!1),
971
+ backgroundColor: m,
967
972
  anchor: "right",
968
- children: /* @__PURE__ */ a(F, { ...Ne })
973
+ children: /* @__PURE__ */ a(F, { ...Ie })
969
974
  }
970
975
  )
971
976
  ] }),
972
- v && /* @__PURE__ */ E(
973
- Co,
977
+ w && /* @__PURE__ */ T(
978
+ Po,
974
979
  {
975
- open: M,
976
- onClose: () => k(!1),
977
- backgroundColor: x,
978
- shadowColor: W,
980
+ open: A,
981
+ onClose: () => z(!1),
982
+ backgroundColor: m,
983
+ shadowColor: s,
979
984
  children: [
980
- /* @__PURE__ */ E(ve, { children: [
981
- /* @__PURE__ */ a(Mo, { src: se, alt: "logo", width: ce, height: le }),
982
- /* @__PURE__ */ a(Z, { variant: "icon", size: 36, onClick: () => k(!1), color: z, children: /* @__PURE__ */ a(Be, {}) })
985
+ /* @__PURE__ */ T(ye, { children: [
986
+ /* @__PURE__ */ a(So, { src: le, alt: "logo", width: pe, height: de }),
987
+ /* @__PURE__ */ a(Z, { variant: "icon", size: 36, onClick: () => z(!1), color: D, children: /* @__PURE__ */ a(Ue, {}) })
983
988
  ] }),
984
- /* @__PURE__ */ a(F, { ...ne })
989
+ /* @__PURE__ */ a(F, { ...ae })
985
990
  ]
986
991
  }
987
992
  ),
988
- v && /* @__PURE__ */ E(
989
- yo,
993
+ w && /* @__PURE__ */ T(
994
+ To,
990
995
  {
991
- open: B && te,
992
- onClose: () => L(!1),
993
- shadowColor: W,
994
- backgroundColor: T,
996
+ open: j && ne,
997
+ onClose: () => E(!1),
998
+ shadowColor: s,
999
+ backgroundColor: S,
995
1000
  children: [
996
1001
  /* @__PURE__ */ a(
997
- xe,
1002
+ we,
998
1003
  {
999
1004
  variant: "icon",
1000
1005
  size: 24,
1001
- onClick: () => L(!1),
1002
- iconColor: z,
1003
- highlight1: x,
1004
- highlight2: x,
1005
- children: /* @__PURE__ */ a(be, {})
1006
+ onClick: () => E(!1),
1007
+ iconColor: D,
1008
+ highlight1: m,
1009
+ highlight2: m,
1010
+ children: /* @__PURE__ */ a(ve, {})
1006
1011
  }
1007
1012
  ),
1008
- /* @__PURE__ */ a(_, { scrollColor: d, direction: "vertical", children: t && t })
1013
+ /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l && l })
1009
1014
  ]
1010
1015
  }
1011
1016
  ),
1012
- (v || b) && /* @__PURE__ */ E(
1013
- Ho,
1017
+ (w || k) && /* @__PURE__ */ T(
1018
+ Do,
1014
1019
  {
1015
1020
  anchor: "right",
1016
1021
  open: N,
1017
- onClose: () => C(!1),
1022
+ onClose: () => M(!1),
1023
+ backgroundQuaternary: X,
1018
1024
  children: [
1019
1025
  /* @__PURE__ */ a(
1020
- xe,
1026
+ we,
1021
1027
  {
1022
1028
  variant: "icon",
1023
1029
  size: 24,
1024
- onClick: () => C(!1),
1030
+ onClick: () => M(!1),
1025
1031
  iconColor: i.colors.midnight,
1026
- highlight1: i.colors.white,
1027
- highlight2: x,
1032
+ highlight1: i.colors.sunlight,
1033
+ highlight2: m,
1028
1034
  rightDrawer: !0,
1029
- children: /* @__PURE__ */ a(be, {})
1035
+ children: /* @__PURE__ */ a(ve, {})
1030
1036
  }
1031
1037
  ),
1032
1038
  /* @__PURE__ */ a(
1033
1039
  F,
1034
1040
  {
1035
- ...ne,
1036
- navItems: pe,
1041
+ ...ae,
1042
+ navItems: he,
1037
1043
  themeColors: {
1038
1044
  iconPrimary: i.colors.midnight,
1039
- highlightPrimary: D,
1040
- highlightTertiary: x,
1041
- shadowSecondary: U,
1042
- scrollColor: d
1045
+ highlightPrimary: y,
1046
+ highlightTertiary: m,
1047
+ shadowSecondary: g,
1048
+ scrollColor: I
1043
1049
  }
1044
1050
  }
1045
1051
  )
1046
1052
  ]
1047
1053
  }
1048
1054
  ),
1049
- g && /* @__PURE__ */ E(he, { children: [
1050
- /* @__PURE__ */ E(
1051
- Eo,
1055
+ d && /* @__PURE__ */ T(fe, { children: [
1056
+ /* @__PURE__ */ T(
1057
+ Ro,
1052
1058
  {
1053
1059
  anchor: "right",
1054
1060
  open: N,
1055
- onClose: () => C(!1),
1061
+ onClose: () => M(!1),
1062
+ backgroundQuaternary: X,
1056
1063
  children: [
1057
- /* @__PURE__ */ E(ve, { children: [
1058
- /* @__PURE__ */ a(Po, { color: i.colors.midnight, children: "Settings" }),
1064
+ /* @__PURE__ */ T(ye, { children: [
1065
+ /* @__PURE__ */ a(Ho, { color: i.colors.midnight, children: "Settings" }),
1059
1066
  /* @__PURE__ */ a(
1060
1067
  Z,
1061
1068
  {
1062
1069
  variant: "icon",
1063
1070
  size: 36,
1064
- onClick: () => C(!1),
1071
+ onClick: () => M(!1),
1065
1072
  color: i.colors.midnight,
1066
- children: /* @__PURE__ */ a(ge, {})
1073
+ children: /* @__PURE__ */ a(xe, {})
1067
1074
  }
1068
1075
  )
1069
1076
  ] }),
1070
1077
  /* @__PURE__ */ a(
1071
1078
  F,
1072
1079
  {
1073
- ...ne,
1074
- navItems: pe,
1080
+ ...ae,
1081
+ navItems: he,
1075
1082
  themeColors: {
1076
1083
  iconPrimary: i.colors.midnight,
1077
- highlightPrimary: D,
1078
- highlightTertiary: x,
1079
- shadowSecondary: U,
1080
- scrollColor: d
1084
+ highlightPrimary: y,
1085
+ highlightTertiary: m,
1086
+ shadowSecondary: g,
1087
+ scrollColor: I
1081
1088
  }
1082
1089
  }
1083
1090
  )
1084
1091
  ]
1085
1092
  }
1086
1093
  ),
1087
- /* @__PURE__ */ a($o, { backgroundColor: T, open: p, children: /* @__PURE__ */ a(_, { scrollColor: d, direction: "vertical", children: t }) })
1094
+ /* @__PURE__ */ a(Mo, { backgroundColor: S, open: P, children: /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l }) })
1088
1095
  ] }),
1089
- !g && /* @__PURE__ */ E(
1090
- wo,
1096
+ !d && /* @__PURE__ */ T(
1097
+ Co,
1091
1098
  {
1092
- withActionsPanel: te,
1093
- tablet: v,
1094
- borderColor: s,
1095
- backgroundColor: T,
1099
+ withActionsPanel: ne,
1100
+ tablet: w,
1101
+ borderColor: G,
1102
+ backgroundColor: S,
1096
1103
  children: [
1097
- b && /* @__PURE__ */ a(_, { scrollColor: d, direction: "vertical", children: t && t }),
1098
- v && /* @__PURE__ */ a(
1104
+ k && /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l && l }),
1105
+ w && /* @__PURE__ */ a(
1099
1106
  Z,
1100
1107
  {
1101
1108
  variant: "icon",
1102
1109
  size: 36,
1103
- onClick: () => L(!0),
1104
- color: z,
1105
- children: /* @__PURE__ */ a(ge, {})
1110
+ onClick: () => E(!0),
1111
+ color: D,
1112
+ children: /* @__PURE__ */ a(xe, {})
1106
1113
  }
1107
1114
  )
1108
1115
  ]
1109
1116
  }
1110
1117
  ),
1111
1118
  /* @__PURE__ */ a(
1112
- ko,
1119
+ $o,
1113
1120
  {
1114
- withActionsPanel: te,
1115
- borderColor: s,
1116
- backgroundColor: D,
1117
- mobileScreen: g,
1118
- children: /* @__PURE__ */ a(_, { scrollColor: d, children: u })
1121
+ withActionsPanel: ne,
1122
+ borderColor: G,
1123
+ backgroundColor: y,
1124
+ mobileScreen: d,
1125
+ children: /* @__PURE__ */ a(_, { scrollColor: I, children: p })
1119
1126
  }
1120
1127
  )
1121
1128
  ] })
1122
1129
  ] });
1123
1130
  };
1124
1131
  export {
1125
- _o as default
1132
+ Zo as default
1126
1133
  };