@ukpc-lib/react 0.15.8-sandbox.saas-9173 → 0.15.9-sandbox.saas-8608.patch-2

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.
Files changed (26) hide show
  1. package/dist/components/FileNotFound/index.d.ts +1 -0
  2. package/dist/components/index.cjs +8 -8
  3. package/dist/components/index.js +429 -417
  4. package/dist/components/main.d.ts +1 -0
  5. package/dist/{index.esm2017-C2gSTh9B.js → index.esm2017-DPS6NsTJ.js} +9441 -9179
  6. package/dist/{index.esm2017-BSSJ0AeG.cjs → index.esm2017-DVYUt3O5.cjs} +96 -96
  7. package/dist/share/index.cjs +1 -1
  8. package/dist/share/index.js +1 -1
  9. package/package.json +1 -1
  10. package/web-components-bundle/access-denied/index.js +2 -2
  11. package/web-components-bundle/base-breadcrumbs/index.js +3 -2
  12. package/web-components-bundle/favorite-menu/index.js +4 -4
  13. package/web-components-bundle/file-not-found/index.js +21 -0
  14. package/web-components-bundle/global-menu/index.js +4 -4
  15. package/web-components-bundle/global-topbar/index.js +10 -8
  16. package/web-components-bundle/has-permission/index.js +3 -3
  17. package/web-components-bundle/{index-SVUqu8Nm.js → index-BMcWYdph.js} +1365 -1106
  18. package/web-components-bundle/{index-DzW7qqrH.js → index-BU5SX9Tl.js} +537 -537
  19. package/web-components-bundle/{index-BOd5uK1U.js → index-DUUTro2H.js} +25 -23
  20. package/web-components-bundle/index-LHlpISKg.js +11 -0
  21. package/web-components-bundle/page-not-found/index.js +39 -4
  22. package/web-components-bundle/{react-to-web-component-BOygDorD.js → react-to-web-component-w5r1Fs9q.js} +1527 -1535
  23. package/web-components-bundle/{react-toastify.esm-DnABvuky.js → react-toastify.esm-H_Xdunfj.js} +1 -1
  24. package/web-components-bundle/toast-config/index.js +2 -2
  25. package/web-components-bundle/toast-config-notification/index.js +2 -2
  26. package/web-components-bundle/index-BUE-pz1x.js +0 -48
@@ -1,9 +1,9 @@
1
- import di, { jsxs as M, Fragment as ve, jsx as u } from "react/jsx-runtime";
1
+ import di, { jsxs as I, Fragment as ve, jsx as u } from "react/jsx-runtime";
2
2
  import * as $ from "react";
3
- import Ee, { createElement as cn, PureComponent as fi, useState as D, useEffect as J, useRef as ye, useContext as We, useCallback as dt, forwardRef as hi } from "react";
4
- import { c as Ie, a as ht, _ as mi, b as Jn, d as W, C as nt, t as Le, I as Zr, N as pi, p as gi, L as Qn, u as yi, e as vi, S as Xr, f as bi, g as xi, Q as Jr, h as Tt, s as er, i as Qr, j as Si, k as It, P, l as we, m as wi, o as _i, n as Fe, q as Ei, r as At, v as tr, w as Ci, x as nr, D as Ti, y as eo, z as to, A as Ii, B as Mi, E as ki } from "../index.esm2017-C2gSTh9B.js";
5
- import { J as cu, G as lu, M as uu, F as du, H as fu, K as hu } from "../index.esm2017-C2gSTh9B.js";
6
- import { Box as no, CircularProgress as ro, Typography as Me, Stack as Se, Dialog as Oi, DialogTitle as Ai, DialogContent as $i, DialogActions as Ni, Button as yn, ClickAwayListener as Pi, TextField as oo, IconButton as Ri, Fade as zi, Paper as Li, Checkbox as Di, Breadcrumbs as Fi } from "@mui/material";
3
+ import Ee, { createElement as cn, PureComponent as fi, useState as F, useEffect as J, useRef as ye, useContext as We, useCallback as dt, forwardRef as hi } from "react";
4
+ import { c as Ie, a as ht, _ as mi, b as Qn, d as W, C as nt, t as Le, I as Xr, N as pi, p as gi, L as er, u as yi, e as vi, S as Rn, f as bi, g as xi, Q as Jr, h as Tt, s as tr, i as Qr, j as Si, k as It, P, l as we, m as wi, o as _i, n as De, q as Ei, r as At, v as nr, w as Ci, x as rr, D as Ti, y as eo, z as to, A as Ii, B as Mi, E as ki } from "../index.esm2017-DPS6NsTJ.js";
5
+ import { J as uu, G as du, M as fu, F as hu, H as mu, K as pu } from "../index.esm2017-DPS6NsTJ.js";
6
+ import { Box as no, CircularProgress as ro, Typography as Me, Stack as Se, Dialog as Oi, DialogTitle as Ai, DialogContent as $i, DialogActions as Ni, Button as yn, ClickAwayListener as Pi, TextField as oo, IconButton as Ri, Fade as zi, Paper as Li, Checkbox as Fi, Breadcrumbs as Di } from "@mui/material";
7
7
  import "axios";
8
8
  import { useParams as Hi, Link as io } from "react-router-dom";
9
9
  import "@r2wc/react-to-web-component";
