omnieye-theme-studio 1.2.2 → 1.2.3

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.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as p, jsx as i, Fragment as ge } from "react/jsx-runtime";
2
2
  import * as Je from "react";
3
3
  import Mt, { useMemo as Qo, useState as Z, useEffect as _e, useRef as Te, useLayoutEffect as Mr } from "react";
4
- import { Box as S, Collapse as Zo, Button as ke, Tooltip as ze, Typography as ue, Menu as ei, MenuItem as gt, Dialog as mt, DialogTitle as Wt, DialogContent as Ft, TextField as Qr, DialogActions as zt, InputBase as Wr, FormControlLabel as Rt, Switch as yt, Popover as ti, Slider as ri, IconButton as Pr, Select as ni } from "@mui/material";
4
+ import { Box as S, Collapse as Zo, Button as ke, Tooltip as ze, Typography as ue, Menu as ei, MenuItem as gt, Dialog as mt, DialogTitle as Ft, DialogContent as Wt, TextField as Qr, DialogActions as zt, InputBase as Fr, FormControlLabel as Rt, Switch as yt, Popover as ti, Slider as ri, IconButton as Pr, Select as ni } from "@mui/material";
5
5
  import oi from "@emotion/styled";
6
6
  import "@emotion/react";
7
7
  import { createPortal as ii } from "react-dom";
