strapi-plugin-comments 3.0.9 → 3.0.11

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 (30) hide show
  1. package/README.md +3 -1
  2. package/dist/_chunks/fr-Bh0tVDIQ.js +1 -0
  3. package/dist/_chunks/{fr-Dx7zbWW0.mjs → fr-n-k7Rsq9.mjs} +105 -56
  4. package/dist/_chunks/{index-DiQHdq_2.js → index-670UMREc.js} +1 -1
  5. package/dist/_chunks/{index-Bi2NddA5.mjs → index-BcTMW0bl.mjs} +9080 -8884
  6. package/dist/_chunks/index-BgxJUAmG.js +2238 -0
  7. package/dist/_chunks/{index-B8Jogmi4.mjs → index-CFRFtK93.mjs} +328 -331
  8. package/dist/_chunks/{index-gJOowHIB.js → index-CLWGT_vP.js} +44 -44
  9. package/dist/_chunks/{index-BbHOeszY.mjs → index-DexwEcn3.mjs} +8017 -7982
  10. package/dist/_chunks/{index-Bfn0RC18.js → index-QMZY5BnX.js} +5 -5
  11. package/dist/_chunks/{index-D56DrIq3.mjs → index-tUit0Fx4.mjs} +2 -2
  12. package/dist/admin/index.js +1 -1
  13. package/dist/admin/index.mjs +1 -1
  14. package/dist/admin/src/api/schemas.d.ts +16 -16
  15. package/dist/admin/src/components/ActionButton/index.d.ts +4 -2
  16. package/dist/admin/src/components/DiscussionThreadItem/DiscussionThreadItemFooter.d.ts +1 -1
  17. package/dist/admin/src/components/DiscussionThreadItem/index.d.ts +2 -2
  18. package/dist/admin/src/components/IconButtonGroup/index.d.ts +5 -2
  19. package/dist/admin/src/components/StatusBadge/index.d.ts +1 -1
  20. package/dist/admin/src/components/Wysiwyg/EditorLayout.d.ts +1 -1
  21. package/dist/admin/src/components/Wysiwyg/WysiwygStyles.d.ts +4 -4
  22. package/dist/admin/src/translations/fr.d.ts +50 -0
  23. package/dist/server/index.js +26 -26
  24. package/dist/server/index.mjs +1357 -1353
  25. package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +6 -10
  26. package/dist/server/src/validators/repositories/comment.validator.d.ts +57 -57
  27. package/dist/server/src/validators/utils.d.ts +8 -8
  28. package/package.json +14 -14
  29. package/dist/_chunks/fr-BIrOYxvf.js +0 -1
  30. package/dist/_chunks/index-BNZz69rC.js +0 -2175
@@ -1,20 +1,20 @@
1
1
  import { jsx as _, jsxs as Ae } from "react/jsx-runtime";
2
- import { ab as tn, ac as $r, l as wr, ad as nn, ae as it, af as an, ag as ee, ah as Rr, ai as lt, p as on, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-Bi2NddA5.mjs";
3
- import { useQuery as fn, QueryClientProvider as sn, QueryClient as pn } from "@tanstack/react-query";
2
+ import { ab as rn, ac as $r, l as wr, ad as tn, ae as nn, af as ee, ag as Rr, ah as it, p as an, ai as V, F as on, aj as ln, T as un, e as Cr } from "./index-BcTMW0bl.mjs";
3
+ import { useQuery as cn, QueryClientProvider as fn, QueryClient as sn } from "@tanstack/react-query";
4
4
  import * as oe from "react";
5
- import { useMemo as ut, createContext as yn, useState as Tr } from "react";
6
- import { getFetchClient as dn, useRBAC as mn } from "@strapi/strapi/admin";
5
+ import { useMemo as lt, createContext as pn, useState as Tr } from "react";
6
+ import { getFetchClient as yn, useRBAC as dn } from "@strapi/strapi/admin";
7
7
  import { z as o } from "zod";
8
8
  var ce = TypeError;
9
- const vn = {}, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
+ const mn = {}, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
10
  __proto__: null,
11
- default: vn
12
- }, Symbol.toStringTag, { value: "Module" })), hn = /* @__PURE__ */ tn(gn);
13
- var dr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && dr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = dr && Le && typeof Le.get == "function" ? Le.get : null, _r = dr && Map.prototype.forEach, mr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ce = mr && Be && typeof Be.get == "function" ? Be.get : null, Ir = mr && Set.prototype.forEach, Sn = typeof WeakMap == "function" && WeakMap.prototype, se = Sn ? WeakMap.prototype.has : null, bn = typeof WeakSet == "function" && WeakSet.prototype, pe = bn ? WeakSet.prototype.has : null, An = typeof WeakRef == "function" && WeakRef.prototype, Nr = An ? WeakRef.prototype.deref : null, En = Boolean.prototype.valueOf, On = Object.prototype.toString, Pn = Function.prototype.toString, $n = String.prototype.match, vr = String.prototype.slice, H = String.prototype.replace, wn = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ct = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Rn = Array.prototype.slice, Mr = Math.floor, ar = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ie = typeof Symbol == "function" && typeof Symbol.iterator == "object", ye = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ie || !0) ? Symbol.toStringTag : null, ft = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
11
+ default: mn
12
+ }, Symbol.toStringTag, { value: "Module" })), gn = /* @__PURE__ */ rn(vn);
13
+ var dr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && dr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = dr && Le && typeof Le.get == "function" ? Le.get : null, _r = dr && Map.prototype.forEach, mr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ce = mr && Be && typeof Be.get == "function" ? Be.get : null, Ir = mr && Set.prototype.forEach, hn = typeof WeakMap == "function" && WeakMap.prototype, se = hn ? WeakMap.prototype.has : null, Sn = typeof WeakSet == "function" && WeakSet.prototype, pe = Sn ? WeakSet.prototype.has : null, bn = typeof WeakRef == "function" && WeakRef.prototype, Nr = bn ? WeakRef.prototype.deref : null, An = Boolean.prototype.valueOf, En = Object.prototype.toString, On = Function.prototype.toString, Pn = String.prototype.match, vr = String.prototype.slice, H = String.prototype.replace, $n = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ut = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, wn = Array.prototype.slice, Mr = Math.floor, ar = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ie = typeof Symbol == "function" && typeof Symbol.iterator == "object", ye = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ie || !0) ? Symbol.toStringTag : null, ct = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
14
14
  return r.__proto__;
15
15
  } : null);
16
16
  function Lr(r, e) {
17
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || ct.call(/e/, e))
17
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || ut.call(/e/, e))
18
18
  return e;
19
19
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
20
20
  if (typeof r == "number") {
@@ -26,17 +26,17 @@ function Lr(r, e) {
26
26
  }
27
27
  return H.call(e, t, "$&_");
28
28
  }
