@strapi/plugin-users-permissions 5.0.0-alpha.7 → 5.0.0-beta.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 (47) hide show
  1. package/dist/_chunks/{EditViewPage-GUkP1rzn-yMSST-PM.mjs → EditViewPage-BJdNfzBZ-XIkFGBc4.mjs} +3 -3
  2. package/dist/_chunks/{EditViewPage-GUkP1rzn-yMSST-PM.mjs.map → EditViewPage-BJdNfzBZ-XIkFGBc4.mjs.map} +1 -1
  3. package/dist/_chunks/{EditViewPage-GUkP1rzn-EvE5_Dqg.js → EditViewPage-BJdNfzBZ-eKwHxgPQ.js} +162 -162
  4. package/dist/_chunks/{EditViewPage-GUkP1rzn-EvE5_Dqg.js.map → EditViewPage-BJdNfzBZ-eKwHxgPQ.js.map} +1 -1
  5. package/dist/_chunks/{ListViewPage-J4KUAgai-Jx1wAHNe.js → ListViewPage-FE12IpwT-Wq63ge4-.js} +105 -105
  6. package/dist/_chunks/{ListViewPage-J4KUAgai-Jx1wAHNe.js.map → ListViewPage-FE12IpwT-Wq63ge4-.js.map} +1 -1
  7. package/dist/_chunks/{ListViewPage-J4KUAgai-ZIjTKdLR.mjs → ListViewPage-FE12IpwT-qmEuoG2g.mjs} +6 -6
  8. package/dist/_chunks/{ListViewPage-J4KUAgai-ZIjTKdLR.mjs.map → ListViewPage-FE12IpwT-qmEuoG2g.mjs.map} +1 -1
  9. package/dist/_chunks/{ReviewWorkflowsColumn-fFjISpV--dYZPkYd2.mjs → ReviewWorkflowsColumn-NUu47oVz-8gQO_Y5x.mjs} +2 -2
  10. package/dist/_chunks/{ReviewWorkflowsColumn-fFjISpV--dYZPkYd2.mjs.map → ReviewWorkflowsColumn-NUu47oVz-8gQO_Y5x.mjs.map} +1 -1
  11. package/dist/_chunks/{ReviewWorkflowsColumn-fFjISpV--dlK11zEK.js → ReviewWorkflowsColumn-NUu47oVz-ARD7iQQF.js} +5 -5
  12. package/dist/_chunks/{ReviewWorkflowsColumn-fFjISpV--dlK11zEK.js.map → ReviewWorkflowsColumn-NUu47oVz-ARD7iQQF.js.map} +1 -1
  13. package/dist/_chunks/{constants--6hi2sq7--jzki0sQ.js → constants-D6NLEhwu-4IL8biHd.js} +18 -18
  14. package/dist/_chunks/{constants--6hi2sq7--jzki0sQ.js.map → constants-D6NLEhwu-4IL8biHd.js.map} +1 -1
  15. package/dist/_chunks/{constants--6hi2sq7--gY3dAx3.mjs → constants-D6NLEhwu-gRKBHArd.mjs} +2 -2
  16. package/dist/_chunks/{constants--6hi2sq7--gY3dAx3.mjs.map → constants-D6NLEhwu-gRKBHArd.mjs.map} +1 -1
  17. package/dist/_chunks/{index-oXhvt6Nv-pCZVgOpZ.mjs → index-1NFAbkxM-Km1zKLTh.mjs} +3 -3
  18. package/dist/_chunks/{index-oXhvt6Nv-pCZVgOpZ.mjs.map → index-1NFAbkxM-Km1zKLTh.mjs.map} +1 -1
  19. package/dist/_chunks/{index-oXhvt6Nv-G3O8_aL_.js → index-1NFAbkxM-c8HdvwSA.js} +3 -3
  20. package/dist/_chunks/{index-oXhvt6Nv-G3O8_aL_.js.map → index-1NFAbkxM-c8HdvwSA.js.map} +1 -1
  21. package/dist/_chunks/{index-VGeBMMek.js → index-46oU0LRy.js} +2 -2
  22. package/dist/_chunks/{index-VGeBMMek.js.map → index-46oU0LRy.js.map} +1 -1
  23. package/dist/_chunks/{index-xKSgJypf.mjs → index-DtWla9tx.mjs} +2 -2
  24. package/dist/_chunks/{index-xKSgJypf.mjs.map → index-DtWla9tx.mjs.map} +1 -1
  25. package/dist/_chunks/{index-74m_8m_F.mjs → index-G9pZniMC.mjs} +3 -3
  26. package/dist/_chunks/{index-74m_8m_F.mjs.map → index-G9pZniMC.mjs.map} +1 -1
  27. package/dist/_chunks/{index-DIVncM8F.js → index-JO4fO3Yj.js} +6 -6
  28. package/dist/_chunks/{index-DIVncM8F.js.map → index-JO4fO3Yj.js.map} +1 -1
  29. package/dist/_chunks/{index-oGbIDlQ0.mjs → index-PTS42_em.mjs} +6 -6
  30. package/dist/_chunks/{index-oGbIDlQ0.mjs.map → index-PTS42_em.mjs.map} +1 -1
  31. package/dist/_chunks/{index-X61TPrO9.js → index-UxzhJuP2.js} +4 -4
  32. package/dist/_chunks/{index-X61TPrO9.js.map → index-UxzhJuP2.js.map} +1 -1
  33. package/dist/_chunks/{index-fsqKrwj3.mjs → index-Vg50EMBp.mjs} +2 -2
  34. package/dist/_chunks/{index-fsqKrwj3.mjs.map → index-Vg50EMBp.mjs.map} +1 -1
  35. package/dist/_chunks/{index-3CP8usiE.js → index-_UNneVIg.js} +2 -2
  36. package/dist/_chunks/{index-3CP8usiE.js.map → index-_UNneVIg.js.map} +1 -1
  37. package/dist/_chunks/{index-wYBBkbKe.js → index-gw-9XoIT.js} +4 -4
  38. package/dist/_chunks/{index-wYBBkbKe.js.map → index-gw-9XoIT.js.map} +1 -1
  39. package/dist/_chunks/{index--pPFKAFN.mjs → index-oUZpvYqS.mjs} +3 -3
  40. package/dist/_chunks/{index--pPFKAFN.mjs.map → index-oUZpvYqS.mjs.map} +1 -1
  41. package/dist/_chunks/{useSyncRbac-LNOzRXJ5-ZKLbQaxm.js → useSyncRbac-LNOzRXJ5-5S0qhFuZ.js} +7 -7
  42. package/dist/_chunks/{useSyncRbac-LNOzRXJ5-ZKLbQaxm.js.map → useSyncRbac-LNOzRXJ5-5S0qhFuZ.js.map} +1 -1
  43. package/dist/_chunks/{useSyncRbac-LNOzRXJ5-_23WOh96.mjs → useSyncRbac-LNOzRXJ5-PZzFwA1X.mjs} +2 -2
  44. package/dist/_chunks/{useSyncRbac-LNOzRXJ5-_23WOh96.mjs.map → useSyncRbac-LNOzRXJ5-PZzFwA1X.mjs.map} +1 -1
  45. package/dist/admin/index.js +1 -1
  46. package/dist/admin/index.mjs +1 -1
  47. package/package.json +6 -6
@@ -7,7 +7,7 @@ const Helmet = require("./Helmet-d9JljxUo.js");
7
7
  const reactIntl = require("react-intl");
8
8
  const reactRouterDom = require("react-router-dom");
9
9
  const styled = require("styled-components");
10
- const indexOXhvt6Nv = require("./index-oXhvt6Nv-G3O8_aL_.js");
10
+ const index1NFAbkxM = require("./index-1NFAbkxM-c8HdvwSA.js");
11
11
  const Icons = require("@strapi/icons");
12
12
  const createNextState2 = require("immer");
13
13
  const debounce = require("lodash/debounce");
@@ -19,7 +19,7 @@ const require$$2 = require("path");
19
19
  const require$$1$1 = require("url");
20
20
  const require$$1 = require("fs");
21
21
  const require$$8 = require("punycode");
22
- const useSyncRbacLNOzRXJ5 = require("./useSyncRbac-LNOzRXJ5-ZKLbQaxm.js");
22
+ const useSyncRbacLNOzRXJ5 = require("./useSyncRbac-LNOzRXJ5-5S0qhFuZ.js");
23
23
  const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
24
24
  function _interopNamespace(e2) {
25
25
  if (e2 && e2.__esModule)
@@ -10358,11 +10358,11 @@ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ React.forwardR
10358
10358
  } else
10359
10359
  return child2;
10360
10360
  });
10361
- return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, indexOXhvt6Nv._extends({}, slotProps, {
10361
+ return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, index1NFAbkxM._extends({}, slotProps, {
10362
10362
  ref: forwardedRef
10363
10363
  }), /* @__PURE__ */ React.isValidElement(newElement) ? /* @__PURE__ */ React.cloneElement(newElement, void 0, newChildren) : null);
10364
10364
  }
10365
- return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, indexOXhvt6Nv._extends({}, slotProps, {
10365
+ return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, index1NFAbkxM._extends({}, slotProps, {
10366
10366
  ref: forwardedRef
10367
10367
  }), children);
10368
10368
  });
@@ -10417,7 +10417,7 @@ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
10417
10417
  }
10418
10418
  function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name2) {
10419
10419
  const PROVIDER_NAME = name2 + "CollectionProvider";
10420
- const [createCollectionContext, createCollectionScope] = indexOXhvt6Nv.$c512c27ab02ef895$export$50c7b4e9d9f19c1(PROVIDER_NAME);
10420
+ const [createCollectionContext, createCollectionScope] = index1NFAbkxM.$c512c27ab02ef895$export$50c7b4e9d9f19c1(PROVIDER_NAME);
10421
10421
  const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(PROVIDER_NAME, {
10422
10422
  collectionRef: {
10423
10423
  current: null
@@ -10531,7 +10531,7 @@ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.re
10531
10531
  React.useEffect(() => {
10532
10532
  window[Symbol.for("radix-ui")] = true;
10533
10533
  }, []);
10534
- return /* @__PURE__ */ React.createElement(Comp, indexOXhvt6Nv._extends({}, primitiveProps, {
10534
+ return /* @__PURE__ */ React.createElement(Comp, index1NFAbkxM._extends({}, primitiveProps, {
10535
10535
  ref: forwardedRef
10536
10536
  }));
10537
10537
  });
@@ -10611,7 +10611,7 @@ const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
10611
10611
  };
10612
10612
  const $d7bdfb9eb0fdf311$var$GROUP_NAME = "RovingFocusGroup";
10613
10613
  const [$d7bdfb9eb0fdf311$var$Collection, $d7bdfb9eb0fdf311$var$useCollection, $d7bdfb9eb0fdf311$var$createCollectionScope] = $e02a7d9cb1dc128c$export$c74125a8e3af6bb2($d7bdfb9eb0fdf311$var$GROUP_NAME);
10614
- const [$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext, $d7bdfb9eb0fdf311$export$c7109489551a4f4] = indexOXhvt6Nv.$c512c27ab02ef895$export$50c7b4e9d9f19c1($d7bdfb9eb0fdf311$var$GROUP_NAME, [
10614
+ const [$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext, $d7bdfb9eb0fdf311$export$c7109489551a4f4] = index1NFAbkxM.$c512c27ab02ef895$export$50c7b4e9d9f19c1($d7bdfb9eb0fdf311$var$GROUP_NAME, [
10615
10615
  $d7bdfb9eb0fdf311$var$createCollectionScope
10616
10616
  ]);
10617
10617
  const [$d7bdfb9eb0fdf311$var$RovingFocusProvider, $d7bdfb9eb0fdf311$var$useRovingFocusContext] = $d7bdfb9eb0fdf311$var$createRovingFocusGroupContext($d7bdfb9eb0fdf311$var$GROUP_NAME);
@@ -10620,7 +10620,7 @@ const $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /* @__PURE__ */ React.forwardR
10620
10620
  scope: props.__scopeRovingFocusGroup
10621
10621
  }, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {
10622
10622
  scope: props.__scopeRovingFocusGroup
10623
- }, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, indexOXhvt6Nv._extends({}, props, {
10623
+ }, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, index1NFAbkxM._extends({}, props, {
10624
10624
  ref: forwardedRef
10625
10625
  }))));
10626
10626
  });
@@ -10676,7 +10676,7 @@ const $d7bdfb9eb0fdf311$var$RovingFocusGroupImpl = /* @__PURE__ */ React.forward
10676
10676
  ),
