@ukpc-lib/react 0.3.19 → 0.3.21

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,8 +1,8 @@
1
- import { jsxs as T, jsx as c, Fragment as qe } from "react/jsx-runtime";
1
+ import { jsxs as T, jsx as c, Fragment as Ye } from "react/jsx-runtime";
2
2
  import * as F from "react";
3
3
  import So, { useState as G, useContext as be, useEffect as Q, useRef as ve, useCallback as bt, forwardRef as Eo, createElement as er, PureComponent as Co } from "react";
4
- import { c as rt, Q as $n, C as Te, p as At, u as fr, S as Oo, a as To, L as No, b as Ar, d as ko, e as mt, f as $o, s as pt, _ as z, g as xe, P as N, h as he, i as Mo, o as Io, j as Ao, k as Po, l as Pr, m as Rr, I as Ro, n as Do, q as Dr, D as zo, r as Mn, t as In, v as Lo, w as Fo, x as Ce, y as jo, z as gt } from "../index.module-c91c4596.js";
5
- import { G as S1, A as E1, B as C1 } from "../index.module-c91c4596.js";
4
+ import { c as We, Q as $n, C as Te, p as At, u as fr, S as Oo, a as To, L as No, b as Ar, d as ko, e as mt, f as $o, s as pt, _ as z, g as xe, P as N, h as he, i as Mo, o as Io, j as Ao, k as Po, l as Pr, m as Rr, I as Ro, n as Do, q as Dr, D as zo, r as Mn, t as In, v as Lo, w as Fo, x as Ce, y as jo, z as gt } from "../index.module-9cc5e50f.js";
5
+ import { G as S1, A as E1, B as C1 } from "../index.module-9cc5e50f.js";
6
6
  import Z from "moment";
7
7
  import hr from "axios";
8
8
  import { Stack as se, Dialog as Vo, DialogTitle as Ho, Typography as Oe, DialogContent as Bo, DialogActions as Wo, Button as zr, ClickAwayListener as Uo, TextField as An, IconButton as qo, CircularProgress as Yo, Fade as Go, Paper as Ko, Checkbox as Zo } from "@mui/material";
