UNPKG

@cdwx/system

Version:

成都文宣业务类服务模块组件库

1,348 lines 7.3 MB
var WV = Object.defineProperty; var zV = (e, t, n) => t in e ? WV(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; var yo = (e, t, n) => zV(e, typeof t != "symbol" ? t + "" : t, n); import { createPinia as KV, defineStore as YC } from "pinia"; import * as VV from "vue"; import { getCurrentInstance as fa, inject as ei, ref as et, computed as Xe, unref as K, shallowRef as Tu, watchEffect as Mf, readonly as XR, watch as Vr, getCurrentScope as XV, onScopeDispose as mH, onMounted as ki, nextTick as vi, isRef as Mu, warn as ZV, provide as Qo, defineComponent as mr, openBlock as Ce, createElementBlock as Ot, mergeProps as vu, renderSlot as jr, createElementVNode as Mt, toRef as ms, onUnmounted as Ay, useAttrs as qC, useSlots as qf, normalizeClass as gt, normalizeStyle as ca, createCommentVNode as It, Fragment as hi, createBlock as ft, withCtx as $e, resolveDynamicComponent as Xa, withModifiers as Ni, createVNode as Ct, toDisplayString as Hr, onBeforeUnmount as ml, Transition as N1, withDirectives as ba, vShow as ps, reactive as fo, onActivated as $V, onUpdated as JC, cloneVNode as eX, Text as yH, Comment as ZR, Teleport as tX, onBeforeMount as PB, onDeactivated as rX, createTextVNode as kn, isVNode as $_, toRaw as eD, vModelCheckbox as Z6, toRefs as Xc, vModelRadio as bH, h as Ci, resolveComponent as _a, renderList as Hi, onBeforeUpdate as nX, withKeys as Au, vModelText as IH, toHandlers as iX, createSlots as $6, TransitionGroup as CH, resolveDirective as $R, toHandlerKey as aX, render as NM, createApp as oX, mergeModels as yc, useModel as B0 } from "vue"; import { useRouter as Jd, useRoute as UB } from "vue-router"; import { ElMessageBox as Qh, ElMessage as Ia, useFormItem as sX } from "element-plus"; var al = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function UA(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function EH(e) { if (e.__esModule) return e; var t = e.default; if (typeof t == "function") { var n = function a() { return this instanceof a ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; n.prototype = t.prototype; } else n = {}; return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(a) { var l = Object.getOwnPropertyDescriptor(e, a); Object.defineProperty(n, a, l.get ? l : { enumerable: !0, get: function() { return e[a]; } }); }), n; } var dy = TypeError; const lX = {}, wH = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: lX }, Symbol.toStringTag, { value: "Module" })), uX = /* @__PURE__ */ EH(wH); var eF = typeof Map == "function" && Map.prototype, $S = Object.getOwnPropertyDescriptor && eF ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, eB = eF && $S && typeof $S.get == "function" ? $S.get : null, TM = eF && Map.prototype.forEach, tF = typeof Set == "function" && Set.prototype, ex = Object.getOwnPropertyDescriptor && tF ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, tB = tF && ex && typeof ex.get == "function" ? ex.get : null, MM = tF && Set.prototype.forEach, cX = typeof WeakMap == "function" && WeakMap.prototype, XI = cX ? WeakMap.prototype.has : null, fX = typeof WeakSet == "function" && WeakSet.prototype, ZI = fX ? WeakSet.prototype.has : null, hX = typeof WeakRef == "function" && WeakRef.prototype, LM = hX ? WeakRef.prototype.deref : null, AX = Boolean.prototype.valueOf, dX = Object.prototype.toString, gX = Function.prototype.toString, pX = String.prototype.match, rF = String.prototype.slice, f0 = String.prototype.replace, vX = String.prototype.toUpperCase, OM = String.prototype.toLowerCase, BH = RegExp.prototype.test, PM = Array.prototype.concat, wA = Array.prototype.join, mX = Array.prototype.slice, UM = Math.floor, tD = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, tx = Object.getOwnPropertySymbols, rD = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, qm = typeof Symbol == "function" && typeof Symbol.iterator == "object", mu = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === qm || !0) ? Symbol.toStringTag : null, kH = Object.prototype.propertyIsEnumerable, GM = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) { return e.__proto__; } : null); function HM(e, t) { if (e === 1 / 0 || e === -1 / 0 || e !== e || e && e > -1e3 && e < 1e3 || BH.call(/e/, t)) return t; var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; if (typeof e == "number") { var a = e < 0 ? -UM(-e) : UM(e); if (a !== e) { var l = String(a), d = rF.call(t, l.length + 1); return f0.call(l, n, "$&_") + "." + f0.call(f0.call(d, /([0-9]{3})/g, "$&_"), /_$/, ""); } } return f0.call(t, n, "$&_"); } var nD = uX, jM = nD.custom, YM = xH(jM) ? jM : null, QH = { __proto__: null, double: '"', single: "'" }, yX = { __proto__: null, double: /(["\\])/g, single: /(['\\])/g }, GB = function e(t, n, a, l) { var d = n || {}; if (Nd(d, "quoteStyle") && !Nd(QH, d.quoteStyle)) throw new TypeError('option "quoteStyle" must be "single" or "double"'); if (Nd(d, "maxStringLength") && (typeof d.maxStringLength == "number" ? d.maxStringLength < 0 && d.maxStringLength !== 1 / 0 : d.maxStringLength !== null)) throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); var m = Nd(d, "customInspect") ? d.customInspect : !0; if (typeof m != "boolean" && m !== "symbol") throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); if (Nd(d, "indent") && d.indent !== null && d.indent !== " " && !(parseInt(d.indent, 10) === d.indent && d.indent > 0)) throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); if (Nd(d, "numericSeparator") && typeof d.numericSeparator != "boolean") throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); var I = d.numericSeparator; if (typeof t > "u") return "undefined"; if (t === null) return "null"; if (typeof t == "boolean") return t ? "true" : "false"; if (typeof t == "string") return DH(t, d); if (typeof t == "number") { if (t === 0) return 1 / 0 / t > 0 ? "0" : "-0"; var E = String(t); return I ? HM(t, E) : E; } if (typeof t == "bigint") { var Q = String(t) + "n"; return I ? HM(t, Q) : Q; } var R = typeof d.depth > "u" ? 5 : d.depth; if (typeof a > "u" && (a = 0), a >= R && R > 0 && typeof t == "object") return iD(t) ? "[Array]" : "[Object]"; var D = LX(d, a); if (typeof l > "u") l = []; else if (_H(l, t) >= 0) return "[Circular]"; function x(At, st, ut) { if (st && (l = mX.call(l), l.push(st)), ut) { var xe = { depth: d.depth }; return Nd(d, "quoteStyle") && (xe.quoteStyle = d.quoteStyle), e(At, xe, a + 1, l); } return e(At, d, a + 1, l); } if (typeof t == "function" && !qM(t)) { var L = SX(t), F = k5(t, x); return "[Function" + (L ? ": " + L : " (anonymous)") + "]" + (F.length > 0 ? " { " + wA.call(F, ", ") + " }" : ""); } if (xH(t)) { var q = qm ? f0.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : rD.call(t); return typeof t == "object" && !qm ? wI(q) : q; } if (NX(t)) { for (var J = "<" + OM.call(String(t.nodeName)), V = t.attributes || [], te = 0; te < V.length; te++) J += " " + V[te].name + "=" + SH(bX(V[te].value), "double", d); return J += ">", t.childNodes && t.childNodes.length && (J += "..."), J += "</" + OM.call(String(t.nodeName)) + ">", J; } if (iD(t)) { if (t.length === 0) return "[]"; var ae = k5(t, x); return D && !MX(ae) ? "[" + aD(ae, D) + "]" : "[ " + wA.call(ae, ", ") + " ]"; } if (CX(t)) { var oe = k5(t, x); return !("cause" in Error.prototype) && "cause" in t && !kH.call(t, "cause") ? "{ [" + String(t) + "] " + wA.call(PM.call("[cause]: " + x(t.cause), oe), ", ") + " }" : oe.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + wA.call(oe, ", ") + " }"; } if (typeof t == "object" && m) { if (YM && typeof t[YM] == "function" && nD) return nD(t, { depth: R - a }); if (m !== "symbol" && typeof t.inspect == "function") return t.inspect(); } if (xX(t)) { var ue = []; return TM && TM.call(t, function(At, st) { ue.push(x(st, t, !0) + " => " + x(At, t)); }), JM("Map", eB.call(t), ue, D); } if (RX(t)) { var ge = []; return MM && MM.call(t, function(At) { ge.push(x(At, t)); }), JM("Set", tB.call(t), ge, D); } if (_X(t)) return rx("WeakMap"); if (FX(t)) return rx("WeakSet"); if (DX(t)) return rx("WeakRef"); if (wX(t)) return wI(x(Number(t))); if (kX(t)) return wI(x(tD.call(t))); if (BX(t)) return wI(AX.call(t)); if (EX(t)) return wI(x(String(t))); if (typeof window < "u" && t === window) return "{ [object Window] }"; if (typeof globalThis < "u" && t === globalThis || typeof al < "u" && t === al) return "{ [object globalThis] }"; if (!IX(t) && !qM(t)) { var Ie = k5(t, x), Qe = GM ? GM(t) === Object.prototype : t instanceof Object || t.constructor === Object, ke = t instanceof Object ? "" : "null prototype", we = !Qe && mu && Object(t) === t && mu in t ? rF.call(k0(t), 8, -1) : ke ? "Object" : "", Te = Qe || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", Pe = Te + (we || ke ? "[" + wA.call(PM.call([], we || [], ke || []), ": ") + "] " : ""); return Ie.length === 0 ? Pe + "{}" : D ? Pe + "{" + aD(Ie, D) + "}" : Pe + "{ " + wA.call(Ie, ", ") + " }"; } return String(t); }; function SH(e, t, n) { var a = n.quoteStyle || t, l = QH[a]; return l + e + l; } function bX(e) { return f0.call(String(e), /"/g, "&quot;"); } function iD(e) { return k0(e) === "[object Array]" && (!mu || !(typeof e == "object" && mu in e)); } function IX(e) { return k0(e) === "[object Date]" && (!mu || !(typeof e == "object" && mu in e)); } function qM(e) { return k0(e) === "[object RegExp]" && (!mu || !(typeof e == "object" && mu in e)); } function CX(e) { return k0(e) === "[object Error]" && (!mu || !(typeof e == "object" && mu in e)); } function EX(e) { return k0(e) === "[object String]" && (!mu || !(typeof e == "object" && mu in e)); } function wX(e) { return k0(e) === "[object Number]" && (!mu || !(typeof e == "object" && mu in e)); } function BX(e) { return k0(e) === "[object Boolean]" && (!mu || !(typeof e == "object" && mu in e)); } function xH(e) { if (qm) return e && typeof e == "object" && e instanceof Symbol; if (typeof e == "symbol") return !0; if (!e || typeof e != "object" || !rD) return !1; try { return rD.call(e), !0; } catch { } return !1; } function kX(e) { if (!e || typeof e != "object" || !tD) return !1; try { return tD.call(e), !0; } catch { } return !1; } var QX = Object.prototype.hasOwnProperty || function(e) { return e in this; }; function Nd(e, t) { return QX.call(e, t); } function k0(e) { return dX.call(e); } function SX(e) { if (e.name) return e.name; var t = pX.call(gX.call(e), /^function\s*([\w$]+)/); return t ? t[1] : null; } function _H(e, t) { if (e.indexOf) return e.indexOf(t); for (var n = 0, a = e.length; n < a; n++) if (e[n] === t) return n; return -1; } function xX(e) { if (!eB || !e || typeof e != "object") return !1; try { eB.call(e); try { tB.call(e); } catch { return !0; } return e instanceof Map; } catch { } return !1; } function _X(e) { if (!XI || !e || typeof e != "object") return !1; try { XI.call(e, XI); try { ZI.call(e, ZI); } catch { return !0; } return e instanceof WeakMap; } catch { } return !1; } function DX(e) { if (!LM || !e || typeof e != "object") return !1; try { return LM.call(e), !0; } catch { } return !1; } function RX(e) { if (!tB || !e || typeof e != "object") return !1; try { tB.call(e); try { eB.call(e); } catch { return !0; } return e instanceof Set; } catch { } return !1; } function FX(e) { if (!ZI || !e || typeof e != "object") return !1; try { ZI.call(e, ZI); try { XI.call(e, XI); } catch { return !0; } return e instanceof WeakSet; } catch { } return !1; } function NX(e) { return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : typeof e.nodeName == "string" && typeof e.getAttribute == "function"; } function DH(e, t) { if (e.length > t.maxStringLength) { var n = e.length - t.maxStringLength, a = "... " + n + " more character" + (n > 1 ? "s" : ""); return DH(rF.call(e, 0, t.maxStringLength), t) + a; } var l = yX[t.quoteStyle || "single"]; l.lastIndex = 0; var d = f0.call(f0.call(e, l, "\\$1"), /[\x00-\x1f]/g, TX); return SH(d, "single", t); } function TX(e) { var t = e.charCodeAt(0), n = { 8: "b", 9: "t", 10: "n", 12: "f", 13: "r" }[t]; return n ? "\\" + n : "\\x" + (t < 16 ? "0" : "") + vX.call(t.toString(16)); } function wI(e) { return "Object(" + e + ")"; } function rx(e) { return e + " { ? }"; } function JM(e, t, n, a) { var l = a ? aD(n, a) : wA.call(n, ", "); return e + " (" + t + ") {" + l + "}"; } function MX(e) { for (var t = 0; t < e.length; t++) if (_H(e[t], ` `) >= 0) return !1; return !0; } function LX(e, t) { var n; if (e.indent === " ") n = " "; else if (typeof e.indent == "number" && e.indent > 0) n = wA.call(Array(e.indent + 1), " "); else return null; return { base: n, prev: wA.call(Array(t + 1), n) }; } function aD(e, t) { if (e.length === 0) return ""; var n = ` ` + t.prev + t.base; return n + wA.call(e, "," + n) + ` ` + t.prev; } function k5(e, t) { var n = iD(e), a = []; if (n) { a.length = e.length; for (var l = 0; l < e.length; l++) a[l] = Nd(e, l) ? t(e[l], e) : ""; } var d = typeof tx == "function" ? tx(e) : [], m; if (qm) { m = {}; for (var I = 0; I < d.length; I++) m["$" + d[I]] = d[I]; } for (var E in e) Nd(e, E) && (n && String(Number(E)) === E && E < e.length || qm && m["$" + E] instanceof Symbol || (BH.call(/[^\w$]/, E) ? a.push(t(E, e) + ": " + t(e[E], e)) : a.push(E + ": " + t(e[E], e)))); if (typeof tx == "function") for (var Q = 0; Q < d.length; Q++) kH.call(e, d[Q]) && a.push("[" + t(d[Q]) + "]: " + t(e[d[Q]], e)); return a; } var OX = GB, PX = dy, HB = function(e, t, n) { for (var a = e, l; (l = a.next) != null; a = l) if (l.key === t) return a.next = l.next, n || (l.next = /** @type {NonNullable<typeof list.next>} */ e.next, e.next = l), l; }, UX = function(e, t) { if (e) { var n = HB(e, t); return n && n.value; } }, GX = function(e, t, n) { var a = HB(e, t); a ? a.value = n : e.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ { // eslint-disable-line no-param-reassign, no-extra-parens key: t, next: e.next, value: n }; }, HX = function(e, t) { return e ? !!HB(e, t) : !1; }, jX = function(e, t) { if (e) return HB(e, t, !0); }, YX = function() { var t, n = { assert: function(a) { if (!n.has(a)) throw new PX("Side channel does not contain " + OX(a)); }, delete: function(a) { var l = t && t.next, d = jX(t, a); return d && l && l === d && (t = void 0), !!d; }, get: function(a) { return UX(t, a); }, has: function(a) { return HX(t, a); }, set: function(a, l) { t || (t = { next: void 0 }), GX( /** @type {NonNullable<typeof $o>} */ t, a, l ); } }; return n; }, RH = Object, qX = Error, JX = EvalError, WX = RangeError, zX = ReferenceError, KX = SyntaxError, VX = URIError, XX = Math.abs, ZX = Math.floor, $X = Math.max, eZ = Math.min, tZ = Math.pow, rZ = Math.round, nZ = Number.isNaN || function(t) { return t !== t; }, iZ = nZ, aZ = function(t) { return iZ(t) || t === 0 ? t : t < 0 ? -1 : 1; }, oZ = Object.getOwnPropertyDescriptor, y6 = oZ; if (y6) try { y6([], "length"); } catch { y6 = null; } var FH = y6, b6 = Object.defineProperty || !1; if (b6) try { b6({}, "a", { value: 1 }); } catch { b6 = !1; } var sZ = b6, nx, WM; function lZ() { return WM || (WM = 1, nx = function() { if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1; if (typeof Symbol.iterator == "symbol") return !0; var t = {}, n = Symbol("test"), a = Object(n); if (typeof n == "string" || Object.prototype.toString.call(n) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") return !1; var l = 42; t[n] = l; for (var d in t) return !1; if (typeof Object.keys == "function" && Object.keys(t).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(t).length !== 0) return !1; var m = Object.getOwnPropertySymbols(t); if (m.length !== 1 || m[0] !== n || !Object.prototype.propertyIsEnumerable.call(t, n)) return !1; if (typeof Object.getOwnPropertyDescriptor == "function") { var I = ( /** @type {PropertyDescriptor} */ Object.getOwnPropertyDescriptor(t, n) ); if (I.value !== l || I.enumerable !== !0) return !1; } return !0; }), nx; } var ix, zM; function uZ() { if (zM) return ix; zM = 1; var e = typeof Symbol < "u" && Symbol, t = lZ(); return ix = function() { return typeof e != "function" || typeof Symbol != "function" || typeof e("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : t(); }, ix; } var ax, KM; function NH() { return KM || (KM = 1, ax = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ax; } var ox, VM; function TH() { if (VM) return ox; VM = 1; var e = RH; return ox = e.getPrototypeOf || null, ox; } var sx, XM; function cZ() { if (XM) return sx; XM = 1; var e = "Function.prototype.bind called on incompatible ", t = Object.prototype.toString, n = Math.max, a = "[object Function]", l = function(E, Q) { for (var R = [], D = 0; D < E.length; D += 1) R[D] = E[D]; for (var x = 0; x < Q.length; x += 1) R[x + E.length] = Q[x]; return R; }, d = function(E, Q) { for (var R = [], D = Q, x = 0; D < E.length; D += 1, x += 1) R[x] = E[D]; return R; }, m = function(I, E) { for (var Q = "", R = 0; R < I.length; R += 1) Q += I[R], R + 1 < I.length && (Q += E); return Q; }; return sx = function(E) { var Q = this; if (typeof Q != "function" || t.apply(Q) !== a) throw new TypeError(e + Q); for (var R = d(arguments, 1), D, x = function() { if (this instanceof D) { var V = Q.apply( this, l(R, arguments) ); return Object(V) === V ? V : this; } return Q.apply( E, l(R, arguments) ); }, L = n(0, Q.length - R.length), F = [], q = 0; q < L; q++) F[q] = "$" + q; if (D = Function("binder", "return function (" + m(F, ",") + "){ return binder.apply(this,arguments); }")(x), Q.prototype) { var J = function() { }; J.prototype = Q.prototype, D.prototype = new J(), J.prototype = null; } return D; }, sx; } var lx, ZM; function jB() { if (ZM) return lx; ZM = 1; var e = cZ(); return lx = Function.prototype.bind || e, lx; } var ux, $M; function nF() { return $M || ($M = 1, ux = Function.prototype.call), ux; } var cx, eL; function MH() { return eL || (eL = 1, cx = Function.prototype.apply), cx; } var fZ = typeof Reflect < "u" && Reflect && Reflect.apply, hZ = jB(), AZ = MH(), dZ = nF(), gZ = fZ, pZ = gZ || hZ.call(dZ, AZ), vZ = jB(), mZ = dy, yZ = nF(), bZ = pZ, LH = function(t) { if (t.length < 1 || typeof t[0] != "function") throw new mZ("a function is required"); return bZ(vZ, yZ, t); }, fx, tL; function IZ() { if (tL) return fx; tL = 1; var e = LH, t = FH, n; try { n = /** @type {{ __proto__?: typeof Array.prototype }} */ [].__proto__ === Array.prototype; } catch (m) { if (!m || typeof m != "object" || !("code" in m) || m.code !== "ERR_PROTO_ACCESS") throw m; } var a = !!n && t && t( Object.prototype, /** @type {keyof typeof Object.prototype} */ "__proto__" ), l = Object, d = l.getPrototypeOf; return fx = a && typeof a.get == "function" ? e([a.get]) : typeof d == "function" ? ( /** @type {import('./get')} */ function(I) { return d(I == null ? I : l(I)); } ) : !1, fx; } var hx, rL; function CZ() { if (rL) return hx; rL = 1; var e = NH(), t = TH(), n = IZ(); return hx = e ? function(l) { return e(l); } : t ? function(l) { if (!l || typeof l != "object" && typeof l != "function") throw new TypeError("getProto: not an object"); return t(l); } : n ? function(l) { return n(l); } : null, hx; } var Ax, nL; function EZ() { if (nL) return Ax; nL = 1; var e = Function.prototype.call, t = Object.prototype.hasOwnProperty, n = jB(); return Ax = n.call(e, t), Ax; } var Ha, wZ = RH, BZ = qX, kZ = JX, QZ = WX, SZ = zX, Jm = KX, Gm = dy, xZ = VX, _Z = XX, DZ = ZX, RZ = $X, FZ = eZ, NZ = tZ, TZ = rZ, MZ = aZ, OH = Function, dx = function(e) { try { return OH('"use strict"; return (' + e + ").constructor;")(); } catch { } }, BC = FH, LZ = sZ, gx = function() { throw new Gm(); }, OZ = BC ? function() { try { return arguments.callee, gx; } catch { try { return BC(arguments, "callee").get; } catch { return gx; } } }() : gx, cm = uZ()(), _l = CZ(), PZ = TH(), UZ = NH(), PH = MH(), WC = nF(), Sm = {}, GZ = typeof Uint8Array > "u" || !_l ? Ha : _l(Uint8Array), p1 = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? Ha : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? Ha : ArrayBuffer, "%ArrayIteratorPrototype%": cm && _l ? _l([][Symbol.iterator]()) : Ha, "%AsyncFromSyncIteratorPrototype%": Ha, "%AsyncFunction%": Sm, "%AsyncGenerator%": Sm, "%AsyncGeneratorFunction%": Sm, "%AsyncIteratorPrototype%": Sm, "%Atomics%": typeof Atomics > "u" ? Ha : Atomics, "%BigInt%": typeof BigInt > "u" ? Ha : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? Ha : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? Ha : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? Ha : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": BZ, "%eval%": eval, // eslint-disable-line no-eval "%EvalError%": kZ, "%Float32Array%": typeof Float32Array > "u" ? Ha : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? Ha : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? Ha : FinalizationRegistry, "%Function%": OH, "%GeneratorFunction%": Sm, "%Int8Array%": typeof Int8Array > "u" ? Ha : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? Ha : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? Ha : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": cm && _l ? _l(_l([][Symbol.iterator]())) : Ha, "%JSON%": typeof JSON == "object" ? JSON : Ha, "%Map%": typeof Map > "u" ? Ha : Map, "%MapIteratorPrototype%": typeof Map > "u" || !cm || !_l ? Ha : _l((/* @__PURE__ */ new Map())[Symbol.iterator]()), "%Math%": Math, "%Number%": Number, "%Object%": wZ, "%Object.getOwnPropertyDescriptor%": BC, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? Ha : Promise, "%Proxy%": typeof Proxy > "u" ? Ha : Proxy, "%RangeError%": QZ, "%ReferenceError%": SZ, "%Reflect%": typeof Reflect > "u" ? Ha : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? Ha : Set, "%SetIteratorPrototype%": typeof Set > "u" || !cm || !_l ? Ha : _l((/* @__PURE__ */ new Set())[Symbol.iterator]()), "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? Ha : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": cm && _l ? _l(""[Symbol.iterator]()) : Ha, "%Symbol%": cm ? Symbol : Ha, "%SyntaxError%": Jm, "%ThrowTypeError%": OZ, "%TypedArray%": GZ, "%TypeError%": Gm, "%Uint8Array%": typeof Uint8Array > "u" ? Ha : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? Ha : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? Ha : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? Ha : Uint32Array, "%URIError%": xZ, "%WeakMap%": typeof WeakMap > "u" ? Ha : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? Ha : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? Ha : WeakSet, "%Function.prototype.call%": WC, "%Function.prototype.apply%": PH, "%Object.defineProperty%": LZ, "%Object.getPrototypeOf%": PZ, "%Math.abs%": _Z, "%Math.floor%": DZ, "%Math.max%": RZ, "%Math.min%": FZ, "%Math.pow%": NZ, "%Math.round%": TZ, "%Math.sign%": MZ, "%Reflect.getPrototypeOf%": UZ }; if (_l) try { null.error; } catch (e) { var HZ = _l(_l(e)); p1["%Error.prototype%"] = HZ; } var jZ = function e(t) { var n; if (t === "%AsyncFunction%") n = dx("async function () {}"); else if (t === "%GeneratorFunction%") n = dx("function* () {}"); else if (t === "%AsyncGeneratorFunction%") n = dx("async function* () {}"); else if (t === "%AsyncGenerator%") { var a = e("%AsyncGeneratorFunction%"); a && (n = a.prototype); } else if (t === "%AsyncIteratorPrototype%") { var l = e("%AsyncGenerator%"); l && _l && (n = _l(l.prototype)); } return p1[t] = n, n; }, iL = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, zC = jB(), rB = EZ(), YZ = zC.call(WC, Array.prototype.concat), qZ = zC.call(PH, Array.prototype.splice), aL = zC.call(WC, String.prototype.replace), nB = zC.call(WC, String.prototype.slice), JZ = zC.call(WC, RegExp.prototype.exec), WZ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, zZ = /\\(\\)?/g, KZ = function(t) { var n = nB(t, 0, 1), a = nB(t, -1); if (n === "%" && a !== "%") throw new Jm("invalid intrinsic syntax, expected closing `%`"); if (a === "%" && n !== "%") throw new Jm("invalid intrinsic syntax, expected opening `%`"); var l = []; return aL(t, WZ, function(d, m, I, E) { l[l.length] = I ? aL(E, zZ, "$1") : m || d; }), l; }, VZ = function(t, n) { var a = t, l; if (rB(iL, a) && (l = iL[a], a = "%" + l[0] + "%"), rB(p1, a)) { var d = p1[a]; if (d === Sm && (d = jZ(a)), typeof d > "u" && !n) throw new Gm("intrinsic " + t + " exists, but is not available. Please file an issue!"); return { alias: l, name: a, value: d }; } throw new Jm("intrinsic " + t + " does not exist!"); }, iF = function(t, n) { if (typeof t != "string" || t.length === 0) throw new Gm("intrinsic name must be a non-empty string"); if (arguments.length > 1 && typeof n != "boolean") throw new Gm('"allowMissing" argument must be a boolean'); if (JZ(/^%?[^%]*%?$/, t) === null) throw new Jm("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); var a = KZ(t), l = a.length > 0 ? a[0] : "", d = VZ("%" + l + "%", n), m = d.name, I = d.value, E = !1, Q = d.alias; Q && (l = Q[0], qZ(a, YZ([0, 1], Q))); for (var R = 1, D = !0; R < a.length; R += 1) { var x = a[R], L = nB(x, 0, 1), F = nB(x, -1); if ((L === '"' || L === "'" || L === "`" || F === '"' || F === "'" || F === "`") && L !== F) throw new Jm("property names with quotes must have matching quotes"); if ((x === "constructor" || !D) && (E = !0), l += "." + x, m = "%" + l + "%", rB(p1, m)) I = p1[m]; else if (I != null) { if (!(x in I)) { if (!n) throw new Gm("base intrinsic for " + t + " exists, but the property is not available."); return; } if (BC && R + 1 >= a.length) { var q = BC(I, x); D = !!q, D && "get" in q && !("originalValue" in q.get) ? I = q.get : I = I[x]; } else D = rB(I, x), I = I[x]; D && !E && (p1[m] = I); } } return I; }, UH = iF, GH = LH, XZ = GH([UH("%String.prototype.indexOf%")]), HH = function(t, n) { var a = ( /** @type {Parameters<typeof callBindBasic>[0][0]} */ UH(t, !!n) ); return typeof a == "function" && XZ(t, ".prototype.") > -1 ? GH([a]) : a; }, ZZ = iF, KC = HH, $Z = GB, e$ = dy, oL = ZZ("%Map%", !0), t$ = KC("Map.prototype.get", !0), r$ = KC("Map.prototype.set", !0), n$ = KC("Map.prototype.has", !0), i$ = KC("Map.prototype.delete", !0), a$ = KC("Map.prototype.size", !0), jH = !!oL && /** @type {Exclude<import('.'), false>} */ function() { var t, n = { assert: function(a) { if (!n.has(a)) throw new e$("Side channel does not contain " + $Z(a)); }, delete: function(a) { if (t) { var l = i$(t, a); return a$(t) === 0 && (t = void 0), l; } return !1; }, get: function(a) { if (t) return t$(t, a); }, has: function(a) { return t ? n$(t, a) : !1; }, set: function(a, l) { t || (t = new oL()), r$(t, a, l); } }; return n; }, o$ = iF, YB = HH, s$ = GB, Q5 = jH, l$ = dy, fm = o$("%WeakMap%", !0), u$ = YB("WeakMap.prototype.get", !0), c$ = YB("WeakMap.prototype.set", !0), f$ = YB("WeakMap.prototype.has", !0), h$ = YB("WeakMap.prototype.delete", !0), A$ = fm ? ( /** @type {Exclude<import('.'), false>} */ function() { var t, n, a = { assert: function(l) { if (!a.has(l)) throw new l$("Side channel does not contain " + s$(l)); }, delete: function(l) { if (fm && l && (typeof l == "object" || typeof l == "function")) { if (t) return h$(t, l); } else if (Q5 && n) return n.delete(l); return !1; }, get: function(l) { return fm && l && (typeof l == "object" || typeof l == "function") && t ? u$(t, l) : n && n.get(l); }, has: function(l) { return fm && l && (typeof l == "object" || typeof l == "function") && t ? f$(t, l) : !!n && n.has(l); }, set: function(l, d) { fm && l && (typeof l == "object" || typeof l == "function") ? (t || (t = new fm()), c$(t, l, d)) : Q5 && (n || (n = Q5()), n.set(l, d)); } }; return a; } ) : Q5, d$ = dy, g$ = GB, p$ = YX, v$ = jH, m$ = A$, y$ = m$ || v$ || p$, b$ = function() { var t, n = { assert: function(a) { if (!n.has(a)) throw new d$("Side channel does not contain " + g$(a)); }, delete: function(a) { return !!t && t.delete(a); }, get: function(a) { return t && t.get(a); }, has: function(a) { return !!t && t.has(a); }, set: function(a, l) { t || (t = y$()), t.set(a, l); } }; return n; }, I$ = String.prototype.replace, C$ = /%20/g, px = { RFC1738: "RFC1738", RFC3986: "RFC3986" }, aF = { default: px.RFC3986, formatters: { RFC1738: function(e) { return I$.call(e, C$, "+"); }, RFC3986: function(e) { return String(e); } }, RFC1738: px.RFC1738, RFC3986: px.RFC3986 }, E$ = aF, vx = Object.prototype.hasOwnProperty, i1 = Array.isArray, pA = function() { for (var e = [], t = 0; t < 256; ++t) e.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase()); return e; }(), w$ = function(t) { for (; t.length > 1; ) { var n = t.pop(), a = n.obj[n.prop]; if (i1(a)) { for (var l = [], d = 0; d < a.length; ++d) typeof a[d] < "u" && l.push(a[d]); n.obj[n.prop] = l; } } }, YH = function(t, n) { for (var a = n && n.plainObjects ? { __proto__: null } : {}, l = 0; l < t.length; ++l) typeof t[l] < "u" && (a[l] = t[l]); return a; }, B$ = function e(t, n, a) { if (!n) return t; if (typeof n != "object" && typeof n != "function") { if (i1(t)) t.push(n); else if (t && typeof t == "object") (a && (a.plainObjects || a.allowPrototypes) || !vx.call(Object.prototype, n)) && (t[n] = !0); else return [t, n]; return t; } if (!t || typeof t != "object") return [t].concat(n); var l = t; return i1(t) && !i1(n) && (l = YH(t, a)), i1(t) && i1(n) ? (n.forEach(function(d, m) { if (vx.call(t, m)) { var I = t[m]; I && typeof I == "object" && d && typeof d == "object" ? t[m] = e(I, d, a) : t.push(d); } else t[m] = d; }), t) : Object.keys(n).reduce(function(d, m) { var I = n[m]; return vx.call(d, m) ? d[m] = e(d[m], I, a) : d[m] = I, d; }, l); }, k$ = function(t, n) { return Object.keys(n).reduce(function(a, l) { return a[l] = n[l], a; }, t); }, Q$ = function(e, t, n) { var a = e.replace(/\+/g, " "); if (n === "iso-8859-1") return a.replace(/%[0-9a-f]{2}/gi, unescape); try { return decodeURIComponent(a); } catch { return a; } }, mx = 1024, S$ = function(t, n, a, l, d) { if (t.length === 0) return t; var m = t; if (typeof t == "symbol" ? m = Symbol.prototype.toString.call(t) : typeof t != "string" && (m = String(t)), a === "iso-8859-1") return escape(m).replace(/%u[0-9a-f]{4}/gi, function(L) { return "%26%23" + parseInt(L.slice(2), 16) + "%3B"; }); for (var I = "", E = 0; E < m.length; E += mx) { for (var Q = m.length >= mx ? m.slice(E, E + mx) : m, R = [], D = 0; D < Q.length; ++D) { var x = Q.charCodeAt(D); if (x === 45 || x === 46 || x === 95 || x === 126 || x >= 48 && x <= 57 || x >= 65 && x <= 90 || x >= 97 && x <= 122 || d === E$.RFC1738 && (x === 40 || x === 41)) { R[R.length] = Q.charAt(D); continue; } if (x < 128) { R[R.length] = pA[x]; continue; } if (x < 2048) { R[R.length] = pA[192 | x >> 6] + pA[128 | x & 63]; continue; } if (x < 55296 || x >= 57344) { R[R.length] = pA[224 | x >> 12] + pA[128 | x >> 6 & 63] + pA[128 | x & 63]; continue; } D += 1, x = 65536 + ((x & 1023) << 10 | Q.charCodeAt(D) & 1023), R[R.length] = pA[240 | x >> 18] + pA[128 | x >> 12 & 63] + pA[128 | x >> 6 & 63] + pA[128 | x & 63]; } I += R.join(""); } return I; }, x$ = function(t) { for (var n = [{ obj: { o: t }, prop: "o" }], a = [], l = 0; l < n.length; ++l) for (var d = n[l], m = d.obj[d.prop], I = Object.keys(m), E = 0; E < I.length; ++E) { var Q = I[E], R = m[Q]; typeof R == "object" && R !== null && a.indexOf(R) === -1 && (n.push({ obj: m, prop: Q }), a.push(R)); } return w$(n), t; }, _$ = function(t) { return Object.prototype.toString.call(t) === "[object RegExp]"; }, D$ = function(t) { return !t || typeof t != "object" ? !1 : !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t)); }, R$ = function(t, n) { return [].concat(t, n); }, F$ = function(t, n) { if (i1(t)) { for (var a = [], l = 0; l < t.length; l += 1) a.push(n(t[l])); return a; } return n(t); }, qH = { arrayToObject: YH, assign: k$, combine: R$, compact: x$, decode: Q$, encode: S$, isBuffer: D$, isRegExp: _$, maybeMap: F$, merge: B$ }, JH = b$, I6 = qH, $I = aF, N$ = Object.prototype.hasOwnProperty, WH = { brackets: function(t) { return t + "[]"; }, comma: "comma", indices: function(t, n) { return t + "[" + n + "]"; }, repeat: function(t) { return t; } }, EA = Array.isArray, T$ = Array.prototype.push, zH = function(e, t) { T$.apply(e, EA(t) ? t : [t]); }, M$ = Date.prototype.toISOString, sL = $I.default, Al = { addQueryPrefix: !1, allowDots: !1, allowEmptyArrays: !1, arrayFormat: "indices", charset: "utf-8", charsetSentinel: !1, commaRoundTrip: !1, delimiter: "&", encode: !0, encodeDotInKeys: !1, encoder: I6.encode, encodeValuesOnly: !1, filter: void 0, format: sL, formatter: $I.formatters[sL], // deprecated indices: !1, serializeDate: function(t) { return M$.call(t); }, skipNulls: !1, strictNullHandling: !1 }, L$ = function(t) { return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint"; }, yx = {}, O$ = function e(t, n, a, l, d, m, I, E, Q, R, D, x, L, F, q, J, V, te) { for (var ae = t, oe = te, ue = 0, ge = !1; (oe = oe.get(yx)) !== void 0 && !ge; ) { var Ie = oe.get(t); if (ue += 1, typeof Ie < "u") { if (Ie === ue) throw new RangeError("Cyclic object value"); ge = !0; } typeof oe.get(yx) > "u" && (ue = 0); } if (typeof R == "function" ? ae = R(n, ae) : ae instanceof Date ? ae = L(ae) : a === "comma" && EA(ae) && (ae = I6.maybeMap(ae, function(vt) { return vt instanceof Date ? L(vt) : vt; })), ae === null) { if (m) return Q && !J ? Q(n, Al.encoder, V, "key", F) : n; ae = ""; } if (L$(ae) || I6.isBuffer(ae)) { if (Q) { var Qe = J ? n : Q(n, Al.encoder, V, "key", F); return [q(Qe) + "=" + q(Q(ae, Al.encoder, V, "value", F))]; } return [q(n) + "=" + q(String(ae))]; } var ke = []; if (typeof ae > "u") return ke; var we; if (a === "comma" && EA(ae)) J && Q && (ae = I6.maybeMap(ae, Q)), we = [{ value: ae.length > 0 ? ae.join(",") || null : void 0 }]; else if (EA(R)) we = R; else { var Te = Object.keys(ae); we = D ? Te.sort(D) : Te; } var Pe = E ? String(n).replace(/\./g, "%2E") : String(n), At = l && EA(ae) && ae.length === 1 ? Pe + "[]" : Pe; if (d && EA(ae) && ae.length === 0) return At + "[]"; for (var st = 0; st < we.length; ++st) { var ut = we[st], xe = typeof ut == "object" && ut && typeof ut.value < "u" ? ut.value : ae[ut]; if (!(I && xe === null)) { var yt = x && E ? String(ut).replace(/\./g, "%2E") : String(ut), tt = EA(ae) ? typeof a == "function" ? a(At, yt) : At : At + (x ? "." + yt : "[" + yt + "]"); te.set(t, ue); var Ue = JH(); Ue.set(yx, te), zH(ke, e( xe, tt, a, l, d, m, I, E, a === "comma" && J && EA(ae) ? null : Q, R, D, x, L, F, q, J, V, Ue )); } } return ke; }, P$ = function(t) { if (!t) return Al; if (typeof t.allowEmptyArrays < "u" && typeof t.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided"); if (typeof t.encodeDotInKeys < "u" && typeof t.encodeDotInKeys != "boolean") throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided"); if (t.encoder !== null && typeof t.encoder < "u" && typeof t.encoder != "function") throw new TypeError("Encoder has to be a function."); var n = t.charset || Al.charset; if (typeof t.charset < "u" && t.charset !== "utf-8" && t.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined"); var a = $I.default; if (typeof t.format < "u") { if (!N$.call($I.formatters, t.format)) throw new TypeError("Unknown format option provided."); a = t.format; } var l = $I.formatters[a], d = Al.filter; (typeof t.filter == "function" || EA(t.filter)) && (d = t.filter); var m; if (t.arrayFormat in WH ? m = t.arrayFormat : "indices" in t ? m = t.indices ? "indices" : "repeat" : m = Al.arrayFormat, "commaRoundTrip" in t && typeof t.commaRoundTrip != "boolean") throw new TypeError("`commaRoundTrip` must be a boolean, or absent"); var I = typeof t.allowDots > "u" ? t.encodeDotInKeys === !0 ? !0 : Al.allowDots : !!t.allowDots; return { addQueryPrefix: typeof t.addQueryPrefix == "boolean" ? t.addQueryPrefix : Al.addQueryPrefix, allowDots: I, allowEmptyArrays: typeof t.allowEmptyArrays == "boolean" ? !!t.allowEmptyArrays : Al.allowEmptyArrays, arrayFormat: m, charset: n, charsetSentinel: typeof t.charsetSentinel == "boolean" ? t.charsetSentinel : Al.charsetSentinel, commaRoundTrip: !!t.commaRoundTrip, delimiter: typeof t.delimiter > "u" ? Al.delimiter : t.delimiter, encode: typeof t.encode == "boolean" ? t.encode : Al.encode, encodeDotInKeys: typeof t.encodeDotInKeys == "boolean" ? t.encodeDotInKeys : Al.encodeDotInKeys, encoder: typeof t.encoder == "function" ? t.encoder : Al.encoder, encodeValuesOnly: typeof t.encodeValuesOnly == "boolean" ? t.encodeValuesOnly : Al.encodeValuesOnly, filter: d, format: a, formatter: l, serializeDate: typeof t.serializeDate == "function" ? t.serializeDate : Al.serializeDate, skipNulls: typeof t.skipNulls == "boolean" ? t.skipNulls : Al.skipNulls, sort: typeof t.sort == "function" ? t.sort : null, strictNullHandling: typeof t.strictNullHandling == "boolean" ? t.strictNullHandling : Al.strictNullHandling }; }, U$ = function(e, t) { var n = e, a = P$(t), l, d; typeof a.filter == "function" ? (d = a.filter, n = d("", n)) : EA(a.filter) && (d = a.filter, l = d); var m = []; if (typeof n != "object" || n === null) return ""; var I = WH[a.arrayFormat], E = I === "comma" && a.commaRoundTrip; l || (l = Object.keys(n)), a.sort && l.sort(a.sort); for (var Q = JH(), R = 0; R < l.length; ++R) { var D = l[R], x = n[D]; a.skipNulls && x === null || zH(m, O$( x, D, I, E, a.allowEmptyArrays, a.strictNullHandling, a.skipNulls, a.encodeDotInKeys, a.encode ? a.encoder : null, a.filter, a.sort, a.allowDots, a.serializeDate, a.format, a.formatter, a.encodeValuesOnly, a.charset, Q )); } var L = m.join(a.delimiter), F = a.addQueryPrefix === !0 ? "?" : ""; return a.charsetSentinel && (a.charset === "iso-8859-1" ? F += "utf8=%26%2310003%3B&" : F += "utf8=%E2%9C%93&"), L.length > 0 ? F + L : ""; }, Wm = qH, oD = Object.prototype.hasOwnProperty, G$ = Array.isArray, _s = { allowDots: !1, allowEmptyArrays: !1, allowPrototypes: !1, allowSparse: !1, arrayLimit: 20, charset: "utf-8", charsetSentinel: !1, comma: !1, decodeDotInKeys: !1, decoder: Wm.decode, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: !1, interpretNumericEntities: !1, parameterLimit: 1e3, parseArrays: !0, plainObjects: !1, strictDepth: !1, strictNullHandling: !1 }, H$ = function(e) { return e.replace(/&#(\d+);/g, function(t, n) { return String.fromCharCode(parseInt(n, 10)); }); }, KH = function(e, t) { return e && typeof e == "string" && t.comma && e.indexOf(",") > -1 ? e.split(",") : e; }, j$ = "utf8=%26%2310003%3B", Y$ = "utf8=%E2%9C%93", q$ = function(t, n) { var a = { __proto__: null }, l = n.ignoreQueryPrefix ? t.replace(/^\?/, "") : t; l = l.replace(/%5B/gi, "[").replace(/%5D/gi, "]"); var d = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, m = l.split(n.delimiter, d), I = -1, E, Q = n.charset; if (n.charsetSentinel) for (E = 0; E < m.length; ++E) m[E].indexOf("utf8=") === 0 && (m[E] === Y$ ? Q = "utf-8" : m[E] === j$ && (Q = "iso-8859-1"), I = E, E = m.length); for (E = 0; E < m.length; ++E) if (E !== I) { var R = m[E], D = R.indexOf("]="), x = D === -1 ? R.indexOf("=") : D + 1, L, F; x === -1 ? (L = n.decoder(R, _s.decoder, Q, "key"), F = n.strictNullHandling ? null : "") : (L = n.decoder(R.slice(0, x), _s.decoder, Q, "key"), F = Wm.maybeMap( KH(R.slice(x + 1), n), function(J) { return n.decoder(J, _s.decoder, Q, "value"); } )), F && n.interpretNumericEntities && Q === "iso-8859-1" && (F = H$(String(F))), R.indexOf("[]=") > -1 && (F = G$(F) ? [F] : F); var q = oD.call(a, L); q && n.duplicates === "combine" ? a[L] = Wm.combine(a[L], F) : (!q || n.duplicates === "last") && (a[L] = F); } return a; }, J$ = function(e, t, n, a) { for (var l = a ? t : KH(t, n), d = e.length - 1; d >= 0; --d) { var m, I = e[d]; if (I === "[]" && n.parseArrays) m = n.allowEmptyArrays && (l === "" || n.strictNullHandling && l === null) ? [] : [].concat(l); else { m = n.plainObjects ? { __proto__: null } : {}; var E = I.charAt(0) === "[" && I.charAt(I.length - 1) === "]" ? I.slice(1, -1) : I, Q = n.decodeDotInKeys ? E.replace(/%2E/g, ".") : E, R = parseInt(Q, 10); !n.parseArrays && Q === "" ? m = { 0: l } : !isNaN(R) && I !== Q && String(R) === Q && R >= 0 && n.parseArrays && R <= n.arrayLimit ? (m = [], m[R] = l) : Q !== "__proto__" && (m[Q] = l); } l = m; } return l; }, W$ = function(t, n, a, l) { if (t) { var d = a.allowDots ? t.replace(/\.([^.[]+)/g, "[$1]") : t, m = /(\[[^[\]]*])/, I = /(\[[^[\]]*])/g, E = a.depth > 0 && m.exec(d), Q = E ? d.slice(0, E.index) : d, R = []; if (Q) { if (!a.plainObjects && oD.call(Object.prototype, Q) && !a.allowPrototypes) return; R.push(Q); } for (var D = 0; a.depth > 0 && (E = I.exec(d)) !== null && D < a.depth; ) { if (D += 1, !a.plainObjects && oD.call(Object.prototype, E[1].slice(1, -1)) && !a.allowPrototypes) return; R.push(E[1]); } if (E) { if (a.strictDepth === !0) throw new RangeError("Input depth exceeded depth option of " + a.depth + " and strictDepth is true"); R.push("[" + d.slice(E.index) + "]"); } return J$(R, n, a, l); } }, z$ = function(t) { if (!t) return _s; if (typeof t.allowEmptyArrays < "u" && typeof t.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided"); if (typeof t.decodeDotInKeys < "u" && typeof t.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided"); if (t.decoder !== null && typeof t.decoder < "u" && typeof t.decoder != "function") throw new TypeError("Decoder has to be a function."); if (typeof t.charset < "u" && t.charset !== "utf-8" && t.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined"); var n = typeof t.charset > "u" ? _s.charset : t.charset, a = typeof t.duplicates > "u" ? _s.duplicates : t.duplicates; if (a !== "combine" && a !== "first" && a !== "last") throw new TypeError("The duplicates option must be either combine, first, or last"); var l = typeof t.allowDots > "u" ? t.decodeDotInKeys === !0 ? !0 : _s.allowDots :