@keycloak/keycloak-admin-ui 26.5.0 → 26.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/lib/.vite/manifest.json +40 -40
  2. package/lib/{AddJWTAuthorizationGrant-BxV7hzzZ.js → AddJWTAuthorizationGrant-CmYIQF47.js} +2 -2
  3. package/lib/{AddJWTAuthorizationGrant-BxV7hzzZ.js.map → AddJWTAuthorizationGrant-CmYIQF47.js.map} +1 -1
  4. package/lib/{AddKubernetesConnect-Bc_kTuYx.js → AddKubernetesConnect--zBiT7am.js} +2 -2
  5. package/lib/{AddKubernetesConnect-Bc_kTuYx.js.map → AddKubernetesConnect--zBiT7am.js.map} +1 -1
  6. package/lib/{AddOAuth2-BEs8BWjo.js → AddOAuth2-BLRNGQKN.js} +2 -2
  7. package/lib/{AddOAuth2-BEs8BWjo.js.map → AddOAuth2-BLRNGQKN.js.map} +1 -1
  8. package/lib/{AddSpiffeConnect-RhW-jzlK.js → AddSpiffeConnect-NfHagx80.js} +2 -2
  9. package/lib/{AddSpiffeConnect-RhW-jzlK.js.map → AddSpiffeConnect-NfHagx80.js.map} +1 -1
  10. package/lib/{CreateFlow-Bwuqra7c.js → CreateFlow-Bf02T80Q.js} +2 -2
  11. package/lib/{CreateFlow-Bwuqra7c.js.map → CreateFlow-Bf02T80Q.js.map} +1 -1
  12. package/lib/{DetailOrganization-6dzeU8qG.js → DetailOrganization-DWvk7gJ9.js} +2 -2
  13. package/lib/{DetailOrganization-6dzeU8qG.js.map → DetailOrganization-DWvk7gJ9.js.map} +1 -1
  14. package/lib/{ExecutorForm-ytEjIbpP.js → ExecutorForm-DHTRUoB1.js} +2 -2
  15. package/lib/{ExecutorForm-ytEjIbpP.js.map → ExecutorForm-DHTRUoB1.js.map} +1 -1
  16. package/lib/{FlowDetails-tBxTv6wK.js → FlowDetails--N_U426z.js} +2 -2
  17. package/lib/{FlowDetails-tBxTv6wK.js.map → FlowDetails--N_U426z.js.map} +1 -1
  18. package/lib/{NewOrganization-BI9VQI6o.js → NewOrganization-7we_ianL.js} +2 -2
  19. package/lib/{NewOrganization-BI9VQI6o.js.map → NewOrganization-7we_ianL.js.map} +1 -1
  20. package/lib/{PermissionConfigurationDetails-q-Ms8reY.js → PermissionConfigurationDetails-u9MRYXxC.js} +3 -3
  21. package/lib/{PermissionConfigurationDetails-q-Ms8reY.js.map → PermissionConfigurationDetails-u9MRYXxC.js.map} +1 -1
  22. package/lib/{PermissionDetails-BW_lN8ii.js → PermissionDetails-DxeSTYxA.js} +2 -2
  23. package/lib/{PermissionDetails-BW_lN8ii.js.map → PermissionDetails-DxeSTYxA.js.map} +1 -1
  24. package/lib/{RealmSection-D40zPuIt.js → RealmSection-DoqGXY7F.js} +2 -2
  25. package/lib/{RealmSection-D40zPuIt.js.map → RealmSection-DoqGXY7F.js.map} +1 -1
  26. package/lib/{ResourceDetails-DmjAj-MN.js → ResourceDetails-Bn6Uim5l.js} +3 -3
  27. package/lib/{ResourceDetails-DmjAj-MN.js.map → ResourceDetails-Bn6Uim5l.js.map} +1 -1
  28. package/lib/{ScopeDetails-CmZtEhXo.js → ScopeDetails-BCjTo6cS.js} +2 -2
  29. package/lib/{ScopeDetails-CmZtEhXo.js.map → ScopeDetails-BCjTo6cS.js.map} +1 -1
  30. package/lib/{ScopePicker-p78XHCTm.js → ScopePicker-Dd6Cs54v.js} +2 -2
  31. package/lib/{ScopePicker-p78XHCTm.js.map → ScopePicker-Dd6Cs54v.js.map} +1 -1
  32. package/lib/{WorkflowDetailForm-BN-XL1FE.js → WorkflowDetailForm-alfgEItU.js} +2 -2
  33. package/lib/{WorkflowDetailForm-BN-XL1FE.js.map → WorkflowDetailForm-alfgEItU.js.map} +1 -1
  34. package/lib/{WorkflowsSection-BfykdcZr.js → WorkflowsSection-DflIdHaB.js} +2 -2
  35. package/lib/{WorkflowsSection-BfykdcZr.js.map → WorkflowsSection-DflIdHaB.js.map} +1 -1
  36. package/lib/groups/GroupRoleMapping.d.ts +2 -1
  37. package/lib/{index-aTEFJb4J.js → index-Ddam0zn3.js} +709 -685
  38. package/lib/{index-aTEFJb4J.js.map → index-Ddam0zn3.js.map} +1 -1
  39. package/lib/keycloak-admin-ui.js +1 -1
  40. package/package.json +3 -3
