@ukpc-lib/react 0.4.6 → 0.4.7

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,10 +1,10 @@
1
1
  import { jsxs as N, Fragment as Ie, jsx as c } from "react/jsx-runtime";
2
2
  import * as L from "react";
3
3
  import ge, { useState as G, useContext as _e, useEffect as Q, useRef as xe, useCallback as xt, forwardRef as Oo, createElement as rr, PureComponent as No } from "react";
4
- import { c as Te, a as Rt, C as ke, p as To, u as ko, S as $o, b as Io, L as Ao, d as Pr, e as Mo, Q as $n, f as pt, g as Po, s as gt, _ as z, h as we, P as k, i as he, j as Ro, o as Do, k as zo, l as Fo, m as Rr, n as In, q as _t, r as Dr, I as Lo, t as jo, v as zr, D as Vo, w as An, x as Mn, y as Bo, z as Ho, A as Ne, B as Wo, E as yt } from "../index.module-dc63d1c3.js";
5
- import { G as Rc, F as Dc, H as zc } from "../index.module-dc63d1c3.js";
4
+ import { c as Te, a as Rt, C as ke, p as To, u as ko, S as $o, b as Io, L as Ao, d as Pr, e as Mo, Q as $n, f as pt, g as Po, s as gt, _ as z, h as we, P as k, i as he, j as Ro, o as Do, k as zo, l as Fo, m as Rr, n as In, q as _t, r as Dr, I as Lo, t as jo, v as zr, D as Vo, w as An, x as Mn, y as Bo, z as Ho, A as Ne, B as Uo, E as yt } from "../index.module-62a8833c.js";
5
+ import { G as Rc, F as Dc, H as zc } from "../index.module-62a8833c.js";
6
6
  import Z from "moment";
7
- import { Stack as te, Dialog as Uo, DialogTitle as qo, Typography as ye, DialogContent as Yo, DialogActions as Go, Button as kt, Box as Ko, ClickAwayListener as Zo, TextField as Pn, IconButton as Xo, CircularProgress as Jo, Fade as Qo, Paper as ei, Checkbox as ti } from "@mui/material";
7
+ import { Stack as te, Dialog as Wo, DialogTitle as qo, Typography as ye, DialogContent as Yo, DialogActions as Go, Button as kt, Box as Ko, ClickAwayListener as Zo, TextField as Pn, IconButton as Xo, CircularProgress as Jo, Fade as Qo, Paper as ei, Checkbox as ti } from "@mui/material";
8
8
  import "@r2wc/react-to-web-component";
9
9
  import "axios";
10
10
  import { Link as Rn } from "react-router-dom";
