strapi-plugin-comments 3.0.10 → 3.0.12

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.
@@ -1,42 +1,52 @@
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-B3sOw8of.mjs";
1
+ import { jsx as _, jsxs as Ee } from "react/jsx-runtime";
2
+ import { ab as rn, ac as tn, ad as nn, ae as wr, l as Rr, af as an, ag as ee, ah as Tr, ai as it, p as on, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-CpBNh6Rx.mjs";
3
3
  import { useQuery as fn, QueryClientProvider as sn, QueryClient as pn } 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 { useState as ar, useEffect as yn, useMemo as lt, createContext as dn } from "react";
6
+ import { getFetchClient as mn, useRBAC as vn } from "@strapi/strapi/admin";
7
7
  import { z as o } from "zod";
8
+ const gn = () => {
9
+ const r = () => window.matchMedia("(prefers-color-scheme: dark)").matches, [e, t] = ar();
10
+ return yn(() => {
11
+ const a = r() ? "dark" : "light", i = window.localStorage?.STRAPI_THEME;
12
+ t(i === "system" ? a : i);
13
+ }, []), {
14
+ theme: e === "dark" ? rn : tn,
15
+ themeName: e
16
+ };
17
+ };
8
18
  var ce = TypeError;
9
- const vn = {}, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ const hn = {}, Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
20
  __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) {
21
+ default: hn
22
+ }, Symbol.toStringTag, { value: "Module" })), bn = /* @__PURE__ */ nn(Sn);
23
+ var mr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = mr && Le && typeof Le.get == "function" ? Le.get : null, _r = mr && Map.prototype.forEach, vr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && vr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Te = vr && Be && typeof Be.get == "function" ? Be.get : null, Ir = vr && Set.prototype.forEach, En = typeof WeakMap == "function" && WeakMap.prototype, se = En ? WeakMap.prototype.has : null, An = typeof WeakSet == "function" && WeakSet.prototype, pe = An ? WeakSet.prototype.has : null, On = typeof WeakRef == "function" && WeakRef.prototype, Nr = On ? WeakRef.prototype.deref : null, Pn = Boolean.prototype.valueOf, $n = Object.prototype.toString, wn = Function.prototype.toString, Rn = String.prototype.match, gr = String.prototype.slice, H = String.prototype.replace, Tn = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ut = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Cn = Array.prototype.slice, Mr = Math.floor, or = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, ir = 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
24
  return r.__proto__;
15
25
  } : null);
16
26
  function Lr(r, e) {
17
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || ct.call(/e/, e))
27
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || ut.call(/e/, e))
18
28
  return e;
19
29
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
20
30
  if (typeof r == "number") {
21
31
  var n = r < 0 ? -Mr(-r) : Mr(r);
22
32
  if (n !== r) {
23
- var a = String(n), i = vr.call(e, a.length + 1);
33
+ var a = String(n), i = gr.call(e, a.length + 1);
24
34
  return H.call(a, t, "$&_") + "." + H.call(H.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
25
35
  }
26
36
  }
27
37
  return H.call(e, t, "$&_");
28
38
  }