@@ -3033,14 +3033,14 @@ var mI = {
3033
3033
  }, d = function(N, C) {
3034
3034
  var P = typeof C?.composedPath == "function" ? C.composedPath() : void 0;
3035
3035
  return o.containerGroups.findIndex(function(H) {
3036
- var j = H.container, q = H.tabbableNodes;
3037
- return j.contains(N) || P?.includes(j) || q.find(function(W) {
3036
+ var j = H.container, V = H.tabbableNodes;
3037
+ return j.contains(N) || P?.includes(j) || V.find(function(W) {
3038
3038
  return W === N;
3039
3039
  });
3040
3040
  });
3041
3041
  }, u = function(N) {
3042
- var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, P = C.hasFallback, H = P === void 0 ? !1 : P, j = C.params, q = j === void 0 ? [] : j, W = s[N];
3043
- if (typeof W == "function" && (W = W.apply(void 0, s5(q))), W === !0 && (W = void 0), !W) {
3042
+ var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, P = C.hasFallback, H = P === void 0 ? !1 : P, j = C.params, V = j === void 0 ? [] : j, W = s[N];
3043
+ if (typeof W == "function" && (W = W.apply(void 0, s5(V))), W === !0 && (W = void 0), !W) {
3044
3044
  if (W === void 0 || W === !1)
3045
3045
  return W;
3046
3046
  throw new Error("`".concat(N, "` was specified but was not a node, or did not return a node"));
@@ -3075,7 +3075,7 @@ var mI = {
3075
3075
  return N;
3076
3076
  }, f = function() {
3077
3077
  if (o.containerGroups = o.containers.map(function(N) {
3078
- var C = JF(N, s.tabbableOptions), P = e5(N, s.tabbableOptions), H = C.length > 0 ? C[0] : void 0, j = C.length > 0 ? C[C.length - 1] : void 0, q = P.find(function(B) {
3078
+ var C = JF(N, s.tabbableOptions), P = e5(N, s.tabbableOptions), H = C.length > 0 ? C[0] : void 0, j = C.length > 0 ? C[C.length - 1] : void 0, V = P.find(function(B) {
3079
3079
  return gl(B);
3080
3080
  }), W = P.slice().reverse().find(function(B) {
3081
3081
  return gl(B);
@@ -3100,7 +3100,7 @@ var mI = {
3100
3100
  // "close enough most of the time" alternative for positive tabindexes which should generally
3101
3101
  // be avoided anyway...
3102
3102
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
3103
- firstDomTabbableNode: q,
3103
+ firstDomTabbableNode: V,
3104
3104
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
3105
3105
  lastDomTabbableNode: W,
3106
3106
  /**
@@ -3112,12 +3112,12 @@ var mI = {
3112
3112
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
3113
3113
  */
3114
3114
  nextTabbableNode: function($) {
3115
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Q = C.indexOf($);
3116
- return Q < 0 ? V ? P.slice(P.indexOf($) + 1).find(function(oe) {
3115
+ var q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Q = C.indexOf($);
3116
+ return Q < 0 ? q ? P.slice(P.indexOf($) + 1).find(function(oe) {
3117
3117
  return gl(oe);
3118
3118
  }) : P.slice(0, P.indexOf($)).reverse().find(function(oe) {
3119
3119
  return gl(oe);
3120
- }) : C[Q + (V ? 1 : -1)];
3120
+ }) : C[Q + (q ? 1 : -1)];
3121
3121
  }
3122
3122
  };
3123
3123
  }), o.tabbableGroups = o.containerGroups.filter(function(N) {
@@ -3150,20 +3150,20 @@ var mI = {
3150
3150
  }, b = function(N) {
3151
3151
  var C = N.target, P = N.event, H = N.isBackward, j = H === void 0 ? !1 : H;
3152
3152
  C = C || tp(P), f();
3153
- var q = null;
3153
+ var V = null;
3154
3154
  if (o.tabbableGroups.length > 0) {
3155
3155
  var W = d(C, P), z = W >= 0 ? o.containerGroups[W] : void 0;
3156
3156
  if (W < 0)
3157
- j ? q = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : q = o.tabbableGroups[0].firstTabbableNode;
3157
+ j ? V = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : V = o.tabbableGroups[0].firstTabbableNode;
3158
3158
  else if (j) {
3159
3159
  var B = o.tabbableGroups.findIndex(function(xe) {
3160
3160
  var Se = xe.firstTabbableNode;
3161
3161
  return C === Se;
3162
3162
  });
3163
3163
  if (B < 0 && (z.container === C || uh(C, s.tabbableOptions) && !gl(C, s.tabbableOptions) && !z.nextTabbableNode(C, !1)) && (B = W), B >= 0) {
3164
- var $ = B === 0 ? o.tabbableGroups.length - 1 : B - 1, V = o.tabbableGroups[$];
3165
- q = So(C) >= 0 ? V.lastTabbableNode : V.lastDomTabbableNode;
3166
- } else dd(P) || (q = z.nextTabbableNode(C, !1));
3164
+ var $ = B === 0 ? o.tabbableGroups.length - 1 : B - 1, q = o.tabbableGroups[$];
3165
+ V = So(C) >= 0 ? q.lastTabbableNode : q.lastDomTabbableNode;
3166
+ } else dd(P) || (V = z.nextTabbableNode(C, !1));
3167
3167
  } else {
3168
3168
  var Q = o.tabbableGroups.findIndex(function(xe) {
3169
3169
  var Se = xe.lastTabbableNode;
@@ -3171,12 +3171,12 @@ var mI = {
3171
3171
  });
3172
3172
  if (Q < 0 && (z.container === C || uh(C, s.tabbableOptions) && !gl(C, s.tabbableOptions) && !z.nextTabbableNode(C)) && (Q = W), Q >= 0) {
3173
3173
  var oe = Q === o.tabbableGroups.length - 1 ? 0 : Q + 1, me = o.tabbableGroups[oe];
3174
- q = So(C) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
3175
- } else dd(P) || (q = z.nextTabbableNode(C));
3174
+ V = So(C) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
3175
+ } else dd(P) || (V = z.nextTabbableNode(C));
3176
3176
  }
3177
3177
  } else
3178
- q = u("fallbackFocus");
3179
- return q;
3178
+ V = u("fallbackFocus");
3179
+ return V;
3180
3180
  }, y = function(N) {
3181
3181
  var C = tp(N);
3182
3182
  if (!(d(C, N) >= 0)) {
@@ -3203,7 +3203,7 @@ var mI = {
3203
3203
  var H, j = !0;
3204
3204
  if (o.mostRecentlyFocusedNode)
3205
3205
  if (So(o.mostRecentlyFocusedNode) > 0) {
3206
- var q = d(o.mostRecentlyFocusedNode), W = o.containerGroups[q].tabbableNodes;
3206
+ var V = d(o.mostRecentlyFocusedNode), W = o.containerGroups[V].tabbableNodes;
3207
3207
  if (W.length > 0) {
3208
3208
  var z = W.findIndex(function(B) {
3209
3209
  return B === o.mostRecentlyFocusedNode;
@@ -3303,14 +3303,14 @@ var mI = {
3303
3303
  checkCanReturnFocus: s.checkCanReturnFocus
3304
3304
  }, N);
3305
3305
  clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, O(), o.active = !1, o.paused = !1, D(), mI.deactivateTrap(i, l);
3306
- var P = c(C, "onDeactivate"), H = c(C, "onPostDeactivate"), j = c(C, "checkCanReturnFocus"), q = c(C, "returnFocus", "returnFocusOnDeactivate");
3306
+ var P = c(C, "onDeactivate"), H = c(C, "onPostDeactivate"), j = c(C, "checkCanReturnFocus"), V = c(C, "returnFocus", "returnFocusOnDeactivate");
3307
3307
  P?.();
3308
3308
  var W = function() {
3309
3309
  fI(function() {
3310
- q && g(h(o.nodeFocusedBeforeActivation)), H?.();
3310
+ V && g(h(o.nodeFocusedBeforeActivation)), H?.();
3311
3311
  });
3312
3312
  };
3313
- return q && j ? (j(h(o.nodeFocusedBeforeActivation)).then(W, W), this) : (W(), this);
3313
+ return V && j ? (j(h(o.nodeFocusedBeforeActivation)).then(W, W), this) : (W(), this);
3314
3314
  },
3315
3315
  pause: function(N) {
3316
3316
  if (o.paused || !o.active)
@@ -4123,7 +4123,7 @@ function yU({ state: e, options: t, name: n }) {
4123
4123
  }), f = Di(e.placement), m = Ld(e.placement), g = !m, h = rE(f), b = bU(h), y = e.modifiersData.popperOffsets, v = e.rects.reference, S = e.rects.popper, _ = typeof u == "function" ? u(Object.assign(Object.assign({}, e.rects), { placement: e.placement })) : u, T = { x: 0, y: 0 };
4124
4124
  if (y) {
4125
4125
  if (a) {
4126
- const A = h === "y" ? Kr : Wr, k = h === "y" ? mi : fi, O = h === "y" ? "height" : "width", x = y[h], R = y[h] + p[A], D = y[h] - p[k], I = d ? -S[O] / 2 : 0, N = m === Yl ? v[O] : S[O], C = m === Yl ? -S[O] : -v[O], P = e.elements.arrow, H = d && P ? tE(P) : { width: 0, height: 0 }, j = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : gN(), q = j[A], W = j[k], z = kp(0, v[O], H[O]), B = g ? v[O] / 2 - I - z - q - _ : N - z - q - _, $ = g ? -v[O] / 2 + I + z + W + _ : C + z + W + _, V = e.elements.arrow && cu(e.elements.arrow), Q = V ? h === "y" ? V.clientTop || 0 : V.clientLeft || 0 : 0, oe = e.modifiersData.offset ? e.modifiersData.offset[e.placement][h] : 0, me = y[h] + B - oe - Q, xe = y[h] + $ - oe, Se = kp(d ? Math.min(R, me) : R, x, d ? Math.max(D, xe) : D);
4126
+ const A = h === "y" ? Kr : Wr, k = h === "y" ? mi : fi, O = h === "y" ? "height" : "width", x = y[h], R = y[h] + p[A], D = y[h] - p[k], I = d ? -S[O] / 2 : 0, N = m === Yl ? v[O] : S[O], C = m === Yl ? -S[O] : -v[O], P = e.elements.arrow, H = d && P ? tE(P) : { width: 0, height: 0 }, j = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : gN(), V = j[A], W = j[k], z = kp(0, v[O], H[O]), B = g ? v[O] / 2 - I - z - V - _ : N - z - V - _, $ = g ? -v[O] / 2 + I + z + W + _ : C + z + W + _, q = e.elements.arrow && cu(e.elements.arrow), Q = q ? h === "y" ? q.clientTop || 0 : q.clientLeft || 0 : 0, oe = e.modifiersData.offset ? e.modifiersData.offset[e.placement][h] : 0, me = y[h] + B - oe - Q, xe = y[h] + $ - oe, Se = kp(d ? Math.min(R, me) : R, x, d ? Math.max(D, xe) : D);
4127
4127
  y[h] = Se, T[h] = Se - x;
4128
4128
  }
4129
4129
  if (i) {
@@ -4280,11 +4280,11 @@ const _U = {
4280
4280
  }, RU = (e) => e.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g, (t) => OU[t]), NU = (e) => `opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`, ks = ({ trigger: e, popper: t, direction: n = "down", position: a = "start", placement: i, width: s, minWidth: o = "trigger", maxWidth: l, appendTo: c = "inline", zIndex: d = 9999, isVisible: u = !0, positionModifiers: p, distance: f = 0, onMouseEnter: m, onMouseLeave: g, onFocus: h, onBlur: b, onDocumentClick: y, onTriggerClick: v, onTriggerEnter: S, onPopperClick: _, onPopperMouseEnter: T, onPopperMouseLeave: A, onDocumentKeyDown: k, enableFlip: O = !0, flipBehavior: x = "flip", triggerRef: R, popperRef: D, animationDuration: I = 0, entryDelay: N = 0, exitDelay: C = 0, onHidden: P = () => {
4281
4281
  }, onHide: H = () => {
4282
4282
  }, onMount: j = () => {
4283
- }, onShow: q = () => {
4283
+ }, onShow: V = () => {
4284
4284
  }, onShown: W = () => {
4285
4285
  }, preventOverflow: z = !1 }) => {
4286
4286
  var B;
4287
- const [$, V] = E.useState(null), [Q, oe] = E.useState(null), [me, xe] = E.useState(null), [Se, Ne] = E.useState(null), [be, we] = E.useState(!1), [pe, ke] = E.useState(0), [F, Ee] = E.useState(u), le = E.useRef(null), J = E.useRef(null), Y = E.useRef(null), te = E.useRef(), ae = Q || $, U = u || F, X = (B = R?.current || $) === null || B === void 0 ? void 0 : B.parentElement, ie = Ll(X), de = E.useMemo(() => {
4287
+ const [$, q] = E.useState(null), [Q, oe] = E.useState(null), [me, xe] = E.useState(null), [Se, Ne] = E.useState(null), [be, we] = E.useState(!1), [pe, ke] = E.useState(0), [F, Ee] = E.useState(u), le = E.useRef(null), J = E.useRef(null), Y = E.useRef(null), te = E.useRef(), ae = Q || $, U = u || F, X = (B = R?.current || $) === null || B === void 0 ? void 0 : B.parentElement, ie = Ll(X), de = E.useMemo(() => {
4288
4288
  const Dt = { left: "left", right: "right", center: "center" };
4289
4289
  return {
4290
4290
  ltr: Object.assign({ start: "left", end: "right" }, Dt),
@@ -4389,7 +4389,7 @@ const _U = {
4389
4389
  }, C)), te.current = C;
4390
4390
  }, [C]);
4391
4391
  const Vn = () => {
4392
- q(), np([le, Y]), J.current = setTimeout(() => {
4392
+ V(), np([le, Y]), J.current = setTimeout(() => {
4393
4393
  Ee(!0), ke(1), W();
4394
4394
  }, N);
4395
4395
  }, Va = () => {
@@ -4426,7 +4426,7 @@ const _U = {
4426
4426
  return E.createElement(
4427
4427
  E.Fragment,
4428
4428
  null,
4429
- !R && e && E.isValidElement(e) && E.createElement("div", { style: { display: "contents" }, ref: (Dt) => V(Dt?.firstElementChild) }, e),
4429
+ !R && e && E.isValidElement(e) && E.createElement("div", { style: { display: "contents" }, ref: (Dt) => q(Dt?.firstElementChild) }, e),
4430
4430
  R && e && E.isValidElement(e) && e,
4431
4431
  be && U && Ju()
4432
4432
  );
@@ -4641,7 +4641,7 @@ var md;
4641
4641
  })(md || (md = {}));
4642
4642
  const PU = (e) => {
4643
4643
  var { children: t = null, className: n = "", component: a = "button", isActive: i = !1, isBlock: s = !1, isDisabled: o = !1, isAriaDisabled: l = !1, isLoading: c = null, isDanger: d = !1, spinnerAriaValueText: u, spinnerAriaLabelledBy: p, spinnerAriaLabel: f, size: m = md.default, inoperableEvents: g = ["onClick", "onKeyPress"], isInline: h = !1, type: b = wy.button, variant: y = Le.primary, iconPosition: v = "start", "aria-label": S = null, icon: _ = null, ouiaId: T, ouiaSafe: A = !0, tabIndex: k = null, innerRef: O, countOptions: x } = e, R = ge(e, ["children", "className", "component", "isActive", "isBlock", "isDisabled", "isAriaDisabled", "isLoading", "isDanger", "spinnerAriaValueText", "spinnerAriaLabelledBy", "spinnerAriaLabel", "size", "inoperableEvents", "isInline", "type", "variant", "iconPosition", "aria-label", "icon", "ouiaId", "ouiaSafe", "tabIndex", "innerRef", "countOptions"]);
4644
- const D = Qr(Z.displayName, T, A, y), I = a, N = I === "button", C = h && I === "span", P = g.reduce((j, q) => Object.assign(Object.assign({}, j), { [q]: (W) => {
4644
+ const D = Qr(Z.displayName, T, A, y), I = a, N = I === "button", C = h && I === "span", P = g.reduce((j, V) => Object.assign(Object.assign({}, j), { [V]: (W) => {
4645
4645
  W.preventDefault();
4646
4646
  } }), {}), H = () => {
4647
4647
  if (o)
@@ -4846,16 +4846,16 @@ const mn = (e) => {
4846
4846
  }
4847
4847
  } = e, k = ge(e, ["content", "position", "trigger", "isVisible", "isContentLeftAligned", "enableFlip", "className", "entryDelay", "exitDelay", "appendTo", "zIndex", "minWidth", "maxWidth", "distance", "aria", "flipBehavior", "id", "children", "animationDuration", "triggerRef", "aria-live", "onTooltipHidden"]);
4848
4848
  const O = a.includes("mouseenter"), x = a.includes("focus"), R = a.includes("click"), D = a === "manual", [I, N] = E.useState(!1), C = E.createRef(), P = (Q) => {
4849
- D || Q.key === Pn.Escape && I && q();
4849
+ D || Q.key === Pn.Escape && I && V();
4850
4850
  }, H = (Q) => {
4851
- Q.key === Pn.Enter && (I ? q() : j());
4851
+ Q.key === Pn.Enter && (I ? V() : j());
4852
4852
  };
4853
4853
  E.useEffect(() => {
4854
- i ? j() : q();
4854
+ i ? j() : V();
4855
4855
  }, [i]);
4856
4856
  const j = () => {
4857
4857
  N(!0);
4858
- }, q = () => {
4858
+ }, V = () => {
4859
4859
  N(!1);
4860
4860
  }, W = {
4861
4861
  top: Da.modifiers.top,
@@ -4878,9 +4878,9 @@ const mn = (e) => {
4878
4878
  E.createElement(xN, null),
4879
4879
  E.createElement(IN, { isLeftAligned: s }, t)
4880
4880
  ), $ = (Q, oe) => {
4881
- I ? q() : Q.target === oe && j();
4882
- }, V = () => h === "describedby" && v && v.props && !v.props["aria-describedby"] ? E.cloneElement(v, { "aria-describedby": y }) : h === "labelledby" && v.props && !v.props["aria-labelledby"] ? E.cloneElement(v, { "aria-labelledby": y }) : v;
4883
- return E.createElement(ks, { trigger: h !== "none" && I ? V() : v, triggerRef: _, popper: B, popperRef: C, minWidth: f !== void 0 ? f : "revert", appendTo: u, isVisible: I, positionModifiers: W, distance: g, placement: n, onMouseEnter: O && j, onMouseLeave: O && q, onPopperMouseEnter: O && j, onPopperMouseLeave: O && q, onFocus: x && j, onBlur: x && q, onDocumentClick: R && $, onDocumentKeyDown: D ? null : P, onTriggerEnter: D ? null : H, enableFlip: o, zIndex: p, flipBehavior: b, animationDuration: S, entryDelay: c, exitDelay: d, onHidden: A });
4881
+ I ? V() : Q.target === oe && j();
4882
+ }, q = () => h === "describedby" && v && v.props && !v.props["aria-describedby"] ? E.cloneElement(v, { "aria-describedby": y }) : h === "labelledby" && v.props && !v.props["aria-labelledby"] ? E.cloneElement(v, { "aria-labelledby": y }) : v;
4883
+ return E.createElement(ks, { trigger: h !== "none" && I ? q() : v, triggerRef: _, popper: B, popperRef: C, minWidth: f !== void 0 ? f : "revert", appendTo: u, isVisible: I, positionModifiers: W, distance: g, placement: n, onMouseEnter: O && j, onMouseLeave: O && V, onPopperMouseEnter: O && j, onPopperMouseLeave: O && V, onFocus: x && j, onBlur: x && V, onDocumentClick: R && $, onDocumentKeyDown: D ? null : P, onTriggerEnter: D ? null : H, enableFlip: o, zIndex: p, flipBehavior: b, animationDuration: S, entryDelay: c, exitDelay: d, onHidden: A });
4884
4884
  };
4885
4885
  mn.displayName = "Tooltip";
4886
4886
  const HU = {
@@ -4945,12 +4945,12 @@ const oE = (e) => {
4945
4945
  }, variant: S = "default", position: _, positionOffset: T, width: A, maxWidth: k, boxId: O, labelId: x, backdropId: R, descriptorId: D, disableFocusTrap: I = !1, hasNoBodyWrapper: N = !1, ouiaId: C, ouiaSafe: P = !0, elementToFocus: H } = e, j = ge(e, ["children", "className", "isOpen", "header", "help", "description", "title", "titleIconVariant", "titleLabel", "aria-label", "aria-describedby", "aria-labelledby", "bodyAriaLabel", "bodyAriaRole", "showClose", "footer", "actions", "onClose", "variant", "position", "positionOffset", "width", "maxWidth", "boxId", "labelId", "backdropId", "descriptorId", "disableFocusTrap", "hasNoBodyWrapper", "ouiaId", "ouiaSafe", "elementToFocus"]);
4946
4946
  if (!a)
4947
4947
  return null;
4948
- const q = i ? E.createElement(xy, { help: s }, i) : l && E.createElement(
4948
+ const V = i ? E.createElement(xy, { help: s }, i) : l && E.createElement(
4949
4949
  xy,
4950
4950
  { help: s },
4951
4951
  E.createElement(AN, { title: l, titleIconVariant: c, titleLabel: d, id: x }),
4952
4952
  o && E.createElement(wN, { id: D }, o)
4953
- ), W = b ? E.createElement(Iy, null, b) : y.length > 0 && E.createElement(Iy, null, y), z = m ? "region" : void 0, $ = !o && !p ? D : void 0, V = N ? t : E.createElement(CN, Object.assign({ "aria-label": m, role: g || z }, j, { id: $ }), t), Q = () => {
4953
+ ), W = b ? E.createElement(Iy, null, b) : y.length > 0 && E.createElement(Iy, null, y), z = m ? "region" : void 0, $ = !o && !p ? D : void 0, q = N ? t : E.createElement(CN, Object.assign({ "aria-label": m, role: g || z }, j, { id: $ }), t), Q = () => {
4954
4954
  if (f === null)
4955
4955
  return null;
4956
4956
  const me = [];
@@ -4961,8 +4961,8 @@ const oE = (e) => {
4961
4961
  "--pf-v5-c-modal-box--MaxWidth": typeof k != "number" ? k : `${k}px`
4962
4962
  }) }),
4963
4963
  h && E.createElement(sE, { onClose: (me) => v(me), ouiaId: C }),
4964
- q,
4965
4964
  V,
4965
+ q,
4966
4966
  W
4967
4967
  );
4968
4968
  return E.createElement(
@@ -5144,24 +5144,24 @@ const kn = (e) => {
5144
5144
  const pe = I.current && I.current.offsetHeight < I.current.scrollHeight;
5145
5145
  P !== pe && H(pe);
5146
5146
  }, [I, y, P]);
5147
- const [j, q] = M(!1), [W, z] = M(!0), [B, $] = M(), [V, Q] = M(), oe = j && W && !B && !V;
5147
+ const [j, V] = M(!1), [W, z] = M(!0), [B, $] = M(), [q, Q] = M(), oe = j && W && !B && !q;
5148
5148
  E.useEffect(() => {
5149
5149
  const pe = g === !0 ? 8e3 : Number(g);
5150
5150
  if (pe > 0) {
5151
- const ke = setTimeout(() => q(!0), pe);
5151
+ const ke = setTimeout(() => V(!0), pe);
5152
5152
  return () => clearTimeout(ke);
5153
5153
  }
5154
5154
  }, [g]), E.useEffect(() => {
5155
5155
  const pe = () => {
5156
- C.current && (C.current.contains(document.activeElement) ? (Q(!0), z(!1)) : V && Q(!1));
5156
+ C.current && (C.current.contains(document.activeElement) ? (Q(!0), z(!1)) : q && Q(!1));
5157
5157
  };
5158
5158
  return document.addEventListener("focus", pe, !0), () => document.removeEventListener("focus", pe, !0);
5159
- }, [V]), E.useEffect(() => {
5160
- if (V === !1 || B === !1) {
5159
+ }, [q]), E.useEffect(() => {
5160
+ if (q === !1 || B === !1) {
5161
5161
  const pe = setTimeout(() => z(!0), h);
5162
5162
  return () => clearTimeout(pe);
5163
5163
  }
5164
- }, [V, B, h]), E.useEffect(() => {
5164
+ }, [q, B, h]), E.useEffect(() => {
5165
5165
  oe && b();
5166
5166
  }, [oe, b]);
5167
5167
  const [me, xe] = M(!1), Se = () => {
@@ -5850,7 +5850,7 @@ const RI = E.createContext({
5850
5850
  }), uB = (e) => {
5851
5851
  var { children: t, className: n, itemId: a = null, to: i, hasCheckbox: s = !1, isActive: o = null, isFavorited: l = null, isLoadButton: c = !1, isLoading: d = !1, flyoutMenu: u, direction: p, description: f = null, onClick: m = () => {
5852
5852
  }, component: g = "button", isDisabled: h = !1, isAriaDisabled: b = !1, isExternalLink: y = !1, isSelected: v = null, isFocused: S, isDanger: _ = !1, icon: T, actions: A, onShowFlyout: k, drilldownMenu: O, isOnPath: x, innerRef: R, id: D, "aria-label": I, tooltipProps: N, rel: C, target: P, download: H } = e, j = ge(e, ["children", "className", "itemId", "to", "hasCheckbox", "isActive", "isFavorited", "isLoadButton", "isLoading", "flyoutMenu", "direction", "description", "onClick", "component", "isDisabled", "isAriaDisabled", "isExternalLink", "isSelected", "isFocused", "isDanger", "icon", "actions", "onShowFlyout", "drilldownMenu", "isOnPath", "innerRef", "id", "aria-label", "tooltipProps", "rel", "target", "download"]);
5853
- const { menuId: q, parentMenu: W, onSelect: z, onActionClick: B, activeItemId: $, selected: V, drilldownItemPath: Q, onDrillIn: oe, onDrillOut: me, flyoutRef: xe, setFlyoutRef: Se, disableHover: Ne, role: be } = E.useContext(No);
5853
+ const { menuId: V, parentMenu: W, onSelect: z, onActionClick: B, activeItemId: $, selected: q, drilldownItemPath: Q, onDrillIn: oe, onDrillOut: me, flyoutRef: xe, setFlyoutRef: Se, disableHover: Ne, role: be } = E.useContext(No);
5854
5854
  let we = i ? "a" : g;
5855
5855
  s && !i && (we = "label");
5856
5856
  const [pe, ke] = E.useState(null), F = E.useContext(RI), [Ee, le] = E.useState(F.direction), J = E.useRef(), Y = J === xe, te = u !== void 0, ae = (nt) => {
@@ -5889,7 +5889,7 @@ const RI = E.createContext({
5889
5889
  b || (At && At(nt, a), m && m(nt));
5890
5890
  }, ie = x && x || Q && Q.includes(a) || !1;
5891
5891
  let de;
5892
- p && (p === "down" ? de = (nt) => oe && oe(nt, q, typeof O == "function" ? O().props.id : O.props.id, a) : de = (nt) => me && me(nt, W, a));
5892
+ p && (p === "down" ? de = (nt) => oe && oe(nt, V, typeof O == "function" ? O().props.id : O.props.id, a) : de = (nt) => me && me(nt, W, a));
5893
5893
  let se = {};
5894
5894
  we === "a" ? se = {
5895
5895
  href: i,
@@ -5903,7 +5903,7 @@ const RI = E.createContext({
5903
5903
  type: "button",
5904
5904
  "aria-disabled": b ? !0 : null
5905
5905
  }), x ? se["aria-expanded"] = !0 : te && (se["aria-haspopup"] = "menu", se["aria-expanded"] = Y);
5906
- const ve = () => o !== null ? o ? "page" : null : a !== null && $ !== null ? a === $ : null, Fe = () => v !== null ? v : V !== null && a !== null ? Array.isArray(V) && V.includes(a) || a === V : !1, Ue = () => {
5906
+ const ve = () => o !== null ? o ? "page" : null : a !== null && $ !== null ? a === $ : null, Fe = () => v !== null ? v : q !== null && a !== null ? Array.isArray(q) && q.includes(a) || a === q : !1, Ue = () => {
5907
5907
  Ne || (te ? ae(!0) : Se(null));
5908
5908
  };
5909
5909
  E.useEffect(() => {
@@ -5991,15 +5991,15 @@ const pB = (e) => {
5991
5991
  const O = ue.useRef(), x = ue.useRef(), R = g || O, D = typeof o == "function" || typeof o != "function" && !o.toggleRef ? x : o?.toggleRef;
5992
5992
  ue.useEffect(() => {
5993
5993
  const N = (P) => {
5994
- var H, j, q, W;
5995
- i && d && (!((H = R.current) === null || H === void 0) && H.contains(P.target) || !((j = D.current) === null || j === void 0) && j.contains(P.target)) && u.includes(P.key) && (P.preventDefault(), d(!1), (q = D.current) === null || q === void 0 || q.focus()), !((W = D.current) === null || W === void 0) && W.contains(P.target) && (p ? p(P) : i && f !== "typeahead" && EN(P, R));
5994
+ var H, j, V, W;
5995
+ i && d && (!((H = R.current) === null || H === void 0) && H.contains(P.target) || !((j = D.current) === null || j === void 0) && j.contains(P.target)) && u.includes(P.key) && (P.preventDefault(), d(!1), (V = D.current) === null || V === void 0 || V.focus()), !((W = D.current) === null || W === void 0) && W.contains(P.target) && (p ? p(P) : i && f !== "typeahead" && EN(P, R));
5996
5996
  }, C = (P) => {
5997
- var H, j, q;
5997
+ var H, j, V;
5998
5998
  i && c && (!((H = D.current) === null || H === void 0) && H.contains(P.target)) && setTimeout(() => {
5999
5999
  var W;
6000
6000
  const z = (W = R?.current) === null || W === void 0 ? void 0 : W.querySelector("li button:not(:disabled),li input:not(:disabled)");
6001
6001
  z && z.focus({ preventScroll: T });
6002
- }, A), i && d && !(!((j = D?.current) === null || j === void 0) && j.contains(P.target)) && i && !(!((q = R.current) === null || q === void 0) && q.contains(P.target)) && d(!1);
6002
+ }, A), i && d && !(!((j = D?.current) === null || j === void 0) && j.contains(P.target)) && i && !(!((V = R.current) === null || V === void 0) && V.contains(P.target)) && d(!1);
6003
6003
  };
6004
6004
  return window.addEventListener("keydown", N), window.addEventListener("click", C), () => {
6005
6005
  window.removeEventListener("keydown", N), window.removeEventListener("click", C);
@@ -6234,12 +6234,12 @@ const hB = (e, t, n, a) => {
6234
6234
  isDateFocused: v = !1,
6235
6235
  inlineProps: S
6236
6236
  } = e, _ = ge(e, ["date", "locale", "monthFormat", "weekdayFormat", "longWeekdayFormat", "dayFormat", "weekStart", "onChange", "validators", "className", "onSelectToggle", "onMonthChange", "rangeStart", "prevMonthAriaLabel", "nextMonthAriaLabel", "yearInputAriaLabel", "cellAriaLabel", "isDateFocused", "inlineProps"]);
6237
- const T = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map((ae) => new Date(1990, ae)).map(a), [A, k] = ue.useState(!1), x = Ca(t) ? t : Ca(m) ? m : bh, [R, D] = ue.useState(x), I = (ae) => ae.getFullYear(), N = I(R), [C, P] = ue.useState(N.toString()), [H, j] = ue.useState(void 0), q = ue.useRef(), [W] = ue.useState(Es("hidden-month-span")), [z, B] = ue.useState(!1), $ = (ae) => d.every((U) => U(ae)), V = $(R);
6237
+ const T = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map((ae) => new Date(1990, ae)).map(a), [A, k] = ue.useState(!1), x = Ca(t) ? t : Ca(m) ? m : bh, [R, D] = ue.useState(x), I = (ae) => ae.getFullYear(), N = I(R), [C, P] = ue.useState(N.toString()), [H, j] = ue.useState(void 0), V = ue.useRef(), [W] = ue.useState(Es("hidden-month-span")), [z, B] = ue.useState(!1), $ = (ae) => d.every((U) => U(ae)), q = $(R);
6238
6238
  ft(() => {
6239
6239
  Ca(t) && !bl(R, t) ? D(t) : t || D(bh);
6240
6240
  }, [t]), ft(() => {
6241
- (z || v) && V && q.current && q.current.focus();
6242
- }, [R, v, V, q]);
6241
+ (z || v) && q && V.current && V.current.focus();
6242
+ }, [R, v, q, V]);
6243
6243
  const Q = (ae, U) => {
6244
6244
  D(U), B(!1), f(ae, U), P(I(U).toString());
6245
6245
  }, oe = (ae) => {
@@ -6258,7 +6258,7 @@ const hB = (e, t, n, a) => {
6258
6258
  let U = R.getMonth() + ae, X = R.getFullYear();
6259
6259
  return U === -1 ? (U = 11, X--) : U === 12 && (U = 0, X++), xe(U, X);
6260
6260
  }, pe = we(-1), ke = we(1), F = R.getFullYear(), Ee = R.getMonth(), le = ue.useMemo(() => hB(F, Ee, l, d), [F, Ee, l, d]);
6261
- if (!V) {
6261
+ if (!q) {
6262
6262
  const ae = le.reduce((U, X) => [...U, ...X], []).filter(({ date: U, isValid: X }) => X && U.getMonth() === Ee).map(({ date: U }) => ({ date: U, days: Math.abs(R.getTime() - U.getTime()) })).sort((U, X) => U.days - X.days).map(({ date: U }) => U)[0];
6263
6263
  ae && D(ae);
6264
6264
  }
@@ -6345,7 +6345,7 @@ const hB = (e, t, n, a) => {
6345
6345
  return ue.createElement(
6346
6346
  "td",
6347
6347
  { key: de, className: G(yn.calendarMonthDatesCell, et && yn.modifiers.adjacentMonth, ve && yn.modifiers.current, (Fe || Nt) && yn.modifiers.selected, !ie && !(nt || Nt || At || Fe) && yn.modifiers.disabled, nt && yn.modifiers.inRange, Nt && yn.modifiers.startRange, At && yn.modifiers.endRange) },
6348
- ue.createElement("button", Object.assign({ className: G(yn.calendarMonthDate, At && yn.modifiers.hover, !ie && yn.modifiers.disabled), type: "button", onClick: (wt) => c(wt, X), onMouseOver: () => j(X), tabIndex: Ue ? 0 : -1, disabled: !ie, "aria-label": y ? y(X) : `${o(X)} ${a(X)} ${I(X)}` }, Ue && { ref: q }), se)
6348
+ ue.createElement("button", Object.assign({ className: G(yn.calendarMonthDate, At && yn.modifiers.hover, !ie && yn.modifiers.disabled), type: "button", onClick: (wt) => c(wt, X), onMouseOver: () => j(X), tabIndex: Ue ? 0 : -1, disabled: !ie, "aria-label": y ? y(X) : `${o(X)} ${a(X)} ${I(X)}` }, Ue && { ref: V }), se)
6349
6349
  );
6350
6350
  }))))
6351
6351
  )
@@ -6409,8 +6409,8 @@ const sn = {
6409
6409
  } } = e, O = ge(e, ["children", "id", "className", "component", "isCompact", "isSelectable", "isClickable", "isDisabled", "isSelectableRaised", "isSelected", "isClicked", "isDisabledRaised", "isFlat", "isExpanded", "isRounded", "isLarge", "isFullHeight", "isPlain", "ouiaId", "ouiaSafe", "hasSelectableInput", "selectableInputAriaLabel", "onSelectableInputChange"]);
6410
6410
  const x = i, R = Qr(ir.displayName, S, _), [D, I] = E.useState(""), [N, C] = E.useState();
6411
6411
  s && b && (console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"), b = !1);
6412
- const P = () => f ? G(sn.modifiers.nonSelectableRaised) : d ? G(sn.modifiers.selectableRaised, u && sn.modifiers.selectedRaised) : o && l ? G(sn.modifiers.selectable, sn.modifiers.clickable, (u || p) && sn.modifiers.current) : o ? G(sn.modifiers.selectable, u && sn.modifiers.selected) : l ? G(sn.modifiers.clickable, p && sn.modifiers.current) : "", H = E.useRef(!1), j = (q) => {
6413
- I(q), H.current = !!q;
6412
+ const P = () => f ? G(sn.modifiers.nonSelectableRaised) : d ? G(sn.modifiers.selectableRaised, u && sn.modifiers.selectedRaised) : o && l ? G(sn.modifiers.selectable, sn.modifiers.clickable, (u || p) && sn.modifiers.current) : o ? G(sn.modifiers.selectable, u && sn.modifiers.selected) : l ? G(sn.modifiers.clickable, p && sn.modifiers.current) : "", H = E.useRef(!1), j = (V) => {
6413
+ I(V), H.current = !!V;
6414
6414
  };
6415
6415
  return E.useEffect(() => {
6416
6416
  A ? C({ "aria-label": A }) : D ? C({ "aria-labelledby": D }) : T && !H.current && (C({}), console.warn("If no CardTitle component is passed as a child of Card the selectableInputAriaLabel prop must be passed"));
@@ -6428,7 +6428,7 @@ const sn = {
6428
6428
  // TODO: Remove hasSelectableInput when deprecated prop is removed
6429
6429
  hasSelectableInput: T
6430
6430
  } },
6431
- T && E.createElement("input", Object.assign({ className: "pf-v5-screen-reader", id: `${n}-input` }, N, { type: "checkbox", checked: u, onChange: (q) => k(q, n), disabled: f, tabIndex: -1 })),
6431
+ T && E.createElement("input", Object.assign({ className: "pf-v5-screen-reader", id: `${n}-input` }, N, { type: "checkbox", checked: u, onChange: (V) => k(V, n), disabled: f, tabIndex: -1 })),
6432
6432
  E.createElement(x, Object.assign({ id: n, className: G(sn.card, s && sn.modifiers.compact, g && sn.modifiers.expanded, m && sn.modifiers.flat, h && sn.modifiers.rounded, b && sn.modifiers.displayLg, y && sn.modifiers.fullHeight, v && sn.modifiers.plain, P(), c && sn.modifiers.disabled, a), tabIndex: d ? "0" : void 0 }, O, R), t)
6433
6433
  );
6434
6434
  };
@@ -7378,8 +7378,8 @@ const _B = {
7378
7378
  "left-end",
7379
7379
  "right-start",
7380
7380
  "right-end"
7381
- ], animationDuration: P = 300, id: H, withFocusTrap: j, triggerRef: q, hasNoPadding: W = !1, hasAutoWidth: z = !1, elementToFocus: B } = e, $ = ge(e, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", "aria-label", "bodyContent", "headerContent", "headerComponent", "headerIcon", "alertSeverityVariant", "alertSeverityScreenReaderText", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "triggerAction", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "triggerRef", "hasNoPadding", "hasAutoWidth", "elementToFocus"]);
7382
- const V = H || Es(), Q = s !== null, [oe, me] = E.useState(!1), [xe, Se] = E.useState(!!j), Ne = E.useRef(null);
7381
+ ], animationDuration: P = 300, id: H, withFocusTrap: j, triggerRef: V, hasNoPadding: W = !1, hasAutoWidth: z = !1, elementToFocus: B } = e, $ = ge(e, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", "aria-label", "bodyContent", "headerContent", "headerComponent", "headerIcon", "alertSeverityVariant", "alertSeverityScreenReaderText", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "triggerAction", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "triggerRef", "hasNoPadding", "hasAutoWidth", "elementToFocus"]);
7382
+ const q = H || Es(), Q = s !== null, [oe, me] = E.useState(!1), [xe, Se] = E.useState(!!j), Ne = E.useRef(null);
7383
7383
  E.useEffect(() => {
7384
7384
  A();
7385
7385
  }, []), E.useEffect(() => {
@@ -7443,7 +7443,7 @@ const _B = {
7443
7443
  let se = null;
7444
7444
  return document && document.activeElement && (se = document.activeElement), se;
7445
7445
  }
7446
- }, preventScrollOnDeactivate: !0, className: G(vn.popover, m && _B[m], W && vn.modifiers.noPadding, z && vn.modifiers.widthAuto, i), role: "dialog", "aria-modal": "true", "aria-label": u ? void 0 : c, "aria-labelledby": u ? `popover-${V}-header` : void 0, "aria-describedby": `popover-${V}-body`, onMouseDown: Y, style: {
7446
+ }, preventScrollOnDeactivate: !0, className: G(vn.popover, m && _B[m], W && vn.modifiers.noPadding, z && vn.modifiers.widthAuto, i), role: "dialog", "aria-modal": "true", "aria-label": u ? void 0 : c, "aria-labelledby": u ? `popover-${q}-header` : void 0, "aria-describedby": `popover-${q}-body`, onMouseDown: Y, style: {
7447
7447
  minWidth: ke ? x : null,
7448
7448
  maxWidth: F ? R : null
7449
7449
  } }, $),
@@ -7452,15 +7452,15 @@ const _B = {
7452
7452
  n2,
7453
7453
  null,
7454
7454
  I && O === "click" && E.createElement(l2, { onClose: ie, "aria-label": D }),
7455
- u && E.createElement(s2, { id: `popover-${V}-header`, icon: f, alertSeverityVariant: m, alertSeverityScreenReaderText: g || `${m} alert:`, titleHeadingLevel: p }, typeof u == "function" ? u(we) : u),
7456
- E.createElement(a2, { id: `popover-${V}-body` }, typeof d == "function" ? d(we) : d),
7457
- h && E.createElement(o2, { id: `popover-${V}-footer` }, typeof h == "function" ? h(we) : h)
7455
+ u && E.createElement(s2, { id: `popover-${q}-header`, icon: f, alertSeverityVariant: m, alertSeverityScreenReaderText: g || `${m} alert:`, titleHeadingLevel: p }, typeof u == "function" ? u(we) : u),
7456
+ E.createElement(a2, { id: `popover-${q}-body` }, typeof d == "function" ? d(we) : d),
7457
+ h && E.createElement(o2, { id: `popover-${q}-footer` }, typeof h == "function" ? h(we) : h)
7458
7458
  )
7459
7459
  );
7460
7460
  return E.createElement(
7461
7461
  CB.Provider,
7462
7462
  { value: { headerComponent: p } },
7463
- E.createElement(ks, { trigger: t, triggerRef: q, popper: de, popperRef: Ne, minWidth: x, appendTo: b, isVisible: oe, onMouseEnter: O === "hover" && te, onMouseLeave: O === "hover" && ae, onPopperMouseEnter: O === "hover" && te, onPopperMouseLeave: O === "hover" && ae, onFocus: O === "hover" && U, onBlur: O === "hover" && X, positionModifiers: pe, distance: N, placement: n, onTriggerClick: O === "click" && J, onDocumentClick: le, onDocumentKeyDown: Ee, enableFlip: a, zIndex: k, flipBehavior: C, animationDuration: P, onHidden: S, onShown: T, onHide: () => Se(!1) })
7463
+ E.createElement(ks, { trigger: t, triggerRef: V, popper: de, popperRef: Ne, minWidth: x, appendTo: b, isVisible: oe, onMouseEnter: O === "hover" && te, onMouseLeave: O === "hover" && ae, onPopperMouseEnter: O === "hover" && te, onPopperMouseLeave: O === "hover" && ae, onFocus: O === "hover" && U, onBlur: O === "hover" && X, positionModifiers: pe, distance: N, placement: n, onTriggerClick: O === "click" && J, onDocumentClick: le, onDocumentKeyDown: Ee, enableFlip: a, zIndex: k, flipBehavior: C, animationDuration: P, onHidden: S, onShown: T, onHide: () => Se(!1) })
7464
7464
  );
7465
7465
  };
7466
7466
  yi.displayName = "Popover";
@@ -7538,13 +7538,13 @@ const kB = {
7538
7538
  var { className: n, locale: a = void 0, dateFormat: i = OB, dateParse: s = (ie) => ie.split("-").length === 3 ? /* @__PURE__ */ new Date(`${ie}T00:00:00`) : /* @__PURE__ */ new Date(void 0), isDisabled: o = !1, placeholder: l = "YYYY-MM-DD", value: c = "", "aria-label": d = "Date picker", buttonAriaLabel: u = "Toggle date picker", onChange: p = () => {
7539
7539
  }, onBlur: f = () => {
7540
7540
  }, invalidFormatText: m = "Invalid date", requiredDateOptions: g, helperText: h, appendTo: b = "inline", popoverProps: y, monthFormat: v, weekdayFormat: S, longWeekdayFormat: _, dayFormat: T, weekStart: A, validators: k = [], rangeStart: O, style: x = {}, inputProps: R = {} } = e, D = ge(e, ["className", "locale", "dateFormat", "dateParse", "isDisabled", "placeholder", "value", "aria-label", "buttonAriaLabel", "onChange", "onBlur", "invalidFormatText", "requiredDateOptions", "helperText", "appendTo", "popoverProps", "monthFormat", "weekdayFormat", "longWeekdayFormat", "dayFormat", "weekStart", "validators", "rangeStart", "style", "inputProps"]);
7541
- const [I, N] = E.useState(c), [C, P] = E.useState(s(I)), [H, j] = E.useState(""), [q, W] = E.useState(!1), [z, B] = E.useState(!1), [$, V] = E.useState(!0), [Q, oe] = E.useState(!1), me = E.useMemo(() => Math.max(i(/* @__PURE__ */ new Date()).length, l.length), [i]), xe = Object.assign({ [kB.name]: me }, x), Se = E.useRef(), Ne = E.useRef(), be = E.useRef(), we = g?.isRequired || !1, pe = g?.emptyDateText || "Date cannot be blank";
7541
+ const [I, N] = E.useState(c), [C, P] = E.useState(s(I)), [H, j] = E.useState(""), [V, W] = E.useState(!1), [z, B] = E.useState(!1), [$, q] = E.useState(!0), [Q, oe] = E.useState(!1), me = E.useMemo(() => Math.max(i(/* @__PURE__ */ new Date()).length, l.length), [i]), xe = Object.assign({ [kB.name]: me }, x), Se = E.useRef(), Ne = E.useRef(), be = E.useRef(), we = g?.isRequired || !1, pe = g?.emptyDateText || "Date cannot be blank";
7542
7542
  E.useEffect(() => {
7543
7543
  N(c), P(s(c));
7544
7544
  }, [c]), E.useEffect(() => {
7545
7545
  Ca(C) && ke(C);
7546
7546
  }, [k]), E.useEffect(() => {
7547
- V(!I);
7547
+ q(!I);
7548
7548
  const ie = s(I);
7549
7549
  H && Ca(ie) && ke(ie), I === "" && !$ && !Q && j(we ? pe : "");
7550
7550
  }, [I]);
@@ -7570,8 +7570,8 @@ const kB = {
7570
7570
  toggleCalendar: (ie) => {
7571
7571
  W((de) => ie !== void 0 ? ie : !de);
7572
7572
  },
7573
- isCalendarOpen: q
7574
- }), [W, q, z]);
7573
+ isCalendarOpen: V
7574
+ }), [W, V, z]);
7575
7575
  const Y = (ie) => `.${yn.calendarMonthDatesCell}.${ie} .${yn.calendarMonthDate}`, te = Y(yn.modifiers.selected), ae = Y(`${yn.modifiers.selected}.${yn.modifiers.endRange}`), U = Y(yn.modifiers.current), X = () => Ca(C) && Ca(O) ? ae : Ca(C) || Ca(O) ? te : U;
7576
7576
  return E.createElement(
7577
7577
  "div",
@@ -7591,7 +7591,7 @@ const kB = {
7591
7591
  dayFormat: T,
7592
7592
  weekStart: A,
7593
7593
  rangeStart: O
7594
- }), showClose: !1, isVisible: q, shouldClose: (ie, de) => (ie = ie, ie.key === Pn.Escape && z ? (ie.stopPropagation(), B(!1), !1) : Se.current && Se.current.contains(ie.target) ? !1 : (q && (ie.stopPropagation(), W(!1), de(), g?.isRequired && !I && j(pe)), ie.key === Pn.Escape && q && ie.stopPropagation(), !0)), withFocusTrap: !0, hasNoPadding: !0, hasAutoWidth: !0, appendTo: b, triggerRef: be }, y),
7594
+ }), showClose: !1, isVisible: V, shouldClose: (ie, de) => (ie = ie, ie.key === Pn.Escape && z ? (ie.stopPropagation(), B(!1), !1) : Se.current && Se.current.contains(ie.target) ? !1 : (V && (ie.stopPropagation(), W(!1), de(), g?.isRequired && !I && j(pe)), ie.key === Pn.Escape && V && ie.stopPropagation(), !0)), withFocusTrap: !0, hasNoPadding: !0, hasAutoWidth: !0, appendTo: b, triggerRef: be }, y),
7595
7595
  E.createElement(
7596
7596
  "div",
7597
7597
  { className: Dl.datePickerInput, ref: be },
@@ -7614,7 +7614,7 @@ const kB = {
7614
7614
  className: G(ea.button, ea.modifiers.control),
7615
7615
  "aria-label": u,
7616
7616
  type: "button",
7617
- onClick: () => W(!q),
7617
+ onClick: () => W(!V),
7618
7618
  disabled: o
7619
7619
  },
7620
7620
  E.createElement(IB, null)
@@ -7871,13 +7871,13 @@ const gE = (e) => {
7871
7871
  }
7872
7872
  const D = (P) => {
7873
7873
  P.forEach(Sh), document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", k), document.removeEventListener("contextmenu", k);
7874
- const { source: H, dest: j, hoveringDroppableId: q } = R(), W = b(H, j);
7875
- W && m === q ? (d(!1), l(a)) : W || l(Object.assign(Object.assign({}, o), { transition: "transform 0.5s cubic-bezier(0.2, 1, 0.1, 1) 0s", transform: "", background: a.background, boxShadow: a.boxShadow }));
7874
+ const { source: H, dest: j, hoveringDroppableId: V } = R(), W = b(H, j);
7875
+ W && m === V ? (d(!1), l(a)) : W || l(Object.assign(Object.assign({}, o), { transition: "transform 0.5s cubic-bezier(0.2, 1, 0.1, 1) 0s", transform: "", background: a.background, boxShadow: a.boxShadow }));
7876
7876
  }, I = (P, H, j) => {
7877
7877
  if (_ = null, H.forEach((z) => {
7878
- const { node: B, rect: $, isDraggingHost: V, draggableNodes: Q, draggableNodesRects: oe } = z;
7878
+ const { node: B, rect: $, isDraggingHost: q, draggableNodes: Q, draggableNodesRects: oe } = z;
7879
7879
  if (UB(P, $)) {
7880
- if (B.classList.remove(si.modifiers.dragOutside), _ = B, B.getAttribute("blankDiv") !== "true" && !V) {
7880
+ if (B.classList.remove(si.modifiers.dragOutside), _ = B, B.getAttribute("blankDiv") !== "true" && !q) {
7881
7881
  const me = document.createElement("div");
7882
7882
  me.setAttribute("blankDiv", "true");
7883
7883
  let xe = -1;
@@ -7890,28 +7890,28 @@ const gE = (e) => {
7890
7890
  } else
7891
7891
  Sh(z), B.classList.add(si.modifiers.dragging), B.classList.add(si.modifiers.dragOutside);
7892
7892
  }), l(Object.assign(Object.assign({}, o), { transform: `translate(${P.pageX - y}px, ${P.pageY - v}px)` })), p(!!_), T = null, _) {
7893
- const { draggableNodes: z, draggableNodesRects: B } = H.find((V) => V.node === _);
7893
+ const { draggableNodes: z, draggableNodesRects: B } = H.find((q) => q.node === _);
7894
7894
  let $ = 0;
7895
- z.forEach((V, Q) => {
7896
- V.style.transition = "transform 0.5s cubic-bezier(0.2, 1, 0.1, 1) 0s";
7895
+ z.forEach((q, Q) => {
7896
+ q.style.transition = "transform 0.5s cubic-bezier(0.2, 1, 0.1, 1) 0s";
7897
7897
  const oe = B[Q], me = oe.y + oe.height / 2;
7898
7898
  let xe = 0;
7899
- v < me && P.pageY + (j.height - O) > me ? xe -= j.height : v >= me && P.pageY - O <= me && (xe += j.height), (xe <= $ && xe < 0 || xe > $ && xe > 0) && (T = Q), V.style.transform = `translate(0, ${xe}px`, $ = xe;
7899
+ v < me && P.pageY + (j.height - O) > me ? xe -= j.height : v >= me && P.pageY - O <= me && (xe += j.height), (xe <= $ && xe < 0 || xe > $ && xe > 0) && (T = Q), q.style.transform = `translate(0, ${xe}px`, $ = xe;
7900
7900
  });
7901
7901
  }
7902
- const { source: q, dest: W } = R();
7903
- h(q, W);
7902
+ const { source: V, dest: W } = R();
7903
+ h(V, W);
7904
7904
  }, N = (P) => {
7905
7905
  if (P.preventDefault(), c)
7906
7906
  return;
7907
7907
  const H = P.target, j = H.getBoundingClientRect(), W = Array.from(document.querySelectorAll(`[data-pf-droppable="${f}"]`)).reduce((z, B) => {
7908
7908
  B.classList.add(si.modifiers.dragging);
7909
- const $ = Array.from(B.querySelectorAll(`[data-pf-draggable-zone="${f}"]`)), V = B.contains(H);
7910
- V && (S = $.indexOf(H));
7909
+ const $ = Array.from(B.querySelectorAll(`[data-pf-draggable-zone="${f}"]`)), q = B.contains(H);
7910
+ q && (S = $.indexOf(H));
7911
7911
  const Q = {
7912
7912
  node: B,
7913
7913
  rect: B.getBoundingClientRect(),
7914
- isDraggingHost: V,
7914
+ isDraggingHost: q,
7915
7915
  // We don't want styles to apply to the left behind div in onMouseMoveWhileDragging
7916
7916
  draggableNodes: $.map((oe) => oe === H ? oe.cloneNode(!1) : oe),
7917
7917
  draggableNodesRects: $.map((oe) => oe.getBoundingClientRect())
@@ -8076,11 +8076,11 @@ let Bs = null, Vc = 0;
8076
8076
  const TE = (e) => {
8077
8077
  var { className: t = "", id: n, children: a, hasNoBorder: i = !1, isResizable: s = !1, onResize: o, minSize: l, defaultSize: c, maxSize: d, increment: u = 5, resizeAriaLabel: p = "Resize", widths: f, colorVariant: m = Js.default, focusTrap: g } = e, h = ge(e, ["className", "id", "children", "hasNoBorder", "isResizable", "onResize", "minSize", "defaultSize", "maxSize", "increment", "resizeAriaLabel", "widths", "colorVariant", "focusTrap"]);
8078
8078
  const b = E.useRef(), y = E.useRef(), [v, S] = E.useState(0), { position: _, isExpanded: T, isStatic: A, onExpand: k, drawerRef: O, drawerContentRef: x, isInline: R } = E.useContext(yE), D = A ? !1 : !T, [I, N] = E.useState(!D), [C, P] = E.useState(!1), H = E.useRef(null);
8079
- let j = 0, q, W, z, B, $ = !0;
8079
+ let j = 0, V, W, z, B, $ = !0;
8080
8080
  A && g?.enabled && console.warn("DrawerPanelContent: The focusTrap.enabled prop cannot be true if the Drawer's isStatic prop is true. This will cause a permanent focus trap."), E.useEffect(() => {
8081
8081
  !A && T && N(T);
8082
8082
  }, [A, T]);
8083
- const V = () => {
8083
+ const q = () => {
8084
8084
  let te, ae;
8085
8085
  const U = Ll(b.current) === "rtl";
8086
8086
  R && (_ === "end" || _ === "right") ? U ? (te = b.current.getBoundingClientRect().left - y.current.getBoundingClientRect().right, ae = O.current.getBoundingClientRect().left - O.current.getBoundingClientRect().right) : (te = b.current.getBoundingClientRect().right - y.current.getBoundingClientRect().left, ae = O.current.getBoundingClientRect().right - O.current.getBoundingClientRect().left) : R && (_ === "start" || _ === "left") ? U ? (te = y.current.getBoundingClientRect().left - b.current.getBoundingClientRect().right, ae = O.current.getBoundingClientRect().left - O.current.getBoundingClientRect().right) : (te = y.current.getBoundingClientRect().right - b.current.getBoundingClientRect().left, ae = O.current.getBoundingClientRect().right - O.current.getBoundingClientRect().left) : _ === "end" || _ === "right" ? U ? (te = x.current.getBoundingClientRect().left - y.current.getBoundingClientRect().right, ae = x.current.getBoundingClientRect().left - x.current.getBoundingClientRect().right) : (te = x.current.getBoundingClientRect().right - y.current.getBoundingClientRect().left, ae = x.current.getBoundingClientRect().right - x.current.getBoundingClientRect().left) : _ === "start" || _ === "left" ? U ? (te = y.current.getBoundingClientRect().left - x.current.getBoundingClientRect().right, ae = x.current.getBoundingClientRect().left - x.current.getBoundingClientRect().right) : (te = y.current.getBoundingClientRect().right - x.current.getBoundingClientRect().left, ae = x.current.getBoundingClientRect().right - x.current.getBoundingClientRect().left) : _ === "bottom" && (te = x.current.getBoundingClientRect().bottom - y.current.getBoundingClientRect().top, ae = x.current.getBoundingClientRect().bottom - x.current.getBoundingClientRect().top);
@@ -8101,10 +8101,10 @@ const TE = (e) => {
8101
8101
  const U = Ll(b.current) === "rtl";
8102
8102
  if (te.stopPropagation(), !Bs)
8103
8103
  return;
8104
- $ && (q = b.current.getBoundingClientRect(), U ? (z = q.right, W = q.left) : (W = q.right, z = q.left), B = q.bottom, $ = !1);
8104
+ $ && (V = b.current.getBoundingClientRect(), U ? (z = V.right, W = V.left) : (W = V.right, z = V.left), B = V.bottom, $ = !1);
8105
8105
  const X = ae;
8106
8106
  let ie = 0;
8107
- _ === "end" || _ === "right" ? ie = U ? X - W : W - X : _ === "start" || _ === "left" ? ie = U ? z - X : X - z : ie = B - X, _ === "bottom" && (b.current.style.overflowAnchor = "none"), b.current.style.setProperty(Th.name, ie + "px"), j = ie, S(V());
8107
+ _ === "end" || _ === "right" ? ie = U ? X - W : W - X : _ === "start" || _ === "left" ? ie = U ? z - X : X - z : ie = B - X, _ === "bottom" && (b.current.style.overflowAnchor = "none"), b.current.style.setProperty(Th.name, ie + "px"), j = ie, S(q());
8108
8108
  }, Ne = (te) => {
8109
8109
  Bs && (O.current.classList.remove(G(An.modifiers.resizing)), Bs = !1, o && o(te, j, n), $ = !0, document.removeEventListener("mousemove", we), document.removeEventListener("mouseup", F));
8110
8110
  }, be = (te) => {
@@ -8119,7 +8119,7 @@ const TE = (e) => {
8119
8119
  const X = b.current.getBoundingClientRect();
8120
8120
  Vc = _ === "bottom" ? X.height : X.width;
8121
8121
  let ie = 0;
8122
- U === "ArrowRight" ? ae ? ie = _ === "left" || _ === "start" ? -u : u : ie = _ === "left" || _ === "start" ? u : -u : U === "ArrowLeft" ? ae ? ie = _ === "left" || _ === "start" ? u : -u : ie = _ === "left" || _ === "start" ? -u : u : U === "ArrowUp" ? ie = u : U === "ArrowDown" && (ie = -u), Vc = Vc + ie, _ === "bottom" && (b.current.style.overflowAnchor = "none"), b.current.style.setProperty(Th.name, Vc + "px"), j = Vc, S(V());
8122
+ U === "ArrowRight" ? ae ? ie = _ === "left" || _ === "start" ? -u : u : ie = _ === "left" || _ === "start" ? u : -u : U === "ArrowLeft" ? ae ? ie = _ === "left" || _ === "start" ? u : -u : ie = _ === "left" || _ === "start" ? -u : u : U === "ArrowUp" ? ie = u : U === "ArrowDown" && (ie = -u), Vc = Vc + ie, _ === "bottom" && (b.current.style.overflowAnchor = "none"), b.current.style.setProperty(Th.name, Vc + "px"), j = Vc, S(q());
8123
8123
  }, le = {};
8124
8124
  c && (le[Th.name] = c), l && (le[BB.name] = l), d && (le[HB.name] = d);
8125
8125
  const J = g?.enabled && !A, Y = J ? Um : "div";
@@ -8173,15 +8173,15 @@ const $B = (e) => {
8173
8173
  const k = ue.useRef(), O = ue.useRef(), x = Qr(En.displayName, f, m), R = p || k, D = typeof s == "function" || typeof s != "function" && !s.toggleRef ? O : s?.toggleRef;
8174
8174
  ue.useEffect(() => {
8175
8175
  const C = (H) => {
8176
- var j, q, W, z;
8177
- i && l && (!((j = R.current) === null || j === void 0) && j.contains(H.target) || !((q = D.current) === null || q === void 0) && q.contains(H.target)) && b.includes(H.key) && (l(!1), (W = D.current) === null || W === void 0 || W.focus()), !((z = D.current) === null || z === void 0) && z.contains(H.target) && (c ? c(H) : i && EN(H, R));
8176
+ var j, V, W, z;
8177
+ i && l && (!((j = R.current) === null || j === void 0) && j.contains(H.target) || !((V = D.current) === null || V === void 0) && V.contains(H.target)) && b.includes(H.key) && (l(!1), (W = D.current) === null || W === void 0 || W.focus()), !((z = D.current) === null || z === void 0) && z.contains(H.target) && (c ? c(H) : i && EN(H, R));
8178
8178
  }, P = (H) => {
8179
- var j, q, W;
8179
+ var j, V, W;
8180
8180
  i && S && (!((j = D.current) === null || j === void 0) && j.contains(H.target)) && setTimeout(() => {
8181
8181
  var z;
8182
8182
  const B = (z = R?.current) === null || z === void 0 ? void 0 : z.querySelector('li button:not(:disabled),li input:not(:disabled),li a:not([aria-disabled="true"])');
8183
8183
  B && B.focus({ preventScroll: _ });
8184
- }, T), i && l && !(!((q = D?.current) === null || q === void 0) && q.contains(H.target)) && i && !(!((W = R.current) === null || W === void 0) && W.contains(H.target)) && l(!1);
8184
+ }, T), i && l && !(!((V = D?.current) === null || V === void 0) && V.contains(H.target)) && i && !(!((W = R.current) === null || W === void 0) && W.contains(H.target)) && l(!1);
8185
8185
  };
8186
8186
  return window.addEventListener("keydown", C), window.addEventListener("click", P), () => {
8187
8187
  window.removeEventListener("keydown", C), window.removeEventListener("click", P);
@@ -8528,7 +8528,7 @@ const Ko = (e) => {
8528
8528
  Ko.displayName = "TextInputGroupUtilities";
8529
8529
  const S2 = (e) => {
8530
8530
  var { className: t, searchInputId: n, value: a = "", attributes: i = [], formAdditionalItems: s, hasWordsAttrLabel: o = "Has words", advancedSearchDelimiter: l, placeholder: c, hint: d, onChange: u, onSearch: p, onClear: f, onToggleAdvancedSearch: m, isAdvancedSearchOpen: g, resultsCount: h, onNextClick: b, onPreviousClick: y, innerRef: v, expandableInput: S, "aria-label": _ = "Search input", resetButtonLabel: T = "Reset", openMenuButtonAriaLabel: A = "Open advanced search", previousNavigationButtonAriaLabel: k = "Previous", isPreviousNavigationButtonDisabled: O = !1, isNextNavigationButtonDisabled: x = !1, nextNavigationButtonAriaLabel: R = "Next", submitSearchButtonLabel: D = "Search", isDisabled: I = !1, appendTo: N, zIndex: C = 9999, name: P, areUtilitiesDisplayed: H } = e, j = ge(e, ["className", "searchInputId", "value", "attributes", "formAdditionalItems", "hasWordsAttrLabel", "advancedSearchDelimiter", "placeholder", "hint", "onChange", "onSearch", "onClear", "onToggleAdvancedSearch", "isAdvancedSearchOpen", "resultsCount", "onNextClick", "onPreviousClick", "innerRef", "expandableInput", "aria-label", "resetButtonLabel", "openMenuButtonAriaLabel", "previousNavigationButtonAriaLabel", "isPreviousNavigationButtonDisabled", "isNextNavigationButtonDisabled", "nextNavigationButtonAriaLabel", "submitSearchButtonLabel", "isDisabled", "appendTo", "zIndex", "name", "areUtilitiesDisplayed"]);
8531
- const [q, W] = E.useState(!1), [z, B] = E.useState(a), $ = E.useRef(null), V = E.useRef(null), Q = v || V, oe = E.useRef(null), me = E.useRef(null), xe = E.useRef(null), [Se, Ne] = E.useState(!1), { isExpanded: be, onToggleExpand: we, toggleAriaLabel: pe } = S || {};
8531
+ const [V, W] = E.useState(!1), [z, B] = E.useState(a), $ = E.useRef(null), q = E.useRef(null), Q = v || q, oe = E.useRef(null), me = E.useRef(null), xe = E.useRef(null), [Se, Ne] = E.useState(!1), { isExpanded: be, onToggleExpand: we, toggleAriaLabel: pe } = S || {};
8532
8532
  E.useEffect(() => {
8533
8533
  var Ue, et;
8534
8534
  if (Se)
@@ -8545,7 +8545,7 @@ const S2 = (e) => {
8545
8545
  const ke = (Ue, et) => {
8546
8546
  u && u(Ue, et), B(et);
8547
8547
  }, F = (Ue) => {
8548
- const et = !q;
8548
+ const et = !V;
8549
8549
  W(et), m && m(Ue, et);
8550
8550
  }, Ee = (Ue) => {
8551
8551
  Ue.preventDefault(), p && p(Ue, a, J()), W(!1);
@@ -8622,7 +8622,7 @@ const S2 = (e) => {
8622
8622
  { isPlain: !0 },
8623
8623
  E.createElement(
8624
8624
  Z,
8625
- { className: q && "pf-m-expanded", variant: Le.control, "aria-label": A, onClick: F, isDisabled: I, "aria-expanded": q },
8625
+ { className: V && "pf-m-expanded", variant: Le.control, "aria-label": A, onClick: F, isDisabled: I, "aria-expanded": V },
8626
8626
  E.createElement(Ql, null)
8627
8627
  )
8628
8628
  ),
@@ -8653,11 +8653,11 @@ const S2 = (e) => {
8653
8653
  const Ue = E.createElement(
8654
8654
  "div",
8655
8655
  { ref: xe },
8656
- E.createElement(v2, { value: a, parentRef: $, parentInputRef: Q, onSearch: p, onClear: f, onChange: u, onToggleAdvancedMenu: F, resetButtonLabel: T, submitSearchButtonLabel: D, attributes: i, formAdditionalItems: s, hasWordsAttrLabel: o, advancedSearchDelimiter: l, getAttrValueMap: J, isSearchMenuOpen: q })
8656
+ E.createElement(v2, { value: a, parentRef: $, parentInputRef: Q, onSearch: p, onClear: f, onChange: u, onToggleAdvancedMenu: F, resetButtonLabel: T, submitSearchButtonLabel: D, attributes: i, formAdditionalItems: s, hasWordsAttrLabel: o, advancedSearchDelimiter: l, getAttrValueMap: J, isSearchMenuOpen: V })
8657
8657
  ), et = E.createElement(
8658
8658
  "div",
8659
8659
  Object.assign({ className: G(t), ref: $ }, j),
8660
- E.createElement(ks, { trigger: ve(), triggerRef: me, popper: Ue, popperRef: xe, isVisible: q, enableFlip: !0, appendTo: () => N || $.current, zIndex: C })
8660
+ E.createElement(ks, { trigger: ve(), triggerRef: me, popper: Ue, popperRef: xe, isVisible: V, enableFlip: !0, appendTo: () => N || $.current, zIndex: C })
8661
8661
  ), Nt = E.createElement(
8662
8662
  "div",
8663
8663
  Object.assign({ className: G(t), ref: $ }, j),
@@ -9131,9 +9131,9 @@ function i8() {
9131
9131
  }
9132
9132
  }
9133
9133
  }
9134
- var T = c, A = d, k = l, O = o, x = t, R = u, D = a, I = g, N = m, C = n, P = s, H = i, j = p, q = !1;
9134
+ var T = c, A = d, k = l, O = o, x = t, R = u, D = a, I = g, N = m, C = n, P = s, H = i, j = p, V = !1;
9135
9135
  function W(pe) {
9136
- return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), z(pe) || _(pe) === c;
9136
+ return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), z(pe) || _(pe) === c;
9137
9137
  }
9138
9138
  function z(pe) {
9139
9139
  return _(pe) === d;
@@ -9144,7 +9144,7 @@ function i8() {
9144
9144
  function $(pe) {
9145
9145
  return _(pe) === o;
9146
9146
  }
9147
- function V(pe) {
9147
+ function q(pe) {
9148
9148
  return typeof pe == "object" && pe !== null && pe.$$typeof === t;
9149
9149
  }
9150
9150
  function Q(pe) {
@@ -9171,7 +9171,7 @@ function i8() {
9171
9171
  function we(pe) {
9172
9172
  return _(pe) === p;
9173
9173
  }
9174
- hn.AsyncMode = T, hn.ConcurrentMode = A, hn.ContextConsumer = k, hn.ContextProvider = O, hn.Element = x, hn.ForwardRef = R, hn.Fragment = D, hn.Lazy = I, hn.Memo = N, hn.Portal = C, hn.Profiler = P, hn.StrictMode = H, hn.Suspense = j, hn.isAsyncMode = W, hn.isConcurrentMode = z, hn.isContextConsumer = B, hn.isContextProvider = $, hn.isElement = V, hn.isForwardRef = Q, hn.isFragment = oe, hn.isLazy = me, hn.isMemo = xe, hn.isPortal = Se, hn.isProfiler = Ne, hn.isStrictMode = be, hn.isSuspense = we, hn.isValidElementType = S, hn.typeOf = _;
9174
+ hn.AsyncMode = T, hn.ConcurrentMode = A, hn.ContextConsumer = k, hn.ContextProvider = O, hn.Element = x, hn.ForwardRef = R, hn.Fragment = D, hn.Lazy = I, hn.Memo = N, hn.Portal = C, hn.Profiler = P, hn.StrictMode = H, hn.Suspense = j, hn.isAsyncMode = W, hn.isConcurrentMode = z, hn.isContextConsumer = B, hn.isContextProvider = $, hn.isElement = q, hn.isForwardRef = Q, hn.isFragment = oe, hn.isLazy = me, hn.isMemo = xe, hn.isPortal = Se, hn.isProfiler = Ne, hn.isStrictMode = be, hn.isSuspense = we, hn.isValidElementType = S, hn.typeOf = _;
9175
9175
  })()), hn;
9176
9176
  }
9177
9177
  var $I;
@@ -9339,7 +9339,7 @@ function l8() {
9339
9339
  function b(z) {
9340
9340
  if (process.env.NODE_ENV !== "production")
9341
9341
  var B = {}, $ = 0;
9342
- function V(oe, me, xe, Se, Ne, be, we) {
9342
+ function q(oe, me, xe, Se, Ne, be, we) {
9343
9343
  if (Se = Se || f, be = be || xe, we !== n) {
9344
9344
  if (c) {
9345
9345
  var pe = new Error(
@@ -9356,12 +9356,12 @@ function l8() {
9356
9356
  }
9357
9357
  return me[xe] == null ? oe ? me[xe] === null ? new h("The " + Ne + " `" + be + "` is marked as required " + ("in `" + Se + "`, but its value is `null`.")) : new h("The " + Ne + " `" + be + "` is marked as required in " + ("`" + Se + "`, but its value is `undefined`.")) : null : z(me, xe, Se, Ne, be);
9358
9358
  }
9359
- var Q = V.bind(null, !1);
9360
- return Q.isRequired = V.bind(null, !0), Q;
9359
+ var Q = q.bind(null, !1);
9360
+ return Q.isRequired = q.bind(null, !0), Q;
9361
9361
  }
9362
9362
  function y(z) {
9363
- function B($, V, Q, oe, me, xe) {
9364
- var Se = $[V], Ne = H(Se);
9363
+ function B($, q, Q, oe, me, xe) {
9364
+ var Se = $[q], Ne = H(Se);
9365
9365
  if (Ne !== z) {
9366
9366
  var be = j(Se);
9367
9367
  return new h(
@@ -9377,10 +9377,10 @@ function l8() {
9377
9377
  return b(o);
9378
9378
  }
9379
9379
  function S(z) {
9380
- function B($, V, Q, oe, me) {
9380
+ function B($, q, Q, oe, me) {
9381
9381
  if (typeof z != "function")
9382
9382
  return new h("Property `" + me + "` of component `" + Q + "` has invalid PropType notation inside arrayOf.");
9383
- var xe = $[V];
9383
+ var xe = $[q];
9384
9384
  if (!Array.isArray(xe)) {
9385
9385
  var Se = H(xe);
9386
9386
  return new h("Invalid " + oe + " `" + me + "` of type " + ("`" + Se + "` supplied to `" + Q + "`, expected an array."));
@@ -9395,31 +9395,31 @@ function l8() {
9395
9395
  return b(B);
9396
9396
  }
9397
9397
  function _() {
9398
- function z(B, $, V, Q, oe) {
9398
+ function z(B, $, q, Q, oe) {
9399
9399
  var me = B[$];
9400
9400
  if (!l(me)) {
9401
9401
  var xe = H(me);
9402
- return new h("Invalid " + Q + " `" + oe + "` of type " + ("`" + xe + "` supplied to `" + V + "`, expected a single ReactElement."));
9402
+ return new h("Invalid " + Q + " `" + oe + "` of type " + ("`" + xe + "` supplied to `" + q + "`, expected a single ReactElement."));
9403
9403
  }
9404
9404
  return null;
9405
9405
  }
9406
9406
  return b(z);
9407
9407
  }
9408
9408
  function T() {
9409
- function z(B, $, V, Q, oe) {
9409
+ function z(B, $, q, Q, oe) {
9410
9410
  var me = B[$];
9411
9411
  if (!e.isValidElementType(me)) {
9412
9412
  var xe = H(me);
9413
- return new h("Invalid " + Q + " `" + oe + "` of type " + ("`" + xe + "` supplied to `" + V + "`, expected a single ReactElement type."));
9413
+ return new h("Invalid " + Q + " `" + oe + "` of type " + ("`" + xe + "` supplied to `" + q + "`, expected a single ReactElement type."));
9414
9414
  }
9415
9415
  return null;
9416
9416
  }
9417
9417
  return b(z);
9418
9418
  }
9419
9419
  function A(z) {
9420
- function B($, V, Q, oe, me) {
9421
- if (!($[V] instanceof z)) {
9422
- var xe = z.name || f, Se = W($[V]);
9420
+ function B($, q, Q, oe, me) {
9421
+ if (!($[q] instanceof z)) {
9422
+ var xe = z.name || f, Se = W($[q]);
9423
9423
  return new h("Invalid " + oe + " `" + me + "` of type " + ("`" + Se + "` supplied to `" + Q + "`, expected ") + ("instance of `" + xe + "`."));
9424
9424
  }
9425
9425
  return null;
@@ -9431,8 +9431,8 @@ function l8() {
9431
9431
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
9432
9432
  "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])."
9433
9433
  ) : s("Invalid argument supplied to oneOf, expected an array.")), o;
9434
- function B($, V, Q, oe, me) {
9435
- for (var xe = $[V], Se = 0; Se < z.length; Se++)
9434
+ function B($, q, Q, oe, me) {
9435
+ for (var xe = $[q], Se = 0; Se < z.length; Se++)
9436
9436
  if (g(xe, z[Se]))
9437
9437
  return null;
9438
9438
  var Ne = JSON.stringify(z, function(we, pe) {
@@ -9444,10 +9444,10 @@ function l8() {
9444
9444
  return b(B);
9445
9445
  }
9446
9446
  function O(z) {
9447
- function B($, V, Q, oe, me) {
9447
+ function B($, q, Q, oe, me) {
9448
9448
  if (typeof z != "function")
9449
9449
  return new h("Property `" + me + "` of component `" + Q + "` has invalid PropType notation inside objectOf.");
9450
- var xe = $[V], Se = H(xe);
9450
+ var xe = $[q], Se = H(xe);
9451
9451
  if (Se !== "object")
9452
9452
  return new h("Invalid " + oe + " `" + me + "` of type " + ("`" + Se + "` supplied to `" + Q + "`, expected an object."));
9453
9453
  for (var Ne in xe)
@@ -9467,10 +9467,10 @@ function l8() {
9467
9467
  var $ = z[B];
9468
9468
  if (typeof $ != "function")
9469
9469
  return s(
9470
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + q($) + " at index " + B + "."
9470
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V($) + " at index " + B + "."
9471
9471
  ), o;
9472
9472
  }
9473
- function V(Q, oe, me, xe, Se) {
9473
+ function q(Q, oe, me, xe, Se) {
9474
9474
  for (var Ne = [], be = 0; be < z.length; be++) {
9475
9475
  var we = z[be], pe = we(Q, oe, me, xe, Se, n);
9476
9476
  if (pe == null)
@@ -9480,22 +9480,22 @@ function l8() {
9480
9480
  var ke = Ne.length > 0 ? ", expected one of type [" + Ne.join(", ") + "]" : "";
9481
9481
  return new h("Invalid " + xe + " `" + Se + "` supplied to " + ("`" + me + "`" + ke + "."));
9482
9482
  }
9483
- return b(V);
9483
+ return b(q);
9484
9484
  }
9485
9485
  function R() {
9486
- function z(B, $, V, Q, oe) {
9487
- return C(B[$]) ? null : new h("Invalid " + Q + " `" + oe + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
9486
+ function z(B, $, q, Q, oe) {
9487
+ return C(B[$]) ? null : new h("Invalid " + Q + " `" + oe + "` supplied to " + ("`" + q + "`, expected a ReactNode."));
9488
9488
  }
9489
9489
  return b(z);
9490
9490
  }
9491
- function D(z, B, $, V, Q) {
9491
+ function D(z, B, $, q, Q) {
9492
9492
  return new h(
9493
- (z || "React class") + ": " + B + " type `" + $ + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Q + "`."
9493
+ (z || "React class") + ": " + B + " type `" + $ + "." + q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Q + "`."
9494
9494
  );
9495
9495
  }
9496
9496
  function I(z) {
9497
- function B($, V, Q, oe, me) {
9498
- var xe = $[V], Se = H(xe);
9497
+ function B($, q, Q, oe, me) {
9498
+ var xe = $[q], Se = H(xe);
9499
9499
  if (Se !== "object")
9500
9500
  return new h("Invalid " + oe + " `" + me + "` of type `" + Se + "` " + ("supplied to `" + Q + "`, expected `object`."));
9501
9501
  for (var Ne in z) {
@@ -9511,18 +9511,18 @@ function l8() {
9511
9511
  return b(B);
9512
9512
  }
9513
9513
  function N(z) {
9514
- function B($, V, Q, oe, me) {
9515
- var xe = $[V], Se = H(xe);
9514
+ function B($, q, Q, oe, me) {
9515
+ var xe = $[q], Se = H(xe);
9516
9516
  if (Se !== "object")
9517
9517
  return new h("Invalid " + oe + " `" + me + "` of type `" + Se + "` " + ("supplied to `" + Q + "`, expected `object`."));
9518
- var Ne = t({}, $[V], z);
9518
+ var Ne = t({}, $[q], z);
9519
9519
  for (var be in Ne) {
9520
9520
  var we = z[be];
9521
9521
  if (a(z, be) && typeof we != "function")
9522
9522
  return D(Q, oe, me, be, j(we));
9523
9523
  if (!we)
9524
9524
  return new h(
9525
- "Invalid " + oe + " `" + me + "` key `" + be + "` supplied to `" + Q + "`.\nBad object: " + JSON.stringify($[V], null, " ") + `
9525
+ "Invalid " + oe + " `" + me + "` key `" + be + "` supplied to `" + Q + "`.\nBad object: " + JSON.stringify($[q], null, " ") + `
9526
9526
  Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
9527
9527
  );
9528
9528
  var pe = we(xe, be, Q, oe, me + "." + be, n);
@@ -9548,14 +9548,14 @@ Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
9548
9548
  return !0;
9549
9549
  var B = p(z);
9550
9550
  if (B) {
9551
- var $ = B.call(z), V;
9551
+ var $ = B.call(z), q;
9552
9552
  if (B !== z.entries) {
9553
- for (; !(V = $.next()).done; )
9554
- if (!C(V.value))
9553
+ for (; !(q = $.next()).done; )
9554
+ if (!C(q.value))
9555
9555
  return !1;
9556
9556
  } else
9557
- for (; !(V = $.next()).done; ) {
9558
- var Q = V.value;
9557
+ for (; !(q = $.next()).done; ) {
9558
+ var Q = q.value;
9559
9559
  if (Q && !C(Q[1]))
9560
9560
  return !1;
9561
9561
  }
@@ -9585,7 +9585,7 @@ Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
9585
9585
  }
9586
9586
  return B;
9587
9587
  }
9588
- function q(z) {
9588
+ function V(z) {
9589
9589
  var B = j(z);
9590
9590
  switch (B) {
9591
9591
  case "array":
@@ -11544,7 +11544,7 @@ function F2() {
11544
11544
  return typeof b == "function" ? b : sx;
11545
11545
  }, [b]), N = lt(function() {
11546
11546
  return typeof h == "function" ? h : sx;
11547
- }, [h]), C = un(null), P = un(null), H = Y6(i9, Hy), j = Oh(H, 2), q = j[0], W = j[1], z = q.isFocused, B = q.isFileDialogActive, $ = un(typeof window < "u" && window.isSecureContext && y && z8()), V = function() {
11547
+ }, [h]), C = un(null), P = un(null), H = Y6(i9, Hy), j = Oh(H, 2), V = j[0], W = j[1], z = V.isFocused, B = V.isFileDialogActive, $ = un(typeof window < "u" && window.isSecureContext && y && z8()), q = function() {
11548
11548
  !$.current && B && setTimeout(function() {
11549
11549
  if (P.current) {
11550
11550
  var se = P.current.files;
@@ -11555,8 +11555,8 @@ function F2() {
11555
11555
  }, 300);
11556
11556
  };
11557
11557
  ft(function() {
11558
- return window.addEventListener("focus", V, !1), function() {
11559
- window.removeEventListener("focus", V, !1);
11558
+ return window.addEventListener("focus", q, !1), function() {
11559
+ window.removeEventListener("focus", q, !1);
11560
11560
  };
11561
11561
  }, [P, B, N, $]);
11562
11562
  var Q = un([]), oe = function(se) {
@@ -11737,7 +11737,7 @@ function F2() {
11737
11737
  return Yn(Yn({}, Nt), et);
11738
11738
  };
11739
11739
  }, [P, n, l, we, a]);
11740
- return Yn(Yn({}, q), {}, {
11740
+ return Yn(Yn({}, V), {}, {
11741
11741
  isFocused: z && !a,
11742
11742
  getRootProps: U,
11743
11743
  getInputProps: ie,
@@ -11928,13 +11928,13 @@ const U2 = (e) => {
11928
11928
  const C = Math.ceil(x.scrollTop + d);
11929
11929
  window.requestAnimationFrame(() => {
11930
11930
  let P = y;
11931
- (P.every((q) => !q?.offsetTop) || !P[0] || P.includes(null)) && (P = Rp(a, []), v(P));
11932
- const j = P.map((q, W) => ({
11933
- y: q ? q.offsetTop : null,
11931
+ (P.every((V) => !V?.offsetTop) || !P[0] || P.includes(null)) && (P = Rp(a, []), v(P));
11932
+ const j = P.map((V, W) => ({
11933
+ y: V ? V.offsetTop : null,
11934
11934
  index: W
11935
- })).filter(({ y: q }) => q !== null).sort((q, W) => W.y - q.y);
11936
- for (const { y: q, index: W } of j)
11937
- if (C >= q)
11935
+ })).filter(({ y: V }) => V !== null).sort((V, W) => W.y - V.y);
11936
+ for (const { y: V, index: W } of j)
11937
+ if (C >= V)
11938
11938
  return _(W);
11939
11939
  });
11940
11940
  }, [y, b, x, d]);
@@ -11947,16 +11947,16 @@ const U2 = (e) => {
11947
11947
  let I = 0;
11948
11948
  const N = (C) => b ? E.Children.map(C, (P) => {
11949
11949
  if (P.type === Bd) {
11950
- const { onClick: H, isActive: j } = P.props, q = I++, W = y[q];
11950
+ const { onClick: H, isActive: j } = P.props, V = I++, W = y[V];
11951
11951
  return E.cloneElement(P, {
11952
11952
  onClick(z) {
11953
11953
  k.current = !0;
11954
11954
  let B;
11955
11955
  W || (B = Rp(C, []), v(B));
11956
- const $ = W || B[q];
11956
+ const $ = W || B[V];
11957
11957
  if ($) {
11958
- const V = R();
11959
- if (V instanceof HTMLElement) {
11958
+ const q = R();
11959
+ if (q instanceof HTMLElement) {
11960
11960
  if (l9(O.current)) {
11961
11961
  O.current && O.current.classList.remove(ba.modifiers.expanded);
11962
11962
  let Q = O.current && O.current.parentElement;
@@ -11964,13 +11964,13 @@ const U2 = (e) => {
11964
11964
  Q = Q.parentElement;
11965
11965
  A(!1), Q && (d += Q.scrollHeight);
11966
11966
  }
11967
- V.scrollTo(0, $.offsetTop - d);
11967
+ q.scrollTo(0, $.offsetTop - d);
11968
11968
  }
11969
- $.focus(), window.history.pushState("", "", z.currentTarget.href), z.preventDefault(), _(q);
11969
+ $.focus(), window.history.pushState("", "", z.currentTarget.href), z.preventDefault(), _(V);
11970
11970
  }
11971
11971
  H && H(z);
11972
11972
  },
11973
- isActive: j || S === q,
11973
+ isActive: j || S === V,
11974
11974
  children: N(P.props.children)
11975
11975
  });
11976
11976
  } else {
@@ -12084,16 +12084,16 @@ const oa = {
12084
12084
  Z,
12085
12085
  Object.assign({ type: "button", variant: "plain", onClick: f, "aria-label": y || `Close ${t}` }, P && { isDisabled: !0 }, v),
12086
12086
  E.createElement(Xa, null)
12087
- ), j = E.createElement("span", { className: G(oa.labelActions) }, b || H), q = E.createRef(), W = E.useRef(), [z, B] = E.useState(!1);
12087
+ ), j = E.createElement("span", { className: G(oa.labelActions) }, b || H), V = E.createRef(), W = E.useRef(), [z, B] = E.useState(!1);
12088
12088
  Pd(() => {
12089
- const be = l ? D : q;
12089
+ const be = l ? D : V;
12090
12090
  k || B(be.current && be.current.offsetWidth < be.current.scrollWidth);
12091
12091
  }, [k]);
12092
12092
  const $ = E.createElement(
12093
12093
  E.Fragment,
12094
12094
  null,
12095
12095
  p && E.createElement("span", { className: G(oa.labelIcon) }, p),
12096
- E.createElement("span", Object.assign({ ref: q, className: G(oa.labelText) }, d && {
12096
+ E.createElement("span", Object.assign({ ref: V, className: G(oa.labelText) }, d && {
12097
12097
  style: {
12098
12098
  [c9.name]: d
12099
12099
  }
@@ -12102,7 +12102,7 @@ const oa = {
12102
12102
  E.useEffect(() => {
12103
12103
  k && I && I.current && I.current.focus();
12104
12104
  }, [I, k]);
12105
- const V = () => {
12105
+ const q = () => {
12106
12106
  R(I.current.value);
12107
12107
  };
12108
12108
  let Q = "span";
@@ -12130,7 +12130,7 @@ const oa = {
12130
12130
  Object.assign({}, A, { className: G(oa.label, P && oa.modifiers.disabled, d9[a], i === "outline" && oa.modifiers.outline, _ && oa.modifiers.overflow, s && oa.modifiers.compact, l && La.modifiers.editable, k && oa.modifiers.editableActive, n), onClick: _ ? m : void 0 }, Ne === "button" && { type: "button" }),
12131
12131
  !k && Se,
12132
12132
  !k && f && j,
12133
- k && E.createElement("input", Object.assign({ className: G(oa.labelContent), type: "text", id: "editable-input", ref: I, value: x, onChange: V }, c))
12133
+ k && E.createElement("input", Object.assign({ className: G(oa.labelContent), type: "text", id: "editable-input", ref: I, value: x, onChange: q }, c))
12134
12134
  );
12135
12135
  };
12136
12136
  dn.displayName = "Label";
@@ -12687,32 +12687,32 @@ let gu = class extends E.Component {
12687
12687
  additionalGroupedContent: N,
12688
12688
  groupProps: C,
12689
12689
  breadcrumbProps: P
12690
- } = t, H = ge(t, ["breadcrumb", "isBreadcrumbWidthLimited", "className", "children", "header", "sidebar", "notificationDrawer", "isNotificationDrawerExpanded", "onNotificationDrawerExpand", "drawerDefaultSize", "drawerMinSize", "drawerMaxSize", "isTertiaryNavWidthLimited", "skipToContent", "role", "mainContainerId", "isManagedSidebar", "defaultManagedSidebarIsOpen", "onPageResize", "getBreakpoint", "getVerticalBreakpoint", "mainAriaLabel", "mainTabIndex", "mainComponent", "tertiaryNav", "isTertiaryNavGrouped", "isBreadcrumbGrouped", "additionalGroupedContent", "groupProps", "breadcrumbProps"]), { mobileView: j, mobileIsSidebarOpen: q, desktopIsSidebarOpen: W, width: z, height: B } = this.state, $ = {
12690
+ } = t, H = ge(t, ["breadcrumb", "isBreadcrumbWidthLimited", "className", "children", "header", "sidebar", "notificationDrawer", "isNotificationDrawerExpanded", "onNotificationDrawerExpand", "drawerDefaultSize", "drawerMinSize", "drawerMaxSize", "isTertiaryNavWidthLimited", "skipToContent", "role", "mainContainerId", "isManagedSidebar", "defaultManagedSidebarIsOpen", "onPageResize", "getBreakpoint", "getVerticalBreakpoint", "mainAriaLabel", "mainTabIndex", "mainComponent", "tertiaryNav", "isTertiaryNavGrouped", "isBreadcrumbGrouped", "additionalGroupedContent", "groupProps", "breadcrumbProps"]), { mobileView: j, mobileIsSidebarOpen: V, desktopIsSidebarOpen: W, width: z, height: B } = this.state, $ = {
12691
12691
  isManagedSidebar: v,
12692
12692
  onSidebarToggle: j ? this.onSidebarToggleMobile : this.onSidebarToggleDesktop,
12693
- isSidebarOpen: j ? q : W,
12693
+ isSidebarOpen: j ? V : W,
12694
12694
  width: z,
12695
12695
  height: B,
12696
12696
  getBreakpoint: T,
12697
12697
  getVerticalBreakpoint: A
12698
12698
  };
12699
- let V = null;
12700
- R && g ? V = E.createElement(
12699
+ let q = null;
12700
+ R && g ? q = E.createElement(
12701
12701
  "div",
12702
12702
  { className: G(jt.pageMainNav, jt.modifiers.limitWidth) },
12703
12703
  E.createElement("div", { className: G(jt.pageMainBody) }, R)
12704
- ) : R && (V = E.createElement("div", { className: G(jt.pageMainNav) }, R));
12704
+ ) : R && (q = E.createElement("div", { className: G(jt.pageMainNav) }, R));
12705
12705
  const Q = n ? E.createElement("section", { className: G(jt.pageMainBreadcrumb, a && jt.modifiers.limitWidth, Lt(P?.stickyOnBreakpoint, jt, "sticky-", A(B), !0)) }, a ? E.createElement("div", { className: G(jt.pageMainBody) }, n) : n) : null, me = D || I || N ? E.createElement(
12706
12706
  V2,
12707
12707
  Object.assign({}, C),
12708
- D && V,
12708
+ D && q,
12709
12709
  I && Q,
12710
12710
  N
12711
12711
  ) : null, xe = x, Se = E.createElement(
12712
12712
  xe,
12713
12713
  { ref: this.mainRef, role: b, id: y, className: G(jt.pageMain), tabIndex: O, "aria-label": k },
12714
12714
  me,
12715
- !D && V,
12715
+ !D && q,
12716
12716
  !I && Q,
12717
12717
  s
12718
12718
  ), Ne = E.createElement(TE, { defaultSize: p, minSize: f, maxSize: m }, c);
@@ -13067,11 +13067,11 @@ const W2 = ({
13067
13067
  focusTimeoutDelay: A = 0
13068
13068
  }) => {
13069
13069
  const [k, O] = E.useState(!1), x = E.useRef(null), R = E.useRef(null), D = () => {
13070
- O((q) => !q);
13070
+ O((V) => !V);
13071
13071
  }, I = () => {
13072
- var q;
13073
- O((W) => !W), (q = x.current) === null || q === void 0 || q.focus();
13074
- }, N = (q, W) => {
13072
+ var V;
13073
+ O((W) => !W), (V = x.current) === null || V === void 0 || V.focus();
13074
+ }, N = (V, W) => {
13075
13075
  let z = n;
13076
13076
  for (; Math.ceil(a / W) < z; )
13077
13077
  z--;
@@ -13079,27 +13079,27 @@ const W2 = ({
13079
13079
  for (; z > 1 && a - W * z < 0; )
13080
13080
  z--;
13081
13081
  const B = (z - 1) * W, $ = z * W;
13082
- return v(q, W, z, B, $);
13082
+ return v(V, W, z, B, $);
13083
13083
  };
13084
13084
  E.useEffect(() => {
13085
- const q = (z) => {
13086
- var B, $, V;
13087
- (k && (!((B = R.current) === null || B === void 0) && B.contains(z.target)) || !(($ = x.current) === null || $ === void 0) && $.contains(z.target)) && (z.key === "Escape" || z.key === "Tab") && (O(!1), (V = x.current) === null || V === void 0 || V.focus());
13085
+ const V = (z) => {
13086
+ var B, $, q;
13087
+ (k && (!((B = R.current) === null || B === void 0) && B.contains(z.target)) || !(($ = x.current) === null || $ === void 0) && $.contains(z.target)) && (z.key === "Escape" || z.key === "Tab") && (O(!1), (q = x.current) === null || q === void 0 || q.focus());
13088
13088
  }, W = (z) => {
13089
- var B, $, V;
13089
+ var B, $, q;
13090
13090
  k && (!((B = x.current) === null || B === void 0) && B.contains(z.target)) && setTimeout(() => {
13091
13091
  var Q;
13092
13092
  const oe = (Q = R?.current) === null || Q === void 0 ? void 0 : Q.querySelector("li button:not(:disabled)");
13093
13093
  oe && oe.focus({ preventScroll: T });
13094
- }, A), k && !(!(($ = x?.current) === null || $ === void 0) && $.contains(z.target)) && !(!((V = R.current) === null || V === void 0) && V.contains(z.target)) && O(!1);
13094
+ }, A), k && !(!(($ = x?.current) === null || $ === void 0) && $.contains(z.target)) && !(!((q = R.current) === null || q === void 0) && q.contains(z.target)) && O(!1);
13095
13095
  };
13096
- return window.addEventListener("keydown", q), window.addEventListener("click", W), () => {
13097
- window.removeEventListener("keydown", q), window.removeEventListener("click", W);
13096
+ return window.addEventListener("keydown", V), window.addEventListener("click", W), () => {
13097
+ window.removeEventListener("keydown", V), window.removeEventListener("click", W);
13098
13098
  };
13099
13099
  }, [A, k, R, T]);
13100
- const C = () => l.map(({ value: q, title: W }) => E.createElement(
13100
+ const C = () => l.map(({ value: V, title: W }) => E.createElement(
13101
13101
  vc,
13102
- { key: q, "data-action": `per-page-${q}`, isSelected: f === q, onClick: (z) => N(z, q) },
13102
+ { key: V, "data-action": `per-page-${V}`, isSelected: f === V, onClick: (z) => N(z, V) },
13103
13103
  W,
13104
13104
  ` ${d}`
13105
13105
  )), P = E.createElement(
@@ -13178,20 +13178,20 @@ const cx = [
13178
13178
  }, onPageInput: R = () => {
13179
13179
  }, onLastClick: D = () => {
13180
13180
  }, ouiaId: I, ouiaSafe: N = !0, usePageInsets: C, inset: P, menuAppendTo: H } = e, j = ge(e, ["children", "className", "variant", "isDisabled", "isCompact", "isSticky", "isStatic", "dropDirection", "toggleTemplate", "perPage", "titles", "firstPage", "page", "offset", "isLastFullPageShown", "itemsStart", "itemsEnd", "itemCount", "perPageOptions", "widgetId", "onSetPage", "onPerPageSelect", "onFirstClick", "onPreviousClick", "onNextClick", "onPageInput", "onLastClick", "ouiaId", "ouiaSafe", "usePageInsets", "inset", "menuAppendTo"]);
13181
- const q = E.useRef(null), W = E.useRef(null), z = () => (
13181
+ const V = E.useRef(null), W = E.useRef(null), z = () => (
13182
13182
  // when itemCount is not known let's set lastPage as page+1 as we don't know the total count
13183
13183
  v || v === 0 ? Math.ceil(v / u) || 0 : $ + 1
13184
13184
  );
13185
13185
  E.useEffect(() => {
13186
- const xe = q.current;
13186
+ const xe = V.current;
13187
13187
  C9(z(), xe);
13188
13188
  }, [u, v]);
13189
13189
  const B = c || (a === "bottom" && !l ? "up" : "down");
13190
13190
  let $ = m;
13191
13191
  g !== null && (b = g + 1, $ = Math.max(Math.ceil(b / u), 1), y = g + u);
13192
- const V = z();
13192
+ const q = z();
13193
13193
  let Q = ($ - 1) * u + 1, oe = $ * u;
13194
- (v || v === 0) && (Q = v <= 0 ? 0 : ($ - 1) * u + 1, $ < f && v > 0 ? $ = f : $ > V && ($ = V), v >= 0 && (oe = $ === V || v === 0 ? v : $ * u));
13194
+ (v || v === 0) && (Q = v <= 0 ? 0 : ($ - 1) * u + 1, $ < f && v > 0 ? $ = f : $ > q && ($ = q), v >= 0 && (oe = $ === q || v === 0 ? v : $ * u));
13195
13195
  const me = {
13196
13196
  firstIndex: Q,
13197
13197
  lastIndex: oe,
@@ -13201,7 +13201,7 @@ const cx = [
13201
13201
  };
13202
13202
  return E.createElement(
13203
13203
  "div",
13204
- Object.assign({ ref: q, className: G(Ma.pagination, a === fd.bottom && Ma.modifiers.bottom, C && Ma.modifiers.pageInsets, Lt(P, Ma), s && Ma.modifiers.compact, l && Ma.modifiers.static, o && Ma.modifiers.sticky, n) }, _ && { id: `${_}-${a}-pagination` }, Qr(NE.displayName, I, N, a), j),
13204
+ Object.assign({ ref: V, className: G(Ma.pagination, a === fd.bottom && Ma.modifiers.bottom, C && Ma.modifiers.pageInsets, Lt(P, Ma), s && Ma.modifiers.compact, l && Ma.modifiers.static, o && Ma.modifiers.sticky, n) }, _ && { id: `${_}-${a}-pagination` }, Qr(NE.displayName, I, N, a), j),
13205
13205
  a === fd.top && E.createElement(
13206
13206
  "div",
13207
13207
  { className: G(Ma.paginationTotalItems) },
@@ -13209,8 +13209,8 @@ const cx = [
13209
13209
  d && typeof d != "string" && d(me),
13210
13210
  !d && E.createElement(RE, { firstIndex: Q, lastIndex: oe, itemCount: v, itemsTitle: p.items, ofWord: p.ofWord })
13211
13211
  ),
13212
- S && S.length > 0 && E.createElement(W2, { itemsPerPageTitle: p.itemsPerPage, perPageSuffix: p.perPageSuffix, itemsTitle: s ? "" : p.items, optionsToggleAriaLabel: p.optionsToggleAriaLabel, perPageOptions: S, firstIndex: b !== null ? b : Q, lastIndex: y !== null ? y : oe, ofWord: p.ofWord, isLastFullPageShown: h, itemCount: v, page: $, perPage: u, lastPage: V, onPerPageSelect: A, dropDirection: B, widgetId: `${_}-${a}`, toggleTemplate: d, isDisabled: i, containerRef: W, appendTo: H }),
13213
- E.createElement(ic, { pagesTitle: p.page, pagesTitlePlural: p.pages, toLastPageAriaLabel: p.toLastPageAriaLabel, toPreviousPageAriaLabel: p.toPreviousPageAriaLabel, toNextPageAriaLabel: p.toNextPageAriaLabel, toFirstPageAriaLabel: p.toFirstPageAriaLabel, currPageAriaLabel: p.currPageAriaLabel, paginationAriaLabel: p.paginationAriaLabel, ofWord: p.ofWord, page: v && v <= 0 ? 0 : $, perPage: u, itemCount: v, firstPage: b !== null ? b : 1, lastPage: V, onSetPage: T, onFirstClick: k, onPreviousClick: O, onNextClick: x, onLastClick: D, onPageInput: R, isDisabled: i, isCompact: s }),
13212
+ S && S.length > 0 && E.createElement(W2, { itemsPerPageTitle: p.itemsPerPage, perPageSuffix: p.perPageSuffix, itemsTitle: s ? "" : p.items, optionsToggleAriaLabel: p.optionsToggleAriaLabel, perPageOptions: S, firstIndex: b !== null ? b : Q, lastIndex: y !== null ? y : oe, ofWord: p.ofWord, isLastFullPageShown: h, itemCount: v, page: $, perPage: u, lastPage: q, onPerPageSelect: A, dropDirection: B, widgetId: `${_}-${a}`, toggleTemplate: d, isDisabled: i, containerRef: W, appendTo: H }),
13213
+ E.createElement(ic, { pagesTitle: p.page, pagesTitlePlural: p.pages, toLastPageAriaLabel: p.toLastPageAriaLabel, toPreviousPageAriaLabel: p.toPreviousPageAriaLabel, toNextPageAriaLabel: p.toNextPageAriaLabel, toFirstPageAriaLabel: p.toFirstPageAriaLabel, currPageAriaLabel: p.currPageAriaLabel, paginationAriaLabel: p.paginationAriaLabel, ofWord: p.ofWord, page: v && v <= 0 ? 0 : $, perPage: u, itemCount: v, firstPage: b !== null ? b : 1, lastPage: q, onSetPage: T, onFirstClick: k, onPreviousClick: O, onNextClick: x, onLastClick: D, onPageInput: R, isDisabled: i, isCompact: s }),
13214
13214
  t
13215
13215
  );
13216
13216
  };
@@ -13618,9 +13618,9 @@ class xa extends E.Component {
13618
13618
  };
13619
13619
  }
13620
13620
  render() {
13621
- const t = this.props, { className: n, children: a, activeKey: i, defaultActiveKey: s, id: o, isFilled: l, isSecondary: c, isVertical: d, isBox: u, hasNoBorderBottom: p, leftScrollAriaLabel: f, rightScrollAriaLabel: m, backScrollAriaLabel: g, forwardScrollAriaLabel: h, "aria-label": b, component: y, ouiaId: v, ouiaSafe: S, mountOnEnter: _, unmountOnExit: T, usePageInsets: A, inset: k, variant: O, expandable: x, isExpanded: R, defaultIsExpanded: D, toggleText: I, toggleAriaLabel: N, addButtonAriaLabel: C, onToggle: P, onClose: H, onAdd: j, isOverflowHorizontal: q } = t, W = ge(t, ["className", "children", "activeKey", "defaultActiveKey", "id", "isFilled", "isSecondary", "isVertical", "isBox", "hasNoBorderBottom", "leftScrollAriaLabel", "rightScrollAriaLabel", "backScrollAriaLabel", "forwardScrollAriaLabel", "aria-label", "component", "ouiaId", "ouiaSafe", "mountOnEnter", "unmountOnExit", "usePageInsets", "inset", "variant", "expandable", "isExpanded", "defaultIsExpanded", "toggleText", "toggleAriaLabel", "addButtonAriaLabel", "onToggle", "onClose", "onAdd", "isOverflowHorizontal"]), { showScrollButtons: z, renderScrollButtons: B, disableBackScrollButton: $, disableForwardScrollButton: V, shownKeys: Q, uncontrolledActiveKey: oe, uncontrolledIsExpandedLocal: me, overflowingTabCount: xe } = this.state, Se = E.Children.toArray(a).filter((te) => E.isValidElement(te)).filter(({ props: te }) => !te.isHidden), Ne = Se.slice(0, Se.length - xe), we = Se.slice(Se.length - xe).map((te) => te.props), pe = o || Es(), ke = y === $d.nav ? "nav" : "div", F = s !== void 0 ? oe : i, Ee = D !== void 0 ? me : R, le = (te, ae) => {
13621
+ const t = this.props, { className: n, children: a, activeKey: i, defaultActiveKey: s, id: o, isFilled: l, isSecondary: c, isVertical: d, isBox: u, hasNoBorderBottom: p, leftScrollAriaLabel: f, rightScrollAriaLabel: m, backScrollAriaLabel: g, forwardScrollAriaLabel: h, "aria-label": b, component: y, ouiaId: v, ouiaSafe: S, mountOnEnter: _, unmountOnExit: T, usePageInsets: A, inset: k, variant: O, expandable: x, isExpanded: R, defaultIsExpanded: D, toggleText: I, toggleAriaLabel: N, addButtonAriaLabel: C, onToggle: P, onClose: H, onAdd: j, isOverflowHorizontal: V } = t, W = ge(t, ["className", "children", "activeKey", "defaultActiveKey", "id", "isFilled", "isSecondary", "isVertical", "isBox", "hasNoBorderBottom", "leftScrollAriaLabel", "rightScrollAriaLabel", "backScrollAriaLabel", "forwardScrollAriaLabel", "aria-label", "component", "ouiaId", "ouiaSafe", "mountOnEnter", "unmountOnExit", "usePageInsets", "inset", "variant", "expandable", "isExpanded", "defaultIsExpanded", "toggleText", "toggleAriaLabel", "addButtonAriaLabel", "onToggle", "onClose", "onAdd", "isOverflowHorizontal"]), { showScrollButtons: z, renderScrollButtons: B, disableBackScrollButton: $, disableForwardScrollButton: q, shownKeys: Q, uncontrolledActiveKey: oe, uncontrolledIsExpandedLocal: me, overflowingTabCount: xe } = this.state, Se = E.Children.toArray(a).filter((te) => E.isValidElement(te)).filter(({ props: te }) => !te.isHidden), Ne = Se.slice(0, Se.length - xe), we = Se.slice(Se.length - xe).map((te) => te.props), pe = o || Es(), ke = y === $d.nav ? "nav" : "div", F = s !== void 0 ? oe : i, Ee = D !== void 0 ? me : R, le = (te, ae) => {
13622
13622
  R === void 0 ? this.setState({ uncontrolledIsExpandedLocal: ae }) : P(te, ae);
13623
- }, J = q && xe > 0, Y = typeof q == "object" ? Object.assign({}, q) : {};
13623
+ }, J = V && xe > 0, Y = typeof V == "object" ? Object.assign({}, V) : {};
13624
13624
  return E.createElement(
13625
13625
  _9,
13626
13626
  { value: {
@@ -13661,12 +13661,12 @@ class xa extends E.Component {
13661
13661
  E.createElement(
13662
13662
  "ul",
13663
13663
  { className: G(Zt.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" },
13664
- q ? Ne : Se,
13664
+ V ? Ne : Se,
13665
13665
  J && E.createElement(X2, Object.assign({ overflowingTabs: we }, Y))
13666
13666
  ),
13667
13667
  B && E.createElement(
13668
13668
  "button",
13669
- { type: "button", className: G(Zt.tabsScrollButton, c && ea.modifiers.secondary), "aria-label": h || m, onClick: this.scrollForward, disabled: V, "aria-hidden": V },
13669
+ { type: "button", className: G(Zt.tabsScrollButton, c && ea.modifiers.secondary), "aria-label": h || m, onClick: this.scrollForward, disabled: q, "aria-hidden": q },
13670
13670
  E.createElement(Ia, null)
13671
13671
  ),
13672
13672
  j !== void 0 && E.createElement(
@@ -13923,13 +13923,13 @@ class PE extends E.Component {
13923
13923
  maxTime: T,
13924
13924
  includeSeconds: A,
13925
13925
  zIndex: k
13926
- } = t, O = ge(t, ["aria-label", "isDisabled", "className", "placeholder", "id", "menuAppendTo", "is24Hour", "invalidFormatErrorMessage", "invalidMinMaxErrorMessage", "stepMinutes", "width", "delimiter", "inputProps", "onChange", "setIsOpen", "isOpen", "time", "validateTime", "minTime", "maxTime", "includeSeconds", "zIndex"]), { timeState: x, isTimeOptionsOpen: R, isInvalid: D, minTimeState: I, maxTimeState: N } = this.state, C = { [D9.name]: f }, P = R9(p, !c, m, I, N, A), H = this.isValidFormat(x), j = o || Es("time-picker"), q = () => this.baseComponentRef && this.baseComponentRef.current ? this.baseComponentRef.current.parentElement : null, W = E.createElement(
13926
+ } = t, O = ge(t, ["aria-label", "isDisabled", "className", "placeholder", "id", "menuAppendTo", "is24Hour", "invalidFormatErrorMessage", "invalidMinMaxErrorMessage", "stepMinutes", "width", "delimiter", "inputProps", "onChange", "setIsOpen", "isOpen", "time", "validateTime", "minTime", "maxTime", "includeSeconds", "zIndex"]), { timeState: x, isTimeOptionsOpen: R, isInvalid: D, minTimeState: I, maxTimeState: N } = this.state, C = { [D9.name]: f }, P = R9(p, !c, m, I, N, A), H = this.isValidFormat(x), j = o || Es("time-picker"), V = () => this.baseComponentRef && this.baseComponentRef.current ? this.baseComponentRef.current.parentElement : null, W = E.createElement(
13927
13927
  no,
13928
13928
  { ref: this.menuRef, isScrollable: !0 },
13929
13929
  E.createElement(
13930
13930
  yc,
13931
13931
  { maxMenuHeight: "200px" },
13932
- E.createElement(Ec, { "aria-label": n }, P.map(($, V) => E.createElement(vc, { onClick: this.onSelect, key: $, id: `${j}-option-${V}` }, $)))
13932
+ E.createElement(Ec, { "aria-label": n }, P.map(($, q) => E.createElement(vc, { onClick: this.onSelect, key: $, id: `${j}-option-${q}` }, $)))
13933
13933
  )
13934
13934
  ), z = E.createElement(Rt, Object.assign({ "aria-haspopup": "menu", id: `${j}-input`, "aria-label": n, validated: D ? "error" : "default", placeholder: s, value: x || "", type: "text", customIcon: E.createElement(L9, null), onClick: this.onInputClick, onChange: this.onInputChange, autoComplete: "off", isDisabled: a, isExpanded: R, ref: this.inputRef }, g));
13935
13935
  let B;
@@ -13938,7 +13938,7 @@ class PE extends E.Component {
13938
13938
  B = () => this.toggleRef.current;
13939
13939
  break;
13940
13940
  case "parent":
13941
- B = q;
13941
+ B = V;
13942
13942
  break;
13943
13943
  default:
13944
13944
  B = l;
@@ -14493,7 +14493,7 @@ const $9 = ({
14493
14493
  h ? ue.createElement("button", { tabIndex: -1, className: G(cn.treeViewNodeText), type: "button" }, e) : ue.createElement("span", { className: G(cn.treeViewNodeText) }, e)
14494
14494
  );
14495
14495
  return b ? ue.createElement("span", { className: G(cn.treeViewNodeContent) }, z) : z;
14496
- }, q = ue.createElement(
14496
+ }, V = ue.createElement(
14497
14497
  ue.Fragment,
14498
14498
  null,
14499
14499
  f && s && ue.createElement(
@@ -14525,7 +14525,7 @@ const $9 = ({
14525
14525
  u && P(z),
14526
14526
  _ && H,
14527
14527
  j(),
14528
- q
14528
+ V
14529
14529
  )
14530
14530
  )),
14531
14531
  A && ue.createElement("div", { className: G(cn.treeViewAction) }, A)
@@ -17857,8 +17857,8 @@ var vl = (e) => la(e) && !dm(e) ? e : {
17857
17857
  const H = o.valueAsNumber || v && +v;
17858
17858
  er(C.value) || (I = H > C.value), er(P.value) || (N = H < P.value);
17859
17859
  } else {
17860
- const H = o.valueAsDate || new Date(v), j = (z) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + z), q = o.type == "time", W = o.type == "week";
17861
- _r(C.value) && v && (I = q ? j(v) > j(C.value) : W ? v > C.value : H > new Date(C.value)), _r(P.value) && v && (N = q ? j(v) < j(P.value) : W ? v < P.value : H < new Date(P.value));
17860
+ const H = o.valueAsDate || new Date(v), j = (z) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + z), V = o.type == "time", W = o.type == "week";
17861
+ _r(C.value) && v && (I = V ? j(v) > j(C.value) : W ? v > C.value : H > new Date(C.value)), _r(P.value) && v && (N = V ? j(v) < j(P.value) : W ? v < P.value : H < new Date(P.value));
17862
17862
  }
17863
17863
  if ((I || N) && (D(!!I, C.message, P.message, ts.max, ts.min), !a))
17864
17864
  return _(T[h].message), T;
@@ -18119,7 +18119,7 @@ function $$(e = {}) {
18119
18119
  name: o.mount ? U : void 0,
18120
18120
  values: Nn(s)
18121
18121
  });
18122
- }, q = async (U) => {
18122
+ }, V = async (U) => {
18123
18123
  o.mount = !0;
18124
18124
  const X = U.target;
18125
18125
  let ie = X.name, de = !0;
@@ -18176,7 +18176,7 @@ function $$(e = {}) {
18176
18176
  error: at((X || n).errors, U),
18177
18177
  isValidating: !!at(n.validatingFields, U),
18178
18178
  isTouched: !!at((X || n).touchedFields, U)
18179
- }), V = (U) => {
18179
+ }), q = (U) => {
18180
18180
  U && rr(U).forEach((X) => ta(n.errors, X)), m.state.next({
18181
18181
  errors: U ? n.errors : {}
18182
18182
  });
@@ -18247,8 +18247,8 @@ function $$(e = {}) {
18247
18247
  pattern: Kc(X.pattern)
18248
18248
  } : {},
18249
18249
  name: U,
18250
- onChange: q,
18251
- onBlur: q,
18250
+ onChange: V,
18251
+ onBlur: V,
18252
18252
  ref: (se) => {
18253
18253
  if (se) {
18254
18254
  be(U, X), ie = at(a, U);
@@ -18456,7 +18456,7 @@ function $$(e = {}) {
18456
18456
  getValues: B,
18457
18457
  reset: le,
18458
18458
  resetField: F,
18459
- clearErrors: V,
18459
+ clearErrors: q,
18460
18460
  unregister: Se,
18461
18461
  setError: Q,
18462
18462
  setFocus: J,
@@ -20863,8 +20863,8 @@ const kD = E.createContext({
20863
20863
  const A = E.useRef(null), k = p || A, [O, x] = E.useState(!1), [R, D] = E.useState();
20864
20864
  E.useEffect(() => {
20865
20865
  if (document.addEventListener("keydown", H), k && k.current && k.current.classList.contains("pf-m-tree-view")) {
20866
- const q = k.current.querySelector("tbody");
20867
- q && LU(Array.from(q.querySelectorAll("button, a, input")));
20866
+ const V = k.current.querySelector("tbody");
20867
+ V && LU(Array.from(V.querySelectorAll("button, a, input")));
20868
20868
  }
20869
20869
  return function() {
20870
20870
  document.removeEventListener("keydown", H);
@@ -20877,12 +20877,12 @@ const kD = E.createContext({
20877
20877
  E.createElement("div", { className: "pf-v5-screen-reader" }, "This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter.")
20878
20878
  ) : E.createElement("caption", { className: "pf-v5-screen-reader" }, "This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."));
20879
20879
  }, [_]);
20880
- const I = Qr("Table", f, m), N = (t = GK.modifiers) === null || t === void 0 ? void 0 : t[vA(c || "").replace(/-?2xl/, "_2xl")], C = `treeView${c.charAt(0).toUpperCase() + c.slice(1)}`, P = (n = tr.modifiers) === null || n === void 0 ? void 0 : n[vA(C || "").replace(/-?2xl/, "_2xl")], H = (q) => {
20880
+ const I = Qr("Table", f, m), N = (t = GK.modifiers) === null || t === void 0 ? void 0 : t[vA(c || "").replace(/-?2xl/, "_2xl")], C = `treeView${c.charAt(0).toUpperCase() + c.slice(1)}`, P = (n = tr.modifiers) === null || n === void 0 ? void 0 : n[vA(C || "").replace(/-?2xl/, "_2xl")], H = (V) => {
20881
20881
  if (h || !(k && k.current && k.current.classList.contains(tr.modifiers.treeView)) || // implements roving tab-index to tree tables only
20882
- k && k.current !== q.target.closest(`.${gt.table}:not(.pf-m-nested)`))
20882
+ k && k.current !== V.target.closest(`.${gt.table}:not(.pf-m-nested)`))
20883
20883
  return;
20884
- const W = document.activeElement, z = q.key, B = Array.from(k.current.querySelectorAll("tbody tr")).filter((V) => !V.classList.contains("pf-m-disabled") && !V.hidden);
20885
- (z === "Space" || z === "Enter") && (W.click(), q.preventDefault()), qp(q, B, (V) => V === W.closest("tr"), (V) => V.querySelectorAll("button:not(:disabled), input:not(:disabled), a:not(:disabled)")[0], ["button", "input", "a"], void 0, !1, !0, !1);
20884
+ const W = document.activeElement, z = V.key, B = Array.from(k.current.querySelectorAll("tbody tr")).filter((q) => !q.classList.contains("pf-m-disabled") && !q.hidden);
20885
+ (z === "Space" || z === "Enter") && (W.click(), V.preventDefault()), qp(V, B, (q) => q === W.closest("tr"), (q) => q.querySelectorAll("button:not(:disabled), input:not(:disabled), a:not(:disabled)")[0], ["button", "input", "a"], void 0, !1, !0, !1);
20886
20886
  }, j = () => {
20887
20887
  !O && x(!0);
20888
20888
  };
@@ -22074,14 +22074,14 @@ const KD = {
22074
22074
  const [I, N] = E.useState(!1), [C, P] = E.useState(!1), H = b || E.createRef(), j = (F) => {
22075
22075
  F.target.offsetWidth < F.target.scrollWidth ? !I && N(!0) : I && N(!1), m(F);
22076
22076
  };
22077
- let q = null;
22078
- l && (l.isFavorites ? q = jK({
22077
+ let V = null;
22078
+ l && (l.isFavorites ? V = jK({
22079
22079
  onSort: l?.onSort,
22080
22080
  columnIndex: l.columnIndex,
22081
22081
  sortBy: l.sortBy,
22082
22082
  tooltip: p,
22083
22083
  tooltipProps: f
22084
- })() : q = _D(t, {
22084
+ })() : V = _D(t, {
22085
22085
  columnIndex: l.columnIndex,
22086
22086
  column: {
22087
22087
  extraParams: {
@@ -22116,9 +22116,9 @@ const KD = {
22116
22116
  }
22117
22117
  }
22118
22118
  }) : null, B = g ? en(g)() : null, $ = h ? xD(...h.map((F) => ID[F]))() : null;
22119
- let V = q?.children || W?.children || z?.children || t, Q = null;
22120
- y && (Q = ZK(y)(V), V = Q.children);
22121
- const oe = qD(q, W, z, B, $, Q), {
22119
+ let q = V?.children || W?.children || z?.children || t, Q = null;
22120
+ y && (Q = ZK(y)(q), q = Q.children);
22121
+ const oe = qD(V, W, z, B, $, Q), {
22122
22122
  // ignore the merged children since we transform them ourselves so we can wrap it with info
22123
22123
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
22124
22124
  children: me = null,
@@ -22133,8 +22133,8 @@ const KD = {
22133
22133
  }, [H]);
22134
22134
  const we = E.createElement(Ne, Object.assign({ tabIndex: l || d || !C ? -1 : 0, onFocus: p !== null ? j : m, onBlur: () => N(!1), "data-label": i, onMouseEnter: p !== null ? j : m, scope: a === "th" ? s : null, ref: H, "aria-label": R, className: G(gt.tableTh, n, o && gt.modifiers.center, O && gt.tableSubhead, v && Bl.tableStickyCell, S && Bl.modifiers.borderRight, _ && Bl.modifiers.borderLeft, c && gt.modifiers[c], Se) }, be, D, v && {
22135
22135
  style: Object.assign({ [KD.name]: T || void 0, [WD.name]: A || 0, [YD.name]: k || 0 }, D.style)
22136
- }), V || x && E.createElement("span", { className: "pf-v5-screen-reader" }, x));
22137
- return p !== null && (p === "" ? typeof V == "string" : !0) && !(q || W) && I ? E.createElement(
22136
+ }), q || x && E.createElement("span", { className: "pf-v5-screen-reader" }, x));
22137
+ return p !== null && (p === "" ? typeof q == "string" : !0) && !(V || W) && I ? E.createElement(
22138
22138
  E.Fragment,
22139
22139
  null,
22140
22140
  we,
@@ -22153,7 +22153,7 @@ const vY = (e, { rowData: t }) => {
22153
22153
  }, isStickyColumn: T = !1, hasRightBorder: A = !1, hasLeftBorder: k = !1, stickyMinWidth: O = "120px", stickyLeftOffset: x, stickyRightOffset: R } = e, D = ge(e, ["children", "className", "isActionCell", "component", "dataLabel", "textCenter", "modifier", "select", "actions", "expand", "treeRow", "compoundExpand", "noPadding", "width", "visibility", "innerRef", "favorites", "draggableRow", "tooltip", "onMouseEnter", "isStickyColumn", "hasRightBorder", "hasLeftBorder", "stickyMinWidth", "stickyLeftOffset", "stickyRightOffset"]);
22154
22154
  const [I, N] = E.useState(!1), [C, P] = E.useState(!1), H = b || E.createRef(), j = (J) => {
22155
22155
  J.target.offsetWidth < J.target.scrollWidth ? !I && N(!0) : I && N(!1), _(J);
22156
- }, q = c ? TD(t, {
22156
+ }, V = c ? TD(t, {
22157
22157
  rowIndex: c.rowIndex,
22158
22158
  rowData: {
22159
22159
  selected: c.isSelected,
@@ -22194,7 +22194,7 @@ const vY = (e, { rowData: t }) => {
22194
22194
  actionsToggle: d?.actionsToggle
22195
22195
  }
22196
22196
  }
22197
- }) : null, V = u !== null ? wD(null, {
22197
+ }) : null, q = u !== null ? wD(null, {
22198
22198
  rowIndex: u.rowIndex,
22199
22199
  columnIndex: u?.columnIndex,
22200
22200
  rowData: {
@@ -22227,7 +22227,7 @@ const vY = (e, { rowData: t }) => {
22227
22227
  rowData: {
22228
22228
  props: p.props
22229
22229
  }
22230
- }) : null, Se = qD(q, $, V, Q, oe, me, W, xe, z), {
22230
+ }) : null, Se = qD(V, $, q, Q, oe, me, W, xe, z), {
22231
22231
  // selectable adds this but we don't want it
22232
22232
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
22233
22233
  isVisible: Ne = null,
@@ -24400,7 +24400,7 @@ function Mt({
24400
24400
  localStorage,
24401
24401
  "pageSize",
24402
24402
  10
24403
- ), [P, H] = M(N), [j, q] = M(0), [W, z] = M(""), B = un(), [$, V] = M(0), Q = un(), oe = () => V($ + 1), me = Mm(), xe = (Y, te) => Y.map((ae) => {
24403
+ ), [P, H] = M(N), [j, V] = M(0), [W, z] = M(""), B = un(), [$, q] = M(0), Q = un(), oe = () => q($ + 1), me = Mm(), xe = (Y, te) => Y.map((ae) => {
24404
24404
  if ("cellFormatters" in ae) {
24405
24405
  const U = Xn(te, ae.name);
24406
24406
  return ae.cellFormatters?.reduce((X, ie) => ie(X), U);
@@ -24442,10 +24442,10 @@ function Mt({
24442
24442
  async () => {
24443
24443
  I(!0);
24444
24444
  const Y = B.current === "" && W !== "";
24445
- return Y && q(0), B.current = W, typeof d == "function" ? $ === Q.current && x ? x : await d(Y ? 0 : j, P + 1, W) : d;
24445
+ return Y && V(0), B.current = W, typeof d == "function" ? $ === Q.current && x ? x : await d(Y ? 0 : j, P + 1, W) : d;
24446
24446
  },
24447
24447
  (Y) => {
24448
- Q.current = $, n || (R(Y), Y.length > j ? Y = Y.slice(j, j + P + 1) : q(0));
24448
+ Q.current = $, n || (R(Y), Y.length > j ? Y = Y.slice(j, j + P + 1) : V(0));
24449
24449
  const te = Se(Y);
24450
24450
  O(te), I(!1);
24451
24451
  },
@@ -24472,10 +24472,10 @@ function Mt({
24472
24472
  count: J,
24473
24473
  first: j,
24474
24474
  max: P,
24475
- onNextClick: q,
24476
- onPreviousClick: q,
24475
+ onNextClick: V,
24476
+ onPreviousClick: V,
24477
24477
  onPerPageSelect: (Y, te) => {
24478
- q(Y), H(te), C(te);
24478
+ V(Y), H(te), C(te);
24479
24479
  },
24480
24480
  inputGroupName: t ? `${e}input` : void 0,
24481
24481
  inputGroupOnEnter: z,
@@ -25330,7 +25330,7 @@ const hP = ({
25330
25330
  async () => {
25331
25331
  let C, P, H;
25332
25332
  if (_) {
25333
- if (!f.map(({ id: q }) => q).includes(_) && (C = await c.groups.findOne({ id: _ }), !C))
25333
+ if (!f.map(({ id: V }) => V).includes(_) && (C = await c.groups.findOne({ id: _ }), !C))
25334
25334
  throw new Error(d("notFound"));
25335
25335
  const j = {
25336
25336
  first: O,
@@ -25351,7 +25351,7 @@ const hP = ({
25351
25351
  },
25352
25352
  async ({ group: C, groups: P, existingUserGroups: H }) => {
25353
25353
  S(H || []), C && (m([...f, C]), D(C.subGroupCount)), P.forEach((j) => {
25354
- j.checked = !!u.find((q) => q.id === j.id);
25354
+ j.checked = !!u.find((V) => V.id === j.id);
25355
25355
  }), h(P), (b !== "" || !_) && D(P.length);
25356
25356
  },
25357
25357
  [_, b, O, A]
@@ -26354,22 +26354,22 @@ class bm extends bf {
26354
26354
  });
26355
26355
  B && B.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
26356
26356
  }
26357
- let q = [];
26357
+ let V = [];
26358
26358
  const W = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language);
26359
26359
  if (this.options.saveMissingTo === "fallback" && W && W[0])
26360
26360
  for (let B = 0; B < W.length; B++)
26361
- q.push(W[B]);
26362
- else this.options.saveMissingTo === "all" ? q = this.languageUtils.toResolveHierarchy(i.lng || this.language) : q.push(i.lng || this.language);
26363
- const z = (B, $, V) => {
26364
- const Q = T && V !== g ? V : H;
26361
+ V.push(W[B]);
26362
+ else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(i.lng || this.language) : V.push(i.lng || this.language);
26363
+ const z = (B, $, q) => {
26364
+ const Q = T && q !== g ? q : H;
26365
26365
  this.options.missingKeyHandler ? this.options.missingKeyHandler(B, d, $, Q, j, i) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(B, d, $, Q, j, i), this.emit("missingKey", B, d, $, g);
26366
26366
  };
26367
- this.options.saveMissing && (this.options.saveMissingPlurals && _ ? q.forEach((B) => {
26367
+ this.options.saveMissing && (this.options.saveMissingPlurals && _ ? V.forEach((B) => {
26368
26368
  const $ = this.pluralResolver.getSuffixes(B, i);
26369
- O && i[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((V) => {
26370
- z([B], l + V, i[`defaultValue${V}`] || x);
26369
+ O && i[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((q) => {
26370
+ z([B], l + q, i[`defaultValue${q}`] || x);
26371
26371
  });
26372
- }) : z(q, l, x));
26372
+ }) : z(V, l, x));
26373
26373
  }
26374
26374
  g = this.extendTranslation(g, t, i, m, a), C && g === l && this.options.appendNamespaceToMissingKey && (g = `${d}${u}${l}`), (C || N) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}${u}${l}` : l, N ? g : void 0, i));
26375
26375
  }
@@ -38583,8 +38583,8 @@ dl.aliases = ["cs", "dotnet"];
38583
38583
  function dl(e) {
38584
38584
  e.register(Jt), (function(t) {
38585
38585
  function n(z, B) {
38586
- return z.replace(/<<(\d+)>>/g, function($, V) {
38587
- return "(?:" + B[+V] + ")";
38586
+ return z.replace(/<<(\d+)>>/g, function($, q) {
38587
+ return "(?:" + B[+q] + ")";
38588
38588
  });
38589
38589
  }
38590
38590
  function a(z, B, $) {
@@ -38901,7 +38901,7 @@ function dl(e) {
38901
38901
  [x]
38902
38902
  ),
38903
38903
  2
38904
- ), q = n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
38904
+ ), V = n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
38905
38905
  j,
38906
38906
  C
38907
38907
  ]);
@@ -38945,11 +38945,11 @@ function dl(e) {
38945
38945
  },
38946
38946
  {
38947
38947
  pattern: a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [
38948
- q
38948
+ V
38949
38949
  ]),
38950
38950
  lookbehind: !0,
38951
38951
  greedy: !0,
38952
- inside: W(q, j)
38952
+ inside: W(V, j)
38953
38953
  }
38954
38954
  ],
38955
38955
  char: {
@@ -51133,8 +51133,8 @@ function zT(e) {
51133
51133
  S[D]
51134
51134
  ), H = I.substring(N + D.length), j = [];
51135
51135
  if (C && j.push(C), j.push(P), H) {
51136
- var q = [H];
51137
- k(q), j.push.apply(j, q);
51136
+ var V = [H];
51137
+ k(V), j.push.apply(j, V);
51138
51138
  }
51139
51139
  typeof R == "string" ? (O.splice.apply(O, [x, 1].concat(j)), x += j.length - 1) : R.content = j;
51140
51140
  }
@@ -60804,7 +60804,7 @@ function ot(e, t) {
60804
60804
  }
60805
60805
  return hc(e, n);
60806
60806
  }
60807
- const Uae = We(() => import("./FlowDetails-tBxTv6wK.js")), hw = {
60807
+ const Uae = We(() => import("./FlowDetails--N_U426z.js")), hw = {
60808
60808
  path: "/:realm/authentication/:id/:usedBy",
60809
60809
  element: /* @__PURE__ */ r(Uae, {}),
60810
60810
  breadcrumb: (e) => e("flowDetails"),
@@ -62485,7 +62485,7 @@ const NO = ({ onSelect: e, selectedPolicies: t }) => {
62485
62485
  return {
62486
62486
  pathname: ot(t, e)
62487
62487
  };
62488
- }, cre = We(() => import("./CreateFlow-Bwuqra7c.js")), G3 = {
62488
+ }, cre = We(() => import("./CreateFlow-Bf02T80Q.js")), G3 = {
62489
62489
  path: "/:realm/authentication/flows/create",
62490
62490
  element: /* @__PURE__ */ r(cre, {}),
62491
62491
  breadcrumb: (e) => e("createFlow"),
@@ -64158,7 +64158,7 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64158
64158
  }
64159
64159
  }, Wf = (e) => ({
64160
64160
  pathname: ot(ww.path, e)
64161
- }), Bre = We(() => import("./DetailOrganization-6dzeU8qG.js")), pM = {
64161
+ }), Bre = We(() => import("./DetailOrganization-DWvk7gJ9.js")), pM = {
64162
64162
  path: "/:realm/organizations/:id/:tab",
64163
64163
  element: /* @__PURE__ */ r(Bre, {}),
64164
64164
  breadcrumb: (e) => e("organizationDetails"),
@@ -64250,14 +64250,14 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64250
64250
  },
64251
64251
  []
64252
64252
  );
64253
- function P($, V) {
64253
+ function P($, q) {
64254
64254
  return t.realms.findAdminEvents({
64255
64255
  resourcePath: e,
64256
64256
  // The admin client wants 'dateFrom' and 'dateTo' to be Date objects, however it cannot actually handle them so we need to cast to any.
64257
64257
  ...b,
64258
64258
  realm: a,
64259
64259
  first: $,
64260
- max: V
64260
+ max: q
64261
64261
  });
64262
64262
  }
64263
64263
  function H() {
@@ -64266,18 +64266,18 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64266
64266
  function j() {
64267
64267
  I(), z();
64268
64268
  }
64269
- function q($) {
64270
- const V = { ...D() };
64271
- delete V[$], I({ ...v, ...V }), z();
64269
+ function V($) {
64270
+ const q = { ...D() };
64271
+ delete q[$], I({ ...v, ...q }), z();
64272
64272
  }
64273
- function W($, V) {
64274
- const Q = D(), oe = Q[$], me = Array.isArray(oe) ? oe.filter((xe) => xe !== V) : oe;
64273
+ function W($, q) {
64274
+ const Q = D(), oe = Q[$], me = Array.isArray(oe) ? oe.filter((xe) => xe !== q) : oe;
64275
64275
  I({ ...Q, [$]: me }), z();
64276
64276
  }
64277
64277
  function z() {
64278
64278
  const $ = i0(
64279
64279
  D(),
64280
- (V) => V !== "" || Array.isArray(V) && V.length > 0
64280
+ (q) => q !== "" || Array.isArray(q) && q.length > 0
64281
64281
  );
64282
64282
  e && delete $.resourcePath, y($), d(c + 1);
64283
64283
  }
@@ -64385,10 +64385,10 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64385
64385
  },
64386
64386
  variant: $t.typeaheadMulti,
64387
64387
  typeAheadAriaLabel: "select-resourceTypes",
64388
- onToggle: (V) => m(V),
64388
+ onToggle: (q) => m(q),
64389
64389
  selections: $.value,
64390
- onSelect: (V) => {
64391
- const Q = V.toString(), oe = $.value.includes(Q) ? $.value.filter(
64390
+ onSelect: (q) => {
64391
+ const Q = q.toString(), oe = $.value.includes(Q) ? $.value.filter(
64392
64392
  (me) => me !== Q
64393
64393
  ) : [...$.value, Q];
64394
64394
  $.onChange(oe);
@@ -64398,21 +64398,21 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64398
64398
  },
64399
64399
  isOpen: f,
64400
64400
  "aria-labelledby": "resourceTypes",
64401
- chipGroupComponent: /* @__PURE__ */ r(Gn, { children: $.value.map((V) => /* @__PURE__ */ r(
64401
+ chipGroupComponent: /* @__PURE__ */ r(Gn, { children: $.value.map((q) => /* @__PURE__ */ r(
64402
64402
  on,
64403
64403
  {
64404
64404
  onClick: (Q) => {
64405
64405
  Q.stopPropagation(), $.onChange(
64406
64406
  $.value.filter(
64407
- (oe) => oe !== V
64407
+ (oe) => oe !== q
64408
64408
  )
64409
64409
  );
64410
64410
  },
64411
- children: V
64411
+ children: q
64412
64412
  },
64413
- V
64413
+ q
64414
64414
  )) }),
64415
- children: o?.map((V) => /* @__PURE__ */ r(st, { value: V, children: V }, V))
64415
+ children: o?.map((q) => /* @__PURE__ */ r(st, { value: q, children: q }, q))
64416
64416
  }
64417
64417
  )
64418
64418
  }
@@ -64442,10 +64442,10 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64442
64442
  },
64443
64443
  variant: $t.typeaheadMulti,
64444
64444
  typeAheadAriaLabel: "select-operationTypes",
64445
- onToggle: (V) => h(V),
64445
+ onToggle: (q) => h(q),
64446
64446
  selections: $.value,
64447
- onSelect: (V) => {
64448
- const Q = V.toString(), oe = $.value.includes(Q) ? $.value.filter(
64447
+ onSelect: (q) => {
64448
+ const Q = q.toString(), oe = $.value.includes(Q) ? $.value.filter(
64449
64449
  (me) => me !== Q
64450
64450
  ) : [...$.value, Q];
64451
64451
  $.onChange(oe);
@@ -64455,21 +64455,21 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64455
64455
  },
64456
64456
  isOpen: g,
64457
64457
  "aria-labelledby": "operationTypes",
64458
- chipGroupComponent: /* @__PURE__ */ r(Gn, { children: $.value.map((V) => /* @__PURE__ */ r(
64458
+ chipGroupComponent: /* @__PURE__ */ r(Gn, { children: $.value.map((q) => /* @__PURE__ */ r(
64459
64459
  on,
64460
64460
  {
64461
64461
  onClick: (Q) => {
64462
64462
  Q.stopPropagation(), $.onChange(
64463
64463
  $.value.filter(
64464
- (oe) => oe !== V
64464
+ (oe) => oe !== q
64465
64465
  )
64466
64466
  );
64467
64467
  },
64468
- children: V
64468
+ children: q
64469
64469
  },
64470
- V
64470
+ q
64471
64471
  )) }),
64472
- children: l?.map((V) => /* @__PURE__ */ r(st, { value: V, children: V }, V))
64472
+ children: l?.map((q) => /* @__PURE__ */ r(st, { value: q, children: q }, q))
64473
64473
  }
64474
64474
  )
64475
64475
  }
@@ -64503,7 +64503,7 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64503
64503
  {
64504
64504
  className: "pf-v5-u-w-100",
64505
64505
  value: $.value,
64506
- onChange: (V, Q) => $.onChange(Q),
64506
+ onChange: (q, Q) => $.onChange(Q),
64507
64507
  inputProps: { id: "kc-dateFrom" }
64508
64508
  }
64509
64509
  )
@@ -64527,7 +64527,7 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64527
64527
  {
64528
64528
  className: "pf-v5-u-w-100",
64529
64529
  value: $.value,
64530
- onChange: (V, Q) => $.onChange(Q),
64530
+ onChange: (q, Q) => $.onChange(Q),
64531
64531
  inputProps: { id: "kc-dateTo" }
64532
64532
  }
64533
64533
  )
@@ -64562,23 +64562,23 @@ const Pre = We(() => Promise.resolve().then(() => Ww)), dM = {
64562
64562
  }
64563
64563
  ) }),
64564
64564
  /* @__PURE__ */ r(kt, { children: Object.entries(b).length > 0 && /* @__PURE__ */ r("div", { className: "keycloak__searchChips pf-v5-u-ml-md", children: Object.entries(b).map(($) => {
64565
- const [V, Q] = $;
64566
- return V === "resourcePath" && e ? null : /* @__PURE__ */ r(
64565
+ const [q, Q] = $;
64566
+ return q === "resourcePath" && e ? null : /* @__PURE__ */ r(
64567
64567
  Gn,
64568
64568
  {
64569
64569
  className: "pf-v5-u-mt-md pf-v5-u-mr-md",
64570
- categoryName: x[V],
64571
- onClick: () => q(V),
64570
+ categoryName: x[q],
64571
+ onClick: () => V(q),
64572
64572
  children: typeof Q == "string" ? /* @__PURE__ */ r(on, { isReadOnly: !0, children: Q }) : Q.map((oe) => /* @__PURE__ */ r(
64573
64573
  on,
64574
64574
  {
64575
- onClick: () => W(V, oe),
64575
+ onClick: () => W(q, oe),
64576
64576
  children: oe
64577
64577
  },
64578
64578
  oe
64579
64579
  ))
64580
64580
  },
64581
- V
64581
+ q
64582
64582
  );
64583
64583
  }) }) })
64584
64584
  ]
@@ -68247,7 +68247,7 @@ const rie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
68247
68247
  ] })
68248
68248
  ] });
68249
68249
  }, vie = We(
68250
- () => import("./PermissionDetails-BW_lN8ii.js")
68250
+ () => import("./PermissionDetails-DxeSTYxA.js")
68251
68251
  ), Ow = {
68252
68252
  path: "/:realm/clients/:id/authorization/permission/new/:permissionType",
68253
68253
  element: /* @__PURE__ */ r(vie, {}),
@@ -68263,7 +68263,7 @@ const rie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
68263
68263
  return {
68264
68264
  pathname: ot(t, e)
68265
68265
  };
68266
- }, Eie = We(() => import("./ResourceDetails-DmjAj-MN.js")), vM = {
68266
+ }, Eie = We(() => import("./ResourceDetails-Bn6Uim5l.js")), vM = {
68267
68267
  path: "/:realm/clients/:id/authorization/resource/new",
68268
68268
  element: /* @__PURE__ */ r(Eie, {}),
68269
68269
  breadcrumb: (e) => e("createResource"),
@@ -68272,7 +68272,7 @@ const rie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
68272
68272
  }
68273
68273
  }, VO = (e) => ({
68274
68274
  pathname: ot(vM.path, e)
68275
- }), Sie = We(() => import("./ResourceDetails-DmjAj-MN.js")), Rw = {
68275
+ }), Sie = We(() => import("./ResourceDetails-Bn6Uim5l.js")), Rw = {
68276
68276
  path: "/:realm/clients/:id/authorization/resource",
68277
68277
  element: /* @__PURE__ */ r(Sie, {}),
68278
68278
  breadcrumb: (e) => e("resourceDetails"),
@@ -68292,7 +68292,7 @@ const rie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
68292
68292
  pathname: ot(t, e)
68293
68293
  };
68294
68294
  }, Tie = We(
68295
- () => import("./PermissionDetails-BW_lN8ii.js")
68295
+ () => import("./PermissionDetails-DxeSTYxA.js")
68296
68296
  ), SM = {
68297
68297
  path: "/:realm/clients/:id/authorization/permission/:permissionType/:permissionId",
68298
68298
  element: /* @__PURE__ */ r(Tie, {}),
@@ -68306,7 +68306,7 @@ const rie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
68306
68306
  }
68307
68307
  }, Ho = (e) => ({
68308
68308
  pathname: ot(SM.path, e)
68309
- }), Cie = We(() => import("./ScopeDetails-CmZtEhXo.js")), Lw = {
68309
+ }), Cie = We(() => import("./ScopeDetails-BCjTo6cS.js")), Lw = {
68310
68310
  path: "/:realm/clients/:id/authorization/scope",
68311
68311
  element: /* @__PURE__ */ r(Cie, {}),
68312
68312
  breadcrumb: (e) => e("authorizationScopeDetails"),
@@ -68601,7 +68601,7 @@ const wie = ({ id: e, clientId: t, uris: n }) => {
68601
68601
  isExpanded: I.isExpanded,
68602
68602
  onToggle: (C, P) => {
68603
68603
  const H = c.map(
68604
- (j, q) => q === P ? {
68604
+ (j, V) => V === P ? {
68605
68605
  ...j,
68606
68606
  isExpanded: !j.isExpanded
68607
68607
  } : j
@@ -68706,7 +68706,7 @@ const wie = ({ id: e, clientId: t, uris: n }) => {
68706
68706
  }
68707
68707
  )
68708
68708
  ] });
68709
- }, Aie = We(() => import("./ScopeDetails-CmZtEhXo.js")), _M = {
68709
+ }, Aie = We(() => import("./ScopeDetails-BCjTo6cS.js")), _M = {
68710
68710
  path: "/:realm/clients/:id/authorization/scope/new",
68711
68711
  element: /* @__PURE__ */ r(Aie, {}),
68712
68712
  breadcrumb: (e) => e("createAuthorizationScope"),
@@ -69122,7 +69122,7 @@ const Die = We(
69122
69122
  B.flat().filter(
69123
69123
  ($) => typeof $ != "string"
69124
69124
  ).map(C).filter(
69125
- ({ id: $ }, V, Q) => V === Q.findIndex(({ id: oe }) => $ === oe)
69125
+ ({ id: $ }, q, Q) => q === Q.findIndex(({ id: oe }) => $ === oe)
69126
69126
  )
69127
69127
  );
69128
69128
  },
@@ -69158,7 +69158,7 @@ const Die = We(
69158
69158
  realm: l,
69159
69159
  id: t,
69160
69160
  resourceId: z.id
69161
- }), q = () => m.map((z) => /* @__PURE__ */ r(st, { value: z.id, children: z.name }, z.id)), W = (z) => /* @__PURE__ */ r(Gn, { children: R?.map((B) => /* @__PURE__ */ r(
69161
+ }), V = () => m.map((z) => /* @__PURE__ */ r(st, { value: z.id, children: z.name }, z.id)), W = (z) => /* @__PURE__ */ r(Gn, { children: R?.map((B) => /* @__PURE__ */ r(
69162
69162
  on,
69163
69163
  {
69164
69164
  onClick: () => {
@@ -69204,7 +69204,7 @@ const Die = We(
69204
69204
  toggleId: e,
69205
69205
  variant: a,
69206
69206
  onToggle: (B) => v(B),
69207
- onFilter: (B) => (b(B), q()),
69207
+ onFilter: (B) => (b(B), V()),
69208
69208
  onClear: () => {
69209
69209
  z.onChange([]), b("");
69210
69210
  },
@@ -69212,10 +69212,10 @@ const Die = We(
69212
69212
  onSelect: (B) => {
69213
69213
  const $ = B.toString();
69214
69214
  if (a === $t.typeaheadMulti) {
69215
- const V = z.value?.find(
69215
+ const q = z.value?.find(
69216
69216
  (Q) => Q === $
69217
69217
  ) ? z.value.filter((Q) => Q !== $) : [...z.value, $];
69218
- z.onChange(V);
69218
+ z.onChange(q);
69219
69219
  } else
69220
69220
  z.onChange([$]);
69221
69221
  b("");
@@ -69238,7 +69238,7 @@ const Die = We(
69238
69238
  children: c("createPolicy")
69239
69239
  }
69240
69240
  ) : void 0,
69241
- children: q()
69241
+ children: V()
69242
69242
  }
69243
69243
  )
69244
69244
  }
@@ -70690,10 +70690,10 @@ const Xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70690
70690
  rowIndex: P,
70691
70691
  isExpanded: C.isExpanded,
70692
70692
  onToggle: (H, j) => {
70693
- const q = c.map(
70693
+ const V = c.map(
70694
70694
  (W, z) => z === j ? { ...W, isExpanded: !W.isExpanded } : W
70695
70695
  );
70696
- d(q);
70696
+ d(V);
70697
70697
  }
70698
70698
  }
70699
70699
  }
@@ -70939,7 +70939,7 @@ const Xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70939
70939
  const P = {
70940
70940
  first: 0,
70941
70941
  max: 1
70942
- }, [H, j, q] = await Promise.all([
70942
+ }, [H, j, V] = await Promise.all([
70943
70943
  n.clients.listPolicyProviders({
70944
70944
  id: e
70945
70945
  }),
@@ -70951,7 +70951,7 @@ const Xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70951
70951
  (W) => W.type === "resource" || W.type === "scope"
70952
70952
  ),
70953
70953
  resources: j.length !== 1,
70954
- scopes: q.length !== 1
70954
+ scopes: V.length !== 1
70955
70955
  };
70956
70956
  },
70957
70957
  ({ policies: P, resources: H, scopes: j }) => {
@@ -71087,9 +71087,9 @@ const Xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71087
71087
  expand: {
71088
71088
  rowIndex: H,
71089
71089
  isExpanded: P.isExpanded,
71090
- onToggle: (j, q) => {
71090
+ onToggle: (j, V) => {
71091
71091
  const W = c.map(
71092
- (z, B) => B === q ? { ...z, isExpanded: !z.isExpanded } : z
71092
+ (z, B) => B === V ? { ...z, isExpanded: !z.isExpanded } : z
71093
71093
  );
71094
71094
  d(W);
71095
71095
  }
@@ -74125,8 +74125,8 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74125
74125
  }) => {
74126
74126
  const { adminClient: i } = Ce(), s = Kn(), { t: o } = K(), { addAlert: l, addError: c } = De(), { realm: d } = Oe(), u = ka(), [p, f] = M("name"), [m, g] = M(
74127
74127
  xr.none
74128
- ), [h, b] = M(!1), [y, v] = M(), [S, _] = M([]), T = (q) => _(q.filter(({ id: W }) => W !== Up)), [A, k] = M(!1), [O, x] = M(0), R = () => x(O + 1), D = (q) => q.id === Up, { hasAccess: I } = Gt(), N = I("manage-clients") || a, C = I("view-clients") || a, P = async (q, W, z) => {
74129
- const B = await i.clients.listDefaultClientScopes({ id: e }), $ = await i.clients.listOptionalClientScopes({ id: e }), V = await i.clientScopes.find(), Q = (pe) => V.find((ke) => pe === ke.id), oe = $.map((pe) => {
74128
+ ), [h, b] = M(!1), [y, v] = M(), [S, _] = M([]), T = (V) => _(V.filter(({ id: W }) => W !== Up)), [A, k] = M(!1), [O, x] = M(0), R = () => x(O + 1), D = (V) => V.id === Up, { hasAccess: I } = Gt(), N = I("manage-clients") || a, C = I("view-clients") || a, P = async (V, W, z) => {
74129
+ const B = await i.clients.listDefaultClientScopes({ id: e }), $ = await i.clients.listOptionalClientScopes({ id: e }), q = await i.clientScopes.find(), Q = (pe) => q.find((ke) => pe === ke.id), oe = $.map((pe) => {
74130
74130
  const ke = Q(pe.id);
74131
74131
  return {
74132
74132
  ...pe,
@@ -74144,7 +74144,7 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74144
74144
  let xe = [...oe, ...me];
74145
74145
  const Se = xe.map((pe) => pe.name), Ne = t === Ao ? s(Wt.OpenId4VCI) ? [Ao, bM] : [Ao] : [t];
74146
74146
  v(
74147
- V.filter((pe) => !Se.includes(pe.name)).filter(
74147
+ q.filter((pe) => !Se.includes(pe.name)).filter(
74148
74148
  (pe) => pe.protocol && Ne.includes(pe.protocol)
74149
74149
  )
74150
74150
  ), xe = u(xe, Rr("name")), C && xe.unshift({
@@ -74153,7 +74153,7 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74153
74153
  type: xr.none,
74154
74154
  description: o("dedicatedScopeDescription")
74155
74155
  });
74156
- const be = p === "name" ? aM(z) : rM(m), we = Number(q);
74156
+ const be = p === "name" ? aM(z) : rM(m), we = Number(V);
74157
74157
  return xe.filter(be).slice(we, we + Number(W));
74158
74158
  }, [H, j] = rt({
74159
74159
  titleKey: o("deleteClientScope", {
@@ -74171,8 +74171,8 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74171
74171
  S[0],
74172
74172
  S[0].type
74173
74173
  ), l(o("clientScopeRemoveSuccess"), _e.success), R();
74174
- } catch (q) {
74175
- c("clientScopeRemoveError", q);
74174
+ } catch (V) {
74175
+ c("clientScopeRemoveError", V);
74176
74176
  }
74177
74177
  }
74178
74178
  });
@@ -74184,10 +74184,10 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74184
74184
  clientName: n,
74185
74185
  open: h,
74186
74186
  toggleDialog: () => b(!h),
74187
- onAdd: async (q) => {
74187
+ onAdd: async (V) => {
74188
74188
  try {
74189
74189
  await Promise.all(
74190
- q.map(
74190
+ V.map(
74191
74191
  async (W) => await J3(
74192
74192
  i,
74193
74193
  e,
@@ -74211,12 +74211,12 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74211
74211
  canSelectAll: !0,
74212
74212
  isPaginated: !0,
74213
74213
  isSearching: p === "type",
74214
- onSelect: (q) => T([...q]),
74214
+ onSelect: (V) => T([...V]),
74215
74215
  searchTypeComponent: /* @__PURE__ */ r(
74216
74216
  Am,
74217
74217
  {
74218
74218
  searchType: p,
74219
- onSelect: (q) => f(q)
74219
+ onSelect: (V) => f(V)
74220
74220
  }
74221
74221
  ),
74222
74222
  toolbarItem: /* @__PURE__ */ w(ne, { children: [
@@ -74225,9 +74225,9 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74225
74225
  {
74226
74226
  searchType: p,
74227
74227
  type: m,
74228
- onSelect: (q) => f(q),
74229
- onType: (q) => {
74230
- g(q), R();
74228
+ onSelect: (V) => f(V),
74229
+ onType: (V) => {
74230
+ g(V), R();
74231
74231
  }
74232
74232
  }
74233
74233
  ),
@@ -74245,13 +74245,13 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74245
74245
  /* @__PURE__ */ r(Ke, { children: /* @__PURE__ */ r(
74246
74246
  En,
74247
74247
  {
74248
- onOpenChange: (q) => k(q),
74249
- toggle: (q) => /* @__PURE__ */ r(
74248
+ onOpenChange: (V) => k(V),
74249
+ toggle: (V) => /* @__PURE__ */ r(
74250
74250
  Pt,
74251
74251
  {
74252
74252
  "data-testid": "kebab",
74253
74253
  "aria-label": "Kebab toggle",
74254
- ref: q,
74254
+ ref: V,
74255
74255
  variant: "plain",
74256
74256
  onClick: () => k(!A),
74257
74257
  isExpanded: A,
@@ -74267,16 +74267,16 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74267
74267
  try {
74268
74268
  await Promise.all(
74269
74269
  S.map(
74270
- (q) => Pv(
74270
+ (V) => Pv(
74271
74271
  i,
74272
74272
  e,
74273
- { ...q },
74274
- q.type
74273
+ { ...V },
74274
+ V.type
74275
74275
  )
74276
74276
  )
74277
74277
  ), k(!1), T([]), l(o("clientScopeRemoveSuccess")), R();
74278
- } catch (q) {
74279
- c("clientScopeRemoveError", q);
74278
+ } catch (V) {
74279
+ c("clientScopeRemoveError", V);
74280
74280
  }
74281
74281
  },
74282
74282
  children: o("remove")
@@ -74291,19 +74291,19 @@ const Bse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74291
74291
  {
74292
74292
  name: "name",
74293
74293
  displayKey: "assignedClientScope",
74294
- cellRenderer: (q) => D(q) ? /* @__PURE__ */ r(Ye, { to: Im({ realm: d, clientId: e }), children: q.name }) : q.name
74294
+ cellRenderer: (V) => D(V) ? /* @__PURE__ */ r(Ye, { to: Im({ realm: d, clientId: e }), children: V.name }) : V.name
74295
74295
  },
74296
74296
  {
74297
74297
  name: "type",
74298
74298
  displayKey: "assignedType",
74299
- cellRenderer: (q) => /* @__PURE__ */ r(Hse, { clientId: e, refresh: R, ...q })
74299
+ cellRenderer: (V) => /* @__PURE__ */ r(Hse, { clientId: e, refresh: R, ...V })
74300
74300
  },
74301
74301
  { name: "description", cellFormatters: [Fs(o)] }
74302
74302
  ],
74303
74303
  actions: N ? [
74304
74304
  {
74305
74305
  title: o("remove"),
74306
- onRowClick: async (q) => (T([q]), H(), !0)
74306
+ onRowClick: async (V) => (T([V]), H(), !0)
74307
74307
  }
74308
74308
  ] : [],
74309
74309
  emptyState: /* @__PURE__ */ r(
@@ -74599,38 +74599,38 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74599
74599
  }, Wse = ({ clientId: e, protocol: t }) => {
74600
74600
  const { adminClient: n } = Ce(), a = "openid", { t: i } = K(), { enabled: s } = ni(), { realm: o } = Oe(), l = Ht().protocolMapperTypes[t], [c, d] = M([]), [u, p] = M(!1), [f, m] = M([a]), [g, h] = M(0), [b, y] = M(""), v = () => y(`${(/* @__PURE__ */ new Date()).getTime()}`), [S, _] = M(
74601
74601
  []
74602
- ), [T, A] = M([]), [k, O] = M(""), [x, R] = M(""), [D, I] = M(""), N = un(null), C = un(null), P = un(null), H = un(null), j = un(null), q = it(), { watch: W } = q, z = W("targetAudience"), { hasAccess: B } = Gt(), $ = B("view-users");
74602
+ ), [T, A] = M([]), [k, O] = M(""), [x, R] = M(""), [D, I] = M(""), N = un(null), C = un(null), P = un(null), H = un(null), j = un(null), V = it(), { watch: W } = V, z = W("targetAudience"), { hasAccess: B } = Gt(), $ = B("view-users");
74603
74603
  return ze(
74604
74604
  () => n.clients.listOptionalClientScopes({ id: e }),
74605
- (V) => d(V),
74605
+ (q) => d(q),
74606
74606
  []
74607
74607
  ), ze(
74608
74608
  async () => {
74609
- const V = f.join(" "), Q = await n.clients.evaluatePermission({
74609
+ const q = f.join(" "), Q = await n.clients.evaluatePermission({
74610
74610
  id: e,
74611
74611
  roleContainer: o,
74612
- scope: V,
74612
+ scope: q,
74613
74613
  type: "granted"
74614
74614
  });
74615
74615
  return {
74616
74616
  mapperList: await n.clients.evaluateListProtocolMapper({
74617
74617
  id: e,
74618
- scope: V
74618
+ scope: q
74619
74619
  }),
74620
74620
  effectiveRoles: Q
74621
74621
  };
74622
74622
  },
74623
- ({ mapperList: V, effectiveRoles: Q }) => {
74624
- _(Q), V.map((oe) => {
74623
+ ({ mapperList: q, effectiveRoles: Q }) => {
74624
+ _(Q), q.map((oe) => {
74625
74625
  oe.type = l.find(
74626
74626
  (me) => me.id === oe.protocolMapper
74627
74627
  );
74628
- }), A(V), v();
74628
+ }), A(q), v();
74629
74629
  },
74630
74630
  [f]
74631
74631
  ), ze(
74632
74632
  async () => {
74633
- const V = f.join(" "), Q = q.getValues("user");
74633
+ const q = f.join(" "), Q = V.getValues("user");
74634
74634
  if (Q.length === 0)
74635
74635
  return [];
74636
74636
  const oe = z.join(" ");
@@ -74638,25 +74638,25 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74638
74638
  n.clients.evaluateGenerateAccessToken({
74639
74639
  id: e,
74640
74640
  userId: Q[0],
74641
- scope: V,
74641
+ scope: q,
74642
74642
  audience: oe
74643
74643
  }),
74644
74644
  n.clients.evaluateGenerateUserInfo({
74645
74645
  id: e,
74646
74646
  userId: Q[0],
74647
- scope: V
74647
+ scope: q
74648
74648
  }),
74649
74649
  n.clients.evaluateGenerateIdToken({
74650
74650
  id: e,
74651
74651
  userId: Q[0],
74652
- scope: V
74652
+ scope: q
74653
74653
  })
74654
74654
  ]);
74655
74655
  },
74656
- ([V, Q, oe]) => {
74657
- O(cr(V)), R(cr(Q)), I(cr(oe));
74656
+ ([q, Q, oe]) => {
74657
+ O(cr(q)), R(cr(Q)), I(cr(oe));
74658
74658
  },
74659
- [q.getValues("user"), f, z]
74659
+ [V.getValues("user"), f, z]
74660
74660
  ), /* @__PURE__ */ w(ne, { children: [
74661
74661
  /* @__PURE__ */ w($e, { variant: "light", children: [
74662
74662
  s && /* @__PURE__ */ r(qt, { className: "keycloak__section_intro__help", children: /* @__PURE__ */ w(ct, { children: [
@@ -74687,20 +74687,20 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74687
74687
  onToggle: () => p(!u),
74688
74688
  isOpen: u,
74689
74689
  selections: f,
74690
- onSelect: (V) => {
74691
- const Q = V;
74690
+ onSelect: (q) => {
74691
+ const Q = q;
74692
74692
  f.includes(Q) ? Q !== a && m(f.filter((oe) => oe !== Q)) : m([...f, Q]);
74693
74693
  },
74694
74694
  "aria-labelledby": i("scopeParameter"),
74695
74695
  placeholderText: i("scopeParameterPlaceholder"),
74696
- children: c.map((V, Q) => /* @__PURE__ */ r(st, { value: V.name, children: V.name }, Q))
74696
+ children: c.map((q, Q) => /* @__PURE__ */ r(st, { value: q.name, children: q.name }, Q))
74697
74697
  }
74698
74698
  ) }),
74699
74699
  /* @__PURE__ */ r(ln, { children: /* @__PURE__ */ r(ji, { className: "keycloak__scopes_evaluate__clipboard-copy", children: f.join(" ") }) })
74700
74700
  ] })
74701
74701
  }
74702
74702
  ),
74703
- $ && /* @__PURE__ */ r(tt, { ...q, children: /* @__PURE__ */ r(
74703
+ $ && /* @__PURE__ */ r(tt, { ...V, children: /* @__PURE__ */ r(
74704
74704
  Wu,
74705
74705
  {
74706
74706
  name: "user",
@@ -74711,7 +74711,7 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74711
74711
  isRequired: !0
74712
74712
  }
74713
74713
  ) }),
74714
- /* @__PURE__ */ r(tt, { ...q, children: /* @__PURE__ */ r(
74714
+ /* @__PURE__ */ r(tt, { ...V, children: /* @__PURE__ */ r(
74715
74715
  ku,
74716
74716
  {
74717
74717
  name: "targetAudience",
@@ -74759,7 +74759,7 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74759
74759
  dy,
74760
74760
  {
74761
74761
  text: k,
74762
- user: q.getValues("user"),
74762
+ user: V.getValues("user"),
74763
74763
  label: "generatedAccessToken"
74764
74764
  }
74765
74765
  )
@@ -74777,7 +74777,7 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74777
74777
  dy,
74778
74778
  {
74779
74779
  text: D,
74780
- user: q.getValues("user"),
74780
+ user: V.getValues("user"),
74781
74781
  label: "generatedIdToken"
74782
74782
  }
74783
74783
  )
@@ -74795,7 +74795,7 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74795
74795
  dy,
74796
74796
  {
74797
74797
  text: x,
74798
- user: q.getValues("user"),
74798
+ user: V.getValues("user"),
74799
74799
  label: "generatedUserInfo"
74800
74800
  }
74801
74801
  )
@@ -74808,7 +74808,7 @@ const Vse = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74808
74808
  id: "tabs",
74809
74809
  isVertical: !0,
74810
74810
  activeKey: g,
74811
- onSelect: (V, Q) => h(Q),
74811
+ onSelect: (q, Q) => h(Q),
74812
74812
  children: [
74813
74813
  /* @__PURE__ */ r(
74814
74814
  Be,
@@ -75691,19 +75691,19 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75691
75691
  } = T;
75692
75692
  ze(
75693
75693
  () => n.realms.getConfigEvents({ realm: s }),
75694
- (q) => {
75695
- b(q?.eventsEnabled), g(i(q?.enabledEventTypes || [], (W) => W));
75694
+ (V) => {
75695
+ b(V?.eventsEnabled), g(i(V?.enabledEventTypes || [], (W) => W));
75696
75696
  },
75697
75697
  []
75698
75698
  );
75699
- function D(q, W) {
75699
+ function D(V, W) {
75700
75700
  return n.realms.findEvents({
75701
75701
  client: t,
75702
75702
  user: e,
75703
75703
  // The admin client wants 'dateFrom' and 'dateTo' to be Date objects, however it cannot actually handle them so we need to cast to any.
75704
75704
  ...y,
75705
75705
  realm: s,
75706
- first: q,
75706
+ first: V,
75707
75707
  max: W
75708
75708
  });
75709
75709
  }
@@ -75713,20 +75713,20 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75713
75713
  function N() {
75714
75714
  k(), H();
75715
75715
  }
75716
- function C(q) {
75716
+ function C(V) {
75717
75717
  const W = { ...A() };
75718
- delete W[q], k({ ...S, ...W }), H();
75718
+ delete W[V], k({ ...S, ...W }), H();
75719
75719
  }
75720
- function P(q, W) {
75721
- const z = A(), B = z[q], $ = Array.isArray(B) ? B.filter((V) => V !== W) : B;
75722
- k({ ...z, [q]: $ }), H();
75720
+ function P(V, W) {
75721
+ const z = A(), B = z[V], $ = Array.isArray(B) ? B.filter((q) => q !== W) : B;
75722
+ k({ ...z, [V]: $ }), H();
75723
75723
  }
75724
75724
  function H() {
75725
- const q = i0(
75725
+ const V = i0(
75726
75726
  A(),
75727
75727
  (W) => W !== "" || Array.isArray(W) && W.length > 0
75728
75728
  );
75729
- e && delete q.user, t && delete q.client, v(q), c(l + 1);
75729
+ e && delete V.user, t && delete V.client, v(V), c(l + 1);
75730
75730
  }
75731
75731
  return /* @__PURE__ */ w(ne, { children: [
75732
75732
  !h && /* @__PURE__ */ r(cM, { type: "userEvents" }),
@@ -75737,7 +75737,7 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75737
75737
  detailColumns: [
75738
75738
  {
75739
75739
  name: "details",
75740
- enabled: (q) => q.details !== void 0,
75740
+ enabled: (V) => V.details !== void 0,
75741
75741
  cellRenderer: loe
75742
75742
  }
75743
75743
  ],
@@ -75784,7 +75784,7 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75784
75784
  {
75785
75785
  name: "type",
75786
75786
  control: x,
75787
- render: ({ field: q }) => /* @__PURE__ */ r(
75787
+ render: ({ field: V }) => /* @__PURE__ */ r(
75788
75788
  Xt,
75789
75789
  {
75790
75790
  className: "keycloak__events_search__type_select",
@@ -75797,24 +75797,24 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75797
75797
  variant: $t.typeaheadMulti,
75798
75798
  typeAheadAriaLabel: "Select",
75799
75799
  onToggle: (W) => f(W),
75800
- selections: q.value,
75800
+ selections: V.value,
75801
75801
  onSelect: (W) => {
75802
- const z = W.toString(), B = q.value.includes(z) ? q.value.filter(
75802
+ const z = W.toString(), B = V.value.includes(z) ? V.value.filter(
75803
75803
  ($) => $ !== z
75804
- ) : [...q.value, z];
75805
- q.onChange(B);
75804
+ ) : [...V.value, z];
75805
+ V.onChange(B);
75806
75806
  },
75807
75807
  onClear: () => {
75808
- q.onChange([]);
75808
+ V.onChange([]);
75809
75809
  },
75810
75810
  isOpen: p,
75811
75811
  "aria-labelledby": "eventType",
75812
- chipGroupComponent: /* @__PURE__ */ r(Gn, { children: q.value.map((W) => /* @__PURE__ */ r(
75812
+ chipGroupComponent: /* @__PURE__ */ r(Gn, { children: V.value.map((W) => /* @__PURE__ */ r(
75813
75813
  on,
75814
75814
  {
75815
75815
  onClick: (z) => {
75816
- z.stopPropagation(), q.onChange(
75817
- q.value.filter(
75816
+ z.stopPropagation(), V.onChange(
75817
+ V.value.filter(
75818
75818
  (B) => B !== W
75819
75819
  )
75820
75820
  );
@@ -75849,12 +75849,12 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75849
75849
  {
75850
75850
  name: "dateFrom",
75851
75851
  control: x,
75852
- render: ({ field: q }) => /* @__PURE__ */ r(
75852
+ render: ({ field: V }) => /* @__PURE__ */ r(
75853
75853
  Jl,
75854
75854
  {
75855
75855
  className: "pf-v5-u-w-100",
75856
- value: q.value,
75857
- onChange: (W, z) => q.onChange(z),
75856
+ value: V.value,
75857
+ onChange: (W, z) => V.onChange(z),
75858
75858
  inputProps: { id: "kc-dateFrom" }
75859
75859
  }
75860
75860
  )
@@ -75873,12 +75873,12 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75873
75873
  {
75874
75874
  name: "dateTo",
75875
75875
  control: x,
75876
- render: ({ field: q }) => /* @__PURE__ */ r(
75876
+ render: ({ field: V }) => /* @__PURE__ */ r(
75877
75877
  Jl,
75878
75878
  {
75879
75879
  className: "pf-v5-u-w-100",
75880
- value: q.value,
75881
- onChange: (W, z) => q.onChange(z),
75880
+ value: V.value,
75881
+ onChange: (W, z) => V.onChange(z),
75882
75882
  inputProps: { id: "kc-dateTo" }
75883
75883
  }
75884
75884
  )
@@ -75920,8 +75920,8 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75920
75920
  )
75921
75921
  }
75922
75922
  ) }),
75923
- /* @__PURE__ */ r(kt, { children: Object.entries(y).length > 0 && /* @__PURE__ */ r("div", { className: "keycloak__searchChips pf-v5-u-ml-md", children: Object.entries(y).map((q) => {
75924
- const [W, z] = q;
75923
+ /* @__PURE__ */ r(kt, { children: Object.entries(y).length > 0 && /* @__PURE__ */ r("div", { className: "keycloak__searchChips pf-v5-u-ml-md", children: Object.entries(y).map((V) => {
75924
+ const [W, z] = V;
75925
75925
  return W === "user" && e || W === "client" && t ? null : /* @__PURE__ */ r(
75926
75926
  Gn,
75927
75927
  {
@@ -75948,7 +75948,7 @@ const Wme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
75948
75948
  {
75949
75949
  name: "time",
75950
75950
  displayKey: "time",
75951
- cellRenderer: (q) => o(new Date(q.time), ru)
75951
+ cellRenderer: (V) => o(new Date(V.time), ru)
75952
75952
  },
75953
75953
  ...e ? [] : [
75954
75954
  {
@@ -76070,7 +76070,7 @@ function uoe() {
76070
76070
  realm: i,
76071
76071
  clientId: S,
76072
76072
  tab: U
76073
- }), N = bt(I("settings")), C = bt(I("keys")), P = bt(I("credentials")), H = bt(I("roles")), j = bt(I("clientScopes")), q = bt(I("authorization")), W = bt(I("serviceAccount")), z = bt(I("sessions")), B = bt(I("permissions")), $ = bt(I("advanced")), V = bt(I("events")), [Q, oe] = M("userEvents"), me = (U) => dR({
76073
+ }), N = bt(I("settings")), C = bt(I("keys")), P = bt(I("credentials")), H = bt(I("roles")), j = bt(I("clientScopes")), V = bt(I("authorization")), W = bt(I("serviceAccount")), z = bt(I("sessions")), B = bt(I("permissions")), $ = bt(I("advanced")), q = bt(I("events")), [Q, oe] = M("userEvents"), me = (U) => dR({
76074
76074
  realm: i,
76075
76075
  clientId: S,
76076
76076
  tab: U
@@ -76347,7 +76347,7 @@ function uoe() {
76347
76347
  id: "authorization",
76348
76348
  "data-testid": "authorizationTab",
76349
76349
  title: /* @__PURE__ */ r(He, { children: t("authorization") }),
76350
- ...q,
76350
+ ...V,
76351
76351
  children: /* @__PURE__ */ w(
76352
76352
  na,
76353
76353
  {
@@ -76503,7 +76503,7 @@ function uoe() {
76503
76503
  {
76504
76504
  "data-testid": "events-tab",
76505
76505
  title: /* @__PURE__ */ r(He, { children: t("events") }),
76506
- ...V,
76506
+ ...q,
76507
76507
  children: /* @__PURE__ */ w(
76508
76508
  xa,
76509
76509
  {
@@ -77293,11 +77293,15 @@ const Zoe = ({ children: e }) => {
77293
77293
  }, Qoe = ({ children: e }) => /* @__PURE__ */ r(uX, { children: /* @__PURE__ */ r(sP, { fallback: c4, children: /* @__PURE__ */ r(IX, { children: /* @__PURE__ */ r(pZ, { children: /* @__PURE__ */ r(fZ, { children: /* @__PURE__ */ r(Yoe, { children: /* @__PURE__ */ r(hZ, { children: /* @__PURE__ */ r(Coe, { children: e }) }) }) }) }) }) }) }), Xme = () => {
77294
77294
  const { keycloak: e, environment: t } = Ga(), [n, a] = M();
77295
77295
  return ft(() => {
77296
+ if (window.location.href.endsWith("#/")) {
77297
+ const o = window.location.pathname.replace("#/", "");
77298
+ window.history.replaceState(null, "", o);
77299
+ }
77296
77300
  (async () => {
77297
- const s = await gX(e, t);
77298
- a(s);
77301
+ const o = await gX(e, t);
77302
+ a(o);
77299
77303
  })().catch(console.error);
77300
- }, []), n ? /* @__PURE__ */ r(dP.Provider, { value: { keycloak: e, adminClient: n }, children: /* @__PURE__ */ r(Qoe, { children: /* @__PURE__ */ w(
77304
+ }, [t, e]), n ? /* @__PURE__ */ r(dP.Provider, { value: { keycloak: e, adminClient: n }, children: /* @__PURE__ */ r(Qoe, { children: /* @__PURE__ */ w(
77301
77305
  Fn,
77302
77306
  {
77303
77307
  direction: { default: "column" },
@@ -77408,14 +77412,14 @@ const Zoe = ({ children: e }) => {
77408
77412
  handle: {
77409
77413
  access: "manage-identity-providers"
77410
77414
  }
77411
- }, mle = We(() => import("./AddSpiffeConnect-RhW-jzlK.js")), fle = {
77415
+ }, mle = We(() => import("./AddSpiffeConnect-NfHagx80.js")), fle = {
77412
77416
  path: "/:realm/identity-providers/spiffe/add",
77413
77417
  element: /* @__PURE__ */ r(mle, {}),
77414
77418
  breadcrumb: (e) => e("addSpiffeProvider"),
77415
77419
  handle: {
77416
77420
  access: "manage-identity-providers"
77417
77421
  }
77418
- }, hle = We(() => import("./AddKubernetesConnect-Bc_kTuYx.js")), gle = {
77422
+ }, hle = We(() => import("./AddKubernetesConnect--zBiT7am.js")), gle = {
77419
77423
  path: "/:realm/identity-providers/kubernetes/add",
77420
77424
  element: /* @__PURE__ */ r(hle, {}),
77421
77425
  breadcrumb: (e) => e("addKubernetesProvider"),
@@ -77460,7 +77464,7 @@ const Zoe = ({ children: e }) => {
77460
77464
  }
77461
77465
  }, fR = (e) => ({
77462
77466
  pathname: ot(b4.path, e)
77463
- }), Sle = We(() => import("./AddOAuth2-BEs8BWjo.js")), Tle = {
77467
+ }), Sle = We(() => import("./AddOAuth2-BLRNGQKN.js")), Tle = {
77464
77468
  path: "/:realm/identity-providers/oauth2/add",
77465
77469
  element: /* @__PURE__ */ r(Sle, {}),
77466
77470
  breadcrumb: (e) => e("addOAuth2Provider"),
@@ -77468,7 +77472,7 @@ const Zoe = ({ children: e }) => {
77468
77472
  access: "manage-identity-providers"
77469
77473
  }
77470
77474
  }, Cle = We(
77471
- () => import("./AddJWTAuthorizationGrant-BxV7hzzZ.js")
77475
+ () => import("./AddJWTAuthorizationGrant-CmYIQF47.js")
77472
77476
  ), _le = {
77473
77477
  path: "/:realm/identity-providers/jwt-authorization-grant/add",
77474
77478
  element: /* @__PURE__ */ r(Cle, {}),
@@ -77489,7 +77493,7 @@ const Zoe = ({ children: e }) => {
77489
77493
  b4,
77490
77494
  p4,
77491
77495
  Tle
77492
- ], Ile = We(() => import("./NewOrganization-BI9VQI6o.js")), y4 = {
77496
+ ], Ile = We(() => import("./NewOrganization-7we_ianL.js")), y4 = {
77493
77497
  path: "/:realm/organizations/new",
77494
77498
  element: /* @__PURE__ */ r(Ile, {}),
77495
77499
  breadcrumb: (e) => e("createOrganization"),
@@ -77515,7 +77519,7 @@ const Zoe = ({ children: e }) => {
77515
77519
  y4,
77516
77520
  pM
77517
77521
  ], Ole = We(
77518
- () => import("./PermissionConfigurationDetails-q-Ms8reY.js")
77522
+ () => import("./PermissionConfigurationDetails-u9MRYXxC.js")
77519
77523
  ), E4 = {
77520
77524
  path: "/:realm/permissions/:permissionClientId/permission/new/:resourceType",
77521
77525
  element: /* @__PURE__ */ r(Ole, {}),
@@ -77526,7 +77530,7 @@ const Zoe = ({ children: e }) => {
77526
77530
  }, py = (e) => ({
77527
77531
  pathname: ot(E4.path, e)
77528
77532
  }), Rle = We(
77529
- () => import("./PermissionConfigurationDetails-q-Ms8reY.js")
77533
+ () => import("./PermissionConfigurationDetails-u9MRYXxC.js")
77530
77534
  ), S4 = {
77531
77535
  path: "/:realm/permissions/:permissionClientId/permission/:permissionId/:resourceType",
77532
77536
  element: /* @__PURE__ */ r(Rle, {}),
@@ -77629,7 +77633,7 @@ const Zoe = ({ children: e }) => {
77629
77633
  }
77630
77634
  }, Wle = (e) => ({
77631
77635
  pathname: ot(x4.path, e)
77632
- }), Yle = We(() => import("./ExecutorForm-ytEjIbpP.js")), A4 = {
77636
+ }), Yle = We(() => import("./ExecutorForm-DHTRUoB1.js")), A4 = {
77633
77637
  path: "/:realm/realm-settings/client-policies/:profileName/add-executor",
77634
77638
  element: /* @__PURE__ */ r(Yle, {}),
77635
77639
  breadcrumb: (e) => e("addExecutor"),
@@ -77696,7 +77700,7 @@ const Zoe = ({ children: e }) => {
77696
77700
  }
77697
77701
  }, rce = (e) => ({
77698
77702
  pathname: ot(D4.path, e)
77699
- }), ice = We(() => import("./ExecutorForm-ytEjIbpP.js")), P4 = {
77703
+ }), ice = We(() => import("./ExecutorForm-DHTRUoB1.js")), P4 = {
77700
77704
  path: "/:realm/realm-settings/client-policies/:profileName/edit-profile/:executorName",
77701
77705
  element: /* @__PURE__ */ r(ice, {}),
77702
77706
  breadcrumb: (e) => e("executorDetails"),
@@ -77774,7 +77778,7 @@ const Zoe = ({ children: e }) => {
77774
77778
  U4,
77775
77779
  N4,
77776
77780
  B4
77777
- ], fce = We(() => import("./RealmSection-D40zPuIt.js")), $4 = {
77781
+ ], fce = We(() => import("./RealmSection-DoqGXY7F.js")), $4 = {
77778
77782
  path: "/:realm/realms",
77779
77783
  element: /* @__PURE__ */ r(fce, {}),
77780
77784
  breadcrumb: (e) => e("realms"),
@@ -77916,7 +77920,7 @@ const Zoe = ({ children: e }) => {
77916
77920
  qw,
77917
77921
  VM,
77918
77922
  _w
77919
- ], Bce = We(() => import("./WorkflowsSection-BfykdcZr.js")), X4 = {
77923
+ ], Bce = We(() => import("./WorkflowsSection-DflIdHaB.js")), X4 = {
77920
77924
  path: "/:realm/workflows",
77921
77925
  element: /* @__PURE__ */ r(Bce, {}),
77922
77926
  breadcrumb: (e) => e("workflows"),
@@ -77925,7 +77929,7 @@ const Zoe = ({ children: e }) => {
77925
77929
  }
77926
77930
  }, Zme = (e) => ({
77927
77931
  pathname: ot(X4.path, e)
77928
- }), Hce = We(() => import("./WorkflowDetailForm-BN-XL1FE.js")), Z4 = {
77932
+ }), Hce = We(() => import("./WorkflowDetailForm-alfgEItU.js")), Z4 = {
77929
77933
  path: "/:realm/workflows/:mode/:id",
77930
77934
  element: /* @__PURE__ */ r(Hce, {}),
77931
77935
  breadcrumb: (e) => e("workflowDetails"),
@@ -78504,20 +78508,20 @@ function Zce() {
78504
78508
  SZ(e),
78505
78509
  e.users.getProfile()
78506
78510
  ]);
78507
- } catch (V) {
78508
- if (V instanceof gc && V?.response?.status === 403)
78511
+ } catch (q) {
78512
+ if (q instanceof gc && q?.response?.status === 403)
78509
78513
  return [{}, {}];
78510
- throw V;
78514
+ throw q;
78511
78515
  }
78512
78516
  },
78513
- ([V, Q]) => {
78514
- c(V), _(Q);
78517
+ ([q, Q]) => {
78518
+ c(q), _(Q);
78515
78519
  },
78516
78520
  []
78517
78521
  );
78518
- const R = async (V, Q, oe) => {
78522
+ const R = async (q, Q, oe) => {
78519
78523
  const me = {
78520
- first: V,
78524
+ first: q,
78521
78525
  max: Q,
78522
78526
  q: T
78523
78527
  }, xe = oe || d || "";
@@ -78538,8 +78542,8 @@ function Zce() {
78538
78542
  onConfirm: async () => {
78539
78543
  try {
78540
78544
  await e.attackDetection.delAll(), x(), n(t("unlockUsersSuccess"), _e.success);
78541
- } catch (V) {
78542
- a("unlockUsersError", V);
78545
+ } catch (q) {
78546
+ a("unlockUsersError", q);
78543
78547
  }
78544
78548
  }
78545
78549
  }), [N, C] = rt({
@@ -78552,11 +78556,11 @@ function Zce() {
78552
78556
  continueButtonVariant: Le.danger,
78553
78557
  onConfirm: async () => {
78554
78558
  try {
78555
- for (const V of p)
78556
- await e.users.del({ id: V.id });
78559
+ for (const q of p)
78560
+ await e.users.del({ id: q.id });
78557
78561
  f([]), j(), n(t("userDeletedSuccess"), _e.success);
78558
- } catch (V) {
78559
- a("userDeletedError", V);
78562
+ } catch (q) {
78563
+ a("userDeletedError", q);
78560
78564
  }
78561
78565
  }
78562
78566
  }), P = () => o(Fce({ realm: i }));
@@ -78564,29 +78568,29 @@ function Zce() {
78564
78568
  return /* @__PURE__ */ r(xt, {});
78565
78569
  const H = !l.userProfileProvidersEnabled, j = () => {
78566
78570
  v({ exact: !1, userAttribute: [] }), u(""), A(""), x();
78567
- }, q = (V) => V.userAttribute.map((Q) => `${Q.name}:${Q.value}`).join(" "), W = () => {
78568
- const V = q(y);
78569
- A(V), x();
78570
- }, z = () => /* @__PURE__ */ r(kt, { children: y.userAttribute.length > 0 && /* @__PURE__ */ r(ne, { children: Object.values(y.userAttribute).map((V) => /* @__PURE__ */ r(
78571
+ }, V = (q) => q.userAttribute.map((Q) => `${Q.name}:${Q.value}`).join(" "), W = () => {
78572
+ const q = V(y);
78573
+ A(q), x();
78574
+ }, z = () => /* @__PURE__ */ r(kt, { children: y.userAttribute.length > 0 && /* @__PURE__ */ r(ne, { children: Object.values(y.userAttribute).map((q) => /* @__PURE__ */ r(
78571
78575
  Gn,
78572
78576
  {
78573
78577
  className: "pf-v5-u-mt-md pf-v5-u-mr-md",
78574
78578
  "data-testid": "user-attribute-search-chips-group",
78575
- categoryName: V.displayName.length ? V.displayName : V.name,
78579
+ categoryName: q.displayName.length ? q.displayName : q.name,
78576
78580
  isClosable: !0,
78577
78581
  onClick: (Q) => {
78578
78582
  Q.stopPropagation();
78579
78583
  const me = {
78580
78584
  userAttribute: [...y.userAttribute].filter(
78581
- (xe) => xe.name !== V.name
78585
+ (xe) => xe.name !== q.name
78582
78586
  ),
78583
78587
  exact: y.exact
78584
78588
  };
78585
- v(me), A(q(me)), x();
78589
+ v(me), A(V(me)), x();
78586
78590
  },
78587
- children: /* @__PURE__ */ r(on, { isReadOnly: !0, children: V.value }, V.name)
78591
+ children: /* @__PURE__ */ r(on, { isReadOnly: !0, children: q.value }, q.name)
78588
78592
  },
78589
- V.name
78593
+ q.name
78590
78594
  )) }) }), B = () => /* @__PURE__ */ r(
78591
78595
  Kce,
78592
78596
  {
@@ -78636,7 +78640,7 @@ function Zce() {
78636
78640
  isPaginated: !0,
78637
78641
  ariaLabelKey: "titleUsers",
78638
78642
  canSelectAll: !0,
78639
- onSelect: (V) => f([...V]),
78643
+ onSelect: (q) => f([...q]),
78640
78644
  emptyState: H ? /* @__PURE__ */ r(
78641
78645
  Tt,
78642
78646
  {
@@ -78651,15 +78655,15 @@ function Zce() {
78651
78655
  ] }),
78652
78656
  toolbarItem: B(),
78653
78657
  subToolbar: $(),
78654
- actionResolver: (V) => [
78658
+ actionResolver: (q) => [
78655
78659
  {
78656
78660
  title: t("delete"),
78657
78661
  onClick: () => {
78658
- f([V.data]), N();
78662
+ f([q.data]), N();
78659
78663
  }
78660
78664
  }
78661
78665
  ],
78662
- isRowDisabled: (V) => !V.access?.manage,
78666
+ isRowDisabled: (q) => !q.access?.manage,
78663
78667
  columns: [
78664
78668
  {
78665
78669
  name: "username",
@@ -79439,20 +79443,20 @@ const lde = ({
79439
79443
  }) => {
79440
79444
  const { adminClient: n } = Ce(), { t: a } = K(), { realm: i } = Oe(), s = ht(), { addAlert: o } = De(), { hasAccess: l } = Gt(), [c, d] = M(), { subGroups: u, clear: p } = Fc(), [f, m] = M(""), [g, h] = M(20), [b, y] = M(0), v = un(0), S = un(20), [_, T] = M(0), [A, k] = M(!1), [O, x] = M(), [R, D] = M(0), [I, N] = M(0), C = () => {
79441
79445
  N(I + 1), e();
79442
- }, P = (q, W) => {
79443
- const z = q.subGroupCount;
79446
+ }, P = (V, W) => {
79447
+ const z = V.subGroupCount;
79444
79448
  return {
79445
- id: q.id,
79446
- name: /* @__PURE__ */ r(mn, { content: q.name, children: /* @__PURE__ */ r("span", { children: q.name }) }),
79447
- access: q.access || {},
79448
- children: z ? f.length === 0 ? dde : q.subGroups?.map((B) => P(B, W)) : void 0,
79449
- action: (l("manage-users") || q.access?.manage) && /* @__PURE__ */ r(lde, { group: q, refresh: W }),
79450
- defaultExpanded: u.map((B) => B.id).includes(q.id)
79449
+ id: V.id,
79450
+ name: /* @__PURE__ */ r(mn, { content: V.name, children: /* @__PURE__ */ r("span", { children: V.name }) }),
79451
+ access: V.access || {},
79452
+ children: z ? f.length === 0 ? dde : V.subGroups?.map((B) => P(B, W)) : void 0,
79453
+ action: (l("manage-users") || V.access?.manage) && /* @__PURE__ */ r(lde, { group: V, refresh: W }),
79454
+ defaultExpanded: u.map((B) => B.id).includes(V.id)
79451
79455
  };
79452
79456
  };
79453
79457
  ze(
79454
79458
  async () => {
79455
- const q = await Cs(
79459
+ const V = await Cs(
79456
79460
  n,
79457
79461
  "groups",
79458
79462
  Object.assign(
@@ -79473,9 +79477,9 @@ const lde = ({
79473
79477
  first: `${R}`,
79474
79478
  max: `${_p}`
79475
79479
  }
79476
- )), { groups: q, subGroups: W };
79480
+ )), { groups: V, subGroups: W };
79477
79481
  },
79478
- ({ groups: q, subGroups: W }) => {
79482
+ ({ groups: V, subGroups: W }) => {
79479
79483
  if (O) {
79480
79484
  const z = H(c || [], O.id, []);
79481
79485
  if (z.length && W.length) {
@@ -79498,28 +79502,28 @@ const lde = ({
79498
79502
  ];
79499
79503
  }
79500
79504
  }
79501
- f || v.current !== b || S.current !== g ? d(q.map((z) => P(z, C))) : d(
79505
+ f || v.current !== b || S.current !== g ? d(V.map((z) => P(z, C))) : d(
79502
79506
  hA(
79503
79507
  c,
79504
- q.map((z) => P(z, C)),
79508
+ V.map((z) => P(z, C)),
79505
79509
  "id"
79506
79510
  )
79507
- ), T(n6(q)), v.current = b, S.current = g;
79511
+ ), T(n6(V)), v.current = b, S.current = g;
79508
79512
  },
79509
79513
  [I, b, R, g, f, A, O]
79510
79514
  );
79511
- const H = (q, W, z) => {
79512
- for (let B = 0; B < q.length; B++) {
79513
- const $ = q[B];
79515
+ const H = (V, W, z) => {
79516
+ for (let B = 0; B < V.length; B++) {
79517
+ const $ = V[B];
79514
79518
  if ($.id === W)
79515
79519
  return z.push($), z;
79516
79520
  $.children && (z.push($), H($.children, W, z), z[z.length - 1].id !== W && z.pop());
79517
79521
  }
79518
79522
  return z;
79519
- }, j = (q, W) => {
79520
- if (q.id === "next") return;
79521
- x(q);
79522
- const z = H(W, q.id, []);
79523
+ }, j = (V, W) => {
79524
+ if (V.id === "next") return;
79525
+ x(V);
79526
+ const z = H(W, V.id, []);
79523
79527
  u.every(({ id: B }) => z.find(($) => $.id === B)) || p(), t || z.at(-1)?.access?.view || u.at(-1)?.access?.view ? s(
79524
79528
  pc({
79525
79529
  realm: i,
@@ -79535,8 +79539,8 @@ const lde = ({
79535
79539
  max: g,
79536
79540
  onNextClick: y,
79537
79541
  onPreviousClick: y,
79538
- onPerPageSelect: (q, W) => {
79539
- y(q), h(W);
79542
+ onPerPageSelect: (V, W) => {
79543
+ y(V), h(W);
79540
79544
  },
79541
79545
  inputGroupName: "searchForGroups",
79542
79546
  inputGroupPlaceholder: a("searchForGroups"),
@@ -79549,7 +79553,7 @@ const lde = ({
79549
79553
  "data-testid": "exact-search",
79550
79554
  name: "exact",
79551
79555
  isChecked: A,
79552
- onChange: (q, W) => k(W),
79556
+ onChange: (V, W) => k(W),
79553
79557
  className: "pf-v5-u-mr-xs"
79554
79558
  }
79555
79559
  ) }),
@@ -79564,10 +79568,10 @@ const lde = ({
79564
79568
  hasGuides: !0,
79565
79569
  hasSelectableNodes: !0,
79566
79570
  className: "keycloak_groups_treeview",
79567
- onExpand: (q, W) => {
79571
+ onExpand: (V, W) => {
79568
79572
  j(W, c);
79569
79573
  },
79570
- onSelect: (q, W) => {
79574
+ onSelect: (V, W) => {
79571
79575
  j(W, c);
79572
79576
  }
79573
79577
  }
@@ -79615,27 +79619,40 @@ const lde = ({
79615
79619
  })
79616
79620
  }
79617
79621
  ) });
79618
- }, mde = ({ id: e, name: t }) => {
79619
- const { adminClient: n } = Ce(), { t: a } = K(), { addAlert: i, addError: s } = De();
79620
- return /* @__PURE__ */ r(sl, { name: t, id: e, type: "groups", save: async (l) => {
79621
- try {
79622
- const c = l.filter((d) => d.client === void 0).map((d) => d.role).flat();
79623
- await n.groups.addRealmRoleMappings({
79624
- id: e,
79625
- roles: c
79626
- }), await Promise.all(
79627
- l.filter((d) => d.client !== void 0).map(
79628
- (d) => n.groups.addClientRoleMappings({
79622
+ }, mde = ({
79623
+ id: e,
79624
+ name: t,
79625
+ canManageGroup: n
79626
+ }) => {
79627
+ const { adminClient: a } = Ce(), { t: i } = K(), { addAlert: s, addError: o } = De();
79628
+ return /* @__PURE__ */ r(
79629
+ sl,
79630
+ {
79631
+ isManager: n,
79632
+ name: t,
79633
+ id: e,
79634
+ type: "groups",
79635
+ save: async (c) => {
79636
+ try {
79637
+ const d = c.filter((u) => u.client === void 0).map((u) => u.role).flat();
79638
+ await a.groups.addRealmRoleMappings({
79629
79639
  id: e,
79630
- clientUniqueId: d.client.id,
79631
- roles: [d.role]
79632
- })
79633
- )
79634
- ), i(a("roleMappingUpdatedSuccess"), _e.success);
79635
- } catch (c) {
79636
- s("roleMappingUpdatedError", c);
79640
+ roles: d
79641
+ }), await Promise.all(
79642
+ c.filter((u) => u.client !== void 0).map(
79643
+ (u) => a.groups.addClientRoleMappings({
79644
+ id: e,
79645
+ clientUniqueId: u.client.id,
79646
+ roles: [u.role]
79647
+ })
79648
+ )
79649
+ ), s(i("roleMappingUpdatedSuccess"), _e.success);
79650
+ } catch (d) {
79651
+ o("roleMappingUpdatedError", d);
79652
+ }
79653
+ }
79637
79654
  }
79638
- } });
79655
+ );
79639
79656
  }, TR = ({ refresh: e }) => {
79640
79657
  const { adminClient: t } = Ce(), { t: n } = K(), [a, i] = M([]), [s, o] = M(), [l, c] = St(), [d, u] = M(), [p, f] = St(), [m, g] = M(), { currentGroup: h } = Fc(), [b, y] = M(0), v = () => y(b + 1), [S, _] = M(), T = so(), A = th(T.pathname), { hasAccess: k } = Gt(), O = k("manage-users") || h()?.access?.manage, x = async (R, D) => {
79641
79658
  let I;
@@ -80032,7 +80049,7 @@ const lde = ({
80032
80049
  return C = C.concat(H), await Promise.all(
80033
80050
  H.map((j) => R(j.id, j.subGroupCount))
80034
80051
  ).then((j) => {
80035
- j.forEach((q) => C = C.concat(q));
80052
+ j.forEach((V) => C = C.concat(V));
80036
80053
  }), C;
80037
80054
  }, D = async (I, N) => {
80038
80055
  if (!s)
@@ -80234,25 +80251,25 @@ const lde = ({
80234
80251
  ] }) : /* @__PURE__ */ r(xt, {});
80235
80252
  };
80236
80253
  function yde() {
80237
- const { adminClient: e } = Ce(), { t } = K(), [n, a] = M(0), { subGroups: i, setSubGroups: s, currentGroup: o } = Fc(), { realm: l } = Oe(), [c, d] = M(), [u, p] = St(), f = ht(), m = so(), g = th(m.pathname), [h, b] = St(!0), [y, v] = M(0), S = () => v(y + 1), { hasAccess: _ } = Gt(), A = Kn()(Wt.AdminFineGrainedAuthz) && _("manage-authorization", "manage-users", "manage-clients"), k = _("manage-users") || o()?.access?.manage, O = _("manage-users"), x = _("query-groups", "view-users") || _("manage-users", "query-groups"), R = _("view-users") || o()?.access?.viewMembers || o()?.access?.manageMembers, [D, I] = M("adminEvents");
80254
+ const { adminClient: e } = Ce(), { t } = K(), [n, a] = M(0), { subGroups: i, setSubGroups: s, currentGroup: o } = Fc(), { realm: l } = Oe(), [c, d] = M(), [u, p] = St(), f = ht(), m = so(), g = th(m.pathname), [h, b] = St(!0), [y, v] = M(0), S = () => v(y + 1), { hasAccess: _, hasSomeAccess: T } = Gt(), k = Kn()(Wt.AdminFineGrainedAuthz) && _("manage-authorization", "manage-users", "manage-clients"), O = _("manage-users") || o()?.access?.manage || !1, x = T("view-users", "manage-users"), R = _("query-groups", "view-users") || _("manage-users", "query-groups"), D = _("view-users") || o()?.access?.viewMembers || o()?.access?.manageMembers, [I, N] = M("adminEvents");
80238
80255
  return ze(
80239
80256
  async () => {
80240
- const N = a6(m.pathname);
80241
- if (N && N.length > i.length) {
80242
- const P = [];
80243
- for (const H of N) {
80244
- let j;
80245
- if (H !== "search" ? j = await e.groups.findOne({ id: H }) : j = { name: t("searchGroups"), id: "search" }, j)
80246
- P.push(j);
80257
+ const C = a6(m.pathname);
80258
+ if (C && C.length > i.length) {
80259
+ const H = [];
80260
+ for (const j of C) {
80261
+ let V;
80262
+ if (j !== "search" ? V = await e.groups.findOne({ id: j }) : V = { name: t("searchGroups"), id: "search" }, V)
80263
+ H.push(V);
80247
80264
  else
80248
80265
  throw new Error(t("notFound"));
80249
80266
  }
80250
- return P;
80267
+ return H;
80251
80268
  }
80252
80269
  return [];
80253
80270
  },
80254
- (N) => {
80255
- N.length && s(N);
80271
+ (C) => {
80272
+ C.length && s(C);
80256
80273
  },
80257
80274
  [g]
80258
80275
  ), /* @__PURE__ */ w(ne, { children: [
@@ -80272,8 +80289,8 @@ function yde() {
80272
80289
  {
80273
80290
  id: g,
80274
80291
  rename: c,
80275
- refresh: (N) => {
80276
- S(), s([...i.slice(0, i.length - 1), N]);
80292
+ refresh: (C) => {
80293
+ S(), s([...i.slice(0, i.length - 1), C]);
80277
80294
  },
80278
80295
  handleModalToggle: () => d(void 0)
80279
80296
  }
@@ -80285,7 +80302,7 @@ function yde() {
80285
80302
  ude,
80286
80303
  {
80287
80304
  refresh: S,
80288
- canViewDetails: x
80305
+ canViewDetails: R
80289
80306
  }
80290
80307
  ) }) }),
80291
80308
  children: /* @__PURE__ */ w(SE, { children: [
@@ -80306,7 +80323,7 @@ function yde() {
80306
80323
  subKey: g ? "" : "groupsDescription",
80307
80324
  helpUrl: g ? "" : Ua.groupsUrl,
80308
80325
  divider: !g,
80309
- dropdownItems: g && k ? [
80326
+ dropdownItems: g && O ? [
80310
80327
  /* @__PURE__ */ r(
80311
80328
  dt,
80312
80329
  {
@@ -80339,7 +80356,7 @@ function yde() {
80339
80356
  "2xl": "inset2xl"
80340
80357
  },
80341
80358
  activeKey: n,
80342
- onSelect: (N, C) => a(C),
80359
+ onSelect: (C, P) => a(P),
80343
80360
  isBox: !0,
80344
80361
  mountOnEnter: !0,
80345
80362
  unmountOnExit: !0,
@@ -80353,7 +80370,7 @@ function yde() {
80353
80370
  children: /* @__PURE__ */ r(TR, { refresh: S })
80354
80371
  }
80355
80372
  ),
80356
- R && /* @__PURE__ */ r(
80373
+ D && /* @__PURE__ */ r(
80357
80374
  Be,
80358
80375
  {
80359
80376
  "data-testid": "members",
@@ -80371,16 +80388,23 @@ function yde() {
80371
80388
  children: /* @__PURE__ */ r(pde, {})
80372
80389
  }
80373
80390
  ),
80374
- O && /* @__PURE__ */ r(
80391
+ x && /* @__PURE__ */ r(
80375
80392
  Be,
80376
80393
  {
80377
80394
  eventKey: 3,
80378
80395
  "data-testid": "role-mapping-tab",
80379
80396
  title: /* @__PURE__ */ r(He, { children: t("roleMapping") }),
80380
- children: /* @__PURE__ */ r(mde, { id: g, name: o()?.name })
80397
+ children: /* @__PURE__ */ r(
80398
+ mde,
80399
+ {
80400
+ id: g,
80401
+ name: o()?.name,
80402
+ canManageGroup: O
80403
+ }
80404
+ )
80381
80405
  }
80382
80406
  ),
80383
- A && /* @__PURE__ */ r(
80407
+ k && /* @__PURE__ */ r(
80384
80408
  Be,
80385
80409
  {
80386
80410
  eventKey: 4,
@@ -80398,8 +80422,8 @@ function yde() {
80398
80422
  children: /* @__PURE__ */ w(
80399
80423
  xa,
80400
80424
  {
80401
- activeKey: D,
80402
- onSelect: (N, C) => I(C),
80425
+ activeKey: I,
80426
+ onSelect: (C, P) => N(P),
80403
80427
  children: [
80404
80428
  /* @__PURE__ */ r(
80405
80429
  Be,
@@ -83129,7 +83153,7 @@ function Hde() {
83129
83153
  y("deleteErrorIdentityProvider", we);
83130
83154
  }
83131
83155
  }
83132
- }), [q, W] = rt({
83156
+ }), [V, W] = rt({
83133
83157
  titleKey: "deleteProviderMapper",
83134
83158
  messageKey: t("deleteMapperConfirm", {
83135
83159
  mapper: f?.name
@@ -83154,9 +83178,9 @@ function Hde() {
83154
83178
  });
83155
83179
  if (!u)
83156
83180
  return /* @__PURE__ */ r(xt, {});
83157
- const B = u.providerId.includes("oidc"), $ = u.providerId.includes("saml"), V = u.providerId.includes("oauth2"), Q = u.providerId.includes("spiffe"), oe = u.providerId.includes("kubernetes"), me = u.providerId.includes(
83181
+ const B = u.providerId.includes("oidc"), $ = u.providerId.includes("saml"), q = u.providerId.includes("oauth2"), Q = u.providerId.includes("spiffe"), oe = u.providerId.includes("kubernetes"), me = u.providerId.includes(
83158
83182
  "jwt-authorization-grant"
83159
- ), xe = !B && !$ && !V, Se = (V || B) && !!u?.types?.includes(Qd.JWT_AUTHORIZATION_GRANT) && i(Wt.JWTAuthorizationGrant), Ne = async () => {
83183
+ ), xe = !B && !$ && !q, Se = (q || B) && !!u?.types?.includes(Qd.JWT_AUTHORIZATION_GRANT) && i(Wt.JWTAuthorizationGrant), Ne = async () => {
83160
83184
  const [we, pe] = await Promise.all([
83161
83185
  e.identityProviders.findMappers({ alias: n }),
83162
83186
  e.identityProviders.findMapperTypes({ alias: n })
@@ -83184,7 +83208,7 @@ function Hde() {
83184
83208
  onSubmit: o(P),
83185
83209
  children: [
83186
83210
  xe && /* @__PURE__ */ r(s6, { create: !1, id: a }),
83187
- (B || V) && /* @__PURE__ */ r(l6, {}),
83211
+ (B || q) && /* @__PURE__ */ r(l6, {}),
83188
83212
  $ && /* @__PURE__ */ r(f6, { isAliasReadonly: !0 }),
83189
83213
  h && /* @__PURE__ */ r(Dr, { stringify: !0, properties: h.properties })
83190
83214
  ]
@@ -83205,7 +83229,7 @@ function Hde() {
83205
83229
  },
83206
83230
  {
83207
83231
  title: t("oAuthSettings"),
83208
- isHidden: !V,
83232
+ isHidden: !q,
83209
83233
  panel: /* @__PURE__ */ w(ne, { children: [
83210
83234
  /* @__PURE__ */ r(Gv, { readOnly: !1, isOIDC: B }),
83211
83235
  /* @__PURE__ */ w(_t, { isHorizontal: !0, className: "pf-v5-u-py-lg", children: [
@@ -83324,7 +83348,7 @@ function Hde() {
83324
83348
  {
83325
83349
  isOIDC: B,
83326
83350
  isSAML: $,
83327
- isOAuth2: V
83351
+ isOAuth2: q
83328
83352
  }
83329
83353
  ),
83330
83354
  /* @__PURE__ */ r(wa, { name: "idp-details", isSubmit: !0, reset: c })
@@ -83439,7 +83463,7 @@ function Hde() {
83439
83463
  {
83440
83464
  title: t("delete"),
83441
83465
  onRowClick: (we) => {
83442
- m(we), q();
83466
+ m(we), V();
83443
83467
  }
83444
83468
  }
83445
83469
  ]
@@ -85156,7 +85180,7 @@ function iue({ onClose: e }) {
85156
85180
  id: "realm-form",
85157
85181
  isHorizontal: !0,
85158
85182
  onSubmit: p(h),
85159
- role: "view-realm",
85183
+ role: "query-realms",
85160
85184
  isReadOnly: !s.createRealm,
85161
85185
  children: [
85162
85186
  /* @__PURE__ */ r(
@@ -85454,7 +85478,7 @@ function uue() {
85454
85478
  tab: oe
85455
85479
  });
85456
85480
  throw new Error("Route could not be determined.");
85457
- }, P = bt(C("details")), H = bt(C("associated-roles")), j = bt(C("attributes")), q = bt(C("users-in-role")), W = bt(C("permissions")), z = bt(C("events")), [B, $] = rt({
85481
+ }, P = bt(C("details")), H = bt(C("associated-roles")), j = bt(C("attributes")), V = bt(C("users-in-role")), W = bt(C("permissions")), z = bt(C("events")), [B, $] = rt({
85458
85482
  titleKey: "roleDeleteConfirm",
85459
85483
  messageKey: n("roleDeleteConfirmDialog", {
85460
85484
  selectedRoleName: O || n("createRole")
@@ -85471,7 +85495,7 @@ function uue() {
85471
85495
  v("roleDeleteError", oe);
85472
85496
  }
85473
85497
  }
85474
- }), V = async (oe) => {
85498
+ }), q = async (oe) => {
85475
85499
  try {
85476
85500
  await e.roles.createComposite(
85477
85501
  { roleId: c, realm: p.realm },
@@ -85542,7 +85566,7 @@ function uue() {
85542
85566
  id: c,
85543
85567
  type: "roles",
85544
85568
  isManager: !0,
85545
- save: (oe) => V(oe.map((me) => me.role))
85569
+ save: (oe) => q(oe.map((me) => me.role))
85546
85570
  }
85547
85571
  )
85548
85572
  }
@@ -85570,7 +85594,7 @@ function uue() {
85570
85594
  {
85571
85595
  "data-testid": "usersInRoleTab",
85572
85596
  title: /* @__PURE__ */ r(He, { children: n("usersInRole") }),
85573
- ...q,
85597
+ ...V,
85574
85598
  children: /* @__PURE__ */ r(due, { "data-cy": "users-in-role-tab" })
85575
85599
  }
85576
85600
  ),
@@ -85915,19 +85939,19 @@ const pue = ({
85915
85939
  const j = !us(
85916
85940
  g?.eventsListeners,
85917
85941
  H.eventsListeners
85918
- ), { adminEventsExpiration: q, ...W } = H;
85919
- e.attributes?.adminEventsExpiration !== q && await t.realms.update(
85942
+ ), { adminEventsExpiration: V, ...W } = H;
85943
+ e.attributes?.adminEventsExpiration !== V && await t.realms.update(
85920
85944
  { realm: A },
85921
85945
  {
85922
85946
  ...e,
85923
- attributes: { ...e.attributes || {}, adminEventsExpiration: q }
85947
+ attributes: { ...e.attributes || {}, adminEventsExpiration: V }
85924
85948
  }
85925
85949
  );
85926
85950
  try {
85927
85951
  await t.realms.updateConfigEvents(
85928
85952
  { realm: A },
85929
85953
  W
85930
- ), O({ ...g, ...W, adminEventsExpiration: q }), _(
85954
+ ), O({ ...g, ...W, adminEventsExpiration: V }), _(
85931
85955
  n(j ? "saveEventListenersSuccess" : "eventConfigSuccessfully"),
85932
85956
  _e.success
85933
85957
  );
@@ -85939,16 +85963,16 @@ const pue = ({
85939
85963
  }
85940
85964
  k();
85941
85965
  }, N = async (H) => {
85942
- const j = H.map((W) => W.id), q = g.enabledEventTypes?.concat(j);
85943
- await C(q);
85966
+ const j = H.map((W) => W.id), V = g.enabledEventTypes?.concat(j);
85967
+ await C(V);
85944
85968
  }, C = async (H = []) => {
85945
85969
  const j = { ...a.getValues(), enabledEventTypes: H };
85946
85970
  await I(j), S(!1), c();
85947
85971
  }, P = async (H = []) => {
85948
- const j = H.map((W) => W.id), q = g?.enabledEventTypes?.filter(
85972
+ const j = H.map((W) => W.id), V = g?.enabledEventTypes?.filter(
85949
85973
  (W) => !j.includes(W)
85950
85974
  );
85951
- await C(q), h({ ...g, enabledEventTypes: q });
85975
+ await C(V), h({ ...g, enabledEventTypes: V });
85952
85976
  };
85953
85977
  return /* @__PURE__ */ w(ne, { children: [
85954
85978
  /* @__PURE__ */ r(D, {}),
@@ -86591,9 +86615,9 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86591
86615
  defaultSupportedLocales: e,
86592
86616
  defaultLocales: t
86593
86617
  }) => {
86594
- const { adminClient: n } = Ce(), { t: a } = K(), { realm: i } = Oe(), s = Ht(), { whoAmI: o } = Lr(), l = ka(), [c, d] = M(!1), [u, p] = M(!1), [f, m] = M(!1), [g, h] = M(!1), [b, y] = M(!1), [v, S] = M({}), [_, T] = M(0), A = s.themes, k = lt(() => A ? l(Object.keys(A), (V) => V) : [], [A]), O = lt(() => A ? l(
86595
- Object.values(A).flatMap((V) => V.map((Q) => Q.name)).filter((V, Q, oe) => oe.indexOf(V) === Q),
86596
- (V) => V
86618
+ const { adminClient: n } = Ce(), { t: a } = K(), { realm: i } = Oe(), s = Ht(), { whoAmI: o } = Lr(), l = ka(), [c, d] = M(!1), [u, p] = M(!1), [f, m] = M(!1), [g, h] = M(!1), [b, y] = M(!1), [v, S] = M({}), [_, T] = M(0), A = s.themes, k = lt(() => A ? l(Object.keys(A), (q) => q) : [], [A]), O = lt(() => A ? l(
86619
+ Object.values(A).flatMap((q) => q.map((Q) => Q.name)).filter((q, Q, oe) => oe.indexOf(q) === Q),
86620
+ (q) => q
86597
86621
  ) : [], [A]), x = lt(() => Array.from(/* @__PURE__ */ new Set([...t, ...e])), [t, e]), R = {
86598
86622
  theme: a("theme"),
86599
86623
  themeType: a("themeType"),
@@ -86609,20 +86633,20 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86609
86633
  defaultValues: LR
86610
86634
  }), H = async () => {
86611
86635
  try {
86612
- const V = D();
86636
+ const q = D();
86613
86637
  if (["theme", "themeType", "locale"].some(
86614
- (Ne) => !V[Ne]
86638
+ (Ne) => !q[Ne]
86615
86639
  ))
86616
86640
  return [];
86617
86641
  const me = await n.serverInfo.findEffectiveMessageBundles(
86618
86642
  {
86619
86643
  realm: i,
86620
- ...V,
86621
- locale: V.locale || Tr,
86644
+ ...q,
86645
+ locale: q.locale || Tr,
86622
86646
  source: !0
86623
86647
  }
86624
- ), xe = V.hasWords.length > 0 ? me.filter(
86625
- (Ne) => V.hasWords.some(
86648
+ ), xe = q.hasWords.length > 0 ? me.filter(
86649
+ (Ne) => q.hasWords.some(
86626
86650
  (be) => Ne.value.includes(be) || Ne.key.includes(be)
86627
86651
  )
86628
86652
  ) : me;
@@ -86634,23 +86658,23 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86634
86658
  function j() {
86635
86659
  d(!1), B();
86636
86660
  }
86637
- function q() {
86661
+ function V() {
86638
86662
  I(), B();
86639
86663
  }
86640
- function W(V) {
86664
+ function W(q) {
86641
86665
  const Q = { ...D() };
86642
- delete Q[V], I({ ...LR, ...Q }), B();
86666
+ delete Q[q], I({ ...LR, ...Q }), B();
86643
86667
  }
86644
- function z(V, Q) {
86645
- const oe = D(), me = oe[V], xe = Array.isArray(me) ? me.filter((Se) => Se !== Q) : me;
86646
- I({ ...oe, [V]: xe }), B();
86668
+ function z(q, Q) {
86669
+ const oe = D(), me = oe[q], xe = Array.isArray(me) ? me.filter((Se) => Se !== Q) : me;
86670
+ I({ ...oe, [q]: xe }), B();
86647
86671
  }
86648
86672
  function B() {
86649
- const V = i0(
86673
+ const q = i0(
86650
86674
  D(),
86651
86675
  (Q) => Q !== "" || Array.isArray(Q) && Q.length > 0
86652
86676
  );
86653
- S(V), T(_ + 1);
86677
+ S(q), T(_ + 1);
86654
86678
  }
86655
86679
  const $ = () => /* @__PURE__ */ w(
86656
86680
  Fn,
@@ -86680,7 +86704,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86680
86704
  isHorizontal: !0,
86681
86705
  className: "pf-v5-u-w-25vw",
86682
86706
  "data-testid": "effectiveMessageBundlesSearchForm",
86683
- onSubmit: (V) => V.preventDefault(),
86707
+ onSubmit: (q) => q.preventDefault(),
86684
86708
  children: [
86685
86709
  /* @__PURE__ */ r(he, { label: a("theme"), fieldId: "kc-theme", isRequired: !0, children: /* @__PURE__ */ r(
86686
86710
  Ae,
@@ -86689,9 +86713,9 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86689
86713
  control: P,
86690
86714
  defaultValue: "",
86691
86715
  rules: {
86692
- validate: (V) => (V || "").length > 0
86716
+ validate: (q) => (q || "").length > 0
86693
86717
  },
86694
- render: ({ field: V }) => /* @__PURE__ */ r(
86718
+ render: ({ field: q }) => /* @__PURE__ */ r(
86695
86719
  Xt,
86696
86720
  {
86697
86721
  "data-testid": "effective_message_bundles-theme-searchField",
@@ -86703,12 +86727,12 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86703
86727
  variant: $t.single,
86704
86728
  typeAheadAriaLabel: "Select",
86705
86729
  onToggle: (Q) => m(Q),
86706
- selections: V.value,
86730
+ selections: q.value,
86707
86731
  onSelect: (Q) => {
86708
- V.onChange(Q.toString()), m(!1);
86732
+ q.onChange(Q.toString()), m(!1);
86709
86733
  },
86710
86734
  onClear: () => {
86711
- V.onChange("");
86735
+ q.onChange("");
86712
86736
  },
86713
86737
  isOpen: f,
86714
86738
  "aria-label": a("selectTheme"),
@@ -86716,11 +86740,11 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86716
86740
  on,
86717
86741
  {
86718
86742
  onClick: (Q) => {
86719
- Q.stopPropagation(), V.onChange("");
86743
+ Q.stopPropagation(), q.onChange("");
86720
86744
  },
86721
- children: V.value
86745
+ children: q.value
86722
86746
  },
86723
- V.value
86747
+ q.value
86724
86748
  ) }),
86725
86749
  children: [
86726
86750
  /* @__PURE__ */ r(
@@ -86752,9 +86776,9 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86752
86776
  control: P,
86753
86777
  defaultValue: "",
86754
86778
  rules: {
86755
- validate: (V) => (V || "").length > 0
86779
+ validate: (q) => (q || "").length > 0
86756
86780
  },
86757
- render: ({ field: V }) => /* @__PURE__ */ r(
86781
+ render: ({ field: q }) => /* @__PURE__ */ r(
86758
86782
  Xt,
86759
86783
  {
86760
86784
  "data-testid": "effective-message-bundles-feature-searchField",
@@ -86766,12 +86790,12 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86766
86790
  variant: $t.single,
86767
86791
  typeAheadAriaLabel: "Select",
86768
86792
  onToggle: (Q) => h(Q),
86769
- selections: V.value,
86793
+ selections: q.value,
86770
86794
  onSelect: (Q) => {
86771
- V.onChange(Q.toString()), h(!1);
86795
+ q.onChange(Q.toString()), h(!1);
86772
86796
  },
86773
86797
  onClear: () => {
86774
- V.onChange("");
86798
+ q.onChange("");
86775
86799
  },
86776
86800
  isOpen: g,
86777
86801
  "aria-label": a("selectThemeType"),
@@ -86779,11 +86803,11 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86779
86803
  on,
86780
86804
  {
86781
86805
  onClick: (Q) => {
86782
- Q.stopPropagation(), V.onChange("");
86806
+ Q.stopPropagation(), q.onChange("");
86783
86807
  },
86784
- children: V.value
86808
+ children: q.value
86785
86809
  },
86786
- V.value
86810
+ q.value
86787
86811
  ) }),
86788
86812
  children: [
86789
86813
  /* @__PURE__ */ r(
@@ -86811,9 +86835,9 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86811
86835
  control: P,
86812
86836
  defaultValue: "",
86813
86837
  rules: {
86814
- validate: (V) => (V || "").length > 0
86838
+ validate: (q) => (q || "").length > 0
86815
86839
  },
86816
- render: ({ field: V }) => /* @__PURE__ */ r(
86840
+ render: ({ field: q }) => /* @__PURE__ */ r(
86817
86841
  Xt,
86818
86842
  {
86819
86843
  "data-testid": "effective-message-bundles-language-searchField",
@@ -86825,24 +86849,24 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86825
86849
  variant: $t.single,
86826
86850
  typeAheadAriaLabel: "Select",
86827
86851
  onToggle: (Q) => y(Q),
86828
- selections: V.value,
86852
+ selections: q.value,
86829
86853
  onSelect: (Q) => {
86830
- V.onChange(Q.toString()), y(!1);
86854
+ q.onChange(Q.toString()), y(!1);
86831
86855
  },
86832
86856
  onClear: () => {
86833
- V.onChange("");
86857
+ q.onChange("");
86834
86858
  },
86835
86859
  isOpen: b,
86836
86860
  "aria-label": a("selectLanguage"),
86837
- chipGroupComponent: /* @__PURE__ */ r(Gn, { children: V.value ? /* @__PURE__ */ r(
86861
+ chipGroupComponent: /* @__PURE__ */ r(Gn, { children: q.value ? /* @__PURE__ */ r(
86838
86862
  on,
86839
86863
  {
86840
86864
  onClick: (Q) => {
86841
- Q.stopPropagation(), V.onChange("");
86865
+ Q.stopPropagation(), q.onChange("");
86842
86866
  },
86843
- children: ui(V.value, o.locale)
86867
+ children: ui(q.value, o.locale)
86844
86868
  },
86845
- V.value
86869
+ q.value
86846
86870
  ) : null }),
86847
86871
  children: [
86848
86872
  /* @__PURE__ */ r(
@@ -86866,33 +86890,33 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86866
86890
  {
86867
86891
  name: "hasWords",
86868
86892
  control: P,
86869
- render: ({ field: V }) => /* @__PURE__ */ w("div", { children: [
86893
+ render: ({ field: q }) => /* @__PURE__ */ w("div", { children: [
86870
86894
  /* @__PURE__ */ r(
86871
86895
  Rt,
86872
86896
  {
86873
86897
  id: "kc-hasWords",
86874
86898
  "data-testid": "effective-message-bundles-hasWords-searchField",
86875
- value: V.value.join(" "),
86899
+ value: q.value.join(" "),
86876
86900
  onChange: (Q) => {
86877
86901
  const me = Q.target.value;
86878
86902
  if (me.trim().length === 0)
86879
- V.onChange([]);
86903
+ q.onChange([]);
86880
86904
  else {
86881
86905
  const xe = me.split(" ").map((Se) => Se.trim());
86882
- V.onChange(xe);
86906
+ q.onChange(xe);
86883
86907
  }
86884
86908
  }
86885
86909
  }
86886
86910
  ),
86887
- /* @__PURE__ */ r(Gn, { children: V.value.map((Q, oe) => /* @__PURE__ */ r(
86911
+ /* @__PURE__ */ r(Gn, { children: q.value.map((Q, oe) => /* @__PURE__ */ r(
86888
86912
  on,
86889
86913
  {
86890
86914
  onClick: (me) => {
86891
86915
  me.stopPropagation();
86892
- const xe = V.value.filter(
86916
+ const xe = q.value.filter(
86893
86917
  (Se, Ne) => Ne !== oe
86894
86918
  );
86895
- V.onChange(xe);
86919
+ q.onChange(xe);
86896
86920
  },
86897
86921
  children: Q
86898
86922
  },
@@ -86918,7 +86942,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86918
86942
  Z,
86919
86943
  {
86920
86944
  variant: "secondary",
86921
- onClick: q,
86945
+ onClick: V,
86922
86946
  "data-testid": "reset-search-effective-message-bundles-btn",
86923
86947
  isDisabled: !N,
86924
86948
  children: a("reset")
@@ -86930,8 +86954,8 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
86930
86954
  )
86931
86955
  }
86932
86956
  ) }),
86933
- /* @__PURE__ */ r(kt, { children: Object.entries(v).length > 0 && /* @__PURE__ */ r(ne, { children: Object.entries(v).map((V) => {
86934
- const [Q, oe] = V;
86957
+ /* @__PURE__ */ r(kt, { children: Object.entries(v).length > 0 && /* @__PURE__ */ r(ne, { children: Object.entries(v).map((q) => {
86958
+ const [Q, oe] = q;
86935
86959
  return /* @__PURE__ */ r(
86936
86960
  Gn,
86937
86961
  {
@@ -87073,7 +87097,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87073
87097
  realm: n,
87074
87098
  tableData: a
87075
87099
  }) => {
87076
- const { adminClient: i } = Ce(), { t: s } = K(), [o, l] = M(!1), [c, d] = M(!1), [u, p] = M([]), [f, m] = M(Tr), [g, h] = M(!1), { getValues: b, handleSubmit: y } = it(), [v, S] = M(!1), [_, T] = M([]), [A, k] = M(0), [O, x] = M(10), [R, D] = M(0), [I, N] = M(""), C = it({ mode: "onChange" }), { addAlert: P, addError: H } = De(), { realm: j } = Oe(), { whoAmI: q } = Lr(), [W, z] = M([]), [B, $] = M(!1), [V, Q] = M({}), [oe, me] = M(""), xe = () => {
87100
+ const { adminClient: i } = Ce(), { t: s } = K(), [o, l] = M(!1), [c, d] = M(!1), [u, p] = M([]), [f, m] = M(Tr), [g, h] = M(!1), { getValues: b, handleSubmit: y } = it(), [v, S] = M(!1), [_, T] = M([]), [A, k] = M(0), [O, x] = M(10), [R, D] = M(0), [I, N] = M(""), C = it({ mode: "onChange" }), { addAlert: P, addError: H } = De(), { realm: j } = Oe(), { whoAmI: V } = Lr(), [W, z] = M([]), [B, $] = M(!1), [q, Q] = M({}), [oe, me] = M(""), xe = () => {
87077
87101
  k(A + 1);
87078
87102
  };
87079
87103
  ft(() => {
@@ -87083,7 +87107,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87083
87107
  first: R,
87084
87108
  max: O,
87085
87109
  realm: n.realm,
87086
- selectedLocale: f || b("defaultLocale") || q.locale
87110
+ selectedLocale: f || b("defaultLocale") || V.locale
87087
87111
  });
87088
87112
  if (p(Object.entries(Y)), I) {
87089
87113
  const te = (U) => Object.entries(Y).filter(
@@ -87132,9 +87156,9 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87132
87156
  const Se = () => {
87133
87157
  l(!o);
87134
87158
  }, Ne = [
87135
- /* @__PURE__ */ r(Ny, { label: s("defaultLocale"), children: /* @__PURE__ */ r(st, { value: Tr, children: ui(Tr, q.displayName) }, Tr) }, "group1"),
87159
+ /* @__PURE__ */ r(Ny, { label: s("defaultLocale"), children: /* @__PURE__ */ r(st, { value: Tr, children: ui(Tr, V.displayName) }, Tr) }, "group1"),
87136
87160
  /* @__PURE__ */ r(Yt, {}, "divider"),
87137
- /* @__PURE__ */ r(Ny, { label: s("supportedLocales"), children: t.map((J) => /* @__PURE__ */ r(st, { value: J, children: ui(J, q.locale) }, J)) }, "group2")
87161
+ /* @__PURE__ */ r(Ny, { label: s("supportedLocales"), children: t.map((J) => /* @__PURE__ */ r(st, { value: J, children: ui(J, V.locale) }, J)) }, "group2")
87138
87162
  ], be = async (J) => {
87139
87163
  try {
87140
87164
  await i.realms.addLocalization(
@@ -87163,7 +87187,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87163
87187
  onConfirm: async () => {
87164
87188
  try {
87165
87189
  for (const J of W)
87166
- delete gs.store.data[q.locale][j][J], await i.realms.deleteRealmLocalizationTexts({
87190
+ delete gs.store.data[V.locale][j][J], await i.realms.deleteRealmLocalizationTexts({
87167
87191
  realm: j,
87168
87192
  selectedLocale: f,
87169
87193
  key: J
@@ -87296,7 +87320,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87296
87320
  onSelect: (J) => {
87297
87321
  m(J.toString()), S(!0), xe(), d(!1);
87298
87322
  },
87299
- selections: v ? ui(f, q.locale) : n.defaultLocale !== "" ? ui(Tr, q.locale) : s("placeholderText"),
87323
+ selections: v ? ui(f, V.locale) : n.defaultLocale !== "" ? ui(Tr, V.locale) : s("placeholderText"),
87300
87324
  children: Ne
87301
87325
  }
87302
87326
  ) }),
@@ -87377,7 +87401,7 @@ const gue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
87377
87401
  {
87378
87402
  fieldId: "kc-translationValue",
87379
87403
  className: "pf-v5-u-display-inline-block",
87380
- children: V[Y] ? /* @__PURE__ */ w(ne, { children: [
87404
+ children: q[Y] ? /* @__PURE__ */ w(ne, { children: [
87381
87405
  /* @__PURE__ */ r(
87382
87406
  Rt,
87383
87407
  {
@@ -91291,7 +91315,7 @@ function lpe() {
91291
91315
  i("deleteClientPolicyError", ke);
91292
91316
  }
91293
91317
  }
91294
- }), [V, Q] = rt({
91318
+ }), [q, Q] = rt({
91295
91319
  titleKey: t("deleteClientPolicyConditionConfirmTitle"),
91296
91320
  messageKey: t("deleteClientPolicyConditionConfirm", {
91297
91321
  condition: S?.name
@@ -91597,7 +91621,7 @@ function lpe() {
91597
91621
  className: "kc-conditionType-trash-icon",
91598
91622
  "data-testid": `delete-${pe.condition}-condition`,
91599
91623
  onClick: () => {
91600
- V(), _({
91624
+ q(), _({
91601
91625
  idx: ke,
91602
91626
  name: F.id
91603
91627
  });
@@ -91787,15 +91811,15 @@ function cpe() {
91787
91811
  const j = {
91788
91812
  condition: g?.condition,
91789
91813
  configuration: N()
91790
- }, q = H.findIndex(
91814
+ }, V = H.findIndex(
91791
91815
  (z) => T === z.condition
91792
91816
  );
91793
- if (q === -1)
91817
+ if (V === -1)
91794
91818
  return;
91795
91819
  const W = [
91796
- ...H.slice(0, q),
91820
+ ...H.slice(0, V),
91797
91821
  j,
91798
- ...H.slice(q + 1)
91822
+ ...H.slice(V + 1)
91799
91823
  ];
91800
91824
  return {
91801
91825
  ...P,
@@ -92105,16 +92129,16 @@ const x6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92105
92129
  /* @__PURE__ */ r(st, { value: "FAIL", children: n("FAIL") }, "fail"),
92106
92130
  /* @__PURE__ */ r(st, { value: "SKIP", children: n("SKIP") }, "skip"),
92107
92131
  /* @__PURE__ */ r(st, { value: "OVERWRITE", children: n("OVERWRITE") }, "overwrite")
92108
- ], P = () => H("users") || H("groups") || H("clients") || H("identityProviders") || j() || q(), H = (be) => {
92132
+ ], P = () => H("users") || H("groups") || H("clients") || H("identityProviders") || j() || V(), H = (be) => {
92109
92133
  const we = h[be];
92110
92134
  return we !== void 0 && we.length > 0;
92111
92135
  }, j = () => {
92112
92136
  const be = h.roles?.realm;
92113
92137
  return be !== void 0 && be.length > 0;
92114
- }, q = () => {
92138
+ }, V = () => {
92115
92139
  const be = h.roles?.client;
92116
92140
  return be !== void 0 && Object.keys(be).length > 0;
92117
- }, W = (be) => o ? be === "realmRoles" ? h.roles?.realm?.length ?? 0 : be === "clientRoles" ? q() ? z(h.roles.client) : 0 : h[be]?.length ?? 0 : 0, z = (be) => Object.values(be).reduce((we, pe) => we + pe.length, 0), B = (be, we) => /* @__PURE__ */ r(pr, { "aria-labelledby": `${be}-list-item`, children: /* @__PURE__ */ r(kr, { children: /* @__PURE__ */ r(
92141
+ }, W = (be) => o ? be === "realmRoles" ? h.roles?.realm?.length ?? 0 : be === "clientRoles" ? V() ? z(h.roles.client) : 0 : h[be]?.length ?? 0 : 0, z = (be) => Object.values(be).reduce((we, pe) => we + pe.length, 0), B = (be, we) => /* @__PURE__ */ r(pr, { "aria-labelledby": `${be}-list-item`, children: /* @__PURE__ */ r(kr, { children: /* @__PURE__ */ r(
92118
92142
  Ar,
92119
92143
  {
92120
92144
  dataListCells: [
@@ -92140,7 +92164,7 @@ const x6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92140
92164
  };
92141
92165
  return _.users && (be.users = h.users), _.groups && (be.groups = h.groups), _.identityProviders && (be.identityProviders = h.identityProviders), _.clients && (be.clients = h.clients), (_.realmRoles || _.clientRoles) && (be.roles = h.roles, _.realmRoles || delete be.roles?.realm, _.clientRoles || delete be.roles?.client), be;
92142
92166
  };
92143
- async function V() {
92167
+ async function q() {
92144
92168
  if (!p) {
92145
92169
  f(!0);
92146
92170
  try {
@@ -92170,7 +92194,7 @@ const x6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92170
92194
  "data-testid": "confirm",
92171
92195
  isDisabled: !A,
92172
92196
  onClick: async () => {
92173
- await V();
92197
+ await q();
92174
92198
  },
92175
92199
  children: n("import")
92176
92200
  },
@@ -92236,7 +92260,7 @@ const x6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92236
92260
  n("identityProviders")
92237
92261
  ),
92238
92262
  j() && B("realmRoles", n("realmRoles")),
92239
- q() && B("clientRoles", n("clientRoles"))
92263
+ V() && B("clientRoles", n("clientRoles"))
92240
92264
  ] })
92241
92265
  ] }),
92242
92266
  /* @__PURE__ */ w(Cr, { children: [
@@ -93415,20 +93439,20 @@ function gpe() {
93415
93439
  return b;
93416
93440
  }
93417
93441
  function o(m, g, h, b, y, v) {
93418
- var S, _, T = m.file, A = m.compression, k = v !== d.utf8encode, O = l.transformTo("string", v(T.name)), x = l.transformTo("string", d.utf8encode(T.name)), R = T.comment, D = l.transformTo("string", v(R)), I = l.transformTo("string", d.utf8encode(R)), N = x.length !== T.name.length, C = I.length !== R.length, P = "", H = "", j = "", q = T.dir, W = T.date, z = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
93442
+ var S, _, T = m.file, A = m.compression, k = v !== d.utf8encode, O = l.transformTo("string", v(T.name)), x = l.transformTo("string", d.utf8encode(T.name)), R = T.comment, D = l.transformTo("string", v(R)), I = l.transformTo("string", d.utf8encode(R)), N = x.length !== T.name.length, C = I.length !== R.length, P = "", H = "", j = "", V = T.dir, W = T.date, z = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
93419
93443
  g && !h || (z.crc32 = m.crc32, z.compressedSize = m.compressedSize, z.uncompressedSize = m.uncompressedSize);
93420
93444
  var B = 0;
93421
93445
  g && (B |= 8), k || !N && !C || (B |= 2048);
93422
- var $ = 0, V = 0;
93423
- q && ($ |= 16), y === "UNIX" ? (V = 798, $ |= (function(oe, me) {
93446
+ var $ = 0, q = 0;
93447
+ V && ($ |= 16), y === "UNIX" ? (q = 798, $ |= (function(oe, me) {
93424
93448
  var xe = oe;
93425
93449
  return oe || (xe = me ? 16893 : 33204), (65535 & xe) << 16;
93426
- })(T.unixPermissions, q)) : (V = 20, $ |= (function(oe) {
93450
+ })(T.unixPermissions, V)) : (q = 20, $ |= (function(oe) {
93427
93451
  return 63 & (oe || 0);
93428
93452
  })(T.dosPermissions)), S = W.getUTCHours(), S <<= 6, S |= W.getUTCMinutes(), S <<= 5, S |= W.getUTCSeconds() / 2, _ = W.getUTCFullYear() - 1980, _ <<= 4, _ |= W.getUTCMonth() + 1, _ <<= 5, _ |= W.getUTCDate(), N && (H = s(1, 1) + s(u(O), 4) + x, P += "up" + s(H.length, 2) + H), C && (j = s(1, 1) + s(u(D), 4) + I, P += "uc" + s(j.length, 2) + j);
93429
93453
  var Q = "";
93430
93454
  return Q += `
93431
- \0`, Q += s(B, 2), Q += A.magic, Q += s(S, 2), Q += s(_, 2), Q += s(z.crc32, 4), Q += s(z.compressedSize, 4), Q += s(z.uncompressedSize, 4), Q += s(O.length, 2), Q += s(P.length, 2), { fileRecord: p.LOCAL_FILE_HEADER + Q + O + P, dirRecord: p.CENTRAL_FILE_HEADER + s(V, 2) + Q + s(D.length, 2) + "\0\0\0\0" + s($, 4) + s(b, 4) + O + P + D };
93455
+ \0`, Q += s(B, 2), Q += A.magic, Q += s(S, 2), Q += s(_, 2), Q += s(z.crc32, 4), Q += s(z.compressedSize, 4), Q += s(z.uncompressedSize, 4), Q += s(O.length, 2), Q += s(P.length, 2), { fileRecord: p.LOCAL_FILE_HEADER + Q + O + P, dirRecord: p.CENTRAL_FILE_HEADER + s(q, 2) + Q + s(D.length, 2) + "\0\0\0\0" + s($, 4) + s(b, 4) + O + P + D };
93432
93456
  }
93433
93457
  var l = n("../utils"), c = n("../stream/GenericWorker"), d = n("../utf8"), u = n("../crc32"), p = n("../signature");
93434
93458
  function f(m, g, h, b) {
@@ -94653,7 +94677,7 @@ function gpe() {
94653
94677
  };
94654
94678
  }, {}], 46: [function(n, a, i) {
94655
94679
  var s, o = n("../utils/common"), l = n("./trees"), c = n("./adler32"), d = n("./crc32"), u = n("./messages"), p = 0, f = 4, m = 0, g = -2, h = -1, b = 4, y = 2, v = 8, S = 9, _ = 286, T = 30, A = 19, k = 2 * _ + 1, O = 15, x = 3, R = 258, D = R + x + 1, I = 42, N = 113, C = 1, P = 2, H = 3, j = 4;
94656
- function q(F, Ee) {
94680
+ function V(F, Ee) {
94657
94681
  return F.msg = u[Ee], Ee;
94658
94682
  }
94659
94683
  function W(F) {
@@ -94669,7 +94693,7 @@ function gpe() {
94669
94693
  function $(F, Ee) {
94670
94694
  l._tr_flush_block(F, 0 <= F.block_start ? F.block_start : -1, F.strstart - F.block_start, Ee), F.block_start = F.strstart, B(F.strm);
94671
94695
  }
94672
- function V(F, Ee) {
94696
+ function q(F, Ee) {
94673
94697
  F.pending_buf[F.pending++] = Ee;
94674
94698
  }
94675
94699
  function Q(F, Ee) {
@@ -94742,7 +94766,7 @@ function gpe() {
94742
94766
  }
94743
94767
  function we(F) {
94744
94768
  var Ee;
94745
- return F && F.state ? (F.total_in = F.total_out = 0, F.data_type = y, (Ee = F.state).pending = 0, Ee.pending_out = 0, Ee.wrap < 0 && (Ee.wrap = -Ee.wrap), Ee.status = Ee.wrap ? I : N, F.adler = Ee.wrap === 2 ? 0 : 1, Ee.last_flush = p, l._tr_init(Ee), m) : q(F, g);
94769
+ return F && F.state ? (F.total_in = F.total_out = 0, F.data_type = y, (Ee = F.state).pending = 0, Ee.pending_out = 0, Ee.wrap < 0 && (Ee.wrap = -Ee.wrap), Ee.status = Ee.wrap ? I : N, F.adler = Ee.wrap === 2 ? 0 : 1, Ee.last_flush = p, l._tr_init(Ee), m) : V(F, g);
94746
94770
  }
94747
94771
  function pe(F) {
94748
94772
  var Ee = we(F);
@@ -94753,7 +94777,7 @@ function gpe() {
94753
94777
  function ke(F, Ee, le, J, Y, te) {
94754
94778
  if (!F) return g;
94755
94779
  var ae = 1;
94756
- if (Ee === h && (Ee = 6), J < 0 ? (ae = 0, J = -J) : 15 < J && (ae = 2, J -= 16), Y < 1 || S < Y || le !== v || J < 8 || 15 < J || Ee < 0 || 9 < Ee || te < 0 || b < te) return q(F, g);
94780
+ if (Ee === h && (Ee = 6), J < 0 ? (ae = 0, J = -J) : 15 < J && (ae = 2, J -= 16), Y < 1 || S < Y || le !== v || J < 8 || 15 < J || Ee < 0 || 9 < Ee || te < 0 || b < te) return V(F, g);
94757
94781
  J === 8 && (J = 9);
94758
94782
  var U = new be();
94759
94783
  return (F.state = U).strm = F, U.wrap = ae, U.gzhead = null, U.w_bits = J, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = Y + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + x - 1) / x), U.window = new o.Buf8(2 * U.w_size), U.head = new o.Buf16(U.hash_size), U.prev = new o.Buf16(U.w_size), U.lit_bufsize = 1 << Y + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new o.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = Ee, U.strategy = te, U.method = le, pe(F);
@@ -94776,15 +94800,15 @@ function gpe() {
94776
94800
  return F && F.state ? F.state.wrap !== 2 ? g : (F.state.gzhead = Ee, m) : g;
94777
94801
  }, i.deflate = function(F, Ee) {
94778
94802
  var le, J, Y, te;
94779
- if (!F || !F.state || 5 < Ee || Ee < 0) return F ? q(F, g) : g;
94780
- if (J = F.state, !F.output || !F.input && F.avail_in !== 0 || J.status === 666 && Ee !== f) return q(F, F.avail_out === 0 ? -5 : g);
94781
- if (J.strm = F, le = J.last_flush, J.last_flush = Ee, J.status === I) if (J.wrap === 2) F.adler = 0, V(J, 31), V(J, 139), V(J, 8), J.gzhead ? (V(J, (J.gzhead.text ? 1 : 0) + (J.gzhead.hcrc ? 2 : 0) + (J.gzhead.extra ? 4 : 0) + (J.gzhead.name ? 8 : 0) + (J.gzhead.comment ? 16 : 0)), V(J, 255 & J.gzhead.time), V(J, J.gzhead.time >> 8 & 255), V(J, J.gzhead.time >> 16 & 255), V(J, J.gzhead.time >> 24 & 255), V(J, J.level === 9 ? 2 : 2 <= J.strategy || J.level < 2 ? 4 : 0), V(J, 255 & J.gzhead.os), J.gzhead.extra && J.gzhead.extra.length && (V(J, 255 & J.gzhead.extra.length), V(J, J.gzhead.extra.length >> 8 & 255)), J.gzhead.hcrc && (F.adler = d(F.adler, J.pending_buf, J.pending, 0)), J.gzindex = 0, J.status = 69) : (V(J, 0), V(J, 0), V(J, 0), V(J, 0), V(J, 0), V(J, J.level === 9 ? 2 : 2 <= J.strategy || J.level < 2 ? 4 : 0), V(J, 3), J.status = N);
94803
+ if (!F || !F.state || 5 < Ee || Ee < 0) return F ? V(F, g) : g;
94804
+ if (J = F.state, !F.output || !F.input && F.avail_in !== 0 || J.status === 666 && Ee !== f) return V(F, F.avail_out === 0 ? -5 : g);
94805
+ if (J.strm = F, le = J.last_flush, J.last_flush = Ee, J.status === I) if (J.wrap === 2) F.adler = 0, q(J, 31), q(J, 139), q(J, 8), J.gzhead ? (q(J, (J.gzhead.text ? 1 : 0) + (J.gzhead.hcrc ? 2 : 0) + (J.gzhead.extra ? 4 : 0) + (J.gzhead.name ? 8 : 0) + (J.gzhead.comment ? 16 : 0)), q(J, 255 & J.gzhead.time), q(J, J.gzhead.time >> 8 & 255), q(J, J.gzhead.time >> 16 & 255), q(J, J.gzhead.time >> 24 & 255), q(J, J.level === 9 ? 2 : 2 <= J.strategy || J.level < 2 ? 4 : 0), q(J, 255 & J.gzhead.os), J.gzhead.extra && J.gzhead.extra.length && (q(J, 255 & J.gzhead.extra.length), q(J, J.gzhead.extra.length >> 8 & 255)), J.gzhead.hcrc && (F.adler = d(F.adler, J.pending_buf, J.pending, 0)), J.gzindex = 0, J.status = 69) : (q(J, 0), q(J, 0), q(J, 0), q(J, 0), q(J, 0), q(J, J.level === 9 ? 2 : 2 <= J.strategy || J.level < 2 ? 4 : 0), q(J, 3), J.status = N);
94782
94806
  else {
94783
94807
  var ae = v + (J.w_bits - 8 << 4) << 8;
94784
94808
  ae |= (2 <= J.strategy || J.level < 2 ? 0 : J.level < 6 ? 1 : J.level === 6 ? 2 : 3) << 6, J.strstart !== 0 && (ae |= 32), ae += 31 - ae % 31, J.status = N, Q(J, ae), J.strstart !== 0 && (Q(J, F.adler >>> 16), Q(J, 65535 & F.adler)), F.adler = 1;
94785
94809
  }
94786
94810
  if (J.status === 69) if (J.gzhead.extra) {
94787
- for (Y = J.pending; J.gzindex < (65535 & J.gzhead.extra.length) && (J.pending !== J.pending_buf_size || (J.gzhead.hcrc && J.pending > Y && (F.adler = d(F.adler, J.pending_buf, J.pending - Y, Y)), B(F), Y = J.pending, J.pending !== J.pending_buf_size)); ) V(J, 255 & J.gzhead.extra[J.gzindex]), J.gzindex++;
94811
+ for (Y = J.pending; J.gzindex < (65535 & J.gzhead.extra.length) && (J.pending !== J.pending_buf_size || (J.gzhead.hcrc && J.pending > Y && (F.adler = d(F.adler, J.pending_buf, J.pending - Y, Y)), B(F), Y = J.pending, J.pending !== J.pending_buf_size)); ) q(J, 255 & J.gzhead.extra[J.gzindex]), J.gzindex++;
94788
94812
  J.gzhead.hcrc && J.pending > Y && (F.adler = d(F.adler, J.pending_buf, J.pending - Y, Y)), J.gzindex === J.gzhead.extra.length && (J.gzindex = 0, J.status = 73);
94789
94813
  } else J.status = 73;
94790
94814
  if (J.status === 73) if (J.gzhead.name) {
@@ -94794,7 +94818,7 @@ function gpe() {
94794
94818
  te = 1;
94795
94819
  break;
94796
94820
  }
94797
- te = J.gzindex < J.gzhead.name.length ? 255 & J.gzhead.name.charCodeAt(J.gzindex++) : 0, V(J, te);
94821
+ te = J.gzindex < J.gzhead.name.length ? 255 & J.gzhead.name.charCodeAt(J.gzindex++) : 0, q(J, te);
94798
94822
  } while (te !== 0);
94799
94823
  J.gzhead.hcrc && J.pending > Y && (F.adler = d(F.adler, J.pending_buf, J.pending - Y, Y)), te === 0 && (J.gzindex = 0, J.status = 91);
94800
94824
  } else J.status = 91;
@@ -94805,14 +94829,14 @@ function gpe() {
94805
94829
  te = 1;
94806
94830
  break;
94807
94831
  }
94808
- te = J.gzindex < J.gzhead.comment.length ? 255 & J.gzhead.comment.charCodeAt(J.gzindex++) : 0, V(J, te);
94832
+ te = J.gzindex < J.gzhead.comment.length ? 255 & J.gzhead.comment.charCodeAt(J.gzindex++) : 0, q(J, te);
94809
94833
  } while (te !== 0);
94810
94834
  J.gzhead.hcrc && J.pending > Y && (F.adler = d(F.adler, J.pending_buf, J.pending - Y, Y)), te === 0 && (J.status = 103);
94811
94835
  } else J.status = 103;
94812
- if (J.status === 103 && (J.gzhead.hcrc ? (J.pending + 2 > J.pending_buf_size && B(F), J.pending + 2 <= J.pending_buf_size && (V(J, 255 & F.adler), V(J, F.adler >> 8 & 255), F.adler = 0, J.status = N)) : J.status = N), J.pending !== 0) {
94836
+ if (J.status === 103 && (J.gzhead.hcrc ? (J.pending + 2 > J.pending_buf_size && B(F), J.pending + 2 <= J.pending_buf_size && (q(J, 255 & F.adler), q(J, F.adler >> 8 & 255), F.adler = 0, J.status = N)) : J.status = N), J.pending !== 0) {
94813
94837
  if (B(F), F.avail_out === 0) return J.last_flush = -1, m;
94814
- } else if (F.avail_in === 0 && W(Ee) <= W(le) && Ee !== f) return q(F, -5);
94815
- if (J.status === 666 && F.avail_in !== 0) return q(F, -5);
94838
+ } else if (F.avail_in === 0 && W(Ee) <= W(le) && Ee !== f) return V(F, -5);
94839
+ if (J.status === 666 && F.avail_in !== 0) return V(F, -5);
94816
94840
  if (F.avail_in !== 0 || J.lookahead !== 0 || Ee !== p && J.status !== 666) {
94817
94841
  var U = J.strategy === 2 ? (function(X, ie) {
94818
94842
  for (var de; ; ) {
@@ -94843,10 +94867,10 @@ function gpe() {
94843
94867
  if (U !== H && U !== j || (J.status = 666), U === C || U === H) return F.avail_out === 0 && (J.last_flush = -1), m;
94844
94868
  if (U === P && (Ee === 1 ? l._tr_align(J) : Ee !== 5 && (l._tr_stored_block(J, 0, 0, !1), Ee === 3 && (z(J.head), J.lookahead === 0 && (J.strstart = 0, J.block_start = 0, J.insert = 0))), B(F), F.avail_out === 0)) return J.last_flush = -1, m;
94845
94869
  }
94846
- return Ee !== f ? m : J.wrap <= 0 ? 1 : (J.wrap === 2 ? (V(J, 255 & F.adler), V(J, F.adler >> 8 & 255), V(J, F.adler >> 16 & 255), V(J, F.adler >> 24 & 255), V(J, 255 & F.total_in), V(J, F.total_in >> 8 & 255), V(J, F.total_in >> 16 & 255), V(J, F.total_in >> 24 & 255)) : (Q(J, F.adler >>> 16), Q(J, 65535 & F.adler)), B(F), 0 < J.wrap && (J.wrap = -J.wrap), J.pending !== 0 ? m : 1);
94870
+ return Ee !== f ? m : J.wrap <= 0 ? 1 : (J.wrap === 2 ? (q(J, 255 & F.adler), q(J, F.adler >> 8 & 255), q(J, F.adler >> 16 & 255), q(J, F.adler >> 24 & 255), q(J, 255 & F.total_in), q(J, F.total_in >> 8 & 255), q(J, F.total_in >> 16 & 255), q(J, F.total_in >> 24 & 255)) : (Q(J, F.adler >>> 16), Q(J, 65535 & F.adler)), B(F), 0 < J.wrap && (J.wrap = -J.wrap), J.pending !== 0 ? m : 1);
94847
94871
  }, i.deflateEnd = function(F) {
94848
94872
  var Ee;
94849
- return F && F.state ? (Ee = F.state.status) !== I && Ee !== 69 && Ee !== 73 && Ee !== 91 && Ee !== 103 && Ee !== N && Ee !== 666 ? q(F, g) : (F.state = null, Ee === N ? q(F, -3) : m) : g;
94873
+ return F && F.state ? (Ee = F.state.status) !== I && Ee !== 69 && Ee !== 73 && Ee !== 91 && Ee !== 103 && Ee !== N && Ee !== 666 ? V(F, g) : (F.state = null, Ee === N ? V(F, -3) : m) : g;
94850
94874
  }, i.deflateSetDictionary = function(F, Ee) {
94851
94875
  var le, J, Y, te, ae, U, X, ie, de = Ee.length;
94852
94876
  if (!F || !F.state || (te = (le = F.state).wrap) === 2 || te === 1 && le.status !== I || le.lookahead) return g;
@@ -94975,9 +94999,9 @@ function gpe() {
94975
94999
  i.inflateReset = _, i.inflateReset2 = T, i.inflateResetKeep = S, i.inflateInit = function(I) {
94976
95000
  return A(I, 15);
94977
95001
  }, i.inflateInit2 = A, i.inflate = function(I, N) {
94978
- var C, P, H, j, q, W, z, B, $, V, Q, oe, me, xe, Se, Ne, be, we, pe, ke, F, Ee, le, J, Y = 0, te = new s.Buf8(4), ae = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
95002
+ var C, P, H, j, V, W, z, B, $, q, Q, oe, me, xe, Se, Ne, be, we, pe, ke, F, Ee, le, J, Y = 0, te = new s.Buf8(4), ae = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
94979
95003
  if (!I || !I.state || !I.output || !I.input && I.avail_in !== 0) return m;
94980
- (C = I.state).mode === 12 && (C.mode = 13), q = I.next_out, H = I.output, z = I.avail_out, j = I.next_in, P = I.input, W = I.avail_in, B = C.hold, $ = C.bits, V = W, Q = z, Ee = f;
95004
+ (C = I.state).mode === 12 && (C.mode = 13), V = I.next_out, H = I.output, z = I.avail_out, j = I.next_in, P = I.input, W = I.avail_in, B = C.hold, $ = C.bits, q = W, Q = z, Ee = f;
94981
95005
  e: for (; ; ) switch (C.mode) {
94982
95006
  case g:
94983
95007
  if (C.wrap === 0) {
@@ -95080,7 +95104,7 @@ function gpe() {
95080
95104
  }
95081
95105
  I.adler = C.check = y(B), $ = B = 0, C.mode = 11;
95082
95106
  case 11:
95083
- if (C.havedict === 0) return I.next_out = q, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, 2;
95107
+ if (C.havedict === 0) return I.next_out = V, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, 2;
95084
95108
  I.adler = C.check = 1, C.mode = 12;
95085
95109
  case 12:
95086
95110
  if (N === 5 || N === 6) break e;
@@ -95124,7 +95148,7 @@ function gpe() {
95124
95148
  case 16:
95125
95149
  if (oe = C.length) {
95126
95150
  if (W < oe && (oe = W), z < oe && (oe = z), oe === 0) break e;
95127
- s.arraySet(H, P, j, oe, q), W -= oe, j += oe, z -= oe, q += oe, C.length -= oe;
95151
+ s.arraySet(H, P, j, oe, V), W -= oe, j += oe, z -= oe, V += oe, C.length -= oe;
95128
95152
  break;
95129
95153
  }
95130
95154
  C.mode = 12;
@@ -95209,7 +95233,7 @@ function gpe() {
95209
95233
  C.mode = 21;
95210
95234
  case 21:
95211
95235
  if (6 <= W && 258 <= z) {
95212
- I.next_out = q, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, c(I, Q), q = I.next_out, H = I.output, z = I.avail_out, j = I.next_in, P = I.input, W = I.avail_in, B = C.hold, $ = C.bits, C.mode === 12 && (C.back = -1);
95236
+ I.next_out = V, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, c(I, Q), V = I.next_out, H = I.output, z = I.avail_out, j = I.next_in, P = I.input, W = I.avail_in, B = C.hold, $ = C.bits, C.mode === 12 && (C.back = -1);
95213
95237
  break;
95214
95238
  }
95215
95239
  for (C.back = 0; Ne = (Y = C.lencode[B & (1 << C.lenbits) - 1]) >>> 16 & 255, be = 65535 & Y, !((Se = Y >>> 24) <= $); ) {
@@ -95283,13 +95307,13 @@ function gpe() {
95283
95307
  break;
95284
95308
  }
95285
95309
  me = oe > C.wnext ? (oe -= C.wnext, C.wsize - oe) : C.wnext - oe, oe > C.length && (oe = C.length), xe = C.window;
95286
- } else xe = H, me = q - C.offset, oe = C.length;
95287
- for (z < oe && (oe = z), z -= oe, C.length -= oe; H[q++] = xe[me++], --oe; ) ;
95310
+ } else xe = H, me = V - C.offset, oe = C.length;
95311
+ for (z < oe && (oe = z), z -= oe, C.length -= oe; H[V++] = xe[me++], --oe; ) ;
95288
95312
  C.length === 0 && (C.mode = 21);
95289
95313
  break;
95290
95314
  case 26:
95291
95315
  if (z === 0) break e;
95292
- H[q++] = C.length, z--, C.mode = 21;
95316
+ H[V++] = C.length, z--, C.mode = 21;
95293
95317
  break;
95294
95318
  case 27:
95295
95319
  if (C.wrap) {
@@ -95297,7 +95321,7 @@ function gpe() {
95297
95321
  if (W === 0) break e;
95298
95322
  W--, B |= P[j++] << $, $ += 8;
95299
95323
  }
95300
- if (Q -= z, I.total_out += Q, C.total += Q, Q && (I.adler = C.check = C.flags ? l(C.check, H, Q, q - Q) : o(C.check, H, Q, q - Q)), Q = z, (C.flags ? B : y(B)) !== C.check) {
95324
+ if (Q -= z, I.total_out += Q, C.total += Q, Q && (I.adler = C.check = C.flags ? l(C.check, H, Q, V - Q) : o(C.check, H, Q, V - Q)), Q = z, (C.flags ? B : y(B)) !== C.check) {
95301
95325
  I.msg = "incorrect data check", C.mode = 30;
95302
95326
  break;
95303
95327
  }
@@ -95328,7 +95352,7 @@ function gpe() {
95328
95352
  default:
95329
95353
  return m;
95330
95354
  }
95331
- return I.next_out = q, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, (C.wsize || Q !== I.avail_out && C.mode < 30 && (C.mode < 27 || N !== 4)) && D(I, I.output, I.next_out, Q - I.avail_out) ? (C.mode = 31, -4) : (V -= I.avail_in, Q -= I.avail_out, I.total_in += V, I.total_out += Q, C.total += Q, C.wrap && Q && (I.adler = C.check = C.flags ? l(C.check, H, Q, I.next_out - Q) : o(C.check, H, Q, I.next_out - Q)), I.data_type = C.bits + (C.last ? 64 : 0) + (C.mode === 12 ? 128 : 0) + (C.mode === 20 || C.mode === 15 ? 256 : 0), (V == 0 && Q === 0 || N === 4) && Ee === f && (Ee = -5), Ee);
95355
+ return I.next_out = V, I.avail_out = z, I.next_in = j, I.avail_in = W, C.hold = B, C.bits = $, (C.wsize || Q !== I.avail_out && C.mode < 30 && (C.mode < 27 || N !== 4)) && D(I, I.output, I.next_out, Q - I.avail_out) ? (C.mode = 31, -4) : (q -= I.avail_in, Q -= I.avail_out, I.total_in += q, I.total_out += Q, C.total += Q, C.wrap && Q && (I.adler = C.check = C.flags ? l(C.check, H, Q, I.next_out - Q) : o(C.check, H, Q, I.next_out - Q)), I.data_type = C.bits + (C.last ? 64 : 0) + (C.mode === 12 ? 128 : 0) + (C.mode === 20 || C.mode === 15 ? 256 : 0), (q == 0 && Q === 0 || N === 4) && Ee === f && (Ee = -5), Ee);
95332
95356
  }, i.inflateEnd = function(I) {
95333
95357
  if (!I || !I.state) return m;
95334
95358
  var N = I.state;
@@ -95343,7 +95367,7 @@ function gpe() {
95343
95367
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, a, i) {
95344
95368
  var s = n("../utils/common"), o = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], l = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], c = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], d = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
95345
95369
  a.exports = function(u, p, f, m, g, h, b, y) {
95346
- var v, S, _, T, A, k, O, x, R, D = y.bits, I = 0, N = 0, C = 0, P = 0, H = 0, j = 0, q = 0, W = 0, z = 0, B = 0, $ = null, V = 0, Q = new s.Buf16(16), oe = new s.Buf16(16), me = null, xe = 0;
95370
+ var v, S, _, T, A, k, O, x, R, D = y.bits, I = 0, N = 0, C = 0, P = 0, H = 0, j = 0, V = 0, W = 0, z = 0, B = 0, $ = null, q = 0, Q = new s.Buf16(16), oe = new s.Buf16(16), me = null, xe = 0;
95347
95371
  for (I = 0; I <= 15; I++) Q[I] = 0;
95348
95372
  for (N = 0; N < m; N++) Q[p[f + N]]++;
95349
95373
  for (H = D, P = 15; 1 <= P && Q[P] === 0; P--) ;
@@ -95353,21 +95377,21 @@ function gpe() {
95353
95377
  if (0 < W && (u === 0 || P !== 1)) return -1;
95354
95378
  for (oe[1] = 0, I = 1; I < 15; I++) oe[I + 1] = oe[I] + Q[I];
95355
95379
  for (N = 0; N < m; N++) p[f + N] !== 0 && (b[oe[p[f + N]]++] = N);
95356
- if (k = u === 0 ? ($ = me = b, 19) : u === 1 ? ($ = o, V -= 257, me = l, xe -= 257, 256) : ($ = c, me = d, -1), I = C, A = h, q = N = B = 0, _ = -1, T = (z = 1 << (j = H)) - 1, u === 1 && 852 < z || u === 2 && 592 < z) return 1;
95380
+ if (k = u === 0 ? ($ = me = b, 19) : u === 1 ? ($ = o, q -= 257, me = l, xe -= 257, 256) : ($ = c, me = d, -1), I = C, A = h, V = N = B = 0, _ = -1, T = (z = 1 << (j = H)) - 1, u === 1 && 852 < z || u === 2 && 592 < z) return 1;
95357
95381
  for (; ; ) {
95358
- for (O = I - q, R = b[N] < k ? (x = 0, b[N]) : b[N] > k ? (x = me[xe + b[N]], $[V + b[N]]) : (x = 96, 0), v = 1 << I - q, C = S = 1 << j; g[A + (B >> q) + (S -= v)] = O << 24 | x << 16 | R | 0, S !== 0; ) ;
95382
+ for (O = I - V, R = b[N] < k ? (x = 0, b[N]) : b[N] > k ? (x = me[xe + b[N]], $[q + b[N]]) : (x = 96, 0), v = 1 << I - V, C = S = 1 << j; g[A + (B >> V) + (S -= v)] = O << 24 | x << 16 | R | 0, S !== 0; ) ;
95359
95383
  for (v = 1 << I - 1; B & v; ) v >>= 1;
95360
95384
  if (v !== 0 ? (B &= v - 1, B += v) : B = 0, N++, --Q[I] == 0) {
95361
95385
  if (I === P) break;
95362
95386
  I = p[f + b[N]];
95363
95387
  }
95364
95388
  if (H < I && (B & T) !== _) {
95365
- for (q === 0 && (q = H), A += C, W = 1 << (j = I - q); j + q < P && !((W -= Q[j + q]) <= 0); ) j++, W <<= 1;
95389
+ for (V === 0 && (V = H), A += C, W = 1 << (j = I - V); j + V < P && !((W -= Q[j + V]) <= 0); ) j++, W <<= 1;
95366
95390
  if (z += 1 << j, u === 1 && 852 < z || u === 2 && 592 < z) return 1;
95367
95391
  g[_ = B & T] = H << 24 | j << 16 | A - h | 0;
95368
95392
  }
95369
95393
  }
95370
- return B !== 0 && (g[A + B] = I - q << 24 | 64 << 16 | 0), y.bits = H, 0;
95394
+ return B !== 0 && (g[A + B] = I - V << 24 | 64 << 16 | 0), y.bits = H, 0;
95371
95395
  };
95372
95396
  }, { "../utils/common": 41 }], 51: [function(n, a, i) {
95373
95397
  a.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
@@ -95386,7 +95410,7 @@ function gpe() {
95386
95410
  c(C);
95387
95411
  var P = new Array(u);
95388
95412
  c(P);
95389
- var H, j, q, W = new Array(m);
95413
+ var H, j, V, W = new Array(m);
95390
95414
  function z(Y, te, ae, U, X) {
95391
95415
  this.static_tree = Y, this.extra_bits = te, this.extra_base = ae, this.elems = U, this.max_length = X, this.has_stree = Y && Y.length;
95392
95416
  }
@@ -95396,11 +95420,11 @@ function gpe() {
95396
95420
  function $(Y) {
95397
95421
  return Y < 256 ? N[Y] : N[256 + (Y >>> 7)];
95398
95422
  }
95399
- function V(Y, te) {
95423
+ function q(Y, te) {
95400
95424
  Y.pending_buf[Y.pending++] = 255 & te, Y.pending_buf[Y.pending++] = te >>> 8 & 255;
95401
95425
  }
95402
95426
  function Q(Y, te, ae) {
95403
- Y.bi_valid > y - ae ? (Y.bi_buf |= te << Y.bi_valid & 65535, V(Y, Y.bi_buf), Y.bi_buf = te >> y - Y.bi_valid, Y.bi_valid += ae - y) : (Y.bi_buf |= te << Y.bi_valid & 65535, Y.bi_valid += ae);
95427
+ Y.bi_valid > y - ae ? (Y.bi_buf |= te << Y.bi_valid & 65535, q(Y, Y.bi_buf), Y.bi_buf = te >> y - Y.bi_valid, Y.bi_valid += ae - y) : (Y.bi_buf |= te << Y.bi_valid & 65535, Y.bi_valid += ae);
95404
95428
  }
95405
95429
  function oe(Y, te, ae) {
95406
95430
  Q(Y, ae[2 * te], ae[2 * te + 1]);
@@ -95425,7 +95449,7 @@ function gpe() {
95425
95449
  Y.dyn_ltree[2 * S] = 1, Y.opt_len = Y.static_len = 0, Y.last_lit = Y.matches = 0;
95426
95450
  }
95427
95451
  function Ne(Y) {
95428
- 8 < Y.bi_valid ? V(Y, Y.bi_buf) : 0 < Y.bi_valid && (Y.pending_buf[Y.pending++] = Y.bi_buf), Y.bi_buf = 0, Y.bi_valid = 0;
95452
+ 8 < Y.bi_valid ? q(Y, Y.bi_buf) : 0 < Y.bi_valid && (Y.pending_buf[Y.pending++] = Y.bi_buf), Y.bi_buf = 0, Y.bi_valid = 0;
95429
95453
  }
95430
95454
  function be(Y, te, ae, U) {
95431
95455
  var X = 2 * te, ie = 2 * ae;
@@ -95475,7 +95499,7 @@ function gpe() {
95475
95499
  var le = !1;
95476
95500
  function J(Y, te, ae, U) {
95477
95501
  Q(Y, (d << 1) + (U ? 1 : 0), 3), (function(X, ie, de, se) {
95478
- Ne(X), V(X, de), V(X, ~de), s.arraySet(X.pending_buf, X.window, ie, de, X.pending), X.pending += de;
95502
+ Ne(X), q(X, de), q(X, ~de), s.arraySet(X.pending_buf, X.window, ie, de, X.pending), X.pending += de;
95479
95503
  })(Y, te, ae);
95480
95504
  }
95481
95505
  i._tr_init = function(Y) {
@@ -95490,8 +95514,8 @@ function gpe() {
95490
95514
  for (; te <= 279; ) D[2 * te + 1] = 7, te++, de[7]++;
95491
95515
  for (; te <= 287; ) D[2 * te + 1] = 8, te++, de[8]++;
95492
95516
  for (xe(D, f + 1, de), te = 0; te < m; te++) I[2 * te + 1] = 5, I[2 * te] = me(te, 5);
95493
- H = new z(D, k, p + 1, f, b), j = new z(I, O, 0, m, b), q = new z(new Array(0), x, 0, g, v);
95494
- })(), le = !0), Y.l_desc = new B(Y.dyn_ltree, H), Y.d_desc = new B(Y.dyn_dtree, j), Y.bl_desc = new B(Y.bl_tree, q), Y.bi_buf = 0, Y.bi_valid = 0, Se(Y);
95517
+ H = new z(D, k, p + 1, f, b), j = new z(I, O, 0, m, b), V = new z(new Array(0), x, 0, g, v);
95518
+ })(), le = !0), Y.l_desc = new B(Y.dyn_ltree, H), Y.d_desc = new B(Y.dyn_dtree, j), Y.bl_desc = new B(Y.bl_tree, V), Y.bi_buf = 0, Y.bi_valid = 0, Se(Y);
95495
95519
  }, i._tr_stored_block = J, i._tr_flush_block = function(Y, te, ae, U) {
95496
95520
  var X, ie, de = 0;
95497
95521
  0 < Y.level ? (Y.strm.data_type === 2 && (Y.strm.data_type = (function(se) {
@@ -95513,7 +95537,7 @@ function gpe() {
95513
95537
  return Y.pending_buf[Y.d_buf + 2 * Y.last_lit] = te >>> 8 & 255, Y.pending_buf[Y.d_buf + 2 * Y.last_lit + 1] = 255 & te, Y.pending_buf[Y.l_buf + Y.last_lit] = 255 & ae, Y.last_lit++, te === 0 ? Y.dyn_ltree[2 * ae]++ : (Y.matches++, te--, Y.dyn_ltree[2 * (C[ae] + p + 1)]++, Y.dyn_dtree[2 * $(te)]++), Y.last_lit === Y.lit_bufsize - 1;
95514
95538
  }, i._tr_align = function(Y) {
95515
95539
  Q(Y, 2, 3), oe(Y, S, D), (function(te) {
95516
- te.bi_valid === 16 ? (V(te, te.bi_buf), te.bi_buf = 0, te.bi_valid = 0) : 8 <= te.bi_valid && (te.pending_buf[te.pending++] = 255 & te.bi_buf, te.bi_buf >>= 8, te.bi_valid -= 8);
95540
+ te.bi_valid === 16 ? (q(te, te.bi_buf), te.bi_buf = 0, te.bi_valid = 0) : 8 <= te.bi_valid && (te.pending_buf[te.pending++] = 255 & te.bi_buf, te.bi_buf >>= 8, te.bi_valid -= 8);
95517
95541
  })(Y);
95518
95542
  };
95519
95543
  }, { "../utils/common": 41 }], 53: [function(n, a, i) {
@@ -97326,12 +97350,12 @@ const dfe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
97326
97350
  a("realmSaveError", Se);
97327
97351
  }
97328
97352
  i !== (me.realm || s?.realm) && c(kd({ realm: me.realm, tab: "general" })), o();
97329
- }, T = (me) => bt(kd({ realm: i, tab: me })), A = T("general"), k = T("login"), O = T("email"), x = T("themes"), R = T("keys"), D = T("events"), I = T("localization"), N = T("security-defenses"), C = T("sessions"), P = T("tokens"), H = T("client-policies"), j = T("user-profile"), q = T("user-registration"), { hasAccess: W, hasSomeAccess: z } = Gt(), B = W("view-realm") && z("view-events", "manage-events"), $ = W("view-realm") && z("view-clients", "manage-clients"), V = (me) => bt(
97353
+ }, T = (me) => bt(kd({ realm: i, tab: me })), A = T("general"), k = T("login"), O = T("email"), x = T("themes"), R = T("keys"), D = T("events"), I = T("localization"), N = T("security-defenses"), C = T("sessions"), P = T("tokens"), H = T("client-policies"), j = T("user-profile"), V = T("user-registration"), { hasAccess: W, hasSomeAccess: z } = Gt(), B = W("view-realm") && z("view-events", "manage-events"), $ = W("view-realm") && z("view-clients", "manage-clients"), q = (me) => bt(
97330
97354
  Li({
97331
97355
  realm: i,
97332
97356
  tab: me
97333
97357
  })
97334
- ), Q = V("profiles"), oe = V("policies");
97358
+ ), Q = q("profiles"), oe = q("policies");
97335
97359
  return /* @__PURE__ */ w(tt, { ...f, children: [
97336
97360
  /* @__PURE__ */ r(
97337
97361
  Ae,
@@ -97518,7 +97542,7 @@ const dfe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
97518
97542
  {
97519
97543
  title: /* @__PURE__ */ r(He, { children: t("userRegistration") }),
97520
97544
  "data-testid": "rs-userRegistration-tab",
97521
- ...q,
97545
+ ...V,
97522
97546
  children: /* @__PURE__ */ r(wpe, {})
97523
97547
  }
97524
97548
  )
@@ -98327,15 +98351,15 @@ const D6 = ({
98327
98351
  const P = async () => {
98328
98352
  try {
98329
98353
  await d.users.update({ id: n.id }, { enabled: !0 }), f(u("unlockSuccess"), _e.success), l && l();
98330
- } catch (V) {
98331
- m("unlockError", V);
98332
- }
98333
- }, H = (V) => {
98334
- x(O.filter((Q) => Q.name !== V)), c?.(O);
98335
- }, j = async (V) => {
98336
- x([...O, ...V]), c?.([...O, ...V]);
98337
- }, q = async (V) => {
98338
- V.forEach(async (oe) => {
98354
+ } catch (q) {
98355
+ m("unlockError", q);
98356
+ }
98357
+ }, H = (q) => {
98358
+ x(O.filter((Q) => Q.name !== q)), c?.(O);
98359
+ }, j = async (q) => {
98360
+ x([...O, ...q]), c?.([...O, ...q]);
98361
+ }, V = async (q) => {
98362
+ q.forEach(async (oe) => {
98339
98363
  try {
98340
98364
  await d.users.addToGroup({
98341
98365
  id: n.id,
@@ -98349,13 +98373,13 @@ const D6 = ({
98349
98373
  D(!R);
98350
98374
  }, z = () => {
98351
98375
  n?.id ? T(Kl(n)) : C(zo({ realm: t.realm }));
98352
- }, B = () => n?.userProfileMetadata?.attributes && !n?.userProfileMetadata?.attributes?.map((V) => V.readOnly).reduce((V, Q) => V && Q, !0), $ = async () => {
98376
+ }, B = () => n?.userProfileMetadata?.attributes && !n?.userProfileMetadata?.attributes?.map((q) => q.readOnly).reduce((q, Q) => q && Q, !0), $ = async () => {
98353
98377
  try {
98354
98378
  o(
98355
98379
  Kl({
98356
98380
  ...n,
98357
98381
  requiredActions: n?.requiredActions?.filter(
98358
- (V) => V !== "UPDATE_EMAIL"
98382
+ (q) => q !== "UPDATE_EMAIL"
98359
98383
  ),
98360
98384
  attributes: {
98361
98385
  ...n?.attributes,
@@ -98363,8 +98387,8 @@ const D6 = ({
98363
98387
  }
98364
98388
  })
98365
98389
  ), l && l();
98366
- } catch (V) {
98367
- m("emailPendingVerificationUpdateError", V);
98390
+ } catch (q) {
98391
+ m("emailPendingVerificationUpdateError", q);
98368
98392
  }
98369
98393
  };
98370
98394
  return /* @__PURE__ */ w(
@@ -98386,8 +98410,8 @@ const D6 = ({
98386
98410
  ok: "join"
98387
98411
  },
98388
98412
  canBrowse: h,
98389
- onConfirm: async (V) => {
98390
- n?.id ? await q(V || []) : await j(V || []), D(!1);
98413
+ onConfirm: async (q) => {
98414
+ n?.id ? await V(q || []) : await j(q || []), D(!1);
98391
98415
  },
98392
98416
  onClose: () => D(!1),
98393
98417
  filterGroups: O
@@ -98495,13 +98519,13 @@ const D6 = ({
98495
98519
  userProfileMetadata: {
98496
98520
  ...s,
98497
98521
  attributes: s.attributes?.filter(
98498
- (V) => V.name !== "kc.email.pending"
98522
+ (q) => q.name !== "kc.email.pending"
98499
98523
  )
98500
98524
  },
98501
98525
  hideReadOnly: !n,
98502
98526
  supportedLocales: t.supportedLocales || [],
98503
98527
  currentLocale: y.locale,
98504
- t: ((V, Q) => u(V, Q))
98528
+ t: ((q, Q) => u(q, Q))
98505
98529
  }
98506
98530
  )
98507
98531
  ] }) : /* @__PURE__ */ w(ne, { children: [
@@ -98560,7 +98584,7 @@ const D6 = ({
98560
98584
  {
98561
98585
  "data-testid": "user-locked-switch",
98562
98586
  id: "temporaryLocked",
98563
- onChange: async (V, Q) => {
98587
+ onChange: async (q, Q) => {
98564
98588
  await P(), N(Q);
98565
98589
  },
98566
98590
  isChecked: I,
@@ -98585,13 +98609,13 @@ const D6 = ({
98585
98609
  defaultValue: [],
98586
98610
  control: _,
98587
98611
  render: () => /* @__PURE__ */ w(rn, { children: [
98588
- /* @__PURE__ */ r(vt, { children: /* @__PURE__ */ r(Gn, { categoryName: " ", children: O.map((V) => /* @__PURE__ */ r(
98612
+ /* @__PURE__ */ r(vt, { children: /* @__PURE__ */ r(Gn, { categoryName: " ", children: O.map((q) => /* @__PURE__ */ r(
98589
98613
  on,
98590
98614
  {
98591
- onClick: () => H(V.name),
98592
- children: V.path
98615
+ onClick: () => H(q.name),
98616
+ children: q.path
98593
98617
  },
98594
- V.id
98618
+ q.id
98595
98619
  )) }) }),
98596
98620
  /* @__PURE__ */ r(vt, { children: /* @__PURE__ */ r(
98597
98621
  Z,
@@ -98748,10 +98772,10 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98748
98772
  { value: "Unmanaged", label: "Unmanaged" }
98749
98773
  ], P = () => {
98750
98774
  N(!I);
98751
- }, H = ($, V) => {
98752
- R.includes(V) ? D(
98753
- R.filter((Q) => Q !== V)
98754
- ) : D([...R, V]), N(!1), u();
98775
+ }, H = ($, q) => {
98776
+ R.includes(q) ? D(
98777
+ R.filter((Q) => Q !== q)
98778
+ ) : D([...R, q]), N(!1), u();
98755
98779
  };
98756
98780
  ze(
98757
98781
  async () => {
@@ -98781,7 +98805,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98781
98805
  );
98782
98806
  const j = ($) => {
98783
98807
  k($);
98784
- }, q = () => {
98808
+ }, V = () => {
98785
98809
  x(A), u();
98786
98810
  }, W = () => {
98787
98811
  k(""), x(""), u();
@@ -98794,8 +98818,8 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98794
98818
  try {
98795
98819
  await Promise.all(
98796
98820
  _.map(
98797
- (V) => t.organizations.delMember({
98798
- orgId: V.id,
98821
+ (q) => t.organizations.delMember({
98822
+ orgId: q.id,
98799
98823
  userId: a
98800
98824
  })
98801
98825
  )
@@ -98815,13 +98839,13 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98815
98839
  onAdd: async ($) => {
98816
98840
  try {
98817
98841
  await Promise.all(
98818
- $.map((V) => {
98842
+ $.map((q) => {
98819
98843
  const Q = new FormData();
98820
98844
  return Q.append("id", a), g ? t.organizations.addMember({
98821
- orgId: V.id,
98845
+ orgId: q.id,
98822
98846
  userId: `"${e.id}"`
98823
98847
  }) : t.organizations.inviteExistingUser(
98824
- { orgId: V.id },
98848
+ { orgId: q.id },
98825
98849
  Q
98826
98850
  );
98827
98851
  })
@@ -98831,10 +98855,10 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98831
98855
  { count: $.length }
98832
98856
  )
98833
98857
  ), u();
98834
- } catch (V) {
98858
+ } catch (q) {
98835
98859
  o(
98836
98860
  g ? "userAddedOrganizationError" : "userInvitedError",
98837
- V
98861
+ q
98838
98862
  );
98839
98863
  }
98840
98864
  }
@@ -98844,7 +98868,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98844
98868
  /* @__PURE__ */ r(
98845
98869
  cP,
98846
98870
  {
98847
- link: ({ organization: $, children: V }) => /* @__PURE__ */ r(
98871
+ link: ({ organization: $, children: q }) => /* @__PURE__ */ r(
98848
98872
  Ye,
98849
98873
  {
98850
98874
  to: iu({
@@ -98852,7 +98876,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98852
98876
  id: $.id,
98853
98877
  tab: "settings"
98854
98878
  }),
98855
- children: V
98879
+ children: q
98856
98880
  },
98857
98881
  $.id
98858
98882
  ),
@@ -98870,7 +98894,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98870
98894
  value: A,
98871
98895
  placeholder: n("searchMembers"),
98872
98896
  onChange: j,
98873
- onSearch: q,
98897
+ onSearch: V,
98874
98898
  onClear: W,
98875
98899
  "aria-label": n("searchMembers")
98876
98900
  }
@@ -99145,7 +99169,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99145
99169
  le.dataTransfer.effectAllowed = "move", le.dataTransfer.setData("text/plain", le.currentTarget.id);
99146
99170
  const J = le.currentTarget.id;
99147
99171
  le.currentTarget.classList.add(gt.modifiers.ghostRow), le.currentTarget.setAttribute("aria-pressed", "true"), R({ ...x, draggedItemId: J, dragging: !0 });
99148
- }, q = (le, J, Y) => {
99172
+ }, V = (le, J, Y) => {
99149
99173
  const te = le.indexOf(J);
99150
99174
  if (te === Y)
99151
99175
  return le;
@@ -99172,7 +99196,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99172
99196
  if (!O.current) return !1;
99173
99197
  const J = O.current.getBoundingClientRect();
99174
99198
  return le.clientX > J.x && le.clientX < J.x + J.width && le.clientY > J.y && le.clientY < J.y + J.height;
99175
- }, V = async (le) => {
99199
+ }, q = async (le) => {
99176
99200
  $(le) ? await xe(x.draggedItemId, x.tempItemOrder) : z();
99177
99201
  }, Q = (le) => {
99178
99202
  le.preventDefault();
@@ -99183,7 +99207,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99183
99207
  ).findIndex((X) => X.id === te);
99184
99208
  if (ae === x.draggingToItemIndex)
99185
99209
  return;
99186
- const U = q(
99210
+ const U = V(
99187
99211
  H,
99188
99212
  x.draggedItemId,
99189
99213
  ae
@@ -99314,7 +99338,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99314
99338
  {
99315
99339
  id: le.value.map(({ id: Y }) => Y).toString(),
99316
99340
  draggable: b.length > 1,
99317
- onDrop: V,
99341
+ onDrop: q,
99318
99342
  onDragEnd: me,
99319
99343
  onDragStart: j,
99320
99344
  children: [
@@ -99378,7 +99402,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99378
99402
  {
99379
99403
  id: Y.id,
99380
99404
  draggable: !0,
99381
- onDrop: V,
99405
+ onDrop: q,
99382
99406
  onDragEnd: me,
99383
99407
  onDragStart: j,
99384
99408
  children: [
@@ -99470,9 +99494,9 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99470
99494
  m([...P]);
99471
99495
  const H = [];
99472
99496
  return u || P.forEach((j) => {
99473
- const q = (j.path?.substring(1).match(/((~\/)|[^/])+/g) || []).slice(0, -1);
99497
+ const V = (j.path?.substring(1).match(/((~\/)|[^/])+/g) || []).slice(0, -1);
99474
99498
  H.push(
99475
- ...q.map((W) => ({
99499
+ ...V.map((W) => ({
99476
99500
  name: W,
99477
99501
  path: j.path?.substring(0, j.path.indexOf(W) + W.length)
99478
99502
  }))
@@ -99764,20 +99788,20 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99764
99788
  });
99765
99789
  if (v) {
99766
99790
  const j = await t.identityProviders.find();
99767
- for (const q of H)
99768
- q.providerId = j.find(
99769
- (W) => W.alias === q.identityProvider
99791
+ for (const V of H)
99792
+ V.providerId = j.find(
99793
+ (W) => W.alias === V.identityProvider
99770
99794
  )?.providerId;
99771
99795
  }
99772
99796
  return H;
99773
- }, A = async () => T(), k = async (H, j, q) => {
99797
+ }, A = async () => T(), k = async (H, j, V) => {
99774
99798
  const W = {
99775
99799
  first: H,
99776
99800
  max: j,
99777
99801
  realmOnly: !1,
99778
99802
  capability: "USER_LINKING"
99779
99803
  };
99780
- return q && (W.search = q), await t.identityProviders.find(W);
99804
+ return V && (W.search = V), await t.identityProviders.find(W);
99781
99805
  }, [O, x] = rt({
99782
99806
  titleKey: h("unlinkAccountTitle", {
99783
99807
  provider: ds(c)
@@ -99810,12 +99834,12 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
99810
99834
  }
99811
99835
  ) : /* @__PURE__ */ r("span", { children: ds(H.identityProvider) }), D = (H) => {
99812
99836
  const j = _?.find(
99813
- (q) => q.id === H.identityProvider
99837
+ (V) => V.id === H.identityProvider
99814
99838
  )?.groupName;
99815
99839
  return /* @__PURE__ */ r(dn, { color: j === "Social" ? "blue" : "orange", children: h(j === "Social" ? "idpType.social" : "idpType.custom") });
99816
99840
  }, I = (H) => {
99817
99841
  const j = _?.find(
99818
- (q) => q.id === H.providerId
99842
+ (V) => V.id === H.providerId
99819
99843
  )?.groupName;
99820
99844
  return /* @__PURE__ */ r(dn, { color: j === "User-defined" ? "orange" : "blue", children: j === "User-defined" ? "Custom" : j === "Social" ? h("idpType.social") : j });
99821
99845
  }, N = (H) => b("manage-users") ? /* @__PURE__ */ r(
@@ -99975,7 +99999,7 @@ function Jpe() {
99975
99999
  realm: l,
99976
100000
  id: p?.id || "",
99977
100001
  tab: ke
99978
- }), [C, P] = M("userEvents"), H = bt(N("settings")), j = bt(N("attributes")), q = bt(N("credentials")), W = bt(N("role-mapping")), z = bt(N("groups")), B = bt(N("organizations")), $ = bt(N("consents")), V = bt(
100002
+ }), [C, P] = M("userEvents"), H = bt(N("settings")), j = bt(N("attributes")), V = bt(N("credentials")), W = bt(N("role-mapping")), z = bt(N("groups")), B = bt(N("organizations")), $ = bt(N("consents")), q = bt(
99979
100003
  N("identity-provider-links")
99980
100004
  ), Q = bt(N("sessions")), oe = bt(N("events"));
99981
100005
  ze(
@@ -100176,7 +100200,7 @@ function Jpe() {
100176
100200
  "data-testid": "credentials",
100177
100201
  isHidden: !p.access?.view,
100178
100202
  title: /* @__PURE__ */ r(He, { children: t("credentials") }),
100179
- ...q,
100203
+ ...V,
100180
100204
  children: /* @__PURE__ */ r(Kpe, { user: p, setUser: f })
100181
100205
  }
100182
100206
  ),
@@ -100222,7 +100246,7 @@ function Jpe() {
100222
100246
  {
100223
100247
  "data-testid": "identity-provider-links-tab",
100224
100248
  title: /* @__PURE__ */ r(He, { children: t("identityProviderLinks") }),
100225
- ...V,
100249
+ ...q,
100226
100250
  children: /* @__PURE__ */ r(Xpe, { userId: p.id })
100227
100251
  }
100228
100252
  ),
@@ -101067,7 +101091,7 @@ function ime() {
101067
101091
  const C = da(N), P = {
101068
101092
  ...C,
101069
101093
  config: Object.entries(C.config || {}).reduce(
101070
- (H, [j, q]) => (H[j] = Array.isArray(q) ? q : [q], H),
101094
+ (H, [j, V]) => (H[j] = Array.isArray(V) ? V : [V], H),
101071
101095
  {}
101072
101096
  )
101073
101097
  };
@@ -104714,4 +104738,4 @@ export {
104714
104738
  ze as y,
104715
104739
  Sc as z
104716
104740
  };
104717
- //# sourceMappingURL=index-aTEFJb4J.js.map
104741
+ //# sourceMappingURL=index-Ddam0zn3.js.map