@shlinkio/shlink-frontend-kit 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { jsx as y, jsxs as P, Fragment as Re } from "react/jsx-runtime";
2
- import { faCircleNotch as kr, faSearch as Lr, faEllipsisV as Wr, faSortAmountUp as Gr, faSortAmountDown as Hr } from "@fortawesome/free-solid-svg-icons";
3
- import { FontAwesomeIcon as be } from "@fortawesome/react-fontawesome";
4
- import { Row as mr, Card as ke, CardHeader as Vr, CardBody as zr, Dropdown as Qr, DropdownToggle as vr, DropdownMenu as hr, NavLink as qr, Nav as jr, UncontrolledDropdown as Jr, DropdownItem as Oe } from "reactstrap";
5
- import { useState as Le, useCallback as ye, useRef as gr, Children as Yr, isValidElement as Kr } from "react";
6
- import { NavLink as Xr } from "react-router-dom";
1
+ import { jsx as y, jsxs as P, Fragment as Te } from "react/jsx-runtime";
2
+ import { faCircleNotch as Br, faSearch as Lr, faEllipsisV as Wr, faSortAmountUp as Gr, faSortAmountDown as Hr } from "@fortawesome/free-solid-svg-icons";
3
+ import { FontAwesomeIcon as Oe } from "@fortawesome/react-fontawesome";
4
+ import { Row as vr, Card as We, CardHeader as Vr, CardBody as zr, Dropdown as Qr, DropdownToggle as hr, DropdownMenu as gr, NavItem as qr, NavLink as jr, Nav as Jr, UncontrolledDropdown as Yr, DropdownItem as Ae } from "reactstrap";
5
+ import { useState as we, useCallback as ne, useRef as ve, Children as Kr, isValidElement as Xr } from "react";
6
+ import { NavLink as Zr } from "react-router-dom";
7
7
  function Sr(r) {
8
8
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
9
9
  }
10
- function Zr(r) {
10
+ function et(r) {
11
11
  if (r.__esModule)
12
12
  return r;
13
13
  var e = r.default;
@@ -64,28 +64,28 @@ var br = { exports: {} };
64
64
  r.exports ? (t.default = t, r.exports = t) : window.classNames = t;
65
65
  })();
66
66
  })(br);
