@crystaltech/hsms-shared-ui 0.5.13 → 0.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -15841,7 +15841,7 @@ function tb(e, t, r) {
15841
15841
  const n = r(e);
15842
15842
  return typeof n == "string" ? n : "";
15843
15843
  }
15844
- function e7(e) {
15844
+ function eM(e) {
15845
15845
  const {
15846
15846
  // eslint-disable-next-line @typescript-eslint/naming-convention
15847
15847
  unstable_isActiveElementInListbox: t = _4,
@@ -16356,11 +16356,11 @@ function e7(e) {
16356
16356
  groupedOptions: Di
16357
16357
  };
16358
16358
  }
16359
- var Wt = "top", pr = "bottom", gr = "right", Kt = "left", PA = "auto", vi = [Wt, pr, gr, Kt], No = "start", Us = "end", t7 = "clippingParents", yB = "viewport", cs = "popper", r7 = "reference", rb = /* @__PURE__ */ vi.reduce(function(e, t) {
16359
+ var Wt = "top", pr = "bottom", gr = "right", Kt = "left", PA = "auto", vi = [Wt, pr, gr, Kt], No = "start", Us = "end", tM = "clippingParents", yB = "viewport", cs = "popper", rM = "reference", rb = /* @__PURE__ */ vi.reduce(function(e, t) {
16360
16360
  return e.concat([t + "-" + No, t + "-" + Us]);
16361
16361
  }, []), xB = /* @__PURE__ */ [].concat(vi, [PA]).reduce(function(e, t) {
16362
16362
  return e.concat([t, t + "-" + No, t + "-" + Us]);
16363
- }, []), n7 = "beforeRead", o7 = "read", s7 = "afterRead", i7 = "beforeMain", a7 = "main", l7 = "afterMain", c7 = "beforeWrite", u7 = "write", d7 = "afterWrite", f7 = [n7, o7, s7, i7, a7, l7, c7, u7, d7];
16363
+ }, []), nM = "beforeRead", oM = "read", sM = "afterRead", iM = "beforeMain", aM = "main", lM = "afterMain", cM = "beforeWrite", uM = "write", dM = "afterWrite", fM = [nM, oM, sM, iM, aM, lM, cM, uM, dM];
16364
16364
  function Hr(e) {
16365
16365
  return e ? (e.nodeName || "").toLowerCase() : null;
16366
16366
  }
@@ -16387,7 +16387,7 @@ function IA(e) {
16387
16387
  var t = nr(e).ShadowRoot;
16388
16388
  return e instanceof t || e instanceof ShadowRoot;
16389
16389
  }
16390
- function A7(e) {
16390
+ function AM(e) {
16391
16391
  var t = e.state;
16392
16392
  Object.keys(t.elements).forEach(function(r) {
16393
16393
  var n = t.styles[r] || {}, s = t.attributes[r] || {}, i = t.elements[r];
@@ -16397,7 +16397,7 @@ function A7(e) {
16397
16397
  }));
16398
16398
  });
16399
16399
  }
16400
- function p7(e) {
16400
+ function pM(e) {
16401
16401
  var t = e.state, r = {
16402
16402
  popper: {
16403
16403
  position: t.options.strategy,
@@ -16421,12 +16421,12 @@ function p7(e) {
16421
16421
  });
16422
16422
  };
16423
16423
  }
16424
- const g7 = {
16424
+ const gM = {
16425
16425
  name: "applyStyles",
16426
16426
  enabled: !0,
16427
16427
  phase: "write",
16428
- fn: A7,
16429
- effect: p7,
16428
+ fn: AM,
16429
+ effect: pM,
16430
16430
  requires: ["computeStyles"]
16431
16431
  };
16432
16432
  function jr(e) {
@@ -16484,7 +16484,7 @@ function EB(e, t) {
16484
16484
  function Ur(e) {
16485
16485
  return nr(e).getComputedStyle(e);
16486
16486
  }
16487
- function h7(e) {
16487
+ function hM(e) {
16488
16488
  return ["table", "td", "th"].indexOf(Hr(e)) >= 0;
16489
16489
  }
16490
16490
  function Cn(e) {
@@ -16509,7 +16509,7 @@ function nb(e) {
16509
16509
  return !fr(e) || // https://github.com/popperjs/popper-core/issues/837
16510
16510
  Ur(e).position === "fixed" ? null : e.offsetParent;
16511
16511
  }
16512
- function v7(e) {
16512
+ function vM(e) {
16513
16513
  var t = /firefox/i.test(Bf()), r = /Trident/i.test(Bf());
16514
16514
  if (r && fr(e)) {
16515
16515
  var n = Ur(e);
@@ -16526,9 +16526,9 @@ function v7(e) {
16526
16526
  return null;
16527
16527
  }
16528
16528
  function wi(e) {
16529
- for (var t = nr(e), r = nb(e); r && h7(r) && Ur(r).position === "static"; )
16529
+ for (var t = nr(e), r = nb(e); r && hM(r) && Ur(r).position === "static"; )
16530
16530
  r = nb(r);
16531
- return r && (Hr(r) === "html" || Hr(r) === "body" && Ur(r).position === "static") ? t : r || v7(e) || t;
16531
+ return r && (Hr(r) === "html" || Hr(r) === "body" && Ur(r).position === "static") ? t : r || vM(e) || t;
16532
16532
  }
16533
16533
  function MA(e) {
16534
16534
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -16536,7 +16536,7 @@ function MA(e) {
16536
16536
  function Qs(e, t, r) {
16537
16537
  return Fn(e, ba(t, r));
16538
16538
  }
16539
- function w7(e, t, r) {
16539
+ function wM(e, t, r) {
16540
16540
  var n = Qs(e, t, r);
16541
16541
  return n > r ? r : n;
16542
16542
  }
@@ -16556,41 +16556,41 @@ function IB(e, t) {
16556
16556
  return r[n] = e, r;
16557
16557
  }, {});
16558
16558
  }
16559
- var b7 = function(t, r) {
16559
+ var bM = function(t, r) {
16560
16560
  return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
16561
16561
  placement: r.placement
16562
16562
  })) : t, PB(typeof t != "number" ? t : IB(t, vi));
16563
16563
  };
16564
- function m7(e) {
16564
+ function mM(e) {
16565
16565
  var t, r = e.state, n = e.name, s = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, l = jr(r.placement), c = MA(l), u = [Kt, gr].indexOf(l) >= 0, d = u ? "height" : "width";
16566
16566
  if (!(!i || !a)) {
16567
- var f = b7(s.padding, r), A = SA(i), h = c === "y" ? Wt : Kt, v = c === "y" ? pr : gr, p = r.rects.reference[d] + r.rects.reference[c] - a[c] - r.rects.popper[d], w = a[c] - r.rects.reference[c], m = wi(i), C = m ? c === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, y = p / 2 - w / 2, B = f[h], D = C - A[d] - f[v], E = C / 2 - A[d] / 2 + y, I = Qs(B, E, D), P = c;
16567
+ var f = bM(s.padding, r), A = SA(i), h = c === "y" ? Wt : Kt, v = c === "y" ? pr : gr, p = r.rects.reference[d] + r.rects.reference[c] - a[c] - r.rects.popper[d], w = a[c] - r.rects.reference[c], m = wi(i), C = m ? c === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, y = p / 2 - w / 2, B = f[h], D = C - A[d] - f[v], E = C / 2 - A[d] / 2 + y, I = Qs(B, E, D), P = c;
16568
16568
  r.modifiersData[n] = (t = {}, t[P] = I, t.centerOffset = I - E, t);
16569
16569
  }
16570
16570
  }
16571
- function C7(e) {
16571
+ function CM(e) {
16572
16572
  var t = e.state, r = e.options, n = r.element, s = n === void 0 ? "[data-popper-arrow]" : n;
16573
16573
  s != null && (typeof s == "string" && (s = t.elements.popper.querySelector(s), !s) || EB(t.elements.popper, s) && (t.elements.arrow = s));
16574
16574
  }
16575
- const B7 = {
16575
+ const BM = {
16576
16576
  name: "arrow",
16577
16577
  enabled: !0,
16578
16578
  phase: "main",
16579
- fn: m7,
16580
- effect: C7,
16579
+ fn: mM,
16580
+ effect: CM,
16581
16581
  requires: ["popperOffsets"],
16582
16582
  requiresIfExists: ["preventOverflow"]
16583
16583
  };
16584
16584
  function Vo(e) {
16585
16585
  return e.split("-")[1];
16586
16586
  }
16587
- var y7 = {
16587
+ var yM = {
16588
16588
  top: "auto",
16589
16589
  right: "auto",
16590
16590
  bottom: "auto",
16591
16591
  left: "auto"
16592
16592
  };
16593
- function x7(e, t) {
16593
+ function xM(e, t) {
16594
16594
  var r = e.x, n = e.y, s = t.devicePixelRatio || 1;
16595
16595
  return {
16596
16596
  x: Xo(r * s) / s || 0,
@@ -16628,7 +16628,7 @@ function ob(e) {
16628
16628
  }
16629
16629
  var O = Object.assign({
16630
16630
  position: l
16631
- }, u && y7), S = d === !0 ? x7({
16631
+ }, u && yM), S = d === !0 ? xM({
16632
16632
  x: h,
16633
16633
  y: p
16634
16634
  }, nr(r)) : {
@@ -16641,7 +16641,7 @@ function ob(e) {
16641
16641
  }
16642
16642
  return Object.assign({}, O, (t = {}, t[B] = C ? p + "px" : "", t[y] = m ? h + "px" : "", t.transform = "", t));
16643
16643
  }
16644
- function D7(e) {
16644
+ function DM(e) {
16645
16645
  var t = e.state, r = e.options, n = r.gpuAcceleration, s = n === void 0 ? !0 : n, i = r.adaptive, a = i === void 0 ? !0 : i, l = r.roundOffsets, c = l === void 0 ? !0 : l, u = {
16646
16646
  placement: jr(t.placement),
16647
16647
  variation: Vo(t.placement),
@@ -16664,17 +16664,17 @@ function D7(e) {
16664
16664
  "data-popper-placement": t.placement
16665
16665
  });
16666
16666
  }
16667
- const E7 = {
16667
+ const EM = {
16668
16668
  name: "computeStyles",
16669
16669
  enabled: !0,
16670
16670
  phase: "beforeWrite",
16671
- fn: D7,
16671
+ fn: DM,
16672
16672
  data: {}
16673
16673
  };
16674
16674
  var Hi = {
16675
16675
  passive: !0
16676
16676
  };
16677
- function O7(e) {
16677
+ function OM(e) {
16678
16678
  var t = e.state, r = e.instance, n = e.options, s = n.scroll, i = s === void 0 ? !0 : s, a = n.resize, l = a === void 0 ? !0 : a, c = nr(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
16679
16679
  return i && u.forEach(function(d) {
16680
16680
  d.addEventListener("scroll", r.update, Hi);
@@ -16684,16 +16684,16 @@ function O7(e) {
16684
16684
  }), l && c.removeEventListener("resize", r.update, Hi);
16685
16685
  };
16686
16686
  }
16687
- const P7 = {
16687
+ const PM = {
16688
16688
  name: "eventListeners",
16689
16689
  enabled: !0,
16690
16690
  phase: "write",
16691
16691
  fn: function() {
16692
16692
  },
16693
- effect: O7,
16693
+ effect: OM,
16694
16694
  data: {}
16695
16695
  };
16696
- var I7 = {
16696
+ var IM = {
16697
16697
  left: "right",
16698
16698
  right: "left",
16699
16699
  bottom: "top",
@@ -16701,16 +16701,16 @@ var I7 = {
16701
16701
  };
16702
16702
  function Zi(e) {
16703
16703
  return e.replace(/left|right|bottom|top/g, function(t) {
16704
- return I7[t];
16704
+ return IM[t];
16705
16705
  });
16706
16706
  }
16707
- var S7 = {
16707
+ var SM = {
16708
16708
  start: "end",
16709
16709
  end: "start"
16710
16710
  };
16711
16711
  function sb(e) {
16712
16712
  return e.replace(/start|end/g, function(t) {
16713
- return S7[t];
16713
+ return SM[t];
16714
16714
  });
16715
16715
  }
16716
16716
  function FA(e) {
@@ -16723,7 +16723,7 @@ function FA(e) {
16723
16723
  function RA(e) {
16724
16724
  return Go(Cn(e)).left + FA(e).scrollLeft;
16725
16725
  }
16726
- function M7(e, t) {
16726
+ function MM(e, t) {
16727
16727
  var r = nr(e), n = Cn(e), s = r.visualViewport, i = n.clientWidth, a = n.clientHeight, l = 0, c = 0;
16728
16728
  if (s) {
16729
16729
  i = s.width, a = s.height;
@@ -16737,7 +16737,7 @@ function M7(e, t) {
16737
16737
  y: c
16738
16738
  };
16739
16739
  }
16740
- function F7(e) {
16740
+ function FM(e) {
16741
16741
  var t, r = Cn(e), n = FA(e), s = (t = e.ownerDocument) == null ? void 0 : t.body, i = Fn(r.scrollWidth, r.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), a = Fn(r.scrollHeight, r.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -n.scrollLeft + RA(e), c = -n.scrollTop;
16742
16742
  return Ur(s || r).direction === "rtl" && (l += Fn(r.clientWidth, s ? s.clientWidth : 0) - i), {
16743
16743
  width: i,
@@ -16770,21 +16770,21 @@ function yf(e) {
16770
16770
  bottom: e.y + e.height
16771
16771
  });
16772
16772
  }
16773
- function R7(e, t) {
16773
+ function RM(e, t) {
16774
16774
  var r = Go(e, !1, t === "fixed");
16775
16775
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
16776
16776
  }
16777
16777
  function ib(e, t, r) {
16778
- return t === yB ? yf(M7(e, r)) : Tn(t) ? R7(t, r) : yf(F7(Cn(e)));
16778
+ return t === yB ? yf(MM(e, r)) : Tn(t) ? RM(t, r) : yf(FM(Cn(e)));
16779
16779
  }
16780
- function L7(e) {
16780
+ function LM(e) {
16781
16781
  var t = Ts(cl(e)), r = ["absolute", "fixed"].indexOf(Ur(e).position) >= 0, n = r && fr(e) ? wi(e) : e;
16782
16782
  return Tn(n) ? t.filter(function(s) {
16783
16783
  return Tn(s) && EB(s, n) && Hr(s) !== "body";
16784
16784
  }) : [];
16785
16785
  }
16786
- function Q7(e, t, r, n) {
16787
- var s = t === "clippingParents" ? L7(e) : [].concat(t), i = [].concat(s, [r]), a = i[0], l = i.reduce(function(c, u) {
16786
+ function QM(e, t, r, n) {
16787
+ var s = t === "clippingParents" ? LM(e) : [].concat(t), i = [].concat(s, [r]), a = i[0], l = i.reduce(function(c, u) {
16788
16788
  var d = ib(e, u, n);
16789
16789
  return c.top = Fn(d.top, c.top), c.right = ba(d.right, c.right), c.bottom = ba(d.bottom, c.bottom), c.left = Fn(d.left, c.left), c;
16790
16790
  }, ib(e, a, n));
@@ -16839,7 +16839,7 @@ function MB(e) {
16839
16839
  }
16840
16840
  function qs(e, t) {
16841
16841
  t === void 0 && (t = {});
16842
- var r = t, n = r.placement, s = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, l = r.boundary, c = l === void 0 ? t7 : l, u = r.rootBoundary, d = u === void 0 ? yB : u, f = r.elementContext, A = f === void 0 ? cs : f, h = r.altBoundary, v = h === void 0 ? !1 : h, p = r.padding, w = p === void 0 ? 0 : p, m = PB(typeof w != "number" ? w : IB(w, vi)), C = A === cs ? r7 : cs, y = e.rects.popper, B = e.elements[v ? C : A], D = Q7(Tn(B) ? B : B.contextElement || Cn(e.elements.popper), c, d, a), E = Go(e.elements.reference), I = MB({
16842
+ var r = t, n = r.placement, s = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, l = r.boundary, c = l === void 0 ? tM : l, u = r.rootBoundary, d = u === void 0 ? yB : u, f = r.elementContext, A = f === void 0 ? cs : f, h = r.altBoundary, v = h === void 0 ? !1 : h, p = r.padding, w = p === void 0 ? 0 : p, m = PB(typeof w != "number" ? w : IB(w, vi)), C = A === cs ? rM : cs, y = e.rects.popper, B = e.elements[v ? C : A], D = QM(Tn(B) ? B : B.contextElement || Cn(e.elements.popper), c, d, a), E = Go(e.elements.reference), I = MB({
16843
16843
  reference: E,
16844
16844
  element: y,
16845
16845
  placement: s
@@ -16858,7 +16858,7 @@ function qs(e, t) {
16858
16858
  }
16859
16859
  return x;
16860
16860
  }
16861
- function T7(e, t) {
16861
+ function TM(e, t) {
16862
16862
  t === void 0 && (t = {});
16863
16863
  var r = t, n = r.placement, s = r.boundary, i = r.rootBoundary, a = r.padding, l = r.flipVariations, c = r.allowedAutoPlacements, u = c === void 0 ? xB : c, d = Vo(n), f = d ? l ? rb : rb.filter(function(v) {
16864
16864
  return Vo(v) === d;
@@ -16878,17 +16878,17 @@ function T7(e, t) {
16878
16878
  return h[v] - h[p];
16879
16879
  });
16880
16880
  }
16881
- function Y7(e) {
16881
+ function YM(e) {
16882
16882
  if (jr(e) === PA)
16883
16883
  return [];
16884
16884
  var t = Zi(e);
16885
16885
  return [sb(e), t, sb(t)];
16886
16886
  }
16887
- function j7(e) {
16887
+ function jM(e) {
16888
16888
  var t = e.state, r = e.options, n = e.name;
16889
16889
  if (!t.modifiersData[n]._skip) {
16890
- for (var s = r.mainAxis, i = s === void 0 ? !0 : s, a = r.altAxis, l = a === void 0 ? !0 : a, c = r.fallbackPlacements, u = r.padding, d = r.boundary, f = r.rootBoundary, A = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, p = r.allowedAutoPlacements, w = t.options.placement, m = jr(w), C = m === w, y = c || (C || !v ? [Zi(w)] : Y7(w)), B = [w].concat(y).reduce(function(ne, j) {
16891
- return ne.concat(jr(j) === PA ? T7(t, {
16890
+ for (var s = r.mainAxis, i = s === void 0 ? !0 : s, a = r.altAxis, l = a === void 0 ? !0 : a, c = r.fallbackPlacements, u = r.padding, d = r.boundary, f = r.rootBoundary, A = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, p = r.allowedAutoPlacements, w = t.options.placement, m = jr(w), C = m === w, y = c || (C || !v ? [Zi(w)] : YM(w)), B = [w].concat(y).reduce(function(ne, j) {
16891
+ return ne.concat(jr(j) === PA ? TM(t, {
16892
16892
  placement: j,
16893
16893
  boundary: d,
16894
16894
  rootBoundary: f,
@@ -16932,11 +16932,11 @@ function j7(e) {
16932
16932
  t.placement !== T && (t.modifiersData[n]._skip = !0, t.placement = T, t.reset = !0);
16933
16933
  }
16934
16934
  }
16935
- const z7 = {
16935
+ const zM = {
16936
16936
  name: "flip",
16937
16937
  enabled: !0,
16938
16938
  phase: "main",
16939
- fn: j7,
16939
+ fn: jM,
16940
16940
  requiresIfExists: ["offset"],
16941
16941
  data: {
16942
16942
  _skip: !1
@@ -16958,7 +16958,7 @@ function lb(e) {
16958
16958
  return e[t] >= 0;
16959
16959
  });
16960
16960
  }
16961
- function H7(e) {
16961
+ function HM(e) {
16962
16962
  var t = e.state, r = e.name, n = t.rects.reference, s = t.rects.popper, i = t.modifiersData.preventOverflow, a = qs(t, {
16963
16963
  elementContext: "reference"
16964
16964
  }), l = qs(t, {
@@ -16974,14 +16974,14 @@ function H7(e) {
16974
16974
  "data-popper-escaped": f
16975
16975
  });
16976
16976
  }
16977
- const k7 = {
16977
+ const kM = {
16978
16978
  name: "hide",
16979
16979
  enabled: !0,
16980
16980
  phase: "main",
16981
16981
  requiresIfExists: ["preventOverflow"],
16982
- fn: H7
16982
+ fn: HM
16983
16983
  };
16984
- function N7(e, t, r) {
16984
+ function NM(e, t, r) {
16985
16985
  var n = jr(e), s = [Kt, Wt].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
16986
16986
  placement: e
16987
16987
  })) : r, a = i[0], l = i[1];
@@ -16993,20 +16993,20 @@ function N7(e, t, r) {
16993
16993
  y: l
16994
16994
  };
16995
16995
  }
16996
- function X7(e) {
16996
+ function XM(e) {
16997
16997
  var t = e.state, r = e.options, n = e.name, s = r.offset, i = s === void 0 ? [0, 0] : s, a = xB.reduce(function(d, f) {
16998
- return d[f] = N7(f, t.rects, i), d;
16998
+ return d[f] = NM(f, t.rects, i), d;
16999
16999
  }, {}), l = a[t.placement], c = l.x, u = l.y;
17000
17000
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += u), t.modifiersData[n] = a;
17001
17001
  }
17002
- const G7 = {
17002
+ const GM = {
17003
17003
  name: "offset",
17004
17004
  enabled: !0,
17005
17005
  phase: "main",
17006
17006
  requires: ["popperOffsets"],
17007
- fn: X7
17007
+ fn: XM
17008
17008
  };
17009
- function V7(e) {
17009
+ function VM(e) {
17010
17010
  var t = e.state, r = e.name;
17011
17011
  t.modifiersData[r] = MB({
17012
17012
  reference: t.rects.reference,
@@ -17014,23 +17014,23 @@ function V7(e) {
17014
17014
  placement: t.placement
17015
17015
  });
17016
17016
  }
17017
- const W7 = {
17017
+ const WM = {
17018
17018
  name: "popperOffsets",
17019
17019
  enabled: !0,
17020
17020
  phase: "read",
17021
- fn: V7,
17021
+ fn: VM,
17022
17022
  data: {}
17023
17023
  };
17024
- function K7(e) {
17024
+ function KM(e) {
17025
17025
  return e === "x" ? "y" : "x";
17026
17026
  }
17027
- function U7(e) {
17027
+ function UM(e) {
17028
17028
  var t = e.state, r = e.options, n = e.name, s = r.mainAxis, i = s === void 0 ? !0 : s, a = r.altAxis, l = a === void 0 ? !1 : a, c = r.boundary, u = r.rootBoundary, d = r.altBoundary, f = r.padding, A = r.tether, h = A === void 0 ? !0 : A, v = r.tetherOffset, p = v === void 0 ? 0 : v, w = qs(t, {
17029
17029
  boundary: c,
17030
17030
  rootBoundary: u,
17031
17031
  padding: f,
17032
17032
  altBoundary: d
17033
- }), m = jr(t.placement), C = Vo(t.placement), y = !C, B = MA(m), D = K7(B), E = t.modifiersData.popperOffsets, I = t.rects.reference, P = t.rects.popper, T = typeof p == "function" ? p(Object.assign({}, t.rects, {
17033
+ }), m = jr(t.placement), C = Vo(t.placement), y = !C, B = MA(m), D = KM(B), E = t.modifiersData.popperOffsets, I = t.rects.reference, P = t.rects.popper, T = typeof p == "function" ? p(Object.assign({}, t.rects, {
17034
17034
  placement: t.placement
17035
17035
  })) : p, x = typeof T == "number" ? {
17036
17036
  mainAxis: T,
@@ -17051,35 +17051,35 @@ function U7(e) {
17051
17051
  E[B] = ae, S[B] = ae - U;
17052
17052
  }
17053
17053
  if (l) {
17054
- var q, de = B === "x" ? Wt : Kt, Ae = B === "x" ? pr : gr, De = E[D], Y = D === "y" ? "height" : "width", re = De + w[de], ge = De - w[Ae], Ce = [Wt, Kt].indexOf(m) !== -1, ze = (q = O == null ? void 0 : O[D]) != null ? q : 0, Re = Ce ? re : De - I[Y] - P[Y] - ze + x.altAxis, Ee = Ce ? De + I[Y] + P[Y] - ze - x.altAxis : ge, Ge = h && Ce ? w7(Re, De, Ee) : Qs(h ? Re : re, De, h ? Ee : ge);
17054
+ var q, de = B === "x" ? Wt : Kt, Ae = B === "x" ? pr : gr, De = E[D], Y = D === "y" ? "height" : "width", re = De + w[de], ge = De - w[Ae], Ce = [Wt, Kt].indexOf(m) !== -1, ze = (q = O == null ? void 0 : O[D]) != null ? q : 0, Re = Ce ? re : De - I[Y] - P[Y] - ze + x.altAxis, Ee = Ce ? De + I[Y] + P[Y] - ze - x.altAxis : ge, Ge = h && Ce ? wM(Re, De, Ee) : Qs(h ? Re : re, De, h ? Ee : ge);
17055
17055
  E[D] = Ge, S[D] = Ge - De;
17056
17056
  }
17057
17057
  t.modifiersData[n] = S;
17058
17058
  }
17059
17059
  }
17060
- const q7 = {
17060
+ const qM = {
17061
17061
  name: "preventOverflow",
17062
17062
  enabled: !0,
17063
17063
  phase: "main",
17064
- fn: U7,
17064
+ fn: UM,
17065
17065
  requiresIfExists: ["offset"]
17066
17066
  };
17067
- function J7(e) {
17067
+ function JM(e) {
17068
17068
  return {
17069
17069
  scrollLeft: e.scrollLeft,
17070
17070
  scrollTop: e.scrollTop
17071
17071
  };
17072
17072
  }
17073
- function Z7(e) {
17074
- return e === nr(e) || !fr(e) ? FA(e) : J7(e);
17073
+ function ZM(e) {
17074
+ return e === nr(e) || !fr(e) ? FA(e) : JM(e);
17075
17075
  }
17076
- function _7(e) {
17076
+ function _M(e) {
17077
17077
  var t = e.getBoundingClientRect(), r = Xo(t.width) / e.offsetWidth || 1, n = Xo(t.height) / e.offsetHeight || 1;
17078
17078
  return r !== 1 || n !== 1;
17079
17079
  }
17080
- function $7(e, t, r) {
17080
+ function $M(e, t, r) {
17081
17081
  r === void 0 && (r = !1);
17082
- var n = fr(t), s = fr(t) && _7(t), i = Cn(t), a = Go(e, s, r), l = {
17082
+ var n = fr(t), s = fr(t) && _M(t), i = Cn(t), a = Go(e, s, r), l = {
17083
17083
  scrollLeft: 0,
17084
17084
  scrollTop: 0
17085
17085
  }, c = {
@@ -17087,14 +17087,14 @@ function $7(e, t, r) {
17087
17087
  y: 0
17088
17088
  };
17089
17089
  return (n || !n && !r) && ((Hr(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
17090
- LA(i)) && (l = Z7(t)), fr(t) ? (c = Go(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = RA(i))), {
17090
+ LA(i)) && (l = ZM(t)), fr(t) ? (c = Go(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = RA(i))), {
17091
17091
  x: a.left + l.scrollLeft - c.x,
17092
17092
  y: a.top + l.scrollTop - c.y,
17093
17093
  width: a.width,
17094
17094
  height: a.height
17095
17095
  };
17096
17096
  }
17097
- function eM(e) {
17097
+ function e7(e) {
17098
17098
  var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
17099
17099
  e.forEach(function(i) {
17100
17100
  t.set(i.name, i);
@@ -17113,15 +17113,15 @@ function eM(e) {
17113
17113
  r.has(i.name) || s(i);
17114
17114
  }), n;
17115
17115
  }
17116
- function tM(e) {
17117
- var t = eM(e);
17118
- return f7.reduce(function(r, n) {
17116
+ function t7(e) {
17117
+ var t = e7(e);
17118
+ return fM.reduce(function(r, n) {
17119
17119
  return r.concat(t.filter(function(s) {
17120
17120
  return s.phase === n;
17121
17121
  }));
17122
17122
  }, []);
17123
17123
  }
17124
- function rM(e) {
17124
+ function r7(e) {
17125
17125
  var t;
17126
17126
  return function() {
17127
17127
  return t || (t = new Promise(function(r) {
@@ -17131,7 +17131,7 @@ function rM(e) {
17131
17131
  })), t;
17132
17132
  };
17133
17133
  }
17134
- function nM(e) {
17134
+ function n7(e) {
17135
17135
  var t = e.reduce(function(r, n) {
17136
17136
  var s = r[n.name];
17137
17137
  return r[n.name] = s ? Object.assign({}, s, n, {
@@ -17155,7 +17155,7 @@ function ub() {
17155
17155
  return !(n && typeof n.getBoundingClientRect == "function");
17156
17156
  });
17157
17157
  }
17158
- function oM(e) {
17158
+ function o7(e) {
17159
17159
  e === void 0 && (e = {});
17160
17160
  var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, s = t.defaultOptions, i = s === void 0 ? cb : s;
17161
17161
  return function(l, c, u) {
@@ -17179,7 +17179,7 @@ function oM(e) {
17179
17179
  reference: Tn(l) ? Ts(l) : l.contextElement ? Ts(l.contextElement) : [],
17180
17180
  popper: Ts(c)
17181
17181
  };
17182
- var y = tM(nM([].concat(n, d.options.modifiers)));
17182
+ var y = t7(n7([].concat(n, d.options.modifiers)));
17183
17183
  return d.orderedModifiers = y.filter(function(B) {
17184
17184
  return B.enabled;
17185
17185
  }), v(), h.update();
@@ -17194,7 +17194,7 @@ function oM(e) {
17194
17194
  var m = d.elements, C = m.reference, y = m.popper;
17195
17195
  if (ub(C, y)) {
17196
17196
  d.rects = {
17197
- reference: $7(C, wi(y), d.options.strategy === "fixed"),
17197
+ reference: $M(C, wi(y), d.options.strategy === "fixed"),
17198
17198
  popper: SA(y)
17199
17199
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(x) {
17200
17200
  return d.modifiersData[x.name] = Object.assign({}, x.data);
@@ -17217,7 +17217,7 @@ function oM(e) {
17217
17217
  },
17218
17218
  // Async and optimistically optimized update – it will not be executed if
17219
17219
  // not necessary (debounced to run at most once-per-tick)
17220
- update: rM(function() {
17220
+ update: r7(function() {
17221
17221
  return new Promise(function(w) {
17222
17222
  h.forceUpdate(), w(d);
17223
17223
  });
@@ -17254,10 +17254,10 @@ function oM(e) {
17254
17254
  return h;
17255
17255
  };
17256
17256
  }
17257
- var sM = [P7, W7, E7, g7, G7, z7, q7, B7, k7], iM = /* @__PURE__ */ oM({
17258
- defaultModifiers: sM
17257
+ var s7 = [PM, WM, EM, gM, GM, zM, qM, BM, kM], i7 = /* @__PURE__ */ o7({
17258
+ defaultModifiers: s7
17259
17259
  });
17260
- function aM(e) {
17260
+ function a7(e) {
17261
17261
  return typeof e == "function" ? e() : e;
17262
17262
  }
17263
17263
  const Js = /* @__PURE__ */ b.forwardRef(function(t, r) {
@@ -17267,7 +17267,7 @@ const Js = /* @__PURE__ */ b.forwardRef(function(t, r) {
17267
17267
  disablePortal: i = !1
17268
17268
  } = t, [a, l] = b.useState(null), c = et(/* @__PURE__ */ b.isValidElement(n) ? ii(n) : null, r);
17269
17269
  if (Ot(() => {
17270
- i || l(aM(s) || document.body);
17270
+ i || l(a7(s) || document.body);
17271
17271
  }, [s, i]), Ot(() => {
17272
17272
  if (a && !i)
17273
17273
  return ia(r, a), () => {
@@ -17311,11 +17311,11 @@ process.env.NODE_ENV !== "production" && (Js.propTypes = {
17311
17311
  disablePortal: o.bool
17312
17312
  });
17313
17313
  process.env.NODE_ENV !== "production" && (Js.propTypes = Im(Js.propTypes));
17314
- function lM(e) {
17314
+ function l7(e) {
17315
17315
  return we("MuiPopper", e);
17316
17316
  }
17317
17317
  be("MuiPopper", ["root"]);
17318
- function cM(e, t) {
17318
+ function c7(e, t) {
17319
17319
  if (t === "ltr")
17320
17320
  return e;
17321
17321
  switch (e) {
@@ -17337,17 +17337,17 @@ function ma(e) {
17337
17337
  function ul(e) {
17338
17338
  return e.nodeType !== void 0;
17339
17339
  }
17340
- function uM(e) {
17340
+ function u7(e) {
17341
17341
  return !ul(e);
17342
17342
  }
17343
- const dM = (e) => {
17343
+ const d7 = (e) => {
17344
17344
  const {
17345
17345
  classes: t
17346
17346
  } = e;
17347
17347
  return ve({
17348
17348
  root: ["root"]
17349
- }, lM, t);
17350
- }, fM = {}, AM = /* @__PURE__ */ b.forwardRef(function(t, r) {
17349
+ }, l7, t);
17350
+ }, f7 = {}, A7 = /* @__PURE__ */ b.forwardRef(function(t, r) {
17351
17351
  const {
17352
17352
  anchorEl: n,
17353
17353
  children: s,
@@ -17369,7 +17369,7 @@ const dM = (e) => {
17369
17369
  Ot(() => {
17370
17370
  D.current = B;
17371
17371
  }, [B]), b.useImperativeHandle(f, () => y.current, []);
17372
- const E = cM(u, i), [I, P] = b.useState(E), [T, x] = b.useState(ma(n));
17372
+ const E = c7(u, i), [I, P] = b.useState(E), [T, x] = b.useState(ma(n));
17373
17373
  b.useEffect(() => {
17374
17374
  y.current && y.current.forceUpdate();
17375
17375
  }), b.useEffect(() => {
@@ -17406,7 +17406,7 @@ const dM = (e) => {
17406
17406
  }
17407
17407
  }];
17408
17408
  l != null && (Q = Q.concat(l)), d && d.modifiers != null && (Q = Q.concat(d.modifiers));
17409
- const U = iM(T, m.current, {
17409
+ const U = i7(T, m.current, {
17410
17410
  placement: E,
17411
17411
  ...d,
17412
17412
  modifiers: Q
@@ -17419,7 +17419,7 @@ const dM = (e) => {
17419
17419
  placement: I
17420
17420
  };
17421
17421
  v !== null && (O.TransitionProps = v);
17422
- const S = dM(t), F = h.root ?? "div", R = _e({
17422
+ const S = d7(t), F = h.root ?? "div", R = _e({
17423
17423
  elementType: F,
17424
17424
  externalSlotProps: A.root,
17425
17425
  externalForwardedProps: w,
@@ -17445,7 +17445,7 @@ const dM = (e) => {
17445
17445
  modifiers: u,
17446
17446
  open: d,
17447
17447
  placement: f = "bottom",
17448
- popperOptions: A = fM,
17448
+ popperOptions: A = f7,
17449
17449
  popperRef: h,
17450
17450
  style: v,
17451
17451
  transition: p = !1,
@@ -17474,7 +17474,7 @@ const dM = (e) => {
17474
17474
  return /* @__PURE__ */ g.jsx(Js, {
17475
17475
  disablePortal: l,
17476
17476
  container: I,
17477
- children: /* @__PURE__ */ g.jsx(AM, {
17477
+ children: /* @__PURE__ */ g.jsx(A7, {
17478
17478
  anchorEl: n,
17479
17479
  direction: a,
17480
17480
  disablePortal: l,
@@ -17520,7 +17520,7 @@ process.env.NODE_ENV !== "production" && (FB.propTypes = {
17520
17520
  if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
17521
17521
  return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
17522
17522
  `));
17523
- } else if (!t || typeof t.getBoundingClientRect != "function" || uM(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
17523
+ } else if (!t || typeof t.getBoundingClientRect != "function" || u7(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
17524
17524
  return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
17525
17525
  `));
17526
17526
  }
@@ -17622,7 +17622,7 @@ process.env.NODE_ENV !== "production" && (FB.propTypes = {
17622
17622
  */
17623
17623
  transition: o.bool
17624
17624
  });
17625
- const pM = W(FB, {
17625
+ const p7 = W(FB, {
17626
17626
  name: "MuiPopper",
17627
17627
  slot: "Root",
17628
17628
  overridesResolver: (e, t) => t.root
@@ -17660,7 +17660,7 @@ const pM = W(FB, {
17660
17660
  transition: m,
17661
17661
  ...B
17662
17662
  };
17663
- return /* @__PURE__ */ g.jsx(pM, {
17663
+ return /* @__PURE__ */ g.jsx(p7, {
17664
17664
  as: a,
17665
17665
  direction: n ? "rtl" : "ltr",
17666
17666
  slots: {
@@ -17802,11 +17802,11 @@ process.env.NODE_ENV !== "production" && (dl.propTypes = {
17802
17802
  */
17803
17803
  transition: o.bool
17804
17804
  });
17805
- function gM(e) {
17805
+ function g7(e) {
17806
17806
  return we("MuiListSubheader", e);
17807
17807
  }
17808
17808
  be("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
17809
- const hM = (e) => {
17809
+ const h7 = (e) => {
17810
17810
  const {
17811
17811
  classes: t,
17812
17812
  color: r,
@@ -17816,8 +17816,8 @@ const hM = (e) => {
17816
17816
  } = e, a = {
17817
17817
  root: ["root", r !== "default" && `color${fe(r)}`, !n && "gutters", s && "inset", !i && "sticky"]
17818
17818
  };
17819
- return ve(a, gM, t);
17820
- }, vM = W("li", {
17819
+ return ve(a, g7, t);
17820
+ }, v7 = W("li", {
17821
17821
  name: "MuiListSubheader",
17822
17822
  slot: "Root",
17823
17823
  overridesResolver: (e, t) => {
@@ -17895,8 +17895,8 @@ const hM = (e) => {
17895
17895
  disableGutters: l,
17896
17896
  disableSticky: c,
17897
17897
  inset: u
17898
- }, A = hM(f);
17899
- return /* @__PURE__ */ g.jsx(vM, {
17898
+ }, A = h7(f);
17899
+ return /* @__PURE__ */ g.jsx(v7, {
17900
17900
  as: a,
17901
17901
  className: pe(A.root, s),
17902
17902
  ref: r,
@@ -17952,11 +17952,11 @@ process.env.NODE_ENV !== "production" && (Ca.propTypes = {
17952
17952
  */
17953
17953
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
17954
17954
  });
17955
- function wM(e) {
17955
+ function w7(e) {
17956
17956
  return we("MuiPaper", e);
17957
17957
  }
17958
17958
  be("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
17959
- const bM = (e) => {
17959
+ const b7 = (e) => {
17960
17960
  const {
17961
17961
  square: t,
17962
17962
  elevation: r,
@@ -17965,8 +17965,8 @@ const bM = (e) => {
17965
17965
  } = e, i = {
17966
17966
  root: ["root", n, !t && "rounded", n === "elevation" && `elevation${r}`]
17967
17967
  };
17968
- return ve(i, wM, s);
17969
- }, mM = W("div", {
17968
+ return ve(i, w7, s);
17969
+ }, m7 = W("div", {
17970
17970
  name: "MuiPaper",
17971
17971
  slot: "Root",
17972
17972
  overridesResolver: (e, t) => {
@@ -18022,9 +18022,9 @@ const bM = (e) => {
18022
18022
  elevation: l,
18023
18023
  square: c,
18024
18024
  variant: u
18025
- }, A = bM(f);
18025
+ }, A = b7(f);
18026
18026
  return process.env.NODE_ENV !== "production" && s.shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
18027
- `)), /* @__PURE__ */ g.jsx(mM, {
18027
+ `)), /* @__PURE__ */ g.jsx(m7, {
18028
18028
  as: a,
18029
18029
  ownerState: f,
18030
18030
  className: pe(A.root, i),
@@ -18097,10 +18097,10 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
18097
18097
  */
18098
18098
  variant: o.oneOfType([o.oneOf(["elevation", "outlined"]), o.string])
18099
18099
  });
18100
- function CM(e) {
18100
+ function C7(e) {
18101
18101
  return we("MuiIconButton", e);
18102
18102
  }
18103
- const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), BM = (e) => {
18103
+ const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), B7 = (e) => {
18104
18104
  const {
18105
18105
  classes: t,
18106
18106
  disabled: r,
@@ -18113,8 +18113,8 @@ const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
18113
18113
  loadingIndicator: ["loadingIndicator"],
18114
18114
  loadingWrapper: ["loadingWrapper"]
18115
18115
  };
18116
- return ve(l, CM, t);
18117
- }, yM = W(Or, {
18116
+ return ve(l, C7, t);
18117
+ }, y7 = W(Or, {
18118
18118
  name: "MuiIconButton",
18119
18119
  slot: "Root",
18120
18120
  overridesResolver: (e, t) => {
@@ -18226,7 +18226,7 @@ const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
18226
18226
  [`&.${db.loading}`]: {
18227
18227
  color: "transparent"
18228
18228
  }
18229
- }))), xM = W("span", {
18229
+ }))), x7 = W("span", {
18230
18230
  name: "MuiIconButton",
18231
18231
  slot: "LoadingIndicator",
18232
18232
  overridesResolver: (e, t) => t.loadingIndicator
@@ -18277,8 +18277,8 @@ const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
18277
18277
  loading: A,
18278
18278
  loadingIndicator: w,
18279
18279
  size: d
18280
- }, C = BM(m);
18281
- return /* @__PURE__ */ g.jsxs(yM, {
18280
+ }, C = B7(m);
18281
+ return /* @__PURE__ */ g.jsxs(y7, {
18282
18282
  id: A ? p : f,
18283
18283
  className: pe(C.root, a),
18284
18284
  centerRipple: !0,
@@ -18293,7 +18293,7 @@ const db = be("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
18293
18293
  style: {
18294
18294
  display: "contents"
18295
18295
  },
18296
- children: /* @__PURE__ */ g.jsx(xM, {
18296
+ children: /* @__PURE__ */ g.jsx(x7, {
18297
18297
  className: C.loadingIndicator,
18298
18298
  ownerState: m,
18299
18299
  children: A && w
@@ -18380,13 +18380,13 @@ process.env.NODE_ENV !== "production" && (yn.propTypes = {
18380
18380
  */
18381
18381
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
18382
18382
  });
18383
- const DM = nt(/* @__PURE__ */ g.jsx("path", {
18383
+ const D7 = nt(/* @__PURE__ */ g.jsx("path", {
18384
18384
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
18385
18385
  }), "Cancel");
18386
- function EM(e) {
18386
+ function E7(e) {
18387
18387
  return we("MuiChip", e);
18388
18388
  }
18389
- const Ue = be("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), OM = (e) => {
18389
+ const Ue = be("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), O7 = (e) => {
18390
18390
  const {
18391
18391
  classes: t,
18392
18392
  disabled: r,
@@ -18403,8 +18403,8 @@ const Ue = be("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
18403
18403
  icon: ["icon", `icon${fe(n)}`, `iconColor${fe(i)}`],
18404
18404
  deleteIcon: ["deleteIcon", `deleteIcon${fe(n)}`, `deleteIconColor${fe(s)}`, `deleteIcon${fe(c)}Color${fe(s)}`]
18405
18405
  };
18406
- return ve(u, EM, t);
18407
- }, PM = W("div", {
18406
+ return ve(u, E7, t);
18407
+ }, P7 = W("div", {
18408
18408
  name: "MuiChip",
18409
18409
  slot: "Root",
18410
18410
  overridesResolver: (e, t) => {
@@ -18656,7 +18656,7 @@ const Ue = be("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
18656
18656
  }
18657
18657
  }))]
18658
18658
  };
18659
- })), IM = W("span", {
18659
+ })), I7 = W("span", {
18660
18660
  name: "MuiChip",
18661
18661
  slot: "Label",
18662
18662
  overridesResolver: (e, t) => {
@@ -18743,7 +18743,7 @@ const QA = /* @__PURE__ */ b.forwardRef(function(t, r) {
18743
18743
  onDelete: !!v,
18744
18744
  clickable: O,
18745
18745
  variant: C
18746
- }, R = OM(F), L = S === Or ? {
18746
+ }, R = O7(F), L = S === Or ? {
18747
18747
  component: c || "div",
18748
18748
  focusVisibleClassName: R.focusVisible,
18749
18749
  ...v && {
@@ -18754,7 +18754,7 @@ const QA = /* @__PURE__ */ b.forwardRef(function(t, r) {
18754
18754
  v && (Q = u && /* @__PURE__ */ b.isValidElement(u) ? /* @__PURE__ */ b.cloneElement(u, {
18755
18755
  className: pe(u.props.className, R.deleteIcon),
18756
18756
  onClick: P
18757
- }) : /* @__PURE__ */ g.jsx(DM, {
18757
+ }) : /* @__PURE__ */ g.jsx(D7, {
18758
18758
  className: pe(R.deleteIcon),
18759
18759
  onClick: P
18760
18760
  }));
@@ -18765,7 +18765,7 @@ const QA = /* @__PURE__ */ b.forwardRef(function(t, r) {
18765
18765
  let _ = null;
18766
18766
  return f && /* @__PURE__ */ b.isValidElement(f) && (_ = /* @__PURE__ */ b.cloneElement(f, {
18767
18767
  className: pe(R.icon, f.props.className)
18768
- })), process.env.NODE_ENV !== "production" && U && _ && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ g.jsxs(PM, {
18768
+ })), process.env.NODE_ENV !== "production" && U && _ && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ g.jsxs(P7, {
18769
18769
  as: S,
18770
18770
  className: pe(R.root, i),
18771
18771
  disabled: O && d ? !0 : void 0,
@@ -18777,7 +18777,7 @@ const QA = /* @__PURE__ */ b.forwardRef(function(t, r) {
18777
18777
  ownerState: F,
18778
18778
  ...L,
18779
18779
  ...D,
18780
- children: [U || _, /* @__PURE__ */ g.jsx(IM, {
18780
+ children: [U || _, /* @__PURE__ */ g.jsx(I7, {
18781
18781
  className: pe(R.label),
18782
18782
  ownerState: F,
18783
18783
  children: A
@@ -18889,7 +18889,7 @@ process.env.NODE_ENV !== "production" && (QA.propTypes = {
18889
18889
  function ki(e) {
18890
18890
  return parseInt(e, 10) || 0;
18891
18891
  }
18892
- const SM = {
18892
+ const S7 = {
18893
18893
  shadow: {
18894
18894
  // Visibility needed to hide the extra text area on iPads
18895
18895
  visibility: "hidden",
@@ -18904,13 +18904,13 @@ const SM = {
18904
18904
  transform: "translateZ(0)"
18905
18905
  }
18906
18906
  };
18907
- function MM(e) {
18907
+ function M7(e) {
18908
18908
  for (const t in e)
18909
18909
  return !1;
18910
18910
  return !0;
18911
18911
  }
18912
- function FM(e) {
18913
- return MM(e) || e.outerHeightStyle === 0 && !e.overflowing;
18912
+ function F7(e) {
18913
+ return M7(e) || e.outerHeightStyle === 0 && !e.overflowing;
18914
18914
  }
18915
18915
  const RB = /* @__PURE__ */ b.forwardRef(function(t, r) {
18916
18916
  const {
@@ -18946,7 +18946,7 @@ const RB = /* @__PURE__ */ b.forwardRef(function(t, r) {
18946
18946
  };
18947
18947
  }, [s, i, t.placeholder]), p = b.useCallback(() => {
18948
18948
  const C = d.current, y = v();
18949
- if (!C || !y || FM(y))
18949
+ if (!C || !y || F7(y))
18950
18950
  return;
18951
18951
  const B = y.outerHeightStyle;
18952
18952
  A.current !== B && (A.current = B, C.style.height = `${B}px`), C.style.overflow = y.overflowing ? "hidden" : "";
@@ -18986,7 +18986,7 @@ const RB = /* @__PURE__ */ b.forwardRef(function(t, r) {
18986
18986
  ref: h,
18987
18987
  tabIndex: -1,
18988
18988
  style: {
18989
- ...SM.shadow,
18989
+ ...S7.shadow,
18990
18990
  ...a,
18991
18991
  paddingTop: 0,
18992
18992
  paddingBottom: 0
@@ -19050,10 +19050,10 @@ function Ab(e) {
19050
19050
  function Ba(e, t = !1) {
19051
19051
  return e && (Ab(e.value) && e.value !== "" || t && Ab(e.defaultValue) && e.defaultValue !== "");
19052
19052
  }
19053
- function RM(e) {
19053
+ function R7(e) {
19054
19054
  return e.startAdornment;
19055
19055
  }
19056
- function LM(e) {
19056
+ function L7(e) {
19057
19057
  return we("MuiInputBase", e);
19058
19058
  }
19059
19059
  const _t = be("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
@@ -19068,7 +19068,7 @@ const fl = (e, t) => {
19068
19068
  ownerState: r
19069
19069
  } = e;
19070
19070
  return [t.input, r.size === "small" && t.inputSizeSmall, r.multiline && t.inputMultiline, r.type === "search" && t.inputTypeSearch, r.startAdornment && t.inputAdornedStart, r.endAdornment && t.inputAdornedEnd, r.hiddenLabel && t.inputHiddenLabel];
19071
- }, QM = (e) => {
19071
+ }, Q7 = (e) => {
19072
19072
  const {
19073
19073
  classes: t,
19074
19074
  color: r,
@@ -19088,7 +19088,7 @@ const fl = (e, t) => {
19088
19088
  root: ["root", `color${fe(r)}`, n && "disabled", s && "error", c && "fullWidth", a && "focused", l && "formControl", A && A !== "medium" && `size${fe(A)}`, d && "multiline", h && "adornedStart", i && "adornedEnd", u && "hiddenLabel", f && "readOnly"],
19089
19089
  input: ["input", n && "disabled", v === "search" && "inputTypeSearch", d && "inputMultiline", A === "small" && "inputSizeSmall", u && "inputHiddenLabel", h && "inputAdornedStart", i && "inputAdornedEnd", f && "readOnly"]
19090
19090
  };
19091
- return ve(p, LM, t);
19091
+ return ve(p, L7, t);
19092
19092
  }, pl = W("div", {
19093
19093
  name: "MuiInputBase",
19094
19094
  slot: "Root",
@@ -19384,7 +19384,7 @@ const fl = (e, t) => {
19384
19384
  size: ee.size,
19385
19385
  startAdornment: le,
19386
19386
  type: ne
19387
- }, Ee = QM(Re), Ge = ce.root || u.Root || pl, qe = k.root || d.root || {}, Se = ce.input || u.Input || gl;
19387
+ }, Ee = Q7(Re), Ge = ce.root || u.Root || pl, qe = k.root || d.root || {}, Se = ce.input || u.Input || gl;
19388
19388
  return Ce = {
19389
19389
  ...Ce,
19390
19390
  ...k.input ?? d.input
@@ -19672,21 +19672,21 @@ process.env.NODE_ENV !== "production" && (hl.propTypes = {
19672
19672
  */
19673
19673
  value: o.any
19674
19674
  });
19675
- function TM(e) {
19675
+ function T7(e) {
19676
19676
  return we("MuiInput", e);
19677
19677
  }
19678
19678
  const cn = {
19679
19679
  ..._t,
19680
19680
  ...be("MuiInput", ["root", "underline", "input"])
19681
19681
  };
19682
- function YM(e) {
19682
+ function Y7(e) {
19683
19683
  return we("MuiOutlinedInput", e);
19684
19684
  }
19685
19685
  const lr = {
19686
19686
  ..._t,
19687
19687
  ...be("MuiOutlinedInput", ["root", "notchedOutline", "input"])
19688
19688
  };
19689
- function jM(e) {
19689
+ function j7(e) {
19690
19690
  return we("MuiFilledInput", e);
19691
19691
  }
19692
19692
  const $t = {
@@ -19697,7 +19697,7 @@ const $t = {
19697
19697
  }), "Close"), QB = nt(/* @__PURE__ */ g.jsx("path", {
19698
19698
  d: "M7 10l5 5 5-5z"
19699
19699
  }), "ArrowDropDown");
19700
- function zM(e) {
19700
+ function z7(e) {
19701
19701
  return we("MuiAutocomplete", e);
19702
19702
  }
19703
19703
  const ke = be("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
@@ -19745,7 +19745,7 @@ function je(e, t) {
19745
19745
  return [h, B];
19746
19746
  }
19747
19747
  var hb, vb;
19748
- const HM = (e) => {
19748
+ const H7 = (e) => {
19749
19749
  const {
19750
19750
  classes: t,
19751
19751
  disablePortal: r,
@@ -19774,8 +19774,8 @@ const HM = (e) => {
19774
19774
  groupLabel: ["groupLabel"],
19775
19775
  groupUl: ["groupUl"]
19776
19776
  };
19777
- return ve(f, zM, t);
19778
- }, kM = W("div", {
19777
+ return ve(f, z7, t);
19778
+ }, k7 = W("div", {
19779
19779
  name: "MuiAutocomplete",
19780
19780
  slot: "Root",
19781
19781
  overridesResolver: (e, t) => {
@@ -19942,7 +19942,7 @@ const HM = (e) => {
19942
19942
  }
19943
19943
  }
19944
19944
  }]
19945
- }), NM = W("div", {
19945
+ }), N7 = W("div", {
19946
19946
  name: "MuiAutocomplete",
19947
19947
  slot: "EndAdornment",
19948
19948
  overridesResolver: (e, t) => t.endAdornment
@@ -19952,7 +19952,7 @@ const HM = (e) => {
19952
19952
  right: 0,
19953
19953
  top: "50%",
19954
19954
  transform: "translate(0, -50%)"
19955
- }), XM = W(yn, {
19955
+ }), X7 = W(yn, {
19956
19956
  name: "MuiAutocomplete",
19957
19957
  slot: "ClearIndicator",
19958
19958
  overridesResolver: (e, t) => t.clearIndicator
@@ -19960,7 +19960,7 @@ const HM = (e) => {
19960
19960
  marginRight: -2,
19961
19961
  padding: 4,
19962
19962
  visibility: "hidden"
19963
- }), GM = W(yn, {
19963
+ }), G7 = W(yn, {
19964
19964
  name: "MuiAutocomplete",
19965
19965
  slot: "PopupIndicator",
19966
19966
  overridesResolver: (e, t) => {
@@ -19980,7 +19980,7 @@ const HM = (e) => {
19980
19980
  transform: "rotate(180deg)"
19981
19981
  }
19982
19982
  }]
19983
- }), VM = W(dl, {
19983
+ }), V7 = W(dl, {
19984
19984
  name: "MuiAutocomplete",
19985
19985
  slot: "Popper",
19986
19986
  overridesResolver: (e, t) => {
@@ -20003,7 +20003,7 @@ const HM = (e) => {
20003
20003
  position: "absolute"
20004
20004
  }
20005
20005
  }]
20006
- }))), WM = W(Bn, {
20006
+ }))), W7 = W(Bn, {
20007
20007
  name: "MuiAutocomplete",
20008
20008
  slot: "Paper",
20009
20009
  overridesResolver: (e, t) => t.paper
@@ -20012,7 +20012,7 @@ const HM = (e) => {
20012
20012
  }) => ({
20013
20013
  ...e.typography.body1,
20014
20014
  overflow: "auto"
20015
- }))), KM = W("div", {
20015
+ }))), K7 = W("div", {
20016
20016
  name: "MuiAutocomplete",
20017
20017
  slot: "Loading",
20018
20018
  overridesResolver: (e, t) => t.loading
@@ -20021,7 +20021,7 @@ const HM = (e) => {
20021
20021
  }) => ({
20022
20022
  color: (e.vars || e).palette.text.secondary,
20023
20023
  padding: "14px 16px"
20024
- }))), UM = W("div", {
20024
+ }))), U7 = W("div", {
20025
20025
  name: "MuiAutocomplete",
20026
20026
  slot: "NoOptions",
20027
20027
  overridesResolver: (e, t) => t.noOptions
@@ -20030,7 +20030,7 @@ const HM = (e) => {
20030
20030
  }) => ({
20031
20031
  color: (e.vars || e).palette.text.secondary,
20032
20032
  padding: "14px 16px"
20033
- }))), qM = W("ul", {
20033
+ }))), q7 = W("ul", {
20034
20034
  name: "MuiAutocomplete",
20035
20035
  slot: "Listbox",
20036
20036
  overridesResolver: (e, t) => t.listbox
@@ -20088,7 +20088,7 @@ const HM = (e) => {
20088
20088
  }
20089
20089
  }
20090
20090
  }
20091
- }))), JM = W(Ca, {
20091
+ }))), J7 = W(Ca, {
20092
20092
  name: "MuiAutocomplete",
20093
20093
  slot: "GroupLabel",
20094
20094
  overridesResolver: (e, t) => t.groupLabel
@@ -20097,7 +20097,7 @@ const HM = (e) => {
20097
20097
  }) => ({
20098
20098
  backgroundColor: (e.vars || e).palette.background.paper,
20099
20099
  top: -8
20100
- }))), ZM = W("ul", {
20100
+ }))), Z7 = W("ul", {
20101
20101
  name: "MuiAutocomplete",
20102
20102
  slot: "GroupUl",
20103
20103
  overridesResolver: (e, t) => t.groupUl
@@ -20197,7 +20197,7 @@ const HM = (e) => {
20197
20197
  setAnchorEl: Zo,
20198
20198
  inputValue: xe,
20199
20199
  groupedOptions: ye
20200
- } = e7({
20200
+ } = eM({
20201
20201
  ...n,
20202
20202
  componentName: "Autocomplete"
20203
20203
  }), He = !m && !y && Tt && !Y, Ke = (!x || T === !0) && T !== !1, {
@@ -20217,7 +20217,7 @@ const HM = (e) => {
20217
20217
  inputFocused: Un === -1,
20218
20218
  popupOpen: sr,
20219
20219
  size: Ee
20220
- }, Ft = HM(It), Fr = {
20220
+ }, Ft = H7(It), Fr = {
20221
20221
  slots: {
20222
20222
  paper: de,
20223
20223
  popper: Ae,
@@ -20230,7 +20230,7 @@ const HM = (e) => {
20230
20230
  ...qe
20231
20231
  }
20232
20232
  }, [Di, ue] = je("listbox", {
20233
- elementType: qM,
20233
+ elementType: q7,
20234
20234
  externalForwardedProps: Fr,
20235
20235
  ownerState: It,
20236
20236
  className: Ft.listbox,
@@ -20286,12 +20286,12 @@ const HM = (e) => {
20286
20286
  }, $e.length)));
20287
20287
  }
20288
20288
  const Yt = re || ((rt) => /* @__PURE__ */ g.jsxs("li", {
20289
- children: [/* @__PURE__ */ g.jsx(JM, {
20289
+ children: [/* @__PURE__ */ g.jsx(J7, {
20290
20290
  className: Ft.groupLabel,
20291
20291
  ownerState: It,
20292
20292
  component: "div",
20293
20293
  children: rt.group
20294
- }), /* @__PURE__ */ g.jsx(ZM, {
20294
+ }), /* @__PURE__ */ g.jsx(Z7, {
20295
20295
  className: Ft.groupUl,
20296
20296
  ownerState: It,
20297
20297
  children: rt.children
@@ -20320,7 +20320,7 @@ const HM = (e) => {
20320
20320
  }, It);
20321
20321
  }, Ei = Fr.slotProps.clearIndicator, Oi = Fr.slotProps.popupIndicator;
20322
20322
  return /* @__PURE__ */ g.jsxs(b.Fragment, {
20323
- children: [/* @__PURE__ */ g.jsx(kM, {
20323
+ children: [/* @__PURE__ */ g.jsx(k7, {
20324
20324
  ref: r,
20325
20325
  className: pe(Ft.root, u),
20326
20326
  ownerState: It,
@@ -20339,10 +20339,10 @@ const HM = (e) => {
20339
20339
  rt.target === rt.currentTarget && ut(rt);
20340
20340
  },
20341
20341
  ...(He || Ke) && {
20342
- endAdornment: /* @__PURE__ */ g.jsxs(NM, {
20342
+ endAdornment: /* @__PURE__ */ g.jsxs(N7, {
20343
20343
  className: Ft.endAdornment,
20344
20344
  ownerState: It,
20345
- children: [He ? /* @__PURE__ */ g.jsx(XM, {
20345
+ children: [He ? /* @__PURE__ */ g.jsx(X7, {
20346
20346
  ...Be(),
20347
20347
  "aria-label": h,
20348
20348
  title: h,
@@ -20350,7 +20350,7 @@ const HM = (e) => {
20350
20350
  ...Ei,
20351
20351
  className: pe(Ft.clearIndicator, Ei == null ? void 0 : Ei.className),
20352
20352
  children: d
20353
- }) : null, Ke ? /* @__PURE__ */ g.jsx(GM, {
20353
+ }) : null, Ke ? /* @__PURE__ */ g.jsx(G7, {
20354
20354
  ...tt(),
20355
20355
  disabled: y,
20356
20356
  "aria-label": sr ? v : ae,
@@ -20370,17 +20370,17 @@ const HM = (e) => {
20370
20370
  ...Ve()
20371
20371
  }
20372
20372
  })
20373
- }), Nr ? /* @__PURE__ */ g.jsx(VM, {
20373
+ }), Nr ? /* @__PURE__ */ g.jsx(V7, {
20374
20374
  as: Ye,
20375
20375
  ...Xe,
20376
- children: /* @__PURE__ */ g.jsxs(WM, {
20376
+ children: /* @__PURE__ */ g.jsxs(W7, {
20377
20377
  as: ie,
20378
20378
  ...me,
20379
- children: [j && ye.length === 0 ? /* @__PURE__ */ g.jsx(KM, {
20379
+ children: [j && ye.length === 0 ? /* @__PURE__ */ g.jsx(K7, {
20380
20380
  className: Ft.loading,
20381
20381
  ownerState: It,
20382
20382
  children: $
20383
- }) : null, ye.length === 0 && !x && !j ? /* @__PURE__ */ g.jsx(UM, {
20383
+ }) : null, ye.length === 0 && !x && !j ? /* @__PURE__ */ g.jsx(U7, {
20384
20384
  className: Ft.noOptions,
20385
20385
  ownerState: It,
20386
20386
  role: "presentation",
@@ -20836,20 +20836,20 @@ process.env.NODE_ENV !== "production" && (TA.propTypes = {
20836
20836
  value: xr(o.any, (e) => e.multiple && e.value !== void 0 && !Array.isArray(e.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${e.value} was provided.`].join(`
20837
20837
  `)) : null)
20838
20838
  });
20839
- const _M = (e) => {
20839
+ const _7 = (e) => {
20840
20840
  const {
20841
20841
  classes: t,
20842
20842
  disableUnderline: r
20843
20843
  } = e, s = ve({
20844
20844
  root: ["root", !r && "underline"],
20845
20845
  input: ["input"]
20846
- }, TM, t);
20846
+ }, T7, t);
20847
20847
  return {
20848
20848
  ...t,
20849
20849
  // forward classes to the InputBase
20850
20850
  ...s
20851
20851
  };
20852
- }, $M = W(pl, {
20852
+ }, $7 = W(pl, {
20853
20853
  shouldForwardProp: (e) => Qt(e) || e === "classes",
20854
20854
  name: "MuiInput",
20855
20855
  slot: "Root",
@@ -20958,13 +20958,13 @@ const _M = (e) => {
20958
20958
  slots: f = {},
20959
20959
  type: A = "text",
20960
20960
  ...h
20961
- } = n, v = _M(n), w = {
20961
+ } = n, v = _7(n), w = {
20962
20962
  root: {
20963
20963
  ownerState: {
20964
20964
  disableUnderline: s
20965
20965
  }
20966
20966
  }
20967
- }, m = d ?? a ? Rt(d ?? a, w) : w, C = f.root ?? i.Root ?? $M, y = f.input ?? i.Input ?? eF;
20967
+ }, m = d ?? a ? Rt(d ?? a, w) : w, C = f.root ?? i.Root ?? $7, y = f.input ?? i.Input ?? eF;
20968
20968
  return /* @__PURE__ */ g.jsx(hl, {
20969
20969
  slots: {
20970
20970
  root: C,
@@ -21178,7 +21178,7 @@ const tF = (e) => {
21178
21178
  } = e, c = {
21179
21179
  root: ["root", !r && "underline", n && "adornedStart", s && "adornedEnd", i === "small" && `size${fe(i)}`, a && "hiddenLabel", l && "multiline"],
21180
21180
  input: ["input"]
21181
- }, u = ve(c, jM, t);
21181
+ }, u = ve(c, j7, t);
21182
21182
  return {
21183
21183
  ...t,
21184
21184
  // forward classes to the InputBase
@@ -21800,7 +21800,7 @@ const iF = (e) => {
21800
21800
  root: ["root"],
21801
21801
  notchedOutline: ["notchedOutline"],
21802
21802
  input: ["input"]
21803
- }, YM, t);
21803
+ }, Y7, t);
21804
21804
  return {
21805
21805
  ...t,
21806
21806
  // forward classes to the InputBase
@@ -22686,7 +22686,7 @@ const wF = (e) => {
22686
22686
  if (!Lo(U, ["Input", "Select"]))
22687
22687
  return;
22688
22688
  const _ = Lo(U, ["Select"]) ? U.props.input : U;
22689
- _ && RM(_.props) && (Q = !0);
22689
+ _ && R7(_.props) && (Q = !0);
22690
22690
  }), Q;
22691
22691
  }), [E, I] = b.useState(() => {
22692
22692
  let Q = !1;
@@ -28475,8 +28475,34 @@ const VR = ({
28475
28475
  account: {
28476
28476
  roles: ["manage-account", "manage-account-links", "view-profile"]
28477
28477
  },
28478
+ "hsms-dashboard-client": {
28479
+ roles: ["DASHBOARD_ADMIN", "DASHBOARD__USER"]
28480
+ },
28481
+ "hsms-eappointment-client": {
28482
+ roles: ["EAPPOINTMENT_ADMIN", "EAPPOINTMENT_USER"]
28483
+ },
28484
+ "hsms-hrm-client": {
28485
+ roles: ["HRM_ADMIN", "HRM_USER"]
28486
+ },
28487
+ "hsms-org-client": {
28488
+ roles: ["ORG_ADMIN", "ORG_USER"]
28489
+ },
28490
+ "hsms-accounting-client": {
28491
+ roles: ["ACCOUNTING_ADMIN", "ACCOUNTING_USER"]
28492
+ },
28478
28493
  "hsms-registration-client": {
28479
- roles: ["DOCTOR_ADMIN", "DOCTOR_USER"]
28494
+ roles: [
28495
+ "TICKET_CLERK",
28496
+ "REGISTRATION_USER",
28497
+ "REGISTRATION_CLERK",
28498
+ "REGISTRATION_ADMIN",
28499
+ "EMERGENCY_USER",
28500
+ "EMERGENCY_CLERK",
28501
+ "EMERGENCY_ADMIN",
28502
+ "DEATH_REG_USER",
28503
+ "DEATH_REG_CLERK",
28504
+ "DEATH_REG_ADMIN"
28505
+ ]
28480
28506
  },
28481
28507
  "hsms-emergency-client": {
28482
28508
  roles: ["EMERGENCY_USER", "EMERGENCY_ADMIN"]
@@ -28502,11 +28528,8 @@ const VR = ({
28502
28528
  "hsms-inventory-client": {
28503
28529
  roles: ["STORE_USER", "STORE_ADMIN"]
28504
28530
  },
28505
- // "hsms-registration-client": {
28506
- // roles: ["DOCTOR_ADMIN", "DOCTOR_USER"],
28507
- // },
28508
28531
  "hsms-qms-client": {
28509
- roles: ["DOCTOR_ADMIN", "DOCTOR_USER"]
28532
+ roles: ["QMS_ADMIN", "QMS_USER"]
28510
28533
  }
28511
28534
  }, s = JSON.parse(localStorage.getItem("user_info") || "{}"), i = zs(s, ["SUPER_ADMIN"]) ? n : JSON.parse(localStorage.getItem("user_info") || "{}").resource_access || n, a = (u) => {
28512
28535
  t(u.currentTarget);
@@ -28644,22 +28667,22 @@ const VR = ({
28644
28667
  userManage: e,
28645
28668
  logoutHandler: t
28646
28669
  }) => {
28647
- const [r, n] = ht(null), [s, i] = ht(!1), { user: a } = e, { logoutFromSkh: l } = oL(), c = window.location.origin + "/skh", u = (f) => {
28648
- n(f.currentTarget), i(!0);
28649
- }, d = () => {
28670
+ const [r, n] = ht(null), [s, i] = ht(!1), { user: a } = e, { logoutFromSkh: l } = oL(), c = (d) => {
28671
+ n(d.currentTarget), i(!0);
28672
+ }, u = () => {
28650
28673
  i(!1);
28651
28674
  };
28652
28675
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
28653
28676
  /* @__PURE__ */ g.jsxs(iC, { direction: "row", alignItems: "center", children: [
28654
28677
  /* @__PURE__ */ g.jsx(wL, {}),
28655
- /* @__PURE__ */ g.jsx(Pa, { onClick: u, children: /* @__PURE__ */ g.jsx(rf, { src: a == null ? void 0 : a.image, alt: a == null ? void 0 : a.name }) })
28678
+ /* @__PURE__ */ g.jsx(Pa, { onClick: c, children: /* @__PURE__ */ g.jsx(rf, { src: a == null ? void 0 : a.image, alt: a == null ? void 0 : a.name }) })
28656
28679
  ] }),
28657
28680
  /* @__PURE__ */ g.jsx(
28658
28681
  Bm,
28659
28682
  {
28660
28683
  open: s,
28661
28684
  anchorEl: r,
28662
- onClose: d,
28685
+ onClose: u,
28663
28686
  anchorOrigin: {
28664
28687
  vertical: "bottom",
28665
28688
  horizontal: "center"
@@ -28723,14 +28746,14 @@ const VR = ({
28723
28746
  size: "large",
28724
28747
  onClick: () => {
28725
28748
  l().then(() => {
28726
- localStorage.clear(), sessionStorage.clear(), window.location.href = c;
28727
- }).catch((f) => {
28749
+ localStorage.clear(), sessionStorage.clear(), window.location.reload();
28750
+ }).catch((d) => {
28728
28751
  console.log(
28729
28752
  "SKH logout failed, trying alternative logout",
28730
- f
28753
+ d
28731
28754
  ), t().then(() => {
28732
- localStorage.clear(), sessionStorage.clear(), window.location.href = c;
28733
- }).catch((A) => console.log(A));
28755
+ localStorage.clear(), sessionStorage.clear(), window.location.reload();
28756
+ }).catch((f) => console.log(f));
28734
28757
  });
28735
28758
  },
28736
28759
  startIcon: /* @__PURE__ */ g.jsx(z0, {}),