@regulaforensics/idv-capture-web 3.2.249-nightly → 3.2.250-nightly

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
@@ -10,7 +10,7 @@ var Uo = (t, e, r) => e in t ? Dl(t, e, { enumerable: !0, configurable: !0, writ
10
10
  Vo.call(e, r) && Uo(t, r, e[r]);
11
11
  return t;
12
12
  }, Y = (t, e) => Pl(t, Ml(e));
13
- var Xt = (t, e) => {
13
+ var Jt = (t, e) => {
14
14
  var r = {};
15
15
  for (var n in t)
16
16
  Lo.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
@@ -40,16 +40,16 @@ var U = (t, e, r) => new Promise((n, i) => {
40
40
  * Copyright 2019 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
42
  */
43
- const kn = globalThis, Xi = kn.ShadowRoot && (kn.ShadyCSS === void 0 || kn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ji = Symbol(), $o = /* @__PURE__ */ new WeakMap();
44
- let Xs = class {
43
+ const kn = globalThis, Ji = kn.ShadowRoot && (kn.ShadyCSS === void 0 || kn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xi = Symbol(), $o = /* @__PURE__ */ new WeakMap();
44
+ let Js = class {
45
45
  constructor(e, r, n) {
46
- if (this._$cssResult$ = !0, n !== Ji) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
46
+ if (this._$cssResult$ = !0, n !== Xi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
47
47
  this.cssText = e, this.t = r;
48
48
  }
49
49
  get styleSheet() {
50
50
  let e = this.o;
51
51
  const r = this.t;
52
- if (Xi && e === void 0) {
52
+ if (Ji && e === void 0) {
53
53
  const n = r !== void 0 && r.length === 1;
54
54
  n && (e = $o.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && $o.set(r, e));
55
55
  }
@@ -59,20 +59,20 @@ let Xs = class {
59
59
  return this.cssText;
60
60
  }
61
61
  };
62
- const Fl = (t) => new Xs(typeof t == "string" ? t : t + "", void 0, Ji), Ul = (t, ...e) => {
62
+ const Fl = (t) => new Js(typeof t == "string" ? t : t + "", void 0, Xi), Ul = (t, ...e) => {
63
63
  const r = t.length === 1 ? t[0] : e.reduce(((n, i, o) => n + ((s) => {
64
64
  if (s._$cssResult$ === !0) return s.cssText;
65
65
  if (typeof s == "number") return s;
66
66
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
67
67
  })(i) + t[o + 1]), t[0]);
68
- return new Xs(r, t, Ji);
68
+ return new Js(r, t, Xi);
69
69
  }, Ll = (t, e) => {
70
- if (Xi) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
70
+ if (Ji) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
71
71
  else for (const r of e) {
72
72
  const n = document.createElement("style"), i = kn.litNonce;
73
73
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = r.cssText, t.appendChild(n);
74
74
  }
75
- }, Bo = Xi ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
75
+ }, Bo = Ji ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
76
76
  let r = "";
77
77
  for (const n of e.cssRules) r += n.cssText;
78
78
  return Fl(r);
@@ -330,9 +330,9 @@ _r.elementStyles = [], _r.shadowRootOptions = { mode: "open" }, _r[kr("elementPr
330
330
  * Copyright 2017 Google LLC
331
331
  * SPDX-License-Identifier: BSD-3-Clause
332
332
  */
333
- const Nr = globalThis, Pn = Nr.trustedTypes, jo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Kt = `lit$${Math.random().toFixed(9).slice(2)}$`, Qs = "?" + Kt, Kl = `<${Qs}>`, lr = document, Hr = () => lr.createComment(""), Wr = (t) => t === null || typeof t != "object" && typeof t != "function", eo = Array.isArray, Gl = (t) => eo(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ci = `[
334
- \f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zo = /-->/g, Ko = />/g, Jt = RegExp(`>|${Ci}(?:([^\\s"'>=/]+)(${Ci}*=${Ci}*(?:[^
335
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Go = /'/g, qo = /"/g, ea = /^(?:script|style|textarea|title)$/i, ql = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Si = ql(1), vr = Symbol.for("lit-noChange"), De = Symbol.for("lit-nothing"), Zo = /* @__PURE__ */ new WeakMap(), ir = lr.createTreeWalker(lr, 129);
333
+ const Nr = globalThis, Pn = Nr.trustedTypes, jo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Xs = "$lit$", Kt = `lit$${Math.random().toFixed(9).slice(2)}$`, Qs = "?" + Kt, Kl = `<${Qs}>`, lr = document, Hr = () => lr.createComment(""), Wr = (t) => t === null || typeof t != "object" && typeof t != "function", eo = Array.isArray, Gl = (t) => eo(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ci = `[
334
+ \f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zo = /-->/g, Ko = />/g, Xt = RegExp(`>|${Ci}(?:([^\\s"'>=/]+)(${Ci}*=${Ci}*(?:[^
335
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Go = /'/g, qo = /"/g, ea = /^(?:script|style|textarea|title)$/i, ql = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Si = ql(1), vr = Symbol.for("lit-noChange"), Re = Symbol.for("lit-nothing"), Zo = /* @__PURE__ */ new WeakMap(), ir = lr.createTreeWalker(lr, 129);
336
336
  function ta(t, e) {
337
337
  if (!eo(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
338
338
  return jo !== void 0 ? jo.createHTML(e) : e;
@@ -343,9 +343,9 @@ const Zl = (t, e) => {
343
343
  for (let a = 0; a < r; a++) {
344
344
  const l = t[a];
345
345
  let d, _, h = -1, c = 0;
346
- for (; c < l.length && (s.lastIndex = c, _ = s.exec(l), _ !== null); ) c = s.lastIndex, s === Or ? _[1] === "!--" ? s = zo : _[1] !== void 0 ? s = Ko : _[2] !== void 0 ? (ea.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = Jt) : _[3] !== void 0 && (s = Jt) : s === Jt ? _[0] === ">" ? (s = i != null ? i : Or, h = -1) : _[1] === void 0 ? h = -2 : (h = s.lastIndex - _[2].length, d = _[1], s = _[3] === void 0 ? Jt : _[3] === '"' ? qo : Go) : s === qo || s === Go ? s = Jt : s === zo || s === Ko ? s = Or : (s = Jt, i = void 0);
347
- const y = s === Jt && t[a + 1].startsWith("/>") ? " " : "";
348
- o += s === Or ? l + Kl : h >= 0 ? (n.push(d), l.slice(0, h) + Js + l.slice(h) + Kt + y) : l + Kt + (h === -2 ? a : y);
346
+ for (; c < l.length && (s.lastIndex = c, _ = s.exec(l), _ !== null); ) c = s.lastIndex, s === Or ? _[1] === "!--" ? s = zo : _[1] !== void 0 ? s = Ko : _[2] !== void 0 ? (ea.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = Xt) : _[3] !== void 0 && (s = Xt) : s === Xt ? _[0] === ">" ? (s = i != null ? i : Or, h = -1) : _[1] === void 0 ? h = -2 : (h = s.lastIndex - _[2].length, d = _[1], s = _[3] === void 0 ? Xt : _[3] === '"' ? qo : Go) : s === qo || s === Go ? s = Xt : s === zo || s === Ko ? s = Or : (s = Xt, i = void 0);
347
+ const y = s === Xt && t[a + 1].startsWith("/>") ? " " : "";
348
+ o += s === Or ? l + Kl : h >= 0 ? (n.push(d), l.slice(0, h) + Xs + l.slice(h) + Kt + y) : l + Kt + (h === -2 ? a : y);
349
349
  }
350
350
  return [ta(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
351
351
  };
@@ -361,9 +361,9 @@ let Li = class ra {
361
361
  }
362
362
  for (; (i = ir.nextNode()) !== null && l.length < a; ) {
363
363
  if (i.nodeType === 1) {
364
- if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Js)) {
364
+ if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Xs)) {
365
365
  const c = _[s++], y = i.getAttribute(h).split(Kt), g = /([.?@])?(.*)/.exec(c);
366
- l.push({ type: 1, index: o, name: g[2], strings: y, ctor: g[1] === "." ? Xl : g[1] === "?" ? Jl : g[1] === "@" ? Ql : Xn }), i.removeAttribute(h);
366
+ l.push({ type: 1, index: o, name: g[2], strings: y, ctor: g[1] === "." ? Jl : g[1] === "?" ? Xl : g[1] === "@" ? Ql : Jn }), i.removeAttribute(h);
367
367
  } else h.startsWith(Kt) && (l.push({ type: 6, index: o }), i.removeAttribute(h));
368
368
  if (ea.test(i.tagName)) {
369
369
  const h = i.textContent.split(Kt), c = h.length - 1;
@@ -428,7 +428,7 @@ let Yl = class {
428
428
  }
429
429
  constructor(e, r, n, i) {
430
430
  var o;
431
- this.type = 2, this._$AH = De, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = i, this._$Cv = (o = i == null ? void 0 : i.isConnected) != null ? o : !0;
431
+ this.type = 2, this._$AH = Re, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = i, this._$Cv = (o = i == null ? void 0 : i.isConnected) != null ? o : !0;
432
432
  }
433
433
  get parentNode() {
434
434
  let e = this._$AA.parentNode;
@@ -442,7 +442,7 @@ let Yl = class {
442
442
  return this._$AB;
443
443
  }
444
444
  _$AI(e, r = this) {
445
- e = yr(this, e, r), Wr(e) ? e === De || e == null || e === "" ? (this._$AH !== De && this._$AR(), this._$AH = De) : e !== this._$AH && e !== vr && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Gl(e) ? this.k(e) : this._(e);
445
+ e = yr(this, e, r), Wr(e) ? e === Re || e == null || e === "" ? (this._$AH !== Re && this._$AR(), this._$AH = Re) : e !== this._$AH && e !== vr && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Gl(e) ? this.k(e) : this._(e);
446
446
  }
447
447
  O(e) {
448
448
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -451,7 +451,7 @@ let Yl = class {
451
451
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
452
452
  }
453
453
  _(e) {
454
- this._$AH !== De && Wr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(lr.createTextNode(e)), this._$AH = e;
454
+ this._$AH !== Re && Wr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(lr.createTextNode(e)), this._$AH = e;
455
455
  }
456
456
  $(e) {
457
457
  var o;
@@ -484,7 +484,7 @@ let Yl = class {
484
484
  var r;
485
485
  this._$AM === void 0 && (this._$Cv = e, (r = this._$AP) == null || r.call(this, e));
486
486
  }
487
- }, Xn = class {
487
+ }, Jn = class {
488
488
  get tagName() {
489
489
  return this.element.tagName;
490
490
  }
@@ -492,7 +492,7 @@ let Yl = class {
492
492
  return this._$AM._$AU;
493
493
  }
494
494
  constructor(e, r, n, i, o) {
495
- this.type = 1, this._$AH = De, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = o, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = De;
495
+ this.type = 1, this._$AH = Re, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = o, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = Re;
496
496
  }
497
497
  _$AI(e, r = this, n, i) {
498
498
  const o = this.strings;
@@ -501,35 +501,35 @@ let Yl = class {
501
501
  else {
502
502
  const a = e;
503
503
  let l, d;
504
- for (e = o[0], l = 0; l < o.length - 1; l++) d = yr(this, a[n + l], r, l), d === vr && (d = this._$AH[l]), s || (s = !Wr(d) || d !== this._$AH[l]), d === De ? e = De : e !== De && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
504
+ for (e = o[0], l = 0; l < o.length - 1; l++) d = yr(this, a[n + l], r, l), d === vr && (d = this._$AH[l]), s || (s = !Wr(d) || d !== this._$AH[l]), d === Re ? e = Re : e !== Re && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
505
505
  }
506
506
  s && !i && this.j(e);
507
507
  }
508
508
  j(e) {
509
- e === De ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
509
+ e === Re ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
510
510
  }
511
- }, Xl = class extends Xn {
511
+ }, Jl = class extends Jn {
512
512
  constructor() {
513
513
  super(...arguments), this.type = 3;
514
514
  }
515
515
  j(e) {
516
- this.element[this.name] = e === De ? void 0 : e;
516
+ this.element[this.name] = e === Re ? void 0 : e;
517
517
  }
518
- }, Jl = class extends Xn {
518
+ }, Xl = class extends Jn {
519
519
  constructor() {
520
520
  super(...arguments), this.type = 4;
521
521
  }
522
522
  j(e) {
523
- this.element.toggleAttribute(this.name, !!e && e !== De);
523
+ this.element.toggleAttribute(this.name, !!e && e !== Re);
524
524
  }
525
- }, Ql = class extends Xn {
525
+ }, Ql = class extends Jn {
526
526
  constructor(e, r, n, i, o) {
527
527
  super(e, r, n, i, o), this.type = 5;
528
528
  }
529
529
  _$AI(e, r = this) {
530
530
  var s;
531
- if ((e = (s = yr(this, e, r, 0)) != null ? s : De) === vr) return;
532
- const n = this._$AH, i = e === De && n !== De || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== De && (n === De || i);
531
+ if ((e = (s = yr(this, e, r, 0)) != null ? s : Re) === vr) return;
532
+ const n = this._$AH, i = e === Re && n !== Re || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== Re && (n === Re || i);
533
533
  i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
534
534
  }
535
535
  handleEvent(e) {
@@ -750,7 +750,7 @@ const Vi = new oc(), sc = Ul`
750
750
  DATA: "DATA",
751
751
  QUESTIONARY: "QUESTIONARY"
752
752
  }, lc = Object.values(ac);
753
- var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Ct = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Ct || {}), Le = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Le || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), Jn = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(Jn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Fn || {}), St = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(St || {}), er = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(er || {}), at = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(at || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), zt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(zt || {});
753
+ var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Ct = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Ct || {}), Le = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Le || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), Xn = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(Xn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Fn || {}), St = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(St || {}), er = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(er || {}), at = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(at || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), zt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(zt || {});
754
754
  const cc = 120, dc = 200, $i = "PROGRESS", gt = "IDV", Qt = "idv-session-data", xr = "idv-session-auth-token", uc = "rgl-uid", fc = "en", Yo = (t) => {
755
755
  let e;
756
756
  const r = /* @__PURE__ */ new Set(), n = (d, _) => {
@@ -762,7 +762,7 @@ const cc = 120, dc = 200, $i = "PROGRESS", gt = "IDV", Qt = "idv-session-data",
762
762
  }, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
763
763
  return a;
764
764
  }, hc = (t) => t ? Yo(t) : Yo;
765
- var Kr, ae, oa, tr, Xo, sa, aa, la, ro, Bi, Hi, ca, jr = {}, da = [], pc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gr = Array.isArray;
765
+ var Kr, ae, oa, tr, Jo, sa, aa, la, ro, Bi, Hi, ca, jr = {}, da = [], pc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gr = Array.isArray;
766
766
  function _t(t, e) {
767
767
  for (var r in e) t[r] = e[r];
768
768
  return t;
@@ -805,7 +805,7 @@ function fa(t) {
805
805
  }
806
806
  }
807
807
  function Wi(t) {
808
- (!t.__d && (t.__d = !0) && tr.push(t) && !Ln.__r++ || Xo != ae.debounceRendering) && ((Xo = ae.debounceRendering) || sa)(Ln);
808
+ (!t.__d && (t.__d = !0) && tr.push(t) && !Ln.__r++ || Jo != ae.debounceRendering) && ((Jo = ae.debounceRendering) || sa)(Ln);
809
809
  }
810
810
  function Ln() {
811
811
  for (var t, e, r, n, i, o, s, a = 1; tr.length; ) tr.length > a && tr.sort(aa), t = tr.shift(), a = tr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = _t({}, n)).__v = n.__v + 1, ae.vnode && ae.vnode(r), io(e.__P, r, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? br(n) : i, !!(32 & n.__u), s), r.__v = n.__v, r.__.__k[r.__i] = r, _a(o, r, s), n.__e = n.__ = null, r.__e != i && fa(r)));
@@ -847,15 +847,15 @@ function mc(t, e, r, n) {
847
847
  }
848
848
  return -1;
849
849
  }
850
- function Jo(t, e, r) {
850
+ function Xo(t, e, r) {
851
851
  e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || pc.test(e) ? r : r + "px";
852
852
  }
853
853
  function xn(t, e, r, n, i) {
854
854
  var o, s;
855
855
  e: if (e == "style") if (typeof r == "string") t.style.cssText = r;
856
856
  else {
857
- if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r || Jo(t.style, e, "");
858
- if (r) for (e in r) n && r[e] == n[e] || Jo(t.style, e, r[e]);
857
+ if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r || Xo(t.style, e, "");
858
+ if (r) for (e in r) n && r[e] == n[e] || Xo(t.style, e, r[e]);
859
859
  }
860
860
  else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(la, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? n ? r.u = n.u : (r.u = ro, t.addEventListener(e, o ? Hi : Bi, o)) : t.removeEventListener(e, o ? Hi : Bi, o);
861
861
  else {
@@ -1592,7 +1592,7 @@ var Rr = { exports: {} }, Wc = Rr.exports, gs;
1592
1592
  function jc() {
1593
1593
  return gs || (gs = 1, (function(t, e) {
1594
1594
  (function(r, n) {
1595
- var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", _ = "string", h = "major", c = "model", y = "name", g = "type", f = "vendor", m = "version", S = "architecture", b = "console", C = "mobile", O = "tablet", N = "smarttv", R = "wearable", M = "embedded", pe = 500, _e = "Amazon", ee = "Apple", Q = "ASUS", H = "BlackBerry", X = "Browser", de = "Chrome", ue = "Edge", we = "Firefox", ve = "Google", te = "Honor", z = "Huawei", F = "Lenovo", q = "LG", re = "Microsoft", Se = "Motorola", ne = "Nvidia", $ = "OnePlus", J = "Opera", $e = "OPPO", je = "Samsung", it = "Sharp", Xe = "Sony", wt = "Xiaomi", ot = "Zebra", $t = "Facebook", vt = "Chromium OS", ft = "Mac OS", yt = " Browser", Bt = function(Z, se) {
1595
+ var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", _ = "string", h = "major", c = "model", y = "name", g = "type", f = "vendor", m = "version", S = "architecture", b = "console", C = "mobile", O = "tablet", N = "smarttv", R = "wearable", M = "embedded", pe = 500, _e = "Amazon", ee = "Apple", Q = "ASUS", H = "BlackBerry", J = "Browser", de = "Chrome", ue = "Edge", we = "Firefox", ve = "Google", te = "Honor", z = "Huawei", F = "Lenovo", q = "LG", re = "Microsoft", Se = "Motorola", ne = "Nvidia", $ = "OnePlus", X = "Opera", $e = "OPPO", je = "Samsung", it = "Sharp", Je = "Sony", wt = "Xiaomi", ot = "Zebra", $t = "Facebook", vt = "Chromium OS", ft = "Mac OS", yt = " Browser", Bt = function(Z, se) {
1596
1596
  var j = {};
1597
1597
  for (var me in Z)
1598
1598
  se[me] && se[me].length % 2 === 0 ? j[me] = se[me].concat(Z[me]) : j[me] = Z[me];
@@ -1628,7 +1628,7 @@ function jc() {
1628
1628
  } else if (et(se[j], Z))
1629
1629
  return j === s ? n : j;
1630
1630
  return se.hasOwnProperty("*") ? se["*"] : Z;
1631
- }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ie = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, J + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, J + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, J]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + X]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + X]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + X], m], [/\bfocus\/([\w\.]+)/i], [m, [y, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, J + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, J + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + yt]], [/fxios\/([\w\.-]+)/i], [m, [y, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + yt], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, $t], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + X]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, D, P]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, v]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, v]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [g, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [g, C]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ee], [g, C]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ee], [g, O]], [/(macintosh);/i], [c, [f, ee]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, it], [g, C]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, te], [g, O]], [/honor([-\w ]+)[;\)]/i], [c, [f, te], [g, C]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [g, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [g, C]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, wt], [g, O]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, wt], [g, C]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [g, C]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, D, { OnePlus: ["304", "403", "203"], "*": $e }], [g, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [g, C]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [g, C]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [g, C]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [g, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, q], [g, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, q], [g, C]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, F], [g, O]], [/(nokia) (t[12][01])/i], [f, c, [g, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [g, C], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [g, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [g, C]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [g, C]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [g, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [g, C]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [g, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [g, C]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [g, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [g, C]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Q], [g, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Q], [g, C]], [/(nexus 9)/i], [c, [f, "HTC"], [g, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [g, C]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [g, O]], [/(itel) ((\w+))/i], [[f, v], c, [g, D, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [g, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [g, C]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [g, C]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [g, C]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [g, C]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [g, C]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [g, C]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [g, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [g, C]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [g, O]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [g, C]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [g, O]], [/(surface duo)/i], [c, [f, re], [g, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [g, C]], [/(u304aa)/i], [c, [f, "AT&T"], [g, C]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [g, C]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [g, O]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [g, O]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [g, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [g, O]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [g, O]], [/\b(k88) b/i], [c, [f, "ZTE"], [g, O]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [g, C]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [g, C]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [g, O]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [g, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [g, O]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [g, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [g, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [g, C]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [g, C]], [/\b(ph-1) /i], [c, [f, "Essential"], [g, C]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [g, O]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [g, O]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [g, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, ne], [g, O]], [/(sprint) (\w+)/i], [f, c, [g, C]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, re], [g, C]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, ot], [g, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, ot], [g, C]], [/smart-tv.+(samsung)/i], [f, [g, N]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [g, N]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, q], [g, N]], [/(apple) ?tv/i], [f, [c, ee + " TV"], [g, N]], [/crkey/i], [[c, de + "cast"], [f, ve], [g, N]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [g, N]], [/(shield \w+ tv)/i], [c, [f, ne], [g, N]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, it], [g, N]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [g, N]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, wt], [g, N]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [g, N]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [g, N]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [g, N]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, N]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [g, b]], [/droid.+; (shield)( bui|\))/i], [c, [f, ne], [g, b]], [/(playstation \w+)/i], [c, [f, Xe], [g, b]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, re], [g, b]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [g, R]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [g, R]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [g, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ee], [g, R]], [/(opwwe\d{3})/i], [c, [f, $], [g, R]], [/(moto 360)/i], [c, [f, Se], [g, R]], [/(smartwatch 3)/i], [c, [f, Xe], [g, R]], [/(g watch r)/i], [c, [f, q], [g, R]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, ot], [g, R]], [/droid.+; (glass) \d/i], [c, [f, ve], [g, R]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [g, R]], [/; (quest( \d| pro)?)/i], [c, [f, $t], [g, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [g, M]], [/(aeobc)\b/i], [c, [f, _e], [g, M]], [/(homepod).+mac os/i], [c, [f, ee], [g, M]], [/windows iot/i], [[g, M]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [g, C]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [g, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, C]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, ue + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, D, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, D, W], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ft], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, vt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, m]] }, K = function(Z, se) {
1631
+ }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ie = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, X + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, X + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, X]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + J]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + J]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + J], m], [/\bfocus\/([\w\.]+)/i], [m, [y, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, X + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, X + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + yt]], [/fxios\/([\w\.-]+)/i], [m, [y, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + yt], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, $t], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + J]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, D, P]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, v]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, v]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [g, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [g, C]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ee], [g, C]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ee], [g, O]], [/(macintosh);/i], [c, [f, ee]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, it], [g, C]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, te], [g, O]], [/honor([-\w ]+)[;\)]/i], [c, [f, te], [g, C]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [g, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [g, C]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, wt], [g, O]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, wt], [g, C]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [g, C]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, D, { OnePlus: ["304", "403", "203"], "*": $e }], [g, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [g, C]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [g, C]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [g, C]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [g, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, q], [g, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, q], [g, C]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, F], [g, O]], [/(nokia) (t[12][01])/i], [f, c, [g, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [g, C], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [g, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [g, C]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Je], [g, C]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Je], [g, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [g, C]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [g, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [g, C]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [g, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [g, C]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Q], [g, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Q], [g, C]], [/(nexus 9)/i], [c, [f, "HTC"], [g, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [g, C]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [g, O]], [/(itel) ((\w+))/i], [[f, v], c, [g, D, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [g, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [g, C]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [g, C]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [g, C]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [g, C]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [g, C]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [g, C]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [g, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [g, C]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [g, O]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [g, C]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [g, O]], [/(surface duo)/i], [c, [f, re], [g, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [g, C]], [/(u304aa)/i], [c, [f, "AT&T"], [g, C]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [g, C]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [g, O]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [g, O]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [g, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [g, O]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [g, O]], [/\b(k88) b/i], [c, [f, "ZTE"], [g, O]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [g, C]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [g, C]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [g, O]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [g, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [g, O]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [g, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [g, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [g, C]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [g, C]], [/\b(ph-1) /i], [c, [f, "Essential"], [g, C]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [g, O]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [g, O]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [g, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, ne], [g, O]], [/(sprint) (\w+)/i], [f, c, [g, C]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, re], [g, C]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, ot], [g, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, ot], [g, C]], [/smart-tv.+(samsung)/i], [f, [g, N]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [g, N]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, q], [g, N]], [/(apple) ?tv/i], [f, [c, ee + " TV"], [g, N]], [/crkey/i], [[c, de + "cast"], [f, ve], [g, N]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [g, N]], [/(shield \w+ tv)/i], [c, [f, ne], [g, N]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, it], [g, N]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Je], [g, N]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, wt], [g, N]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [g, N]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [g, N]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [g, N]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, N]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [g, b]], [/droid.+; (shield)( bui|\))/i], [c, [f, ne], [g, b]], [/(playstation \w+)/i], [c, [f, Je], [g, b]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, re], [g, b]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [g, R]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [g, R]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [g, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ee], [g, R]], [/(opwwe\d{3})/i], [c, [f, $], [g, R]], [/(moto 360)/i], [c, [f, Se], [g, R]], [/(smartwatch 3)/i], [c, [f, Je], [g, R]], [/(g watch r)/i], [c, [f, q], [g, R]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, ot], [g, R]], [/droid.+; (glass) \d/i], [c, [f, ve], [g, R]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [g, R]], [/; (quest( \d| pro)?)/i], [c, [f, $t], [g, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [g, M]], [/(aeobc)\b/i], [c, [f, _e], [g, M]], [/(homepod).+mac os/i], [c, [f, ee], [g, M]], [/windows iot/i], [[g, M]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [g, C]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [g, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, C]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, ue + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, D, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, D, W], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ft], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, vt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, m]] }, K = function(Z, se) {
1632
1632
  if (typeof Z === d && (se = Z, Z = n), !(this instanceof K))
1633
1633
  return new K(Z, se).getResult();
1634
1634
  var j = typeof r !== l && r.navigator ? r.navigator : n, me = Z || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n, Oe = se ? Bt(ie, se) : ie, fe = j && j.userAgent == me;
@@ -1819,7 +1819,7 @@ function zc() {
1819
1819
  throw new TypeError("Derived constructors may only return object or undefined");
1820
1820
  return Q(E);
1821
1821
  }
1822
- function X(E, p) {
1822
+ function J(E, p) {
1823
1823
  return de(E) || ue(E, p) || we(E, p) || te();
1824
1824
  }
1825
1825
  function de(E) {
@@ -1934,10 +1934,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1934
1934
  }, $ = function(p) {
1935
1935
  var w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
1936
1936
  return p || w;
1937
- }, J = function() {
1937
+ }, X = function() {
1938
1938
  return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
1939
1939
  }, $e = function(p) {
1940
- var w = J();
1940
+ var w = X();
1941
1941
  return w && w.platform && (w.platform.indexOf(p) !== -1 || w.platform === "MacIntel" && w.maxTouchPoints > 1 && !window.MSStream);
1942
1942
  }, je = function(p, w, x, k, he) {
1943
1943
  return {
@@ -1959,7 +1959,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1959
1959
  osVersion: $(x.version),
1960
1960
  ua: $(k)
1961
1961
  });
1962
- }, Xe = function(p, w, x, k) {
1962
+ }, Je = function(p, w, x, k) {
1963
1963
  return {
1964
1964
  isSmartTV: p,
1965
1965
  engineName: $(w.name),
@@ -2003,7 +2003,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2003
2003
  if (In)
2004
2004
  return je(In, x, k, he, xe);
2005
2005
  if (Do)
2006
- return Xe(Do, k, he, xe);
2006
+ return Je(Do, k, he, xe);
2007
2007
  if (Po)
2008
2008
  return wt(Po, k, he, xe);
2009
2009
  if (kl || Nl)
@@ -2116,12 +2116,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2116
2116
  var w = p.version;
2117
2117
  return $(w);
2118
2118
  }, an = function() {
2119
- var p = J(), w = p && p.userAgent && p.userAgent.toLowerCase();
2119
+ var p = X(), w = p && p.userAgent && p.userAgent.toLowerCase();
2120
2120
  return typeof w == "string" ? /electron/.test(w) : !1;
2121
2121
  }, Wt = function(p) {
2122
2122
  return typeof p == "string" && p.indexOf("Edg/") !== -1;
2123
2123
  }, ln = function() {
2124
- var p = J();
2124
+ var p = X();
2125
2125
  return p && (/iPad|iPhone|iPod/.test(p.platform) || p.platform === "MacIntel" && p.maxTouchPoints > 1) && !window.MSStream;
2126
2126
  }, tt = function() {
2127
2127
  return $e("iPad");
@@ -2293,7 +2293,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2293
2293
  isLandscape: he === 90,
2294
2294
  orientation: he === 0 ? "portrait" : "landscape"
2295
2295
  };
2296
- }), p = X(E, 2), w = p[0], x = p[1], k = e.useCallback(function() {
2296
+ }), p = J(E, 2), w = p[0], x = p[1], k = e.useCallback(function() {
2297
2297
  var he = window.innerWidth > window.innerHeight ? 90 : 0, xe = {
2298
2298
  isPortrait: he === 0,
2299
2299
  isLandscape: he === 90,
@@ -2365,7 +2365,7 @@ function Zc(t, e = 0) {
2365
2365
  }
2366
2366
  let xi;
2367
2367
  const Yc = new Uint8Array(16);
2368
- function Xc() {
2368
+ function Jc() {
2369
2369
  if (!xi) {
2370
2370
  if (typeof crypto == "undefined" || !crypto.getRandomValues)
2371
2371
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
@@ -2373,11 +2373,11 @@ function Xc() {
2373
2373
  }
2374
2374
  return xi(Yc);
2375
2375
  }
2376
- const Jc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), vs = { randomUUID: Jc };
2376
+ const Xc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), vs = { randomUUID: Xc };
2377
2377
  function Qc(t, e, r) {
2378
2378
  var i, o, s;
2379
2379
  t = t || {};
2380
- const n = (s = (o = t.random) != null ? o : (i = t.rng) == null ? void 0 : i.call(t)) != null ? s : Xc();
2380
+ const n = (s = (o = t.random) != null ? o : (i = t.rng) == null ? void 0 : i.call(t)) != null ? s : Jc();
2381
2381
  if (n.length < 16)
2382
2382
  throw new Error("Random bytes length must be >= 16");
2383
2383
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Zc(n);
@@ -2732,7 +2732,7 @@ const Tt = class Tt extends Ce {
2732
2732
  underlyingError: n,
2733
2733
  underlyingBaseError: i
2734
2734
  }) {
2735
- const o = Ce.getErrorKey(e, Jn);
2735
+ const o = Ce.getErrorKey(e, Xn);
2736
2736
  super({
2737
2737
  errorCode: e,
2738
2738
  errorCodeKey: o,
@@ -3051,7 +3051,7 @@ const bo = so(void 0), Es = ({ perform: t, children: e, setIsProcessingCallback:
3051
3051
  EMAIL: "EMAIL",
3052
3052
  NUMBER: "NUMBER",
3053
3053
  SECURE: "SECURE"
3054
- }, Xr = "#005fcc", zn = "idv-gui", Kn = {
3054
+ }, Jr = "#005fcc", zn = "idv-gui", Kn = {
3055
3055
  DECODING_FAILED: "DECODING_FAILED"
3056
3056
  }, Di = {
3057
3057
  text: "text",
@@ -3689,7 +3689,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3689
3689
  minWidth: "36px",
3690
3690
  border: "none",
3691
3691
  cursor: "pointer"
3692
- }, Xd = ({
3692
+ }, Jd = ({
3693
3693
  dataTestId: t,
3694
3694
  responseBody: e,
3695
3695
  image: r,
@@ -3730,11 +3730,11 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3730
3730
  children: /* @__PURE__ */ u(Me, I({}, r))
3731
3731
  }
3732
3732
  ),
3733
- n && /* @__PURE__ */ u("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ u(ke, I({}, n)) })
3733
+ n && /* @__PURE__ */ u("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ u(Ne, I({}, n)) })
3734
3734
  ]
3735
3735
  }
3736
3736
  );
3737
- }, Jd = ({ closeButton: t }) => /* @__PURE__ */ u(
3737
+ }, Xd = ({ closeButton: t }) => /* @__PURE__ */ u(
3738
3738
  "header",
3739
3739
  {
3740
3740
  style: {
@@ -3747,7 +3747,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3747
3747
  },
3748
3748
  "data-ui": "gui-header",
3749
3749
  part: "gui-header",
3750
- children: /* @__PURE__ */ u("div", { children: t && /* @__PURE__ */ u(Xd, I({ dataTestId: "close-btn" }, t)) })
3750
+ children: /* @__PURE__ */ u("div", { children: t && /* @__PURE__ */ u(Jd, I({ dataTestId: "close-btn" }, t)) })
3751
3751
  }
3752
3752
  );
3753
3753
  function Qd(t) {
@@ -3772,7 +3772,7 @@ function Ga(t) {
3772
3772
  return n === e.length - 1 ? i : [...i, /* @__PURE__ */ u("br", {}, "br-" + n)];
3773
3773
  });
3774
3774
  }
3775
- const ke = ({
3775
+ const Ne = ({
3776
3776
  text: t,
3777
3777
  fontName: e = "",
3778
3778
  fontSize: r = "17px",
@@ -3829,7 +3829,7 @@ const ke = ({
3829
3829
  borderWidth: l != null ? l : 0,
3830
3830
  overflow: "hidden",
3831
3831
  transition: ".3s",
3832
- outlineColor: Xr
3832
+ outlineColor: Jr
3833
3833
  };
3834
3834
  return /* @__PURE__ */ u(
3835
3835
  "button",
@@ -3850,14 +3850,14 @@ const ke = ({
3850
3850
  style: {
3851
3851
  flexGrow: e ? 0 : 1
3852
3852
  },
3853
- children: /* @__PURE__ */ u(ke, I({}, t))
3853
+ children: /* @__PURE__ */ u(Ne, I({}, t))
3854
3854
  }
3855
3855
  )
3856
3856
  ]
3857
3857
  }
3858
3858
  );
3859
3859
  }, eu = (r) => {
3860
- var n = r, { items: t } = n, e = Xt(n, ["items"]);
3860
+ var n = r, { items: t } = n, e = Jt(n, ["items"]);
3861
3861
  return /* @__PURE__ */ u("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: I(I({}, {
3862
3862
  display: "flex",
3863
3863
  flexDirection: "row",
@@ -3916,7 +3916,7 @@ const ke = ({
3916
3916
  width: "100%",
3917
3917
  height: o
3918
3918
  },
3919
- children: /* @__PURE__ */ u(Jd, { closeButton: e.closeButton })
3919
+ children: /* @__PURE__ */ u(Xd, { closeButton: e.closeButton })
3920
3920
  }
3921
3921
  ),
3922
3922
  /* @__PURE__ */ u("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: t }),
@@ -4012,7 +4012,7 @@ const ke = ({
4012
4012
  alignItems: "center",
4013
4013
  alignContent: "center"
4014
4014
  },
4015
- children: n && /* @__PURE__ */ u(ke, I({}, n))
4015
+ children: n && /* @__PURE__ */ u(Ne, I({}, n))
4016
4016
  }
4017
4017
  )
4018
4018
  }
@@ -4056,7 +4056,7 @@ const ke = ({
4056
4056
  }),
4057
4057
  children: [
4058
4058
  n && /* @__PURE__ */ u("div", { style: ru, children: /* @__PURE__ */ u(Me, I({}, n)) }),
4059
- t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(ke, I({}, t)) }),
4059
+ t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(Ne, I({}, t)) }),
4060
4060
  i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ei, I({}, i)) })
4061
4061
  ]
4062
4062
  }
@@ -4110,7 +4110,7 @@ const ke = ({
4110
4110
  flex: "0 1 auto"
4111
4111
  },
4112
4112
  children: [
4113
- /* @__PURE__ */ u("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ u(ke, I({}, t)) }),
4113
+ /* @__PURE__ */ u("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ u(Ne, I({}, t)) }),
4114
4114
  /* @__PURE__ */ u("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ u(ei, I({}, e)) })
4115
4115
  ]
4116
4116
  }
@@ -4156,39 +4156,39 @@ const ke = ({
4156
4156
  },
4157
4157
  ref: s,
4158
4158
  children: [
4159
- /* @__PURE__ */ u("div", { style: { marginBottom: t ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: t && /* @__PURE__ */ u(ke, I({}, t)) }),
4159
+ /* @__PURE__ */ u("div", { style: { marginBottom: t ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: t && /* @__PURE__ */ u(Ne, I({}, t)) }),
4160
4160
  n && /* @__PURE__ */ u(lu, I({}, n))
4161
4161
  ]
4162
4162
  }
4163
4163
  ) });
4164
4164
  };
4165
- var Jr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
4165
+ var Xr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
4166
4166
  const qa = (t) => typeof t == "object";
4167
- var Re = (t) => !qe(t) && !Array.isArray(t) && qa(t) && !sr(t), Za = (t) => Re(t) && t.target ? Jr(t.target) ? t.target.checked : t.target.value : t, du = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ya = (t, e) => t.has(du(e)), uu = (t) => {
4167
+ var ke = (t) => !qe(t) && !Array.isArray(t) && qa(t) && !sr(t), Za = (t) => ke(t) && t.target ? Xr(t.target) ? t.target.checked : t.target.value : t, du = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ya = (t, e) => t.has(du(e)), uu = (t) => {
4168
4168
  const e = t.constructor && t.constructor.prototype;
4169
- return Re(e) && e.hasOwnProperty("isPrototypeOf");
4169
+ return ke(e) && e.hasOwnProperty("isPrototypeOf");
4170
4170
  }, Eo = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
4171
- function Ne(t) {
4171
+ function De(t) {
4172
4172
  let e;
4173
4173
  const r = Array.isArray(t), n = typeof FileList != "undefined" ? t instanceof FileList : !1;
4174
4174
  if (t instanceof Date)
4175
4175
  e = new Date(t);
4176
- else if (!(Eo && (t instanceof Blob || n)) && (r || Re(t)))
4176
+ else if (!(Eo && (t instanceof Blob || n)) && (r || ke(t)))
4177
4177
  if (e = r ? [] : Object.create(Object.getPrototypeOf(t)), !r && !uu(t))
4178
4178
  e = t;
4179
4179
  else
4180
4180
  for (const i in t)
4181
- t.hasOwnProperty(i) && (e[i] = Ne(t[i]));
4181
+ t.hasOwnProperty(i) && (e[i] = De(t[i]));
4182
4182
  else
4183
4183
  return t;
4184
4184
  return e;
4185
4185
  }
4186
4186
  var ti = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, To = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Io = (t) => To(t.replace(/["|']|\]/g, "").split(/\.|\[/)), L = (t, e, r) => {
4187
- if (!e || !Re(t))
4187
+ if (!e || !ke(t))
4188
4188
  return r;
4189
4189
  const n = (ti(e) ? [e] : Io(e)).reduce((i, o) => qe(i) ? i : i[o], t);
4190
4190
  return Ie(n) || n === t ? Ie(t[e]) ? r : t[e] : n;
4191
- }, Je = (t) => typeof t == "boolean", Ee = (t, e, r) => {
4191
+ }, Xe = (t) => typeof t == "boolean", Ee = (t, e, r) => {
4192
4192
  let n = -1;
4193
4193
  const i = ti(e) ? [e] : Io(e), o = i.length, s = o - 1;
4194
4194
  for (; ++n < o; ) {
@@ -4196,7 +4196,7 @@ var ti = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, To = (t) => Array.isA
4196
4196
  let l = r;
4197
4197
  if (n !== s) {
4198
4198
  const d = t[a];
4199
- l = Re(d) || Array.isArray(d) ? d : isNaN(+i[n + 1]) ? {} : [];
4199
+ l = ke(d) || Array.isArray(d) ? d : isNaN(+i[n + 1]) ? {} : [];
4200
4200
  }
4201
4201
  if (a === "__proto__" || a === "constructor" || a === "prototype")
4202
4202
  return;
@@ -4221,10 +4221,10 @@ const Gn = {
4221
4221
  pattern: "pattern",
4222
4222
  required: "required",
4223
4223
  validate: "validate"
4224
- }, Xa = ce.createContext(null);
4225
- Xa.displayName = "HookFormContext";
4226
- const Oo = () => ce.useContext(Xa);
4227
- var Ja = (t, e, r, n = !0) => {
4224
+ }, Ja = ce.createContext(null);
4225
+ Ja.displayName = "HookFormContext";
4226
+ const Oo = () => ce.useContext(Ja);
4227
+ var Xa = (t, e, r, n = !0) => {
4228
4228
  const i = {
4229
4229
  defaultValues: e._defaultValues
4230
4230
  };
@@ -4258,7 +4258,7 @@ function fu(t) {
4258
4258
  }
4259
4259
  }), [i, n, o]), ce.useEffect(() => {
4260
4260
  l.current.isValid && r._setValid(!0);
4261
- }, [r]), ce.useMemo(() => Ja(s, r, l.current, !1), [s, r]);
4261
+ }, [r]), ce.useMemo(() => Xa(s, r, l.current, !1), [s, r]);
4262
4262
  }
4263
4263
  var Qe = (t) => typeof t == "string", Qa = (t, e, r, n, i) => Qe(t) ? (n && e.watch.add(t), L(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), L(r, o))) : (n && (e.watchAll = !0), r), Zi = (t) => qe(t) || !qa(t);
4264
4264
  function Ft(t, e, r = /* @__PURE__ */ new WeakSet()) {
@@ -4278,7 +4278,7 @@ function Ft(t, e, r = /* @__PURE__ */ new WeakSet()) {
4278
4278
  return !1;
4279
4279
  if (o !== "ref") {
4280
4280
  const a = e[o];
4281
- if (sr(s) && sr(a) || Re(s) && Re(a) || Array.isArray(s) && Array.isArray(a) ? !Ft(s, a, r) : s !== a)
4281
+ if (sr(s) && sr(a) || ke(s) && ke(a) || Array.isArray(s) && Array.isArray(a) ? !Ft(s, a, r) : s !== a)
4282
4282
  return !1;
4283
4283
  }
4284
4284
  }
@@ -4318,7 +4318,7 @@ function pu(t) {
4318
4318
  exact: !0
4319
4319
  }), h = ce.useRef(t), c = ce.useRef(void 0), y = ce.useRef(i.register(r, I(Y(I({}, t.rules), {
4320
4320
  value: d
4321
- }), Je(t.disabled) ? { disabled: t.disabled } : {})));
4321
+ }), Xe(t.disabled) ? { disabled: t.disabled } : {})));
4322
4322
  h.current = t;
4323
4323
  const g = ce.useMemo(() => Object.defineProperties({}, {
4324
4324
  invalid: {
@@ -4364,20 +4364,20 @@ function pu(t) {
4364
4364
  }, [i._fields, r]), b = ce.useMemo(() => Y(I({
4365
4365
  name: r,
4366
4366
  value: d
4367
- }, Je(n) || _.disabled ? { disabled: _.disabled || n } : {}), {
4367
+ }, Xe(n) || _.disabled ? { disabled: _.disabled || n } : {}), {
4368
4368
  onChange: f,
4369
4369
  onBlur: m,
4370
4370
  ref: S
4371
4371
  }), [r, n, _.disabled, f, m, S, d]);
4372
4372
  return ce.useEffect(() => {
4373
4373
  const C = i._options.shouldUnregister || o, O = c.current;
4374
- O && O !== r && !a && i.unregister(O), i.register(r, I(I({}, h.current.rules), Je(h.current.disabled) ? { disabled: h.current.disabled } : {}));
4374
+ O && O !== r && !a && i.unregister(O), i.register(r, I(I({}, h.current.rules), Xe(h.current.disabled) ? { disabled: h.current.disabled } : {}));
4375
4375
  const N = (R, M) => {
4376
4376
  const pe = L(i._fields, R);
4377
4377
  pe && pe._f && (pe._f.mount = M);
4378
4378
  };
4379
4379
  if (N(r, !0), C) {
4380
- const R = Ne(L(i._options.defaultValues, r, h.current.defaultValue));
4380
+ const R = De(L(i._options.defaultValues, r, h.current.defaultValue));
4381
4381
  Ee(i._defaultValues, r, R), Ie(L(i._formValues, r)) && Ee(i._formValues, r, R);
4382
4382
  }
4383
4383
  return !a && i.register(r), c.current = r, () => {
@@ -4424,19 +4424,19 @@ function tl(t, e) {
4424
4424
  for (const n in t)
4425
4425
  if (t.hasOwnProperty(n)) {
4426
4426
  const i = t[n], o = e[n];
4427
- if (i && Re(i) && o) {
4427
+ if (i && ke(i) && o) {
4428
4428
  const s = tl(i, o);
4429
- Re(s) && (r[n] = s);
4429
+ ke(s) && (r[n] = s);
4430
4430
  } else t[n] && (r[n] = o);
4431
4431
  }
4432
4432
  return r;
4433
4433
  }
4434
- var Ye = (t) => Re(t) && !Object.keys(t).length, Ao = (t) => t.type === "file", dt = (t) => typeof t == "function", qn = (t) => {
4434
+ var Ye = (t) => ke(t) && !Object.keys(t).length, Ao = (t) => t.type === "file", dt = (t) => typeof t == "function", qn = (t) => {
4435
4435
  if (!Eo)
4436
4436
  return !1;
4437
4437
  const e = t ? t.ownerDocument : 0;
4438
4438
  return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
4439
- }, rl = (t) => t.type === "select-multiple", Ro = (t) => t.type === "radio", mu = (t) => Ro(t) || Jr(t), Pi = (t) => qn(t) && t.isConnected;
4439
+ }, rl = (t) => t.type === "select-multiple", Ro = (t) => t.type === "radio", mu = (t) => Ro(t) || Xr(t), Pi = (t) => qn(t) && t.isConnected;
4440
4440
  function gu(t, e) {
4441
4441
  const r = e.slice(0, -1).length;
4442
4442
  let n = 0;
@@ -4452,7 +4452,7 @@ function wu(t) {
4452
4452
  }
4453
4453
  function Ae(t, e) {
4454
4454
  const r = Array.isArray(e) ? e : ti(e) ? [e] : Io(e), n = r.length === 1 ? t : gu(t, r), i = r.length - 1, o = r[i];
4455
- return n && delete n[o], i !== 0 && (Re(n) && Ye(n) || Array.isArray(n) && wu(n)) && Ae(t, r.slice(0, -1)), t;
4455
+ return n && delete n[o], i !== 0 && (ke(n) && Ye(n) || Array.isArray(n) && wu(n)) && Ae(t, r.slice(0, -1)), t;
4456
4456
  }
4457
4457
  var vu = (t) => {
4458
4458
  for (const e in t)
@@ -4461,7 +4461,7 @@ var vu = (t) => {
4461
4461
  return !1;
4462
4462
  };
4463
4463
  function nl(t) {
4464
- return Array.isArray(t) || Re(t) && !vu(t);
4464
+ return Array.isArray(t) || ke(t) && !vu(t);
4465
4465
  }
4466
4466
  function Yi(t, e = {}) {
4467
4467
  for (const r in t)
@@ -4501,7 +4501,7 @@ var sl = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disab
4501
4501
  } : e, ks) : ks;
4502
4502
  function Ns(t) {
4503
4503
  const e = t.ref;
4504
- return Ao(e) ? e.files : Ro(e) ? sl(t.refs).value : rl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Jr(e) ? il(t.refs).value : ol(Ie(e.value) ? t.ref.value : e.value, t);
4504
+ return Ao(e) ? e.files : Ro(e) ? sl(t.refs).value : rl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Xr(e) ? il(t.refs).value : ol(Ie(e.value) ? t.ref.value : e.value, t);
4505
4505
  }
4506
4506
  var yu = (t, e, r, n) => {
4507
4507
  const i = {};
@@ -4515,7 +4515,7 @@ var yu = (t, e, r, n) => {
4515
4515
  fields: i,
4516
4516
  shouldUseNativeValidation: n
4517
4517
  };
4518
- }, Zn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Zn(t) ? t.source : Re(t) ? Zn(t.value) ? t.value.source : t.value : t, Ds = (t) => ({
4518
+ }, Zn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Zn(t) ? t.source : ke(t) ? Zn(t.value) ? t.value.source : t.value : t, Ds = (t) => ({
4519
4519
  isOnSubmit: !t || t === ct.onSubmit,
4520
4520
  isOnBlur: t === ct.onBlur,
4521
4521
  isOnChange: t === ct.onChange,
@@ -4523,12 +4523,12 @@ var yu = (t, e, r, n) => {
4523
4523
  isOnTouch: t === ct.onTouched
4524
4524
  });
4525
4525
  const Ps = "AsyncFunction";
4526
- var bu = (t) => !!t && !!t.validate && !!(dt(t.validate) && t.validate.constructor.name === Ps || Re(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ps)), Cu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Ms = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
4526
+ var bu = (t) => !!t && !!t.validate && !!(dt(t.validate) && t.validate.constructor.name === Ps || ke(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ps)), Cu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Ms = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
4527
4527
  const $r = (t, e, r, n) => {
4528
4528
  for (const o of r || Object.keys(t)) {
4529
4529
  const s = L(t, o);
4530
4530
  if (s) {
4531
- const i = s, { _f: a } = i, l = Xt(i, ["_f"]);
4531
+ const i = s, { _f: a } = i, l = Jt(i, ["_f"]);
4532
4532
  if (a) {
4533
4533
  if (a.refs && a.refs[0] && e(a.refs[0], o) && !n)
4534
4534
  return !0;
@@ -4536,7 +4536,7 @@ const $r = (t, e, r, n) => {
4536
4536
  return !0;
4537
4537
  if ($r(l, e))
4538
4538
  break;
4539
- } else if (Re(l) && $r(l, e))
4539
+ } else if (ke(l) && $r(l, e))
4540
4540
  break;
4541
4541
  }
4542
4542
  }
@@ -4571,21 +4571,21 @@ function Fs(t, e, r) {
4571
4571
  }
4572
4572
  var Su = (t, e, r, n) => {
4573
4573
  r(t);
4574
- const s = t, { name: i } = s, o = Xt(s, ["name"]);
4574
+ const s = t, { name: i } = s, o = Jt(s, ["name"]);
4575
4575
  return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || ct.all));
4576
4576
  }, Eu = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Tu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, Iu = (t, e) => !To(L(t, e)).length && Ae(t, e), Ou = (t, e, r) => {
4577
4577
  const n = Vr(L(t, r));
4578
4578
  return Ee(n, "root", e[r]), Ee(t, r, n), t;
4579
4579
  };
4580
4580
  function Us(t, e, r = "validate") {
4581
- if (Qe(t) || Array.isArray(t) && t.every(Qe) || Je(t) && !t)
4581
+ if (Qe(t) || Array.isArray(t) && t.every(Qe) || Xe(t) && !t)
4582
4582
  return {
4583
4583
  type: r,
4584
4584
  message: Qe(t) ? t : "",
4585
4585
  ref: e
4586
4586
  };
4587
4587
  }
4588
- var pr = (t) => Re(t) && !Zn(t) ? t : {
4588
+ var pr = (t) => ke(t) && !Zn(t) ? t : {
4589
4589
  value: t,
4590
4590
  message: ""
4591
4591
  }, Ls = (t, e, r, n, i, o) => U(null, null, function* () {
@@ -4593,63 +4593,63 @@ var pr = (t) => Re(t) && !Zn(t) ? t : {
4593
4593
  if (!S || e.has(f))
4594
4594
  return {};
4595
4595
  const C = a ? a[0] : s, O = (H) => {
4596
- i && C.reportValidity && (C.setCustomValidity(Je(H) ? "" : H || ""), C.reportValidity());
4597
- }, N = {}, R = Ro(s), M = Jr(s), pe = R || M, _e = (m || Ao(s)) && Ie(s.value) && Ie(b) || qn(s) && s.value === "" || b === "" || Array.isArray(b) && !b.length, ee = _u.bind(null, f, n, N), Q = (H, X, de, ue = bt.maxLength, we = bt.minLength) => {
4598
- const ve = H ? X : de;
4596
+ i && C.reportValidity && (C.setCustomValidity(Xe(H) ? "" : H || ""), C.reportValidity());
4597
+ }, N = {}, R = Ro(s), M = Xr(s), pe = R || M, _e = (m || Ao(s)) && Ie(s.value) && Ie(b) || qn(s) && s.value === "" || b === "" || Array.isArray(b) && !b.length, ee = _u.bind(null, f, n, N), Q = (H, J, de, ue = bt.maxLength, we = bt.minLength) => {
4598
+ const ve = H ? J : de;
4599
4599
  N[f] = I({
4600
4600
  type: H ? ue : we,
4601
4601
  message: ve,
4602
4602
  ref: s
4603
4603
  }, ee(H ? ue : we, ve));
4604
4604
  };
4605
- if (o ? !Array.isArray(b) || !b.length : l && (!pe && (_e || qe(b)) || Je(b) && !b || M && !il(a).isValid || R && !sl(a).isValid)) {
4606
- const { value: H, message: X } = Qe(l) ? { value: !!l, message: l } : pr(l);
4605
+ if (o ? !Array.isArray(b) || !b.length : l && (!pe && (_e || qe(b)) || Xe(b) && !b || M && !il(a).isValid || R && !sl(a).isValid)) {
4606
+ const { value: H, message: J } = Qe(l) ? { value: !!l, message: l } : pr(l);
4607
4607
  if (H && (N[f] = I({
4608
4608
  type: bt.required,
4609
- message: X,
4609
+ message: J,
4610
4610
  ref: C
4611
- }, ee(bt.required, X)), !n))
4612
- return O(X), N;
4611
+ }, ee(bt.required, J)), !n))
4612
+ return O(J), N;
4613
4613
  }
4614
4614
  if (!_e && (!qe(h) || !qe(c))) {
4615
- let H, X;
4615
+ let H, J;
4616
4616
  const de = pr(c), ue = pr(h);
4617
4617
  if (!qe(b) && !isNaN(b)) {
4618
4618
  const we = s.valueAsNumber || b && +b;
4619
- qe(de.value) || (H = we > de.value), qe(ue.value) || (X = we < ue.value);
4619
+ qe(de.value) || (H = we > de.value), qe(ue.value) || (J = we < ue.value);
4620
4620
  } else {
4621
4621
  const we = s.valueAsDate || new Date(b), ve = (F) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + F), te = s.type == "time", z = s.type == "week";
4622
- Qe(de.value) && b && (H = te ? ve(b) > ve(de.value) : z ? b > de.value : we > new Date(de.value)), Qe(ue.value) && b && (X = te ? ve(b) < ve(ue.value) : z ? b < ue.value : we < new Date(ue.value));
4622
+ Qe(de.value) && b && (H = te ? ve(b) > ve(de.value) : z ? b > de.value : we > new Date(de.value)), Qe(ue.value) && b && (J = te ? ve(b) < ve(ue.value) : z ? b < ue.value : we < new Date(ue.value));
4623
4623
  }
4624
- if ((H || X) && (Q(!!H, de.message, ue.message, bt.max, bt.min), !n))
4624
+ if ((H || J) && (Q(!!H, de.message, ue.message, bt.max, bt.min), !n))
4625
4625
  return O(N[f].message), N;
4626
4626
  }
4627
4627
  if ((d || _) && !_e && (Qe(b) || o && Array.isArray(b))) {
4628
- const H = pr(d), X = pr(_), de = !qe(H.value) && b.length > +H.value, ue = !qe(X.value) && b.length < +X.value;
4629
- if ((de || ue) && (Q(de, H.message, X.message), !n))
4628
+ const H = pr(d), J = pr(_), de = !qe(H.value) && b.length > +H.value, ue = !qe(J.value) && b.length < +J.value;
4629
+ if ((de || ue) && (Q(de, H.message, J.message), !n))
4630
4630
  return O(N[f].message), N;
4631
4631
  }
4632
4632
  if (y && !_e && Qe(b)) {
4633
- const { value: H, message: X } = pr(y);
4633
+ const { value: H, message: J } = pr(y);
4634
4634
  if (Zn(H) && !b.match(H) && (N[f] = I({
4635
4635
  type: bt.pattern,
4636
- message: X,
4636
+ message: J,
4637
4637
  ref: s
4638
- }, ee(bt.pattern, X)), !n))
4639
- return O(X), N;
4638
+ }, ee(bt.pattern, J)), !n))
4639
+ return O(J), N;
4640
4640
  }
4641
4641
  if (g) {
4642
4642
  if (dt(g)) {
4643
- const H = yield g(b, r), X = Us(H, C);
4644
- if (X && (N[f] = I(I({}, X), ee(bt.validate, X.message)), !n))
4645
- return O(X.message), N;
4646
- } else if (Re(g)) {
4643
+ const H = yield g(b, r), J = Us(H, C);
4644
+ if (J && (N[f] = I(I({}, J), ee(bt.validate, J.message)), !n))
4645
+ return O(J.message), N;
4646
+ } else if (ke(g)) {
4647
4647
  let H = {};
4648
- for (const X in g) {
4648
+ for (const J in g) {
4649
4649
  if (!Ye(H) && !n)
4650
4650
  break;
4651
- const de = Us(yield g[X](b, r), C, X);
4652
- de && (H = I(I({}, de), ee(X, de.message)), O(de.message), n && (N[f] = H));
4651
+ const de = Us(yield g[J](b, r), C, J);
4652
+ de && (H = I(I({}, de), ee(J, de.message)), O(de.message), n && (N[f] = H));
4653
4653
  }
4654
4654
  if (!Ye(H) && (N[f] = I({
4655
4655
  ref: C
@@ -4680,7 +4680,7 @@ function Au(t = {}) {
4680
4680
  validatingFields: {},
4681
4681
  errors: e.errors || {},
4682
4682
  disabled: e.disabled || !1
4683
- }, n = {}, i = Re(e.defaultValues) || Re(e.values) ? Ne(e.defaultValues || e.values) || {} : {}, o = e.shouldUnregister ? {} : Ne(i), s = {
4683
+ }, n = {}, i = ke(e.defaultValues) || ke(e.values) ? De(e.defaultValues || e.values) || {} : {}, o = e.shouldUnregister ? {} : De(i), s = {
4684
4684
  action: !1,
4685
4685
  mount: !1,
4686
4686
  watch: !1
@@ -4777,9 +4777,9 @@ function Au(t = {}) {
4777
4777
  }
4778
4778
  return P ? ie : {};
4779
4779
  }, R = (v, T, A, V) => {
4780
- const D = L(r.errors, v), P = (_.isValid || h.isValid) && Je(T) && r.isValid !== T;
4780
+ const D = L(r.errors, v), P = (_.isValid || h.isValid) && Xe(T) && r.isValid !== T;
4781
4781
  if (e.delayError && A ? (l = g(() => b(v, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, v, A) : Ae(r.errors, v)), (A ? !Ft(D, A) : D) || !Ye(V) || P) {
4782
- const W = Y(I(I({}, V), P && Je(T) ? { isValid: T } : {}), {
4782
+ const W = Y(I(I({}, V), P && Xe(T) ? { isValid: T } : {}), {
4783
4783
  errors: r.errors,
4784
4784
  name: v
4785
4785
  });
@@ -4805,7 +4805,7 @@ function Au(t = {}) {
4805
4805
  for (const ie in v) {
4806
4806
  const K = v[ie];
4807
4807
  if (K) {
4808
- const W = K, { _f: ge } = W, Fe = Xt(W, ["_f"]);
4808
+ const W = K, { _f: ge } = W, Fe = Jt(W, ["_f"]);
4809
4809
  if (ge) {
4810
4810
  const Z = a.array.has(ge.name), se = K._f && bu(K._f);
4811
4811
  se && _.validatingFields && m([ge.name], !0);
@@ -4824,16 +4824,16 @@ function Au(t = {}) {
4824
4824
  T && (T._f.refs ? T._f.refs.every((A) => !Pi(A)) : !Pi(T._f.ref)) && $e(v);
4825
4825
  }
4826
4826
  a.unMount = /* @__PURE__ */ new Set();
4827
- }, Q = (v, T) => !e.disabled && (v && T && Ee(o, v, T), !Ft(F(), i)), H = (v, T, A) => Qa(v, a, I({}, s.mount ? o : Ie(T) ? i : Qe(v) ? { [v]: T } : T), A, T), X = (v) => To(L(s.mount ? o : i, v, e.shouldUnregister ? L(i, v, []) : [])), de = (v, T, A = {}) => {
4827
+ }, Q = (v, T) => !e.disabled && (v && T && Ee(o, v, T), !Ft(F(), i)), H = (v, T, A) => Qa(v, a, I({}, s.mount ? o : Ie(T) ? i : Qe(v) ? { [v]: T } : T), A, T), J = (v) => To(L(s.mount ? o : i, v, e.shouldUnregister ? L(i, v, []) : [])), de = (v, T, A = {}) => {
4828
4828
  const V = L(n, v);
4829
4829
  let D = T;
4830
4830
  if (V) {
4831
4831
  const P = V._f;
4832
- P && (!P.disabled && Ee(o, v, ol(T, P)), D = qn(P.ref) && qe(T) ? "" : T, rl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = D.includes(W.value)) : P.refs ? Jr(P.ref) ? P.refs.forEach((W) => {
4832
+ P && (!P.disabled && Ee(o, v, ol(T, P)), D = qn(P.ref) && qe(T) ? "" : T, rl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = D.includes(W.value)) : P.refs ? Xr(P.ref) ? P.refs.forEach((W) => {
4833
4833
  (!W.defaultChecked || !W.disabled) && (Array.isArray(D) ? W.checked = !!D.find((ie) => ie === W.value) : W.checked = D === W.value || !!D);
4834
4834
  }) : P.refs.forEach((W) => W.checked = W.value === D) : Ao(P.ref) ? P.ref.value = "" : (P.ref.value = D, P.ref.type || c.state.next({
4835
4835
  name: v,
4836
- values: Ne(o)
4836
+ values: De(o)
4837
4837
  })));
4838
4838
  }
4839
4839
  (A.shouldDirty || A.shouldTouch) && N(v, D, A.shouldTouch, A.shouldDirty, !0), A.shouldValidate && z(v);
@@ -4842,20 +4842,20 @@ function Au(t = {}) {
4842
4842
  if (!T.hasOwnProperty(V))
4843
4843
  return;
4844
4844
  const D = T[V], P = v + "." + V, W = L(n, P);
4845
- (a.array.has(v) || Re(D) || W && !W._f) && !sr(D) ? ue(P, D, A) : de(P, D, A);
4845
+ (a.array.has(v) || ke(D) || W && !W._f) && !sr(D) ? ue(P, D, A) : de(P, D, A);
4846
4846
  }
4847
4847
  }, we = (v, T, A = {}) => {
4848
- const V = L(n, v), D = a.array.has(v), P = Ne(T);
4848
+ const V = L(n, v), D = a.array.has(v), P = De(T);
4849
4849
  Ee(o, v, P), D ? (c.array.next({
4850
4850
  name: v,
4851
- values: Ne(o)
4851
+ values: De(o)
4852
4852
  }), (_.isDirty || _.dirtyFields || h.isDirty || h.dirtyFields) && A.shouldDirty && c.state.next({
4853
4853
  name: v,
4854
4854
  dirtyFields: mr(i, o),
4855
4855
  isDirty: Q(v, P)
4856
4856
  })) : V && !V._f && !qe(P) ? ue(v, P, A) : de(v, P, A), Ms(v, a) && c.state.next(Y(I({}, r), { name: v })), c.state.next({
4857
4857
  name: s.mount ? v : void 0,
4858
- values: Ne(o)
4858
+ values: De(o)
4859
4859
  });
4860
4860
  }, ve = (v) => U(null, null, function* () {
4861
4861
  s.mount = !0;
@@ -4872,7 +4872,7 @@ function Au(t = {}) {
4872
4872
  if (!Z && c.state.next({
4873
4873
  name: A,
4874
4874
  type: v.type,
4875
- values: Ne(o)
4875
+ values: De(o)
4876
4876
  }), se)
4877
4877
  return (_.isValid || h.isValid) && (e.mode === "onBlur" ? Z && f() : Z || f()), Be && c.state.next(I({ name: A }, j ? {} : me));
4878
4878
  if (!Z && j && c.state.next(I({}, r)), e.resolver) {
@@ -4915,7 +4915,7 @@ function Au(t = {}) {
4915
4915
  errors: v ? r.errors : {}
4916
4916
  });
4917
4917
  }, Se = (v, T, A) => {
4918
- const V = (L(n, v, { _f: {} })._f || {}).ref, ge = L(r.errors, v) || {}, { ref: P, message: W, type: ie } = ge, K = Xt(ge, ["ref", "message", "type"]);
4918
+ const V = (L(n, v, { _f: {} })._f || {}).ref, ge = L(r.errors, v) || {}, { ref: P, message: W, type: ie } = ge, K = Jt(ge, ["ref", "message", "type"]);
4919
4919
  Ee(r.errors, v, Y(I(I({}, K), T), {
4920
4920
  ref: V
4921
4921
  })), c.state.next({
@@ -4933,26 +4933,26 @@ function Au(t = {}) {
4933
4933
  defaultValues: i
4934
4934
  }));
4935
4935
  }
4936
- }).unsubscribe, J = (v) => (s.mount = !0, h = I(I({}, h), v.formState), $(Y(I({}, v), {
4936
+ }).unsubscribe, X = (v) => (s.mount = !0, h = I(I({}, h), v.formState), $(Y(I({}, v), {
4937
4937
  formState: h
4938
4938
  }))), $e = (v, T = {}) => {
4939
4939
  for (const A of v ? Vr(v) : a.mount)
4940
4940
  a.mount.delete(A), a.array.delete(A), T.keepValue || (Ae(n, A), Ae(o, A)), !T.keepError && Ae(r.errors, A), !T.keepDirty && Ae(r.dirtyFields, A), !T.keepTouched && Ae(r.touchedFields, A), !T.keepIsValidating && Ae(r.validatingFields, A), !e.shouldUnregister && !T.keepDefaultValue && Ae(i, A);
4941
4941
  c.state.next({
4942
- values: Ne(o)
4942
+ values: De(o)
4943
4943
  }), c.state.next(I(I({}, r), T.keepDirty ? { isDirty: Q() } : {})), !T.keepIsValid && f();
4944
4944
  }, je = ({ disabled: v, name: T }) => {
4945
- (Je(v) && s.mount || v || a.disabled.has(T)) && (v ? a.disabled.add(T) : a.disabled.delete(T));
4945
+ (Xe(v) && s.mount || v || a.disabled.has(T)) && (v ? a.disabled.add(T) : a.disabled.delete(T));
4946
4946
  }, it = (v, T = {}) => {
4947
4947
  let A = L(n, v);
4948
- const V = Je(T.disabled) || Je(e.disabled);
4948
+ const V = Xe(T.disabled) || Xe(e.disabled);
4949
4949
  return Ee(n, v, Y(I({}, A || {}), {
4950
4950
  _f: I(Y(I({}, A && A._f ? A._f : { ref: { name: v } }), {
4951
4951
  name: v,
4952
4952
  mount: !0
4953
4953
  }), T)
4954
4954
  })), a.mount.add(v), A ? je({
4955
- disabled: Je(T.disabled) ? T.disabled : e.disabled,
4955
+ disabled: Xe(T.disabled) ? T.disabled : e.disabled,
4956
4956
  name: v
4957
4957
  }) : O(v, !0, T.value), Y(I(I({}, V ? { disabled: T.disabled || e.disabled } : {}), e.progressive ? {
4958
4958
  required: !!T.required,
@@ -4985,8 +4985,8 @@ function Au(t = {}) {
4985
4985
  A = L(n, v, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || T.shouldUnregister) && !(Ya(a.array, v) && s.action) && a.unMount.add(v);
4986
4986
  }
4987
4987
  });
4988
- }, Xe = () => e.shouldFocusError && $r(n, te, a.mount), wt = (v) => {
4989
- Je(v) && (c.state.next({ disabled: v }), $r(n, (T, A) => {
4988
+ }, Je = () => e.shouldFocusError && $r(n, te, a.mount), wt = (v) => {
4989
+ Xe(v) && (c.state.next({ disabled: v }), $r(n, (T, A) => {
4990
4990
  const V = L(n, A);
4991
4991
  V && (T.disabled = V._f.disabled || v, Array.isArray(V._f.refs) && V._f.refs.forEach((D) => {
4992
4992
  D.disabled = V._f.disabled || v;
@@ -4995,12 +4995,12 @@ function Au(t = {}) {
4995
4995
  }, ot = (v, T) => (A) => U(null, null, function* () {
4996
4996
  let V;
4997
4997
  A && (A.preventDefault && A.preventDefault(), A.persist && A.persist());
4998
- let D = Ne(o);
4998
+ let D = De(o);
4999
4999
  if (c.state.next({
5000
5000
  isSubmitting: !0
5001
5001
  }), e.resolver) {
5002
5002
  const { errors: P, values: W } = yield M();
5003
- r.errors = P, D = Ne(W);
5003
+ r.errors = P, D = De(W);
5004
5004
  } else
5005
5005
  yield _e(n);
5006
5006
  if (a.disabled.size)
@@ -5016,7 +5016,7 @@ function Au(t = {}) {
5016
5016
  V = P;
5017
5017
  }
5018
5018
  } else
5019
- T && (yield T(I({}, r.errors), A)), Xe(), setTimeout(Xe);
5019
+ T && (yield T(I({}, r.errors), A)), Je(), setTimeout(Je);
5020
5020
  if (c.state.next({
5021
5021
  isSubmitted: !0,
5022
5022
  isSubmitting: !1,
@@ -5026,9 +5026,9 @@ function Au(t = {}) {
5026
5026
  }), V)
5027
5027
  throw V;
5028
5028
  }), $t = (v, T = {}) => {
5029
- L(n, v) && (Ie(T.defaultValue) ? we(v, Ne(L(i, v))) : (we(v, T.defaultValue), Ee(i, v, Ne(T.defaultValue))), T.keepTouched || Ae(r.touchedFields, v), T.keepDirty || (Ae(r.dirtyFields, v), r.isDirty = T.defaultValue ? Q(v, Ne(L(i, v))) : Q()), T.keepError || (Ae(r.errors, v), _.isValid && f()), c.state.next(I({}, r)));
5029
+ L(n, v) && (Ie(T.defaultValue) ? we(v, De(L(i, v))) : (we(v, T.defaultValue), Ee(i, v, De(T.defaultValue))), T.keepTouched || Ae(r.touchedFields, v), T.keepDirty || (Ae(r.dirtyFields, v), r.isDirty = T.defaultValue ? Q(v, De(L(i, v))) : Q()), T.keepError || (Ae(r.errors, v), _.isValid && f()), c.state.next(I({}, r)));
5030
5030
  }, vt = (v, T = {}) => {
5031
- const A = v ? Ne(v) : i, V = Ne(A), D = Ye(v), P = D ? i : V;
5031
+ const A = v ? De(v) : i, V = De(A), D = Ye(v), P = D ? i : V;
5032
5032
  if (T.keepDefaultValues || (i = A), !T.keepValues) {
5033
5033
  if (T.keepDirtyValues) {
5034
5034
  const W = /* @__PURE__ */ new Set([
@@ -5058,7 +5058,7 @@ function Au(t = {}) {
5058
5058
  else
5059
5059
  n = {};
5060
5060
  }
5061
- o = e.shouldUnregister ? T.keepDefaultValues ? Ne(i) : {} : Ne(P), c.array.next({
5061
+ o = e.shouldUnregister ? T.keepDefaultValues ? De(i) : {} : De(P), c.array.next({
5062
5062
  values: I({}, P)
5063
5063
  }), c.state.next({
5064
5064
  values: I({}, P)
@@ -5100,14 +5100,14 @@ function Au(t = {}) {
5100
5100
  setError: Se,
5101
5101
  _subscribe: $,
5102
5102
  _runSchema: M,
5103
- _focusError: Xe,
5103
+ _focusError: Je,
5104
5104
  _getWatch: H,
5105
5105
  _getDirty: Q,
5106
5106
  _setValid: f,
5107
5107
  _setFieldArray: S,
5108
5108
  _setDisabledField: je,
5109
5109
  _setErrors: C,
5110
- _getFieldArray: X,
5110
+ _getFieldArray: J,
5111
5111
  _reset: vt,
5112
5112
  _resetDefaultValues: () => dt(e.defaultValues) && e.defaultValues().then((v) => {
5113
5113
  ft(v, e.resetOptions), c.state.next({
@@ -5149,7 +5149,7 @@ function Au(t = {}) {
5149
5149
  e = I(I({}, e), v);
5150
5150
  }
5151
5151
  },
5152
- subscribe: J,
5152
+ subscribe: X,
5153
5153
  trigger: z,
5154
5154
  register: it,
5155
5155
  handleSubmit: ot,
@@ -5192,7 +5192,7 @@ function Ru(t = {}) {
5192
5192
  formState: n
5193
5193
  }), t.defaultValues && !dt(t.defaultValues) && t.formControl.reset(t.defaultValues, t.resetOptions);
5194
5194
  else {
5195
- const s = Au(t), { formControl: a } = s, l = Xt(s, ["formControl"]);
5195
+ const s = Au(t), { formControl: a } = s, l = Jt(s, ["formControl"]);
5196
5196
  e.current = Y(I({}, l), {
5197
5197
  formState: n
5198
5198
  });
@@ -5228,7 +5228,7 @@ function Ru(t = {}) {
5228
5228
  }, o._options.resetOptions)), r.current = t.values, i((a) => I({}, a))) : o._resetDefaultValues();
5229
5229
  }, [o, t.values]), ce.useEffect(() => {
5230
5230
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(I({}, o._formState))), o._removeUnmounted();
5231
- }), e.current.formState = Ja(n, o), e.current;
5231
+ }), e.current.formState = Xa(n, o), e.current;
5232
5232
  }
5233
5233
  const Tr = (t, e) => {
5234
5234
  const r = {};
@@ -5289,7 +5289,7 @@ const Tr = (t, e) => {
5289
5289
  onMouseEnter: i,
5290
5290
  onMouseLeave: o,
5291
5291
  children: [
5292
- /* @__PURE__ */ u(ke, Y(I({}, e.layout.title), { text: e.label })),
5292
+ /* @__PURE__ */ u(Ne, Y(I({}, e.layout.title), { text: e.label })),
5293
5293
  /* @__PURE__ */ u(
5294
5294
  "div",
5295
5295
  {
@@ -5318,12 +5318,12 @@ const Tr = (t, e) => {
5318
5318
  controlLayout: _,
5319
5319
  pickerLayout: h
5320
5320
  }) => {
5321
- var H, X, de, ue, we, ve, te, z;
5321
+ var H, J, de, ue, we, ve, te, z;
5322
5322
  const [c, y] = Pe(!1), [g, f] = Pe(i), [m, S] = Pe("down"), [b, C] = Pe(null), O = nt(null), N = nt(null);
5323
5323
  qt(() => {
5324
- var ne, $, J;
5324
+ var ne, $, X;
5325
5325
  if (!c) return;
5326
- const F = (ne = O.current) == null ? void 0 : ne.getBoundingClientRect(), q = ($ = N.current) == null ? void 0 : $.getBoundingClientRect(), re = (J = d.current) == null ? void 0 : J.getBoundingClientRect();
5326
+ const F = (ne = O.current) == null ? void 0 : ne.getBoundingClientRect(), q = ($ = N.current) == null ? void 0 : $.getBoundingClientRect(), re = (X = d.current) == null ? void 0 : X.getBoundingClientRect();
5327
5327
  if (!F || !q || !re) return;
5328
5328
  const Se = F.bottom + q.height < re.bottom;
5329
5329
  S(Se ? "down" : "up");
@@ -5339,7 +5339,7 @@ const Tr = (t, e) => {
5339
5339
  q.stopPropagation(), f((re) => re.filter((Se) => Se.value !== F.value));
5340
5340
  }, _e = (F) => {
5341
5341
  F.stopPropagation(), f([]);
5342
- }, ee = (H = le(_ == null ? void 0 : _.borderColor)) != null ? H : "#D9D9D9", Q = (X = le(_ == null ? void 0 : _.highlightBorderColor)) != null ? X : "#7E57C5";
5342
+ }, ee = (H = le(_ == null ? void 0 : _.borderColor)) != null ? H : "#D9D9D9", Q = (J = le(_ == null ? void 0 : _.highlightBorderColor)) != null ? J : "#7E57C5";
5343
5343
  return /* @__PURE__ */ u("div", { "data-ui": "gui-custom-select", ref: O, children: /* @__PURE__ */ u(
5344
5344
  "div",
5345
5345
  {
@@ -5389,7 +5389,7 @@ const Tr = (t, e) => {
5389
5389
  g.map((F) => {
5390
5390
  var q, re, Se, ne, $;
5391
5391
  if (r) {
5392
- const J = _ == null ? void 0 : _.chip;
5392
+ const X = _ == null ? void 0 : _.chip;
5393
5393
  return /* @__PURE__ */ u(
5394
5394
  "div",
5395
5395
  {
@@ -5397,16 +5397,16 @@ const Tr = (t, e) => {
5397
5397
  padding: "0px 5px",
5398
5398
  display: "flex",
5399
5399
  gap: 8,
5400
- backgroundColor: (q = le(J == null ? void 0 : J.backgroundColor)) != null ? q : "#F2F2F2",
5401
- borderRadius: (re = J == null ? void 0 : J.cornerRadius) != null ? re : 4,
5400
+ backgroundColor: (q = le(X == null ? void 0 : X.backgroundColor)) != null ? q : "#F2F2F2",
5401
+ borderRadius: (re = X == null ? void 0 : X.cornerRadius) != null ? re : 4,
5402
5402
  userSelect: "none",
5403
5403
  alignItems: "center"
5404
5404
  },
5405
5405
  children: [
5406
5406
  /* @__PURE__ */ u(
5407
- ke,
5408
- Y(I({}, J == null ? void 0 : J.title), {
5409
- fontSize: (ne = (Se = J == null ? void 0 : J.title) == null ? void 0 : Se.fontSize) != null ? ne : 13,
5407
+ Ne,
5408
+ Y(I({}, X == null ? void 0 : X.title), {
5409
+ fontSize: (ne = (Se = X == null ? void 0 : X.title) == null ? void 0 : Se.fontSize) != null ? ne : 13,
5410
5410
  text: F.label
5411
5411
  })
5412
5412
  ),
@@ -5421,7 +5421,7 @@ const Tr = (t, e) => {
5421
5421
  height: "16px"
5422
5422
  },
5423
5423
  onClick: pe(F),
5424
- children: J != null && J.removeImage ? /* @__PURE__ */ u(Me, I({}, J.removeImage)) : /* @__PURE__ */ u(Me, { imageId: "cross" })
5424
+ children: X != null && X.removeImage ? /* @__PURE__ */ u(Me, I({}, X.removeImage)) : /* @__PURE__ */ u(Me, { imageId: "cross" })
5425
5425
  }
5426
5426
  )
5427
5427
  ]
@@ -5429,7 +5429,7 @@ const Tr = (t, e) => {
5429
5429
  F.value
5430
5430
  );
5431
5431
  } else {
5432
- const J = _ == null ? void 0 : _.title;
5432
+ const X = _ == null ? void 0 : _.title;
5433
5433
  return /* @__PURE__ */ u(
5434
5434
  "div",
5435
5435
  {
@@ -5437,7 +5437,7 @@ const Tr = (t, e) => {
5437
5437
  display: "flex",
5438
5438
  userSelect: "none"
5439
5439
  },
5440
- children: /* @__PURE__ */ u(ke, Y(I({}, J), { fontSize: ($ = J == null ? void 0 : J.fontSize) != null ? $ : 13, text: F.label }))
5440
+ children: /* @__PURE__ */ u(Ne, Y(I({}, X), { fontSize: ($ = X == null ? void 0 : X.fontSize) != null ? $ : 13, text: F.label }))
5441
5441
  },
5442
5442
  F.value
5443
5443
  );
@@ -5541,7 +5541,7 @@ const Tr = (t, e) => {
5541
5541
  boxSizing: "border-box"
5542
5542
  },
5543
5543
  children: [
5544
- e.title && /* @__PURE__ */ u(ke, Y(I({}, e.title), { text: r.text, htmlFor: o })),
5544
+ e.title && /* @__PURE__ */ u(Ne, Y(I({}, e.title), { text: r.text, htmlFor: o })),
5545
5545
  /* @__PURE__ */ u(
5546
5546
  el,
5547
5547
  {
@@ -5600,7 +5600,7 @@ const Tr = (t, e) => {
5600
5600
  boxSizing: "border-box"
5601
5601
  },
5602
5602
  children: [
5603
- e.title && /* @__PURE__ */ u(ke, Y(I({}, e.title), { text: r.text, htmlFor: o })),
5603
+ e.title && /* @__PURE__ */ u(Ne, Y(I({}, e.title), { text: r.text, htmlFor: o })),
5604
5604
  /* @__PURE__ */ u(
5605
5605
  el,
5606
5606
  {
@@ -5661,7 +5661,7 @@ const Tr = (t, e) => {
5661
5661
  }, g = {
5662
5662
  backgroundColor: le(h.backgroundColor),
5663
5663
  borderRadius: h.cornerRadius
5664
- }, f = o && a ? { filter: `drop-shadow(0 0 1px ${Xr})` } : {};
5664
+ }, f = o && a ? { filter: `drop-shadow(0 0 1px ${Jr})` } : {};
5665
5665
  return /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(
5666
5666
  "label",
5667
5667
  {
@@ -5684,7 +5684,7 @@ const Tr = (t, e) => {
5684
5684
  children: /* @__PURE__ */ u(Me, I({}, _ ? c.image : h.image))
5685
5685
  }
5686
5686
  ),
5687
- /* @__PURE__ */ u(ke, Y(I({}, _ ? c.title : h.title), { text: t.text })),
5687
+ /* @__PURE__ */ u(Ne, Y(I({}, _ ? c.title : h.title), { text: t.text })),
5688
5688
  /* @__PURE__ */ u(
5689
5689
  "input",
5690
5690
  Y(I({
@@ -5736,7 +5736,7 @@ const Tr = (t, e) => {
5736
5736
  padding: 0,
5737
5737
  marginBottom: "16px"
5738
5738
  },
5739
- children: /* @__PURE__ */ u(ke, Y(I({}, t.title), { text: n.text }))
5739
+ children: /* @__PURE__ */ u(Ne, Y(I({}, t.title), { text: n.text }))
5740
5740
  }
5741
5741
  ),
5742
5742
  n.options.map((i) => /* @__PURE__ */ u(
@@ -5769,7 +5769,7 @@ const Tr = (t, e) => {
5769
5769
  background: le(c.backgroundColor),
5770
5770
  borderColor: le(c.borderColor),
5771
5771
  borderWidth: c.borderWidth
5772
- }, f = o && a ? { outline: `2px solid ${Xr}` } : {};
5772
+ }, f = o && a ? { outline: `2px solid ${Jr}` } : {};
5773
5773
  return /* @__PURE__ */ u(
5774
5774
  "div",
5775
5775
  {
@@ -5811,7 +5811,7 @@ const Tr = (t, e) => {
5811
5811
  onBlur: () => s(!1)
5812
5812
  })
5813
5813
  ),
5814
- /* @__PURE__ */ u(ke, Y(I({}, _ ? c.title : h.title), { text: t.text }))
5814
+ /* @__PURE__ */ u(Ne, Y(I({}, _ ? c.title : h.title), { text: t.text }))
5815
5815
  ]
5816
5816
  }
5817
5817
  )
@@ -5840,7 +5840,7 @@ const Tr = (t, e) => {
5840
5840
  padding: 0,
5841
5841
  marginBottom: "16px"
5842
5842
  },
5843
- children: /* @__PURE__ */ u(ke, Y(I({}, t.title), { text: n.text }))
5843
+ children: /* @__PURE__ */ u(Ne, Y(I({}, t.title), { text: n.text }))
5844
5844
  }
5845
5845
  ),
5846
5846
  /* @__PURE__ */ u("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: n.options.map((i) => /* @__PURE__ */ u(
@@ -5895,7 +5895,7 @@ const Tr = (t, e) => {
5895
5895
  ),
5896
5896
  t
5897
5897
  ] });
5898
- }, $u = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ u("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, n]) => /* @__PURE__ */ u(ke, Y(I({}, e), { text: n }), r)) }) : null, Bu = ({
5898
+ }, $u = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ u("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, n]) => /* @__PURE__ */ u(Ne, Y(I({}, e), { text: n }), r)) }) : null, Bu = ({
5899
5899
  layout: t,
5900
5900
  dataSourceQuestion: e,
5901
5901
  register: r
@@ -5911,7 +5911,7 @@ const Tr = (t, e) => {
5911
5911
  gap: "16px"
5912
5912
  },
5913
5913
  children: [
5914
- /* @__PURE__ */ u(ke, Y(I({}, t.title), { text: e.text, htmlFor: n })),
5914
+ /* @__PURE__ */ u(Ne, Y(I({}, t.title), { text: e.text, htmlFor: n })),
5915
5915
  /* @__PURE__ */ u(
5916
5916
  "input",
5917
5917
  Y(I({}, r(n, {
@@ -5932,7 +5932,7 @@ const Tr = (t, e) => {
5932
5932
  padding: "11px",
5933
5933
  boxSizing: "border-box",
5934
5934
  backgroundColor: (C = le((b = t == null ? void 0 : t.textField) == null ? void 0 : b.backgroundColor)) != null ? C : "#FFFFFF",
5935
- outlineColor: Xr
5935
+ outlineColor: Jr
5936
5936
  },
5937
5937
  placeholder: (O = e.placeholder) != null ? O : "",
5938
5938
  "data-id": n
@@ -5957,7 +5957,7 @@ const Tr = (t, e) => {
5957
5957
  gap: "16px"
5958
5958
  },
5959
5959
  children: [
5960
- /* @__PURE__ */ u(ke, Y(I({}, t.title), { text: e.text, htmlFor: n })),
5960
+ /* @__PURE__ */ u(Ne, Y(I({}, t.title), { text: e.text, htmlFor: n })),
5961
5961
  /* @__PURE__ */ u(
5962
5962
  "textarea",
5963
5963
  Y(I({}, r(n, {
@@ -5985,7 +5985,7 @@ const Tr = (t, e) => {
5985
5985
  padding: "11px",
5986
5986
  boxSizing: "border-box",
5987
5987
  backgroundColor: (m = le((f = t == null ? void 0 : t.textField) == null ? void 0 : f.backgroundColor)) != null ? m : "#FFFFFF",
5988
- outlineColor: Xr
5988
+ outlineColor: Jr
5989
5989
  }
5990
5990
  })
5991
5991
  )
@@ -6062,7 +6062,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6062
6062
  ref: _,
6063
6063
  children: [
6064
6064
  e && /** Screen title */
6065
- /* @__PURE__ */ u("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(ke, I({}, e)) }),
6065
+ /* @__PURE__ */ u("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(Ne, I({}, e)) }),
6066
6066
  /* @__PURE__ */ u(
6067
6067
  "div",
6068
6068
  {
@@ -6072,8 +6072,8 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6072
6072
  children: o.questions.map((b) => {
6073
6073
  var _e;
6074
6074
  const C = o.static, O = (ee, Q) => Q.find((H) => {
6075
- var X;
6076
- if ((X = H.questionIds) != null && X.length)
6075
+ var J;
6076
+ if ((J = H.questionIds) != null && J.length)
6077
6077
  return H.questionIds.find((de) => ee === de);
6078
6078
  }), N = (ee, Q) => Q.find((H) => !H.questionIds && H.answerType === ee), R = C ? O(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((ee) => ee.answerType === b.answerType);
6079
6079
  if (!R) {
@@ -6296,7 +6296,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6296
6296
  width: "100%",
6297
6297
  minHeight: "100%",
6298
6298
  overflow: "auto"
6299
- }, Xu = ({
6299
+ }, Ju = ({
6300
6300
  header: t,
6301
6301
  footer: e,
6302
6302
  backgroundColor: r,
@@ -6370,7 +6370,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6370
6370
  }
6371
6371
  ) }) });
6372
6372
  };
6373
- function Ju() {
6373
+ function Xu() {
6374
6374
  const t = nt(null), [e, r] = Pe(!1);
6375
6375
  return { ref: t, isPopoverOpen: e, openPopover: () => {
6376
6376
  var o;
@@ -6481,7 +6481,7 @@ const Vs = () => U(null, null, function* () {
6481
6481
  popup: a
6482
6482
  }) => {
6483
6483
  var m, S, b;
6484
- const { perform: l } = dr(), { setIsProcessingCallback: d } = wd(), { ref: _, isPopoverOpen: h, openPopover: c, closePopover: y } = Ju(), g = {
6484
+ const { perform: l } = dr(), { setIsProcessingCallback: d } = wd(), { ref: _, isPopoverOpen: h, openPopover: c, closePopover: y } = Xu(), g = {
6485
6485
  enableHighAccuracy: !0,
6486
6486
  timeout: 15e3,
6487
6487
  maximumAge: 6e4
@@ -6527,7 +6527,7 @@ const Vs = () => U(null, null, function* () {
6527
6527
  /* @__PURE__ */ u("div", { style: e1, children: [
6528
6528
  /* @__PURE__ */ u("div", { style: t1, children: [
6529
6529
  n && /* @__PURE__ */ u("div", { style: n1, children: /* @__PURE__ */ u(Me, I({}, n)) }),
6530
- t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(ke, I({}, t)) }),
6530
+ t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(Ne, I({}, t)) }),
6531
6531
  i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", width: "100%" }, children: /* @__PURE__ */ u(ei, I({}, i)) })
6532
6532
  ] }),
6533
6533
  !!(o != null && o.length) && /* @__PURE__ */ u(
@@ -6643,7 +6643,7 @@ const Vs = () => U(null, null, function* () {
6643
6643
  );
6644
6644
  if (e === lt.CAMERA)
6645
6645
  return /* @__PURE__ */ u(
6646
- Xu,
6646
+ Ju,
6647
6647
  {
6648
6648
  header: r == null ? void 0 : r.header,
6649
6649
  buttons: r == null ? void 0 : r.buttons,
@@ -6884,7 +6884,7 @@ const l1 = (t, e) => ({
6884
6884
  return console.warn("Idv:: Already initialized"), {};
6885
6885
  if (e()._initializationInProgress)
6886
6886
  return new $n({
6887
- errorCode: Jn.INITIALIZATION_IN_PROGRESS
6887
+ errorCode: Xn.INITIALIZATION_IN_PROGRESS
6888
6888
  });
6889
6889
  t({ _initializationInProgress: !0 }), yield e().setAndInitFetchService(), t({
6890
6890
  modulesConfig: n.modulesConfig || {}
@@ -7778,7 +7778,7 @@ const d1 = (t, e) => ({
7778
7778
  return t(() => ({ externalModules: i })), {};
7779
7779
  } catch (i) {
7780
7780
  return e().resetFetchService(), e().resetProps(), { error: new $n({
7781
- errorCode: Jn.MODULES_INSTANTIATION_FAILURE
7781
+ errorCode: Xn.MODULES_INSTANTIATION_FAILURE
7782
7782
  }) };
7783
7783
  }
7784
7784
  }),
@@ -8099,9 +8099,9 @@ function p1() {
8099
8099
  /* 1 */
8100
8100
  /***/
8101
8101
  (function(e, r, n) {
8102
- var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), _ = d.checkType, h = d.broPayload, c = d.mobilePayload, y = d.wearPayload, g = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, b = new i(), C = b.getBrowser(), O = b.getDevice(), N = b.getEngine(), R = b.getOS(), M = b.getUA(), pe = s.CHROME, _e = s.CHROMIUM, ee = s.IE, Q = s.INTERNET_EXPLORER, H = s.OPERA, X = s.FIREFOX, de = s.SAFARI, ue = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, te = l.MOBILE, z = l.TABLET, F = l.SMART_TV, q = l.BROWSER, re = l.WEARABLE, Se = l.CONSOLE, ne = a.ANDROID, $ = a.WINDOWS_PHONE, J = a.IOS, $e = a.WINDOWS, je = a.MAC_OS, it = function() {
8102
+ var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), _ = d.checkType, h = d.broPayload, c = d.mobilePayload, y = d.wearPayload, g = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, b = new i(), C = b.getBrowser(), O = b.getDevice(), N = b.getEngine(), R = b.getOS(), M = b.getUA(), pe = s.CHROME, _e = s.CHROMIUM, ee = s.IE, Q = s.INTERNET_EXPLORER, H = s.OPERA, J = s.FIREFOX, de = s.SAFARI, ue = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, te = l.MOBILE, z = l.TABLET, F = l.SMART_TV, q = l.BROWSER, re = l.WEARABLE, Se = l.CONSOLE, ne = a.ANDROID, $ = a.WINDOWS_PHONE, X = a.IOS, $e = a.WINDOWS, je = a.MAC_OS, it = function() {
8103
8103
  return O.type === te;
8104
- }, Xe = function() {
8104
+ }, Je = function() {
8105
8105
  return O.type === z;
8106
8106
  }, wt = function() {
8107
8107
  switch (O.type) {
@@ -8130,11 +8130,11 @@ function p1() {
8130
8130
  }, v = function() {
8131
8131
  return R.name === $;
8132
8132
  }, T = function() {
8133
- return R.name === J;
8133
+ return R.name === X;
8134
8134
  }, A = function() {
8135
8135
  return C.name === pe;
8136
8136
  }, V = function() {
8137
- return C.name === X;
8137
+ return C.name === J;
8138
8138
  }, D = function() {
8139
8139
  return C.name === _e;
8140
8140
  }, P = function() {
@@ -8183,7 +8183,7 @@ function p1() {
8183
8183
  return M;
8184
8184
  }, nn = function() {
8185
8185
  return O.type;
8186
- }, on = $t(), sn = yt(), an = ft(), Wt = K() || j(), ln = D(), tt = wt() || j(), cn = it(), dn = Xe() || j(), un = vt(), fn = Bt(), hn = v(), pn = T() || j(), _n = A(), ri = V(), ni = ie(), ii = ge(), ur = Fe(), mn = G(), gn = ze(), wn = Oe(), oi = fe(), vn = Ht(), yn = Yt(), bn = Qr(), si = en(), ai = tn(), li = rn(), ci = P() || ot(), Cn = W(), di = nn(), ui = se(), fi = j(), hi = me(), pi = Be(), _i = Z(), mi = ot(), gi = P(), wi = ht(), vi = et(), pt = _(O.type);
8186
+ }, on = $t(), sn = yt(), an = ft(), Wt = K() || j(), ln = D(), tt = wt() || j(), cn = it(), dn = Je() || j(), un = vt(), fn = Bt(), hn = v(), pn = T() || j(), _n = A(), ri = V(), ni = ie(), ii = ge(), ur = Fe(), mn = G(), gn = ze(), wn = Oe(), oi = fe(), vn = Ht(), yn = Yt(), bn = Qr(), si = en(), ai = tn(), li = rn(), ci = P() || ot(), Cn = W(), di = nn(), ui = se(), fi = j(), hi = me(), pi = Be(), _i = Z(), mi = ot(), gi = P(), wi = ht(), vi = et(), pt = _(O.type);
8187
8187
  function yi() {
8188
8188
  var oe = pt.isBrowser, st = pt.isMobile, fr = pt.isTablet, Sn = pt.isSmartTV, En = pt.isConsole, Tn = pt.isWearable;
8189
8189
  if (oe)
@@ -8267,12 +8267,12 @@ function p1() {
8267
8267
  }, trim: function(te) {
8268
8268
  return te.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8269
8269
  } }, H = { rgx: function(te, z) {
8270
- for (var F = 0, q, re, Se, ne, $, J; F < z.length && !$; ) {
8270
+ for (var F = 0, q, re, Se, ne, $, X; F < z.length && !$; ) {
8271
8271
  var $e = z[F], je = z[F + 1];
8272
8272
  for (q = re = 0; q < $e.length && !$; )
8273
8273
  if ($ = $e[q++].exec(te), $)
8274
8274
  for (Se = 0; Se < je.length; Se++)
8275
- J = $[++re], ne = je[Se], typeof ne === c && ne.length > 0 ? ne.length == 2 ? typeof ne[1] == _ ? this[ne[0]] = ne[1].call(this, J) : this[ne[0]] = ne[1] : ne.length == 3 ? typeof ne[1] === _ && !(ne[1].exec && ne[1].test) ? this[ne[0]] = J ? ne[1].call(this, J, ne[2]) : s : this[ne[0]] = J ? J.replace(ne[1], ne[2]) : s : ne.length == 4 && (this[ne[0]] = J ? ne[3].call(this, J.replace(ne[1], ne[2])) : s) : this[ne] = J || s;
8275
+ X = $[++re], ne = je[Se], typeof ne === c && ne.length > 0 ? ne.length == 2 ? typeof ne[1] == _ ? this[ne[0]] = ne[1].call(this, X) : this[ne[0]] = ne[1] : ne.length == 3 ? typeof ne[1] === _ && !(ne[1].exec && ne[1].test) ? this[ne[0]] = X ? ne[1].call(this, X, ne[2]) : s : this[ne[0]] = X ? X.replace(ne[1], ne[2]) : s : ne.length == 4 && (this[ne[0]] = X ? ne[3].call(this, X.replace(ne[1], ne[2])) : s) : this[ne] = X || s;
8276
8276
  F += 2;
8277
8277
  }
8278
8278
  }, str: function(te, z) {
@@ -8284,7 +8284,7 @@ function p1() {
8284
8284
  } else if (Q.has(z[F], te))
8285
8285
  return F === d ? s : F;
8286
8286
  return te;
8287
- } }, X = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, C], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], C], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], C], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, C], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], C], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], C], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], C], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], C], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], C], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], C], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], C], [/(qqbrowserlite)\/([\w\.]+)/i], [m, C], [/(QQ)\/([\d\.]+)/i], [m, C], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, C], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [C, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [C, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [C, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], C], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], C], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [C, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, C], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], C], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], C], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], C], [/fxios\/([\w\.-]+)/i], [C, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [C, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [C, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], C], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [C, H.str, X.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, C], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], C], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, C]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Q.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[O, /ower/, "", Q.lowerize]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[O, Q.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, b, [S, M]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [b, "Apple"], [S, M]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [b, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [b, f, [S, M]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [b, "Amazon"], [S, M]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, X.device.amazon.model], [b, "Amazon"], [S, R]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, b, [S, R]], [/\((ip[honed|\s\w*]+);/i], [f, [b, "Apple"], [S, R]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [b, f, [S, R]], [/\(bb10;\s(\w+)/i], [f, [b, "BlackBerry"], [S, R]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [b, "Asus"], [S, M]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[b, "Sony"], [f, "Xperia Tablet"], [S, M]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [b, "Sony"], [S, R]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [b, f, [S, N]], [/android.+;\s(shield)\sbuild/i], [f, [b, "Nvidia"], [S, N]], [/(playstation\s[34portablevi]+)/i], [f, [b, "Sony"], [S, N]], [/(sprint\s(\w+))/i], [[b, H.str, X.device.sprint.vendor], [f, H.str, X.device.sprint.model], [S, R]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [b, f, [S, M]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [b, [f, /_/g, " "], [S, R]], [/(nexus\s9)/i], [f, [b, "HTC"], [S, M]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [b, "Huawei"], [S, R]], [/(microsoft);\s(lumia[\s\w]+)/i], [b, f, [S, R]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [b, "Microsoft"], [S, N]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [b, "Microsoft"], [S, R]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [b, "Motorola"], [S, R]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [b, "Motorola"], [S, M]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[b, Q.trim], [f, Q.trim], [S, pe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [b, "Samsung"], [S, pe]], [/\(dtv[\);].+(aquos)/i], [f, [b, "Sharp"], [S, pe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[b, "Samsung"], f, [S, M]], [/smart-tv.+(samsung)/i], [b, [S, pe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[b, "Samsung"], f, [S, R]], [/sie-(\w*)/i], [f, [b, "Siemens"], [S, R]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[b, "Nokia"], f, [S, R]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [b, "Acer"], [S, M]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [b, "LG"], [S, M]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[b, "LG"], f, [S, M]], [/(lg) netcast\.tv/i], [b, f, [S, pe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [b, "LG"], [S, R]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [b, "Lenovo"], [S, M]], [/linux;.+((jolla));/i], [b, f, [S, R]], [/((pebble))app\/[\d\.]+\s/i], [b, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [b, f, [S, R]], [/crkey/i], [[f, "Chromecast"], [b, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [b, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [b, "Google"], [S, M]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [b, "Google"], [S, R]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, R]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, M]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [b, "Meizu"], [S, M]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [b, "OnePlus"], [S, R]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [b, "RCA"], [S, M]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [b, "Dell"], [S, M]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [b, "Verizon"], [S, M]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[b, "Barnes & Noble"], f, [S, M]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [b, "NuVision"], [S, M]], [/android.+;\s(k88)\sbuild/i], [f, [b, "ZTE"], [S, M]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [b, "Swiss"], [S, R]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [b, "Swiss"], [S, M]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [b, "Zeki"], [S, M]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[b, "Dragon Touch"], f, [S, M]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [b, "Insignia"], [S, M]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [b, "NextBook"], [S, M]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[b, "Voice"], f, [S, R]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[b, "LvTel"], f, [S, R]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [b, "Envizen"], [S, M]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [b, "MachSpeed"], [S, M]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [b, "Rotor"], [S, M]], [/android.+(KS(.+))\s+build/i], [f, [b, "Amazon"], [S, M]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [b, f, [S, M]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Q.lowerize], b, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [b, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [C, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, C], [/rv\:([\w\.]{1,9}).+(gecko)/i], [C, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, C], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [C, H.str, X.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [C, H.str, X.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], C], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, C], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], C], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], C], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, C], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], C], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], C], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, C], [/(haiku)\s(\w+)/i], [m, C], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[C, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [C, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, C]] }, ue = function(te, z) {
8287
+ } }, J = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, C], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], C], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], C], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, C], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], C], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], C], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], C], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], C], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], C], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], C], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], C], [/(qqbrowserlite)\/([\w\.]+)/i], [m, C], [/(QQ)\/([\d\.]+)/i], [m, C], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, C], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [C, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [C, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [C, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], C], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], C], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [C, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, C], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], C], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], C], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], C], [/fxios\/([\w\.-]+)/i], [C, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [C, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [C, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], C], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [C, H.str, J.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, C], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], C], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, C]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Q.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[O, /ower/, "", Q.lowerize]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[O, Q.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, b, [S, M]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [b, "Apple"], [S, M]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [b, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [b, f, [S, M]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [b, "Amazon"], [S, M]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, J.device.amazon.model], [b, "Amazon"], [S, R]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, b, [S, R]], [/\((ip[honed|\s\w*]+);/i], [f, [b, "Apple"], [S, R]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [b, f, [S, R]], [/\(bb10;\s(\w+)/i], [f, [b, "BlackBerry"], [S, R]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [b, "Asus"], [S, M]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[b, "Sony"], [f, "Xperia Tablet"], [S, M]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [b, "Sony"], [S, R]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [b, f, [S, N]], [/android.+;\s(shield)\sbuild/i], [f, [b, "Nvidia"], [S, N]], [/(playstation\s[34portablevi]+)/i], [f, [b, "Sony"], [S, N]], [/(sprint\s(\w+))/i], [[b, H.str, J.device.sprint.vendor], [f, H.str, J.device.sprint.model], [S, R]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [b, f, [S, M]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [b, [f, /_/g, " "], [S, R]], [/(nexus\s9)/i], [f, [b, "HTC"], [S, M]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [b, "Huawei"], [S, R]], [/(microsoft);\s(lumia[\s\w]+)/i], [b, f, [S, R]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [b, "Microsoft"], [S, N]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [b, "Microsoft"], [S, R]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [b, "Motorola"], [S, R]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [b, "Motorola"], [S, M]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[b, Q.trim], [f, Q.trim], [S, pe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [b, "Samsung"], [S, pe]], [/\(dtv[\);].+(aquos)/i], [f, [b, "Sharp"], [S, pe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[b, "Samsung"], f, [S, M]], [/smart-tv.+(samsung)/i], [b, [S, pe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[b, "Samsung"], f, [S, R]], [/sie-(\w*)/i], [f, [b, "Siemens"], [S, R]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[b, "Nokia"], f, [S, R]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [b, "Acer"], [S, M]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [b, "LG"], [S, M]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[b, "LG"], f, [S, M]], [/(lg) netcast\.tv/i], [b, f, [S, pe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [b, "LG"], [S, R]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [b, "Lenovo"], [S, M]], [/linux;.+((jolla));/i], [b, f, [S, R]], [/((pebble))app\/[\d\.]+\s/i], [b, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [b, f, [S, R]], [/crkey/i], [[f, "Chromecast"], [b, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [b, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [b, "Google"], [S, M]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [b, "Google"], [S, R]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, R]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, M]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [b, "Meizu"], [S, M]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [b, "OnePlus"], [S, R]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [b, "RCA"], [S, M]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [b, "Dell"], [S, M]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [b, "Verizon"], [S, M]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[b, "Barnes & Noble"], f, [S, M]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [b, "NuVision"], [S, M]], [/android.+;\s(k88)\sbuild/i], [f, [b, "ZTE"], [S, M]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [b, "Swiss"], [S, R]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [b, "Swiss"], [S, M]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [b, "Zeki"], [S, M]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[b, "Dragon Touch"], f, [S, M]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [b, "Insignia"], [S, M]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [b, "NextBook"], [S, M]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[b, "Voice"], f, [S, R]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[b, "LvTel"], f, [S, R]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [b, "Envizen"], [S, M]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [b, "MachSpeed"], [S, M]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [b, "Rotor"], [S, M]], [/android.+(KS(.+))\s+build/i], [f, [b, "Amazon"], [S, M]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [b, f, [S, M]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Q.lowerize], b, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [b, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [C, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, C], [/rv\:([\w\.]{1,9}).+(gecko)/i], [C, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, C], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [C, H.str, J.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [C, H.str, J.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], C], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, C], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], C], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], C], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, C], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], C], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], C], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, C], [/(haiku)\s(\w+)/i], [m, C], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[C, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [C, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, C]] }, ue = function(te, z) {
8288
8288
  if (typeof te == "object" && (z = te, te = s), !(this instanceof ue))
8289
8289
  return new ue(te, z).getResult();
8290
8290
  var F = te || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), q = z ? Q.extend(de, z) : de;
@@ -8440,7 +8440,7 @@ var _1 = p1(), m1 = Object.defineProperty, Ir = (t, e, r, n) => {
8440
8440
  };
8441
8441
  const ko = class ko extends Dr {
8442
8442
  constructor() {
8443
- super(), this.orientation = new h1(this), this.store = He.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8443
+ super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new h1(this), this.store = He.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8444
8444
  this.store.listener({
8445
8445
  eventType: Mn.MESSAGE,
8446
8446
  message: r,
@@ -8455,8 +8455,9 @@ const ko = class ko extends Dr {
8455
8455
  });
8456
8456
  }
8457
8457
  _processingScreen() {
8458
- const e = this.loadedModules.find((r) => r.supportedTemplates.includes("PROGRESS"));
8459
- return e && this.processingScreenFromWorkflow ? Ws(e.id, {
8458
+ const e = this.loadedModules.find((n) => n.supportedTemplates.includes("PROGRESS"));
8459
+ if (!e || !this.processingScreenFromWorkflow) return Si`Processing...`;
8460
+ const r = {
8460
8461
  perform: this._performFromModule,
8461
8462
  moduleProps: Y(I({}, this.processingScreenFromWorkflow), {
8462
8463
  templateId: "PROGRESS"
@@ -8464,23 +8465,29 @@ const ko = class ko extends Dr {
8464
8465
  modulesConfig: this.modulesConfig,
8465
8466
  idvEventListener: this._listenerFromModule,
8466
8467
  isProcessing: this._isProcessingCallback
8467
- }) : Si`Processing...`;
8468
+ };
8469
+ return this._currentProgressElement || (this._currentProgressElement = Ws(e.id, r)), this._currentProgressElement;
8470
+ }
8471
+ _isTheSameModuleAndScreen(e) {
8472
+ return this._currentScreenModuleId === e.id && JSON.stringify(structuredClone(this._currentScreenConfig)) === JSON.stringify(structuredClone(this.currentScreenConfig));
8468
8473
  }
8469
8474
  _currentScreen() {
8470
- if (!this.currentScreenConfig) return null;
8475
+ if (!this.currentScreenConfig) return Re;
8471
8476
  const e = this.loadedModules.find(
8472
- (r) => r.supportedTemplates.includes(this.currentScreenConfig.templateId)
8477
+ (n) => n.supportedTemplates.includes(this.currentScreenConfig.templateId)
8473
8478
  );
8474
- return e && this.currentScreenConfig ? Ws(e.id, {
8479
+ if (!e) return Re;
8480
+ const r = {
8475
8481
  perform: this._performFromModule,
8476
8482
  moduleProps: this.currentScreenConfig,
8477
8483
  modulesConfig: this.modulesConfig,
8478
8484
  idvEventListener: this._listenerFromModule,
8479
8485
  isProcessing: this._isProcessingCallback
8480
- }) : null;
8486
+ };
8487
+ return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Ws(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8481
8488
  }
8482
8489
  get version() {
8483
- return `${"3.2.249-nightly".trim()}`;
8490
+ return `${"3.2.250-nightly".trim()}`;
8484
8491
  }
8485
8492
  disconnectedCallback() {
8486
8493
  Vi.clearLogs();
@@ -8565,7 +8572,7 @@ class x1 {
8565
8572
  }
8566
8573
  /** service commands */
8567
8574
  get version() {
8568
- return "3.2.249-nightly";
8575
+ return "3.2.250-nightly";
8569
8576
  }
8570
8577
  set nonce(e) {
8571
8578
  He.getState().setNonce(e);
@@ -8592,7 +8599,7 @@ export {
8592
8599
  x1 as IdvIntegrationService,
8593
8600
  Pr as IdvServiceMessages,
8594
8601
  Vt as IdvWebComponent,
8595
- Jn as InitializeError,
8602
+ Xn as InitializeError,
8596
8603
  Ct as PrepareWorkflowError,
8597
8604
  at as SessionError,
8598
8605
  er as StartSessionError,