29
- var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
29
+ var ir = gn, Br = ir.custom, Ur = pt(Br) ? Br : null, ft = {
30
30
  __proto__: null,
31
31
  double: '"',
32
32
  single: "'"
33
- }, Cn = {
33
+ }, Rn = {
34
34
  __proto__: null,
35
35
  double: /(["\\])/g,
36
36
  single: /(['\\])/g
37
37
  }, Ne = function r(e, t, n, a) {
38
38
  var i = t || {};
39
- if (U(i, "quoteStyle") && !U(st, i.quoteStyle))
39
+ if (U(i, "quoteStyle") && !U(ft, i.quoteStyle))
40
40
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
41
41
  if (U(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
42
42
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
@@ -55,7 +55,7 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
55
55
  if (typeof e == "boolean")
56
56
  return e ? "true" : "false";
57
57
  if (typeof e == "string")
58
- return mt(e, i);
58
+ return dt(e, i);
59
59
  if (typeof e == "number") {
60
60
  if (e === 0)
61
61
  return 1 / 0 / e > 0 ? "0" : "-0";
@@ -69,13 +69,13 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
69
69
  var p = typeof i.depth > "u" ? 5 : i.depth;
70
70
  if (typeof n > "u" && (n = 0), n >= p && p > 0 && typeof e == "object")
71
71
  return lr(e) ? "[Array]" : "[Object]";
72
- var y = zn(i, n);
72
+ var y = Vn(i, n);
73
73
  if (typeof a > "u")
74
74
  a = [];
75
- else if (dt(a, e) >= 0)
75
+ else if (yt(a, e) >= 0)
76
76
  return "[Circular]";
77
77
  function m(x, G, Z) {
78
- if (G && (a = Rn.call(a), a.push(G)), Z) {
78
+ if (G && (a = wn.call(a), a.push(G)), Z) {
79
79
  var j = {
80
80
  depth: i.depth
81
81
  };
@@ -84,27 +84,27 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
84
84
  return r(x, i, n + 1, a);
85
85
  }
86
86
  if (typeof e == "function" && !qr(e)) {
87
- var h = Ln(e), v = Ee(e, m);
87
+ var h = Dn(e), v = Ee(e, m);
88
88
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + L.call(v, ", ") + " }" : "");
89
89
  }
90
- if (yt(e)) {
90
+ if (pt(e)) {
91
91
  var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(e);
92
92
  return typeof e == "object" && !ie ? fe(P) : P;
93
93
  }
94
- if (Gn(e)) {
94
+ if (kn(e)) {
95
95
  for (var C = "<" + xr.call(String(e.nodeName)), g = e.attributes || [], I = 0; I < g.length; I++)
96
- C += " " + g[I].name + "=" + pt(Tn(g[I].value), "double", i);
96
+ C += " " + g[I].name + "=" + st(Cn(g[I].value), "double", i);
97
97
  return C += ">", e.childNodes && e.childNodes.length && (C += "..."), C += "</" + xr.call(String(e.nodeName)) + ">", C;
98
98
  }
99
99
  if (lr(e)) {
100
100
  if (e.length === 0)
101
101
  return "[]";
102
102
  var O = Ee(e, m);
103
- return y && !Vn(O) ? "[" + ur(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
103
+ return y && !jn(O) ? "[" + ur(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
104
104
  }
105
- if (In(e)) {
105
+ if (_n(e)) {
106
106
  var $ = Ee(e, m);
107
- return !("cause" in Error.prototype) && "cause" in e && !ft.call(e, "cause") ? "{ [" + String(e) + "] " + L.call(Fr.call("[cause]: " + m(e.cause), $), ", ") + " }" : $.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + L.call($, ", ") + " }";
107
+ return !("cause" in Error.prototype) && "cause" in e && !ct.call(e, "cause") ? "{ [" + String(e) + "] " + L.call(Fr.call("[cause]: " + m(e.cause), $), ", ") + " }" : $.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + L.call($, ", ") + " }";
108
108
  }
109
109
  if (typeof e == "object" && c) {
110
110
  if (Ur && typeof e[Ur] == "function" && ir)
@@ -112,47 +112,47 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
112
112
  if (c !== "symbol" && typeof e.inspect == "function")
113
113
  return e.inspect();
114
114
  }
115
- if (Bn(e)) {
115
+ if (Ln(e)) {
116
116
  var s = [];
117
117
  return _r && _r.call(e, function(x, G) {
118
118
  s.push(m(G, e, !0) + " => " + m(x, e));
119
119
  }), Wr("Map", Re.call(e), s, y);
120
120
  }
121
- if (Wn(e)) {
121
+ if (qn(e)) {
122
122
  var F = [];
123
123
  return Ir && Ir.call(e, function(x) {
124
124
  F.push(m(x, e));
125
125
  }), Wr("Set", Ce.call(e), F, y);
126
126
  }
127
- if (Un(e))
127
+ if (Bn(e))
128
128
  return qe("WeakMap");
129
- if (kn(e))
129
+ if (Wn(e))
130
130
  return qe("WeakSet");
131
- if (qn(e))
131
+ if (Un(e))
132
132
  return qe("WeakRef");
133
- if (xn(e))
133
+ if (Nn(e))
134
134
  return fe(m(Number(e)));
135
- if (Mn(e))
136
- return fe(m(ar.call(e)));
137
135
  if (Fn(e))
138
- return fe(En.call(e));
139
- if (Nn(e))
136
+ return fe(m(ar.call(e)));
137
+ if (xn(e))
138
+ return fe(An.call(e));
139
+ if (In(e))
140
140
  return fe(m(String(e)));
141
141
  if (typeof window < "u" && e === window)
142
142
  return "{ [object Window] }";
143
143
  if (typeof globalThis < "u" && e === globalThis || typeof $r < "u" && e === $r)
144
144
  return "{ [object globalThis] }";
145
- if (!_n(e) && !qr(e)) {
145
+ if (!Tn(e) && !qr(e)) {
146
146
  var B = Ee(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", k = !M && ye && Object(e) === e && ye in e ? vr.call(Y(e), 8, -1) : W ? "Object" : "", K = M || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = K + (k || W ? "[" + L.call(Fr.call([], k || [], W || []), ": ") + "] " : "");
147
147
  return B.length === 0 ? N + "{}" : y ? N + "{" + ur(B, y) + "}" : N + "{ " + L.call(B, ", ") + " }";
148
148
  }
149
149
  return String(e);
150
150
  };
151
- function pt(r, e, t) {
152
- var n = t.quoteStyle || e, a = st[n];
151
+ function st(r, e, t) {
152
+ var n = t.quoteStyle || e, a = ft[n];
153
153
  return a + r + a;
154
154
  }
155
- function Tn(r) {
155
+ function Cn(r) {
156
156
  return H.call(String(r), /"/g, "&quot;");
157
157
  }
158
158
  function X(r) {
@@ -161,25 +161,25 @@ function X(r) {
161
161
  function lr(r) {
162
162
  return Y(r) === "[object Array]" && X(r);
163
163
  }
164
- function _n(r) {
164
+ function Tn(r) {
165
165
  return Y(r) === "[object Date]" && X(r);
166
166
  }
167
167
  function qr(r) {
168
168
  return Y(r) === "[object RegExp]" && X(r);
169
169
  }
170
- function In(r) {
170
+ function _n(r) {
171
171
  return Y(r) === "[object Error]" && X(r);
172
172
  }
173
- function Nn(r) {
173
+ function In(r) {
174
174
  return Y(r) === "[object String]" && X(r);
175
175
  }
176
- function xn(r) {
176
+ function Nn(r) {
177
177
  return Y(r) === "[object Number]" && X(r);
178
178
  }
179
- function Fn(r) {
179
+ function xn(r) {
180
180
  return Y(r) === "[object Boolean]" && X(r);
181
181
  }
182
- function yt(r) {
182
+ function pt(r) {
183
183
  if (ie)
184
184
  return r && typeof r == "object" && r instanceof Symbol;
185
185
  if (typeof r == "symbol")
@@ -192,7 +192,7 @@ function yt(r) {
192
192
  }
193
193
  return !1;
194
194
  }
195
- function Mn(r) {
195
+ function Fn(r) {
196
196
  if (!r || typeof r != "object" || !ar)
197
197
  return !1;
198
198
  try {
@@ -201,22 +201,22 @@ function Mn(r) {
201
201
  }
202
202
  return !1;
203
203
  }
204
- var Dn = Object.prototype.hasOwnProperty || function(r) {
204
+ var Mn = Object.prototype.hasOwnProperty || function(r) {
205
205
  return r in this;
206
206
  };
207
207
  function U(r, e) {
208
- return Dn.call(r, e);
208
+ return Mn.call(r, e);
209
209
  }
210
210
  function Y(r) {
211
- return On.call(r);
211
+ return En.call(r);
212
212
  }
213
- function Ln(r) {
213
+ function Dn(r) {
214
214
  if (r.name)
215
215
  return r.name;
216
- var e = $n.call(Pn.call(r), /^function\s*([\w$]+)/);
216
+ var e = Pn.call(On.call(r), /^function\s*([\w$]+)/);
217
217
  return e ? e[1] : null;
218
218
  }
219
- function dt(r, e) {
219
+ function yt(r, e) {
220
220
  if (r.indexOf)
221
221
  return r.indexOf(e);
222
222
  for (var t = 0, n = r.length; t < n; t++)
@@ -224,7 +224,7 @@ function dt(r, e) {
224
224
  return t;
225
225
  return -1;
226
226
  }
227
- function Bn(r) {
227
+ function Ln(r) {
228
228
  if (!Re || !r || typeof r != "object")
229
229
  return !1;
230
230
  try {
@@ -239,7 +239,7 @@ function Bn(r) {
239
239
  }
240
240
  return !1;
241
241
  }
242
- function Un(r) {
242
+ function Bn(r) {
243
243
  if (!se || !r || typeof r != "object")
244
244
  return !1;
245
245
  try {
@@ -254,7 +254,7 @@ function Un(r) {
254
254
  }
255
255
  return !1;
256
256
  }
257
- function qn(r) {
257
+ function Un(r) {
258
258
  if (!Nr || !r || typeof r != "object")
259
259
  return !1;
260
260
  try {
@@ -263,7 +263,7 @@ function qn(r) {
263
263
  }
264
264
  return !1;
265
265
  }
266
- function Wn(r) {
266
+ function qn(r) {
267
267
  if (!Ce || !r || typeof r != "object")
268
268
  return !1;
269
269
  try {
@@ -278,7 +278,7 @@ function Wn(r) {
278
278
  }
279
279
  return !1;
280
280
  }
281
- function kn(r) {
281
+ function Wn(r) {
282
282
  if (!pe || !r || typeof r != "object")
283
283
  return !1;
284
284
  try {
@@ -293,20 +293,20 @@ function kn(r) {
293
293
  }
294
294
  return !1;
295
295
  }
296
- function Gn(r) {
296
+ function kn(r) {
297
297
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
298
298
  }
299
- function mt(r, e) {
299
+ function dt(r, e) {
300
300
  if (r.length > e.maxStringLength) {
301
301
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
302
- return mt(vr.call(r, 0, e.maxStringLength), e) + n;
302
+ return dt(vr.call(r, 0, e.maxStringLength), e) + n;
303
303
  }
304
- var a = Cn[e.quoteStyle || "single"];
304
+ var a = Rn[e.quoteStyle || "single"];
305
305
  a.lastIndex = 0;
306
- var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, jn);
307
- return pt(i, "single", e);
306
+ var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, Gn);
307
+ return st(i, "single", e);
308
308
  }
309
- function jn(r) {
309
+ function Gn(r) {
310
310
  var e = r.charCodeAt(0), t = {
311
311
  8: "b",
312
312
  9: "t",
@@ -314,7 +314,7 @@ function jn(r) {
314
314
  12: "f",
315
315
  13: "r"
316
316
  }[e];
317
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + wn.call(e.toString(16));
317
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + $n.call(e.toString(16));
318
318
  }
319
319
  function fe(r) {
320
320
  return "Object(" + r + ")";
@@ -326,14 +326,14 @@ function Wr(r, e, t, n) {
326
326
  var a = n ? ur(t, n) : L.call(t, ", ");
327
327
  return r + " (" + e + ") {" + a + "}";
328
328
  }
329
- function Vn(r) {
329
+ function jn(r) {
330
330
  for (var e = 0; e < r.length; e++)
331
- if (dt(r[e], `
331
+ if (yt(r[e], `
332
332
  `) >= 0)
333
333
  return !1;
334
334
  return !0;
335
335
  }
336
- function zn(r, e) {
336
+ function Vn(r, e) {
337
337
  var t;
338
338
  if (r.indent === " ")
339
339
  t = " ";
@@ -368,23 +368,23 @@ function Ee(r, e) {
368
368
  c["$" + i[l]] = i[l];
369
369
  }
370
370
  for (var f in r)
371
- U(r, f) && (t && String(Number(f)) === f && f < r.length || ie && c["$" + f] instanceof Symbol || (ct.call(/[^\w$]/, f) ? n.push(e(f, r) + ": " + e(r[f], r)) : n.push(f + ": " + e(r[f], r))));
371
+ U(r, f) && (t && String(Number(f)) === f && f < r.length || ie && c["$" + f] instanceof Symbol || (ut.call(/[^\w$]/, f) ? n.push(e(f, r) + ": " + e(r[f], r)) : n.push(f + ": " + e(r[f], r))));
372
372
  if (typeof Ue == "function")
373
373
  for (var u = 0; u < i.length; u++)
374
- ft.call(r, i[u]) && n.push("[" + e(i[u]) + "]: " + e(r[i[u]], r));
374
+ ct.call(r, i[u]) && n.push("[" + e(i[u]) + "]: " + e(r[i[u]], r));
375
375
  return n;
376
376
  }
377
- var Hn = Ne, Yn = ce, xe = function(r, e, t) {
377
+ var zn = Ne, Hn = ce, xe = function(r, e, t) {
378
378
  for (var n = r, a; (a = n.next) != null; n = a)
379
379
  if (a.key === e)
380
380
  return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
381
381
  r.next, r.next = a), a;
382
- }, Kn = function(r, e) {
382
+ }, Yn = function(r, e) {
383
383
  if (r) {
384
384
  var t = xe(r, e);
385
385
  return t && t.value;
386
386
  }
387
- }, Qn = function(r, e, t) {
387
+ }, Kn = function(r, e, t) {
388
388
  var n = xe(r, e);
389
389
  n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
390
390
  {
@@ -393,31 +393,31 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
393
393
  next: r.next,
394
394
  value: t
395
395
  };
396
- }, Jn = function(r, e) {
396
+ }, Qn = function(r, e) {
397
397
  return r ? !!xe(r, e) : !1;
398
- }, Xn = function(r, e) {
398
+ }, Jn = function(r, e) {
399
399
  if (r)
400
400
  return xe(r, e, !0);
401
- }, Zn = function() {
401
+ }, Xn = function() {
402
402
  var e, t = {
403
403
  assert: function(n) {
404
404
  if (!t.has(n))
405
- throw new Yn("Side channel does not contain " + Hn(n));
405
+ throw new Hn("Side channel does not contain " + zn(n));
406
406
  },
407
407
  delete: function(n) {
408
- var a = e && e.next, i = Xn(e, n);
408
+ var a = e && e.next, i = Jn(e, n);
409
409
  return i && a && a === i && (e = void 0), !!i;
410
410
  },
411
411
  get: function(n) {
412
- return Kn(e, n);
412
+ return Yn(e, n);
413
413
  },
414
414
  has: function(n) {
415
- return Jn(e, n);
415
+ return Qn(e, n);
416
416
  },
417
417
  set: function(n, a) {
418
418
  e || (e = {
419
419
  next: void 0
420
- }), Qn(
420
+ }), Kn(
421
421
  /** @type {NonNullable<typeof $o>} */
422
422
  e,
423
423
  n,
@@ -426,26 +426,26 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
426
426
  }
427
427
  };
428
428
  return t;
429
- }, vt = Object, ea = Error, ra = EvalError, ta = RangeError, na = ReferenceError, aa = SyntaxError, oa = URIError, ia = Math.abs, la = Math.floor, ua = Math.max, ca = Math.min, fa = Math.pow, sa = Math.round, pa = Number.isNaN || function(e) {
429
+ }, mt = Object, Zn = Error, ea = EvalError, ra = RangeError, ta = ReferenceError, na = SyntaxError, aa = URIError, oa = Math.abs, ia = Math.floor, la = Math.max, ua = Math.min, ca = Math.pow, fa = Math.round, sa = Number.isNaN || function(e) {
430
430
  return e !== e;
431
- }, ya = pa, da = function(e) {
432
- return ya(e) || e === 0 ? e : e < 0 ? -1 : 1;
433
- }, ma = Object.getOwnPropertyDescriptor, Pe = ma;
431
+ }, pa = sa, ya = function(e) {
432
+ return pa(e) || e === 0 ? e : e < 0 ? -1 : 1;
433
+ }, da = Object.getOwnPropertyDescriptor, Pe = da;
434
434
  if (Pe)
435
435
  try {
436
436
  Pe([], "length");
437
437
  } catch {
438
438
  Pe = null;
439
439
  }
440
- var gt = Pe, $e = Object.defineProperty || !1;
440
+ var vt = Pe, $e = Object.defineProperty || !1;
441
441
  if ($e)
442
442
  try {
443
443
  $e({}, "a", { value: 1 });
444
444
  } catch {
445
445
  $e = !1;
446
446
  }
447
- var va = $e, We, kr;
448
- function ga() {
447
+ var ma = $e, We, kr;
448
+ function va() {
449
449
  return kr || (kr = 1, We = function() {
450
450
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
451
451
  return !1;
@@ -475,27 +475,27 @@ function ga() {
475
475
  }), We;
476
476
  }
477
477
  var ke, Gr;
478
- function ha() {
478
+ function ga() {
479
479
  if (Gr) return ke;
480
480
  Gr = 1;
481
- var r = typeof Symbol < "u" && Symbol, e = ga();
481
+ var r = typeof Symbol < "u" && Symbol, e = va();
482
482
  return ke = function() {
483
483
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
484
484
  }, ke;
485
485
  }
486
486
  var Ge, jr;
487
- function ht() {
487
+ function gt() {
488
488
  return jr || (jr = 1, Ge = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ge;
489
489
  }
490
490
  var je, Vr;
491
- function St() {
491
+ function ht() {
492
492
  if (Vr) return je;
493
493
  Vr = 1;
494
- var r = vt;
494
+ var r = mt;
495
495
  return je = r.getPrototypeOf || null, je;
496
496
  }
497
497
  var Ve, zr;
498
- function Sa() {
498
+ function ha() {
499
499
  if (zr) return Ve;
500
500
  zr = 1;
501
501
  var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", a = function(f, u) {
@@ -543,7 +543,7 @@ var ze, Hr;
543
543
  function Fe() {
544
544
  if (Hr) return ze;
545
545
  Hr = 1;
546
- var r = Sa();
546
+ var r = ha();
547
547
  return ze = Function.prototype.bind || r, ze;
548
548
  }
549
549
  var He, Yr;
@@ -551,18 +551,18 @@ function gr() {
551
551
  return Yr || (Yr = 1, He = Function.prototype.call), He;
552
552
  }
553
553
  var Ye, Kr;
554
- function bt() {
554
+ function St() {
555
555
  return Kr || (Kr = 1, Ye = Function.prototype.apply), Ye;
556
556
  }
557
- var ba = typeof Reflect < "u" && Reflect && Reflect.apply, Aa = Fe(), Ea = bt(), Oa = gr(), Pa = ba, $a = Pa || Aa.call(Oa, Ea), wa = Fe(), Ra = ce, Ca = gr(), Ta = $a, At = function(e) {
557
+ var Sa = typeof Reflect < "u" && Reflect && Reflect.apply, ba = Fe(), Aa = St(), Ea = gr(), Oa = Sa, Pa = Oa || ba.call(Ea, Aa), $a = Fe(), wa = ce, Ra = gr(), Ca = Pa, bt = function(e) {
558
558
  if (e.length < 1 || typeof e[0] != "function")
559
- throw new Ra("a function is required");
560
- return Ta(wa, Ca, e);
559
+ throw new wa("a function is required");
560
+ return Ca($a, Ra, e);
561
561
  }, Ke, Qr;
562
- function _a() {
562
+ function Ta() {
563
563
  if (Qr) return Ke;
564
564
  Qr = 1;
565
- var r = At, e = gt, t;
565
+ var r = bt, e = vt, t;
566
566
  try {
567
567
  t = /** @type {{ __proto__?: typeof Array.prototype }} */
568
568
  [].__proto__ === Array.prototype;
@@ -583,10 +583,10 @@ function _a() {
583
583
  ) : !1, Ke;
584
584
  }
585
585
  var Qe, Jr;
586
- function Ia() {
586
+ function _a() {
587
587
  if (Jr) return Qe;
588
588
  Jr = 1;
589
- var r = ht(), e = St(), t = _a();
589
+ var r = gt(), e = ht(), t = Ta();
590
590
  return Qe = r ? function(a) {
591
591
  return r(a);
592
592
  } : e ? function(a) {
@@ -598,20 +598,20 @@ function Ia() {
598
598
  } : null, Qe;
599
599
  }
600
600
  var Je, Xr;
601
- function Na() {
601
+ function Ia() {
602
602
  if (Xr) return Je;
603
603
  Xr = 1;
604
604
  var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Fe();
605
605
  return Je = t.call(r, e), Je;
606
606
  }
607
- var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, Ua = ia, qa = la, Wa = ua, ka = ca, Ga = fa, ja = sa, Va = da, Et = Function, Xe = function(r) {
607
+ var S, Na = mt, xa = Zn, Fa = ea, Ma = ra, Da = ta, le = na, ae = ce, La = aa, Ba = oa, Ua = ia, qa = la, Wa = ua, ka = ca, Ga = fa, ja = ya, At = Function, Xe = function(r) {
608
608
  try {
609
- return Et('"use strict"; return (' + r + ").constructor;")();
609
+ return At('"use strict"; return (' + r + ").constructor;")();
610
610
  } catch {
611
611
  }
612
- }, me = gt, za = va, Ze = function() {
612
+ }, me = vt, Va = ma, Ze = function() {
613
613
  throw new ae();
614
- }, Ha = me ? function() {
614
+ }, za = me ? function() {
615
615
  try {
616
616
  return arguments.callee, Ze;
617
617
  } catch {
@@ -621,7 +621,7 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
621
621
  return Ze;
622
622
  }
623
623
  }
624
- }() : Ze, re = ha()(), R = Ia(), Ya = St(), Ka = ht(), Ot = bt(), ve = gr(), ne = {}, Qa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
624
+ }() : Ze, re = ga()(), R = _a(), Ha = ht(), Ya = gt(), Et = St(), ve = gr(), ne = {}, Ka = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
625
625
  __proto__: null,
626
626
  "%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
627
627
  "%Array%": Array,
@@ -643,15 +643,15 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
643
643
  "%decodeURIComponent%": decodeURIComponent,
644
644
  "%encodeURI%": encodeURI,
645
645
  "%encodeURIComponent%": encodeURIComponent,
646
- "%Error%": Fa,
646
+ "%Error%": xa,
647
647
  "%eval%": eval,
648
648
  // eslint-disable-line no-eval
649
- "%EvalError%": Ma,
649
+ "%EvalError%": Fa,
650
650
  "%Float16Array%": typeof Float16Array > "u" ? S : Float16Array,
651
651
  "%Float32Array%": typeof Float32Array > "u" ? S : Float32Array,
652
652
  "%Float64Array%": typeof Float64Array > "u" ? S : Float64Array,
653
653
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? S : FinalizationRegistry,
654
- "%Function%": Et,
654
+ "%Function%": At,
655
655
  "%GeneratorFunction%": ne,
656
656
  "%Int8Array%": typeof Int8Array > "u" ? S : Int8Array,
657
657
  "%Int16Array%": typeof Int16Array > "u" ? S : Int16Array,
@@ -664,14 +664,14 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
664
664
  "%MapIteratorPrototype%": typeof Map > "u" || !re || !R ? S : R((/* @__PURE__ */ new Map())[Symbol.iterator]()),
665
665
  "%Math%": Math,
666
666
  "%Number%": Number,
667
- "%Object%": xa,
667
+ "%Object%": Na,
668
668
  "%Object.getOwnPropertyDescriptor%": me,
669
669
  "%parseFloat%": parseFloat,
670
670
  "%parseInt%": parseInt,
671
671
  "%Promise%": typeof Promise > "u" ? S : Promise,
672
672
  "%Proxy%": typeof Proxy > "u" ? S : Proxy,
673
- "%RangeError%": Da,
674
- "%ReferenceError%": La,
673
+ "%RangeError%": Ma,
674
+ "%ReferenceError%": Da,
675
675
  "%Reflect%": typeof Reflect > "u" ? S : Reflect,
676
676
  "%RegExp%": RegExp,
677
677
  "%Set%": typeof Set > "u" ? S : Set,
@@ -681,38 +681,38 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
681
681
  "%StringIteratorPrototype%": re && R ? R(""[Symbol.iterator]()) : S,
682
682
  "%Symbol%": re ? Symbol : S,
683
683
  "%SyntaxError%": le,
684
- "%ThrowTypeError%": Ha,
685
- "%TypedArray%": Qa,
684
+ "%ThrowTypeError%": za,
685
+ "%TypedArray%": Ka,
686
686
  "%TypeError%": ae,
687
687
  "%Uint8Array%": typeof Uint8Array > "u" ? S : Uint8Array,
688
688
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? S : Uint8ClampedArray,
689
689
  "%Uint16Array%": typeof Uint16Array > "u" ? S : Uint16Array,
690
690
  "%Uint32Array%": typeof Uint32Array > "u" ? S : Uint32Array,
691
- "%URIError%": Ba,
691
+ "%URIError%": La,
692
692
  "%WeakMap%": typeof WeakMap > "u" ? S : WeakMap,
693
693
  "%WeakRef%": typeof WeakRef > "u" ? S : WeakRef,
694
694
  "%WeakSet%": typeof WeakSet > "u" ? S : WeakSet,
695
695
  "%Function.prototype.call%": ve,
696
- "%Function.prototype.apply%": Ot,
697
- "%Object.defineProperty%": za,
698
- "%Object.getPrototypeOf%": Ya,
699
- "%Math.abs%": Ua,
700
- "%Math.floor%": qa,
701
- "%Math.max%": Wa,
702
- "%Math.min%": ka,
703
- "%Math.pow%": Ga,
704
- "%Math.round%": ja,
705
- "%Math.sign%": Va,
706
- "%Reflect.getPrototypeOf%": Ka
696
+ "%Function.prototype.apply%": Et,
697
+ "%Object.defineProperty%": Va,
698
+ "%Object.getPrototypeOf%": Ha,
699
+ "%Math.abs%": Ba,
700
+ "%Math.floor%": Ua,
701
+ "%Math.max%": qa,
702
+ "%Math.min%": Wa,
703
+ "%Math.pow%": ka,
704
+ "%Math.round%": Ga,
705
+ "%Math.sign%": ja,
706
+ "%Reflect.getPrototypeOf%": Ya
707
707
  };
708
708
  if (R)
709
709
  try {
710
710
  null.error;
711
711
  } catch (r) {
712
- var Ja = R(R(r));
713
- J["%Error.prototype%"] = Ja;
712
+ var Qa = R(R(r));
713
+ J["%Error.prototype%"] = Qa;
714
714
  }
715
- var Xa = function r(e) {
715
+ var Ja = function r(e) {
716
716
  var t;
717
717
  if (e === "%AsyncFunction%")
718
718
  t = Xe("async function () {}");
@@ -781,21 +781,21 @@ var Xa = function r(e) {
781
781
  "%URIErrorPrototype%": ["URIError", "prototype"],
782
782
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
783
783
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
784
- }, ge = Fe(), Te = Na(), Za = ge.call(ve, Array.prototype.concat), eo = ge.call(Ot, Array.prototype.splice), et = ge.call(ve, String.prototype.replace), _e = ge.call(ve, String.prototype.slice), ro = ge.call(ve, RegExp.prototype.exec), to = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, no = /\\(\\)?/g, ao = function(e) {
784
+ }, ge = Fe(), Te = Ia(), Xa = ge.call(ve, Array.prototype.concat), Za = ge.call(Et, Array.prototype.splice), et = ge.call(ve, String.prototype.replace), _e = ge.call(ve, String.prototype.slice), eo = ge.call(ve, RegExp.prototype.exec), ro = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, to = /\\(\\)?/g, no = function(e) {
785
785
  var t = _e(e, 0, 1), n = _e(e, -1);
786
786
  if (t === "%" && n !== "%")
787
787
  throw new le("invalid intrinsic syntax, expected closing `%`");
788
788
  if (n === "%" && t !== "%")
789
789
  throw new le("invalid intrinsic syntax, expected opening `%`");
790
790
  var a = [];
791
- return et(e, to, function(i, c, l, f) {
792
- a[a.length] = l ? et(f, no, "$1") : c || i;
791
+ return et(e, ro, function(i, c, l, f) {
792
+ a[a.length] = l ? et(f, to, "$1") : c || i;
793
793
  }), a;
794
- }, oo = function(e, t) {
794
+ }, ao = function(e, t) {
795
795
  var n = e, a;
796
796
  if (Te(Zr, n) && (a = Zr[n], n = "%" + a[0] + "%"), Te(J, n)) {
797
797
  var i = J[n];
798
- if (i === ne && (i = Xa(n)), typeof i > "u" && !t)
798
+ if (i === ne && (i = Ja(n)), typeof i > "u" && !t)
799
799
  throw new ae("intrinsic " + e + " exists, but is not available. Please file an issue!");
800
800
  return {
801
801
  alias: a,
@@ -809,10 +809,10 @@ var Xa = function r(e) {
809
809
  throw new ae("intrinsic name must be a non-empty string");
810
810
  if (arguments.length > 1 && typeof t != "boolean")
811
811
  throw new ae('"allowMissing" argument must be a boolean');
812
- if (ro(/^%?[^%]*%?$/, e) === null)
812
+ if (eo(/^%?[^%]*%?$/, e) === null)
813
813
  throw new le("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
814
- var n = ao(e), a = n.length > 0 ? n[0] : "", i = oo("%" + a + "%", t), c = i.name, l = i.value, f = !1, u = i.alias;
815
- u && (a = u[0], eo(n, Za([0, 1], u)));
814
+ var n = no(e), a = n.length > 0 ? n[0] : "", i = ao("%" + a + "%", t), c = i.name, l = i.value, f = !1, u = i.alias;
815
+ u && (a = u[0], Za(n, Xa([0, 1], u)));
816
816
  for (var p = 1, y = !0; p < n.length; p += 1) {
817
817
  var m = n[p], h = _e(m, 0, 1), v = _e(m, -1);
818
818
  if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
@@ -834,74 +834,74 @@ var Xa = function r(e) {
834
834
  }
835
835
  }
836
836
  return l;
837
- }, Pt = hr, $t = At, io = $t([Pt("%String.prototype.indexOf%")]), wt = function(e, t) {
837
+ }, Ot = hr, Pt = bt, oo = Pt([Ot("%String.prototype.indexOf%")]), $t = function(e, t) {
838
838
  var n = (
839
839
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
840
- Pt(e, !!t)
840
+ Ot(e, !!t)
841
841
  );
842
- return typeof n == "function" && io(e, ".prototype.") > -1 ? $t(
842
+ return typeof n == "function" && oo(e, ".prototype.") > -1 ? Pt(
843
843
  /** @type {const} */
844
844
  [n]
845
845
  ) : n;
846
- }, lo = hr, he = wt, uo = Ne, co = ce, rt = lo("%Map%", !0), fo = he("Map.prototype.get", !0), so = he("Map.prototype.set", !0), po = he("Map.prototype.has", !0), yo = he("Map.prototype.delete", !0), mo = he("Map.prototype.size", !0), Rt = !!rt && /** @type {Exclude<import('.'), false>} */
846
+ }, io = hr, he = $t, lo = Ne, uo = ce, rt = io("%Map%", !0), co = he("Map.prototype.get", !0), fo = he("Map.prototype.set", !0), so = he("Map.prototype.has", !0), po = he("Map.prototype.delete", !0), yo = he("Map.prototype.size", !0), wt = !!rt && /** @type {Exclude<import('.'), false>} */
847
847
  function() {
848
848
  var e, t = {
849
849
  assert: function(n) {
850
850
  if (!t.has(n))
851
- throw new co("Side channel does not contain " + uo(n));
851
+ throw new uo("Side channel does not contain " + lo(n));
852
852
  },
853
853
  delete: function(n) {
854
854
  if (e) {
855
- var a = yo(e, n);
856
- return mo(e) === 0 && (e = void 0), a;
855
+ var a = po(e, n);
856
+ return yo(e) === 0 && (e = void 0), a;
857
857
  }
858
858
  return !1;
859
859
  },
860
860
  get: function(n) {
861
861
  if (e)
862
- return fo(e, n);
862
+ return co(e, n);
863
863
  },
864
864
  has: function(n) {
865
- return e ? po(e, n) : !1;
865
+ return e ? so(e, n) : !1;
866
866
  },
867
867
  set: function(n, a) {
868
- e || (e = new rt()), so(e, n, a);
868
+ e || (e = new rt()), fo(e, n, a);
869
869
  }
870
870
  };
871
871
  return t;
872
- }, vo = hr, Me = wt, go = Ne, Oe = Rt, ho = ce, te = vo("%WeakMap%", !0), So = Me("WeakMap.prototype.get", !0), bo = Me("WeakMap.prototype.set", !0), Ao = Me("WeakMap.prototype.has", !0), Eo = Me("WeakMap.prototype.delete", !0), Oo = te ? (
872
+ }, mo = hr, Me = $t, vo = Ne, Oe = wt, go = ce, te = mo("%WeakMap%", !0), ho = Me("WeakMap.prototype.get", !0), So = Me("WeakMap.prototype.set", !0), bo = Me("WeakMap.prototype.has", !0), Ao = Me("WeakMap.prototype.delete", !0), Eo = te ? (
873
873
  /** @type {Exclude<import('.'), false>} */
874
874
  function() {
875
875
  var e, t, n = {
876
876
  assert: function(a) {
877
877
  if (!n.has(a))
878
- throw new ho("Side channel does not contain " + go(a));
878
+ throw new go("Side channel does not contain " + vo(a));
879
879
  },
880
880
  delete: function(a) {
881
881
  if (te && a && (typeof a == "object" || typeof a == "function")) {
882
882
  if (e)
883
- return Eo(e, a);
883
+ return Ao(e, a);
884
884
  } else if (Oe && t)
885
885
  return t.delete(a);
886
886
  return !1;
887
887
  },
888
888
  get: function(a) {
889
- return te && a && (typeof a == "object" || typeof a == "function") && e ? So(e, a) : t && t.get(a);
889
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? ho(e, a) : t && t.get(a);
890
890
  },
891
891
  has: function(a) {
892
- return te && a && (typeof a == "object" || typeof a == "function") && e ? Ao(e, a) : !!t && t.has(a);
892
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? bo(e, a) : !!t && t.has(a);
893
893
  },
894
894
  set: function(a, i) {
895
- te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), bo(e, a, i)) : Oe && (t || (t = Oe()), t.set(a, i));
895
+ te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), So(e, a, i)) : Oe && (t || (t = Oe()), t.set(a, i));
896
896
  }
897
897
  };
898
898
  return n;
899
899
  }
900
- ) : Oe, Po = ce, $o = Ne, wo = Zn, Ro = Rt, Co = Oo, To = Co || Ro || wo, _o = function() {
900
+ ) : Oe, Oo = ce, Po = Ne, $o = Xn, wo = wt, Ro = Eo, Co = Ro || wo || $o, To = function() {
901
901
  var e, t = {
902
902
  assert: function(n) {
903
903
  if (!t.has(n))
904
- throw new Po("Side channel does not contain " + $o(n));
904
+ throw new Oo("Side channel does not contain " + Po(n));
905
905
  },
906
906
  delete: function(n) {
907
907
  return !!e && e.delete(n);
@@ -913,18 +913,18 @@ function() {
913
913
  return !!e && e.has(n);
914
914
  },
915
915
  set: function(n, a) {
916
- e || (e = To()), e.set(n, a);
916
+ e || (e = Co()), e.set(n, a);
917
917
  }
918
918
  };
919
919
  return t;
920
- }, Io = String.prototype.replace, No = /%20/g, er = {
920
+ }, _o = String.prototype.replace, Io = /%20/g, er = {
921
921
  RFC1738: "RFC1738",
922
922
  RFC3986: "RFC3986"
923
923
  }, Sr = {
924
924
  default: er.RFC3986,
925
925
  formatters: {
926
926
  RFC1738: function(r) {
927
- return Io.call(r, No, "+");
927
+ return _o.call(r, Io, "+");
928
928
  },
929
929
  RFC3986: function(r) {
930
930
  return String(r);
@@ -932,11 +932,11 @@ function() {
932
932
  },
933
933
  RFC1738: er.RFC1738,
934
934
  RFC3986: er.RFC3986
935
- }, xo = Sr, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
935
+ }, No = Sr, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
936
936
  for (var r = [], e = 0; e < 256; ++e)
937
937
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
938
938
  return r;
939
- }(), Fo = function(e) {
939
+ }(), xo = function(e) {
940
940
  for (; e.length > 1; ) {
941
941
  var t = e.pop(), n = t.obj[t.prop];
942
942
  if (Q(n)) {
@@ -945,11 +945,11 @@ function() {
945
945
  t.obj[t.prop] = a;
946
946
  }
947
947
  }
948
- }, Ct = function(e, t) {
948
+ }, Rt = function(e, t) {
949
949
  for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = 0; a < e.length; ++a)
950
950
  typeof e[a] < "u" && (n[a] = e[a]);
951
951
  return n;
952
- }, Mo = function r(e, t, n) {
952
+ }, Fo = function r(e, t, n) {
953
953
  if (!t)
954
954
  return e;
955
955
  if (typeof t != "object") {
@@ -964,7 +964,7 @@ function() {
964
964
  if (!e || typeof e != "object")
965
965
  return [e].concat(t);
966
966
  var a = e;
967
- return Q(e) && !Q(t) && (a = Ct(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
967
+ return Q(e) && !Q(t) && (a = Rt(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
968
968
  if (rr.call(e, c)) {
969
969
  var l = e[c];
970
970
  l && typeof l == "object" && i && typeof i == "object" ? e[c] = r(l, i, n) : e.push(i);
@@ -974,11 +974,11 @@ function() {
974
974
  var l = t[c];
975
975
  return rr.call(i, c) ? i[c] = r(i[c], l, n) : i[c] = l, i;
976
976
  }, a);
977
- }, Do = function(e, t) {
977
+ }, Mo = function(e, t) {
978
978
  return Object.keys(t).reduce(function(n, a) {
979
979
  return n[a] = t[a], n;
980
980
  }, e);
981
- }, Lo = function(r, e, t) {
981
+ }, Do = function(r, e, t) {
982
982
  var n = r.replace(/\+/g, " ");
983
983
  if (t === "iso-8859-1")
984
984
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -987,7 +987,7 @@ function() {
987
987
  } catch {
988
988
  return n;
989
989
  }
990
- }, Bo = function(e, t, n, a, i) {
990
+ }, Lo = function(e, t, n, a, i) {
991
991
  if (e.length === 0)
992
992
  return e;
993
993
  var c = e;
@@ -997,7 +997,7 @@ function() {
997
997
  });
998
998
  for (var l = "", f = 0; f < c.length; ++f) {
999
999
  var u = c.charCodeAt(f);
1000
- if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === xo.RFC1738 && (u === 40 || u === 41)) {
1000
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === No.RFC1738 && (u === 40 || u === 41)) {
1001
1001
  l += c.charAt(f);
1002
1002
  continue;
1003
1003
  }
@@ -1016,38 +1016,38 @@ function() {
1016
1016
  f += 1, u = 65536 + ((u & 1023) << 10 | c.charCodeAt(f) & 1023), l += D[240 | u >> 18] + D[128 | u >> 12 & 63] + D[128 | u >> 6 & 63] + D[128 | u & 63];
1017
1017
  }
1018
1018
  return l;
1019
- }, Uo = function(e) {
1019
+ }, Bo = function(e) {
1020
1020
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1021
1021
  for (var i = t[a], c = i.obj[i.prop], l = Object.keys(c), f = 0; f < l.length; ++f) {
1022
1022
  var u = l[f], p = c[u];
1023
1023
  typeof p == "object" && p !== null && n.indexOf(p) === -1 && (t.push({ obj: c, prop: u }), n.push(p));
1024
1024
  }
1025
- return Fo(t), e;
1026
- }, qo = function(e) {
1025
+ return xo(t), e;
1026
+ }, Uo = function(e) {
1027
1027
  return Object.prototype.toString.call(e) === "[object RegExp]";
1028
- }, Wo = function(e) {
1028
+ }, qo = function(e) {
1029
1029
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1030
- }, ko = function(e, t) {
1030
+ }, Wo = function(e, t) {
1031
1031
  return [].concat(e, t);
1032
- }, Go = function(e, t) {
1032
+ }, ko = function(e, t) {
1033
1033
  if (Q(e)) {
1034
1034
  for (var n = [], a = 0; a < e.length; a += 1)
1035
1035
  n.push(t(e[a]));
1036
1036
  return n;
1037
1037
  }
1038
1038
  return t(e);
1039
- }, Tt = {
1040
- arrayToObject: Ct,
1041
- assign: Do,
1042
- combine: ko,
1043
- compact: Uo,
1044
- decode: Lo,
1045
- encode: Bo,
1046
- isBuffer: Wo,
1047
- isRegExp: qo,
1048
- maybeMap: Go,
1049
- merge: Mo
1050
- }, _t = _o, we = Tt, de = Sr, jo = Object.prototype.hasOwnProperty, tt = {
1039
+ }, Ct = {
1040
+ arrayToObject: Rt,
1041
+ assign: Mo,
1042
+ combine: Wo,
1043
+ compact: Bo,
1044
+ decode: Do,
1045
+ encode: Lo,
1046
+ isBuffer: qo,
1047
+ isRegExp: Uo,
1048
+ maybeMap: ko,
1049
+ merge: Fo
1050
+ }, Tt = To, we = Ct, de = Sr, Go = Object.prototype.hasOwnProperty, tt = {
1051
1051
  brackets: function(e) {
1052
1052
  return e + "[]";
1053
1053
  },
@@ -1058,9 +1058,9 @@ function() {
1058
1058
  repeat: function(e) {
1059
1059
  return e;
1060
1060
  }
1061
- }, q = Array.isArray, Vo = Array.prototype.push, It = function(r, e) {
1062
- Vo.apply(r, q(e) ? e : [e]);
1063
- }, zo = Date.prototype.toISOString, nt = de.default, T = {
1061
+ }, q = Array.isArray, jo = Array.prototype.push, _t = function(r, e) {
1062
+ jo.apply(r, q(e) ? e : [e]);
1063
+ }, Vo = Date.prototype.toISOString, nt = de.default, T = {
1064
1064
  addQueryPrefix: !1,
1065
1065
  allowDots: !1,
1066
1066
  charset: "utf-8",
@@ -1074,13 +1074,13 @@ function() {
1074
1074
  // deprecated
1075
1075
  indices: !1,
1076
1076
  serializeDate: function(e) {
1077
- return zo.call(e);
1077
+ return Vo.call(e);
1078
1078
  },
1079
1079
  skipNulls: !1,
1080
1080
  strictNullHandling: !1
1081
- }, Ho = function(e) {
1081
+ }, zo = function(e) {
1082
1082
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1083
- }, tr = {}, Yo = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, P, C) {
1083
+ }, tr = {}, Ho = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, P, C) {
1084
1084
  for (var g = e, I = C, O = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1085
1085
  var s = I.get(e);
1086
1086
  if (O += 1, typeof s < "u") {
@@ -1097,7 +1097,7 @@ function() {
1097
1097
  return l && !v ? l(t, T.encoder, P, "key", m) : t;
1098
1098
  g = "";
1099
1099
  }
1100
- if (Ho(g) || we.isBuffer(g)) {
1100
+ if (zo(g) || we.isBuffer(g)) {
1101
1101
  if (l) {
1102
1102
  var F = v ? t : l(t, T.encoder, P, "key", m);
1103
1103
  return [h(F) + "=" + h(l(g, T.encoder, P, "value", m))];
@@ -1121,8 +1121,8 @@ function() {
1121
1121
  if (!(c && x === null)) {
1122
1122
  var G = q(g) ? typeof n == "function" ? n(k, N) : k : k + (p ? "." + N : "[" + N + "]");
1123
1123
  C.set(e, O);
1124
- var Z = _t();
1125
- Z.set(tr, C), It(B, r(
1124
+ var Z = Tt();
1125
+ Z.set(tr, C), _t(B, r(
1126
1126
  x,
1127
1127
  G,
1128
1128
  n,
@@ -1143,7 +1143,7 @@ function() {
1143
1143
  }
1144
1144
  }
1145
1145
  return B;
1146
- }, Ko = function(e) {
1146
+ }, Yo = function(e) {
1147
1147
  if (!e)
1148
1148
  return T;
1149
1149
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
@@ -1153,7 +1153,7 @@ function() {
1153
1153
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1154
1154
  var n = de.default;
1155
1155
  if (typeof e.format < "u") {
1156
- if (!jo.call(de.formatters, e.format))
1156
+ if (!Go.call(de.formatters, e.format))
1157
1157
  throw new TypeError("Unknown format option provided.");
1158
1158
  n = e.format;
1159
1159
  }
@@ -1175,8 +1175,8 @@ function() {
1175
1175
  sort: typeof e.sort == "function" ? e.sort : null,
1176
1176
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : T.strictNullHandling
1177
1177
  };
1178
- }, Qo = function(r, e) {
1179
- var t = r, n = Ko(e), a, i;
1178
+ }, Ko = function(r, e) {
1179
+ var t = r, n = Yo(e), a, i;
1180
1180
  typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : q(n.filter) && (i = n.filter, a = i);
1181
1181
  var c = [];
1182
1182
  if (typeof t != "object" || t === null)
@@ -1188,9 +1188,9 @@ function() {
1188
1188
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1189
1189
  var u = f === "comma" && e && e.commaRoundTrip;
1190
1190
  a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1191
- for (var p = _t(), y = 0; y < a.length; ++y) {
1191
+ for (var p = Tt(), y = 0; y < a.length; ++y) {
1192
1192
  var m = a[y];
1193
- n.skipNulls && t[m] === null || It(c, Yo(
1193
+ n.skipNulls && t[m] === null || _t(c, Ho(
1194
1194
  t[m],
1195
1195
  m,
1196
1196
  f,
@@ -1211,7 +1211,7 @@ function() {
1211
1211
  }
1212
1212
  var h = c.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1213
1213
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1214
- }, ue = Tt, cr = Object.prototype.hasOwnProperty, Jo = Array.isArray, w = {
1214
+ }, ue = Ct, cr = Object.prototype.hasOwnProperty, Qo = Array.isArray, w = {
1215
1215
  allowDots: !1,
1216
1216
  allowPrototypes: !1,
1217
1217
  allowSparse: !1,
@@ -1228,30 +1228,30 @@ function() {
1228
1228
  parseArrays: !0,
1229
1229
  plainObjects: !1,
1230
1230
  strictNullHandling: !1
1231
- }, Xo = function(r) {
1231
+ }, Jo = function(r) {
1232
1232
  return r.replace(/&#(\d+);/g, function(e, t) {
1233
1233
  return String.fromCharCode(parseInt(t, 10));
1234
1234
  });
1235
- }, Nt = function(r, e) {
1235
+ }, It = function(r, e) {
1236
1236
  return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1237
- }, Zo = "utf8=%26%2310003%3B", ei = "utf8=%E2%9C%93", ri = function(e, t) {
1237
+ }, Xo = "utf8=%26%2310003%3B", Zo = "utf8=%E2%9C%93", ei = function(e, t) {
1238
1238
  var n = {}, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, c = a.split(t.delimiter, i), l = -1, f, u = t.charset;
1239
1239
  if (t.charsetSentinel)
1240
1240
  for (f = 0; f < c.length; ++f)
1241
- c[f].indexOf("utf8=") === 0 && (c[f] === ei ? u = "utf-8" : c[f] === Zo && (u = "iso-8859-1"), l = f, f = c.length);
1241
+ c[f].indexOf("utf8=") === 0 && (c[f] === Zo ? u = "utf-8" : c[f] === Xo && (u = "iso-8859-1"), l = f, f = c.length);
1242
1242
  for (f = 0; f < c.length; ++f)
1243
1243
  if (f !== l) {
1244
1244
  var p = c[f], y = p.indexOf("]="), m = y === -1 ? p.indexOf("=") : y + 1, h, v;
1245
1245
  m === -1 ? (h = t.decoder(p, w.decoder, u, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(p.slice(0, m), w.decoder, u, "key"), v = ue.maybeMap(
1246
- Nt(p.slice(m + 1), t),
1246
+ It(p.slice(m + 1), t),
1247
1247
  function(P) {
1248
1248
  return t.decoder(P, w.decoder, u, "value");
1249
1249
  }
1250
- )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = Xo(v)), p.indexOf("[]=") > -1 && (v = Jo(v) ? [v] : v), cr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1250
+ )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = Jo(v)), p.indexOf("[]=") > -1 && (v = Qo(v) ? [v] : v), cr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1251
1251
  }
1252
1252
  return n;
1253
- }, ti = function(r, e, t, n) {
1254
- for (var a = n ? e : Nt(e, t), i = r.length - 1; i >= 0; --i) {
1253
+ }, ri = function(r, e, t, n) {
1254
+ for (var a = n ? e : It(e, t), i = r.length - 1; i >= 0; --i) {
1255
1255
  var c, l = r[i];
1256
1256
  if (l === "[]" && t.parseArrays)
1257
1257
  c = [].concat(a);
@@ -1263,7 +1263,7 @@ function() {
1263
1263
  a = c;
1264
1264
  }
1265
1265
  return a;
1266
- }, ni = function(e, t, n, a) {
1266
+ }, ti = function(e, t, n, a) {
1267
1267
  if (e) {
1268
1268
  var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, c = /(\[[^[\]]*])/, l = /(\[[^[\]]*])/g, f = n.depth > 0 && c.exec(i), u = f ? i.slice(0, f.index) : i, p = [];
1269
1269
  if (u) {
@@ -1276,9 +1276,9 @@ function() {
1276
1276
  return;
1277
1277
  p.push(f[1]);
1278
1278
  }
1279
- return f && p.push("[" + i.slice(f.index) + "]"), ti(p, t, n, a);
1279
+ return f && p.push("[" + i.slice(f.index) + "]"), ri(p, t, n, a);
1280
1280
  }
1281
- }, ai = function(e) {
1281
+ }, ni = function(e) {
1282
1282
  if (!e)
1283
1283
  return w;
1284
1284
  if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
@@ -1305,39 +1305,39 @@ function() {
1305
1305
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : w.plainObjects,
1306
1306
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : w.strictNullHandling
1307
1307
  };
1308
- }, oi = function(r, e) {
1309
- var t = ai(e);
1308
+ }, ai = function(r, e) {
1309
+ var t = ni(e);
1310
1310
  if (r === "" || r === null || typeof r > "u")
1311
1311
  return t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1312
- for (var n = typeof r == "string" ? ri(r, t) : r, a = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), c = 0; c < i.length; ++c) {
1313
- var l = i[c], f = ni(l, n[l], t, typeof r == "string");
1312
+ for (var n = typeof r == "string" ? ei(r, t) : r, a = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), c = 0; c < i.length; ++c) {
1313
+ var l = i[c], f = ti(l, n[l], t, typeof r == "string");
1314
1314
  a = ue.merge(a, f, t);
1315
1315
  }
1316
1316
  return t.allowSparse === !0 ? a : ue.compact(a);
1317
- }, ii = Qo, li = oi, ui = Sr, nr = {
1318
- formats: ui,
1319
- parse: li,
1320
- stringify: ii
1317
+ }, oi = Ko, ii = ai, li = Sr, nr = {
1318
+ formats: li,
1319
+ parse: ii,
1320
+ stringify: oi
1321
1321
  };
1322
- const xt = {
1322
+ const Nt = {
1323
1323
  PENDING: "PENDING",
1324
1324
  APPROVED: "APPROVED",
1325
1325
  REJECTED: "REJECTED"
1326
- }, ji = {
1327
- ...xt,
1326
+ }, Gi = {
1327
+ ...Nt,
1328
1328
  BLOCKED: "BLOCKED",
1329
1329
  OPEN: "OPEN",
1330
1330
  RESOLVED: "RESOLVED"
1331
1331
  };
1332
- var ci = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(ci || {});
1332
+ var ui = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(ui || {});
1333
1333
  const z = {
1334
- ...xt,
1334
+ ...Nt,
1335
1335
  BLOCKED: "BLOCKED",
1336
1336
  OPEN: "OPEN",
1337
1337
  REMOVED: "REMOVED",
1338
1338
  TO_REVIEW: "TO_REVIEW",
1339
1339
  UNKNOWN: "UNKNOWN"
1340
- }, fi = o.object({
1340
+ }, ci = o.object({
1341
1341
  entryLabel: o.record(o.array(o.string())),
1342
1342
  approvalFlow: o.array(o.string()),
1343
1343
  blockedAuthorProps: o.array(o.string()),
@@ -1363,7 +1363,7 @@ const z = {
1363
1363
  url: o.string().nullable(),
1364
1364
  contactEmail: o.string().nullable()
1365
1365
  }).default({ url: null, contactEmail: null })
1366
- }), Ft = o.intersection(
1366
+ }), xt = o.intersection(
1367
1367
  o.object({
1368
1368
  id: o.number(),
1369
1369
  uid: o.string(),
@@ -1374,7 +1374,7 @@ const z = {
1374
1374
  locale: o.string().nullable().optional()
1375
1375
  }),
1376
1376
  o.record(o.unknown())
1377
- ), si = o.object({
1377
+ ), fi = o.object({
1378
1378
  id: o.union([o.number(), o.string()]),
1379
1379
  name: o.string().optional().nullable(),
1380
1380
  email: o.string(),
@@ -1392,7 +1392,7 @@ const z = {
1392
1392
  }),
1393
1393
  o.string()
1394
1394
  ]).nullable().optional()
1395
- }), Mt = o.union([
1395
+ }), Ft = o.union([
1396
1396
  o.literal(z.PENDING),
1397
1397
  o.literal(z.APPROVED),
1398
1398
  o.literal(z.REJECTED),
@@ -1401,13 +1401,13 @@ const z = {
1401
1401
  o.literal(z.REMOVED),
1402
1402
  o.literal(z.TO_REVIEW),
1403
1403
  o.literal(z.UNKNOWN)
1404
- ]), Dt = o.union([
1404
+ ]), Mt = o.union([
1405
1405
  o.literal("BAD_LANGUAGE"),
1406
1406
  o.literal("DISCRIMINATION"),
1407
1407
  o.literal("OTHER")
1408
- ]), pi = o.object({
1408
+ ]), si = o.object({
1409
1409
  id: o.number(),
1410
- reason: Dt,
1410
+ reason: Mt,
1411
1411
  content: o.string(),
1412
1412
  resolved: o.boolean(),
1413
1413
  createdAt: o.string(),
@@ -1420,14 +1420,14 @@ const z = {
1420
1420
  blockReason: o.string().nullable(),
1421
1421
  isAdminComment: o.boolean().nullable(),
1422
1422
  removed: o.boolean().nullable(),
1423
- approvalStatus: Mt.nullable(),
1423
+ approvalStatus: Ft.nullable(),
1424
1424
  createdAt: o.string(),
1425
1425
  updatedAt: o.string(),
1426
- reports: o.array(pi).nullable().optional(),
1427
- author: si,
1426
+ reports: o.array(si).nullable().optional(),
1427
+ author: fi,
1428
1428
  gotThread: o.boolean().nullable().optional(),
1429
1429
  threadFirstItemId: o.number().nullable().optional()
1430
- }), Lt = o.object({
1430
+ }), Dt = o.object({
1431
1431
  page: o.number(),
1432
1432
  pageSize: o.number(),
1433
1433
  pageCount: o.number(),
@@ -1435,18 +1435,18 @@ const z = {
1435
1435
  });
1436
1436
  function fr() {
1437
1437
  return Ie.extend({
1438
- related: Ft.optional(),
1438
+ related: xt.optional(),
1439
1439
  documentId: o.string(),
1440
1440
  threadOf: o.lazy(
1441
- () => Ie.merge(o.object({ related: o.string(), threadOf: Bt.nullable().optional(), documentId: o.string().optional() }))
1441
+ () => Ie.merge(o.object({ related: o.string(), threadOf: Lt.nullable().optional(), documentId: o.string().optional() }))
1442
1442
  ).nullable().optional()
1443
1443
  });
1444
1444
  }
1445
- const Bt = fr(), yi = o.object({
1446
- pagination: Lt,
1447
- result: o.array(Bt)
1448
- }), di = o.object({
1449
- entity: Ft,
1445
+ const Lt = fr(), pi = o.object({
1446
+ pagination: Dt,
1447
+ result: o.array(Lt)
1448
+ }), yi = o.object({
1449
+ entity: xt,
1450
1450
  selected: Ie.merge(
1451
1451
  o.object({
1452
1452
  related: o.string(),
@@ -1454,7 +1454,7 @@ const Bt = fr(), yi = o.object({
1454
1454
  })
1455
1455
  ).nullable(),
1456
1456
  level: o.array(fr().omit({ threadOf: !0, related: !0 }))
1457
- }), Ut = o.object({
1457
+ }), Bt = o.object({
1458
1458
  apiID: o.string(),
1459
1459
  uid: o.string(),
1460
1460
  schema: o.object({
@@ -1468,25 +1468,25 @@ const Bt = fr(), yi = o.object({
1468
1468
  singularName: o.string(),
1469
1469
  visible: o.boolean()
1470
1470
  })
1471
+ }), di = o.object({
1472
+ data: Bt
1471
1473
  }), mi = o.object({
1472
- data: Ut
1474
+ data: o.array(Bt)
1473
1475
  }), vi = o.object({
1474
- data: o.array(Ut)
1475
- }), gi = o.object({
1476
1476
  author: o.unknown(),
1477
1477
  content: o.string(),
1478
1478
  id: o.number(),
1479
- approvalStatus: Mt.nullable().optional(),
1480
- reason: Dt,
1479
+ approvalStatus: Ft.nullable().optional(),
1480
+ reason: Mt,
1481
1481
  reports: o.array(o.unknown()),
1482
1482
  resolved: o.boolean().optional(),
1483
1483
  updatedAt: o.string().nullable(),
1484
1484
  createdAt: o.string(),
1485
1485
  related: Ie
1486
+ }), gi = o.object({
1487
+ pagination: Dt,
1488
+ result: o.array(vi)
1486
1489
  }), hi = o.object({
1487
- pagination: Lt,
1488
- result: o.array(gi)
1489
- }), Si = o.object({
1490
1490
  id: o.number(),
1491
1491
  documentId: o.string(),
1492
1492
  name: o.string(),
@@ -1497,11 +1497,11 @@ const Bt = fr(), yi = o.object({
1497
1497
  publishedAt: o.string(),
1498
1498
  locale: o.string().nullable(),
1499
1499
  usersCount: o.number()
1500
- }), bi = o.object({
1500
+ }), Si = o.object({
1501
1501
  data: o.array(
1502
- Si
1502
+ hi
1503
1503
  )
1504
- }), Ai = o.object({
1504
+ }), bi = o.object({
1505
1505
  data: o.object({
1506
1506
  id: o.number(),
1507
1507
  documentId: o.string(),
@@ -1525,14 +1525,14 @@ const Bt = fr(), yi = o.object({
1525
1525
  })
1526
1526
  )
1527
1527
  })
1528
- }), E = "comments", Ei = wr.once((r) => ({
1528
+ }), E = "comments", Ai = wr.once((r) => ({
1529
1529
  config: {
1530
1530
  getKey() {
1531
1531
  return [E, "config"];
1532
1532
  },
1533
1533
  async query() {
1534
1534
  const e = await r.get(`/${E}/settings/config`);
1535
- return fi.parseAsync(e.data);
1535
+ return ci.parseAsync(e.data);
1536
1536
  }
1537
1537
  },
1538
1538
  contentTypeBuilder: {
@@ -1542,7 +1542,7 @@ const Bt = fr(), yi = o.object({
1542
1542
  },
1543
1543
  async query(e) {
1544
1544
  const t = await r.get(`/content-type-builder/content-types/${e}`);
1545
- return mi.parseAsync(t.data).then((n) => n.data);
1545
+ return di.parseAsync(t.data).then((n) => n.data);
1546
1546
  }
1547
1547
  },
1548
1548
  all: {
@@ -1551,7 +1551,7 @@ const Bt = fr(), yi = o.object({
1551
1551
  },
1552
1552
  async query() {
1553
1553
  const e = await r.get("/content-type-builder/content-types");
1554
- return vi.parseAsync(e.data).then((t) => t.data);
1554
+ return mi.parseAsync(e.data).then((t) => t.data);
1555
1555
  }
1556
1556
  }
1557
1557
  },
@@ -1561,7 +1561,7 @@ const Bt = fr(), yi = o.object({
1561
1561
  },
1562
1562
  async query() {
1563
1563
  const e = await r.get("/admin/roles");
1564
- return bi.parseAsync(e.data).then((t) => t.data);
1564
+ return Si.parseAsync(e.data).then((t) => t.data);
1565
1565
  }
1566
1566
  },
1567
1567
  user: {
@@ -1570,7 +1570,7 @@ const Bt = fr(), yi = o.object({
1570
1570
  },
1571
1571
  async query() {
1572
1572
  const e = await r.get("/admin/users/me");
1573
- return Ai.parseAsync(e.data).then((t) => t.data);
1573
+ return bi.parseAsync(e.data).then((t) => t.data);
1574
1574
  }
1575
1575
  },
1576
1576
  comments: {
@@ -1580,7 +1580,7 @@ const Bt = fr(), yi = o.object({
1580
1580
  },
1581
1581
  async query(e) {
1582
1582
  const t = await r.get(`/${E}/moderate/all?${nr.stringify(e, { encode: !1 })}`);
1583
- return yi.parseAsync(t.data);
1583
+ return pi.parseAsync(t.data);
1584
1584
  }
1585
1585
  },
1586
1586
  findOne: {
@@ -1589,7 +1589,7 @@ const Bt = fr(), yi = o.object({
1589
1589
  },
1590
1590
  async query(e, t) {
1591
1591
  const n = wr.isEmpty(t) ? "" : `?${nr.stringify(t, { encode: !1 })}`, a = await r.get(`/${E}/moderate/single/${e}${n}`);
1592
- return di.parseAsync(a.data);
1592
+ return yi.parseAsync(a.data);
1593
1593
  }
1594
1594
  },
1595
1595
  approve(e) {
@@ -1627,7 +1627,7 @@ const Bt = fr(), yi = o.object({
1627
1627
  },
1628
1628
  async query(e) {
1629
1629
  const t = await r.get(`/${E}/moderate/reports${e ? `?${nr.stringify(e, { encode: !1 })}` : ""}`);
1630
- return hi.parseAsync(t.data);
1630
+ return gi.parseAsync(t.data);
1631
1631
  }
1632
1632
  },
1633
1633
  resolve({ id: e, reportId: t }) {
@@ -1657,27 +1657,24 @@ const Bt = fr(), yi = o.object({
1657
1657
  return r.post(`/${E}/settings/restart`);
1658
1658
  }
1659
1659
  }
1660
- })), Oi = () => {
1661
- const r = dn();
1662
- return ut(() => Ei(r), [r]);
1663
- }, Pi = yn(null), $i = ({ children: r }) => {
1664
- const e = Oi(), { data: t } = fn({
1660
+ })), Ei = () => {
1661
+ const r = yn();
1662
+ return lt(() => Ai(r), [r]);
1663
+ }, Oi = pn(null), Pi = ({ children: r }) => {
1664
+ const e = Ei(), { data: t } = cn({
1665
1665
  queryKey: e.user.getKey(),
1666
1666
  queryFn: e.user.query
1667
1667
  });
1668
- return t ? /* @__PURE__ */ _(Pi.Provider, { value: t, children: r }) : null;
1669
- };
1670
- console.log("!!darkTheme", !!it);
1671
- console.log("!!lightTheme", !!an);
1672
- const wi = new pn({
1668
+ return t ? /* @__PURE__ */ _(Oi.Provider, { value: t, children: r }) : null;
1669
+ }, $i = new sn({
1673
1670
  defaultOptions: {
1674
1671
  queries: {
1675
1672
  retry: !1,
1676
1673
  refetchOnWindowFocus: !1
1677
1674
  }
1678
1675
  }
1679
- }), Vi = ({ children: r }) => /* @__PURE__ */ _(sn, { client: wi, children: /* @__PURE__ */ _(nn, { theme: { theme: it, themeName: "light" }, children: /* @__PURE__ */ _($i, { children: r }) }) }), zi = () => {
1680
- const r = ut(
1676
+ }), ji = ({ children: r }) => /* @__PURE__ */ _(fn, { client: $i, children: /* @__PURE__ */ _(tn, { theme: { theme: nn, themeName: "light" }, children: /* @__PURE__ */ _(Pi, { children: r }) }) }), Vi = () => {
1677
+ const r = lt(
1681
1678
  () => ({
1682
1679
  access: ee.access,
1683
1680
  moderate: ee.moderate,
@@ -1697,7 +1694,7 @@ const wi = new pn({
1697
1694
  canSettingsRead: c,
1698
1695
  canReportsReview: l
1699
1696
  }
1700
- } = mn(r);
1697
+ } = dn(r);
1701
1698
  return {
1702
1699
  isLoadingForPermissions: e,
1703
1700
  canAccess: n || a || c,
@@ -1718,7 +1715,7 @@ var sr = { exports: {} }, b = {};
1718
1715
  * LICENSE file in the root directory of this source tree.
1719
1716
  */
1720
1717
  var at;
1721
- function Ri() {
1718
+ function wi() {
1722
1719
  if (at) return b;
1723
1720
  at = 1;
1724
1721
  var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, a = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = r ? Symbol.for("react.suspense") : 60113, m = r ? Symbol.for("react.suspense_list") : 60120, h = r ? Symbol.for("react.memo") : 60115, v = r ? Symbol.for("react.lazy") : 60116, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
@@ -1793,7 +1790,7 @@ var A = {};
1793
1790
  * LICENSE file in the root directory of this source tree.
1794
1791
  */
1795
1792
  var ot;
1796
- function Ci() {
1793
+ function Ri() {
1797
1794
  return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
1798
1795
  var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, a = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = r ? Symbol.for("react.suspense") : 60113, m = r ? Symbol.for("react.suspense_list") : 60120, h = r ? Symbol.for("react.memo") : 60115, v = r ? Symbol.for("react.lazy") : 60116, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1799
1796
  function O(d) {
@@ -1832,95 +1829,95 @@ function Ci() {
1832
1829
  }
1833
1830
  }
1834
1831
  }
1835
- var s = f, F = u, B = l, M = c, W = e, k = p, K = n, N = v, x = h, G = t, Z = i, j = a, Gt = y, Er = !1;
1836
- function jt(d) {
1832
+ var s = f, F = u, B = l, M = c, W = e, k = p, K = n, N = v, x = h, G = t, Z = i, j = a, kt = y, Er = !1;
1833
+ function Gt(d) {
1837
1834
  return Er || (Er = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Or(d) || $(d) === f;
1838
1835
  }
1839
1836
  function Or(d) {
1840
1837
  return $(d) === u;
1841
1838
  }
1842
- function Vt(d) {
1839
+ function jt(d) {
1843
1840
  return $(d) === l;
1844
1841
  }
1845
- function zt(d) {
1842
+ function Vt(d) {
1846
1843
  return $(d) === c;
1847
1844
  }
1848
- function Ht(d) {
1845
+ function zt(d) {
1849
1846
  return typeof d == "object" && d !== null && d.$$typeof === e;
1850
1847
  }
1851
- function Yt(d) {
1848
+ function Ht(d) {
1852
1849
  return $(d) === p;
1853
1850
  }
1854
- function Kt(d) {
1851
+ function Yt(d) {
1855
1852
  return $(d) === n;
1856
1853
  }
1857
- function Qt(d) {
1854
+ function Kt(d) {
1858
1855
  return $(d) === v;
1859
1856
  }
1860
- function Jt(d) {
1857
+ function Qt(d) {
1861
1858
  return $(d) === h;
1862
1859
  }
1863
- function Xt(d) {
1860
+ function Jt(d) {
1864
1861
  return $(d) === t;
1865
1862
  }
1866
- function Zt(d) {
1863
+ function Xt(d) {
1867
1864
  return $(d) === i;
1868
1865
  }
1869
- function en(d) {
1866
+ function Zt(d) {
1870
1867
  return $(d) === a;
1871
1868
  }
1872
- function rn(d) {
1869
+ function en(d) {
1873
1870
  return $(d) === y;
1874
1871
  }
1875
- A.AsyncMode = s, A.ConcurrentMode = F, A.ContextConsumer = B, A.ContextProvider = M, A.Element = W, A.ForwardRef = k, A.Fragment = K, A.Lazy = N, A.Memo = x, A.Portal = G, A.Profiler = Z, A.StrictMode = j, A.Suspense = Gt, A.isAsyncMode = jt, A.isConcurrentMode = Or, A.isContextConsumer = Vt, A.isContextProvider = zt, A.isElement = Ht, A.isForwardRef = Yt, A.isFragment = Kt, A.isLazy = Qt, A.isMemo = Jt, A.isPortal = Xt, A.isProfiler = Zt, A.isStrictMode = en, A.isSuspense = rn, A.isValidElementType = O, A.typeOf = $;
1872
+ A.AsyncMode = s, A.ConcurrentMode = F, A.ContextConsumer = B, A.ContextProvider = M, A.Element = W, A.ForwardRef = k, A.Fragment = K, A.Lazy = N, A.Memo = x, A.Portal = G, A.Profiler = Z, A.StrictMode = j, A.Suspense = kt, A.isAsyncMode = Gt, A.isConcurrentMode = Or, A.isContextConsumer = jt, A.isContextProvider = Vt, A.isElement = zt, A.isForwardRef = Ht, A.isFragment = Yt, A.isLazy = Kt, A.isMemo = Qt, A.isPortal = Jt, A.isProfiler = Xt, A.isStrictMode = Zt, A.isSuspense = en, A.isValidElementType = O, A.typeOf = $;
1876
1873
  }()), A;
1877
1874
  }
1878
- process.env.NODE_ENV === "production" ? sr.exports = Ri() : sr.exports = Ci();
1879
- var Ti = sr.exports, qt = Ti, _i = {
1875
+ process.env.NODE_ENV === "production" ? sr.exports = wi() : sr.exports = Ri();
1876
+ var Ci = sr.exports, Ut = Ci, Ti = {
1880
1877
  $$typeof: !0,
1881
1878
  render: !0,
1882
1879
  defaultProps: !0,
1883
1880
  displayName: !0,
1884
1881
  propTypes: !0
1885
- }, Ii = {
1882
+ }, _i = {
1886
1883
  $$typeof: !0,
1887
1884
  compare: !0,
1888
1885
  defaultProps: !0,
1889
1886
  displayName: !0,
1890
1887
  propTypes: !0,
1891
1888
  type: !0
1892
- }, Wt = {};
1893
- Wt[qt.ForwardRef] = _i;
1894
- Wt[qt.Memo] = Ii;
1895
- function Ni(r, e, t) {
1889
+ }, qt = {};
1890
+ qt[Ut.ForwardRef] = Ti;
1891
+ qt[Ut.Memo] = _i;
1892
+ function Ii(r, e, t) {
1896
1893
  if (t === void 0 && (t = Error), !r)
1897
1894
  throw new t(e);
1898
1895
  }
1899
- var xi = function(r) {
1896
+ var Ni = function(r) {
1900
1897
  process.env.NODE_ENV !== "production" && console.error(r);
1901
- }, Fi = function(r) {
1898
+ }, xi = function(r) {
1902
1899
  process.env.NODE_ENV !== "production" && console.warn(r);
1903
- }, Mi = {
1900
+ }, Fi = {
1904
1901
  formats: {},
1905
1902
  messages: {},
1906
1903
  timeZone: void 0,
1907
1904
  defaultLocale: "en",
1908
1905
  defaultFormats: {},
1909
1906
  fallbackOnEmptyString: !0,
1910
- onError: xi,
1911
- onWarn: Fi
1907
+ onError: Ni,
1908
+ onWarn: xi
1912
1909
  };
1913
- function Di(r) {
1914
- Ni(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
1910
+ function Mi(r) {
1911
+ Ii(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
1915
1912
  }
1916
- Rr(Rr({}, Mi), { textComponent: oe.Fragment });
1913
+ Rr(Rr({}, Fi), { textComponent: oe.Fragment });
1917
1914
  var br = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = oe.createContext(null)) : oe.createContext(null);
1918
1915
  br.Consumer;
1919
1916
  br.Provider;
1920
- var Li = br;
1917
+ var Di = br;
1921
1918
  function Ar() {
1922
- var r = oe.useContext(Li);
1923
- return Di(r), r;
1919
+ var r = oe.useContext(Di);
1920
+ return Mi(r), r;
1924
1921
  }
1925
1922
  var pr;
1926
1923
  (function(r) {
@@ -1930,16 +1927,16 @@ var yr;
1930
1927
  (function(r) {
1931
1928
  r.formatDate = "FormattedDateParts", r.formatTime = "FormattedTimeParts", r.formatNumber = "FormattedNumberParts", r.formatList = "FormattedListParts";
1932
1929
  })(yr || (yr = {}));
1933
- function kt(r) {
1930
+ function Wt(r) {
1934
1931
  var e = function(t) {
1935
- var n = Ar(), a = t.value, i = t.children, c = lt(t, ["value", "children"]), l = typeof a == "string" ? new Date(a || 0) : a, f = r === "formatDate" ? n.formatDateToParts(l, c) : n.formatTimeToParts(l, c);
1932
+ var n = Ar(), a = t.value, i = t.children, c = it(t, ["value", "children"]), l = typeof a == "string" ? new Date(a || 0) : a, f = r === "formatDate" ? n.formatDateToParts(l, c) : n.formatTimeToParts(l, c);
1936
1933
  return i(f);
1937
1934
  };
1938
1935
  return e.displayName = yr[r], e;
1939
1936
  }
1940
1937
  function Se(r) {
1941
1938
  var e = function(t) {
1942
- var n = Ar(), a = t.value, i = t.children, c = lt(
1939
+ var n = Ar(), a = t.value, i = t.children, c = it(
1943
1940
  t,
1944
1941
  ["value", "children"]
1945
1942
  ), l = n[r](a, c);
@@ -1955,19 +1952,19 @@ Se("formatTime");
1955
1952
  Se("formatNumber");
1956
1953
  Se("formatList");
1957
1954
  Se("formatDisplayName");
1958
- kt("formatDate");
1959
- kt("formatTime");
1960
- const Hi = (r, e = "", t = !0) => {
1955
+ Wt("formatDate");
1956
+ Wt("formatTime");
1957
+ const zi = (r, e = "", t = !0) => {
1961
1958
  const { formatMessage: n } = Ar();
1962
1959
  let a = "";
1963
1960
  return typeof r == "string" ? a = r : a = r?.id.toString() || a, n(
1964
1961
  {
1965
- id: `${t ? on : "app.components"}.${a}`,
1962
+ id: `${t ? an : "app.components"}.${a}`,
1966
1963
  defaultMessage: e
1967
1964
  },
1968
1965
  typeof r == "string" ? void 0 : r?.props
1969
1966
  );
1970
- }, Yi = ({
1967
+ }, Hi = ({
1971
1968
  title: r,
1972
1969
  onConfirm: e,
1973
1970
  Trigger: t,
@@ -1983,9 +1980,9 @@ const Hi = (r, e = "", t = !0) => {
1983
1980
  /* @__PURE__ */ _(V.Trigger, { children: /* @__PURE__ */ _(t, { onClick: y }) }),
1984
1981
  /* @__PURE__ */ Ae(V.Content, { children: [
1985
1982
  /* @__PURE__ */ _(V.Header, { children: r }),
1986
- /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ae(ln, { justifyContent: "center", direction: "column", children: [
1987
- /* @__PURE__ */ _(un, { fill: "danger500", stroke: "danger500", height: "24", width: "24" }),
1988
- /* @__PURE__ */ _(cn, { id: "confirm-description", children: c })
1983
+ /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ae(on, { justifyContent: "center", direction: "column", children: [
1984
+ /* @__PURE__ */ _(ln, { fill: "danger500", stroke: "danger500", height: "24", width: "24" }),
1985
+ /* @__PURE__ */ _(un, { id: "confirm-description", children: c })
1989
1986
  ] }) }),
1990
1987
  /* @__PURE__ */ Ae(V.Footer, { children: [
1991
1988
  /* @__PURE__ */ _(V.Cancel, { children: /* @__PURE__ */ _(
@@ -2014,13 +2011,13 @@ const Hi = (r, e = "", t = !0) => {
2014
2011
  };
2015
2012
  export {
2016
2013
  z as C,
2017
- ji as R,
2018
- Pi as U,
2019
- zi as a,
2014
+ Gi as R,
2015
+ Oi as U,
2016
+ Vi as a,
2020
2017
  Ar as b,
2021
- ci as c,
2022
- Yi as d,
2023
- Vi as e,
2024
- Hi as g,
2025
- Oi as u
2018
+ ui as c,
2019
+ Hi as d,
2020
+ ji as e,
2021
+ zi as g,
2022
+ Ei as u
2026
2023
  };