@ukpc-lib/react 0.15.8-sandbox.saas-9173 → 0.15.8

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.
@@ -1,11 +1,11 @@
1
- import di, { jsxs as M, Fragment as ve, jsx as u } from "react/jsx-runtime";
1
+ import fi, { jsxs as M, 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 hi, useState as D, useEffect as J, useRef as ye, useContext as We, useCallback as dt, forwardRef as mi } from "react";
4
+ import { c as Ie, a as ht, _ as pi, b as Jn, d as W, C as nt, t as Le, I as Zr, N as gi, p as yi, L as Qn, u as vi, e as Xr, S as Jr, f as bi, g as xi, Q as Qr, h as Tt, s as er, i as eo, 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 to, z as no, A as Ii, B as Mi, E as ki } from "../index.esm2017-jR6fhPGf.js";
5
+ import { J as lu, G as uu, M as du, F as fu, H as hu, K as mu } from "../index.esm2017-jR6fhPGf.js";
6
+ import { Box as ro, CircularProgress as oo, 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 io, IconButton as Ri, Fade as zi, Paper as Li, Checkbox as Di, Breadcrumbs as Fi } from "@mui/material";
7
7
  import "axios";
8
- import { useParams as Hi, Link as io } from "react-router-dom";
8
+ import { useParams as Hi, Link as ao } from "react-router-dom";
9
9
  import "@r2wc/react-to-web-component";
10
10
  import "react-query";
11
11
  import "react-dom";
@@ -75,7 +75,7 @@ const ji = (e) => {
75
75
  /* @__PURE__ */ u("div", { className: "tab-content", children: t.map((i, a) => /* @__PURE__ */ u("div", { children: e.currentTab === `${i.id}` && /* @__PURE__ */ u("div", { children: i.children }) }, a)) })
76
76
  ] })
77
77
  ] });
