@abdellatifui/react 3.2.109 → 3.2.111

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/nextgen.js CHANGED
@@ -127,8 +127,8 @@ function vp() {
127
127
  }
128
128
  if (F) {
129
129
  F = console;
130
- var H = F.error, L = typeof Symbol == "function" && Symbol.toStringTag && N[Symbol.toStringTag] || N.constructor.name || "Object";
131
- return H.call(
130
+ var W = F.error, L = typeof Symbol == "function" && Symbol.toStringTag && N[Symbol.toStringTag] || N.constructor.name || "Object";
131
+ return W.call(
132
132
  F,
133
133
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
134
134
  L
@@ -161,14 +161,14 @@ function vp() {
161
161
  return N.key !== void 0;
162
162
  }
163
163
  function a(N, F) {
164
- function H() {
164
+ function W() {
165
165
  M || (M = !0, console.error(
166
166
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
167
167
  F
168
168
  ));
169
169
  }
170
- H.isReactWarning = !0, Object.defineProperty(N, "key", {
171
- get: H,
170
+ W.isReactWarning = !0, Object.defineProperty(N, "key", {
171
+ get: W,
172
172
  configurable: !0
173
173
  });
174
174
  }
@@ -178,13 +178,13 @@ function vp() {
178
178
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
179
179
  )), N = this.props.ref, N !== void 0 ? N : null;
180
180
  }
181
- function u(N, F, H, L, te, re) {
182
- var Y = H.ref;
181
+ function u(N, F, W, L, te, re) {
182
+ var Y = W.ref;
183
183
  return N = {
184
184
  $$typeof: g,
185
185
  type: N,
186
186
  key: F,
187
- props: H,
187
+ props: W,
188
188
  _owner: L
189
189
  }, (Y !== void 0 ? Y : null) !== null ? Object.defineProperty(N, "ref", {
190
190
  enumerable: !1,
@@ -211,7 +211,7 @@ function vp() {
211
211
  value: re
212
212
  }), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
213
213
  }
214
- function f(N, F, H, L, te, re) {
214
+ function f(N, F, W, L, te, re) {
215
215
  var Y = F.children;
216
216
  if (Y !== void 0)
217
217
  if (L)
@@ -242,18 +242,18 @@ React keys must be passed directly to JSX without using spread:
242
242
  Y
243
243
  ), z[Y + L] = !0);
244
244
  }
245
- if (Y = null, H !== void 0 && (t(H), Y = "" + H), i(F) && (t(F.key), Y = "" + F.key), "key" in F) {
246
- H = {};
245
+ if (Y = null, W !== void 0 && (t(W), Y = "" + W), i(F) && (t(F.key), Y = "" + F.key), "key" in F) {
246
+ W = {};
247
247
  for (var Q in F)
248
- Q !== "key" && (H[Q] = F[Q]);
249
- } else H = F;
248
+ Q !== "key" && (W[Q] = F[Q]);
249
+ } else W = F;
250
250
  return Y && a(
251
- H,
251
+ W,
252
252
  typeof N == "function" ? N.displayName || N.name || "Unknown" : N
253
253
  ), u(
254
254
  N,
255
255
  Y,
256
- H,
256
+ W,
257
257
  o(),
258
258
  te,
259
259
  re
@@ -277,22 +277,22 @@ React keys must be passed directly to JSX without using spread:
277
277
  h,
278
278
  s
279
279
  )(), X = V(r(s)), z = {};
280
- kr.Fragment = x, kr.jsx = function(N, F, H) {
280
+ kr.Fragment = x, kr.jsx = function(N, F, W) {
281
281
  var L = 1e4 > b.recentlyCreatedOwnerStacks++;
282
282
  return f(
283
283
  N,
284
284
  F,
285
- H,
285
+ W,
286
286
  !1,
287
287
  L ? Error("react-stack-top-frame") : _,
288
288
  L ? V(r(N)) : X
289
289
  );
290
- }, kr.jsxs = function(N, F, H) {
290
+ }, kr.jsxs = function(N, F, W) {
291
291
  var L = 1e4 > b.recentlyCreatedOwnerStacks++;
292
292
  return f(
293
293
  N,
294
294
  F,
295
- H,
295
+ W,
296
296
  !0,
297
297
  L ? Error("react-stack-top-frame") : _,
298
298
  L ? V(r(N)) : X
@@ -3231,7 +3231,7 @@ const Ma = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, za = je, C
3231
3231
  repeat: ["", "x", "y", "space", "round"]
3232
3232
  }], N = () => ["auto", "cover", "contain", Wm, Lm, {
3233
3233
  size: [ie, se]
3234
- }], F = () => [Ds, Er, yn], H = () => [
3234
+ }], F = () => [Ds, Er, yn], W = () => [
3235
3235
  // Deprecated since Tailwind CSS v4.0.0
3236
3236
  "",
3237
3237
  "none",
@@ -4284,105 +4284,105 @@ const Ma = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, za = je, C
4284
4284
  * @see https://tailwindcss.com/docs/border-radius
4285
4285
  */
4286
4286
  rounded: [{
4287
- rounded: H()
4287
+ rounded: W()
4288
4288
  }],
4289
4289
  /**
4290
4290
  * Border Radius Start
4291
4291
  * @see https://tailwindcss.com/docs/border-radius
4292
4292
  */
4293
4293
  "rounded-s": [{
4294
- "rounded-s": H()
4294
+ "rounded-s": W()
4295
4295
  }],
4296
4296
  /**
4297
4297
  * Border Radius End
4298
4298
  * @see https://tailwindcss.com/docs/border-radius
4299
4299
  */
4300
4300
  "rounded-e": [{
4301
- "rounded-e": H()
4301
+ "rounded-e": W()
4302
4302
  }],
4303
4303
  /**
4304
4304
  * Border Radius Top
4305
4305
  * @see https://tailwindcss.com/docs/border-radius
4306
4306
  */
4307
4307
  "rounded-t": [{
4308
- "rounded-t": H()
4308
+ "rounded-t": W()
4309
4309
  }],
4310
4310
  /**
4311
4311
  * Border Radius Right
4312
4312
  * @see https://tailwindcss.com/docs/border-radius
4313
4313
  */
4314
4314
  "rounded-r": [{
4315
- "rounded-r": H()
4315
+ "rounded-r": W()
4316
4316
  }],
4317
4317
  /**
4318
4318
  * Border Radius Bottom
4319
4319
  * @see https://tailwindcss.com/docs/border-radius
4320
4320
  */
4321
4321
  "rounded-b": [{
4322
- "rounded-b": H()
4322
+ "rounded-b": W()
4323
4323
  }],
4324
4324
  /**
4325
4325
  * Border Radius Left
4326
4326
  * @see https://tailwindcss.com/docs/border-radius
4327
4327
  */
4328
4328
  "rounded-l": [{
4329
- "rounded-l": H()
4329
+ "rounded-l": W()
4330
4330
  }],
4331
4331
  /**
4332
4332
  * Border Radius Start Start
4333
4333
  * @see https://tailwindcss.com/docs/border-radius
4334
4334
  */
4335
4335
  "rounded-ss": [{
4336
- "rounded-ss": H()
4336
+ "rounded-ss": W()
4337
4337
  }],
4338
4338
  /**
4339
4339
  * Border Radius Start End
4340
4340
  * @see https://tailwindcss.com/docs/border-radius
4341
4341
  */
4342
4342
  "rounded-se": [{
4343
- "rounded-se": H()
4343
+ "rounded-se": W()
4344
4344
  }],
4345
4345
  /**
4346
4346
  * Border Radius End End
4347
4347
  * @see https://tailwindcss.com/docs/border-radius
4348
4348
  */
4349
4349
  "rounded-ee": [{
4350
- "rounded-ee": H()
4350
+ "rounded-ee": W()
4351
4351
  }],
4352
4352
  /**
4353
4353
  * Border Radius End Start
4354
4354
  * @see https://tailwindcss.com/docs/border-radius
4355
4355
  */
4356
4356
  "rounded-es": [{
4357
- "rounded-es": H()
4357
+ "rounded-es": W()
4358
4358
  }],
4359
4359
  /**
4360
4360
  * Border Radius Top Left
4361
4361
  * @see https://tailwindcss.com/docs/border-radius
4362
4362
  */
4363
4363
  "rounded-tl": [{
4364
- "rounded-tl": H()
4364
+ "rounded-tl": W()
4365
4365
  }],
4366
4366
  /**
4367
4367
  * Border Radius Top Right
4368
4368
  * @see https://tailwindcss.com/docs/border-radius
4369
4369
  */
4370
4370
  "rounded-tr": [{
4371
- "rounded-tr": H()
4371
+ "rounded-tr": W()
4372
4372
  }],
4373
4373
  /**
4374
4374
  * Border Radius Bottom Right
4375
4375
  * @see https://tailwindcss.com/docs/border-radius
4376
4376
  */
4377
4377
  "rounded-br": [{
4378
- "rounded-br": H()
4378
+ "rounded-br": W()
4379
4379
  }],
4380
4380
  /**
4381
4381
  * Border Radius Bottom Left
4382
4382
  * @see https://tailwindcss.com/docs/border-radius
4383
4383
  */
4384
4384
  "rounded-bl": [{
4385
- "rounded-bl": H()
4385
+ "rounded-bl": W()
4386
4386
  }],
4387
4387
  /**
4388
4388
  * Border Width
@@ -5944,28 +5944,30 @@ const sh = Ce("flex items-center justify-center z-1 css-iuur1", {
5944
5944
  closeDelay: P = 0,
5945
5945
  animationDuration: V = 0.2,
5946
5946
  applyStackRules: M = !0
5947
- } = e, U = { open: n, ref: w, container: $, children: x, props: e, _children: s, id: r }, _ = oe((H) => {
5948
- console.log("Model Closed Triggered ", U), b({ ...U, event: H }), setTimeout(() => {
5947
+ } = e, U = { open: n, ref: w, container: $, children: x, props: e, _children: s, id: r }, _ = oe((W) => {
5948
+ b({ ...U, event: W }), setTimeout(() => {
5949
5949
  pe(o.current).addClass("opacity-0"), o.current?.addEventListener("transitionend", (L) => {
5950
- pe($?.current).removeClass("overflow-hidden"), t(!1), i(null);
5950
+ pe($?.current).removeClass("overflow-hidden"), t(!1), i(null), W?.callback?.({ ...U, open: !1 });
5951
5951
  });
5952
5952
  }, P);
5953
- }, [n, $, P]), X = oe((H) => {
5954
- R({ ...U, open: !0, event: H }), pe($?.current).addClass("overflow-hidden"), t(!0), setTimeout(() => {
5953
+ }, [n, $, P]), X = oe((W) => {
5954
+ R({ ...U, open: !0, event: W }), pe($?.current).addClass("overflow-hidden"), t(!0), setTimeout(() => {
5955
5955
  pe(o.current).removeClass("opacity-0");
5956
5956
  }, 50);
5957
5957
  }, [n, $, o]);
5958
- q(() => (n && p?.((H) => [...H, U]), n || p?.((H) => H.filter((L) => L.id !== r)), () => {
5959
- p?.((H) => H.filter((L) => L.id !== r));
5958
+ q(() => (n && p?.((W) => [...W, U]), n || p?.((W) => W.filter((L) => L.id !== r)), () => {
5959
+ p?.((W) => W.filter((L) => L.id !== r));
5960
5960
  }), [n]), q(() => {
5961
- const H = f?.findIndex((L) => L.id === r);
5962
- h(H), H > 0 && M && u(!0), H === 0 && M && u(!1), d(f?.length === H + 1);
5961
+ const W = f?.findIndex((L) => L.id === r);
5962
+ h(W), W > 0 && M && u(!0), W === 0 && M && u(!1), d(f?.length === W + 1);
5963
5963
  }, [f]), Tt(
5964
5964
  w,
5965
5965
  () => ({
5966
5966
  current: o.current,
5967
5967
  open: X,
5968
- close: _,
5968
+ close: (W) => {
5969
+ _({ callback: W });
5970
+ },
5969
5971
  props: e,
5970
5972
  isLastItemInArray: g,
5971
5973
  applyStackRules: M,
@@ -5997,14 +5999,14 @@ const sh = Ce("flex items-center justify-center z-1 css-iuur1", {
5997
5999
  "model-overlay-abui custom-click-away flex justify-center items-center opacity-0 transition-all duration-(--animate-period) ease-in-out",
5998
6000
  $?.current && "absolute!",
5999
6001
  C,
6000
- n && "z-500 opacity-100",
6002
+ n && "z-500",
6001
6003
  l && "bg-transparent"
6002
6004
  ),
6003
6005
  children: /* @__PURE__ */ c.jsx(
6004
6006
  hf,
6005
6007
  {
6006
- onClickAway: (H) => {
6007
- console.log("Click Away Event ", H), O({ event: H, open: n, applyStackRules: M, isLastItemInArray: g, ref: w, container: $, children: x, props: e, _children: s, id: r }), S && M && g && _();
6008
+ onClickAway: (W) => {
6009
+ O({ event: W, open: n, applyStackRules: M, isLastItemInArray: g, ref: w, container: $, children: x, props: e, _children: s, id: r }), S && _(W);
6008
6010
  },
6009
6011
  children: s || x
6010
6012
  }
@@ -6013,8 +6015,8 @@ const sh = Ce("flex items-center justify-center z-1 css-iuur1", {
6013
6015
  ) })
6014
6016
  }
6015
6017
  ), [s, x, n, z, l, S, M, g]);
6016
- function F(H) {
6017
- T && (H.preventDefault(), t(!1));
6018
+ function F(W) {
6019
+ T && (W.preventDefault(), t(!1));
6018
6020
  }
6019
6021
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
6020
6022
  z && n && Bo(N, $?.current || $),
@@ -6188,7 +6190,7 @@ function uh() {
6188
6190
  function F(ee) {
6189
6191
  return k(ee) === i;
6190
6192
  }
6191
- function H(ee) {
6193
+ function W(ee) {
6192
6194
  return typeof ee == "object" && ee !== null && ee.$$typeof === n;
6193
6195
  }
6194
6196
  function L(ee) {
@@ -6215,7 +6217,7 @@ function uh() {
6215
6217
  function ce(ee) {
6216
6218
  return k(ee) === p;
6217
6219
  }
6218
- xe.AsyncMode = v, xe.ConcurrentMode = T, xe.ContextConsumer = A, xe.ContextProvider = E, xe.Element = $, xe.ForwardRef = D, xe.Fragment = R, xe.Lazy = b, xe.Memo = O, xe.Portal = P, xe.Profiler = V, xe.StrictMode = M, xe.Suspense = U, xe.isAsyncMode = X, xe.isConcurrentMode = z, xe.isContextConsumer = N, xe.isContextProvider = F, xe.isElement = H, xe.isForwardRef = L, xe.isFragment = te, xe.isLazy = re, xe.isMemo = Y, xe.isPortal = G, xe.isProfiler = Q, xe.isStrictMode = J, xe.isSuspense = ce, xe.isValidElementType = C, xe.typeOf = k;
6220
+ xe.AsyncMode = v, xe.ConcurrentMode = T, xe.ContextConsumer = A, xe.ContextProvider = E, xe.Element = $, xe.ForwardRef = D, xe.Fragment = R, xe.Lazy = b, xe.Memo = O, xe.Portal = P, xe.Profiler = V, xe.StrictMode = M, xe.Suspense = U, xe.isAsyncMode = X, xe.isConcurrentMode = z, xe.isContextConsumer = N, xe.isContextProvider = F, xe.isElement = W, xe.isForwardRef = L, xe.isFragment = te, xe.isLazy = re, xe.isMemo = Y, xe.isPortal = G, xe.isProfiler = Q, xe.isStrictMode = J, xe.isSuspense = ce, xe.isValidElementType = C, xe.typeOf = k;
6219
6221
  })()), xe;
6220
6222
  }
6221
6223
  var Ua;
@@ -6383,7 +6385,7 @@ function ph() {
6383
6385
  function x(z) {
6384
6386
  if (process.env.NODE_ENV !== "production")
6385
6387
  var N = {}, F = 0;
6386
- function H(te, re, Y, G, Q, J, ce) {
6388
+ function W(te, re, Y, G, Q, J, ce) {
6387
6389
  if (G = G || m, J = J || Y, ce !== t) {
6388
6390
  if (l) {
6389
6391
  var ee = new Error(
@@ -6400,12 +6402,12 @@ function ph() {
6400
6402
  }
6401
6403
  return re[Y] == null ? te ? re[Y] === null ? new d("The " + Q + " `" + J + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new d("The " + Q + " `" + J + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : z(re, Y, G, Q, J);
6402
6404
  }
6403
- var L = H.bind(null, !1);
6404
- return L.isRequired = H.bind(null, !0), L;
6405
+ var L = W.bind(null, !1);
6406
+ return L.isRequired = W.bind(null, !0), L;
6405
6407
  }
6406
6408
  function S(z) {
6407
- function N(F, H, L, te, re, Y) {
6408
- var G = F[H], Q = M(G);
6409
+ function N(F, W, L, te, re, Y) {
6410
+ var G = F[W], Q = M(G);
6409
6411
  if (Q !== z) {
6410
6412
  var J = U(G);
6411
6413
  return new d(
@@ -6421,10 +6423,10 @@ function ph() {
6421
6423
  return x(i);
6422
6424
  }
6423
6425
  function C(z) {
6424
- function N(F, H, L, te, re) {
6426
+ function N(F, W, L, te, re) {
6425
6427
  if (typeof z != "function")
6426
6428
  return new d("Property `" + re + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
6427
- var Y = F[H];
6429
+ var Y = F[W];
6428
6430
  if (!Array.isArray(Y)) {
6429
6431
  var G = M(Y);
6430
6432
  return new d("Invalid " + te + " `" + re + "` of type " + ("`" + G + "` supplied to `" + L + "`, expected an array."));
@@ -6439,31 +6441,31 @@ function ph() {
6439
6441
  return x(N);
6440
6442
  }
6441
6443
  function k() {
6442
- function z(N, F, H, L, te) {
6444
+ function z(N, F, W, L, te) {
6443
6445
  var re = N[F];
6444
6446
  if (!a(re)) {
6445
6447
  var Y = M(re);
6446
- return new d("Invalid " + L + " `" + te + "` of type " + ("`" + Y + "` supplied to `" + H + "`, expected a single ReactElement."));
6448
+ return new d("Invalid " + L + " `" + te + "` of type " + ("`" + Y + "` supplied to `" + W + "`, expected a single ReactElement."));
6447
6449
  }
6448
6450
  return null;
6449
6451
  }
6450
6452
  return x(z);
6451
6453
  }
6452
6454
  function v() {
6453
- function z(N, F, H, L, te) {
6455
+ function z(N, F, W, L, te) {
6454
6456
  var re = N[F];
6455
6457
  if (!e.isValidElementType(re)) {
6456
6458
  var Y = M(re);
6457
- return new d("Invalid " + L + " `" + te + "` of type " + ("`" + Y + "` supplied to `" + H + "`, expected a single ReactElement type."));
6459
+ return new d("Invalid " + L + " `" + te + "` of type " + ("`" + Y + "` supplied to `" + W + "`, expected a single ReactElement type."));
6458
6460
  }
6459
6461
  return null;
6460
6462
  }
6461
6463
  return x(z);
6462
6464
  }
6463
6465
  function T(z) {
6464
- function N(F, H, L, te, re) {
6465
- if (!(F[H] instanceof z)) {
6466
- var Y = z.name || m, G = X(F[H]);
6466
+ function N(F, W, L, te, re) {
6467
+ if (!(F[W] instanceof z)) {
6468
+ var Y = z.name || m, G = X(F[W]);
6467
6469
  return new d("Invalid " + te + " `" + re + "` of type " + ("`" + G + "` supplied to `" + L + "`, expected ") + ("instance of `" + Y + "`."));
6468
6470
  }
6469
6471
  return null;
@@ -6475,8 +6477,8 @@ function ph() {
6475
6477
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
6476
6478
  "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])."
6477
6479
  ) : s("Invalid argument supplied to oneOf, expected an array.")), i;
6478
- function N(F, H, L, te, re) {
6479
- for (var Y = F[H], G = 0; G < z.length; G++)
6480
+ function N(F, W, L, te, re) {
6481
+ for (var Y = F[W], G = 0; G < z.length; G++)
6480
6482
  if (g(Y, z[G]))
6481
6483
  return null;
6482
6484
  var Q = JSON.stringify(z, function(ce, ee) {
@@ -6488,10 +6490,10 @@ function ph() {
6488
6490
  return x(N);
6489
6491
  }
6490
6492
  function E(z) {
6491
- function N(F, H, L, te, re) {
6493
+ function N(F, W, L, te, re) {
6492
6494
  if (typeof z != "function")
6493
6495
  return new d("Property `" + re + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
6494
- var Y = F[H], G = M(Y);
6496
+ var Y = F[W], G = M(Y);
6495
6497
  if (G !== "object")
6496
6498
  return new d("Invalid " + te + " `" + re + "` of type " + ("`" + G + "` supplied to `" + L + "`, expected an object."));
6497
6499
  for (var Q in Y)
@@ -6514,7 +6516,7 @@ function ph() {
6514
6516
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _(F) + " at index " + N + "."
6515
6517
  ), i;
6516
6518
  }
6517
- function H(L, te, re, Y, G) {
6519
+ function W(L, te, re, Y, G) {
6518
6520
  for (var Q = [], J = 0; J < z.length; J++) {
6519
6521
  var ce = z[J], ee = ce(L, te, re, Y, G, t);
6520
6522
  if (ee == null)
@@ -6524,22 +6526,22 @@ function ph() {
6524
6526
  var Be = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
6525
6527
  return new d("Invalid " + Y + " `" + G + "` supplied to " + ("`" + re + "`" + Be + "."));
6526
6528
  }
6527
- return x(H);
6529
+ return x(W);
6528
6530
  }
6529
6531
  function D() {
6530
- function z(N, F, H, L, te) {
6531
- return P(N[F]) ? null : new d("Invalid " + L + " `" + te + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
6532
+ function z(N, F, W, L, te) {
6533
+ return P(N[F]) ? null : new d("Invalid " + L + " `" + te + "` supplied to " + ("`" + W + "`, expected a ReactNode."));
6532
6534
  }
6533
6535
  return x(z);
6534
6536
  }
6535
- function R(z, N, F, H, L) {
6537
+ function R(z, N, F, W, L) {
6536
6538
  return new d(
6537
- (z || "React class") + ": " + N + " type `" + F + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
6539
+ (z || "React class") + ": " + N + " type `" + F + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
6538
6540
  );
6539
6541
  }
6540
6542
  function b(z) {
6541
- function N(F, H, L, te, re) {
6542
- var Y = F[H], G = M(Y);
6543
+ function N(F, W, L, te, re) {
6544
+ var Y = F[W], G = M(Y);
6543
6545
  if (G !== "object")
6544
6546
  return new d("Invalid " + te + " `" + re + "` of type `" + G + "` " + ("supplied to `" + L + "`, expected `object`."));
6545
6547
  for (var Q in z) {
@@ -6555,18 +6557,18 @@ function ph() {
6555
6557
  return x(N);
6556
6558
  }
6557
6559
  function O(z) {
6558
- function N(F, H, L, te, re) {
6559
- var Y = F[H], G = M(Y);
6560
+ function N(F, W, L, te, re) {
6561
+ var Y = F[W], G = M(Y);
6560
6562
  if (G !== "object")
6561
6563
  return new d("Invalid " + te + " `" + re + "` of type `" + G + "` " + ("supplied to `" + L + "`, expected `object`."));
6562
- var Q = n({}, F[H], z);
6564
+ var Q = n({}, F[W], z);
6563
6565
  for (var J in Q) {
6564
6566
  var ce = z[J];
6565
6567
  if (r(z, J) && typeof ce != "function")
6566
6568
  return R(L, te, re, J, U(ce));
6567
6569
  if (!ce)
6568
6570
  return new d(
6569
- "Invalid " + te + " `" + re + "` key `" + J + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(F[H], null, " ") + `
6571
+ "Invalid " + te + " `" + re + "` key `" + J + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(F[W], null, " ") + `
6570
6572
  Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
6571
6573
  );
6572
6574
  var ee = ce(Y, J, L, te, re + "." + J, t);
@@ -6592,14 +6594,14 @@ Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
6592
6594
  return !0;
6593
6595
  var N = p(z);
6594
6596
  if (N) {
6595
- var F = N.call(z), H;
6597
+ var F = N.call(z), W;
6596
6598
  if (N !== z.entries) {
6597
- for (; !(H = F.next()).done; )
6598
- if (!P(H.value))
6599
+ for (; !(W = F.next()).done; )
6600
+ if (!P(W.value))
6599
6601
  return !1;
6600
6602
  } else
6601
- for (; !(H = F.next()).done; ) {
6602
- var L = H.value;
6603
+ for (; !(W = F.next()).done; ) {
6604
+ var L = W.value;
6603
6605
  if (L && !P(L[1]))
6604
6606
  return !1;
6605
6607
  }
@@ -9152,7 +9154,7 @@ function Oy(e) {
9152
9154
  getCssVar: C,
9153
9155
  spacing: wu(g)
9154
9156
  });
9155
- function H(G, Q) {
9157
+ function W(G, Q) {
9156
9158
  Object.keys(Q).forEach((J) => {
9157
9159
  const ce = {
9158
9160
  main: "500",
@@ -9163,7 +9165,7 @@ function Oy(e) {
9163
9165
  });
9164
9166
  }
9165
9167
  Object.entries(F.colorSchemes).forEach(([G, Q]) => {
9166
- H(G, Q.palette);
9168
+ W(G, Q.palette);
9167
9169
  });
9168
9170
  const L = {
9169
9171
  prefix: m,
@@ -9937,7 +9939,7 @@ const Xy = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
9937
9939
  return Lt();
9938
9940
  }, [Lt]);
9939
9941
  }
9940
- const F = Th(S ?? X?.htmlFor), H = {
9942
+ const F = Th(S ?? X?.htmlFor), W = {
9941
9943
  checked: u,
9942
9944
  defaultChecked: h,
9943
9945
  disabled: z,
@@ -9950,7 +9952,7 @@ const Xy = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
9950
9952
  checked: te,
9951
9953
  disabled: re,
9952
9954
  focusVisible: Y
9953
- } = tg(H), G = te || w, ce = G ? O || "solid" : O || "outlined", ee = n.color || (X != null && X.error ? "danger" : (a = X?.color) != null ? a : b), it = K({}, l, {
9955
+ } = tg(W), G = te || w, ce = G ? O || "solid" : O || "outlined", ee = n.color || (X != null && X.error ? "danger" : (a = X?.color) != null ? a : b), it = K({}, l, {
9954
9956
  checked: te,
9955
9957
  disabled: re,
9956
9958
  disableIcon: d,
@@ -12600,7 +12602,7 @@ function m0(e, n) {
12600
12602
  e[t] || (e[t] = {});
12601
12603
  });
12602
12604
  }
12603
- function W(e, n, t) {
12605
+ function H(e, n, t) {
12604
12606
  !e[n] && t && (e[n] = t);
12605
12607
  }
12606
12608
  function jr(e) {
@@ -12703,7 +12705,7 @@ function y0(e = {}, ...n) {
12703
12705
  const M = V.split("-"), U = M[1], _ = M[2];
12704
12706
  return h(V, b[U][_]);
12705
12707
  };
12706
- b.mode === "light" && (W(b.common, "background", "#fff"), W(b.common, "onBackground", "#000")), b.mode === "dark" && (W(b.common, "background", "#000"), W(b.common, "onBackground", "#fff"));
12708
+ b.mode === "light" && (H(b.common, "background", "#fff"), H(b.common, "onBackground", "#000")), b.mode === "dark" && (H(b.common, "background", "#000"), H(b.common, "onBackground", "#fff"));
12707
12709
  function P(V, M, U) {
12708
12710
  if (k) {
12709
12711
  let _;
@@ -12712,18 +12714,18 @@ function y0(e = {}, ...n) {
12712
12714
  return V(M, U);
12713
12715
  }
12714
12716
  if (m0(b, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), b.mode === "light") {
12715
- W(b.Alert, "errorColor", P(we, b.error.light, 0.6)), W(b.Alert, "infoColor", P(we, b.info.light, 0.6)), W(b.Alert, "successColor", P(we, b.success.light, 0.6)), W(b.Alert, "warningColor", P(we, b.warning.light, 0.6)), W(b.Alert, "errorFilledBg", O("palette-error-main")), W(b.Alert, "infoFilledBg", O("palette-info-main")), W(b.Alert, "successFilledBg", O("palette-success-main")), W(b.Alert, "warningFilledBg", O("palette-warning-main")), W(b.Alert, "errorFilledColor", Mt(() => b.getContrastText(b.error.main))), W(b.Alert, "infoFilledColor", Mt(() => b.getContrastText(b.info.main))), W(b.Alert, "successFilledColor", Mt(() => b.getContrastText(b.success.main))), W(b.Alert, "warningFilledColor", Mt(() => b.getContrastText(b.warning.main))), W(b.Alert, "errorStandardBg", P(Se, b.error.light, 0.9)), W(b.Alert, "infoStandardBg", P(Se, b.info.light, 0.9)), W(b.Alert, "successStandardBg", P(Se, b.success.light, 0.9)), W(b.Alert, "warningStandardBg", P(Se, b.warning.light, 0.9)), W(b.Alert, "errorIconColor", O("palette-error-main")), W(b.Alert, "infoIconColor", O("palette-info-main")), W(b.Alert, "successIconColor", O("palette-success-main")), W(b.Alert, "warningIconColor", O("palette-warning-main")), W(b.AppBar, "defaultBg", O("palette-grey-100")), W(b.Avatar, "defaultBg", O("palette-grey-400")), W(b.Button, "inheritContainedBg", O("palette-grey-300")), W(b.Button, "inheritContainedHoverBg", O("palette-grey-A100")), W(b.Chip, "defaultBorder", O("palette-grey-400")), W(b.Chip, "defaultAvatarColor", O("palette-grey-700")), W(b.Chip, "defaultIconColor", O("palette-grey-700")), W(b.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), W(b.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), W(b.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), W(b.LinearProgress, "primaryBg", P(Se, b.primary.main, 0.62)), W(b.LinearProgress, "secondaryBg", P(Se, b.secondary.main, 0.62)), W(b.LinearProgress, "errorBg", P(Se, b.error.main, 0.62)), W(b.LinearProgress, "infoBg", P(Se, b.info.main, 0.62)), W(b.LinearProgress, "successBg", P(Se, b.success.main, 0.62)), W(b.LinearProgress, "warningBg", P(Se, b.warning.main, 0.62)), W(b.Skeleton, "bg", k ? P(bn, b.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), W(b.Slider, "primaryTrack", P(Se, b.primary.main, 0.62)), W(b.Slider, "secondaryTrack", P(Se, b.secondary.main, 0.62)), W(b.Slider, "errorTrack", P(Se, b.error.main, 0.62)), W(b.Slider, "infoTrack", P(Se, b.info.main, 0.62)), W(b.Slider, "successTrack", P(Se, b.success.main, 0.62)), W(b.Slider, "warningTrack", P(Se, b.warning.main, 0.62));
12717
+ H(b.Alert, "errorColor", P(we, b.error.light, 0.6)), H(b.Alert, "infoColor", P(we, b.info.light, 0.6)), H(b.Alert, "successColor", P(we, b.success.light, 0.6)), H(b.Alert, "warningColor", P(we, b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", O("palette-error-main")), H(b.Alert, "infoFilledBg", O("palette-info-main")), H(b.Alert, "successFilledBg", O("palette-success-main")), H(b.Alert, "warningFilledBg", O("palette-warning-main")), H(b.Alert, "errorFilledColor", Mt(() => b.getContrastText(b.error.main))), H(b.Alert, "infoFilledColor", Mt(() => b.getContrastText(b.info.main))), H(b.Alert, "successFilledColor", Mt(() => b.getContrastText(b.success.main))), H(b.Alert, "warningFilledColor", Mt(() => b.getContrastText(b.warning.main))), H(b.Alert, "errorStandardBg", P(Se, b.error.light, 0.9)), H(b.Alert, "infoStandardBg", P(Se, b.info.light, 0.9)), H(b.Alert, "successStandardBg", P(Se, b.success.light, 0.9)), H(b.Alert, "warningStandardBg", P(Se, b.warning.light, 0.9)), H(b.Alert, "errorIconColor", O("palette-error-main")), H(b.Alert, "infoIconColor", O("palette-info-main")), H(b.Alert, "successIconColor", O("palette-success-main")), H(b.Alert, "warningIconColor", O("palette-warning-main")), H(b.AppBar, "defaultBg", O("palette-grey-100")), H(b.Avatar, "defaultBg", O("palette-grey-400")), H(b.Button, "inheritContainedBg", O("palette-grey-300")), H(b.Button, "inheritContainedHoverBg", O("palette-grey-A100")), H(b.Chip, "defaultBorder", O("palette-grey-400")), H(b.Chip, "defaultAvatarColor", O("palette-grey-700")), H(b.Chip, "defaultIconColor", O("palette-grey-700")), H(b.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), H(b.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), H(b.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), H(b.LinearProgress, "primaryBg", P(Se, b.primary.main, 0.62)), H(b.LinearProgress, "secondaryBg", P(Se, b.secondary.main, 0.62)), H(b.LinearProgress, "errorBg", P(Se, b.error.main, 0.62)), H(b.LinearProgress, "infoBg", P(Se, b.info.main, 0.62)), H(b.LinearProgress, "successBg", P(Se, b.success.main, 0.62)), H(b.LinearProgress, "warningBg", P(Se, b.warning.main, 0.62)), H(b.Skeleton, "bg", k ? P(bn, b.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), H(b.Slider, "primaryTrack", P(Se, b.primary.main, 0.62)), H(b.Slider, "secondaryTrack", P(Se, b.secondary.main, 0.62)), H(b.Slider, "errorTrack", P(Se, b.error.main, 0.62)), H(b.Slider, "infoTrack", P(Se, b.info.main, 0.62)), H(b.Slider, "successTrack", P(Se, b.success.main, 0.62)), H(b.Slider, "warningTrack", P(Se, b.warning.main, 0.62));
12716
12718
  const V = k ? P(we, b.background.default, 0.6825) : vo(b.background.default, 0.8);
12717
- W(b.SnackbarContent, "bg", V), W(b.SnackbarContent, "color", Mt(() => k ? gi.text.primary : b.getContrastText(V))), W(b.SpeedDialAction, "fabHoverBg", vo(b.background.paper, 0.15)), W(b.StepConnector, "border", O("palette-grey-400")), W(b.StepContent, "border", O("palette-grey-400")), W(b.Switch, "defaultColor", O("palette-common-white")), W(b.Switch, "defaultDisabledColor", O("palette-grey-100")), W(b.Switch, "primaryDisabledColor", P(Se, b.primary.main, 0.62)), W(b.Switch, "secondaryDisabledColor", P(Se, b.secondary.main, 0.62)), W(b.Switch, "errorDisabledColor", P(Se, b.error.main, 0.62)), W(b.Switch, "infoDisabledColor", P(Se, b.info.main, 0.62)), W(b.Switch, "successDisabledColor", P(Se, b.success.main, 0.62)), W(b.Switch, "warningDisabledColor", P(Se, b.warning.main, 0.62)), W(b.TableCell, "border", P(Se, P(bn, b.divider, 1), 0.88)), W(b.Tooltip, "bg", P(bn, b.grey[700], 0.92));
12719
+ H(b.SnackbarContent, "bg", V), H(b.SnackbarContent, "color", Mt(() => k ? gi.text.primary : b.getContrastText(V))), H(b.SpeedDialAction, "fabHoverBg", vo(b.background.paper, 0.15)), H(b.StepConnector, "border", O("palette-grey-400")), H(b.StepContent, "border", O("palette-grey-400")), H(b.Switch, "defaultColor", O("palette-common-white")), H(b.Switch, "defaultDisabledColor", O("palette-grey-100")), H(b.Switch, "primaryDisabledColor", P(Se, b.primary.main, 0.62)), H(b.Switch, "secondaryDisabledColor", P(Se, b.secondary.main, 0.62)), H(b.Switch, "errorDisabledColor", P(Se, b.error.main, 0.62)), H(b.Switch, "infoDisabledColor", P(Se, b.info.main, 0.62)), H(b.Switch, "successDisabledColor", P(Se, b.success.main, 0.62)), H(b.Switch, "warningDisabledColor", P(Se, b.warning.main, 0.62)), H(b.TableCell, "border", P(Se, P(bn, b.divider, 1), 0.88)), H(b.Tooltip, "bg", P(bn, b.grey[700], 0.92));
12718
12720
  }
12719
12721
  if (b.mode === "dark") {
12720
- W(b.Alert, "errorColor", P(Se, b.error.light, 0.6)), W(b.Alert, "infoColor", P(Se, b.info.light, 0.6)), W(b.Alert, "successColor", P(Se, b.success.light, 0.6)), W(b.Alert, "warningColor", P(Se, b.warning.light, 0.6)), W(b.Alert, "errorFilledBg", O("palette-error-dark")), W(b.Alert, "infoFilledBg", O("palette-info-dark")), W(b.Alert, "successFilledBg", O("palette-success-dark")), W(b.Alert, "warningFilledBg", O("palette-warning-dark")), W(b.Alert, "errorFilledColor", Mt(() => b.getContrastText(b.error.dark))), W(b.Alert, "infoFilledColor", Mt(() => b.getContrastText(b.info.dark))), W(b.Alert, "successFilledColor", Mt(() => b.getContrastText(b.success.dark))), W(b.Alert, "warningFilledColor", Mt(() => b.getContrastText(b.warning.dark))), W(b.Alert, "errorStandardBg", P(we, b.error.light, 0.9)), W(b.Alert, "infoStandardBg", P(we, b.info.light, 0.9)), W(b.Alert, "successStandardBg", P(we, b.success.light, 0.9)), W(b.Alert, "warningStandardBg", P(we, b.warning.light, 0.9)), W(b.Alert, "errorIconColor", O("palette-error-main")), W(b.Alert, "infoIconColor", O("palette-info-main")), W(b.Alert, "successIconColor", O("palette-success-main")), W(b.Alert, "warningIconColor", O("palette-warning-main")), W(b.AppBar, "defaultBg", O("palette-grey-900")), W(b.AppBar, "darkBg", O("palette-background-paper")), W(b.AppBar, "darkColor", O("palette-text-primary")), W(b.Avatar, "defaultBg", O("palette-grey-600")), W(b.Button, "inheritContainedBg", O("palette-grey-800")), W(b.Button, "inheritContainedHoverBg", O("palette-grey-700")), W(b.Chip, "defaultBorder", O("palette-grey-700")), W(b.Chip, "defaultAvatarColor", O("palette-grey-300")), W(b.Chip, "defaultIconColor", O("palette-grey-300")), W(b.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), W(b.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), W(b.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), W(b.LinearProgress, "primaryBg", P(we, b.primary.main, 0.5)), W(b.LinearProgress, "secondaryBg", P(we, b.secondary.main, 0.5)), W(b.LinearProgress, "errorBg", P(we, b.error.main, 0.5)), W(b.LinearProgress, "infoBg", P(we, b.info.main, 0.5)), W(b.LinearProgress, "successBg", P(we, b.success.main, 0.5)), W(b.LinearProgress, "warningBg", P(we, b.warning.main, 0.5)), W(b.Skeleton, "bg", k ? P(bn, b.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), W(b.Slider, "primaryTrack", P(we, b.primary.main, 0.5)), W(b.Slider, "secondaryTrack", P(we, b.secondary.main, 0.5)), W(b.Slider, "errorTrack", P(we, b.error.main, 0.5)), W(b.Slider, "infoTrack", P(we, b.info.main, 0.5)), W(b.Slider, "successTrack", P(we, b.success.main, 0.5)), W(b.Slider, "warningTrack", P(we, b.warning.main, 0.5));
12722
+ H(b.Alert, "errorColor", P(Se, b.error.light, 0.6)), H(b.Alert, "infoColor", P(Se, b.info.light, 0.6)), H(b.Alert, "successColor", P(Se, b.success.light, 0.6)), H(b.Alert, "warningColor", P(Se, b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", O("palette-error-dark")), H(b.Alert, "infoFilledBg", O("palette-info-dark")), H(b.Alert, "successFilledBg", O("palette-success-dark")), H(b.Alert, "warningFilledBg", O("palette-warning-dark")), H(b.Alert, "errorFilledColor", Mt(() => b.getContrastText(b.error.dark))), H(b.Alert, "infoFilledColor", Mt(() => b.getContrastText(b.info.dark))), H(b.Alert, "successFilledColor", Mt(() => b.getContrastText(b.success.dark))), H(b.Alert, "warningFilledColor", Mt(() => b.getContrastText(b.warning.dark))), H(b.Alert, "errorStandardBg", P(we, b.error.light, 0.9)), H(b.Alert, "infoStandardBg", P(we, b.info.light, 0.9)), H(b.Alert, "successStandardBg", P(we, b.success.light, 0.9)), H(b.Alert, "warningStandardBg", P(we, b.warning.light, 0.9)), H(b.Alert, "errorIconColor", O("palette-error-main")), H(b.Alert, "infoIconColor", O("palette-info-main")), H(b.Alert, "successIconColor", O("palette-success-main")), H(b.Alert, "warningIconColor", O("palette-warning-main")), H(b.AppBar, "defaultBg", O("palette-grey-900")), H(b.AppBar, "darkBg", O("palette-background-paper")), H(b.AppBar, "darkColor", O("palette-text-primary")), H(b.Avatar, "defaultBg", O("palette-grey-600")), H(b.Button, "inheritContainedBg", O("palette-grey-800")), H(b.Button, "inheritContainedHoverBg", O("palette-grey-700")), H(b.Chip, "defaultBorder", O("palette-grey-700")), H(b.Chip, "defaultAvatarColor", O("palette-grey-300")), H(b.Chip, "defaultIconColor", O("palette-grey-300")), H(b.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), H(b.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), H(b.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), H(b.LinearProgress, "primaryBg", P(we, b.primary.main, 0.5)), H(b.LinearProgress, "secondaryBg", P(we, b.secondary.main, 0.5)), H(b.LinearProgress, "errorBg", P(we, b.error.main, 0.5)), H(b.LinearProgress, "infoBg", P(we, b.info.main, 0.5)), H(b.LinearProgress, "successBg", P(we, b.success.main, 0.5)), H(b.LinearProgress, "warningBg", P(we, b.warning.main, 0.5)), H(b.Skeleton, "bg", k ? P(bn, b.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), H(b.Slider, "primaryTrack", P(we, b.primary.main, 0.5)), H(b.Slider, "secondaryTrack", P(we, b.secondary.main, 0.5)), H(b.Slider, "errorTrack", P(we, b.error.main, 0.5)), H(b.Slider, "infoTrack", P(we, b.info.main, 0.5)), H(b.Slider, "successTrack", P(we, b.success.main, 0.5)), H(b.Slider, "warningTrack", P(we, b.warning.main, 0.5));
12721
12723
  const V = k ? P(Se, b.background.default, 0.985) : vo(b.background.default, 0.98);
12722
- W(b.SnackbarContent, "bg", V), W(b.SnackbarContent, "color", Mt(() => k ? Bu.text.primary : b.getContrastText(V))), W(b.SpeedDialAction, "fabHoverBg", vo(b.background.paper, 0.15)), W(b.StepConnector, "border", O("palette-grey-600")), W(b.StepContent, "border", O("palette-grey-600")), W(b.Switch, "defaultColor", O("palette-grey-300")), W(b.Switch, "defaultDisabledColor", O("palette-grey-600")), W(b.Switch, "primaryDisabledColor", P(we, b.primary.main, 0.55)), W(b.Switch, "secondaryDisabledColor", P(we, b.secondary.main, 0.55)), W(b.Switch, "errorDisabledColor", P(we, b.error.main, 0.55)), W(b.Switch, "infoDisabledColor", P(we, b.info.main, 0.55)), W(b.Switch, "successDisabledColor", P(we, b.success.main, 0.55)), W(b.Switch, "warningDisabledColor", P(we, b.warning.main, 0.55)), W(b.TableCell, "border", P(we, P(bn, b.divider, 1), 0.68)), W(b.Tooltip, "bg", P(bn, b.grey[700], 0.92));
12724
+ H(b.SnackbarContent, "bg", V), H(b.SnackbarContent, "color", Mt(() => k ? Bu.text.primary : b.getContrastText(V))), H(b.SpeedDialAction, "fabHoverBg", vo(b.background.paper, 0.15)), H(b.StepConnector, "border", O("palette-grey-600")), H(b.StepContent, "border", O("palette-grey-600")), H(b.Switch, "defaultColor", O("palette-grey-300")), H(b.Switch, "defaultDisabledColor", O("palette-grey-600")), H(b.Switch, "primaryDisabledColor", P(we, b.primary.main, 0.55)), H(b.Switch, "secondaryDisabledColor", P(we, b.secondary.main, 0.55)), H(b.Switch, "errorDisabledColor", P(we, b.error.main, 0.55)), H(b.Switch, "infoDisabledColor", P(we, b.info.main, 0.55)), H(b.Switch, "successDisabledColor", P(we, b.success.main, 0.55)), H(b.Switch, "warningDisabledColor", P(we, b.warning.main, 0.55)), H(b.TableCell, "border", P(we, P(bn, b.divider, 1), 0.68)), H(b.Tooltip, "bg", P(bn, b.grey[700], 0.92));
12723
12725
  }
12724
12726
  Ht(b.background, "default"), Ht(b.background, "paper"), Ht(b.common, "background"), Ht(b.common, "onBackground"), Ht(b, "divider"), Object.keys(b).forEach((V) => {
12725
12727
  const M = b[V];
12726
- V !== "tonalOffset" && M && typeof M == "object" && (M.main && W(b[V], "mainChannel", Rr(jr(M.main))), M.light && W(b[V], "lightChannel", Rr(jr(M.light))), M.dark && W(b[V], "darkChannel", Rr(jr(M.dark))), M.contrastText && W(b[V], "contrastTextChannel", Rr(jr(M.contrastText))), V === "text" && (Ht(b[V], "primary"), Ht(b[V], "secondary")), V === "action" && (M.active && Ht(b[V], "active"), M.selected && Ht(b[V], "selected")));
12728
+ V !== "tonalOffset" && M && typeof M == "object" && (M.main && H(b[V], "mainChannel", Rr(jr(M.main))), M.light && H(b[V], "lightChannel", Rr(jr(M.light))), M.dark && H(b[V], "darkChannel", Rr(jr(M.dark))), M.contrastText && H(b[V], "contrastTextChannel", Rr(jr(M.contrastText))), V === "text" && (Ht(b[V], "primary"), Ht(b[V], "secondary")), V === "action" && (M.active && Ht(b[V], "active"), M.selected && Ht(b[V], "selected")));
12727
12729
  });
12728
12730
  }), T = n.reduce((R, b) => vt(R, b), T);
12729
12731
  const A = {
@@ -14085,7 +14087,7 @@ const ax = An("MuiButtonBase", ["root", "disabled", "focusVisible"]), lx = (e) =
14085
14087
  F(!0), _.current.focus();
14086
14088
  }
14087
14089
  }), []);
14088
- const H = X.shouldMount && !f && !u;
14090
+ const W = X.shouldMount && !f && !u;
14089
14091
  j.useEffect(() => {
14090
14092
  N && m && !f && X.pulsate();
14091
14093
  }, [f, m, N, X]);
@@ -14144,7 +14146,7 @@ const ax = An("MuiButtonBase", ["root", "disabled", "focusVisible"]), lx = (e) =
14144
14146
  type: M,
14145
14147
  ...at,
14146
14148
  ...U,
14147
- children: [i, H ? /* @__PURE__ */ c.jsx(Zu, {
14149
+ children: [i, W ? /* @__PURE__ */ c.jsx(Zu, {
14148
14150
  ref: z,
14149
14151
  center: s,
14150
14152
  ...P
@@ -15299,8 +15301,8 @@ const Ox = (e) => {
15299
15301
  if (!A.current || !w.current) return;
15300
15302
  const X = (_.clientX - A.current.startX) / S, z = (_.clientY - A.current.startY) / S;
15301
15303
  let N = A.current.x + X, F = A.current.y + z;
15302
- const H = b(N, F);
15303
- N = H.x, F = H.y;
15304
+ const W = b(N, F);
15305
+ N = W.x, F = W.y;
15304
15306
  const L = R(N, F);
15305
15307
  N = L.x, F = L.y;
15306
15308
  const te = D(N, F);
@@ -15309,8 +15311,8 @@ const Ox = (e) => {
15309
15311
  if (!A.current || !w.current) return;
15310
15312
  const X = (_.clientX - A.current.startX) / S, z = (_.clientY - A.current.startY) / S;
15311
15313
  let N = A.current.x + X, F = A.current.y + z;
15312
- const H = b(N, F);
15313
- N = H.x, F = H.y;
15314
+ const W = b(N, F);
15315
+ N = W.x, F = W.y;
15314
15316
  const L = R(N, F);
15315
15317
  N = L.x, F = L.y;
15316
15318
  const te = D(N, F);
@@ -17326,10 +17328,10 @@ const VC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
17326
17328
  $([L.lngLat.lng, L.lngLat.lat]), s?.draggingMode && !s?.hideLinksOnDrag && V(L);
17327
17329
  }, [A, s?.draggingMode]), N = oe((L) => {
17328
17330
  s?.draggingMode && s?.hideLinksOnDrag && V(L);
17329
- }, [A]), F = le(() => [0, 0], []), H = "visible";
17331
+ }, [A]), F = le(() => [0, 0], []), W = "visible";
17330
17332
  return q(() => {
17331
17333
  console.log("Rendered Node Item : ", o);
17332
- }, [H]), /* @__PURE__ */ c.jsx(_r, { mode: H, children: /* @__PURE__ */ c.jsx(
17334
+ }, [W]), /* @__PURE__ */ c.jsx(_r, { mode: W, children: /* @__PURE__ */ c.jsx(
17333
17335
  vd,
17334
17336
  {
17335
17337
  ref: T,
@@ -18278,7 +18280,7 @@ const Cw = (e) => {
18278
18280
  try {
18279
18281
  const v = t?.current;
18280
18282
  if (!v || !n?.source || !n?.destination) return null;
18281
- const T = v.project([n?.source?.lng, n?.source?.lat]), A = v.project([n?.destination?.lng, n?.destination?.lat]), E = A?.x - T?.x, $ = A?.y - T?.y, D = Math.hypot(E, $) || 1, R = E / D, b = $ / D, O = -b, P = R, V = n?.source?.markerSize ? n?.source?.markerSize / 2 : 12, M = D, U = { along: 100, perpendicular: 0 }, _ = n?.sourcePortOffset || {}, X = typeof _?.along == "number" ? _.along : U.along, z = typeof _?.perpendicular == "number" ? _.perpendicular : U.perpendicular, N = V + X, F = Math.min(Math.max(N, V + 4), M * 0.6), H = z, L = O * H + R * F, te = P * H + b * F, re = T?.x + L, Y = T?.y + te, G = v.unproject([re, Y]), Q = Math.atan2(b, R) * 180 / Math.PI, J = (Q + 360) % 360, ee = J > 90 && J < 270 ? Q + 180 : Q;
18283
+ const T = v.project([n?.source?.lng, n?.source?.lat]), A = v.project([n?.destination?.lng, n?.destination?.lat]), E = A?.x - T?.x, $ = A?.y - T?.y, D = Math.hypot(E, $) || 1, R = E / D, b = $ / D, O = -b, P = R, V = n?.source?.markerSize ? n?.source?.markerSize / 2 : 12, M = D, U = { along: 100, perpendicular: 0 }, _ = n?.sourcePortOffset || {}, X = typeof _?.along == "number" ? _.along : U.along, z = typeof _?.perpendicular == "number" ? _.perpendicular : U.perpendicular, N = V + X, F = Math.min(Math.max(N, V + 4), M * 0.6), W = z, L = O * W + R * F, te = P * W + b * F, re = T?.x + L, Y = T?.y + te, G = v.unproject([re, Y]), Q = Math.atan2(b, R) * 180 / Math.PI, J = (Q + 360) % 360, ee = J > 90 && J < 270 ? Q + 180 : Q;
18282
18284
  return { position: { lng: G?.lng, lat: G?.lat }, rotation: ee };
18283
18285
  } catch {
18284
18286
  return null;
@@ -18287,7 +18289,7 @@ const Cw = (e) => {
18287
18289
  try {
18288
18290
  const v = t?.current;
18289
18291
  if (!v || !n?.source || !n?.destination) return null;
18290
- const T = v.project([n?.source?.lng, n?.source?.lat]), A = v.project([n?.destination?.lng, n?.destination?.lat]), E = T?.x - A?.x, $ = T?.y - A?.y, D = Math.hypot(E, $) || 1, R = E / D, b = $ / D, O = -b, P = R, V = n?.destination?.markerSize ? n?.destination?.markerSize / 2 : 12, M = D, U = { along: 100, perpendicular: 0 }, _ = n?.destinationPortOffset || {}, X = typeof _?.along == "number" ? _.along : U.along, z = typeof _?.perpendicular == "number" ? _.perpendicular : U.perpendicular, N = V + X, F = Math.min(Math.max(N, V + 4), M * 0.6), H = z, L = O * H + R * F, te = P * H + b * F, re = A?.x + L, Y = A?.y + te, G = v.unproject([re, Y]), Q = Math.atan2(b, R) * 180 / Math.PI, J = (Q + 360) % 360, ee = J > 90 && J < 270 ? Q + 180 : Q;
18292
+ const T = v.project([n?.source?.lng, n?.source?.lat]), A = v.project([n?.destination?.lng, n?.destination?.lat]), E = T?.x - A?.x, $ = T?.y - A?.y, D = Math.hypot(E, $) || 1, R = E / D, b = $ / D, O = -b, P = R, V = n?.destination?.markerSize ? n?.destination?.markerSize / 2 : 12, M = D, U = { along: 100, perpendicular: 0 }, _ = n?.destinationPortOffset || {}, X = typeof _?.along == "number" ? _.along : U.along, z = typeof _?.perpendicular == "number" ? _.perpendicular : U.perpendicular, N = V + X, F = Math.min(Math.max(N, V + 4), M * 0.6), W = z, L = O * W + R * F, te = P * W + b * F, re = A?.x + L, Y = A?.y + te, G = v.unproject([re, Y]), Q = Math.atan2(b, R) * 180 / Math.PI, J = (Q + 360) % 360, ee = J > 90 && J < 270 ? Q + 180 : Q;
18291
18293
  return { position: { lng: G?.lng, lat: G?.lat }, rotation: ee };
18292
18294
  } catch {
18293
18295
  return null;
@@ -18790,7 +18792,7 @@ const gc = [
18790
18792
  enalbeSearchBox: z = !0,
18791
18793
  nodeVirtualizationMethod: N = "moveend",
18792
18794
  draggingMode: F = !1,
18793
- mapProps: H = {},
18795
+ mapProps: W = {},
18794
18796
  menuItems: L = [],
18795
18797
  nodeMenuItems: te = [],
18796
18798
  showHoveredLinksOnly: re = !1,
@@ -19186,7 +19188,7 @@ const gc = [
19186
19188
  onClick: ba,
19187
19189
  dragPan: { inertia: !1 },
19188
19190
  dragRotate: !1,
19189
- ...H,
19191
+ ...W,
19190
19192
  children: [
19191
19193
  /* @__PURE__ */ c.jsx(
19192
19194
  $w,
@@ -20274,7 +20276,9 @@ const Ld = Ae((e, n) => {
20274
20276
  s?.items && h(Fd(s.items, null)), u == "main" && s.title && w(s.title);
20275
20277
  }, [s?.items?.length, s?.title]);
20276
20278
  const T = (A, E) => {
20277
- l?.current?.close(), E.action && E.subItems?.length == 0 && E.action();
20279
+ l?.current?.close(($) => {
20280
+ E.action && E.subItems?.length == 0 && E.action({ ...E, event: A });
20281
+ });
20278
20282
  };
20279
20283
  return q(() => {
20280
20284
  f ? x(f) : i && x(i);
@@ -20455,6 +20459,7 @@ const d1 = (e) => {
20455
20459
  {
20456
20460
  hideOnContextMenu: !0,
20457
20461
  bodyClick: !0,
20462
+ applyStackRules: !0,
20458
20463
  ref: n,
20459
20464
  variant: "transparent",
20460
20465
  container: document.body,
@@ -20657,7 +20662,7 @@ const ti = Ce(
20657
20662
  ref: C = ne(),
20658
20663
  autoFocus: k = !1,
20659
20664
  inputProps: v = {}
20660
- } = e, [T, A] = I(a), [E, $] = I(r), [D, R] = I(), b = st(), O = st(), [P, V] = I(""), M = ne(), U = ne(), { width: _ } = ir(U), X = g1(P, w), [z, N] = I(i), [F, H] = I(0);
20665
+ } = e, [T, A] = I(a), [E, $] = I(r), [D, R] = I(), b = st(), O = st(), [P, V] = I(""), M = ne(), U = ne(), { width: _ } = ir(U), X = g1(P, w), [z, N] = I(i), [F, W] = I(0);
20661
20666
  q(() => {
20662
20667
  N(i);
20663
20668
  }, [i]), q(() => {
@@ -20707,10 +20712,10 @@ const ti = Ce(
20707
20712
  };
20708
20713
  return q(() => {
20709
20714
  if (F == 0) {
20710
- H(1);
20715
+ W(1);
20711
20716
  return;
20712
20717
  }
20713
- H((J) => J++), d({
20718
+ W((J) => J++), d({
20714
20719
  ref2: M,
20715
20720
  ref: C,
20716
20721
  value: X,
@@ -22183,7 +22188,7 @@ const er = ln({}), q1 = (e) => {
22183
22188
  filter: N = {},
22184
22189
  onMultiRowSelection: F = function() {
22185
22190
  },
22186
- hideFromTable: H = [],
22191
+ hideFromTable: W = [],
22187
22192
  expandRows: L = {},
22188
22193
  onExpand: te = () => {
22189
22194
  },
@@ -22201,7 +22206,7 @@ const er = ln({}), q1 = (e) => {
22201
22206
  data: r,
22202
22207
  mapper: E,
22203
22208
  hidden: $,
22204
- hideFromTable: H,
22209
+ hideFromTable: W,
22205
22210
  formater: m,
22206
22211
  filterItems: ft,
22207
22212
  setFilterItems: it,
@@ -22444,7 +22449,7 @@ const er = ln({}), q1 = (e) => {
22444
22449
  H1,
22445
22450
  {
22446
22451
  headers: On,
22447
- hideFromTable: H,
22452
+ hideFromTable: W,
22448
22453
  gridRef: fe,
22449
22454
  data: Ot,
22450
22455
  enableExpand: M,