react-luminus-components 1.3.242 → 1.3.243

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as ae from "react";
2
- import At, { useRef as me, useState as Oe, useCallback as U, useContext as ce, useMemo as Q, useEffect as we, useLayoutEffect as Sh, useReducer as ab, createContext as cn, cloneElement as $s, forwardRef as Rr, useImperativeHandle as XT, memo as vt, Fragment as Lo, isValidElement as ob, createElement as Bt, Component as QT } from "react";
2
+ import At, { useRef as me, useState as Oe, useCallback as U, useContext as ce, useMemo as J, useEffect as we, useLayoutEffect as Sh, useReducer as ab, createContext as cn, cloneElement as $s, forwardRef as Rr, useImperativeHandle as XT, memo as vt, Fragment as Lo, isValidElement as ob, createElement as Bt, Component as QT } from "react";
3
3
  import { InteractionRequiredAuthError as JT, InteractionStatus as e4 } from "@azure/msal-browser";
4
4
  import { Link as Cs } from "react-router-dom";
5
5
  import { useMsal as t4, useIsAuthenticated as n4 } from "@azure/msal-react";
@@ -137,9 +137,9 @@ function o4() {
137
137
  return null;
138
138
  }
139
139
  var E = Object.assign, j = 0, I, F, B, W, N, H, q;