@@ -15,7 +15,7 @@ const ji = (e) => {
15
15
  const { tabs: t } = e, n = (i) => {
16
16
  e.setCurrentTab(i.target.id);
17
17
  };
18
- return console.log("🚀 ~ brandColors:", e.currentTab), /* @__PURE__ */ M(ve, { children: [
18
+ return console.log("🚀 ~ brandColors:", e.currentTab), /* @__PURE__ */ I(ve, { children: [
19
19
  /* @__PURE__ */ u("style", { children: `
20
20
  .tab-title {
21
21
  min-width: 90px;
@@ -48,7 +48,7 @@ const ji = (e) => {
48
48
  padding: 16px 0;
49
49
  }
50
50
  ` }),
51
- /* @__PURE__ */ M("div", { className: "tab-container", children: [
51
+ /* @__PURE__ */ I("div", { className: "tab-container", children: [
52
52
  /* @__PURE__ */ u(
53
53
  "div",
54
54
  {
@@ -102,11 +102,11 @@ const ji = (e) => {
102
102
  }
103
103
  })), d;
104
104
  };
105
- var rr = Number.isNaN || function(t) {
105
+ var or = Number.isNaN || function(t) {
106
106
  return typeof t == "number" && t !== t;
107
107
  };
108
108
  function Bi(e, t) {
109
- return !!(e === t || rr(e) && rr(t));
109
+ return !!(e === t || or(e) && or(t));
110
110
  }
111
111
  function Vi(e, t) {
112
112
  if (e.length !== t.length)
@@ -126,18 +126,18 @@ function ln(e, t) {
126
126
  }
127
127
  return a;
128
128
  }
129
- var Wi = typeof performance == "object" && typeof performance.now == "function", or = Wi ? function() {
129
+ var Wi = typeof performance == "object" && typeof performance.now == "function", ir = Wi ? function() {
130
130
  return performance.now();
131
131
  } : function() {
132
132
  return Date.now();
133
133
  };
134
- function ir(e) {
134
+ function ar(e) {
135
135
  cancelAnimationFrame(e.id);
136
136
  }
137
137
  function Ui(e, t) {
138
- var n = or();
138
+ var n = ir();
139
139
  function r() {
140
- or() - n >= t ? e.call(null) : o.id = requestAnimationFrame(r);
140
+ ir() - n >= t ? e.call(null) : o.id = requestAnimationFrame(r);
141
141
  }
142
142
  var o = {
143
143
  id: requestAnimationFrame(r)
@@ -145,7 +145,7 @@ function Ui(e, t) {
145
145
  return o;
146
146
  }
147
147
  var un = -1;
148
- function ar(e) {
148
+ function sr(e) {
149
149
  if (e === void 0 && (e = !1), un === -1 || e) {
150
150
  var t = document.createElement("div"), n = t.style;
151
151
  n.width = "50px", n.height = "50px", n.overflow = "scroll", document.body.appendChild(t), un = t.offsetWidth - t.clientWidth, document.body.removeChild(t);
@@ -153,7 +153,7 @@ function ar(e) {
153
153
  return un;
154
154
  }
155
155
  var Ke = null;
156
- function sr(e) {
156
+ function cr(e) {
157
157
  if (e === void 0 && (e = !1), Ke === null || e) {
158
158
  var t = document.createElement("div"), n = t.style;
159
159
  n.width = "50px", n.height = "50px", n.overflow = "scroll", n.direction = "rtl";
@@ -173,8 +173,8 @@ function Yi(e) {
173
173
  mi(m, h);
174
174
  function m(g) {
175
175
  var s;
176
- return s = h.call(this, g) || this, s._instanceProps = l(s.props, Jn(s)), s._outerRef = void 0, s._resetIsScrollingTimeoutId = null, s.state = {
177
- instance: Jn(s),
176
+ return s = h.call(this, g) || this, s._instanceProps = l(s.props, Qn(s)), s._outerRef = void 0, s._resetIsScrollingTimeoutId = null, s.state = {
177
+ instance: Qn(s),
178
178
  isScrolling: !1,
179
179
  scrollDirection: "forward",
180
180
  scrollOffset: typeof s.props.initialScrollOffset == "number" ? s.props.initialScrollOffset : 0,
@@ -197,14 +197,14 @@ function Yi(e) {
197
197
  if (y.hasOwnProperty(p))
198
198
  w = y[p];
199
199
  else {
200
- var _ = n(s.props, p, s._instanceProps), I = o(s.props, p, s._instanceProps), k = S === "horizontal" || E === "horizontal", L = S === "rtl", C = k ? _ : 0;
200
+ var _ = n(s.props, p, s._instanceProps), M = o(s.props, p, s._instanceProps), k = S === "horizontal" || E === "horizontal", L = S === "rtl", C = k ? _ : 0;
201
201
  y[p] = w = {
202
202
  position: "absolute",
203
203
  left: L ? void 0 : C,
204
204
  right: L ? C : void 0,
205
205
  top: k ? 0 : _,
206
- height: k ? "100%" : I,
207
- width: k ? I : "100%"
206
+ height: k ? "100%" : M,
207
+ width: k ? M : "100%"
208
208
  };
209
209
  }
210
210
  return w;
@@ -217,7 +217,7 @@ function Yi(e) {
217
217
  return null;
218
218
  var w = s.props.direction, _ = x;
219
219
  if (w === "rtl")
220
- switch (sr()) {
220
+ switch (cr()) {
221
221
  case "negative":
222
222
  _ = -x;
223
223
  break;
@@ -249,7 +249,7 @@ function Yi(e) {
249
249
  var b = s.props.outerRef;
250
250
  s._outerRef = p, typeof b == "function" ? b(p) : b != null && typeof b == "object" && b.hasOwnProperty("current") && (b.current = p);
251
251
  }, s._resetIsScrollingDebounced = function() {
252
- s._resetIsScrollingTimeoutId !== null && ir(s._resetIsScrollingTimeoutId), s._resetIsScrollingTimeoutId = Ui(s._resetIsScrolling, Gi);
252
+ s._resetIsScrollingTimeoutId !== null && ar(s._resetIsScrollingTimeoutId), s._resetIsScrollingTimeoutId = Ui(s._resetIsScrolling, Gi);
253
253
  }, s._resetIsScrolling = function() {
254
254
  s._resetIsScrollingTimeoutId = null, s.setState({
255
255
  isScrolling: !1
@@ -277,7 +277,7 @@ function Yi(e) {
277
277
  var y = 0;
278
278
  if (this._outerRef) {
279
279
  var w = this._outerRef;
280
- x === "vertical" ? y = w.scrollWidth > w.clientWidth ? ar() : 0 : y = w.scrollHeight > w.clientHeight ? ar() : 0;
280
+ x === "vertical" ? y = w.scrollWidth > w.clientWidth ? sr() : 0 : y = w.scrollHeight > w.clientHeight ? sr() : 0;
281
281
  }
282
282
  this.scrollTo(i(this.props, s, p, E, this._instanceProps, y));
283
283
  }, v.componentDidMount = function() {
@@ -293,7 +293,7 @@ function Yi(e) {
293
293
  var y = this._outerRef;
294
294
  if (p === "horizontal" || b === "horizontal")
295
295
  if (p === "rtl")
296
- switch (sr()) {
296
+ switch (cr()) {
297
297
  case "negative":
298
298
  y.scrollLeft = -x;
299
299
  break;
@@ -312,14 +312,14 @@ function Yi(e) {
312
312
  }
313
313
  this._callPropsCallbacks();
314
314
  }, v.componentWillUnmount = function() {
315
- this._resetIsScrollingTimeoutId !== null && ir(this._resetIsScrollingTimeoutId);
315
+ this._resetIsScrollingTimeoutId !== null && ar(this._resetIsScrollingTimeoutId);
316
316
  }, v.render = function() {
317
- var s = this.props, p = s.children, b = s.className, S = s.direction, x = s.height, E = s.innerRef, y = s.innerElementType, w = s.innerTagName, _ = s.itemCount, I = s.itemData, k = s.itemKey, L = k === void 0 ? Ki : k, C = s.layout, O = s.outerElementType, R = s.outerTagName, Y = s.style, ie = s.useIsScrolling, ue = s.width, $e = this.state.isScrolling, N = S === "horizontal" || C === "horizontal", z = N ? this._onScrollHorizontal : this._onScrollVertical, U = this._getRangeToRender(), de = U[0], ae = U[1], re = [];
317
+ var s = this.props, p = s.children, b = s.className, S = s.direction, x = s.height, E = s.innerRef, y = s.innerElementType, w = s.innerTagName, _ = s.itemCount, M = s.itemData, k = s.itemKey, L = k === void 0 ? Ki : k, C = s.layout, O = s.outerElementType, R = s.outerTagName, Y = s.style, ie = s.useIsScrolling, ue = s.width, $e = this.state.isScrolling, N = S === "horizontal" || C === "horizontal", z = N ? this._onScrollHorizontal : this._onScrollVertical, U = this._getRangeToRender(), de = U[0], ae = U[1], re = [];
318
318
  if (_ > 0)
319
319
  for (var te = de; te <= ae; te++)
320
320
  re.push(cn(p, {
321
- data: I,
322
- key: L(te, I),
321
+ data: M,
322
+ key: L(te, M),
323
323
  index: te,
324
324
  isScrolling: ie ? $e : void 0,
325
325
  style: this._getItemStyle(te)
@@ -356,15 +356,15 @@ function Yi(e) {
356
356
  }
357
357
  }
358
358
  if (typeof this.props.onScroll == "function") {
359
- var y = this.state, w = y.scrollDirection, _ = y.scrollOffset, I = y.scrollUpdateWasRequested;
360
- this._callOnScroll(w, _, I);
359
+ var y = this.state, w = y.scrollDirection, _ = y.scrollOffset, M = y.scrollUpdateWasRequested;
360
+ this._callOnScroll(w, _, M);
361
361
  }
362
362
  }, v._getRangeToRender = function() {
363
363
  var s = this.props, p = s.itemCount, b = s.overscanCount, S = this.state, x = S.isScrolling, E = S.scrollDirection, y = S.scrollOffset;
364
364
  if (p === 0)
365
365
  return [0, 0, 0, 0];
366
- var w = a(this.props, y, this._instanceProps), _ = c(this.props, w, y, this._instanceProps), I = !x || E === "backward" ? Math.max(1, b) : 1, k = !x || E === "forward" ? Math.max(1, b) : 1;
367
- return [Math.max(0, w - I), Math.max(0, Math.min(p - 1, _ + k)), w, _];
366
+ var w = a(this.props, y, this._instanceProps), _ = c(this.props, w, y, this._instanceProps), M = !x || E === "backward" ? Math.max(1, b) : 1, k = !x || E === "forward" ? Math.max(1, b) : 1;
367
+ return [Math.max(0, w - M), Math.max(0, Math.min(p - 1, _ + k)), w, _];
368
368
  }, m;
369
369
  }(fi), t.defaultProps = {
370
370
  direction: "ltr",
@@ -437,7 +437,7 @@ var qi = function(t, n) {
437
437
  for (var i = t.itemCount, a = 1; r < i && Qe(t, r, n).offset < o; )
438
438
  r += a, a *= 2;
439
439
  return so(t, n, Math.min(r, i - 1), Math.floor(r / 2), o);
440
- }, cr = function(t, n) {
440
+ }, lr = function(t, n) {
441
441
  var r = t.itemCount, o = n.itemMetadataMap, i = n.estimatedItemSize, a = n.lastMeasuredIndex, c = 0;
442
442
  if (a >= r && (a = r - 1), a >= 0) {
443
443
  var l = o[a];
@@ -452,9 +452,9 @@ var qi = function(t, n) {
452
452
  getItemSize: function(t, n, r) {
453
453
  return r.itemMetadataMap[n].size;
454
454
  },
455
- getEstimatedTotalSize: cr,
455
+ getEstimatedTotalSize: lr,
456
456
  getOffsetForIndexAndAlignment: function(t, n, r, o, i, a) {
457
- var c = t.direction, l = t.height, f = t.layout, d = t.width, h = c === "horizontal" || f === "horizontal", m = h ? d : l, v = Qe(t, n, i), g = cr(t, i), s = Math.max(0, Math.min(g - m, v.offset)), p = Math.max(0, v.offset - m + v.size + a);
457
+ var c = t.direction, l = t.height, f = t.layout, d = t.width, h = c === "horizontal" || f === "horizontal", m = h ? d : l, v = Qe(t, n, i), g = lr(t, i), s = Math.max(0, Math.min(g - m, v.offset)), p = Math.max(0, v.offset - m + v.size + a);
458
458
  switch (r === "smart" && (o >= p - m && o <= s + m ? r = "auto" : r = "center"), r) {
459
459
  case "start":
460
460
  return s;
@@ -492,7 +492,7 @@ var qi = function(t, n) {
492
492
  throw Error('An invalid "itemSize" prop has been specified. Value should be a function. ' + ('"' + (n === null ? "null" : typeof n) + '" was specified.'));
493
493
  }
494
494
  });
495
- const dn = 20, lr = ({
495
+ const dn = 20, ur = ({
496
496
  baseUrl: e,
497
497
  notiPath: t,
498
498
  brandColors: n,
@@ -500,14 +500,14 @@ const dn = 20, lr = ({
500
500
  tabType: o,
501
501
  popupRef: i
502
502
  }) => {
503
- const [a, c] = D(!1), [l, f] = D(0);
503
+ const [a, c] = F(!1), [l, f] = F(0);
504
504
  J(() => {
505
505
  const N = () => {
506
506
  i && i.current && f(i.current.offsetHeight - 200);
507
507
  };
508
508
  return N(), window.addEventListener("resize", N), () => window.removeEventListener("resize", N);
509
509
  }, []);
510
- const [d, h] = D([]), [m, v] = D(!0), [g, s] = D(!1), [p, b] = D(1), [S, x] = D({}), E = ye(null), { setNotiData: y } = We(nt), w = ao({ baseUrl: e, notiPath: t, setNotiData: y }), _ = ye(null), I = dt(async () => {
510
+ const [d, h] = F([]), [m, v] = F(!0), [g, s] = F(!1), [p, b] = F(1), [S, x] = F({}), E = ye(null), { setNotiData: y } = We(nt), w = ao({ baseUrl: e, notiPath: t, setNotiData: y }), _ = ye(null), M = dt(async () => {
511
511
  if (!(g || !m)) {
512
512
  s(!0);
513
513
  try {
@@ -542,7 +542,7 @@ const dn = 20, lr = ({
542
542
  })), b(1), v(!0), c(!1);
543
543
  }, O = () => {
544
544
  c(!0), C();
545
- }, R = ({ style: N }) => /* @__PURE__ */ M(
545
+ }, R = ({ style: N }) => /* @__PURE__ */ I(
546
546
  no,
547
547
  {
548
548
  style: N,
@@ -601,7 +601,7 @@ const dn = 20, lr = ({
601
601
  U.id || N
602
602
  ) });
603
603
  };
604
- return /* @__PURE__ */ M("div", { children: [
604
+ return /* @__PURE__ */ I("div", { children: [
605
605
  /* @__PURE__ */ u("div", { className: "mark-all-read", children: /* @__PURE__ */ u(
606
606
  "button",
607
607
  {
@@ -616,11 +616,11 @@ const dn = 20, lr = ({
616
616
  className: "notification-items__content",
617
617
  style: { height: "100%" },
618
618
  children: /* @__PURE__ */ u(
619
- Zr,
619
+ Xr,
620
620
  {
621
621
  isItemLoaded: L,
622
622
  itemCount: k,
623
- loadMoreItems: I,
623
+ loadMoreItems: M,
624
624
  threshold: 10,
625
625
  children: ({ onItemsRendered: N, ref: z }) => /* @__PURE__ */ u(
626
626
  co,
@@ -663,12 +663,12 @@ const dn = 20, lr = ({
663
663
  clearTimeout(m), document.removeEventListener("mousedown", h);
664
664
  };
665
665
  }, [o]);
666
- const [a, c] = D("all"), l = [
666
+ const [a, c] = F("all"), l = [
667
667
  {
668
668
  id: "all",
669
669
  tabTitle: `${Le("notificationAdmin.notify.allNotification", { defaultValue: "All" })} (${((f = i == null ? void 0 : i.all) == null ? void 0 : f.total) || 0})`,
670
670
  children: /* @__PURE__ */ u(
671
- lr,
671
+ ur,
672
672
  {
673
673
  baseUrl: e,
674
674
  notiPath: t,
@@ -683,7 +683,7 @@ const dn = 20, lr = ({
683
683
  id: "unread",
684
684
  tabTitle: `${Le("notificationAdmin.notify.unreadNotification", { defaultValue: "Unread" })} (${((d = i == null ? void 0 : i.unread) == null ? void 0 : d.total) || 0})`,
685
685
  children: /* @__PURE__ */ u(
686
- lr,
686
+ ur,
687
687
  {
688
688
  baseUrl: e,
689
689
  notiPath: t,
@@ -712,8 +712,8 @@ const dn = 20, lr = ({
712
712
  overflow: "hidden",
713
713
  zIndex: "100"
714
714
  },
715
- children: /* @__PURE__ */ M("div", { className: "list-content", children: [
716
- /* @__PURE__ */ M(
715
+ children: /* @__PURE__ */ I("div", { className: "list-content", children: [
716
+ /* @__PURE__ */ I(
717
717
  "div",
718
718
  {
719
719
  style: {
@@ -794,9 +794,9 @@ function ea({
794
794
  );
795
795
  }
796
796
  })();
797
- }, []), /* @__PURE__ */ M("div", { children: [
798
- /* @__PURE__ */ M("div", { className: "noti-container", style: { position: "relative" }, children: [
799
- /* @__PURE__ */ M(
797
+ }, []), /* @__PURE__ */ I("div", { children: [
798
+ /* @__PURE__ */ I("div", { className: "noti-container", style: { position: "relative" }, children: [
799
+ /* @__PURE__ */ I(
800
800
  "svg",
801
801
  {
802
802
  width: "24",
@@ -869,7 +869,7 @@ function ea({
869
869
  }
870
870
  const ta = ".avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar-wrapper{position:fixed;top:0;left:0;width:100%;height:64px;display:flex;z-index:1100;background:#292929;padding-left:2.5rem}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between;position:relative}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;font-size:14px;text-overflow:ellipsis;max-width:166px}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}", na = ".StyledReactSearchAutocomplete ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb{background:#c2c2c2;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb:hover{background:#757575}.StyledReactSearchAutocomplete .container{display:flex;width:100%;height:100vh;justify-content:center;align-items:center}.StyledReactSearchAutocomplete .container>div{width:300px;height:40px}.StyledReactSearchAutocomplete .container>div input{width:100%;height:40px;border:1px solid #ccc;border-radius:5px;font-size:14px;color:#000}.StyledReactSearchAutocomplete .container>div input:focus{outline:1px solid rgb(83,172,255)}.StyledReactSearchAutocomplete .list{display:flex;flex-direction:column;max-height:220px;width:inherit;overflow:auto;overflow-x:hidden;box-shadow:#0000001f 0 1px 3px,#0000003d 0 1px 2px;color:#000}.StyledReactSearchAutocomplete .list button{background:none;border:none;width:100%;height:100%;max-height:3em;padding:10px;text-align:left;cursor:pointer;border-bottom:1px solid #ccc}.StyledReactSearchAutocomplete .list button:hover{background:#f8f8f8}.StyledReactSearchAutocomplete .list button:last-child{border-bottom:none}.StyledReactSearchAutocomplete{position:relative;height:46px}.StyledReactSearchAutocomplete .wrapper{position:absolute;display:flex;flex-direction:column;width:100%;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;margin-top:2px;border-radius:3px}.StyledReactSearchAutocomplete .wrapper:hover,.StyledReactSearchAutocomplete .wrapper:active,.StyledReactSearchAutocomplete .wrapper:focus-within{box-shadow:#20212447 0 1px 6px}.StyledResults{position:absolute;display:flex;flex-direction:column;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;min-width:250px;max-width:400px;top:calc(100% - 2px);left:0}.StyledResults>div.line{border-top-color:#e8eaed;border-top-style:solid;border-top-width:1px;margin:0 20px 0 14px;padding-bottom:4px}.StyledResults>ul{list-style-type:none;margin:0;padding:0 0 16px;max-height:300px;max-width:450px}#autocomplete-results strong,#autocomplete-results li strong,#autocomplete-results li div strong{font-weight:700!important}.StyledResults>ul>li{display:flex;align-items:center;padding:4px 10px 4px 0;font-size:14px;width:100%}.StyledResults>ul>li>div{margin-left:13px;font-size:14px}.StyledResults .ellipsis{text-align:left;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.StyledResults .selectedSearch{color:#fff;text-decoration:none;background-color:#0d6efd}.StyledSearchInput{min-height:40px;width:100%;display:flex;align-items:center}.StyledSearchInput input{width:100%}.StyledSearchInput>input::-moz-placeholder{color:gray;opacity:1}.StyledSearchInput>input::placeholder{color:gray;opacity:1}.StyledSearchInput>input:-ms-input-placeholder{color:gray}.StyledSearchInput>input::-ms-input-placeholder{color:gray}.StyledClearIcon{margin:0 0 0 5px}.StyledClearIcon:hover{cursor:pointer}.StyledClearIcon>svg{fill:gray}.StyledSearchIcon{flex-shrink:0;margin:0 0 0 10px;fill:gray}.search-icon{position:unset!important;float:left;margin-right:5px;margin-left:5px}", ra = ':root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__context-text{color:#292929}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}', oa = "._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}", lo = '.notification-massage_container{background:#fff;padding:0 64px 0 72px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif;text-decoration:none;color:inherit}.notification-massage_container:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}.notification-name{font-weight:500;font-size:14px;margin:0}.notification-message_service{font-size:12px}.notification-message_button-close{position:absolute;top:12px;right:24px;width:24px;height:24px}';
871
871
  function ia(e) {
872
- return /* @__PURE__ */ M(
872
+ return /* @__PURE__ */ I(
873
873
  "svg",
874
874
  {
875
875
  width: "34",
@@ -879,7 +879,7 @@ function ia(e) {
879
879
  xmlns: "http://www.w3.org/2000/svg",
880
880
  ...e,
881
881
  children: [
882
- /* @__PURE__ */ M("g", { "clip-path": "url(#clip0_16865_28134)", children: [
882
+ /* @__PURE__ */ I("g", { "clip-path": "url(#clip0_16865_28134)", children: [
883
883
  /* @__PURE__ */ u("rect", { y: "0.5", width: "34", height: "24", rx: "3", fill: "#1A47B8" }),
884
884
  /* @__PURE__ */ u(
885
885
  "path",
@@ -961,8 +961,8 @@ function fo({ count: e = 1, wrapper: t, className: n, containerClassName: r, con
961
961
  for (let x = 0; x < S; x++) {
962
962
  let E = g;
963
963
  if (S > e && x === S - 1) {
964
- const w = (f = E.width) !== null && f !== void 0 ? f : "100%", _ = e % 1, I = typeof w == "number" ? w * _ : `calc(${w} * ${_})`;
965
- E = { ...E, width: I };
964
+ const w = (f = E.width) !== null && f !== void 0 ? f : "100%", _ = e % 1, M = typeof w == "number" ? w * _ : `calc(${w} * ${_})`;
965
+ E = { ...E, width: M };
966
966
  }
967
967
  const y = Ee.createElement("span", { className: s, style: E, key: x }, "‌");
968
968
  p ? b.push(y) : b.push(Ee.createElement(
@@ -978,7 +978,7 @@ const ca = '@keyframes react-loading-skeleton{to{transform:translate(100%)}}.rea
978
978
  baseUrl: e,
979
979
  searchPath: t
980
980
  }) => {
981
- const [n, r] = D(!1);
981
+ const [n, r] = F(!1);
982
982
  console.log("hasPermission state", n);
983
983
  const o = async () => {
984
984
  const a = e + (t || "/user-management/api/v1/users/my-account/access-stella-search");
@@ -1012,7 +1012,7 @@ function ho({
1012
1012
  document.addEventListener("click", l, !0);
1013
1013
  }
1014
1014
  function ua(e) {
1015
- return /* @__PURE__ */ M(
1015
+ return /* @__PURE__ */ I(
1016
1016
  "svg",
1017
1017
  {
1018
1018
  width: "34",
@@ -1022,7 +1022,7 @@ function ua(e) {
1022
1022
  xmlns: "http://www.w3.org/2000/svg",
1023
1023
  ...e,
1024
1024
  children: [
1025
- /* @__PURE__ */ M("g", { "clip-path": "url(#clip0_16886_62505)", children: [
1025
+ /* @__PURE__ */ I("g", { "clip-path": "url(#clip0_16886_62505)", children: [
1026
1026
  /* @__PURE__ */ u("rect", { width: "34", height: "24", rx: "3", fill: "#F93939" }),
1027
1027
  /* @__PURE__ */ u(
1028
1028
  "path",
@@ -1085,7 +1085,7 @@ function fn(e) {
1085
1085
  function go(e) {
1086
1086
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
1087
1087
  }
1088
- const ga = "Incorrect 'index' type", ya = (e) => `Invalid value for key ${e}`, va = (e) => `Pattern length exceeds max of ${e}.`, ba = (e) => `Missing ${e} property in key`, xa = (e) => `Property 'weight' in key '${e}' must be a positive integer`, ur = Object.prototype.hasOwnProperty;
1088
+ const ga = "Incorrect 'index' type", ya = (e) => `Invalid value for key ${e}`, va = (e) => `Pattern length exceeds max of ${e}.`, ba = (e) => `Missing ${e} property in key`, xa = (e) => `Property 'weight' in key '${e}' must be a positive integer`, dr = Object.prototype.hasOwnProperty;
1089
1089
  class Sa {
1090
1090
  constructor(t) {
1091
1091
  this._keys = [], this._keyMap = {};
@@ -1110,18 +1110,18 @@ class Sa {
1110
1110
  function yo(e) {
1111
1111
  let t = null, n = null, r = null, o = 1, i = null;
1112
1112
  if (ke(e) || Ne(e))
1113
- r = e, t = dr(e), n = vn(e);
1113
+ r = e, t = fr(e), n = vn(e);
1114
1114
  else {
1115
- if (!ur.call(e, "name"))
1115
+ if (!dr.call(e, "name"))
1116
1116
  throw new Error(ba("name"));
1117
1117
  const a = e.name;
1118
- if (r = a, ur.call(e, "weight") && (o = e.weight, o <= 0))
1118
+ if (r = a, dr.call(e, "weight") && (o = e.weight, o <= 0))
1119
1119
  throw new Error(xa(a));
1120
- t = dr(a), n = vn(a), i = e.getFn;
1120
+ t = fr(a), n = vn(a), i = e.getFn;
1121
1121
  }
1122
1122
  return { path: t, id: n, weight: o, src: r, getFn: i };
1123
1123
  }
1124
- function dr(e) {
1124
+ function fr(e) {
1125
1125
  return Ne(e) ? e : e.split(".");
1126
1126
  }
1127
1127
  function vn(e) {
@@ -1223,7 +1223,7 @@ function Ma(e = 1, t = 3) {
1223
1223
  }
1224
1224
  };
1225
1225
  }
1226
- class Rn {
1226
+ class zn {
1227
1227
  constructor({
1228
1228
  getFn: t = A.getFn,
1229
1229
  fieldNormWeight: n = A.fieldNormWeight
@@ -1320,11 +1320,11 @@ class Rn {
1320
1320
  }
1321
1321
  }
1322
1322
  function vo(e, t, { getFn: n = A.getFn, fieldNormWeight: r = A.fieldNormWeight } = {}) {
1323
- const o = new Rn({ getFn: n, fieldNormWeight: r });
1323
+ const o = new zn({ getFn: n, fieldNormWeight: r });
1324
1324
  return o.setKeys(e.map(yo)), o.setSources(t), o.create(), o;
1325
1325
  }
1326
1326
  function ka(e, { getFn: t = A.getFn, fieldNormWeight: n = A.fieldNormWeight } = {}) {
1327
- const { keys: r, records: o } = e, i = new Rn({ getFn: t, fieldNormWeight: n });
1327
+ const { keys: r, records: o } = e, i = new zn({ getFn: t, fieldNormWeight: n });
1328
1328
  return i.setKeys(r), i.setIndexRecords(o), i;
1329
1329
  }
1330
1330
  function Mt(e, {
@@ -1372,24 +1372,24 @@ function Aa(e, t, n, {
1372
1372
  ignoreLocation: f
1373
1373
  });
1374
1374
  if (v = Math.min(_, v), g = b + d, s) {
1375
- let I = 0;
1376
- for (; I < d; )
1377
- p[b + I] = 1, I += 1;
1375
+ let M = 0;
1376
+ for (; M < d; )
1377
+ p[b + M] = 1, M += 1;
1378
1378
  }
1379
1379
  }
1380
1380
  g = -1;
1381
1381
  let S = [], x = 1, E = d + h;
1382
1382
  const y = 1 << d - 1;
1383
1383
  for (let _ = 0; _ < d; _ += 1) {
1384
- let I = 0, k = E;
1385
- for (; I < k; )
1384
+ let M = 0, k = E;
1385
+ for (; M < k; )
1386
1386
  Mt(t, {
1387
1387
  errors: _,
1388
1388
  currentLocation: m + k,
1389
1389
  expectedLocation: m,
1390
1390
  distance: o,
1391
1391
  ignoreLocation: f
1392
- }) <= v ? I = k : E = k, k = Math.floor((E - I) / 2 + I);
1392
+ }) <= v ? M = k : E = k, k = Math.floor((E - M) / 2 + M);
1393
1393
  E = k;
1394
1394
  let L = Math.max(1, m - k + 1), C = a ? h : Math.min(m + k, h) + d, O = Array(C + 2);
1395
1395
  O[C + 1] = (1 << _) - 1;
@@ -1519,15 +1519,15 @@ class He {
1519
1519
  this.pattern = t;
1520
1520
  }
1521
1521
  static isMultiMatch(t) {
1522
- return fr(t, this.multiRegex);
1522
+ return hr(t, this.multiRegex);
1523
1523
  }
1524
1524
  static isSingleMatch(t) {
1525
- return fr(t, this.singleRegex);
1525
+ return hr(t, this.singleRegex);
1526
1526
  }
1527
1527
  search() {
1528
1528
  }
1529
1529
  }
1530
- function fr(e, t) {
1530
+ function hr(e, t) {
1531
1531
  const n = e.match(t);
1532
1532
  return n ? n[1] : null;
1533
1533
  }
@@ -1641,7 +1641,7 @@ class La extends He {
1641
1641
  };
1642
1642
  }
1643
1643
  }
1644
- class Da extends He {
1644
+ class Fa extends He {
1645
1645
  constructor(t) {
1646
1646
  super(t);
1647
1647
  }
@@ -1729,24 +1729,24 @@ const bn = [
1729
1729
  So,
1730
1730
  Ra,
1731
1731
  za,
1732
- Da,
1732
+ Fa,
1733
1733
  La,
1734
1734
  Pa,
1735
1735
  xo
1736
- ], hr = bn.length, Fa = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Ha = "|";
1736
+ ], mr = bn.length, Da = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Ha = "|";
1737
1737
  function ja(e, t = {}) {
1738
1738
  return e.split(Ha).map((n) => {
1739
- let r = n.trim().split(Fa).filter((i) => i && !!i.trim()), o = [];
1739
+ let r = n.trim().split(Da).filter((i) => i && !!i.trim()), o = [];
1740
1740
  for (let i = 0, a = r.length; i < a; i += 1) {
1741
1741
  const c = r[i];
1742
1742
  let l = !1, f = -1;
1743
- for (; !l && ++f < hr; ) {
1743
+ for (; !l && ++f < mr; ) {
1744
1744
  const d = bn[f];
1745
1745
  let h = d.isMultiMatch(c);
1746
1746
  h && (o.push(new d(h, t)), l = !0);
1747
1747
  }
1748
1748
  if (!l)
1749
- for (f = -1; ++f < hr; ) {
1749
+ for (f = -1; ++f < mr; ) {
1750
1750
  const d = bn[f];
1751
1751
  let h = d.isSingleMatch(c);
1752
1752
  if (h) {
@@ -1835,14 +1835,14 @@ function Sn(e, t) {
1835
1835
  }
1836
1836
  return new bo(e, t);
1837
1837
  }
1838
- const Ft = {
1838
+ const Dt = {
1839
1839
  AND: "$and",
1840
1840
  OR: "$or"
1841
1841
  }, wn = {
1842
1842
  PATH: "$path",
1843
1843
  PATTERN: "$val"
1844
- }, _n = (e) => !!(e[Ft.AND] || e[Ft.OR]), Ua = (e) => !!e[wn.PATH], Ga = (e) => !Ne(e) && po(e) && !_n(e), mr = (e) => ({
1845
- [Ft.AND]: Object.keys(e).map((t) => ({
1844
+ }, _n = (e) => !!(e[Dt.AND] || e[Dt.OR]), Ua = (e) => !!e[wn.PATH], Ga = (e) => !Ne(e) && po(e) && !_n(e), pr = (e) => ({
1845
+ [Dt.AND]: Object.keys(e).map((t) => ({
1846
1846
  [t]: e[t]
1847
1847
  }))
1848
1848
  });
@@ -1851,7 +1851,7 @@ function wo(e, t, { auto: n = !0 } = {}) {
1851
1851
  let i = Object.keys(o);
1852
1852
  const a = Ua(o);
1853
1853
  if (!a && i.length > 1 && !_n(o))
1854
- return r(mr(o));
1854
+ return r(pr(o));
1855
1855
  if (Ga(o)) {
1856
1856
  const l = a ? o[wn.PATH] : i[0], f = a ? o[wn.PATTERN] : o[l];
1857
1857
  if (!ke(f))
@@ -1873,7 +1873,7 @@ function wo(e, t, { auto: n = !0 } = {}) {
1873
1873
  });
1874
1874
  }), c;
1875
1875
  };
1876
- return _n(e) || (e = mr(e)), r(e);
1876
+ return _n(e) || (e = pr(e)), r(e);
1877
1877
  }
1878
1878
  function Ka(e, { ignoreFieldNorm: t = A.ignoreFieldNorm }) {
1879
1879
  e.forEach((n) => {
@@ -1923,7 +1923,7 @@ class ot {
1923
1923
  this.options = { ...A, ...n }, this.options.useExtendedSearch, this._keyStore = new Sa(this.options.keys), this.setCollection(t, r);
1924
1924
  }
1925
1925
  setCollection(t, n) {
1926
- if (this._docs = t, n && !(n instanceof Rn))
1926
+ if (this._docs = t, n && !(n instanceof zn))
1927
1927
  throw new Error(ga);
1928
1928
  this._myIndex = n || vo(this.options.keys, this._docs, {
1929
1929
  getFn: this.options.getFn,
@@ -1995,7 +1995,7 @@ class ot {
1995
1995
  const v = c.children[h], g = r(v, l, f);
1996
1996
  if (g.length)
1997
1997
  d.push(...g);
1998
- else if (c.operator === Ft.AND)
1998
+ else if (c.operator === Dt.AND)
1999
1999
  return [];
2000
2000
  }
2001
2001
  return d;
@@ -2061,7 +2061,7 @@ ot.parseIndex = ka;
2061
2061
  ot.config = A;
2062
2062
  ot.parseQuery = wo;
2063
2063
  Wa(Va);
2064
- const pr = {
2064
+ const gr = {
2065
2065
  shouldSort: !0,
2066
2066
  threshold: 0.6,
2067
2067
  location: 0,
@@ -2100,10 +2100,10 @@ function Qa({
2100
2100
  }) => {
2101
2101
  g.button === 0 && (g.preventDefault(), m(s));
2102
2102
  };
2103
- return f ? /* @__PURE__ */ u(gr, { children: /* @__PURE__ */ M("li", { "data-test": "no-results-message", children: [
2103
+ return f ? /* @__PURE__ */ u(yr, { children: /* @__PURE__ */ I("li", { "data-test": "no-results-message", children: [
2104
2104
  /* @__PURE__ */ u(En, { showIcon: r }),
2105
2105
  /* @__PURE__ */ u("div", { className: "ellipsis", children: d })
2106
- ] }) }) : (e == null ? void 0 : e.length) <= 0 && !f ? null : /* @__PURE__ */ u(gr, { children: e.slice(0, o).map((g, s) => /* @__PURE__ */ M(
2106
+ ] }) }) : (e == null ? void 0 : e.length) <= 0 && !f ? null : /* @__PURE__ */ u(yr, { children: e.slice(0, o).map((g, s) => /* @__PURE__ */ I(
2107
2107
  "li",
2108
2108
  {
2109
2109
  className: a === s ? "selectedSearch" : "",
@@ -2126,7 +2126,7 @@ function Qa({
2126
2126
  `rsa-result-${g.entityId}`
2127
2127
  )) });
2128
2128
  }
2129
- const gr = ({ children: e }) => /* @__PURE__ */ M("div", { className: "StyledResults", children: [
2129
+ const yr = ({ children: e }) => /* @__PURE__ */ I("div", { className: "StyledResults", children: [
2130
2130
  /* @__PURE__ */ u("div", { className: "line" }),
2131
2131
  /* @__PURE__ */ u("ul", { id: "autocomplete-results", children: e })
2132
2132
  ] }), es = ({
@@ -2185,21 +2185,21 @@ function ts({
2185
2185
  ["a", "e", "t"].includes(b.key.toLowerCase()) && ((x == null ? void 0 : x.length) > 0 && x[0].addEventListener(
2186
2186
  "click",
2187
2187
  (y) => {
2188
- const w = document.querySelector("global-topbar"), _ = w != null ? w.shadowRoot : document, I = _.getElementById("GlobalSearchInput");
2189
- _.activeElement === I ? (y.preventDefault(), y.stopPropagation(), console.log("Shadow DOM keydown:", y.key)) : y.click();
2188
+ const w = document.querySelector("global-topbar"), _ = w != null ? w.shadowRoot : document, M = _.getElementById("GlobalSearchInput");
2189
+ _.activeElement === M ? (y.preventDefault(), y.stopPropagation(), console.log("Shadow DOM keydown:", y.key)) : y.click();
2190
2190
  },
2191
2191
  !0
2192
2192
  ), S != null && S.addEventListener(
2193
2193
  "click",
2194
2194
  (y) => {
2195
- const w = document.querySelector("global-topbar"), _ = w != null ? w.shadowRoot : document, I = _.getElementById("GlobalSearchInput");
2196
- _.activeElement === I ? (y.preventDefault(), y.stopPropagation(), console.log("Shadow DOM keydown:", y.key)) : y.click();
2195
+ const w = document.querySelector("global-topbar"), _ = w != null ? w.shadowRoot : document, M = _.getElementById("GlobalSearchInput");
2196
+ _.activeElement === M ? (y.preventDefault(), y.stopPropagation(), console.log("Shadow DOM keydown:", y.key)) : y.click();
2197
2197
  },
2198
2198
  !0
2199
2199
  ));
2200
2200
  };
2201
2201
  return document.addEventListener("keydown", p, !0), () => document.removeEventListener("keydown", p, !0);
2202
- }, []), /* @__PURE__ */ M("div", { className: "StyledSearchInput", children: [
2202
+ }, []), /* @__PURE__ */ I("div", { className: "StyledSearchInput", children: [
2203
2203
  /* @__PURE__ */ u(En, { showIcon: l }),
2204
2204
  /* @__PURE__ */ u(
2205
2205
  "input",
@@ -2249,7 +2249,7 @@ function ts({
2249
2249
  const ns = 200, rs = 10;
2250
2250
  function os({
2251
2251
  items: e = [],
2252
- fuseOptions: t = pr,
2252
+ fuseOptions: t = gr,
2253
2253
  inputDebounce: n = ns,
2254
2254
  onSearch: r = () => {
2255
2255
  },
@@ -2278,23 +2278,23 @@ function os({
2278
2278
  baseUrl: w = ""
2279
2279
  }) {
2280
2280
  ({ ...g });
2281
- const _ = { ...pr, ...t }, I = new ot(e, _);
2282
- I.setCollection(e);
2283
- const [k, L] = D(p), [C, O] = D([]), [R, Y] = D(-1), [ie, ue] = D(!1), [$e, N] = D(!1), [z, U] = D(!1), [de, ae] = D(!1);
2281
+ const _ = { ...gr, ...t }, M = new ot(e, _);
2282
+ M.setCollection(e);
2283
+ const [k, L] = F(p), [C, O] = F([]), [R, Y] = F(-1), [ie, ue] = F(!1), [$e, N] = F(!1), [z, U] = F(!1), [de, ae] = F(!1);
2284
2284
  J(() => {
2285
2285
  L(p);
2286
- const F = setTimeout(
2286
+ const D = setTimeout(
2287
2287
  () => O(Et(p)),
2288
2288
  0
2289
2289
  );
2290
- return () => clearTimeout(F);
2290
+ return () => clearTimeout(D);
2291
2291
  }, [p]), J(() => {
2292
2292
  (k == null ? void 0 : k.length) >= 3 ? e && (e == null ? void 0 : e.length) > 0 && O(e) : O([]);
2293
2293
  }, [e]), J(() => {
2294
- const F = () => {
2294
+ const D = () => {
2295
2295
  Ue(), ae(!1);
2296
2296
  };
2297
- return document.addEventListener("click", F), () => document.removeEventListener("click", F);
2297
+ return document.addEventListener("click", D), () => document.removeEventListener("click", D);
2298
2298
  }, []), J(() => {
2299
2299
  (() => {
2300
2300
  S && k.length > 0 && !$e && C.length === 0 && !ie ? U(!0) : U(!1), E && C.length === 0 && k.length === 0 && de && O(e.slice(0, h));
@@ -2308,31 +2308,31 @@ function os({
2308
2308
  E,
2309
2309
  de
2310
2310
  ]);
2311
- const re = (F) => {
2312
- l && a(F), ae(!0);
2313
- }, te = (F) => {
2311
+ const re = (D) => {
2312
+ l && a(D), ae(!0);
2313
+ }, te = (D) => {
2314
2314
  let T = [];
2315
- (F == null ? void 0 : F.length) > 0 && (T = Et(F)), O(T), r(F, T), N(!1);
2315
+ (D == null ? void 0 : D.length) > 0 && (T = Et(D)), O(T), r(D, T), N(!1);
2316
2316
  }, _e = Ee.useCallback(
2317
- n > 0 ? Xa((F) => te(F), n) : (F) => te(F),
2317
+ n > 0 ? Xa((D) => te(D), n) : (D) => te(D),
2318
2318
  [e]
2319
- ), ct = (F) => {
2320
- Ue(), i(F), L(F[s]), Y(0);
2321
- }, Et = (F) => I.search(F, { limit: h }).map((T) => ({ ...T.item })).slice(0, h), sn = ({ target: F }) => {
2322
- const T = F.value;
2319
+ ), ct = (D) => {
2320
+ Ue(), i(D), L(D[s]), Y(0);
2321
+ }, Et = (D) => M.search(D, { limit: h }).map((T) => ({ ...T.item })).slice(0, h), sn = ({ target: D }) => {
2322
+ const T = D.value;
2323
2323
  L(T), _e(T), N(!0), ie && ue(!1);
2324
2324
  }, Ue = () => {
2325
2325
  O([]), ue(!0);
2326
2326
  }, Ct = ({
2327
- index: F,
2327
+ index: D,
2328
2328
  event: T
2329
2329
  }) => {
2330
2330
  let Re = -1;
2331
2331
  const Be = (Ge) => {
2332
2332
  Y(Ge), C != null && C[Ge] && o(C[Ge]);
2333
2333
  };
2334
- if (F !== void 0)
2335
- Y(F), C != null && C[F] && o(C[F]);
2334
+ if (D !== void 0)
2335
+ Y(D), C != null && C[D] && o(C[D]);
2336
2336
  else if (T)
2337
2337
  switch (T.key) {
2338
2338
  case "Enter":
@@ -2346,7 +2346,7 @@ function os({
2346
2346
  break;
2347
2347
  }
2348
2348
  };
2349
- return /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ M("div", { className: "StyledReactSearchAutocomplete", children: [
2349
+ return /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ I("div", { className: "StyledReactSearchAutocomplete", children: [
2350
2350
  /* @__PURE__ */ u("div", { className: "wrapper", children: /* @__PURE__ */ u(
2351
2351
  ts,
2352
2352
  {
@@ -2398,9 +2398,9 @@ function is({ classNames: e = "", ...t }) {
2398
2398
  ...a,
2399
2399
  color: (c == null ? void 0 : c.headerTextColor) || "white",
2400
2400
  backgroundColor: (c == null ? void 0 : c.headerBgColor) || "black"
2401
- }, [v, g] = D(!1), { Term: s } = Hi();
2401
+ }, [v, g] = F(!1), { Term: s } = Hi();
2402
2402
  console.log("term", s);
2403
- const [p, b] = D([]), [S, x] = D([]), E = la({ baseUrl: o });
2403
+ const [p, b] = F([]), [S, x] = F([]), E = la({ baseUrl: o });
2404
2404
  console.log("searchPermission", E.hasPermission), J(() => {
2405
2405
  p.length >= 3 ? y(p) : x([]);
2406
2406
  }, [p]);
@@ -2414,7 +2414,7 @@ function is({ classNames: e = "", ...t }) {
2414
2414
  console.log(C);
2415
2415
  }, _ = (C, O) => {
2416
2416
  b(C), console.log(C, O);
2417
- }, I = (C) => {
2417
+ }, M = (C) => {
2418
2418
  const O = C.entityType, R = C.entityId;
2419
2419
  switch (O) {
2420
2420
  case "Zone":
@@ -2434,16 +2434,16 @@ function is({ classNames: e = "", ...t }) {
2434
2434
  const C = document.querySelector("global-topbar"), R = (C != null ? C.shadowRoot : document).getElementById("GlobalSearchInput");
2435
2435
  R && R.value.length >= 3 && (setTimeout(() => {
2436
2436
  }, 1e3), y(R.value));
2437
- }, L = (C) => C.entityType === "Location" ? /* @__PURE__ */ M(ve, { children: [
2437
+ }, L = (C) => C.entityType === "Location" ? /* @__PURE__ */ I(ve, { children: [
2438
2438
  /* @__PURE__ */ u("div", { dangerouslySetInnerHTML: { __html: C.name } }),
2439
2439
  " ",
2440
- /* @__PURE__ */ M("div", { style: { fontSize: "0.6em" }, children: [
2440
+ /* @__PURE__ */ I("div", { style: { fontSize: "0.6em" }, children: [
2441
2441
  "Status: ",
2442
2442
  C.entityStatus
2443
2443
  ] })
2444
2444
  ] }) : /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u("div", { dangerouslySetInnerHTML: { __html: C.name } }) });
2445
- return /* @__PURE__ */ M(
2446
- Xr,
2445
+ return /* @__PURE__ */ I(
2446
+ Rn,
2447
2447
  {
2448
2448
  styles: [
2449
2449
  ta,
@@ -2463,9 +2463,9 @@ function is({ classNames: e = "", ...t }) {
2463
2463
  {
2464
2464
  className: `navbar-wrapper ${e}`,
2465
2465
  style: c ? m : a,
2466
- children: /* @__PURE__ */ M("div", { className: "navbar-container", children: [
2466
+ children: /* @__PURE__ */ I("div", { className: "navbar-container", children: [
2467
2467
  h ? /* @__PURE__ */ u("div", { className: "logo-container", children: /* @__PURE__ */ u("img", { src: n || "#", alt: " ", style: { maxHeight: "40px" } }) }) : /* @__PURE__ */ u("a", { href: "/home", className: "logo-container", children: /* @__PURE__ */ u("img", { src: n || "#", alt: " ", style: { maxHeight: "40px" } }) }),
2468
- /* @__PURE__ */ M("div", { className: "right-side-container", children: [
2468
+ /* @__PURE__ */ I("div", { className: "right-side-container", children: [
2469
2469
  f && E.hasPermission ? /* @__PURE__ */ u("span", { children: /* @__PURE__ */ u(
2470
2470
  "label",
2471
2471
  {
@@ -2477,7 +2477,7 @@ function is({ classNames: e = "", ...t }) {
2477
2477
  items: S,
2478
2478
  onSearch: _,
2479
2479
  onHover: w,
2480
- onSelect: I,
2480
+ onSelect: M,
2481
2481
  onFocus: k,
2482
2482
  autoFocus: !0,
2483
2483
  inputDebounce: 300,
@@ -2491,7 +2491,7 @@ function is({ classNames: e = "", ...t }) {
2491
2491
  }
2492
2492
  ) }) : "",
2493
2493
  t.customElement,
2494
- /* @__PURE__ */ u("span", { children: /* @__PURE__ */ M(bi, { children: [
2494
+ /* @__PURE__ */ u("span", { children: /* @__PURE__ */ I(bi, { children: [
2495
2495
  /* @__PURE__ */ u(
2496
2496
  C1,
2497
2497
  {
@@ -2518,7 +2518,7 @@ function is({ classNames: e = "", ...t }) {
2518
2518
  )
2519
2519
  ] }) }),
2520
2520
  /* @__PURE__ */ u(as, {}),
2521
- /* @__PURE__ */ M("div", { className: "userContainer", children: [
2521
+ /* @__PURE__ */ I("div", { className: "userContainer", children: [
2522
2522
  /* @__PURE__ */ u(
2523
2523
  ss,
2524
2524
  {
@@ -2567,14 +2567,14 @@ function as() {
2567
2567
  var l;
2568
2568
  const e = [
2569
2569
  {
2570
- value: Qn.en,
2570
+ value: er.en,
2571
2571
  element: /* @__PURE__ */ u(ia, {})
2572
2572
  },
2573
2573
  {
2574
- value: Qn.de,
2574
+ value: er.de,
2575
2575
  element: /* @__PURE__ */ u(ua, {})
2576
2576
  }
2577
- ], [t, n] = D(!1), [r, o] = D(
2577
+ ], [t, n] = F(!1), [r, o] = F(
2578
2578
  new Array(e.length).fill(!1)
2579
2579
  ), { language: i, setLanguage: a } = yi();
2580
2580
  J(() => {
@@ -2586,7 +2586,7 @@ function as() {
2586
2586
  });
2587
2587
  }, []);
2588
2588
  const c = (l = e.find((f) => f.value == i)) == null ? void 0 : l.element;
2589
- return /* @__PURE__ */ M(ve, { children: [
2589
+ return /* @__PURE__ */ I(ve, { children: [
2590
2590
  /* @__PURE__ */ u("style", { children: da }),
2591
2591
  /* @__PURE__ */ u(
2592
2592
  "div",
@@ -2611,9 +2611,9 @@ function ss({
2611
2611
  avatarUrl: e,
2612
2612
  userName: t
2613
2613
  }) {
2614
- const [n, r] = D(!1), o = ye(null);
2614
+ const [n, r] = F(!1), o = ye(null);
2615
2615
  ye(null);
2616
- const [i, a] = D(!1), [c, l] = D(!1);
2616
+ const [i, a] = F(!1), [c, l] = F(!1);
2617
2617
  return J(() => {
2618
2618
  ho({
2619
2619
  childrenClass: "userAvatar",
@@ -2641,7 +2641,7 @@ function ss({
2641
2641
  }
2642
2642
  ) }) });
2643
2643
  }
2644
- function W1(e) {
2644
+ function U1(e) {
2645
2645
  const { user: t, logout: n, isFetching: r } = vi();
2646
2646
  return /* @__PURE__ */ u(
2647
2647
  is,
@@ -2653,7 +2653,7 @@ function W1(e) {
2653
2653
  }
2654
2654
  );
2655
2655
  }
2656
- const U1 = (e) => /* @__PURE__ */ u(
2656
+ const G1 = (e) => /* @__PURE__ */ u(
2657
2657
  Jr,
2658
2658
  {
2659
2659
  autoClose: 3e3,
@@ -2665,7 +2665,7 @@ const U1 = (e) => /* @__PURE__ */ u(
2665
2665
  style: { fontFamily: "inherit" },
2666
2666
  ...e
2667
2667
  }
2668
- ), G1 = (e) => /* @__PURE__ */ u(
2668
+ ), K1 = (e) => /* @__PURE__ */ u(
2669
2669
  Jr,
2670
2670
  {
2671
2671
  autoClose: 3e3,
@@ -2678,7 +2678,7 @@ const U1 = (e) => /* @__PURE__ */ u(
2678
2678
  containerId: "toastifyNotification",
2679
2679
  ...e
2680
2680
  }
2681
- ), K1 = ({ children: e }) => /* @__PURE__ */ M(
2681
+ ), Y1 = ({ children: e }) => /* @__PURE__ */ I(
2682
2682
  Se,
2683
2683
  {
2684
2684
  justifyContent: "center",
@@ -2691,7 +2691,7 @@ const U1 = (e) => /* @__PURE__ */ u(
2691
2691
  }
2692
2692
  );
2693
2693
  function cs() {
2694
- return /* @__PURE__ */ M(
2694
+ return /* @__PURE__ */ I(
2695
2695
  "svg",
2696
2696
  {
2697
2697
  xmlns: "http://www.w3.org/2000/svg",
@@ -3015,7 +3015,7 @@ function cs() {
3015
3015
  var ls = typeof Tt == "object" && Tt && Tt.Object === Object && Tt, us = typeof self == "object" && self && self.Object === Object && self;
3016
3016
  ls || us || Function("return this")();
3017
3017
  function ds(e) {
3018
- const [t, n] = D(!!e), r = dt(() => {
3018
+ const [t, n] = F(!!e), r = dt(() => {
3019
3019
  n(!0);
3020
3020
  }, []), o = dt(() => {
3021
3021
  n(!1);
@@ -3024,10 +3024,10 @@ function ds(e) {
3024
3024
  }, []);
3025
3025
  return { value: t, setValue: n, setTrue: r, setFalse: o, toggle: i };
3026
3026
  }
3027
- function Y1(e) {
3027
+ function q1(e) {
3028
3028
  var t;
3029
- return /* @__PURE__ */ M(Oi, { ...e.dialogProps, open: e.open, children: [
3030
- !e.hideTitle && /* @__PURE__ */ M(
3029
+ return /* @__PURE__ */ I(Oi, { ...e.dialogProps, open: e.open, children: [
3030
+ !e.hideTitle && /* @__PURE__ */ I(
3031
3031
  Ai,
3032
3032
  {
3033
3033
  component: Se,
@@ -3070,7 +3070,7 @@ function Y1(e) {
3070
3070
  pb: 3,
3071
3071
  ...(t = e.dialogActionsProps) == null ? void 0 : t.sx
3072
3072
  },
3073
- children: e.customActions ? e.customActions : /* @__PURE__ */ M(ve, { children: [
3073
+ children: e.customActions ? e.customActions : /* @__PURE__ */ I(ve, { children: [
3074
3074
  !e.hideClose && /* @__PURE__ */ u(yn, { color: "error", onClick: e.onClose, children: "Close" }),
3075
3075
  !e.hideConfirm && /* @__PURE__ */ u(yn, { color: "primary", onClick: e.onConfirm, children: "Submit" })
3076
3076
  ] })
@@ -3078,21 +3078,21 @@ function Y1(e) {
3078
3078
  )
3079
3079
  ] });
3080
3080
  }
3081
- function q1(e) {
3081
+ function Z1(e) {
3082
3082
  const t = ds(typeof e == "boolean" ? e : void 0);
3083
3083
  return {
3084
3084
  setTrue: () => {
3085
- t.setTrue(), er(!0);
3085
+ t.setTrue(), tr(!0);
3086
3086
  },
3087
3087
  open: t.value,
3088
3088
  onClose: () => {
3089
- t.setFalse(), er(!1);
3089
+ t.setFalse(), tr(!1);
3090
3090
  },
3091
3091
  onConfirm: typeof e != "boolean" ? e == null ? void 0 : e.onConfirm : void 0
3092
3092
  };
3093
3093
  }
3094
- function Z1({ rootPath: e }) {
3095
- return /* @__PURE__ */ M(
3094
+ function X1({ rootPath: e }) {
3095
+ return /* @__PURE__ */ I(
3096
3096
  "div",
3097
3097
  {
3098
3098
  style: {
@@ -3112,7 +3112,7 @@ function Z1({ rootPath: e }) {
3112
3112
  }
3113
3113
  );
3114
3114
  }
3115
- function X1() {
3115
+ function J1() {
3116
3116
  const { colors: e } = Qr();
3117
3117
  return /* @__PURE__ */ u(
3118
3118
  "div",
@@ -3144,13 +3144,13 @@ function X1() {
3144
3144
  }
3145
3145
  );
3146
3146
  }
3147
- const J1 = () => {
3147
+ const Q1 = () => {
3148
3148
  const { t: e } = Si();
3149
- return /* @__PURE__ */ u("div", { className: "unauth__container " + It["page-container"], children: /* @__PURE__ */ M("div", { className: "unauth__main-content " + It["page-main-content"], children: [
3149
+ return /* @__PURE__ */ u("div", { className: "unauth__container " + It["page-container"], children: /* @__PURE__ */ I("div", { className: "unauth__main-content " + It["page-main-content"], children: [
3150
3150
  /* @__PURE__ */ u(fs, {}),
3151
- /* @__PURE__ */ M("div", { className: "unauth__main-text", children: [
3151
+ /* @__PURE__ */ I("div", { className: "unauth__main-text", children: [
3152
3152
  /* @__PURE__ */ u("h2", { className: "unauth__main-text__title " + It["page-title"], children: e("components.unauthorizedPage.title") }),
3153
- /* @__PURE__ */ M("p", { className: "unauth__main-text__desc " + It["text-base"], children: [
3153
+ /* @__PURE__ */ I("p", { className: "unauth__main-text__desc " + It["text-base"], children: [
3154
3154
  e("components.unauthorizedPage.description1"),
3155
3155
  " ",
3156
3156
  /* @__PURE__ */ u("br", {}),
@@ -3159,7 +3159,7 @@ const J1 = () => {
3159
3159
  ] })
3160
3160
  ] })
3161
3161
  ] }) });
3162
- }, fs = () => /* @__PURE__ */ M(
3162
+ }, fs = () => /* @__PURE__ */ I(
3163
3163
  "svg",
3164
3164
  {
3165
3165
  width: "61",
@@ -3168,7 +3168,7 @@ const J1 = () => {
3168
3168
  fill: "none",
3169
3169
  xmlns: "http://www.w3.org/2000/svg",
3170
3170
  children: [
3171
- /* @__PURE__ */ M("g", { filter: "url(#filter0_d_10800_50471)", children: [
3171
+ /* @__PURE__ */ I("g", { filter: "url(#filter0_d_10800_50471)", children: [
3172
3172
  /* @__PURE__ */ u("rect", { x: "2.5", y: "1", width: "56", height: "56", rx: "28", fill: "white" }),
3173
3173
  /* @__PURE__ */ u(
3174
3174
  "path",
@@ -3181,7 +3181,7 @@ const J1 = () => {
3181
3181
  }
3182
3182
  )
3183
3183
  ] }),
3184
- /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ M(
3184
+ /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ I(
3185
3185
  "filter",
3186
3186
  {
3187
3187
  id: "filter0_d_10800_50471",
@@ -3282,11 +3282,11 @@ var Cn = { exports: {} }, G = {};
3282
3282
  * This source code is licensed under the MIT license found in the
3283
3283
  * LICENSE file in the root directory of this source tree.
3284
3284
  */
3285
- var yr;
3285
+ var vr;
3286
3286
  function ps() {
3287
- if (yr)
3287
+ if (vr)
3288
3288
  return G;
3289
- yr = 1;
3289
+ vr = 1;
3290
3290
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), v = Symbol.for("react.client.reference");
3291
3291
  function g(s) {
3292
3292
  if (typeof s == "object" && s !== null) {
@@ -3356,9 +3356,9 @@ var K = {};
3356
3356
  * This source code is licensed under the MIT license found in the
3357
3357
  * LICENSE file in the root directory of this source tree.
3358
3358
  */
3359
- var vr;
3359
+ var br;
3360
3360
  function gs() {
3361
- return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
3361
+ return br || (br = 1, process.env.NODE_ENV !== "production" && function() {
3362
3362
  function e(s) {
3363
3363
  if (typeof s == "object" && s !== null) {
3364
3364
  var p = s.$$typeof;
@@ -3420,7 +3420,7 @@ function gs() {
3420
3420
  }()), K;
3421
3421
  }
3422
3422
  process.env.NODE_ENV === "production" ? Cn.exports = ps() : Cn.exports = gs();
3423
- var br = Cn.exports;
3423
+ var xr = Cn.exports;
3424
3424
  const ys = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
3425
3425
  function Eo(e) {
3426
3426
  const t = `${e}`.match(ys);
@@ -3429,7 +3429,7 @@ function Eo(e) {
3429
3429
  function Co(e, t = "") {
3430
3430
  return e.displayName || e.name || Eo(e) || t;
3431
3431
  }
3432
- function xr(e, t, n) {
3432
+ function Sr(e, t, n) {
3433
3433
  const r = Co(t);
3434
3434
  return e.displayName || (r !== "" ? `${n}(${r})` : n);
3435
3435
  }
@@ -3441,10 +3441,10 @@ function vs(e) {
3441
3441
  return Co(e, "Component");
3442
3442
  if (typeof e == "object")
3443
3443
  switch (e.$$typeof) {
3444
- case br.ForwardRef:
3445
- return xr(e, e.render, "ForwardRef");
3446
- case br.Memo:
3447
- return xr(e, e.type, "memo");
3444
+ case xr.ForwardRef:
3445
+ return Sr(e, e.render, "ForwardRef");
3446
+ case xr.Memo:
3447
+ return Sr(e, e.type, "memo");
3448
3448
  default:
3449
3449
  return;
3450
3450
  }
@@ -3455,14 +3455,14 @@ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3455
3455
  default: vs,
3456
3456
  getFunctionName: Eo
3457
3457
  }, Symbol.toStringTag, { value: "Module" }));
3458
- function De(e) {
3458
+ function Fe(e) {
3459
3459
  if (typeof e != "string")
3460
3460
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : mt(7));
3461
3461
  return e.charAt(0).toUpperCase() + e.slice(1);
3462
3462
  }
3463
3463
  const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3464
3464
  __proto__: null,
3465
- default: De
3465
+ default: Fe
3466
3466
  }, Symbol.toStringTag, { value: "Module" }));
3467
3467
  function Ss(...e) {
3468
3468
  return e.reduce((t, n) => n == null ? t : function(...o) {
@@ -3521,17 +3521,17 @@ function Io(e, t) {
3521
3521
  typeof e == "function" ? e(t) : e && (e.current = t);
3522
3522
  }
3523
3523
  const Mo = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
3524
- let Sr = 0;
3524
+ let wr = 0;
3525
3525
  function Is(e) {
3526
3526
  const [t, n] = $.useState(e), r = e || t;
3527
3527
  return $.useEffect(() => {
3528
- t == null && (Sr += 1, n(`mui-${Sr}`));
3528
+ t == null && (wr += 1, n(`mui-${wr}`));
3529
3529
  }, [t]), r;
3530
3530
  }
3531
- const wr = $.useId;
3531
+ const _r = $.useId;
3532
3532
  function Ms(e) {
3533
- if (wr !== void 0) {
3534
- const t = wr();
3533
+ if (_r !== void 0) {
3534
+ const t = _r();
3535
3535
  return e ?? t;
3536
3536
  }
3537
3537
  return Is(e);
@@ -3585,14 +3585,14 @@ function $s(...e) {
3585
3585
  });
3586
3586
  }, e);
3587
3587
  }
3588
- class zn {
3588
+ class Ln {
3589
3589
  constructor() {
3590
3590
  this.currentId = null, this.clear = () => {
3591
3591
  this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
3592
3592
  }, this.disposeEffect = () => this.clear;
3593
3593
  }
3594
3594
  static create() {
3595
- return new zn();
3595
+ return new Ln();
3596
3596
  }
3597
3597
  /**
3598
3598
  * Executes `fn` after `delay`, clearing any previously scheduled call.
@@ -3604,7 +3604,7 @@ class zn {
3604
3604
  }
3605
3605
  }
3606
3606
  let Ut = !0, Tn = !1;
3607
- const Ns = new zn(), Ps = {
3607
+ const Ns = new Ln(), Ps = {
3608
3608
  text: !0,
3609
3609
  search: !0,
3610
3610
  url: !0,
@@ -3635,10 +3635,10 @@ function hn() {
3635
3635
  function Ls() {
3636
3636
  this.visibilityState === "hidden" && Tn && (Ut = !0);
3637
3637
  }
3638
- function Ds(e) {
3638
+ function Fs(e) {
3639
3639
  e.addEventListener("keydown", zs, !0), e.addEventListener("mousedown", hn, !0), e.addEventListener("pointerdown", hn, !0), e.addEventListener("touchstart", hn, !0), e.addEventListener("visibilitychange", Ls, !0);
3640
3640
  }
3641
- function Fs(e) {
3641
+ function Ds(e) {
3642
3642
  const {
3643
3643
  target: t
3644
3644
  } = e;
@@ -3650,7 +3650,7 @@ function Fs(e) {
3650
3650
  }
3651
3651
  function Hs() {
3652
3652
  const e = $.useCallback((o) => {
3653
- o != null && Ds(o.ownerDocument);
3653
+ o != null && Fs(o.ownerDocument);
3654
3654
  }, []), t = $.useRef(!1);
3655
3655
  function n() {
3656
3656
  return t.current ? (Tn = !0, Ns.start(100, () => {
@@ -3658,7 +3658,7 @@ function Hs() {
3658
3658
  }), t.current = !1, !0) : !1;
3659
3659
  }
3660
3660
  function r(o) {
3661
- return Fs(o) ? (t.current = !0, !0) : !1;
3661
+ return Ds(o) ? (t.current = !0, !0) : !1;
3662
3662
  }
3663
3663
  return {
3664
3664
  isFocusVisibleRef: t,
@@ -3697,8 +3697,8 @@ function js(e, t, n = void 0) {
3697
3697
  }
3698
3698
  ), r;
3699
3699
  }
3700
- const _r = (e) => e, Bs = () => {
3701
- let e = _r;
3700
+ const Er = (e) => e, Bs = () => {
3701
+ let e = Er;
3702
3702
  return {
3703
3703
  configure(t) {
3704
3704
  e = t;
@@ -3707,7 +3707,7 @@ const _r = (e) => e, Bs = () => {
3707
3707
  return e(t);
3708
3708
  },
3709
3709
  reset() {
3710
- e = _r;
3710
+ e = Er;
3711
3711
  }
3712
3712
  };
3713
3713
  }, ko = Bs(), Vs = {
@@ -3724,14 +3724,14 @@ const _r = (e) => e, Bs = () => {
3724
3724
  required: "required",
3725
3725
  selected: "selected"
3726
3726
  };
3727
- function Ln(e, t, n = "Mui") {
3727
+ function Fn(e, t, n = "Mui") {
3728
3728
  const r = Vs[t];
3729
3729
  return r ? `${n}-${r}` : `${ko.generate(e)}-${t}`;
3730
3730
  }
3731
3731
  function Ws(e, t, n = "Mui") {
3732
3732
  const r = {};
3733
3733
  return t.forEach((o) => {
3734
- r[o] = Ln(e, o, n);
3734
+ r[o] = Fn(e, o, n);
3735
3735
  }), r;
3736
3736
  }
3737
3737
  function Us(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
@@ -3821,7 +3821,7 @@ var tc = /* @__PURE__ */ function() {
3821
3821
  return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
3822
3822
  }), this.tags = [], this.ctr = 0;
3823
3823
  }, e;
3824
- }(), se = "-ms-", Ht = "-moz-", H = "-webkit-", Ao = "comm", Fn = "rule", Hn = "decl", nc = "@import", $o = "@keyframes", rc = "@layer", oc = Math.abs, Gt = String.fromCharCode, ic = Object.assign;
3824
+ }(), se = "-ms-", Ht = "-moz-", H = "-webkit-", Ao = "comm", Hn = "rule", jn = "decl", nc = "@import", $o = "@keyframes", rc = "@layer", oc = Math.abs, Gt = String.fromCharCode, ic = Object.assign;
3825
3825
  function ac(e, t) {
3826
3826
  return oe(e, 0) ^ 45 ? (((t << 2 ^ oe(e, 0)) << 2 ^ oe(e, 1)) << 2 ^ oe(e, 2)) << 2 ^ oe(e, 3) : 0;
3827
3827
  }
@@ -3846,7 +3846,7 @@ function pt(e, t, n) {
3846
3846
  function Ce(e) {
3847
3847
  return e.length;
3848
3848
  }
3849
- function jn(e) {
3849
+ function Bn(e) {
3850
3850
  return e.length;
3851
3851
  }
3852
3852
  function kt(e, t) {
@@ -4005,12 +4005,12 @@ function zt(e, t, n, r, o, i, a, c, l) {
4005
4005
  case 125:
4006
4006
  p = 0;
4007
4007
  case 59 + d:
4008
- b == -1 && (_ = j(_, /\f/g, "")), v > 0 && Ce(_) - h && kt(v > 32 ? Cr(_ + ";", r, n, h - 1) : Cr(j(_, " ", "") + ";", r, n, h - 2), l);
4008
+ b == -1 && (_ = j(_, /\f/g, "")), v > 0 && Ce(_) - h && kt(v > 32 ? Tr(_ + ";", r, n, h - 1) : Tr(j(_, " ", "") + ";", r, n, h - 2), l);
4009
4009
  break;
4010
4010
  case 59:
4011
4011
  _ += ";";
4012
4012
  default:
4013
- if (kt(w = Er(_, t, n, f, d, o, c, x, E = [], y = [], h), i), S === 123)
4013
+ if (kt(w = Cr(_, t, n, f, d, o, c, x, E = [], y = [], h), i), S === 123)
4014
4014
  if (d === 0)
4015
4015
  zt(_, t, w, w, E, i, h, c, y);
4016
4016
  else
@@ -4019,7 +4019,7 @@ function zt(e, t, n, r, o, i, a, c, l) {
4019
4019
  case 108:
4020
4020
  case 109:
4021
4021
  case 115:
4022
- zt(e, w, w, r && kt(Er(e, w, w, 0, 0, o, c, x, o, E = [], h), y), o, y, h, c, r ? E : y);
4022
+ zt(e, w, w, r && kt(Cr(e, w, w, 0, 0, o, c, x, o, E = [], h), y), o, y, h, c, r ? E : y);
4023
4023
  break;
4024
4024
  default:
4025
4025
  zt(_, w, w, w, [""], y, 0, c, y);
@@ -4052,20 +4052,20 @@ function zt(e, t, n, r, o, i, a, c, l) {
4052
4052
  }
4053
4053
  return i;
4054
4054
  }
4055
- function Er(e, t, n, r, o, i, a, c, l, f, d) {
4056
- for (var h = o - 1, m = o === 0 ? i : [""], v = jn(m), g = 0, s = 0, p = 0; g < r; ++g)
4055
+ function Cr(e, t, n, r, o, i, a, c, l, f, d) {
4056
+ for (var h = o - 1, m = o === 0 ? i : [""], v = Bn(m), g = 0, s = 0, p = 0; g < r; ++g)
4057
4057
  for (var b = 0, S = pt(e, h + 1, h = oc(s = a[g])), x = e; b < v; ++b)
4058
4058
  (x = No(s > 0 ? m[b] + " " + S : j(S, /&\f/g, m[b]))) && (l[p++] = x);
4059
- return Yt(e, t, n, o === 0 ? Fn : c, l, f, d);
4059
+ return Yt(e, t, n, o === 0 ? Hn : c, l, f, d);
4060
4060
  }
4061
4061
  function gc(e, t, n) {
4062
4062
  return Yt(e, t, n, Ao, Gt(lc()), pt(e, 2, -2), 0);
4063
4063
  }
4064
- function Cr(e, t, n, r) {
4065
- return Yt(e, t, n, Hn, pt(e, 0, r), pt(e, r + 1, -1), r);
4064
+ function Tr(e, t, n, r) {
4065
+ return Yt(e, t, n, jn, pt(e, 0, r), pt(e, r + 1, -1), r);
4066
4066
  }
4067
4067
  function et(e, t) {
4068
- for (var n = "", r = jn(e), o = 0; o < r; o++)
4068
+ for (var n = "", r = Bn(e), o = 0; o < r; o++)
4069
4069
  n += t(e[o], o, e, t) || "";
4070
4070
  return n;
4071
4071
  }
@@ -4075,19 +4075,19 @@ function yc(e, t, n, r) {
4075
4075
  if (e.children.length)
4076
4076
  break;
4077
4077
  case nc:
4078
- case Hn:
4078
+ case jn:
4079
4079
  return e.return = e.return || e.value;
4080
4080
  case Ao:
4081
4081
  return "";
4082
4082
  case $o:
4083
4083
  return e.return = e.value + "{" + et(e.children, r) + "}";
4084
- case Fn:
4084
+ case Hn:
4085
4085
  e.value = e.props.join(",");
4086
4086
  }
4087
4087
  return Ce(n = et(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
4088
4088
  }
4089
4089
  function vc(e) {
4090
- var t = jn(e);
4090
+ var t = Bn(e);
4091
4091
  return function(n, r, o, i) {
4092
4092
  for (var a = "", c = 0; c < t; c++)
4093
4093
  a += e[c](n, r, o, i) || "";
@@ -4131,15 +4131,15 @@ var xc = function(t, n, r) {
4131
4131
  return t;
4132
4132
  }, wc = function(t, n) {
4133
4133
  return zo(Sc(Ro(t), n));
4134
- }, Tr = /* @__PURE__ */ new WeakMap(), _c = function(t) {
4134
+ }, Ir = /* @__PURE__ */ new WeakMap(), _c = function(t) {
4135
4135
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
4136
4136
  // negative .length indicates that this rule has been already prefixed
4137
4137
  t.length < 1)) {
4138
4138
  for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
4139
4139
  if (r = r.parent, !r)
4140
4140
  return;
4141
- if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Tr.get(r)) && !o) {
4142
- Tr.set(t, !0);
4141
+ if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Ir.get(r)) && !o) {
4142
+ Ir.set(t, !0);
4143
4143
  for (var i = [], a = wc(n, i), c = r.props, l = 0, f = 0; l < a.length; l++)
4144
4144
  for (var d = 0; d < c.length; d++, f++)
4145
4145
  t.props[f] = i[l] ? a[l].replace(/&\f/g, c[d]) : c[d] + " " + a[l];
@@ -4153,7 +4153,7 @@ var xc = function(t, n, r) {
4153
4153
  n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
4154
4154
  }
4155
4155
  };
4156
- function Do(e, t) {
4156
+ function Fo(e, t) {
4157
4157
  switch (ac(e, t)) {
4158
4158
  case 5103:
4159
4159
  return H + "print-" + e + e;
@@ -4240,7 +4240,7 @@ function Do(e, t) {
4240
4240
  case 102:
4241
4241
  return j(e, /(.+:)(.+)-([^]+)/, "$1" + H + "$2-$3$1" + Ht + (oe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
4242
4242
  case 115:
4243
- return ~Mn(e, "stretch") ? Do(j(e, "stretch", "fill-available"), t) + e : e;
4243
+ return ~Mn(e, "stretch") ? Fo(j(e, "stretch", "fill-available"), t) + e : e;
4244
4244
  }
4245
4245
  break;
4246
4246
  case 4949:
@@ -4270,14 +4270,14 @@ function Do(e, t) {
4270
4270
  var Cc = function(t, n, r, o) {
4271
4271
  if (t.length > -1 && !t.return)
4272
4272
  switch (t.type) {
4273
- case Hn:
4274
- t.return = Do(t.value, t.length);
4273
+ case jn:
4274
+ t.return = Fo(t.value, t.length);
4275
4275
  break;
4276
4276
  case $o:
4277
4277
  return et([lt(t, {
4278
4278
  value: j(t.value, "@", "@" + H)
4279
4279
  })], o);
4280
- case Fn:
4280
+ case Hn:
4281
4281
  if (t.length)
4282
4282
  return cc(t.props, function(i) {
4283
4283
  switch (sc(i, /(::plac\w+|:read-\w+)/)) {
@@ -4298,7 +4298,7 @@ var Cc = function(t, n, r, o) {
4298
4298
  return "";
4299
4299
  });
4300
4300
  }
4301
- }, Tc = [Cc], Fo = function(t) {
4301
+ }, Tc = [Cc], Do = function(t) {
4302
4302
  var n = t.key;
4303
4303
  if (n === "css") {
4304
4304
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -4354,11 +4354,11 @@ var Cc = function(t, n, r, o) {
4354
4354
  * This source code is licensed under the MIT license found in the
4355
4355
  * LICENSE file in the root directory of this source tree.
4356
4356
  */
4357
- var Ir;
4357
+ var Mr;
4358
4358
  function Ic() {
4359
- if (Ir)
4359
+ if (Mr)
4360
4360
  return B;
4361
- Ir = 1;
4361
+ Mr = 1;
4362
4362
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
4363
4363
  function x(y) {
4364
4364
  if (typeof y == "object" && y !== null) {
@@ -4430,9 +4430,9 @@ var V = {};
4430
4430
  * This source code is licensed under the MIT license found in the
4431
4431
  * LICENSE file in the root directory of this source tree.
4432
4432
  */
4433
- var Mr;
4433
+ var kr;
4434
4434
  function Mc() {
4435
- return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && function() {
4435
+ return kr || (kr = 1, process.env.NODE_ENV !== "production" && function() {
4436
4436
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
4437
4437
  function x(T) {
4438
4438
  return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -4470,7 +4470,7 @@ function Mc() {
4470
4470
  }
4471
4471
  }
4472
4472
  }
4473
- var y = l, w = f, _ = c, I = a, k = t, L = d, C = r, O = g, R = v, Y = n, ie = i, ue = o, $e = h, N = !1;
4473
+ var y = l, w = f, _ = c, M = a, k = t, L = d, C = r, O = g, R = v, Y = n, ie = i, ue = o, $e = h, N = !1;
4474
4474
  function z(T) {
4475
4475
  return N || (N = !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.")), U(T) || E(T) === l;
4476
4476
  }
@@ -4507,10 +4507,10 @@ function Mc() {
4507
4507
  function Ct(T) {
4508
4508
  return E(T) === o;
4509
4509
  }
4510
- function F(T) {
4510
+ function D(T) {
4511
4511
  return E(T) === h;
4512
4512
  }
4513
- V.AsyncMode = y, V.ConcurrentMode = w, V.ContextConsumer = _, V.ContextProvider = I, V.Element = k, V.ForwardRef = L, V.Fragment = C, V.Lazy = O, V.Memo = R, V.Portal = Y, V.Profiler = ie, V.StrictMode = ue, V.Suspense = $e, V.isAsyncMode = z, V.isConcurrentMode = U, V.isContextConsumer = de, V.isContextProvider = ae, V.isElement = re, V.isForwardRef = te, V.isFragment = _e, V.isLazy = ct, V.isMemo = Et, V.isPortal = sn, V.isProfiler = Ue, V.isStrictMode = Ct, V.isSuspense = F, V.isValidElementType = x, V.typeOf = E;
4513
+ V.AsyncMode = y, V.ConcurrentMode = w, V.ContextConsumer = _, V.ContextProvider = M, V.Element = k, V.ForwardRef = L, V.Fragment = C, V.Lazy = O, V.Memo = R, V.Portal = Y, V.Profiler = ie, V.StrictMode = ue, V.Suspense = $e, V.isAsyncMode = z, V.isConcurrentMode = U, V.isContextConsumer = de, V.isContextProvider = ae, V.isElement = re, V.isForwardRef = te, V.isFragment = _e, V.isLazy = ct, V.isMemo = Et, V.isPortal = sn, V.isProfiler = Ue, V.isStrictMode = Ct, V.isSuspense = D, V.isValidElementType = x, V.typeOf = E;
4514
4514
  }()), V;
4515
4515
  }
4516
4516
  process.env.NODE_ENV === "production" ? On.exports = Ic() : On.exports = Mc();
@@ -4537,7 +4537,7 @@ function Bo(e, t, n) {
4537
4537
  e[o] !== void 0 ? t.push(e[o] + ";") : o && (r += o + " ");
4538
4538
  }), r;
4539
4539
  }
4540
- var Bn = function(t, n, r) {
4540
+ var Vn = function(t, n, r) {
4541
4541
  var o = t.key + "-" + n.name;
4542
4542
  // we only need to add the styles to the registered cache if the
4543
4543
  // class name could be used further down
@@ -4549,8 +4549,8 @@ var Bn = function(t, n, r) {
4549
4549
  // the registered cache to know whether a style is global or not
4550
4550
  // also, note that this check will be dead code eliminated in the browser
4551
4551
  $c === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
4552
- }, Vn = function(t, n, r) {
4553
- Bn(t, n, r);
4552
+ }, Wn = function(t, n, r) {
4553
+ Vn(t, n, r);
4554
4554
  var o = t.key + "-" + n.name;
4555
4555
  if (t.inserted[n.name] === void 0) {
4556
4556
  var i = n;
@@ -4629,11 +4629,11 @@ var Pc = {
4629
4629
  strokeWidth: 1
4630
4630
  }, Rc = /[A-Z]|^ms/g, zc = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Vo = function(t) {
4631
4631
  return t.charCodeAt(1) === 45;
4632
- }, kr = function(t) {
4632
+ }, Or = function(t) {
4633
4633
  return t != null && typeof t != "boolean";
4634
4634
  }, mn = /* @__PURE__ */ Lo(function(e) {
4635
4635
  return Vo(e) ? e : e.replace(Rc, "-$&").toLowerCase();
4636
- }), Or = function(t, n) {
4636
+ }), Ar = function(t, n) {
4637
4637
  switch (t) {
4638
4638
  case "animation":
4639
4639
  case "animationName":
@@ -4704,10 +4704,10 @@ function Lc(e, t, n) {
4704
4704
  var a = n[i];
4705
4705
  if (typeof a != "object") {
4706
4706
  var c = a;
4707
- t != null && t[c] !== void 0 ? r += i + "{" + t[c] + "}" : kr(c) && (r += mn(i) + ":" + Or(i, c) + ";");
4707
+ t != null && t[c] !== void 0 ? r += i + "{" + t[c] + "}" : Or(c) && (r += mn(i) + ":" + Ar(i, c) + ";");
4708
4708
  } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0))
4709
4709
  for (var l = 0; l < a.length; l++)
4710
- kr(a[l]) && (r += mn(i) + ":" + Or(i, a[l]) + ";");
4710
+ Or(a[l]) && (r += mn(i) + ":" + Ar(i, a[l]) + ";");
4711
4711
  else {
4712
4712
  var f = yt(e, t, a);
4713
4713
  switch (i) {
@@ -4723,7 +4723,7 @@ function Lc(e, t, n) {
4723
4723
  }
4724
4724
  return r;
4725
4725
  }
4726
- var Ar = /label:\s*([^\s;{]+)\s*(;|$)/g, Te;
4726
+ var $r = /label:\s*([^\s;{]+)\s*(;|$)/g, Te;
4727
4727
  function qt(e, t, n) {
4728
4728
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
4729
4729
  return e[0];
@@ -4741,8 +4741,8 @@ function qt(e, t, n) {
4741
4741
  var l = i;
4742
4742
  o += l[c];
4743
4743
  }
4744
- Ar.lastIndex = 0;
4745
- for (var f = "", d; (d = Ar.exec(o)) !== null; )
4744
+ $r.lastIndex = 0;
4745
+ for (var f = "", d; (d = $r.exec(o)) !== null; )
4746
4746
  f += "-" + d[1];
4747
4747
  var h = Nc(o) + f;
4748
4748
  return {
@@ -4751,34 +4751,34 @@ function qt(e, t, n) {
4751
4751
  next: Te
4752
4752
  };
4753
4753
  }
4754
- var Dc = function(t) {
4754
+ var Fc = function(t) {
4755
4755
  return t();
4756
- }, Wo = $.useInsertionEffect ? $.useInsertionEffect : !1, Uo = Wo || Dc, $r = Wo || $.useLayoutEffect, Go = /* @__PURE__ */ $.createContext(
4756
+ }, Wo = $.useInsertionEffect ? $.useInsertionEffect : !1, Uo = Wo || Fc, Nr = Wo || $.useLayoutEffect, Go = /* @__PURE__ */ $.createContext(
4757
4757
  // we're doing this to avoid preconstruct's dead code elimination in this one case
4758
4758
  // because this module is primarily intended for the browser and node
4759
4759
  // but it's also required in react native and similar environments sometimes
4760
4760
  // and we could have a special build just for that
4761
4761
  // but this is much easier and the native packages
4762
4762
  // might use a different theme context in the future anyway
4763
- typeof HTMLElement < "u" ? /* @__PURE__ */ Fo({
4763
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Do({
4764
4764
  key: "css"
4765
4765
  }) : null
4766
- ), Fc = Go.Provider, Wn = function(t) {
4766
+ ), Dc = Go.Provider, Un = function(t) {
4767
4767
  return /* @__PURE__ */ hi(function(n, r) {
4768
4768
  var o = We(Go);
4769
4769
  return t(n, o, r);
4770
4770
  });
4771
- }, Zt = /* @__PURE__ */ $.createContext({}), Un = {}.hasOwnProperty, An = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hc = function(t, n) {
4771
+ }, Zt = /* @__PURE__ */ $.createContext({}), Gn = {}.hasOwnProperty, An = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hc = function(t, n) {
4772
4772
  var r = {};
4773
4773
  for (var o in n)
4774
- Un.call(n, o) && (r[o] = n[o]);
4774
+ Gn.call(n, o) && (r[o] = n[o]);
4775
4775
  return r[An] = t, r;
4776
4776
  }, jc = function(t) {
4777
4777
  var n = t.cache, r = t.serialized, o = t.isStringTag;
4778
- return Bn(n, r, o), Uo(function() {
4779
- return Vn(n, r, o);
4778
+ return Vn(n, r, o), Uo(function() {
4779
+ return Wn(n, r, o);
4780
4780
  }), null;
4781
- }, Bc = /* @__PURE__ */ Wn(function(e, t, n) {
4781
+ }, Bc = /* @__PURE__ */ Un(function(e, t, n) {
4782
4782
  var r = e.css;
4783
4783
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
4784
4784
  var o = e[An], i = [r], a = "";
@@ -4787,15 +4787,15 @@ var Dc = function(t) {
4787
4787
  a += t.key + "-" + c.name;
4788
4788
  var l = {};
4789
4789
  for (var f in e)
4790
- Un.call(e, f) && f !== "css" && f !== An && (l[f] = e[f]);
4790
+ Gn.call(e, f) && f !== "css" && f !== An && (l[f] = e[f]);
4791
4791
  return l.className = a, n && (l.ref = n), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(jc, {
4792
4792
  cache: t,
4793
4793
  serialized: c,
4794
4794
  isStringTag: typeof o == "string"
4795
4795
  }), /* @__PURE__ */ $.createElement(o, l));
4796
- }), Vc = Bc, Nr = function(t, n) {
4796
+ }), Vc = Bc, Pr = function(t, n) {
4797
4797
  var r = arguments;
4798
- if (n == null || !Un.call(n, "css"))
4798
+ if (n == null || !Gn.call(n, "css"))
4799
4799
  return $.createElement.apply(void 0, r);
4800
4800
  var o = r.length, i = new Array(o);
4801
4801
  i[0] = Vc, i[1] = Hc(t, n);
@@ -4806,10 +4806,10 @@ var Dc = function(t) {
4806
4806
  (function(e) {
4807
4807
  var t;
4808
4808
  t || (t = e.JSX || (e.JSX = {}));
4809
- })(Nr || (Nr = {}));
4810
- var Wc = /* @__PURE__ */ Wn(function(e, t) {
4809
+ })(Pr || (Pr = {}));
4810
+ var Wc = /* @__PURE__ */ Un(function(e, t) {
4811
4811
  var n = e.styles, r = qt([n], void 0, $.useContext(Zt)), o = $.useRef();
4812
- return $r(function() {
4812
+ return Nr(function() {
4813
4813
  var i = t.key + "-global", a = new t.sheet.constructor({
4814
4814
  key: i,
4815
4815
  nonce: t.sheet.nonce,
@@ -4819,13 +4819,13 @@ var Wc = /* @__PURE__ */ Wn(function(e, t) {
4819
4819
  return t.sheet.tags.length && (a.before = t.sheet.tags[0]), l !== null && (c = !0, l.setAttribute("data-emotion", i), a.hydrate([l])), o.current = [a, c], function() {
4820
4820
  a.flush();
4821
4821
  };
4822
- }, [t]), $r(function() {
4822
+ }, [t]), Nr(function() {
4823
4823
  var i = o.current, a = i[0], c = i[1];
4824
4824
  if (c) {
4825
4825
  i[1] = !1;
4826
4826
  return;
4827
4827
  }
4828
- if (r.next !== void 0 && Vn(t, r.next, !0), a.tags.length) {
4828
+ if (r.next !== void 0 && Wn(t, r.next, !0), a.tags.length) {
4829
4829
  var l = a.tags[a.tags.length - 1].nextElementSibling;
4830
4830
  a.before = l, a.flush();
4831
4831
  }
@@ -4855,12 +4855,12 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4855
4855
  /* Z+1 */
4856
4856
  ), Yc = Kc, qc = function(t) {
4857
4857
  return t !== "theme";
4858
- }, Pr = function(t) {
4858
+ }, Rr = function(t) {
4859
4859
  return typeof t == "string" && // 96 is one less than the char code
4860
4860
  // for "a" so this is checking that
4861
4861
  // it's a lowercase character
4862
4862
  t.charCodeAt(0) > 96 ? Yc : qc;
4863
- }, Rr = function(t, n, r) {
4863
+ }, zr = function(t, n, r) {
4864
4864
  var o;
4865
4865
  if (n) {
4866
4866
  var i = n.shouldForwardProp;
@@ -4871,13 +4871,13 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4871
4871
  return typeof o != "function" && r && (o = t.__emotion_forwardProp), o;
4872
4872
  }, Zc = function(t) {
4873
4873
  var n = t.cache, r = t.serialized, o = t.isStringTag;
4874
- return Bn(n, r, o), Uo(function() {
4875
- return Vn(n, r, o);
4874
+ return Vn(n, r, o), Uo(function() {
4875
+ return Wn(n, r, o);
4876
4876
  }), null;
4877
4877
  }, Xc = function e(t, n) {
4878
4878
  var r = t.__emotion_real === t, o = r && t.__emotion_base || t, i, a;
4879
4879
  n !== void 0 && (i = n.label, a = n.target);
4880
- var c = Rr(t, n, r), l = c || Pr(o), f = !l("as");
4880
+ var c = zr(t, n, r), l = c || Rr(o), f = !l("as");
4881
4881
  return function() {
4882
4882
  var d = arguments, h = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
4883
4883
  if (i !== void 0 && h.push("label:" + i + ";"), d[0] == null || d[0].raw === void 0)
@@ -4888,7 +4888,7 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4888
4888
  for (var v = d.length, g = 1; g < v; g++)
4889
4889
  h.push(d[g], m[g]);
4890
4890
  }
4891
- var s = Wn(function(p, b, S) {
4891
+ var s = Un(function(p, b, S) {
4892
4892
  var x = f && p.as || o, E = "", y = [], w = p;
4893
4893
  if (p.theme == null) {
4894
4894
  w = {};
@@ -4897,14 +4897,14 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4897
4897
  w.theme = $.useContext(Zt);
4898
4898
  }
4899
4899
  typeof p.className == "string" ? E = Bo(b.registered, y, p.className) : p.className != null && (E = p.className + " ");
4900
- var I = qt(h.concat(y), b.registered, w);
4901
- E += b.key + "-" + I.name, a !== void 0 && (E += " " + a);
4902
- var k = f && c === void 0 ? Pr(x) : l, L = {};
4900
+ var M = qt(h.concat(y), b.registered, w);
4901
+ E += b.key + "-" + M.name, a !== void 0 && (E += " " + a);
4902
+ var k = f && c === void 0 ? Rr(x) : l, L = {};
4903
4903
  for (var C in p)
4904
4904
  f && C === "as" || k(C) && (L[C] = p[C]);
4905
4905
  return L.className = E, S && (L.ref = S), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(Zc, {
4906
4906
  cache: b,
4907
- serialized: I,
4907
+ serialized: M,
4908
4908
  isStringTag: typeof x == "string"
4909
4909
  }), /* @__PURE__ */ $.createElement(x, L));
4910
4910
  });
@@ -4914,7 +4914,7 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4914
4914
  }
4915
4915
  }), s.withComponent = function(p, b) {
4916
4916
  var S = e(p, W({}, n, b, {
4917
- shouldForwardProp: Rr(s, b, !0)
4917
+ shouldForwardProp: zr(s, b, !0)
4918
4918
  }));
4919
4919
  return S.apply(void 0, h);
4920
4920
  }, s;
@@ -5060,7 +5060,7 @@ Jc.forEach(function(e) {
5060
5060
  $n[e] = $n(e);
5061
5061
  });
5062
5062
  let Nn;
5063
- typeof document == "object" && (Nn = Fo({
5063
+ typeof document == "object" && (Nn = Do({
5064
5064
  key: "css",
5065
5065
  prepend: !0
5066
5066
  }));
@@ -5069,7 +5069,7 @@ function Yo(e) {
5069
5069
  injectFirst: t,
5070
5070
  children: n
5071
5071
  } = e;
5072
- return t && Nn ? /* @__PURE__ */ u(Fc, {
5072
+ return t && Nn ? /* @__PURE__ */ u(Dc, {
5073
5073
  value: Nn,
5074
5074
  children: n
5075
5075
  }) : n;
@@ -5155,7 +5155,7 @@ function Zo(e) {
5155
5155
  },
5156
5156
  unit: n = "px",
5157
5157
  step: r = 5
5158
- } = e, o = Fe(e, sl), i = cl(t), a = Object.keys(i);
5158
+ } = e, o = De(e, sl), i = cl(t), a = Object.keys(i);
5159
5159
  function c(m) {
5160
5160
  return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${n})`;
5161
5161
  }
@@ -5193,7 +5193,7 @@ function ft(e, t) {
5193
5193
  // No need to clone deep, it's way faster.
5194
5194
  }) : e;
5195
5195
  }
5196
- const Gn = {
5196
+ const Kn = {
5197
5197
  xs: 0,
5198
5198
  // phone
5199
5199
  sm: 600,
@@ -5204,22 +5204,22 @@ const Gn = {
5204
5204
  // desktop
5205
5205
  xl: 1536
5206
5206
  // large screen
5207
- }, zr = {
5207
+ }, Lr = {
5208
5208
  // Sorted ASC by size. That's important.
5209
5209
  // It can't be configured as it's used statically for propTypes.
5210
5210
  keys: ["xs", "sm", "md", "lg", "xl"],
5211
- up: (e) => `@media (min-width:${Gn[e]}px)`
5211
+ up: (e) => `@media (min-width:${Kn[e]}px)`
5212
5212
  };
5213
5213
  function Pe(e, t, n) {
5214
5214
  const r = e.theme || {};
5215
5215
  if (Array.isArray(t)) {
5216
- const i = r.breakpoints || zr;
5216
+ const i = r.breakpoints || Lr;
5217
5217
  return t.reduce((a, c, l) => (a[i.up(i.keys[l])] = n(t[l]), a), {});
5218
5218
  }
5219
5219
  if (typeof t == "object") {
5220
- const i = r.breakpoints || zr;
5220
+ const i = r.breakpoints || Lr;
5221
5221
  return Object.keys(t).reduce((a, c) => {
5222
- if (Object.keys(i.values || Gn).indexOf(c) !== -1) {
5222
+ if (Object.keys(i.values || Kn).indexOf(c) !== -1) {
5223
5223
  const l = i.up(c);
5224
5224
  a[l] = n(t[c], c);
5225
5225
  } else {
@@ -5270,7 +5270,7 @@ function Q(e) {
5270
5270
  const c = a[t], l = a.theme, f = Xt(l, r) || {};
5271
5271
  return Pe(a, c, (h) => {
5272
5272
  let m = jt(f, o, h);
5273
- return h === m && typeof h == "string" && (m = jt(f, o, `${t}${h === "default" ? "" : De(h)}`, h)), n === !1 ? m : {
5273
+ return h === m && typeof h == "string" && (m = jt(f, o, `${t}${h === "default" ? "" : Fe(h)}`, h)), n === !1 ? m : {
5274
5274
  [n]: m
5275
5275
  };
5276
5276
  });
@@ -5293,15 +5293,15 @@ const hl = {
5293
5293
  l: "Left",
5294
5294
  x: ["Left", "Right"],
5295
5295
  y: ["Top", "Bottom"]
5296
- }, Lr = {
5296
+ }, Fr = {
5297
5297
  marginX: "mx",
5298
5298
  marginY: "my",
5299
5299
  paddingX: "px",
5300
5300
  paddingY: "py"
5301
5301
  }, pl = fl((e) => {
5302
5302
  if (e.length > 2)
5303
- if (Lr[e])
5304
- e = Lr[e];
5303
+ if (Fr[e])
5304
+ e = Fr[e];
5305
5305
  else
5306
5306
  return [e];
5307
5307
  const [t, n] = e.split(""), r = hl[t], o = ml[n] || "";
@@ -5441,14 +5441,14 @@ const $l = Q({
5441
5441
  prop: "gridAutoRows"
5442
5442
  }), Ll = Q({
5443
5443
  prop: "gridTemplateColumns"
5444
- }), Dl = Q({
5445
- prop: "gridTemplateRows"
5446
5444
  }), Fl = Q({
5445
+ prop: "gridTemplateRows"
5446
+ }), Dl = Q({
5447
5447
  prop: "gridTemplateAreas"
5448
5448
  }), Hl = Q({
5449
5449
  prop: "gridArea"
5450
5450
  });
5451
- en(nn, rn, on, $l, Nl, Pl, Rl, zl, Ll, Dl, Fl, Hl);
5451
+ en(nn, rn, on, $l, Nl, Pl, Rl, zl, Ll, Fl, Dl, Hl);
5452
5452
  function tt(e, t) {
5453
5453
  return t === "grey" ? t : e;
5454
5454
  }
@@ -5473,11 +5473,11 @@ function he(e) {
5473
5473
  const Wl = Q({
5474
5474
  prop: "width",
5475
5475
  transform: he
5476
- }), Kn = (e) => {
5476
+ }), Yn = (e) => {
5477
5477
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
5478
5478
  const t = (n) => {
5479
5479
  var r, o;
5480
- const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || Gn[n];
5480
+ const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || Kn[n];
5481
5481
  return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
5482
5482
  maxWidth: `${i}${e.theme.breakpoints.unit}`
5483
5483
  } : {
@@ -5490,7 +5490,7 @@ const Wl = Q({
5490
5490
  }
5491
5491
  return null;
5492
5492
  };
5493
- Kn.filterProps = ["maxWidth"];
5493
+ Yn.filterProps = ["maxWidth"];
5494
5494
  const Ul = Q({
5495
5495
  prop: "minWidth",
5496
5496
  transform: he
@@ -5517,7 +5517,7 @@ Q({
5517
5517
  const ql = Q({
5518
5518
  prop: "boxSizing"
5519
5519
  });
5520
- en(Wl, Kn, Ul, Gl, Kl, Yl, ql);
5520
+ en(Wl, Yn, Ul, Gl, Kl, Yl, ql);
5521
5521
  const _t = {
5522
5522
  // borders
5523
5523
  border: {
@@ -5766,7 +5766,7 @@ const _t = {
5766
5766
  transform: he
5767
5767
  },
5768
5768
  maxWidth: {
5769
- style: Kn
5769
+ style: Yn
5770
5770
  },
5771
5771
  minWidth: {
5772
5772
  transform: he
@@ -5835,7 +5835,7 @@ function Qo() {
5835
5835
  const m = Xt(o, f) || {};
5836
5836
  return h ? h(a) : Pe(a, r, (g) => {
5837
5837
  let s = jt(m, d, g);
5838
- return g === s && typeof g == "string" && (s = jt(m, d, `${n}${g === "default" ? "" : De(g)}`, g)), l === !1 ? s : {
5838
+ return g === s && typeof g == "string" && (s = jt(m, d, `${n}${g === "default" ? "" : Fe(g)}`, g)), l === !1 ? s : {
5839
5839
  [l]: s
5840
5840
  };
5841
5841
  });
@@ -5899,7 +5899,7 @@ function ti(e = {}, ...t) {
5899
5899
  palette: r = {},
5900
5900
  spacing: o,
5901
5901
  shape: i = {}
5902
- } = e, a = Fe(e, Jl), c = Zo(n), l = bl(o);
5902
+ } = e, a = De(e, Jl), c = Zo(n), l = bl(o);
5903
5903
  let f = Oe({
5904
5904
  breakpoints: c,
5905
5905
  direction: "ltr",
@@ -5936,7 +5936,7 @@ const Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5936
5936
  function r0(e) {
5937
5937
  const {
5938
5938
  sx: t
5939
- } = e, n = Fe(e, t0), {
5939
+ } = e, n = De(e, t0), {
5940
5940
  systemProps: r,
5941
5941
  otherProps: o
5942
5942
  } = n0(n);
@@ -6000,7 +6000,7 @@ function y0(e) {
6000
6000
  function Lt(e) {
6001
6001
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
6002
6002
  }
6003
- const v0 = bt.systemDefaultTheme = (0, u0.default)(), Fr = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
6003
+ const v0 = bt.systemDefaultTheme = (0, u0.default)(), Hr = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
6004
6004
  function Ot({
6005
6005
  defaultTheme: e,
6006
6006
  theme: t,
@@ -6011,7 +6011,7 @@ function Ot({
6011
6011
  function b0(e) {
6012
6012
  return e ? (t, n) => n[e] : null;
6013
6013
  }
6014
- function Dt(e, t) {
6014
+ function Ft(e, t) {
6015
6015
  let {
6016
6016
  ownerState: n
6017
6017
  } = t, r = (0, Pn.default)(t, f0);
@@ -6019,7 +6019,7 @@ function Dt(e, t) {
6019
6019
  ownerState: n
6020
6020
  }, r)) : e;
6021
6021
  if (Array.isArray(o))
6022
- return o.flatMap((i) => Dt(i, (0, pe.default)({
6022
+ return o.flatMap((i) => Ft(i, (0, pe.default)({
6023
6023
  ownerState: n
6024
6024
  }, r)));
6025
6025
  if (o && typeof o == "object" && Array.isArray(o.variants)) {
@@ -6061,20 +6061,20 @@ function x0(e = {}) {
6061
6061
  skipSx: h,
6062
6062
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
6063
6063
  // For more details: https://github.com/mui/material-ui/pull/37908
6064
- overridesResolver: m = b0(Fr(f))
6064
+ overridesResolver: m = b0(Hr(f))
6065
6065
  } = c, v = (0, Pn.default)(c, m0), g = d !== void 0 ? d : (
6066
6066
  // TODO v6: remove `Root` in the next major release
6067
6067
  // For more details: https://github.com/mui/material-ui/pull/37908
6068
6068
  f && f !== "Root" && f !== "root" || !1
6069
6069
  ), s = h || !1;
6070
6070
  let p;
6071
- process.env.NODE_ENV !== "production" && l && (p = `${l}-${Fr(f || "Root")}`);
6071
+ process.env.NODE_ENV !== "production" && l && (p = `${l}-${Hr(f || "Root")}`);
6072
6072
  let b = Lt;
6073
6073
  f === "Root" || f === "root" ? b = r : f ? b = o : y0(a) && (b = void 0);
6074
6074
  const S = (0, Dr.default)(a, (0, pe.default)({
6075
6075
  shouldForwardProp: b,
6076
6076
  label: p
6077
- }, v)), x = (y) => typeof y == "function" && y.__emotion_real !== y || (0, s0.isPlainObject)(y) ? (w) => Dt(y, (0, pe.default)({}, w, {
6077
+ }, v)), x = (y) => typeof y == "function" && y.__emotion_real !== y || (0, s0.isPlainObject)(y) ? (w) => Ft(y, (0, pe.default)({}, w, {
6078
6078
  theme: Ot({
6079
6079
  theme: w.theme,
6080
6080
  defaultTheme: n,
@@ -6082,8 +6082,8 @@ function x0(e = {}) {
6082
6082
  })
6083
6083
  })) : y, E = (y, ...w) => {
6084
6084
  let _ = x(y);
6085
- const I = w ? w.map(x) : [];
6086
- l && m && I.push((C) => {
6085
+ const M = w ? w.map(x) : [];
6086
+ l && m && M.push((C) => {
6087
6087
  const O = Ot((0, pe.default)({}, C, {
6088
6088
  defaultTheme: n,
6089
6089
  themeId: t
@@ -6092,28 +6092,28 @@ function x0(e = {}) {
6092
6092
  return null;
6093
6093
  const R = O.components[l].styleOverrides, Y = {};
6094
6094
  return Object.entries(R).forEach(([ie, ue]) => {
6095
- Y[ie] = Dt(ue, (0, pe.default)({}, C, {
6095
+ Y[ie] = Ft(ue, (0, pe.default)({}, C, {
6096
6096
  theme: O
6097
6097
  }));
6098
6098
  }), m(C, Y);
6099
- }), l && !g && I.push((C) => {
6099
+ }), l && !g && M.push((C) => {
6100
6100
  var O;
6101
6101
  const R = Ot((0, pe.default)({}, C, {
6102
6102
  defaultTheme: n,
6103
6103
  themeId: t
6104
6104
  })), Y = R == null || (O = R.components) == null || (O = O[l]) == null ? void 0 : O.variants;
6105
- return Dt({
6105
+ return Ft({
6106
6106
  variants: Y
6107
6107
  }, (0, pe.default)({}, C, {
6108
6108
  theme: R
6109
6109
  }));
6110
- }), s || I.push(i);
6111
- const k = I.length - w.length;
6110
+ }), s || M.push(i);
6111
+ const k = M.length - w.length;
6112
6112
  if (Array.isArray(y) && k > 0) {
6113
6113
  const C = new Array(k).fill("");
6114
6114
  _ = [...y, ...C], _.raw = [...y.raw, ...C];
6115
6115
  }
6116
- const L = S(_, ...I);
6116
+ const L = S(_, ...M);
6117
6117
  if (process.env.NODE_ENV !== "production") {
6118
6118
  let C;
6119
6119
  l && (C = `${l}${(0, c0.default)(f || "")}`), C === void 0 && (C = `Styled(${(0, l0.default)(a)})`), L.displayName = C;
@@ -6147,14 +6147,14 @@ Object.defineProperty(ee, "__esModule", {
6147
6147
  ee.alpha = si;
6148
6148
  ee.blend = R0;
6149
6149
  ee.colorChannel = void 0;
6150
- var E0 = ee.darken = qn;
6150
+ var E0 = ee.darken = Zn;
6151
6151
  ee.decomposeColor = be;
6152
6152
  ee.emphasize = ci;
6153
- var Hr = ee.getContrastRatio = O0;
6153
+ var jr = ee.getContrastRatio = O0;
6154
6154
  ee.getLuminance = Bt;
6155
6155
  ee.hexToRgb = oi;
6156
6156
  ee.hslToRgb = ai;
6157
- var C0 = ee.lighten = Zn;
6157
+ var C0 = ee.lighten = Xn;
6158
6158
  ee.private_safeAlpha = A0;
6159
6159
  ee.private_safeColorChannel = void 0;
6160
6160
  ee.private_safeDarken = $0;
@@ -6162,8 +6162,8 @@ ee.private_safeEmphasize = P0;
6162
6162
  ee.private_safeLighten = N0;
6163
6163
  ee.recomposeColor = st;
6164
6164
  ee.rgbToHex = k0;
6165
- var jr = ri(w0), T0 = ri(_0);
6166
- function Yn(e, t = 0, n = 1) {
6165
+ var Br = ri(w0), T0 = ri(_0);
6166
+ function qn(e, t = 0, n = 1) {
6167
6167
  return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), (0, T0.default)(e, t, n);
6168
6168
  }
6169
6169
  function oi(e) {
@@ -6184,12 +6184,12 @@ function be(e) {
6184
6184
  const t = e.indexOf("("), n = e.substring(0, t);
6185
6185
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
6186
6186
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
6187
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, jr.default)(9, e));
6187
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, Br.default)(9, e));
6188
6188
  let r = e.substring(t + 1, e.length - 1), o;
6189
6189
  if (n === "color") {
6190
6190
  if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
6191
6191
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
6192
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, jr.default)(10, o));
6192
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, Br.default)(10, o));
6193
6193
  } else
6194
6194
  r = r.split(",");
6195
6195
  return r = r.map((i) => parseFloat(i)), {
@@ -6251,7 +6251,7 @@ function O0(e, t) {
6251
6251
  return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
6252
6252
  }
6253
6253
  function si(e, t) {
6254
- return e = be(e), t = Yn(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, st(e);
6254
+ return e = be(e), t = qn(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, st(e);
6255
6255
  }
6256
6256
  function A0(e, t, n) {
6257
6257
  try {
@@ -6260,8 +6260,8 @@ function A0(e, t, n) {
6260
6260
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6261
6261
  }
6262
6262
  }
6263
- function qn(e, t) {
6264
- if (e = be(e), t = Yn(t), e.type.indexOf("hsl") !== -1)
6263
+ function Zn(e, t) {
6264
+ if (e = be(e), t = qn(t), e.type.indexOf("hsl") !== -1)
6265
6265
  e.values[2] *= 1 - t;
6266
6266
  else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
6267
6267
  for (let n = 0; n < 3; n += 1)
@@ -6270,13 +6270,13 @@ function qn(e, t) {
6270
6270
  }
6271
6271
  function $0(e, t, n) {
6272
6272
  try {
6273
- return qn(e, t);
6273
+ return Zn(e, t);
6274
6274
  } catch {
6275
6275
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6276
6276
  }
6277
6277
  }
6278
- function Zn(e, t) {
6279
- if (e = be(e), t = Yn(t), e.type.indexOf("hsl") !== -1)
6278
+ function Xn(e, t) {
6279
+ if (e = be(e), t = qn(t), e.type.indexOf("hsl") !== -1)
6280
6280
  e.values[2] += (100 - e.values[2]) * t;
6281
6281
  else if (e.type.indexOf("rgb") !== -1)
6282
6282
  for (let n = 0; n < 3; n += 1)
@@ -6288,13 +6288,13 @@ function Zn(e, t) {
6288
6288
  }
6289
6289
  function N0(e, t, n) {
6290
6290
  try {
6291
- return Zn(e, t);
6291
+ return Xn(e, t);
6292
6292
  } catch {
6293
6293
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6294
6294
  }
6295
6295
  }
6296
6296
  function ci(e, t = 0.15) {
6297
- return Bt(e) > 0.5 ? qn(e, t) : Zn(e, t);
6297
+ return Bt(e) > 0.5 ? Zn(e, t) : Xn(e, t);
6298
6298
  }
6299
6299
  function P0(e, t, n) {
6300
6300
  try {
@@ -6366,7 +6366,7 @@ const vt = {
6366
6366
  700: "#388e3c",
6367
6367
  800: "#2e7d32",
6368
6368
  900: "#1b5e20"
6369
- }, L0 = ["mode", "contrastThreshold", "tonalOffset"], Br = {
6369
+ }, L0 = ["mode", "contrastThreshold", "tonalOffset"], Vr = {
6370
6370
  // The colors used to style the text.
6371
6371
  text: {
6372
6372
  // The most important text.
@@ -6429,11 +6429,11 @@ const vt = {
6429
6429
  activatedOpacity: 0.24
6430
6430
  }
6431
6431
  };
6432
- function Vr(e, t, n, r) {
6432
+ function Wr(e, t, n, r) {
6433
6433
  const o = r.light || r, i = r.dark || r * 1.5;
6434
6434
  e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = C0(e.main, o) : t === "dark" && (e.dark = E0(e.main, i)));
6435
6435
  }
6436
- function D0(e = "light") {
6436
+ function F0(e = "light") {
6437
6437
  return e === "dark" ? {
6438
6438
  main: Ze[200],
6439
6439
  light: Ze[50],
@@ -6444,7 +6444,7 @@ function D0(e = "light") {
6444
6444
  dark: Ze[800]
6445
6445
  };
6446
6446
  }
6447
- function F0(e = "light") {
6447
+ function D0(e = "light") {
6448
6448
  return e === "dark" ? {
6449
6449
  main: Ye[200],
6450
6450
  light: Ye[50],
@@ -6505,11 +6505,11 @@ function W0(e) {
6505
6505
  mode: t = "light",
6506
6506
  contrastThreshold: n = 3,
6507
6507
  tonalOffset: r = 0.2
6508
- } = e, o = Fe(e, L0), i = e.primary || D0(t), a = e.secondary || F0(t), c = e.error || H0(t), l = e.info || j0(t), f = e.success || B0(t), d = e.warning || V0(t);
6508
+ } = e, o = De(e, L0), i = e.primary || F0(t), a = e.secondary || D0(t), c = e.error || H0(t), l = e.info || j0(t), f = e.success || B0(t), d = e.warning || V0(t);
6509
6509
  function h(s) {
6510
- const p = Hr(s, pn.text.primary) >= n ? pn.text.primary : Br.text.primary;
6510
+ const p = jr(s, pn.text.primary) >= n ? pn.text.primary : Vr.text.primary;
6511
6511
  if (process.env.NODE_ENV !== "production") {
6512
- const b = Hr(s, p);
6512
+ const b = jr(s, p);
6513
6513
  b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${p} on ${s}`, "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(`
6514
6514
  `));
6515
6515
  }
@@ -6540,10 +6540,10 @@ const theme1 = createTheme({ palette: {
6540
6540
  const theme2 = createTheme({ palette: {
6541
6541
  primary: { main: green[500] },
6542
6542
  } });` : mt(12, p ? ` (${p})` : "", JSON.stringify(s.main)));
6543
- return Vr(s, "light", S, r), Vr(s, "dark", x, r), s.contrastText || (s.contrastText = h(s.main)), s;
6543
+ return Wr(s, "light", S, r), Wr(s, "dark", x, r), s.contrastText || (s.contrastText = h(s.main)), s;
6544
6544
  }, v = {
6545
6545
  dark: pn,
6546
- light: Br
6546
+ light: Vr
6547
6547
  };
6548
6548
  return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Oe(W({
6549
6549
  // A collection of common colors.
@@ -6603,12 +6603,12 @@ const U0 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "f
6603
6603
  function G0(e) {
6604
6604
  return Math.round(e * 1e5) / 1e5;
6605
6605
  }
6606
- const Wr = {
6606
+ const Ur = {
6607
6607
  textTransform: "uppercase"
6608
- }, Ur = '"Roboto", "Helvetica", "Arial", sans-serif';
6608
+ }, Gr = '"Roboto", "Helvetica", "Arial", sans-serif';
6609
6609
  function K0(e, t) {
6610
6610
  const n = typeof t == "function" ? t(e) : t, {
6611
- fontFamily: r = Ur,
6611
+ fontFamily: r = Gr,
6612
6612
  // The default font size of the Material Specification.
6613
6613
  fontSize: o = 14,
6614
6614
  // px
@@ -6622,7 +6622,7 @@ function K0(e, t) {
6622
6622
  // Apply the CSS properties to all the variants.
6623
6623
  allVariants: d,
6624
6624
  pxToRem: h
6625
- } = n, m = Fe(n, U0);
6625
+ } = n, m = De(n, U0);
6626
6626
  process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
6627
6627
  const v = o / 14, g = h || ((b) => `${b / f * v}rem`), s = (b, S, x, E, y) => W({
6628
6628
  fontFamily: r,
@@ -6630,7 +6630,7 @@ function K0(e, t) {
6630
6630
  fontSize: g(S),
6631
6631
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
6632
6632
  lineHeight: x
6633
- }, r === Ur ? {
6633
+ }, r === Gr ? {
6634
6634
  letterSpacing: `${G0(E / S)}em`
6635
6635
  } : {}, y, d), p = {
6636
6636
  h1: s(i, 96, 1.167, -1.5),
@@ -6643,9 +6643,9 @@ function K0(e, t) {
6643
6643
  subtitle2: s(c, 14, 1.57, 0.1),
6644
6644
  body1: s(a, 16, 1.5, 0.15),
6645
6645
  body2: s(a, 14, 1.43, 0.15),
6646
- button: s(c, 14, 1.75, 0.4, Wr),
6646
+ button: s(c, 14, 1.75, 0.4, Ur),
6647
6647
  caption: s(a, 12, 1.66, 0.4),
6648
- overline: s(a, 12, 2.66, 1, Wr),
6648
+ overline: s(a, 12, 2.66, 1, Ur),
6649
6649
  // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
6650
6650
  inherit: {
6651
6651
  fontFamily: "inherit",
@@ -6696,7 +6696,7 @@ const X0 = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2,
6696
6696
  // recommended when something is leaving screen
6697
6697
  leavingScreen: 195
6698
6698
  };
6699
- function Gr(e) {
6699
+ function Kr(e) {
6700
6700
  return `${Math.round(e)}ms`;
6701
6701
  }
6702
6702
  function t1(e) {
@@ -6714,13 +6714,13 @@ function n1(e) {
6714
6714
  duration: a = n.standard,
6715
6715
  easing: c = t.easeInOut,
6716
6716
  delay: l = 0
6717
- } = i, f = Fe(i, J0);
6717
+ } = i, f = De(i, J0);
6718
6718
  if (process.env.NODE_ENV !== "production") {
6719
6719
  const d = (m) => typeof m == "string", h = (m) => !isNaN(parseFloat(m));
6720
6720
  !d(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !d(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), d(c) || console.error('MUI: Argument "easing" must be a string.'), !h(l) && !d(l) && 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(`
6721
6721
  `)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
6722
6722
  }
6723
- return (Array.isArray(o) ? o : [o]).map((d) => `${d} ${typeof a == "string" ? a : Gr(a)} ${c} ${typeof l == "string" ? l : Gr(l)}`).join(",");
6723
+ return (Array.isArray(o) ? o : [o]).map((d) => `${d} ${typeof a == "string" ? a : Kr(a)} ${c} ${typeof l == "string" ? l : Kr(l)}`).join(",");
6724
6724
  }
6725
6725
  }, e, {
6726
6726
  easing: t,
@@ -6743,7 +6743,7 @@ function i1(e = {}, ...t) {
6743
6743
  palette: r = {},
6744
6744
  transitions: o = {},
6745
6745
  typography: i = {}
6746
- } = e, a = Fe(e, o1);
6746
+ } = e, a = De(e, o1);
6747
6747
  if (e.vars)
6748
6748
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : mt(18));
6749
6749
  const c = W0(r), l = ti(e);
@@ -6763,7 +6763,7 @@ function i1(e = {}, ...t) {
6763
6763
  const s = m[g];
6764
6764
  if (d.indexOf(g) !== -1 && Object.keys(s).length > 0) {
6765
6765
  if (process.env.NODE_ENV !== "production") {
6766
- const p = Ln("", g);
6766
+ const p = Fn("", g);
6767
6767
  console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${g}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${p}' syntax:`, JSON.stringify({
6768
6768
  root: {
6769
6769
  [`&.${p}`]: s
@@ -6797,7 +6797,7 @@ const l1 = (e) => c1(e) && e !== "classes", u1 = a0({
6797
6797
  rootShouldForwardProp: l1
6798
6798
  });
6799
6799
  function d1(e) {
6800
- return Ln("MuiSvgIcon", e);
6800
+ return Fn("MuiSvgIcon", e);
6801
6801
  }
6802
6802
  Ws("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
6803
6803
  const f1 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], h1 = (e) => {
@@ -6806,7 +6806,7 @@ const f1 = ["children", "className", "color", "component", "fontSize", "htmlColo
6806
6806
  fontSize: n,
6807
6807
  classes: r
6808
6808
  } = e, o = {
6809
- root: ["root", t !== "inherit" && `color${De(t)}`, `fontSize${De(n)}`]
6809
+ root: ["root", t !== "inherit" && `color${Fe(t)}`, `fontSize${Fe(n)}`]
6810
6810
  };
6811
6811
  return js(o, d1, r);
6812
6812
  }, m1 = u1("svg", {
@@ -6816,7 +6816,7 @@ const f1 = ["children", "className", "color", "component", "fontSize", "htmlColo
6816
6816
  const {
6817
6817
  ownerState: n
6818
6818
  } = e;
6819
- return [t.root, n.color !== "inherit" && t[`color${De(n.color)}`], t[`fontSize${De(n.fontSize)}`]];
6819
+ return [t.root, n.color !== "inherit" && t[`color${Fe(n.color)}`], t[`fontSize${Fe(n.fontSize)}`]];
6820
6820
  }
6821
6821
  })(({
6822
6822
  theme: e,
@@ -6862,7 +6862,7 @@ const f1 = ["children", "className", "color", "component", "fontSize", "htmlColo
6862
6862
  inheritViewBox: d = !1,
6863
6863
  titleAccess: h,
6864
6864
  viewBox: m = "0 0 24 24"
6865
- } = r, v = Fe(r, f1), g = /* @__PURE__ */ $.isValidElement(o) && o.type === "svg", s = W({}, r, {
6865
+ } = r, v = De(r, f1), g = /* @__PURE__ */ $.isValidElement(o) && o.type === "svg", s = W({}, r, {
6866
6866
  color: a,
6867
6867
  component: c,
6868
6868
  fontSize: l,
@@ -6873,7 +6873,7 @@ const f1 = ["children", "className", "color", "component", "fontSize", "htmlColo
6873
6873
  }), p = {};
6874
6874
  d || (p.viewBox = m);
6875
6875
  const b = h1(s);
6876
- return /* @__PURE__ */ M(m1, W({
6876
+ return /* @__PURE__ */ I(m1, W({
6877
6877
  as: c,
6878
6878
  className: Ei(b.root, i),
6879
6879
  focusable: "false",
@@ -6979,7 +6979,7 @@ const p1 = {
6979
6979
  }
6980
6980
  }, g1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6981
6981
  __proto__: null,
6982
- capitalize: De,
6982
+ capitalize: Fe,
6983
6983
  createChainedFunction: Ss,
6984
6984
  createSvgIcon: li,
6985
6985
  debounce: ws,
@@ -7000,7 +7000,7 @@ const p1 = {
7000
7000
  }, Symbol.toStringTag, { value: "Module" })), y1 = li(/* @__PURE__ */ u("path", {
7001
7001
  d: "m7 10 5 5 5-5z"
7002
7002
  }), "ArrowDropDown");
7003
- function Kr(e) {
7003
+ function Yr(e) {
7004
7004
  const { colors: t } = Qr();
7005
7005
  return /* @__PURE__ */ u(
7006
7006
  Se,
@@ -7038,9 +7038,9 @@ const Wt = 37, v1 = (e, t) => {
7038
7038
  const c = a.offsetHeight;
7039
7039
  return document.body.removeChild(a), c > 21 ? Wt + 21 : Wt;
7040
7040
  };
7041
- function Q1(e) {
7042
- const [t, n] = D(!1), [r, o] = D(""), [i, a] = D(""), [c, l] = D(!1), { isRequired: f = !1 } = e, d = dt(
7043
- tr.debounce((w) => {
7041
+ function eu(e) {
7042
+ const [t, n] = F(!1), [r, o] = F(""), [i, a] = F(""), [c, l] = F(!1), { isRequired: f = !1 } = e, d = dt(
7043
+ nr.debounce((w) => {
7044
7044
  var _;
7045
7045
  (_ = e.handleChangeSearch) == null || _.call(e, w);
7046
7046
  }, 300),
@@ -7061,15 +7061,15 @@ function Q1(e) {
7061
7061
  o(w.target.value), t && (a(w.target.value), d(w.target.value), l(!0));
7062
7062
  }, x = ye(null), E = ye(null), y = ye(null);
7063
7063
  return J(() => {
7064
- var w, _, I, k;
7065
- t ? ((w = E.current) == null || w.classList.add("Mui-focused"), (_ = y.current) == null || _.classList.add("Mui-focused")) : ((I = E.current) == null || I.classList.remove("Mui-focused"), (k = y.current) == null || k.classList.remove("Mui-focused"));
7064
+ var w, _, M, k;
7065
+ t ? ((w = E.current) == null || w.classList.add("Mui-focused"), (_ = y.current) == null || _.classList.add("Mui-focused")) : ((M = E.current) == null || M.classList.remove("Mui-focused"), (k = y.current) == null || k.classList.remove("Mui-focused"));
7066
7066
  }, [t]), /* @__PURE__ */ u(
7067
7067
  Pi,
7068
7068
  {
7069
7069
  onClickAway: m,
7070
7070
  mouseEvent: "onMouseDown",
7071
7071
  touchEvent: "onTouchEnd",
7072
- children: /* @__PURE__ */ u("div", { ref: x, style: { width: e.wrapperWidth ?? "auto" }, children: /* @__PURE__ */ M(
7072
+ children: /* @__PURE__ */ u("div", { ref: x, style: { width: e.wrapperWidth ?? "auto" }, children: /* @__PURE__ */ I(
7073
7073
  Se,
7074
7074
  {
7075
7075
  sx: {
@@ -7133,7 +7133,7 @@ function Q1(e) {
7133
7133
  }
7134
7134
  }
7135
7135
  ),
7136
- /* @__PURE__ */ u(zi, { in: t, timeout: 0, unmountOnExit: !1, children: /* @__PURE__ */ M(
7136
+ /* @__PURE__ */ u(zi, { in: t, timeout: 0, unmountOnExit: !1, children: /* @__PURE__ */ I(
7137
7137
  Li,
7138
7138
  {
7139
7139
  sx: {
@@ -7155,7 +7155,7 @@ function Q1(e) {
7155
7155
  )
7156
7156
  },
7157
7157
  children: /* @__PURE__ */ u(Se, { children: /* @__PURE__ */ u(
7158
- Kr,
7158
+ Yr,
7159
7159
  {
7160
7160
  option: void 0,
7161
7161
  select: !e.value,
@@ -7169,7 +7169,7 @@ function Q1(e) {
7169
7169
  }
7170
7170
  ),
7171
7171
  !c && /* @__PURE__ */ u(
7172
- Zr,
7172
+ Xr,
7173
7173
  {
7174
7174
  isItemLoaded: b,
7175
7175
  itemCount: s,
@@ -7182,26 +7182,26 @@ function Q1(e) {
7182
7182
  onItemsRendered: w,
7183
7183
  height: Wt * Math.min(e.itemsNumber || 6, s),
7184
7184
  itemCount: s,
7185
- itemSize: (I) => {
7185
+ itemSize: (M) => {
7186
7186
  var k;
7187
7187
  return v1(
7188
7188
  (k = x.current) == null ? void 0 : k.offsetWidth,
7189
- v[I] ? e.getOptionLabel(v[I]) : ""
7189
+ v[M] ? e.getOptionLabel(v[M]) : ""
7190
7190
  );
7191
7191
  },
7192
7192
  width: "100%",
7193
7193
  className: "styled-scroll",
7194
- children: ({ index: I, style: k }) => {
7194
+ children: ({ index: M, style: k }) => {
7195
7195
  var C;
7196
- const L = v[I];
7197
- return b(I) ? /* @__PURE__ */ u(
7198
- Kr,
7196
+ const L = v[M];
7197
+ return b(M) ? /* @__PURE__ */ u(
7198
+ Yr,
7199
7199
  {
7200
7200
  stackProps: { style: k },
7201
7201
  option: L,
7202
7202
  renderOption: (O) => {
7203
7203
  var R;
7204
- return /* @__PURE__ */ M(
7204
+ return /* @__PURE__ */ I(
7205
7205
  Se,
7206
7206
  {
7207
7207
  direction: "row",
@@ -7218,7 +7218,7 @@ function Q1(e) {
7218
7218
  var R;
7219
7219
  m(), (R = e.onChange) == null || R.call(e, O);
7220
7220
  },
7221
- select: ((C = e.isEqual) == null ? void 0 : C.call(e, L, e.value)) ?? tr.isEqual(L, e.value)
7221
+ select: ((C = e.isEqual) == null ? void 0 : C.call(e, L, e.value)) ?? nr.isEqual(L, e.value)
7222
7222
  }
7223
7223
  ) : /* @__PURE__ */ u(
7224
7224
  Se,
@@ -7272,9 +7272,9 @@ function Q1(e) {
7272
7272
  }
7273
7273
  );
7274
7274
  }
7275
- function eu(e) {
7275
+ function tu(e) {
7276
7276
  var d;
7277
- const { listProps: t } = e, [n, r] = D({
7277
+ const { listProps: t } = e, [n, r] = F({
7278
7278
  initLoading: !e.disabled,
7279
7279
  searchLoading: !1,
7280
7280
  hasNextPage: !1,
@@ -7318,8 +7318,8 @@ function eu(e) {
7318
7318
  ...t == null ? void 0 : t.filter,
7319
7319
  ...h == null ? void 0 : h.filter
7320
7320
  },
7321
- ...nr.omit(t, "filter"),
7322
- ...nr.omit(h, "filter"),
7321
+ ...rr.omit(t, "filter"),
7322
+ ...rr.omit(h, "filter"),
7323
7323
  search: {
7324
7324
  fields: ((v = t == null ? void 0 : t.search) == null ? void 0 : v.fields) ?? [],
7325
7325
  content: ((g = h == null ? void 0 : h.search) == null ? void 0 : g.content) ?? ""
@@ -7369,7 +7369,7 @@ function eu(e) {
7369
7369
  };
7370
7370
  }
7371
7371
  function b1(e) {
7372
- return /* @__PURE__ */ M(
7372
+ return /* @__PURE__ */ I(
7373
7373
  "svg",
7374
7374
  {
7375
7375
  width: "16",
@@ -7443,9 +7443,9 @@ function b1(e) {
7443
7443
  );
7444
7444
  }
7445
7445
  const x1 = "Reset date";
7446
- function tu(e) {
7446
+ function nu(e) {
7447
7447
  var c, l;
7448
- const [t, n] = D(e.value), r = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : ce(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + ce(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
7448
+ const [t, n] = F(e.value), r = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : ce(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + ce(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
7449
7449
  J(() => {
7450
7450
  n(e.value);
7451
7451
  }, [e.value]);
@@ -7548,7 +7548,7 @@ function S1(e) {
7548
7548
  );
7549
7549
  }
7550
7550
  function w1(e) {
7551
- return /* @__PURE__ */ M(
7551
+ return /* @__PURE__ */ I(
7552
7552
  "svg",
7553
7553
  {
7554
7554
  ...e,
@@ -7580,9 +7580,9 @@ function w1(e) {
7580
7580
  }
7581
7581
  );
7582
7582
  }
7583
- function nu(e) {
7583
+ function ru(e) {
7584
7584
  return /* @__PURE__ */ u(
7585
- Di,
7585
+ Fi,
7586
7586
  {
7587
7587
  sx: {
7588
7588
  "& input:disabled ~ svg": {
@@ -7597,7 +7597,7 @@ function nu(e) {
7597
7597
  }
7598
7598
  );
7599
7599
  }
7600
- const Yr = (e) => {
7600
+ const qr = (e) => {
7601
7601
  "serviceWorker" in navigator && navigator.serviceWorker.register(e.path).then(function(t) {
7602
7602
  console.log("Registration successful, scope is:", t.scope), console.log("initialize service worker props ", e);
7603
7603
  const n = eo(
@@ -7666,7 +7666,7 @@ const Yr = (e) => {
7666
7666
  console.log("payload", r), t(r);
7667
7667
  });
7668
7668
  }), C1 = (e) => {
7669
- const [t, n] = D({
7669
+ const [t, n] = F({
7670
7670
  actorName: "",
7671
7671
  message: "",
7672
7672
  context: "",
@@ -7675,17 +7675,17 @@ const Yr = (e) => {
7675
7675
  console.log(t);
7676
7676
  const { setNotiData: r } = We(nt);
7677
7677
  function o() {
7678
- const a = /* @__PURE__ */ M("div", { className: "notification-massage_content", children: [
7678
+ const a = /* @__PURE__ */ I("div", { className: "notification-massage_content", children: [
7679
7679
  /* @__PURE__ */ u("h6", { className: "notification-name", children: t == null ? void 0 : t.actorName }),
7680
- /* @__PURE__ */ M("div", { className: "notification-message_service", children: [
7681
- /* @__PURE__ */ M("span", { children: [
7680
+ /* @__PURE__ */ I("div", { className: "notification-message_service", children: [
7681
+ /* @__PURE__ */ I("span", { children: [
7682
7682
  `${t == null ? void 0 : t.message} `,
7683
7683
  " "
7684
7684
  ] }),
7685
7685
  /* @__PURE__ */ u("span", { children: t == null ? void 0 : t.context })
7686
7686
  ] })
7687
7687
  ] });
7688
- return /* @__PURE__ */ M(ve, { children: [
7688
+ return /* @__PURE__ */ I(ve, { children: [
7689
7689
  /* @__PURE__ */ u("style", { children: lo }),
7690
7690
  t != null && t.contextUrl ? /* @__PURE__ */ u(
7691
7691
  "a",
@@ -7709,8 +7709,8 @@ const Yr = (e) => {
7709
7709
  t && Notification.permission === "granted" && (t.actorName || t.message || t.context || t.contextUrl) && ki(/* @__PURE__ */ u(o, {}));
7710
7710
  }, [t]), J(() => {
7711
7711
  "Notification" in window && (console.log("notification permission", Notification.permission), Notification.permission === "default" ? Notification.requestPermission(function(a) {
7712
- a === "granted" && Yr(e);
7713
- }) : Notification.permission === "granted" && Yr(e));
7712
+ a === "granted" && qr(e);
7713
+ }) : Notification.permission === "granted" && qr(e));
7714
7714
  }, [Notification.permission]), J(() => {
7715
7715
  _1(r);
7716
7716
  }, []);
@@ -7769,14 +7769,14 @@ const Yr = (e) => {
7769
7769
  };
7770
7770
  });
7771
7771
  }).catch((a) => console.log("failed: ", a)), /* @__PURE__ */ u(ve, {});
7772
- }, T1 = (e, t) => Ee.cloneElement(t, {}, e), ru = ({
7772
+ }, T1 = (e, t) => Ee.cloneElement(t, {}, e), ou = ({
7773
7773
  children: e,
7774
7774
  providers: t
7775
- }) => /* @__PURE__ */ u(ve, { children: t.reduceRight(T1, e) }), I1 = ".pnf-button-primary{font-size:14px;background-color:var(--primary300);color:var(--buttonText);padding:8px 24px;border-radius:4px;border:none;cursor:pointer;transition:background-color .25s cubic-bezier(.4,0,.2,1),box-shadow .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),color .25s cubic-bezier(.4,0,.2,1)}.pnf-button-primary:hover{background-color:var(--buttonHover)}.pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0}.pnf-description{text-align:center;color:#85858a;font-size:.875rem;font-weight:400;margin:0}", ou = () => {
7775
+ }) => /* @__PURE__ */ u(ve, { children: t.reduceRight(T1, e) }), I1 = ".pnf-button-primary{font-size:14px;background-color:var(--primary300);color:var(--buttonText);padding:8px 24px;border-radius:4px;border:none;cursor:pointer;transition:background-color .25s cubic-bezier(.4,0,.2,1),box-shadow .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),color .25s cubic-bezier(.4,0,.2,1)}.pnf-button-primary:hover{background-color:var(--buttonHover)}.pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0}.pnf-description{text-align:center;color:#85858a;font-size:.875rem;font-weight:400;margin:0}", iu = () => {
7776
7776
  const e = () => {
7777
7777
  window.top && (window.top.location.href = "/app/home");
7778
7778
  };
7779
- return console.log("window.location.origin", window.location.origin), /* @__PURE__ */ u(Xr, { styles: [I1], children: /* @__PURE__ */ M("div", { className: "pnf-container", children: [
7779
+ return console.log("window.location.origin", window.location.origin), /* @__PURE__ */ u(Rn, { styles: [I1], children: /* @__PURE__ */ I("div", { className: "pnf-container", children: [
7780
7780
  /* @__PURE__ */ u(
7781
7781
  "img",
7782
7782
  {
@@ -7786,9 +7786,9 @@ const Yr = (e) => {
7786
7786
  alt: "Page not found"
7787
7787
  }
7788
7788
  ),
7789
- /* @__PURE__ */ M("div", { className: "pnf-content-wrapper", children: [
7789
+ /* @__PURE__ */ I("div", { className: "pnf-content-wrapper", children: [
7790
7790
  /* @__PURE__ */ u("h4", { className: "pnf-title", children: "Page Not Found" }),
7791
- /* @__PURE__ */ M("p", { className: "pnf-description", children: [
7791
+ /* @__PURE__ */ I("p", { className: "pnf-description", children: [
7792
7792
  "We’re sorry. The page you requested could not be found. ",
7793
7793
  /* @__PURE__ */ u("br", {}),
7794
7794
  "Please go back to the home page"
@@ -7803,12 +7803,23 @@ const Yr = (e) => {
7803
7803
  )
7804
7804
  ] })
7805
7805
  ] }) });
7806
- };
7807
- var Xn = {}, gn = {};
7808
- const M1 = /* @__PURE__ */ we(g1);
7809
- var qr;
7810
- function k1() {
7811
- return qr || (qr = 1, function(e) {
7806
+ }, M1 = ".pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0;font-family:inherit}", au = () => /* @__PURE__ */ u(Rn, { styles: [M1], children: /* @__PURE__ */ I("div", { className: "pnf-container", children: [
7807
+ /* @__PURE__ */ u(
7808
+ "img",
7809
+ {
7810
+ width: 120,
7811
+ height: 120,
7812
+ src: "https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",
7813
+ alt: "File not found"
7814
+ }
7815
+ ),
7816
+ /* @__PURE__ */ u("div", { className: "pnf-content-wrapper", children: /* @__PURE__ */ u("h4", { className: "pnf-title", children: "File Not Found" }) })
7817
+ ] }) });
7818
+ var Jn = {}, gn = {};
7819
+ const k1 = /* @__PURE__ */ we(g1);
7820
+ var Zr;
7821
+ function O1() {
7822
+ return Zr || (Zr = 1, function(e) {
7812
7823
  "use client";
7813
7824
  Object.defineProperty(e, "__esModule", {
7814
7825
  value: !0
@@ -7818,18 +7829,18 @@ function k1() {
7818
7829
  return t.createSvgIcon;
7819
7830
  }
7820
7831
  });
7821
- var t = M1;
7832
+ var t = k1;
7822
7833
  }(gn)), gn;
7823
7834
  }
7824
- var O1 = Dn;
7825
- Object.defineProperty(Xn, "__esModule", {
7835
+ var A1 = Dn;
7836
+ Object.defineProperty(Jn, "__esModule", {
7826
7837
  value: !0
7827
7838
  });
7828
- var ui = Xn.default = void 0, A1 = O1(k1()), $1 = di;
7829
- ui = Xn.default = (0, A1.default)(/* @__PURE__ */ (0, $1.jsx)("path", {
7839
+ var ui = Jn.default = void 0, $1 = A1(O1()), N1 = di;
7840
+ ui = Jn.default = (0, $1.default)(/* @__PURE__ */ (0, N1.jsx)("path", {
7830
7841
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
7831
7842
  }), "NavigateNext");
7832
- function N1({ index: e, href: t, title: n, ssr: r }) {
7843
+ function P1({ index: e, href: t, title: n, ssr: r }) {
7833
7844
  return r ? /* @__PURE__ */ u(
7834
7845
  "a",
7835
7846
  {
@@ -7856,9 +7867,9 @@ function N1({ index: e, href: t, title: n, ssr: r }) {
7856
7867
  e
7857
7868
  );
7858
7869
  }
7859
- function iu(e) {
7870
+ function su(e) {
7860
7871
  return console.log("BaseBreadcrumbs", e), e.isLoading ? /* @__PURE__ */ u(fo, { width: 300 }) : /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u(
7861
- Fi,
7872
+ Di,
7862
7873
  {
7863
7874
  sx: { fontSize: "12px", fontFamily: "inherit" },
7864
7875
  separator: /* @__PURE__ */ u(
@@ -7884,7 +7895,7 @@ function iu(e) {
7884
7895
  },
7885
7896
  n
7886
7897
  ) : t.href ? /* @__PURE__ */ u(
7887
- N1,
7898
+ P1,
7888
7899
  {
7889
7900
  index: n,
7890
7901
  href: t.href,
@@ -7908,33 +7919,34 @@ function iu(e) {
7908
7919
  ) });
7909
7920
  }
7910
7921
  export {
7911
- Kr as AutocompleteOption,
7912
- iu as BaseBreadcrumbs,
7913
- nu as BaseCheckbox,
7922
+ Yr as AutocompleteOption,
7923
+ su as BaseBreadcrumbs,
7924
+ ru as BaseCheckbox,
7914
7925
  w1 as CheckedIcon,
7915
- cu as FavoriteMenu,
7916
- lu as GlobalMenu,
7917
- X1 as HomePage,
7918
- uu as IconComponent,
7926
+ uu as FavoriteMenu,
7927
+ au as FileNotFound,
7928
+ du as GlobalMenu,
7929
+ J1 as HomePage,
7930
+ fu as IconComponent,
7919
7931
  as as LanguageDropdown,
7920
- ru as MultiProvider,
7921
- K1 as NoData,
7922
- Z1 as NotFoundPage,
7932
+ ou as MultiProvider,
7933
+ Y1 as NoData,
7934
+ X1 as NotFoundPage,
7923
7935
  C1 as NotificationBase,
7924
- ou as PageNotFound,
7925
- Y1 as PopUpBase,
7926
- Q1 as StyledAutocomplete,
7927
- tu as StyledDateRangePicker,
7928
- U1 as ToastConfig,
7929
- G1 as ToastConfigNotification,
7930
- W1 as TopBar,
7931
- J1 as UnauthorizedPage,
7936
+ iu as PageNotFound,
7937
+ q1 as PopUpBase,
7938
+ eu as StyledAutocomplete,
7939
+ nu as StyledDateRangePicker,
7940
+ G1 as ToastConfig,
7941
+ K1 as ToastConfigNotification,
7942
+ U1 as TopBar,
7943
+ Q1 as UnauthorizedPage,
7932
7944
  S1 as UncheckedIcon,
7933
7945
  ki as notify,
7934
7946
  gi as pushError,
7935
- du as pushSuccess,
7936
- fu as pushWarning,
7937
- hu as updateFavoriteItems,
7938
- q1 as usePopUp,
7939
- eu as useStyledAutocomplete
7947
+ hu as pushSuccess,
7948
+ mu as pushWarning,
7949
+ pu as updateFavoriteItems,
7950
+ Z1 as usePopUp,
7951
+ tu as useStyledAutocomplete
7940
7952
  };