@@ -31,7 +31,7 @@ function st(e) {
31
31
  function li(e) {
32
32
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
33
33
  }
34
- var _t = { exports: {} }, Lt = { exports: {} }, re = {};
34
+ var _t = { exports: {} }, Lt = { exports: {} }, ne = {};
35
35
  /** @license React v16.13.1
36
36
  * react-is.production.min.js
37
37
  *
@@ -42,71 +42,71 @@ var _t = { exports: {} }, Lt = { exports: {} }, re = {};
42
42
  */
43
43
  var en;
44
44
  function di() {
45
- if (en) return re;
45
+ if (en) return ne;
46
46
  en = 1;
47
47
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
48
- function I(w) {
49
- if (typeof w == "object" && w !== null) {
50
- var H = w.$$typeof;
51
- switch (H) {
48
+ function H(k) {
49
+ if (typeof k == "object" && k !== null) {
50
+ var R = k.$$typeof;
51
+ switch (R) {
52
52
  case r:
53
- switch (w = w.type, w) {
53
+ switch (k = k.type, k) {
54
54
  case c:
55
55
  case g:
56
56
  case n:
57
57
  case s:
58
58
  case o:
59
59
  case m:
60
- return w;
60
+ return k;
61
61
  default:
62
- switch (w = w && w.$$typeof, w) {
62
+ switch (k = k && k.$$typeof, k) {
63
63
  case l:
64
64
  case f:
65
65
  case x:
66
66
  case h:
67
67
  case a:
68
- return w;
68
+ return k;
69
69
  default:
70
- return H;
70
+ return R;
71
71
  }
72
72
  }
73
73
  case t:
74
- return H;
74
+ return R;
75
75
  }
76
76
  }
77
77
  }
78
- function C(w) {
79
- return I(w) === g;
78
+ function C(k) {
79
+ return H(k) === g;
80
80
  }
81
- return re.AsyncMode = c, re.ConcurrentMode = g, re.ContextConsumer = l, re.ContextProvider = a, re.Element = r, re.ForwardRef = f, re.Fragment = n, re.Lazy = x, re.Memo = h, re.Portal = t, re.Profiler = s, re.StrictMode = o, re.Suspense = m, re.isAsyncMode = function(w) {
82
- return C(w) || I(w) === c;
83
- }, re.isConcurrentMode = C, re.isContextConsumer = function(w) {
84
- return I(w) === l;
85
- }, re.isContextProvider = function(w) {
86
- return I(w) === a;
87
- }, re.isElement = function(w) {
88
- return typeof w == "object" && w !== null && w.$$typeof === r;
89
- }, re.isForwardRef = function(w) {
90
- return I(w) === f;
91
- }, re.isFragment = function(w) {
92
- return I(w) === n;
93
- }, re.isLazy = function(w) {
94
- return I(w) === x;
95
- }, re.isMemo = function(w) {
96
- return I(w) === h;
97
- }, re.isPortal = function(w) {
98
- return I(w) === t;
99
- }, re.isProfiler = function(w) {
100
- return I(w) === s;
101
- }, re.isStrictMode = function(w) {
102
- return I(w) === o;
103
- }, re.isSuspense = function(w) {
104
- return I(w) === m;
105
- }, re.isValidElementType = function(w) {
106
- return typeof w == "string" || typeof w == "function" || w === n || w === g || w === s || w === o || w === m || w === y || typeof w == "object" && w !== null && (w.$$typeof === x || w.$$typeof === h || w.$$typeof === a || w.$$typeof === l || w.$$typeof === f || w.$$typeof === b || w.$$typeof === v || w.$$typeof === $ || w.$$typeof === u);
107
- }, re.typeOf = I, re;
108
- }
109
- var ne = {};
81
+ return ne.AsyncMode = c, ne.ConcurrentMode = g, ne.ContextConsumer = l, ne.ContextProvider = a, ne.Element = r, ne.ForwardRef = f, ne.Fragment = n, ne.Lazy = x, ne.Memo = h, ne.Portal = t, ne.Profiler = s, ne.StrictMode = o, ne.Suspense = m, ne.isAsyncMode = function(k) {
82
+ return C(k) || H(k) === c;
83
+ }, ne.isConcurrentMode = C, ne.isContextConsumer = function(k) {
84
+ return H(k) === l;
85
+ }, ne.isContextProvider = function(k) {
86
+ return H(k) === a;
87
+ }, ne.isElement = function(k) {
88
+ return typeof k == "object" && k !== null && k.$$typeof === r;
89
+ }, ne.isForwardRef = function(k) {
90
+ return H(k) === f;
91
+ }, ne.isFragment = function(k) {
92
+ return H(k) === n;
93
+ }, ne.isLazy = function(k) {
94
+ return H(k) === x;
95
+ }, ne.isMemo = function(k) {
96
+ return H(k) === h;
97
+ }, ne.isPortal = function(k) {
98
+ return H(k) === t;
99
+ }, ne.isProfiler = function(k) {
100
+ return H(k) === s;
101
+ }, ne.isStrictMode = function(k) {
102
+ return H(k) === o;
103
+ }, ne.isSuspense = function(k) {
104
+ return H(k) === m;
105
+ }, ne.isValidElementType = function(k) {
106
+ return typeof k == "string" || typeof k == "function" || k === n || k === g || k === s || k === o || k === m || k === y || typeof k == "object" && k !== null && (k.$$typeof === x || k.$$typeof === h || k.$$typeof === a || k.$$typeof === l || k.$$typeof === f || k.$$typeof === b || k.$$typeof === v || k.$$typeof === $ || k.$$typeof === u);
107
+ }, ne.typeOf = H, ne;
108
+ }
109
+ var oe = {};
110
110
  /** @license React v16.13.1
111
111
  * react-is.development.js
112
112
  *
@@ -119,16 +119,16 @@ var tn;
119
119
  function ci() {
120
120
  return tn || (tn = 1, process.env.NODE_ENV !== "production" && (function() {
121
121
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
122
- function I(z) {
123
- return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
124
- z === n || z === g || z === s || z === o || z === m || z === y || typeof z == "object" && z !== null && (z.$$typeof === x || z.$$typeof === h || z.$$typeof === a || z.$$typeof === l || z.$$typeof === f || z.$$typeof === b || z.$$typeof === v || z.$$typeof === $ || z.$$typeof === u);
122
+ function H(_) {
123
+ return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
124
+ _ === n || _ === g || _ === s || _ === o || _ === m || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === x || _.$$typeof === h || _.$$typeof === a || _.$$typeof === l || _.$$typeof === f || _.$$typeof === b || _.$$typeof === v || _.$$typeof === $ || _.$$typeof === u);
125
125
  }
126
- function C(z) {
127
- if (typeof z == "object" && z !== null) {
128
- var me = z.$$typeof;
126
+ function C(_) {
127
+ if (typeof _ == "object" && _ !== null) {
128
+ var me = _.$$typeof;
129
129
  switch (me) {
130
130
  case r:
131
- var Ne = z.type;
131
+ var Ne = _.type;
132
132
  switch (Ne) {
133
133
  case c:
134
134
  case g:
@@ -155,48 +155,48 @@ function ci() {
155
155
  }
156
156
  }
157
157
  }
158
- var w = c, H = g, W = l, B = a, X = r, Q = f, Y = n, d = x, O = h, A = t, _ = s, L = o, q = m, U = !1;
159
- function G(z) {
160
- return U || (U = !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.")), P(z) || C(z) === c;
158
+ var k = c, R = g, z = l, I = a, X = r, Q = f, Y = n, d = x, B = h, A = t, L = s, N = o, K = m, U = !1;
159
+ function J(_) {
160
+ return U || (U = !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.")), P(_) || C(_) === c;
161
161
  }
162
- function P(z) {
163
- return C(z) === g;
162
+ function P(_) {
163
+ return C(_) === g;
164
164
  }
165
- function M(z) {
166
- return C(z) === l;
165
+ function D(_) {
166
+ return C(_) === l;
167
167
  }
168
- function J(z) {
169
- return C(z) === a;
168
+ function q(_) {
169
+ return C(_) === a;
170
170
  }
171
- function V(z) {
172
- return typeof z == "object" && z !== null && z.$$typeof === r;
171
+ function V(_) {
172
+ return typeof _ == "object" && _ !== null && _.$$typeof === r;
173
173
  }
174
- function N(z) {
175
- return C(z) === f;
174
+ function G(_) {
175
+ return C(_) === f;
176
176
  }
177
- function F(z) {
178
- return C(z) === n;
177
+ function M(_) {
178
+ return C(_) === n;
179
179
  }
180
- function k(z) {
181
- return C(z) === x;
180
+ function w(_) {
181
+ return C(_) === x;
182
182
  }
183
- function D(z) {
184
- return C(z) === h;
183
+ function O(_) {
184
+ return C(_) === h;
185
185
  }
186
- function E(z) {
187
- return C(z) === t;
186
+ function F(_) {
187
+ return C(_) === t;
188
188
  }
189
- function R(z) {
190
- return C(z) === s;
189
+ function E(_) {
190
+ return C(_) === s;
191
191
  }
192
- function K(z) {
193
- return C(z) === o;
192
+ function W(_) {
193
+ return C(_) === o;
194
194
  }
195
- function le(z) {
196
- return C(z) === m;
195
+ function te(_) {
196
+ return C(_) === m;
197
197
  }
198
- ne.AsyncMode = w, ne.ConcurrentMode = H, ne.ContextConsumer = W, ne.ContextProvider = B, ne.Element = X, ne.ForwardRef = Q, ne.Fragment = Y, ne.Lazy = d, ne.Memo = O, ne.Portal = A, ne.Profiler = _, ne.StrictMode = L, ne.Suspense = q, ne.isAsyncMode = G, ne.isConcurrentMode = P, ne.isContextConsumer = M, ne.isContextProvider = J, ne.isElement = V, ne.isForwardRef = N, ne.isFragment = F, ne.isLazy = k, ne.isMemo = D, ne.isPortal = E, ne.isProfiler = R, ne.isStrictMode = K, ne.isSuspense = le, ne.isValidElementType = I, ne.typeOf = C;
199
- })()), ne;
198
+ oe.AsyncMode = k, oe.ConcurrentMode = R, oe.ContextConsumer = z, oe.ContextProvider = I, oe.Element = X, oe.ForwardRef = Q, oe.Fragment = Y, oe.Lazy = d, oe.Memo = B, oe.Portal = A, oe.Profiler = L, oe.StrictMode = N, oe.Suspense = K, oe.isAsyncMode = J, oe.isConcurrentMode = P, oe.isContextConsumer = D, oe.isContextProvider = q, oe.isElement = V, oe.isForwardRef = G, oe.isFragment = M, oe.isLazy = w, oe.isMemo = O, oe.isPortal = F, oe.isProfiler = E, oe.isStrictMode = W, oe.isSuspense = te, oe.isValidElementType = H, oe.typeOf = C;
199
+ })()), oe;
200
200
  }
201
201
  var rn;
202
202
  function _n() {
@@ -254,7 +254,7 @@ function pi() {
254
254
  }, gr;
255
255
  }
256
256
  var mr, on;
257
- function Fr() {
257
+ function Wr() {
258
258
  if (on) return mr;
259
259
  on = 1;
260
260
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -271,7 +271,7 @@ function ui() {
271
271
  var e = function() {
272
272
  };
273
273
  if (process.env.NODE_ENV !== "production") {
274
- var r = /* @__PURE__ */ Fr(), t = {}, n = /* @__PURE__ */ Ln();
274
+ var r = /* @__PURE__ */ Wr(), t = {}, n = /* @__PURE__ */ Ln();
275
275
  e = function(s) {
276
276
  var a = "Warning: " + s;
277
277
  typeof console < "u" && console.error(a);
@@ -317,7 +317,7 @@ var xr, ln;
317
317
  function fi() {
318
318
  if (ln) return xr;
319
319
  ln = 1;
320
- var e = _n(), r = pi(), t = /* @__PURE__ */ Fr(), n = /* @__PURE__ */ Ln(), o = /* @__PURE__ */ ui(), s = function() {
320
+ var e = _n(), r = pi(), t = /* @__PURE__ */ Wr(), n = /* @__PURE__ */ Ln(), o = /* @__PURE__ */ ui(), s = function() {
321
321
  };
322
322
  process.env.NODE_ENV !== "production" && (s = function(l) {
323
323
  var c = "Warning: " + l;
@@ -333,9 +333,9 @@ function fi() {
333
333
  return xr = function(l, c) {
334
334
  var g = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
335
335
  function m(P) {
336
- var M = P && (g && P[g] || P[f]);
337
- if (typeof M == "function")
338
- return M;
336
+ var D = P && (g && P[g] || P[f]);
337
+ if (typeof D == "function")
338
+ return D;
339
339
  }
340
340
  var y = "<<anonymous>>", h = {
341
341
  array: v("array"),
@@ -347,220 +347,220 @@ function fi() {
347
347
  string: v("string"),
348
348
  symbol: v("symbol"),
349
349
  any: $(),
350
- arrayOf: I,
350
+ arrayOf: H,
351
351
  element: C(),
352
- elementType: w(),
353
- instanceOf: H,
352
+ elementType: k(),
353
+ instanceOf: R,
354
354
  node: Q(),
355
- objectOf: B,
356
- oneOf: W,
355
+ objectOf: I,
356
+ oneOf: z,
357
357
  oneOfType: X,
358
358
  shape: d,
359
- exact: O
359
+ exact: B
360
360
  };
361
- function x(P, M) {
362
- return P === M ? P !== 0 || 1 / P === 1 / M : P !== P && M !== M;
361
+ function x(P, D) {
362
+ return P === D ? P !== 0 || 1 / P === 1 / D : P !== P && D !== D;
363
363
  }
364
- function u(P, M) {
365
- this.message = P, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
364
+ function u(P, D) {
365
+ this.message = P, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
366
366
  }
367
367
  u.prototype = Error.prototype;
368
368
  function b(P) {
369
369
  if (process.env.NODE_ENV !== "production")
370
- var M = {}, J = 0;
371
- function V(F, k, D, E, R, K, le) {
372
- if (E = E || y, K = K || D, le !== t) {
370
+ var D = {}, q = 0;
371
+ function V(M, w, O, F, E, W, te) {
372
+ if (F = F || y, W = W || O, te !== t) {
373
373
  if (c) {
374
- var z = new Error(
374
+ var _ = new Error(
375
375
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
376
376
  );
377
- throw z.name = "Invariant Violation", z;
377
+ throw _.name = "Invariant Violation", _;
378
378
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
379
- var me = E + ":" + D;
380
- !M[me] && // Avoid spamming the console because they are often not actionable except for lib authors
381
- J < 3 && (s(
382
- "You are manually calling a React.PropTypes validation function for the `" + K + "` prop on `" + E + "`. 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."
383
- ), M[me] = !0, J++);
379
+ var me = F + ":" + O;
380
+ !D[me] && // Avoid spamming the console because they are often not actionable except for lib authors
381
+ q < 3 && (s(
382
+ "You are manually calling a React.PropTypes validation function for the `" + W + "` 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."
383
+ ), D[me] = !0, q++);
384
384
  }
385
385
  }
386
- return k[D] == null ? F ? k[D] === null ? new u("The " + R + " `" + K + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new u("The " + R + " `" + K + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : P(k, D, E, R, K);
386
+ return w[O] == null ? M ? w[O] === null ? new u("The " + E + " `" + W + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + E + " `" + W + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : P(w, O, F, E, W);
387
387
  }
388
- var N = V.bind(null, !1);
389
- return N.isRequired = V.bind(null, !0), N;
388
+ var G = V.bind(null, !1);
389
+ return G.isRequired = V.bind(null, !0), G;
390
390
  }
391
391
  function v(P) {
392
- function M(J, V, N, F, k, D) {
393
- var E = J[V], R = L(E);
394
- if (R !== P) {
395
- var K = q(E);
392
+ function D(q, V, G, M, w, O) {
393
+ var F = q[V], E = N(F);
394
+ if (E !== P) {
395
+ var W = K(F);
396
396
  return new u(
397
- "Invalid " + F + " `" + k + "` of type " + ("`" + K + "` supplied to `" + N + "`, expected ") + ("`" + P + "`."),
397
+ "Invalid " + M + " `" + w + "` of type " + ("`" + W + "` supplied to `" + G + "`, expected ") + ("`" + P + "`."),
398
398
  { expectedType: P }
399
399
  );
400
400
  }
401
401
  return null;
402
402
  }
403
- return b(M);
403
+ return b(D);
404
404
  }
405
405
  function $() {
406
406
  return b(a);
407
407
  }
408
- function I(P) {
409
- function M(J, V, N, F, k) {
408
+ function H(P) {
409
+ function D(q, V, G, M, w) {
410
410
  if (typeof P != "function")
411
- return new u("Property `" + k + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
412
- var D = J[V];
413
- if (!Array.isArray(D)) {
414
- var E = L(D);
415
- return new u("Invalid " + F + " `" + k + "` of type " + ("`" + E + "` supplied to `" + N + "`, expected an array."));
411
+ return new u("Property `" + w + "` of component `" + G + "` has invalid PropType notation inside arrayOf.");
412
+ var O = q[V];
413
+ if (!Array.isArray(O)) {
414
+ var F = N(O);
415
+ return new u("Invalid " + M + " `" + w + "` of type " + ("`" + F + "` supplied to `" + G + "`, expected an array."));
416
416
  }
417
- for (var R = 0; R < D.length; R++) {
418
- var K = P(D, R, N, F, k + "[" + R + "]", t);
419
- if (K instanceof Error)
420
- return K;
417
+ for (var E = 0; E < O.length; E++) {
418
+ var W = P(O, E, G, M, w + "[" + E + "]", t);
419
+ if (W instanceof Error)
420
+ return W;
421
421
  }
422
422
  return null;
423
423
  }
424
- return b(M);
424
+ return b(D);
425
425
  }
426
426
  function C() {
427
- function P(M, J, V, N, F) {
428
- var k = M[J];
429
- if (!l(k)) {
430
- var D = L(k);
431
- return new u("Invalid " + N + " `" + F + "` of type " + ("`" + D + "` supplied to `" + V + "`, expected a single ReactElement."));
427
+ function P(D, q, V, G, M) {
428
+ var w = D[q];
429
+ if (!l(w)) {
430
+ var O = N(w);
431
+ return new u("Invalid " + G + " `" + M + "` of type " + ("`" + O + "` supplied to `" + V + "`, expected a single ReactElement."));
432
432
  }
433
433
  return null;
434
434
  }
435
435
  return b(P);
436
436
  }
437
- function w() {
438
- function P(M, J, V, N, F) {
439
- var k = M[J];
440
- if (!e.isValidElementType(k)) {
441
- var D = L(k);
442
- return new u("Invalid " + N + " `" + F + "` of type " + ("`" + D + "` supplied to `" + V + "`, expected a single ReactElement type."));
437
+ function k() {
438
+ function P(D, q, V, G, M) {
439
+ var w = D[q];
440
+ if (!e.isValidElementType(w)) {
441
+ var O = N(w);
442
+ return new u("Invalid " + G + " `" + M + "` of type " + ("`" + O + "` supplied to `" + V + "`, expected a single ReactElement type."));
443
443
  }
444
444
  return null;
445
445
  }
446
446
  return b(P);
447
447
  }
448
- function H(P) {
449
- function M(J, V, N, F, k) {
450
- if (!(J[V] instanceof P)) {
451
- var D = P.name || y, E = G(J[V]);
452
- return new u("Invalid " + F + " `" + k + "` of type " + ("`" + E + "` supplied to `" + N + "`, expected ") + ("instance of `" + D + "`."));
448
+ function R(P) {
449
+ function D(q, V, G, M, w) {
450
+ if (!(q[V] instanceof P)) {
451
+ var O = P.name || y, F = J(q[V]);
452
+ return new u("Invalid " + M + " `" + w + "` of type " + ("`" + F + "` supplied to `" + G + "`, expected ") + ("instance of `" + O + "`."));
453
453
  }
454
454
  return null;
455
455
  }
456
- return b(M);
456
+ return b(D);
457
457
  }
458
- function W(P) {
458
+ function z(P) {
459
459
  if (!Array.isArray(P))
460
460
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
461
461
  "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])."
462
462
  ) : s("Invalid argument supplied to oneOf, expected an array.")), a;
463
- function M(J, V, N, F, k) {
464
- for (var D = J[V], E = 0; E < P.length; E++)
465
- if (x(D, P[E]))
463
+ function D(q, V, G, M, w) {
464
+ for (var O = q[V], F = 0; F < P.length; F++)
465
+ if (x(O, P[F]))
466
466
  return null;
467
- var R = JSON.stringify(P, function(le, z) {
468
- var me = q(z);
469
- return me === "symbol" ? String(z) : z;
467
+ var E = JSON.stringify(P, function(te, _) {
468
+ var me = K(_);
469
+ return me === "symbol" ? String(_) : _;
470
470
  });
471
- return new u("Invalid " + F + " `" + k + "` of value `" + String(D) + "` " + ("supplied to `" + N + "`, expected one of " + R + "."));
471
+ return new u("Invalid " + M + " `" + w + "` of value `" + String(O) + "` " + ("supplied to `" + G + "`, expected one of " + E + "."));
472
472
  }
473
- return b(M);
473
+ return b(D);
474
474
  }
475
- function B(P) {
476
- function M(J, V, N, F, k) {
475
+ function I(P) {
476
+ function D(q, V, G, M, w) {
477
477
  if (typeof P != "function")
478
- return new u("Property `" + k + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
479
- var D = J[V], E = L(D);
480
- if (E !== "object")
481
- return new u("Invalid " + F + " `" + k + "` of type " + ("`" + E + "` supplied to `" + N + "`, expected an object."));
482
- for (var R in D)
483
- if (n(D, R)) {
484
- var K = P(D, R, N, F, k + "." + R, t);
485
- if (K instanceof Error)
486
- return K;
478
+ return new u("Property `" + w + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
479
+ var O = q[V], F = N(O);
480
+ if (F !== "object")
481
+ return new u("Invalid " + M + " `" + w + "` of type " + ("`" + F + "` supplied to `" + G + "`, expected an object."));
482
+ for (var E in O)
483
+ if (n(O, E)) {
484
+ var W = P(O, E, G, M, w + "." + E, t);
485
+ if (W instanceof Error)
486
+ return W;
487
487
  }
488
488
  return null;
489
489
  }
490
- return b(M);
490
+ return b(D);
491
491
  }
492
492
  function X(P) {
493
493
  if (!Array.isArray(P))
494
494
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
495
- for (var M = 0; M < P.length; M++) {
496
- var J = P[M];
497
- if (typeof J != "function")
495
+ for (var D = 0; D < P.length; D++) {
496
+ var q = P[D];
497
+ if (typeof q != "function")
498
498
  return s(
499
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + U(J) + " at index " + M + "."
499
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + U(q) + " at index " + D + "."
500
500
  ), a;
501
501
  }
502
- function V(N, F, k, D, E) {
503
- for (var R = [], K = 0; K < P.length; K++) {
504
- var le = P[K], z = le(N, F, k, D, E, t);
505
- if (z == null)
502
+ function V(G, M, w, O, F) {
503
+ for (var E = [], W = 0; W < P.length; W++) {
504
+ var te = P[W], _ = te(G, M, w, O, F, t);
505
+ if (_ == null)
506
506
  return null;
507
- z.data && n(z.data, "expectedType") && R.push(z.data.expectedType);
507
+ _.data && n(_.data, "expectedType") && E.push(_.data.expectedType);
508
508
  }
509
- var me = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
510
- return new u("Invalid " + D + " `" + E + "` supplied to " + ("`" + k + "`" + me + "."));
509
+ var me = E.length > 0 ? ", expected one of type [" + E.join(", ") + "]" : "";
510
+ return new u("Invalid " + O + " `" + F + "` supplied to " + ("`" + w + "`" + me + "."));
511
511
  }
512
512
  return b(V);
513
513
  }
514
514
  function Q() {
515
- function P(M, J, V, N, F) {
516
- return A(M[J]) ? null : new u("Invalid " + N + " `" + F + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
515
+ function P(D, q, V, G, M) {
516
+ return A(D[q]) ? null : new u("Invalid " + G + " `" + M + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
517
517
  }
518
518
  return b(P);
519
519
  }
520
- function Y(P, M, J, V, N) {
520
+ function Y(P, D, q, V, G) {
521
521
  return new u(
522
- (P || "React class") + ": " + M + " type `" + J + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
522
+ (P || "React class") + ": " + D + " type `" + q + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + G + "`."
523
523
  );
524
524
  }
525
525
  function d(P) {
526
- function M(J, V, N, F, k) {
527
- var D = J[V], E = L(D);
528
- if (E !== "object")
529
- return new u("Invalid " + F + " `" + k + "` of type `" + E + "` " + ("supplied to `" + N + "`, expected `object`."));
530
- for (var R in P) {
531
- var K = P[R];
532
- if (typeof K != "function")
533
- return Y(N, F, k, R, q(K));
534
- var le = K(D, R, N, F, k + "." + R, t);
535
- if (le)
536
- return le;
526
+ function D(q, V, G, M, w) {
527
+ var O = q[V], F = N(O);
528
+ if (F !== "object")
529
+ return new u("Invalid " + M + " `" + w + "` of type `" + F + "` " + ("supplied to `" + G + "`, expected `object`."));
530
+ for (var E in P) {
531
+ var W = P[E];
532
+ if (typeof W != "function")
533
+ return Y(G, M, w, E, K(W));
534
+ var te = W(O, E, G, M, w + "." + E, t);
535
+ if (te)
536
+ return te;
537
537
  }
538
538
  return null;
539
539
  }
540
- return b(M);
540
+ return b(D);
541
541
  }
542
- function O(P) {
543
- function M(J, V, N, F, k) {
544
- var D = J[V], E = L(D);
545
- if (E !== "object")
546
- return new u("Invalid " + F + " `" + k + "` of type `" + E + "` " + ("supplied to `" + N + "`, expected `object`."));
547
- var R = r({}, J[V], P);
548
- for (var K in R) {
549
- var le = P[K];
550
- if (n(P, K) && typeof le != "function")
551
- return Y(N, F, k, K, q(le));
552
- if (!le)
542
+ function B(P) {
543
+ function D(q, V, G, M, w) {
544
+ var O = q[V], F = N(O);
545
+ if (F !== "object")
546
+ return new u("Invalid " + M + " `" + w + "` of type `" + F + "` " + ("supplied to `" + G + "`, expected `object`."));
547
+ var E = r({}, q[V], P);
548
+ for (var W in E) {
549
+ var te = P[W];
550
+ if (n(P, W) && typeof te != "function")
551
+ return Y(G, M, w, W, K(te));
552
+ if (!te)
553
553
  return new u(
554
- "Invalid " + F + " `" + k + "` key `" + K + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(J[V], null, " ") + `
554
+ "Invalid " + M + " `" + w + "` key `" + W + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(q[V], null, " ") + `
555
555
  Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
556
556
  );
557
- var z = le(D, K, N, F, k + "." + K, t);
558
- if (z)
559
- return z;
557
+ var _ = te(O, W, G, M, w + "." + W, t);
558
+ if (_)
559
+ return _;
560
560
  }
561
561
  return null;
562
562
  }
563
- return b(M);
563
+ return b(D);
564
564
  }
565
565
  function A(P) {
566
566
  switch (typeof P) {
@@ -575,17 +575,17 @@ Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
575
575
  return P.every(A);
576
576
  if (P === null || l(P))
577
577
  return !0;
578
- var M = m(P);
579
- if (M) {
580
- var J = M.call(P), V;
581
- if (M !== P.entries) {
582
- for (; !(V = J.next()).done; )
578
+ var D = m(P);
579
+ if (D) {
580
+ var q = D.call(P), V;
581
+ if (D !== P.entries) {
582
+ for (; !(V = q.next()).done; )
583
583
  if (!A(V.value))
584
584
  return !1;
585
585
  } else
586
- for (; !(V = J.next()).done; ) {
587
- var N = V.value;
588
- if (N && !A(N[1]))
586
+ for (; !(V = q.next()).done; ) {
587
+ var G = V.value;
588
+ if (G && !A(G[1]))
589
589
  return !1;
590
590
  }
591
591
  } else
@@ -595,40 +595,40 @@ Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
595
595
  return !1;
596
596
  }
597
597
  }
598
- function _(P, M) {
599
- return P === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1;
598
+ function L(P, D) {
599
+ return P === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
600
600
  }
601
- function L(P) {
602
- var M = typeof P;
603
- return Array.isArray(P) ? "array" : P instanceof RegExp ? "object" : _(M, P) ? "symbol" : M;
601
+ function N(P) {
602
+ var D = typeof P;
603
+ return Array.isArray(P) ? "array" : P instanceof RegExp ? "object" : L(D, P) ? "symbol" : D;
604
604
  }
605
- function q(P) {
605
+ function K(P) {
606
606
  if (typeof P > "u" || P === null)
607
607
  return "" + P;
608
- var M = L(P);
609
- if (M === "object") {
608
+ var D = N(P);
609
+ if (D === "object") {
610
610
  if (P instanceof Date)
611
611
  return "date";
612
612
  if (P instanceof RegExp)
613
613
  return "regexp";
614
614
  }
615
- return M;
615
+ return D;
616
616
  }
617
617
  function U(P) {
618
- var M = q(P);
619
- switch (M) {
618
+ var D = K(P);
619
+ switch (D) {
620
620
  case "array":
621
621
  case "object":
622
- return "an " + M;
622
+ return "an " + D;
623
623
  case "boolean":
624
624
  case "date":
625
625
  case "regexp":
626
- return "a " + M;
626
+ return "a " + D;
627
627
  default:
628
- return M;
628
+ return D;
629
629
  }
630
630
  }
631
- function G(P) {
631
+ function J(P) {
632
632
  return !P.constructor || !P.constructor.name ? y : P.constructor.name;
633
633
  }
634
634
  return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
@@ -638,7 +638,7 @@ var vr, dn;
638
638
  function hi() {
639
639
  if (dn) return vr;
640
640
  dn = 1;
641
- var e = /* @__PURE__ */ Fr();
641
+ var e = /* @__PURE__ */ Wr();
642
642
  function r() {
643
643
  }
644
644
  function t() {
@@ -693,7 +693,7 @@ function gi() {
693
693
  return _t.exports;
694
694
  }
695
695
  var mi = /* @__PURE__ */ gi();
696
- const te = /* @__PURE__ */ li(mi);
696
+ const re = /* @__PURE__ */ li(mi);
697
697
  function Nn(e) {
698
698
  var r, t, n = "";
699
699
  if (typeof e == "string" || typeof e == "number") n += e;
@@ -720,7 +720,7 @@ function yi(e, r, t = void 0) {
720
720
  }
721
721
  return n;
722
722
  }
723
- var Nt = { exports: {} }, ae = {};
723
+ var Nt = { exports: {} }, se = {};
724
724
  /**
725
725
  * @license React
726
726
  * react-is.production.js
@@ -732,7 +732,7 @@ var Nt = { exports: {} }, ae = {};
732
732
  */
733
733
  var pn;
734
734
  function bi() {
735
- if (pn) return ae;
735
+ if (pn) return se;
736
736
  pn = 1;
737
737
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
738
738
  function x(u) {
@@ -766,35 +766,35 @@ function bi() {
766
766
  }
767
767
  }
768
768
  }
769
- return ae.ContextConsumer = s, ae.ContextProvider = a, ae.Element = e, ae.ForwardRef = l, ae.Fragment = t, ae.Lazy = m, ae.Memo = f, ae.Portal = r, ae.Profiler = o, ae.StrictMode = n, ae.Suspense = c, ae.SuspenseList = g, ae.isContextConsumer = function(u) {
769
+ return se.ContextConsumer = s, se.ContextProvider = a, se.Element = e, se.ForwardRef = l, se.Fragment = t, se.Lazy = m, se.Memo = f, se.Portal = r, se.Profiler = o, se.StrictMode = n, se.Suspense = c, se.SuspenseList = g, se.isContextConsumer = function(u) {
770
770
  return x(u) === s;
771
- }, ae.isContextProvider = function(u) {
771
+ }, se.isContextProvider = function(u) {
772
772
  return x(u) === a;
773
- }, ae.isElement = function(u) {
773
+ }, se.isElement = function(u) {
774
774
  return typeof u == "object" && u !== null && u.$$typeof === e;
775
- }, ae.isForwardRef = function(u) {
775
+ }, se.isForwardRef = function(u) {
776
776
  return x(u) === l;
777
- }, ae.isFragment = function(u) {
777
+ }, se.isFragment = function(u) {
778
778
  return x(u) === t;
779
- }, ae.isLazy = function(u) {
779
+ }, se.isLazy = function(u) {
780
780
  return x(u) === m;
781
- }, ae.isMemo = function(u) {
781
+ }, se.isMemo = function(u) {
782
782
  return x(u) === f;
783
- }, ae.isPortal = function(u) {
783
+ }, se.isPortal = function(u) {
784
784
  return x(u) === r;
785
- }, ae.isProfiler = function(u) {
785
+ }, se.isProfiler = function(u) {
786
786
  return x(u) === o;
787
- }, ae.isStrictMode = function(u) {
787
+ }, se.isStrictMode = function(u) {
788
788
  return x(u) === n;
789
- }, ae.isSuspense = function(u) {
789
+ }, se.isSuspense = function(u) {
790
790
  return x(u) === c;
791
- }, ae.isSuspenseList = function(u) {
791
+ }, se.isSuspenseList = function(u) {
792
792
  return x(u) === g;
793
- }, ae.isValidElementType = function(u) {
793
+ }, se.isValidElementType = function(u) {
794
794
  return typeof u == "string" || typeof u == "function" || u === t || u === o || u === n || u === c || u === g || typeof u == "object" && u !== null && (u.$$typeof === m || u.$$typeof === f || u.$$typeof === a || u.$$typeof === s || u.$$typeof === l || u.$$typeof === h || u.getModuleId !== void 0);
795
- }, ae.typeOf = x, ae;
795
+ }, se.typeOf = x, se;
796
796
  }
797
- var se = {};
797
+ var le = {};
798
798
  /**
799
799
  * @license React
800
800
  * react-is.development.js
@@ -839,48 +839,48 @@ function xi() {
839
839
  }
840
840
  }
841
841
  var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.view_transition"), x = Symbol.for("react.client.reference");
842
- se.ContextConsumer = a, se.ContextProvider = l, se.Element = r, se.ForwardRef = c, se.Fragment = n, se.Lazy = y, se.Memo = m, se.Portal = t, se.Profiler = s, se.StrictMode = o, se.Suspense = g, se.SuspenseList = f, se.isContextConsumer = function(u) {
842
+ le.ContextConsumer = a, le.ContextProvider = l, le.Element = r, le.ForwardRef = c, le.Fragment = n, le.Lazy = y, le.Memo = m, le.Portal = t, le.Profiler = s, le.StrictMode = o, le.Suspense = g, le.SuspenseList = f, le.isContextConsumer = function(u) {
843
843
  return e(u) === a;
844
- }, se.isContextProvider = function(u) {
844
+ }, le.isContextProvider = function(u) {
845
845
  return e(u) === l;
846
- }, se.isElement = function(u) {
846
+ }, le.isElement = function(u) {
847
847
  return typeof u == "object" && u !== null && u.$$typeof === r;
848
- }, se.isForwardRef = function(u) {
848
+ }, le.isForwardRef = function(u) {
849
849
  return e(u) === c;
850
- }, se.isFragment = function(u) {
850
+ }, le.isFragment = function(u) {
851
851
  return e(u) === n;
852
- }, se.isLazy = function(u) {
852
+ }, le.isLazy = function(u) {
853
853
  return e(u) === y;
854
- }, se.isMemo = function(u) {
854
+ }, le.isMemo = function(u) {
855
855
  return e(u) === m;
856
- }, se.isPortal = function(u) {
856
+ }, le.isPortal = function(u) {
857
857
  return e(u) === t;
858
- }, se.isProfiler = function(u) {
858
+ }, le.isProfiler = function(u) {
859
859
  return e(u) === s;
860
- }, se.isStrictMode = function(u) {
860
+ }, le.isStrictMode = function(u) {
861
861
  return e(u) === o;
862
- }, se.isSuspense = function(u) {
862
+ }, le.isSuspense = function(u) {
863
863
  return e(u) === g;
864
- }, se.isSuspenseList = function(u) {
864
+ }, le.isSuspenseList = function(u) {
865
865
  return e(u) === f;
866
- }, se.isValidElementType = function(u) {
866
+ }, le.isValidElementType = function(u) {
867
867
  return typeof u == "string" || typeof u == "function" || u === n || u === s || u === o || u === g || u === f || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === m || u.$$typeof === l || u.$$typeof === a || u.$$typeof === c || u.$$typeof === x || u.getModuleId !== void 0);
868
- }, se.typeOf = e;
869
- })()), se;
868
+ }, le.typeOf = e;
869
+ })()), le;
870
870
  }
871
871
  var fn;
872
872
  function vi() {
873
873
  return fn || (fn = 1, process.env.NODE_ENV === "production" ? Nt.exports = /* @__PURE__ */ bi() : Nt.exports = /* @__PURE__ */ xi()), Nt.exports;
874
874
  }
875
875
  var Jt = /* @__PURE__ */ vi();
876
- function Fe(e) {
876
+ function We(e) {
877
877
  if (typeof e != "object" || e === null)
878
878
  return !1;
879
879
  const r = Object.getPrototypeOf(e);
880
880
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
881
881
  }
882
882
  function Vn(e) {
883
- if (/* @__PURE__ */ Je.isValidElement(e) || Jt.isValidElementType(e) || !Fe(e))
883
+ if (/* @__PURE__ */ Je.isValidElement(e) || Jt.isValidElementType(e) || !We(e))
884
884
  return e;
885
885
  const r = {};
886
886
  return Object.keys(e).forEach((t) => {
@@ -893,9 +893,9 @@ function Pe(e, r, t = {
893
893
  const n = t.clone ? {
894
894
  ...e
895
895
  } : e;
896
- return Fe(e) && Fe(r) && Object.keys(r).forEach((o) => {
897
- /* @__PURE__ */ Je.isValidElement(r[o]) || Jt.isValidElementType(r[o]) ? n[o] = r[o] : Fe(r[o]) && // Avoid prototype pollution
898
- Object.prototype.hasOwnProperty.call(e, o) && Fe(e[o]) ? n[o] = Pe(e[o], r[o], t) : t.clone ? n[o] = Fe(r[o]) ? Vn(r[o]) : r[o] : n[o] = r[o];
896
+ return We(e) && We(r) && Object.keys(r).forEach((o) => {
897
+ /* @__PURE__ */ Je.isValidElement(r[o]) || Jt.isValidElementType(r[o]) ? n[o] = r[o] : We(r[o]) && // Avoid prototype pollution
898
+ Object.prototype.hasOwnProperty.call(e, o) && We(e[o]) ? n[o] = Pe(e[o], r[o], t) : t.clone ? n[o] = We(r[o]) ? Vn(r[o]) : r[o] : n[o] = r[o];
899
899
  }), n;
900
900
  }
901
901
  function Et(e, r) {
@@ -904,7 +904,7 @@ function Et(e, r) {
904
904
  // No need to clone deep, it's way faster.
905
905
  }) : e;
906
906
  }
907
- const Ke = process.env.NODE_ENV !== "production" ? te.oneOfType([te.number, te.string, te.object, te.array]) : {};
907
+ const Ke = process.env.NODE_ENV !== "production" ? re.oneOfType([re.number, re.string, re.object, re.array]) : {};
908
908
  function hn(e, r) {
909
909
  if (!e.containerQueries)
910
910
  return r;
@@ -1096,18 +1096,18 @@ function zr(e) {
1096
1096
  function $t(e, r) {
1097
1097
  return typeof r == "string" || r == null ? r : e(r);
1098
1098
  }
1099
- function Ii(e, r) {
1099
+ function Ai(e, r) {
1100
1100
  return (t) => e.reduce((n, o) => (n[o] = $t(r, t), n), {});
1101
1101
  }
1102
- function Ai(e, r, t, n) {
1102
+ function Ii(e, r, t, n) {
1103
1103
  if (!r.includes(t))
1104
1104
  return null;
1105
- const o = Pi(t), s = Ii(o, n), a = e[t];
1105
+ const o = Pi(t), s = Ai(o, n), a = e[t];
1106
1106
  return Le(e, a, s);
1107
1107
  }
1108
1108
  function Un(e, r) {
1109
1109
  const t = zr(e.theme);
1110
- return Object.keys(e).map((n) => Ai(e, r, n, t)).reduce(Et, {});
1110
+ return Object.keys(e).map((n) => Ii(e, r, n, t)).reduce(Et, {});
1111
1111
  }
1112
1112
  function fe(e) {
1113
1113
  return Un(e, tr);
@@ -1129,14 +1129,14 @@ function nr(...e) {
1129
1129
  function $e(e) {
1130
1130
  return typeof e != "number" ? e : `${e}px solid`;
1131
1131
  }
1132
- function Ie(e, r) {
1132
+ function Ae(e, r) {
1133
1133
  return ye({
1134
1134
  prop: e,
1135
1135
  themeKey: "borders",
1136
1136
  transform: r
1137
1137
  });
1138
1138
  }
1139
- const Bi = Ie("border", $e), Oi = Ie("borderTop", $e), Di = Ie("borderRight", $e), Mi = Ie("borderBottom", $e), Wi = Ie("borderLeft", $e), Fi = Ie("borderColor"), zi = Ie("borderTopColor"), _i = Ie("borderRightColor"), Li = Ie("borderBottomColor"), Ni = Ie("borderLeftColor"), ji = Ie("outline", $e), Vi = Ie("outlineColor"), or = (e) => {
1139
+ const Bi = Ae("border", $e), Oi = Ae("borderTop", $e), Di = Ae("borderRight", $e), Mi = Ae("borderBottom", $e), Fi = Ae("borderLeft", $e), Wi = Ae("borderColor"), zi = Ae("borderTopColor"), _i = Ae("borderRightColor"), Li = Ae("borderBottomColor"), Ni = Ae("borderLeftColor"), ji = Ae("outline", $e), Vi = Ae("outlineColor"), or = (e) => {
1140
1140
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1141
1141
  const r = Pt(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1142
1142
  borderRadius: $t(r, n)
@@ -1149,7 +1149,7 @@ or.propTypes = process.env.NODE_ENV !== "production" ? {
1149
1149
  borderRadius: Ke
1150
1150
  } : {};
1151
1151
  or.filterProps = ["borderRadius"];
1152
- nr(Bi, Oi, Di, Mi, Wi, Fi, zi, _i, Li, Ni, or, ji, Vi);
1152
+ nr(Bi, Oi, Di, Mi, Fi, Wi, zi, _i, Li, Ni, or, ji, Vi);
1153
1153
  const ir = (e) => {
1154
1154
  if (e.gap !== void 0 && e.gap !== null) {
1155
1155
  const r = Pt(e.theme, "spacing", 8, "gap"), t = (n) => ({
@@ -2099,7 +2099,7 @@ function Xn(e, r, t = [], n = void 0) {
2099
2099
  }
2100
2100
  return t;
2101
2101
  }
2102
- function Ia(e = {}) {
2102
+ function Aa(e = {}) {
2103
2103
  const {
2104
2104
  themeId: r,
2105
2105
  defaultTheme: t = Ha,
@@ -2110,7 +2110,7 @@ function Ia(e = {}) {
2110
2110
  $a(l, r, t);
2111
2111
  }
2112
2112
  return (l, c = {}) => {
2113
- va(l, (H) => H.filter((W) => W !== xt));
2113
+ va(l, (R) => R.filter((z) => z !== xt));
2114
2114
  const {
2115
2115
  name: g,
2116
2116
  slot: f,
@@ -2127,51 +2127,51 @@ function Ia(e = {}) {
2127
2127
  ), v = y || !1;
2128
2128
  let $ = Cr;
2129
2129
  f === "Root" || f === "root" ? $ = n : f ? $ = o : Da(l) && ($ = void 0);
2130
- const I = xa(l, {
2130
+ const H = xa(l, {
2131
2131
  shouldForwardProp: $,
2132
2132
  label: Ba(g, f),
2133
2133
  ...x
2134
- }), C = (H) => {
2135
- if (H.__emotion_real === H)
2136
- return H;
2137
- if (typeof H == "function")
2138
- return function(B) {
2139
- return Yt(B, H, B.theme.modularCssLayers ? u : void 0);
2134
+ }), C = (R) => {
2135
+ if (R.__emotion_real === R)
2136
+ return R;
2137
+ if (typeof R == "function")
2138
+ return function(I) {
2139
+ return Yt(I, R, I.theme.modularCssLayers ? u : void 0);
2140
2140
  };
2141
- if (Fe(H)) {
2142
- const W = Kn(H);
2141
+ if (We(R)) {
2142
+ const z = Kn(R);
2143
2143
  return function(X) {
2144
- return W.variants ? Yt(X, W, X.theme.modularCssLayers ? u : void 0) : X.theme.modularCssLayers ? ot(W.style, u) : W.style;
2144
+ return z.variants ? Yt(X, z, X.theme.modularCssLayers ? u : void 0) : X.theme.modularCssLayers ? ot(z.style, u) : z.style;
2145
2145
  };
2146
2146
  }
2147
- return H;
2148
- }, w = (...H) => {
2149
- const W = [], B = H.map(C), X = [];
2150
- if (W.push(s), g && h && X.push(function(O) {
2151
- var q, U;
2152
- const _ = (U = (q = O.theme.components) == null ? void 0 : q[g]) == null ? void 0 : U.styleOverrides;
2153
- if (!_)
2147
+ return R;
2148
+ }, k = (...R) => {
2149
+ const z = [], I = R.map(C), X = [];
2150
+ if (z.push(s), g && h && X.push(function(B) {
2151
+ var K, U;
2152
+ const L = (U = (K = B.theme.components) == null ? void 0 : K[g]) == null ? void 0 : U.styleOverrides;
2153
+ if (!L)
2154
2154
  return null;
2155
- const L = {};
2156
- for (const G in _)
2157
- L[G] = Yt(O, _[G], O.theme.modularCssLayers ? "theme" : void 0);
2158
- return h(O, L);
2159
- }), g && !b && X.push(function(O) {
2160
- var L, q;
2161
- const A = O.theme, _ = (q = (L = A == null ? void 0 : A.components) == null ? void 0 : L[g]) == null ? void 0 : q.variants;
2162
- return _ ? Xn(O, _, [], O.theme.modularCssLayers ? "theme" : void 0) : null;
2163
- }), v || X.push(xt), Array.isArray(B[0])) {
2164
- const d = B.shift(), O = new Array(W.length).fill(""), A = new Array(X.length).fill("");
2165
- let _;
2166
- _ = [...O, ...d, ...A], _.raw = [...O, ...d.raw, ...A], W.unshift(_);
2155
+ const N = {};
2156
+ for (const J in L)
2157
+ N[J] = Yt(B, L[J], B.theme.modularCssLayers ? "theme" : void 0);
2158
+ return h(B, N);
2159
+ }), g && !b && X.push(function(B) {
2160
+ var N, K;
2161
+ const A = B.theme, L = (K = (N = A == null ? void 0 : A.components) == null ? void 0 : N[g]) == null ? void 0 : K.variants;
2162
+ return L ? Xn(B, L, [], B.theme.modularCssLayers ? "theme" : void 0) : null;
2163
+ }), v || X.push(xt), Array.isArray(I[0])) {
2164
+ const d = I.shift(), B = new Array(z.length).fill(""), A = new Array(X.length).fill("");
2165
+ let L;
2166
+ L = [...B, ...d, ...A], L.raw = [...B, ...d.raw, ...A], z.unshift(L);
2167
2167
  }
2168
- const Q = [...W, ...B, ...X], Y = I(...Q);
2169
- return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = Aa(g, f, l)), Y;
2168
+ const Q = [...z, ...I, ...X], Y = H(...Q);
2169
+ return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = Ia(g, f, l)), Y;
2170
2170
  };
2171
- return I.withConfig && (w.withConfig = I.withConfig), w;
2171
+ return H.withConfig && (k.withConfig = H.withConfig), k;
2172
2172
  };
2173
2173
  }
2174
- function Aa(e, r, t) {
2174
+ function Ia(e, r, t) {
2175
2175
  return e ? `${e}${st(r || "")}` : `Styled(${Ea(t)})`;
2176
2176
  }
2177
2177
  function Ba(e, r) {
@@ -2233,7 +2233,7 @@ function Ma(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2233
2233
  function Nr(e, r = 0, t = 1) {
2234
2234
  return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Ma(e, r, t);
2235
2235
  }
2236
- function Wa(e) {
2236
+ function Fa(e) {
2237
2237
  e = e.slice(1);
2238
2238
  const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2239
2239
  let t = e.match(r);
@@ -2243,7 +2243,7 @@ function qe(e) {
2243
2243
  if (e.type)
2244
2244
  return e;
2245
2245
  if (e.charAt(0) === "#")
2246
- return qe(Wa(e));
2246
+ return qe(Fa(e));
2247
2247
  const r = e.indexOf("("), t = e.substring(0, r);
2248
2248
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2249
2249
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
@@ -2261,12 +2261,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
2261
2261
  colorSpace: o
2262
2262
  };
2263
2263
  }
2264
- const Fa = (e) => {
2264
+ const Wa = (e) => {
2265
2265
  const r = qe(e);
2266
2266
  return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2267
2267
  }, kt = (e, r) => {
2268
2268
  try {
2269
- return Fa(e);
2269
+ return Wa(e);
2270
2270
  } catch {
2271
2271
  return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2272
2272
  }
@@ -2293,13 +2293,13 @@ function Zn(e) {
2293
2293
  values: c
2294
2294
  });
2295
2295
  }
2296
- function Ir(e) {
2296
+ function Ar(e) {
2297
2297
  e = qe(e);
2298
2298
  let r = e.type === "hsl" || e.type === "hsla" ? qe(Zn(e)).values : e.values;
2299
2299
  return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
2300
2300
  }
2301
2301
  function wn(e, r) {
2302
- const t = Ir(e), n = Ir(r);
2302
+ const t = Ar(e), n = Ar(r);
2303
2303
  return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2304
2304
  }
2305
2305
  function eo(e, r) {
@@ -2320,7 +2320,7 @@ function cr(e, r) {
2320
2320
  e.values[t] *= 1 - r;
2321
2321
  return dr(e);
2322
2322
  }
2323
- function oe(e, r, t) {
2323
+ function ie(e, r, t) {
2324
2324
  try {
2325
2325
  return cr(e, r);
2326
2326
  } catch {
@@ -2338,7 +2338,7 @@ function pr(e, r) {
2338
2338
  e.values[t] += (1 - e.values[t]) * r;
2339
2339
  return dr(e);
2340
2340
  }
2341
- function ie(e, r, t) {
2341
+ function ae(e, r, t) {
2342
2342
  try {
2343
2343
  return pr(e, r);
2344
2344
  } catch {
@@ -2346,7 +2346,7 @@ function ie(e, r, t) {
2346
2346
  }
2347
2347
  }
2348
2348
  function za(e, r = 0.15) {
2349
- return Ir(e) > 0.5 ? cr(e, r) : pr(e, r);
2349
+ return Ar(e) > 0.5 ? cr(e, r) : pr(e, r);
2350
2350
  }
2351
2351
  function jt(e, r, t) {
2352
2352
  try {
@@ -2356,7 +2356,7 @@ function jt(e, r, t) {
2356
2356
  }
2357
2357
  }
2358
2358
  const _a = /* @__PURE__ */ Je.createContext(void 0);
2359
- process.env.NODE_ENV !== "production" && (te.node, te.object);
2359
+ process.env.NODE_ENV !== "production" && (re.node, re.object);
2360
2360
  function La(e) {
2361
2361
  const {
2362
2362
  theme: r,
@@ -2457,39 +2457,39 @@ function Ya(e, r = {}) {
2457
2457
  [c]: u,
2458
2458
  ...b
2459
2459
  } = a;
2460
- if (Object.entries(b || {}).forEach(([C, w]) => {
2460
+ if (Object.entries(b || {}).forEach(([C, k]) => {
2461
2461
  const {
2462
- vars: H,
2463
- css: W,
2464
- varsWithDefaults: B
2465
- } = wr(w, r);
2466
- h = Pe(h, B), x[C] = {
2467
- css: W,
2468
- vars: H
2462
+ vars: R,
2463
+ css: z,
2464
+ varsWithDefaults: I
2465
+ } = wr(k, r);
2466
+ h = Pe(h, I), x[C] = {
2467
+ css: z,
2468
+ vars: R
2469
2469
  };
2470
2470
  }), u) {
2471
2471
  const {
2472
2472
  css: C,
2473
- vars: w,
2474
- varsWithDefaults: H
2473
+ vars: k,
2474
+ varsWithDefaults: R
2475
2475
  } = wr(u, r);
2476
- h = Pe(h, H), x[c] = {
2476
+ h = Pe(h, R), x[c] = {
2477
2477
  css: C,
2478
- vars: w
2478
+ vars: k
2479
2479
  };
2480
2480
  }
2481
- function v(C, w) {
2482
- var W, B;
2483
- let H = o;
2484
- if (o === "class" && (H = ".%s"), o === "data" && (H = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (H = `[${o}="%s"]`), C) {
2485
- if (H === "media")
2481
+ function v(C, k) {
2482
+ var z, I;
2483
+ let R = o;
2484
+ if (o === "class" && (R = ".%s"), o === "data" && (R = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (R = `[${o}="%s"]`), C) {
2485
+ if (R === "media")
2486
2486
  return e.defaultColorScheme === C ? ":root" : {
2487
- [`@media (prefers-color-scheme: ${((B = (W = a[C]) == null ? void 0 : W.palette) == null ? void 0 : B.mode) || C})`]: {
2488
- ":root": w
2487
+ [`@media (prefers-color-scheme: ${((I = (z = a[C]) == null ? void 0 : z.palette) == null ? void 0 : I.mode) || C})`]: {
2488
+ ":root": k
2489
2489
  }
2490
2490
  };
2491
- if (H)
2492
- return e.defaultColorScheme === C ? `:root, ${H.replace("%s", String(C))}` : H.replace("%s", String(C));
2491
+ if (R)
2492
+ return e.defaultColorScheme === C ? `:root, ${R.replace("%s", String(C))}` : R.replace("%s", String(C));
2493
2493
  }
2494
2494
  return ":root";
2495
2495
  }
@@ -2500,52 +2500,52 @@ function Ya(e, r = {}) {
2500
2500
  ...f
2501
2501
  };
2502
2502
  return Object.entries(x).forEach(([, {
2503
- vars: w
2503
+ vars: k
2504
2504
  }]) => {
2505
- C = Pe(C, w);
2505
+ C = Pe(C, k);
2506
2506
  }), C;
2507
2507
  },
2508
2508
  generateStyleSheets: () => {
2509
2509
  var X, Q;
2510
- const C = [], w = e.defaultColorScheme || "light";
2511
- function H(Y, d) {
2510
+ const C = [], k = e.defaultColorScheme || "light";
2511
+ function R(Y, d) {
2512
2512
  Object.keys(d).length && C.push(typeof Y == "string" ? {
2513
2513
  [Y]: {
2514
2514
  ...d
2515
2515
  }
2516
2516
  } : Y);
2517
2517
  }
2518
- H(t(void 0, {
2518
+ R(t(void 0, {
2519
2519
  ...m
2520
2520
  }), m);
2521
2521
  const {
2522
- [w]: W,
2523
- ...B
2522
+ [k]: z,
2523
+ ...I
2524
2524
  } = x;
2525
- if (W) {
2525
+ if (z) {
2526
2526
  const {
2527
2527
  css: Y
2528
- } = W, d = (Q = (X = a[w]) == null ? void 0 : X.palette) == null ? void 0 : Q.mode, O = !n && d ? {
2528
+ } = z, d = (Q = (X = a[k]) == null ? void 0 : X.palette) == null ? void 0 : Q.mode, B = !n && d ? {
2529
2529
  colorScheme: d,
2530
2530
  ...Y
2531
2531
  } : {
2532
2532
  ...Y
2533
2533
  };
2534
- H(t(w, {
2535
- ...O
2536
- }), O);
2534
+ R(t(k, {
2535
+ ...B
2536
+ }), B);
2537
2537
  }
2538
- return Object.entries(B).forEach(([Y, {
2538
+ return Object.entries(I).forEach(([Y, {
2539
2539
  css: d
2540
2540
  }]) => {
2541
- var _, L;
2542
- const O = (L = (_ = a[Y]) == null ? void 0 : _.palette) == null ? void 0 : L.mode, A = !n && O ? {
2543
- colorScheme: O,
2541
+ var L, N;
2542
+ const B = (N = (L = a[Y]) == null ? void 0 : L.palette) == null ? void 0 : N.mode, A = !n && B ? {
2543
+ colorScheme: B,
2544
2544
  ...d
2545
2545
  } : {
2546
2546
  ...d
2547
2547
  };
2548
- H(t(Y, {
2548
+ R(t(Y, {
2549
2549
  ...A
2550
2550
  }), A);
2551
2551
  }), s && C.push({
@@ -2691,7 +2691,7 @@ function no() {
2691
2691
  }
2692
2692
  };
2693
2693
  }
2694
- const Ar = no();
2694
+ const Ir = no();
2695
2695
  function Rn(e, r, t, n) {
2696
2696
  const o = n.light || n, s = n.dark || n * 1.5;
2697
2697
  e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = pr(e.main, o) : r === "dark" && (e.dark = cr(e.main, s)));
@@ -2781,7 +2781,7 @@ function jr(e) {
2781
2781
  function y(b) {
2782
2782
  if (o)
2783
2783
  return rs(b);
2784
- const v = wn(b, Ar.text.primary) >= t ? Ar.text.primary : ro.text.primary;
2784
+ const v = wn(b, Ir.text.primary) >= t ? Ir.text.primary : ro.text.primary;
2785
2785
  if (process.env.NODE_ENV !== "production") {
2786
2786
  const $ = wn(b, v);
2787
2787
  $ < 3 && console.error([`MUI: The contrast ratio of ${$}:1 for ${v} on ${b}`, "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(`
@@ -2793,7 +2793,7 @@ function jr(e) {
2793
2793
  color: b,
2794
2794
  name: v,
2795
2795
  mainShade: $ = 500,
2796
- lightShade: I = 300,
2796
+ lightShade: H = 300,
2797
2797
  darkShade: C = 700
2798
2798
  }) => {
2799
2799
  if (b = {
@@ -2816,7 +2816,7 @@ const theme1 = createTheme({ palette: {
2816
2816
  const theme2 = createTheme({ palette: {
2817
2817
  primary: { main: green[500] },
2818
2818
  } });` : at(12, v ? ` (${v})` : "", JSON.stringify(b.main)));
2819
- return o ? (En(o, b, "light", I, n), En(o, b, "dark", C, n)) : (Rn(b, "light", I, n), Rn(b, "dark", C, n)), b.contrastText || (b.contrastText = y(b.main)), b;
2819
+ return o ? (En(o, b, "light", H, n), En(o, b, "dark", C, n)) : (Rn(b, "light", H, n), Rn(b, "dark", C, n)), b.contrastText || (b.contrastText = y(b.main)), b;
2820
2820
  };
2821
2821
  let x;
2822
2822
  return r === "light" ? x = to() : r === "dark" && (x = no()), process.env.NODE_ENV !== "production" && (x || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Pe({
@@ -2925,7 +2925,7 @@ function as(e, r) {
2925
2925
  ...m
2926
2926
  } = typeof r == "function" ? r(e) : r;
2927
2927
  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."));
2928
- const y = n / 14, h = f || ((b) => `${b / c * y}rem`), x = (b, v, $, I, C) => ({
2928
+ const y = n / 14, h = f || ((b) => `${b / c * y}rem`), x = (b, v, $, H, C) => ({
2929
2929
  fontFamily: t,
2930
2930
  fontWeight: b,
2931
2931
  fontSize: h(v),
@@ -2934,7 +2934,7 @@ function as(e, r) {
2934
2934
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2935
2935
  // across font-families can cause issues with the kerning.
2936
2936
  ...t === Pn ? {
2937
- letterSpacing: `${is(I / v)}em`
2937
+ letterSpacing: `${is(H / v)}em`
2938
2938
  } : {},
2939
2939
  ...C,
2940
2940
  ...g
@@ -2977,10 +2977,10 @@ function as(e, r) {
2977
2977
  });
2978
2978
  }
2979
2979
  const ss = 0.2, ls = 0.14, ds = 0.12;
2980
- function ce(...e) {
2980
+ function de(...e) {
2981
2981
  return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ss})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ls})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ds})`].join(",");
2982
2982
  }
2983
- const cs = ["none", ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ce(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ce(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ce(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ce(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ce(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ce(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ce(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ce(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ce(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ce(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ce(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ce(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ce(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ce(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ce(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ce(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ce(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ce(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ce(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ce(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ce(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ce(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ce(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], ps = {
2983
+ const cs = ["none", de(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), de(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), de(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), de(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), de(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), de(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), de(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), de(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), de(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), de(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), de(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), de(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), de(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), de(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), de(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), de(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), de(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), de(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), de(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), de(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), de(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), de(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), de(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), de(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], ps = {
2984
2984
  // This is the most common easing curve.
2985
2985
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2986
2986
  // Objects enter the screen at full velocity from off-screen and
@@ -3052,7 +3052,7 @@ const gs = {
3052
3052
  tooltip: 1500
3053
3053
  };
3054
3054
  function ms(e) {
3055
- return Fe(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3055
+ return We(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3056
3056
  }
3057
3057
  function oo(e = {}) {
3058
3058
  const r = {
@@ -3062,7 +3062,7 @@ function oo(e = {}) {
3062
3062
  const o = Object.entries(n);
3063
3063
  for (let s = 0; s < o.length; s++) {
3064
3064
  const [a, l] = o[s];
3065
- !ms(l) || a.startsWith("unstable_") ? delete n[a] : Fe(l) && (n[a] = {
3065
+ !ms(l) || a.startsWith("unstable_") ? delete n[a] : We(l) && (n[a] = {
3066
3066
  ...l
3067
3067
  }, t(n[a]));
3068
3068
  }
@@ -3076,7 +3076,7 @@ theme.transitions = createTransitions(theme.transitions || {});
3076
3076
 
3077
3077
  export default theme;`;
3078
3078
  }
3079
- function In(e) {
3079
+ function An(e) {
3080
3080
  return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
3081
3081
  }
3082
3082
  const ys = (e) => {
@@ -3098,11 +3098,11 @@ function bs(e) {
3098
3098
  },
3099
3099
  lighten(r, t) {
3100
3100
  const n = this || e;
3101
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${In(t)})` : pr(r, t);
3101
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${An(t)})` : pr(r, t);
3102
3102
  },
3103
3103
  darken(r, t) {
3104
3104
  const n = this || e;
3105
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${In(t)})` : cr(r, t);
3105
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${An(t)})` : cr(r, t);
3106
3106
  }
3107
3107
  });
3108
3108
  }
@@ -3141,13 +3141,13 @@ function Br(e = {}, ...r) {
3141
3141
  const x = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (b, v) => {
3142
3142
  let $;
3143
3143
  for ($ in b) {
3144
- const I = b[$];
3145
- if (x.includes($) && Object.keys(I).length > 0) {
3144
+ const H = b[$];
3145
+ if (x.includes($) && Object.keys(H).length > 0) {
3146
3146
  if (process.env.NODE_ENV !== "production") {
3147
3147
  const C = Lr("", $);
3148
3148
  console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${$}\` internal state.`, "You can not override it like this: ", JSON.stringify(b, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
3149
3149
  root: {
3150
- [`&.${C}`]: I
3150
+ [`&.${C}`]: H
3151
3151
  }
3152
3152
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3153
3153
  `));
@@ -3340,81 +3340,81 @@ function Hs(e = {}, ...r) {
3340
3340
  } = t, $ = {
3341
3341
  ...v
3342
3342
  };
3343
- let I = x;
3344
- if ((y === "dark" && !("dark" in t) || y === "light" && !("light" in t)) && (I = !0), !I)
3343
+ let H = x;
3344
+ if ((y === "dark" && !("dark" in t) || y === "light" && !("light" in t)) && (H = !0), !H)
3345
3345
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : at(21, y));
3346
3346
  let C;
3347
3347
  a && (C = "oklch");
3348
- const w = kr(C, $, I, f, y);
3348
+ const k = kr(C, $, H, f, y);
3349
3349
  u && !$.light && kr(C, $, u, void 0, "light"), b && !$.dark && kr(C, $, b, void 0, "dark");
3350
- let H = {
3350
+ let R = {
3351
3351
  defaultColorScheme: y,
3352
- ...w,
3352
+ ...k,
3353
3353
  cssVarPrefix: s,
3354
3354
  colorSchemeSelector: c,
3355
3355
  rootSelector: g,
3356
3356
  getCssVar: h,
3357
3357
  colorSchemes: $,
3358
3358
  font: {
3359
- ...ns(w.typography),
3360
- ...w.font
3359
+ ...ns(k.typography),
3360
+ ...k.font
3361
3361
  },
3362
3362
  spacing: Rs(f.spacing)
3363
3363
  };
3364
- Object.keys(H.colorSchemes).forEach((Y) => {
3365
- const d = H.colorSchemes[Y].palette, O = (_) => {
3366
- const L = _.split("-"), q = L[1], U = L[2];
3367
- return h(_, d[q][U]);
3364
+ Object.keys(R.colorSchemes).forEach((Y) => {
3365
+ const d = R.colorSchemes[Y].palette, B = (L) => {
3366
+ const N = L.split("-"), K = N[1], U = N[2];
3367
+ return h(L, d[K][U]);
3368
3368
  };
3369
3369
  d.mode === "light" && (T(d.common, "background", "#fff"), T(d.common, "onBackground", "#000")), d.mode === "dark" && (T(d.common, "background", "#000"), T(d.common, "onBackground", "#fff"));
3370
- function A(_, L, q) {
3370
+ function A(L, N, K) {
3371
3371
  if (C) {
3372
3372
  let U;
3373
- return _ === tt && (U = `transparent ${((1 - q) * 100).toFixed(0)}%`), _ === oe && (U = `#000 ${(q * 100).toFixed(0)}%`), _ === ie && (U = `#fff ${(q * 100).toFixed(0)}%`), `color-mix(in ${C}, ${L}, ${U})`;
3373
+ return L === tt && (U = `transparent ${((1 - K) * 100).toFixed(0)}%`), L === ie && (U = `#000 ${(K * 100).toFixed(0)}%`), L === ae && (U = `#fff ${(K * 100).toFixed(0)}%`), `color-mix(in ${C}, ${N}, ${U})`;
3374
3374
  }
3375
- return _(L, q);
3375
+ return L(N, K);
3376
3376
  }
3377
3377
  if (Ts(d, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), d.mode === "light") {
3378
- T(d.Alert, "errorColor", A(oe, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(oe, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(oe, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(oe, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", O("palette-error-main")), T(d.Alert, "infoFilledBg", O("palette-info-main")), T(d.Alert, "successFilledBg", O("palette-success-main")), T(d.Alert, "warningFilledBg", O("palette-warning-main")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.main))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.main))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.main))), T(d.Alert, "warningFilledColor", Be(() => d.getContrastText(d.warning.main))), T(d.Alert, "errorStandardBg", A(ie, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(ie, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(ie, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", O("palette-error-main")), T(d.Alert, "infoIconColor", O("palette-info-main")), T(d.Alert, "successIconColor", O("palette-success-main")), T(d.Alert, "warningIconColor", O("palette-warning-main")), T(d.AppBar, "defaultBg", O("palette-grey-100")), T(d.Avatar, "defaultBg", O("palette-grey-400")), T(d.Button, "inheritContainedBg", O("palette-grey-300")), T(d.Button, "inheritContainedHoverBg", O("palette-grey-A100")), T(d.Chip, "defaultBorder", O("palette-grey-400")), T(d.Chip, "defaultAvatarColor", O("palette-grey-700")), T(d.Chip, "defaultIconColor", O("palette-grey-700")), T(d.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), T(d.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), T(d.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), T(d.LinearProgress, "primaryBg", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.LinearProgress, "secondaryBg", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.LinearProgress, "errorBg", A(ie, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.LinearProgress, "infoBg", A(ie, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.LinearProgress, "successBg", A(ie, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.LinearProgress, "warningBg", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.62)), T(d.Skeleton, "bg", C ? A(tt, a ? h("palette-text-primary") : d.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), T(d.Slider, "primaryTrack", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Slider, "secondaryTrack", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Slider, "errorTrack", A(ie, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Slider, "infoTrack", A(ie, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Slider, "successTrack", A(ie, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Slider, "warningTrack", A(ie, a ? h("palette-warning-main") : d.warning.main, 0.62));
3379
- const _ = C ? A(oe, a ? h("palette-background-default") : d.background.default, 0.6825) : jt(d.background.default, 0.8);
3380
- T(d.SnackbarContent, "bg", _), T(d.SnackbarContent, "color", Be(() => C ? Ar.text.primary : d.getContrastText(_))), T(d.SpeedDialAction, "fabHoverBg", jt(d.background.paper, 0.15)), T(d.StepConnector, "border", O("palette-grey-400")), T(d.StepContent, "border", O("palette-grey-400")), T(d.Switch, "defaultColor", O("palette-common-white")), T(d.Switch, "defaultDisabledColor", O("palette-grey-100")), T(d.Switch, "primaryDisabledColor", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Switch, "secondaryDisabledColor", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Switch, "errorDisabledColor", A(ie, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Switch, "infoDisabledColor", A(ie, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Switch, "successDisabledColor", A(ie, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Switch, "warningDisabledColor", A(ie, a ? h("palette-warning-main") : d.warning.main, 0.62)), T(d.TableCell, "border", A(ie, tt(a ? h("palette-divider") : d.divider, 1), 0.88)), T(d.Tooltip, "bg", A(tt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3378
+ T(d.Alert, "errorColor", A(ie, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(ie, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(ie, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", B("palette-error-main")), T(d.Alert, "infoFilledBg", B("palette-info-main")), T(d.Alert, "successFilledBg", B("palette-success-main")), T(d.Alert, "warningFilledBg", B("palette-warning-main")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.main))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.main))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.main))), T(d.Alert, "warningFilledColor", Be(() => d.getContrastText(d.warning.main))), T(d.Alert, "errorStandardBg", A(ae, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(ae, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(ae, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(ae, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", B("palette-error-main")), T(d.Alert, "infoIconColor", B("palette-info-main")), T(d.Alert, "successIconColor", B("palette-success-main")), T(d.Alert, "warningIconColor", B("palette-warning-main")), T(d.AppBar, "defaultBg", B("palette-grey-100")), T(d.Avatar, "defaultBg", B("palette-grey-400")), T(d.Button, "inheritContainedBg", B("palette-grey-300")), T(d.Button, "inheritContainedHoverBg", B("palette-grey-A100")), T(d.Chip, "defaultBorder", B("palette-grey-400")), T(d.Chip, "defaultAvatarColor", B("palette-grey-700")), T(d.Chip, "defaultIconColor", B("palette-grey-700")), T(d.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), T(d.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), T(d.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), T(d.LinearProgress, "primaryBg", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.LinearProgress, "secondaryBg", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.LinearProgress, "errorBg", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.LinearProgress, "infoBg", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.LinearProgress, "successBg", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.LinearProgress, "warningBg", A(ae, a ? h("palette-warning-light") : d.warning.main, 0.62)), T(d.Skeleton, "bg", C ? A(tt, a ? h("palette-text-primary") : d.text.primary, 0.11) : `rgba(${B("palette-text-primaryChannel")} / 0.11)`), T(d.Slider, "primaryTrack", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Slider, "secondaryTrack", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Slider, "errorTrack", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Slider, "infoTrack", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Slider, "successTrack", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Slider, "warningTrack", A(ae, a ? h("palette-warning-main") : d.warning.main, 0.62));
3379
+ const L = C ? A(ie, a ? h("palette-background-default") : d.background.default, 0.6825) : jt(d.background.default, 0.8);
3380
+ T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Be(() => C ? Ir.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", jt(d.background.paper, 0.15)), T(d.StepConnector, "border", B("palette-grey-400")), T(d.StepContent, "border", B("palette-grey-400")), T(d.Switch, "defaultColor", B("palette-common-white")), T(d.Switch, "defaultDisabledColor", B("palette-grey-100")), T(d.Switch, "primaryDisabledColor", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Switch, "secondaryDisabledColor", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Switch, "errorDisabledColor", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Switch, "infoDisabledColor", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Switch, "successDisabledColor", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Switch, "warningDisabledColor", A(ae, a ? h("palette-warning-main") : d.warning.main, 0.62)), T(d.TableCell, "border", A(ae, tt(a ? h("palette-divider") : d.divider, 1), 0.88)), T(d.Tooltip, "bg", A(tt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3381
3381
  }
3382
3382
  if (d.mode === "dark") {
3383
- T(d.Alert, "errorColor", A(ie, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(ie, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(ie, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", O("palette-error-dark")), T(d.Alert, "infoFilledBg", O("palette-info-dark")), T(d.Alert, "successFilledBg", O("palette-success-dark")), T(d.Alert, "warningFilledBg", O("palette-warning-dark")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.dark))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.dark))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.dark))), T(d.Alert, "warningFilledColor", Be(() => d.getContrastText(d.warning.dark))), T(d.Alert, "errorStandardBg", A(oe, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(oe, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(oe, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(oe, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", O("palette-error-main")), T(d.Alert, "infoIconColor", O("palette-info-main")), T(d.Alert, "successIconColor", O("palette-success-main")), T(d.Alert, "warningIconColor", O("palette-warning-main")), T(d.AppBar, "defaultBg", O("palette-grey-900")), T(d.AppBar, "darkBg", O("palette-background-paper")), T(d.AppBar, "darkColor", O("palette-text-primary")), T(d.Avatar, "defaultBg", O("palette-grey-600")), T(d.Button, "inheritContainedBg", O("palette-grey-800")), T(d.Button, "inheritContainedHoverBg", O("palette-grey-700")), T(d.Chip, "defaultBorder", O("palette-grey-700")), T(d.Chip, "defaultAvatarColor", O("palette-grey-300")), T(d.Chip, "defaultIconColor", O("palette-grey-300")), T(d.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), T(d.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), T(d.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), T(d.LinearProgress, "primaryBg", A(oe, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.LinearProgress, "secondaryBg", A(oe, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.LinearProgress, "errorBg", A(oe, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.LinearProgress, "infoBg", A(oe, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.LinearProgress, "successBg", A(oe, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.LinearProgress, "warningBg", A(oe, a ? h("palette-warning-main") : d.warning.main, 0.5)), T(d.Skeleton, "bg", C ? A(tt, a ? h("palette-text-primary") : d.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), T(d.Slider, "primaryTrack", A(oe, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.Slider, "secondaryTrack", A(oe, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.Slider, "errorTrack", A(oe, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.Slider, "infoTrack", A(oe, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.Slider, "successTrack", A(oe, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.Slider, "warningTrack", A(oe, a ? h("palette-warning-light") : d.warning.main, 0.5));
3384
- const _ = C ? A(ie, a ? h("palette-background-default") : d.background.default, 0.985) : jt(d.background.default, 0.98);
3385
- T(d.SnackbarContent, "bg", _), T(d.SnackbarContent, "color", Be(() => C ? ro.text.primary : d.getContrastText(_))), T(d.SpeedDialAction, "fabHoverBg", jt(d.background.paper, 0.15)), T(d.StepConnector, "border", O("palette-grey-600")), T(d.StepContent, "border", O("palette-grey-600")), T(d.Switch, "defaultColor", O("palette-grey-300")), T(d.Switch, "defaultDisabledColor", O("palette-grey-600")), T(d.Switch, "primaryDisabledColor", A(oe, a ? h("palette-primary-main") : d.primary.main, 0.55)), T(d.Switch, "secondaryDisabledColor", A(oe, a ? h("palette-secondary-main") : d.secondary.main, 0.55)), T(d.Switch, "errorDisabledColor", A(oe, a ? h("palette-error-main") : d.error.main, 0.55)), T(d.Switch, "infoDisabledColor", A(oe, a ? h("palette-info-main") : d.info.main, 0.55)), T(d.Switch, "successDisabledColor", A(oe, a ? h("palette-success-main") : d.success.main, 0.55)), T(d.Switch, "warningDisabledColor", A(oe, a ? h("palette-warning-light") : d.warning.main, 0.55)), T(d.TableCell, "border", A(oe, tt(a ? h("palette-divider") : d.divider, 1), 0.68)), T(d.Tooltip, "bg", A(tt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3383
+ T(d.Alert, "errorColor", A(ae, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(ae, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(ae, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(ae, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", B("palette-error-dark")), T(d.Alert, "infoFilledBg", B("palette-info-dark")), T(d.Alert, "successFilledBg", B("palette-success-dark")), T(d.Alert, "warningFilledBg", B("palette-warning-dark")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.dark))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.dark))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.dark))), T(d.Alert, "warningFilledColor", Be(() => d.getContrastText(d.warning.dark))), T(d.Alert, "errorStandardBg", A(ie, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(ie, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(ie, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", B("palette-error-main")), T(d.Alert, "infoIconColor", B("palette-info-main")), T(d.Alert, "successIconColor", B("palette-success-main")), T(d.Alert, "warningIconColor", B("palette-warning-main")), T(d.AppBar, "defaultBg", B("palette-grey-900")), T(d.AppBar, "darkBg", B("palette-background-paper")), T(d.AppBar, "darkColor", B("palette-text-primary")), T(d.Avatar, "defaultBg", B("palette-grey-600")), T(d.Button, "inheritContainedBg", B("palette-grey-800")), T(d.Button, "inheritContainedHoverBg", B("palette-grey-700")), T(d.Chip, "defaultBorder", B("palette-grey-700")), T(d.Chip, "defaultAvatarColor", B("palette-grey-300")), T(d.Chip, "defaultIconColor", B("palette-grey-300")), T(d.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), T(d.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), T(d.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), T(d.LinearProgress, "primaryBg", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.LinearProgress, "secondaryBg", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.LinearProgress, "errorBg", A(ie, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.LinearProgress, "infoBg", A(ie, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.LinearProgress, "successBg", A(ie, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.LinearProgress, "warningBg", A(ie, a ? h("palette-warning-main") : d.warning.main, 0.5)), T(d.Skeleton, "bg", C ? A(tt, a ? h("palette-text-primary") : d.text.primary, 0.13) : `rgba(${B("palette-text-primaryChannel")} / 0.13)`), T(d.Slider, "primaryTrack", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.Slider, "secondaryTrack", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.Slider, "errorTrack", A(ie, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.Slider, "infoTrack", A(ie, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.Slider, "successTrack", A(ie, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.Slider, "warningTrack", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.5));
3384
+ const L = C ? A(ae, a ? h("palette-background-default") : d.background.default, 0.985) : jt(d.background.default, 0.98);
3385
+ T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Be(() => C ? ro.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", jt(d.background.paper, 0.15)), T(d.StepConnector, "border", B("palette-grey-600")), T(d.StepContent, "border", B("palette-grey-600")), T(d.Switch, "defaultColor", B("palette-grey-300")), T(d.Switch, "defaultDisabledColor", B("palette-grey-600")), T(d.Switch, "primaryDisabledColor", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.55)), T(d.Switch, "secondaryDisabledColor", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.55)), T(d.Switch, "errorDisabledColor", A(ie, a ? h("palette-error-main") : d.error.main, 0.55)), T(d.Switch, "infoDisabledColor", A(ie, a ? h("palette-info-main") : d.info.main, 0.55)), T(d.Switch, "successDisabledColor", A(ie, a ? h("palette-success-main") : d.success.main, 0.55)), T(d.Switch, "warningDisabledColor", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.55)), T(d.TableCell, "border", A(ie, tt(a ? h("palette-divider") : d.divider, 1), 0.68)), T(d.Tooltip, "bg", A(tt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3386
3386
  }
3387
- a || (Me(d.background, "default"), Me(d.background, "paper"), Me(d.common, "background"), Me(d.common, "onBackground"), Me(d, "divider")), Object.keys(d).forEach((_) => {
3388
- const L = d[_];
3389
- _ !== "tonalOffset" && !a && L && typeof L == "object" && (L.main && T(d[_], "mainChannel", kt(Tt(L.main))), L.light && T(d[_], "lightChannel", kt(Tt(L.light))), L.dark && T(d[_], "darkChannel", kt(Tt(L.dark))), L.contrastText && T(d[_], "contrastTextChannel", kt(Tt(L.contrastText))), _ === "text" && (Me(d[_], "primary"), Me(d[_], "secondary")), _ === "action" && (L.active && Me(d[_], "active"), L.selected && Me(d[_], "selected")));
3387
+ a || (Me(d.background, "default"), Me(d.background, "paper"), Me(d.common, "background"), Me(d.common, "onBackground"), Me(d, "divider")), Object.keys(d).forEach((L) => {
3388
+ const N = d[L];
3389
+ L !== "tonalOffset" && !a && N && typeof N == "object" && (N.main && T(d[L], "mainChannel", kt(Tt(N.main))), N.light && T(d[L], "lightChannel", kt(Tt(N.light))), N.dark && T(d[L], "darkChannel", kt(Tt(N.dark))), N.contrastText && T(d[L], "contrastTextChannel", kt(Tt(N.contrastText))), L === "text" && (Me(d[L], "primary"), Me(d[L], "secondary")), L === "action" && (N.active && Me(d[L], "active"), N.selected && Me(d[L], "selected")));
3390
3390
  });
3391
- }), H = r.reduce((Y, d) => Pe(Y, d), H);
3392
- const W = {
3391
+ }), R = r.reduce((Y, d) => Pe(Y, d), R);
3392
+ const z = {
3393
3393
  prefix: s,
3394
3394
  disableCssColorScheme: o,
3395
3395
  shouldSkipGeneratingVar: l,
3396
- getSelector: ks(H),
3396
+ getSelector: ks(R),
3397
3397
  enableContrastVars: a
3398
3398
  }, {
3399
- vars: B,
3399
+ vars: I,
3400
3400
  generateThemeVars: X,
3401
3401
  generateStyleSheets: Q
3402
- } = Ya(H, W);
3403
- return H.vars = B, Object.entries(H.colorSchemes[H.defaultColorScheme]).forEach(([Y, d]) => {
3404
- H[Y] = d;
3405
- }), H.generateThemeVars = X, H.generateStyleSheets = Q, H.generateSpacing = function() {
3402
+ } = Ya(R, z);
3403
+ return R.vars = I, Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([Y, d]) => {
3404
+ R[Y] = d;
3405
+ }), R.generateThemeVars = X, R.generateStyleSheets = Q, R.generateSpacing = function() {
3406
3406
  return Yn(f.spacing, zr(this));
3407
- }, H.getColorSchemeSelector = Ja(c), H.spacing = H.generateSpacing(), H.shouldSkipGeneratingVar = l, H.unstable_sxConfig = {
3407
+ }, R.getColorSchemeSelector = Ja(c), R.spacing = R.generateSpacing(), R.shouldSkipGeneratingVar = l, R.unstable_sxConfig = {
3408
3408
  ...lr,
3409
3409
  ...f == null ? void 0 : f.unstable_sxConfig
3410
- }, H.unstable_sx = function(d) {
3410
+ }, R.unstable_sx = function(d) {
3411
3411
  return xt({
3412
3412
  sx: d,
3413
3413
  theme: this
3414
3414
  });
3415
- }, H.toRuntimeSource = oo, H;
3415
+ }, R.toRuntimeSource = oo, R;
3416
3416
  }
3417
- function An(e, r, t) {
3417
+ function In(e, r, t) {
3418
3418
  e.colorSchemes && t && (e.colorSchemes[r] = {
3419
3419
  ...t !== !0 && t,
3420
3420
  palette: jr({
@@ -3456,10 +3456,10 @@ function so(e = {}, ...r) {
3456
3456
  return m.defaultColorScheme = l, m.colorSchemes = g, m.palette.mode === "light" && (m.colorSchemes.light = {
3457
3457
  ...g.light !== !0 && g.light,
3458
3458
  palette: m.palette
3459
- }, An(m, "dark", g.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
3459
+ }, In(m, "dark", g.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
3460
3460
  ...g.dark !== !0 && g.dark,
3461
3461
  palette: m.palette
3462
- }, An(m, "light", g.light)), m;
3462
+ }, In(m, "light", g.light)), m;
3463
3463
  }
3464
3464
  return !t && !("light" in g) && l === "light" && (g.light = !0), Hs({
3465
3465
  ...a,
@@ -3469,15 +3469,15 @@ function so(e = {}, ...r) {
3469
3469
  }, ...r);
3470
3470
  }
3471
3471
  const Ps = so(), $s = "$$material";
3472
- function Is(e) {
3472
+ function As(e) {
3473
3473
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3474
3474
  }
3475
- const As = (e) => Is(e) && e !== "classes", Bs = Ia({
3475
+ const Is = (e) => As(e) && e !== "classes", Bs = Aa({
3476
3476
  themeId: $s,
3477
3477
  defaultTheme: Ps,
3478
- rootShouldForwardProp: As
3478
+ rootShouldForwardProp: Is
3479
3479
  }), Os = ja;
3480
- process.env.NODE_ENV !== "production" && (te.node, te.object.isRequired);
3480
+ process.env.NODE_ENV !== "production" && (re.node, re.object.isRequired);
3481
3481
  function Ds(e) {
3482
3482
  return Na(e);
3483
3483
  }
@@ -3485,7 +3485,7 @@ function Ms(e) {
3485
3485
  return Lr("MuiSvgIcon", e);
3486
3486
  }
3487
3487
  Ra("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
3488
- const Ws = (e) => {
3488
+ const Fs = (e) => {
3489
3489
  const {
3490
3490
  color: r,
3491
3491
  fontSize: t,
@@ -3494,7 +3494,7 @@ const Ws = (e) => {
3494
3494
  root: ["root", r !== "inherit" && `color${st(r)}`, `fontSize${st(t)}`]
3495
3495
  };
3496
3496
  return yi(o, Ms, n);
3497
- }, Fs = Bs("svg", {
3497
+ }, Ws = Bs("svg", {
3498
3498
  name: "MuiSvgIcon",
3499
3499
  slot: "Root",
3500
3500
  overridesResolver: (e, r) => {
@@ -3621,8 +3621,8 @@ const Ws = (e) => {
3621
3621
  hasSvgAsChild: x
3622
3622
  }, b = {};
3623
3623
  f || (b.viewBox = y);
3624
- const v = Ws(u);
3625
- return /* @__PURE__ */ p(Fs, {
3624
+ const v = Fs(u);
3625
+ return /* @__PURE__ */ p(Ws, {
3626
3626
  as: l,
3627
3627
  className: jn(v.root, s),
3628
3628
  focusable: "false",
@@ -3647,15 +3647,15 @@ process.env.NODE_ENV !== "production" && (Xt.propTypes = {
3647
3647
  /**
3648
3648
  * Node passed into the SVG element.
3649
3649
  */
3650
- children: te.node,
3650
+ children: re.node,
3651
3651
  /**
3652
3652
  * Override or extend the styles applied to the component.
3653
3653
  */
3654
- classes: te.object,
3654
+ classes: re.object,
3655
3655
  /**
3656
3656
  * @ignore
3657
3657
  */
3658
- className: te.string,
3658
+ className: re.string,
3659
3659
  /**
3660
3660
  * The color of the component.
3661
3661
  * It supports both default and custom theme colors, which can be added as shown in the
@@ -3663,21 +3663,21 @@ process.env.NODE_ENV !== "production" && (Xt.propTypes = {
3663
3663
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
3664
3664
  * @default 'inherit'
3665
3665
  */
3666
- color: te.oneOfType([te.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), te.string]),
3666
+ color: re.oneOfType([re.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), re.string]),
3667
3667
  /**
3668
3668
  * The component used for the root node.
3669
3669
  * Either a string to use a HTML element or a component.
3670
3670
  */
3671
- component: te.elementType,
3671
+ component: re.elementType,
3672
3672
  /**
3673
3673
  * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
3674
3674
  * @default 'medium'
3675
3675
  */
3676
- fontSize: te.oneOfType([te.oneOf(["inherit", "large", "medium", "small"]), te.string]),
3676
+ fontSize: re.oneOfType([re.oneOf(["inherit", "large", "medium", "small"]), re.string]),
3677
3677
  /**
3678
3678
  * Applies a color attribute to the SVG element.
3679
3679
  */
3680
- htmlColor: te.string,
3680
+ htmlColor: re.string,
3681
3681
  /**
3682
3682
  * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
3683
3683
  * prop will be ignored.
@@ -3685,22 +3685,22 @@ process.env.NODE_ENV !== "production" && (Xt.propTypes = {
3685
3685
  * `component`'s viewBox to the root node.
3686
3686
  * @default false
3687
3687
  */
3688
- inheritViewBox: te.bool,
3688
+ inheritViewBox: re.bool,
3689
3689
  /**
3690
3690
  * The shape-rendering attribute. The behavior of the different options is described on the
3691
3691
  * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
3692
3692
  * If you are having issues with blurry icons you should investigate this prop.
3693
3693
  */
3694
- shapeRendering: te.string,
3694
+ shapeRendering: re.string,
3695
3695
  /**
3696
3696
  * The system prop that allows defining system overrides as well as additional CSS styles.
3697
3697
  */
3698
- sx: te.oneOfType([te.arrayOf(te.oneOfType([te.func, te.object, te.bool])), te.func, te.object]),
3698
+ sx: re.oneOfType([re.arrayOf(re.oneOfType([re.func, re.object, re.bool])), re.func, re.object]),
3699
3699
  /**
3700
3700
  * Provides a human-readable title for the element that contains it.
3701
3701
  * https://www.w3.org/TR/SVG-access/#Equivalent
3702
3702
  */
3703
- titleAccess: te.string,
3703
+ titleAccess: re.string,
3704
3704
  /**
3705
3705
  * Allows you to redefine what the coordinates without units mean inside an SVG element.
3706
3706
  * For example, if the SVG element is 500 (width) by 200 (height),
@@ -3709,10 +3709,10 @@ process.env.NODE_ENV !== "production" && (Xt.propTypes = {
3709
3709
  * to bottom right (50,20) and each unit will be worth 10px.
3710
3710
  * @default '0 0 24 24'
3711
3711
  */
3712
- viewBox: te.string
3712
+ viewBox: re.string
3713
3713
  });
3714
3714
  Xt.muiName = "SvgIcon";
3715
- function It(e, r) {
3715
+ function At(e, r) {
3716
3716
  function t(n, o) {
3717
3717
  return /* @__PURE__ */ i(Xt, {
3718
3718
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
@@ -3723,13 +3723,13 @@ function It(e, r) {
3723
3723
  }
3724
3724
  return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Xt.muiName, /* @__PURE__ */ Je.memo(/* @__PURE__ */ Je.forwardRef(t));
3725
3725
  }
3726
- const zs = It(/* @__PURE__ */ i("path", {
3726
+ const zs = At(/* @__PURE__ */ i("path", {
3727
3727
  d: "M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"
3728
- }), "TuneRounded"), _s = It(/* @__PURE__ */ i("path", {
3728
+ }), "TuneRounded"), _s = At(/* @__PURE__ */ i("path", {
3729
3729
  d: "M12 5V3.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V7c3.31 0 6 2.69 6 6 0 2.72-1.83 5.02-4.31 5.75-.42.12-.69.52-.69.95 0 .65.62 1.16 1.25.97C17.57 19.7 20 16.64 20 13c0-4.42-3.58-8-8-8m-6 8c0-1.34.44-2.58 1.19-3.59.3-.4.26-.95-.09-1.31-.42-.42-1.14-.38-1.5.1-1 1.34-1.6 3-1.6 4.8 0 3.64 2.43 6.7 5.75 7.67.63.19 1.25-.32 1.25-.97 0-.43-.27-.83-.69-.95C7.83 18.02 6 15.72 6 13"
3730
- }), "RestartAltRounded"), Ls = It(/* @__PURE__ */ i("path", {
3730
+ }), "RestartAltRounded"), Ls = At(/* @__PURE__ */ i("path", {
3731
3731
  d: "M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
3732
- }), "DarkModeOutlined"), Ns = It(/* @__PURE__ */ i("path", {
3732
+ }), "DarkModeOutlined"), Ns = At(/* @__PURE__ */ i("path", {
3733
3733
  d: "M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"
3734
3734
  }), "LightModeOutlined"), Bn = (e) => {
3735
3735
  let r;
@@ -3835,19 +3835,19 @@ const Or = (e) => (r) => {
3835
3835
  if (!f) return;
3836
3836
  const $ = ++l;
3837
3837
  a = !1, c.forEach((C) => {
3838
- var w;
3839
- return C((w = n()) != null ? w : h);
3838
+ var k;
3839
+ return C((k = n()) != null ? k : h);
3840
3840
  });
3841
- const I = ((v = s.onRehydrateStorage) == null ? void 0 : v.call(s, (b = n()) != null ? b : h)) || void 0;
3841
+ const H = ((v = s.onRehydrateStorage) == null ? void 0 : v.call(s, (b = n()) != null ? b : h)) || void 0;
3842
3842
  return Or(f.getItem.bind(f))(s.name).then((C) => {
3843
3843
  if (C)
3844
3844
  if (typeof C.version == "number" && C.version !== s.version) {
3845
3845
  if (s.migrate) {
3846
- const w = s.migrate(
3846
+ const k = s.migrate(
3847
3847
  C.state,
3848
3848
  C.version
3849
3849
  );
3850
- return w instanceof Promise ? w.then((H) => [!0, H]) : [!0, w];
3850
+ return k instanceof Promise ? k.then((R) => [!0, R]) : [!0, k];
3851
3851
  }
3852
3852
  console.error(
3853
3853
  "State loaded from storage couldn't be migrated since no migrate function was provided"
@@ -3856,19 +3856,19 @@ const Or = (e) => (r) => {
3856
3856
  return [!1, C.state];
3857
3857
  return [!1, void 0];
3858
3858
  }).then((C) => {
3859
- var w;
3859
+ var k;
3860
3860
  if ($ !== l)
3861
3861
  return;
3862
- const [H, W] = C;
3862
+ const [R, z] = C;
3863
3863
  if (x = s.merge(
3864
- W,
3865
- (w = n()) != null ? w : h
3866
- ), t(x, !0), H)
3864
+ z,
3865
+ (k = n()) != null ? k : h
3866
+ ), t(x, !0), R)
3867
3867
  return m();
3868
3868
  }).then(() => {
3869
- $ === l && (I == null || I(n(), void 0), x = n(), a = !0, g.forEach((C) => C(x)));
3869
+ $ === l && (H == null || H(n(), void 0), x = n(), a = !0, g.forEach((C) => C(x)));
3870
3870
  }).catch((C) => {
3871
- $ === l && (I == null || I(void 0, C));
3871
+ $ === l && (H == null || H(void 0, C));
3872
3872
  });
3873
3873
  };
3874
3874
  return o.persist = {
@@ -3896,11 +3896,11 @@ const Or = (e) => (r) => {
3896
3896
  appTagline: "Run your whole business in one place",
3897
3897
  logoMode: "icon",
3898
3898
  logoUrl: "",
3899
- iconColor: "#1565c0",
3899
+ iconColor: "#4F6BFF",
3900
3900
  presetId: "corporate",
3901
3901
  mode: "light",
3902
- primaryHex: "#1565c0",
3903
- secondaryHex: "#00897b",
3902
+ primaryHex: "#4F6BFF",
3903
+ secondaryHex: "#22D3EE",
3904
3904
  highlightHex: "",
3905
3905
  errorHex: "#d32f2f",
3906
3906
  warningHex: "#ed6c02",
@@ -3983,7 +3983,7 @@ const Or = (e) => (r) => {
3983
3983
  notifAccent: "severity",
3984
3984
  notifBadge: !0,
3985
3985
  notifAutoDismiss: !1,
3986
- autoDismissSec: 0,
3986
+ autoDismissSec: 8,
3987
3987
  toastW: 0,
3988
3988
  navPattern: "sidebar",
3989
3989
  sidebarWidth: 220,
@@ -3994,7 +3994,7 @@ const Or = (e) => (r) => {
3994
3994
  loginPanelColor: "",
3995
3995
  loginImgOpacity: 0,
3996
3996
  loginCardW: 0
3997
- }, We = (e) => JSON.stringify(e);
3997
+ }, Fe = (e) => JSON.stringify(e);
3998
3998
  function Tr(e) {
3999
3999
  const r = { ...Oe };
4000
4000
  if (e && typeof e == "object")
@@ -4019,16 +4019,16 @@ const j = lo()(
4019
4019
  (e, r) => ({
4020
4020
  settings: { ...Oe },
4021
4021
  savedThemes: [],
4022
- baseline: We(Oe),
4022
+ baseline: Fe(Oe),
4023
4023
  editingSavedId: null,
4024
4024
  lastImportedId: null,
4025
4025
  set: (t) => e((n) => ({ settings: { ...n.settings, ...t, presetId: "custom" } })),
4026
4026
  applyPreset: (t, n) => e((o) => {
4027
4027
  const s = { ...o.settings, ...n, presetId: t };
4028
- return { settings: s, baseline: We(s), editingSavedId: null, lastImportedId: null };
4028
+ return { settings: s, baseline: Fe(s), editingSavedId: null, lastImportedId: null };
4029
4029
  }),
4030
- reset: () => e(() => ({ settings: { ...Oe }, baseline: We(Oe), editingSavedId: null, lastImportedId: null })),
4031
- captureBaseline: () => e((t) => ({ baseline: We(t.settings) })),
4030
+ reset: () => e(() => ({ settings: { ...Oe }, baseline: Fe(Oe), editingSavedId: null, lastImportedId: null })),
4031
+ captureBaseline: () => e((t) => ({ baseline: Fe(t.settings) })),
4032
4032
  restoreBaseline: () => e((t) => {
4033
4033
  try {
4034
4034
  return { settings: JSON.parse(t.baseline) };
@@ -4036,13 +4036,13 @@ const j = lo()(
4036
4036
  return {};
4037
4037
  }
4038
4038
  }),
4039
- isDirty: () => We(r().settings) !== r().baseline,
4039
+ isDirty: () => Fe(r().settings) !== r().baseline,
4040
4040
  saveTheme: (t) => e((n) => {
4041
4041
  const o = "cust" + Date.now(), s = { ...n.settings };
4042
4042
  return {
4043
4043
  savedThemes: [...n.savedThemes, { id: o, name: t, snap: s }],
4044
4044
  settings: { ...n.settings, presetId: o },
4045
- baseline: We({ ...n.settings, presetId: o }),
4045
+ baseline: Fe({ ...n.settings, presetId: o }),
4046
4046
  editingSavedId: o,
4047
4047
  lastImportedId: null
4048
4048
  };
@@ -4052,14 +4052,14 @@ const j = lo()(
4052
4052
  return {
4053
4053
  savedThemes: s.savedThemes.map((l) => l.id === t ? { ...l, name: n, snap: o } : l),
4054
4054
  settings: a,
4055
- baseline: We(a),
4055
+ baseline: Fe(a),
4056
4056
  editingSavedId: t,
4057
4057
  lastImportedId: null
4058
4058
  };
4059
4059
  }),
4060
4060
  applySaved: (t) => e(() => {
4061
4061
  const n = { ...Tr(t.snap), presetId: t.id };
4062
- return { settings: n, baseline: We(n), editingSavedId: t.id, lastImportedId: null };
4062
+ return { settings: n, baseline: Fe(n), editingSavedId: t.id, lastImportedId: null };
4063
4063
  }),
4064
4064
  renameSaved: (t, n) => e((o) => ({
4065
4065
  savedThemes: o.savedThemes.map((s) => s.id === t ? { ...s, name: n } : s)
@@ -4077,7 +4077,7 @@ const j = lo()(
4077
4077
  // Newest import first, matching the font-upload "newest first" ordering.
4078
4078
  savedThemes: [s, ...a.savedThemes],
4079
4079
  settings: l,
4080
- baseline: We(l),
4080
+ baseline: Fe(l),
4081
4081
  editingSavedId: s.id,
4082
4082
  lastImportedId: s.id
4083
4083
  };
@@ -4091,7 +4091,12 @@ const j = lo()(
4091
4091
  return {
4092
4092
  ...r,
4093
4093
  ...t,
4094
- settings: Tr(t.settings)
4094
+ settings: Tr(t.settings),
4095
+ // Same reasoning as sanitizeSettings above: a corrupt/stale persisted value here
4096
+ // (anything but a real array) would otherwise flow straight into state and crash
4097
+ // every `.length`/`.map`/`.filter` call site on it (ThemeManagement.tsx, saveTheme,
4098
+ // deleteSaved, etc.) on every load, permanently, since the bad value re-persists.
4099
+ savedThemes: Array.isArray(t.savedThemes) ? t.savedThemes : r.savedThemes
4095
4100
  };
4096
4101
  }
4097
4102
  }
@@ -4123,7 +4128,7 @@ function Dr(e) {
4123
4128
  const g = (o + s) / 2;
4124
4129
  return a && (c = a / (1 - Math.abs(2 * g - 1)), o === r ? l = (t - n) / a % 6 : o === t ? l = (n - r) / a + 2 : l = (r - t) / a + 4, l = Math.round(l * 60), l < 0 && (l += 360)), [l, Math.round(c * 100), Math.round(g * 100)];
4125
4130
  }
4126
- function de(e, r, t) {
4131
+ function ce(e, r, t) {
4127
4132
  r /= 100, t /= 100;
4128
4133
  const n = (o) => {
4129
4134
  const s = (o + e / 30) % 12, a = r * Math.min(t, 1 - t);
@@ -4135,19 +4140,19 @@ function Re(e) {
4135
4140
  try {
4136
4141
  const [r, t] = Dr(e), n = Math.max(t, 18);
4137
4142
  return {
4138
- 50: de(r, Math.max(Math.round(n * 0.3), 10), 96),
4139
- 100: de(r, Math.max(Math.round(n * 0.42), 12), 91),
4140
- 200: de(r, Math.max(Math.round(n * 0.55), 16), 82),
4141
- 300: de(r, Math.max(Math.round(n * 0.7), 20), 70),
4142
- 400: de(r, n, 60),
4143
+ 50: ce(r, Math.max(Math.round(n * 0.3), 10), 96),
4144
+ 100: ce(r, Math.max(Math.round(n * 0.42), 12), 91),
4145
+ 200: ce(r, Math.max(Math.round(n * 0.55), 16), 82),
4146
+ 300: ce(r, Math.max(Math.round(n * 0.7), 20), 70),
4147
+ 400: ce(r, n, 60),
4143
4148
  500: e,
4144
- 600: de(r, Math.min(n + 4, 100), 44),
4145
- 700: de(r, Math.min(n + 8, 100), 36),
4146
- 800: de(r, Math.max(Math.round(n * 0.92), 16), 26),
4147
- 900: de(r, Math.max(Math.round(n * 0.8), 14), 16)
4149
+ 600: ce(r, Math.min(n + 4, 100), 44),
4150
+ 700: ce(r, Math.min(n + 8, 100), 36),
4151
+ 800: ce(r, Math.max(Math.round(n * 0.92), 16), 26),
4152
+ 900: ce(r, Math.max(Math.round(n * 0.8), 14), 16)
4148
4153
  };
4149
4154
  } catch {
4150
- return { 50: "#eef", 100: "#dde", 200: "#bbd", 300: "#99c", 400: "#77b", 500: e || "#1565c0", 600: "#1257a8", 700: "#0e4488", 800: "#0a3266", 900: "#062044" };
4155
+ return { 50: "#eef", 100: "#dde", 200: "#bbd", 300: "#99c", 400: "#77b", 500: e || "#4F6BFF", 600: "#1257a8", 700: "#0e4488", 800: "#0a3266", 900: "#062044" };
4151
4156
  }
4152
4157
  }
4153
4158
  function Rr(e, r) {
@@ -4192,11 +4197,11 @@ function Vr(e) {
4192
4197
  textDisabled: n ? "rgba(255,255,255,0.4)" : "rgba(0,0,0,0.38)",
4193
4198
  divider: n ? "rgba(255,255,255,0.12)" : "rgba(0,0,0,0.12)",
4194
4199
  outline: n ? "rgba(255,255,255,0.23)" : "rgba(0,0,0,0.23)"
4195
- }, l = e.statusBold, c = l ? e.errorHex : pe(e.errorHex, n ? 0.22 : 0.13), g = l ? e.warningHex : pe(e.warningHex, n ? 0.22 : 0.14), f = l ? e.infoHex : pe(e.infoHex, n ? 0.22 : 0.13), m = l ? e.successHex : pe(e.successHex, n ? 0.22 : 0.13), y = l ? "#ffffff" : n ? Re(e.errorHex)[300] : e.errorHex, h = l ? "#ffffff" : n ? Re(e.warningHex)[300] : Re(e.warningHex)[700], x = l ? "#ffffff" : n ? Re(e.infoHex)[300] : e.infoHex, u = l ? "#ffffff" : n ? Re(e.successHex)[300] : Re(e.successHex)[700], b = Dr(e.primaryHex)[0], v = { neutral: [220, 6], warm: [32, 26], cool: [210, 30], brand: [b, 42], slate: [214, 16], snow: [0, 0] }, $ = v[e.surfaceTint] || v.neutral, I = e.tintIntensity >= 0 ? e.tintIntensity : 100, C = [$[0], Math.round($[1] * I / 100)];
4196
- n ? (a.bgDefault = de(C[0], Math.round(C[1] * 0.7), 7), a.paper = de(C[0], Math.round(C[1] * 0.7), 13), a.paper2 = de(C[0], Math.round(C[1] * 0.85), 19)) : e.surfaceTint === "snow" && !(e.tintIntensity > 0) ? (a.bgDefault = "#ffffff", a.paper = "#ffffff", a.paper2 = "#ffffff") : (a.bgDefault = de(C[0], Math.round(C[1] * 0.9), e.surfaceTint === "brand" ? 92 : e.surfaceTint === "cool" ? 94 : 96), a.paper = de(C[0], Math.round(C[1] * 0.4), 99), a.paper2 = de(C[0], Math.round(C[1] * 0.85), e.surfaceTint === "brand" ? 95 : 96.5)), e.pageBgHex && (a.bgDefault = e.pageBgHex), e.cardBgHex && (a.paper = e.cardBgHex);
4197
- const w = { soft: 0, standard: 1, medium: 2, high: 3 }, H = w[e.contrast] !== void 0 ? w[e.contrast] : 1, W = n ? [["rgba(255,255,255,0.82)", "rgba(255,255,255,0.55)", "rgba(255,255,255,0.09)", "rgba(255,255,255,0.16)"], ["rgba(255,255,255,0.92)", "rgba(255,255,255,0.62)", "rgba(255,255,255,0.12)", "rgba(255,255,255,0.23)"], ["rgba(255,255,255,0.96)", "rgba(255,255,255,0.74)", "rgba(255,255,255,0.18)", "rgba(255,255,255,0.34)"], ["#ffffff", "rgba(255,255,255,0.87)", "rgba(255,255,255,0.26)", "rgba(255,255,255,0.46)"]] : [["rgba(0,0,0,0.72)", "rgba(0,0,0,0.5)", "rgba(0,0,0,0.08)", "rgba(0,0,0,0.16)"], ["rgba(0,0,0,0.87)", "rgba(0,0,0,0.6)", "rgba(0,0,0,0.12)", "rgba(0,0,0,0.23)"], ["rgba(0,0,0,0.92)", "rgba(0,0,0,0.7)", "rgba(0,0,0,0.18)", "rgba(0,0,0,0.34)"], ["#000000", "rgba(0,0,0,0.8)", "rgba(0,0,0,0.24)", "rgba(0,0,0,0.46)"]];
4198
- a.textPrimary = W[H][0], a.textSecondary = W[H][1], a.divider = W[H][2], a.outline = W[H][3], e.textPrimaryHex && (a.textPrimary = e.textPrimaryHex), e.textSecondaryHex && (a.textSecondary = e.textSecondaryHex), e.dividerHex && (a.divider = e.dividerHex), e.nestedStyle === "lighter" ? a.paper2 = n ? de(C[0], Math.round(C[1] * 0.9), 22) : de(C[0], Math.max(Math.round(C[1] * 0.3), 4), 100) : e.nestedStyle === "bordered" ? a.paper2 = a.paper : a.paper2 = n ? de(C[0], Math.round(C[1] * 0.9), Math.max(3, 5)) : de(C[0], Math.min(Math.round(C[1] * 1.1), 60), Math.max(88, 94 - C[1] * 0.18));
4199
- const B = e.btnColorHex || o, X = e.accentGradient ? "linear-gradient(135deg," + B + "," + (e.btnColorHex ? Re(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : B, Q = e.btnTextHex || (Rr(B, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), Y = e.h1Color || null, d = e.h2Color || null, O = e.h3Color || null, A = e.h4Color || null, _ = e.h5Color || null, L = e.h6Color || null, q = [{ key: "sm", px: 13 }, { key: "df", px: 12 }, { key: "lg", px: 18 }], U = q.find((ve) => ve.key === e.textSize) || q[1], G = e.baseFontPx > 0 ? e.baseFontPx : U.px, P = e.bodyLineHeight > 0 ? e.bodyLineHeight : 1.5, M = e.h1Size > 0 ? e.h1Size : 20, J = Math.round(M * 1.1), V = M, N = Math.max(Math.round(M * 0.9), 11), F = Math.max(Math.round(M * 0.8), 11), k = Math.max(Math.round(M * 0.7), 10), D = Math.max(Math.round(M * 0.6), 10), E = Math.max(Math.round(M * 0.5), 9), R = G, K = Math.round(G * 0.92), le = Math.round(G * 0.8), z = Math.round(G * 0.72), me = e.headingWeight, Ne = e.headingLH > 0 ? e.headingLH : 1.2, je = e.bodyWeight > 0 ? e.bodyWeight : 400, Xe = Math.min(900, je + 200), Qe = { compact: 0.82, default: 1, comfortable: 1.16 }, Ae = e.densityScale > 0 ? e.densityScale / 100 : Qe[e.density] ?? 1, ur = Math.round(20 * Ae), Ve = Math.round(14 * Ae), At = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * Ae), Ze = Math.round(11 * Ae * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ue = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * Ae), ee = e.radiusVal, vt = ee + "px", St = Math.max(Math.round(ee * 0.6), 2) + "px", Ge = {
4200
+ }, l = e.statusBold, c = l ? e.errorHex : pe(e.errorHex, n ? 0.22 : 0.13), g = l ? e.warningHex : pe(e.warningHex, n ? 0.22 : 0.14), f = l ? e.infoHex : pe(e.infoHex, n ? 0.22 : 0.13), m = l ? e.successHex : pe(e.successHex, n ? 0.22 : 0.13), y = l ? "#ffffff" : n ? Re(e.errorHex)[300] : e.errorHex, h = l ? "#ffffff" : n ? Re(e.warningHex)[300] : Re(e.warningHex)[700], x = l ? "#ffffff" : n ? Re(e.infoHex)[300] : e.infoHex, u = l ? "#ffffff" : n ? Re(e.successHex)[300] : Re(e.successHex)[700], b = Dr(e.primaryHex)[0], v = { neutral: [220, 6], warm: [32, 26], cool: [210, 30], brand: [b, 42], slate: [214, 16], snow: [0, 0] }, $ = v[e.surfaceTint] || v.neutral, H = e.tintIntensity >= 0 ? e.tintIntensity : 100, C = [$[0], Math.round($[1] * H / 100)];
4201
+ n ? (a.bgDefault = ce(C[0], Math.round(C[1] * 0.7), 7), a.paper = ce(C[0], Math.round(C[1] * 0.7), 13), a.paper2 = ce(C[0], Math.round(C[1] * 0.85), 19)) : (a.bgDefault = "#ffffff", a.paper = "#ffffff", a.paper2 = ce(C[0], Math.round(C[1] * 0.85), e.surfaceTint === "brand" ? 95 : 96.5)), e.pageBgHex && (a.bgDefault = e.pageBgHex), e.cardBgHex && (a.paper = e.cardBgHex);
4202
+ const k = { soft: 0, standard: 1, medium: 2, high: 3 }, R = k[e.contrast] !== void 0 ? k[e.contrast] : 1, z = n ? [["rgba(255,255,255,0.82)", "rgba(255,255,255,0.55)", "rgba(255,255,255,0.09)", "rgba(255,255,255,0.16)"], ["rgba(255,255,255,0.92)", "rgba(255,255,255,0.62)", "rgba(255,255,255,0.12)", "rgba(255,255,255,0.23)"], ["rgba(255,255,255,0.96)", "rgba(255,255,255,0.74)", "rgba(255,255,255,0.18)", "rgba(255,255,255,0.34)"], ["#ffffff", "rgba(255,255,255,0.87)", "rgba(255,255,255,0.26)", "rgba(255,255,255,0.46)"]] : [["rgba(0,0,0,0.72)", "rgba(0,0,0,0.5)", "rgba(0,0,0,0.08)", "rgba(0,0,0,0.16)"], ["rgba(0,0,0,0.87)", "rgba(0,0,0,0.6)", "rgba(0,0,0,0.12)", "rgba(0,0,0,0.23)"], ["rgba(0,0,0,0.92)", "rgba(0,0,0,0.7)", "rgba(0,0,0,0.18)", "rgba(0,0,0,0.34)"], ["#000000", "rgba(0,0,0,0.8)", "rgba(0,0,0,0.24)", "rgba(0,0,0,0.46)"]];
4203
+ a.textPrimary = z[R][0], a.textSecondary = z[R][1], a.divider = z[R][2], a.outline = z[R][3], e.textPrimaryHex && (a.textPrimary = e.textPrimaryHex), e.textSecondaryHex && (a.textSecondary = e.textSecondaryHex), e.dividerHex && (a.divider = e.dividerHex), e.nestedStyle === "lighter" ? a.paper2 = n ? ce(C[0], Math.round(C[1] * 0.9), 22) : ce(C[0], Math.max(Math.round(C[1] * 0.3), 4), 100) : e.nestedStyle === "bordered" ? a.paper2 = a.paper : a.paper2 = n ? ce(C[0], Math.round(C[1] * 0.9), Math.max(3, 5)) : ce(C[0], Math.min(Math.round(C[1] * 1.1), 60), Math.max(88, 94 - C[1] * 0.18));
4204
+ const I = e.btnColorHex || o, X = e.accentGradient ? "linear-gradient(135deg," + I + "," + (e.btnColorHex ? Re(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : I, Q = e.btnTextHex || (Rr(I, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), Y = e.h1Color || null, d = e.h2Color || null, B = e.h3Color || null, A = e.h4Color || null, L = e.h5Color || null, N = e.h6Color || null, K = [{ key: "sm", px: 13 }, { key: "df", px: 12 }, { key: "lg", px: 18 }], U = K.find((ve) => ve.key === e.textSize) || K[1], J = e.baseFontPx > 0 ? e.baseFontPx : U.px, P = e.bodyLineHeight > 0 ? e.bodyLineHeight : 1.5, D = e.h1Size > 0 ? e.h1Size : 20, q = Math.round(D * 1.1), V = D, G = Math.max(Math.round(D * 0.9), 11), M = Math.max(Math.round(D * 0.8), 11), w = Math.max(Math.round(D * 0.7), 10), O = Math.max(Math.round(D * 0.6), 10), F = Math.max(Math.round(D * 0.5), 9), E = J, W = Math.round(J * 0.92), te = Math.round(J * 0.8), _ = Math.round(J * 0.72), me = e.headingWeight, Ne = e.headingLH > 0 ? e.headingLH : 1.2, je = e.bodyWeight > 0 ? e.bodyWeight : 400, Xe = Math.min(900, je + 200), Qe = { compact: 0.82, default: 1, comfortable: 1.16 }, Ie = e.densityScale > 0 ? e.densityScale / 100 : Qe[e.density] ?? 1, ur = Math.round(20 * Ie), Ve = Math.round(14 * Ie), It = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * Ie), Ze = Math.round(11 * Ie * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ue = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * Ie), ee = e.radiusVal, vt = ee + "px", St = Math.max(Math.round(ee * 0.6), 2) + "px", Ge = {
4200
4205
  0: "none",
4201
4206
  1: "0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",
4202
4207
  2: "0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)",
@@ -4210,24 +4215,24 @@ function Vr(e) {
4210
4215
  const uo = n ? "none" : Ge[4], fo = n ? "1px solid " + a.divider : "none", ho = e.nestedStyle === "bordered" ? "1.5px solid " + a.outline : "1px solid " + a.divider, go = e.nestedDepth > 0 ? "inset 3px 0 0 " + pe(e.primaryHex, 0.55) + ", 0 " + Math.round(e.nestedDepth * 0.4) + "px " + e.nestedDepth + "px rgba(16,24,40," + (n ? 0.42 : 0.1) + ")" : "none", mo = (e.appName || "").trim().split(/\s+/).slice(0, 2).map((ve) => ve[0] || "").join("").toUpperCase() || "AP", yo = !!(e.logoMode === "image" && e.logoUrl), bo = !!e.loginImage, Jr = (ve) => {
4211
4216
  const Ce = ve || "Roboto";
4212
4217
  return Ce.includes(" ") && !Ce.startsWith('"') && !Ce.startsWith("'") ? `"${Ce}"` : Ce;
4213
- }, xo = Jr(e.headingFont || e.fontFamily), vo = Jr(e.fontFamily), Se = Dr(e.primaryHex)[0], xe = (ve, Ce) => de((ve % 360 + 360) % 360, 62, n ? 60 : 46), qr = {
4218
+ }, xo = Jr(e.headingFont || e.fontFamily), vo = Jr(e.fontFamily), Se = Dr(e.primaryHex)[0], xe = (ve, Ce) => ce((ve % 360 + 360) % 360, 62, n ? 60 : 46), qr = {
4214
4219
  brand: [o, s, xe(Se + 42), xe(Se + 205), xe(Se + 120)],
4215
4220
  categorical: [xe(Se), xe(Se + 72), xe(Se + 144), xe(Se + 216), xe(Se + 288)],
4216
- sequential: [de(Se, 55, n ? 40 : 78), de(Se, 60, n ? 50 : 64), o, de(Se, 70, n ? 70 : 38), de(Se, 78, n ? 82 : 26)],
4221
+ sequential: [ce(Se, 55, n ? 40 : 78), ce(Se, 60, n ? 50 : 64), o, ce(Se, 70, n ? 70 : 38), ce(Se, 78, n ? 82 : 26)],
4217
4222
  cbsafe: ["#0072B2", "#E69F00", "#009E73", "#CC79A7", "#56B4E9"],
4218
4223
  warm: [xe(8), xe(28), xe(45), xe(350), xe(18)],
4219
4224
  cool: [xe(200), xe(220), xe(255), xe(180), xe(235)]
4220
- }, So = qr[e.chartScheme] || qr.brand, Co = [r[600], t[600], de((Se + 42) % 360, 55, 46), de((Se + 205) % 360, 50, 46)], wo = { error: { cb: c, cc: y }, success: { cb: m, cc: u }, info: { cb: f, cc: x }, warning: { cb: g, cc: h } }, hr = e.mapGlass === "light", ko = hr ? "rgba(255,255,255,0.84)" : "rgba(15,20,28,0.74)", To = hr ? "#1c2733" : "#f3f6fa", Ro = hr ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.18)", Eo = "repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 11px, rgba(255,255,255,0) 11px, rgba(255,255,255,0) 22px), radial-gradient(circle at 50% 38%, " + pe(o, 0.22) + ", rgba(0,0,0,0) 60%), " + "#0f141c", Ho = "linear-gradient(135deg," + o + "," + r[700] + ")", Po = "linear-gradient(180deg," + pe(r[900], 0.12) + "," + pe(r[900], 0.55) + ")", $o = "linear-gradient(135deg," + r[700] + "," + r[900] + ")", Io = "linear-gradient(135deg," + pe(r[900], 0.55) + "," + pe(e.primaryHex, 0.45) + ")", Kr = { "top-right": { top: "14px", right: "14px" }, "top-center": { top: "14px", left: "50%", transform: "translateX(-50%)" }, "bottom-right": { bottom: "14px", right: "14px" }, "bottom-left": { bottom: "14px", left: "14px" } }, Ao = Kr[e.notifPosition] || Kr["top-right"], Xr = e.notifAccent === "primary" ? { bar: o, icbg: a.pContainer, icc: a.onPContainer, dot: o } : e.notifAccent === "mono" ? { bar: a.textSecondary, icbg: a.paper2, icc: a.textPrimary, dot: a.textSecondary } : { bar: e.warningHex, icbg: g, icc: h, dot: e.warningHex };
4225
+ }, So = qr[e.chartScheme] || qr.brand, Co = [r[600], t[600], ce((Se + 42) % 360, 55, 46), ce((Se + 205) % 360, 50, 46)], wo = { error: { cb: c, cc: y }, success: { cb: m, cc: u }, info: { cb: f, cc: x }, warning: { cb: g, cc: h } }, hr = e.mapGlass === "light", ko = hr ? "rgba(255,255,255,0.84)" : "rgba(15,20,28,0.74)", To = hr ? "#1c2733" : "#f3f6fa", Ro = hr ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.18)", Eo = "repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 11px, rgba(255,255,255,0) 11px, rgba(255,255,255,0) 22px), radial-gradient(circle at 50% 38%, " + pe(o, 0.22) + ", rgba(0,0,0,0) 60%), " + "#0f141c", Ho = "linear-gradient(135deg," + o + "," + r[700] + ")", Po = "linear-gradient(180deg," + pe(r[900], 0.12) + "," + pe(r[900], 0.55) + ")", $o = "linear-gradient(135deg," + r[700] + "," + r[900] + ")", Ao = "linear-gradient(135deg," + pe(r[900], 0.55) + "," + pe(e.primaryHex, 0.45) + ")", Kr = { "top-right": { top: "14px", right: "14px" }, "top-center": { top: "14px", left: "50%", transform: "translateX(-50%)" }, "bottom-right": { bottom: "14px", right: "14px" }, "bottom-left": { bottom: "14px", left: "14px" } }, Io = Kr[e.notifPosition] || Kr["top-right"], Xr = e.notifAccent === "primary" ? { bar: o, icbg: a.pContainer, icc: a.onPContainer, dot: o } : e.notifAccent === "mono" ? { bar: a.textSecondary, icbg: a.paper2, icc: a.textPrimary, dot: a.textSecondary } : { bar: e.warningHex, icbg: g, icc: h, dot: e.warningHex };
4221
4226
  let Dt;
4222
4227
  e.notifStyle === "toast" ? Dt = { boxShadow: Ge[8], border: typeof et == "string" && et !== "none" ? et : "none" } : e.notifStyle === "banner" ? Dt = { boxShadow: Ge[2], borderLeft: "4px solid " + Xr.bar } : Dt = { boxShadow: "none", border: "1px solid " + a.divider };
4223
- const Bo = e.notifCardHex || (n ? "#1e1e1e" : "#ffffff"), Oo = { compact: "7px", default: "11px", comfortable: "16px" }, Do = { compact: "6px", default: "12px", comfortable: "22px" }, Mo = { top: "flex-start", middle: "center", bottom: "flex-end" }, Wo = { left: "flex-start", center: "center", right: "flex-end" }, Fo = { plain: "transparent", tinted: a.paper2, accent: a.highlightSoft }, zo = {
4228
+ const Bo = e.notifCardHex || (n ? "#1e1e1e" : "#ffffff"), Oo = { compact: "7px", default: "11px", comfortable: "16px" }, Do = { compact: "6px", default: "12px", comfortable: "22px" }, Mo = { top: "flex-start", middle: "center", bottom: "flex-end" }, Fo = { left: "flex-start", center: "center", right: "flex-end" }, Wo = { plain: "transparent", tinted: a.paper2, accent: a.highlightSoft }, zo = {
4224
4229
  rowPy: Oo[e.tableDensity] || "11px",
4225
4230
  cellPx: Do[e.tableColDensity] || "12px",
4226
4231
  rowBorder: e.tableDividers ? (e.tableRowDivW || 1) + "px solid " + a.divider : "none",
4227
4232
  colBorder: e.tableColDividers ? (e.tableColDivW || 1) + "px solid " + a.divider : "none",
4228
- headBg: Fo[e.tableHeaderStyle] || a.paper2,
4233
+ headBg: Wo[e.tableHeaderStyle] || a.paper2,
4229
4234
  cellAI: Mo[e.tableCellAlignV] || "center",
4230
- cellJC: Wo[e.tableCellAlignH] || "flex-start",
4235
+ cellJC: Fo[e.tableCellAlignH] || "flex-start",
4231
4236
  stripeBg: n ? "rgba(255,255,255,0.035)" : "rgba(0,0,0,0.028)",
4232
4237
  statusMap: {
4233
4238
  Delivered: { sb: m, sc: u },
@@ -4273,24 +4278,24 @@ function Vr(e) {
4273
4278
  btnText: Q,
4274
4279
  hc1: Y,
4275
4280
  hc2: d,
4276
- hc3: O,
4281
+ hc3: B,
4277
4282
  hc4: A,
4278
- hc5: _,
4279
- hc6: L,
4280
- base: G,
4283
+ hc5: L,
4284
+ hc6: N,
4285
+ base: J,
4281
4286
  bodyLH: P,
4282
- h1base: M,
4283
- tDisplay: J,
4287
+ h1base: D,
4288
+ tDisplay: q,
4284
4289
  tH1: V,
4285
- tH2: N,
4286
- tTitle: F,
4287
- tH4: k,
4288
- tH5: D,
4289
- tH6: E,
4290
- tBody: R,
4291
- tBodySm: K,
4292
- tCaption: le,
4293
- tOverline: z,
4290
+ tH2: G,
4291
+ tTitle: M,
4292
+ tH4: w,
4293
+ tH5: O,
4294
+ tH6: F,
4295
+ tBody: E,
4296
+ tBodySm: W,
4297
+ tCaption: te,
4298
+ tOverline: _,
4294
4299
  wH1: me,
4295
4300
  wH2: me,
4296
4301
  wH3: me,
@@ -4302,7 +4307,7 @@ function Vr(e) {
4302
4307
  bwEmph: Xe,
4303
4308
  pad: ur,
4304
4309
  padSm: Ve,
4305
- gap: At,
4310
+ gap: It,
4306
4311
  rowPy: Ze,
4307
4312
  screenPad: Ue,
4308
4313
  r: ee,
@@ -4334,8 +4339,8 @@ function Vr(e) {
4334
4339
  loginBrandGrad: Ho,
4335
4340
  loginScrimGrad: Po,
4336
4341
  loginCenteredGrad: $o,
4337
- loginScrimGradC: Io,
4338
- npos: Ao,
4342
+ loginScrimGradC: Ao,
4343
+ npos: Io,
4339
4344
  nacc: Xr,
4340
4345
  toastDeco: Dt,
4341
4346
  toastBg: Bo,
@@ -4351,7 +4356,7 @@ function Vr(e) {
4351
4356
  };
4352
4357
  }
4353
4358
  function Ks({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPreviewMenu: a, children: l }) {
4354
- const c = j((v) => v.settings), g = c.mode === "dark", f = c.primaryHex || "#1565c0", m = De(c.mode), y = Re(f), h = Vr(c), x = n ? g ? pe(f, 0.22) : pe(f, 0.1) : "transparent", u = n ? g ? y[200] : y[700] : m.text, b = n ? f : m.chevron;
4359
+ const c = j((v) => v.settings), g = c.mode === "dark", f = c.primaryHex || "#4F6BFF", m = De(c.mode), y = Re(f), h = Vr(c), x = n ? g ? pe(f, 0.22) : pe(f, 0.1) : "transparent", u = n ? g ? y[200] : y[700] : m.text, b = n ? f : m.chevron;
4355
4360
  return /* @__PURE__ */ p(
4356
4361
  S,
4357
4362
  {
@@ -4414,7 +4419,7 @@ function we() {
4414
4419
  return Qo(() => Vr(e), [e]);
4415
4420
  }
4416
4421
  function lt({ tabs: e, active: r, onChange: t }) {
4417
- const n = j((y) => y.settings.mode), o = j((y) => y.settings.primaryHex) || "#1565c0", s = j((y) => y.settings.highlightHex) || "#ffd400", a = j((y) => y.settings.bodyWeight) || 400, l = n === "dark", c = Math.min(900, a + 200), g = we(), f = l ? "#e6edf3" : "#1c2127", m = l ? "#cdd4de" : "#5a6573";
4422
+ const n = j((y) => y.settings.mode), o = j((y) => y.settings.primaryHex) || "#4F6BFF", s = j((y) => y.settings.highlightHex) || "#ffd400", a = j((y) => y.settings.bodyWeight) || 400, l = n === "dark", c = Math.min(900, a + 200), g = we(), f = l ? "#e6edf3" : "#1c2127", m = l ? "#cdd4de" : "#5a6573";
4418
4423
  return /* @__PURE__ */ i(S, { sx: { display: "flex", gap: "2px", mb: "2px", px: "2px", borderBottom: "1.5px solid rgba(120,130,145,0.5)" }, children: e.map((y) => {
4419
4424
  const h = y.key === r, x = /* @__PURE__ */ i(
4420
4425
  ke,
@@ -4453,54 +4458,54 @@ function lt({ tabs: e, active: r, onChange: t }) {
4453
4458
  }) });
4454
4459
  }
4455
4460
  const Qt = [
4456
- { id: "corporate", name: "Corporate Blue", snap: { primaryHex: "#1565c0", secondaryHex: "#00897b", iconColor: "#1565c0" } },
4457
- { id: "emerald", name: "Emerald", snap: { primaryHex: "#2e7d32", secondaryHex: "#00897b", iconColor: "#2e7d32" } },
4458
- { id: "indigo", name: "Indigo Violet", snap: { primaryHex: "#3949ab", secondaryHex: "#7c4dff", iconColor: "#3949ab" } },
4461
+ { id: "corporate", name: "Corporate Blue", snap: { primaryHex: "#4F6BFF", secondaryHex: "#22D3EE", iconColor: "#4F6BFF" } },
4462
+ { id: "emerald", name: "Emerald", snap: { primaryHex: "#2EE6A6", secondaryHex: "#FFC255", iconColor: "#2EE6A6" } },
4463
+ { id: "indigo", name: "Indigo Violet", snap: { primaryHex: "#A97BFF", secondaryHex: "#FF5FA2", iconColor: "#A97BFF" } },
4459
4464
  { id: "slate", name: "Graphite", snap: { primaryHex: "#455a64", secondaryHex: "#78909c", iconColor: "#455a64" } },
4460
4465
  { id: "teal", name: "Ocean Teal", snap: { primaryHex: "#00838f", secondaryHex: "#0277bd", iconColor: "#00838f" } },
4461
4466
  { id: "amber", name: "Amber", snap: { primaryHex: "#e65100", secondaryHex: "#d84315", iconColor: "#e65100" } }
4462
4467
  ];
4463
4468
  function Xs() {
4464
- var N, F;
4465
- const [e, r] = Z("presets"), t = j((k) => k.settings), n = t.mode === "dark", o = t.highlightHex || "#ffd400", s = pe(o, n ? 0.3 : 0.18), a = n ? "#e6edf3" : "#1c2127", l = n ? "rgba(255,255,255,0.82)" : "#2c333d", c = j((k) => k.savedThemes), g = j((k) => k.applyPreset), f = j((k) => k.applySaved), m = j((k) => k.saveTheme), y = j((k) => k.updateSaved), h = j((k) => k.renameSaved), x = j((k) => k.deleteSaved), u = j((k) => k.importTheme), b = j((k) => k.set), v = j((k) => k.isDirty), $ = j((k) => k.editingSavedId), I = j((k) => k.lastImportedId), C = c.find((k) => k.id === $), w = (k, D) => {
4466
- const E = new Blob([JSON.stringify({ name: k, snap: D }, null, 2)], { type: "application/json" }), R = URL.createObjectURL(E), K = document.createElement("a");
4467
- K.href = R, K.download = `${k.replace(/[^a-z0-9]+/gi, "-").toLowerCase()}.theme.json`, K.click(), URL.revokeObjectURL(R);
4468
- }, [H, W] = Z("");
4469
+ var G, M;
4470
+ const [e, r] = Z("presets"), t = j((w) => w.settings), n = t.mode === "dark", o = t.highlightHex || "#ffd400", s = pe(o, n ? 0.3 : 0.18), a = n ? "#e6edf3" : "#1c2127", l = n ? "rgba(255,255,255,0.82)" : "#2c333d", c = j((w) => w.savedThemes), g = j((w) => w.applyPreset), f = j((w) => w.applySaved), m = j((w) => w.saveTheme), y = j((w) => w.updateSaved), h = j((w) => w.renameSaved), x = j((w) => w.deleteSaved), u = j((w) => w.importTheme), b = j((w) => w.set), v = j((w) => w.isDirty), $ = j((w) => w.editingSavedId), H = j((w) => w.lastImportedId), C = c.find((w) => w.id === $), k = (w, O) => {
4471
+ const F = new Blob([JSON.stringify({ name: w, snap: O }, null, 2)], { type: "application/json" }), E = URL.createObjectURL(F), W = document.createElement("a");
4472
+ W.href = E, W.download = `${w.replace(/[^a-z0-9]+/gi, "-").toLowerCase()}.theme.json`, W.click(), URL.revokeObjectURL(E);
4473
+ }, [R, z] = Z("");
4469
4474
  _e(() => {
4470
- if (!H) return;
4471
- const k = setTimeout(() => W(""), 5e3);
4472
- return () => clearTimeout(k);
4473
- }, [H]);
4474
- const [B, X] = Z(null), Q = (k) => {
4475
- const D = c.map((K) => K.name.toLowerCase());
4476
- let E = k, R = 2;
4477
- for (; D.includes(E.toLowerCase()); ) E = `${k} ${R++}`;
4478
- return E;
4479
- }, Y = (k) => {
4480
- var R;
4481
- const D = (R = k.target.files) == null ? void 0 : R[0];
4482
- if (!D) return;
4483
- const E = new FileReader();
4484
- E.onload = () => {
4475
+ if (!R) return;
4476
+ const w = setTimeout(() => z(""), 5e3);
4477
+ return () => clearTimeout(w);
4478
+ }, [R]);
4479
+ const [I, X] = Z(null), Q = (w) => {
4480
+ const O = c.map((W) => W.name.toLowerCase());
4481
+ let F = w, E = 2;
4482
+ for (; O.includes(F.toLowerCase()); ) F = `${w} ${E++}`;
4483
+ return F;
4484
+ }, Y = (w) => {
4485
+ var E;
4486
+ const O = (E = w.target.files) == null ? void 0 : E[0];
4487
+ if (!O) return;
4488
+ const F = new FileReader();
4489
+ F.onload = () => {
4485
4490
  try {
4486
- const K = JSON.parse(E.result), le = K.snap ?? K;
4487
- if (!qs(le)) {
4488
- W("Invalid theme file. The selected file is not a valid Theme Studio export.");
4491
+ const W = JSON.parse(F.result), te = W.snap ?? W;
4492
+ if (!qs(te)) {
4493
+ z("Invalid theme file. The selected file is not a valid Theme Studio export.");
4489
4494
  return;
4490
4495
  }
4491
- const z = K.name || "Imported Theme";
4492
- if (c.some((me) => me.name.toLowerCase() === z.toLowerCase())) {
4493
- X({ name: z, snap: le });
4496
+ const _ = W.name || "Imported Theme";
4497
+ if (c.some((me) => me.name.toLowerCase() === _.toLowerCase())) {
4498
+ X({ name: _, snap: te });
4494
4499
  return;
4495
4500
  }
4496
- W(""), u(z, le);
4501
+ z(""), u(_, te);
4497
4502
  } catch {
4498
- W("Invalid theme file. The selected file is not a valid Theme Studio export.");
4503
+ z("Invalid theme file. The selected file is not a valid Theme Studio export.");
4499
4504
  }
4500
- }, E.readAsText(D), k.target.value = "";
4501
- }, [d, O] = Z(null), [A, _] = Z(!1), [L, q] = Z(""), [U, G] = Z(null), [P, M] = Z(null), J = (C == null ? void 0 : C.name) || ((N = Qt.find((k) => k.id === t.presetId)) == null ? void 0 : N.name) || ((F = c.find((k) => k.id === t.presetId)) == null ? void 0 : F.name) || "Custom Theme", V = (k, D) => {
4502
- const E = k.trim();
4503
- return E ? c.some((R) => R.name.toLowerCase() === E.toLowerCase() && R.id !== D) ? "Name already exists" : "" : "Name required";
4505
+ }, F.readAsText(O), w.target.value = "";
4506
+ }, [d, B] = Z(null), [A, L] = Z(!1), [N, K] = Z(""), [U, J] = Z(null), [P, D] = Z(null), q = (C == null ? void 0 : C.name) || ((G = Qt.find((w) => w.id === t.presetId)) == null ? void 0 : G.name) || ((M = c.find((w) => w.id === t.presetId)) == null ? void 0 : M.name) || "Custom Theme", V = (w, O) => {
4507
+ const F = w.trim();
4508
+ return F ? c.some((E) => E.name.toLowerCase() === F.toLowerCase() && E.id !== O) ? "Name already exists" : "" : "Name required";
4504
4509
  };
4505
4510
  return /* @__PURE__ */ p(ge, { children: [
4506
4511
  /* @__PURE__ */ i(lt, { active: e, onChange: r, tabs: [
@@ -4509,13 +4514,13 @@ function Xs() {
4509
4514
  { key: "mode", label: "Mode", info: "Light / Dark." }
4510
4515
  ] }),
4511
4516
  /* @__PURE__ */ p(S, { sx: { p: "12px 2px 2px" }, children: [
4512
- e === "presets" && /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: Qt.map((k) => {
4513
- const D = t.presetId === k.id;
4517
+ e === "presets" && /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: Qt.map((w) => {
4518
+ const O = t.presetId === w.id;
4514
4519
  return /* @__PURE__ */ p(
4515
4520
  S,
4516
4521
  {
4517
- onClick: () => g(k.id, k.snap),
4518
- title: `${k.name} — applies this colour palette`,
4522
+ onClick: () => g(w.id, w.snap),
4523
+ title: `${w.name} — applies this colour palette`,
4519
4524
  sx: {
4520
4525
  display: "flex",
4521
4526
  alignItems: "center",
@@ -4524,29 +4529,29 @@ function Xs() {
4524
4529
  borderRadius: "11px",
4525
4530
  cursor: "pointer",
4526
4531
  textAlign: "left",
4527
- border: `1px solid ${D ? o : n ? "#363d48" : "#e3e8ee"}`,
4528
- bgcolor: D ? s : n ? "#262b34" : "#ffffff",
4532
+ border: `1px solid ${O ? o : n ? "#363d48" : "#e3e8ee"}`,
4533
+ bgcolor: O ? s : n ? "#262b34" : "#ffffff",
4529
4534
  transition: "all .14s ease"
4530
4535
  },
4531
4536
  children: [
4532
4537
  /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", gap: "2px", flexShrink: 0 }, children: [
4533
- /* @__PURE__ */ i(S, { sx: { width: 20, height: 11, borderRadius: "3px", bgcolor: k.snap.primaryHex } }),
4534
- /* @__PURE__ */ i(S, { sx: { width: 20, height: 7, borderRadius: "2px", bgcolor: k.snap.secondaryHex } })
4538
+ /* @__PURE__ */ i(S, { sx: { width: 20, height: 11, borderRadius: "3px", bgcolor: w.snap.primaryHex } }),
4539
+ /* @__PURE__ */ i(S, { sx: { width: 20, height: 7, borderRadius: "2px", bgcolor: w.snap.secondaryHex } })
4535
4540
  ] }),
4536
- /* @__PURE__ */ i(S, { component: "span", sx: { fontSize: "11px", fontWeight: 600, color: D ? a : l, lineHeight: 1.3 }, children: k.name })
4541
+ /* @__PURE__ */ i(S, { component: "span", sx: { fontSize: "11px", fontWeight: 600, color: O ? a : l, lineHeight: 1.3 }, children: w.name })
4537
4542
  ]
4538
4543
  },
4539
- k.id
4544
+ w.id
4540
4545
  );
4541
4546
  }) }),
4542
4547
  e === "saved" && /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
4543
4548
  c.length === 0 && /* @__PURE__ */ i(ue, { variant: "caption", sx: { color: "text.secondary", py: 2, textAlign: "center" }, children: "No saved themes yet." }),
4544
- /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 0.9 }, children: c.map((k) => {
4545
- const D = $ === k.id;
4549
+ /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 0.9 }, children: c.map((w) => {
4550
+ const O = $ === w.id;
4546
4551
  return /* @__PURE__ */ p(
4547
4552
  S,
4548
4553
  {
4549
- onClick: () => f(k),
4554
+ onClick: () => f(w),
4550
4555
  title: "Apply this saved theme",
4551
4556
  sx: {
4552
4557
  display: "flex",
@@ -4556,87 +4561,87 @@ function Xs() {
4556
4561
  borderRadius: "11px",
4557
4562
  cursor: "pointer",
4558
4563
  position: "relative",
4559
- border: `1px solid ${D ? o : n ? "#363d48" : "#e3e8ee"}`,
4560
- bgcolor: D ? s : n ? "#262b34" : "#ffffff",
4564
+ border: `1px solid ${O ? o : n ? "#363d48" : "#e3e8ee"}`,
4565
+ bgcolor: O ? s : n ? "#262b34" : "#ffffff",
4561
4566
  transition: "all .14s ease"
4562
4567
  },
4563
4568
  children: [
4564
- D && I === k.id && /* @__PURE__ */ i(ze, { title: "recently upload", arrow: !0, children: /* @__PURE__ */ i(S, { component: "span", sx: { position: "absolute", top: -2, right: 0, width: 6, height: 6, borderRadius: "50%", bgcolor: "error.main", flexShrink: 0 } }) }),
4569
+ O && H === w.id && /* @__PURE__ */ i(ze, { title: "recently upload", arrow: !0, children: /* @__PURE__ */ i(S, { component: "span", sx: { position: "absolute", top: -2, right: 0, width: 6, height: 6, borderRadius: "50%", bgcolor: "error.main", flexShrink: 0 } }) }),
4565
4570
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
4566
4571
  /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", gap: "2px", flexShrink: 0 }, children: [
4567
- /* @__PURE__ */ i(S, { sx: { width: 20, height: 11, borderRadius: "3px", bgcolor: k.snap.primaryHex } }),
4568
- /* @__PURE__ */ i(S, { sx: { width: 20, height: 7, borderRadius: "2px", bgcolor: k.snap.secondaryHex } })
4572
+ /* @__PURE__ */ i(S, { sx: { width: 20, height: 11, borderRadius: "3px", bgcolor: w.snap.primaryHex } }),
4573
+ /* @__PURE__ */ i(S, { sx: { width: 20, height: 7, borderRadius: "2px", bgcolor: w.snap.secondaryHex } })
4569
4574
  ] }),
4570
- /* @__PURE__ */ i(S, { component: "span", sx: { flex: 1, minWidth: 0, fontSize: "11px", fontWeight: 600, color: D ? a : l, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "normal" }, children: k.name }),
4571
- /* @__PURE__ */ i(S, { sx: { display: "flex", alignItems: "center", justifyContent: "flex-end" }, children: /* @__PURE__ */ i(S, { component: "span", onClick: (E) => {
4572
- E.stopPropagation(), O({ el: E.currentTarget, id: k.id });
4575
+ /* @__PURE__ */ i(S, { component: "span", sx: { flex: 1, minWidth: 0, fontSize: "11px", fontWeight: 600, color: O ? a : l, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "normal" }, children: w.name }),
4576
+ /* @__PURE__ */ i(S, { sx: { display: "flex", alignItems: "center", justifyContent: "flex-end" }, children: /* @__PURE__ */ i(S, { component: "span", onClick: (F) => {
4577
+ F.stopPropagation(), B({ el: F.currentTarget, id: w.id });
4573
4578
  }, sx: { cursor: "pointer", color: "text.muted", px: 0.5 }, children: "⋮" }) })
4574
4579
  ] })
4575
4580
  ]
4576
4581
  },
4577
- k.id
4582
+ w.id
4578
4583
  );
4579
4584
  }) }),
4580
- H && /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "flex-start", gap: 1, bgcolor: "rgba(211,47,47,0.08)", border: "1px solid rgba(211,47,47,0.35)", borderRadius: "10px", px: 1.5, py: 1.25, color: "#b3261e" }, children: [
4585
+ R && /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "flex-start", gap: 1, bgcolor: "rgba(211,47,47,0.08)", border: "1px solid rgba(211,47,47,0.35)", borderRadius: "10px", px: 1.5, py: 1.25, color: "#b3261e" }, children: [
4581
4586
  /* @__PURE__ */ i(S, { component: "span", sx: { fontWeight: 900, fontSize: 15, lineHeight: 1.4 }, children: "!" }),
4582
- /* @__PURE__ */ i(S, { sx: { fontSize: 12.5, lineHeight: 1.4 }, children: H })
4587
+ /* @__PURE__ */ i(S, { sx: { fontSize: 12.5, lineHeight: 1.4 }, children: R })
4583
4588
  ] }),
4584
4589
  /* @__PURE__ */ p(S, { sx: { display: "flex", gap: 1, mt: 1 }, children: [
4585
4590
  /* @__PURE__ */ p(ke, { size: "small", variant: "outlined", component: "label", sx: { flex: 1, textTransform: "none" }, children: [
4586
4591
  "↑ Import",
4587
4592
  /* @__PURE__ */ i("input", { hidden: !0, type: "file", accept: ".json,application/json", onChange: Y })
4588
4593
  ] }),
4589
- /* @__PURE__ */ i(ke, { size: "small", variant: "outlined", onClick: () => w(J, t), sx: { flex: 1, textTransform: "none" }, children: "⤓ Download" }),
4594
+ /* @__PURE__ */ i(ke, { size: "small", variant: "outlined", onClick: () => k(q, t), sx: { flex: 1, textTransform: "none" }, children: "⤓ Download" }),
4590
4595
  /* @__PURE__ */ i(ke, { size: "small", variant: "contained", disabled: !v(), onClick: () => {
4591
- q(C ? C.name : ""), _(!0);
4596
+ K(C ? C.name : ""), L(!0);
4592
4597
  }, sx: { flex: 1, textTransform: "none" }, children: "+ Save" })
4593
4598
  ] })
4594
4599
  ] }),
4595
- e === "mode" && /* @__PURE__ */ i(S, { sx: { display: "flex", gap: 1 }, children: ["light", "dark"].map((k) => /* @__PURE__ */ i(ke, { onClick: () => b({ mode: k }), variant: t.mode === k ? "contained" : "outlined", sx: { flex: 1, textTransform: "capitalize" }, children: k }, k)) })
4600
+ e === "mode" && /* @__PURE__ */ i(S, { sx: { display: "flex", gap: 1 }, children: ["light", "dark"].map((w) => /* @__PURE__ */ i(ke, { onClick: () => b({ mode: w }), variant: t.mode === w ? "contained" : "outlined", sx: { flex: 1, textTransform: "capitalize" }, children: w }, w)) })
4596
4601
  ] }),
4597
- /* @__PURE__ */ p(ei, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => O(null), children: [
4602
+ /* @__PURE__ */ p(ei, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => B(null), children: [
4598
4603
  /* @__PURE__ */ i(gt, { onClick: () => {
4599
- const k = c.find((D) => D.id === d.id);
4600
- f(k), O(null);
4604
+ const w = c.find((O) => O.id === d.id);
4605
+ f(w), B(null);
4601
4606
  }, children: "✏️ Edit" }),
4602
4607
  /* @__PURE__ */ i(gt, { onClick: () => {
4603
- const k = c.find((D) => D.id === d.id);
4604
- G({ id: k.id, name: k.name }), O(null);
4608
+ const w = c.find((O) => O.id === d.id);
4609
+ J({ id: w.id, name: w.name }), B(null);
4605
4610
  }, children: "✎ Rename" }),
4606
4611
  /* @__PURE__ */ i(gt, { onClick: () => {
4607
- const k = c.find((D) => D.id === d.id);
4608
- M({ id: k.id, name: k.name }), O(null);
4612
+ const w = c.find((O) => O.id === d.id);
4613
+ D({ id: w.id, name: w.name }), B(null);
4609
4614
  }, children: "🗑 Delete" }),
4610
4615
  /* @__PURE__ */ i(gt, { onClick: () => {
4611
- const k = c.find((D) => D.id === d.id);
4612
- w(k.name, k.snap), O(null);
4616
+ const w = c.find((O) => O.id === d.id);
4617
+ k(w.name, w.snap), B(null);
4613
4618
  }, children: "⤓ Download" })
4614
4619
  ] }),
4615
- /* @__PURE__ */ p(mt, { open: A, onClose: () => _(!1), children: [
4616
- /* @__PURE__ */ i(Wt, { children: C ? `Save changes to “${C.name}”` : "Save theme" }),
4617
- /* @__PURE__ */ i(Ft, { children: /* @__PURE__ */ i(
4620
+ /* @__PURE__ */ p(mt, { open: A, onClose: () => L(!1), children: [
4621
+ /* @__PURE__ */ i(Ft, { children: C ? `Save changes to “${C.name}”` : "Save theme" }),
4622
+ /* @__PURE__ */ i(Wt, { children: /* @__PURE__ */ i(
4618
4623
  Qr,
4619
4624
  {
4620
4625
  autoFocus: !0,
4621
4626
  fullWidth: !0,
4622
4627
  size: "small",
4623
4628
  label: "Theme name",
4624
- value: L,
4625
- onChange: (k) => q(k.target.value),
4626
- error: !!V(L, C == null ? void 0 : C.id),
4627
- helperText: V(L, C == null ? void 0 : C.id),
4629
+ value: N,
4630
+ onChange: (w) => K(w.target.value),
4631
+ error: !!V(N, C == null ? void 0 : C.id),
4632
+ helperText: V(N, C == null ? void 0 : C.id),
4628
4633
  sx: { mt: 1 }
4629
4634
  }
4630
4635
  ) }),
4631
4636
  /* @__PURE__ */ p(zt, { children: [
4632
- /* @__PURE__ */ i(ke, { onClick: () => _(!1), children: "Cancel" }),
4637
+ /* @__PURE__ */ i(ke, { onClick: () => L(!1), children: "Cancel" }),
4633
4638
  C && /* @__PURE__ */ i(
4634
4639
  ke,
4635
4640
  {
4636
4641
  variant: "contained",
4637
- disabled: !!V(L, C.id),
4642
+ disabled: !!V(N, C.id),
4638
4643
  onClick: () => {
4639
- y(C.id, L.trim(), t), _(!1);
4644
+ y(C.id, N.trim(), t), L(!1);
4640
4645
  },
4641
4646
  children: "Update"
4642
4647
  }
@@ -4645,52 +4650,52 @@ function Xs() {
4645
4650
  ke,
4646
4651
  {
4647
4652
  variant: C ? "outlined" : "contained",
4648
- disabled: !!V(L),
4653
+ disabled: !!V(N),
4649
4654
  onClick: () => {
4650
- m(L.trim()), _(!1);
4655
+ m(N.trim()), L(!1);
4651
4656
  },
4652
4657
  children: C ? "Save as New" : "Save"
4653
4658
  }
4654
4659
  )
4655
4660
  ] })
4656
4661
  ] }),
4657
- /* @__PURE__ */ p(mt, { open: !!U, onClose: () => G(null), children: [
4658
- /* @__PURE__ */ i(Wt, { children: "Rename theme" }),
4659
- /* @__PURE__ */ i(Ft, { children: /* @__PURE__ */ i(Qr, { autoFocus: !0, fullWidth: !0, size: "small", label: "New name", value: (U == null ? void 0 : U.name) ?? "", onChange: (k) => G((D) => D && { ...D, name: k.target.value }), error: !!(U && V(U.name, U.id)), helperText: U ? V(U.name, U.id) : "", sx: { mt: 1 } }) }),
4662
+ /* @__PURE__ */ p(mt, { open: !!U, onClose: () => J(null), children: [
4663
+ /* @__PURE__ */ i(Ft, { children: "Rename theme" }),
4664
+ /* @__PURE__ */ i(Wt, { children: /* @__PURE__ */ i(Qr, { autoFocus: !0, fullWidth: !0, size: "small", label: "New name", value: (U == null ? void 0 : U.name) ?? "", onChange: (w) => J((O) => O && { ...O, name: w.target.value }), error: !!(U && V(U.name, U.id)), helperText: U ? V(U.name, U.id) : "", sx: { mt: 1 } }) }),
4660
4665
  /* @__PURE__ */ p(zt, { children: [
4661
- /* @__PURE__ */ i(ke, { onClick: () => G(null), children: "Cancel" }),
4666
+ /* @__PURE__ */ i(ke, { onClick: () => J(null), children: "Cancel" }),
4662
4667
  /* @__PURE__ */ i(ke, { variant: "contained", disabled: !!(U && V(U.name, U.id)), onClick: () => {
4663
- h(U.id, U.name.trim()), G(null);
4668
+ h(U.id, U.name.trim()), J(null);
4664
4669
  }, children: "Rename" })
4665
4670
  ] })
4666
4671
  ] }),
4667
- /* @__PURE__ */ p(mt, { open: !!B, onClose: () => X(null), children: [
4668
- /* @__PURE__ */ i(Wt, { children: "Theme already exists" }),
4669
- /* @__PURE__ */ i(Ft, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4672
+ /* @__PURE__ */ p(mt, { open: !!I, onClose: () => X(null), children: [
4673
+ /* @__PURE__ */ i(Ft, { children: "Theme already exists" }),
4674
+ /* @__PURE__ */ i(Wt, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4670
4675
  "A theme named “",
4671
- B == null ? void 0 : B.name,
4676
+ I == null ? void 0 : I.name,
4672
4677
  "” is already in My Themes. Upload it anyway as a copy?"
4673
4678
  ] }) }),
4674
4679
  /* @__PURE__ */ p(zt, { children: [
4675
4680
  /* @__PURE__ */ i(ke, { onClick: () => {
4676
- X(null), W("You’ve selected a duplicate file — it already exists.");
4681
+ X(null), z("You’ve selected a duplicate file — it already exists.");
4677
4682
  }, children: "Cancel" }),
4678
4683
  /* @__PURE__ */ i(ke, { variant: "contained", onClick: () => {
4679
- u(Q(B.name), B.snap), X(null);
4684
+ u(Q(I.name), I.snap), X(null);
4680
4685
  }, children: "Yes, continue" })
4681
4686
  ] })
4682
4687
  ] }),
4683
- /* @__PURE__ */ p(mt, { open: !!P, onClose: () => M(null), children: [
4684
- /* @__PURE__ */ i(Wt, { children: "Delete theme" }),
4685
- /* @__PURE__ */ i(Ft, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4688
+ /* @__PURE__ */ p(mt, { open: !!P, onClose: () => D(null), children: [
4689
+ /* @__PURE__ */ i(Ft, { children: "Delete theme" }),
4690
+ /* @__PURE__ */ i(Wt, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4686
4691
  "Delete “",
4687
4692
  P == null ? void 0 : P.name,
4688
4693
  "”? This cannot be undone."
4689
4694
  ] }) }),
4690
4695
  /* @__PURE__ */ p(zt, { children: [
4691
- /* @__PURE__ */ i(ke, { onClick: () => M(null), children: "Cancel" }),
4696
+ /* @__PURE__ */ i(ke, { onClick: () => D(null), children: "Cancel" }),
4692
4697
  /* @__PURE__ */ i(ke, { color: "error", variant: "contained", onClick: () => {
4693
- x(P.id), M(null);
4698
+ x(P.id), D(null);
4694
4699
  }, children: "Delete" })
4695
4700
  ] })
4696
4701
  ] })
@@ -4738,10 +4743,10 @@ function el({ value: e, onCommit: r, onWarnChange: t }) {
4738
4743
  }, 3e3));
4739
4744
  }, m = (y) => {
4740
4745
  const h = y.trim();
4741
- return Zs.test(h) ? (f(""), r(h), !0) : (f("Enter a valid hex colour, e.g. #1565c0"), !1);
4746
+ return Zs.test(h) ? (f(""), r(h), !0) : (f("Enter a valid hex colour, e.g. #4F6BFF"), !1);
4742
4747
  };
4743
4748
  return n ? /* @__PURE__ */ i(
4744
- Wr,
4749
+ Fr,
4745
4750
  {
4746
4751
  autoFocus: !0,
4747
4752
  value: s,
@@ -4774,7 +4779,7 @@ function el({ value: e, onCommit: r, onWarnChange: t }) {
4774
4779
  );
4775
4780
  }
4776
4781
  function tl() {
4777
- const [e, r] = Z("brand"), [t, n] = Z(""), o = j((v) => v.settings), s = j((v) => v.set), a = De(o.mode), l = we(), c = { fontSize: "11.5px", color: a.body, fontWeight: 600 }, g = { fontSize: `${l.tBodySm}px`, color: a.body, fontWeight: l.bodyWeightEff, fontFamily: `${l.bodyFam},sans-serif`, lineHeight: l.bodyLH }, f = o.primaryHex || "#1565c0", m = Re(f), y = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900].map((v) => m[v]), h = (v) => s({ ...v, presetId: "custom" }), x = [
4782
+ const [e, r] = Z("brand"), [t, n] = Z(""), o = j((v) => v.settings), s = j((v) => v.set), a = De(o.mode), l = we(), c = { fontSize: "11.5px", color: a.body, fontWeight: 600 }, g = { fontSize: `${l.tBodySm}px`, color: a.body, fontWeight: l.bodyWeightEff, fontFamily: `${l.bodyFam},sans-serif`, lineHeight: l.bodyLH }, f = o.primaryHex || "#4F6BFF", m = Re(f), y = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900].map((v) => m[v]), h = (v) => s({ ...v, presetId: "custom" }), x = [
4778
4783
  { key: "h1Color", label: "H1 · Page Title" },
4779
4784
  { key: "h2Color", label: "H2 · Metric" },
4780
4785
  { key: "h3Color", label: "H3 · Card Title" },
@@ -4869,7 +4874,7 @@ function tl() {
4869
4874
  /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: b.map((v) => {
4870
4875
  const $ = !!o[v.key];
4871
4876
  return /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: "8px", background: a.card, border: `1px solid ${a.insetBd}`, borderRadius: "9px", px: "9px", py: "5px" }, children: [
4872
- /* @__PURE__ */ i(ht, { sk: a, w: 22, h: 22, r: 6, border: !0, value: o[v.key] || v.fb, onChange: (I) => s({ [v.key]: I }) }),
4877
+ /* @__PURE__ */ i(ht, { sk: a, w: 22, h: 22, r: 6, border: !0, value: o[v.key] || v.fb, onChange: (H) => s({ [v.key]: H }) }),
4873
4878
  /* @__PURE__ */ i(S, { component: "span", sx: { ...c, flex: 1 }, children: v.label }),
4874
4879
  $ && /* @__PURE__ */ i(
4875
4880
  S,
@@ -4889,47 +4894,47 @@ function tl() {
4889
4894
  ] });
4890
4895
  }
4891
4896
  function be(e) {
4892
- const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: c = "", autoLabel: g, autoValue: f = 0, softMin: m, softMax: y, floorValue: h, floorReset: x, floorMessage: u, extra: b, onChange: v } = e, $ = De(j((q) => q.settings.mode)), I = we(), C = `${I.bodyFam},sans-serif`, [w, H] = Z(!1), [W, B] = Z(String(o)), [X, Q] = Z(""), Y = Te(void 0);
4897
+ const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: c = "", autoLabel: g, autoValue: f = 0, softMin: m, softMax: y, floorValue: h, floorReset: x, floorMessage: u, extra: b, onChange: v } = e, $ = De(j((K) => K.settings.mode)), H = we(), C = `${H.bodyFam},sans-serif`, [k, R] = Z(!1), [z, I] = Z(String(o)), [X, Q] = Z(""), Y = Te(void 0);
4893
4898
  _e(() => {
4894
- w || B(String(o));
4895
- }, [o, w]), _e(() => () => clearTimeout(Y.current), []);
4896
- const d = (q) => {
4897
- clearTimeout(Y.current), Q(q), q && (Y.current = setTimeout(() => Q(""), 3e3));
4898
- }, O = (q) => m != null && q < m ? `Below ${m}${c} may break the UI` : y != null && q > y ? `Above ${y}${c} may break the UI` : "", A = () => {
4899
- d(u ?? `Minimum is ${x}${c} — reset`), v(x), B(String(x));
4900
- }, _ = (q) => {
4901
- const U = parseFloat(q);
4899
+ k || I(String(o));
4900
+ }, [o, k]), _e(() => () => clearTimeout(Y.current), []);
4901
+ const d = (K) => {
4902
+ clearTimeout(Y.current), Q(K), K && (Y.current = setTimeout(() => Q(""), 3e3));
4903
+ }, B = (K) => m != null && K < m ? `Below ${m}${c} may break the UI` : y != null && K > y ? `Above ${y}${c} may break the UI` : "", A = () => {
4904
+ d(u ?? `Minimum is ${x}${c} — reset`), v(x), I(String(x));
4905
+ }, L = (K) => {
4906
+ const U = parseFloat(K);
4902
4907
  if (isNaN(U)) {
4903
- d("Enter a number"), B(String(o));
4908
+ d("Enter a number"), I(String(o));
4904
4909
  return;
4905
4910
  }
4906
4911
  if (h != null && x != null && U <= h) {
4907
4912
  A();
4908
4913
  return;
4909
4914
  }
4910
- const G = Math.min(a, Math.max(s, U));
4911
- d(G !== U ? `Must be between ${s}${c} and ${a}${c} — clamped to ${G}${c}` : O(G)), B(String(G)), v(G);
4912
- }, L = n === f && g ? g : `${o}${c}`;
4915
+ const J = Math.min(a, Math.max(s, U));
4916
+ d(J !== U ? `Must be between ${s}${c} and ${a}${c} — clamped to ${J}${c}` : B(J)), I(String(J)), v(J);
4917
+ }, N = n === f && g ? g : `${o}${c}`;
4913
4918
  return /* @__PURE__ */ p(S, { sx: { mb: 1.5 }, children: [
4914
4919
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: "8px" }, children: [
4915
- /* @__PURE__ */ p(ue, { sx: { fontSize: `${I.tBodySm}px`, fontWeight: I.bwEmph, fontFamily: C, lineHeight: I.bodyLH, color: $.label2, display: "flex", alignItems: "center", gap: "5px" }, children: [
4920
+ /* @__PURE__ */ p(ue, { sx: { fontSize: `${H.tBodySm}px`, fontWeight: H.bwEmph, fontFamily: C, lineHeight: H.bodyLH, color: $.label2, display: "flex", alignItems: "center", gap: "5px" }, children: [
4916
4921
  r,
4917
4922
  t && /* @__PURE__ */ i(ze, { title: t, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(S, { component: "span", sx: { width: 13, height: 13, borderRadius: "50%", border: `1.1px solid ${$.chevron}`, color: $.chevron, fontSize: 8, fontWeight: 800, fontStyle: "italic", fontFamily: "Georgia, serif", display: "inline-grid", placeItems: "center", cursor: "help" }, children: "i" }) })
4918
4923
  ] }),
4919
4924
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: "5px", flexShrink: 0 }, children: [
4920
- w ? /* @__PURE__ */ i(
4921
- Wr,
4925
+ k ? /* @__PURE__ */ i(
4926
+ Fr,
4922
4927
  {
4923
4928
  autoFocus: !0,
4924
- value: W,
4925
- onChange: (q) => B(q.target.value),
4929
+ value: z,
4930
+ onChange: (K) => I(K.target.value),
4926
4931
  onBlur: () => {
4927
- _(W), H(!1);
4932
+ L(z), R(!1);
4928
4933
  },
4929
- onKeyDown: (q) => {
4930
- q.key === "Enter" && (_(W), H(!1)), q.key === "Escape" && H(!1);
4934
+ onKeyDown: (K) => {
4935
+ K.key === "Enter" && (L(z), R(!1)), K.key === "Escape" && R(!1);
4931
4936
  },
4932
- sx: { width: 56, fontSize: `${I.tBodySm}px`, fontWeight: 700, fontFamily: C, border: "1.5px solid", borderColor: "primary.main", borderRadius: "6px", px: "6px", py: "3px", "& input": { p: 0, textAlign: "center" } }
4937
+ sx: { width: 56, fontSize: `${H.tBodySm}px`, fontWeight: 700, fontFamily: C, border: "1.5px solid", borderColor: "primary.main", borderRadius: "6px", px: "6px", py: "3px", "& input": { p: 0, textAlign: "center" } }
4933
4938
  }
4934
4939
  ) : (
4935
4940
  // Value pill — the HTML dc-inline summary: value + pencil edit icon (click to edit inline).
@@ -4938,11 +4943,11 @@ function be(e) {
4938
4943
  {
4939
4944
  component: "button",
4940
4945
  onClick: () => {
4941
- B(String(o)), H(!0);
4946
+ I(String(o)), R(!0);
4942
4947
  },
4943
- sx: { display: "inline-flex", alignItems: "center", gap: "5px", fontFamily: C, fontSize: `${I.tBodySm}px`, fontWeight: 800, color: $.body, bgcolor: "rgba(130,140,155,0.14)", border: "1px solid rgba(130,140,155,0.28)", borderRadius: "6px", px: "7px", py: "2px", cursor: "pointer", lineHeight: 1.3, "&:hover": { bgcolor: "rgba(130,140,155,0.24)" } },
4948
+ sx: { display: "inline-flex", alignItems: "center", gap: "5px", fontFamily: C, fontSize: `${H.tBodySm}px`, fontWeight: 800, color: $.body, bgcolor: "rgba(130,140,155,0.14)", border: "1px solid rgba(130,140,155,0.28)", borderRadius: "6px", px: "7px", py: "2px", cursor: "pointer", lineHeight: 1.3, "&:hover": { bgcolor: "rgba(130,140,155,0.24)" } },
4944
4949
  children: [
4945
- L,
4950
+ N,
4946
4951
  /* @__PURE__ */ p("svg", { width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", style: { display: "block", flexShrink: 0 }, children: [
4947
4952
  /* @__PURE__ */ i("path", { d: "M12 20h9" }),
4948
4953
  /* @__PURE__ */ i("path", { d: "M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z" })
@@ -4963,13 +4968,13 @@ function be(e) {
4963
4968
  max: a,
4964
4969
  step: l,
4965
4970
  value: o,
4966
- onChange: (q) => {
4967
- const U = parseFloat(q.target.value);
4971
+ onChange: (K) => {
4972
+ const U = parseFloat(K.target.value);
4968
4973
  if (h != null && x != null && U <= h) {
4969
4974
  A();
4970
4975
  return;
4971
4976
  }
4972
- d(O(U)), v(U);
4977
+ d(B(U)), v(U);
4973
4978
  },
4974
4979
  sx: {
4975
4980
  WebkitAppearance: "none",
@@ -4997,9 +5002,9 @@ function be(e) {
4997
5002
  px: "10px",
4998
5003
  py: "6px",
4999
5004
  borderRadius: "8px",
5000
- bgcolor: I.warnSoft,
5001
- border: `1px solid ${I.warnTxt}`,
5002
- color: I.warnTxt,
5005
+ bgcolor: H.warnSoft,
5006
+ border: `1px solid ${H.warnTxt}`,
5007
+ color: H.warnTxt,
5003
5008
  fontSize: 12,
5004
5009
  fontWeight: 600
5005
5010
  }, children: [
@@ -5034,7 +5039,7 @@ const rl = [
5034
5039
  { key: "Plus Jakarta Sans", label: "Jakarta" }
5035
5040
  ];
5036
5041
  function Vt({ label: e, fam: r, active: t, onClick: n }) {
5037
- const o = j((f) => f.settings.mode), s = j((f) => f.settings.primaryHex) || "#1565c0", a = j((f) => f.settings.highlightHex) || "#ffd400", l = o === "dark", c = Re(s), g = pe(a, l ? 0.3 : 0.18);
5042
+ const o = j((f) => f.settings.mode), s = j((f) => f.settings.primaryHex) || "#4F6BFF", a = j((f) => f.settings.highlightHex) || "#ffd400", l = o === "dark", c = Re(s), g = pe(a, l ? 0.3 : 0.18);
5038
5043
  return /* @__PURE__ */ i(S, { onClick: n, sx: { py: "17px", px: "4px", borderRadius: "10px", textAlign: "center", cursor: "pointer", border: `1px solid ${t ? l ? c[400] : s : l ? "#363d48" : "#e3e8ee"}`, bgcolor: t ? g : l ? "#262b34" : "#ffffff", transition: "all .14s ease", "&:hover": t ? {} : { borderColor: l ? "#4a5361" : "#c9d0d9" } }, children: /* @__PURE__ */ i(S, { sx: { fontFamily: `${r}, sans-serif`, fontSize: 13, fontWeight: 700, lineHeight: 1, color: t ? l ? c[200] : c[700] : l ? "#aeb6c0" : "#5a6573" }, children: e }) });
5039
5044
  }
5040
5045
  const ol = ["woff2", "woff", "ttf", "otf"], il = 10 * 1024 * 1024, al = (e) => new Promise((r, t) => {
@@ -5058,7 +5063,7 @@ const ol = ["woff2", "woff", "ttf", "otf"], il = 10 * 1024 * 1024, al = (e) => n
5058
5063
  clearTimeout(t), r(!1);
5059
5064
  }
5060
5065
  });
5061
- function Wn({ label: e, list: r, onAdd: t }) {
5066
+ function Fn({ label: e, list: r, onAdd: t }) {
5062
5067
  const n = De(j((f) => f.settings.mode)), o = we(), [s, a] = Z(""), l = Te(void 0);
5063
5068
  _e(() => () => clearTimeout(l.current), []);
5064
5069
  const c = (f) => {
@@ -5068,27 +5073,27 @@ function Wn({ label: e, list: r, onAdd: t }) {
5068
5073
  const m = Array.from(f.target.files ?? []);
5069
5074
  if (f.target.value = "", !m.length) return;
5070
5075
  const y = [], h = [], x = [], u = [], b = [];
5071
- for (const I of m) {
5072
- const C = (($ = I.name.split(".").pop()) == null ? void 0 : $.toLowerCase()) || "";
5076
+ for (const H of m) {
5077
+ const C = (($ = H.name.split(".").pop()) == null ? void 0 : $.toLowerCase()) || "";
5073
5078
  if (!ol.includes(C)) {
5074
- x.push(I.name);
5079
+ x.push(H.name);
5075
5080
  continue;
5076
5081
  }
5077
- if (I.size > il) {
5078
- u.push(I.name);
5082
+ if (H.size > il) {
5083
+ u.push(H.name);
5079
5084
  continue;
5080
5085
  }
5081
- if (!await sl(I)) {
5082
- b.push(I.name);
5086
+ if (!await sl(H)) {
5087
+ b.push(H.name);
5083
5088
  continue;
5084
5089
  }
5085
- const w = I.name.replace(/\.[^.]+$/, ""), H = (B) => B.toLowerCase() === w.toLowerCase();
5086
- if (r.some((B) => H(B.name)) || y.some((B) => H(B.name))) {
5087
- h.push(w);
5090
+ const k = H.name.replace(/\.[^.]+$/, ""), R = (I) => I.toLowerCase() === k.toLowerCase();
5091
+ if (r.some((I) => R(I.name)) || y.some((I) => R(I.name))) {
5092
+ h.push(k);
5088
5093
  continue;
5089
5094
  }
5090
- const W = await al(I);
5091
- co(w, W), y.push({ name: w, dataUrl: W });
5095
+ const z = await al(H);
5096
+ co(k, z), y.push({ name: k, dataUrl: z });
5092
5097
  }
5093
5098
  y.length && t(y);
5094
5099
  const v = [];
@@ -5118,7 +5123,7 @@ function dl() {
5118
5123
  isNaN(f) || r({ scaleRatioCustom: f }), s(!1);
5119
5124
  };
5120
5125
  return o ? /* @__PURE__ */ i(
5121
- Wr,
5126
+ Fr,
5122
5127
  {
5123
5128
  autoFocus: !0,
5124
5129
  value: l,
@@ -5167,14 +5172,14 @@ function cl() {
5167
5172
  rl.map((o) => /* @__PURE__ */ i(Vt, { label: o.label, sub: o.sub, fam: o.key, active: t.fontFamily === o.key, onClick: () => n({ fontFamily: o.key }) }, o.key)),
5168
5173
  t.customFonts.map((o) => /* @__PURE__ */ i(Vt, { label: o.name, sub: "Custom", fam: o.name, active: t.fontFamily === o.name, onClick: () => n({ fontFamily: o.name }) }, o.name))
5169
5174
  ] }),
5170
- /* @__PURE__ */ i(Wn, { label: "Upload custom font", list: t.customFonts, onAdd: (o) => n({ customFonts: [...o, ...t.customFonts], fontFamily: o[0].name }) })
5175
+ /* @__PURE__ */ i(Fn, { label: "Upload custom font", list: t.customFonts, onAdd: (o) => n({ customFonts: [...o, ...t.customFonts], fontFamily: o[0].name }) })
5171
5176
  ] }),
5172
5177
  e === "headFont" && /* @__PURE__ */ p(ge, { children: [
5173
5178
  /* @__PURE__ */ p(S, { sx: { display: "grid", gridTemplateColumns: "repeat(3,1fr)", gap: "10px" }, children: [
5174
5179
  nl.map((o) => /* @__PURE__ */ i(Vt, { label: o.label, fam: o.key, active: t.headingFont === o.key, onClick: () => n({ headingFont: o.key }) }, o.key)),
5175
5180
  t.customHeadFonts.map((o) => /* @__PURE__ */ i(Vt, { label: o.name, sub: "Custom", fam: o.name, active: t.headingFont === o.name, onClick: () => n({ headingFont: o.name }) }, o.name))
5176
5181
  ] }),
5177
- /* @__PURE__ */ i(Wn, { label: "Upload heading font", list: t.customHeadFonts, onAdd: (o) => n({ customHeadFonts: [...o, ...t.customHeadFonts], headingFont: o[0].name }) })
5182
+ /* @__PURE__ */ i(Fn, { label: "Upload heading font", list: t.customHeadFonts, onAdd: (o) => n({ customHeadFonts: [...o, ...t.customHeadFonts], headingFont: o[0].name }) })
5178
5183
  ] }),
5179
5184
  e === "headText" && /* @__PURE__ */ p(ge, { children: [
5180
5185
  /* @__PURE__ */ i(be, { label: "H1 size", info: "All heading levels scale from H1 by a modular ratio (configurable via the gear icon).", value: t.h1Size, effective: t.h1Size || 20, min: 18, max: 56, unit: "px", extra: /* @__PURE__ */ i(dl, {}), onChange: (o) => n({ h1Size: o }) }),
@@ -5190,9 +5195,9 @@ function cl() {
5190
5195
  ] });
5191
5196
  }
5192
5197
  function He({ options: e, value: r, columns: t = 3, onChange: n }) {
5193
- const o = j((v) => v.settings.mode), s = j((v) => v.settings.primaryHex) || "#1565c0", a = j((v) => v.settings.highlightHex) || "#ffd400", l = o === "dark", c = Re(s), g = we(), f = `${g.bodyFam},sans-serif`, m = pe(a, l ? 0.3 : 0.18), y = l ? c[400] : s, h = l ? c[200] : c[700], x = l ? "#262b34" : "#ffffff", u = l ? "#363d48" : "#e3e8ee", b = l ? "#aeb6c0" : "#5a6573";
5198
+ const o = j((v) => v.settings.mode), s = j((v) => v.settings.primaryHex) || "#4F6BFF", a = j((v) => v.settings.highlightHex) || "#ffd400", l = o === "dark", c = Re(s), g = we(), f = `${g.bodyFam},sans-serif`, m = pe(a, l ? 0.3 : 0.18), y = l ? c[400] : s, h = l ? c[200] : c[700], x = l ? "#262b34" : "#ffffff", u = l ? "#363d48" : "#e3e8ee", b = l ? "#aeb6c0" : "#5a6573";
5194
5199
  return /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: `repeat(${t}, 1fr)`, gap: "6px" }, children: e.map((v) => {
5195
- const $ = v.key === r, I = /* @__PURE__ */ i(
5200
+ const $ = v.key === r, H = /* @__PURE__ */ i(
5196
5201
  S,
5197
5202
  {
5198
5203
  onClick: () => n(v.key),
@@ -5216,7 +5221,7 @@ function He({ options: e, value: r, columns: t = 3, onChange: n }) {
5216
5221
  },
5217
5222
  v.key
5218
5223
  );
5219
- return v.info ? /* @__PURE__ */ i(ze, { title: v.info, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: I }, v.key) : I;
5224
+ return v.info ? /* @__PURE__ */ i(ze, { title: v.info, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: H }, v.key) : H;
5220
5225
  }) });
5221
5226
  }
5222
5227
  const Ut = { outlined: 0, soft: 6, floating: 24 }, Gt = { plain: 0, tinted: 40, accent: 60 }, pl = { bordered: 0, recessed: 6, lighter: 4 };
@@ -5480,16 +5485,16 @@ function yl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5480
5485
  n(e);
5481
5486
  return;
5482
5487
  }
5483
- const v = (b || x).getBoundingClientRect(), $ = 1e3, I = Math.round($ * r), C = I / v.width, w = document.createElement("canvas");
5484
- w.width = I, w.height = $;
5485
- const H = w.getContext("2d");
5486
- if (!H) {
5488
+ const v = (b || x).getBoundingClientRect(), $ = 1e3, H = Math.round($ * r), C = H / v.width, k = document.createElement("canvas");
5489
+ k.width = H, k.height = $;
5490
+ const R = k.getContext("2d");
5491
+ if (!R) {
5487
5492
  n(e);
5488
5493
  return;
5489
5494
  }
5490
- const W = u.getBoundingClientRect(), B = (W.left - v.left) * C, X = (W.top - v.top) * C, Q = W.width * C, Y = W.height * C;
5495
+ const z = u.getBoundingClientRect(), I = (z.left - v.left) * C, X = (z.top - v.top) * C, Q = z.width * C, Y = z.height * C;
5491
5496
  try {
5492
- H.drawImage(u, B, X, Q, Y), n(w.toDataURL("image/png"));
5497
+ R.drawImage(u, I, X, Q, Y), n(k.toDataURL("image/png"));
5493
5498
  } catch {
5494
5499
  n(e);
5495
5500
  }
@@ -5577,56 +5582,56 @@ const xl = [
5577
5582
  setStudioOpen: (r) => e({ studioOpen: r })
5578
5583
  }));
5579
5584
  function Sl({ onClose: e }) {
5580
- var F, k, D, E;
5581
- const r = nt((R) => R.openSection), t = nt((R) => R.setOpenSection), n = nt((R) => R.setPreviewScreen), o = nt((R) => R.previewScreen), s = nt((R) => R.previewMenuOpen), a = nt((R) => R.setPreviewMenuOpen), l = j((R) => R.settings), c = j((R) => R.savedThemes), g = j((R) => R.editingSavedId), f = j((R) => R.isDirty), m = j((R) => R.set), y = j((R) => R.reset), h = De(l.mode), x = Te("theme"), [u, b] = Z(!1), v = (R, K) => {
5582
- const le = r !== R;
5583
- t(le ? R : ""), a(!1), le && x.current !== R && (n(K), x.current = R);
5584
- }, $ = ((F = c.find((R) => R.id === g)) == null ? void 0 : F.name) || ((k = Qt.find((R) => R.id === l.presetId)) == null ? void 0 : k.name) || ((D = c.find((R) => R.id === l.presetId)) == null ? void 0 : D.name) || "Custom Theme", I = f(), C = ((E = Qt.find((R) => R.id === Oe.presetId)) == null ? void 0 : E.name) ?? "default", w = { fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }, H = ({ children: R }) => /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 24 24", ...w, children: R }), W = /* @__PURE__ */ p(H, { children: [
5585
+ var M, w, O, F;
5586
+ const r = nt((E) => E.openSection), t = nt((E) => E.setOpenSection), n = nt((E) => E.setPreviewScreen), o = nt((E) => E.previewScreen), s = nt((E) => E.previewMenuOpen), a = nt((E) => E.setPreviewMenuOpen), l = j((E) => E.settings), c = j((E) => E.savedThemes), g = j((E) => E.editingSavedId), f = j((E) => E.isDirty), m = j((E) => E.set), y = j((E) => E.reset), h = De(l.mode), x = Te("theme"), [u, b] = Z(!1), v = (E, W) => {
5587
+ const te = r !== E;
5588
+ t(te ? E : ""), a(!1), te && x.current !== E && (n(W), x.current = E);
5589
+ }, $ = ((M = c.find((E) => E.id === g)) == null ? void 0 : M.name) || ((w = Qt.find((E) => E.id === l.presetId)) == null ? void 0 : w.name) || ((O = c.find((E) => E.id === l.presetId)) == null ? void 0 : O.name) || "Custom Theme", H = f(), C = ((F = Qt.find((E) => E.id === Oe.presetId)) == null ? void 0 : F.name) ?? "default", k = { fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }, R = ({ children: E }) => /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 24 24", ...k, children: E }), z = /* @__PURE__ */ p(R, { children: [
5585
5590
  /* @__PURE__ */ i("circle", { cx: "13.5", cy: "6.5", r: "2.5" }),
5586
5591
  /* @__PURE__ */ i("circle", { cx: "17.5", cy: "10.5", r: "2.5" }),
5587
5592
  /* @__PURE__ */ i("circle", { cx: "8.5", cy: "7.5", r: "2.5" }),
5588
5593
  /* @__PURE__ */ i("circle", { cx: "6.5", cy: "12.5", r: "2.5" }),
5589
5594
  /* @__PURE__ */ i("path", { d: "M12 2a10 10 0 0 0 0 20 3 3 0 0 0 0-6 2 2 0 0 1 0-4 4 4 0 0 0 4-4 6 6 0 0 0-4-6z" })
5590
- ] }), B = /* @__PURE__ */ p(S, { sx: { display: "flex", gap: "2px", width: 14, height: 14 }, children: [
5595
+ ] }), I = /* @__PURE__ */ p(S, { sx: { display: "flex", gap: "2px", width: 14, height: 14 }, children: [
5591
5596
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.secondaryHex, borderRadius: "2px" } }),
5592
5597
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.errorHex, borderRadius: "2px" } }),
5593
5598
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.successHex, borderRadius: "2px" } })
5594
- ] }), X = /* @__PURE__ */ p(H, { children: [
5599
+ ] }), X = /* @__PURE__ */ p(R, { children: [
5595
5600
  /* @__PURE__ */ i("path", { d: "M4 20 9 5l5 15M6 14h6" }),
5596
5601
  /* @__PURE__ */ i("path", { d: "M15 20l3-9 3 9M16.2 17h3.6" })
5597
- ] }), Q = /* @__PURE__ */ p(H, { children: [
5602
+ ] }), Q = /* @__PURE__ */ p(R, { children: [
5598
5603
  /* @__PURE__ */ i("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
5599
5604
  /* @__PURE__ */ i("path", { d: "M3 9h18" })
5600
- ] }), Y = /* @__PURE__ */ p(H, { children: [
5605
+ ] }), Y = /* @__PURE__ */ p(R, { children: [
5601
5606
  /* @__PURE__ */ i("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
5602
5607
  /* @__PURE__ */ i("path", { d: "M3 9h18M3 15h18M9 3v18" })
5603
- ] }), d = /* @__PURE__ */ i(H, { children: /* @__PURE__ */ i("rect", { x: "4", y: "4", width: "16", height: "16", rx: "4" }) }), O = /* @__PURE__ */ p(ge, { children: [
5604
- /* @__PURE__ */ p(H, { children: [
5608
+ ] }), d = /* @__PURE__ */ i(R, { children: /* @__PURE__ */ i("rect", { x: "4", y: "4", width: "16", height: "16", rx: "4" }) }), B = /* @__PURE__ */ p(ge, { children: [
5609
+ /* @__PURE__ */ p(R, { children: [
5605
5610
  /* @__PURE__ */ i("path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }),
5606
5611
  /* @__PURE__ */ i("path", { d: "M10 21a2 2 0 0 0 4 0" })
5607
5612
  ] }),
5608
5613
  /* @__PURE__ */ i(S, { sx: { position: "absolute", top: "6px", right: "6px", width: 7, height: 7, borderRadius: "50%", background: l.primaryHex, border: `1.5px solid ${h.iconTile}` } })
5609
- ] }), A = /* @__PURE__ */ p(H, { children: [
5614
+ ] }), A = /* @__PURE__ */ p(R, { children: [
5610
5615
  /* @__PURE__ */ i("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }),
5611
5616
  /* @__PURE__ */ i("path", { d: "M10 17l5-5-5-5" }),
5612
5617
  /* @__PURE__ */ i("path", { d: "M15 12H3" })
5613
- ] }), _ = l.mode === "dark", L = (R) => R.charAt(0).toUpperCase() + R.slice(1), q = { sm: "Small", df: "Default", lg: "Large" }, U = { sharp: "Sharp", rounded: "Rounded", round: "Round" }, G = { compact: "Compact", default: "Default", comfortable: "Comfortable" }, P = { flat: "Flat", outlined: "Outlined", soft: "Soft", raised: "Raised", elevated: "Elevated", floating: "Floating" }, M = { split: "Split Brand", centered: "Centered Card" }, J = { "top-center": "Top Center", "top-right": "Top Right", "bottom-left": "Bottom Left", "bottom-right": "Bottom Right" }, V = {
5614
- theme: `${$} · ${_ ? "Dark" : "Light"}`,
5618
+ ] }), L = l.mode === "dark", N = (E) => E.charAt(0).toUpperCase() + E.slice(1), K = { sm: "Small", df: "Default", lg: "Large" }, U = { sharp: "Sharp", rounded: "Rounded", round: "Round" }, J = { compact: "Compact", default: "Default", comfortable: "Comfortable" }, P = { flat: "Flat", outlined: "Outlined", soft: "Soft", raised: "Raised", elevated: "Elevated", floating: "Floating" }, D = { split: "Split Brand", centered: "Centered Card" }, q = { "top-center": "Top Center", "top-right": "Top Right", "bottom-left": "Bottom Left", "bottom-right": "Bottom Right" }, V = {
5619
+ theme: `${$} · ${L ? "Dark" : "Light"}`,
5615
5620
  color: "Secondary & status colours",
5616
- type: `${l.fontFamily} · ${q[l.textSize] ?? "Default"}`,
5621
+ type: `${l.fontFamily} · ${K[l.textSize] ?? "Default"}`,
5617
5622
  cards: "Card style, header, nesting & surface tint",
5618
5623
  tables: "Table row density, dividers, striping & header style — previewed on the Orders screen",
5619
- shape: `${U[l.radiusPreset] ?? "Custom"} · ${G[l.density] ?? "Default"} · ${P[l.cardStyle] ?? ""}`,
5620
- notif: `${J[l.notifPosition] ?? ""} · ${L(l.notifStyle)}`,
5621
- login: `${M[l.loginLayout] ?? ""}${l.loginImage ? " · image" : ""}`
5622
- }, N = [
5623
- { id: "theme", title: "Theme Settings", info: "Presets, saved themes & light/dark mode.", icon: W, screen: "dashboard", body: /* @__PURE__ */ i(Xs, {}) },
5624
- { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: B, screen: "components", body: /* @__PURE__ */ i(tl, {}) },
5624
+ shape: `${U[l.radiusPreset] ?? "Custom"} · ${J[l.density] ?? "Default"} · ${P[l.cardStyle] ?? ""}`,
5625
+ notif: `${q[l.notifPosition] ?? ""} · ${N(l.notifStyle)}`,
5626
+ login: `${D[l.loginLayout] ?? ""}${l.loginImage ? " · image" : ""}`
5627
+ }, G = [
5628
+ { id: "theme", title: "Theme Settings", info: "Presets, saved themes & light/dark mode.", icon: z, screen: "dashboard", body: /* @__PURE__ */ i(Xs, {}) },
5629
+ { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: I, screen: "components", body: /* @__PURE__ */ i(tl, {}) },
5625
5630
  { id: "type", title: "Typography", info: "Fonts, sizes, weight & line-height.", icon: X, screen: "components", body: /* @__PURE__ */ i(cl, {}) },
5626
5631
  { id: "cards", title: "Cards", info: "Card style, header, nesting & tint.", icon: Q, screen: "dashboard", body: /* @__PURE__ */ i(ul, {}) },
5627
5632
  { id: "tables", title: "Tables", info: "Row/column density, dividers & alignment.", icon: Y, screen: "orders", body: /* @__PURE__ */ i(fl, {}) },
5628
5633
  { id: "shape", title: "Surface & Shape", info: "Radius, density, elevation & spacing.", icon: d, screen: "dashboard", body: /* @__PURE__ */ i(hl, {}) },
5629
- { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: O, screen: "operations", body: /* @__PURE__ */ i(gl, {}) },
5634
+ { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: B, screen: "operations", body: /* @__PURE__ */ i(gl, {}) },
5630
5635
  { id: "login", title: "Login Screen", info: "Brand image, logo & panel colour.", icon: A, screen: "login", body: /* @__PURE__ */ i(bl, {}) }
5631
5636
  ];
5632
5637
  return /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", bgcolor: h.card }, children: [
@@ -5637,21 +5642,21 @@ function Sl({ onClose: e }) {
5637
5642
  ] }),
5638
5643
  /* @__PURE__ */ p(S, { sx: { flex: 1, minWidth: 0, display: "flex", alignItems: "center", gap: "6px" }, children: [
5639
5644
  /* @__PURE__ */ i(ue, { variant: "caption", sx: { minWidth: 0, fontWeight: 800, color: h.text, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: $ }),
5640
- I && /* @__PURE__ */ i(ze, { title: "Unsaved changes", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(S, { component: "span", sx: { width: 6, height: 6, borderRadius: "50%", bgcolor: "error.main", flexShrink: 0 } }) })
5645
+ H && /* @__PURE__ */ i(ze, { title: "Unsaved changes", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(S, { component: "span", sx: { width: 6, height: 6, borderRadius: "50%", bgcolor: "error.main", flexShrink: 0 } }) })
5641
5646
  ] }),
5642
5647
  /* @__PURE__ */ i(ze, { title: "Reset to defaults", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(Pr, { size: "small", onClick: () => b(!0), sx: { bgcolor: "action.selected" }, children: /* @__PURE__ */ i(_s, { sx: { fontSize: 16 } }) }) }),
5643
5648
  /* @__PURE__ */ i(ze, { title: l.mode === "dark" ? "Switch to light" : "Switch to dark", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(Pr, { size: "small", onClick: () => m({ mode: l.mode === "dark" ? "light" : "dark" }), sx: { bgcolor: "action.selected" }, children: l.mode === "dark" ? /* @__PURE__ */ i(Ns, { sx: { fontSize: 16 } }) : /* @__PURE__ */ i(Ls, { sx: { fontSize: 16 } }) }) })
5644
5649
  ] }),
5645
- s && /* @__PURE__ */ p(S, { sx: { borderBottom: "1px solid", borderColor: "divider", borderLeft: "3px solid #eab308", bgcolor: (R) => R.palette.mode === "dark" ? "rgba(234,179,8,0.14)" : "#fef9c3", px: 1.6, py: 1.5 }, children: [
5646
- /* @__PURE__ */ i(ue, { sx: { fontSize: 10, fontWeight: 800, textTransform: "uppercase", letterSpacing: ".6px", color: (R) => R.palette.mode === "dark" ? "#f2cd5c" : "#854d0e", mb: 1 }, children: "Previewing Screen" }),
5647
- /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: 0.75 }, children: vl.map((R) => {
5648
- const K = o === R.key;
5650
+ s && /* @__PURE__ */ p(S, { sx: { borderBottom: "1px solid", borderColor: "divider", borderLeft: "3px solid #eab308", bgcolor: (E) => E.palette.mode === "dark" ? "rgba(234,179,8,0.14)" : "#fef9c3", px: 1.6, py: 1.5 }, children: [
5651
+ /* @__PURE__ */ i(ue, { sx: { fontSize: 10, fontWeight: 800, textTransform: "uppercase", letterSpacing: ".6px", color: (E) => E.palette.mode === "dark" ? "#f2cd5c" : "#854d0e", mb: 1 }, children: "Previewing Screen" }),
5652
+ /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: 0.75 }, children: vl.map((E) => {
5653
+ const W = o === E.key;
5649
5654
  return /* @__PURE__ */ i(
5650
5655
  S,
5651
5656
  {
5652
5657
  component: "button",
5653
5658
  onClick: () => {
5654
- o !== R.key && n(R.key), a(!1);
5659
+ o !== E.key && n(E.key), a(!1);
5655
5660
  },
5656
5661
  sx: {
5657
5662
  px: 0.75,
@@ -5659,34 +5664,34 @@ function Sl({ onClose: e }) {
5659
5664
  borderRadius: 2,
5660
5665
  cursor: "pointer",
5661
5666
  fontSize: 11,
5662
- fontWeight: K ? 800 : 600,
5667
+ fontWeight: W ? 800 : 600,
5663
5668
  whiteSpace: "nowrap",
5664
5669
  overflow: "hidden",
5665
5670
  textOverflow: "ellipsis",
5666
5671
  border: "1.5px solid",
5667
- borderColor: K ? "#d4a915" : "#e6dca8",
5668
- bgcolor: K ? "#fde68a" : "background.paper",
5669
- color: K ? "#713f12" : "text.secondary"
5672
+ borderColor: W ? "#d4a915" : "#e6dca8",
5673
+ bgcolor: W ? "#fde68a" : "background.paper",
5674
+ color: W ? "#713f12" : "text.secondary"
5670
5675
  },
5671
- children: R.label
5676
+ children: E.label
5672
5677
  },
5673
- R.key
5678
+ E.key
5674
5679
  );
5675
5680
  }) })
5676
5681
  ] }),
5677
- N.map((R) => /* @__PURE__ */ i(
5682
+ G.map((E) => /* @__PURE__ */ i(
5678
5683
  Ks,
5679
5684
  {
5680
- icon: R.icon,
5681
- title: R.title,
5682
- info: V[R.id] ?? R.info,
5683
- open: r === R.id,
5684
- dimmed: r !== "" && r !== R.id,
5685
- onToggle: () => v(R.id, R.screen),
5685
+ icon: E.icon,
5686
+ title: E.title,
5687
+ info: V[E.id] ?? E.info,
5688
+ open: r === E.id,
5689
+ dimmed: r !== "" && r !== E.id,
5690
+ onToggle: () => v(E.id, E.screen),
5686
5691
  onPreviewMenu: () => a(!s),
5687
- children: R.body
5692
+ children: E.body
5688
5693
  },
5689
- R.id
5694
+ E.id
5690
5695
  )),
5691
5696
  /* @__PURE__ */ p(mt, { open: u, onClose: () => b(!1), PaperProps: { sx: { borderRadius: 3, width: 320, p: 2.5 } }, children: [
5692
5697
  /* @__PURE__ */ i(ue, { sx: { fontSize: 15, fontWeight: 800, mb: 0.75 }, children: "Reset everything?" }),
@@ -5704,7 +5709,7 @@ function Sl({ onClose: e }) {
5704
5709
  ] })
5705
5710
  ] });
5706
5711
  }
5707
- const Cl = It(/* @__PURE__ */ i("path", {
5712
+ const Cl = At(/* @__PURE__ */ i("path", {
5708
5713
  d: "M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v2H8v2h8v-2h-2v-2h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H3V4h18z"
5709
5714
  }), "DesktopWindowsOutlined");
5710
5715
  function Ur(e, r, t) {
@@ -5747,12 +5752,12 @@ function po(e, r, t) {
5747
5752
  }
5748
5753
  const wl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], kl = [44, 60, 50, 74, 88, 96], Tl = [24, 32, 30, 42, 52, 60];
5749
5754
  function Rl() {
5750
- const e = we(), r = j((F) => F.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, tH4: y, wH1: h, headFam: x, headLH: u, accentBg: b, btnText: v, tBodySm: $, bwEmph: I, btnCase: C, bodyWeightEff: w, bodyLH: H, tCaption: W, pMain: B, sMain: X } = e, Q = x + ",sans-serif", Y = r.fontFamily + ",sans-serif", d = e.hc1 || t.textPrimary, O = e.hc2 || t.textPrimary, A = e.hc3 || t.textPrimary, _ = [
5755
+ const e = we(), r = j((M) => M.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, tH4: y, wH1: h, headFam: x, headLH: u, accentBg: b, btnText: v, tBodySm: $, bwEmph: H, btnCase: C, bodyWeightEff: k, bodyLH: R, tCaption: z, pMain: I, sMain: X } = e, Q = x + ",sans-serif", Y = r.fontFamily + ",sans-serif", d = e.hc1 || t.textPrimary, B = e.hc2 || t.textPrimary, A = e.hc3 || t.textPrimary, L = [
5751
5756
  { label: "Revenue", val: "$2.41M", chg: "+12.5%", up: !0 },
5752
5757
  { label: "Open Orders", val: "1,284", chg: "+3.2%", up: !0 },
5753
5758
  { label: "Inventory", val: "8,540", chg: "-1.8%", up: !1 },
5754
5759
  { label: "Active Users", val: "342", chg: "+5", up: !0 }
5755
- ].map((F) => ({ ...F, cc: F.up ? e.sucTxt : e.errTxt, cb: F.up ? e.sucSoft : e.errSoft, arrow: F.up ? "▲" : "▼" })), L = (F) => F === "✓" ? { cb: e.sucSoft, cc: e.sucTxt } : F === "!" ? { cb: e.warnSoft, cc: e.warnTxt } : F === "+" ? { cb: e.infoSoft, cc: e.infoTxt } : { cb: t.pContainer, cc: e.isDark ? t.pLight : t.pDark }, q = [
5760
+ ].map((M) => ({ ...M, cc: M.up ? e.sucTxt : e.errTxt, cb: M.up ? e.sucSoft : e.errSoft, arrow: M.up ? "▲" : "▼" })), N = (M) => M === "✓" ? { cb: e.sucSoft, cc: e.sucTxt } : M === "!" ? { cb: e.warnSoft, cc: e.warnTxt } : M === "+" ? { cb: e.infoSoft, cc: e.infoTxt } : { cb: t.pContainer, cc: e.isDark ? t.pLight : t.pDark }, K = [
5756
5761
  { title: "Order ORD-1042 delivered to Acme Corp", time: "2m ago", ic: "✓" },
5757
5762
  { title: "Invoice #4821 paid — $12,400", time: "18m ago", ic: "$" },
5758
5763
  { title: "Low stock alert: Widget Pro (12 left)", time: "1h ago", ic: "!" },
@@ -5769,57 +5774,57 @@ function Rl() {
5769
5774
  { title: "New user invited — M. Fernandez", time: "19h ago", ic: "+" },
5770
5775
  { title: "Quarterly report scheduled", time: "21h ago", ic: "▤" },
5771
5776
  { title: "Order ORD-1039 delivered to Oscorp", time: "23h ago", ic: "✓" }
5772
- ].map((F) => ({ ...F, ...L(F.ic) })), [U, G] = Ur(5, 4, q.length), P = q.slice(0, G), M = e.cardBorder === "none" ? "none" : e.cardBorder, J = { background: t.paper, border: M, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, V = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, N = { fontSize: m, lineHeight: u, fontWeight: h, color: A, fontFamily: Q };
5773
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: M, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: Y, fontWeight: w, color: t.textPrimary }, children: [
5777
+ ].map((M) => ({ ...M, ...N(M.ic) })), [U, J] = Ur(5, 4, K.length), P = K.slice(0, J), D = e.cardBorder === "none" ? "none" : e.cardBorder, q = { background: t.paper, border: D, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, V = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, G = { fontSize: m, lineHeight: u, fontWeight: h, color: A, fontFamily: Q };
5778
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: D, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: Y, fontWeight: k, color: t.textPrimary }, children: [
5774
5779
  /* @__PURE__ */ p("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between", gap: 14 }, children: [
5775
5780
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
5776
5781
  /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: u, fontWeight: h, color: d, letterSpacing: "-.3px", fontFamily: Q }, children: "Dashboard" }),
5777
- /* @__PURE__ */ i("span", { title: "Good morning, Admin · Jun 21, 2026", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: I, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
5782
+ /* @__PURE__ */ i("span", { title: "Good morning, Admin · Jun 21, 2026", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: H, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
5778
5783
  ] }),
5779
- /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: b, color: v, fontSize: $, fontWeight: I, textTransform: C, letterSpacing: ".4px", boxShadow: e.btnShadow, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New" })
5784
+ /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: b, color: v, fontSize: $, fontWeight: H, textTransform: C, letterSpacing: ".4px", boxShadow: e.btnShadow, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New" })
5780
5785
  ] }),
5781
5786
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
5782
- /* @__PURE__ */ p("div", { style: { ...J, marginBottom: l }, children: [
5787
+ /* @__PURE__ */ p("div", { style: { ...q, marginBottom: l }, children: [
5783
5788
  /* @__PURE__ */ p("div", { style: V, children: [
5784
- /* @__PURE__ */ i("span", { style: { ...N }, children: "Performance Overview" }),
5785
- /* @__PURE__ */ i("span", { style: { fontSize: W, color: t.textSecondary, fontWeight: I }, children: "This month" })
5789
+ /* @__PURE__ */ i("span", { style: { ...G }, children: "Performance Overview" }),
5790
+ /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary, fontWeight: H }, children: "This month" })
5786
5791
  ] }),
5787
- /* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l }, children: _.map((F) => /* @__PURE__ */ p("div", { style: { background: t.paper2, border: e.nestBorder, borderRadius: o, boxShadow: e.nestShadow, padding: a }, children: [
5788
- /* @__PURE__ */ i("div", { style: { fontSize: y, color: t.textSecondary, fontWeight: h, fontFamily: Q, textTransform: "uppercase", letterSpacing: ".6px", marginBottom: 8 }, children: F.label }),
5789
- /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: h, color: O, letterSpacing: "-.8px", lineHeight: 1, marginBottom: 6 }, children: F.val }),
5790
- /* @__PURE__ */ p("span", { style: { fontSize: W, fontWeight: I, color: F.cc, background: F.cb, padding: "3px 9px", borderRadius: 999 }, children: [
5791
- F.arrow,
5792
+ /* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l }, children: L.map((M) => /* @__PURE__ */ p("div", { style: { background: t.paper2, border: e.nestBorder, borderRadius: o, boxShadow: e.nestShadow, padding: a }, children: [
5793
+ /* @__PURE__ */ i("div", { style: { fontSize: y, color: t.textSecondary, fontWeight: h, fontFamily: Q, textTransform: "uppercase", letterSpacing: ".6px", marginBottom: 8 }, children: M.label }),
5794
+ /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: h, color: B, letterSpacing: "-.8px", lineHeight: 1, marginBottom: 6 }, children: M.val }),
5795
+ /* @__PURE__ */ p("span", { style: { fontSize: z, fontWeight: H, color: M.cc, background: M.cb, padding: "3px 9px", borderRadius: 999 }, children: [
5796
+ M.arrow,
5792
5797
  " ",
5793
- F.chg
5798
+ M.chg
5794
5799
  ] })
5795
- ] }, F.label)) })
5800
+ ] }, M.label)) })
5796
5801
  ] }),
5797
5802
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 300px", gap: l, flex: 1, minHeight: 0 }, children: [
5798
- /* @__PURE__ */ p("div", { style: { ...J, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
5803
+ /* @__PURE__ */ p("div", { style: { ...q, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
5799
5804
  /* @__PURE__ */ p("div", { style: V, children: [
5800
- /* @__PURE__ */ i("span", { style: N, children: "Revenue Trend" }),
5801
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 12 }, children: [["Revenue", B], ["Profit", X]].map(([F, k]) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 5 }, children: [
5802
- /* @__PURE__ */ i("div", { style: { width: 10, height: 10, borderRadius: 2, background: k } }),
5803
- /* @__PURE__ */ i("span", { style: { fontSize: W, color: t.textSecondary }, children: F })
5804
- ] }, F)) })
5805
+ /* @__PURE__ */ i("span", { style: G, children: "Revenue Trend" }),
5806
+ /* @__PURE__ */ i("div", { style: { display: "flex", gap: 12 }, children: [["Revenue", I], ["Profit", X]].map(([M, w]) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 5 }, children: [
5807
+ /* @__PURE__ */ i("div", { style: { width: 10, height: 10, borderRadius: 2, background: w } }),
5808
+ /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5809
+ ] }, M)) })
5805
5810
  ] }),
5806
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, display: "flex", alignItems: "flex-end", gap: 12, flex: 1, minHeight: 200 }, children: wl.map((F, k) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
5811
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, display: "flex", alignItems: "flex-end", gap: 12, flex: 1, minHeight: 200 }, children: wl.map((M, w) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
5807
5812
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: 3, flex: 1 }, children: [
5808
- /* @__PURE__ */ i("div", { style: { width: "100%", height: Tl[k] + "%", background: X, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
5809
- /* @__PURE__ */ i("div", { style: { width: "100%", height: kl[k] + "%", background: B, borderRadius: `${o} ${o} 0 0` } })
5813
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Tl[w] + "%", background: X, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
5814
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: kl[w] + "%", background: I, borderRadius: `${o} ${o} 0 0` } })
5810
5815
  ] }),
5811
- /* @__PURE__ */ i("span", { style: { fontSize: W, color: t.textSecondary }, children: F })
5812
- ] }, F)) })
5816
+ /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5817
+ ] }, M)) })
5813
5818
  ] }),
5814
- /* @__PURE__ */ p("div", { style: { ...J, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
5815
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: N, children: "Recent Activity" }) }),
5816
- /* @__PURE__ */ i("div", { ref: U, style: { padding: a, display: "flex", flexDirection: "column", justifyContent: "space-between", gap: 4, flex: 1, minHeight: 0 }, children: P.map((F, k) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: 8, borderRadius: o }, children: [
5817
- /* @__PURE__ */ i("div", { style: { width: 28, height: 28, borderRadius: o, background: F.cb, color: F.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 13, fontWeight: I }, children: F.ic }),
5819
+ /* @__PURE__ */ p("div", { style: { ...q, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
5820
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: G, children: "Recent Activity" }) }),
5821
+ /* @__PURE__ */ i("div", { ref: U, style: { padding: a, display: "flex", flexDirection: "column", justifyContent: "space-between", gap: 4, flex: 1, minHeight: 0 }, children: P.map((M, w) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: 8, borderRadius: o }, children: [
5822
+ /* @__PURE__ */ i("div", { style: { width: 28, height: 28, borderRadius: o, background: M.cb, color: M.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 13, fontWeight: H }, children: M.ic }),
5818
5823
  /* @__PURE__ */ p("div", { style: { flex: 1, minWidth: 0 }, children: [
5819
- /* @__PURE__ */ i("div", { style: { fontSize: $, color: t.textPrimary, fontFamily: Y, fontWeight: w, lineHeight: H, marginBottom: 2 }, children: F.title }),
5820
- /* @__PURE__ */ i("div", { style: { fontSize: W, color: t.textSecondary, fontFamily: Y }, children: F.time })
5824
+ /* @__PURE__ */ i("div", { style: { fontSize: $, color: t.textPrimary, fontFamily: Y, fontWeight: k, lineHeight: R, marginBottom: 2 }, children: M.title }),
5825
+ /* @__PURE__ */ i("div", { style: { fontSize: z, color: t.textSecondary, fontFamily: Y }, children: M.time })
5821
5826
  ] })
5822
- ] }, k)) })
5827
+ ] }, w)) })
5823
5828
  ] })
5824
5829
  ] })
5825
5830
  ] })
@@ -5844,65 +5849,65 @@ const El = [
5844
5849
  { id: "ORD-1027", cust: "Bluth Company", status: "Processing", amt: "$6,410", date: "Jun 03" }
5845
5850
  ], Hr = "100px 1fr 120px 100px 80px 70px";
5846
5851
  function Hl() {
5847
- const e = we(), r = j((G) => G.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: c, tH1: g, wH1: f, headFam: m, headLH: y, accentBg: h, btnText: x, btnShadow: u, tBody: b, tBodySm: v, tCaption: $, tOverline: I, bwEmph: C, btnCase: w, bodyWeightEff: H, pMain: W, table: B } = e, X = m + ",sans-serif", Q = r.fontFamily + ",sans-serif", Y = e.hc1 || t.textPrimary, [d, O, A] = po(12, 3, 16), _ = El.slice(0, A).map((G, P) => ({
5848
- ...G,
5849
- ...B.statusMap[G.status] || { sb: t.divider, sc: t.textSecondary },
5850
- rowBg: r.tableStripe && P % 2 === 1 ? B.stripeBg : "transparent"
5851
- })), L = e.cardBorder === "none" ? "none" : e.cardBorder, q = (G) => ({
5852
- fontSize: I,
5852
+ const e = we(), r = j((J) => J.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: c, tH1: g, wH1: f, headFam: m, headLH: y, accentBg: h, btnText: x, btnShadow: u, tBody: b, tBodySm: v, tCaption: $, tOverline: H, bwEmph: C, btnCase: k, bodyWeightEff: R, pMain: z, table: I } = e, X = m + ",sans-serif", Q = r.fontFamily + ",sans-serif", Y = e.hc1 || t.textPrimary, [d, B, A] = po(12, 3, 16), L = El.slice(0, A).map((J, P) => ({
5853
+ ...J,
5854
+ ...I.statusMap[J.status] || { sb: t.divider, sc: t.textSecondary },
5855
+ rowBg: r.tableStripe && P % 2 === 1 ? I.stripeBg : "transparent"
5856
+ })), N = e.cardBorder === "none" ? "none" : e.cardBorder, K = (J) => ({
5857
+ fontSize: H,
5853
5858
  fontWeight: C,
5854
5859
  color: t.textSecondary,
5855
5860
  textTransform: "uppercase",
5856
5861
  letterSpacing: ".5px",
5857
- borderRight: B.colBorder,
5862
+ borderRight: I.colBorder,
5858
5863
  alignSelf: "stretch",
5859
5864
  display: "flex",
5860
- alignItems: B.cellAI,
5861
- justifyContent: B.cellJC,
5862
- padding: `${B.rowPy} ${B.cellPx}`
5863
- }), U = { alignSelf: "stretch", display: "flex", alignItems: B.cellAI, justifyContent: B.cellJC, padding: `${B.rowPy} ${B.cellPx}` };
5864
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: L, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: Q, fontWeight: H, color: t.textPrimary }, children: [
5865
+ alignItems: I.cellAI,
5866
+ justifyContent: I.cellJC,
5867
+ padding: `${I.rowPy} ${I.cellPx}`
5868
+ }), U = { alignSelf: "stretch", display: "flex", alignItems: I.cellAI, justifyContent: I.cellJC, padding: `${I.rowPy} ${I.cellPx}` };
5869
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: N, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: Q, fontWeight: R, color: t.textPrimary }, children: [
5865
5870
  /* @__PURE__ */ p("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
5866
5871
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
5867
5872
  /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: y, fontWeight: f, color: Y, letterSpacing: "-.3px", fontFamily: X }, children: "Orders" }),
5868
5873
  /* @__PURE__ */ i("span", { title: "1,284 orders · June 2026", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: C, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
5869
5874
  ] }),
5870
- /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: h, color: x, fontSize: v, fontWeight: C, textTransform: w, letterSpacing: ".4px", boxShadow: u, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New Order" })
5875
+ /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: h, color: x, fontSize: v, fontWeight: C, textTransform: k, letterSpacing: ".4px", boxShadow: u, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New Order" })
5871
5876
  ] }),
5872
- /* @__PURE__ */ i("div", { style: { padding: l, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: L, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", flex: 1, minHeight: 0 }, children: [
5877
+ /* @__PURE__ */ i("div", { style: { padding: l, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: N, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", flex: 1, minHeight: 0 }, children: [
5873
5878
  /* @__PURE__ */ p("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", gap: 9, alignItems: "center", flexWrap: "wrap" }, children: [
5874
5879
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8, background: t.paper, border: "1.5px solid " + t.divider, borderRadius: 999, padding: "8px 15px", flex: 1, minWidth: 170 }, children: [
5875
5880
  /* @__PURE__ */ i("span", { style: { color: t.textSecondary, fontSize: 13 }, children: "⌕" }),
5876
5881
  /* @__PURE__ */ i("span", { style: { fontSize: v, color: t.textSecondary }, children: "Search orders…" })
5877
5882
  ] }),
5878
- B.filters.map((G) => /* @__PURE__ */ i("button", { style: { padding: "7px 14px", borderRadius: 999, border: "1px solid " + G.brd, background: G.bg, color: G.c, fontSize: $, fontWeight: C, whiteSpace: "nowrap", cursor: "pointer" }, children: G.label }, G.label))
5883
+ I.filters.map((J) => /* @__PURE__ */ i("button", { style: { padding: "7px 14px", borderRadius: 999, border: "1px solid " + J.brd, background: J.bg, color: J.c, fontSize: $, fontWeight: C, whiteSpace: "nowrap", cursor: "pointer" }, children: J.label }, J.label))
5879
5884
  ] }),
5880
- /* @__PURE__ */ p("div", { ref: d, style: { display: "grid", gridTemplateColumns: Hr, padding: `0 ${s}px`, borderBottom: B.rowBorder, background: B.headBg }, children: [
5881
- ["Order ID", "Customer", "Status", "Amount", "Date"].map((G) => /* @__PURE__ */ i("div", { style: q(), children: G }, G)),
5882
- /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${B.rowPy} 0` } })
5885
+ /* @__PURE__ */ p("div", { ref: d, style: { display: "grid", gridTemplateColumns: Hr, padding: `0 ${s}px`, borderBottom: I.rowBorder, background: I.headBg }, children: [
5886
+ ["Order ID", "Customer", "Status", "Amount", "Date"].map((J) => /* @__PURE__ */ i("div", { style: K(), children: J }, J)),
5887
+ /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${I.rowPy} 0` } })
5883
5888
  ] }),
5884
- /* @__PURE__ */ p("div", { ref: O, style: { position: "relative", display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
5889
+ /* @__PURE__ */ p("div", { ref: B, style: { position: "relative", display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
5885
5890
  /* @__PURE__ */ p("div", { style: { position: "absolute", inset: 0, padding: `0 ${s}px`, display: "grid", gridTemplateColumns: Hr, pointerEvents: "none", zIndex: 2 }, children: [
5886
- /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5887
- /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5888
- /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5889
- /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5890
- /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5891
+ /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5892
+ /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5893
+ /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5894
+ /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5895
+ /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5891
5896
  /* @__PURE__ */ i("div", {})
5892
5897
  ] }),
5893
- _.map((G) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Hr, padding: `0 ${s}px`, borderBottom: B.rowBorder, alignItems: "stretch", background: G.rowBg }, children: [
5894
- /* @__PURE__ */ i("div", { style: { ...U, fontSize: v, fontWeight: C, color: W, fontFamily: Q }, children: G.id }),
5895
- /* @__PURE__ */ i("div", { style: { ...U, fontSize: b, color: t.textPrimary, fontWeight: C }, children: G.cust }),
5896
- /* @__PURE__ */ i("div", { style: U, children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: $, fontWeight: C, background: G.sb, color: G.sc, whiteSpace: "nowrap" }, children: G.status }) }),
5897
- /* @__PURE__ */ i("div", { style: { ...U, fontSize: b, color: t.textPrimary, fontWeight: C }, children: G.amt }),
5898
- /* @__PURE__ */ i("div", { style: { ...U, fontSize: v, color: t.textSecondary }, children: G.date }),
5899
- /* @__PURE__ */ i("div", { style: U, children: /* @__PURE__ */ i("button", { style: { fontSize: $, color: W, background: t.pContainer, border: "none", fontWeight: C, padding: "5px 11px", borderRadius: o, cursor: "pointer" }, children: "View" }) })
5900
- ] }, G.id))
5898
+ L.map((J) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Hr, padding: `0 ${s}px`, borderBottom: I.rowBorder, alignItems: "stretch", background: J.rowBg }, children: [
5899
+ /* @__PURE__ */ i("div", { style: { ...U, fontSize: v, fontWeight: C, color: z, fontFamily: Q }, children: J.id }),
5900
+ /* @__PURE__ */ i("div", { style: { ...U, fontSize: b, color: t.textPrimary, fontWeight: C }, children: J.cust }),
5901
+ /* @__PURE__ */ i("div", { style: U, children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: $, fontWeight: C, background: J.sb, color: J.sc, whiteSpace: "nowrap" }, children: J.status }) }),
5902
+ /* @__PURE__ */ i("div", { style: { ...U, fontSize: b, color: t.textPrimary, fontWeight: C }, children: J.amt }),
5903
+ /* @__PURE__ */ i("div", { style: { ...U, fontSize: v, color: t.textSecondary }, children: J.date }),
5904
+ /* @__PURE__ */ i("div", { style: U, children: /* @__PURE__ */ i("button", { style: { fontSize: $, color: z, background: t.pContainer, border: "none", fontWeight: C, padding: "5px 11px", borderRadius: o, cursor: "pointer" }, children: "View" }) })
5905
+ ] }, J.id))
5901
5906
  ] }),
5902
5907
  /* @__PURE__ */ p("div", { style: { padding: `${c}px ${s}px`, display: "flex", alignItems: "center", gap: 7, borderTop: "1px solid " + t.divider }, children: [
5903
5908
  /* @__PURE__ */ p("span", { style: { fontSize: v, color: t.textSecondary, flex: 1 }, children: [
5904
5909
  "Showing 1–",
5905
- _.length,
5910
+ L.length,
5906
5911
  " of 1,284"
5907
5912
  ] }),
5908
5913
  /* @__PURE__ */ i("button", { style: { width: 32, height: 32, borderRadius: o, border: "1px solid " + t.outline, background: "transparent", color: t.textSecondary, cursor: "pointer" }, children: "‹" }),
@@ -5932,67 +5937,67 @@ function Pl() {
5932
5937
  tBodySm: b,
5933
5938
  tCaption: v,
5934
5939
  wH1: $,
5935
- headFam: I,
5940
+ headFam: H,
5936
5941
  headLH: C,
5937
- accentBg: w,
5938
- btnText: H,
5939
- btnShadow: W,
5940
- bwEmph: B,
5942
+ accentBg: k,
5943
+ btnText: R,
5944
+ btnShadow: z,
5945
+ bwEmph: I,
5941
5946
  btnCase: X,
5942
5947
  bodyWeightEff: Q,
5943
5948
  bodyLH: Y,
5944
5949
  pMain: d,
5945
- errSoft: O,
5950
+ errSoft: B,
5946
5951
  errTxt: A,
5947
- warnSoft: _,
5948
- warnTxt: L,
5949
- infoSoft: q,
5952
+ warnSoft: L,
5953
+ warnTxt: N,
5954
+ infoSoft: K,
5950
5955
  infoTxt: U,
5951
- sucSoft: G,
5956
+ sucSoft: J,
5952
5957
  sucTxt: P
5953
- } = e, M = I + ",sans-serif", J = r.fontFamily + ",sans-serif", V = e.t.highlight, N = e.t.highlightSoft, F = e.t.highlightBd, k = t.pContainer, D = t.onPContainer, E = t.pContrast, R = e.hc1 || t.textPrimary, K = e.hc2 || t.textPrimary, le = e.hc3 || t.textPrimary, z = e.hc4 || t.textPrimary, me = e.hc5 || t.textPrimary, Ne = e.hc6 || t.textPrimary, je = e.cardBorder === "none" ? "none" : e.cardBorder, Xe = { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", height: "100%" }, Qe = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, Ae = { fontSize: m, lineHeight: C, fontWeight: $, color: le, fontFamily: M }, ur = [
5954
- { label: "Dashboard Overview", size: g, w: $, color: R, lh: 1.1, ls: "-.5px", name: "H1", border: !0 },
5955
- { label: "Revenue Report", size: f, w: $, color: K, lh: 1.1, ls: "-.4px", name: "H2", border: !0 },
5956
- { label: "Performance Overview", size: m, w: $, color: le, lh: 1.15, name: "H3", border: !0 },
5957
- { label: "Active Users", size: y, w: $, color: z, lh: 1.2, name: "H4", border: !0 },
5958
+ } = e, D = H + ",sans-serif", q = r.fontFamily + ",sans-serif", V = e.t.highlight, G = e.t.highlightSoft, M = e.t.highlightBd, w = t.pContainer, O = t.onPContainer, F = t.pContrast, E = e.hc1 || t.textPrimary, W = e.hc2 || t.textPrimary, te = e.hc3 || t.textPrimary, _ = e.hc4 || t.textPrimary, me = e.hc5 || t.textPrimary, Ne = e.hc6 || t.textPrimary, je = e.cardBorder === "none" ? "none" : e.cardBorder, Xe = { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", height: "100%" }, Qe = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, Ie = { fontSize: m, lineHeight: C, fontWeight: $, color: te, fontFamily: D }, ur = [
5959
+ { label: "Dashboard Overview", size: g, w: $, color: E, lh: 1.1, ls: "-.5px", name: "H1", border: !0 },
5960
+ { label: "Revenue Report", size: f, w: $, color: W, lh: 1.1, ls: "-.4px", name: "H2", border: !0 },
5961
+ { label: "Performance Overview", size: m, w: $, color: te, lh: 1.15, name: "H3", border: !0 },
5962
+ { label: "Active Users", size: y, w: $, color: _, lh: 1.2, name: "H4", border: !0 },
5958
5963
  { label: "Last updated 2m ago", size: h, w: $, color: me, lh: 1.25, name: "H5", border: !0 },
5959
5964
  { label: "Status · Live", size: x, w: $, color: Ne, lh: 1.3, name: "H6", border: !0 }
5960
- ], Ve = (ee) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 10, padding: "11px 12px", borderBottom: "1px solid " + t.divider, background: ee ? N : "transparent", boxShadow: ee ? "inset 3px 0 0 " + V : "none" }, children: [
5965
+ ], Ve = (ee) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 10, padding: "11px 12px", borderBottom: "1px solid " + t.divider, background: ee ? G : "transparent", boxShadow: ee ? "inset 3px 0 0 " + V : "none" }, children: [
5961
5966
  /* @__PURE__ */ i("div", { style: { width: 16, height: 16, borderRadius: "50%", border: "2px solid " + (ee ? V : t.outline), display: "grid", placeItems: "center", flexShrink: 0 }, children: ee && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: V } }) }),
5962
- /* @__PURE__ */ i("span", { style: { flex: 1, fontSize: b, fontFamily: J, fontWeight: ee ? B : Q, color: t.textPrimary }, children: ee ? "Selected item" : "Unselected item" }),
5963
- ee && /* @__PURE__ */ i("span", { style: { fontSize: v, fontFamily: J, fontWeight: B, color: t.textSecondary }, children: "Active" })
5964
- ] }), At = (ee, vt, St) => /* @__PURE__ */ p("div", { style: { position: "relative", border: ee ? "2px solid " + d : "1.5px solid " + t.outline, borderRadius: o, padding: "12px 13px" }, children: [
5965
- /* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 10, background: t.paper, padding: "0 5px", fontSize: v, color: ee ? d : t.textSecondary, fontWeight: ee ? B : void 0 }, children: vt }),
5967
+ /* @__PURE__ */ i("span", { style: { flex: 1, fontSize: b, fontFamily: q, fontWeight: ee ? I : Q, color: t.textPrimary }, children: ee ? "Selected item" : "Unselected item" }),
5968
+ ee && /* @__PURE__ */ i("span", { style: { fontSize: v, fontFamily: q, fontWeight: I, color: t.textSecondary }, children: "Active" })
5969
+ ] }), It = (ee, vt, St) => /* @__PURE__ */ p("div", { style: { position: "relative", border: ee ? "2px solid " + d : "1.5px solid " + t.outline, borderRadius: o, padding: "12px 13px" }, children: [
5970
+ /* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 10, background: t.paper, padding: "0 5px", fontSize: v, color: ee ? d : t.textSecondary, fontWeight: ee ? I : void 0 }, children: vt }),
5966
5971
  /* @__PURE__ */ i("span", { style: { fontSize: u, color: ee ? t.textPrimary : t.textSecondary }, children: St })
5967
- ] }), Ze = (ee, vt, St) => /* @__PURE__ */ i("span", { style: { padding: "5px 13px", borderRadius: 999, background: ee, color: vt, fontSize: v, fontWeight: B }, children: St }), Ue = (ee) => ({ padding: "9px 20px", borderRadius: o, fontSize: b, fontWeight: B, textTransform: X, letterSpacing: ".4px", cursor: "pointer", ...ee });
5968
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: J, fontWeight: Q, color: t.textPrimary }, children: [
5972
+ ] }), Ze = (ee, vt, St) => /* @__PURE__ */ i("span", { style: { padding: "5px 13px", borderRadius: 999, background: ee, color: vt, fontSize: v, fontWeight: I }, children: St }), Ue = (ee) => ({ padding: "9px 20px", borderRadius: o, fontSize: b, fontWeight: I, textTransform: X, letterSpacing: ".4px", cursor: "pointer", ...ee });
5973
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: q, fontWeight: Q, color: t.textPrimary }, children: [
5969
5974
  /* @__PURE__ */ i("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
5970
- /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: C, fontWeight: $, color: R, letterSpacing: "-.3px", fontFamily: M }, children: "Component Library" }),
5971
- /* @__PURE__ */ i("span", { title: "Every Material UI component reflects your live theme", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: B, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
5975
+ /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: C, fontWeight: $, color: E, letterSpacing: "-.3px", fontFamily: D }, children: "Component Library" }),
5976
+ /* @__PURE__ */ i("span", { title: "Every Material UI component reflects your live theme", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: I, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
5972
5977
  ] }) }),
5973
5978
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", gap: l, flex: 1, minHeight: 0 }, children: [
5974
5979
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, alignItems: "stretch" }, children: [
5975
5980
  /* @__PURE__ */ p("div", { style: Xe, children: [
5976
- /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ae, children: "Typography Scale" }) }),
5981
+ /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ie, children: "Typography Scale" }) }),
5977
5982
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", flexDirection: "column", justifyContent: "space-between", flex: 1, minHeight: 0, gap: 6 }, children: [
5978
5983
  ur.map((ee) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12, borderBottom: "1px solid " + t.divider, paddingBottom: 14 }, children: [
5979
- /* @__PURE__ */ i("span", { style: { fontSize: ee.size, lineHeight: ee.lh, fontWeight: ee.w, color: ee.color, fontFamily: M, letterSpacing: ee.ls }, children: ee.label }),
5980
- /* @__PURE__ */ p("span", { style: { fontSize: ee.size, color: t.textSecondary, fontWeight: ee.w, whiteSpace: "nowrap", flexShrink: 0, fontFamily: M }, children: [
5984
+ /* @__PURE__ */ i("span", { style: { fontSize: ee.size, lineHeight: ee.lh, fontWeight: ee.w, color: ee.color, fontFamily: D, letterSpacing: ee.ls }, children: ee.label }),
5985
+ /* @__PURE__ */ p("span", { style: { fontSize: ee.size, color: t.textSecondary, fontWeight: ee.w, whiteSpace: "nowrap", flexShrink: 0, fontFamily: D }, children: [
5981
5986
  ee.name,
5982
5987
  " · ",
5983
5988
  ee.size
5984
5989
  ] })
5985
5990
  ] }, ee.name)),
5986
5991
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12 }, children: [
5987
- /* @__PURE__ */ i("span", { style: { fontSize: u, lineHeight: Y, color: t.textPrimary, fontFamily: J, fontWeight: Q }, children: "Body text — the quick brown fox jumps over the lazy dog." }),
5988
- /* @__PURE__ */ p("span", { style: { fontSize: u, color: t.textSecondary, fontWeight: Q, whiteSpace: "nowrap", flexShrink: 0, fontFamily: J }, children: [
5992
+ /* @__PURE__ */ i("span", { style: { fontSize: u, lineHeight: Y, color: t.textPrimary, fontFamily: q, fontWeight: Q }, children: "Body text — the quick brown fox jumps over the lazy dog." }),
5993
+ /* @__PURE__ */ p("span", { style: { fontSize: u, color: t.textSecondary, fontWeight: Q, whiteSpace: "nowrap", flexShrink: 0, fontFamily: q }, children: [
5989
5994
  "Body · ",
5990
5995
  u
5991
5996
  ] })
5992
5997
  ] }),
5993
5998
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12 }, children: [
5994
- /* @__PURE__ */ i("span", { style: { fontSize: v, lineHeight: Y, color: t.textSecondary, fontFamily: J, fontWeight: Q }, children: "Caption & helper text style" }),
5995
- /* @__PURE__ */ p("span", { style: { fontSize: v, color: t.textSecondary, fontWeight: Q, whiteSpace: "nowrap", flexShrink: 0, fontFamily: J }, children: [
5999
+ /* @__PURE__ */ i("span", { style: { fontSize: v, lineHeight: Y, color: t.textSecondary, fontFamily: q, fontWeight: Q }, children: "Caption & helper text style" }),
6000
+ /* @__PURE__ */ p("span", { style: { fontSize: v, color: t.textSecondary, fontWeight: Q, whiteSpace: "nowrap", flexShrink: 0, fontFamily: q }, children: [
5996
6001
  "Caption · ",
5997
6002
  v
5998
6003
  ] })
@@ -6000,12 +6005,12 @@ function Pl() {
6000
6005
  ] })
6001
6006
  ] }),
6002
6007
  /* @__PURE__ */ p("div", { style: Xe, children: [
6003
- /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ae, children: "Selection States" }) }),
6008
+ /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ie, children: "Selection States" }) }),
6004
6009
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", flexDirection: "column", gap: 14 }, children: [
6005
6010
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 2, borderBottom: "1.5px solid " + t.divider }, children: [
6006
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textPrimary, background: N, borderBottom: "2.5px solid " + d, marginBottom: -1.5, borderRadius: "6px 6px 0 0" }, children: "Overview" }),
6007
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textSecondary }, children: "Activity" }),
6008
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textSecondary }, children: "Settings" })
6011
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textPrimary, background: G, borderBottom: "2.5px solid " + d, marginBottom: -1.5, borderRadius: "6px 6px 0 0" }, children: "Overview" }),
6012
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textSecondary }, children: "Activity" }),
6013
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textSecondary }, children: "Settings" })
6009
6014
  ] }),
6010
6015
  /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", border: "1px solid " + t.divider, borderRadius: o, overflow: "hidden" }, children: [
6011
6016
  Ve(!0),
@@ -6015,20 +6020,20 @@ function Pl() {
6015
6020
  Ve(!0),
6016
6021
  Ve(!1)
6017
6022
  ] }),
6018
- /* @__PURE__ */ i("div", { style: { display: "inline-flex", alignSelf: "flex-start", padding: "6px 12px", borderRadius: o, background: N, border: "1px solid " + F }, children: /* @__PURE__ */ i("span", { style: { fontSize: v, fontWeight: B, color: V }, children: "2 selected items" }) })
6023
+ /* @__PURE__ */ i("div", { style: { display: "inline-flex", alignSelf: "flex-start", padding: "6px 12px", borderRadius: o, background: G, border: "1px solid " + M }, children: /* @__PURE__ */ i("span", { style: { fontSize: v, fontWeight: I, color: V }, children: "2 selected items" }) })
6019
6024
  ] })
6020
6025
  ] })
6021
6026
  ] }),
6022
6027
  /* @__PURE__ */ p("div", { style: { ...Xe, height: "auto" }, children: [
6023
- /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ae, children: "Inputs & Selection" }) }),
6028
+ /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ie, children: "Inputs & Selection" }) }),
6024
6029
  /* @__PURE__ */ p("div", { style: { padding: s }, children: [
6025
6030
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, marginBottom: l }, children: [
6026
- At(!1, "Outlined", "Placeholder…"),
6027
- At(!0, "Focused", "Active value")
6031
+ It(!1, "Outlined", "Placeholder…"),
6032
+ It(!0, "Focused", "Active value")
6028
6033
  ] }),
6029
6034
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 22, alignItems: "center", flexWrap: "wrap", paddingTop: a, borderTop: "1px solid " + t.divider }, children: [
6030
6035
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6031
- /* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background: d, display: "grid", placeItems: "center", color: E, fontSize: 11, fontWeight: B }, children: "✓" }),
6036
+ /* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background: d, display: "grid", placeItems: "center", color: F, fontSize: 11, fontWeight: I }, children: "✓" }),
6032
6037
  /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary }, children: "Checkbox" })
6033
6038
  ] }),
6034
6039
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -6044,29 +6049,29 @@ function Pl() {
6044
6049
  ] }),
6045
6050
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, alignItems: "stretch" }, children: [
6046
6051
  /* @__PURE__ */ p("div", { style: Xe, children: [
6047
- /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ae, children: "Buttons" }) }),
6052
+ /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ie, children: "Buttons" }) }),
6048
6053
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", gap: 10, flexWrap: "wrap", alignItems: "center" }, children: [
6049
- /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: w, color: H, boxShadow: W }), children: "Contained" }),
6054
+ /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: k, color: R, boxShadow: z }), children: "Contained" }),
6050
6055
  /* @__PURE__ */ i("button", { style: Ue({ border: "1.5px solid " + d, background: "transparent", color: d }), children: "Outlined" }),
6051
6056
  /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: "transparent", color: d }), children: "Text" }),
6052
- /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: k, color: D }), children: "Tonal" }),
6053
- /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: w, color: H, boxShadow: W, borderRadius: 999 }), children: "Rounded" }),
6054
- /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: O, color: A }), children: "Error" })
6057
+ /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: w, color: O }), children: "Tonal" }),
6058
+ /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: k, color: R, boxShadow: z, borderRadius: 999 }), children: "Rounded" }),
6059
+ /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: B, color: A }), children: "Error" })
6055
6060
  ] })
6056
6061
  ] }),
6057
6062
  /* @__PURE__ */ p("div", { style: Xe, children: [
6058
- /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ae, children: "Chips, Alerts & Progress" }) }),
6063
+ /* @__PURE__ */ i("div", { style: Qe, children: /* @__PURE__ */ i("span", { style: Ie, children: "Chips, Alerts & Progress" }) }),
6059
6064
  /* @__PURE__ */ p("div", { style: { padding: s }, children: [
6060
6065
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 8, flexWrap: "wrap", marginBottom: l }, children: [
6061
- Ze(k, D, "Primary"),
6062
- Ze(G, P, "Success"),
6063
- Ze(_, L, "Warning"),
6064
- Ze(q, U, "Info"),
6065
- Ze(O, A, "Error")
6066
+ Ze(w, O, "Primary"),
6067
+ Ze(J, P, "Success"),
6068
+ Ze(L, N, "Warning"),
6069
+ Ze(K, U, "Info"),
6070
+ Ze(B, A, "Error")
6066
6071
  ] }),
6067
6072
  /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 7 }, children: [
6068
- /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary, fontWeight: B }, children: "Revenue goal" }),
6069
- /* @__PURE__ */ i("span", { style: { fontSize: b, color: d, fontWeight: B }, children: "74%" })
6073
+ /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary, fontWeight: I }, children: "Revenue goal" }),
6074
+ /* @__PURE__ */ i("span", { style: { fontSize: b, color: d, fontWeight: I }, children: "74%" })
6070
6075
  ] }),
6071
6076
  /* @__PURE__ */ i("div", { style: { height: 8, background: t.paper2, border: "1px solid " + t.divider, borderRadius: 999, overflow: "hidden" }, children: /* @__PURE__ */ i("div", { style: { height: "100%", width: "74%", background: d, borderRadius: 999 } }) })
6072
6077
  ] })
@@ -6080,14 +6085,14 @@ const $l = [
6080
6085
  { label: "Recording", val: "4" },
6081
6086
  { label: "Motion Alerts", val: "2" },
6082
6087
  { label: "Storage Used", val: "82%" }
6083
- ], Il = [
6088
+ ], Al = [
6084
6089
  { name: "CAM 01", loc: "Main Lobby", rec: !0, online: !0, time: "14:32:08" },
6085
6090
  { name: "CAM 02", loc: "North Gate", rec: !0, online: !0, time: "14:32:08" },
6086
6091
  { name: "CAM 03", loc: "Loading Bay", rec: !1, online: !0, time: "14:32:07" },
6087
6092
  { name: "CAM 04", loc: "Rooftop", rec: !0, online: !0, time: "14:32:08" },
6088
6093
  { name: "CAM 05", loc: "Parking Deck", rec: !1, online: !1, time: "—" },
6089
6094
  { name: "CAM 06", loc: "Server Room", rec: !0, online: !0, time: "14:32:08" }
6090
- ], Al = [
6095
+ ], Il = [
6091
6096
  { cam: "CAM 04", label: "Motion detected — Rooftop", time: "just now", sev: "error" },
6092
6097
  { cam: "CAM 02", label: "Person identified — North Gate", time: "6m ago", sev: "info" },
6093
6098
  { cam: "CAM 01", label: "Loitering cleared — Main Lobby", time: "22m ago", sev: "success" },
@@ -6106,58 +6111,58 @@ const $l = [
6106
6111
  { cam: "CAM 03", label: "Package scanned — Loading Bay", time: "8h ago", sev: "info" }
6107
6112
  ];
6108
6113
  function Bl() {
6109
- const e = we(), r = j((E) => E.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBodySm: $, tCaption: I, tOverline: C, bwEmph: w, btnCase: H, bodyWeightEff: W, errSoft: B, errTxt: X, mediaBg: Q, overlaySurface: Y, overlayBorder: d, onOverlay: O, sevMap: A } = e, _ = h + ",sans-serif", L = r.fontFamily + ",sans-serif", q = e.hc1 || t.textPrimary, U = e.hc2 || t.textPrimary, G = e.hc3 || t.textPrimary, P = e.cardBorder === "none" ? "none" : e.cardBorder, M = Il.map((E) => ({ ...E, dotC: E.online ? r.successHex : t.textDisabled })), [J, V] = Ur(3, 3, 16), N = Al.slice(0, V).map((E) => ({ ...E, ...A[E.sev] })), F = { background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, k = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, D = { fontSize: m, lineHeight: x, fontWeight: y, color: G, fontFamily: _ };
6110
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: L, fontWeight: W, color: t.textPrimary }, children: [
6114
+ const e = we(), r = j((F) => F.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBodySm: $, tCaption: H, tOverline: C, bwEmph: k, btnCase: R, bodyWeightEff: z, errSoft: I, errTxt: X, mediaBg: Q, overlaySurface: Y, overlayBorder: d, onOverlay: B, sevMap: A } = e, L = h + ",sans-serif", N = r.fontFamily + ",sans-serif", K = e.hc1 || t.textPrimary, U = e.hc2 || t.textPrimary, J = e.hc3 || t.textPrimary, P = e.cardBorder === "none" ? "none" : e.cardBorder, D = Al.map((F) => ({ ...F, dotC: F.online ? r.successHex : t.textDisabled })), [q, V] = Ur(3, 3, 16), G = Il.slice(0, V).map((F) => ({ ...F, ...A[F.sev] })), M = { background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, w = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, O = { fontSize: m, lineHeight: x, fontWeight: y, color: J, fontFamily: L };
6115
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: N, fontWeight: z, color: t.textPrimary }, children: [
6111
6116
  /* @__PURE__ */ p("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
6112
6117
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6113
- /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: x, fontWeight: y, color: q, letterSpacing: "-.3px", fontFamily: _ }, children: "Camera Surveillance" }),
6114
- /* @__PURE__ */ i("span", { title: "6 feeds · live monitoring & recording", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: w, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6118
+ /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: x, fontWeight: y, color: K, letterSpacing: "-.3px", fontFamily: L }, children: "Camera Surveillance" }),
6119
+ /* @__PURE__ */ i("span", { title: "6 feeds · live monitoring & recording", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: k, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6115
6120
  ] }),
6116
6121
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6117
- /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: I, fontWeight: w, color: X, background: B, padding: "6px 12px", borderRadius: 999 }, children: [
6122
+ /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: H, fontWeight: k, color: X, background: I, padding: "6px 12px", borderRadius: 999 }, children: [
6118
6123
  /* @__PURE__ */ i("span", { style: { width: 7, height: 7, borderRadius: "50%", background: r.errorHex } }),
6119
6124
  "LIVE"
6120
6125
  ] }),
6121
- /* @__PURE__ */ i("button", { style: { padding: "10px 18px", borderRadius: o, border: "none", background: u, color: b, fontSize: $, fontWeight: w, textTransform: H, letterSpacing: ".4px", boxShadow: v, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ Add Camera" })
6126
+ /* @__PURE__ */ i("button", { style: { padding: "10px 18px", borderRadius: o, border: "none", background: u, color: b, fontSize: $, fontWeight: k, textTransform: R, letterSpacing: ".4px", boxShadow: v, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ Add Camera" })
6122
6127
  ] })
6123
6128
  ] }),
6124
6129
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6125
- /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: $l.map((E) => /* @__PURE__ */ p("div", { style: F, children: [
6126
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: w }, children: E.label }) }),
6127
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: y, color: U, letterSpacing: "-.8px", lineHeight: 1 }, children: E.val }) })
6128
- ] }, E.label)) }),
6130
+ /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: $l.map((F) => /* @__PURE__ */ p("div", { style: M, children: [
6131
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: k }, children: F.label }) }),
6132
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: y, color: U, letterSpacing: "-.8px", lineHeight: 1 }, children: F.val }) })
6133
+ ] }, F.label)) }),
6129
6134
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 300px", gap: l, flex: 1, minHeight: 0 }, children: [
6130
- /* @__PURE__ */ p("div", { style: { ...F, display: "flex", flexDirection: "column" }, children: [
6131
- /* @__PURE__ */ p("div", { style: k, children: [
6132
- /* @__PURE__ */ i("span", { style: D, children: "Camera Wall" }),
6133
- /* @__PURE__ */ i("span", { style: { fontSize: I, color: t.textSecondary, fontWeight: w }, children: "2 × 3 grid" })
6135
+ /* @__PURE__ */ p("div", { style: { ...M, display: "flex", flexDirection: "column" }, children: [
6136
+ /* @__PURE__ */ p("div", { style: w, children: [
6137
+ /* @__PURE__ */ i("span", { style: O, children: "Camera Wall" }),
6138
+ /* @__PURE__ */ i("span", { style: { fontSize: H, color: t.textSecondary, fontWeight: k }, children: "2 × 3 grid" })
6134
6139
  ] }),
6135
- /* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gridAutoRows: "1fr", gap: l }, children: M.map((E) => /* @__PURE__ */ p("div", { style: { position: "relative", borderRadius: o, overflow: "hidden", background: Q, minHeight: 104, border: "1px solid " + t.divider }, children: [
6136
- /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, display: "grid", placeItems: "center" }, children: /* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: I, color: "rgba(255,255,255,.3)", letterSpacing: 1 }, children: E.loc }) }),
6140
+ /* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gridAutoRows: "1fr", gap: l }, children: D.map((F) => /* @__PURE__ */ p("div", { style: { position: "relative", borderRadius: o, overflow: "hidden", background: Q, minHeight: 104, border: "1px solid " + t.divider }, children: [
6141
+ /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, display: "grid", placeItems: "center" }, children: /* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: H, color: "rgba(255,255,255,.3)", letterSpacing: 1 }, children: F.loc }) }),
6137
6142
  /* @__PURE__ */ p("div", { style: { position: "absolute", top: 7, left: 7, display: "flex", alignItems: "center", gap: 5, background: Y, border: "1px solid " + d, borderRadius: 999, padding: "2px 8px" }, children: [
6138
- /* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: E.dotC } }),
6139
- /* @__PURE__ */ i("span", { style: { color: O, fontSize: I, fontWeight: 700, letterSpacing: ".4px" }, children: E.name })
6143
+ /* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: F.dotC } }),
6144
+ /* @__PURE__ */ i("span", { style: { color: B, fontSize: H, fontWeight: 700, letterSpacing: ".4px" }, children: F.name })
6140
6145
  ] }),
6141
- E.rec && /* @__PURE__ */ p("div", { style: { position: "absolute", top: 7, right: 7, display: "flex", alignItems: "center", gap: 4, background: Y, borderRadius: 999, padding: "2px 7px" }, children: [
6146
+ F.rec && /* @__PURE__ */ p("div", { style: { position: "absolute", top: 7, right: 7, display: "flex", alignItems: "center", gap: 4, background: Y, borderRadius: 999, padding: "2px 7px" }, children: [
6142
6147
  /* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: r.errorHex } }),
6143
- /* @__PURE__ */ i("span", { style: { color: O, fontSize: 8, fontWeight: 800, letterSpacing: ".5px" }, children: "REC" })
6148
+ /* @__PURE__ */ i("span", { style: { color: B, fontSize: 8, fontWeight: 800, letterSpacing: ".5px" }, children: "REC" })
6144
6149
  ] }),
6145
- E.online && /* @__PURE__ */ i("div", { style: { position: "absolute", bottom: 0, left: 0, right: 0, padding: "5px 8px", background: "linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,0))", display: "flex", justifyContent: "space-between", alignItems: "center" }, children: /* @__PURE__ */ i("span", { style: { color: "#fff", fontSize: I, fontWeight: 600, fontFamily: "monospace" }, children: E.time }) })
6146
- ] }, E.name)) })
6150
+ F.online && /* @__PURE__ */ i("div", { style: { position: "absolute", bottom: 0, left: 0, right: 0, padding: "5px 8px", background: "linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,0))", display: "flex", justifyContent: "space-between", alignItems: "center" }, children: /* @__PURE__ */ i("span", { style: { color: "#fff", fontSize: H, fontWeight: 600, fontFamily: "monospace" }, children: F.time }) })
6151
+ ] }, F.name)) })
6147
6152
  ] }),
6148
- /* @__PURE__ */ p("div", { style: { ...F, display: "flex", flexDirection: "column" }, children: [
6149
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: D, children: "Recent Detections" }) }),
6150
- /* @__PURE__ */ i("div", { ref: J, style: { padding: a, display: "flex", flexDirection: "column", justifyContent: "space-between", gap: 2, flex: 1, minHeight: 0 }, children: N.map((E, R) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: "9px 8px", borderRadius: o }, children: [
6151
- /* @__PURE__ */ i("div", { style: { width: 28, height: 28, borderRadius: o, background: E.cb, color: E.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 11, fontWeight: 800, fontFamily: "monospace" }, children: "●" }),
6153
+ /* @__PURE__ */ p("div", { style: { ...M, display: "flex", flexDirection: "column" }, children: [
6154
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: O, children: "Recent Detections" }) }),
6155
+ /* @__PURE__ */ i("div", { ref: q, style: { padding: a, display: "flex", flexDirection: "column", justifyContent: "space-between", gap: 2, flex: 1, minHeight: 0 }, children: G.map((F, E) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: "9px 8px", borderRadius: o }, children: [
6156
+ /* @__PURE__ */ i("div", { style: { width: 28, height: 28, borderRadius: o, background: F.cb, color: F.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 11, fontWeight: 800, fontFamily: "monospace" }, children: "●" }),
6152
6157
  /* @__PURE__ */ p("div", { style: { flex: 1, minWidth: 0 }, children: [
6153
- /* @__PURE__ */ i("div", { style: { fontSize: $, color: t.textPrimary, fontWeight: W, lineHeight: 1.35 }, children: E.label }),
6154
- /* @__PURE__ */ p("div", { style: { fontSize: I, color: t.textSecondary, marginTop: 2 }, children: [
6155
- E.cam,
6158
+ /* @__PURE__ */ i("div", { style: { fontSize: $, color: t.textPrimary, fontWeight: z, lineHeight: 1.35 }, children: F.label }),
6159
+ /* @__PURE__ */ p("div", { style: { fontSize: H, color: t.textSecondary, marginTop: 2 }, children: [
6160
+ F.cam,
6156
6161
  " · ",
6157
- E.time
6162
+ F.time
6158
6163
  ] })
6159
6164
  ] })
6160
- ] }, R)) })
6165
+ ] }, E)) })
6161
6166
  ] })
6162
6167
  ] })
6163
6168
  ] })
@@ -6182,49 +6187,49 @@ const Ol = [
6182
6187
  { ic: "!", label: "Disk latency elevated — NVR-02", time: "18h ago", sev: "warning", unread: !1 }
6183
6188
  ];
6184
6189
  function Dl() {
6185
- const e = we(), r = j((D) => D.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tTitle: f, wH1: m, headFam: y, headLH: h, accentBg: x, btnText: u, tBodySm: b, tCaption: v, tOverline: $, bwEmph: I, bodyWeightEff: C, bodyLH: w, errSoft: H, errTxt: W, pMain: B, mediaBg: X, overlaySurface: Q, overlayBorder: Y, onOverlay: d, sevMap: O } = e, A = y + ",sans-serif", _ = r.fontFamily + ",sans-serif", L = e.hc1 || t.textPrimary, q = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [G, P] = Ur(7, 4, 16), M = Ol.slice(0, P).map((D) => ({ ...D, ...O[D.sev], rowBg: D.unread ? pe(r.primaryHex, e.isDark ? 0.12 : 0.05) : "transparent" })), J = M.filter((D) => D.unread).length, V = { display: "flex", flexDirection: "column", minHeight: 0, background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, N = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, F = { fontSize: f, lineHeight: h, fontWeight: m, color: q, fontFamily: A }, k = { height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: v, fontWeight: I, cursor: "pointer", fontFamily: "inherit" };
6186
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: _, fontWeight: C, color: t.textPrimary }, children: [
6190
+ const e = we(), r = j((O) => O.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tTitle: f, wH1: m, headFam: y, headLH: h, accentBg: x, btnText: u, tBodySm: b, tCaption: v, tOverline: $, bwEmph: H, bodyWeightEff: C, bodyLH: k, errSoft: R, errTxt: z, pMain: I, mediaBg: X, overlaySurface: Q, overlayBorder: Y, onOverlay: d, sevMap: B } = e, A = y + ",sans-serif", L = r.fontFamily + ",sans-serif", N = e.hc1 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P] = Ur(7, 4, 16), D = Ol.slice(0, P).map((O) => ({ ...O, ...B[O.sev], rowBg: O.unread ? pe(r.primaryHex, e.isDark ? 0.12 : 0.05) : "transparent" })), q = D.filter((O) => O.unread).length, V = { display: "flex", flexDirection: "column", minHeight: 0, background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, G = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, M = { fontSize: f, lineHeight: h, fontWeight: m, color: K, fontFamily: A }, w = { height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: v, fontWeight: H, cursor: "pointer", fontFamily: "inherit" };
6191
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: L, fontWeight: C, color: t.textPrimary }, children: [
6187
6192
  /* @__PURE__ */ i("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6188
- /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: h, fontWeight: m, color: L, letterSpacing: "-.3px", fontFamily: A }, children: "Operations Center" }),
6189
- /* @__PURE__ */ i("span", { title: "Live map, camera feeds, alerts & access — every module themed end to end", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: I, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6193
+ /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: h, fontWeight: m, color: N, letterSpacing: "-.3px", fontFamily: A }, children: "Operations Center" }),
6194
+ /* @__PURE__ */ i("span", { title: "Live map, camera feeds, alerts & access — every module themed end to end", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: H, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6190
6195
  ] }) }),
6191
6196
  /* @__PURE__ */ i("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 320px", gap: l, flex: 1, minHeight: 0 }, children: [
6192
6197
  /* @__PURE__ */ p("div", { style: V, children: [
6193
- /* @__PURE__ */ p("div", { style: N, children: [
6194
- /* @__PURE__ */ i("span", { style: F, children: "Live Map · Street View" }),
6195
- /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: v, fontWeight: I, color: W, background: H, padding: "3px 10px", borderRadius: 999 }, children: [
6198
+ /* @__PURE__ */ p("div", { style: G, children: [
6199
+ /* @__PURE__ */ i("span", { style: M, children: "Live Map · Street View" }),
6200
+ /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: v, fontWeight: H, color: z, background: R, padding: "3px 10px", borderRadius: 999 }, children: [
6196
6201
  /* @__PURE__ */ i("span", { style: { width: 7, height: 7, borderRadius: "50%", background: r.errorHex } }),
6197
6202
  "LIVE"
6198
6203
  ] })
6199
6204
  ] }),
6200
6205
  /* @__PURE__ */ p("div", { style: { position: "relative", flex: 1, minHeight: 320, background: X, display: "flex", alignItems: "center", justifyContent: "center" }, children: [
6201
6206
  /* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: v, color: "rgba(255,255,255,.42)", letterSpacing: 1.5 }, children: "◍ GOOGLE STREET VIEW / EARTH EMBED" }),
6202
- /* @__PURE__ */ i("div", { style: { position: "absolute", top: 12, left: 12, display: "flex", alignItems: "center", gap: 7, background: Q, border: "1px solid " + Y, borderRadius: 999, padding: "6px 12px" }, children: /* @__PURE__ */ i("span", { style: { color: d, fontSize: v, fontWeight: I }, children: "◎ 40.7128, -74.0060 · Manhattan" }) }),
6207
+ /* @__PURE__ */ i("div", { style: { position: "absolute", top: 12, left: 12, display: "flex", alignItems: "center", gap: 7, background: Q, border: "1px solid " + Y, borderRadius: 999, padding: "6px 12px" }, children: /* @__PURE__ */ i("span", { style: { color: d, fontSize: v, fontWeight: H }, children: "◎ 40.7128, -74.0060 · Manhattan" }) }),
6203
6208
  /* @__PURE__ */ p("div", { style: { position: "absolute", bottom: 12, left: "50%", transform: "translateX(-50%)", display: "flex", alignItems: "center", gap: 4, background: Q, border: "1px solid " + Y, borderRadius: o, padding: 5 }, children: [
6204
- /* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: x, color: u, fontSize: 16, fontWeight: I, cursor: "pointer" }, children: "+" }),
6205
- /* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: 16, fontWeight: I, cursor: "pointer" }, children: "−" }),
6209
+ /* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: x, color: u, fontSize: 16, fontWeight: H, cursor: "pointer" }, children: "+" }),
6210
+ /* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: 16, fontWeight: H, cursor: "pointer" }, children: "−" }),
6206
6211
  /* @__PURE__ */ i("div", { style: { width: 1, height: 18, background: Y, margin: "0 3px" } }),
6207
- /* @__PURE__ */ i("button", { style: { ...k, padding: "0 12px" }, children: "Layers" }),
6208
- /* @__PURE__ */ i("button", { style: { ...k, padding: "0 12px" }, children: "◎ Locate" })
6212
+ /* @__PURE__ */ i("button", { style: { ...w, padding: "0 12px" }, children: "Layers" }),
6213
+ /* @__PURE__ */ i("button", { style: { ...w, padding: "0 12px" }, children: "◎ Locate" })
6209
6214
  ] })
6210
6215
  ] })
6211
6216
  ] }),
6212
6217
  /* @__PURE__ */ p("div", { style: V, children: [
6213
- /* @__PURE__ */ p("div", { style: N, children: [
6214
- /* @__PURE__ */ i("span", { style: F, children: "Notifications" }),
6215
- /* @__PURE__ */ p("span", { style: { fontSize: $, fontWeight: I, color: t.pContrast, background: B, padding: "2px 9px", borderRadius: 999 }, children: [
6216
- J,
6218
+ /* @__PURE__ */ p("div", { style: G, children: [
6219
+ /* @__PURE__ */ i("span", { style: M, children: "Notifications" }),
6220
+ /* @__PURE__ */ p("span", { style: { fontSize: $, fontWeight: H, color: t.pContrast, background: I, padding: "2px 9px", borderRadius: 999 }, children: [
6221
+ q,
6217
6222
  " NEW"
6218
6223
  ] })
6219
6224
  ] }),
6220
- /* @__PURE__ */ i("div", { ref: G, style: { padding: a, display: "flex", flexDirection: "column", gap: 2, flex: 1, minHeight: 0 }, children: M.map((D, E) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: "9px 8px", borderRadius: o, background: D.rowBg }, children: [
6221
- /* @__PURE__ */ i("div", { style: { width: 26, height: 26, borderRadius: o, background: D.cb, color: D.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 13, fontWeight: I }, children: D.ic }),
6225
+ /* @__PURE__ */ i("div", { ref: J, style: { padding: a, display: "flex", flexDirection: "column", gap: 2, flex: 1, minHeight: 0 }, children: D.map((O, F) => /* @__PURE__ */ p("div", { style: { display: "flex", gap: 11, alignItems: "flex-start", padding: "9px 8px", borderRadius: o, background: O.rowBg }, children: [
6226
+ /* @__PURE__ */ i("div", { style: { width: 26, height: 26, borderRadius: o, background: O.cb, color: O.cc, display: "grid", placeItems: "center", flexShrink: 0, fontSize: 13, fontWeight: H }, children: O.ic }),
6222
6227
  /* @__PURE__ */ p("div", { style: { flex: 1, minWidth: 0 }, children: [
6223
- /* @__PURE__ */ i("div", { style: { fontSize: b, color: t.textPrimary, fontWeight: C, lineHeight: w }, children: D.label }),
6224
- /* @__PURE__ */ i("div", { style: { fontSize: v, color: t.textSecondary, marginTop: 2 }, children: D.time })
6228
+ /* @__PURE__ */ i("div", { style: { fontSize: b, color: t.textPrimary, fontWeight: C, lineHeight: k }, children: O.label }),
6229
+ /* @__PURE__ */ i("div", { style: { fontSize: v, color: t.textSecondary, marginTop: 2 }, children: O.time })
6225
6230
  ] }),
6226
- D.unread && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: B, flexShrink: 0, marginTop: 6 } })
6227
- ] }, E)) })
6231
+ O.unread && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: I, flexShrink: 0, marginTop: 6 } })
6232
+ ] }, F)) })
6228
6233
  ] })
6229
6234
  ] }) })
6230
6235
  ] });
@@ -6234,7 +6239,7 @@ const Ml = [
6234
6239
  { label: "Avg Generation", val: "1.2s" },
6235
6240
  { label: "Data Points", val: "84.2K" },
6236
6241
  { label: "Scheduled", val: "12" }
6237
- ], Wl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], Fl = [44, 60, 50, 74, 88, 96], zl = [24, 32, 30, 42, 52, 60], _l = [
6242
+ ], Fl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], Wl = [44, 60, 50, 74, 88, 96], zl = [24, 32, 30, 42, 52, 60], _l = [
6238
6243
  { l: "Reports", h: 72 },
6239
6244
  { l: "Cameras", h: 92 },
6240
6245
  { l: "Alerts", h: 40 },
@@ -6257,54 +6262,66 @@ const Ml = [
6257
6262
  { name: "Device Firmware Ledger", type: "Operations", date: "Jun 06", status: "Ready" },
6258
6263
  { name: "Access Anomaly Report", type: "Security", date: "Jun 05", status: "Ready" },
6259
6264
  { name: "Cost Allocation Summary", type: "Financial", date: "Jun 04", status: "Ready" }
6260
- ], Fn = "1fr 130px 110px 90px 70px";
6265
+ ], Wn = "1fr 130px 110px 90px 70px";
6261
6266
  function Nl() {
6262
- const e = we(), r = j((E) => E.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, rowPy: g, tH1: f, tH2: m, tTitle: y, wH1: h, headFam: x, headLH: u, accentBg: b, btnText: v, btnShadow: $, tBody: I, tBodySm: C, tCaption: w, tOverline: H, bwEmph: W, btnCase: B, bodyWeightEff: X, pMain: Q, sMain: Y, chartPalette: d } = e, O = x + ",sans-serif", A = r.fontFamily + ",sans-serif", _ = e.hc1 || t.textPrimary, L = e.hc2 || t.textPrimary, q = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [G, P, M] = po(5, 3, 16), J = Ll.slice(0, M).map((E) => ({ ...E, sb: E.status === "Ready" ? e.sucSoft : e.warnSoft, sc: E.status === "Ready" ? e.sucTxt : e.warnTxt })), V = _l.map((E, R) => ({ ...E, c: d[R % d.length] })), N = { background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, F = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, k = { fontSize: y, lineHeight: u, fontWeight: h, color: q, fontFamily: O }, D = { fontSize: H, fontWeight: W, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".5px" };
6263
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: A, fontWeight: X, color: t.textPrimary }, children: [
6267
+ const e = we(), r = j((W) => W.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBody: $, tBodySm: H, tCaption: C, tOverline: k, bwEmph: R, btnCase: z, bodyWeightEff: I, pMain: X, sMain: Q, chartPalette: Y, table: d } = e, B = h + ",sans-serif", A = r.fontFamily + ",sans-serif", L = e.hc1 || t.textPrimary, N = e.hc2 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P, D] = po(5, 3, 16), q = Ll.slice(0, D).map((W, te) => ({
6268
+ ...W,
6269
+ sb: W.status === "Ready" ? e.sucSoft : e.warnSoft,
6270
+ sc: W.status === "Ready" ? e.sucTxt : e.warnTxt,
6271
+ rowBg: r.tableStripe && te % 2 === 1 ? d.stripeBg : "transparent"
6272
+ })), V = _l.map((W, te) => ({ ...W, c: Y[te % Y.length] })), G = {
6273
+ borderRight: d.colBorder,
6274
+ alignSelf: "stretch",
6275
+ display: "flex",
6276
+ alignItems: d.cellAI,
6277
+ justifyContent: d.cellJC,
6278
+ padding: `${d.rowPy} ${d.cellPx}`
6279
+ }, M = { alignSelf: "stretch", display: "flex", alignItems: d.cellAI, justifyContent: d.cellJC, padding: `${d.rowPy} ${d.cellPx}` }, w = { background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, O = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, F = { fontSize: m, lineHeight: x, fontWeight: y, color: K, fontFamily: B }, E = { fontSize: k, fontWeight: R, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".5px" };
6280
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: A, fontWeight: I, color: t.textPrimary }, children: [
6264
6281
  /* @__PURE__ */ p("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
6265
6282
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6266
- /* @__PURE__ */ i("div", { style: { fontSize: f, lineHeight: u, fontWeight: h, color: _, letterSpacing: "-.3px", fontFamily: O }, children: "Reports" }),
6267
- /* @__PURE__ */ i("span", { title: "Generated insights across every module", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: W, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6283
+ /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: x, fontWeight: y, color: L, letterSpacing: "-.3px", fontFamily: B }, children: "Reports" }),
6284
+ /* @__PURE__ */ i("span", { title: "Generated insights across every module", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: R, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6268
6285
  ] }),
6269
- /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: b, color: v, fontSize: C, fontWeight: W, textTransform: B, letterSpacing: ".4px", boxShadow: $, whiteSpace: "nowrap", cursor: "pointer" }, children: "↓ Export PDF" })
6286
+ /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: u, color: b, fontSize: H, fontWeight: R, textTransform: z, letterSpacing: ".4px", boxShadow: v, whiteSpace: "nowrap", cursor: "pointer" }, children: "↓ Export PDF" })
6270
6287
  ] }),
6271
6288
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6272
- /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: Ml.map((E) => /* @__PURE__ */ p("div", { style: N, children: [
6273
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: H, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: W }, children: E.label }) }),
6274
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: m, fontWeight: h, color: L, letterSpacing: "-.8px", lineHeight: 1 }, children: E.val }) })
6275
- ] }, E.label)) }),
6289
+ /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: Ml.map((W) => /* @__PURE__ */ p("div", { style: w, children: [
6290
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: k, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: R }, children: W.label }) }),
6291
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: y, color: N, letterSpacing: "-.8px", lineHeight: 1 }, children: W.val }) })
6292
+ ] }, W.label)) }),
6276
6293
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 300px", gap: l, marginBottom: l }, children: [
6277
- /* @__PURE__ */ p("div", { style: N, children: [
6278
- /* @__PURE__ */ p("div", { style: F, children: [
6279
- /* @__PURE__ */ i("span", { style: k, children: "Revenue & Profit Trend" }),
6280
- /* @__PURE__ */ i("span", { style: { fontSize: w, color: t.textSecondary, fontWeight: W }, children: "6 months" })
6294
+ /* @__PURE__ */ p("div", { style: w, children: [
6295
+ /* @__PURE__ */ p("div", { style: O, children: [
6296
+ /* @__PURE__ */ i("span", { style: F, children: "Revenue & Profit Trend" }),
6297
+ /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary, fontWeight: R }, children: "6 months" })
6281
6298
  ] }),
6282
- /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 12, height: 160 }, children: Wl.map((E, R) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
6299
+ /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 12, height: 160 }, children: Fl.map((W, te) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
6283
6300
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: 3, flex: 1 }, children: [
6284
- /* @__PURE__ */ i("div", { style: { width: "100%", height: zl[R] + "%", background: Y, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
6285
- /* @__PURE__ */ i("div", { style: { width: "100%", height: Fl[R] + "%", background: Q, borderRadius: `${o} ${o} 0 0` } })
6301
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: zl[te] + "%", background: Q, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
6302
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Wl[te] + "%", background: X, borderRadius: `${o} ${o} 0 0` } })
6286
6303
  ] }),
6287
- /* @__PURE__ */ i("span", { style: { fontSize: w, color: t.textSecondary }, children: E })
6288
- ] }, E)) })
6304
+ /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary }, children: W })
6305
+ ] }, W)) })
6289
6306
  ] }),
