strapi-plugin-comments 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -104,7 +104,7 @@ In our minimum support we're following [official Node.js releases timelines](htt
104
104
 
105
105
  **Supported Strapi versions**:
106
106
 
107
- - Strapi v5.6.0 (recently tested)
107
+ - Strapi v5.7.0 (recently tested)
108
108
  - Strapi v5.x
109
109
 
110
110
  > This plugin is designed for **Strapi v5**. To get support for other Strapi versions, please follow the [versions](#-versions) section.
@@ -11833,7 +11833,7 @@ function isTopLayer(element) {
11833
11833
  function isContainingBlock(elementOrCss) {
11834
11834
  const webkit2 = isWebKit();
11835
11835
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
11836
- return css.transform !== "none" || css.perspective !== "none" || (css.containerType ? css.containerType !== "normal" : false) || !webkit2 && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit2 && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
11836
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit2 && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit2 && (css.filter ? css.filter !== "none" : false) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
11837
11837
  }
11838
11838
  function getContainingBlock(element) {
11839
11839
  let currentNode = getParentNode(element);
@@ -12339,6 +12339,9 @@ const platform = {
12339
12339
  isElement,
12340
12340
  isRTL
12341
12341
  };
12342
+ function rectsAreEqual(a2, b2) {
12343
+ return a2.x === b2.x && a2.y === b2.y && a2.width === b2.width && a2.height === b2.height;
12344
+ }
12342
12345
  function observeMove(element, onMove) {
12343
12346
  let io = null;
12344
12347
  let timeoutId;
@@ -12357,12 +12360,13 @@ function observeMove(element, onMove) {
12357
12360
  threshold = 1;
12358
12361
  }
12359
12362
  cleanup();
12363
+ const elementRectForRootMargin = element.getBoundingClientRect();
12360
12364
  const {
12361
12365
  left,
12362
12366
  top: top2,
12363
12367
  width,
12364
12368
  height
12365
- } = element.getBoundingClientRect();
12369
+ } = elementRectForRootMargin;
12366
12370
  if (!skip) {
12367
12371
  onMove();
12368
12372
  }
@@ -12393,6 +12397,9 @@ function observeMove(element, onMove) {
12393
12397
  refresh(false, ratio);
12394
12398
  }
12395
12399
  }
12400
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
12401
+ refresh();
12402
+ }
12396
12403
  isFirstUpdate = false;
12397
12404
  }