78
- }, ao = ({
78
+ }, so = ({
79
79
  baseUrl: e,
80
80
  notiPath: t,
81
81
  setNotiData: n
@@ -170,7 +170,7 @@ process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.We
170
170
  function Yi(e) {
171
171
  var t, n = e.getItemOffset, r = e.getEstimatedTotalSize, o = e.getItemSize, i = e.getOffsetForIndexAndAlignment, a = e.getStartIndexForOffset, c = e.getStopIndexForStartIndex, l = e.initInstanceProps, f = e.shouldResetStyleCacheOnItemSizeChange, d = e.validateProps;
172
172
  return t = /* @__PURE__ */ function(h) {
173
- mi(m, h);
173
+ pi(m, h);
174
174
  function m(g) {
175
175
  var s;
176
176
  return s = h.call(this, g) || this, s._instanceProps = l(s.props, Jn(s)), s._outerRef = void 0, s._resetIsScrollingTimeoutId = null, s.state = {
@@ -366,7 +366,7 @@ function Yi(e) {
366
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
367
  return [Math.max(0, w - I), Math.max(0, Math.min(p - 1, _ + k)), w, _];
368
368
  }, m;
369
- }(fi), t.defaultProps = {
369
+ }(hi), t.defaultProps = {
370
370
  direction: "ltr",
371
371
  itemData: void 0,
372
372
  layout: "vertical",
@@ -424,8 +424,8 @@ var qi = function(t, n) {
424
424
  return a[n];
425
425
  }, Xi = function(t, n, r) {
426
426
  var o = n.itemMetadataMap, i = n.lastMeasuredIndex, a = i > 0 ? o[i].offset : 0;
427
- return a >= r ? so(t, n, i, 0, r) : Ji(t, n, Math.max(0, i), r);
428
- }, so = function(t, n, r, o, i) {
427
+ return a >= r ? co(t, n, i, 0, r) : Ji(t, n, Math.max(0, i), r);
428
+ }, co = function(t, n, r, o, i) {
429
429
  for (; o <= r; ) {
430
430
  var a = o + Math.floor((r - o) / 2), c = Qe(t, a, n).offset;
431
431
  if (c === i)
@@ -436,7 +436,7 @@ var qi = function(t, n) {
436
436
  }, Ji = function(t, n, r, o) {
437
437
  for (var i = t.itemCount, a = 1; r < i && Qe(t, r, n).offset < o; )
438
438
  r += a, a *= 2;
439
- return so(t, n, Math.min(r, i - 1), Math.floor(r / 2), o);
439
+ return co(t, n, Math.min(r, i - 1), Math.floor(r / 2), o);
440
440
  }, cr = 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) {
@@ -445,7 +445,7 @@ var qi = function(t, n) {
445
445
  }
446
446
  var f = r - a - 1, d = f * i;
447
447
  return c + d;
448
- }, co = /* @__PURE__ */ Yi({
448
+ }, lo = /* @__PURE__ */ Yi({
449
449
  getItemOffset: function(t, n, r) {
450
450
  return Qe(t, n, r).offset;
451
451
  },
@@ -507,7 +507,7 @@ const dn = 20, lr = ({
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] = D([]), [m, v] = D(!0), [g, s] = D(!1), [p, b] = D(1), [S, x] = D({}), E = ye(null), { setNotiData: y } = We(nt), w = so({ baseUrl: e, notiPath: t, setNotiData: y }), _ = ye(null), I = dt(async () => {
511
511
  if (!(g || !m)) {
512
512
  s(!0);
513
513
  try {
@@ -543,7 +543,7 @@ const dn = 20, lr = ({
543
543
  }, O = () => {
544
544
  c(!0), C();
545
545
  }, R = ({ style: N }) => /* @__PURE__ */ M(
546
- no,
546
+ ro,
547
547
  {
548
548
  style: N,
549
549
  display: "flex",
@@ -553,7 +553,7 @@ const dn = 20, lr = ({
553
553
  py: 4,
554
554
  className: "notification-loading-item",
555
555
  children: [
556
- /* @__PURE__ */ u(ro, { style: { color: n == null ? void 0 : n.primary500 } }),
556
+ /* @__PURE__ */ u(oo, { style: { color: n == null ? void 0 : n.primary500 } }),
557
557
  /* @__PURE__ */ u(Me, { color: "text.first", variant: "body2", children: "Loading..." })
558
558
  ]
559
559
  }
@@ -588,7 +588,7 @@ const dn = 20, lr = ({
588
588
  return /* @__PURE__ */ u(R, { style: z });
589
589
  const U = d[N];
590
590
  return /* @__PURE__ */ u("div", { style: z, children: /* @__PURE__ */ u(
591
- pi,
591
+ gi,
592
592
  {
593
593
  notification: U,
594
594
  notiPath: t,
@@ -623,7 +623,7 @@ const dn = 20, lr = ({
623
623
  loadMoreItems: I,
624
624
  threshold: 10,
625
625
  children: ({ onItemsRendered: N, ref: z }) => /* @__PURE__ */ u(
626
- co,
626
+ lo,
627
627
  {
628
628
  height: l,
629
629
  itemCount: k,
@@ -774,7 +774,7 @@ function ea({
774
774
  brandColors: r
775
775
  }) {
776
776
  var d, h;
777
- const { isOpen: o, toggleOpen: i, setShowModalFalse: a } = We(nt), { notidata: c, setNotiData: l } = We(nt), f = ao({ baseUrl: t, notiPath: n, setNotiData: l });
777
+ const { isOpen: o, toggleOpen: i, setShowModalFalse: a } = We(nt), { notidata: c, setNotiData: l } = We(nt), f = so({ baseUrl: t, notiPath: n, setNotiData: l });
778
778
  return J(() => {
779
779
  (async () => {
780
780
  var v, g;
@@ -789,7 +789,7 @@ function ea({
789
789
  }
790
790
  }));
791
791
  } catch (s) {
792
- gi(
792
+ yi(
793
793
  ((g = (v = s.response) == null ? void 0 : v.data) == null ? void 0 : g.errorMessage) || "Have error when get notification list"
794
794
  );
795
795
  }
@@ -867,7 +867,7 @@ function ea({
867
867
  ) })
868
868
  ] });
869
869
  }
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}';
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}", uo = '.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
872
  return /* @__PURE__ */ M(
873
873
  "svg",
@@ -937,12 +937,12 @@ function ia(e) {
937
937
  }
938
938
  );
939
939
  }
940
- const aa = Ee.createContext({}), uo = !0;
941
- function sa({ baseColor: e, highlightColor: t, width: n, height: r, borderRadius: o, circle: i, direction: a, duration: c, enableAnimation: l = uo, customHighlightBackground: f }) {
940
+ const aa = Ee.createContext({}), fo = !0;
941
+ function sa({ baseColor: e, highlightColor: t, width: n, height: r, borderRadius: o, circle: i, direction: a, duration: c, enableAnimation: l = fo, customHighlightBackground: f }) {
942
942
  const d = {};
943
943
  return a === "rtl" && (d["--animation-direction"] = "reverse"), typeof c == "number" && (d["--animation-duration"] = `${c}s`), l || (d["--pseudo-element-display"] = "none"), (typeof n == "string" || typeof n == "number") && (d.width = n), (typeof r == "string" || typeof r == "number") && (d.height = r), (typeof o == "string" || typeof o == "number") && (d.borderRadius = o), i && (d.borderRadius = "50%"), typeof e < "u" && (d["--base-color"] = e), typeof t < "u" && (d["--highlight-color"] = t), typeof f == "string" && (d["--custom-highlight-background"] = f), d;
944
944
  }
945
- function fo({ count: e = 1, wrapper: t, className: n, containerClassName: r, containerTestId: o, circle: i = !1, style: a, ...c }) {
945
+ function ho({ count: e = 1, wrapper: t, className: n, containerClassName: r, containerTestId: o, circle: i = !1, style: a, ...c }) {
946
946
  var l, f, d;
947
947
  const h = Ee.useContext(aa), m = { ...c };
948
948
  for (const [x, E] of Object.entries(c))
@@ -972,7 +972,7 @@ function fo({ count: e = 1, wrapper: t, className: n, containerClassName: r, con
972
972
  Ee.createElement("br", null)
973
973
  ));
974
974
  }
975
- return Ee.createElement("span", { className: r, "data-testid": o, "aria-live": "polite", "aria-busy": (d = v.enableAnimation) !== null && d !== void 0 ? d : uo }, t ? b.map((x, E) => Ee.createElement(t, { key: E }, x)) : b);
975
+ return Ee.createElement("span", { className: r, "data-testid": o, "aria-live": "polite", "aria-busy": (d = v.enableAnimation) !== null && d !== void 0 ? d : fo }, t ? b.map((x, E) => Ee.createElement(t, { key: E }, x)) : b);
976
976
  }
977
977
  const ca = '@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:var( --custom-highlight-background, linear-gradient( 90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100% ) );transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}', la = ({
978
978
  baseUrl: e,
@@ -993,7 +993,7 @@ const ca = '@keyframes react-loading-skeleton{to{transform:translate(100%)}}.rea
993
993
  o();
994
994
  }, [e, t]), { hasPermission: n };
995
995
  };
996
- function ho({
996
+ function mo({
997
997
  childrenClass: e,
998
998
  action: t,
999
999
  childrenOpenClass: n
@@ -1050,7 +1050,7 @@ function ua(e) {
1050
1050
  }
1051
1051
  const da = ".languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}";
1052
1052
  function Ne(e) {
1053
- return Array.isArray ? Array.isArray(e) : go(e) === "[object Array]";
1053
+ return Array.isArray ? Array.isArray(e) : yo(e) === "[object Array]";
1054
1054
  }
1055
1055
  function fa(e) {
1056
1056
  if (typeof e == "string")
@@ -1064,17 +1064,17 @@ function ha(e) {
1064
1064
  function ke(e) {
1065
1065
  return typeof e == "string";
1066
1066
  }
1067
- function mo(e) {
1067
+ function po(e) {
1068
1068
  return typeof e == "number";
1069
1069
  }
1070
1070
  function ma(e) {
1071
- return e === !0 || e === !1 || pa(e) && go(e) == "[object Boolean]";
1071
+ return e === !0 || e === !1 || pa(e) && yo(e) == "[object Boolean]";
1072
1072
  }
1073
- function po(e) {
1073
+ function go(e) {
1074
1074
  return typeof e == "object";
1075
1075
  }
1076
1076
  function pa(e) {
1077
- return po(e) && e !== null;
1077
+ return go(e) && e !== null;
1078
1078
  }
1079
1079
  function fe(e) {
1080
1080
  return e != null;
@@ -1082,7 +1082,7 @@ function fe(e) {
1082
1082
  function fn(e) {
1083
1083
  return !e.trim().length;
1084
1084
  }
1085
- function go(e) {
1085
+ function yo(e) {
1086
1086
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
1087
1087
  }
1088
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;
@@ -1091,7 +1091,7 @@ class Sa {
1091
1091
  this._keys = [], this._keyMap = {};
1092
1092
  let n = 0;
1093
1093
  t.forEach((r) => {
1094
- let o = yo(r);
1094
+ let o = vo(r);
1095
1095
  n += o.weight, this._keys.push(o), this._keyMap[o.id] = o, n += o.weight;
1096
1096
  }), this._keys.forEach((r) => {
1097
1097
  r.weight /= n;
@@ -1107,7 +1107,7 @@ class Sa {
1107
1107
  return JSON.stringify(this._keys);
1108
1108
  }
1109
1109
  }
1110
- function yo(e) {
1110
+ function vo(e) {
1111
1111
  let t = null, n = null, r = null, o = 1, i = null;
1112
1112
  if (ke(e) || Ne(e))
1113
1113
  r = e, t = dr(e), n = vn(e);
@@ -1138,7 +1138,7 @@ function wa(e, t) {
1138
1138
  const f = i[l];
1139
1139
  if (!fe(f))
1140
1140
  return;
1141
- if (c === a.length - 1 && (ke(f) || mo(f) || ma(f)))
1141
+ if (c === a.length - 1 && (ke(f) || po(f) || ma(f)))
1142
1142
  n.push(ha(f));
1143
1143
  else if (Ne(f)) {
1144
1144
  r = !0;
@@ -1319,9 +1319,9 @@ class Rn {
1319
1319
  };
1320
1320
  }
1321
1321
  }
1322
- function vo(e, t, { getFn: n = A.getFn, fieldNormWeight: r = A.fieldNormWeight } = {}) {
1322
+ function bo(e, t, { getFn: n = A.getFn, fieldNormWeight: r = A.fieldNormWeight } = {}) {
1323
1323
  const o = new Rn({ getFn: n, fieldNormWeight: r });
1324
- return o.setKeys(e.map(yo)), o.setSources(t), o.create(), o;
1324
+ return o.setKeys(e.map(vo)), o.setSources(t), o.create(), o;
1325
1325
  }
1326
1326
  function ka(e, { getFn: t = A.getFn, fieldNormWeight: n = A.fieldNormWeight } = {}) {
1327
1327
  const { keys: r, records: o } = e, i = new Rn({ getFn: t, fieldNormWeight: n });
@@ -1436,7 +1436,7 @@ function $a(e) {
1436
1436
  }
1437
1437
  return t;
1438
1438
  }
1439
- class bo {
1439
+ class xo {
1440
1440
  constructor(t, {
1441
1441
  location: n = A.location,
1442
1442
  threshold: r = A.threshold,
@@ -1663,7 +1663,7 @@ class Da extends He {
1663
1663
  };
1664
1664
  }
1665
1665
  }
1666
- class xo extends He {
1666
+ class So extends He {
1667
1667
  constructor(t, {
1668
1668
  location: n = A.location,
1669
1669
  threshold: r = A.threshold,
@@ -1674,7 +1674,7 @@ class xo extends He {
1674
1674
  isCaseSensitive: l = A.isCaseSensitive,
1675
1675
  ignoreLocation: f = A.ignoreLocation
1676
1676
  } = {}) {
1677
- super(t), this._bitapSearch = new bo(t, {
1677
+ super(t), this._bitapSearch = new xo(t, {
1678
1678
  location: n,
1679
1679
  threshold: r,
1680
1680
  distance: o,
@@ -1698,7 +1698,7 @@ class xo extends He {
1698
1698
  return this._bitapSearch.searchIn(t);
1699
1699
  }
1700
1700
  }
1701
- class So extends He {
1701
+ class wo extends He {
1702
1702
  constructor(t) {
1703
1703
  super(t);
1704
1704
  }
@@ -1726,13 +1726,13 @@ class So extends He {
1726
1726
  }
1727
1727
  const bn = [
1728
1728
  Na,
1729
- So,
1729
+ wo,
1730
1730
  Ra,
1731
1731
  za,
1732
1732
  Da,
1733
1733
  La,
1734
1734
  Pa,
1735
- xo
1735
+ So
1736
1736
  ], hr = bn.length, Fa = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Ha = "|";
1737
1737
  function ja(e, t = {}) {
1738
1738
  return e.split(Ha).map((n) => {
@@ -1758,7 +1758,7 @@ function ja(e, t = {}) {
1758
1758
  return o;
1759
1759
  });
1760
1760
  }
1761
- const Ba = /* @__PURE__ */ new Set([xo.type, So.type]);
1761
+ const Ba = /* @__PURE__ */ new Set([So.type, wo.type]);
1762
1762
  class Va {
1763
1763
  constructor(t, {
1764
1764
  isCaseSensitive: n = A.isCaseSensitive,
@@ -1833,7 +1833,7 @@ function Sn(e, t) {
1833
1833
  if (o.condition(e, t))
1834
1834
  return new o(e, t);
1835
1835
  }
1836
- return new bo(e, t);
1836
+ return new xo(e, t);
1837
1837
  }
1838
1838
  const Ft = {
1839
1839
  AND: "$and",
@@ -1841,12 +1841,12 @@ const Ft = {
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) => ({
1844
+ }, _n = (e) => !!(e[Ft.AND] || e[Ft.OR]), Ua = (e) => !!e[wn.PATH], Ga = (e) => !Ne(e) && go(e) && !_n(e), mr = (e) => ({
1845
1845
  [Ft.AND]: Object.keys(e).map((t) => ({
1846
1846
  [t]: e[t]
1847
1847
  }))
1848
1848
  });
1849
- function wo(e, t, { auto: n = !0 } = {}) {
1849
+ function _o(e, t, { auto: n = !0 } = {}) {
1850
1850
  const r = (o) => {
1851
1851
  let i = Object.keys(o);
1852
1852
  const a = Ua(o);
@@ -1925,7 +1925,7 @@ class ot {
1925
1925
  setCollection(t, n) {
1926
1926
  if (this._docs = t, n && !(n instanceof Rn))
1927
1927
  throw new Error(ga);
1928
- this._myIndex = n || vo(this.options.keys, this._docs, {
1928
+ this._myIndex = n || bo(this.options.keys, this._docs, {
1929
1929
  getFn: this.options.getFn,
1930
1930
  fieldNormWeight: this.options.fieldNormWeight
1931
1931
  });
@@ -1956,7 +1956,7 @@ class ot {
1956
1956
  ignoreFieldNorm: c
1957
1957
  } = this.options;
1958
1958
  let l = ke(t) ? ke(this._docs[0]) ? this._searchStringList(t) : this._searchObjectList(t) : this._searchLogical(t);
1959
- return Ka(l, { ignoreFieldNorm: c }), i && l.sort(a), mo(n) && n > -1 && (l = l.slice(0, n)), Za(l, this._docs, {
1959
+ return Ka(l, { ignoreFieldNorm: c }), i && l.sort(a), po(n) && n > -1 && (l = l.slice(0, n)), Za(l, this._docs, {
1960
1960
  includeMatches: r,
1961
1961
  includeScore: o
1962
1962
  });
@@ -1975,7 +1975,7 @@ class ot {
1975
1975
  }), o;
1976
1976
  }
1977
1977
  _searchLogical(t) {
1978
- const n = wo(t, this.options), r = (c, l, f) => {
1978
+ const n = _o(t, this.options), r = (c, l, f) => {
1979
1979
  if (!c.children) {
1980
1980
  const { keyId: h, searcher: m } = c, v = this._findMatches({
1981
1981
  key: this._keyStore.get(h),
@@ -2056,10 +2056,10 @@ class ot {
2056
2056
  }
2057
2057
  }
2058
2058
  ot.version = "6.6.2";
2059
- ot.createIndex = vo;
2059
+ ot.createIndex = bo;
2060
2060
  ot.parseIndex = ka;
2061
2061
  ot.config = A;
2062
- ot.parseQuery = wo;
2062
+ ot.parseQuery = _o;
2063
2063
  Wa(Va);
2064
2064
  const pr = {
2065
2065
  shouldSort: !0,
@@ -2443,13 +2443,13 @@ function is({ classNames: e = "", ...t }) {
2443
2443
  ] })
2444
2444
  ] }) : /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u("div", { dangerouslySetInnerHTML: { __html: C.name } }) });
2445
2445
  return /* @__PURE__ */ M(
2446
- Xr,
2446
+ Jr,
2447
2447
  {
2448
2448
  styles: [
2449
2449
  ta,
2450
2450
  // tabStyles,
2451
2451
  ra,
2452
- lo,
2452
+ uo,
2453
2453
  oa,
2454
2454
  ca,
2455
2455
  na
@@ -2537,7 +2537,7 @@ function is({ classNames: e = "", ...t }) {
2537
2537
  width: t.isFetching ? "100px" : "auto"
2538
2538
  },
2539
2539
  children: t.isFetching ? /* @__PURE__ */ u(
2540
- fo,
2540
+ ho,
2541
2541
  {
2542
2542
  baseColor: "#ebebeb26",
2543
2543
  highlightColor: "#f5f5f57d",
@@ -2576,9 +2576,9 @@ function as() {
2576
2576
  }
2577
2577
  ], [t, n] = D(!1), [r, o] = D(
2578
2578
  new Array(e.length).fill(!1)
2579
- ), { language: i, setLanguage: a } = yi();
2579
+ ), { language: i, setLanguage: a } = vi();
2580
2580
  J(() => {
2581
- ho({
2581
+ mo({
2582
2582
  childrenClass: "languageDropdown",
2583
2583
  action() {
2584
2584
  n(!1);
@@ -2615,7 +2615,7 @@ function ss({
2615
2615
  ye(null);
2616
2616
  const [i, a] = D(!1), [c, l] = D(!1);
2617
2617
  return J(() => {
2618
- ho({
2618
+ mo({
2619
2619
  childrenClass: "userAvatar",
2620
2620
  action() {
2621
2621
  r(!1);
@@ -2642,7 +2642,7 @@ function ss({
2642
2642
  ) }) });
2643
2643
  }
2644
2644
  function W1(e) {
2645
- const { user: t, logout: n, isFetching: r } = vi();
2645
+ const { user: t, logout: n, isFetching: r } = Xr();
2646
2646
  return /* @__PURE__ */ u(
2647
2647
  is,
2648
2648
  {
@@ -2654,19 +2654,19 @@ function W1(e) {
2654
2654
  );
2655
2655
  }
2656
2656
  const U1 = (e) => /* @__PURE__ */ u(
2657
- Jr,
2657
+ Qr,
2658
2658
  {
2659
2659
  autoClose: 3e3,
2660
2660
  hideProgressBar: !0,
2661
2661
  closeButton: !1,
2662
- position: "bottom-left",
2662
+ position: "top-right",
2663
2663
  newestOnTop: !0,
2664
2664
  pauseOnFocusLoss: !1,
2665
2665
  style: { fontFamily: "inherit" },
2666
2666
  ...e
2667
2667
  }
2668
2668
  ), G1 = (e) => /* @__PURE__ */ u(
2669
- Jr,
2669
+ Qr,
2670
2670
  {
2671
2671
  autoClose: 3e3,
2672
2672
  hideProgressBar: !0,
@@ -3106,14 +3106,14 @@ function Z1({ rootPath: e }) {
3106
3106
  children: [
3107
3107
  /* @__PURE__ */ u("h1", { children: "404 - Not Found" }),
3108
3108
  /* @__PURE__ */ u("p", { children: "Sorry, the page you are looking for does not exist." }),
3109
- /* @__PURE__ */ u(no, { height: "16px" }),
3110
- /* @__PURE__ */ u(io, { to: e, children: /* @__PURE__ */ u(yn, { variant: "contained", color: "primary", children: "Go to Home" }) })
3109
+ /* @__PURE__ */ u(ro, { height: "16px" }),
3110
+ /* @__PURE__ */ u(ao, { to: e, children: /* @__PURE__ */ u(yn, { variant: "contained", color: "primary", children: "Go to Home" }) })
3111
3111
  ]
3112
3112
  }
3113
3113
  );
3114
3114
  }
3115
3115
  function X1() {
3116
- const { colors: e } = Qr();
3116
+ const { colors: e } = eo();
3117
3117
  return /* @__PURE__ */ u(
3118
3118
  "div",
3119
3119
  {
@@ -3240,12 +3240,12 @@ function ze(e) {
3240
3240
  const t = Object.getPrototypeOf(e);
3241
3241
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3242
3242
  }
3243
- function _o(e) {
3243
+ function Eo(e) {
3244
3244
  if (/* @__PURE__ */ $.isValidElement(e) || !ze(e))
3245
3245
  return e;
3246
3246
  const t = {};
3247
3247
  return Object.keys(e).forEach((n) => {
3248
- t[n] = _o(e[n]);
3248
+ t[n] = Eo(e[n]);
3249
3249
  }), t;
3250
3250
  }
3251
3251
  function Oe(e, t, n = {
@@ -3254,7 +3254,7 @@ function Oe(e, t, n = {
3254
3254
  const r = n.clone ? W({}, e) : e;
3255
3255
  return ze(e) && ze(t) && Object.keys(t).forEach((o) => {
3256
3256
  /* @__PURE__ */ $.isValidElement(t[o]) ? r[o] = t[o] : ze(t[o]) && // Avoid prototype pollution
3257
- Object.prototype.hasOwnProperty.call(e, o) && ze(e[o]) ? r[o] = Oe(e[o], t[o], n) : n.clone ? r[o] = ze(t[o]) ? _o(t[o]) : t[o] : r[o] = t[o];
3257
+ Object.prototype.hasOwnProperty.call(e, o) && ze(e[o]) ? r[o] = Oe(e[o], t[o], n) : n.clone ? r[o] = ze(t[o]) ? Eo(t[o]) : t[o] : r[o] = t[o];
3258
3258
  }), r;
3259
3259
  }
3260
3260
  const hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3422,15 +3422,15 @@ function gs() {
3422
3422
  process.env.NODE_ENV === "production" ? Cn.exports = ps() : Cn.exports = gs();
3423
3423
  var br = Cn.exports;
3424
3424
  const ys = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
3425
- function Eo(e) {
3425
+ function Co(e) {
3426
3426
  const t = `${e}`.match(ys);
3427
3427
  return t && t[1] || "";
3428
3428
  }
3429
- function Co(e, t = "") {
3430
- return e.displayName || e.name || Eo(e) || t;
3429
+ function To(e, t = "") {
3430
+ return e.displayName || e.name || Co(e) || t;
3431
3431
  }
3432
3432
  function xr(e, t, n) {
3433
- const r = Co(t);
3433
+ const r = To(t);
3434
3434
  return e.displayName || (r !== "" ? `${n}(${r})` : n);
3435
3435
  }
3436
3436
  function vs(e) {
@@ -3438,7 +3438,7 @@ function vs(e) {
3438
3438
  if (typeof e == "string")
3439
3439
  return e;
3440
3440
  if (typeof e == "function")
3441
- return Co(e, "Component");
3441
+ return To(e, "Component");
3442
3442
  if (typeof e == "object")
3443
3443
  switch (e.$$typeof) {
3444
3444
  case br.ForwardRef:
@@ -3453,7 +3453,7 @@ function vs(e) {
3453
3453
  const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3454
3454
  __proto__: null,
3455
3455
  default: vs,
3456
- getFunctionName: Eo
3456
+ getFunctionName: Co
3457
3457
  }, Symbol.toStringTag, { value: "Module" }));
3458
3458
  function De(e) {
3459
3459
  if (typeof e != "string")
@@ -3497,11 +3497,11 @@ function Es(e, t) {
3497
3497
  (n = e.type.muiName) != null ? n : (r = e.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
3498
3498
  ) !== -1;
3499
3499
  }
3500
- function To(e) {
3500
+ function Io(e) {
3501
3501
  return e && e.ownerDocument || document;
3502
3502
  }
3503
3503
  function Cs(e) {
3504
- return To(e).defaultView || window;
3504
+ return Io(e).defaultView || window;
3505
3505
  }
3506
3506
  function Ts(e, t) {
3507
3507
  if (process.env.NODE_ENV === "production")
@@ -3517,10 +3517,10 @@ function Ts(e, t) {
3517
3517
  return typeof i[a] < "u" && !i[o] ? new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
3518
3518
  };
3519
3519
  }
3520
- function Io(e, t) {
3520
+ function Mo(e, t) {
3521
3521
  typeof e == "function" ? e(t) : e && (e.current = t);
3522
3522
  }
3523
- const Mo = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
3523
+ const ko = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
3524
3524
  let Sr = 0;
3525
3525
  function Is(e) {
3526
3526
  const [t, n] = $.useState(e), r = e || t;
@@ -3571,7 +3571,7 @@ function Os({
3571
3571
  }
3572
3572
  function As(e) {
3573
3573
  const t = $.useRef(e);
3574
- return Mo(() => {
3574
+ return ko(() => {
3575
3575
  t.current = e;
3576
3576
  }), $.useRef((...n) => (
3577
3577
  // @ts-expect-error hide `this`
@@ -3581,7 +3581,7 @@ function As(e) {
3581
3581
  function $s(...e) {
3582
3582
  return $.useMemo(() => e.every((t) => t == null) ? null : (t) => {
3583
3583
  e.forEach((n) => {
3584
- Io(n, t);
3584
+ Mo(n, t);
3585
3585
  });
3586
3586
  }, e);
3587
3587
  }
@@ -3710,7 +3710,7 @@ const _r = (e) => e, Bs = () => {
3710
3710
  e = _r;
3711
3711
  }
3712
3712
  };
3713
- }, ko = Bs(), Vs = {
3713
+ }, Oo = Bs(), Vs = {
3714
3714
  active: "active",
3715
3715
  checked: "checked",
3716
3716
  completed: "completed",
@@ -3726,7 +3726,7 @@ const _r = (e) => e, Bs = () => {
3726
3726
  };
3727
3727
  function Ln(e, t, n = "Mui") {
3728
3728
  const r = Vs[t];
3729
- return r ? `${n}-${r}` : `${ko.generate(e)}-${t}`;
3729
+ return r ? `${n}-${r}` : `${Oo.generate(e)}-${t}`;
3730
3730
  }
3731
3731
  function Ws(e, t, n = "Mui") {
3732
3732
  const r = {};
@@ -3770,7 +3770,7 @@ process.env.NODE_ENV !== "production" && (P.node, P.object.isRequired);
3770
3770
  function Zs(e) {
3771
3771
  return qs(e);
3772
3772
  }
3773
- var bt = {}, Oo = { exports: {} };
3773
+ var bt = {}, Ao = { exports: {} };
3774
3774
  (function(e) {
3775
3775
  function t(n) {
3776
3776
  return n && n.__esModule ? n : {
@@ -3778,8 +3778,8 @@ var bt = {}, Oo = { exports: {} };
3778
3778
  };
3779
3779
  }
3780
3780
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
3781
- })(Oo);
3782
- var Dn = Oo.exports;
3781
+ })(Ao);
3782
+ var Dn = Ao.exports;
3783
3783
  const Xs = /* @__PURE__ */ we(wi), Js = /* @__PURE__ */ we(_i);
3784
3784
  function Qs(e) {
3785
3785
  if (e.sheet)
@@ -3821,11 +3821,11 @@ 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-", $o = "comm", Fn = "rule", Hn = "decl", nc = "@import", No = "@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
  }
3828
- function No(e) {
3828
+ function Po(e) {
3829
3829
  return e.trim();
3830
3830
  }
3831
3831
  function sc(e, t) {
@@ -3855,7 +3855,7 @@ function kt(e, t) {
3855
3855
  function cc(e, t) {
3856
3856
  return e.map(t).join("");
3857
3857
  }
3858
- var Kt = 1, rt = 1, Po = 0, le = 0, ne = 0, it = "";
3858
+ var Kt = 1, rt = 1, Ro = 0, le = 0, ne = 0, it = "";
3859
3859
  function Yt(e, t, n, r, o, i, a) {
3860
3860
  return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Kt, column: rt, length: a, return: "" };
3861
3861
  }
@@ -3869,7 +3869,7 @@ function uc() {
3869
3869
  return ne = le > 0 ? oe(it, --le) : 0, rt--, ne === 10 && (rt = 1, Kt--), ne;
3870
3870
  }
3871
3871
  function me() {
3872
- return ne = le < Po ? oe(it, le++) : 0, rt++, ne === 10 && (rt = 1, Kt++), ne;
3872
+ return ne = le < Ro ? oe(it, le++) : 0, rt++, ne === 10 && (rt = 1, Kt++), ne;
3873
3873
  }
3874
3874
  function Ae() {
3875
3875
  return oe(it, le);
@@ -3912,14 +3912,14 @@ function gt(e) {
3912
3912
  }
3913
3913
  return 0;
3914
3914
  }
3915
- function Ro(e) {
3916
- return Kt = rt = 1, Po = Ce(it = e), le = 0, [];
3917
- }
3918
3915
  function zo(e) {
3916
+ return Kt = rt = 1, Ro = Ce(it = e), le = 0, [];
3917
+ }
3918
+ function Lo(e) {
3919
3919
  return it = "", e;
3920
3920
  }
3921
3921
  function Rt(e) {
3922
- return No(xt(le - 1, kn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
3922
+ return Po(xt(le - 1, kn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
3923
3923
  }
3924
3924
  function dc(e) {
3925
3925
  for (; (ne = Ae()) && ne < 33; )
@@ -3961,7 +3961,7 @@ function mc(e) {
3961
3961
  return xt(e, le);
3962
3962
  }
3963
3963
  function pc(e) {
3964
- return zo(zt("", null, null, null, [""], e = Ro(e), 0, [0], e));
3964
+ return Lo(zt("", null, null, null, [""], e = zo(e), 0, [0], e));
3965
3965
  }
3966
3966
  function zt(e, t, n, r, o, i, a, c, l) {
3967
3967
  for (var f = 0, d = 0, h = a, m = 0, v = 0, g = 0, s = 1, p = 1, b = 1, S = 0, x = "", E = o, y = i, w = r, _ = x; p; )
@@ -4055,11 +4055,11 @@ function zt(e, t, n, r, o, i, a, c, l) {
4055
4055
  function Er(e, t, n, r, o, i, a, c, l, f, d) {
4056
4056
  for (var h = o - 1, m = o === 0 ? i : [""], v = jn(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
- (x = No(s > 0 ? m[b] + " " + S : j(S, /&\f/g, m[b]))) && (l[p++] = x);
4058
+ (x = Po(s > 0 ? m[b] + " " + S : j(S, /&\f/g, m[b]))) && (l[p++] = x);
4059
4059
  return Yt(e, t, n, o === 0 ? Fn : c, l, f, d);
4060
4060
  }
4061
4061
  function gc(e, t, n) {
4062
- return Yt(e, t, n, Ao, Gt(lc()), pt(e, 2, -2), 0);
4062
+ return Yt(e, t, n, $o, Gt(lc()), pt(e, 2, -2), 0);
4063
4063
  }
4064
4064
  function Cr(e, t, n, r) {
4065
4065
  return Yt(e, t, n, Hn, pt(e, 0, r), pt(e, r + 1, -1), r);
@@ -4077,9 +4077,9 @@ function yc(e, t, n, r) {
4077
4077
  case nc:
4078
4078
  case Hn:
4079
4079
  return e.return = e.return || e.value;
4080
- case Ao:
4081
- return "";
4082
4080
  case $o:
4081
+ return "";
4082
+ case No:
4083
4083
  return e.return = e.value + "{" + et(e.children, r) + "}";
4084
4084
  case Fn:
4085
4085
  e.value = e.props.join(",");
@@ -4099,7 +4099,7 @@ function bc(e) {
4099
4099
  t.root || (t = t.return) && e(t);
4100
4100
  };
4101
4101
  }
4102
- function Lo(e) {
4102
+ function Do(e) {
4103
4103
  var t = /* @__PURE__ */ Object.create(null);
4104
4104
  return function(n) {
4105
4105
  return t[n] === void 0 && (t[n] = e(n)), t[n];
@@ -4130,7 +4130,7 @@ var xc = function(t, n, r) {
4130
4130
  while (o = me());
4131
4131
  return t;
4132
4132
  }, wc = function(t, n) {
4133
- return zo(Sc(Ro(t), n));
4133
+ return Lo(Sc(zo(t), n));
4134
4134
  }, Tr = /* @__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
@@ -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:
@@ -4271,9 +4271,9 @@ var Cc = function(t, n, r, o) {
4271
4271
  if (t.length > -1 && !t.return)
4272
4272
  switch (t.type) {
4273
4273
  case Hn:
4274
- t.return = Do(t.value, t.length);
4274
+ t.return = Fo(t.value, t.length);
4275
4275
  break;
4276
- case $o:
4276
+ case No:
4277
4277
  return et([lt(t, {
4278
4278
  value: j(t.value, "@", "@" + H)
4279
4279
  })], o);
@@ -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], Ho = 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])");
@@ -4514,7 +4514,7 @@ function Mc() {
4514
4514
  }()), V;
4515
4515
  }
4516
4516
  process.env.NODE_ENV === "production" ? On.exports = Ic() : On.exports = Mc();
4517
- var kc = On.exports, Ho = kc, Oc = {
4517
+ var kc = On.exports, jo = kc, Oc = {
4518
4518
  $$typeof: !0,
4519
4519
  render: !0,
4520
4520
  defaultProps: !0,
@@ -4527,11 +4527,11 @@ var kc = On.exports, Ho = kc, Oc = {
4527
4527
  displayName: !0,
4528
4528
  propTypes: !0,
4529
4529
  type: !0
4530
- }, jo = {};
4531
- jo[Ho.ForwardRef] = Oc;
4532
- jo[Ho.Memo] = Ac;
4530
+ }, Bo = {};
4531
+ Bo[jo.ForwardRef] = Oc;
4532
+ Bo[jo.Memo] = Ac;
4533
4533
  var $c = !0;
4534
- function Bo(e, t, n) {
4534
+ function Vo(e, t, n) {
4535
4535
  var r = "";
4536
4536
  return n.split(" ").forEach(function(o) {
4537
4537
  e[o] !== void 0 ? t.push(e[o] + ";") : o && (r += o + " ");
@@ -4627,12 +4627,12 @@ var Pc = {
4627
4627
  strokeMiterlimit: 1,
4628
4628
  strokeOpacity: 1,
4629
4629
  strokeWidth: 1
4630
- }, Rc = /[A-Z]|^ms/g, zc = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Vo = function(t) {
4630
+ }, Rc = /[A-Z]|^ms/g, zc = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wo = function(t) {
4631
4631
  return t.charCodeAt(1) === 45;
4632
4632
  }, kr = function(t) {
4633
4633
  return t != null && typeof t != "boolean";
4634
- }, mn = /* @__PURE__ */ Lo(function(e) {
4635
- return Vo(e) ? e : e.replace(Rc, "-$&").toLowerCase();
4634
+ }, mn = /* @__PURE__ */ Do(function(e) {
4635
+ return Wo(e) ? e : e.replace(Rc, "-$&").toLowerCase();
4636
4636
  }), Or = function(t, n) {
4637
4637
  switch (t) {
4638
4638
  case "animation":
@@ -4646,7 +4646,7 @@ var Pc = {
4646
4646
  }, o;
4647
4647
  });
4648
4648
  }
4649
- return Pc[t] !== 1 && !Vo(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
4649
+ return Pc[t] !== 1 && !Wo(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
4650
4650
  };
4651
4651
  function yt(e, t, n) {
4652
4652
  if (n == null)
@@ -4753,19 +4753,19 @@ function qt(e, t, n) {
4753
4753
  }
4754
4754
  var Dc = function(t) {
4755
4755
  return t();
4756
- }, Wo = $.useInsertionEffect ? $.useInsertionEffect : !1, Uo = Wo || Dc, $r = Wo || $.useLayoutEffect, Go = /* @__PURE__ */ $.createContext(
4756
+ }, Uo = $.useInsertionEffect ? $.useInsertionEffect : !1, Go = Uo || Dc, $r = Uo || $.useLayoutEffect, Ko = /* @__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__ */ Ho({
4764
4764
  key: "css"
4765
4765
  }) : null
4766
- ), Fc = Go.Provider, Wn = function(t) {
4767
- return /* @__PURE__ */ hi(function(n, r) {
4768
- var o = We(Go);
4766
+ ), Fc = Ko.Provider, Wn = function(t) {
4767
+ return /* @__PURE__ */ mi(function(n, r) {
4768
+ var o = We(Ko);
4769
4769
  return t(n, o, r);
4770
4770
  });
4771
4771
  }, Zt = /* @__PURE__ */ $.createContext({}), Un = {}.hasOwnProperty, An = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hc = function(t, n) {
@@ -4775,14 +4775,14 @@ var Dc = function(t) {
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() {
4778
+ return Bn(n, r, o), Go(function() {
4779
4779
  return Vn(n, r, o);
4780
4780
  }), null;
4781
4781
  }, Bc = /* @__PURE__ */ Wn(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 = "";
4785
- typeof e.className == "string" ? a = Bo(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
4785
+ typeof e.className == "string" ? a = Vo(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
4786
4786
  var c = qt(i, void 0, $.useContext(Zt));
4787
4787
  a += t.key + "-" + c.name;
4788
4788
  var l = {};
@@ -4832,13 +4832,13 @@ var Wc = /* @__PURE__ */ Wn(function(e, t) {
4832
4832
  t.insert("", r, a, !1);
4833
4833
  }, [t, r.name]), null;
4834
4834
  });
4835
- function Ko() {
4835
+ function Yo() {
4836
4836
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
4837
4837
  t[n] = arguments[n];
4838
4838
  return qt(t);
4839
4839
  }
4840
4840
  function Uc() {
4841
- var e = Ko.apply(void 0, arguments), t = "animation-" + e.name;
4841
+ var e = Yo.apply(void 0, arguments), t = "animation-" + e.name;
4842
4842
  return {
4843
4843
  name: t,
4844
4844
  styles: "@keyframes " + t + "{" + e.styles + "}",
@@ -4848,7 +4848,7 @@ function Uc() {
4848
4848
  }
4849
4849
  };
4850
4850
  }
4851
- var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Kc = /* @__PURE__ */ Lo(
4851
+ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Kc = /* @__PURE__ */ Do(
4852
4852
  function(e) {
4853
4853
  return Gc.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
4854
4854
  }
@@ -4871,7 +4871,7 @@ 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() {
4874
+ return Bn(n, r, o), Go(function() {
4875
4875
  return Vn(n, r, o);
4876
4876
  }), null;
4877
4877
  }, Xc = function e(t, n) {
@@ -4896,7 +4896,7 @@ var Gc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
4896
4896
  w[_] = p[_];
4897
4897
  w.theme = $.useContext(Zt);
4898
4898
  }
4899
- typeof p.className == "string" ? E = Bo(b.registered, y, p.className) : p.className != null && (E = p.className + " ");
4899
+ typeof p.className == "string" ? E = Vo(b.registered, y, p.className) : p.className != null && (E = p.className + " ");
4900
4900
  var I = qt(h.concat(y), b.registered, w);
4901
4901
  E += b.key + "-" + I.name, a !== void 0 && (E += " " + a);
4902
4902
  var k = f && c === void 0 ? Pr(x) : l, L = {};
@@ -5060,11 +5060,11 @@ 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 = Ho({
5064
5064
  key: "css",
5065
5065
  prepend: !0
5066
5066
  }));
5067
- function Yo(e) {
5067
+ function qo(e) {
5068
5068
  const {
5069
5069
  injectFirst: t,
5070
5070
  children: n
@@ -5074,7 +5074,7 @@ function Yo(e) {
5074
5074
  children: n
5075
5075
  }) : n;
5076
5076
  }
5077
- process.env.NODE_ENV !== "production" && (Yo.propTypes = {
5077
+ process.env.NODE_ENV !== "production" && (qo.propTypes = {
5078
5078
  /**
5079
5079
  * Your component tree.
5080
5080
  */
@@ -5089,7 +5089,7 @@ process.env.NODE_ENV !== "production" && (Yo.propTypes = {
5089
5089
  function Qc(e) {
5090
5090
  return e == null || Object.keys(e).length === 0;
5091
5091
  }
5092
- function qo(e) {
5092
+ function Zo(e) {
5093
5093
  const {
5094
5094
  styles: t,
5095
5095
  defaultTheme: n = {}
@@ -5098,7 +5098,7 @@ function qo(e) {
5098
5098
  styles: typeof t == "function" ? (o) => t(Qc(o) ? n : o) : t
5099
5099
  });
5100
5100
  }
5101
- process.env.NODE_ENV !== "production" && (qo.propTypes = {
5101
+ process.env.NODE_ENV !== "production" && (Zo.propTypes = {
5102
5102
  defaultTheme: P.object,
5103
5103
  styles: P.oneOfType([P.array, P.string, P.object, P.func])
5104
5104
  });
@@ -5121,10 +5121,10 @@ const tl = (e, t) => {
5121
5121
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
5122
5122
  }, nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5123
5123
  __proto__: null,
5124
- GlobalStyles: qo,
5125
- StyledEngineProvider: Yo,
5124
+ GlobalStyles: Zo,
5125
+ StyledEngineProvider: qo,
5126
5126
  ThemeContext: Zt,
5127
- css: Ko,
5127
+ css: Yo,
5128
5128
  default: el,
5129
5129
  internal_processStyles: tl,
5130
5130
  keyframes: Uc
@@ -5137,7 +5137,7 @@ const tl = (e, t) => {
5137
5137
  [r.key]: r.val
5138
5138
  }), {});
5139
5139
  };
5140
- function Zo(e) {
5140
+ function Xo(e) {
5141
5141
  const {
5142
5142
  // The breakpoint **start** at this value.
5143
5143
  // For instance with the first breakpoint xs: [xs, sm).
@@ -5316,7 +5316,7 @@ function St(e, t, n, r) {
5316
5316
  `)), () => {
5317
5317
  });
5318
5318
  }
5319
- function Xo(e) {
5319
+ function Jo(e) {
5320
5320
  return St(e, "spacing", 8, "spacing");
5321
5321
  }
5322
5322
  function wt(e, t) {
@@ -5334,17 +5334,17 @@ function vl(e, t, n, r) {
5334
5334
  const o = pl(n), i = yl(o, r), a = e[n];
5335
5335
  return Pe(e, a, i);
5336
5336
  }
5337
- function Jo(e, t) {
5338
- const n = Xo(e.theme);
5337
+ function Qo(e, t) {
5338
+ const n = Jo(e.theme);
5339
5339
  return Object.keys(e).map((r) => vl(e, t, r, n)).reduce(ft, {});
5340
5340
  }
5341
5341
  function Z(e) {
5342
- return Jo(e, Jt);
5342
+ return Qo(e, Jt);
5343
5343
  }
5344
5344
  Z.propTypes = process.env.NODE_ENV !== "production" ? Jt.reduce((e, t) => (e[t] = je, e), {}) : {};
5345
5345
  Z.filterProps = Jt;
5346
5346
  function X(e) {
5347
- return Jo(e, Qt);
5347
+ return Qo(e, Qt);
5348
5348
  }
5349
5349
  X.propTypes = process.env.NODE_ENV !== "production" ? Qt.reduce((e, t) => (e[t] = je, e), {}) : {};
5350
5350
  X.filterProps = Qt;
@@ -5352,7 +5352,7 @@ process.env.NODE_ENV !== "production" && gl.reduce((e, t) => (e[t] = je, e), {})
5352
5352
  function bl(e = 8) {
5353
5353
  if (e.mui)
5354
5354
  return e;
5355
- const t = Xo({
5355
+ const t = Jo({
5356
5356
  spacing: e
5357
5357
  }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => {
5358
5358
  const a = t(i);
@@ -5810,7 +5810,7 @@ function Zl(...e) {
5810
5810
  function Xl(e, t) {
5811
5811
  return typeof e == "function" ? e(t) : e;
5812
5812
  }
5813
- function Qo() {
5813
+ function ei() {
5814
5814
  function e(n, r, o, i) {
5815
5815
  const a = {
5816
5816
  [n]: r,
@@ -5884,22 +5884,22 @@ function Qo() {
5884
5884
  }
5885
5885
  return t;
5886
5886
  }
5887
- const an = Qo();
5887
+ const an = ei();
5888
5888
  an.filterProps = ["sx"];
5889
- function ei(e, t) {
5889
+ function ti(e, t) {
5890
5890
  const n = this;
5891
5891
  return n.vars && typeof n.getColorSchemeSelector == "function" ? {
5892
5892
  [n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
5893
5893
  } : n.palette.mode === e ? t : {};
5894
5894
  }
5895
5895
  const Jl = ["breakpoints", "palette", "spacing", "shape"];
5896
- function ti(e = {}, ...t) {
5896
+ function ni(e = {}, ...t) {
5897
5897
  const {
5898
5898
  breakpoints: n = {},
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 = Fe(e, Jl), c = Xo(n), l = bl(o);
5903
5903
  let f = Oe({
5904
5904
  breakpoints: c,
5905
5905
  direction: "ltr",
@@ -5911,7 +5911,7 @@ function ti(e = {}, ...t) {
5911
5911
  spacing: l,
5912
5912
  shape: W({}, ll, i)
5913
5913
  }, a);
5914
- return f.applyStyles = ei, f = t.reduce((d, h) => Oe(d, h), f), f.unstable_sxConfig = W({}, _t, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
5914
+ return f.applyStyles = ti, f = t.reduce((d, h) => Oe(d, h), f), f.unstable_sxConfig = W({}, _t, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
5915
5915
  return an({
5916
5916
  sx: h,
5917
5917
  theme: this
@@ -5920,9 +5920,9 @@ function ti(e = {}, ...t) {
5920
5920
  }
5921
5921
  const Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5922
5922
  __proto__: null,
5923
- default: ti,
5924
- private_createBreakpoints: Zo,
5925
- unstable_applyStyles: ei
5923
+ default: ni,
5924
+ private_createBreakpoints: Xo,
5925
+ unstable_applyStyles: ti
5926
5926
  }, Symbol.toStringTag, { value: "Module" })), e0 = /* @__PURE__ */ we(Ql), t0 = ["sx"], n0 = (e) => {
5927
5927
  var t, n;
5928
5928
  const r = {
@@ -5952,7 +5952,7 @@ const o0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5952
5952
  __proto__: null,
5953
5953
  default: an,
5954
5954
  extendSxProp: r0,
5955
- unstable_createStyleFunctionSx: Qo,
5955
+ unstable_createStyleFunctionSx: ei,
5956
5956
  unstable_defaultSxConfig: _t
5957
5957
  }, Symbol.toStringTag, { value: "Module" })), i0 = /* @__PURE__ */ we(o0);
5958
5958
  var at = Dn;
@@ -5964,11 +5964,11 @@ bt.shouldForwardProp = Lt;
5964
5964
  bt.systemDefaultTheme = void 0;
5965
5965
  var pe = at(Xs), Pn = at(Js), Dr = p0(rl), s0 = ol, c0 = at(il), l0 = at(al), u0 = at(e0), d0 = at(i0);
5966
5966
  const f0 = ["ownerState"], h0 = ["variants"], m0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
5967
- function ni(e) {
5967
+ function ri(e) {
5968
5968
  if (typeof WeakMap != "function")
5969
5969
  return null;
5970
5970
  var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
5971
- return (ni = function(r) {
5971
+ return (ri = function(r) {
5972
5972
  return r ? n : t;
5973
5973
  })(e);
5974
5974
  }
@@ -5977,7 +5977,7 @@ function p0(e, t) {
5977
5977
  return e;
5978
5978
  if (e === null || typeof e != "object" && typeof e != "function")
5979
5979
  return { default: e };
5980
- var n = ni(t);
5980
+ var n = ri(t);
5981
5981
  if (n && n.has(e))
5982
5982
  return n.get(e);
5983
5983
  var r = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -6140,20 +6140,20 @@ function S0(e, t) {
6140
6140
  }
6141
6141
  var ee = {};
6142
6142
  const w0 = /* @__PURE__ */ we(ms), _0 = /* @__PURE__ */ we(Gs);
6143
- var ri = Dn;
6143
+ var oi = Dn;
6144
6144
  Object.defineProperty(ee, "__esModule", {
6145
6145
  value: !0
6146
6146
  });
6147
- ee.alpha = si;
6147
+ ee.alpha = ci;
6148
6148
  ee.blend = R0;
6149
6149
  ee.colorChannel = void 0;
6150
6150
  var E0 = ee.darken = qn;
6151
6151
  ee.decomposeColor = be;
6152
- ee.emphasize = ci;
6152
+ ee.emphasize = li;
6153
6153
  var Hr = ee.getContrastRatio = O0;
6154
6154
  ee.getLuminance = Bt;
6155
- ee.hexToRgb = oi;
6156
- ee.hslToRgb = ai;
6155
+ ee.hexToRgb = ii;
6156
+ ee.hslToRgb = si;
6157
6157
  var C0 = ee.lighten = Zn;
6158
6158
  ee.private_safeAlpha = A0;
6159
6159
  ee.private_safeColorChannel = void 0;
@@ -6162,11 +6162,11 @@ 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);
6165
+ var jr = oi(w0), T0 = oi(_0);
6166
6166
  function Yn(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
- function oi(e) {
6169
+ function ii(e) {
6170
6170
  e = e.slice(1);
6171
6171
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
6172
6172
  let n = e.match(t);
@@ -6180,7 +6180,7 @@ function be(e) {
6180
6180
  if (e.type)
6181
6181
  return e;
6182
6182
  if (e.charAt(0) === "#")
6183
- return be(oi(e));
6183
+ return be(ii(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.
@@ -6198,14 +6198,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
6198
6198
  colorSpace: o
6199
6199
  };
6200
6200
  }
6201
- const ii = (e) => {
6201
+ const ai = (e) => {
6202
6202
  const t = be(e);
6203
6203
  return t.values.slice(0, 3).map((n, r) => t.type.indexOf("hsl") !== -1 && r !== 0 ? `${n}%` : n).join(" ");
6204
6204
  };
6205
- ee.colorChannel = ii;
6205
+ ee.colorChannel = ai;
6206
6206
  const M0 = (e, t) => {
6207
6207
  try {
6208
- return ii(e);
6208
+ return ai(e);
6209
6209
  } catch {
6210
6210
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
6211
6211
  }
@@ -6229,7 +6229,7 @@ function k0(e) {
6229
6229
  } = be(e);
6230
6230
  return `#${t.map((n, r) => I0(r === 3 ? Math.round(255 * n) : n)).join("")}`;
6231
6231
  }
6232
- function ai(e) {
6232
+ function si(e) {
6233
6233
  e = be(e);
6234
6234
  const {
6235
6235
  values: t
@@ -6243,19 +6243,19 @@ function ai(e) {
6243
6243
  }
6244
6244
  function Bt(e) {
6245
6245
  e = be(e);
6246
- let t = e.type === "hsl" || e.type === "hsla" ? be(ai(e)).values : e.values;
6246
+ let t = e.type === "hsl" || e.type === "hsla" ? be(si(e)).values : e.values;
6247
6247
  return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
6248
6248
  }
6249
6249
  function O0(e, t) {
6250
6250
  const n = Bt(e), r = Bt(t);
6251
6251
  return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
6252
6252
  }
6253
- function si(e, t) {
6253
+ function ci(e, t) {
6254
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);
6255
6255
  }
6256
6256
  function A0(e, t, n) {
6257
6257
  try {
6258
- return si(e, t);
6258
+ return ci(e, t);
6259
6259
  } catch {
6260
6260
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6261
6261
  }
@@ -6293,12 +6293,12 @@ function N0(e, t, n) {
6293
6293
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6294
6294
  }
6295
6295
  }
6296
- function ci(e, t = 0.15) {
6296
+ function li(e, t = 0.15) {
6297
6297
  return Bt(e) > 0.5 ? qn(e, t) : Zn(e, t);
6298
6298
  }
6299
6299
  function P0(e, t, n) {
6300
6300
  try {
6301
- return ci(e, t);
6301
+ return li(e, t);
6302
6302
  } catch {
6303
6303
  return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
6304
6304
  }
@@ -6746,7 +6746,7 @@ function i1(e = {}, ...t) {
6746
6746
  } = e, a = Fe(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
- const c = W0(r), l = ti(e);
6749
+ const c = W0(r), l = ni(e);
6750
6750
  let f = Oe(l, {
6751
6751
  mixins: S0(l.breakpoints, n),
6752
6752
  palette: c,
@@ -6961,7 +6961,7 @@ process.env.NODE_ENV !== "production" && (Vt.propTypes = {
6961
6961
  viewBox: P.string
6962
6962
  });
6963
6963
  Vt.muiName = "SvgIcon";
6964
- function li(e, t) {
6964
+ function ui(e, t) {
6965
6965
  function n(r, o) {
6966
6966
  return /* @__PURE__ */ u(Vt, W({
6967
6967
  "data-testid": `${t}Icon`,
@@ -6975,33 +6975,33 @@ function li(e, t) {
6975
6975
  const p1 = {
6976
6976
  configure: (e) => {
6977
6977
  process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
6978
- `)), ko.configure(e);
6978
+ `)), Oo.configure(e);
6979
6979
  }
6980
6980
  }, g1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6981
6981
  __proto__: null,
6982
6982
  capitalize: De,
6983
6983
  createChainedFunction: Ss,
6984
- createSvgIcon: li,
6984
+ createSvgIcon: ui,
6985
6985
  debounce: ws,
6986
6986
  deprecatedPropType: _s,
6987
6987
  isMuiElement: Es,
6988
- ownerDocument: To,
6988
+ ownerDocument: Io,
6989
6989
  ownerWindow: Cs,
6990
6990
  requirePropFactory: Ts,
6991
- setRef: Io,
6991
+ setRef: Mo,
6992
6992
  unstable_ClassNameGenerator: p1,
6993
- unstable_useEnhancedEffect: Mo,
6993
+ unstable_useEnhancedEffect: ko,
6994
6994
  unstable_useId: Ms,
6995
6995
  unsupportedProp: ks,
6996
6996
  useControlled: Os,
6997
6997
  useEventCallback: As,
6998
6998
  useForkRef: $s,
6999
6999
  useIsFocusVisible: Hs
7000
- }, Symbol.toStringTag, { value: "Module" })), y1 = li(/* @__PURE__ */ u("path", {
7000
+ }, Symbol.toStringTag, { value: "Module" })), y1 = ui(/* @__PURE__ */ u("path", {
7001
7001
  d: "m7 10 5 5 5-5z"
7002
7002
  }), "ArrowDropDown");
7003
7003
  function Kr(e) {
7004
- const { colors: t } = Qr();
7004
+ const { colors: t } = eo();
7005
7005
  return /* @__PURE__ */ u(
7006
7006
  Se,
7007
7007
  {
@@ -7078,7 +7078,7 @@ function Q1(e) {
7078
7078
  },
7079
7079
  children: [
7080
7080
  /* @__PURE__ */ u(
7081
- oo,
7081
+ io,
7082
7082
  {
7083
7083
  required: f,
7084
7084
  label: e.label,
@@ -7120,7 +7120,7 @@ function Q1(e) {
7120
7120
  w.preventDefault(), w.stopPropagation(), h(), (_ = x.current) == null || _.focus();
7121
7121
  },
7122
7122
  disabled: e.loading || e.disabled || e.readOnly,
7123
- children: e.loading ? /* @__PURE__ */ u(ro, { size: "16px" }) : /* @__PURE__ */ u(
7123
+ children: e.loading ? /* @__PURE__ */ u(oo, { size: "16px" }) : /* @__PURE__ */ u(
7124
7124
  y1,
7125
7125
  {
7126
7126
  fontSize: "small",
@@ -7176,7 +7176,7 @@ function Q1(e) {
7176
7176
  loadMoreItems: p,
7177
7177
  threshold: 5,
7178
7178
  children: ({ onItemsRendered: w, ref: _ }) => /* @__PURE__ */ u(
7179
- co,
7179
+ lo,
7180
7180
  {
7181
7181
  ref: _,
7182
7182
  onItemsRendered: w,
@@ -7486,7 +7486,7 @@ function tu(e) {
7486
7486
  n({ startDate: g, endDate: s }), (S = e.onChange) == null || S.call(e, { startDate: g, endDate: s });
7487
7487
  },
7488
7488
  children: /* @__PURE__ */ u(
7489
- oo,
7489
+ io,
7490
7490
  {
7491
7491
  inputRef: o,
7492
7492
  label: e.label ?? "Permit date",
@@ -7600,8 +7600,8 @@ function nu(e) {
7600
7600
  const Yr = (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
- const n = eo(
7604
- to({
7603
+ const n = to(
7604
+ no({
7605
7605
  apiKey: e.apiKey,
7606
7606
  authDomain: e.authDomain,
7607
7607
  projectId: e.projectId,
@@ -7651,8 +7651,8 @@ const Yr = (e) => {
7651
7651
  }));
7652
7652
  };
7653
7653
  }, E1 = (e) => new Promise((t) => {
7654
- const n = eo(
7655
- to({
7654
+ const n = to(
7655
+ no({
7656
7656
  apiKey: e.apiKey,
7657
7657
  authDomain: e.authDomain,
7658
7658
  projectId: e.projectId,
@@ -7686,7 +7686,7 @@ const Yr = (e) => {
7686
7686
  ] })
7687
7687
  ] });
7688
7688
  return /* @__PURE__ */ M(ve, { children: [
7689
- /* @__PURE__ */ u("style", { children: lo }),
7689
+ /* @__PURE__ */ u("style", { children: uo }),
7690
7690
  t != null && t.contextUrl ? /* @__PURE__ */ u(
7691
7691
  "a",
7692
7692
  {
@@ -7776,7 +7776,7 @@ const Yr = (e) => {
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(Jr, { styles: [I1], children: /* @__PURE__ */ M("div", { className: "pnf-container", children: [
7780
7780
  /* @__PURE__ */ u(
7781
7781
  "img",
7782
7782
  {
@@ -7825,8 +7825,8 @@ var O1 = Dn;
7825
7825
  Object.defineProperty(Xn, "__esModule", {
7826
7826
  value: !0
7827
7827
  });
7828
- var ui = Xn.default = void 0, A1 = O1(k1()), $1 = di;
7829
- ui = Xn.default = (0, A1.default)(/* @__PURE__ */ (0, $1.jsx)("path", {
7828
+ var di = Xn.default = void 0, A1 = O1(k1()), $1 = fi;
7829
+ di = Xn.default = (0, A1.default)(/* @__PURE__ */ (0, $1.jsx)("path", {
7830
7830
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
7831
7831
  }), "NavigateNext");
7832
7832
  function N1({ index: e, href: t, title: n, ssr: r }) {
@@ -7843,7 +7843,7 @@ function N1({ index: e, href: t, title: n, ssr: r }) {
7843
7843
  },
7844
7844
  e
7845
7845
  ) : /* @__PURE__ */ u(
7846
- io,
7846
+ ao,
7847
7847
  {
7848
7848
  style: {
7849
7849
  color: Ie.linkPrimary,
@@ -7857,12 +7857,12 @@ function N1({ index: e, href: t, title: n, ssr: r }) {
7857
7857
  );
7858
7858
  }
7859
7859
  function iu(e) {
7860
- return console.log("BaseBreadcrumbs", e), e.isLoading ? /* @__PURE__ */ u(fo, { width: 300 }) : /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u(
7860
+ return console.log("BaseBreadcrumbs", e), e.isLoading ? /* @__PURE__ */ u(ho, { width: 300 }) : /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u(
7861
7861
  Fi,
7862
7862
  {
7863
7863
  sx: { fontSize: "12px", fontFamily: "inherit" },
7864
7864
  separator: /* @__PURE__ */ u(
7865
- ui,
7865
+ di,
7866
7866
  {
7867
7867
  sx: { color: Ie.linkPrimary, fontSize: "inherit" }
7868
7868
  }
@@ -7907,15 +7907,23 @@ function iu(e) {
7907
7907
  }
7908
7908
  ) });
7909
7909
  }
7910
+ function au({
7911
+ children: e,
7912
+ accessKeys: t,
7913
+ requireAll: n
7914
+ }) {
7915
+ const { permissions: r } = Xr();
7916
+ return n ? t.every((o) => r.includes(o)) ? e : null : t.some((o) => r.includes(o)) ? e : null;
7917
+ }
7910
7918
  export {
7911
7919
  Kr as AutocompleteOption,
7912
7920
  iu as BaseBreadcrumbs,
7913
7921
  nu as BaseCheckbox,
7914
7922
  w1 as CheckedIcon,
7915
- cu as FavoriteMenu,
7916
- lu as GlobalMenu,
7923
+ lu as FavoriteMenu,
7924
+ uu as GlobalMenu,
7917
7925
  X1 as HomePage,
7918
- uu as IconComponent,
7926
+ du as IconComponent,
7919
7927
  as as LanguageDropdown,
7920
7928
  ru as MultiProvider,
7921
7929
  K1 as NoData,
@@ -7930,11 +7938,12 @@ export {
7930
7938
  W1 as TopBar,
7931
7939
  J1 as UnauthorizedPage,
7932
7940
  S1 as UncheckedIcon,
7941
+ au as WrapPermission,
7933
7942
  ki as notify,
7934
- gi as pushError,
7935
- du as pushSuccess,
7936
- fu as pushWarning,
7937
- hu as updateFavoriteItems,
7943
+ yi as pushError,
7944
+ fu as pushSuccess,
7945
+ hu as pushWarning,
7946
+ mu as updateFavoriteItems,
7938
7947
  q1 as usePopUp,
7939
7948
  eu as useStyledAutocomplete
7940
7949
  };