@regulaforensics/facesdk-webclient 7.2.345-nightly → 7.2.346-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,23 +3,23 @@ function ve(s, e) {
3
3
  return s.apply(e, arguments);
4
4
  };
5
5
  }
6
- const { toString: ft } = Object.prototype, { getPrototypeOf: ge } = Object, { iterator: ce, toStringTag: ze } = Symbol, le = /* @__PURE__ */ ((s) => (e) => {
6
+ const { toString: ft } = Object.prototype, { getPrototypeOf: ge } = Object, { iterator: le, toStringTag: ze } = Symbol, ce = /* @__PURE__ */ ((s) => (e) => {
7
7
  const t = ft.call(e);
8
8
  return s[t] || (s[t] = t.slice(8, -1).toLowerCase());
9
- })(/* @__PURE__ */ Object.create(null)), F = (s) => (s = s.toLowerCase(), (e) => le(e) === s), ue = (s) => (e) => typeof e === s, { isArray: $ } = Array, K = ue("undefined");
9
+ })(/* @__PURE__ */ Object.create(null)), U = (s) => (s = s.toLowerCase(), (e) => ce(e) === s), ue = (s) => (e) => typeof e === s, { isArray: Q } = Array, K = ue("undefined");
10
10
  function X(s) {
11
11
  return s !== null && !K(s) && s.constructor !== null && !K(s.constructor) && N(s.constructor.isBuffer) && s.constructor.isBuffer(s);
12
12
  }
13
- const qe = F("ArrayBuffer");
13
+ const $e = U("ArrayBuffer");
14
14
  function mt(s) {
15
15
  let e;
16
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(s) : e = s && s.buffer && qe(s.buffer), e;
16
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(s) : e = s && s.buffer && $e(s.buffer), e;
17
17
  }
18
- const Et = ue("string"), N = ue("function"), $e = ue("number"), J = (s) => s !== null && typeof s == "object", At = (s) => s === !0 || s === !1, se = (s) => {
19
- if (le(s) !== "object")
18
+ const Et = ue("string"), N = ue("function"), Qe = ue("number"), J = (s) => s !== null && typeof s == "object", At = (s) => s === !0 || s === !1, se = (s) => {
19
+ if (ce(s) !== "object")
20
20
  return !1;
21
21
  const e = ge(s);
22
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ze in s) && !(ce in s);
22
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ze in s) && !(le in s);
23
23
  }, Ot = (s) => {
24
24
  if (!J(s) || X(s))
25
25
  return !1;
@@ -28,16 +28,16 @@ const Et = ue("string"), N = ue("function"), $e = ue("number"), J = (s) => s !==
28
28
  } catch {
29
29
  return !1;
30
30
  }
