@edusight/notification-widget 1.0.11 → 1.0.13

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
@@ -13,12 +13,12 @@ function Ro() {
13
13
  if ($r) return rt;
14
14
  $r = 1;
15
15
  var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
16
- function c(u, f, p) {
17
- var m, d = {}, h = null, y = null;
18
- p !== void 0 && (h = "" + p), f.key !== void 0 && (h = "" + f.key), f.ref !== void 0 && (y = f.ref);
19
- for (m in f) n.call(f, m) && !i.hasOwnProperty(m) && (d[m] = f[m]);
20
- if (u && u.defaultProps) for (m in f = u.defaultProps, f) d[m] === void 0 && (d[m] = f[m]);
21
- return { $$typeof: t, type: u, key: h, ref: y, props: d, _owner: o.current };
16
+ function c(u, f, d) {
17
+ var m, h = {}, p = null, y = null;
18
+ d !== void 0 && (p = "" + d), f.key !== void 0 && (p = "" + f.key), f.ref !== void 0 && (y = f.ref);
19
+ for (m in f) n.call(f, m) && !i.hasOwnProperty(m) && (h[m] = f[m]);
20
+ if (u && u.defaultProps) for (m in f = u.defaultProps, f) h[m] === void 0 && (h[m] = f[m]);
21
+ return { $$typeof: t, type: u, key: p, ref: y, props: h, _owner: o.current };
22
22
  }
23
23
  return rt.Fragment = r, rt.jsx = c, rt.jsxs = c, rt;
24
24
  }
@@ -26,54 +26,54 @@ var nt = {};
26
26
  var Pr;
27
27
  function Ao() {
28
28
  return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && (function() {
29
- var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
30
- function w(s) {
29
+ var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
30
+ function _(s) {
31
31
  if (s === null || typeof s != "object")
32
32
  return null;
33
33
  var v = b && s[b] || s[l];
34
34
  return typeof v == "function" ? v : null;
35
35
  }
36
- var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
37
- function T(s) {
36
+ var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
37
+ function C(s) {
38
38
  {
39
- for (var v = arguments.length, A = new Array(v > 1 ? v - 1 : 0), P = 1; P < v; P++)
40
- A[P - 1] = arguments[P];
41
- _("error", s, A);
39
+ for (var v = arguments.length, A = new Array(v > 1 ? v - 1 : 0), I = 1; I < v; I++)
40
+ A[I - 1] = arguments[I];
41
+ x("error", s, A);
42
42
  }
43
43
  }
44
- function _(s, v, A) {
44
+ function x(s, v, A) {
45
45
  {
46
- var P = S.ReactDebugCurrentFrame, H = P.getStackAddendum();
46
+ var I = w.ReactDebugCurrentFrame, H = I.getStackAddendum();
47
47
  H !== "" && (v += "%s", A = A.concat([H]));
48
- var te = A.map(function(Y) {
49
- return String(Y);
48
+ var te = A.map(function(U) {
49
+ return String(U);
50
50
  });
51
51
  te.unshift("Warning: " + v), Function.prototype.apply.call(console[s], console, te);
52
52
  }
53
53
  }
54
- var $ = !1, E = !1, q = !1, oe = !1, ee = !1, W;
55
- W = /* @__PURE__ */ Symbol.for("react.module.reference");
54
+ var R = !1, S = !1, q = !1, oe = !1, ee = !1, z;
55
+ z = /* @__PURE__ */ Symbol.for("react.module.reference");
56
56
  function a(s) {
57
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || ee || s === o || s === p || s === m || oe || s === y || $ || E || q || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === d || s.$$typeof === c || s.$$typeof === u || s.$$typeof === f || // This needs to include all possible module reference object
57
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || ee || s === o || s === d || s === m || oe || s === y || R || S || q || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === c || s.$$typeof === u || s.$$typeof === f || // This needs to include all possible module reference object
58
58
  // types supported by any Flight configuration anywhere since
59
59
  // we don't know which Flight build this will end up being used
60
60
  // with.
61
- s.$$typeof === W || s.getModuleId !== void 0));
61
+ s.$$typeof === z || s.getModuleId !== void 0));
62
62
  }
63
- function R(s, v, A) {
64
- var P = s.displayName;
65
- if (P)
66
- return P;
63
+ function $(s, v, A) {
64
+ var I = s.displayName;
65
+ if (I)
66
+ return I;
67
67
  var H = v.displayName || v.name || "";
68
68
  return H !== "" ? A + "(" + H + ")" : A;
69
69
  }
70
- function U(s) {
70
+ function P(s) {
71
71
  return s.displayName || "Context";
72
72
  }
73
- function j(s) {
73
+ function D(s) {
74
74
  if (s == null)
75
75
  return null;
76
- if (typeof s.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
76
+ if (typeof s.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
77
77
  return s.displayName || s.name || null;
78
78
  if (typeof s == "string")
79
79
  return s;
@@ -86,7 +86,7 @@ function Ao() {
86
86
  return "Profiler";
87
87
  case o:
88
88
  return "StrictMode";
89
- case p:
89
+ case d:
90
90
  return "Suspense";
91
91
  case m:
92
92
  return "SuspenseList";
@@ -95,19 +95,19 @@ function Ao() {
95
95
  switch (s.$$typeof) {
96
96
  case u:
97
97
  var v = s;
98
- return U(v) + ".Consumer";
98
+ return P(v) + ".Consumer";
99
99
  case c:
100
100
  var A = s;
101
- return U(A._context) + ".Provider";
101
+ return P(A._context) + ".Provider";
102
102
  case f:
103
- return R(s, s.render, "ForwardRef");
104
- case d:
105
- var P = s.displayName || null;
106
- return P !== null ? P : j(s.type) || "Memo";
107
- case h: {
108
- var H = s, te = H._payload, Y = H._init;
103
+ return $(s, s.render, "ForwardRef");
104
+ case h:
105
+ var I = s.displayName || null;
106
+ return I !== null ? I : D(s.type) || "Memo";
107
+ case p: {
108
+ var H = s, te = H._payload, U = H._init;
109
109
  try {
110
- return j(Y(te));
110
+ return D(U(te));
111
111
  } catch {
112
112
  return null;
113
113
  }
@@ -115,18 +115,18 @@ function Ao() {
115
115
  }
116
116
  return null;
117
117
  }
118
- var le = Object.assign, ae = 0, pe, be, Me, ze, C, k, B;
119
- function M() {
118
+ var le = Object.assign, ae = 0, pe, be, Me, ze, E, k, F;
119
+ function B() {
120
120
  }
121
- M.__reactDisabledLog = !0;
122
- function I() {
121
+ B.__reactDisabledLog = !0;
122
+ function N() {
123
123
  {
124
124
  if (ae === 0) {
125
- pe = console.log, be = console.info, Me = console.warn, ze = console.error, C = console.group, k = console.groupCollapsed, B = console.groupEnd;
125
+ pe = console.log, be = console.info, Me = console.warn, ze = console.error, E = console.group, k = console.groupCollapsed, F = console.groupEnd;
126
126
  var s = {
127
127
  configurable: !0,
128
128
  enumerable: !0,
129
- value: M,
129
+ value: B,
130
130
  writable: !0
131
131
  };
132
132
  Object.defineProperties(console, {
@@ -142,7 +142,7 @@ function Ao() {
142
142
  ae++;
143
143
  }
144
144
  }
145
- function z() {
145
+ function Y() {
146
146
  {
147
147
  if (ae--, ae === 0) {
148
148
  var s = {
@@ -164,108 +164,108 @@ function Ao() {
164
164
  value: ze
165
165
  }),
166
166
  group: le({}, s, {
167
- value: C
167
+ value: E
168
168
  }),
169
169
  groupCollapsed: le({}, s, {
170
170
  value: k
171
171
  }),
172
172
  groupEnd: le({}, s, {
173
- value: B
173
+ value: F
174
174
  })
175
175
  });
176
176
  }
177
- ae < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
177
+ ae < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
178
178
  }
179
179
  }
180
- var N = S.ReactCurrentDispatcher, D;
181
- function F(s, v, A) {
180
+ var j = w.ReactCurrentDispatcher, M;
181
+ function L(s, v, A) {
182
182
  {
183
- if (D === void 0)
183
+ if (M === void 0)
184
184
  try {
185
185
  throw Error();
186
186
  } catch (H) {
187
- var P = H.stack.trim().match(/\n( *(at )?)/);
188
- D = P && P[1] || "";
187
+ var I = H.stack.trim().match(/\n( *(at )?)/);
188
+ M = I && I[1] || "";
189
189
  }
190
190
  return `
191
- ` + D + s;
191
+ ` + M + s;
192
192
  }
193
193
  }
194
- var G = !1, L;
194
+ var G = !1, V;
195
195
  {
196
196
  var me = typeof WeakMap == "function" ? WeakMap : Map;
197
- L = new me();
197
+ V = new me();
198
198
  }
199
199
  function O(s, v) {
200
200
  if (!s || G)
201
201
  return "";
202
202
  {
203
- var A = L.get(s);
203
+ var A = V.get(s);
204
204
  if (A !== void 0)
205
205
  return A;
206
206
  }
207
- var P;
207
+ var I;
208
208
  G = !0;
209
209
  var H = Error.prepareStackTrace;
210
210
  Error.prepareStackTrace = void 0;
211
211
  var te;
212
- te = N.current, N.current = null, I();
212
+ te = j.current, j.current = null, N();
213
213
  try {
214
214
  if (v) {
215
- var Y = function() {
215
+ var U = function() {
216
216
  throw Error();
217
217
  };
218
- if (Object.defineProperty(Y.prototype, "props", {
218
+ if (Object.defineProperty(U.prototype, "props", {
219
219
  set: function() {
220
220
  throw Error();
221
221
  }
222
222
  }), typeof Reflect == "object" && Reflect.construct) {
223
223
  try {
224
- Reflect.construct(Y, []);
224
+ Reflect.construct(U, []);
225
225
  } catch (ge) {
226
- P = ge;
226
+ I = ge;
227
227
  }
228
- Reflect.construct(s, [], Y);
228
+ Reflect.construct(s, [], U);
229
229
  } else {
230
230
  try {
231
- Y.call();
231
+ U.call();
232
232
  } catch (ge) {
233
- P = ge;
233
+ I = ge;
234
234
  }
235
- s.call(Y.prototype);
235
+ s.call(U.prototype);
236
236
  }
237
237
  } else {
238
238
  try {
239
239
  throw Error();
240
240
  } catch (ge) {
241
- P = ge;
241
+ I = ge;
242
242
  }
243
243
  s();
244
244
  }
245
245
  } catch (ge) {
246
- if (ge && P && typeof ge.stack == "string") {
247
- for (var V = ge.stack.split(`
248
- `), he = P.stack.split(`
249
- `), ue = V.length - 1, de = he.length - 1; ue >= 1 && de >= 0 && V[ue] !== he[de]; )
246
+ if (ge && I && typeof ge.stack == "string") {
247
+ for (var W = ge.stack.split(`
248
+ `), he = I.stack.split(`
249
+ `), ue = W.length - 1, de = he.length - 1; ue >= 1 && de >= 0 && W[ue] !== he[de]; )
250
250
  de--;
251
251
  for (; ue >= 1 && de >= 0; ue--, de--)
252
- if (V[ue] !== he[de]) {
252
+ if (W[ue] !== he[de]) {
253
253
  if (ue !== 1 || de !== 1)
254
254
  do
255
- if (ue--, de--, de < 0 || V[ue] !== he[de]) {
255
+ if (ue--, de--, de < 0 || W[ue] !== he[de]) {
256
256
  var Ce = `
257
- ` + V[ue].replace(" at new ", " at ");
258
- return s.displayName && Ce.includes("<anonymous>") && (Ce = Ce.replace("<anonymous>", s.displayName)), typeof s == "function" && L.set(s, Ce), Ce;
257
+ ` + W[ue].replace(" at new ", " at ");
258
+ return s.displayName && Ce.includes("<anonymous>") && (Ce = Ce.replace("<anonymous>", s.displayName)), typeof s == "function" && V.set(s, Ce), Ce;
259
259
  }
260
260
  while (ue >= 1 && de >= 0);
261
261
  break;
262
262
  }
263
263
  }
264
264
  } finally {
265
- G = !1, N.current = te, z(), Error.prepareStackTrace = H;
265
+ G = !1, j.current = te, Y(), Error.prepareStackTrace = H;
266
266
  }
267
- var Ge = s ? s.displayName || s.name : "", Fe = Ge ? F(Ge) : "";
268
- return typeof s == "function" && L.set(s, Fe), Fe;
267
+ var Ge = s ? s.displayName || s.name : "", Fe = Ge ? L(Ge) : "";
268
+ return typeof s == "function" && V.set(s, Fe), Fe;
269
269
  }
270
270
  function Ee(s, v, A) {
271
271
  return O(s, !1);
@@ -280,21 +280,21 @@ function Ao() {
280
280
  if (typeof s == "function")
281
281
  return O(s, Ye(s));
282
282
  if (typeof s == "string")
283
- return F(s);
283
+ return L(s);
284
284
  switch (s) {
285
- case p:
286
- return F("Suspense");
285
+ case d:
286
+ return L("Suspense");
287
287
  case m:
288
- return F("SuspenseList");
288
+ return L("SuspenseList");
289
289
  }
290
290
  if (typeof s == "object")
291
291
  switch (s.$$typeof) {
292
292
  case f:
293
293
  return Ee(s.render);
294
- case d:
294
+ case h:
295
295
  return Be(s.type, v, A);
296
- case h: {
297
- var P = s, H = P._payload, te = P._init;
296
+ case p: {
297
+ var I = s, H = I._payload, te = I._init;
298
298
  try {
299
299
  return Be(te(H), v, A);
300
300
  } catch {
@@ -303,7 +303,7 @@ function Ao() {
303
303
  }
304
304
  return "";
305
305
  }
306
- var tt = Object.prototype.hasOwnProperty, hr = {}, gr = S.ReactDebugCurrentFrame;
306
+ var tt = Object.prototype.hasOwnProperty, hr = {}, gr = w.ReactDebugCurrentFrame;
307
307
  function pt(s) {
308
308
  if (s) {
309
309
  var v = s._owner, A = Be(s.type, s._source, v ? v.type : null);
@@ -311,22 +311,22 @@ function Ao() {
311
311
  } else
312
312
  gr.setExtraStackFrame(null);
313
313
  }
314
- function Ln(s, v, A, P, H) {
314
+ function Ln(s, v, A, I, H) {
315
315
  {
316
316
  var te = Function.call.bind(tt);
317
- for (var Y in s)
318
- if (te(s, Y)) {
319
- var V = void 0;
317
+ for (var U in s)
318
+ if (te(s, U)) {
319
+ var W = void 0;
320
320
  try {
321
- if (typeof s[Y] != "function") {
322
- var he = Error((P || "React class") + ": " + A + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
321
+ if (typeof s[U] != "function") {
322
+ var he = Error((I || "React class") + ": " + A + " type `" + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[U] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
323
323
  throw he.name = "Invariant Violation", he;
324
324
  }
325
- V = s[Y](v, Y, P, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
325
+ W = s[U](v, U, I, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
326
326
  } catch (ue) {
327
- V = ue;
327
+ W = ue;
328
328
  }
329
- V && !(V instanceof Error) && (pt(H), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", A, Y, typeof V), pt(null)), V instanceof Error && !(V.message in hr) && (hr[V.message] = !0, pt(H), T("Failed %s type: %s", A, V.message), pt(null));
329
+ W && !(W instanceof Error) && (pt(H), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", A, U, typeof W), pt(null)), W instanceof Error && !(W.message in hr) && (hr[W.message] = !0, pt(H), C("Failed %s type: %s", A, W.message), pt(null));
330
330
  }
331
331
  }
332
332
  }
@@ -352,9 +352,9 @@ function Ao() {
352
352
  }
353
353
  function br(s) {
354
354
  if (zn(s))
355
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), yr(s);
355
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), yr(s);
356
356
  }
357
- var vr = S.ReactCurrentOwner, Yn = {
357
+ var vr = w.ReactCurrentOwner, Yn = {
358
358
  key: !0,
359
359
  ref: !0,
360
360
  __self: !0,
@@ -382,7 +382,7 @@ function Ao() {
382
382
  function Kn(s, v) {
383
383
  {
384
384
  var A = function() {
385
- Sr || (Sr = !0, T("%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://reactjs.org/link/special-props)", v));
385
+ Sr || (Sr = !0, C("%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://reactjs.org/link/special-props)", v));
386
386
  };
387
387
  A.isReactWarning = !0, Object.defineProperty(s, "key", {
388
388
  get: A,
@@ -393,7 +393,7 @@ function Ao() {
393
393
  function Hn(s, v) {
394
394
  {
395
395
  var A = function() {
396
- Er || (Er = !0, T("%s: `ref` 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://reactjs.org/link/special-props)", v));
396
+ Er || (Er = !0, C("%s: `ref` 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://reactjs.org/link/special-props)", v));
397
397
  };
398
398
  A.isReactWarning = !0, Object.defineProperty(s, "ref", {
399
399
  get: A,
@@ -401,54 +401,54 @@ function Ao() {
401
401
  });
402
402
  }
403
403
  }
404
- var Jn = function(s, v, A, P, H, te, Y) {
405
- var V = {
404
+ var Jn = function(s, v, A, I, H, te, U) {
405
+ var W = {
406
406
  // This tag allows us to uniquely identify this as a React Element
407
407
  $$typeof: t,
408
408
  // Built-in properties that belong on the element
409
409
  type: s,
410
410
  key: v,
411
411
  ref: A,
412
- props: Y,
412
+ props: U,
413
413
  // Record the component responsible for creating this element.
414
414
  _owner: te
415
415
  };
416
- return V._store = {}, Object.defineProperty(V._store, "validated", {
416
+ return W._store = {}, Object.defineProperty(W._store, "validated", {
417
417
  configurable: !1,
418
418
  enumerable: !1,
419
419
  writable: !0,
420
420
  value: !1
421
- }), Object.defineProperty(V, "_self", {
421
+ }), Object.defineProperty(W, "_self", {
422
422
  configurable: !1,
423
423
  enumerable: !1,
424
424
  writable: !1,
425
- value: P
426
- }), Object.defineProperty(V, "_source", {
425
+ value: I
426
+ }), Object.defineProperty(W, "_source", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !1,
430
430
  value: H
431
- }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
431
+ }), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
432
432
  };
433
- function Xn(s, v, A, P, H) {
433
+ function Xn(s, v, A, I, H) {
434
434
  {
435
- var te, Y = {}, V = null, he = null;
436
- A !== void 0 && (br(A), V = "" + A), Gn(v) && (br(v.key), V = "" + v.key), Un(v) && (he = v.ref, qn(v, H));
435
+ var te, U = {}, W = null, he = null;
436
+ A !== void 0 && (br(A), W = "" + A), Gn(v) && (br(v.key), W = "" + v.key), Un(v) && (he = v.ref, qn(v, H));
437
437
  for (te in v)
438
- tt.call(v, te) && !Yn.hasOwnProperty(te) && (Y[te] = v[te]);
438
+ tt.call(v, te) && !Yn.hasOwnProperty(te) && (U[te] = v[te]);
439
439
  if (s && s.defaultProps) {
440
440
  var ue = s.defaultProps;
441
441
  for (te in ue)
442
- Y[te] === void 0 && (Y[te] = ue[te]);
442
+ U[te] === void 0 && (U[te] = ue[te]);
443
443
  }
444
- if (V || he) {
444
+ if (W || he) {
445
445
  var de = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
446
- V && Kn(Y, de), he && Hn(Y, de);
446
+ W && Kn(U, de), he && Hn(U, de);
447
447
  }
448
- return Jn(s, V, he, H, P, vr.current, Y);
448
+ return Jn(s, W, he, H, I, vr.current, U);
449
449
  }
450
450
  }
451
- var Vt = S.ReactCurrentOwner, Cr = S.ReactDebugCurrentFrame;
451
+ var Vt = w.ReactCurrentOwner, Cr = w.ReactDebugCurrentFrame;
452
452
  function Ue(s) {
453
453
  if (s) {
454
454
  var v = s._owner, A = Be(s.type, s._source, v ? v.type : null);
@@ -464,7 +464,7 @@ function Ao() {
464
464
  function xr() {
465
465
  {
466
466
  if (Vt.current) {
467
- var s = j(Vt.current.type);
467
+ var s = D(Vt.current.type);
468
468
  if (s)
469
469
  return `
470
470
 
@@ -498,8 +498,8 @@ Check the top-level render call using <` + A + ">.");
498
498
  if (Tr[A])
499
499
  return;
500
500
  Tr[A] = !0;
501
- var P = "";
502
- s && s._owner && s._owner !== Vt.current && (P = " It was passed a child from " + j(s._owner.type) + "."), Ue(s), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, P), Ue(null);
501
+ var I = "";
502
+ s && s._owner && s._owner !== Vt.current && (I = " It was passed a child from " + D(s._owner.type) + "."), Ue(s), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, I), Ue(null);
503
503
  }
504
504
  }
505
505
  function _r(s, v) {
@@ -508,16 +508,16 @@ Check the top-level render call using <` + A + ">.");
508
508
  return;
509
509
  if (Lt(s))
510
510
  for (var A = 0; A < s.length; A++) {
511
- var P = s[A];
512
- zt(P) && wr(P, v);
511
+ var I = s[A];
512
+ zt(I) && wr(I, v);
513
513
  }
514
514
  else if (zt(s))
515
515
  s._store && (s._store.validated = !0);
516
516
  else if (s) {
517
- var H = w(s);
517
+ var H = _(s);
518
518
  if (typeof H == "function" && H !== s.entries)
519
- for (var te = H.call(s), Y; !(Y = te.next()).done; )
520
- zt(Y.value) && wr(Y.value, v);
519
+ for (var te = H.call(s), U; !(U = te.next()).done; )
520
+ zt(U.value) && wr(U.value, v);
521
521
  }
522
522
  }
523
523
  }
@@ -531,68 +531,68 @@ Check the top-level render call using <` + A + ">.");
531
531
  A = v.propTypes;
532
532
  else if (typeof v == "object" && (v.$$typeof === f || // Note: Memo only checks outer props here.
533
533
  // Inner props are checked in the reconciler.
534
- v.$$typeof === d))
534
+ v.$$typeof === h))
535
535
  A = v.propTypes;
536
536
  else
537
537
  return;
538
538
  if (A) {
539
- var P = j(v);
540
- Ln(A, s.props, "prop", P, s);
539
+ var I = D(v);
540
+ Ln(A, s.props, "prop", I, s);
541
541
  } else if (v.PropTypes !== void 0 && !Wt) {
542
542
  Wt = !0;
543
- var H = j(v);
544
- T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
543
+ var H = D(v);
544
+ C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
545
545
  }
546
- typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
546
+ typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
547
547
  }
548
548
  }
549
549
  function to(s) {
550
550
  {
551
551
  for (var v = Object.keys(s.props), A = 0; A < v.length; A++) {
552
- var P = v[A];
553
- if (P !== "children" && P !== "key") {
554
- Ue(s), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ue(null);
552
+ var I = v[A];
553
+ if (I !== "children" && I !== "key") {
554
+ Ue(s), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), Ue(null);
555
555
  break;
556
556
  }
557
557
  }
558
- s.ref !== null && (Ue(s), T("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
558
+ s.ref !== null && (Ue(s), C("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
559
559
  }
560
560
  }
561
561
  var Or = {};
562
- function Rr(s, v, A, P, H, te) {
562
+ function Rr(s, v, A, I, H, te) {
563
563
  {
564
- var Y = a(s);
565
- if (!Y) {
566
- var V = "";
567
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
564
+ var U = a(s);
565
+ if (!U) {
566
+ var W = "";
567
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (W += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
568
568
  var he = Qn();
569
- he ? V += he : V += xr();
569
+ he ? W += he : W += xr();
570
570
  var ue;
571
- s === null ? ue = "null" : Lt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (j(s.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, V);
571
+ s === null ? ue = "null" : Lt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (D(s.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, W);
572
572
  }
573
573
  var de = Xn(s, v, A, H, te);
574
574
  if (de == null)
575
575
  return de;
576
- if (Y) {
576
+ if (U) {
577
577
  var Ce = v.children;
578
578
  if (Ce !== void 0)
579
- if (P)
579
+ if (I)
580
580
  if (Lt(Ce)) {
581
581
  for (var Ge = 0; Ge < Ce.length; Ge++)
582
582
  _r(Ce[Ge], s);
583
583
  Object.freeze && Object.freeze(Ce);
584
584
  } else
585
- T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
585
+ C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
586
586
  else
587
587
  _r(Ce, s);
588
588
  }
589
589
  if (tt.call(v, "key")) {
590
- var Fe = j(s), ge = Object.keys(v).filter(function(so) {
590
+ var Fe = D(s), ge = Object.keys(v).filter(function(so) {
591
591
  return so !== "key";
592
592
  }), Yt = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
593
593
  if (!Or[Fe + Yt]) {
594
594
  var ao = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
595
- T(`A props object containing a "key" prop is being spread into JSX:
595
+ C(`A props object containing a "key" prop is being spread into JSX:
596
596
  let props = %s;
597
597
  <%s {...props} />
598
598
  React keys must be passed directly to JSX without using spread:
@@ -617,20 +617,20 @@ var Ir;
617
617
  function ko() {
618
618
  return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? gt.exports = Ro() : gt.exports = Ao()), gt.exports;
619
619
  }
620
- var x = ko();
620
+ var T = ko();
621
621
  function $o(e) {
622
- const { service: t, tenantId: r, subscriberId: n, filters: o, pollInterval: i, autoFetch: c = !0 } = e, [u, f] = Te([]), [p, m] = Te(c), [d, h] = Te(null), y = $e(async () => {
622
+ const { service: t, tenantId: r, subscriberId: n, filters: o, pollInterval: i, autoFetch: c = !0 } = e, [u, f] = Te([]), [d, m] = Te(c), [h, p] = Te(null), y = $e(async () => {
623
623
  try {
624
- m(!0), h(null);
625
- const S = {
624
+ m(!0), p(null);
625
+ const w = {
626
626
  tenantId: r,
627
627
  subscriberId: n,
628
628
  limit: e?.maxNotifications,
629
629
  ...o
630
- }, T = await t.list(S);
631
- f(T);
632
- } catch (S) {
633
- h(S instanceof Error ? S : new Error("Failed to fetch notifications"));
630
+ }, C = await t.list(w);
631
+ f(C);
632
+ } catch (w) {
633
+ p(w instanceof Error ? w : new Error("Failed to fetch notifications"));
634
634
  } finally {
635
635
  m(!1);
636
636
  }
@@ -639,43 +639,43 @@ function $o(e) {
639
639
  c && y();
640
640
  }, [c]), Ze(() => {
641
641
  if (i && i > 0) {
642
- const S = setInterval(() => {
642
+ const w = setInterval(() => {
643
643
  y();
644
644
  }, i);
645
- return () => clearInterval(S);
645
+ return () => clearInterval(w);
646
646
  }
647
647
  }, [i, y]);
648
- const b = u.filter((S) => S.read !== !0).length, l = $e(
649
- async (S) => {
648
+ const b = u.filter((w) => w.read !== !0).length, l = $e(
649
+ async (w) => {
650
650
  try {
651
- await t.markAsRead(S, n), f(
652
- (T) => T.map(
653
- (_) => _.notificationId === S ? { ..._, read: !0 } : _
651
+ await t.markAsRead(w, n), f(
652
+ (C) => C.map(
653
+ (x) => x.notificationId === w ? { ...x, read: !0 } : x
654
654
  )
655
655
  );
656
- } catch (T) {
657
- console.error("Failed to mark notification as read", T);
656
+ } catch (C) {
657
+ console.error("Failed to mark notification as read", C);
658
658
  }
659
659
  },
660
660
  [t, n]
661
- ), w = $e(
662
- async (S) => {
661
+ ), _ = $e(
662
+ async (w) => {
663
663
  try {
664
- await t.delete(S, n), f((T) => T.filter((_) => _.notificationId !== S));
665
- } catch (T) {
666
- console.error("Failed to delete notification", T);
664
+ await t.delete(w, n), f((C) => C.filter((x) => x.notificationId !== w));
665
+ } catch (C) {
666
+ console.error("Failed to delete notification", C);
667
667
  }
668
668
  },
669
669
  [t, n]
670
670
  );
671
671
  return {
672
672
  notifications: u,
673
- loading: p,
674
- error: d,
673
+ loading: d,
674
+ error: h,
675
675
  unreadCount: b,
676
676
  refresh: y,
677
677
  markAsRead: l,
678
- deleteNotification: w
678
+ deleteNotification: _
679
679
  };
680
680
  }
681
681
  const Po = "edusight:notification-widget:context";
@@ -695,6 +695,7 @@ class No {
695
695
  tenantId: t.tenantId,
696
696
  subscriberId: t.subscriberId,
697
697
  environmentId: t.environmentId,
698
+ path: t.path,
698
699
  namespace: t.namespace,
699
700
  autoAck: t.autoAck,
700
701
  transports: t.transports,
@@ -792,55 +793,57 @@ function jo(e) {
792
793
  subscriberId: n,
793
794
  environmentId: o,
794
795
  enabled: i = !0,
795
- autoAck: c = !1
796
- } = e, [u, f] = Te(!1), [p, m] = Te(null), d = co(null);
796
+ autoAck: c = !1,
797
+ path: u
798
+ } = e, [f, d] = Te(!1), [m, h] = Te(null), p = co(null);
797
799
  Ze(() => {
798
800
  if (!i)
799
801
  return;
800
- const S = new No({
802
+ const C = {
801
803
  client: t,
802
804
  tenantId: r,
803
805
  subscriberId: n,
804
806
  environmentId: o,
805
- autoAck: c
806
- });
807
- return S.on("connect", () => {
808
- f(!0), m(null);
809
- }), S.on("disconnect", () => {
810
- f(!1);
811
- }), S.on("error", (T) => {
812
- m(T);
813
- }), d.current = S, S.connect(), () => {
814
- S.disconnect(), d.current = null, f(!1);
807
+ autoAck: c,
808
+ path: u
809
+ }, x = new No(C);
810
+ return x.on("connect", () => {
811
+ d(!0), h(null);
812
+ }), x.on("disconnect", () => {
813
+ d(!1);
814
+ }), x.on("error", (R) => {
815
+ h(R);
816
+ }), p.current = x, x.connect(), () => {
817
+ x.disconnect(), p.current = null, d(!1);
815
818
  };
816
- }, [t, r, n, o, i, c]);
817
- const h = $e(() => {
818
- d.current?.connect();
819
- }, []), y = $e(() => {
820
- d.current?.disconnect();
821
- }, []), b = $e((S) => {
822
- d.current?.ackNotification(S);
823
- }, []), l = $e(
824
- (S) => d.current ? (d.current.on("notification", S), () => {
825
- d.current?.off("notification", S);
819
+ }, [t, r, n, o, i, c, u]);
820
+ const y = $e(() => {
821
+ p.current?.connect();
822
+ }, []), b = $e(() => {
823
+ p.current?.disconnect();
824
+ }, []), l = $e((C) => {
825
+ p.current?.ackNotification(C);
826
+ }, []), _ = $e(
827
+ (C) => p.current ? (p.current.on("notification", C), () => {
828
+ p.current?.off("notification", C);
826
829
  }) : () => {
827
830
  },
828
831
  []
829
832
  ), w = $e(
830
- (S) => d.current ? (d.current.on("ack", S), () => {
831
- d.current?.off("ack", S);
833
+ (C) => p.current ? (p.current.on("ack", C), () => {
834
+ p.current?.off("ack", C);
832
835
  }) : () => {
833
836
  },
834
837
  []
835
838
  );
836
839
  return {
837
- connected: u,
838
- connect: h,
839
- disconnect: y,
840
- onNotification: l,
840
+ connected: f,
841
+ connect: y,
842
+ disconnect: b,
843
+ onNotification: _,
841
844
  onAck: w,
842
- ackNotification: b,
843
- error: p
845
+ ackNotification: l,
846
+ error: m
844
847
  };
845
848
  }
846
849
  class Do {
@@ -865,45 +868,47 @@ function Mo(e) {
865
868
  environmentId: o,
866
869
  pollInterval: i,
867
870
  autoFetch: c,
868
- autoAck: u = !1
869
- } = e, p = {
871
+ autoAck: u = !1,
872
+ path: f
873
+ } = e, m = {
870
874
  service: lo(() => new Do(t), [t]),
871
875
  tenantId: r,
872
876
  subscriberId: n,
873
877
  pollInterval: i,
874
878
  autoFetch: c
875
- }, m = {
879
+ }, h = {
876
880
  client: t,
877
881
  tenantId: r,
878
882
  subscriberId: n,
879
883
  environmentId: o,
880
884
  enabled: !0,
881
- autoAck: u
882
- }, d = $o(p), h = jo(m), [y, b] = Te(d.notifications);
885
+ autoAck: u,
886
+ path: f
887
+ }, p = $o(m), y = jo(h), [b, l] = Te(p.notifications);
883
888
  return Ze(() => {
884
- b(d.notifications);
885
- }, [d.notifications]), Ze(() => {
886
- const l = h.onNotification((S) => {
887
- b((T) => T.some((_) => _.notificationId === S.notificationId) ? T : [S, ...T]), h.ackNotification(S.notificationId);
888
- }), w = h.onAck((S) => {
889
- b(
890
- (T) => T.map(
891
- (_) => _.notificationId === S.notificationId ? { ..._, status: bn.DELIVERED } : _
889
+ l(p.notifications);
890
+ }, [p.notifications]), Ze(() => {
891
+ const _ = y.onNotification((C) => {
892
+ l((x) => x.some((R) => R.notificationId === C.notificationId) ? x : [C, ...x]), y.ackNotification(C.notificationId);
893
+ }), w = y.onAck((C) => {
894
+ l(
895
+ (x) => x.map(
896
+ (R) => R.notificationId === C.notificationId ? { ...R, status: bn.DELIVERED } : R
892
897
  )
893
898
  );
894
899
  });
895
900
  return () => {
896
- l(), w();
901
+ _(), w();
897
902
  };
898
- }, [h]), {
899
- notifications: y,
900
- loading: d.loading,
901
- error: d.error,
902
- unreadCount: d.unreadCount,
903
- connected: h.connected,
904
- refresh: d.refresh,
905
- markAsRead: d.markAsRead,
906
- deleteNotification: d.deleteNotification
903
+ }, [y]), {
904
+ notifications: b,
905
+ loading: p.loading,
906
+ error: p.error,
907
+ unreadCount: p.unreadCount,
908
+ connected: y.connected,
909
+ refresh: p.refresh,
910
+ markAsRead: p.markAsRead,
911
+ deleteNotification: p.deleteNotification
907
912
  };
908
913
  }
909
914
  var yt = { exports: {} }, Q = {};
@@ -911,39 +916,39 @@ var Nr;
911
916
  function Bo() {
912
917
  if (Nr) return Q;
913
918
  Nr = 1;
914
- var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
919
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
915
920
  function b(l) {
916
921
  if (typeof l == "object" && l !== null) {
917
- var w = l.$$typeof;
918
- switch (w) {
922
+ var _ = l.$$typeof;
923
+ switch (_) {
919
924
  case e:
920
925
  switch (l = l.type, l) {
921
926
  case r:
922
927
  case o:
923
928
  case n:
924
929
  case f:
930
+ case d:
925
931
  case p:
926
- case h:
927
932
  return l;
928
933
  default:
929
934
  switch (l = l && l.$$typeof, l) {
930
935
  case c:
931
936
  case u:
932
- case d:
937
+ case h:
933
938
  case m:
934
939
  return l;
935
940
  case i:
936
941
  return l;
937
942
  default:
938
- return w;
943
+ return _;
939
944
  }
940
945
  }
941
946
  case t:
942
- return w;
947
+ return _;
943
948
  }
944
949
  }
945
950
  }
946
- return Q.ContextConsumer = i, Q.ContextProvider = c, Q.Element = e, Q.ForwardRef = u, Q.Fragment = r, Q.Lazy = d, Q.Memo = m, Q.Portal = t, Q.Profiler = o, Q.StrictMode = n, Q.Suspense = f, Q.SuspenseList = p, Q.isContextConsumer = function(l) {
951
+ return Q.ContextConsumer = i, Q.ContextProvider = c, Q.Element = e, Q.ForwardRef = u, Q.Fragment = r, Q.Lazy = h, Q.Memo = m, Q.Portal = t, Q.Profiler = o, Q.StrictMode = n, Q.Suspense = f, Q.SuspenseList = d, Q.isContextConsumer = function(l) {
947
952
  return b(l) === i;
948
953
  }, Q.isContextProvider = function(l) {
949
954
  return b(l) === c;
@@ -954,7 +959,7 @@ function Bo() {
954
959
  }, Q.isFragment = function(l) {
955
960
  return b(l) === r;
956
961
  }, Q.isLazy = function(l) {
957
- return b(l) === d;
962
+ return b(l) === h;
958
963
  }, Q.isMemo = function(l) {
959
964
  return b(l) === m;
960
965
  }, Q.isPortal = function(l) {
@@ -966,9 +971,9 @@ function Bo() {
966
971
  }, Q.isSuspense = function(l) {
967
972
  return b(l) === f;
968
973
  }, Q.isSuspenseList = function(l) {
969
- return b(l) === p;
974
+ return b(l) === d;
970
975
  }, Q.isValidElementType = function(l) {
971
- return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === p || typeof l == "object" && l !== null && (l.$$typeof === d || l.$$typeof === m || l.$$typeof === c || l.$$typeof === i || l.$$typeof === u || l.$$typeof === y || l.getModuleId !== void 0);
976
+ return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === d || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === m || l.$$typeof === c || l.$$typeof === i || l.$$typeof === u || l.$$typeof === y || l.getModuleId !== void 0);
972
977
  }, Q.typeOf = b, Q;
973
978
  }
974
979
  var Z = {};
@@ -977,14 +982,14 @@ function Fo() {
977
982
  return jr || (jr = 1, process.env.NODE_ENV !== "production" && (function() {
978
983
  function e(l) {
979
984
  if (typeof l == "object" && l !== null) {
980
- var w = l.$$typeof;
981
- switch (w) {
985
+ var _ = l.$$typeof;
986
+ switch (_) {
982
987
  case t:
983
988
  switch (l = l.type, l) {
984
989
  case n:
985
990
  case i:
986
991
  case o:
987
- case p:
992
+ case d:
988
993
  case m:
989
994
  case y:
990
995
  return l;
@@ -992,22 +997,22 @@ function Fo() {
992
997
  switch (l = l && l.$$typeof, l) {
993
998
  case u:
994
999
  case f:
1000
+ case p:
995
1001
  case h:
996
- case d:
997
1002
  return l;
998
1003
  case c:
999
1004
  return l;
1000
1005
  default:
1001
- return w;
1006
+ return _;
1002
1007
  }
1003
1008
  }
1004
1009
  case r:
1005
- return w;
1010
+ return _;
1006
1011
  }
1007
1012
  }
1008
1013
  }
1009
- var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.consumer"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.view_transition"), b = /* @__PURE__ */ Symbol.for("react.client.reference");
1010
- Z.ContextConsumer = c, Z.ContextProvider = u, Z.Element = t, Z.ForwardRef = f, Z.Fragment = n, Z.Lazy = h, Z.Memo = d, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = p, Z.SuspenseList = m, Z.isContextConsumer = function(l) {
1014
+ var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.consumer"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.view_transition"), b = /* @__PURE__ */ Symbol.for("react.client.reference");
1015
+ Z.ContextConsumer = c, Z.ContextProvider = u, Z.Element = t, Z.ForwardRef = f, Z.Fragment = n, Z.Lazy = p, Z.Memo = h, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = d, Z.SuspenseList = m, Z.isContextConsumer = function(l) {
1011
1016
  return e(l) === c;
1012
1017
  }, Z.isContextProvider = function(l) {
1013
1018
  return e(l) === u;
@@ -1018,9 +1023,9 @@ function Fo() {
1018
1023
  }, Z.isFragment = function(l) {
1019
1024
  return e(l) === n;
1020
1025
  }, Z.isLazy = function(l) {
1021
- return e(l) === h;
1026
+ return e(l) === p;
1022
1027
  }, Z.isMemo = function(l) {
1023
- return e(l) === d;
1028
+ return e(l) === h;
1024
1029
  }, Z.isPortal = function(l) {
1025
1030
  return e(l) === r;
1026
1031
  }, Z.isProfiler = function(l) {
@@ -1028,11 +1033,11 @@ function Fo() {
1028
1033
  }, Z.isStrictMode = function(l) {
1029
1034
  return e(l) === o;
1030
1035
  }, Z.isSuspense = function(l) {
1031
- return e(l) === p;
1036
+ return e(l) === d;
1032
1037
  }, Z.isSuspenseList = function(l) {
1033
1038
  return e(l) === m;
1034
1039
  }, Z.isValidElementType = function(l) {
1035
- return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === p || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === u || l.$$typeof === c || l.$$typeof === f || l.$$typeof === b || l.getModuleId !== void 0);
1040
+ return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === h || l.$$typeof === u || l.$$typeof === c || l.$$typeof === f || l.$$typeof === b || l.getModuleId !== void 0);
1036
1041
  }, Z.typeOf = e;
1037
1042
  })()), Z;
1038
1043
  }
@@ -1071,28 +1076,28 @@ var Mr;
1071
1076
  function Vo() {
1072
1077
  if (Mr) return J;
1073
1078
  Mr = 1;
1074
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, w = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1075
- function _(E) {
1076
- if (typeof E == "object" && E !== null) {
1077
- var q = E.$$typeof;
1079
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, _ = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, w = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, C = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1080
+ function x(S) {
1081
+ if (typeof S == "object" && S !== null) {
1082
+ var q = S.$$typeof;
1078
1083
  switch (q) {
1079
1084
  case t:
1080
- switch (E = E.type, E) {
1085
+ switch (S = S.type, S) {
1081
1086
  case f:
1082
- case p:
1087
+ case d:
1083
1088
  case n:
1084
1089
  case i:
1085
1090
  case o:
1086
- case d:
1087
- return E;
1091
+ case h:
1092
+ return S;
1088
1093
  default:
1089
- switch (E = E && E.$$typeof, E) {
1094
+ switch (S = S && S.$$typeof, S) {
1090
1095
  case u:
1091
1096
  case m:
1092
1097
  case b:
1093
1098
  case y:
1094
1099
  case c:
1095
- return E;
1100
+ return S;
1096
1101
  default:
1097
1102
  return q;
1098
1103
  }
@@ -1102,47 +1107,47 @@ function Vo() {
1102
1107
  }
1103
1108
  }
1104
1109
  }
1105
- function $(E) {
1106
- return _(E) === p;
1110
+ function R(S) {
1111
+ return x(S) === d;
1107
1112
  }
1108
- return J.AsyncMode = f, J.ConcurrentMode = p, J.ContextConsumer = u, J.ContextProvider = c, J.Element = t, J.ForwardRef = m, J.Fragment = n, J.Lazy = b, J.Memo = y, J.Portal = r, J.Profiler = i, J.StrictMode = o, J.Suspense = d, J.isAsyncMode = function(E) {
1109
- return $(E) || _(E) === f;
1110
- }, J.isConcurrentMode = $, J.isContextConsumer = function(E) {
1111
- return _(E) === u;
1112
- }, J.isContextProvider = function(E) {
1113
- return _(E) === c;
1114
- }, J.isElement = function(E) {
1115
- return typeof E == "object" && E !== null && E.$$typeof === t;
1116
- }, J.isForwardRef = function(E) {
1117
- return _(E) === m;
1118
- }, J.isFragment = function(E) {
1119
- return _(E) === n;
1120
- }, J.isLazy = function(E) {
1121
- return _(E) === b;
1122
- }, J.isMemo = function(E) {
1123
- return _(E) === y;
1124
- }, J.isPortal = function(E) {
1125
- return _(E) === r;
1126
- }, J.isProfiler = function(E) {
1127
- return _(E) === i;
1128
- }, J.isStrictMode = function(E) {
1129
- return _(E) === o;
1130
- }, J.isSuspense = function(E) {
1131
- return _(E) === d;
1132
- }, J.isValidElementType = function(E) {
1133
- return typeof E == "string" || typeof E == "function" || E === n || E === p || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === y || E.$$typeof === c || E.$$typeof === u || E.$$typeof === m || E.$$typeof === w || E.$$typeof === S || E.$$typeof === T || E.$$typeof === l);
1134
- }, J.typeOf = _, J;
1113
+ return J.AsyncMode = f, J.ConcurrentMode = d, J.ContextConsumer = u, J.ContextProvider = c, J.Element = t, J.ForwardRef = m, J.Fragment = n, J.Lazy = b, J.Memo = y, J.Portal = r, J.Profiler = i, J.StrictMode = o, J.Suspense = h, J.isAsyncMode = function(S) {
1114
+ return R(S) || x(S) === f;
1115
+ }, J.isConcurrentMode = R, J.isContextConsumer = function(S) {
1116
+ return x(S) === u;
1117
+ }, J.isContextProvider = function(S) {
1118
+ return x(S) === c;
1119
+ }, J.isElement = function(S) {
1120
+ return typeof S == "object" && S !== null && S.$$typeof === t;
1121
+ }, J.isForwardRef = function(S) {
1122
+ return x(S) === m;
1123
+ }, J.isFragment = function(S) {
1124
+ return x(S) === n;
1125
+ }, J.isLazy = function(S) {
1126
+ return x(S) === b;
1127
+ }, J.isMemo = function(S) {
1128
+ return x(S) === y;
1129
+ }, J.isPortal = function(S) {
1130
+ return x(S) === r;
1131
+ }, J.isProfiler = function(S) {
1132
+ return x(S) === i;
1133
+ }, J.isStrictMode = function(S) {
1134
+ return x(S) === o;
1135
+ }, J.isSuspense = function(S) {
1136
+ return x(S) === h;
1137
+ }, J.isValidElementType = function(S) {
1138
+ return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === h || S === p || typeof S == "object" && S !== null && (S.$$typeof === b || S.$$typeof === y || S.$$typeof === c || S.$$typeof === u || S.$$typeof === m || S.$$typeof === _ || S.$$typeof === w || S.$$typeof === C || S.$$typeof === l);
1139
+ }, J.typeOf = x, J;
1135
1140
  }
1136
1141
  var X = {};
1137
1142
  var Br;
1138
1143
  function Wo() {
1139
1144
  return Br || (Br = 1, process.env.NODE_ENV !== "production" && (function() {
1140
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, w = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1141
- function _(O) {
1145
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, _ = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, w = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, C = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1146
+ function x(O) {
1142
1147
  return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1143
- O === n || O === p || O === i || O === o || O === d || O === h || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === y || O.$$typeof === c || O.$$typeof === u || O.$$typeof === m || O.$$typeof === w || O.$$typeof === S || O.$$typeof === T || O.$$typeof === l);
1148
+ O === n || O === d || O === i || O === o || O === h || O === p || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === y || O.$$typeof === c || O.$$typeof === u || O.$$typeof === m || O.$$typeof === _ || O.$$typeof === w || O.$$typeof === C || O.$$typeof === l);
1144
1149
  }
1145
- function $(O) {
1150
+ function R(O) {
1146
1151
  if (typeof O == "object" && O !== null) {
1147
1152
  var Ee = O.$$typeof;
1148
1153
  switch (Ee) {
@@ -1150,11 +1155,11 @@ function Wo() {
1150
1155
  var Ye = O.type;
1151
1156
  switch (Ye) {
1152
1157
  case f:
1153
- case p:
1158
+ case d:
1154
1159
  case n:
1155
1160
  case i:
1156
1161
  case o:
1157
- case d:
1162
+ case h:
1158
1163
  return Ye;
1159
1164
  default:
1160
1165
  var Be = Ye && Ye.$$typeof;
@@ -1174,47 +1179,47 @@ function Wo() {
1174
1179
  }
1175
1180
  }
1176
1181
  }
1177
- var E = f, q = p, oe = u, ee = c, W = t, a = m, R = n, U = b, j = y, le = r, ae = i, pe = o, be = d, Me = !1;
1182
+ var S = f, q = d, oe = u, ee = c, z = t, a = m, $ = n, P = b, D = y, le = r, ae = i, pe = o, be = h, Me = !1;
1178
1183
  function ze(O) {
1179
- return Me || (Me = !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.")), C(O) || $(O) === f;
1184
+ return Me || (Me = !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.")), E(O) || R(O) === f;
1180
1185
  }
1181
- function C(O) {
1182
- return $(O) === p;
1186
+ function E(O) {
1187
+ return R(O) === d;
1183
1188
  }
1184
1189
  function k(O) {
1185
- return $(O) === u;
1190
+ return R(O) === u;
1186
1191
  }
1187
- function B(O) {
1188
- return $(O) === c;
1192
+ function F(O) {
1193
+ return R(O) === c;
1189
1194
  }
1190
- function M(O) {
1195
+ function B(O) {
1191
1196
  return typeof O == "object" && O !== null && O.$$typeof === t;
1192
1197
  }
1193
- function I(O) {
1194
- return $(O) === m;
1198
+ function N(O) {
1199
+ return R(O) === m;
1195
1200
  }
1196
- function z(O) {
1197
- return $(O) === n;
1201
+ function Y(O) {
1202
+ return R(O) === n;
1198
1203
  }
1199
- function N(O) {
1200
- return $(O) === b;
1204
+ function j(O) {
1205
+ return R(O) === b;
1201
1206
  }
1202
- function D(O) {
1203
- return $(O) === y;
1207
+ function M(O) {
1208
+ return R(O) === y;
1204
1209
  }
1205
- function F(O) {
1206
- return $(O) === r;
1210
+ function L(O) {
1211
+ return R(O) === r;
1207
1212
  }
1208
1213
  function G(O) {
1209
- return $(O) === i;
1214
+ return R(O) === i;
1210
1215
  }
1211
- function L(O) {
1212
- return $(O) === o;
1216
+ function V(O) {
1217
+ return R(O) === o;
1213
1218
  }
1214
1219
  function me(O) {
1215
- return $(O) === d;
1220
+ return R(O) === h;
1216
1221
  }
1217
- X.AsyncMode = E, X.ConcurrentMode = q, X.ContextConsumer = oe, X.ContextProvider = ee, X.Element = W, X.ForwardRef = a, X.Fragment = R, X.Lazy = U, X.Memo = j, X.Portal = le, X.Profiler = ae, X.StrictMode = pe, X.Suspense = be, X.isAsyncMode = ze, X.isConcurrentMode = C, X.isContextConsumer = k, X.isContextProvider = B, X.isElement = M, X.isForwardRef = I, X.isFragment = z, X.isLazy = N, X.isMemo = D, X.isPortal = F, X.isProfiler = G, X.isStrictMode = L, X.isSuspense = me, X.isValidElementType = _, X.typeOf = $;
1222
+ X.AsyncMode = S, X.ConcurrentMode = q, X.ContextConsumer = oe, X.ContextProvider = ee, X.Element = z, X.ForwardRef = a, X.Fragment = $, X.Lazy = P, X.Memo = D, X.Portal = le, X.Profiler = ae, X.StrictMode = pe, X.Suspense = be, X.isAsyncMode = ze, X.isConcurrentMode = E, X.isContextConsumer = k, X.isContextProvider = F, X.isElement = B, X.isForwardRef = N, X.isFragment = Y, X.isLazy = j, X.isMemo = M, X.isPortal = L, X.isProfiler = G, X.isStrictMode = V, X.isSuspense = me, X.isValidElementType = x, X.typeOf = R;
1218
1223
  })()), X;
1219
1224
  }
1220
1225
  var Fr;
@@ -1245,23 +1250,23 @@ function zo() {
1245
1250
  });
1246
1251
  if (f.join("") !== "0123456789")
1247
1252
  return !1;
1248
- var p = {};
1253
+ var d = {};
1249
1254
  return "abcdefghijklmnopqrst".split("").forEach(function(m) {
1250
- p[m] = m;
1251
- }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
1255
+ d[m] = m;
1256
+ }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
1252
1257
  } catch {
1253
1258
  return !1;
1254
1259
  }
1255
1260
  }
1256
1261
  return Ut = o() ? Object.assign : function(i, c) {
1257
- for (var u, f = n(i), p, m = 1; m < arguments.length; m++) {
1262
+ for (var u, f = n(i), d, m = 1; m < arguments.length; m++) {
1258
1263
  u = Object(arguments[m]);
1259
- for (var d in u)
1260
- t.call(u, d) && (f[d] = u[d]);
1264
+ for (var h in u)
1265
+ t.call(u, h) && (f[h] = u[h]);
1261
1266
  if (e) {
1262
- p = e(u);
1263
- for (var h = 0; h < p.length; h++)
1264
- r.call(u, p[h]) && (f[p[h]] = u[p[h]]);
1267
+ d = e(u);
1268
+ for (var p = 0; p < d.length; p++)
1269
+ r.call(u, d[p]) && (f[d[p]] = u[d[p]]);
1265
1270
  }
1266
1271
  }
1267
1272
  return f;
@@ -1295,29 +1300,29 @@ function Yo() {
1295
1300
  }
1296
1301
  };
1297
1302
  }
1298
- function o(i, c, u, f, p) {
1303
+ function o(i, c, u, f, d) {
1299
1304
  if (process.env.NODE_ENV !== "production") {
1300
1305
  for (var m in i)
1301
1306
  if (n(i, m)) {
1302
- var d;
1307
+ var h;
1303
1308
  try {
1304
1309
  if (typeof i[m] != "function") {
1305
- var h = Error(
1310
+ var p = Error(
1306
1311
  (f || "React class") + ": " + u + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
1307
1312
  );
1308
- throw h.name = "Invariant Violation", h;
1313
+ throw p.name = "Invariant Violation", p;
1309
1314
  }
1310
- d = i[m](c, m, f, u, null, t);
1315
+ h = i[m](c, m, f, u, null, t);
1311
1316
  } catch (b) {
1312
- d = b;
1317
+ h = b;
1313
1318
  }
1314
- if (d && !(d instanceof Error) && e(
1315
- (f || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1316
- ), d instanceof Error && !(d.message in r)) {
1317
- r[d.message] = !0;
1318
- var y = p ? p() : "";
1319
+ if (h && !(h instanceof Error) && e(
1320
+ (f || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1321
+ ), h instanceof Error && !(h.message in r)) {
1322
+ r[h.message] = !0;
1323
+ var y = d ? d() : "";
1319
1324
  e(
1320
- "Failed " + u + " type: " + d.message + (y ?? "")
1325
+ "Failed " + u + " type: " + h.message + (y ?? "")
1321
1326
  );
1322
1327
  }
1323
1328
  }
@@ -1345,261 +1350,261 @@ function Uo() {
1345
1350
  return null;
1346
1351
  }
1347
1352
  return Ht = function(u, f) {
1348
- var p = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1349
- function d(C) {
1350
- var k = C && (p && C[p] || C[m]);
1353
+ var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1354
+ function h(E) {
1355
+ var k = E && (d && E[d] || E[m]);
1351
1356
  if (typeof k == "function")
1352
1357
  return k;
1353
1358
  }
1354
- var h = "<<anonymous>>", y = {
1355
- array: S("array"),
1356
- bigint: S("bigint"),
1357
- bool: S("boolean"),
1358
- func: S("function"),
1359
- number: S("number"),
1360
- object: S("object"),
1361
- string: S("string"),
1362
- symbol: S("symbol"),
1363
- any: T(),
1364
- arrayOf: _,
1365
- element: $(),
1366
- elementType: E(),
1359
+ var p = "<<anonymous>>", y = {
1360
+ array: w("array"),
1361
+ bigint: w("bigint"),
1362
+ bool: w("boolean"),
1363
+ func: w("function"),
1364
+ number: w("number"),
1365
+ object: w("object"),
1366
+ string: w("string"),
1367
+ symbol: w("symbol"),
1368
+ any: C(),
1369
+ arrayOf: x,
1370
+ element: R(),
1371
+ elementType: S(),
1367
1372
  instanceOf: q,
1368
1373
  node: a(),
1369
1374
  objectOf: ee,
1370
1375
  oneOf: oe,
1371
- oneOfType: W,
1372
- shape: U,
1373
- exact: j
1376
+ oneOfType: z,
1377
+ shape: P,
1378
+ exact: D
1374
1379
  };
1375
- function b(C, k) {
1376
- return C === k ? C !== 0 || 1 / C === 1 / k : C !== C && k !== k;
1380
+ function b(E, k) {
1381
+ return E === k ? E !== 0 || 1 / E === 1 / k : E !== E && k !== k;
1377
1382
  }
1378
- function l(C, k) {
1379
- this.message = C, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
1383
+ function l(E, k) {
1384
+ this.message = E, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
1380
1385
  }
1381
1386
  l.prototype = Error.prototype;
1382
- function w(C) {
1387
+ function _(E) {
1383
1388
  if (process.env.NODE_ENV !== "production")
1384
- var k = {}, B = 0;
1385
- function M(z, N, D, F, G, L, me) {
1386
- if (F = F || h, L = L || D, me !== r) {
1389
+ var k = {}, F = 0;
1390
+ function B(Y, j, M, L, G, V, me) {
1391
+ if (L = L || p, V = V || M, me !== r) {
1387
1392
  if (f) {
1388
1393
  var O = new Error(
1389
1394
  "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"
1390
1395
  );
1391
1396
  throw O.name = "Invariant Violation", O;
1392
1397
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1393
- var Ee = F + ":" + D;
1398
+ var Ee = L + ":" + M;
1394
1399
  !k[Ee] && // Avoid spamming the console because they are often not actionable except for lib authors
1395
- B < 3 && (i(
1396
- "You are manually calling a React.PropTypes validation function for the `" + L + "` 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."
1397
- ), k[Ee] = !0, B++);
1400
+ F < 3 && (i(
1401
+ "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + L + "`. 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."
1402
+ ), k[Ee] = !0, F++);
1398
1403
  }
1399
1404
  }
1400
- return N[D] == null ? z ? N[D] === null ? new l("The " + G + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new l("The " + G + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : C(N, D, F, G, L);
1405
+ return j[M] == null ? Y ? j[M] === null ? new l("The " + G + " `" + V + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new l("The " + G + " `" + V + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : E(j, M, L, G, V);
1401
1406
  }
1402
- var I = M.bind(null, !1);
1403
- return I.isRequired = M.bind(null, !0), I;
1407
+ var N = B.bind(null, !1);
1408
+ return N.isRequired = B.bind(null, !0), N;
1404
1409
  }
1405
- function S(C) {
1406
- function k(B, M, I, z, N, D) {
1407
- var F = B[M], G = pe(F);
1408
- if (G !== C) {
1409
- var L = be(F);
1410
+ function w(E) {
1411
+ function k(F, B, N, Y, j, M) {
1412
+ var L = F[B], G = pe(L);
1413
+ if (G !== E) {
1414
+ var V = be(L);
1410
1415
  return new l(
1411
- "Invalid " + z + " `" + N + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected ") + ("`" + C + "`."),
1412
- { expectedType: C }
1416
+ "Invalid " + Y + " `" + j + "` of type " + ("`" + V + "` supplied to `" + N + "`, expected ") + ("`" + E + "`."),
1417
+ { expectedType: E }
1413
1418
  );
1414
1419
  }
1415
1420
  return null;
1416
1421
  }
1417
- return w(k);
1422
+ return _(k);
1418
1423
  }
1419
- function T() {
1420
- return w(c);
1424
+ function C() {
1425
+ return _(c);
1421
1426
  }
1422
- function _(C) {
1423
- function k(B, M, I, z, N) {
1424
- if (typeof C != "function")
1425
- return new l("Property `" + N + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1426
- var D = B[M];
1427
- if (!Array.isArray(D)) {
1428
- var F = pe(D);
1429
- return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an array."));
1427
+ function x(E) {
1428
+ function k(F, B, N, Y, j) {
1429
+ if (typeof E != "function")
1430
+ return new l("Property `" + j + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
1431
+ var M = F[B];
1432
+ if (!Array.isArray(M)) {
1433
+ var L = pe(M);
1434
+ return new l("Invalid " + Y + " `" + j + "` of type " + ("`" + L + "` supplied to `" + N + "`, expected an array."));
1430
1435
  }
1431
- for (var G = 0; G < D.length; G++) {
1432
- var L = C(D, G, I, z, N + "[" + G + "]", r);
1433
- if (L instanceof Error)
1434
- return L;
1436
+ for (var G = 0; G < M.length; G++) {
1437
+ var V = E(M, G, N, Y, j + "[" + G + "]", r);
1438
+ if (V instanceof Error)
1439
+ return V;
1435
1440
  }
1436
1441
  return null;
1437
1442
  }
1438
- return w(k);
1443
+ return _(k);
1439
1444
  }
1440
- function $() {
1441
- function C(k, B, M, I, z) {
1442
- var N = k[B];
1443
- if (!u(N)) {
1444
- var D = pe(N);
1445
- return new l("Invalid " + I + " `" + z + "` of type " + ("`" + D + "` supplied to `" + M + "`, expected a single ReactElement."));
1445
+ function R() {
1446
+ function E(k, F, B, N, Y) {
1447
+ var j = k[F];
1448
+ if (!u(j)) {
1449
+ var M = pe(j);
1450
+ return new l("Invalid " + N + " `" + Y + "` of type " + ("`" + M + "` supplied to `" + B + "`, expected a single ReactElement."));
1446
1451
  }
1447
1452
  return null;
1448
1453
  }
1449
- return w(C);
1454
+ return _(E);
1450
1455
  }
1451
- function E() {
1452
- function C(k, B, M, I, z) {
1453
- var N = k[B];
1454
- if (!e.isValidElementType(N)) {
1455
- var D = pe(N);
1456
- return new l("Invalid " + I + " `" + z + "` of type " + ("`" + D + "` supplied to `" + M + "`, expected a single ReactElement type."));
1456
+ function S() {
1457
+ function E(k, F, B, N, Y) {
1458
+ var j = k[F];
1459
+ if (!e.isValidElementType(j)) {
1460
+ var M = pe(j);
1461
+ return new l("Invalid " + N + " `" + Y + "` of type " + ("`" + M + "` supplied to `" + B + "`, expected a single ReactElement type."));
1457
1462
  }
1458
1463
  return null;
1459
1464
  }
1460
- return w(C);
1465
+ return _(E);
1461
1466
  }
1462
- function q(C) {
1463
- function k(B, M, I, z, N) {
1464
- if (!(B[M] instanceof C)) {
1465
- var D = C.name || h, F = ze(B[M]);
1466
- return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected ") + ("instance of `" + D + "`."));
1467
+ function q(E) {
1468
+ function k(F, B, N, Y, j) {
1469
+ if (!(F[B] instanceof E)) {
1470
+ var M = E.name || p, L = ze(F[B]);
1471
+ return new l("Invalid " + Y + " `" + j + "` of type " + ("`" + L + "` supplied to `" + N + "`, expected ") + ("instance of `" + M + "`."));
1467
1472
  }
1468
1473
  return null;
1469
1474
  }
1470
- return w(k);
1475
+ return _(k);
1471
1476
  }
1472
- function oe(C) {
1473
- if (!Array.isArray(C))
1477
+ function oe(E) {
1478
+ if (!Array.isArray(E))
1474
1479
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1475
1480
  "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])."
1476
1481
  ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
1477
- function k(B, M, I, z, N) {
1478
- for (var D = B[M], F = 0; F < C.length; F++)
1479
- if (b(D, C[F]))
1482
+ function k(F, B, N, Y, j) {
1483
+ for (var M = F[B], L = 0; L < E.length; L++)
1484
+ if (b(M, E[L]))
1480
1485
  return null;
1481
- var G = JSON.stringify(C, function(me, O) {
1486
+ var G = JSON.stringify(E, function(me, O) {
1482
1487
  var Ee = be(O);
1483
1488
  return Ee === "symbol" ? String(O) : O;
1484
1489
  });
1485
- return new l("Invalid " + z + " `" + N + "` of value `" + String(D) + "` " + ("supplied to `" + I + "`, expected one of " + G + "."));
1490
+ return new l("Invalid " + Y + " `" + j + "` of value `" + String(M) + "` " + ("supplied to `" + N + "`, expected one of " + G + "."));
1486
1491
  }
1487
- return w(k);
1492
+ return _(k);
1488
1493
  }
1489
- function ee(C) {
1490
- function k(B, M, I, z, N) {
1491
- if (typeof C != "function")
1492
- return new l("Property `" + N + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1493
- var D = B[M], F = pe(D);
1494
- if (F !== "object")
1495
- return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an object."));
1496
- for (var G in D)
1497
- if (n(D, G)) {
1498
- var L = C(D, G, I, z, N + "." + G, r);
1499
- if (L instanceof Error)
1500
- return L;
1494
+ function ee(E) {
1495
+ function k(F, B, N, Y, j) {
1496
+ if (typeof E != "function")
1497
+ return new l("Property `" + j + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
1498
+ var M = F[B], L = pe(M);
1499
+ if (L !== "object")
1500
+ return new l("Invalid " + Y + " `" + j + "` of type " + ("`" + L + "` supplied to `" + N + "`, expected an object."));
1501
+ for (var G in M)
1502
+ if (n(M, G)) {
1503
+ var V = E(M, G, N, Y, j + "." + G, r);
1504
+ if (V instanceof Error)
1505
+ return V;
1501
1506
  }
1502
1507
  return null;
1503
1508
  }
1504
- return w(k);
1509
+ return _(k);
1505
1510
  }
1506
- function W(C) {
1507
- if (!Array.isArray(C))
1511
+ function z(E) {
1512
+ if (!Array.isArray(E))
1508
1513
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c;
1509
- for (var k = 0; k < C.length; k++) {
1510
- var B = C[k];
1511
- if (typeof B != "function")
1514
+ for (var k = 0; k < E.length; k++) {
1515
+ var F = E[k];
1516
+ if (typeof F != "function")
1512
1517
  return i(
1513
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Me(B) + " at index " + k + "."
1518
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Me(F) + " at index " + k + "."
1514
1519
  ), c;
1515
1520
  }
1516
- function M(I, z, N, D, F) {
1517
- for (var G = [], L = 0; L < C.length; L++) {
1518
- var me = C[L], O = me(I, z, N, D, F, r);
1521
+ function B(N, Y, j, M, L) {
1522
+ for (var G = [], V = 0; V < E.length; V++) {
1523
+ var me = E[V], O = me(N, Y, j, M, L, r);
1519
1524
  if (O == null)
1520
1525
  return null;
1521
1526
  O.data && n(O.data, "expectedType") && G.push(O.data.expectedType);
1522
1527
  }
1523
1528
  var Ee = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
1524
- return new l("Invalid " + D + " `" + F + "` supplied to " + ("`" + N + "`" + Ee + "."));
1529
+ return new l("Invalid " + M + " `" + L + "` supplied to " + ("`" + j + "`" + Ee + "."));
1525
1530
  }
1526
- return w(M);
1531
+ return _(B);
1527
1532
  }
1528
1533
  function a() {
1529
- function C(k, B, M, I, z) {
1530
- return le(k[B]) ? null : new l("Invalid " + I + " `" + z + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
1534
+ function E(k, F, B, N, Y) {
1535
+ return le(k[F]) ? null : new l("Invalid " + N + " `" + Y + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
1531
1536
  }
1532
- return w(C);
1537
+ return _(E);
1533
1538
  }
1534
- function R(C, k, B, M, I) {
1539
+ function $(E, k, F, B, N) {
1535
1540
  return new l(
1536
- (C || "React class") + ": " + k + " type `" + B + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1541
+ (E || "React class") + ": " + k + " type `" + F + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
1537
1542
  );
1538
1543
  }
1539
- function U(C) {
1540
- function k(B, M, I, z, N) {
1541
- var D = B[M], F = pe(D);
1542
- if (F !== "object")
1543
- return new l("Invalid " + z + " `" + N + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1544
- for (var G in C) {
1545
- var L = C[G];
1546
- if (typeof L != "function")
1547
- return R(I, z, N, G, be(L));
1548
- var me = L(D, G, I, z, N + "." + G, r);
1544
+ function P(E) {
1545
+ function k(F, B, N, Y, j) {
1546
+ var M = F[B], L = pe(M);
1547
+ if (L !== "object")
1548
+ return new l("Invalid " + Y + " `" + j + "` of type `" + L + "` " + ("supplied to `" + N + "`, expected `object`."));
1549
+ for (var G in E) {
1550
+ var V = E[G];
1551
+ if (typeof V != "function")
1552
+ return $(N, Y, j, G, be(V));
1553
+ var me = V(M, G, N, Y, j + "." + G, r);
1549
1554
  if (me)
1550
1555
  return me;
1551
1556
  }
1552
1557
  return null;
1553
1558
  }
1554
- return w(k);
1559
+ return _(k);
1555
1560
  }
1556
- function j(C) {
1557
- function k(B, M, I, z, N) {
1558
- var D = B[M], F = pe(D);
1559
- if (F !== "object")
1560
- return new l("Invalid " + z + " `" + N + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1561
- var G = t({}, B[M], C);
1562
- for (var L in G) {
1563
- var me = C[L];
1564
- if (n(C, L) && typeof me != "function")
1565
- return R(I, z, N, L, be(me));
1561
+ function D(E) {
1562
+ function k(F, B, N, Y, j) {
1563
+ var M = F[B], L = pe(M);
1564
+ if (L !== "object")
1565
+ return new l("Invalid " + Y + " `" + j + "` of type `" + L + "` " + ("supplied to `" + N + "`, expected `object`."));
1566
+ var G = t({}, F[B], E);
1567
+ for (var V in G) {
1568
+ var me = E[V];
1569
+ if (n(E, V) && typeof me != "function")
1570
+ return $(N, Y, j, V, be(me));
1566
1571
  if (!me)
1567
1572
  return new l(
1568
- "Invalid " + z + " `" + N + "` key `" + L + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(B[M], null, " ") + `
1569
- Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1573
+ "Invalid " + Y + " `" + j + "` key `" + V + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(F[B], null, " ") + `
1574
+ Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
1570
1575
  );
1571
- var O = me(D, L, I, z, N + "." + L, r);
1576
+ var O = me(M, V, N, Y, j + "." + V, r);
1572
1577
  if (O)
1573
1578
  return O;
1574
1579
  }
1575
1580
  return null;
1576
1581
  }
1577
- return w(k);
1582
+ return _(k);
1578
1583
  }
1579
- function le(C) {
1580
- switch (typeof C) {
1584
+ function le(E) {
1585
+ switch (typeof E) {
1581
1586
  case "number":
1582
1587
  case "string":
1583
1588
  case "undefined":
1584
1589
  return !0;
1585
1590
  case "boolean":
1586
- return !C;
1591
+ return !E;
1587
1592
  case "object":
1588
- if (Array.isArray(C))
1589
- return C.every(le);
1590
- if (C === null || u(C))
1593
+ if (Array.isArray(E))
1594
+ return E.every(le);
1595
+ if (E === null || u(E))
1591
1596
  return !0;
1592
- var k = d(C);
1597
+ var k = h(E);
1593
1598
  if (k) {
1594
- var B = k.call(C), M;
1595
- if (k !== C.entries) {
1596
- for (; !(M = B.next()).done; )
1597
- if (!le(M.value))
1599
+ var F = k.call(E), B;
1600
+ if (k !== E.entries) {
1601
+ for (; !(B = F.next()).done; )
1602
+ if (!le(B.value))
1598
1603
  return !1;
1599
1604
  } else
1600
- for (; !(M = B.next()).done; ) {
1601
- var I = M.value;
1602
- if (I && !le(I[1]))
1605
+ for (; !(B = F.next()).done; ) {
1606
+ var N = B.value;
1607
+ if (N && !le(N[1]))
1603
1608
  return !1;
1604
1609
  }
1605
1610
  } else
@@ -1609,27 +1614,27 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1609
1614
  return !1;
1610
1615
  }
1611
1616
  }
1612
- function ae(C, k) {
1613
- return C === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
1617
+ function ae(E, k) {
1618
+ return E === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
1614
1619
  }
1615
- function pe(C) {
1616
- var k = typeof C;
1617
- return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : ae(k, C) ? "symbol" : k;
1620
+ function pe(E) {
1621
+ var k = typeof E;
1622
+ return Array.isArray(E) ? "array" : E instanceof RegExp ? "object" : ae(k, E) ? "symbol" : k;
1618
1623
  }
1619
- function be(C) {
1620
- if (typeof C > "u" || C === null)
1621
- return "" + C;
1622
- var k = pe(C);
1624
+ function be(E) {
1625
+ if (typeof E > "u" || E === null)
1626
+ return "" + E;
1627
+ var k = pe(E);
1623
1628
  if (k === "object") {
1624
- if (C instanceof Date)
1629
+ if (E instanceof Date)
1625
1630
  return "date";
1626
- if (C instanceof RegExp)
1631
+ if (E instanceof RegExp)
1627
1632
  return "regexp";
1628
1633
  }
1629
1634
  return k;
1630
1635
  }
1631
- function Me(C) {
1632
- var k = be(C);
1636
+ function Me(E) {
1637
+ var k = be(E);
1633
1638
  switch (k) {
1634
1639
  case "array":
1635
1640
  case "object":
@@ -1642,8 +1647,8 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1642
1647
  return k;
1643
1648
  }
1644
1649
  }
1645
- function ze(C) {
1646
- return !C.constructor || !C.constructor.name ? h : C.constructor.name;
1650
+ function ze(E) {
1651
+ return !E.constructor || !E.constructor.name ? p : E.constructor.name;
1647
1652
  }
1648
1653
  return y.checkPropTypes = o, y.resetWarningCache = o.resetWarningCache, y.PropTypes = y, y;
1649
1654
  }, Ht;
@@ -1658,12 +1663,12 @@ function Go() {
1658
1663
  function r() {
1659
1664
  }
1660
1665
  return r.resetWarningCache = t, Jt = function() {
1661
- function n(c, u, f, p, m, d) {
1662
- if (d !== e) {
1663
- var h = new Error(
1666
+ function n(c, u, f, d, m, h) {
1667
+ if (h !== e) {
1668
+ var p = new Error(
1664
1669
  "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"
1665
1670
  );
1666
- throw h.name = "Invariant Violation", h;
1671
+ throw p.name = "Invariant Violation", p;
1667
1672
  }
1668
1673
  }
1669
1674
  n.isRequired = n;
@@ -1779,8 +1784,8 @@ function Jo(e, t, r = void 0) {
1779
1784
  const i = e[o];
1780
1785
  let c = "", u = !0;
1781
1786
  for (let f = 0; f < i.length; f += 1) {
1782
- const p = i[f];
1783
- p && (c += (u === !0 ? "" : " ") + t(p), u = !1, r && r[p] && (c += " " + r[p]));
1787
+ const d = i[f];
1788
+ d && (c += (u === !0 ? "" : " ") + t(d), u = !1, r && r[d] && (c += " " + r[d]));
1784
1789
  }
1785
1790
  n[o] = c;
1786
1791
  }
@@ -1971,11 +1976,11 @@ function fe(e) {
1971
1976
  } = e, i = (c) => {
1972
1977
  if (c[t] == null)
1973
1978
  return null;
1974
- const u = c[t], f = c.theme, p = kt(f, n) || {};
1975
- return ke(c, u, (d) => {
1976
- let h = _t(p, o, d);
1977
- return d === h && typeof d == "string" && (h = _t(p, o, `${t}${d === "default" ? "" : We(d)}`, d)), r === !1 ? h : {
1978
- [r]: h
1979
+ const u = c[t], f = c.theme, d = kt(f, n) || {};
1980
+ return ke(c, u, (h) => {
1981
+ let p = _t(d, o, h);
1982
+ return h === p && typeof h == "string" && (p = _t(d, o, `${t}${h === "default" ? "" : We(h)}`, h)), r === !1 ? p : {
1983
+ [r]: p
1979
1984
  };
1980
1985
  });
1981
1986
  };
@@ -2520,20 +2525,20 @@ function qi() {
2520
2525
  };
2521
2526
  const {
2522
2527
  cssProperty: f = r,
2523
- themeKey: p,
2528
+ themeKey: d,
2524
2529
  transform: m,
2525
- style: d
2530
+ style: h
2526
2531
  } = u;
2527
2532
  if (n == null)
2528
2533
  return null;
2529
- if (p === "typography" && n === "inherit")
2534
+ if (d === "typography" && n === "inherit")
2530
2535
  return {
2531
2536
  [r]: n
2532
2537
  };
2533
- const h = kt(o, p) || {};
2534
- return d ? d(c) : ke(c, n, (b) => {
2535
- let l = _t(h, m, b);
2536
- return b === l && typeof b == "string" && (l = _t(h, m, `${r}${b === "default" ? "" : We(b)}`, b)), f === !1 ? l : {
2538
+ const p = kt(o, d) || {};
2539
+ return h ? h(c) : ke(c, n, (b) => {
2540
+ let l = _t(p, m, b);
2541
+ return b === l && typeof b == "string" && (l = _t(p, m, `${r}${b === "default" ? "" : We(b)}`, b)), f === !1 ? l : {
2537
2542
  [f]: l
2538
2543
  };
2539
2544
  });
@@ -2548,38 +2553,38 @@ function qi() {
2548
2553
  return null;
2549
2554
  const c = o.unstable_sxConfig ?? Bt;
2550
2555
  function u(f) {
2551
- let p = f;
2556
+ let d = f;
2552
2557
  if (typeof f == "function")
2553
- p = f(o);
2558
+ d = f(o);
2554
2559
  else if (typeof f != "object")
2555
2560
  return f;
2556
- if (!p)
2561
+ if (!d)
2557
2562
  return null;
2558
- const m = si(o.breakpoints), d = Object.keys(m);
2559
- let h = m;
2560
- return Object.keys(p).forEach((y) => {
2561
- const b = Gi(p[y], o);
2563
+ const m = si(o.breakpoints), h = Object.keys(m);
2564
+ let p = m;
2565
+ return Object.keys(d).forEach((y) => {
2566
+ const b = Gi(d[y], o);
2562
2567
  if (b != null)
2563
2568
  if (typeof b == "object")
2564
2569
  if (c[y])
2565
- h = st(h, e(y, b, o, c));
2570
+ p = st(p, e(y, b, o, c));
2566
2571
  else {
2567
2572
  const l = ke({
2568
2573
  theme: o
2569
- }, b, (w) => ({
2570
- [y]: w
2574
+ }, b, (_) => ({
2575
+ [y]: _
2571
2576
  }));
2572
- Ui(l, b) ? h[y] = t({
2577
+ Ui(l, b) ? p[y] = t({
2573
2578
  sx: b,
2574
2579
  theme: o,
2575
2580
  nested: !0
2576
- }) : h = st(h, l);
2581
+ }) : p = st(p, l);
2577
2582
  }
2578
2583
  else
2579
- h = st(h, e(y, b, o, c));
2584
+ p = st(p, e(y, b, o, c));
2580
2585
  }), !i && o.modularCssLayers ? {
2581
- "@layer sx": Hr(o, Xr(d, h))
2582
- } : Hr(o, Xr(d, h));
2586
+ "@layer sx": Hr(o, Xr(h, p))
2587
+ } : Hr(o, Xr(h, p));
2583
2588
  }
2584
2589
  return Array.isArray(n) ? n.map(u) : u(n);
2585
2590
  }
@@ -2734,15 +2739,15 @@ function Zi(e, t, r) {
2734
2739
  for (var f = 0; f < c.length; f++)
2735
2740
  Zr(c[f]) && (n += Xt(i) + ":" + en(i, c[f]) + ";");
2736
2741
  else {
2737
- var p = Ot(e, t, c);
2742
+ var d = Ot(e, t, c);
2738
2743
  switch (i) {
2739
2744
  case "animation":
2740
2745
  case "animationName": {
2741
- n += Xt(i) + ":" + p + ";";
2746
+ n += Xt(i) + ":" + d + ";";
2742
2747
  break;
2743
2748
  }
2744
2749
  default:
2745
- n += i + "{" + p + "}";
2750
+ n += i + "{" + d + "}";
2746
2751
  }
2747
2752
  }
2748
2753
  }
@@ -2767,11 +2772,11 @@ function ea(e, t, r) {
2767
2772
  o += f[u];
2768
2773
  }
2769
2774
  tn.lastIndex = 0;
2770
- for (var p = "", m; (m = tn.exec(o)) !== null; )
2771
- p += "-" + m[1];
2772
- var d = Ki(o) + p;
2775
+ for (var d = "", m; (m = tn.exec(o)) !== null; )
2776
+ d += "-" + m[1];
2777
+ var h = Ki(o) + d;
2773
2778
  return {
2774
- name: d,
2779
+ name: h,
2775
2780
  styles: o,
2776
2781
  next: Pe
2777
2782
  };
@@ -2821,31 +2826,31 @@ function oa(e) {
2821
2826
  step: n = 5,
2822
2827
  ...o
2823
2828
  } = e, i = na(t), c = Object.keys(i);
2824
- function u(h) {
2825
- return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r})`;
2829
+ function u(p) {
2830
+ return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
2826
2831
  }
2827
- function f(h) {
2828
- return `@media (max-width:${(typeof t[h] == "number" ? t[h] : h) - n / 100}${r})`;
2832
+ function f(p) {
2833
+ return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
2829
2834
  }
2830
- function p(h, y) {
2835
+ function d(p, y) {
2831
2836
  const b = c.indexOf(y);
2832
- return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r}) and (max-width:${(b !== -1 && typeof t[c[b]] == "number" ? t[c[b]] : y) - n / 100}${r})`;
2837
+ return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(b !== -1 && typeof t[c[b]] == "number" ? t[c[b]] : y) - n / 100}${r})`;
2833
2838
  }
2834
- function m(h) {
2835
- return c.indexOf(h) + 1 < c.length ? p(h, c[c.indexOf(h) + 1]) : u(h);
2839
+ function m(p) {
2840
+ return c.indexOf(p) + 1 < c.length ? d(p, c[c.indexOf(p) + 1]) : u(p);
2836
2841
  }
2837
- function d(h) {
2838
- const y = c.indexOf(h);
2839
- return y === 0 ? u(c[1]) : y === c.length - 1 ? f(c[y]) : p(h, c[c.indexOf(h) + 1]).replace("@media", "@media not all and");
2842
+ function h(p) {
2843
+ const y = c.indexOf(p);
2844
+ return y === 0 ? u(c[1]) : y === c.length - 1 ? f(c[y]) : d(p, c[c.indexOf(p) + 1]).replace("@media", "@media not all and");
2840
2845
  }
2841
2846
  return {
2842
2847
  keys: c,
2843
2848
  values: i,
2844
2849
  up: u,
2845
2850
  down: f,
2846
- between: p,
2851
+ between: d,
2847
2852
  only: m,
2848
- not: d,
2853
+ not: h,
2849
2854
  unit: r,
2850
2855
  ...o
2851
2856
  };
@@ -2884,7 +2889,7 @@ function On(e = {}, ...t) {
2884
2889
  shape: i = {},
2885
2890
  ...c
2886
2891
  } = e, u = oa(r), f = _n(o);
2887
- let p = Se({
2892
+ let d = Se({
2888
2893
  breakpoints: u,
2889
2894
  direction: "ltr",
2890
2895
  components: {},
@@ -2899,15 +2904,15 @@ function On(e = {}, ...t) {
2899
2904
  ...i
2900
2905
  }
2901
2906
  }, c);
2902
- return p = ii(p), p.applyStyles = aa, p = t.reduce((m, d) => Se(m, d), p), p.unstable_sxConfig = {
2907
+ return d = ii(d), d.applyStyles = aa, d = t.reduce((m, h) => Se(m, h), d), d.unstable_sxConfig = {
2903
2908
  ...Bt,
2904
2909
  ...c?.unstable_sxConfig
2905
- }, p.unstable_sx = function(d) {
2910
+ }, d.unstable_sx = function(h) {
2906
2911
  return et({
2907
- sx: d,
2912
+ sx: h,
2908
2913
  theme: this
2909
2914
  });
2910
- }, p;
2915
+ }, d;
2911
2916
  }
2912
2917
  function Rn(e) {
2913
2918
  const {
@@ -2990,26 +2995,26 @@ function ua(e = {}) {
2990
2995
  return (u, f = {}) => {
2991
2996
  ra(u, (q) => q.filter((oe) => oe !== et));
2992
2997
  const {
2993
- name: p,
2998
+ name: d,
2994
2999
  slot: m,
2995
- skipVariantsResolver: d,
2996
- skipSx: h,
3000
+ skipVariantsResolver: h,
3001
+ skipSx: p,
2997
3002
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2998
3003
  // For more details: https://github.com/mui/material-ui/pull/37908
2999
3004
  overridesResolver: y = ca(kn(m)),
3000
3005
  ...b
3001
- } = f, l = p && p.startsWith("Mui") || m ? "components" : "custom", w = d !== void 0 ? d : (
3006
+ } = f, l = d && d.startsWith("Mui") || m ? "components" : "custom", _ = h !== void 0 ? h : (
3002
3007
  // TODO v6: remove `Root` in the next major release
3003
3008
  // For more details: https://github.com/mui/material-ui/pull/37908
3004
3009
  m && m !== "Root" && m !== "root" || !1
3005
- ), S = h || !1;
3006
- let T = Qt;
3007
- m === "Root" || m === "root" ? T = n : m ? T = o : ma(u) && (T = void 0);
3008
- const _ = ta(u, {
3009
- shouldForwardProp: T,
3010
- label: da(p, m),
3010
+ ), w = p || !1;
3011
+ let C = Qt;
3012
+ m === "Root" || m === "root" ? C = n : m ? C = o : ma(u) && (C = void 0);
3013
+ const x = ta(u, {
3014
+ shouldForwardProp: C,
3015
+ label: da(d, m),
3011
3016
  ...b
3012
- }), $ = (q) => {
3017
+ }), R = (q) => {
3013
3018
  if (q.__emotion_real === q)
3014
3019
  return q;
3015
3020
  if (typeof q == "function")
@@ -3018,33 +3023,33 @@ function ua(e = {}) {
3018
3023
  };
3019
3024
  if (Ae(q)) {
3020
3025
  const oe = Rn(q);
3021
- return function(W) {
3022
- return oe.variants ? Ct(W, oe, W.theme.modularCssLayers ? l : void 0) : W.theme.modularCssLayers ? Le(oe.style, l) : oe.style;
3026
+ return function(z) {
3027
+ return oe.variants ? Ct(z, oe, z.theme.modularCssLayers ? l : void 0) : z.theme.modularCssLayers ? Le(oe.style, l) : oe.style;
3023
3028
  };
3024
3029
  }
3025
3030
  return q;
3026
- }, E = (...q) => {
3027
- const oe = [], ee = q.map($), W = [];
3028
- if (oe.push(i), p && y && W.push(function(j) {
3029
- const ae = j.theme.components?.[p]?.styleOverrides;
3031
+ }, S = (...q) => {
3032
+ const oe = [], ee = q.map(R), z = [];
3033
+ if (oe.push(i), d && y && z.push(function(D) {
3034
+ const ae = D.theme.components?.[d]?.styleOverrides;
3030
3035
  if (!ae)
3031
3036
  return null;
3032
3037
  const pe = {};
3033
3038
  for (const be in ae)
3034
- pe[be] = Ct(j, ae[be], j.theme.modularCssLayers ? "theme" : void 0);
3035
- return y(j, pe);
3036
- }), p && !w && W.push(function(j) {
3037
- const ae = j.theme?.components?.[p]?.variants;
3038
- return ae ? An(j, ae, [], j.theme.modularCssLayers ? "theme" : void 0) : null;
3039
- }), S || W.push(et), Array.isArray(ee[0])) {
3040
- const U = ee.shift(), j = new Array(oe.length).fill(""), le = new Array(W.length).fill("");
3039
+ pe[be] = Ct(D, ae[be], D.theme.modularCssLayers ? "theme" : void 0);
3040
+ return y(D, pe);
3041
+ }), d && !_ && z.push(function(D) {
3042
+ const ae = D.theme?.components?.[d]?.variants;
3043
+ return ae ? An(D, ae, [], D.theme.modularCssLayers ? "theme" : void 0) : null;
3044
+ }), w || z.push(et), Array.isArray(ee[0])) {
3045
+ const P = ee.shift(), D = new Array(oe.length).fill(""), le = new Array(z.length).fill("");
3041
3046
  let ae;
3042
- ae = [...j, ...U, ...le], ae.raw = [...j, ...U.raw, ...le], oe.unshift(ae);
3047
+ ae = [...D, ...P, ...le], ae.raw = [...D, ...P.raw, ...le], oe.unshift(ae);
3043
3048
  }
3044
- const a = [...oe, ...ee, ...W], R = _(...a);
3045
- return u.muiName && (R.muiName = u.muiName), process.env.NODE_ENV !== "production" && (R.displayName = fa(p, m, u)), R;
3049
+ const a = [...oe, ...ee, ...z], $ = x(...a);
3050
+ return u.muiName && ($.muiName = u.muiName), process.env.NODE_ENV !== "production" && ($.displayName = fa(d, m, u)), $;
3046
3051
  };
3047
- return _.withConfig && (E.withConfig = _.withConfig), E;
3052
+ return x.withConfig && (S.withConfig = x.withConfig), S;
3048
3053
  };
3049
3054
  }
3050
3055
  function fa(e, t, r) {
@@ -3123,7 +3128,7 @@ function $n(e) {
3123
3128
  e = je(e);
3124
3129
  const {
3125
3130
  values: t
3126
- } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), c = (p, m = (p + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3131
+ } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), c = (d, m = (d + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3127
3132
  let u = "rgb";
3128
3133
  const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
3129
3134
  return e.type === "hsla" && (u += "a", f.push(t[3])), Ft({
@@ -3258,12 +3263,12 @@ function Zt(e, t) {
3258
3263
  } = t || {}, o = {}, i = {}, c = {};
3259
3264
  return Ta(
3260
3265
  e,
3261
- (u, f, p) => {
3266
+ (u, f, d) => {
3262
3267
  if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
3263
- const m = `--${r ? `${r}-` : ""}${u.join("-")}`, d = wa(u, f);
3268
+ const m = `--${r ? `${r}-` : ""}${u.join("-")}`, h = wa(u, f);
3264
3269
  Object.assign(o, {
3265
- [m]: d
3266
- }), an(i, u, `var(${m})`, p), an(c, u, `var(${m}, ${d})`, p);
3270
+ [m]: h
3271
+ }), an(i, u, `var(${m})`, d), an(c, u, `var(${m}, ${h})`, d);
3267
3272
  }
3268
3273
  },
3269
3274
  (u) => u[0] === "vars"
@@ -3276,7 +3281,7 @@ function Zt(e, t) {
3276
3281
  }
3277
3282
  function _a(e, t = {}) {
3278
3283
  const {
3279
- getSelector: r = w,
3284
+ getSelector: r = _,
3280
3285
  disableCssColorScheme: n,
3281
3286
  colorSchemeSelector: o
3282
3287
  } = t, {
@@ -3285,104 +3290,104 @@ function _a(e, t = {}) {
3285
3290
  defaultColorScheme: u = "light",
3286
3291
  ...f
3287
3292
  } = e, {
3288
- vars: p,
3293
+ vars: d,
3289
3294
  css: m,
3290
- varsWithDefaults: d
3295
+ varsWithDefaults: h
3291
3296
  } = Zt(f, t);
3292
- let h = d;
3297
+ let p = h;
3293
3298
  const y = {}, {
3294
3299
  [u]: b,
3295
3300
  ...l
3296
3301
  } = i;
3297
- if (Object.entries(l || {}).forEach(([_, $]) => {
3302
+ if (Object.entries(l || {}).forEach(([x, R]) => {
3298
3303
  const {
3299
- vars: E,
3304
+ vars: S,
3300
3305
  css: q,
3301
3306
  varsWithDefaults: oe
3302
- } = Zt($, t);
3303
- h = Se(h, oe), y[_] = {
3307
+ } = Zt(R, t);
3308
+ p = Se(p, oe), y[x] = {
3304
3309
  css: q,
3305
- vars: E
3310
+ vars: S
3306
3311
  };
3307
3312
  }), b) {
3308
3313
  const {
3309
- css: _,
3310
- vars: $,
3311
- varsWithDefaults: E
3314
+ css: x,
3315
+ vars: R,
3316
+ varsWithDefaults: S
3312
3317
  } = Zt(b, t);
3313
- h = Se(h, E), y[u] = {
3314
- css: _,
3315
- vars: $
3318
+ p = Se(p, S), y[u] = {
3319
+ css: x,
3320
+ vars: R
3316
3321
  };
3317
3322
  }
3318
- function w(_, $) {
3319
- let E = o;
3320
- if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), _) {
3321
- if (E === "media")
3322
- return e.defaultColorScheme === _ ? ":root" : {
3323
- [`@media (prefers-color-scheme: ${i[_]?.palette?.mode || _})`]: {
3324
- ":root": $
3323
+ function _(x, R) {
3324
+ let S = o;
3325
+ if (o === "class" && (S = ".%s"), o === "data" && (S = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (S = `[${o}="%s"]`), x) {
3326
+ if (S === "media")
3327
+ return e.defaultColorScheme === x ? ":root" : {
3328
+ [`@media (prefers-color-scheme: ${i[x]?.palette?.mode || x})`]: {
3329
+ ":root": R
3325
3330
  }
3326
3331
  };
3327
- if (E)
3328
- return e.defaultColorScheme === _ ? `:root, ${E.replace("%s", String(_))}` : E.replace("%s", String(_));
3332
+ if (S)
3333
+ return e.defaultColorScheme === x ? `:root, ${S.replace("%s", String(x))}` : S.replace("%s", String(x));
3329
3334
  }
3330
3335
  return ":root";
3331
3336
  }
3332
3337
  return {
3333
- vars: h,
3338
+ vars: p,
3334
3339
  generateThemeVars: () => {
3335
- let _ = {
3336
- ...p
3340
+ let x = {
3341
+ ...d
3337
3342
  };
3338
3343
  return Object.entries(y).forEach(([, {
3339
- vars: $
3344
+ vars: R
3340
3345
  }]) => {
3341
- _ = Se(_, $);
3342
- }), _;
3346
+ x = Se(x, R);
3347
+ }), x;
3343
3348
  },
3344
3349
  generateStyleSheets: () => {
3345
- const _ = [], $ = e.defaultColorScheme || "light";
3346
- function E(ee, W) {
3347
- Object.keys(W).length && _.push(typeof ee == "string" ? {
3350
+ const x = [], R = e.defaultColorScheme || "light";
3351
+ function S(ee, z) {
3352
+ Object.keys(z).length && x.push(typeof ee == "string" ? {
3348
3353
  [ee]: {
3349
- ...W
3354
+ ...z
3350
3355
  }
3351
3356
  } : ee);
3352
3357
  }
3353
- E(r(void 0, {
3358
+ S(r(void 0, {
3354
3359
  ...m
3355
3360
  }), m);
3356
3361
  const {
3357
- [$]: q,
3362
+ [R]: q,
3358
3363
  ...oe
3359
3364
  } = y;
3360
3365
  if (q) {
3361
3366
  const {
3362
3367
  css: ee
3363
- } = q, W = i[$]?.palette?.mode, a = !n && W ? {
3364
- colorScheme: W,
3368
+ } = q, z = i[R]?.palette?.mode, a = !n && z ? {
3369
+ colorScheme: z,
3365
3370
  ...ee
3366
3371
  } : {
3367
3372
  ...ee
3368
3373
  };
3369
- E(r($, {
3374
+ S(r(R, {
3370
3375
  ...a
3371
3376
  }), a);
3372
3377
  }
3373
3378
  return Object.entries(oe).forEach(([ee, {
3374
- css: W
3379
+ css: z
3375
3380
  }]) => {
3376
- const a = i[ee]?.palette?.mode, R = !n && a ? {
3381
+ const a = i[ee]?.palette?.mode, $ = !n && a ? {
3377
3382
  colorScheme: a,
3378
- ...W
3383
+ ...z
3379
3384
  } : {
3380
- ...W
3385
+ ...z
3381
3386
  };
3382
- E(r(ee, {
3383
- ...R
3384
- }), R);
3385
- }), _;
3387
+ S(r(ee, {
3388
+ ...$
3389
+ }), $);
3390
+ }), x;
3386
3391
  }
3387
3392
  };
3388
3393
  }
@@ -3595,30 +3600,30 @@ function pr(e) {
3595
3600
  contrastThreshold: r = 3,
3596
3601
  tonalOffset: n = 0.2,
3597
3602
  ...o
3598
- } = e, i = e.primary || ka(t), c = e.secondary || $a(t), u = e.error || Pa(t), f = e.info || Ia(t), p = e.success || Na(t), m = e.warning || ja(t);
3599
- function d(l) {
3600
- const w = nn(l, sn.text.primary) >= r ? sn.text.primary : Aa.text.primary;
3603
+ } = e, i = e.primary || ka(t), c = e.secondary || $a(t), u = e.error || Pa(t), f = e.info || Ia(t), d = e.success || Na(t), m = e.warning || ja(t);
3604
+ function h(l) {
3605
+ const _ = nn(l, sn.text.primary) >= r ? sn.text.primary : Aa.text.primary;
3601
3606
  if (process.env.NODE_ENV !== "production") {
3602
- const S = nn(l, w);
3603
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${w} on ${l}`, "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(`
3607
+ const w = nn(l, _);
3608
+ w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${_} on ${l}`, "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(`
3604
3609
  `));
3605
3610
  }
3606
- return w;
3611
+ return _;
3607
3612
  }
3608
- const h = ({
3613
+ const p = ({
3609
3614
  color: l,
3610
- name: w,
3611
- mainShade: S = 500,
3612
- lightShade: T = 300,
3613
- darkShade: _ = 700
3615
+ name: _,
3616
+ mainShade: w = 500,
3617
+ lightShade: C = 300,
3618
+ darkShade: x = 700
3614
3619
  }) => {
3615
3620
  if (l = {
3616
3621
  ...l
3617
- }, !l.main && l[S] && (l.main = l[S]), !l.hasOwnProperty("main"))
3618
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3619
- The color object needs to have a \`main\` property or a \`${S}\` property.` : Ne(11, w ? ` (${w})` : "", S));
3622
+ }, !l.main && l[w] && (l.main = l[w]), !l.hasOwnProperty("main"))
3623
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
3624
+ The color object needs to have a \`main\` property or a \`${w}\` property.` : Ne(11, _ ? ` (${_})` : "", w));
3620
3625
  if (typeof l.main != "string")
3621
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3626
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
3622
3627
  \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
3623
3628
 
3624
3629
  Did you intend to use one of the following approaches?
@@ -3631,8 +3636,8 @@ const theme1 = createTheme({ palette: {
3631
3636
 
3632
3637
  const theme2 = createTheme({ palette: {
3633
3638
  primary: { main: green[500] },
3634
- } });` : Ne(12, w ? ` (${w})` : "", JSON.stringify(l.main)));
3635
- return cn(l, "light", T, n), cn(l, "dark", _, n), l.contrastText || (l.contrastText = d(l.main)), l;
3639
+ } });` : Ne(12, _ ? ` (${_})` : "", JSON.stringify(l.main)));
3640
+ return cn(l, "light", C, n), cn(l, "dark", x, n), l.contrastText || (l.contrastText = h(l.main)), l;
3636
3641
  };
3637
3642
  let y;
3638
3643
  return t === "light" ? y = Pn() : t === "dark" && (y = In()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Se({
@@ -3644,12 +3649,12 @@ const theme2 = createTheme({ palette: {
3644
3649
  // The palette mode, can be light or dark.
3645
3650
  mode: t,
3646
3651
  // The colors used to represent primary interface elements for a user.
3647
- primary: h({
3652
+ primary: p({
3648
3653
  color: i,
3649
3654
  name: "primary"
3650
3655
  }),
3651
3656
  // The colors used to represent secondary interface elements for a user.
3652
- secondary: h({
3657
+ secondary: p({
3653
3658
  color: c,
3654
3659
  name: "secondary",
3655
3660
  mainShade: "A400",
@@ -3657,23 +3662,23 @@ const theme2 = createTheme({ palette: {
3657
3662
  darkShade: "A700"
3658
3663
  }),
3659
3664
  // The colors used to represent interface elements that the user should be made aware of.
3660
- error: h({
3665
+ error: p({
3661
3666
  color: u,
3662
3667
  name: "error"
3663
3668
  }),
3664
3669
  // The colors used to represent potentially dangerous actions or important messages.
3665
- warning: h({
3670
+ warning: p({
3666
3671
  color: m,
3667
3672
  name: "warning"
3668
3673
  }),
3669
3674
  // The colors used to present information to the user that is neutral and not necessarily important.
3670
- info: h({
3675
+ info: p({
3671
3676
  color: f,
3672
3677
  name: "info"
3673
3678
  }),
3674
3679
  // The colors used to indicate the successful completion of an action that user triggered.
3675
- success: h({
3676
- color: p,
3680
+ success: p({
3681
+ color: d,
3677
3682
  name: "success"
3678
3683
  }),
3679
3684
  // The grey colors.
@@ -3682,9 +3687,9 @@ const theme2 = createTheme({ palette: {
3682
3687
  // the background and the text.
3683
3688
  contrastThreshold: r,
3684
3689
  // Takes a background color and returns the text color that maximizes the contrast.
3685
- getContrastText: d,
3690
+ getContrastText: h,
3686
3691
  // Generate a rich color object.
3687
- augmentColor: h,
3692
+ augmentColor: p,
3688
3693
  // Used by the functions below to shift a color's luminance by approximately
3689
3694
  // two indexes within its tonal palette.
3690
3695
  // E.g., shift from Red 500 to Red 300 or Red 700.
@@ -3736,24 +3741,24 @@ function Fa(e, t) {
3736
3741
  // 16px is the default font-size used by browsers.
3737
3742
  htmlFontSize: f = 16,
3738
3743
  // Apply the CSS properties to all the variants.
3739
- allVariants: p,
3744
+ allVariants: d,
3740
3745
  pxToRem: m,
3741
- ...d
3746
+ ...h
3742
3747
  } = typeof t == "function" ? t(e) : t;
3743
3748
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3744
- const h = n / 14, y = m || ((w) => `${w / f * h}rem`), b = (w, S, T, _, $) => ({
3749
+ const p = n / 14, y = m || ((_) => `${_ / f * p}rem`), b = (_, w, C, x, R) => ({
3745
3750
  fontFamily: r,
3746
- fontWeight: w,
3747
- fontSize: y(S),
3751
+ fontWeight: _,
3752
+ fontSize: y(w),
3748
3753
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3749
- lineHeight: T,
3754
+ lineHeight: C,
3750
3755
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3751
3756
  // across font-families can cause issues with the kerning.
3752
3757
  ...r === un ? {
3753
- letterSpacing: `${Ba(_ / S)}em`
3758
+ letterSpacing: `${Ba(x / w)}em`
3754
3759
  } : {},
3755
- ...$,
3756
- ...p
3760
+ ...R,
3761
+ ...d
3757
3762
  }), l = {
3758
3763
  h1: b(o, 96, 1.167, -1.5),
3759
3764
  h2: b(o, 60, 1.2, -0.5),
@@ -3787,7 +3792,7 @@ function Fa(e, t) {
3787
3792
  fontWeightMedium: c,
3788
3793
  fontWeightBold: u,
3789
3794
  ...l
3790
- }, d, {
3795
+ }, h, {
3791
3796
  clone: !1
3792
3797
  // No need to clone deep
3793
3798
  });
@@ -3843,12 +3848,12 @@ function qa(e) {
3843
3848
  duration: c = r.standard,
3844
3849
  easing: u = t.easeInOut,
3845
3850
  delay: f = 0,
3846
- ...p
3851
+ ...d
3847
3852
  } = i;
3848
3853
  if (process.env.NODE_ENV !== "production") {
3849
- const m = (h) => typeof h == "string", d = (h) => !Number.isNaN(parseFloat(h));
3850
- !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !d(c) && !m(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !d(f) && !m(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3851
- `)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
3854
+ const m = (p) => typeof p == "string", h = (p) => !Number.isNaN(parseFloat(p));
3855
+ !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(c) && !m(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !h(f) && !m(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3856
+ `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3852
3857
  }
3853
3858
  return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof c == "string" ? c : fn(c)} ${u} ${typeof f == "string" ? f : fn(f)}`).join(",");
3854
3859
  },
@@ -3901,15 +3906,15 @@ function nr(e = {}, ...t) {
3901
3906
  transitions: c = {},
3902
3907
  typography: u = {},
3903
3908
  shape: f,
3904
- ...p
3909
+ ...d
3905
3910
  } = e;
3906
3911
  if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
3907
3912
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3908
3913
  e.generateThemeVars === void 0)
3909
3914
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Ne(20));
3910
- const m = pr(i), d = On(e);
3911
- let h = Se(d, {
3912
- mixins: Ma(d.breakpoints, n),
3915
+ const m = pr(i), h = On(e);
3916
+ let p = Se(h, {
3917
+ mixins: Ma(h.breakpoints, n),
3913
3918
  palette: m,
3914
3919
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3915
3920
  shadows: za.slice(),
@@ -3919,39 +3924,39 @@ function nr(e = {}, ...t) {
3919
3924
  ...Ka
3920
3925
  }
3921
3926
  });
3922
- if (h = Se(h, p), h = t.reduce((y, b) => Se(y, b), h), process.env.NODE_ENV !== "production") {
3923
- const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (l, w) => {
3924
- let S;
3925
- for (S in l) {
3926
- const T = l[S];
3927
- if (y.includes(S) && Object.keys(T).length > 0) {
3927
+ if (p = Se(p, d), p = t.reduce((y, b) => Se(y, b), p), process.env.NODE_ENV !== "production") {
3928
+ const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (l, _) => {
3929
+ let w;
3930
+ for (w in l) {
3931
+ const C = l[w];
3932
+ if (y.includes(w) && Object.keys(C).length > 0) {
3928
3933
  if (process.env.NODE_ENV !== "production") {
3929
- const _ = sr("", S);
3930
- console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${_}' syntax:`, JSON.stringify({
3934
+ const x = sr("", w);
3935
+ console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${w}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
3931
3936
  root: {
3932
- [`&.${_}`]: T
3937
+ [`&.${x}`]: C
3933
3938
  }
3934
3939
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3935
3940
  `));
3936
3941
  }
3937
- l[S] = {};
3942
+ l[w] = {};
3938
3943
  }
3939
3944
  }
3940
3945
  };
3941
- Object.keys(h.components).forEach((l) => {
3942
- const w = h.components[l].styleOverrides;
3943
- w && l.startsWith("Mui") && b(w, l);
3946
+ Object.keys(p.components).forEach((l) => {
3947
+ const _ = p.components[l].styleOverrides;
3948
+ _ && l.startsWith("Mui") && b(_, l);
3944
3949
  });
3945
3950
  }
3946
- return h.unstable_sxConfig = {
3951
+ return p.unstable_sxConfig = {
3947
3952
  ...Bt,
3948
- ...p?.unstable_sxConfig
3949
- }, h.unstable_sx = function(b) {
3953
+ ...d?.unstable_sxConfig
3954
+ }, p.unstable_sx = function(b) {
3950
3955
  return et({
3951
3956
  sx: b,
3952
3957
  theme: this
3953
3958
  });
3954
- }, h.toRuntimeSource = Nn, h;
3959
+ }, p.toRuntimeSource = Nn, p;
3955
3960
  }
3956
3961
  function Ja(e) {
3957
3962
  let t;
@@ -4105,77 +4110,77 @@ function is(e = {}, ...t) {
4105
4110
  shouldSkipGeneratingVar: c = Za,
4106
4111
  colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
4107
4112
  rootSelector: f = ":root",
4108
- ...p
4109
- } = e, m = Object.keys(r)[0], d = n || (r.light && m !== "light" ? "light" : m), h = os(i), {
4110
- [d]: y,
4113
+ ...d
4114
+ } = e, m = Object.keys(r)[0], h = n || (r.light && m !== "light" ? "light" : m), p = os(i), {
4115
+ [h]: y,
4111
4116
  light: b,
4112
4117
  dark: l,
4113
- ...w
4114
- } = r, S = {
4115
- ...w
4118
+ ..._
4119
+ } = r, w = {
4120
+ ..._
4116
4121
  };
4117
- let T = y;
4118
- if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (T = !0), !T)
4119
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : Ne(21, d));
4120
- const _ = er(S, T, p, d);
4121
- b && !S.light && er(S, b, void 0, "light"), l && !S.dark && er(S, l, void 0, "dark");
4122
- let $ = {
4123
- defaultColorScheme: d,
4124
- ..._,
4122
+ let C = y;
4123
+ if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (C = !0), !C)
4124
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : Ne(21, h));
4125
+ const x = er(w, C, d, h);
4126
+ b && !w.light && er(w, b, void 0, "light"), l && !w.dark && er(w, l, void 0, "dark");
4127
+ let R = {
4128
+ defaultColorScheme: h,
4129
+ ...x,
4125
4130
  cssVarPrefix: i,
4126
4131
  colorSchemeSelector: u,
4127
4132
  rootSelector: f,
4128
- getCssVar: h,
4129
- colorSchemes: S,
4133
+ getCssVar: p,
4134
+ colorSchemes: w,
4130
4135
  font: {
4131
- ...Da(_.typography),
4132
- ..._.font
4136
+ ...Da(x.typography),
4137
+ ...x.font
4133
4138
  },
4134
- spacing: ns(p.spacing)
4139
+ spacing: ns(d.spacing)
4135
4140
  };
4136
- Object.keys($.colorSchemes).forEach((W) => {
4137
- const a = $.colorSchemes[W].palette, R = (U) => {
4138
- const j = U.split("-"), le = j[1], ae = j[2];
4139
- return h(U, a[le][ae]);
4141
+ Object.keys(R.colorSchemes).forEach((z) => {
4142
+ const a = R.colorSchemes[z].palette, $ = (P) => {
4143
+ const D = P.split("-"), le = D[1], ae = D[2];
4144
+ return p(P, a[le][ae]);
4140
4145
  };
4141
4146
  if (a.mode === "light" && (g(a.common, "background", "#fff"), g(a.common, "onBackground", "#000")), a.mode === "dark" && (g(a.common, "background", "#000"), g(a.common, "onBackground", "#fff")), rs(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4142
- g(a.Alert, "errorColor", re(a.error.light, 0.6)), g(a.Alert, "infoColor", re(a.info.light, 0.6)), g(a.Alert, "successColor", re(a.success.light, 0.6)), g(a.Alert, "warningColor", re(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", R("palette-error-main")), g(a.Alert, "infoFilledBg", R("palette-info-main")), g(a.Alert, "successFilledBg", R("palette-success-main")), g(a.Alert, "warningFilledBg", R("palette-warning-main")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.main))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.main))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.main))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.main))), g(a.Alert, "errorStandardBg", ne(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", ne(a.info.light, 0.9)), g(a.Alert, "successStandardBg", ne(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", ne(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", R("palette-error-main")), g(a.Alert, "infoIconColor", R("palette-info-main")), g(a.Alert, "successIconColor", R("palette-success-main")), g(a.Alert, "warningIconColor", R("palette-warning-main")), g(a.AppBar, "defaultBg", R("palette-grey-100")), g(a.Avatar, "defaultBg", R("palette-grey-400")), g(a.Button, "inheritContainedBg", R("palette-grey-300")), g(a.Button, "inheritContainedHoverBg", R("palette-grey-A100")), g(a.Chip, "defaultBorder", R("palette-grey-400")), g(a.Chip, "defaultAvatarColor", R("palette-grey-700")), g(a.Chip, "defaultIconColor", R("palette-grey-700")), g(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), g(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), g(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), g(a.LinearProgress, "primaryBg", ne(a.primary.main, 0.62)), g(a.LinearProgress, "secondaryBg", ne(a.secondary.main, 0.62)), g(a.LinearProgress, "errorBg", ne(a.error.main, 0.62)), g(a.LinearProgress, "infoBg", ne(a.info.main, 0.62)), g(a.LinearProgress, "successBg", ne(a.success.main, 0.62)), g(a.LinearProgress, "warningBg", ne(a.warning.main, 0.62)), g(a.Skeleton, "bg", `rgba(${R("palette-text-primaryChannel")} / 0.11)`), g(a.Slider, "primaryTrack", ne(a.primary.main, 0.62)), g(a.Slider, "secondaryTrack", ne(a.secondary.main, 0.62)), g(a.Slider, "errorTrack", ne(a.error.main, 0.62)), g(a.Slider, "infoTrack", ne(a.info.main, 0.62)), g(a.Slider, "successTrack", ne(a.success.main, 0.62)), g(a.Slider, "warningTrack", ne(a.warning.main, 0.62));
4143
- const U = Et(a.background.default, 0.8);
4144
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", R("palette-grey-400")), g(a.StepContent, "border", R("palette-grey-400")), g(a.Switch, "defaultColor", R("palette-common-white")), g(a.Switch, "defaultDisabledColor", R("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(St(a.divider, 1), 0.88)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4147
+ g(a.Alert, "errorColor", re(a.error.light, 0.6)), g(a.Alert, "infoColor", re(a.info.light, 0.6)), g(a.Alert, "successColor", re(a.success.light, 0.6)), g(a.Alert, "warningColor", re(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", $("palette-error-main")), g(a.Alert, "infoFilledBg", $("palette-info-main")), g(a.Alert, "successFilledBg", $("palette-success-main")), g(a.Alert, "warningFilledBg", $("palette-warning-main")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.main))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.main))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.main))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.main))), g(a.Alert, "errorStandardBg", ne(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", ne(a.info.light, 0.9)), g(a.Alert, "successStandardBg", ne(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", ne(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", $("palette-error-main")), g(a.Alert, "infoIconColor", $("palette-info-main")), g(a.Alert, "successIconColor", $("palette-success-main")), g(a.Alert, "warningIconColor", $("palette-warning-main")), g(a.AppBar, "defaultBg", $("palette-grey-100")), g(a.Avatar, "defaultBg", $("palette-grey-400")), g(a.Button, "inheritContainedBg", $("palette-grey-300")), g(a.Button, "inheritContainedHoverBg", $("palette-grey-A100")), g(a.Chip, "defaultBorder", $("palette-grey-400")), g(a.Chip, "defaultAvatarColor", $("palette-grey-700")), g(a.Chip, "defaultIconColor", $("palette-grey-700")), g(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), g(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), g(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), g(a.LinearProgress, "primaryBg", ne(a.primary.main, 0.62)), g(a.LinearProgress, "secondaryBg", ne(a.secondary.main, 0.62)), g(a.LinearProgress, "errorBg", ne(a.error.main, 0.62)), g(a.LinearProgress, "infoBg", ne(a.info.main, 0.62)), g(a.LinearProgress, "successBg", ne(a.success.main, 0.62)), g(a.LinearProgress, "warningBg", ne(a.warning.main, 0.62)), g(a.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.11)`), g(a.Slider, "primaryTrack", ne(a.primary.main, 0.62)), g(a.Slider, "secondaryTrack", ne(a.secondary.main, 0.62)), g(a.Slider, "errorTrack", ne(a.error.main, 0.62)), g(a.Slider, "infoTrack", ne(a.info.main, 0.62)), g(a.Slider, "successTrack", ne(a.success.main, 0.62)), g(a.Slider, "warningTrack", ne(a.warning.main, 0.62));
4148
+ const P = Et(a.background.default, 0.8);
4149
+ g(a.SnackbarContent, "bg", P), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(P))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", $("palette-grey-400")), g(a.StepContent, "border", $("palette-grey-400")), g(a.Switch, "defaultColor", $("palette-common-white")), g(a.Switch, "defaultDisabledColor", $("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(St(a.divider, 1), 0.88)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4145
4150
  }
4146
4151
  if (a.mode === "dark") {
4147
- g(a.Alert, "errorColor", ne(a.error.light, 0.6)), g(a.Alert, "infoColor", ne(a.info.light, 0.6)), g(a.Alert, "successColor", ne(a.success.light, 0.6)), g(a.Alert, "warningColor", ne(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", R("palette-error-dark")), g(a.Alert, "infoFilledBg", R("palette-info-dark")), g(a.Alert, "successFilledBg", R("palette-success-dark")), g(a.Alert, "warningFilledBg", R("palette-warning-dark")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.dark))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.dark))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.dark))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.dark))), g(a.Alert, "errorStandardBg", re(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", re(a.info.light, 0.9)), g(a.Alert, "successStandardBg", re(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", re(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", R("palette-error-main")), g(a.Alert, "infoIconColor", R("palette-info-main")), g(a.Alert, "successIconColor", R("palette-success-main")), g(a.Alert, "warningIconColor", R("palette-warning-main")), g(a.AppBar, "defaultBg", R("palette-grey-900")), g(a.AppBar, "darkBg", R("palette-background-paper")), g(a.AppBar, "darkColor", R("palette-text-primary")), g(a.Avatar, "defaultBg", R("palette-grey-600")), g(a.Button, "inheritContainedBg", R("palette-grey-800")), g(a.Button, "inheritContainedHoverBg", R("palette-grey-700")), g(a.Chip, "defaultBorder", R("palette-grey-700")), g(a.Chip, "defaultAvatarColor", R("palette-grey-300")), g(a.Chip, "defaultIconColor", R("palette-grey-300")), g(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), g(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), g(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), g(a.LinearProgress, "primaryBg", re(a.primary.main, 0.5)), g(a.LinearProgress, "secondaryBg", re(a.secondary.main, 0.5)), g(a.LinearProgress, "errorBg", re(a.error.main, 0.5)), g(a.LinearProgress, "infoBg", re(a.info.main, 0.5)), g(a.LinearProgress, "successBg", re(a.success.main, 0.5)), g(a.LinearProgress, "warningBg", re(a.warning.main, 0.5)), g(a.Skeleton, "bg", `rgba(${R("palette-text-primaryChannel")} / 0.13)`), g(a.Slider, "primaryTrack", re(a.primary.main, 0.5)), g(a.Slider, "secondaryTrack", re(a.secondary.main, 0.5)), g(a.Slider, "errorTrack", re(a.error.main, 0.5)), g(a.Slider, "infoTrack", re(a.info.main, 0.5)), g(a.Slider, "successTrack", re(a.success.main, 0.5)), g(a.Slider, "warningTrack", re(a.warning.main, 0.5));
4148
- const U = Et(a.background.default, 0.98);
4149
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", R("palette-grey-600")), g(a.StepContent, "border", R("palette-grey-600")), g(a.Switch, "defaultColor", R("palette-grey-300")), g(a.Switch, "defaultDisabledColor", R("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(St(a.divider, 1), 0.68)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4152
+ g(a.Alert, "errorColor", ne(a.error.light, 0.6)), g(a.Alert, "infoColor", ne(a.info.light, 0.6)), g(a.Alert, "successColor", ne(a.success.light, 0.6)), g(a.Alert, "warningColor", ne(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", $("palette-error-dark")), g(a.Alert, "infoFilledBg", $("palette-info-dark")), g(a.Alert, "successFilledBg", $("palette-success-dark")), g(a.Alert, "warningFilledBg", $("palette-warning-dark")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.dark))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.dark))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.dark))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.dark))), g(a.Alert, "errorStandardBg", re(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", re(a.info.light, 0.9)), g(a.Alert, "successStandardBg", re(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", re(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", $("palette-error-main")), g(a.Alert, "infoIconColor", $("palette-info-main")), g(a.Alert, "successIconColor", $("palette-success-main")), g(a.Alert, "warningIconColor", $("palette-warning-main")), g(a.AppBar, "defaultBg", $("palette-grey-900")), g(a.AppBar, "darkBg", $("palette-background-paper")), g(a.AppBar, "darkColor", $("palette-text-primary")), g(a.Avatar, "defaultBg", $("palette-grey-600")), g(a.Button, "inheritContainedBg", $("palette-grey-800")), g(a.Button, "inheritContainedHoverBg", $("palette-grey-700")), g(a.Chip, "defaultBorder", $("palette-grey-700")), g(a.Chip, "defaultAvatarColor", $("palette-grey-300")), g(a.Chip, "defaultIconColor", $("palette-grey-300")), g(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), g(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), g(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), g(a.LinearProgress, "primaryBg", re(a.primary.main, 0.5)), g(a.LinearProgress, "secondaryBg", re(a.secondary.main, 0.5)), g(a.LinearProgress, "errorBg", re(a.error.main, 0.5)), g(a.LinearProgress, "infoBg", re(a.info.main, 0.5)), g(a.LinearProgress, "successBg", re(a.success.main, 0.5)), g(a.LinearProgress, "warningBg", re(a.warning.main, 0.5)), g(a.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.13)`), g(a.Slider, "primaryTrack", re(a.primary.main, 0.5)), g(a.Slider, "secondaryTrack", re(a.secondary.main, 0.5)), g(a.Slider, "errorTrack", re(a.error.main, 0.5)), g(a.Slider, "infoTrack", re(a.info.main, 0.5)), g(a.Slider, "successTrack", re(a.success.main, 0.5)), g(a.Slider, "warningTrack", re(a.warning.main, 0.5));
4153
+ const P = Et(a.background.default, 0.98);
4154
+ g(a.SnackbarContent, "bg", P), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(P))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", $("palette-grey-600")), g(a.StepContent, "border", $("palette-grey-600")), g(a.Switch, "defaultColor", $("palette-grey-300")), g(a.Switch, "defaultDisabledColor", $("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(St(a.divider, 1), 0.68)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4150
4155
  }
4151
- Re(a.background, "default"), Re(a.background, "paper"), Re(a.common, "background"), Re(a.common, "onBackground"), Re(a, "divider"), Object.keys(a).forEach((U) => {
4152
- const j = a[U];
4153
- U !== "tonalOffset" && j && typeof j == "object" && (j.main && g(a[U], "mainChannel", it(at(j.main))), j.light && g(a[U], "lightChannel", it(at(j.light))), j.dark && g(a[U], "darkChannel", it(at(j.dark))), j.contrastText && g(a[U], "contrastTextChannel", it(at(j.contrastText))), U === "text" && (Re(a[U], "primary"), Re(a[U], "secondary")), U === "action" && (j.active && Re(a[U], "active"), j.selected && Re(a[U], "selected")));
4156
+ Re(a.background, "default"), Re(a.background, "paper"), Re(a.common, "background"), Re(a.common, "onBackground"), Re(a, "divider"), Object.keys(a).forEach((P) => {
4157
+ const D = a[P];
4158
+ P !== "tonalOffset" && D && typeof D == "object" && (D.main && g(a[P], "mainChannel", it(at(D.main))), D.light && g(a[P], "lightChannel", it(at(D.light))), D.dark && g(a[P], "darkChannel", it(at(D.dark))), D.contrastText && g(a[P], "contrastTextChannel", it(at(D.contrastText))), P === "text" && (Re(a[P], "primary"), Re(a[P], "secondary")), P === "action" && (D.active && Re(a[P], "active"), D.selected && Re(a[P], "selected")));
4154
4159
  });
4155
- }), $ = t.reduce((W, a) => Se(W, a), $);
4156
- const E = {
4160
+ }), R = t.reduce((z, a) => Se(z, a), R);
4161
+ const S = {
4157
4162
  prefix: i,
4158
4163
  disableCssColorScheme: o,
4159
4164
  shouldSkipGeneratingVar: c,
4160
- getSelector: ts($)
4165
+ getSelector: ts(R)
4161
4166
  }, {
4162
4167
  vars: q,
4163
4168
  generateThemeVars: oe,
4164
4169
  generateStyleSheets: ee
4165
- } = _a($, E);
4166
- return $.vars = q, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W, a]) => {
4167
- $[W] = a;
4168
- }), $.generateThemeVars = oe, $.generateStyleSheets = ee, $.generateSpacing = function() {
4169
- return _n(p.spacing, cr(this));
4170
- }, $.getColorSchemeSelector = Oa(u), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
4170
+ } = _a(R, S);
4171
+ return R.vars = q, Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([z, a]) => {
4172
+ R[z] = a;
4173
+ }), R.generateThemeVars = oe, R.generateStyleSheets = ee, R.generateSpacing = function() {
4174
+ return _n(d.spacing, cr(this));
4175
+ }, R.getColorSchemeSelector = Oa(u), R.spacing = R.generateSpacing(), R.shouldSkipGeneratingVar = c, R.unstable_sxConfig = {
4171
4176
  ...Bt,
4172
- ...p?.unstable_sxConfig
4173
- }, $.unstable_sx = function(a) {
4177
+ ...d?.unstable_sxConfig
4178
+ }, R.unstable_sx = function(a) {
4174
4179
  return et({
4175
4180
  sx: a,
4176
4181
  theme: this
4177
4182
  });
4178
- }, $.toRuntimeSource = Nn, $;
4183
+ }, R.toRuntimeSource = Nn, R;
4179
4184
  }
4180
4185
  function dn(e, t, r) {
4181
4186
  e.colorSchemes && r && (e.colorSchemes[t] = {
@@ -4196,7 +4201,7 @@ function Mn(e = {}, ...t) {
4196
4201
  },
4197
4202
  defaultColorScheme: i = r?.mode,
4198
4203
  ...c
4199
- } = e, u = i || "light", f = o?.[u], p = {
4204
+ } = e, u = i || "light", f = o?.[u], d = {
4200
4205
  ...o,
4201
4206
  ...r ? {
4202
4207
  [u]: {
@@ -4209,24 +4214,24 @@ function Mn(e = {}, ...t) {
4209
4214
  if (!("colorSchemes" in e))
4210
4215
  return nr(e, ...t);
4211
4216
  let m = r;
4212
- "palette" in e || p[u] && (p[u] !== !0 ? m = p[u].palette : u === "dark" && (m = {
4217
+ "palette" in e || d[u] && (d[u] !== !0 ? m = d[u].palette : u === "dark" && (m = {
4213
4218
  mode: "dark"
4214
4219
  }));
4215
- const d = nr({
4220
+ const h = nr({
4216
4221
  ...e,
4217
4222
  palette: m
4218
4223
  }, ...t);
4219
- return d.defaultColorScheme = u, d.colorSchemes = p, d.palette.mode === "light" && (d.colorSchemes.light = {
4220
- ...p.light !== !0 && p.light,
4221
- palette: d.palette
4222
- }, dn(d, "dark", p.dark)), d.palette.mode === "dark" && (d.colorSchemes.dark = {
4223
- ...p.dark !== !0 && p.dark,
4224
- palette: d.palette
4225
- }, dn(d, "light", p.light)), d;
4224
+ return h.defaultColorScheme = u, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
4225
+ ...d.light !== !0 && d.light,
4226
+ palette: h.palette
4227
+ }, dn(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
4228
+ ...d.dark !== !0 && d.dark,
4229
+ palette: h.palette
4230
+ }, dn(h, "light", d.light)), h;
4226
4231
  }
4227
- return !r && !("light" in p) && u === "light" && (p.light = !0), is({
4232
+ return !r && !("light" in d) && u === "light" && (d.light = !0), is({
4228
4233
  ...c,
4229
- colorSchemes: p,
4234
+ colorSchemes: d,
4230
4235
  defaultColorScheme: u,
4231
4236
  ...typeof n != "boolean" && n
4232
4237
  }, ...t);
@@ -4362,10 +4367,10 @@ const ms = (e) => {
4362
4367
  color: c = "inherit",
4363
4368
  component: u = "svg",
4364
4369
  fontSize: f = "medium",
4365
- htmlColor: p,
4370
+ htmlColor: d,
4366
4371
  inheritViewBox: m = !1,
4367
- titleAccess: d,
4368
- viewBox: h = "0 0 24 24",
4372
+ titleAccess: h,
4373
+ viewBox: p = "0 0 24 24",
4369
4374
  ...y
4370
4375
  } = n, b = /* @__PURE__ */ Ie.isValidElement(o) && o.type === "svg", l = {
4371
4376
  ...n,
@@ -4374,25 +4379,25 @@ const ms = (e) => {
4374
4379
  fontSize: f,
4375
4380
  instanceFontSize: t.fontSize,
4376
4381
  inheritViewBox: m,
4377
- viewBox: h,
4382
+ viewBox: p,
4378
4383
  hasSvgAsChild: b
4379
- }, w = {};
4380
- m || (w.viewBox = h);
4381
- const S = ms(l);
4382
- return /* @__PURE__ */ x.jsxs(hs, {
4384
+ }, _ = {};
4385
+ m || (_.viewBox = p);
4386
+ const w = ms(l);
4387
+ return /* @__PURE__ */ T.jsxs(hs, {
4383
4388
  as: u,
4384
- className: ri(S.root, i),
4389
+ className: ri(w.root, i),
4385
4390
  focusable: "false",
4386
- color: p,
4387
- "aria-hidden": d ? void 0 : !0,
4388
- role: d ? "img" : void 0,
4391
+ color: d,
4392
+ "aria-hidden": h ? void 0 : !0,
4393
+ role: h ? "img" : void 0,
4389
4394
  ref: r,
4390
- ...w,
4395
+ ..._,
4391
4396
  ...y,
4392
4397
  ...b && o.props,
4393
4398
  ownerState: l,
4394
- children: [b ? o.props.children : o, d ? /* @__PURE__ */ x.jsx("title", {
4395
- children: d
4399
+ children: [b ? o.props.children : o, h ? /* @__PURE__ */ T.jsx("title", {
4400
+ children: h
4396
4401
  }) : null]
4397
4402
  });
4398
4403
  });
@@ -4471,7 +4476,7 @@ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
4471
4476
  Rt.muiName = "SvgIcon";
4472
4477
  function dt(e, t) {
4473
4478
  function r(n, o) {
4474
- return /* @__PURE__ */ x.jsx(Rt, {
4479
+ return /* @__PURE__ */ T.jsx(Rt, {
4475
4480
  "data-testid": `${t}Icon`,
4476
4481
  ref: o,
4477
4482
  ...n,
@@ -4480,17 +4485,17 @@ function dt(e, t) {
4480
4485
  }
4481
4486
  return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = Rt.muiName, /* @__PURE__ */ Ie.memo(/* @__PURE__ */ Ie.forwardRef(r));
4482
4487
  }
4483
- const or = dt(/* @__PURE__ */ x.jsx("path", {
4488
+ const or = dt(/* @__PURE__ */ T.jsx("path", {
4484
4489
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"
4485
4490
  }), "Notifications"), gs = ({
4486
4491
  unreadCount: e = 0,
4487
4492
  onClick: t,
4488
4493
  showBadge: r = !0
4489
- }) => /* @__PURE__ */ x.jsx(xt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ x.jsx(uo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ x.jsx(or, {}) }) : /* @__PURE__ */ x.jsx(or, {}) }), ys = dt(/* @__PURE__ */ x.jsx("path", {
4494
+ }) => /* @__PURE__ */ T.jsx(xt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ T.jsx(uo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ T.jsx(or, {}) }) : /* @__PURE__ */ T.jsx(or, {}) }), ys = dt(/* @__PURE__ */ T.jsx("path", {
4490
4495
  d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
4491
- }), "Settings"), bs = dt(/* @__PURE__ */ x.jsx("path", {
4496
+ }), "Settings"), bs = dt(/* @__PURE__ */ T.jsx("path", {
4492
4497
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
4493
- }), "CheckCircle"), vs = dt(/* @__PURE__ */ x.jsx("path", {
4498
+ }), "CheckCircle"), vs = dt(/* @__PURE__ */ T.jsx("path", {
4494
4499
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
4495
4500
  }), "Delete"), Bn = ({
4496
4501
  notification: e,
@@ -4500,12 +4505,12 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4500
4505
  }) => {
4501
4506
  const o = e.read !== !0, i = () => {
4502
4507
  n && n(e);
4503
- }, c = (d) => {
4504
- d.stopPropagation(), t && t(e.notificationId);
4505
- }, u = (d) => {
4506
- d.stopPropagation(), r && r(e.notificationId);
4507
- }, f = e.payload || {}, p = e.renderedContent?.inApp?.title || e.renderedContent?.push?.title || f.title || f.message || "Notification", m = e.renderedContent?.inApp?.message || e.renderedContent?.push?.body || f.message || "";
4508
- return /* @__PURE__ */ x.jsxs(
4508
+ }, c = (h) => {
4509
+ h.stopPropagation(), t && t(e.notificationId);
4510
+ }, u = (h) => {
4511
+ h.stopPropagation(), r && r(e.notificationId);
4512
+ }, f = e.payload || {}, d = e.renderedContent?.inApp?.title || e.renderedContent?.push?.title || f.title || f.message || "Notification", m = e.renderedContent?.inApp?.message || e.renderedContent?.push?.body || f.message || "";
4513
+ return /* @__PURE__ */ T.jsxs(
4509
4514
  fo,
4510
4515
  {
4511
4516
  className: `cursor-pointer hover:bg-gray-50 ${o ? "bg-blue-50" : ""}`,
@@ -4518,13 +4523,13 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4518
4523
  }
4519
4524
  },
4520
4525
  children: [
4521
- /* @__PURE__ */ x.jsx(ye, { className: "mr-2", children: /* @__PURE__ */ x.jsx(or, { color: o ? "primary" : "disabled" }) }),
4522
- /* @__PURE__ */ x.jsx(
4526
+ /* @__PURE__ */ T.jsx(ye, { className: "mr-2", children: /* @__PURE__ */ T.jsx(or, { color: o ? "primary" : "disabled" }) }),
4527
+ /* @__PURE__ */ T.jsx(
4523
4528
  po,
4524
4529
  {
4525
- primary: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4526
- /* @__PURE__ */ x.jsx("span", { className: "font-medium", children: p }),
4527
- o && /* @__PURE__ */ x.jsx(mo, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4530
+ primary: /* @__PURE__ */ T.jsxs(ye, { className: "flex items-center gap-2", children: [
4531
+ /* @__PURE__ */ T.jsx("span", { className: "font-medium", children: d }),
4532
+ o && /* @__PURE__ */ T.jsx(mo, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4528
4533
  ] }),
4529
4534
  secondary: m,
4530
4535
  primaryTypographyProps: {
@@ -4532,26 +4537,26 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4532
4537
  }
4533
4538
  }
4534
4539
  ),
4535
- /* @__PURE__ */ x.jsx(ho, { children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-1", children: [
4536
- o && /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ x.jsx(bs, { fontSize: "small" }) }),
4537
- /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ x.jsx(vs, { fontSize: "small" }) })
4540
+ /* @__PURE__ */ T.jsx(ho, { children: /* @__PURE__ */ T.jsxs(ye, { className: "flex items-center gap-1", children: [
4541
+ o && /* @__PURE__ */ T.jsx(xt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ T.jsx(bs, { fontSize: "small" }) }),
4542
+ /* @__PURE__ */ T.jsx(xt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ T.jsx(vs, { fontSize: "small" }) })
4538
4543
  ] }) })
4539
4544
  ]
4540
4545
  }
4541
4546
  );
4542
- }, Ss = dt(/* @__PURE__ */ x.jsx("path", {
4547
+ }, Ss = dt(/* @__PURE__ */ T.jsx("path", {
4543
4548
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"
4544
4549
  }), "NotificationsNone"), Es = ({
4545
4550
  message: e = "No notifications",
4546
4551
  icon: t
4547
- }) => /* @__PURE__ */ x.jsxs(
4552
+ }) => /* @__PURE__ */ T.jsxs(
4548
4553
  ye,
4549
4554
  {
4550
4555
  className: "flex flex-col items-center justify-center p-8 text-center",
4551
4556
  sx: { minHeight: "200px" },
4552
4557
  children: [
4553
- t || /* @__PURE__ */ x.jsx(Ss, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4554
- /* @__PURE__ */ x.jsx(Tt, { variant: "body2", color: "text.secondary", children: e })
4558
+ t || /* @__PURE__ */ T.jsx(Ss, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4559
+ /* @__PURE__ */ T.jsx(Tt, { variant: "body2", color: "text.secondary", children: e })
4555
4560
  ]
4556
4561
  }
4557
4562
  );
@@ -4590,11 +4595,11 @@ function Ts() {
4590
4595
  function pn(e, t) {
4591
4596
  var r, n, o, i, c, u;
4592
4597
  _e(1, arguments);
4593
- var f = Ts(), p = mr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4594
- if (!(p >= 0 && p <= 6))
4598
+ var f = Ts(), d = mr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4599
+ if (!(d >= 0 && d <= 6))
4595
4600
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4596
- var m = lt(e), d = m.getDay(), h = (d < p ? 7 : 0) + d - p;
4597
- return m.setDate(m.getDate() - h), m.setHours(0, 0, 0, 0), m;
4601
+ var m = lt(e), h = m.getDay(), p = (h < d ? 7 : 0) + h - d;
4602
+ return m.setDate(m.getDate() - p), m.setHours(0, 0, 0, 0), m;
4598
4603
  }
4599
4604
  function mn(e) {
4600
4605
  _e(1, arguments);
@@ -4639,10 +4644,10 @@ const Ps = ({
4639
4644
  onMarkAsRead: r,
4640
4645
  onDelete: n,
4641
4646
  onClick: o
4642
- }) => t.length === 0 ? null : /* @__PURE__ */ x.jsxs(ye, { sx: { mb: 2 }, children: [
4643
- /* @__PURE__ */ x.jsx(Tt, { variant: "caption", sx: { color: "text.secondary", px: 2, py: 1, display: "block" }, children: e }),
4644
- /* @__PURE__ */ x.jsx(gn, { sx: { mb: 1 } }),
4645
- t.map((i) => /* @__PURE__ */ x.jsx(
4647
+ }) => t.length === 0 ? null : /* @__PURE__ */ T.jsxs(ye, { sx: { mb: 2 }, children: [
4648
+ /* @__PURE__ */ T.jsx(Tt, { variant: "caption", sx: { color: "text.secondary", px: 2, py: 1, display: "block" }, children: e }),
4649
+ /* @__PURE__ */ T.jsx(gn, { sx: { mb: 1 } }),
4650
+ t.map((i) => /* @__PURE__ */ T.jsx(
4646
4651
  Bn,
4647
4652
  {
4648
4653
  notification: i,
@@ -4693,7 +4698,7 @@ const js = ({
4693
4698
  push: !0,
4694
4699
  sms: !0,
4695
4700
  in_app: !0
4696
- }), [c, u] = Te({}), [f, p] = Te(!1);
4701
+ }), [c, u] = Te({}), [f, d] = Te(!1);
4697
4702
  Ze(() => {
4698
4703
  m();
4699
4704
  }, []);
@@ -4709,24 +4714,24 @@ const js = ({
4709
4714
  } catch (y) {
4710
4715
  console.error("Failed to load preferences:", y);
4711
4716
  }
4712
- }, d = async (y, b) => {
4717
+ }, h = async (y, b) => {
4713
4718
  const l = { ...o, [y]: b };
4714
4719
  i(l);
4715
4720
  try {
4716
- p(!0), await e.preferences.update(r, t, {
4721
+ d(!0), await e.preferences.update(r, t, {
4717
4722
  emailEnabled: l.email,
4718
4723
  pushEnabled: l.push,
4719
4724
  smsEnabled: l.sms,
4720
4725
  inAppEnabled: l.in_app
4721
4726
  });
4722
- } catch (w) {
4723
- console.error("Failed to update preferences:", w), i((S) => ({ ...S, [y]: !b }));
4727
+ } catch (_) {
4728
+ console.error("Failed to update preferences:", _), i((w) => ({ ...w, [y]: !b }));
4724
4729
  } finally {
4725
- p(!1);
4730
+ d(!1);
4726
4731
  }
4727
- }, h = async () => {
4732
+ }, p = async () => {
4728
4733
  try {
4729
- p(!0), await e.preferences.update(r, t, {
4734
+ d(!0), await e.preferences.update(r, t, {
4730
4735
  emailEnabled: o.email,
4731
4736
  pushEnabled: o.push,
4732
4737
  smsEnabled: o.sms,
@@ -4736,72 +4741,72 @@ const js = ({
4736
4741
  } catch (y) {
4737
4742
  console.error("Failed to save preferences:", y);
4738
4743
  } finally {
4739
- p(!1);
4744
+ d(!1);
4740
4745
  }
4741
4746
  };
4742
- return /* @__PURE__ */ x.jsxs(ye, { sx: { p: 3, minWidth: 300 }, children: [
4743
- /* @__PURE__ */ x.jsx(Tt, { variant: "h6", gutterBottom: !0, children: "Notification Preferences" }),
4744
- /* @__PURE__ */ x.jsx(gn, { sx: { my: 2 } }),
4745
- /* @__PURE__ */ x.jsx(Tt, { variant: "subtitle2", sx: { mb: 2, fontWeight: "bold" }, children: "Channels" }),
4746
- /* @__PURE__ */ x.jsx(
4747
+ return /* @__PURE__ */ T.jsxs(ye, { sx: { p: 3, minWidth: 300 }, children: [
4748
+ /* @__PURE__ */ T.jsx(Tt, { variant: "h6", gutterBottom: !0, children: "Notification Preferences" }),
4749
+ /* @__PURE__ */ T.jsx(gn, { sx: { my: 2 } }),
4750
+ /* @__PURE__ */ T.jsx(Tt, { variant: "subtitle2", sx: { mb: 2, fontWeight: "bold" }, children: "Channels" }),
4751
+ /* @__PURE__ */ T.jsx(
4747
4752
  mt,
4748
4753
  {
4749
- control: /* @__PURE__ */ x.jsx(
4754
+ control: /* @__PURE__ */ T.jsx(
4750
4755
  ht,
4751
4756
  {
4752
4757
  checked: o.email,
4753
- onChange: (y) => d("email", y.target.checked),
4758
+ onChange: (y) => h("email", y.target.checked),
4754
4759
  disabled: f
4755
4760
  }
4756
4761
  ),
4757
4762
  label: "Email"
4758
4763
  }
4759
4764
  ),
4760
- /* @__PURE__ */ x.jsx(
4765
+ /* @__PURE__ */ T.jsx(
4761
4766
  mt,
4762
4767
  {
4763
- control: /* @__PURE__ */ x.jsx(
4768
+ control: /* @__PURE__ */ T.jsx(
4764
4769
  ht,
4765
4770
  {
4766
4771
  checked: o.push,
4767
- onChange: (y) => d("push", y.target.checked),
4772
+ onChange: (y) => h("push", y.target.checked),
4768
4773
  disabled: f
4769
4774
  }
4770
4775
  ),
4771
4776
  label: "Push Notifications"
4772
4777
  }
4773
4778
  ),
4774
- /* @__PURE__ */ x.jsx(
4779
+ /* @__PURE__ */ T.jsx(
4775
4780
  mt,
4776
4781
  {
4777
- control: /* @__PURE__ */ x.jsx(
4782
+ control: /* @__PURE__ */ T.jsx(
4778
4783
  ht,
4779
4784
  {
4780
4785
  checked: o.sms,
4781
- onChange: (y) => d("sms", y.target.checked),
4786
+ onChange: (y) => h("sms", y.target.checked),
4782
4787
  disabled: f
4783
4788
  }
4784
4789
  ),
4785
4790
  label: "SMS"
4786
4791
  }
4787
4792
  ),
4788
- /* @__PURE__ */ x.jsx(
4793
+ /* @__PURE__ */ T.jsx(
4789
4794
  mt,
4790
4795
  {
4791
- control: /* @__PURE__ */ x.jsx(
4796
+ control: /* @__PURE__ */ T.jsx(
4792
4797
  ht,
4793
4798
  {
4794
4799
  checked: o.in_app,
4795
- onChange: (y) => d("in_app", y.target.checked),
4800
+ onChange: (y) => h("in_app", y.target.checked),
4796
4801
  disabled: f
4797
4802
  }
4798
4803
  ),
4799
4804
  label: "In-App"
4800
4805
  }
4801
4806
  ),
4802
- /* @__PURE__ */ x.jsxs(ye, { sx: { mt: 3, display: "flex", justifyContent: "flex-end", gap: 1 }, children: [
4803
- n && /* @__PURE__ */ x.jsx(Ar, { onClick: n, variant: "outlined", size: "small", children: "Cancel" }),
4804
- /* @__PURE__ */ x.jsx(Ar, { onClick: h, variant: "contained", size: "small", disabled: f, children: "Save" })
4807
+ /* @__PURE__ */ T.jsxs(ye, { sx: { mt: 3, display: "flex", justifyContent: "flex-end", gap: 1 }, children: [
4808
+ n && /* @__PURE__ */ T.jsx(Ar, { onClick: n, variant: "outlined", size: "small", children: "Cancel" }),
4809
+ /* @__PURE__ */ T.jsx(Ar, { onClick: p, variant: "contained", size: "small", disabled: f, children: "Save" })
4805
4810
  ] })
4806
4811
  ] });
4807
4812
  }, Ds = ({
@@ -4814,44 +4819,44 @@ const js = ({
4814
4819
  subscriberId: c,
4815
4820
  tenantId: u,
4816
4821
  client: f,
4817
- groupByDate: p = !0
4822
+ groupByDate: d = !0
4818
4823
  }) => {
4819
- const [m, d] = Te("all"), [h, y] = Te(null), b = m === "unread" ? e.filter((T) => T.read !== !0) : e;
4824
+ const [m, h] = Te("all"), [p, y] = Te(null), b = m === "unread" ? e.filter((C) => C.read !== !0) : e;
4820
4825
  if (t)
4821
- return /* @__PURE__ */ x.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ x.jsx(go, { size: 40 }) });
4826
+ return /* @__PURE__ */ T.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ T.jsx(go, { size: 40 }) });
4822
4827
  if (r)
4823
- return /* @__PURE__ */ x.jsx(yo, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4828
+ return /* @__PURE__ */ T.jsx(yo, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4824
4829
  if (e.length === 0)
4825
- return /* @__PURE__ */ x.jsx(Es, {});
4826
- const l = async (T) => {
4827
- o && await o(T);
4828
- }, w = async (T) => {
4829
- i && await i(T);
4830
- }, S = p ? Is(b) : { all: b };
4831
- return /* @__PURE__ */ x.jsxs(ye, { children: [
4832
- /* @__PURE__ */ x.jsxs(ye, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", px: 2, py: 1, borderBottom: 1, borderColor: "divider" }, children: [
4833
- /* @__PURE__ */ x.jsxs(bo, { value: m, onChange: (T, _) => d(_), children: [
4834
- /* @__PURE__ */ x.jsx(kr, { label: "All", value: "all" }),
4835
- /* @__PURE__ */ x.jsx(kr, { label: "Unread", value: "unread" })
4830
+ return /* @__PURE__ */ T.jsx(Es, {});
4831
+ const l = async (C) => {
4832
+ o && await o(C);
4833
+ }, _ = async (C) => {
4834
+ i && await i(C);
4835
+ }, w = d ? Is(b) : { all: b };
4836
+ return /* @__PURE__ */ T.jsxs(ye, { children: [
4837
+ /* @__PURE__ */ T.jsxs(ye, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", px: 2, py: 1, borderBottom: 1, borderColor: "divider" }, children: [
4838
+ /* @__PURE__ */ T.jsxs(bo, { value: m, onChange: (C, x) => h(x), children: [
4839
+ /* @__PURE__ */ T.jsx(kr, { label: "All", value: "all" }),
4840
+ /* @__PURE__ */ T.jsx(kr, { label: "Unread", value: "unread" })
4836
4841
  ] }),
4837
- f && c && u && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4838
- /* @__PURE__ */ x.jsx(
4842
+ f && c && u && /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
4843
+ /* @__PURE__ */ T.jsx(
4839
4844
  xt,
4840
4845
  {
4841
4846
  size: "small",
4842
- onClick: (T) => y(T.currentTarget),
4847
+ onClick: (C) => y(C.currentTarget),
4843
4848
  title: "Preferences",
4844
- children: /* @__PURE__ */ x.jsx(ys, { fontSize: "small" })
4849
+ children: /* @__PURE__ */ T.jsx(ys, { fontSize: "small" })
4845
4850
  }
4846
4851
  ),
4847
- /* @__PURE__ */ x.jsx(
4852
+ /* @__PURE__ */ T.jsx(
4848
4853
  yn,
4849
4854
  {
4850
- open: !!h,
4851
- anchorEl: h,
4855
+ open: !!p,
4856
+ anchorEl: p,
4852
4857
  onClose: () => y(null),
4853
4858
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
4854
- children: /* @__PURE__ */ x.jsx(
4859
+ children: /* @__PURE__ */ T.jsx(
4855
4860
  js,
4856
4861
  {
4857
4862
  client: f,
@@ -4864,25 +4869,25 @@ const js = ({
4864
4869
  )
4865
4870
  ] })
4866
4871
  ] }),
4867
- /* @__PURE__ */ x.jsx(vo, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: p ? Object.entries(S).map(([T, _]) => /* @__PURE__ */ x.jsx(
4872
+ /* @__PURE__ */ T.jsx(vo, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: d ? Object.entries(w).map(([C, x]) => /* @__PURE__ */ T.jsx(
4868
4873
  Ps,
4869
4874
  {
4870
- groupLabel: Ns(T),
4871
- notifications: _,
4875
+ groupLabel: Ns(C),
4876
+ notifications: x,
4872
4877
  onMarkAsRead: l,
4873
- onDelete: w,
4878
+ onDelete: _,
4874
4879
  onClick: n
4875
4880
  },
4876
- T
4877
- )) : b.map((T) => /* @__PURE__ */ x.jsx(
4881
+ C
4882
+ )) : b.map((C) => /* @__PURE__ */ T.jsx(
4878
4883
  Bn,
4879
4884
  {
4880
- notification: T,
4885
+ notification: C,
4881
4886
  onMarkAsRead: l,
4882
- onDelete: w,
4887
+ onDelete: _,
4883
4888
  onClick: n
4884
4889
  },
4885
- T.notificationId
4890
+ C.notificationId
4886
4891
  )) })
4887
4892
  ] });
4888
4893
  }, Ws = ({
@@ -4890,88 +4895,90 @@ const js = ({
4890
4895
  tenantId: t,
4891
4896
  subscriberId: r,
4892
4897
  environmentId: n,
4893
- position: o = "top-right",
4894
- maxNotifications: i = 50,
4895
- showUnreadBadge: c = !0,
4896
- onNotificationClick: u,
4897
- onMarkAsRead: f,
4898
- onDelete: p,
4899
- pollInterval: m
4898
+ socketPath: o,
4899
+ position: i = "top-right",
4900
+ maxNotifications: c = 50,
4901
+ showUnreadBadge: u = !0,
4902
+ onNotificationClick: f,
4903
+ onMarkAsRead: d,
4904
+ onDelete: m,
4905
+ pollInterval: h
4900
4906
  }) => {
4901
- const [d, h] = Te(null), y = !!d, {
4902
- notifications: b,
4903
- loading: l,
4907
+ const [p, y] = Te(null), b = !!p, {
4908
+ notifications: l,
4909
+ loading: _,
4904
4910
  error: w,
4905
- unreadCount: S,
4906
- connected: T,
4907
- markAsRead: _,
4908
- deleteNotification: $
4911
+ unreadCount: C,
4912
+ connected: x,
4913
+ markAsRead: R,
4914
+ deleteNotification: S
4909
4915
  } = Mo({
4910
4916
  client: e,
4911
4917
  tenantId: t,
4912
4918
  subscriberId: r,
4913
4919
  environmentId: n,
4914
- pollInterval: m
4915
- }), E = (R) => {
4916
- h(R.currentTarget);
4917
- }, q = () => {
4918
- h(null);
4919
- }, oe = async (R) => {
4920
- await _(R), f && await f(R);
4921
- }, ee = async (R) => {
4922
- await $(R), p && await p(R);
4923
- }, W = b.slice(0, i), a = () => {
4924
- const R = {};
4925
- return o.includes("top") ? R.top = "8px" : R.bottom = "8px", o.includes("right") ? R.right = "8px" : R.left = "8px", R;
4920
+ pollInterval: h,
4921
+ path: o
4922
+ }), q = (P) => {
4923
+ y(P.currentTarget);
4924
+ }, oe = () => {
4925
+ y(null);
4926
+ }, ee = async (P) => {
4927
+ await R(P), d && await d(P);
4928
+ }, z = async (P) => {
4929
+ await S(P), m && await m(P);
4930
+ }, a = l.slice(0, c), $ = () => {
4931
+ const P = {};
4932
+ return i.includes("top") ? P.top = "8px" : P.bottom = "8px", i.includes("right") ? P.right = "8px" : P.left = "8px", P;
4926
4933
  };
4927
- return /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4928
- /* @__PURE__ */ x.jsx(
4934
+ return /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
4935
+ /* @__PURE__ */ T.jsx(
4929
4936
  gs,
4930
4937
  {
4931
- unreadCount: S,
4932
- onClick: E,
4933
- showBadge: c
4938
+ unreadCount: C,
4939
+ onClick: q,
4940
+ showBadge: u
4934
4941
  }
4935
4942
  ),
4936
- /* @__PURE__ */ x.jsx(
4943
+ /* @__PURE__ */ T.jsx(
4937
4944
  yn,
4938
4945
  {
4939
- open: y,
4940
- anchorEl: d,
4941
- onClose: q,
4946
+ open: b,
4947
+ anchorEl: p,
4948
+ onClose: oe,
4942
4949
  anchorOrigin: {
4943
- vertical: o.includes("bottom") ? "bottom" : "top",
4944
- horizontal: o.includes("right") ? "right" : "left"
4950
+ vertical: i.includes("bottom") ? "bottom" : "top",
4951
+ horizontal: i.includes("right") ? "right" : "left"
4945
4952
  },
4946
4953
  transformOrigin: {
4947
- vertical: o.includes("bottom") ? "top" : "bottom",
4948
- horizontal: o.includes("right") ? "right" : "left"
4954
+ vertical: i.includes("bottom") ? "top" : "bottom",
4955
+ horizontal: i.includes("right") ? "right" : "left"
4949
4956
  },
4950
4957
  PaperProps: {
4951
4958
  sx: {
4952
4959
  width: 400,
4953
4960
  maxWidth: "90vw",
4954
4961
  maxHeight: "80vh",
4955
- ...a()
4962
+ ...$()
4956
4963
  }
4957
4964
  },
4958
- children: /* @__PURE__ */ x.jsxs(So, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4959
- /* @__PURE__ */ x.jsx(ye, { className: "p-4 border-b border-gray-200", children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center justify-between", children: [
4960
- /* @__PURE__ */ x.jsx("h3", { className: "text-lg font-semibold", children: "Notifications" }),
4961
- T && /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4962
- /* @__PURE__ */ x.jsx(ye, { className: "w-2 h-2 bg-green-500 rounded-full", title: "Connected" }),
4963
- /* @__PURE__ */ x.jsx("span", { className: "text-xs text-gray-500", children: "Live" })
4965
+ children: /* @__PURE__ */ T.jsxs(So, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4966
+ /* @__PURE__ */ T.jsx(ye, { className: "p-4 border-b border-gray-200", children: /* @__PURE__ */ T.jsxs(ye, { className: "flex items-center justify-between", children: [
4967
+ /* @__PURE__ */ T.jsx("h3", { className: "text-lg font-semibold", children: "Notifications" }),
4968
+ x && /* @__PURE__ */ T.jsxs(ye, { className: "flex items-center gap-2", children: [
4969
+ /* @__PURE__ */ T.jsx(ye, { className: "w-2 h-2 bg-green-500 rounded-full", title: "Connected" }),
4970
+ /* @__PURE__ */ T.jsx("span", { className: "text-xs text-gray-500", children: "Live" })
4964
4971
  ] })
4965
4972
  ] }) }),
4966
- /* @__PURE__ */ x.jsx(
4973
+ /* @__PURE__ */ T.jsx(
4967
4974
  Ds,
4968
4975
  {
4969
- notifications: W,
4970
- loading: l,
4976
+ notifications: a,
4977
+ loading: _,
4971
4978
  error: w,
4972
- onNotificationClick: u,
4973
- onMarkAsRead: oe,
4974
- onDelete: ee,
4979
+ onNotificationClick: f,
4980
+ onMarkAsRead: ee,
4981
+ onDelete: z,
4975
4982
  subscriberId: r,
4976
4983
  tenantId: t,
4977
4984
  client: e,