10677
10677
  []
10678
10678
  )
10679
- }, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, indexOXhvt6Nv._extends({
10679
+ }, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, index1NFAbkxM._extends({
10680
10680
  tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
10681
10681
  "data-orientation": orientation
10682
10682
  }, groupProps, {
@@ -10746,7 +10746,7 @@ const $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /* @__PURE__ */ React.forwardRe
10746
10746
  id: id2,
10747
10747
  focusable,
10748
10748
  active
10749
- }, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, indexOXhvt6Nv._extends({
10749
+ }, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, index1NFAbkxM._extends({
10750
10750
  tabIndex: isCurrentTabStop ? 0 : -1,
10751
10751
  "data-orientation": context.orientation
10752
10752
  }, itemProps, {
@@ -10853,7 +10853,7 @@ const $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /* @__PURE__ */ React.forwardR
10853
10853
  "aria-orientation": ariaOrientation,
10854
10854
  role: "separator"
10855
10855
  };
10856
- return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, indexOXhvt6Nv._extends({
10856
+ return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, index1NFAbkxM._extends({
10857
10857
  "data-orientation": orientation
10858
10858
  }, semanticProps, domProps, {
10859
10859
  ref: forwardedRef
@@ -10886,7 +10886,7 @@ const $b3bbe2732c13b576$export$bea8ebba691c5813 = /* @__PURE__ */ React.forwardR
10886
10886
  onChange: onPressedChange,
10887
10887
  defaultProp: defaultPressed
10888
10888
  });
10889
- return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, indexOXhvt6Nv._extends({
10889
+ return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, index1NFAbkxM._extends({
10890
10890
  type: "button",
10891
10891
  "aria-pressed": pressed,
10892
10892
  "data-state": pressed ? "on" : "off",
@@ -10900,7 +10900,7 @@ const $b3bbe2732c13b576$export$bea8ebba691c5813 = /* @__PURE__ */ React.forwardR
10900
10900
  }));
10901
10901
  });
10902
10902
  const $6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME = "ToggleGroup";
10903
- const [$6c1fd9e6a8969628$var$createToggleGroupContext, $6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4] = indexOXhvt6Nv.$c512c27ab02ef895$export$50c7b4e9d9f19c1($6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME, [
10903
+ const [$6c1fd9e6a8969628$var$createToggleGroupContext, $6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4] = index1NFAbkxM.$c512c27ab02ef895$export$50c7b4e9d9f19c1($6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME, [
10904
10904
  $d7bdfb9eb0fdf311$export$c7109489551a4f4
10905
10905
  ]);
10906
10906
  const $6c1fd9e6a8969628$var$useRovingFocusGroupScope = $d7bdfb9eb0fdf311$export$c7109489551a4f4();
@@ -10908,13 +10908,13 @@ const $6c1fd9e6a8969628$export$af3ec21f6cfb5e30 = /* @__PURE__ */ React__namespa
10908
10908
  const { type, ...toggleGroupProps } = props;
10909
10909
  if (type === "single") {
10910
10910
  const singleProps = toggleGroupProps;
10911
- return /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImplSingle, indexOXhvt6Nv._extends({}, singleProps, {
10911
+ return /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImplSingle, index1NFAbkxM._extends({}, singleProps, {
10912
10912
  ref: forwardedRef
10913
10913
  }));
10914
10914
  }
10915
10915
  if (type === "multiple") {
10916
10916
  const multipleProps = toggleGroupProps;
10917
- return /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImplMultiple, indexOXhvt6Nv._extends({}, multipleProps, {
10917
+ return /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImplMultiple, index1NFAbkxM._extends({}, multipleProps, {
10918
10918
  ref: forwardedRef
10919
10919
  }));
10920
10920
  }
@@ -10942,7 +10942,7 @@ const $6c1fd9e6a8969628$var$ToggleGroupImplSingle = /* @__PURE__ */ React__names
10942
10942
  setValue
10943
10943
  ]
10944
10944
  )
10945
- }, /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, indexOXhvt6Nv._extends({}, toggleGroupSingleProps, {
10945
+ }, /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, index1NFAbkxM._extends({}, toggleGroupSingleProps, {
10946
10946
  ref: forwardedRef
10947
10947
  })));
10948
10948
  });
@@ -10981,7 +10981,7 @@ const $6c1fd9e6a8969628$var$ToggleGroupImplMultiple = /* @__PURE__ */ React__nam
10981
10981
  value: value1,
10982
10982
  onItemActivate: handleButtonActivate,
10983
10983
  onItemDeactivate: handleButtonDeactivate
10984
- }, /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, indexOXhvt6Nv._extends({}, toggleGroupMultipleProps, {
10984
+ }, /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, index1NFAbkxM._extends({}, toggleGroupMultipleProps, {
10985
10985
  ref: forwardedRef
10986
10986
  })));
10987
10987
  });
@@ -10999,15 +10999,15 @@ const $6c1fd9e6a8969628$var$ToggleGroupImpl = /* @__PURE__ */ React__namespace.d
10999
10999
  scope: __scopeToggleGroup,
11000
11000
  rovingFocus,
11001
11001
  disabled
11002
- }, rovingFocus ? /* @__PURE__ */ React__namespace.default.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, indexOXhvt6Nv._extends({
11002
+ }, rovingFocus ? /* @__PURE__ */ React__namespace.default.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, index1NFAbkxM._extends({
11003
11003
  asChild: true
11004
11004
  }, rovingFocusGroupScope, {
11005
11005
  orientation,
11006
11006
  dir: direction2,
11007
11007
  loop: loop2
11008
- }), /* @__PURE__ */ React__namespace.default.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, indexOXhvt6Nv._extends({}, commonProps, {
11008
+ }), /* @__PURE__ */ React__namespace.default.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, index1NFAbkxM._extends({}, commonProps, {
11009
11009
  ref: forwardedRef
11010
- }))) : /* @__PURE__ */ React__namespace.default.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, indexOXhvt6Nv._extends({}, commonProps, {
11010
+ }))) : /* @__PURE__ */ React__namespace.default.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, index1NFAbkxM._extends({}, commonProps, {
11011
11011
  ref: forwardedRef
11012
11012
  })));
11013
11013
  });
@@ -11024,15 +11024,15 @@ const $6c1fd9e6a8969628$export$b453109e13abe10b = /* @__PURE__ */ React__namespa
11024
11024
  disabled
11025
11025
  };
11026
11026
  const ref = React__namespace.default.useRef(null);
11027
- return context.rovingFocus ? /* @__PURE__ */ React__namespace.default.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, indexOXhvt6Nv._extends({
11027
+ return context.rovingFocus ? /* @__PURE__ */ React__namespace.default.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, index1NFAbkxM._extends({
11028
11028
  asChild: true
11029
11029
  }, rovingFocusGroupScope, {
11030
11030
  focusable: !disabled,
11031
11031
  active: pressed,
11032
11032
  ref
11033
- }), /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, indexOXhvt6Nv._extends({}, commonProps, {
11033
+ }), /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, index1NFAbkxM._extends({}, commonProps, {
11034
11034
  ref: forwardedRef
11035
- }))) : /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, indexOXhvt6Nv._extends({}, commonProps, {
11035
+ }))) : /* @__PURE__ */ React__namespace.default.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, index1NFAbkxM._extends({}, commonProps, {
11036
11036
  ref: forwardedRef
11037
11037
  }));
11038
11038
  });
@@ -11045,7 +11045,7 @@ const $6c1fd9e6a8969628$var$ToggleGroupItemImpl = /* @__PURE__ */ React__namespa
11045
11045
  "aria-pressed": void 0
11046
11046
  };
11047
11047
  const typeProps = valueContext.type === "single" ? singleProps : void 0;