@@ -69,7 +69,7 @@ const Jo = (e) => {
69
69
  const { tabs: t } = e, r = (i) => {
70
70
  e.setCurrentTab(i.target.id);
71
71
  };
72
- return console.log("🚀 ~ brandColors:", e.currentTab), /* @__PURE__ */ T(qe, { children: [
72
+ return console.log("🚀 ~ brandColors:", e.currentTab), /* @__PURE__ */ T(Ye, { children: [
73
73
  /* @__PURE__ */ c("style", { children: `
74
74
  .tab-title {
75
75
  min-width: 90px;
@@ -110,7 +110,7 @@ const Jo = (e) => {
110
110
  display: "flex",
111
111
  width: "100%",
112
112
  height: "50px",
113
- borderBottom: `1px solid ${rt.grey200}`
113
+ borderBottom: `1px solid ${We.grey200}`
114
114
  },
115
115
  className: "tab-container__title",
116
116
  children: t.map((i, a) => /* @__PURE__ */ c(
@@ -165,8 +165,8 @@ const Jo = (e) => {
165
165
  id: e.id,
166
166
  isRead: e.isRead
167
167
  }), l = i.isRead === !1 ? "unread" : "read", u = {
168
- borderColor: i.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || rt.primary500,
169
- backgroundColor: i.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || rt.primary500
168
+ borderColor: i.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || We.primary500,
169
+ backgroundColor: i.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || We.primary500
170
170
  }, { setNotiData: f } = be(Te), h = fr({ baseUrl: t, notiPath: r, setNotiData: f }), m = async (y, s) => {
171
171
  var d, v;
172
172
  try {
@@ -333,7 +333,7 @@ const Jo = (e) => {
333
333
  )
334
334
  }
335
335
  ];
336
- return /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(
336
+ return /* @__PURE__ */ c(Ye, { children: /* @__PURE__ */ c(
337
337
  "div",
338
338
  {
339
339
  style: {
@@ -489,7 +489,7 @@ function ti({
489
489
  position: "absolute",
490
490
  top: "-9px",
491
491
  right: "-6px",
492
- background: `${rt}`,
492
+ background: `${We}`,
493
493
  width: "20px",
494
494
  height: "20px",
495
495
  border: "1px solid #fff",
@@ -499,7 +499,7 @@ function ti({
499
499
  display: "flex",
500
500
  alignItems: "center",
501
501
  justifyContent: "center",
502
- backgroundColor: rt.danger
502
+ backgroundColor: We.danger
503
503
  },
504
504
  className: "notification-badge",
505
505
  children: ((m = l == null ? void 0 : l.unread) == null ? void 0 : m.total) > 9 ? "9+" : `${(g = l == null ? void 0 : l.unread) == null ? void 0 : g.total}`
@@ -781,7 +781,7 @@ function ci({
781
781
  o(!1);
782
782
  }
783
783
  });
784
- }, []), /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ T("div", { style: { position: "relative" }, children: [
784
+ }, []), /* @__PURE__ */ c(Ye, { children: /* @__PURE__ */ T("div", { style: { position: "relative" }, children: [
785
785
  e ? /* @__PURE__ */ c(
786
786
  "img",
787
787
  {
@@ -1226,7 +1226,7 @@ function h1(e) {
1226
1226
  pb: 3,
1227
1227
  ...(t = e.dialogActionsProps) == null ? void 0 : t.sx
1228
1228
  },
1229
- children: e.customActions ? e.customActions : /* @__PURE__ */ T(qe, { children: [
1229
+ children: e.customActions ? e.customActions : /* @__PURE__ */ T(Ye, { children: [
1230
1230
  !e.hideClose && /* @__PURE__ */ c(zr, { color: "error", onClick: e.onClose, children: "Close" }),
1231
1231
  !e.hideConfirm && /* @__PURE__ */ c(zr, { color: "primary", onClick: e.onConfirm, children: "Submit" })
1232
1232
  ] })
@@ -1507,10 +1507,10 @@ function bi() {
1507
1507
  function Ee(O) {
1508
1508
  return me || (me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1509
1509
  }
1510
- function Ze(O) {
1510
+ function Xe(O) {
1511
1511
  return Me || (Me = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1512
1512
  }
1513
- function Xe(O) {
1513
+ function Je(O) {
1514
1514
  return p(O) === a;
1515
1515
  }
1516
1516
  function Ie(O) {
@@ -1543,10 +1543,10 @@ function bi() {
1543
1543
  function C(O) {
1544
1544
  return p(O) === f;
1545
1545
  }
1546
- function Je(O) {
1546
+ function Qe(O) {
1547
1547
  return p(O) === h;
1548
1548
  }
1549
- P.ContextConsumer = w, P.ContextProvider = S, P.Element = M, P.ForwardRef = I, P.Fragment = B, P.Lazy = L, P.Memo = W, P.Portal = K, P.Profiler = ce, P.StrictMode = we, P.Suspense = Se, P.SuspenseList = $e, P.isAsyncMode = Ee, P.isConcurrentMode = Ze, P.isContextConsumer = Xe, P.isContextProvider = Ie, P.isElement = pe, P.isForwardRef = Ae, P.isFragment = Gt, P.isLazy = Kt, P.isMemo = Zt, P.isPortal = Xt, P.isProfiler = Jt, P.isStrictMode = Qt, P.isSuspense = C, P.isSuspenseList = Je, P.isValidElementType = E, P.typeOf = p;
1549
+ P.ContextConsumer = w, P.ContextProvider = S, P.Element = M, P.ForwardRef = I, P.Fragment = B, P.Lazy = L, P.Memo = W, P.Portal = K, P.Profiler = ce, P.StrictMode = we, P.Suspense = Se, P.SuspenseList = $e, P.isAsyncMode = Ee, P.isConcurrentMode = Xe, P.isContextConsumer = Je, P.isContextProvider = Ie, P.isElement = pe, P.isForwardRef = Ae, P.isFragment = Gt, P.isLazy = Kt, P.isMemo = Zt, P.isPortal = Xt, P.isProfiler = Jt, P.isStrictMode = Qt, P.isSuspense = C, P.isSuspenseList = Qe, P.isValidElementType = E, P.typeOf = p;
1550
1550
  }()), P;
1551
1551
  }
1552
1552
  process.env.NODE_ENV === "production" ? ir.exports = yi() : ir.exports = bi();
@@ -1735,7 +1735,7 @@ function Ln(e) {
1735
1735
  const Ri = {
1736
1736
  borderRadius: 4
1737
1737
  }, Di = Ri, zi = process.env.NODE_ENV !== "production" ? N.oneOfType([N.number, N.string, N.object, N.array]) : {}, _e = zi;
1738
- function tt(e, t) {
1738
+ function rt(e, t) {
1739
1739
  return t ? ue(e, t, {
1740
1740
  clone: !1
1741
1741
  // No need to clone deep, it's way faster.
@@ -1884,7 +1884,7 @@ function qi(e, t, r, n) {
1884
1884
  }
1885
1885
  function jn(e, t) {
1886
1886
  const r = Fn(e.theme);
1887
- return Object.keys(e).map((n) => qi(e, t, n, r)).reduce(tt, {});
1887
+ return Object.keys(e).map((n) => qi(e, t, n, r)).reduce(rt, {});
1888
1888
  }
1889
1889
  function V(e) {
1890
1890
  return jn(e, Rt);
@@ -1911,7 +1911,7 @@ function Yi(e = 8) {
1911
1911
  function zt(...e) {
1912
1912
  const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
1913
1913
  n[i] = o;
1914
- }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? tt(o, t[i](n)) : o, {});
1914
+ }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? rt(o, t[i](n)) : o, {});
1915
1915
  return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
1916
1916
  }
1917
1917
  function oe(e) {
@@ -2412,7 +2412,7 @@ function Vn() {
2412
2412
  if (y != null)
2413
2413
  if (typeof y == "object")
2414
2414
  if (a[b])
2415
- g = tt(g, e(b, y, i, a));
2415
+ g = rt(g, e(b, y, i, a));
2416
2416
  else {
2417
2417
  const s = ge({
2418
2418
  theme: i
@@ -2422,10 +2422,10 @@ function Vn() {
2422
2422
  Ca(s, y) ? g[b] = t({
2423
2423
  sx: y,
2424
2424
  theme: i
2425
- }) : g = tt(g, s);
2425
+ }) : g = rt(g, s);
2426
2426
  }
2427
2427
  else
2428
- g = tt(g, e(b, y, i, a));
2428
+ g = rt(g, e(b, y, i, a));
2429
2429
  }), Fi(m, g);
2430
2430
  }
2431
2431
  return Array.isArray(o) ? o.map(l) : l(o);
@@ -2564,30 +2564,30 @@ function yt(e, t) {
2564
2564
  function ja(e, t) {
2565
2565
  return e.map(t).join("");
2566
2566
  }
2567
- var Bt = 1, We = 1, Yn = 0, ee = 0, Y = 0, Ye = "";
2567
+ var Bt = 1, Ue = 1, Yn = 0, ee = 0, Y = 0, Ge = "";
2568
2568
  function Wt(e, t, r, n, o, i, a) {
2569
- return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Bt, column: We, length: a, return: "" };
2569
+ return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Bt, column: Ue, length: a, return: "" };
2570
2570
  }
2571
- function Qe(e, t) {
2571
+ function et(e, t) {
2572
2572
  return za(Wt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
2573
2573
  }
2574
2574
  function Va() {
2575
2575
  return Y;
2576
2576
  }
2577
2577
  function Ha() {
2578
- return Y = ee > 0 ? X(Ye, --ee) : 0, We--, Y === 10 && (We = 1, Bt--), Y;
2578
+ return Y = ee > 0 ? X(Ge, --ee) : 0, Ue--, Y === 10 && (Ue = 1, Bt--), Y;
2579
2579
  }
2580
2580
  function re() {
2581
- return Y = ee < Yn ? X(Ye, ee++) : 0, We++, Y === 10 && (We = 1, Bt++), Y;
2581
+ return Y = ee < Yn ? X(Ge, ee++) : 0, Ue++, Y === 10 && (Ue = 1, Bt++), Y;
2582
2582
  }
2583
2583
  function fe() {
2584
- return X(Ye, ee);
2584
+ return X(Ge, ee);
2585
2585
  }
2586
2586
  function xt() {
2587
2587
  return ee;
2588
2588
  }
2589
2589
  function ut(e, t) {
2590
- return ot(Ye, e, t);
2590
+ return ot(Ge, e, t);
2591
2591
  }
2592
2592
  function it(e) {
2593
2593
  switch (e) {
@@ -2622,10 +2622,10 @@ function it(e) {
2622
2622
  return 0;
2623
2623
  }
2624
2624
  function Gn(e) {
2625
- return Bt = We = 1, Yn = de(Ye = e), ee = 0, [];
2625
+ return Bt = Ue = 1, Yn = de(Ge = e), ee = 0, [];
2626
2626
  }
2627
2627
  function Kn(e) {
2628
- return Ye = "", e;
2628
+ return Ge = "", e;
2629
2629
  }
2630
2630
  function _t(e) {
2631
2631
  return qn(ut(ee - 1, sr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
@@ -3014,7 +3014,7 @@ var ls = function(t, r, n, o) {
3014
3014
  t.return = Xn(t.value, t.length);
3015
3015
  break;
3016
3016
  case Un:
3017
- return Be([Qe(t, {
3017
+ return Be([et(t, {
3018
3018
  value: $(t.value, "@", "@" + k)
3019
3019
  })], o);
3020
3020
  case _r:
@@ -3023,15 +3023,15 @@ var ls = function(t, r, n, o) {
3023
3023
  switch (Fa(i, /(::plac\w+|:read-\w+)/)) {
3024
3024
  case ":read-only":
3025
3025
  case ":read-write":
3026
- return Be([Qe(t, {
3026
+ return Be([et(t, {
3027
3027
  props: [$(i, /:(read-\w+)/, ":" + kt + "$1")]
3028
3028
  })], o);
3029
3029
  case "::placeholder":
3030
- return Be([Qe(t, {
3030
+ return Be([et(t, {
3031
3031
  props: [$(i, /:(plac\w+)/, ":" + k + "input-$1")]
3032
- }), Qe(t, {
3032
+ }), et(t, {
3033
3033
  props: [$(i, /:(plac\w+)/, ":" + kt + "$1")]
3034
- }), Qe(t, {
3034
+ }), et(t, {
3035
3035
  props: [$(i, /:(plac\w+)/, J + "input-$1")]
3036
3036
  })], o);
3037
3037
  }
@@ -3197,8 +3197,8 @@ function us() {
3197
3197
  }
3198
3198
  function E(C) {
3199
3199
  if (typeof C == "object" && C !== null) {
3200
- var Je = C.$$typeof;
3201
- switch (Je) {
3200
+ var Qe = C.$$typeof;
3201
+ switch (Qe) {
3202
3202
  case t:
3203
3203
  var O = C.type;
3204
3204
  switch (O) {
@@ -3219,11 +3219,11 @@ function us() {
3219
3219
  case a:
3220
3220
  return Pe;
3221
3221
  default:
3222
- return Je;
3222
+ return Qe;
3223
3223
  }
3224
3224
  }
3225
3225
  case r:
3226
- return Je;
3226
+ return Qe;
3227
3227
  }
3228
3228
  }
3229
3229
  }
@@ -3234,10 +3234,10 @@ function us() {
3234
3234
  function Ee(C) {
3235
3235
  return E(C) === f;
3236
3236
  }
3237
- function Ze(C) {
3237
+ function Xe(C) {
3238
3238
  return E(C) === l;
3239
3239
  }
3240
- function Xe(C) {
3240
+ function Je(C) {
3241
3241
  return E(C) === a;
3242
3242
  }
3243
3243
  function Ie(C) {
@@ -3267,7 +3267,7 @@ function us() {
3267
3267
  function Qt(C) {
3268
3268
  return E(C) === m;
3269
3269
  }
3270
- D.AsyncMode = p, D.ConcurrentMode = w, D.ContextConsumer = S, D.ContextProvider = M, D.Element = I, D.ForwardRef = B, D.Fragment = L, D.Lazy = W, D.Memo = K, D.Portal = ce, D.Profiler = we, D.StrictMode = Se, D.Suspense = $e, D.isAsyncMode = Me, D.isConcurrentMode = Ee, D.isContextConsumer = Ze, D.isContextProvider = Xe, D.isElement = Ie, D.isForwardRef = pe, D.isFragment = Ae, D.isLazy = Gt, D.isMemo = Kt, D.isPortal = Zt, D.isProfiler = Xt, D.isStrictMode = Jt, D.isSuspense = Qt, D.isValidElementType = _, D.typeOf = E;
3270
+ D.AsyncMode = p, D.ConcurrentMode = w, D.ContextConsumer = S, D.ContextProvider = M, D.Element = I, D.ForwardRef = B, D.Fragment = L, D.Lazy = W, D.Memo = K, D.Portal = ce, D.Profiler = we, D.StrictMode = Se, D.Suspense = $e, D.isAsyncMode = Me, D.isConcurrentMode = Ee, D.isContextConsumer = Xe, D.isContextProvider = Je, D.isElement = Ie, D.isForwardRef = pe, D.isFragment = Ae, D.isLazy = Gt, D.isMemo = Kt, D.isPortal = Zt, D.isProfiler = Xt, D.isStrictMode = Jt, D.isSuspense = Qt, D.isValidElementType = _, D.typeOf = E;
3271
3271
  }()), D;
3272
3272
  }
3273
3273
  process.env.NODE_ENV === "production" ? lr.exports = ds() : lr.exports = us();
@@ -3513,7 +3513,7 @@ function Cs(e, t, r) {
3513
3513
  }
3514
3514
  var tn = /label:\s*([^\s;\n{]+)\s*(;|$)/g, no;
3515
3515
  process.env.NODE_ENV !== "production" && (no = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
3516
- var le, Ue = function(t, r, n) {
3516
+ var le, qe = function(t, r, n) {
3517
3517
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
3518
3518
  return t[0];
3519
3519
  var o = !0, i = "";
@@ -3574,10 +3574,10 @@ var nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", on = "__EMOTION_LABEL_PLEASE_DO_N
3574
3574
  typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
3575
3575
  var o = e[nn], i = [n], a = "";
3576
3576
  typeof e.className == "string" ? a = Er(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
3577
- var l = Ue(i, void 0, F.useContext(ke));
3577
+ var l = qe(i, void 0, F.useContext(ke));
3578
3578
  if (process.env.NODE_ENV !== "production" && l.name.indexOf("-") === -1) {
3579
3579
  var u = e[on];
3580
- u && (l = Ue([l, "label:" + u + ";"]));
3580
+ u && (l = qe([l, "label:" + u + ";"]));
3581
3581
  }
3582
3582
  a += t.key + "-" + l.name;
3583
3583
  var f = {};
@@ -3726,7 +3726,7 @@ var Ms = {
3726
3726
  // means it will be turned into a className prop
3727
3727
  // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
3728
3728
  (e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), an = !0);
3729
- var r = e.styles, n = Ue([r], void 0, F.useContext(ke)), o = F.useRef();
3729
+ var r = e.styles, n = qe([r], void 0, F.useContext(ke)), o = F.useRef();
3730
3730
  return rn(function() {
3731
3731
  var i = t.key + "-global", a = new t.sheet.constructor({
3732
3732
  key: i,
@@ -3754,7 +3754,7 @@ process.env.NODE_ENV !== "production" && (io.displayName = "EmotionGlobal");
3754
3754
  function ao() {
3755
3755
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
3756
3756
  t[r] = arguments[r];
3757
- return Ue(t);
3757
+ return qe(t);
3758
3758
  }
3759
3759
  var Is = function() {
3760
3760
  var t = ao.apply(void 0, arguments), r = "animation-" + t.name;
@@ -3808,7 +3808,7 @@ var Rs = function(t) {
3808
3808
  throw new Error("css can only be used during render");
3809
3809
  for (var f = arguments.length, h = new Array(f), m = 0; m < f; m++)
3810
3810
  h[m] = arguments[m];
3811
- var g = Ue(h, t.registered);
3811
+ var g = qe(h, t.registered);
3812
3812
  return n.push(g), Ut(t, g, !1), t.key + "-" + g.name;
3813
3813
  }, i = function() {
3814
3814
  if (r && process.env.NODE_ENV !== "production")
@@ -3886,7 +3886,7 @@ You may have forgotten to import it.`);
3886
3886
  p.theme = F.useContext(ke);
3887
3887
  }
3888
3888
  typeof s.className == "string" ? _ = Er(d.registered, E, s.className) : s.className != null && (_ = s.className + " ");
3889
- var S = Ue(m.concat(E), d.registered, p);
3889
+ var S = qe(m.concat(E), d.registered, p);
3890
3890
  _ += d.key + "-" + S.name, a !== void 0 && (_ += " " + a);
3891
3891
  var M = f && l === void 0 ? dn(x) : u, I = {};
3892
3892
  for (var B in s)
@@ -4220,7 +4220,7 @@ q.private_safeColorChannel = void 0;
4220
4220
  q.private_safeDarken = h0;
4221
4221
  q.private_safeEmphasize = yo;
4222
4222
  q.private_safeLighten = m0;
4223
- q.recomposeColor = Ge;
4223
+ q.recomposeColor = Ke;
4224
4224
  q.rgbToHex = d0;
4225
4225
  var mn = fo(n0), s0 = fo(o0);
4226
4226
  function Nr(e, t = 0, r = 1) {
@@ -4271,7 +4271,7 @@ const c0 = (e, t) => {
4271
4271
  }
4272
4272
  };
4273
4273
  q.private_safeColorChannel = c0;
4274
- function Ge(e) {
4274
+ function Ke(e) {
4275
4275
  const {
4276
4276
  type: t,
4277
4277
  colorSpace: r
@@ -4296,7 +4296,7 @@ function po(e) {
4296
4296
  } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), a = (f, h = (f + r / 30) % 12) => o - i * Math.max(Math.min(h - 3, 9 - h, 1), -1);
4297
4297
  let l = "rgb";
4298
4298
  const u = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
4299
- return e.type === "hsla" && (l += "a", u.push(t[3])), Ge({
4299
+ return e.type === "hsla" && (l += "a", u.push(t[3])), Ke({
4300
4300
  type: l,
4301
4301
  values: u
4302
4302
  });
@@ -4311,7 +4311,7 @@ function u0(e, t) {
4311
4311
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
4312
4312
  }
4313
4313
  function go(e, t) {
4314
- return e = ie(e), t = Nr(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ge(e);
4314
+ return e = ie(e), t = Nr(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ke(e);
4315
4315
  }
4316
4316
  function f0(e, t, r) {
4317
4317
  try {
@@ -4326,7 +4326,7 @@ function kr(e, t) {
4326
4326
  else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
4327
4327
  for (let r = 0; r < 3; r += 1)
4328
4328
  e.values[r] *= 1 - t;
4329
- return Ge(e);
4329
+ return Ke(e);
4330
4330
  }
4331
4331
  function h0(e, t, r) {
4332
4332
  try {
@@ -4344,7 +4344,7 @@ function $r(e, t) {
4344
4344
  else if (e.type.indexOf("color") !== -1)
4345
4345
  for (let r = 0; r < 3; r += 1)
4346
4346
  e.values[r] += (1 - e.values[r]) * t;
4347
- return Ge(e);
4347
+ return Ke(e);
4348
4348
  }
4349
4349
  function m0(e, t, r) {
4350
4350
  try {
@@ -4365,7 +4365,7 @@ function yo(e, t, r) {
4365
4365
  }
4366
4366
  function g0(e, t, r, n = 1) {
4367
4367
  const o = (u, f) => Math.round((u ** (1 / n) * (1 - r) + f ** (1 / n) * r) ** n), i = ie(e), a = ie(t), l = [o(i.values[0], a.values[0]), o(i.values[1], a.values[1]), o(i.values[2], a.values[2])];
4368
- return Ge({
4368
+ return Ke({
4369
4369
  type: "rgb",
4370
4370
  values: l
4371
4371
  });
@@ -4433,7 +4433,7 @@ const y0 = {
4433
4433
  A200: "#ffab40",
4434
4434
  A400: "#ff9100",
4435
4435
  A700: "#ff6d00"
4436
- }, et = w0, S0 = {
4436
+ }, tt = w0, S0 = {
4437
4437
  50: "#e3f2fd",
4438
4438
  100: "#bbdefb",
4439
4439
  200: "#90caf9",
@@ -4602,14 +4602,14 @@ function M0(e = "light") {
4602
4602
  }
4603
4603
  function I0(e = "light") {
4604
4604
  return e === "dark" ? {
4605
- main: et[400],
4606
- light: et[300],
4607
- dark: et[700]
4605
+ main: tt[400],
4606
+ light: tt[300],
4607
+ dark: tt[700]
4608
4608
  } : {
4609
4609
  main: "#ed6c02",
4610
4610
  // closest to orange[800] that pass 3:1.
4611
- light: et[500],
4612
- dark: et[900]
4611
+ light: tt[500],
4612
+ dark: tt[900]
4613
4613
  };
4614
4614
  }
4615
4615
  function A0(e) {
@@ -4913,13 +4913,13 @@ function J0({
4913
4913
  }
4914
4914
  var ft = {};
4915
4915
  const Q0 = /* @__PURE__ */ he(Mo), el = /* @__PURE__ */ he(Io), tl = /* @__PURE__ */ he(qs), rl = /* @__PURE__ */ he(pi), nl = /* @__PURE__ */ he(Si), ol = /* @__PURE__ */ he(wi), il = /* @__PURE__ */ he(Na), al = /* @__PURE__ */ he(t0);
4916
- var Ke = uo;
4916
+ var Ze = uo;
4917
4917
  Object.defineProperty(ft, "__esModule", {
4918
4918
  value: !0
4919
4919
  });
4920
4920
  var sl = ft.default = wl, ll = ft.shouldForwardProp = St;
4921
4921
  ft.systemDefaultTheme = void 0;
4922
- var ne = Ke(Q0), ur = Ke(el), xn = yl(tl), cl = rl, dl = Ke(nl), ul = Ke(ol), fl = Ke(il), hl = Ke(al);
4922
+ var ne = Ze(Q0), ur = Ze(el), xn = yl(tl), cl = rl, dl = Ze(nl), ul = Ze(ol), fl = Ze(il), hl = Ze(al);
4923
4923
  const ml = ["ownerState"], pl = ["variants"], gl = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
4924
4924
  function xo(e) {
4925
4925
  if (typeof WeakMap != "function")
@@ -5477,9 +5477,9 @@ function Ll(e) {
5477
5477
  }, b.componentWillUnmount = function() {
5478
5478
  this._resetIsScrollingTimeoutId !== null && Cn(this._resetIsScrollingTimeoutId);
5479
5479
  }, b.render = function() {
5480
- var s = this.props, d = s.children, v = s.className, x = s.direction, _ = s.height, E = s.innerRef, p = s.innerElementType, w = s.innerTagName, S = s.itemCount, M = s.itemData, I = s.itemKey, B = I === void 0 ? zl : I, L = s.layout, W = s.outerElementType, K = s.outerTagName, ce = s.style, we = s.useIsScrolling, Se = s.width, $e = this.state.isScrolling, me = x === "horizontal" || L === "horizontal", Me = me ? this._onScrollHorizontal : this._onScrollVertical, Ee = this._getRangeToRender(), Ze = Ee[0], Xe = Ee[1], Ie = [];
5480
+ var s = this.props, d = s.children, v = s.className, x = s.direction, _ = s.height, E = s.innerRef, p = s.innerElementType, w = s.innerTagName, S = s.itemCount, M = s.itemData, I = s.itemKey, B = I === void 0 ? zl : I, L = s.layout, W = s.outerElementType, K = s.outerTagName, ce = s.style, we = s.useIsScrolling, Se = s.width, $e = this.state.isScrolling, me = x === "horizontal" || L === "horizontal", Me = me ? this._onScrollHorizontal : this._onScrollVertical, Ee = this._getRangeToRender(), Xe = Ee[0], Je = Ee[1], Ie = [];
5481
5481
  if (S > 0)
5482
- for (var pe = Ze; pe <= Xe; pe++)
5482
+ for (var pe = Xe; pe <= Je; pe++)
5483
5483
  Ie.push(er(d, {
5484
5484
  data: M,
5485
5485
  key: B(pe, M),
@@ -5677,7 +5677,7 @@ function kn(e) {
5677
5677
  transition: "0.2s",
5678
5678
  borderRadius: "5px",
5679
5679
  cursor: "pointer",
5680
- ...Tt({ backgroundColor: "#E5F5ED" }, e.select),
5680
+ ...Tt({ backgroundColor: We.primary200 }, e.select),
5681
5681
  ":hover": {
5682
5682
  backgroundColor: "#eeeeee80",
5683
5683
  borderColor: "transparent"
@@ -6334,7 +6334,7 @@ const wo = (e) => {
6334
6334
  }, o = () => {
6335
6335
  r(!0);
6336
6336
  };
6337
- return /* @__PURE__ */ c(qe, { children: t ? "" : /* @__PURE__ */ c("div", { className: Ce["subscription-diaglog"], children: /* @__PURE__ */ T("div", { className: Ce["subscription-container"], children: [
6337
+ return /* @__PURE__ */ c(Ye, { children: t ? "" : /* @__PURE__ */ c("div", { className: Ce["subscription-diaglog"], children: /* @__PURE__ */ T("div", { className: Ce["subscription-container"], children: [
6338
6338
  /* @__PURE__ */ c("h4", { className: Ce["subscription-title"], children: "Notification" }),
6339
6339
  /* @__PURE__ */ c("p", { className: Ce["subscription-text"], children: "Choice to receive notifications for the most recent updates. You have the flexibility to disable them whenever you prefer." }),
6340
6340
  /* @__PURE__ */ T("div", { className: Ce["subscription-btn__container"], children: [
@@ -6395,7 +6395,7 @@ const wo = (e) => {
6395
6395
  }, e1 = (e, t) => So.cloneElement(t, {}, e), x1 = ({
6396
6396
  children: e,
6397
6397
  providers: t
6398
- }) => /* @__PURE__ */ c(qe, { children: t.reduceRight(e1, e) });
6398
+ }) => /* @__PURE__ */ c(Ye, { children: t.reduceRight(e1, e) });
6399
6399
  export {
6400
6400
  kn as AutocompleteOption,
6401
6401
  b1 as BaseCheckbox,