31
- }, yt = F("Date"), St = F("File"), Rt = F("Blob"), Pt = F("FileList"), Tt = (s) => J(s) && N(s.pipe), gt = (s) => {
31
+ }, yt = U("Date"), St = U("File"), Rt = U("Blob"), Pt = U("FileList"), Tt = (s) => J(s) && N(s.pipe), gt = (s) => {
32
32
  let e;
33
- return s && (typeof FormData == "function" && s instanceof FormData || N(s.append) && ((e = le(s)) === "formdata" || // detect form-data instance
33
+ return s && (typeof FormData == "function" && s instanceof FormData || N(s.append) && ((e = ce(s)) === "formdata" || // detect form-data instance
34
34
  e === "object" && N(s.toString) && s.toString() === "[object FormData]"));
35
- }, Ct = F("URLSearchParams"), [bt, _t, wt, It] = ["ReadableStream", "Request", "Response", "Headers"].map(F), Lt = (s) => s.trim ? s.trim() : s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
35
+ }, Ct = U("URLSearchParams"), [bt, _t, wt, It] = ["ReadableStream", "Request", "Response", "Headers"].map(U), Lt = (s) => s.trim ? s.trim() : s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
36
  function Y(s, e, { allOwnKeys: t = !1 } = {}) {
37
37
  if (s === null || typeof s > "u")
38
38
  return;
39
39
  let r, n;
40
- if (typeof s != "object" && (s = [s]), $(s))
40
+ if (typeof s != "object" && (s = [s]), Q(s))
41
41
  for (r = 0, n = s.length; r < n; r++)
42
42
  e.call(null, s[r], r, s);
43
43
  else {
@@ -49,7 +49,7 @@ function Y(s, e, { allOwnKeys: t = !1 } = {}) {
49
49
  i = o[r], e.call(null, s[i], i, s);
50
50
  }
51
51
  }
52
- function Qe(s, e) {
52
+ function qe(s, e) {
53
53
  if (X(s))
54
54
  return null;
55
55
  e = e.toLowerCase();
@@ -63,8 +63,8 @@ function Qe(s, e) {
63
63
  const j = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, We = (s) => !K(s) && s !== j;
64
64
  function Oe() {
65
65
  const { caseless: s } = We(this) && this || {}, e = {}, t = (r, n) => {
66
- const o = s && Qe(e, n) || n;
67
- se(e[o]) && se(r) ? e[o] = Oe(e[o], r) : se(r) ? e[o] = Oe({}, r) : $(r) ? e[o] = r.slice() : e[o] = r;
66
+ const o = s && qe(e, n) || n;
67
+ se(e[o]) && se(r) ? e[o] = Oe(e[o], r) : se(r) ? e[o] = Oe({}, r) : Q(r) ? e[o] = r.slice() : e[o] = r;
68
68
  };
69
69
  for (let r = 0, n = arguments.length; r < n; r++)
70
70
  arguments[r] && Y(arguments[r], t);
@@ -72,7 +72,7 @@ function Oe() {
72
72
  }
73
73
  const Nt = (s, e, t, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
74
74
  t && N(n) ? s[o] = ve(n, t) : s[o] = n;
75
- }, { allOwnKeys: r }), s), Ut = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Ft = (s, e, t, r) => {
75
+ }, { allOwnKeys: r }), s), Ft = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Ut = (s, e, t, r) => {
76
76
  s.prototype = Object.create(e.prototype, r), s.prototype.constructor = s, Object.defineProperty(s, "super", {
77
77
  value: e.prototype
78
78
  }), t && Object.assign(s.prototype, t);
@@ -92,15 +92,15 @@ const Nt = (s, e, t, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
92
92
  return r !== -1 && r === t;
93
93
  }, Gt = (s) => {
94
94
  if (!s) return null;
95
- if ($(s)) return s;
95
+ if (Q(s)) return s;
96
96
  let e = s.length;
97
- if (!$e(e)) return null;
97
+ if (!Qe(e)) return null;
98
98
  const t = new Array(e);
99
99
  for (; e-- > 0; )
100
100
  t[e] = s[e];
101
101
  return t;
102
102
  }, Ht = /* @__PURE__ */ ((s) => (e) => s && e instanceof s)(typeof Uint8Array < "u" && ge(Uint8Array)), xt = (s, e) => {
103
- const r = (s && s[ce]).call(s);
103
+ const r = (s && s[le]).call(s);
104
104
  let n;
105
105
  for (; (n = r.next()) && !n.done; ) {
106
106
  const o = n.value;
@@ -112,12 +112,12 @@ const Nt = (s, e, t, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
112
112
  for (; (t = s.exec(e)) !== null; )
113
113
  r.push(t);
114
114
  return r;
115
- }, Mt = F("HTMLFormElement"), jt = (s) => s.toLowerCase().replace(
115
+ }, Mt = U("HTMLFormElement"), jt = (s) => s.toLowerCase().replace(
116
116
  /[-_\s]([a-z\d])(\w*)/g,
117
117
  function(t, r, n) {
118
118
  return r.toUpperCase() + n;
119
119
  }
120
- ), we = (({ hasOwnProperty: s }) => (e, t) => s.call(e, t))(Object.prototype), kt = F("RegExp"), Ke = (s, e) => {
120
+ ), we = (({ hasOwnProperty: s }) => (e, t) => s.call(e, t))(Object.prototype), kt = U("RegExp"), Ke = (s, e) => {
121
121
  const t = Object.getOwnPropertyDescriptors(s), r = {};
122
122
  Y(t, (n, o) => {
123
123
  let a;
@@ -144,11 +144,11 @@ const Nt = (s, e, t, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
144
144
  t[o] = !0;
145
145
  });
146
146
  };
147
- return $(s) ? r(s) : r(String(s).split(e)), t;
148
- }, qt = () => {
149
- }, $t = (s, e) => s != null && Number.isFinite(s = +s) ? s : e;
150
- function Qt(s) {
151
- return !!(s && N(s.append) && s[ze] === "FormData" && s[ce]);
147
+ return Q(s) ? r(s) : r(String(s).split(e)), t;
148
+ }, $t = () => {
149
+ }, Qt = (s, e) => s != null && Number.isFinite(s = +s) ? s : e;
150
+ function qt(s) {
151
+ return !!(s && N(s.append) && s[ze] === "FormData" && s[le]);
152
152
  }
153
153
  const Wt = (s) => {
154
154
  const e = new Array(10), t = (r, n) => {
@@ -159,31 +159,31 @@ const Wt = (s) => {
159
159
  return r;
160
160
  if (!("toJSON" in r)) {
161
161
  e[n] = r;
162
- const o = $(r) ? [] : {};
162
+ const o = Q(r) ? [] : {};
163
163
  return Y(r, (a, i) => {
164
- const c = t(a, n + 1);
165
- !K(c) && (o[i] = c);
164
+ const l = t(a, n + 1);
165
+ !K(l) && (o[i] = l);
166
166
  }), e[n] = void 0, o;
167
167
  }
168
168
  }
169
169
  return r;
170
170
  };
171
171
  return t(s, 0);
172
- }, Kt = F("AsyncFunction"), Xt = (s) => s && (J(s) || N(s)) && N(s.then) && N(s.catch), Xe = ((s, e) => s ? setImmediate : e ? ((t, r) => (j.addEventListener("message", ({ source: n, data: o }) => {
172
+ }, Kt = U("AsyncFunction"), Xt = (s) => s && (J(s) || N(s)) && N(s.then) && N(s.catch), Xe = ((s, e) => s ? setImmediate : e ? ((t, r) => (j.addEventListener("message", ({ source: n, data: o }) => {
173
173
  n === j && o === t && r.length && r.shift()();
174
174
  }, !1), (n) => {
175
175
  r.push(n), j.postMessage(t, "*");
176
176
  }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
177
177
  typeof setImmediate == "function",
178
178
  N(j.postMessage)
179
- ), Jt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Xe, Yt = (s) => s != null && N(s[ce]), u = {
180
- isArray: $,
181
- isArrayBuffer: qe,
179
+ ), Jt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Xe, Yt = (s) => s != null && N(s[le]), u = {
180
+ isArray: Q,
181
+ isArrayBuffer: $e,
182
182
  isBuffer: X,
183
183
  isFormData: gt,
184
184
  isArrayBufferView: mt,
185
185
  isString: Et,
186
- isNumber: $e,
186
+ isNumber: Qe,
187
187
  isBoolean: At,
188
188
  isObject: J,
189
189
  isPlainObject: se,
@@ -206,11 +206,11 @@ const Wt = (s) => {
206
206
  merge: Oe,
207
207
  extend: Nt,
208
208
  trim: Lt,
209
- stripBOM: Ut,
210
- inherits: Ft,
209
+ stripBOM: Ft,
210
+ inherits: Ut,
211
211
  toFlatObject: Vt,
212
- kindOf: le,
213
- kindOfTest: F,
212
+ kindOf: ce,
213
+ kindOfTest: U,
214
214
  endsWith: Dt,
215
215
  toArray: Gt,
216
216
  forEachEntry: xt,
@@ -223,12 +223,12 @@ const Wt = (s) => {
223
223
  freezeMethods: vt,
224
224
  toObjectSet: zt,
225
225
  toCamelCase: jt,
226
- noop: qt,
227
- toFiniteNumber: $t,
228
- findKey: Qe,
226
+ noop: $t,
227
+ toFiniteNumber: Qt,
228
+ findKey: qe,
229
229
  global: j,
230
230
  isContextDefined: We,
231
- isSpecCompliantForm: Qt,
231
+ isSpecCompliantForm: qt,
232
232
  toJSONObject: Wt,
233
233
  isAsyncFn: Kt,
234
234
  isThenable: Xt,
@@ -282,8 +282,8 @@ Object.defineProperties(E, Ye);
282
282
  Object.defineProperty(Je, "isAxiosError", { value: !0 });
283
283
  E.from = (s, e, t, r, n, o) => {
284
284
  const a = Object.create(Je);
285
- return u.toFlatObject(s, a, function(c) {
286
- return c !== Error.prototype;
285
+ return u.toFlatObject(s, a, function(l) {
286
+ return l !== Error.prototype;
287
287
  }, (i) => i !== "isAxiosError"), E.call(a, s.message, e, t, r, n), a.cause = s, a.name = s.name, o && Object.assign(a, o), a;
288
288
  };
289
289
  const Zt = null;
@@ -314,18 +314,18 @@ function de(s, e, t) {
314
314
  }, !1, function(A, f) {
315
315
  return !u.isUndefined(f[A]);
316
316
  });
317
- const r = t.metaTokens, n = t.visitor || d, o = t.dots, a = t.indexes, c = (t.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(e);
317
+ const r = t.metaTokens, n = t.visitor || d, o = t.dots, a = t.indexes, l = (t.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(e);
318
318
  if (!u.isFunction(n))
319
319
  throw new TypeError("visitor must be a function");
320
- function l(h) {
320
+ function c(h) {
321
321
  if (h === null) return "";
322
322
  if (u.isDate(h))
323
323
  return h.toISOString();
324
324
  if (u.isBoolean(h))
325
325
  return h.toString();
326
- if (!c && u.isBlob(h))
326
+ if (!l && u.isBlob(h))
327
327
  throw new E("Blob is not supported. Use a Buffer instead.");
328
- return u.isArrayBuffer(h) || u.isTypedArray(h) ? c && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
328
+ return u.isArrayBuffer(h) || u.isTypedArray(h) ? l && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
329
329
  }
330
330
  function d(h, A, f) {
331
331
  let C = h;
@@ -337,15 +337,15 @@ function de(s, e, t) {
337
337
  !(u.isUndefined(w) || w === null) && e.append(
338
338
  // eslint-disable-next-line no-nested-ternary
339
339
  a === !0 ? Ie([A], G, o) : a === null ? A : A + "[]",
340
- l(w)
340
+ c(w)
341
341
  );
342
342
  }), !1;
343
343
  }
344
- return ye(h) ? !0 : (e.append(Ie(f, A, o), l(h)), !1);
344
+ return ye(h) ? !0 : (e.append(Ie(f, A, o), c(h)), !1);
345
345
  }
346
346
  const p = [], O = Object.assign(ts, {
347
347
  defaultVisitor: d,
348
- convertValue: l,
348
+ convertValue: c,
349
349
  isVisitable: ye
350
350
  });
351
351
  function b(h, A) {
@@ -480,14 +480,14 @@ const st = {
480
480
  Blob: os
481
481
  },
482
482
  protocols: ["http", "https", "file", "blob", "url", "data"]
483
- }, be = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0, is = be && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), cs = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ls = be && window.location.href || "http://localhost", us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
483
+ }, be = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0, is = be && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), ls = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", cs = be && window.location.href || "http://localhost", us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
485
485
  __proto__: null,
486
486
  hasBrowserEnv: be,
487
487
  hasStandardBrowserEnv: is,
488
- hasStandardBrowserWebWorkerEnv: cs,
488
+ hasStandardBrowserWebWorkerEnv: ls,
489
489
  navigator: Se,
490
- origin: ls
490
+ origin: cs
491
491
  }, Symbol.toStringTag, { value: "Module" })), I = {
492
492
  ...us,
493
493
  ...as
@@ -516,8 +516,8 @@ function rt(s) {
516
516
  function e(t, r, n, o) {
517
517
  let a = t[o++];
518
518
  if (a === "__proto__") return !0;
519
- const i = Number.isFinite(+a), c = o >= t.length;
520
- return a = !a && u.isArray(n) ? n.length : a, c ? (u.hasOwnProp(n, a) ? n[a] = [n[a], r] : n[a] = r, !i) : ((!n[a] || !u.isObject(n[a])) && (n[a] = []), e(t, r, n[a], o) && u.isArray(n[a]) && (n[a] = hs(n[a])), !i);
519
+ const i = Number.isFinite(+a), l = o >= t.length;
520
+ return a = !a && u.isArray(n) ? n.length : a, l ? (u.hasOwnProp(n, a) ? n[a] = [n[a], r] : n[a] = r, !i) : ((!n[a] || !u.isObject(n[a])) && (n[a] = []), e(t, r, n[a], o) && u.isArray(n[a]) && (n[a] = hs(n[a])), !i);
521
521
  }
522
522
  if (u.isFormData(s) && u.isFunction(s.entries)) {
523
523
  const t = {};
@@ -555,10 +555,10 @@ const Z = {
555
555
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
556
556
  return ds(e, this.formSerializer).toString();
557
557
  if ((i = u.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
558
- const c = this.env && this.env.FormData;
558
+ const l = this.env && this.env.FormData;
559
559
  return de(
560
560
  i ? { "files[]": e } : e,
561
- c && new c(),
561
+ l && new l(),
562
562
  this.formSerializer
563
563
  );
564
564
  }
@@ -631,7 +631,7 @@ const ms = u.toObjectSet([
631
631
  `).forEach(function(a) {
632
632
  n = a.indexOf(":"), t = a.substring(0, n).trim().toLowerCase(), r = a.substring(n + 1).trim(), !(!t || e[t] && ms[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
633
633
  }), e;
634
- }, Ue = Symbol("internals");
634
+ }, Fe = Symbol("internals");
635
635
  function W(s) {
636
636
  return s && String(s).trim().toLowerCase();
637
637
  }
@@ -670,30 +670,30 @@ function Ss(s, e) {
670
670
  });
671
671
  });
672
672
  }
673
- let U = class {
673
+ let F = class {
674
674
  constructor(e) {
675
675
  e && this.set(e);
676
676
  }
677
677
  set(e, t, r) {
678
678
  const n = this;
679
- function o(i, c, l) {
680
- const d = W(c);
679
+ function o(i, l, c) {
680
+ const d = W(l);
681
681
  if (!d)
682
682
  throw new Error("header name must be a non-empty string");
683
683
  const p = u.findKey(n, d);
684
- (!p || n[p] === void 0 || l === !0 || l === void 0 && n[p] !== !1) && (n[p || c] = re(i));
684
+ (!p || n[p] === void 0 || c === !0 || c === void 0 && n[p] !== !1) && (n[p || l] = re(i));
685
685
  }
686
- const a = (i, c) => u.forEach(i, (l, d) => o(l, d, c));
686
+ const a = (i, l) => u.forEach(i, (c, d) => o(c, d, l));
687
687
  if (u.isPlainObject(e) || e instanceof this.constructor)
688
688
  a(e, t);
689
689
  else if (u.isString(e) && (e = e.trim()) && !Os(e))
690
690
  a(Es(e), t);
691
691
  else if (u.isObject(e) && u.isIterable(e)) {
692
- let i = {}, c, l;
692
+ let i = {}, l, c;
693
693
  for (const d of e) {
694
694
  if (!u.isArray(d))
695
695
  throw TypeError("Object iterator must return a key-value pair");
696
- i[l = d[0]] = (c = i[l]) ? u.isArray(c) ? [...c, d[1]] : [c, d[1]] : d[1];
696
+ i[c = d[0]] = (l = i[c]) ? u.isArray(l) ? [...l, d[1]] : [l, d[1]] : d[1];
697
697
  }
698
698
  a(i, t);
699
699
  } else
@@ -786,7 +786,7 @@ let U = class {
786
786
  return t.forEach((n) => r.set(n)), r;
787
787
  }
788
788
  static accessor(e) {
789
- const r = (this[Ue] = this[Ue] = {
789
+ const r = (this[Fe] = this[Fe] = {
790
790
  accessors: {}
791
791
  }).accessors, n = this.prototype;
792
792
  function o(a) {
@@ -796,8 +796,8 @@ let U = class {
796
796
  return u.isArray(e) ? e.forEach(o) : o(e), this;
797
797
  }
798
798
  };
799
- U.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
800
- u.reduceDescriptors(U.prototype, ({ value: s }, e) => {
799
+ F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
800
+ u.reduceDescriptors(F.prototype, ({ value: s }, e) => {
801
801
  let t = e[0].toUpperCase() + e.slice(1);
802
802
  return {
803
803
  get: () => s,
@@ -806,9 +806,9 @@ u.reduceDescriptors(U.prototype, ({ value: s }, e) => {
806
806
  }
807
807
  };
808
808
  });
809
- u.freezeMethods(U);
809
+ u.freezeMethods(F);
810
810
  function me(s, e) {
811
- const t = this || Z, r = e || t, n = U.from(r.headers);
811
+ const t = this || Z, r = e || t, n = F.from(r.headers);
812
812
  let o = r.data;
813
813
  return u.forEach(s, function(i) {
814
814
  o = i.call(t, o, n.normalize(), e ? e.status : void 0);
@@ -817,10 +817,10 @@ function me(s, e) {
817
817
  function nt(s) {
818
818
  return !!(s && s.__CANCEL__);
819
819
  }
820
- function Q(s, e, t) {
820
+ function q(s, e, t) {
821
821
  E.call(this, s ?? "canceled", E.ERR_CANCELED, e, t), this.name = "CanceledError";
822
822
  }
823
- u.inherits(Q, E, {
823
+ u.inherits(q, E, {
824
824
  __CANCEL__: !0
825
825
  });
826
826
  function ot(s, e, t) {
@@ -841,26 +841,26 @@ function Ps(s, e) {
841
841
  s = s || 10;
842
842
  const t = new Array(s), r = new Array(s);
843
843
  let n = 0, o = 0, a;
844
- return e = e !== void 0 ? e : 1e3, function(c) {
845
- const l = Date.now(), d = r[o];
846
- a || (a = l), t[n] = c, r[n] = l;
844
+ return e = e !== void 0 ? e : 1e3, function(l) {
845
+ const c = Date.now(), d = r[o];
846
+ a || (a = c), t[n] = l, r[n] = c;
847
847
  let p = o, O = 0;
848
848
  for (; p !== n; )
849
849
  O += t[p++], p = p % s;
850
- if (n = (n + 1) % s, n === o && (o = (o + 1) % s), l - a < e)
850
+ if (n = (n + 1) % s, n === o && (o = (o + 1) % s), c - a < e)
851
851
  return;
852
- const b = d && l - d;
852
+ const b = d && c - d;
853
853
  return b ? Math.round(O * 1e3 / b) : void 0;
854
854
  };
855
855
  }
856
856
  function Ts(s, e) {
857
857
  let t = 0, r = 1e3 / e, n, o;
858
- const a = (l, d = Date.now()) => {
859
- t = d, n = null, o && (clearTimeout(o), o = null), s(...l);
858
+ const a = (c, d = Date.now()) => {
859
+ t = d, n = null, o && (clearTimeout(o), o = null), s(...c);
860
860
  };
861
- return [(...l) => {
861
+ return [(...c) => {
862
862
  const d = Date.now(), p = d - t;
863
- p >= r ? a(l, d) : (n = l, o || (o = setTimeout(() => {
863
+ p >= r ? a(c, d) : (n = c, o || (o = setTimeout(() => {
864
864
  o = null, a(n);
865
865
  }, r - p)));
866
866
  }, () => n && a(n)];
@@ -869,22 +869,22 @@ const oe = (s, e, t = 3) => {
869
869
  let r = 0;
870
870
  const n = Ps(50, 250);
871
871
  return Ts((o) => {
872
- const a = o.loaded, i = o.lengthComputable ? o.total : void 0, c = a - r, l = n(c), d = a <= i;
872
+ const a = o.loaded, i = o.lengthComputable ? o.total : void 0, l = a - r, c = n(l), d = a <= i;
873
873
  r = a;
874
874
  const p = {
875
875
  loaded: a,
876
876
  total: i,
877
877
  progress: i ? a / i : void 0,
878
- bytes: c,
879
- rate: l || void 0,
880
- estimated: l && i && d ? (i - a) / l : void 0,
878
+ bytes: l,
879
+ rate: c || void 0,
880
+ estimated: c && i && d ? (i - a) / c : void 0,
881
881
  event: o,
882
882
  lengthComputable: i != null,
883
883
  [e ? "download" : "upload"]: !0
884
884
  };
885
885
  s(p);
886
886
  }, t);
887
- }, Fe = (s, e) => {
887
+ }, Ue = (s, e) => {
888
888
  const t = s != null;
889
889
  return [(r) => e[0]({
890
890
  lengthComputable: t,
@@ -931,36 +931,36 @@ function at(s, e, t) {
931
931
  let r = !bs(e);
932
932
  return s && (r || t == !1) ? _s(s, e) : e;
933
933
  }
934
- const De = (s) => s instanceof U ? { ...s } : s;
934
+ const De = (s) => s instanceof F ? { ...s } : s;
935
935
  function v(s, e) {
936
936
  e = e || {};
937
937
  const t = {};
938
- function r(l, d, p, O) {
939
- return u.isPlainObject(l) && u.isPlainObject(d) ? u.merge.call({ caseless: O }, l, d) : u.isPlainObject(d) ? u.merge({}, d) : u.isArray(d) ? d.slice() : d;
938
+ function r(c, d, p, O) {
939
+ return u.isPlainObject(c) && u.isPlainObject(d) ? u.merge.call({ caseless: O }, c, d) : u.isPlainObject(d) ? u.merge({}, d) : u.isArray(d) ? d.slice() : d;
940
940
  }
941
- function n(l, d, p, O) {
941
+ function n(c, d, p, O) {
942
942
  if (u.isUndefined(d)) {
943
- if (!u.isUndefined(l))
944
- return r(void 0, l, p, O);
945
- } else return r(l, d, p, O);
943
+ if (!u.isUndefined(c))
944
+ return r(void 0, c, p, O);
945
+ } else return r(c, d, p, O);
946
946
  }
947
- function o(l, d) {
947
+ function o(c, d) {
948
948
  if (!u.isUndefined(d))
949
949
  return r(void 0, d);
950
950
  }
951
- function a(l, d) {
951
+ function a(c, d) {
952
952
  if (u.isUndefined(d)) {
953
- if (!u.isUndefined(l))
954
- return r(void 0, l);
953
+ if (!u.isUndefined(c))
954
+ return r(void 0, c);
955
955
  } else return r(void 0, d);
956
956
  }
957
- function i(l, d, p) {
957
+ function i(c, d, p) {
958
958
  if (p in e)
959
- return r(l, d);
959
+ return r(c, d);
960
960
  if (p in s)
961
- return r(void 0, l);
961
+ return r(void 0, c);
962
962
  }
963
- const c = {
963
+ const l = {
964
964
  url: o,
965
965
  method: o,
966
966
  data: o,
@@ -989,40 +989,40 @@ function v(s, e) {
989
989
  socketPath: a,
990
990
  responseEncoding: a,
991
991
  validateStatus: i,
992
- headers: (l, d, p) => n(De(l), De(d), p, !0)
992
+ headers: (c, d, p) => n(De(c), De(d), p, !0)
993
993
  };
994
994
  return u.forEach(Object.keys({ ...s, ...e }), function(d) {
995
- const p = c[d] || n, O = p(s[d], e[d], d);
995
+ const p = l[d] || n, O = p(s[d], e[d], d);
996
996
  u.isUndefined(O) && p !== i || (t[d] = O);
997
997
  }), t;
998
998
  }
999
999
  const it = (s) => {
1000
1000
  const e = v({}, s);
1001
1001
  let { data: t, withXSRFToken: r, xsrfHeaderName: n, xsrfCookieName: o, headers: a, auth: i } = e;
1002
- e.headers = a = U.from(a), e.url = tt(at(e.baseURL, e.url, e.allowAbsoluteUrls), s.params, s.paramsSerializer), i && a.set(
1002
+ e.headers = a = F.from(a), e.url = tt(at(e.baseURL, e.url, e.allowAbsoluteUrls), s.params, s.paramsSerializer), i && a.set(
1003
1003
  "Authorization",
1004
1004
  "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
1005
1005
  );
1006
- let c;
1006
+ let l;
1007
1007
  if (u.isFormData(t)) {
1008
1008
  if (I.hasStandardBrowserEnv || I.hasStandardBrowserWebWorkerEnv)
1009
1009
  a.setContentType(void 0);
1010
- else if ((c = a.getContentType()) !== !1) {
1011
- const [l, ...d] = c ? c.split(";").map((p) => p.trim()).filter(Boolean) : [];
1012
- a.setContentType([l || "multipart/form-data", ...d].join("; "));
1010
+ else if ((l = a.getContentType()) !== !1) {
1011
+ const [c, ...d] = l ? l.split(";").map((p) => p.trim()).filter(Boolean) : [];
1012
+ a.setContentType([c || "multipart/form-data", ...d].join("; "));
1013
1013
  }
1014
1014
  }
1015
1015
  if (I.hasStandardBrowserEnv && (r && u.isFunction(r) && (r = r(e)), r || r !== !1 && gs(e.url))) {
1016
- const l = n && o && Cs.read(o);
1017
- l && a.set(n, l);
1016
+ const c = n && o && Cs.read(o);
1017
+ c && a.set(n, c);
1018
1018
  }
1019
1019
  return e;
1020
1020
  }, ws = typeof XMLHttpRequest < "u", Is = ws && function(s) {
1021
1021
  return new Promise(function(t, r) {
1022
1022
  const n = it(s);
1023
1023
  let o = n.data;
1024
- const a = U.from(n.headers).normalize();
1025
- let { responseType: i, onUploadProgress: c, onDownloadProgress: l } = n, d, p, O, b, h;
1024
+ const a = F.from(n.headers).normalize();
1025
+ let { responseType: i, onUploadProgress: l, onDownloadProgress: c } = n, d, p, O, b, h;
1026
1026
  function A() {
1027
1027
  b && b(), h && h(), n.cancelToken && n.cancelToken.unsubscribe(d), n.signal && n.signal.removeEventListener("abort", d);
1028
1028
  }
@@ -1031,7 +1031,7 @@ const it = (s) => {
1031
1031
  function C() {
1032
1032
  if (!f)
1033
1033
  return;
1034
- const w = U.from(
1034
+ const w = F.from(
1035
1035
  "getAllResponseHeaders" in f && f.getAllResponseHeaders()
1036
1036
  ), L = {
1037
1037
  data: !i || i === "text" || i === "json" ? f.responseText : f.response,
@@ -1064,8 +1064,8 @@ const it = (s) => {
1064
1064
  )), f = null;
1065
1065
  }, o === void 0 && a.setContentType(null), "setRequestHeader" in f && u.forEach(a.toJSON(), function(G, L) {
1066
1066
  f.setRequestHeader(L, G);
1067
- }), u.isUndefined(n.withCredentials) || (f.withCredentials = !!n.withCredentials), i && i !== "json" && (f.responseType = n.responseType), l && ([O, h] = oe(l, !0), f.addEventListener("progress", O)), c && f.upload && ([p, b] = oe(c), f.upload.addEventListener("progress", p), f.upload.addEventListener("loadend", b)), (n.cancelToken || n.signal) && (d = (w) => {
1068
- f && (r(!w || w.type ? new Q(null, s, f) : w), f.abort(), f = null);
1067
+ }), u.isUndefined(n.withCredentials) || (f.withCredentials = !!n.withCredentials), i && i !== "json" && (f.responseType = n.responseType), c && ([O, h] = oe(c, !0), f.addEventListener("progress", O)), l && f.upload && ([p, b] = oe(l), f.upload.addEventListener("progress", p), f.upload.addEventListener("loadend", b)), (n.cancelToken || n.signal) && (d = (w) => {
1068
+ f && (r(!w || w.type ? new q(null, s, f) : w), f.abort(), f = null);
1069
1069
  }, n.cancelToken && n.cancelToken.subscribe(d), n.signal && (n.signal.aborted ? d() : n.signal.addEventListener("abort", d)));
1070
1070
  const _ = Rs(n.url);
1071
1071
  if (_ && I.protocols.indexOf(_) === -1) {
@@ -1078,24 +1078,24 @@ const it = (s) => {
1078
1078
  const { length: t } = s = s ? s.filter(Boolean) : [];
1079
1079
  if (e || t) {
1080
1080
  let r = new AbortController(), n;
1081
- const o = function(l) {
1081
+ const o = function(c) {
1082
1082
  if (!n) {
1083
1083
  n = !0, i();
1084
- const d = l instanceof Error ? l : this.reason;
1085
- r.abort(d instanceof E ? d : new Q(d instanceof Error ? d.message : d));
1084
+ const d = c instanceof Error ? c : this.reason;
1085
+ r.abort(d instanceof E ? d : new q(d instanceof Error ? d.message : d));
1086
1086
  }
1087
1087
  };
1088
1088
  let a = e && setTimeout(() => {
1089
1089
  a = null, o(new E(`timeout ${e} of ms exceeded`, E.ETIMEDOUT));
1090
1090
  }, e);
1091
1091
  const i = () => {
1092
- s && (a && clearTimeout(a), a = null, s.forEach((l) => {
1093
- l.unsubscribe ? l.unsubscribe(o) : l.removeEventListener("abort", o);
1092
+ s && (a && clearTimeout(a), a = null, s.forEach((c) => {
1093
+ c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o);
1094
1094
  }), s = null);
1095
1095
  };
1096
- s.forEach((l) => l.addEventListener("abort", o));
1097
- const { signal: c } = r;
1098
- return c.unsubscribe = () => u.asap(i), c;
1096
+ s.forEach((c) => c.addEventListener("abort", o));
1097
+ const { signal: l } = r;
1098
+ return l.unsubscribe = () => u.asap(i), l;
1099
1099
  }
1100
1100
  }, Ns = function* (s, e) {
1101
1101
  let t = s.byteLength;
@@ -1106,10 +1106,10 @@ const it = (s) => {
1106
1106
  let r = 0, n;
1107
1107
  for (; r < t; )
1108
1108
  n = r + e, yield s.slice(r, n), r = n;
1109
- }, Us = async function* (s, e) {
1110
- for await (const t of Fs(s))
1109
+ }, Fs = async function* (s, e) {
1110
+ for await (const t of Us(s))
1111
1111
  yield* Ns(t, e);
1112
- }, Fs = async function* (s) {
1112
+ }, Us = async function* (s) {
1113
1113
  if (s[Symbol.asyncIterator]) {
1114
1114
  yield* s;
1115
1115
  return;
@@ -1126,16 +1126,16 @@ const it = (s) => {
1126
1126
  await e.cancel();
1127
1127
  }
1128
1128
  }, Ge = (s, e, t, r) => {
1129
- const n = Us(s, e);
1130
- let o = 0, a, i = (c) => {
1131
- a || (a = !0, r && r(c));
1129
+ const n = Fs(s, e);
1130
+ let o = 0, a, i = (l) => {
1131
+ a || (a = !0, r && r(l));
1132
1132
  };
1133
1133
  return new ReadableStream({
1134
- async pull(c) {
1134
+ async pull(l) {
1135
1135
  try {
1136
- const { done: l, value: d } = await n.next();
1137
- if (l) {
1138
- i(), c.close();
1136
+ const { done: c, value: d } = await n.next();
1137
+ if (c) {
1138
+ i(), l.close();
1139
1139
  return;
1140
1140
  }
1141
1141
  let p = d.byteLength;
@@ -1143,24 +1143,24 @@ const it = (s) => {
1143
1143
  let O = o += p;
1144
1144
  t(O);
1145
1145
  }
1146
- c.enqueue(new Uint8Array(d));
1147
- } catch (l) {
1148
- throw i(l), l;
1146
+ l.enqueue(new Uint8Array(d));
1147
+ } catch (c) {
1148
+ throw i(c), c;
1149
1149
  }
1150
1150
  },
1151
- cancel(c) {
1152
- return i(c), n.return();
1151
+ cancel(l) {
1152
+ return i(l), n.return();
1153
1153
  }
1154
1154
  }, {
1155
1155
  highWaterMark: 2
1156
1156
  });
1157
- }, pe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ct = pe && typeof ReadableStream == "function", Vs = pe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (e) => s.encode(e))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), lt = (s, ...e) => {
1157
+ }, pe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", lt = pe && typeof ReadableStream == "function", Vs = pe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (e) => s.encode(e))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), ct = (s, ...e) => {
1158
1158
  try {
1159
1159
  return !!s(...e);
1160
1160
  } catch {
1161
1161
  return !1;
1162
1162
  }
1163
- }, Ds = ct && lt(() => {
1163
+ }, Ds = lt && ct(() => {
1164
1164
  let s = !1;
1165
1165
  const e = new Request(I.origin, {
1166
1166
  body: new ReadableStream(),
@@ -1170,7 +1170,7 @@ const it = (s) => {
1170
1170
  }
1171
1171
  }).headers.has("Content-Type");
1172
1172
  return s && !e;
1173
- }), He = 64 * 1024, Re = ct && lt(() => u.isReadableStream(new Response("").body)), ae = {
1173
+ }), He = 64 * 1024, Re = lt && ct(() => u.isReadableStream(new Response("").body)), ae = {
1174
1174
  stream: Re && ((s) => s.body)
1175
1175
  };
1176
1176
  pe && ((s) => {
@@ -1206,29 +1206,29 @@ const Gs = async (s) => {
1206
1206
  cancelToken: o,
1207
1207
  timeout: a,
1208
1208
  onDownloadProgress: i,
1209
- onUploadProgress: c,
1210
- responseType: l,
1209
+ onUploadProgress: l,
1210
+ responseType: c,
1211
1211
  headers: d,
1212
1212
  withCredentials: p = "same-origin",
1213
1213
  fetchOptions: O
1214
1214
  } = it(s);
1215
- l = l ? (l + "").toLowerCase() : "text";
1215
+ c = c ? (c + "").toLowerCase() : "text";
1216
1216
  let b = Ls([n, o && o.toAbortSignal()], a), h;
1217
1217
  const A = b && b.unsubscribe && (() => {
1218
1218
  b.unsubscribe();
1219
1219
  });
1220
1220
  let f;
1221
1221
  try {
1222
- if (c && Ds && t !== "get" && t !== "head" && (f = await Hs(d, r)) !== 0) {
1222
+ if (l && Ds && t !== "get" && t !== "head" && (f = await Hs(d, r)) !== 0) {
1223
1223
  let L = new Request(e, {
1224
1224
  method: "POST",
1225
1225
  body: r,
1226
1226
  duplex: "half"
1227
1227
  }), x;
1228
1228
  if (u.isFormData(r) && (x = L.headers.get("content-type")) && d.setContentType(x), L.body) {
1229
- const [B, ee] = Fe(
1229
+ const [B, ee] = Ue(
1230
1230
  f,
1231
- oe(Ve(c))
1231
+ oe(Ve(l))
1232
1232
  );
1233
1233
  r = Ge(L.body, He, B, ee);
1234
1234
  }
@@ -1245,13 +1245,13 @@ const Gs = async (s) => {
1245
1245
  credentials: C ? p : void 0
1246
1246
  });
1247
1247
  let _ = await fetch(h, O);
1248
- const w = Re && (l === "stream" || l === "response");
1248
+ const w = Re && (c === "stream" || c === "response");
1249
1249
  if (Re && (i || w && A)) {
1250
1250
  const L = {};
1251
1251
  ["status", "statusText", "headers"].forEach((_e) => {
1252
1252
  L[_e] = _[_e];
1253
1253
  });
1254
- const x = u.toFiniteNumber(_.headers.get("content-length")), [B, ee] = i && Fe(
1254
+ const x = u.toFiniteNumber(_.headers.get("content-length")), [B, ee] = i && Ue(
1255
1255
  x,
1256
1256
  oe(Ve(i), !0)
1257
1257
  ) || [];
@@ -1262,12 +1262,12 @@ const Gs = async (s) => {
1262
1262
  L
1263
1263
  );
1264
1264
  }
1265
- l = l || "text";
1266
- let G = await ae[u.findKey(ae, l) || "text"](_, s);
1265
+ c = c || "text";
1266
+ let G = await ae[u.findKey(ae, c) || "text"](_, s);
1267
1267
  return !w && A && A(), await new Promise((L, x) => {
1268
1268
  ot(L, x, {
1269
1269
  data: G,
1270
- headers: U.from(_.headers),
1270
+ headers: F.from(_.headers),
1271
1271
  status: _.status,
1272
1272
  statusText: _.statusText,
1273
1273
  config: s,
@@ -1313,7 +1313,7 @@ const xe = (s) => `- ${s}`, Bs = (s) => u.isFunction(s) || s === null || s === !
1313
1313
  }
1314
1314
  if (!r) {
1315
1315
  const o = Object.entries(n).map(
1316
- ([i, c]) => `adapter ${i} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
1316
+ ([i, l]) => `adapter ${i} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1317
1317
  );
1318
1318
  let a = e ? o.length > 1 ? `since :
1319
1319
  ` + o.map(xe).join(`
@@ -1329,10 +1329,10 @@ const xe = (s) => `- ${s}`, Bs = (s) => u.isFunction(s) || s === null || s === !
1329
1329
  };
1330
1330
  function Ee(s) {
1331
1331
  if (s.cancelToken && s.cancelToken.throwIfRequested(), s.signal && s.signal.aborted)
1332
- throw new Q(null, s);
1332
+ throw new q(null, s);
1333
1333
  }
1334
1334
  function Be(s) {
1335
- return Ee(s), s.headers = U.from(s.headers), s.data = me.call(
1335
+ return Ee(s), s.headers = F.from(s.headers), s.data = me.call(
1336
1336
  s,
1337
1337
  s.transformRequest
1338
1338
  ), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1), ut.getAdapter(s.adapter || Z.adapter)(s).then(function(r) {
@@ -1340,13 +1340,13 @@ function Be(s) {
1340
1340
  s,
1341
1341
  s.transformResponse,
1342
1342
  r
1343
- ), r.headers = U.from(r.headers), r;
1343
+ ), r.headers = F.from(r.headers), r;
1344
1344
  }, function(r) {
1345
1345
  return nt(r) || (Ee(s), r && r.response && (r.response.data = me.call(
1346
1346
  s,
1347
1347
  s.transformResponse,
1348
1348
  r.response
1349
- ), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
1349
+ ), r.response.headers = F.from(r.response.headers))), Promise.reject(r);
1350
1350
  });
1351
1351
  }
1352
1352
  const dt = "1.11.0", he = {};
@@ -1385,9 +1385,9 @@ function Ms(s, e, t) {
1385
1385
  for (; n-- > 0; ) {
1386
1386
  const o = r[n], a = e[o];
1387
1387
  if (a) {
1388
- const i = s[o], c = i === void 0 || a(i, o, s);
1389
- if (c !== !0)
1390
- throw new E("option " + o + " must be " + c, E.ERR_BAD_OPTION_VALUE);
1388
+ const i = s[o], l = i === void 0 || a(i, o, s);
1389
+ if (l !== !0)
1390
+ throw new E("option " + o + " must be " + l, E.ERR_BAD_OPTION_VALUE);
1391
1391
  continue;
1392
1392
  }
1393
1393
  if (t !== !0)
@@ -1455,20 +1455,20 @@ let k = class {
1455
1455
  (h) => {
1456
1456
  delete o[h];
1457
1457
  }
1458
- ), t.headers = U.concat(a, o);
1458
+ ), t.headers = F.concat(a, o);
1459
1459
  const i = [];
1460
- let c = !0;
1460
+ let l = !0;
1461
1461
  this.interceptors.request.forEach(function(A) {
1462
- typeof A.runWhen == "function" && A.runWhen(t) === !1 || (c = c && A.synchronous, i.unshift(A.fulfilled, A.rejected));
1462
+ typeof A.runWhen == "function" && A.runWhen(t) === !1 || (l = l && A.synchronous, i.unshift(A.fulfilled, A.rejected));
1463
1463
  });
1464
- const l = [];
1464
+ const c = [];
1465
1465
  this.interceptors.response.forEach(function(A) {
1466
- l.push(A.fulfilled, A.rejected);
1466
+ c.push(A.fulfilled, A.rejected);
1467
1467
  });
1468
1468
  let d, p = 0, O;
1469
- if (!c) {
1469
+ if (!l) {
1470
1470
  const h = [Be.bind(this), void 0];
1471
- for (h.unshift(...i), h.push(...l), O = h.length, d = Promise.resolve(t); p < O; )
1471
+ for (h.unshift(...i), h.push(...c), O = h.length, d = Promise.resolve(t); p < O; )
1472
1472
  d = d.then(h[p++], h[p++]);
1473
1473
  return d;
1474
1474
  }
@@ -1488,8 +1488,8 @@ let k = class {
1488
1488
  } catch (h) {
1489
1489
  return Promise.reject(h);
1490
1490
  }
1491
- for (p = 0, O = l.length; p < O; )
1492
- d = d.then(l[p++], l[p++]);
1491
+ for (p = 0, O = c.length; p < O; )
1492
+ d = d.then(c[p++], c[p++]);
1493
1493
  return d;
1494
1494
  }
1495
1495
  getUri(e) {
@@ -1546,7 +1546,7 @@ let js = class pt {
1546
1546
  r.unsubscribe(o);
1547
1547
  }, a;
1548
1548
  }, e(function(o, a, i) {
1549
- r.reason || (r.reason = new Q(o, a, i), t(r.reason));
1549
+ r.reason || (r.reason = new q(o, a, i), t(r.reason));
1550
1550
  });
1551
1551
  }
1552
1552
  /**
@@ -1679,7 +1679,7 @@ function ht(s) {
1679
1679
  }
1680
1680
  const m = ht(Z);
1681
1681
  m.Axios = k;
1682
- m.CanceledError = Q;
1682
+ m.CanceledError = q;
1683
1683
  m.CancelToken = js;
1684
1684
  m.isCancel = nt;
1685
1685
  m.VERSION = dt;
@@ -1692,7 +1692,7 @@ m.all = function(e) {
1692
1692
  m.spread = ks;
1693
1693
  m.isAxiosError = vs;
1694
1694
  m.mergeConfig = v;
1695
- m.AxiosHeaders = U;
1695
+ m.AxiosHeaders = F;
1696
1696
  m.formToJSON = (s) => rt(u.isHTMLForm(s) ? new FormData(s) : s);
1697
1697
  m.getAdapter = ut.getAdapter;
1698
1698
  m.HttpStatusCode = Te;
@@ -1713,7 +1713,7 @@ const {
1713
1713
  HttpStatusCode: Ir,
1714
1714
  formToJSON: Lr,
1715
1715
  getAdapter: Nr,
1716
- mergeConfig: Ur
1716
+ mergeConfig: Fr
1717
1717
  } = m, S = "http://localhost:41101".replace(/\/+$/, "");
1718
1718
  class z {
1719
1719
  constructor(e, t = S, r = m) {
@@ -1749,7 +1749,7 @@ const R = "https://example.com", y = function(s, e, t) {
1749
1749
  const a = { ...s.options, url: ((r == null ? void 0 : r.basePath) || o) + s.url };
1750
1750
  return n.request(a);
1751
1751
  };
1752
- }, qs = function(s) {
1752
+ }, $s = function(s) {
1753
1753
  return {
1754
1754
  /**
1755
1755
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
@@ -1764,10 +1764,10 @@ const R = "https://example.com", y = function(s, e, t) {
1764
1764
  const n = "/api/detect", o = new URL(n, R);
1765
1765
  let a;
1766
1766
  s && (a = s.baseOptions);
1767
- const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1768
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1767
+ const i = { method: "POST", ...a, ...r }, l = {}, c = {};
1768
+ t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(o, c);
1769
1769
  let d = a && a.headers ? a.headers : {};
1770
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1770
+ return i.headers = { ...l, ...d, ...r.headers }, i.data = D(e, i, s), {
1771
1771
  url: T(o),
1772
1772
  options: i
1773
1773
  };
@@ -1785,16 +1785,16 @@ const R = "https://example.com", y = function(s, e, t) {
1785
1785
  const n = "/api/match", o = new URL(n, R);
1786
1786
  let a;
1787
1787
  s && (a = s.baseOptions);
1788
- const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1789
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1788
+ const i = { method: "POST", ...a, ...r }, l = {}, c = {};
1789
+ t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(o, c);
1790
1790
  let d = a && a.headers ? a.headers : {};
1791
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1791
+ return i.headers = { ...l, ...d, ...r.headers }, i.data = D(e, i, s), {
1792
1792
  url: T(o),
1793
1793
  options: i
1794
1794
  };
1795
1795
  },
1796
1796
  /**
1797
- * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out.
1797
+ * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, match is not performed and only search is carried out.
1798
1798
  * @summary match and search (1:1 + 1:N)
1799
1799
  * @param {MatchAndSearchRequest} matchAndSearchRequest
1800
1800
  * @param {string} [xRequestID] Request header label.
@@ -1806,17 +1806,17 @@ const R = "https://example.com", y = function(s, e, t) {
1806
1806
  const n = "/api/match_and_search", o = new URL(n, R);
1807
1807
  let a;
1808
1808
  s && (a = s.baseOptions);
1809
- const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1810
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1809
+ const i = { method: "POST", ...a, ...r }, l = {}, c = {};
1810
+ t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(o, c);
1811
1811
  let d = a && a.headers ? a.headers : {};
1812
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1812
+ return i.headers = { ...l, ...d, ...r.headers }, i.data = D(e, i, s), {
1813
1813
  url: T(o),
1814
1814
  options: i
1815
1815
  };
1816
1816
  }
1817
1817
  };
1818
1818
  }, Ae = function(s) {
1819
- const e = qs(s);
1819
+ const e = $s(s);
1820
1820
  return {
1821
1821
  /**
1822
1822
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
@@ -1843,7 +1843,7 @@ const R = "https://example.com", y = function(s, e, t) {
1843
1843
  return g(o, m, S, s);
1844
1844
  },
1845
1845
  /**
1846
- * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out.
1846
+ * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, match is not performed and only search is carried out.
1847
1847
  * @summary match and search (1:1 + 1:N)
1848
1848
  * @param {MatchAndSearchRequest} matchAndSearchRequest
1849
1849
  * @param {string} [xRequestID] Request header label.
@@ -1856,7 +1856,7 @@ const R = "https://example.com", y = function(s, e, t) {
1856
1856
  }
1857
1857
  };
1858
1858
  };
1859
- let $s = class extends z {
1859
+ let Qs = class extends z {
1860
1860
  /**
1861
1861
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
1862
1862
  * @summary detect and check quality
@@ -1882,7 +1882,7 @@ let $s = class extends z {
1882
1882
  return Ae(this.configuration).match(e, t, r).then((n) => n(this.axios, this.basePath));
1883
1883
  }
1884
1884
  /**
1885
- * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out.
1885
+ * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, match is not performed and only search is carried out.
1886
1886
  * @summary match and search (1:1 + 1:N)
1887
1887
  * @param {MatchAndSearchRequest} matchAndSearchRequest
1888
1888
  * @param {string} [xRequestID] Request header label.
@@ -2041,7 +2041,7 @@ const Vr = {
2041
2041
  }, kr = {
2042
2042
  IN: "in",
2043
2043
  NOT_IN: "nin"
2044
- }, Qs = {
2044
+ }, qs = {
2045
2045
  DOCUMENT_PRINTED: 1,
2046
2046
  DOCUMENT_RFID: 2,
2047
2047
  LIVE: 3,
@@ -2053,22 +2053,22 @@ const Vr = {
2053
2053
  ACTIVE: 0,
2054
2054
  PASSIVE: 1
2055
2055
  };
2056
- var q = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ws = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
2057
- for (var te = 0; te < q.length; te++)
2058
- Ws[q.charCodeAt(te)] = te;
2056
+ var $ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ws = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
2057
+ for (var te = 0; te < $.length; te++)
2058
+ Ws[$.charCodeAt(te)] = te;
2059
2059
  var ie = function(s) {
2060
2060
  var e = new Uint8Array(s), t, r = e.length, n = "";
2061
2061
  for (t = 0; t < r; t += 3)
2062
- n += q[e[t] >> 2], n += q[(e[t] & 3) << 4 | e[t + 1] >> 4], n += q[(e[t + 1] & 15) << 2 | e[t + 2] >> 6], n += q[e[t + 2] & 63];
2062
+ n += $[e[t] >> 2], n += $[(e[t] & 3) << 4 | e[t + 1] >> 4], n += $[(e[t + 1] & 15) << 2 | e[t + 2] >> 6], n += $[e[t + 2] & 63];
2063
2063
  return r % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : r % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
2064
2064
  };
2065
2065
  class Ks {
2066
2066
  constructor(e, t, r) {
2067
- this.superClass = new $s(e, t, r);
2067
+ this.superClass = new Qs(e, t, r);
2068
2068
  }
2069
2069
  async match(e, t, r) {
2070
2070
  for (const o of e.images)
2071
- o.type || (o.type = Qs.LIVE), typeof o.data != "string" && (o.data = ie(o.data));
2071
+ o.type || (o.type = qs.LIVE), typeof o.data != "string" && (o.data = ie(o.data));
2072
2072
  return (await this.superClass.match(e, t, r)).data;
2073
2073
  }
2074
2074
  async detect(e, t, r) {
@@ -2090,10 +2090,10 @@ const Xs = function(s) {
2090
2090
  const n = "/api/groups", o = new URL(n, R);
2091
2091
  let a;
2092
2092
  s && (a = s.baseOptions);
2093
- const i = { method: "POST", ...a, ...r }, c = {}, l = {};
2094
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
2093
+ const i = { method: "POST", ...a, ...r }, l = {}, c = {};
2094
+ t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(o, c);
2095
2095
  let d = a && a.headers ? a.headers : {};
2096
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2096
+ return i.headers = { ...l, ...d, ...r.headers }, i.data = D(e, i, s), {
2097
2097
  url: T(o),
2098
2098
  options: i
2099
2099
  };
@@ -2111,10 +2111,10 @@ const Xs = function(s) {
2111
2111
  const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2112
2112
  let a;
2113
2113
  s && (a = s.baseOptions);
2114
- const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2115
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2114
+ const i = { method: "DELETE", ...a, ...r }, l = {}, c = {};
2115
+ t != null && (l["X-RequestID"] = String(t)), P(o, c);
2116
2116
  let d = a && a.headers ? a.headers : {};
2117
- return i.headers = { ...c, ...d, ...r.headers }, {
2117
+ return i.headers = { ...l, ...d, ...r.headers }, {
2118
2118
  url: T(o),
2119
2119
  options: i
2120
2120
  };
@@ -2132,12 +2132,12 @@ const Xs = function(s) {
2132
2132
  const o = "/api/groups", a = new URL(o, R);
2133
2133
  let i;
2134
2134
  s && (i = s.baseOptions);
2135
- const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2136
- e !== void 0 && (d.page = e), t !== void 0 && (d.size = t), r != null && (l["X-RequestID"] = String(r)), P(a, d);
2135
+ const l = { method: "GET", ...i, ...n }, c = {}, d = {};
2136
+ e !== void 0 && (d.page = e), t !== void 0 && (d.size = t), r != null && (c["X-RequestID"] = String(r)), P(a, d);
2137
2137
  let p = i && i.headers ? i.headers : {};
2138
- return c.headers = { ...l, ...p, ...n.headers }, {
2138
+ return l.headers = { ...c, ...p, ...n.headers }, {
2139
2139
  url: T(a),
2140
- options: c
2140
+ options: l
2141
2141
  };
2142
2142
  },
2143
2143
  /**
@@ -2153,14 +2153,14 @@ const Xs = function(s) {
2153
2153
  getAllPersonsByGroupId: async (e, t, r, n, o = {}) => {
2154
2154
  y("getAllPersonsByGroupId", "groupId", e);
2155
2155
  const a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), i = new URL(a, R);
2156
- let c;
2157
- s && (c = s.baseOptions);
2158
- const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2156
+ let l;
2157
+ s && (l = s.baseOptions);
2158
+ const c = { method: "GET", ...l, ...o }, d = {}, p = {};
2159
2159
  t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2160
- let O = c && c.headers ? c.headers : {};
2161
- return l.headers = { ...d, ...O, ...o.headers }, {
2160
+ let O = l && l.headers ? l.headers : {};
2161
+ return c.headers = { ...d, ...O, ...o.headers }, {
2162
2162
  url: T(i),
2163
- options: l
2163
+ options: c
2164
2164
  };
2165
2165
  },
2166
2166
  /**
@@ -2176,10 +2176,10 @@ const Xs = function(s) {
2176
2176
  const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2177
2177
  let a;
2178
2178
  s && (a = s.baseOptions);
2179
- const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2180
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2179
+ const i = { method: "GET", ...a, ...r }, l = {}, c = {};
2180
+ t != null && (l["X-RequestID"] = String(t)), P(o, c);
2181
2181
  let d = a && a.headers ? a.headers : {};
2182
- return i.headers = { ...c, ...d, ...r.headers }, {
2182
+ return i.headers = { ...l, ...d, ...r.headers }, {
2183
2183
  url: T(o),
2184
2184
  options: i
2185
2185
  };
@@ -2198,12 +2198,12 @@ const Xs = function(s) {
2198
2198
  const o = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2199
2199
  let i;
2200
2200
  s && (i = s.baseOptions);
2201
- const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2202
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2201
+ const l = { method: "PUT", ...i, ...n }, c = {}, d = {};
2202
+ r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(a, d);
2203
2203
  let p = i && i.headers ? i.headers : {};
2204
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2204
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = D(t, l, s), {
2205
2205
  url: T(a),
2206
- options: c
2206
+ options: l
2207
2207
  };
2208
2208
  },
2209
2209
  /**
@@ -2220,12 +2220,12 @@ const Xs = function(s) {
2220
2220
  const o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2221
2221
  let i;
2222
2222
  s && (i = s.baseOptions);
2223
- const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2224
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2223
+ const l = { method: "PUT", ...i, ...n }, c = {}, d = {};
2224
+ r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(a, d);
2225
2225
  let p = i && i.headers ? i.headers : {};
2226
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2226
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = D(t, l, s), {
2227
2227
  url: T(a),
2228
- options: c
2228
+ options: l
2229
2229
  };
2230
2230
  }
2231
2231
  };
@@ -2460,31 +2460,31 @@ const Zs = function(s) {
2460
2460
  const o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2461
2461
  let i;
2462
2462
  s && (i = s.baseOptions);
2463
- const c = { method: "POST", ...i, ...n }, l = {}, d = {};
2464
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2463
+ const l = { method: "POST", ...i, ...n }, c = {}, d = {};
2464
+ r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(a, d);
2465
2465
  let p = i && i.headers ? i.headers : {};
2466
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2466
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = D(t, l, s), {
2467
2467
  url: T(a),
2468
- options: c
2468
+ options: l
2469
2469
  };
2470
2470
  },
2471
2471
  /**
2472
2472
  *
2473
2473
  * @summary Create person
2474
- * @param {PersonFields} personFields
2474
+ * @param {PersonsRequest} personsRequest
2475
2475
  * @param {string} [xRequestID] Request header label.
2476
2476
  * @param {*} [options] Override http request option.
2477
2477
  * @throws {RequiredError}
2478
2478
  */
2479
2479
  createPerson: async (e, t, r = {}) => {
2480
- y("createPerson", "personFields", e);
2480
+ y("createPerson", "personsRequest", e);
2481
2481
  const n = "/api/persons", o = new URL(n, R);
2482
2482
  let a;
2483
2483
  s && (a = s.baseOptions);
2484
- const i = { method: "POST", ...a, ...r }, c = {}, l = {};
2485
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
2484
+ const i = { method: "POST", ...a, ...r }, l = {}, c = {};
2485
+ t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(o, c);
2486
2486
  let d = a && a.headers ? a.headers : {};
2487
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2487
+ return i.headers = { ...l, ...d, ...r.headers }, i.data = D(e, i, s), {
2488
2488
  url: T(o),
2489
2489
  options: i
2490
2490
  };
@@ -2503,12 +2503,12 @@ const Zs = function(s) {
2503
2503
  const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(t))), a = new URL(o, R);
2504
2504
  let i;
2505
2505
  s && (i = s.baseOptions);
2506
- const c = { method: "DELETE", ...i, ...n }, l = {}, d = {};
2507
- r != null && (l["X-RequestID"] = String(r)), P(a, d);
2506
+ const l = { method: "DELETE", ...i, ...n }, c = {}, d = {};
2507
+ r != null && (c["X-RequestID"] = String(r)), P(a, d);
2508
2508
  let p = i && i.headers ? i.headers : {};
2509
- return c.headers = { ...l, ...p, ...n.headers }, {
2509
+ return l.headers = { ...c, ...p, ...n.headers }, {
2510
2510
  url: T(a),
2511
- options: c
2511
+ options: l
2512
2512
  };
2513
2513
  },
2514
2514
  /**
@@ -2524,10 +2524,10 @@ const Zs = function(s) {
2524
2524
  const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2525
2525
  let a;
2526
2526
  s && (a = s.baseOptions);
2527
- const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2528
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2527
+ const i = { method: "DELETE", ...a, ...r }, l = {}, c = {};
2528
+ t != null && (l["X-RequestID"] = String(t)), P(o, c);
2529
2529
  let d = a && a.headers ? a.headers : {};
2530
- return i.headers = { ...c, ...d, ...r.headers }, {
2530
+ return i.headers = { ...l, ...d, ...r.headers }, {
2531
2531
  url: T(o),
2532
2532
  options: i
2533
2533
  };
@@ -2545,14 +2545,14 @@ const Zs = function(s) {
2545
2545
  getAllGroupsByPersonId: async (e, t, r, n, o = {}) => {
2546
2546
  y("getAllGroupsByPersonId", "personId", e);
2547
2547
  const a = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2548
- let c;
2549
- s && (c = s.baseOptions);
2550
- const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2548
+ let l;
2549
+ s && (l = s.baseOptions);
2550
+ const c = { method: "GET", ...l, ...o }, d = {}, p = {};
2551
2551
  t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2552
- let O = c && c.headers ? c.headers : {};
2553
- return l.headers = { ...d, ...O, ...o.headers }, {
2552
+ let O = l && l.headers ? l.headers : {};
2553
+ return c.headers = { ...d, ...O, ...o.headers }, {
2554
2554
  url: T(i),
2555
- options: l
2555
+ options: c
2556
2556
  };
2557
2557
  },
2558
2558
  /**
@@ -2568,14 +2568,14 @@ const Zs = function(s) {
2568
2568
  getAllImagesByPersonId: async (e, t, r, n, o = {}) => {
2569
2569
  y("getAllImagesByPersonId", "personId", e);
2570
2570
  const a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2571
- let c;
2572
- s && (c = s.baseOptions);
2573
- const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2571
+ let l;
2572
+ s && (l = s.baseOptions);
2573
+ const c = { method: "GET", ...l, ...o }, d = {}, p = {};
2574
2574
  t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2575
- let O = c && c.headers ? c.headers : {};
2576
- return l.headers = { ...d, ...O, ...o.headers }, {
2575
+ let O = l && l.headers ? l.headers : {};
2576
+ return c.headers = { ...d, ...O, ...o.headers }, {
2577
2577
  url: T(i),
2578
- options: l
2578
+ options: c
2579
2579
  };
2580
2580
  },
2581
2581
  /**
@@ -2592,12 +2592,12 @@ const Zs = function(s) {
2592
2592
  const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(t))), a = new URL(o, R);
2593
2593
  let i;
2594
2594
  s && (i = s.baseOptions);
2595
- const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2596
- r != null && (l["X-RequestID"] = String(r)), P(a, d);
2595
+ const l = { method: "GET", ...i, ...n }, c = {}, d = {};
2596
+ r != null && (c["X-RequestID"] = String(r)), P(a, d);
2597
2597
  let p = i && i.headers ? i.headers : {};
2598
- return c.headers = { ...l, ...p, ...n.headers }, {
2598
+ return l.headers = { ...c, ...p, ...n.headers }, {
2599
2599
  url: T(a),
2600
- options: c
2600
+ options: l
2601
2601
  };
2602
2602
  },
2603
2603
  /**
@@ -2613,10 +2613,10 @@ const Zs = function(s) {
2613
2613
  const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2614
2614
  let a;
2615
2615
  s && (a = s.baseOptions);
2616
- const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2617
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2616
+ const i = { method: "GET", ...a, ...r }, l = {}, c = {};
2617
+ t != null && (l["X-RequestID"] = String(t)), P(o, c);
2618
2618
  let d = a && a.headers ? a.headers : {};
2619
- return i.headers = { ...c, ...d, ...r.headers }, {
2619
+ return i.headers = { ...l, ...d, ...r.headers }, {
2620
2620
  url: T(o),
2621
2621
  options: i
2622
2622
  };
@@ -2635,12 +2635,12 @@ const Zs = function(s) {
2635
2635
  const o = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2636
2636
  let i;
2637
2637
  s && (i = s.baseOptions);
2638
- const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2639
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2638
+ const l = { method: "PUT", ...i, ...n }, c = {}, d = {};
2639
+ r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(a, d);
2640
2640
  let p = i && i.headers ? i.headers : {};
2641
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2641
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = D(t, l, s), {
2642
2642
  url: T(a),
2643
- options: c
2643
+ options: l
2644
2644
  };
2645
2645
  }
2646
2646
  };
@@ -2663,7 +2663,7 @@ const Zs = function(s) {
2663
2663
  /**
2664
2664
  *
2665
2665
  * @summary Create person
2666
- * @param {PersonFields} personFields
2666
+ * @param {PersonsRequest} personsRequest
2667
2667
  * @param {string} [xRequestID] Request header label.
2668
2668
  * @param {*} [options] Override http request option.
2669
2669
  * @throws {RequiredError}
@@ -2782,7 +2782,7 @@ let er = class extends z {
2782
2782
  /**
2783
2783
  *
2784
2784
  * @summary Create person
2785
- * @param {PersonFields} personFields
2785
+ * @param {PersonsRequest} personsRequest
2786
2786
  * @param {string} [xRequestID] Request header label.
2787
2787
  * @param {*} [options] Override http request option.
2788
2788
  * @throws {RequiredError}
@@ -2936,12 +2936,12 @@ const sr = function(s) {
2936
2936
  const o = "/api/search", a = new URL(o, R);
2937
2937
  let i;
2938
2938
  s && (i = s.baseOptions);
2939
- const c = { method: "POST", ...i, ...n }, l = {}, d = {};
2940
- r !== void 0 && (d.withImages = r), t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(a, d);
2939
+ const l = { method: "POST", ...i, ...n }, c = {}, d = {};
2940
+ r !== void 0 && (d.withImages = r), t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(a, d);
2941
2941
  let p = i && i.headers ? i.headers : {};
2942
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(e, c, s), {
2942
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = D(e, l, s), {
2943
2943
  url: T(a),
2944
- options: c
2944
+ options: l
2945
2945
  };
2946
2946
  }
2947
2947
  };
@@ -3000,10 +3000,10 @@ const ar = function(s) {
3000
3000
  const r = "/api/readiness", n = new URL(r, R);
3001
3001
  let o;
3002
3002
  s && (o = s.baseOptions);
3003
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3004
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3005
- let l = o && o.headers ? o.headers : {};
3006
- return a.headers = { ...i, ...l, ...t.headers }, {
3003
+ const a = { method: "GET", ...o, ...t }, i = {}, l = {};
3004
+ e != null && (i["X-RequestID"] = String(e)), P(n, l);
3005
+ let c = o && o.headers ? o.headers : {};
3006
+ return a.headers = { ...i, ...c, ...t.headers }, {
3007
3007
  url: T(n),
3008
3008
  options: a
3009
3009
  };
@@ -3025,7 +3025,7 @@ const ar = function(s) {
3025
3025
  }
3026
3026
  };
3027
3027
  };
3028
- let cr = class extends z {
3028
+ let lr = class extends z {
3029
3029
  /**
3030
3030
  *
3031
3031
  * @summary Checking the license status
@@ -3038,9 +3038,9 @@ let cr = class extends z {
3038
3038
  return ir(this.configuration).readiness(e, t).then((r) => r(this.axios, this.basePath));
3039
3039
  }
3040
3040
  };
3041
- class lr {
3041
+ class cr {
3042
3042
  constructor(e, t, r) {
3043
- this.superClass = new cr(e, t, r);
3043
+ this.superClass = new lr(e, t, r);
3044
3044
  }
3045
3045
  async readiness(e, t) {
3046
3046
  return (await this.superClass.readiness(e, t)).data;
@@ -3061,10 +3061,10 @@ const ur = function(s) {
3061
3061
  const n = "/api/v2/liveness", o = new URL(n, R);
3062
3062
  let a;
3063
3063
  s && (a = s.baseOptions);
3064
- const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
3065
- e !== void 0 && (l.transactionId = e), t !== void 0 && (l.tag = t), P(o, l);
3064
+ const i = { method: "DELETE", ...a, ...r }, l = {}, c = {};
3065
+ e !== void 0 && (c.transactionId = e), t !== void 0 && (c.tag = t), P(o, c);
3066
3066
  let d = a && a.headers ? a.headers : {};
3067
- return i.headers = { ...c, ...d, ...r.headers }, {
3067
+ return i.headers = { ...l, ...d, ...r.headers }, {
3068
3068
  url: T(o),
3069
3069
  options: i
3070
3070
  };
@@ -3081,10 +3081,10 @@ const ur = function(s) {
3081
3081
  const r = "/api/v2/liveness", n = new URL(r, R);
3082
3082
  let o;
3083
3083
  s && (o = s.baseOptions);
3084
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3085
- e !== void 0 && (c.transactionId = e), P(n, c);
3086
- let l = o && o.headers ? o.headers : {};
3087
- return a.headers = { ...i, ...l, ...t.headers }, {
3084
+ const a = { method: "GET", ...o, ...t }, i = {}, l = {};
3085
+ e !== void 0 && (l.transactionId = e), P(n, l);
3086
+ let c = o && o.headers ? o.headers : {};
3087
+ return a.headers = { ...i, ...c, ...t.headers }, {
3088
3088
  url: T(n),
3089
3089
  options: a
3090
3090
  };
@@ -3153,7 +3153,7 @@ class pr {
3153
3153
  }
3154
3154
  class Kr {
3155
3155
  constructor(e, t = S, r = m) {
3156
- this.basePath = t, this.axios = r, this.matchApi = new Ks(e, t, r), this.groupApi = new Ys(e, t, r), this.personApi = new tr(e, t, r), this.searchApi = new or(e, t, r), this.diagnosticsApi = new lr(e, t, r), this.livenessApi = new pr(e, t, r);
3156
+ this.basePath = t, this.axios = r, this.matchApi = new Ks(e, t, r), this.groupApi = new Ys(e, t, r), this.personApi = new tr(e, t, r), this.searchApi = new or(e, t, r), this.diagnosticsApi = new cr(e, t, r), this.livenessApi = new pr(e, t, r);
3157
3157
  }
3158
3158
  }
3159
3159
  const hr = function(s) {
@@ -3169,10 +3169,10 @@ const hr = function(s) {
3169
3169
  const r = "/api/healthz", n = new URL(r, R);
3170
3170
  let o;
3171
3171
  s && (o = s.baseOptions);
3172
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3173
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3174
- let l = o && o.headers ? o.headers : {};
3175
- return a.headers = { ...i, ...l, ...t.headers }, {
3172
+ const a = { method: "GET", ...o, ...t }, i = {}, l = {};
3173
+ e != null && (i["X-RequestID"] = String(e)), P(n, l);
3174
+ let c = o && o.headers ? o.headers : {};
3175
+ return a.headers = { ...i, ...c, ...t.headers }, {
3176
3176
  url: T(n),
3177
3177
  options: a
3178
3178
  };
@@ -3188,10 +3188,10 @@ const hr = function(s) {
3188
3188
  const r = "/api/readyz", n = new URL(r, R);
3189
3189
  let o;
3190
3190
  s && (o = s.baseOptions);
3191
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3192
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3193
- let l = o && o.headers ? o.headers : {};
3194
- return a.headers = { ...i, ...l, ...t.headers }, {
3191
+ const a = { method: "GET", ...o, ...t }, i = {}, l = {};
3192
+ e != null && (i["X-RequestID"] = String(e)), P(n, l);
3193
+ let c = o && o.headers ? o.headers : {};
3194
+ return a.headers = { ...i, ...c, ...t.headers }, {
3195
3195
  url: T(n),
3196
3196
  options: a
3197
3197
  };
@@ -3280,7 +3280,7 @@ class Yr {
3280
3280
  }
3281
3281
  export {
3282
3282
  Yr as Configuration,
3283
- lr as DiagnosticsApi,
3283
+ cr as DiagnosticsApi,
3284
3284
  Vr as FaceAttribute,
3285
3285
  Dr as FaceImageQualityAlignType,
3286
3286
  Gr as FaceImageQualityGroups,
@@ -3293,7 +3293,7 @@ export {
3293
3293
  kr as FilterOp,
3294
3294
  Ys as GroupApi,
3295
3295
  Jr as HealthcheckApi,
3296
- Qs as ImageSource,
3296
+ qs as ImageSource,
3297
3297
  pr as Liveness20Api,
3298
3298
  vr as LivenessType,
3299
3299
  Ks as MatchApi,