@shlinkio/shlink-frontend-kit 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +211 -211
- package/dist/index.umd.cjs +5 -5
- package/package.json +19 -15
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as y, jsxs as P, Fragment as
|
|
2
|
-
import { faCircleNotch as
|
|
3
|
-
import { FontAwesomeIcon as
|
|
4
|
-
import { Row as
|
|
5
|
-
import { useState as
|
|
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
6
|
import { NavLink as Xr } from "react-router-dom";
|
|
7
|
-
function
|
|
7
|
+
function Sr(r) {
|
|
8
8
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
9
9
|
}
|
|
10
10
|
function Zr(r) {
|
|
@@ -28,7 +28,7 @@ function Zr(r) {
|
|
|
28
28
|
});
|
|
29
29
|
}), t;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var br = { exports: {} };
|
|
32
32
|
/*!
|
|
33
33
|
Copyright (c) 2018 Jed Watson.
|
|
34
34
|
Licensed under the MIT License (MIT), see
|
|
@@ -63,9 +63,9 @@ var Sr = { exports: {} };
|
|
|
63
63
|
}
|
|
64
64
|
r.exports ? (t.default = t, r.exports = t) : window.classNames = t;
|
|
65
65
|
})();
|
|
66
|
-
})(
|
|
67
|
-
var et =
|
|
68
|
-
const E = /* @__PURE__ */
|
|
66
|
+
})(br);
|
|
67
|
+
var et = br.exports;
|
|
68
|
+
const E = /* @__PURE__ */ Sr(et), rt = (r) => ({
|
|
69
69
|
error: "border-danger",
|
|
70
70
|
default: ""
|
|
71
71
|
})[r], tt = (r) => ({
|
|
@@ -76,15 +76,15 @@ const E = /* @__PURE__ */ gr(et), rt = (r) => ({
|
|
|
76
76
|
"col-md-12": o,
|
|
77
77
|
"col-md-10 offset-md-1": !o
|
|
78
78
|
});
|
|
79
|
-
return /* @__PURE__ */ y(
|
|
80
|
-
t && /* @__PURE__ */ y(
|
|
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 }),
|
|
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(
|
|
85
|
-
r && /* @__PURE__ */ y(
|
|
86
|
-
/* @__PURE__ */ y(
|
|
87
|
-
] }), ga = ({ children: r, type: e, className: t, small: n = !1 }) => /* @__PURE__ */ y(
|
|
84
|
+
}, nt = ({ title: r, children: e, bodyClassName: t, ...n }) => /* @__PURE__ */ P(ke, { ...n, children: [
|
|
85
|
+
r && /* @__PURE__ */ y(Vr, { role: "heading", children: r }),
|
|
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
88
|
nt,
|
|
89
89
|
{
|
|
90
90
|
role: "document",
|
|
@@ -111,12 +111,12 @@ for (let r = 0; r < 256; ++r)
|
|
|
111
111
|
function it(r, e = 0) {
|
|
112
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();
|
|
113
113
|
}
|
|
114
|
-
const lt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
114
|
+
const lt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Je = {
|
|
115
115
|
randomUUID: lt
|
|
116
116
|
};
|
|
117
117
|
function ct(r, e, t) {
|
|
118
|
-
if (
|
|
119
|
-
return
|
|
118
|
+
if (Je.randomUUID && !e && !r)
|
|
119
|
+
return Je.randomUUID();
|
|
120
120
|
r = r || {};
|
|
121
121
|
const n = r.random || (r.rng || ot)();
|
|
122
122
|
if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, e) {
|
|
@@ -128,13 +128,13 @@ function ct(r, e, t) {
|
|
|
128
128
|
return it(n);
|
|
129
129
|
}
|
|
130
130
|
const ft = (r = !1) => {
|
|
131
|
-
const [e, t] =
|
|
132
|
-
return [e,
|
|
133
|
-
},
|
|
134
|
-
const { current: r } =
|
|
131
|
+
const [e, t] = Le(r), n = ye(() => t((l) => !l), []), o = ye(() => t(!0), []), a = ye(() => t(!1), []);
|
|
132
|
+
return [e, n, o, a];
|
|
133
|
+
}, Or = () => {
|
|
134
|
+
const { current: r } = gr(`dom-${ct()}`);
|
|
135
135
|
return r;
|
|
136
|
-
}, Sa = () =>
|
|
137
|
-
const l =
|
|
136
|
+
}, Sa = () => gr(null), wr = ({ checked: r = !1, onChange: e, className: t, children: n, type: o, inline: a = !1 }) => {
|
|
137
|
+
const l = Or(), i = (u) => e == null ? void 0 : e(u.target.checked, u), c = {
|
|
138
138
|
"form-switch": o === "switch",
|
|
139
139
|
"form-checkbox": o === "checkbox"
|
|
140
140
|
}, f = a ? { display: "inline-block" } : {};
|
|
@@ -142,12 +142,12 @@ const ft = (r = !1) => {
|
|
|
142
142
|
/* @__PURE__ */ y("input", { type: "checkbox", className: "form-check-input", id: l, checked: r, onChange: i }),
|
|
143
143
|
/* @__PURE__ */ y("label", { className: "form-check-label", htmlFor: l, children: n })
|
|
144
144
|
] });
|
|
145
|
-
}, ba = (r) => /* @__PURE__ */ y(
|
|
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: [
|
|
146
146
|
/* @__PURE__ */ y("label", { className: `form-label ${n}`, htmlFor: a, children: e }),
|
|
147
147
|
r
|
|
148
148
|
] }), wa = ({ children: r, value: e, onChange: t, type: n, required: o, placeholder: a, className: l, labelClassName: i }) => {
|
|
149
|
-
const c =
|
|
150
|
-
return /* @__PURE__ */ y(ut, { label: /* @__PURE__ */ P(
|
|
149
|
+
const c = Or();
|
|
150
|
+
return /* @__PURE__ */ y(ut, { label: /* @__PURE__ */ P(Re, { children: [
|
|
151
151
|
r,
|
|
152
152
|
":"
|
|
153
153
|
] }), className: l ?? "", labelClassName: i, id: c, children: /* @__PURE__ */ y(
|
|
@@ -164,13 +164,13 @@ const ft = (r = !1) => {
|
|
|
164
164
|
) });
|
|
165
165
|
};
|
|
166
166
|
const pt = 500;
|
|
167
|
-
let
|
|
168
|
-
const
|
|
169
|
-
|
|
167
|
+
let de;
|
|
168
|
+
const Ye = () => {
|
|
169
|
+
de && clearTimeout(de), de = null;
|
|
170
170
|
}, Aa = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initialValue: o = "", setTimeout_: a = setTimeout }) => {
|
|
171
|
-
const [l, i] =
|
|
172
|
-
i(f),
|
|
173
|
-
r(f),
|
|
171
|
+
const [l, i] = Le(o), c = (f, u = pt) => {
|
|
172
|
+
i(f), Ye(), de = a(() => {
|
|
173
|
+
r(f), Ye();
|
|
174
174
|
}, u);
|
|
175
175
|
};
|
|
176
176
|
return /* @__PURE__ */ P("div", { className: E("search-field", e), children: [
|
|
@@ -187,7 +187,7 @@ const Je = () => {
|
|
|
187
187
|
onChange: (f) => c(f.target.value)
|
|
188
188
|
}
|
|
189
189
|
),
|
|
190
|
-
/* @__PURE__ */ y(
|
|
190
|
+
/* @__PURE__ */ y(be, { icon: Lr, className: "search-field__icon" }),
|
|
191
191
|
/* @__PURE__ */ y(
|
|
192
192
|
"button",
|
|
193
193
|
{
|
|
@@ -217,14 +217,14 @@ const st = ({
|
|
|
217
217
|
"btn-block": !c,
|
|
218
218
|
"dropdown-btn__toggle--with-caret": !a
|
|
219
219
|
}), h = { minWidth: i && `${i}px` };
|
|
220
|
-
return /* @__PURE__ */ P(
|
|
221
|
-
/* @__PURE__ */ y(
|
|
222
|
-
/* @__PURE__ */ y(
|
|
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 })
|
|
223
223
|
] });
|
|
224
224
|
}, Pa = ({ children: r, minWidth: e }) => /* @__PURE__ */ y(
|
|
225
225
|
st,
|
|
226
226
|
{
|
|
227
|
-
text: /* @__PURE__ */ y(
|
|
227
|
+
text: /* @__PURE__ */ y(be, { className: "px-1", icon: Wr }),
|
|
228
228
|
size: "sm",
|
|
229
229
|
minWidth: e,
|
|
230
230
|
end: !0,
|
|
@@ -233,8 +233,8 @@ const st = ({
|
|
|
233
233
|
children: r
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
|
-
const yt = ({ children: r, ...e }) => /* @__PURE__ */ y(
|
|
237
|
-
if (!
|
|
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)
|
|
238
238
|
throw new Error("Only NavPillItem children are allowed inside NavPills.");
|
|
239
239
|
return n;
|
|
240
240
|
}) }) }), dt = (r, e, t) => r !== e ? "ASC" : t ? {
|
|
@@ -247,7 +247,7 @@ const yt = ({ children: r, ...e }) => /* @__PURE__ */ y(Qr, { className: "nav-pi
|
|
|
247
247
|
const [e, t] = r.split("-");
|
|
248
248
|
return { field: e, dir: t };
|
|
249
249
|
}, $a = (r) => {
|
|
250
|
-
const [e, t] =
|
|
250
|
+
const [e, t] = Le(r), n = ye((o, a) => t({ field: o, dir: a }), []);
|
|
251
251
|
return [e, n];
|
|
252
252
|
};
|
|
253
253
|
function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1, prefixed: a = !0 }) {
|
|
@@ -255,9 +255,9 @@ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
|
|
|
255
255
|
const c = dt(i, e.field, e.dir);
|
|
256
256
|
t(c ? i : void 0, c);
|
|
257
257
|
};
|
|
258
|
-
return /* @__PURE__ */ P(
|
|
258
|
+
return /* @__PURE__ */ P(Jr, { children: [
|
|
259
259
|
/* @__PURE__ */ P(
|
|
260
|
-
|
|
260
|
+
vr,
|
|
261
261
|
{
|
|
262
262
|
caret: !0,
|
|
263
263
|
color: n ? "primary" : "link",
|
|
@@ -266,9 +266,9 @@ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
|
|
|
266
266
|
"btn-sm p-0": !n
|
|
267
267
|
}),
|
|
268
268
|
children: [
|
|
269
|
-
!n && /* @__PURE__ */ y(
|
|
269
|
+
!n && /* @__PURE__ */ y(Re, { children: "Order by" }),
|
|
270
270
|
n && !e.field && /* @__PURE__ */ y("i", { children: "Order by..." }),
|
|
271
|
-
n && e.field && /* @__PURE__ */ P(
|
|
271
|
+
n && e.field && /* @__PURE__ */ P(Re, { children: [
|
|
272
272
|
a && "Order by: ",
|
|
273
273
|
r[e.field],
|
|
274
274
|
" - ",
|
|
@@ -278,29 +278,29 @@ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
|
|
|
278
278
|
}
|
|
279
279
|
),
|
|
280
280
|
/* @__PURE__ */ P(
|
|
281
|
-
|
|
281
|
+
hr,
|
|
282
282
|
{
|
|
283
283
|
end: o,
|
|
284
284
|
className: E("w-100", { "ordering-dropdown__menu--link": !n }),
|
|
285
285
|
children: [
|
|
286
|
-
Object.entries(r).map(([i, c]) => /* @__PURE__ */ P(
|
|
286
|
+
Object.entries(r).map(([i, c]) => /* @__PURE__ */ P(Oe, { active: e.field === i, onClick: l(i), children: [
|
|
287
287
|
c,
|
|
288
288
|
e.field === i && /* @__PURE__ */ y(
|
|
289
|
-
|
|
289
|
+
be,
|
|
290
290
|
{
|
|
291
|
-
icon: e.dir === "ASC" ?
|
|
291
|
+
icon: e.dir === "ASC" ? Gr : Hr,
|
|
292
292
|
className: "ordering-dropdown__sort-icon"
|
|
293
293
|
}
|
|
294
294
|
)
|
|
295
295
|
] }, i)),
|
|
296
|
-
/* @__PURE__ */ y(
|
|
297
|
-
/* @__PURE__ */ y(
|
|
296
|
+
/* @__PURE__ */ y(Oe, { divider: !0 }),
|
|
297
|
+
/* @__PURE__ */ y(Oe, { disabled: !e.field, onClick: () => t(), children: /* @__PURE__ */ y("i", { children: "Clear selection" }) })
|
|
298
298
|
]
|
|
299
299
|
}
|
|
300
300
|
)
|
|
301
301
|
] });
|
|
302
302
|
}
|
|
303
|
-
const _a = "#4696e5", Ra = "rgba(70, 150, 229, 0.4)", Ca = "#f77f28",
|
|
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) => {
|
|
304
304
|
var e;
|
|
305
305
|
return (e = document.querySelector("html")) == null ? void 0 : e.setAttribute("data-theme", r);
|
|
306
306
|
}, Ba = () => {
|
|
@@ -330,27 +330,27 @@ var mt = function() {
|
|
|
330
330
|
return !1;
|
|
331
331
|
}
|
|
332
332
|
return !0;
|
|
333
|
-
},
|
|
334
|
-
return typeof
|
|
335
|
-
},
|
|
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 = {
|
|
336
336
|
foo: {}
|
|
337
337
|
}, gt = Object, St = function() {
|
|
338
|
-
return { __proto__:
|
|
339
|
-
}, bt = "Function.prototype.bind called on incompatible ",
|
|
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) {
|
|
340
340
|
var t = this;
|
|
341
341
|
if (typeof t != "function" || Ot.call(t) !== wt)
|
|
342
342
|
throw new TypeError(bt + t);
|
|
343
|
-
for (var n =
|
|
343
|
+
for (var n = we.call(arguments, 1), o, a = function() {
|
|
344
344
|
if (this instanceof o) {
|
|
345
345
|
var u = t.apply(
|
|
346
346
|
this,
|
|
347
|
-
n.concat(
|
|
347
|
+
n.concat(we.call(arguments))
|
|
348
348
|
);
|
|
349
349
|
return Object(u) === u ? u : this;
|
|
350
350
|
} else
|
|
351
351
|
return t.apply(
|
|
352
352
|
e,
|
|
353
|
-
n.concat(
|
|
353
|
+
n.concat(we.call(arguments))
|
|
354
354
|
);
|
|
355
355
|
}, l = Math.max(0, t.length - n.length), i = [], c = 0; c < l; c++)
|
|
356
356
|
i.push("$" + c);
|
|
@@ -360,9 +360,9 @@ var mt = function() {
|
|
|
360
360
|
f.prototype = t.prototype, o.prototype = new f(), f.prototype = null;
|
|
361
361
|
}
|
|
362
362
|
return o;
|
|
363
|
-
}, Pt = At,
|
|
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) {
|
|
364
364
|
try {
|
|
365
|
-
return
|
|
365
|
+
return Ar('"use strict"; return (' + r + ").constructor;")();
|
|
366
366
|
} catch {
|
|
367
367
|
}
|
|
368
368
|
}, L = Object.getOwnPropertyDescriptor;
|
|
@@ -372,19 +372,19 @@ if (L)
|
|
|
372
372
|
} catch {
|
|
373
373
|
L = null;
|
|
374
374
|
}
|
|
375
|
-
var
|
|
375
|
+
var Pe = function() {
|
|
376
376
|
throw new J();
|
|
377
377
|
}, Nt = L ? function() {
|
|
378
378
|
try {
|
|
379
|
-
return arguments.callee,
|
|
379
|
+
return arguments.callee, Pe;
|
|
380
380
|
} catch {
|
|
381
381
|
try {
|
|
382
382
|
return L(arguments, "callee").get;
|
|
383
383
|
} catch {
|
|
384
|
-
return
|
|
384
|
+
return Pe;
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
}() :
|
|
387
|
+
}() : Pe, q = ht(), It = St(), S = Object.getPrototypeOf || (It ? function(r) {
|
|
388
388
|
return r.__proto__;
|
|
389
389
|
} : null), j = {}, $t = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), W = {
|
|
390
390
|
"%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
|
|
@@ -414,7 +414,7 @@ var Ae = function() {
|
|
|
414
414
|
"%Float32Array%": typeof Float32Array > "u" ? s : Float32Array,
|
|
415
415
|
"%Float64Array%": typeof Float64Array > "u" ? s : Float64Array,
|
|
416
416
|
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? s : FinalizationRegistry,
|
|
417
|
-
"%Function%":
|
|
417
|
+
"%Function%": Ar,
|
|
418
418
|
"%GeneratorFunction%": j,
|
|
419
419
|
"%Int8Array%": typeof Int8Array > "u" ? s : Int8Array,
|
|
420
420
|
"%Int16Array%": typeof Int16Array > "u" ? s : Int16Array,
|
|
@@ -465,11 +465,11 @@ if (S)
|
|
|
465
465
|
var _t = function r(e) {
|
|
466
466
|
var t;
|
|
467
467
|
if (e === "%AsyncFunction%")
|
|
468
|
-
t =
|
|
468
|
+
t = Ae("async function () {}");
|
|
469
469
|
else if (e === "%GeneratorFunction%")
|
|
470
|
-
t =
|
|
470
|
+
t = Ae("function* () {}");
|
|
471
471
|
else if (e === "%AsyncGeneratorFunction%")
|
|
472
|
-
t =
|
|
472
|
+
t = Ae("async function* () {}");
|
|
473
473
|
else if (e === "%AsyncGenerator%") {
|
|
474
474
|
var n = r("%AsyncGeneratorFunction%");
|
|
475
475
|
n && (t = n.prototype);
|
|
@@ -478,7 +478,7 @@ var _t = function r(e) {
|
|
|
478
478
|
o && S && (t = S(o.prototype));
|
|
479
479
|
}
|
|
480
480
|
return W[e] = t, t;
|
|
481
|
-
},
|
|
481
|
+
}, Ze = {
|
|
482
482
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
483
483
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
484
484
|
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
@@ -530,19 +530,19 @@ var _t = function r(e) {
|
|
|
530
530
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
531
531
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
532
532
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
533
|
-
}, ie =
|
|
534
|
-
var t =
|
|
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);
|
|
535
535
|
if (t === "%" && n !== "%")
|
|
536
536
|
throw new Y("invalid intrinsic syntax, expected closing `%`");
|
|
537
537
|
if (n === "%" && t !== "%")
|
|
538
538
|
throw new Y("invalid intrinsic syntax, expected opening `%`");
|
|
539
539
|
var o = [];
|
|
540
|
-
return
|
|
541
|
-
o[o.length] = i ?
|
|
540
|
+
return er(e, Dt, function(a, l, i, c) {
|
|
541
|
+
o[o.length] = i ? er(c, Mt, "$1") : l || a;
|
|
542
542
|
}), o;
|
|
543
543
|
}, Bt = function(e, t) {
|
|
544
544
|
var n = e, o;
|
|
545
|
-
if (
|
|
545
|
+
if (ve(Ze, n) && (o = Ze[n], n = "%" + o[0] + "%"), ve(W, n)) {
|
|
546
546
|
var a = W[n];
|
|
547
547
|
if (a === j && (a = _t(n)), typeof a > "u" && !t)
|
|
548
548
|
throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
@@ -553,20 +553,20 @@ var _t = function r(e) {
|
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
555
|
throw new Y("intrinsic " + e + " does not exist!");
|
|
556
|
-
},
|
|
556
|
+
}, Ge = function(e, t) {
|
|
557
557
|
if (typeof e != "string" || e.length === 0)
|
|
558
558
|
throw new J("intrinsic name must be a non-empty string");
|
|
559
559
|
if (arguments.length > 1 && typeof t != "boolean")
|
|
560
560
|
throw new J('"allowMissing" argument must be a boolean');
|
|
561
|
-
if (
|
|
561
|
+
if (Tt(/^%?[^%]*%?$/, e) === null)
|
|
562
562
|
throw new Y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
563
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
564
|
f && (o = f[0], Ct(n, Rt([0, 1], f)));
|
|
565
565
|
for (var u = 1, d = !0; u < n.length; u += 1) {
|
|
566
|
-
var p = n[u], h =
|
|
566
|
+
var p = n[u], h = he(p, 0, 1), v = he(p, -1);
|
|
567
567
|
if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
|
|
568
568
|
throw new Y("property names with quotes must have matching quotes");
|
|
569
|
-
if ((p === "constructor" || !d) && (c = !0), o += "." + p, l = "%" + o + "%",
|
|
569
|
+
if ((p === "constructor" || !d) && (c = !0), o += "." + p, l = "%" + o + "%", ve(W, l))
|
|
570
570
|
i = W[l];
|
|
571
571
|
else if (i != null) {
|
|
572
572
|
if (!(p in i)) {
|
|
@@ -578,14 +578,14 @@ var _t = function r(e) {
|
|
|
578
578
|
var A = L(i, p);
|
|
579
579
|
d = !!A, d && "get" in A && !("originalValue" in A.get) ? i = A.get : i = i[p];
|
|
580
580
|
} else
|
|
581
|
-
d =
|
|
581
|
+
d = ve(i, p), i = i[p];
|
|
582
582
|
d && !c && (W[l] = i);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
return i;
|
|
586
|
-
},
|
|
586
|
+
}, Pr = { exports: {} };
|
|
587
587
|
(function(r) {
|
|
588
|
-
var e =
|
|
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%");
|
|
589
589
|
if (i)
|
|
590
590
|
try {
|
|
591
591
|
i({}, "a", { value: 1 });
|
|
@@ -608,43 +608,43 @@ var _t = function r(e) {
|
|
|
608
608
|
return a(e, n, arguments);
|
|
609
609
|
};
|
|
610
610
|
i ? i(r.exports, "apply", { value: f }) : r.exports.apply = f;
|
|
611
|
-
})(
|
|
612
|
-
var kt =
|
|
613
|
-
var n =
|
|
614
|
-
return typeof n == "function" && Lt(e, ".prototype.") > -1 ?
|
|
611
|
+
})(Pr);
|
|
612
|
+
var kt = Pr.exports, Er = Ge, xr = kt, Lt = xr(Er("String.prototype.indexOf")), Wt = function(e, t) {
|
|
613
|
+
var n = Er(e, !!t);
|
|
614
|
+
return typeof n == "function" && Lt(e, ".prototype.") > -1 ? xr(n) : n;
|
|
615
615
|
};
|
|
616
616
|
const Gt = {}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
617
617
|
__proto__: null,
|
|
618
618
|
default: Gt
|
|
619
619
|
}, Symbol.toStringTag, { value: "Module" })), Vt = /* @__PURE__ */ Zr(Ht);
|
|
620
|
-
var
|
|
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) {
|
|
621
621
|
return r.__proto__;
|
|
622
622
|
} : null);
|
|
623
|
-
function
|
|
624
|
-
if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 ||
|
|
623
|
+
function cr(r, e) {
|
|
624
|
+
if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Nr.call(/e/, e))
|
|
625
625
|
return e;
|
|
626
626
|
var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
627
627
|
if (typeof r == "number") {
|
|
628
|
-
var n = r < 0 ? -
|
|
628
|
+
var n = r < 0 ? -ir(-r) : ir(r);
|
|
629
629
|
if (n !== r) {
|
|
630
|
-
var o = String(n), a =
|
|
630
|
+
var o = String(n), a = ze.call(e, o.length + 1);
|
|
631
631
|
return M.call(o, t, "$&_") + "." + M.call(M.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
return M.call(e, t, "$&_");
|
|
635
635
|
}
|
|
636
|
-
var De = Vt,
|
|
636
|
+
var De = Vt, fr = De.custom, ur = Fr(fr) ? fr : null, en = function r(e, t, n, o) {
|
|
637
637
|
var a = t || {};
|
|
638
|
-
if (
|
|
638
|
+
if (D(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
|
|
639
639
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
640
|
-
if (
|
|
640
|
+
if (D(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
|
|
641
641
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
642
|
-
var l =
|
|
642
|
+
var l = D(a, "customInspect") ? a.customInspect : !0;
|
|
643
643
|
if (typeof l != "boolean" && l !== "symbol")
|
|
644
644
|
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
645
|
-
if (
|
|
645
|
+
if (D(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
|
|
646
646
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
647
|
-
if (
|
|
647
|
+
if (D(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
|
|
648
648
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
649
649
|
var i = a.numericSeparator;
|
|
650
650
|
if (typeof e > "u")
|
|
@@ -654,109 +654,109 @@ var De = Vt, cr = De.custom, fr = $r(cr) ? cr : null, en = function r(e, t, n, o
|
|
|
654
654
|
if (typeof e == "boolean")
|
|
655
655
|
return e ? "true" : "false";
|
|
656
656
|
if (typeof e == "string")
|
|
657
|
-
return
|
|
657
|
+
return Rr(e, a);
|
|
658
658
|
if (typeof e == "number") {
|
|
659
659
|
if (e === 0)
|
|
660
660
|
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
661
661
|
var c = String(e);
|
|
662
|
-
return i ?
|
|
662
|
+
return i ? cr(e, c) : c;
|
|
663
663
|
}
|
|
664
664
|
if (typeof e == "bigint") {
|
|
665
665
|
var f = String(e) + "n";
|
|
666
|
-
return i ?
|
|
666
|
+
return i ? cr(e, f) : f;
|
|
667
667
|
}
|
|
668
668
|
var u = typeof a.depth > "u" ? 5 : a.depth;
|
|
669
669
|
if (typeof n > "u" && (n = 0), n >= u && u > 0 && typeof e == "object")
|
|
670
|
-
return
|
|
670
|
+
return Me(e) ? "[Array]" : "[Object]";
|
|
671
671
|
var d = Sn(a, n);
|
|
672
672
|
if (typeof o > "u")
|
|
673
673
|
o = [];
|
|
674
|
-
else if (
|
|
674
|
+
else if (_r(o, e) >= 0)
|
|
675
675
|
return "[Circular]";
|
|
676
676
|
function p(_, z, ce) {
|
|
677
677
|
if (z && (o = Zt.call(o), o.push(z)), ce) {
|
|
678
678
|
var Q = {
|
|
679
679
|
depth: a.depth
|
|
680
680
|
};
|
|
681
|
-
return
|
|
681
|
+
return D(a, "quoteStyle") && (Q.quoteStyle = a.quoteStyle), r(_, Q, n + 1, o);
|
|
682
682
|
}
|
|
683
683
|
return r(_, a, n + 1, o);
|
|
684
684
|
}
|
|
685
|
-
if (typeof e == "function" && !
|
|
685
|
+
if (typeof e == "function" && !pr(e)) {
|
|
686
686
|
var h = un(e), v = ue(e, p);
|
|
687
687
|
return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + I.call(v, ", ") + " }" : "");
|
|
688
688
|
}
|
|
689
|
-
if (
|
|
690
|
-
var A = K ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") :
|
|
689
|
+
if (Fr(e)) {
|
|
690
|
+
var A = K ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Te.call(e);
|
|
691
691
|
return typeof e == "object" && !K ? te(A) : A;
|
|
692
692
|
}
|
|
693
693
|
if (vn(e)) {
|
|
694
|
-
for (var $ = "<" +
|
|
695
|
-
$ += " " + m[F].name + "=" +
|
|
696
|
-
return $ += ">", e.childNodes && e.childNodes.length && ($ += "..."), $ += "</" +
|
|
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)) + ">", $;
|
|
697
697
|
}
|
|
698
|
-
if (
|
|
698
|
+
if (Me(e)) {
|
|
699
699
|
if (e.length === 0)
|
|
700
700
|
return "[]";
|
|
701
701
|
var C = ue(e, p);
|
|
702
|
-
return d && !gn(C) ? "[" +
|
|
702
|
+
return d && !gn(C) ? "[" + Ue(C, d) + "]" : "[ " + I.call(C, ", ") + " ]";
|
|
703
703
|
}
|
|
704
704
|
if (nn(e)) {
|
|
705
705
|
var G = ue(e, p);
|
|
706
|
-
return !("cause" in Error.prototype) && "cause" in e && !
|
|
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, ", ") + " }";
|
|
707
707
|
}
|
|
708
708
|
if (typeof e == "object" && l) {
|
|
709
|
-
if (
|
|
709
|
+
if (ur && typeof e[ur] == "function" && De)
|
|
710
710
|
return De(e, { depth: u - n });
|
|
711
711
|
if (l !== "symbol" && typeof e.inspect == "function")
|
|
712
712
|
return e.inspect();
|
|
713
713
|
}
|
|
714
714
|
if (pn(e)) {
|
|
715
715
|
var ee = [];
|
|
716
|
-
return
|
|
716
|
+
return rr && rr.call(e, function(_, z) {
|
|
717
717
|
ee.push(p(z, e, !0) + " => " + p(_, e));
|
|
718
|
-
}),
|
|
718
|
+
}), sr("Map", ge.call(e), ee, d);
|
|
719
719
|
}
|
|
720
720
|
if (dn(e)) {
|
|
721
721
|
var le = [];
|
|
722
|
-
return
|
|
722
|
+
return tr && tr.call(e, function(_) {
|
|
723
723
|
le.push(p(_, e));
|
|
724
|
-
}),
|
|
724
|
+
}), sr("Set", Se.call(e), le, d);
|
|
725
725
|
}
|
|
726
726
|
if (sn(e))
|
|
727
|
-
return
|
|
727
|
+
return Ie("WeakMap");
|
|
728
728
|
if (mn(e))
|
|
729
|
-
return
|
|
729
|
+
return Ie("WeakSet");
|
|
730
730
|
if (yn(e))
|
|
731
|
-
return
|
|
731
|
+
return Ie("WeakRef");
|
|
732
732
|
if (on(e))
|
|
733
733
|
return te(p(Number(e)));
|
|
734
734
|
if (cn(e))
|
|
735
|
-
return te(p(
|
|
735
|
+
return te(p(Ce.call(e)));
|
|
736
736
|
if (ln(e))
|
|
737
737
|
return te(jt.call(e));
|
|
738
738
|
if (an(e))
|
|
739
739
|
return te(p(String(e)));
|
|
740
|
-
if (!tn(e) && !
|
|
741
|
-
var B = ue(e, p),
|
|
742
|
-
return B.length === 0 ? x + "{}" : d ? x + "{" +
|
|
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, ", ") + " }";
|
|
743
743
|
}
|
|
744
744
|
return String(e);
|
|
745
745
|
};
|
|
746
|
-
function
|
|
746
|
+
function $r(r, e, t) {
|
|
747
747
|
var n = (t.quoteStyle || e) === "double" ? '"' : "'";
|
|
748
748
|
return n + r + n;
|
|
749
749
|
}
|
|
750
750
|
function rn(r) {
|
|
751
751
|
return M.call(String(r), /"/g, """);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function Me(r) {
|
|
754
754
|
return U(r) === "[object Array]" && (!w || !(typeof r == "object" && w in r));
|
|
755
755
|
}
|
|
756
756
|
function tn(r) {
|
|
757
757
|
return U(r) === "[object Date]" && (!w || !(typeof r == "object" && w in r));
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function pr(r) {
|
|
760
760
|
return U(r) === "[object RegExp]" && (!w || !(typeof r == "object" && w in r));
|
|
761
761
|
}
|
|
762
762
|
function nn(r) {
|
|
@@ -771,24 +771,24 @@ function on(r) {
|
|
|
771
771
|
function ln(r) {
|
|
772
772
|
return U(r) === "[object Boolean]" && (!w || !(typeof r == "object" && w in r));
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function Fr(r) {
|
|
775
775
|
if (K)
|
|
776
776
|
return r && typeof r == "object" && r instanceof Symbol;
|
|
777
777
|
if (typeof r == "symbol")
|
|
778
778
|
return !0;
|
|
779
|
-
if (!r || typeof r != "object" || !
|
|
779
|
+
if (!r || typeof r != "object" || !Te)
|
|
780
780
|
return !1;
|
|
781
781
|
try {
|
|
782
|
-
return
|
|
782
|
+
return Te.call(r), !0;
|
|
783
783
|
} catch {
|
|
784
784
|
}
|
|
785
785
|
return !1;
|
|
786
786
|
}
|
|
787
787
|
function cn(r) {
|
|
788
|
-
if (!r || typeof r != "object" || !
|
|
788
|
+
if (!r || typeof r != "object" || !Ce)
|
|
789
789
|
return !1;
|
|
790
790
|
try {
|
|
791
|
-
return
|
|
791
|
+
return Ce.call(r), !0;
|
|
792
792
|
} catch {
|
|
793
793
|
}
|
|
794
794
|
return !1;
|
|
@@ -796,7 +796,7 @@ function cn(r) {
|
|
|
796
796
|
var fn = Object.prototype.hasOwnProperty || function(r) {
|
|
797
797
|
return r in this;
|
|
798
798
|
};
|
|
799
|
-
function
|
|
799
|
+
function D(r, e) {
|
|
800
800
|
return fn.call(r, e);
|
|
801
801
|
}
|
|
802
802
|
function U(r) {
|
|
@@ -808,7 +808,7 @@ function un(r) {
|
|
|
808
808
|
var e = Kt.call(Yt.call(r), /^function\s*([\w$]+)/);
|
|
809
809
|
return e ? e[1] : null;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function _r(r, e) {
|
|
812
812
|
if (r.indexOf)
|
|
813
813
|
return r.indexOf(e);
|
|
814
814
|
for (var t = 0, n = r.length; t < n; t++)
|
|
@@ -817,12 +817,12 @@ function Fr(r, e) {
|
|
|
817
817
|
return -1;
|
|
818
818
|
}
|
|
819
819
|
function pn(r) {
|
|
820
|
-
if (!
|
|
820
|
+
if (!ge || !r || typeof r != "object")
|
|
821
821
|
return !1;
|
|
822
822
|
try {
|
|
823
|
-
|
|
823
|
+
ge.call(r);
|
|
824
824
|
try {
|
|
825
|
-
|
|
825
|
+
Se.call(r);
|
|
826
826
|
} catch {
|
|
827
827
|
return !0;
|
|
828
828
|
}
|
|
@@ -847,21 +847,21 @@ function sn(r) {
|
|
|
847
847
|
return !1;
|
|
848
848
|
}
|
|
849
849
|
function yn(r) {
|
|
850
|
-
if (!
|
|
850
|
+
if (!nr || !r || typeof r != "object")
|
|
851
851
|
return !1;
|
|
852
852
|
try {
|
|
853
|
-
return
|
|
853
|
+
return nr.call(r), !0;
|
|
854
854
|
} catch {
|
|
855
855
|
}
|
|
856
856
|
return !1;
|
|
857
857
|
}
|
|
858
858
|
function dn(r) {
|
|
859
|
-
if (!
|
|
859
|
+
if (!Se || !r || typeof r != "object")
|
|
860
860
|
return !1;
|
|
861
861
|
try {
|
|
862
|
-
|
|
862
|
+
Se.call(r);
|
|
863
863
|
try {
|
|
864
|
-
|
|
864
|
+
ge.call(r);
|
|
865
865
|
} catch {
|
|
866
866
|
return !0;
|
|
867
867
|
}
|
|
@@ -888,13 +888,13 @@ function mn(r) {
|
|
|
888
888
|
function vn(r) {
|
|
889
889
|
return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
|
|
890
890
|
}
|
|
891
|
-
function
|
|
891
|
+
function Rr(r, e) {
|
|
892
892
|
if (r.length > e.maxStringLength) {
|
|
893
893
|
var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
|
|
894
|
-
return
|
|
894
|
+
return Rr(ze.call(r, 0, e.maxStringLength), e) + n;
|
|
895
895
|
}
|
|
896
896
|
var o = M.call(M.call(r, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, hn);
|
|
897
|
-
return
|
|
897
|
+
return $r(o, "single", e);
|
|
898
898
|
}
|
|
899
899
|
function hn(r) {
|
|
900
900
|
var e = r.charCodeAt(0), t = {
|
|
@@ -909,16 +909,16 @@ function hn(r) {
|
|
|
909
909
|
function te(r) {
|
|
910
910
|
return "Object(" + r + ")";
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Ie(r) {
|
|
913
913
|
return r + " { ? }";
|
|
914
914
|
}
|
|
915
|
-
function
|
|
916
|
-
var o = n ?
|
|
915
|
+
function sr(r, e, t, n) {
|
|
916
|
+
var o = n ? Ue(t, n) : I.call(t, ", ");
|
|
917
917
|
return r + " (" + e + ") {" + o + "}";
|
|
918
918
|
}
|
|
919
919
|
function gn(r) {
|
|
920
920
|
for (var e = 0; e < r.length; e++)
|
|
921
|
-
if (
|
|
921
|
+
if (_r(r[e], `
|
|
922
922
|
`) >= 0)
|
|
923
923
|
return !1;
|
|
924
924
|
return !0;
|
|
@@ -936,7 +936,7 @@ function Sn(r, e) {
|
|
|
936
936
|
prev: I.call(Array(e + 1), t)
|
|
937
937
|
};
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function Ue(r, e) {
|
|
940
940
|
if (r.length === 0)
|
|
941
941
|
return "";
|
|
942
942
|
var t = `
|
|
@@ -945,34 +945,34 @@ function Me(r, e) {
|
|
|
945
945
|
` + e.prev;
|
|
946
946
|
}
|
|
947
947
|
function ue(r, e) {
|
|
948
|
-
var t =
|
|
948
|
+
var t = Me(r), n = [];
|
|
949
949
|
if (t) {
|
|
950
950
|
n.length = r.length;
|
|
951
951
|
for (var o = 0; o < r.length; o++)
|
|
952
|
-
n[o] =
|
|
952
|
+
n[o] = D(r, o) ? e(r[o], r) : "";
|
|
953
953
|
}
|
|
954
|
-
var a = typeof
|
|
954
|
+
var a = typeof Ne == "function" ? Ne(r) : [], l;
|
|
955
955
|
if (K) {
|
|
956
956
|
l = {};
|
|
957
957
|
for (var i = 0; i < a.length; i++)
|
|
958
958
|
l["$" + a[i]] = a[i];
|
|
959
959
|
}
|
|
960
960
|
for (var c in r)
|
|
961
|
-
|
|
962
|
-
if (typeof
|
|
961
|
+
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")
|
|
963
963
|
for (var f = 0; f < a.length; f++)
|
|
964
|
-
|
|
964
|
+
Ir.call(r, a[f]) && n.push("[" + e(a[f]) + "]: " + e(r[a[f]], r));
|
|
965
965
|
return n;
|
|
966
966
|
}
|
|
967
|
-
var
|
|
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) {
|
|
968
968
|
for (var t = r, n; (n = t.next) !== null; t = n)
|
|
969
969
|
if (n.key === e)
|
|
970
970
|
return t.next = n.next, n.next = r.next, r.next = n, n;
|
|
971
971
|
}, In = function(r, e) {
|
|
972
|
-
var t =
|
|
972
|
+
var t = qe(r, e);
|
|
973
973
|
return t && t.value;
|
|
974
974
|
}, $n = function(r, e, t) {
|
|
975
|
-
var n =
|
|
975
|
+
var n = qe(r, e);
|
|
976
976
|
n ? n.value = t : r.next = {
|
|
977
977
|
// eslint-disable-line no-param-reassign
|
|
978
978
|
key: e,
|
|
@@ -980,7 +980,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
980
980
|
value: t
|
|
981
981
|
};
|
|
982
982
|
}, Fn = function(r, e) {
|
|
983
|
-
return !!
|
|
983
|
+
return !!qe(r, e);
|
|
984
984
|
}, _n = function() {
|
|
985
985
|
var e, t, n, o = {
|
|
986
986
|
assert: function(a) {
|
|
@@ -1013,11 +1013,11 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
1015
|
return o;
|
|
1016
|
-
}, Rn = String.prototype.replace, Cn = /%20/g,
|
|
1016
|
+
}, Rn = String.prototype.replace, Cn = /%20/g, $e = {
|
|
1017
1017
|
RFC1738: "RFC1738",
|
|
1018
1018
|
RFC3986: "RFC3986"
|
|
1019
|
-
},
|
|
1020
|
-
default:
|
|
1019
|
+
}, je = {
|
|
1020
|
+
default: $e.RFC3986,
|
|
1021
1021
|
formatters: {
|
|
1022
1022
|
RFC1738: function(r) {
|
|
1023
1023
|
return Rn.call(r, Cn, "+");
|
|
@@ -1026,13 +1026,13 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1026
1026
|
return String(r);
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
|
-
RFC1738:
|
|
1030
|
-
RFC3986:
|
|
1031
|
-
},
|
|
1029
|
+
RFC1738: $e.RFC1738,
|
|
1030
|
+
RFC3986: $e.RFC3986
|
|
1031
|
+
}, Tn = je, Fe = Object.prototype.hasOwnProperty, k = Array.isArray, N = function() {
|
|
1032
1032
|
for (var r = [], e = 0; e < 256; ++e)
|
|
1033
1033
|
r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
1034
1034
|
return r;
|
|
1035
|
-
}(),
|
|
1035
|
+
}(), Dn = function(e) {
|
|
1036
1036
|
for (; e.length > 1; ) {
|
|
1037
1037
|
var t = e.pop(), n = t.obj[t.prop];
|
|
1038
1038
|
if (k(n)) {
|
|
@@ -1041,7 +1041,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1041
1041
|
t.obj[t.prop] = o;
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
|
-
},
|
|
1044
|
+
}, Cr = function(e, t) {
|
|
1045
1045
|
for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
|
|
1046
1046
|
typeof e[o] < "u" && (n[o] = e[o]);
|
|
1047
1047
|
return n;
|
|
@@ -1052,7 +1052,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1052
1052
|
if (k(e))
|
|
1053
1053
|
e.push(t);
|
|
1054
1054
|
else if (e && typeof e == "object")
|
|
1055
|
-
(n && (n.plainObjects || n.allowPrototypes) ||
|
|
1055
|
+
(n && (n.plainObjects || n.allowPrototypes) || !Fe.call(Object.prototype, t)) && (e[t] = !0);
|
|
1056
1056
|
else
|
|
1057
1057
|
return [e, t];
|
|
1058
1058
|
return e;
|
|
@@ -1060,15 +1060,15 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1060
1060
|
if (!e || typeof e != "object")
|
|
1061
1061
|
return [e].concat(t);
|
|
1062
1062
|
var o = e;
|
|
1063
|
-
return k(e) && !k(t) && (o =
|
|
1064
|
-
if (
|
|
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)) {
|
|
1065
1065
|
var i = e[l];
|
|
1066
1066
|
i && typeof i == "object" && a && typeof a == "object" ? e[l] = r(i, a, n) : e.push(a);
|
|
1067
1067
|
} else
|
|
1068
1068
|
e[l] = a;
|
|
1069
1069
|
}), e) : Object.keys(t).reduce(function(a, l) {
|
|
1070
1070
|
var i = t[l];
|
|
1071
|
-
return
|
|
1071
|
+
return Fe.call(a, l) ? a[l] = r(a[l], i, n) : a[l] = i, a;
|
|
1072
1072
|
}, o);
|
|
1073
1073
|
}, Un = function(e, t) {
|
|
1074
1074
|
return Object.keys(t).reduce(function(n, o) {
|
|
@@ -1093,7 +1093,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1093
1093
|
});
|
|
1094
1094
|
for (var i = "", c = 0; c < l.length; ++c) {
|
|
1095
1095
|
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 ===
|
|
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)) {
|
|
1097
1097
|
i += l.charAt(c);
|
|
1098
1098
|
continue;
|
|
1099
1099
|
}
|
|
@@ -1118,7 +1118,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1118
1118
|
var f = i[c], u = l[f];
|
|
1119
1119
|
typeof u == "object" && u !== null && n.indexOf(u) === -1 && (t.push({ obj: l, prop: f }), n.push(u));
|
|
1120
1120
|
}
|
|
1121
|
-
return
|
|
1121
|
+
return Dn(t), e;
|
|
1122
1122
|
}, Wn = function(e) {
|
|
1123
1123
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
1124
1124
|
}, Gn = function(e) {
|
|
@@ -1132,8 +1132,8 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1132
1132
|
return n;
|
|
1133
1133
|
}
|
|
1134
1134
|
return t(e);
|
|
1135
|
-
},
|
|
1136
|
-
arrayToObject:
|
|
1135
|
+
}, Tr = {
|
|
1136
|
+
arrayToObject: Cr,
|
|
1137
1137
|
assign: Un,
|
|
1138
1138
|
combine: Hn,
|
|
1139
1139
|
compact: Ln,
|
|
@@ -1143,7 +1143,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1143
1143
|
isRegExp: Wn,
|
|
1144
1144
|
maybeMap: Vn,
|
|
1145
1145
|
merge: Mn
|
|
1146
|
-
}, Dr = _n,
|
|
1146
|
+
}, Dr = _n, me = Tr, oe = je, zn = Object.prototype.hasOwnProperty, yr = {
|
|
1147
1147
|
brackets: function(e) {
|
|
1148
1148
|
return e + "[]";
|
|
1149
1149
|
},
|
|
@@ -1154,19 +1154,19 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1154
1154
|
repeat: function(e) {
|
|
1155
1155
|
return e;
|
|
1156
1156
|
}
|
|
1157
|
-
}, R = Array.isArray, Qn = Array.prototype.push,
|
|
1157
|
+
}, R = Array.isArray, Qn = Array.prototype.push, Mr = function(r, e) {
|
|
1158
1158
|
Qn.apply(r, R(e) ? e : [e]);
|
|
1159
|
-
}, qn = Date.prototype.toISOString,
|
|
1159
|
+
}, qn = Date.prototype.toISOString, dr = oe.default, O = {
|
|
1160
1160
|
addQueryPrefix: !1,
|
|
1161
1161
|
allowDots: !1,
|
|
1162
1162
|
charset: "utf-8",
|
|
1163
1163
|
charsetSentinel: !1,
|
|
1164
1164
|
delimiter: "&",
|
|
1165
1165
|
encode: !0,
|
|
1166
|
-
encoder:
|
|
1166
|
+
encoder: me.encode,
|
|
1167
1167
|
encodeValuesOnly: !1,
|
|
1168
|
-
format:
|
|
1169
|
-
formatter: oe.formatters[
|
|
1168
|
+
format: dr,
|
|
1169
|
+
formatter: oe.formatters[dr],
|
|
1170
1170
|
// deprecated
|
|
1171
1171
|
indices: !1,
|
|
1172
1172
|
serializeDate: function(e) {
|
|
@@ -1176,24 +1176,24 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1176
1176
|
strictNullHandling: !1
|
|
1177
1177
|
}, jn = function(e) {
|
|
1178
1178
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
1179
|
-
},
|
|
1180
|
-
for (var m = e, F = $, C = 0, G = !1; (F = F.get(
|
|
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
1181
|
var ee = F.get(e);
|
|
1182
1182
|
if (C += 1, typeof ee < "u") {
|
|
1183
1183
|
if (ee === C)
|
|
1184
1184
|
throw new RangeError("Cyclic object value");
|
|
1185
1185
|
G = !0;
|
|
1186
1186
|
}
|
|
1187
|
-
typeof F.get(
|
|
1187
|
+
typeof F.get(_e) > "u" && (C = 0);
|
|
1188
1188
|
}
|
|
1189
|
-
if (typeof c == "function" ? m = c(t, m) : m instanceof Date ? m = d(m) : n === "comma" && R(m) && (m =
|
|
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
1190
|
return Q instanceof Date ? d(Q) : Q;
|
|
1191
1191
|
})), m === null) {
|
|
1192
1192
|
if (a)
|
|
1193
1193
|
return i && !v ? i(t, O.encoder, A, "key", p) : t;
|
|
1194
1194
|
m = "";
|
|
1195
1195
|
}
|
|
1196
|
-
if (jn(m) ||
|
|
1196
|
+
if (jn(m) || me.isBuffer(m)) {
|
|
1197
1197
|
if (i) {
|
|
1198
1198
|
var le = v ? t : i(t, O.encoder, A, "key", p);
|
|
1199
1199
|
return [h(le) + "=" + h(i(m, O.encoder, A, "value", p))];
|
|
@@ -1203,22 +1203,22 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1203
1203
|
var B = [];
|
|
1204
1204
|
if (typeof m > "u")
|
|
1205
1205
|
return B;
|
|
1206
|
-
var
|
|
1206
|
+
var T;
|
|
1207
1207
|
if (n === "comma" && R(m))
|
|
1208
|
-
v && i && (m =
|
|
1208
|
+
v && i && (m = me.maybeMap(m, i)), T = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
|
|
1209
1209
|
else if (R(c))
|
|
1210
|
-
|
|
1210
|
+
T = c;
|
|
1211
1211
|
else {
|
|
1212
1212
|
var H = Object.keys(m);
|
|
1213
|
-
|
|
1213
|
+
T = f ? H.sort(f) : H;
|
|
1214
1214
|
}
|
|
1215
|
-
for (var V = o && R(m) && m.length === 1 ? t + "[]" : t, re = 0; re <
|
|
1216
|
-
var x =
|
|
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];
|
|
1217
1217
|
if (!(l && _ === null)) {
|
|
1218
1218
|
var z = R(m) ? typeof n == "function" ? n(V, x) : V : V + (u ? "." + x : "[" + x + "]");
|
|
1219
1219
|
$.set(e, C);
|
|
1220
1220
|
var ce = Dr();
|
|
1221
|
-
ce.set(
|
|
1221
|
+
ce.set(_e, $), Mr(B, r(
|
|
1222
1222
|
_,
|
|
1223
1223
|
z,
|
|
1224
1224
|
n,
|
|
@@ -1278,15 +1278,15 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1278
1278
|
if (typeof t != "object" || t === null)
|
|
1279
1279
|
return "";
|
|
1280
1280
|
var i;
|
|
1281
|
-
e && e.arrayFormat in
|
|
1282
|
-
var c =
|
|
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];
|
|
1283
1283
|
if (e && "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
1284
1284
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1285
1285
|
var f = c === "comma" && e && e.commaRoundTrip;
|
|
1286
1286
|
o || (o = Object.keys(t)), n.sort && o.sort(n.sort);
|
|
1287
1287
|
for (var u = Dr(), d = 0; d < o.length; ++d) {
|
|
1288
1288
|
var p = o[d];
|
|
1289
|
-
n.skipNulls && t[p] === null ||
|
|
1289
|
+
n.skipNulls && t[p] === null || Mr(l, Jn(
|
|
1290
1290
|
t[p],
|
|
1291
1291
|
p,
|
|
1292
1292
|
c,
|
|
@@ -1307,7 +1307,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1307
1307
|
}
|
|
1308
1308
|
var h = l.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
|
|
1309
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 =
|
|
1310
|
+
}, X = Tr, Be = Object.prototype.hasOwnProperty, Xn = Array.isArray, g = {
|
|
1311
1311
|
allowDots: !1,
|
|
1312
1312
|
allowPrototypes: !1,
|
|
1313
1313
|
allowSparse: !1,
|
|
@@ -1328,7 +1328,7 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1328
1328
|
return r.replace(/&#(\d+);/g, function(e, t) {
|
|
1329
1329
|
return String.fromCharCode(parseInt(t, 10));
|
|
1330
1330
|
});
|
|
1331
|
-
},
|
|
1331
|
+
}, Ur = function(r, e) {
|
|
1332
1332
|
return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
|
|
1333
1333
|
}, ea = "utf8=%26%2310003%3B", ra = "utf8=%E2%9C%93", ta = function(e, t) {
|
|
1334
1334
|
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;
|
|
@@ -1339,15 +1339,15 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1339
1339
|
if (c !== i) {
|
|
1340
1340
|
var u = l[c], d = u.indexOf("]="), p = d === -1 ? u.indexOf("=") : d + 1, h, v;
|
|
1341
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(
|
|
1342
|
-
|
|
1342
|
+
Ur(u.slice(p + 1), t),
|
|
1343
1343
|
function(A) {
|
|
1344
1344
|
return t.decoder(A, g.decoder, f, "value");
|
|
1345
1345
|
}
|
|
1346
|
-
)), v && t.interpretNumericEntities && f === "iso-8859-1" && (v = Zn(v)), u.indexOf("[]=") > -1 && (v = Xn(v) ? [v] : v),
|
|
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;
|
|
1347
1347
|
}
|
|
1348
1348
|
return n;
|
|
1349
1349
|
}, na = function(r, e, t, n) {
|
|
1350
|
-
for (var o = n ? e :
|
|
1350
|
+
for (var o = n ? e : Ur(e, t), a = r.length - 1; a >= 0; --a) {
|
|
1351
1351
|
var l, i = r[a];
|
|
1352
1352
|
if (i === "[]" && t.parseArrays)
|
|
1353
1353
|
l = [].concat(o);
|
|
@@ -1363,12 +1363,12 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1363
1363
|
if (e) {
|
|
1364
1364
|
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
1365
|
if (f) {
|
|
1366
|
-
if (!n.plainObjects &&
|
|
1366
|
+
if (!n.plainObjects && Be.call(Object.prototype, f) && !n.allowPrototypes)
|
|
1367
1367
|
return;
|
|
1368
1368
|
u.push(f);
|
|
1369
1369
|
}
|
|
1370
1370
|
for (var d = 0; n.depth > 0 && (c = i.exec(a)) !== null && d < n.depth; ) {
|
|
1371
|
-
if (d += 1, !n.plainObjects &&
|
|
1371
|
+
if (d += 1, !n.plainObjects && Be.call(Object.prototype, c[1].slice(1, -1)) && !n.allowPrototypes)
|
|
1372
1372
|
return;
|
|
1373
1373
|
u.push(c[1]);
|
|
1374
1374
|
}
|
|
@@ -1410,17 +1410,17 @@ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0),
|
|
|
1410
1410
|
o = X.merge(o, c, t);
|
|
1411
1411
|
}
|
|
1412
1412
|
return t.allowSparse === !0 ? o : X.compact(o);
|
|
1413
|
-
}, la = Kn, ca = ia, fa =
|
|
1413
|
+
}, la = Kn, ca = ia, fa = je, ua = {
|
|
1414
1414
|
formats: fa,
|
|
1415
1415
|
parse: ca,
|
|
1416
1416
|
stringify: la
|
|
1417
1417
|
};
|
|
1418
|
-
const
|
|
1418
|
+
const Br = /* @__PURE__ */ Sr(ua), ka = (r) => Br.parse(r, { ignoreQueryPrefix: !0 }), La = (r) => Br.stringify(r, { arrayFormat: "brackets" });
|
|
1419
1419
|
export {
|
|
1420
1420
|
ba as Checkbox,
|
|
1421
1421
|
st as DropdownBtn,
|
|
1422
1422
|
Ca as HIGHLIGHTED_COLOR,
|
|
1423
|
-
|
|
1423
|
+
Ta as HIGHLIGHTED_COLOR_ALPHA,
|
|
1424
1424
|
wa as InputFormGroup,
|
|
1425
1425
|
ut as LabeledFormGroup,
|
|
1426
1426
|
_a as MAIN_COLOR,
|
|
@@ -1430,7 +1430,7 @@ export {
|
|
|
1430
1430
|
Ea as NavPills,
|
|
1431
1431
|
Fa as OrderingDropdown,
|
|
1432
1432
|
Ma as PRIMARY_DARK_COLOR,
|
|
1433
|
-
|
|
1433
|
+
Da as PRIMARY_LIGHT_COLOR,
|
|
1434
1434
|
ga as Result,
|
|
1435
1435
|
Pa as RowDropdownBtn,
|
|
1436
1436
|
Aa as SearchField,
|
|
@@ -1444,7 +1444,7 @@ export {
|
|
|
1444
1444
|
xa as sortList,
|
|
1445
1445
|
Ia as stringToOrder,
|
|
1446
1446
|
La as stringifyQuery,
|
|
1447
|
-
|
|
1447
|
+
Or as useDomId,
|
|
1448
1448
|
Sa as useElementRef,
|
|
1449
1449
|
$a as useOrder,
|
|
1450
1450
|
ft as useToggle
|