29
- var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
39
+ var lr = bn, Br = lr.custom, Ur = pt(Br) ? Br : null, ft = {
30
40
  __proto__: null,
31
41
  double: '"',
32
42
  single: "'"
33
- }, Cn = {
43
+ }, _n = {
34
44
  __proto__: null,
35
45
  double: /(["\\])/g,
36
46
  single: /(['\\])/g
37
47
  }, Ne = function r(e, t, n, a) {
38
48
  var i = t || {};
39
- if (U(i, "quoteStyle") && !U(st, i.quoteStyle))
49
+ if (U(i, "quoteStyle") && !U(ft, i.quoteStyle))
40
50
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
41
51
  if (U(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
42
52
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
@@ -55,7 +65,7 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
55
65
  if (typeof e == "boolean")
56
66
  return e ? "true" : "false";
57
67
  if (typeof e == "string")
58
- return mt(e, i);
68
+ return dt(e, i);
59
69
  if (typeof e == "number") {
60
70
  if (e === 0)
61
71
  return 1 / 0 / e > 0 ? "0" : "-0";
@@ -68,14 +78,14 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
68
78
  }
69
79
  var p = typeof i.depth > "u" ? 5 : i.depth;
70
80
  if (typeof n > "u" && (n = 0), n >= p && p > 0 && typeof e == "object")
71
- return lr(e) ? "[Array]" : "[Object]";
72
- var y = zn(i, n);
81
+ return ur(e) ? "[Array]" : "[Object]";
82
+ var y = Yn(i, n);
73
83
  if (typeof a > "u")
74
84
  a = [];
75
- else if (dt(a, e) >= 0)
85
+ else if (yt(a, e) >= 0)
76
86
  return "[Circular]";
77
87
  function m(x, G, Z) {
78
- if (G && (a = Rn.call(a), a.push(G)), Z) {
88
+ if (G && (a = Cn.call(a), a.push(G)), Z) {
79
89
  var j = {
80
90
  depth: i.depth
81
91
  };
@@ -83,140 +93,140 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
83
93
  }
84
94
  return r(x, i, n + 1, a);
85
95
  }
86
- if (typeof e == "function" && !qr(e)) {
87
- var h = Ln(e), v = Ee(e, m);
96
+ if (typeof e == "function" && !kr(e)) {
97
+ var h = Un(e), v = Ae(e, m);
88
98
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + L.call(v, ", ") + " }" : "");
89
99
  }
90
- if (yt(e)) {
91
- var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(e);
100
+ if (pt(e)) {
101
+ var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ir.call(e);
92
102
  return typeof e == "object" && !ie ? fe(P) : P;
93
103
  }
94
- if (Gn(e)) {
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);
97
- return C += ">", e.childNodes && e.childNodes.length && (C += "..."), C += "</" + xr.call(String(e.nodeName)) + ">", C;
104
+ if (Vn(e)) {
105
+ for (var T = "<" + xr.call(String(e.nodeName)), g = e.attributes || [], I = 0; I < g.length; I++)
106
+ T += " " + g[I].name + "=" + st(In(g[I].value), "double", i);
107
+ return T += ">", e.childNodes && e.childNodes.length && (T += "..."), T += "</" + xr.call(String(e.nodeName)) + ">", T;
98
108
  }
99
- if (lr(e)) {
109
+ if (ur(e)) {
100
110
  if (e.length === 0)
101
111
  return "[]";
102
- var O = Ee(e, m);
103
- return y && !Vn(O) ? "[" + ur(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
112
+ var O = Ae(e, m);
113
+ return y && !Hn(O) ? "[" + cr(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
104
114
  }
105
- if (In(e)) {
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($, ", ") + " }";
115
+ if (xn(e)) {
116
+ var $ = Ae(e, m);
117
+ 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
118
  }
109
119
  if (typeof e == "object" && c) {
110
- if (Ur && typeof e[Ur] == "function" && ir)
111
- return ir(e, { depth: p - n });
120
+ if (Ur && typeof e[Ur] == "function" && lr)
121
+ return lr(e, { depth: p - n });
112
122
  if (c !== "symbol" && typeof e.inspect == "function")
113
123
  return e.inspect();
114
124
  }
115
- if (Bn(e)) {
125
+ if (kn(e)) {
116
126
  var s = [];
117
127
  return _r && _r.call(e, function(x, G) {
118
128
  s.push(m(G, e, !0) + " => " + m(x, e));
119
- }), Wr("Map", Re.call(e), s, y);
129
+ }), qr("Map", Re.call(e), s, y);
120
130
  }
121
- if (Wn(e)) {
131
+ if (Gn(e)) {
122
132
  var F = [];
123
133
  return Ir && Ir.call(e, function(x) {
124
134
  F.push(m(x, e));
125
- }), Wr("Set", Ce.call(e), F, y);
135
+ }), qr("Set", Te.call(e), F, y);
126
136
  }
127
- if (Un(e))
128
- return qe("WeakMap");
129
- if (kn(e))
130
- return qe("WeakSet");
131
137
  if (qn(e))
132
- return qe("WeakRef");
133
- if (xn(e))
134
- return fe(m(Number(e)));
138
+ return ke("WeakMap");
139
+ if (jn(e))
140
+ return ke("WeakSet");
141
+ if (Wn(e))
142
+ return ke("WeakRef");
135
143
  if (Mn(e))
136
- return fe(m(ar.call(e)));
144
+ return fe(m(Number(e)));
145
+ if (Ln(e))
146
+ return fe(m(or.call(e)));
147
+ if (Dn(e))
148
+ return fe(Pn.call(e));
137
149
  if (Fn(e))
138
- return fe(En.call(e));
139
- if (Nn(e))
140
150
  return fe(m(String(e)));
141
151
  if (typeof window < "u" && e === window)
142
152
  return "{ [object Window] }";
143
- if (typeof globalThis < "u" && e === globalThis || typeof $r < "u" && e === $r)
153
+ if (typeof globalThis < "u" && e === globalThis || typeof wr < "u" && e === wr)
144
154
  return "{ [object globalThis] }";
145
- if (!_n(e) && !qr(e)) {
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
- return B.length === 0 ? N + "{}" : y ? N + "{" + ur(B, y) + "}" : N + "{ " + L.call(B, ", ") + " }";
155
+ if (!Nn(e) && !kr(e)) {
156
+ var B = Ae(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", W = !M && ye && Object(e) === e && ye in e ? gr.call(Y(e), 8, -1) : q ? "Object" : "", K = M || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = K + (W || q ? "[" + L.call(Fr.call([], W || [], q || []), ": ") + "] " : "");
157
+ return B.length === 0 ? N + "{}" : y ? N + "{" + cr(B, y) + "}" : N + "{ " + L.call(B, ", ") + " }";
148
158
  }
149
159
  return String(e);
150
160
  };
151
- function pt(r, e, t) {
152
- var n = t.quoteStyle || e, a = st[n];
161
+ function st(r, e, t) {
162
+ var n = t.quoteStyle || e, a = ft[n];
153
163
  return a + r + a;
154
164
  }
155
- function Tn(r) {
165
+ function In(r) {
156
166
  return H.call(String(r), /"/g, "&quot;");
157
167
  }
158
168
  function X(r) {
159
169
  return !ye || !(typeof r == "object" && (ye in r || typeof r[ye] < "u"));
160
170
  }
161
- function lr(r) {
171
+ function ur(r) {
162
172
  return Y(r) === "[object Array]" && X(r);
163
173
  }
164
- function _n(r) {
174
+ function Nn(r) {
165
175
  return Y(r) === "[object Date]" && X(r);
166
176
  }
167
- function qr(r) {
177
+ function kr(r) {
168
178
  return Y(r) === "[object RegExp]" && X(r);
169
179
  }
170
- function In(r) {
180
+ function xn(r) {
171
181
  return Y(r) === "[object Error]" && X(r);
172
182
  }
173
- function Nn(r) {
183
+ function Fn(r) {
174
184
  return Y(r) === "[object String]" && X(r);
175
185
  }
176
- function xn(r) {
186
+ function Mn(r) {
177
187
  return Y(r) === "[object Number]" && X(r);
178
188
  }
179
- function Fn(r) {
189
+ function Dn(r) {
180
190
  return Y(r) === "[object Boolean]" && X(r);
181
191
  }
182
- function yt(r) {
192
+ function pt(r) {
183
193
  if (ie)
184
194
  return r && typeof r == "object" && r instanceof Symbol;
185
195
  if (typeof r == "symbol")
186
196
  return !0;
187
- if (!r || typeof r != "object" || !or)
197
+ if (!r || typeof r != "object" || !ir)
188
198
  return !1;
189
199
  try {
190
- return or.call(r), !0;
200
+ return ir.call(r), !0;
191
201
  } catch {
192
202
  }
193
203
  return !1;
194
204
  }
195
- function Mn(r) {
196
- if (!r || typeof r != "object" || !ar)
205
+ function Ln(r) {
206
+ if (!r || typeof r != "object" || !or)
197
207
  return !1;
198
208
  try {
199
- return ar.call(r), !0;
209
+ return or.call(r), !0;
200
210
  } catch {
201
211
  }
202
212
  return !1;
203
213
  }
204
- var Dn = Object.prototype.hasOwnProperty || function(r) {
214
+ var Bn = Object.prototype.hasOwnProperty || function(r) {
205
215
  return r in this;
206
216
  };
207
217
  function U(r, e) {
208
- return Dn.call(r, e);
218
+ return Bn.call(r, e);
209
219
  }
210
220
  function Y(r) {
211
- return On.call(r);
221
+ return $n.call(r);
212
222
  }
213
- function Ln(r) {
223
+ function Un(r) {
214
224
  if (r.name)
215
225
  return r.name;
216
- var e = $n.call(Pn.call(r), /^function\s*([\w$]+)/);
226
+ var e = Rn.call(wn.call(r), /^function\s*([\w$]+)/);
217
227
  return e ? e[1] : null;
218
228
  }
219
- function dt(r, e) {
229
+ function yt(r, e) {
220
230
  if (r.indexOf)
221
231
  return r.indexOf(e);
222
232
  for (var t = 0, n = r.length; t < n; t++)
@@ -224,13 +234,13 @@ function dt(r, e) {
224
234
  return t;
225
235
  return -1;
226
236
  }
227
- function Bn(r) {
237
+ function kn(r) {
228
238
  if (!Re || !r || typeof r != "object")
229
239
  return !1;
230
240
  try {
231
241
  Re.call(r);
232
242
  try {
233
- Ce.call(r);
243
+ Te.call(r);
234
244
  } catch {
235
245
  return !0;
236
246
  }
@@ -239,7 +249,7 @@ function Bn(r) {
239
249
  }
240
250
  return !1;
241
251
  }
242
- function Un(r) {
252
+ function qn(r) {
243
253
  if (!se || !r || typeof r != "object")
244
254
  return !1;
245
255
  try {
@@ -254,7 +264,7 @@ function Un(r) {
254
264
  }
255
265
  return !1;
256
266
  }
257
- function qn(r) {
267
+ function Wn(r) {
258
268
  if (!Nr || !r || typeof r != "object")
259
269
  return !1;
260
270
  try {
@@ -263,11 +273,11 @@ function qn(r) {
263
273
  }
264
274
  return !1;
265
275
  }
266
- function Wn(r) {
267
- if (!Ce || !r || typeof r != "object")
276
+ function Gn(r) {
277
+ if (!Te || !r || typeof r != "object")
268
278
  return !1;
269
279
  try {
270
- Ce.call(r);
280
+ Te.call(r);
271
281
  try {
272
282
  Re.call(r);
273
283
  } catch {
@@ -278,7 +288,7 @@ function Wn(r) {
278
288
  }
279
289
  return !1;
280
290
  }
281
- function kn(r) {
291
+ function jn(r) {
282
292
  if (!pe || !r || typeof r != "object")
283
293
  return !1;
284
294
  try {
@@ -293,20 +303,20 @@ function kn(r) {
293
303
  }
294
304
  return !1;
295
305
  }
296
- function Gn(r) {
306
+ function Vn(r) {
297
307
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
298
308
  }
299
- function mt(r, e) {
309
+ function dt(r, e) {
300
310
  if (r.length > e.maxStringLength) {
301
311
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
302
- return mt(vr.call(r, 0, e.maxStringLength), e) + n;
312
+ return dt(gr.call(r, 0, e.maxStringLength), e) + n;
303
313
  }
304
- var a = Cn[e.quoteStyle || "single"];
314
+ var a = _n[e.quoteStyle || "single"];
305
315
  a.lastIndex = 0;
306
- var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, jn);
307
- return pt(i, "single", e);
316
+ var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, zn);
317
+ return st(i, "single", e);
308
318
  }
309
- function jn(r) {
319
+ function zn(r) {
310
320
  var e = r.charCodeAt(0), t = {
311
321
  8: "b",
312
322
  9: "t",
@@ -314,26 +324,26 @@ function jn(r) {
314
324
  12: "f",
315
325
  13: "r"
316
326
  }[e];
317
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + wn.call(e.toString(16));
327
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Tn.call(e.toString(16));
318
328
  }
319
329
  function fe(r) {
320
330
  return "Object(" + r + ")";
321
331
  }
322
- function qe(r) {
332
+ function ke(r) {
323
333
  return r + " { ? }";
324
334
  }
325
- function Wr(r, e, t, n) {
326
- var a = n ? ur(t, n) : L.call(t, ", ");
335
+ function qr(r, e, t, n) {
336
+ var a = n ? cr(t, n) : L.call(t, ", ");
327
337
  return r + " (" + e + ") {" + a + "}";
328
338
  }
329
- function Vn(r) {
339
+ function Hn(r) {
330
340
  for (var e = 0; e < r.length; e++)
331
- if (dt(r[e], `
341
+ if (yt(r[e], `
332
342
  `) >= 0)
333
343
  return !1;
334
344
  return !0;
335
345
  }
336
- function zn(r, e) {
346
+ function Yn(r, e) {
337
347
  var t;
338
348
  if (r.indent === " ")
339
349
  t = " ";
@@ -346,7 +356,7 @@ function zn(r, e) {
346
356
  prev: L.call(Array(e + 1), t)
347
357
  };
348
358
  }
349
- function ur(r, e) {
359
+ function cr(r, e) {
350
360
  if (r.length === 0)
351
361
  return "";
352
362
  var t = `
@@ -354,8 +364,8 @@ function ur(r, e) {
354
364
  return t + L.call(r, "," + t) + `
355
365
  ` + e.prev;
356
366
  }
357
- function Ee(r, e) {
358
- var t = lr(r), n = [];
367
+ function Ae(r, e) {
368
+ var t = ur(r), n = [];
359
369
  if (t) {
360
370
  n.length = r.length;
361
371
  for (var a = 0; a < r.length; a++)
@@ -368,23 +378,23 @@ function Ee(r, e) {
368
378
  c["$" + i[l]] = i[l];
369
379
  }
370
380
  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))));
381
+ 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
382
  if (typeof Ue == "function")
373
383
  for (var u = 0; u < i.length; u++)
374
- ft.call(r, i[u]) && n.push("[" + e(i[u]) + "]: " + e(r[i[u]], r));
384
+ ct.call(r, i[u]) && n.push("[" + e(i[u]) + "]: " + e(r[i[u]], r));
375
385
  return n;
376
386
  }
377
- var Hn = Ne, Yn = ce, xe = function(r, e, t) {
387
+ var Kn = Ne, Qn = ce, xe = function(r, e, t) {
378
388
  for (var n = r, a; (a = n.next) != null; n = a)
379
389
  if (a.key === e)
380
390
  return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
381
391
  r.next, r.next = a), a;
382
- }, Kn = function(r, e) {
392
+ }, Jn = function(r, e) {
383
393
  if (r) {
384
394
  var t = xe(r, e);
385
395
  return t && t.value;
386
396
  }
387
- }, Qn = function(r, e, t) {
397
+ }, Xn = function(r, e, t) {
388
398
  var n = xe(r, e);
389
399
  n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
390
400
  {
@@ -393,31 +403,31 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
393
403
  next: r.next,
394
404
  value: t
395
405
  };
396
- }, Jn = function(r, e) {
406
+ }, Zn = function(r, e) {
397
407
  return r ? !!xe(r, e) : !1;
398
- }, Xn = function(r, e) {
408
+ }, ea = function(r, e) {
399
409
  if (r)
400
410
  return xe(r, e, !0);
401
- }, Zn = function() {
411
+ }, ra = function() {
402
412
  var e, t = {
403
413
  assert: function(n) {
404
414
  if (!t.has(n))
405
- throw new Yn("Side channel does not contain " + Hn(n));
415
+ throw new Qn("Side channel does not contain " + Kn(n));
406
416
  },
407
417
  delete: function(n) {
408
- var a = e && e.next, i = Xn(e, n);
418
+ var a = e && e.next, i = ea(e, n);
409
419
  return i && a && a === i && (e = void 0), !!i;
410
420
  },
411
421
  get: function(n) {
412
- return Kn(e, n);
422
+ return Jn(e, n);
413
423
  },
414
424
  has: function(n) {
415
- return Jn(e, n);
425
+ return Zn(e, n);
416
426
  },
417
427
  set: function(n, a) {
418
428
  e || (e = {
419
429
  next: void 0
420
- }), Qn(
430
+ }), Xn(
421
431
  /** @type {NonNullable<typeof $o>} */
422
432
  e,
423
433
  n,
@@ -426,27 +436,27 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
426
436
  }
427
437
  };
428
438
  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) {
439
+ }, mt = Object, ta = Error, na = EvalError, aa = RangeError, oa = ReferenceError, ia = SyntaxError, la = URIError, ua = Math.abs, ca = Math.floor, fa = Math.max, sa = Math.min, pa = Math.pow, ya = Math.round, da = Number.isNaN || function(e) {
430
440
  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;
441
+ }, ma = da, va = function(e) {
442
+ return ma(e) || e === 0 ? e : e < 0 ? -1 : 1;
443
+ }, ga = Object.getOwnPropertyDescriptor, Pe = ga;
434
444
  if (Pe)
435
445
  try {
436
446
  Pe([], "length");
437
447
  } catch {
438
448
  Pe = null;
439
449
  }
440
- var gt = Pe, $e = Object.defineProperty || !1;
450
+ var vt = Pe, $e = Object.defineProperty || !1;
441
451
  if ($e)
442
452
  try {
443
453
  $e({}, "a", { value: 1 });
444
454
  } catch {
445
455
  $e = !1;
446
456
  }
447
- var va = $e, We, kr;
448
- function ga() {
449
- return kr || (kr = 1, We = function() {
457
+ var ha = $e, qe, Wr;
458
+ function Sa() {
459
+ return Wr || (Wr = 1, qe = function() {
450
460
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
451
461
  return !1;
452
462
  if (typeof Symbol.iterator == "symbol")
@@ -472,30 +482,30 @@ function ga() {
472
482
  return !1;
473
483
  }
474
484
  return !0;
475
- }), We;
485
+ }), qe;
476
486
  }
477
- var ke, Gr;
478
- function ha() {
479
- if (Gr) return ke;
487
+ var We, Gr;
488
+ function ba() {
489
+ if (Gr) return We;
480
490
  Gr = 1;
481
- var r = typeof Symbol < "u" && Symbol, e = ga();
482
- return ke = function() {
491
+ var r = typeof Symbol < "u" && Symbol, e = Sa();
492
+ return We = function() {
483
493
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
484
- }, ke;
494
+ }, We;
485
495
  }
486
496
  var Ge, jr;
487
- function ht() {
497
+ function gt() {
488
498
  return jr || (jr = 1, Ge = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ge;
489
499
  }
490
500
  var je, Vr;
491
- function St() {
501
+ function ht() {
492
502
  if (Vr) return je;
493
503
  Vr = 1;
494
- var r = vt;
504
+ var r = mt;
495
505
  return je = r.getPrototypeOf || null, je;
496
506
  }
497
507
  var Ve, zr;
498
- function Sa() {
508
+ function Ea() {
499
509
  if (zr) return Ve;
500
510
  zr = 1;
501
511
  var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", a = function(f, u) {
@@ -532,9 +542,9 @@ function Sa() {
532
542
  }, h = t(0, u.length - p.length), v = [], P = 0; P < h; P++)
533
543
  v[P] = "$" + P;
534
544
  if (y = Function("binder", "return function (" + c(v, ",") + "){ return binder.apply(this,arguments); }")(m), u.prototype) {
535
- var C = function() {
545
+ var T = function() {
536
546
  };
537
- C.prototype = u.prototype, y.prototype = new C(), C.prototype = null;
547
+ T.prototype = u.prototype, y.prototype = new T(), T.prototype = null;
538
548
  }
539
549
  return y;
540
550
  }, Ve;
@@ -543,26 +553,26 @@ var ze, Hr;
543
553
  function Fe() {
544
554
  if (Hr) return ze;
545
555
  Hr = 1;
546
- var r = Sa();
556
+ var r = Ea();
547
557
  return ze = Function.prototype.bind || r, ze;
548
558
  }
549
559
  var He, Yr;
550
- function gr() {
560
+ function hr() {
551
561
  return Yr || (Yr = 1, He = Function.prototype.call), He;
552
562
  }
553
563
  var Ye, Kr;
554
- function bt() {
564
+ function St() {
555
565
  return Kr || (Kr = 1, Ye = Function.prototype.apply), Ye;
556
566
  }
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) {
567
+ var Aa = typeof Reflect < "u" && Reflect && Reflect.apply, Oa = Fe(), Pa = St(), $a = hr(), wa = Aa, Ra = wa || Oa.call($a, Pa), Ta = Fe(), Ca = ce, _a = hr(), Ia = Ra, bt = function(e) {
558
568
  if (e.length < 1 || typeof e[0] != "function")
559
- throw new Ra("a function is required");
560
- return Ta(wa, Ca, e);
569
+ throw new Ca("a function is required");
570
+ return Ia(Ta, _a, e);
561
571
  }, Ke, Qr;
562
- function _a() {
572
+ function Na() {
563
573
  if (Qr) return Ke;
564
574
  Qr = 1;
565
- var r = At, e = gt, t;
575
+ var r = bt, e = vt, t;
566
576
  try {
567
577
  t = /** @type {{ __proto__?: typeof Array.prototype }} */
568
578
  [].__proto__ === Array.prototype;
@@ -583,10 +593,10 @@ function _a() {
583
593
  ) : !1, Ke;
584
594
  }
585
595
  var Qe, Jr;
586
- function Ia() {
596
+ function xa() {
587
597
  if (Jr) return Qe;
588
598
  Jr = 1;
589
- var r = ht(), e = St(), t = _a();
599
+ var r = gt(), e = ht(), t = Na();
590
600
  return Qe = r ? function(a) {
591
601
  return r(a);
592
602
  } : e ? function(a) {
@@ -598,20 +608,20 @@ function Ia() {
598
608
  } : null, Qe;
599
609
  }
600
610
  var Je, Xr;
601
- function Na() {
611
+ function Fa() {
602
612
  if (Xr) return Je;
603
613
  Xr = 1;
604
614
  var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Fe();
605
615
  return Je = t.call(r, e), Je;
606
616
  }
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) {
617
+ var S, Ma = mt, Da = ta, La = na, Ba = aa, Ua = oa, le = ia, ae = ce, ka = la, qa = ua, Wa = ca, Ga = fa, ja = sa, Va = pa, za = ya, Ha = va, Et = Function, Xe = function(r) {
608
618
  try {
609
619
  return Et('"use strict"; return (' + r + ").constructor;")();
610
620
  } catch {
611
621
  }
612
- }, me = gt, za = va, Ze = function() {
622
+ }, me = vt, Ya = ha, Ze = function() {
613
623
  throw new ae();
614
- }, Ha = me ? function() {
624
+ }, Ka = me ? function() {
615
625
  try {
616
626
  return arguments.callee, Ze;
617
627
  } catch {
@@ -621,7 +631,7 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
621
631
  return Ze;
622
632
  }
623
633
  }
624
- }() : Ze, re = ha()(), R = Ia(), Ya = St(), Ka = ht(), Ot = bt(), ve = gr(), ne = {}, Qa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
634
+ }() : Ze, re = ba()(), R = xa(), Qa = ht(), Ja = gt(), At = St(), ve = hr(), ne = {}, Xa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
625
635
  __proto__: null,
626
636
  "%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
627
637
  "%Array%": Array,
@@ -643,10 +653,10 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
643
653
  "%decodeURIComponent%": decodeURIComponent,
644
654
  "%encodeURI%": encodeURI,
645
655
  "%encodeURIComponent%": encodeURIComponent,
646
- "%Error%": Fa,
656
+ "%Error%": Da,
647
657
  "%eval%": eval,
648
658
  // eslint-disable-line no-eval
649
- "%EvalError%": Ma,
659
+ "%EvalError%": La,
650
660
  "%Float16Array%": typeof Float16Array > "u" ? S : Float16Array,
651
661
  "%Float32Array%": typeof Float32Array > "u" ? S : Float32Array,
652
662
  "%Float64Array%": typeof Float64Array > "u" ? S : Float64Array,
@@ -664,14 +674,14 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
664
674
  "%MapIteratorPrototype%": typeof Map > "u" || !re || !R ? S : R((/* @__PURE__ */ new Map())[Symbol.iterator]()),
665
675
  "%Math%": Math,
666
676
  "%Number%": Number,
667
- "%Object%": xa,
677
+ "%Object%": Ma,
668
678
  "%Object.getOwnPropertyDescriptor%": me,
669
679
  "%parseFloat%": parseFloat,
670
680
  "%parseInt%": parseInt,
671
681
  "%Promise%": typeof Promise > "u" ? S : Promise,
672
682
  "%Proxy%": typeof Proxy > "u" ? S : Proxy,
673
- "%RangeError%": Da,
674
- "%ReferenceError%": La,
683
+ "%RangeError%": Ba,
684
+ "%ReferenceError%": Ua,
675
685
  "%Reflect%": typeof Reflect > "u" ? S : Reflect,
676
686
  "%RegExp%": RegExp,
677
687
  "%Set%": typeof Set > "u" ? S : Set,
@@ -681,38 +691,38 @@ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, U
681
691
  "%StringIteratorPrototype%": re && R ? R(""[Symbol.iterator]()) : S,
682
692
  "%Symbol%": re ? Symbol : S,
683
693
  "%SyntaxError%": le,
684
- "%ThrowTypeError%": Ha,
685
- "%TypedArray%": Qa,
694
+ "%ThrowTypeError%": Ka,
695
+ "%TypedArray%": Xa,
686
696
  "%TypeError%": ae,
687
697
  "%Uint8Array%": typeof Uint8Array > "u" ? S : Uint8Array,
688
698
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? S : Uint8ClampedArray,
689
699
  "%Uint16Array%": typeof Uint16Array > "u" ? S : Uint16Array,
690
700
  "%Uint32Array%": typeof Uint32Array > "u" ? S : Uint32Array,
691
- "%URIError%": Ba,
701
+ "%URIError%": ka,
692
702
  "%WeakMap%": typeof WeakMap > "u" ? S : WeakMap,
693
703
  "%WeakRef%": typeof WeakRef > "u" ? S : WeakRef,
694
704
  "%WeakSet%": typeof WeakSet > "u" ? S : WeakSet,
695
705
  "%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
706
+ "%Function.prototype.apply%": At,
707
+ "%Object.defineProperty%": Ya,
708
+ "%Object.getPrototypeOf%": Qa,
709
+ "%Math.abs%": qa,
710
+ "%Math.floor%": Wa,
711
+ "%Math.max%": Ga,
712
+ "%Math.min%": ja,
713
+ "%Math.pow%": Va,
714
+ "%Math.round%": za,
715
+ "%Math.sign%": Ha,
716
+ "%Reflect.getPrototypeOf%": Ja
707
717
  };
708
718
  if (R)
709
719
  try {
710
720
  null.error;
711
721
  } catch (r) {
712
- var Ja = R(R(r));
713
- J["%Error.prototype%"] = Ja;
722
+ var Za = R(R(r));
723
+ J["%Error.prototype%"] = Za;
714
724
  }
715
- var Xa = function r(e) {
725
+ var eo = function r(e) {
716
726
  var t;
717
727
  if (e === "%AsyncFunction%")
718
728
  t = Xe("async function () {}");
@@ -781,21 +791,21 @@ var Xa = function r(e) {
781
791
  "%URIErrorPrototype%": ["URIError", "prototype"],
782
792
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
783
793
  "%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) {
794
+ }, ge = Fe(), Ce = Fa(), ro = ge.call(ve, Array.prototype.concat), to = ge.call(At, Array.prototype.splice), et = ge.call(ve, String.prototype.replace), _e = ge.call(ve, String.prototype.slice), no = ge.call(ve, RegExp.prototype.exec), ao = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, oo = /\\(\\)?/g, io = function(e) {
785
795
  var t = _e(e, 0, 1), n = _e(e, -1);
786
796
  if (t === "%" && n !== "%")
787
797
  throw new le("invalid intrinsic syntax, expected closing `%`");
788
798
  if (n === "%" && t !== "%")
789
799
  throw new le("invalid intrinsic syntax, expected opening `%`");
790
800
  var a = [];
791
- return et(e, to, function(i, c, l, f) {
792
- a[a.length] = l ? et(f, no, "$1") : c || i;
801
+ return et(e, ao, function(i, c, l, f) {
802
+ a[a.length] = l ? et(f, oo, "$1") : c || i;
793
803
  }), a;
794
- }, oo = function(e, t) {
804
+ }, lo = function(e, t) {
795
805
  var n = e, a;
796
- if (Te(Zr, n) && (a = Zr[n], n = "%" + a[0] + "%"), Te(J, n)) {
806
+ if (Ce(Zr, n) && (a = Zr[n], n = "%" + a[0] + "%"), Ce(J, n)) {
797
807
  var i = J[n];
798
- if (i === ne && (i = Xa(n)), typeof i > "u" && !t)
808
+ if (i === ne && (i = eo(n)), typeof i > "u" && !t)
799
809
  throw new ae("intrinsic " + e + " exists, but is not available. Please file an issue!");
800
810
  return {
801
811
  alias: a,
@@ -804,20 +814,20 @@ var Xa = function r(e) {
804
814
  };
805
815
  }
806
816
  throw new le("intrinsic " + e + " does not exist!");
807
- }, hr = function(e, t) {
817
+ }, Sr = function(e, t) {
808
818
  if (typeof e != "string" || e.length === 0)
809
819
  throw new ae("intrinsic name must be a non-empty string");
810
820
  if (arguments.length > 1 && typeof t != "boolean")
811
821
  throw new ae('"allowMissing" argument must be a boolean');
812
- if (ro(/^%?[^%]*%?$/, e) === null)
822
+ if (no(/^%?[^%]*%?$/, e) === null)
813
823
  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)));
824
+ var n = io(e), a = n.length > 0 ? n[0] : "", i = lo("%" + a + "%", t), c = i.name, l = i.value, f = !1, u = i.alias;
825
+ u && (a = u[0], to(n, ro([0, 1], u)));
816
826
  for (var p = 1, y = !0; p < n.length; p += 1) {
817
827
  var m = n[p], h = _e(m, 0, 1), v = _e(m, -1);
818
828
  if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
819
829
  throw new le("property names with quotes must have matching quotes");
820
- if ((m === "constructor" || !y) && (f = !0), a += "." + m, c = "%" + a + "%", Te(J, c))
830
+ if ((m === "constructor" || !y) && (f = !0), a += "." + m, c = "%" + a + "%", Ce(J, c))
821
831
  l = J[c];
822
832
  else if (l != null) {
823
833
  if (!(m in l)) {
@@ -829,79 +839,79 @@ var Xa = function r(e) {
829
839
  var P = me(l, m);
830
840
  y = !!P, y && "get" in P && !("originalValue" in P.get) ? l = P.get : l = l[m];
831
841
  } else
832
- y = Te(l, m), l = l[m];
842
+ y = Ce(l, m), l = l[m];
833
843
  y && !f && (J[c] = l);
834
844
  }
835
845
  }
836
846
  return l;
837
- }, Pt = hr, $t = At, io = $t([Pt("%String.prototype.indexOf%")]), wt = function(e, t) {
847
+ }, Ot = Sr, Pt = bt, uo = Pt([Ot("%String.prototype.indexOf%")]), $t = function(e, t) {
838
848
  var n = (
839
849
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
840
- Pt(e, !!t)
850
+ Ot(e, !!t)
841
851
  );
842
- return typeof n == "function" && io(e, ".prototype.") > -1 ? $t(
852
+ return typeof n == "function" && uo(e, ".prototype.") > -1 ? Pt(
843
853
  /** @type {const} */
844
854
  [n]
845
855
  ) : 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>} */
856
+ }, co = Sr, he = $t, fo = Ne, so = ce, rt = co("%Map%", !0), po = he("Map.prototype.get", !0), yo = he("Map.prototype.set", !0), mo = he("Map.prototype.has", !0), vo = he("Map.prototype.delete", !0), go = he("Map.prototype.size", !0), wt = !!rt && /** @type {Exclude<import('.'), false>} */
847
857
  function() {
848
858
  var e, t = {
849
859
  assert: function(n) {
850
860
  if (!t.has(n))
851
- throw new co("Side channel does not contain " + uo(n));
861
+ throw new so("Side channel does not contain " + fo(n));
852
862
  },
853
863
  delete: function(n) {
854
864
  if (e) {
855
- var a = yo(e, n);
856
- return mo(e) === 0 && (e = void 0), a;
865
+ var a = vo(e, n);
866
+ return go(e) === 0 && (e = void 0), a;
857
867
  }
858
868
  return !1;
859
869
  },
860
870
  get: function(n) {
861
871
  if (e)
862
- return fo(e, n);
872
+ return po(e, n);
863
873
  },
864
874
  has: function(n) {
865
- return e ? po(e, n) : !1;
875
+ return e ? mo(e, n) : !1;
866
876
  },
867
877
  set: function(n, a) {
868
- e || (e = new rt()), so(e, n, a);
878
+ e || (e = new rt()), yo(e, n, a);
869
879
  }
870
880
  };
871
881
  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 ? (
882
+ }, ho = Sr, Me = $t, So = Ne, Oe = wt, bo = ce, te = ho("%WeakMap%", !0), Eo = Me("WeakMap.prototype.get", !0), Ao = Me("WeakMap.prototype.set", !0), Oo = Me("WeakMap.prototype.has", !0), Po = Me("WeakMap.prototype.delete", !0), $o = te ? (
873
883
  /** @type {Exclude<import('.'), false>} */
874
884
  function() {
875
885
  var e, t, n = {
876
886
  assert: function(a) {
877
887
  if (!n.has(a))
878
- throw new ho("Side channel does not contain " + go(a));
888
+ throw new bo("Side channel does not contain " + So(a));
879
889
  },
880
890
  delete: function(a) {
881
891
  if (te && a && (typeof a == "object" || typeof a == "function")) {
882
892
  if (e)
883
- return Eo(e, a);
893
+ return Po(e, a);
884
894
  } else if (Oe && t)
885
895
  return t.delete(a);
886
896
  return !1;
887
897
  },
888
898
  get: function(a) {
889
- return te && a && (typeof a == "object" || typeof a == "function") && e ? So(e, a) : t && t.get(a);
899
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? Eo(e, a) : t && t.get(a);
890
900
  },
891
901
  has: function(a) {
892
- return te && a && (typeof a == "object" || typeof a == "function") && e ? Ao(e, a) : !!t && t.has(a);
902
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? Oo(e, a) : !!t && t.has(a);
893
903
  },
894
904
  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));
905
+ te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), Ao(e, a, i)) : Oe && (t || (t = Oe()), t.set(a, i));
896
906
  }
897
907
  };
898
908
  return n;
899
909
  }
900
- ) : Oe, Po = ce, $o = Ne, wo = Zn, Ro = Rt, Co = Oo, To = Co || Ro || wo, _o = function() {
910
+ ) : Oe, wo = ce, Ro = Ne, To = ra, Co = wt, _o = $o, Io = _o || Co || To, No = function() {
901
911
  var e, t = {
902
912
  assert: function(n) {
903
913
  if (!t.has(n))
904
- throw new Po("Side channel does not contain " + $o(n));
914
+ throw new wo("Side channel does not contain " + Ro(n));
905
915
  },
906
916
  delete: function(n) {
907
917
  return !!e && e.delete(n);
@@ -913,18 +923,18 @@ function() {
913
923
  return !!e && e.has(n);
914
924
  },
915
925
  set: function(n, a) {
916
- e || (e = To()), e.set(n, a);
926
+ e || (e = Io()), e.set(n, a);
917
927
  }
918
928
  };
919
929
  return t;
920
- }, Io = String.prototype.replace, No = /%20/g, er = {
930
+ }, xo = String.prototype.replace, Fo = /%20/g, er = {
921
931
  RFC1738: "RFC1738",
922
932
  RFC3986: "RFC3986"
923
- }, Sr = {
933
+ }, br = {
924
934
  default: er.RFC3986,
925
935
  formatters: {
926
936
  RFC1738: function(r) {
927
- return Io.call(r, No, "+");
937
+ return xo.call(r, Fo, "+");
928
938
  },
929
939
  RFC3986: function(r) {
930
940
  return String(r);
@@ -932,11 +942,11 @@ function() {
932
942
  },
933
943
  RFC1738: er.RFC1738,
934
944
  RFC3986: er.RFC3986
935
- }, xo = Sr, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
945
+ }, Mo = br, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
936
946
  for (var r = [], e = 0; e < 256; ++e)
937
947
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
938
948
  return r;
939
- }(), Fo = function(e) {
949
+ }(), Do = function(e) {
940
950
  for (; e.length > 1; ) {
941
951
  var t = e.pop(), n = t.obj[t.prop];
942
952
  if (Q(n)) {
@@ -945,11 +955,11 @@ function() {
945
955
  t.obj[t.prop] = a;
946
956
  }
947
957
  }
948
- }, Ct = function(e, t) {
958
+ }, Rt = function(e, t) {
949
959
  for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = 0; a < e.length; ++a)
950
960
  typeof e[a] < "u" && (n[a] = e[a]);
951
961
  return n;
952
- }, Mo = function r(e, t, n) {
962
+ }, Lo = function r(e, t, n) {
953
963
  if (!t)
954
964
  return e;
955
965
  if (typeof t != "object") {
@@ -964,7 +974,7 @@ function() {
964
974
  if (!e || typeof e != "object")
965
975
  return [e].concat(t);
966
976
  var a = e;
967
- return Q(e) && !Q(t) && (a = Ct(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
977
+ return Q(e) && !Q(t) && (a = Rt(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
968
978
  if (rr.call(e, c)) {
969
979
  var l = e[c];
970
980
  l && typeof l == "object" && i && typeof i == "object" ? e[c] = r(l, i, n) : e.push(i);
@@ -974,11 +984,11 @@ function() {
974
984
  var l = t[c];
975
985
  return rr.call(i, c) ? i[c] = r(i[c], l, n) : i[c] = l, i;
976
986
  }, a);
977
- }, Do = function(e, t) {
987
+ }, Bo = function(e, t) {
978
988
  return Object.keys(t).reduce(function(n, a) {
979
989
  return n[a] = t[a], n;
980
990
  }, e);
981
- }, Lo = function(r, e, t) {
991
+ }, Uo = function(r, e, t) {
982
992
  var n = r.replace(/\+/g, " ");
983
993
  if (t === "iso-8859-1")
984
994
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -987,7 +997,7 @@ function() {
987
997
  } catch {
988
998
  return n;
989
999
  }
990
- }, Bo = function(e, t, n, a, i) {
1000
+ }, ko = function(e, t, n, a, i) {
991
1001
  if (e.length === 0)
992
1002
  return e;
993
1003
  var c = e;
@@ -997,7 +1007,7 @@ function() {
997
1007
  });
998
1008
  for (var l = "", f = 0; f < c.length; ++f) {
999
1009
  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)) {
1010
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === Mo.RFC1738 && (u === 40 || u === 41)) {
1001
1011
  l += c.charAt(f);
1002
1012
  continue;
1003
1013
  }
@@ -1016,20 +1026,20 @@ function() {
1016
1026
  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
1027
  }
1018
1028
  return l;
1019
- }, Uo = function(e) {
1029
+ }, qo = function(e) {
1020
1030
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1021
1031
  for (var i = t[a], c = i.obj[i.prop], l = Object.keys(c), f = 0; f < l.length; ++f) {
1022
1032
  var u = l[f], p = c[u];
1023
1033
  typeof p == "object" && p !== null && n.indexOf(p) === -1 && (t.push({ obj: c, prop: u }), n.push(p));
1024
1034
  }
1025
- return Fo(t), e;
1026
- }, qo = function(e) {
1027
- return Object.prototype.toString.call(e) === "[object RegExp]";
1035
+ return Do(t), e;
1028
1036
  }, Wo = function(e) {
1037
+ return Object.prototype.toString.call(e) === "[object RegExp]";
1038
+ }, Go = function(e) {
1029
1039
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1030
- }, ko = function(e, t) {
1040
+ }, jo = function(e, t) {
1031
1041
  return [].concat(e, t);
1032
- }, Go = function(e, t) {
1042
+ }, Vo = function(e, t) {
1033
1043
  if (Q(e)) {
1034
1044
  for (var n = [], a = 0; a < e.length; a += 1)
1035
1045
  n.push(t(e[a]));
@@ -1037,17 +1047,17 @@ function() {
1037
1047
  }
1038
1048
  return t(e);
1039
1049
  }, 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 = {
1050
+ arrayToObject: Rt,
1051
+ assign: Bo,
1052
+ combine: jo,
1053
+ compact: qo,
1054
+ decode: Uo,
1055
+ encode: ko,
1056
+ isBuffer: Go,
1057
+ isRegExp: Wo,
1058
+ maybeMap: Vo,
1059
+ merge: Lo
1060
+ }, Ct = No, we = Tt, de = br, zo = Object.prototype.hasOwnProperty, tt = {
1051
1061
  brackets: function(e) {
1052
1062
  return e + "[]";
1053
1063
  },
@@ -1058,9 +1068,9 @@ function() {
1058
1068
  repeat: function(e) {
1059
1069
  return e;
1060
1070
  }
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 = {
1071
+ }, k = Array.isArray, Ho = Array.prototype.push, _t = function(r, e) {
1072
+ Ho.apply(r, k(e) ? e : [e]);
1073
+ }, Yo = Date.prototype.toISOString, nt = de.default, C = {
1064
1074
  addQueryPrefix: !1,
1065
1075
  allowDots: !1,
1066
1076
  charset: "utf-8",
@@ -1074,14 +1084,14 @@ function() {
1074
1084
  // deprecated
1075
1085
  indices: !1,
1076
1086
  serializeDate: function(e) {
1077
- return zo.call(e);
1087
+ return Yo.call(e);
1078
1088
  },
1079
1089
  skipNulls: !1,
1080
1090
  strictNullHandling: !1
1081
- }, Ho = function(e) {
1091
+ }, Ko = function(e) {
1082
1092
  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) {
1084
- for (var g = e, I = C, O = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1093
+ }, tr = {}, Qo = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, P, T) {
1094
+ for (var g = e, I = T, O = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1085
1095
  var s = I.get(e);
1086
1096
  if (O += 1, typeof s < "u") {
1087
1097
  if (s === O)
@@ -1090,17 +1100,17 @@ function() {
1090
1100
  }
1091
1101
  typeof I.get(tr) > "u" && (O = 0);
1092
1102
  }
1093
- if (typeof f == "function" ? g = f(t, g) : g instanceof Date ? g = y(g) : n === "comma" && q(g) && (g = we.maybeMap(g, function(j) {
1103
+ if (typeof f == "function" ? g = f(t, g) : g instanceof Date ? g = y(g) : n === "comma" && k(g) && (g = we.maybeMap(g, function(j) {
1094
1104
  return j instanceof Date ? y(j) : j;
1095
1105
  })), g === null) {
1096
1106
  if (i)
1097
- return l && !v ? l(t, T.encoder, P, "key", m) : t;
1107
+ return l && !v ? l(t, C.encoder, P, "key", m) : t;
1098
1108
  g = "";
1099
1109
  }
1100
- if (Ho(g) || we.isBuffer(g)) {
1110
+ if (Ko(g) || we.isBuffer(g)) {
1101
1111
  if (l) {
1102
- var F = v ? t : l(t, T.encoder, P, "key", m);
1103
- return [h(F) + "=" + h(l(g, T.encoder, P, "value", m))];
1112
+ var F = v ? t : l(t, C.encoder, P, "key", m);
1113
+ return [h(F) + "=" + h(l(g, C.encoder, P, "value", m))];
1104
1114
  }
1105
1115
  return [h(t) + "=" + h(String(g))];
1106
1116
  }
@@ -1108,28 +1118,28 @@ function() {
1108
1118
  if (typeof g > "u")
1109
1119
  return B;
1110
1120
  var M;
1111
- if (n === "comma" && q(g))
1121
+ if (n === "comma" && k(g))
1112
1122
  v && l && (g = we.maybeMap(g, l)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
1113
- else if (q(f))
1123
+ else if (k(f))
1114
1124
  M = f;
1115
1125
  else {
1116
- var W = Object.keys(g);
1117
- M = u ? W.sort(u) : W;
1126
+ var q = Object.keys(g);
1127
+ M = u ? q.sort(u) : q;
1118
1128
  }
1119
- for (var k = a && q(g) && g.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1129
+ for (var W = a && k(g) && g.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1120
1130
  var N = M[K], x = typeof N == "object" && typeof N.value < "u" ? N.value : g[N];
1121
1131
  if (!(c && x === null)) {
1122
- var G = q(g) ? typeof n == "function" ? n(k, N) : k : k + (p ? "." + N : "[" + N + "]");
1123
- C.set(e, O);
1124
- var Z = _t();
1125
- Z.set(tr, C), It(B, r(
1132
+ var G = k(g) ? typeof n == "function" ? n(W, N) : W : W + (p ? "." + N : "[" + N + "]");
1133
+ T.set(e, O);
1134
+ var Z = Ct();
1135
+ Z.set(tr, T), _t(B, r(
1126
1136
  x,
1127
1137
  G,
1128
1138
  n,
1129
1139
  a,
1130
1140
  i,
1131
1141
  c,
1132
- n === "comma" && v && q(g) ? null : l,
1142
+ n === "comma" && v && k(g) ? null : l,
1133
1143
  f,
1134
1144
  u,
1135
1145
  p,
@@ -1143,41 +1153,41 @@ function() {
1143
1153
  }
1144
1154
  }
1145
1155
  return B;
1146
- }, Ko = function(e) {
1156
+ }, Jo = function(e) {
1147
1157
  if (!e)
1148
- return T;
1158
+ return C;
1149
1159
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1150
1160
  throw new TypeError("Encoder has to be a function.");
1151
- var t = e.charset || T.charset;
1161
+ var t = e.charset || C.charset;
1152
1162
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1153
1163
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1154
1164
  var n = de.default;
1155
1165
  if (typeof e.format < "u") {
1156
- if (!jo.call(de.formatters, e.format))
1166
+ if (!zo.call(de.formatters, e.format))
1157
1167
  throw new TypeError("Unknown format option provided.");
1158
1168
  n = e.format;
1159
1169
  }
1160
- var a = de.formatters[n], i = T.filter;
1161
- return (typeof e.filter == "function" || q(e.filter)) && (i = e.filter), {
1162
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : T.addQueryPrefix,
1163
- allowDots: typeof e.allowDots > "u" ? T.allowDots : !!e.allowDots,
1170
+ var a = de.formatters[n], i = C.filter;
1171
+ return (typeof e.filter == "function" || k(e.filter)) && (i = e.filter), {
1172
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : C.addQueryPrefix,
1173
+ allowDots: typeof e.allowDots > "u" ? C.allowDots : !!e.allowDots,
1164
1174
  charset: t,
1165
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : T.charsetSentinel,
1166
- delimiter: typeof e.delimiter > "u" ? T.delimiter : e.delimiter,
1167
- encode: typeof e.encode == "boolean" ? e.encode : T.encode,
1168
- encoder: typeof e.encoder == "function" ? e.encoder : T.encoder,
1169
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : T.encodeValuesOnly,
1175
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : C.charsetSentinel,
1176
+ delimiter: typeof e.delimiter > "u" ? C.delimiter : e.delimiter,
1177
+ encode: typeof e.encode == "boolean" ? e.encode : C.encode,
1178
+ encoder: typeof e.encoder == "function" ? e.encoder : C.encoder,
1179
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : C.encodeValuesOnly,
1170
1180
  filter: i,
1171
1181
  format: n,
1172
1182
  formatter: a,
1173
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : T.serializeDate,
1174
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : T.skipNulls,
1183
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : C.serializeDate,
1184
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : C.skipNulls,
1175
1185
  sort: typeof e.sort == "function" ? e.sort : null,
1176
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : T.strictNullHandling
1186
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : C.strictNullHandling
1177
1187
  };
1178
- }, Qo = function(r, e) {
1179
- var t = r, n = Ko(e), a, i;
1180
- typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : q(n.filter) && (i = n.filter, a = i);
1188
+ }, Xo = function(r, e) {
1189
+ var t = r, n = Jo(e), a, i;
1190
+ typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : k(n.filter) && (i = n.filter, a = i);
1181
1191
  var c = [];
1182
1192
  if (typeof t != "object" || t === null)
1183
1193
  return "";
@@ -1188,9 +1198,9 @@ function() {
1188
1198
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1189
1199
  var u = f === "comma" && e && e.commaRoundTrip;
1190
1200
  a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1191
- for (var p = _t(), y = 0; y < a.length; ++y) {
1201
+ for (var p = Ct(), y = 0; y < a.length; ++y) {
1192
1202
  var m = a[y];
1193
- n.skipNulls && t[m] === null || It(c, Yo(
1203
+ n.skipNulls && t[m] === null || _t(c, Qo(
1194
1204
  t[m],
1195
1205
  m,
1196
1206
  f,
@@ -1211,7 +1221,7 @@ function() {
1211
1221
  }
1212
1222
  var h = c.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1213
1223
  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 = {
1224
+ }, ue = Tt, fr = Object.prototype.hasOwnProperty, Zo = Array.isArray, w = {
1215
1225
  allowDots: !1,
1216
1226
  allowPrototypes: !1,
1217
1227
  allowSparse: !1,
@@ -1228,30 +1238,30 @@ function() {
1228
1238
  parseArrays: !0,
1229
1239
  plainObjects: !1,
1230
1240
  strictNullHandling: !1
1231
- }, Xo = function(r) {
1241
+ }, ei = function(r) {
1232
1242
  return r.replace(/&#(\d+);/g, function(e, t) {
1233
1243
  return String.fromCharCode(parseInt(t, 10));
1234
1244
  });
1235
- }, Nt = function(r, e) {
1245
+ }, It = function(r, e) {
1236
1246
  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) {
1247
+ }, ri = "utf8=%26%2310003%3B", ti = "utf8=%E2%9C%93", ni = function(e, t) {
1238
1248
  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
1249
  if (t.charsetSentinel)
1240
1250
  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);
1251
+ c[f].indexOf("utf8=") === 0 && (c[f] === ti ? u = "utf-8" : c[f] === ri && (u = "iso-8859-1"), l = f, f = c.length);
1242
1252
  for (f = 0; f < c.length; ++f)
1243
1253
  if (f !== l) {
1244
1254
  var p = c[f], y = p.indexOf("]="), m = y === -1 ? p.indexOf("=") : y + 1, h, v;
1245
1255
  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),
1256
+ It(p.slice(m + 1), t),
1247
1257
  function(P) {
1248
1258
  return t.decoder(P, w.decoder, u, "value");
1249
1259
  }
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;
1260
+ )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = ei(v)), p.indexOf("[]=") > -1 && (v = Zo(v) ? [v] : v), fr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1251
1261
  }
1252
1262
  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) {
1263
+ }, ai = function(r, e, t, n) {
1264
+ for (var a = n ? e : It(e, t), i = r.length - 1; i >= 0; --i) {
1255
1265
  var c, l = r[i];
1256
1266
  if (l === "[]" && t.parseArrays)
1257
1267
  c = [].concat(a);
@@ -1263,22 +1273,22 @@ function() {
1263
1273
  a = c;
1264
1274
  }
1265
1275
  return a;
1266
- }, ni = function(e, t, n, a) {
1276
+ }, oi = function(e, t, n, a) {
1267
1277
  if (e) {
1268
1278
  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
1279
  if (u) {
1270
- if (!n.plainObjects && cr.call(Object.prototype, u) && !n.allowPrototypes)
1280
+ if (!n.plainObjects && fr.call(Object.prototype, u) && !n.allowPrototypes)
1271
1281
  return;
1272
1282
  p.push(u);
1273
1283
  }
1274
1284
  for (var y = 0; n.depth > 0 && (f = l.exec(i)) !== null && y < n.depth; ) {
1275
- if (y += 1, !n.plainObjects && cr.call(Object.prototype, f[1].slice(1, -1)) && !n.allowPrototypes)
1285
+ if (y += 1, !n.plainObjects && fr.call(Object.prototype, f[1].slice(1, -1)) && !n.allowPrototypes)
1276
1286
  return;
1277
1287
  p.push(f[1]);
1278
1288
  }
1279
- return f && p.push("[" + i.slice(f.index) + "]"), ti(p, t, n, a);
1289
+ return f && p.push("[" + i.slice(f.index) + "]"), ai(p, t, n, a);
1280
1290
  }
1281
- }, ai = function(e) {
1291
+ }, ii = function(e) {
1282
1292
  if (!e)
1283
1293
  return w;
1284
1294
  if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
@@ -1305,39 +1315,39 @@ function() {
1305
1315
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : w.plainObjects,
1306
1316
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : w.strictNullHandling
1307
1317
  };
1308
- }, oi = function(r, e) {
1309
- var t = ai(e);
1318
+ }, li = function(r, e) {
1319
+ var t = ii(e);
1310
1320
  if (r === "" || r === null || typeof r > "u")
1311
1321
  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");
1322
+ for (var n = typeof r == "string" ? ni(r, t) : r, a = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), c = 0; c < i.length; ++c) {
1323
+ var l = i[c], f = oi(l, n[l], t, typeof r == "string");
1314
1324
  a = ue.merge(a, f, t);
1315
1325
  }
1316
1326
  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
1327
+ }, ui = Xo, ci = li, fi = br, nr = {
1328
+ formats: fi,
1329
+ parse: ci,
1330
+ stringify: ui
1321
1331
  };
1322
- const xt = {
1332
+ const Nt = {
1323
1333
  PENDING: "PENDING",
1324
1334
  APPROVED: "APPROVED",
1325
1335
  REJECTED: "REJECTED"
1326
- }, ji = {
1327
- ...xt,
1336
+ }, zi = {
1337
+ ...Nt,
1328
1338
  BLOCKED: "BLOCKED",
1329
1339
  OPEN: "OPEN",
1330
1340
  RESOLVED: "RESOLVED"
1331
1341
  };
1332
- var ci = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(ci || {});
1342
+ var si = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(si || {});
1333
1343
  const z = {
1334
- ...xt,
1344
+ ...Nt,
1335
1345
  BLOCKED: "BLOCKED",
1336
1346
  OPEN: "OPEN",
1337
1347
  REMOVED: "REMOVED",
1338
1348
  TO_REVIEW: "TO_REVIEW",
1339
1349
  UNKNOWN: "UNKNOWN"
1340
- }, fi = o.object({
1350
+ }, pi = o.object({
1341
1351
  entryLabel: o.record(o.array(o.string())),
1342
1352
  approvalFlow: o.array(o.string()),
1343
1353
  blockedAuthorProps: o.array(o.string()),
@@ -1363,7 +1373,7 @@ const z = {
1363
1373
  url: o.string().nullable(),
1364
1374
  contactEmail: o.string().nullable()
1365
1375
  }).default({ url: null, contactEmail: null })
1366
- }), Ft = o.intersection(
1376
+ }), xt = o.intersection(
1367
1377
  o.object({
1368
1378
  id: o.number(),
1369
1379
  uid: o.string(),
@@ -1374,7 +1384,7 @@ const z = {
1374
1384
  locale: o.string().nullable().optional()
1375
1385
  }),
1376
1386
  o.record(o.unknown())
1377
- ), si = o.object({
1387
+ ), yi = o.object({
1378
1388
  id: o.union([o.number(), o.string()]),
1379
1389
  name: o.string().optional().nullable(),
1380
1390
  email: o.string(),
@@ -1392,7 +1402,7 @@ const z = {
1392
1402
  }),
1393
1403
  o.string()
1394
1404
  ]).nullable().optional()
1395
- }), Mt = o.union([
1405
+ }), Ft = o.union([
1396
1406
  o.literal(z.PENDING),
1397
1407
  o.literal(z.APPROVED),
1398
1408
  o.literal(z.REJECTED),
@@ -1401,13 +1411,13 @@ const z = {
1401
1411
  o.literal(z.REMOVED),
1402
1412
  o.literal(z.TO_REVIEW),
1403
1413
  o.literal(z.UNKNOWN)
1404
- ]), Dt = o.union([
1414
+ ]), Mt = o.union([
1405
1415
  o.literal("BAD_LANGUAGE"),
1406
1416
  o.literal("DISCRIMINATION"),
1407
1417
  o.literal("OTHER")
1408
- ]), pi = o.object({
1418
+ ]), di = o.object({
1409
1419
  id: o.number(),
1410
- reason: Dt,
1420
+ reason: Mt,
1411
1421
  content: o.string(),
1412
1422
  resolved: o.boolean(),
1413
1423
  createdAt: o.string(),
@@ -1420,41 +1430,41 @@ const z = {
1420
1430
  blockReason: o.string().nullable(),
1421
1431
  isAdminComment: o.boolean().nullable(),
1422
1432
  removed: o.boolean().nullable(),
1423
- approvalStatus: Mt.nullable(),
1433
+ approvalStatus: Ft.nullable(),
1424
1434
  createdAt: o.string(),
1425
1435
  updatedAt: o.string(),
1426
- reports: o.array(pi).nullable().optional(),
1427
- author: si,
1436
+ reports: o.array(di).nullable().optional(),
1437
+ author: yi,
1428
1438
  gotThread: o.boolean().nullable().optional(),
1429
1439
  threadFirstItemId: o.number().nullable().optional()
1430
- }), Lt = o.object({
1440
+ }), Dt = o.object({
1431
1441
  page: o.number(),
1432
1442
  pageSize: o.number(),
1433
1443
  pageCount: o.number(),
1434
1444
  total: o.number()
1435
1445
  });
1436
- function fr() {
1446
+ function sr() {
1437
1447
  return Ie.extend({
1438
- related: Ft.optional(),
1448
+ related: xt.optional(),
1439
1449
  documentId: o.string(),
1440
1450
  threadOf: o.lazy(
1441
- () => Ie.merge(o.object({ related: o.string(), threadOf: Bt.nullable().optional(), documentId: o.string().optional() }))
1451
+ () => Ie.merge(o.object({ related: o.string(), threadOf: Lt.nullable().optional(), documentId: o.string().optional() }))
1442
1452
  ).nullable().optional()
1443
1453
  });
1444
1454
  }
1445
- const Bt = fr(), yi = o.object({
1446
- pagination: Lt,
1447
- result: o.array(Bt)
1448
- }), di = o.object({
1449
- entity: Ft,
1455
+ const Lt = sr(), mi = o.object({
1456
+ pagination: Dt,
1457
+ result: o.array(Lt)
1458
+ }), vi = o.object({
1459
+ entity: xt,
1450
1460
  selected: Ie.merge(
1451
1461
  o.object({
1452
1462
  related: o.string(),
1453
- threadOf: fr().omit({ related: !0 }).merge(o.object({ related: o.string() })).nullable().optional()
1463
+ threadOf: sr().omit({ related: !0 }).merge(o.object({ related: o.string() })).nullable().optional()
1454
1464
  })
1455
1465
  ).nullable(),
1456
- level: o.array(fr().omit({ threadOf: !0, related: !0 }))
1457
- }), Ut = o.object({
1466
+ level: o.array(sr().omit({ threadOf: !0, related: !0 }))
1467
+ }), Bt = o.object({
1458
1468
  apiID: o.string(),
1459
1469
  uid: o.string(),
1460
1470
  schema: o.object({
@@ -1468,25 +1478,25 @@ const Bt = fr(), yi = o.object({
1468
1478
  singularName: o.string(),
1469
1479
  visible: o.boolean()
1470
1480
  })
1471
- }), mi = o.object({
1472
- data: Ut
1473
- }), vi = o.object({
1474
- data: o.array(Ut)
1475
1481
  }), gi = o.object({
1482
+ data: Bt
1483
+ }), hi = o.object({
1484
+ data: o.array(Bt)
1485
+ }), Si = o.object({
1476
1486
  author: o.unknown(),
1477
1487
  content: o.string(),
1478
1488
  id: o.number(),
1479
- approvalStatus: Mt.nullable().optional(),
1480
- reason: Dt,
1489
+ approvalStatus: Ft.nullable().optional(),
1490
+ reason: Mt,
1481
1491
  reports: o.array(o.unknown()),
1482
1492
  resolved: o.boolean().optional(),
1483
1493
  updatedAt: o.string().nullable(),
1484
1494
  createdAt: o.string(),
1485
1495
  related: Ie
1486
- }), hi = o.object({
1487
- pagination: Lt,
1488
- result: o.array(gi)
1489
- }), Si = o.object({
1496
+ }), bi = o.object({
1497
+ pagination: Dt,
1498
+ result: o.array(Si)
1499
+ }), Ei = o.object({
1490
1500
  id: o.number(),
1491
1501
  documentId: o.string(),
1492
1502
  name: o.string(),
@@ -1497,11 +1507,11 @@ const Bt = fr(), yi = o.object({
1497
1507
  publishedAt: o.string(),
1498
1508
  locale: o.string().nullable(),
1499
1509
  usersCount: o.number()
1500
- }), bi = o.object({
1510
+ }), Ai = o.object({
1501
1511
  data: o.array(
1502
- Si
1512
+ Ei
1503
1513
  )
1504
- }), Ai = o.object({
1514
+ }), Oi = o.object({
1505
1515
  data: o.object({
1506
1516
  id: o.number(),
1507
1517
  documentId: o.string(),
@@ -1525,159 +1535,159 @@ const Bt = fr(), yi = o.object({
1525
1535
  })
1526
1536
  )
1527
1537
  })
1528
- }), E = "comments", Ei = wr.once((r) => ({
1538
+ }), A = "comments", Pi = Rr.once((r) => ({
1529
1539
  config: {
1530
1540
  getKey() {
1531
- return [E, "config"];
1541
+ return [A, "config"];
1532
1542
  },
1533
1543
  async query() {
1534
- const e = await r.get(`/${E}/settings/config`);
1535
- return fi.parseAsync(e.data);
1544
+ const e = await r.get(`/${A}/settings/config`);
1545
+ return pi.parseAsync(e.data);
1536
1546
  }
1537
1547
  },
1538
1548
  contentTypeBuilder: {
1539
1549
  single: {
1540
1550
  getKey(e, t) {
1541
- return [E, "moderate", "content-type", t, e];
1551
+ return [A, "moderate", "content-type", t, e];
1542
1552
  },
1543
1553
  async query(e) {
1544
1554
  const t = await r.get(`/content-type-builder/content-types/${e}`);
1545
- return mi.parseAsync(t.data).then((n) => n.data);
1555
+ return gi.parseAsync(t.data).then((n) => n.data);
1546
1556
  }
1547
1557
  },
1548
1558
  all: {
1549
1559
  getKey() {
1550
- return [E, "moderate", "content-types"];
1560
+ return [A, "moderate", "content-types"];
1551
1561
  },
1552
1562
  async query() {
1553
1563
  const e = await r.get("/content-type-builder/content-types");
1554
- return vi.parseAsync(e.data).then((t) => t.data);
1564
+ return hi.parseAsync(e.data).then((t) => t.data);
1555
1565
  }
1556
1566
  }
1557
1567
  },
1558
1568
  roles: {
1559
1569
  getKey() {
1560
- return [E, "moderate", "roles"];
1570
+ return [A, "moderate", "roles"];
1561
1571
  },
1562
1572
  async query() {
1563
1573
  const e = await r.get("/admin/roles");
1564
- return bi.parseAsync(e.data).then((t) => t.data);
1574
+ return Ai.parseAsync(e.data).then((t) => t.data);
1565
1575
  }
1566
1576
  },
1567
1577
  user: {
1568
1578
  getKey() {
1569
- return [E, "moderate", "user"];
1579
+ return [A, "moderate", "user"];
1570
1580
  },
1571
1581
  async query() {
1572
1582
  const e = await r.get("/admin/users/me");
1573
- return Ai.parseAsync(e.data).then((t) => t.data);
1583
+ return Oi.parseAsync(e.data).then((t) => t.data);
1574
1584
  }
1575
1585
  },
1576
1586
  comments: {
1577
1587
  findAll: {
1578
1588
  getKey(e) {
1579
- return [E, "moderate", "all", e ? JSON.stringify(e) : void 0].filter(Boolean);
1589
+ return [A, "moderate", "all", e ? JSON.stringify(e) : void 0].filter(Boolean);
1580
1590
  },
1581
1591
  async query(e) {
1582
- const t = await r.get(`/${E}/moderate/all?${nr.stringify(e, { encode: !1 })}`);
1583
- return yi.parseAsync(t.data);
1592
+ const t = await r.get(`/${A}/moderate/all?${nr.stringify(e, { encode: !1 })}`);
1593
+ return mi.parseAsync(t.data);
1584
1594
  }
1585
1595
  },
1586
1596
  findOne: {
1587
1597
  getKey(e, t) {
1588
- return [E, "details", e?.toString(), t ? JSON.stringify(t) : void 0].filter(Boolean);
1598
+ return [A, "details", e?.toString(), t ? JSON.stringify(t) : void 0].filter(Boolean);
1589
1599
  },
1590
1600
  async query(e, t) {
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);
1601
+ const n = Rr.isEmpty(t) ? "" : `?${nr.stringify(t, { encode: !1 })}`, a = await r.get(`/${A}/moderate/single/${e}${n}`);
1602
+ return vi.parseAsync(a.data);
1593
1603
  }
1594
1604
  },
1595
1605
  approve(e) {
1596
- return r.put(`/${E}/moderate/single/${e}/approve`);
1606
+ return r.put(`/${A}/moderate/single/${e}/approve`);
1597
1607
  },
1598
1608
  reject(e) {
1599
- return r.put(`/${E}/moderate/single/${e}/reject`);
1609
+ return r.put(`/${A}/moderate/single/${e}/reject`);
1600
1610
  },
1601
1611
  block(e) {
1602
- return r.put(`/${E}/moderate/single/${e}/block`);
1612
+ return r.put(`/${A}/moderate/single/${e}/block`);
1603
1613
  },
1604
1614
  unblock(e) {
1605
- return r.put(`/${E}/moderate/single/${e}/unblock`);
1615
+ return r.put(`/${A}/moderate/single/${e}/unblock`);
1606
1616
  },
1607
1617
  blockThread(e) {
1608
- return r.put(`/${E}/moderate/thread/${e}/block`);
1618
+ return r.put(`/${A}/moderate/thread/${e}/block`);
1609
1619
  },
1610
1620
  unBlockThread(e) {
1611
- return r.put(`/${E}/moderate/thread/${e}/unblock`);
1621
+ return r.put(`/${A}/moderate/thread/${e}/unblock`);
1612
1622
  },
1613
1623
  delete(e) {
1614
- return r.del(`/${E}/moderate/single/${e}/delete`);
1624
+ return r.del(`/${A}/moderate/single/${e}/delete`);
1615
1625
  },
1616
1626
  postComment({ id: e, content: t, author: n }) {
1617
- return r.post(`/${E}/moderate/thread/${e}/postComment`, { content: t, author: n });
1627
+ return r.post(`/${A}/moderate/thread/${e}/postComment`, { content: t, author: n });
1618
1628
  },
1619
1629
  updateComment({ id: e, content: t }) {
1620
- return r.put(`/${E}/moderate/single/${e}/update`, { content: t });
1630
+ return r.put(`/${A}/moderate/single/${e}/update`, { content: t });
1621
1631
  }
1622
1632
  },
1623
1633
  reports: {
1624
1634
  findAll: {
1625
1635
  getKey(e) {
1626
- return [E, "moderate", "reports", e ? JSON.stringify(e) : void 0].filter(Boolean);
1636
+ return [A, "moderate", "reports", e ? JSON.stringify(e) : void 0].filter(Boolean);
1627
1637
  },
1628
1638
  async query(e) {
1629
- const t = await r.get(`/${E}/moderate/reports${e ? `?${nr.stringify(e, { encode: !1 })}` : ""}`);
1630
- return hi.parseAsync(t.data);
1639
+ const t = await r.get(`/${A}/moderate/reports${e ? `?${nr.stringify(e, { encode: !1 })}` : ""}`);
1640
+ return bi.parseAsync(t.data);
1631
1641
  }
1632
1642
  },
1633
1643
  resolve({ id: e, reportId: t }) {
1634
- return r.put(`/${E}/moderate/single/${e}/report/${t}/resolve`);
1644
+ return r.put(`/${A}/moderate/single/${e}/report/${t}/resolve`);
1635
1645
  },
1636
1646
  resolveMultipleReports({ reportIds: e }) {
1637
- return r.put(`/${E}/moderate/multiple/report/resolve`, { reportIds: e });
1647
+ return r.put(`/${A}/moderate/multiple/report/resolve`, { reportIds: e });
1638
1648
  },
1639
1649
  resolveCommentMultipleReports({ id: e, reportIds: t }) {
1640
- return r.put(`/${E}/moderate/single/${e}/report/resolve`, { reportIds: t });
1650
+ return r.put(`/${A}/moderate/single/${e}/report/resolve`, { reportIds: t });
1641
1651
  },
1642
1652
  resolveAllAbuseReportsForComment(e) {
1643
- return r.put(`/${E}/moderate/all/${e}/report/resolve`);
1653
+ return r.put(`/${A}/moderate/all/${e}/report/resolve`);
1644
1654
  },
1645
1655
  resolveAllAbuseReportsForThread(e) {
1646
- return r.put(`/${E}/moderate/thread/${e}/report/resolve-thread`);
1656
+ return r.put(`/${A}/moderate/thread/${e}/report/resolve-thread`);
1647
1657
  }
1648
1658
  },
1649
1659
  settings: {
1650
1660
  update(e) {
1651
- return r.put(`/${E}/settings/config`, e);
1661
+ return r.put(`/${A}/settings/config`, e);
1652
1662
  },
1653
1663
  restore() {
1654
- return r.del(`/${E}/settings/config`);
1664
+ return r.del(`/${A}/settings/config`);
1655
1665
  },
1656
1666
  restart() {
1657
- return r.post(`/${E}/settings/restart`);
1667
+ return r.post(`/${A}/settings/restart`);
1658
1668
  }
1659
1669
  }
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({
1670
+ })), $i = () => {
1671
+ const r = mn();
1672
+ return lt(() => Pi(r), [r]);
1673
+ }, wi = dn(null), Ri = ({ children: r }) => {
1674
+ const e = $i(), { data: t } = fn({
1665
1675
  queryKey: e.user.getKey(),
1666
1676
  queryFn: e.user.query
1667
1677
  });
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({
1678
+ return t ? /* @__PURE__ */ _(wi.Provider, { value: t, children: r }) : null;
1679
+ }, Ti = new pn({
1673
1680
  defaultOptions: {
1674
1681
  queries: {
1675
1682
  retry: !1,
1676
1683
  refetchOnWindowFocus: !1
1677
1684
  }
1678
1685
  }
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(
1686
+ }), Hi = ({ children: r }) => {
1687
+ const e = gn();
1688
+ return /* @__PURE__ */ _(sn, { client: Ti, children: /* @__PURE__ */ _(an, { theme: { theme: e }, children: /* @__PURE__ */ _(Ri, { children: r }) }) });
1689
+ }, Yi = () => {
1690
+ const r = lt(
1681
1691
  () => ({
1682
1692
  access: ee.access,
1683
1693
  moderate: ee.moderate,
@@ -1697,7 +1707,7 @@ const wi = new pn({
1697
1707
  canSettingsRead: c,
1698
1708
  canReportsReview: l
1699
1709
  }
1700
- } = mn(r);
1710
+ } = vn(r);
1701
1711
  return {
1702
1712
  isLoadingForPermissions: e,
1703
1713
  canAccess: n || a || c,
@@ -1708,7 +1718,7 @@ const wi = new pn({
1708
1718
  canSettingsChange: i
1709
1719
  };
1710
1720
  };
1711
- var sr = { exports: {} }, b = {};
1721
+ var pr = { exports: {} }, b = {};
1712
1722
  /** @license React v16.13.1
1713
1723
  * react-is.production.min.js
1714
1724
  *
@@ -1718,10 +1728,10 @@ var sr = { exports: {} }, b = {};
1718
1728
  * LICENSE file in the root directory of this source tree.
1719
1729
  */
1720
1730
  var at;
1721
- function Ri() {
1731
+ function Ci() {
1722
1732
  if (at) return b;
1723
1733
  at = 1;
1724
- 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;
1734
+ 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, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1725
1735
  function O(s) {
1726
1736
  if (typeof s == "object" && s !== null) {
1727
1737
  var F = s.$$typeof;
@@ -1780,10 +1790,10 @@ function Ri() {
1780
1790
  }, b.isSuspense = function(s) {
1781
1791
  return O(s) === y;
1782
1792
  }, b.isValidElementType = function(s) {
1783
- return typeof s == "string" || typeof s == "function" || s === n || s === u || s === i || s === a || s === y || s === m || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === c || s.$$typeof === l || s.$$typeof === p || s.$$typeof === C || s.$$typeof === g || s.$$typeof === I || s.$$typeof === P);
1793
+ return typeof s == "string" || typeof s == "function" || s === n || s === u || s === i || s === a || s === y || s === m || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === c || s.$$typeof === l || s.$$typeof === p || s.$$typeof === T || s.$$typeof === g || s.$$typeof === I || s.$$typeof === P);
1784
1794
  }, b.typeOf = O, b;
1785
1795
  }
1786
- var A = {};
1796
+ var E = {};
1787
1797
  /** @license React v16.13.1
1788
1798
  * react-is.development.js
1789
1799
  *
@@ -1793,12 +1803,12 @@ var A = {};
1793
1803
  * LICENSE file in the root directory of this source tree.
1794
1804
  */
1795
1805
  var ot;
1796
- function Ci() {
1806
+ function _i() {
1797
1807
  return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
1798
- 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;
1808
+ 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, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1799
1809
  function O(d) {
1800
1810
  return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1801
- d === n || d === u || d === i || d === a || d === y || d === m || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === h || d.$$typeof === c || d.$$typeof === l || d.$$typeof === p || d.$$typeof === C || d.$$typeof === g || d.$$typeof === I || d.$$typeof === P);
1811
+ d === n || d === u || d === i || d === a || d === y || d === m || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === h || d.$$typeof === c || d.$$typeof === l || d.$$typeof === p || d.$$typeof === T || d.$$typeof === g || d.$$typeof === I || d.$$typeof === P);
1802
1812
  }
1803
1813
  function $(d) {
1804
1814
  if (typeof d == "object" && d !== null) {
@@ -1815,14 +1825,14 @@ function Ci() {
1815
1825
  case y:
1816
1826
  return be;
1817
1827
  default:
1818
- var Pr = be && be.$$typeof;
1819
- switch (Pr) {
1828
+ var $r = be && be.$$typeof;
1829
+ switch ($r) {
1820
1830
  case l:
1821
1831
  case p:
1822
1832
  case v:
1823
1833
  case h:
1824
1834
  case c:
1825
- return Pr;
1835
+ return $r;
1826
1836
  default:
1827
1837
  return De;
1828
1838
  }
@@ -1832,114 +1842,114 @@ function Ci() {
1832
1842
  }
1833
1843
  }
1834
1844
  }
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) {
1837
- 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;
1845
+ var s = f, F = u, B = l, M = c, q = e, W = p, K = n, N = v, x = h, G = t, Z = i, j = a, Wt = y, Or = !1;
1846
+ function Gt(d) {
1847
+ return Or || (Or = !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.")), Pr(d) || $(d) === f;
1838
1848
  }
1839
- function Or(d) {
1849
+ function Pr(d) {
1840
1850
  return $(d) === u;
1841
1851
  }
1842
- function Vt(d) {
1852
+ function jt(d) {
1843
1853
  return $(d) === l;
1844
1854
  }
1845
- function zt(d) {
1855
+ function Vt(d) {
1846
1856
  return $(d) === c;
1847
1857
  }
1848
- function Ht(d) {
1858
+ function zt(d) {
1849
1859
  return typeof d == "object" && d !== null && d.$$typeof === e;
1850
1860
  }
1851
- function Yt(d) {
1861
+ function Ht(d) {
1852
1862
  return $(d) === p;
1853
1863
  }
1854
- function Kt(d) {
1864
+ function Yt(d) {
1855
1865
  return $(d) === n;
1856
1866
  }
1857
- function Qt(d) {
1867
+ function Kt(d) {
1858
1868
  return $(d) === v;
1859
1869
  }
1860
- function Jt(d) {
1870
+ function Qt(d) {
1861
1871
  return $(d) === h;
1862
1872
  }
1863
- function Xt(d) {
1873
+ function Jt(d) {
1864
1874
  return $(d) === t;
1865
1875
  }
1866
- function Zt(d) {
1876
+ function Xt(d) {
1867
1877
  return $(d) === i;
1868
1878
  }
1869
- function en(d) {
1879
+ function Zt(d) {
1870
1880
  return $(d) === a;
1871
1881
  }
1872
- function rn(d) {
1882
+ function en(d) {
1873
1883
  return $(d) === y;
1874
1884
  }
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 = $;
1876
- }()), A;
1885
+ E.AsyncMode = s, E.ConcurrentMode = F, E.ContextConsumer = B, E.ContextProvider = M, E.Element = q, E.ForwardRef = W, E.Fragment = K, E.Lazy = N, E.Memo = x, E.Portal = G, E.Profiler = Z, E.StrictMode = j, E.Suspense = Wt, E.isAsyncMode = Gt, E.isConcurrentMode = Pr, E.isContextConsumer = jt, E.isContextProvider = Vt, E.isElement = zt, E.isForwardRef = Ht, E.isFragment = Yt, E.isLazy = Kt, E.isMemo = Qt, E.isPortal = Jt, E.isProfiler = Xt, E.isStrictMode = Zt, E.isSuspense = en, E.isValidElementType = O, E.typeOf = $;
1886
+ }()), E;
1877
1887
  }
1878
- process.env.NODE_ENV === "production" ? sr.exports = Ri() : sr.exports = Ci();
1879
- var Ti = sr.exports, qt = Ti, _i = {
1888
+ process.env.NODE_ENV === "production" ? pr.exports = Ci() : pr.exports = _i();
1889
+ var Ii = pr.exports, Ut = Ii, Ni = {
1880
1890
  $$typeof: !0,
1881
1891
  render: !0,
1882
1892
  defaultProps: !0,
1883
1893
  displayName: !0,
1884
1894
  propTypes: !0
1885
- }, Ii = {
1895
+ }, xi = {
1886
1896
  $$typeof: !0,
1887
1897
  compare: !0,
1888
1898
  defaultProps: !0,
1889
1899
  displayName: !0,
1890
1900
  propTypes: !0,
1891
1901
  type: !0
1892
- }, Wt = {};
1893
- Wt[qt.ForwardRef] = _i;
1894
- Wt[qt.Memo] = Ii;
1895
- function Ni(r, e, t) {
1902
+ }, kt = {};
1903
+ kt[Ut.ForwardRef] = Ni;
1904
+ kt[Ut.Memo] = xi;
1905
+ function Fi(r, e, t) {
1896
1906
  if (t === void 0 && (t = Error), !r)
1897
1907
  throw new t(e);
1898
1908
  }
1899
- var xi = function(r) {
1909
+ var Mi = function(r) {
1900
1910
  process.env.NODE_ENV !== "production" && console.error(r);
1901
- }, Fi = function(r) {
1911
+ }, Di = function(r) {
1902
1912
  process.env.NODE_ENV !== "production" && console.warn(r);
1903
- }, Mi = {
1913
+ }, Li = {
1904
1914
  formats: {},
1905
1915
  messages: {},
1906
1916
  timeZone: void 0,
1907
1917
  defaultLocale: "en",
1908
1918
  defaultFormats: {},
1909
1919
  fallbackOnEmptyString: !0,
1910
- onError: xi,
1911
- onWarn: Fi
1920
+ onError: Mi,
1921
+ onWarn: Di
1912
1922
  };
1913
- function Di(r) {
1914
- Ni(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
1923
+ function Bi(r) {
1924
+ Fi(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
1915
1925
  }
1916
- Rr(Rr({}, Mi), { textComponent: oe.Fragment });
1917
- 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
- br.Consumer;
1919
- br.Provider;
1920
- var Li = br;
1926
+ Tr(Tr({}, Li), { textComponent: oe.Fragment });
1927
+ var Er = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = oe.createContext(null)) : oe.createContext(null);
1928
+ Er.Consumer;
1929
+ Er.Provider;
1930
+ var Ui = Er;
1921
1931
  function Ar() {
1922
- var r = oe.useContext(Li);
1923
- return Di(r), r;
1932
+ var r = oe.useContext(Ui);
1933
+ return Bi(r), r;
1924
1934
  }
1925
- var pr;
1935
+ var yr;
1926
1936
  (function(r) {
1927
1937
  r.formatDate = "FormattedDate", r.formatTime = "FormattedTime", r.formatNumber = "FormattedNumber", r.formatList = "FormattedList", r.formatDisplayName = "FormattedDisplayName";
1928
- })(pr || (pr = {}));
1929
- var yr;
1938
+ })(yr || (yr = {}));
1939
+ var dr;
1930
1940
  (function(r) {
1931
1941
  r.formatDate = "FormattedDateParts", r.formatTime = "FormattedTimeParts", r.formatNumber = "FormattedNumberParts", r.formatList = "FormattedListParts";
1932
- })(yr || (yr = {}));
1933
- function kt(r) {
1942
+ })(dr || (dr = {}));
1943
+ function qt(r) {
1934
1944
  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);
1945
+ 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
1946
  return i(f);
1937
1947
  };
1938
- return e.displayName = yr[r], e;
1948
+ return e.displayName = dr[r], e;
1939
1949
  }
1940
1950
  function Se(r) {
1941
1951
  var e = function(t) {
1942
- var n = Ar(), a = t.value, i = t.children, c = lt(
1952
+ var n = Ar(), a = t.value, i = t.children, c = it(
1943
1953
  t,
1944
1954
  ["value", "children"]
1945
1955
  ), l = n[r](a, c);
@@ -1948,16 +1958,16 @@ function Se(r) {
1948
1958
  var f = n.textComponent || oe.Fragment;
1949
1959
  return oe.createElement(f, null, l);
1950
1960
  };
1951
- return e.displayName = pr[r], e;
1961
+ return e.displayName = yr[r], e;
1952
1962
  }
1953
1963
  Se("formatDate");
1954
1964
  Se("formatTime");
1955
1965
  Se("formatNumber");
1956
1966
  Se("formatList");
1957
1967
  Se("formatDisplayName");
1958
- kt("formatDate");
1959
- kt("formatTime");
1960
- const Hi = (r, e = "", t = !0) => {
1968
+ qt("formatDate");
1969
+ qt("formatTime");
1970
+ const Ki = (r, e = "", t = !0) => {
1961
1971
  const { formatMessage: n } = Ar();
1962
1972
  let a = "";
1963
1973
  return typeof r == "string" ? a = r : a = r?.id.toString() || a, n(
@@ -1967,7 +1977,7 @@ const Hi = (r, e = "", t = !0) => {
1967
1977
  },
1968
1978
  typeof r == "string" ? void 0 : r?.props
1969
1979
  );
1970
- }, Yi = ({
1980
+ }, Qi = ({
1971
1981
  title: r,
1972
1982
  onConfirm: e,
1973
1983
  Trigger: t,
@@ -1976,18 +1986,18 @@ const Hi = (r, e = "", t = !0) => {
1976
1986
  labelCancel: i,
1977
1987
  children: c
1978
1988
  }) => {
1979
- const [l, f] = Tr(!1), [u, p] = Tr(!1), y = () => f((h) => !h), m = async () => {
1989
+ const [l, f] = ar(!1), [u, p] = ar(!1), y = () => f((h) => !h), m = async () => {
1980
1990
  p(!0), await e(), p(!1), y();
1981
1991
  };
1982
- return /* @__PURE__ */ Ae(V.Root, { open: l, children: [
1992
+ return /* @__PURE__ */ Ee(V.Root, { open: l, children: [
1983
1993
  /* @__PURE__ */ _(V.Trigger, { children: /* @__PURE__ */ _(t, { onClick: y }) }),
1984
- /* @__PURE__ */ Ae(V.Content, { children: [
1994
+ /* @__PURE__ */ Ee(V.Content, { children: [
1985
1995
  /* @__PURE__ */ _(V.Header, { children: r }),
1986
- /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ae(ln, { justifyContent: "center", direction: "column", children: [
1996
+ /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ee(ln, { justifyContent: "center", direction: "column", children: [
1987
1997
  /* @__PURE__ */ _(un, { fill: "danger500", stroke: "danger500", height: "24", width: "24" }),
1988
1998
  /* @__PURE__ */ _(cn, { id: "confirm-description", children: c })
1989
1999
  ] }) }),
1990
- /* @__PURE__ */ Ae(V.Footer, { children: [
2000
+ /* @__PURE__ */ Ee(V.Footer, { children: [
1991
2001
  /* @__PURE__ */ _(V.Cancel, { children: /* @__PURE__ */ _(
1992
2002
  Cr,
1993
2003
  {
@@ -2014,13 +2024,13 @@ const Hi = (r, e = "", t = !0) => {
2014
2024
  };
2015
2025
  export {
2016
2026
  z as C,
2017
- ji as R,
2018
- Pi as U,
2019
- zi as a,
2027
+ zi as R,
2028
+ wi as U,
2029
+ Yi as a,
2020
2030
  Ar as b,
2021
- ci as c,
2022
- Yi as d,
2023
- Vi as e,
2024
- Hi as g,
2025
- Oi as u
2031
+ si as c,
2032
+ Qi as d,
2033
+ Hi as e,
2034
+ Ki as g,
2035
+ $i as u
2026
2036
  };