6290
- /* @__PURE__ */ p("div", { style: N, children: [
6291
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: k, children: "By Module" }) }),
6292
- /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 10, height: 128 }, children: V.map((E) => /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "flex-end", height: "100%" }, children: /* @__PURE__ */ i("div", { style: { width: "100%", height: E.h + "%", background: E.c, borderRadius: `${o} ${o} 0 0` } }) }, E.l)) })
6307
+ /* @__PURE__ */ p("div", { style: w, children: [
6308
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: F, children: "By Module" }) }),
6309
+ /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 10, height: 128 }, children: V.map((W) => /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "flex-end", height: "100%" }, children: /* @__PURE__ */ i("div", { style: { width: "100%", height: W.h + "%", background: W.c, borderRadius: `${o} ${o} 0 0` } }) }, W.l)) })
6293
6310
  ] })
6294
6311
  ] }),
6295
- /* @__PURE__ */ p("div", { style: { ...N, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6296
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: k, children: "Recent Reports" }) }),
6297
- /* @__PURE__ */ p("div", { ref: G, style: { display: "grid", gridTemplateColumns: Fn, padding: `${g}px ${s}px`, borderBottom: "1px solid " + t.divider, background: t.paper2 }, children: [
6298
- ["Report", "Type", "Status", "Date"].map((E) => /* @__PURE__ */ i("div", { style: D, children: E }, E)),
6299
- /* @__PURE__ */ i("div", {})
6312
+ /* @__PURE__ */ p("div", { style: { ...w, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6313
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: F, children: "Recent Reports" }) }),
6314
+ /* @__PURE__ */ p("div", { ref: J, style: { display: "grid", gridTemplateColumns: Wn, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: d.headBg }, children: [
6315
+ ["Report", "Type", "Status", "Date"].map((W) => /* @__PURE__ */ i("div", { style: { ...E, ...G }, children: W }, W)),
6316
+ /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${d.rowPy} 0` } })
6300
6317
  ] }),
6301
- /* @__PURE__ */ i("div", { ref: P, style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: J.map((E) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Fn, padding: `${g}px ${s}px`, borderBottom: "1px solid " + t.divider, alignItems: "center" }, children: [
6302
- /* @__PURE__ */ i("div", { style: { fontSize: I, color: t.textPrimary, fontWeight: W }, children: E.name }),
6303
- /* @__PURE__ */ i("div", { style: { fontSize: C, color: t.textSecondary }, children: E.type }),
6304
- /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: w, fontWeight: W, background: E.sb, color: E.sc, whiteSpace: "nowrap" }, children: E.status }) }),
6305
- /* @__PURE__ */ i("div", { style: { fontSize: C, color: t.textSecondary }, children: E.date }),
6306
- /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("button", { style: { fontSize: w, color: Q, background: t.pContainer, border: "none", fontWeight: W, padding: "5px 11px", borderRadius: o, cursor: "pointer" }, children: "↓ PDF" }) })
6307
- ] }, E.name)) })
6318
+ /* @__PURE__ */ i("div", { ref: P, style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: q.map((W) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Wn, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: W.rowBg }, children: [
6319
+ /* @__PURE__ */ i("div", { style: { ...M, fontSize: $, color: t.textPrimary, fontWeight: R }, children: W.name }),
6320
+ /* @__PURE__ */ i("div", { style: { ...M, fontSize: H, color: t.textSecondary }, children: W.type }),
6321
+ /* @__PURE__ */ i("div", { style: M, children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: C, fontWeight: R, background: W.sb, color: W.sc, whiteSpace: "nowrap" }, children: W.status }) }),
6322
+ /* @__PURE__ */ i("div", { style: { ...M, fontSize: H, color: t.textSecondary }, children: W.date }),
6323
+ /* @__PURE__ */ i("div", { style: M, children: /* @__PURE__ */ i("button", { style: { fontSize: C, color: X, background: t.pContainer, border: "none", fontWeight: R, padding: "5px 11px", borderRadius: o, cursor: "pointer" }, children: "↓ PDF" }) })
6324
+ ] }, W.name)) })
6308
6325
  ] })
6309
6326
  ] })
6310
6327
  ] });
@@ -6315,7 +6332,7 @@ const zn = ({ size: e }) => /* @__PURE__ */ p("svg", { width: e, height: e, view
6315
6332
  /* @__PURE__ */ i("path", { d: "m21 15-5-5L5 21" })
6316
6333
  ] });
6317
6334
  function jl() {
6318
- const e = we(), r = j((L) => L.settings), {
6335
+ const e = we(), r = j((N) => N.settings), {
6319
6336
  t,
6320
6337
  rad: n,
6321
6338
  radSm: o,
@@ -6333,13 +6350,13 @@ function jl() {
6333
6350
  pMain: b,
6334
6351
  iconInitials: v,
6335
6352
  hasLoginImage: $,
6336
- loginCenteredGrad: I,
6353
+ loginCenteredGrad: H,
6337
6354
  loginScrimGradC: C
6338
- } = e, w = r.fontFamily + ",sans-serif", H = e.hc1 || t.textPrimary, W = t.pContrast, B = e.cardBorder === "none" ? "none" : e.cardBorder, X = r.logoMode === "image" && !!r.logoUrl, Q = e.isDark ? t.paper2 : "#ffffff", Y = r.loginPanelColor || t.bgDefault, d = r.loginImgOpacity > 0 ? r.loginImgOpacity : 1, O = $ ? /* @__PURE__ */ i("img", { src: r.loginImage, alt: "", style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", zIndex: 0, opacity: d } }) : null, A = { background: t.paper, border: B, borderRadius: n, boxShadow: e.cardShadow, padding: s, display: "flex", flexDirection: "column", gap: 20 }, _ = (L) => ({ position: "relative", background: t.paper2, border: "1.5px solid " + (L ? b : t.outline), borderRadius: o });
6339
- return r.loginLayout === "centered" ? /* @__PURE__ */ p("div", { style: { minHeight: 560, background: I, display: "flex", alignItems: "center", justifyContent: "center", padding: 40, position: "relative", overflow: "hidden", fontFamily: w, borderRadius: n }, children: [
6340
- O,
6355
+ } = e, k = r.fontFamily + ",sans-serif", R = e.hc1 || t.textPrimary, z = t.pContrast, I = e.cardBorder === "none" ? "none" : e.cardBorder, X = r.logoMode === "image" && !!r.logoUrl, Q = e.isDark ? t.paper2 : "#ffffff", Y = r.loginPanelColor || t.bgDefault, d = r.loginImgOpacity > 0 ? r.loginImgOpacity : 1, B = $ ? /* @__PURE__ */ i("img", { src: r.loginImage, alt: "", style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", zIndex: 0, opacity: d } }) : null, A = { background: t.paper, border: I, borderRadius: n, boxShadow: e.cardShadow, padding: s, display: "flex", flexDirection: "column", gap: 20 }, L = (N) => ({ position: "relative", background: t.paper2, border: "1.5px solid " + (N ? b : t.outline), borderRadius: o });
6356
+ return r.loginLayout === "centered" ? /* @__PURE__ */ p("div", { style: { minHeight: 560, background: H, display: "flex", alignItems: "center", justifyContent: "center", padding: 40, position: "relative", overflow: "hidden", fontFamily: k, borderRadius: n }, children: [
6357
+ B,
6341
6358
  $ && /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, background: C, zIndex: 0 } }),
6342
- /* @__PURE__ */ p("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: 380, background: t.paper, border: B, borderRadius: n, boxShadow: "0 24px 60px rgba(0,0,0,.35)", padding: s, display: "flex", flexDirection: "column", gap: 20, alignItems: "center" }, children: [
6359
+ /* @__PURE__ */ p("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: 380, background: t.paper, border: I, borderRadius: n, boxShadow: "0 24px 60px rgba(0,0,0,.35)", padding: s, display: "flex", flexDirection: "column", gap: 20, alignItems: "center" }, children: [
6343
6360
  /* @__PURE__ */ i("div", { style: { width: 72, height: 72, borderRadius: 20, background: r.iconColor, display: "grid", placeItems: "center", boxShadow: "0 6px 18px " + r.iconColor + "55" }, children: /* @__PURE__ */ i("span", { style: { color: "#fff", fontSize: 24, fontWeight: u, letterSpacing: "-1px" }, children: v }) }),
6344
6361
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", gap: 14 }, children: [
6345
6362
  /* @__PURE__ */ p("div", { style: { position: "relative", border: "1.5px solid " + t.outline, borderRadius: o, padding: "13px 14px" }, children: [
@@ -6353,9 +6370,9 @@ function jl() {
6353
6370
  /* @__PURE__ */ i("button", { style: { padding: 13, borderRadius: o, border: "none", background: y, color: h, fontSize: l, fontWeight: u, textTransform: "uppercase", letterSpacing: ".5px", boxShadow: x, cursor: "pointer" }, children: "Sign in" })
6354
6371
  ] })
6355
6372
  ] })
6356
- ] }) : /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "3fr 1fr", minHeight: 560, fontFamily: w, borderRadius: n, overflow: "hidden" }, children: [
6373
+ ] }) : /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "3fr 1fr", minHeight: 560, fontFamily: k, borderRadius: n, overflow: "hidden" }, children: [
6357
6374
  /* @__PURE__ */ p("div", { style: { background: Q, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "48px 40px", gap: 22, position: "relative", overflow: "hidden" }, children: [
6358
- O,
6375
+ B,
6359
6376
  !$ && /* @__PURE__ */ p("div", { style: { position: "absolute", inset: 0, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 12, color: t.textSecondary, border: "1.5px dashed " + t.outline, padding: 24, boxSizing: "border-box" }, children: [
6360
6377
  /* @__PURE__ */ i(zn, { size: 46 }),
6361
6378
  /* @__PURE__ */ i("div", { style: { fontSize: 14, fontWeight: u, color: t.textPrimary }, children: "No brand image" }),
@@ -6369,20 +6386,20 @@ function jl() {
6369
6386
  ] }),
6370
6387
  /* @__PURE__ */ p("div", { style: { width: "100%", maxWidth: 340, ...A }, children: [
6371
6388
  /* @__PURE__ */ p("div", { style: { textAlign: "center" }, children: [
6372
- /* @__PURE__ */ i("div", { style: { fontSize: a, lineHeight: m, fontWeight: f, color: H, letterSpacing: "-.4px", marginBottom: 5 }, children: "Welcome back" }),
6389
+ /* @__PURE__ */ i("div", { style: { fontSize: a, lineHeight: m, fontWeight: f, color: R, letterSpacing: "-.4px", marginBottom: 5 }, children: "Welcome back" }),
6373
6390
  /* @__PURE__ */ i("div", { style: { fontSize: c, color: t.textSecondary }, children: "Sign in to continue" })
6374
6391
  ] }),
6375
6392
  /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", gap: 16 }, children: [
6376
6393
  /* @__PURE__ */ p("div", { children: [
6377
6394
  /* @__PURE__ */ i("div", { style: { fontSize: g, fontWeight: u, color: t.textPrimary, marginBottom: 7 }, children: "Email Address" }),
6378
- /* @__PURE__ */ p("div", { style: { ..._(!1), padding: "12px 14px 12px 40px" }, children: [
6395
+ /* @__PURE__ */ p("div", { style: { ...L(!1), padding: "12px 14px 12px 40px" }, children: [
6379
6396
  /* @__PURE__ */ i("span", { style: { position: "absolute", left: 13, top: "50%", transform: "translateY(-50%)", color: t.textSecondary, fontSize: 14 }, children: "✉" }),
6380
6397
  /* @__PURE__ */ i("span", { style: { fontSize: l, color: t.textPrimary }, children: "admin@company.com" })
6381
6398
  ] })
6382
6399
  ] }),
6383
6400
  /* @__PURE__ */ p("div", { children: [
6384
6401
  /* @__PURE__ */ i("div", { style: { fontSize: g, fontWeight: u, color: t.textPrimary, marginBottom: 7 }, children: "Password" }),
6385
- /* @__PURE__ */ p("div", { style: { ..._(!0), padding: "12px 40px 12px 40px" }, children: [
6402
+ /* @__PURE__ */ p("div", { style: { ...L(!0), padding: "12px 40px 12px 40px" }, children: [
6386
6403
  /* @__PURE__ */ i("span", { style: { position: "absolute", left: 13, top: "50%", transform: "translateY(-50%)", color: t.textSecondary, fontSize: 14 }, children: "🔒" }),
6387
6404
  /* @__PURE__ */ i("span", { style: { fontSize: l, color: t.textPrimary, letterSpacing: 3 }, children: "••••••••" }),
6388
6405
  /* @__PURE__ */ i("span", { style: { position: "absolute", right: 13, top: "50%", transform: "translateY(-50%)", color: t.textSecondary, fontSize: 14 }, children: "👁" })
@@ -6390,7 +6407,7 @@ function jl() {
6390
6407
  ] }),
6391
6408
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
6392
6409
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6393
- /* @__PURE__ */ i("div", { style: { width: 17, height: 17, borderRadius: 4, background: b, display: "grid", placeItems: "center", color: W, fontSize: 11, fontWeight: u }, children: "✓" }),
6410
+ /* @__PURE__ */ i("div", { style: { width: 17, height: 17, borderRadius: 4, background: b, display: "grid", placeItems: "center", color: z, fontSize: 11, fontWeight: u }, children: "✓" }),
6394
6411
  /* @__PURE__ */ i("span", { style: { fontSize: c, color: t.textPrimary }, children: "Remember me" })
6395
6412
  ] }),
6396
6413
  /* @__PURE__ */ i("span", { style: { fontSize: c, color: b, fontWeight: u }, children: "Forgot password?" })
@@ -6431,21 +6448,21 @@ function Gl() {
6431
6448
  const m = s.current, y = a.current;
6432
6449
  if (!m || !y) return;
6433
6450
  const h = () => {
6434
- const $ = getComputedStyle(m), I = (parseFloat($.paddingTop) || 0) + (parseFloat($.paddingBottom) || 0);
6451
+ const $ = getComputedStyle(m), H = (parseFloat($.paddingTop) || 0) + (parseFloat($.paddingBottom) || 0);
6435
6452
  if (n !== "fit") {
6436
6453
  const d = n / 100;
6437
6454
  y.style.zoom = String(d);
6438
- const O = m.clientHeight - I;
6439
- y.style.minHeight = (O > 0 ? Math.floor(O / d) : 0) + "px", c(n);
6455
+ const B = m.clientHeight - H;
6456
+ y.style.minHeight = (B > 0 ? Math.floor(B / d) : 0) + "px", c(n);
6440
6457
  return;
6441
6458
  }
6442
6459
  y.style.zoom = "1", y.style.minHeight = "0px", y.offsetHeight;
6443
- const C = (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0), w = m.clientWidth - C, H = m.clientHeight - I, W = y.scrollWidth, B = y.scrollHeight;
6444
- if (W <= 0 || B <= 0 || w <= 0 || H <= 0) return;
6445
- const X = Math.min(w / W, H / B, 1), Q = X < 0.985 ? Math.max(0.36, X) : 1;
6460
+ const C = (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0), k = m.clientWidth - C, R = m.clientHeight - H, z = y.scrollWidth, I = y.scrollHeight;
6461
+ if (z <= 0 || I <= 0 || k <= 0 || R <= 0) return;
6462
+ const X = Math.min(k / z, R / I, 1), Q = X < 0.985 ? Math.max(0.36, X) : 1;
6446
6463
  y.style.zoom = String(Q);
6447
- const Y = Math.min(w / W, 1);
6448
- y.style.minHeight = Math.floor(H / Math.max(Y, 0.36)) + "px", c(Math.round(Q * 100));
6464
+ const Y = Math.min(k / z, 1);
6465
+ y.style.minHeight = Math.floor(R / Math.max(Y, 0.36)) + "px", c(Math.round(Q * 100));
6449
6466
  };
6450
6467
  let x = 0, u = 0;
6451
6468
  const b = () => {
@@ -6508,9 +6525,9 @@ function od() {
6508
6525
  }, [f, m]);
6509
6526
  const h = (b) => {
6510
6527
  b.preventDefault(), y.current = { x: b.clientX, w: t };
6511
- const v = (I) => {
6528
+ const v = (H) => {
6512
6529
  if (!y.current) return;
6513
- const C = Math.max(Yl, Math.min(Jl, y.current.w + (I.clientX - y.current.x)));
6530
+ const C = Math.max(Yl, Math.min(Jl, y.current.w + (H.clientX - y.current.x)));
6514
6531
  n(C);
6515
6532
  }, $ = () => {
6516
6533
  y.current = null, window.removeEventListener("mousemove", v), window.removeEventListener("mouseup", $);