@mui-toolpad-extended-tuni/main 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6,9 +6,8 @@ import _, { memo as aa, useRef as nt, useState as Be, useCallback as vr, useEffe
6
6
  import { Account as ul, AccountPreview as fl, AccountPopoverFooter as dl, ThemeSwitcher as ml, SignOutButton as hl, useActivePage as pl, PageHeader as yl, PageHeaderToolbar as gl, AppProvider as vl, DashboardLayout as Sl, PageContainer as bl } from "@toolpad/core";
7
7
  import { useCurrentUser as mn, useUserActions as Ho, useRetry as wl, getColorSchemePreference as Tl, setColorSchemePreference as fi, getEffectiveColorScheme as di, CollapsingButtons as El, useNavigationStore as wo, useMicroserviceNavigation as xl, ApiConfigProvider as kl, GridItemProvider as Cl, Dialogs as Ol, Notifications as Al, useGridItemContext as Dl, EditModeToggler as mi, ResponsiveGridLayout as Ml, useMicroserviceRoutes as Il } from "@mui-toolpad-extended-tuni/core";
8
8
  export * from "@mui-toolpad-extended-tuni/core";
9
- import { ApiConfigProvider as fg, DialogOpener as dg, Dialogs as mg, EventBus as hg, ExtendedDialog as pg, FormDialog as yg, NavigationFilter as gg, NavigationSectionBuilder as vg, Notifications as Sg, UserBus as bg, apiPrefix as wg, calculateNavigationFromSections as Tg, closeDialog as Eg, convertObjectKeysToCamelCase as xg, convertObjectKeysToUnderscore as kg, deleteCookie as Cg, eventBus as Og, filterNavigationByRole as Ag, getAllMicroservices as Dg, getAllRegisteredMicroservices as Mg, getApiConfig as Ig, getApiPrefix as Ng, getCookie as Pg, getMicroservice as Lg, getMicroserviceIds as Rg, isMicroserviceRegistered as jg, openDialog as Bg, parseDate as Fg, registerDialog as Wg, registerMicroservice as Vg, registerRouteProvider as Hg, setCookie as zg, slugify as Ug, unregisterMicroservice as Zg, unregisterRouteProvider as Jg, updateMicroserviceNavigationForSections as Yg, useApiConfig as Gg, useCurrentUser as Kg, useMicroserviceNavigation as Qg, useMicroserviceRegistryStore as qg, useMicroserviceRoutes as Xg, useNavigationFilterStore as _g, useNavigationSectionManager as $g, useNavigationStore as e0, useNotificationStore as t0, useRetry as r0, useSyncNavigationFilters as n0, useUserActions as o0, useUserPreferences as i0, userBus as s0 } from "@mui-toolpad-extended-tuni/core";
9
+ import { DialogOpener as fg, Dialogs as dg, EventBus as mg, ExtendedDialog as hg, FormDialog as pg, NavigationFilter as yg, NavigationSectionBuilder as gg, Notifications as vg, UserBus as Sg, apiPrefix as bg, calculateNavigationFromSections as wg, closeDialog as Tg, convertObjectKeysToCamelCase as Eg, convertObjectKeysToUnderscore as xg, deleteCookie as kg, eventBus as Cg, filterNavigationByRole as Og, getAllMicroservices as Ag, getAllRegisteredMicroservices as Dg, getApiConfig as Mg, getApiPrefix as Ig, getCookie as Ng, getMicroservice as Pg, getMicroserviceIds as Lg, isMicroserviceRegistered as Rg, openDialog as jg, parseDate as Bg, registerApiEndpoints as Fg, registerDialog as Wg, registerMicroservice as Vg, registerRouteProvider as Hg, setCookie as zg, slugify as Ug, unregisterMicroservice as Zg, unregisterRouteProvider as Jg, updateMicroserviceNavigationForSections as Yg, useApiConfigContext as Gg, useCurrentUser as Kg, useMicroserviceNavigation as Qg, useMicroserviceRegistryStore as qg, useMicroserviceRoutes as Xg, useNavigationFilterStore as _g, useNavigationSectionManager as $g, useNavigationStore as e0, useNotificationStore as t0, useRetry as r0, useServiceApiConfig as n0, useSyncNavigationFilters as o0, useUserActions as i0, useUserPreferences as s0, userBus as a0 } from "@mui-toolpad-extended-tuni/core";
10
10
  import { useNavigate as la, useLocation as hn, Routes as Nl, Route as Pl } from "react-router-dom";
11
- import { BrowserRouter as c0, HashRouter as l0, Link as u0, MemoryRouter as f0, Navigate as d0, Outlet as m0, Route as h0, Routes as p0, useLocation as y0, useNavigate as g0, useParams as v0 } from "react-router-dom";
12
11
  import { Box as he, useTheme as br, useMediaQuery as zo, Typography as we, Stack as ur, Divider as Ll, MenuItem as To, Tooltip as pn, IconButton as wt, createTheme as Bn, ThemeProvider as Rl, CssBaseline as jl, Badge as Bl, TextField as yn, FormControlLabel as Fl, Switch as Wl, Paper as Vl, FormControl as Hl, InputLabel as zl, Select as Ul, Autocomplete as Zl, Chip as hi, Popover as Jl, Button as ua } from "@mui/material";
13
12
  import { createPortal as Yl } from "react-dom";
14
13
  import Gl from "@emotion/styled";
@@ -72,11 +71,11 @@ function nu() {
72
71
  switch (p) {
73
72
  case v:
74
73
  return "Fragment";
75
- case O:
74
+ case b:
76
75
  return "Profiler";
77
76
  case x:
78
77
  return "StrictMode";
79
- case A:
78
+ case D:
80
79
  return "Suspense";
81
80
  case L:
82
81
  return "SuspenseList";
@@ -91,17 +90,17 @@ function nu() {
91
90
  return "Portal";
92
91
  case C:
93
92
  return p.displayName || "Context";
94
- case w:
93
+ case O:
95
94
  return (p._context.displayName || "Context") + ".Consumer";
96
95
  case S:
97
- var D = p.render;
98
- return p = p.displayName, p || (p = D.displayName || D.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
96
+ var A = p.render;
97
+ return p = p.displayName, p || (p = A.displayName || A.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
99
98
  case J:
100
- return D = p.displayName || null, D !== null ? D : t(p.type) || "Memo";
99
+ return A = p.displayName || null, A !== null ? A : t(p.type) || "Memo";
101
100
  case G:
102
- D = p._payload, p = p._init;
101
+ A = p._payload, p = p._init;
103
102
  try {
104
- return t(p(D));
103
+ return t(p(A));
105
104
  } catch {
106
105
  }
107
106
  }
@@ -113,15 +112,15 @@ function nu() {
113
112
  function r(p) {
114
113
  try {
115
114
  e(p);
116
- var D = !1;
115
+ var A = !1;
117
116
  } catch {
118
- D = !0;
117
+ A = !0;
119
118
  }
120
- if (D) {
121
- D = console;
122
- var I = D.error, M = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
119
+ if (A) {
120
+ A = console;
121
+ var I = A.error, M = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
123
122
  return I.call(
124
- D,
123
+ A,
125
124
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
126
125
  M
127
126
  ), e(p);
@@ -132,8 +131,8 @@ function nu() {
132
131
  if (typeof p == "object" && p !== null && p.$$typeof === G)
133
132
  return "<...>";
134
133
  try {
135
- var D = t(p);
136
- return D ? "<" + D + ">" : "<...>";
134
+ var A = t(p);
135
+ return A ? "<" + A + ">" : "<...>";
137
136
  } catch {
138
137
  return "<...>";
139
138
  }
@@ -147,16 +146,16 @@ function nu() {
147
146
  }
148
147
  function s(p) {
149
148
  if (B.call(p, "key")) {
150
- var D = Object.getOwnPropertyDescriptor(p, "key").get;
151
- if (D && D.isReactWarning) return !1;
149
+ var A = Object.getOwnPropertyDescriptor(p, "key").get;
150
+ if (A && A.isReactWarning) return !1;
152
151
  }
153
152
  return p.key !== void 0;
154
153
  }
155
- function a(p, D) {
154
+ function a(p, A) {
156
155
  function I() {
157
156
  Z || (Z = !0, console.error(
158
157
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
159
- D
158
+ A
160
159
  ));
161
160
  }
162
161
  I.isReactWarning = !0, Object.defineProperty(p, "key", {
@@ -170,12 +169,12 @@ function nu() {
170
169
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
171
170
  )), p = this.props.ref, p !== void 0 ? p : null;
172
171
  }
173
- function l(p, D, I, M, W, R) {
172
+ function l(p, A, I, M, W, R) {
174
173
  var N = I.ref;
175
174
  return p = {
176
175
  $$typeof: y,
177
176
  type: p,
178
- key: D,
177
+ key: A,
179
178
  props: I,
180
179
  _owner: M
181
180
  }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(p, "ref", {
@@ -203,8 +202,8 @@ function nu() {
203
202
  value: R
204
203
  }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
205
204
  }
206
- function f(p, D, I, M, W, R) {
207
- var N = D.children;
205
+ function f(p, A, I, M, W, R) {
206
+ var N = A.children;
208
207
  if (N !== void 0)
209
208
  if (M)
210
209
  if (P(N)) {
@@ -216,12 +215,12 @@ function nu() {
216
215
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
217
216
  );
218
217
  else d(N);
219
- if (B.call(D, "key")) {
218
+ if (B.call(A, "key")) {
220
219
  N = t(p);
221
- var F = Object.keys(D).filter(function(V) {
220
+ var F = Object.keys(A).filter(function(V) {
222
221
  return V !== "key";
223
222
  });
224
- M = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", b[N + M] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
223
+ M = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", w[N + M] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
225
224
  `A props object containing a "key" prop is being spread into JSX:
226
225
  let props = %s;
227
226
  <%s {...props} />
@@ -232,13 +231,13 @@ React keys must be passed directly to JSX without using spread:
232
231
  N,
233
232
  F,
234
233
  N
235
- ), b[N + M] = !0);
234
+ ), w[N + M] = !0);
236
235
  }
237
- if (N = null, I !== void 0 && (r(I), N = "" + I), s(D) && (r(D.key), N = "" + D.key), "key" in D) {
236
+ if (N = null, I !== void 0 && (r(I), N = "" + I), s(A) && (r(A.key), N = "" + A.key), "key" in A) {
238
237
  I = {};
239
- for (var z in D)
240
- z !== "key" && (I[z] = D[z]);
241
- } else I = D;
238
+ for (var z in A)
239
+ z !== "key" && (I[z] = A[z]);
240
+ } else I = A;
242
241
  return N && a(
243
242
  I,
244
243
  typeof p == "function" ? p.displayName || p.name || "Unknown" : p
@@ -257,7 +256,7 @@ React keys must be passed directly to JSX without using spread:
257
256
  function h(p) {
258
257
  return typeof p == "object" && p !== null && p.$$typeof === y;
259
258
  }
260
- var g = _, y = Symbol.for("react.transitional.element"), u = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), m = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, P = Array.isArray, U = console.createTask ? console.createTask : function() {
259
+ var g = _, y = Symbol.for("react.transitional.element"), u = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), m = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, P = Array.isArray, U = console.createTask ? console.createTask : function() {
261
260
  return null;
262
261
  };
263
262
  g = {
@@ -268,22 +267,22 @@ React keys must be passed directly to JSX without using spread:
268
267
  var Z, q = {}, pe = g.react_stack_bottom_frame.bind(
269
268
  g,
270
269
  i
271
- )(), Ce = U(n(i)), b = {};
272
- Xt.Fragment = v, Xt.jsx = function(p, D, I) {
270
+ )(), Ce = U(n(i)), w = {};
271
+ Xt.Fragment = v, Xt.jsx = function(p, A, I) {
273
272
  var M = 1e4 > m.recentlyCreatedOwnerStacks++;
274
273
  return f(
275
274
  p,
276
- D,
275
+ A,
277
276
  I,
278
277
  !1,
279
278
  M ? Error("react-stack-top-frame") : pe,
280
279
  M ? U(n(p)) : Ce
281
280
  );
282
- }, Xt.jsxs = function(p, D, I) {
281
+ }, Xt.jsxs = function(p, A, I) {
283
282
  var M = 1e4 > m.recentlyCreatedOwnerStacks++;
284
283
  return f(
285
284
  p,
286
- D,
285
+ A,
287
286
  I,
288
287
  !0,
289
288
  M ? Error("react-stack-top-frame") : pe,
@@ -677,7 +676,7 @@ function Lr(t, e) {
677
676
  var Sa = /* @__PURE__ */ Sr(function(t, e) {
678
677
  var r = t.children, n = t.direction, o = n === void 0 ? "down" : n, i = t.in, s = t.style, a = t.timeout, c = a === void 0 ? 0 : a, l = t.onEnter, f = t.onEntered, d = t.onExit, h = t.onExited, g = wr(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), y = nt(null), u = Eo(r.ref, y), v = Eo(u, e), x = function(L, J) {
679
678
  Lr(o, L), ga(L), l && l(L, J);
680
- }, O = function(L) {
679
+ }, b = function(L) {
681
680
  var J = (s == null ? void 0 : s.transitionTimingFunction) || xo.easeOut, G = en({
682
681
  timeout: c,
683
682
  mode: "enter",
@@ -686,7 +685,7 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
686
685
  })
687
686
  });
688
687
  L.style.webkitTransition = Rt("-webkit-transform", G), L.style.transition = Rt("transform", G), L.style.webkitTransform = "none", L.style.transform = "none";
689
- }, w = function(L) {
688
+ }, O = function(L) {
690
689
  var J = (s == null ? void 0 : s.transitionTimingFunction) || xo.sharp, G = en({
691
690
  timeout: c,
692
691
  mode: "exit",
@@ -702,11 +701,11 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
702
701
  }, [o]);
703
702
  return Me(function() {
704
703
  if (!(i || o === "down" || o === "right")) {
705
- var A = vu(function() {
704
+ var D = vu(function() {
706
705
  y.current && Lr(o, y.current);
707
706
  }), L = va(y.current);
708
- return L.addEventListener("resize", A), function() {
709
- A.clear(), L.removeEventListener("resize", A);
707
+ return L.addEventListener("resize", D), function() {
708
+ D.clear(), L.removeEventListener("resize", D);
710
709
  };
711
710
  }
712
711
  }, [o, i]), Me(function() {
@@ -716,16 +715,16 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
716
715
  nodeRef: y,
717
716
  onEnter: x,
718
717
  onEntered: f,
719
- onEntering: O,
720
- onExit: w,
718
+ onEntering: b,
719
+ onExit: O,
721
720
  onExited: C,
722
721
  in: i,
723
722
  timeout: c
724
- }, g), function(A, L) {
723
+ }, g), function(D, L) {
725
724
  return sl(r, de({
726
725
  ref: v,
727
726
  style: de({
728
- visibility: A === "exited" && !i ? "hidden" : void 0
727
+ visibility: D === "exited" && !i ? "hidden" : void 0
729
728
  }, s, {}, r.props.style)
730
729
  }, L));
731
730
  });
@@ -836,8 +835,8 @@ var Vt = {
836
835
  var v = c(), x = en({
837
836
  timeout: Wn,
838
837
  mode: "enter"
839
- }), O = x.duration, w = x.easing;
840
- u.style.transitionDuration = typeof O == "string" ? O : O + "ms", u.style.height = v + "px", u.style.transitionTimingFunction = w || "";
838
+ }), b = x.duration, O = x.easing;
839
+ u.style.transitionDuration = typeof b == "string" ? b : b + "ms", u.style.height = v + "px", u.style.transitionTimingFunction = O || "";
841
840
  }, d = function(u) {
842
841
  u.style.height = "auto";
843
842
  }, h = function(u) {
@@ -847,8 +846,8 @@ var Vt = {
847
846
  var v = en({
848
847
  timeout: Wn,
849
848
  mode: "exit"
850
- }), x = v.duration, O = v.easing;
851
- u.style.transitionDuration = typeof x == "string" ? x : x + "ms", u.style.height = Fn, u.style.transitionTimingFunction = O || "";
849
+ }), x = v.duration, b = v.easing;
850
+ u.style.transitionDuration = typeof x == "string" ? x : x + "ms", u.style.height = Fn, u.style.transitionTimingFunction = b || "";
852
851
  };
853
852
  return lr(Yo, {
854
853
  in: n,
@@ -940,10 +939,10 @@ function Oi(t) {
940
939
  var wa = /* @__PURE__ */ Sr(function(t, e) {
941
940
  var r = t.children, n = t.className, o = t.autoHideDuration, i = t.disableWindowBlurListener, s = i === void 0 ? !1 : i, a = t.onClose, c = t.id, l = t.open, f = t.SnackbarProps, d = f === void 0 ? {} : f, h = nt(), g = Oi(function() {
942
941
  a && a.apply(void 0, arguments);
943
- }), y = Oi(function(w) {
944
- !a || w == null || (h.current && clearTimeout(h.current), h.current = setTimeout(function() {
942
+ }), y = Oi(function(O) {
943
+ !a || O == null || (h.current && clearTimeout(h.current), h.current = setTimeout(function() {
945
944
  g(null, "timeout", c);
946
- }, w));
945
+ }, O));
947
946
  });
948
947
  Me(function() {
949
948
  return l && y(o), function() {
@@ -956,7 +955,7 @@ var wa = /* @__PURE__ */ Sr(function(t, e) {
956
955
  o != null && y(o * 0.5);
957
956
  }, [o, y]), x = function(C) {
958
957
  d.onMouseEnter && d.onMouseEnter(C), u();
959
- }, O = function(C) {
958
+ }, b = function(C) {
960
959
  d.onMouseLeave && d.onMouseLeave(C), v();
961
960
  };
962
961
  return Me(function() {
@@ -969,7 +968,7 @@ var wa = /* @__PURE__ */ Sr(function(t, e) {
969
968
  }, d, {
970
969
  className: Tt(Vt.Snackbar, n),
971
970
  onMouseEnter: x,
972
- onMouseLeave: O
971
+ onMouseLeave: b
973
972
  }), r);
974
973
  });
975
974
  wa.displayName = "Snackbar";
@@ -1076,9 +1075,9 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1076
1075
  }, []);
1077
1076
  var l = e.snack, f = e.classes, d = e.Component, h = d === void 0 ? Lu : d, g = Vo(function() {
1078
1077
  return Mu(f);
1079
- }, [f]), y = l.open, u = l.SnackbarProps, v = l.TransitionComponent, x = l.TransitionProps, O = l.transitionDuration, w = l.disableWindowBlurListener, C = l.content, S = wr(l, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = de({
1078
+ }, [f]), y = l.open, u = l.SnackbarProps, v = l.TransitionComponent, x = l.TransitionProps, b = l.transitionDuration, O = l.disableWindowBlurListener, C = l.content, S = wr(l, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), D = de({
1080
1079
  direction: Au(S.anchorOrigin),
1081
- timeout: O
1080
+ timeout: b
1082
1081
  }, x), L = C;
1083
1082
  typeof L == "function" && (L = L(S.id, S.message));
1084
1083
  var J = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(G, se) {
@@ -1091,12 +1090,12 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1091
1090
  }, _.createElement(wa, {
1092
1091
  open: y,
1093
1092
  id: S.id,
1094
- disableWindowBlurListener: w,
1093
+ disableWindowBlurListener: O,
1095
1094
  autoHideDuration: S.autoHideDuration,
1096
1095
  className: Tt(Ru.wrappedRoot, g.root, g[Du(S.anchorOrigin)]),
1097
1096
  SnackbarProps: u,
1098
1097
  onClose: s
1099
- }, _.createElement(v, Object.assign({}, A, {
1098
+ }, _.createElement(v, Object.assign({}, D, {
1100
1099
  appear: !0,
1101
1100
  in: y,
1102
1101
  onExit: J.onExit,
@@ -1230,8 +1229,8 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1230
1229
  if (f === void 0 && o.props.preventDuplicate || f) {
1231
1230
  var x = function(S) {
1232
1231
  return h ? S.id === g : S.message === c;
1233
- }, O = v.queue.findIndex(x) > -1, w = v.snacks.findIndex(x) > -1;
1234
- if (O || w)
1232
+ }, b = v.queue.findIndex(x) > -1, O = v.snacks.findIndex(x) > -1;
1233
+ if (b || O)
1235
1234
  return v;
1236
1235
  }
1237
1236
  return o.handleDisplaySnack(de({}, v, {
@@ -1325,26 +1324,26 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1325
1324
  var r = e.prototype;
1326
1325
  return r.render = function() {
1327
1326
  var o = this, i = this.state.contextValue, s = this.props, a = s.domRoot, c = s.children, l = s.dense, f = l === void 0 ? !1 : l, d = s.Components, h = d === void 0 ? {} : d, g = s.classes, y = this.state.snacks.reduce(function(v, x) {
1328
- var O, w = Jo(x.anchorOrigin), C = v[w] || [];
1329
- return de({}, v, (O = {}, O[w] = [].concat(C, [x]), O));
1327
+ var b, O = Jo(x.anchorOrigin), C = v[O] || [];
1328
+ return de({}, v, (b = {}, b[O] = [].concat(C, [x]), b));
1330
1329
  }, {}), u = Object.keys(y).map(function(v) {
1331
- var x = y[v], O = x[0];
1330
+ var x = y[v], b = x[0];
1332
1331
  return _.createElement(Fu, {
1333
1332
  key: v,
1334
1333
  dense: f,
1335
- anchorOrigin: O.anchorOrigin,
1334
+ anchorOrigin: b.anchorOrigin,
1336
1335
  classes: g
1337
- }, x.map(function(w) {
1336
+ }, x.map(function(O) {
1338
1337
  return _.createElement(ju, {
1339
- key: w.id,
1340
- snack: w,
1338
+ key: O.id,
1339
+ snack: O,
1341
1340
  classes: g,
1342
- Component: h[w.variant],
1341
+ Component: h[O.variant],
1343
1342
  onClose: o.handleCloseSnack,
1344
1343
  onEnter: o.props.onEnter,
1345
1344
  onExit: o.props.onExit,
1346
- onExited: fr([o.handleExitedSnack, o.props.onExited], w.id),
1347
- onEntered: fr([o.handleEnteredSnack, o.props.onEntered], w.id)
1345
+ onExited: fr([o.handleExitedSnack, o.props.onExited], O.id),
1346
+ onEntered: fr([o.handleEnteredSnack, o.props.onEntered], O.id)
1348
1347
  });
1349
1348
  }));
1350
1349
  });
@@ -1389,11 +1388,11 @@ var Ii;
1389
1388
  function Zu() {
1390
1389
  if (Ii) return te;
1391
1390
  Ii = 1;
1392
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
1393
- function w(S) {
1391
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
1392
+ function O(S) {
1394
1393
  if (typeof S == "object" && S !== null) {
1395
- var A = S.$$typeof;
1396
- switch (A) {
1394
+ var D = S.$$typeof;
1395
+ switch (D) {
1397
1396
  case e:
1398
1397
  switch (S = S.type, S) {
1399
1398
  case c:
@@ -1412,44 +1411,44 @@ function Zu() {
1412
1411
  case s:
1413
1412
  return S;
1414
1413
  default:
1415
- return A;
1414
+ return D;
1416
1415
  }
1417
1416
  }
1418
1417
  case r:
1419
- return A;
1418
+ return D;
1420
1419
  }
1421
1420
  }
1422
1421
  }
1423
1422
  function C(S) {
1424
- return w(S) === l;
1423
+ return O(S) === l;
1425
1424
  }
1426
1425
  return te.AsyncMode = c, te.ConcurrentMode = l, te.ContextConsumer = a, te.ContextProvider = s, te.Element = e, te.ForwardRef = f, te.Fragment = n, te.Lazy = y, te.Memo = g, te.Portal = r, te.Profiler = i, te.StrictMode = o, te.Suspense = d, te.isAsyncMode = function(S) {
1427
- return C(S) || w(S) === c;
1426
+ return C(S) || O(S) === c;
1428
1427
  }, te.isConcurrentMode = C, te.isContextConsumer = function(S) {
1429
- return w(S) === a;
1428
+ return O(S) === a;
1430
1429
  }, te.isContextProvider = function(S) {
1431
- return w(S) === s;
1430
+ return O(S) === s;
1432
1431
  }, te.isElement = function(S) {
1433
1432
  return typeof S == "object" && S !== null && S.$$typeof === e;
1434
1433
  }, te.isForwardRef = function(S) {
1435
- return w(S) === f;
1434
+ return O(S) === f;
1436
1435
  }, te.isFragment = function(S) {
1437
- return w(S) === n;
1436
+ return O(S) === n;
1438
1437
  }, te.isLazy = function(S) {
1439
- return w(S) === y;
1438
+ return O(S) === y;
1440
1439
  }, te.isMemo = function(S) {
1441
- return w(S) === g;
1440
+ return O(S) === g;
1442
1441
  }, te.isPortal = function(S) {
1443
- return w(S) === r;
1442
+ return O(S) === r;
1444
1443
  }, te.isProfiler = function(S) {
1445
- return w(S) === i;
1444
+ return O(S) === i;
1446
1445
  }, te.isStrictMode = function(S) {
1447
- return w(S) === o;
1446
+ return O(S) === o;
1448
1447
  }, te.isSuspense = function(S) {
1449
- return w(S) === d;
1448
+ return O(S) === d;
1450
1449
  }, te.isValidElementType = function(S) {
1451
- return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === O || S.$$typeof === u);
1452
- }, te.typeOf = w, te;
1450
+ return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === b || S.$$typeof === u);
1451
+ }, te.typeOf = O, te;
1453
1452
  }
1454
1453
  var re = {};
1455
1454
  /** @license React v16.13.1
@@ -1463,10 +1462,10 @@ var re = {};
1463
1462
  var Ni;
1464
1463
  function Ju() {
1465
1464
  return Ni || (Ni = 1, process.env.NODE_ENV !== "production" && function() {
1466
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
1467
- function w(E) {
1465
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
1466
+ function O(E) {
1468
1467
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1469
- E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === O || E.$$typeof === u);
1468
+ E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === b || E.$$typeof === u);
1470
1469
  }
1471
1470
  function C(E) {
1472
1471
  if (typeof E == "object" && E !== null) {
@@ -1500,17 +1499,17 @@ function Ju() {
1500
1499
  }
1501
1500
  }
1502
1501
  }
1503
- var S = c, A = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
1502
+ var S = c, D = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
1504
1503
  function Ce(E) {
1505
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(E) || C(E) === c;
1504
+ return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(E) || C(E) === c;
1506
1505
  }
1507
- function b(E) {
1506
+ function w(E) {
1508
1507
  return C(E) === l;
1509
1508
  }
1510
1509
  function p(E) {
1511
1510
  return C(E) === a;
1512
1511
  }
1513
- function D(E) {
1512
+ function A(E) {
1514
1513
  return C(E) === s;
1515
1514
  }
1516
1515
  function I(E) {
@@ -1540,7 +1539,7 @@ function Ju() {
1540
1539
  function ae(E) {
1541
1540
  return C(E) === d;
1542
1541
  }
1543
- re.AsyncMode = S, re.ConcurrentMode = A, re.ContextConsumer = L, re.ContextProvider = J, re.Element = G, re.ForwardRef = se, re.Fragment = Q, re.Lazy = m, re.Memo = B, re.Portal = P, re.Profiler = U, re.StrictMode = Z, re.Suspense = q, re.isAsyncMode = Ce, re.isConcurrentMode = b, re.isContextConsumer = p, re.isContextProvider = D, re.isElement = I, re.isForwardRef = M, re.isFragment = W, re.isLazy = R, re.isMemo = N, re.isPortal = F, re.isProfiler = z, re.isStrictMode = V, re.isSuspense = ae, re.isValidElementType = w, re.typeOf = C;
1542
+ re.AsyncMode = S, re.ConcurrentMode = D, re.ContextConsumer = L, re.ContextProvider = J, re.Element = G, re.ForwardRef = se, re.Fragment = Q, re.Lazy = m, re.Memo = B, re.Portal = P, re.Profiler = U, re.StrictMode = Z, re.Suspense = q, re.isAsyncMode = Ce, re.isConcurrentMode = w, re.isContextConsumer = p, re.isContextProvider = A, re.isElement = I, re.isForwardRef = M, re.isFragment = W, re.isLazy = R, re.isMemo = N, re.isPortal = F, re.isProfiler = z, re.isStrictMode = V, re.isSuspense = ae, re.isValidElementType = O, re.typeOf = C;
1544
1543
  }()), re;
1545
1544
  }
1546
1545
  var Pi;
@@ -1677,8 +1676,8 @@ function Ku() {
1677
1676
  }
1678
1677
  return Kn = function(a, c) {
1679
1678
  var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
1680
- function d(b) {
1681
- var p = b && (l && b[l] || b[f]);
1679
+ function d(w) {
1680
+ var p = w && (l && w[l] || w[f]);
1682
1681
  if (typeof p == "function")
1683
1682
  return p;
1684
1683
  }
@@ -1691,11 +1690,11 @@ function Ku() {
1691
1690
  object: x("object"),
1692
1691
  string: x("string"),
1693
1692
  symbol: x("symbol"),
1694
- any: O(),
1695
- arrayOf: w,
1693
+ any: b(),
1694
+ arrayOf: O,
1696
1695
  element: C(),
1697
1696
  elementType: S(),
1698
- instanceOf: A,
1697
+ instanceOf: D,
1699
1698
  node: se(),
1700
1699
  objectOf: J,
1701
1700
  oneOf: L,
@@ -1703,16 +1702,16 @@ function Ku() {
1703
1702
  shape: m,
1704
1703
  exact: B
1705
1704
  };
1706
- function y(b, p) {
1707
- return b === p ? b !== 0 || 1 / b === 1 / p : b !== b && p !== p;
1705
+ function y(w, p) {
1706
+ return w === p ? w !== 0 || 1 / w === 1 / p : w !== w && p !== p;
1708
1707
  }
1709
- function u(b, p) {
1710
- this.message = b, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
1708
+ function u(w, p) {
1709
+ this.message = w, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
1711
1710
  }
1712
1711
  u.prototype = Error.prototype;
1713
- function v(b) {
1712
+ function v(w) {
1714
1713
  if (process.env.NODE_ENV !== "production")
1715
- var p = {}, D = 0;
1714
+ var p = {}, A = 0;
1716
1715
  function I(W, R, N, F, z, V, ae) {
1717
1716
  if (F = F || h, V = V || N, ae !== r) {
1718
1717
  if (c) {
@@ -1723,44 +1722,44 @@ function Ku() {
1723
1722
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1724
1723
  var Te = F + ":" + N;
1725
1724
  !p[Te] && // Avoid spamming the console because they are often not actionable except for lib authors
1726
- D < 3 && (i(
1725
+ A < 3 && (i(
1727
1726
  "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + F + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1728
- ), p[Te] = !0, D++);
1727
+ ), p[Te] = !0, A++);
1729
1728
  }
1730
1729
  }
1731
- return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : b(R, N, F, z, V);
1730
+ return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : w(R, N, F, z, V);
1732
1731
  }
1733
1732
  var M = I.bind(null, !1);
1734
1733
  return M.isRequired = I.bind(null, !0), M;
1735
1734
  }
1736
- function x(b) {
1737
- function p(D, I, M, W, R, N) {
1738
- var F = D[I], z = Z(F);
1739
- if (z !== b) {
1735
+ function x(w) {
1736
+ function p(A, I, M, W, R, N) {
1737
+ var F = A[I], z = Z(F);
1738
+ if (z !== w) {
1740
1739
  var V = q(F);
1741
1740
  return new u(
1742
- "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + b + "`."),
1743
- { expectedType: b }
1741
+ "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + w + "`."),
1742
+ { expectedType: w }
1744
1743
  );
1745
1744
  }
1746
1745
  return null;
1747
1746
  }
1748
1747
  return v(p);
1749
1748
  }
1750
- function O() {
1749
+ function b() {
1751
1750
  return v(s);
1752
1751
  }
1753
- function w(b) {
1754
- function p(D, I, M, W, R) {
1755
- if (typeof b != "function")
1752
+ function O(w) {
1753
+ function p(A, I, M, W, R) {
1754
+ if (typeof w != "function")
1756
1755
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
1757
- var N = D[I];
1756
+ var N = A[I];
1758
1757
  if (!Array.isArray(N)) {
1759
1758
  var F = Z(N);
1760
1759
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an array."));
1761
1760
  }
1762
1761
  for (var z = 0; z < N.length; z++) {
1763
- var V = b(N, z, M, W, R + "[" + z + "]", r);
1762
+ var V = w(N, z, M, W, R + "[" + z + "]", r);
1764
1763
  if (V instanceof Error)
1765
1764
  return V;
1766
1765
  }
@@ -1769,47 +1768,47 @@ function Ku() {
1769
1768
  return v(p);
1770
1769
  }
1771
1770
  function C() {
1772
- function b(p, D, I, M, W) {
1773
- var R = p[D];
1771
+ function w(p, A, I, M, W) {
1772
+ var R = p[A];
1774
1773
  if (!a(R)) {
1775
1774
  var N = Z(R);
1776
1775
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
1777
1776
  }
1778
1777
  return null;
1779
1778
  }
1780
- return v(b);
1779
+ return v(w);
1781
1780
  }
1782
1781
  function S() {
1783
- function b(p, D, I, M, W) {
1784
- var R = p[D];
1782
+ function w(p, A, I, M, W) {
1783
+ var R = p[A];
1785
1784
  if (!t.isValidElementType(R)) {
1786
1785
  var N = Z(R);
1787
1786
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
1788
1787
  }
1789
1788
  return null;
1790
1789
  }
1791
- return v(b);
1790
+ return v(w);
1792
1791
  }
1793
- function A(b) {
1794
- function p(D, I, M, W, R) {
1795
- if (!(D[I] instanceof b)) {
1796
- var N = b.name || h, F = Ce(D[I]);
1792
+ function D(w) {
1793
+ function p(A, I, M, W, R) {
1794
+ if (!(A[I] instanceof w)) {
1795
+ var N = w.name || h, F = Ce(A[I]);
1797
1796
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected ") + ("instance of `" + N + "`."));
1798
1797
  }
1799
1798
  return null;
1800
1799
  }
1801
1800
  return v(p);
1802
1801
  }
1803
- function L(b) {
1804
- if (!Array.isArray(b))
1802
+ function L(w) {
1803
+ if (!Array.isArray(w))
1805
1804
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1806
1805
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1807
1806
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1808
- function p(D, I, M, W, R) {
1809
- for (var N = D[I], F = 0; F < b.length; F++)
1810
- if (y(N, b[F]))
1807
+ function p(A, I, M, W, R) {
1808
+ for (var N = A[I], F = 0; F < w.length; F++)
1809
+ if (y(N, w[F]))
1811
1810
  return null;
1812
- var z = JSON.stringify(b, function(ae, E) {
1811
+ var z = JSON.stringify(w, function(ae, E) {
1813
1812
  var Te = q(E);
1814
1813
  return Te === "symbol" ? String(E) : E;
1815
1814
  });
@@ -1817,16 +1816,16 @@ function Ku() {
1817
1816
  }
1818
1817
  return v(p);
1819
1818
  }
1820
- function J(b) {
1821
- function p(D, I, M, W, R) {
1822
- if (typeof b != "function")
1819
+ function J(w) {
1820
+ function p(A, I, M, W, R) {
1821
+ if (typeof w != "function")
1823
1822
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
1824
- var N = D[I], F = Z(N);
1823
+ var N = A[I], F = Z(N);
1825
1824
  if (F !== "object")
1826
1825
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an object."));
1827
1826
  for (var z in N)
1828
1827
  if (n(N, z)) {
1829
- var V = b(N, z, M, W, R + "." + z, r);
1828
+ var V = w(N, z, M, W, R + "." + z, r);
1830
1829
  if (V instanceof Error)
1831
1830
  return V;
1832
1831
  }
@@ -1834,19 +1833,19 @@ function Ku() {
1834
1833
  }
1835
1834
  return v(p);
1836
1835
  }
1837
- function G(b) {
1838
- if (!Array.isArray(b))
1836
+ function G(w) {
1837
+ if (!Array.isArray(w))
1839
1838
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1840
- for (var p = 0; p < b.length; p++) {
1841
- var D = b[p];
1842
- if (typeof D != "function")
1839
+ for (var p = 0; p < w.length; p++) {
1840
+ var A = w[p];
1841
+ if (typeof A != "function")
1843
1842
  return i(
1844
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(D) + " at index " + p + "."
1843
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(A) + " at index " + p + "."
1845
1844
  ), s;
1846
1845
  }
1847
1846
  function I(M, W, R, N, F) {
1848
- for (var z = [], V = 0; V < b.length; V++) {
1849
- var ae = b[V], E = ae(M, W, R, N, F, r);
1847
+ for (var z = [], V = 0; V < w.length; V++) {
1848
+ var ae = w[V], E = ae(M, W, R, N, F, r);
1850
1849
  if (E == null)
1851
1850
  return null;
1852
1851
  E.data && n(E.data, "expectedType") && z.push(E.data.expectedType);
@@ -1857,23 +1856,23 @@ function Ku() {
1857
1856
  return v(I);
1858
1857
  }
1859
1858
  function se() {
1860
- function b(p, D, I, M, W) {
1861
- return P(p[D]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1859
+ function w(p, A, I, M, W) {
1860
+ return P(p[A]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1862
1861
  }
1863
- return v(b);
1862
+ return v(w);
1864
1863
  }
1865
- function Q(b, p, D, I, M) {
1864
+ function Q(w, p, A, I, M) {
1866
1865
  return new u(
1867
- (b || "React class") + ": " + p + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
1866
+ (w || "React class") + ": " + p + " type `" + A + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
1868
1867
  );
1869
1868
  }
1870
- function m(b) {
1871
- function p(D, I, M, W, R) {
1872
- var N = D[I], F = Z(N);
1869
+ function m(w) {
1870
+ function p(A, I, M, W, R) {
1871
+ var N = A[I], F = Z(N);
1873
1872
  if (F !== "object")
1874
1873
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
1875
- for (var z in b) {
1876
- var V = b[z];
1874
+ for (var z in w) {
1875
+ var V = w[z];
1877
1876
  if (typeof V != "function")
1878
1877
  return Q(M, W, R, z, q(V));
1879
1878
  var ae = V(N, z, M, W, R + "." + z, r);
@@ -1884,20 +1883,20 @@ function Ku() {
1884
1883
  }
1885
1884
  return v(p);
1886
1885
  }
1887
- function B(b) {
1888
- function p(D, I, M, W, R) {
1889
- var N = D[I], F = Z(N);
1886
+ function B(w) {
1887
+ function p(A, I, M, W, R) {
1888
+ var N = A[I], F = Z(N);
1890
1889
  if (F !== "object")
1891
1890
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
1892
- var z = e({}, D[I], b);
1891
+ var z = e({}, A[I], w);
1893
1892
  for (var V in z) {
1894
- var ae = b[V];
1895
- if (n(b, V) && typeof ae != "function")
1893
+ var ae = w[V];
1894
+ if (n(w, V) && typeof ae != "function")
1896
1895
  return Q(M, W, R, V, q(ae));
1897
1896
  if (!ae)
1898
1897
  return new u(
1899
- "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
1900
- Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1898
+ "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(A[I], null, " ") + `
1899
+ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1901
1900
  );
1902
1901
  var E = ae(N, V, M, W, R + "." + V, r);
1903
1902
  if (E)
@@ -1907,28 +1906,28 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1907
1906
  }
1908
1907
  return v(p);
1909
1908
  }
1910
- function P(b) {
1911
- switch (typeof b) {
1909
+ function P(w) {
1910
+ switch (typeof w) {
1912
1911
  case "number":
1913
1912
  case "string":
1914
1913
  case "undefined":
1915
1914
  return !0;
1916
1915
  case "boolean":
1917
- return !b;
1916
+ return !w;
1918
1917
  case "object":
1919
- if (Array.isArray(b))
1920
- return b.every(P);
1921
- if (b === null || a(b))
1918
+ if (Array.isArray(w))
1919
+ return w.every(P);
1920
+ if (w === null || a(w))
1922
1921
  return !0;
1923
- var p = d(b);
1922
+ var p = d(w);
1924
1923
  if (p) {
1925
- var D = p.call(b), I;
1926
- if (p !== b.entries) {
1927
- for (; !(I = D.next()).done; )
1924
+ var A = p.call(w), I;
1925
+ if (p !== w.entries) {
1926
+ for (; !(I = A.next()).done; )
1928
1927
  if (!P(I.value))
1929
1928
  return !1;
1930
1929
  } else
1931
- for (; !(I = D.next()).done; ) {
1930
+ for (; !(I = A.next()).done; ) {
1932
1931
  var M = I.value;
1933
1932
  if (M && !P(M[1]))
1934
1933
  return !1;
@@ -1940,27 +1939,27 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1940
1939
  return !1;
1941
1940
  }
1942
1941
  }
1943
- function U(b, p) {
1944
- return b === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
1942
+ function U(w, p) {
1943
+ return w === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
1945
1944
  }
1946
- function Z(b) {
1947
- var p = typeof b;
1948
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : U(p, b) ? "symbol" : p;
1945
+ function Z(w) {
1946
+ var p = typeof w;
1947
+ return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : U(p, w) ? "symbol" : p;
1949
1948
  }
1950
- function q(b) {
1951
- if (typeof b > "u" || b === null)
1952
- return "" + b;
1953
- var p = Z(b);
1949
+ function q(w) {
1950
+ if (typeof w > "u" || w === null)
1951
+ return "" + w;
1952
+ var p = Z(w);
1954
1953
  if (p === "object") {
1955
- if (b instanceof Date)
1954
+ if (w instanceof Date)
1956
1955
  return "date";
1957
- if (b instanceof RegExp)
1956
+ if (w instanceof RegExp)
1958
1957
  return "regexp";
1959
1958
  }
1960
1959
  return p;
1961
1960
  }
1962
- function pe(b) {
1963
- var p = q(b);
1961
+ function pe(w) {
1962
+ var p = q(w);
1964
1963
  switch (p) {
1965
1964
  case "array":
1966
1965
  case "object":
@@ -1973,8 +1972,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1973
1972
  return p;
1974
1973
  }
1975
1974
  }
1976
- function Ce(b) {
1977
- return !b.constructor || !b.constructor.name ? h : b.constructor.name;
1975
+ function Ce(w) {
1976
+ return !w.constructor || !w.constructor.name ? h : w.constructor.name;
1978
1977
  }
1979
1978
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1980
1979
  }, Kn;
@@ -2250,11 +2249,11 @@ var Zi;
2250
2249
  function sf() {
2251
2250
  if (Zi) return ne;
2252
2251
  Zi = 1;
2253
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
2254
- function w(S) {
2252
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
2253
+ function O(S) {
2255
2254
  if (typeof S == "object" && S !== null) {
2256
- var A = S.$$typeof;
2257
- switch (A) {
2255
+ var D = S.$$typeof;
2256
+ switch (D) {
2258
2257
  case e:
2259
2258
  switch (S = S.type, S) {
2260
2259
  case c:
@@ -2273,44 +2272,44 @@ function sf() {
2273
2272
  case s:
2274
2273
  return S;
2275
2274
  default:
2276
- return A;
2275
+ return D;
2277
2276
  }
2278
2277
  }
2279
2278
  case r:
2280
- return A;
2279
+ return D;
2281
2280
  }
2282
2281
  }
2283
2282
  }
2284
2283
  function C(S) {
2285
- return w(S) === l;
2284
+ return O(S) === l;
2286
2285
  }
2287
2286
  return ne.AsyncMode = c, ne.ConcurrentMode = l, ne.ContextConsumer = a, ne.ContextProvider = s, ne.Element = e, ne.ForwardRef = f, ne.Fragment = n, ne.Lazy = y, ne.Memo = g, ne.Portal = r, ne.Profiler = i, ne.StrictMode = o, ne.Suspense = d, ne.isAsyncMode = function(S) {
2288
- return C(S) || w(S) === c;
2287
+ return C(S) || O(S) === c;
2289
2288
  }, ne.isConcurrentMode = C, ne.isContextConsumer = function(S) {
2290
- return w(S) === a;
2289
+ return O(S) === a;
2291
2290
  }, ne.isContextProvider = function(S) {
2292
- return w(S) === s;
2291
+ return O(S) === s;
2293
2292
  }, ne.isElement = function(S) {
2294
2293
  return typeof S == "object" && S !== null && S.$$typeof === e;
2295
2294
  }, ne.isForwardRef = function(S) {
2296
- return w(S) === f;
2295
+ return O(S) === f;
2297
2296
  }, ne.isFragment = function(S) {
2298
- return w(S) === n;
2297
+ return O(S) === n;
2299
2298
  }, ne.isLazy = function(S) {
2300
- return w(S) === y;
2299
+ return O(S) === y;
2301
2300
  }, ne.isMemo = function(S) {
2302
- return w(S) === g;
2301
+ return O(S) === g;
2303
2302
  }, ne.isPortal = function(S) {
2304
- return w(S) === r;
2303
+ return O(S) === r;
2305
2304
  }, ne.isProfiler = function(S) {
2306
- return w(S) === i;
2305
+ return O(S) === i;
2307
2306
  }, ne.isStrictMode = function(S) {
2308
- return w(S) === o;
2307
+ return O(S) === o;
2309
2308
  }, ne.isSuspense = function(S) {
2310
- return w(S) === d;
2309
+ return O(S) === d;
2311
2310
  }, ne.isValidElementType = function(S) {
2312
- return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === O || S.$$typeof === u);
2313
- }, ne.typeOf = w, ne;
2311
+ return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === b || S.$$typeof === u);
2312
+ }, ne.typeOf = O, ne;
2314
2313
  }
2315
2314
  var oe = {};
2316
2315
  /** @license React v16.13.1
@@ -2324,10 +2323,10 @@ var oe = {};
2324
2323
  var Ji;
2325
2324
  function af() {
2326
2325
  return Ji || (Ji = 1, process.env.NODE_ENV !== "production" && function() {
2327
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
2328
- function w(E) {
2326
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
2327
+ function O(E) {
2329
2328
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2330
- E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === O || E.$$typeof === u);
2329
+ E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === b || E.$$typeof === u);
2331
2330
  }
2332
2331
  function C(E) {
2333
2332
  if (typeof E == "object" && E !== null) {
@@ -2361,17 +2360,17 @@ function af() {
2361
2360
  }
2362
2361
  }
2363
2362
  }
2364
- var S = c, A = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
2363
+ var S = c, D = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
2365
2364
  function Ce(E) {
2366
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(E) || C(E) === c;
2365
+ return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(E) || C(E) === c;
2367
2366
  }
2368
- function b(E) {
2367
+ function w(E) {
2369
2368
  return C(E) === l;
2370
2369
  }
2371
2370
  function p(E) {
2372
2371
  return C(E) === a;
2373
2372
  }
2374
- function D(E) {
2373
+ function A(E) {
2375
2374
  return C(E) === s;
2376
2375
  }
2377
2376
  function I(E) {
@@ -2401,7 +2400,7 @@ function af() {
2401
2400
  function ae(E) {
2402
2401
  return C(E) === d;
2403
2402
  }
2404
- oe.AsyncMode = S, oe.ConcurrentMode = A, oe.ContextConsumer = L, oe.ContextProvider = J, oe.Element = G, oe.ForwardRef = se, oe.Fragment = Q, oe.Lazy = m, oe.Memo = B, oe.Portal = P, oe.Profiler = U, oe.StrictMode = Z, oe.Suspense = q, oe.isAsyncMode = Ce, oe.isConcurrentMode = b, oe.isContextConsumer = p, oe.isContextProvider = D, oe.isElement = I, oe.isForwardRef = M, oe.isFragment = W, oe.isLazy = R, oe.isMemo = N, oe.isPortal = F, oe.isProfiler = z, oe.isStrictMode = V, oe.isSuspense = ae, oe.isValidElementType = w, oe.typeOf = C;
2403
+ oe.AsyncMode = S, oe.ConcurrentMode = D, oe.ContextConsumer = L, oe.ContextProvider = J, oe.Element = G, oe.ForwardRef = se, oe.Fragment = Q, oe.Lazy = m, oe.Memo = B, oe.Portal = P, oe.Profiler = U, oe.StrictMode = Z, oe.Suspense = q, oe.isAsyncMode = Ce, oe.isConcurrentMode = w, oe.isContextConsumer = p, oe.isContextProvider = A, oe.isElement = I, oe.isForwardRef = M, oe.isFragment = W, oe.isLazy = R, oe.isMemo = N, oe.isPortal = F, oe.isProfiler = z, oe.isStrictMode = V, oe.isSuspense = ae, oe.isValidElementType = O, oe.typeOf = C;
2405
2404
  }()), oe;
2406
2405
  }
2407
2406
  var Yi;
@@ -2538,8 +2537,8 @@ function uf() {
2538
2537
  }
2539
2538
  return to = function(a, c) {
2540
2539
  var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
2541
- function d(b) {
2542
- var p = b && (l && b[l] || b[f]);
2540
+ function d(w) {
2541
+ var p = w && (l && w[l] || w[f]);
2543
2542
  if (typeof p == "function")
2544
2543
  return p;
2545
2544
  }
@@ -2552,11 +2551,11 @@ function uf() {
2552
2551
  object: x("object"),
2553
2552
  string: x("string"),
2554
2553
  symbol: x("symbol"),
2555
- any: O(),
2556
- arrayOf: w,
2554
+ any: b(),
2555
+ arrayOf: O,
2557
2556
  element: C(),
2558
2557
  elementType: S(),
2559
- instanceOf: A,
2558
+ instanceOf: D,
2560
2559
  node: se(),
2561
2560
  objectOf: J,
2562
2561
  oneOf: L,
@@ -2564,16 +2563,16 @@ function uf() {
2564
2563
  shape: m,
2565
2564
  exact: B
2566
2565
  };
2567
- function y(b, p) {
2568
- return b === p ? b !== 0 || 1 / b === 1 / p : b !== b && p !== p;
2566
+ function y(w, p) {
2567
+ return w === p ? w !== 0 || 1 / w === 1 / p : w !== w && p !== p;
2569
2568
  }
2570
- function u(b, p) {
2571
- this.message = b, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
2569
+ function u(w, p) {
2570
+ this.message = w, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
2572
2571
  }
2573
2572
  u.prototype = Error.prototype;
2574
- function v(b) {
2573
+ function v(w) {
2575
2574
  if (process.env.NODE_ENV !== "production")
2576
- var p = {}, D = 0;
2575
+ var p = {}, A = 0;
2577
2576
  function I(W, R, N, F, z, V, ae) {
2578
2577
  if (F = F || h, V = V || N, ae !== r) {
2579
2578
  if (c) {
@@ -2584,44 +2583,44 @@ function uf() {
2584
2583
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2585
2584
  var Te = F + ":" + N;
2586
2585
  !p[Te] && // Avoid spamming the console because they are often not actionable except for lib authors
2587
- D < 3 && (i(
2586
+ A < 3 && (i(
2588
2587
  "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + F + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2589
- ), p[Te] = !0, D++);
2588
+ ), p[Te] = !0, A++);
2590
2589
  }
2591
2590
  }
2592
- return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : b(R, N, F, z, V);
2591
+ return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : w(R, N, F, z, V);
2593
2592
  }
2594
2593
  var M = I.bind(null, !1);
2595
2594
  return M.isRequired = I.bind(null, !0), M;
2596
2595
  }
2597
- function x(b) {
2598
- function p(D, I, M, W, R, N) {
2599
- var F = D[I], z = Z(F);
2600
- if (z !== b) {
2596
+ function x(w) {
2597
+ function p(A, I, M, W, R, N) {
2598
+ var F = A[I], z = Z(F);
2599
+ if (z !== w) {
2601
2600
  var V = q(F);
2602
2601
  return new u(
2603
- "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + b + "`."),
2604
- { expectedType: b }
2602
+ "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + w + "`."),
2603
+ { expectedType: w }
2605
2604
  );
2606
2605
  }
2607
2606
  return null;
2608
2607
  }
2609
2608
  return v(p);
2610
2609
  }
2611
- function O() {
2610
+ function b() {
2612
2611
  return v(s);
2613
2612
  }
2614
- function w(b) {
2615
- function p(D, I, M, W, R) {
2616
- if (typeof b != "function")
2613
+ function O(w) {
2614
+ function p(A, I, M, W, R) {
2615
+ if (typeof w != "function")
2617
2616
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
2618
- var N = D[I];
2617
+ var N = A[I];
2619
2618
  if (!Array.isArray(N)) {
2620
2619
  var F = Z(N);
2621
2620
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an array."));
2622
2621
  }
2623
2622
  for (var z = 0; z < N.length; z++) {
2624
- var V = b(N, z, M, W, R + "[" + z + "]", r);
2623
+ var V = w(N, z, M, W, R + "[" + z + "]", r);
2625
2624
  if (V instanceof Error)
2626
2625
  return V;
2627
2626
  }
@@ -2630,47 +2629,47 @@ function uf() {
2630
2629
  return v(p);
2631
2630
  }
2632
2631
  function C() {
2633
- function b(p, D, I, M, W) {
2634
- var R = p[D];
2632
+ function w(p, A, I, M, W) {
2633
+ var R = p[A];
2635
2634
  if (!a(R)) {
2636
2635
  var N = Z(R);
2637
2636
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
2638
2637
  }
2639
2638
  return null;
2640
2639
  }
2641
- return v(b);
2640
+ return v(w);
2642
2641
  }
2643
2642
  function S() {
2644
- function b(p, D, I, M, W) {
2645
- var R = p[D];
2643
+ function w(p, A, I, M, W) {
2644
+ var R = p[A];
2646
2645
  if (!t.isValidElementType(R)) {
2647
2646
  var N = Z(R);
2648
2647
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
2649
2648
  }
2650
2649
  return null;
2651
2650
  }
2652
- return v(b);
2651
+ return v(w);
2653
2652
  }
2654
- function A(b) {
2655
- function p(D, I, M, W, R) {
2656
- if (!(D[I] instanceof b)) {
2657
- var N = b.name || h, F = Ce(D[I]);
2653
+ function D(w) {
2654
+ function p(A, I, M, W, R) {
2655
+ if (!(A[I] instanceof w)) {
2656
+ var N = w.name || h, F = Ce(A[I]);
2658
2657
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected ") + ("instance of `" + N + "`."));
2659
2658
  }
2660
2659
  return null;
2661
2660
  }
2662
2661
  return v(p);
2663
2662
  }
2664
- function L(b) {
2665
- if (!Array.isArray(b))
2663
+ function L(w) {
2664
+ if (!Array.isArray(w))
2666
2665
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
2667
2666
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2668
2667
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
2669
- function p(D, I, M, W, R) {
2670
- for (var N = D[I], F = 0; F < b.length; F++)
2671
- if (y(N, b[F]))
2668
+ function p(A, I, M, W, R) {
2669
+ for (var N = A[I], F = 0; F < w.length; F++)
2670
+ if (y(N, w[F]))
2672
2671
  return null;
2673
- var z = JSON.stringify(b, function(ae, E) {
2672
+ var z = JSON.stringify(w, function(ae, E) {
2674
2673
  var Te = q(E);
2675
2674
  return Te === "symbol" ? String(E) : E;
2676
2675
  });
@@ -2678,16 +2677,16 @@ function uf() {
2678
2677
  }
2679
2678
  return v(p);
2680
2679
  }
2681
- function J(b) {
2682
- function p(D, I, M, W, R) {
2683
- if (typeof b != "function")
2680
+ function J(w) {
2681
+ function p(A, I, M, W, R) {
2682
+ if (typeof w != "function")
2684
2683
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
2685
- var N = D[I], F = Z(N);
2684
+ var N = A[I], F = Z(N);
2686
2685
  if (F !== "object")
2687
2686
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an object."));
2688
2687
  for (var z in N)
2689
2688
  if (n(N, z)) {
2690
- var V = b(N, z, M, W, R + "." + z, r);
2689
+ var V = w(N, z, M, W, R + "." + z, r);
2691
2690
  if (V instanceof Error)
2692
2691
  return V;
2693
2692
  }
@@ -2695,19 +2694,19 @@ function uf() {
2695
2694
  }
2696
2695
  return v(p);
2697
2696
  }
2698
- function G(b) {
2699
- if (!Array.isArray(b))
2697
+ function G(w) {
2698
+ if (!Array.isArray(w))
2700
2699
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
2701
- for (var p = 0; p < b.length; p++) {
2702
- var D = b[p];
2703
- if (typeof D != "function")
2700
+ for (var p = 0; p < w.length; p++) {
2701
+ var A = w[p];
2702
+ if (typeof A != "function")
2704
2703
  return i(
2705
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(D) + " at index " + p + "."
2704
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(A) + " at index " + p + "."
2706
2705
  ), s;
2707
2706
  }
2708
2707
  function I(M, W, R, N, F) {
2709
- for (var z = [], V = 0; V < b.length; V++) {
2710
- var ae = b[V], E = ae(M, W, R, N, F, r);
2708
+ for (var z = [], V = 0; V < w.length; V++) {
2709
+ var ae = w[V], E = ae(M, W, R, N, F, r);
2711
2710
  if (E == null)
2712
2711
  return null;
2713
2712
  E.data && n(E.data, "expectedType") && z.push(E.data.expectedType);
@@ -2718,23 +2717,23 @@ function uf() {
2718
2717
  return v(I);
2719
2718
  }
2720
2719
  function se() {
2721
- function b(p, D, I, M, W) {
2722
- return P(p[D]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
2720
+ function w(p, A, I, M, W) {
2721
+ return P(p[A]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
2723
2722
  }
2724
- return v(b);
2723
+ return v(w);
2725
2724
  }
2726
- function Q(b, p, D, I, M) {
2725
+ function Q(w, p, A, I, M) {
2727
2726
  return new u(
2728
- (b || "React class") + ": " + p + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
2727
+ (w || "React class") + ": " + p + " type `" + A + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
2729
2728
  );
2730
2729
  }
2731
- function m(b) {
2732
- function p(D, I, M, W, R) {
2733
- var N = D[I], F = Z(N);
2730
+ function m(w) {
2731
+ function p(A, I, M, W, R) {
2732
+ var N = A[I], F = Z(N);
2734
2733
  if (F !== "object")
2735
2734
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
2736
- for (var z in b) {
2737
- var V = b[z];
2735
+ for (var z in w) {
2736
+ var V = w[z];
2738
2737
  if (typeof V != "function")
2739
2738
  return Q(M, W, R, z, q(V));
2740
2739
  var ae = V(N, z, M, W, R + "." + z, r);
@@ -2745,20 +2744,20 @@ function uf() {
2745
2744
  }
2746
2745
  return v(p);
2747
2746
  }
2748
- function B(b) {
2749
- function p(D, I, M, W, R) {
2750
- var N = D[I], F = Z(N);
2747
+ function B(w) {
2748
+ function p(A, I, M, W, R) {
2749
+ var N = A[I], F = Z(N);
2751
2750
  if (F !== "object")
2752
2751
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
2753
- var z = e({}, D[I], b);
2752
+ var z = e({}, A[I], w);
2754
2753
  for (var V in z) {
2755
- var ae = b[V];
2756
- if (n(b, V) && typeof ae != "function")
2754
+ var ae = w[V];
2755
+ if (n(w, V) && typeof ae != "function")
2757
2756
  return Q(M, W, R, V, q(ae));
2758
2757
  if (!ae)
2759
2758
  return new u(
2760
- "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
2761
- Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2759
+ "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(A[I], null, " ") + `
2760
+ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
2762
2761
  );
2763
2762
  var E = ae(N, V, M, W, R + "." + V, r);
2764
2763
  if (E)
@@ -2768,28 +2767,28 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2768
2767
  }
2769
2768
  return v(p);
2770
2769
  }
2771
- function P(b) {
2772
- switch (typeof b) {
2770
+ function P(w) {
2771
+ switch (typeof w) {
2773
2772
  case "number":
2774
2773
  case "string":
2775
2774
  case "undefined":
2776
2775
  return !0;
2777
2776
  case "boolean":
2778
- return !b;
2777
+ return !w;
2779
2778
  case "object":
2780
- if (Array.isArray(b))
2781
- return b.every(P);
2782
- if (b === null || a(b))
2779
+ if (Array.isArray(w))
2780
+ return w.every(P);
2781
+ if (w === null || a(w))
2783
2782
  return !0;
2784
- var p = d(b);
2783
+ var p = d(w);
2785
2784
  if (p) {
2786
- var D = p.call(b), I;
2787
- if (p !== b.entries) {
2788
- for (; !(I = D.next()).done; )
2785
+ var A = p.call(w), I;
2786
+ if (p !== w.entries) {
2787
+ for (; !(I = A.next()).done; )
2789
2788
  if (!P(I.value))
2790
2789
  return !1;
2791
2790
  } else
2792
- for (; !(I = D.next()).done; ) {
2791
+ for (; !(I = A.next()).done; ) {
2793
2792
  var M = I.value;
2794
2793
  if (M && !P(M[1]))
2795
2794
  return !1;
@@ -2801,27 +2800,27 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2801
2800
  return !1;
2802
2801
  }
2803
2802
  }
2804
- function U(b, p) {
2805
- return b === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
2803
+ function U(w, p) {
2804
+ return w === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
2806
2805
  }
2807
- function Z(b) {
2808
- var p = typeof b;
2809
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : U(p, b) ? "symbol" : p;
2806
+ function Z(w) {
2807
+ var p = typeof w;
2808
+ return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : U(p, w) ? "symbol" : p;
2810
2809
  }
2811
- function q(b) {
2812
- if (typeof b > "u" || b === null)
2813
- return "" + b;
2814
- var p = Z(b);
2810
+ function q(w) {
2811
+ if (typeof w > "u" || w === null)
2812
+ return "" + w;
2813
+ var p = Z(w);
2815
2814
  if (p === "object") {
2816
- if (b instanceof Date)
2815
+ if (w instanceof Date)
2817
2816
  return "date";
2818
- if (b instanceof RegExp)
2817
+ if (w instanceof RegExp)
2819
2818
  return "regexp";
2820
2819
  }
2821
2820
  return p;
2822
2821
  }
2823
- function pe(b) {
2824
- var p = q(b);
2822
+ function pe(w) {
2823
+ var p = q(w);
2825
2824
  switch (p) {
2826
2825
  case "array":
2827
2826
  case "object":
@@ -2834,8 +2833,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2834
2833
  return p;
2835
2834
  }
2836
2835
  }
2837
- function Ce(b) {
2838
- return !b.constructor || !b.constructor.name ? h : b.constructor.name;
2836
+ function Ce(w) {
2837
+ return !w.constructor || !w.constructor.name ? h : w.constructor.name;
2839
2838
  }
2840
2839
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
2841
2840
  }, to;
@@ -4102,7 +4101,7 @@ function Td(t = {}) {
4102
4101
  wd(a, e, r);
4103
4102
  }
4104
4103
  return (a, c = {}) => {
4105
- pf(a, (A) => A.filter((L) => L !== zt));
4104
+ pf(a, (D) => D.filter((L) => L !== zt));
4106
4105
  const {
4107
4106
  name: l,
4108
4107
  slot: f,
@@ -4117,28 +4116,28 @@ function Td(t = {}) {
4117
4116
  // For more details: https://github.com/mui/material-ui/pull/37908
4118
4117
  f && f !== "Root" && f !== "root" || !1
4119
4118
  ), x = h || !1;
4120
- let O = no;
4121
- f === "Root" || f === "root" ? O = n : f ? O = o : Cd(a) && (O = void 0);
4122
- const w = hf(a, {
4123
- shouldForwardProp: O,
4119
+ let b = no;
4120
+ f === "Root" || f === "root" ? b = n : f ? b = o : Cd(a) && (b = void 0);
4121
+ const O = hf(a, {
4122
+ shouldForwardProp: b,
4124
4123
  label: xd(l, f),
4125
4124
  ...y
4126
- }), C = (A) => {
4127
- if (A.__emotion_real === A)
4128
- return A;
4129
- if (typeof A == "function")
4125
+ }), C = (D) => {
4126
+ if (D.__emotion_real === D)
4127
+ return D;
4128
+ if (typeof D == "function")
4130
4129
  return function(J) {
4131
- return qr(J, A, J.theme.modularCssLayers ? u : void 0);
4130
+ return qr(J, D, J.theme.modularCssLayers ? u : void 0);
4132
4131
  };
4133
- if (ft(A)) {
4134
- const L = ja(A);
4132
+ if (ft(D)) {
4133
+ const L = ja(D);
4135
4134
  return function(G) {
4136
4135
  return L.variants ? qr(G, L, G.theme.modularCssLayers ? u : void 0) : G.theme.modularCssLayers ? dt(L.style, u) : L.style;
4137
4136
  };
4138
4137
  }
4139
- return A;
4140
- }, S = (...A) => {
4141
- const L = [], J = A.map(C), G = [];
4138
+ return D;
4139
+ }, S = (...D) => {
4140
+ const L = [], J = D.map(C), G = [];
4142
4141
  if (L.push(i), l && g && G.push(function(B) {
4143
4142
  var q, pe;
4144
4143
  const U = (pe = (q = B.theme.components) == null ? void 0 : q[l]) == null ? void 0 : pe.styleOverrides;
@@ -4157,10 +4156,10 @@ function Td(t = {}) {
4157
4156
  let U;
4158
4157
  U = [...B, ...m, ...P], U.raw = [...B, ...m.raw, ...P], L.unshift(U);
4159
4158
  }
4160
- const se = [...L, ...J, ...G], Q = w(...se);
4159
+ const se = [...L, ...J, ...G], Q = O(...se);
4161
4160
  return a.muiName && (Q.muiName = a.muiName), process.env.NODE_ENV !== "production" && (Q.displayName = Ed(l, f, a)), Q;
4162
4161
  };
4163
- return w.withConfig && (S.withConfig = w.withConfig), S;
4162
+ return O.withConfig && (S.withConfig = O.withConfig), S;
4164
4163
  };
4165
4164
  }
4166
4165
  function Ed(t, e, r) {
@@ -4472,37 +4471,37 @@ function Vd(t, e = {}) {
4472
4471
  } = s;
4473
4472
  if (Object.entries(v || {}).forEach(([C, S]) => {
4474
4473
  const {
4475
- vars: A,
4474
+ vars: D,
4476
4475
  css: L,
4477
4476
  varsWithDefaults: J
4478
4477
  } = oo(S, e);
4479
4478
  g = yt(g, J), y[C] = {
4480
4479
  css: L,
4481
- vars: A
4480
+ vars: D
4482
4481
  };
4483
4482
  }), u) {
4484
4483
  const {
4485
4484
  css: C,
4486
4485
  vars: S,
4487
- varsWithDefaults: A
4486
+ varsWithDefaults: D
4488
4487
  } = oo(u, e);
4489
- g = yt(g, A), y[c] = {
4488
+ g = yt(g, D), y[c] = {
4490
4489
  css: C,
4491
4490
  vars: S
4492
4491
  };
4493
4492
  }
4494
4493
  function x(C, S) {
4495
4494
  var L, J;
4496
- let A = o;
4497
- if (o === "class" && (A = ".%s"), o === "data" && (A = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (A = `[${o}="%s"]`), C) {
4498
- if (A === "media")
4495
+ let D = o;
4496
+ if (o === "class" && (D = ".%s"), o === "data" && (D = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (D = `[${o}="%s"]`), C) {
4497
+ if (D === "media")
4499
4498
  return t.defaultColorScheme === C ? ":root" : {
4500
4499
  [`@media (prefers-color-scheme: ${((J = (L = s[C]) == null ? void 0 : L.palette) == null ? void 0 : J.mode) || C})`]: {
4501
4500
  ":root": S
4502
4501
  }
4503
4502
  };
4504
- if (A)
4505
- return t.defaultColorScheme === C ? `:root, ${A.replace("%s", String(C))}` : A.replace("%s", String(C));
4503
+ if (D)
4504
+ return t.defaultColorScheme === C ? `:root, ${D.replace("%s", String(C))}` : D.replace("%s", String(C));
4506
4505
  }
4507
4506
  return ":root";
4508
4507
  }
@@ -4521,14 +4520,14 @@ function Vd(t, e = {}) {
4521
4520
  generateStyleSheets: () => {
4522
4521
  var G, se;
4523
4522
  const C = [], S = t.defaultColorScheme || "light";
4524
- function A(Q, m) {
4523
+ function D(Q, m) {
4525
4524
  Object.keys(m).length && C.push(typeof Q == "string" ? {
4526
4525
  [Q]: {
4527
4526
  ...m
4528
4527
  }
4529
4528
  } : Q);
4530
4529
  }
4531
- A(r(void 0, {
4530
+ D(r(void 0, {
4532
4531
  ...d
4533
4532
  }), d);
4534
4533
  const {
@@ -4544,7 +4543,7 @@ function Vd(t, e = {}) {
4544
4543
  } : {
4545
4544
  ...Q
4546
4545
  };
4547
- A(r(S, {
4546
+ D(r(S, {
4548
4547
  ...B
4549
4548
  }), B);
4550
4549
  }
@@ -4558,7 +4557,7 @@ function Vd(t, e = {}) {
4558
4557
  } : {
4559
4558
  ...m
4560
4559
  };
4561
- A(r(Q, {
4560
+ D(r(Q, {
4562
4561
  ...P
4563
4562
  }), P);
4564
4563
  }), i && C.push({
@@ -4821,8 +4820,8 @@ function ei(t) {
4821
4820
  return Qd(v);
4822
4821
  const x = ls(v, Co.text.primary) >= r ? Co.text.primary : Ua.text.primary;
4823
4822
  if (process.env.NODE_ENV !== "production") {
4824
- const O = ls(v, x);
4825
- O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${x} on ${v}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
4823
+ const b = ls(v, x);
4824
+ b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${x} on ${v}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
4826
4825
  `));
4827
4826
  }
4828
4827
  return x;
@@ -4830,15 +4829,15 @@ function ei(t) {
4830
4829
  const g = ({
4831
4830
  color: v,
4832
4831
  name: x,
4833
- mainShade: O = 500,
4834
- lightShade: w = 300,
4832
+ mainShade: b = 500,
4833
+ lightShade: O = 300,
4835
4834
  darkShade: C = 700
4836
4835
  }) => {
4837
4836
  if (v = {
4838
4837
  ...v
4839
- }, !v.main && v[O] && (v.main = v[O]), !v.hasOwnProperty("main"))
4838
+ }, !v.main && v[b] && (v.main = v[b]), !v.hasOwnProperty("main"))
4840
4839
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
4841
- The color object needs to have a \`main\` property or a \`${O}\` property.` : hr(11, x ? ` (${x})` : "", O));
4840
+ The color object needs to have a \`main\` property or a \`${b}\` property.` : hr(11, x ? ` (${x})` : "", b));
4842
4841
  if (typeof v.main != "string")
4843
4842
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
4844
4843
  \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
@@ -4854,7 +4853,7 @@ const theme1 = createTheme({ palette: {
4854
4853
  const theme2 = createTheme({ palette: {
4855
4854
  primary: { main: green[500] },
4856
4855
  } });` : hr(12, x ? ` (${x})` : "", JSON.stringify(v.main)));
4857
- return o ? (ms(o, v, "light", w, n), ms(o, v, "dark", C, n)) : (ds(v, "light", w, n), ds(v, "dark", C, n)), v.contrastText || (v.contrastText = h(v.main)), v;
4856
+ return o ? (ms(o, v, "light", O, n), ms(o, v, "dark", C, n)) : (ds(v, "light", O, n), ds(v, "dark", C, n)), v.contrastText || (v.contrastText = h(v.main)), v;
4858
4857
  };
4859
4858
  let y;
4860
4859
  return e === "light" ? y = za() : e === "dark" && (y = Za()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${e}\` is not supported.`)), gt({
@@ -4994,16 +4993,16 @@ function rm(t, e) {
4994
4993
  ...d
4995
4994
  } = typeof e == "function" ? e(t) : e;
4996
4995
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
4997
- const h = n / 14, g = f || ((v) => `${v / c * h}rem`), y = (v, x, O, w, C) => ({
4996
+ const h = n / 14, g = f || ((v) => `${v / c * h}rem`), y = (v, x, b, O, C) => ({
4998
4997
  fontFamily: r,
4999
4998
  fontWeight: v,
5000
4999
  fontSize: g(x),
5001
5000
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
5002
- lineHeight: O,
5001
+ lineHeight: b,
5003
5002
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
5004
5003
  // across font-families can cause issues with the kerning.
5005
5004
  ...r === ys ? {
5006
- letterSpacing: `${tm(w / x)}em`
5005
+ letterSpacing: `${tm(O / x)}em`
5007
5006
  } : {},
5008
5007
  ...C,
5009
5008
  ...l
@@ -5208,20 +5207,20 @@ function Oo(t = {}, ...e) {
5208
5207
  });
5209
5208
  if (g = gt(g, f), g = e.reduce((y, u) => gt(y, u), g), process.env.NODE_ENV !== "production") {
5210
5209
  const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (v, x) => {
5211
- let O;
5212
- for (O in v) {
5213
- const w = v[O];
5214
- if (y.includes(O) && Object.keys(w).length > 0) {
5210
+ let b;
5211
+ for (b in v) {
5212
+ const O = v[b];
5213
+ if (y.includes(b) && Object.keys(O).length > 0) {
5215
5214
  if (process.env.NODE_ENV !== "production") {
5216
- const C = ti("", O);
5217
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
5215
+ const C = ti("", b);
5216
+ console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${b}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
5218
5217
  root: {
5219
- [`&.${C}`]: w
5218
+ [`&.${C}`]: O
5220
5219
  }
5221
5220
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
5222
5221
  `));
5223
5222
  }
5224
- v[O] = {};
5223
+ v[b] = {};
5225
5224
  }
5226
5225
  }
5227
5226
  };
@@ -5406,32 +5405,32 @@ function xm(t = {}, ...e) {
5406
5405
  light: u,
5407
5406
  dark: v,
5408
5407
  ...x
5409
- } = r, O = {
5408
+ } = r, b = {
5410
5409
  ...x
5411
5410
  };
5412
- let w = y;
5413
- if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (w = !0), !w)
5411
+ let O = y;
5412
+ if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (O = !0), !O)
5414
5413
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : hr(21, h));
5415
5414
  let C;
5416
5415
  s && (C = "oklch");
5417
- const S = io(C, O, w, f, h);
5418
- u && !O.light && io(C, O, u, void 0, "light"), v && !O.dark && io(C, O, v, void 0, "dark");
5419
- let A = {
5416
+ const S = io(C, b, O, f, h);
5417
+ u && !b.light && io(C, b, u, void 0, "light"), v && !b.dark && io(C, b, v, void 0, "dark");
5418
+ let D = {
5420
5419
  defaultColorScheme: h,
5421
5420
  ...S,
5422
5421
  cssVarPrefix: i,
5423
5422
  colorSchemeSelector: c,
5424
5423
  rootSelector: l,
5425
5424
  getCssVar: g,
5426
- colorSchemes: O,
5425
+ colorSchemes: b,
5427
5426
  font: {
5428
5427
  ...qd(S.typography),
5429
5428
  ...S.font
5430
5429
  },
5431
5430
  spacing: Tm(f.spacing)
5432
5431
  };
5433
- Object.keys(A.colorSchemes).forEach((Q) => {
5434
- const m = A.colorSchemes[Q].palette, B = (U) => {
5432
+ Object.keys(D.colorSchemes).forEach((Q) => {
5433
+ const m = D.colorSchemes[Q].palette, B = (U) => {
5435
5434
  const Z = U.split("-"), q = Z[1], pe = Z[2];
5436
5435
  return g(U, m[q][pe]);
5437
5436
  };
@@ -5457,31 +5456,31 @@ function xm(t = {}, ...e) {
5457
5456
  const Z = m[U];
5458
5457
  U !== "tonalOffset" && Z && typeof Z == "object" && (Z.main && k(m[U], "mainChannel", nr(or(Z.main))), Z.light && k(m[U], "lightChannel", nr(or(Z.light))), Z.dark && k(m[U], "darkChannel", nr(or(Z.dark))), Z.contrastText && k(m[U], "contrastTextChannel", nr(or(Z.contrastText))), U === "text" && (Ge(m[U], "primary"), Ge(m[U], "secondary")), U === "action" && (Z.active && Ge(m[U], "active"), Z.selected && Ge(m[U], "selected")));
5459
5458
  });
5460
- }), A = e.reduce((Q, m) => gt(Q, m), A);
5459
+ }), D = e.reduce((Q, m) => gt(Q, m), D);
5461
5460
  const L = {
5462
5461
  prefix: i,
5463
5462
  disableCssColorScheme: o,
5464
5463
  shouldSkipGeneratingVar: a,
5465
- getSelector: bm(A),
5464
+ getSelector: bm(D),
5466
5465
  enableContrastVars: s
5467
5466
  }, {
5468
5467
  vars: J,
5469
5468
  generateThemeVars: G,
5470
5469
  generateStyleSheets: se
5471
- } = Vd(A, L);
5472
- return A.vars = J, Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([Q, m]) => {
5473
- A[Q] = m;
5474
- }), A.generateThemeVars = G, A.generateStyleSheets = se, A.generateSpacing = function() {
5470
+ } = Vd(D, L);
5471
+ return D.vars = J, Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([Q, m]) => {
5472
+ D[Q] = m;
5473
+ }), D.generateThemeVars = G, D.generateStyleSheets = se, D.generateSpacing = function() {
5475
5474
  return Na(f.spacing, qo(this));
5476
- }, A.getColorSchemeSelector = Hd(c), A.spacing = A.generateSpacing(), A.shouldSkipGeneratingVar = a, A.unstable_sxConfig = {
5475
+ }, D.getColorSchemeSelector = Hd(c), D.spacing = D.generateSpacing(), D.shouldSkipGeneratingVar = a, D.unstable_sxConfig = {
5477
5476
  ...On,
5478
5477
  ...f == null ? void 0 : f.unstable_sxConfig
5479
- }, A.unstable_sx = function(m) {
5478
+ }, D.unstable_sx = function(m) {
5480
5479
  return zt({
5481
5480
  sx: m,
5482
5481
  theme: this
5483
5482
  });
5484
- }, A.toRuntimeSource = Ja, A;
5483
+ }, D.toRuntimeSource = Ja, D;
5485
5484
  }
5486
5485
  function Ss(t, e, r) {
5487
5486
  t.colorSchemes && r && (t.colorSchemes[e] = {
@@ -10044,17 +10043,17 @@ class Y {
10044
10043
  if (h && f)
10045
10044
  throw new jt("Can't mix ordinal dates with month/day");
10046
10045
  const u = y || i.weekday && !g;
10047
- let v, x, O = Yr(c, l);
10048
- u ? (v = Lp, x = Np, O = un(O, s, a)) : f ? (v = Rp, x = Pp, O = lo(O)) : (v = _r, x = Qc);
10049
- let w = !1;
10046
+ let v, x, b = Yr(c, l);
10047
+ u ? (v = Lp, x = Np, b = un(b, s, a)) : f ? (v = Rp, x = Pp, b = lo(b)) : (v = _r, x = Qc);
10048
+ let O = !1;
10050
10049
  for (const se of v) {
10051
10050
  const Q = i[se];
10052
- K(Q) ? w ? i[se] = x[se] : i[se] = O[se] : w = !0;
10051
+ K(Q) ? O ? i[se] = x[se] : i[se] = b[se] : O = !0;
10053
10052
  }
10054
10053
  const C = u ? uh(i, s, a) : f ? fh(i) : wc(i), S = C || Tc(i);
10055
10054
  if (S)
10056
10055
  return Y.invalid(S);
10057
- const A = u ? Ms(i, s, a) : f ? Is(i) : i, [L, J] = Xr(A, l, n), G = new Y({
10056
+ const D = u ? Ms(i, s, a) : f ? Is(i) : i, [L, J] = Xr(D, l, n), G = new Y({
10058
10057
  ts: L,
10059
10058
  zone: n,
10060
10059
  o: J,
@@ -11830,16 +11829,16 @@ function Hp() {
11830
11829
  v = s({
11831
11830
  inst: { value: u, getSnapshot: y }
11832
11831
  });
11833
- var x = v[0].inst, O = v[1];
11832
+ var x = v[0].inst, b = v[1];
11834
11833
  return c(
11835
11834
  function() {
11836
- x.value = u, x.getSnapshot = y, r(x) && O({ inst: x });
11835
+ x.value = u, x.getSnapshot = y, r(x) && b({ inst: x });
11837
11836
  },
11838
11837
  [g, u, y]
11839
11838
  ), a(
11840
11839
  function() {
11841
- return r(x) && O({ inst: x }), g(function() {
11842
- r(x) && O({ inst: x });
11840
+ return r(x) && b({ inst: x }), g(function() {
11841
+ r(x) && b({ inst: x });
11843
11842
  });
11844
11843
  },
11845
11844
  [g]
@@ -11893,20 +11892,20 @@ function zp() {
11893
11892
  } else u = y.current;
11894
11893
  y = a(
11895
11894
  function() {
11896
- function x(A) {
11897
- if (!O) {
11898
- if (O = !0, w = A, A = h(A), g !== void 0 && u.hasValue) {
11895
+ function x(D) {
11896
+ if (!b) {
11897
+ if (b = !0, O = D, D = h(D), g !== void 0 && u.hasValue) {
11899
11898
  var L = u.value;
11900
- if (g(L, A))
11899
+ if (g(L, D))
11901
11900
  return C = L;
11902
11901
  }
11903
- return C = A;
11902
+ return C = D;
11904
11903
  }
11905
- if (L = C, n(w, A)) return L;
11906
- var J = h(A);
11907
- return g !== void 0 && g(L, J) ? (w = A, L) : (w = A, C = J);
11904
+ if (L = C, n(O, D)) return L;
11905
+ var J = h(D);
11906
+ return g !== void 0 && g(L, J) ? (O = D, L) : (O = D, C = J);
11908
11907
  }
11909
- var O = !1, w, C, S = d === void 0 ? null : d;
11908
+ var b = !1, O, C, S = d === void 0 ? null : d;
11910
11909
  return [
11911
11910
  function() {
11912
11911
  return x(f());
@@ -11953,21 +11952,21 @@ function Up() {
11953
11952
  } else u = y.current;
11954
11953
  y = a(
11955
11954
  function() {
11956
- function x(A) {
11957
- if (!O) {
11958
- if (O = !0, w = A, A = h(A), g !== void 0 && u.hasValue) {
11955
+ function x(D) {
11956
+ if (!b) {
11957
+ if (b = !0, O = D, D = h(D), g !== void 0 && u.hasValue) {
11959
11958
  var L = u.value;
11960
- if (g(L, A))
11959
+ if (g(L, D))
11961
11960
  return C = L;
11962
11961
  }
11963
- return C = A;
11962
+ return C = D;
11964
11963
  }
11965
- if (L = C, n(w, A))
11964
+ if (L = C, n(O, D))
11966
11965
  return L;
11967
- var J = h(A);
11968
- return g !== void 0 && g(L, J) ? (w = A, L) : (w = A, C = J);
11966
+ var J = h(D);
11967
+ return g !== void 0 && g(L, J) ? (O = D, L) : (O = D, C = J);
11969
11968
  }
11970
- var O = !1, w, C, S = d === void 0 ? null : d;
11969
+ var b = !1, O, C, S = d === void 0 ? null : d;
11971
11970
  return [
11972
11971
  function() {
11973
11972
  return x(f());
@@ -12096,14 +12095,14 @@ const gr = (t) => (e) => {
12096
12095
  const f = gr(i.serialize), d = () => {
12097
12096
  const v = i.partialize({ ...n() });
12098
12097
  let x;
12099
- const O = f({ state: v, version: i.version }).then(
12100
- (w) => l.setItem(i.name, w)
12101
- ).catch((w) => {
12102
- x = w;
12098
+ const b = f({ state: v, version: i.version }).then(
12099
+ (O) => l.setItem(i.name, O)
12100
+ ).catch((O) => {
12101
+ x = O;
12103
12102
  });
12104
12103
  if (x)
12105
12104
  throw x;
12106
- return O;
12105
+ return b;
12107
12106
  }, h = o.setState;
12108
12107
  o.setState = (v, x) => {
12109
12108
  h(v, x), d();
@@ -12119,34 +12118,34 @@ const gr = (t) => (e) => {
12119
12118
  const u = () => {
12120
12119
  var v;
12121
12120
  if (!l) return;
12122
- s = !1, a.forEach((O) => O(n()));
12121
+ s = !1, a.forEach((b) => b(n()));
12123
12122
  const x = ((v = i.onRehydrateStorage) == null ? void 0 : v.call(i, n())) || void 0;
12124
- return gr(l.getItem.bind(l))(i.name).then((O) => {
12125
- if (O)
12126
- return i.deserialize(O);
12127
- }).then((O) => {
12128
- if (O)
12129
- if (typeof O.version == "number" && O.version !== i.version) {
12123
+ return gr(l.getItem.bind(l))(i.name).then((b) => {
12124
+ if (b)
12125
+ return i.deserialize(b);
12126
+ }).then((b) => {
12127
+ if (b)
12128
+ if (typeof b.version == "number" && b.version !== i.version) {
12130
12129
  if (i.migrate)
12131
12130
  return i.migrate(
12132
- O.state,
12133
- O.version
12131
+ b.state,
12132
+ b.version
12134
12133
  );
12135
12134
  console.error(
12136
12135
  "State loaded from storage couldn't be migrated since no migrate function was provided"
12137
12136
  );
12138
12137
  } else
12139
- return O.state;
12140
- }).then((O) => {
12141
- var w;
12138
+ return b.state;
12139
+ }).then((b) => {
12140
+ var O;
12142
12141
  return y = i.merge(
12143
- O,
12144
- (w = n()) != null ? w : g
12142
+ b,
12143
+ (O = n()) != null ? O : g
12145
12144
  ), r(y, !0), d();
12146
12145
  }).then(() => {
12147
- x == null || x(y, void 0), s = !0, c.forEach((O) => O(y));
12148
- }).catch((O) => {
12149
- x == null || x(void 0, O);
12146
+ x == null || x(y, void 0), s = !0, c.forEach((b) => b(y));
12147
+ }).catch((b) => {
12148
+ x == null || x(void 0, b);
12150
12149
  });
12151
12150
  };
12152
12151
  return o.persist = {
@@ -12214,40 +12213,40 @@ const gr = (t) => (e) => {
12214
12213
  const y = () => {
12215
12214
  var u, v;
12216
12215
  if (!l) return;
12217
- s = !1, a.forEach((O) => {
12218
- var w;
12219
- return O((w = n()) != null ? w : h);
12216
+ s = !1, a.forEach((b) => {
12217
+ var O;
12218
+ return b((O = n()) != null ? O : h);
12220
12219
  });
12221
12220
  const x = ((v = i.onRehydrateStorage) == null ? void 0 : v.call(i, (u = n()) != null ? u : h)) || void 0;
12222
- return gr(l.getItem.bind(l))(i.name).then((O) => {
12223
- if (O)
12224
- if (typeof O.version == "number" && O.version !== i.version) {
12221
+ return gr(l.getItem.bind(l))(i.name).then((b) => {
12222
+ if (b)
12223
+ if (typeof b.version == "number" && b.version !== i.version) {
12225
12224
  if (i.migrate)
12226
12225
  return [
12227
12226
  !0,
12228
12227
  i.migrate(
12229
- O.state,
12230
- O.version
12228
+ b.state,
12229
+ b.version
12231
12230
  )
12232
12231
  ];
12233
12232
  console.error(
12234
12233
  "State loaded from storage couldn't be migrated since no migrate function was provided"
12235
12234
  );
12236
12235
  } else
12237
- return [!1, O.state];
12236
+ return [!1, b.state];
12238
12237
  return [!1, void 0];
12239
- }).then((O) => {
12240
- var w;
12241
- const [C, S] = O;
12238
+ }).then((b) => {
12239
+ var O;
12240
+ const [C, S] = b;
12242
12241
  if (g = i.merge(
12243
12242
  S,
12244
- (w = n()) != null ? w : h
12243
+ (O = n()) != null ? O : h
12245
12244
  ), r(g, !0), C)
12246
12245
  return f();
12247
12246
  }).then(() => {
12248
- x == null || x(g, void 0), g = n(), s = !0, c.forEach((O) => O(g));
12249
- }).catch((O) => {
12250
- x == null || x(void 0, O);
12247
+ x == null || x(g, void 0), g = n(), s = !0, c.forEach((b) => b(g));
12248
+ }).catch((b) => {
12249
+ x == null || x(void 0, b);
12251
12250
  });
12252
12251
  };
12253
12252
  return o.persist = {
@@ -13052,88 +13051,88 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13052
13051
  slots: { toolbar: Cy }
13053
13052
  }
13054
13053
  );
13055
- }, rl = ll({}), Ay = () => cl(rl), Gy = ({ children: t, logos: e = {}, apiConfig: r }) => {
13056
- var v, x, O;
13057
- const { user: n } = mn(), { getUser: o, logout: i } = Ho(), { navigation: s } = wo(), a = iu(), c = br(), { getTheme: l, colorSchemePreference: f } = $c(), [d, h] = Be(() => {
13058
- var A;
13059
- const w = l(), C = (w == null ? void 0 : w.defaultColorScheme) || "light", S = (A = w == null ? void 0 : w.colorSchemes) == null ? void 0 : A[C];
13060
- return S ? Bn({
13054
+ }, rl = ll({}), Ay = () => cl(rl), Gy = ({ children: t, logos: e = {} }) => {
13055
+ var u, v, x;
13056
+ const { user: r } = mn(), { getUser: n, logout: o } = Ho(), { navigation: i } = wo(), s = iu(), a = br(), { getTheme: c, colorSchemePreference: l } = $c(), [f, d] = Be(() => {
13057
+ var S;
13058
+ const b = c(), O = (b == null ? void 0 : b.defaultColorScheme) || "light", C = (S = b == null ? void 0 : b.colorSchemes) == null ? void 0 : S[O];
13059
+ return C ? Bn({
13061
13060
  palette: {
13062
- ...S.palette,
13063
- mode: C
13061
+ ...C.palette,
13062
+ mode: O
13064
13063
  },
13065
- typography: w.typography,
13066
- shape: w.shape,
13067
- spacing: w.spacing,
13068
- breakpoints: w.breakpoints,
13069
- components: w.components,
13070
- transitions: w.transitions,
13071
- zIndex: w.zIndex
13072
- }) : (console.error("No initial color scheme found for mode:", C), Bn());
13064
+ typography: b.typography,
13065
+ shape: b.shape,
13066
+ spacing: b.spacing,
13067
+ breakpoints: b.breakpoints,
13068
+ components: b.components,
13069
+ transitions: b.transitions,
13070
+ zIndex: b.zIndex
13071
+ }) : (console.error("No initial color scheme found for mode:", O), Bn());
13073
13072
  });
13074
13073
  Me(() => {
13075
- var L, J, G, se, Q, m, B, P, U, Z, q, pe, Ce, b;
13076
- const w = l();
13077
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:99", message: "Theme store changed", data: { defaultColorScheme: w == null ? void 0 : w.defaultColorScheme, darkBackgroundDefault: (se = (G = (J = (L = w == null ? void 0 : w.colorSchemes) == null ? void 0 : L.dark) == null ? void 0 : J.palette) == null ? void 0 : G.background) == null ? void 0 : se.default, lightBackgroundDefault: (P = (B = (m = (Q = w == null ? void 0 : w.colorSchemes) == null ? void 0 : Q.light) == null ? void 0 : m.palette) == null ? void 0 : B.background) == null ? void 0 : P.default }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "A" }) }).catch(() => {
13074
+ var D, L, J, G, se, Q, m, B, P, U, Z, q, pe, Ce;
13075
+ const b = c();
13076
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:99", message: "Theme store changed", data: { defaultColorScheme: b == null ? void 0 : b.defaultColorScheme, darkBackgroundDefault: (G = (J = (L = (D = b == null ? void 0 : b.colorSchemes) == null ? void 0 : D.dark) == null ? void 0 : L.palette) == null ? void 0 : J.background) == null ? void 0 : G.default, lightBackgroundDefault: (B = (m = (Q = (se = b == null ? void 0 : b.colorSchemes) == null ? void 0 : se.light) == null ? void 0 : Q.palette) == null ? void 0 : m.background) == null ? void 0 : B.default }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "A" }) }).catch(() => {
13078
13077
  });
13079
- const C = (w == null ? void 0 : w.defaultColorScheme) || "light", S = (U = w == null ? void 0 : w.colorSchemes) == null ? void 0 : U[C];
13080
- if (!S) {
13081
- console.error("No color scheme found for mode:", C);
13078
+ const O = (b == null ? void 0 : b.defaultColorScheme) || "light", C = (P = b == null ? void 0 : b.colorSchemes) == null ? void 0 : P[O];
13079
+ if (!C) {
13080
+ console.error("No color scheme found for mode:", O);
13082
13081
  return;
13083
13082
  }
13084
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:108", message: "Creating theme with colorScheme", data: { currentMode: C, backgroundDefault: S.palette.background.default, backgroundPaper: S.palette.background.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "B" }) }).catch(() => {
13083
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:108", message: "Creating theme with colorScheme", data: { currentMode: O, backgroundDefault: C.palette.background.default, backgroundPaper: C.palette.background.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "B" }) }).catch(() => {
13085
13084
  });
13086
- const A = Bn({
13085
+ const S = Bn({
13087
13086
  palette: {
13088
- ...S.palette,
13089
- mode: C
13087
+ ...C.palette,
13088
+ mode: O
13090
13089
  },
13091
- typography: w.typography,
13092
- shape: w.shape,
13093
- spacing: w.spacing,
13094
- breakpoints: w.breakpoints,
13095
- components: w.components,
13096
- transitions: w.transitions,
13097
- zIndex: w.zIndex
13090
+ typography: b.typography,
13091
+ shape: b.shape,
13092
+ spacing: b.spacing,
13093
+ breakpoints: b.breakpoints,
13094
+ components: b.components,
13095
+ transitions: b.transitions,
13096
+ zIndex: b.zIndex
13098
13097
  });
13099
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:121", message: "New theme created", data: { mode: (Z = A.palette) == null ? void 0 : Z.mode, backgroundDefault: (pe = (q = A.palette) == null ? void 0 : q.background) == null ? void 0 : pe.default, backgroundPaper: (b = (Ce = A.palette) == null ? void 0 : Ce.background) == null ? void 0 : b.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "C" }) }).catch(() => {
13100
- }), h(A);
13101
- }, [f, l]), Me(() => {
13102
- const w = d.palette.background.default, C = d.palette.mode || "light";
13103
- document.documentElement.setAttribute("data-mui-color-scheme", C), document.documentElement.setAttribute("data-color-scheme", C), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:127", message: "Before setting DOM backgrounds", data: { bgColor: w, mode: C, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found" }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "D" }) }).catch(() => {
13104
- }), document.body.style.backgroundColor = w, document.documentElement.style.backgroundColor = w;
13105
- const S = document.getElementById("root");
13106
- S && (S.style.backgroundColor = w), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:134", message: "After setting DOM backgrounds", data: { bgColor: w, mode: C, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "E" }) }).catch(() => {
13098
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:121", message: "New theme created", data: { mode: (U = S.palette) == null ? void 0 : U.mode, backgroundDefault: (q = (Z = S.palette) == null ? void 0 : Z.background) == null ? void 0 : q.default, backgroundPaper: (Ce = (pe = S.palette) == null ? void 0 : pe.background) == null ? void 0 : Ce.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "C" }) }).catch(() => {
13099
+ }), d(S);
13100
+ }, [l, c]), Me(() => {
13101
+ const b = f.palette.background.default, O = f.palette.mode || "light";
13102
+ document.documentElement.setAttribute("data-mui-color-scheme", O), document.documentElement.setAttribute("data-color-scheme", O), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:127", message: "Before setting DOM backgrounds", data: { bgColor: b, mode: O, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found" }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "D" }) }).catch(() => {
13103
+ }), document.body.style.backgroundColor = b, document.documentElement.style.backgroundColor = b;
13104
+ const C = document.getElementById("root");
13105
+ C && (C.style.backgroundColor = b), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:134", message: "After setting DOM backgrounds", data: { bgColor: b, mode: O, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "E" }) }).catch(() => {
13107
13106
  });
13108
- }, [d]);
13109
- const y = {
13110
- user: n != null && n.id ? {
13111
- id: n.id,
13112
- name: n.name,
13113
- image: ((v = n.image) == null ? void 0 : v.thumbnail) || ((x = n.image) == null ? void 0 : x.medium) || ((O = n.image) == null ? void 0 : O.large) || "",
13114
- email: n.email
13107
+ }, [f]);
13108
+ const g = {
13109
+ user: r != null && r.id ? {
13110
+ id: r.id,
13111
+ name: r.name,
13112
+ image: ((u = r.image) == null ? void 0 : u.thumbnail) || ((v = r.image) == null ? void 0 : v.medium) || ((x = r.image) == null ? void 0 : x.large) || "",
13113
+ email: r.email
13115
13114
  } : void 0
13116
- }, u = Vo(
13115
+ }, y = Vo(
13117
13116
  () => ({
13118
13117
  signIn: async () => {
13119
- await o();
13118
+ await n();
13120
13119
  },
13121
13120
  signOut: async () => {
13122
- await i();
13121
+ await o();
13123
13122
  }
13124
13123
  }),
13125
- [o, i]
13124
+ [n, o]
13126
13125
  );
13127
13126
  return xl(), Me(() => {
13128
- const w = () => {
13129
- const S = window.getComputedStyle(document.body).backgroundColor, A = window.getComputedStyle(document.documentElement).backgroundColor, L = document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", J = document.querySelector('[data-testid="dashboard-layout"]'), G = J ? window.getComputedStyle(J).backgroundColor : "not found";
13130
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:182", message: "Computed styles check", data: { themeBackgroundDefault: d.palette.background.default, bodyComputed: S, htmlComputed: A, rootComputed: L, dashboardLayoutComputed: G, bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "F" }) }).catch(() => {
13127
+ const b = () => {
13128
+ const C = window.getComputedStyle(document.body).backgroundColor, S = window.getComputedStyle(document.documentElement).backgroundColor, D = document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", L = document.querySelector('[data-testid="dashboard-layout"]'), J = L ? window.getComputedStyle(L).backgroundColor : "not found";
13129
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:182", message: "Computed styles check", data: { themeBackgroundDefault: f.palette.background.default, bodyComputed: C, htmlComputed: S, rootComputed: D, dashboardLayoutComputed: J, bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "F" }) }).catch(() => {
13131
13130
  });
13132
13131
  };
13133
- w();
13134
- const C = setTimeout(w, 100);
13135
- return () => clearTimeout(C);
13136
- }, [d]), /* @__PURE__ */ T.jsx(kl, { apiConfig: r, baseUrl: _c, children: /* @__PURE__ */ T.jsx(rl.Provider, { value: e, children: /* @__PURE__ */ T.jsx(ri, { dateAdapter: Wp, children: /* @__PURE__ */ T.jsx(zu, { maxSnack: 6, autoHideDuration: 1e4, children: /* @__PURE__ */ T.jsx(Cl, { children: /* @__PURE__ */ T.jsxs(Rl, { theme: d, children: [
13132
+ b();
13133
+ const O = setTimeout(b, 100);
13134
+ return () => clearTimeout(O);
13135
+ }, [f]), /* @__PURE__ */ T.jsx(kl, { baseUrl: _c, children: /* @__PURE__ */ T.jsx(rl.Provider, { value: e, children: /* @__PURE__ */ T.jsx(ri, { dateAdapter: Wp, children: /* @__PURE__ */ T.jsx(zu, { maxSnack: 6, autoHideDuration: 1e4, children: /* @__PURE__ */ T.jsx(Cl, { children: /* @__PURE__ */ T.jsxs(Rl, { theme: f, children: [
13137
13136
  /* @__PURE__ */ T.jsx(jl, {}),
13138
13137
  /* @__PURE__ */ T.jsxs(
13139
13138
  vl,
@@ -13142,11 +13141,11 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13142
13141
  logo: /* @__PURE__ */ T.jsx(ay, {}),
13143
13142
  title: ""
13144
13143
  },
13145
- navigation: cu(fa(s)),
13146
- theme: d,
13147
- router: a,
13148
- session: y,
13149
- authentication: u,
13144
+ navigation: cu(fa(i)),
13145
+ theme: f,
13146
+ router: s,
13147
+ session: g,
13148
+ authentication: y,
13150
13149
  children: [
13151
13150
  /* @__PURE__ */ T.jsx(dy, {}),
13152
13151
  /* @__PURE__ */ T.jsxs(
@@ -13185,12 +13184,12 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13185
13184
  },
13186
13185
  // Selected items should have white text in dark mode, primary color in light mode
13187
13186
  "& .MuiListItemButton-root.Mui-selected": {
13188
- color: (w) => w.palette.mode === "dark" ? "white" : w.palette.primary.main,
13187
+ color: (b) => b.palette.mode === "dark" ? "white" : b.palette.primary.main,
13189
13188
  "& .MuiTypography-root": {
13190
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13189
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13191
13190
  },
13192
13191
  "& .MuiTypography-caption": {
13193
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13192
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13194
13193
  }
13195
13194
  }
13196
13195
  },
@@ -13218,12 +13217,12 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13218
13217
  }
13219
13218
  },
13220
13219
  "& .MuiListItemButton-root.Mui-selected": {
13221
- color: (w) => w.palette.mode === "dark" ? "white" : w.palette.primary.main,
13220
+ color: (b) => b.palette.mode === "dark" ? "white" : b.palette.primary.main,
13222
13221
  "& .MuiTypography-root": {
13223
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13222
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13224
13223
  },
13225
13224
  "& .MuiTypography-caption": {
13226
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13225
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13227
13226
  }
13228
13227
  }
13229
13228
  },
@@ -13253,7 +13252,7 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13253
13252
  //Make scrollbars opacity 0
13254
13253
  "&:hover": {
13255
13254
  //Give the scrollbars theme color on hover, not transparent
13256
- scrollbarColor: c.palette.divider + " " + c.palette.background.paper
13255
+ scrollbarColor: a.palette.divider + " " + a.palette.background.paper
13257
13256
  }
13258
13257
  }
13259
13258
  },
@@ -13933,10 +13932,8 @@ const Ly = Py("csrftoken"), ag = tu.create({
13933
13932
  }
13934
13933
  });
13935
13934
  export {
13936
- fg as ApiConfigProvider,
13937
- c0 as BrowserRouter,
13938
- dg as DialogOpener,
13939
- mg as Dialogs,
13935
+ fg as DialogOpener,
13936
+ dg as Dialogs,
13940
13937
  tg as EditableAutocomplete,
13941
13938
  rg as EditableColor,
13942
13939
  $y as EditableImage,
@@ -13945,48 +13942,42 @@ export {
13945
13942
  Xy as EditableSwitch,
13946
13943
  qy as EditableText,
13947
13944
  ng as ErrorBoundary,
13948
- hg as EventBus,
13949
- pg as ExtendedDialog,
13950
- yg as FormDialog,
13951
- l0 as HashRouter,
13945
+ mg as EventBus,
13946
+ hg as ExtendedDialog,
13947
+ pg as FormDialog,
13952
13948
  Iy as Home,
13953
13949
  Qy as IconWithBadge,
13954
- u0 as Link,
13955
- f0 as MemoryRouter,
13956
13950
  sg as MicroserviceSubsections,
13957
13951
  Ky as Microservices,
13958
- d0 as Navigate,
13959
- gg as NavigationFilter,
13960
- vg as NavigationSectionBuilder,
13961
- Sg as Notifications,
13952
+ yg as NavigationFilter,
13953
+ gg as NavigationSectionBuilder,
13954
+ vg as Notifications,
13962
13955
  og as NullStateWarning,
13963
- m0 as Outlet,
13964
- h0 as Route,
13965
- p0 as Routes,
13966
13956
  wy as ThemeToggle,
13967
13957
  Gy as ToolpadProvider,
13968
- bg as UserBus,
13969
- wg as apiPrefix,
13958
+ Sg as UserBus,
13959
+ bg as apiPrefix,
13970
13960
  ag as axios,
13971
13961
  _c as baseUrl,
13972
13962
  ig as buildMicroServiceNavigation,
13973
- Tg as calculateNavigationFromSections,
13974
- Eg as closeDialog,
13975
- xg as convertObjectKeysToCamelCase,
13976
- kg as convertObjectKeysToUnderscore,
13977
- Cg as deleteCookie,
13978
- Og as eventBus,
13979
- Ag as filterNavigationByRole,
13980
- Dg as getAllMicroservices,
13981
- Mg as getAllRegisteredMicroservices,
13982
- Ig as getApiConfig,
13983
- Ng as getApiPrefix,
13984
- Pg as getCookie,
13985
- Lg as getMicroservice,
13986
- Rg as getMicroserviceIds,
13987
- jg as isMicroserviceRegistered,
13988
- Bg as openDialog,
13989
- Fg as parseDate,
13963
+ wg as calculateNavigationFromSections,
13964
+ Tg as closeDialog,
13965
+ Eg as convertObjectKeysToCamelCase,
13966
+ xg as convertObjectKeysToUnderscore,
13967
+ kg as deleteCookie,
13968
+ Cg as eventBus,
13969
+ Og as filterNavigationByRole,
13970
+ Ag as getAllMicroservices,
13971
+ Dg as getAllRegisteredMicroservices,
13972
+ Mg as getApiConfig,
13973
+ Ig as getApiPrefix,
13974
+ Ng as getCookie,
13975
+ Pg as getMicroservice,
13976
+ Lg as getMicroserviceIds,
13977
+ Rg as isMicroserviceRegistered,
13978
+ jg as openDialog,
13979
+ Bg as parseDate,
13980
+ Fg as registerApiEndpoints,
13990
13981
  gy as registerAppToolbarAction,
13991
13982
  Wg as registerDialog,
13992
13983
  Vg as registerMicroservice,
@@ -13999,24 +13990,22 @@ export {
13999
13990
  yy as unregisterPageToolbarAction,
14000
13991
  Jg as unregisterRouteProvider,
14001
13992
  Yg as updateMicroserviceNavigationForSections,
14002
- Gg as useApiConfig,
13993
+ Gg as useApiConfigContext,
14003
13994
  Kg as useCurrentUser,
14004
13995
  Xc as useDialogStore,
14005
- y0 as useLocation,
14006
13996
  Ay as useLogoContext,
14007
13997
  Qg as useMicroserviceNavigation,
14008
13998
  qg as useMicroserviceRegistryStore,
14009
13999
  Xg as useMicroserviceRoutes,
14010
- g0 as useNavigate,
14011
14000
  _g as useNavigationFilterStore,
14012
14001
  $g as useNavigationSectionManager,
14013
14002
  e0 as useNavigationStore,
14014
14003
  t0 as useNotificationStore,
14015
- v0 as useParams,
14016
14004
  r0 as useRetry,
14017
- n0 as useSyncNavigationFilters,
14005
+ n0 as useServiceApiConfig,
14006
+ o0 as useSyncNavigationFilters,
14018
14007
  tl as useToolbarRegistryStore,
14019
- o0 as useUserActions,
14020
- i0 as useUserPreferences,
14021
- s0 as userBus
14008
+ i0 as useUserActions,
14009
+ s0 as useUserPreferences,
14010
+ a0 as userBus
14022
14011
  };