@@ -113,10 +113,7 @@ const ri = (e) => {
113
113
  }, { setNotiData: m } = _e(ke), g = mr({ baseUrl: t, notiPath: r, setNotiData: m }), b = async (_, x) => {
114
114
  try {
115
115
  const S = r || `/notification-management/api/v1/notifications/${_}`, p = t + S;
116
- await Rt.put(
117
- p,
118
- { isRead: x }
119
- );
116
+ await Rt.put(p, { isRead: x });
120
117
  } catch (S) {
121
118
  console.log(S), d({
122
119
  id: e.id,
@@ -178,9 +175,9 @@ const ri = (e) => {
178
175
  /* @__PURE__ */ N("div", { className: "notification-item__content-wrapper", children: [
179
176
  /* @__PURE__ */ N("div", { className: "notification-item__content", children: [
180
177
  /* @__PURE__ */ c("p", { className: "notification-item__user-name", children: e.actorName }),
181
- /* @__PURE__ */ N("p", { children: [
178
+ /* @__PURE__ */ N("a", { href: e == null ? void 0 : e.contextUrl, style: { cursor: "pointer" }, children: [
182
179
  `${e.message} `,
183
- /* @__PURE__ */ c("span", { children: e == null ? void 0 : e.context })
180
+ /* @__PURE__ */ c("span", { className: "notification-item__context-link", children: e == null ? void 0 : e.context })
184
181
  ] }),
185
182
  (e == null ? void 0 : e.notificationType) === "deleteMultiple" && /* @__PURE__ */ N(
186
183
  "button",
@@ -510,7 +507,7 @@ function ii({
510
507
  ] });
511
508
  }
512
509
  const ai = `.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{display:flex;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.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}.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}.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:#DDDDDD;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}
513
- `, si = `: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;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;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__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}
510
+ `, si = `: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:46px;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__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}
514
511
  `, li = `._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}
515
512
  `, ci = `._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1: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_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
516
513
  `;
@@ -1229,7 +1226,7 @@ function Si(e) {
1229
1226
  }
1230
1227
  function Sc(e) {
1231
1228
  var t;
1232
- return /* @__PURE__ */ N(Uo, { ...e.dialogProps, open: e.open, children: [
1229
+ return /* @__PURE__ */ N(Wo, { ...e.dialogProps, open: e.open, children: [
1233
1230
  !e.hideTitle && /* @__PURE__ */ N(
1234
1231
  qo,
1235
1232
  {
@@ -1571,7 +1568,7 @@ function Ti() {
1571
1568
  }
1572
1569
  }
1573
1570
  }
1574
- var w = a, E = i, $ = e, T = d, H = r, F = g, W = m, K = t, ce = o, Ee = n, Ce = u, Me = h, me = !1, Pe = !1;
1571
+ var w = a, E = i, $ = e, T = d, H = r, F = g, U = m, K = t, ce = o, Ee = n, Ce = u, Me = h, me = !1, Pe = !1;
1575
1572
  function Oe(O) {
1576
1573
  return me || (me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1577
1574
  }
@@ -1614,7 +1611,7 @@ function Ti() {
1614
1611
  function et(O) {
1615
1612
  return p(O) === h;
1616
1613
  }
1617
- P.ContextConsumer = w, P.ContextProvider = E, P.Element = $, P.ForwardRef = T, P.Fragment = H, P.Lazy = F, P.Memo = W, P.Portal = K, P.Profiler = ce, P.StrictMode = Ee, P.Suspense = Ce, P.SuspenseList = Me, P.isAsyncMode = Oe, P.isConcurrentMode = Je, P.isContextConsumer = Qe, P.isContextProvider = Re, P.isElement = pe, P.isForwardRef = De, P.isFragment = Zt, P.isLazy = Xt, P.isMemo = Jt, P.isPortal = Qt, P.isProfiler = er, P.isStrictMode = tr, P.isSuspense = C, P.isSuspenseList = et, P.isValidElementType = S, P.typeOf = p;
1614
+ P.ContextConsumer = w, P.ContextProvider = E, P.Element = $, P.ForwardRef = T, P.Fragment = H, P.Lazy = F, P.Memo = U, P.Portal = K, P.Profiler = ce, P.StrictMode = Ee, P.Suspense = Ce, P.SuspenseList = Me, P.isAsyncMode = Oe, P.isConcurrentMode = Je, P.isContextConsumer = Qe, P.isContextProvider = Re, P.isElement = pe, P.isForwardRef = De, P.isFragment = Zt, P.isLazy = Xt, P.isMemo = Jt, P.isPortal = Qt, P.isProfiler = er, P.isStrictMode = tr, P.isSuspense = C, P.isSuspenseList = et, P.isValidElementType = S, P.typeOf = p;
1618
1615
  }()), P;
1619
1616
  }
1620
1617
  process.env.NODE_ENV === "production" ? sr.exports = Ni() : sr.exports = Ti();
@@ -1800,9 +1797,9 @@ function Vn(e) {
1800
1797
  unit: r
1801
1798
  }, o);
1802
1799
  }
1803
- const Wi = {
1800
+ const Ui = {
1804
1801
  borderRadius: 4
1805
- }, Ui = Wi, qi = process.env.NODE_ENV !== "production" ? k.oneOfType([k.number, k.string, k.object, k.array]) : {}, Se = qi;
1802
+ }, Wi = Ui, qi = process.env.NODE_ENV !== "production" ? k.oneOfType([k.number, k.string, k.object, k.array]) : {}, Se = qi;
1806
1803
  function nt(e, t) {
1807
1804
  return t ? ue(e, t, {
1808
1805
  clone: !1
@@ -1820,7 +1817,7 @@ const yr = {
1820
1817
  // desktop
1821
1818
  xl: 1536
1822
1819
  // large screen
1823
- }, Wr = {
1820
+ }, Ur = {
1824
1821
  // Sorted ASC by size. That's important.
1825
1822
  // It can't be configured as it's used statically for propTypes.
1826
1823
  keys: ["xs", "sm", "md", "lg", "xl"],
@@ -1829,11 +1826,11 @@ const yr = {
1829
1826
  function ve(e, t, r) {
1830
1827
  const n = e.theme || {};
1831
1828
  if (Array.isArray(t)) {
1832
- const i = n.breakpoints || Wr;
1829
+ const i = n.breakpoints || Ur;
1833
1830
  return t.reduce((a, s, d) => (a[i.up(i.keys[d])] = r(t[d]), a), {});
1834
1831
  }
1835
1832
  if (typeof t == "object") {
1836
- const i = n.breakpoints || Wr;
1833
+ const i = n.breakpoints || Ur;
1837
1834
  return Object.keys(t).reduce((a, s) => {
1838
1835
  if (Object.keys(i.values || yr).indexOf(s) !== -1) {
1839
1836
  const d = i.up(s);
@@ -1874,7 +1871,7 @@ function $t(e, t, r, n = r) {
1874
1871
  let o;
1875
1872
  return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Dt(e, r) || n, t && (o = t(o, n, e)), o;
1876
1873
  }
1877
- function U(e) {
1874
+ function W(e) {
1878
1875
  const {
1879
1876
  prop: t,
1880
1877
  cssProperty: r = e.prop,
@@ -1909,15 +1906,15 @@ const Zi = {
1909
1906
  l: "Left",
1910
1907
  x: ["Left", "Right"],
1911
1908
  y: ["Top", "Bottom"]
1912
- }, Ur = {
1909
+ }, Wr = {
1913
1910
  marginX: "mx",
1914
1911
  marginY: "my",
1915
1912
  paddingX: "px",
1916
1913
  paddingY: "py"
1917
1914
  }, Ji = Ki((e) => {
1918
1915
  if (e.length > 2)
1919
- if (Ur[e])
1920
- e = Ur[e];
1916
+ if (Wr[e])
1917
+ e = Wr[e];
1921
1918
  else
1922
1919
  return [e];
1923
1920
  const [t, r] = e.split(""), n = Zi[t], o = Xi[r] || "";
@@ -1986,7 +1983,7 @@ function ie(e) {
1986
1983
  return typeof e != "number" ? e : `${e}px solid`;
1987
1984
  }
1988
1985
  function se(e, t) {
1989
- return U({
1986
+ return W({
1990
1987
  prop: e,
1991
1988
  themeKey: "borders",
1992
1989
  transform: t
@@ -2045,48 +2042,48 @@ Ht.propTypes = process.env.NODE_ENV !== "production" ? {
2045
2042
  rowGap: Se
2046
2043
  } : {};
2047
2044
  Ht.filterProps = ["rowGap"];
2048
- const pa = U({
2045
+ const pa = W({
2049
2046
  prop: "gridColumn"
2050
- }), ga = U({
2047
+ }), ga = W({
2051
2048
  prop: "gridRow"
2052
- }), ya = U({
2049
+ }), ya = W({
2053
2050
  prop: "gridAutoFlow"
2054
- }), va = U({
2051
+ }), va = W({
2055
2052
  prop: "gridAutoColumns"
2056
- }), ba = U({
2053
+ }), ba = W({
2057
2054
  prop: "gridAutoRows"
2058
- }), xa = U({
2055
+ }), xa = W({
2059
2056
  prop: "gridTemplateColumns"
2060
- }), _a = U({
2057
+ }), _a = W({
2061
2058
  prop: "gridTemplateRows"
2062
- }), wa = U({
2059
+ }), wa = W({
2063
2060
  prop: "gridTemplateAreas"
2064
- }), Sa = U({
2061
+ }), Sa = W({
2065
2062
  prop: "gridArea"
2066
2063
  });
2067
2064
  Lt(Vt, Bt, Ht, pa, ga, ya, va, ba, xa, _a, wa, Sa);
2068
- function Ue(e, t) {
2065
+ function We(e, t) {
2069
2066
  return t === "grey" ? t : e;
2070
2067
  }
2071
- const Ea = U({
2068
+ const Ea = W({
2072
2069
  prop: "color",
2073
2070
  themeKey: "palette",
2074
- transform: Ue
2075
- }), Ca = U({
2071
+ transform: We
2072
+ }), Ca = W({
2076
2073
  prop: "bgcolor",
2077
2074
  cssProperty: "backgroundColor",
2078
2075
  themeKey: "palette",
2079
- transform: Ue
2080
- }), Oa = U({
2076
+ transform: We
2077
+ }), Oa = W({
2081
2078
  prop: "backgroundColor",
2082
2079
  themeKey: "palette",
2083
- transform: Ue
2080
+ transform: We
2084
2081
  });
2085
2082
  Lt(Ea, Ca, Oa);
2086
2083
  function re(e) {
2087
2084
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2088
2085
  }
2089
- const Na = U({
2086
+ const Na = W({
2090
2087
  prop: "width",
2091
2088
  transform: re
2092
2089
  }), vr = (e) => {
@@ -2107,30 +2104,30 @@ const Na = U({
2107
2104
  return null;
2108
2105
  };
2109
2106
  vr.filterProps = ["maxWidth"];
2110
- const Ta = U({
2107
+ const Ta = W({
2111
2108
  prop: "minWidth",
2112
2109
  transform: re
2113
- }), ka = U({
2110
+ }), ka = W({
2114
2111
  prop: "height",
2115
2112
  transform: re
2116
- }), $a = U({
2113
+ }), $a = W({
2117
2114
  prop: "maxHeight",
2118
2115
  transform: re
2119
- }), Ia = U({
2116
+ }), Ia = W({
2120
2117
  prop: "minHeight",
2121
2118
  transform: re
2122
2119
  });
2123
- U({
2120
+ W({
2124
2121
  prop: "size",
2125
2122
  cssProperty: "width",
2126
2123
  transform: re
2127
2124
  });
2128
- U({
2125
+ W({
2129
2126
  prop: "size",
2130
2127
  cssProperty: "height",
2131
2128
  transform: re
2132
2129
  });
2133
- const Aa = U({
2130
+ const Aa = W({
2134
2131
  prop: "boxSizing"
2135
2132
  });
2136
2133
  Lt(Na, vr, Ta, ka, $a, Ia, Aa);
@@ -2185,16 +2182,16 @@ const Ma = {
2185
2182
  // palette
2186
2183
  color: {
2187
2184
  themeKey: "palette",
2188
- transform: Ue
2185
+ transform: We
2189
2186
  },
2190
2187
  bgcolor: {
2191
2188
  themeKey: "palette",
2192
2189
  cssProperty: "backgroundColor",
2193
- transform: Ue
2190
+ transform: We
2194
2191
  },
2195
2192
  backgroundColor: {
2196
2193
  themeKey: "palette",
2197
- transform: Ue
2194
+ transform: We
2198
2195
  },
2199
2196
  // spacing
2200
2197
  p: {
@@ -2426,7 +2423,7 @@ function Pa(...e) {
2426
2423
  function Ra(e, t) {
2427
2424
  return typeof e == "function" ? e(t) : e;
2428
2425
  }
2429
- function Wn() {
2426
+ function Un() {
2430
2427
  function e(r, n, o, i) {
2431
2428
  const a = {
2432
2429
  [r]: n,
@@ -2500,9 +2497,9 @@ function Wn() {
2500
2497
  }
2501
2498
  return t;
2502
2499
  }
2503
- const Un = Wn();
2504
- Un.filterProps = ["sx"];
2505
- const br = Un;
2500
+ const Wn = Un();
2501
+ Wn.filterProps = ["sx"];
2502
+ const br = Wn;
2506
2503
  function qn(e, t) {
2507
2504
  const r = this;
2508
2505
  return r.vars && typeof r.getColorSchemeSelector == "function" ? {
@@ -2526,7 +2523,7 @@ function xr(e = {}, ...t) {
2526
2523
  mode: "light"
2527
2524
  }, n),
2528
2525
  spacing: d,
2529
- shape: z({}, Ui, i)
2526
+ shape: z({}, Wi, i)
2530
2527
  }, a);
2531
2528
  return u.applyStyles = qn, u = t.reduce((h, m) => ue(h, m), u), u.unstable_sxConfig = z({}, ut, a == null ? void 0 : a.unstable_sxConfig), u.unstable_sx = function(m) {
2532
2529
  return br({
@@ -2598,7 +2595,7 @@ var Ba = /* @__PURE__ */ function() {
2598
2595
  return n.parentNode && n.parentNode.removeChild(n);
2599
2596
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
2600
2597
  }, e;
2601
- }(), J = "-ms-", It = "-moz-", I = "-webkit-", _r = "comm", wr = "rule", Sr = "decl", Ha = "@import", Gn = "@keyframes", Wa = "@layer", Ua = Math.abs, Wt = String.fromCharCode, qa = Object.assign;
2598
+ }(), J = "-ms-", It = "-moz-", I = "-webkit-", _r = "comm", wr = "rule", Sr = "decl", Ha = "@import", Gn = "@keyframes", Ua = "@layer", Wa = Math.abs, Ut = String.fromCharCode, qa = Object.assign;
2602
2599
  function Ya(e, t) {
2603
2600
  return X(e, 0) ^ 45 ? (((t << 2 ^ X(e, 0)) << 2 ^ X(e, 1)) << 2 ^ X(e, 2)) << 2 ^ X(e, 3) : 0;
2604
2601
  }
@@ -2632,9 +2629,9 @@ function vt(e, t) {
2632
2629
  function Ka(e, t) {
2633
2630
  return e.map(t).join("");
2634
2631
  }
2635
- var Ut = 1, Ye = 1, Zn = 0, ee = 0, Y = 0, Ke = "";
2632
+ var Wt = 1, Ye = 1, Zn = 0, ee = 0, Y = 0, Ke = "";
2636
2633
  function qt(e, t, r, n, o, i, a) {
2637
- return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Ut, column: Ye, length: a, return: "" };
2634
+ return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Wt, column: Ye, length: a, return: "" };
2638
2635
  }
2639
2636
  function tt(e, t) {
2640
2637
  return qa(qt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
@@ -2643,10 +2640,10 @@ function Za() {
2643
2640
  return Y;
2644
2641
  }
2645
2642
  function Xa() {
2646
- return Y = ee > 0 ? X(Ke, --ee) : 0, Ye--, Y === 10 && (Ye = 1, Ut--), Y;
2643
+ return Y = ee > 0 ? X(Ke, --ee) : 0, Ye--, Y === 10 && (Ye = 1, Wt--), Y;
2647
2644
  }
2648
2645
  function ne() {
2649
- return Y = ee < Zn ? X(Ke, ee++) : 0, Ye++, Y === 10 && (Ye = 1, Ut++), Y;
2646
+ return Y = ee < Zn ? X(Ke, ee++) : 0, Ye++, Y === 10 && (Ye = 1, Wt++), Y;
2650
2647
  }
2651
2648
  function fe() {
2652
2649
  return X(Ke, ee);
@@ -2690,7 +2687,7 @@ function at(e) {
2690
2687
  return 0;
2691
2688
  }
2692
2689
  function Xn(e) {
2693
- return Ut = Ye = 1, Zn = de(Ke = e), ee = 0, [];
2690
+ return Wt = Ye = 1, Zn = de(Ke = e), ee = 0, [];
2694
2691
  }
2695
2692
  function Jn(e) {
2696
2693
  return Ke = "", e;
@@ -2730,7 +2727,7 @@ function es(e, t) {
2730
2727
  for (; ne() && e + Y !== 47 + 10; )
2731
2728
  if (e + Y === 42 + 42 && fe() === 47)
2732
2729
  break;
2733
- return "/*" + ft(t, ee - 1) + "*" + Wt(e === 47 ? e : ne());
2730
+ return "/*" + ft(t, ee - 1) + "*" + Ut(e === 47 ? e : ne());
2734
2731
  }
2735
2732
  function ts(e) {
2736
2733
  for (; !at(fe()); )
@@ -2813,7 +2810,7 @@ function Et(e, t, r, n, o, i, a, s, d) {
2813
2810
  else if (_ == 125 && l++ == 0 && Xa() == 125)
2814
2811
  continue;
2815
2812
  }
2816
- switch (E += Wt(_), _ * l) {
2813
+ switch (E += Ut(_), _ * l) {
2817
2814
  case 38:
2818
2815
  v = h > 0 ? 1 : (E += "\f", -1);
2819
2816
  break;
@@ -2831,12 +2828,12 @@ function Et(e, t, r, n, o, i, a, s, d) {
2831
2828
  }
2832
2829
  function qr(e, t, r, n, o, i, a, s, d, u, h) {
2833
2830
  for (var m = o - 1, g = o === 0 ? i : [""], b = Er(g), y = 0, l = 0, f = 0; y < n; ++y)
2834
- for (var v = 0, _ = it(e, m + 1, m = Ua(l = a[y])), x = e; v < b; ++v)
2831
+ for (var v = 0, _ = it(e, m + 1, m = Wa(l = a[y])), x = e; v < b; ++v)
2835
2832
  (x = Kn(l > 0 ? g[v] + " " + _ : A(_, /&\f/g, g[v]))) && (d[f++] = x);
2836
2833
  return qt(e, t, r, o === 0 ? wr : s, d, u, h);
2837
2834
  }
2838
2835
  function ns(e, t, r) {
2839
- return qt(e, t, r, _r, Wt(Za()), it(e, 2, -2), 0);
2836
+ return qt(e, t, r, _r, Ut(Za()), it(e, 2, -2), 0);
2840
2837
  }
2841
2838
  function Yr(e, t, r, n) {
2842
2839
  return qt(e, t, r, Sr, it(e, 0, n), it(e, n + 1, -1), n);
@@ -2848,7 +2845,7 @@ function qe(e, t) {
2848
2845
  }
2849
2846
  function os(e, t, r, n) {
2850
2847
  switch (e.type) {
2851
- case Wa:
2848
+ case Ua:
2852
2849
  if (e.children.length)
2853
2850
  break;
2854
2851
  case Ha:
@@ -2896,7 +2893,7 @@ var ss = function(t, r, n) {
2896
2893
  break;
2897
2894
  }
2898
2895
  default:
2899
- t[n] += Wt(o);
2896
+ t[n] += Ut(o);
2900
2897
  }
2901
2898
  while (o = ne());
2902
2899
  return t;
@@ -3295,7 +3292,7 @@ function xs() {
3295
3292
  }
3296
3293
  }
3297
3294
  }
3298
- var p = d, w = u, E = s, $ = a, T = t, H = h, F = n, W = y, K = b, ce = r, Ee = i, Ce = o, Me = m, me = !1;
3295
+ var p = d, w = u, E = s, $ = a, T = t, H = h, F = n, U = y, K = b, ce = r, Ee = i, Ce = o, Me = m, me = !1;
3299
3296
  function Pe(C) {
3300
3297
  return me || (me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Oe(C) || S(C) === d;
3301
3298
  }
@@ -3335,7 +3332,7 @@ function xs() {
3335
3332
  function tr(C) {
3336
3333
  return S(C) === m;
3337
3334
  }
3338
- D.AsyncMode = p, D.ConcurrentMode = w, D.ContextConsumer = E, D.ContextProvider = $, D.Element = T, D.ForwardRef = H, D.Fragment = F, D.Lazy = W, D.Memo = K, D.Portal = ce, D.Profiler = Ee, D.StrictMode = Ce, D.Suspense = Me, D.isAsyncMode = Pe, D.isConcurrentMode = Oe, D.isContextConsumer = Je, D.isContextProvider = Qe, D.isElement = Re, D.isForwardRef = pe, D.isFragment = De, D.isLazy = Zt, D.isMemo = Xt, D.isPortal = Jt, D.isProfiler = Qt, D.isStrictMode = er, D.isSuspense = tr, D.isValidElementType = x, D.typeOf = S;
3335
+ D.AsyncMode = p, D.ConcurrentMode = w, D.ContextConsumer = E, D.ContextProvider = $, D.Element = T, D.ForwardRef = H, D.Fragment = F, D.Lazy = U, D.Memo = K, D.Portal = ce, D.Profiler = Ee, D.StrictMode = Ce, D.Suspense = Me, D.isAsyncMode = Pe, D.isConcurrentMode = Oe, D.isContextConsumer = Je, D.isContextProvider = Qe, D.isElement = Re, D.isForwardRef = pe, D.isFragment = De, D.isLazy = Zt, D.isMemo = Xt, D.isPortal = Jt, D.isProfiler = Qt, D.isStrictMode = er, D.isSuspense = tr, D.isValidElementType = x, D.typeOf = S;
3339
3336
  }()), D;
3340
3337
  }
3341
3338
  process.env.NODE_ENV === "production" ? dr.exports = bs() : dr.exports = xs();
@@ -3864,13 +3861,13 @@ function Hs(e, t, r) {
3864
3861
  var n = [], o = Cr(e, n, r);
3865
3862
  return n.length < 2 ? r : o + t(n);
3866
3863
  }
3867
- var Ws = function(t) {
3864
+ var Us = function(t) {
3868
3865
  var r = t.cache, n = t.serializedArr;
3869
3866
  return Nr(function() {
3870
3867
  for (var o = 0; o < n.length; o++)
3871
3868
  Gt(r, n[o], !1);
3872
3869
  }), null;
3873
- }, Us = /* @__PURE__ */ Kt(function(e, t) {
3870
+ }, Ws = /* @__PURE__ */ Kt(function(e, t) {
3874
3871
  var r = !1, n = [], o = function() {
3875
3872
  if (r && process.env.NODE_ENV !== "production")
3876
3873
  throw new Error("css can only be used during render");
@@ -3889,12 +3886,12 @@ var Ws = function(t) {
3889
3886
  cx: i,
3890
3887
  theme: L.useContext(Ae)
3891
3888
  }, s = e.children(a);
3892
- return r = !0, /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement(Ws, {
3889
+ return r = !0, /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement(Us, {
3893
3890
  cache: t,
3894
3891
  serializedArr: n
3895
3892
  }), s);
3896
3893
  });
3897
- process.env.NODE_ENV !== "production" && (Us.displayName = "EmotionClassNames");
3894
+ process.env.NODE_ENV !== "production" && (Ws.displayName = "EmotionClassNames");
3898
3895
  if (process.env.NODE_ENV !== "production") {
3899
3896
  var sn = !0, qs = typeof jest < "u" || typeof vi < "u";
3900
3897
  if (sn && !qs) {
@@ -4239,7 +4236,7 @@ const d0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4239
4236
  __proto__: null,
4240
4237
  default: br,
4241
4238
  extendSxProp: c0,
4242
- unstable_createStyleFunctionSx: Wn,
4239
+ unstable_createStyleFunctionSx: Un,
4243
4240
  unstable_defaultSxConfig: ut
4244
4241
  }, Symbol.toStringTag, { value: "Module" }));
4245
4242
  function u0(e, t) {
@@ -4780,13 +4777,13 @@ const theme2 = createTheme({ palette: {
4780
4777
  }, b[t]), o);
4781
4778
  }
4782
4779
  const H0 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
4783
- function W0(e) {
4780
+ function U0(e) {
4784
4781
  return Math.round(e * 1e5) / 1e5;
4785
4782
  }
4786
4783
  const yn = {
4787
4784
  textTransform: "uppercase"
4788
4785
  }, vn = '"Roboto", "Helvetica", "Arial", sans-serif';
4789
- function U0(e, t) {
4786
+ function W0(e, t) {
4790
4787
  const r = typeof t == "function" ? t(e) : t, {
4791
4788
  fontFamily: n = vn,
4792
4789
  // The default font size of the Material Specification.
@@ -4811,7 +4808,7 @@ function U0(e, t) {
4811
4808
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
4812
4809
  lineHeight: x
4813
4810
  }, n === vn ? {
4814
- letterSpacing: `${W0(S / _)}em`
4811
+ letterSpacing: `${U0(S / _)}em`
4815
4812
  } : {}, p, h), f = {
4816
4813
  h1: l(i, 96, 1.167, -1.5),
4817
4814
  h2: l(i, 60, 1.2, -0.5),
@@ -4932,7 +4929,7 @@ function il(e = {}, ...t) {
4932
4929
  palette: s,
4933
4930
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
4934
4931
  shadows: Z0.slice(),
4935
- typography: U0(s, i),
4932
+ typography: W0(s, i),
4936
4933
  transitions: tl(o),
4937
4934
  zIndex: z({}, nl)
4938
4935
  });
@@ -5109,24 +5106,24 @@ function Il(e = {}) {
5109
5106
  let E = x(p);
5110
5107
  const $ = w ? w.map(x) : [];
5111
5108
  d && g && $.push((F) => {
5112
- const W = bt((0, oe.default)({}, F, {
5109
+ const U = bt((0, oe.default)({}, F, {
5113
5110
  defaultTheme: r,
5114
5111
  themeId: t
5115
5112
  }));
5116
- if (!W.components || !W.components[d] || !W.components[d].styleOverrides)
5113
+ if (!U.components || !U.components[d] || !U.components[d].styleOverrides)
5117
5114
  return null;
5118
- const K = W.components[d].styleOverrides, ce = {};
5115
+ const K = U.components[d].styleOverrides, ce = {};
5119
5116
  return Object.entries(K).forEach(([Ee, Ce]) => {
5120
5117
  ce[Ee] = Ot(Ce, (0, oe.default)({}, F, {
5121
- theme: W
5118
+ theme: U
5122
5119
  }));
5123
5120
  }), g(F, ce);
5124
5121
  }), d && !y && $.push((F) => {
5125
- var W;
5122
+ var U;
5126
5123
  const K = bt((0, oe.default)({}, F, {
5127
5124
  defaultTheme: r,
5128
5125
  themeId: t
5129
- })), ce = K == null || (W = K.components) == null || (W = W[d]) == null ? void 0 : W.variants;
5126
+ })), ce = K == null || (U = K.components) == null || (U = U[d]) == null ? void 0 : U.variants;
5130
5127
  return Ot({
5131
5128
  variants: ce
5132
5129
  }, (0, oe.default)({}, F, {
@@ -5365,7 +5362,7 @@ var Hl = typeof performance == "object" && typeof performance.now == "function",
5365
5362
  function Cn(e) {
5366
5363
  cancelAnimationFrame(e.id);
5367
5364
  }
5368
- function Wl(e, t) {
5365
+ function Ul(e, t) {
5369
5366
  var r = En();
5370
5367
  function n() {
5371
5368
  En() - r >= t ? e.call(null) : o.id = requestAnimationFrame(n);
@@ -5394,7 +5391,7 @@ function Nn(e) {
5394
5391
  return He;
5395
5392
  }
5396
5393
  process.env.NODE_ENV;
5397
- var Ul = 150, ql = function(t, r) {
5394
+ var Wl = 150, ql = function(t, r) {
5398
5395
  return t;
5399
5396
  }, Nt = null, Tt = null;
5400
5397
  process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.WeakSet < "u" && (Nt = /* @__PURE__ */ new WeakSet(), Tt = /* @__PURE__ */ new WeakSet());
@@ -5480,7 +5477,7 @@ function Yl(e) {
5480
5477
  var v = l.props.outerRef;
5481
5478
  l._outerRef = f, typeof v == "function" ? v(f) : v != null && typeof v == "object" && v.hasOwnProperty("current") && (v.current = f);
5482
5479
  }, l._resetIsScrollingDebounced = function() {
5483
- l._resetIsScrollingTimeoutId !== null && Cn(l._resetIsScrollingTimeoutId), l._resetIsScrollingTimeoutId = Wl(l._resetIsScrolling, Ul);
5480
+ l._resetIsScrollingTimeoutId !== null && Cn(l._resetIsScrollingTimeoutId), l._resetIsScrollingTimeoutId = Ul(l._resetIsScrolling, Wl);
5484
5481
  }, l._resetIsScrolling = function() {
5485
5482
  l._resetIsScrollingTimeoutId = null, l.setState({
5486
5483
  isScrolling: !1
@@ -5545,7 +5542,7 @@ function Yl(e) {
5545
5542
  }, b.componentWillUnmount = function() {
5546
5543
  this._resetIsScrollingTimeoutId !== null && Cn(this._resetIsScrollingTimeoutId);
5547
5544
  }, b.render = function() {
5548
- var l = this.props, f = l.children, v = l.className, _ = l.direction, x = l.height, S = l.innerRef, p = l.innerElementType, w = l.innerTagName, E = l.itemCount, $ = l.itemData, T = l.itemKey, H = T === void 0 ? ql : T, F = l.layout, W = l.outerElementType, K = l.outerTagName, ce = l.style, Ee = l.useIsScrolling, Ce = l.width, Me = this.state.isScrolling, me = _ === "horizontal" || F === "horizontal", Pe = me ? this._onScrollHorizontal : this._onScrollVertical, Oe = this._getRangeToRender(), Je = Oe[0], Qe = Oe[1], Re = [];
5545
+ var l = this.props, f = l.children, v = l.className, _ = l.direction, x = l.height, S = l.innerRef, p = l.innerElementType, w = l.innerTagName, E = l.itemCount, $ = l.itemData, T = l.itemKey, H = T === void 0 ? ql : T, F = l.layout, U = l.outerElementType, K = l.outerTagName, ce = l.style, Ee = l.useIsScrolling, Ce = l.width, Me = this.state.isScrolling, me = _ === "horizontal" || F === "horizontal", Pe = me ? this._onScrollHorizontal : this._onScrollVertical, Oe = this._getRangeToRender(), Je = Oe[0], Qe = Oe[1], Re = [];
5549
5546
  if (E > 0)
5550
5547
  for (var pe = Je; pe <= Qe; pe++)
5551
5548
  Re.push(rr(f, {
@@ -5556,7 +5553,7 @@ function Yl(e) {
5556
5553
  style: this._getItemStyle(pe)
5557
5554
  }));
5558
5555
  var De = n(this.props, this._instanceProps);
5559
- return rr(W || K || "div", {
5556
+ return rr(U || K || "div", {
5560
5557
  className: v,
5561
5558
  onScroll: Pe,
5562
5559
  ref: this._outerRefSetter,
@@ -5635,7 +5632,7 @@ var Gl = function(t, r) {
5635
5632
  if (!m && typeof i != "number")
5636
5633
  throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (i === null ? "null" : typeof i) + '" was specified.'));
5637
5634
  }
5638
- }, Kl = 50, We = function(t, r, n) {
5635
+ }, Kl = 50, Ue = function(t, r, n) {
5639
5636
  var o = t, i = o.itemSize, a = n.itemMetadataMap, s = n.lastMeasuredIndex;
5640
5637
  if (r > s) {
5641
5638
  var d = 0;
@@ -5658,14 +5655,14 @@ var Gl = function(t, r) {
5658
5655
  return a >= n ? Eo(t, r, i, 0, n) : Xl(t, r, Math.max(0, i), n);
5659
5656
  }, Eo = function(t, r, n, o, i) {
5660
5657
  for (; o <= n; ) {
5661
- var a = o + Math.floor((n - o) / 2), s = We(t, a, r).offset;
5658
+ var a = o + Math.floor((n - o) / 2), s = Ue(t, a, r).offset;
5662
5659
  if (s === i)
5663
5660
  return a;
5664
5661
  s < i ? o = a + 1 : s > i && (n = a - 1);
5665
5662
  }
5666
5663
  return o > 0 ? o - 1 : 0;
5667
5664
  }, Xl = function(t, r, n, o) {
5668
- for (var i = t.itemCount, a = 1; n < i && We(t, n, r).offset < o; )
5665
+ for (var i = t.itemCount, a = 1; n < i && Ue(t, n, r).offset < o; )
5669
5666
  n += a, a *= 2;
5670
5667
  return Eo(t, r, Math.min(n, i - 1), Math.floor(n / 2), o);
5671
5668
  }, Tn = function(t, r) {
@@ -5678,14 +5675,14 @@ var Gl = function(t, r) {
5678
5675
  return s + h;
5679
5676
  }, Jl = /* @__PURE__ */ Yl({
5680
5677
  getItemOffset: function(t, r, n) {
5681
- return We(t, r, n).offset;
5678
+ return Ue(t, r, n).offset;
5682
5679
  },
5683
5680
  getItemSize: function(t, r, n) {
5684
5681
  return n.itemMetadataMap[r].size;
5685
5682
  },
5686
5683
  getEstimatedTotalSize: Tn,
5687
5684
  getOffsetForIndexAndAlignment: function(t, r, n, o, i, a) {
5688
- var s = t.direction, d = t.height, u = t.layout, h = t.width, m = s === "horizontal" || u === "horizontal", g = m ? h : d, b = We(t, r, i), y = Tn(t, i), l = Math.max(0, Math.min(y - g, b.offset)), f = Math.max(0, b.offset - g + b.size + a);
5685
+ var s = t.direction, d = t.height, u = t.layout, h = t.width, m = s === "horizontal" || u === "horizontal", g = m ? h : d, b = Ue(t, r, i), y = Tn(t, i), l = Math.max(0, Math.min(y - g, b.offset)), f = Math.max(0, b.offset - g + b.size + a);
5689
5686
  switch (n === "smart" && (o >= f - g && o <= l + g ? n = "auto" : n = "center"), n) {
5690
5687
  case "start":
5691
5688
  return l;
@@ -5702,8 +5699,8 @@ var Gl = function(t, r) {
5702
5699
  return Zl(t, n, r);
5703
5700
  },
5704
5701
  getStopIndexForStartIndex: function(t, r, n, o) {
5705
- for (var i = t.direction, a = t.height, s = t.itemCount, d = t.layout, u = t.width, h = i === "horizontal" || d === "horizontal", m = h ? u : a, g = We(t, r, o), b = n + m, y = g.offset + g.size, l = r; l < s - 1 && y < b; )
5706
- l++, y += We(t, l, o).size;
5702
+ for (var i = t.direction, a = t.height, s = t.itemCount, d = t.layout, u = t.width, h = i === "horizontal" || d === "horizontal", m = h ? u : a, g = Ue(t, r, o), b = n + m, y = g.offset + g.size, l = r; l < s - 1 && y < b; )
5703
+ l++, y += Ue(t, l, o).size;
5707
5704
  return l;
5708
5705
  },
5709
5706
  initInstanceProps: function(t, r) {
@@ -5922,7 +5919,7 @@ function Nc(e) {
5922
5919
  {
5923
5920
  stackProps: { style: T },
5924
5921
  option: H,
5925
- renderOption: (W) => {
5922
+ renderOption: (U) => {
5926
5923
  var K;
5927
5924
  return /* @__PURE__ */ N(
5928
5925
  te,
@@ -5931,15 +5928,15 @@ function Nc(e) {
5931
5928
  alignItems: "center",
5932
5929
  justifyContent: "space-between",
5933
5930
  children: [
5934
- /* @__PURE__ */ c(ye, { children: e.getOptionLabel(W) }),
5935
- (K = e.renderOptionTooltip) == null ? void 0 : K.call(e, W)
5931
+ /* @__PURE__ */ c(ye, { children: e.getOptionLabel(U) }),
5932
+ (K = e.renderOptionTooltip) == null ? void 0 : K.call(e, U)
5936
5933
  ]
5937
5934
  }
5938
5935
  );
5939
5936
  },
5940
- onClick: (W) => {
5937
+ onClick: (U) => {
5941
5938
  var K;
5942
- g(), (K = e.onChange) == null || K.call(e, W);
5939
+ g(), (K = e.onChange) == null || K.call(e, U);
5943
5940
  },
5944
5941
  select: ((F = e.isEqual) == null ? void 0 : F.call(e, H, e.value)) ?? Dr.isEqual(H, e.value)
5945
5942
  }
@@ -6415,49 +6412,57 @@ const Co = (e) => {
6415
6412
  const [t, r] = G({
6416
6413
  actorName: "",
6417
6414
  message: "",
6418
- context: ""
6415
+ context: "",
6416
+ contextUrl: ""
6419
6417
  });
6420
6418
  console.log(t);
6421
6419
  const { setNotiData: n } = _e(ke);
6422
6420
  function o() {
6423
- return /* @__PURE__ */ c("div", { className: yt["notification-massage_container"], children: /* @__PURE__ */ N(
6421
+ return /* @__PURE__ */ c(
6424
6422
  "a",
6425
6423
  {
6426
- className: yt["notification-massage_content"],
6424
+ className: yt["notification-massage_container"],
6427
6425
  href: t == null ? void 0 : t.contextUrl,
6428
6426
  style: { width: "100%", display: "block" },
6429
- children: [
6430
- /* @__PURE__ */ c("h6", { className: yt["notification-name"], children: t == null ? void 0 : t.actorName }),
6431
- /* @__PURE__ */ N("div", { className: yt["notification-message_service"], children: [
6432
- /* @__PURE__ */ N("span", { children: [
6433
- `${t == null ? void 0 : t.message} `,
6434
- " "
6435
- ] }),
6436
- /* @__PURE__ */ c("span", { children: t == null ? void 0 : t.context })
6437
- ] })
6438
- ]
6427
+ children: /* @__PURE__ */ N(
6428
+ "div",
6429
+ {
6430
+ className: yt["notification-massage_content"],
6431
+ children: [
6432
+ /* @__PURE__ */ c("h6", { className: yt["notification-name"], children: t == null ? void 0 : t.actorName }),
6433
+ /* @__PURE__ */ N("div", { className: yt["notification-message_service"], children: [
6434
+ /* @__PURE__ */ N("span", { children: [
6435
+ `${t == null ? void 0 : t.message} `,
6436
+ " "
6437
+ ] }),
6438
+ /* @__PURE__ */ c("span", { children: t == null ? void 0 : t.context })
6439
+ ] })
6440
+ ]
6441
+ }
6442
+ )
6439
6443
  }
6440
- ) });
6444
+ );
6441
6445
  }
6442
6446
  return Q(() => {
6443
- t && Notification.permission === "granted" && (t.actorName || t.message || t.context) && Wo(/* @__PURE__ */ c(o, {}));
6447
+ t && Notification.permission === "granted" && (t.actorName || t.message || t.context || t.contextUrl) && Uo(/* @__PURE__ */ c(o, {}));
6444
6448
  }, [t]), Q(() => {
6445
6449
  Notification.permission === "granted" && Co(e);
6446
6450
  }, [Notification.permission]), Q(() => {
6447
6451
  oc(n);
6448
6452
  }, []), ic(e).then((i) => {
6449
- var a, s, d;
6453
+ var a, s, d, u;
6450
6454
  console.log("aaa", i), r({
6451
6455
  actorName: (a = i == null ? void 0 : i.data) == null ? void 0 : a.actorName,
6452
6456
  message: (s = i == null ? void 0 : i.data) == null ? void 0 : s.message,
6453
- context: (d = i == null ? void 0 : i.data) == null ? void 0 : d.context
6454
- }), n((u) => {
6455
- var h;
6457
+ context: (d = i == null ? void 0 : i.data) == null ? void 0 : d.context,
6458
+ contextUrl: (u = i == null ? void 0 : i.data) == null ? void 0 : u.contextUrl
6459
+ }), n((h) => {
6460
+ var m;
6456
6461
  return {
6457
- ...u,
6462
+ ...h,
6458
6463
  unread: {
6459
- ...u.unread,
6460
- total: ((h = u.unread) == null ? void 0 : h.total) + 1
6464
+ ...h.unread,
6465
+ total: ((m = h.unread) == null ? void 0 : m.total) + 1
6461
6466
  }
6462
6467
  };
6463
6468
  });
@@ -6525,7 +6530,7 @@ export {
6525
6530
  bc as TopBar,
6526
6531
  Oc as UnauthorizedPage,
6527
6532
  rc as UncheckedIcon,
6528
- Wo as notify,
6533
+ Uo as notify,
6529
6534
  To as pushError,
6530
6535
  Dc as pushSuccess,
6531
6536
  zc as pushWarning,