@ws-ui/roles-editor 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6,7 +6,7 @@ import { ControlledSwitch as Kb, Tip as mE, Portal as L4, useOutsideClick as KD,
6
6
  import { Popover as Mr } from "@headlessui/react";
7
7
  import * as Cw from "react-dom";
8
8
  import H4 from "react-dom";
9
- import { FdInfoBold as Pr, FdPlus as ri, FdRight as QD, FdGuest as U4, FdGroup as Hc, FdClose as eq, FdCheckCircle as V4, FdPen as tq, FdTrash as rq, FdBulb as ln, FdSearch as nq, FdAdjust as iq, FdReload as W4, FdClean as G4, FdDown as oq, FdFunctionDataclass as aq, FdFunctionDatastore as sq, FdFunctionEntity as uq, FdFunctionSelection as cq, FdTableHeader as fc, FdFunctionSingleton as lq, FdCode as fq, FdTableColumn as dq, FdModel3 as hq, FdSingleton as pq, FdInfoCircle as Yb, FdCrown as K4, FdSave as Y4, FdMinus as yE, FdCheckNaked as da, FdCollapseAll as X4 } from "@ws-ui/icons";
9
+ import { FdInfoBold as Pr, FdPlus as ri, FdRight as QD, FdGuest as U4, FdGroup as Hc, FdClose as eq, FdCheckCircle as V4, FdPen as tq, FdTrash as rq, FdBulb as ln, FdSearch as nq, FdAdjust as iq, FdReload as W4, FdClean as G4, FdDown as oq, FdTableHeader as fc, FdFunctionDataclass as aq, FdFunctionDatastore as sq, FdFunctionEntity as uq, FdFunctionSelection as cq, FdFunctionSingleton as lq, FdCode as fq, FdTableColumn as dq, FdModel3 as hq, FdSingleton as pq, FdInfoCircle as Yb, FdCrown as K4, FdSave as Y4, FdMinus as yE, FdCheckNaked as da, FdCollapseAll as X4 } from "@ws-ui/icons";
10
10
  import { ROLES_EDITOR_SCOPE_CLASS as Z4 } from "./common.es.js";
11
11
  var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
12
12
  function oi(e) {
@@ -423,23 +423,23 @@ function SE(e) {
423
423
  }
424
424
  if (i === rr || (i === tr || i === qr) && o === Za) {
425
425
  S = kr;
426
- var L = h && C === x && x.visualViewport ? x.visualViewport.width : (
426
+ var k = h && C === x && x.visualViewport ? x.visualViewport.width : (
427
427
  // $FlowFixMe[prop-missing]
428
428
  C[P]
429
429
  );
430
- v -= L - n.width, v *= c ? 1 : -1;
430
+ v -= k - n.width, v *= c ? 1 : -1;
431
431
  }
432
432
  }
433
433
  var $ = Object.assign({
434
434
  position: u
435
- }, d && SU), k = f === !0 ? OU({
435
+ }, d && SU), L = f === !0 ? OU({
436
436
  x: v,
437
437
  y
438
438
  }, gr(r)) : {
439
439
  x: v,
440
440
  y
441
441
  };
442
- if (v = k.x, y = k.y, c) {
442
+ if (v = L.x, y = L.y, c) {
443
443
  var M;
444
444
  return Object.assign({}, $, (M = {}, M[E] = _ ? "0" : "", M[S] = b ? "0" : "", M.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + y + "px)" : "translate3d(" + v + "px, " + y + "px, 0)", M));
445
445
  }
@@ -647,20 +647,20 @@ function Ja(e, t) {
647
647
  reference: C,
648
648
  element: S,
649
649
  placement: i
650
- }), P = Zb(Object.assign({}, S, R)), D = p === ha ? P : C, L = {
650
+ }), P = Zb(Object.assign({}, S, R)), D = p === ha ? P : C, k = {
651
651
  top: x.top - D.top + b.top,
652
652
  bottom: D.bottom - x.bottom + b.bottom,
653
653
  left: x.left - D.left + b.left,
654
654
  right: D.right - x.right + b.right
655
655
  }, $ = e.modifiersData.offset;
656
656
  if (p === ha && $) {
657
- var k = $[i];
658
- Object.keys(L).forEach(function(M) {
657
+ var L = $[i];
658
+ Object.keys(k).forEach(function(M) {
659
659
  var T = [kr, qr].indexOf(M) >= 0 ? 1 : -1, B = [tr, qr].indexOf(M) >= 0 ? "y" : "x";
660
- L[M] += k[B] * T;
660
+ k[M] += L[B] * T;
661
661
  });
662
662
  }
663
- return L;
663
+ return k;
664
664
  }
665
665
  function LU(e, t) {
666
666
  t === void 0 && (t = {});
@@ -700,8 +700,8 @@ function $U(e) {
700
700
  flipVariations: m,
701
701
  allowedAutoPlacements: y
702
702
  }) : W);
703
- }, []), x = t.rects.reference, C = t.rects.popper, R = /* @__PURE__ */ new Map(), P = !0, D = E[0], L = 0; L < E.length; L++) {
704
- var $ = E[L], k = hn($), M = No($) === Co, T = [tr, qr].indexOf(k) >= 0, B = T ? "width" : "height", j = Ja(t, {
703
+ }, []), x = t.rects.reference, C = t.rects.popper, R = /* @__PURE__ */ new Map(), P = !0, D = E[0], k = 0; k < E.length; k++) {
704
+ var $ = E[k], L = hn($), M = No($) === Co, T = [tr, qr].indexOf(L) >= 0, B = T ? "width" : "height", j = Ja(t, {
705
705
  placement: $,
706
706
  boundary: f,
707
707
  rootBoundary: h,
@@ -710,7 +710,7 @@ function $U(e) {
710
710
  }), V = T ? M ? kr : rr : M ? qr : tr;
711
711
  x[B] > C[B] && (V = tc(V));
712
712
  var K = tc(V), J = [];
713
- if (o && J.push(j[k] <= 0), u && J.push(j[V] <= 0, j[K] <= 0), J.every(function(F) {
713
+ if (o && J.push(j[L] <= 0), u && J.push(j[V] <= 0, j[K] <= 0), J.every(function(F) {
714
714
  return F;
715
715
  })) {
716
716
  D = $, P = !1;
@@ -836,13 +836,13 @@ function YU(e) {
836
836
  altBoundary: f
837
837
  }), b = hn(t.placement), _ = No(t.placement), S = !_, E = Tw(b), x = KU(E), C = t.modifiersData.popperOffsets, R = t.rects.reference, P = t.rects.popper, D = typeof y == "function" ? y(Object.assign({}, t.rects, {
838
838
  placement: t.placement
839
- })) : y, L = typeof D == "number" ? {
839
+ })) : y, k = typeof D == "number" ? {
840
840
  mainAxis: D,
841
841
  altAxis: D
842
842
  } : Object.assign({
843
843
  mainAxis: 0,
844
844
  altAxis: 0
845
- }, D), $ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, k = {
845
+ }, D), $ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
846
846
  x: 0,
847
847
  y: 0
848
848
  };
@@ -851,14 +851,14 @@ function YU(e) {
851
851
  var M, T = E === "y" ? tr : rr, B = E === "y" ? qr : kr, j = E === "y" ? "height" : "width", V = C[E], K = V + w[T], J = V - w[B], z = v ? -P[j] / 2 : 0, Z = _ === Co ? R[j] : P[j], se = _ === Co ? -P[j] : -R[j], oe = t.elements.arrow, F = v && oe ? Pw(oe) : {
852
852
  width: 0,
853
853
  height: 0
854
- }, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wq(), X = W[T], U = W[B], G = Va(0, R[j], F[j]), re = S ? R[j] / 2 - z - G - X - L.mainAxis : Z - G - X - L.mainAxis, te = S ? -R[j] / 2 + z + G + U + L.mainAxis : se + G + U + L.mainAxis, ae = t.elements.arrow && cs(t.elements.arrow), de = ae ? E === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, we = (M = $ == null ? void 0 : $[E]) != null ? M : 0, Ee = V + re - we - de, _e = V + te - we, he = Va(v ? dc(K, Ee) : K, V, v ? Si(J, _e) : J);
855
- C[E] = he, k[E] = he - V;
854
+ }, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wq(), X = W[T], U = W[B], G = Va(0, R[j], F[j]), re = S ? R[j] / 2 - z - G - X - k.mainAxis : Z - G - X - k.mainAxis, te = S ? -R[j] / 2 + z + G + U + k.mainAxis : se + G + U + k.mainAxis, ae = t.elements.arrow && cs(t.elements.arrow), de = ae ? E === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, we = (M = $ == null ? void 0 : $[E]) != null ? M : 0, Ee = V + re - we - de, _e = V + te - we, he = Va(v ? dc(K, Ee) : K, V, v ? Si(J, _e) : J);
855
+ C[E] = he, L[E] = he - V;
856
856
  }
857
857
  if (u) {
858
- var ie, Se = E === "x" ? tr : rr, Pe = E === "x" ? qr : kr, Ge = C[x], Be = x === "y" ? "height" : "width", et = Ge + w[Se], Xe = Ge - w[Pe], xt = [tr, rr].indexOf(b) !== -1, it = (ie = $ == null ? void 0 : $[x]) != null ? ie : 0, $t = xt ? et : Ge - R[Be] - P[Be] - it + L.altAxis, dt = xt ? Ge + R[Be] + P[Be] - it - L.altAxis : Xe, ot = v && xt ? bU($t, Ge, dt) : Va(v ? $t : et, Ge, v ? dt : Xe);
859
- C[x] = ot, k[x] = ot - Ge;
858
+ var ie, Se = E === "x" ? tr : rr, Pe = E === "x" ? qr : kr, Ge = C[x], Be = x === "y" ? "height" : "width", et = Ge + w[Se], Xe = Ge - w[Pe], xt = [tr, rr].indexOf(b) !== -1, it = (ie = $ == null ? void 0 : $[x]) != null ? ie : 0, $t = xt ? et : Ge - R[Be] - P[Be] - it + k.altAxis, dt = xt ? Ge + R[Be] + P[Be] - it - k.altAxis : Xe, ot = v && xt ? bU($t, Ge, dt) : Va(v ? $t : et, Ge, v ? dt : Xe);
859
+ C[x] = ot, L[x] = ot - Ge;
860
860
  }
861
- t.modifiersData[n] = k;
861
+ t.modifiersData[n] = L;
862
862
  }
863
863
  }