11048
- return /* @__PURE__ */ React__namespace.default.createElement($b3bbe2732c13b576$export$bea8ebba691c5813, indexOXhvt6Nv._extends({}, typeProps, itemProps, {
11048
+ return /* @__PURE__ */ React__namespace.default.createElement($b3bbe2732c13b576$export$bea8ebba691c5813, index1NFAbkxM._extends({}, typeProps, itemProps, {
11049
11049
  ref: forwardedRef,
11050
11050
  onPressedChange: (pressed) => {
11051
11051
  if (pressed)
@@ -11058,7 +11058,7 @@ const $6c1fd9e6a8969628$var$ToggleGroupItemImpl = /* @__PURE__ */ React__namespa
11058
11058
  const $6c1fd9e6a8969628$export$be92b6f5f03c0fe9 = $6c1fd9e6a8969628$export$af3ec21f6cfb5e30;
11059
11059
  const $6c1fd9e6a8969628$export$6d08773d2e66f8f2 = $6c1fd9e6a8969628$export$b453109e13abe10b;
11060
11060
  const $3dc4ded751c8bdfb$var$TOOLBAR_NAME = "Toolbar";
11061
- const [$3dc4ded751c8bdfb$var$createToolbarContext, $3dc4ded751c8bdfb$export$233e637670877d91] = indexOXhvt6Nv.$c512c27ab02ef895$export$50c7b4e9d9f19c1($3dc4ded751c8bdfb$var$TOOLBAR_NAME, [
11061
+ const [$3dc4ded751c8bdfb$var$createToolbarContext, $3dc4ded751c8bdfb$export$233e637670877d91] = index1NFAbkxM.$c512c27ab02ef895$export$50c7b4e9d9f19c1($3dc4ded751c8bdfb$var$TOOLBAR_NAME, [
11062
11062
  $d7bdfb9eb0fdf311$export$c7109489551a4f4,
11063
11063
  $6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4
11064
11064
  ]);
@@ -11073,13 +11073,13 @@ const $3dc4ded751c8bdfb$export$4c260019440d418f = /* @__PURE__ */ React.forwardR
11073
11073
  scope: __scopeToolbar,
11074
11074
  orientation,
11075
11075
  dir: direction2
11076
- }, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, indexOXhvt6Nv._extends({
11076
+ }, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, index1NFAbkxM._extends({
11077
11077
  asChild: true
11078
11078
  }, rovingFocusGroupScope, {
11079
11079
  orientation,
11080
11080
  dir: direction2,
11081
11081
  loop: loop2
11082
- }), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, indexOXhvt6Nv._extends({
11082
+ }), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, index1NFAbkxM._extends({
11083
11083
  role: "toolbar",
11084
11084
  "aria-orientation": orientation,
11085
11085
  dir: direction2
@@ -11091,7 +11091,7 @@ const $3dc4ded751c8bdfb$var$SEPARATOR_NAME = "ToolbarSeparator";
11091
11091
  const $3dc4ded751c8bdfb$export$291e1a31e8ec7868 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
11092
11092
  const { __scopeToolbar, ...separatorProps } = props;
11093
11093
  const context = $3dc4ded751c8bdfb$var$useToolbarContext($3dc4ded751c8bdfb$var$SEPARATOR_NAME, __scopeToolbar);
11094
- return /* @__PURE__ */ React.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9, indexOXhvt6Nv._extends({
11094
+ return /* @__PURE__ */ React.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9, index1NFAbkxM._extends({
11095
11095
  orientation: context.orientation === "horizontal" ? "vertical" : "horizontal"
11096
11096
  }, separatorProps, {
11097
11097
  ref: forwardedRef
@@ -11100,11 +11100,11 @@ const $3dc4ded751c8bdfb$export$291e1a31e8ec7868 = /* @__PURE__ */ React.forwardR
11100
11100
  const $3dc4ded751c8bdfb$export$e5c1a33878e86e9e = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
11101
11101
  const { __scopeToolbar, ...buttonProps } = props;
11102
11102
  const rovingFocusGroupScope = $3dc4ded751c8bdfb$var$useRovingFocusGroupScope(__scopeToolbar);
11103
- return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, indexOXhvt6Nv._extends({
11103
+ return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, index1NFAbkxM._extends({
11104
11104
  asChild: true
11105
11105
  }, rovingFocusGroupScope, {
11106
11106
  focusable: !props.disabled
11107
- }), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, indexOXhvt6Nv._extends({
11107
+ }), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, index1NFAbkxM._extends({
11108
11108
  type: "button"
11109
11109
  }, buttonProps, {
11110
11110
  ref: forwardedRef
@@ -11115,7 +11115,7 @@ const $3dc4ded751c8bdfb$export$aeae28cb17562c0b = /* @__PURE__ */ React.forwardR
11115
11115
  const { __scopeToolbar, ...toggleGroupProps } = props;
11116
11116
  const context = $3dc4ded751c8bdfb$var$useToolbarContext($3dc4ded751c8bdfb$var$TOGGLE_GROUP_NAME, __scopeToolbar);
11117
11117
  const toggleGroupScope = $3dc4ded751c8bdfb$var$useToggleGroupScope(__scopeToolbar);
11118
- return /* @__PURE__ */ React.createElement($6c1fd9e6a8969628$export$be92b6f5f03c0fe9, indexOXhvt6Nv._extends({
11118
+ return /* @__PURE__ */ React.createElement($6c1fd9e6a8969628$export$be92b6f5f03c0fe9, index1NFAbkxM._extends({
11119
11119
  "data-orientation": context.orientation,
11120
11120
  dir: context.dir
11121
11121
  }, toggleGroupScope, toggleGroupProps, {
@@ -11129,9 +11129,9 @@ const $3dc4ded751c8bdfb$export$546b879b639844a1 = /* @__PURE__ */ React.forwardR
11129
11129
  const scope = {
11130
11130
  __scopeToolbar: props.__scopeToolbar
11131
11131
  };
11132
- return /* @__PURE__ */ React.createElement($3dc4ded751c8bdfb$export$e5c1a33878e86e9e, indexOXhvt6Nv._extends({
11132
+ return /* @__PURE__ */ React.createElement($3dc4ded751c8bdfb$export$e5c1a33878e86e9e, index1NFAbkxM._extends({
11133
11133
  asChild: true
11134
- }, scope), /* @__PURE__ */ React.createElement($6c1fd9e6a8969628$export$6d08773d2e66f8f2, indexOXhvt6Nv._extends({}, toggleGroupScope, toggleItemProps, {
11134
+ }, scope), /* @__PURE__ */ React.createElement($6c1fd9e6a8969628$export$6d08773d2e66f8f2, index1NFAbkxM._extends({}, toggleGroupScope, toggleItemProps, {
11135
11135
  ref: forwardedRef
11136
11136
  })));
11137
11137
  });
@@ -25605,7 +25605,7 @@ picocolors_browser.exports = create();
25605
25605
  picocolors_browser.exports.createColors = create;
25606
25606
  var picocolors_browserExports = picocolors_browser.exports;
25607
25607
  let pico = picocolors_browserExports;
25608
- let terminalHighlight$1 = indexOXhvt6Nv.require$$0;
25608
+ let terminalHighlight$1 = index1NFAbkxM.require$$0;
25609
25609
  let CssSyntaxError$3 = class CssSyntaxError extends Error {
25610
25610
  constructor(message, line, column, source2, file, plugin2) {
25611
25611
  super(message);
@@ -26377,7 +26377,7 @@ let nanoid$1 = (size2 = 21) => {
26377
26377
  return id2;
26378
26378
  };
26379
26379
  var nonSecure = { nanoid: nanoid$1, customAlphabet };
26380
- let { SourceMapConsumer: SourceMapConsumer$2, SourceMapGenerator: SourceMapGenerator$2 } = indexOXhvt6Nv.require$$0;
26380
+ let { SourceMapConsumer: SourceMapConsumer$2, SourceMapGenerator: SourceMapGenerator$2 } = index1NFAbkxM.require$$0;
26381
26381
  let { existsSync, readFileSync } = require$$1__default.default;
26382
26382
  let { dirname: dirname$1, join: join$1 } = require$$2__default.default;
26383
26383
  function fromBase64(str) {
@@ -26496,11 +26496,11 @@ let PreviousMap$2 = class PreviousMap {
26496
26496
  };
26497
26497
  var previousMap = PreviousMap$2;
26498
26498
  PreviousMap$2.default = PreviousMap$2;
26499
- let { SourceMapConsumer: SourceMapConsumer$1, SourceMapGenerator: SourceMapGenerator$1 } = indexOXhvt6Nv.require$$0;
26499
+ let { SourceMapConsumer: SourceMapConsumer$1, SourceMapGenerator: SourceMapGenerator$1 } = index1NFAbkxM.require$$0;
26500
26500
  let { fileURLToPath, pathToFileURL: pathToFileURL$1 } = require$$1__default$1.default;
26501
26501
  let { isAbsolute, resolve: resolve$1 } = require$$2__default.default;
26502
26502
  let { nanoid } = nonSecure;
26503
- let terminalHighlight = indexOXhvt6Nv.require$$0;
26503
+ let terminalHighlight = index1NFAbkxM.require$$0;
26504
26504
  let CssSyntaxError$1 = cssSyntaxError;
26505
26505
  let PreviousMap$1 = previousMap;
26506
26506
  let fromOffsetCache = Symbol("fromOffsetCache");
@@ -26702,7 +26702,7 @@ Input$4.default = Input$4;
26702
26702
  if (terminalHighlight && terminalHighlight.registerInput) {
26703
26703
  terminalHighlight.registerInput(Input$4);
26704
26704
  }
26705
- let { SourceMapConsumer, SourceMapGenerator } = indexOXhvt6Nv.require$$0;
26705
+ let { SourceMapConsumer, SourceMapGenerator } = index1NFAbkxM.require$$0;
26706
26706
  let { dirname, relative, resolve, sep } = require$$2__default.default;
26707
26707
  let { pathToFileURL } = require$$1__default$1.default;
26708
26708
  let Input$3 = input;
@@ -79008,7 +79008,7 @@ const useLazyComponents = (componentUids = []) => {
79008
79008
  const [lazyComponentStore, setLazyComponentStore] = React.useState(Object.fromEntries(componentStore));
79009
79009
  const newUids = componentUids.filter((uid) => !componentStore.get(uid));
79010
79010
  const [loading, setLoading] = React.useState(() => !!newUids.length);
79011
- const getCustomField = indexOXhvt6Nv.useStrapiApp("useLazyComponents", (state) => state.customFields.get);
79011
+ const getCustomField = index1NFAbkxM.useStrapiApp("useLazyComponents", (state) => state.customFields.get);
79012
79012
  React.useEffect(() => {
79013
79013
  const setStore = (store) => {
79014
79014
  setLazyComponentStore(store);
@@ -79310,7 +79310,7 @@ const Image = ({ attributes, children, element }) => {
79310
79310
  const ImageDialog = () => {
79311
79311
  const [isOpen, setIsOpen] = React__namespace.useState(true);
79312
79312
  const { editor } = useBlocksEditorContext("ImageDialog");
79313
- const components = indexOXhvt6Nv.useStrapiApp("ImageDialog", (state) => state.components);
79313
+ const components = index1NFAbkxM.useStrapiApp("ImageDialog", (state) => state.components);
79314
79314
  if (!components || !isOpen)
79315
79315
  return null;
79316
79316
  const MediaLibraryDialog = components["media-library"];
@@ -79348,7 +79348,7 @@ const ImageDialog = () => {
79348
79348
  const nodeImage = {
79349
79349
  ...expectedImage,
79350
79350
  alternativeText: expectedImage.alternativeText || expectedImage.name,
79351
- url: indexOXhvt6Nv.prefixFileUrlWithBackendUrl(image3.url)
79351
+ url: index1NFAbkxM.prefixFileUrlWithBackendUrl(image3.url)
79352
79352
  };
79353
79353
  return nodeImage;
79354
79354
  });
@@ -80327,8 +80327,8 @@ const DropPlaceholder = styled__default.default(designSystem.Box)`
80327
80327
 
80328
80328
  // Show drop placeholder 8px above or below the drop target
80329
80329
  ${({ dragDirection, theme, placeholderMargin }) => styled.css`
80330
- top: ${dragDirection === indexOXhvt6Nv.DIRECTIONS.UPWARD && `-${theme.spaces[placeholderMargin]}`};
80331
- bottom: ${dragDirection === indexOXhvt6Nv.DIRECTIONS.DOWNWARD && `-${theme.spaces[placeholderMargin]}`};
80330
+ top: ${dragDirection === index1NFAbkxM.DIRECTIONS.UPWARD && `-${theme.spaces[placeholderMargin]}`};
80331
+ bottom: ${dragDirection === index1NFAbkxM.DIRECTIONS.DOWNWARD && `-${theme.spaces[placeholderMargin]}`};
80332
80332
  `}
80333
80333
  `;
80334
80334
  const DragItem = styled__default.default(designSystem.Flex)`
@@ -80399,7 +80399,7 @@ const DragAndDropElement = ({
80399
80399
  setLiveText(
80400
80400
  formatMessage(
80401
80401
  {
80402
- id: indexOXhvt6Nv.getTranslation("components.Blocks.dnd.reorder"),
80402
+ id: index1NFAbkxM.getTranslation("components.Blocks.dnd.reorder"),
80403
80403
  defaultMessage: "{item}, moved. New position in the editor: {position}."
80404
80404
  },
80405
80405
  {
@@ -80411,8 +80411,8 @@ const DragAndDropElement = ({
80411
80411
  },
80412
80412
  [editor, formatMessage, name2, setLiveText]
80413
80413
  );
80414
- const [{ handlerId, isDragging, isOverDropTarget, direction: direction2 }, blockRef, dropRef, dragRef] = indexOXhvt6Nv.useDragAndDrop(!disabled, {
80415
- type: `${indexOXhvt6Nv.ItemTypes.BLOCKS}_${name2}`,
80414
+ const [{ handlerId, isDragging, isOverDropTarget, direction: direction2 }, blockRef, dropRef, dragRef] = index1NFAbkxM.useDragAndDrop(!disabled, {
80415
+ type: `${index1NFAbkxM.ItemTypes.BLOCKS}_${name2}`,
80416
80416
  index,
80417
80417
  item: {
80418
80418
  index,
@@ -80479,7 +80479,7 @@ const DragAndDropElement = ({
80479
80479
  role: "button",
80480
80480
  tabIndex: 0,
80481
80481
  "aria-label": formatMessage({
80482
- id: indexOXhvt6Nv.getTranslation("components.DragHandle-label"),
80482
+ id: index1NFAbkxM.getTranslation("components.DragHandle-label"),
80483
80483
  defaultMessage: "Drag"
80484
80484
  }),
80485
80485
  onClick: (e2) => e2.stopPropagation(),
@@ -80505,7 +80505,7 @@ const CloneDragItem = ({ children, dragHandleTopMargin }) => {
80505
80505
  forwardedAs: "div",
80506
80506
  role: "button",
80507
80507
  "aria-label": formatMessage({
80508
- id: indexOXhvt6Nv.getTranslation("components.DragHandle-label"),
80508
+ id: index1NFAbkxM.getTranslation("components.DragHandle-label"),
80509
80509
  defaultMessage: "Drag"
80510
80510
  }),
80511
80511
  dragHandleTopMargin,
@@ -80580,7 +80580,7 @@ const BlocksContent = ({ placeholder, ariaLabelId }) => {
80580
80580
  setLiveText(
80581
80581
  formatMessage(
80582
80582
  {
80583
- id: indexOXhvt6Nv.getTranslation("components.Blocks.dnd.reorder"),
80583
+ id: index1NFAbkxM.getTranslation("components.Blocks.dnd.reorder"),
80584
80584
  defaultMessage: "{item}, moved. New position in the editor: {position}."
80585
80585
  },
80586
80586
  {
@@ -80811,7 +80811,7 @@ const EditorLayout$1 = ({
80811
80811
  CollapseIconButton,
80812
80812
  {
80813
80813
  "aria-label": formatMessage({
80814
- id: indexOXhvt6Nv.getTranslation("components.Blocks.collapse"),
80814
+ id: index1NFAbkxM.getTranslation("components.Blocks.collapse"),
80815
80815
  defaultMessage: "Collapse"
80816
80816
  }),
80817
80817
  onClick: onCollapse,
@@ -81018,7 +81018,7 @@ const selectorBlockKeys = [
81018
81018
  const isSelectorBlockKey = (key2) => {
81019
81019
  return typeof key2 === "string" && selectorBlockKeys.includes(key2);
81020
81020
  };
81021
- const [BlocksEditorProvider, usePartialBlocksEditorContext] = indexOXhvt6Nv.$c512c27ab02ef895$export$fd42f52fd3ae1109("BlocksEditor");
81021
+ const [BlocksEditorProvider, usePartialBlocksEditorContext] = index1NFAbkxM.$c512c27ab02ef895$export$fd42f52fd3ae1109("BlocksEditor");
81022
81022
  function useBlocksEditorContext(consumerName) {
81023
81023
  const context = usePartialBlocksEditorContext(consumerName);
81024
81024
  const editor = useSlate();
@@ -81089,7 +81089,7 @@ const BlocksEditor = React__namespace.forwardRef(
81089
81089
  };
81090
81090
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
81091
81091
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { id: ariaDescriptionId, children: formatMessage({
81092
- id: indexOXhvt6Nv.getTranslation("components.Blocks.dnd.instruction"),
81092
+ id: index1NFAbkxM.getTranslation("components.Blocks.dnd.instruction"),
81093
81093
  defaultMessage: `To reorder blocks, press Command or Control along with Shift and the Up or Down arrow keys`
81094
81094
  }) }),
81095
81095
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { "aria-live": "assertive", children: liveText }),
@@ -81123,7 +81123,7 @@ const BlocksEditor = React__namespace.forwardRef(
81123
81123
  ExpandIconButton,
81124
81124
  {
81125
81125
  "aria-label": formatMessage({
81126
- id: indexOXhvt6Nv.getTranslation("components.Blocks.expand"),
81126
+ id: index1NFAbkxM.getTranslation("components.Blocks.expand"),
81127
81127
  defaultMessage: "Expand"
81128
81128
  }),
81129
81129
  onClick: handleToggleExpand,
@@ -81144,7 +81144,7 @@ const BlocksEditor = React__namespace.forwardRef(
81144
81144
  const BlocksInput = React__namespace.forwardRef(
81145
81145
  ({ label: label2, name: name2, required = false, hint, ...editorProps }, forwardedRef) => {
81146
81146
  const id2 = React__namespace.useId();
81147
- const field = indexOXhvt6Nv.useField(name2);
81147
+ const field = index1NFAbkxM.useField(name2);
81148
81148
  return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Field, { id: id2, name: name2, hint, error: field.error, required, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 1, children: [
81149
81149
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.FieldLabel, { children: label2 }),
81150
81150
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -81213,7 +81213,7 @@ const prepareTempKeys = traverseData(
81213
81213
  (attribute2) => attribute2.type === "component" && attribute2.repeatable || attribute2.type === "dynamiczone",
81214
81214
  (data) => {
81215
81215
  if (Array.isArray(data) && data.length > 0) {
81216
- const keys = indexOXhvt6Nv.generateNKeysBetween(void 0, void 0, data.length);
81216
+ const keys = index1NFAbkxM.generateNKeysBetween(void 0, void 0, data.length);
81217
81217
  return data.map((datum, index) => ({
81218
81218
  ...datum,
81219
81219
  __temp_key__: keys[index]
@@ -81226,7 +81226,7 @@ const removeFieldsThatDontExistOnSchema = (schema) => (data) => {
81226
81226
  const schemaKeys = Object.keys(schema.attributes);
81227
81227
  const dataKeys = Object.keys(data);
81228
81228
  const keysToRemove = dataKeys.filter((key2) => !schemaKeys.includes(key2));
81229
- const revisedData = [...keysToRemove, ...indexOXhvt6Nv.DOCUMENT_META_FIELDS].reduce((acc, key2) => {
81229
+ const revisedData = [...keysToRemove, ...index1NFAbkxM.DOCUMENT_META_FIELDS].reduce((acc, key2) => {
81230
81230
  delete acc[key2];
81231
81231
  return acc;
81232
81232
  }, structuredClone(data));
@@ -81273,7 +81273,7 @@ const createDefaultForm = (contentType, components = {}) => {
81273
81273
  };
81274
81274
  const Initializer = ({ disabled, name: name2, onClick }) => {
81275
81275
  const { formatMessage } = reactIntl.useIntl();
81276
- const field = indexOXhvt6Nv.useField(name2);
81276
+ const field = index1NFAbkxM.useField(name2);
81277
81277
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
81278
81278
  /* @__PURE__ */ jsxRuntime.jsx(
81279
81279
  designSystem.Box,
@@ -81290,7 +81290,7 @@ const Initializer = ({ disabled, name: name2, onClick }) => {
81290
81290
  children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
81291
81291
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(CircleIcon, {}) }),
81292
81292
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "primary600", variant: "pi", fontWeight: "bold", children: formatMessage({
81293
- id: indexOXhvt6Nv.getTranslation("components.empty-repeatable"),
81293
+ id: index1NFAbkxM.getTranslation("components.empty-repeatable"),
81294
81294
  defaultMessage: "No entry yet. Click on the button below to add one."
81295
81295
  }) }) })
81296
81296
  ] })
@@ -81312,12 +81312,12 @@ const CircleIcon = styled__default.default(Icons.PlusCircle)`
81312
81312
  const NonRepeatableComponent = ({ attribute: attribute2, name: name2 }) => {
81313
81313
  const {
81314
81314
  edit: { components }
81315
- } = indexOXhvt6Nv.useDocLayout();
81316
- const { value } = indexOXhvt6Nv.useField(name2);
81317
- const level = indexOXhvt6Nv.useComponent("NonRepeatableComponent", (state) => state.level);
81315
+ } = index1NFAbkxM.useDocLayout();
81316
+ const { value } = index1NFAbkxM.useField(name2);
81317
+ const level = index1NFAbkxM.useComponent("NonRepeatableComponent", (state) => state.level);
81318
81318
  const { layout } = components[attribute2.component];
81319
81319
  const isNested = level > 0;
81320
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.ComponentProvider, { id: value?.id, uid: attribute2.component, level: level + 1, type: "component", children: /* @__PURE__ */ jsxRuntime.jsx(
81320
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.ComponentProvider, { id: value?.id, uid: attribute2.component, level: level + 1, type: "component", children: /* @__PURE__ */ jsxRuntime.jsx(
81321
81321
  designSystem.Box,
81322
81322
  {
81323
81323
  background: "neutral100",
@@ -81342,15 +81342,15 @@ const RepeatableComponent = ({
81342
81342
  name: name2,
81343
81343
  mainField
81344
81344
  }) => {
81345
- const { toggleNotification } = indexOXhvt6Nv.useNotification();
81345
+ const { toggleNotification } = index1NFAbkxM.useNotification();
81346
81346
  const { formatMessage } = reactIntl.useIntl();
81347
81347
  const { search: searchString } = reactRouterDom.useLocation();
81348
81348
  const search = React__namespace.useMemo(() => new URLSearchParams(searchString), [searchString]);
81349
- const { components } = indexOXhvt6Nv.useDoc();
81350
- const { value = [], error: error2 } = indexOXhvt6Nv.useField(name2);
81351
- const addFieldRow = indexOXhvt6Nv.useForm("RepeatableComponent", (state) => state.addFieldRow);
81352
- const moveFieldRow = indexOXhvt6Nv.useForm("RepeatableComponent", (state) => state.moveFieldRow);
81353
- const removeFieldRow = indexOXhvt6Nv.useForm("RepeatableComponent", (state) => state.removeFieldRow);
81349
+ const { components } = index1NFAbkxM.useDoc();
81350
+ const { value = [], error: error2 } = index1NFAbkxM.useField(name2);
81351
+ const addFieldRow = index1NFAbkxM.useForm("RepeatableComponent", (state) => state.addFieldRow);
81352
+ const moveFieldRow = index1NFAbkxM.useForm("RepeatableComponent", (state) => state.moveFieldRow);
81353
+ const removeFieldRow = index1NFAbkxM.useForm("RepeatableComponent", (state) => state.removeFieldRow);
81354
81354
  const { max = Infinity } = attribute2;
81355
81355
  const [collapseToOpen, setCollapseToOpen] = React__namespace.useState(null);
81356
81356
  const [liveText, setLiveText] = React__namespace.useState("");
@@ -81361,9 +81361,9 @@ const RepeatableComponent = ({
81361
81361
  return void 0;
81362
81362
  }
81363
81363
  const [, path3] = fieldParam.split(`${name2}.`);
81364
- if (indexOXhvt6Nv.getIn(value, path3, void 0) !== void 0) {
81364
+ if (index1NFAbkxM.getIn(value, path3, void 0) !== void 0) {
81365
81365
  const [subpath] = path3.split(".");
81366
- return indexOXhvt6Nv.getIn(value, subpath, void 0)?.__temp_key__;
81366
+ return index1NFAbkxM.getIn(value, subpath, void 0)?.__temp_key__;
81367
81367
  }
81368
81368
  }
81369
81369
  return void 0;
@@ -81386,7 +81386,7 @@ const RepeatableComponent = ({
81386
81386
  toggleNotification({
81387
81387
  type: "info",
81388
81388
  message: formatMessage({
81389
- id: indexOXhvt6Nv.getTranslation("components.notification.info.maximum-requirement")
81389
+ id: index1NFAbkxM.getTranslation("components.notification.info.maximum-requirement")
81390
81390
  })
81391
81391
  });
81392
81392
  }
@@ -81395,7 +81395,7 @@ const RepeatableComponent = ({
81395
81395
  setLiveText(
81396
81396
  formatMessage(
81397
81397
  {
81398
- id: indexOXhvt6Nv.getTranslation("dnd.reorder"),
81398
+ id: index1NFAbkxM.getTranslation("dnd.reorder"),
81399
81399
  defaultMessage: "{item}, moved. New position in list: {position}."
81400
81400
  },
81401
81401
  {
@@ -81418,7 +81418,7 @@ const RepeatableComponent = ({
81418
81418
  setLiveText(
81419
81419
  formatMessage(
81420
81420
  {
81421
- id: indexOXhvt6Nv.getTranslation("dnd.cancel-item"),
81421
+ id: index1NFAbkxM.getTranslation("dnd.cancel-item"),
81422
81422
  defaultMessage: "{item}, dropped. Re-order cancelled."
81423
81423
  },
81424
81424
  {
@@ -81431,7 +81431,7 @@ const RepeatableComponent = ({
81431
81431
  setLiveText(
81432
81432
  formatMessage(
81433
81433
  {
81434
- id: indexOXhvt6Nv.getTranslation("dnd.grab-item"),
81434
+ id: index1NFAbkxM.getTranslation("dnd.grab-item"),
81435
81435
  defaultMessage: `{item}, grabbed. Current position in list: {position}. Press up and down arrow to change position, Spacebar to drop, Escape to cancel.`
81436
81436
  },
81437
81437
  {
@@ -81445,7 +81445,7 @@ const RepeatableComponent = ({
81445
81445
  setLiveText(
81446
81446
  formatMessage(
81447
81447
  {
81448
- id: indexOXhvt6Nv.getTranslation("dnd.drop-item"),
81448
+ id: index1NFAbkxM.getTranslation("dnd.drop-item"),
81449
81449
  defaultMessage: `{item}, dropped. Final position in list: {position}.`
81450
81450
  },
81451
81451
  {
@@ -81456,20 +81456,20 @@ const RepeatableComponent = ({
81456
81456
  );
81457
81457
  };
81458
81458
  const ariaDescriptionId = React__namespace.useId();
81459
- const level = indexOXhvt6Nv.useComponent("RepeatableComponent", (state) => state.level);
81459
+ const level = index1NFAbkxM.useComponent("RepeatableComponent", (state) => state.level);
81460
81460
  if (value.length === 0) {
81461
81461
  return /* @__PURE__ */ jsxRuntime.jsx(Initializer, { disabled, name: name2, onClick: handleClick });
81462
81462
  }
81463
81463
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { hasRadius: true, children: [
81464
81464
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { id: ariaDescriptionId, children: formatMessage({
81465
- id: indexOXhvt6Nv.getTranslation("dnd.instructions"),
81465
+ id: index1NFAbkxM.getTranslation("dnd.instructions"),
81466
81466
  defaultMessage: `Press spacebar to grab and re-order`
81467
81467
  }) }),
81468
81468
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { "aria-live": "assertive", children: liveText }),
81469
81469
  /* @__PURE__ */ jsxRuntime.jsxs(AccordionGroup, { error: error2, children: [
81470
81470
  /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { "aria-describedby": ariaDescriptionId, children: value.map(({ __temp_key__: key2, id: id2 }, index) => {
81471
81471
  return /* @__PURE__ */ jsxRuntime.jsx(
81472
- indexOXhvt6Nv.ComponentProvider,
81472
+ index1NFAbkxM.ComponentProvider,
81473
81473
  {
81474
81474
  id: id2,
81475
81475
  uid: attribute2.component,
@@ -81501,7 +81501,7 @@ const RepeatableComponent = ({
81501
81501
  );
81502
81502
  }) }),
81503
81503
  /* @__PURE__ */ jsxRuntime.jsx(AccordionFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", height: "48px", background: "neutral0", children: /* @__PURE__ */ jsxRuntime.jsx(TextButtonCustom, { disabled, onClick: handleClick, startIcon: /* @__PURE__ */ jsxRuntime.jsx(Icons.Plus, {}), children: formatMessage({
81504
- id: indexOXhvt6Nv.getTranslation("containers.EditView.add.new-entry"),
81504
+ id: index1NFAbkxM.getTranslation("containers.EditView.add.new-entry"),
81505
81505
  defaultMessage: "Add an entry"
81506
81506
  }) }) }) })
81507
81507
  ] })
@@ -81616,15 +81616,15 @@ const Component = ({
81616
81616
  const { formatMessage } = reactIntl.useIntl();
81617
81617
  const {
81618
81618
  edit: { components }
81619
- } = indexOXhvt6Nv.useDocLayout();
81619
+ } = index1NFAbkxM.useDocLayout();
81620
81620
  const { layout } = components[attribute2.component];
81621
- const displayValue = indexOXhvt6Nv.useForm("RepeatableComponent", (state) => {
81622
- return indexOXhvt6Nv.getIn(state.values, [...name2.split("."), mainField.name]);
81621
+ const displayValue = index1NFAbkxM.useForm("RepeatableComponent", (state) => {
81622
+ return index1NFAbkxM.getIn(state.values, [...name2.split("."), mainField.name]);
81623
81623
  });
81624
81624
  const accordionRef = React__namespace.useRef(null);
81625
81625
  const componentKey = name2.split(".").slice(0, -1).join(".");
81626
- const [{ handlerId, isDragging, handleKeyDown }, boxRef, dropRef, dragRef, dragPreviewRef] = indexOXhvt6Nv.useDragAndDrop(!disabled, {
81627
- type: `${indexOXhvt6Nv.ItemTypes.COMPONENT}_${componentKey}`,
81626
+ const [{ handlerId, isDragging, handleKeyDown }, boxRef, dropRef, dragRef, dragPreviewRef] = index1NFAbkxM.useDragAndDrop(!disabled, {
81627
+ type: `${index1NFAbkxM.ItemTypes.COMPONENT}_${componentKey}`,
81628
81628
  index,
81629
81629
  item: {
81630
81630
  index,
@@ -81636,7 +81636,7 @@ const Component = ({
81636
81636
  ...dragProps
81637
81637
  });
81638
81638
  React__namespace.useEffect(() => {
81639
- dragPreviewRef(indexOXhvt6Nv.getEmptyImage(), { captureDraggingState: false });
81639
+ dragPreviewRef(index1NFAbkxM.getEmptyImage(), { captureDraggingState: false });
81640
81640
  }, [dragPreviewRef, index]);
81641
81641
  const composedAccordionRefs = designSystem.useComposedRefs(accordionRef, dragRef);
81642
81642
  const composedBoxRefs = designSystem.useComposedRefs(boxRef, dropRef);
@@ -81652,7 +81652,7 @@ const Component = ({
81652
81652
  borderWidth: 0,
81653
81653
  onClick: onDeleteComponent,
81654
81654
  label: formatMessage({
81655
- id: indexOXhvt6Nv.getTranslation("containers.Edit.delete"),
81655
+ id: index1NFAbkxM.getTranslation("containers.Edit.delete"),
81656
81656
  defaultMessage: "Delete"
81657
81657
  }),
81658
81658
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.Trash, {})
@@ -81670,7 +81670,7 @@ const Component = ({
81670
81670
  onClick: (e2) => e2.stopPropagation(),
81671
81671
  "data-handler-id": handlerId,
81672
81672
  label: formatMessage({
81673
- id: indexOXhvt6Nv.getTranslation("components.DragHandle-label"),
81673
+ id: index1NFAbkxM.getTranslation("components.DragHandle-label"),
81674
81674
  defaultMessage: "Drag"
81675
81675
  }),
81676
81676
  onKeyDown: handleKeyDown,
@@ -81717,9 +81717,9 @@ const ComponentInput = ({
81717
81717
  ...props
81718
81718
  }) => {
81719
81719
  const { formatMessage } = reactIntl.useIntl();
81720
- const field = indexOXhvt6Nv.useField(name2);
81720
+ const field = index1NFAbkxM.useField(name2);
81721
81721
  const showResetComponent = !attribute2.repeatable && field.value && !disabled;
81722
- const { components } = indexOXhvt6Nv.useDoc();
81722
+ const { components } = index1NFAbkxM.useDoc();
81723
81723
  const handleInitialisationClick = () => {
81724
81724
  const schema = components[attribute2.component];
81725
81725
  const form = createDefaultForm(schema, components);
@@ -81751,7 +81751,7 @@ const ComponentInput = ({
81751
81751
  designSystem.IconButton,
81752
81752
  {
81753
81753
  label: formatMessage({
81754
- id: indexOXhvt6Nv.getTranslation("components.reset-entry"),
81754
+ id: index1NFAbkxM.getTranslation("components.reset-entry"),
81755
81755
  defaultMessage: "Reset Entry"
81756
81756
  }),
81757
81757
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.Trash, {}),
@@ -81956,7 +81956,7 @@ const ComponentPicker = ({
81956
81956
  hasRadius: true,
81957
81957
  children: [
81958
81958
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "bold", textColor: "neutral600", children: formatMessage({
81959
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.ComponentPicker-label"),
81959
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.ComponentPicker-label"),
81960
81960
  defaultMessage: "Pick one component"
81961
81961
  }) }) }),
81962
81962
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { paddingTop: 2, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.KeyboardNavigable, { attributeName: "data-strapi-accordion-toggle", children: Object.entries(dynamicComponentsByCategory).map(([category, components], index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -81990,13 +81990,13 @@ const DynamicComponent = ({
81990
81990
  }) => {
81991
81991
  const [isOpen, setIsOpen] = React__namespace.useState(true);
81992
81992
  const { formatMessage } = reactIntl.useIntl();
81993
- const formValues = indexOXhvt6Nv.useForm("DynamicComponent", (state) => state.values);
81993
+ const formValues = index1NFAbkxM.useForm("DynamicComponent", (state) => state.values);
81994
81994
  const {
81995
81995
  edit: { components }
81996
- } = indexOXhvt6Nv.useDocLayout();
81996
+ } = index1NFAbkxM.useDocLayout();
81997
81997
  const title = React__namespace.useMemo(() => {
81998
81998
  const { mainField } = components[componentUid]?.settings ?? { mainField: "id" };
81999
- const mainFieldValue = indexOXhvt6Nv.getIn(formValues, `${name2}.${index}.${mainField}`);
81999
+ const mainFieldValue = index1NFAbkxM.getIn(formValues, `${name2}.${index}.${mainField}`);
82000
82000
  const displayedValue = mainField === "id" ? "" : String(mainFieldValue).trim();
82001
82001
  const mainValue = displayedValue.length > 0 ? `- ${displayedValue}` : displayedValue;
82002
82002
  return mainValue;
@@ -82011,8 +82011,8 @@ const DynamicComponent = ({
82011
82011
  const handleToggle = () => {
82012
82012
  setIsOpen((s) => !s);
82013
82013
  };
82014
- const [{ handlerId, isDragging, handleKeyDown }, boxRef, dropRef, dragRef, dragPreviewRef] = indexOXhvt6Nv.useDragAndDrop(!disabled, {
82015
- type: `${indexOXhvt6Nv.ItemTypes.DYNAMIC_ZONE}_${name2}`,
82014
+ const [{ handlerId, isDragging, handleKeyDown }, boxRef, dropRef, dragRef, dragPreviewRef] = index1NFAbkxM.useDragAndDrop(!disabled, {
82015
+ type: `${index1NFAbkxM.ItemTypes.DYNAMIC_ZONE}_${name2}`,
82016
82016
  index,
82017
82017
  item: {
82018
82018
  index,
@@ -82025,7 +82025,7 @@ const DynamicComponent = ({
82025
82025
  onCancel
82026
82026
  });
82027
82027
  React__namespace.useEffect(() => {
82028
- dragPreviewRef(indexOXhvt6Nv.getEmptyImage(), { captureDraggingState: false });
82028
+ dragPreviewRef(index1NFAbkxM.getEmptyImage(), { captureDraggingState: false });
82029
82029
  }, [dragPreviewRef, index]);
82030
82030
  const composedBoxRefs = designSystem.useComposedRefs(boxRef, dropRef);
82031
82031
  const accordionActions = disabled ? null : /* @__PURE__ */ jsxRuntime.jsxs(ActionsFlex, { gap: 0, children: [
@@ -82035,7 +82035,7 @@ const DynamicComponent = ({
82035
82035
  borderWidth: 0,
82036
82036
  label: formatMessage(
82037
82037
  {
82038
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.delete-label"),
82038
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.delete-label"),
82039
82039
  defaultMessage: "Delete {name}"
82040
82040
  },
82041
82041
  { name: title }
@@ -82055,7 +82055,7 @@ const DynamicComponent = ({
82055
82055
  "data-handler-id": handlerId,
82056
82056
  ref: dragRef,
82057
82057
  label: formatMessage({
82058
- id: indexOXhvt6Nv.getTranslation("components.DragHandle-label"),
82058
+ id: index1NFAbkxM.getTranslation("components.DragHandle-label"),
82059
82059
  defaultMessage: "Drag"
82060
82060
  }),
82061
82061
  onKeyDown: handleKeyDown,
@@ -82066,14 +82066,14 @@ const DynamicComponent = ({
82066
82066
  /* @__PURE__ */ jsxRuntime.jsxs(v2.Menu.Trigger, { size: "S", endIcon: null, paddingLeft: 2, paddingRight: 2, children: [
82067
82067
  /* @__PURE__ */ jsxRuntime.jsx(Icons.More, { "aria-hidden": true, focusable: false }),
82068
82068
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { as: "span", children: formatMessage({
82069
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.more-actions"),
82069
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.more-actions"),
82070
82070
  defaultMessage: "More actions"
82071
82071
  }) })
82072
82072
  ] }),
82073
82073
  /* @__PURE__ */ jsxRuntime.jsxs(v2.Menu.Content, { children: [
82074
82074
  /* @__PURE__ */ jsxRuntime.jsxs(v2.Menu.SubRoot, { children: [
82075
82075
  /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.SubTrigger, { children: formatMessage({
82076
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.add-item-above"),
82076
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.add-item-above"),
82077
82077
  defaultMessage: "Add component above"
82078
82078
  }) }),
82079
82079
  /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.SubContent, { children: Object.entries(dynamicComponentsByCategory).map(([category, components2]) => /* @__PURE__ */ jsxRuntime.jsxs(React__namespace.Fragment, { children: [
@@ -82083,7 +82083,7 @@ const DynamicComponent = ({
82083
82083
  ] }),
82084
82084
  /* @__PURE__ */ jsxRuntime.jsxs(v2.Menu.SubRoot, { children: [
82085
82085
  /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.SubTrigger, { children: formatMessage({
82086
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.add-item-below"),
82086
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.add-item-below"),
82087
82087
  defaultMessage: "Add component below"
82088
82088
  }) }),
82089
82089
  /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.SubContent, { children: Object.entries(dynamicComponentsByCategory).map(([category, components2]) => /* @__PURE__ */ jsxRuntime.jsxs(React__namespace.Fragment, { children: [
@@ -82192,7 +82192,7 @@ const DynamicZoneLabel = ({
82192
82192
  }
82193
82193
  ) });
82194
82194
  };
82195
- const [DynamicZoneProvider, useDynamicZone] = indexOXhvt6Nv.createContext(
82195
+ const [DynamicZoneProvider, useDynamicZone] = index1NFAbkxM.createContext(
82196
82196
  "DynamicZone",
82197
82197
  {
82198
82198
  isInDynamicZone: false
@@ -82209,8 +82209,8 @@ const DynamicZone = ({
82209
82209
  const { max = Infinity, min = -Infinity } = attribute2 ?? {};
82210
82210
  const [addComponentIsOpen, setAddComponentIsOpen] = React__namespace.useState(false);
82211
82211
  const [liveText, setLiveText] = React__namespace.useState("");
82212
- const { components } = indexOXhvt6Nv.useDoc();
82213
- const { addFieldRow, removeFieldRow, moveFieldRow } = indexOXhvt6Nv.useForm(
82212
+ const { components } = index1NFAbkxM.useDoc();
82213
+ const { addFieldRow, removeFieldRow, moveFieldRow } = index1NFAbkxM.useForm(
82214
82214
  "DynamicZone",
82215
82215
  ({ addFieldRow: addFieldRow2, removeFieldRow: removeFieldRow2, moveFieldRow: moveFieldRow2 }) => ({
82216
82216
  addFieldRow: addFieldRow2,
@@ -82218,7 +82218,7 @@ const DynamicZone = ({
82218
82218
  moveFieldRow: moveFieldRow2
82219
82219
  })
82220
82220
  );
82221
- const { value = [], error: error2 } = indexOXhvt6Nv.useField(name2);
82221
+ const { value = [], error: error2 } = index1NFAbkxM.useField(name2);
82222
82222
  const dynamicComponentsByCategory = React__namespace.useMemo(() => {
82223
82223
  return attribute2.components.reduce((acc, componentUid) => {
82224
82224
  const { category, info } = components[componentUid] ?? { info: {} };
@@ -82231,7 +82231,7 @@ const DynamicZone = ({
82231
82231
  }, {});
82232
82232
  }, [attribute2.components, components]);
82233
82233
  const { formatMessage } = reactIntl.useIntl();
82234
- const { toggleNotification } = indexOXhvt6Nv.useNotification();
82234
+ const { toggleNotification } = index1NFAbkxM.useNotification();
82235
82235
  const dynamicDisplayedComponentsLength = value.length;
82236
82236
  const handleAddComponent = (uid, position) => {
82237
82237
  setAddComponentIsOpen(false);
@@ -82251,7 +82251,7 @@ const DynamicZone = ({
82251
82251
  toggleNotification({
82252
82252
  type: "info",
82253
82253
  message: formatMessage({
82254
- id: indexOXhvt6Nv.getTranslation("components.notification.info.maximum-requirement")
82254
+ id: index1NFAbkxM.getTranslation("components.notification.info.maximum-requirement")
82255
82255
  })
82256
82256
  });
82257
82257
  }
@@ -82260,7 +82260,7 @@ const DynamicZone = ({
82260
82260
  setLiveText(
82261
82261
  formatMessage(
82262
82262
  {
82263
- id: indexOXhvt6Nv.getTranslation("dnd.reorder"),
82263
+ id: index1NFAbkxM.getTranslation("dnd.reorder"),
82264
82264
  defaultMessage: "{item}, moved. New position in list: {position}."
82265
82265
  },
82266
82266
  {
@@ -82276,7 +82276,7 @@ const DynamicZone = ({
82276
82276
  setLiveText(
82277
82277
  formatMessage(
82278
82278
  {
82279
- id: indexOXhvt6Nv.getTranslation("dnd.cancel-item"),
82279
+ id: index1NFAbkxM.getTranslation("dnd.cancel-item"),
82280
82280
  defaultMessage: "{item}, dropped. Re-order cancelled."
82281
82281
  },
82282
82282
  {
@@ -82289,7 +82289,7 @@ const DynamicZone = ({
82289
82289
  setLiveText(
82290
82290
  formatMessage(
82291
82291
  {
82292
- id: indexOXhvt6Nv.getTranslation("dnd.grab-item"),
82292
+ id: index1NFAbkxM.getTranslation("dnd.grab-item"),
82293
82293
  defaultMessage: `{item}, grabbed. Current position in list: {position}. Press up and down arrow to change position, Spacebar to drop, Escape to cancel.`
82294
82294
  },
82295
82295
  {
@@ -82303,7 +82303,7 @@ const DynamicZone = ({
82303
82303
  setLiveText(
82304
82304
  formatMessage(
82305
82305
  {
82306
- id: indexOXhvt6Nv.getTranslation("dnd.drop-item"),
82306
+ id: index1NFAbkxM.getTranslation("dnd.drop-item"),
82307
82307
  defaultMessage: `{item}, dropped. Final position in list: {position}.`
82308
82308
  },
82309
82309
  {
@@ -82324,7 +82324,7 @@ const DynamicZone = ({
82324
82324
  if (hasError && dynamicDisplayedComponentsLength > max) {
82325
82325
  return formatMessage(
82326
82326
  {
82327
- id: indexOXhvt6Nv.getTranslation(`components.DynamicZone.extra-components`),
82327
+ id: index1NFAbkxM.getTranslation(`components.DynamicZone.extra-components`),
82328
82328
  defaultMessage: "There {number, plural, =0 {are # extra components} one {is # extra component} other {are # extra components}}"
82329
82329
  },
82330
82330
  {
@@ -82335,7 +82335,7 @@ const DynamicZone = ({
82335
82335
  if (hasError && dynamicDisplayedComponentsLength < min) {
82336
82336
  return formatMessage(
82337
82337
  {
82338
- id: indexOXhvt6Nv.getTranslation(`components.DynamicZone.missing-components`),
82338
+ id: index1NFAbkxM.getTranslation(`components.DynamicZone.missing-components`),
82339
82339
  defaultMessage: "There {number, plural, =0 {are # missing components} one {is # missing component} other {are # missing components}}"
82340
82340
  },
82341
82341
  { number: min - dynamicDisplayedComponentsLength }
@@ -82343,13 +82343,13 @@ const DynamicZone = ({
82343
82343
  }
82344
82344
  return formatMessage(
82345
82345
  {
82346
- id: indexOXhvt6Nv.getTranslation("components.DynamicZone.add-component"),
82346
+ id: index1NFAbkxM.getTranslation("components.DynamicZone.add-component"),
82347
82347
  defaultMessage: "Add a component to {componentName}"
82348
82348
  },
82349
82349
  { componentName: label2 || name2 }
82350
82350
  );
82351
82351
  };
82352
- const level = indexOXhvt6Nv.useComponent("DynamicZone", (state) => state.level);
82352
+ const level = index1NFAbkxM.useComponent("DynamicZone", (state) => state.level);
82353
82353
  const ariaDescriptionId = React__namespace.useId();
82354
82354
  return /* @__PURE__ */ jsxRuntime.jsx(DynamicZoneProvider, { isInDynamicZone: true, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 6, children: [
82355
82355
  dynamicDisplayedComponentsLength > 0 && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
@@ -82364,12 +82364,12 @@ const DynamicZone = ({
82364
82364
  }
82365
82365
  ),
82366
82366
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { id: ariaDescriptionId, children: formatMessage({
82367
- id: indexOXhvt6Nv.getTranslation("dnd.instructions"),
82367
+ id: index1NFAbkxM.getTranslation("dnd.instructions"),
82368
82368
  defaultMessage: `Press spacebar to grab and re-order`
82369
82369
  }) }),
82370
82370
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { "aria-live": "assertive", children: liveText }),
82371
82371
  /* @__PURE__ */ jsxRuntime.jsx("ol", { "aria-describedby": ariaDescriptionId, children: value.map((field, index) => /* @__PURE__ */ jsxRuntime.jsx(
82372
- indexOXhvt6Nv.ComponentProvider,
82372
+ index1NFAbkxM.ComponentProvider,
82373
82373
  {
82374
82374
  level: level + 1,
82375
82375
  uid: field.__component,
@@ -82415,7 +82415,7 @@ const DynamicZone = ({
82415
82415
  )
82416
82416
  ] }) });
82417
82417
  };
82418
- const uidApi = indexOXhvt6Nv.contentManagerApi.injectEndpoints({
82418
+ const uidApi = index1NFAbkxM.contentManagerApi.injectEndpoints({
82419
82419
  endpoints: (builder) => ({
82420
82420
  getDefaultUID: builder.query({
82421
82421
  query: ({ params, ...data }) => {
@@ -82457,17 +82457,17 @@ const { useGenerateUIDMutation, useGetDefaultUIDQuery, useGetAvailabilityQuery }
82457
82457
  const UID_REGEX = /^[A-Za-z0-9-_.~]*$/;
82458
82458
  const UIDInput = React__namespace.forwardRef(
82459
82459
  ({ hint, disabled, label: label2, name: name2, placeholder, required }, ref) => {
82460
- const { model, id: id2 } = indexOXhvt6Nv.useDoc();
82461
- const allFormValues = indexOXhvt6Nv.useForm("InputUID", (form) => form.values);
82460
+ const { model, id: id2 } = index1NFAbkxM.useDoc();
82461
+ const allFormValues = index1NFAbkxM.useForm("InputUID", (form) => form.values);
82462
82462
  const [availability, setAvailability] = React__namespace.useState();
82463
82463
  const [showRegenerate, setShowRegenerate] = React__namespace.useState(false);
82464
- const field = indexOXhvt6Nv.useField(name2);
82464
+ const field = index1NFAbkxM.useField(name2);
82465
82465
  const debouncedValue = useDebounce(field.value, 300);
82466
- const { toggleNotification } = indexOXhvt6Nv.useNotification();
82467
- const { _unstableFormatAPIError: formatAPIError } = indexOXhvt6Nv.useAPIErrorHandler();
82466
+ const { toggleNotification } = index1NFAbkxM.useNotification();
82467
+ const { _unstableFormatAPIError: formatAPIError } = index1NFAbkxM.useAPIErrorHandler();
82468
82468
  const { formatMessage } = reactIntl.useIntl();
82469
- const [{ query }] = indexOXhvt6Nv.useQueryParams();
82470
- const params = React__namespace.useMemo(() => indexOXhvt6Nv.buildValidParams(query), [query]);
82469
+ const [{ query }] = index1NFAbkxM.useQueryParams();
82470
+ const params = React__namespace.useMemo(() => index1NFAbkxM.buildValidParams(query), [query]);
82471
82471
  const {
82472
82472
  data: defaultGeneratedUID,
82473
82473
  isLoading: isGeneratingDefaultUID,
@@ -82566,7 +82566,7 @@ const UIDInput = React__namespace.forwardRef(
82566
82566
  };
82567
82567
  }, [availabilityData]);
82568
82568
  const isLoading = isGeneratingDefaultUID || isGeneratingUID || isCheckingAvailability;
82569
- const fieldRef = indexOXhvt6Nv.useFocusInputField(name2);
82569
+ const fieldRef = index1NFAbkxM.useFocusInputField(name2);
82570
82570
  const composedRefs = designSystem.useComposedRefs(ref, fieldRef);
82571
82571
  return /* @__PURE__ */ jsxRuntime.jsx(
82572
82572
  designSystem.TextInput,
@@ -83979,7 +83979,7 @@ const StyledFlex = styled__default.default(designSystem.Flex)`
83979
83979
  `;
83980
83980
  const Wysiwyg = React__namespace.forwardRef(
83981
83981
  ({ hint, disabled, label: label2, name: name2, placeholder, required }, forwardedRef) => {
83982
- const field = indexOXhvt6Nv.useField(name2);
83982
+ const field = index1NFAbkxM.useField(name2);
83983
83983
  const textareaRef = React__namespace.useRef(null);
83984
83984
  const editorRef = React__namespace.useRef(
83985
83985
  null
@@ -83987,7 +83987,7 @@ const Wysiwyg = React__namespace.forwardRef(
83987
83987
  const [isPreviewMode, setIsPreviewMode] = React__namespace.useState(false);
83988
83988
  const [mediaLibVisible, setMediaLibVisible] = React__namespace.useState(false);
83989
83989
  const [isExpandMode, setIsExpandMode] = React__namespace.useState(false);
83990
- const components = indexOXhvt6Nv.useStrapiApp("ImageDialog", (state) => state.components);
83990
+ const components = index1NFAbkxM.useStrapiApp("ImageDialog", (state) => state.components);
83991
83991
  const MediaLibraryDialog = components["media-library"];
83992
83992
  const handleToggleMediaLib = () => setMediaLibVisible((prev) => !prev);
83993
83993
  const handleTogglePreviewMode = () => setIsPreviewMode((prev) => !prev);
@@ -84035,7 +84035,7 @@ const Wysiwyg = React__namespace.forwardRef(
84035
84035
  const handleSelectAssets = (files) => {
84036
84036
  const formattedFiles = files.map((f) => ({
84037
84037
  alt: f.alternativeText || f.name,
84038
- url: indexOXhvt6Nv.prefixFileUrlWithBackendUrl(f.url),
84038
+ url: index1NFAbkxM.prefixFileUrlWithBackendUrl(f.url),
84039
84039
  mime: f.mime
84040
84040
  }));
84041
84041
  insertFile(editorRef, formattedFiles);
@@ -84093,18 +84093,18 @@ const Wysiwyg = React__namespace.forwardRef(
84093
84093
  }
84094
84094
  );
84095
84095
  const InputRenderer = ({ visible, hint: providedHint, ...props }) => {
84096
- const { id: id2 } = indexOXhvt6Nv.useDoc();
84097
- const isFormDisabled = indexOXhvt6Nv.useForm("InputRenderer", (state) => state.disabled);
84096
+ const { id: id2 } = index1NFAbkxM.useDoc();
84097
+ const isFormDisabled = index1NFAbkxM.useForm("InputRenderer", (state) => state.disabled);
84098
84098
  const isInDynamicZone = useDynamicZone("isInDynamicZone", (state) => state.isInDynamicZone);
84099
- const canCreateFields = indexOXhvt6Nv.useDocumentRBAC("InputRenderer", (rbac) => rbac.canCreateFields);
84100
- const canReadFields = indexOXhvt6Nv.useDocumentRBAC("InputRenderer", (rbac) => rbac.canReadFields);
84101
- const canUpdateFields = indexOXhvt6Nv.useDocumentRBAC("InputRenderer", (rbac) => rbac.canUpdateFields);
84102
- const canUserAction = indexOXhvt6Nv.useDocumentRBAC("InputRenderer", (rbac) => rbac.canUserAction);
84099
+ const canCreateFields = index1NFAbkxM.useDocumentRBAC("InputRenderer", (rbac) => rbac.canCreateFields);
84100
+ const canReadFields = index1NFAbkxM.useDocumentRBAC("InputRenderer", (rbac) => rbac.canReadFields);
84101
+ const canUpdateFields = index1NFAbkxM.useDocumentRBAC("InputRenderer", (rbac) => rbac.canUpdateFields);
84102
+ const canUserAction = index1NFAbkxM.useDocumentRBAC("InputRenderer", (rbac) => rbac.canUserAction);
84103
84103
  const editableFields = id2 ? canUpdateFields : canCreateFields;
84104
84104
  const readableFields = id2 ? canReadFields : canCreateFields;
84105
84105
  const canUserReadField = canUserAction(props.name, readableFields, props.type);
84106
84106
  const canUserEditField = canUserAction(props.name, editableFields, props.type);
84107
- const fields = indexOXhvt6Nv.useStrapiApp("InputRenderer", (app) => app.fields);
84107
+ const fields = index1NFAbkxM.useStrapiApp("InputRenderer", (app) => app.fields);
84108
84108
  const { lazyComponentStore } = useLazyComponents(
84109
84109
  attributeHasCustomFieldProperty(props.attribute) ? [props.attribute.customField] : void 0
84110
84110
  );
@@ -84122,7 +84122,7 @@ const InputRenderer = ({ visible, hint: providedHint, ...props }) => {
84122
84122
  return /* @__PURE__ */ jsxRuntime.jsx(CustomInput, { ...props, hint, disabled: fieldIsDisabled });
84123
84123
  } else {
84124
84124
  /* @__PURE__ */ jsxRuntime.jsx(
84125
- indexOXhvt6Nv.InputRenderer,
84125
+ index1NFAbkxM.InputRenderer,
84126
84126
  {
84127
84127
  ...props,
84128
84128
  hint,
@@ -84145,14 +84145,14 @@ const InputRenderer = ({ visible, hint: providedHint, ...props }) => {
84145
84145
  case "dynamiczone":
84146
84146
  return /* @__PURE__ */ jsxRuntime.jsx(DynamicZone, { ...props, hint, disabled: fieldIsDisabled });
84147
84147
  case "relation":
84148
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.RelationsField, { ...props, hint, disabled: fieldIsDisabled });
84148
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.RelationsField, { ...props, hint, disabled: fieldIsDisabled });
84149
84149
  case "richtext":
84150
84150
  return /* @__PURE__ */ jsxRuntime.jsx(Wysiwyg, { ...props, hint, type: props.type, disabled: fieldIsDisabled });
84151
84151
  case "uid":
84152
84152
  return /* @__PURE__ */ jsxRuntime.jsx(UIDInput, { ...props, hint, type: props.type, disabled: fieldIsDisabled });
84153
84153
  case "enumeration":
84154
84154
  return /* @__PURE__ */ jsxRuntime.jsx(
84155
- indexOXhvt6Nv.InputRenderer,
84155
+ index1NFAbkxM.InputRenderer,
84156
84156
  {
84157
84157
  ...props,
84158
84158
  hint,
@@ -84164,7 +84164,7 @@ const InputRenderer = ({ visible, hint: providedHint, ...props }) => {
84164
84164
  default:
84165
84165
  const { unique: _unique, mainField: _mainField, ...restProps } = props;
84166
84166
  return /* @__PURE__ */ jsxRuntime.jsx(
84167
- indexOXhvt6Nv.InputRenderer,
84167
+ index1NFAbkxM.InputRenderer,
84168
84168
  {
84169
84169
  ...restProps,
84170
84170
  hint,
@@ -84256,9 +84256,9 @@ const EditViewPage = () => {
84256
84256
  query: { status }
84257
84257
  },
84258
84258
  setQuery
84259
- ] = indexOXhvt6Nv.useQueryParams();
84259
+ ] = index1NFAbkxM.useQueryParams();
84260
84260
  const { formatMessage } = reactIntl.useIntl();
84261
- const { toggleNotification } = indexOXhvt6Nv.useNotification();
84261
+ const { toggleNotification } = index1NFAbkxM.useNotification();
84262
84262
  const tabApi = React__namespace.useRef(null);
84263
84263
  const {
84264
84264
  document: document2,
@@ -84269,7 +84269,7 @@ const EditViewPage = () => {
84269
84269
  collectionType,
84270
84270
  id: id2,
84271
84271
  model
84272
- } = indexOXhvt6Nv.useDoc();
84272
+ } = index1NFAbkxM.useDoc();
84273
84273
  const hasDraftAndPublished = schema?.options?.draftAndPublish ?? false;
84274
84274
  React__namespace.useEffect(() => {
84275
84275
  if (tabApi.current && hasDraftAndPublished) {
@@ -84285,8 +84285,8 @@ const EditViewPage = () => {
84285
84285
  });
84286
84286
  }
84287
84287
  });
84288
- const isLoadingActionsRBAC = indexOXhvt6Nv.useDocumentRBAC("EditViewPage", (state) => state.isLoading);
84289
- const isSingleType = collectionType === indexOXhvt6Nv.SINGLE_TYPES;
84288
+ const isLoadingActionsRBAC = index1NFAbkxM.useDocumentRBAC("EditViewPage", (state) => state.isLoading);
84289
+ const isSingleType = collectionType === index1NFAbkxM.SINGLE_TYPES;
84290
84290
  const isCreatingDocument = !id2 && !isSingleType;
84291
84291
  const {
84292
84292
  isLoading: isLoadingLayout,
@@ -84294,7 +84294,7 @@ const EditViewPage = () => {
84294
84294
  layout,
84295
84295
  settings: { mainField }
84296
84296
  }
84297
- } = indexOXhvt6Nv.useDocumentLayout(model);
84297
+ } = index1NFAbkxM.useDocumentLayout(model);
84298
84298
  const { isLazyLoading } = useLazyComponents([]);
84299
84299
  const isLoading = isLoadingActionsRBAC || isLoadingDocument || isLoadingLayout || isLazyLoading;
84300
84300
  const initialValues = React__namespace.useMemo(() => {
@@ -84305,10 +84305,10 @@ const EditViewPage = () => {
84305
84305
  return transformDocument(schema, components)(form);
84306
84306
  }, [document2, isCreatingDocument, isSingleType, schema, components]);
84307
84307
  if (isLoading && !document2?.documentId) {
84308
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Page.Loading, {});
84308
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Page.Loading, {});
84309
84309
  }
84310
84310
  if (!initialValues) {
84311
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Page.Error, {});
84311
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Page.Error, {});
84312
84312
  }
84313
84313
  const handleTabChange = (index, { resetForm }) => {
84314
84314
  if (index === 0) {
@@ -84322,15 +84322,15 @@ const EditViewPage = () => {
84322
84322
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Main, { paddingLeft: 10, paddingRight: 10, children: [
84323
84323
  /* @__PURE__ */ jsxRuntime.jsx(Helmet.HelmetExport, { title: `${documentTitle} | Strapi` }),
84324
84324
  /* @__PURE__ */ jsxRuntime.jsx(
84325
- indexOXhvt6Nv.Form,
84325
+ index1NFAbkxM.Form,
84326
84326
  {
84327
84327
  disabled: hasDraftAndPublished && status === "published",
84328
84328
  initialValues,
84329
84329
  method: isCreatingDocument ? "POST" : "PUT",
84330
- validationSchema: indexOXhvt6Nv.createYupSchema(schema?.attributes, components),
84330
+ validationSchema: index1NFAbkxM.createYupSchema(schema?.attributes, components),
84331
84331
  children: ({ resetForm }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
84332
84332
  /* @__PURE__ */ jsxRuntime.jsx(
84333
- indexOXhvt6Nv.Header,
84333
+ index1NFAbkxM.Header,
84334
84334
  {
84335
84335
  isCreating: isCreatingDocument,
84336
84336
  status: hasDraftAndPublished ? getDocumentStatus(document2, meta) : void 0,
@@ -84343,7 +84343,7 @@ const EditViewPage = () => {
84343
84343
  ref: tabApi,
84344
84344
  variant: "simple",
84345
84345
  label: formatMessage({
84346
- id: indexOXhvt6Nv.getTranslation("containers.edit.tabs.label"),
84346
+ id: index1NFAbkxM.getTranslation("containers.edit.tabs.label"),
84347
84347
  defaultMessage: "Document status"
84348
84348
  }),
84349
84349
  initialSelectedTabIndex: hasDraftAndPublished && status === "published" ? 1 : 0,
@@ -84353,11 +84353,11 @@ const EditViewPage = () => {
84353
84353
  children: [
84354
84354
  hasDraftAndPublished ? /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tabs, { children: [
84355
84355
  /* @__PURE__ */ jsxRuntime.jsx(StatusTab, { children: formatMessage({
84356
- id: indexOXhvt6Nv.getTranslation("containers.edit.tabs.draft"),
84356
+ id: index1NFAbkxM.getTranslation("containers.edit.tabs.draft"),
84357
84357
  defaultMessage: "draft"
84358
84358
  }) }),
84359
84359
  /* @__PURE__ */ jsxRuntime.jsx(StatusTab, { disabled: !meta || meta.availableStatus.length === 0, children: formatMessage({
84360
- id: indexOXhvt6Nv.getTranslation("containers.edit.tabs.published"),
84360
+ id: index1NFAbkxM.getTranslation("containers.edit.tabs.published"),
84361
84361
  defaultMessage: "published"
84362
84362
  }) })
84363
84363
  ] }) : null,
@@ -84366,12 +84366,12 @@ const EditViewPage = () => {
84366
84366
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.TabPanel, { children: /* @__PURE__ */ jsxRuntime.jsx(FormLayout, { layout }) }),
84367
84367
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.TabPanel, { children: /* @__PURE__ */ jsxRuntime.jsx(FormLayout, { layout }) })
84368
84368
  ] }) }),
84369
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.GridItem, { col: 3, s: 12, children: /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Panels, {}) })
84369
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.GridItem, { col: 3, s: 12, children: /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Panels, {}) })
84370
84370
  ] })
84371
84371
  ]
84372
84372
  }
84373
84373
  ),
84374
- /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Blocker, {})
84374
+ /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Blocker, {})
84375
84375
  ] })
84376
84376
  }
84377
84377
  )
@@ -84393,16 +84393,16 @@ const getDocumentStatus = (document2, meta) => {
84393
84393
  };
84394
84394
  const ProtectedEditViewPage = () => {
84395
84395
  const { slug } = reactRouterDom.useParams();
84396
- const [{ query }] = indexOXhvt6Nv.useQueryParams();
84396
+ const [{ query }] = index1NFAbkxM.useQueryParams();
84397
84397
  const { permissions = [], isLoading, isError } = useSyncRbacLNOzRXJ5.useSyncRbac(slug ?? "", query, "editView");
84398
84398
  if (isLoading) {
84399
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Page.Loading, {});
84399
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Page.Loading, {});
84400
84400
  }
84401
84401
  if (!isLoading && isError || !slug) {
84402
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Page.Error, {});
84402
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Page.Error, {});
84403
84403
  }
84404
- return /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.Page.Protect, { permissions, children: ({ permissions: permissions2 }) => /* @__PURE__ */ jsxRuntime.jsx(indexOXhvt6Nv.DocumentRBAC, { permissions: permissions2, children: /* @__PURE__ */ jsxRuntime.jsx(EditViewPage, {}) }) });
84404
+ return /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.Page.Protect, { permissions, children: ({ permissions: permissions2 }) => /* @__PURE__ */ jsxRuntime.jsx(index1NFAbkxM.DocumentRBAC, { permissions: permissions2, children: /* @__PURE__ */ jsxRuntime.jsx(EditViewPage, {}) }) });
84405
84405
  };
84406
84406
  exports.EditViewPage = EditViewPage;
84407
84407
  exports.ProtectedEditViewPage = ProtectedEditViewPage;
84408
- //# sourceMappingURL=EditViewPage-GUkP1rzn-EvE5_Dqg.js.map
84408
+ //# sourceMappingURL=EditViewPage-BJdNfzBZ-eKwHxgPQ.js.map