140
- function J() {
140
+ function ee() {
141
141
  }
142
- J.__reactDisabledLog = !0;
142
+ ee.__reactDisabledLog = !0;
143
143
  function Z() {
144
144
  {
145
145
  if (j === 0) {
@@ -147,7 +147,7 @@ function o4() {
147
147
  var R = {
148
148
  configurable: !0,
149
149
  enumerable: !0,
150
- value: J,
150
+ value: ee,
151
151
  writable: !0
152
152
  };
153
153
  Object.defineProperties(console, {
@@ -676,7 +676,7 @@ var v = of.exports, sb = { exports: {} };
676
676
  })();
677
677
  })(sb);
678
678
  var s4 = sb.exports;
679
- const ee = /* @__PURE__ */ Wt(s4);
679
+ const Q = /* @__PURE__ */ Wt(s4);
680
680
  function _n(e) {
681
681
  const t = Object.prototype.toString.call(e);
682
682
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
@@ -2298,7 +2298,7 @@ function eS() {
2298
2298
  function q(A) {
2299
2299
  return w(A) === o;
2300
2300
  }
2301
- function J(A) {
2301
+ function ee(A) {
2302
2302
  return typeof A == "object" && A !== null && A.$$typeof === t;
2303
2303
  }
2304
2304
  function Z(A) {
@@ -2325,7 +2325,7 @@ function eS() {
2325
2325
  function ne(A) {
2326
2326
  return w(A) === d;
2327
2327
  }
2328
- ht.AsyncMode = _, ht.ConcurrentMode = T, ht.ContextConsumer = C, ht.ContextProvider = M, ht.Element = O, ht.ForwardRef = k, ht.Fragment = $, ht.Lazy = D, ht.Memo = S, ht.Portal = E, ht.Profiler = j, ht.StrictMode = I, ht.Suspense = F, ht.isAsyncMode = W, ht.isConcurrentMode = N, ht.isContextConsumer = H, ht.isContextProvider = q, ht.isElement = J, ht.isForwardRef = Z, ht.isFragment = te, ht.isLazy = Y, ht.isMemo = X, ht.isPortal = z, ht.isProfiler = L, ht.isStrictMode = V, ht.isSuspense = ne, ht.isValidElementType = b, ht.typeOf = w;
2328
+ ht.AsyncMode = _, ht.ConcurrentMode = T, ht.ContextConsumer = C, ht.ContextProvider = M, ht.Element = O, ht.ForwardRef = k, ht.Fragment = $, ht.Lazy = D, ht.Memo = S, ht.Portal = E, ht.Profiler = j, ht.StrictMode = I, ht.Suspense = F, ht.isAsyncMode = W, ht.isConcurrentMode = N, ht.isContextConsumer = H, ht.isContextProvider = q, ht.isElement = ee, ht.isForwardRef = Z, ht.isFragment = te, ht.isLazy = Y, ht.isMemo = X, ht.isPortal = z, ht.isProfiler = L, ht.isStrictMode = V, ht.isSuspense = ne, ht.isValidElementType = b, ht.typeOf = w;
2329
2329
  }()), ht;
2330
2330
  }
2331
2331
  var lg;
@@ -2498,7 +2498,7 @@ function rS() {
2498
2498
  function g(N) {
2499
2499
  if (process.env.NODE_ENV !== "production")
2500
2500
  var H = {}, q = 0;
2501
- function J(te, Y, X, z, L, V, ne) {
2501
+ function ee(te, Y, X, z, L, V, ne) {
2502
2502
  if (z = z || f, V = V || X, ne !== n) {
2503
2503
  if (c) {
2504
2504
  var A = new Error(
@@ -2515,12 +2515,12 @@ function rS() {
2515
2515
  }
2516
2516
  return Y[X] == null ? te ? Y[X] === null ? new p("The " + L + " `" + V + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new p("The " + L + " `" + V + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : N(Y, X, z, L, V);
2517
2517
  }
2518
- var Z = J.bind(null, !1);
2519
- return Z.isRequired = J.bind(null, !0), Z;
2518
+ var Z = ee.bind(null, !1);
2519
+ return Z.isRequired = ee.bind(null, !0), Z;
2520
2520
  }
2521
2521
  function y(N) {
2522
- function H(q, J, Z, te, Y, X) {
2523
- var z = q[J], L = I(z);
2522
+ function H(q, ee, Z, te, Y, X) {
2523
+ var z = q[ee], L = I(z);
2524
2524
  if (L !== N) {
2525
2525
  var V = F(z);
2526
2526
  return new p(
@@ -2536,10 +2536,10 @@ function rS() {
2536
2536
  return g(o);
2537
2537
  }
2538
2538
  function b(N) {
2539
- function H(q, J, Z, te, Y) {
2539
+ function H(q, ee, Z, te, Y) {
2540
2540
  if (typeof N != "function")
2541
2541
  return new p("Property `" + Y + "` of component `" + Z + "` has invalid PropType notation inside arrayOf.");
2542
- var X = q[J];
2542
+ var X = q[ee];
2543
2543
  if (!Array.isArray(X)) {
2544
2544
  var z = I(X);
2545
2545
  return new p("Invalid " + te + " `" + Y + "` of type " + ("`" + z + "` supplied to `" + Z + "`, expected an array."));
@@ -2554,31 +2554,31 @@ function rS() {
2554
2554
  return g(H);
2555
2555
  }
2556
2556
  function w() {
2557
- function N(H, q, J, Z, te) {
2557
+ function N(H, q, ee, Z, te) {
2558
2558
  var Y = H[q];
2559
2559
  if (!s(Y)) {
2560
2560
  var X = I(Y);
2561
- return new p("Invalid " + Z + " `" + te + "` of type " + ("`" + X + "` supplied to `" + J + "`, expected a single ReactElement."));
2561
+ return new p("Invalid " + Z + " `" + te + "` of type " + ("`" + X + "` supplied to `" + ee + "`, expected a single ReactElement."));
2562
2562
  }
2563
2563
  return null;
2564
2564
  }
2565
2565
  return g(N);
2566
2566
  }
2567
2567
  function _() {
2568
- function N(H, q, J, Z, te) {
2568
+ function N(H, q, ee, Z, te) {
2569
2569
  var Y = H[q];
2570
2570
  if (!e.isValidElementType(Y)) {
2571
2571
  var X = I(Y);
2572
- return new p("Invalid " + Z + " `" + te + "` of type " + ("`" + X + "` supplied to `" + J + "`, expected a single ReactElement type."));
2572
+ return new p("Invalid " + Z + " `" + te + "` of type " + ("`" + X + "` supplied to `" + ee + "`, expected a single ReactElement type."));
2573
2573
  }
2574
2574
  return null;
2575
2575
  }
2576
2576
  return g(N);
2577
2577
  }
2578
2578
  function T(N) {
2579
- function H(q, J, Z, te, Y) {
2580
- if (!(q[J] instanceof N)) {
2581
- var X = N.name || f, z = W(q[J]);
2579
+ function H(q, ee, Z, te, Y) {
2580
+ if (!(q[ee] instanceof N)) {
2581
+ var X = N.name || f, z = W(q[ee]);
2582
2582
  return new p("Invalid " + te + " `" + Y + "` of type " + ("`" + z + "` supplied to `" + Z + "`, expected ") + ("instance of `" + X + "`."));
2583
2583
  }
2584
2584
  return null;
@@ -2590,8 +2590,8 @@ function rS() {
2590
2590
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2591
2591
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2592
2592
  ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
2593
- function H(q, J, Z, te, Y) {
2594
- for (var X = q[J], z = 0; z < N.length; z++)
2593
+ function H(q, ee, Z, te, Y) {
2594
+ for (var X = q[ee], z = 0; z < N.length; z++)
2595
2595
  if (m(X, N[z]))
2596
2596
  return null;
2597
2597
  var L = JSON.stringify(N, function(ne, A) {
@@ -2603,10 +2603,10 @@ function rS() {
2603
2603
  return g(H);
2604
2604
  }
2605
2605
  function M(N) {
2606
- function H(q, J, Z, te, Y) {
2606
+ function H(q, ee, Z, te, Y) {
2607
2607
  if (typeof N != "function")
2608
2608
  return new p("Property `" + Y + "` of component `" + Z + "` has invalid PropType notation inside objectOf.");
2609
- var X = q[J], z = I(X);
2609
+ var X = q[ee], z = I(X);
2610
2610
  if (z !== "object")
2611
2611
  return new p("Invalid " + te + " `" + Y + "` of type " + ("`" + z + "` supplied to `" + Z + "`, expected an object."));
2612
2612
  for (var L in X)
@@ -2629,7 +2629,7 @@ function rS() {
2629
2629
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(q) + " at index " + H + "."
2630
2630
  ), o;
2631
2631
  }
2632
- function J(Z, te, Y, X, z) {
2632
+ function ee(Z, te, Y, X, z) {
2633
2633
  for (var L = [], V = 0; V < N.length; V++) {
2634
2634
  var ne = N[V], A = ne(Z, te, Y, X, z, n);
2635
2635
  if (A == null)
@@ -2639,22 +2639,22 @@ function rS() {
2639
2639
  var le = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
2640
2640
  return new p("Invalid " + X + " `" + z + "` supplied to " + ("`" + Y + "`" + le + "."));
2641
2641
  }
2642
- return g(J);
2642
+ return g(ee);
2643
2643
  }
2644
2644
  function k() {
2645
- function N(H, q, J, Z, te) {
2646
- return E(H[q]) ? null : new p("Invalid " + Z + " `" + te + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
2645
+ function N(H, q, ee, Z, te) {
2646
+ return E(H[q]) ? null : new p("Invalid " + Z + " `" + te + "` supplied to " + ("`" + ee + "`, expected a ReactNode."));
2647
2647
  }
2648
2648
  return g(N);
2649
2649
  }
2650
- function $(N, H, q, J, Z) {
2650
+ function $(N, H, q, ee, Z) {
2651
2651
  return new p(
2652
- (N || "React class") + ": " + H + " type `" + q + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Z + "`."
2652
+ (N || "React class") + ": " + H + " type `" + q + "." + ee + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Z + "`."
2653
2653
  );
2654
2654
  }
2655
2655
  function D(N) {
2656
- function H(q, J, Z, te, Y) {
2657
- var X = q[J], z = I(X);
2656
+ function H(q, ee, Z, te, Y) {
2657
+ var X = q[ee], z = I(X);
2658
2658
  if (z !== "object")
2659
2659
  return new p("Invalid " + te + " `" + Y + "` of type `" + z + "` " + ("supplied to `" + Z + "`, expected `object`."));
2660
2660
  for (var L in N) {
@@ -2670,18 +2670,18 @@ function rS() {
2670
2670
  return g(H);
2671
2671
  }
2672
2672
  function S(N) {
2673
- function H(q, J, Z, te, Y) {
2674
- var X = q[J], z = I(X);
2673
+ function H(q, ee, Z, te, Y) {
2674
+ var X = q[ee], z = I(X);
2675
2675
  if (z !== "object")
2676
2676
  return new p("Invalid " + te + " `" + Y + "` of type `" + z + "` " + ("supplied to `" + Z + "`, expected `object`."));
2677
- var L = t({}, q[J], N);
2677
+ var L = t({}, q[ee], N);
2678
2678
  for (var V in L) {
2679
2679
  var ne = N[V];
2680
2680
  if (r(N, V) && typeof ne != "function")
2681
2681
  return $(Z, te, Y, V, F(ne));
2682
2682
  if (!ne)
2683
2683
  return new p(
2684
- "Invalid " + te + " `" + Y + "` key `" + V + "` supplied to `" + Z + "`.\nBad object: " + JSON.stringify(q[J], null, " ") + `
2684
+ "Invalid " + te + " `" + Y + "` key `" + V + "` supplied to `" + Z + "`.\nBad object: " + JSON.stringify(q[ee], null, " ") + `
2685
2685
  Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
2686
2686
  );
2687
2687
  var A = ne(X, V, Z, te, Y + "." + V, n);
@@ -2707,14 +2707,14 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
2707
2707
  return !0;
2708
2708
  var H = d(N);
2709
2709
  if (H) {
2710
- var q = H.call(N), J;
2710
+ var q = H.call(N), ee;
2711
2711
  if (H !== N.entries) {
2712
- for (; !(J = q.next()).done; )
2713
- if (!E(J.value))
2712
+ for (; !(ee = q.next()).done; )
2713
+ if (!E(ee.value))
2714
2714
  return !1;
2715
2715
  } else
2716
- for (; !(J = q.next()).done; ) {
2717
- var Z = J.value;
2716
+ for (; !(ee = q.next()).done; ) {
2717
+ var Z = ee.value;
2718
2718
  if (Z && !E(Z[1]))
2719
2719
  return !1;
2720
2720
  }
@@ -3244,7 +3244,7 @@ function mS(e, t) {
3244
3244
  };
3245
3245
  }
3246
3246
  function Hn(e, t) {
3247
- return Q(() => mS(e, t), [e, t]);
3247
+ return J(() => mS(e, t), [e, t]);
3248
3248
  }
3249
3249
  function Ic(e) {
3250
3250
  return e && "setState" in e ? gi.findDOMNode(e) : e ?? null;
@@ -3303,7 +3303,7 @@ function Dt(e) {
3303
3303
  const Tb = (e) => /* @__PURE__ */ ae.forwardRef((t, n) => /* @__PURE__ */ v.jsx("div", {
3304
3304
  ...t,
3305
3305
  ref: n,
3306
- className: ee(t.className, e)
3306
+ className: Q(t.className, e)
3307
3307
  })), Sb = Tb("h4");
3308
3308
  Sb.displayName = "DivStyledAsH4";
3309
3309
  const kb = /* @__PURE__ */ ae.forwardRef(({
@@ -3313,7 +3313,7 @@ const kb = /* @__PURE__ */ ae.forwardRef(({
3313
3313
  ...r
3314
3314
  }, i) => (t = Xe(t, "alert-heading"), /* @__PURE__ */ v.jsx(n, {
3315
3315
  ref: i,
3316
- className: ee(e, t),
3316
+ className: Q(e, t),
3317
3317
  ...r
3318
3318
  })));
3319
3319
  kb.displayName = "AlertHeading";
@@ -3453,7 +3453,7 @@ const $b = /* @__PURE__ */ ae.forwardRef(({
3453
3453
  ...r
3454
3454
  }, i) => (t = Xe(t, "alert-link"), /* @__PURE__ */ v.jsx(n, {
3455
3455
  ref: i,
3456
- className: ee(e, t),
3456
+ className: Q(e, t),
3457
3457
  ...r
3458
3458
  })));
3459
3459
  $b.displayName = "AlertLink";
@@ -3498,7 +3498,7 @@ const $S = {
3498
3498
  childRef: l,
3499
3499
  children: (u, d) => /* @__PURE__ */ ae.cloneElement(t, {
3500
3500
  ...d,
3501
- className: ee("fade", e, t.props.className, $S[u], n[u])
3501
+ className: Q("fade", e, t.props.className, $S[u], n[u])
3502
3502
  })
3503
3503
  });
3504
3504
  });
@@ -3522,7 +3522,7 @@ const CS = {
3522
3522
  }, i) => /* @__PURE__ */ v.jsx("button", {
3523
3523
  ref: i,
3524
3524
  type: "button",
3525
- className: ee("btn-close", t && `btn-close-${t}`, e),
3525
+ className: Q("btn-close", t && `btn-close-${t}`, e),
3526
3526
  "aria-label": n,
3527
3527
  ...r
3528
3528
  }));
@@ -3549,7 +3549,7 @@ const Mb = /* @__PURE__ */ ae.forwardRef((e, t) => {
3549
3549
  role: "alert",
3550
3550
  ...p ? void 0 : f,
3551
3551
  ref: t,
3552
- className: ee(o, h, c && `${h}-${c}`, u && `${h}-dismissible`),
3552
+ className: Q(o, h, c && `${h}-${c}`, u && `${h}-dismissible`),
3553
3553
  children: [u && /* @__PURE__ */ v.jsx(Ml, {
3554
3554
  onClick: m,
3555
3555
  "aria-label": i,
@@ -3590,7 +3590,7 @@ const ES = Object.assign(Mb, {
3590
3590
  ...s,
3591
3591
  ref: c,
3592
3592
  disabled: a,
3593
- className: ee(o, l, i && "active", n && `${l}-${n}`, r && `${l}-${r}`, s.href && a && "disabled")
3593
+ className: Q(o, l, i && "active", n && `${l}-${n}`, r && `${l}-${r}`, s.href && a && "disabled")
3594
3594
  });
3595
3595
  });
3596
3596
  Ab.displayName = "Button";
@@ -3609,7 +3609,7 @@ function Rb(e, t, n) {
3609
3609
  }
3610
3610
  function AS() {
3611
3611
  const e = jh(), t = me();
3612
- return Nh(() => clearTimeout(t.current)), Q(() => {
3612
+ return Nh(() => clearTimeout(t.current)), J(() => {
3613
3613
  const n = () => clearTimeout(t.current);
3614
3614
  function r(i, a = 0) {
3615
3615
  e() && (n(), a <= pf ? t.current = setTimeout(i, a) : Rb(t, i, Date.now() + a));
@@ -3645,7 +3645,7 @@ function jS({
3645
3645
  u && o.push(u === !0 ? `${t}${h}` : `${t}${h}-${u}`), f != null && s.push(`order${h}-${f}`), d != null && s.push(`offset${h}-${d}`);
3646
3646
  }), [{
3647
3647
  ...r,
3648
- className: ee(n, ...o, ...s)
3648
+ className: Q(n, ...o, ...s)
3649
3649
  }, {
3650
3650
  as: e,
3651
3651
  bsPrefix: t,
@@ -3666,7 +3666,7 @@ const jb = /* @__PURE__ */ ae.forwardRef(
3666
3666
  return /* @__PURE__ */ v.jsx(i, {
3667
3667
  ...r,
3668
3668
  ref: t,
3669
- className: ee(n, !o.length && a)
3669
+ className: Q(n, !o.length && a)
3670
3670
  });
3671
3671
  }
3672
3672
  );
@@ -4276,8 +4276,8 @@ function vk(e) {
4276
4276
  if (Y)
4277
4277
  return O = Y, "break";
4278
4278
  }, q = N; q > 0; q--) {
4279
- var J = H(q);
4280
- if (J === "break") break;
4279
+ var ee = H(q);
4280
+ if (ee === "break") break;
4281
4281
  }
4282
4282
  t.placement !== O && (t.modifiersData[r]._skip = !0, t.placement = O, t.reset = !0);
4283
4283
  }
@@ -4395,7 +4395,7 @@ function $k(e) {
4395
4395
  };
4396
4396
  if (T) {
4397
4397
  if (a) {
4398
- var S, E = w === "y" ? On : $n, j = w === "y" ? Un : zn, I = w === "y" ? "height" : "width", F = T[w], B = F + g[E], W = F - g[j], N = h ? -M[I] / 2 : 0, H = x === _a ? C[I] : M[I], q = x === _a ? -M[I] : -C[I], J = t.elements.arrow, Z = h && J ? Bh(J) : {
4398
+ var S, E = w === "y" ? On : $n, j = w === "y" ? Un : zn, I = w === "y" ? "height" : "width", F = T[w], B = F + g[E], W = F - g[j], N = h ? -M[I] / 2 : 0, H = x === _a ? C[I] : M[I], q = x === _a ? -M[I] : -C[I], ee = t.elements.arrow, Z = h && ee ? Bh(ee) : {
4399
4399
  width: 0,
4400
4400
  height: 0
4401
4401
  }, te = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Fb(), Y = te[E], X = te[j], z = Mo(0, C[I], Z[I]), L = b ? C[I] / 2 - N - z - Y - k.mainAxis : H - z - Y - k.mainAxis, V = b ? -C[I] / 2 + N + z + X + k.mainAxis : q + z + X + k.mainAxis, ne = t.elements.arrow && Ms(t.elements.arrow), A = ne ? w === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, le = (S = $ == null ? void 0 : $[w]) != null ? S : 0, ue = F + L - le - A, fe = F + V - le, $e = Mo(h ? Lc(B, ue) : B, F, h ? ki(W, fe) : W);
@@ -4677,7 +4677,7 @@ function Hb(e, t, n = {}) {
4677
4677
  popper: {},
4678
4678
  arrow: {}
4679
4679
  }
4680
- })), m = Q(() => ({
4680
+ })), m = J(() => ({
4681
4681
  name: "updateStateModifier",
4682
4682
  enabled: !0,
4683
4683
  phase: "write",
@@ -4697,7 +4697,7 @@ function Hb(e, t, n = {}) {
4697
4697
  placement: g.placement
4698
4698
  });
4699
4699
  }
4700
- }), [u, d, h]), p = Q(() => (Eo(c.current, o) || (c.current = o), c.current), [o]);
4700
+ }), [u, d, h]), p = J(() => (Eo(c.current, o) || (c.current = o), c.current), [o]);
4701
4701
  return we(() => {
4702
4702
  !l.current || !r || l.current.setOptions({
4703
4703
  placement: i,
@@ -5093,7 +5093,7 @@ function As({
5093
5093
  });
5094
5094
  }, [u]), T = Dt(($, D) => {
5095
5095
  n == null || n($, D), _(!1, D, "select"), D.isPropagationStopped() || w == null || w($, D);
5096
- }), C = Q(() => ({
5096
+ }), C = J(() => ({
5097
5097
  toggle: _,
5098
5098
  placement: o,
5099
5099
  show: l,
@@ -5184,7 +5184,7 @@ const r1 = /* @__PURE__ */ ae.forwardRef(({
5184
5184
  ...i
5185
5185
  }, a) => (t = Xe(t, "dropdown-divider"), /* @__PURE__ */ v.jsx(n, {
5186
5186
  ref: a,
5187
- className: ee(e, t),
5187
+ className: Q(e, t),
5188
5188
  role: r,
5189
5189
  ...i
5190
5190
  })));
@@ -5197,7 +5197,7 @@ const i1 = /* @__PURE__ */ ae.forwardRef(({
5197
5197
  ...i
5198
5198
  }, a) => (t = Xe(t, "dropdown-header"), /* @__PURE__ */ v.jsx(n, {
5199
5199
  ref: a,
5200
- className: ee(e, t),
5200
+ className: Q(e, t),
5201
5201
  role: r,
5202
5202
  ...i
5203
5203
  })));
@@ -5223,7 +5223,7 @@ const a1 = /* @__PURE__ */ ae.forwardRef(({
5223
5223
  ...s,
5224
5224
  ...u,
5225
5225
  ref: c,
5226
- className: ee(t, l, d.isActive && "active", r && "disabled")
5226
+ className: Q(t, l, d.isActive && "active", r && "disabled")
5227
5227
  });
5228
5228
  });
5229
5229
  a1.displayName = "DropdownItem";
@@ -5234,7 +5234,7 @@ const o1 = /* @__PURE__ */ ae.forwardRef(({
5234
5234
  ...r
5235
5235
  }, i) => (t = Xe(t, "dropdown-item-text"), /* @__PURE__ */ v.jsx(n, {
5236
5236
  ref: i,
5237
- className: ee(e, t),
5237
+ className: Q(e, t),
5238
5238
  ...r
5239
5239
  })));
5240
5240
  o1.displayName = "DropdownItemText";
@@ -5313,7 +5313,7 @@ const u1 = /* @__PURE__ */ ae.forwardRef(({
5313
5313
  ...(b.length || h) && {
5314
5314
  "data-bs-popper": "static"
5315
5315
  },
5316
- className: ee(t, m, M && "show", f && `${m}-end`, l && `${m}-${l}`, ...b)
5316
+ className: Q(t, m, M && "show", f && `${m}-end`, l && `${m}-${l}`, ...b)
5317
5317
  });
5318
5318
  });
5319
5319
  u1.displayName = "DropdownMenu";
@@ -5330,7 +5330,7 @@ const d1 = /* @__PURE__ */ ae.forwardRef(({
5330
5330
  r !== void 0 && (a.bsPrefix = r);
5331
5331
  const [l] = Qb();
5332
5332
  return l.ref = Hn(l.ref, c1(o, "DropdownToggle")), /* @__PURE__ */ v.jsx(i, {
5333
- className: ee(n, s, t && `${s}-split`, (c == null ? void 0 : c.show) && "show"),
5333
+ className: Q(n, s, t && `${s}-split`, (c == null ? void 0 : c.show) && "show"),
5334
5334
  ...l,
5335
5335
  ...a
5336
5336
  });
@@ -5356,7 +5356,7 @@ const f1 = /* @__PURE__ */ ae.forwardRef((e, t) => {
5356
5356
  }), m = ce(qh), p = Xe(n, "dropdown"), g = El(), y = (C) => f === !1 ? C === "click" : f === "inside" ? C !== "rootClose" : f === "outside" ? C !== "select" : !0, x = Dt((C, M) => {
5357
5357
  var O;
5358
5358
  !((O = M.originalEvent) == null || (O = O.target) == null) && O.classList.contains("dropdown-toggle") && M.source === "mousedown" || (M.originalEvent.currentTarget === document && (M.source !== "keydown" || M.originalEvent.key === "Escape") && (M.source = "rootClose"), y(M.source) && (c == null || c(C, M)));
5359
- }), w = l1(o === "end", r, g), _ = Q(() => ({
5359
+ }), w = l1(o === "end", r, g), _ = J(() => ({
5360
5360
  align: o,
5361
5361
  drop: r,
5362
5362
  isRTL: g
@@ -5380,7 +5380,7 @@ const f1 = /* @__PURE__ */ ae.forwardRef((e, t) => {
5380
5380
  children: m ? h.children : /* @__PURE__ */ v.jsx(u, {
5381
5381
  ...h,
5382
5382
  ref: t,
5383
- className: ee(a, i && "show", T[r])
5383
+ className: Q(a, i && "show", T[r])
5384
5384
  })
5385
5385
  })
5386
5386
  });
@@ -5414,7 +5414,7 @@ const Ho = Object.assign(f1, {
5414
5414
  }, a) => /* @__PURE__ */ v.jsx(e, {
5415
5415
  ...i,
5416
5416
  ref: a,
5417
- className: ee(t, `${n}-${r ? "tooltip" : "feedback"}`)
5417
+ className: Q(t, `${n}-${r ? "tooltip" : "feedback"}`)
5418
5418
  })
5419
5419
  );
5420
5420
  Il.displayName = "Feedback";
@@ -5438,7 +5438,7 @@ const Cr = /* @__PURE__ */ ae.createContext({}), Yh = /* @__PURE__ */ ae.forward
5438
5438
  ref: c,
5439
5439
  type: r,
5440
5440
  id: e || l,
5441
- className: ee(n, t, i && "is-valid", a && "is-invalid")
5441
+ className: Q(n, t, i && "is-valid", a && "is-invalid")
5442
5442
  });
5443
5443
  });
5444
5444
  Yh.displayName = "FormCheckInput";
@@ -5455,7 +5455,7 @@ const Bc = /* @__PURE__ */ ae.forwardRef(({
5455
5455
  ...r,
5456
5456
  ref: i,
5457
5457
  htmlFor: n || a,
5458
- className: ee(t, e)
5458
+ className: Q(t, e)
5459
5459
  });
5460
5460
  });
5461
5461
  Bc.displayName = "FormCheckLabel";
@@ -5484,7 +5484,7 @@ const h1 = /* @__PURE__ */ ae.forwardRef(({
5484
5484
  t = Xe(t, "form-check"), n = Xe(n, "form-switch");
5485
5485
  const {
5486
5486
  controlId: w
5487
- } = ce(Cr), _ = Q(() => ({
5487
+ } = ce(Cr), _ = J(() => ({
5488
5488
  controlId: e || w
5489
5489
  }), [w, e]), T = !g && p != null && p !== !1 || RS(g, Bc), C = /* @__PURE__ */ v.jsx(Yh, {
5490
5490
  ...x,
@@ -5499,7 +5499,7 @@ const h1 = /* @__PURE__ */ ae.forwardRef(({
5499
5499
  value: _,
5500
5500
  children: /* @__PURE__ */ v.jsx("div", {
5501
5501
  style: f,
5502
- className: ee(d, T && t, r && `${t}-inline`, i && `${t}-reverse`, m === "switch" && n),
5502
+ className: Q(d, T && t, r && `${t}-inline`, i && `${t}-reverse`, m === "switch" && n),
5503
5503
  children: g || /* @__PURE__ */ v.jsxs(v.Fragment, {
5504
5504
  children: [C, T && /* @__PURE__ */ v.jsx(Bc, {
5505
5505
  title: h,
@@ -5542,7 +5542,7 @@ const Wc = Object.assign(h1, {
5542
5542
  ref: f,
5543
5543
  readOnly: l,
5544
5544
  id: i || h,
5545
- className: ee(a, c ? `${e}-plaintext` : e, n && `${e}-${n}`, t === "color" && `${e}-color`, o && "is-valid", s && "is-invalid")
5545
+ className: Q(a, c ? `${e}-plaintext` : e, n && `${e}-${n}`, t === "color" && `${e}-color`, o && "is-valid", s && "is-invalid")
5546
5546
  });
5547
5547
  });
5548
5548
  p1.displayName = "FormControl";
@@ -5555,7 +5555,7 @@ const gO = Object.assign(p1, {
5555
5555
  ...r
5556
5556
  }, i) => (t = Xe(t, "form-floating"), /* @__PURE__ */ v.jsx(n, {
5557
5557
  ref: i,
5558
- className: ee(e, t),
5558
+ className: Q(e, t),
5559
5559
  ...r
5560
5560
  })));
5561
5561
  m1.displayName = "FormFloating";
@@ -5565,7 +5565,7 @@ const Gh = /* @__PURE__ */ ae.forwardRef(({
5565
5565
  as: t = "div",
5566
5566
  ...n
5567
5567
  }, r) => {
5568
- const i = Q(() => ({
5568
+ const i = J(() => ({
5569
5569
  controlId: e
5570
5570
  }), [e]);
5571
5571
  return /* @__PURE__ */ v.jsx(Cr.Provider, {
@@ -5593,7 +5593,7 @@ const g1 = /* @__PURE__ */ ae.forwardRef(({
5593
5593
  t = Xe(t, "form-label");
5594
5594
  let l = "col-form-label";
5595
5595
  typeof n == "string" && (l = `${l} ${l}-${n}`);
5596
- const u = ee(i, t, r && "visually-hidden", n && l);
5596
+ const u = Q(i, t, r && "visually-hidden", n && l);
5597
5597
  return process.env.NODE_ENV !== "production" && zi(c == null || !a, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."), a = a || c, n ? /* @__PURE__ */ v.jsx(jb, {
5598
5598
  ref: s,
5599
5599
  as: "label",
@@ -5624,7 +5624,7 @@ const v1 = /* @__PURE__ */ ae.forwardRef(({
5624
5624
  ...r,
5625
5625
  type: "range",
5626
5626
  ref: i,
5627
- className: ee(t, e),
5627
+ className: Q(t, e),
5628
5628
  id: n || a
5629
5629
  });
5630
5630
  });
@@ -5646,7 +5646,7 @@ const y1 = /* @__PURE__ */ ae.forwardRef(({
5646
5646
  ...s,
5647
5647
  size: n,
5648
5648
  ref: c,
5649
- className: ee(r, e, t && `${e}-${t}`, i && "is-valid", a && "is-invalid"),
5649
+ className: Q(r, e, t && `${e}-${t}`, i && "is-valid", a && "is-invalid"),
5650
5650
  id: o || l
5651
5651
  });
5652
5652
  });
@@ -5662,7 +5662,7 @@ const b1 = /* @__PURE__ */ ae.forwardRef(
5662
5662
  }, a) => (e = Xe(e, "form-text"), /* @__PURE__ */ v.jsx(n, {
5663
5663
  ...i,
5664
5664
  ref: a,
5665
- className: ee(t, e, r && "text-muted")
5665
+ className: Q(t, e, r && "text-muted")
5666
5666
  }))
5667
5667
  );
5668
5668
  b1.displayName = "FormText";
@@ -5684,7 +5684,7 @@ const vO = Object.assign(x1, {
5684
5684
  ...a
5685
5685
  }, o) => (e = Xe(e, "form-floating"), /* @__PURE__ */ v.jsxs(Gh, {
5686
5686
  ref: o,
5687
- className: ee(t, e),
5687
+ className: Q(t, e),
5688
5688
  controlId: r,
5689
5689
  ...a,
5690
5690
  children: [n, /* @__PURE__ */ v.jsx("label", {
@@ -5718,7 +5718,7 @@ const yO = {
5718
5718
  }, i) => /* @__PURE__ */ v.jsx(n, {
5719
5719
  ...r,
5720
5720
  ref: i,
5721
- className: ee(e, t && "was-validated")
5721
+ className: Q(e, t && "was-validated")
5722
5722
  }));
5723
5723
  Kh.displayName = "Form";
5724
5724
  Kh.propTypes = yO;
@@ -5893,7 +5893,7 @@ const TO = Object.assign(S1, {
5893
5893
  ...c,
5894
5894
  ...u,
5895
5895
  onClick: f,
5896
- className: ee(i, e, d.isActive && "active", n && "disabled", a && `${e}-${a}`, o && `${e}-action`)
5896
+ className: Q(i, e, d.isActive && "active", n && "disabled", a && `${e}-${a}`, o && `${e}-action`)
5897
5897
  });
5898
5898
  });
5899
5899
  Xh.displayName = "ListGroupItem";
@@ -5915,7 +5915,7 @@ const k1 = /* @__PURE__ */ ae.forwardRef((e, t) => {
5915
5915
  ref: t,
5916
5916
  ...c,
5917
5917
  as: s,
5918
- className: ee(n, l, i && `${l}-${i}`, u && `${l}-${u}`, o && `${l}-numbered`)
5918
+ className: Q(n, l, i && `${l}-${i}`, u && `${l}-${u}`, o && `${l}-numbered`)
5919
5919
  });
5920
5920
  });
5921
5921
  k1.displayName = "ListGroup";
@@ -6212,8 +6212,8 @@ const O1 = /* @__PURE__ */ Rr((e, t) => {
6212
6212
  onEntering: S,
6213
6213
  onEntered: E
6214
6214
  } = e, j = DO(e, IO);
6215
- const I = Pl(), F = vf(T), B = LO(_), W = jh(), N = Ob(n), [H, q] = Oe(!n), J = me(null);
6216
- XT(t, () => B, [B]), Na && !N && n && (J.current = gd(I == null ? void 0 : I.document)), n && H && q(!1);
6215
+ const I = Pl(), F = vf(T), B = LO(_), W = jh(), N = Ob(n), [H, q] = Oe(!n), ee = me(null);
6216
+ XT(t, () => B, [B]), Na && !N && n && (ee.current = gd(I == null ? void 0 : I.document)), n && H && q(!1);
6217
6217
  const Z = Dt(() => {
6218
6218
  if (B.add(), V.current = Tr(document, "keydown", z), L.current = Tr(
6219
6219
  document,
@@ -6225,12 +6225,12 @@ const O1 = /* @__PURE__ */ Rr((e, t) => {
6225
6225
  ), C && C(), p) {
6226
6226
  var fe, $e;
6227
6227
  const Ee = gd((fe = ($e = B.dialog) == null ? void 0 : $e.ownerDocument) != null ? fe : I == null ? void 0 : I.document);
6228
- B.dialog && Ee && !Uo(B.dialog, Ee) && (J.current = Ee, B.dialog.focus());
6228
+ B.dialog && Ee && !Uo(B.dialog, Ee) && (ee.current = Ee, B.dialog.focus());
6229
6229
  }
6230
6230
  }), te = Dt(() => {
6231
6231
  if (B.remove(), V.current == null || V.current(), L.current == null || L.current(), y) {
6232
6232
  var fe;
6233
- (fe = J.current) == null || fe.focus == null || fe.focus(x), J.current = null;
6233
+ (fe = ee.current) == null || fe.focus == null || fe.focus(x), ee.current = null;
6234
6234
  }
6235
6235
  });
6236
6236
  we(() => {
@@ -6363,7 +6363,7 @@ const $1 = /* @__PURE__ */ ae.forwardRef(({
6363
6363
  ...r
6364
6364
  }, i) => (t = Xe(t, "modal-body"), /* @__PURE__ */ v.jsx(n, {
6365
6365
  ref: i,
6366
- className: ee(e, t),
6366
+ className: Q(e, t),
6367
6367
  ...r
6368
6368
  })));
6369
6369
  $1.displayName = "ModalBody";
@@ -6387,9 +6387,9 @@ const C1 = /* @__PURE__ */ ae.createContext({
6387
6387
  return /* @__PURE__ */ v.jsx("div", {
6388
6388
  ...c,
6389
6389
  ref: l,
6390
- className: ee(u, t, i && `${e}-${i}`, r && `${u}-centered`, s && `${u}-scrollable`, a && d),
6390
+ className: Q(u, t, i && `${e}-${i}`, r && `${u}-centered`, s && `${u}-scrollable`, a && d),
6391
6391
  children: /* @__PURE__ */ v.jsx("div", {
6392
- className: ee(`${e}-content`, n),
6392
+ className: Q(`${e}-content`, n),
6393
6393
  children: o
6394
6394
  })
6395
6395
  });
@@ -6402,7 +6402,7 @@ const E1 = /* @__PURE__ */ ae.forwardRef(({
6402
6402
  ...r
6403
6403
  }, i) => (t = Xe(t, "modal-footer"), /* @__PURE__ */ v.jsx(n, {
6404
6404
  ref: i,
6405
- className: ee(e, t),
6405
+ className: Q(e, t),
6406
6406
  ...r
6407
6407
  })));
6408
6408
  E1.displayName = "ModalFooter";
@@ -6435,7 +6435,7 @@ const HO = /* @__PURE__ */ ae.forwardRef(({
6435
6435
  }, a) => (e = Xe(e, "modal-header"), /* @__PURE__ */ v.jsx(HO, {
6436
6436
  ref: a,
6437
6437
  ...i,
6438
- className: ee(t, e),
6438
+ className: Q(t, e),
6439
6439
  closeLabel: n,
6440
6440
  closeButton: r
6441
6441
  })));
@@ -6447,7 +6447,7 @@ const VO = Tb("h4"), A1 = /* @__PURE__ */ ae.forwardRef(({
6447
6447
  ...r
6448
6448
  }, i) => (t = Xe(t, "modal-title"), /* @__PURE__ */ v.jsx(n, {
6449
6449
  ref: i,
6450
- className: ee(e, t),
6450
+ className: Q(e, t),
6451
6451
  ...r
6452
6452
  })));
6453
6453
  A1.displayName = "ModalTitle";
@@ -6498,9 +6498,9 @@ const R1 = /* @__PURE__ */ ae.forwardRef(({
6498
6498
  manager: E,
6499
6499
  ...j
6500
6500
  }, I) => {
6501
- const [F, B] = Oe({}), [W, N] = Oe(!1), H = me(!1), q = me(!1), J = me(null), [Z, te] = Dc(), Y = Hn(I, te), X = Dt(y), z = El();
6501
+ const [F, B] = Oe({}), [W, N] = Oe(!1), H = me(!1), q = me(!1), ee = me(null), [Z, te] = Dc(), Y = Hn(I, te), X = Dt(y), z = El();
6502
6502
  e = Xe(e, "modal");
6503
- const L = Q(() => ({
6503
+ const L = J(() => ({
6504
6504
  onHide: X
6505
6505
  }), [X]);
6506
6506
  function V() {
@@ -6520,14 +6520,14 @@ const R1 = /* @__PURE__ */ ae.forwardRef(({
6520
6520
  Z && ne(Z.dialog);
6521
6521
  });
6522
6522
  Nh(() => {
6523
- hf(window, "resize", A), J.current == null || J.current();
6523
+ hf(window, "resize", A), ee.current == null || ee.current();
6524
6524
  });
6525
6525
  const le = () => {
6526
6526
  H.current = !0;
6527
6527
  }, ue = (xe) => {
6528
6528
  H.current && Z && xe.target === Z.dialog && (q.current = !0), H.current = !1;
6529
6529
  }, fe = () => {
6530
- N(!0), J.current = wb(Z.dialog, () => {
6530
+ N(!0), ee.current = wb(Z.dialog, () => {
6531
6531
  N(!1);
6532
6532
  });
6533
6533
  }, $e = (xe) => {
@@ -6547,14 +6547,14 @@ const R1 = /* @__PURE__ */ ae.forwardRef(({
6547
6547
  }, ot = (xe, Be) => {
6548
6548
  xe && ne(xe), k == null || k(xe, Be);
6549
6549
  }, Ve = (xe) => {
6550
- J.current == null || J.current(), M == null || M(xe);
6550
+ ee.current == null || ee.current(), M == null || M(xe);
6551
6551
  }, tt = (xe, Be) => {
6552
6552
  $ == null || $(xe, Be), Rh(window, "resize", A);
6553
6553
  }, Qe = (xe) => {
6554
6554
  xe && (xe.style.display = ""), D == null || D(xe), hf(window, "resize", A);
6555
6555
  }, he = U((xe) => /* @__PURE__ */ v.jsx("div", {
6556
6556
  ...xe,
6557
- className: ee(`${e}-backdrop`, S, !f && "show")
6557
+ className: Q(`${e}-backdrop`, S, !f && "show")
6558
6558
  }), [f, S, e]), Me = {
6559
6559
  ...n,
6560
6560
  ...F
@@ -6564,7 +6564,7 @@ const R1 = /* @__PURE__ */ ae.forwardRef(({
6564
6564
  role: "dialog",
6565
6565
  ...xe,
6566
6566
  style: Me,
6567
- className: ee(t, e, W && `${e}-static`, !f && "show"),
6567
+ className: Q(t, e, W && `${e}-static`, !f && "show"),
6568
6568
  onClick: h ? Ee : void 0,
6569
6569
  onMouseUp: ue,
6570
6570
  "data-bs-theme": s,
@@ -6715,7 +6715,7 @@ const P1 = /* @__PURE__ */ ae.forwardRef(({
6715
6715
  ...r
6716
6716
  }, i) => (t = Xe(t, "popover-header"), /* @__PURE__ */ v.jsx(n, {
6717
6717
  ref: i,
6718
- className: ee(e, t),
6718
+ className: Q(e, t),
6719
6719
  ...r
6720
6720
  })));
6721
6721
  P1.displayName = "PopoverHeader";
@@ -6726,7 +6726,7 @@ const ep = /* @__PURE__ */ ae.forwardRef(({
6726
6726
  ...r
6727
6727
  }, i) => (t = Xe(t, "popover-body"), /* @__PURE__ */ v.jsx(n, {
6728
6728
  ref: i,
6729
- className: ee(e, t),
6729
+ className: Q(e, t),
6730
6730
  ...r
6731
6731
  })));
6732
6732
  ep.displayName = "PopoverBody";
@@ -6766,7 +6766,7 @@ const KO = /* @__PURE__ */ ae.forwardRef(({
6766
6766
  role: "tooltip",
6767
6767
  style: g,
6768
6768
  "x-placement": m,
6769
- className: ee(n, f, m && `bs-popover-${p}`),
6769
+ className: Q(n, f, m && `bs-popover-${p}`),
6770
6770
  ...u,
6771
6771
  children: [/* @__PURE__ */ v.jsx("div", {
6772
6772
  className: "popover-arrow",
@@ -6804,7 +6804,7 @@ const KO = /* @__PURE__ */ ae.forwardRef(({
6804
6804
  style: m,
6805
6805
  role: "tooltip",
6806
6806
  "x-placement": f,
6807
- className: ee(n, e, `bs-tooltip-${h}`),
6807
+ className: Q(n, e, `bs-tooltip-${h}`),
6808
6808
  ...l,
6809
6809
  children: [/* @__PURE__ */ v.jsx("div", {
6810
6810
  className: "tooltip-arrow",
@@ -6822,7 +6822,7 @@ const L1 = Object.assign(N1, {
6822
6822
  TOOLTIP_OFFSET: [0, 6]
6823
6823
  });
6824
6824
  function XO(e) {
6825
- const t = me(null), n = Xe(void 0, "popover"), r = Xe(void 0, "tooltip"), i = Q(() => ({
6825
+ const t = me(null), n = Xe(void 0, "popover"), r = Xe(void 0, "tooltip"), i = J(() => ({
6826
6826
  name: "offset",
6827
6827
  options: {
6828
6828
  offset: () => {
@@ -6906,7 +6906,7 @@ const F1 = /* @__PURE__ */ ae.forwardRef(({
6906
6906
  arrowProps: y,
6907
6907
  popper: T,
6908
6908
  hasDoneInitialMeasure: C,
6909
- className: ee(e.props.className, !t && b && "show"),
6909
+ className: Q(e.props.className, !t && b && "show"),
6910
6910
  style: {
6911
6911
  ...e.props.style,
6912
6912
  ...g.style
@@ -7002,7 +7002,7 @@ const B1 = ({
7002
7002
  return /* @__PURE__ */ v.jsx(i, {
7003
7003
  ref: s,
7004
7004
  ...o,
7005
- className: ee(a, c, r && `${c}-${r}`, t && `text-${t}`)
7005
+ className: Q(a, c, r && `${c}-${r}`, t && `text-${t}`)
7006
7006
  });
7007
7007
  });
7008
7008
  W1.displayName = "Spinner";
@@ -7667,7 +7667,7 @@ const l5 = Tf, _te = cn({
7667
7667
  return t != null && t.permissions && t.permissions.length > 0 ? t.permissions : null;
7668
7668
  }, h5 = ({ heading: e, content: t, placement: n, children: r, trigger: i = ["hover"], popoverClassName: a, small: o, delay: s, ...c }) => {
7669
7669
  const l = i.includes("hover") && !i.includes("focus") ? [...i, "focus"] : i;
7670
- return /* @__PURE__ */ v.jsx(B1, { placement: n, overlay: /* @__PURE__ */ v.jsxs(wc, { className: ee("luminus-popover", { "luminus-popover-sm": o }, a), onClick: (u) => u.stopPropagation(), children: [
7670
+ return /* @__PURE__ */ v.jsx(B1, { placement: n, overlay: /* @__PURE__ */ v.jsxs(wc, { className: Q("luminus-popover", { "luminus-popover-sm": o }, a), onClick: (u) => u.stopPropagation(), children: [
7671
7671
  e && /* @__PURE__ */ v.jsx(wc.Header, { children: typeof e == "string" ? /* @__PURE__ */ v.jsx(kn, { variant: "h6", className: "text-primary", children: e }) : e }),
7672
7672
  /* @__PURE__ */ v.jsx(wc.Body, { children: t })
7673
7673
  ] }), trigger: l, rootClose: !0, show: c.controlled ? c.isOpen : void 0, onToggle: c.controlled ? (u) => c.setIsOpen(u) : void 0, delay: s, children: r });
@@ -7684,21 +7684,21 @@ const l5 = Tf, _te = cn({
7684
7684
  }, w5 = ({ variant: e, className: t, children: n }) => {
7685
7685
  switch (e) {
7686
7686
  case "h1":
7687
- return /* @__PURE__ */ v.jsx("h1", { className: ee("luminus-text-primary luminus-h1", Nr.h1, t), children: n });
7687
+ return /* @__PURE__ */ v.jsx("h1", { className: Q("luminus-text-primary luminus-h1", Nr.h1, t), children: n });
7688
7688
  case "h3":
7689
- return /* @__PURE__ */ v.jsx("h3", { className: ee("luminus-text luminus-h3", Nr.h3, t), children: n });
7689
+ return /* @__PURE__ */ v.jsx("h3", { className: Q("luminus-text luminus-h3", Nr.h3, t), children: n });
7690
7690
  case "h6":
7691
- return /* @__PURE__ */ v.jsx("h6", { className: ee("luminus-text luminus-h6", Nr.h6, t), children: n });
7691
+ return /* @__PURE__ */ v.jsx("h6", { className: Q("luminus-text luminus-h6", Nr.h6, t), children: n });
7692
7692
  case "subtitle":
7693
- return /* @__PURE__ */ v.jsx("div", { className: ee("luminus-text luminus-subtitle", Nr.subtitle, t), children: n });
7693
+ return /* @__PURE__ */ v.jsx("div", { className: Q("luminus-text luminus-subtitle", Nr.subtitle, t), children: n });
7694
7694
  case "body":
7695
- return /* @__PURE__ */ v.jsx("div", { className: ee("luminus-text luminus-body", Nr.body, t), children: n });
7695
+ return /* @__PURE__ */ v.jsx("div", { className: Q("luminus-text luminus-body", Nr.body, t), children: n });
7696
7696
  case "body2":
7697
- return /* @__PURE__ */ v.jsx("div", { className: ee("luminus-text luminus-body2", Nr.body2, t), children: n });
7697
+ return /* @__PURE__ */ v.jsx("div", { className: Q("luminus-text luminus-body2", Nr.body2, t), children: n });
7698
7698
  case "caption":
7699
- return /* @__PURE__ */ v.jsx("div", { className: ee("luminus-text-muted luminus-caption", Nr.caption, t), children: n });
7699
+ return /* @__PURE__ */ v.jsx("div", { className: Q("luminus-text-muted luminus-caption", Nr.caption, t), children: n });
7700
7700
  case "form-label":
7701
- return /* @__PURE__ */ v.jsx("div", { className: ee("luminus-text luminus-form-label", Nr.formLabel, t), children: n });
7701
+ return /* @__PURE__ */ v.jsx("div", { className: Q("luminus-text luminus-form-label", Nr.formLabel, t), children: n });
7702
7702
  default:
7703
7703
  return /* @__PURE__ */ v.jsx(v.Fragment, { children: n });
7704
7704
  }
@@ -10766,7 +10766,7 @@ function hC() {
10766
10766
  function q(A) {
10767
10767
  return w(A) === o;
10768
10768
  }
10769
- function J(A) {
10769
+ function ee(A) {
10770
10770
  return typeof A == "object" && A !== null && A.$$typeof === t;
10771
10771
  }
10772
10772
  function Z(A) {
@@ -10793,7 +10793,7 @@ function hC() {
10793
10793
  function ne(A) {
10794
10794
  return w(A) === d;
10795
10795
  }
10796
- mt.AsyncMode = _, mt.ConcurrentMode = T, mt.ContextConsumer = C, mt.ContextProvider = M, mt.Element = O, mt.ForwardRef = k, mt.Fragment = $, mt.Lazy = D, mt.Memo = S, mt.Portal = E, mt.Profiler = j, mt.StrictMode = I, mt.Suspense = F, mt.isAsyncMode = W, mt.isConcurrentMode = N, mt.isContextConsumer = H, mt.isContextProvider = q, mt.isElement = J, mt.isForwardRef = Z, mt.isFragment = te, mt.isLazy = Y, mt.isMemo = X, mt.isPortal = z, mt.isProfiler = L, mt.isStrictMode = V, mt.isSuspense = ne, mt.isValidElementType = b, mt.typeOf = w;
10796
+ mt.AsyncMode = _, mt.ConcurrentMode = T, mt.ContextConsumer = C, mt.ContextProvider = M, mt.Element = O, mt.ForwardRef = k, mt.Fragment = $, mt.Lazy = D, mt.Memo = S, mt.Portal = E, mt.Profiler = j, mt.StrictMode = I, mt.Suspense = F, mt.isAsyncMode = W, mt.isConcurrentMode = N, mt.isContextConsumer = H, mt.isContextProvider = q, mt.isElement = ee, mt.isForwardRef = Z, mt.isFragment = te, mt.isLazy = Y, mt.isMemo = X, mt.isPortal = z, mt.isProfiler = L, mt.isStrictMode = V, mt.isSuspense = ne, mt.isValidElementType = b, mt.typeOf = w;
10797
10797
  }()), mt;
10798
10798
  }
10799
10799
  var c0;
@@ -10884,7 +10884,7 @@ function _x(e, t) {
10884
10884
  n.removeChangeListener(u);
10885
10885
  };
10886
10886
  }, [n, a]);
10887
- const s = Q(() => n.set.bind(n), [n]), c = Q(() => n.remove.bind(n), [n]), l = Q(() => n.update.bind(n), [n]);
10887
+ const s = J(() => n.set.bind(n), [n]), c = J(() => n.remove.bind(n), [n]), l = J(() => n.update.bind(n), [n]);
10888
10888
  return [a, s, c, l];
10889
10889
  }
10890
10890
  function vC(e, t, n) {
@@ -10989,7 +10989,7 @@ const yC = () => {
10989
10989
  duration: i,
10990
10990
  position: "top-center",
10991
10991
  icon: /* @__PURE__ */ v.jsx(p6, { size: 12 }),
10992
- className: ee("luminus-toast-success rounded shadow bg-success", uo.toast)
10992
+ className: Q("luminus-toast-success rounded shadow bg-success", uo.toast)
10993
10993
  });
10994
10994
  break;
10995
10995
  }
@@ -10999,7 +10999,7 @@ const yC = () => {
10999
10999
  duration: i,
11000
11000
  position: "top-center",
11001
11001
  icon: /* @__PURE__ */ v.jsx(d6, { size: 12 }),
11002
- className: ee("luminus-toast-danger rounded shadow bg-danger", uo.toast)
11002
+ className: Q("luminus-toast-danger rounded shadow bg-danger", uo.toast)
11003
11003
  });
11004
11004
  break;
11005
11005
  }
@@ -11009,7 +11009,7 @@ const yC = () => {
11009
11009
  duration: i,
11010
11010
  position: "top-center",
11011
11011
  icon: /* @__PURE__ */ v.jsx(s6, { size: 12 }),
11012
- className: ee("luminus-toast-warning rounded shadow bg-warning", uo.toast)
11012
+ className: Q("luminus-toast-warning rounded shadow bg-warning", uo.toast)
11013
11013
  });
11014
11014
  break;
11015
11015
  }
@@ -11019,7 +11019,7 @@ const yC = () => {
11019
11019
  duration: i,
11020
11020
  position: "top-center",
11021
11021
  icon: /* @__PURE__ */ v.jsx(l6, { size: 12 }),
11022
- className: ee("luminus-toast-info rounded shadow bg-info", uo.toast)
11022
+ className: Q("luminus-toast-info rounded shadow bg-info", uo.toast)
11023
11023
  });
11024
11024
  break;
11025
11025
  }
@@ -11029,13 +11029,13 @@ const yC = () => {
11029
11029
  duration: i,
11030
11030
  position: "top-center",
11031
11031
  icon: /* @__PURE__ */ v.jsx(u6, { size: 12 }),
11032
- className: ee("luminus-toast-prompt rounded shadow bg-light", uo.toast)
11032
+ className: Q("luminus-toast-prompt rounded shadow bg-light", uo.toast)
11033
11033
  });
11034
11034
  break;
11035
11035
  }
11036
11036
  }
11037
11037
  }, []) }), Ute = Nt.CancelToken, lp = (e) => {
11038
- const { authenticated: t = !0, differentBaseUrl: n, silent: r = !1, customToken: i, ignoreDelegation: a, noToastOnStatus: o } = { ...e }, { language: s, axiosOptions: c, texts: { axios: l } } = ce(Zt), { delegation: u } = ce(CE), d = Q(() => (u == null ? void 0 : u.id) ?? null, [u == null ? void 0 : u.id]), { addNotification: f } = cp(), { getToken: h } = xC(), m = Q(() => Nt.create(c), [c]), p = U(async (y) => {
11038
+ const { authenticated: t = !0, differentBaseUrl: n, silent: r = !1, customToken: i, ignoreDelegation: a, noToastOnStatus: o } = { ...e }, { language: s, axiosOptions: c, texts: { axios: l } } = ce(Zt), { delegation: u } = ce(CE), d = J(() => (u == null ? void 0 : u.id) ?? null, [u == null ? void 0 : u.id]), { addNotification: f } = cp(), { getToken: h } = xC(), m = J(() => Nt.create(c), [c]), p = U(async (y) => {
11039
11039
  var x, b, w;
11040
11040
  if (t && !y.headers.Authorization) {
11041
11041
  const _ = i ? { token: i, expiresOn: db(new Date(Date.now()), 1) } : await h();
@@ -14037,7 +14037,7 @@ const dp = () => {
14037
14037
  we(() => (document.addEventListener("keydown", e), () => {
14038
14038
  document.removeEventListener("keydown", e);
14039
14039
  }), [e]);
14040
- }, jx = (e, t, n) => Q(() => n || e !== "date" && e !== "datetime-local" && e !== "time" || t ? e : "text", [t, e, n]), $E = () => {
14040
+ }, jx = (e, t, n) => J(() => n || e !== "date" && e !== "datetime-local" && e !== "time" || t ? e : "text", [t, e, n]), $E = () => {
14041
14041
  const { addNotification: e } = cp(), { texts: { clipboard: t } } = ce(Zt);
14042
14042
  return { copyToClipboard: U(async (r) => {
14043
14043
  var i;
@@ -14076,7 +14076,7 @@ const dp = () => {
14076
14076
  falseIfNotInit: !1
14077
14077
  }, fp = ({ falseIfNotInit: e = f0.falseIfNotInit } = f0) => {
14078
14078
  const t = ce(ME);
14079
- if (console.log(e), !e && t === void 0)
14079
+ if (!e && t === void 0)
14080
14080
  throw new Error("FormDisabledProvider not initilized. Probably tried to use useFormDisabledContext outside FormDisabledProvider.");
14081
14081
  return t ?? !1;
14082
14082
  }, AE = "_button_1wjon_1", RE = "_filled_1wjon_7", jE = "_sm_1wjon_13", PE = "_md_1wjon_18", IE = "_lg_1wjon_23", ra = {
@@ -14085,7 +14085,7 @@ const dp = () => {
14085
14085
  sm: jE,
14086
14086
  md: PE,
14087
14087
  lg: IE
14088
- }, Ma = ({ variant: e = "filled", color: t = "primary", size: n = "md", className: r, children: i, ...a }) => a.as === "link" ? /* @__PURE__ */ v.jsx(Cs, { to: a.href ?? "/", className: ee(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, ra.button, ra[e], ra[n]), ...a, children: i }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ v.jsx("button", { type: "button", className: ee(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, ra.button, ra[e], ra[n]), ...a, children: i }) : null, DE = "_button_1r3i0_1", h0 = {
14088
+ }, Ma = ({ variant: e = "filled", color: t = "primary", size: n = "md", className: r, children: i, ...a }) => a.as === "link" ? /* @__PURE__ */ v.jsx(Cs, { to: a.href ?? "/", className: Q(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, ra.button, ra[e], ra[n]), ...a, children: i }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ v.jsx("button", { type: "button", className: Q(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, ra.button, ra[e], ra[n]), ...a, children: i }) : null, DE = "_button_1r3i0_1", h0 = {
14089
14089
  button: DE
14090
14090
  }, hp = ({
14091
14091
  color: e = "primary",
@@ -14094,10 +14094,10 @@ const dp = () => {
14094
14094
  className: n,
14095
14095
  children: r,
14096
14096
  ...i
14097
- }) => i.as === "link" ? /* @__PURE__ */ v.jsxs(Cs, { to: i.href ?? "/", className: ee(`luminus-context-button btn text-${e} ${n ?? ""}`, h0.button), ...i, children: [
14097
+ }) => i.as === "link" ? /* @__PURE__ */ v.jsxs(Cs, { to: i.href ?? "/", className: Q(`luminus-context-button btn text-${e} ${n ?? ""}`, h0.button), ...i, children: [
14098
14098
  t,
14099
14099
  r
14100
- ] }) : i.as === "button" || i.as === void 0 ? /* @__PURE__ */ v.jsxs("button", { type: "button", className: ee(`luminus-context-button btn text-${e} ${n ?? ""}`, h0.button), ...i, children: [
14100
+ ] }) : i.as === "button" || i.as === void 0 ? /* @__PURE__ */ v.jsxs("button", { type: "button", className: Q(`luminus-context-button btn text-${e} ${n ?? ""}`, h0.button), ...i, children: [
14101
14101
  t,
14102
14102
  r
14103
14103
  ] }) : null, NE = "_icon-button_15e26_1", LE = "_sm_15e26_14", FE = "_md_15e26_23", BE = "_lg_15e26_32", ic = {
@@ -14106,11 +14106,11 @@ const dp = () => {
14106
14106
  sm: LE,
14107
14107
  md: FE,
14108
14108
  lg: BE
14109
- }, Vl = ({ type: e = "button", color: t = "primary", size: n = "md", children: r, className: i, ...a }) => a.as === "link" ? /* @__PURE__ */ v.jsx(Cs, { to: a.href ?? "/", className: ee(`luminus-icon-button btn text-${t} ${i ?? ""}`, ic.iconButton, ic[n]), ...a, children: r }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ v.jsx(
14109
+ }, Vl = ({ type: e = "button", color: t = "primary", size: n = "md", children: r, className: i, ...a }) => a.as === "link" ? /* @__PURE__ */ v.jsx(Cs, { to: a.href ?? "/", className: Q(`luminus-icon-button btn text-${t} ${i ?? ""}`, ic.iconButton, ic[n]), ...a, children: r }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ v.jsx(
14110
14110
  "button",
14111
14111
  {
14112
14112
  type: e,
14113
- className: ee(`luminus-icon-button btn text-${t} ${i ?? ""}`, ic.iconButton, ic[n]),
14113
+ className: Q(`luminus-icon-button btn text-${t} ${i ?? ""}`, ic.iconButton, ic[n]),
14114
14114
  ...a,
14115
14115
  children: r
14116
14116
  }
@@ -14118,10 +14118,10 @@ const dp = () => {
14118
14118
  "avatar-icon": "_avatar-icon_1axl6_1",
14119
14119
  avatarIcon: WE
14120
14120
  }, zE = ({ name: e, fontSize: t, size: n }) => {
14121
- const r = Q(() => {
14121
+ const r = J(() => {
14122
14122
  const o = e.split(" ");
14123
14123
  return o.length < 2 ? e : Vc(" ", o.at(o.length - 2), o.at(o.length - 1));
14124
- }, [e]), i = Q(() => {
14124
+ }, [e]), i = J(() => {
14125
14125
  const o = r.split(" ");
14126
14126
  return Vc("", ...o.map((s) => s.at(0) ?? void 0));
14127
14127
  }, [r]), a = (o) => {
@@ -14135,7 +14135,7 @@ const dp = () => {
14135
14135
  }
14136
14136
  return l;
14137
14137
  };
14138
- return /* @__PURE__ */ v.jsx(B1, { placement: "bottom", overlay: /* @__PURE__ */ v.jsx(L1, { children: e }), children: /* @__PURE__ */ v.jsx("div", { className: ee("luminus-avatar-icon", UE.avatarIcon), style: {
14138
+ return /* @__PURE__ */ v.jsx(B1, { placement: "bottom", overlay: /* @__PURE__ */ v.jsx(L1, { children: e }), children: /* @__PURE__ */ v.jsx("div", { className: Q("luminus-avatar-icon", UE.avatarIcon), style: {
14139
14139
  backgroundColor: a(r),
14140
14140
  fontSize: t ?? void 0,
14141
14141
  minHeight: n ?? void 0,
@@ -14155,10 +14155,10 @@ const dp = () => {
14155
14155
  }, YE = ({ hint: e, children: t }) => e ? /* @__PURE__ */ v.jsx(Z1, { text: e, placement: "top", children: t }) : t, pp = Rr(({ hidden: e, children: t, className: n, isInvalid: r, isForRadioInput: i, inputContainerClassName: a, isForCheckInput: o, hint: s, required: c, disabled: l, ...u }, d) => {
14156
14156
  const { ProjectIconComponent: f } = ce(Zt), h = u.withoutLabel ? "" : /* @__PURE__ */ v.jsxs("div", { className: "d-flex gap-1 align-items-center", children: [
14157
14157
  u.label,
14158
- c ? /* @__PURE__ */ v.jsx("span", { className: ee("fw-bold", { "text-danger": !l }), style: { fontSize: "16px" }, children: "*" }) : null,
14158
+ c ? /* @__PURE__ */ v.jsx("span", { className: Q("fw-bold", { "text-danger": !l }), style: { fontSize: "16px" }, children: "*" }) : null,
14159
14159
  s ? /* @__PURE__ */ v.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ v.jsx(f, { icon: "info" }) }) : null
14160
14160
  ] });
14161
- return o ? /* @__PURE__ */ v.jsx("div", { className: ee("luminus-floating-label-check", Cd.floatingLabelCheck), children: t }) : /* @__PURE__ */ v.jsx(YE, { hint: s, children: /* @__PURE__ */ v.jsx(Zh, { ref: d, label: /* @__PURE__ */ v.jsx("div", { className: "d-flex gap-1 align-items-center", children: h }), hidden: e ?? !1, className: ee(`luminus-floating-label ${n ?? ""}`, Cd.floatingLabel, {
14161
+ return o ? /* @__PURE__ */ v.jsx("div", { className: Q("luminus-floating-label-check", Cd.floatingLabelCheck), children: t }) : /* @__PURE__ */ v.jsx(YE, { hint: s, children: /* @__PURE__ */ v.jsx(Zh, { ref: d, label: /* @__PURE__ */ v.jsx("div", { className: "d-flex gap-1 align-items-center", children: h }), hidden: e ?? !1, className: Q(`luminus-floating-label ${n ?? ""}`, Cd.floatingLabel, {
14162
14162
  [a ?? ""]: a
14163
14163
  }, { [Cd.withoutLabel]: u.withoutLabel }), children: t }) });
14164
14164
  });
@@ -14176,14 +14176,14 @@ const GE = "_row-label-input_mqkkx_1", ZE = "_label_mqkkx_4", KE = "_input-conta
14176
14176
  "is-invalid": "_is-invalid_mqkkx_160",
14177
14177
  isInvalid: JE
14178
14178
  }, ql = Rr(({ hidden: e, children: t, required: n, disabled: r, className: i, isInvalid: a, isForRadioInput: o, isForTextAreaInput: s, inputContainerClassName: c, hint: l, ...u }, d) => {
14179
- const { ProjectIconComponent: f } = ce(Zt), h = u.withoutLabel ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx("label", { className: ee("label col-6", { "col-12": s }, fo.label), children: /* @__PURE__ */ v.jsxs(kn, { variant: "form-label", className: ee("d-flex gap-1 align-items-center", a ? "text-danger" : ""), children: [
14179
+ const { ProjectIconComponent: f } = ce(Zt), h = u.withoutLabel ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx("label", { className: Q("label col-6", { "col-12": s }, fo.label), children: /* @__PURE__ */ v.jsxs(kn, { variant: "form-label", className: Q("d-flex gap-1 align-items-center", a ? "text-danger" : ""), children: [
14180
14180
  u.label,
14181
- n ? /* @__PURE__ */ v.jsx("span", { className: ee("fw-bold", { "text-danger": !r }), style: { fontSize: "16px" }, children: "*" }) : null,
14181
+ n ? /* @__PURE__ */ v.jsx("span", { className: Q("fw-bold", { "text-danger": !r }), style: { fontSize: "16px" }, children: "*" }) : null,
14182
14182
  l ? /* @__PURE__ */ v.jsx("div", { className: "d-flex align-items-center", style: { paddingTop: "2px" }, children: /* @__PURE__ */ v.jsx(f, { icon: "info" }) }) : null
14183
14183
  ] }) });
14184
- return /* @__PURE__ */ v.jsxs("div", { ref: d, className: ee("luminus-row-label row gx-0 gy-0", { "is-invalid": a }, { [fo.isInvalid]: a }, { [i ?? ""]: i }, { "d-none": e }, fo.rowLabelInput), children: [
14184
+ return /* @__PURE__ */ v.jsxs("div", { ref: d, className: Q("luminus-row-label row gx-0 gy-0", { "is-invalid": a }, { [fo.isInvalid]: a }, { [i ?? ""]: i }, { "d-none": e }, fo.rowLabelInput), children: [
14185
14185
  l ? /* @__PURE__ */ v.jsx(Z1, { text: l, placement: "top", children: h }) : h,
14186
- /* @__PURE__ */ v.jsx("div", { className: ee("input-container", fo.inputContainer, { "col-6": !u.withoutLabel && !s }, { "col-12": u.withoutLabel || s }, { [fo.keepCheckLabel]: o }, {
14186
+ /* @__PURE__ */ v.jsx("div", { className: Q("input-container", fo.inputContainer, { "col-6": !u.withoutLabel && !s }, { "col-12": u.withoutLabel || s }, { [fo.keepCheckLabel]: o }, {
14187
14187
  [c ?? ""]: c
14188
14188
  }), children: t })
14189
14189
  ] });
@@ -14215,7 +14215,7 @@ const tM = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
14215
14215
  O(F), C.current !== null && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
14216
14216
  k(F);
14217
14217
  }, i);
14218
- }, [i, k]), D = Q(() => {
14218
+ }, [i, k]), D = J(() => {
14219
14219
  if (w !== void 0)
14220
14220
  return (I) => {
14221
14221
  I.key === "Enter" && w && w();
@@ -14258,10 +14258,10 @@ const tM = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
14258
14258
  }) => {
14259
14259
  const { texts: { customSelect: T } } = ce(Zt), [C, M] = Oe(!1), [O, k] = Oe(""), $ = U((B) => {
14260
14260
  k(B);
14261
- }, []), D = Q(() => n.find((B) => B.id === t) ?? null, [n, t]), S = U((B) => {
14261
+ }, []), D = J(() => n.find((B) => B.id === t) ?? null, [n, t]), S = U((B) => {
14262
14262
  var W;
14263
14263
  return B === null ? "" : !B.name || B.name.length === 0 ? ((W = B.id) == null ? void 0 : W.toString()) ?? "" : f ? `${B.name} (${B.id})` : B.name;
14264
- }, [f]), E = Q(() => {
14264
+ }, [f]), E = J(() => {
14265
14265
  const B = n ? [...n] : [];
14266
14266
  return m !== void 0 && t !== void 0 && t !== null && (B.some((W) => W.id === t) || B.push({ id: t, name: m })), B.map((W) => ({
14267
14267
  id: W.id,
@@ -14273,13 +14273,13 @@ const tM = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
14273
14273
  }, [r, o]), I = U((B) => {
14274
14274
  M(!1), j(B);
14275
14275
  }, [j]), F = me(null);
14276
- return /* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsxs(e, { withoutLabel: a, label: i ?? "", hidden: c, inputContainerClassName: ee({ "luminus-dropdown-select-open": C }), className: d, hint: g, disabled: l, children: [
14276
+ return /* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsxs(e, { withoutLabel: a, label: i ?? "", hidden: c, inputContainerClassName: Q({ "luminus-dropdown-select-open": C }), className: d, hint: g, disabled: l, children: [
14277
14277
  /* @__PURE__ */ v.jsx(tM, { currentSelection: D, selectedItemNavigateTo: _, children: /* @__PURE__ */ v.jsx(rM, { value: t, MiniDetailComponent: b, miniDetailPlacement: w, children: /* @__PURE__ */ v.jsxs(Pr.Select, { ref: F, size: s, value: t ?? "", onMouseDown: (B) => {
14278
14278
  B.currentTarget.focus(), B.preventDefault();
14279
14279
  }, onClick: () => {
14280
14280
  !l && M(!0);
14281
14281
  }, onChange: () => {
14282
- }, className: ee("w-100", {
14282
+ }, className: Q("w-100", {
14283
14283
  "luminus-dropdown-picker-disabled": l
14284
14284
  }), hidden: c, children: [
14285
14285
  h && !(t == null || t === "") ? void 0 : /* @__PURE__ */ v.jsx("option", { value: "" }),
@@ -14301,7 +14301,7 @@ function aM(e) {
14301
14301
  return Ze({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z" }, child: [] }] })(e);
14302
14302
  }
14303
14303
  const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, options: i, isNumber: a, size: o, showClearIcon: s, clearValue: c, noSortOptions: l, required: u, hidden: d, disabled: f, withoutLabel: h, hint: m, className: p }) => {
14304
- const { register: g, formState: y, getValues: x, setValue: b, watch: w } = kh(), _ = fp({ falseIfNotInit: !0 }), [T, C] = Oe(void 0), [M, O] = Oe(!1), k = Q(() => i.toSorted((S, E) => l ? 0 : (S.name ?? "").localeCompare(E.name ?? "")), [i, l]), $ = U(() => {
14304
+ const { register: g, formState: y, getValues: x, setValue: b, watch: w } = kh(), _ = fp({ falseIfNotInit: !0 }), [T, C] = Oe(void 0), [M, O] = Oe(!1), k = J(() => i.toSorted((S, E) => l ? 0 : (S.name ?? "").localeCompare(E.name ?? "")), [i, l]), $ = U(() => {
14305
14305
  const S = c ?? null;
14306
14306
  a ? b(t, S === null ? null : Number(S), {
14307
14307
  shouldDirty: !0,
@@ -14370,10 +14370,10 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14370
14370
  }) : M(n, (q == null ? void 0 : q.toString()) ?? "", { shouldDirty: !0, shouldValidate: S });
14371
14371
  }, [c, t, M, n, S]), I = U(() => {
14372
14372
  const q = n.split(".");
14373
- let J = C.errors;
14373
+ let ee = C.errors;
14374
14374
  q.forEach((Z) => {
14375
- J !== void 0 && (J = J[Z]);
14376
- }), D(J);
14375
+ ee !== void 0 && (ee = ee[Z]);
14376
+ }), D(ee);
14377
14377
  }, [C, n]);
14378
14378
  we(() => {
14379
14379
  I();
@@ -14388,8 +14388,8 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14388
14388
  }, ...T(n, {
14389
14389
  setValueAs: (q) => t === "number" ? q == null || q === "" ? null : Number(q) : q == null || q === "" ? null : q,
14390
14390
  onChange: (q) => {
14391
- var J;
14392
- o && o.forEach((Z) => M(Z, null, { shouldDirty: !0, shouldValidate: S })), w && w((J = q.target) != null && J.value ? t === "number" ? Number(q.target.value) ?? null : q.target.value.toString() : null);
14391
+ var ee;
14392
+ o && o.forEach((Z) => M(Z, null, { shouldDirty: !0, shouldValidate: S })), w && w((ee = q.target) != null && ee.value ? t === "number" ? Number(q.target.value) ?? null : q.target.value.toString() : null);
14393
14393
  },
14394
14394
  onBlur: () => W(!1)
14395
14395
  }), isInvalid: F, hidden: u, disabled: d || k, list: h, className: "w-100", step: m, minLength: y, maxLength: x }),
@@ -14402,7 +14402,7 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14402
14402
  item: oM
14403
14403
  }, Ro = ({ color: e = "primary", icon: t, className: n, children: r, ...i }) => {
14404
14404
  const { as: a, to: o, ...s } = i;
14405
- return /* @__PURE__ */ v.jsxs(Ho.Item, { className: ee(`btn luminus-dropdown-item text-nowrap rounded text-${e} ${n ?? ""}`, sM.item), as: a === "link" ? Cs : void 0, to: o ?? "", ...s, children: [
14405
+ return /* @__PURE__ */ v.jsxs(Ho.Item, { className: Q(`btn luminus-dropdown-item text-nowrap rounded text-${e} ${n ?? ""}`, sM.item), as: a === "link" ? Cs : void 0, to: o ?? "", ...s, children: [
14406
14406
  t,
14407
14407
  r
14408
14408
  ] });
@@ -14410,7 +14410,7 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14410
14410
  button: cM
14411
14411
  }, Dx = At.forwardRef(({ color: e = "primary", icon: t = /* @__PURE__ */ v.jsx(H1, { size: 21 }), text: n, onClick: r, className: i, children: a, ...o }, s) => /* @__PURE__ */ v.jsxs("button", { type: "button", ref: s, onClick: (c) => {
14412
14412
  c.preventDefault(), r(c);
14413
- }, "aria-label": "dropdown toggle", className: ee(`btn luminus-context-button text-${e} ${i ?? ""}`, lM.button), ...o, children: [
14413
+ }, "aria-label": "dropdown toggle", className: Q(`btn luminus-context-button text-${e} ${i ?? ""}`, lM.button), ...o, children: [
14414
14414
  t,
14415
14415
  n
14416
14416
  ] })), qte = At.forwardRef(({ userName: e, onClick: t, children: n }, r) => /* @__PURE__ */ v.jsxs("button", { type: "button", ref: r, onClick: (i) => {
@@ -14424,11 +14424,11 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14424
14424
  n
14425
14425
  ] })), Nx = (e) => /* @__PURE__ */ v.jsx(Ho.Toggle, { ...e }), uM = "_divider_1e6rk_1", dM = {
14426
14426
  divider: uM
14427
- }, fM = ({ className: e }) => /* @__PURE__ */ v.jsx(Ho.Divider, { className: ee("luminus-dropdown-divider", e, dM.divider) }), hM = "_dropdown_1lk66_1", pM = {
14427
+ }, fM = ({ className: e }) => /* @__PURE__ */ v.jsx(Ho.Divider, { className: Q("luminus-dropdown-divider", e, dM.divider) }), hM = "_dropdown_1lk66_1", pM = {
14428
14428
  dropdown: hM
14429
14429
  }, Lx = ({ toggle: e, children: t, align: n, ...r }) => /* @__PURE__ */ v.jsxs(Ho, { ...r, align: n, children: [
14430
14430
  e,
14431
- /* @__PURE__ */ v.jsx(Ho.Menu, { className: ee("luminus-dropdown rounded shadow", pM.dropdown), align: n, children: t })
14431
+ /* @__PURE__ */ v.jsx(Ho.Menu, { className: Q("luminus-dropdown rounded shadow", pM.dropdown), align: n, children: t })
14432
14432
  ] }), mM = "_wrapper_9omw0_1", gM = "_controls_9omw0_16", vM = "_explorerWindow_9omw0_20", yM = "_folderList_9omw0_28", bM = "_fileList_9omw0_35", xM = "_dndText_9omw0_61", si = {
14433
14433
  wrapper: mM,
14434
14434
  controls: gM,
@@ -14452,8 +14452,8 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14452
14452
  }, Fx = ({ isActive: e, isDefault: t, folderName: n, typeName: r }) => {
14453
14453
  const { ProjectIconComponent: i } = ce(Zt);
14454
14454
  return /* @__PURE__ */ v.jsxs("div", { className: "d-flex gap-2 align-items-center", children: [
14455
- /* @__PURE__ */ v.jsx(i, { icon: `folder${e ? "-filled" : ""}`, className: ee("d-inline-block", t ? ac.defaultFolder : "text-primary"), iconProps: { className: ac.folderIcon } }),
14456
- /* @__PURE__ */ v.jsxs("div", { className: ee("d-flex flex-column gap-0 align-items-start", ac.names), children: [
14455
+ /* @__PURE__ */ v.jsx(i, { icon: `folder${e ? "-filled" : ""}`, className: Q("d-inline-block", t ? ac.defaultFolder : "text-primary"), iconProps: { className: ac.folderIcon } }),
14456
+ /* @__PURE__ */ v.jsxs("div", { className: Q("d-flex flex-column gap-0 align-items-start", ac.names), children: [
14457
14457
  /* @__PURE__ */ v.jsx("span", { className: e ? "fw-bold" : "", children: n }),
14458
14458
  r ? /* @__PURE__ */ v.jsxs("span", { className: ac.folderType, children: [
14459
14459
  "(",
@@ -14466,7 +14466,7 @@ const mp = ({ InputContainer: e = ql, formField: t, label: n, resetsFields: r, o
14466
14466
  const { reducer: [t, n] } = ce(en), r = U(() => {
14467
14467
  n({ type: "select-folder", folderId: "root" });
14468
14468
  }, [n]);
14469
- return /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsx("button", { onClick: r, type: "button", className: ee("border-0 bg-transparent"), children: /* @__PURE__ */ v.jsx(Fx, { folderName: e ?? "root", isActive: t.activeFolder === "root", typeName: "", isDefault: !0 }) }) });
14469
+ return /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsx("button", { onClick: r, type: "button", className: Q("border-0 bg-transparent"), children: /* @__PURE__ */ v.jsx(Fx, { folderName: e ?? "root", isActive: t.activeFolder === "root", typeName: "", isDefault: !0 }) }) });
14470
14470
  };
14471
14471
  function OM(e) {
14472
14472
  if (e.state !== "openned-modal")
@@ -14626,7 +14626,7 @@ const MM = () => {
14626
14626
  ] }) })
14627
14627
  ] });
14628
14628
  }, PM = ({ handleClose: e }) => {
14629
- const { reducer: [t] } = ce(en), n = Q(() => {
14629
+ const { reducer: [t] } = ce(en), n = J(() => {
14630
14630
  if (t.markedFiles.length === 1)
14631
14631
  return t.constantFiles.find((r) => r.id === t.markedFiles[0]);
14632
14632
  }, [t.constantFiles, t.markedFiles]);
@@ -14634,7 +14634,7 @@ const MM = () => {
14634
14634
  }, IM = () => {
14635
14635
  const { reducer: [e, t] } = ce(en), n = U(() => {
14636
14636
  t({ type: "close-modal" });
14637
- }, [t]), r = Q(() => {
14637
+ }, [t]), r = J(() => {
14638
14638
  if (e.state !== "openned-modal")
14639
14639
  return null;
14640
14640
  switch (e.modalType) {
@@ -14718,14 +14718,14 @@ function Hx(e, t) {
14718
14718
  }
14719
14719
  const LM = () => {
14720
14720
  const { zString: e, zStringRequired: t, zNumberRequired: n } = dp();
14721
- return { formSchema: Q(() => sn.object({
14721
+ return { formSchema: J(() => sn.object({
14722
14722
  validTo: t(),
14723
14723
  description: e(),
14724
14724
  documentTypeId: n()
14725
14725
  }), [n, e, t]) };
14726
14726
  }, yp = ({ handleClose: e, files: t, targetFolderId: n }) => {
14727
14727
  var f;
14728
- const { texts: { documents: r } } = ce(Zt), { reducer: [i], apiActions: { uploadFiles: a } } = ce(en), o = Q(() => [...t], [t]), s = Q(() => n ?? i.activeFolder, [i.activeFolder, n]), c = Q(() => s === "root" ? void 0 : i.foldersMap.get(s), [s, i.foldersMap]), { formSchema: l } = LM(), u = Oh({
14728
+ const { texts: { documents: r } } = ce(Zt), { reducer: [i], apiActions: { uploadFiles: a } } = ce(en), o = J(() => [...t], [t]), s = J(() => n ?? i.activeFolder, [i.activeFolder, n]), c = J(() => s === "root" ? void 0 : i.foldersMap.get(s), [s, i.foldersMap]), { formSchema: l } = LM(), u = Oh({
14729
14729
  resolver: gp(l),
14730
14730
  defaultValues: {
14731
14731
  validTo: np((/* @__PURE__ */ new Date()).toISOString()),
@@ -14772,20 +14772,20 @@ const LM = () => {
14772
14772
  numberOfFiles: zM,
14773
14773
  collapseArrow: HM
14774
14774
  }, Vx = ({ dirId: e, writePermissions: t }) => {
14775
- const { ProjectIconComponent: n } = ce(Zt), { reducer: [r, i] } = ce(en), { getDropProps: a } = vp(), [o, s] = Oe(null), [c, l] = Oe(!0), u = Q(() => {
14775
+ const { ProjectIconComponent: n } = ce(Zt), { reducer: [r, i] } = ce(en), { getDropProps: a } = vp(), [o, s] = Oe(null), [c, l] = Oe(!0), u = J(() => {
14776
14776
  const p = r.foldersMap.get(e);
14777
14777
  if (p === void 0)
14778
14778
  throw new Error(`tried to get dir with id ${e}`);
14779
14779
  return p;
14780
14780
  }, [e, r.foldersMap]), d = U(() => {
14781
14781
  r.activeFolder !== "root" && zx(u, r.activeFolder, r.foldersMap) && i({ type: "select-folder", folderId: e }), l(!0);
14782
- }, [e, u, i, r.activeFolder, r.foldersMap]), f = Q(() => u.childrenIds.length > 0, [u.childrenIds.length]), h = U(() => {
14782
+ }, [e, u, i, r.activeFolder, r.foldersMap]), f = J(() => u.childrenIds.length > 0, [u.childrenIds.length]), h = U(() => {
14783
14783
  i({ type: "select-folder", folderId: e });
14784
- }, [e, i]), m = Q(() => r.filteredFiles.filter((p) => p.folderId === e && p.archive === !1).length, [e, r.filteredFiles]);
14784
+ }, [e, i]), m = J(() => r.filteredFiles.filter((p) => p.folderId === e && p.archive === !1).length, [e, r.filteredFiles]);
14785
14785
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
14786
14786
  /* @__PURE__ */ v.jsxs("li", { className: ci.folder, children: [
14787
14787
  /* @__PURE__ */ v.jsx("div", { className: ci.collapseArrowDiv, children: f ? c ? /* @__PURE__ */ v.jsx("button", { onClick: () => l(!1), type: "button", children: /* @__PURE__ */ v.jsx(n, { icon: "chevron-right", iconProps: { className: ci.collapseArrow } }) }) : /* @__PURE__ */ v.jsx("button", { onClick: d, type: "button", children: /* @__PURE__ */ v.jsx(n, { icon: "chevron-down", iconProps: { className: ci.collapseArrow } }) }) : null }),
14788
- /* @__PURE__ */ v.jsx("button", { className: ee(ci.button), onClick: h, type: "button", ...t && !u.onlyRead ? a(e, { onFilesDrop: (p) => s(p) }) : {}, children: /* @__PURE__ */ v.jsxs("div", { className: "d-flex align-items-center gap-2", children: [
14788
+ /* @__PURE__ */ v.jsx("button", { className: Q(ci.button), onClick: h, type: "button", ...t && !u.onlyRead ? a(e, { onFilesDrop: (p) => s(p) }) : {}, children: /* @__PURE__ */ v.jsxs("div", { className: "d-flex align-items-center gap-2", children: [
14789
14789
  /* @__PURE__ */ v.jsx(Fx, { isDefault: u.isDefault, folderName: u.name, typeName: u.defaultDocType ?? "", isActive: e === r.activeFolder }),
14790
14790
  m > 0 ? /* @__PURE__ */ v.jsxs("span", { className: ci.numberOfFiles, children: [
14791
14791
  "[",
@@ -14824,23 +14824,23 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
14824
14824
  case "JPEG":
14825
14825
  case "BMP":
14826
14826
  case "PNG":
14827
- return /* @__PURE__ */ v.jsx("span", { className: ee(t, sc.image), children: /* @__PURE__ */ v.jsx(GM, { ...n }) });
14827
+ return /* @__PURE__ */ v.jsx("span", { className: Q(t, sc.image), children: /* @__PURE__ */ v.jsx(GM, { ...n }) });
14828
14828
  case "XLS":
14829
14829
  case "XLSX":
14830
14830
  case "CSV":
14831
- return /* @__PURE__ */ v.jsx(ZM, { className: ee(t, sc.excel), ...n });
14831
+ return /* @__PURE__ */ v.jsx(ZM, { className: Q(t, sc.excel), ...n });
14832
14832
  case "DOC":
14833
14833
  case "DOCM":
14834
14834
  case "DOCX":
14835
- return /* @__PURE__ */ v.jsx(KM, { className: ee(t, sc.word), ...n });
14835
+ return /* @__PURE__ */ v.jsx(KM, { className: Q(t, sc.word), ...n });
14836
14836
  case "PDF":
14837
- return /* @__PURE__ */ v.jsx(aM, { className: ee(t, sc.pdf), ...n });
14837
+ return /* @__PURE__ */ v.jsx(aM, { className: Q(t, sc.pdf), ...n });
14838
14838
  default:
14839
14839
  return /* @__PURE__ */ v.jsx(YM, {});
14840
14840
  }
14841
14841
  }, n8 = () => {
14842
- const { ProjectIconComponent: e, texts: { documents: t } } = ce(Zt), { apiActions: { downloadFile: n }, reducer: [r] } = ce(en), i = Q(() => r.activeFolder === "root", [r.activeFolder]);
14843
- return { columns: Q(() => [
14842
+ const { ProjectIconComponent: e, texts: { documents: t } } = ce(Zt), { apiActions: { downloadFile: n }, reducer: [r] } = ce(en), i = J(() => r.activeFolder === "root", [r.activeFolder]);
14843
+ return { columns: J(() => [
14844
14844
  {
14845
14845
  fieldName: "id",
14846
14846
  caption: "id",
@@ -14934,16 +14934,16 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
14934
14934
  }, r8 = ({ BnfTableComponent: e, tableIdentifier: t, writePermissions: n }) => {
14935
14935
  const { reducer: [r, i] } = ce(en), { columns: a } = n8(), o = U((h) => {
14936
14936
  i({ type: "mark-files-by-action", setStateAction: h });
14937
- }, [i]), s = Q(() => r.activeFolder === "root", [r.activeFolder]), c = Q(() => {
14937
+ }, [i]), s = J(() => r.activeFolder === "root", [r.activeFolder]), c = J(() => {
14938
14938
  var h;
14939
14939
  return r.activeFolder === "root" ? !1 : ((h = r.foldersMap.get(r.activeFolder)) == null ? void 0 : h.onlyRead) ?? !1;
14940
- }, [r.activeFolder, r.foldersMap]), l = Q(() => ({
14940
+ }, [r.activeFolder, r.foldersMap]), l = J(() => ({
14941
14941
  enabled: n && !s,
14942
14942
  idField: "id",
14943
14943
  selectedRows: r.markedFiles,
14944
14944
  setSelectedRows: o
14945
- }), [s, o, r.markedFiles, n]), u = Q(() => r.activeFolder === "root" ? r.filteredFiles : r.filteredFiles.filter((h) => h.folderId === r.activeFolder), [r.activeFolder, r.filteredFiles]), { getDraggableProps: d } = vp(), f = U((h) => n === !1 || c ? {} : d(h.id), [d, c, n]);
14946
- return /* @__PURE__ */ v.jsx("div", { className: ee(qx.wrapper), children: /* @__PURE__ */ v.jsx(e, { data: u, columnsDef: a, rowSelection: l, useScrollableContainer: !0, getRowProps: f, defaultConfig: {
14945
+ }), [s, o, r.markedFiles, n]), u = J(() => r.activeFolder === "root" ? r.filteredFiles : r.filteredFiles.filter((h) => h.folderId === r.activeFolder), [r.activeFolder, r.filteredFiles]), { getDraggableProps: d } = vp(), f = U((h) => n === !1 || c ? {} : d(h.id), [d, c, n]);
14946
+ return /* @__PURE__ */ v.jsx("div", { className: Q(qx.wrapper), children: /* @__PURE__ */ v.jsx(e, { data: u, columnsDef: a, rowSelection: l, useScrollableContainer: !0, getRowProps: f, defaultConfig: {
14947
14947
  defaultFilters: [{ id: "archive", value: "false" }]
14948
14948
  }, tableId: t, searchStatePrefix: "docs", useSearchState: !0, hideBottomBar: !0 }, r.activeFolder) });
14949
14949
  }, i8 = "_wrapper_1q562_1", a8 = "_divButtons_1q562_10", Ed = {
@@ -14958,15 +14958,15 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
14958
14958
  (((h = f.target.files) == null ? void 0 : h.length) ?? 0) > 0 && o(f.target.files);
14959
14959
  }, l = U(() => {
14960
14960
  o(null), i.current && (i.current.value = "");
14961
- }, []), u = Q(() => `documents-upload-${t}-${e}`, [e, t]), d = Q(() => r || s.activeFolder === "root", [r, s.activeFolder]);
14961
+ }, []), u = J(() => `documents-upload-${t}-${e}`, [e, t]), d = J(() => r || s.activeFolder === "root", [r, s.activeFolder]);
14962
14962
  return /* @__PURE__ */ v.jsxs("div", { className: y0.wrapper, children: [
14963
- /* @__PURE__ */ v.jsx("label", { htmlFor: u, className: ee("btn btn-context luminus-context-button", d ? "disabled" : void 0), children: n }),
14963
+ /* @__PURE__ */ v.jsx("label", { htmlFor: u, className: Q("btn btn-context luminus-context-button", d ? "disabled" : void 0), children: n }),
14964
14964
  /* @__PURE__ */ v.jsx("input", { id: u, type: "file", multiple: !0, onChange: c, className: y0.fileInput, ref: i, disabled: d }),
14965
14965
  a !== null ? /* @__PURE__ */ v.jsx(yp, { handleClose: l, files: a }) : void 0
14966
14966
  ] });
14967
14967
  }, er = ({ children: e, onClick: t, className: n, disabled: r = !1 }) => /* @__PURE__ */ v.jsx(hp, { onClick: t, className: n, disabled: r, children: e }), l8 = ({ className: e, entityId: t, entityType: n }) => {
14968
14968
  var C, M;
14969
- const { texts: { documents: r } } = ce(Zt), { prompt: i } = b6(), { confirm: a } = wx(), { apiActions: o, reducer: [s, c] } = ce(en), { deleteFiles: l, renameFiles: u, downloadAsZip: d, archivateFiles: f, deleteDirectory: h } = o, { renameFolder: m } = Bx(), p = Q(() => s.markedFiles.length === 0, [s.markedFiles.length]), g = Q(() => s.markedFiles.length === 1, [s.markedFiles.length]), y = U(async () => {
14969
+ const { texts: { documents: r } } = ce(Zt), { prompt: i } = b6(), { confirm: a } = wx(), { apiActions: o, reducer: [s, c] } = ce(en), { deleteFiles: l, renameFiles: u, downloadAsZip: d, archivateFiles: f, deleteDirectory: h } = o, { renameFolder: m } = Bx(), p = J(() => s.markedFiles.length === 0, [s.markedFiles.length]), g = J(() => s.markedFiles.length === 1, [s.markedFiles.length]), y = U(async () => {
14970
14970
  if (s.activeFolder === "root")
14971
14971
  return;
14972
14972
  const O = await i(r.enterNewFolderName, {
@@ -14980,17 +14980,17 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
14980
14980
  input: "input"
14981
14981
  });
14982
14982
  O !== null && u(O);
14983
- }, [r.enterNewFileName, i, u, s.activeFolder]), b = Q(() => s.activeFolder === "root", [s.activeFolder]), w = Q(() => {
14983
+ }, [r.enterNewFileName, i, u, s.activeFolder]), b = J(() => s.activeFolder === "root", [s.activeFolder]), w = J(() => {
14984
14984
  var O;
14985
14985
  return s.activeFolder === "root" ? !1 : ((O = s.foldersMap.get(s.activeFolder)) == null ? void 0 : O.onlyRead) ?? !1;
14986
- }, [s.activeFolder, s.foldersMap]), _ = Q(() => s.markedFiles.every((O) => {
14986
+ }, [s.activeFolder, s.foldersMap]), _ = J(() => s.markedFiles.every((O) => {
14987
14987
  var k;
14988
14988
  return ((k = s.constantFiles.find(($) => $.id === O)) == null ? void 0 : k.archive) === !1;
14989
- }), [s.constantFiles, s.markedFiles]), T = Q(() => s.markedFiles.every((O) => {
14989
+ }), [s.constantFiles, s.markedFiles]), T = J(() => s.markedFiles.every((O) => {
14990
14990
  var k;
14991
14991
  return ((k = s.constantFiles.find(($) => $.id === O)) == null ? void 0 : k.archive) === !0;
14992
14992
  }), [s.constantFiles, s.markedFiles]);
14993
- return /* @__PURE__ */ v.jsx("div", { className: ee(e, Ed.wrapper, s.state === "folder-choosing" ? "ignore-dim" : void 0, "d-flex justify-content-between"), children: s.state !== "folder-choosing" ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
14993
+ return /* @__PURE__ */ v.jsx("div", { className: Q(e, Ed.wrapper, s.state === "folder-choosing" ? "ignore-dim" : void 0, "d-flex justify-content-between"), children: s.state !== "folder-choosing" ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
14994
14994
  /* @__PURE__ */ v.jsxs("div", { className: Ed.divButtons, children: [
14995
14995
  /* @__PURE__ */ v.jsx(c8, { entityId: t, entityType: n, disabled: w, children: r.uploadFiles }),
14996
14996
  /* @__PURE__ */ v.jsx(er, { onClick: () => {
@@ -15024,7 +15024,7 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
15024
15024
  /* @__PURE__ */ v.jsx(er, { onClick: x, disabled: p, children: r.rename }),
15025
15025
  /* @__PURE__ */ v.jsx(er, { onClick: d, disabled: p, children: r.downloadZip })
15026
15026
  ] }) : null
15027
- ] }) : s.state === "folder-choosing" ? /* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsx(er, { onClick: () => c({ type: "return-from-folder-choosing" }), className: ee("ignore-dim", "body-background-color"), children: r.back }) }) : void 0 });
15027
+ ] }) : s.state === "folder-choosing" ? /* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsx(er, { onClick: () => c({ type: "return-from-folder-choosing" }), className: Q("ignore-dim", "body-background-color"), children: r.back }) }) : void 0 });
15028
15028
  }, u8 = ({ file: e }) => {
15029
15029
  const { confirm: t } = wx(), { reducer: [n], apiActions: { downloadFile: r } } = ce(en), { texts: { documents: i } } = ce(Zt), a = U(async () => {
15030
15030
  await t(i.confirmFileDownload(e.name, e.size == null ? void 0 : Vo(e.size * 1024 * 1024))) && r(e.id);
@@ -15039,7 +15039,7 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
15039
15039
  }, d8 = "_typeSelect_m3myk_1", f8 = {
15040
15040
  typeSelect: d8
15041
15041
  }, h8 = () => {
15042
- const { reducer: [e] } = ce(en), { texts: { documents: t } } = ce(Zt), [n, r] = Oe(""), [i, a] = Oe(null), o = Q(() => {
15042
+ const { reducer: [e] } = ce(en), { texts: { documents: t } } = ce(Zt), [n, r] = Oe(""), [i, a] = Oe(null), o = J(() => {
15043
15043
  const c = /* @__PURE__ */ new Map();
15044
15044
  return e.filteredFiles.forEach((u) => {
15045
15045
  c.get(u.documentTypeId) === void 0 && c.set(u.documentTypeId, u.documentTypeName);
@@ -15047,7 +15047,7 @@ const XM = "_excel_18ggp_1", QM = "_word_18ggp_5", JM = "_pdf_18ggp_9", e8 = "_i
15047
15047
  { id: null, name: t.all },
15048
15048
  ...Array.from(c).map((u) => ({ id: u[0], name: u[1] }))
15049
15049
  ];
15050
- }, [t.all, e.filteredFiles]), s = Q(() => e.filteredFiles.filter((c) => K1(c.name, n) && (i === null || c.documentTypeId === i)), [n, i, e.filteredFiles]);
15050
+ }, [t.all, e.filteredFiles]), s = J(() => e.filteredFiles.filter((c) => K1(c.name, n) && (i === null || c.documentTypeId === i)), [n, i, e.filteredFiles]);
15051
15051
  return /* @__PURE__ */ v.jsxs("div", { className: "d-flex h-100 flex-column", children: [
15052
15052
  /* @__PURE__ */ v.jsxs("div", { className: "d-flex gap-1 mb-1", children: [
15053
15053
  /* @__PURE__ */ v.jsx(iM, { options: o, label: t.documentType, value: i, onChange: a, isNumber: !0, size: "sm", className: f8.typeSelect }),
@@ -15454,23 +15454,23 @@ const v8 = ([e, t], n, r) => {
15454
15454
  }, [t, n] = ab(y8, e);
15455
15455
  return [t, n];
15456
15456
  }, Yte = vt(({ entityType: e, entityId: t, className: n, BnfTableComponent: r, tableIdentifier: i, customRootFolderName: a, writePermissions: o = !0, ...s }) => {
15457
- const { isMobile: c } = Hl(), { ProjectIconComponent: l, texts: { documents: u } } = ce(Zt), [d, f] = b8(), [h, m] = Oe(null), { loadDocuments: p, ...g } = v8([d, f], e, t), y = Q(() => ({
15457
+ const { isMobile: c } = Hl(), { ProjectIconComponent: l, texts: { documents: u } } = ce(Zt), [d, f] = b8(), [h, m] = Oe(null), { loadDocuments: p, ...g } = v8([d, f], e, t), y = J(() => ({
15458
15458
  entityId: t,
15459
15459
  entityType: e,
15460
15460
  apiActions: g,
15461
15461
  loadDocuments: p,
15462
15462
  reducer: [d, f]
15463
15463
  }), [t, e, g, p, d, f]), { getDropProps: x } = vp();
15464
- return c ? /* @__PURE__ */ v.jsx(en.Provider, { value: y, children: /* @__PURE__ */ v.jsx(h8, {}) }) : /* @__PURE__ */ v.jsx("div", { ...s, className: ee(si.wrapper, n), onDragOver: (b) => {
15464
+ return c ? /* @__PURE__ */ v.jsx(en.Provider, { value: y, children: /* @__PURE__ */ v.jsx(h8, {}) }) : /* @__PURE__ */ v.jsx("div", { ...s, className: Q(si.wrapper, n), onDragOver: (b) => {
15465
15465
  b.dataTransfer.dropEffect = "none", b.stopPropagation(), b.preventDefault();
15466
15466
  }, onDragEnter: (b) => {
15467
15467
  b.dataTransfer.dropEffect = "none", b.stopPropagation(), b.preventDefault();
15468
15468
  }, children: /* @__PURE__ */ v.jsxs(en.Provider, { value: y, children: [
15469
- /* @__PURE__ */ v.jsx("div", { className: ee(d.state === "folder-choosing" ? "dim-others" : void 0, si.explorerWindow), children: /* @__PURE__ */ v.jsxs("ul", { className: si.folderList, children: [
15469
+ /* @__PURE__ */ v.jsx("div", { className: Q(d.state === "folder-choosing" ? "dim-others" : void 0, si.explorerWindow), children: /* @__PURE__ */ v.jsxs("ul", { className: si.folderList, children: [
15470
15470
  /* @__PURE__ */ v.jsx(kM, { customText: a ?? e }),
15471
15471
  d.rootFolderIds.map((b) => /* @__PURE__ */ v.jsx(Vx, { dirId: b, writePermissions: o }, b))
15472
15472
  ] }) }),
15473
- /* @__PURE__ */ v.jsxs("div", { className: ee(si.explorerWindow, si.fileList), ...o && NM(d) ? x(d.activeFolder, {
15473
+ /* @__PURE__ */ v.jsxs("div", { className: Q(si.explorerWindow, si.fileList), ...o && NM(d) ? x(d.activeFolder, {
15474
15474
  onFilesDrop: (b) => m(b),
15475
15475
  ignoreInner: !0
15476
15476
  }) : {}, children: [
@@ -15628,20 +15628,20 @@ const M8 = "_side-content-bar_1w605_1", A8 = "_mobile_1w605_13", R8 = "_expanded
15628
15628
  delta: 100
15629
15629
  });
15630
15630
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
15631
- /* @__PURE__ */ v.jsx("section", { className: ee("luminus-side-content-bar shadow", ia.sideContentBar, {
15631
+ /* @__PURE__ */ v.jsx("section", { className: Q("luminus-side-content-bar shadow", ia.sideContentBar, {
15632
15632
  [ia.mobile]: a
15633
15633
  }, {
15634
15634
  [ia.expanded]: n
15635
15635
  }), style: {
15636
15636
  width: `${e}px`
15637
15637
  }, ...o, children: t }),
15638
- a ? /* @__PURE__ */ v.jsx("div", { role: "button", onClick: () => r(!n), className: ee(ia.expander, { [ia.expanded]: n }, "luminus-side-content-bar-expander", "shadow"), children: /* @__PURE__ */ v.jsx(i, { className: ia.icon, icon: "chevron-left" }) }) : null
15638
+ a ? /* @__PURE__ */ v.jsx("div", { role: "button", onClick: () => r(!n), className: Q(ia.expander, { [ia.expanded]: n }, "luminus-side-content-bar-expander", "shadow"), children: /* @__PURE__ */ v.jsx(i, { className: ia.icon, icon: "chevron-left" }) }) : null
15639
15639
  ] });
15640
15640
  }, D8 = ({ title: e }) => /* @__PURE__ */ v.jsx("div", { className: "mb-3", children: typeof e == "string" ? /* @__PURE__ */ v.jsx(kn, { variant: "h3", children: e }) : e }), N8 = "_full-screen-container_1rm4r_1", Gx = {
15641
15641
  "full-screen-container": "_full-screen-container_1rm4r_1",
15642
15642
  fullScreenContainer: N8
15643
- }, L8 = ee("overflow-hidden luminus-full-screen-container", Gx.fullScreenContainer), F8 = "container-fluid", Gte = ({ title: e, children: t, sideContent: n, sideContentWidth: r = 250, noPadding: i, className: a, variant: o = "main", helmet: s, unavailableOnMobile: c }) => {
15644
- const { addHelmet: l, removeHelmet: u } = ce(EE), { texts: { container: d } } = ce(Zt), [f, h] = Oe(!1), m = Q(() => {
15643
+ }, L8 = Q("overflow-hidden luminus-full-screen-container", Gx.fullScreenContainer), F8 = "container-fluid", Gte = ({ title: e, children: t, sideContent: n, sideContentWidth: r = 250, noPadding: i, className: a, variant: o = "main", helmet: s, unavailableOnMobile: c }) => {
15644
+ const { addHelmet: l, removeHelmet: u } = ce(EE), { texts: { container: d } } = ce(Zt), [f, h] = Oe(!1), m = J(() => {
15645
15645
  switch (o) {
15646
15646
  case "fullScreen":
15647
15647
  return L8;
@@ -15657,9 +15657,9 @@ const M8 = "_side-content-bar_1w605_1", A8 = "_mobile_1w605_13", R8 = "_expanded
15657
15657
  x.velocity > 0.8 && h(!0);
15658
15658
  },
15659
15659
  delta: 100
15660
- }), { isMobile: g } = Hl(), y = Q(() => g && c, [g, c]);
15660
+ }), { isMobile: g } = Hl(), y = J(() => g && c, [g, c]);
15661
15661
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
15662
- /* @__PURE__ */ v.jsx("div", { className: ee(m, i ? "p-0" : "p-3", a), style: o === "fullScreen" ? { width: n ? `calc(100% - ${r}px)` : "100%" } : void 0, ...p, children: /* @__PURE__ */ v.jsx("div", { className: o === "fullScreen" ? Gx.fullScreenContainer : void 0, style: o === "main" ? { paddingRight: n ? `${r}px` : void 0 } : { height: "100%", width: "100%" }, children: y ? /* @__PURE__ */ v.jsx(r2, { variant: "warning", children: d.unavailableOnMobile }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
15662
+ /* @__PURE__ */ v.jsx("div", { className: Q(m, i ? "p-0" : "p-3", a), style: o === "fullScreen" ? { width: n ? `calc(100% - ${r}px)` : "100%" } : void 0, ...p, children: /* @__PURE__ */ v.jsx("div", { className: o === "fullScreen" ? Gx.fullScreenContainer : void 0, style: o === "main" ? { paddingRight: n ? `${r}px` : void 0 } : { height: "100%", width: "100%" }, children: y ? /* @__PURE__ */ v.jsx(r2, { variant: "warning", children: d.unavailableOnMobile }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
15663
15663
  e ? /* @__PURE__ */ v.jsx(D8, { title: e }) : null,
15664
15664
  t
15665
15665
  ] }) }) }),
@@ -15951,13 +15951,13 @@ const e2 = (e) => {
15951
15951
  const a = (s) => {
15952
15952
  const { hideOn: c, children: l, cKey: u, to: d, ...f } = s.props;
15953
15953
  if (c === "always" || m7.indexOf(c) >= t)
15954
- i && r.length > 0 && r.push(i), i = null, d != null ? r.push(/* @__PURE__ */ v.jsx(Ro, { ...f, as: "link", to: d, children: l }, u)) : r.push(/* @__PURE__ */ v.jsx(Ro, { ...f, as: void 0, children: l }, u));
15954
+ i && r.length > 0 && r.push(i), i = null, d != null ? r.push(/* @__PURE__ */ v.jsx(Ro, { ...f, as: "link", to: d, className: Q(f.disabled ? "disabled" : void 0, f.className), children: l }, u)) : r.push(/* @__PURE__ */ v.jsx(Ro, { ...f, as: void 0, children: l }, u));
15955
15955
  else {
15956
15956
  const h = d != null ? {
15957
15957
  as: "link",
15958
15958
  href: d
15959
15959
  } : {};
15960
- n.push(/* @__PURE__ */ v.jsx(hp, { ...f, ...h, children: s.props.children }, u));
15960
+ n.push(/* @__PURE__ */ v.jsx(hp, { ...f, ...h, className: Q(f.disabled ? "disabled" : void 0, f.className), children: s.props.children }, u));
15961
15961
  }
15962
15962
  };
15963
15963
  return e2(e).forEach((s) => {
@@ -15987,7 +15987,7 @@ function b7(e, t, n) {
15987
15987
  d.current = !1;
15988
15988
  };
15989
15989
  }, []);
15990
- var b = Q(function() {
15990
+ var b = J(function() {
15991
15991
  var w = function(k) {
15992
15992
  var $ = s.current, D = c.current;
15993
15993
  return s.current = c.current = null, a.current = k, l.current = u.current.apply(D, $);
@@ -16040,8 +16040,8 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16040
16040
  "feedback-spacer": "_feedback-spacer_esh1j_8",
16041
16041
  feedbackSpacer: T7
16042
16042
  }, _p = ({ message: e }) => /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
16043
- /* @__PURE__ */ v.jsx("div", { className: ee("invalid-feedback luminus-invalid-feedback", C0.feedback), children: e }),
16044
- /* @__PURE__ */ v.jsx("div", { className: ee("invalid-feedback-spacer", C0.feedbackSpacer), children: e })
16043
+ /* @__PURE__ */ v.jsx("div", { className: Q("invalid-feedback luminus-invalid-feedback", C0.feedback), children: e }),
16044
+ /* @__PURE__ */ v.jsx("div", { className: Q("invalid-feedback-spacer", C0.feedbackSpacer), children: e })
16045
16045
  ] }), S7 = "_wrapper_1mvyk_1", k7 = "_open_1mvyk_9", O7 = "_dropdown_1mvyk_13", $7 = "_search-input-container_1mvyk_19", C7 = "_search-input_1mvyk_19", E7 = "_loading-container_1mvyk_25", M7 = "_items-container_1mvyk_32", A7 = "_header-row_1mvyk_38", R7 = "_name_1mvyk_49", j7 = "_item_1mvyk_32", P7 = "_column-item_1mvyk_65", I7 = "_icon_1mvyk_69", D7 = "_action-buttons-container_1mvyk_89", N7 = "_reverse_1mvyk_97", L7 = "_action-button_1mvyk_89", F7 = "_actions-dropdown_1mvyk_110", nn = {
16046
16046
  wrapper: S7,
16047
16047
  open: k7,
@@ -16070,7 +16070,7 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16070
16070
  actionsDropdown: F7
16071
16071
  }, B7 = ({ show: e, onCancel: t, items: n, suggestedItems: r, suggestedItemsTitle: i, currentSelection: a, onSelectionChange: o, onSearchQueryChange: s, texts: c, itemsNameWidth: l, additionalColumns: u, displayIdAsName: d = !1, autoHideSearch: f = !1, allItemsLength: h, disabled: m, isLoading: p = !1, inputRef: g, archiveColumn: y = "archive", addNewOptionPath: x, refreshOptions: b }) => {
16072
16072
  var Qe;
16073
- const { texts: { customSelect: w } } = ce(Zt), _ = me(null), T = me(null), C = me(null), M = me(null), O = me(null), [k, $] = Oe(""), [D] = _7(k, 500), [, S] = Oe(!1), { copyToClipboard: E } = $E(), j = (Qe = g.current) == null ? void 0 : Qe.getBoundingClientRect(), I = (j == null ? void 0 : j.x) ?? 0, F = ((j == null ? void 0 : j.x) ?? 0) + ((j == null ? void 0 : j.width) ?? 0), B = (j == null ? void 0 : j.y) ?? 0, W = ((j == null ? void 0 : j.y) ?? 0) + ((j == null ? void 0 : j.height) ?? 0), N = (j == null ? void 0 : j.width) ?? 0, H = (j == null ? void 0 : j.height) ?? 0, q = 5, { isMobile: J } = Hl(), Z = 8, te = Q(() => I ? I > window.innerWidth / 2 - Z : !1, [I]), Y = Q(() => B ? B > window.innerHeight / 2 - Z : !1, [B]);
16073
+ const { texts: { customSelect: w } } = ce(Zt), _ = me(null), T = me(null), C = me(null), M = me(null), O = me(null), [k, $] = Oe(""), [D] = _7(k, 500), [, S] = Oe(!1), { copyToClipboard: E } = $E(), j = (Qe = g.current) == null ? void 0 : Qe.getBoundingClientRect(), I = (j == null ? void 0 : j.x) ?? 0, F = ((j == null ? void 0 : j.x) ?? 0) + ((j == null ? void 0 : j.width) ?? 0), B = (j == null ? void 0 : j.y) ?? 0, W = ((j == null ? void 0 : j.y) ?? 0) + ((j == null ? void 0 : j.height) ?? 0), N = (j == null ? void 0 : j.width) ?? 0, H = (j == null ? void 0 : j.height) ?? 0, q = 5, { isMobile: ee } = Hl(), Z = 8, te = J(() => I ? I > window.innerWidth / 2 - Z : !1, [I]), Y = J(() => B ? B > window.innerHeight / 2 - Z : !1, [B]);
16074
16074
  we(() => {
16075
16075
  var he;
16076
16076
  e && ((he = C.current) == null || he.focus());
@@ -16083,7 +16083,7 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16083
16083
  we(() => {
16084
16084
  e && n.length > 0 ? z(0) : z(null);
16085
16085
  }, [n, e]);
16086
- const L = Q(() => X !== null ? n.at(X) ?? null : null, [X, n]), V = U((he, Me) => {
16086
+ const L = J(() => X !== null ? n.at(X) ?? null : null, [X, n]), V = U((he, Me) => {
16087
16087
  var xe, Be;
16088
16088
  const Re = document.getElementById(`item-${he}`);
16089
16089
  if (Re) {
@@ -16127,20 +16127,20 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16127
16127
  }), [le]), we(() => (window.addEventListener("resize", le), () => {
16128
16128
  window.removeEventListener("resize", le);
16129
16129
  }), [le]), OE(A), kE([_, T, O], t);
16130
- const ue = l ?? (u && u.length > 0 ? 250 : 0), fe = (u == null ? void 0 : u.reduce((he, Me) => he + (Me.width ?? 100), 0)) ?? 0, $e = Q(() => (a && e && !m) ?? !1, [a, e, m]), Ee = Q(() => (a && e) ?? !1, [a, e]), ut = Q(() => e && (Ee || x !== void 0 || b !== void 0), [e, Ee, x, b]), ot = 32, Ve = J ? `calc(100vw - ${ot}px)` : `calc(max(${N}px, calc(${ue}px + ${fe}px)))`, tt = Q(() => (k.length < 1 && r && r.length > 0 ? r : n).map((he) => {
16130
+ const ue = l ?? (u && u.length > 0 ? 250 : 0), fe = (u == null ? void 0 : u.reduce((he, Me) => he + (Me.width ?? 100), 0)) ?? 0, $e = J(() => (a && e && !m) ?? !1, [a, e, m]), Ee = J(() => (a && e) ?? !1, [a, e]), ut = J(() => e && (Ee || x !== void 0 || b !== void 0), [e, Ee, x, b]), ot = 32, Ve = ee ? `calc(100vw - ${ot}px)` : `calc(max(${N}px, calc(${ue}px + ${fe}px)))`, tt = J(() => (k.length < 1 && r && r.length > 0 ? r : n).map((he) => {
16131
16131
  var Me, Re;
16132
16132
  return d ? ((Me = he.id) == null ? void 0 : Me.toString()) ?? "" : ((Re = he.name) == null ? void 0 : Re.toString()) ?? "";
16133
16133
  }).reduce((he, Me) => he.length > Me.length ? he : Me, ""), [k, r, n, d]);
16134
16134
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
16135
16135
  /* @__PURE__ */ v.jsx(z7, { show: e, onClick: t }),
16136
- /* @__PURE__ */ v.jsxs("div", { className: ee("luminus-dropdown-picker-actions", nn.actionButtonsContainer, {
16136
+ /* @__PURE__ */ v.jsxs("div", { className: Q("luminus-dropdown-picker-actions", nn.actionButtonsContainer, {
16137
16137
  [nn.reverse]: te
16138
16138
  }), style: {
16139
16139
  top: `calc(${B}px + ${H / 2}px - 12px)`,
16140
16140
  left: te ? $e && Ee ? `calc(${I}px - 24px - 8px - 24px - 4px)` : `calc(${I}px - 24px - 8px)` : `calc(${F}px + 8px)`
16141
16141
  }, children: [
16142
- $e && /* @__PURE__ */ v.jsx("button", { ref: T, type: "button", className: ee("luminus-dropdown-picker-clear-button", nn.actionButton), onClick: () => !m && o(null), children: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: "text-danger", children: /* @__PURE__ */ v.jsx(c6, { size: 16 }) }) }),
16143
- ut ? /* @__PURE__ */ v.jsx("div", { ref: O, children: /* @__PURE__ */ v.jsxs(Lx, { toggle: /* @__PURE__ */ v.jsx(Nx, { as: Dx, className: ee("luminus-dropdown-picker-actions-dropdown", nn.actionsDropdown), icon: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ v.jsx(H1, { size: 16 }) }) }), children: [
16142
+ $e && /* @__PURE__ */ v.jsx("button", { ref: T, type: "button", className: Q("luminus-dropdown-picker-clear-button", nn.actionButton), onClick: () => !m && o(null), children: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: "text-danger", children: /* @__PURE__ */ v.jsx(c6, { size: 16 }) }) }),
16143
+ ut ? /* @__PURE__ */ v.jsx("div", { ref: O, children: /* @__PURE__ */ v.jsxs(Lx, { toggle: /* @__PURE__ */ v.jsx(Nx, { as: Dx, className: Q("luminus-dropdown-picker-actions-dropdown", nn.actionsDropdown), icon: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ v.jsx(H1, { size: 16 }) }) }), children: [
16144
16144
  Ee ? /* @__PURE__ */ v.jsx(Ro, { icon: /* @__PURE__ */ v.jsx(h6, {}), onClick: () => {
16145
16145
  var he, Me;
16146
16146
  E(d ? ((he = a == null ? void 0 : a.id) == null ? void 0 : he.toString()) ?? "" : ((Me = a == null ? void 0 : a.name) == null ? void 0 : Me.toString()) ?? "");
@@ -16154,22 +16154,22 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16154
16154
  }, children: w.refreshOptions }) : null
16155
16155
  ] }) }) : null
16156
16156
  ] }),
16157
- /* @__PURE__ */ v.jsx("div", { className: ee("luminus-dropdown-picker", nn.wrapper, {
16157
+ /* @__PURE__ */ v.jsx("div", { className: Q("luminus-dropdown-picker", nn.wrapper, {
16158
16158
  [nn.open]: e
16159
16159
  }), style: {
16160
16160
  top: Y ? `calc(${B}px - 50vh - 8px)` : `calc(${W}px + 8px)`,
16161
- left: J ? `${ot / 2}px` : te ? `calc(${F}px - ${Ve})` : I,
16162
- right: J ? `${ot / 2}px` : te ? `${F}px` : `calc(${I}px + ${Ve})`,
16161
+ left: ee ? `${ot / 2}px` : te ? `calc(${F}px - ${Ve})` : I,
16162
+ right: ee ? `${ot / 2}px` : te ? `${F}px` : `calc(${I}px + ${Ve})`,
16163
16163
  width: Ve,
16164
16164
  justifyContent: Y ? "flex-end" : "flex-start"
16165
- }, children: /* @__PURE__ */ v.jsx("div", { ref: _, className: ee("shadow rounded", nn.dropdown), children: !m && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
16166
- !s || f && (h ?? n.length) <= q ? null : /* @__PURE__ */ v.jsx("div", { className: ee("search-input-container border-bottom", nn.searchInputContainer), children: /* @__PURE__ */ v.jsx(Pr.Control, { ref: C, type: "search", size: "sm", className: nn.searchInput, placeholder: c.searchPlaceholder, value: k, onChange: (he) => {
16165
+ }, children: /* @__PURE__ */ v.jsx("div", { ref: _, className: Q("shadow rounded", nn.dropdown), children: !m && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
16166
+ !s || f && (h ?? n.length) <= q ? null : /* @__PURE__ */ v.jsx("div", { className: Q("search-input-container border-bottom", nn.searchInputContainer), children: /* @__PURE__ */ v.jsx(Pr.Control, { ref: C, type: "search", size: "sm", className: nn.searchInput, placeholder: c.searchPlaceholder, value: k, onChange: (he) => {
16167
16167
  var Me;
16168
16168
  return $(((Me = he.target) == null ? void 0 : Me.value) ?? "");
16169
16169
  } }) }),
16170
16170
  k.length < 1 && r && r.length > 0 ? /* @__PURE__ */ v.jsx(r2, { variant: "info", size: "sm", children: i ?? w.suggestedItemsTitle }) : null,
16171
- p ? /* @__PURE__ */ v.jsx("div", { className: nn.loadingContainer, children: /* @__PURE__ */ v.jsx(W1, { animation: "border", variant: "primary" }) }) : (k.length < 1 && r && (r == null ? void 0 : r.length) > 0 || n.length > 0) && /* @__PURE__ */ v.jsxs("div", { ref: M, className: ee("items", nn.itemsContainer), children: [
16172
- u && u.length > 0 && /* @__PURE__ */ v.jsxs("div", { className: ee("header-row border-bottom", nn.headerRow), children: [
16171
+ p ? /* @__PURE__ */ v.jsx("div", { className: nn.loadingContainer, children: /* @__PURE__ */ v.jsx(W1, { animation: "border", variant: "primary" }) }) : (k.length < 1 && r && (r == null ? void 0 : r.length) > 0 || n.length > 0) && /* @__PURE__ */ v.jsxs("div", { ref: M, className: Q("items", nn.itemsContainer), children: [
16172
+ u && u.length > 0 && /* @__PURE__ */ v.jsxs("div", { className: Q("header-row border-bottom", nn.headerRow), children: [
16173
16173
  /* @__PURE__ */ v.jsx("div", { className: nn.name, children: /* @__PURE__ */ v.jsx(kn, { variant: "body2", children: tt }) }),
16174
16174
  u == null ? void 0 : u.filter((he) => he.key !== y).map((he) => /* @__PURE__ */ v.jsx("div", { className: nn.columnItem, style: {
16175
16175
  width: `${he.width ?? 100}px`,
@@ -16177,7 +16177,7 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16177
16177
  maxWidth: `${he.width ?? 100}px`
16178
16178
  }, children: /* @__PURE__ */ v.jsx(kn, { variant: "caption", children: he.name }) }, he.key))
16179
16179
  ] }),
16180
- (k.length < 1 && r && r.length > 0 ? r : n).map((he, Me) => /* @__PURE__ */ v.jsxs("button", { id: `item-${Me}`, type: "button", className: ee("item cursor-pointer", nn.item, {
16180
+ (k.length < 1 && r && r.length > 0 ? r : n).map((he, Me) => /* @__PURE__ */ v.jsxs("button", { id: `item-${Me}`, type: "button", className: Q("item cursor-pointer", nn.item, {
16181
16181
  [nn.focused]: X === Me
16182
16182
  }, {
16183
16183
  focused: X === Me
@@ -16189,7 +16189,7 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16189
16189
  width: `${Re.width ?? 100}px`,
16190
16190
  minWidth: `${Re.width ?? 100}px`,
16191
16191
  maxWidth: `${Re.width ?? 100}px`
16192
- }, children: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: ee("text-muted"), children: he.additionalColumns && he.additionalColumns[Re.key] }) }, Re.key))
16192
+ }, children: /* @__PURE__ */ v.jsx(kn, { variant: "caption", className: Q("text-muted"), children: he.additionalColumns && he.additionalColumns[Re.key] }) }, Re.key))
16193
16193
  ] }, he.id))
16194
16194
  ] })
16195
16195
  ] }) }) })
@@ -16197,7 +16197,7 @@ const w7 = "_feedback_esh1j_1", T7 = "_feedback-spacer_esh1j_8", C0 = {
16197
16197
  }, W7 = "_backdrop_3huvf_1", U7 = "_show_3huvf_11", E0 = {
16198
16198
  backdrop: W7,
16199
16199
  show: U7
16200
- }, z7 = ({ show: e, onClick: t }) => /* @__PURE__ */ v.jsx("div", { className: ee("luminus-backdrop", E0.backdrop, {
16200
+ }, z7 = ({ show: e, onClick: t }) => /* @__PURE__ */ v.jsx("div", { className: Q("luminus-backdrop", E0.backdrop, {
16201
16201
  [E0.show]: e
16202
16202
  }), onClick: () => t && t() }), r2 = (e) => {
16203
16203
  const { variant: t, children: n, className: r, size: i = "md", typographyVariant: a = i === "sm" ? "body2" : "body", ...o } = { ...e };
@@ -18023,10 +18023,10 @@ var I2 = () => {
18023
18023
  function q9(e, t, n) {
18024
18024
  const r = oe.fun(t) && t;
18025
18025
  r && !n && (n = []);
18026
- const i = Q(
18026
+ const i = J(
18027
18027
  () => r || arguments.length == 3 ? I2() : void 0,
18028
18028
  []
18029
- ), a = me(0), o = Ap(), s = Q(
18029
+ ), a = me(0), o = Ap(), s = J(
18030
18030
  () => ({
18031
18031
  ctrls: [],
18032
18032
  queue: [],
@@ -18041,11 +18041,11 @@ function q9(e, t, n) {
18041
18041
  }),
18042
18042
  []
18043
18043
  ), c = me([...s.ctrls]), l = [], u = Wf(e) || 0;
18044
- Q(() => {
18044
+ J(() => {
18045
18045
  We(c.current.slice(e, u), (y) => {
18046
18046
  Hf(y, i), y.stop(!0);
18047
18047
  }), c.current.length = e, d(u, e);
18048
- }, [e]), Q(() => {
18048
+ }, [e]), J(() => {
18049
18049
  d(0, Math.min(u, e));
18050
18050
  }, n);
18051
18051
  function d(y, x) {
@@ -18087,7 +18087,7 @@ function Vi(e, t, n) {
18087
18087
  onDestroyed: l,
18088
18088
  ref: u,
18089
18089
  config: d
18090
- } = r ? r() : t, f = Q(
18090
+ } = r ? r() : t, f = J(
18091
18091
  () => r || arguments.length == 3 ? I2() : void 0,
18092
18092
  []
18093
18093
  ), h = yn(e), m = [], p = me(null), g = i ? null : p.current;
@@ -18167,9 +18167,9 @@ function Vi(e, t, n) {
18167
18167
  const te = r ? r() : t, Y = oe.und(te.initial) || g ? te.from : te.initial;
18168
18168
  q.from = Sn(Y, E.item, j);
18169
18169
  }
18170
- const { onResolve: J } = q;
18170
+ const { onResolve: ee } = q;
18171
18171
  q.onResolve = (te) => {
18172
- Sn(J, te);
18172
+ Sn(ee, te);
18173
18173
  const Y = p.current, X = Y.find((z) => z.key === I);
18174
18174
  if (X && !(te.cancelled && X.phase != "update") && X.ctrl.idle) {
18175
18175
  const z = Y.every((L) => L.ctrl.idle);
@@ -18625,7 +18625,7 @@ var F2 = vt(function(e) {
18625
18625
  });
18626
18626
  B2.displayName = "TableTooltip";
18627
18627
  var Xf = vt(function(e) {
18628
- var t = e.x0, n = e.x1, r = e.y0, i = e.y1, a = yt(), o = wn(), s = o.animate, c = o.config, l = Q(function() {
18628
+ var t = e.x0, n = e.x1, r = e.y0, i = e.y1, a = yt(), o = wn(), s = o.animate, c = o.config, l = J(function() {
18629
18629
  return Li({}, a.crosshair.line, { pointerEvents: "none" });
18630
18630
  }, [a.crosshair.line]), u = mr({ x1: t, x2: n, y1: r, y2: i, config: c, immediate: !s });
18631
18631
  return v.jsx(gt.line, Li({}, u, { fill: "none", style: l }));
@@ -18650,7 +18650,7 @@ var W2 = cn({ showTooltipAt: function() {
18650
18650
  }, [e, r]), o = U(function() {
18651
18651
  r(Jf);
18652
18652
  }, [r]);
18653
- return { actions: Q(function() {
18653
+ return { actions: J(function() {
18654
18654
  return { showTooltipAt: i, showTooltipFromEvent: a, hideTooltip: o };
18655
18655
  }, [i, a, o]), state: n };
18656
18656
  }, qi = function() {
@@ -20908,7 +20908,7 @@ function lB(e) {
20908
20908
  Z: VB,
20909
20909
  "%": ty
20910
20910
  }, w = {
20911
- a: J,
20911
+ a: ee,
20912
20912
  A: Z,
20913
20913
  b: te,
20914
20914
  B: Y,
@@ -21053,7 +21053,7 @@ function lB(e) {
21053
21053
  function q(L) {
21054
21054
  return 1 + ~~(L.getMonth() / 3);
21055
21055
  }
21056
- function J(L) {
21056
+ function ee(L) {
21057
21057
  return o[L.getUTCDay()];
21058
21058
  }
21059
21059
  function Z(L) {
@@ -21902,15 +21902,15 @@ function ZU() {
21902
21902
  }
21903
21903
  var F = h * li(x), B = h * tr(x), W = f * li(_), N = f * tr(_);
21904
21904
  if (k > fn) {
21905
- var H = h * li(b), q = h * tr(b), J = f * li(w), Z = f * tr(w), te;
21905
+ var H = h * li(b), q = h * tr(b), ee = f * li(w), Z = f * tr(w), te;
21906
21906
  if (g < Ts)
21907
- if (te = GU(F, B, J, Z, H, q, W, N)) {
21907
+ if (te = GU(F, B, ee, Z, H, q, W, N)) {
21908
21908
  var Y = F - te[0], X = B - te[1], z = H - te[0], L = q - te[1], V = 1 / tr(FU((Y * z + X * L) / (pa(Y * Y + X * X) * pa(z * z + L * L))) / 2), ne = pa(te[0] * te[0] + te[1] * te[1]);
21909
21909
  $ = Gd(k, (f - ne) / (V - 1)), D = Gd(k, (h - ne) / (V + 1));
21910
21910
  } else
21911
21911
  $ = D = 0;
21912
21912
  }
21913
- C > fn ? D > fn ? (S = gc(J, Z, F, B, h, D, y), E = gc(H, q, W, N, h, D, y), s.moveTo(S.cx + S.x01, S.cy + S.y01), D < k ? s.arc(S.cx, S.cy, D, un(S.y01, S.x01), un(E.y01, E.x01), !y) : (s.arc(S.cx, S.cy, D, un(S.y01, S.x01), un(S.y11, S.x11), !y), s.arc(0, 0, h, un(S.cy + S.y11, S.cx + S.x11), un(E.cy + E.y11, E.cx + E.x11), !y), s.arc(E.cx, E.cy, D, un(E.y11, E.x11), un(E.y01, E.x01), !y))) : (s.moveTo(F, B), s.arc(0, 0, h, x, b, !y)) : s.moveTo(F, B), !(f > fn) || !(T > fn) ? s.lineTo(W, N) : $ > fn ? (S = gc(W, N, H, q, f, -$, y), E = gc(F, B, J, Z, f, -$, y), s.lineTo(S.cx + S.x01, S.cy + S.y01), $ < k ? s.arc(S.cx, S.cy, $, un(S.y01, S.x01), un(E.y01, E.x01), !y) : (s.arc(S.cx, S.cy, $, un(S.y01, S.x01), un(S.y11, S.x11), !y), s.arc(0, 0, f, un(S.cy + S.y11, S.cx + S.x11), un(E.cy + E.y11, E.cx + E.x11), y), s.arc(E.cx, E.cy, $, un(E.y11, E.x11), un(E.y01, E.x01), !y))) : s.arc(0, 0, f, _, w, y);
21913
+ C > fn ? D > fn ? (S = gc(ee, Z, F, B, h, D, y), E = gc(H, q, W, N, h, D, y), s.moveTo(S.cx + S.x01, S.cy + S.y01), D < k ? s.arc(S.cx, S.cy, D, un(S.y01, S.x01), un(E.y01, E.x01), !y) : (s.arc(S.cx, S.cy, D, un(S.y01, S.x01), un(S.y11, S.x11), !y), s.arc(0, 0, h, un(S.cy + S.y11, S.cx + S.x11), un(E.cy + E.y11, E.cx + E.x11), !y), s.arc(E.cx, E.cy, D, un(E.y11, E.x11), un(E.y01, E.x01), !y))) : (s.moveTo(F, B), s.arc(0, 0, h, x, b, !y)) : s.moveTo(F, B), !(f > fn) || !(T > fn) ? s.lineTo(W, N) : $ > fn ? (S = gc(W, N, H, q, f, -$, y), E = gc(F, B, ee, Z, f, -$, y), s.lineTo(S.cx + S.x01, S.cy + S.y01), $ < k ? s.arc(S.cx, S.cy, $, un(S.y01, S.x01), un(E.y01, E.x01), !y) : (s.arc(S.cx, S.cy, $, un(S.y01, S.x01), un(S.y11, S.x11), !y), s.arc(0, 0, f, un(S.cy + S.y11, S.cx + S.x11), un(E.cy + E.y11, E.cx + E.x11), y), s.arc(E.cx, E.cy, $, un(E.y11, E.x11), un(E.y01, E.x01), !y))) : s.arc(0, 0, f, _, w, y);
21914
21914
  }
21915
21915
  if (s.closePath(), u) return s = null, u + "" || null;
21916
21916
  }
@@ -23116,7 +23116,7 @@ var XV = ["axis.ticks.text", "axis.legend.text", "legends.title.text", "legends.
23116
23116
  Co(n, r, QV(dr(n, r), n.text));
23117
23117
  }), n;
23118
23118
  }, Bw = cn(), Ww = function(e) {
23119
- var t = e.children, n = e.animate, r = n === void 0 || n, i = e.config, a = i === void 0 ? "default" : i, o = Q(function() {
23119
+ var t = e.children, n = e.animate, r = n === void 0 || n, i = e.config, a = i === void 0 ? "default" : i, o = J(function() {
23120
23120
  var s = cF(a) ? Ip[a] : a;
23121
23121
  return { animate: r, config: s };
23122
23122
  }, [r, a]);
@@ -23131,7 +23131,7 @@ var wn = function() {
23131
23131
  return we(function() {
23132
23132
  c.current = s;
23133
23133
  }, [s]), c.current;
23134
- }(e), a = Q(function() {
23134
+ }(e), a = J(function() {
23135
23135
  return b_(i, e);
23136
23136
  }, [i, e]), o = mr({ from: { value: 0 }, to: { value: 1 }, reset: !0, config: r, immediate: !n }).value;
23137
23137
  return Qr(o, a);
@@ -23153,7 +23153,7 @@ var nq = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color
23153
23153
  P.oneOf(nq);
23154
23154
  xi(wm);
23155
23155
  var zw = { top: 0, right: 0, bottom: 0, left: 0 }, Vs = function(e, t, n) {
23156
- return n === void 0 && (n = {}), Q(function() {
23156
+ return n === void 0 && (n = {}), J(function() {
23157
23157
  var r = Fn({}, zw, n);
23158
23158
  return { margin: r, innerWidth: e - r.left - r.right, innerHeight: t - r.top - r.bottom, outerWidth: e, outerHeight: t };
23159
23159
  }, [e, t, n.top, n.right, n.bottom, n.left]);
@@ -23170,7 +23170,7 @@ var zw = { top: 0, right: 0, bottom: 0, left: 0 }, Vs = function(e, t, n) {
23170
23170
  };
23171
23171
  }, []), [e, n];
23172
23172
  }, rq = function(e) {
23173
- return Q(function() {
23173
+ return J(function() {
23174
23174
  return JV(KV, e);
23175
23175
  }, [e]);
23176
23176
  }, iq = function(e) {
@@ -23178,7 +23178,7 @@ var zw = { top: 0, right: 0, bottom: 0, left: 0 }, Vs = function(e, t, n) {
23178
23178
  return "" + t;
23179
23179
  };
23180
23180
  }, Ia = function(e) {
23181
- return Q(function() {
23181
+ return J(function() {
23182
23182
  return iq(e);
23183
23183
  }, [e]);
23184
23184
  }, Vw = cn(), aq = {}, qw = function(e) {
@@ -23371,7 +23371,7 @@ var nT = vt(tT), vq = ["theme", "renderWrapper", "animate", "motionConfig"], rT
23371
23371
  return dr(t, e);
23372
23372
  };
23373
23373
  }, Ai = function(e) {
23374
- return Q(function() {
23374
+ return J(function() {
23375
23375
  return iT(e);
23376
23376
  }, [e]);
23377
23377
  }, bq = function(e, t, n, r) {
@@ -23510,7 +23510,7 @@ var jq = function(e, t) {
23510
23510
  return e;
23511
23511
  };
23512
23512
  }, hr = function(e, t) {
23513
- return Q(function() {
23513
+ return J(function() {
23514
23514
  return jq(e, t);
23515
23515
  }, [e, t]);
23516
23516
  };
@@ -23562,7 +23562,7 @@ var Pq = function(e, t) {
23562
23562
  return e;
23563
23563
  };
23564
23564
  }, Bm = function(e, t) {
23565
- return Q(function() {
23565
+ return J(function() {
23566
23566
  return Pq(e, t);
23567
23567
  }, [e, t]);
23568
23568
  };
@@ -23638,7 +23638,7 @@ var Iq = { pointerEvents: "none" }, Dq = function(e) {
23638
23638
  }, leave: function(e) {
23639
23639
  return Mt({}, e, { innerRadius: e.innerRadius - e.outerRadius + e.innerRadius, outerRadius: e.innerRadius });
23640
23640
  } } }, uT = function(e, t) {
23641
- return Q(function() {
23641
+ return J(function() {
23642
23642
  var n = Lq[e];
23643
23643
  return { enter: function(r) {
23644
23644
  return Mt({ progress: 0 }, n.enter(r.arc), t ? t.enter(r) : {});
@@ -23665,7 +23665,7 @@ var Iq = { pointerEvents: "none" }, Dq = function(e) {
23665
23665
  return c.id;
23666
23666
  }, initial: s.update, from: s.enter, enter: s.update, update: s.update, leave: s.leave, config: o, immediate: !a }), interpolate: Bq(t) };
23667
23667
  }, Uq = function(e) {
23668
- var t = e.center, n = e.data, r = e.transitionMode, i = e.label, a = e.radiusOffset, o = e.skipAngle, s = e.textColor, c = e.component, l = c === void 0 ? Dq : c, u = Ai(i), d = yt(), f = hr(s, d), h = Q(function() {
23668
+ var t = e.center, n = e.data, r = e.transitionMode, i = e.label, a = e.radiusOffset, o = e.skipAngle, s = e.textColor, c = e.component, l = c === void 0 ? Dq : c, u = Ai(i), d = yt(), f = hr(s, d), h = J(function() {
23669
23669
  return n.filter(function(x) {
23670
23670
  return Math.abs(ed(x.arc.endAngle - x.arc.startAngle)) >= o;
23671
23671
  });
@@ -23702,12 +23702,12 @@ var Iq = { pointerEvents: "none" }, Dq = function(e) {
23702
23702
  });
23703
23703
  }, Zq = function(e) {
23704
23704
  var t = e.data, n = e.offset, r = n === void 0 ? 0 : n, i = e.diagonalLength, a = e.straightLength, o = e.skipAngle, s = o === void 0 ? 0 : o, c = e.textOffset, l = e.linkColor, u = e.textColor, d = wn(), f = d.animate, h = d.config, m = yt(), p = hr(l, m), g = hr(u, m), y = function(b, w) {
23705
- return Q(function() {
23705
+ return J(function() {
23706
23706
  return Nq(b, w);
23707
23707
  }, [b, w]);
23708
23708
  }(t, s), x = function(b) {
23709
23709
  var w = b.offset, _ = b.diagonalLength, T = b.straightLength, C = b.textOffset, M = b.getLinkColor, O = b.getTextColor;
23710
- return Q(function() {
23710
+ return J(function() {
23711
23711
  return { enter: function(k) {
23712
23712
  return { startAngle: k.arc.startAngle, endAngle: k.arc.endAngle, innerRadius: k.arc.innerRadius, outerRadius: k.arc.outerRadius, offset: w, diagonalLength: 0, straightLength: 0, textOffset: C, linkColor: M(k), textColor: O(k), opacity: 0 };
23713
23713
  }, update: function(k) {
@@ -23779,7 +23779,7 @@ var Iq = { pointerEvents: "none" }, Dq = function(e) {
23779
23779
  return { points: o, x: h, y: p, width: m - h, height: Math.max.apply(Math, f) - p };
23780
23780
  }, nY = function(e) {
23781
23781
  var t = e === void 0 ? {} : e, n = t.cornerRadius, r = n === void 0 ? 0 : n, i = t.padAngle, a = i === void 0 ? 0 : i;
23782
- return Q(function() {
23782
+ return J(function() {
23783
23783
  return ZU().innerRadius(function(o) {
23784
23784
  return o.innerRadius;
23785
23785
  }).outerRadius(function(o) {
@@ -23869,7 +23869,7 @@ var sY = { top: 0, right: 0, bottom: 0, left: 0 }, Wm = function(e) {
23869
23869
  }
23870
23870
  return { symbolX: t, symbolY: n, labelX: r, labelY: i, labelAnchor: a, labelAlignment: o };
23871
23871
  }, cY = { circle: rY, diamond: iY, square: aY, triangle: oY }, lY = function(e) {
23872
- var t, n, r, i, a, o, s, c, l, u, d, f = e.x, h = e.y, m = e.width, p = e.height, g = e.data, y = e.direction, x = y === void 0 ? "left-to-right" : y, b = e.justify, w = b !== void 0 && b, _ = e.textColor, T = e.background, C = T === void 0 ? "transparent" : T, M = e.opacity, O = M === void 0 ? 1 : M, k = e.symbolShape, $ = k === void 0 ? "square" : k, D = e.symbolSize, S = D === void 0 ? 16 : D, E = e.symbolSpacing, j = E === void 0 ? 8 : E, I = e.symbolBorderWidth, F = I === void 0 ? 0 : I, B = e.symbolBorderColor, W = B === void 0 ? "transparent" : B, N = e.onClick, H = e.onMouseEnter, q = e.onMouseLeave, J = e.toggleSerie, Z = e.effects, te = Oe({}), Y = te[0], X = te[1], z = yt(), L = U(function(Ve) {
23872
+ var t, n, r, i, a, o, s, c, l, u, d, f = e.x, h = e.y, m = e.width, p = e.height, g = e.data, y = e.direction, x = y === void 0 ? "left-to-right" : y, b = e.justify, w = b !== void 0 && b, _ = e.textColor, T = e.background, C = T === void 0 ? "transparent" : T, M = e.opacity, O = M === void 0 ? 1 : M, k = e.symbolShape, $ = k === void 0 ? "square" : k, D = e.symbolSize, S = D === void 0 ? 16 : D, E = e.symbolSpacing, j = E === void 0 ? 8 : E, I = e.symbolBorderWidth, F = I === void 0 ? 0 : I, B = e.symbolBorderColor, W = B === void 0 ? "transparent" : B, N = e.onClick, H = e.onMouseEnter, q = e.onMouseLeave, ee = e.toggleSerie, Z = e.effects, te = Oe({}), Y = te[0], X = te[1], z = yt(), L = U(function(Ve) {
23873
23873
  if (Z) {
23874
23874
  var tt = Z.filter(function(Qe) {
23875
23875
  return Qe.on === "hover";
@@ -23889,11 +23889,11 @@ var sY = { top: 0, right: 0, bottom: 0, left: 0 }, Wm = function(e) {
23889
23889
  X(tt);
23890
23890
  }
23891
23891
  q == null || q(g, Ve);
23892
- }, [q, g, Z]), ne = hT({ direction: x, justify: w, symbolSize: (t = Y.symbolSize) != null ? t : S, symbolSpacing: j, width: m, height: p }), A = ne.symbolX, le = ne.symbolY, ue = ne.labelX, fe = ne.labelY, $e = ne.labelAnchor, Ee = ne.labelAlignment, ut = [N, H, q, J].some(function(Ve) {
23892
+ }, [q, g, Z]), ne = hT({ direction: x, justify: w, symbolSize: (t = Y.symbolSize) != null ? t : S, symbolSpacing: j, width: m, height: p }), A = ne.symbolX, le = ne.symbolY, ue = ne.labelX, fe = ne.labelY, $e = ne.labelAnchor, Ee = ne.labelAlignment, ut = [N, H, q, ee].some(function(Ve) {
23893
23893
  return Ve !== void 0;
23894
23894
  }), ot = typeof $ == "function" ? $ : cY[$];
23895
23895
  return v.jsxs("g", { transform: "translate(" + f + "," + h + ")", style: { opacity: (n = Y.itemOpacity) != null ? n : O }, children: [v.jsx("rect", { width: m, height: p, fill: (r = Y.itemBackground) != null ? r : C, style: { cursor: ut ? "pointer" : "auto" }, onClick: function(Ve) {
23896
- N == null || N(g, Ve), J == null || J(g.id);
23896
+ N == null || N(g, Ve), ee == null || ee(g.id);
23897
23897
  }, onMouseEnter: L, onMouseLeave: V }), ae.createElement(ot, wi({ id: g.id, x: A, y: le, size: (i = Y.symbolSize) != null ? i : S, fill: (a = (o = g.fill) != null ? o : g.color) != null ? a : "black", borderWidth: (s = Y.symbolBorderWidth) != null ? s : F, borderColor: (c = Y.symbolBorderColor) != null ? c : W }, g.hidden ? z.legends.hidden.symbol : void 0)), v.jsx("text", { textAnchor: $e, style: wi({}, Lm(z.legends.text), { fill: (l = (u = (d = Y.itemTextColor) != null ? d : _) != null ? u : z.legends.text.fill) != null ? l : "black", dominantBaseline: Ee, pointerEvents: "none", userSelect: "none" }, g.hidden ? z.legends.hidden.text : void 0), x: ue, y: fe, children: g.label })] });
23898
23898
  }, uY = function(e) {
23899
23899
  var t = e.data, n = e.x, r = e.y, i = e.direction, a = e.padding, o = a === void 0 ? 0 : a, s = e.justify, c = e.effects, l = e.itemWidth, u = e.itemHeight, d = e.itemDirection, f = d === void 0 ? "left-to-right" : d, h = e.itemsSpacing, m = h === void 0 ? 0 : h, p = e.itemTextColor, g = e.itemBackground, y = g === void 0 ? "transparent" : g, x = e.itemOpacity, b = x === void 0 ? 1 : x, w = e.symbolShape, _ = e.symbolSize, T = e.symbolSpacing, C = e.symbolBorderWidth, M = e.symbolBorderColor, O = e.onClick, k = e.onMouseEnter, $ = e.onMouseLeave, D = e.toggleSerie, S = Wm({ itemCount: t.length, itemWidth: l, itemHeight: u, itemsSpacing: m, direction: i, padding: o }).padding, E = i === "row" ? l + m : 0, j = i === "column" ? u + m : 0;
@@ -23906,8 +23906,8 @@ var sY = { top: 0, right: 0, bottom: 0, left: 0 }, Wm = function(e) {
23906
23906
  }, dY = { start: "left", middle: "center", end: "right" }, pT = function(e, t) {
23907
23907
  var n = t.data, r = t.containerWidth, i = t.containerHeight, a = t.translateX, o = a === void 0 ? 0 : a, s = t.translateY, c = s === void 0 ? 0 : s, l = t.anchor, u = t.direction, d = t.padding, f = d === void 0 ? 0 : d, h = t.justify, m = h !== void 0 && h, p = t.itemsSpacing, g = p === void 0 ? 0 : p, y = t.itemWidth, x = t.itemHeight, b = t.itemDirection, w = b === void 0 ? "left-to-right" : b, _ = t.itemTextColor, T = t.symbolSize, C = T === void 0 ? 16 : T, M = t.symbolSpacing, O = M === void 0 ? 8 : M, k = t.theme, $ = Wm({ itemCount: n.length, itemWidth: y, itemHeight: x, itemsSpacing: g, direction: u, padding: f }), D = $.width, S = $.height, E = $.padding, j = fT({ anchor: l, translateX: o, translateY: c, containerWidth: r, containerHeight: i, width: D, height: S }), I = j.x, F = j.y, B = u === "row" ? y + g : 0, W = u === "column" ? x + g : 0;
23908
23908
  e.save(), e.translate(I, F), e.font = k.legends.text.fontSize + "px " + (k.legends.text.fontFamily || "sans-serif"), n.forEach(function(N, H) {
23909
- var q, J, Z = H * B + E.left, te = H * W + E.top, Y = hT({ direction: w, justify: m, symbolSize: C, symbolSpacing: O, width: y, height: x }), X = Y.symbolX, z = Y.symbolY, L = Y.labelX, V = Y.labelY, ne = Y.labelAnchor, A = Y.labelAlignment;
23910
- e.fillStyle = (q = N.color) != null ? q : "black", e.fillRect(Z + X, te + z, C, C), e.textAlign = dY[ne], A === "central" && (e.textBaseline = "middle"), e.fillStyle = (J = _ ?? k.legends.text.fill) != null ? J : "black", e.fillText(String(N.label), Z + L, te + V);
23909
+ var q, ee, Z = H * B + E.left, te = H * W + E.top, Y = hT({ direction: w, justify: m, symbolSize: C, symbolSpacing: O, width: y, height: x }), X = Y.symbolX, z = Y.symbolY, L = Y.labelX, V = Y.labelY, ne = Y.labelAnchor, A = Y.labelAlignment;
23910
+ e.fillStyle = (q = N.color) != null ? q : "black", e.fillRect(Z + X, te + z, C, C), e.textAlign = dY[ne], A === "central" && (e.textBaseline = "middle"), e.fillStyle = (ee = _ ?? k.legends.text.fill) != null ? ee : "black", e.fillText(String(N.label), Z + L, te + V);
23911
23911
  }), e.restore();
23912
23912
  };
23913
23913
  function ni() {
@@ -23936,19 +23936,19 @@ var jy, fY = function(e) {
23936
23936
  return v.jsx(Lp, { id: t.id, value: t.formattedValue, enableChip: !0, color: t.color });
23937
23937
  }, legends: [], role: "img", pixelRatio: typeof window < "u" && (jy = window.devicePixelRatio) != null ? jy : 1 }, hY = ["points"], pY = function(e) {
23938
23938
  var t = e.data, n = e.id, r = n === void 0 ? Ae.id : n, i = e.value, a = i === void 0 ? Ae.value : i, o = e.valueFormat, s = e.colors, c = s === void 0 ? Ae.colors : s, l = Ai(r), u = Ai(a), d = Ia(o), f = Bm(c, "id");
23939
- return Q(function() {
23939
+ return J(function() {
23940
23940
  return t.map(function(h) {
23941
23941
  var m, p = l(h), g = u(h), y = { id: p, label: (m = h.label) != null ? m : p, hidden: !1, value: g, formattedValue: d(g), data: h };
23942
23942
  return ni({}, y, { color: f(y) });
23943
23943
  });
23944
23944
  }, [t, l, u, d, f]);
23945
23945
  }, mY = function(e) {
23946
- var t = e.data, n = e.startAngle, r = e.endAngle, i = e.innerRadius, a = e.outerRadius, o = e.padAngle, s = e.sortByValue, c = e.activeId, l = e.activeInnerRadiusOffset, u = e.activeOuterRadiusOffset, d = e.hiddenIds, f = e.forwardLegendData, h = Q(function() {
23946
+ var t = e.data, n = e.startAngle, r = e.endAngle, i = e.innerRadius, a = e.outerRadius, o = e.padAngle, s = e.sortByValue, c = e.activeId, l = e.activeInnerRadiusOffset, u = e.activeOuterRadiusOffset, d = e.hiddenIds, f = e.forwardLegendData, h = J(function() {
23947
23947
  var y = JU().value(function(x) {
23948
23948
  return x.value;
23949
23949
  }).startAngle(Bn(n)).endAngle(Bn(r)).padAngle(Bn(o));
23950
23950
  return s || y.sortValues(null), y;
23951
- }, [n, r, o, s]), m = Q(function() {
23951
+ }, [n, r, o, s]), m = J(function() {
23952
23952
  var y = t.filter(function(x) {
23953
23953
  return !d.includes(x.id);
23954
23954
  });
@@ -23968,13 +23968,13 @@ var jy, fY = function(e) {
23968
23968
  n && n(c), i || s(c);
23969
23969
  }, [i, n, s]) };
23970
23970
  }, vY = function(e) {
23971
- var t = e.data, n = e.width, r = e.height, i = e.innerRadius, a = i === void 0 ? Ae.innerRadius : i, o = e.startAngle, s = o === void 0 ? Ae.startAngle : o, c = e.endAngle, l = c === void 0 ? Ae.endAngle : c, u = e.padAngle, d = u === void 0 ? Ae.padAngle : u, f = e.sortByValue, h = f === void 0 ? Ae.sortByValue : f, m = e.cornerRadius, p = m === void 0 ? Ae.cornerRadius : m, g = e.fit, y = g === void 0 ? Ae.fit : g, x = e.activeInnerRadiusOffset, b = x === void 0 ? Ae.activeInnerRadiusOffset : x, w = e.activeOuterRadiusOffset, _ = w === void 0 ? Ae.activeOuterRadiusOffset : w, T = e.activeId, C = e.onActiveIdChange, M = e.defaultActiveId, O = e.forwardLegendData, k = gY({ activeId: T, onActiveIdChange: C, defaultActiveId: M }), $ = k.activeId, D = k.setActiveId, S = Oe([]), E = S[0], j = S[1], I = Q(function() {
23972
- var W, N = Math.min(n, r) / 2, H = N * Math.min(a, 1), q = n / 2, J = r / 2;
23971
+ var t = e.data, n = e.width, r = e.height, i = e.innerRadius, a = i === void 0 ? Ae.innerRadius : i, o = e.startAngle, s = o === void 0 ? Ae.startAngle : o, c = e.endAngle, l = c === void 0 ? Ae.endAngle : c, u = e.padAngle, d = u === void 0 ? Ae.padAngle : u, f = e.sortByValue, h = f === void 0 ? Ae.sortByValue : f, m = e.cornerRadius, p = m === void 0 ? Ae.cornerRadius : m, g = e.fit, y = g === void 0 ? Ae.fit : g, x = e.activeInnerRadiusOffset, b = x === void 0 ? Ae.activeInnerRadiusOffset : x, w = e.activeOuterRadiusOffset, _ = w === void 0 ? Ae.activeOuterRadiusOffset : w, T = e.activeId, C = e.onActiveIdChange, M = e.defaultActiveId, O = e.forwardLegendData, k = gY({ activeId: T, onActiveIdChange: C, defaultActiveId: M }), $ = k.activeId, D = k.setActiveId, S = Oe([]), E = S[0], j = S[1], I = J(function() {
23972
+ var W, N = Math.min(n, r) / 2, H = N * Math.min(a, 1), q = n / 2, ee = r / 2;
23973
23973
  if (y) {
23974
- var Z = tY(q, J, N, s - 90, l - 90), te = Z.points, Y = mT(Z, hY), X = Math.min(n / Y.width, r / Y.height), z = { width: Y.width * X, height: Y.height * X };
23975
- z.x = (n - z.width) / 2, z.y = (r - z.height) / 2, q = (q - Y.x) / Y.width * Y.width * X + z.x, J = (J - Y.y) / Y.height * Y.height * X + z.y, W = { box: Y, ratio: X, points: te }, N *= X, H *= X;
23974
+ var Z = tY(q, ee, N, s - 90, l - 90), te = Z.points, Y = mT(Z, hY), X = Math.min(n / Y.width, r / Y.height), z = { width: Y.width * X, height: Y.height * X };
23975
+ z.x = (n - z.width) / 2, z.y = (r - z.height) / 2, q = (q - Y.x) / Y.width * Y.width * X + z.x, ee = (ee - Y.y) / Y.height * Y.height * X + z.y, W = { box: Y, ratio: X, points: te }, N *= X, H *= X;
23976
23976
  }
23977
- return { centerX: q, centerY: J, radius: N, innerRadius: H, debug: W };
23977
+ return { centerX: q, centerY: ee, radius: N, innerRadius: H, debug: W };
23978
23978
  }, [n, r, a, s, l, y]), F = mY({ data: t, startAngle: s, endAngle: l, innerRadius: I.innerRadius, outerRadius: I.radius, padAngle: d, sortByValue: h, activeId: $, activeInnerRadiusOffset: b, activeOuterRadiusOffset: _, hiddenIds: E, forwardLegendData: O }), B = U(function(W) {
23979
23979
  j(function(N) {
23980
23980
  return N.indexOf(W) > -1 ? N.filter(function(H) {
@@ -23985,31 +23985,31 @@ var jy, fY = function(e) {
23985
23985
  return ni({ arcGenerator: nY({ cornerRadius: p, padAngle: Bn(d) }), activeId: $, setActiveId: D, toggleSerie: B }, F, I);
23986
23986
  }, yY = function(e) {
23987
23987
  var t = e.dataWithArc, n = e.arcGenerator, r = e.centerX, i = e.centerY, a = e.radius, o = e.innerRadius;
23988
- return Q(function() {
23988
+ return J(function() {
23989
23989
  return { dataWithArc: t, arcGenerator: n, centerX: r, centerY: i, radius: a, innerRadius: o };
23990
23990
  }, [t, n, r, i, a, o]);
23991
23991
  }, bY = function(e) {
23992
- var t = e.center, n = e.data, r = e.arcGenerator, i = e.borderWidth, a = e.borderColor, o = e.isInteractive, s = e.onClick, c = e.onMouseEnter, l = e.onMouseMove, u = e.onMouseLeave, d = e.setActiveId, f = e.tooltip, h = e.transitionMode, m = qi(), p = m.showTooltipFromEvent, g = m.hideTooltip, y = Q(function() {
23992
+ var t = e.center, n = e.data, r = e.arcGenerator, i = e.borderWidth, a = e.borderColor, o = e.isInteractive, s = e.onClick, c = e.onMouseEnter, l = e.onMouseMove, u = e.onMouseLeave, d = e.setActiveId, f = e.tooltip, h = e.transitionMode, m = qi(), p = m.showTooltipFromEvent, g = m.hideTooltip, y = J(function() {
23993
23993
  if (o) return function(_, T) {
23994
23994
  s == null || s(_, T);
23995
23995
  };
23996
- }, [o, s]), x = Q(function() {
23996
+ }, [o, s]), x = J(function() {
23997
23997
  if (o) return function(_, T) {
23998
23998
  p(Bt(f, { datum: _ }), T), d(_.id), c == null || c(_, T);
23999
23999
  };
24000
- }, [o, p, d, c, f]), b = Q(function() {
24000
+ }, [o, p, d, c, f]), b = J(function() {
24001
24001
  if (o) return function(_, T) {
24002
24002
  p(Bt(f, { datum: _ }), T), l == null || l(_, T);
24003
24003
  };
24004
- }, [o, p, l, f]), w = Q(function() {
24004
+ }, [o, p, l, f]), w = J(function() {
24005
24005
  if (o) return function(_, T) {
24006
24006
  g(), d(null), u == null || u(_, T);
24007
24007
  };
24008
24008
  }, [o, g, d, u]);
24009
24009
  return v.jsx(eY, { center: t, data: n, arcGenerator: r, borderWidth: i, borderColor: a, transitionMode: h, onClick: y, onMouseEnter: x, onMouseMove: b, onMouseLeave: w });
24010
24010
  }, xY = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], _Y = function(e) {
24011
- var t = e.data, n = e.id, r = n === void 0 ? Ae.id : n, i = e.value, a = i === void 0 ? Ae.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? Ae.sortByValue : s, l = e.layers, u = l === void 0 ? Ae.layers : l, d = e.startAngle, f = d === void 0 ? Ae.startAngle : d, h = e.endAngle, m = h === void 0 ? Ae.endAngle : h, p = e.padAngle, g = p === void 0 ? Ae.padAngle : p, y = e.fit, x = y === void 0 ? Ae.fit : y, b = e.innerRadius, w = b === void 0 ? Ae.innerRadius : b, _ = e.cornerRadius, T = _ === void 0 ? Ae.cornerRadius : _, C = e.activeInnerRadiusOffset, M = C === void 0 ? Ae.activeInnerRadiusOffset : C, O = e.activeOuterRadiusOffset, k = O === void 0 ? Ae.activeOuterRadiusOffset : O, $ = e.width, D = e.height, S = e.margin, E = e.colors, j = E === void 0 ? Ae.colors : E, I = e.borderWidth, F = I === void 0 ? Ae.borderWidth : I, B = e.borderColor, W = B === void 0 ? Ae.borderColor : B, N = e.enableArcLabels, H = N === void 0 ? Ae.enableArcLabels : N, q = e.arcLabel, J = q === void 0 ? Ae.arcLabel : q, Z = e.arcLabelsSkipAngle, te = Z === void 0 ? Ae.arcLabelsSkipAngle : Z, Y = e.arcLabelsTextColor, X = Y === void 0 ? Ae.arcLabelsTextColor : Y, z = e.arcLabelsRadiusOffset, L = z === void 0 ? Ae.arcLabelsRadiusOffset : z, V = e.arcLabelsComponent, ne = e.enableArcLinkLabels, A = ne === void 0 ? Ae.enableArcLinkLabels : ne, le = e.arcLinkLabel, ue = le === void 0 ? Ae.arcLinkLabel : le, fe = e.arcLinkLabelsSkipAngle, $e = fe === void 0 ? Ae.arcLinkLabelsSkipAngle : fe, Ee = e.arcLinkLabelsOffset, ut = Ee === void 0 ? Ae.arcLinkLabelsOffset : Ee, ot = e.arcLinkLabelsDiagonalLength, Ve = ot === void 0 ? Ae.arcLinkLabelsDiagonalLength : ot, tt = e.arcLinkLabelsStraightLength, Qe = tt === void 0 ? Ae.arcLinkLabelsStraightLength : tt, he = e.arcLinkLabelsThickness, Me = he === void 0 ? Ae.arcLinkLabelsThickness : he, Re = e.arcLinkLabelsTextOffset, xe = Re === void 0 ? Ae.arcLinkLabelsTextOffset : Re, Be = e.arcLinkLabelsTextColor, nt = Be === void 0 ? Ae.arcLinkLabelsTextColor : Be, Ut = e.arcLinkLabelsColor, _t = Ut === void 0 ? Ae.arcLinkLabelsColor : Ut, it = e.arcLinkLabelComponent, St = e.defs, Lt = St === void 0 ? Ae.defs : St, lt = e.fill, wt = lt === void 0 ? Ae.fill : lt, kt = e.isInteractive, qt = kt === void 0 ? Ae.isInteractive : kt, Ie = e.onClick, Fe = e.onMouseEnter, Ge = e.onMouseMove, st = e.onMouseLeave, Tt = e.tooltip, Rt = Tt === void 0 ? Ae.tooltip : Tt, an = e.activeId, zt = e.onActiveIdChange, Yt = e.defaultActiveId, Qt = e.transitionMode, It = Qt === void 0 ? Ae.transitionMode : Qt, Gt = e.legends, ln = Gt === void 0 ? Ae.legends : Gt, Jt = e.forwardLegendData, pe = e.role, Te = pe === void 0 ? Ae.role : pe, je = Vs($, D, S), Ke = je.outerWidth, Je = je.outerHeight, dt = je.margin, R = je.innerWidth, ie = je.innerHeight, K = pY({ data: t, id: r, value: a, valueFormat: o, colors: j }), re = vY({ data: K, width: R, height: ie, fit: x, innerRadius: w, startAngle: f, endAngle: m, padAngle: g, sortByValue: c, cornerRadius: T, activeInnerRadiusOffset: M, activeOuterRadiusOffset: k, activeId: an, onActiveIdChange: zt, defaultActiveId: Yt, forwardLegendData: Jt }), be = re.dataWithArc, Ce = re.legendData, ve = re.arcGenerator, _e = re.centerX, Ne = re.centerY, Pe = re.radius, at = re.innerRadius, Ht = re.setActiveId, Ct = re.toggleSerie, Kt = Fm(Lt, be, wt), de = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
24012
- u.includes("arcs") && (de.arcs = v.jsx(bY, { center: [_e, Ne], data: be, arcGenerator: ve, borderWidth: F, borderColor: W, isInteractive: qt, onClick: Ie, onMouseEnter: Fe, onMouseMove: Ge, onMouseLeave: st, setActiveId: Ht, tooltip: Rt, transitionMode: It }, "arcs")), A && u.includes("arcLinkLabels") && (de.arcLinkLabels = v.jsx(Kq, { center: [_e, Ne], data: be, label: ue, skipAngle: $e, offset: ut, diagonalLength: Ve, straightLength: Qe, strokeWidth: Me, textOffset: xe, textColor: nt, linkColor: _t, component: it }, "arcLinkLabels")), H && u.includes("arcLabels") && (de.arcLabels = v.jsx(Uq, { center: [_e, Ne], data: be, label: J, radiusOffset: L, skipAngle: te, textColor: X, transitionMode: It, component: V }, "arcLabels")), ln.length > 0 && u.includes("legends") && (de.legends = v.jsx(fY, { width: R, height: ie, data: Ce, legends: ln, toggleSerie: Ct }, "legends"));
24011
+ var t = e.data, n = e.id, r = n === void 0 ? Ae.id : n, i = e.value, a = i === void 0 ? Ae.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? Ae.sortByValue : s, l = e.layers, u = l === void 0 ? Ae.layers : l, d = e.startAngle, f = d === void 0 ? Ae.startAngle : d, h = e.endAngle, m = h === void 0 ? Ae.endAngle : h, p = e.padAngle, g = p === void 0 ? Ae.padAngle : p, y = e.fit, x = y === void 0 ? Ae.fit : y, b = e.innerRadius, w = b === void 0 ? Ae.innerRadius : b, _ = e.cornerRadius, T = _ === void 0 ? Ae.cornerRadius : _, C = e.activeInnerRadiusOffset, M = C === void 0 ? Ae.activeInnerRadiusOffset : C, O = e.activeOuterRadiusOffset, k = O === void 0 ? Ae.activeOuterRadiusOffset : O, $ = e.width, D = e.height, S = e.margin, E = e.colors, j = E === void 0 ? Ae.colors : E, I = e.borderWidth, F = I === void 0 ? Ae.borderWidth : I, B = e.borderColor, W = B === void 0 ? Ae.borderColor : B, N = e.enableArcLabels, H = N === void 0 ? Ae.enableArcLabels : N, q = e.arcLabel, ee = q === void 0 ? Ae.arcLabel : q, Z = e.arcLabelsSkipAngle, te = Z === void 0 ? Ae.arcLabelsSkipAngle : Z, Y = e.arcLabelsTextColor, X = Y === void 0 ? Ae.arcLabelsTextColor : Y, z = e.arcLabelsRadiusOffset, L = z === void 0 ? Ae.arcLabelsRadiusOffset : z, V = e.arcLabelsComponent, ne = e.enableArcLinkLabels, A = ne === void 0 ? Ae.enableArcLinkLabels : ne, le = e.arcLinkLabel, ue = le === void 0 ? Ae.arcLinkLabel : le, fe = e.arcLinkLabelsSkipAngle, $e = fe === void 0 ? Ae.arcLinkLabelsSkipAngle : fe, Ee = e.arcLinkLabelsOffset, ut = Ee === void 0 ? Ae.arcLinkLabelsOffset : Ee, ot = e.arcLinkLabelsDiagonalLength, Ve = ot === void 0 ? Ae.arcLinkLabelsDiagonalLength : ot, tt = e.arcLinkLabelsStraightLength, Qe = tt === void 0 ? Ae.arcLinkLabelsStraightLength : tt, he = e.arcLinkLabelsThickness, Me = he === void 0 ? Ae.arcLinkLabelsThickness : he, Re = e.arcLinkLabelsTextOffset, xe = Re === void 0 ? Ae.arcLinkLabelsTextOffset : Re, Be = e.arcLinkLabelsTextColor, nt = Be === void 0 ? Ae.arcLinkLabelsTextColor : Be, Ut = e.arcLinkLabelsColor, _t = Ut === void 0 ? Ae.arcLinkLabelsColor : Ut, it = e.arcLinkLabelComponent, St = e.defs, Lt = St === void 0 ? Ae.defs : St, lt = e.fill, wt = lt === void 0 ? Ae.fill : lt, kt = e.isInteractive, qt = kt === void 0 ? Ae.isInteractive : kt, Ie = e.onClick, Fe = e.onMouseEnter, Ge = e.onMouseMove, st = e.onMouseLeave, Tt = e.tooltip, Rt = Tt === void 0 ? Ae.tooltip : Tt, an = e.activeId, zt = e.onActiveIdChange, Yt = e.defaultActiveId, Qt = e.transitionMode, It = Qt === void 0 ? Ae.transitionMode : Qt, Gt = e.legends, ln = Gt === void 0 ? Ae.legends : Gt, Jt = e.forwardLegendData, pe = e.role, Te = pe === void 0 ? Ae.role : pe, je = Vs($, D, S), Ke = je.outerWidth, Je = je.outerHeight, dt = je.margin, R = je.innerWidth, ie = je.innerHeight, K = pY({ data: t, id: r, value: a, valueFormat: o, colors: j }), re = vY({ data: K, width: R, height: ie, fit: x, innerRadius: w, startAngle: f, endAngle: m, padAngle: g, sortByValue: c, cornerRadius: T, activeInnerRadiusOffset: M, activeOuterRadiusOffset: k, activeId: an, onActiveIdChange: zt, defaultActiveId: Yt, forwardLegendData: Jt }), be = re.dataWithArc, Ce = re.legendData, ve = re.arcGenerator, _e = re.centerX, Ne = re.centerY, Pe = re.radius, at = re.innerRadius, Ht = re.setActiveId, Ct = re.toggleSerie, Kt = Fm(Lt, be, wt), de = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
24012
+ u.includes("arcs") && (de.arcs = v.jsx(bY, { center: [_e, Ne], data: be, arcGenerator: ve, borderWidth: F, borderColor: W, isInteractive: qt, onClick: Ie, onMouseEnter: Fe, onMouseMove: Ge, onMouseLeave: st, setActiveId: Ht, tooltip: Rt, transitionMode: It }, "arcs")), A && u.includes("arcLinkLabels") && (de.arcLinkLabels = v.jsx(Kq, { center: [_e, Ne], data: be, label: ue, skipAngle: $e, offset: ut, diagonalLength: Ve, straightLength: Qe, strokeWidth: Me, textOffset: xe, textColor: nt, linkColor: _t, component: it }, "arcLinkLabels")), H && u.includes("arcLabels") && (de.arcLabels = v.jsx(Uq, { center: [_e, Ne], data: be, label: ee, radiusOffset: L, skipAngle: te, textColor: X, transitionMode: It, component: V }, "arcLabels")), ln.length > 0 && u.includes("legends") && (de.legends = v.jsx(fY, { width: R, height: ie, data: Ce, legends: ln, toggleSerie: Ct }, "legends"));
24013
24013
  var mn = yY({ dataWithArc: be, arcGenerator: ve, centerX: _e, centerY: Ne, radius: Pe, innerRadius: at });
24014
24014
  return v.jsx(td, { width: Ke, height: Je, margin: dt, defs: Kt, role: Te, children: u.map(function(Vt, yr) {
24015
24015
  return de[Vt] !== void 0 ? de[Vt] : typeof Vt == "function" ? v.jsx(Lo, { children: Bt(Vt, mn) }, yr) : null;
@@ -24514,7 +24514,7 @@ var kT = function(e) {
24514
24514
  });
24515
24515
  return l;
24516
24516
  }, ZZ = vt(function(e) {
24517
- var t, n = e.value, r = e.format, i = e.lineX, a = e.lineY, o = e.onClick, s = e.textBaseline, c = e.textAnchor, l = e.animatedProps, u = yt(), d = u.axis.ticks.line, f = u.axis.ticks.text, h = (t = r == null ? void 0 : r(n)) != null ? t : n, m = Q(function() {
24517
+ var t, n = e.value, r = e.format, i = e.lineX, a = e.lineY, o = e.onClick, s = e.textBaseline, c = e.textAnchor, l = e.animatedProps, u = yt(), d = u.axis.ticks.line, f = u.axis.ticks.text, h = (t = r == null ? void 0 : r(n)) != null ? t : n, m = J(function() {
24518
24518
  var p = { opacity: l.opacity };
24519
24519
  return o ? { style: Wn({}, p, { cursor: "pointer" }), onClick: function(g) {
24520
24520
  return o(g, h);
@@ -24522,14 +24522,14 @@ var kT = function(e) {
24522
24522
  }, [l.opacity, o, h]);
24523
24523
  return v.jsxs(gt.g, Wn({ transform: l.transform }, m, { children: [v.jsx("line", { x1: 0, x2: i, y1: 0, y2: a, style: d }), f.outlineWidth > 0 && v.jsx(gt.text, { dominantBaseline: s, textAnchor: c, transform: l.textTransform, style: f, strokeWidth: 2 * f.outlineWidth, stroke: f.outlineColor, strokeLinejoin: "round", children: "" + h }), v.jsx(gt.text, { dominantBaseline: s, textAnchor: c, transform: l.textTransform, style: Lm(f), children: "" + h })] }));
24524
24524
  }), KZ = function(e) {
24525
- var t = e.axis, n = e.scale, r = e.x, i = r === void 0 ? 0 : r, a = e.y, o = a === void 0 ? 0 : a, s = e.length, c = e.ticksPosition, l = e.tickValues, u = e.tickSize, d = u === void 0 ? 5 : u, f = e.tickPadding, h = f === void 0 ? 5 : f, m = e.tickRotation, p = m === void 0 ? 0 : m, g = e.format, y = e.renderTick, x = y === void 0 ? ZZ : y, b = e.truncateTickAt, w = e.legend, _ = e.legendPosition, T = _ === void 0 ? "end" : _, C = e.legendOffset, M = C === void 0 ? 0 : C, O = e.onClick, k = e.ariaHidden, $ = yt(), D = $.axis.legend.text, S = Q(function() {
24525
+ var t = e.axis, n = e.scale, r = e.x, i = r === void 0 ? 0 : r, a = e.y, o = a === void 0 ? 0 : a, s = e.length, c = e.ticksPosition, l = e.tickValues, u = e.tickSize, d = u === void 0 ? 5 : u, f = e.tickPadding, h = f === void 0 ? 5 : f, m = e.tickRotation, p = m === void 0 ? 0 : m, g = e.format, y = e.renderTick, x = y === void 0 ? ZZ : y, b = e.truncateTickAt, w = e.legend, _ = e.legendPosition, T = _ === void 0 ? "end" : _, C = e.legendOffset, M = C === void 0 ? 0 : C, O = e.onClick, k = e.ariaHidden, $ = yt(), D = $.axis.legend.text, S = J(function() {
24526
24526
  return OT(g, n);
24527
24527
  }, [g, n]), E = kT({ axis: t, scale: n, ticksPosition: c, tickValues: l, tickSize: d, tickPadding: h, tickRotation: p, truncateTickAt: b }), j = E.ticks, I = E.textAlign, F = E.textBaseline, B = null;
24528
24528
  if (w !== void 0) {
24529
24529
  var W, N = 0, H = 0, q = 0;
24530
24530
  t === "y" ? (q = -90, N = M, T === "start" ? (W = "start", H = s) : T === "middle" ? (W = "middle", H = s / 2) : T === "end" && (W = "end")) : (H = M, T === "start" ? W = "start" : T === "middle" ? (W = "middle", N = s / 2) : T === "end" && (W = "end", N = s)), B = v.jsxs(v.Fragment, { children: [D.outlineWidth > 0 && v.jsx("text", { transform: "translate(" + N + ", " + H + ") rotate(" + q + ")", textAnchor: W, style: Wn({ dominantBaseline: "central" }, D), strokeWidth: 2 * D.outlineWidth, stroke: D.outlineColor, strokeLinejoin: "round", children: w }), v.jsx("text", { transform: "translate(" + N + ", " + H + ") rotate(" + q + ")", textAnchor: W, style: Wn({ dominantBaseline: "central" }, D), children: w })] });
24531
24531
  }
24532
- var J = wn(), Z = J.animate, te = J.config, Y = mr({ transform: "translate(" + i + "," + o + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: te, immediate: !Z }), X = U(function(V) {
24532
+ var ee = wn(), Z = ee.animate, te = ee.config, Y = mr({ transform: "translate(" + i + "," + o + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: te, immediate: !Z }), X = U(function(V) {
24533
24533
  return { opacity: 1, transform: "translate(" + V.x + "," + V.y + ")", textTransform: "translate(" + V.textX + "," + V.textY + ") rotate(" + p + ")" };
24534
24534
  }, [p]), z = U(function(V) {
24535
24535
  return { opacity: 0, transform: "translate(" + V.x + "," + V.y + ")", textTransform: "translate(" + V.textX + "," + V.textY + ") rotate(" + p + ")" };
@@ -24566,9 +24566,9 @@ var kT = function(e) {
24566
24566
  return Bt(QZ, Wn({}, s, { key: s.key, animatedProps: o }));
24567
24567
  }) });
24568
24568
  }), ET = vt(function(e) {
24569
- var t = e.width, n = e.height, r = e.xScale, i = e.yScale, a = e.xValues, o = e.yValues, s = Q(function() {
24569
+ var t = e.width, n = e.height, r = e.xScale, i = e.yScale, a = e.xValues, o = e.yValues, s = J(function() {
24570
24570
  return !!r && xh({ width: t, height: n, scale: r, axis: "x", values: a });
24571
- }, [r, a, t, n]), c = Q(function() {
24571
+ }, [r, a, t, n]), c = J(function() {
24572
24572
  return !!i && xh({ width: t, height: n, scale: i, axis: "y", values: o });
24573
24573
  }, [n, t, i, o]);
24574
24574
  return v.jsxs(v.Fragment, { children: [s && v.jsx(Wy, { lines: s }), c && v.jsx(Wy, { lines: c })] });
@@ -25295,7 +25295,7 @@ var Vm = function(e) {
25295
25295
  return { points: t, delaunay: s, voronoi: c };
25296
25296
  }, jT = function(e) {
25297
25297
  var t = e.points, n = e.getNodePosition, r = n === void 0 ? Vm : n, i = e.width, a = e.height, o = e.margin, s = o === void 0 ? Gs : o, c = e.debug;
25298
- return Q(function() {
25298
+ return J(function() {
25299
25299
  return OK({ points: kK({ points: t, margin: s, getNodePosition: r }), width: i, height: a, margin: s, debug: c });
25300
25300
  }, [t, i, a, s, c]);
25301
25301
  }, $K = function(e) {
@@ -25311,7 +25311,7 @@ var Vm = function(e) {
25311
25311
  bq(V, ne, fe + c.left, $e + c.top) > u && (A = null, le = null);
25312
25312
  }
25313
25313
  return A === null || le === null ? null : [A, le];
25314
- }, [t, a, n, i, c, u]), I = qi(), F = I.showTooltipAt, B = I.showTooltipFromEvent, W = I.hideTooltip, N = Q(function() {
25314
+ }, [t, a, n, i, c, u]), I = qi(), F = I.showTooltipAt, B = I.showTooltipFromEvent, W = I.hideTooltip, N = J(function() {
25315
25315
  if (T) return M === "cursor" ? function(z, L) {
25316
25316
  B(T(z), L, k);
25317
25317
  } : function(z) {
@@ -25333,7 +25333,7 @@ var Vm = function(e) {
25333
25333
  V !== le ? p == null || p(ue, z) : m == null || m(ne, z);
25334
25334
  } else h == null || h(ne, z);
25335
25335
  } else o == null || o(null), W == null || W(), E.current && (p == null || p(E.current[1], z));
25336
- }, [j, S, E, h, m, p, N, W]), J = U(function(z) {
25336
+ }, [j, S, E, h, m, p, N, W]), ee = U(function(z) {
25337
25337
  S(null), o == null || o(null), W(), p && E.current && p(E.current[1], z);
25338
25338
  }, [S, o, E, W, p]), Z = U(function(z) {
25339
25339
  var L = j(z);
@@ -25347,9 +25347,9 @@ var Vm = function(e) {
25347
25347
  }, [j, S, o, _, x]), X = U(function(z) {
25348
25348
  _ && (S(null), o == null || o(null)), b && E.current && b(E.current[1], z);
25349
25349
  }, [_, S, o, b, E]);
25350
- return { current: D, handleMouseEnter: f ? H : void 0, handleMouseMove: f ? q : void 0, handleMouseLeave: f ? J : void 0, handleClick: f ? Z : void 0, handleTouchStart: f ? te : void 0, handleTouchMove: f ? Y : void 0, handleTouchEnd: f ? X : void 0 };
25350
+ return { current: D, handleMouseEnter: f ? H : void 0, handleMouseMove: f ? q : void 0, handleMouseLeave: f ? ee : void 0, handleClick: f ? Z : void 0, handleTouchStart: f ? te : void 0, handleTouchMove: f ? Y : void 0, handleTouchEnd: f ? X : void 0 };
25351
25351
  }, CK = function(e) {
25352
- var t = e.nodes, n = e.width, r = e.height, i = e.margin, a = i === void 0 ? Gs : i, o = e.getNodePosition, s = e.setCurrent, c = e.onMouseEnter, l = e.onMouseMove, u = e.onMouseLeave, d = e.onClick, f = e.onTouchStart, h = e.onTouchMove, m = e.onTouchEnd, p = e.enableTouchCrosshair, g = p !== void 0 && p, y = e.detectionRadius, x = y === void 0 ? 1 / 0 : y, b = e.tooltip, w = e.tooltipPosition, _ = w === void 0 ? AT : w, T = e.tooltipAnchor, C = T === void 0 ? RT : T, M = e.debug, O = me(null), k = jT({ points: t, getNodePosition: o, width: n, height: r, margin: a, debug: M }), $ = k.delaunay, D = k.voronoi, S = $K({ elementRef: O, nodes: t, delaunay: $, margin: a, detectionRadius: x, setCurrent: s, onMouseEnter: c, onMouseMove: l, onMouseLeave: u, onClick: d, onTouchStart: f, onTouchMove: h, onTouchEnd: m, enableTouchCrosshair: g, tooltip: b, tooltipPosition: _, tooltipAnchor: C }), E = S.current, j = S.handleMouseEnter, I = S.handleMouseMove, F = S.handleMouseLeave, B = S.handleClick, W = S.handleTouchStart, N = S.handleTouchMove, H = S.handleTouchEnd, q = Q(function() {
25352
+ var t = e.nodes, n = e.width, r = e.height, i = e.margin, a = i === void 0 ? Gs : i, o = e.getNodePosition, s = e.setCurrent, c = e.onMouseEnter, l = e.onMouseMove, u = e.onMouseLeave, d = e.onClick, f = e.onTouchStart, h = e.onTouchMove, m = e.onTouchEnd, p = e.enableTouchCrosshair, g = p !== void 0 && p, y = e.detectionRadius, x = y === void 0 ? 1 / 0 : y, b = e.tooltip, w = e.tooltipPosition, _ = w === void 0 ? AT : w, T = e.tooltipAnchor, C = T === void 0 ? RT : T, M = e.debug, O = me(null), k = jT({ points: t, getNodePosition: o, width: n, height: r, margin: a, debug: M }), $ = k.delaunay, D = k.voronoi, S = $K({ elementRef: O, nodes: t, delaunay: $, margin: a, detectionRadius: x, setCurrent: s, onMouseEnter: c, onMouseMove: l, onMouseLeave: u, onClick: d, onTouchStart: f, onTouchMove: h, onTouchEnd: m, enableTouchCrosshair: g, tooltip: b, tooltipPosition: _, tooltipAnchor: C }), E = S.current, j = S.handleMouseEnter, I = S.handleMouseMove, F = S.handleMouseLeave, B = S.handleClick, W = S.handleTouchStart, N = S.handleTouchMove, H = S.handleTouchEnd, q = J(function() {
25353
25353
  if (M && D) return D.render();
25354
25354
  }, [M, D]);
25355
25355
  return v.jsxs("g", { ref: O, transform: "translate(" + -a.left + "," + -a.top + ")", children: [M && D && v.jsxs(v.Fragment, { children: [v.jsx("path", { d: q, stroke: "red", strokeWidth: 1, opacity: 0.75 }), x < 1 / 0 && v.jsx("path", { stroke: "red", strokeWidth: 0.35, fill: "none", d: $.renderPoints(void 0, x) }), E && v.jsx("path", { fill: "pink", opacity: 0.35, d: D.renderCell(E[0]) })] }), v.jsx("rect", { "data-ref": "mesh-interceptor", width: a.left + n + a.right, height: a.top + r + a.bottom, fill: "red", opacity: 0, style: { cursor: "auto" }, onMouseEnter: j, onMouseMove: I, onMouseLeave: F, onTouchStart: W, onTouchMove: N, onTouchEnd: H, onClick: B })] });
@@ -25379,7 +25379,7 @@ var qm = vt(function(e) {
25379
25379
  bn({}, IT, { pixelRatio: typeof window < "u" && window.devicePixelRatio || 1 });
25380
25380
  var AK = function(e) {
25381
25381
  var t = e.curve;
25382
- return Q(function() {
25382
+ return J(function() {
25383
25383
  return $m().defined(function(n) {
25384
25384
  return n.x !== null && n.y !== null;
25385
25385
  }).x(function(n) {
@@ -25390,7 +25390,7 @@ var AK = function(e) {
25390
25390
  }, [t]);
25391
25391
  }, RK = function(e) {
25392
25392
  var t = e.curve, n = e.yScale, r = e.areaBaselineValue;
25393
- return Q(function() {
25393
+ return J(function() {
25394
25394
  return KU().defined(function(i) {
25395
25395
  return i.x !== null && i.y !== null;
25396
25396
  }).x(function(i) {
@@ -25401,7 +25401,7 @@ var AK = function(e) {
25401
25401
  }, [t, n, r]);
25402
25402
  }, jK = function(e) {
25403
25403
  var t = e.componentId, n = e.enableSlices, r = e.points, i = e.width, a = e.height;
25404
- return Q(function() {
25404
+ return J(function() {
25405
25405
  if (n === !1) return [];
25406
25406
  if (n === "x") {
25407
25407
  var o = /* @__PURE__ */ new Map();
@@ -25427,11 +25427,11 @@ var AK = function(e) {
25427
25427
  }
25428
25428
  }, [t, n, a, r, i]);
25429
25429
  }, PK = "line", DT = function(e) {
25430
- var t = e.data, n = e.xScale, r = n === void 0 ? Br.xScale : n, i = e.xFormat, a = e.yScale, o = a === void 0 ? Br.yScale : a, s = e.yFormat, c = e.width, l = e.height, u = e.colors, d = u === void 0 ? Br.colors : u, f = e.curve, h = f === void 0 ? Br.curve : f, m = e.areaBaselineValue, p = m === void 0 ? Br.areaBaselineValue : m, g = e.pointColor, y = g === void 0 ? Br.pointColor : g, x = e.pointBorderColor, b = x === void 0 ? Br.pointBorderColor : x, w = e.enableSlices, _ = w === void 0 ? Br.enableSlicesTooltip : w, T = Oe(iK(PK))[0], C = Ia(i), M = Ia(s), O = Bm(d, "id"), k = yt(), $ = hr(y, k), D = hr(b, k), S = Oe([]), E = S[0], j = S[1], I = Q(function() {
25430
+ var t = e.data, n = e.xScale, r = n === void 0 ? Br.xScale : n, i = e.xFormat, a = e.yScale, o = a === void 0 ? Br.yScale : a, s = e.yFormat, c = e.width, l = e.height, u = e.colors, d = u === void 0 ? Br.colors : u, f = e.curve, h = f === void 0 ? Br.curve : f, m = e.areaBaselineValue, p = m === void 0 ? Br.areaBaselineValue : m, g = e.pointColor, y = g === void 0 ? Br.pointColor : g, x = e.pointBorderColor, b = x === void 0 ? Br.pointBorderColor : x, w = e.enableSlices, _ = w === void 0 ? Br.enableSlicesTooltip : w, T = Oe(iK(PK))[0], C = Ia(i), M = Ia(s), O = Bm(d, "id"), k = yt(), $ = hr(y, k), D = hr(b, k), S = Oe([]), E = S[0], j = S[1], I = J(function() {
25431
25431
  return zZ(t.filter(function(Y) {
25432
25432
  return E.indexOf(Y.id) === -1;
25433
25433
  }), r, o, c, l);
25434
- }, [t, E, r, o, c, l]), F = I.xScale, B = I.yScale, W = I.series, N = Q(function() {
25434
+ }, [t, E, r, o, c, l]), F = I.xScale, B = I.yScale, W = I.series, N = J(function() {
25435
25435
  var Y = t.map(function(z) {
25436
25436
  return { id: z.id, label: z.id, color: O(z) };
25437
25437
  }), X = Y.map(function(z) {
@@ -25446,7 +25446,7 @@ var AK = function(e) {
25446
25446
  return L.id === z.id;
25447
25447
  }) });
25448
25448
  }).reverse(), series: X };
25449
- }, [t, W, O]), H = N.legendData, q = N.series, J = U(function(Y) {
25449
+ }, [t, W, O]), H = N.legendData, q = N.series, ee = U(function(Y) {
25450
25450
  j(function(X) {
25451
25451
  return X.indexOf(Y) > -1 ? X.filter(function(z) {
25452
25452
  return z !== Y;
@@ -25454,7 +25454,7 @@ var AK = function(e) {
25454
25454
  });
25455
25455
  }, []), Z = function(Y) {
25456
25456
  var X = Y.series, z = Y.getPointColor, L = Y.getPointBorderColor, V = Y.formatX, ne = Y.formatY;
25457
- return Q(function() {
25457
+ return J(function() {
25458
25458
  return X.reduce(function(A, le) {
25459
25459
  return [].concat(A, le.data.filter(function(ue) {
25460
25460
  return ue.position.x !== null && ue.position.y !== null;
@@ -25465,7 +25465,7 @@ var AK = function(e) {
25465
25465
  }, []);
25466
25466
  }, [X, z, L, V, ne]);
25467
25467
  }({ series: q, getPointColor: $, getPointBorderColor: D, formatX: C, formatY: M }), te = jK({ componentId: T, enableSlices: _, points: Z, width: c, height: l });
25468
- return { legendData: H, toggleSerie: J, lineGenerator: AK({ curve: h }), areaGenerator: RK({ curve: h, yScale: B, areaBaselineValue: p }), getColor: O, series: q, xScale: F, yScale: B, slices: te, points: Z };
25468
+ return { legendData: H, toggleSerie: ee, lineGenerator: AK({ curve: h }), areaGenerator: RK({ curve: h, yScale: B, areaBaselineValue: p }), getColor: O, series: q, xScale: F, yScale: B, slices: te, points: Z };
25469
25469
  }, IK = function(e) {
25470
25470
  var t = e.areaBlendMode, n = e.areaOpacity, r = e.color, i = e.fill, a = e.path, o = wn(), s = o.animate, c = o.config, l = Dm(a), u = mr({ color: r, config: c, immediate: !s });
25471
25471
  return v.jsx(gt.path, { d: l, fill: i || u.color, fillOpacity: n, strokeWidth: 0, style: { mixBlendMode: t } });
@@ -25477,7 +25477,7 @@ var AK = function(e) {
25477
25477
  })) }, bn({ areaOpacity: n, areaBlendMode: r }, a)), a.id);
25478
25478
  }) });
25479
25479
  }), NK = vt(function(e) {
25480
- var t = e.lineGenerator, n = e.points, r = e.color, i = e.thickness, a = Q(function() {
25480
+ var t = e.lineGenerator, n = e.points, r = e.color, i = e.thickness, a = J(function() {
25481
25481
  return t(n);
25482
25482
  }, [t, n]), o = Dm(a);
25483
25483
  return v.jsx(gt.path, { d: o, fill: "none", strokeWidth: i, stroke: r });
@@ -25543,7 +25543,7 @@ var AK = function(e) {
25543
25543
  }, [f, x]);
25544
25544
  return v.jsx(CK, { nodes: t, width: n, height: r, setCurrent: a, onMouseEnter: b, onMouseMove: w, onMouseLeave: _, onClick: T, onTouchStart: C, onTouchMove: M, onTouchEnd: O, enableTouchCrosshair: p, debug: m });
25545
25545
  }), zK = rT(function(e) {
25546
- var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, a = e.yScale, o = a === void 0 ? { type: "linear", min: 0, max: "auto" } : a, s = e.yFormat, c = e.layers, l = c === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : c, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, m = e.colors, p = m === void 0 ? { scheme: "nivo" } : m, g = e.margin, y = e.width, x = e.height, b = e.axisTop, w = e.axisRight, _ = e.axisBottom, T = _ === void 0 ? {} : _, C = e.axisLeft, M = C === void 0 ? {} : C, O = e.enableGridX, k = O === void 0 || O, $ = e.enableGridY, D = $ === void 0 || $, S = e.gridXValues, E = e.gridYValues, j = e.lineWidth, I = j === void 0 ? 2 : j, F = e.enableArea, B = F !== void 0 && F, W = e.areaOpacity, N = W === void 0 ? 0.2 : W, H = e.areaBlendMode, q = H === void 0 ? "normal" : H, J = e.enablePoints, Z = J === void 0 || J, te = e.pointSymbol, Y = e.pointSize, X = Y === void 0 ? 6 : Y, z = e.pointColor, L = z === void 0 ? { from: "color" } : z, V = e.pointBorderWidth, ne = V === void 0 ? 0 : V, A = e.pointBorderColor, le = A === void 0 ? { theme: "background" } : A, ue = e.enablePointLabel, fe = ue !== void 0 && ue, $e = e.pointLabel, Ee = $e === void 0 ? "data.yFormatted" : $e, ut = e.pointLabelYOffset, ot = e.defs, Ve = ot === void 0 ? [] : ot, tt = e.fill, Qe = tt === void 0 ? [] : tt, he = e.markers, Me = e.legends, Re = Me === void 0 ? [] : Me, xe = e.isInteractive, Be = xe === void 0 || xe, nt = e.useMesh, Ut = nt !== void 0 && nt, _t = e.debugMesh, it = _t !== void 0 && _t, St = e.onMouseEnter, Lt = e.onMouseMove, lt = e.onMouseLeave, wt = e.onClick, kt = e.onTouchStart, qt = e.onTouchMove, Ie = e.onTouchEnd, Fe = e.tooltip, Ge = Fe === void 0 ? qm : Fe, st = e.enableSlices, Tt = st !== void 0 && st, Rt = e.debugSlices, an = Rt !== void 0 && Rt, zt = e.sliceTooltip, Yt = zt === void 0 ? PT : zt, Qt = e.enableCrosshair, It = Qt === void 0 || Qt, Gt = e.crosshairType, ln = Gt === void 0 ? "bottom-left" : Gt, Jt = e.enableTouchCrosshair, pe = Jt !== void 0 && Jt, Te = e.role, je = Te === void 0 ? "img" : Te, Ke = Vs(y, x, g), Je = Ke.margin, dt = Ke.innerWidth, R = Ke.innerHeight, ie = Ke.outerWidth, K = Ke.outerHeight, re = DT({ data: t, xScale: r, xFormat: i, yScale: o, yFormat: s, width: dt, height: R, colors: p, curve: d, areaBaselineValue: h, pointColor: L, pointBorderColor: le, enableSlices: Tt }), be = re.legendData, Ce = re.toggleSerie, ve = re.lineGenerator, _e = re.areaGenerator, Ne = re.series, Pe = re.xScale, at = re.yScale, Ht = re.slices, Ct = re.points, Kt = yt(), de = hr(L, Kt), mn = hr(le, Kt), Vt = Oe(null), yr = Vt[0], Gm = Vt[1], Zm = Oe(null), no = Zm[0], Km = Zm[1], ai = { grid: v.jsx(ET, { theme: Kt, width: dt, height: R, xScale: k ? Pe : null, yScale: D ? at : null, xValues: S, yValues: E }, "grid"), markers: v.jsx(nT, { markers: he, width: dt, height: R, xScale: Pe, yScale: at, theme: Kt }, "markers"), axes: v.jsx(CT, { xScale: Pe, yScale: at, width: dt, height: R, theme: Kt, top: b, right: w, bottom: T, left: M }, "axes"), areas: null, lines: v.jsx(LK, { lines: Ne, lineGenerator: ve, lineWidth: I }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: Re.map(function(oi, id) {
25546
+ var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, a = e.yScale, o = a === void 0 ? { type: "linear", min: 0, max: "auto" } : a, s = e.yFormat, c = e.layers, l = c === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : c, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, m = e.colors, p = m === void 0 ? { scheme: "nivo" } : m, g = e.margin, y = e.width, x = e.height, b = e.axisTop, w = e.axisRight, _ = e.axisBottom, T = _ === void 0 ? {} : _, C = e.axisLeft, M = C === void 0 ? {} : C, O = e.enableGridX, k = O === void 0 || O, $ = e.enableGridY, D = $ === void 0 || $, S = e.gridXValues, E = e.gridYValues, j = e.lineWidth, I = j === void 0 ? 2 : j, F = e.enableArea, B = F !== void 0 && F, W = e.areaOpacity, N = W === void 0 ? 0.2 : W, H = e.areaBlendMode, q = H === void 0 ? "normal" : H, ee = e.enablePoints, Z = ee === void 0 || ee, te = e.pointSymbol, Y = e.pointSize, X = Y === void 0 ? 6 : Y, z = e.pointColor, L = z === void 0 ? { from: "color" } : z, V = e.pointBorderWidth, ne = V === void 0 ? 0 : V, A = e.pointBorderColor, le = A === void 0 ? { theme: "background" } : A, ue = e.enablePointLabel, fe = ue !== void 0 && ue, $e = e.pointLabel, Ee = $e === void 0 ? "data.yFormatted" : $e, ut = e.pointLabelYOffset, ot = e.defs, Ve = ot === void 0 ? [] : ot, tt = e.fill, Qe = tt === void 0 ? [] : tt, he = e.markers, Me = e.legends, Re = Me === void 0 ? [] : Me, xe = e.isInteractive, Be = xe === void 0 || xe, nt = e.useMesh, Ut = nt !== void 0 && nt, _t = e.debugMesh, it = _t !== void 0 && _t, St = e.onMouseEnter, Lt = e.onMouseMove, lt = e.onMouseLeave, wt = e.onClick, kt = e.onTouchStart, qt = e.onTouchMove, Ie = e.onTouchEnd, Fe = e.tooltip, Ge = Fe === void 0 ? qm : Fe, st = e.enableSlices, Tt = st !== void 0 && st, Rt = e.debugSlices, an = Rt !== void 0 && Rt, zt = e.sliceTooltip, Yt = zt === void 0 ? PT : zt, Qt = e.enableCrosshair, It = Qt === void 0 || Qt, Gt = e.crosshairType, ln = Gt === void 0 ? "bottom-left" : Gt, Jt = e.enableTouchCrosshair, pe = Jt !== void 0 && Jt, Te = e.role, je = Te === void 0 ? "img" : Te, Ke = Vs(y, x, g), Je = Ke.margin, dt = Ke.innerWidth, R = Ke.innerHeight, ie = Ke.outerWidth, K = Ke.outerHeight, re = DT({ data: t, xScale: r, xFormat: i, yScale: o, yFormat: s, width: dt, height: R, colors: p, curve: d, areaBaselineValue: h, pointColor: L, pointBorderColor: le, enableSlices: Tt }), be = re.legendData, Ce = re.toggleSerie, ve = re.lineGenerator, _e = re.areaGenerator, Ne = re.series, Pe = re.xScale, at = re.yScale, Ht = re.slices, Ct = re.points, Kt = yt(), de = hr(L, Kt), mn = hr(le, Kt), Vt = Oe(null), yr = Vt[0], Gm = Vt[1], Zm = Oe(null), no = Zm[0], Km = Zm[1], ai = { grid: v.jsx(ET, { theme: Kt, width: dt, height: R, xScale: k ? Pe : null, yScale: D ? at : null, xValues: S, yValues: E }, "grid"), markers: v.jsx(nT, { markers: he, width: dt, height: R, xScale: Pe, yScale: at, theme: Kt }, "markers"), axes: v.jsx(CT, { xScale: Pe, yScale: at, width: dt, height: R, theme: Kt, top: b, right: w, bottom: T, left: M }, "axes"), areas: null, lines: v.jsx(LK, { lines: Ne, lineGenerator: ve, lineWidth: I }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: Re.map(function(oi, id) {
25547
25547
  return v.jsx(Um, bn({}, oi, { containerWidth: dt, containerHeight: R, data: oi.data || be, theme: Kt, toggleSerie: oi.toggleSerie ? Ce : void 0 }), "legend." + id);
25548
25548
  }) }, KT = Fm(Ve, Ne, Qe);
25549
25549
  return B && (ai.areas = v.jsx(DK, { areaGenerator: _e, areaOpacity: N, areaBlendMode: q, lines: Ne }, "areas")), Be && Tt !== !1 && (ai.slices = v.jsx(BK, { slices: Ht, axis: Tt, debug: an, height: R, tooltip: Yt, current: no, setCurrent: Km, onMouseEnter: St, onMouseMove: Lt, onMouseLeave: lt, onClick: wt, onTouchStart: kt, onTouchMove: qt, onTouchEnd: Ie }, "slices")), Z && (ai.points = v.jsx(WK, { points: Ct, symbol: te, size: X, color: de, borderWidth: ne, borderColor: mn, enableLabel: fe, label: Ee, labelYOffset: ut }, "points")), Be && It && (yr !== null && (ai.crosshair = v.jsx(Qf, { width: dt, height: R, x: yr.x, y: yr.y, type: ln }, "crosshair")), no !== null && (ai.crosshair = v.jsx(Qf, { width: dt, height: R, x: no.x, y: no.y, type: Tt }, "crosshair"))), Be && Ut && Tt === !1 && (ai.mesh = v.jsx(UK, { points: Ct, width: dt, height: R, margin: Je, current: yr, setCurrent: Gm, onMouseEnter: St, onMouseMove: Lt, onMouseLeave: lt, onClick: wt, onTouchStart: kt, onTouchMove: qt, onTouchEnd: Ie, tooltip: Ge, enableTouchCrosshair: pe, debug: it }, "mesh")), v.jsx(td, { defs: KT, width: ie, height: K, margin: Je, role: je, children: l.map(function(oi, id) {
@@ -25555,12 +25555,12 @@ var AK = function(e) {
25555
25555
  return v.jsx(zK, bn({ width: n, height: r }, e));
25556
25556
  } });
25557
25557
  }, HK = rT(function(e) {
25558
- var t = me(null), n = e.width, r = e.height, i = e.margin, a = e.pixelRatio, o = a === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : a, s = e.data, c = e.xScale, l = c === void 0 ? { type: "point" } : c, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, m = e.curve, p = m === void 0 ? "linear" : m, g = e.layers, y = g === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : g, x = e.colors, b = x === void 0 ? { scheme: "nivo" } : x, w = e.lineWidth, _ = w === void 0 ? 2 : w, T = e.enableArea, C = T !== void 0 && T, M = e.areaBaselineValue, O = M === void 0 ? 0 : M, k = e.areaOpacity, $ = k === void 0 ? 0.2 : k, D = e.enablePoints, S = D === void 0 || D, E = e.pointSize, j = E === void 0 ? 6 : E, I = e.pointColor, F = I === void 0 ? { from: "color" } : I, B = e.pointBorderWidth, W = B === void 0 ? 0 : B, N = e.pointBorderColor, H = N === void 0 ? { theme: "background" } : N, q = e.enableGridX, J = q === void 0 || q, Z = e.gridXValues, te = e.enableGridY, Y = te === void 0 || te, X = e.gridYValues, z = e.axisTop, L = e.axisRight, V = e.axisBottom, ne = V === void 0 ? {} : V, A = e.axisLeft, le = A === void 0 ? {} : A, ue = e.legends, fe = ue === void 0 ? [] : ue, $e = e.isInteractive, Ee = $e === void 0 || $e, ut = e.debugMesh, ot = ut !== void 0 && ut, Ve = e.onMouseLeave, tt = e.onClick, Qe = e.tooltip, he = Qe === void 0 ? qm : Qe, Me = e.canvasRef, Re = Vs(n, r, i), xe = Re.margin, Be = Re.innerWidth, nt = Re.innerHeight, Ut = Re.outerWidth, _t = Re.outerHeight, it = yt(), St = Oe(null), Lt = St[0], lt = St[1], wt = DT({ data: s, xScale: l, xFormat: u, yScale: f, yFormat: h, width: Be, height: nt, colors: b, curve: p, areaBaselineValue: O, pointColor: F, pointBorderColor: H }), kt = wt.lineGenerator, qt = wt.areaGenerator, Ie = wt.series, Fe = wt.xScale, Ge = wt.yScale, st = wt.points, Tt = jT({ points: st, width: Be, height: nt, debug: ot }), Rt = Tt.delaunay, an = Tt.voronoi;
25558
+ var t = me(null), n = e.width, r = e.height, i = e.margin, a = e.pixelRatio, o = a === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : a, s = e.data, c = e.xScale, l = c === void 0 ? { type: "point" } : c, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, m = e.curve, p = m === void 0 ? "linear" : m, g = e.layers, y = g === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : g, x = e.colors, b = x === void 0 ? { scheme: "nivo" } : x, w = e.lineWidth, _ = w === void 0 ? 2 : w, T = e.enableArea, C = T !== void 0 && T, M = e.areaBaselineValue, O = M === void 0 ? 0 : M, k = e.areaOpacity, $ = k === void 0 ? 0.2 : k, D = e.enablePoints, S = D === void 0 || D, E = e.pointSize, j = E === void 0 ? 6 : E, I = e.pointColor, F = I === void 0 ? { from: "color" } : I, B = e.pointBorderWidth, W = B === void 0 ? 0 : B, N = e.pointBorderColor, H = N === void 0 ? { theme: "background" } : N, q = e.enableGridX, ee = q === void 0 || q, Z = e.gridXValues, te = e.enableGridY, Y = te === void 0 || te, X = e.gridYValues, z = e.axisTop, L = e.axisRight, V = e.axisBottom, ne = V === void 0 ? {} : V, A = e.axisLeft, le = A === void 0 ? {} : A, ue = e.legends, fe = ue === void 0 ? [] : ue, $e = e.isInteractive, Ee = $e === void 0 || $e, ut = e.debugMesh, ot = ut !== void 0 && ut, Ve = e.onMouseLeave, tt = e.onClick, Qe = e.tooltip, he = Qe === void 0 ? qm : Qe, Me = e.canvasRef, Re = Vs(n, r, i), xe = Re.margin, Be = Re.innerWidth, nt = Re.innerHeight, Ut = Re.outerWidth, _t = Re.outerHeight, it = yt(), St = Oe(null), Lt = St[0], lt = St[1], wt = DT({ data: s, xScale: l, xFormat: u, yScale: f, yFormat: h, width: Be, height: nt, colors: b, curve: p, areaBaselineValue: O, pointColor: F, pointBorderColor: H }), kt = wt.lineGenerator, qt = wt.areaGenerator, Ie = wt.series, Fe = wt.xScale, Ge = wt.yScale, st = wt.points, Tt = jT({ points: st, width: Be, height: nt, debug: ot }), Rt = Tt.delaunay, an = Tt.voronoi;
25559
25559
  we(function() {
25560
25560
  Me && (Me.current = t.current), t.current.width = Ut * o, t.current.height = _t * o;
25561
25561
  var pe = t.current.getContext("2d");
25562
25562
  pe.scale(o, o), pe.fillStyle = it.background, pe.fillRect(0, 0, Ut, _t), pe.translate(xe.left, xe.top), y.forEach(function(Te) {
25563
- if (typeof Te == "function" && Te({ ctx: pe, innerWidth: Be, innerHeight: nt, series: Ie, points: st, xScale: Fe, yScale: Ge, lineWidth: _, lineGenerator: kt, areaGenerator: qt, currentPoint: Lt, setCurrentPoint: lt }), Te === "grid" && it.grid.line.strokeWidth > 0 && (pe.lineWidth = it.grid.line.strokeWidth, pe.strokeStyle = it.grid.line.stroke, J && kl(pe, { width: Be, height: nt, scale: Fe, axis: "x", values: Z }), Y && kl(pe, { width: Be, height: nt, scale: Ge, axis: "y", values: X })), Te === "axes" && MT(pe, { xScale: Fe, yScale: Ge, width: Be, height: nt, top: z, right: L, bottom: ne, left: le, theme: it }), Te === "areas" && C === !0) {
25563
+ if (typeof Te == "function" && Te({ ctx: pe, innerWidth: Be, innerHeight: nt, series: Ie, points: st, xScale: Fe, yScale: Ge, lineWidth: _, lineGenerator: kt, areaGenerator: qt, currentPoint: Lt, setCurrentPoint: lt }), Te === "grid" && it.grid.line.strokeWidth > 0 && (pe.lineWidth = it.grid.line.strokeWidth, pe.strokeStyle = it.grid.line.stroke, ee && kl(pe, { width: Be, height: nt, scale: Fe, axis: "x", values: Z }), Y && kl(pe, { width: Be, height: nt, scale: Ge, axis: "y", values: X })), Te === "axes" && MT(pe, { xScale: Fe, yScale: Ge, width: Be, height: nt, top: z, right: L, bottom: ne, left: le, theme: it }), Te === "areas" && C === !0) {
25564
25564
  pe.save(), pe.globalAlpha = $, qt.context(pe);
25565
25565
  for (var je = Ie.length - 1; je >= 0; je--) pe.fillStyle = Ie[je].color, pe.beginPath(), qt(Ie[je].data.map(function(Je) {
25566
25566
  return Je.position;
@@ -25582,7 +25582,7 @@ var AK = function(e) {
25582
25582
  });
25583
25583
  }
25584
25584
  });
25585
- }, [t, Ut, _t, y, it, kt, Ie, Fe, Ge, J, Z, Y, X, z, L, ne, le, fe, st, S, j, Lt]);
25585
+ }, [t, Ut, _t, y, it, kt, Ie, Fe, Ge, ee, Z, Y, X, z, L, ne, le, fe, st, S, j, Lt]);
25586
25586
  var zt = U(function(pe) {
25587
25587
  var Te = No(t.current, pe), je = Te[0], Ke = Te[1];
25588
25588
  if (!aT(xe.left, xe.top, Be, nt, je, Ke)) return null;
@@ -25850,25 +25850,25 @@ var wh = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, oee = f
25850
25850
  return (h + 90) % 360 > 180 ? (g -= c, y -= c) : y += c, { points: [[d, f], [t, n], [y, n]], text: [g, n - u], angle: h + 90 };
25851
25851
  }, HT = function(e) {
25852
25852
  var t = e.data, n = e.annotations, r = e.getPosition, i = e.getDimensions;
25853
- return Q(function() {
25853
+ return J(function() {
25854
25854
  return cee({ data: t, annotations: n, getPosition: r, getDimensions: i });
25855
25855
  }, [t, n, r, i]);
25856
25856
  }, uee = function(e) {
25857
25857
  var t = e.annotations;
25858
- return Q(function() {
25858
+ return J(function() {
25859
25859
  return t.map(function(n) {
25860
25860
  return pr({}, n, { computed: zT(pr({}, n)) });
25861
25861
  });
25862
25862
  }, [t]);
25863
25863
  }, dee = function(e) {
25864
- return Q(function() {
25864
+ return J(function() {
25865
25865
  return zT(e);
25866
25866
  }, [e]);
25867
25867
  }, fee = function(e) {
25868
25868
  var t = e.datum, n = e.x, r = e.y, i = e.note, a = yt(), o = wn(), s = o.animate, c = o.config, l = mr({ x: n, y: r, config: c, immediate: !s });
25869
25869
  return typeof i == "function" ? Bt(i, { x: n, y: r, datum: t }) : v.jsxs(v.Fragment, { children: [a.annotations.text.outlineWidth > 0 && v.jsx(gt.text, { x: l.x, y: l.y, style: pr({}, a.annotations.text, { strokeLinejoin: "round", strokeWidth: 2 * a.annotations.text.outlineWidth, stroke: a.annotations.text.outlineColor }), children: i }), v.jsx(gt.text, { x: l.x, y: l.y, style: UT(a.annotations.text, ["outlineWidth", "outlineColor"]), children: i })] });
25870
25870
  }, tb = function(e) {
25871
- var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = yt(), a = Q(function() {
25871
+ var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = yt(), a = J(function() {
25872
25872
  var c = t[0];
25873
25873
  return t.slice(1).reduce(function(l, u) {
25874
25874
  return l + " L" + u[0] + "," + u[1];
@@ -25934,7 +25934,7 @@ var rb, yee = function(e) {
25934
25934
  return v.jsx(Um, xt({}, c, { containerWidth: t, containerHeight: n, data: (s = c.data) != null ? s : l, toggleSerie: c.toggleSerie && c.dataFrom === "keys" ? i : void 0 }), o);
25935
25935
  }) });
25936
25936
  }, xee = ["data"], _ee = function(e) {
25937
- var t, n = e.bar, r = n.data, i = to(n, xee), a = e.style, o = a.borderColor, s = a.color, c = a.height, l = a.labelColor, u = a.labelOpacity, d = a.labelX, f = a.labelY, h = a.transform, m = a.width, p = e.borderRadius, g = e.borderWidth, y = e.label, x = e.shouldRenderLabel, b = e.isInteractive, w = e.onClick, _ = e.onMouseEnter, T = e.onMouseLeave, C = e.tooltip, M = e.isFocusable, O = e.ariaLabel, k = e.ariaLabelledBy, $ = e.ariaDescribedBy, D = yt(), S = qi(), E = S.showTooltipFromEvent, j = S.showTooltipAt, I = S.hideTooltip, F = Q(function() {
25937
+ var t, n = e.bar, r = n.data, i = to(n, xee), a = e.style, o = a.borderColor, s = a.color, c = a.height, l = a.labelColor, u = a.labelOpacity, d = a.labelX, f = a.labelY, h = a.transform, m = a.width, p = e.borderRadius, g = e.borderWidth, y = e.label, x = e.shouldRenderLabel, b = e.isInteractive, w = e.onClick, _ = e.onMouseEnter, T = e.onMouseLeave, C = e.tooltip, M = e.isFocusable, O = e.ariaLabel, k = e.ariaLabelledBy, $ = e.ariaDescribedBy, D = yt(), S = qi(), E = S.showTooltipFromEvent, j = S.showTooltipAt, I = S.hideTooltip, F = J(function() {
25938
25938
  return function() {
25939
25939
  return Bt(C, xt({}, i, r));
25940
25940
  };
@@ -25948,14 +25948,14 @@ var rb, yee = function(e) {
25948
25948
  T == null || T(r, Z), I();
25949
25949
  }, [r, I, T]), q = U(function() {
25950
25950
  j(F(), [i.absX + i.width / 2, i.absY]);
25951
- }, [j, F, i]), J = U(function() {
25951
+ }, [j, F, i]), ee = U(function() {
25952
25952
  I();
25953
25953
  }, [I]);
25954
25954
  return v.jsxs(gt.g, { transform: h, children: [v.jsx(gt.rect, { width: Qr(m, function(Z) {
25955
25955
  return Math.max(Z, 0);
25956
25956
  }), height: Qr(c, function(Z) {
25957
25957
  return Math.max(Z, 0);
25958
- }), rx: p, ry: p, fill: (t = r.fill) != null ? t : s, strokeWidth: g, stroke: o, focusable: M, tabIndex: M ? 0 : void 0, "aria-label": O ? O(r) : void 0, "aria-labelledby": k ? k(r) : void 0, "aria-describedby": $ ? $(r) : void 0, onMouseEnter: b ? N : void 0, onMouseMove: b ? W : void 0, onMouseLeave: b ? H : void 0, onClick: b ? B : void 0, onFocus: b && M ? q : void 0, onBlur: b && M ? J : void 0 }), x && v.jsx(gt.text, { x: d, y: f, textAnchor: "middle", dominantBaseline: "central", fillOpacity: u, style: xt({}, D.labels.text, { pointerEvents: "none", fill: l }), children: y })] });
25958
+ }), rx: p, ry: p, fill: (t = r.fill) != null ? t : s, strokeWidth: g, stroke: o, focusable: M, tabIndex: M ? 0 : void 0, "aria-label": O ? O(r) : void 0, "aria-labelledby": k ? k(r) : void 0, "aria-describedby": $ ? $(r) : void 0, onMouseEnter: b ? N : void 0, onMouseMove: b ? W : void 0, onMouseLeave: b ? H : void 0, onClick: b ? B : void 0, onFocus: b && M ? q : void 0, onBlur: b && M ? ee : void 0 }), x && v.jsx(gt.text, { x: d, y: f, textAnchor: "middle", dominantBaseline: "central", fillOpacity: u, style: xt({}, D.labels.text, { pointerEvents: "none", fill: l }), children: y })] });
25959
25959
  }, wee = ["color", "label"], Tee = function(e) {
25960
25960
  var t = e.color, n = e.label, r = to(e, wee);
25961
25961
  return v.jsx(Lp, { id: n, value: r.formattedValue, enableChip: !0, color: t });
@@ -26086,13 +26086,13 @@ var rb, yee = function(e) {
26086
26086
  var n = e.get(t) || 0;
26087
26087
  e.set(t, n + 1);
26088
26088
  }, ZT = function(e) {
26089
- var t = e.indexBy, n = t === void 0 ? Ot.indexBy : t, r = e.keys, i = r === void 0 ? Ot.keys : r, a = e.label, o = a === void 0 ? Ot.label : a, s = e.tooltipLabel, c = s === void 0 ? Ot.tooltipLabel : s, l = e.valueFormat, u = e.colors, d = u === void 0 ? Ot.colors : u, f = e.colorBy, h = f === void 0 ? Ot.colorBy : f, m = e.borderColor, p = m === void 0 ? Ot.borderColor : m, g = e.labelTextColor, y = g === void 0 ? Ot.labelTextColor : g, x = e.groupMode, b = x === void 0 ? Ot.groupMode : x, w = e.layout, _ = w === void 0 ? Ot.layout : w, T = e.reverse, C = T === void 0 ? Ot.reverse : T, M = e.data, O = e.minValue, k = O === void 0 ? Ot.minValue : O, $ = e.maxValue, D = $ === void 0 ? Ot.maxValue : $, S = e.margin, E = e.width, j = e.height, I = e.padding, F = I === void 0 ? Ot.padding : I, B = e.innerPadding, W = B === void 0 ? Ot.innerPadding : B, N = e.valueScale, H = N === void 0 ? Ot.valueScale : N, q = e.indexScale, J = q === void 0 ? Ot.indexScale : q, Z = e.initialHiddenIds, te = Z === void 0 ? Ot.initialHiddenIds : Z, Y = e.enableLabel, X = Y === void 0 ? Ot.enableLabel : Y, z = e.labelSkipWidth, L = z === void 0 ? Ot.labelSkipWidth : z, V = e.labelSkipHeight, ne = V === void 0 ? Ot.labelSkipHeight : V, A = e.legends, le = A === void 0 ? Ot.legends : A, ue = e.legendLabel, fe = e.totalsOffset, $e = fe === void 0 ? Ot.totalsOffset : fe, Ee = Oe(te ?? []), ut = Ee[0], ot = Ee[1], Ve = U(function(Ie) {
26089
+ var t = e.indexBy, n = t === void 0 ? Ot.indexBy : t, r = e.keys, i = r === void 0 ? Ot.keys : r, a = e.label, o = a === void 0 ? Ot.label : a, s = e.tooltipLabel, c = s === void 0 ? Ot.tooltipLabel : s, l = e.valueFormat, u = e.colors, d = u === void 0 ? Ot.colors : u, f = e.colorBy, h = f === void 0 ? Ot.colorBy : f, m = e.borderColor, p = m === void 0 ? Ot.borderColor : m, g = e.labelTextColor, y = g === void 0 ? Ot.labelTextColor : g, x = e.groupMode, b = x === void 0 ? Ot.groupMode : x, w = e.layout, _ = w === void 0 ? Ot.layout : w, T = e.reverse, C = T === void 0 ? Ot.reverse : T, M = e.data, O = e.minValue, k = O === void 0 ? Ot.minValue : O, $ = e.maxValue, D = $ === void 0 ? Ot.maxValue : $, S = e.margin, E = e.width, j = e.height, I = e.padding, F = I === void 0 ? Ot.padding : I, B = e.innerPadding, W = B === void 0 ? Ot.innerPadding : B, N = e.valueScale, H = N === void 0 ? Ot.valueScale : N, q = e.indexScale, ee = q === void 0 ? Ot.indexScale : q, Z = e.initialHiddenIds, te = Z === void 0 ? Ot.initialHiddenIds : Z, Y = e.enableLabel, X = Y === void 0 ? Ot.enableLabel : Y, z = e.labelSkipWidth, L = z === void 0 ? Ot.labelSkipWidth : z, V = e.labelSkipHeight, ne = V === void 0 ? Ot.labelSkipHeight : V, A = e.legends, le = A === void 0 ? Ot.legends : A, ue = e.legendLabel, fe = e.totalsOffset, $e = fe === void 0 ? Ot.totalsOffset : fe, Ee = Oe(te ?? []), ut = Ee[0], ot = Ee[1], Ve = U(function(Ie) {
26090
26090
  ot(function(Fe) {
26091
26091
  return Fe.indexOf(Ie) > -1 ? Fe.filter(function(Ge) {
26092
26092
  return Ge !== Ie;
26093
26093
  }) : [].concat(Fe, [Ie]);
26094
26094
  });
26095
- }, []), tt = Ai(n), Qe = Ai(o), he = Ai(c), Me = Ia(l), Re = yt(), xe = Bm(d, h), Be = hr(p, Re), nt = hr(y, Re), Ut = (b === "grouped" ? Cee : jee)({ layout: _, reverse: C, data: M, getIndex: tt, keys: i, minValue: k, maxValue: D, width: E, height: j, getColor: xe, padding: F, innerPadding: W, valueScale: H, indexScale: J, hiddenIds: ut, formatValue: Me, getTooltipLabel: he, margin: S }), _t = Ut.bars, it = Ut.xScale, St = Ut.yScale, Lt = Q(function() {
26095
+ }, []), tt = Ai(n), Qe = Ai(o), he = Ai(c), Me = Ia(l), Re = yt(), xe = Bm(d, h), Be = hr(p, Re), nt = hr(y, Re), Ut = (b === "grouped" ? Cee : jee)({ layout: _, reverse: C, data: M, getIndex: tt, keys: i, minValue: k, maxValue: D, width: E, height: j, getColor: xe, padding: F, innerPadding: W, valueScale: H, indexScale: ee, hiddenIds: ut, formatValue: Me, getTooltipLabel: he, margin: S }), _t = Ut.bars, it = Ut.xScale, St = Ut.yScale, Lt = J(function() {
26096
26096
  return _t.filter(function(Ie) {
26097
26097
  return Ie.data.value !== null;
26098
26098
  }).map(function(Ie, Fe) {
@@ -26101,18 +26101,18 @@ var rb, yee = function(e) {
26101
26101
  }, [_t]), lt = U(function(Ie) {
26102
26102
  var Fe = Ie.width, Ge = Ie.height;
26103
26103
  return !!X && !(L > 0 && Fe < L) && !(ne > 0 && Ge < ne);
26104
- }, [X, L, ne]), wt = Q(function() {
26104
+ }, [X, L, ne]), wt = J(function() {
26105
26105
  return i.map(function(Ie) {
26106
26106
  var Fe = _t.find(function(Ge) {
26107
26107
  return Ge.data.id === Ie;
26108
26108
  });
26109
26109
  return xt({}, Fe, { data: xt({ id: Ie }, Fe == null ? void 0 : Fe.data, { hidden: ut.includes(Ie) }) });
26110
26110
  });
26111
- }, [ut, i, _t]), kt = Q(function() {
26111
+ }, [ut, i, _t]), kt = J(function() {
26112
26112
  return le.map(function(Ie) {
26113
26113
  return [Ie, Pee({ bars: Ie.dataFrom === "keys" ? wt : _t, direction: Ie.direction, from: Ie.dataFrom, groupMode: b, layout: _, legendLabel: ue, reverse: C })];
26114
26114
  });
26115
- }, [le, wt, _t, b, _, ue, C]), qt = Q(function() {
26115
+ }, [le, wt, _t, b, _, ue, C]), qt = J(function() {
26116
26116
  return function(Ie, Fe, Ge, st, Tt, Rt, an) {
26117
26117
  st === void 0 && (st = Ot.layout), Tt === void 0 && (Tt = Ot.groupMode);
26118
26118
  var zt = [];
@@ -26157,7 +26157,7 @@ var rb, yee = function(e) {
26157
26157
  return v.jsx(gt.text, { x: s.x, y: s.y, fillOpacity: s.labelOpacity, style: xt({}, o.labels.text, { pointerEvents: "none", fill: o.text.fill }), fontWeight: "bold", fontSize: o.labels.text.fontSize, fontFamily: o.labels.text.fontFamily, textAnchor: a === "vertical" ? "middle" : "start", alignmentBaseline: a === "vertical" ? "alphabetic" : "middle", children: c.formattedValue }, c.key);
26158
26158
  });
26159
26159
  }, Fee = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], Bee = function(e) {
26160
- var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, a = e.width, o = e.height, s = e.groupMode, c = e.layout, l = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, m = e.padding, p = e.innerPadding, g = e.axisTop, y = e.axisRight, x = e.axisBottom, b = x === void 0 ? jt.axisBottom : x, w = e.axisLeft, _ = w === void 0 ? jt.axisLeft : w, T = e.enableGridX, C = T === void 0 ? jt.enableGridX : T, M = e.enableGridY, O = M === void 0 ? jt.enableGridY : M, k = e.gridXValues, $ = e.gridYValues, D = e.layers, S = D === void 0 ? jt.layers : D, E = e.barComponent, j = E === void 0 ? jt.barComponent : E, I = e.enableLabel, F = I === void 0 ? jt.enableLabel : I, B = e.label, W = e.labelSkipWidth, N = W === void 0 ? jt.labelSkipWidth : W, H = e.labelSkipHeight, q = H === void 0 ? jt.labelSkipHeight : H, J = e.labelTextColor, Z = e.markers, te = Z === void 0 ? jt.markers : Z, Y = e.colorBy, X = e.colors, z = e.defs, L = z === void 0 ? jt.defs : z, V = e.fill, ne = V === void 0 ? jt.fill : V, A = e.borderRadius, le = A === void 0 ? jt.borderRadius : A, ue = e.borderWidth, fe = ue === void 0 ? jt.borderWidth : ue, $e = e.borderColor, Ee = e.annotations, ut = Ee === void 0 ? jt.annotations : Ee, ot = e.legendLabel, Ve = e.tooltipLabel, tt = e.valueFormat, Qe = e.isInteractive, he = Qe === void 0 ? jt.isInteractive : Qe, Me = e.tooltip, Re = Me === void 0 ? jt.tooltip : Me, xe = e.onClick, Be = e.onMouseEnter, nt = e.onMouseLeave, Ut = e.legends, _t = e.role, it = _t === void 0 ? jt.role : _t, St = e.ariaLabel, Lt = e.ariaLabelledBy, lt = e.ariaDescribedBy, wt = e.isFocusable, kt = wt === void 0 ? jt.isFocusable : wt, qt = e.barAriaLabel, Ie = e.barAriaLabelledBy, Fe = e.barAriaDescribedBy, Ge = e.initialHiddenIds, st = e.enableTotals, Tt = st === void 0 ? jt.enableTotals : st, Rt = e.totalsOffset, an = Rt === void 0 ? jt.totalsOffset : Rt, zt = wn(), Yt = zt.animate, Qt = zt.config, It = Vs(a, o, i), Gt = It.outerWidth, ln = It.outerHeight, Jt = It.margin, pe = It.innerWidth, Te = It.innerHeight, je = ZT({ indexBy: n, label: B, tooltipLabel: Ve, valueFormat: tt, colors: X, colorBy: Y, borderColor: $e, labelTextColor: J, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: Jt, width: pe, height: Te, padding: m, innerPadding: p, valueScale: f, indexScale: h, enableLabel: F, labelSkipWidth: N, labelSkipHeight: q, legends: Ut, legendLabel: ot, initialHiddenIds: Ge, totalsOffset: an }), Ke = je.bars, Je = je.barsWithValue, dt = je.xScale, R = je.yScale, ie = je.getLabel, K = je.getTooltipLabel, re = je.getBorderColor, be = je.getLabelColor, Ce = je.shouldRenderBarLabel, ve = je.toggleSerie, _e = je.legendsWithData, Ne = je.barTotals, Pe = Vi(Je, { keys: function(de) {
26160
+ var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, a = e.width, o = e.height, s = e.groupMode, c = e.layout, l = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, m = e.padding, p = e.innerPadding, g = e.axisTop, y = e.axisRight, x = e.axisBottom, b = x === void 0 ? jt.axisBottom : x, w = e.axisLeft, _ = w === void 0 ? jt.axisLeft : w, T = e.enableGridX, C = T === void 0 ? jt.enableGridX : T, M = e.enableGridY, O = M === void 0 ? jt.enableGridY : M, k = e.gridXValues, $ = e.gridYValues, D = e.layers, S = D === void 0 ? jt.layers : D, E = e.barComponent, j = E === void 0 ? jt.barComponent : E, I = e.enableLabel, F = I === void 0 ? jt.enableLabel : I, B = e.label, W = e.labelSkipWidth, N = W === void 0 ? jt.labelSkipWidth : W, H = e.labelSkipHeight, q = H === void 0 ? jt.labelSkipHeight : H, ee = e.labelTextColor, Z = e.markers, te = Z === void 0 ? jt.markers : Z, Y = e.colorBy, X = e.colors, z = e.defs, L = z === void 0 ? jt.defs : z, V = e.fill, ne = V === void 0 ? jt.fill : V, A = e.borderRadius, le = A === void 0 ? jt.borderRadius : A, ue = e.borderWidth, fe = ue === void 0 ? jt.borderWidth : ue, $e = e.borderColor, Ee = e.annotations, ut = Ee === void 0 ? jt.annotations : Ee, ot = e.legendLabel, Ve = e.tooltipLabel, tt = e.valueFormat, Qe = e.isInteractive, he = Qe === void 0 ? jt.isInteractive : Qe, Me = e.tooltip, Re = Me === void 0 ? jt.tooltip : Me, xe = e.onClick, Be = e.onMouseEnter, nt = e.onMouseLeave, Ut = e.legends, _t = e.role, it = _t === void 0 ? jt.role : _t, St = e.ariaLabel, Lt = e.ariaLabelledBy, lt = e.ariaDescribedBy, wt = e.isFocusable, kt = wt === void 0 ? jt.isFocusable : wt, qt = e.barAriaLabel, Ie = e.barAriaLabelledBy, Fe = e.barAriaDescribedBy, Ge = e.initialHiddenIds, st = e.enableTotals, Tt = st === void 0 ? jt.enableTotals : st, Rt = e.totalsOffset, an = Rt === void 0 ? jt.totalsOffset : Rt, zt = wn(), Yt = zt.animate, Qt = zt.config, It = Vs(a, o, i), Gt = It.outerWidth, ln = It.outerHeight, Jt = It.margin, pe = It.innerWidth, Te = It.innerHeight, je = ZT({ indexBy: n, label: B, tooltipLabel: Ve, valueFormat: tt, colors: X, colorBy: Y, borderColor: $e, labelTextColor: ee, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: Jt, width: pe, height: Te, padding: m, innerPadding: p, valueScale: f, indexScale: h, enableLabel: F, labelSkipWidth: N, labelSkipHeight: q, legends: Ut, legendLabel: ot, initialHiddenIds: Ge, totalsOffset: an }), Ke = je.bars, Je = je.barsWithValue, dt = je.xScale, R = je.yScale, ie = je.getLabel, K = je.getTooltipLabel, re = je.getBorderColor, be = je.getLabelColor, Ce = je.shouldRenderBarLabel, ve = je.toggleSerie, _e = je.legendsWithData, Ne = je.barTotals, Pe = Vi(Je, { keys: function(de) {
26161
26161
  return de.key;
26162
26162
  }, from: function(de) {
26163
26163
  return xt({ borderColor: re(de), color: de.color, height: 0, labelColor: be(de), labelOpacity: 0, labelX: de.width / 2, labelY: de.height / 2, transform: "translate(" + de.x + ", " + (de.y + de.height) + ")", width: de.width }, c === "vertical" ? {} : { height: de.height, transform: "translate(" + de.x + ", " + de.y + ")", width: 0 });
@@ -26167,13 +26167,13 @@ var rb, yee = function(e) {
26167
26167
  return { borderColor: re(de), color: de.color, height: de.height, labelColor: be(de), labelOpacity: 1, labelX: de.width / 2, labelY: de.height / 2, transform: "translate(" + de.x + ", " + de.y + ")", width: de.width };
26168
26168
  }, leave: function(de) {
26169
26169
  return xt({ borderColor: re(de), color: de.color, height: 0, labelColor: be(de), labelOpacity: 0, labelX: de.width / 2, labelY: 0, transform: "translate(" + de.x + ", " + (de.y + de.height) + ")", width: de.width }, c === "vertical" ? {} : { labelX: 0, labelY: de.height / 2, height: de.height, transform: "translate(" + de.x + ", " + de.y + ")", width: 0 });
26170
- }, config: Qt, immediate: !Yt, initial: Yt ? void 0 : null }), at = Q(function() {
26170
+ }, config: Qt, immediate: !Yt, initial: Yt ? void 0 : null }), at = J(function() {
26171
26171
  return { borderRadius: le, borderWidth: fe, enableLabel: F, isInteractive: he, labelSkipWidth: N, labelSkipHeight: q, onClick: xe, onMouseEnter: Be, onMouseLeave: nt, getTooltipLabel: K, tooltip: Re, isFocusable: kt, ariaLabel: qt, ariaLabelledBy: Ie, ariaDescribedBy: Fe };
26172
26172
  }, [le, fe, F, K, he, q, N, xe, Be, nt, Re, kt, qt, Ie, Fe]), Ht = Fm(L, Ke, ne, { dataKey: "data", targetKey: "data.fill" }), Ct = { annotations: null, axes: null, bars: null, grid: null, legends: null, markers: null, totals: null };
26173
26173
  S.includes("annotations") && (Ct.annotations = v.jsx(yee, { bars: Ke, annotations: ut }, "annotations")), S.includes("axes") && (Ct.axes = v.jsx(CT, { xScale: dt, yScale: R, width: pe, height: Te, top: g, right: y, bottom: b, left: _ }, "axes")), S.includes("bars") && (Ct.bars = v.jsx(Lo, { children: Pe(function(de, mn) {
26174
26174
  return Bt(j, xt({}, at, { bar: mn, style: de, shouldRenderLabel: Ce(mn), label: ie(mn.data) }));
26175
26175
  }) }, "bars")), S.includes("grid") && (Ct.grid = v.jsx(ET, { width: pe, height: Te, xScale: C ? dt : null, yScale: O ? R : null, xValues: k, yValues: $ }, "grid")), S.includes("legends") && (Ct.legends = v.jsx(bee, { width: pe, height: Te, legends: _e, toggleSerie: ve }, "legends")), S.includes("markers") && (Ct.markers = v.jsx(nT, { markers: te, width: pe, height: Te, xScale: dt, yScale: R }, "markers")), S.includes("totals") && Tt && (Ct.totals = v.jsx(Lee, { data: Ne, springConfig: Qt, animate: Yt, layout: c }, "totals"));
26176
- var Kt = Q(function() {
26176
+ var Kt = J(function() {
26177
26177
  return xt({}, at, { margin: Jt, width: a, height: o, innerWidth: pe, innerHeight: Te, bars: Ke, legendData: _e, enableLabel: F, xScale: dt, yScale: R, tooltip: Re, getTooltipLabel: K, onClick: xe, onMouseEnter: Be, onMouseLeave: nt });
26178
26178
  }, [at, Jt, a, o, pe, Te, Ke, _e, F, dt, R, Re, K, xe, Be, nt]);
26179
26179
  return v.jsx(td, { width: Gt, height: ln, margin: Jt, defs: Ht, role: it, ariaLabel: St, ariaLabelledBy: Lt, ariaDescribedBy: lt, isFocusable: kt, children: S.map(function(de, mn) {
@@ -26195,12 +26195,12 @@ var rb, yee = function(e) {
26195
26195
  K.moveTo(Ne + Vt, Pe), K.lineTo(Ne + _e - Vt, Pe), K.quadraticCurveTo(Ne + _e, Pe, Ne + _e, Pe + Vt), K.lineTo(Ne + _e, Pe + ve - Vt), K.quadraticCurveTo(Ne + _e, Pe + ve, Ne + _e - Vt, Pe + ve), K.lineTo(Ne + Vt, Pe + ve), K.quadraticCurveTo(Ne, Pe + ve, Ne, Pe + ve - Vt), K.lineTo(Ne, Pe + Vt), K.quadraticCurveTo(Ne, Pe, Ne + Vt, Pe), K.closePath();
26196
26196
  } else K.rect(Ne, Pe, _e, ve);
26197
26197
  K.fill(), Ct > 0 && K.stroke(), mn && (K.textBaseline = "middle", K.textAlign = "center", K.fillStyle = de, K.fillText(Kt, Ne + _e / 2, Pe + ve / 2));
26198
- } : E, I = e.enableLabel, F = I === void 0 ? on.enableLabel : I, B = e.label, W = e.labelSkipWidth, N = W === void 0 ? on.labelSkipWidth : W, H = e.labelSkipHeight, q = H === void 0 ? on.labelSkipHeight : H, J = e.labelTextColor, Z = e.colorBy, te = e.colors, Y = e.borderRadius, X = Y === void 0 ? on.borderRadius : Y, z = e.borderWidth, L = z === void 0 ? on.borderWidth : z, V = e.borderColor, ne = e.annotations, A = ne === void 0 ? on.annotations : ne, le = e.legendLabel, ue = e.tooltipLabel, fe = e.valueFormat, $e = e.isInteractive, Ee = $e === void 0 ? on.isInteractive : $e, ut = e.tooltip, ot = ut === void 0 ? on.tooltip : ut, Ve = e.onClick, tt = e.onMouseEnter, Qe = e.onMouseLeave, he = e.legends, Me = e.pixelRatio, Re = Me === void 0 ? on.pixelRatio : Me, xe = e.canvasRef, Be = e.enableTotals, nt = Be === void 0 ? on.enableTotals : Be, Ut = e.totalsOffset, _t = Ut === void 0 ? on.totalsOffset : Ut, it = me(null), St = yt(), Lt = Vs(a, o, i), lt = Lt.margin, wt = Lt.innerWidth, kt = Lt.innerHeight, qt = Lt.outerWidth, Ie = Lt.outerHeight, Fe = ZT({ indexBy: n, label: B, tooltipLabel: ue, valueFormat: fe, colors: te, colorBy: Z, borderColor: V, labelTextColor: J, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: lt, width: wt, height: kt, padding: m, innerPadding: p, valueScale: f, indexScale: h, enableLabel: F, labelSkipWidth: N, labelSkipHeight: q, legends: he, legendLabel: le, totalsOffset: _t }), Ge = Fe.bars, st = Fe.barsWithValue, Tt = Fe.xScale, Rt = Fe.yScale, an = Fe.getLabel, zt = Fe.getTooltipLabel, Yt = Fe.getBorderColor, Qt = Fe.getLabelColor, It = Fe.shouldRenderBarLabel, Gt = Fe.legendsWithData, ln = Fe.barTotals, Jt = qi(), pe = Jt.showTooltipFromEvent, Te = Jt.hideTooltip, je = uee({ annotations: HT({ data: Ge, annotations: A, getPosition: function(K) {
26198
+ } : E, I = e.enableLabel, F = I === void 0 ? on.enableLabel : I, B = e.label, W = e.labelSkipWidth, N = W === void 0 ? on.labelSkipWidth : W, H = e.labelSkipHeight, q = H === void 0 ? on.labelSkipHeight : H, ee = e.labelTextColor, Z = e.colorBy, te = e.colors, Y = e.borderRadius, X = Y === void 0 ? on.borderRadius : Y, z = e.borderWidth, L = z === void 0 ? on.borderWidth : z, V = e.borderColor, ne = e.annotations, A = ne === void 0 ? on.annotations : ne, le = e.legendLabel, ue = e.tooltipLabel, fe = e.valueFormat, $e = e.isInteractive, Ee = $e === void 0 ? on.isInteractive : $e, ut = e.tooltip, ot = ut === void 0 ? on.tooltip : ut, Ve = e.onClick, tt = e.onMouseEnter, Qe = e.onMouseLeave, he = e.legends, Me = e.pixelRatio, Re = Me === void 0 ? on.pixelRatio : Me, xe = e.canvasRef, Be = e.enableTotals, nt = Be === void 0 ? on.enableTotals : Be, Ut = e.totalsOffset, _t = Ut === void 0 ? on.totalsOffset : Ut, it = me(null), St = yt(), Lt = Vs(a, o, i), lt = Lt.margin, wt = Lt.innerWidth, kt = Lt.innerHeight, qt = Lt.outerWidth, Ie = Lt.outerHeight, Fe = ZT({ indexBy: n, label: B, tooltipLabel: ue, valueFormat: fe, colors: te, colorBy: Z, borderColor: V, labelTextColor: ee, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: lt, width: wt, height: kt, padding: m, innerPadding: p, valueScale: f, indexScale: h, enableLabel: F, labelSkipWidth: N, labelSkipHeight: q, legends: he, legendLabel: le, totalsOffset: _t }), Ge = Fe.bars, st = Fe.barsWithValue, Tt = Fe.xScale, Rt = Fe.yScale, an = Fe.getLabel, zt = Fe.getTooltipLabel, Yt = Fe.getBorderColor, Qt = Fe.getLabelColor, It = Fe.shouldRenderBarLabel, Gt = Fe.legendsWithData, ln = Fe.barTotals, Jt = qi(), pe = Jt.showTooltipFromEvent, Te = Jt.hideTooltip, je = uee({ annotations: HT({ data: Ge, annotations: A, getPosition: function(K) {
26199
26199
  return { x: K.x, y: K.y };
26200
26200
  }, getDimensions: function(K) {
26201
26201
  var re = K.width, be = K.height;
26202
26202
  return { width: re, height: be, size: Math.max(re, be) };
26203
- } }) }), Ke = Q(function() {
26203
+ } }) }), Ke = J(function() {
26204
26204
  return { borderRadius: X, borderWidth: L, isInteractive: Ee, isFocusable: !1, labelSkipWidth: N, labelSkipHeight: q, margin: lt, width: a, height: o, innerWidth: wt, innerHeight: kt, bars: Ge, legendData: Gt, enableLabel: F, xScale: Tt, yScale: Rt, tooltip: ot, getTooltipLabel: zt, onClick: Ve, onMouseEnter: tt, onMouseLeave: Qe };
26205
26205
  }, [X, L, Ee, N, q, lt, a, o, wt, kt, Ge, Gt, F, Tt, Rt, ot, zt, Ve, tt, Qe]), Je = Ia(fe);
26206
26206
  we(function() {
@@ -26412,7 +26412,7 @@ export {
26412
26412
  _x as bx,
26413
26413
  Ate as by,
26414
26414
  ag as bz,
26415
- ee as c,
26415
+ Q as c,
26416
26416
  Cte as c0,
26417
26417
  Ete as c1,
26418
26418
  Mte as c2,