@qikdev/sdk 0.2.3 → 0.3.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
@@ -28,9 +28,9 @@ function Zr(e) {
28
28
  });
29
29
  }), a;
30
30
  }
31
- var Ze, xr;
31
+ var Ze, Pr;
32
32
  function Qr() {
33
- return xr || (xr = 1, Ze = function() {
33
+ return Pr || (Pr = 1, Ze = function() {
34
34
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
35
35
  return !1;
36
36
  if (typeof Symbol.iterator == "symbol")
@@ -116,20 +116,20 @@ function yr() {
116
116
  var e = Xr();
117
117
  return Xe = Function.prototype.bind || e, Xe;
118
118
  }
119
- var er, kr;
119
+ var er, Ir;
120
120
  function et() {
121
- if (kr) return er;
122
- kr = 1;
121
+ if (Ir) return er;
122
+ Ir = 1;
123
123
  var e = yr();
124
124
  return er = e.call(Function.call, Object.prototype.hasOwnProperty), er;
125
125
  }
126
- var rr, Ir;
126
+ var rr, kr;
127
127
  function hr() {
128
- if (Ir) return rr;
129
- Ir = 1;
130
- var e, r = SyntaxError, a = Function, t = TypeError, n = function(U) {
128
+ if (kr) return rr;
129
+ kr = 1;
130
+ var e, r = SyntaxError, a = Function, t = TypeError, n = function($) {
131
131
  try {
132
- return a('"use strict"; return (' + U + ").constructor;")();
132
+ return a('"use strict"; return (' + $ + ").constructor;")();
133
133
  } catch {
134
134
  }
135
135
  }, o = Object.getOwnPropertyDescriptor;
@@ -151,8 +151,8 @@ function hr() {
151
151
  return m;
152
152
  }
153
153
  }
154
- })() : m, p = Yr()(), y = Object.getPrototypeOf || function(U) {
155
- return U.__proto__;
154
+ })() : m, p = Yr()(), y = Object.getPrototypeOf || function($) {
155
+ return $.__proto__;
156
156
  }, w = {}, A = typeof Uint8Array > "u" ? e : y(Uint8Array), u = {
157
157
  "%AggregateError%": typeof AggregateError > "u" ? e : AggregateError,
158
158
  "%Array%": Array,
@@ -219,7 +219,7 @@ function hr() {
219
219
  "%WeakMap%": typeof WeakMap > "u" ? e : WeakMap,
220
220
  "%WeakRef%": typeof WeakRef > "u" ? e : WeakRef,
221
221
  "%WeakSet%": typeof WeakSet > "u" ? e : WeakSet
222
- }, s = function U(L) {
222
+ }, s = function $(L) {
223
223
  var F;
224
224
  if (L === "%AsyncFunction%")
225
225
  F = n("async function () {}");
@@ -228,10 +228,10 @@ function hr() {
228
228
  else if (L === "%AsyncGeneratorFunction%")
229
229
  F = n("async function* () {}");
230
230
  else if (L === "%AsyncGenerator%") {
231
- var T = U("%AsyncGeneratorFunction%");
231
+ var T = $("%AsyncGeneratorFunction%");
232
232
  T && (F = T.prototype);
233
233
  } else if (L === "%AsyncIteratorPrototype%") {
234
- var R = U("%AsyncGenerator%");
234
+ var R = $("%AsyncGenerator%");
235
235
  R && (F = y(R.prototype));
236
236
  }
237
237
  return u[L] = F, F;
@@ -287,26 +287,26 @@ 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), P = S.call(Function.call, RegExp.prototype.exec), I = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, N = /\\(\\)?/g, M = function(L) {
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
291
  var F = C(L, 0, 1), T = C(L, -1);
292
292
  if (F === "%" && T !== "%")
293
293
  throw new r("invalid intrinsic syntax, expected closing `%`");
294
294
  if (T === "%" && F !== "%")
295
295
  throw new r("invalid intrinsic syntax, expected opening `%`");
296
296
  var R = [];
297
- return v(L, I, function($, z, _, Z) {
298
- R[R.length] = _ ? v(Z, N, "$1") : z || $;
297
+ return v(L, k, function(U, z, _, Z) {
298
+ R[R.length] = _ ? v(Z, N, "$1") : z || U;
299
299
  }), R;
300
300
  }, V = function(L, F) {
301
301
  var T = L, R;
302
302
  if (f(i, T) && (R = i[T], T = "%" + R[0] + "%"), f(u, T)) {
303
- var $ = u[T];
304
- if ($ === w && ($ = s(T)), typeof $ > "u" && !F)
303
+ var U = u[T];
304
+ if (U === w && (U = s(T)), typeof U > "u" && !F)
305
305
  throw new t("intrinsic " + L + " exists, but is not available. Please file an issue!");
306
306
  return {
307
307
  alias: R,
308
308
  name: T,
309
- value: $
309
+ value: U
310
310
  };
311
311
  }
312
312
  throw new r("intrinsic " + L + " does not exist!");
@@ -316,9 +316,9 @@ function hr() {
316
316
  throw new t("intrinsic name must be a non-empty string");
317
317
  if (arguments.length > 1 && typeof F != "boolean")
318
318
  throw new t('"allowMissing" argument must be a boolean');
319
- if (P(/^%?[^%]*%?$/, L) === null)
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] : "", $ = V("%" + R + "%", F), z = $.name, _ = $.value, Z = !1, Q = $.alias;
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
322
  Q && (R = Q[0], b(T, c([0, 1], Q)));
323
323
  for (var ne = 1, X = !0; ne < T.length; ne += 1) {
324
324
  var W = T[ne], ie = C(W, 0, 1), re = C(W, -1);
@@ -389,37 +389,37 @@ 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, P = String.prototype.toLowerCase, I = RegExp.prototype.test, N = Array.prototype.concat, M = Array.prototype.join, V = Array.prototype.slice, U = 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", $ = 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, 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) {
393
393
  return h.__proto__;
394
394
  } : null);
395
395
  function Z(h, g) {
396
- if (h === 1 / 0 || h === -1 / 0 || h !== h || h && h > -1e3 && h < 1e3 || I.call(/e/, g))
396
+ if (h === 1 / 0 || h === -1 / 0 || h !== h || h && h > -1e3 && h < 1e3 || k.call(/e/, g))
397
397
  return g;
398
398
  var D = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
399
399
  if (typeof h == "number") {
400
- var d = h < 0 ? -U(-h) : U(h);
400
+ var d = h < 0 ? -$(-h) : $(h);
401
401
  if (d !== h) {
402
- var E = String(d), x = b.call(g, E.length + 1);
403
- return v.call(E, D, "$&_") + "." + v.call(v.call(x, /([0-9]{3})/g, "$&_"), /_$/, "");
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, "$&_"), /_$/, "");
404
404
  }
405
405
  }
406
406
  return v.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 x = D || {};
411
- if (J(x, "quoteStyle") && x.quoteStyle !== "single" && x.quoteStyle !== "double")
410
+ var P = D || {};
411
+ if (J(P, "quoteStyle") && P.quoteStyle !== "single" && P.quoteStyle !== "double")
412
412
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
413
- if (J(x, "maxStringLength") && (typeof x.maxStringLength == "number" ? x.maxStringLength < 0 && x.maxStringLength !== 1 / 0 : x.maxStringLength !== null))
413
+ if (J(P, "maxStringLength") && (typeof P.maxStringLength == "number" ? P.maxStringLength < 0 && P.maxStringLength !== 1 / 0 : P.maxStringLength !== null))
414
414
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
415
- var G = J(x, "customInspect") ? x.customInspect : !0;
415
+ var G = J(P, "customInspect") ? P.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(x, "indent") && x.indent !== null && x.indent !== " " && !(parseInt(x.indent, 10) === x.indent && x.indent > 0))
418
+ if (J(P, "indent") && P.indent !== null && P.indent !== " " && !(parseInt(P.indent, 10) === P.indent && P.indent > 0))
419
419
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
420
- if (J(x, "numericSeparator") && typeof x.numericSeparator != "boolean")
420
+ if (J(P, "numericSeparator") && typeof P.numericSeparator != "boolean")
421
421
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
422
- var ae = x.numericSeparator;
422
+ var ae = P.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, x);
430
+ return Ce(g, P);
431
431
  if (typeof g == "number") {
432
432
  if (g === 0)
433
433
  return 1 / 0 / g > 0 ? "0" : "-0";
@@ -438,25 +438,25 @@ function ot() {
438
438
  var O = String(g) + "n";
439
439
  return ae ? Z(g, O) : O;
440
440
  }
441
- var B = typeof x.depth > "u" ? 5 : x.depth;
441
+ var B = typeof P.depth > "u" ? 5 : P.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(x, d);
444
+ var j = Le(P, d);
445
445
  if (typeof E > "u")
446
446
  E = [];
447
- else if (Pe(E, g) >= 0)
447
+ else if (xe(E, g) >= 0)
448
448
  return "[Circular]";
449
- function H(Me, Ge, Jr) {
450
- if (Ge && (E = V.call(E), E.push(Ge)), Jr) {
451
- var Pr = {
452
- depth: x.depth
449
+ function H(Me, Be, Jr) {
450
+ if (Be && (E = V.call(E), E.push(Be)), Jr) {
451
+ var xr = {
452
+ depth: P.depth
453
453
  };
454
- return J(x, "quoteStyle") && (Pr.quoteStyle = x.quoteStyle), h(Me, Pr, d + 1, E);
454
+ return J(P, "quoteStyle") && (xr.quoteStyle = P.quoteStyle), h(Me, xr, d + 1, E);
455
455
  }
456
- return h(Me, x, d + 1, E);
456
+ return h(Me, P, d + 1, E);
457
457
  }
458
458
  if (typeof g == "function" && !ce(g)) {
459
- var Y = ke(g), we = ge(g, H);
459
+ var Y = Ie(g), we = ge(g, H);
460
460
  return "[Function" + (Y ? ": " + Y : " (anonymous)") + "]" + (we.length > 0 ? " { " + M.call(we, ", ") + " }" : "");
461
461
  }
462
462
  if (se(g)) {
@@ -464,9 +464,9 @@ function ot() {
464
464
  return typeof g == "object" && !R ? le(Ar) : Ar;
465
465
  }
466
466
  if (_e(g)) {
467
- for (var Fe = "<" + P.call(String(g.nodeName)), ze = g.attributes || [], Be = 0; Be < ze.length; Be++)
468
- Fe += " " + ze[Be].name + "=" + W(ie(ze[Be].value), "double", x);
469
- return Fe += ">", g.childNodes && g.childNodes.length && (Fe += "..."), Fe += "</" + P.call(String(g.nodeName)) + ">", Fe;
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);
469
+ return Fe += ">", g.childNodes && g.childNodes.length && (Fe += "..."), Fe += "</" + x.call(String(g.nodeName)) + ">", Fe;
470
470
  }
471
471
  if (re(g)) {
472
472
  if (g.length === 0)
@@ -484,10 +484,10 @@ function ot() {
484
484
  if (G !== "symbol" && typeof g.inspect == "function")
485
485
  return g.inspect();
486
486
  }
487
- if (Ie(g)) {
487
+ if (ke(g)) {
488
488
  var br = [];
489
- return t.call(g, function(Me, Ge) {
490
- br.push(H(Ge, g, !0) + " => " + H(Me, g));
489
+ return t.call(g, function(Me, Be) {
490
+ br.push(H(Be, g, !0) + " => " + H(Me, g));
491
491
  }), Se("Map", a.call(g), br, j);
492
492
  }
493
493
  if (Te(g)) {
@@ -500,7 +500,7 @@ function ot() {
500
500
  return fe("WeakMap");
501
501
  if (Re(g))
502
502
  return fe("WeakSet");
503
- if (xe(g))
503
+ if (Pe(g))
504
504
  return fe("WeakRef");
505
505
  if (de(g))
506
506
  return le(H(Number(g)));
@@ -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 && $ && Object(g) === g && $ 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 ? 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 || []), ": ") + "] " : "");
515
515
  return He.length === 0 ? qe + "{}" : j ? qe + "{" + he(He, j) + "}" : qe + "{ " + M.call(He, ", ") + " }";
516
516
  }
517
517
  return String(g);
@@ -524,25 +524,25 @@ function ot() {
524
524
  return v.call(String(h), /"/g, "&quot;");
525
525
  }
526
526
  function re(h) {
527
- return ee(h) === "[object Array]" && (!$ || !(typeof h == "object" && $ in h));
527
+ return ee(h) === "[object Array]" && (!U || !(typeof h == "object" && U in h));
528
528
  }
529
529
  function te(h) {
530
- return ee(h) === "[object Date]" && (!$ || !(typeof h == "object" && $ in h));
530
+ return ee(h) === "[object Date]" && (!U || !(typeof h == "object" && U in h));
531
531
  }
532
532
  function ce(h) {
533
- return ee(h) === "[object RegExp]" && (!$ || !(typeof h == "object" && $ in h));
533
+ return ee(h) === "[object RegExp]" && (!U || !(typeof h == "object" && U in h));
534
534
  }
535
535
  function ue(h) {
536
- return ee(h) === "[object Error]" && (!$ || !(typeof h == "object" && $ in h));
536
+ return ee(h) === "[object Error]" && (!U || !(typeof h == "object" && U in h));
537
537
  }
538
538
  function oe(h) {
539
- return ee(h) === "[object String]" && (!$ || !(typeof h == "object" && $ in h));
539
+ return ee(h) === "[object String]" && (!U || !(typeof h == "object" && U in h));
540
540
  }
541
541
  function de(h) {
542
- return ee(h) === "[object Number]" && (!$ || !(typeof h == "object" && $ in h));
542
+ return ee(h) === "[object Number]" && (!U || !(typeof h == "object" && U in h));
543
543
  }
544
544
  function pe(h) {
545
- return ee(h) === "[object Boolean]" && (!$ || !(typeof h == "object" && $ in h));
545
+ return ee(h) === "[object Boolean]" && (!U || !(typeof h == "object" && U in h));
546
546
  }
547
547
  function se(h) {
548
548
  if (R)
@@ -575,13 +575,13 @@ function ot() {
575
575
  function ee(h) {
576
576
  return S.call(h);
577
577
  }
578
- function ke(h) {
578
+ function Ie(h) {
579
579
  if (h.name)
580
580
  return h.name;
581
581
  var g = c.call(f.call(h), /^function\s*([\w$]+)/);
582
582
  return g ? g[1] : null;
583
583
  }
584
- function Pe(h, g) {
584
+ function xe(h, g) {
585
585
  if (h.indexOf)
586
586
  return h.indexOf(g);
587
587
  for (var D = 0, d = h.length; D < d; D++)
@@ -589,7 +589,7 @@ function ot() {
589
589
  return D;
590
590
  return -1;
591
591
  }
592
- function Ie(h) {
592
+ function ke(h) {
593
593
  if (!a || !h || typeof h != "object")
594
594
  return !1;
595
595
  try {
@@ -619,7 +619,7 @@ function ot() {
619
619
  }
620
620
  return !1;
621
621
  }
622
- function xe(h) {
622
+ function Pe(h) {
623
623
  if (!s || !h || typeof h != "object")
624
624
  return !1;
625
625
  try {
@@ -691,7 +691,7 @@ function ot() {
691
691
  }
692
692
  function Oe(h) {
693
693
  for (var g = 0; g < h.length; g++)
694
- if (Pe(h[g], `
694
+ if (xe(h[g], `
695
695
  `) >= 0)
696
696
  return !1;
697
697
  return !0;
@@ -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 x = typeof F == "function" ? F(h) : [], G;
727
+ var P = typeof F == "function" ? F(h) : [], G;
728
728
  if (R) {
729
729
  G = {};
730
- for (var ae = 0; ae < x.length; ae++)
731
- G["$" + x[ae]] = x[ae];
730
+ for (var ae = 0; ae < P.length; ae++)
731
+ G["$" + P[ae]] = P[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 || (I.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 || 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))));
735
735
  if (typeof F == "function")
736
- for (var O = 0; O < x.length; O++)
737
- z.call(h, x[O]) && d.push("[" + g(x[O]) + "]: " + g(h[x[O]], h));
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));
738
738
  return d;
739
739
  }
740
740
  return nr;
@@ -763,33 +763,33 @@ function st() {
763
763
  };
764
764
  return ir = function() {
765
765
  var c, b, v, C = {
766
- assert: function(P) {
767
- if (!C.has(P))
768
- throw new t("Side channel does not contain " + a(P));
766
+ assert: function(x) {
767
+ if (!C.has(x))
768
+ throw new t("Side channel does not contain " + a(x));
769
769
  },
770
- get: function(P) {
771
- if (n && P && (typeof P == "object" || typeof P == "function")) {
770
+ get: function(x) {
771
+ if (n && x && (typeof x == "object" || typeof x == "function")) {
772
772
  if (c)
773
- return m(c, P);
773
+ return m(c, x);
774
774
  } else if (o) {
775
775
  if (b)
776
- return y(b, P);
776
+ return y(b, x);
777
777
  } else if (v)
778
- return s(v, P);
778
+ return s(v, x);
779
779
  },
780
- has: function(P) {
781
- if (n && P && (typeof P == "object" || typeof P == "function")) {
780
+ has: function(x) {
781
+ if (n && x && (typeof x == "object" || typeof x == "function")) {
782
782
  if (c)
783
- return p(c, P);
783
+ return p(c, x);
784
784
  } else if (o) {
785
785
  if (b)
786
- return A(b, P);
786
+ return A(b, x);
787
787
  } else if (v)
788
- return S(v, P);
788
+ return S(v, x);
789
789
  return !1;
790
790
  },
791
- set: function(P, I) {
792
- n && P && (typeof P == "object" || typeof P == "function") ? (c || (c = new n()), l(c, P, I)) : o ? (b || (b = new o()), w(b, P, I)) : (v || (v = { key: {}, next: null }), i(v, P, I));
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));
793
793
  }
794
794
  };
795
795
  return C;
@@ -853,15 +853,15 @@ function Wr() {
853
853
  if (!f || typeof f != "object")
854
854
  return [f].concat(c);
855
855
  var v = f;
856
- return a(f) && !a(c) && (v = o(f, b)), a(f) && a(c) ? (c.forEach(function(C, P) {
857
- if (r.call(f, P)) {
858
- var I = f[P];
859
- I && typeof I == "object" && C && typeof C == "object" ? f[P] = S(I, C, b) : f.push(C);
856
+ return a(f) && !a(c) && (v = o(f, b)), a(f) && a(c) ? (c.forEach(function(C, x) {
857
+ if (r.call(f, x)) {
858
+ var k = f[x];
859
+ k && typeof k == "object" && C && typeof C == "object" ? f[x] = S(k, C, b) : f.push(C);
860
860
  } else
861
- f[P] = C;
862
- }), f) : Object.keys(c).reduce(function(C, P) {
863
- var I = c[P];
864
- return r.call(C, P) ? C[P] = S(C[P], I, b) : C[P] = I, C;
861
+ f[x] = C;
862
+ }), f) : Object.keys(c).reduce(function(C, x) {
863
+ var k = c[x];
864
+ return r.call(C, x) ? C[x] = S(C[x], k, b) : C[x] = k, C;
865
865
  }, v);
866
866
  }, l = function(f, c) {
867
867
  return Object.keys(c).reduce(function(b, v) {
@@ -879,37 +879,37 @@ function Wr() {
879
879
  }, y = function(f, c, b, v, C) {
880
880
  if (f.length === 0)
881
881
  return f;
882
- var P = f;
883
- if (typeof f == "symbol" ? P = Symbol.prototype.toString.call(f) : typeof f != "string" && (P = String(f)), b === "iso-8859-1")
884
- return escape(P).replace(/%u[0-9a-f]{4}/gi, function(V) {
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")
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
- for (var I = "", N = 0; N < P.length; ++N) {
888
- var M = P.charCodeAt(N);
887
+ for (var k = "", N = 0; N < x.length; ++N) {
888
+ var M = x.charCodeAt(N);
889
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)) {
890
- I += P.charAt(N);
890
+ k += x.charAt(N);
891
891
  continue;
892
892
  }
893
893
  if (M < 128) {
894
- I = I + t[M];
894
+ k = k + t[M];
895
895
  continue;
896
896
  }
897
897
  if (M < 2048) {
898
- I = I + (t[192 | M >> 6] + t[128 | M & 63]);
898
+ k = k + (t[192 | M >> 6] + t[128 | M & 63]);
899
899
  continue;
900
900
  }
901
901
  if (M < 55296 || M >= 57344) {
902
- I = I + (t[224 | M >> 12] + t[128 | M >> 6 & 63] + t[128 | M & 63]);
902
+ k = k + (t[224 | M >> 12] + t[128 | M >> 6 & 63] + t[128 | M & 63]);
903
903
  continue;
904
904
  }
905
- N += 1, M = 65536 + ((M & 1023) << 10 | P.charCodeAt(N) & 1023), I += t[240 | M >> 18] + t[128 | M >> 12 & 63] + t[128 | M >> 6 & 63] + t[128 | M & 63];
905
+ N += 1, M = 65536 + ((M & 1023) << 10 | x.charCodeAt(N) & 1023), k += t[240 | M >> 18] + t[128 | M >> 12 & 63] + t[128 | M >> 6 & 63] + t[128 | M & 63];
906
906
  }
907
- return I;
907
+ return k;
908
908
  }, w = function(f) {
909
909
  for (var c = [{ obj: { o: f }, prop: "o" }], b = [], v = 0; v < c.length; ++v)
910
- for (var C = c[v], P = C.obj[C.prop], I = Object.keys(P), N = 0; N < I.length; ++N) {
911
- var M = I[N], V = P[M];
912
- typeof V == "object" && V !== null && b.indexOf(V) === -1 && (c.push({ obj: P, prop: M }), b.push(V));
910
+ for (var C = c[v], x = C.obj[C.prop], k = Object.keys(x), N = 0; N < k.length; ++N) {
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));
913
913
  }
914
914
  return n(c), f;
915
915
  }, A = function(f) {
@@ -939,10 +939,10 @@ function Wr() {
939
939
  merge: m
940
940
  }, sr;
941
941
  }
942
- var ur, $r;
942
+ var ur, Ur;
943
943
  function ut() {
944
- if ($r) return ur;
945
- $r = 1;
944
+ if (Ur) return ur;
945
+ Ur = 1;
946
946
  var e = st(), r = Wr(), a = gr(), t = Object.prototype.hasOwnProperty, n = {
947
947
  brackets: function(c) {
948
948
  return c + "[]";
@@ -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, P, I, N, M, V, U, L, F, T, R, $, z) {
979
+ }, s = {}, i = function f(c, b, v, C, x, k, N, M, V, $, L, F, T, R, 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") {
@@ -989,19 +989,19 @@ function ut() {
989
989
  if (typeof M == "function" ? _ = M(b, _) : _ instanceof Date ? _ = L(_) : v === "comma" && o(_) && (_ = r.maybeMap(_, function(ee) {
990
990
  return ee instanceof Date ? L(ee) : ee;
991
991
  })), _ === null) {
992
- if (P)
993
- return N && !R ? N(b, A.encoder, $, "key", F) : b;
992
+ if (x)
993
+ return N && !R ? N(b, A.encoder, U, "key", F) : b;
994
994
  _ = "";
995
995
  }
996
996
  if (u(_) || r.isBuffer(_)) {
997
997
  if (N) {
998
- var W = R ? b : N(b, A.encoder, $, "key", F);
998
+ var W = R ? b : N(b, A.encoder, U, "key", F);
999
999
  if (v === "comma" && R) {
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, $, "value", F));
1001
+ re += (te === 0 ? "" : ",") + T(N(ie[te], A.encoder, U, "value", F));
1002
1002
  return [T(W) + (C && o(_) && ie.length === 1 ? "[]" : "") + "=" + re];
1003
1003
  }
1004
- return [T(W) + "=" + T(N(_, A.encoder, $, "value", F))];
1004
+ return [T(W) + "=" + T(N(_, A.encoder, U, "value", F))];
1005
1005
  }
1006
1006
  return [T(b) + "=" + T(String(_))];
1007
1007
  }
@@ -1019,8 +1019,8 @@ function ut() {
1019
1019
  }
1020
1020
  for (var de = C && o(_) && _.length === 1 ? b + "[]" : b, pe = 0; pe < ue.length; ++pe) {
1021
1021
  var se = ue[pe], ye = typeof se == "object" && typeof se.value < "u" ? se.value : _[se];
1022
- if (!(I && ye === null)) {
1023
- var be = o(_) ? typeof v == "function" ? v(de, se) : de : de + (U ? "." + se : "[" + se + "]");
1022
+ if (!(k && ye === null)) {
1023
+ var be = o(_) ? typeof v == "function" ? v(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(
@@ -1028,17 +1028,17 @@ function ut() {
1028
1028
  be,
1029
1029
  v,
1030
1030
  C,
1031
- P,
1032
- I,
1031
+ x,
1032
+ k,
1033
1033
  N,
1034
1034
  M,
1035
1035
  V,
1036
- U,
1036
+ $,
1037
1037
  L,
1038
1038
  F,
1039
1039
  T,
1040
1040
  R,
1041
- $,
1041
+ U,
1042
1042
  J
1043
1043
  ));
1044
1044
  }
@@ -1058,8 +1058,8 @@ function ut() {
1058
1058
  throw new TypeError("Unknown format option provided.");
1059
1059
  v = c.format;
1060
1060
  }
1061
- var C = a.formatters[v], P = A.filter;
1062
- return (typeof c.filter == "function" || o(c.filter)) && (P = c.filter), {
1061
+ var C = a.formatters[v], x = A.filter;
1062
+ return (typeof c.filter == "function" || o(c.filter)) && (x = c.filter), {
1063
1063
  addQueryPrefix: typeof c.addQueryPrefix == "boolean" ? c.addQueryPrefix : A.addQueryPrefix,
1064
1064
  allowDots: typeof c.allowDots > "u" ? A.allowDots : !!c.allowDots,
1065
1065
  charset: b,
@@ -1068,7 +1068,7 @@ function ut() {
1068
1068
  encode: typeof c.encode == "boolean" ? c.encode : A.encode,
1069
1069
  encoder: typeof c.encoder == "function" ? c.encoder : A.encoder,
1070
1070
  encodeValuesOnly: typeof c.encodeValuesOnly == "boolean" ? c.encodeValuesOnly : A.encodeValuesOnly,
1071
- filter: P,
1071
+ filter: x,
1072
1072
  format: v,
1073
1073
  formatter: C,
1074
1074
  serializeDate: typeof c.serializeDate == "function" ? c.serializeDate : A.serializeDate,
@@ -1078,9 +1078,9 @@ function ut() {
1078
1078
  };
1079
1079
  };
1080
1080
  return ur = function(f, c) {
1081
- var b = f, v = S(c), C, P;
1082
- typeof v.filter == "function" ? (P = v.filter, b = P("", b)) : o(v.filter) && (P = v.filter, C = P);
1083
- var I = [];
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);
1083
+ var k = [];
1084
1084
  if (typeof b != "object" || b === null)
1085
1085
  return "";
1086
1086
  var N;
@@ -1090,9 +1090,9 @@ function ut() {
1090
1090
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1091
1091
  var V = M === "comma" && c && c.commaRoundTrip;
1092
1092
  C || (C = Object.keys(b)), v.sort && C.sort(v.sort);
1093
- for (var U = e(), L = 0; L < C.length; ++L) {
1093
+ for (var $ = e(), L = 0; L < C.length; ++L) {
1094
1094
  var F = C[L];
1095
- v.skipNulls && b[F] === null || p(I, i(
1095
+ v.skipNulls && b[F] === null || p(k, i(
1096
1096
  b[F],
1097
1097
  F,
1098
1098
  M,
@@ -1108,17 +1108,17 @@ function ut() {
1108
1108
  v.formatter,
1109
1109
  v.encodeValuesOnly,
1110
1110
  v.charset,
1111
- U
1111
+ $
1112
1112
  ));
1113
1113
  }
1114
- var T = I.join(v.delimiter), R = v.addQueryPrefix === !0 ? "?" : "";
1114
+ var T = k.join(v.delimiter), R = v.addQueryPrefix === !0 ? "?" : "";
1115
1115
  return v.charsetSentinel && (v.charset === "iso-8859-1" ? R += "utf8=%26%2310003%3B&" : R += "utf8=%E2%9C%93&"), T.length > 0 ? R + T : "";
1116
1116
  }, ur;
1117
1117
  }
1118
- var cr, Ur;
1118
+ var cr, $r;
1119
1119
  function ct() {
1120
- if (Ur) return cr;
1121
- Ur = 1;
1120
+ if ($r) return cr;
1121
+ $r = 1;
1122
1122
  var e = Wr(), r = Object.prototype.hasOwnProperty, a = Array.isArray, t = {
1123
1123
  allowDots: !1,
1124
1124
  allowPrototypes: !1,
@@ -1143,19 +1143,19 @@ 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, P = i.charset;
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;
1147
1147
  if (i.charsetSentinel)
1148
1148
  for (C = 0; C < b.length; ++C)
1149
- b[C].indexOf("utf8=") === 0 && (b[C] === l ? P = "utf-8" : b[C] === m && (P = "iso-8859-1"), v = C, C = b.length);
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
1150
  for (C = 0; C < b.length; ++C)
1151
1151
  if (C !== v) {
1152
- var I = b[C], N = I.indexOf("]="), M = N === -1 ? I.indexOf("=") : N + 1, V, U;
1153
- M === -1 ? (V = i.decoder(I, t.decoder, P, "key"), U = i.strictNullHandling ? null : "") : (V = i.decoder(I.slice(0, M), t.decoder, P, "key"), U = e.maybeMap(
1154
- o(I.slice(M + 1), i),
1152
+ var k = b[C], N = k.indexOf("]="), M = N === -1 ? k.indexOf("=") : N + 1, V, $;
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
+ o(k.slice(M + 1), i),
1155
1155
  function(L) {
1156
- return i.decoder(L, t.decoder, P, "value");
1156
+ return i.decoder(L, t.decoder, x, "value");
1157
1157
  }
1158
- )), U && i.interpretNumericEntities && P === "iso-8859-1" && (U = n(U)), I.indexOf("[]=") > -1 && (U = a(U) ? [U] : U), r.call(S, V) ? S[V] = e.combine(S[V], U) : S[V] = U;
1158
+ )), $ && i.interpretNumericEntities && x === "iso-8859-1" && ($ = n($)), k.indexOf("[]=") > -1 && ($ = a($) ? [$] : $), r.call(S, V) ? S[V] = e.combine(S[V], $) : S[V] = $;
1159
1159
  }
1160
1160
  return S;
1161
1161
  }, y = function(u, s, i, S) {
@@ -1165,26 +1165,26 @@ function ct() {
1165
1165
  b = [].concat(f);
1166
1166
  else {
1167
1167
  b = i.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1168
- var C = v.charAt(0) === "[" && v.charAt(v.length - 1) === "]" ? v.slice(1, -1) : v, P = parseInt(C, 10);
1169
- !i.parseArrays && C === "" ? b = { 0: f } : !isNaN(P) && v !== C && String(P) === C && P >= 0 && i.parseArrays && P <= i.arrayLimit ? (b = [], b[P] = f) : C !== "__proto__" && (b[C] = f);
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);
1170
1170
  }
1171
1171
  f = b;
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), P = C ? c.slice(0, C.index) : c, I = [];
1177
- if (P) {
1178
- if (!S.plainObjects && r.call(Object.prototype, P) && !S.allowPrototypes)
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 = [];
1177
+ if (x) {
1178
+ if (!S.plainObjects && r.call(Object.prototype, x) && !S.allowPrototypes)
1179
1179
  return;
1180
- I.push(P);
1180
+ k.push(x);
1181
1181
  }
1182
1182
  for (var N = 0; S.depth > 0 && (C = v.exec(c)) !== null && N < S.depth; ) {
1183
1183
  if (N += 1, !S.plainObjects && r.call(Object.prototype, C[1].slice(1, -1)) && !S.allowPrototypes)
1184
1184
  return;
1185
- I.push(C[1]);
1185
+ k.push(C[1]);
1186
1186
  }
1187
- return C && I.push("[" + c.slice(C.index) + "]"), y(I, i, S, f);
1187
+ return C && k.push("[" + c.slice(C.index) + "]"), y(k, i, S, f);
1188
1188
  }
1189
1189
  }, A = function(s) {
1190
1190
  if (!s)
@@ -1362,15 +1362,15 @@ function yt() {
1362
1362
  }
1363
1363
  return E;
1364
1364
  }
1365
- var c = Array.prototype, b = Function.prototype, v = Object.prototype, C = i["__core-js_shared__"], P = (function() {
1365
+ var c = Array.prototype, b = Function.prototype, v = Object.prototype, C = i["__core-js_shared__"], x = (function() {
1366
1366
  var d = /[^.]+$/.exec(C && C.keys && C.keys.IE_PROTO || "");
1367
1367
  return d ? "Symbol(src)_1." + d : "";
1368
- })(), I = b.toString, N = v.hasOwnProperty, M = v.toString, V = RegExp(
1369
- "^" + I.call(N).replace(y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1370
- ), U = i.Symbol, L = c.splice, F = xe(i, "Map"), T = xe(Object, "create"), R = U ? U.prototype : void 0, $ = R ? R.toString : void 0;
1368
+ })(), k = b.toString, N = v.hasOwnProperty, M = v.toString, V = RegExp(
1369
+ "^" + 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;
1371
1371
  function z(d) {
1372
- var E = -1, x = d ? d.length : 0;
1373
- for (this.clear(); ++E < x; ) {
1372
+ var E = -1, P = d ? d.length : 0;
1373
+ for (this.clear(); ++E < P; ) {
1374
1374
  var G = d[E];
1375
1375
  this.set(G[0], G[1]);
1376
1376
  }
@@ -1384,8 +1384,8 @@ function yt() {
1384
1384
  function Q(d) {
1385
1385
  var E = this.__data__;
1386
1386
  if (T) {
1387
- var x = E[d];
1388
- return x === r ? void 0 : x;
1387
+ var P = E[d];
1388
+ return P === r ? void 0 : P;
1389
1389
  }
1390
1390
  return N.call(E, d) ? E[d] : void 0;
1391
1391
  }
@@ -1394,13 +1394,13 @@ function yt() {
1394
1394
  return T ? E[d] !== void 0 : N.call(E, d);
1395
1395
  }
1396
1396
  function X(d, E) {
1397
- var x = this.__data__;
1398
- return x[d] = T && E === void 0 ? r : E, this;
1397
+ var P = this.__data__;
1398
+ return P[d] = T && E === void 0 ? r : E, this;
1399
1399
  }
1400
1400
  z.prototype.clear = _, z.prototype.delete = Z, z.prototype.get = Q, z.prototype.has = ne, z.prototype.set = X;
1401
1401
  function W(d) {
1402
- var E = -1, x = d ? d.length : 0;
1403
- for (this.clear(); ++E < x; ) {
1402
+ var E = -1, P = d ? d.length : 0;
1403
+ for (this.clear(); ++E < P; ) {
1404
1404
  var G = d[E];
1405
1405
  this.set(G[0], G[1]);
1406
1406
  }
@@ -1409,27 +1409,27 @@ function yt() {
1409
1409
  this.__data__ = [];
1410
1410
  }
1411
1411
  function re(d) {
1412
- var E = this.__data__, x = J(E, d);
1413
- if (x < 0)
1412
+ var E = this.__data__, P = J(E, d);
1413
+ if (P < 0)
1414
1414
  return !1;
1415
1415
  var G = E.length - 1;
1416
- return x == G ? E.pop() : L.call(E, x, 1), !0;
1416
+ return P == G ? E.pop() : L.call(E, P, 1), !0;
1417
1417
  }
1418
1418
  function te(d) {
1419
- var E = this.__data__, x = J(E, d);
1420
- return x < 0 ? void 0 : E[x][1];
1419
+ var E = this.__data__, P = J(E, d);
1420
+ return P < 0 ? void 0 : E[P][1];
1421
1421
  }
1422
1422
  function ce(d) {
1423
1423
  return J(this.__data__, d) > -1;
1424
1424
  }
1425
1425
  function ue(d, E) {
1426
- var x = this.__data__, G = J(x, d);
1427
- return G < 0 ? x.push([d, E]) : x[G][1] = E, this;
1426
+ var P = this.__data__, G = J(P, d);
1427
+ return G < 0 ? P.push([d, E]) : P[G][1] = E, this;
1428
1428
  }
1429
1429
  W.prototype.clear = ie, W.prototype.delete = re, W.prototype.get = te, W.prototype.has = ce, W.prototype.set = ue;
1430
1430
  function oe(d) {
1431
- var E = -1, x = d ? d.length : 0;
1432
- for (this.clear(); ++E < x; ) {
1431
+ var E = -1, P = d ? d.length : 0;
1432
+ for (this.clear(); ++E < P; ) {
1433
1433
  var G = d[E];
1434
1434
  this.set(G[0], G[1]);
1435
1435
  }
@@ -1455,60 +1455,60 @@ function yt() {
1455
1455
  }
1456
1456
  oe.prototype.clear = de, oe.prototype.delete = pe, oe.prototype.get = se, oe.prototype.has = ye, oe.prototype.set = be;
1457
1457
  function J(d, E) {
1458
- for (var x = d.length; x--; )
1459
- if (Se(d[x][0], E))
1460
- return x;
1458
+ for (var P = d.length; P--; )
1459
+ if (Se(d[P][0], E))
1460
+ return P;
1461
1461
  return -1;
1462
1462
  }
1463
1463
  function ee(d, E) {
1464
- E = Te(E, d) ? [E] : Ie(E);
1465
- for (var x = 0, G = E.length; d != null && x < G; )
1466
- d = d[Ne(E[x++])];
1467
- return x && x == G ? d : void 0;
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;
1468
1468
  }
1469
- function ke(d) {
1469
+ function Ie(d) {
1470
1470
  if (!he(d) || _e(d))
1471
1471
  return !1;
1472
1472
  var E = Le(d) || f(d) ? V : A;
1473
1473
  return E.test(le(d));
1474
1474
  }
1475
- function Pe(d) {
1475
+ function xe(d) {
1476
1476
  if (typeof d == "string")
1477
1477
  return d;
1478
1478
  if (h(d))
1479
- return $ ? $.call(d) : "";
1479
+ return U ? U.call(d) : "";
1480
1480
  var E = d + "";
1481
1481
  return E == "0" && 1 / d == -1 / 0 ? "-0" : E;
1482
1482
  }
1483
- function Ie(d) {
1483
+ function ke(d) {
1484
1484
  return Oe(d) ? d : Ce(d);
1485
1485
  }
1486
1486
  function me(d, E) {
1487
- var x = d.__data__;
1488
- return Re(E) ? x[typeof E == "string" ? "string" : "hash"] : x.map;
1487
+ var P = d.__data__;
1488
+ return Re(E) ? P[typeof E == "string" ? "string" : "hash"] : P.map;
1489
1489
  }
1490
- function xe(d, E) {
1491
- var x = S(d, E);
1492
- return ke(x) ? x : void 0;
1490
+ function Pe(d, E) {
1491
+ var P = S(d, E);
1492
+ return Ie(P) ? P : void 0;
1493
1493
  }
1494
1494
  function Te(d, E) {
1495
1495
  if (Oe(d))
1496
1496
  return !1;
1497
- var x = typeof d;
1498
- return x == "number" || x == "symbol" || x == "boolean" || d == null || h(d) ? !0 : m.test(d) || !o.test(d) || E != null && d in Object(E);
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
1499
  }
1500
1500
  function Re(d) {
1501
1501
  var E = typeof d;
1502
1502
  return E == "string" || E == "number" || E == "symbol" || E == "boolean" ? d !== "__proto__" : d === null;
1503
1503
  }
1504
1504
  function _e(d) {
1505
- return !!P && P in d;
1505
+ return !!x && x in d;
1506
1506
  }
1507
1507
  var Ce = fe(function(d) {
1508
1508
  d = g(d);
1509
1509
  var E = [];
1510
- return l.test(d) && E.push(""), d.replace(p, function(x, G, ae, K) {
1511
- E.push(ae ? K.replace(w, "$1") : G || x);
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
1512
  }), E;
1513
1513
  });
1514
1514
  function Ne(d) {
@@ -1520,7 +1520,7 @@ function yt() {
1520
1520
  function le(d) {
1521
1521
  if (d != null) {
1522
1522
  try {
1523
- return I.call(d);
1523
+ return k.call(d);
1524
1524
  } catch {
1525
1525
  }
1526
1526
  try {
@@ -1533,14 +1533,14 @@ function yt() {
1533
1533
  function fe(d, E) {
1534
1534
  if (typeof d != "function" || E && typeof E != "function")
1535
1535
  throw new TypeError(e);
1536
- var x = function() {
1537
- var G = arguments, ae = E ? E.apply(this, G) : G[0], K = x.cache;
1536
+ var P = function() {
1537
+ var G = arguments, ae = E ? E.apply(this, G) : G[0], K = P.cache;
1538
1538
  if (K.has(ae))
1539
1539
  return K.get(ae);
1540
1540
  var O = d.apply(this, G);
1541
- return x.cache = K.set(ae, O), O;
1541
+ return P.cache = K.set(ae, O), O;
1542
1542
  };
1543
- return x.cache = new (fe.Cache || oe)(), x;
1543
+ return P.cache = new (fe.Cache || oe)(), P;
1544
1544
  }
1545
1545
  fe.Cache = oe;
1546
1546
  function Se(d, E) {
@@ -1562,23 +1562,23 @@ function yt() {
1562
1562
  return typeof d == "symbol" || ge(d) && M.call(d) == n;
1563
1563
  }
1564
1564
  function g(d) {
1565
- return d == null ? "" : Pe(d);
1565
+ return d == null ? "" : xe(d);
1566
1566
  }
1567
- function D(d, E, x) {
1567
+ function D(d, E, P) {
1568
1568
  var G = d == null ? void 0 : ee(d, E);
1569
- return G === void 0 ? x : G;
1569
+ return G === void 0 ? P : G;
1570
1570
  }
1571
1571
  return fr = D, fr;
1572
1572
  }
1573
1573
  var ht = yt();
1574
- const Ue = /* @__PURE__ */ mr(ht);
1574
+ const je = /* @__PURE__ */ mr(ht);
1575
1575
  var dr, Dr;
1576
1576
  function gt() {
1577
1577
  if (Dr) return dr;
1578
1578
  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 + "]", P = "[" + l + "]", I = "[^" + t + i + v + m + l + u + "]", N = "\\ud83c[\\udffb-\\udfff]", M = "(?:" + b + "|" + N + ")", V = "[^" + t + "]", U = "(?:\\ud83c[\\udde6-\\uddff]){2}", L = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + u + "]", T = "\\u200d", R = "(?:" + P + "|" + I + ")", $ = "(?:" + F + "|" + I + ")", z = "(?:" + S + "(?:d|ll|m|re|s|t|ve))?", _ = "(?:" + S + "(?:D|LL|M|RE|S|T|VE))?", Z = M + "?", Q = "[" + s + "]?", ne = "(?:" + T + "(?:" + [V, U, L].join("|") + ")" + Q + Z + ")*", X = Q + Z + ne, W = "(?:" + [C, U, L].join("|") + ")" + X, ie = "(?:" + [V + b + "?", b, U, L, f].join("|") + ")", re = RegExp(S, "g"), te = RegExp(b, "g"), ce = RegExp(N + "(?=" + N + ")|" + ie + X, "g"), ue = RegExp([
1580
- F + "?" + P + "+" + z + "(?=" + [c, F, "$"].join("|") + ")",
1581
- $ + "+" + _ + "(?=" + [c, F + R, "$"].join("|") + ")",
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([
1580
+ F + "?" + x + "+" + z + "(?=" + [c, F, "$"].join("|") + ")",
1581
+ U + "+" + _ + "(?=" + [c, F + R, "$"].join("|") + ")",
1582
1582
  F + "?" + R + "+" + z,
1583
1583
  F + "+" + _,
1584
1584
  v,
@@ -1785,19 +1785,19 @@ function gt() {
1785
1785
  function ee(O) {
1786
1786
  return O.split("");
1787
1787
  }
1788
- function ke(O) {
1788
+ function Ie(O) {
1789
1789
  return O.match(r) || [];
1790
1790
  }
1791
- function Pe(O) {
1791
+ function xe(O) {
1792
1792
  return function(B) {
1793
1793
  return O?.[B];
1794
1794
  };
1795
1795
  }
1796
- var Ie = Pe(pe);
1796
+ var ke = xe(pe);
1797
1797
  function me(O) {
1798
1798
  return oe.test(O);
1799
1799
  }
1800
- function xe(O) {
1800
+ function Pe(O) {
1801
1801
  return de.test(O);
1802
1802
  }
1803
1803
  function Te(O) {
@@ -1851,17 +1851,17 @@ function gt() {
1851
1851
  return O == null ? "" : Le(O);
1852
1852
  }
1853
1853
  var E = h(function(O, B, j) {
1854
- return B = B.toLowerCase(), O + (j ? x(B) : B);
1854
+ return B = B.toLowerCase(), O + (j ? P(B) : B);
1855
1855
  });
1856
- function x(O) {
1856
+ function P(O) {
1857
1857
  return ae(d(O).toLowerCase());
1858
1858
  }
1859
1859
  function G(O) {
1860
- return O = d(O), O && O.replace(a, Ie).replace(te, "");
1860
+ return O = d(O), O && O.replace(a, ke).replace(te, "");
1861
1861
  }
1862
1862
  var ae = ge("toUpperCase");
1863
1863
  function K(O, B, j) {
1864
- return O = d(O), B = B, B === void 0 ? xe(O) ? _e(O) : ke(O) : O.match(B) || [];
1864
+ return O = d(O), B = B, B === void 0 ? Pe(O) ? _e(O) : Ie(O) : O.match(B) || [];
1865
1865
  }
1866
1866
  return dr = E, dr;
1867
1867
  }
@@ -1881,14 +1881,14 @@ function bt() {
1881
1881
  return ve.isBrowser = r, ve.isWebWorker = t, ve.isNode = a, ve.isJsDom = n, ve.isDeno = o, ve;
1882
1882
  }
1883
1883
  bt();
1884
- const k = {}, De = {};
1885
- k.loadExternalScript = function(e) {
1886
- if (De[e])
1887
- return De[e];
1888
- const r = De[e] = new Promise(a);
1884
+ const I = {}, Ge = {};
1885
+ I.loadExternalScript = function(e) {
1886
+ if (Ge[e])
1887
+ return Ge[e];
1888
+ const r = Ge[e] = new Promise(a);
1889
1889
  function a(t, n) {
1890
1890
  if (!document)
1891
- return delete De[e], n("document is undefined");
1891
+ return delete Ge[e], n("document is undefined");
1892
1892
  var o = document.createElement("script");
1893
1893
  o.type = "text/javascript", o.async = !0, o.onload = function() {
1894
1894
  return console.log("Loaded external script", e), t(e);
@@ -1897,7 +1897,7 @@ k.loadExternalScript = function(e) {
1897
1897
  return r;
1898
1898
  };
1899
1899
  const Vr = {};
1900
- k.loadExternalStyle = function(e) {
1900
+ I.loadExternalStyle = function(e) {
1901
1901
  const r = new Promise(a);
1902
1902
  function a(t, n) {
1903
1903
  if (!document)
@@ -1912,7 +1912,7 @@ k.loadExternalStyle = function(e) {
1912
1912
  }
1913
1913
  return r;
1914
1914
  };
1915
- k.exists = function(e) {
1915
+ I.exists = function(e) {
1916
1916
  var r;
1917
1917
  if (Array.isArray(e) || e === 0)
1918
1918
  return !0;
@@ -1934,7 +1934,7 @@ k.exists = function(e) {
1934
1934
  }
1935
1935
  return !r;
1936
1936
  };
1937
- k.parseDate = function(e) {
1937
+ I.parseDate = function(e) {
1938
1938
  if (e) {
1939
1939
  if (e instanceof Date)
1940
1940
  return e;
@@ -1943,12 +1943,12 @@ k.parseDate = function(e) {
1943
1943
  return r;
1944
1944
  }
1945
1945
  };
1946
- k.parseURL = function(e) {
1946
+ I.parseURL = function(e) {
1947
1947
  if (!e)
1948
1948
  return !1;
1949
1949
  if (e.startsWith("/") || e.startsWith("://") || e.startsWith("mailto:") || e.startsWith("tel:") || e.startsWith("sms:"))
1950
1950
  return e;
1951
- var a = k.parseEmail(e);
1951
+ var a = I.parseEmail(e);
1952
1952
  if (a && a === e)
1953
1953
  return `mailto:${a}`;
1954
1954
  const t = (o) => /^https?:\/\//i.test(o) ? o : `http://${o}`;
@@ -1959,16 +1959,16 @@ k.parseURL = function(e) {
1959
1959
  ).test(e);
1960
1960
  return n ? t(e) : !1;
1961
1961
  };
1962
- k.parseNumber = function(e, r) {
1962
+ I.parseNumber = function(e, r) {
1963
1963
  if (!e || (e = Number(e), isNaN(e)))
1964
1964
  return 0;
1965
1965
  if (r) {
1966
1966
  var a = e.toFixed(r);
1967
- e = k.parseNumber(a);
1967
+ e = I.parseNumber(a);
1968
1968
  }
1969
1969
  return e;
1970
1970
  };
1971
- k.isValidEmailAddress = function(e) {
1971
+ I.isValidEmailAddress = function(e) {
1972
1972
  var r = /^[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;
1973
1973
  if (!e) return !1;
1974
1974
  var a = e.split("@");
@@ -1981,48 +1981,48 @@ k.isValidEmailAddress = function(e) {
1981
1981
  return m.length > 63;
1982
1982
  }) || !r.test(e));
1983
1983
  };
1984
- k.parseEmail = function(e) {
1984
+ I.parseEmail = function(e) {
1985
1985
  if (!e)
1986
1986
  return !1;
1987
- var r = String(e).toLowerCase(), a = k.isValidEmailAddress(r);
1987
+ var r = String(e).toLowerCase(), a = I.isValidEmailAddress(r);
1988
1988
  return a ? r : !1;
1989
1989
  };
1990
- k.parseInt = function(e) {
1990
+ I.parseInt = function(e) {
1991
1991
  return !e || (e = parseInt(e), isNaN(e)) ? 0 : e;
1992
1992
  };
1993
- k.cleanValue = function(e, r, a) {
1993
+ I.cleanValue = function(e, r, a) {
1994
1994
  a || (a = {});
1995
- var t = k.exists(e);
1995
+ var t = I.exists(e);
1996
1996
  if (a.strict && t && r != "boolean")
1997
1997
  return e;
1998
1998
  switch (r) {
1999
1999
  case "reference":
2000
- return k.id(e, !0);
2000
+ return I.id(e, !0);
2001
2001
  case "boolean":
2002
- return k.parseBoolean(e);
2002
+ return I.parseBoolean(e);
2003
2003
  case "url":
2004
- return k.parseURL(e);
2004
+ return I.parseURL(e);
2005
2005
  case "key":
2006
- return k.machineName(e);
2006
+ return I.machineName(e);
2007
2007
  case "email":
2008
- return k.parseEmail(e);
2008
+ return I.parseEmail(e);
2009
2009
  case "date":
2010
- var n = k.parseDate(e, a);
2010
+ var n = I.parseDate(e, a);
2011
2011
  return n === void 0 ? void 0 : n;
2012
2012
  case "number":
2013
2013
  case "decimal":
2014
2014
  case "float":
2015
- var o = k.parseNumber(e);
2015
+ var o = I.parseNumber(e);
2016
2016
  return String(o) == String(Number(e)) ? o : void 0;
2017
2017
  case "integer":
2018
- var o = k.parseInt(e);
2018
+ var o = I.parseInt(e);
2019
2019
  return String(o) == String(parseInt(e)) ? o : void 0;
2020
2020
  case "group":
2021
2021
  return e;
2022
2022
  case "object":
2023
2023
  return typeof e == "object" && e !== null && !Array.isArray(e) ? e : void 0;
2024
2024
  case "string":
2025
- if (k.exists(e)) {
2025
+ if (I.exists(e)) {
2026
2026
  var m = String(e);
2027
2027
  return m == "[object Object]" ? void 0 : m;
2028
2028
  } else
@@ -2042,39 +2042,39 @@ k.cleanValue = function(e, r, a) {
2042
2042
  return String(e);
2043
2043
  }
2044
2044
  };
2045
- k.isValidValue = function(e, r, a) {
2046
- var t = k.exists(e), n = typeof e == "number", o = !1;
2045
+ I.isValidValue = function(e, r, a) {
2046
+ var t = I.exists(e), n = typeof e == "number", o = !1;
2047
2047
  if (!t)
2048
2048
  return !1;
2049
2049
  switch (r) {
2050
2050
  case "url":
2051
- a ? o = e.startsWith("/") || e.startsWith("://") || e.startsWith("http://") || e.startsWith("https://") : o = String(e) === k.parseURL(e);
2051
+ a ? o = e.startsWith("/") || e.startsWith("://") || e.startsWith("http://") || e.startsWith("https://") : o = String(e) === I.parseURL(e);
2052
2052
  break;
2053
2053
  case "key":
2054
- o = String(e) === k.machineName(e);
2054
+ o = String(e) === I.machineName(e);
2055
2055
  break;
2056
2056
  case "date":
2057
2057
  if (a && (typeof e != "object" || !(e instanceof Date)))
2058
2058
  return !1;
2059
- var m = k.parseDate(e);
2059
+ var m = I.parseDate(e);
2060
2060
  return m !== void 0;
2061
2061
  case "email":
2062
- a ? o = e === k.parseEmail(e) : o = String(e).toLowerCase() === k.parseEmail(e);
2062
+ a ? o = e === I.parseEmail(e) : o = String(e).toLowerCase() === I.parseEmail(e);
2063
2063
  break;
2064
2064
  case "number":
2065
2065
  case "decimal":
2066
2066
  case "float":
2067
- a ? o = n && Number(e) === k.parseNumber(e) : o = Number(e) === k.parseNumber(e);
2067
+ a ? o = n && Number(e) === I.parseNumber(e) : o = Number(e) === I.parseNumber(e);
2068
2068
  break;
2069
2069
  case "integer":
2070
- a ? o = n && Number(e) === k.parseInt(e) : o = Number(e) === k.parseInt(e);
2070
+ a ? o = n && Number(e) === I.parseInt(e) : o = Number(e) === I.parseInt(e);
2071
2071
  break;
2072
2072
  case "boolean":
2073
- var m = k.parseBoolean(e);
2073
+ var m = I.parseBoolean(e);
2074
2074
  a ? (e === !0 || e === !1) && (o = e === m) : o = m === !0 || m === !1;
2075
2075
  break;
2076
2076
  case "reference":
2077
- a ? o = String(e) === k.id(e) : o = !!k.id(e);
2077
+ a ? o = String(e) === I.id(e) : o = !!I.id(e);
2078
2078
  break;
2079
2079
  case "string":
2080
2080
  var l = String(e);
@@ -2094,7 +2094,7 @@ k.isValidValue = function(e, r, a) {
2094
2094
  }
2095
2095
  return o;
2096
2096
  };
2097
- k.parseBoolean = function(e) {
2097
+ I.parseBoolean = function(e) {
2098
2098
  switch (String(e).toLowerCase()) {
2099
2099
  case "true":
2100
2100
  case "y":
@@ -2117,10 +2117,10 @@ k.parseBoolean = function(e) {
2117
2117
  }
2118
2118
  return !!e;
2119
2119
  };
2120
- k.clone = function(e) {
2120
+ I.clone = function(e) {
2121
2121
  return JSON.parse(JSON.stringify(e));
2122
2122
  };
2123
- k.getAllFields = function(e) {
2123
+ I.getAllFields = function(e) {
2124
2124
  const r = e.definesType === "profile" || e.key === "profile", a = e.definesType === "submission";
2125
2125
  var t = [...e.fields], n = e.definedFields || [];
2126
2126
  if (n.length)
@@ -2172,7 +2172,7 @@ k.getAllFields = function(e) {
2172
2172
  maximum: 1,
2173
2173
  type: "date"
2174
2174
  }));
2175
- var l = k.mapFields(t).filter(function(p) {
2175
+ var l = I.mapFields(t).filter(function(p) {
2176
2176
  var y = p.type == "group" && p.asObject && p.minimum == 1 && p.maximum == 1;
2177
2177
  return !y;
2178
2178
  }).map(function(p) {
@@ -2182,12 +2182,12 @@ k.getAllFields = function(e) {
2182
2182
  });
2183
2183
  return l;
2184
2184
  };
2185
- k.mapFields = function(e, r) {
2185
+ I.mapFields = function(e, r) {
2186
2186
  r || (r = {});
2187
2187
  var a = [], t = [], n = [], o = 1, m = r.depth, l = r.arrayDelimeter || "[]";
2188
2188
  e.forEach(p);
2189
2189
  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 : k.clone(y);
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
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
2192
  var b = m && o >= m;
2193
2193
  if (y.fields && y.fields.length)
@@ -2203,7 +2203,7 @@ k.mapFields = function(e, r) {
2203
2203
  }
2204
2204
  return a;
2205
2205
  };
2206
- k.mapParameters = function(e) {
2206
+ I.mapParameters = function(e) {
2207
2207
  e = e || {};
2208
2208
  var r = [];
2209
2209
  return Object.entries(e).forEach(function([a, t]) {
@@ -2212,13 +2212,13 @@ k.mapParameters = function(e) {
2212
2212
  }) : r.push(encodeURIComponent(a) + "=" + encodeURIComponent(t)));
2213
2213
  }), r.join("&");
2214
2214
  };
2215
- k.formatCurrency = function(e, r, a) {
2215
+ I.formatCurrency = function(e, r, a) {
2216
2216
  (!e || isNaN(e)) && (e = 0), a = a || 2;
2217
- var t = k.currencySymbol(r);
2217
+ var t = I.currencySymbol(r);
2218
2218
  return `${t}${parseFloat(Number(e) / 100).toFixed(a)}`;
2219
2219
  };
2220
- k.getTypeFromID = function(e) {
2221
- if (e = k.id(e), !e)
2220
+ I.getTypeFromID = function(e) {
2221
+ if (e = I.id(e), !e)
2222
2222
  return;
2223
2223
  const r = {
2224
2224
  21: "organisation",
@@ -2280,73 +2280,52 @@ k.getTypeFromID = function(e) {
2280
2280
  var a = e.slice(8, 10);
2281
2281
  return r[a];
2282
2282
  };
2283
- k.currencySymbol = function(e) {
2284
- switch (e = String(e).toLowerCase(), String(e).toLowerCase()) {
2285
- case "gbp":
2286
- return "£";
2287
- case "eur":
2288
- return "€";
2289
- default:
2290
- return "$";
2291
- }
2283
+ const St = { gbp: "£", eur: "€" };
2284
+ I.currencySymbol = function(e) {
2285
+ return St[String(e).toLowerCase()] || "$";
2292
2286
  };
2293
- k.getAvailableCurrencies = function(e) {
2294
- var r = [];
2295
- if (r.push({
2296
- name: `USD (${k.currencySymbol("usd")})`,
2297
- value: "usd",
2298
- countryCode: { US: !0 }
2299
- }), r.push({
2300
- name: `GBP (${k.currencySymbol("gbp")})`,
2301
- value: "gbp",
2302
- countryCode: { GB: !0, UK: !0 }
2303
- }), r.push({
2304
- name: `CAD (${k.currencySymbol("cad")})`,
2305
- value: "cad",
2306
- countryCode: { CA: !0 }
2307
- }), r.push({
2308
- name: `AUD (${k.currencySymbol("aud")})`,
2309
- value: "aud",
2310
- countryCode: { AU: !0 }
2311
- }), r.push({
2312
- name: `NZD (${k.currencySymbol("nzd")})`,
2313
- value: "nzd",
2314
- countryCode: { NZ: !0 }
2315
- }), r.push({
2316
- name: `SGD (${k.currencySymbol("sgd")})`,
2317
- value: "sgd",
2318
- countryCode: { SG: !0 }
2319
- }), e) {
2320
- var a = r.findIndex(function(n) {
2321
- return n.countryCode[e];
2322
- });
2323
- const t = (n, o, m) => {
2324
- const l = [...n];
2325
- return l.splice(m, 0, ...l.splice(o, 1)), l;
2326
- };
2327
- a != -1 && (r = t(r, a, 0));
2287
+ const wt = [
2288
+ { code: "usd", countries: ["US"] },
2289
+ { code: "gbp", countries: ["GB", "UK"] },
2290
+ { code: "cad", countries: ["CA"] },
2291
+ { code: "aud", countries: ["AU"] },
2292
+ { code: "nzd", countries: ["NZ"] },
2293
+ { code: "sgd", countries: ["SG"] }
2294
+ ];
2295
+ I.getAvailableCurrencies = function(e) {
2296
+ let r = wt.map(({ code: a, countries: t }) => ({
2297
+ name: `${a.toUpperCase()} (${I.currencySymbol(a)})`,
2298
+ value: a,
2299
+ countryCode: Object.fromEntries(t.map((n) => [n, !0]))
2300
+ }));
2301
+ if (e) {
2302
+ const a = r.findIndex((t) => t.countryCode[e]);
2303
+ if (a > 0) {
2304
+ const [t] = r.splice(a, 1);
2305
+ r.unshift(t);
2306
+ }
2328
2307
  }
2329
2308
  return r;
2330
2309
  };
2331
- k.hash = function(e, r) {
2310
+ I.hash = function(e, r) {
2332
2311
  return e = Array.isArray(e) ? e : [], e.reduce(function(a, t) {
2333
- const n = r ? Ue(t, r) : t;
2312
+ const n = r ? je(t, r) : t;
2334
2313
  return a[n] = t, a;
2335
2314
  }, {});
2336
2315
  };
2337
- k.extractFromArray = function(e, r, a, t, n, o, m) {
2316
+ I.extractFromArray = function(e, r, a, t, n, o, m) {
2338
2317
  m = m || {}, a && (m.sum = a), t && (m.flatten = !0), n && (m.unique = !0), o && (m.excludeNull = !0);
2339
2318
  var l = e.reduce(function(p, y) {
2340
- var w = Ue(y, r), A = !w && w !== !1 && w !== 0;
2319
+ var w = je(y, r), A = !w && w !== !1 && w !== 0;
2341
2320
  return m.excludeNull && A || p.push(w), p;
2342
2321
  }, []);
2343
2322
  return m.flatten && (l = l.flat()), m.unique && (l = [...new Set(l)]), m.sum && (l = l.reduce(function(p, y) {
2344
2323
  return p + y;
2345
2324
  }, 0)), l;
2346
2325
  };
2347
- k.matchInArray = function(e, r, a, t) {
2326
+ I.matchInArray = function(e, r, a, t) {
2348
2327
  var n = e.filter(function(o) {
2349
- var m = Ue(o, r), l;
2328
+ var m = je(o, r), l;
2350
2329
  switch (t) {
2351
2330
  case "in":
2352
2331
  l = m.includes(a);
@@ -2372,84 +2351,85 @@ k.matchInArray = function(e, r, a, t) {
2372
2351
  });
2373
2352
  return n;
2374
2353
  };
2375
- k.comma = function(e, r, a) {
2354
+ I.comma = function(e, r, a) {
2376
2355
  return a && (e = e.slice(0, a)), e.filter(function(t) {
2377
2356
  return t != null && t !== void 0 && t !== "";
2378
2357
  }).map(function(t) {
2379
- return r && r.length ? Ue(t, r) : t;
2358
+ return r && r.length ? je(t, r) : t;
2380
2359
  }).join(", ");
2381
2360
  };
2382
- k.id = function(e) {
2361
+ I.id = function(e) {
2383
2362
  if (e) {
2384
2363
  var r;
2385
2364
  e._id ? r = String(e._id) : r = String(e);
2386
- var a = k.isValidID(r);
2365
+ var a = I.isValidID(r);
2387
2366
  if (a)
2388
2367
  return r;
2389
2368
  }
2390
2369
  };
2391
- k.ids = function(e) {
2370
+ I.ids = function(e) {
2392
2371
  if (!e)
2393
2372
  return [];
2394
2373
  var r = Object.keys(
2395
2374
  e.reduce(function(a, t) {
2396
2375
  if (!t)
2397
2376
  return a;
2398
- var n = k.id(t);
2377
+ var n = I.id(t);
2399
2378
  return n && (a[n] = 1), a;
2400
2379
  }, {})
2401
2380
  );
2402
2381
  return r;
2403
2382
  };
2404
- k.isValidID = function(e) {
2383
+ I.isValidID = function(e) {
2405
2384
  var r = new RegExp("^[0-9a-fA-F]{24}$");
2406
2385
  return r.test(String(e));
2407
2386
  };
2408
- k.errorMessage = function(e) {
2409
- if (e) {
2410
- Array.isArray(e) && (e = e[0]);
2411
- var r = ["response.data.message", "response.data", "message"], a;
2412
- return r.forEach(function(t) {
2413
- if (!a) {
2414
- var n = Ue(e, t);
2415
- n && (a = n);
2416
- }
2417
- }), Array.isArray(a) && (a = a[0]), a = a || JSON.stringify(e), a;
2418
- }
2387
+ I.errorMessage = function(e) {
2388
+ if (!e)
2389
+ return;
2390
+ Array.isArray(e) && (e = e[0]);
2391
+ let r = e?.response?.data?.message || (typeof e?.response?.data == "string" ? e.response.data : null) || e?.message || null;
2392
+ return Array.isArray(r) && (r = r[0]), r || JSON.stringify(e);
2419
2393
  };
2420
- k.guid = function() {
2421
- var e = (/* @__PURE__ */ new Date()).getTime().toString(16) + Math.random().toString(16).substring(2) + "0".repeat(16);
2422
- return e.substr(0, 8) + "-" + e.substr(8, 4) + "-4000-8" + e.substr(12, 3) + "-" + e.substr(15, 12);
2394
+ I.guid = function() {
2395
+ return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
2396
+ const r = Math.random() * 16 | 0;
2397
+ return (e === "x" ? r : r & 3 | 8).toString(16);
2398
+ });
2423
2399
  };
2424
- k.machineName = function(e) {
2400
+ I.machineName = function(e) {
2425
2401
  if (!(!e || !e.length)) {
2426
2402
  var r = /[^a-zA-Z0-9-_]+/g;
2427
2403
  return String(e).replace(r, " ").split("_").map((a) => At(a)).join("_");
2428
2404
  }
2429
2405
  };
2430
- function je() {
2431
- var e = {}, r = {};
2432
- return r.removeAllListeners = function() {
2433
- e = {};
2434
- }, r.dispatch = function(a, t) {
2435
- e[a] && e[a].forEach(function(n) {
2436
- return n(t);
2437
- });
2438
- }, r.addEventListener = function(a, t) {
2439
- e[a] || (e[a] = []);
2440
- const n = typeof t;
2441
- if (n !== "function")
2442
- throw new Error(
2443
- `addEventListener() requires a function but ${n} was added`
2444
- );
2445
- e[a].indexOf(t) == -1 && e[a].push(t);
2446
- }, r.removeEventListener = function(a, t) {
2447
- e[a] || (e[a] = []);
2448
- var n = e[a].indexOf(t);
2449
- n != -1 && e[a].splice(n, 1);
2450
- }, r.bootstrap = function(a) {
2451
- a && (a.dispatch = r.dispatch, a.addEventListener = r.addEventListener, a.removeEventListener = r.removeEventListener, a.removeAllListeners = r.removeAllListeners);
2452
- }, r;
2406
+ function De() {
2407
+ const e = /* @__PURE__ */ new Map(), r = {
2408
+ dispatch(a, t) {
2409
+ const n = e.get(a);
2410
+ if (n)
2411
+ for (const o of n)
2412
+ o(t);
2413
+ },
2414
+ addEventListener(a, t) {
2415
+ if (typeof t != "function")
2416
+ throw new TypeError(
2417
+ `Expected a function for addEventListener, received ${typeof t}`
2418
+ );
2419
+ e.has(a) || e.set(a, /* @__PURE__ */ new Set()), e.get(a).add(t);
2420
+ },
2421
+ removeEventListener(a, t) {
2422
+ const n = e.get(a);
2423
+ n && (n.delete(t), n.size === 0 && e.delete(a));
2424
+ },
2425
+ removeAllListeners() {
2426
+ e.clear();
2427
+ },
2428
+ bootstrap(a) {
2429
+ a && (a.dispatch = r.dispatch, a.addEventListener = r.addEventListener, a.removeEventListener = r.removeEventListener, a.removeAllListeners = r.removeAllListeners);
2430
+ }
2431
+ };
2432
+ return r;
2453
2433
  }
2454
2434
  class Ve {
2455
2435
  constructor() {
@@ -2531,7 +2511,7 @@ class zr extends Ve {
2531
2511
  return !0;
2532
2512
  }
2533
2513
  }
2534
- class St extends Ve {
2514
+ class Et extends Ve {
2535
2515
  constructor(r = {}) {
2536
2516
  super(), this.options = {
2537
2517
  domain: r.domain || this._detectDomain(),
@@ -2627,17 +2607,17 @@ class St extends Ve {
2627
2607
  return { ...this.options };
2628
2608
  }
2629
2609
  }
2630
- function wt(e = {}) {
2610
+ function xt(e = {}) {
2631
2611
  if (e.useHttpOnlyCookies) {
2632
- const r = new St(e.cookieConfig);
2612
+ const r = new Et(e.cookieConfig);
2633
2613
  return r.isAvailable() ? r : (console.warn("Qik SDK: Cookies not available, falling back to localStorage mode"), new zr());
2634
2614
  }
2635
2615
  return new zr();
2636
2616
  }
2637
- var Et = function(e) {
2617
+ var Pt = function(e) {
2638
2618
  if (!e.api)
2639
2619
  throw new Error("Please ensure that QikAPI exists before QikAuth");
2640
- const r = wt({
2620
+ const r = xt({
2641
2621
  useHttpOnlyCookies: e.useHttpOnlyCookies,
2642
2622
  cookieConfig: e.cookieConfig
2643
2623
  }), a = 10, t = {
@@ -2650,7 +2630,7 @@ var Et = function(e) {
2650
2630
  },
2651
2631
  enumerable: !0
2652
2632
  });
2653
- const n = new je();
2633
+ const n = new De();
2654
2634
  n.bootstrap(t);
2655
2635
  function o(l) {
2656
2636
  var p = r.getUser();
@@ -2687,15 +2667,15 @@ var Et = function(e) {
2687
2667
  function A(u, s) {
2688
2668
  if (!l)
2689
2669
  return s({
2690
- message: "Missing credentials!"
2670
+ message: "Login requires an email and password"
2691
2671
  });
2692
2672
  if (!l.email || !l.email.length)
2693
2673
  return s({
2694
- message: "Username was not provided"
2674
+ message: "An email address is required to log in"
2695
2675
  });
2696
2676
  if (!l.password || !l.password.length)
2697
2677
  return s({
2698
- message: "Password was not provided"
2678
+ message: "A password is required to log in"
2699
2679
  });
2700
2680
  var i = {
2701
2681
  bypassInterceptor: !0
@@ -2715,31 +2695,31 @@ var Et = function(e) {
2715
2695
  function A(u, s) {
2716
2696
  if (!l)
2717
2697
  return s({
2718
- message: "No details provided"
2698
+ message: "Signup details are required"
2719
2699
  });
2720
2700
  if (!l.firstName || !l.firstName.length)
2721
2701
  return s({
2722
- message: "First Name was not provided"
2702
+ message: "Please provide a first name"
2723
2703
  });
2724
2704
  if (!l.lastName || !l.lastName.length)
2725
2705
  return s({
2726
- message: "Last Name was not provided"
2706
+ message: "Please provide a last name"
2727
2707
  });
2728
2708
  if (!l.email || !l.email.length)
2729
2709
  return s({
2730
- message: "Email/Username was not provided"
2710
+ message: "An email address is required to sign up"
2731
2711
  });
2732
2712
  if (!l.password || !l.password.length)
2733
2713
  return s({
2734
- message: "Password was not provided"
2714
+ message: "A password is required to sign up"
2735
2715
  });
2736
2716
  if (!l.confirmPassword || !l.confirmPassword.length)
2737
2717
  return s({
2738
- message: "Confirm Password was not provided"
2718
+ message: "Please confirm your password"
2739
2719
  });
2740
2720
  if (l.confirmPassword != l.password)
2741
2721
  return s({
2742
- message: "Your passwords do not match"
2722
+ message: "Password and confirmation do not match"
2743
2723
  });
2744
2724
  var i = {
2745
2725
  bypassInterceptor: !0
@@ -2774,14 +2754,14 @@ var Et = function(e) {
2774
2754
  });
2775
2755
  }, t.sendResetPasswordRequest = function(l, p) {
2776
2756
  return p || (p = {}), l ? !l.email || !l.email.length ? Promise.reject({
2777
- message: "Email is required but was not provided"
2757
+ message: "An email address is required for password reset"
2778
2758
  }) : new Promise(function(y, w) {
2779
2759
  var A = {
2780
2760
  bypassInterceptor: !0
2781
2761
  };
2782
2762
  e.api.post(p.url || `${e.apiURL}/user/forgot`, l, A).then(y, w);
2783
2763
  }) : Promise.reject({
2784
- message: "No details were provided for password reset request"
2764
+ message: "Please provide your account details to reset your password"
2785
2765
  });
2786
2766
  }, t.ensureValidToken = async function(l) {
2787
2767
  var p = t.getCurrentUser();
@@ -2996,7 +2976,7 @@ q.filterChangeString = function(e) {
2996
2976
  var r = q.activeFilters(e);
2997
2977
  return JSON.stringify(r);
2998
2978
  };
2999
- function Pt(e) {
2979
+ function Ct(e) {
3000
2980
  var r = {};
3001
2981
  return r.downloadUrl = function(a, t, n, o) {
3002
2982
  return o = o || {}, n = n || {}, n.download = !0, t = e.utils.id(t), e.api.generateEndpointURL(`/${a}/${t}`, n, o);
@@ -3050,14 +3030,14 @@ function Pt(e) {
3050
3030
  }
3051
3031
  }, r;
3052
3032
  }
3053
- var $e = {}, xt = {
3033
+ var Ue = {}, Ot = {
3054
3034
  ///////////////////////////////////////////////////
3055
3035
  /**
3056
3036
  * A helper function to reset all caches, useful if changing organisation or logging in or out as another user
3057
3037
  * @alias cache.reset
3058
3038
  */
3059
3039
  reset() {
3060
- Object.entries($e).forEach(([e, r]) => {
3040
+ Object.entries(Ue).forEach(([e, r]) => {
3061
3041
  r.clear ? r.clear() : r.reset && r.reset();
3062
3042
  });
3063
3043
  },
@@ -3069,9 +3049,9 @@ var $e = {}, xt = {
3069
3049
  * @return {LRUCache} The cache store for the specified key
3070
3050
  */
3071
3051
  get(e, r) {
3072
- return r = r || { max: 5 }, $e[e] || ($e[e] = new qr(r)), $e[e];
3052
+ return r = r || { max: 5 }, Ue[e] || (Ue[e] = new qr(r)), Ue[e];
3073
3053
  }
3074
- }, Ct = function(e) {
3054
+ }, Mt = function(e) {
3075
3055
  if (!e.auth)
3076
3056
  throw new Error(
3077
3057
  "Can't Instantiate QikAccess before QikAccess has been initialized"
@@ -3317,7 +3297,7 @@ var $e = {}, xt = {
3317
3297
  );
3318
3298
  }, r;
3319
3299
  };
3320
- function Ot(e) {
3300
+ function It(e) {
3321
3301
  if (!e.api)
3322
3302
  throw new Error("Can't Instantiate QikContent before QikAPI exists");
3323
3303
  var r = {
@@ -3355,8 +3335,8 @@ function Ot(e) {
3355
3335
  if (Array.isArray(b)) return b.map(S);
3356
3336
  if (b && typeof b == "object") {
3357
3337
  const v = {};
3358
- for (const [C, P] of Object.entries(b))
3359
- v[s[C] || C] = S(P);
3338
+ for (const [C, x] of Object.entries(b))
3339
+ v[s[C] || C] = S(x);
3360
3340
  return v;
3361
3341
  }
3362
3342
  return b;
@@ -3374,12 +3354,12 @@ function Ot(e) {
3374
3354
  var f = u.refresh || u.reload || !s;
3375
3355
  if (f) {
3376
3356
  if (!o) {
3377
- let P = function() {
3357
+ let x = function() {
3378
3358
  o = null, r.loadingGlossary = !1;
3379
3359
  };
3380
3360
  r.loadingGlossary = !0;
3381
3361
  const C = S ? "/glossary/compressed" : "/glossary";
3382
- o = e.api.get(C, { cache: !1 }), o.then(P, P);
3362
+ o = e.api.get(C, { cache: !1 }), o.then(x, x);
3383
3363
  }
3384
3364
  const { data: b } = await o, v = b._s && b._k && b.types ? await l(b) : b;
3385
3365
  n.set("glossary", v), s = v, e.dispatch("glossary", v);
@@ -3458,15 +3438,15 @@ function Ot(e) {
3458
3438
  }
3459
3439
  }, r.validateField = function(u, s, i) {
3460
3440
  i = i || {};
3461
- 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, P = e.utils.exists(u);
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);
3462
3442
  if (f) {
3463
- if (!P)
3443
+ if (!x)
3464
3444
  return {
3465
3445
  valid: !1,
3466
3446
  message: `${s.title} is a required field`,
3467
3447
  status: 400
3468
3448
  };
3469
- } else if (!P)
3449
+ } else if (!x)
3470
3450
  return {
3471
3451
  valid: !0
3472
3452
  };
@@ -3481,38 +3461,38 @@ function Ot(e) {
3481
3461
  message: `${s.title} must be provided as an array`,
3482
3462
  status: 400
3483
3463
  });
3484
- var I = u;
3485
- if (I = I.filter(function(T) {
3464
+ var k = u;
3465
+ if (k = k.filter(function(T) {
3486
3466
  var R = T == null || T === "";
3487
3467
  return !R;
3488
- }), f == c && f && I.length != f)
3468
+ }), f == c && f && k.length != f)
3489
3469
  return {
3490
3470
  valid: !1,
3491
3471
  message: `${s.title} requires exactly ${c} values`,
3492
3472
  status: 400
3493
3473
  };
3494
- if (c && I.length > c)
3474
+ if (c && k.length > c)
3495
3475
  return {
3496
3476
  valid: !1,
3497
3477
  message: `${s.title} requires less than ${c + 1} values`,
3498
3478
  status: 400
3499
3479
  };
3500
- if (I.length < f)
3480
+ if (k.length < f)
3501
3481
  return {
3502
3482
  valid: !1,
3503
3483
  message: `${s.title} requires at least ${f} values`,
3504
3484
  status: 400
3505
3485
  };
3506
3486
  var N;
3507
- if (I.find(function(T) {
3487
+ if (k.find(function(T) {
3508
3488
  var R = S;
3509
3489
  s.type === "group" && (R = "object"), s.type === "reference" && s.widget === "form" && (R = "object");
3510
- var $ = e.utils.isValidValue(
3490
+ var U = e.utils.isValidValue(
3511
3491
  T,
3512
3492
  R,
3513
3493
  i.strict
3514
3494
  );
3515
- if (!$)
3495
+ if (!U)
3516
3496
  return N = !0, !0;
3517
3497
  if (s.validation) {
3518
3498
  var z = r.meetsValidationRequirements(
@@ -3532,8 +3512,8 @@ function Ot(e) {
3532
3512
  } else {
3533
3513
  var M = S, V = s.widget;
3534
3514
  M === "group" && (M = "object"), M === "reference" && V === "form" && (M = "object");
3535
- var U = r.getCleanedValue(u, M, i), L = e.utils.isValidValue(
3536
- U,
3515
+ var $ = r.getCleanedValue(u, M, i), L = e.utils.isValidValue(
3516
+ $,
3537
3517
  M,
3538
3518
  i.strict
3539
3519
  );
@@ -3543,7 +3523,7 @@ function Ot(e) {
3543
3523
  message: `Single value '${u}' is not a valid ${M} for ${s.title}`,
3544
3524
  criteria: {
3545
3525
  isValidValue: L,
3546
- cleanedValue: U,
3526
+ cleanedValue: $,
3547
3527
  fieldType: S,
3548
3528
  options: i
3549
3529
  },
@@ -3552,7 +3532,7 @@ function Ot(e) {
3552
3532
  let T = !1;
3553
3533
  const R = {};
3554
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) {
3555
- const $ = Object.assign(
3535
+ const U = Object.assign(
3556
3536
  {},
3557
3537
  R,
3558
3538
  s.validation || {}
@@ -3560,7 +3540,7 @@ function Ot(e) {
3560
3540
  var F = r.meetsValidationRequirements(
3561
3541
  u,
3562
3542
  S,
3563
- $
3543
+ U
3564
3544
  );
3565
3545
  if (F)
3566
3546
  return {
@@ -3643,7 +3623,7 @@ function Ot(e) {
3643
3623
  return s;
3644
3624
  }, r;
3645
3625
  }
3646
- function Mt(e) {
3626
+ function kt(e) {
3647
3627
  var r = {}, a;
3648
3628
  return r.countries = async function() {
3649
3629
  return a || (a = new Promise(async function(t, n) {
@@ -3653,7 +3633,7 @@ function Mt(e) {
3653
3633
  })), a;
3654
3634
  }, r;
3655
3635
  }
3656
- function kt(e) {
3636
+ function Tt(e) {
3657
3637
  var r = {};
3658
3638
  function a() {
3659
3639
  return !(typeof window > "u" || !window.navigator || !window.navigator.geolocation);
@@ -4396,7 +4376,7 @@ function kt(e) {
4396
4376
  }
4397
4377
  }, r;
4398
4378
  }
4399
- const It = function(e, r) {
4379
+ const Rt = function(e, r) {
4400
4380
  if (r = r || "production", !e.auth)
4401
4381
  throw new Error("Can't Instantiate QikSocket before QikAuth exists");
4402
4382
  const a = e.utils.guid();
@@ -4407,11 +4387,11 @@ const It = function(e, r) {
4407
4387
  windowID: a,
4408
4388
  autoreconnect: !0
4409
4389
  }, n, o = {};
4410
- const m = {}, l = new je();
4390
+ const m = {}, l = new De();
4411
4391
  l.bootstrap(t), t.channel = async function(i) {
4412
4392
  if (o[i])
4413
4393
  return o[i];
4414
- const S = new je();
4394
+ const S = new De();
4415
4395
  o[i] = S, t.connected || await t.connect(), t.subscribe(i), t.addEventListener(i, f);
4416
4396
  function f(c) {
4417
4397
  S.dispatch("message", c);
@@ -4490,7 +4470,7 @@ const It = function(e, r) {
4490
4470
  }), delete m[i], l.dispatch("unsubscribe", i), t.debug && console.log(`[socket] - unsubscribed from ${i}`);
4491
4471
  }, t;
4492
4472
  };
4493
- function Nt(e) {
4473
+ function Ft(e) {
4494
4474
  switch (e || (e = {
4495
4475
  // apiURL,
4496
4476
  // applicationToken,
@@ -4507,16 +4487,14 @@ function Nt(e) {
4507
4487
  break;
4508
4488
  }
4509
4489
  const r = Object.assign(e, {
4510
- //Other options
4511
- // domain:'',
4512
4490
  version: vr,
4513
4491
  global: {}
4514
4492
  });
4515
4493
  Object.defineProperty(r, "cache", {
4516
- value: xt,
4494
+ value: Ot,
4517
4495
  writable: !1
4518
4496
  });
4519
- const t = k;
4497
+ const t = I;
4520
4498
  Object.defineProperty(r, "utils", {
4521
4499
  value: t,
4522
4500
  writable: !1
@@ -4524,11 +4502,11 @@ function Nt(e) {
4524
4502
  value: q,
4525
4503
  writable: !1
4526
4504
  });
4527
- const o = new Pt(r);
4505
+ const o = new Ct(r);
4528
4506
  Object.defineProperty(r, "files", {
4529
4507
  value: o,
4530
4508
  writable: !1
4531
- }), new je().bootstrap(r), r.error = function(i) {
4509
+ }), new De().bootstrap(r), r.error = function(i) {
4532
4510
  return r.dispatch("error", t.errorMessage(i));
4533
4511
  }, r.notify = function(i, S) {
4534
4512
  return r.dispatch("notification", { message: i, options: S });
@@ -4538,40 +4516,40 @@ function Nt(e) {
4538
4516
  value: l,
4539
4517
  writable: !1
4540
4518
  });
4541
- const p = new Et(r);
4519
+ const p = new Pt(r);
4542
4520
  Object.defineProperty(r, "auth", {
4543
4521
  value: p,
4544
4522
  writable: !1
4545
4523
  });
4546
- const y = new It(r);
4524
+ const y = new Rt(r);
4547
4525
  Object.defineProperty(r, "socket", {
4548
4526
  value: y,
4549
4527
  writable: !1
4550
4528
  });
4551
- const w = new Ct(r);
4529
+ const w = new Mt(r);
4552
4530
  Object.defineProperty(r, "access", {
4553
4531
  value: w,
4554
4532
  writable: !1
4555
4533
  });
4556
- const A = new Mt(r);
4534
+ const A = new kt(r);
4557
4535
  Object.defineProperty(r, "system", {
4558
4536
  value: A,
4559
4537
  writable: !1
4560
4538
  });
4561
- const u = new kt(r);
4539
+ const u = new Tt(r);
4562
4540
  Object.defineProperty(r, "geo", {
4563
4541
  value: u,
4564
4542
  writable: !1
4565
4543
  });
4566
- const s = new Ot(r);
4544
+ const s = new It(r);
4567
4545
  return Object.defineProperty(r, "content", {
4568
4546
  value: s,
4569
4547
  writable: !1
4570
4548
  }), r;
4571
4549
  }
4572
- var Tt = `qik ${vr}`;
4573
- console.log(Tt);
4550
+ var _t = `qik ${vr}`;
4551
+ console.log(_t);
4574
4552
  export {
4575
- je as EventDispatcher,
4576
- Nt as default
4553
+ De as EventDispatcher,
4554
+ Ft as default
4577
4555
  };