@qikdev/sdk 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
- import Ee from "axios";
2
- import { Cache as qr } from "axios-extensions";
3
- var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1
+ import Ae from "axios";
2
+ import { LRUCache as qr } from "lru-cache";
3
+ var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function mr(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
@@ -69,14 +69,14 @@ function Xr() {
69
69
  if (Or) return Ye;
70
70
  Or = 1;
71
71
  var e = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, a = Math.max, t = "[object Function]", n = function(p, y) {
72
- for (var w = [], A = 0; A < p.length; A += 1)
73
- w[A] = p[A];
72
+ for (var w = [], v = 0; v < p.length; v += 1)
73
+ w[v] = p[v];
74
74
  for (var u = 0; u < y.length; u += 1)
75
75
  w[u + p.length] = y[u];
76
76
  return w;
77
77
  }, o = function(p, y) {
78
- for (var w = [], A = y, u = 0; A < p.length; A += 1, u += 1)
79
- w[u] = p[A];
78
+ for (var w = [], v = y, u = 0; v < p.length; v += 1, u += 1)
79
+ w[u] = p[v];
80
80
  return w;
81
81
  }, m = function(l, p) {
82
82
  for (var y = "", w = 0; w < l.length; w += 1)
@@ -87,8 +87,8 @@ function Xr() {
87
87
  var y = this;
88
88
  if (typeof y != "function" || r.apply(y) !== t)
89
89
  throw new TypeError(e + y);
90
- for (var w = o(arguments, 1), A, u = function() {
91
- if (this instanceof A) {
90
+ for (var w = o(arguments, 1), v, u = function() {
91
+ if (this instanceof v) {
92
92
  var c = y.apply(
93
93
  this,
94
94
  n(w, arguments)
@@ -101,12 +101,12 @@ function Xr() {
101
101
  );
102
102
  }, s = a(0, y.length - w.length), i = [], S = 0; S < s; S++)
103
103
  i[S] = "$" + S;
104
- if (A = Function("binder", "return function (" + m(i, ",") + "){ return binder.apply(this,arguments); }")(u), y.prototype) {
104
+ if (v = Function("binder", "return function (" + m(i, ",") + "){ return binder.apply(this,arguments); }")(u), y.prototype) {
105
105
  var f = function() {
106
106
  };
107
- f.prototype = y.prototype, A.prototype = new f(), f.prototype = null;
107
+ f.prototype = y.prototype, v.prototype = new f(), f.prototype = null;
108
108
  }
109
- return A;
109
+ return v;
110
110
  }, Ye;
111
111
  }
112
112
  var Xe, Mr;
@@ -153,7 +153,7 @@ function hr() {
153
153
  }
154
154
  })() : m, p = Yr()(), y = Object.getPrototypeOf || function($) {
155
155
  return $.__proto__;
156
- }, w = {}, A = typeof Uint8Array > "u" ? e : y(Uint8Array), u = {
156
+ }, w = {}, v = typeof Uint8Array > "u" ? e : y(Uint8Array), u = {
157
157
  "%AggregateError%": typeof AggregateError > "u" ? e : AggregateError,
158
158
  "%Array%": Array,
159
159
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? e : ArrayBuffer,
@@ -209,7 +209,7 @@ function hr() {
209
209
  "%Symbol%": p ? Symbol : e,
210
210
  "%SyntaxError%": r,
211
211
  "%ThrowTypeError%": l,
212
- "%TypedArray%": A,
212
+ "%TypedArray%": v,
213
213
  "%TypeError%": t,
214
214
  "%Uint8Array%": typeof Uint8Array > "u" ? e : Uint8Array,
215
215
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? e : Uint8ClampedArray,
@@ -228,11 +228,11 @@ function hr() {
228
228
  else if (L === "%AsyncGeneratorFunction%")
229
229
  F = n("async function* () {}");
230
230
  else if (L === "%AsyncGenerator%") {
231
- var T = $("%AsyncGeneratorFunction%");
232
- T && (F = T.prototype);
231
+ var R = $("%AsyncGeneratorFunction%");
232
+ R && (F = R.prototype);
233
233
  } else if (L === "%AsyncIteratorPrototype%") {
234
- var R = $("%AsyncGenerator%");
235
- R && (F = y(R.prototype));
234
+ var T = $("%AsyncGenerator%");
235
+ T && (F = y(T.prototype));
236
236
  }
237
237
  return u[L] = F, F;
238
238
  }, i = {
@@ -287,25 +287,25 @@ function hr() {
287
287
  "%URIErrorPrototype%": ["URIError", "prototype"],
288
288
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
289
289
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
290
- }, S = yr(), f = et(), c = S.call(Function.call, Array.prototype.concat), b = S.call(Function.apply, Array.prototype.splice), v = S.call(Function.call, String.prototype.replace), C = S.call(Function.call, String.prototype.slice), x = S.call(Function.call, RegExp.prototype.exec), k = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, N = /\\(\\)?/g, M = function(L) {
291
- var F = C(L, 0, 1), T = C(L, -1);
292
- if (F === "%" && T !== "%")
290
+ }, S = yr(), f = et(), c = S.call(Function.call, Array.prototype.concat), A = S.call(Function.apply, Array.prototype.splice), b = S.call(Function.call, String.prototype.replace), P = S.call(Function.call, String.prototype.slice), x = S.call(Function.call, RegExp.prototype.exec), k = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, N = /\\(\\)?/g, M = function(L) {
291
+ var F = P(L, 0, 1), R = P(L, -1);
292
+ if (F === "%" && R !== "%")
293
293
  throw new r("invalid intrinsic syntax, expected closing `%`");
294
- if (T === "%" && F !== "%")
294
+ if (R === "%" && F !== "%")
295
295
  throw new r("invalid intrinsic syntax, expected opening `%`");
296
- var R = [];
297
- return v(L, k, function(U, z, _, Z) {
298
- R[R.length] = _ ? v(Z, N, "$1") : z || U;
299
- }), R;
296
+ var T = [];
297
+ return b(L, k, function(U, z, _, Z) {
298
+ T[T.length] = _ ? b(Z, N, "$1") : z || U;
299
+ }), T;
300
300
  }, V = function(L, F) {
301
- var T = L, R;
302
- if (f(i, T) && (R = i[T], T = "%" + R[0] + "%"), f(u, T)) {
303
- var U = u[T];
304
- if (U === w && (U = s(T)), typeof U > "u" && !F)
301
+ var R = L, T;
302
+ if (f(i, R) && (T = i[R], R = "%" + T[0] + "%"), f(u, R)) {
303
+ var U = u[R];
304
+ if (U === w && (U = s(R)), typeof U > "u" && !F)
305
305
  throw new t("intrinsic " + L + " exists, but is not available. Please file an issue!");
306
306
  return {
307
- alias: R,
308
- name: T,
307
+ alias: T,
308
+ name: R,
309
309
  value: U
310
310
  };
311
311
  }
@@ -318,13 +318,13 @@ function hr() {
318
318
  throw new t('"allowMissing" argument must be a boolean');
319
319
  if (x(/^%?[^%]*%?$/, L) === null)
320
320
  throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
321
- var T = M(L), R = T.length > 0 ? T[0] : "", U = V("%" + R + "%", F), z = U.name, _ = U.value, Z = !1, Q = U.alias;
322
- Q && (R = Q[0], b(T, c([0, 1], Q)));
323
- for (var ne = 1, X = !0; ne < T.length; ne += 1) {
324
- var W = T[ne], ie = C(W, 0, 1), re = C(W, -1);
321
+ var R = M(L), T = R.length > 0 ? R[0] : "", U = V("%" + T + "%", F), z = U.name, _ = U.value, Z = !1, Q = U.alias;
322
+ Q && (T = Q[0], A(R, c([0, 1], Q)));
323
+ for (var ne = 1, X = !0; ne < R.length; ne += 1) {
324
+ var W = R[ne], ie = P(W, 0, 1), re = P(W, -1);
325
325
  if ((ie === '"' || ie === "'" || ie === "`" || re === '"' || re === "'" || re === "`") && ie !== re)
326
326
  throw new r("property names with quotes must have matching quotes");
327
- if ((W === "constructor" || !X) && (Z = !0), R += "." + W, z = "%" + R + "%", f(u, z))
327
+ if ((W === "constructor" || !X) && (Z = !0), T += "." + W, z = "%" + T + "%", f(u, z))
328
328
  _ = u[z];
329
329
  else if (_ != null) {
330
330
  if (!(W in _)) {
@@ -332,7 +332,7 @@ function hr() {
332
332
  throw new t("base intrinsic for " + L + " exists, but the property is not available.");
333
333
  return;
334
334
  }
335
- if (o && ne + 1 >= T.length) {
335
+ if (o && ne + 1 >= R.length) {
336
336
  var te = o(_, W);
337
337
  X = !!te, X && "get" in te && !("originalValue" in te.get) ? _ = te.get : _ = _[W];
338
338
  } else
@@ -343,9 +343,9 @@ function hr() {
343
343
  return _;
344
344
  }, rr;
345
345
  }
346
- var tr = { exports: {} }, Tr;
346
+ var tr = { exports: {} }, Rr;
347
347
  function rt() {
348
- return Tr || (Tr = 1, (function(e) {
348
+ return Rr || (Rr = 1, (function(e) {
349
349
  var r = yr(), a = hr(), t = a("%Function.prototype.apply%"), n = a("%Function.prototype.call%"), o = a("%Reflect.apply%", !0) || r.call(n, t), m = a("%Object.getOwnPropertyDescriptor%", !0), l = a("%Object.defineProperty%", !0), p = a("%Math.max%");
350
350
  if (l)
351
351
  try {
@@ -353,14 +353,14 @@ function rt() {
353
353
  } catch {
354
354
  l = null;
355
355
  }
356
- e.exports = function(A) {
356
+ e.exports = function(v) {
357
357
  var u = o(r, n, arguments);
358
358
  if (m && l) {
359
359
  var s = m(u, "length");
360
360
  s.configurable && l(
361
361
  u,
362
362
  "length",
363
- { value: 1 + p(0, A.length - (arguments.length - 1)) }
363
+ { value: 1 + p(0, v.length - (arguments.length - 1)) }
364
364
  );
365
365
  }
366
366
  return u;
@@ -371,10 +371,10 @@ function rt() {
371
371
  l ? l(e.exports, "apply", { value: y }) : e.exports.apply = y;
372
372
  })(tr)), tr.exports;
373
373
  }
374
- var ar, Rr;
374
+ var ar, Tr;
375
375
  function tt() {
376
- if (Rr) return ar;
377
- Rr = 1;
376
+ if (Tr) return ar;
377
+ Tr = 1;
378
378
  var e = hr(), r = rt(), a = r(e("String.prototype.indexOf"));
379
379
  return ar = function(n, o) {
380
380
  var m = e(n, !!o);
@@ -389,7 +389,7 @@ var nr, _r;
389
389
  function ot() {
390
390
  if (_r) return nr;
391
391
  _r = 1;
392
- var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, a = e && r && typeof r.get == "function" ? r.get : null, t = e && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, o = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, m = n && o && typeof o.get == "function" ? o.get : null, l = n && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype, y = p ? WeakMap.prototype.has : null, w = typeof WeakSet == "function" && WeakSet.prototype, A = w ? WeakSet.prototype.has : null, u = typeof WeakRef == "function" && WeakRef.prototype, s = u ? WeakRef.prototype.deref : null, i = Boolean.prototype.valueOf, S = Object.prototype.toString, f = Function.prototype.toString, c = String.prototype.match, b = String.prototype.slice, v = String.prototype.replace, C = String.prototype.toUpperCase, x = String.prototype.toLowerCase, k = RegExp.prototype.test, N = Array.prototype.concat, M = Array.prototype.join, V = Array.prototype.slice, $ = Math.floor, L = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, F = Object.getOwnPropertySymbols, T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, R = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === R || !0) ? Symbol.toStringTag : null, z = Object.prototype.propertyIsEnumerable, _ = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(h) {
392
+ var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, a = e && r && typeof r.get == "function" ? r.get : null, t = e && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, o = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, m = n && o && typeof o.get == "function" ? o.get : null, l = n && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype, y = p ? WeakMap.prototype.has : null, w = typeof WeakSet == "function" && WeakSet.prototype, v = w ? WeakSet.prototype.has : null, u = typeof WeakRef == "function" && WeakRef.prototype, s = u ? WeakRef.prototype.deref : null, i = Boolean.prototype.valueOf, S = Object.prototype.toString, f = Function.prototype.toString, c = String.prototype.match, A = String.prototype.slice, b = String.prototype.replace, P = String.prototype.toUpperCase, x = String.prototype.toLowerCase, k = RegExp.prototype.test, N = Array.prototype.concat, M = Array.prototype.join, V = Array.prototype.slice, $ = Math.floor, L = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, F = Object.getOwnPropertySymbols, R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, T = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === T || !0) ? Symbol.toStringTag : null, z = Object.prototype.propertyIsEnumerable, _ = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(h) {
393
393
  return h.__proto__;
394
394
  } : null);
395
395
  function Z(h, g) {
@@ -399,27 +399,27 @@ function ot() {
399
399
  if (typeof h == "number") {
400
400
  var d = h < 0 ? -$(-h) : $(h);
401
401
  if (d !== h) {
402
- var E = String(d), P = b.call(g, E.length + 1);
403
- return v.call(E, D, "$&_") + "." + v.call(v.call(P, /([0-9]{3})/g, "$&_"), /_$/, "");
402
+ var E = String(d), C = A.call(g, E.length + 1);
403
+ return b.call(E, D, "$&_") + "." + b.call(b.call(C, /([0-9]{3})/g, "$&_"), /_$/, "");
404
404
  }
405
405
  }
406
- return v.call(g, D, "$&_");
406
+ return b.call(g, D, "$&_");
407
407
  }
408
408
  var Q = it, ne = Q.custom, X = se(ne) ? ne : null;
409
409
  nr = function h(g, D, d, E) {
410
- var P = D || {};
411
- if (J(P, "quoteStyle") && P.quoteStyle !== "single" && P.quoteStyle !== "double")
410
+ var C = D || {};
411
+ if (J(C, "quoteStyle") && C.quoteStyle !== "single" && C.quoteStyle !== "double")
412
412
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
413
- if (J(P, "maxStringLength") && (typeof P.maxStringLength == "number" ? P.maxStringLength < 0 && P.maxStringLength !== 1 / 0 : P.maxStringLength !== null))
413
+ if (J(C, "maxStringLength") && (typeof C.maxStringLength == "number" ? C.maxStringLength < 0 && C.maxStringLength !== 1 / 0 : C.maxStringLength !== null))
414
414
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
415
- var G = J(P, "customInspect") ? P.customInspect : !0;
415
+ var G = J(C, "customInspect") ? C.customInspect : !0;
416
416
  if (typeof G != "boolean" && G !== "symbol")
417
417
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
418
- if (J(P, "indent") && P.indent !== null && P.indent !== " " && !(parseInt(P.indent, 10) === P.indent && P.indent > 0))
418
+ if (J(C, "indent") && C.indent !== null && C.indent !== " " && !(parseInt(C.indent, 10) === C.indent && C.indent > 0))
419
419
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
420
- if (J(P, "numericSeparator") && typeof P.numericSeparator != "boolean")
420
+ if (J(C, "numericSeparator") && typeof C.numericSeparator != "boolean")
421
421
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
422
- var ae = P.numericSeparator;
422
+ var ae = C.numericSeparator;
423
423
  if (typeof g > "u")
424
424
  return "undefined";
425
425
  if (g === null)
@@ -427,7 +427,7 @@ function ot() {
427
427
  if (typeof g == "boolean")
428
428
  return g ? "true" : "false";
429
429
  if (typeof g == "string")
430
- return Ce(g, P);
430
+ return Ce(g, C);
431
431
  if (typeof g == "number") {
432
432
  if (g === 0)
433
433
  return 1 / 0 / g > 0 ? "0" : "-0";
@@ -438,10 +438,10 @@ function ot() {
438
438
  var O = String(g) + "n";
439
439
  return ae ? Z(g, O) : O;
440
440
  }
441
- var B = typeof P.depth > "u" ? 5 : P.depth;
441
+ var B = typeof C.depth > "u" ? 5 : C.depth;
442
442
  if (typeof d > "u" && (d = 0), d >= B && B > 0 && typeof g == "object")
443
443
  return re(g) ? "[Array]" : "[Object]";
444
- var j = Le(P, d);
444
+ var j = Le(C, d);
445
445
  if (typeof E > "u")
446
446
  E = [];
447
447
  else if (xe(E, g) >= 0)
@@ -449,23 +449,23 @@ function ot() {
449
449
  function H(Me, Be, Jr) {
450
450
  if (Be && (E = V.call(E), E.push(Be)), Jr) {
451
451
  var xr = {
452
- depth: P.depth
452
+ depth: C.depth
453
453
  };
454
- return J(P, "quoteStyle") && (xr.quoteStyle = P.quoteStyle), h(Me, xr, d + 1, E);
454
+ return J(C, "quoteStyle") && (xr.quoteStyle = C.quoteStyle), h(Me, xr, d + 1, E);
455
455
  }
456
- return h(Me, P, d + 1, E);
456
+ return h(Me, C, d + 1, E);
457
457
  }
458
458
  if (typeof g == "function" && !ce(g)) {
459
- var Y = Ie(g), we = ge(g, H);
460
- return "[Function" + (Y ? ": " + Y : " (anonymous)") + "]" + (we.length > 0 ? " { " + M.call(we, ", ") + " }" : "");
459
+ var Y = Ie(g), Ee = ge(g, H);
460
+ return "[Function" + (Y ? ": " + Y : " (anonymous)") + "]" + (Ee.length > 0 ? " { " + M.call(Ee, ", ") + " }" : "");
461
461
  }
462
462
  if (se(g)) {
463
- var Ar = R ? v.call(String(g), /^(Symbol\(.*\))_[^)]*$/, "$1") : T.call(g);
464
- return typeof g == "object" && !R ? le(Ar) : Ar;
463
+ var Ar = T ? b.call(String(g), /^(Symbol\(.*\))_[^)]*$/, "$1") : R.call(g);
464
+ return typeof g == "object" && !T ? le(Ar) : Ar;
465
465
  }
466
466
  if (_e(g)) {
467
467
  for (var Fe = "<" + x.call(String(g.nodeName)), ze = g.attributes || [], $e = 0; $e < ze.length; $e++)
468
- Fe += " " + ze[$e].name + "=" + W(ie(ze[$e].value), "double", P);
468
+ Fe += " " + ze[$e].name + "=" + W(ie(ze[$e].value), "double", C);
469
469
  return Fe += ">", g.childNodes && g.childNodes.length && (Fe += "..."), Fe += "</" + x.call(String(g.nodeName)) + ">", Fe;
470
470
  }
471
471
  if (re(g)) {
@@ -488,17 +488,17 @@ function ot() {
488
488
  var br = [];
489
489
  return t.call(g, function(Me, Be) {
490
490
  br.push(H(Be, g, !0) + " => " + H(Me, g));
491
- }), Se("Map", a.call(g), br, j);
491
+ }), we("Map", a.call(g), br, j);
492
492
  }
493
- if (Te(g)) {
493
+ if (Re(g)) {
494
494
  var Sr = [];
495
495
  return l.call(g, function(Me) {
496
496
  Sr.push(H(Me, g));
497
- }), Se("Set", m.call(g), Sr, j);
497
+ }), we("Set", m.call(g), Sr, j);
498
498
  }
499
499
  if (me(g))
500
500
  return fe("WeakMap");
501
- if (Re(g))
501
+ if (Te(g))
502
502
  return fe("WeakSet");
503
503
  if (Pe(g))
504
504
  return fe("WeakRef");
@@ -511,7 +511,7 @@ function ot() {
511
511
  if (oe(g))
512
512
  return le(H(String(g)));
513
513
  if (!te(g) && !ce(g)) {
514
- var He = ge(g, H), wr = _ ? _(g) === Object.prototype : g instanceof Object || g.constructor === Object, Je = g instanceof Object ? "" : "null prototype", Er = !wr && U && Object(g) === g && U in g ? b.call(ee(g), 8, -1) : Je ? "Object" : "", Hr = wr || typeof g.constructor != "function" ? "" : g.constructor.name ? g.constructor.name + " " : "", qe = Hr + (Er || Je ? "[" + M.call(N.call([], Er || [], Je || []), ": ") + "] " : "");
514
+ var He = ge(g, H), wr = _ ? _(g) === Object.prototype : g instanceof Object || g.constructor === Object, Je = g instanceof Object ? "" : "null prototype", Er = !wr && U && Object(g) === g && U in g ? A.call(ee(g), 8, -1) : Je ? "Object" : "", Hr = wr || typeof g.constructor != "function" ? "" : g.constructor.name ? g.constructor.name + " " : "", qe = Hr + (Er || Je ? "[" + M.call(N.call([], Er || [], Je || []), ": ") + "] " : "");
515
515
  return He.length === 0 ? qe + "{}" : j ? qe + "{" + he(He, j) + "}" : qe + "{ " + M.call(He, ", ") + " }";
516
516
  }
517
517
  return String(g);
@@ -521,7 +521,7 @@ function ot() {
521
521
  return d + h + d;
522
522
  }
523
523
  function ie(h) {
524
- return v.call(String(h), /"/g, "&quot;");
524
+ return b.call(String(h), /"/g, "&quot;");
525
525
  }
526
526
  function re(h) {
527
527
  return ee(h) === "[object Array]" && (!U || !(typeof h == "object" && U in h));
@@ -545,14 +545,14 @@ function ot() {
545
545
  return ee(h) === "[object Boolean]" && (!U || !(typeof h == "object" && U in h));
546
546
  }
547
547
  function se(h) {
548
- if (R)
548
+ if (T)
549
549
  return h && typeof h == "object" && h instanceof Symbol;
550
550
  if (typeof h == "symbol")
551
551
  return !0;
552
- if (!h || typeof h != "object" || !T)
552
+ if (!h || typeof h != "object" || !R)
553
553
  return !1;
554
554
  try {
555
- return T.call(h), !0;
555
+ return R.call(h), !0;
556
556
  } catch {
557
557
  }
558
558
  return !1;
@@ -566,11 +566,11 @@ function ot() {
566
566
  }
567
567
  return !1;
568
568
  }
569
- var be = Object.prototype.hasOwnProperty || function(h) {
569
+ var Se = Object.prototype.hasOwnProperty || function(h) {
570
570
  return h in this;
571
571
  };
572
572
  function J(h, g) {
573
- return be.call(h, g);
573
+ return Se.call(h, g);
574
574
  }
575
575
  function ee(h) {
576
576
  return S.call(h);
@@ -610,7 +610,7 @@ function ot() {
610
610
  try {
611
611
  y.call(h, y);
612
612
  try {
613
- A.call(h, A);
613
+ v.call(h, v);
614
614
  } catch {
615
615
  return !0;
616
616
  }
@@ -628,7 +628,7 @@ function ot() {
628
628
  }
629
629
  return !1;
630
630
  }
631
- function Te(h) {
631
+ function Re(h) {
632
632
  if (!m || !h || typeof h != "object")
633
633
  return !1;
634
634
  try {
@@ -643,11 +643,11 @@ function ot() {
643
643
  }
644
644
  return !1;
645
645
  }
646
- function Re(h) {
647
- if (!A || !h || typeof h != "object")
646
+ function Te(h) {
647
+ if (!v || !h || typeof h != "object")
648
648
  return !1;
649
649
  try {
650
- A.call(h, A);
650
+ v.call(h, v);
651
651
  try {
652
652
  y.call(h, y);
653
653
  } catch {
@@ -664,9 +664,9 @@ function ot() {
664
664
  function Ce(h, g) {
665
665
  if (h.length > g.maxStringLength) {
666
666
  var D = h.length - g.maxStringLength, d = "... " + D + " more character" + (D > 1 ? "s" : "");
667
- return Ce(b.call(h, 0, g.maxStringLength), g) + d;
667
+ return Ce(A.call(h, 0, g.maxStringLength), g) + d;
668
668
  }
669
- var E = v.call(v.call(h, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ne);
669
+ var E = b.call(b.call(h, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ne);
670
670
  return W(E, "single", g);
671
671
  }
672
672
  function Ne(h) {
@@ -677,7 +677,7 @@ function ot() {
677
677
  12: "f",
678
678
  13: "r"
679
679
  }[g];
680
- return D ? "\\" + D : "\\x" + (g < 16 ? "0" : "") + C.call(g.toString(16));
680
+ return D ? "\\" + D : "\\x" + (g < 16 ? "0" : "") + P.call(g.toString(16));
681
681
  }
682
682
  function le(h) {
683
683
  return "Object(" + h + ")";
@@ -685,7 +685,7 @@ function ot() {
685
685
  function fe(h) {
686
686
  return h + " { ? }";
687
687
  }
688
- function Se(h, g, D, d) {
688
+ function we(h, g, D, d) {
689
689
  var E = d ? he(D, d) : M.call(D, ", ");
690
690
  return h + " (" + g + ") {" + E + "}";
691
691
  }
@@ -724,17 +724,17 @@ function ot() {
724
724
  for (var E = 0; E < h.length; E++)
725
725
  d[E] = J(h, E) ? g(h[E], h) : "";
726
726
  }
727
- var P = typeof F == "function" ? F(h) : [], G;
728
- if (R) {
727
+ var C = typeof F == "function" ? F(h) : [], G;
728
+ if (T) {
729
729
  G = {};
730
- for (var ae = 0; ae < P.length; ae++)
731
- G["$" + P[ae]] = P[ae];
730
+ for (var ae = 0; ae < C.length; ae++)
731
+ G["$" + C[ae]] = C[ae];
732
732
  }
733
733
  for (var K in h)
734
- J(h, K) && (D && String(Number(K)) === K && K < h.length || R && G["$" + K] instanceof Symbol || (k.call(/[^\w$]/, K) ? d.push(g(K, h) + ": " + g(h[K], h)) : d.push(K + ": " + g(h[K], h))));
734
+ J(h, K) && (D && String(Number(K)) === K && K < h.length || T && G["$" + K] instanceof Symbol || (k.call(/[^\w$]/, K) ? d.push(g(K, h) + ": " + g(h[K], h)) : d.push(K + ": " + g(h[K], h))));
735
735
  if (typeof F == "function")
736
- for (var O = 0; O < P.length; O++)
737
- z.call(h, P[O]) && d.push("[" + g(P[O]) + "]: " + g(h[P[O]], h));
736
+ for (var O = 0; O < C.length; O++)
737
+ z.call(h, C[O]) && d.push("[" + g(C[O]) + "]: " + g(h[C[O]], h));
738
738
  return d;
739
739
  }
740
740
  return nr;
@@ -743,28 +743,28 @@ var ir, Nr;
743
743
  function st() {
744
744
  if (Nr) return ir;
745
745
  Nr = 1;
746
- var e = hr(), r = tt(), a = /* @__PURE__ */ ot(), t = e("%TypeError%"), n = e("%WeakMap%", !0), o = e("%Map%", !0), m = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), p = r("WeakMap.prototype.has", !0), y = r("Map.prototype.get", !0), w = r("Map.prototype.set", !0), A = r("Map.prototype.has", !0), u = function(f, c) {
747
- for (var b = f, v; (v = b.next) !== null; b = v)
748
- if (v.key === c)
749
- return b.next = v.next, v.next = f.next, f.next = v, v;
746
+ var e = hr(), r = tt(), a = /* @__PURE__ */ ot(), t = e("%TypeError%"), n = e("%WeakMap%", !0), o = e("%Map%", !0), m = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), p = r("WeakMap.prototype.has", !0), y = r("Map.prototype.get", !0), w = r("Map.prototype.set", !0), v = r("Map.prototype.has", !0), u = function(f, c) {
747
+ for (var A = f, b; (b = A.next) !== null; A = b)
748
+ if (b.key === c)
749
+ return A.next = b.next, b.next = f.next, f.next = b, b;
750
750
  }, s = function(f, c) {
751
+ var A = u(f, c);
752
+ return A && A.value;
753
+ }, i = function(f, c, A) {
751
754
  var b = u(f, c);
752
- return b && b.value;
753
- }, i = function(f, c, b) {
754
- var v = u(f, c);
755
- v ? v.value = b : f.next = {
755
+ b ? b.value = A : f.next = {
756
756
  // eslint-disable-line no-param-reassign
757
757
  key: c,
758
758
  next: f.next,
759
- value: b
759
+ value: A
760
760
  };
761
761
  }, S = function(f, c) {
762
762
  return !!u(f, c);
763
763
  };
764
764
  return ir = function() {
765
- var c, b, v, C = {
765
+ var c, A, b, P = {
766
766
  assert: function(x) {
767
- if (!C.has(x))
767
+ if (!P.has(x))
768
768
  throw new t("Side channel does not contain " + a(x));
769
769
  },
770
770
  get: function(x) {
@@ -772,27 +772,27 @@ function st() {
772
772
  if (c)
773
773
  return m(c, x);
774
774
  } else if (o) {
775
- if (b)
776
- return y(b, x);
777
- } else if (v)
778
- return s(v, x);
775
+ if (A)
776
+ return y(A, x);
777
+ } else if (b)
778
+ return s(b, x);
779
779
  },
780
780
  has: function(x) {
781
781
  if (n && x && (typeof x == "object" || typeof x == "function")) {
782
782
  if (c)
783
783
  return p(c, x);
784
784
  } else if (o) {
785
- if (b)
786
- return A(b, x);
787
- } else if (v)
788
- return S(v, x);
785
+ if (A)
786
+ return v(A, x);
787
+ } else if (b)
788
+ return S(b, x);
789
789
  return !1;
790
790
  },
791
791
  set: function(x, k) {
792
- n && x && (typeof x == "object" || typeof x == "function") ? (c || (c = new n()), l(c, x, k)) : o ? (b || (b = new o()), w(b, x, k)) : (v || (v = { key: {}, next: null }), i(v, x, k));
792
+ n && x && (typeof x == "object" || typeof x == "function") ? (c || (c = new n()), l(c, x, k)) : o ? (A || (A = new o()), w(A, x, k)) : (b || (b = { key: {}, next: null }), i(b, x, k));
793
793
  }
794
794
  };
795
- return C;
795
+ return P;
796
796
  }, ir;
797
797
  }
798
798
  var or, Lr;
@@ -827,66 +827,66 @@ function Wr() {
827
827
  return S;
828
828
  })(), n = function(f) {
829
829
  for (; f.length > 1; ) {
830
- var c = f.pop(), b = c.obj[c.prop];
831
- if (a(b)) {
832
- for (var v = [], C = 0; C < b.length; ++C)
833
- typeof b[C] < "u" && v.push(b[C]);
834
- c.obj[c.prop] = v;
830
+ var c = f.pop(), A = c.obj[c.prop];
831
+ if (a(A)) {
832
+ for (var b = [], P = 0; P < A.length; ++P)
833
+ typeof A[P] < "u" && b.push(A[P]);
834
+ c.obj[c.prop] = b;
835
835
  }
836
836
  }
837
837
  }, o = function(f, c) {
838
- for (var b = c && c.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, v = 0; v < f.length; ++v)
839
- typeof f[v] < "u" && (b[v] = f[v]);
840
- return b;
841
- }, m = function S(f, c, b) {
838
+ for (var A = c && c.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, b = 0; b < f.length; ++b)
839
+ typeof f[b] < "u" && (A[b] = f[b]);
840
+ return A;
841
+ }, m = function S(f, c, A) {
842
842
  if (!c)
843
843
  return f;
844
844
  if (typeof c != "object") {
845
845
  if (a(f))
846
846
  f.push(c);
847
847
  else if (f && typeof f == "object")
848
- (b && (b.plainObjects || b.allowPrototypes) || !r.call(Object.prototype, c)) && (f[c] = !0);
848
+ (A && (A.plainObjects || A.allowPrototypes) || !r.call(Object.prototype, c)) && (f[c] = !0);
849
849
  else
850
850
  return [f, c];
851
851
  return f;
852
852
  }
853
853
  if (!f || typeof f != "object")
854
854
  return [f].concat(c);
855
- var v = f;
856
- return a(f) && !a(c) && (v = o(f, b)), a(f) && a(c) ? (c.forEach(function(C, x) {
855
+ var b = f;
856
+ return a(f) && !a(c) && (b = o(f, A)), a(f) && a(c) ? (c.forEach(function(P, x) {
857
857
  if (r.call(f, x)) {
858
858
  var k = f[x];
859
- k && typeof k == "object" && C && typeof C == "object" ? f[x] = S(k, C, b) : f.push(C);
859
+ k && typeof k == "object" && P && typeof P == "object" ? f[x] = S(k, P, A) : f.push(P);
860
860
  } else
861
- f[x] = C;
862
- }), f) : Object.keys(c).reduce(function(C, x) {
861
+ f[x] = P;
862
+ }), f) : Object.keys(c).reduce(function(P, x) {
863
863
  var k = c[x];
864
- return r.call(C, x) ? C[x] = S(C[x], k, b) : C[x] = k, C;
865
- }, v);
864
+ return r.call(P, x) ? P[x] = S(P[x], k, A) : P[x] = k, P;
865
+ }, b);
866
866
  }, l = function(f, c) {
867
- return Object.keys(c).reduce(function(b, v) {
868
- return b[v] = c[v], b;
867
+ return Object.keys(c).reduce(function(A, b) {
868
+ return A[b] = c[b], A;
869
869
  }, f);
870
870
  }, p = function(S, f, c) {
871
- var b = S.replace(/\+/g, " ");
871
+ var A = S.replace(/\+/g, " ");
872
872
  if (c === "iso-8859-1")
873
- return b.replace(/%[0-9a-f]{2}/gi, unescape);
873
+ return A.replace(/%[0-9a-f]{2}/gi, unescape);
874
874
  try {
875
- return decodeURIComponent(b);
875
+ return decodeURIComponent(A);
876
876
  } catch {
877
- return b;
877
+ return A;
878
878
  }
879
- }, y = function(f, c, b, v, C) {
879
+ }, y = function(f, c, A, b, P) {
880
880
  if (f.length === 0)
881
881
  return f;
882
882
  var x = f;
883
- if (typeof f == "symbol" ? x = Symbol.prototype.toString.call(f) : typeof f != "string" && (x = String(f)), b === "iso-8859-1")
883
+ if (typeof f == "symbol" ? x = Symbol.prototype.toString.call(f) : typeof f != "string" && (x = String(f)), A === "iso-8859-1")
884
884
  return escape(x).replace(/%u[0-9a-f]{4}/gi, function(V) {
885
885
  return "%26%23" + parseInt(V.slice(2), 16) + "%3B";
886
886
  });
887
887
  for (var k = "", N = 0; N < x.length; ++N) {
888
888
  var M = x.charCodeAt(N);
889
- if (M === 45 || M === 46 || M === 95 || M === 126 || M >= 48 && M <= 57 || M >= 65 && M <= 90 || M >= 97 && M <= 122 || C === e.RFC1738 && (M === 40 || M === 41)) {
889
+ if (M === 45 || M === 46 || M === 95 || M === 126 || M >= 48 && M <= 57 || M >= 65 && M <= 90 || M >= 97 && M <= 122 || P === e.RFC1738 && (M === 40 || M === 41)) {
890
890
  k += x.charAt(N);
891
891
  continue;
892
892
  }
@@ -906,13 +906,13 @@ function Wr() {
906
906
  }
907
907
  return k;
908
908
  }, w = function(f) {
909
- for (var c = [{ obj: { o: f }, prop: "o" }], b = [], v = 0; v < c.length; ++v)
910
- for (var C = c[v], x = C.obj[C.prop], k = Object.keys(x), N = 0; N < k.length; ++N) {
909
+ for (var c = [{ obj: { o: f }, prop: "o" }], A = [], b = 0; b < c.length; ++b)
910
+ for (var P = c[b], x = P.obj[P.prop], k = Object.keys(x), N = 0; N < k.length; ++N) {
911
911
  var M = k[N], V = x[M];
912
- typeof V == "object" && V !== null && b.indexOf(V) === -1 && (c.push({ obj: x, prop: M }), b.push(V));
912
+ typeof V == "object" && V !== null && A.indexOf(V) === -1 && (c.push({ obj: x, prop: M }), A.push(V));
913
913
  }
914
914
  return n(c), f;
915
- }, A = function(f) {
915
+ }, v = function(f) {
916
916
  return Object.prototype.toString.call(f) === "[object RegExp]";
917
917
  }, u = function(f) {
918
918
  return !f || typeof f != "object" ? !1 : !!(f.constructor && f.constructor.isBuffer && f.constructor.isBuffer(f));
@@ -920,9 +920,9 @@ function Wr() {
920
920
  return [].concat(f, c);
921
921
  }, i = function(f, c) {
922
922
  if (a(f)) {
923
- for (var b = [], v = 0; v < f.length; v += 1)
924
- b.push(c(f[v]));
925
- return b;
923
+ for (var A = [], b = 0; b < f.length; b += 1)
924
+ A.push(c(f[b]));
925
+ return A;
926
926
  }
927
927
  return c(f);
928
928
  };
@@ -934,7 +934,7 @@ function Wr() {
934
934
  decode: p,
935
935
  encode: y,
936
936
  isBuffer: u,
937
- isRegExp: A,
937
+ isRegExp: v,
938
938
  maybeMap: i,
939
939
  merge: m
940
940
  }, sr;
@@ -948,15 +948,15 @@ function ut() {
948
948
  return c + "[]";
949
949
  },
950
950
  comma: "comma",
951
- indices: function(c, b) {
952
- return c + "[" + b + "]";
951
+ indices: function(c, A) {
952
+ return c + "[" + A + "]";
953
953
  },
954
954
  repeat: function(c) {
955
955
  return c;
956
956
  }
957
957
  }, o = Array.isArray, m = String.prototype.split, l = Array.prototype.push, p = function(f, c) {
958
958
  l.apply(f, o(c) ? c : [c]);
959
- }, y = Date.prototype.toISOString, w = a.default, A = {
959
+ }, y = Date.prototype.toISOString, w = a.default, v = {
960
960
  addQueryPrefix: !1,
961
961
  allowDots: !1,
962
962
  charset: "utf-8",
@@ -976,7 +976,7 @@ function ut() {
976
976
  strictNullHandling: !1
977
977
  }, u = function(c) {
978
978
  return typeof c == "string" || typeof c == "number" || typeof c == "boolean" || typeof c == "symbol" || typeof c == "bigint";
979
- }, s = {}, i = function f(c, b, v, C, x, k, N, M, V, $, L, F, T, R, U, z) {
979
+ }, s = {}, i = function f(c, A, b, P, x, k, N, M, V, $, L, F, R, T, U, z) {
980
980
  for (var _ = c, Z = z, Q = 0, ne = !1; (Z = Z.get(s)) !== void 0 && !ne; ) {
981
981
  var X = Z.get(c);
982
982
  if (Q += 1, typeof X < "u") {
@@ -986,30 +986,30 @@ function ut() {
986
986
  }
987
987
  typeof Z.get(s) > "u" && (Q = 0);
988
988
  }
989
- if (typeof M == "function" ? _ = M(b, _) : _ instanceof Date ? _ = L(_) : v === "comma" && o(_) && (_ = r.maybeMap(_, function(ee) {
989
+ if (typeof M == "function" ? _ = M(A, _) : _ instanceof Date ? _ = L(_) : b === "comma" && o(_) && (_ = r.maybeMap(_, function(ee) {
990
990
  return ee instanceof Date ? L(ee) : ee;
991
991
  })), _ === null) {
992
992
  if (x)
993
- return N && !R ? N(b, A.encoder, U, "key", F) : b;
993
+ return N && !T ? N(A, v.encoder, U, "key", F) : A;
994
994
  _ = "";
995
995
  }
996
996
  if (u(_) || r.isBuffer(_)) {
997
997
  if (N) {
998
- var W = R ? b : N(b, A.encoder, U, "key", F);
999
- if (v === "comma" && R) {
998
+ var W = T ? A : N(A, v.encoder, U, "key", F);
999
+ if (b === "comma" && T) {
1000
1000
  for (var ie = m.call(String(_), ","), re = "", te = 0; te < ie.length; ++te)
1001
- re += (te === 0 ? "" : ",") + T(N(ie[te], A.encoder, U, "value", F));
1002
- return [T(W) + (C && o(_) && ie.length === 1 ? "[]" : "") + "=" + re];
1001
+ re += (te === 0 ? "" : ",") + R(N(ie[te], v.encoder, U, "value", F));
1002
+ return [R(W) + (P && o(_) && ie.length === 1 ? "[]" : "") + "=" + re];
1003
1003
  }
1004
- return [T(W) + "=" + T(N(_, A.encoder, U, "value", F))];
1004
+ return [R(W) + "=" + R(N(_, v.encoder, U, "value", F))];
1005
1005
  }
1006
- return [T(b) + "=" + T(String(_))];
1006
+ return [R(A) + "=" + R(String(_))];
1007
1007
  }
1008
1008
  var ce = [];
1009
1009
  if (typeof _ > "u")
1010
1010
  return ce;
1011
1011
  var ue;
1012
- if (v === "comma" && o(_))
1012
+ if (b === "comma" && o(_))
1013
1013
  ue = [{ value: _.length > 0 ? _.join(",") || null : void 0 }];
1014
1014
  else if (o(M))
1015
1015
  ue = M;
@@ -1017,17 +1017,17 @@ function ut() {
1017
1017
  var oe = Object.keys(_);
1018
1018
  ue = V ? oe.sort(V) : oe;
1019
1019
  }
1020
- for (var de = C && o(_) && _.length === 1 ? b + "[]" : b, pe = 0; pe < ue.length; ++pe) {
1020
+ for (var de = P && o(_) && _.length === 1 ? A + "[]" : A, pe = 0; pe < ue.length; ++pe) {
1021
1021
  var se = ue[pe], ye = typeof se == "object" && typeof se.value < "u" ? se.value : _[se];
1022
1022
  if (!(k && ye === null)) {
1023
- var be = o(_) ? typeof v == "function" ? v(de, se) : de : de + ($ ? "." + se : "[" + se + "]");
1023
+ var Se = o(_) ? typeof b == "function" ? b(de, se) : de : de + ($ ? "." + se : "[" + se + "]");
1024
1024
  z.set(c, Q);
1025
1025
  var J = e();
1026
1026
  J.set(s, z), p(ce, f(
1027
1027
  ye,
1028
- be,
1029
- v,
1030
- C,
1028
+ Se,
1029
+ b,
1030
+ P,
1031
1031
  x,
1032
1032
  k,
1033
1033
  N,
@@ -1036,8 +1036,8 @@ function ut() {
1036
1036
  $,
1037
1037
  L,
1038
1038
  F,
1039
- T,
1040
1039
  R,
1040
+ T,
1041
1041
  U,
1042
1042
  J
1043
1043
  ));
@@ -1046,42 +1046,42 @@ function ut() {
1046
1046
  return ce;
1047
1047
  }, S = function(c) {
1048
1048
  if (!c)
1049
- return A;
1049
+ return v;
1050
1050
  if (c.encoder !== null && typeof c.encoder < "u" && typeof c.encoder != "function")
1051
1051
  throw new TypeError("Encoder has to be a function.");
1052
- var b = c.charset || A.charset;
1052
+ var A = c.charset || v.charset;
1053
1053
  if (typeof c.charset < "u" && c.charset !== "utf-8" && c.charset !== "iso-8859-1")
1054
1054
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1055
- var v = a.default;
1055
+ var b = a.default;
1056
1056
  if (typeof c.format < "u") {
1057
1057
  if (!t.call(a.formatters, c.format))
1058
1058
  throw new TypeError("Unknown format option provided.");
1059
- v = c.format;
1059
+ b = c.format;
1060
1060
  }
1061
- var C = a.formatters[v], x = A.filter;
1061
+ var P = a.formatters[b], x = v.filter;
1062
1062
  return (typeof c.filter == "function" || o(c.filter)) && (x = c.filter), {
1063
- addQueryPrefix: typeof c.addQueryPrefix == "boolean" ? c.addQueryPrefix : A.addQueryPrefix,
1064
- allowDots: typeof c.allowDots > "u" ? A.allowDots : !!c.allowDots,
1065
- charset: b,
1066
- charsetSentinel: typeof c.charsetSentinel == "boolean" ? c.charsetSentinel : A.charsetSentinel,
1067
- delimiter: typeof c.delimiter > "u" ? A.delimiter : c.delimiter,
1068
- encode: typeof c.encode == "boolean" ? c.encode : A.encode,
1069
- encoder: typeof c.encoder == "function" ? c.encoder : A.encoder,
1070
- encodeValuesOnly: typeof c.encodeValuesOnly == "boolean" ? c.encodeValuesOnly : A.encodeValuesOnly,
1063
+ addQueryPrefix: typeof c.addQueryPrefix == "boolean" ? c.addQueryPrefix : v.addQueryPrefix,
1064
+ allowDots: typeof c.allowDots > "u" ? v.allowDots : !!c.allowDots,
1065
+ charset: A,
1066
+ charsetSentinel: typeof c.charsetSentinel == "boolean" ? c.charsetSentinel : v.charsetSentinel,
1067
+ delimiter: typeof c.delimiter > "u" ? v.delimiter : c.delimiter,
1068
+ encode: typeof c.encode == "boolean" ? c.encode : v.encode,
1069
+ encoder: typeof c.encoder == "function" ? c.encoder : v.encoder,
1070
+ encodeValuesOnly: typeof c.encodeValuesOnly == "boolean" ? c.encodeValuesOnly : v.encodeValuesOnly,
1071
1071
  filter: x,
1072
- format: v,
1073
- formatter: C,
1074
- serializeDate: typeof c.serializeDate == "function" ? c.serializeDate : A.serializeDate,
1075
- skipNulls: typeof c.skipNulls == "boolean" ? c.skipNulls : A.skipNulls,
1072
+ format: b,
1073
+ formatter: P,
1074
+ serializeDate: typeof c.serializeDate == "function" ? c.serializeDate : v.serializeDate,
1075
+ skipNulls: typeof c.skipNulls == "boolean" ? c.skipNulls : v.skipNulls,
1076
1076
  sort: typeof c.sort == "function" ? c.sort : null,
1077
- strictNullHandling: typeof c.strictNullHandling == "boolean" ? c.strictNullHandling : A.strictNullHandling
1077
+ strictNullHandling: typeof c.strictNullHandling == "boolean" ? c.strictNullHandling : v.strictNullHandling
1078
1078
  };
1079
1079
  };
1080
1080
  return ur = function(f, c) {
1081
- var b = f, v = S(c), C, x;
1082
- typeof v.filter == "function" ? (x = v.filter, b = x("", b)) : o(v.filter) && (x = v.filter, C = x);
1081
+ var A = f, b = S(c), P, x;
1082
+ typeof b.filter == "function" ? (x = b.filter, A = x("", A)) : o(b.filter) && (x = b.filter, P = x);
1083
1083
  var k = [];
1084
- if (typeof b != "object" || b === null)
1084
+ if (typeof A != "object" || A === null)
1085
1085
  return "";
1086
1086
  var N;
1087
1087
  c && c.arrayFormat in n ? N = c.arrayFormat : c && "indices" in c ? N = c.indices ? "indices" : "repeat" : N = "indices";
@@ -1089,30 +1089,30 @@ function ut() {
1089
1089
  if (c && "commaRoundTrip" in c && typeof c.commaRoundTrip != "boolean")
1090
1090
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1091
1091
  var V = M === "comma" && c && c.commaRoundTrip;
1092
- C || (C = Object.keys(b)), v.sort && C.sort(v.sort);
1093
- for (var $ = e(), L = 0; L < C.length; ++L) {
1094
- var F = C[L];
1095
- v.skipNulls && b[F] === null || p(k, i(
1096
- b[F],
1092
+ P || (P = Object.keys(A)), b.sort && P.sort(b.sort);
1093
+ for (var $ = e(), L = 0; L < P.length; ++L) {
1094
+ var F = P[L];
1095
+ b.skipNulls && A[F] === null || p(k, i(
1096
+ A[F],
1097
1097
  F,
1098
1098
  M,
1099
1099
  V,
1100
- v.strictNullHandling,
1101
- v.skipNulls,
1102
- v.encode ? v.encoder : null,
1103
- v.filter,
1104
- v.sort,
1105
- v.allowDots,
1106
- v.serializeDate,
1107
- v.format,
1108
- v.formatter,
1109
- v.encodeValuesOnly,
1110
- v.charset,
1100
+ b.strictNullHandling,
1101
+ b.skipNulls,
1102
+ b.encode ? b.encoder : null,
1103
+ b.filter,
1104
+ b.sort,
1105
+ b.allowDots,
1106
+ b.serializeDate,
1107
+ b.format,
1108
+ b.formatter,
1109
+ b.encodeValuesOnly,
1110
+ b.charset,
1111
1111
  $
1112
1112
  ));
1113
1113
  }
1114
- var T = k.join(v.delimiter), R = v.addQueryPrefix === !0 ? "?" : "";
1115
- return v.charsetSentinel && (v.charset === "iso-8859-1" ? R += "utf8=%26%2310003%3B&" : R += "utf8=%E2%9C%93&"), T.length > 0 ? R + T : "";
1114
+ var R = k.join(b.delimiter), T = b.addQueryPrefix === !0 ? "?" : "";
1115
+ return b.charsetSentinel && (b.charset === "iso-8859-1" ? T += "utf8=%26%2310003%3B&" : T += "utf8=%E2%9C%93&"), R.length > 0 ? T + R : "";
1116
1116
  }, ur;
1117
1117
  }
1118
1118
  var cr, $r;
@@ -1143,13 +1143,13 @@ function ct() {
1143
1143
  }, o = function(u, s) {
1144
1144
  return u && typeof u == "string" && s.comma && u.indexOf(",") > -1 ? u.split(",") : u;
1145
1145
  }, m = "utf8=%26%2310003%3B", l = "utf8=%E2%9C%93", p = function(s, i) {
1146
- var S = {}, f = i.ignoreQueryPrefix ? s.replace(/^\?/, "") : s, c = i.parameterLimit === 1 / 0 ? void 0 : i.parameterLimit, b = f.split(i.delimiter, c), v = -1, C, x = i.charset;
1146
+ var S = {}, f = i.ignoreQueryPrefix ? s.replace(/^\?/, "") : s, c = i.parameterLimit === 1 / 0 ? void 0 : i.parameterLimit, A = f.split(i.delimiter, c), b = -1, P, x = i.charset;
1147
1147
  if (i.charsetSentinel)
1148
- for (C = 0; C < b.length; ++C)
1149
- b[C].indexOf("utf8=") === 0 && (b[C] === l ? x = "utf-8" : b[C] === m && (x = "iso-8859-1"), v = C, C = b.length);
1150
- for (C = 0; C < b.length; ++C)
1151
- if (C !== v) {
1152
- var k = b[C], N = k.indexOf("]="), M = N === -1 ? k.indexOf("=") : N + 1, V, $;
1148
+ for (P = 0; P < A.length; ++P)
1149
+ A[P].indexOf("utf8=") === 0 && (A[P] === l ? x = "utf-8" : A[P] === m && (x = "iso-8859-1"), b = P, P = A.length);
1150
+ for (P = 0; P < A.length; ++P)
1151
+ if (P !== b) {
1152
+ var k = A[P], N = k.indexOf("]="), M = N === -1 ? k.indexOf("=") : N + 1, V, $;
1153
1153
  M === -1 ? (V = i.decoder(k, t.decoder, x, "key"), $ = i.strictNullHandling ? null : "") : (V = i.decoder(k.slice(0, M), t.decoder, x, "key"), $ = e.maybeMap(
1154
1154
  o(k.slice(M + 1), i),
1155
1155
  function(L) {
@@ -1160,33 +1160,33 @@ function ct() {
1160
1160
  return S;
1161
1161
  }, y = function(u, s, i, S) {
1162
1162
  for (var f = S ? s : o(s, i), c = u.length - 1; c >= 0; --c) {
1163
- var b, v = u[c];
1164
- if (v === "[]" && i.parseArrays)
1165
- b = [].concat(f);
1163
+ var A, b = u[c];
1164
+ if (b === "[]" && i.parseArrays)
1165
+ A = [].concat(f);
1166
1166
  else {
1167
- b = i.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1168
- var C = v.charAt(0) === "[" && v.charAt(v.length - 1) === "]" ? v.slice(1, -1) : v, x = parseInt(C, 10);
1169
- !i.parseArrays && C === "" ? b = { 0: f } : !isNaN(x) && v !== C && String(x) === C && x >= 0 && i.parseArrays && x <= i.arrayLimit ? (b = [], b[x] = f) : C !== "__proto__" && (b[C] = f);
1167
+ A = i.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1168
+ var P = b.charAt(0) === "[" && b.charAt(b.length - 1) === "]" ? b.slice(1, -1) : b, x = parseInt(P, 10);
1169
+ !i.parseArrays && P === "" ? A = { 0: f } : !isNaN(x) && b !== P && String(x) === P && x >= 0 && i.parseArrays && x <= i.arrayLimit ? (A = [], A[x] = f) : P !== "__proto__" && (A[P] = f);
1170
1170
  }
1171
- f = b;
1171
+ f = A;
1172
1172
  }
1173
1173
  return f;
1174
1174
  }, w = function(s, i, S, f) {
1175
1175
  if (s) {
1176
- var c = S.allowDots ? s.replace(/\.([^.[]+)/g, "[$1]") : s, b = /(\[[^[\]]*])/, v = /(\[[^[\]]*])/g, C = S.depth > 0 && b.exec(c), x = C ? c.slice(0, C.index) : c, k = [];
1176
+ var c = S.allowDots ? s.replace(/\.([^.[]+)/g, "[$1]") : s, A = /(\[[^[\]]*])/, b = /(\[[^[\]]*])/g, P = S.depth > 0 && A.exec(c), x = P ? c.slice(0, P.index) : c, k = [];
1177
1177
  if (x) {
1178
1178
  if (!S.plainObjects && r.call(Object.prototype, x) && !S.allowPrototypes)
1179
1179
  return;
1180
1180
  k.push(x);
1181
1181
  }
1182
- for (var N = 0; S.depth > 0 && (C = v.exec(c)) !== null && N < S.depth; ) {
1183
- if (N += 1, !S.plainObjects && r.call(Object.prototype, C[1].slice(1, -1)) && !S.allowPrototypes)
1182
+ for (var N = 0; S.depth > 0 && (P = b.exec(c)) !== null && N < S.depth; ) {
1183
+ if (N += 1, !S.plainObjects && r.call(Object.prototype, P[1].slice(1, -1)) && !S.allowPrototypes)
1184
1184
  return;
1185
- k.push(C[1]);
1185
+ k.push(P[1]);
1186
1186
  }
1187
- return C && k.push("[" + c.slice(C.index) + "]"), y(k, i, S, f);
1187
+ return P && k.push("[" + c.slice(P.index) + "]"), y(k, i, S, f);
1188
1188
  }
1189
- }, A = function(s) {
1189
+ }, v = function(s) {
1190
1190
  if (!s)
1191
1191
  return t;
1192
1192
  if (s.decoder !== null && s.decoder !== void 0 && typeof s.decoder != "function")
@@ -1215,12 +1215,12 @@ function ct() {
1215
1215
  };
1216
1216
  };
1217
1217
  return cr = function(u, s) {
1218
- var i = A(s);
1218
+ var i = v(s);
1219
1219
  if (u === "" || u === null || typeof u > "u")
1220
1220
  return i.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1221
- for (var S = typeof u == "string" ? p(u, i) : u, f = i.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, c = Object.keys(S), b = 0; b < c.length; ++b) {
1222
- var v = c[b], C = w(v, S[v], i, typeof u == "string");
1223
- f = e.merge(f, C, i);
1221
+ for (var S = typeof u == "string" ? p(u, i) : u, f = i.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, c = Object.keys(S), A = 0; A < c.length; ++A) {
1222
+ var b = c[A], P = w(b, S[b], i, typeof u == "string");
1223
+ f = e.merge(f, P, i);
1224
1224
  }
1225
1225
  return i.allowSparse === !0 ? f : e.compact(f);
1226
1226
  }, cr;
@@ -1237,11 +1237,11 @@ function lt() {
1237
1237
  }, lr;
1238
1238
  }
1239
1239
  var ft = lt();
1240
- const dt = /* @__PURE__ */ mr(ft), vr = "0.2.3", pt = Ee.CancelToken;
1240
+ const dt = /* @__PURE__ */ mr(ft), vr = "1.0.0", pt = Ae.CancelToken;
1241
1241
  var mt = function(e) {
1242
1242
  var r;
1243
1243
  typeof window < "u" && (r = e.cache.get("api"));
1244
- const a = Ee.defaults.adapter;
1244
+ const a = Ae.getAdapter(Ae.defaults.adapter);
1245
1245
  function t(p) {
1246
1246
  var y = [
1247
1247
  p.method,
@@ -1257,7 +1257,7 @@ var mt = function(e) {
1257
1257
  }
1258
1258
  const n = {}, m = l(function(p) {
1259
1259
  var y = t(p);
1260
- return n[y] || (n[y] = new Promise(function(w, A) {
1260
+ return n[y] || (n[y] = new Promise(function(w, v) {
1261
1261
  var u, s;
1262
1262
  switch (String(p.method).toLowerCase()) {
1263
1263
  case "post":
@@ -1267,48 +1267,50 @@ var mt = function(e) {
1267
1267
  p.cache || (p.cache = !1);
1268
1268
  break;
1269
1269
  }
1270
- return p.cache === !1 || (u = p.cache || r, u && (s = u.get(y))), s ? w(s) : (Object.assign(p, { adapter: a }), Ee.request(p).then(
1270
+ return p.cache === !1 || (u = p.cache || r, u && (s = u.get(y))), s ? w(s) : (Object.assign(p, { adapter: a }), Ae.request(p).then(
1271
1271
  function(i) {
1272
1272
  delete n[y], w(i);
1273
1273
  },
1274
1274
  function(i) {
1275
- delete n[y], A(i);
1275
+ delete n[y], v(i);
1276
1276
  }
1277
1277
  ));
1278
1278
  })), n[y];
1279
1279
  });
1280
1280
  m.generateEndpointURL = function(p, y, w) {
1281
1281
  w = w || {}, y = y || {};
1282
- var A;
1282
+ var v;
1283
1283
  const u = w.file && e.fileAPI || e.apiURL;
1284
- w.withoutToken || (delete y.access_token, A = e.auth.getCurrentToken()), p[0] == "/" && p.slice(1);
1284
+ w.withoutToken || (delete y.access_token, v = e.auth.getCurrentToken()), p[0] == "/" && p.slice(1);
1285
1285
  var s = e.utils.mapParameters(y);
1286
- A ? s = s ? `?access_token=${A}&${s}` : `?access_token=${A}` : s = s ? `?${s}` : "";
1286
+ v ? s = s ? `?access_token=${v}&${s}` : `?access_token=${v}` : s = s ? `?${s}` : "";
1287
1287
  var i = `${u}${p}${s}`;
1288
1288
  return i;
1289
1289
  }, m.wasCancelled = function(p) {
1290
- return Ee.isCancel(p);
1290
+ return Ae.isCancel(p);
1291
1291
  };
1292
1292
  function l(p) {
1293
- var y = Ee.create({
1294
- paramsSerializer: (A) => dt.stringify(A, { arrayFormat: "repeat" }),
1293
+ var y = Ae.create({
1294
+ paramsSerializer: {
1295
+ serialize: (v) => dt.stringify(v, { arrayFormat: "repeat" })
1296
+ },
1295
1297
  adapter: p
1296
1298
  });
1297
- y.defaults.baseURL = e.apiURL, y.defaults.headers.common.Accept = "application/json", y.interceptors.request.use(function(A) {
1298
- if (t(A), A.withoutToken)
1299
- return A;
1300
- if (A.headers["qik-request-date"] = (/* @__PURE__ */ new Date()).getTime(), Intl) {
1299
+ y.defaults.baseURL = e.apiURL, y.defaults.headers.common.Accept = "application/json", y.interceptors.request.use(function(v) {
1300
+ if (t(v), v.withoutToken)
1301
+ return v;
1302
+ if (v.headers["qik-request-date"] = (/* @__PURE__ */ new Date()).getTime(), Intl) {
1301
1303
  const s = Intl.DateTimeFormat().resolvedOptions().timeZone;
1302
- s && (A.headers["qik-request-timezone"] = s);
1304
+ s && (v.headers["qik-request-timezone"] = s);
1303
1305
  }
1304
- A.headers["qik-api-version"] = vr, e?.socket?.windowID && (A.headers["qik-socket-window"] = e.socket.windowID);
1306
+ v.headers["qik-api-version"] = vr, e?.socket?.windowID && (v.headers["qik-socket-window"] = e.socket.windowID);
1305
1307
  var u = e.auth.getCurrentToken();
1306
- return u && (A.headers.Authorization = `Bearer ${u}`, A.params && A.params.access_token && delete A.params.access_token), A;
1308
+ return u && (v.headers.Authorization = `Bearer ${u}`, v.params && v.params.access_token && delete v.params.access_token), v;
1307
1309
  });
1308
1310
  let w = 0;
1309
1311
  return y.interceptors.response.use(
1310
- function(A) {
1311
- var u = A.config, s = A.status;
1312
+ function(v) {
1313
+ var u = v.config, s = v.status;
1312
1314
  switch (s) {
1313
1315
  case 204:
1314
1316
  if (w < 5)
@@ -1320,12 +1322,12 @@ var mt = function(e) {
1320
1322
  console.log("Failed after 5 retries"), w = 0;
1321
1323
  break;
1322
1324
  }
1323
- return A;
1325
+ return v;
1324
1326
  },
1325
- function(A) {
1326
- if (Ee.isCancel(A))
1327
- return Promise.reject(A);
1328
- var u = A?.response?.status || A.status;
1327
+ function(v) {
1328
+ if (Ae.isCancel(v))
1329
+ return Promise.reject(v);
1330
+ var u = v?.response?.status || v.status;
1329
1331
  switch (u) {
1330
1332
  case 401:
1331
1333
  break;
@@ -1334,22 +1336,22 @@ var mt = function(e) {
1334
1336
  if (w < 5)
1335
1337
  return w++, new Promise(function(s, i) {
1336
1338
  setTimeout(function() {
1337
- return y.request(A.config).then(s, i);
1339
+ return y.request(v.config).then(s, i);
1338
1340
  }, 800);
1339
1341
  });
1340
1342
  console.log("Failed after 5 retries"), w = 0;
1341
1343
  break;
1342
1344
  }
1343
- return Promise.reject(A);
1345
+ return Promise.reject(v);
1344
1346
  }
1345
1347
  ), y;
1346
1348
  }
1347
- return m.CancelToken = pt, m.axios = Ee, m;
1349
+ return m.CancelToken = pt, m.axios = Ae, m;
1348
1350
  }, fr, Gr;
1349
1351
  function yt() {
1350
1352
  if (Gr) return fr;
1351
1353
  Gr = 1;
1352
- var e = "Expected a function", r = "__lodash_hash_undefined__", a = "[object Function]", t = "[object GeneratorFunction]", n = "[object Symbol]", o = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, m = /^\w*$/, l = /^\./, p = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, y = /[\\^$.*+?()[\]{}|]/g, w = /\\(\\)?/g, A = /^\[object .+?Constructor\]$/, u = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, s = typeof self == "object" && self && self.Object === Object && self, i = u || s || Function("return this")();
1354
+ var e = "Expected a function", r = "__lodash_hash_undefined__", a = "[object Function]", t = "[object GeneratorFunction]", n = "[object Symbol]", o = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, m = /^\w*$/, l = /^\./, p = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, y = /[\\^$.*+?()[\]{}|]/g, w = /\\(\\)?/g, v = /^\[object .+?Constructor\]$/, u = typeof be == "object" && be && be.Object === Object && be, s = typeof self == "object" && self && self.Object === Object && self, i = u || s || Function("return this")();
1353
1355
  function S(d, E) {
1354
1356
  return d?.[E];
1355
1357
  }
@@ -1362,45 +1364,45 @@ function yt() {
1362
1364
  }
1363
1365
  return E;
1364
1366
  }
1365
- var c = Array.prototype, b = Function.prototype, v = Object.prototype, C = i["__core-js_shared__"], x = (function() {
1366
- var d = /[^.]+$/.exec(C && C.keys && C.keys.IE_PROTO || "");
1367
+ var c = Array.prototype, A = Function.prototype, b = Object.prototype, P = i["__core-js_shared__"], x = (function() {
1368
+ var d = /[^.]+$/.exec(P && P.keys && P.keys.IE_PROTO || "");
1367
1369
  return d ? "Symbol(src)_1." + d : "";
1368
- })(), k = b.toString, N = v.hasOwnProperty, M = v.toString, V = RegExp(
1370
+ })(), k = A.toString, N = b.hasOwnProperty, M = b.toString, V = RegExp(
1369
1371
  "^" + k.call(N).replace(y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1370
- ), $ = i.Symbol, L = c.splice, F = Pe(i, "Map"), T = Pe(Object, "create"), R = $ ? $.prototype : void 0, U = R ? R.toString : void 0;
1372
+ ), $ = i.Symbol, L = c.splice, F = Pe(i, "Map"), R = Pe(Object, "create"), T = $ ? $.prototype : void 0, U = T ? T.toString : void 0;
1371
1373
  function z(d) {
1372
- var E = -1, P = d ? d.length : 0;
1373
- for (this.clear(); ++E < P; ) {
1374
+ var E = -1, C = d ? d.length : 0;
1375
+ for (this.clear(); ++E < C; ) {
1374
1376
  var G = d[E];
1375
1377
  this.set(G[0], G[1]);
1376
1378
  }
1377
1379
  }
1378
1380
  function _() {
1379
- this.__data__ = T ? T(null) : {};
1381
+ this.__data__ = R ? R(null) : {};
1380
1382
  }
1381
1383
  function Z(d) {
1382
1384
  return this.has(d) && delete this.__data__[d];
1383
1385
  }
1384
1386
  function Q(d) {
1385
1387
  var E = this.__data__;
1386
- if (T) {
1387
- var P = E[d];
1388
- return P === r ? void 0 : P;
1388
+ if (R) {
1389
+ var C = E[d];
1390
+ return C === r ? void 0 : C;
1389
1391
  }
1390
1392
  return N.call(E, d) ? E[d] : void 0;
1391
1393
  }
1392
1394
  function ne(d) {
1393
1395
  var E = this.__data__;
1394
- return T ? E[d] !== void 0 : N.call(E, d);
1396
+ return R ? E[d] !== void 0 : N.call(E, d);
1395
1397
  }
1396
1398
  function X(d, E) {
1397
- var P = this.__data__;
1398
- return P[d] = T && E === void 0 ? r : E, this;
1399
+ var C = this.__data__;
1400
+ return C[d] = R && E === void 0 ? r : E, this;
1399
1401
  }
1400
1402
  z.prototype.clear = _, z.prototype.delete = Z, z.prototype.get = Q, z.prototype.has = ne, z.prototype.set = X;
1401
1403
  function W(d) {
1402
- var E = -1, P = d ? d.length : 0;
1403
- for (this.clear(); ++E < P; ) {
1404
+ var E = -1, C = d ? d.length : 0;
1405
+ for (this.clear(); ++E < C; ) {
1404
1406
  var G = d[E];
1405
1407
  this.set(G[0], G[1]);
1406
1408
  }
@@ -1409,27 +1411,27 @@ function yt() {
1409
1411
  this.__data__ = [];
1410
1412
  }
1411
1413
  function re(d) {
1412
- var E = this.__data__, P = J(E, d);
1413
- if (P < 0)
1414
+ var E = this.__data__, C = J(E, d);
1415
+ if (C < 0)
1414
1416
  return !1;
1415
1417
  var G = E.length - 1;
1416
- return P == G ? E.pop() : L.call(E, P, 1), !0;
1418
+ return C == G ? E.pop() : L.call(E, C, 1), !0;
1417
1419
  }
1418
1420
  function te(d) {
1419
- var E = this.__data__, P = J(E, d);
1420
- return P < 0 ? void 0 : E[P][1];
1421
+ var E = this.__data__, C = J(E, d);
1422
+ return C < 0 ? void 0 : E[C][1];
1421
1423
  }
1422
1424
  function ce(d) {
1423
1425
  return J(this.__data__, d) > -1;
1424
1426
  }
1425
1427
  function ue(d, E) {
1426
- var P = this.__data__, G = J(P, d);
1427
- return G < 0 ? P.push([d, E]) : P[G][1] = E, this;
1428
+ var C = this.__data__, G = J(C, d);
1429
+ return G < 0 ? C.push([d, E]) : C[G][1] = E, this;
1428
1430
  }
1429
1431
  W.prototype.clear = ie, W.prototype.delete = re, W.prototype.get = te, W.prototype.has = ce, W.prototype.set = ue;
1430
1432
  function oe(d) {
1431
- var E = -1, P = d ? d.length : 0;
1432
- for (this.clear(); ++E < P; ) {
1433
+ var E = -1, C = d ? d.length : 0;
1434
+ for (this.clear(); ++E < C; ) {
1433
1435
  var G = d[E];
1434
1436
  this.set(G[0], G[1]);
1435
1437
  }
@@ -1450,26 +1452,26 @@ function yt() {
1450
1452
  function ye(d) {
1451
1453
  return me(this, d).has(d);
1452
1454
  }
1453
- function be(d, E) {
1455
+ function Se(d, E) {
1454
1456
  return me(this, d).set(d, E), this;
1455
1457
  }
1456
- oe.prototype.clear = de, oe.prototype.delete = pe, oe.prototype.get = se, oe.prototype.has = ye, oe.prototype.set = be;
1458
+ oe.prototype.clear = de, oe.prototype.delete = pe, oe.prototype.get = se, oe.prototype.has = ye, oe.prototype.set = Se;
1457
1459
  function J(d, E) {
1458
- for (var P = d.length; P--; )
1459
- if (Se(d[P][0], E))
1460
- return P;
1460
+ for (var C = d.length; C--; )
1461
+ if (we(d[C][0], E))
1462
+ return C;
1461
1463
  return -1;
1462
1464
  }
1463
1465
  function ee(d, E) {
1464
- E = Te(E, d) ? [E] : ke(E);
1465
- for (var P = 0, G = E.length; d != null && P < G; )
1466
- d = d[Ne(E[P++])];
1467
- return P && P == G ? d : void 0;
1466
+ E = Re(E, d) ? [E] : ke(E);
1467
+ for (var C = 0, G = E.length; d != null && C < G; )
1468
+ d = d[Ne(E[C++])];
1469
+ return C && C == G ? d : void 0;
1468
1470
  }
1469
1471
  function Ie(d) {
1470
1472
  if (!he(d) || _e(d))
1471
1473
  return !1;
1472
- var E = Le(d) || f(d) ? V : A;
1474
+ var E = Le(d) || f(d) ? V : v;
1473
1475
  return E.test(le(d));
1474
1476
  }
1475
1477
  function xe(d) {
@@ -1484,20 +1486,20 @@ function yt() {
1484
1486
  return Oe(d) ? d : Ce(d);
1485
1487
  }
1486
1488
  function me(d, E) {
1487
- var P = d.__data__;
1488
- return Re(E) ? P[typeof E == "string" ? "string" : "hash"] : P.map;
1489
+ var C = d.__data__;
1490
+ return Te(E) ? C[typeof E == "string" ? "string" : "hash"] : C.map;
1489
1491
  }
1490
1492
  function Pe(d, E) {
1491
- var P = S(d, E);
1492
- return Ie(P) ? P : void 0;
1493
+ var C = S(d, E);
1494
+ return Ie(C) ? C : void 0;
1493
1495
  }
1494
- function Te(d, E) {
1496
+ function Re(d, E) {
1495
1497
  if (Oe(d))
1496
1498
  return !1;
1497
- var P = typeof d;
1498
- return P == "number" || P == "symbol" || P == "boolean" || d == null || h(d) ? !0 : m.test(d) || !o.test(d) || E != null && d in Object(E);
1499
+ var C = typeof d;
1500
+ return C == "number" || C == "symbol" || C == "boolean" || d == null || h(d) ? !0 : m.test(d) || !o.test(d) || E != null && d in Object(E);
1499
1501
  }
1500
- function Re(d) {
1502
+ function Te(d) {
1501
1503
  var E = typeof d;
1502
1504
  return E == "string" || E == "number" || E == "symbol" || E == "boolean" ? d !== "__proto__" : d === null;
1503
1505
  }
@@ -1507,8 +1509,8 @@ function yt() {
1507
1509
  var Ce = fe(function(d) {
1508
1510
  d = g(d);
1509
1511
  var E = [];
1510
- return l.test(d) && E.push(""), d.replace(p, function(P, G, ae, K) {
1511
- E.push(ae ? K.replace(w, "$1") : G || P);
1512
+ return l.test(d) && E.push(""), d.replace(p, function(C, G, ae, K) {
1513
+ E.push(ae ? K.replace(w, "$1") : G || C);
1512
1514
  }), E;
1513
1515
  });
1514
1516
  function Ne(d) {
@@ -1533,17 +1535,17 @@ function yt() {
1533
1535
  function fe(d, E) {
1534
1536
  if (typeof d != "function" || E && typeof E != "function")
1535
1537
  throw new TypeError(e);
1536
- var P = function() {
1537
- var G = arguments, ae = E ? E.apply(this, G) : G[0], K = P.cache;
1538
+ var C = function() {
1539
+ var G = arguments, ae = E ? E.apply(this, G) : G[0], K = C.cache;
1538
1540
  if (K.has(ae))
1539
1541
  return K.get(ae);
1540
1542
  var O = d.apply(this, G);
1541
- return P.cache = K.set(ae, O), O;
1543
+ return C.cache = K.set(ae, O), O;
1542
1544
  };
1543
- return P.cache = new (fe.Cache || oe)(), P;
1545
+ return C.cache = new (fe.Cache || oe)(), C;
1544
1546
  }
1545
1547
  fe.Cache = oe;
1546
- function Se(d, E) {
1548
+ function we(d, E) {
1547
1549
  return d === E || d !== d && E !== E;
1548
1550
  }
1549
1551
  var Oe = Array.isArray;
@@ -1564,9 +1566,9 @@ function yt() {
1564
1566
  function g(d) {
1565
1567
  return d == null ? "" : xe(d);
1566
1568
  }
1567
- function D(d, E, P) {
1569
+ function D(d, E, C) {
1568
1570
  var G = d == null ? void 0 : ee(d, E);
1569
- return G === void 0 ? P : G;
1571
+ return G === void 0 ? C : G;
1570
1572
  }
1571
1573
  return fr = D, fr;
1572
1574
  }
@@ -1576,14 +1578,14 @@ var dr, Dr;
1576
1578
  function gt() {
1577
1579
  if (Dr) return dr;
1578
1580
  Dr = 1;
1579
- var e = "[object Symbol]", r = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, t = "\\ud800-\\udfff", n = "\\u0300-\\u036f\\ufe20-\\ufe23", o = "\\u20d0-\\u20f0", m = "\\u2700-\\u27bf", l = "a-z\\xdf-\\xf6\\xf8-\\xff", p = "\\xac\\xb1\\xd7\\xf7", y = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", w = "\\u2000-\\u206f", A = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", s = "\\ufe0e\\ufe0f", i = p + y + w + A, S = "['’]", f = "[" + t + "]", c = "[" + i + "]", b = "[" + n + o + "]", v = "\\d+", C = "[" + m + "]", x = "[" + l + "]", k = "[^" + t + i + v + m + l + u + "]", N = "\\ud83c[\\udffb-\\udfff]", M = "(?:" + b + "|" + N + ")", V = "[^" + t + "]", $ = "(?:\\ud83c[\\udde6-\\uddff]){2}", L = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + u + "]", T = "\\u200d", R = "(?:" + x + "|" + k + ")", U = "(?:" + F + "|" + k + ")", z = "(?:" + S + "(?:d|ll|m|re|s|t|ve))?", _ = "(?:" + S + "(?:D|LL|M|RE|S|T|VE))?", Z = M + "?", Q = "[" + s + "]?", ne = "(?:" + T + "(?:" + [V, $, L].join("|") + ")" + Q + Z + ")*", X = Q + Z + ne, W = "(?:" + [C, $, L].join("|") + ")" + X, ie = "(?:" + [V + b + "?", b, $, L, f].join("|") + ")", re = RegExp(S, "g"), te = RegExp(b, "g"), ce = RegExp(N + "(?=" + N + ")|" + ie + X, "g"), ue = RegExp([
1581
+ var e = "[object Symbol]", r = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, t = "\\ud800-\\udfff", n = "\\u0300-\\u036f\\ufe20-\\ufe23", o = "\\u20d0-\\u20f0", m = "\\u2700-\\u27bf", l = "a-z\\xdf-\\xf6\\xf8-\\xff", p = "\\xac\\xb1\\xd7\\xf7", y = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", w = "\\u2000-\\u206f", v = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", s = "\\ufe0e\\ufe0f", i = p + y + w + v, S = "['’]", f = "[" + t + "]", c = "[" + i + "]", A = "[" + n + o + "]", b = "\\d+", P = "[" + m + "]", x = "[" + l + "]", k = "[^" + t + i + b + m + l + u + "]", N = "\\ud83c[\\udffb-\\udfff]", M = "(?:" + A + "|" + N + ")", V = "[^" + t + "]", $ = "(?:\\ud83c[\\udde6-\\uddff]){2}", L = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + u + "]", R = "\\u200d", T = "(?:" + x + "|" + k + ")", U = "(?:" + F + "|" + k + ")", z = "(?:" + S + "(?:d|ll|m|re|s|t|ve))?", _ = "(?:" + S + "(?:D|LL|M|RE|S|T|VE))?", Z = M + "?", Q = "[" + s + "]?", ne = "(?:" + R + "(?:" + [V, $, L].join("|") + ")" + Q + Z + ")*", X = Q + Z + ne, W = "(?:" + [P, $, L].join("|") + ")" + X, ie = "(?:" + [V + A + "?", A, $, L, f].join("|") + ")", re = RegExp(S, "g"), te = RegExp(A, "g"), ce = RegExp(N + "(?=" + N + ")|" + ie + X, "g"), ue = RegExp([
1580
1582
  F + "?" + x + "+" + z + "(?=" + [c, F, "$"].join("|") + ")",
1581
- U + "+" + _ + "(?=" + [c, F + R, "$"].join("|") + ")",
1582
- F + "?" + R + "+" + z,
1583
+ U + "+" + _ + "(?=" + [c, F + T, "$"].join("|") + ")",
1584
+ F + "?" + T + "+" + z,
1583
1585
  F + "+" + _,
1584
- v,
1586
+ b,
1585
1587
  W
1586
- ].join("|"), "g"), oe = RegExp("[" + T + t + n + o + s + "]"), de = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, pe = {
1588
+ ].join("|"), "g"), oe = RegExp("[" + R + t + n + o + s + "]"), de = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, pe = {
1587
1589
  // Latin-1 Supplement block.
1588
1590
  À: "A",
1589
1591
  Á: "A",
@@ -1776,9 +1778,9 @@ function gt() {
1776
1778
  œ: "oe",
1777
1779
  ʼn: "'n",
1778
1780
  ſ: "ss"
1779
- }, se = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, ye = typeof self == "object" && self && self.Object === Object && self, be = se || ye || Function("return this")();
1781
+ }, se = typeof be == "object" && be && be.Object === Object && be, ye = typeof self == "object" && self && self.Object === Object && self, Se = se || ye || Function("return this")();
1780
1782
  function J(O, B, j, H) {
1781
- for (var Y = -1, we = O ? O.length : 0; ++Y < we; )
1783
+ for (var Y = -1, Ee = O ? O.length : 0; ++Y < Ee; )
1782
1784
  j = B(j, O[Y], Y, O);
1783
1785
  return j;
1784
1786
  }
@@ -1800,28 +1802,28 @@ function gt() {
1800
1802
  function Pe(O) {
1801
1803
  return de.test(O);
1802
1804
  }
1803
- function Te(O) {
1804
- return me(O) ? Re(O) : ee(O);
1805
- }
1806
1805
  function Re(O) {
1806
+ return me(O) ? Te(O) : ee(O);
1807
+ }
1808
+ function Te(O) {
1807
1809
  return O.match(ce) || [];
1808
1810
  }
1809
1811
  function _e(O) {
1810
1812
  return O.match(ue) || [];
1811
1813
  }
1812
- var Ce = Object.prototype, Ne = Ce.toString, le = be.Symbol, fe = le ? le.prototype : void 0, Se = fe ? fe.toString : void 0;
1814
+ var Ce = Object.prototype, Ne = Ce.toString, le = Se.Symbol, fe = le ? le.prototype : void 0, we = fe ? fe.toString : void 0;
1813
1815
  function Oe(O, B, j) {
1814
1816
  var H = -1, Y = O.length;
1815
1817
  B < 0 && (B = -B > Y ? 0 : Y + B), j = j > Y ? Y : j, j < 0 && (j += Y), Y = B > j ? 0 : j - B >>> 0, B >>>= 0;
1816
- for (var we = Array(Y); ++H < Y; )
1817
- we[H] = O[H + B];
1818
- return we;
1818
+ for (var Ee = Array(Y); ++H < Y; )
1819
+ Ee[H] = O[H + B];
1820
+ return Ee;
1819
1821
  }
1820
1822
  function Le(O) {
1821
1823
  if (typeof O == "string")
1822
1824
  return O;
1823
1825
  if (D(O))
1824
- return Se ? Se.call(O) : "";
1826
+ return we ? we.call(O) : "";
1825
1827
  var B = O + "";
1826
1828
  return B == "0" && 1 / O == -1 / 0 ? "-0" : B;
1827
1829
  }
@@ -1832,7 +1834,7 @@ function gt() {
1832
1834
  function ge(O) {
1833
1835
  return function(B) {
1834
1836
  B = d(B);
1835
- var j = me(B) ? Te(B) : void 0, H = j ? j[0] : B.charAt(0), Y = j ? he(j, 1).join("") : B.slice(1);
1837
+ var j = me(B) ? Re(B) : void 0, H = j ? j[0] : B.charAt(0), Y = j ? he(j, 1).join("") : B.slice(1);
1836
1838
  return H[O]() + Y;
1837
1839
  };
1838
1840
  }
@@ -1851,9 +1853,9 @@ function gt() {
1851
1853
  return O == null ? "" : Le(O);
1852
1854
  }
1853
1855
  var E = h(function(O, B, j) {
1854
- return B = B.toLowerCase(), O + (j ? P(B) : B);
1856
+ return B = B.toLowerCase(), O + (j ? C(B) : B);
1855
1857
  });
1856
- function P(O) {
1858
+ function C(O) {
1857
1859
  return ae(d(O).toLowerCase());
1858
1860
  }
1859
1861
  function G(O) {
@@ -2187,18 +2189,18 @@ I.mapFields = function(e, r) {
2187
2189
  var a = [], t = [], n = [], o = 1, m = r.depth, l = r.arrayDelimeter || "[]";
2188
2190
  e.forEach(p);
2189
2191
  function p(y, w) {
2190
- var A = y.key, u = y.type == "group", s = y.minimum === y.maximum && y.minimum === 1, i = y.asObject, S = u && !i, f = r.original ? y : I.clone(y);
2191
- f.trail = t.slice(), f.trail.push(A), f.path = f.trail.join("."), f.titles = n.slice(), f.titles.push(y.filterTitle || y.title || ""), (!S || r.includeLayout) && a.push(f);
2192
- var b = m && o >= m;
2192
+ var v = y.key, u = y.type == "group", s = y.minimum === y.maximum && y.minimum === 1, i = y.asObject, S = u && !i, f = r.original ? y : I.clone(y);
2193
+ f.trail = t.slice(), f.trail.push(v), f.path = f.trail.join("."), f.titles = n.slice(), f.titles.push(y.filterTitle || y.title || ""), (!S || r.includeLayout) && a.push(f);
2194
+ var A = m && o >= m;
2193
2195
  if (y.fields && y.fields.length)
2194
2196
  if (S)
2195
2197
  y.fields.forEach(p);
2196
2198
  else {
2197
- if (b)
2199
+ if (A)
2198
2200
  return;
2199
2201
  o++;
2200
- let v = A;
2201
- r.includeArrayDelimeter && (s || (v = `${A}${l}`)), t.push(v), n.push(y.filterTitle || y.title), y.fields.forEach(p), o--, t.pop(), n.pop();
2202
+ let b = v;
2203
+ r.includeArrayDelimeter && (s || (b = `${v}${l}`)), t.push(b), n.push(y.filterTitle || y.title), y.fields.forEach(p), o--, t.pop(), n.pop();
2202
2204
  }
2203
2205
  }
2204
2206
  return a;
@@ -2316,8 +2318,8 @@ I.hash = function(e, r) {
2316
2318
  I.extractFromArray = function(e, r, a, t, n, o, m) {
2317
2319
  m = m || {}, a && (m.sum = a), t && (m.flatten = !0), n && (m.unique = !0), o && (m.excludeNull = !0);
2318
2320
  var l = e.reduce(function(p, y) {
2319
- var w = je(y, r), A = !w && w !== !1 && w !== 0;
2320
- return m.excludeNull && A || p.push(w), p;
2321
+ var w = je(y, r), v = !w && w !== !1 && w !== 0;
2322
+ return m.excludeNull && v || p.push(w), p;
2321
2323
  }, []);
2322
2324
  return m.flatten && (l = l.flat()), m.unique && (l = [...new Set(l)]), m.sum && (l = l.reduce(function(p, y) {
2323
2325
  return p + y;
@@ -2645,26 +2647,26 @@ var Pt = function(e) {
2645
2647
  }, t.changeOrganisation = function(l, p) {
2646
2648
  l = e.utils.id(l), p || (p = {});
2647
2649
  var y = !0;
2648
- return p.disableAutoAuthentication && (y = !1), new Promise(function(w, A) {
2650
+ return p.disableAutoAuthentication && (y = !1), new Promise(function(w, v) {
2649
2651
  e.api.post(`/user/switch/${l}`).then(function(u) {
2650
2652
  y && (e.cache.reset(), t.set(u.data)), w(u.data);
2651
- }).catch(A);
2653
+ }).catch(v);
2652
2654
  });
2653
2655
  }, t.impersonate = function(l, p) {
2654
2656
  l = e.utils.id(l), p || (p = {});
2655
2657
  var y = !0;
2656
2658
  p.disableAutoAuthentication && (y = !1);
2657
2659
  var w = e.api.post(`/user/impersonate/${l}`);
2658
- return w.then(function(A) {
2659
- y && (e.cache.reset(), t.set(A.data));
2660
- }, function(A) {
2660
+ return w.then(function(v) {
2661
+ y && (e.cache.reset(), t.set(v.data));
2662
+ }, function(v) {
2661
2663
  }), w;
2662
2664
  }, t.login = async function(l, p) {
2663
2665
  p || (p = {});
2664
2666
  var y = !0;
2665
2667
  p.disableAutoAuthentication && (y = !1);
2666
- var w = new Promise(A);
2667
- function A(u, s) {
2668
+ var w = new Promise(v);
2669
+ function v(u, s) {
2668
2670
  if (!l)
2669
2671
  return s({
2670
2672
  message: "Login requires an email and password"
@@ -2691,8 +2693,8 @@ var Pt = function(e) {
2691
2693
  p || (p = {});
2692
2694
  var y = !0;
2693
2695
  p.disableAutoAuthentication && (y = !1);
2694
- var w = new Promise(A);
2695
- function A(u, s) {
2696
+ var w = new Promise(v);
2697
+ function v(u, s) {
2696
2698
  if (!l)
2697
2699
  return s({
2698
2700
  message: "Signup details are required"
@@ -2736,30 +2738,30 @@ var Pt = function(e) {
2736
2738
  var y = {
2737
2739
  bypassInterceptor: !0
2738
2740
  };
2739
- return new Promise(function(w, A) {
2741
+ return new Promise(function(w, v) {
2740
2742
  e.api.get(p.url || `${e.apiURL}/user/reset/${l}`, y).then(function(u) {
2741
2743
  return w(u.data);
2742
- }, A);
2744
+ }, v);
2743
2745
  });
2744
2746
  }, t.updateUserWithToken = async function(l, p, y) {
2745
2747
  y || (y = {});
2746
2748
  var w = !0;
2747
- return y.disableAutoAuthentication && (w = !1), new Promise(function(A, u) {
2749
+ return y.disableAutoAuthentication && (w = !1), new Promise(function(v, u) {
2748
2750
  var s = {
2749
2751
  bypassInterceptor: !0
2750
2752
  };
2751
2753
  e.api.post(y.url || `${e.apiURL}/user/reset/${l}`, p, s).then(function(i) {
2752
- return w && (e.cache.reset(), t.set(i.data)), A(i.data);
2754
+ return w && (e.cache.reset(), t.set(i.data)), v(i.data);
2753
2755
  }, u);
2754
2756
  });
2755
2757
  }, t.sendResetPasswordRequest = function(l, p) {
2756
2758
  return p || (p = {}), l ? !l.email || !l.email.length ? Promise.reject({
2757
2759
  message: "An email address is required for password reset"
2758
2760
  }) : new Promise(function(y, w) {
2759
- var A = {
2761
+ var v = {
2760
2762
  bypassInterceptor: !0
2761
2763
  };
2762
- e.api.post(p.url || `${e.apiURL}/user/forgot`, l, A).then(y, w);
2764
+ e.api.post(p.url || `${e.apiURL}/user/forgot`, l, v).then(y, w);
2763
2765
  }) : Promise.reject({
2764
2766
  message: "Please provide your account details to reset your password"
2765
2767
  });
@@ -2772,10 +2774,10 @@ var Pt = function(e) {
2772
2774
  var { token: w } = p;
2773
2775
  if (!w)
2774
2776
  return Promise.reject("No token");
2775
- var A = /* @__PURE__ */ new Date();
2776
- A.setSeconds(A.getSeconds() + a);
2777
+ var v = /* @__PURE__ */ new Date();
2778
+ v.setSeconds(v.getSeconds() + a);
2777
2779
  var u = new Date(w.expires);
2778
- return l ? await t.refreshAccessToken(w.refreshToken) : A < u ? w : await t.refreshAccessToken(w.refreshToken);
2780
+ return l ? await t.refreshAccessToken(w.refreshToken) : v < u ? w : await t.refreshAccessToken(w.refreshToken);
2779
2781
  };
2780
2782
  const m = {};
2781
2783
  return t.refreshAccessToken = async function(l) {
@@ -2783,7 +2785,7 @@ var Pt = function(e) {
2783
2785
  return m.inflightRefreshRequest;
2784
2786
  const p = r.isCookieMode && r.isCookieMode();
2785
2787
  return m.inflightRefreshRequest = new Promise(function(y, w) {
2786
- let A = {}, u = {
2788
+ let v = {}, u = {
2787
2789
  bypassInterceptor: !0,
2788
2790
  withoutToken: !0
2789
2791
  };
@@ -2792,9 +2794,9 @@ var Pt = function(e) {
2792
2794
  else {
2793
2795
  if (!l)
2794
2796
  return m.inflightRefreshRequest = null, w(new Error("No refresh token provided for localStorage mode"));
2795
- A.refreshToken = l;
2797
+ v.refreshToken = l;
2796
2798
  }
2797
- e.api.post("/user/refresh", A, u).then(function(i) {
2799
+ e.api.post("/user/refresh", v, u).then(function(i) {
2798
2800
  if (!i || !i.data)
2799
2801
  return m.inflightRefreshRequest = null, w(new Error("Invalid refresh response"));
2800
2802
  if (t.set(i.data), o(), p)
@@ -2846,13 +2848,13 @@ var Pt = function(e) {
2846
2848
  var p = l;
2847
2849
  if (r.isCookieMode && r.isCookieMode())
2848
2850
  return p.withCredentials || (p.withCredentials = !0), p;
2849
- var w = t.getCurrentUser(), A, u, s;
2851
+ var w = t.getCurrentUser(), v, u, s;
2850
2852
  if (w) {
2851
2853
  var { token: i } = w;
2852
- i && (A = i.accessToken, u = i.refreshToken, s = i.expires);
2854
+ i && (v = i.accessToken, u = i.refreshToken, s = i.expires);
2853
2855
  }
2854
- if (A)
2855
- p.headers.Authorization = `Bearer ${A}`;
2856
+ if (v)
2857
+ p.headers.Authorization = `Bearer ${v}`;
2856
2858
  else
2857
2859
  return p;
2858
2860
  if (!u)
@@ -2860,11 +2862,11 @@ var Pt = function(e) {
2860
2862
  var S = /* @__PURE__ */ new Date();
2861
2863
  S.setSeconds(S.getSeconds() + a);
2862
2864
  var f = new Date(s);
2863
- return S < f ? p : new Promise(async function(c, b) {
2864
- await t.refreshAccessToken(u).then(function(v) {
2865
- return p.headers.Authorization = `Bearer ${v}`, c(p);
2866
- }).catch(function(v) {
2867
- return b(v);
2865
+ return S < f ? p : new Promise(async function(c, A) {
2866
+ await t.refreshAccessToken(u).then(function(b) {
2867
+ return p.headers.Authorization = `Bearer ${b}`, c(p);
2868
+ }).catch(function(b) {
2869
+ return A(b);
2868
2870
  });
2869
2871
  });
2870
2872
  },
@@ -3139,8 +3141,8 @@ var Ue = {}, Ot = {
3139
3141
  var p = r.hashPermissions(a), y = n || o;
3140
3142
  if (!y)
3141
3143
  return l;
3142
- let w = n ? p[`${n}.${t}`] || [] : [], A = o ? p[`${o}.${t}`] || [] : [];
3143
- l = [...w, ...A];
3144
+ let w = n ? p[`${n}.${t}`] || [] : [], v = o ? p[`${o}.${t}`] || [] : [];
3145
+ l = [...w, ...v];
3144
3146
  }
3145
3147
  return l || [];
3146
3148
  }, r.isOwner = function(a, t) {
@@ -3150,10 +3152,10 @@ var Ue = {}, Ot = {
3150
3152
  var l = m.userOwners || [], p = e.utils.ids([...l, m.userAuthor]), y = e.utils.hash(p);
3151
3153
  if (y[n])
3152
3154
  return !0;
3153
- var w = m.personaOwners || [], A = e.utils.ids([
3155
+ var w = m.personaOwners || [], v = e.utils.ids([
3154
3156
  ...w,
3155
3157
  m.personaAuthor
3156
- ]), u = e.utils.hash(A);
3158
+ ]), u = e.utils.hash(v);
3157
3159
  return u[o] ? !0 : r.isAssignee(a, t);
3158
3160
  }, r.isAssignee = function(a, t) {
3159
3161
  const n = e.utils.ids(a?.profiles);
@@ -3184,36 +3186,45 @@ var Ue = {}, Ot = {
3184
3186
  var l = t.meta?.type, p = t.meta?.definition || l;
3185
3187
  if (!p)
3186
3188
  return !1;
3187
- var y = e.utils.ids(t.meta.scopes || []), w, A = `access-${a?.cacheKey}-${n}-${p}-${l}`;
3188
- if (m.cache[A])
3189
- w = m.cache[A];
3189
+ if ((n == "listany" || o == "listown") && l === "scope") {
3190
+ var y = e.utils.id(t);
3191
+ return !!a.permissions[y];
3192
+ }
3193
+ var w = e.utils.ids(t.meta.scopes || []);
3194
+ l === "scope" && (w = [
3195
+ ...e.utils.ids(t.path || []),
3196
+ e.utils.id(t)
3197
+ ]);
3198
+ var v, u = `access-${a?.cacheKey}-${n}-${p}-${l}`;
3199
+ if (m.cache[u])
3200
+ v = m.cache[u];
3190
3201
  else {
3191
- var u = e.utils.ids(
3202
+ var s = e.utils.ids(
3192
3203
  r.actionableScopes(a, n, p, l, m)
3193
3204
  );
3194
- w = e.utils.hash(u), m.cache[A] = w;
3205
+ v = e.utils.hash(s), m.cache[u] = v;
3195
3206
  }
3196
- if (w) {
3197
- var s = y.some(function(v) {
3198
- return w[v];
3207
+ if (v) {
3208
+ var i = w.some(function(P) {
3209
+ return v[P];
3199
3210
  });
3200
- if (s)
3211
+ if (i)
3201
3212
  return !0;
3202
3213
  }
3203
- var i = r.isOwner(a, t);
3204
- if (i) {
3205
- var S, f = `access-${a?.cacheKey}-${o}-${p}-${l}`;
3206
- if (m.cache[f])
3207
- S = m.cache[f];
3214
+ var S = r.isOwner(a, t);
3215
+ if (S) {
3216
+ var f, c = `access-${a?.cacheKey}-${o}-${p}-${l}`;
3217
+ if (m.cache[c])
3218
+ f = m.cache[c];
3208
3219
  else {
3209
- var c = e.utils.ids(
3220
+ var A = e.utils.ids(
3210
3221
  r.actionableScopes(a, o, p, l, m)
3211
3222
  );
3212
- S = e.utils.hash(c), m.cache[f] = S;
3223
+ f = e.utils.hash(A), m.cache[c] = f;
3213
3224
  }
3214
- if (S) {
3215
- var b = y.some(function(v) {
3216
- return S[v];
3225
+ if (f) {
3226
+ var b = w.some(function(P) {
3227
+ return f[P];
3217
3228
  });
3218
3229
  if (b)
3219
3230
  return !0;
@@ -3329,22 +3340,22 @@ function It(e) {
3329
3340
  });
3330
3341
  }
3331
3342
  async function l({ _s: u, _k: s, types: i }) {
3332
- function S(b) {
3333
- if (typeof b == "string" && b[0] === "~")
3334
- return u[parseInt(b.slice(1))];
3335
- if (Array.isArray(b)) return b.map(S);
3336
- if (b && typeof b == "object") {
3337
- const v = {};
3338
- for (const [C, x] of Object.entries(b))
3339
- v[s[C] || C] = S(x);
3340
- return v;
3343
+ function S(A) {
3344
+ if (typeof A == "string" && A[0] === "~")
3345
+ return u[parseInt(A.slice(1))];
3346
+ if (Array.isArray(A)) return A.map(S);
3347
+ if (A && typeof A == "object") {
3348
+ const b = {};
3349
+ for (const [P, x] of Object.entries(A))
3350
+ b[s[P] || P] = S(x);
3351
+ return b;
3341
3352
  }
3342
- return b;
3353
+ return A;
3343
3354
  }
3344
3355
  const f = 50, c = [];
3345
- for (let b = 0; b < i.length; b += f) {
3346
- const v = i.slice(b, b + f);
3347
- c.push(...v.map(S)), b + f < i.length && await m();
3356
+ for (let A = 0; A < i.length; A += f) {
3357
+ const b = i.slice(A, A + f);
3358
+ c.push(...b.map(S)), A + f < i.length && await m();
3348
3359
  }
3349
3360
  return c;
3350
3361
  }
@@ -3358,11 +3369,11 @@ function It(e) {
3358
3369
  o = null, r.loadingGlossary = !1;
3359
3370
  };
3360
3371
  r.loadingGlossary = !0;
3361
- const C = S ? "/glossary/compressed" : "/glossary";
3362
- o = e.api.get(C, { cache: !1 }), o.then(x, x);
3372
+ const P = S ? "/glossary/compressed" : "/glossary";
3373
+ o = e.api.get(P, { cache: !1 }), o.then(x, x);
3363
3374
  }
3364
- const { data: b } = await o, v = b._s && b._k && b.types ? await l(b) : b;
3365
- n.set("glossary", v), s = v, e.dispatch("glossary", v);
3375
+ const { data: A } = await o, b = A._s && A._k && A.types ? await l(A) : A;
3376
+ n.set("glossary", b), s = b, e.dispatch("glossary", b);
3366
3377
  }
3367
3378
  if (u.hash) {
3368
3379
  var c = e.utils.hash(s, "key");
@@ -3411,7 +3422,7 @@ function It(e) {
3411
3422
  }
3412
3423
  return w.data;
3413
3424
  };
3414
- function A(u) {
3425
+ function v(u) {
3415
3426
  var { minimum: s, maximum: i } = u;
3416
3427
  return s = e.utils.parseInt(s), s = Math.max(s, 0), i = e.utils.parseInt(i), i = Math.max(i, 0), i == 0 || (i = Math.max(i, s)), { minimum: s, maximum: i };
3417
3428
  }
@@ -3438,7 +3449,7 @@ function It(e) {
3438
3449
  }
3439
3450
  }, r.validateField = function(u, s, i) {
3440
3451
  i = i || {};
3441
- var S = s.type || "string", { minimum: f, maximum: c } = A(s), b = s.type == "group" && s.asObject, v = b ? f === c && c === 1 : c === 1, C = !v, x = e.utils.exists(u);
3452
+ var S = s.type || "string", { minimum: f, maximum: c } = v(s), A = s.type == "group" && s.asObject, b = A ? f === c && c === 1 : c === 1, P = !b, x = e.utils.exists(u);
3442
3453
  if (f) {
3443
3454
  if (!x)
3444
3455
  return {
@@ -3450,7 +3461,7 @@ function It(e) {
3450
3461
  return {
3451
3462
  valid: !0
3452
3463
  };
3453
- if (C) {
3464
+ if (P) {
3454
3465
  if (!Array.isArray(u))
3455
3466
  return f ? {
3456
3467
  valid: !1,
@@ -3462,9 +3473,9 @@ function It(e) {
3462
3473
  status: 400
3463
3474
  });
3464
3475
  var k = u;
3465
- if (k = k.filter(function(T) {
3466
- var R = T == null || T === "";
3467
- return !R;
3476
+ if (k = k.filter(function(R) {
3477
+ var T = R == null || R === "";
3478
+ return !T;
3468
3479
  }), f == c && f && k.length != f)
3469
3480
  return {
3470
3481
  valid: !1,
@@ -3484,19 +3495,19 @@ function It(e) {
3484
3495
  status: 400
3485
3496
  };
3486
3497
  var N;
3487
- if (k.find(function(T) {
3488
- var R = S;
3489
- s.type === "group" && (R = "object"), s.type === "reference" && s.widget === "form" && (R = "object");
3498
+ if (k.find(function(R) {
3499
+ var T = S;
3500
+ s.type === "group" && (T = "object"), s.type === "reference" && s.widget === "form" && (T = "object");
3490
3501
  var U = e.utils.isValidValue(
3491
- T,
3492
3502
  R,
3503
+ T,
3493
3504
  i.strict
3494
3505
  );
3495
3506
  if (!U)
3496
3507
  return N = !0, !0;
3497
3508
  if (s.validation) {
3498
3509
  var z = r.meetsValidationRequirements(
3499
- T,
3510
+ R,
3500
3511
  S,
3501
3512
  s.validation
3502
3513
  );
@@ -3529,12 +3540,12 @@ function It(e) {
3529
3540
  },
3530
3541
  status: 400
3531
3542
  };
3532
- let T = !1;
3533
- const R = {};
3534
- if (String(s.minValue) && (R.minValue = parseInt(s.minValue), T = !0), String(s.maxValue) && (R.maxValue = parseInt(s.maxValue), T = !0), String(s.minLength) && (R.minLength = parseInt(s.minLength), T = !0), String(s.maxLength) && (R.maxLength = parseInt(s.maxLength), T = !0), T) {
3543
+ let R = !1;
3544
+ const T = {};
3545
+ if (String(s.minValue) && (T.minValue = parseInt(s.minValue), R = !0), String(s.maxValue) && (T.maxValue = parseInt(s.maxValue), R = !0), String(s.minLength) && (T.minLength = parseInt(s.minLength), R = !0), String(s.maxLength) && (T.maxLength = parseInt(s.maxLength), R = !0), R) {
3535
3546
  const U = Object.assign(
3536
3547
  {},
3537
- R,
3548
+ T,
3538
3549
  s.validation || {}
3539
3550
  );
3540
3551
  var F = r.meetsValidationRequirements(
@@ -3579,8 +3590,8 @@ function It(e) {
3579
3590
  const c = e.api.CancelToken.source();
3580
3591
  return i.config.cancelToken = c.token, {
3581
3592
  promise: e.api.post(S, s, i.config),
3582
- cancel(v) {
3583
- c.cancel(v || "Operation canceled by the user.");
3593
+ cancel(b) {
3594
+ c.cancel(b || "Operation canceled by the user.");
3584
3595
  }
3585
3596
  };
3586
3597
  } else {
@@ -3633,7 +3644,7 @@ function kt(e) {
3633
3644
  })), a;
3634
3645
  }, r;
3635
3646
  }
3636
- function Tt(e) {
3647
+ function Rt(e) {
3637
3648
  var r = {};
3638
3649
  function a() {
3639
3650
  return !(typeof window > "u" || !window.navigator || !window.navigator.geolocation);
@@ -3642,7 +3653,7 @@ function Tt(e) {
3642
3653
  function l(i) {
3643
3654
  return i * (Math.PI / 180);
3644
3655
  }
3645
- var p = 6371e3, y = l(o - t), w = l(m - n), A = Math.sin(y / 2) * Math.sin(y / 2) + Math.cos(l(t)) * Math.cos(l(o)) * Math.sin(w / 2) * Math.sin(w / 2), u = 2 * Math.atan2(Math.sqrt(A), Math.sqrt(1 - A)), s = p * u;
3656
+ var p = 6371e3, y = l(o - t), w = l(m - n), v = Math.sin(y / 2) * Math.sin(y / 2) + Math.cos(l(t)) * Math.cos(l(o)) * Math.sin(w / 2) * Math.sin(w / 2), u = 2 * Math.atan2(Math.sqrt(v), Math.sqrt(1 - v)), s = p * u;
3646
3657
  return s;
3647
3658
  }, r.getPosition = async function() {
3648
3659
  return a() ? (console.log("qik:geo: getting location"), new Promise(function(t, n) {
@@ -4376,7 +4387,7 @@ function Tt(e) {
4376
4387
  }
4377
4388
  }, r;
4378
4389
  }
4379
- const Rt = function(e, r) {
4390
+ const Tt = function(e, r) {
4380
4391
  if (r = r || "production", !e.auth)
4381
4392
  throw new Error("Can't Instantiate QikSocket before QikAuth exists");
4382
4393
  const a = e.utils.guid();
@@ -4409,7 +4420,7 @@ const Rt = function(e, r) {
4409
4420
  function w(i) {
4410
4421
  console.log("[event] socketError", event), t.debug && console.log("[socket] Error", i), l.dispatch("error", i);
4411
4422
  }
4412
- function A(i) {
4423
+ function v(i) {
4413
4424
  const S = JSON.parse(i.data);
4414
4425
  t.debug && console.log("[socket] message received", S), l.dispatch("message", S), S.channel && l.dispatch(S.channel, S);
4415
4426
  }
@@ -4434,7 +4445,7 @@ const Rt = function(e, r) {
4434
4445
  t.debug && console.log("[socket] - Must be authenticated to connect to socket");
4435
4446
  return;
4436
4447
  }
4437
- return n = new WebSocket(`${t.url}?access_token=${i}&windowid=${a}`), n.addEventListener("close", y), n.addEventListener("error", w), n.addEventListener("open", p), n.addEventListener("message", A), t.debug && console.log("[socket] - Connected with event listeners"), s();
4448
+ return n = new WebSocket(`${t.url}?access_token=${i}&windowid=${a}`), n.addEventListener("close", y), n.addEventListener("error", w), n.addEventListener("open", p), n.addEventListener("message", v), t.debug && console.log("[socket] - Connected with event listeners"), s();
4438
4449
  }, t.reconnect = async function() {
4439
4450
  if (t.connected)
4440
4451
  return;
@@ -4449,7 +4460,7 @@ const Rt = function(e, r) {
4449
4460
  return;
4450
4461
  }
4451
4462
  const i = t.autoreconnect;
4452
- t.autoreconnect = !1, n.close(), n.removeEventListener("close", y), n.removeEventListener("error", w), n.removeEventListener("open", p), n.removeEventListener("message", A), n = null, y({ wasClean: !0 }), t.autoreconnect = i;
4463
+ t.autoreconnect = !1, n.close(), n.removeEventListener("close", y), n.removeEventListener("error", w), n.removeEventListener("open", p), n.removeEventListener("message", v), n = null, y({ wasClean: !0 }), t.autoreconnect = i;
4453
4464
  }, t.disconnect = t.close, t.subscribe = async function(i) {
4454
4465
  if (!n) {
4455
4466
  console.log("[socket] - Can't subscribe to channel as socket is not connected");
@@ -4521,7 +4532,7 @@ function Ft(e) {
4521
4532
  value: p,
4522
4533
  writable: !1
4523
4534
  });
4524
- const y = new Rt(r);
4535
+ const y = new Tt(r);
4525
4536
  Object.defineProperty(r, "socket", {
4526
4537
  value: y,
4527
4538
  writable: !1
@@ -4531,12 +4542,12 @@ function Ft(e) {
4531
4542
  value: w,
4532
4543
  writable: !1
4533
4544
  });
4534
- const A = new kt(r);
4545
+ const v = new kt(r);
4535
4546
  Object.defineProperty(r, "system", {
4536
- value: A,
4547
+ value: v,
4537
4548
  writable: !1
4538
4549
  });
4539
- const u = new Tt(r);
4550
+ const u = new Rt(r);
4540
4551
  Object.defineProperty(r, "geo", {
4541
4552
  value: u,
4542
4553
  writable: !1