@ws-ui/roles-editor 1.11.8 → 1.11.10

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
@@ -1,4 +1,4 @@
1
- import { jsx as I, Fragment as Lt, jsxs as ce } from "react/jsx-runtime";
1
+ import { jsx as I, Fragment as Lt, jsxs as se } from "react/jsx-runtime";
2
2
  import { EPermissionType as Te, ESubPermissionType as kt, getPrivilegeById as QH, populateShallow as za, parents as e4, allowed as t4, useAppDispatch as Dr, useAppSelector as Ge, selectPrivileges as Ln, removeFrom as r4, updatePrivileges as vr, addIn as n4, selectGuestPrivilege as i4, selectCatalog as FD, rename as o4, openModal as Ha, remove as a4, getInheritedResources as s4, getPromotions as u4, selectCatalogMethods as zD, selectDataclasses as HD, selectSingletons as UD, addPermission as vE, resetResources as c4, removeMultiplePermissions as l4, removePermission as f4, togglePermission as d4, create as gE, getGraphData as h4, selectRoles as ss, saveRole as p4, updateRoles as yo, removeRole as v4, selectRestrictedByDefault as xw, createRole as g4, selectQodly as m4, selectSelectedTab as y4, selectForceLogin as b4, toggleRestrictedByDefault as w4, toggleForceLogin as _4, toggleTab as x4, selectModals as E4, editModal as S4, closeModal as O4, ReduxProvider as C4, getStore as R4, selectRolesFlags as I4, selectRolesAndPrivileges as N4, setRolesContent as P4 } from "@ws-ui/store";
3
3
  import * as ve from "react";
4
4
  import fe, { createContext as Ew, useState as qe, useReducer as VD, useRef as Ae, useEffect as Pe, useLayoutEffect as Sw, useDebugValue as T4, useContext as Gb, useMemo as It, createElement as A4, useCallback as Ue, memo as _t, forwardRef as WD, Component as M4, cloneElement as D4, Fragment as q4 } from "react";
