@bahmni/clinical-app 0.0.1-dev.105 → 0.0.1-dev.106

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.
@@ -82,7 +82,7 @@ function pa1() {
82
82
  return m["aria-label"] || m["aria-labelledby"] || m.title ? (m.role = "img", d != null && (m.focusable = "true", m.tabindex = d)) : m["aria-hidden"] = !0, m;
83
83
  }
84
84
  var J4$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
85
- function z3$1(n) {
85
+ function _3$1(n) {
86
86
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
87
87
  }
88
88
  var X4$1 = { exports: {} }, Q4$1 = { exports: {} }, n2$1 = {}, Wn$2;
@@ -724,7 +724,7 @@ function ga1() {
724
724
  return X4$1.exports;
725
725
  }
726
726
  var Ma1 = /* @__PURE__ */ ga1();
727
- const o = /* @__PURE__ */ z3$1(Ma1), s = /* @__PURE__ */ t__default.forwardRef(function({
727
+ const o = /* @__PURE__ */ _3$1(Ma1), s = /* @__PURE__ */ t__default.forwardRef(function({
728
728
  className: n,
729
729
  children: e,
730
730
  tabIndex: r,
@@ -30134,7 +30134,7 @@ function bb1() {
30134
30134
  })(gt$2)), gt$2.exports;
30135
30135
  }
30136
30136
  var yb1 = bb1();
30137
- const K$1 = /* @__PURE__ */ z3$1(yb1), W8$1 = /* @__PURE__ */ t__default.createContext("cds");
30137
+ const K$1 = /* @__PURE__ */ _3$1(yb1), W8$1 = /* @__PURE__ */ t__default.createContext("cds");
30138
30138
  function i1$1() {
30139
30139
  return t__default.useContext(W8$1);
30140
30140
  }
@@ -30191,7 +30191,7 @@ const $b1 = (n) => {
30191
30191
  return n;
30192
30192
  const e = Children.map(n, (r) => typeof r == "string" ? r : null)?.filter((r) => r !== null);
30193
30193
  return e?.length === 1 ? e[0] : e;
30194
- }, M3$1 = {
30194
+ }, E3$1 = {
30195
30195
  key: "Tab",
30196
30196
  which: 9,
30197
30197
  keyCode: 9,
@@ -30743,7 +30743,7 @@ function ty1(n, e, r) {
30743
30743
  function X3$1(n, e) {
30744
30744
  return typeof n == "function" ? n(e) : n;
30745
30745
  }
30746
- function E3$1(n) {
30746
+ function H3$1(n) {
30747
30747
  return n.split("-")[0];
30748
30748
  }
30749
30749
  function Q3$1(n) {
@@ -30757,7 +30757,7 @@ function Y8$1(n) {
30757
30757
  }
30758
30758
  const ny1 = /* @__PURE__ */ new Set(["top", "bottom"]);
30759
30759
  function Y0$1(n) {
30760
- return ny1.has(E3$1(n)) ? "y" : "x";
30760
+ return ny1.has(H3$1(n)) ? "y" : "x";
30761
30761
  }
30762
30762
  function G8$1(n) {
30763
30763
  return cy1(Y0$1(n));
@@ -30790,7 +30790,7 @@ function sy1(n, e, r) {
30790
30790
  }
30791
30791
  function iy1(n, e, r, a) {
30792
30792
  const l = Q3$1(n);
30793
- let f = sy1(E3$1(n), r === "start", a);
30793
+ let f = sy1(H3$1(n), r === "start", a);
30794
30794
  return l && (f = f.map((d) => d + "-" + l), e && (f = f.concat(f.map(e8$1)))), f;
30795
30795
  }
30796
30796
  function ye$1(n) {
@@ -31116,7 +31116,7 @@ var Sy1 = typeof document < "u", Dy1 = function() {
31116
31116
  const Oy1 = {
31117
31117
  ...t
31118
31118
  };
31119
- function u3$1(n) {
31119
+ function m3$1(n) {
31120
31120
  const e = t.useRef(n);
31121
31121
  return E0$1(() => {
31122
31122
  e.current = n;
@@ -31166,7 +31166,7 @@ function CX$1(n, e, r) {
31166
31166
  reference: a,
31167
31167
  floating: l
31168
31168
  } = n;
31169
- const f = Y0$1(e), d = G8$1(e), h = Y8$1(d), m = E3$1(e), A = f === "y", g = a.x + a.width / 2 - l.width / 2, w = a.y + a.height / 2 - l.height / 2, v = a[h] / 2 - l[h] / 2;
31169
+ const f = Y0$1(e), d = G8$1(e), h = Y8$1(d), m = H3$1(e), A = f === "y", g = a.x + a.width / 2 - l.width / 2, w = a.y + a.height / 2 - l.height / 2, v = a[h] / 2 - l[h] / 2;
31170
31170
  let C;
31171
31171
  switch (m) {
31172
31172
  case "top":
@@ -31376,7 +31376,7 @@ const Py1 = (n) => ({
31376
31376
  } = X3$1(n, e);
31377
31377
  if ((r = f.arrow) != null && r.alignmentOffset)
31378
31378
  return {};
31379
- const z = E3$1(l), _ = Y0$1(h), b = E3$1(h) === h, $ = await (m.isRTL == null ? void 0 : m.isRTL(A.floating)), H = v || (b || !E ? [ye$1(h)] : ay1(h)), O = V !== "none";
31379
+ const z = H3$1(l), _ = Y0$1(h), b = H3$1(h) === h, $ = await (m.isRTL == null ? void 0 : m.isRTL(A.floating)), H = v || (b || !E ? [ye$1(h)] : ay1(h)), O = V !== "none";
31380
31380
  !v && O && H.push(...iy1(h, E, V, $));
31381
31381
  const k = [h, ...H], I = await Se$1(e, y), L = [];
31382
31382
  let Y = ((a = f.flip) == null ? void 0 : a.overflows) || [];
@@ -31492,7 +31492,7 @@ async function Uy1(n, e) {
31492
31492
  placement: r,
31493
31493
  platform: a,
31494
31494
  elements: l
31495
- } = n, f = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), d = E3$1(r), h = Q3$1(r), m = Y0$1(r) === "y", A = jy1.has(d) ? -1 : 1, g = f && m ? -1 : 1, w = X3$1(e, n);
31495
+ } = n, f = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), d = H3$1(r), h = Q3$1(r), m = Y0$1(r) === "y", A = jy1.has(d) ? -1 : 1, g = f && m ? -1 : 1, w = X3$1(e, n);
31496
31496
  let {
31497
31497
  mainAxis: v,
31498
31498
  crossAxis: C,
@@ -31551,7 +31551,7 @@ const qy1 = function(n) {
31551
31551
  apply: m = () => {
31552
31552
  },
31553
31553
  ...A
31554
- } = X3$1(n, e), g = await Se$1(e, A), w = E3$1(l), v = Q3$1(l), C = Y0$1(l) === "y", {
31554
+ } = X3$1(n, e), g = await Se$1(e, A), w = H3$1(l), v = Q3$1(l), C = Y0$1(l) === "y", {
31555
31555
  width: V,
31556
31556
  height: E
31557
31557
  } = f.floating;
@@ -31616,7 +31616,7 @@ function F21(n) {
31616
31616
  function Gy1(n, e, r) {
31617
31617
  return e === void 0 && (e = !1), !r || e && r !== p0$1(n) ? !1 : e;
31618
31618
  }
31619
- function H3$1(n, e, r, a) {
31619
+ function V3$1(n, e, r, a) {
31620
31620
  e === void 0 && (e = !1), r === void 0 && (r = !1);
31621
31621
  const l = n.getBoundingClientRect(), f = J8$1(n);
31622
31622
  let d = S0$1(1);
@@ -31640,7 +31640,7 @@ function H3$1(n, e, r, a) {
31640
31640
  }
31641
31641
  function X8$1(n, e) {
31642
31642
  const r = p6$1(n).scrollLeft;
31643
- return e ? e.left + r : H3$1(k0$1(n)).left + r;
31643
+ return e ? e.left + r : V3$1(k0$1(n)).left + r;
31644
31644
  }
31645
31645
  function W21(n, e, r) {
31646
31646
  r === void 0 && (r = !1);
@@ -31669,7 +31669,7 @@ function Jy1(n) {
31669
31669
  }, A = S0$1(1);
31670
31670
  const g = S0$1(0), w = W2$1(a);
31671
31671
  if ((w || !w && !f) && ((f3$1(a) !== "body" || D4(d)) && (m = p6$1(a)), W2$1(a))) {
31672
- const C = H3$1(a);
31672
+ const C = V3$1(a);
31673
31673
  A = S3$1(a), g.x = C.x + a.clientLeft, g.y = C.y + a.clientTop;
31674
31674
  }
31675
31675
  const v = d && !w && !f ? W21(d, m, !0) : S0$1(0);
@@ -31711,7 +31711,7 @@ function eN1(n, e) {
31711
31711
  }
31712
31712
  const tN1 = /* @__PURE__ */ new Set(["absolute", "fixed"]);
31713
31713
  function cN1(n, e) {
31714
- const r = H3$1(n, !0, e === "fixed"), a = r.top + n.clientTop, l = r.left + n.clientLeft, f = W2$1(n) ? S3$1(n) : S0$1(1), d = n.clientWidth * f.x, h = n.clientHeight * f.y, m = l * f.x, A = a * f.y;
31714
+ const r = V3$1(n, !0, e === "fixed"), a = r.top + n.clientTop, l = r.left + n.clientLeft, f = W2$1(n) ? S3$1(n) : S0$1(1), d = n.clientWidth * f.x, h = n.clientHeight * f.y, m = l * f.x, A = a * f.y;
31715
31715
  return {
31716
31716
  width: d,
31717
31717
  height: h,
@@ -31784,7 +31784,7 @@ function aN1(n) {
31784
31784
  };
31785
31785
  }
31786
31786
  function oN1(n, e, r) {
31787
- const a = W2$1(e), l = k0$1(e), f = r === "fixed", d = H3$1(n, !0, f, e);
31787
+ const a = W2$1(e), l = k0$1(e), f = r === "fixed", d = V3$1(n, !0, f, e);
31788
31788
  let h = {
31789
31789
  scrollLeft: 0,
31790
31790
  scrollTop: 0
@@ -31795,7 +31795,7 @@ function oN1(n, e, r) {
31795
31795
  }
31796
31796
  if (a || !a && !f)
31797
31797
  if ((f3$1(e) !== "body" || D4(l)) && (h = p6$1(e)), a) {
31798
- const C = H3$1(e, !0, f, e);
31798
+ const C = V3$1(e, !0, f, e);
31799
31799
  m.x = C.x + e.clientLeft, m.y = C.y + e.clientTop;
31800
31800
  } else l && A();
31801
31801
  f && !a && l && A();
@@ -31935,10 +31935,10 @@ function e4$1(n, e, r, a) {
31935
31935
  (b = C) == null || b.observe(e);
31936
31936
  })), r();
31937
31937
  }), A && !m && C.observe(A), C.observe(e));
31938
- let V, E = m ? H3$1(n) : null;
31938
+ let V, E = m ? V3$1(n) : null;
31939
31939
  m && y();
31940
31940
  function y() {
31941
- const z = H3$1(n);
31941
+ const z = V3$1(n);
31942
31942
  E && !q21(E, z) && r(), E = z, V = requestAnimationFrame(y);
31943
31943
  }
31944
31944
  return r(), () => {
@@ -32229,7 +32229,7 @@ function AN1(n, e) {
32229
32229
  mouseOnly: g = !1,
32230
32230
  restMs: w = 0,
32231
32231
  move: v = !0
32232
- } = e, C = Q8$1(), V = J21(), E = u3$1(A), y = u3$1(m), z = u3$1(r), _ = u3$1(w), b = t.useRef(), $ = t.useRef(-1), H = t.useRef(), O = t.useRef(-1), k = t.useRef(!0), I = t.useRef(!1), L = t.useRef(() => {
32232
+ } = e, C = Q8$1(), V = J21(), E = m3$1(A), y = m3$1(m), z = m3$1(r), _ = m3$1(w), b = t.useRef(), $ = t.useRef(-1), H = t.useRef(), O = t.useRef(-1), k = t.useRef(!0), I = t.useRef(!1), L = t.useRef(() => {
32233
32233
  }), Y = t.useRef(!1), s1 = Z0$1(() => {
32234
32234
  var X2e;
32235
32235
  const w1 = (X2e = l.current.openEvent) == null ? void 0 : X2e.type;
@@ -32371,7 +32371,7 @@ function AN1(n, e) {
32371
32371
  } : {}, [h, FUe]);
32372
32372
  }
32373
32373
  let OX$1 = 0;
32374
- function y3$1(n, e) {
32374
+ function N3$1(n, e) {
32375
32375
  e === void 0 && (e = {});
32376
32376
  const {
32377
32377
  preventScroll: r = !1,
@@ -32551,7 +32551,7 @@ function FN1(n) {
32551
32551
  } = e, $ = Z0$1(() => {
32552
32552
  var me;
32553
32553
  return (me = z.current.floatingContext) == null ? void 0 : me.nodeId;
32554
- }), H = Z0$1(C), O = typeof d == "number" && d < 0, k = EX$1(_) && O, I = SN1(), L = I ? f : !0, Y = !L || I && v, s1 = u3$1(l), u1 = u3$1(d), Sn = u3$1(h), L4 = Q8$1(), Fce = kN1(), FUe = t.useRef(null), X2e = t.useRef(null), w1 = t.useRef(!1), Xle = t.useRef(!1), Z = t.useRef(-1), U = t.useRef(-1), F = Fce != null, X = HX$1(b), P = Z0$1(function(me) {
32554
+ }), H = Z0$1(C), O = typeof d == "number" && d < 0, k = EX$1(_) && O, I = SN1(), L = I ? f : !0, Y = !L || I && v, s1 = m3$1(l), u1 = m3$1(d), Sn = m3$1(h), L4 = Q8$1(), Fce = kN1(), FUe = t.useRef(null), X2e = t.useRef(null), w1 = t.useRef(!1), Xle = t.useRef(!1), Z = t.useRef(-1), U = t.useRef(-1), F = Fce != null, X = HX$1(b), P = Z0$1(function(me) {
32555
32555
  return me === void 0 && (me = X), me ? h6$1(me, d6$1()) : [];
32556
32556
  }), j = Z0$1((me) => {
32557
32557
  const qce = P(me);
@@ -32563,7 +32563,7 @@ function FN1(n) {
32563
32563
  if (Pce.key === "Tab") {
32564
32564
  v0$1(X, A3$1(i0$1(X))) && P().length === 0 && !k && Lt$1(Pce);
32565
32565
  const UUe = j(), eWe = Vt$2(Pce);
32566
- s1.current[0] === "reference" && eWe === _ && (Lt$1(Pce), Pce.shiftKey ? y3$1(UUe[UUe.length - 1]) : y3$1(UUe[1])), s1.current[1] === "floating" && eWe === X && Pce.shiftKey && (Lt$1(Pce), y3$1(UUe[0]));
32566
+ s1.current[0] === "reference" && eWe === _ && (Lt$1(Pce), Pce.shiftKey ? N3$1(UUe[UUe.length - 1]) : N3$1(UUe[1])), s1.current[1] === "floating" && eWe === X && Pce.shiftKey && (Lt$1(Pce), N3$1(UUe[0]));
32567
32567
  }
32568
32568
  }
32569
32569
  const qce = i0$1(X);
@@ -32636,7 +32636,7 @@ function FN1(n) {
32636
32636
  const me = i0$1(X), qce = A3$1(me);
32637
32637
  queueMicrotask(() => {
32638
32638
  const Pce = j(X), UUe = u1.current, eWe = (typeof UUe == "number" ? Pce[UUe] : UUe.current) || X, nWe = v0$1(X, qce);
32639
- !O && !nWe && V && y3$1(eWe, {
32639
+ !O && !nWe && V && N3$1(eWe, {
32640
32640
  preventScroll: eWe === X
32641
32641
  });
32642
32642
  });
@@ -32723,7 +32723,7 @@ function FN1(n) {
32723
32723
  onFocus: (me) => {
32724
32724
  if (A) {
32725
32725
  const Pce = j();
32726
- y3$1(l[0] === "reference" ? Pce[0] : Pce[Pce.length - 1]);
32726
+ N3$1(l[0] === "reference" ? Pce[0] : Pce[Pce.length - 1]);
32727
32727
  } else if (Fce != null && Fce.preserveTabOrder && Fce.portalNode)
32728
32728
  if (w1.current = !1, LX$1(me, Fce.portalNode))
32729
32729
  Iy1(_)?.focus();
@@ -32737,7 +32737,7 @@ function FN1(n) {
32737
32737
  ref: yke,
32738
32738
  onFocus: (me) => {
32739
32739
  if (A)
32740
- y3$1(j()[0]);
32740
+ N3$1(j()[0]);
32741
32741
  else if (Fce != null && Fce.preserveTabOrder && Fce.portalNode)
32742
32742
  if (w && (w1.current = !0), LX$1(me, Fce.portalNode))
32743
32743
  By1(_)?.focus();
@@ -34258,7 +34258,7 @@ function w6$1({
34258
34258
  }, d), l));
34259
34259
  }
34260
34260
  const {
34261
- open: ca2,
34261
+ open: na2,
34262
34262
  ...XN1
34263
34263
  } = c4$1.propTypes ?? {};
34264
34264
  w6$1.propTypes = {
@@ -34683,7 +34683,7 @@ function QN1(n, e, { signal: r, edges: a } = {}) {
34683
34683
  };
34684
34684
  return E.schedule = w, E.cancel = C, E.flush = V, r?.addEventListener("abort", C, { once: !0 }), E;
34685
34685
  }
34686
- function V3$1(n, e = 0, r = {}) {
34686
+ function L3$1(n, e = 0, r = {}) {
34687
34687
  typeof r != "object" && (r = {});
34688
34688
  const { signal: a, leading: l = !1, trailing: f = !0, maxWait: d } = r, h = Array(2);
34689
34689
  l && (h[0] = "leading"), f && (h[1] = "trailing");
@@ -35791,7 +35791,7 @@ function D0$1(n, e, r) {
35791
35791
  var a = n["default" + s5$1(e)];
35792
35792
  return a !== void 0 ? a : r[e];
35793
35793
  }
35794
- function w3$1(n, e, r) {
35794
+ function v3$1(n, e, r) {
35795
35795
  r === void 0 && (r = N01);
35796
35796
  var a = n[e];
35797
35797
  if (a !== void 0)
@@ -35800,7 +35800,7 @@ function w3$1(n, e, r) {
35800
35800
  return l !== void 0 ? l : D0$1(n, e, r);
35801
35801
  }
35802
35802
  function S01(n) {
35803
- var e = w3$1(n, "selectedItem"), r = w3$1(n, "isOpen"), a = xA1(n), l = w3$1(n, "inputValue");
35803
+ var e = v3$1(n, "selectedItem"), r = v3$1(n, "isOpen"), a = xA1(n), l = v3$1(n, "inputValue");
35804
35804
  return {
35805
35805
  highlightedIndex: a < 0 && e && r ? n.items.findIndex(function(f) {
35806
35806
  return n.itemToKey(f) === n.itemToKey(e);
@@ -35810,7 +35810,7 @@ function S01(n) {
35810
35810
  inputValue: l
35811
35811
  };
35812
35812
  }
35813
- function v3$1(n, e, r) {
35813
+ function g3$1(n, e, r) {
35814
35814
  var a = n.items, l = n.initialHighlightedIndex, f = n.defaultHighlightedIndex, d = n.isItemDisabled, h = n.itemToKey, m = e.selectedItem, A = e.highlightedIndex;
35815
35815
  return a.length === 0 ? -1 : l !== void 0 && A === l && !d(a[l], l) ? l : f !== void 0 && !d(a[f], f) ? f : m ? a.findIndex(function(g) {
35816
35816
  return h(m) === h(g);
@@ -35935,7 +35935,7 @@ function Be$2(n) {
35935
35935
  return e > -1 && n.isItemDisabled(n.items[e], e) ? -1 : e;
35936
35936
  }
35937
35937
  function xA1(n) {
35938
- var e = w3$1(n, "highlightedIndex");
35938
+ var e = v3$1(n, "highlightedIndex");
35939
35939
  return e > -1 && n.isItemDisabled(n.items[e], e) ? -1 : e;
35940
35940
  }
35941
35941
  var Ee = {
@@ -35992,13 +35992,13 @@ function I01(n, e, r) {
35992
35992
  case r.FunctionToggleMenu:
35993
35993
  f = {
35994
35994
  isOpen: !n.isOpen,
35995
- highlightedIndex: n.isOpen ? -1 : v3$1(l, n, 0)
35995
+ highlightedIndex: n.isOpen ? -1 : g3$1(l, n, 0)
35996
35996
  };
35997
35997
  break;
35998
35998
  case r.FunctionOpenMenu:
35999
35999
  f = {
36000
36000
  isOpen: !0,
36001
- highlightedIndex: v3$1(l, n, 0)
36001
+ highlightedIndex: g3$1(l, n, 0)
36002
36002
  };
36003
36003
  break;
36004
36004
  case r.FunctionCloseMenu:
@@ -36098,7 +36098,7 @@ function yA1(n, e) {
36098
36098
  break;
36099
36099
  case f5$1:
36100
36100
  {
36101
- var w = n.isOpen ? V0$1(n.highlightedIndex, 1, l.items, l.isItemDisabled) : f && n.selectedItem == null ? -1 : v3$1(l, n, 1);
36101
+ var w = n.isOpen ? V0$1(n.highlightedIndex, 1, l.items, l.isItemDisabled) : f && n.selectedItem == null ? -1 : g3$1(l, n, 1);
36102
36102
  d = {
36103
36103
  highlightedIndex: w,
36104
36104
  isOpen: !0
@@ -36109,7 +36109,7 @@ function yA1(n, e) {
36109
36109
  if (n.isOpen && f)
36110
36110
  d = Ie$2(l, n.highlightedIndex, !1);
36111
36111
  else {
36112
- var v = n.isOpen ? V0$1(n.highlightedIndex, -1, l.items, l.isItemDisabled) : v3$1(l, n, -1);
36112
+ var v = n.isOpen ? V0$1(n.highlightedIndex, -1, l.items, l.isItemDisabled) : g3$1(l, n, -1);
36113
36113
  d = {
36114
36114
  highlightedIndex: v,
36115
36115
  isOpen: !0
@@ -36201,7 +36201,7 @@ function C6$1(n) {
36201
36201
  props: e,
36202
36202
  state: d
36203
36203
  }), useEffect(function() {
36204
- var w1 = w3$1(e, "isOpen");
36204
+ var w1 = v3$1(e, "isOpen");
36205
36205
  w1 && v.current && v.current.focus();
36206
36206
  }, []);
36207
36207
  var $ = D01(a, useCallback(function() {
@@ -36470,7 +36470,7 @@ function kA1(n, e) {
36470
36470
  n.isOpen ? d = {
36471
36471
  highlightedIndex: V0$1(n.highlightedIndex, 1, l.items, l.isItemDisabled, !0)
36472
36472
  } : d = {
36473
- highlightedIndex: f && n.selectedItem == null ? -1 : v3$1(l, n, 1),
36473
+ highlightedIndex: f && n.selectedItem == null ? -1 : g3$1(l, n, 1),
36474
36474
  isOpen: l.items.length >= 0
36475
36475
  };
36476
36476
  break;
@@ -36478,7 +36478,7 @@ function kA1(n, e) {
36478
36478
  n.isOpen ? f ? d = Ie$2(l, n.highlightedIndex) : d = {
36479
36479
  highlightedIndex: V0$1(n.highlightedIndex, -1, l.items, l.isItemDisabled, !0)
36480
36480
  } : d = {
36481
- highlightedIndex: v3$1(l, n, -1),
36481
+ highlightedIndex: g3$1(l, n, -1),
36482
36482
  isOpen: l.items.length >= 0
36483
36483
  };
36484
36484
  break;
@@ -36533,7 +36533,7 @@ function kA1(n, e) {
36533
36533
  case N5$1:
36534
36534
  d = {
36535
36535
  isOpen: !n.isOpen,
36536
- highlightedIndex: n.isOpen ? -1 : v3$1(l, n, 0)
36536
+ highlightedIndex: n.isOpen ? -1 : g3$1(l, n, 0)
36537
36537
  };
36538
36538
  break;
36539
36539
  case $5$1:
@@ -36575,7 +36575,7 @@ function r4$1(n) {
36575
36575
  props: e,
36576
36576
  state: h
36577
36577
  }), useEffect(function() {
36578
- var F = w3$1(e, "isOpen");
36578
+ var F = v3$1(e, "isOpen");
36579
36579
  F && E.current && E.current.focus();
36580
36580
  }, []), useEffect(function() {
36581
36581
  z || (b.current = r.length);
@@ -36785,7 +36785,7 @@ var o31 = {
36785
36785
  selectedItems: []
36786
36786
  };
36787
36787
  function nQ$1(n, e) {
36788
- return w3$1(n, e, o31);
36788
+ return v3$1(n, e, o31);
36789
36789
  }
36790
36790
  function rQ$1(n, e) {
36791
36791
  return D0$1(n, e, o31);
@@ -37112,7 +37112,7 @@ function JA1() {
37112
37112
  }, At$1;
37113
37113
  }
37114
37114
  var XA1 = JA1();
37115
- const P0$1 = /* @__PURE__ */ z3$1(XA1), QA1 = ["default", "inline"], e$1 = ["sm", "md", "lg"], q5$1 = o.oneOf(QA1), k4 = o.oneOf(e$1), x0$1 = /* @__PURE__ */ createContext$1({
37115
+ const P0$1 = /* @__PURE__ */ _3$1(XA1), QA1 = ["default", "inline"], e$1 = ["sm", "md", "lg"], q5$1 = o.oneOf(QA1), k4 = o.oneOf(e$1), x0$1 = /* @__PURE__ */ createContext$1({
37116
37116
  isFluid: !1
37117
37117
  }), t$1 = (n) => {
37118
37118
  n.keyCode === 27 && n.stopPropagation();
@@ -39799,7 +39799,7 @@ const H31 = /* @__PURE__ */ t__default.forwardRef(({
39799
39799
  function V() {
39800
39800
  d.current && m(d.current.scrollHeight > d.current.clientHeight);
39801
39801
  }
39802
- const E = V3$1(V, 200);
39802
+ const E = L3$1(V, 200);
39803
39803
  return window.addEventListener("resize", E), () => {
39804
39804
  E.cancel(), window.removeEventListener("resize", E);
39805
39805
  };
@@ -39992,7 +39992,7 @@ const L31 = /* @__PURE__ */ t__default.forwardRef(function({
39992
39992
  function v() {
39993
39993
  h.current && A(h.current.scrollHeight > h.current.clientHeight);
39994
39994
  }
39995
- const C = V3$1(v, 200);
39995
+ const C = L3$1(v, 200);
39996
39996
  return window.addEventListener("resize", C), () => {
39997
39997
  C.cancel(), window.removeEventListener("resize", C);
39998
39998
  };
@@ -40060,7 +40060,7 @@ const B$1 = /* @__PURE__ */ t__default.forwardRef(function({
40060
40060
  };
40061
40061
  }, []);
40062
40062
  function Fce(P1) {
40063
- Sn || L4 && g && B1$1(P1, M3$1) && I.current && nc$2({
40063
+ Sn || L4 && g && B1$1(P1, E3$1) && I.current && nc$2({
40064
40064
  containerNode: I.current,
40065
40065
  currentActiveNode: P1.target,
40066
40066
  event: P1
@@ -40554,12 +40554,12 @@ const z31 = /* @__PURE__ */ createContext$1({
40554
40554
  }
40555
40555
  } else
40556
40556
  _(!1), b(!1);
40557
- }, [m, _, b, C]), H = V3$1($, 100);
40557
+ }, [m, _, b, C]), H = L3$1($, 100);
40558
40558
  e3$1("resize", H);
40559
40559
  const O = useCallback(() => {
40560
40560
  const L = y?.current?.parentNode;
40561
40561
  y?.current?.firstChild?.scrollWidth > L?.clientWidth ? E(!0) : E(!1);
40562
- }, []), k = V3$1(O, 100);
40562
+ }, []), k = L3$1(O, 100);
40563
40563
  e3$1("resize", k), S2(() => {
40564
40564
  O();
40565
40565
  }, [O]), typeof document < "u" && document?.fonts?.status && document.fonts.status !== "loaded" && document.fonts.ready.then(() => {
@@ -40779,7 +40779,7 @@ T6$1.propTypes = {
40779
40779
  children: o.node,
40780
40780
  className: o.string
40781
40781
  };
40782
- const Y$1 = forwardRef, _3$1 = Y$1((n, e) => {
40782
+ const Y$1 = forwardRef, b3$1 = Y$1((n, e) => {
40783
40783
  const {
40784
40784
  children: r,
40785
40785
  className: a,
@@ -40795,8 +40795,8 @@ const Y$1 = forwardRef, _3$1 = Y$1((n, e) => {
40795
40795
  colSpan: f
40796
40796
  }, d), r);
40797
40797
  });
40798
- _3$1.displayName = "TableCell";
40799
- _3$1.propTypes = {
40798
+ b3$1.displayName = "TableCell";
40799
+ b3$1.propTypes = {
40800
40800
  /**
40801
40801
  * Pass in children that will be embedded in the table header label
40802
40802
  */
@@ -41095,7 +41095,7 @@ const oc$2 = /* @__PURE__ */ t__default.forwardRef(({
41095
41095
  ref: w,
41096
41096
  className: y,
41097
41097
  "data-parent-row": !0
41098
- }), V, /* @__PURE__ */ t__default.createElement(_3$1, {
41098
+ }), V, /* @__PURE__ */ t__default.createElement(b3$1, {
41099
41099
  className: `${v}--table-expand`,
41100
41100
  "data-previous-value": z,
41101
41101
  headers: A
@@ -41174,7 +41174,7 @@ const $31 = ({
41174
41174
  }, a, {
41175
41175
  className: d,
41176
41176
  "data-child-row": !0
41177
- }), /* @__PURE__ */ t__default.createElement(_3$1, {
41177
+ }), /* @__PURE__ */ t__default.createElement(b3$1, {
41178
41178
  colSpan: r
41179
41179
  }, /* @__PURE__ */ t__default.createElement("div", {
41180
41180
  className: `${f}--child-row-inner-container`
@@ -42240,13 +42240,13 @@ function aT1() {
42240
42240
  return Dt$2 = n, Dt$2;
42241
42241
  }
42242
42242
  var oT1 = aT1();
42243
- const Ke$1 = /* @__PURE__ */ z3$1(oT1);
42243
+ const Ke$1 = /* @__PURE__ */ _3$1(oT1);
42244
42244
  var fe$1, $Q$1;
42245
42245
  function lT1() {
42246
42246
  return $Q$1 || ($Q$1 = 1, fe$1 = typeof self == "object" && self.self === self && self || typeof J4$1 == "object" && J4$1.global === J4$1 && J4$1 || fe$1), fe$1;
42247
42247
  }
42248
42248
  var sT1 = lT1();
42249
- const $3$1 = /* @__PURE__ */ z3$1(sT1), iT1 = /* @__PURE__ */ (() => {
42249
+ const $3$1 = /* @__PURE__ */ _3$1(sT1), iT1 = /* @__PURE__ */ (() => {
42250
42250
  const n = [];
42251
42251
  let e = !1;
42252
42252
  const r = () => {
@@ -42420,7 +42420,7 @@ const $3$1 = /* @__PURE__ */ z3$1(sT1), iT1 = /* @__PURE__ */ (() => {
42420
42420
  oldActiveNode: s1
42421
42421
  });
42422
42422
  }, I = (Y) => {
42423
- B1$1(Y, M3$1) && E.current && Y.target instanceof HTMLElement && nc$2({
42423
+ B1$1(Y, E3$1) && E.current && Y.target instanceof HTMLElement && nc$2({
42424
42424
  containerNode: E.current,
42425
42425
  currentActiveNode: Y.target,
42426
42426
  event: Y
@@ -43095,7 +43095,7 @@ var kt$2 = function() {
43095
43095
  y: function(n, e) {
43096
43096
  n.setFullYear(2e3 + parseFloat(e));
43097
43097
  }
43098
- }, d3$1 = {
43098
+ }, u3$1 = {
43099
43099
  D: "",
43100
43100
  F: "",
43101
43101
  G: "(\\d\\d|\\d)",
@@ -43217,8 +43217,8 @@ var kt$2 = function() {
43217
43217
  else {
43218
43218
  for (var V = void 0, E = [], y = 0, z = 0, _ = ""; y < v.length; y++) {
43219
43219
  var b = v[y], $ = b === "\\", H = v[y - 1] === "\\" || $;
43220
- if (d3$1[b] && !H) {
43221
- _ += d3$1[b];
43220
+ if (u3$1[b] && !H) {
43221
+ _ += u3$1[b];
43222
43222
  var O = new RegExp(_).exec(f);
43223
43223
  O && (V = !0) && E[b !== "Y" ? "push" : "unshift"]({
43224
43224
  fn: LT1[b],
@@ -43923,7 +43923,7 @@ function bT1(n, e) {
43923
43923
  return r.config.wrap ? n.querySelector("[data-input]") : n;
43924
43924
  }
43925
43925
  function kYe() {
43926
- typeof r.config.locale != "object" && typeof y2$1.l10ns[r.config.locale] > "u" && r.config.errorHandler(new Error("flatpickr: invalid locale " + r.config.locale)), r.l10n = F2$1(F2$1({}, y2$1.l10ns.default), typeof r.config.locale == "object" ? r.config.locale : r.config.locale !== "default" ? y2$1.l10ns[r.config.locale] : void 0), d3$1.D = "(" + r.l10n.weekdays.shorthand.join("|") + ")", d3$1.l = "(" + r.l10n.weekdays.longhand.join("|") + ")", d3$1.M = "(" + r.l10n.months.shorthand.join("|") + ")", d3$1.F = "(" + r.l10n.months.longhand.join("|") + ")", d3$1.K = "(" + r.l10n.amPM[0] + "|" + r.l10n.amPM[1] + "|" + r.l10n.amPM[0].toLowerCase() + "|" + r.l10n.amPM[1].toLowerCase() + ")";
43926
+ typeof r.config.locale != "object" && typeof y2$1.l10ns[r.config.locale] > "u" && r.config.errorHandler(new Error("flatpickr: invalid locale " + r.config.locale)), r.l10n = F2$1(F2$1({}, y2$1.l10ns.default), typeof r.config.locale == "object" ? r.config.locale : r.config.locale !== "default" ? y2$1.l10ns[r.config.locale] : void 0), u3$1.D = "(" + r.l10n.weekdays.shorthand.join("|") + ")", u3$1.l = "(" + r.l10n.weekdays.longhand.join("|") + ")", u3$1.M = "(" + r.l10n.months.shorthand.join("|") + ")", u3$1.F = "(" + r.l10n.months.longhand.join("|") + ")", u3$1.K = "(" + r.l10n.amPM[0] + "|" + r.l10n.amPM[1] + "|" + r.l10n.amPM[0].toLowerCase() + "|" + r.l10n.amPM[1].toLowerCase() + ")";
43927
43927
  var X1 = F2$1(F2$1({}, e), JSON.parse(JSON.stringify(n.dataset || {})));
43928
43928
  X1.time_24hr === void 0 && y2$1.defaultConfig.time_24hr === void 0 && (r.config.time_24hr = r.l10n.time_24hr), r.formatDate = F31(r), r.parseDate = w8$1({ config: r.config, l10n: r.l10n });
43929
43929
  }
@@ -47663,7 +47663,7 @@ function NT1() {
47663
47663
  })(f4$1, f4$1.exports)), f4$1.exports;
47664
47664
  }
47665
47665
  var AT1 = NT1();
47666
- const m4$1 = /* @__PURE__ */ z3$1(AT1);
47666
+ const m4$1 = /* @__PURE__ */ _3$1(AT1);
47667
47667
  let IQ$1 = !1;
47668
47668
  const Ge$1 = /* @__PURE__ */ t__default.forwardRef(function(n, e) {
47669
47669
  const {
@@ -48044,7 +48044,7 @@ function DT1() {
48044
48044
  })(Ve$1)), Ve$1.exports;
48045
48045
  }
48046
48046
  var OT1 = DT1();
48047
- const RT1 = /* @__PURE__ */ z3$1(OT1);
48047
+ const RT1 = /* @__PURE__ */ _3$1(OT1);
48048
48048
  var kT1 = (n) => {
48049
48049
  const e = RT1(Object.assign({
48050
48050
  position: "left"
@@ -48297,7 +48297,7 @@ const W31 = /* @__PURE__ */ t__default.forwardRef(function({
48297
48297
  selectedDateElem: PYe,
48298
48298
  todayDateElem: AJe
48299
48299
  } = kYe;
48300
- if (B1$1(IYe, U2$1) && yJe.classList.remove("open"), B1$1(IYe, M3$1))
48300
+ if (B1$1(IYe, U2$1) && yJe.classList.remove("open"), B1$1(IYe, E3$1))
48301
48301
  if (IYe.shiftKey)
48302
48302
  X2e.current?.isOpen && IYe.target === Fce.current && (X2e.current.close(), U(X2e.current.selectedDates, "", X2e.current, IYe));
48303
48303
  else {
@@ -48308,7 +48308,7 @@ const W31 = /* @__PURE__ */ t__default.forwardRef(function({
48308
48308
  }, VJe = (IYe) => {
48309
48309
  if (!X2e.current || !Fce.current) return;
48310
48310
  const yJe = d == "range" ? F.current : Fce.current;
48311
- B1$1(IYe, M3$1) && (IYe.shiftKey ? (IYe.preventDefault(), (X.current || Fce.current).focus()) : X.current === yJe ? (yJe.focus(), X2e.current.close(), U(X2e.current.selectedDates, "", X2e.current, IYe)) : (IYe.preventDefault(), yJe.focus()));
48311
+ B1$1(IYe, E3$1) && (IYe.shiftKey ? (IYe.preventDefault(), (X.current || Fce.current).focus()) : X.current === yJe ? (yJe.focus(), X2e.current.close(), U(X2e.current.selectedDates, "", X2e.current, IYe)) : (IYe.preventDefault(), yJe.focus()));
48312
48312
  };
48313
48313
  function ZYe(IYe) {
48314
48314
  const {
@@ -50001,7 +50001,7 @@ const XT1 = (n) => {
50001
50001
  const {
50002
50002
  target: IJe
50003
50003
  } = jJe;
50004
- jJe.stopPropagation(), g && IJe instanceof HTMLElement && (B1$1(jJe, u0$1) && $ && !kYe(IJe) && document.activeElement !== Xle.current && v(jJe), eWe && !nWe && B1$1(jJe, M3$1) && F.current && nc$2({
50004
+ jJe.stopPropagation(), g && IJe instanceof HTMLElement && (B1$1(jJe, u0$1) && $ && !kYe(IJe) && document.activeElement !== Xle.current && v(jJe), eWe && !nWe && B1$1(jJe, E3$1) && F.current && nc$2({
50005
50005
  containerNode: F.current,
50006
50006
  currentActiveNode: IJe,
50007
50007
  event: jJe
@@ -50098,7 +50098,7 @@ const XT1 = (n) => {
50098
50098
  function jJe() {
50099
50099
  U.current && P1(U.current.scrollHeight > U.current.clientHeight);
50100
50100
  }
50101
- const IJe = V3$1(jJe, 200);
50101
+ const IJe = L3$1(jJe, 200);
50102
50102
  return window.addEventListener("resize", IJe), () => {
50103
50103
  IJe.cancel(), window.removeEventListener("resize", IJe);
50104
50104
  };
@@ -50910,7 +50910,7 @@ const eS1 = (n, {
50910
50910
  onClick: () => qUe(!0),
50911
50911
  onKeyDown(wJe) {
50912
50912
  const wQe = wJe.target, $Qe = wQe.value;
50913
- B1$1(wJe, R0$1) && wJe.stopPropagation(), B1$1(wJe, u0$1) && qUe(!0), h || (B1$1(wJe, C21) || B1$1(wJe, U2$1)) && ($2 ? (qUe(!0), cXe(wJe), wJe.stopPropagation()) : $2 || (cXe(wJe), IYe(), wJe.stopPropagation())), B1$1(wJe, M3$1) && qUe(!1), B1$1(wJe, a6$1) && wQe.setSelectionRange(0, 0), B1$1(wJe, r6$1) && wQe.setSelectionRange($Qe.length, $Qe.length);
50913
+ B1$1(wJe, R0$1) && wJe.stopPropagation(), B1$1(wJe, u0$1) && qUe(!0), h || (B1$1(wJe, C21) || B1$1(wJe, U2$1)) && ($2 ? (qUe(!0), cXe(wJe), wJe.stopPropagation()) : $2 || (cXe(wJe), IYe(), wJe.stopPropagation())), B1$1(wJe, E3$1) && qUe(!1), B1$1(wJe, a6$1) && wQe.setSelectionRange(0, 0), B1$1(wJe, r6$1) && wQe.setSelectionRange($Qe.length, $Qe.length);
50914
50914
  },
50915
50915
  onFocus: () => nWe(!0),
50916
50916
  onBlur: () => {
@@ -54333,7 +54333,7 @@ function wD1({
54333
54333
  O(!0), I(!0), u1(!0, !0);
54334
54334
  }), e3$1("keydown", (Z) => {
54335
54335
  const U = document.activeElement;
54336
- B1$1(Z, M3$1) && L && !A && Y.current && U?.classList.contains(`${b}--header__menu-toggle`) && !U.closest("nav") && Y.current.focus();
54336
+ B1$1(Z, E3$1) && L && !A && Y.current && U?.classList.contains(`${b}--header__menu-toggle`) && !U.closest("nav") && Y.current.focus();
54337
54337
  });
54338
54338
  const w1 = `(min-width: ${O6$1.lg.width})`, Xle = m41(w1);
54339
54339
  return /* @__PURE__ */ t__default.createElement(O41.Provider, {
@@ -54605,11 +54605,11 @@ zc$2.propTypes = {
54605
54605
  */
54606
54606
  tabIndex: o.number
54607
54607
  };
54608
- const na2 = ({
54608
+ const ra2 = ({
54609
54609
  testId: n,
54610
54610
  children: e,
54611
54611
  ...r
54612
- }) => /* @__PURE__ */ jsx(H2$1, { ...r, "data-testid": n, children: e }), oa2 = ({
54612
+ }) => /* @__PURE__ */ jsx(H2$1, { ...r, "data-testid": n, children: e }), la2 = ({
54613
54613
  testId: n,
54614
54614
  children: e,
54615
54615
  ...r
@@ -54970,7 +54970,7 @@ var ID1 = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, BD
54970
54970
  900: "fad"
54971
54971
  }
54972
54972
  };
54973
- const F0$1 = "___FONT_AWESOME___", L8$1 = 16, K41 = "fa", Y41 = "svg-inline--fa", L3$1 = "data-fa-i2svg", C8$1 = "data-fa-pseudo-element", iO1 = "data-fa-pseudo-element-pending", bc$2 = "data-prefix", yc$2 = "data-icon", E11 = "fontawesome-i2svg", fO1 = "async", pO1 = ["HTML", "HEAD", "STYLE", "SCRIPT"], G41 = (() => {
54973
+ const F0$1 = "___FONT_AWESOME___", L8$1 = 16, K41 = "fa", Y41 = "svg-inline--fa", C3$1 = "data-fa-i2svg", C8$1 = "data-fa-pseudo-element", iO1 = "data-fa-pseudo-element-pending", bc$2 = "data-prefix", yc$2 = "data-icon", E11 = "fontawesome-i2svg", fO1 = "async", pO1 = ["HTML", "HEAD", "STYLE", "SCRIPT"], G41 = (() => {
54974
54974
  try {
54975
54975
  return process.env.NODE_ENV === "production";
54976
54976
  } catch {
@@ -55850,7 +55850,7 @@ function Sc$2(n, e) {
55850
55850
  function DO1(n, e) {
55851
55851
  return (oe1[n] || {})[e];
55852
55852
  }
55853
- function m3$1(n, e) {
55853
+ function w3$1(n, e) {
55854
55854
  return (ie1[n] || {})[e];
55855
55855
  }
55856
55856
  function pe1(n) {
@@ -55937,7 +55937,7 @@ function IO1(n, e, r) {
55937
55937
  prefix: a,
55938
55938
  iconName: l
55939
55939
  };
55940
- const f = e === "fa" ? pe1(l) : {}, d = m3$1(a, l);
55940
+ const f = e === "fa" ? pe1(l) : {}, d = w3$1(a, l);
55941
55941
  return l = f.iconName || d || l, a = f.prefix || a, a === "far" && !_4$1.far && _4$1.fas && !I1$1.autoFetchSvg && (a = "fas"), {
55942
55942
  prefix: a,
55943
55943
  iconName: l
@@ -55955,7 +55955,7 @@ function PO1(n) {
55955
55955
  } = n, h = r === I6$1, m = e.includes("fa-duotone") || e.includes("fad"), A = d.familyDefault === "duotone", g = a.prefix === "fad" || a.prefix === "fa-duotone";
55956
55956
  if (!h && (m || A || g) && (a.prefix = "fad"), (e.includes("fa-brands") || e.includes("fab")) && (a.prefix = "fab"), !a.prefix && BO1.includes(r) && (Object.keys(f).find((w) => ZO1.includes(w)) || d.autoFetchSvg)) {
55957
55957
  const w = UD1.get(r).defaultShortPrefixId;
55958
- a.prefix = w, a.iconName = m3$1(a.prefix, a.iconName) || a.iconName;
55958
+ a.prefix = w, a.iconName = w3$1(a.prefix, a.iconName) || a.iconName;
55959
55959
  }
55960
55960
  return (a.prefix === "fa" || l === "fa") && (a.prefix = s3$1() || "fas"), a;
55961
55961
  }
@@ -56022,7 +56022,7 @@ function N8$1(n, e) {
56022
56022
  e = f.apply(null, [e, ...a]);
56023
56023
  }), e;
56024
56024
  }
56025
- function C3$1(n) {
56025
+ function x3$1(n) {
56026
56026
  for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), a = 1; a < e; a++)
56027
56027
  r[a - 1] = arguments[a];
56028
56028
  (T3$1[n] || []).forEach((l) => {
@@ -56040,14 +56040,14 @@ function A8$1(n) {
56040
56040
  } = n;
56041
56041
  const r = n.prefix || s3$1();
56042
56042
  if (e)
56043
- return e = m3$1(r, e) || e, L11(de1.definitions, r, e) || L11(T0$1.styles, r, e);
56043
+ return e = w3$1(r, e) || e, L11(de1.definitions, r, e) || L11(T0$1.styles, r, e);
56044
56044
  }
56045
56045
  const de1 = new FO1(), UO1 = () => {
56046
- I1$1.autoReplaceSvg = !1, I1$1.observeMutations = !1, C3$1("noAuto");
56046
+ I1$1.autoReplaceSvg = !1, I1$1.observeMutations = !1, x3$1("noAuto");
56047
56047
  }, qO1 = {
56048
56048
  i2svg: function() {
56049
56049
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
56050
- return U0$1 ? (C3$1("beforeI2svg", n), i3$1("pseudoElements2svg", n), i3$1("i2svg", n)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
56050
+ return U0$1 ? (x3$1("beforeI2svg", n), i3$1("pseudoElements2svg", n), i3$1("i2svg", n)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
56051
56051
  },
56052
56052
  watch: function() {
56053
56053
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -56057,7 +56057,7 @@ const de1 = new FO1(), UO1 = () => {
56057
56057
  I1$1.autoReplaceSvg === !1 && (I1$1.autoReplaceSvg = !0), I1$1.observeMutations = !0, bO1(() => {
56058
56058
  YO1({
56059
56059
  autoReplaceSvgRoot: e
56060
- }), C3$1("watch", n);
56060
+ }), x3$1("watch", n);
56061
56061
  });
56062
56062
  }
56063
56063
  }, KO1 = {
@@ -56067,13 +56067,13 @@ const de1 = new FO1(), UO1 = () => {
56067
56067
  if (typeof n == "object" && n.prefix && n.iconName)
56068
56068
  return {
56069
56069
  prefix: n.prefix,
56070
- iconName: m3$1(n.prefix, n.iconName) || n.iconName
56070
+ iconName: w3$1(n.prefix, n.iconName) || n.iconName
56071
56071
  };
56072
56072
  if (Array.isArray(n) && n.length === 2) {
56073
56073
  const e = n[1].indexOf("fa-") === 0 ? n[1].slice(3) : n[1], r = Z6$1(n[0]);
56074
56074
  return {
56075
56075
  prefix: r,
56076
- iconName: m3$1(r, e) || e
56076
+ iconName: w3$1(r, e) || e
56077
56077
  };
56078
56078
  }
56079
56079
  if (typeof n == "string" && (n.indexOf("".concat(I1$1.cssPrefix, "-")) > -1 || n.match(dO1))) {
@@ -56082,14 +56082,14 @@ const de1 = new FO1(), UO1 = () => {
56082
56082
  });
56083
56083
  return {
56084
56084
  prefix: e.prefix || s3$1(),
56085
- iconName: m3$1(e.prefix, e.iconName) || e.iconName
56085
+ iconName: w3$1(e.prefix, e.iconName) || e.iconName
56086
56086
  };
56087
56087
  }
56088
56088
  if (typeof n == "string") {
56089
56089
  const e = s3$1();
56090
56090
  return {
56091
56091
  prefix: e,
56092
- iconName: m3$1(e, n) || n
56092
+ iconName: w3$1(e, n) || n
56093
56093
  };
56094
56094
  }
56095
56095
  }
@@ -56208,7 +56208,7 @@ function Dc$2(n) {
56208
56208
  const z = V && !~g.classes.indexOf("fa-fw") ? {
56209
56209
  width: "".concat(v / C * 16 * 0.0625, "em")
56210
56210
  } : {};
56211
- w && (y.attributes[L3$1] = ""), h && (y.children.push({
56211
+ w && (y.attributes[C3$1] = ""), h && (y.children.push({
56212
56212
  tag: "title",
56213
56213
  attributes: {
56214
56214
  id: y.attributes["aria-labelledby"] || "title-".concat(A || z4$1())
@@ -56250,7 +56250,7 @@ function _11(n) {
56250
56250
  } : {}), {}, {
56251
56251
  class: d.classes.join(" ")
56252
56252
  });
56253
- h && (m[L3$1] = "");
56253
+ h && (m[C3$1] = "");
56254
56254
  const A = g1$1({}, d.styles);
56255
56255
  $c$2(l) && (A.transform = xO1({
56256
56256
  transform: l,
@@ -56374,7 +56374,7 @@ var Oc$2 = {
56374
56374
  const Le$1 = () => {
56375
56375
  };
56376
56376
  function y11(n) {
56377
- return typeof (n.getAttribute ? n.getAttribute(L3$1) : null) == "string";
56377
+ return typeof (n.getAttribute ? n.getAttribute(C3$1) : null) == "string";
56378
56378
  }
56379
56379
  function cR1(n) {
56380
56380
  const e = n.getAttribute ? n.getAttribute(bc$2) : null, r = n.getAttribute ? n.getAttribute(yc$2) : null;
@@ -56418,7 +56418,7 @@ const Ce$1 = {
56418
56418
  if (e.parentNode)
56419
56419
  if (n[1].forEach((r) => {
56420
56420
  e.parentNode.insertBefore(me1(r), e);
56421
- }), e.getAttribute(L3$1) === null && I1$1.keepOriginalSource) {
56421
+ }), e.getAttribute(C3$1) === null && I1$1.keepOriginalSource) {
56422
56422
  let r = g2$1.createComment(lR1(e));
56423
56423
  e.parentNode.replaceChild(r, e);
56424
56424
  } else
@@ -56438,7 +56438,7 @@ const Ce$1 = {
56438
56438
  }
56439
56439
  const l = r.map((f) => B4(f)).join(`
56440
56440
  `);
56441
- e.setAttribute(L3$1, ""), e.innerHTML = l;
56441
+ e.setAttribute(C3$1, ""), e.innerHTML = l;
56442
56442
  }
56443
56443
  };
56444
56444
  function N11(n) {
@@ -56581,7 +56581,7 @@ function T11(n) {
56581
56581
  if (!U0$1) return Promise.resolve();
56582
56582
  const r = g2$1.documentElement.classList, a = (g) => r.add("".concat(E11, "-").concat(g)), l = (g) => r.remove("".concat(E11, "-").concat(g)), f = I1$1.autoFetchSvg ? uR1() : j41.concat(Object.keys(dR1));
56583
56583
  f.includes("fa") || f.push("fa");
56584
- const d = [".".concat(X41, ":not([").concat(L3$1, "])")].concat(f.map((g) => ".".concat(g, ":not([").concat(L3$1, "])"))).join(", ");
56584
+ const d = [".".concat(X41, ":not([").concat(C3$1, "])")].concat(f.map((g) => ".".concat(g, ":not([").concat(C3$1, "])"))).join(", ");
56585
56585
  if (d.length === 0)
56586
56586
  return Promise.resolve();
56587
56587
  let h = [];
@@ -56651,7 +56651,7 @@ const vR1 = function(n) {
56651
56651
  } = n;
56652
56652
  return F6$1(g1$1({
56653
56653
  type: "icon"
56654
- }, n), () => (C3$1("beforeDOMElementCreation", {
56654
+ }, n), () => (x3$1("beforeDOMElementCreation", {
56655
56655
  iconDefinition: n,
56656
56656
  params: e
56657
56657
  }), I1$1.autoA11y && (d ? A["aria-labelledby"] = "".concat(I1$1.replacementClass, "-title-").concat(h || z4$1()) : (A["aria-hidden"] = "true", A.focusable = "false")), Dc$2({
@@ -56769,7 +56769,7 @@ var gR1 = {
56769
56769
  return F6$1({
56770
56770
  type: "layer"
56771
56771
  }, () => {
56772
- C3$1("beforeDOMElementCreation", {
56772
+ x3$1("beforeDOMElementCreation", {
56773
56773
  assembler: n,
56774
56774
  params: e
56775
56775
  });
@@ -56803,7 +56803,7 @@ var gR1 = {
56803
56803
  return F6$1({
56804
56804
  type: "counter",
56805
56805
  content: n
56806
- }, () => (C3$1("beforeDOMElementCreation", {
56806
+ }, () => (x3$1("beforeDOMElementCreation", {
56807
56807
  content: n,
56808
56808
  params: e
56809
56809
  }), XO1({
@@ -56833,7 +56833,7 @@ var gR1 = {
56833
56833
  return F6$1({
56834
56834
  type: "text",
56835
56835
  content: n
56836
- }, () => (C3$1("beforeDOMElementCreation", {
56836
+ }, () => (x3$1("beforeDOMElementCreation", {
56837
56837
  content: n,
56838
56838
  params: e
56839
56839
  }), _11({
@@ -65242,40 +65242,40 @@ var qn2 = {
65242
65242
  faTurnUp: Gr1,
65243
65243
  faLevelUpAlt: Un2
65244
65244
  };
65245
- const sa2 = () => {
65245
+ const ia2 = () => {
65246
65246
  OR1.add(qn2);
65247
- }, va2 = ({
65247
+ }, ga2 = ({
65248
65248
  testId: n,
65249
65249
  ...e
65250
- }) => /* @__PURE__ */ jsx(p41, { ...e, "data-testid": n }), ga2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(J5$1, { ...e, "data-testid": n }), Ma2 = ({
65250
+ }) => /* @__PURE__ */ jsx(p41, { ...e, "data-testid": n }), Ma2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(J5$1, { ...e, "data-testid": n }), Ea2 = ({
65251
65251
  testId: n,
65252
65252
  ...e
65253
- }) => /* @__PURE__ */ jsx(Ec$2, { ...e, "data-testid": n }), za2 = ({
65253
+ }) => /* @__PURE__ */ jsx(Ec$2, { ...e, "data-testid": n }), _a2 = ({
65254
65254
  testId: n,
65255
65255
  ...e
65256
- }) => /* @__PURE__ */ jsx(y21, { ...e, "data-testid": n }), _a2 = ({
65256
+ }) => /* @__PURE__ */ jsx(y21, { ...e, "data-testid": n }), ba2 = ({
65257
65257
  testId: n,
65258
65258
  ...e
65259
- }) => /* @__PURE__ */ jsx(j31, { ...e, "data-testid": n }), ba2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(dc$2, { ...e, "data-testid": n }), ya2 = ({
65259
+ }) => /* @__PURE__ */ jsx(j31, { ...e, "data-testid": n }), ya2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(dc$2, { ...e, "data-testid": n }), Na2 = ({
65260
65260
  testId: n,
65261
65261
  ...e
65262
- }) => /* @__PURE__ */ jsx(M6$1, { ...e, "data-testid": n }), Aa2 = ({
65262
+ }) => /* @__PURE__ */ jsx(M6$1, { ...e, "data-testid": n }), $a2 = ({
65263
65263
  testId: n,
65264
65264
  children: e,
65265
65265
  ...r
65266
- }) => /* @__PURE__ */ jsx(D6$1, { ...r, "data-testid": n, children: e }), Ta2 = ({
65266
+ }) => /* @__PURE__ */ jsx(D6$1, { ...r, "data-testid": n, children: e }), Sa2 = ({
65267
65267
  testId: n,
65268
65268
  children: e,
65269
65269
  ...r
65270
- }) => /* @__PURE__ */ jsx(o3$1, { ...r, "data-testid": n, children: e }), Sa2 = ({
65270
+ }) => /* @__PURE__ */ jsx(o3$1, { ...r, "data-testid": n, children: e }), Da2 = ({
65271
65271
  testId: n,
65272
65272
  children: e,
65273
65273
  ...r
65274
- }) => /* @__PURE__ */ jsx($4, { ...r, "data-testid": n, children: e }), Da2 = ({
65274
+ }) => /* @__PURE__ */ jsx($4, { ...r, "data-testid": n, children: e }), Oa2 = ({
65275
65275
  testId: n,
65276
65276
  children: e,
65277
65277
  ...r
65278
- }) => /* @__PURE__ */ jsx(W31, { ...r, "data-testid": n, children: e }), Oa2 = ({
65278
+ }) => /* @__PURE__ */ jsx(W31, { ...r, "data-testid": n, children: e }), Ra2 = ({
65279
65279
  testId: n,
65280
65280
  ...e
65281
65281
  }) => /* @__PURE__ */ jsx(Ge$1, { ...e, "data-testid": n }), lr2 = "_layout_9nvsd_85", sr2 = "_collapsedModal_9nvsd_93", ir2 = "_body_9nvsd_104", fr2 = "_expand_9nvsd_108", pr2 = "_collapse_9nvsd_93", hr2 = "_patientHeader_9nvsd_118", dr2 = "_collapsedPatientHeader_9nvsd_128", ur2 = "_mainDisplay_9nvsd_132", mr2 = "_collapsedMainDisplay_9nvsd_142", wr2 = "_actionArea_9nvsd_146", b0$1 = {
@@ -65289,7 +65289,7 @@ const sa2 = () => {
65289
65289
  mainDisplay: ur2,
65290
65290
  collapsedMainDisplay: mr2,
65291
65291
  actionArea: wr2
65292
- }, Ia2 = ({
65292
+ }, Ba2 = ({
65293
65293
  headerWSideNav: n,
65294
65294
  patientHeader: e,
65295
65295
  mainDisplay: r,
@@ -65339,7 +65339,7 @@ const sa2 = () => {
65339
65339
  l && /* @__PURE__ */ jsx("div", { className: b0$1.actionArea, children: a })
65340
65340
  ]
65341
65341
  }
65342
- ), Za2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(ac$2, { ...e, "data-testid": n }), Mr2 = "_breadcrumb_dqa8m_8", Er2 = "_sideNavItems_dqa8m_20", q11 = {
65342
+ ), Pa2 = ({ testId: n, ...e }) => /* @__PURE__ */ jsx(ac$2, { ...e, "data-testid": n }), Mr2 = "_breadcrumb_dqa8m_8", Er2 = "_sideNavItems_dqa8m_20", q11 = {
65343
65343
  breadcrumb: Mr2,
65344
65344
  sideNavItems: Er2
65345
65345
  }, Hr2 = (n, e = !0) => {
@@ -65449,7 +65449,7 @@ const Lr2 = t__default.memo(
65449
65449
  }
65450
65450
  );
65451
65451
  Lr2.displayName = "Header";
65452
- const Pa2 = (n) => {
65452
+ const Fa2 = (n) => {
65453
65453
  const [e, r] = useState(null), a = useMemo(() => n.length ? e && n.some((f) => f.id === e) ? e : n[0].id : null, [e, n]), l = useCallback((f) => {
65454
65454
  r(f);
65455
65455
  }, []);
@@ -65457,18 +65457,18 @@ const Pa2 = (n) => {
65457
65457
  activeItemId: a,
65458
65458
  handleItemClick: l
65459
65459
  };
65460
- }, Fa2 = ({
65460
+ }, Wa2 = ({
65461
65461
  testId: n,
65462
65462
  children: e,
65463
65463
  ...r
65464
- }) => /* @__PURE__ */ jsx(_6$1, { ...r, "data-testid": n, children: e }), Wa2 = ({
65464
+ }) => /* @__PURE__ */ jsx(_6$1, { ...r, "data-testid": n, children: e }), ja2 = ({
65465
65465
  testId: n,
65466
65466
  ...e
65467
65467
  }) => /* @__PURE__ */ jsx(uc$2, { ...e, "data-testid": n }), Cr2 = "_grid_i0b21_1", xr2 = "_children_i0b21_9", zr2 = "_close_i0b21_16", Gt$1 = {
65468
65468
  grid: Cr2,
65469
65469
  children: xr2,
65470
65470
  close: zr2
65471
- }, Ua2 = ({
65471
+ }, qa2 = ({
65472
65472
  children: n,
65473
65473
  onClose: e,
65474
65474
  className: r,
@@ -65566,7 +65566,7 @@ Nr2.displayName = "TextAreaWClose";
65566
65566
  const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65567
65567
  box: Ar2,
65568
65568
  header: $r2
65569
- }, qa2 = ({
65569
+ }, Ka2 = ({
65570
65570
  title: n,
65571
65571
  children: e,
65572
65572
  className: r,
@@ -65586,14 +65586,15 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65586
65586
  /* @__PURE__ */ jsx(o3$1, { sm: 4, md: 8, lg: 16, xlg: 16, children: e })
65587
65587
  ]
65588
65588
  }
65589
- ), Tr2 = "_actionArea_1s62r_1", Sr2 = "_title_1s62r_13", Dr2 = "_content_1s62r_22", Or2 = "_buttonSet_1s62r_27", Rr2 = "_twoButtons_1s62r_33", kr2 = "_threeButtons_1s62r_36", N3$1 = {
65589
+ ), Tr2 = "_actionArea_1mntf_1", Sr2 = "_hidden_1mntf_13", Dr2 = "_title_1mntf_18", Or2 = "_content_1mntf_27", Rr2 = "_buttonSet_1mntf_32", kr2 = "_twoButtons_1mntf_38", Ir2 = "_threeButtons_1mntf_41", d3$1 = {
65590
65590
  actionArea: Tr2,
65591
- title: Sr2,
65592
- content: Dr2,
65593
- buttonSet: Or2,
65594
- twoButtons: Rr2,
65595
- threeButtons: kr2
65596
- }, Ka2 = ({
65591
+ hidden: Sr2,
65592
+ title: Dr2,
65593
+ content: Or2,
65594
+ buttonSet: Rr2,
65595
+ twoButtons: kr2,
65596
+ threeButtons: Ir2
65597
+ }, Ya2 = ({
65597
65598
  title: n,
65598
65599
  primaryButtonText: e,
65599
65600
  onPrimaryButtonClick: r,
@@ -65607,34 +65608,38 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65607
65608
  content: g,
65608
65609
  className: w,
65609
65610
  ariaLabel: v,
65610
- buttonGroupAriaLabel: C = "Action buttons"
65611
+ buttonGroupAriaLabel: C = "Action buttons",
65612
+ hidden: V = !1
65611
65613
  }) => {
65612
- const V = h && m ? N3$1.threeButtons : N3$1.twoButtons, E = v ?? "Action Area";
65614
+ const E = h && m ? d3$1.threeButtons : d3$1.twoButtons, y = v ?? "Action Area";
65613
65615
  return /* @__PURE__ */ jsxs(
65614
65616
  "div",
65615
65617
  {
65616
- className: K$1(N3$1.actionArea, w),
65618
+ className: K$1(d3$1.actionArea, w, {
65619
+ [d3$1.hidden]: V
65620
+ }),
65617
65621
  role: "region",
65618
- "aria-label": E,
65622
+ "aria-label": y,
65623
+ "aria-hidden": V,
65619
65624
  children: [
65620
- /* @__PURE__ */ jsx("h2", { className: N3$1.title, id: "action-area-title", children: n }),
65625
+ /* @__PURE__ */ jsx("h2", { className: d3$1.title, id: "action-area-title", children: n }),
65621
65626
  /* @__PURE__ */ jsx(
65622
65627
  "div",
65623
65628
  {
65624
- className: N3$1.content,
65629
+ className: d3$1.content,
65625
65630
  role: "region",
65626
65631
  "aria-labelledby": "action-area-title",
65627
65632
  children: g
65628
65633
  }
65629
65634
  ),
65630
- /* @__PURE__ */ jsxs(n3$1, { className: N3$1.buttonSet, "aria-label": C, children: [
65635
+ /* @__PURE__ */ jsxs(n3$1, { className: d3$1.buttonSet, "aria-label": C, children: [
65631
65636
  /* @__PURE__ */ jsx(
65632
65637
  H2$1,
65633
65638
  {
65634
65639
  kind: "secondary",
65635
65640
  onClick: f,
65636
65641
  disabled: d,
65637
- className: V,
65642
+ className: E,
65638
65643
  "aria-label": l,
65639
65644
  children: l
65640
65645
  }
@@ -65645,7 +65650,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65645
65650
  kind: "tertiary",
65646
65651
  onClick: m,
65647
65652
  disabled: A,
65648
- className: V,
65653
+ className: E,
65649
65654
  "aria-label": h,
65650
65655
  children: h
65651
65656
  }
@@ -65656,7 +65661,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65656
65661
  kind: "primary",
65657
65662
  onClick: r,
65658
65663
  disabled: a,
65659
- className: V,
65664
+ className: E,
65660
65665
  "aria-label": e,
65661
65666
  children: e
65662
65667
  }
@@ -65665,15 +65670,15 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65665
65670
  ]
65666
65671
  }
65667
65672
  );
65668
- }, Ya2 = ({
65673
+ }, Ga2 = ({
65669
65674
  testId: n,
65670
65675
  ...e
65671
- }) => /* @__PURE__ */ jsx(d31, { ...e, "data-testid": n }), Ir2 = "_formCardContainer_1rru0_1", Br2 = "_title_1rru0_6", Zr2 = "_formsGrid_1rru0_12", Pr2 = "_noFormsMessage_1rru0_19", we$1 = {
65672
- formCardContainer: Ir2,
65673
- title: Br2,
65674
- formsGrid: Zr2,
65675
- noFormsMessage: Pr2
65676
- }, Ga2 = ({
65676
+ }) => /* @__PURE__ */ jsx(d31, { ...e, "data-testid": n }), Br2 = "_formCardContainer_1rru0_1", Zr2 = "_title_1rru0_6", Pr2 = "_formsGrid_1rru0_12", Fr2 = "_noFormsMessage_1rru0_19", we$1 = {
65677
+ formCardContainer: Br2,
65678
+ title: Zr2,
65679
+ formsGrid: Pr2,
65680
+ noFormsMessage: Fr2
65681
+ }, Ja2 = ({
65677
65682
  title: n,
65678
65683
  children: e,
65679
65684
  noFormsMessage: r = "No forms found",
@@ -65692,15 +65697,15 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65692
65697
  }
65693
65698
  ) : null
65694
65699
  ] });
65695
- }, Fr2 = "_formCard_1ili1_1", Wr2 = "_clickable_1ili1_9", jr2 = "_disabled_1ili1_12", Ur2 = "_selected_1ili1_21", qr2 = "_header_1ili1_36", Kr2 = "_title_1ili1_43", Yr2 = "_actionIcon_1ili1_60", J0$1 = {
65696
- formCard: Fr2,
65697
- clickable: Wr2,
65698
- disabled: jr2,
65699
- selected: Ur2,
65700
- header: qr2,
65701
- title: Kr2,
65702
- actionIcon: Yr2
65703
- }, Gr2 = ({
65700
+ }, Wr2 = "_formCard_1ili1_1", jr2 = "_clickable_1ili1_9", Ur2 = "_disabled_1ili1_12", qr2 = "_selected_1ili1_21", Kr2 = "_header_1ili1_36", Yr2 = "_title_1ili1_43", Gr2 = "_actionIcon_1ili1_60", J0$1 = {
65701
+ formCard: Wr2,
65702
+ clickable: jr2,
65703
+ disabled: Ur2,
65704
+ selected: qr2,
65705
+ header: Kr2,
65706
+ title: Yr2,
65707
+ actionIcon: Gr2
65708
+ }, Jr2 = ({
65704
65709
  icon: n,
65705
65710
  onClick: e,
65706
65711
  disabled: r = !1,
@@ -65733,7 +65738,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65733
65738
  )
65734
65739
  }
65735
65740
  );
65736
- }, Jr2 = ({
65741
+ }, Xr2 = ({
65737
65742
  title: n,
65738
65743
  icon: e,
65739
65744
  iconSize: r,
@@ -65752,7 +65757,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65752
65757
  ),
65753
65758
  /* @__PURE__ */ jsx("div", { className: J0$1.title, children: n }),
65754
65759
  a && l && /* @__PURE__ */ jsx(
65755
- Gr2,
65760
+ Jr2,
65756
65761
  {
65757
65762
  icon: a,
65758
65763
  onClick: l,
@@ -65760,7 +65765,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65760
65765
  ariaLabel: `Action for ${n}`
65761
65766
  }
65762
65767
  )
65763
- ] }), Xr2 = (n, e, r, a) => {
65768
+ ] }), Qr2 = (n, e, r, a) => {
65764
65769
  const l = n ?? e ?? r;
65765
65770
  return {
65766
65771
  handleCardClick: () => {
@@ -65771,7 +65776,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65771
65776
  },
65772
65777
  hasClickHandler: !!l
65773
65778
  };
65774
- }, Ja2 = ({
65779
+ }, Xa2 = ({
65775
65780
  title: n,
65776
65781
  icon: e,
65777
65782
  iconSize: r = s4$1.LG,
@@ -65786,7 +65791,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65786
65791
  dataTestId: w = "form-card",
65787
65792
  ariaLabel: v
65788
65793
  }) => {
65789
- const { handleCardClick: C, handleKeyDown: V, hasClickHandler: E } = Xr2(
65794
+ const { handleCardClick: C, handleKeyDown: V, hasClickHandler: E } = Qr2(
65790
65795
  f,
65791
65796
  d,
65792
65797
  h,
@@ -65816,7 +65821,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65816
65821
  onKeyDown: V,
65817
65822
  ...z,
65818
65823
  children: /* @__PURE__ */ jsx(
65819
- Jr2,
65824
+ Xr2,
65820
65825
  {
65821
65826
  title: n,
65822
65827
  icon: e,
@@ -65828,7 +65833,7 @@ const Ar2 = "_box_1jr6a_1", $r2 = "_header_1jr6a_8", K11 = {
65828
65833
  )
65829
65834
  }
65830
65835
  );
65831
- }, Qa2 = ({
65836
+ }, e72 = ({
65832
65837
  testId: n,
65833
65838
  ...e
65834
65839
  }) => /* @__PURE__ */ jsx(l41, { ...e, "data-testid": n }), warn = (n, e, r, a) => {
@@ -154068,7 +154073,7 @@ const NGe = [
154068
154073
  },
154069
154074
  {
154070
154075
  type: "forms",
154071
- component: lazy$1(() => import("./FormsTable-UxNpSTPL-Bn28Sk0l.js"))
154076
+ component: lazy$1(() => import("./FormsTable-C7PUueUt-BJlenAuA.js"))
154072
154077
  }
154073
154078
  ];
154074
154079
  class Xr {
@@ -155949,7 +155954,7 @@ var displayValue = (n, e = !1) => {
155949
155954
  const e = render(() => {
155950
155955
  const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t;
155951
155956
  let A;
155952
- return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-DUk8FV0x.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
155957
+ return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-D6If__2Q.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
155953
155958
  get queryFlavor() {
155954
155959
  return r.#n;
155955
155960
  },
@@ -156047,7 +156052,7 @@ var displayValue = (n, e = !1) => {
156047
156052
  const e = render(() => {
156048
156053
  const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t, [A] = this.#s;
156049
156054
  let g;
156050
- return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-OxZSOHLm.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
156055
+ return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-CQ9Hlb01.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
156051
156056
  get queryFlavor() {
156052
156057
  return r.#n;
156053
156058
  },
@@ -157618,9 +157623,9 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157618
157623
  hasBeenValidated: C
157619
157624
  } = n, V = !!(C && v.severity), E = !!(C && v.reactions), [y, z] = useState(!!w);
157620
157625
  return /* @__PURE__ */ jsxs(Fragment, { children: [
157621
- /* @__PURE__ */ jsxs(Aa2, { children: [
157626
+ /* @__PURE__ */ jsxs($a2, { children: [
157622
157627
  /* @__PURE__ */ jsxs(
157623
- Ta2,
157628
+ Sa2,
157624
157629
  {
157625
157630
  sm: 4,
157626
157631
  md: 5,
@@ -157633,7 +157638,7 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157633
157638
  f(getCategoryDisplayName(m)),
157634
157639
  "]",
157635
157640
  !y && /* @__PURE__ */ jsx(
157636
- Sa2,
157641
+ Da2,
157637
157642
  {
157638
157643
  href: "#",
157639
157644
  onClick: (_) => {
@@ -157647,7 +157652,7 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157647
157652
  }
157648
157653
  ),
157649
157654
  /* @__PURE__ */ jsx(
157650
- Ta2,
157655
+ Sa2,
157651
157656
  {
157652
157657
  sm: 4,
157653
157658
  md: 3,
@@ -157655,7 +157660,7 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157655
157660
  xlg: 3,
157656
157661
  className: styles$f.selectedAllergySeverity,
157657
157662
  children: /* @__PURE__ */ jsx(
157658
- ba2,
157663
+ ya2,
157659
157664
  {
157660
157665
  id: `allergy-severity-dropdown-${d}`,
157661
157666
  "data-testid": `allergy-severity-dropdown-${d}`,
@@ -157678,7 +157683,7 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157678
157683
  }
157679
157684
  ),
157680
157685
  /* @__PURE__ */ jsx(
157681
- Ta2,
157686
+ Sa2,
157682
157687
  {
157683
157688
  sm: 4,
157684
157689
  md: 4,
@@ -157686,7 +157691,7 @@ const createEncounterResource = (n, e, r, a, l, f, d, h) => ({
157686
157691
  xlg: 4,
157687
157692
  className: styles$f.selectedAllergyReactions,
157688
157693
  children: /* @__PURE__ */ jsx(
157689
- Wa2,
157694
+ ja2,
157690
157695
  {
157691
157696
  id: `allergy-reactions-multiselect-${d}`,
157692
157697
  "data-testid": `allergy-reactions-multiselect-${d}`,
@@ -157851,10 +157856,10 @@ const allergiesFormTile = "_allergiesFormTile_1g1wd_1", allergiesFormTitle = "_a
157851
157856
  A,
157852
157857
  n
157853
157858
  ]);
157854
- return /* @__PURE__ */ jsxs(oa2, { className: styles$e.allergiesFormTile, children: [
157859
+ return /* @__PURE__ */ jsxs(la2, { className: styles$e.allergiesFormTile, children: [
157855
157860
  /* @__PURE__ */ jsx("div", { className: styles$e.allergiesFormTitle, children: n("ALLERGIES_FORM_TITLE") }),
157856
157861
  /* @__PURE__ */ jsx(
157857
- ga2,
157862
+ Ma2,
157858
157863
  {
157859
157864
  id: "allergies-search",
157860
157865
  placeholder: n("ALLERGIES_SEARCH_PLACEHOLDER"),
@@ -157871,7 +157876,7 @@ const allergiesFormTile = "_allergiesFormTile_1g1wd_1", allergiesFormTitle = "_a
157871
157876
  }
157872
157877
  ),
157873
157878
  f && /* @__PURE__ */ jsx(
157874
- Qa2,
157879
+ e72,
157875
157880
  {
157876
157881
  kind: "error",
157877
157882
  lowContrast: !0,
@@ -157882,12 +157887,12 @@ const allergiesFormTile = "_allergiesFormTile_1g1wd_1", allergiesFormTitle = "_a
157882
157887
  }
157883
157888
  ),
157884
157889
  A && A.length > 0 && /* @__PURE__ */ jsx(
157885
- qa2,
157890
+ Ka2,
157886
157891
  {
157887
157892
  title: n("ALLERGIES_ADDED_ALLERGIES"),
157888
157893
  className: styles$e.allergiesBox,
157889
157894
  children: A.map((Y) => /* @__PURE__ */ jsx(
157890
- Ua2,
157895
+ qa2,
157891
157896
  {
157892
157897
  className: styles$e.selectedAllergyItem,
157893
157898
  onClose: () => w(Y.id),
@@ -157949,9 +157954,9 @@ const useConceptSearch = (n, e = 20, r = 500) => {
157949
157954
  errors: h,
157950
157955
  hasBeenValidated: m
157951
157956
  } = n, A = !!(m && h.durationValue), g = !!(m && h.durationUnit);
157952
- return /* @__PURE__ */ jsxs(Aa2, { children: [
157957
+ return /* @__PURE__ */ jsxs($a2, { children: [
157953
157958
  /* @__PURE__ */ jsx(
157954
- Ta2,
157959
+ Sa2,
157955
157960
  {
157956
157961
  sm: 4,
157957
157962
  md: 7,
@@ -157962,7 +157967,7 @@ const useConceptSearch = (n, e = 20, r = 500) => {
157962
157967
  }
157963
157968
  ),
157964
157969
  /* @__PURE__ */ jsxs(
157965
- Ta2,
157970
+ Sa2,
157966
157971
  {
157967
157972
  sm: 4,
157968
157973
  md: 2,
@@ -157971,7 +157976,7 @@ const useConceptSearch = (n, e = 20, r = 500) => {
157971
157976
  className: styles$d.selectedConditionDuration,
157972
157977
  children: [
157973
157978
  /* @__PURE__ */ jsx(
157974
- Ma2,
157979
+ Ea2,
157975
157980
  {
157976
157981
  id: `condition-duration-value-${a}`,
157977
157982
  labelText: r("CONDITIONS_DURATION_VALUE_LABEL"),
@@ -157996,7 +158001,7 @@ const useConceptSearch = (n, e = 20, r = 500) => {
157996
158001
  }
157997
158002
  ),
157998
158003
  /* @__PURE__ */ jsx(
157999
- ba2,
158004
+ ya2,
158000
158005
  {
158001
158006
  id: `condition-duration-unit-${a}`,
158002
158007
  titleText: r("CONDITIONS_DURATION_UNIT_LABEL"),
@@ -158046,9 +158051,9 @@ const CERTAINITY_CONCEPTS = [
158046
158051
  doesConditionExist: a = !1
158047
158052
  }) => {
158048
158053
  const { t: l } = useTranslation(), { id: f, display: d, selectedCertainty: h, errors: m, hasBeenValidated: A } = n, g = !!(A && m.certainty);
158049
- return /* @__PURE__ */ jsxs(Aa2, { children: [
158054
+ return /* @__PURE__ */ jsxs($a2, { children: [
158050
158055
  /* @__PURE__ */ jsxs(
158051
- Ta2,
158056
+ Sa2,
158052
158057
  {
158053
158058
  sm: 4,
158054
158059
  md: 7,
@@ -158058,7 +158063,7 @@ const CERTAINITY_CONCEPTS = [
158058
158063
  children: [
158059
158064
  d,
158060
158065
  /* @__PURE__ */ jsx(
158061
- Sa2,
158066
+ Da2,
158062
158067
  {
158063
158068
  href: "#",
158064
158069
  onClick: (w) => {
@@ -158074,7 +158079,7 @@ const CERTAINITY_CONCEPTS = [
158074
158079
  }
158075
158080
  ),
158076
158081
  /* @__PURE__ */ jsx(
158077
- Ta2,
158082
+ Sa2,
158078
158083
  {
158079
158084
  sm: 4,
158080
158085
  md: 2,
@@ -158082,7 +158087,7 @@ const CERTAINITY_CONCEPTS = [
158082
158087
  xlg: 4,
158083
158088
  className: styles$c.selectedDiagnosisCertainty,
158084
158089
  children: /* @__PURE__ */ jsx(
158085
- ba2,
158090
+ ya2,
158086
158091
  {
158087
158092
  id: `diagnoses-certainty-dropdown-${f}`,
158088
158093
  testId: `diagnoses-certainty-dropdown-${f}`,
@@ -158192,10 +158197,10 @@ const conditionsAndDiagnosesTile = "_conditionsAndDiagnosesTile_vj12i_1", condit
158192
158197
  f,
158193
158198
  n
158194
158199
  ]);
158195
- return /* @__PURE__ */ jsxs(oa2, { className: styles$b.conditionsAndDiagnosesTile, children: [
158200
+ return /* @__PURE__ */ jsxs(la2, { className: styles$b.conditionsAndDiagnosesTile, children: [
158196
158201
  /* @__PURE__ */ jsx("div", { className: styles$b.conditionsAndDiagnosesTitle, children: n("CONDITIONS_AND_DIAGNOSES_FORM_TITLE") }),
158197
158202
  /* @__PURE__ */ jsx(
158198
- ga2,
158203
+ Ma2,
158199
158204
  {
158200
158205
  id: "diagnoses-search",
158201
158206
  placeholder: n("DIAGNOSES_SEARCH_PLACEHOLDER"),
@@ -158209,12 +158214,12 @@ const conditionsAndDiagnosesTile = "_conditionsAndDiagnosesTile_vj12i_1", condit
158209
158214
  }
158210
158215
  ),
158211
158216
  f && f.length > 0 && /* @__PURE__ */ jsx(
158212
- qa2,
158217
+ Ka2,
158213
158218
  {
158214
158219
  title: n("DIAGNOSES_ADDED_DIAGNOSES"),
158215
158220
  className: styles$b.conditionsAndDiagnosesBox,
158216
158221
  children: f.map((k) => /* @__PURE__ */ jsx(
158217
- Ua2,
158222
+ qa2,
158218
158223
  {
158219
158224
  className: styles$b.selectedDiagnosisItem,
158220
158225
  onClose: () => m(k.id),
@@ -158233,12 +158238,12 @@ const conditionsAndDiagnosesTile = "_conditionsAndDiagnosesTile_vj12i_1", condit
158233
158238
  }
158234
158239
  ),
158235
158240
  d && d.length > 0 && /* @__PURE__ */ jsx(
158236
- qa2,
158241
+ Ka2,
158237
158242
  {
158238
158243
  title: n("CONDITIONS_SECTION_TITLE"),
158239
158244
  className: styles$b.conditionsAndDiagnosesBox,
158240
158245
  children: d.map((k) => /* @__PURE__ */ jsx(
158241
- Ua2,
158246
+ qa2,
158242
158247
  {
158243
158248
  className: styles$b.selectedConditionItem,
158244
158249
  onClose: () => w(k.id),
@@ -159861,14 +159866,14 @@ const useLocations = () => {
159861
159866
  g,
159862
159867
  V,
159863
159868
  l
159864
- ]), /* @__PURE__ */ jsxs(Aa2, { condensed: !1, narrow: !1, children: [
159865
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159869
+ ]), /* @__PURE__ */ jsxs($a2, { condensed: !1, narrow: !1, children: [
159870
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159866
159871
  FormField,
159867
159872
  {
159868
159873
  isLoading: !E && !h,
159869
159874
  placeholder: /* @__PURE__ */ jsx(DropdownPlaceholder, {}),
159870
159875
  children: /* @__PURE__ */ jsx(
159871
- ba2,
159876
+ ya2,
159872
159877
  {
159873
159878
  id: "location-dropdown",
159874
159879
  titleText: n("LOCATION"),
@@ -159882,13 +159887,13 @@ const useLocations = () => {
159882
159887
  )
159883
159888
  }
159884
159889
  ) }),
159885
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159890
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159886
159891
  FormField,
159887
159892
  {
159888
159893
  isLoading: !y && !g,
159889
159894
  placeholder: /* @__PURE__ */ jsx(DropdownPlaceholder, {}),
159890
159895
  children: /* @__PURE__ */ jsx(
159891
- ba2,
159896
+ ya2,
159892
159897
  {
159893
159898
  id: "encounter-type-dropdown",
159894
159899
  titleText: n("ENCOUNTER_TYPE"),
@@ -159902,13 +159907,13 @@ const useLocations = () => {
159902
159907
  )
159903
159908
  }
159904
159909
  ) }),
159905
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159910
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 5, xl: 12, className: styles$a.column, children: /* @__PURE__ */ jsx(
159906
159911
  FormField,
159907
159912
  {
159908
159913
  isLoading: !z && !g,
159909
159914
  placeholder: /* @__PURE__ */ jsx(DropdownPlaceholder, {}),
159910
159915
  children: /* @__PURE__ */ jsx(
159911
- ba2,
159916
+ ya2,
159912
159917
  {
159913
159918
  id: "visit-type-dropdown",
159914
159919
  titleText: n("VISIT_TYPE"),
@@ -159922,13 +159927,13 @@ const useLocations = () => {
159922
159927
  )
159923
159928
  }
159924
159929
  ) }),
159925
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 5, className: styles$a.column, children: /* @__PURE__ */ jsx(
159930
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 5, className: styles$a.column, children: /* @__PURE__ */ jsx(
159926
159931
  FormField,
159927
159932
  {
159928
159933
  isLoading: !w && !V,
159929
159934
  placeholder: /* @__PURE__ */ jsx(DropdownPlaceholder, {}),
159930
159935
  children: /* @__PURE__ */ jsx(
159931
- ba2,
159936
+ ya2,
159932
159937
  {
159933
159938
  id: "practitioner-dropdown",
159934
159939
  titleText: n("PARTICIPANT"),
@@ -159942,8 +159947,8 @@ const useLocations = () => {
159942
159947
  )
159943
159948
  }
159944
159949
  ) }),
159945
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 5, className: styles$a.column, children: /* @__PURE__ */ jsx(Da2, { datePickerType: "single", dateFormat: nh$1, children: /* @__PURE__ */ jsx(
159946
- Oa2,
159950
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 5, className: styles$a.column, children: /* @__PURE__ */ jsx(Oa2, { datePickerType: "single", dateFormat: nh$1, children: /* @__PURE__ */ jsx(
159951
+ Ra2,
159947
159952
  {
159948
159953
  id: "encounter-date-picker-input",
159949
159954
  placeholder: X2e.formattedResult,
@@ -159959,8 +159964,8 @@ const useLocations = () => {
159959
159964
  placeholder: e,
159960
159965
  children: r
159961
159966
  }) => n ? e : r, DropdownPlaceholder = t__default.memo(() => /* @__PURE__ */ jsxs(Fragment, { children: [
159962
- /* @__PURE__ */ jsx(za2, { className: styles$a.skeletonTitle }),
159963
- /* @__PURE__ */ jsx(za2, { className: styles$a.skeletonBody })
159967
+ /* @__PURE__ */ jsx(_a2, { className: styles$a.skeletonTitle }),
159968
+ /* @__PURE__ */ jsx(_a2, { className: styles$a.skeletonBody })
159964
159969
  ] }));
159965
159970
  DropdownPlaceholder.displayName = "DropdownPlaceholder";
159966
159971
  const BasicForm = t__default.memo(EncounterDetails), useInvestigationsSearch = (n = "") => {
@@ -160003,9 +160008,9 @@ const BasicForm = t__default.memo(EncounterDetails), useInvestigationsSearch = (
160003
160008
  e(g ? "stat" : "routine");
160004
160009
  };
160005
160010
  return /* @__PURE__ */ jsxs(Fragment, { children: [
160006
- /* @__PURE__ */ jsxs(Aa2, { children: [
160011
+ /* @__PURE__ */ jsxs($a2, { children: [
160007
160012
  /* @__PURE__ */ jsxs(
160008
- Ta2,
160013
+ Sa2,
160009
160014
  {
160010
160015
  sm: 4,
160011
160016
  md: 7,
@@ -160015,7 +160020,7 @@ const BasicForm = t__default.memo(EncounterDetails), useInvestigationsSearch = (
160015
160020
  children: [
160016
160021
  l,
160017
160022
  !h && /* @__PURE__ */ jsx(
160018
- Sa2,
160023
+ Da2,
160019
160024
  {
160020
160025
  href: "#",
160021
160026
  onClick: (g) => {
@@ -160029,7 +160034,7 @@ const BasicForm = t__default.memo(EncounterDetails), useInvestigationsSearch = (
160029
160034
  }
160030
160035
  ),
160031
160036
  /* @__PURE__ */ jsx(
160032
- Ta2,
160037
+ Sa2,
160033
160038
  {
160034
160039
  sm: 4,
160035
160040
  md: 2,
@@ -160037,7 +160042,7 @@ const BasicForm = t__default.memo(EncounterDetails), useInvestigationsSearch = (
160037
160042
  xlg: 4,
160038
160043
  className: styles$9.selectedInvestigationUrgentPriority,
160039
160044
  children: /* @__PURE__ */ jsx(
160040
- ya2,
160045
+ Na2,
160041
160046
  {
160042
160047
  id: `investigation-priority-checkbox-${a}`,
160043
160048
  labelText: d("INVESTIGATION_PRIORITY_URGENT"),
@@ -160168,10 +160173,10 @@ const investigationsFormTile = "_investigationsFormTile_697de_1", investigations
160168
160173
  E.display
160169
160174
  );
160170
160175
  };
160171
- return /* @__PURE__ */ jsxs(oa2, { className: styles$8.investigationsFormTile, children: [
160176
+ return /* @__PURE__ */ jsxs(la2, { className: styles$8.investigationsFormTile, children: [
160172
160177
  /* @__PURE__ */ jsx("div", { className: styles$8.investigationsFormTitle, children: n("INVESTIGATIONS_FORM_TITLE") }),
160173
160178
  /* @__PURE__ */ jsx(
160174
- ga2,
160179
+ Ma2,
160175
160180
  {
160176
160181
  id: "investigations-procedures-search",
160177
160182
  placeholder: n("INVESTIGATIONS_SEARCH_PLACEHOLDER"),
@@ -160185,14 +160190,14 @@ const investigationsFormTile = "_investigationsFormTile_697de_1", investigations
160185
160190
  }
160186
160191
  ),
160187
160192
  d && d.size > 0 && Array.from(d.keys()).map((E) => /* @__PURE__ */ jsx(
160188
- qa2,
160193
+ Ka2,
160189
160194
  {
160190
160195
  title: n("INVESTIGATIONS_ADDED", {
160191
160196
  investigationType: w(E)
160192
160197
  }),
160193
160198
  className: styles$8.addedInvestigationsBox,
160194
160199
  children: d.get(E)?.map((y) => /* @__PURE__ */ jsx(
160195
- Ua2,
160200
+ qa2,
160196
160201
  {
160197
160202
  onClose: () => g(E, y.id),
160198
160203
  className: styles$8.selectedInvestigationItem,
@@ -160436,11 +160441,11 @@ const useMedicationConfig = () => {
160436
160441
  w
160437
160442
  ]), useEffect(() => {
160438
160443
  Fce(), FUe();
160439
- }, [Fce, FUe]), /* @__PURE__ */ jsxs(Aa2, { condensed: !1, narrow: !1, children: [
160440
- /* @__PURE__ */ jsx(Ta2, { sm: 2, md: 4, lg: 8, className: styles$7.medicationTitle, children: I }),
160441
- /* @__PURE__ */ jsxs(Ta2, { sm: 2, md: 4, lg: 8, className: styles$7.medicationActions, children: [
160444
+ }, [Fce, FUe]), /* @__PURE__ */ jsxs($a2, { condensed: !1, narrow: !1, children: [
160445
+ /* @__PURE__ */ jsx(Sa2, { sm: 2, md: 4, lg: 8, className: styles$7.medicationTitle, children: I }),
160446
+ /* @__PURE__ */ jsxs(Sa2, { sm: 2, md: 4, lg: 8, className: styles$7.medicationActions, children: [
160442
160447
  /* @__PURE__ */ jsx(
160443
- ya2,
160448
+ Na2,
160444
160449
  {
160445
160450
  id: `stat-${E}`,
160446
160451
  labelText: V("MEDICATION_STAT"),
@@ -160451,7 +160456,7 @@ const useMedicationConfig = () => {
160451
160456
  }
160452
160457
  ),
160453
160458
  /* @__PURE__ */ jsx(
160454
- ya2,
160459
+ Na2,
160455
160460
  {
160456
160461
  id: `prn-${E}`,
160457
160462
  labelText: V("MEDICATION_PRN"),
@@ -160461,9 +160466,9 @@ const useMedicationConfig = () => {
160461
160466
  }
160462
160467
  )
160463
160468
  ] }),
160464
- /* @__PURE__ */ jsxs(Ta2, { sm: 2, md: 3, lg: 6, className: styles$7.dosageControls, children: [
160469
+ /* @__PURE__ */ jsxs(Sa2, { sm: 2, md: 3, lg: 6, className: styles$7.dosageControls, children: [
160465
160470
  /* @__PURE__ */ jsx(
160466
- va2,
160471
+ ga2,
160467
160472
  {
160468
160473
  id: `dosage-unit-${E}`,
160469
160474
  min: 0,
@@ -160483,7 +160488,7 @@ const useMedicationConfig = () => {
160483
160488
  }
160484
160489
  ),
160485
160490
  /* @__PURE__ */ jsx(
160486
- ba2,
160491
+ ya2,
160487
160492
  {
160488
160493
  id: `dosage-unit-${E}`,
160489
160494
  titleText: V("MEDICATION_DOSAGE_UNIT_INPUT_LABEL"),
@@ -160504,8 +160509,8 @@ const useMedicationConfig = () => {
160504
160509
  }
160505
160510
  )
160506
160511
  ] }),
160507
- /* @__PURE__ */ jsx(Ta2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160508
- ba2,
160512
+ /* @__PURE__ */ jsx(Sa2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160513
+ ya2,
160509
160514
  {
160510
160515
  id: `frequency-${E}`,
160511
160516
  titleText: V("MEDICATION_FREQUENCY_INPUT_LABEL"),
@@ -160527,9 +160532,9 @@ const useMedicationConfig = () => {
160527
160532
  disabled: L && !Y
160528
160533
  }
160529
160534
  ) }),
160530
- /* @__PURE__ */ jsxs(Ta2, { sm: 2, md: 3, lg: 6, className: styles$7.durationControls, children: [
160535
+ /* @__PURE__ */ jsxs(Sa2, { sm: 2, md: 3, lg: 6, className: styles$7.durationControls, children: [
160531
160536
  /* @__PURE__ */ jsx(
160532
- va2,
160537
+ ga2,
160533
160538
  {
160534
160539
  id: `duration-${E}`,
160535
160540
  label: V("MEDICATION_DURATION_INPUT_LABEL"),
@@ -160550,7 +160555,7 @@ const useMedicationConfig = () => {
160550
160555
  }
160551
160556
  ),
160552
160557
  /* @__PURE__ */ jsx(
160553
- ba2,
160558
+ ya2,
160554
160559
  {
160555
160560
  id: `duration-unit-${E}`,
160556
160561
  titleText: V("MEDICATION_DURATION_UNIT_INPUT_LABEL"),
@@ -160572,8 +160577,8 @@ const useMedicationConfig = () => {
160572
160577
  }
160573
160578
  )
160574
160579
  ] }),
160575
- /* @__PURE__ */ jsx(Ta2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160576
- ba2,
160580
+ /* @__PURE__ */ jsx(Sa2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160581
+ ya2,
160577
160582
  {
160578
160583
  id: `med-instructions-${E}`,
160579
160584
  titleText: V("MEDICATION_INSTRUCTIONS_INPUT_LABEL"),
@@ -160590,8 +160595,8 @@ const useMedicationConfig = () => {
160590
160595
  autoAlign: !0
160591
160596
  }
160592
160597
  ) }),
160593
- /* @__PURE__ */ jsx(Ta2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160594
- ba2,
160598
+ /* @__PURE__ */ jsx(Sa2, { sm: 1, md: 2, lg: 4, className: styles$7.column, children: /* @__PURE__ */ jsx(
160599
+ ya2,
160595
160600
  {
160596
160601
  id: `route-${E}`,
160597
160602
  titleText: V("MEDICATION_ROUTE_INPUT_LABEL"),
@@ -160610,8 +160615,8 @@ const useMedicationConfig = () => {
160610
160615
  invalidText: V(L4.route ?? "")
160611
160616
  }
160612
160617
  ) }),
160613
- /* @__PURE__ */ jsx(Ta2, { sm: 2, md: 4, lg: 8, className: styles$7.column, children: /* @__PURE__ */ jsx(
160614
- Da2,
160618
+ /* @__PURE__ */ jsx(Sa2, { sm: 2, md: 4, lg: 8, className: styles$7.column, children: /* @__PURE__ */ jsx(
160619
+ Oa2,
160615
160620
  {
160616
160621
  datePickerType: "single",
160617
160622
  dateFormat: Fy$1,
@@ -160621,7 +160626,7 @@ const useMedicationConfig = () => {
160621
160626
  X2e?.[0] && X2e[0] > zy$1() && w(E, X2e[0]);
160622
160627
  },
160623
160628
  children: /* @__PURE__ */ jsx(
160624
- Oa2,
160629
+ Ra2,
160625
160630
  {
160626
160631
  id: `start-date-${E}`,
160627
160632
  placeholder: Fy$1,
@@ -160634,7 +160639,7 @@ const useMedicationConfig = () => {
160634
160639
  )
160635
160640
  }
160636
160641
  ) }),
160637
- /* @__PURE__ */ jsx(Ta2, { sm: 4, md: 8, lg: 16, className: styles$7.totalQuantity, children: /* @__PURE__ */ jsxs("span", { children: [
160642
+ /* @__PURE__ */ jsx(Sa2, { sm: 4, md: 8, lg: 16, className: styles$7.totalQuantity, children: /* @__PURE__ */ jsxs("span", { children: [
160638
160643
  V("MEDICATION_TOTAL_QUANTITY"),
160639
160644
  " : ",
160640
160645
  s1,
@@ -160711,14 +160716,14 @@ const medicationsFormTile = "_medicationsFormTile_d57cm_1", medicationsFormTitle
160711
160716
  g,
160712
160717
  n
160713
160718
  ]);
160714
- return /* @__PURE__ */ jsxs(oa2, { className: styles$6.medicationsFormTile, children: [
160719
+ return /* @__PURE__ */ jsxs(la2, { className: styles$6.medicationsFormTile, children: [
160715
160720
  /* @__PURE__ */ jsx("div", { className: styles$6.medicationsFormTitle, children: n("MEDICATIONS_FORM_TITLE") }),
160716
- f && /* @__PURE__ */ jsx(_a2, {}),
160721
+ f && /* @__PURE__ */ jsx(ba2, {}),
160717
160722
  d && /* @__PURE__ */ jsx("div", { children: n("ERROR_FETCHING_MEDICATION_CONFIG", {
160718
160723
  error: d.message
160719
160724
  }) }),
160720
160725
  !f && !d && /* @__PURE__ */ jsx(
160721
- ga2,
160726
+ Ma2,
160722
160727
  {
160723
160728
  id: "medications-search",
160724
160729
  placeholder: n("MEDICATIONS_SEARCH_PLACEHOLDER"),
@@ -160732,12 +160737,12 @@ const medicationsFormTile = "_medicationsFormTile_d57cm_1", medicationsFormTitle
160732
160737
  }
160733
160738
  ),
160734
160739
  l && g && g.length > 0 && /* @__PURE__ */ jsx(
160735
- qa2,
160740
+ Ka2,
160736
160741
  {
160737
160742
  title: n("MEDICATIONS_ADDED_MEDICATIONS"),
160738
160743
  className: styles$6.medicationsBox,
160739
160744
  children: g.map((u1) => /* @__PURE__ */ jsx(
160740
- Ua2,
160745
+ qa2,
160741
160746
  {
160742
160747
  onClose: () => v(u1.id),
160743
160748
  className: styles$6.selectedMedicationItem,
@@ -160845,7 +160850,7 @@ const observationFormsTile = "_observationFormsTile_83y6q_1", observationFormsTi
160845
160850
  d
160846
160851
  ]);
160847
160852
  return /* @__PURE__ */ jsxs(
160848
- oa2,
160853
+ la2,
160849
160854
  {
160850
160855
  className: styles$5.observationFormsTile,
160851
160856
  "data-testid": "observation-forms-tile",
@@ -160859,7 +160864,7 @@ const observationFormsTile = "_observationFormsTile_83y6q_1", observationFormsTi
160859
160864
  }
160860
160865
  ),
160861
160866
  /* @__PURE__ */ jsx("div", { "data-testid": "observation-forms-search-section", children: /* @__PURE__ */ jsx(
160862
- ga2,
160867
+ Ma2,
160863
160868
  {
160864
160869
  id: "observation-forms-search",
160865
160870
  placeholder: d("OBSERVATION_FORMS_SEARCH_PLACEHOLDER"),
@@ -160875,12 +160880,12 @@ const observationFormsTile = "_observationFormsTile_83y6q_1", observationFormsTi
160875
160880
  }
160876
160881
  ) }),
160877
160882
  e && e.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": "added-forms-section", children: /* @__PURE__ */ jsx(
160878
- Ga2,
160883
+ Ja2,
160879
160884
  {
160880
160885
  title: d("OBSERVATION_FORMS_ADDED_FORMS"),
160881
160886
  dataTestId: "added-forms-container",
160882
160887
  children: e.map((I) => /* @__PURE__ */ jsx(
160883
- Ja2,
160888
+ Xa2,
160884
160889
  {
160885
160890
  title: I.name,
160886
160891
  icon: "fa-file-lines",
@@ -160895,21 +160900,21 @@ const observationFormsTile = "_observationFormsTile_83y6q_1", observationFormsTi
160895
160900
  }
160896
160901
  ) }),
160897
160902
  /* @__PURE__ */ jsx("div", { "data-testid": "pinned-forms-section", children: /* @__PURE__ */ jsx(
160898
- Ga2,
160903
+ Ja2,
160899
160904
  {
160900
160905
  title: d("DEFAULT_AND_PINNED_FORMS_TITLE"),
160901
160906
  showNoFormsMessage: !g && $.length === 0 && E.length === 0,
160902
160907
  noFormsMessage: d("DEFAULT_AND_PINNED_FORMS_NO_FORMS_FOUND"),
160903
160908
  dataTestId: "pinned-forms-container",
160904
160909
  children: g || f ? /* @__PURE__ */ jsx(
160905
- za2,
160910
+ _a2,
160906
160911
  {
160907
160912
  width: "100%",
160908
160913
  lineCount: 3,
160909
160914
  testId: "pinned-forms-skeleton"
160910
160915
  }
160911
160916
  ) : $.map((I) => /* @__PURE__ */ jsx(
160912
- Ja2,
160917
+ Xa2,
160913
160918
  {
160914
160919
  title: I.name,
160915
160920
  icon: "fa-file-lines",
@@ -200493,7 +200498,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200493
200498
  ct(z).message ?? h("ERROR_FETCHING_FORM_METADATA")
200494
200499
  ) : null, s1 = /* @__PURE__ */ jsxs("div", { className: styles$4.formView, children: [
200495
200500
  A && /* @__PURE__ */ jsx("div", { className: styles$4.errorNotificationWrapper, children: /* @__PURE__ */ jsx(
200496
- Qa2,
200501
+ e72,
200497
200502
  {
200498
200503
  kind: "error",
200499
200504
  title: h("OBSERVATION_FORM_VALIDATION_ERROR_TITLE"),
@@ -200503,7 +200508,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200503
200508
  onClose: () => g(!1)
200504
200509
  }
200505
200510
  ) }),
200506
- /* @__PURE__ */ jsx("div", { className: styles$4.formContent, children: y ? /* @__PURE__ */ jsx(za2, { width: "100%", lineCount: 3 }) : Y ? /* @__PURE__ */ jsx("div", { children: Y.message }) : E && m ? /* @__PURE__ */ jsx(
200511
+ /* @__PURE__ */ jsx("div", { className: styles$4.formContent, children: y ? /* @__PURE__ */ jsx(_a2, { width: "100%", lineCount: 3 }) : Y ? /* @__PURE__ */ jsx("div", { children: Y.message }) : E && m ? /* @__PURE__ */ jsx(
200507
200512
  bundleExports.Container,
200508
200513
  {
200509
200514
  ref: w,
@@ -200535,7 +200540,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200535
200540
  )
200536
200541
  ] });
200537
200542
  return e ? /* @__PURE__ */ jsx(
200538
- Ka2,
200543
+ Ya2,
200539
200544
  {
200540
200545
  className: styles$4.formViewActionArea,
200541
200546
  title: u1,
@@ -200709,15 +200714,15 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200709
200714
  $(), k(), Xle(), F(), C(), n();
200710
200715
  }, qce = /* @__PURE__ */ jsxs(Fragment, { children: [
200711
200716
  /* @__PURE__ */ jsx(BasicForm, {}),
200712
- /* @__PURE__ */ jsx(Ya2, {}),
200717
+ /* @__PURE__ */ jsx(Ga2, {}),
200713
200718
  /* @__PURE__ */ jsx(AllergiesForm, {}),
200714
- /* @__PURE__ */ jsx(Ya2, {}),
200719
+ /* @__PURE__ */ jsx(Ga2, {}),
200715
200720
  /* @__PURE__ */ jsx(InvestigationsForm, {}),
200716
- /* @__PURE__ */ jsx(Ya2, {}),
200721
+ /* @__PURE__ */ jsx(Ga2, {}),
200717
200722
  /* @__PURE__ */ jsx(ConditionsAndDiagnoses, {}),
200718
- /* @__PURE__ */ jsx(Ya2, {}),
200723
+ /* @__PURE__ */ jsx(Ga2, {}),
200719
200724
  /* @__PURE__ */ jsx(MedicationsForm, {}),
200720
- /* @__PURE__ */ jsx(Ya2, {}),
200725
+ /* @__PURE__ */ jsx(Ga2, {}),
200721
200726
  /* @__PURE__ */ jsx(
200722
200727
  ObservationForms,
200723
200728
  {
@@ -200729,54 +200734,58 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200729
200734
  isPinnedFormsLoading: y
200730
200735
  }
200731
200736
  ),
200732
- /* @__PURE__ */ jsx(Ya2, {})
200737
+ /* @__PURE__ */ jsx(Ga2, {})
200738
+ ] });
200739
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
200740
+ /* @__PURE__ */ jsx(
200741
+ Ya2,
200742
+ {
200743
+ title: FUe ? "" : a("CONSULTATION_ACTION_NEW"),
200744
+ primaryButtonText: a("CONSULTATION_PAD_DONE_BUTTON"),
200745
+ onPrimaryButtonClick: R2,
200746
+ isPrimaryButtonDisabled: !Sn || !P1 || e,
200747
+ hidden: !!d,
200748
+ secondaryButtonText: a("CONSULTATION_PAD_CANCEL_BUTTON"),
200749
+ onSecondaryButtonClick: me,
200750
+ content: FUe ? /* @__PURE__ */ jsxs($a2, { className: styles$3.emptyState, children: [
200751
+ /* @__PURE__ */ jsx(
200752
+ Sa2,
200753
+ {
200754
+ sm: 4,
200755
+ md: 8,
200756
+ lg: 16,
200757
+ xlg: 16,
200758
+ className: styles$3.emptyStateTitle,
200759
+ children: a("CONSULTATION_PAD_ERROR_TITLE")
200760
+ }
200761
+ ),
200762
+ /* @__PURE__ */ jsx(
200763
+ Sa2,
200764
+ {
200765
+ sm: 4,
200766
+ md: 8,
200767
+ lg: 16,
200768
+ xlg: 16,
200769
+ className: styles$3.emptyStateBody,
200770
+ children: a("CONSULTATION_PAD_ERROR_BODY")
200771
+ }
200772
+ )
200773
+ ] }) : qce
200774
+ }
200775
+ ),
200776
+ d && /* @__PURE__ */ jsx(
200777
+ ObservationFormsContainer,
200778
+ {
200779
+ onViewingFormChange: P,
200780
+ viewingForm: d,
200781
+ onRemoveForm: A,
200782
+ pinnedForms: V,
200783
+ updatePinnedForms: E,
200784
+ onFormObservationsChange: w1e,
200785
+ existingObservations: w(d.uuid)
200786
+ }
200787
+ )
200733
200788
  ] });
200734
- return d ? /* @__PURE__ */ jsx(
200735
- ObservationFormsContainer,
200736
- {
200737
- onViewingFormChange: P,
200738
- viewingForm: d,
200739
- onRemoveForm: A,
200740
- pinnedForms: V,
200741
- updatePinnedForms: E,
200742
- onFormObservationsChange: w1e,
200743
- existingObservations: w(d.uuid)
200744
- }
200745
- ) : /* @__PURE__ */ jsx(
200746
- Ka2,
200747
- {
200748
- title: FUe ? "" : a("CONSULTATION_ACTION_NEW"),
200749
- primaryButtonText: a("CONSULTATION_PAD_DONE_BUTTON"),
200750
- onPrimaryButtonClick: R2,
200751
- isPrimaryButtonDisabled: !Sn || !P1 || e,
200752
- secondaryButtonText: a("CONSULTATION_PAD_CANCEL_BUTTON"),
200753
- onSecondaryButtonClick: me,
200754
- content: FUe ? /* @__PURE__ */ jsxs(Aa2, { className: styles$3.emptyState, children: [
200755
- /* @__PURE__ */ jsx(
200756
- Ta2,
200757
- {
200758
- sm: 4,
200759
- md: 8,
200760
- lg: 16,
200761
- xlg: 16,
200762
- className: styles$3.emptyStateTitle,
200763
- children: a("CONSULTATION_PAD_ERROR_TITLE")
200764
- }
200765
- ),
200766
- /* @__PURE__ */ jsx(
200767
- Ta2,
200768
- {
200769
- sm: 4,
200770
- md: 8,
200771
- lg: 16,
200772
- xlg: 16,
200773
- className: styles$3.emptyStateBody,
200774
- children: a("CONSULTATION_PAD_ERROR_BODY")
200775
- }
200776
- )
200777
- ] }) : qce
200778
- }
200779
- );
200780
200789
  }, sectionWrapper = "_sectionWrapper_1tfrt_1", sectionName = "_sectionName_1tfrt_5", divider = "_divider_1tfrt_16", widgetLoading = "_widgetLoading_1tfrt_21", noContent = "_noContent_1tfrt_31", widgetError = "_widgetError_1tfrt_42", styles$2 = {
200781
200790
  sectionWrapper,
200782
200791
  sectionName,
@@ -200824,7 +200833,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200824
200833
  ref: e,
200825
200834
  className: styles$2.sectionWrapper,
200826
200835
  children: [
200827
- /* @__PURE__ */ jsx(oa2, { id: `section-${n.id}`, className: styles$2.sectionName, children: /* @__PURE__ */ jsx("p", { children: f(n.translationKey ?? n.name) }) }),
200836
+ /* @__PURE__ */ jsx(la2, { id: `section-${n.id}`, className: styles$2.sectionName, children: /* @__PURE__ */ jsx("p", { children: f(n.translationKey ?? n.name) }) }),
200828
200837
  h(n)
200829
200838
  ]
200830
200839
  }
@@ -200868,7 +200877,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200868
200877
  behavior: "smooth"
200869
200878
  });
200870
200879
  }
200871
- }, [e, n]), n.length ? /* @__PURE__ */ jsx(Za2, { className: styles$1.sectionContainer, children: n.map((w) => /* @__PURE__ */ jsx(
200880
+ }, [e, n]), n.length ? /* @__PURE__ */ jsx(Pa2, { className: styles$1.sectionContainer, children: n.map((w) => /* @__PURE__ */ jsx(
200872
200881
  "article",
200873
200882
  {
200874
200883
  className: styles$1.displayControlSection,
@@ -200895,7 +200904,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200895
200904
  }) => {
200896
200905
  const { t: r } = useTranslation(), { editActiveEncounter: a, isLoading: l } = useEncounterSession();
200897
200906
  return /* @__PURE__ */ jsx(
200898
- na2,
200907
+ ra2,
200899
200908
  {
200900
200909
  className: styles.newConsultationButton,
200901
200910
  size: "md",
@@ -200971,7 +200980,7 @@ const formView = "_formView_12lp6_1", errorNotificationWrapper = "_errorNotifica
200971
200980
  error: f
200972
200981
  };
200973
200982
  }, [a, e, l, f]);
200974
- return l && e.length > 0 ? /* @__PURE__ */ jsx(Fa2, { description: r("LOADING_CLINICAL_DATA"), role: "status" }) : f ? /* @__PURE__ */ jsx("div", { className: "alert alert-danger", children: r("ERROR_FETCHING_CLINICAL_DATA") }) : /* @__PURE__ */ jsx(ClinicalAppContext.Provider, { value: d, children: n });
200983
+ return l && e.length > 0 ? /* @__PURE__ */ jsx(Wa2, { description: r("LOADING_CLINICAL_DATA"), role: "status" }) : f ? /* @__PURE__ */ jsx("div", { className: "alert alert-danger", children: r("ERROR_FETCHING_CLINICAL_DATA") }) : /* @__PURE__ */ jsx(ClinicalAppContext.Provider, { value: d, children: n });
200975
200984
  };
200976
200985
  ClinicalAppProvider.displayName = "clinical apps provider";
200977
200986
  const getDefaultDashboard = (n) => {
@@ -201019,9 +201028,9 @@ const getDefaultDashboard = (n) => {
201019
201028
  const { t: n } = useTranslation(), { clinicalConfig: e } = useClinicalConfig(), { userPrivileges: r } = aJe(), { addNotification: a } = hn(), [l, f] = useState(!1), [d] = useSearchParams(), h = useMemo(() => {
201020
201029
  const V = d.get("episodeUuid");
201021
201030
  return V ? V.split(",").map((E) => E.trim()).filter(Boolean) : [];
201022
- }, [d]), m = useMemo(() => e ? getDefaultDashboard(e.dashboards || []) : null, [e]), A = m?.url ?? null, { dashboardConfig: g } = useDashboardConfig(A), w = useMemo(() => g ? getSidebarItems(g, n) : [], [g, n]), { activeItemId: v, handleItemClick: C } = Pa2(w);
201031
+ }, [d]), m = useMemo(() => e ? getDefaultDashboard(e.dashboards || []) : null, [e]), A = m?.url ?? null, { dashboardConfig: g } = useDashboardConfig(A), w = useMemo(() => g ? getSidebarItems(g, n) : [], [g, n]), { activeItemId: v, handleItemClick: C } = Fa2(w);
201023
201032
  return e ? r ? m ? g ? /* @__PURE__ */ jsx(ClinicalAppProvider, { episodeUuids: h, children: /* @__PURE__ */ jsx(
201024
- Ia2,
201033
+ Ba2,
201025
201034
  {
201026
201035
  headerWSideNav: /* @__PURE__ */ jsx(
201027
201036
  Lr2,
@@ -201045,7 +201054,7 @@ const getDefaultDashboard = (n) => {
201045
201054
  Suspense,
201046
201055
  {
201047
201056
  fallback: /* @__PURE__ */ jsx(
201048
- Fa2,
201057
+ Wa2,
201049
201058
  {
201050
201059
  description: n("LOADING_DASHBOARD_CONTENT"),
201051
201060
  role: "status"
@@ -201068,11 +201077,11 @@ const getDefaultDashboard = (n) => {
201068
201077
  }
201069
201078
  )
201070
201079
  }
201071
- ) }) : /* @__PURE__ */ jsx(Fa2, { description: n("LOADING_DASHBOARD_CONFIG"), role: "status" }) : (a({
201080
+ ) }) : /* @__PURE__ */ jsx(Wa2, { description: n("LOADING_DASHBOARD_CONFIG"), role: "status" }) : (a({
201072
201081
  title: n("ERROR_DEFAULT_TITLE"),
201073
201082
  message: n("ERROR_NO_DEFAULT_DASHBOARD"),
201074
201083
  type: "error"
201075
- }), /* @__PURE__ */ jsx(Fa2, { description: n("ERROR_LOADING_DASHBOARD"), role: "alert" })) : /* @__PURE__ */ jsx(Fa2, { description: n("LOADING_USER_PRIVILEGES"), role: "status" }) : /* @__PURE__ */ jsx(Fa2, { description: n("LOADING_CLINICAL_CONFIG"), role: "status" });
201084
+ }), /* @__PURE__ */ jsx(Wa2, { description: n("ERROR_LOADING_DASHBOARD"), role: "alert" })) : /* @__PURE__ */ jsx(Wa2, { description: n("LOADING_USER_PRIVILEGES"), role: "status" }) : /* @__PURE__ */ jsx(Wa2, { description: n("LOADING_CLINICAL_CONFIG"), role: "status" });
201076
201085
  }, ClinicalConfigProvider = ({
201077
201086
  children: n
201078
201087
  }) => {
@@ -201112,7 +201121,7 @@ const queryClient = new QueryClient(queryClientConfig), ClinicalApp = () => {
201112
201121
  return useEffect(() => {
201113
201122
  (async () => {
201114
201123
  try {
201115
- await My$1(CLINICAL_NAMESPACE), sa2(), yw$1(), e(!0);
201124
+ await My$1(CLINICAL_NAMESPACE), ia2(), yw$1(), e(!0);
201116
201125
  } catch (a) {
201117
201126
  console.error("Failed to initialize app:", a), e(!0);
201118
201127
  }