12398
12405
  try {
@@ -12456,7 +12463,7 @@ function autoUpdate(reference, floating, update, options) {
12456
12463
  }
12457
12464
  function frameLoop() {
12458
12465
  const nextRefRect = getBoundingClientRect(reference);
12459
- if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
12466
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
12460
12467
  update();
12461
12468
  }
12462
12469
  prevRefRect = nextRefRect;
@@ -20443,7 +20450,7 @@ function findMinIndex(value, array) {
20443
20450
  }
20444
20451
  function countColumn(string2, tabSize, to = string2.length) {
20445
20452
  let n2 = 0;
20446
- for (let i = 0; i < to; ) {
20453
+ for (let i = 0; i < to && i < string2.length; ) {
20447
20454
  if (string2.charCodeAt(i) == 9) {
20448
20455
  n2 += tabSize - n2 % tabSize;
20449
20456
  i++;
@@ -24291,16 +24298,16 @@ function applyDOMChange(view, domChange) {
24291
24298
  return false;
24292
24299
  if (!change && domChange.typeOver && !sel.empty && newSel && newSel.main.empty) {
24293
24300
  change = { from: sel.from, to: sel.to, insert: view.state.doc.slice(sel.from, sel.to) };
24301
+ } else if ((browser.mac || browser.android) && change && change.from == change.to && change.from == sel.head - 1 && /^\. ?$/.test(change.insert.toString()) && view.contentDOM.getAttribute("autocorrect") == "off") {
24302
+ if (newSel && change.insert.length == 2)
24303
+ newSel = EditorSelection.single(newSel.main.anchor - 1, newSel.main.head - 1);
24304
+ change = { from: change.from, to: change.to, insert: Text.of([change.insert.toString().replace(".", " ")]) };
24294
24305
  } else if (change && change.from >= sel.from && change.to <= sel.to && (change.from != sel.from || change.to != sel.to) && sel.to - sel.from - (change.to - change.from) <= 4) {
24295
24306
  change = {
24296
24307
  from: sel.from,
24297
24308
  to: sel.to,
24298
24309
  insert: view.state.doc.slice(sel.from, change.from).append(change.insert).append(view.state.doc.slice(change.to, sel.to))
24299
24310
  };
24300
- } else if ((browser.mac || browser.android) && change && change.from == change.to && change.from == sel.head - 1 && /^\. ?$/.test(change.insert.toString()) && view.contentDOM.getAttribute("autocorrect") == "off") {
24301
- if (newSel && change.insert.length == 2)
24302
- newSel = EditorSelection.single(newSel.main.anchor - 1, newSel.main.head - 1);
24303
- change = { from: sel.from, to: sel.to, insert: Text.of([" "]) };
24304
24311
  } else if (browser.chrome && change && change.from == change.to && change.from == sel.head && change.insert.toString() == "\n " && view.lineWrapping) {
24305
24312
  if (newSel)
24306
24313
  newSel = EditorSelection.single(newSel.main.anchor - 1, newSel.main.head - 1);
@@ -25936,6 +25943,10 @@ function visiblePixelRange(dom, paddingTop) {
25936
25943
  bottom: Math.max(top2, bottom) - (rect.top + paddingTop)
25937
25944
  };
25938
25945
  }
25946
+ function inWindow(elt) {
25947
+ let rect = elt.getBoundingClientRect(), win = elt.ownerDocument.defaultView || window;
25948
+ return rect.left < win.innerWidth && rect.right > 0 && rect.top < win.innerHeight && rect.bottom > 0;
25949
+ }
25939
25950
  function fullPixelRange(dom, paddingTop) {
25940
25951
  let rect = dom.getBoundingClientRect();
25941
25952
  return {
@@ -26136,7 +26147,7 @@ class ViewState {
26136
26147
  if (inView)
26137
26148
  measureContent = true;
26138
26149
  }
26139
- if (!this.inView && !this.scrollTarget)
26150
+ if (!this.inView && !this.scrollTarget && !inWindow(view.dom))
26140
26151
  return 0;
26141
26152
  let contentWidth = domRect.width;
26142
26153
  if (this.contentDOMWidth != contentWidth || this.editorHeight != view.scrollDOM.clientHeight) {
@@ -27253,7 +27264,7 @@ class EditContextManager {
27253
27264
  selectionEnd: this.toContextPos(view.state.selection.main.head)
27254
27265
  });
27255
27266
  this.handlers.textupdate = (e2) => {
27256
- let { anchor } = view.state.selection.main;
27267
+ let main = view.state.selection.main, { anchor, head } = main;
27257
27268
  let from = this.toEditorPos(e2.updateRangeStart), to = this.toEditorPos(e2.updateRangeEnd);
27258
27269
  if (view.inputState.composing >= 0 && !this.composing)
27259
27270
  this.composing = { contextBase: e2.updateRangeStart, editorBase: from, drifted: false };
@@ -27262,8 +27273,14 @@ class EditContextManager {
27262
27273
  change.from = anchor;
27263
27274
  else if (change.to == this.to && anchor > this.to)
27264
27275
  change.to = anchor;
27265
- if (change.from == change.to && !change.insert.length)
27276
+ if (change.from == change.to && !change.insert.length) {
27277
+ let newSel = EditorSelection.single(this.toEditorPos(e2.selectionStart), this.toEditorPos(e2.selectionEnd));
27278
+ if (!newSel.main.eq(main))
27279
+ view.dispatch({ selection: newSel, userEvent: "select" });
27266
27280
  return;
27281
+ }
27282
+ if ((browser.mac || browser.android) && change.from == head - 1 && /^\. ?$/.test(e2.text) && view.contentDOM.getAttribute("autocorrect") == "off")
27283
+ change = { from, to, insert: Text.of([e2.text.replace(".", " ")]) };
27267
27284
  this.pendingContextChange = change;
27268
27285
  if (!view.state.readOnly) {
27269
27286
  let newLen = this.to - this.from + (change.to - change.from + change.insert.length);
@@ -51189,7 +51206,7 @@ const index = {
51189
51206
  id: `${pluginId}.plugin.name`,
51190
51207
  defaultMessage: displayName
51191
51208
  },
51192
- Component: () => Promise.resolve().then(() => require("./index-CWfr5ejx.js")),
51209
+ Component: () => Promise.resolve().then(() => require("./index-Czdnz9Ci.js")),
51193
51210
  permissions: pluginPermissions.access
51194
51211
  });
51195
51212
  app.createSettingSection(
@@ -51208,7 +51225,7 @@ const index = {
51208
51225
  },
51209
51226
  id: "comments",
51210
51227
  to: `/settings/${pluginId}`,
51211
- Component: () => Promise.resolve().then(() => require("./index-D8uskGzQ.js")),
51228
+ Component: () => Promise.resolve().then(() => require("./index-BoLOt7pX.js")),
51212
51229
  permissions: pluginPermissions.settings
51213
51230
  }
51214
51231
  ]
@@ -51296,6 +51313,7 @@ exports.Td = Td;
51296
51313
  exports.Th = Th;
51297
51314
  exports.Thead = Thead;
51298
51315
  exports.Toggle = Toggle;
51316
+ exports.TooltipImpl = TooltipImpl;
51299
51317
  exports.Tr = Tr;
51300
51318
  exports.Typography = Typography;
51301
51319
  exports.__rest = __rest;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const index$2 = require("./index-B-ygLKrb.js");
4
+ const index$2 = require("./index-7Geqfcar.js");
5
5
  const admin = require("@strapi/strapi/admin");
6
6
  const reactQuery = require("@tanstack/react-query");
7
- const index$1 = require("./index-DFAPx7Bl.js");
7
+ const index$1 = require("./index-CiJKS9C3.js");
8
8
  const React = require("react");
9
9
  const styled = require("styled-components");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { a8 as darkTheme, a9 as lightTheme, aa as DesignSystemProvider, ab as pluginPermissions, ac as __assign, ad as __rest, p as pluginId, ae as Dialog, F as Flex, af as ForwardRef$3, T as Typography, e as Button } from "./index-Bx2boY6h.mjs";
2
+ import { a9 as darkTheme, aa as lightTheme, ab as DesignSystemProvider, ac as pluginPermissions, ad as __assign, ae as __rest, p as pluginId, af as Dialog, F as Flex, ag as ForwardRef$3, T as Typography, e as Button } from "./index-Ct7A5TFY.mjs";
3
3
  import { useQuery, QueryClient, QueryClientProvider } from "@tanstack/react-query";
4
4
  import * as React from "react";
5
5
  import { useMemo, createContext, useState } from "react";
@@ -3831,10 +3831,10 @@ lodash.exports;
3831
3831
  return result2;
3832
3832
  };
3833
3833
  }
3834
- var bind3 = baseRest(function(func, thisArg, partials) {
3834
+ var bind2 = baseRest(function(func, thisArg, partials) {
3835
3835
  var bitmask = WRAP_BIND_FLAG;
3836
3836
  if (partials.length) {
3837
- var holders = replaceHolders(partials, getHolder(bind3));
3837
+ var holders = replaceHolders(partials, getHolder(bind2));
3838
3838
  bitmask |= WRAP_PARTIAL_FLAG;
3839
3839
  }
3840
3840
  return createWrap(func, bitmask, thisArg, partials, holders);
@@ -4841,7 +4841,7 @@ lodash.exports;
4841
4841
  var bindAll = flatRest(function(object, methodNames) {
4842
4842
  arrayEach(methodNames, function(key) {
4843
4843
  key = toKey(key);
4844
- baseAssignValue(object, key, bind3(object[key], object));
4844
+ baseAssignValue(object, key, bind2(object[key], object));
4845
4845
  });
4846
4846
  return object;
4847
4847
  });
@@ -5038,7 +5038,7 @@ lodash.exports;
5038
5038
  lodash2.assignWith = assignWith;
5039
5039
  lodash2.at = at;
5040
5040
  lodash2.before = before;
5041
- lodash2.bind = bind3;
5041
+ lodash2.bind = bind2;
5042
5042
  lodash2.bindAll = bindAll;
5043
5043
  lodash2.bindKey = bindKey;
5044
5044
  lodash2.castArray = castArray;
@@ -5755,7 +5755,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
5755
5755
  var ys = arrObjKeys(obj, inspect2);
5756
5756
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
5757
5757
  var protoTag = obj instanceof Object ? "" : "null prototype";
5758
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
5758
+ var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
5759
5759
  var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
5760
5760
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
5761
5761
  if (ys.length === 0) {
@@ -5777,25 +5777,25 @@ function quote(s) {
5777
5777
  return $replace$1.call(String(s), /"/g, "&quot;");
5778
5778
  }
5779
5779
  function isArray$3(obj) {
5780
- return toStr$1(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5780
+ return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5781
5781
  }
5782
5782
  function isDate(obj) {
5783
- return toStr$1(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5783
+ return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5784
5784
  }
5785
5785
  function isRegExp$1(obj) {
5786
- return toStr$1(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5786
+ return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5787
5787
  }
5788
5788
  function isError(obj) {
5789
- return toStr$1(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5789
+ return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5790
5790
  }
5791
5791
  function isString(obj) {
5792
- return toStr$1(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5792
+ return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5793
5793
  }
5794
5794
  function isNumber(obj) {
5795
- return toStr$1(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5795
+ return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5796
5796
  }
5797
5797
  function isBoolean(obj) {
5798
- return toStr$1(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5798
+ return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
5799
5799
  }
5800
5800
  function isSymbol(obj) {
5801
5801
  if (hasShammedSymbols) {
@@ -5831,7 +5831,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
5831
5831
  function has$3(obj, key) {
5832
5832
  return hasOwn$1.call(obj, key);
5833
5833
  }
5834
- function toStr$1(obj) {
5834
+ function toStr(obj) {
5835
5835
  return objectToString.call(obj);
5836
5836
  }
5837
5837
  function nameOf(f) {
@@ -6140,7 +6140,7 @@ var syntax = SyntaxError;
6140
6140
  var uri = URIError;
6141
6141
  var abs$1 = Math.abs;
6142
6142
  var floor$1 = Math.floor;
6143
- var max$2 = Math.max;
6143
+ var max$1 = Math.max;
6144
6144
  var min$1 = Math.min;
6145
6145
  var pow$1 = Math.pow;
6146
6146
  var round$1 = Math.round;
@@ -6269,78 +6269,99 @@ function requireObject_getPrototypeOf() {
6269
6269
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
6270
6270
  return Object_getPrototypeOf;
6271
6271
  }
6272
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
6273
- var toStr = Object.prototype.toString;
6274
- var max$1 = Math.max;
6275
- var funcType = "[object Function]";
6276
- var concatty = function concatty2(a, b) {
6277
- var arr = [];
6278
- for (var i = 0; i < a.length; i += 1) {
6279
- arr[i] = a[i];
6280
- }
6281
- for (var j = 0; j < b.length; j += 1) {
6282
- arr[j + a.length] = b[j];
6283
- }
6284
- return arr;
6285
- };
6286
- var slicy = function slicy2(arrLike, offset) {
6287
- var arr = [];
6288
- for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
6289
- arr[j] = arrLike[i];
6290
- }
6291
- return arr;
6292
- };
6293
- var joiny = function(arr, joiner) {
6294
- var str = "";
6295
- for (var i = 0; i < arr.length; i += 1) {
6296
- str += arr[i];
6297
- if (i + 1 < arr.length) {
6298
- str += joiner;
6272
+ var implementation;
6273
+ var hasRequiredImplementation;
6274
+ function requireImplementation() {
6275
+ if (hasRequiredImplementation) return implementation;
6276
+ hasRequiredImplementation = 1;
6277
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
6278
+ var toStr2 = Object.prototype.toString;
6279
+ var max2 = Math.max;
6280
+ var funcType = "[object Function]";
6281
+ var concatty = function concatty2(a, b) {
6282
+ var arr = [];
6283
+ for (var i = 0; i < a.length; i += 1) {
6284
+ arr[i] = a[i];
6285
+ }
6286
+ for (var j = 0; j < b.length; j += 1) {
6287
+ arr[j + a.length] = b[j];
6288
+ }
6289
+ return arr;
6290
+ };
6291
+ var slicy = function slicy2(arrLike, offset) {
6292
+ var arr = [];
6293
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
6294
+ arr[j] = arrLike[i];
6299
6295
  }
6300
- }
6301
- return str;
6302
- };
6303
- var implementation$1 = function bind(that) {
6304
- var target = this;
6305
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
6306
- throw new TypeError(ERROR_MESSAGE + target);
6307
- }
6308
- var args = slicy(arguments, 1);
6309
- var bound;
6310
- var binder = function() {
6311
- if (this instanceof bound) {
6312
- var result = target.apply(
6313
- this,
6314
- concatty(args, arguments)
6315
- );
6316
- if (Object(result) === result) {
6317
- return result;
6296
+ return arr;
6297
+ };
6298
+ var joiny = function(arr, joiner) {
6299
+ var str = "";
6300
+ for (var i = 0; i < arr.length; i += 1) {
6301
+ str += arr[i];
6302
+ if (i + 1 < arr.length) {
6303
+ str += joiner;
6318
6304
  }
6319
- return this;
6320
6305
  }
6321
- return target.apply(
6322
- that,
6323
- concatty(args, arguments)
6324
- );
6306
+ return str;
6325
6307
  };
6326
- var boundLength = max$1(0, target.length - args.length);
6327
- var boundArgs = [];
6328
- for (var i = 0; i < boundLength; i++) {
6329
- boundArgs[i] = "$" + i;
6330
- }
6331
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
6332
- if (target.prototype) {
6333
- var Empty = function Empty2() {
6308
+ implementation = function bind2(that) {
6309
+ var target = this;
6310
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
6311
+ throw new TypeError(ERROR_MESSAGE + target);
6312
+ }
6313
+ var args = slicy(arguments, 1);
6314
+ var bound;
6315
+ var binder = function() {
6316
+ if (this instanceof bound) {
6317
+ var result = target.apply(
6318
+ this,
6319
+ concatty(args, arguments)
6320
+ );
6321
+ if (Object(result) === result) {
6322
+ return result;
6323
+ }
6324
+ return this;
6325
+ }
6326
+ return target.apply(
6327
+ that,
6328
+ concatty(args, arguments)
6329
+ );
6334
6330
  };
6335
- Empty.prototype = target.prototype;
6336
- bound.prototype = new Empty();
6337
- Empty.prototype = null;
6338
- }
6339
- return bound;
6340
- };
6341
- var implementation = implementation$1;
6342
- var functionBind = Function.prototype.bind || implementation;
6343
- var functionCall = Function.prototype.call;
6331
+ var boundLength = max2(0, target.length - args.length);
6332
+ var boundArgs = [];
6333
+ for (var i = 0; i < boundLength; i++) {
6334
+ boundArgs[i] = "$" + i;
6335
+ }
6336
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
6337
+ if (target.prototype) {
6338
+ var Empty = function Empty2() {
6339
+ };
6340
+ Empty.prototype = target.prototype;
6341
+ bound.prototype = new Empty();
6342
+ Empty.prototype = null;
6343
+ }
6344
+ return bound;
6345
+ };
6346
+ return implementation;
6347
+ }
6348
+ var functionBind;
6349
+ var hasRequiredFunctionBind;
6350
+ function requireFunctionBind() {
6351
+ if (hasRequiredFunctionBind) return functionBind;
6352
+ hasRequiredFunctionBind = 1;
6353
+ var implementation2 = requireImplementation();
6354
+ functionBind = Function.prototype.bind || implementation2;
6355
+ return functionBind;
6356
+ }
6357
+ var functionCall;
6358
+ var hasRequiredFunctionCall;
6359
+ function requireFunctionCall() {
6360
+ if (hasRequiredFunctionCall) return functionCall;
6361
+ hasRequiredFunctionCall = 1;
6362
+ functionCall = Function.prototype.call;
6363
+ return functionCall;
6364
+ }
6344
6365
  var functionApply;
6345
6366
  var hasRequiredFunctionApply;
6346
6367
  function requireFunctionApply() {
@@ -6350,14 +6371,14 @@ function requireFunctionApply() {
6350
6371
  return functionApply;
6351
6372
  }
6352
6373
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
6353
- var bind$2 = functionBind;
6374
+ var bind$2 = requireFunctionBind();
6354
6375
  var $apply$1 = requireFunctionApply();
6355
- var $call$2 = functionCall;
6376
+ var $call$2 = requireFunctionCall();
6356
6377
  var $reflectApply = reflectApply;
6357
6378
  var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
6358
- var bind$1 = functionBind;
6379
+ var bind$1 = requireFunctionBind();
6359
6380
  var $TypeError$4 = type;
6360
- var $call$1 = functionCall;
6381
+ var $call$1 = requireFunctionCall();
6361
6382
  var $actualApply = actualApply;
6362
6383
  var callBindApplyHelpers = function callBindBasic(args) {
6363
6384
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -6423,8 +6444,8 @@ function requireHasown() {
6423
6444
  hasRequiredHasown = 1;
6424
6445
  var call = Function.prototype.call;
6425
6446
  var $hasOwn = Object.prototype.hasOwnProperty;
6426
- var bind3 = functionBind;
6427
- hasown = bind3.call(call, $hasOwn);
6447
+ var bind2 = requireFunctionBind();
6448
+ hasown = bind2.call(call, $hasOwn);
6428
6449
  return hasown;
6429
6450
  }
6430
6451
  var undefined$1;
@@ -6438,7 +6459,7 @@ var $TypeError$3 = type;
6438
6459
  var $URIError = uri;
6439
6460
  var abs = abs$1;
6440
6461
  var floor = floor$1;
6441
- var max = max$2;
6462
+ var max = max$1;
6442
6463
  var min = min$1;
6443
6464
  var pow = pow$1;
6444
6465
  var round = round$1;
@@ -6472,7 +6493,7 @@ var getProto = requireGetProto();
6472
6493
  var $ObjectGPO = requireObject_getPrototypeOf();
6473
6494
  var $ReflectGPO = requireReflect_getPrototypeOf();
6474
6495
  var $apply = requireFunctionApply();
6475
- var $call = functionCall;
6496
+ var $call = requireFunctionCall();
6476
6497
  var needsEval = {};
6477
6498
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
6478
6499
  var INTRINSICS = {
@@ -6642,13 +6663,13 @@ var LEGACY_ALIASES = {
6642
6663
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
6643
6664
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
6644
6665
  };
6645
- var bind2 = functionBind;
6666
+ var bind = requireFunctionBind();
6646
6667
  var hasOwn = requireHasown();
6647
- var $concat = bind2.call($call, Array.prototype.concat);
6648
- var $spliceApply = bind2.call($apply, Array.prototype.splice);
6649
- var $replace = bind2.call($call, String.prototype.replace);
6650
- var $strSlice = bind2.call($call, String.prototype.slice);
6651
- var $exec = bind2.call($call, RegExp.prototype.exec);
6668
+ var $concat = bind.call($call, Array.prototype.concat);
6669
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
6670
+ var $replace = bind.call($call, String.prototype.replace);
6671
+ var $strSlice = bind.call($call, String.prototype.slice);
6672
+ var $exec = bind.call($call, RegExp.prototype.exec);
6652
6673
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
6653
6674
  var reEscapeChar = /\\(\\)?/g;
6654
6675
  var stringToPath = function stringToPath2(string) {
@@ -1,8 +1,8 @@
1
1
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
- import { a0 as Alert, e as Button, f as ForwardRef$4x, B as Box, a1 as ForwardRef$1f, F as Flex, T as Typography, Y as Grid, m as Field, a2 as MultiSelect, a3 as MultiSelectOption, a4 as Accordion, a5 as SwitchImpl, a6 as Toggle, a7 as ForwardRef$59 } from "./index-Bx2boY6h.mjs";
2
+ import { a1 as Alert, e as Button, f as ForwardRef$4x, B as Box, a2 as ForwardRef$1f, F as Flex, T as Typography, Z as Grid, m as Field, a3 as MultiSelect, a4 as MultiSelectOption, a5 as Accordion, a6 as SwitchImpl, a7 as Toggle, a8 as ForwardRef$59 } from "./index-Ct7A5TFY.mjs";
3
3
  import { useTracking, useNotification, Page, Layouts, Form } from "@strapi/strapi/admin";
4
4
  import { useMutation, useQuery, useQueryClient, QueryClient } from "@tanstack/react-query";
5
- import { u as useAPI, f as CommonProviders, a as usePermissions, g as getMessage, l as lodashExports, e as ConfirmationDialog } from "./index-CIqMAf50.mjs";
5
+ import { u as useAPI, f as CommonProviders, a as usePermissions, g as getMessage, l as lodashExports, e as ConfirmationDialog } from "./index-CIBI9Is6.mjs";
6
6
  import { useMemo, useRef, useState, useCallback } from "react";
7
7
  import styled from "styled-components";
8
8
  const RenderIf = ({
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
- const index = require("./index-B-ygLKrb.js");
3
+ const index = require("./index-7Geqfcar.js");
4
4
  const reactQuery = require("@tanstack/react-query");
5
5
  const React = require("react");
6
6
  const admin = require("@strapi/strapi/admin");