@@ -62,8 +62,8 @@ function eU({
62
62
  onRestrictedByDefaultChange: o,
63
63
  onForceLoginChange: a
64
64
  }) {
65
- return /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ I("nav", { className: "relative mb-0 flex h-auto flex-wrap items-center justify-between border-b border-grey-900 bg-grey-800 px-4 py-3", children: /* @__PURE__ */ I("div", { className: "flex w-full flex-wrap items-center justify-between", children: /* @__PURE__ */ ce("div", { className: "relative flex w-full justify-between", children: [
66
- /* @__PURE__ */ I("span", { className: "inline-block whitespace-nowrap text-sm leading-relaxed text-white", children: /* @__PURE__ */ ce("div", { className: "flex items-center justify-center", children: [
65
+ return /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ I("nav", { className: "relative mb-0 flex h-auto flex-wrap items-center justify-between border-b border-grey-900 bg-grey-800 px-4 py-3", children: /* @__PURE__ */ I("div", { className: "flex w-full flex-wrap items-center justify-between", children: /* @__PURE__ */ se("div", { className: "relative flex w-full justify-between", children: [
66
+ /* @__PURE__ */ I("span", { className: "inline-block whitespace-nowrap text-sm leading-relaxed text-white", children: /* @__PURE__ */ se("div", { className: "flex items-center justify-center", children: [
67
67
  /* @__PURE__ */ I(
68
68
  "button",
69
69
  {
@@ -91,8 +91,8 @@ function eU({
91
91
  }
92
92
  )
93
93
  ] }) }),
94
- /* @__PURE__ */ ce("div", { className: "flex gap-2 justify-between", children: [
95
- /* @__PURE__ */ ce("span", { className: "flex items-center gap-1 whitespace-nowrap", children: [
94
+ /* @__PURE__ */ se("div", { className: "flex gap-2 justify-between", children: [
95
+ /* @__PURE__ */ se("span", { className: "flex items-center gap-1 whitespace-nowrap", children: [
96
96
  /* @__PURE__ */ I(
97
97
  Kb,
98
98
  {
@@ -113,7 +113,7 @@ function eU({
113
113
  }
114
114
  )
115
115
  ] }),
116
- e === !1 && /* @__PURE__ */ ce("span", { className: "flex items-center gap-1 whitespace-nowrap", children: [
116
+ e === !1 && /* @__PURE__ */ se("span", { className: "flex items-center gap-1 whitespace-nowrap", children: [
117
117
  /* @__PURE__ */ I(
118
118
  Kb,
119
119
  {
@@ -729,8 +729,8 @@ function $U(e) {
729
729
  });
730
730
  if (X)
731
731
  return M = X, "break";
732
- }, se = z; se > 0; se--) {
733
- var oe = Z(se);
732
+ }, ue = z; ue > 0; ue--) {
733
+ var oe = Z(ue);
734
734
  if (oe === "break") break;
735
735
  }
736
736
  t.placement !== M && (t.modifiersData[n]._skip = !0, t.placement = M, t.reset = !0);
@@ -848,10 +848,10 @@ function YU(e) {
848
848
  };
849
849
  if (C) {
850
850
  if (o) {
851
- var D, T = E === "y" ? tr : rr, $ = E === "y" ? qr : kr, j = E === "y" ? "height" : "width", V = C[E], K = V + w[T], J = V - w[$], z = v ? -P[j] / 2 : 0, Z = _ === Ro ? R[j] : P[j], se = _ === Ro ? -P[j] : -R[j], oe = t.elements.arrow, F = v && oe ? Pw(oe) : {
851
+ var D, T = E === "y" ? tr : rr, $ = E === "y" ? qr : kr, j = E === "y" ? "height" : "width", V = C[E], K = V + w[T], J = V - w[$], z = v ? -P[j] / 2 : 0, Z = _ === Ro ? R[j] : P[j], ue = _ === Ro ? -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 : b2(), X = W[T], U = W[$], G = Wa(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 = (D = B == null ? void 0 : B[E]) != null ? D : 0, Ee = V + re - we - de, _e = V + te - we, he = Wa(v ? dc(K, Ee) : K, V, v ? Si(J, _e) : J);
854
+ }, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : b2(), X = W[T], U = W[$], G = Wa(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 : ue + G + U + k.mainAxis, ae = t.elements.arrow && cs(t.elements.arrow), de = ae ? E === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, we = (D = B == null ? void 0 : B[E]) != null ? D : 0, Ee = V + re - we - de, _e = V + te - we, he = Wa(v ? dc(K, Ee) : K, V, v ? Si(J, _e) : J);
855
855
  C[E] = he, L[E] = he - V;
856
856
  }
857
857
  if (u) {
@@ -1191,14 +1191,14 @@ var fV = [], Vc = function(t, r, n) {
1191
1191
  forceUpdate: h.current ? h.current.forceUpdate : null
1192
1192
  };
1193
1193
  };
1194
- const S2 = ({ tab: e }) => /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center border-l-[0.5px] border-grey-900 bg-grey-800", children: /* @__PURE__ */ ce("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
1194
+ const S2 = ({ tab: e }) => /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center border-l-[0.5px] border-grey-900 bg-grey-800", children: /* @__PURE__ */ se("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
1195
1195
  /* @__PURE__ */ I(pr, { className: "h-10 w-10" }),
1196
- /* @__PURE__ */ ce("div", { className: "font-semibold", children: [
1196
+ /* @__PURE__ */ se("div", { className: "font-semibold", children: [
1197
1197
  "No ",
1198
1198
  e,
1199
1199
  " Selected"
1200
1200
  ] }),
1201
- /* @__PURE__ */ ce("div", { className: "text-sm", children: [
1201
+ /* @__PURE__ */ se("div", { className: "text-sm", children: [
1202
1202
  "Click on a ",
1203
1203
  e,
1204
1204
  " in the Sidebar to select it."
@@ -2401,8 +2401,8 @@ var hp, PO;
2401
2401
  function z2() {
2402
2402
  if (PO) return hp;
2403
2403
  PO = 1;
2404
- var e = Xc(), t = Bw(), r = Jc(), n = VV(), i = KV(), o = P2(), a = T2(), u = YV(), c = XV(), d = k2(), f = ZV(), h = Bo(), p = tW(), v = oW(), m = F2(), y = Et(), w = Lo(), b = sW(), _ = Lr(), S = cW(), E = si(), x = Bi(), C = 1, R = 2, P = 4, M = "[object Arguments]", k = "[object Array]", B = "[object Boolean]", L = "[object Date]", D = "[object Error]", T = "[object Function]", $ = "[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[M] = _e[k] = _e[F] = _e[W] = _e[B] = _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[D] = _e[T] = _e[oe] = !1;
2404
+ var e = Xc(), t = Bw(), r = Jc(), n = VV(), i = KV(), o = P2(), a = T2(), u = YV(), c = XV(), d = k2(), f = ZV(), h = Bo(), p = tW(), v = oW(), m = F2(), y = Et(), w = Lo(), b = sW(), _ = Lr(), S = cW(), E = si(), x = Bi(), C = 1, R = 2, P = 4, M = "[object Arguments]", k = "[object Array]", B = "[object Boolean]", L = "[object Date]", D = "[object Error]", T = "[object Function]", $ = "[object GeneratorFunction]", j = "[object Map]", V = "[object Number]", K = "[object Object]", J = "[object RegExp]", z = "[object Set]", Z = "[object String]", ue = "[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[M] = _e[k] = _e[F] = _e[W] = _e[B] = _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[ue] = _e[ae] = _e[de] = _e[we] = _e[Ee] = !0, _e[D] = _e[T] = _e[oe] = !1;
2406
2406
  function he(ie, Se, Ne, We, Be, et) {
2407
2407
  var Xe, xt = Se & C, it = Se & R, $t = Se & P;
2408
2408
  if (Ne && (Xe = Be ? Ne(ie, We, Be, et) : Ne(ie)), Xe !== void 0)
@@ -6186,17 +6186,17 @@ function E8() {
6186
6186
  return W.setGraph(e.merge(
6187
6187
  {},
6188
6188
  _,
6189
- se(X, b),
6189
+ ue(X, b),
6190
6190
  e.pick(X, S)
6191
6191
  )), e.forEach(F.nodes(), function(U) {
6192
6192
  var G = oe(F.node(U));
6193
- W.setNode(U, e.defaults(se(G, E), x)), W.setParent(U, F.parent(U));
6193
+ W.setNode(U, e.defaults(ue(G, E), x)), W.setParent(U, F.parent(U));
6194
6194
  }), e.forEach(F.edges(), function(U) {
6195
6195
  var G = oe(F.edge(U));
6196
6196
  W.setEdge(U, e.merge(
6197
6197
  {},
6198
6198
  R,
6199
- se(G, C),
6199
+ ue(G, C),
6200
6200
  e.pick(G, P)
6201
6201
  ));
6202
6202
  }), W;
@@ -6329,7 +6329,7 @@ function E8() {
6329
6329
  }
6330
6330
  });
6331
6331
  }
6332
- function se(F, W) {
6332
+ function ue(F, W) {
6333
6333
  return e.mapValues(e.pick(F, W), Number);
6334
6334
  }
6335
6335
  function oe(F) {
@@ -8417,8 +8417,8 @@ function c9() {
8417
8417
  }, j, V);
8418
8418
  }, b.scaleTo = function(T, $, j, V) {
8419
8419
  b.transform(T, function() {
8420
- var K = t.apply(this, arguments), J = this.__zoom, z = j == null ? E(K) : typeof j == "function" ? j.apply(this, arguments) : j, Z = J.invert(z), se = typeof $ == "function" ? $.apply(this, arguments) : $;
8421
- return r(S(_(J, se), z, Z), K, a);
8420
+ var K = t.apply(this, arguments), J = this.__zoom, z = j == null ? E(K) : typeof j == "function" ? j.apply(this, arguments) : j, Z = J.invert(z), ue = typeof $ == "function" ? $.apply(this, arguments) : $;
8421
+ return r(S(_(J, ue), z, Z), K, a);
8422
8422
  }, j, V);
8423
8423
  }, b.translateBy = function(T, $, j, V) {
8424
8424
  b.transform(T, function() {
@@ -8452,12 +8452,12 @@ function c9() {
8452
8452
  }).on("interrupt.zoom end.zoom", function() {
8453
8453
  C(this, arguments).event(V).end();
8454
8454
  }).tween("zoom", function() {
8455
- var K = this, J = arguments, z = C(K, J).event(V), Z = t.apply(K, J), se = j == null ? E(Z) : typeof j == "function" ? j.apply(K, J) : j, oe = Math.max(Z[1][0] - Z[0][0], Z[1][1] - Z[0][1]), F = K.__zoom, W = typeof $ == "function" ? $.apply(K, J) : $, X = c(F.invert(se).concat(oe / F.k), W.invert(se).concat(oe / W.k));
8455
+ var K = this, J = arguments, z = C(K, J).event(V), Z = t.apply(K, J), ue = j == null ? E(Z) : typeof j == "function" ? j.apply(K, J) : j, oe = Math.max(Z[1][0] - Z[0][0], Z[1][1] - Z[0][1]), F = K.__zoom, W = typeof $ == "function" ? $.apply(K, J) : $, X = c(F.invert(ue).concat(oe / F.k), W.invert(ue).concat(oe / W.k));
8456
8456
  return function(U) {
8457
8457
  if (U === 1) U = W;
8458
8458
  else {
8459
8459
  var G = X(U), re = oe / G[2];
8460
- U = new Tn(re, se[0] - G[0] * re, se[1] - G[1] * re);
8460
+ U = new Tn(re, ue[0] - G[0] * re, ue[1] - G[1] * re);
8461
8461
  }
8462
8462
  z.zoom(null, U);
8463
8463
  };
@@ -8513,9 +8513,9 @@ function c9() {
8513
8513
  }
8514
8514
  function M(T, ...$) {
8515
8515
  if (p || !e.apply(this, arguments)) return;
8516
- var j = T.currentTarget, V = C(this, $, !0).event(T), K = Vr(T.view).on("mousemove.zoom", se, !0).on("mouseup.zoom", oe, !0), J = cn(T, j), z = T.clientX, Z = T.clientY;
8516
+ var j = T.currentTarget, V = C(this, $, !0).event(T), K = Vr(T.view).on("mousemove.zoom", ue, !0).on("mouseup.zoom", oe, !0), J = cn(T, j), z = T.clientX, Z = T.clientY;
8517
8517
  kq(T.view), Bm(T), V.mouse = [J, this.__zoom.invert(J)], oc(this), V.start();
8518
- function se(F) {
8518
+ function ue(F) {
8519
8519
  if (ga(F), !V.moved) {
8520
8520
  var W = F.clientX - z, X = F.clientY - Z;
8521
8521
  V.moved = W * W + X * X > y;
@@ -8534,25 +8534,25 @@ function c9() {
8534
8534
  }
8535
8535
  function B(T, ...$) {
8536
8536
  if (e.apply(this, arguments)) {
8537
- var j = T.touches, V = j.length, K = C(this, $, T.changedTouches.length === V).event(T), J, z, Z, se;
8537
+ var j = T.touches, V = j.length, K = C(this, $, T.changedTouches.length === V).event(T), J, z, Z, ue;
8538
8538
  for (Bm(T), z = 0; z < V; ++z)
8539
- Z = j[z], se = cn(Z, this), se = [se, this.__zoom.invert(se), Z.identifier], K.touch0 ? !K.touch1 && K.touch0[2] !== se[2] && (K.touch1 = se, K.taps = 0) : (K.touch0 = se, J = !0, K.taps = 1 + !!f);
8540
- f && (f = clearTimeout(f)), J && (K.taps < 2 && (h = se[0], f = setTimeout(function() {
8539
+ Z = j[z], ue = cn(Z, this), ue = [ue, this.__zoom.invert(ue), Z.identifier], K.touch0 ? !K.touch1 && K.touch0[2] !== ue[2] && (K.touch1 = ue, K.taps = 0) : (K.touch0 = ue, J = !0, K.taps = 1 + !!f);
8540
+ f && (f = clearTimeout(f)), J && (K.taps < 2 && (h = ue[0], f = setTimeout(function() {
8541
8541
  f = null;
8542
8542
  }, v)), oc(this), K.start());
8543
8543
  }
8544
8544
  }
8545
8545
  function L(T, ...$) {
8546
8546
  if (this.__zooming) {
8547
- var j = C(this, $).event(T), V = T.changedTouches, K = V.length, J, z, Z, se;
8547
+ var j = C(this, $).event(T), V = T.changedTouches, K = V.length, J, z, Z, ue;
8548
8548
  for (ga(T), J = 0; J < K; ++J)
8549
8549
  z = V[J], Z = cn(z, this), j.touch0 && j.touch0[2] === z.identifier ? j.touch0[0] = Z : j.touch1 && j.touch1[2] === z.identifier && (j.touch1[0] = Z);
8550
8550
  if (z = j.that.__zoom, j.touch1) {
8551
8551
  var oe = j.touch0[0], F = j.touch0[1], W = j.touch1[0], X = j.touch1[1], U = (U = W[0] - oe[0]) * U + (U = W[1] - oe[1]) * U, G = (G = X[0] - F[0]) * G + (G = X[1] - F[1]) * G;
8552
- z = _(z, Math.sqrt(U / G)), Z = [(oe[0] + W[0]) / 2, (oe[1] + W[1]) / 2], se = [(F[0] + X[0]) / 2, (F[1] + X[1]) / 2];
8553
- } else if (j.touch0) Z = j.touch0[0], se = j.touch0[1];
8552
+ z = _(z, Math.sqrt(U / G)), Z = [(oe[0] + W[0]) / 2, (oe[1] + W[1]) / 2], ue = [(F[0] + X[0]) / 2, (F[1] + X[1]) / 2];
8553
+ } else if (j.touch0) Z = j.touch0[0], ue = j.touch0[1];
8554
8554
  else return;
8555
- j.zoom("touch", r(S(z, Z, se), j.extent, a));
8555
+ j.zoom("touch", r(S(z, Z, ue), j.extent, a));
8556
8556
  }
8557
8557
  }
8558
8558
  function D(T, ...$) {
@@ -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, M = t.connectOnClick, k = t.defaultEdgeOptions, B = t.fitView, L = t.fitViewOptions, D = t.onNodesDelete, T = t.onEdgesDelete, $ = 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, M = t.connectOnClick, k = t.defaultEdgeOptions, B = t.fitView, L = t.fitViewOptions, D = t.onNodesDelete, T = t.onEdgesDelete, $ = t.onNodeDrag, j = t.onNodeDragStart, V = t.onNodeDragStop, K = t.onSelectionDrag, J = t.onSelectionDragStart, z = t.onSelectionDragStop, Z = wt(u7, ir), ue = 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 Pe(function() {
10385
10385
  return F(i, o), function() {
10386
10386
  re();
10387
10387
  };
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", M, te.setState), st("fitViewOnInit", B, te.setState), st("fitViewOnInitOptions", L, te.setState), st("onNodesDelete", D, te.setState), st("onEdgesDelete", T, te.setState), st("onNodeDrag", $, 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), Zn(r, se), Zn(n, oe), Zn(i, se), Zn(o, oe), Zn(y, W), Zn(w, X), Zn(P, U), Zn(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", M, te.setState), st("fitViewOnInit", B, te.setState), st("fitViewOnInitOptions", L, te.setState), st("onNodesDelete", D, te.setState), st("onEdgesDelete", T, te.setState), st("onNodeDrag", $, 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), Zn(r, ue), Zn(n, oe), Zn(i, ue), Zn(o, oe), Zn(y, W), Zn(w, X), Zn(P, U), Zn(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, M = n.sourcePosition, k = n.targetPosition, B = n.elementsSelectable, L = n.hidden, D = n.sourceHandleId, T = n.targetHandleId, $ = 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, M = n.sourcePosition, k = n.targetPosition, B = n.elementsSelectable, L = n.hidden, D = n.sourceHandleId, T = n.targetHandleId, $ = n.onContextMenu, j = n.onMouseEnter, V = n.onMouseMove, K = n.onMouseLeave, J = n.edgeUpdaterRadius, z = n.onEdgeUpdate, Z = n.onEdgeUpdateStart, ue = 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, wr = At.addSelectedEdges, zt = ar.find(function(Ot) {
10407
10407
  return Ot.id === i;
10408
10408
  });
@@ -10416,8 +10416,8 @@ var c7 = function(t) {
10416
10416
  return rn.id === i;
10417
10417
  });
10418
10418
  Z == null || Z(ot, tn, zt);
10419
- var li = se ? function(rn) {
10420
- return se(rn, tn, zt);
10419
+ var li = ue ? function(rn) {
10420
+ return ue(rn, tn, zt);
10421
10421
  } : void 0, Fn = function(Ui) {
10422
10422
  return z == null ? void 0 : z(tn, Ui);
10423
10423
  };
@@ -10760,7 +10760,7 @@ var E7 = function(t, r) {
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(L);
10763
+ }), ue = wt(S7, ir), oe = ue.d3Zoom, F = ue.d3Selection, W = ue.d3ZoomHandler, X = Oc(L);
10764
10764
  return x7(z), Pe(function() {
10765
10765
  if (z.current) {
10766
10766
  var U, G = c9().scaleExtent([C, R]).translateExtent(x), re = Vr(z.current).call(G), te = xo(B[0], x[0][0], x[1][0]), ae = xo(B[1], x[0][1], x[1][1]), de = xo(M, C, R), we = Ci.translate(te, ae).scale(de);
@@ -10908,8 +10908,8 @@ var C7 = function(t) {
10908
10908
  }
10909
10909
  if (i.current !== J.length) {
10910
10910
  i.current = J.length;
10911
- var se = vo(D, J);
10912
- se.length && (j == null || j(se));
10911
+ var ue = vo(D, J);
10912
+ ue.length && (j == null || j(ue));
10913
10913
  }
10914
10914
  d(k);
10915
10915
  }
@@ -11106,7 +11106,7 @@ function Ck(e) {
11106
11106
  }
11107
11107
  S.on("end", function(K) {
11108
11108
  if (p(!1), m.current) {
11109
- var J = v.getState(), z = J.updateNodePositions, Z = J.nodeInternals, se = J.onNodeDragStop, oe = J.onSelectionDragStop, F = a ? se : Jm(oe);
11109
+ var J = v.getState(), z = J.updateNodePositions, Z = J.nodeInternals, ue = J.onNodeDragStop, oe = J.onSelectionDragStop, F = a ? ue : Jm(oe);
11110
11110
  if (z(m.current, !1, !1), F) {
11111
11111
  var W = Zm({
11112
11112
  nodeId: a,
@@ -11616,12 +11616,12 @@ var J7 = function(t) {
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 === Mo.Strict ? $.target : $.target || $.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;
11619
+ var K = t.edgeTypes[V] || t.edgeTypes.default, J = d === Mo.Strict ? $.target : $.target || $.source, z = jN(k.source, C.sourceHandle || null), Z = jN(J, C.targetHandle || null), ue = (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)
11623
11623
  return process.env.NODE_ENV === "development" && console.warn("[React Flow]: Couldn't create edge for target handle id: ".concat(C.targetHandle, "; edge id: ").concat(C.id, ". Help: https://reactflow.dev/error#800")), null;
11624
- var F = m7(M, z, se, T, Z, oe), W = F.sourceX, X = F.sourceY, U = F.targetX, G = F.targetY;
11624
+ var F = m7(M, z, ue, T, Z, oe), W = F.sourceX, X = F.sourceY, U = F.targetX, G = F.targetY;
11625
11625
  return /* @__PURE__ */ fe.createElement(K, {
11626
11626
  key: C.id,
11627
11627
  id: C.id,
@@ -11648,7 +11648,7 @@ var J7 = function(t) {
11648
11648
  sourceY: X,
11649
11649
  targetX: U,
11650
11650
  targetY: G,
11651
- sourcePosition: se,
11651
+ sourcePosition: ue,
11652
11652
  targetPosition: oe,
11653
11653
  elementsSelectable: a,
11654
11654
  onEdgeUpdate: t.onEdgeUpdate,
@@ -11700,7 +11700,7 @@ function rX(e) {
11700
11700
  }, [e, t.viewportInitialized]);
11701
11701
  }
11702
11702
  var Tk = 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, M = t.onlyRenderVisibleElements, k = t.elementsSelectable, B = t.selectNodesOnDrag, L = t.translateExtent, D = t.minZoom, T = t.maxZoom, $ = 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, Ne = t.noPanClassName, We = 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, M = t.onlyRenderVisibleElements, k = t.elementsSelectable, B = t.selectNodesOnDrag, L = t.translateExtent, D = t.minZoom, T = t.maxZoom, $ = t.defaultZoom, j = t.defaultPosition, V = t.preventScrolling, K = t.defaultMarkerColor, J = t.zoomOnScroll, z = t.zoomOnPinch, Z = t.panOnScroll, ue = 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, Ne = t.noPanClassName, We = t.elevateEdgesOnSelect, Be = t.id;
11704
11704
  return rX(u), /* @__PURE__ */ fe.createElement(k7, {
11705
11705
  onPaneClick: X,
11706
11706
  onPaneContextMenu: G,
@@ -11717,7 +11717,7 @@ var Tk = function(t) {
11717
11717
  zoomOnPinch: z,
11718
11718
  zoomOnDoubleClick: F,
11719
11719
  panOnScroll: Z,
11720
- panOnScrollSpeed: se,
11720
+ panOnScrollSpeed: ue,
11721
11721
  panOnScrollMode: oe,
11722
11722
  panOnDrag: W,
11723
11723
  translateExtent: L,
@@ -11793,7 +11793,7 @@ function iP(e) {
11793
11793
  }
11794
11794
  var ba = (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, M = n.resizeObserver, k = n.dragHandle, B = n.zIndex, L = n.isParent, D = n.noPanClassName, T = n.noDragClassName, $ = n.initialized, j = Kt(), V = Ae(null), K = Ae(C), J = Ae(R), z = Ae(o), Z = S || _ || f || h || p || v, se = ma(i, j.getState, h), oe = ma(i, j.getState, p), F = ma(i, j.getState, v), W = ma(i, j.getState, m), X = ma(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, M = n.resizeObserver, k = n.dragHandle, B = n.zIndex, L = n.isParent, D = n.noPanClassName, T = n.noDragClassName, $ = n.initialized, j = Kt(), V = Ae(null), K = Ae(C), J = Ae(R), z = Ae(o), Z = S || _ || f || h || p || v, ue = ma(i, j.getState, h), oe = ma(i, j.getState, p), F = ma(i, j.getState, v), W = ma(i, j.getState, m), X = ma(i, j.getState, y), U = function(te) {
11797
11797
  if (S && (!x || !_) && ik({
11798
11798
  id: i,
11799
11799
  store: j
@@ -11839,7 +11839,7 @@ var ba = (function(e) {
11839
11839
  pointerEvents: Z ? "all" : "none",
11840
11840
  visibility: $ ? "visible" : "hidden"
11841
11841
  }, w),
11842
- onMouseEnter: se,
11842
+ onMouseEnter: ue,
11843
11843
  onMouseMove: oe,
11844
11844
  onMouseLeave: F,
11845
11845
  onContextMenu: W,
@@ -11962,7 +11962,7 @@ var aX = {
11962
11962
  smoothstep: u_,
11963
11963
  simplebezier: pk
11964
11964
  }, uX = [15, 15], cX = [0, 0], Dk = /* @__PURE__ */ WD(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, M = e.onNodeMouseMove, k = e.onNodeMouseLeave, B = e.onNodeContextMenu, L = e.onNodeDoubleClick, D = e.onNodeDragStart, T = e.onNodeDrag, $ = 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 ? Mo.Strict : oe, W = e.connectionLineType, X = W === void 0 ? ri.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, Ne = Se === void 0 ? !1 : Se, We = e.snapGrid, Be = We === void 0 ? uX : We, 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, wr = e.maxZoom, zt = wr === void 0 ? 2 : wr, Ot = e.defaultZoom, Ht = Ot === void 0 ? 1 : Ot, tn = e.defaultPosition, li = tn === void 0 ? cX : tn, Fn = e.translateExtent, rn = Fn === void 0 ? uw : Fn, Ui = e.preventScrolling, $l = Ui === void 0 ? !0 : Ui, Es = e.nodeExtent, Wo = e.defaultMarkerColor, jl = Wo === void 0 ? "#b1b1b7" : Wo, 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, Go = Is === void 0 ? 0.5 : Is, Ns = e.panOnScrollMode, Ko = Ns === void 0 ? _o.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, Yo = e.noWheelClassName, ks = Yo === void 0 ? "nowheel" : Yo, Ls = e.noPanClassName, nf = Ls === void 0 ? "nopan" : Ls, Bs = e.fitView, of = Bs === void 0 ? !1 : Bs, $s = e.fitViewOptions, Xo = e.connectOnClick, js = Xo === void 0 ? !0 : Xo, Zo = 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, M = e.onNodeMouseMove, k = e.onNodeMouseLeave, B = e.onNodeContextMenu, L = e.onNodeDoubleClick, D = e.onNodeDragStart, T = e.onNodeDrag, $ = e.onNodeDragStop, j = e.onNodesDelete, V = e.onEdgesDelete, K = e.onSelectionChange, J = e.onSelectionDragStart, z = e.onSelectionDrag, Z = e.onSelectionDragStop, ue = e.onSelectionContextMenu, oe = e.connectionMode, F = oe === void 0 ? Mo.Strict : oe, W = e.connectionLineType, X = W === void 0 ? ri.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, Ne = Se === void 0 ? !1 : Se, We = e.snapGrid, Be = We === void 0 ? uX : We, 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, wr = e.maxZoom, zt = wr === void 0 ? 2 : wr, Ot = e.defaultZoom, Ht = Ot === void 0 ? 1 : Ot, tn = e.defaultPosition, li = tn === void 0 ? cX : tn, Fn = e.translateExtent, rn = Fn === void 0 ? uw : Fn, Ui = e.preventScrolling, $l = Ui === void 0 ? !0 : Ui, Es = e.nodeExtent, Wo = e.defaultMarkerColor, jl = Wo === void 0 ? "#b1b1b7" : Wo, 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, Go = Is === void 0 ? 0.5 : Is, Ns = e.panOnScrollMode, Ko = Ns === void 0 ? _o.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, Yo = e.noWheelClassName, ks = Yo === void 0 ? "nowheel" : Yo, Ls = e.noPanClassName, nf = Ls === void 0 ? "nopan" : Ls, Bs = e.fitView, of = Bs === void 0 ? !1 : Bs, $s = e.fitViewOptions, Xo = e.connectOnClick, js = Xo === void 0 ? !0 : Xo, Zo = 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: br(["react-flow", a])
@@ -12006,7 +12006,7 @@ var aX = {
12006
12006
  onPaneClick: Vl,
12007
12007
  onPaneScroll: Wl,
12008
12008
  onPaneContextMenu: Gl,
12009
- onSelectionContextMenu: se,
12009
+ onSelectionContextMenu: ue,
12010
12010
  onEdgeUpdate: As,
12011
12011
  onEdgeContextMenu: Yl,
12012
12012
  onEdgeDoubleClick: Xl,
@@ -12122,7 +12122,7 @@ const dX = ({
12122
12122
  targetX: e,
12123
12123
  targetY: t
12124
12124
  });
12125
- return /* @__PURE__ */ ce("g", { children: [
12125
+ return /* @__PURE__ */ se("g", { children: [
12126
12126
  /* @__PURE__ */ I(
12127
12127
  "path",
12128
12128
  {
@@ -12508,7 +12508,7 @@ const bX = (e = [], t = [], r = []) => {
12508
12508
  const d = r4(t.id, e.id, a);
12509
12509
  o(vr(d));
12510
12510
  }
12511
- return /* @__PURE__ */ ce(
12511
+ return /* @__PURE__ */ se(
12512
12512
  "div",
12513
12513
  {
12514
12514
  className: Ye(
@@ -12551,11 +12551,11 @@ const bX = (e = [], t = [], r = []) => {
12551
12551
  let u = a ? za(a.includes, t) : [], c = a ? za(e4(a.id, t), t) : [], d = a ? za(t4(a.id, t), t) : [];
12552
12552
  return [u, c, d] = [u, c, d].map(
12553
12553
  (f) => f.filter((h) => (h == null ? void 0 : h.privilege) !== "guest")
12554
- ), o.length < 2 && u.length + c.length + d.length === 0 ? null : /* @__PURE__ */ ce("div", { className: "w-full border-b border-grey-900 p-4", children: [
12555
- /* @__PURE__ */ ce("div", { className: "mb-4 flex items-center justify-between", children: [
12554
+ ), o.length < 2 && u.length + c.length + d.length === 0 ? null : /* @__PURE__ */ se("div", { className: "w-full border-b border-grey-900 p-4", children: [
12555
+ /* @__PURE__ */ se("div", { className: "mb-4 flex items-center justify-between", children: [
12556
12556
  " ",
12557
12557
  o.length > 2 ? /* @__PURE__ */ I("h4", { className: "text-[13px] font-semibold text-white", children: "Include a privilege" }) : /* @__PURE__ */ I("div", {}),
12558
- /* @__PURE__ */ ce("div", { className: "flex items-center gap-2", children: [
12558
+ /* @__PURE__ */ se("div", { className: "flex items-center gap-2", children: [
12559
12559
  /* @__PURE__ */ I(
12560
12560
  Kb,
12561
12561
  {
@@ -12563,13 +12563,13 @@ const bX = (e = [], t = [], r = []) => {
12563
12563
  value: i
12564
12564
  }
12565
12565
  ),
12566
- /* @__PURE__ */ ce("label", { className: "text-xs text-[#F6F6F6]", children: [
12566
+ /* @__PURE__ */ se("label", { className: "text-xs text-[#F6F6F6]", children: [
12567
12567
  " ",
12568
12568
  "Show inherited permissions"
12569
12569
  ] })
12570
12570
  ] })
12571
12571
  ] }),
12572
- /* @__PURE__ */ ce("div", { className: "flex flex-wrap items-start justify-start gap-1", children: [
12572
+ /* @__PURE__ */ se("div", { className: "flex flex-wrap items-start justify-start gap-1", children: [
12573
12573
  u.map((f) => /* @__PURE__ */ I(
12574
12574
  Qm,
12575
12575
  {
@@ -14238,7 +14238,7 @@ var y_ = "PopperContent", [KZ, YZ] = tL(y_), sL = ve.forwardRef(
14238
14238
  Mi(() => {
14239
14239
  V && (Z == null || Z());
14240
14240
  }, [V, Z]);
14241
- const se = (U = K.arrow) == null ? void 0 : U.x, oe = (G = K.arrow) == null ? void 0 : G.y, F = ((re = K.arrow) == null ? void 0 : re.centerOffset) !== 0, [W, X] = ve.useState();
14241
+ const ue = (U = K.arrow) == null ? void 0 : U.x, oe = (G = K.arrow) == null ? void 0 : G.y, F = ((re = K.arrow) == null ? void 0 : re.centerOffset) !== 0, [W, X] = ve.useState();
14242
14242
  return Mi(() => {
14243
14243
  b && X(window.getComputedStyle(b).zIndex);
14244
14244
  }, [b]), /* @__PURE__ */ I(
@@ -14271,7 +14271,7 @@ var y_ = "PopperContent", [KZ, YZ] = tL(y_), sL = ve.forwardRef(
14271
14271
  scope: r,
14272
14272
  placedSide: J,
14273
14273
  onArrowChange: x,
14274
- arrowX: se,
14274
+ arrowX: ue,
14275
14275
  arrowY: oe,
14276
14276
  shouldHideArrow: F,
14277
14277
  children: /* @__PURE__ */ I(
@@ -14729,8 +14729,8 @@ function _J(e) {
14729
14729
  var __ = gL, x_ = yL, Gr = bL, Kr = wL;
14730
14730
  const xJ = ({ item: e, depth: t }) => {
14731
14731
  const [r, n] = qe(!1), i = Ge(Ln), o = za(e.includes, i);
14732
- return /* @__PURE__ */ ce("div", { className: "py-1 text-xs text-white", children: [
14733
- /* @__PURE__ */ ce("div", { className: "flex items-center", children: [
14732
+ return /* @__PURE__ */ se("div", { className: "py-1 text-xs text-white", children: [
14733
+ /* @__PURE__ */ se("div", { className: "flex items-center", children: [
14734
14734
  /* @__PURE__ */ I(
14735
14735
  "button",
14736
14736
  {
@@ -14828,8 +14828,8 @@ const xJ = ({ item: e, depth: t }) => {
14828
14828
  i(vr(x));
14829
14829
  }
14830
14830
  }, _ = It(() => e.resources.some((S) => S.exists === !1), [e]);
14831
- return /* @__PURE__ */ ce(PP, { openDelay: 0, closeDelay: 0, children: [
14832
- /* @__PURE__ */ I(TP, { asChild: !0, children: /* @__PURE__ */ ce(
14831
+ return /* @__PURE__ */ se(PP, { openDelay: 0, closeDelay: 0, children: [
14832
+ /* @__PURE__ */ I(TP, { asChild: !0, children: /* @__PURE__ */ se(
14833
14833
  "div",
14834
14834
  {
14835
14835
  className: Ye("rounded border bg-grey-300 p-2", {
@@ -14844,10 +14844,10 @@ const xJ = ({ item: e, depth: t }) => {
14844
14844
  },
14845
14845
  ref: v,
14846
14846
  children: [
14847
- /* @__PURE__ */ ce("div", { className: "flex items-center justify-between", children: [
14848
- /* @__PURE__ */ ce("div", { className: "flex flex-1 items-center text-white", children: [
14847
+ /* @__PURE__ */ se("div", { className: "flex items-center justify-between", children: [
14848
+ /* @__PURE__ */ se("div", { className: "flex flex-1 items-center text-white", children: [
14849
14849
  /* @__PURE__ */ I("span", { className: "mr-4", children: n ? /* @__PURE__ */ I(U4, { className: "h-6 w-6" }) : /* @__PURE__ */ I(Hc, { className: "h-6 w-6" }) }),
14850
- u ? /* @__PURE__ */ ce("div", { className: "relative h-6 flex-1 mr-2", children: [
14850
+ u ? /* @__PURE__ */ se("div", { className: "relative h-6 flex-1 mr-2", children: [
14851
14851
  /* @__PURE__ */ I(
14852
14852
  "input",
14853
14853
  {
@@ -14870,7 +14870,7 @@ const xJ = ({ item: e, depth: t }) => {
14870
14870
  h && /* @__PURE__ */ I("p", { className: "absolute top-5 mt-1 w-full rounded rounded-t-none bg-red-400 p-1 text-xs text-white shadow-md", children: h })
14871
14871
  ] }) : /* @__PURE__ */ I("span", { className: "inline-block grow overflow-hidden truncate whitespace-nowrap text-xs font-bold", children: d })
14872
14872
  ] }),
14873
- n ? /* @__PURE__ */ I("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ ce(PP, { openDelay: 0, closeDelay: 0, children: [
14873
+ n ? /* @__PURE__ */ I("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ se(PP, { openDelay: 0, closeDelay: 0, children: [
14874
14874
  /* @__PURE__ */ I(TP, { asChild: !0, children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-grey-50" }) }) }),
14875
14875
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
14876
14876
  Kr,
@@ -14879,13 +14879,13 @@ const xJ = ({ item: e, depth: t }) => {
14879
14879
  avoidCollisions: !0,
14880
14880
  side: "top",
14881
14881
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
14882
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
14882
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
14883
14883
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
14884
14884
  /* @__PURE__ */ I("p", { children: "the guest privilege must be used to indicate resources accessible without any permission required (e.g. an authenticate function)" })
14885
14885
  ] }) })
14886
14886
  }
14887
14887
  ) })
14888
- ] }) }) : /* @__PURE__ */ I("div", { className: "flex items-center space-x-2", children: u ? /* @__PURE__ */ ce(Lt, { children: [
14888
+ ] }) }) : /* @__PURE__ */ I("div", { className: "flex items-center space-x-2", children: u ? /* @__PURE__ */ se(Lt, { children: [
14889
14889
  /* @__PURE__ */ I(
14890
14890
  "button",
14891
14891
  {
@@ -14902,7 +14902,7 @@ const xJ = ({ item: e, depth: t }) => {
14902
14902
  children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(V4, { className: "h-4 w-4 text-grey-50" }) })
14903
14903
  }
14904
14904
  )
14905
- ] }) : /* @__PURE__ */ ce(Lt, { children: [
14905
+ ] }) : /* @__PURE__ */ se(Lt, { children: [
14906
14906
  /* @__PURE__ */ I(
14907
14907
  "button",
14908
14908
  {
@@ -14925,7 +14925,7 @@ const xJ = ({ item: e, depth: t }) => {
14925
14925
  ]
14926
14926
  }
14927
14927
  ) }),
14928
- /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ ce(
14928
+ /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ se(
14929
14929
  Kr,
14930
14930
  {
14931
14931
  hidden: !_,
@@ -14953,7 +14953,7 @@ const xJ = ({ item: e, depth: t }) => {
14953
14953
  );
14954
14954
  return jk(a, i).guest;
14955
14955
  }, [e, i]);
14956
- return /* @__PURE__ */ ce("div", { className: "flex flex-1 flex-col gap-y-4 overflow-auto p-4 pb-10 pt-1", children: [
14956
+ return /* @__PURE__ */ se("div", { className: "flex flex-1 flex-col gap-y-4 overflow-auto p-4 pb-10 pt-1", children: [
14957
14957
  o ? /* @__PURE__ */ I(
14958
14958
  AP,
14959
14959
  {
@@ -14971,10 +14971,10 @@ const xJ = ({ item: e, depth: t }) => {
14971
14971
  selectedPrivilege: r
14972
14972
  },
14973
14973
  a
14974
- )) : /* @__PURE__ */ I("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ ce("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
14974
+ )) : /* @__PURE__ */ I("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ se("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
14975
14975
  /* @__PURE__ */ I(pr, { className: "h-10 w-10" }),
14976
14976
  /* @__PURE__ */ I("div", { className: "font-semibold", children: "There are no privileges" }),
14977
- /* @__PURE__ */ ce("div", { className: "flex items-center text-sm", children: [
14977
+ /* @__PURE__ */ se("div", { className: "flex items-center text-sm", children: [
14978
14978
  "Create a new Privilege by clicking on the",
14979
14979
  " ",
14980
14980
  /* @__PURE__ */ I(An, { className: "ml-2 inline h-4 w-4 text-white" })
@@ -15116,7 +15116,7 @@ function OJ() {
15116
15116
  function Z(de) {
15117
15117
  return E(de) === u;
15118
15118
  }
15119
- function se(de) {
15119
+ function ue(de) {
15120
15120
  return E(de) === a;
15121
15121
  }
15122
15122
  function oe(de) {
@@ -15146,7 +15146,7 @@ function OJ() {
15146
15146
  function ae(de) {
15147
15147
  return E(de) === h;
15148
15148
  }
15149
- Qe.AsyncMode = x, Qe.ConcurrentMode = C, Qe.ContextConsumer = R, Qe.ContextProvider = P, Qe.Element = M, Qe.ForwardRef = k, Qe.Fragment = B, Qe.Lazy = L, Qe.Memo = D, Qe.Portal = T, Qe.Profiler = $, 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;
15149
+ Qe.AsyncMode = x, Qe.ConcurrentMode = C, Qe.ContextConsumer = R, Qe.ContextProvider = P, Qe.Element = M, Qe.ForwardRef = k, Qe.Fragment = B, Qe.Lazy = L, Qe.Memo = D, Qe.Portal = T, Qe.Profiler = $, Qe.StrictMode = j, Qe.Suspense = V, Qe.isAsyncMode = J, Qe.isConcurrentMode = z, Qe.isContextConsumer = Z, Qe.isContextProvider = ue, 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;
15150
15150
  })()), Qe;
15151
15151
  }
15152
15152
  var qP;
@@ -15318,7 +15318,7 @@ function IJ() {
15318
15318
  y.prototype = Error.prototype;
15319
15319
  function w(z) {
15320
15320
  if (process.env.NODE_ENV !== "production")
15321
- var Z = {}, se = 0;
15321
+ var Z = {}, ue = 0;
15322
15322
  function oe(W, X, U, G, re, te, ae) {
15323
15323
  if (G = G || p, te = te || U, ae !== r) {
15324
15324
  if (c) {
@@ -15329,9 +15329,9 @@ function IJ() {
15329
15329
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
15330
15330
  var we = G + ":" + U;
15331
15331
  !Z[we] && // Avoid spamming the console because they are often not actionable except for lib authors
15332
- se < 3 && (o(
15332
+ ue < 3 && (o(
15333
15333
  "You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
15334
- ), Z[we] = !0, se++);
15334
+ ), Z[we] = !0, ue++);
15335
15335
  }
15336
15336
  }
15337
15337
  return X[U] == null ? W ? X[U] === null ? new y("The " + re + " `" + te + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new y("The " + re + " `" + te + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : z(X, U, G, re, te);
@@ -15340,8 +15340,8 @@ function IJ() {
15340
15340
  return F.isRequired = oe.bind(null, !0), F;
15341
15341
  }
15342
15342
  function b(z) {
15343
- function Z(se, oe, F, W, X, U) {
15344
- var G = se[oe], re = j(G);
15343
+ function Z(ue, oe, F, W, X, U) {
15344
+ var G = ue[oe], re = j(G);
15345
15345
  if (re !== z) {
15346
15346
  var te = V(G);
15347
15347
  return new y(
@@ -15357,10 +15357,10 @@ function IJ() {
15357
15357
  return w(a);
15358
15358
  }
15359
15359
  function S(z) {
15360
- function Z(se, oe, F, W, X) {
15360
+ function Z(ue, oe, F, W, X) {
15361
15361
  if (typeof z != "function")
15362
15362
  return new y("Property `" + X + "` of component `" + F + "` has invalid PropType notation inside arrayOf.");
15363
- var U = se[oe];
15363
+ var U = ue[oe];
15364
15364
  if (!Array.isArray(U)) {
15365
15365
  var G = j(U);
15366
15366
  return new y("Invalid " + W + " `" + X + "` of type " + ("`" + G + "` supplied to `" + F + "`, expected an array."));
@@ -15375,8 +15375,8 @@ function IJ() {
15375
15375
  return w(Z);
15376
15376
  }
15377
15377
  function E() {
15378
- function z(Z, se, oe, F, W) {
15379
- var X = Z[se];
15378
+ function z(Z, ue, oe, F, W) {
15379
+ var X = Z[ue];
15380
15380
  if (!u(X)) {
15381
15381
  var U = j(X);
15382
15382
  return new y("Invalid " + F + " `" + W + "` of type " + ("`" + U + "` supplied to `" + oe + "`, expected a single ReactElement."));
@@ -15386,8 +15386,8 @@ function IJ() {
15386
15386
  return w(z);
15387
15387
  }
15388
15388
  function x() {
15389
- function z(Z, se, oe, F, W) {
15390
- var X = Z[se];
15389
+ function z(Z, ue, oe, F, W) {
15390
+ var X = Z[ue];
15391
15391
  if (!e.isValidElementType(X)) {
15392
15392
  var U = j(X);
15393
15393
  return new y("Invalid " + F + " `" + W + "` of type " + ("`" + U + "` supplied to `" + oe + "`, expected a single ReactElement type."));
@@ -15397,9 +15397,9 @@ function IJ() {
15397
15397
  return w(z);
15398
15398
  }
15399
15399
  function C(z) {
15400
- function Z(se, oe, F, W, X) {
15401
- if (!(se[oe] instanceof z)) {
15402
- var U = z.name || p, G = J(se[oe]);
15400
+ function Z(ue, oe, F, W, X) {
15401
+ if (!(ue[oe] instanceof z)) {
15402
+ var U = z.name || p, G = J(ue[oe]);
15403
15403
  return new y("Invalid " + W + " `" + X + "` of type " + ("`" + G + "` supplied to `" + F + "`, expected ") + ("instance of `" + U + "`."));
15404
15404
  }
15405
15405
  return null;
@@ -15411,8 +15411,8 @@ function IJ() {
15411
15411
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
15412
15412
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
15413
15413
  ) : o("Invalid argument supplied to oneOf, expected an array.")), a;
15414
- function Z(se, oe, F, W, X) {
15415
- for (var U = se[oe], G = 0; G < z.length; G++)
15414
+ function Z(ue, oe, F, W, X) {
15415
+ for (var U = ue[oe], G = 0; G < z.length; G++)
15416
15416
  if (m(U, z[G]))
15417
15417
  return null;
15418
15418
  var re = JSON.stringify(z, function(ae, de) {
@@ -15424,10 +15424,10 @@ function IJ() {
15424
15424
  return w(Z);
15425
15425
  }
15426
15426
  function P(z) {
15427
- function Z(se, oe, F, W, X) {
15427
+ function Z(ue, oe, F, W, X) {
15428
15428
  if (typeof z != "function")
15429
15429
  return new y("Property `" + X + "` of component `" + F + "` has invalid PropType notation inside objectOf.");
15430
- var U = se[oe], G = j(U);
15430
+ var U = ue[oe], G = j(U);
15431
15431
  if (G !== "object")
15432
15432
  return new y("Invalid " + W + " `" + X + "` of type " + ("`" + G + "` supplied to `" + F + "`, expected an object."));
15433
15433
  for (var re in U)
@@ -15444,10 +15444,10 @@ function IJ() {
15444
15444
  if (!Array.isArray(z))
15445
15445
  return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), a;
15446
15446
  for (var Z = 0; Z < z.length; Z++) {
15447
- var se = z[Z];
15448
- if (typeof se != "function")
15447
+ var ue = z[Z];
15448
+ if (typeof ue != "function")
15449
15449
  return o(
15450
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(se) + " at index " + Z + "."
15450
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(ue) + " at index " + Z + "."
15451
15451
  ), a;
15452
15452
  }
15453
15453
  function oe(F, W, X, U, G) {
@@ -15463,19 +15463,19 @@ function IJ() {
15463
15463
  return w(oe);
15464
15464
  }
15465
15465
  function k() {
15466
- function z(Z, se, oe, F, W) {
15467
- return T(Z[se]) ? null : new y("Invalid " + F + " `" + W + "` supplied to " + ("`" + oe + "`, expected a ReactNode."));
15466
+ function z(Z, ue, oe, F, W) {
15467
+ return T(Z[ue]) ? null : new y("Invalid " + F + " `" + W + "` supplied to " + ("`" + oe + "`, expected a ReactNode."));
15468
15468
  }
15469
15469
  return w(z);
15470
15470
  }
15471
- function B(z, Z, se, oe, F) {
15471
+ function B(z, Z, ue, oe, F) {
15472
15472
  return new y(
15473
- (z || "React class") + ": " + Z + " type `" + se + "." + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + F + "`."
15473
+ (z || "React class") + ": " + Z + " type `" + ue + "." + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + F + "`."
15474
15474
  );
15475
15475
  }
15476
15476
  function L(z) {
15477
- function Z(se, oe, F, W, X) {
15478
- var U = se[oe], G = j(U);
15477
+ function Z(ue, oe, F, W, X) {
15478
+ var U = ue[oe], G = j(U);
15479
15479
  if (G !== "object")
15480
15480
  return new y("Invalid " + W + " `" + X + "` of type `" + G + "` " + ("supplied to `" + F + "`, expected `object`."));
15481
15481
  for (var re in z) {
@@ -15491,18 +15491,18 @@ function IJ() {
15491
15491
  return w(Z);
15492
15492
  }
15493
15493
  function D(z) {
15494
- function Z(se, oe, F, W, X) {
15495
- var U = se[oe], G = j(U);
15494
+ function Z(ue, oe, F, W, X) {
15495
+ var U = ue[oe], G = j(U);
15496
15496
  if (G !== "object")
15497
15497
  return new y("Invalid " + W + " `" + X + "` of type `" + G + "` " + ("supplied to `" + F + "`, expected `object`."));
15498
- var re = t({}, se[oe], z);
15498
+ var re = t({}, ue[oe], z);
15499
15499
  for (var te in re) {
15500
15500
  var ae = z[te];
15501
15501
  if (n(z, te) && typeof ae != "function")
15502
15502
  return B(F, W, X, te, V(ae));
15503
15503
  if (!ae)
15504
15504
  return new y(
15505
- "Invalid " + W + " `" + X + "` key `" + te + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(se[oe], null, " ") + `
15505
+ "Invalid " + W + " `" + X + "` key `" + te + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(ue[oe], null, " ") + `
15506
15506
  Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
15507
15507
  );
15508
15508
  var de = ae(U, te, F, W, X + "." + te, r);
@@ -15528,13 +15528,13 @@ Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
15528
15528
  return !0;
15529
15529
  var Z = h(z);
15530
15530
  if (Z) {
15531
- var se = Z.call(z), oe;
15531
+ var ue = Z.call(z), oe;
15532
15532
  if (Z !== z.entries) {
15533
- for (; !(oe = se.next()).done; )
15533
+ for (; !(oe = ue.next()).done; )
15534
15534
  if (!T(oe.value))
15535
15535
  return !1;
15536
15536
  } else
15537
- for (; !(oe = se.next()).done; ) {
15537
+ for (; !(oe = ue.next()).done; ) {
15538
15538
  var F = oe.value;
15539
15539
  if (F && !T(F[1]))
15540
15540
  return !1;
@@ -15644,7 +15644,7 @@ function PJ() {
15644
15644
  return Uu.exports;
15645
15645
  }
15646
15646
  var TJ = /* @__PURE__ */ PJ();
15647
- const ue = /* @__PURE__ */ oi(TJ);
15647
+ const ce = /* @__PURE__ */ oi(TJ);
15648
15648
  var Wu = { exports: {} }, rt = {};
15649
15649
  /** @license React v17.0.2
15650
15650
  * react-is.production.min.js
@@ -15788,7 +15788,7 @@ function MJ() {
15788
15788
  function Z(ae) {
15789
15789
  return E(ae) === o;
15790
15790
  }
15791
- function se(ae) {
15791
+ function ue(ae) {
15792
15792
  return typeof ae == "object" && ae !== null && ae.$$typeof === e;
15793
15793
  }
15794
15794
  function oe(ae) {
@@ -15815,7 +15815,7 @@ function MJ() {
15815
15815
  function te(ae) {
15816
15816
  return E(ae) === c;
15817
15817
  }
15818
- nt.ContextConsumer = x, nt.ContextProvider = C, nt.Element = R, nt.ForwardRef = P, nt.Fragment = M, nt.Lazy = k, nt.Memo = B, nt.Portal = L, nt.Profiler = D, nt.StrictMode = T, nt.Suspense = $, 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;
15818
+ nt.ContextConsumer = x, nt.ContextProvider = C, nt.Element = R, nt.ForwardRef = P, nt.Fragment = M, nt.Lazy = k, nt.Memo = B, nt.Portal = L, nt.Profiler = D, nt.StrictMode = T, nt.Suspense = $, nt.isAsyncMode = K, nt.isConcurrentMode = J, nt.isContextConsumer = z, nt.isContextProvider = Z, nt.isElement = ue, 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;
15819
15819
  })()), nt;
15820
15820
  }
15821
15821
  var VP;
@@ -15864,10 +15864,10 @@ var qJ = function(e, t) {
15864
15864
  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, M = [], k = 0; k < f.length; k++) {
15865
15865
  var B = f[k], L = B.getBoundingClientRect(), D = L.height, T = L.width, $ = L.top, j = L.right, V = L.bottom, K = L.left;
15866
15866
  if (S >= 0 && C >= 0 && x <= v && E <= p && S >= $ && x <= V && C >= K && E <= j) return M;
15867
- var J = getComputedStyle(B), 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 B ? B.offsetWidth - B.clientWidth - z - se : 0, U = "offsetHeight" in B ? B.offsetHeight - B.clientHeight - Z - oe : 0, G = "offsetWidth" in B ? B.offsetWidth === 0 ? 0 : T / B.offsetWidth : 0, re = "offsetHeight" in B ? B.offsetHeight === 0 ? 0 : D / B.offsetHeight : 0;
15868
- if (d === B) 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);
15867
+ var J = getComputedStyle(B), z = parseInt(J.borderLeftWidth, 10), Z = parseInt(J.borderTopWidth, 10), ue = parseInt(J.borderRightWidth, 10), oe = parseInt(J.borderBottomWidth, 10), F = 0, W = 0, X = "offsetWidth" in B ? B.offsetWidth - B.clientWidth - z - ue : 0, U = "offsetHeight" in B ? B.offsetHeight - B.clientHeight - Z - oe : 0, G = "offsetWidth" in B ? B.offsetWidth === 0 ? 0 : T / B.offsetWidth : 0, re = "offsetHeight" in B ? B.offsetHeight === 0 ? 0 : D / B.offsetHeight : 0;
15868
+ if (d === B) 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, ue, m + P, m + P + _, _), F = Math.max(0, F + y), W = Math.max(0, W + m);
15869
15869
  else {
15870
- F = Gu($, V, D, Z, oe + U, R, R + b, b), W = n === "start" ? P - K - z : n === "center" ? P - (K + T / 2) + X / 2 : n === "end" ? P - j + se + X : Gu(K, j, T, z, se + X, P, P + _, _);
15870
+ F = Gu($, V, D, Z, oe + U, R, R + b, b), W = n === "start" ? P - K - z : n === "center" ? P - (K + T / 2) + X / 2 : n === "end" ? P - j + ue + X : Gu(K, j, T, z, ue + X, P, P + _, _);
15871
15871
  var te = B.scrollLeft, ae = B.scrollTop;
15872
15872
  R += ae - (F = Math.max(0, Math.min(ae + F / re, B.scrollHeight - D / re + U))), P += te - (W = Math.max(0, Math.min(te + W / G, B.scrollWidth - T / G + X)));
15873
15873
  }
@@ -16658,47 +16658,47 @@ const zJ = /* @__PURE__ */ (() => {
16658
16658
  }, e.stateChangeTypes = FJ, e;
16659
16659
  })();
16660
16660
  process.env.NODE_ENV !== "production" && (zJ.propTypes = {
16661
- children: ue.func,
16662
- defaultHighlightedIndex: ue.number,
16663
- defaultIsOpen: ue.bool,
16664
- initialHighlightedIndex: ue.number,
16665
- initialSelectedItem: ue.any,
16666
- initialInputValue: ue.string,
16667
- initialIsOpen: ue.bool,
16668
- getA11yStatusMessage: ue.func,
16669
- itemToString: ue.func,
16670
- onChange: ue.func,
16671
- onSelect: ue.func,
16672
- onStateChange: ue.func,
16673
- onInputValueChange: ue.func,
16674
- onUserAction: ue.func,
16675
- onOuterClick: ue.func,
16676
- selectedItemChanged: ue.func,
16677
- stateReducer: ue.func,
16678
- itemCount: ue.number,
16679
- id: ue.string,
16680
- environment: ue.shape({
16681
- addEventListener: ue.func,
16682
- removeEventListener: ue.func,
16683
- document: ue.shape({
16684
- getElementById: ue.func,
16685
- activeElement: ue.any,
16686
- body: ue.any
16661
+ children: ce.func,
16662
+ defaultHighlightedIndex: ce.number,
16663
+ defaultIsOpen: ce.bool,
16664
+ initialHighlightedIndex: ce.number,
16665
+ initialSelectedItem: ce.any,
16666
+ initialInputValue: ce.string,
16667
+ initialIsOpen: ce.bool,
16668
+ getA11yStatusMessage: ce.func,
16669
+ itemToString: ce.func,
16670
+ onChange: ce.func,
16671
+ onSelect: ce.func,
16672
+ onStateChange: ce.func,
16673
+ onInputValueChange: ce.func,
16674
+ onUserAction: ce.func,
16675
+ onOuterClick: ce.func,
16676
+ selectedItemChanged: ce.func,
16677
+ stateReducer: ce.func,
16678
+ itemCount: ce.number,
16679
+ id: ce.string,
16680
+ environment: ce.shape({
16681
+ addEventListener: ce.func,
16682
+ removeEventListener: ce.func,
16683
+ document: ce.shape({
16684
+ getElementById: ce.func,
16685
+ activeElement: ce.any,
16686
+ body: ce.any
16687
16687
  })
16688
16688
  }),
16689
- suppressRefError: ue.bool,
16690
- scrollIntoView: ue.func,
16689
+ suppressRefError: ce.bool,
16690
+ scrollIntoView: ce.func,
16691
16691
  // things we keep in state for uncontrolled components
16692
16692
  // but can accept as props for controlled components
16693
16693
  /* eslint-disable react/no-unused-prop-types */
16694
- selectedItem: ue.any,
16695
- isOpen: ue.bool,
16696
- inputValue: ue.string,
16697
- highlightedIndex: ue.number,
16698
- labelId: ue.string,
16699
- inputId: ue.string,
16700
- menuId: ue.string,
16701
- getItemId: ue.func
16694
+ selectedItem: ce.any,
16695
+ isOpen: ce.bool,
16696
+ inputValue: ce.string,
16697
+ highlightedIndex: ce.number,
16698
+ labelId: ce.string,
16699
+ inputId: ce.string,
16700
+ menuId: ce.string,
16701
+ getItemId: ce.func
16702
16702
  /* eslint-enable react/no-unused-prop-types */
16703
16703
  });
16704
16704
  function JP(e, t) {
@@ -16999,13 +16999,13 @@ function nQ(e, t, r) {
16999
16999
  ...o
17000
17000
  };
17001
17001
  }
17002
- ue.array.isRequired, ue.func, ue.func, ue.func, ue.bool, ue.number, ue.number, ue.number, ue.bool, ue.bool, ue.bool, ue.any, ue.any, ue.any, ue.string, ue.string, ue.string, ue.func, ue.string, ue.func, ue.func, ue.func, ue.func, ue.func, ue.shape({
17003
- addEventListener: ue.func,
17004
- removeEventListener: ue.func,
17005
- document: ue.shape({
17006
- getElementById: ue.func,
17007
- activeElement: ue.any,
17008
- body: ue.any
17002
+ ce.array.isRequired, ce.func, ce.func, ce.func, ce.bool, ce.number, ce.number, ce.number, ce.bool, ce.bool, ce.bool, ce.any, ce.any, ce.any, ce.string, ce.string, ce.string, ce.func, ce.string, ce.func, ce.func, ce.func, ce.func, ce.func, ce.shape({
17003
+ addEventListener: ce.func,
17004
+ removeEventListener: ce.func,
17005
+ document: ce.shape({
17006
+ getElementById: ce.func,
17007
+ activeElement: ce.any,
17008
+ body: ce.any
17009
17009
  })
17010
17010
  });
17011
17011
  function iQ(e) {
@@ -17074,42 +17074,42 @@ function oQ(e) {
17074
17074
  };
17075
17075
  }
17076
17076
  const aQ = {
17077
- items: ue.array.isRequired,
17078
- itemToString: ue.func,
17079
- getA11yStatusMessage: ue.func,
17080
- getA11ySelectionMessage: ue.func,
17081
- circularNavigation: ue.bool,
17082
- highlightedIndex: ue.number,
17083
- defaultHighlightedIndex: ue.number,
17084
- initialHighlightedIndex: ue.number,
17085
- isOpen: ue.bool,
17086
- defaultIsOpen: ue.bool,
17087
- initialIsOpen: ue.bool,
17088
- selectedItem: ue.any,
17089
- initialSelectedItem: ue.any,
17090
- defaultSelectedItem: ue.any,
17091
- inputValue: ue.string,
17092
- defaultInputValue: ue.string,
17093
- initialInputValue: ue.string,
17094
- id: ue.string,
17095
- labelId: ue.string,
17096
- menuId: ue.string,
17097
- getItemId: ue.func,
17098
- inputId: ue.string,
17099
- toggleButtonId: ue.string,
17100
- stateReducer: ue.func,
17101
- onSelectedItemChange: ue.func,
17102
- onHighlightedIndexChange: ue.func,
17103
- onStateChange: ue.func,
17104
- onIsOpenChange: ue.func,
17105
- onInputValueChange: ue.func,
17106
- environment: ue.shape({
17107
- addEventListener: ue.func,
17108
- removeEventListener: ue.func,
17109
- document: ue.shape({
17110
- getElementById: ue.func,
17111
- activeElement: ue.any,
17112
- body: ue.any
17077
+ items: ce.array.isRequired,
17078
+ itemToString: ce.func,
17079
+ getA11yStatusMessage: ce.func,
17080
+ getA11ySelectionMessage: ce.func,
17081
+ circularNavigation: ce.bool,
17082
+ highlightedIndex: ce.number,
17083
+ defaultHighlightedIndex: ce.number,
17084
+ initialHighlightedIndex: ce.number,
17085
+ isOpen: ce.bool,
17086
+ defaultIsOpen: ce.bool,
17087
+ initialIsOpen: ce.bool,
17088
+ selectedItem: ce.any,
17089
+ initialSelectedItem: ce.any,
17090
+ defaultSelectedItem: ce.any,
17091
+ inputValue: ce.string,
17092
+ defaultInputValue: ce.string,
17093
+ initialInputValue: ce.string,
17094
+ id: ce.string,
17095
+ labelId: ce.string,
17096
+ menuId: ce.string,
17097
+ getItemId: ce.func,
17098
+ inputId: ce.string,
17099
+ toggleButtonId: ce.string,
17100
+ stateReducer: ce.func,
17101
+ onSelectedItemChange: ce.func,
17102
+ onHighlightedIndexChange: ce.func,
17103
+ onStateChange: ce.func,
17104
+ onIsOpenChange: ce.func,
17105
+ onInputValueChange: ce.func,
17106
+ environment: ce.shape({
17107
+ addEventListener: ce.func,
17108
+ removeEventListener: ce.func,
17109
+ document: ce.shape({
17110
+ getElementById: ce.func,
17111
+ activeElement: ce.any,
17112
+ body: ce.any
17113
17113
  })
17114
17114
  })
17115
17115
  };
@@ -17124,7 +17124,7 @@ function sQ(e, t, r) {
17124
17124
  }
17125
17125
  let oB = Nr;
17126
17126
  process.env.NODE_ENV !== "production" && (oB = (e, t) => {
17127
- ue.checkPropTypes(aQ, e, "prop", t.name);
17127
+ ce.checkPropTypes(aQ, e, "prop", t.name);
17128
17128
  });
17129
17129
  const uQ = {
17130
17130
  ...Ya,
@@ -17506,7 +17506,7 @@ function mo(e) {
17506
17506
  p({
17507
17507
  type: JL
17508
17508
  });
17509
- }, [p]), se = Ue(() => {
17509
+ }, [p]), ue = Ue(() => {
17510
17510
  p({
17511
17511
  type: eB
17512
17512
  });
@@ -17545,7 +17545,7 @@ function mo(e) {
17545
17545
  // actions.
17546
17546
  toggleMenu: Z,
17547
17547
  openMenu: oe,
17548
- closeMenu: se,
17548
+ closeMenu: ue,
17549
17549
  setHighlightedIndex: F,
17550
17550
  setInputValue: X,
17551
17551
  selectItem: W,
@@ -17557,13 +17557,13 @@ function mo(e) {
17557
17557
  inputValue: w
17558
17558
  };
17559
17559
  }
17560
- ue.array, ue.array, ue.array, ue.func, ue.func, ue.func, ue.number, ue.number, ue.number, ue.func, ue.func, ue.string, ue.string, ue.shape({
17561
- addEventListener: ue.func,
17562
- removeEventListener: ue.func,
17563
- document: ue.shape({
17564
- getElementById: ue.func,
17565
- activeElement: ue.any,
17566
- body: ue.any
17560
+ ce.array, ce.array, ce.array, ce.func, ce.func, ce.func, ce.number, ce.number, ce.number, ce.func, ce.func, ce.string, ce.string, ce.shape({
17561
+ addEventListener: ce.func,
17562
+ removeEventListener: ce.func,
17563
+ document: ce.shape({
17564
+ getElementById: ce.func,
17565
+ activeElement: ce.any,
17566
+ body: ce.any
17567
17567
  })
17568
17568
  });
17569
17569
  Ya.itemToString, Ya.stateReducer, Ya.environment;
@@ -17594,7 +17594,7 @@ var lQ = Fa.exports, eT;
17594
17594
  function fQ() {
17595
17595
  return eT || (eT = 1, (function(e, t) {
17596
17596
  (function() {
17597
- 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, M = 512, k = 30, B = "...", L = 800, D = 16, T = 1, $ = 2, j = 3, V = 1 / 0, K = 9007199254740991, J = 17976931348623157e292, z = NaN, Z = 4294967295, se = Z - 1, oe = Z >>> 1, F = [
17597
+ 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, M = 512, k = 30, B = "...", L = 800, D = 16, T = 1, $ = 2, j = 3, V = 1 / 0, K = 9007199254740991, J = 17976931348623157e292, z = NaN, Z = 4294967295, ue = Z - 1, oe = Z >>> 1, F = [
17598
17598
  ["ary", R],
17599
17599
  ["bind", w],
17600
17600
  ["bindKey", b],
@@ -18917,7 +18917,7 @@ function fQ() {
18917
18917
  else pe ? Ie = Re && (O || ye) : Y ? Ie = Re && ye && (O || !Oe) : ee ? Ie = Re && ye && !Oe && (O || !Le) : Oe || Le ? Ie = !1 : Ie = O ? me <= l : me < l;
18918
18918
  Ie ? N = ge + 1 : q = ge;
18919
18919
  }
18920
- return jt(q, se);
18920
+ return jt(q, ue);
18921
18921
  }
18922
18922
  function e1(s, l) {
18923
18923
  for (var g = -1, O = s.length, N = 0, q = []; ++g < O; ) {
@@ -22507,18 +22507,18 @@ function IB() {
22507
22507
  return function() {
22508
22508
  return new M(this);
22509
22509
  };
22510
- }, $ = P + " Iterator", j = !1, V = R.prototype, K = V[_] || V["@@iterator"] || B && V[B], J = !b && K || T(B), z = P === "Array" && V.entries || K, Z, se, oe;
22510
+ }, $ = P + " Iterator", j = !1, V = R.prototype, K = V[_] || V["@@iterator"] || B && V[B], J = !b && K || T(B), z = P === "Array" && V.entries || K, Z, ue, oe;
22511
22511
  if (z && (Z = a(z.call(new R())), Z !== Object.prototype && Z.next && (!r && a(Z) !== w && (u ? u(Z, w) : i(Z[_]) || f(Z, _, C)), c(Z, $, !0, !0), r && (p[$] = C))), m && B === E && K && K.name !== E && (!r && y ? d(V, "name", E) : (j = !0, J = function() {
22512
22512
  return t(K, this);
22513
22513
  })), B)
22514
- if (se = {
22514
+ if (ue = {
22515
22515
  values: T(E),
22516
22516
  keys: L ? J : T(S),
22517
22517
  entries: T(x)
22518
- }, D) for (oe in se)
22519
- (b || j || !(oe in V)) && f(V, oe, se[oe]);
22520
- else e({ target: P, proto: !0, forced: b || j }, se);
22521
- return (!r || D) && V[_] !== J && f(V, _, J, { name: B }), p[P] = J, se;
22518
+ }, D) for (oe in ue)
22519
+ (b || j || !(oe in V)) && f(V, oe, ue[oe]);
22520
+ else e({ target: P, proto: !0, forced: b || j }, ue);
22521
+ return (!r || D) && V[_] !== J && f(V, _, J, { name: B }), p[P] = J, ue;
22522
22522
  }, Z0;
22523
22523
  }
22524
22524
  var J0, JA;
@@ -23154,13 +23154,13 @@ function iee() {
23154
23154
  var re = G - T, te = G - $, ae = R - re;
23155
23155
  return V ? m(ae, B - te) : ae;
23156
23156
  }
23157
- function se(G) {
23157
+ function ue(G) {
23158
23158
  var re = G - T, te = G - $;
23159
23159
  return T === void 0 || re >= R || re < 0 || V && te >= B;
23160
23160
  }
23161
23161
  function oe() {
23162
23162
  var G = y();
23163
- if (se(G))
23163
+ if (ue(G))
23164
23164
  return F(G);
23165
23165
  D = setTimeout(oe, Z(G));
23166
23166
  }
@@ -23174,7 +23174,7 @@ function iee() {
23174
23174
  return D === void 0 ? L : F(y());
23175
23175
  }
23176
23176
  function U() {
23177
- var G = y(), re = se(G);
23177
+ var G = y(), re = ue(G);
23178
23178
  if (M = arguments, k = this, T = G, re) {
23179
23179
  if (D === void 0)
23180
23180
  return z(T);
@@ -23241,7 +23241,7 @@ function aee() {
23241
23241
  return P = M = void 0, T = U, B = x.apply(re, G), B;
23242
23242
  }
23243
23243
  function J(U) {
23244
- return T = U, L = setTimeout(se, C), $ ? K(U) : B;
23244
+ return T = U, L = setTimeout(ue, C), $ ? K(U) : B;
23245
23245
  }
23246
23246
  function z(U) {
23247
23247
  var G = U - D, re = U - T, te = C - G;
@@ -23251,11 +23251,11 @@ function aee() {
23251
23251
  var G = U - D, re = U - T;
23252
23252
  return D === void 0 || G >= C || G < 0 || j && re >= k;
23253
23253
  }
23254
- function se() {
23254
+ function ue() {
23255
23255
  var U = y();
23256
23256
  if (Z(U))
23257
23257
  return oe(U);
23258
- L = setTimeout(se, z(U));
23258
+ L = setTimeout(ue, z(U));
23259
23259
  }
23260
23260
  function oe(U) {
23261
23261
  return L = void 0, V && P ? K(U) : (P = M = void 0, B);
@@ -23272,9 +23272,9 @@ function aee() {
23272
23272
  if (L === void 0)
23273
23273
  return J(D);
23274
23274
  if (j)
23275
- return L = setTimeout(se, C), K(D);
23275
+ return L = setTimeout(ue, C), K(D);
23276
23276
  }
23277
- return L === void 0 && (L = setTimeout(se, C)), B;
23277
+ return L === void 0 && (L = setTimeout(ue, C)), B;
23278
23278
  }
23279
23279
  return X.cancel = F, X.flush = W, X;
23280
23280
  }
@@ -23406,7 +23406,7 @@ function uee() {
23406
23406
  function Z(he) {
23407
23407
  return U(this, he).delete(he);
23408
23408
  }
23409
- function se(he) {
23409
+ function ue(he) {
23410
23410
  return U(this, he).get(he);
23411
23411
  }
23412
23412
  function oe(he) {
@@ -23415,7 +23415,7 @@ function uee() {
23415
23415
  function F(he, ie) {
23416
23416
  return U(this, he).set(he, ie), this;
23417
23417
  }
23418
- J.prototype.clear = z, J.prototype.delete = Z, J.prototype.get = se, J.prototype.has = oe, J.prototype.set = F;
23418
+ J.prototype.clear = z, J.prototype.delete = Z, J.prototype.get = ue, J.prototype.has = oe, J.prototype.set = F;
23419
23419
  function W(he, ie) {
23420
23420
  for (var Se = he.length; Se--; )
23421
23421
  if (we(he[Se][0], ie))
@@ -23912,9 +23912,9 @@ function Q_() {
23912
23912
  var R = this, P = u(R), M = r(C), k = P.raw, B, L, D, T, $, j, V;
23913
23913
  if (k)
23914
23914
  return k.lastIndex = R.lastIndex, B = e(p, k, M), R.lastIndex = k.lastIndex, B;
23915
- var K = P.groups, J = _ && R.sticky, z = e(n, R), Z = R.source, se = 0, oe = M;
23915
+ var K = P.groups, J = _ && R.sticky, z = e(n, R), Z = R.source, ue = 0, oe = M;
23916
23916
  if (J && (z = y(z, "y", ""), m(z, "g") === -1 && (z += "g"), oe = w(M, R.lastIndex), R.lastIndex > 0 && (!R.multiline || R.multiline && v(M, R.lastIndex - 1) !== `
23917
- `) && (Z = "(?: " + Z + ")", oe = " " + oe, se++), L = new RegExp("^(?:" + Z + ")", z)), S && (L = new RegExp("^" + Z + "$(?!\\s)", z)), b && (D = 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 : D), S && T && T.length > 1 && e(f, T[0], L, function() {
23917
+ `) && (Z = "(?: " + Z + ")", oe = " " + oe, ue++), L = new RegExp("^(?:" + Z + ")", z)), S && (L = new RegExp("^" + Z + "$(?!\\s)", z)), b && (D = R.lastIndex), T = e(h, J ? L : R, oe), J ? T ? (T.input = w(T.input, ue), T[0] = w(T[0], ue), T.index = R.lastIndex, R.lastIndex += T[0].length) : R.lastIndex = 0 : b && T && (R.lastIndex = R.global ? T.index + T[0].length : D), S && T && T.length > 1 && e(f, T[0], L, function() {
23918
23918
  for ($ = 1; $ < arguments.length - 2; $++)
23919
23919
  arguments[$] === void 0 && (T[$] = void 0);
23920
23920
  }), T && K)
@@ -24161,8 +24161,8 @@ function Kee() {
24161
24161
  var Z = $(T, J, z, K);
24162
24162
  if (Z.done) return Z.value;
24163
24163
  }
24164
- var se = a(K);
24165
- se || (K = f(K));
24164
+ var ue = a(K);
24165
+ ue || (K = f(K));
24166
24166
  var oe = f(y(J)), F = R(oe, "g") !== -1, W;
24167
24167
  F && (W = R(oe, "u") !== -1, J.lastIndex = 0);
24168
24168
  for (var X = [], U; U = w(J, z), !(U === null || (C(X, U), !F)); ) {
@@ -24173,7 +24173,7 @@ function Kee() {
24173
24173
  U = X[ae];
24174
24174
  for (var de = f(U[0]), we = S(E(c(U.index), z.length), 0), Ee = [], _e, he = 1; he < U.length; he++) C(Ee, M(U[he]));
24175
24175
  var ie = U.groups;
24176
- if (se) {
24176
+ if (ue) {
24177
24177
  var Se = x([de], Ee, we, z);
24178
24178
  ie !== void 0 && C(Se, ie), _e = f(e(K, void 0, Se));
24179
24179
  } else
@@ -24593,9 +24593,9 @@ var Jee = ["children", "scrollableNodeProps", "tag"], Qee = function(t) {
24593
24593
  });
24594
24594
  kl.displayName = "SimpleBar";
24595
24595
  kl.propTypes = {
24596
- children: ue.oneOfType([ue.node, ue.func]),
24597
- scrollableNodeProps: ue.object,
24598
- tag: ue.string
24596
+ children: ce.oneOfType([ce.node, ce.func]),
24597
+ scrollableNodeProps: ce.object,
24598
+ tag: ce.string
24599
24599
  };
24600
24600
  const Fc = __, zc = x_, XB = (e) => {
24601
24601
  switch (e) {
@@ -24622,7 +24622,7 @@ const Fc = __, zc = x_, XB = (e) => {
24622
24622
  default:
24623
24623
  return /* @__PURE__ */ I(fc, { className: "h-6 w-6" });
24624
24624
  }
24625
- }, bD = ({ children: e }) => /* @__PURE__ */ I("div", { className: "h-full w-full", children: /* @__PURE__ */ I("div", { className: "flex h-full w-full flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ ce("div", { className: "flex flex-col items-center justify-center space-y-4 py-4 text-grey-200", children: [
24625
+ }, bD = ({ children: e }) => /* @__PURE__ */ I("div", { className: "h-full w-full", children: /* @__PURE__ */ I("div", { className: "flex h-full w-full flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ se("div", { className: "flex flex-col items-center justify-center space-y-4 py-4 text-grey-200", children: [
24626
24626
  /* @__PURE__ */ I(pr, { className: "h-10 w-10" }),
24627
24627
  /* @__PURE__ */ I("div", { className: "text-center text-sm", children: e })
24628
24628
  ] }) }) });
@@ -24652,7 +24652,7 @@ const fo = ({
24652
24652
  exists: u
24653
24653
  }) => {
24654
24654
  const c = e.find((d) => d.name === t);
24655
- return c ? /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center", children: [
24655
+ return c ? /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center", children: [
24656
24656
  c.checked || c.from.length === 0 || t === "promote" ? /* @__PURE__ */ I(
24657
24657
  Pr,
24658
24658
  {
@@ -24668,8 +24668,8 @@ const fo = ({
24668
24668
  isInvalid: u === !1
24669
24669
  }
24670
24670
  ),
24671
- /* @__PURE__ */ ce("div", { className: "absolute left-5 top-0 flex cursor-pointer items-center space-x-1", children: [
24672
- t !== "promote" && (c.checked && (c.info || c.from.length > 0) || !c.checked && c.from.length > 0) && /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ ce(Fc, { openDelay: 0, closeDelay: 0, children: [
24671
+ /* @__PURE__ */ se("div", { className: "absolute left-5 top-0 flex cursor-pointer items-center space-x-1", children: [
24672
+ t !== "promote" && (c.checked && (c.info || c.from.length > 0) || !c.checked && c.from.length > 0) && /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ se(Fc, { openDelay: 0, closeDelay: 0, children: [
24673
24673
  /* @__PURE__ */ I(zc, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
24674
24674
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
24675
24675
  Kr,
@@ -24678,10 +24678,10 @@ const fo = ({
24678
24678
  avoidCollisions: !0,
24679
24679
  side: "top",
24680
24680
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
24681
- children: /* @__PURE__ */ ce("div", { className: "space-y-1 px-2", children: [
24682
- c.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
24681
+ children: /* @__PURE__ */ se("div", { className: "space-y-1 px-2", children: [
24682
+ c.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
24683
24683
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
24684
- /* @__PURE__ */ ce("p", { children: [
24684
+ /* @__PURE__ */ se("p", { children: [
24685
24685
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
24686
24686
  /* @__PURE__ */ I("ul", { children: c.from.map((d) => /* @__PURE__ */ I(
24687
24687
  "li",
@@ -24693,7 +24693,7 @@ const fo = ({
24693
24693
  )) })
24694
24694
  ] })
24695
24695
  ] }) : null,
24696
- c.info && /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
24696
+ c.info && /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
24697
24697
  /* @__PURE__ */ I(Yb, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
24698
24698
  " ",
24699
24699
  c.info
@@ -24702,7 +24702,7 @@ const fo = ({
24702
24702
  }
24703
24703
  ) })
24704
24704
  ] }) }),
24705
- (c.checked || c.from.length > 0) && ["execute"].includes(t) && !!(i != null && i.length) && /* @__PURE__ */ ce(Fc, { openDelay: 0, closeDelay: 0, children: [
24705
+ (c.checked || c.from.length > 0) && ["execute"].includes(t) && !!(i != null && i.length) && /* @__PURE__ */ se(Fc, { openDelay: 0, closeDelay: 0, children: [
24706
24706
  /* @__PURE__ */ I(zc, { children: /* @__PURE__ */ I(K4, { className: "h-3 w-3 text-white" }) }),
24707
24707
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
24708
24708
  Kr,
@@ -24711,10 +24711,10 @@ const fo = ({
24711
24711
  avoidCollisions: !0,
24712
24712
  side: "top",
24713
24713
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
24714
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
24714
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
24715
24715
  /* @__PURE__ */ I(Yb, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
24716
- /* @__PURE__ */ ce("p", { children: [
24717
- /* @__PURE__ */ ce("span", { className: "mr-1", children: [
24716
+ /* @__PURE__ */ se("p", { children: [
24717
+ /* @__PURE__ */ se("span", { className: "mr-1", children: [
24718
24718
  "Function is promoted with:",
24719
24719
  " "
24720
24720
  ] }),
@@ -24813,7 +24813,7 @@ const fo = ({
24813
24813
  const S = p({}, { suppressRefError: !0 }), E = Ae(null);
24814
24814
  return Pe(() => {
24815
24815
  h && E.current && E.current.focus();
24816
- }, [h]), /* @__PURE__ */ ce("div", { className: "relative w-56 text-white group", ...m(), children: [
24816
+ }, [h]), /* @__PURE__ */ se("div", { className: "relative w-56 text-white group", ...m(), children: [
24817
24817
  /* @__PURE__ */ I("div", { ...m(), children: /* @__PURE__ */ I(
24818
24818
  "input",
24819
24819
  {
@@ -24847,7 +24847,7 @@ const fo = ({
24847
24847
  ...S,
24848
24848
  tabIndex: 0,
24849
24849
  className: "absolute max-h-80 inset-x-0 top-full overflow-auto rounded-md border border-grey-50 bg-grey-900 p-0 text-grey-50 shadow-md group-focus-within:rounded-t-none group-focus-within:border-t-0",
24850
- children: u.map((x, C) => /* @__PURE__ */ ce(
24850
+ children: u.map((x, C) => /* @__PURE__ */ se(
24851
24851
  "li",
24852
24852
  {
24853
24853
  className: Ye(
@@ -25015,20 +25015,20 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25015
25015
  m(vr(T));
25016
25016
  }
25017
25017
  };
25018
- return /* @__PURE__ */ ce(
25018
+ return /* @__PURE__ */ se(
25019
25019
  kl,
25020
25020
  {
25021
25021
  className: "z-20 h-full flex-1 overflow-auto bg-grey-800 p-[15px] pt-0",
25022
25022
  style: { maxHeight: "calc(100vh - 5.5rem - 85px - 20px)" },
25023
25023
  children: [
25024
- /* @__PURE__ */ ce("table", { className: "relative h-full w-full", children: [
25025
- /* @__PURE__ */ I("thead", { className: "sticky top-0 z-20 bg-grey-800", children: /* @__PURE__ */ ce("tr", { className: "border-b border-grey-100", children: [
25026
- /* @__PURE__ */ I("td", { className: "py-2", children: /* @__PURE__ */ ce("div", { className: "flex items-center space-x-2", children: [
25027
- /* @__PURE__ */ ce("div", { className: "relative w-56 text-white", children: [
25024
+ /* @__PURE__ */ se("table", { className: "relative h-full w-full border-collapse", children: [
25025
+ /* @__PURE__ */ I("thead", { className: "sticky top-0 z-20 bg-grey-800", children: /* @__PURE__ */ se("tr", { className: "border-b border-grey-100", children: [
25026
+ /* @__PURE__ */ I("td", { className: "py-2", children: /* @__PURE__ */ se("div", { className: "flex items-center space-x-2", children: [
25027
+ /* @__PURE__ */ se("div", { className: "relative w-56 text-white", children: [
25028
25028
  /* @__PURE__ */ I("div", { className: "absolute inset-y-0 left-0 flex items-center px-1", children: /* @__PURE__ */ I(r2, { className: "h-4 w-4 text-gray-400" }) }),
25029
- /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Ar, { className: "flex items-center", children: ({ open: L }) => /* @__PURE__ */ ce(Lt, { children: [
25029
+ /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Ar, { className: "flex items-center", children: ({ open: L }) => /* @__PURE__ */ se(Lt, { children: [
25030
25030
  /* @__PURE__ */ I(Ar.Button, { ref: o, children: /* @__PURE__ */ I(n2, { className: "h-4 w-4" }) }),
25031
- L && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
25031
+ L && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ se(
25032
25032
  Ar.Panel,
25033
25033
  {
25034
25034
  ref: u,
@@ -25038,7 +25038,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25038
25038
  static: !0,
25039
25039
  children: [
25040
25040
  /* @__PURE__ */ I("h5", { className: "mb-2 text-sm", children: "Filter" }),
25041
- /* @__PURE__ */ ce("div", { className: "space-y-2 text-s", children: [
25041
+ /* @__PURE__ */ se("div", { className: "space-y-2 text-s", children: [
25042
25042
  /* @__PURE__ */ I("div", { className: "flex items-center", children: /* @__PURE__ */ I(
25043
25043
  Pr,
25044
25044
  {
@@ -25124,7 +25124,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25124
25124
  )
25125
25125
  ] }),
25126
25126
  /* @__PURE__ */ I(rte, { privilegeId: y, privileges: n }),
25127
- /* @__PURE__ */ I("div", { children: /* @__PURE__ */ ce(Fc, { openDelay: 0, closeDelay: 0, children: [
25127
+ /* @__PURE__ */ I("div", { children: /* @__PURE__ */ se(Fc, { openDelay: 0, closeDelay: 0, children: [
25128
25128
  /* @__PURE__ */ I(zc, { children: /* @__PURE__ */ I(
25129
25129
  "button",
25130
25130
  {
@@ -25137,7 +25137,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25137
25137
  Gr,
25138
25138
  {
25139
25139
  container: Gt(),
25140
- children: /* @__PURE__ */ ce(
25140
+ children: /* @__PURE__ */ se(
25141
25141
  Kr,
25142
25142
  {
25143
25143
  style: { zIndex: 50 },
@@ -25153,7 +25153,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25153
25153
  }
25154
25154
  )
25155
25155
  ] }) }),
25156
- /* @__PURE__ */ ce(Fc, { openDelay: 0, closeDelay: 0, children: [
25156
+ /* @__PURE__ */ se(Fc, { openDelay: 0, closeDelay: 0, children: [
25157
25157
  /* @__PURE__ */ I(zc, { children: /* @__PURE__ */ I(
25158
25158
  "button",
25159
25159
  {
@@ -25165,7 +25165,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25165
25165
  children: /* @__PURE__ */ I(G4, { className: "h-4 w-4" })
25166
25166
  }
25167
25167
  ) }),
25168
- /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ ce(
25168
+ /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ se(
25169
25169
  Kr,
25170
25170
  {
25171
25171
  style: { zIndex: 50 },
@@ -25191,18 +25191,18 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25191
25191
  const T = L.permissions.some(
25192
25192
  ($) => $.from.length > 0
25193
25193
  );
25194
- return /* @__PURE__ */ ce(
25194
+ return /* @__PURE__ */ se(
25195
25195
  "tr",
25196
25196
  {
25197
- className: Ye("group even:bg-grey-600", {
25197
+ className: Ye("group even:bg-grey-600 hover:bg-grey-300", {
25198
25198
  "opacity-60": L.exists === !1
25199
25199
  }),
25200
25200
  children: [
25201
- /* @__PURE__ */ ce(
25201
+ /* @__PURE__ */ se(
25202
25202
  "td",
25203
25203
  {
25204
25204
  className: Ye(
25205
- "group flex items-center gap-3 py-2 text-xs group-hover:rounded-l group-hover:bg-grey-300",
25205
+ "group flex items-center gap-3 py-2 text-xs",
25206
25206
  L.exists === !1 ? "text-negative-400" : "text-white",
25207
25207
  {
25208
25208
  "border-b-[0.5px] border-grey-300": !1
@@ -25244,7 +25244,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25244
25244
  ]
25245
25245
  }
25246
25246
  ),
25247
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25247
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: /* @__PURE__ */ I(
25248
25248
  fo,
25249
25249
  {
25250
25250
  permissions: L.permissions,
@@ -25256,7 +25256,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25256
25256
  exists: L.exists
25257
25257
  }
25258
25258
  ) }),
25259
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25259
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: /* @__PURE__ */ I(
25260
25260
  fo,
25261
25261
  {
25262
25262
  permissions: L.permissions,
@@ -25268,7 +25268,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25268
25268
  exists: L.exists
25269
25269
  }
25270
25270
  ) }),
25271
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25271
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: /* @__PURE__ */ I(
25272
25272
  fo,
25273
25273
  {
25274
25274
  permissions: L.permissions,
@@ -25280,7 +25280,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25280
25280
  exists: L.exists
25281
25281
  }
25282
25282
  ) }),
25283
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: /* @__PURE__ */ I(
25283
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: /* @__PURE__ */ I(
25284
25284
  fo,
25285
25285
  {
25286
25286
  permissions: L.permissions,
@@ -25305,7 +25305,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25305
25305
  exists: L.exists
25306
25306
  }
25307
25307
  ) }),
25308
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:rounded-r group-hover:bg-grey-300 ", children: /* @__PURE__ */ I(
25308
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: /* @__PURE__ */ I(
25309
25309
  fo,
25310
25310
  {
25311
25311
  permissions: L.permissions,
@@ -25324,7 +25324,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25324
25324
  }) }) : null
25325
25325
  ] }),
25326
25326
  !R.length && p ? /* @__PURE__ */ I(bD, { children: "The Permission you're looking for can't be found " }) : null,
25327
- !R.length && !p ? /* @__PURE__ */ ce(bD, { children: [
25327
+ !R.length && !p ? /* @__PURE__ */ se(bD, { children: [
25328
25328
  "This Privilege has no Permissions configured yet ",
25329
25329
  /* @__PURE__ */ I("br", {}),
25330
25330
  'Add a new permission by using the "Create a permission" input above'
@@ -25348,7 +25348,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25348
25348
  });
25349
25349
  return Pe(() => {
25350
25350
  c(""), f(null);
25351
- }, [o]), /* @__PURE__ */ I(Ar, { children: ({ open: v, close: m }) => /* @__PURE__ */ ce(Lt, { children: [
25351
+ }, [o]), /* @__PURE__ */ I(Ar, { children: ({ open: v, close: m }) => /* @__PURE__ */ se(Lt, { children: [
25352
25352
  /* @__PURE__ */ I(
25353
25353
  Ar.Button,
25354
25354
  {
@@ -25358,7 +25358,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25358
25358
  children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(An, { className: "h-4 w-4 text-white" }) })
25359
25359
  }
25360
25360
  ),
25361
- v && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
25361
+ v && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ se(
25362
25362
  Ar.Panel,
25363
25363
  {
25364
25364
  ref: a,
@@ -25369,8 +25369,8 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25369
25369
  static: !0,
25370
25370
  children: [
25371
25371
  /* @__PURE__ */ I("h5", { className: "mb-2 text-xs font-semibold", children: "Create New Privilege" }),
25372
- /* @__PURE__ */ ce("div", { className: "mt-2", children: [
25373
- /* @__PURE__ */ ce("label", { className: "flex items-center space-x-4", children: [
25372
+ /* @__PURE__ */ se("div", { className: "mt-2", children: [
25373
+ /* @__PURE__ */ se("label", { className: "flex items-center space-x-4", children: [
25374
25374
  /* @__PURE__ */ I("span", { className: "text-grey-100", children: "Name" }),
25375
25375
  /* @__PURE__ */ I(
25376
25376
  "input",
@@ -25404,7 +25404,7 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25404
25404
  ] }),
25405
25405
  d && /* @__PURE__ */ I("p", { className: "mt-1 text-xs text-red-400", children: d })
25406
25406
  ] }),
25407
- /* @__PURE__ */ ce("div", { className: "mt-4 flex items-center justify-center space-x-2", children: [
25407
+ /* @__PURE__ */ se("div", { className: "mt-4 flex items-center justify-center space-x-2", children: [
25408
25408
  /* @__PURE__ */ I(
25409
25409
  "button",
25410
25410
  {
@@ -25454,14 +25454,14 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25454
25454
  o.length < 2 && u(!0);
25455
25455
  }, [o.length]);
25456
25456
  const [a, u] = qe(!0);
25457
- return /* @__PURE__ */ ce(
25457
+ return /* @__PURE__ */ se(
25458
25458
  "div",
25459
25459
  {
25460
25460
  className: "flex flex-1 h-full",
25461
25461
  children: [
25462
- /* @__PURE__ */ ce("div", { className: "flex h-full w-[356px] flex-col bg-grey-800", children: [
25463
- /* @__PURE__ */ ce("div", { className: "flex flex-shrink-0 items-center justify-between bg-grey-800 px-3.5 py-[10px]", children: [
25464
- /* @__PURE__ */ ce("div", { className: "flex items-center space-x-1 text-[#DDE1E6]", children: [
25462
+ /* @__PURE__ */ se("div", { className: "flex h-full w-[356px] flex-col bg-grey-800", children: [
25463
+ /* @__PURE__ */ se("div", { className: "flex flex-shrink-0 items-center justify-between bg-grey-800 px-3.5 py-[10px]", children: [
25464
+ /* @__PURE__ */ se("div", { className: "flex items-center space-x-1 text-[#DDE1E6]", children: [
25465
25465
  /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(Hc, { className: "h-[14px] w-[14px]" }) }),
25466
25466
  /* @__PURE__ */ I("span", { className: "text-[11px] font-semibold", children: "Privileges" })
25467
25467
  ] }),
@@ -25485,8 +25485,8 @@ const ite = ({ selectedPrivilege: e, onSelect: t, showIncluded: r, privileges: n
25485
25485
  }
25486
25486
  )
25487
25487
  ] }),
25488
- n && r[n.id] ? /* @__PURE__ */ ce("div", { className: "privileges-container relative flex flex-1 flex-col overflow-x-auto border-l-[0.5px] border-grey-900 bg-grey-800", children: [
25489
- /* @__PURE__ */ ce("div", { className: "mb-1 flex h-full w-full flex-col items-stretch", children: [
25488
+ n && r[n.id] ? /* @__PURE__ */ se("div", { className: "privileges-container relative flex flex-1 flex-col overflow-x-auto border-l-[0.5px] border-grey-900 bg-grey-800", children: [
25489
+ /* @__PURE__ */ se("div", { className: "mb-1 flex h-full w-full flex-col items-stretch", children: [
25490
25490
  n.privilege !== "guest" ? /* @__PURE__ */ I(
25491
25491
  wX,
25492
25492
  {
@@ -26128,7 +26128,7 @@ const Ete = ({ role: e }) => {
26128
26128
  }
26129
26129
  m(!1), i(e.role);
26130
26130
  };
26131
- return /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ ce(
26131
+ return /* @__PURE__ */ I(Lt, { children: /* @__PURE__ */ se(
26132
26132
  "div",
26133
26133
  {
26134
26134
  className: Ye("rounded border bg-grey-300 p-2", {
@@ -26142,9 +26142,9 @@ const Ete = ({ role: e }) => {
26142
26142
  },
26143
26143
  ref: y,
26144
26144
  children: [
26145
- /* @__PURE__ */ I("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ ce("div", { className: "flex flex-1 items-center text-white", children: [
26145
+ /* @__PURE__ */ I("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ se("div", { className: "flex flex-1 items-center text-white", children: [
26146
26146
  /* @__PURE__ */ I("span", { className: "mr-4", children: /* @__PURE__ */ I(Hc, { className: "h-6 w-6" }) }),
26147
- v ? /* @__PURE__ */ ce("div", { className: "relative h-6 flex-1 mr-2", children: [
26147
+ v ? /* @__PURE__ */ se("div", { className: "relative h-6 flex-1 mr-2", children: [
26148
26148
  /* @__PURE__ */ I(
26149
26149
  "input",
26150
26150
  {
@@ -26183,7 +26183,7 @@ const Ete = ({ role: e }) => {
26183
26183
  className: Ye(
26184
26184
  "justify-betwee ml-auto flex w-fit items-center gap-x-2"
26185
26185
  ),
26186
- children: v ? /* @__PURE__ */ ce(Lt, { children: [
26186
+ children: v ? /* @__PURE__ */ se(Lt, { children: [
26187
26187
  /* @__PURE__ */ I(
26188
26188
  "button",
26189
26189
  {
@@ -26200,7 +26200,7 @@ const Ete = ({ role: e }) => {
26200
26200
  children: /* @__PURE__ */ I(QD, { className: "h-4 w-4 text-grey-50" })
26201
26201
  }
26202
26202
  )
26203
- ] }) : /* @__PURE__ */ ce(Lt, { children: [
26203
+ ] }) : /* @__PURE__ */ se(Lt, { children: [
26204
26204
  /* @__PURE__ */ I(
26205
26205
  "button",
26206
26206
  {
@@ -26221,7 +26221,7 @@ const Ete = ({ role: e }) => {
26221
26221
  }
26222
26222
  )
26223
26223
  ] }) }),
26224
- /* @__PURE__ */ ce("span", { className: Ye("ml-[43px] py-1 text-xs text-white"), children: [
26224
+ /* @__PURE__ */ se("span", { className: Ye("ml-[43px] py-1 text-xs text-white"), children: [
26225
26225
  c,
26226
26226
  " Privilege",
26227
26227
  c > 1 ? "s" : ""
@@ -26249,9 +26249,9 @@ const Ete = ({ role: e }) => {
26249
26249
  }, {}) : r;
26250
26250
  }, Ste = () => {
26251
26251
  const e = Ge(Ln), t = Ge(ss), r = Dr(), { selectedRole: n } = Rw(), i = e$(n, t), o = (a, u) => u && u.privileges.includes(a.id);
26252
- return /* @__PURE__ */ ce("div", { className: "w-full border-b border-grey-900 p-4 ", children: [
26252
+ return /* @__PURE__ */ se("div", { className: "w-full border-b border-grey-900 p-4 ", children: [
26253
26253
  /* @__PURE__ */ I("div", { className: "mb-4 flex items-center gap-x-5 text-white", children: /* @__PURE__ */ I("h4", { className: "text-[13px] font-semibold ", children: "Privileges" }) }),
26254
- /* @__PURE__ */ ce("div", { className: "flex flex-wrap items-center gap-1", children: [
26254
+ /* @__PURE__ */ se("div", { className: "flex flex-wrap items-center gap-1", children: [
26255
26255
  /* @__PURE__ */ I(
26256
26256
  "div",
26257
26257
  {
@@ -26262,7 +26262,7 @@ const Ete = ({ role: e }) => {
26262
26262
  children: "guest"
26263
26263
  }
26264
26264
  ),
26265
- Object.values(e).filter((a) => o(a, i) && a.privilege !== "guest").map((a, u) => /* @__PURE__ */ ce(
26265
+ Object.values(e).filter((a) => o(a, i) && a.privilege !== "guest").map((a, u) => /* @__PURE__ */ se(
26266
26266
  "div",
26267
26267
  {
26268
26268
  "data-cy": "item=>Permisions",
@@ -26288,7 +26288,7 @@ const Ete = ({ role: e }) => {
26288
26288
  },
26289
26289
  u
26290
26290
  )),
26291
- Object.values(e).filter((a) => !o(a, i) && a.privilege !== "guest").map((a, u) => /* @__PURE__ */ ce(
26291
+ Object.values(e).filter((a) => !o(a, i) && a.privilege !== "guest").map((a, u) => /* @__PURE__ */ se(
26292
26292
  "div",
26293
26293
  {
26294
26294
  "data-cy": "item=>Permisions",
@@ -26316,7 +26316,7 @@ const Ete = ({ role: e }) => {
26316
26316
  ))
26317
26317
  ] })
26318
26318
  ] });
26319
- }, Ote = ({ children: e }) => /* @__PURE__ */ I("div", { className: "h-full w-full", children: /* @__PURE__ */ I("div", { className: "flex h-full w-full flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ ce("div", { className: "flex flex-col items-center justify-center space-y-4 py-4 text-grey-200", children: [
26319
+ }, Ote = ({ children: e }) => /* @__PURE__ */ I("div", { className: "h-full w-full", children: /* @__PURE__ */ I("div", { className: "flex h-full w-full flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ se("div", { className: "flex flex-col items-center justify-center space-y-4 py-4 text-grey-200", children: [
26320
26320
  /* @__PURE__ */ I(pr, { className: "absolute -right-full h-10 w-10 translate-x-1" }),
26321
26321
  /* @__PURE__ */ I("div", { className: "text-center text-sm", children: e })
26322
26322
  ] }) }) }), _w = (e, t, r, n = !1) => {
@@ -26454,38 +26454,37 @@ const Ete = ({ role: e }) => {
26454
26454
  e.rolePrivs,
26455
26455
  d
26456
26456
  ), [e, t, d]);
26457
- return /* @__PURE__ */ ce("tr", { className: Ye("group even:bg-grey-600", o), children: [
26458
- /* @__PURE__ */ ce(
26457
+ return /* @__PURE__ */ se("tr", { className: Ye("group even:bg-grey-600 hover:bg-grey-300", o), children: [
26458
+ /* @__PURE__ */ se(
26459
26459
  "td",
26460
26460
  {
26461
26461
  className: Ye(
26462
- "flex h-full w-full items-center gap-3 p-0 text-xs group-hover:rounded-l group-hover:bg-grey-300",
26462
+ "flex h-full w-full items-stretch p-0 text-xs group-hover:rounded-l",
26463
26463
  { "px-1": a }
26464
26464
  ),
26465
26465
  children: [
26466
26466
  Array(n).fill("").map((m, y) => /* @__PURE__ */ I(
26467
26467
  "div",
26468
26468
  {
26469
- className: Ye(
26470
- "ml-1.5 mr-1 h-full w-0.5 border-l-2 border-grey-100",
26471
- {
26472
- "mr-0.5": i
26473
- }
26474
- )
26469
+ className: Ye("ml-1.5 mr-1 w-[2px] bg-grey-100", {
26470
+ "mr-0.5": i
26471
+ })
26475
26472
  },
26476
26473
  y
26477
26474
  )),
26478
- r && /* @__PURE__ */ I("button", { onClick: u, className: "w-3", children: c ? /* @__PURE__ */ I(JD, { className: "inline h-4 w-4" }) : /* @__PURE__ */ I(i2, { className: "inline h-4 w-4" }) }),
26479
- Cte(t.type),
26480
- a ? t.applyTo : p || h
26475
+ /* @__PURE__ */ se("div", { className: "flex items-center gap-3 py-2", children: [
26476
+ r && /* @__PURE__ */ I("button", { onClick: u, className: "w-3", children: c ? /* @__PURE__ */ I(JD, { className: "inline h-4 w-4" }) : /* @__PURE__ */ I(i2, { className: "inline h-4 w-4" }) }),
26477
+ Cte(t.type),
26478
+ a ? t.applyTo : p || h
26479
+ ] })
26481
26480
  ]
26482
26481
  }
26483
26482
  ),
26484
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: [
26483
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: [
26485
26484
  Te.ATTRIBUTE,
26486
26485
  Te.DATASTORE,
26487
26486
  Te.DATACLASS
26488
- ].includes(t.type) && /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26487
+ ].includes(t.type) && /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26489
26488
  /* @__PURE__ */ I(
26490
26489
  "div",
26491
26490
  {
@@ -26496,7 +26495,7 @@ const Ete = ({ role: e }) => {
26496
26495
  children: (v.read.value || v.read.inherited) && /* @__PURE__ */ I(ha, { className: "text-grey-50" })
26497
26496
  }
26498
26497
  ),
26499
- /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.read.value && v.read.inherited ? /* @__PURE__ */ ce(Ma, { openDelay: 0, closeDelay: 0, children: [
26498
+ /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.read.value && v.read.inherited ? /* @__PURE__ */ se(Ma, { openDelay: 0, closeDelay: 0, children: [
26500
26499
  /* @__PURE__ */ I(Da, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
26501
26500
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
26502
26501
  Kr,
@@ -26505,9 +26504,9 @@ const Ete = ({ role: e }) => {
26505
26504
  avoidCollisions: !0,
26506
26505
  side: "top",
26507
26506
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
26508
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.read.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
26507
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.read.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
26509
26508
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
26510
- /* @__PURE__ */ ce("p", { children: [
26509
+ /* @__PURE__ */ se("p", { children: [
26511
26510
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
26512
26511
  /* @__PURE__ */ I("ul", { children: v.read.from.map((m, y) => /* @__PURE__ */ I(
26513
26512
  "li",
@@ -26523,11 +26522,11 @@ const Ete = ({ role: e }) => {
26523
26522
  ) })
26524
26523
  ] }) : "" })
26525
26524
  ] }) }),
26526
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: [
26525
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: [
26527
26526
  Te.ATTRIBUTE,
26528
26527
  Te.DATASTORE,
26529
26528
  Te.DATACLASS
26530
- ].includes(t.type) && /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26529
+ ].includes(t.type) && /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26531
26530
  /* @__PURE__ */ I(
26532
26531
  "div",
26533
26532
  {
@@ -26538,7 +26537,7 @@ const Ete = ({ role: e }) => {
26538
26537
  children: (v.create.value || v.create.inherited) && /* @__PURE__ */ I(ha, { className: "text-grey-50" })
26539
26538
  }
26540
26539
  ),
26541
- /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.create.value && v.create.inherited ? /* @__PURE__ */ ce(Ma, { openDelay: 0, closeDelay: 0, children: [
26540
+ /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.create.value && v.create.inherited ? /* @__PURE__ */ se(Ma, { openDelay: 0, closeDelay: 0, children: [
26542
26541
  /* @__PURE__ */ I(Da, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
26543
26542
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
26544
26543
  Kr,
@@ -26547,9 +26546,9 @@ const Ete = ({ role: e }) => {
26547
26546
  avoidCollisions: !0,
26548
26547
  side: "top",
26549
26548
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
26550
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.create.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
26549
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.create.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
26551
26550
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
26552
- /* @__PURE__ */ ce("p", { children: [
26551
+ /* @__PURE__ */ se("p", { children: [
26553
26552
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
26554
26553
  /* @__PURE__ */ I("ul", { children: v.create.from.map((m, y) => /* @__PURE__ */ I(
26555
26554
  "li",
@@ -26565,11 +26564,11 @@ const Ete = ({ role: e }) => {
26565
26564
  ) })
26566
26565
  ] }) : "" })
26567
26566
  ] }) }),
26568
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: [
26567
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: [
26569
26568
  Te.ATTRIBUTE,
26570
26569
  Te.DATASTORE,
26571
26570
  Te.DATACLASS
26572
- ].includes(t.type) && /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26571
+ ].includes(t.type) && /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26573
26572
  /* @__PURE__ */ I(
26574
26573
  "div",
26575
26574
  {
@@ -26580,7 +26579,7 @@ const Ete = ({ role: e }) => {
26580
26579
  children: (v.update.value || v.update.inherited) && /* @__PURE__ */ I(ha, { className: "text-grey-50" })
26581
26580
  }
26582
26581
  ),
26583
- /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.update.value && v.update.inherited ? /* @__PURE__ */ ce(Ma, { openDelay: 0, closeDelay: 0, children: [
26582
+ /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.update.value && v.update.inherited ? /* @__PURE__ */ se(Ma, { openDelay: 0, closeDelay: 0, children: [
26584
26583
  /* @__PURE__ */ I(Da, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
26585
26584
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
26586
26585
  Kr,
@@ -26589,9 +26588,9 @@ const Ete = ({ role: e }) => {
26589
26588
  avoidCollisions: !0,
26590
26589
  side: "top",
26591
26590
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
26592
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.update.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
26591
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.update.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
26593
26592
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
26594
- /* @__PURE__ */ ce("p", { children: [
26593
+ /* @__PURE__ */ se("p", { children: [
26595
26594
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
26596
26595
  /* @__PURE__ */ I("ul", { children: v.update.from.map((m, y) => /* @__PURE__ */ I(
26597
26596
  "li",
@@ -26607,11 +26606,11 @@ const Ete = ({ role: e }) => {
26607
26606
  ) })
26608
26607
  ] }) : "" })
26609
26608
  ] }) }),
26610
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:bg-grey-300", children: [
26609
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: [
26611
26610
  Te.ATTRIBUTE,
26612
26611
  Te.DATASTORE,
26613
26612
  Te.DATACLASS
26614
- ].includes(t.type) && /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26613
+ ].includes(t.type) && /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26615
26614
  /* @__PURE__ */ I(
26616
26615
  "div",
26617
26616
  {
@@ -26622,7 +26621,7 @@ const Ete = ({ role: e }) => {
26622
26621
  children: (v.drop.value || v.drop.inherited) && /* @__PURE__ */ I(ha, { className: "text-grey-50" })
26623
26622
  }
26624
26623
  ),
26625
- /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.drop.value && v.drop.inherited ? /* @__PURE__ */ ce(Ma, { openDelay: 0, closeDelay: 0, children: [
26624
+ /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.drop.value && v.drop.inherited ? /* @__PURE__ */ se(Ma, { openDelay: 0, closeDelay: 0, children: [
26626
26625
  /* @__PURE__ */ I(Da, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
26627
26626
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
26628
26627
  Kr,
@@ -26631,9 +26630,9 @@ const Ete = ({ role: e }) => {
26631
26630
  avoidCollisions: !0,
26632
26631
  side: "top",
26633
26632
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
26634
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.drop.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
26633
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.drop.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
26635
26634
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
26636
- /* @__PURE__ */ ce("p", { children: [
26635
+ /* @__PURE__ */ se("p", { children: [
26637
26636
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
26638
26637
  /* @__PURE__ */ I("ul", { children: v.drop.from.map((m, y) => /* @__PURE__ */ I(
26639
26638
  "li",
@@ -26649,7 +26648,7 @@ const Ete = ({ role: e }) => {
26649
26648
  ) })
26650
26649
  ] }) : "" })
26651
26650
  ] }) }),
26652
- /* @__PURE__ */ I("td", { className: "py-2 text-center group-hover:rounded-r group-hover:bg-grey-300", children: t.type !== "attribute" && /* @__PURE__ */ ce("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26651
+ /* @__PURE__ */ I("td", { className: "py-2 text-center", children: t.type !== "attribute" && /* @__PURE__ */ se("div", { className: "relative mx-auto flex w-fit items-center justify-center gap-x-1", children: [
26653
26652
  /* @__PURE__ */ I(
26654
26653
  "div",
26655
26654
  {
@@ -26660,7 +26659,7 @@ const Ete = ({ role: e }) => {
26660
26659
  children: (v.execute.value || v.execute.inherited) && /* @__PURE__ */ I(ha, { className: "text-grey-50" })
26661
26660
  }
26662
26661
  ),
26663
- /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.execute.value && v.execute.inherited ? /* @__PURE__ */ ce(Ma, { openDelay: 0, closeDelay: 0, children: [
26662
+ /* @__PURE__ */ I("div", { className: "absolute left-full top-1/2 flex -translate-y-1/2 translate-x-1/2 cursor-pointer items-center", children: !v.execute.value && v.execute.inherited ? /* @__PURE__ */ se(Ma, { openDelay: 0, closeDelay: 0, children: [
26664
26663
  /* @__PURE__ */ I(Da, { children: /* @__PURE__ */ I(pr, { className: "h-4 w-4 text-white" }) }),
26665
26664
  /* @__PURE__ */ I(Gr, { container: Gt(), children: /* @__PURE__ */ I(
26666
26665
  Kr,
@@ -26669,9 +26668,9 @@ const Ete = ({ role: e }) => {
26669
26668
  avoidCollisions: !0,
26670
26669
  side: "top",
26671
26670
  className: "max-w-xs rounded bg-primary-light py-2 text-sm font-semibold text-primary",
26672
- children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.execute.from.length ? /* @__PURE__ */ ce("div", { className: "flex items-start text-s", children: [
26671
+ children: /* @__PURE__ */ I("div", { className: "space-y-1 px-2", children: v.execute.from.length ? /* @__PURE__ */ se("div", { className: "flex items-start text-s", children: [
26673
26672
  /* @__PURE__ */ I(ln, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
26674
- /* @__PURE__ */ ce("p", { children: [
26673
+ /* @__PURE__ */ se("p", { children: [
26675
26674
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
26676
26675
  /* @__PURE__ */ I("ul", { children: v.execute.from.map((m, y) => /* @__PURE__ */ I(
26677
26676
  "li",
@@ -26699,7 +26698,7 @@ const Ete = ({ role: e }) => {
26699
26698
  const [a, u] = qe(n), c = Ge(xw), d = Ge(Ln);
26700
26699
  return Pe(() => {
26701
26700
  n === !0 && u(!0);
26702
- }, [n]), /* @__PURE__ */ ce(Lt, { children: [
26701
+ }, [n]), /* @__PURE__ */ se(Lt, { children: [
26703
26702
  /* @__PURE__ */ I(
26704
26703
  Co,
26705
26704
  {
@@ -26718,7 +26717,7 @@ const Ete = ({ role: e }) => {
26718
26717
  toastMessageCallback: o
26719
26718
  }
26720
26719
  ),
26721
- !a && /* @__PURE__ */ ce(Lt, { children: [
26720
+ !a && /* @__PURE__ */ se(Lt, { children: [
26722
26721
  t.attributes.map((f, h) => /* @__PURE__ */ I(
26723
26722
  Co,
26724
26723
  {
@@ -26850,15 +26849,15 @@ const Ete = ({ role: e }) => {
26850
26849
  customIcon: Yb
26851
26850
  });
26852
26851
  };
26853
- return /* @__PURE__ */ ce(
26852
+ return /* @__PURE__ */ se(
26854
26853
  kl,
26855
26854
  {
26856
26855
  className: "z-20 h-full flex-1 overflow-auto bg-grey-800 p-[15px] pt-0",
26857
26856
  style: { maxHeight: "calc(100vh - 5.5rem - 85px - 20px)" },
26858
26857
  children: [
26859
- /* @__PURE__ */ ce("table", { className: "relative h-full w-full", children: [
26860
- /* @__PURE__ */ I("thead", { className: "sticky top-0 z-20 bg-grey-800", children: /* @__PURE__ */ ce("tr", { className: "border-b border-grey-100", children: [
26861
- /* @__PURE__ */ I("td", { className: "py-2", children: /* @__PURE__ */ ce("div", { className: "flex items-center space-x-2", children: [
26858
+ /* @__PURE__ */ se("table", { className: "relative h-full w-full border-collapse", children: [
26859
+ /* @__PURE__ */ I("thead", { className: "sticky top-0 z-20 bg-grey-800", children: /* @__PURE__ */ se("tr", { className: "border-b border-grey-100", children: [
26860
+ /* @__PURE__ */ I("td", { className: "py-2", children: /* @__PURE__ */ se("div", { className: "flex items-center space-x-2", children: [
26862
26861
  /* @__PURE__ */ I(
26863
26862
  XD,
26864
26863
  {
@@ -26883,11 +26882,11 @@ const Ete = ({ role: e }) => {
26883
26882
  )
26884
26883
  }
26885
26884
  ),
26886
- /* @__PURE__ */ ce("div", { className: "relative w-56 text-white", children: [
26885
+ /* @__PURE__ */ se("div", { className: "relative w-56 text-white", children: [
26887
26886
  /* @__PURE__ */ I("div", { className: "absolute inset-y-0 left-0 flex items-center px-1", children: /* @__PURE__ */ I(r2, { className: "h-4 w-4 text-gray-400" }) }),
26888
- /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Ar, { className: "flex items-center", children: ({ open: $ }) => /* @__PURE__ */ ce(Lt, { children: [
26887
+ /* @__PURE__ */ I("div", { className: "absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ I(Ar, { className: "flex items-center", children: ({ open: $ }) => /* @__PURE__ */ se(Lt, { children: [
26889
26888
  /* @__PURE__ */ I(Ar.Button, { ref: r, children: /* @__PURE__ */ I(n2, { className: "h-4 w-4" }) }),
26890
- $ && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
26889
+ $ && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ se(
26891
26890
  Ar.Panel,
26892
26891
  {
26893
26892
  ref: i,
@@ -26897,7 +26896,7 @@ const Ete = ({ role: e }) => {
26897
26896
  static: !0,
26898
26897
  children: [
26899
26898
  /* @__PURE__ */ I("h5", { className: "mb-2 text-sm", children: "Filter" }),
26900
- /* @__PURE__ */ ce("div", { className: "space-y-2 text-s", children: [
26899
+ /* @__PURE__ */ se("div", { className: "space-y-2 text-s", children: [
26901
26900
  /* @__PURE__ */ I("div", { className: "flex items-center", children: /* @__PURE__ */ I(
26902
26901
  Pr,
26903
26902
  {
@@ -27001,7 +27000,7 @@ const Ete = ({ role: e }) => {
27001
27000
  toastMessageCallback: T
27002
27001
  },
27003
27002
  `${$.type}-${j}`
27004
- )) : Object.values(w).map(($, j) => /* @__PURE__ */ ce(q4, { children: [
27003
+ )) : Object.values(w).map(($, j) => /* @__PURE__ */ se(q4, { children: [
27005
27004
  /* @__PURE__ */ I(
27006
27005
  Co,
27007
27006
  {
@@ -27021,7 +27020,7 @@ const Ete = ({ role: e }) => {
27021
27020
  toastMessageCallback: T
27022
27021
  }
27023
27022
  ),
27024
- $.type === "datastore" && !x ? /* @__PURE__ */ ce(Lt, { children: [
27023
+ $.type === "datastore" && !x ? /* @__PURE__ */ se(Lt, { children: [
27025
27024
  $.methods.map((V, K) => /* @__PURE__ */ I(
27026
27025
  Co,
27027
27026
  {
@@ -27110,7 +27109,7 @@ const Ete = ({ role: e }) => {
27110
27109
  d(w.message);
27111
27110
  }
27112
27111
  };
27113
- return /* @__PURE__ */ ce(Lt, { children: [
27112
+ return /* @__PURE__ */ se(Lt, { children: [
27114
27113
  /* @__PURE__ */ I(
27115
27114
  Ar.Button,
27116
27115
  {
@@ -27120,7 +27119,7 @@ const Ete = ({ role: e }) => {
27120
27119
  children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(An, { className: "h-4 w-4 text-white" }) })
27121
27120
  }
27122
27121
  ),
27123
- v && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ ce(
27122
+ v && /* @__PURE__ */ I(Sl, { children: /* @__PURE__ */ se(
27124
27123
  Ar.Panel,
27125
27124
  {
27126
27125
  ref: o,
@@ -27131,8 +27130,8 @@ const Ete = ({ role: e }) => {
27131
27130
  static: !0,
27132
27131
  children: [
27133
27132
  /* @__PURE__ */ I("h5", { className: "mb-2 text-xs font-semibold", children: "Create New Role" }),
27134
- /* @__PURE__ */ ce("div", { className: "mt-2", children: [
27135
- /* @__PURE__ */ ce("label", { className: "flex items-center space-x-4", children: [
27133
+ /* @__PURE__ */ se("div", { className: "mt-2", children: [
27134
+ /* @__PURE__ */ se("label", { className: "flex items-center space-x-4", children: [
27136
27135
  /* @__PURE__ */ I("span", { className: "text-grey-100", children: "Name" }),
27137
27136
  /* @__PURE__ */ I(
27138
27137
  "input",
@@ -27156,7 +27155,7 @@ const Ete = ({ role: e }) => {
27156
27155
  ] }),
27157
27156
  c && /* @__PURE__ */ I("p", { className: "mt-1 text-xs text-red-400", children: c })
27158
27157
  ] }),
27159
- /* @__PURE__ */ ce("div", { className: "mt-4 flex items-center justify-center space-x-2", children: [
27158
+ /* @__PURE__ */ se("div", { className: "mt-4 flex items-center justify-center space-x-2", children: [
27160
27159
  /* @__PURE__ */ I(
27161
27160
  "button",
27162
27161
  {
@@ -27183,23 +27182,23 @@ const Ete = ({ role: e }) => {
27183
27182
  } });
27184
27183
  }, Nte = () => {
27185
27184
  const e = Ge(ss), { selectedRole: t } = Rw();
27186
- return /* @__PURE__ */ ce(
27185
+ return /* @__PURE__ */ se(
27187
27186
  "div",
27188
27187
  {
27189
27188
  className: "flex flex-1 h-full",
27190
27189
  children: [
27191
- /* @__PURE__ */ ce("div", { className: "flex h-full w-[356px] flex-col bg-grey-800", children: [
27192
- /* @__PURE__ */ ce("div", { className: "flex flex-shrink-0 items-center justify-between bg-grey-800 px-3.5 py-[10px]", children: [
27193
- /* @__PURE__ */ ce("div", { className: "flex items-center space-x-1 text-[#DDE1E6]", children: [
27190
+ /* @__PURE__ */ se("div", { className: "flex h-full w-[356px] flex-col bg-grey-800", children: [
27191
+ /* @__PURE__ */ se("div", { className: "flex flex-shrink-0 items-center justify-between bg-grey-800 px-3.5 py-[10px]", children: [
27192
+ /* @__PURE__ */ se("div", { className: "flex items-center space-x-1 text-[#DDE1E6]", children: [
27194
27193
  /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(Hc, { className: "h-[14px] w-[14px]" }) }),
27195
27194
  /* @__PURE__ */ I("span", { className: "text-[11px] font-semibold", children: "Roles" })
27196
27195
  ] }),
27197
27196
  /* @__PURE__ */ I(Ite, {})
27198
27197
  ] }),
27199
- /* @__PURE__ */ I("div", { className: "flex-1 space-y-4 overflow-auto p-4 pb-10 pt-1", children: Object.values(e).length > 0 ? Object.values(e).sort((r, n) => GD(r.role, n.role)).map((r, n) => /* @__PURE__ */ I(Ete, { role: r }, n)) : /* @__PURE__ */ I("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ ce("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
27198
+ /* @__PURE__ */ I("div", { className: "flex-1 space-y-4 overflow-auto p-4 pb-10 pt-1", children: Object.values(e).length > 0 ? Object.values(e).sort((r, n) => GD(r.role, n.role)).map((r, n) => /* @__PURE__ */ I(Ete, { role: r }, n)) : /* @__PURE__ */ I("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ I("div", { className: "flex flex-1 items-center justify-center bg-grey-800", children: /* @__PURE__ */ se("div", { className: "flex flex-col items-center justify-center space-y-4 text-grey-200", children: [
27200
27199
  /* @__PURE__ */ I(pr, { className: "h-10 w-10" }),
27201
27200
  /* @__PURE__ */ I("div", { className: "font-semibold", children: "There are no roles" }),
27202
- /* @__PURE__ */ ce("div", { className: "flex items-center text-sm", children: [
27201
+ /* @__PURE__ */ se("div", { className: "flex items-center text-sm", children: [
27203
27202
  "Create a new role by clicking on the",
27204
27203
  " ",
27205
27204
  /* @__PURE__ */ I(An, { className: "ml-2 inline h-4 w-4 text-white" })
@@ -27215,7 +27214,7 @@ const Ete = ({ role: e }) => {
27215
27214
  "border-l-[0.5px] border-grey-900": t
27216
27215
  }
27217
27216
  ),
27218
- children: /* @__PURE__ */ I("div", { className: "flex h-full w-full select-none flex-col bg-grey-800", children: t ? /* @__PURE__ */ ce(Lt, { children: [
27217
+ children: /* @__PURE__ */ I("div", { className: "flex h-full w-full select-none flex-col bg-grey-800", children: t ? /* @__PURE__ */ se(Lt, { children: [
27219
27218
  /* @__PURE__ */ I(Ste, {}),
27220
27219
  /* @__PURE__ */ I(Rte, { selectedRole: t })
27221
27220
  ] }) : /* @__PURE__ */ I(S2, { tab: "Role" }) })
@@ -27232,7 +27231,7 @@ const Ete = ({ role: e }) => {
27232
27231
  className: "relative flex flex-1 overflow-x-auto bg-grey-900",
27233
27232
  "data-cy": "Roles&Privileges-editor-cy",
27234
27233
  ref: (a) => i.current = a,
27235
- children: /* @__PURE__ */ ce("div", { className: "flex w-full flex-col", children: [
27234
+ children: /* @__PURE__ */ se("div", { className: "flex w-full flex-col", children: [
27236
27235
  /* @__PURE__ */ I(
27237
27236
  eU,
27238
27237
  {
@@ -27305,7 +27304,7 @@ const Ete = ({ role: e }) => {
27305
27304
  } catch (a) {
27306
27305
  console.error("[Roles Editor Standalone] Error on value stringify:", a);
27307
27306
  }
27308
- }, [i]), /* @__PURE__ */ ce(Lt, { children: [
27307
+ }, [i]), /* @__PURE__ */ se(Lt, { children: [
27309
27308
  /* @__PURE__ */ I(
27310
27309
  "div",
27311
27310
  {