864
864
  const XU = {
@@ -1000,8 +1000,8 @@ function oV(e) {
1000
1000
  f.rects = {
1001
1001
  reference: eV(_, cs(S), f.options.strategy === "fixed"),
1002
1002
  popper: Pw(S)
1003
- }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
1004
- return f.modifiersData[L.name] = Object.assign({}, L.data);
1003
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(k) {
1004
+ return f.modifiersData[k.name] = Object.assign({}, k.data);
1005
1005
  });
1006
1006
  for (var E = 0; E < f.orderedModifiers.length; E++) {
1007
1007
  if (f.reset === !0) {
@@ -1852,12 +1852,12 @@ var _h, kS;
1852
1852
  function HV() {
1853
1853
  if (kS) return _h;
1854
1854
  kS = 1;
1855
- var e = ki(), t = $w(), r = yn(), n = "[object Arguments]", i = "[object Array]", o = "[object Boolean]", a = "[object Date]", u = "[object Error]", c = "[object Function]", d = "[object Map]", f = "[object Number]", h = "[object Object]", p = "[object RegExp]", v = "[object Set]", m = "[object String]", y = "[object WeakMap]", w = "[object ArrayBuffer]", b = "[object DataView]", _ = "[object Float32Array]", S = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", P = "[object Uint8ClampedArray]", D = "[object Uint16Array]", L = "[object Uint32Array]", $ = {};
1856
- $[_] = $[S] = $[E] = $[x] = $[C] = $[R] = $[P] = $[D] = $[L] = !0, $[n] = $[i] = $[w] = $[o] = $[b] = $[a] = $[u] = $[c] = $[d] = $[f] = $[h] = $[p] = $[v] = $[m] = $[y] = !1;
1857
- function k(M) {
1855
+ var e = ki(), t = $w(), r = yn(), n = "[object Arguments]", i = "[object Array]", o = "[object Boolean]", a = "[object Date]", u = "[object Error]", c = "[object Function]", d = "[object Map]", f = "[object Number]", h = "[object Object]", p = "[object RegExp]", v = "[object Set]", m = "[object String]", y = "[object WeakMap]", w = "[object ArrayBuffer]", b = "[object DataView]", _ = "[object Float32Array]", S = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", P = "[object Uint8ClampedArray]", D = "[object Uint16Array]", k = "[object Uint32Array]", $ = {};
1856
+ $[_] = $[S] = $[E] = $[x] = $[C] = $[R] = $[P] = $[D] = $[k] = !0, $[n] = $[i] = $[w] = $[o] = $[b] = $[a] = $[u] = $[c] = $[d] = $[f] = $[h] = $[p] = $[v] = $[m] = $[y] = !1;
1857
+ function L(M) {
1858
1858
  return r(M) && t(M.length) && !!$[e(M)];
1859
1859
  }
1860
- return _h = k, _h;
1860
+ return _h = L, _h;
1861
1861
  }
1862
1862
  var xh, LS;
1863
1863
  function el() {
@@ -2299,14 +2299,14 @@ function oW() {
2299
2299
  if (EO) return ap;
2300
2300
  EO = 1;
2301
2301
  var e = Uw(), t = rW(), r = nW(), n = iW(), i = jq(), o = "[object Boolean]", a = "[object Date]", u = "[object Map]", c = "[object Number]", d = "[object RegExp]", f = "[object Set]", h = "[object String]", p = "[object Symbol]", v = "[object ArrayBuffer]", m = "[object DataView]", y = "[object Float32Array]", w = "[object Float64Array]", b = "[object Int8Array]", _ = "[object Int16Array]", S = "[object Int32Array]", E = "[object Uint8Array]", x = "[object Uint8ClampedArray]", C = "[object Uint16Array]", R = "[object Uint32Array]";
2302
- function P(D, L, $) {
2303
- var k = D.constructor;
2304
- switch (L) {
2302
+ function P(D, k, $) {
2303
+ var L = D.constructor;
2304
+ switch (k) {
2305
2305
  case v:
2306
2306
  return e(D);
2307
2307
  case o:
2308
2308
  case a:
2309
- return new k(+D);
2309
+ return new L(+D);
2310
2310
  case m:
2311
2311
  return t(D, $);
2312
2312
  case y:
@@ -2320,14 +2320,14 @@ function oW() {
2320
2320
  case R:
2321
2321
  return i(D, $);
2322
2322
  case u:
2323
- return new k();
2323
+ return new L();
2324
2324
  case c:
2325
2325
  case h:
2326
- return new k(D);
2326
+ return new L(D);
2327
2327
  case d:
2328
2328
  return r(D);
2329
2329
  case f:
2330
- return new k();
2330
+ return new L();
2331
2331
  case p:
2332
2332
  return n(D);
2333
2333
  }
@@ -2401,8 +2401,8 @@ var hp, PO;
2401
2401
  function Hq() {
2402
2402
  if (PO) return hp;
2403
2403
  PO = 1;
2404
- var e = Xc(), t = Bw(), r = Jc(), n = VV(), i = KV(), o = Tq(), a = Aq(), u = YV(), c = XV(), d = Lq(), f = ZV(), h = Lo(), p = tW(), v = oW(), m = zq(), y = Et(), w = ko(), b = sW(), _ = Lr(), S = cW(), E = si(), x = Bi(), C = 1, R = 2, P = 4, D = "[object Arguments]", L = "[object Array]", $ = "[object Boolean]", k = "[object Date]", M = "[object Error]", T = "[object Function]", B = "[object GeneratorFunction]", j = "[object Map]", V = "[object Number]", K = "[object Object]", J = "[object RegExp]", z = "[object Set]", Z = "[object String]", se = "[object Symbol]", oe = "[object WeakMap]", F = "[object ArrayBuffer]", W = "[object DataView]", X = "[object Float32Array]", U = "[object Float64Array]", G = "[object Int8Array]", re = "[object Int16Array]", te = "[object Int32Array]", ae = "[object Uint8Array]", de = "[object Uint8ClampedArray]", we = "[object Uint16Array]", Ee = "[object Uint32Array]", _e = {};
2405
- _e[D] = _e[L] = _e[F] = _e[W] = _e[$] = _e[k] = _e[X] = _e[U] = _e[G] = _e[re] = _e[te] = _e[j] = _e[V] = _e[K] = _e[J] = _e[z] = _e[Z] = _e[se] = _e[ae] = _e[de] = _e[we] = _e[Ee] = !0, _e[M] = _e[T] = _e[oe] = !1;
2404
+ var e = Xc(), t = Bw(), r = Jc(), n = VV(), i = KV(), o = Tq(), a = Aq(), u = YV(), c = XV(), d = Lq(), f = ZV(), h = Lo(), p = tW(), v = oW(), m = zq(), y = Et(), w = ko(), b = sW(), _ = Lr(), S = cW(), E = si(), x = Bi(), C = 1, R = 2, P = 4, D = "[object Arguments]", k = "[object Array]", $ = "[object Boolean]", L = "[object Date]", M = "[object Error]", T = "[object Function]", B = "[object GeneratorFunction]", j = "[object Map]", V = "[object Number]", K = "[object Object]", J = "[object RegExp]", z = "[object Set]", Z = "[object String]", se = "[object Symbol]", oe = "[object WeakMap]", F = "[object ArrayBuffer]", W = "[object DataView]", X = "[object Float32Array]", U = "[object Float64Array]", G = "[object Int8Array]", re = "[object Int16Array]", te = "[object Int32Array]", ae = "[object Uint8Array]", de = "[object Uint8ClampedArray]", we = "[object Uint16Array]", Ee = "[object Uint32Array]", _e = {};
2405
+ _e[D] = _e[k] = _e[F] = _e[W] = _e[$] = _e[L] = _e[X] = _e[U] = _e[G] = _e[re] = _e[te] = _e[j] = _e[V] = _e[K] = _e[J] = _e[z] = _e[Z] = _e[se] = _e[ae] = _e[de] = _e[we] = _e[Ee] = !0, _e[M] = _e[T] = _e[oe] = !1;
2406
2406
  function he(ie, Se, Pe, Ge, Be, et) {
2407
2407
  var Xe, xt = Se & C, it = Se & R, $t = Se & P;
2408
2408
  if (Pe && (Xe = Be ? Pe(ie, Ge, Be, et) : Pe(ie)), Xe !== void 0)
@@ -2689,7 +2689,7 @@ function yW() {
2689
2689
  if (ZO) return Dp;
2690
2690
  ZO = 1;
2691
2691
  var e = qo(), t = $q(), r = Do(), n = Yq(), i = mW(), o = Kw(), a = 1, u = 2, c = "[object Boolean]", d = "[object Date]", f = "[object Error]", h = "[object Map]", p = "[object Number]", v = "[object RegExp]", m = "[object Set]", y = "[object String]", w = "[object Symbol]", b = "[object ArrayBuffer]", _ = "[object DataView]", S = e ? e.prototype : void 0, E = S ? S.valueOf : void 0;
2692
- function x(C, R, P, D, L, $, k) {
2692
+ function x(C, R, P, D, k, $, L) {
2693
2693
  switch (P) {
2694
2694
  case _:
2695
2695
  if (C.byteLength != R.byteLength || C.byteOffset != R.byteOffset)
@@ -2712,12 +2712,12 @@ function yW() {
2712
2712
  var T = D & a;
2713
2713
  if (M || (M = o), C.size != R.size && !T)
2714
2714
  return !1;
2715
- var B = k.get(C);
2715
+ var B = L.get(C);
2716
2716
  if (B)
2717
2717
  return B == R;
2718
- D |= u, k.set(C, R);
2719
- var j = n(M(C), M(R), D, L, $, k);
2720
- return k.delete(C), j;
2718
+ D |= u, L.set(C, R);
2719
+ var j = n(M(C), M(R), D, k, $, L);
2720
+ return L.delete(C), j;
2721
2721
  case w:
2722
2722
  if (E)
2723
2723
  return E.call(C) == E.call(R);
@@ -2757,8 +2757,8 @@ function bW() {
2757
2757
  x || (x = b == "constructor");
2758
2758
  }
2759
2759
  if (E && !x) {
2760
- var D = o.constructor, L = a.constructor;
2761
- D != L && "constructor" in o && "constructor" in a && !(typeof D == "function" && D instanceof D && typeof L == "function" && L instanceof L) && (E = !1);
2760
+ var D = o.constructor, k = a.constructor;
2761
+ D != k && "constructor" in o && "constructor" in a && !(typeof D == "function" && D instanceof D && typeof k == "function" && k instanceof k) && (E = !1);
2762
2762
  }
2763
2763
  return f.delete(o), f.delete(a), E;
2764
2764
  }
@@ -2772,7 +2772,7 @@ function wW() {
2772
2772
  function m(y, w, b, _, S, E) {
2773
2773
  var x = o(y), C = o(w), R = x ? f : i(y), P = C ? f : i(w);
2774
2774
  R = R == d ? h : R, P = P == d ? h : P;
2775
- var D = R == h, L = P == h, $ = R == P;
2775
+ var D = R == h, k = P == h, $ = R == P;
2776
2776
  if ($ && a(y)) {
2777
2777
  if (!a(w))
2778
2778
  return !1;
@@ -2781,9 +2781,9 @@ function wW() {
2781
2781
  if ($ && !D)
2782
2782
  return E || (E = new e()), x || u(y) ? t(y, w, b, _, S, E) : r(y, w, R, b, _, S, E);
2783
2783
  if (!(b & c)) {
2784
- var k = D && v.call(y, "__wrapped__"), M = L && v.call(w, "__wrapped__");
2785
- if (k || M) {
2786
- var T = k ? y.value() : y, B = M ? w.value() : w;
2784
+ var L = D && v.call(y, "__wrapped__"), M = k && v.call(w, "__wrapped__");
2785
+ if (L || M) {
2786
+ var T = L ? y.value() : y, B = M ? w.value() : w;
2787
2787
  return E || (E = new e()), S(T, B, b, _, E);
2788
2788
  }
2789
2789
  }
@@ -4519,12 +4519,12 @@ function M6() {
4519
4519
  e(w, _, D);
4520
4520
  return;
4521
4521
  }
4522
- var L = x ? x(R, P, _ + "", w, b, C) : void 0, $ = L === void 0;
4522
+ var k = x ? x(R, P, _ + "", w, b, C) : void 0, $ = k === void 0;
4523
4523
  if ($) {
4524
- var k = a(P), M = !k && c(P), T = !k && !M && p(P);
4525
- L = P, k || M || T ? a(R) ? L = R : u(R) ? L = n(R) : M ? ($ = !1, L = t(P, !0)) : T ? ($ = !1, L = r(P, !0)) : L = [] : h(P) || o(P) ? (L = R, o(R) ? L = m(R) : (!f(R) || d(R)) && (L = i(P))) : $ = !1;
4524
+ var L = a(P), M = !L && c(P), T = !L && !M && p(P);
4525
+ k = P, L || M || T ? a(R) ? k = R : u(R) ? k = n(R) : M ? ($ = !1, k = t(P, !0)) : T ? ($ = !1, k = r(P, !0)) : k = [] : h(P) || o(P) ? (k = R, o(R) ? k = m(R) : (!f(R) || d(R)) && (k = i(P))) : $ = !1;
4526
4526
  }
4527
- $ && (C.set(P, L), E(L, P, S, x, C), C.delete(P)), e(w, _, L);
4527
+ $ && (C.set(P, k), E(k, P, S, x, C), C.delete(P)), e(w, _, k);
4528
4528
  }
4529
4529
  return kg = y, kg;
4530
4530
  }
@@ -5265,25 +5265,25 @@ function a8() {
5265
5265
  S.edge(x, R).cutvalue = f(S, E, x);
5266
5266
  }
5267
5267
  function f(S, E, x) {
5268
- var C = S.node(x), R = C.parent, P = !0, D = E.edge(x, R), L = 0;
5269
- return D || (P = !1, D = E.edge(R, x)), L = D.weight, e.forEach(E.nodeEdges(x), function($) {
5270
- var k = $.v === x, M = k ? $.w : $.v;
5268
+ var C = S.node(x), R = C.parent, P = !0, D = E.edge(x, R), k = 0;
5269
+ return D || (P = !1, D = E.edge(R, x)), k = D.weight, e.forEach(E.nodeEdges(x), function($) {
5270
+ var L = $.v === x, M = L ? $.w : $.v;
5271
5271
  if (M !== R) {
5272
- var T = k === P, B = E.edge($).weight;
5273
- if (L += T ? B : -B, b(S, x, M)) {
5272
+ var T = L === P, B = E.edge($).weight;
5273
+ if (k += T ? B : -B, b(S, x, M)) {
5274
5274
  var j = S.edge(x, M).cutvalue;
5275
- L += T ? -j : j;
5275
+ k += T ? -j : j;
5276
5276
  }
5277
5277
  }
5278
- }), L;
5278
+ }), k;
5279
5279
  }
5280
5280
  function h(S, E) {
5281
5281
  arguments.length < 2 && (E = S.nodes()[0]), p(S, {}, 1, E);
5282
5282
  }
5283
5283
  function p(S, E, x, C, R) {
5284
5284
  var P = x, D = S.node(C);
5285
- return E[C] = !0, e.forEach(S.neighbors(C), function(L) {
5286
- e.has(E, L) || (x = p(S, E, x, L, C));
5285
+ return E[C] = !0, e.forEach(S.neighbors(C), function(k) {
5286
+ e.has(E, k) || (x = p(S, E, x, k, C));
5287
5287
  }), D.low = P, D.lim = x++, R ? D.parent = R : delete D.parent, x;
5288
5288
  }
5289
5289
  function v(S) {
@@ -5294,12 +5294,12 @@ function a8() {
5294
5294
  function m(S, E, x) {
5295
5295
  var C = x.v, R = x.w;
5296
5296
  E.hasEdge(C, R) || (C = x.w, R = x.v);
5297
- var P = S.node(C), D = S.node(R), L = P, $ = !1;
5298
- P.lim > D.lim && (L = D, $ = !0);
5299
- var k = e.filter(E.edges(), function(M) {
5300
- return $ === _(S, S.node(M.v), L) && $ !== _(S, S.node(M.w), L);
5297
+ var P = S.node(C), D = S.node(R), k = P, $ = !1;
5298
+ P.lim > D.lim && (k = D, $ = !0);
5299
+ var L = e.filter(E.edges(), function(M) {
5300
+ return $ === _(S, S.node(M.v), k) && $ !== _(S, S.node(M.w), k);
5301
5301
  });
5302
- return e.minBy(k, function(M) {
5302
+ return e.minBy(L, function(M) {
5303
5303
  return r(E, M);
5304
5304
  });
5305
5305
  }
@@ -5312,8 +5312,8 @@ function a8() {
5312
5312
  return !E.node(R).parent;
5313
5313
  }), C = i(S, x);
5314
5314
  C = C.slice(1), e.forEach(C, function(R) {
5315
- var P = S.node(R).parent, D = E.edge(R, P), L = !1;
5316
- D || (D = E.edge(P, R), L = !0), E.node(R).rank = E.node(P).rank + (L ? D.minlen : -D.minlen);
5315
+ var P = S.node(R).parent, D = E.edge(R, P), k = !1;
5316
+ D || (D = E.edge(P, R), k = !0), E.node(R).rank = E.node(P).rank + (k ? D.minlen : -D.minlen);
5317
5317
  });
5318
5318
  }
5319
5319
  function b(S, E, x) {
@@ -5865,38 +5865,38 @@ function _8() {
5865
5865
  function n(b, _) {
5866
5866
  var S = {};
5867
5867
  function E(x, C) {
5868
- var R = 0, P = 0, D = x.length, L = e.last(C);
5869
- return e.forEach(C, function($, k) {
5868
+ var R = 0, P = 0, D = x.length, k = e.last(C);
5869
+ return e.forEach(C, function($, L) {
5870
5870
  var M = o(b, $), T = M ? b.node(M).order : D;
5871
- (M || $ === L) && (e.forEach(C.slice(P, k + 1), function(B) {
5871
+ (M || $ === k) && (e.forEach(C.slice(P, L + 1), function(B) {
5872
5872
  e.forEach(b.predecessors(B), function(j) {
5873
5873
  var V = b.node(j), K = V.order;
5874
5874
  (K < R || T < K) && !(V.dummy && b.node(B).dummy) && a(S, j, B);
5875
5875
  });
5876
- }), P = k + 1, R = T);
5876
+ }), P = L + 1, R = T);
5877
5877
  }), C;
5878
5878
  }
5879
5879
  return e.reduce(_, E), S;
5880
5880
  }
5881
5881
  function i(b, _) {
5882
5882
  var S = {};
5883
- function E(C, R, P, D, L) {
5883
+ function E(C, R, P, D, k) {
5884
5884
  var $;
5885
- e.forEach(e.range(R, P), function(k) {
5886
- $ = C[k], b.node($).dummy && e.forEach(b.predecessors($), function(M) {
5885
+ e.forEach(e.range(R, P), function(L) {
5886
+ $ = C[L], b.node($).dummy && e.forEach(b.predecessors($), function(M) {
5887
5887
  var T = b.node(M);
5888
- T.dummy && (T.order < D || T.order > L) && a(S, M, $);
5888
+ T.dummy && (T.order < D || T.order > k) && a(S, M, $);
5889
5889
  });
5890
5890
  });
5891
5891
  }
5892
5892
  function x(C, R) {
5893
- var P = -1, D, L = 0;
5894
- return e.forEach(R, function($, k) {
5893
+ var P = -1, D, k = 0;
5894
+ return e.forEach(R, function($, L) {
5895
5895
  if (b.node($).dummy === "border") {
5896
5896
  var M = b.predecessors($);
5897
- M.length && (D = b.node(M[0]).order, E(R, L, k, P, D), L = k, P = D);
5897
+ M.length && (D = b.node(M[0]).order, E(R, k, L, P, D), k = L, P = D);
5898
5898
  }
5899
- E(R, L, R.length, D, C.length);
5899
+ E(R, k, R.length, D, C.length);
5900
5900
  }), R;
5901
5901
  }
5902
5902
  return e.reduce(_, x), S;
@@ -5925,20 +5925,20 @@ function _8() {
5925
5925
  function c(b, _, S, E) {
5926
5926
  var x = {}, C = {}, R = {};
5927
5927
  return e.forEach(_, function(P) {
5928
- e.forEach(P, function(D, L) {
5929
- x[D] = D, C[D] = D, R[D] = L;
5928
+ e.forEach(P, function(D, k) {
5929
+ x[D] = D, C[D] = D, R[D] = k;
5930
5930
  });
5931
5931
  }), e.forEach(_, function(P) {
5932
5932
  var D = -1;
5933
- e.forEach(P, function(L) {
5934
- var $ = E(L);
5933
+ e.forEach(P, function(k) {
5934
+ var $ = E(k);
5935
5935
  if ($.length) {
5936
5936
  $ = e.sortBy($, function(j) {
5937
5937
  return R[j];
5938
5938
  });
5939
- for (var k = ($.length - 1) / 2, M = Math.floor(k), T = Math.ceil(k); M <= T; ++M) {
5939
+ for (var L = ($.length - 1) / 2, M = Math.floor(L), T = Math.ceil(L); M <= T; ++M) {
5940
5940
  var B = $[M];
5941
- C[L] === L && D < R[B] && !u(S, L, B) && (C[B] = L, C[L] = x[L] = x[B], D = R[B]);
5941
+ C[k] === k && D < R[B] && !u(S, k, B) && (C[B] = k, C[k] = x[k] = x[B], D = R[B]);
5942
5942
  }
5943
5943
  }
5944
5944
  });
@@ -5946,36 +5946,36 @@ function _8() {
5946
5946
  }
5947
5947
  function d(b, _, S, E, x) {
5948
5948
  var C = {}, R = f(b, _, S, x), P = x ? "borderLeft" : "borderRight";
5949
- function D(k, M) {
5949
+ function D(L, M) {
5950
5950
  for (var T = R.nodes(), B = T.pop(), j = {}; B; )
5951
- j[B] ? k(B) : (j[B] = !0, T.push(B), T = T.concat(M(B))), B = T.pop();
5951
+ j[B] ? L(B) : (j[B] = !0, T.push(B), T = T.concat(M(B))), B = T.pop();
5952
5952
  }
5953
- function L(k) {
5954
- C[k] = R.inEdges(k).reduce(function(M, T) {
5953
+ function k(L) {
5954
+ C[L] = R.inEdges(L).reduce(function(M, T) {
5955
5955
  return Math.max(M, C[T.v] + R.edge(T));
5956
5956
  }, 0);
5957
5957
  }
5958
- function $(k) {
5959
- var M = R.outEdges(k).reduce(function(B, j) {
5958
+ function $(L) {
5959
+ var M = R.outEdges(L).reduce(function(B, j) {
5960
5960
  return Math.min(B, C[j.w] - R.edge(j));
5961
- }, Number.POSITIVE_INFINITY), T = b.node(k);
5962
- M !== Number.POSITIVE_INFINITY && T.borderType !== P && (C[k] = Math.max(C[k], M));
5961
+ }, Number.POSITIVE_INFINITY), T = b.node(L);
5962
+ M !== Number.POSITIVE_INFINITY && T.borderType !== P && (C[L] = Math.max(C[L], M));
5963
5963
  }
5964
- return D(L, R.predecessors.bind(R)), D($, R.successors.bind(R)), e.forEach(E, function(k) {
5965
- C[k] = C[S[k]];
5964
+ return D(k, R.predecessors.bind(R)), D($, R.successors.bind(R)), e.forEach(E, function(L) {
5965
+ C[L] = C[S[L]];
5966
5966
  }), C;
5967
5967
  }
5968
5968
  function f(b, _, S, E) {
5969
5969
  var x = new t(), C = b.graph(), R = y(C.nodesep, C.edgesep, E);
5970
5970
  return e.forEach(_, function(P) {
5971
5971
  var D;
5972
- e.forEach(P, function(L) {
5973
- var $ = S[L];
5972
+ e.forEach(P, function(k) {
5973
+ var $ = S[k];
5974
5974
  if (x.setNode($), D) {
5975
- var k = S[D], M = x.edge(k, $);
5976
- x.setEdge(k, $, Math.max(R(b, L, D), M || 0));
5975
+ var L = S[D], M = x.edge(L, $);
5976
+ x.setEdge(L, $, Math.max(R(b, k, D), M || 0));
5977
5977
  }
5978
- D = L;
5978
+ D = k;
5979
5979
  });
5980
5980
  }), x;
5981
5981
  }
@@ -5992,11 +5992,11 @@ function _8() {
5992
5992
  var S = e.values(_), E = e.min(S), x = e.max(S);
5993
5993
  e.forEach(["u", "d"], function(C) {
5994
5994
  e.forEach(["l", "r"], function(R) {
5995
- var P = C + R, D = b[P], L;
5995
+ var P = C + R, D = b[P], k;
5996
5996
  if (D !== _) {
5997
5997
  var $ = e.values(D);
5998
- L = R === "l" ? E - e.min($) : x - e.max($), L && (b[P] = e.mapValues(D, function(k) {
5999
- return k + L;
5998
+ k = R === "l" ? E - e.min($) : x - e.max($), k && (b[P] = e.mapValues(D, function(L) {
5999
+ return L + k;
6000
6000
  }));
6001
6001
  }
6002
6002
  });
@@ -6017,18 +6017,18 @@ function _8() {
6017
6017
  ), E = {}, x;
6018
6018
  e.forEach(["u", "d"], function(R) {
6019
6019
  x = R === "u" ? _ : e.values(_).reverse(), e.forEach(["l", "r"], function(P) {
6020
- P === "r" && (x = e.map(x, function(k) {
6021
- return e.values(k).reverse();
6020
+ P === "r" && (x = e.map(x, function(L) {
6021
+ return e.values(L).reverse();
6022
6022
  }));
6023
- var D = (R === "u" ? b.predecessors : b.successors).bind(b), L = c(b, x, S, D), $ = d(
6023
+ var D = (R === "u" ? b.predecessors : b.successors).bind(b), k = c(b, x, S, D), $ = d(
6024
6024
  b,
6025
6025
  x,
6026
- L.root,
6027
- L.align,
6026
+ k.root,
6027
+ k.align,
6028
6028
  P === "r"
6029
6029
  );
6030
- P === "r" && ($ = e.mapValues($, function(k) {
6031
- return -k;
6030
+ P === "r" && ($ = e.mapValues($, function(L) {
6031
+ return -L;
6032
6032
  })), E[R + P] = $;
6033
6033
  });
6034
6034
  });
@@ -6037,26 +6037,26 @@ function _8() {
6037
6037
  }
6038
6038
  function y(b, _, S) {
6039
6039
  return function(E, x, C) {
6040
- var R = E.node(x), P = E.node(C), D = 0, L;
6040
+ var R = E.node(x), P = E.node(C), D = 0, k;
6041
6041
  if (D += R.width / 2, e.has(R, "labelpos"))
6042
6042
  switch (R.labelpos.toLowerCase()) {
6043
6043
  case "l":
6044
- L = -R.width / 2;
6044
+ k = -R.width / 2;
6045
6045
  break;
6046
6046
  case "r":
6047
- L = R.width / 2;
6047
+ k = R.width / 2;
6048
6048
  break;
6049
6049
  }
6050
- if (L && (D += S ? L : -L), L = 0, D += (R.dummy ? _ : b) / 2, D += (P.dummy ? _ : b) / 2, D += P.width / 2, e.has(P, "labelpos"))
6050
+ if (k && (D += S ? k : -k), k = 0, D += (R.dummy ? _ : b) / 2, D += (P.dummy ? _ : b) / 2, D += P.width / 2, e.has(P, "labelpos"))
6051
6051
  switch (P.labelpos.toLowerCase()) {
6052
6052
  case "l":
6053
- L = P.width / 2;
6053
+ k = P.width / 2;
6054
6054
  break;
6055
6055
  case "r":
6056
- L = -P.width / 2;
6056
+ k = -P.width / 2;
6057
6057
  break;
6058
6058
  }
6059
- return L && (D += S ? L : -L), L = 0, D;
6059
+ return k && (D += S ? k : -k), k = 0, D;
6060
6060
  };
6061
6061
  }
6062
6062
  function w(b, _) {
@@ -6109,7 +6109,7 @@ function E8() {
6109
6109
  }
6110
6110
  function y(F, W) {
6111
6111
  W(" makeSpaceForEdgeLabels", function() {
6112
- L(F);
6112
+ k(F);
6113
6113
  }), W(" removeSelfEdges", function() {
6114
6114
  J(F);
6115
6115
  }), W(" acyclic", function() {
@@ -6127,7 +6127,7 @@ function E8() {
6127
6127
  }), W(" normalizeRanks", function() {
6128
6128
  i(F);
6129
6129
  }), W(" assignRankMinMax", function() {
6130
- k(F);
6130
+ L(F);
6131
6131
  }), W(" removeEdgeLabelProxies", function() {
6132
6132
  M(F);
6133
6133
  }), W(" normalize.run", function() {
@@ -6201,7 +6201,7 @@ function E8() {
6201
6201
  ));
6202
6202
  }), W;
6203
6203
  }
6204
- function L(F) {
6204
+ function k(F) {
6205
6205
  var W = F.graph();
6206
6206
  W.ranksep /= 2, e.forEach(F.edges(), function(X) {
6207
6207
  var U = F.edge(X);
@@ -6217,7 +6217,7 @@ function E8() {
6217
6217
  }
6218
6218
  });
6219
6219
  }
6220
- function k(F) {
6220
+ function L(F) {
6221
6221
  var W = 0;
6222
6222
  e.forEach(F.nodes(), function(X) {
6223
6223
  var U = F.node(X);
@@ -7206,9 +7206,9 @@ function bK() {
7206
7206
  }
7207
7207
  function w(E, x) {
7208
7208
  if (e.call(this, E, x)) {
7209
- var C = E.changedTouches, R = t.call(this, E, x), P = C.length, D, L;
7209
+ var C = E.changedTouches, R = t.call(this, E, x), P = C.length, D, k;
7210
7210
  for (D = 0; D < P; ++D)
7211
- (L = S(this, R, E, x, C[D].identifier, C[D])) && (qm(E), L("start", E, C[D]));
7211
+ (k = S(this, R, E, x, C[D].identifier, C[D])) && (qm(E), k("start", E, C[D]));
7212
7212
  }
7213
7213
  }
7214
7214
  function b(E) {
@@ -7224,7 +7224,7 @@ function bK() {
7224
7224
  (P = i[x[R].identifier]) && (qm(E), P("end", E, x[R]));
7225
7225
  }
7226
7226
  function S(E, x, C, R, P, D) {
7227
- var L = o.copy(), $ = cn(D || C, x), k, M, T;
7227
+ var k = o.copy(), $ = cn(D || C, x), L, M, T;
7228
7228
  if ((T = r.call(E, new Qb("beforestart", {
7229
7229
  sourceEvent: C,
7230
7230
  target: p,
@@ -7234,9 +7234,9 @@ function bK() {
7234
7234
  y: $[1],
7235
7235
  dx: 0,
7236
7236
  dy: 0,
7237
- dispatch: L
7237
+ dispatch: k
7238
7238
  }), R)) != null)
7239
- return k = T.x - $[0] || 0, M = T.y - $[1] || 0, function B(j, V, K) {
7239
+ return L = T.x - $[0] || 0, M = T.y - $[1] || 0, function B(j, V, K) {
7240
7240
  var J = $, z;
7241
7241
  switch (j) {
7242
7242
  case "start":
@@ -7249,7 +7249,7 @@ function bK() {
7249
7249
  $ = cn(K || V, x), z = a;
7250
7250
  break;
7251
7251
  }
7252
- L.call(
7252
+ k.call(
7253
7253
  j,
7254
7254
  E,
7255
7255
  new Qb(j, {
@@ -7258,11 +7258,11 @@ function bK() {
7258
7258
  target: p,
7259
7259
  identifier: P,
7260
7260
  active: z,
7261
- x: $[0] + k,
7261
+ x: $[0] + L,
7262
7262
  y: $[1] + M,
7263
7263
  dx: $[0] - J[0],
7264
7264
  dy: $[1] - J[1],
7265
- dispatch: L
7265
+ dispatch: k
7266
7266
  }),
7267
7267
  R
7268
7268
  );
@@ -7720,10 +7720,10 @@ const VK = (function e(t, r, n) {
7720
7720
  else {
7721
7721
  var _ = Math.sqrt(y), S = (p * p - d * d + n * y) / (2 * d * r * _), E = (p * p - d * d - n * y) / (2 * p * r * _), x = Math.log(Math.sqrt(S * S + 1) - S), C = Math.log(Math.sqrt(E * E + 1) - E);
7722
7722
  b = (C - x) / t, w = function(R) {
7723
- var P = R * b, D = dN(x), L = d / (r * _) * (D * UK(t * P + x) - HK(x));
7723
+ var P = R * b, D = dN(x), k = d / (r * _) * (D * UK(t * P + x) - HK(x));
7724
7724
  return [
7725
- u + L * v,
7726
- c + L * m,
7725
+ u + k * v,
7726
+ c + k * m,
7727
7727
  d * D / dN(t * P + x)
7728
7728
  ];
7729
7729
  };
@@ -8403,7 +8403,7 @@ function u9(e, t, r) {
8403
8403
  function c9() {
8404
8404
  var e = i9, t = o9, r = u9, n = a9, i = s9, o = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], u = 250, c = VK, d = cl("start", "zoom", "end"), f, h, p, v = 500, m = 150, y = 0, w = 10;
8405
8405
  function b(T) {
8406
- T.property("__zoom", mN).on("wheel.zoom", P, { passive: !1 }).on("mousedown.zoom", D).on("dblclick.zoom", L).filter(i).on("touchstart.zoom", $).on("touchmove.zoom", k).on("touchend.zoom touchcancel.zoom", M).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
8406
+ T.property("__zoom", mN).on("wheel.zoom", P, { passive: !1 }).on("mousedown.zoom", D).on("dblclick.zoom", k).filter(i).on("touchstart.zoom", $).on("touchmove.zoom", L).on("touchend.zoom touchcancel.zoom", M).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
8407
8407
  }
8408
8408
  b.transform = function(T, B, j, V) {
8409
8409
  var K = T.selection ? T.selection() : T;
@@ -8526,7 +8526,7 @@ function c9() {
8526
8526
  K.on("mousemove.zoom mouseup.zoom", null), B2(F.view, V.moved), va(F), V.event(F).end();
8527
8527
  }
8528
8528
  }
8529
- function L(T, ...B) {
8529
+ function k(T, ...B) {
8530
8530
  if (e.apply(this, arguments)) {
8531
8531
  var j = this.__zoom, V = cn(T.changedTouches ? T.changedTouches[0] : T, this), K = j.invert(V), J = j.k * (T.shiftKey ? 0.5 : 2), z = r(S(_(j, J), V, K), t.apply(this, B), a);
8532
8532
  va(T), u > 0 ? Vr(this).transition().duration(u).call(x, z, V, T) : Vr(this).call(b.transform, z, V, T);
@@ -8542,7 +8542,7 @@ function c9() {
8542
8542
  }, v)), oc(this), K.start());
8543
8543
  }
8544
8544
  }
8545
- function k(T, ...B) {
8545
+ function L(T, ...B) {
8546
8546
  if (this.__zooming) {
8547
8547
  var j = C(this, B).event(T), V = T.changedTouches, K = V.length, J, z, Z, se;
8548
8548
  for (va(T), J = 0; J < K; ++J)
@@ -9641,11 +9641,11 @@ var Lu = function(t) {
9641
9641
  E(!0);
9642
9642
  }, []), !S)
9643
9643
  return null;
9644
- var L = function() {
9644
+ var k = function() {
9645
9645
  R == null || R(), f == null || f();
9646
9646
  }, $ = function() {
9647
9647
  P == null || P(), h == null || h();
9648
- }, k = function() {
9648
+ }, L = function() {
9649
9649
  D == null || D(d), p == null || p();
9650
9650
  }, M = function() {
9651
9651
  w.setState({
@@ -9658,7 +9658,7 @@ var Lu = function(t) {
9658
9658
  className: yr(["react-flow__controls", m]),
9659
9659
  style: r
9660
9660
  }, i && /* @__PURE__ */ fe.createElement(fe.Fragment, null, /* @__PURE__ */ fe.createElement(Lu, {
9661
- onClick: L,
9661
+ onClick: k,
9662
9662
  className: "react-flow__controls-zoomin",
9663
9663
  title: "zoom in",
9664
9664
  "aria-label": "zoom in"
@@ -9669,7 +9669,7 @@ var Lu = function(t) {
9669
9669
  "aria-label": "zoom out"
9670
9670
  }, /* @__PURE__ */ fe.createElement(A9, null))), a && /* @__PURE__ */ fe.createElement(Lu, {
9671
9671
  className: "react-flow__controls-fitview",
9672
- onClick: k,
9672
+ onClick: L,
9673
9673
  title: "fit view",
9674
9674
  "aria-label": "fit view"
9675
9675
  }, /* @__PURE__ */ fe.createElement(M9, null)), c && /* @__PURE__ */ fe.createElement(Lu, {
@@ -9720,12 +9720,12 @@ var z9 = (Bu = {}, We(Bu, Ai.Dots, "#81818a"), We(Bu, Ai.Lines, "#eee"), Bu), H9
9720
9720
  }, hk = function(t) {
9721
9721
  var r = t.variant, n = r === void 0 ? Ai.Dots : r, i = t.gap, o = i === void 0 ? 15 : i, a = t.size, u = a === void 0 ? 0.4 : a, c = t.color, d = t.style, f = t.className, h = Ae(null), p = qe(null), v = Fe(p, 2), m = v[0], y = v[1], w = wt(H9), b = Fe(w, 3), _ = b[0], S = b[1], E = b[2];
9722
9722
  Ne(function() {
9723
- var $ = document.querySelectorAll(".react-flow__background"), k = Array.from($).findIndex(function(M) {
9723
+ var $ = document.querySelectorAll(".react-flow__background"), L = Array.from($).findIndex(function(M) {
9724
9724
  return M === h.current;
9725
9725
  });
9726
- y("pattern-".concat(k));
9726
+ y("pattern-".concat(L));
9727
9727
  }, []);
9728
- var x = o * E || 1, C = _ % x, R = S % x, P = n === Ai.Lines, D = c || z9[n], L = P ? j9(x, u, D) : F9(u * E, D);
9728
+ var x = o * E || 1, C = _ % x, R = S % x, P = n === Ai.Lines, D = c || z9[n], k = P ? j9(x, u, D) : F9(u * E, D);
9729
9729
  return /* @__PURE__ */ fe.createElement("svg", {
9730
9730
  className: yr(["react-flow__background", "react-flow__container", f]),
9731
9731
  style: NN(NN({}, d), {}, {
@@ -9740,7 +9740,7 @@ var z9 = (Bu = {}, We(Bu, Ai.Dots, "#81818a"), We(Bu, Ai.Lines, "#eee"), Bu), H9
9740
9740
  width: x,
9741
9741
  height: x,
9742
9742
  patternUnits: "userSpaceOnUse"
9743
- }, L), /* @__PURE__ */ fe.createElement("rect", {
9743
+ }, k), /* @__PURE__ */ fe.createElement("rect", {
9744
9744
  x: "0",
9745
9745
  y: "0",
9746
9746
  width: "100%",
@@ -9972,8 +9972,8 @@ function cw(e) {
9972
9972
  sourceY: r,
9973
9973
  targetX: o,
9974
9974
  targetY: a
9975
- }), m = Fe(v, 4), y = m[0], w = m[1], b = m[2], _ = m[3], S = Math.min(f, Math.abs(o - t)), E = Math.min(f, Math.abs(a - r)), x = Math.min(S, E, b, _), C = [be.Left, be.Right], R = typeof h < "u" ? h : y, P = typeof p < "u" ? p : w, D = null, L = null;
9976
- return t <= o ? (D = r <= a ? jm(t, P, x) : Vm(t, P, x), L = r <= a ? Gm(o, P, x) : Hm(o, P, x)) : (D = r < a ? zm(t, P, x) : Wm(t, P, x), L = r < a ? Um(o, P, x) : Fm(o, P, x)), C.includes(i) && C.includes(c) ? t <= o ? (D = r <= a ? Gm(R, r, x) : Hm(R, r, x), L = r <= a ? jm(R, a, x) : Vm(R, a, x)) : (i === be.Right && c === be.Left || i === be.Left && c === be.Right || i === be.Left && c === be.Left) && (D = r <= a ? Um(R, r, x) : Fm(R, r, x), L = r <= a ? zm(R, a, x) : Wm(R, a, x)) : C.includes(i) && !C.includes(c) ? (t <= o ? D = r <= a ? Gm(o, r, x) : Hm(o, r, x) : D = r <= a ? Um(o, r, x) : Fm(o, r, x), L = "") : !C.includes(i) && C.includes(c) && (t <= o ? D = r <= a ? jm(t, a, x) : Vm(t, a, x) : D = r <= a ? zm(t, a, x) : Wm(t, a, x), L = ""), "M ".concat(t, ",").concat(r).concat(D).concat(L, "L ").concat(o, ",").concat(a);
9975
+ }), m = Fe(v, 4), y = m[0], w = m[1], b = m[2], _ = m[3], S = Math.min(f, Math.abs(o - t)), E = Math.min(f, Math.abs(a - r)), x = Math.min(S, E, b, _), C = [be.Left, be.Right], R = typeof h < "u" ? h : y, P = typeof p < "u" ? p : w, D = null, k = null;
9976
+ return t <= o ? (D = r <= a ? jm(t, P, x) : Vm(t, P, x), k = r <= a ? Gm(o, P, x) : Hm(o, P, x)) : (D = r < a ? zm(t, P, x) : Wm(t, P, x), k = r < a ? Um(o, P, x) : Fm(o, P, x)), C.includes(i) && C.includes(c) ? t <= o ? (D = r <= a ? Gm(R, r, x) : Hm(R, r, x), k = r <= a ? jm(R, a, x) : Vm(R, a, x)) : (i === be.Right && c === be.Left || i === be.Left && c === be.Right || i === be.Left && c === be.Left) && (D = r <= a ? Um(R, r, x) : Fm(R, r, x), k = r <= a ? zm(R, a, x) : Wm(R, a, x)) : C.includes(i) && !C.includes(c) ? (t <= o ? D = r <= a ? Gm(o, r, x) : Hm(o, r, x) : D = r <= a ? Um(o, r, x) : Fm(o, r, x), k = "") : !C.includes(i) && C.includes(c) && (t <= o ? D = r <= a ? jm(t, a, x) : Vm(t, a, x) : D = r <= a ? zm(t, a, x) : Wm(t, a, x), k = ""), "M ".concat(t, ",").concat(r).concat(D).concat(k, "L ").concat(o, ",").concat(a);
9977
9977
  }
9978
9978
  var u_ = /* @__PURE__ */ _t(function(e) {
9979
9979
  var t = e.sourceX, r = e.sourceY, n = e.targetX, i = e.targetY, o = e.label, a = e.labelStyle, u = e.labelShowBg, c = e.labelBgStyle, d = e.labelBgPadding, f = e.labelBgBorderRadius, h = e.style, p = e.sourcePosition, v = p === void 0 ? be.Bottom : p, m = e.targetPosition, y = m === void 0 ? be.Top : m, w = e.markerEnd, b = e.markerStart, _ = e.borderRadius, S = _ === void 0 ? 5 : _, E = gk({
@@ -10194,14 +10194,14 @@ function bk(e) {
10194
10194
  y: P.clientY - E.top
10195
10195
  }
10196
10196
  });
10197
- var D = fw(P, _, o, n, r, c, p), L = D.connection, $ = D.elementBelow, k = D.isValid, M = D.isHoveringHandle;
10197
+ var D = fw(P, _, o, n, r, c, p), k = D.connection, $ = D.elementBelow, L = D.isValid, M = D.isHoveringHandle;
10198
10198
  if (!M)
10199
10199
  return Km(x);
10200
- L.source !== L.target && $ && (Km(x), x = $, $.classList.add("react-flow__handle-connecting"), $.classList.toggle("react-flow__handle-valid", k));
10200
+ k.source !== k.target && $ && (Km(x), x = $, $.classList.add("react-flow__handle-connecting"), $.classList.toggle("react-flow__handle-valid", L));
10201
10201
  }
10202
10202
  function R(P) {
10203
- var D = a(), L = D.onConnectStop, $ = D.onConnectEnd, k = fw(P, _, o, n, r, c, p), M = k.connection, T = k.isValid;
10204
- L == null || L(P), T && (i == null || i(M)), $ == null || $(P), d && f && f(P), Km(x), u({
10203
+ var D = a(), k = D.onConnectStop, $ = D.onConnectEnd, L = fw(P, _, o, n, r, c, p), M = L.connection, T = L.isValid;
10204
+ k == null || k(P), T && (i == null || i(M)), $ == null || $(P), d && f && f(P), Km(x), u({
10205
10205
  connectionNodeId: null,
10206
10206
  connectionHandleId: null,
10207
10207
  connectionHandleType: null
@@ -10240,7 +10240,7 @@ var r7 = function() {
10240
10240
  };
10241
10241
  }, wk = /* @__PURE__ */ GD(function(e, t) {
10242
10242
  var r = e.type, n = r === void 0 ? "source" : r, i = e.position, o = i === void 0 ? be.Top : i, a = e.isValidConnection, u = a === void 0 ? r7 : a, c = e.isConnectable, d = c === void 0 ? !0 : c, f = e.id, h = e.onConnect, p = e.children, v = e.className, m = e.onMouseDown, y = hl(e, t7), w = Kt(), b = Gb(c_), _ = wt(n7, ir), S = _.connectionStartHandle, E = _.connectOnClick, x = f || null, C = n === "target", R = function($) {
10243
- var k = w.getState(), M = k.defaultEdgeOptions, T = k.onConnect, B = k.hasDefaultEdges, j = Ym(Ym({}, M), $);
10243
+ var L = w.getState(), M = L.defaultEdgeOptions, T = L.onConnect, B = L.hasDefaultEdges, j = Ym(Ym({}, M), $);
10244
10244
  if (B) {
10245
10245
  var V = w.getState(), K = V.edges;
10246
10246
  w.setState({
@@ -10260,7 +10260,7 @@ var r7 = function() {
10260
10260
  isValidConnection: u
10261
10261
  }), m == null || m($);
10262
10262
  }, D = function($) {
10263
- var k = w.getState(), M = k.onClickConnectStart, T = k.onClickConnectStop, B = k.onClickConnectEnd, j = k.connectionMode;
10263
+ var L = w.getState(), M = L.onClickConnectStart, T = L.onClickConnectStop, B = L.onClickConnectEnd, j = L.connectionMode;
10264
10264
  if (!S) {
10265
10265
  M == null || M($, {
10266
10266
  nodeId: b,
@@ -10380,12 +10380,12 @@ function st(e, t, r) {
10380
10380
  }, [t]);
10381
10381
  }
10382
10382
  var c7 = function(t) {
10383
- var r = t.nodes, n = t.edges, i = t.defaultNodes, o = t.defaultEdges, a = t.onConnect, u = t.onConnectStart, c = t.onConnectStop, d = t.onConnectEnd, f = t.onClickConnectStart, h = t.onClickConnectStop, p = t.onClickConnectEnd, v = t.nodesDraggable, m = t.nodesConnectable, y = t.minZoom, w = t.maxZoom, b = t.nodeExtent, _ = t.onNodesChange, S = t.onEdgesChange, E = t.elementsSelectable, x = t.connectionMode, C = t.snapGrid, R = t.snapToGrid, P = t.translateExtent, D = t.connectOnClick, L = t.defaultEdgeOptions, $ = t.fitView, k = t.fitViewOptions, M = t.onNodesDelete, T = t.onEdgesDelete, B = t.onNodeDrag, j = t.onNodeDragStart, V = t.onNodeDragStop, K = t.onSelectionDrag, J = t.onSelectionDragStart, z = t.onSelectionDragStop, Z = wt(u7, ir), se = Z.setNodes, oe = Z.setEdges, F = Z.setDefaultNodesAndEdges, W = Z.setMinZoom, X = Z.setMaxZoom, U = Z.setTranslateExtent, G = Z.setNodeExtent, re = Z.reset, te = Kt();
10383
+ var r = t.nodes, n = t.edges, i = t.defaultNodes, o = t.defaultEdges, a = t.onConnect, u = t.onConnectStart, c = t.onConnectStop, d = t.onConnectEnd, f = t.onClickConnectStart, h = t.onClickConnectStop, p = t.onClickConnectEnd, v = t.nodesDraggable, m = t.nodesConnectable, y = t.minZoom, w = t.maxZoom, b = t.nodeExtent, _ = t.onNodesChange, S = t.onEdgesChange, E = t.elementsSelectable, x = t.connectionMode, C = t.snapGrid, R = t.snapToGrid, P = t.translateExtent, D = t.connectOnClick, k = t.defaultEdgeOptions, $ = t.fitView, L = t.fitViewOptions, M = t.onNodesDelete, T = t.onEdgesDelete, B = t.onNodeDrag, j = t.onNodeDragStart, V = t.onNodeDragStop, K = t.onSelectionDrag, J = t.onSelectionDragStart, z = t.onSelectionDragStop, Z = wt(u7, ir), se = Z.setNodes, oe = Z.setEdges, F = Z.setDefaultNodesAndEdges, W = Z.setMinZoom, X = Z.setMaxZoom, U = Z.setTranslateExtent, G = Z.setNodeExtent, re = Z.reset, te = Kt();
10384
10384
  return Ne(function() {
10385
10385
  return F(i, o), function() {
10386
10386
  re();
10387
10387
  };
10388
- }, []), st("defaultEdgeOptions", L, te.setState), st("connectionMode", x, te.setState), st("onConnect", a, te.setState), st("onConnectStart", u, te.setState), st("onConnectStop", c, te.setState), st("onConnectEnd", d, te.setState), st("onClickConnectStart", f, te.setState), st("onClickConnectStop", h, te.setState), st("onClickConnectEnd", p, te.setState), st("nodesDraggable", v, te.setState), st("nodesConnectable", m, te.setState), st("elementsSelectable", E, te.setState), st("snapToGrid", R, te.setState), st("snapGrid", C, te.setState), st("onNodesChange", _, te.setState), st("onEdgesChange", S, te.setState), st("connectOnClick", D, te.setState), st("fitViewOnInit", $, te.setState), st("fitViewOnInitOptions", k, te.setState), st("onNodesDelete", M, te.setState), st("onEdgesDelete", T, te.setState), st("onNodeDrag", B, te.setState), st("onNodeDragStart", j, te.setState), st("onNodeDragStop", V, te.setState), st("onSelectionDrag", K, te.setState), st("onSelectionDragStart", J, te.setState), st("onSelectionDragStop", z, te.setState), Xn(r, se), Xn(n, oe), Xn(i, se), Xn(o, oe), Xn(y, W), Xn(w, X), Xn(P, U), Xn(b, G), null;
10388
+ }, []), st("defaultEdgeOptions", k, te.setState), st("connectionMode", x, te.setState), st("onConnect", a, te.setState), st("onConnectStart", u, te.setState), st("onConnectStop", c, te.setState), st("onConnectEnd", d, te.setState), st("onClickConnectStart", f, te.setState), st("onClickConnectStop", h, te.setState), st("onClickConnectEnd", p, te.setState), st("nodesDraggable", v, te.setState), st("nodesConnectable", m, te.setState), st("elementsSelectable", E, te.setState), st("snapToGrid", R, te.setState), st("snapGrid", C, te.setState), st("onNodesChange", _, te.setState), st("onEdgesChange", S, te.setState), st("connectOnClick", D, te.setState), st("fitViewOnInit", $, te.setState), st("fitViewOnInitOptions", L, te.setState), st("onNodesDelete", M, te.setState), st("onEdgesDelete", T, te.setState), st("onNodeDrag", B, te.setState), st("onNodeDragStart", j, te.setState), st("onNodeDragStop", V, te.setState), st("onSelectionDrag", K, te.setState), st("onSelectionDragStart", J, te.setState), st("onSelectionDragStop", z, te.setState), Xn(r, se), Xn(n, oe), Xn(i, se), Xn(o, oe), Xn(y, W), Xn(w, X), Xn(P, U), Xn(b, G), null;
10389
10389
  }, l7 = ".react-flow{height:100%;overflow:hidden;position:relative;width:100%}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selectionpane{z-index:5}.react-flow .react-flow__edges{overflow:visible;pointer-events:none}.react-flow .react-flow__connectionline{z-index:1001}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.inactive{pointer-events:none}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edge-path{fill:none}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connection-path{fill:none}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:-webkit-grab;cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{pointer-events:none;position:absolute}.react-flow__handle.connectable{pointer-events:all}.react-flow__handle-bottom{bottom:-4px;left:50%;top:auto;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{left:-4px;top:50%;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__controls{bottom:20px;left:15px;position:absolute;z-index:5}.react-flow__controls-button{border:none;height:24px;width:24px}.react-flow__controls-button svg{width:100%}.react-flow__minimap{bottom:20px;position:absolute;right:15px;z-index:5}.react-flow__attribution{background:hsla(0,0%,100%,.5);color:#999;font-size:10px;padding:2px 3px;position:absolute;z-index:1000}.react-flow__attribution a{color:#555;text-decoration:none}.react-flow__attribution.top{top:0}.react-flow__attribution.bottom{bottom:0}.react-flow__attribution.left{left:0}.react-flow__attribution.right{right:0}.react-flow__attribution.center{left:50%;transform:translateX(-50%)}", f7 = l7, d7 = ".react-flow__edge.selected .react-flow__edge-path{stroke:#555}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1}.react-flow__edge-text{font-size:10px}.react-flow__edge-textbg{fill:#fff}.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1}.react-flow__node{cursor:-webkit-grab;cursor:grab}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background:#fff;border:1px solid #1a192b;border-radius:3px;color:#222;font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selected,.react-flow__node-group.selected,.react-flow__node-input.selected,.react-flow__node-output.selected{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-default .react-flow__handle,.react-flow__node-group .react-flow__handle,.react-flow__node-input .react-flow__handle,.react-flow__node-output .react-flow__handle{background:#1a192b}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px rgba(0,0,0,.08)}.react-flow__node-default.selectable.selected,.react-flow__node-group.selectable.selected,.react-flow__node-input.selectable.selected,.react-flow__node-output.selectable.selected{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background:hsla(0,0%,94%,.25);border-color:#1a192b}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__handle{background:#555;border:1px solid #fff;border-radius:100%;height:6px;width:6px}.react-flow__handle.connectable{cursor:crosshair}.react-flow__minimap{background-color:#fff}.react-flow__controls{box-shadow:0 0 2px 1px rgba(0,0,0,.08)}.react-flow__controls-button{align-items:center;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;cursor:pointer;display:flex;height:16px;justify-content:center;padding:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:16px}.react-flow__controls-button svg{max-height:12px;max-width:12px}.react-flow__controls-button:hover{background:#f4f4f4}", h7 = d7, p7 = function(t, r, n) {
10390
10390
  return n === be.Left ? t - r : n === be.Right ? t + r : t;
10391
10391
  }, v7 = function(t, r, n) {
@@ -10402,7 +10402,7 @@ var c7 = function(t) {
10402
10402
  });
10403
10403
  }, co = (function(e) {
10404
10404
  var t = function(n) {
10405
- var i = n.id, o = n.className, a = n.type, u = n.data, c = n.onClick, d = n.onEdgeDoubleClick, f = n.selected, h = n.animated, p = n.label, v = n.labelStyle, m = n.labelShowBg, y = n.labelBgStyle, w = n.labelBgPadding, b = n.labelBgBorderRadius, _ = n.style, S = n.source, E = n.target, x = n.sourceX, C = n.sourceY, R = n.targetX, P = n.targetY, D = n.sourcePosition, L = n.targetPosition, $ = n.elementsSelectable, k = n.hidden, M = n.sourceHandleId, T = n.targetHandleId, B = n.onContextMenu, j = n.onMouseEnter, V = n.onMouseMove, K = n.onMouseLeave, J = n.edgeUpdaterRadius, z = n.onEdgeUpdate, Z = n.onEdgeUpdateStart, se = n.onEdgeUpdateEnd, oe = n.markerEnd, F = n.markerStart, W = n.rfId, X = qe(!1), U = Fe(X, 2), G = U[0], re = U[1], te = Kt(), ae = function(ot) {
10405
+ var i = n.id, o = n.className, a = n.type, u = n.data, c = n.onClick, d = n.onEdgeDoubleClick, f = n.selected, h = n.animated, p = n.label, v = n.labelStyle, m = n.labelShowBg, y = n.labelBgStyle, w = n.labelBgPadding, b = n.labelBgBorderRadius, _ = n.style, S = n.source, E = n.target, x = n.sourceX, C = n.sourceY, R = n.targetX, P = n.targetY, D = n.sourcePosition, k = n.targetPosition, $ = n.elementsSelectable, L = n.hidden, M = n.sourceHandleId, T = n.targetHandleId, B = n.onContextMenu, j = n.onMouseEnter, V = n.onMouseMove, K = n.onMouseLeave, J = n.edgeUpdaterRadius, z = n.onEdgeUpdate, Z = n.onEdgeUpdateStart, se = n.onEdgeUpdateEnd, oe = n.markerEnd, F = n.markerStart, W = n.rfId, X = qe(!1), U = Fe(X, 2), G = U[0], re = U[1], te = Kt(), ae = function(ot) {
10406
10406
  var At = te.getState(), ar = At.edges, br = At.addSelectedEdges, zt = ar.find(function(Ot) {
10407
10407
  return Ot.id === i;
10408
10408
  });
@@ -10446,7 +10446,7 @@ var c7 = function(t) {
10446
10446
  }, [F, W]), Xe = It(function() {
10447
10447
  return "url(#".concat(sw(oe, W), ")");
10448
10448
  }, [oe, W]);
10449
- if (k)
10449
+ if (L)
10450
10450
  return null;
10451
10451
  var xt = !$ && !c, it = typeof z < "u", $t = yr(["react-flow__edge", "react-flow__edge-".concat(a), o, {
10452
10452
  selected: f,
@@ -10481,7 +10481,7 @@ var c7 = function(t) {
10481
10481
  targetX: R,
10482
10482
  targetY: P,
10483
10483
  sourcePosition: D,
10484
- targetPosition: L,
10484
+ targetPosition: k,
10485
10485
  sourceHandleId: M,
10486
10486
  targetHandleId: T,
10487
10487
  markerStart: et,
@@ -10501,7 +10501,7 @@ var c7 = function(t) {
10501
10501
  onMouseEnter: Ge,
10502
10502
  onMouseOut: Be
10503
10503
  }, /* @__PURE__ */ fe.createElement(kN, {
10504
- position: L,
10504
+ position: k,
10505
10505
  centerX: R,
10506
10506
  centerY: P,
10507
10507
  radius: J
@@ -10674,8 +10674,8 @@ var w7 = function(t) {
10674
10674
  var t = e.deleteKeyCode, r = e.multiSelectionKeyCode, n = Kt(), i = wt(w7, ir), o = i.onNodesChange, a = i.onEdgesChange, u = Oc(t), c = Oc(r);
10675
10675
  Ne(function() {
10676
10676
  var d = n.getState(), f = d.nodeInternals, h = d.edges, p = d.hasDefaultNodes, v = d.hasDefaultEdges, m = d.onNodesDelete, y = d.onEdgesDelete, w = Array.from(f.values()), b = w.reduce(function(P, D) {
10677
- return (!D.selected && D.parentNode && P.find(function(L) {
10678
- return L.id === D.parentNode;
10677
+ return (!D.selected && D.parentNode && P.find(function(k) {
10678
+ return k.id === D.parentNode;
10679
10679
  }) || D.selected) && P.push(D), P;
10680
10680
  }, []), _ = h.filter(function(P) {
10681
10681
  return P.selected;
@@ -10756,11 +10756,11 @@ var E7 = function(t, r) {
10756
10756
  d3ZoomHandler: t.d3ZoomHandler
10757
10757
  };
10758
10758
  }, O7 = function(t) {
10759
- var r = t.onMove, n = t.onMoveStart, i = t.onMoveEnd, o = t.zoomOnScroll, a = o === void 0 ? !0 : o, u = t.zoomOnPinch, c = u === void 0 ? !0 : u, d = t.panOnScroll, f = d === void 0 ? !1 : d, h = t.panOnScrollSpeed, p = h === void 0 ? 0.5 : h, v = t.panOnScrollMode, m = v === void 0 ? wo.Free : v, y = t.zoomOnDoubleClick, w = y === void 0 ? !0 : y, b = t.selectionKeyPressed, _ = t.elementsSelectable, S = t.panOnDrag, E = S === void 0 ? !0 : S, x = t.translateExtent, C = t.minZoom, R = t.maxZoom, P = t.defaultZoom, D = P === void 0 ? 1 : P, L = t.defaultPosition, $ = L === void 0 ? [0, 0] : L, k = t.zoomActivationKeyCode, M = t.preventScrolling, T = M === void 0 ? !0 : M, B = t.children, j = t.noWheelClassName, V = t.noPanClassName, K = Kt(), J = Ae(!1), z = Ae(null), Z = Ae({
10759
+ var r = t.onMove, n = t.onMoveStart, i = t.onMoveEnd, o = t.zoomOnScroll, a = o === void 0 ? !0 : o, u = t.zoomOnPinch, c = u === void 0 ? !0 : u, d = t.panOnScroll, f = d === void 0 ? !1 : d, h = t.panOnScrollSpeed, p = h === void 0 ? 0.5 : h, v = t.panOnScrollMode, m = v === void 0 ? wo.Free : v, y = t.zoomOnDoubleClick, w = y === void 0 ? !0 : y, b = t.selectionKeyPressed, _ = t.elementsSelectable, S = t.panOnDrag, E = S === void 0 ? !0 : S, x = t.translateExtent, C = t.minZoom, R = t.maxZoom, P = t.defaultZoom, D = P === void 0 ? 1 : P, k = t.defaultPosition, $ = k === void 0 ? [0, 0] : k, L = t.zoomActivationKeyCode, M = t.preventScrolling, T = M === void 0 ? !0 : M, B = t.children, j = t.noWheelClassName, V = t.noPanClassName, K = Kt(), J = Ae(!1), z = Ae(null), Z = Ae({
10760
10760
  x: 0,
10761
10761
  y: 0,
10762
10762
  zoom: 0
10763
- }), se = wt(S7, ir), oe = se.d3Zoom, F = se.d3Selection, W = se.d3ZoomHandler, X = Oc(k);
10763
+ }), se = wt(S7, ir), oe = se.d3Zoom, F = se.d3Selection, W = se.d3ZoomHandler, X = Oc(L);
10764
10764
  return x7(z), Ne(function() {
10765
10765
  if (z.current) {
10766
10766
  var U, G = c9().scaleExtent([C, R]).translateExtent(x), re = Vr(z.current).call(G), te = _o($[0], x[0][0], x[1][0]), ae = _o($[1], x[0][1], x[1][1]), de = _o(D, C, R), we = Ci.translate(te, ae).scale(de);
@@ -10891,12 +10891,12 @@ var C7 = function(t) {
10891
10891
  }, w = function(E) {
10892
10892
  var x, C;
10893
10893
  if (!(!t || !c.draw || !o.current)) {
10894
- var R = GN(E, o.current), P = (x = c.startX) !== null && x !== void 0 ? x : 0, D = (C = c.startY) !== null && C !== void 0 ? C : 0, L = WN(WN({}, c), {}, {
10894
+ var R = GN(E, o.current), P = (x = c.startX) !== null && x !== void 0 ? x : 0, D = (C = c.startY) !== null && C !== void 0 ? C : 0, k = WN(WN({}, c), {}, {
10895
10895
  x: R.x < P ? R.x : P,
10896
10896
  y: R.y < D ? R.y : D,
10897
10897
  width: Math.abs(R.x - P),
10898
10898
  height: Math.abs(R.y - D)
10899
- }), $ = r.getState(), k = $.nodeInternals, M = $.edges, T = $.transform, B = $.onNodesChange, j = $.onEdgesChange, V = Array.from(k.values()), K = sk(k, L, T, !1, !0), J = uk(K, M).map(function(oe) {
10899
+ }), $ = r.getState(), L = $.nodeInternals, M = $.edges, T = $.transform, B = $.onNodesChange, j = $.onEdgesChange, V = Array.from(L.values()), K = sk(L, k, T, !1, !0), J = uk(K, M).map(function(oe) {
10900
10900
  return oe.id;
10901
10901
  }), z = K.map(function(oe) {
10902
10902
  return oe.id;
@@ -10911,7 +10911,7 @@ var C7 = function(t) {
10911
10911
  var se = vo(M, J);
10912
10912
  se.length && (j == null || j(se));
10913
10913
  }
10914
- d(L);
10914
+ d(k);
10915
10915
  }
10916
10916
  }, b = function() {
10917
10917
  r.setState({
@@ -11070,7 +11070,7 @@ function Rk(e) {
11070
11070
  b.on(".drag", null);
11071
11071
  else {
11072
11072
  var _ = bK().on("start", function(S) {
11073
- var E = v.getState(), x = E.nodeInternals, C = E.multiSelectionActive, R = E.unselectNodesAndEdges, P = E.onNodeDragStart, D = E.onSelectionDragStart, L = a ? P : Jm(D);
11073
+ var E = v.getState(), x = E.nodeInternals, C = E.multiSelectionActive, R = E.unselectNodesAndEdges, P = E.onNodeDragStart, D = E.onSelectionDragStart, k = a ? P : Jm(D);
11074
11074
  if (!c && !C && a) {
11075
11075
  var $;
11076
11076
  ($ = x.get(a)) !== null && $ !== void 0 && $.selected || R();
@@ -11079,22 +11079,22 @@ function Rk(e) {
11079
11079
  id: a,
11080
11080
  store: v
11081
11081
  });
11082
- var k = w(S);
11083
- if (y.current = k, m.current = I7(x, k, a), L && m.current) {
11082
+ var L = w(S);
11083
+ if (y.current = L, m.current = I7(x, L, a), k && m.current) {
11084
11084
  var M = Zm({
11085
11085
  nodeId: a,
11086
11086
  dragItems: m.current,
11087
11087
  nodeInternals: x
11088
11088
  }), T = Fe(M, 2), B = T[0], j = T[1];
11089
- L(S.sourceEvent, B, j);
11089
+ k(S.sourceEvent, B, j);
11090
11090
  }
11091
11091
  }).on("drag", function(S) {
11092
- var E = v.getState(), x = E.updateNodePositions, C = E.snapToGrid, R = E.snapGrid, P = E.nodeInternals, D = E.nodeExtent, L = E.onNodeDrag, $ = E.onSelectionDrag, k = w(S);
11093
- if ((y.current.x !== k.x || y.current.y !== k.y) && m.current) {
11094
- y.current = k, m.current = m.current.map(function(K) {
11095
- return N7(K, k, C, R, P, D);
11092
+ var E = v.getState(), x = E.updateNodePositions, C = E.snapToGrid, R = E.snapGrid, P = E.nodeInternals, D = E.nodeExtent, k = E.onNodeDrag, $ = E.onSelectionDrag, L = w(S);
11093
+ if ((y.current.x !== L.x || y.current.y !== L.y) && m.current) {
11094
+ y.current = L, m.current = m.current.map(function(K) {
11095
+ return N7(K, L, C, R, P, D);
11096
11096
  });
11097
- var M = a ? L : Jm($);
11097
+ var M = a ? k : Jm($);
11098
11098
  if (x(m.current, !0, !0), p(!0), M) {
11099
11099
  var T = Zm({
11100
11100
  nodeId: a,
@@ -11194,7 +11194,7 @@ function M7(e) {
11194
11194
  var D7 = /* @__PURE__ */ _t(M7), q7 = function(t) {
11195
11195
  return t.nodesSelectionActive;
11196
11196
  }, Ik = function(t) {
11197
- var r = t.children, n = t.onPaneClick, i = t.onPaneContextMenu, o = t.onPaneScroll, a = t.deleteKeyCode, u = t.onMove, c = t.onMoveStart, d = t.onMoveEnd, f = t.selectionKeyCode, h = t.multiSelectionKeyCode, p = t.zoomActivationKeyCode, v = t.elementsSelectable, m = t.zoomOnScroll, y = t.zoomOnPinch, w = t.panOnScroll, b = t.panOnScrollSpeed, _ = t.panOnScrollMode, S = t.zoomOnDoubleClick, E = t.panOnDrag, x = t.translateExtent, C = t.minZoom, R = t.maxZoom, P = t.defaultZoom, D = t.defaultPosition, L = t.preventScrolling, $ = t.onSelectionContextMenu, k = t.noWheelClassName, M = t.noPanClassName, T = Kt(), B = wt(q7), j = Oc(f);
11197
+ var r = t.children, n = t.onPaneClick, i = t.onPaneContextMenu, o = t.onPaneScroll, a = t.deleteKeyCode, u = t.onMove, c = t.onMoveStart, d = t.onMoveEnd, f = t.selectionKeyCode, h = t.multiSelectionKeyCode, p = t.zoomActivationKeyCode, v = t.elementsSelectable, m = t.zoomOnScroll, y = t.zoomOnPinch, w = t.panOnScroll, b = t.panOnScrollSpeed, _ = t.panOnScrollMode, S = t.zoomOnDoubleClick, E = t.panOnDrag, x = t.translateExtent, C = t.minZoom, R = t.maxZoom, P = t.defaultZoom, D = t.defaultPosition, k = t.preventScrolling, $ = t.onSelectionContextMenu, L = t.noWheelClassName, M = t.noPanClassName, T = Kt(), B = wt(q7), j = Oc(f);
11198
11198
  _7({
11199
11199
  deleteKeyCode: a,
11200
11200
  multiSelectionKeyCode: h
@@ -11227,8 +11227,8 @@ var D7 = /* @__PURE__ */ _t(M7), q7 = function(t) {
11227
11227
  defaultZoom: P,
11228
11228
  defaultPosition: D,
11229
11229
  zoomActivationKeyCode: p,
11230
- preventScrolling: L,
11231
- noWheelClassName: k,
11230
+ preventScrolling: k,
11231
+ noWheelClassName: L,
11232
11232
  noPanClassName: M
11233
11233
  }, r, /* @__PURE__ */ fe.createElement(R7, {
11234
11234
  selectionKeyPressed: j
@@ -11361,13 +11361,13 @@ var j7 = (lo = {}, We(lo, be.Left, be.Right), We(lo, be.Right, be.Left), We(lo,
11361
11361
  }) : S[0], x = E ? E.x + E.width / 2 : ((r = m == null ? void 0 : m.width) !== null && r !== void 0 ? r : 0) / 2, C = E ? E.y + E.height / 2 : (n = m == null ? void 0 : m.height) !== null && n !== void 0 ? n : 0, R = ((m == null || (i = m.positionAbsolute) === null || i === void 0 ? void 0 : i.x) || 0) + x, P = ((m == null || (o = m.positionAbsolute) === null || o === void 0 ? void 0 : o.y) || 0) + C, D = E == null ? void 0 : E.position;
11362
11362
  if (!D)
11363
11363
  return null;
11364
- var L = j7[D], $, k, M, T, B, j;
11364
+ var k = j7[D], $, L, M, T, B, j;
11365
11365
  switch (u) {
11366
11366
  case "source":
11367
- $ = R, k = P, M = D, T = w, B = b, j = L;
11367
+ $ = R, L = P, M = D, T = w, B = b, j = k;
11368
11368
  break;
11369
11369
  case "target":
11370
- $ = w, k = b, M = L, T = R, B = P, j = D;
11370
+ $ = w, L = b, M = k, T = R, B = P, j = D;
11371
11371
  break;
11372
11372
  }
11373
11373
  if (p)
@@ -11383,7 +11383,7 @@ var j7 = (lo = {}, We(lo, be.Left, be.Right), We(lo, be.Right, be.Left), We(lo,
11383
11383
  toX: w,
11384
11384
  toY: b,
11385
11385
  fromPosition: D,
11386
- toPosition: L,
11386
+ toPosition: k,
11387
11387
  // remove in v11
11388
11388
  sourcePosition: M,
11389
11389
  targetPosition: j,
@@ -11392,11 +11392,11 @@ var j7 = (lo = {}, We(lo, be.Left, be.Right), We(lo, be.Right, be.Left), We(lo,
11392
11392
  targetX: T,
11393
11393
  targetY: B,
11394
11394
  sourceX: $,
11395
- sourceY: k
11395
+ sourceY: L
11396
11396
  }));
11397
11397
  var V = "", K = {
11398
11398
  sourceX: $,
11399
- sourceY: k,
11399
+ sourceY: L,
11400
11400
  sourcePosition: M,
11401
11401
  targetX: T,
11402
11402
  targetY: B,
@@ -11404,7 +11404,7 @@ var j7 = (lo = {}, We(lo, be.Left, be.Right), We(lo, be.Right, be.Left), We(lo,
11404
11404
  };
11405
11405
  return f === ti.Bezier ? V = vl(K) : f === ti.Step ? V = cw(eP(eP({}, K), {}, {
11406
11406
  borderRadius: 0
11407
- })) : f === ti.SmoothStep ? V = cw(K) : f === ti.SimpleBezier ? V = pk(K) : V = "M".concat($, ",").concat(k, " ").concat(T, ",").concat(B), /* @__PURE__ */ fe.createElement("g", {
11407
+ })) : f === ti.SmoothStep ? V = cw(K) : f === ti.SimpleBezier ? V = pk(K) : V = "M".concat($, ",").concat(L, " ").concat(T, ",").concat(B), /* @__PURE__ */ fe.createElement("g", {
11408
11408
  className: "react-flow__connection"
11409
11409
  }, /* @__PURE__ */ fe.createElement("path", {
11410
11410
  d: V,
@@ -11611,12 +11611,12 @@ var J7 = function(t) {
11611
11611
  defaultColor: v,
11612
11612
  rfId: t.rfId
11613
11613
  }), /* @__PURE__ */ fe.createElement("g", null, E.map(function(C) {
11614
- var R = FN(f, C.source), P = Fe(R, 3), D = P[0], L = P[1], $ = P[2], k = FN(f, C.target), M = Fe(k, 3), T = M[0], B = M[1], j = M[2];
11614
+ var R = FN(f, C.source), P = Fe(R, 3), D = P[0], k = P[1], $ = P[2], L = FN(f, C.target), M = Fe(L, 3), T = M[0], B = M[1], j = M[2];
11615
11615
  if (!$ || !j)
11616
11616
  return null;
11617
11617
  var V = C.type || "default";
11618
11618
  t.edgeTypes[V] || (console.warn('[React Flow]: Edge type "'.concat(V, '" not found. Using fallback type "default". Help: https://reactflow.dev/error#300')), V = "default");
11619
- var K = t.edgeTypes[V] || t.edgeTypes.default, J = d === Ao.Strict ? B.target : B.target || B.source, z = jN(L.source, C.sourceHandle || null), Z = jN(J, C.targetHandle || null), se = (z == null ? void 0 : z.position) || be.Bottom, oe = (Z == null ? void 0 : Z.position) || be.Top;
11619
+ var K = t.edgeTypes[V] || t.edgeTypes.default, J = d === Ao.Strict ? B.target : B.target || B.source, z = jN(k.source, C.sourceHandle || null), Z = jN(J, C.targetHandle || null), se = (z == null ? void 0 : z.position) || be.Bottom, oe = (Z == null ? void 0 : Z.position) || be.Top;
11620
11620
  if (!z)
11621
11621
  return process.env.NODE_ENV === "development" && console.warn("[React Flow]: Couldn't create edge for source handle id: ".concat(C.sourceHandle, "; edge id: ").concat(C.id, ". Help: https://reactflow.dev/error#800")), null;
11622
11622
  if (!Z)
@@ -11700,7 +11700,7 @@ function rX(e) {
11700
11700
  }, [e, t.viewportInitialized]);
11701
11701
  }
11702
11702
  var Ak = function(t) {
11703
- var r = t.nodeTypes, n = t.edgeTypes, i = t.onMove, o = t.onMoveStart, a = t.onMoveEnd, u = t.onInit, c = t.onNodeClick, d = t.onEdgeClick, f = t.onNodeDoubleClick, h = t.onEdgeDoubleClick, p = t.onNodeMouseEnter, v = t.onNodeMouseMove, m = t.onNodeMouseLeave, y = t.onNodeContextMenu, w = t.onSelectionContextMenu, b = t.connectionLineType, _ = t.connectionLineStyle, S = t.connectionLineComponent, E = t.connectionLineContainerStyle, x = t.selectionKeyCode, C = t.multiSelectionKeyCode, R = t.zoomActivationKeyCode, P = t.deleteKeyCode, D = t.onlyRenderVisibleElements, L = t.elementsSelectable, $ = t.selectNodesOnDrag, k = t.translateExtent, M = t.minZoom, T = t.maxZoom, B = t.defaultZoom, j = t.defaultPosition, V = t.preventScrolling, K = t.defaultMarkerColor, J = t.zoomOnScroll, z = t.zoomOnPinch, Z = t.panOnScroll, se = t.panOnScrollSpeed, oe = t.panOnScrollMode, F = t.zoomOnDoubleClick, W = t.panOnDrag, X = t.onPaneClick, U = t.onPaneScroll, G = t.onPaneContextMenu, re = t.onEdgeUpdate, te = t.onEdgeContextMenu, ae = t.onEdgeMouseEnter, de = t.onEdgeMouseMove, we = t.onEdgeMouseLeave, Ee = t.edgeUpdaterRadius, _e = t.onEdgeUpdateStart, he = t.onEdgeUpdateEnd, ie = t.noDragClassName, Se = t.noWheelClassName, Pe = t.noPanClassName, Ge = t.elevateEdgesOnSelect, Be = t.id;
11703
+ var r = t.nodeTypes, n = t.edgeTypes, i = t.onMove, o = t.onMoveStart, a = t.onMoveEnd, u = t.onInit, c = t.onNodeClick, d = t.onEdgeClick, f = t.onNodeDoubleClick, h = t.onEdgeDoubleClick, p = t.onNodeMouseEnter, v = t.onNodeMouseMove, m = t.onNodeMouseLeave, y = t.onNodeContextMenu, w = t.onSelectionContextMenu, b = t.connectionLineType, _ = t.connectionLineStyle, S = t.connectionLineComponent, E = t.connectionLineContainerStyle, x = t.selectionKeyCode, C = t.multiSelectionKeyCode, R = t.zoomActivationKeyCode, P = t.deleteKeyCode, D = t.onlyRenderVisibleElements, k = t.elementsSelectable, $ = t.selectNodesOnDrag, L = t.translateExtent, M = t.minZoom, T = t.maxZoom, B = t.defaultZoom, j = t.defaultPosition, V = t.preventScrolling, K = t.defaultMarkerColor, J = t.zoomOnScroll, z = t.zoomOnPinch, Z = t.panOnScroll, se = t.panOnScrollSpeed, oe = t.panOnScrollMode, F = t.zoomOnDoubleClick, W = t.panOnDrag, X = t.onPaneClick, U = t.onPaneScroll, G = t.onPaneContextMenu, re = t.onEdgeUpdate, te = t.onEdgeContextMenu, ae = t.onEdgeMouseEnter, de = t.onEdgeMouseMove, we = t.onEdgeMouseLeave, Ee = t.edgeUpdaterRadius, _e = t.onEdgeUpdateStart, he = t.onEdgeUpdateEnd, ie = t.noDragClassName, Se = t.noWheelClassName, Pe = t.noPanClassName, Ge = t.elevateEdgesOnSelect, Be = t.id;
11704
11704
  return rX(u), /* @__PURE__ */ fe.createElement(k7, {
11705
11705
  onPaneClick: X,
11706
11706
  onPaneContextMenu: G,
@@ -11709,7 +11709,7 @@ var Ak = function(t) {
11709
11709
  selectionKeyCode: x,
11710
11710
  multiSelectionKeyCode: C,
11711
11711
  zoomActivationKeyCode: R,
11712
- elementsSelectable: L,
11712
+ elementsSelectable: k,
11713
11713
  onMove: i,
11714
11714
  onMoveStart: o,
11715
11715
  onMoveEnd: a,
@@ -11720,7 +11720,7 @@ var Ak = function(t) {
11720
11720
  panOnScrollSpeed: se,
11721
11721
  panOnScrollMode: oe,
11722
11722
  panOnDrag: W,
11723
- translateExtent: k,
11723
+ translateExtent: L,
11724
11724
  minZoom: M,
11725
11725
  maxZoom: T,
11726
11726
  defaultZoom: B,
@@ -11793,7 +11793,7 @@ function iP(e) {
11793
11793
  }
11794
11794
  var ya = (function(e) {
11795
11795
  var t = function(n) {
11796
- var i = n.id, o = n.type, a = n.data, u = n.xPos, c = n.yPos, d = n.selected, f = n.onClick, h = n.onMouseEnter, p = n.onMouseMove, v = n.onMouseLeave, m = n.onContextMenu, y = n.onDoubleClick, w = n.style, b = n.className, _ = n.isDraggable, S = n.isSelectable, E = n.isConnectable, x = n.selectNodesOnDrag, C = n.sourcePosition, R = n.targetPosition, P = n.hidden, D = n.resizeObserver, L = n.dragHandle, $ = n.zIndex, k = n.isParent, M = n.noPanClassName, T = n.noDragClassName, B = n.initialized, j = Kt(), V = Ae(null), K = Ae(C), J = Ae(R), z = Ae(o), Z = S || _ || f || h || p || v, se = ga(i, j.getState, h), oe = ga(i, j.getState, p), F = ga(i, j.getState, v), W = ga(i, j.getState, m), X = ga(i, j.getState, y), U = function(te) {
11796
+ var i = n.id, o = n.type, a = n.data, u = n.xPos, c = n.yPos, d = n.selected, f = n.onClick, h = n.onMouseEnter, p = n.onMouseMove, v = n.onMouseLeave, m = n.onContextMenu, y = n.onDoubleClick, w = n.style, b = n.className, _ = n.isDraggable, S = n.isSelectable, E = n.isConnectable, x = n.selectNodesOnDrag, C = n.sourcePosition, R = n.targetPosition, P = n.hidden, D = n.resizeObserver, k = n.dragHandle, $ = n.zIndex, L = n.isParent, M = n.noPanClassName, T = n.noDragClassName, B = n.initialized, j = Kt(), V = Ae(null), K = Ae(C), J = Ae(R), z = Ae(o), Z = S || _ || f || h || p || v, se = ga(i, j.getState, h), oe = ga(i, j.getState, p), F = ga(i, j.getState, v), W = ga(i, j.getState, m), X = ga(i, j.getState, y), U = function(te) {
11797
11797
  if (S && (!x || !_) && ok({
11798
11798
  id: i,
11799
11799
  store: j
@@ -11821,7 +11821,7 @@ var ya = (function(e) {
11821
11821
  nodeRef: V,
11822
11822
  disabled: P || !_,
11823
11823
  noDragClassName: T,
11824
- handleSelector: L,
11824
+ handleSelector: k,
11825
11825
  nodeId: i,
11826
11826
  isSelectable: S,
11827
11827
  selectNodesOnDrag: x
@@ -11830,7 +11830,7 @@ var ya = (function(e) {
11830
11830
  className: yr(["react-flow__node", "react-flow__node-".concat(o), M, b, {
11831
11831
  selected: d,
11832
11832
  selectable: S,
11833
- parent: k
11833
+ parent: L
11834
11834
  }]),
11835
11835
  ref: V,
11836
11836
  style: iP({
@@ -11860,7 +11860,7 @@ var ya = (function(e) {
11860
11860
  sourcePosition: C,
11861
11861
  targetPosition: R,
11862
11862
  dragging: G,
11863
- dragHandle: L,
11863
+ dragHandle: k,
11864
11864
  zIndex: $
11865
11865
  })));
11866
11866
  };
@@ -11962,7 +11962,7 @@ var aX = {
11962
11962
  smoothstep: u_,
11963
11963
  simplebezier: vk
11964
11964
  }, uX = [15, 15], cX = [0, 0], qk = /* @__PURE__ */ GD(function(e, t) {
11965
- var r = e.nodes, n = e.edges, i = e.defaultNodes, o = e.defaultEdges, a = e.className, u = e.nodeTypes, c = u === void 0 ? aX : u, d = e.edgeTypes, f = d === void 0 ? sX : d, h = e.onNodeClick, p = e.onEdgeClick, v = e.onInit, m = e.onMove, y = e.onMoveStart, w = e.onMoveEnd, b = e.onConnect, _ = e.onConnectStart, S = e.onConnectStop, E = e.onConnectEnd, x = e.onClickConnectStart, C = e.onClickConnectStop, R = e.onClickConnectEnd, P = e.onNodeMouseEnter, D = e.onNodeMouseMove, L = e.onNodeMouseLeave, $ = e.onNodeContextMenu, k = e.onNodeDoubleClick, M = e.onNodeDragStart, T = e.onNodeDrag, B = e.onNodeDragStop, j = e.onNodesDelete, V = e.onEdgesDelete, K = e.onSelectionChange, J = e.onSelectionDragStart, z = e.onSelectionDrag, Z = e.onSelectionDragStop, se = e.onSelectionContextMenu, oe = e.connectionMode, F = oe === void 0 ? Ao.Strict : oe, W = e.connectionLineType, X = W === void 0 ? ti.Bezier : W, U = e.connectionLineStyle, G = e.connectionLineComponent, re = e.connectionLineContainerStyle, te = e.deleteKeyCode, ae = te === void 0 ? "Backspace" : te, de = e.selectionKeyCode, we = de === void 0 ? "Shift" : de, Ee = e.multiSelectionKeyCode, _e = Ee === void 0 ? "Meta" : Ee, he = e.zoomActivationKeyCode, ie = he === void 0 ? "Meta" : he, Se = e.snapToGrid, Pe = Se === void 0 ? !1 : Se, Ge = e.snapGrid, Be = Ge === void 0 ? uX : Ge, et = e.onlyRenderVisibleElements, Xe = et === void 0 ? !1 : et, xt = e.selectNodesOnDrag, it = xt === void 0 ? !0 : xt, $t = e.nodesDraggable, dt = e.nodesConnectable, ot = e.elementsSelectable, At = e.minZoom, ar = At === void 0 ? 0.5 : At, br = e.maxZoom, zt = br === void 0 ? 2 : br, Ot = e.defaultZoom, Ht = Ot === void 0 ? 1 : Ot, tn = e.defaultPosition, li = tn === void 0 ? cX : tn, jn = e.translateExtent, rn = jn === void 0 ? uw : jn, Ui = e.preventScrolling, $l = Ui === void 0 ? !0 : Ui, Es = e.nodeExtent, Vo = e.defaultMarkerColor, jl = Vo === void 0 ? "#b1b1b7" : Vo, Ss = e.zoomOnScroll, Fl = Ss === void 0 ? !0 : Ss, Os = e.zoomOnPinch, Cs = Os === void 0 ? !0 : Os, Rs = e.panOnScroll, zl = Rs === void 0 ? !1 : Rs, Is = e.panOnScrollSpeed, Wo = Is === void 0 ? 0.5 : Is, Ns = e.panOnScrollMode, Go = Ns === void 0 ? wo.Free : Ns, Ps = e.zoomOnDoubleClick, Hl = Ps === void 0 ? !0 : Ps, Ts = e.panOnDrag, Ul = Ts === void 0 ? !0 : Ts, Vl = e.onPaneClick, Wl = e.onPaneScroll, Gl = e.onPaneContextMenu, Kl = e.children, As = e.onEdgeUpdate, Yl = e.onEdgeContextMenu, Xl = e.onEdgeDoubleClick, Zl = e.onEdgeMouseEnter, Jl = e.onEdgeMouseMove, Ql = e.onEdgeMouseLeave, ef = e.onEdgeUpdateStart, Vi = e.onEdgeUpdateEnd, Ms = e.edgeUpdaterRadius, Wi = Ms === void 0 ? 10 : Ms, tf = e.onNodesChange, rf = e.onEdgesChange, Ds = e.noDragClassName, qs = Ds === void 0 ? "nodrag" : Ds, Ko = e.noWheelClassName, ks = Ko === void 0 ? "nowheel" : Ko, Ls = e.noPanClassName, nf = Ls === void 0 ? "nopan" : Ls, Bs = e.fitView, of = Bs === void 0 ? !1 : Bs, $s = e.fitViewOptions, Yo = e.connectOnClick, js = Yo === void 0 ? !0 : Yo, Xo = e.attributionPosition, af = e.proOptions, Fs = e.defaultEdgeOptions, fi = e.elevateEdgesOnSelect, zs = fi === void 0 ? !1 : fi, Gi = hl(e, oX), Hs = sP(c, iX), Us = sP(f, g7);
11965
+ var r = e.nodes, n = e.edges, i = e.defaultNodes, o = e.defaultEdges, a = e.className, u = e.nodeTypes, c = u === void 0 ? aX : u, d = e.edgeTypes, f = d === void 0 ? sX : d, h = e.onNodeClick, p = e.onEdgeClick, v = e.onInit, m = e.onMove, y = e.onMoveStart, w = e.onMoveEnd, b = e.onConnect, _ = e.onConnectStart, S = e.onConnectStop, E = e.onConnectEnd, x = e.onClickConnectStart, C = e.onClickConnectStop, R = e.onClickConnectEnd, P = e.onNodeMouseEnter, D = e.onNodeMouseMove, k = e.onNodeMouseLeave, $ = e.onNodeContextMenu, L = e.onNodeDoubleClick, M = e.onNodeDragStart, T = e.onNodeDrag, B = e.onNodeDragStop, j = e.onNodesDelete, V = e.onEdgesDelete, K = e.onSelectionChange, J = e.onSelectionDragStart, z = e.onSelectionDrag, Z = e.onSelectionDragStop, se = e.onSelectionContextMenu, oe = e.connectionMode, F = oe === void 0 ? Ao.Strict : oe, W = e.connectionLineType, X = W === void 0 ? ti.Bezier : W, U = e.connectionLineStyle, G = e.connectionLineComponent, re = e.connectionLineContainerStyle, te = e.deleteKeyCode, ae = te === void 0 ? "Backspace" : te, de = e.selectionKeyCode, we = de === void 0 ? "Shift" : de, Ee = e.multiSelectionKeyCode, _e = Ee === void 0 ? "Meta" : Ee, he = e.zoomActivationKeyCode, ie = he === void 0 ? "Meta" : he, Se = e.snapToGrid, Pe = Se === void 0 ? !1 : Se, Ge = e.snapGrid, Be = Ge === void 0 ? uX : Ge, et = e.onlyRenderVisibleElements, Xe = et === void 0 ? !1 : et, xt = e.selectNodesOnDrag, it = xt === void 0 ? !0 : xt, $t = e.nodesDraggable, dt = e.nodesConnectable, ot = e.elementsSelectable, At = e.minZoom, ar = At === void 0 ? 0.5 : At, br = e.maxZoom, zt = br === void 0 ? 2 : br, Ot = e.defaultZoom, Ht = Ot === void 0 ? 1 : Ot, tn = e.defaultPosition, li = tn === void 0 ? cX : tn, jn = e.translateExtent, rn = jn === void 0 ? uw : jn, Ui = e.preventScrolling, $l = Ui === void 0 ? !0 : Ui, Es = e.nodeExtent, Vo = e.defaultMarkerColor, jl = Vo === void 0 ? "#b1b1b7" : Vo, Ss = e.zoomOnScroll, Fl = Ss === void 0 ? !0 : Ss, Os = e.zoomOnPinch, Cs = Os === void 0 ? !0 : Os, Rs = e.panOnScroll, zl = Rs === void 0 ? !1 : Rs, Is = e.panOnScrollSpeed, Wo = Is === void 0 ? 0.5 : Is, Ns = e.panOnScrollMode, Go = Ns === void 0 ? wo.Free : Ns, Ps = e.zoomOnDoubleClick, Hl = Ps === void 0 ? !0 : Ps, Ts = e.panOnDrag, Ul = Ts === void 0 ? !0 : Ts, Vl = e.onPaneClick, Wl = e.onPaneScroll, Gl = e.onPaneContextMenu, Kl = e.children, As = e.onEdgeUpdate, Yl = e.onEdgeContextMenu, Xl = e.onEdgeDoubleClick, Zl = e.onEdgeMouseEnter, Jl = e.onEdgeMouseMove, Ql = e.onEdgeMouseLeave, ef = e.onEdgeUpdateStart, Vi = e.onEdgeUpdateEnd, Ms = e.edgeUpdaterRadius, Wi = Ms === void 0 ? 10 : Ms, tf = e.onNodesChange, rf = e.onEdgesChange, Ds = e.noDragClassName, qs = Ds === void 0 ? "nodrag" : Ds, Ko = e.noWheelClassName, ks = Ko === void 0 ? "nowheel" : Ko, Ls = e.noPanClassName, nf = Ls === void 0 ? "nopan" : Ls, Bs = e.fitView, of = Bs === void 0 ? !1 : Bs, $s = e.fitViewOptions, Yo = e.connectOnClick, js = Yo === void 0 ? !0 : Yo, Xo = e.attributionPosition, af = e.proOptions, Fs = e.defaultEdgeOptions, fi = e.elevateEdgesOnSelect, zs = fi === void 0 ? !1 : fi, Gi = hl(e, oX), Hs = sP(c, iX), Us = sP(f, g7);
11966
11966
  return /* @__PURE__ */ fe.createElement("div", lP(lP({}, Gi), {}, {
11967
11967
  ref: t,
11968
11968
  className: yr(["react-flow", a])
@@ -11975,9 +11975,9 @@ var aX = {
11975
11975
  onEdgeClick: p,
11976
11976
  onNodeMouseEnter: P,
11977
11977
  onNodeMouseMove: D,
11978
- onNodeMouseLeave: L,
11978
+ onNodeMouseLeave: k,
11979
11979
  onNodeContextMenu: $,
11980
- onNodeDoubleClick: k,
11980
+ onNodeDoubleClick: L,
11981
11981
  nodeTypes: Hs,
11982
11982
  edgeTypes: Us,
11983
11983
  connectionLineType: X,
@@ -13018,7 +13018,7 @@ const BX = (e) => ({
13018
13018
  }, v = h_(i), m = d_(v), y = await a.getDimensions(d), w = v === "y", b = w ? "top" : "left", _ = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", E = o.reference[m] + o.reference[v] - p[v] - o.floating[m], x = p[v] - o.reference[v], C = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
13019
13019
  let R = C ? C[S] : 0;
13020
13020
  (!R || !await (a.isElement == null ? void 0 : a.isElement(C))) && (R = u.floating[S] || o.floating[m]);
13021
- const P = E / 2 - x / 2, D = R / 2 - y[m] / 2 - 1, L = ni(h[b], D), $ = ni(h[_], D), k = L, M = R - y[m] - $, T = R / 2 - y[m] / 2 + P, B = pw(k, T, M), j = !c.arrow && jo(i) != null && T !== B && o.reference[m] / 2 - (T < k ? L : $) - y[m] / 2 < 0, V = j ? T < k ? T - k : T - M : 0;
13021
+ const P = E / 2 - x / 2, D = R / 2 - y[m] / 2 - 1, k = ni(h[b], D), $ = ni(h[_], D), L = k, M = R - y[m] - $, T = R / 2 - y[m] / 2 + P, B = pw(L, T, M), j = !c.arrow && jo(i) != null && T !== B && o.reference[m] / 2 - (T < L ? k : $) - y[m] / 2 < 0, V = j ? T < L ? T - L : T - M : 0;
13022
13022
  return {
13023
13023
  [v]: p[v] + V,
13024
13024
  data: {
@@ -13058,35 +13058,35 @@ const BX = (e) => ({
13058
13058
  const b = qn(i), _ = dn(u), S = qn(u) === u, E = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), x = p || (S || !y ? [Rc(u)] : TX(u)), C = m !== "none";
13059
13059
  !p && C && x.push(...qX(u, y, m, E));
13060
13060
  const R = [u, ...x], P = await is(t, w), D = [];
13061
- let L = ((n = o.flip) == null ? void 0 : n.overflows) || [];
13061
+ let k = ((n = o.flip) == null ? void 0 : n.overflows) || [];
13062
13062
  if (f && D.push(P[b]), h) {
13063
13063
  const T = PX(i, a, E);
13064
13064
  D.push(P[T[0]], P[T[1]]);
13065
13065
  }
13066
- if (L = [...L, {
13066
+ if (k = [...k, {
13067
13067
  placement: i,
13068
13068
  overflows: D
13069
13069
  }], !D.every((T) => T <= 0)) {
13070
- var $, k;
13070
+ var $, L;
13071
13071
  const T = ((($ = o.flip) == null ? void 0 : $.index) || 0) + 1, B = R[T];
13072
13072
  if (B && (!(h === "alignment" ? _ !== dn(B) : !1) || // We leave the current main axis only if every placement on that axis
13073
13073
  // overflows the main axis.
13074
- L.every((K) => dn(K.placement) === _ ? K.overflows[0] > 0 : !0)))
13074
+ k.every((K) => dn(K.placement) === _ ? K.overflows[0] > 0 : !0)))
13075
13075
  return {
13076
13076
  data: {
13077
13077
  index: T,
13078
- overflows: L
13078
+ overflows: k
13079
13079
  },
13080
13080
  reset: {
13081
13081
  placement: B
13082
13082
  }
13083
13083
  };
13084
- let j = (k = L.filter((V) => V.overflows[0] <= 0).sort((V, K) => V.overflows[1] - K.overflows[1])[0]) == null ? void 0 : k.placement;
13084
+ let j = (L = k.filter((V) => V.overflows[0] <= 0).sort((V, K) => V.overflows[1] - K.overflows[1])[0]) == null ? void 0 : L.placement;
13085
13085
  if (!j)
13086
13086
  switch (v) {
13087
13087
  case "bestFit": {
13088
13088
  var M;
13089
- const V = (M = L.filter((K) => {
13089
+ const V = (M = k.filter((K) => {
13090
13090
  if (C) {
13091
13091
  const J = dn(K.placement);
13092
13092
  return J === _ || // Create a bias to the `y` side axis due to horizontal
@@ -13337,8 +13337,8 @@ const zX = function(e) {
13337
13337
  const _ = y - f.top - f.bottom, S = m - f.left - f.right, E = ni(y - f[w], _), x = ni(m - f[b], S), C = !t.middlewareData.shift;
13338
13338
  let R = E, P = x;
13339
13339
  if ((r = t.middlewareData.shift) != null && r.enabled.x && (P = S), (n = t.middlewareData.shift) != null && n.enabled.y && (R = _), C && !p) {
13340
- const L = hr(f.left, 0), $ = hr(f.right, 0), k = hr(f.top, 0), M = hr(f.bottom, 0);
13341
- v ? P = m - 2 * (L !== 0 || $ !== 0 ? L + $ : hr(f.left, f.right)) : R = y - 2 * (k !== 0 || M !== 0 ? k + M : hr(f.top, f.bottom));
13340
+ const k = hr(f.left, 0), $ = hr(f.right, 0), L = hr(f.top, 0), M = hr(f.bottom, 0);
13341
+ v ? P = m - 2 * (k !== 0 || $ !== 0 ? k + $ : hr(f.left, f.right)) : R = y - 2 * (L !== 0 || M !== 0 ? L + M : hr(f.top, f.bottom));
13342
13342
  }
13343
13343
  await c({
13344
13344
  ...t,
@@ -13926,7 +13926,7 @@ function RZ(e) {
13926
13926
  K !== C.current && (C.current = K, y(K));
13927
13927
  }, []), S = ve.useCallback((K) => {
13928
13928
  K !== R.current && (R.current = K, b(K));
13929
- }, []), E = o || m, x = a || w, C = ve.useRef(null), R = ve.useRef(null), P = ve.useRef(f), D = c != null, L = ty(c), $ = ty(i), k = ty(d), M = ve.useCallback(() => {
13929
+ }, []), E = o || m, x = a || w, C = ve.useRef(null), R = ve.useRef(null), P = ve.useRef(f), D = c != null, k = ty(c), $ = ty(i), L = ty(d), M = ve.useCallback(() => {
13930
13930
  if (!C.current || !R.current)
13931
13931
  return;
13932
13932
  const K = {
@@ -13941,13 +13941,13 @@ function RZ(e) {
13941
13941
  // but still mounted (such as when transitioning out). To ensure
13942
13942
  // `isPositioned` will be `false` initially on the next open, avoid
13943
13943
  // setting it to `true` when `open === false` (must be specified).
13944
- isPositioned: k.current !== !1
13944
+ isPositioned: L.current !== !1
13945
13945
  };
13946
13946
  T.current && !Nc(P.current, z) && (P.current = z, Cw.flushSync(() => {
13947
13947
  h(z);
13948
13948
  }));
13949
13949
  });
13950
- }, [p, t, r, $, k]);
13950
+ }, [p, t, r, $, L]);
13951
13951
  ac(() => {
13952
13952
  d === !1 && P.current.isPositioned && (P.current.isPositioned = !1, h((K) => ({
13953
13953
  ...K,
@@ -13959,11 +13959,11 @@ function RZ(e) {
13959
13959
  T.current = !1;
13960
13960
  }), []), ac(() => {
13961
13961
  if (E && (C.current = E), x && (R.current = x), E && x) {
13962
- if (L.current)
13963
- return L.current(E, x, M);
13962
+ if (k.current)
13963
+ return k.current(E, x, M);
13964
13964
  M();
13965
13965
  }
13966
- }, [E, x, M, L, D]);
13966
+ }, [E, x, M, k, D]);
13967
13967
  const B = ve.useMemo(() => ({
13968
13968
  reference: C,
13969
13969
  floating: R,
@@ -14197,11 +14197,11 @@ var y_ = "PopperContent", [KZ, YZ] = rL(y_), uL = ve.forwardRef(
14197
14197
  updatePositionStrategy: v = "optimized",
14198
14198
  onPlaced: m,
14199
14199
  ...y
14200
- } = e, w = iL(y_, r), [b, _] = ve.useState(null), S = $o(t, (we) => _(we)), [E, x] = ve.useState(null), C = WZ(E), R = (C == null ? void 0 : C.width) ?? 0, P = (C == null ? void 0 : C.height) ?? 0, D = n + (o !== "center" ? "-" + o : ""), L = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, $ = Array.isArray(d) ? d : [d], k = $.length > 0, M = {
14201
- padding: L,
14200
+ } = e, w = iL(y_, r), [b, _] = ve.useState(null), S = $o(t, (we) => _(we)), [E, x] = ve.useState(null), C = WZ(E), R = (C == null ? void 0 : C.width) ?? 0, P = (C == null ? void 0 : C.height) ?? 0, D = n + (o !== "center" ? "-" + o : ""), k = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, $ = Array.isArray(d) ? d : [d], L = $.length > 0, M = {
14201
+ padding: k,
14202
14202
  boundary: $.filter(ZZ),
14203
14203
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
14204
- altBoundary: k
14204
+ altBoundary: L
14205
14205
  }, { refs: T, floatingStyles: B, placement: j, isPositioned: V, middlewareData: K } = RZ({
14206
14206
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
14207
14207
  strategy: "fixed",
@@ -14459,11 +14459,11 @@ var uJ = "DismissableLayer", mw = "dismissableLayer.update", cJ = "dismissableLa
14459
14459
  onDismiss: u,
14460
14460
  ...c
14461
14461
  } = e, d = ve.useContext(hL), [f, h] = ve.useState(null), p = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, v] = ve.useState({}), m = $o(t, (R) => h(R)), y = Array.from(d.layers), [w] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), b = y.indexOf(w), _ = f ? y.indexOf(f) : -1, S = d.layersWithOutsidePointerEventsDisabled.size > 0, E = _ >= b, x = hJ((R) => {
14462
- const P = R.target, D = [...d.branches].some((L) => L.contains(P));
14462
+ const P = R.target, D = [...d.branches].some((k) => k.contains(P));
14463
14463
  !E || D || (i == null || i(R), a == null || a(R), R.defaultPrevented || u == null || u());
14464
14464
  }, p), C = pJ((R) => {
14465
14465
  const P = R.target;
14466
- [...d.branches].some((L) => L.contains(P)) || (o == null || o(R), a == null || a(R), R.defaultPrevented || u == null || u());
14466
+ [...d.branches].some((k) => k.contains(P)) || (o == null || o(R), a == null || a(R), R.defaultPrevented || u == null || u());
14467
14467
  }, p);
14468
14468
  return sJ((R) => {
14469
14469
  _ === d.layers.size - 1 && (n == null || n(R), !R.defaultPrevented && u && (R.preventDefault(), u()));
@@ -15089,7 +15089,7 @@ function OJ() {
15089
15089
  }
15090
15090
  }
15091
15091
  }
15092
- var x = c, C = d, R = u, P = a, D = t, L = f, $ = n, k = m, M = v, T = r, B = o, j = i, V = h, K = !1;
15092
+ var x = c, C = d, R = u, P = a, D = t, k = f, $ = n, L = m, M = v, T = r, B = o, j = i, V = h, K = !1;
15093
15093
  function J(de) {
15094
15094
  return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), z(de) || E(de) === c;
15095
15095
  }
@@ -15129,7 +15129,7 @@ function OJ() {
15129
15129
  function ae(de) {
15130
15130
  return E(de) === h;
15131
15131
  }
15132
- Qe.AsyncMode = x, Qe.ConcurrentMode = C, Qe.ContextConsumer = R, Qe.ContextProvider = P, Qe.Element = D, Qe.ForwardRef = L, Qe.Fragment = $, Qe.Lazy = k, Qe.Memo = M, Qe.Portal = T, Qe.Profiler = B, Qe.StrictMode = j, Qe.Suspense = V, Qe.isAsyncMode = J, Qe.isConcurrentMode = z, Qe.isContextConsumer = Z, Qe.isContextProvider = se, Qe.isElement = oe, Qe.isForwardRef = F, Qe.isFragment = W, Qe.isLazy = X, Qe.isMemo = U, Qe.isPortal = G, Qe.isProfiler = re, Qe.isStrictMode = te, Qe.isSuspense = ae, Qe.isValidElementType = S, Qe.typeOf = E;
15132
+ Qe.AsyncMode = x, Qe.ConcurrentMode = C, Qe.ContextConsumer = R, Qe.ContextProvider = P, Qe.Element = D, Qe.ForwardRef = k, Qe.Fragment = $, Qe.Lazy = L, Qe.Memo = M, Qe.Portal = T, Qe.Profiler = B, Qe.StrictMode = j, Qe.Suspense = V, Qe.isAsyncMode = J, Qe.isConcurrentMode = z, Qe.isContextConsumer = Z, Qe.isContextProvider = se, Qe.isElement = oe, Qe.isForwardRef = F, Qe.isFragment = W, Qe.isLazy = X, Qe.isMemo = U, Qe.isPortal = G, Qe.isProfiler = re, Qe.isStrictMode = te, Qe.isSuspense = ae, Qe.isValidElementType = S, Qe.typeOf = E;
15133
15133
  })()), Qe;
15134
15134
  }
15135
15135
  var qP;
@@ -15285,11 +15285,11 @@ function IJ() {
15285
15285
  element: E(),
15286
15286
  elementType: x(),
15287
15287
  instanceOf: C,
15288
- node: L(),
15288
+ node: k(),
15289
15289
  objectOf: P,
15290
15290
  oneOf: R,
15291
15291
  oneOfType: D,
15292
- shape: k,
15292
+ shape: L,
15293
15293
  exact: M
15294
15294
  };
15295
15295
  function m(z, Z) {
@@ -15445,7 +15445,7 @@ function IJ() {
15445
15445
  }
15446
15446
  return w(oe);
15447
15447
  }
15448
- function L() {
15448
+ function k() {
15449
15449
  function z(Z, se, oe, F, W) {
15450
15450
  return T(Z[se]) ? null : new y("Invalid " + F + " `" + W + "` supplied to " + ("`" + oe + "`, expected a ReactNode."));
15451
15451
  }
@@ -15456,7 +15456,7 @@ function IJ() {
15456
15456
  (z || "React class") + ": " + Z + " type `" + se + "." + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + F + "`."
15457
15457
  );
15458
15458
  }
15459
- function k(z) {
15459
+ function L(z) {
15460
15460
  function Z(se, oe, F, W, X) {
15461
15461
  var U = se[oe], G = j(U);
15462
15462
  if (G !== "object")
@@ -15675,8 +15675,8 @@ function AJ() {
15675
15675
  }
15676
15676
  }
15677
15677
  }
15678
- var S = o, E = e, x = u, C = r, R = h, P = f, D = t, L = i, $ = n, k = c;
15679
- return rt.ContextConsumer = a, rt.ContextProvider = S, rt.Element = E, rt.ForwardRef = x, rt.Fragment = C, rt.Lazy = R, rt.Memo = P, rt.Portal = D, rt.Profiler = L, rt.StrictMode = $, rt.Suspense = k, rt.isAsyncMode = function() {
15678
+ var S = o, E = e, x = u, C = r, R = h, P = f, D = t, k = i, $ = n, L = c;
15679
+ return rt.ContextConsumer = a, rt.ContextProvider = S, rt.Element = E, rt.ForwardRef = x, rt.Fragment = C, rt.Lazy = R, rt.Memo = P, rt.Portal = D, rt.Profiler = k, rt.StrictMode = $, rt.Suspense = L, rt.isAsyncMode = function() {
15680
15680
  return !1;
15681
15681
  }, rt.isConcurrentMode = function() {
15682
15682
  return !1;
@@ -15758,7 +15758,7 @@ function MJ() {
15758
15758
  }
15759
15759
  }
15760
15760
  }
15761
- var x = a, C = o, R = e, P = u, D = r, L = h, $ = f, k = t, M = i, T = n, B = c, j = !1, V = !1;
15761
+ var x = a, C = o, R = e, P = u, D = r, k = h, $ = f, L = t, M = i, T = n, B = c, j = !1, V = !1;
15762
15762
  function K(ae) {
15763
15763
  return j || (j = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
15764
15764
  }
@@ -15798,7 +15798,7 @@ function MJ() {
15798
15798
  function te(ae) {
15799
15799
  return E(ae) === c;
15800
15800
  }
15801
- nt.ContextConsumer = x, nt.ContextProvider = C, nt.Element = R, nt.ForwardRef = P, nt.Fragment = D, nt.Lazy = L, nt.Memo = $, nt.Portal = k, nt.Profiler = M, nt.StrictMode = T, nt.Suspense = B, nt.isAsyncMode = K, nt.isConcurrentMode = J, nt.isContextConsumer = z, nt.isContextProvider = Z, nt.isElement = se, nt.isForwardRef = oe, nt.isFragment = F, nt.isLazy = W, nt.isMemo = X, nt.isPortal = U, nt.isProfiler = G, nt.isStrictMode = re, nt.isSuspense = te, nt.isValidElementType = S, nt.typeOf = E;
15801
+ nt.ContextConsumer = x, nt.ContextProvider = C, nt.Element = R, nt.ForwardRef = P, nt.Fragment = D, nt.Lazy = k, nt.Memo = $, nt.Portal = L, nt.Profiler = M, nt.StrictMode = T, nt.Suspense = B, nt.isAsyncMode = K, nt.isConcurrentMode = J, nt.isContextConsumer = z, nt.isContextProvider = Z, nt.isElement = se, nt.isForwardRef = oe, nt.isFragment = F, nt.isLazy = W, nt.isMemo = X, nt.isPortal = U, nt.isProfiler = G, nt.isStrictMode = re, nt.isSuspense = te, nt.isValidElementType = S, nt.typeOf = E;
15802
15802
  })()), nt;
15803
15803
  }
15804
15804
  var VP;
@@ -15844,8 +15844,8 @@ var qJ = function(e, t) {
15844
15844
  }
15845
15845
  h != null && h === document.body && cy(h) && !cy(document.documentElement) || h != null && cy(h, o) && f.push(h);
15846
15846
  }
15847
- for (var p = r.visualViewport ? r.visualViewport.width : innerWidth, v = r.visualViewport ? r.visualViewport.height : innerHeight, m = window.scrollX || pageXOffset, y = window.scrollY || pageYOffset, w = e.getBoundingClientRect(), b = w.height, _ = w.width, S = w.top, E = w.right, x = w.bottom, C = w.left, R = S, P = n === "center" ? C + _ / 2 : n === "end" ? E : C, D = [], L = 0; L < f.length; L++) {
15848
- var $ = f[L], k = $.getBoundingClientRect(), M = k.height, T = k.width, B = k.top, j = k.right, V = k.bottom, K = k.left;
15847
+ for (var p = r.visualViewport ? r.visualViewport.width : innerWidth, v = r.visualViewport ? r.visualViewport.height : innerHeight, m = window.scrollX || pageXOffset, y = window.scrollY || pageYOffset, w = e.getBoundingClientRect(), b = w.height, _ = w.width, S = w.top, E = w.right, x = w.bottom, C = w.left, R = S, P = n === "center" ? C + _ / 2 : n === "end" ? E : C, D = [], k = 0; k < f.length; k++) {
15848
+ var $ = f[k], L = $.getBoundingClientRect(), M = L.height, T = L.width, B = L.top, j = L.right, V = L.bottom, K = L.left;
15849
15849
  if (S >= 0 && C >= 0 && x <= v && E <= p && S >= B && x <= V && C >= K && E <= j) return D;
15850
15850
  var J = getComputedStyle($), z = parseInt(J.borderLeftWidth, 10), Z = parseInt(J.borderTopWidth, 10), se = parseInt(J.borderRightWidth, 10), oe = parseInt(J.borderBottomWidth, 10), F = 0, W = 0, X = "offsetWidth" in $ ? $.offsetWidth - $.clientWidth - z - se : 0, U = "offsetHeight" in $ ? $.offsetHeight - $.clientHeight - Z - oe : 0, G = "offsetWidth" in $ ? $.offsetWidth === 0 ? 0 : T / $.offsetWidth : 0, re = "offsetHeight" in $ ? $.offsetHeight === 0 ? 0 : M / $.offsetHeight : 0;
15851
15851
  if (d === $) F = Gu(y, y + v, v, Z, oe, y + R, y + R + b, b), W = n === "start" ? P : n === "center" ? P - p / 2 : n === "end" ? P - p : Gu(m, m + p, p, z, se, m + P, m + P + _, _), F = Math.max(0, F + y), W = Math.max(0, W + m);
@@ -16526,7 +16526,7 @@ const zJ = /* @__PURE__ */ (() => {
16526
16526
  reset: R,
16527
16527
  setItemCount: P,
16528
16528
  unsetItemCount: D,
16529
- internalSetState: L
16529
+ internalSetState: k
16530
16530
  } = this;
16531
16531
  return {
16532
16532
  // prop getters
@@ -16549,7 +16549,7 @@ const zJ = /* @__PURE__ */ (() => {
16549
16549
  clearItems: C,
16550
16550
  setItemCount: P,
16551
16551
  unsetItemCount: D,
16552
- setState: L,
16552
+ setState: k,
16553
16553
  // props
16554
16554
  itemToString: a,
16555
16555
  // derived
@@ -17235,7 +17235,7 @@ function mo(e) {
17235
17235
  } = h, b = Ae(null), _ = Ae({}), S = Ae(null), E = Ae(null), x = Ae(null), C = Ae(!0), R = XJ(t), P = Ae(), D = GL({
17236
17236
  state: h,
17237
17237
  props: t
17238
- }), L = Ue((G) => _.current[R.getItemId(G)], [R]);
17238
+ }), k = Ue((G) => _.current[R.getItemId(G)], [R]);
17239
17239
  QP(u, [v, m, w, i], {
17240
17240
  isInitialMount: C.current,
17241
17241
  previousResultCount: P.current,
@@ -17257,7 +17257,7 @@ function mo(e) {
17257
17257
  isOpen: v,
17258
17258
  itemRefs: _,
17259
17259
  scrollIntoView: o,
17260
- getItemNodeFromIndex: L
17260
+ getItemNodeFromIndex: k
17261
17261
  });
17262
17262
  YL({
17263
17263
  isInitialMount: C.current,
@@ -17268,7 +17268,7 @@ function mo(e) {
17268
17268
  }, []), Ne(() => {
17269
17269
  C.current || (P.current = i.length);
17270
17270
  });
17271
- const k = tQ(v, [x, b, E], a, () => {
17271
+ const L = tQ(v, [x, b, E], a, () => {
17272
17272
  p({
17273
17273
  type: Lc,
17274
17274
  selectItem: !1
@@ -17284,26 +17284,26 @@ function mo(e) {
17284
17284
  G.preventDefault(), p({
17285
17285
  type: R_,
17286
17286
  shiftKey: G.shiftKey,
17287
- getItemNodeFromIndex: L
17287
+ getItemNodeFromIndex: k
17288
17288
  });
17289
17289
  },
17290
17290
  ArrowUp(G) {
17291
17291
  G.preventDefault(), p({
17292
17292
  type: I_,
17293
17293
  shiftKey: G.shiftKey,
17294
- getItemNodeFromIndex: L
17294
+ getItemNodeFromIndex: k
17295
17295
  });
17296
17296
  },
17297
17297
  Home(G) {
17298
17298
  D.current.state.isOpen && (G.preventDefault(), p({
17299
17299
  type: P_,
17300
- getItemNodeFromIndex: L
17300
+ getItemNodeFromIndex: k
17301
17301
  }));
17302
17302
  },
17303
17303
  End(G) {
17304
17304
  D.current.state.isOpen && (G.preventDefault(), p({
17305
17305
  type: T_,
17306
- getItemNodeFromIndex: L
17306
+ getItemNodeFromIndex: k
17307
17307
  }));
17308
17308
  },
17309
17309
  Escape(G) {
@@ -17316,10 +17316,10 @@ function mo(e) {
17316
17316
  const re = D.current.state;
17317
17317
  !re.isOpen || re.highlightedIndex < 0 || G.which === 229 || (G.preventDefault(), p({
17318
17318
  type: A_,
17319
- getItemNodeFromIndex: L
17319
+ getItemNodeFromIndex: k
17320
17320
  }));
17321
17321
  }
17322
- }), [p, D, L]), B = Ue((G) => ({
17322
+ }), [p, D, k]), B = Ue((G) => ({
17323
17323
  id: R.labelId,
17324
17324
  htmlFor: R.inputId,
17325
17325
  ...G
@@ -17439,7 +17439,7 @@ function mo(e) {
17439
17439
  inputValue: it.target.value
17440
17440
  });
17441
17441
  }, et = () => {
17442
- Pe.isOpen && !k.current.isMouseDown && p({
17442
+ Pe.isOpen && !L.current.isMouseDown && p({
17443
17443
  type: Lc,
17444
17444
  selectItem: !0
17445
17445
  });
@@ -17467,7 +17467,7 @@ function mo(e) {
17467
17467
  ...xt,
17468
17468
  ...ie
17469
17469
  };
17470
- }, [p, T, D, k, M, R]), z = Ue(function(G, re) {
17470
+ }, [p, T, D, L, M, R]), z = Ue(function(G, re) {
17471
17471
  let {
17472
17472
  refKey: te = "ref",
17473
17473
  ref: ae,
@@ -17577,7 +17577,7 @@ var lQ = ja.exports, eT;
17577
17577
  function fQ() {
17578
17578
  return eT || (eT = 1, (function(e, t) {
17579
17579
  (function() {
17580
- var r, n = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", u = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, f = "__lodash_placeholder__", h = 1, p = 2, v = 4, m = 1, y = 2, w = 1, b = 2, _ = 4, S = 8, E = 16, x = 32, C = 64, R = 128, P = 256, D = 512, L = 30, $ = "...", k = 800, M = 16, T = 1, B = 2, j = 3, V = 1 / 0, K = 9007199254740991, J = 17976931348623157e292, z = NaN, Z = 4294967295, se = Z - 1, oe = Z >>> 1, F = [
17580
+ var r, n = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", u = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, f = "__lodash_placeholder__", h = 1, p = 2, v = 4, m = 1, y = 2, w = 1, b = 2, _ = 4, S = 8, E = 16, x = 32, C = 64, R = 128, P = 256, D = 512, k = 30, $ = "...", L = 800, M = 16, T = 1, B = 2, j = 3, V = 1 / 0, K = 9007199254740991, J = 17976931348623157e292, z = NaN, Z = 4294967295, se = Z - 1, oe = Z >>> 1, F = [
17581
17581
  ["ary", R],
17582
17582
  ["bind", w],
17583
17583
  ["bindKey", b],
@@ -19757,7 +19757,7 @@ function fQ() {
19757
19757
  return function() {
19758
19758
  var O = oj(), N = M - (O - g);
19759
19759
  if (g = O, N > 0) {
19760
- if (++l >= k)
19760
+ if (++l >= L)
19761
19761
  return arguments[0];
19762
19762
  } else
19763
19763
  l = 0;
@@ -20937,7 +20937,7 @@ function print() { __p += __j.call(arguments, '') }
20937
20937
  return Kn(O, N).join("");
20938
20938
  }
20939
20939
  function dH(s, l) {
20940
- var g = L, O = $;
20940
+ var g = k, O = $;
20941
20941
  if (vt(l)) {
20942
20942
  var N = "separator" in l ? l.separator : N;
20943
20943
  g = "length" in l ? ke(l.length) : g, O = "omission" in l ? cr(l.omission) : O;
@@ -22196,9 +22196,9 @@ function OB() {
22196
22196
  var e = SB(), t = ut(), r = Cl(), n = Ho(), i = Al(), o = IQ(), a = t([].push), u = function(c) {
22197
22197
  var d = c === 1, f = c === 2, h = c === 3, p = c === 4, v = c === 6, m = c === 7, y = c === 5 || v;
22198
22198
  return function(w, b, _, S) {
22199
- for (var E = n(w), x = r(E), C = i(x), R = e(b, _), P = 0, D = S || o, L = d ? D(w, C) : f || m ? D(w, 0) : void 0, $, k; C > P; P++) if ((y || P in x) && ($ = x[P], k = R($, P, E), c))
22200
- if (d) L[P] = k;
22201
- else if (k) switch (c) {
22199
+ for (var E = n(w), x = r(E), C = i(x), R = e(b, _), P = 0, D = S || o, k = d ? D(w, C) : f || m ? D(w, 0) : void 0, $, L; C > P; P++) if ((y || P in x) && ($ = x[P], L = R($, P, E), c))
22200
+ if (d) k[P] = L;
22201
+ else if (L) switch (c) {
22202
22202
  case 3:
22203
22203
  return !0;
22204
22204
  // some
@@ -22209,16 +22209,16 @@ function OB() {
22209
22209
  return P;
22210
22210
  // findIndex
22211
22211
  case 2:
22212
- a(L, $);
22212
+ a(k, $);
22213
22213
  }
22214
22214
  else switch (c) {
22215
22215
  case 4:
22216
22216
  return !1;
22217
22217
  // every
22218
22218
  case 7:
22219
- a(L, $);
22219
+ a(k, $);
22220
22220
  }
22221
- return v ? -1 : h || p ? p : L;
22221
+ return v ? -1 : h || p ? p : k;
22222
22222
  };
22223
22223
  };
22224
22224
  return D0 = {
@@ -22468,8 +22468,8 @@ function NB() {
22468
22468
  var e = ci(), t = or(), r = Nl(), n = V_(), i = Nt(), o = LQ(), a = CB(), u = IB(), c = ql(), d = _s(), f = zi(), h = Yt(), p = xs(), v = RB(), m = n.PROPER, y = n.CONFIGURABLE, w = v.IteratorPrototype, b = v.BUGGY_SAFARI_ITERATORS, _ = h("iterator"), S = "keys", E = "values", x = "entries", C = function() {
22469
22469
  return this;
22470
22470
  };
22471
- return Z0 = function(R, P, D, L, $, k, M) {
22472
- o(D, P, L);
22471
+ return Z0 = function(R, P, D, k, $, L, M) {
22472
+ o(D, P, k);
22473
22473
  var T = function(F) {
22474
22474
  if (F === $ && J) return J;
22475
22475
  if (!b && F && F in V) return V[F];
@@ -22496,7 +22496,7 @@ function NB() {
22496
22496
  })), $)
22497
22497
  if (se = {
22498
22498
  values: T(E),
22499
- keys: k ? J : T(S),
22499
+ keys: L ? J : T(S),
22500
22500
  entries: T(x)
22501
22501
  }, M) for (oe in se)
22502
22502
  (b || j || !(oe in V)) && f(V, oe, se[oe]);
@@ -22677,7 +22677,7 @@ function Z_() {
22677
22677
  }, h = !0;
22678
22678
  var E = a.f, x = t([].splice), C = {};
22679
22679
  C[p] = 1, E(C).length && (a.f = function(R) {
22680
- for (var P = E(R), D = 0, L = P.length; D < L; D++)
22680
+ for (var P = E(R), D = 0, k = P.length; D < k; D++)
22681
22681
  if (P[D] === p) {
22682
22682
  x(P, D, 1);
22683
22683
  break;
@@ -22753,7 +22753,7 @@ function kB() {
22753
22753
  this.stopped = v, this.result = m;
22754
22754
  }, p = h.prototype;
22755
22755
  return db = function(v, m, y) {
22756
- var w = y && y.that, b = !!(y && y.AS_ENTRIES), _ = !!(y && y.IS_RECORD), S = !!(y && y.IS_ITERATOR), E = !!(y && y.INTERRUPTED), x = e(m, w), C, R, P, D, L, $, k, M = function(B) {
22756
+ var w = y && y.that, b = !!(y && y.AS_ENTRIES), _ = !!(y && y.IS_RECORD), S = !!(y && y.IS_ITERATOR), E = !!(y && y.INTERRUPTED), x = e(m, w), C, R, P, D, k, $, L, M = function(B) {
22757
22757
  return C && d(C, "normal"), new h(!0, B);
22758
22758
  }, T = function(B) {
22759
22759
  return b ? (r(B), E ? x(B[0], B[1], M) : x(B[0], B[1])) : E ? x(B, M) : x(B);
@@ -22766,18 +22766,18 @@ function kB() {
22766
22766
  if (R = c(v), !R) throw new f(n(v) + " is not iterable");
22767
22767
  if (i(R)) {
22768
22768
  for (P = 0, D = o(v); D > P; P++)
22769
- if (L = T(v[P]), L && a(p, L)) return L;
22769
+ if (k = T(v[P]), k && a(p, k)) return k;
22770
22770
  return new h(!1);
22771
22771
  }
22772
22772
  C = u(v, R);
22773
22773
  }
22774
- for ($ = _ ? v.next : C.next; !(k = t($, C)).done; ) {
22774
+ for ($ = _ ? v.next : C.next; !(L = t($, C)).done; ) {
22775
22775
  try {
22776
- L = T(k.value);
22776
+ k = T(L.value);
22777
22777
  } catch (B) {
22778
22778
  d(C, "throw", B);
22779
22779
  }
22780
- if (typeof L == "object" && L && a(p, L)) return L;
22780
+ if (typeof k == "object" && k && a(p, k)) return k;
22781
22781
  }
22782
22782
  return new h(!1);
22783
22783
  }, db;
@@ -22871,16 +22871,16 @@ function ZQ() {
22871
22871
  return V(this, J === 0 ? 0 : J, z), this;
22872
22872
  }
22873
22873
  );
22874
- }, L = n(
22874
+ }, k = n(
22875
22875
  y,
22876
22876
  !c(x) || !(S || C.forEach && !h(function() {
22877
22877
  new x().entries().next();
22878
22878
  }))
22879
22879
  );
22880
- if (L)
22880
+ if (k)
22881
22881
  R = b.getConstructor(w, y, _, E), o.enable();
22882
22882
  else if (n(y, !0)) {
22883
- var $ = new R(), k = $[E](S ? {} : -0, 1) !== $, M = h(function() {
22883
+ var $ = new R(), L = $[E](S ? {} : -0, 1) !== $, M = h(function() {
22884
22884
  $.has(1);
22885
22885
  }), T = p(function(j) {
22886
22886
  new x(j);
@@ -22892,7 +22892,7 @@ function ZQ() {
22892
22892
  u(j, C);
22893
22893
  var K = m(new x(), j, R);
22894
22894
  return d(V) || a(V, K[E], { that: K, AS_ENTRIES: _ }), K;
22895
- }), R.prototype = C, C.constructor = R), (M || B) && (D("delete"), D("has"), _ && D("get")), (B || k) && D(E), S && C.clear && delete C.clear;
22895
+ }), R.prototype = C, C.constructor = R), (M || B) && (D("delete"), D("has"), _ && D("get")), (B || L) && D(E), S && C.clear && delete C.clear;
22896
22896
  }
22897
22897
  return P[y] = R, e({ global: !0, constructor: !0, forced: R !== x }, P), v(R, y), S || b.setStrong(R, y, _), R;
22898
22898
  }, gb;
@@ -22930,31 +22930,31 @@ function JQ() {
22930
22930
  }
22931
22931
  }, mb = {
22932
22932
  getConstructor: function(E, x, C, R) {
22933
- var P = E(function(k, M) {
22934
- n(k, D), h(k, {
22933
+ var P = E(function(L, M) {
22934
+ n(L, D), h(L, {
22935
22935
  type: x,
22936
22936
  id: w++,
22937
22937
  frozen: null
22938
- }), o(M) || u(M, k[R], { that: k, AS_ENTRIES: C });
22939
- }), D = P.prototype, L = p(x), $ = function(k, M, T) {
22940
- var B = L(k), j = r(i(M), !0);
22941
- return j === !0 ? b(B).set(M, T) : j[B.id] = T, k;
22938
+ }), o(M) || u(M, L[R], { that: L, AS_ENTRIES: C });
22939
+ }), D = P.prototype, k = p(x), $ = function(L, M, T) {
22940
+ var B = k(L), j = r(i(M), !0);
22941
+ return j === !0 ? b(B).set(M, T) : j[B.id] = T, L;
22942
22942
  };
22943
22943
  return t(D, {
22944
22944
  // `{ WeakMap, WeakSet }.prototype.delete(key)` methods
22945
22945
  // https://tc39.es/ecma262/#sec-weakmap.prototype.delete
22946
22946
  // https://tc39.es/ecma262/#sec-weakset.prototype.delete
22947
- delete: function(k) {
22948
- var M = L(this);
22949
- if (!a(k)) return !1;
22950
- var T = r(k);
22951
- return T === !0 ? b(M).delete(k) : T && d(T, M.id) && delete T[M.id];
22947
+ delete: function(L) {
22948
+ var M = k(this);
22949
+ if (!a(L)) return !1;
22950
+ var T = r(L);
22951
+ return T === !0 ? b(M).delete(L) : T && d(T, M.id) && delete T[M.id];
22952
22952
  },
22953
22953
  // `{ WeakMap, WeakSet }.prototype.has(key)` methods
22954
22954
  // https://tc39.es/ecma262/#sec-weakmap.prototype.has
22955
22955
  // https://tc39.es/ecma262/#sec-weakset.prototype.has
22956
22956
  has: function(M) {
22957
- var T = L(this);
22957
+ var T = k(this);
22958
22958
  if (!a(M)) return !1;
22959
22959
  var B = r(M);
22960
22960
  return B === !0 ? b(T).has(M) : B && d(B, T.id);
@@ -22963,7 +22963,7 @@ function JQ() {
22963
22963
  // `WeakMap.prototype.get(key)` method
22964
22964
  // https://tc39.es/ecma262/#sec-weakmap.prototype.get
22965
22965
  get: function(M) {
22966
- var T = L(this);
22966
+ var T = k(this);
22967
22967
  if (a(M)) {
22968
22968
  var B = r(M);
22969
22969
  if (B === !0) return b(T).get(M);
@@ -22989,45 +22989,45 @@ var xM;
22989
22989
  function QQ() {
22990
22990
  if (xM) return iM;
22991
22991
  xM = 1;
22992
- var e = MB(), t = St(), r = ut(), n = DB(), i = Z_(), o = ZQ(), a = JQ(), u = Bt(), c = Uo().enforce, d = lt(), f = mB(), h = Object, p = Array.isArray, v = h.isExtensible, m = h.isFrozen, y = h.isSealed, w = h.freeze, b = h.seal, _ = !t.ActiveXObject && "ActiveXObject" in t, S, E = function(k) {
22992
+ var e = MB(), t = St(), r = ut(), n = DB(), i = Z_(), o = ZQ(), a = JQ(), u = Bt(), c = Uo().enforce, d = lt(), f = mB(), h = Object, p = Array.isArray, v = h.isExtensible, m = h.isFrozen, y = h.isSealed, w = h.freeze, b = h.seal, _ = !t.ActiveXObject && "ActiveXObject" in t, S, E = function(L) {
22993
22993
  return function() {
22994
- return k(this, arguments.length ? arguments[0] : void 0);
22994
+ return L(this, arguments.length ? arguments[0] : void 0);
22995
22995
  };
22996
22996
  }, x = o("WeakMap", E, a), C = x.prototype, R = r(C.set), P = function() {
22997
22997
  return e && d(function() {
22998
- var k = w([]);
22999
- return R(new x(), k, 1), !m(k);
22998
+ var L = w([]);
22999
+ return R(new x(), L, 1), !m(L);
23000
23000
  });
23001
23001
  };
23002
23002
  if (f) if (_) {
23003
23003
  S = a.getConstructor(E, "WeakMap", !0), i.enable();
23004
- var D = r(C.delete), L = r(C.has), $ = r(C.get);
23004
+ var D = r(C.delete), k = r(C.has), $ = r(C.get);
23005
23005
  n(C, {
23006
- delete: function(k) {
23007
- if (u(k) && !v(k)) {
23006
+ delete: function(L) {
23007
+ if (u(L) && !v(L)) {
23008
23008
  var M = c(this);
23009
- return M.frozen || (M.frozen = new S()), D(this, k) || M.frozen.delete(k);
23009
+ return M.frozen || (M.frozen = new S()), D(this, L) || M.frozen.delete(L);
23010
23010
  }
23011
- return D(this, k);
23011
+ return D(this, L);
23012
23012
  },
23013
23013
  has: function(M) {
23014
23014
  if (u(M) && !v(M)) {
23015
23015
  var T = c(this);
23016
- return T.frozen || (T.frozen = new S()), L(this, M) || T.frozen.has(M);
23016
+ return T.frozen || (T.frozen = new S()), k(this, M) || T.frozen.has(M);
23017
23017
  }
23018
- return L(this, M);
23018
+ return k(this, M);
23019
23019
  },
23020
23020
  get: function(M) {
23021
23021
  if (u(M) && !v(M)) {
23022
23022
  var T = c(this);
23023
- return T.frozen || (T.frozen = new S()), L(this, M) ? $(this, M) : T.frozen.get(M);
23023
+ return T.frozen || (T.frozen = new S()), k(this, M) ? $(this, M) : T.frozen.get(M);
23024
23024
  }
23025
23025
  return $(this, M);
23026
23026
  },
23027
23027
  set: function(M, T) {
23028
23028
  if (u(M) && !v(M)) {
23029
23029
  var B = c(this);
23030
- B.frozen || (B.frozen = new S()), L(this, M) ? R(this, M, T) : B.frozen.set(M, T);
23030
+ B.frozen || (B.frozen = new S()), k(this, M) ? R(this, M, T) : B.frozen.set(M, T);
23031
23031
  } else R(this, M, T);
23032
23032
  return this;
23033
23033
  }
@@ -23122,16 +23122,16 @@ function iee() {
23122
23122
  return f.Date.now();
23123
23123
  };
23124
23124
  function w(C, R, P) {
23125
- var D, L, $, k, M, T, B = 0, j = !1, V = !1, K = !0;
23125
+ var D, k, $, L, M, T, B = 0, j = !1, V = !1, K = !0;
23126
23126
  if (typeof C != "function")
23127
23127
  throw new TypeError(e);
23128
23128
  R = x(R) || 0, _(P) && (j = !!P.leading, V = "maxWait" in P, $ = V ? v(x(P.maxWait) || 0, R) : $, K = "trailing" in P ? !!P.trailing : K);
23129
23129
  function J(G) {
23130
- var re = D, te = L;
23131
- return D = L = void 0, B = G, k = C.apply(te, re), k;
23130
+ var re = D, te = k;
23131
+ return D = k = void 0, B = G, L = C.apply(te, re), L;
23132
23132
  }
23133
23133
  function z(G) {
23134
- return B = G, M = setTimeout(oe, R), j ? J(G) : k;
23134
+ return B = G, M = setTimeout(oe, R), j ? J(G) : L;
23135
23135
  }
23136
23136
  function Z(G) {
23137
23137
  var re = G - T, te = G - B, ae = R - re;
@@ -23148,34 +23148,34 @@ function iee() {
23148
23148
  M = setTimeout(oe, Z(G));
23149
23149
  }
23150
23150
  function F(G) {
23151
- return M = void 0, K && D ? J(G) : (D = L = void 0, k);
23151
+ return M = void 0, K && D ? J(G) : (D = k = void 0, L);
23152
23152
  }
23153
23153
  function W() {
23154
- M !== void 0 && clearTimeout(M), B = 0, D = T = L = M = void 0;
23154
+ M !== void 0 && clearTimeout(M), B = 0, D = T = k = M = void 0;
23155
23155
  }
23156
23156
  function X() {
23157
- return M === void 0 ? k : F(y());
23157
+ return M === void 0 ? L : F(y());
23158
23158
  }
23159
23159
  function U() {
23160
23160
  var G = y(), re = se(G);
23161
- if (D = arguments, L = this, T = G, re) {
23161
+ if (D = arguments, k = this, T = G, re) {
23162
23162
  if (M === void 0)
23163
23163
  return z(T);
23164
23164
  if (V)
23165
23165
  return M = setTimeout(oe, R), J(T);
23166
23166
  }
23167
- return M === void 0 && (M = setTimeout(oe, R)), k;
23167
+ return M === void 0 && (M = setTimeout(oe, R)), L;
23168
23168
  }
23169
23169
  return U.cancel = W, U.flush = X, U;
23170
23170
  }
23171
23171
  function b(C, R, P) {
23172
- var D = !0, L = !0;
23172
+ var D = !0, k = !0;
23173
23173
  if (typeof C != "function")
23174
23174
  throw new TypeError(e);
23175
- return _(P) && (D = "leading" in P ? !!P.leading : D, L = "trailing" in P ? !!P.trailing : L), w(C, R, {
23175
+ return _(P) && (D = "leading" in P ? !!P.leading : D, k = "trailing" in P ? !!P.trailing : k), w(C, R, {
23176
23176
  leading: D,
23177
23177
  maxWait: R,
23178
- trailing: L
23178
+ trailing: k
23179
23179
  });
23180
23180
  }
23181
23181
  function _(C) {
@@ -23215,49 +23215,49 @@ function aee() {
23215
23215
  return f.Date.now();
23216
23216
  };
23217
23217
  function w(x, C, R) {
23218
- var P, D, L, $, k, M, T = 0, B = !1, j = !1, V = !0;
23218
+ var P, D, k, $, L, M, T = 0, B = !1, j = !1, V = !0;
23219
23219
  if (typeof x != "function")
23220
23220
  throw new TypeError(e);
23221
- C = E(C) || 0, b(R) && (B = !!R.leading, j = "maxWait" in R, L = j ? v(E(R.maxWait) || 0, C) : L, V = "trailing" in R ? !!R.trailing : V);
23221
+ C = E(C) || 0, b(R) && (B = !!R.leading, j = "maxWait" in R, k = j ? v(E(R.maxWait) || 0, C) : k, V = "trailing" in R ? !!R.trailing : V);
23222
23222
  function K(U) {
23223
23223
  var G = P, re = D;
23224
23224
  return P = D = void 0, T = U, $ = x.apply(re, G), $;
23225
23225
  }
23226
23226
  function J(U) {
23227
- return T = U, k = setTimeout(se, C), B ? K(U) : $;
23227
+ return T = U, L = setTimeout(se, C), B ? K(U) : $;
23228
23228
  }
23229
23229
  function z(U) {
23230
23230
  var G = U - M, re = U - T, te = C - G;
23231
- return j ? m(te, L - re) : te;
23231
+ return j ? m(te, k - re) : te;
23232
23232
  }
23233
23233
  function Z(U) {
23234
23234
  var G = U - M, re = U - T;
23235
- return M === void 0 || G >= C || G < 0 || j && re >= L;
23235
+ return M === void 0 || G >= C || G < 0 || j && re >= k;
23236
23236
  }
23237
23237
  function se() {
23238
23238
  var U = y();
23239
23239
  if (Z(U))
23240
23240
  return oe(U);
23241
- k = setTimeout(se, z(U));
23241
+ L = setTimeout(se, z(U));
23242
23242
  }
23243
23243
  function oe(U) {
23244
- return k = void 0, V && P ? K(U) : (P = D = void 0, $);
23244
+ return L = void 0, V && P ? K(U) : (P = D = void 0, $);
23245
23245
  }
23246
23246
  function F() {
23247
- k !== void 0 && clearTimeout(k), T = 0, P = M = D = k = void 0;
23247
+ L !== void 0 && clearTimeout(L), T = 0, P = M = D = L = void 0;
23248
23248
  }
23249
23249
  function W() {
23250
- return k === void 0 ? $ : oe(y());
23250
+ return L === void 0 ? $ : oe(y());
23251
23251
  }
23252
23252
  function X() {
23253
23253
  var U = y(), G = Z(U);
23254
23254
  if (P = arguments, D = this, M = U, G) {
23255
- if (k === void 0)
23255
+ if (L === void 0)
23256
23256
  return J(M);
23257
23257
  if (j)
23258
- return k = setTimeout(se, C), K(M);
23258
+ return L = setTimeout(se, C), K(M);
23259
23259
  }
23260
- return k === void 0 && (k = setTimeout(se, C)), $;
23260
+ return L === void 0 && (L = setTimeout(se, C)), $;
23261
23261
  }
23262
23262
  return X.cancel = F, X.flush = W, X;
23263
23263
  }
@@ -23326,7 +23326,7 @@ function uee() {
23326
23326
  function D(he) {
23327
23327
  return this.has(he) && delete this.__data__[he];
23328
23328
  }
23329
- function L(he) {
23329
+ function k(he) {
23330
23330
  var ie = this.__data__;
23331
23331
  if (C) {
23332
23332
  var Se = ie[he];
@@ -23338,11 +23338,11 @@ function uee() {
23338
23338
  var ie = this.__data__;
23339
23339
  return C ? ie[he] !== void 0 : b.call(ie, he);
23340
23340
  }
23341
- function k(he, ie) {
23341
+ function L(he, ie) {
23342
23342
  var Se = this.__data__;
23343
23343
  return Se[he] = C && ie === void 0 ? t : ie, this;
23344
23344
  }
23345
- R.prototype.clear = P, R.prototype.delete = D, R.prototype.get = L, R.prototype.has = $, R.prototype.set = k;
23345
+ R.prototype.clear = P, R.prototype.delete = D, R.prototype.get = k, R.prototype.has = $, R.prototype.set = L;
23346
23346
  function M(he) {
23347
23347
  var ie = -1, Se = he ? he.length : 0;
23348
23348
  for (this.clear(); ++ie < Se; ) {
@@ -23545,13 +23545,13 @@ var Ni = function(e) {
23545
23545
  return Xu.get(e);
23546
23546
  if ($B(e))
23547
23547
  return Xu.set(e, kM), kM;
23548
- var r = getComputedStyle(e), n = J_(e) && e.ownerSVGElement && e.getBBox(), i = !mee && r.boxSizing === "border-box", o = gee.test(r.writingMode || ""), a = !n && qM.test(r.overflowY || ""), u = !n && qM.test(r.overflowX || ""), c = n ? 0 : un(r.paddingTop), d = n ? 0 : un(r.paddingRight), f = n ? 0 : un(r.paddingBottom), h = n ? 0 : un(r.paddingLeft), p = n ? 0 : un(r.borderTopWidth), v = n ? 0 : un(r.borderRightWidth), m = n ? 0 : un(r.borderBottomWidth), y = n ? 0 : un(r.borderLeftWidth), w = h + d, b = c + f, _ = y + v, S = p + m, E = u ? e.offsetHeight - S - e.clientHeight : 0, x = a ? e.offsetWidth - _ - e.clientWidth : 0, C = i ? w + _ : 0, R = i ? b + S : 0, P = n ? n.width : un(r.width) - C - x, D = n ? n.height : un(r.height) - R - E, L = P + w + x + _, $ = D + b + E + S, k = Ni({
23548
+ var r = getComputedStyle(e), n = J_(e) && e.ownerSVGElement && e.getBBox(), i = !mee && r.boxSizing === "border-box", o = gee.test(r.writingMode || ""), a = !n && qM.test(r.overflowY || ""), u = !n && qM.test(r.overflowX || ""), c = n ? 0 : un(r.paddingTop), d = n ? 0 : un(r.paddingRight), f = n ? 0 : un(r.paddingBottom), h = n ? 0 : un(r.paddingLeft), p = n ? 0 : un(r.borderTopWidth), v = n ? 0 : un(r.borderRightWidth), m = n ? 0 : un(r.borderBottomWidth), y = n ? 0 : un(r.borderLeftWidth), w = h + d, b = c + f, _ = y + v, S = p + m, E = u ? e.offsetHeight - S - e.clientHeight : 0, x = a ? e.offsetWidth - _ - e.clientWidth : 0, C = i ? w + _ : 0, R = i ? b + S : 0, P = n ? n.width : un(r.width) - C - x, D = n ? n.height : un(r.height) - R - E, k = P + w + x + _, $ = D + b + E + S, L = Ni({
23549
23549
  devicePixelContentBoxSize: So(Math.round(P * devicePixelRatio), Math.round(D * devicePixelRatio), o),
23550
- borderBoxSize: So(L, $, o),
23550
+ borderBoxSize: So(k, $, o),
23551
23551
  contentBoxSize: So(P, D, o),
23552
23552
  contentRect: new BB(h, c, P, D)
23553
23553
  });
23554
- return Xu.set(e, k), k;
23554
+ return Xu.set(e, L), L;
23555
23555
  }, FB = function(e, t, r) {
23556
23556
  var n = jB(e, r), i = n.borderBoxSize, o = n.contentBoxSize, a = n.devicePixelContentBoxSize;
23557
23557
  switch (t) {
@@ -23892,12 +23892,12 @@ function Q_() {
23892
23892
  return e(h, x, "a"), e(h, C, "a"), x.lastIndex !== 0 || C.lastIndex !== 0;
23893
23893
  })(), _ = i.BROKEN_CARET, S = /()??/.exec("")[1] !== void 0, E = b || S || _ || c || d;
23894
23894
  return E && (p = function(C) {
23895
- var R = this, P = u(R), D = r(C), L = P.raw, $, k, M, T, B, j, V;
23896
- if (L)
23897
- return L.lastIndex = R.lastIndex, $ = e(p, L, D), R.lastIndex = L.lastIndex, $;
23895
+ var R = this, P = u(R), D = r(C), k = P.raw, $, L, M, T, B, j, V;
23896
+ if (k)
23897
+ return k.lastIndex = R.lastIndex, $ = e(p, k, D), R.lastIndex = k.lastIndex, $;
23898
23898
  var K = P.groups, J = _ && R.sticky, z = e(n, R), Z = R.source, se = 0, oe = D;
23899
23899
  if (J && (z = y(z, "y", ""), m(z, "g") === -1 && (z += "g"), oe = w(D, R.lastIndex), R.lastIndex > 0 && (!R.multiline || R.multiline && v(D, R.lastIndex - 1) !== `
23900
- `) && (Z = "(?: " + Z + ")", oe = " " + oe, se++), k = new RegExp("^(?:" + Z + ")", z)), S && (k = new RegExp("^" + Z + "$(?!\\s)", z)), b && (M = R.lastIndex), T = e(h, J ? k : R, oe), J ? T ? (T.input = w(T.input, se), T[0] = w(T[0], se), T.index = R.lastIndex, R.lastIndex += T[0].length) : R.lastIndex = 0 : b && T && (R.lastIndex = R.global ? T.index + T[0].length : M), S && T && T.length > 1 && e(f, T[0], k, function() {
23900
+ `) && (Z = "(?: " + Z + ")", oe = " " + oe, se++), L = new RegExp("^(?:" + Z + ")", z)), S && (L = new RegExp("^" + Z + "$(?!\\s)", z)), b && (M = R.lastIndex), T = e(h, J ? L : R, oe), J ? T ? (T.input = w(T.input, se), T[0] = w(T[0], se), T.index = R.lastIndex, R.lastIndex += T[0].length) : R.lastIndex = 0 : b && T && (R.lastIndex = R.global ? T.index + T[0].length : M), S && T && T.length > 1 && e(f, T[0], L, function() {
23901
23901
  for (B = 1; B < arguments.length - 2; B++)
23902
23902
  arguments[B] === void 0 && (T[B] = void 0);
23903
23903
  }), T && K)
@@ -24116,11 +24116,11 @@ function Kee() {
24116
24116
  vD = 1;
24117
24117
  var e = Wee(), t = or(), r = ut(), n = GB(), i = lt(), o = jr(), a = Nt(), u = Bt(), c = Tl(), d = G_(), f = Hi(), h = Fi(), p = KB(), v = ws(), m = Gee(), y = YB(), w = XB(), b = Yt(), _ = b("replace"), S = Math.max, E = Math.min, x = r([].concat), C = r([].push), R = r("".indexOf), P = r("".slice), D = function(M) {
24118
24118
  return M === void 0 ? M : String(M);
24119
- }, L = (function() {
24119
+ }, k = (function() {
24120
24120
  return "a".replace(/./, "$0") === "$0";
24121
24121
  })(), $ = (function() {
24122
24122
  return /./[_] ? /./[_]("a", "$0") === "" : !1;
24123
- })(), k = !i(function() {
24123
+ })(), L = !i(function() {
24124
24124
  var M = /./;
24125
24125
  return M.exec = function() {
24126
24126
  var T = [];
@@ -24166,7 +24166,7 @@ function Kee() {
24166
24166
  return re + P(z, te);
24167
24167
  }
24168
24168
  ];
24169
- }, !k || !L || $), dD;
24169
+ }, !L || !k || $), dD;
24170
24170
  }
24171
24171
  Kee();
24172
24172
  function Zn(e) {
@@ -24580,18 +24580,7 @@ kl.propTypes = {
24580
24580
  scrollableNodeProps: ue.object,
24581
24581
  tag: ue.string
24582
24582
  };
24583
- const Fc = __, zc = x_, ZB = (e, t) => {
24584
- if (e === Te.METHOD && t)
24585
- switch (t) {
24586
- case kt.ENTITY_SEL_METHOD:
24587
- return /* @__PURE__ */ I(cq, { className: "h-6 w-6" });
24588
- case kt.ENTITY_METHOD:
24589
- return /* @__PURE__ */ I(uq, { className: "h-6 w-6" });
24590
- case kt.DS_METHOD:
24591
- return /* @__PURE__ */ I(sq, { className: "h-6 w-6" });
24592
- case kt.DATACLASS_METHOD:
24593
- return /* @__PURE__ */ I(aq, { className: "h-6 w-6" });
24594
- }
24583
+ const Fc = __, zc = x_, ZB = (e) => {
24595
24584
  switch (e) {
24596
24585
  case Te.DATACLASS:
24597
24586
  return /* @__PURE__ */ I(fc, { className: "h-6 w-6" });
@@ -24605,6 +24594,14 @@ const Fc = __, zc = x_, ZB = (e, t) => {
24605
24594
  return /* @__PURE__ */ I(fq, { className: "h-6 w-6" });
24606
24595
  case Te.SINGLETON_METHOD:
24607
24596
  return /* @__PURE__ */ I(lq, { className: "h-6 w-6" });
24597
+ case kt.ENTITY_SEL_METHOD:
24598
+ return /* @__PURE__ */ I(cq, { className: "h-6 w-6" });
24599
+ case kt.ENTITY_METHOD:
24600
+ return /* @__PURE__ */ I(uq, { className: "h-6 w-6" });
24601
+ case kt.DS_METHOD:
24602
+ return /* @__PURE__ */ I(sq, { className: "h-6 w-6" });
24603
+ case kt.DATACLASS_METHOD:
24604
+ return /* @__PURE__ */ I(aq, { className: "h-6 w-6" });
24608
24605
  default:
24609
24606
  return /* @__PURE__ */ I(fc, { className: "h-6 w-6" });
24610
24607
  }
@@ -24763,8 +24760,8 @@ const fo = ({
24763
24760
  case mo.stateChangeTypes.InputKeyDownEnter:
24764
24761
  const D = u[x.highlightedIndex];
24765
24762
  if (!D) return R;
24766
- const L = vE(e, D, t);
24767
- return a(Ar(L)), {
24763
+ const k = vE(e, D, t);
24764
+ return a(Ar(k)), {
24768
24765
  ...R,
24769
24766
  isOpen: !0,
24770
24767
  highlightedIndex: 0
@@ -24854,7 +24851,7 @@ const fo = ({
24854
24851
  a(Ar(R));
24855
24852
  },
24856
24853
  children: [
24857
- ZB(x.type, x.subType),
24854
+ ZB(x.type),
24858
24855
  /* @__PURE__ */ I("span", { children: x.applyTo })
24859
24856
  ]
24860
24857
  },
@@ -24916,12 +24913,12 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
24916
24913
  () => c4(y, n),
24917
24914
  [n[y]]
24918
24915
  );
24919
- function _(k) {
24916
+ function _(L) {
24920
24917
  h(
24921
- (M) => M.some((T) => k.includes(T)) ? M.filter((T) => !k.includes(T)) : [...M, ...k]
24918
+ (M) => M.some((T) => L.includes(T)) ? M.filter((T) => !L.includes(T)) : [...M, ...L]
24922
24919
  );
24923
24920
  }
24924
- const S = async (k) => {
24921
+ const S = async (L) => {
24925
24922
  const { confirmed: M } = await m(
24926
24923
  za({
24927
24924
  title: "Delete Privilege",
@@ -24934,13 +24931,13 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
24934
24931
  if (M) {
24935
24932
  const T = d4(
24936
24933
  e.id,
24937
- k,
24934
+ L,
24938
24935
  n
24939
24936
  );
24940
24937
  m(Ar(T));
24941
24938
  }
24942
24939
  }, E = async () => {
24943
- const { confirmed: k } = await m(
24940
+ const { confirmed: L } = await m(
24944
24941
  za({
24945
24942
  title: "Reset Permissions",
24946
24943
  type: Ua.CONFIRM,
@@ -24949,27 +24946,27 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
24949
24946
  icon: "FdWarningDanger"
24950
24947
  })
24951
24948
  ).unwrap();
24952
- if (k) {
24949
+ if (L) {
24953
24950
  const M = l4(e.id, n);
24954
24951
  m(Ar(M));
24955
24952
  }
24956
24953
  }, C = w.filter(
24957
- (k) => f.length === 0 ? !0 : f.includes(k.type)
24954
+ (L) => f.length === 0 ? !0 : f.includes(L.type)
24958
24955
  ).filter(
24959
- ({ resource: k }) => p ? new RegExp(Bc.escapeRegExp(p), "i").test(k) : !0
24960
- ), R = nte(C), P = R.filter((k) => {
24961
- const M = k.permissions.every((T) => !T.checked) && k.permissions.some((T) => T.from.length > 0);
24956
+ ({ resource: L }) => p ? new RegExp(Bc.escapeRegExp(p), "i").test(L) : !0
24957
+ ), R = nte(C), P = R.filter((L) => {
24958
+ const M = L.permissions.every((T) => !T.checked) && L.permissions.some((T) => T.from.length > 0);
24962
24959
  return r || !M;
24963
- }), D = (k, M) => {
24960
+ }), D = (L, M) => {
24964
24961
  const T = h4(
24965
24962
  e.id,
24966
- k,
24963
+ L,
24967
24964
  M,
24968
24965
  n
24969
24966
  );
24970
24967
  m(Ar(T));
24971
- }, L = It(() => P.some((k) => k.exists === !1), [P]), $ = async () => {
24972
- const { confirmed: k } = await m(
24968
+ }, k = It(() => P.some((L) => L.exists === !1), [P]), $ = async () => {
24969
+ const { confirmed: L } = await m(
24973
24970
  za({
24974
24971
  title: "Delete Privilege",
24975
24972
  type: Ua.CONFIRM,
@@ -24996,7 +24993,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
24996
24993
  }))
24997
24994
  };
24998
24995
  }).reduce((T, B) => ({ ...T, ...B }), {});
24999
- if (k) {
24996
+ if (L) {
25000
24997
  const T = f4(M, n);
25001
24998
  m(Ar(T));
25002
24999
  }
@@ -25012,9 +25009,9 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25012
25009
  /* @__PURE__ */ I("td", { className: "py-2", children: /* @__PURE__ */ ce("div", { className: "flex items-center space-x-2", children: [
25013
25010
  /* @__PURE__ */ ce("div", { className: "relative w-56 text-white", children: [
25014
25011
  /* @__PURE__ */ I("div", { className: "absolute inset-y-0 left-0 flex items-center px-1", children: /* @__PURE__ */ I(nq, { className: "h-4 w-4 text-gray-400" }) }),
25015
- /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Mr, { className: "flex items-center", children: ({ open: k }) => /* @__PURE__ */ ce(Lt, { children: [
25012
+ /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Mr, { className: "flex items-center", children: ({ open: L }) => /* @__PURE__ */ ce(Lt, { children: [
25016
25013
  /* @__PURE__ */ I(Mr.Button, { ref: o, children: /* @__PURE__ */ I(iq, { className: "h-4 w-4" }) }),
25017
- k && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
25014
+ L && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
25018
25015
  Mr.Panel,
25019
25016
  {
25020
25017
  ref: u,
@@ -25103,8 +25100,8 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25103
25100
  className: "block h-6 w-full rounded bg-grey-300 px-1 py-1.5 pl-6 text-xs focus:outline-none",
25104
25101
  placeholder: "Search available permissions",
25105
25102
  value: p,
25106
- onChange: (k) => {
25107
- v(k.target.value);
25103
+ onChange: (L) => {
25104
+ v(L.target.value);
25108
25105
  }
25109
25106
  }
25110
25107
  )
@@ -25147,7 +25144,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25147
25144
  "flex h-6 items-center space-x-1 rounded-md px-2 text-sm text-grey-50 hover:bg-primary-hover disabled:opacity-50 disabled:hover:bg-primary-dark"
25148
25145
  ),
25149
25146
  onClick: $,
25150
- disabled: !L,
25147
+ disabled: !k,
25151
25148
  children: /* @__PURE__ */ I(G4, { className: "h-4 w-4" })
25152
25149
  }
25153
25150
  ) }),
@@ -25173,15 +25170,15 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25173
25170
  /* @__PURE__ */ I("td", { className: "bg-grey-800 px-4 py-2 text-center text-[12px] text-white", children: "Execute" }),
25174
25171
  /* @__PURE__ */ I("td", { className: "bg-grey-800 px-4 py-2 text-center text-[12px] text-white", children: "Promote" })
25175
25172
  ] }) }),
25176
- P.length ? /* @__PURE__ */ I("tbody", { children: P.map((k, M) => {
25177
- const T = k.permissions.some(
25173
+ P.length ? /* @__PURE__ */ I("tbody", { children: P.map((L, M) => {
25174
+ const T = L.permissions.some(
25178
25175
  (B) => B.from.length > 0
25179
25176
  );
25180
25177
  return /* @__PURE__ */ ce(
25181
25178
  "tr",
25182
25179
  {
25183
25180
  className: Ye("group even:bg-grey-600", {
25184
- "opacity-60": k.exists === !1
25181
+ "opacity-60": L.exists === !1
25185
25182
  }),
25186
25183
  children: [
25187
25184
  /* @__PURE__ */ ce(
@@ -25189,14 +25186,14 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25189
25186
  {
25190
25187
  className: Ye(
25191
25188
  "group flex items-center gap-3 py-2 text-xs group-hover:rounded-l group-hover:bg-grey-300",
25192
- k.exists === !1 ? "text-negative-400" : "text-white",
25189
+ L.exists === !1 ? "text-negative-400" : "text-white",
25193
25190
  {
25194
25191
  "border-b-[0.5px] border-grey-300": !1
25195
25192
  }
25196
25193
  ),
25197
25194
  children: [
25198
- ZB(k.type, k.subType),
25199
- k.resource,
25195
+ ZB(L.type),
25196
+ L.resource,
25200
25197
  /* @__PURE__ */ I(
25201
25198
  XD,
25202
25199
  {
@@ -25214,8 +25211,8 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25214
25211
  message: `<div className="flex gap-x-3"><h3 className="font-bold">Info:</h3><p className="font-normal">Inherited permissions can't be removed</p></div>`,
25215
25212
  customIcon: Pr
25216
25213
  }) : S({
25217
- applyTo: k.resource,
25218
- type: k.type
25214
+ applyTo: L.resource,
25215
+ type: L.type
25219
25216
  });
25220
25217
  },
25221
25218
  className: Ye(
@@ -25233,74 +25230,74 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25233
25230
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25234
25231
  fo,
25235
25232
  {
25236
- permissions: k.permissions,
25233
+ permissions: L.permissions,
25237
25234
  showIncluded: r,
25238
25235
  label: "read",
25239
- onToggle: (B) => D(k, B),
25236
+ onToggle: (B) => D(L, B),
25240
25237
  onSelect: t,
25241
25238
  privileges: n,
25242
- exists: k.exists
25239
+ exists: L.exists
25243
25240
  }
25244
25241
  ) }),
25245
25242
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25246
25243
  fo,
25247
25244
  {
25248
- permissions: k.permissions,
25245
+ permissions: L.permissions,
25249
25246
  showIncluded: r,
25250
25247
  label: "create",
25251
- onToggle: (B) => D(k, B),
25248
+ onToggle: (B) => D(L, B),
25252
25249
  onSelect: t,
25253
25250
  privileges: n,
25254
- exists: k.exists
25251
+ exists: L.exists
25255
25252
  }
25256
25253
  ) }),
25257
25254
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25258
25255
  fo,
25259
25256
  {
25260
- permissions: k.permissions,
25257
+ permissions: L.permissions,
25261
25258
  showIncluded: r,
25262
25259
  label: "update",
25263
- onToggle: (B) => D(k, B),
25260
+ onToggle: (B) => D(L, B),
25264
25261
  onSelect: t,
25265
25262
  privileges: n,
25266
- exists: k.exists
25263
+ exists: L.exists
25267
25264
  }
25268
25265
  ) }),
25269
25266
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25270
25267
  fo,
25271
25268
  {
25272
- permissions: k.permissions,
25269
+ permissions: L.permissions,
25273
25270
  showIncluded: r,
25274
25271
  label: "drop",
25275
- onToggle: (B) => D(k, B),
25272
+ onToggle: (B) => D(L, B),
25276
25273
  onSelect: t,
25277
25274
  privileges: n,
25278
- exists: k.exists
25275
+ exists: L.exists
25279
25276
  }
25280
25277
  ) }),
25281
25278
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25282
25279
  fo,
25283
25280
  {
25284
- promoted: b[k.resource],
25285
- permissions: k.permissions,
25281
+ promoted: b[L.resource],
25282
+ permissions: L.permissions,
25286
25283
  showIncluded: r,
25287
25284
  label: "execute",
25288
- onToggle: (B) => D(k, B),
25285
+ onToggle: (B) => D(L, B),
25289
25286
  onSelect: t,
25290
25287
  privileges: n,
25291
- exists: k.exists
25288
+ exists: L.exists
25292
25289
  }
25293
25290
  ) }),
25294
25291
  /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:rounded-r group-hover:bg-grey-300 ", children: /* @__PURE__ */ I(
25295
25292
  fo,
25296
25293
  {
25297
- permissions: k.permissions,
25294
+ permissions: L.permissions,
25298
25295
  showIncluded: r,
25299
25296
  label: "promote",
25300
- onToggle: (B) => D(k, B),
25297
+ onToggle: (B) => D(L, B),
25301
25298
  onSelect: t,
25302
25299
  privileges: n,
25303
- exists: k.exists
25300
+ exists: L.exists
25304
25301
  }
25305
25302
  ) })
25306
25303
  ]
@@ -26095,8 +26092,8 @@ const Ete = ({ role: e }) => {
26095
26092
  ).unwrap();
26096
26093
  P && E();
26097
26094
  }, E = () => {
26098
- const R = g4(t.id, d), P = Object.keys(R), D = P.length >= 1, L = P[P.length - 1];
26099
- p(L && D ? L : null), f(Xa(R));
26095
+ const R = g4(t.id, d), P = Object.keys(R), D = P.length >= 1, k = P[P.length - 1];
26096
+ p(k && D ? k : null), f(Xa(R));
26100
26097
  }, x = (R = null) => {
26101
26098
  if (R && R.stopPropagation(), !e.role) {
26102
26099
  E();
@@ -26790,7 +26787,7 @@ const Ete = ({ role: e }) => {
26790
26787
  setChildCollapsed: (B, j) => {
26791
26788
  B.childCollapsed = j;
26792
26789
  }
26793
- }, L = It(() => {
26790
+ }, k = It(() => {
26794
26791
  const B = Object.values(c).find(
26795
26792
  (z) => z.privilege === "guest"
26796
26793
  ), j = P[e], V = j ? Object.fromEntries(
@@ -26809,7 +26806,7 @@ const Ete = ({ role: e }) => {
26809
26806
  otherPrivs: { ...K, ...J }
26810
26807
  };
26811
26808
  }, [c, P, e, u]), {
26812
- state: { allCollapsed: $, childCollapsed: k },
26809
+ state: { allCollapsed: $, childCollapsed: L },
26813
26810
  dispatch: M
26814
26811
  } = j4(
26815
26812
  {
@@ -26822,7 +26819,7 @@ const Ete = ({ role: e }) => {
26822
26819
  ZD.next({
26823
26820
  kind: "info",
26824
26821
  markdown: !0,
26825
- message: '<div className="flex gap-x-1 items-center"><h3 className="font-bold mr-1">Info:</h3><p className="font-normal">You can add or modify permissions only in the Privilege section.</p></div>',
26822
+ message: "**Info:** You can add or modify permissions only in the Privilege section.",
26826
26823
  customIcon: Yb
26827
26824
  });
26828
26825
  };
@@ -26845,7 +26842,7 @@ const Ete = ({ role: e }) => {
26845
26842
  "button",
26846
26843
  {
26847
26844
  onClick: () => {
26848
- k ? (M.setAllCollapsed(!0), C(!0)) : M.setChildCollapsed(!0);
26845
+ L ? (M.setAllCollapsed(!0), C(!0)) : M.setChildCollapsed(!0);
26849
26846
  },
26850
26847
  className: Ye(
26851
26848
  "cursor-pointer rounded-md p-1 hover:bg-primary-hover focus:outline-none",
@@ -26968,7 +26965,7 @@ const Ete = ({ role: e }) => {
26968
26965
  /* @__PURE__ */ I("tbody", { className: "relative bg-grey-800 text-white", children: d.length || h ? _.map((B, j) => /* @__PURE__ */ I(
26969
26966
  Oo,
26970
26967
  {
26971
- privileges: L,
26968
+ privileges: k,
26972
26969
  permission: B,
26973
26970
  depth: 0,
26974
26971
  inSearch: !0,
@@ -26981,7 +26978,7 @@ const Ete = ({ role: e }) => {
26981
26978
  /* @__PURE__ */ I(
26982
26979
  Oo,
26983
26980
  {
26984
- privileges: L,
26981
+ privileges: k,
26985
26982
  permission: B,
26986
26983
  isRestrictedByDefault: u,
26987
26984
  allPrivileges: c,
@@ -27001,7 +26998,7 @@ const Ete = ({ role: e }) => {
27001
26998
  B.methods.map((V, K) => /* @__PURE__ */ I(
27002
26999
  Oo,
27003
27000
  {
27004
- privileges: L,
27001
+ privileges: k,
27005
27002
  isRestrictedByDefault: u,
27006
27003
  allPrivileges: c,
27007
27004
  permission: V,
@@ -27015,12 +27012,12 @@ const Ete = ({ role: e }) => {
27015
27012
  jD,
27016
27013
  {
27017
27014
  depth: 1,
27018
- privileges: L,
27015
+ privileges: k,
27019
27016
  permission: V,
27020
- childCollapsed: k,
27017
+ childCollapsed: L,
27021
27018
  didChildCollapsed: (J) => {
27022
27019
  M.setChildCollapsed(
27023
- J ? k : !1
27020
+ J ? L : !1
27024
27021
  );
27025
27022
  },
27026
27023
  toastMessageCallback: T
@@ -27032,7 +27029,7 @@ const Ete = ({ role: e }) => {
27032
27029
  jD,
27033
27030
  {
27034
27031
  depth: 0,
27035
- privileges: L,
27032
+ privileges: k,
27036
27033
  permission: V,
27037
27034
  childCollapsed: $,
27038
27035
  didChildCollapsed: (J) => {