67
- var et = br.exports;
68
- const E = /* @__PURE__ */ Sr(et), rt = (r) => ({
67
+ var rt = br.exports;
68
+ const E = /* @__PURE__ */ Sr(rt), tt = (r) => ({
69
69
  error: "border-danger",
70
70
  default: ""
71
- })[r], tt = (r) => ({
71
+ })[r], nt = (r) => ({
72
72
  error: "text-danger",
73
73
  default: "text-muted"
74
- })[r], ha = ({ className: r, children: e, loading: t = !1, type: n = "default", fullWidth: o = !1 }) => {
74
+ })[r], ga = ({ className: r, children: e, loading: t = !1, type: n = "default", fullWidth: o = !1 }) => {
75
75
  const a = E({
76
76
  "col-md-12": o,
77
77
  "col-md-10 offset-md-1": !o
78
78
  });
79
- return /* @__PURE__ */ y(mr, { className: E("g-0", r), children: /* @__PURE__ */ y("div", { className: a, children: /* @__PURE__ */ y(ke, { className: rt(n), body: !0, children: /* @__PURE__ */ P("h3", { className: E("text-center mb-0", tt(n)), children: [
80
- t && /* @__PURE__ */ y(be, { icon: kr, spin: !0 }),
79
+ return /* @__PURE__ */ y(vr, { className: E("g-0", r), children: /* @__PURE__ */ y("div", { className: a, children: /* @__PURE__ */ y(We, { className: tt(n), body: !0, children: /* @__PURE__ */ P("h3", { className: E("text-center mb-0", nt(n)), children: [
80
+ t && /* @__PURE__ */ y(Oe, { icon: Br, spin: !0 }),
81
81
  t && /* @__PURE__ */ y("span", { className: "ms-2", children: e ?? "Loading..." }),
82
82
  !t && e
83
83
  ] }) }) }) });
84
- }, nt = ({ title: r, children: e, bodyClassName: t, ...n }) => /* @__PURE__ */ P(ke, { ...n, children: [
85
- r && /* @__PURE__ */ y(Vr, { role: "heading", children: r }),
84
+ }, at = ({ title: r, children: e, bodyClassName: t, ...n }) => /* @__PURE__ */ P(We, { ...n, children: [
85
+ r && /* @__PURE__ */ y(Vr, { role: "heading", "aria-level": 4, children: r }),
86
86
  /* @__PURE__ */ y(zr, { className: t, children: e })
87
- ] }), ga = ({ children: r, type: e, className: t, small: n = !1 }) => /* @__PURE__ */ y(mr, { className: t, children: /* @__PURE__ */ y("div", { className: E({ "col-md-10 offset-md-1": !n, "col-12": n }), children: /* @__PURE__ */ y(
88
- nt,
87
+ ] }), Sa = ({ children: r, type: e, className: t, small: n = !1 }) => /* @__PURE__ */ y(vr, { className: t, children: /* @__PURE__ */ y("div", { className: E({ "col-md-10 offset-md-1": !n, "col-12": n }), children: /* @__PURE__ */ y(
88
+ at,
89
89
  {
90
90
  role: "document",
91
91
  className: E("text-center", {
@@ -98,42 +98,47 @@ const E = /* @__PURE__ */ Sr(et), rt = (r) => ({
98
98
  children: r
99
99
  }
100
100
  ) }) });
101
- let fe;
102
- const at = new Uint8Array(16);
103
- function ot() {
104
- if (!fe && (fe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !fe))
101
+ let ue;
102
+ const ot = new Uint8Array(16);
103
+ function it() {
104
+ if (!ue && (ue = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ue))
105
105
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
106
- return fe(at);
106
+ return ue(ot);
107
107
  }
108
108
  const b = [];
109
109
  for (let r = 0; r < 256; ++r)
110
110
  b.push((r + 256).toString(16).slice(1));
111
- function it(r, e = 0) {
112
- return (b[r[e + 0]] + b[r[e + 1]] + b[r[e + 2]] + b[r[e + 3]] + "-" + b[r[e + 4]] + b[r[e + 5]] + "-" + b[r[e + 6]] + b[r[e + 7]] + "-" + b[r[e + 8]] + b[r[e + 9]] + "-" + b[r[e + 10]] + b[r[e + 11]] + b[r[e + 12]] + b[r[e + 13]] + b[r[e + 14]] + b[r[e + 15]]).toLowerCase();
111
+ function lt(r, e = 0) {
112
+ return b[r[e + 0]] + b[r[e + 1]] + b[r[e + 2]] + b[r[e + 3]] + "-" + b[r[e + 4]] + b[r[e + 5]] + "-" + b[r[e + 6]] + b[r[e + 7]] + "-" + b[r[e + 8]] + b[r[e + 9]] + "-" + b[r[e + 10]] + b[r[e + 11]] + b[r[e + 12]] + b[r[e + 13]] + b[r[e + 14]] + b[r[e + 15]];
113
113
  }
114
- const lt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Je = {
115
- randomUUID: lt
114
+ const ct = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ye = {
115
+ randomUUID: ct
116
116
  };
117
- function ct(r, e, t) {
118
- if (Je.randomUUID && !e && !r)
119
- return Je.randomUUID();
117
+ function ft(r, e, t) {
118
+ if (Ye.randomUUID && !e && !r)
119
+ return Ye.randomUUID();
120
120
  r = r || {};
121
- const n = r.random || (r.rng || ot)();
121
+ const n = r.random || (r.rng || it)();
122
122
  if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, e) {
123
123
  t = t || 0;
124
124
  for (let o = 0; o < 16; ++o)
125
125
  e[t + o] = n[o];
126
126
  return e;
127
127
  }
128
- return it(n);
128
+ return lt(n);
129
129
  }
130
- const ft = (r = !1) => {
131
- const [e, t] = Le(r), n = ye(() => t((l) => !l), []), o = ye(() => t(!0), []), a = ye(() => t(!1), []);
130
+ const ut = (r = !1) => {
131
+ const [e, t] = we(r), n = ne(() => t((l) => !l), []), o = ne(() => t(!0), []), a = ne(() => t(!1), []);
132
132
  return [e, n, o, a];
133
+ }, ba = (r = !1, e = 2e3, t = window.setTimeout, n = window.clearTimeout) => {
134
+ const [o, a] = we(r), l = ve(r), i = ve(), c = ne(() => {
135
+ a(!l.current), i.current && n(i.current), i.current = t(() => a(l.current), e);
136
+ }, [n, e, t]);
137
+ return [o, c];
133
138
  }, Or = () => {
134
- const { current: r } = gr(`dom-${ct()}`);
139
+ const { current: r } = ve(`dom-${ft()}`);
135
140
  return r;
136
- }, Sa = () => gr(null), wr = ({ checked: r = !1, onChange: e, className: t, children: n, type: o, inline: a = !1 }) => {
141
+ }, Oa = () => ve(null), wr = ({ checked: r = !1, onChange: e, className: t, children: n, type: o, inline: a = !1 }) => {
137
142
  const l = Or(), i = (u) => e == null ? void 0 : e(u.target.checked, u), c = {
138
143
  "form-switch": o === "switch",
139
144
  "form-checkbox": o === "checkbox"
@@ -142,15 +147,15 @@ const ft = (r = !1) => {
142
147
  /* @__PURE__ */ y("input", { type: "checkbox", className: "form-check-input", id: l, checked: r, onChange: i }),
143
148
  /* @__PURE__ */ y("label", { className: "form-check-label", htmlFor: l, children: n })
144
149
  ] });
145
- }, ba = (r) => /* @__PURE__ */ y(wr, { type: "checkbox", ...r }), Oa = (r) => /* @__PURE__ */ y(wr, { type: "switch", ...r }), ut = ({ children: r, label: e, className: t = "", labelClassName: n = "", noMargin: o = !1, id: a }) => /* @__PURE__ */ P("div", { className: `${t} ${o ? "" : "mb-3"}`, children: [
150
+ }, wa = (r) => /* @__PURE__ */ y(wr, { type: "checkbox", ...r }), Aa = (r) => /* @__PURE__ */ y(wr, { type: "switch", ...r }), pt = ({ children: r, label: e, className: t = "", labelClassName: n = "", noMargin: o = !1, id: a }) => /* @__PURE__ */ P("div", { className: `${t} ${o ? "" : "mb-3"}`, children: [
146
151
  /* @__PURE__ */ y("label", { className: `form-label ${n}`, htmlFor: a, children: e }),
147
152
  r
148
- ] }), wa = ({ children: r, value: e, onChange: t, type: n, required: o, placeholder: a, className: l, labelClassName: i }) => {
153
+ ] }), Pa = ({ children: r, value: e, onChange: t, type: n, required: o, placeholder: a, className: l, labelClassName: i }) => {
149
154
  const c = Or();
150
- return /* @__PURE__ */ y(ut, { label: /* @__PURE__ */ P(Re, { children: [
155
+ return /* @__PURE__ */ y(pt, { label: /* @__PURE__ */ P(Te, { children: [
151
156
  r,
152
157
  ":"
153
- ] }), className: l ?? "", labelClassName: i, id: c, children: /* @__PURE__ */ y(
158
+ ] }), className: l, labelClassName: i, id: c, children: /* @__PURE__ */ y(
154
159
  "input",
155
160
  {
156
161
  id: c,
@@ -163,14 +168,14 @@ const ft = (r = !1) => {
163
168
  }
164
169
  ) });
165
170
  };
166
- const pt = 500;
171
+ const st = 500;
167
172
  let de;
168
- const Ye = () => {
173
+ const Ke = () => {
169
174
  de && clearTimeout(de), de = null;
170
- }, Aa = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initialValue: o = "", setTimeout_: a = setTimeout }) => {
171
- const [l, i] = Le(o), c = (f, u = pt) => {
172
- i(f), Ye(), de = a(() => {
173
- r(f), Ye();
175
+ }, Ea = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initialValue: o = "", setTimeout_: a = setTimeout }) => {
176
+ const [l, i] = we(o), c = (f, u = st) => {
177
+ i(f), Ke(), de = a(() => {
178
+ r(f), Ke();
174
179
  }, u);
175
180
  };
176
181
  return /* @__PURE__ */ P("div", { className: E("search-field", e), children: [
@@ -187,7 +192,7 @@ const Ye = () => {
187
192
  onChange: (f) => c(f.target.value)
188
193
  }
189
194
  ),
190
- /* @__PURE__ */ y(be, { icon: Lr, className: "search-field__icon" }),
195
+ /* @__PURE__ */ y(Oe, { icon: Lr, className: "search-field__icon" }),
191
196
  /* @__PURE__ */ y(
192
197
  "button",
193
198
  {
@@ -201,7 +206,7 @@ const Ye = () => {
201
206
  )
202
207
  ] });
203
208
  };
204
- const st = ({
209
+ const yt = ({
205
210
  text: r,
206
211
  disabled: e = !1,
207
212
  className: t,
@@ -211,20 +216,22 @@ const st = ({
211
216
  end: l = !1,
212
217
  minWidth: i,
213
218
  inline: c,
214
- size: f
219
+ size: f,
220
+ ...u
215
221
  }) => {
216
- const [u, d] = ft(), p = E("dropdown-btn__toggle", t, {
222
+ const [m, p] = ut(), h = E("dropdown-btn__toggle", t, {
217
223
  "btn-block": !c,
218
224
  "dropdown-btn__toggle--with-caret": !a
219
- }), h = { minWidth: i && `${i}px` };
220
- return /* @__PURE__ */ P(Qr, { isOpen: u, toggle: d, disabled: e, className: o, children: [
221
- /* @__PURE__ */ y(vr, { size: f, caret: !a, className: p, color: "primary", children: r }),
222
- /* @__PURE__ */ y(hr, { className: "w-100", end: l, style: h, children: n })
225
+ }), d = { minWidth: i && `${i}px` };
226
+ return /* @__PURE__ */ P(Qr, { isOpen: m, toggle: p, disabled: e, className: o, children: [
227
+ /* @__PURE__ */ y(hr, { size: f, caret: !a, className: h, color: "primary", ...u, children: r }),
228
+ /* @__PURE__ */ y(gr, { className: "w-100", end: l, style: d, children: n })
223
229
  ] });
224
- }, Pa = ({ children: r, minWidth: e }) => /* @__PURE__ */ y(
225
- st,
230
+ }, xa = ({ children: r, minWidth: e, label: t = "Options" }) => /* @__PURE__ */ y(
231
+ yt,
226
232
  {
227
- text: /* @__PURE__ */ y(be, { className: "px-1", icon: Wr }),
233
+ text: /* @__PURE__ */ y(Oe, { className: "px-1", icon: Wr }),
234
+ "aria-label": t,
228
235
  size: "sm",
229
236
  minWidth: e,
230
237
  end: !0,
@@ -233,31 +240,31 @@ const st = ({
233
240
  children: r
234
241
  }
235
242
  );
236
- const yt = ({ children: r, ...e }) => /* @__PURE__ */ y(qr, { className: "nav-pills__nav-link", tag: Xr, ...e, children: r }), Ea = ({ children: r, fill: e = !1, className: t = "" }) => /* @__PURE__ */ y(ke, { className: `nav-pills__nav p-0 overflow-hidden ${t}`, body: !0, children: /* @__PURE__ */ y(jr, { pills: !0, fill: e, children: Yr.map(r, (n) => {
237
- if (!Kr(n) || n.type !== yt)
243
+ const dt = ({ children: r, ...e }) => /* @__PURE__ */ y(qr, { children: /* @__PURE__ */ y(jr, { className: "nav-pills__nav-link", tag: Zr, ...e, children: r }) }), Na = ({ children: r, fill: e = !1, className: t = "" }) => /* @__PURE__ */ y(We, { className: `nav-pills__nav p-0 overflow-hidden ${t}`, body: !0, children: /* @__PURE__ */ y(Jr, { pills: !0, fill: e, children: Kr.map(r, (n) => {
244
+ if (!Xr(n) || n.type !== dt)
238
245
  throw new Error("Only NavPillItem children are allowed inside NavPills.");
239
246
  return n;
240
- }) }) }), dt = (r, e, t) => r !== e ? "ASC" : t ? {
247
+ }) }) }), mt = (r, e, t) => r !== e ? "ASC" : t ? {
241
248
  ASC: "DESC",
242
249
  DESC: void 0
243
- }[t] : "ASC", xa = (r, { field: e, dir: t }) => !e || !t ? r : r.sort((n, o) => {
250
+ }[t] : "ASC", Ia = (r, { field: e, dir: t }) => !e || !t ? r : r.sort((n, o) => {
244
251
  const a = t === "ASC" ? 1 : -1, l = t === "ASC" ? -1 : 1;
245
252
  return n[e] > o[e] ? a : l;
246
- }), Na = (r) => r.dir ? `${r.field}-${r.dir}` : void 0, Ia = (r) => {
253
+ }), Fa = (r) => r.dir ? `${r.field}-${r.dir}` : void 0, $a = (r) => {
247
254
  const [e, t] = r.split("-");
248
255
  return { field: e, dir: t };
249
- }, $a = (r) => {
250
- const [e, t] = Le(r), n = ye((o, a) => t({ field: o, dir: a }), []);
256
+ }, _a = (r) => {
257
+ const [e, t] = we(r), n = ne((o, a) => t({ field: o, dir: a }), []);
251
258
  return [e, n];
252
259
  };
253
- function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1, prefixed: a = !0 }) {
260
+ function Ra({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1, prefixed: a = !0 }) {
254
261
  const l = (i) => () => {
255
- const c = dt(i, e.field, e.dir);
262
+ const c = mt(i, e.field, e.dir);
256
263
  t(c ? i : void 0, c);
257
264
  };
258
- return /* @__PURE__ */ P(Jr, { children: [
265
+ return /* @__PURE__ */ P(Yr, { children: [
259
266
  /* @__PURE__ */ P(
260
- vr,
267
+ hr,
261
268
  {
262
269
  caret: !0,
263
270
  color: n ? "primary" : "link",
@@ -266,9 +273,9 @@ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
266
273
  "btn-sm p-0": !n
267
274
  }),
268
275
  children: [
269
- !n && /* @__PURE__ */ y(Re, { children: "Order by" }),
276
+ !n && /* @__PURE__ */ y(Te, { children: "Order by" }),
270
277
  n && !e.field && /* @__PURE__ */ y("i", { children: "Order by..." }),
271
- n && e.field && /* @__PURE__ */ P(Re, { children: [
278
+ n && e.field && /* @__PURE__ */ P(Te, { children: [
272
279
  a && "Order by: ",
273
280
  r[e.field],
274
281
  " - ",
@@ -278,36 +285,36 @@ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
278
285
  }
279
286
  ),
280
287
  /* @__PURE__ */ P(
281
- hr,
288
+ gr,
282
289
  {
283
290
  end: o,
284
291
  className: E("w-100", { "ordering-dropdown__menu--link": !n }),
285
292
  children: [
286
- Object.entries(r).map(([i, c]) => /* @__PURE__ */ P(Oe, { active: e.field === i, onClick: l(i), children: [
293
+ Object.entries(r).map(([i, c]) => /* @__PURE__ */ P(Ae, { active: e.field === i, onClick: l(i), children: [
287
294
  c,
288
295
  e.field === i && /* @__PURE__ */ y(
289
- be,
296
+ Oe,
290
297
  {
291
298
  icon: e.dir === "ASC" ? Gr : Hr,
292
299
  className: "ordering-dropdown__sort-icon"
293
300
  }
294
301
  )
295
302
  ] }, i)),
296
- /* @__PURE__ */ y(Oe, { divider: !0 }),
297
- /* @__PURE__ */ y(Oe, { disabled: !e.field, onClick: () => t(), children: /* @__PURE__ */ y("i", { children: "Clear selection" }) })
303
+ /* @__PURE__ */ y(Ae, { divider: !0 }),
304
+ /* @__PURE__ */ y(Ae, { disabled: !e.field, onClick: () => t(), children: /* @__PURE__ */ y("i", { children: "Clear selection" }) })
298
305
  ]
299
306
  }
300
307
  )
301
308
  ] });
302
309
  }
303
- const _a = "#4696e5", Ra = "rgba(70, 150, 229, 0.4)", Ca = "#f77f28", Ta = "rgba(247, 127, 40, 0.4)", Da = "white", Ma = "#161b22", Ua = (r) => {
310
+ const Ca = "#4696e5", Ta = "rgba(70, 150, 229, 0.4)", Da = "#f77f28", Ma = "rgba(247, 127, 40, 0.4)", Ua = "white", ka = "#161b22", Ba = (r) => {
304
311
  var e;
305
312
  return (e = document.querySelector("html")) == null ? void 0 : e.setAttribute("data-theme", r);
306
- }, Ba = () => {
313
+ }, La = () => {
307
314
  var r;
308
315
  return ((r = document.querySelector("html")) == null ? void 0 : r.getAttribute("data-theme")) === "dark";
309
316
  };
310
- var mt = function() {
317
+ var vt = function() {
311
318
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
312
319
  return !1;
313
320
  if (typeof Symbol.iterator == "symbol")
@@ -330,27 +337,27 @@ var mt = function() {
330
337
  return !1;
331
338
  }
332
339
  return !0;
333
- }, Ke = typeof Symbol < "u" && Symbol, vt = mt, ht = function() {
334
- return typeof Ke != "function" || typeof Symbol != "function" || typeof Ke("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : vt();
335
- }, Xe = {
340
+ }, Xe = typeof Symbol < "u" && Symbol, ht = vt, gt = function() {
341
+ return typeof Xe != "function" || typeof Symbol != "function" || typeof Xe("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ht();
342
+ }, Ze = {
336
343
  foo: {}
337
- }, gt = Object, St = function() {
338
- return { __proto__: Xe }.foo === Xe.foo && !({ __proto__: null } instanceof gt);
339
- }, bt = "Function.prototype.bind called on incompatible ", we = Array.prototype.slice, Ot = Object.prototype.toString, wt = "[object Function]", At = function(e) {
344
+ }, St = Object, bt = function() {
345
+ return { __proto__: Ze }.foo === Ze.foo && !({ __proto__: null } instanceof St);
346
+ }, Ot = "Function.prototype.bind called on incompatible ", Pe = Array.prototype.slice, wt = Object.prototype.toString, At = "[object Function]", Pt = function(e) {
340
347
  var t = this;
341
- if (typeof t != "function" || Ot.call(t) !== wt)
342
- throw new TypeError(bt + t);
343
- for (var n = we.call(arguments, 1), o, a = function() {
348
+ if (typeof t != "function" || wt.call(t) !== At)
349
+ throw new TypeError(Ot + t);
350
+ for (var n = Pe.call(arguments, 1), o, a = function() {
344
351
  if (this instanceof o) {
345
352
  var u = t.apply(
346
353
  this,
347
- n.concat(we.call(arguments))
354
+ n.concat(Pe.call(arguments))
348
355
  );
349
356
  return Object(u) === u ? u : this;
350
357
  } else
351
358
  return t.apply(
352
359
  e,
353
- n.concat(we.call(arguments))
360
+ n.concat(Pe.call(arguments))
354
361
  );
355
362
  }, l = Math.max(0, t.length - n.length), i = [], c = 0; c < l; c++)
356
363
  i.push("$" + c);
@@ -360,7 +367,7 @@ var mt = function() {
360
367
  f.prototype = t.prototype, o.prototype = new f(), f.prototype = null;
361
368
  }
362
369
  return o;
363
- }, Pt = At, We = Function.prototype.bind || Pt, Et = We, xt = Et.call(Function.call, Object.prototype.hasOwnProperty), s, Y = SyntaxError, Ar = Function, J = TypeError, Ae = function(r) {
370
+ }, Et = Pt, Ge = Function.prototype.bind || Et, xt = Ge, Nt = xt.call(Function.call, Object.prototype.hasOwnProperty), s, Y = SyntaxError, Ar = Function, J = TypeError, Ee = function(r) {
364
371
  try {
365
372
  return Ar('"use strict"; return (' + r + ").constructor;")();
366
373
  } catch {
@@ -372,19 +379,19 @@ if (L)
372
379
  } catch {
373
380
  L = null;
374
381
  }
375
- var Pe = function() {
382
+ var xe = function() {
376
383
  throw new J();
377
- }, Nt = L ? function() {
384
+ }, It = L ? function() {
378
385
  try {
379
- return arguments.callee, Pe;
386
+ return arguments.callee, xe;
380
387
  } catch {
381
388
  try {
382
389
  return L(arguments, "callee").get;
383
390
  } catch {
384
- return Pe;
391
+ return xe;
385
392
  }
386
393
  }
387
- }() : Pe, q = ht(), It = St(), S = Object.getPrototypeOf || (It ? function(r) {
394
+ }() : xe, q = gt(), Ft = bt(), S = Object.getPrototypeOf || (Ft ? function(r) {
388
395
  return r.__proto__;
389
396
  } : null), j = {}, $t = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), W = {
390
397
  "%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
@@ -443,7 +450,7 @@ var Pe = function() {
443
450
  "%StringIteratorPrototype%": q && S ? S(""[Symbol.iterator]()) : s,
444
451
  "%Symbol%": q ? Symbol : s,
445
452
  "%SyntaxError%": Y,
446
- "%ThrowTypeError%": Nt,
453
+ "%ThrowTypeError%": It,
447
454
  "%TypedArray%": $t,
448
455
  "%TypeError%": J,
449
456
  "%Uint8Array%": typeof Uint8Array > "u" ? s : Uint8Array,
@@ -459,17 +466,17 @@ if (S)
459
466
  try {
460
467
  null.error;
461
468
  } catch (r) {
462
- var Ft = S(S(r));
463
- W["%Error.prototype%"] = Ft;
469
+ var _t = S(S(r));
470
+ W["%Error.prototype%"] = _t;
464
471
  }
465
- var _t = function r(e) {
472
+ var Rt = function r(e) {
466
473
  var t;
467
474
  if (e === "%AsyncFunction%")
468
- t = Ae("async function () {}");
475
+ t = Ee("async function () {}");
469
476
  else if (e === "%GeneratorFunction%")
470
- t = Ae("function* () {}");
477
+ t = Ee("function* () {}");
471
478
  else if (e === "%AsyncGeneratorFunction%")
472
- t = Ae("async function* () {}");
479
+ t = Ee("async function* () {}");
473
480
  else if (e === "%AsyncGenerator%") {
474
481
  var n = r("%AsyncGeneratorFunction%");
475
482
  n && (t = n.prototype);
@@ -478,7 +485,7 @@ var _t = function r(e) {
478
485
  o && S && (t = S(o.prototype));
479
486
  }
480
487
  return W[e] = t, t;
481
- }, Ze = {
488
+ }, er = {
482
489
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
483
490
  "%ArrayPrototype%": ["Array", "prototype"],
484
491
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -530,21 +537,21 @@ var _t = function r(e) {
530
537
  "%URIErrorPrototype%": ["URIError", "prototype"],
531
538
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
532
539
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
533
- }, ie = We, ve = xt, Rt = ie.call(Function.call, Array.prototype.concat), Ct = ie.call(Function.apply, Array.prototype.splice), er = ie.call(Function.call, String.prototype.replace), he = ie.call(Function.call, String.prototype.slice), Tt = ie.call(Function.call, RegExp.prototype.exec), Dt = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Mt = /\\(\\)?/g, Ut = function(e) {
534
- var t = he(e, 0, 1), n = he(e, -1);
540
+ }, le = Ge, he = Nt, Ct = le.call(Function.call, Array.prototype.concat), Tt = le.call(Function.apply, Array.prototype.splice), rr = le.call(Function.call, String.prototype.replace), ge = le.call(Function.call, String.prototype.slice), Dt = le.call(Function.call, RegExp.prototype.exec), Mt = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ut = /\\(\\)?/g, kt = function(e) {
541
+ var t = ge(e, 0, 1), n = ge(e, -1);
535
542
  if (t === "%" && n !== "%")
536
543
  throw new Y("invalid intrinsic syntax, expected closing `%`");
537
544
  if (n === "%" && t !== "%")
538
545
  throw new Y("invalid intrinsic syntax, expected opening `%`");
539
546
  var o = [];
540
- return er(e, Dt, function(a, l, i, c) {
541
- o[o.length] = i ? er(c, Mt, "$1") : l || a;
547
+ return rr(e, Mt, function(a, l, i, c) {
548
+ o[o.length] = i ? rr(c, Ut, "$1") : l || a;
542
549
  }), o;
543
550
  }, Bt = function(e, t) {
544
551
  var n = e, o;
545
- if (ve(Ze, n) && (o = Ze[n], n = "%" + o[0] + "%"), ve(W, n)) {
552
+ if (he(er, n) && (o = er[n], n = "%" + o[0] + "%"), he(W, n)) {
546
553
  var a = W[n];
547
- if (a === j && (a = _t(n)), typeof a > "u" && !t)
554
+ if (a === j && (a = Rt(n)), typeof a > "u" && !t)
548
555
  throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
549
556
  return {
550
557
  alias: o,
@@ -553,20 +560,20 @@ var _t = function r(e) {
553
560
  };
554
561
  }
555
562
  throw new Y("intrinsic " + e + " does not exist!");
556
- }, Ge = function(e, t) {
563
+ }, He = function(e, t) {
557
564
  if (typeof e != "string" || e.length === 0)
558
565
  throw new J("intrinsic name must be a non-empty string");
559
566
  if (arguments.length > 1 && typeof t != "boolean")
560
567
  throw new J('"allowMissing" argument must be a boolean');
561
- if (Tt(/^%?[^%]*%?$/, e) === null)
568
+ if (Dt(/^%?[^%]*%?$/, e) === null)
562
569
  throw new Y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
563
- var n = Ut(e), o = n.length > 0 ? n[0] : "", a = Bt("%" + o + "%", t), l = a.name, i = a.value, c = !1, f = a.alias;
564
- f && (o = f[0], Ct(n, Rt([0, 1], f)));
565
- for (var u = 1, d = !0; u < n.length; u += 1) {
566
- var p = n[u], h = he(p, 0, 1), v = he(p, -1);
567
- if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
570
+ var n = kt(e), o = n.length > 0 ? n[0] : "", a = Bt("%" + o + "%", t), l = a.name, i = a.value, c = !1, f = a.alias;
571
+ f && (o = f[0], Tt(n, Ct([0, 1], f)));
572
+ for (var u = 1, m = !0; u < n.length; u += 1) {
573
+ var p = n[u], h = ge(p, 0, 1), d = ge(p, -1);
574
+ if ((h === '"' || h === "'" || h === "`" || d === '"' || d === "'" || d === "`") && h !== d)
568
575
  throw new Y("property names with quotes must have matching quotes");
569
- if ((p === "constructor" || !d) && (c = !0), o += "." + p, l = "%" + o + "%", ve(W, l))
576
+ if ((p === "constructor" || !m) && (c = !0), o += "." + p, l = "%" + o + "%", he(W, l))
570
577
  i = W[l];
571
578
  else if (i != null) {
572
579
  if (!(p in i)) {
@@ -576,30 +583,30 @@ var _t = function r(e) {
576
583
  }
577
584
  if (L && u + 1 >= n.length) {
578
585
  var A = L(i, p);
579
- d = !!A, d && "get" in A && !("originalValue" in A.get) ? i = A.get : i = i[p];
586
+ m = !!A, m && "get" in A && !("originalValue" in A.get) ? i = A.get : i = i[p];
580
587
  } else
581
- d = ve(i, p), i = i[p];
582
- d && !c && (W[l] = i);
588
+ m = he(i, p), i = i[p];
589
+ m && !c && (W[l] = i);
583
590
  }
584
591
  }
585
592
  return i;
586
593
  }, Pr = { exports: {} };
587
594
  (function(r) {
588
- var e = We, t = Ge, n = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), a = t("%Reflect.apply%", !0) || e.call(o, n), l = t("%Object.getOwnPropertyDescriptor%", !0), i = t("%Object.defineProperty%", !0), c = t("%Math.max%");
595
+ var e = Ge, t = He, n = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), a = t("%Reflect.apply%", !0) || e.call(o, n), l = t("%Object.getOwnPropertyDescriptor%", !0), i = t("%Object.defineProperty%", !0), c = t("%Math.max%");
589
596
  if (i)
590
597
  try {
591
598
  i({}, "a", { value: 1 });
592
599
  } catch {
593
600
  i = null;
594
601
  }
595
- r.exports = function(d) {
602
+ r.exports = function(m) {
596
603
  var p = a(e, o, arguments);
597
604
  if (l && i) {
598
605
  var h = l(p, "length");
599
606
  h.configurable && i(
600
607
  p,
601
608
  "length",
602
- { value: 1 + c(0, d.length - (arguments.length - 1)) }
609
+ { value: 1 + c(0, m.length - (arguments.length - 1)) }
603
610
  );
604
611
  }
605
612
  return p;
@@ -609,31 +616,31 @@ var _t = function r(e) {
609
616
  };
610
617
  i ? i(r.exports, "apply", { value: f }) : r.exports.apply = f;
611
618
  })(Pr);
612
- var kt = Pr.exports, Er = Ge, xr = kt, Lt = xr(Er("String.prototype.indexOf")), Wt = function(e, t) {
619
+ var Lt = Pr.exports, Er = He, xr = Lt, Wt = xr(Er("String.prototype.indexOf")), Gt = function(e, t) {
613
620
  var n = Er(e, !!t);
614
- return typeof n == "function" && Lt(e, ".prototype.") > -1 ? xr(n) : n;
621
+ return typeof n == "function" && Wt(e, ".prototype.") > -1 ? xr(n) : n;
615
622
  };
616
- const Gt = {}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
623
+ const Ht = {}, Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
617
624
  __proto__: null,
618
- default: Gt
619
- }, Symbol.toStringTag, { value: "Module" })), Vt = /* @__PURE__ */ Zr(Ht);
620
- var He = typeof Map == "function" && Map.prototype, Ee = Object.getOwnPropertyDescriptor && He ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ge = He && Ee && typeof Ee.get == "function" ? Ee.get : null, rr = He && Map.prototype.forEach, Ve = typeof Set == "function" && Set.prototype, xe = Object.getOwnPropertyDescriptor && Ve ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Se = Ve && xe && typeof xe.get == "function" ? xe.get : null, tr = Ve && Set.prototype.forEach, zt = typeof WeakMap == "function" && WeakMap.prototype, ne = zt ? WeakMap.prototype.has : null, Qt = typeof WeakSet == "function" && WeakSet.prototype, ae = Qt ? WeakSet.prototype.has : null, qt = typeof WeakRef == "function" && WeakRef.prototype, nr = qt ? WeakRef.prototype.deref : null, jt = Boolean.prototype.valueOf, Jt = Object.prototype.toString, Yt = Function.prototype.toString, Kt = String.prototype.match, ze = String.prototype.slice, M = String.prototype.replace, Xt = String.prototype.toUpperCase, ar = String.prototype.toLowerCase, Nr = RegExp.prototype.test, or = Array.prototype.concat, I = Array.prototype.join, Zt = Array.prototype.slice, ir = Math.floor, Ce = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ne = Object.getOwnPropertySymbols, Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, K = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === K || "symbol") ? Symbol.toStringTag : null, Ir = Object.prototype.propertyIsEnumerable, lr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
625
+ default: Ht
626
+ }, Symbol.toStringTag, { value: "Module" })), zt = /* @__PURE__ */ et(Vt);
627
+ var Ve = typeof Map == "function" && Map.prototype, Ne = Object.getOwnPropertyDescriptor && Ve ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Se = Ve && Ne && typeof Ne.get == "function" ? Ne.get : null, tr = Ve && Map.prototype.forEach, ze = typeof Set == "function" && Set.prototype, Ie = Object.getOwnPropertyDescriptor && ze ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, be = ze && Ie && typeof Ie.get == "function" ? Ie.get : null, nr = ze && Set.prototype.forEach, Qt = typeof WeakMap == "function" && WeakMap.prototype, ae = Qt ? WeakMap.prototype.has : null, qt = typeof WeakSet == "function" && WeakSet.prototype, oe = qt ? WeakSet.prototype.has : null, jt = typeof WeakRef == "function" && WeakRef.prototype, ar = jt ? WeakRef.prototype.deref : null, Jt = Boolean.prototype.valueOf, Yt = Object.prototype.toString, Kt = Function.prototype.toString, Xt = String.prototype.match, Qe = String.prototype.slice, M = String.prototype.replace, Zt = String.prototype.toUpperCase, or = String.prototype.toLowerCase, Nr = RegExp.prototype.test, ir = Array.prototype.concat, I = Array.prototype.join, en = Array.prototype.slice, lr = Math.floor, De = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Fe = Object.getOwnPropertySymbols, Me = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, K = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === K || "symbol") ? Symbol.toStringTag : null, Ir = Object.prototype.propertyIsEnumerable, cr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
621
628
  return r.__proto__;
622
629
  } : null);
623
- function cr(r, e) {
630
+ function fr(r, e) {
624
631
  if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Nr.call(/e/, e))
625
632
  return e;
626
633
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
627
634
  if (typeof r == "number") {
628
- var n = r < 0 ? -ir(-r) : ir(r);
635
+ var n = r < 0 ? -lr(-r) : lr(r);
629
636
  if (n !== r) {
630
- var o = String(n), a = ze.call(e, o.length + 1);
637
+ var o = String(n), a = Qe.call(e, o.length + 1);
631
638
  return M.call(o, t, "$&_") + "." + M.call(M.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
632
639
  }
633
640
  }
634
641
  return M.call(e, t, "$&_");
635
642
  }
636
- var De = Vt, fr = De.custom, ur = Fr(fr) ? fr : null, en = function r(e, t, n, o) {
643
+ var Ue = zt, ur = Ue.custom, pr = $r(ur) ? ur : null, rn = function r(e, t, n, o) {
637
644
  var a = t || {};
638
645
  if (D(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
639
646
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -659,22 +666,22 @@ var De = Vt, fr = De.custom, ur = Fr(fr) ? fr : null, en = function r(e, t, n, o
659
666
  if (e === 0)
660
667
  return 1 / 0 / e > 0 ? "0" : "-0";
661
668
  var c = String(e);
662
- return i ? cr(e, c) : c;
669
+ return i ? fr(e, c) : c;
663
670
  }
664
671
  if (typeof e == "bigint") {
665
672
  var f = String(e) + "n";
666
- return i ? cr(e, f) : f;
673
+ return i ? fr(e, f) : f;
667
674
  }
668
675
  var u = typeof a.depth > "u" ? 5 : a.depth;
669
676
  if (typeof n > "u" && (n = 0), n >= u && u > 0 && typeof e == "object")
670
- return Me(e) ? "[Array]" : "[Object]";
671
- var d = Sn(a, n);
677
+ return ke(e) ? "[Array]" : "[Object]";
678
+ var m = bn(a, n);
672
679
  if (typeof o > "u")
673
680
  o = [];
674
681
  else if (_r(o, e) >= 0)
675
682
  return "[Circular]";
676
- function p(_, z, ce) {
677
- if (z && (o = Zt.call(o), o.push(z)), ce) {
683
+ function p(_, z, fe) {
684
+ if (z && (o = en.call(o), o.push(z)), fe) {
678
685
  var Q = {
679
686
  depth: a.depth
680
687
  };
@@ -682,130 +689,130 @@ var De = Vt, fr = De.custom, ur = Fr(fr) ? fr : null, en = function r(e, t, n, o
682
689
  }
683
690
  return r(_, a, n + 1, o);
684
691
  }
685
- if (typeof e == "function" && !pr(e)) {
686
- var h = un(e), v = ue(e, p);
687
- return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + I.call(v, ", ") + " }" : "");
692
+ if (typeof e == "function" && !sr(e)) {
693
+ var h = pn(e), d = pe(e, p);
694
+ return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (d.length > 0 ? " { " + I.call(d, ", ") + " }" : "");
688
695
  }
689
- if (Fr(e)) {
690
- var A = K ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Te.call(e);
696
+ if ($r(e)) {
697
+ var A = K ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Me.call(e);
691
698
  return typeof e == "object" && !K ? te(A) : A;
692
699
  }
693
- if (vn(e)) {
694
- for (var $ = "<" + ar.call(String(e.nodeName)), m = e.attributes || [], F = 0; F < m.length; F++)
695
- $ += " " + m[F].name + "=" + $r(rn(m[F].value), "double", a);
696
- return $ += ">", e.childNodes && e.childNodes.length && ($ += "..."), $ += "</" + ar.call(String(e.nodeName)) + ">", $;
700
+ if (hn(e)) {
701
+ for (var F = "<" + or.call(String(e.nodeName)), v = e.attributes || [], $ = 0; $ < v.length; $++)
702
+ F += " " + v[$].name + "=" + Fr(tn(v[$].value), "double", a);
703
+ return F += ">", e.childNodes && e.childNodes.length && (F += "..."), F += "</" + or.call(String(e.nodeName)) + ">", F;
697
704
  }
698
- if (Me(e)) {
705
+ if (ke(e)) {
699
706
  if (e.length === 0)
700
707
  return "[]";
701
- var C = ue(e, p);
702
- return d && !gn(C) ? "[" + Ue(C, d) + "]" : "[ " + I.call(C, ", ") + " ]";
708
+ var C = pe(e, p);
709
+ return m && !Sn(C) ? "[" + Be(C, m) + "]" : "[ " + I.call(C, ", ") + " ]";
703
710
  }
704
- if (nn(e)) {
705
- var G = ue(e, p);
706
- return !("cause" in Error.prototype) && "cause" in e && !Ir.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(or.call("[cause]: " + p(e.cause), G), ", ") + " }" : G.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(G, ", ") + " }";
711
+ if (an(e)) {
712
+ var G = pe(e, p);
713
+ return !("cause" in Error.prototype) && "cause" in e && !Ir.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(ir.call("[cause]: " + p(e.cause), G), ", ") + " }" : G.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(G, ", ") + " }";
707
714
  }
708
715
  if (typeof e == "object" && l) {
709
- if (ur && typeof e[ur] == "function" && De)
710
- return De(e, { depth: u - n });
716
+ if (pr && typeof e[pr] == "function" && Ue)
717
+ return Ue(e, { depth: u - n });
711
718
  if (l !== "symbol" && typeof e.inspect == "function")
712
719
  return e.inspect();
713
720
  }
714
- if (pn(e)) {
721
+ if (sn(e)) {
715
722
  var ee = [];
716
- return rr && rr.call(e, function(_, z) {
723
+ return tr && tr.call(e, function(_, z) {
717
724
  ee.push(p(z, e, !0) + " => " + p(_, e));
718
- }), sr("Map", ge.call(e), ee, d);
725
+ }), yr("Map", Se.call(e), ee, m);
719
726
  }
720
- if (dn(e)) {
721
- var le = [];
722
- return tr && tr.call(e, function(_) {
723
- le.push(p(_, e));
724
- }), sr("Set", Se.call(e), le, d);
727
+ if (mn(e)) {
728
+ var ce = [];
729
+ return nr && nr.call(e, function(_) {
730
+ ce.push(p(_, e));
731
+ }), yr("Set", be.call(e), ce, m);
725
732
  }
726
- if (sn(e))
727
- return Ie("WeakMap");
728
- if (mn(e))
729
- return Ie("WeakSet");
730
733
  if (yn(e))
731
- return Ie("WeakRef");
732
- if (on(e))
734
+ return $e("WeakMap");
735
+ if (vn(e))
736
+ return $e("WeakSet");
737
+ if (dn(e))
738
+ return $e("WeakRef");
739
+ if (ln(e))
733
740
  return te(p(Number(e)));
741
+ if (fn(e))
742
+ return te(p(De.call(e)));
734
743
  if (cn(e))
735
- return te(p(Ce.call(e)));
736
- if (ln(e))
737
- return te(jt.call(e));
738
- if (an(e))
744
+ return te(Jt.call(e));
745
+ if (on(e))
739
746
  return te(p(String(e)));
740
- if (!tn(e) && !pr(e)) {
741
- var B = ue(e, p), T = lr ? lr(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", V = !T && w && Object(e) === e && w in e ? ze.call(U(e), 8, -1) : H ? "Object" : "", re = T || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = re + (V || H ? "[" + I.call(or.call([], V || [], H || []), ": ") + "] " : "");
742
- return B.length === 0 ? x + "{}" : d ? x + "{" + Ue(B, d) + "}" : x + "{ " + I.call(B, ", ") + " }";
747
+ if (!nn(e) && !sr(e)) {
748
+ var k = pe(e, p), T = cr ? cr(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", V = !T && w && Object(e) === e && w in e ? Qe.call(U(e), 8, -1) : H ? "Object" : "", re = T || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = re + (V || H ? "[" + I.call(ir.call([], V || [], H || []), ": ") + "] " : "");
749
+ return k.length === 0 ? x + "{}" : m ? x + "{" + Be(k, m) + "}" : x + "{ " + I.call(k, ", ") + " }";
743
750
  }
744
751
  return String(e);
745
752
  };
746
- function $r(r, e, t) {
753
+ function Fr(r, e, t) {
747
754
  var n = (t.quoteStyle || e) === "double" ? '"' : "'";
748
755
  return n + r + n;
749
756
  }
750
- function rn(r) {
757
+ function tn(r) {
751
758
  return M.call(String(r), /"/g, "&quot;");
752
759
  }
753
- function Me(r) {
760
+ function ke(r) {
754
761
  return U(r) === "[object Array]" && (!w || !(typeof r == "object" && w in r));
755
762
  }
756
- function tn(r) {
763
+ function nn(r) {
757
764
  return U(r) === "[object Date]" && (!w || !(typeof r == "object" && w in r));
758
765
  }
759
- function pr(r) {
766
+ function sr(r) {
760
767
  return U(r) === "[object RegExp]" && (!w || !(typeof r == "object" && w in r));
761
768
  }
762
- function nn(r) {
769
+ function an(r) {
763
770
  return U(r) === "[object Error]" && (!w || !(typeof r == "object" && w in r));
764
771
  }
765
- function an(r) {
772
+ function on(r) {
766
773
  return U(r) === "[object String]" && (!w || !(typeof r == "object" && w in r));
767
774
  }
768
- function on(r) {
775
+ function ln(r) {
769
776
  return U(r) === "[object Number]" && (!w || !(typeof r == "object" && w in r));
770
777
  }
771
- function ln(r) {
778
+ function cn(r) {
772
779
  return U(r) === "[object Boolean]" && (!w || !(typeof r == "object" && w in r));
773
780
  }
774
- function Fr(r) {
781
+ function $r(r) {
775
782
  if (K)
776
783
  return r && typeof r == "object" && r instanceof Symbol;
777
784
  if (typeof r == "symbol")
778
785
  return !0;
779
- if (!r || typeof r != "object" || !Te)
786
+ if (!r || typeof r != "object" || !Me)
780
787
  return !1;
781
788
  try {
782
- return Te.call(r), !0;
789
+ return Me.call(r), !0;
783
790
  } catch {
784
791
  }
785
792
  return !1;
786
793
  }
787
- function cn(r) {
788
- if (!r || typeof r != "object" || !Ce)
794
+ function fn(r) {
795
+ if (!r || typeof r != "object" || !De)
789
796
  return !1;
790
797
  try {
791
- return Ce.call(r), !0;
798
+ return De.call(r), !0;
792
799
  } catch {
793
800
  }
794
801
  return !1;
795
802
  }
796
- var fn = Object.prototype.hasOwnProperty || function(r) {
803
+ var un = Object.prototype.hasOwnProperty || function(r) {
797
804
  return r in this;
798
805
  };
799
806
  function D(r, e) {
800
- return fn.call(r, e);
807
+ return un.call(r, e);
801
808
  }
802
809
  function U(r) {
803
- return Jt.call(r);
810
+ return Yt.call(r);
804
811
  }
805
- function un(r) {
812
+ function pn(r) {
806
813
  if (r.name)
807
814
  return r.name;
808
- var e = Kt.call(Yt.call(r), /^function\s*([\w$]+)/);
815
+ var e = Xt.call(Kt.call(r), /^function\s*([\w$]+)/);
809
816
  return e ? e[1] : null;
810
817
  }
811
818
  function _r(r, e) {
@@ -816,13 +823,13 @@ function _r(r, e) {
816
823
  return t;
817
824
  return -1;
818
825
  }
819
- function pn(r) {
820
- if (!ge || !r || typeof r != "object")
826
+ function sn(r) {
827
+ if (!Se || !r || typeof r != "object")
821
828
  return !1;
822
829
  try {
823
- ge.call(r);
830
+ Se.call(r);
824
831
  try {
825
- Se.call(r);
832
+ be.call(r);
826
833
  } catch {
827
834
  return !0;
828
835
  }
@@ -831,13 +838,13 @@ function pn(r) {
831
838
  }
832
839
  return !1;
833
840
  }
834
- function sn(r) {
835
- if (!ne || !r || typeof r != "object")
841
+ function yn(r) {
842
+ if (!ae || !r || typeof r != "object")
836
843
  return !1;
837
844
  try {
838
- ne.call(r, ne);
845
+ ae.call(r, ae);
839
846
  try {
840
- ae.call(r, ae);
847
+ oe.call(r, oe);
841
848
  } catch {
842
849
  return !0;
843
850
  }
@@ -846,22 +853,22 @@ function sn(r) {
846
853
  }
847
854
  return !1;
848
855
  }
849
- function yn(r) {
850
- if (!nr || !r || typeof r != "object")
856
+ function dn(r) {
857
+ if (!ar || !r || typeof r != "object")
851
858
  return !1;
852
859
  try {
853
- return nr.call(r), !0;
860
+ return ar.call(r), !0;
854
861
  } catch {
855
862
  }
856
863
  return !1;
857
864
  }
858
- function dn(r) {
859
- if (!Se || !r || typeof r != "object")
865
+ function mn(r) {
866
+ if (!be || !r || typeof r != "object")
860
867
  return !1;
861
868
  try {
862
- Se.call(r);
869
+ be.call(r);
863
870
  try {
864
- ge.call(r);
871
+ Se.call(r);
865
872
  } catch {
866
873
  return !0;
867
874
  }
@@ -870,13 +877,13 @@ function dn(r) {
870
877
  }
871
878
  return !1;
872
879
  }
873
- function mn(r) {
874
- if (!ae || !r || typeof r != "object")
880
+ function vn(r) {
881
+ if (!oe || !r || typeof r != "object")
875
882
  return !1;
876
883
  try {
877
- ae.call(r, ae);
884
+ oe.call(r, oe);
878
885
  try {
879
- ne.call(r, ne);
886
+ ae.call(r, ae);
880
887
  } catch {
881
888
  return !0;
882
889
  }
@@ -885,18 +892,18 @@ function mn(r) {
885
892
  }
886
893
  return !1;
887
894
  }
888
- function vn(r) {
895
+ function hn(r) {
889
896
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
890
897
  }
891
898
  function Rr(r, e) {
892
899
  if (r.length > e.maxStringLength) {
893
900
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
894
- return Rr(ze.call(r, 0, e.maxStringLength), e) + n;
901
+ return Rr(Qe.call(r, 0, e.maxStringLength), e) + n;
895
902
  }
896
- var o = M.call(M.call(r, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, hn);
897
- return $r(o, "single", e);
903
+ var o = M.call(M.call(r, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, gn);
904
+ return Fr(o, "single", e);
898
905
  }
899
- function hn(r) {
906
+ function gn(r) {
900
907
  var e = r.charCodeAt(0), t = {
901
908
  8: "b",
902
909
  9: "t",
@@ -904,26 +911,26 @@ function hn(r) {
904
911
  12: "f",
905
912
  13: "r"
906
913
  }[e];
907
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Xt.call(e.toString(16));
914
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Zt.call(e.toString(16));
908
915
  }
909
916
  function te(r) {
910
917
  return "Object(" + r + ")";
911
918
  }
912
- function Ie(r) {
919
+ function $e(r) {
913
920
  return r + " { ? }";
914
921
  }
915
- function sr(r, e, t, n) {
916
- var o = n ? Ue(t, n) : I.call(t, ", ");
922
+ function yr(r, e, t, n) {
923
+ var o = n ? Be(t, n) : I.call(t, ", ");
917
924
  return r + " (" + e + ") {" + o + "}";
918
925
  }
919
- function gn(r) {
926
+ function Sn(r) {
920
927
  for (var e = 0; e < r.length; e++)
921
928
  if (_r(r[e], `
922
929
  `) >= 0)
923
930
  return !1;
924
931
  return !0;
925
932
  }
926
- function Sn(r, e) {
933
+ function bn(r, e) {
927
934
  var t;
928
935
  if (r.indent === " ")
929
936
  t = " ";
@@ -936,7 +943,7 @@ function Sn(r, e) {
936
943
  prev: I.call(Array(e + 1), t)
937
944
  };
938
945
  }
939
- function Ue(r, e) {
946
+ function Be(r, e) {
940
947
  if (r.length === 0)
941
948
  return "";
942
949
  var t = `
@@ -944,14 +951,14 @@ function Ue(r, e) {
944
951
  return t + I.call(r, "," + t) + `
945
952
  ` + e.prev;
946
953
  }
947
- function ue(r, e) {
948
- var t = Me(r), n = [];
954
+ function pe(r, e) {
955
+ var t = ke(r), n = [];
949
956
  if (t) {
950
957
  n.length = r.length;
951
958
  for (var o = 0; o < r.length; o++)
952
959
  n[o] = D(r, o) ? e(r[o], r) : "";
953
960
  }
954
- var a = typeof Ne == "function" ? Ne(r) : [], l;
961
+ var a = typeof Fe == "function" ? Fe(r) : [], l;
955
962
  if (K) {
956
963
  l = {};
957
964
  for (var i = 0; i < a.length; i++)
@@ -959,83 +966,83 @@ function ue(r, e) {
959
966
  }
960
967
  for (var c in r)
961
968
  D(r, c) && (t && String(Number(c)) === c && c < r.length || K && l["$" + c] instanceof Symbol || (Nr.call(/[^\w$]/, c) ? n.push(e(c, r) + ": " + e(r[c], r)) : n.push(c + ": " + e(r[c], r))));
962
- if (typeof Ne == "function")
969
+ if (typeof Fe == "function")
963
970
  for (var f = 0; f < a.length; f++)
964
971
  Ir.call(r, a[f]) && n.push("[" + e(a[f]) + "]: " + e(r[a[f]], r));
965
972
  return n;
966
973
  }
967
- var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0), se = Qe("%Map%", !0), wn = Z("WeakMap.prototype.get", !0), An = Z("WeakMap.prototype.set", !0), Pn = Z("WeakMap.prototype.has", !0), En = Z("Map.prototype.get", !0), xn = Z("Map.prototype.set", !0), Nn = Z("Map.prototype.has", !0), qe = function(r, e) {
974
+ var qe = He, Z = Gt, On = rn, wn = qe("%TypeError%"), se = qe("%WeakMap%", !0), ye = qe("%Map%", !0), An = Z("WeakMap.prototype.get", !0), Pn = Z("WeakMap.prototype.set", !0), En = Z("WeakMap.prototype.has", !0), xn = Z("Map.prototype.get", !0), Nn = Z("Map.prototype.set", !0), In = Z("Map.prototype.has", !0), je = function(r, e) {
968
975
  for (var t = r, n; (n = t.next) !== null; t = n)
969
976
  if (n.key === e)
970
977
  return t.next = n.next, n.next = r.next, r.next = n, n;
971
- }, In = function(r, e) {
972
- var t = qe(r, e);
978
+ }, Fn = function(r, e) {
979
+ var t = je(r, e);
973
980
  return t && t.value;
974
981
  }, $n = function(r, e, t) {
975
- var n = qe(r, e);
982
+ var n = je(r, e);
976
983
  n ? n.value = t : r.next = {
977
984
  // eslint-disable-line no-param-reassign
978
985
  key: e,
979
986
  next: r.next,
980
987
  value: t
981
988
  };
982
- }, Fn = function(r, e) {
983
- return !!qe(r, e);
984
- }, _n = function() {
989
+ }, _n = function(r, e) {
990
+ return !!je(r, e);
991
+ }, Rn = function() {
985
992
  var e, t, n, o = {
986
993
  assert: function(a) {
987
994
  if (!o.has(a))
988
- throw new On("Side channel does not contain " + bn(a));
995
+ throw new wn("Side channel does not contain " + On(a));
989
996
  },
990
997
  get: function(a) {
991
- if (pe && a && (typeof a == "object" || typeof a == "function")) {
998
+ if (se && a && (typeof a == "object" || typeof a == "function")) {
992
999
  if (e)
993
- return wn(e, a);
994
- } else if (se) {
1000
+ return An(e, a);
1001
+ } else if (ye) {
995
1002
  if (t)
996
- return En(t, a);
1003
+ return xn(t, a);
997
1004
  } else if (n)
998
- return In(n, a);
1005
+ return Fn(n, a);
999
1006
  },
1000
1007
  has: function(a) {
1001
- if (pe && a && (typeof a == "object" || typeof a == "function")) {
1008
+ if (se && a && (typeof a == "object" || typeof a == "function")) {
1002
1009
  if (e)
1003
- return Pn(e, a);
1004
- } else if (se) {
1010
+ return En(e, a);
1011
+ } else if (ye) {
1005
1012
  if (t)
1006
- return Nn(t, a);
1013
+ return In(t, a);
1007
1014
  } else if (n)
1008
- return Fn(n, a);
1015
+ return _n(n, a);
1009
1016
  return !1;
1010
1017
  },
1011
1018
  set: function(a, l) {
1012
- pe && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new pe()), An(e, a, l)) : se ? (t || (t = new se()), xn(t, a, l)) : (n || (n = { key: {}, next: null }), $n(n, a, l));
1019
+ se && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new se()), Pn(e, a, l)) : ye ? (t || (t = new ye()), Nn(t, a, l)) : (n || (n = { key: {}, next: null }), $n(n, a, l));
1013
1020
  }
1014
1021
  };
1015
1022
  return o;
1016
- }, Rn = String.prototype.replace, Cn = /%20/g, $e = {
1023
+ }, Cn = String.prototype.replace, Tn = /%20/g, _e = {
1017
1024
  RFC1738: "RFC1738",
1018
1025
  RFC3986: "RFC3986"
1019
- }, je = {
1020
- default: $e.RFC3986,
1026
+ }, Je = {
1027
+ default: _e.RFC3986,
1021
1028
  formatters: {
1022
1029
  RFC1738: function(r) {
1023
- return Rn.call(r, Cn, "+");
1030
+ return Cn.call(r, Tn, "+");
1024
1031
  },
1025
1032
  RFC3986: function(r) {
1026
1033
  return String(r);
1027
1034
  }
1028
1035
  },
1029
- RFC1738: $e.RFC1738,
1030
- RFC3986: $e.RFC3986
1031
- }, Tn = je, Fe = Object.prototype.hasOwnProperty, k = Array.isArray, N = function() {
1036
+ RFC1738: _e.RFC1738,
1037
+ RFC3986: _e.RFC3986
1038
+ }, Dn = Je, Re = Object.prototype.hasOwnProperty, B = Array.isArray, N = function() {
1032
1039
  for (var r = [], e = 0; e < 256; ++e)
1033
1040
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1034
1041
  return r;
1035
- }(), Dn = function(e) {
1042
+ }(), Mn = function(e) {
1036
1043
  for (; e.length > 1; ) {
1037
1044
  var t = e.pop(), n = t.obj[t.prop];
1038
- if (k(n)) {
1045
+ if (B(n)) {
1039
1046
  for (var o = [], a = 0; a < n.length; ++a)
1040
1047
  typeof n[a] < "u" && o.push(n[a]);
1041
1048
  t.obj[t.prop] = o;
@@ -1045,14 +1052,14 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1045
1052
  for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
1046
1053
  typeof e[o] < "u" && (n[o] = e[o]);
1047
1054
  return n;
1048
- }, Mn = function r(e, t, n) {
1055
+ }, Un = function r(e, t, n) {
1049
1056
  if (!t)
1050
1057
  return e;
1051
1058
  if (typeof t != "object") {
1052
- if (k(e))
1059
+ if (B(e))
1053
1060
  e.push(t);
1054
1061
  else if (e && typeof e == "object")
1055
- (n && (n.plainObjects || n.allowPrototypes) || !Fe.call(Object.prototype, t)) && (e[t] = !0);
1062
+ (n && (n.plainObjects || n.allowPrototypes) || !Re.call(Object.prototype, t)) && (e[t] = !0);
1056
1063
  else
1057
1064
  return [e, t];
1058
1065
  return e;
@@ -1060,17 +1067,17 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1060
1067
  if (!e || typeof e != "object")
1061
1068
  return [e].concat(t);
1062
1069
  var o = e;
1063
- return k(e) && !k(t) && (o = Cr(e, n)), k(e) && k(t) ? (t.forEach(function(a, l) {
1064
- if (Fe.call(e, l)) {
1070
+ return B(e) && !B(t) && (o = Cr(e, n)), B(e) && B(t) ? (t.forEach(function(a, l) {
1071
+ if (Re.call(e, l)) {
1065
1072
  var i = e[l];
1066
1073
  i && typeof i == "object" && a && typeof a == "object" ? e[l] = r(i, a, n) : e.push(a);
1067
1074
  } else
1068
1075
  e[l] = a;
1069
1076
  }), e) : Object.keys(t).reduce(function(a, l) {
1070
1077
  var i = t[l];
1071
- return Fe.call(a, l) ? a[l] = r(a[l], i, n) : a[l] = i, a;
1078
+ return Re.call(a, l) ? a[l] = r(a[l], i, n) : a[l] = i, a;
1072
1079
  }, o);
1073
- }, Un = function(e, t) {
1080
+ }, kn = function(e, t) {
1074
1081
  return Object.keys(t).reduce(function(n, o) {
1075
1082
  return n[o] = t[o], n;
1076
1083
  }, e);
@@ -1083,7 +1090,7 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1083
1090
  } catch {
1084
1091
  return n;
1085
1092
  }
1086
- }, kn = function(e, t, n, o, a) {
1093
+ }, Ln = function(e, t, n, o, a) {
1087
1094
  if (e.length === 0)
1088
1095
  return e;
1089
1096
  var l = e;
@@ -1093,7 +1100,7 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1093
1100
  });
1094
1101
  for (var i = "", c = 0; c < l.length; ++c) {
1095
1102
  var f = l.charCodeAt(c);
1096
- if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || a === Tn.RFC1738 && (f === 40 || f === 41)) {
1103
+ if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || a === Dn.RFC1738 && (f === 40 || f === 41)) {
1097
1104
  i += l.charAt(c);
1098
1105
  continue;
1099
1106
  }
@@ -1112,21 +1119,21 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1112
1119
  c += 1, f = 65536 + ((f & 1023) << 10 | l.charCodeAt(c) & 1023), i += N[240 | f >> 18] + N[128 | f >> 12 & 63] + N[128 | f >> 6 & 63] + N[128 | f & 63];
1113
1120
  }
1114
1121
  return i;
1115
- }, Ln = function(e) {
1122
+ }, Wn = function(e) {
1116
1123
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], o = 0; o < t.length; ++o)
1117
1124
  for (var a = t[o], l = a.obj[a.prop], i = Object.keys(l), c = 0; c < i.length; ++c) {
1118
1125
  var f = i[c], u = l[f];
1119
1126
  typeof u == "object" && u !== null && n.indexOf(u) === -1 && (t.push({ obj: l, prop: f }), n.push(u));
1120
1127
  }
1121
- return Dn(t), e;
1122
- }, Wn = function(e) {
1123
- return Object.prototype.toString.call(e) === "[object RegExp]";
1128
+ return Mn(t), e;
1124
1129
  }, Gn = function(e) {
1130
+ return Object.prototype.toString.call(e) === "[object RegExp]";
1131
+ }, Hn = function(e) {
1125
1132
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1126
- }, Hn = function(e, t) {
1127
- return [].concat(e, t);
1128
1133
  }, Vn = function(e, t) {
1129
- if (k(e)) {
1134
+ return [].concat(e, t);
1135
+ }, zn = function(e, t) {
1136
+ if (B(e)) {
1130
1137
  for (var n = [], o = 0; o < e.length; o += 1)
1131
1138
  n.push(t(e[o]));
1132
1139
  return n;
@@ -1134,16 +1141,16 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1134
1141
  return t(e);
1135
1142
  }, Tr = {
1136
1143
  arrayToObject: Cr,
1137
- assign: Un,
1138
- combine: Hn,
1139
- compact: Ln,
1144
+ assign: kn,
1145
+ combine: Vn,
1146
+ compact: Wn,
1140
1147
  decode: Bn,
1141
- encode: kn,
1142
- isBuffer: Gn,
1143
- isRegExp: Wn,
1144
- maybeMap: Vn,
1145
- merge: Mn
1146
- }, Dr = _n, me = Tr, oe = je, zn = Object.prototype.hasOwnProperty, yr = {
1148
+ encode: Ln,
1149
+ isBuffer: Hn,
1150
+ isRegExp: Gn,
1151
+ maybeMap: zn,
1152
+ merge: Un
1153
+ }, Dr = Rn, me = Tr, ie = Je, Qn = Object.prototype.hasOwnProperty, dr = {
1147
1154
  brackets: function(e) {
1148
1155
  return e + "[]";
1149
1156
  },
@@ -1154,9 +1161,9 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1154
1161
  repeat: function(e) {
1155
1162
  return e;
1156
1163
  }
1157
- }, R = Array.isArray, Qn = Array.prototype.push, Mr = function(r, e) {
1158
- Qn.apply(r, R(e) ? e : [e]);
1159
- }, qn = Date.prototype.toISOString, dr = oe.default, O = {
1164
+ }, R = Array.isArray, qn = Array.prototype.push, Mr = function(r, e) {
1165
+ qn.apply(r, R(e) ? e : [e]);
1166
+ }, jn = Date.prototype.toISOString, mr = ie.default, O = {
1160
1167
  addQueryPrefix: !1,
1161
1168
  allowDots: !1,
1162
1169
  charset: "utf-8",
@@ -1165,81 +1172,81 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1165
1172
  encode: !0,
1166
1173
  encoder: me.encode,
1167
1174
  encodeValuesOnly: !1,
1168
- format: dr,
1169
- formatter: oe.formatters[dr],
1175
+ format: mr,
1176
+ formatter: ie.formatters[mr],
1170
1177
  // deprecated
1171
1178
  indices: !1,
1172
1179
  serializeDate: function(e) {
1173
- return qn.call(e);
1180
+ return jn.call(e);
1174
1181
  },
1175
1182
  skipNulls: !1,
1176
1183
  strictNullHandling: !1
1177
- }, jn = function(e) {
1184
+ }, Jn = function(e) {
1178
1185
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1179
- }, _e = {}, Jn = function r(e, t, n, o, a, l, i, c, f, u, d, p, h, v, A, $) {
1180
- for (var m = e, F = $, C = 0, G = !1; (F = F.get(_e)) !== void 0 && !G; ) {
1181
- var ee = F.get(e);
1186
+ }, Ce = {}, Yn = function r(e, t, n, o, a, l, i, c, f, u, m, p, h, d, A, F) {
1187
+ for (var v = e, $ = F, C = 0, G = !1; ($ = $.get(Ce)) !== void 0 && !G; ) {
1188
+ var ee = $.get(e);
1182
1189
  if (C += 1, typeof ee < "u") {
1183
1190
  if (ee === C)
1184
1191
  throw new RangeError("Cyclic object value");
1185
1192
  G = !0;
1186
1193
  }
1187
- typeof F.get(_e) > "u" && (C = 0);
1194
+ typeof $.get(Ce) > "u" && (C = 0);
1188
1195
  }
1189
- if (typeof c == "function" ? m = c(t, m) : m instanceof Date ? m = d(m) : n === "comma" && R(m) && (m = me.maybeMap(m, function(Q) {
1190
- return Q instanceof Date ? d(Q) : Q;
1191
- })), m === null) {
1196
+ if (typeof c == "function" ? v = c(t, v) : v instanceof Date ? v = m(v) : n === "comma" && R(v) && (v = me.maybeMap(v, function(Q) {
1197
+ return Q instanceof Date ? m(Q) : Q;
1198
+ })), v === null) {
1192
1199
  if (a)
1193
- return i && !v ? i(t, O.encoder, A, "key", p) : t;
1194
- m = "";
1200
+ return i && !d ? i(t, O.encoder, A, "key", p) : t;
1201
+ v = "";
1195
1202
  }
1196
- if (jn(m) || me.isBuffer(m)) {
1203
+ if (Jn(v) || me.isBuffer(v)) {
1197
1204
  if (i) {
1198
- var le = v ? t : i(t, O.encoder, A, "key", p);
1199
- return [h(le) + "=" + h(i(m, O.encoder, A, "value", p))];
1205
+ var ce = d ? t : i(t, O.encoder, A, "key", p);
1206
+ return [h(ce) + "=" + h(i(v, O.encoder, A, "value", p))];
1200
1207
  }
1201
- return [h(t) + "=" + h(String(m))];
1208
+ return [h(t) + "=" + h(String(v))];
1202
1209
  }
1203
- var B = [];
1204
- if (typeof m > "u")
1205
- return B;
1210
+ var k = [];
1211
+ if (typeof v > "u")
1212
+ return k;
1206
1213
  var T;
1207
- if (n === "comma" && R(m))
1208
- v && i && (m = me.maybeMap(m, i)), T = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
1214
+ if (n === "comma" && R(v))
1215
+ d && i && (v = me.maybeMap(v, i)), T = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
1209
1216
  else if (R(c))
1210
1217
  T = c;
1211
1218
  else {
1212
- var H = Object.keys(m);
1219
+ var H = Object.keys(v);
1213
1220
  T = f ? H.sort(f) : H;
1214
1221
  }
1215
- for (var V = o && R(m) && m.length === 1 ? t + "[]" : t, re = 0; re < T.length; ++re) {
1216
- var x = T[re], _ = typeof x == "object" && typeof x.value < "u" ? x.value : m[x];
1222
+ for (var V = o && R(v) && v.length === 1 ? t + "[]" : t, re = 0; re < T.length; ++re) {
1223
+ var x = T[re], _ = typeof x == "object" && typeof x.value < "u" ? x.value : v[x];
1217
1224
  if (!(l && _ === null)) {
1218
- var z = R(m) ? typeof n == "function" ? n(V, x) : V : V + (u ? "." + x : "[" + x + "]");
1219
- $.set(e, C);
1220
- var ce = Dr();
1221
- ce.set(_e, $), Mr(B, r(
1225
+ var z = R(v) ? typeof n == "function" ? n(V, x) : V : V + (u ? "." + x : "[" + x + "]");
1226
+ F.set(e, C);
1227
+ var fe = Dr();
1228
+ fe.set(Ce, F), Mr(k, r(
1222
1229
  _,
1223
1230
  z,
1224
1231
  n,
1225
1232
  o,
1226
1233
  a,
1227
1234
  l,
1228
- n === "comma" && v && R(m) ? null : i,
1235
+ n === "comma" && d && R(v) ? null : i,
1229
1236
  c,
1230
1237
  f,
1231
1238
  u,
1232
- d,
1239
+ m,
1233
1240
  p,
1234
1241
  h,
1235
- v,
1242
+ d,
1236
1243
  A,
1237
- ce
1244
+ fe
1238
1245
  ));
1239
1246
  }
1240
1247
  }
1241
- return B;
1242
- }, Yn = function(e) {
1248
+ return k;
1249
+ }, Kn = function(e) {
1243
1250
  if (!e)
1244
1251
  return O;
1245
1252
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
@@ -1247,13 +1254,13 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1247
1254
  var t = e.charset || O.charset;
1248
1255
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1249
1256
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1250
- var n = oe.default;
1257
+ var n = ie.default;
1251
1258
  if (typeof e.format < "u") {
1252
- if (!zn.call(oe.formatters, e.format))
1259
+ if (!Qn.call(ie.formatters, e.format))
1253
1260
  throw new TypeError("Unknown format option provided.");
1254
1261
  n = e.format;
1255
1262
  }
1256
- var o = oe.formatters[n], a = O.filter;
1263
+ var o = ie.formatters[n], a = O.filter;
1257
1264
  return (typeof e.filter == "function" || R(e.filter)) && (a = e.filter), {
1258
1265
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : O.addQueryPrefix,
1259
1266
  allowDots: typeof e.allowDots > "u" ? O.allowDots : !!e.allowDots,
@@ -1271,22 +1278,22 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1271
1278
  sort: typeof e.sort == "function" ? e.sort : null,
1272
1279
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : O.strictNullHandling
1273
1280
  };
1274
- }, Kn = function(r, e) {
1275
- var t = r, n = Yn(e), o, a;
1281
+ }, Xn = function(r, e) {
1282
+ var t = r, n = Kn(e), o, a;
1276
1283
  typeof n.filter == "function" ? (a = n.filter, t = a("", t)) : R(n.filter) && (a = n.filter, o = a);
1277
1284
  var l = [];
1278
1285
  if (typeof t != "object" || t === null)
1279
1286
  return "";
1280
1287
  var i;
1281
- e && e.arrayFormat in yr ? i = e.arrayFormat : e && "indices" in e ? i = e.indices ? "indices" : "repeat" : i = "indices";
1282
- var c = yr[i];
1288
+ e && e.arrayFormat in dr ? i = e.arrayFormat : e && "indices" in e ? i = e.indices ? "indices" : "repeat" : i = "indices";
1289
+ var c = dr[i];
1283
1290
  if (e && "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1284
1291
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1285
1292
  var f = c === "comma" && e && e.commaRoundTrip;
1286
1293
  o || (o = Object.keys(t)), n.sort && o.sort(n.sort);
1287
- for (var u = Dr(), d = 0; d < o.length; ++d) {
1288
- var p = o[d];
1289
- n.skipNulls && t[p] === null || Mr(l, Jn(
1294
+ for (var u = Dr(), m = 0; m < o.length; ++m) {
1295
+ var p = o[m];
1296
+ n.skipNulls && t[p] === null || Mr(l, Yn(
1290
1297
  t[p],
1291
1298
  p,
1292
1299
  c,
@@ -1305,9 +1312,9 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1305
1312
  u
1306
1313
  ));
1307
1314
  }
1308
- var h = l.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1309
- return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1310
- }, X = Tr, Be = Object.prototype.hasOwnProperty, Xn = Array.isArray, g = {
1315
+ var h = l.join(n.delimiter), d = n.addQueryPrefix === !0 ? "?" : "";
1316
+ return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), h.length > 0 ? d + h : "";
1317
+ }, X = Tr, Le = Object.prototype.hasOwnProperty, Zn = Array.isArray, g = {
1311
1318
  allowDots: !1,
1312
1319
  allowPrototypes: !1,
1313
1320
  allowSparse: !1,
@@ -1324,29 +1331,29 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1324
1331
  parseArrays: !0,
1325
1332
  plainObjects: !1,
1326
1333
  strictNullHandling: !1
1327
- }, Zn = function(r) {
1334
+ }, ea = function(r) {
1328
1335
  return r.replace(/&#(\d+);/g, function(e, t) {
1329
1336
  return String.fromCharCode(parseInt(t, 10));
1330
1337
  });
1331
1338
  }, Ur = function(r, e) {
1332
1339
  return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1333
- }, ea = "utf8=%26%2310003%3B", ra = "utf8=%E2%9C%93", ta = function(e, t) {
1340
+ }, ra = "utf8=%26%2310003%3B", ta = "utf8=%E2%9C%93", na = function(e, t) {
1334
1341
  var n = { __proto__: null }, o = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, a = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, l = o.split(t.delimiter, a), i = -1, c, f = t.charset;
1335
1342
  if (t.charsetSentinel)
1336
1343
  for (c = 0; c < l.length; ++c)
1337
- l[c].indexOf("utf8=") === 0 && (l[c] === ra ? f = "utf-8" : l[c] === ea && (f = "iso-8859-1"), i = c, c = l.length);
1344
+ l[c].indexOf("utf8=") === 0 && (l[c] === ta ? f = "utf-8" : l[c] === ra && (f = "iso-8859-1"), i = c, c = l.length);
1338
1345
  for (c = 0; c < l.length; ++c)
1339
1346
  if (c !== i) {
1340
- var u = l[c], d = u.indexOf("]="), p = d === -1 ? u.indexOf("=") : d + 1, h, v;
1341
- p === -1 ? (h = t.decoder(u, g.decoder, f, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(u.slice(0, p), g.decoder, f, "key"), v = X.maybeMap(
1347
+ var u = l[c], m = u.indexOf("]="), p = m === -1 ? u.indexOf("=") : m + 1, h, d;
1348
+ p === -1 ? (h = t.decoder(u, g.decoder, f, "key"), d = t.strictNullHandling ? null : "") : (h = t.decoder(u.slice(0, p), g.decoder, f, "key"), d = X.maybeMap(
1342
1349
  Ur(u.slice(p + 1), t),
1343
1350
  function(A) {
1344
1351
  return t.decoder(A, g.decoder, f, "value");
1345
1352
  }
1346
- )), v && t.interpretNumericEntities && f === "iso-8859-1" && (v = Zn(v)), u.indexOf("[]=") > -1 && (v = Xn(v) ? [v] : v), Be.call(n, h) ? n[h] = X.combine(n[h], v) : n[h] = v;
1353
+ )), d && t.interpretNumericEntities && f === "iso-8859-1" && (d = ea(d)), u.indexOf("[]=") > -1 && (d = Zn(d) ? [d] : d), Le.call(n, h) ? n[h] = X.combine(n[h], d) : n[h] = d;
1347
1354
  }
1348
1355
  return n;
1349
- }, na = function(r, e, t, n) {
1356
+ }, aa = function(r, e, t, n) {
1350
1357
  for (var o = n ? e : Ur(e, t), a = r.length - 1; a >= 0; --a) {
1351
1358
  var l, i = r[a];
1352
1359
  if (i === "[]" && t.parseArrays)
@@ -1359,22 +1366,22 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1359
1366
  o = l;
1360
1367
  }
1361
1368
  return o;
1362
- }, aa = function(e, t, n, o) {
1369
+ }, oa = function(e, t, n, o) {
1363
1370
  if (e) {
1364
1371
  var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, c = n.depth > 0 && l.exec(a), f = c ? a.slice(0, c.index) : a, u = [];
1365
1372
  if (f) {
1366
- if (!n.plainObjects && Be.call(Object.prototype, f) && !n.allowPrototypes)
1373
+ if (!n.plainObjects && Le.call(Object.prototype, f) && !n.allowPrototypes)
1367
1374
  return;
1368
1375
  u.push(f);
1369
1376
  }
1370
- for (var d = 0; n.depth > 0 && (c = i.exec(a)) !== null && d < n.depth; ) {
1371
- if (d += 1, !n.plainObjects && Be.call(Object.prototype, c[1].slice(1, -1)) && !n.allowPrototypes)
1377
+ for (var m = 0; n.depth > 0 && (c = i.exec(a)) !== null && m < n.depth; ) {
1378
+ if (m += 1, !n.plainObjects && Le.call(Object.prototype, c[1].slice(1, -1)) && !n.allowPrototypes)
1372
1379
  return;
1373
1380
  u.push(c[1]);
1374
1381
  }
1375
- return c && u.push("[" + a.slice(c.index) + "]"), na(u, t, n, o);
1382
+ return c && u.push("[" + a.slice(c.index) + "]"), aa(u, t, n, o);
1376
1383
  }
1377
- }, oa = function(e) {
1384
+ }, ia = function(e) {
1378
1385
  if (!e)
1379
1386
  return g;
1380
1387
  if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
@@ -1401,51 +1408,52 @@ var Qe = Ge, Z = Wt, bn = en, On = Qe("%TypeError%"), pe = Qe("%WeakMap%", !0),
1401
1408
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : g.plainObjects,
1402
1409
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : g.strictNullHandling
1403
1410
  };
1404
- }, ia = function(r, e) {
1405
- var t = oa(e);
1411
+ }, la = function(r, e) {
1412
+ var t = ia(e);
1406
1413
  if (r === "" || r === null || typeof r > "u")
1407
1414
  return t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1408
- for (var n = typeof r == "string" ? ta(r, t) : r, o = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), l = 0; l < a.length; ++l) {
1409
- var i = a[l], c = aa(i, n[i], t, typeof r == "string");
1415
+ for (var n = typeof r == "string" ? na(r, t) : r, o = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), l = 0; l < a.length; ++l) {
1416
+ var i = a[l], c = oa(i, n[i], t, typeof r == "string");
1410
1417
  o = X.merge(o, c, t);
1411
1418
  }
1412
1419
  return t.allowSparse === !0 ? o : X.compact(o);
1413
- }, la = Kn, ca = ia, fa = je, ua = {
1414
- formats: fa,
1415
- parse: ca,
1416
- stringify: la
1420
+ }, ca = Xn, fa = la, ua = Je, pa = {
1421
+ formats: ua,
1422
+ parse: fa,
1423
+ stringify: ca
1417
1424
  };
1418
- const Br = /* @__PURE__ */ Sr(ua), ka = (r) => Br.parse(r, { ignoreQueryPrefix: !0 }), La = (r) => Br.stringify(r, { arrayFormat: "brackets" });
1425
+ const kr = /* @__PURE__ */ Sr(pa), Wa = (r) => kr.parse(r, { ignoreQueryPrefix: !0 }), Ga = (r) => kr.stringify(r, { arrayFormat: "brackets" });
1419
1426
  export {
1420
- ba as Checkbox,
1421
- st as DropdownBtn,
1422
- Ca as HIGHLIGHTED_COLOR,
1423
- Ta as HIGHLIGHTED_COLOR_ALPHA,
1424
- wa as InputFormGroup,
1425
- ut as LabeledFormGroup,
1426
- _a as MAIN_COLOR,
1427
- Ra as MAIN_COLOR_ALPHA,
1428
- ha as Message,
1429
- yt as NavPillItem,
1430
- Ea as NavPills,
1431
- Fa as OrderingDropdown,
1432
- Ma as PRIMARY_DARK_COLOR,
1433
- Da as PRIMARY_LIGHT_COLOR,
1434
- ga as Result,
1435
- Pa as RowDropdownBtn,
1436
- Aa as SearchField,
1437
- nt as SimpleCard,
1438
- Oa as ToggleSwitch,
1439
- Ua as changeThemeInMarkup,
1440
- dt as determineOrderDir,
1441
- Ba as isDarkThemeEnabled,
1442
- Na as orderToString,
1443
- ka as parseQuery,
1444
- xa as sortList,
1445
- Ia as stringToOrder,
1446
- La as stringifyQuery,
1427
+ wa as Checkbox,
1428
+ yt as DropdownBtn,
1429
+ Da as HIGHLIGHTED_COLOR,
1430
+ Ma as HIGHLIGHTED_COLOR_ALPHA,
1431
+ Pa as InputFormGroup,
1432
+ pt as LabeledFormGroup,
1433
+ Ca as MAIN_COLOR,
1434
+ Ta as MAIN_COLOR_ALPHA,
1435
+ ga as Message,
1436
+ dt as NavPillItem,
1437
+ Na as NavPills,
1438
+ Ra as OrderingDropdown,
1439
+ ka as PRIMARY_DARK_COLOR,
1440
+ Ua as PRIMARY_LIGHT_COLOR,
1441
+ Sa as Result,
1442
+ xa as RowDropdownBtn,
1443
+ Ea as SearchField,
1444
+ at as SimpleCard,
1445
+ Aa as ToggleSwitch,
1446
+ Ba as changeThemeInMarkup,
1447
+ mt as determineOrderDir,
1448
+ La as isDarkThemeEnabled,
1449
+ Fa as orderToString,
1450
+ Wa as parseQuery,
1451
+ Ia as sortList,
1452
+ $a as stringToOrder,
1453
+ Ga as stringifyQuery,
1447
1454
  Or as useDomId,
1448
- Sa as useElementRef,
1449
- $a as useOrder,
1450
- ft as useToggle
1455
+ Oa as useElementRef,
1456
+ _a as useOrder,
1457
+ ba as useTimeoutToggle,
1458
+ ut as useToggle
1451
1459
  };