@regulaforensics/idv-capture-web 3.6.330-nightly → 3.6.331-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
@@ -226,8 +226,8 @@ let Wo = class extends HTMLElement {
226
226
  if (s !== void 0 && this._$Em !== s) {
227
227
  const c = o.getPropertyOptions(s), g = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((a = c.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? c.converter : _u;
228
228
  this._$Em = s;
229
- const p = g.fromAttribute(t, c.type);
230
- this[s] = (d = p != null ? p : (l = this._$Ej) == null ? void 0 : l.get(s)) != null ? d : p, this._$Em = null;
229
+ const M = g.fromAttribute(t, c.type);
230
+ this[s] = (d = M != null ? M : (l = this._$Ej) == null ? void 0 : l.get(s)) != null ? d : M, this._$Em = null;
231
231
  }
232
232
  }
233
233
  requestUpdate(e, t, o, s = !1, a) {
@@ -327,10 +327,10 @@ const Sm = (r, e) => {
327
327
  let s, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", l = ks;
328
328
  for (let d = 0; d < t; d++) {
329
329
  const c = r[d];
330
- let g, p, M = -1, h = 0;
331
- for (; h < c.length && (l.lastIndex = h, p = l.exec(c), p !== null); ) h = l.lastIndex, l === ks ? p[1] === "!--" ? l = Wg : p[1] !== void 0 ? l = $g : p[2] !== void 0 ? (rM.test(p[2]) && (s = RegExp("</" + p[2], "g")), l = bi) : p[3] !== void 0 && (l = bi) : l === bi ? p[0] === ">" ? (l = s != null ? s : ks, M = -1) : p[1] === void 0 ? M = -2 : (M = l.lastIndex - p[2].length, g = p[1], l = p[3] === void 0 ? bi : p[3] === '"' ? Gg : Hg) : l === Gg || l === Hg ? l = bi : l === Wg || l === $g ? l = ks : (l = bi, s = void 0);
330
+ let g, M, p = -1, h = 0;
331
+ for (; h < c.length && (l.lastIndex = h, M = l.exec(c), M !== null); ) h = l.lastIndex, l === ks ? M[1] === "!--" ? l = Wg : M[1] !== void 0 ? l = $g : M[2] !== void 0 ? (rM.test(M[2]) && (s = RegExp("</" + M[2], "g")), l = bi) : M[3] !== void 0 && (l = bi) : l === bi ? M[0] === ">" ? (l = s != null ? s : ks, p = -1) : M[1] === void 0 ? p = -2 : (p = l.lastIndex - M[2].length, g = M[1], l = M[3] === void 0 ? bi : M[3] === '"' ? Gg : Hg) : l === Gg || l === Hg ? l = bi : l === Wg || l === $g ? l = ks : (l = bi, s = void 0);
332
332
  const D = l === bi && r[d + 1].startsWith("/>") ? " " : "";
333
- a += l === ks ? c + Em : M >= 0 ? (o.push(g), c.slice(0, M) + tM + c.slice(M) + fi + D) : c + fi + (M === -2 ? d : D);
333
+ a += l === ks ? c + Em : p >= 0 ? (o.push(g), c.slice(0, p) + tM + c.slice(p) + fi + D) : c + fi + (p === -2 ? d : D);
334
334
  }
335
335
  return [iM(r, a + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
336
336
  };
@@ -339,29 +339,29 @@ let Cc = class oM {
339
339
  let s;
340
340
  this.parts = [];
341
341
  let a = 0, l = 0;
342
- const d = e.length - 1, c = this.parts, [g, p] = Sm(e, t);
342
+ const d = e.length - 1, c = this.parts, [g, M] = Sm(e, t);
343
343
  if (this.el = oM.createElement(g, o), Fi.currentNode = this.el.content, t === 2 || t === 3) {
344
- const M = this.el.content.firstChild;
345
- M.replaceWith(...M.childNodes);
344
+ const p = this.el.content.firstChild;
345
+ p.replaceWith(...p.childNodes);
346
346
  }
347
347
  for (; (s = Fi.nextNode()) !== null && c.length < d; ) {
348
348
  if (s.nodeType === 1) {
349
- if (s.hasAttributes()) for (const M of s.getAttributeNames()) if (M.endsWith(tM)) {
350
- const h = p[l++], D = s.getAttribute(M).split(fi), y = /([.?@])?(.*)/.exec(h);
351
- c.push({ type: 1, index: a, name: y[2], strings: D, ctor: y[1] === "." ? Cm : y[1] === "?" ? jm : y[1] === "@" ? xm : Fu }), s.removeAttribute(M);
352
- } else M.startsWith(fi) && (c.push({ type: 6, index: a }), s.removeAttribute(M));
349
+ if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(tM)) {
350
+ const h = M[l++], D = s.getAttribute(p).split(fi), y = /([.?@])?(.*)/.exec(h);
351
+ c.push({ type: 1, index: a, name: y[2], strings: D, ctor: y[1] === "." ? Cm : y[1] === "?" ? jm : y[1] === "@" ? xm : Fu }), s.removeAttribute(p);
352
+ } else p.startsWith(fi) && (c.push({ type: 6, index: a }), s.removeAttribute(p));
353
353
  if (rM.test(s.tagName)) {
354
- const M = s.textContent.split(fi), h = M.length - 1;
354
+ const p = s.textContent.split(fi), h = p.length - 1;
355
355
  if (h > 0) {
356
356
  s.textContent = mu ? mu.emptyScript : "";
357
- for (let D = 0; D < h; D++) s.append(M[D], ta()), Fi.nextNode(), c.push({ type: 2, index: ++a });
358
- s.append(M[h], ta());
357
+ for (let D = 0; D < h; D++) s.append(p[D], ta()), Fi.nextNode(), c.push({ type: 2, index: ++a });
358
+ s.append(p[h], ta());
359
359
  }
360
360
  }
361
361
  } else if (s.nodeType === 8) if (s.data === nM) c.push({ type: 2, index: a });
362
362
  else {
363
- let M = -1;
364
- for (; (M = s.data.indexOf(fi, M + 1)) !== -1; ) c.push({ type: 7, index: a }), M += fi.length - 1;
363
+ let p = -1;
364
+ for (; (p = s.data.indexOf(fi, p + 1)) !== -1; ) c.push({ type: 7, index: a }), p += fi.length - 1;
365
365
  }
366
366
  a++;
367
367
  }
@@ -395,8 +395,8 @@ let Om = class {
395
395
  let a = Fi.nextNode(), l = 0, d = 0, c = o[0];
396
396
  for (; c !== void 0; ) {
397
397
  if (l === c.index) {
398
- let p;
399
- c.type === 2 ? p = new Kc(a, a.nextSibling, this, e) : c.type === 1 ? p = new c.ctor(a, c.name, c.strings, this, e) : c.type === 6 && (p = new bm(a, this, e)), this._$AV.push(p), c = o[++d];
398
+ let M;
399
+ c.type === 2 ? M = new Kc(a, a.nextSibling, this, e) : c.type === 1 ? M = new c.ctor(a, c.name, c.strings, this, e) : c.type === 6 && (M = new bm(a, this, e)), this._$AV.push(M), c = o[++d];
400
400
  }
401
401
  l !== (c == null ? void 0 : c.index) && (a = Fi.nextNode(), l++);
402
402
  }
@@ -654,11 +654,11 @@ class Um {
654
654
  }
655
655
  const Pm = new Um(), Kg = (r) => {
656
656
  let e;
657
- const t = /* @__PURE__ */ new Set(), o = (g, p) => {
658
- const M = typeof g == "function" ? g(e) : g;
659
- if (!Object.is(M, e)) {
657
+ const t = /* @__PURE__ */ new Set(), o = (g, M) => {
658
+ const p = typeof g == "function" ? g(e) : g;
659
+ if (!Object.is(p, e)) {
660
660
  const h = e;
661
- e = (p != null ? p : typeof M != "object" || M === null) ? M : Object.assign({}, e, M), t.forEach((D) => D(e, h));
661
+ e = (M != null ? M : typeof p != "object" || p === null) ? p : Object.assign({}, e, p), t.forEach((D) => D(e, h));
662
662
  }
663
663
  }, s = () => e, d = { setState: o, getState: s, getInitialState: () => c, subscribe: (g) => (t.add(g), () => t.delete(g)) }, c = e = r(o, s, d);
664
664
  return d;
@@ -712,15 +712,15 @@ function Tu() {
712
712
  for (var r, e, t, o, s, a, l, d = 1; zi.length; ) zi.length > d && zi.sort(lM), r = zi.shift(), d = zi.length, r.__d && (t = void 0, o = void 0, s = (o = (e = r).__v).__e, a = [], l = [], e.__P && ((t = Mr({}, o)).__v = o.__v + 1, $e.vnode && $e.vnode(t), qc(e.__P, t, o, e.__n, e.__P.namespaceURI, 32 & o.__u ? [s] : null, a, s == null ? es(o) : s, !!(32 & o.__u), l), t.__v = o.__v, t.__.__k[t.__i] = t, IM(a, t, l), o.__e = o.__ = null, t.__e != s && hM(t)));
713
713
  Tu.__r = 0;
714
714
  }
715
- function MM(r, e, t, o, s, a, l, d, c, g, p) {
716
- var M, h, D, y, N, _, T, E = o && o.__k || fM, S = e.length;
717
- for (c = Ym(t, e, E, c, S), M = 0; M < S; M++) (D = t.__k[M]) != null && (h = D.__i == -1 ? ra : E[D.__i] || ra, D.__i = M, _ = qc(r, D, h, s, a, l, d, c, g, p), y = D.__e, D.ref && h.ref != D.ref && (h.ref && ed(h.ref, null, D), p.push(D.ref, D.__c || y, D)), N == null && y != null && (N = y), (T = !!(4 & D.__u)) || h.__k === D.__k ? c = pM(D, c, r, T) : typeof D.type == "function" && _ !== void 0 ? c = _ : y && (c = y.nextSibling), D.__u &= -7);
715
+ function MM(r, e, t, o, s, a, l, d, c, g, M) {
716
+ var p, h, D, y, N, _, T, E = o && o.__k || fM, S = e.length;
717
+ for (c = Ym(t, e, E, c, S), p = 0; p < S; p++) (D = t.__k[p]) != null && (h = D.__i == -1 ? ra : E[D.__i] || ra, D.__i = p, _ = qc(r, D, h, s, a, l, d, c, g, M), y = D.__e, D.ref && h.ref != D.ref && (h.ref && ed(h.ref, null, D), M.push(D.ref, D.__c || y, D)), N == null && y != null && (N = y), (T = !!(4 & D.__u)) || h.__k === D.__k ? c = pM(D, c, r, T) : typeof D.type == "function" && _ !== void 0 ? c = _ : y && (c = y.nextSibling), D.__u &= -7);
718
718
  return t.__e = N, c;
719
719
  }
720
720
  function Ym(r, e, t, o, s) {
721
- var a, l, d, c, g, p = t.length, M = p, h = 0;
722
- for (r.__k = new Array(s), a = 0; a < s; a++) (l = e[a]) != null && typeof l != "boolean" && typeof l != "function" ? (typeof l == "string" || typeof l == "number" || typeof l == "bigint" || l.constructor == String ? l = r.__k[a] = Hs(null, l, null, null, null) : la(l) ? l = r.__k[a] = Hs(nn, { children: l }, null, null, null) : l.constructor === void 0 && l.__b > 0 ? l = r.__k[a] = Hs(l.type, l.props, l.key, l.ref ? l.ref : null, l.__v) : r.__k[a] = l, c = a + h, l.__ = r, l.__b = r.__b + 1, d = null, (g = l.__i = Bm(l, t, c, M)) != -1 && (M--, (d = t[g]) && (d.__u |= 2)), d == null || d.__v == null ? (g == -1 && (s > p ? h-- : s < p && h++), typeof l.type != "function" && (l.__u |= 4)) : g != c && (g == c - 1 ? h-- : g == c + 1 ? h++ : (g > c ? h-- : h++, l.__u |= 4))) : r.__k[a] = null;
723
- if (M) for (a = 0; a < p; a++) (d = t[a]) != null && (2 & d.__u) == 0 && (d.__e == o && (o = es(d)), NM(d, d));
721
+ var a, l, d, c, g, M = t.length, p = M, h = 0;
722
+ for (r.__k = new Array(s), a = 0; a < s; a++) (l = e[a]) != null && typeof l != "boolean" && typeof l != "function" ? (typeof l == "string" || typeof l == "number" || typeof l == "bigint" || l.constructor == String ? l = r.__k[a] = Hs(null, l, null, null, null) : la(l) ? l = r.__k[a] = Hs(nn, { children: l }, null, null, null) : l.constructor === void 0 && l.__b > 0 ? l = r.__k[a] = Hs(l.type, l.props, l.key, l.ref ? l.ref : null, l.__v) : r.__k[a] = l, c = a + h, l.__ = r, l.__b = r.__b + 1, d = null, (g = l.__i = Bm(l, t, c, p)) != -1 && (p--, (d = t[g]) && (d.__u |= 2)), d == null || d.__v == null ? (g == -1 && (s > M ? h-- : s < M && h++), typeof l.type != "function" && (l.__u |= 4)) : g != c && (g == c - 1 ? h-- : g == c + 1 ? h++ : (g > c ? h-- : h++, l.__u |= 4))) : r.__k[a] = null;
723
+ if (p) for (a = 0; a < M; a++) (d = t[a]) != null && (2 & d.__u) == 0 && (d.__e == o && (o = es(d)), NM(d, d));
724
724
  return o;
725
725
  }
726
726
  function pM(r, e, t, o) {
@@ -741,9 +741,9 @@ function Wr(r, e) {
741
741
  }) : e.push(r)), e;
742
742
  }
743
743
  function Bm(r, e, t, o) {
744
- var s, a, l, d = r.key, c = r.type, g = e[t], p = g != null && (2 & g.__u) == 0;
745
- if (g === null && d == null || p && d == g.key && c == g.type) return t;
746
- if (o > (p ? 1 : 0)) {
744
+ var s, a, l, d = r.key, c = r.type, g = e[t], M = g != null && (2 & g.__u) == 0;
745
+ if (g === null && d == null || M && d == g.key && c == g.type) return t;
746
+ if (o > (M ? 1 : 0)) {
747
747
  for (s = t - 1, a = t + 1; s >= 0 || a < e.length; ) if ((g = e[l = s >= 0 ? s-- : a++]) != null && (2 & g.__u) == 0 && d == g.key && c == g.type) return l;
748
748
  }
749
749
  return -1;
@@ -780,30 +780,30 @@ function qg(r) {
780
780
  };
781
781
  }
782
782
  function qc(r, e, t, o, s, a, l, d, c, g) {
783
- var p, M, h, D, y, N, _, T, E, S, v, R, Q, $, Z, Oe, ee, ae = e.type;
783
+ var M, p, h, D, y, N, _, T, E, S, v, R, Q, $, Z, Oe, ee, ae = e.type;
784
784
  if (e.constructor !== void 0) return null;
785
- 128 & t.__u && (c = !!(32 & t.__u), a = [d = e.__e = t.__e]), (p = $e.__b) && p(e);
785
+ 128 & t.__u && (c = !!(32 & t.__u), a = [d = e.__e = t.__e]), (M = $e.__b) && M(e);
786
786
  e: if (typeof ae == "function") try {
787
- if (T = e.props, E = "prototype" in ae && ae.prototype.render, S = (p = ae.contextType) && o[p.__c], v = p ? S ? S.props.value : p.__ : o, t.__c ? _ = (M = e.__c = t.__c).__ = M.__E : (E ? e.__c = M = new ae(T, v) : (e.__c = M = new rr(T, v), M.constructor = ae, M.render = Wm), S && S.sub(M), M.state || (M.state = {}), M.__n = o, h = M.__d = !0, M.__h = [], M._sb = []), E && M.__s == null && (M.__s = M.state), E && ae.getDerivedStateFromProps != null && (M.__s == M.state && (M.__s = Mr({}, M.__s)), Mr(M.__s, ae.getDerivedStateFromProps(T, M.__s))), D = M.props, y = M.state, M.__v = e, h) E && ae.getDerivedStateFromProps == null && M.componentWillMount != null && M.componentWillMount(), E && M.componentDidMount != null && M.__h.push(M.componentDidMount);
787
+ if (T = e.props, E = "prototype" in ae && ae.prototype.render, S = (M = ae.contextType) && o[M.__c], v = M ? S ? S.props.value : M.__ : o, t.__c ? _ = (p = e.__c = t.__c).__ = p.__E : (E ? e.__c = p = new ae(T, v) : (e.__c = p = new rr(T, v), p.constructor = ae, p.render = Wm), S && S.sub(p), p.state || (p.state = {}), p.__n = o, h = p.__d = !0, p.__h = [], p._sb = []), E && p.__s == null && (p.__s = p.state), E && ae.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = Mr({}, p.__s)), Mr(p.__s, ae.getDerivedStateFromProps(T, p.__s))), D = p.props, y = p.state, p.__v = e, h) E && ae.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), E && p.componentDidMount != null && p.__h.push(p.componentDidMount);
788
788
  else {
789
- if (E && ae.getDerivedStateFromProps == null && T !== D && M.componentWillReceiveProps != null && M.componentWillReceiveProps(T, v), e.__v == t.__v || !M.__e && M.shouldComponentUpdate != null && M.shouldComponentUpdate(T, M.__s, v) === !1) {
790
- for (e.__v != t.__v && (M.props = T, M.state = M.__s, M.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.some(function(J) {
789
+ if (E && ae.getDerivedStateFromProps == null && T !== D && p.componentWillReceiveProps != null && p.componentWillReceiveProps(T, v), e.__v == t.__v || !p.__e && p.shouldComponentUpdate != null && p.shouldComponentUpdate(T, p.__s, v) === !1) {
790
+ for (e.__v != t.__v && (p.props = T, p.state = p.__s, p.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.some(function(J) {
791
791
  J && (J.__ = e);
792
- }), R = 0; R < M._sb.length; R++) M.__h.push(M._sb[R]);
793
- M._sb = [], M.__h.length && l.push(M);
792
+ }), R = 0; R < p._sb.length; R++) p.__h.push(p._sb[R]);
793
+ p._sb = [], p.__h.length && l.push(p);
794
794
  break e;
795
795
  }
796
- M.componentWillUpdate != null && M.componentWillUpdate(T, M.__s, v), E && M.componentDidUpdate != null && M.__h.push(function() {
797
- M.componentDidUpdate(D, y, N);
796
+ p.componentWillUpdate != null && p.componentWillUpdate(T, p.__s, v), E && p.componentDidUpdate != null && p.__h.push(function() {
797
+ p.componentDidUpdate(D, y, N);
798
798
  });
799
799
  }
800
- if (M.context = v, M.props = T, M.__P = r, M.__e = !1, Q = $e.__r, $ = 0, E) {
801
- for (M.state = M.__s, M.__d = !1, Q && Q(e), p = M.render(M.props, M.state, M.context), Z = 0; Z < M._sb.length; Z++) M.__h.push(M._sb[Z]);
802
- M._sb = [];
800
+ if (p.context = v, p.props = T, p.__P = r, p.__e = !1, Q = $e.__r, $ = 0, E) {
801
+ for (p.state = p.__s, p.__d = !1, Q && Q(e), M = p.render(p.props, p.state, p.context), Z = 0; Z < p._sb.length; Z++) p.__h.push(p._sb[Z]);
802
+ p._sb = [];
803
803
  } else do
804
- M.__d = !1, Q && Q(e), p = M.render(M.props, M.state, M.context), M.state = M.__s;
805
- while (M.__d && ++$ < 25);
806
- M.state = M.__s, M.getChildContext != null && (o = Mr(Mr({}, o), M.getChildContext())), E && !h && M.getSnapshotBeforeUpdate != null && (N = M.getSnapshotBeforeUpdate(D, y)), Oe = p, p != null && p.type === nn && p.key == null && (Oe = yM(p.props.children)), d = MM(r, la(Oe) ? Oe : [Oe], e, t, o, s, a, l, d, c, g), M.base = e.__e, e.__u &= -161, M.__h.length && l.push(M), _ && (M.__E = M.__ = null);
804
+ p.__d = !1, Q && Q(e), M = p.render(p.props, p.state, p.context), p.state = p.__s;
805
+ while (p.__d && ++$ < 25);
806
+ p.state = p.__s, p.getChildContext != null && (o = Mr(Mr({}, o), p.getChildContext())), E && !h && p.getSnapshotBeforeUpdate != null && (N = p.getSnapshotBeforeUpdate(D, y)), Oe = M, M != null && M.type === nn && M.key == null && (Oe = yM(M.props.children)), d = MM(r, la(Oe) ? Oe : [Oe], e, t, o, s, a, l, d, c, g), p.base = e.__e, e.__u &= -161, p.__h.length && l.push(p), _ && (p.__E = p.__ = null);
807
807
  } catch (J) {
808
808
  if (e.__v = null, c || a != null) if (J.then) {
809
809
  for (e.__u |= c ? 160 : 128; d && d.nodeType == 8 && d.nextSibling; ) d = d.nextSibling;
@@ -816,7 +816,7 @@ function qc(r, e, t, o, s, a, l, d, c, g) {
816
816
  $e.__e(J, e, t);
817
817
  }
818
818
  else a == null && e.__v == t.__v ? (e.__k = t.__k, e.__e = t.__e) : d = e.__e = Vm(t.__e, e, t, o, s, a, l, c, g);
819
- return (p = $e.diffed) && p(e), 128 & e.__u ? void 0 : d;
819
+ return (M = $e.diffed) && M(e), 128 & e.__u ? void 0 : d;
820
820
  }
821
821
  function Lc(r) {
822
822
  r && r.__c && (r.__c.__e = !0), r && r.__k && r.__k.forEach(Lc);
@@ -837,7 +837,7 @@ function yM(r) {
837
837
  return typeof r != "object" || r == null || r.__b && r.__b > 0 ? r : la(r) ? r.map(yM) : Mr({}, r);
838
838
  }
839
839
  function Vm(r, e, t, o, s, a, l, d, c) {
840
- var g, p, M, h, D, y, N, _ = t.props || ra, T = e.props, E = e.type;
840
+ var g, M, p, h, D, y, N, _ = t.props || ra, T = e.props, E = e.type;
841
841
  if (E == "svg" ? s = "http://www.w3.org/2000/svg" : E == "math" ? s = "http://www.w3.org/1998/Math/MathML" : s || (s = "http://www.w3.org/1999/xhtml"), a != null) {
842
842
  for (g = 0; g < a.length; g++) if ((D = a[g]) && "setAttribute" in D == !!E && (E ? D.localName == E : D.nodeType == 3)) {
843
843
  r = D, a[g] = null;
@@ -852,15 +852,15 @@ function Vm(r, e, t, o, s, a, l, d, c) {
852
852
  else {
853
853
  if (a = a && ua.call(r.childNodes), !d && a != null) for (_ = {}, g = 0; g < r.attributes.length; g++) _[(D = r.attributes[g]).name] = D.value;
854
854
  for (g in _) if (D = _[g], g != "children") {
855
- if (g == "dangerouslySetInnerHTML") M = D;
855
+ if (g == "dangerouslySetInnerHTML") p = D;
856
856
  else if (!(g in T)) {
857
857
  if (g == "value" && "defaultValue" in T || g == "checked" && "defaultChecked" in T) continue;
858
858
  hu(r, g, null, D, s);
859
859
  }
860
860
  }
861
- for (g in T) D = T[g], g == "children" ? h = D : g == "dangerouslySetInnerHTML" ? p = D : g == "value" ? y = D : g == "checked" ? N = D : d && typeof D != "function" || _[g] === D || hu(r, g, D, _[g], s);
862
- if (p) d || M && (p.__html == M.__html || p.__html == r.innerHTML) || (r.innerHTML = p.__html), e.__k = [];
863
- else if (M && (r.innerHTML = ""), MM(e.type == "template" ? r.content : r, la(h) ? h : [h], e, t, o, E == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, a, l, a ? a[0] : t.__k && es(t, 0), d, c), a != null) for (g = a.length; g--; ) Xc(a[g]);
861
+ for (g in T) D = T[g], g == "children" ? h = D : g == "dangerouslySetInnerHTML" ? M = D : g == "value" ? y = D : g == "checked" ? N = D : d && typeof D != "function" || _[g] === D || hu(r, g, D, _[g], s);
862
+ if (M) d || p && (M.__html == p.__html || M.__html == r.innerHTML) || (r.innerHTML = M.__html), e.__k = [];
863
+ else if (p && (r.innerHTML = ""), MM(e.type == "template" ? r.content : r, la(h) ? h : [h], e, t, o, E == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, a, l, a ? a[0] : t.__k && es(t, 0), d, c), a != null) for (g = a.length; g--; ) Xc(a[g]);
864
864
  d || (g = "value", E == "progress" && y == null ? r.removeAttribute("value") : y != null && (y !== r[g] || E == "progress" && !y || E == "option" && y != _[g]) && hu(r, g, y, _[g], s), g = "checked", N != null && N != r[g] && hu(r, g, N, _[g], s));
865
865
  }
866
866
  return r;
@@ -958,26 +958,26 @@ function Qu(r, e, t) {
958
958
  }], o.__c = at, !at.__f)) {
959
959
  var s = function(d, c, g) {
960
960
  if (!o.__c.__H) return !0;
961
- var p = o.__c.__H.__.filter(function(h) {
961
+ var M = o.__c.__H.__.filter(function(h) {
962
962
  return !!h.__c;
963
963
  });
964
- if (p.every(function(h) {
964
+ if (M.every(function(h) {
965
965
  return !h.__N;
966
966
  })) return !a || a.call(this, d, c, g);
967
- var M = o.__c.props !== d;
968
- return p.forEach(function(h) {
967
+ var p = o.__c.props !== d;
968
+ return M.forEach(function(h) {
969
969
  if (h.__N) {
970
970
  var D = h.__[0];
971
- h.__ = h.__N, h.__N = void 0, D !== h.__[0] && (M = !0);
971
+ h.__ = h.__N, h.__N = void 0, D !== h.__[0] && (p = !0);
972
972
  }
973
- }), a && a.call(this, d, c, g) || M;
973
+ }), a && a.call(this, d, c, g) || p;
974
974
  };
975
975
  at.__f = !0;
976
976
  var a = at.shouldComponentUpdate, l = at.componentWillUpdate;
977
977
  at.componentWillUpdate = function(d, c, g) {
978
978
  if (this.__e) {
979
- var p = a;
980
- a = void 0, s(d, c, g), a = p;
979
+ var M = a;
980
+ a = void 0, s(d, c, g), a = M;
981
981
  }
982
982
  l && l.call(this, d, c, g);
983
983
  }, at.shouldComponentUpdate = s;
@@ -1248,8 +1248,8 @@ $e.unmount = function(r) {
1248
1248
  var g = o.state.__a;
1249
1249
  o.__v.__k[0] = SM(g, g.__c.__P, g.__c.__O);
1250
1250
  }
1251
- var p;
1252
- for (o.setState({ __a: o.__b = null }); p = o.o.pop(); ) p.__P = d, p.forceUpdate();
1251
+ var M;
1252
+ for (o.setState({ __a: o.__b = null }); M = o.o.pop(); ) M.__P = d, M.forceUpdate();
1253
1253
  }
1254
1254
  };
1255
1255
  o.__u++ || 32 & e.__u || o.setState({ __a: o.__b = o.__v.__k[0] }), r.then(l, l);
@@ -1497,7 +1497,7 @@ var Ys = { exports: {} }, pT = Ys.exports, Ih;
1497
1497
  function IT() {
1498
1498
  return Ih || (Ih = 1, (function(r, e) {
1499
1499
  (function(t, o) {
1500
- var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", p = "string", M = "major", h = "model", D = "name", y = "type", N = "vendor", _ = "version", T = "architecture", E = "console", S = "mobile", v = "tablet", R = "smarttv", Q = "wearable", $ = "embedded", Z = 500, Oe = "Amazon", ee = "Apple", ae = "ASUS", J = "BlackBerry", Me = "Browser", xe = "Chrome", ye = "Edge", me = "Firefox", ke = "Google", Ce = "Honor", le = "Huawei", te = "Lenovo", Ae = "LG", Te = "Microsoft", it = "Motorola", Pe = "Nvidia", se = "OnePlus", we = "Opera", Lt = "OPPO", Ut = "Samsung", Gt = "Sharp", zt = "Sony", _n = "Xiaomi", rn = "Zebra", dn = "Facebook", Gn = "Chromium OS", It = "Mac OS", Zt = " Browser", ar = function(je, be) {
1500
+ var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", M = "string", p = "major", h = "model", D = "name", y = "type", N = "vendor", _ = "version", T = "architecture", E = "console", S = "mobile", v = "tablet", R = "smarttv", Q = "wearable", $ = "embedded", Z = 500, Oe = "Amazon", ee = "Apple", ae = "ASUS", J = "BlackBerry", Me = "Browser", xe = "Chrome", ye = "Edge", me = "Firefox", ke = "Google", Ce = "Honor", le = "Huawei", te = "Lenovo", Ae = "LG", Te = "Microsoft", it = "Motorola", Pe = "Nvidia", se = "OnePlus", we = "Opera", Lt = "OPPO", Ut = "Samsung", Gt = "Sharp", zt = "Sony", _n = "Xiaomi", rn = "Zebra", dn = "Facebook", Gn = "Chromium OS", It = "Mac OS", Zt = " Browser", ar = function(je, be) {
1501
1501
  var Ne = {};
1502
1502
  for (var Ye in je)
1503
1503
  be[Ye] && be[Ye].length % 2 === 0 ? Ne[Ye] = be[Ye].concat(je[Ye]) : Ne[Ye] = je[Ye];
@@ -1507,13 +1507,13 @@ function IT() {
1507
1507
  be[je[Ne].toUpperCase()] = je[Ne];
1508
1508
  return be;
1509
1509
  }, mn = function(je, be) {
1510
- return typeof je === p ? on(be).indexOf(on(je)) !== -1 : !1;
1510
+ return typeof je === M ? on(be).indexOf(on(je)) !== -1 : !1;
1511
1511
  }, on = function(je) {
1512
1512
  return je.toLowerCase();
1513
1513
  }, j = function(je) {
1514
- return typeof je === p ? je.replace(/[^\d\.]/g, a).split(".")[0] : o;
1514
+ return typeof je === M ? je.replace(/[^\d\.]/g, a).split(".")[0] : o;
1515
1515
  }, U = function(je, be) {
1516
- if (typeof je === p)
1516
+ if (typeof je === M)
1517
1517
  return je = je.replace(/^\s\s*/, a), typeof be === c ? je : je.substring(0, Z);
1518
1518
  }, Y = function(je, be) {
1519
1519
  for (var Ne = 0, Ye, yt, ht, Ve, Se, St; Ne < be.length && !Se; ) {
@@ -1539,7 +1539,7 @@ function IT() {
1539
1539
  var Ne = typeof t !== c && t.navigator ? t.navigator : o, Ye = je || (Ne && Ne.userAgent ? Ne.userAgent : a), yt = Ne && Ne.userAgentData ? Ne.userAgentData : o, ht = be ? ar(pe, be) : pe, Ve = Ne && Ne.userAgent == Ye;
1540
1540
  return this.getBrowser = function() {
1541
1541
  var Se = {};
1542
- return Se[D] = o, Se[_] = o, Y.call(Se, Ye, ht.browser), Se[M] = j(Se[_]), Ve && Ne && Ne.brave && typeof Ne.brave.isBrave == d && (Se[D] = "Brave"), Se;
1542
+ return Se[D] = o, Se[_] = o, Y.call(Se, Ye, ht.browser), Se[p] = j(Se[_]), Ve && Ne && Ne.brave && typeof Ne.brave.isBrave == d && (Se[D] = "Brave"), Se;
1543
1543
  }, this.getCPU = function() {
1544
1544
  var Se = {};
1545
1545
  return Se[T] = o, Y.call(Se, Ye, ht.cpu), Se;
@@ -1557,10 +1557,10 @@ function IT() {
1557
1557
  }, this.getUA = function() {
1558
1558
  return Ye;
1559
1559
  }, this.setUA = function(Se) {
1560
- return Ye = typeof Se === p && Se.length > Z ? U(Se, Z) : Se, this;
1560
+ return Ye = typeof Se === M && Se.length > Z ? U(Se, Z) : Se, this;
1561
1561
  }, this.setUA(Ye), this;
1562
1562
  };
1563
- ve.VERSION = s, ve.BROWSER = mt([D, _, M]), ve.CPU = mt([T]), ve.DEVICE = mt([h, N, y, E, S, R, v, Q, $]), ve.ENGINE = ve.OS = mt([D, _]), r.exports && (e = r.exports = ve), e.UAParser = ve;
1563
+ ve.VERSION = s, ve.BROWSER = mt([D, _, p]), ve.CPU = mt([T]), ve.DEVICE = mt([h, N, y, E, S, R, v, Q, $]), ve.ENGINE = ve.OS = mt([D, _]), r.exports && (e = r.exports = ve), e.UAParser = ve;
1564
1564
  var Ee = typeof t !== c && (t.jQuery || t.Zepto);
1565
1565
  if (Ee && !Ee.ua) {
1566
1566
  var Ze = new ve();
@@ -1583,7 +1583,7 @@ function yT() {
1583
1583
  function r(P) {
1584
1584
  return P && typeof P == "object" && "default" in P ? P.default : P;
1585
1585
  }
1586
- var e = MT, t = r(e), o = IT(), s = new o(), a = s.getBrowser(), l = s.getCPU(), d = s.getDevice(), c = s.getEngine(), g = s.getOS(), p = s.getUA(), M = function(w) {
1586
+ var e = MT, t = r(e), o = IT(), s = new o(), a = s.getBrowser(), l = s.getCPU(), d = s.getDevice(), c = s.getEngine(), g = s.getOS(), M = s.getUA(), p = function(w) {
1587
1587
  return s.setUA(w);
1588
1588
  }, h = function(w) {
1589
1589
  if (!w) {
@@ -1610,8 +1610,8 @@ function yT() {
1610
1610
  device: d,
1611
1611
  engine: c,
1612
1612
  os: g,
1613
- ua: p,
1614
- setUa: M,
1613
+ ua: M,
1614
+ setUa: p,
1615
1615
  parseUserAgent: h
1616
1616
  });
1617
1617
  function y(P, w) {
@@ -1835,7 +1835,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1835
1835
  return Te;
1836
1836
  }
1837
1837
  }, Pe = function(w) {
1838
- return M(w);
1838
+ return p(w);
1839
1839
  }, se = function(w) {
1840
1840
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
1841
1841
  return w || x;
@@ -2085,7 +2085,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2085
2085
  isSamsungBrowser: Di(B)
2086
2086
  };
2087
2087
  }
2088
- var uo = mt(d), lo = j(d), co = on(d), fo = U(d), as = St(a) || Kt(), us = yt(a), Dr = ar(d) || Kt(), go = It(d), ho = Zt(d) || Kt(), Mo = mn(d), ls = mn(d), po = q(g), Io = Ee(g), Ar = Ze(g) || Kt(), cs = Ne(a), Xr = Ye(a), ds = Se(a), fs = ur(a), yo = Nr(a), No = je(g), Do = be(g), Ao = qi(a), gs = eo(a), hs = to(a), Ms = Y(d), ps = re(d), _o = no(c), mo = Ai(c), To = so(p), fn = ht(a) || lr(p), Is = Ve(a), Fe = ne(d), Jt = io(), _r = Kt(), Eo = oo(), _i = Jr(), mi = ro(), ys = lr(p), Hu = ht(a) && !lr(p), Na = pe(g), Ns = ve(g), Ds = Ni(a), qr = Di(a), Da = function(w) {
2088
+ var uo = mt(d), lo = j(d), co = on(d), fo = U(d), as = St(a) || Kt(), us = yt(a), Dr = ar(d) || Kt(), go = It(d), ho = Zt(d) || Kt(), Mo = mn(d), ls = mn(d), po = q(g), Io = Ee(g), Ar = Ze(g) || Kt(), cs = Ne(a), Xr = Ye(a), ds = Se(a), fs = ur(a), yo = Nr(a), No = je(g), Do = be(g), Ao = qi(a), gs = eo(a), hs = to(a), Ms = Y(d), ps = re(d), _o = no(c), mo = Ai(c), To = so(M), fn = ht(a) || lr(M), Is = Ve(a), Fe = ne(d), Jt = io(), _r = Kt(), Eo = oo(), _i = Jr(), mi = ro(), ys = lr(M), Hu = ht(a) && !lr(M), Na = pe(g), Ns = ve(g), Ds = Ni(a), qr = Di(a), Da = function(w) {
2089
2089
  if (!w || typeof w != "string") {
2090
2090
  console.error("No valid user agent string was provided");
2091
2091
  return;
@@ -2227,7 +2227,7 @@ var NT = Bs.exports, Nh;
2227
2227
  function DT() {
2228
2228
  return Nh || (Nh = 1, (function(r, e) {
2229
2229
  (function() {
2230
- var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", p = 500, M = "__lodash_placeholder__", h = 1, D = 2, y = 4, N = 1, _ = 2, T = 1, E = 2, S = 4, v = 8, R = 16, Q = 32, $ = 64, Z = 128, Oe = 256, ee = 512, ae = 30, J = "...", Me = 800, xe = 16, ye = 1, me = 2, ke = 3, Ce = 1 / 0, le = 9007199254740991, te = 17976931348623157e292, Ae = NaN, Te = 4294967295, it = Te - 1, Pe = Te >>> 1, se = [
2230
+ var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", M = 500, p = "__lodash_placeholder__", h = 1, D = 2, y = 4, N = 1, _ = 2, T = 1, E = 2, S = 4, v = 8, R = 16, Q = 32, $ = 64, Z = 128, Oe = 256, ee = 512, ae = 30, J = "...", Me = 800, xe = 16, ye = 1, me = 2, ke = 3, Ce = 1 / 0, le = 9007199254740991, te = 17976931348623157e292, Ae = NaN, Te = 4294967295, it = Te - 1, Pe = Te >>> 1, se = [
2231
2231
  ["ary", Z],
2232
2232
  ["bind", T],
2233
2233
  ["bindKey", E],
@@ -2718,7 +2718,7 @@ function DT() {
2718
2718
  function ni(z, V) {
2719
2719
  for (var F = -1, fe = z.length, Qe = 0, tt = []; ++F < fe; ) {
2720
2720
  var Rt = z[F];
2721
- (Rt === V || Rt === M) && (z[F] = M, tt[Qe++] = F);
2721
+ (Rt === V || Rt === p) && (z[F] = p, tt[Qe++] = F);
2722
2722
  }
2723
2723
  return tt;
2724
2724
  }
@@ -4355,7 +4355,7 @@ function DT() {
4355
4355
  }
4356
4356
  function Zy(n) {
4357
4357
  var i = lu(n, function(f) {
4358
- return u.size === p && u.clear(), f;
4358
+ return u.size === M && u.clear(), f;
4359
4359
  }), u = i.cache;
4360
4360
  return i;
4361
4361
  }
@@ -4367,9 +4367,9 @@ function DT() {
4367
4367
  var b = i[3];
4368
4368
  if (b) {
4369
4369
  var k = n[3];
4370
- n[3] = k ? Sf(k, b, i[4]) : b, n[4] = k ? ni(n[3], M) : i[4];
4370
+ n[3] = k ? Sf(k, b, i[4]) : b, n[4] = k ? ni(n[3], p) : i[4];
4371
4371
  }
4372
- return b = i[5], b && (k = n[5], n[5] = k ? Of(k, b, i[6]) : b, n[6] = k ? ni(n[5], M) : i[6]), b = i[7], b && (n[7] = b), f & Z && (n[8] = n[8] == null ? i[8] : qt(n[8], i[8])), n[9] == null && (n[9] = i[9]), n[0] = i[0], n[1] = I, n;
4372
+ return b = i[5], b && (k = n[5], n[5] = k ? Of(k, b, i[6]) : b, n[6] = k ? ni(n[5], p) : i[6]), b = i[7], b && (n[7] = b), f & Z && (n[8] = n[8] == null ? i[8] : qt(n[8], i[8])), n[9] == null && (n[9] = i[9]), n[0] = i[0], n[1] = I, n;
4373
4373
  }
4374
4374
  function Jy(n) {
4375
4375
  var i = [];
@@ -6178,7 +6178,7 @@ const _h = () => {
6178
6178
  osVersion: `${Dn.osVersion}`,
6179
6179
  hostAppId: _h(),
6180
6180
  host: _h(),
6181
- sdkVersion: "3.6.330-nightly".trim(),
6181
+ sdkVersion: "3.6.331-nightly".trim(),
6182
6182
  name: navigator.userAgent,
6183
6183
  deviceModel: `${Dn.osName}/${Dn.osVersion} ${Dn.browserName}/${Dn.fullBrowserVersion}`,
6184
6184
  hostAppVersion: `${Dn.browserName}/${Dn.fullBrowserVersion}`,
@@ -6700,14 +6700,14 @@ class Go {
6700
6700
  }, this.webSocket.onerror = () => {
6701
6701
  console.log("Socket error"), o();
6702
6702
  }, this.webSocket.onmessage = (g) => {
6703
- this.messageCallbacks.forEach((p) => p(g.data));
6703
+ this.messageCallbacks.forEach((M) => M(g.data));
6704
6704
  }, this.webSocket.onclose = (g) => {
6705
6705
  if (console.log("Socket connection closed", g), this.connected = !1, this.webSocket = null, !this.wasEverConnected || !this.lastConnectConfig) return;
6706
6706
  this.reconnectAttempt++;
6707
- const p = this.calculateReconnectDelay();
6707
+ const M = this.calculateReconnectDelay();
6708
6708
  setTimeout(() => {
6709
6709
  this.connect(this.lastConnectConfig, !0);
6710
- }, p);
6710
+ }, M);
6711
6711
  };
6712
6712
  }));
6713
6713
  }
@@ -6848,9 +6848,9 @@ function lE(r) {
6848
6848
  for (const a of r.matchAll(e)) {
6849
6849
  const [l, d, c] = a, g = (s = a.index) != null ? s : 0;
6850
6850
  g > o && t.push(r.slice(o, g));
6851
- const p = c.startsWith("http") ? c : `https://${c}`;
6851
+ const M = c.startsWith("http") ? c : `https://${c}`;
6852
6852
  t.push(
6853
- /* @__PURE__ */ C("a", { href: p, target: "_blank", rel: "noopener noreferrer", children: d }, g)
6853
+ /* @__PURE__ */ C("a", { href: M, target: "_blank", rel: "noopener noreferrer", children: d }, g)
6854
6854
  ), o = g + l.length;
6855
6855
  }
6856
6856
  return o < r.length && t.push(r.slice(o)), t;
@@ -7043,8 +7043,8 @@ const pE = (r, e) => r.reduce((t, o) => {
7043
7043
  const {
7044
7044
  imageId: c,
7045
7045
  imageURL: g,
7046
- base64: p,
7047
- contentMode: M = Jo.ASPECT_FILL,
7046
+ base64: M,
7047
+ contentMode: p = Jo.ASPECT_FILL,
7048
7048
  cornerRadius: h,
7049
7049
  backgroundColor: D
7050
7050
  } = d, [y, N] = wt(!0), _ = y && g, T = () => {
@@ -7052,17 +7052,17 @@ const pE = (r, e) => r.reduce((t, o) => {
7052
7052
  }, E = () => {
7053
7053
  l((R) => R + 1);
7054
7054
  }, S = e ? { width: "100%", height: "100%" } : { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" };
7055
- if (p)
7055
+ if (M)
7056
7056
  return /* @__PURE__ */ C(
7057
7057
  "img",
7058
7058
  {
7059
7059
  style: ue(L({}, S), {
7060
- objectFit: oa(M),
7060
+ objectFit: oa(p),
7061
7061
  borderRadius: h,
7062
7062
  backgroundColor: Ue(D) || "transparent",
7063
7063
  display: "block"
7064
7064
  }),
7065
- src: p,
7065
+ src: M,
7066
7066
  onError: E
7067
7067
  }
7068
7068
  );
@@ -7072,7 +7072,7 @@ const pE = (r, e) => r.reduce((t, o) => {
7072
7072
  pd,
7073
7073
  {
7074
7074
  type: R,
7075
- contentMode: M,
7075
+ contentMode: p,
7076
7076
  cornerRadius: h,
7077
7077
  backgroundColor: Ue(D) || "transparent",
7078
7078
  isFullSize: e
@@ -7095,7 +7095,7 @@ const pE = (r, e) => r.reduce((t, o) => {
7095
7095
  "img",
7096
7096
  {
7097
7097
  style: ue(L({}, S), {
7098
- objectFit: oa(M),
7098
+ objectFit: oa(p),
7099
7099
  borderRadius: h,
7100
7100
  backgroundColor: Ue(D) || "transparent",
7101
7101
  display: _ ? "none" : "block"
@@ -7140,7 +7140,7 @@ const pE = (r, e) => r.reduce((t, o) => {
7140
7140
  highlightColor: l
7141
7141
  }) => {
7142
7142
  var h;
7143
- const [d, c] = wt(!1), g = d && l ? l : s, { perform: p } = Hr();
7143
+ const [d, c] = wt(!1), g = d && l ? l : s, { perform: M } = Hr();
7144
7144
  return /* @__PURE__ */ C(
7145
7145
  "button",
7146
7146
  {
@@ -7149,7 +7149,7 @@ const pE = (r, e) => r.reduce((t, o) => {
7149
7149
  "data-test": r,
7150
7150
  onClick: () => {
7151
7151
  const D = JSON.parse(JSON.stringify(e));
7152
- Bu(D), p(D, fa.DATA);
7152
+ Bu(D), M(D, fa.DATA);
7153
7153
  },
7154
7154
  className: "hover-button",
7155
7155
  style: ue(L(L({}, DE), a && { borderRadius: a }), {
@@ -7201,17 +7201,17 @@ const pE = (r, e) => r.reduce((t, o) => {
7201
7201
  paddings: d,
7202
7202
  fontWeight: c = Pc.NORMAL,
7203
7203
  htmlFor: g,
7204
- isGenericTemplate: p = !1
7204
+ isGenericTemplate: M = !1
7205
7205
  }) => {
7206
- const M = p ? pr.START : pr.LEFT, h = s || M, D = p ? gE(h) : XM(h), y = L(ue(L({
7206
+ const p = M ? pr.START : pr.LEFT, h = s || p, D = M ? gE(h) : XM(h), y = L(ue(L({
7207
7207
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
7208
7208
  fontSize: t
7209
- }, p && { fontWeight: dE(c) }), {
7209
+ }, M && { fontWeight: dE(c) }), {
7210
7210
  color: Ue(o) || "#000000",
7211
7211
  textAlign: D,
7212
7212
  backgroundColor: Ue(a) || "transparent",
7213
7213
  borderRadius: l
7214
- }), p && ga(d)), N = typeof r == "string" && r.trim() && KM(r);
7214
+ }), M && ga(d)), N = typeof r == "string" && r.trim() && KM(r);
7215
7215
  return g ? /* @__PURE__ */ C("label", { "data-ui": "gui-label", part: "gui-label", style: y, htmlFor: g, children: N }) : /* @__PURE__ */ C("div", { "data-ui": "gui-label", part: "gui-label", style: y, children: N });
7216
7216
  }, aa = ({
7217
7217
  title: r,
@@ -7224,8 +7224,8 @@ const pE = (r, e) => r.reduce((t, o) => {
7224
7224
  borderColor: d,
7225
7225
  borderWidth: c,
7226
7226
  type: g = "RESPONSE_BODY",
7227
- paddings: p,
7228
- isGenericTemplate: M = !1,
7227
+ paddings: M,
7228
+ isGenericTemplate: p = !1,
7229
7229
  onClick: h
7230
7230
  }) => {
7231
7231
  var v, R;
@@ -7233,7 +7233,7 @@ const pE = (r, e) => r.reduce((t, o) => {
7233
7233
  if (h && h(Q), g !== "RESPONSE_BODY") return;
7234
7234
  const $ = JSON.parse(JSON.stringify(t));
7235
7235
  Bu($), _($, fa.DATA);
7236
- }, E = M ? L({}, ga(p)) : {
7236
+ }, E = p ? L({}, ga(M)) : {
7237
7237
  padding: "10px 16px",
7238
7238
  height: "50px"
7239
7239
  }, S = L({
@@ -7721,7 +7721,7 @@ function nr(r, e, t = /* @__PURE__ */ new WeakSet()) {
7721
7721
  return !0;
7722
7722
  }
7723
7723
  function RE(r) {
7724
- const e = Dd(), { control: t = e, name: o, defaultValue: s, disabled: a, exact: l, compute: d } = r || {}, c = he.useRef(s), g = he.useRef(d), p = he.useRef(void 0), M = he.useRef(t), h = he.useRef(o);
7724
+ const e = Dd(), { control: t = e, name: o, defaultValue: s, disabled: a, exact: l, compute: d } = r || {}, c = he.useRef(s), g = he.useRef(d), M = he.useRef(void 0), p = he.useRef(t), h = he.useRef(o);
7725
7725
  g.current = d;
7726
7726
  const [D, y] = he.useState(() => {
7727
7727
  const v = t._getWatch(o, c.current);
@@ -7734,12 +7734,12 @@ function RE(r) {
7734
7734
  const R = Fc(o, t._names, v || t._formValues, !1, c.current);
7735
7735
  if (g.current) {
7736
7736
  const Q = g.current(R);
7737
- nr(Q, p.current) || (y(Q), p.current = Q);
7737
+ nr(Q, M.current) || (y(Q), M.current = Q);
7738
7738
  } else
7739
7739
  y(R);
7740
7740
  }
7741
7741
  }, [t._formValues, t._names, a, o]);
7742
- Ad(() => ((M.current !== t || !nr(h.current, o)) && (M.current = t, h.current = o, _()), t._subscribe({
7742
+ Ad(() => ((p.current !== t || !nr(h.current, o)) && (p.current = t, h.current = o, _()), t._subscribe({
7743
7743
  name: o,
7744
7744
  formState: {
7745
7745
  values: !0
@@ -7749,7 +7749,7 @@ function RE(r) {
7749
7749
  _(v.values);
7750
7750
  }
7751
7751
  })), [t, l, o, _]), he.useEffect(() => t._removeUnmounted());
7752
- const T = M.current !== t, E = h.current, S = he.useMemo(() => {
7752
+ const T = p.current !== t, E = h.current, S = he.useMemo(() => {
7753
7753
  if (a)
7754
7754
  return null;
7755
7755
  const v = !T && !nr(E, o);
@@ -7758,41 +7758,41 @@ function RE(r) {
7758
7758
  return S !== null ? S : D;
7759
7759
  }
7760
7760
  function kE(r) {
7761
- const e = Dd(), { name: t, disabled: o, control: s = e, shouldUnregister: a, defaultValue: l, exact: d = !0 } = r, c = np(s._names.array, t), g = he.useMemo(() => oe(s._formValues, t, oe(s._defaultValues, t, l)), [s, t, l]), p = RE({
7761
+ const e = Dd(), { name: t, disabled: o, control: s = e, shouldUnregister: a, defaultValue: l, exact: d = !0 } = r, c = np(s._names.array, t), g = he.useMemo(() => oe(s._formValues, t, oe(s._defaultValues, t, l)), [s, t, l]), M = RE({
7762
7762
  control: s,
7763
7763
  name: t,
7764
7764
  defaultValue: g,
7765
7765
  exact: d
7766
- }), M = zE({
7766
+ }), p = zE({
7767
7767
  control: s,
7768
7768
  name: t,
7769
7769
  exact: d
7770
7770
  }), h = he.useRef(r), D = he.useRef(void 0), y = he.useRef(s.register(t, L(ue(L({}, r.rules), {
7771
- value: p
7771
+ value: M
7772
7772
  }), bn(r.disabled) ? { disabled: r.disabled } : {})));
7773
7773
  h.current = r;
7774
7774
  const N = he.useMemo(() => Object.defineProperties({}, {
7775
7775
  invalid: {
7776
7776
  enumerable: !0,
7777
- get: () => !!oe(M.errors, t)
7777
+ get: () => !!oe(p.errors, t)
7778
7778
  },
7779
7779
  isDirty: {
7780
7780
  enumerable: !0,
7781
- get: () => !!oe(M.dirtyFields, t)
7781
+ get: () => !!oe(p.dirtyFields, t)
7782
7782
  },
7783
7783
  isTouched: {
7784
7784
  enumerable: !0,
7785
- get: () => !!oe(M.touchedFields, t)
7785
+ get: () => !!oe(p.touchedFields, t)
7786
7786
  },
7787
7787
  isValidating: {
7788
7788
  enumerable: !0,
7789
- get: () => !!oe(M.validatingFields, t)
7789
+ get: () => !!oe(p.validatingFields, t)
7790
7790
  },
7791
7791
  error: {
7792
7792
  enumerable: !0,
7793
- get: () => oe(M.errors, t)
7793
+ get: () => oe(p.errors, t)
7794
7794
  }
7795
- }), [M, t]), _ = he.useCallback((v) => y.current.onChange({
7795
+ }), [p, t]), _ = he.useCallback((v) => y.current.onChange({
7796
7796
  target: {
7797
7797
  value: tp(v),
7798
7798
  name: t
@@ -7814,12 +7814,12 @@ function kE(r) {
7814
7814
  });
7815
7815
  }, [s._fields, t]), S = he.useMemo(() => ue(L({
7816
7816
  name: t,
7817
- value: p
7818
- }, bn(o) || M.disabled ? { disabled: M.disabled || o } : {}), {
7817
+ value: M
7818
+ }, bn(o) || p.disabled ? { disabled: p.disabled || o } : {}), {
7819
7819
  onChange: _,
7820
7820
  onBlur: T,
7821
7821
  ref: E
7822
- }), [t, o, M.disabled, _, T, E, p]);
7822
+ }), [t, o, p.disabled, _, T, E, M]);
7823
7823
  return he.useEffect(() => {
7824
7824
  const v = s._options.shouldUnregister || a, R = D.current;
7825
7825
  R && R !== t && !c && s.unregister(R), s.register(t, L(L({}, h.current.rules), bn(h.current.disabled) ? { disabled: h.current.disabled } : {}));
@@ -7841,9 +7841,9 @@ function kE(r) {
7841
7841
  });
7842
7842
  }, [o, t, s]), he.useMemo(() => ({
7843
7843
  field: S,
7844
- formState: M,
7844
+ formState: p,
7845
7845
  fieldState: N
7846
- }), [S, M, N]);
7846
+ }), [S, p, N]);
7847
7847
  }
7848
7848
  const op = (r) => r.render(kE(r)), UE = he.createContext(null);
7849
7849
  UE.displayName = "HookFormContext";
@@ -8050,7 +8050,7 @@ var Yo = (r) => bt(r) && !zu(r) ? r : {
8050
8050
  value: r,
8051
8051
  message: ""
8052
8052
  }, Uh = (r, e, t, o, s, a) => X(null, null, function* () {
8053
- const { ref: l, refs: d, required: c, maxLength: g, minLength: p, min: M, max: h, pattern: D, validate: y, name: N, valueAsNumber: _, mount: T } = r._f, E = oe(t, N);
8053
+ const { ref: l, refs: d, required: c, maxLength: g, minLength: M, min: p, max: h, pattern: D, validate: y, name: N, valueAsNumber: _, mount: T } = r._f, E = oe(t, N);
8054
8054
  if (!T || e.has(N))
8055
8055
  return {};
8056
8056
  const S = d ? d[0] : l, v = (J) => {
@@ -8072,9 +8072,9 @@ var Yo = (r) => bt(r) && !zu(r) ? r : {
8072
8072
  }, ee(jr.required, Me)), !o))
8073
8073
  return v(Me), R;
8074
8074
  }
8075
- if (!Oe && (!Nn(M) || !Nn(h))) {
8075
+ if (!Oe && (!Nn(p) || !Nn(h))) {
8076
8076
  let J, Me;
8077
- const xe = Yo(h), ye = Yo(M);
8077
+ const xe = Yo(h), ye = Yo(p);
8078
8078
  if (!Nn(E) && !isNaN(E)) {
8079
8079
  const me = l.valueAsNumber || E && +E;
8080
8080
  Nn(xe.value) || (J = me > xe.value), Nn(ye.value) || (Me = me < ye.value);
@@ -8085,8 +8085,8 @@ var Yo = (r) => bt(r) && !zu(r) ? r : {
8085
8085
  if ((J || Me) && (ae(!!J, xe.message, ye.message, jr.max, jr.min), !o))
8086
8086
  return v(R[N].message), R;
8087
8087
  }
8088
- if ((g || p) && !Oe && (Ln(E) || a && Array.isArray(E))) {
8089
- const J = Yo(g), Me = Yo(p), xe = !Nn(J.value) && E.length > +J.value, ye = !Nn(Me.value) && E.length < +Me.value;
8088
+ if ((g || M) && !Oe && (Ln(E) || a && Array.isArray(E))) {
8089
+ const J = Yo(g), Me = Yo(M), xe = !Nn(J.value) && E.length > +J.value, ye = !Nn(Me.value) && E.length < +Me.value;
8090
8090
  if ((xe || ye) && (ae(xe, J.message, Me.message), !o))
8091
8091
  return v(R[N].message), R;
8092
8092
  }
@@ -8153,7 +8153,7 @@ function qE(r = {}) {
8153
8153
  array: /* @__PURE__ */ new Set(),
8154
8154
  watch: /* @__PURE__ */ new Set()
8155
8155
  }, c, g = 0;
8156
- const p = {
8156
+ const M = {
8157
8157
  isDirty: !1,
8158
8158
  dirtyFields: !1,
8159
8159
  validatingFields: !1,
@@ -8161,22 +8161,22 @@ function qE(r = {}) {
8161
8161
  isValidating: !1,
8162
8162
  isValid: !1,
8163
8163
  errors: !1
8164
- }, M = L({}, p);
8165
- let h = L({}, M);
8164
+ }, p = L({}, M);
8165
+ let h = L({}, p);
8166
8166
  const D = {
8167
8167
  array: Sh(),
8168
8168
  state: Sh()
8169
8169
  }, y = e.criteriaMode === tr.all, N = (j) => (U) => {
8170
8170
  clearTimeout(g), g = setTimeout(j, U);
8171
8171
  }, _ = (j) => X(null, null, function* () {
8172
- if (!l.keepIsValid && !e.disabled && (M.isValid || h.isValid || j)) {
8172
+ if (!l.keepIsValid && !e.disabled && (p.isValid || h.isValid || j)) {
8173
8173
  let U;
8174
8174
  e.resolver ? (U = ln((yield Z()).errors), T()) : U = yield ee(o, !0), U !== t.isValid && D.state.next({
8175
8175
  isValid: U
8176
8176
  });
8177
8177
  }
8178
8178
  }), T = (j, U) => {
8179
- !e.disabled && (M.isValidating || M.validatingFields || h.isValidating || h.validatingFields) && ((j || Array.from(d.mount)).forEach((Y) => {
8179
+ !e.disabled && (p.isValidating || p.validatingFields || h.isValidating || h.validatingFields) && ((j || Array.from(d.mount)).forEach((Y) => {
8180
8180
  Y && (U ? lt(t.validatingFields, Y, U) : jt(t.validatingFields, Y));
8181
8181
  }), D.state.next({
8182
8182
  validatingFields: t.validatingFields,
@@ -8192,11 +8192,11 @@ function qE(r = {}) {
8192
8192
  const pe = Y(oe(t.errors, j), re.argA, re.argB);
8193
8193
  ne && lt(t.errors, j, pe), KE(t.errors, j);
8194
8194
  }
8195
- if ((M.touchedFields || h.touchedFields) && q && Array.isArray(oe(t.touchedFields, j))) {
8195
+ if ((p.touchedFields || h.touchedFields) && q && Array.isArray(oe(t.touchedFields, j))) {
8196
8196
  const pe = Y(oe(t.touchedFields, j), re.argA, re.argB);
8197
8197
  ne && lt(t.touchedFields, j, pe);
8198
8198
  }
8199
- (M.dirtyFields || h.dirtyFields) && (t.dirtyFields = $o(s, a)), D.state.next({
8199
+ (p.dirtyFields || h.dirtyFields) && (t.dirtyFields = $o(s, a)), D.state.next({
8200
8200
  name: j,
8201
8201
  isDirty: J(j, U),
8202
8202
  dirtyFields: t.dirtyFields,
@@ -8227,19 +8227,19 @@ function qE(r = {}) {
8227
8227
  };
8228
8228
  if (!e.disabled) {
8229
8229
  if (!Y || re) {
8230
- (M.isDirty || h.isDirty) && (pe = t.isDirty, t.isDirty = ve.isDirty = J(), q = pe !== ve.isDirty);
8230
+ (p.isDirty || h.isDirty) && (pe = t.isDirty, t.isDirty = ve.isDirty = J(), q = pe !== ve.isDirty);
8231
8231
  const Ee = nr(oe(s, j), U);
8232
- pe = !!oe(t.dirtyFields, j), Ee ? jt(t.dirtyFields, j) : lt(t.dirtyFields, j, !0), ve.dirtyFields = t.dirtyFields, q = q || (M.dirtyFields || h.dirtyFields) && pe !== !Ee;
8232
+ pe = !!oe(t.dirtyFields, j), Ee ? jt(t.dirtyFields, j) : lt(t.dirtyFields, j, !0), ve.dirtyFields = t.dirtyFields, q = q || (p.dirtyFields || h.dirtyFields) && pe !== !Ee;
8233
8233
  }
8234
8234
  if (Y) {
8235
8235
  const Ee = oe(t.touchedFields, j);
8236
- Ee || (lt(t.touchedFields, j, Y), ve.touchedFields = t.touchedFields, q = q || (M.touchedFields || h.touchedFields) && Ee !== Y);
8236
+ Ee || (lt(t.touchedFields, j, Y), ve.touchedFields = t.touchedFields, q = q || (p.touchedFields || h.touchedFields) && Ee !== Y);
8237
8237
  }
8238
8238
  q && ne && D.state.next(ve);
8239
8239
  }
8240
8240
  return q ? ve : {};
8241
8241
  }, $ = (j, U, Y, re) => {
8242
- const ne = oe(t.errors, j), q = (M.isValid || h.isValid) && bn(U) && t.isValid !== U;
8242
+ const ne = oe(t.errors, j), q = (p.isValid || h.isValid) && bn(U) && t.isValid !== U;
8243
8243
  if (e.delayError && Y ? (c = N(() => S(j, Y)), c(e.delayError)) : (clearTimeout(g), c = null, Y ? lt(t.errors, j, Y) : jt(t.errors, j)), (Y ? !nr(ne, Y) : ne) || !ln(re) || q) {
8244
8244
  const pe = ue(L(L({}, re), q && bn(U) ? { isValid: U } : {}), {
8245
8245
  errors: t.errors,
@@ -8268,9 +8268,9 @@ function qE(r = {}) {
8268
8268
  const pe = Ee, { _f: Ze } = pe, je = li(pe, ["_f"]);
8269
8269
  if (Ze) {
8270
8270
  const be = d.array.has(Ze.name), Ne = Ee._f && WE(Ee._f);
8271
- Ne && M.validatingFields && T([Ze.name], !0);
8271
+ Ne && p.validatingFields && T([Ze.name], !0);
8272
8272
  const Ye = yield Uh(Ee, d.disabled, a, y, e.shouldUseNativeValidation && !U, be);
8273
- if (Ne && M.validatingFields && T([Ze.name]), Ye[Ze.name] && (Y.valid = !1, U || r.shouldUseNativeValidation))
8273
+ if (Ne && p.validatingFields && T([Ze.name]), Ye[Ze.name] && (Y.valid = !1, U || r.shouldUseNativeValidation))
8274
8274
  break;
8275
8275
  !U && (oe(Ye, Ze.name) ? be ? JE(t.errors, Ye, Ze.name) : lt(t.errors, Ze.name, Ye[Ze.name]) : jt(t.errors, Ze.name));
8276
8276
  }
@@ -8309,7 +8309,7 @@ function qE(r = {}) {
8309
8309
  lt(a, j, q), ne ? (D.array.next({
8310
8310
  name: j,
8311
8311
  values: Ct(a)
8312
- }), (M.isDirty || M.dirtyFields || h.isDirty || h.dirtyFields) && Y.shouldDirty && D.state.next({
8312
+ }), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) && Y.shouldDirty && D.state.next({
8313
8313
  name: j,
8314
8314
  dirtyFields: $o(s, a),
8315
8315
  isDirty: J(j, q)
@@ -8337,7 +8337,7 @@ function qE(r = {}) {
8337
8337
  type: j.type,
8338
8338
  values: Ct(a)
8339
8339
  }), Ne)
8340
- return (M.isValid || h.isValid) && (e.mode === "onBlur" ? be && _() : be || _()), ht && D.state.next(L({ name: Y }, Ye ? {} : yt));
8340
+ return (p.isValid || h.isValid) && (e.mode === "onBlur" ? be && _() : be || _()), ht && D.state.next(L({ name: Y }, Ye ? {} : yt));
8341
8341
  if (!be && Ye && D.state.next(L({}, t)), e.resolver) {
8342
8342
  const { errors: Ve } = yield Z([Y]);
8343
8343
  if (T([Y]), q(je), re) {
@@ -8345,7 +8345,7 @@ function qE(r = {}) {
8345
8345
  Ee = St.error, Y = St.name, Ze = ln(Ve);
8346
8346
  }
8347
8347
  } else
8348
- T([Y], !0), Ee = (yield Uh(ne, d.disabled, a, y, e.shouldUseNativeValidation))[Y], T([Y]), q(je), re && (Ee ? Ze = !1 : (M.isValid || h.isValid) && (Ze = yield ee(o, !0)));
8348
+ T([Y], !0), Ee = (yield Uh(ne, d.disabled, a, y, e.shouldUseNativeValidation))[Y], T([Y]), q(je), re && (Ee ? Ze = !1 : (p.isValid || h.isValid) && (Ze = yield ee(o, !0)));
8349
8349
  re && (ne._f.deps && (!Array.isArray(ne._f.deps) || ne._f.deps.length > 0) && te(ne._f.deps), $(Y, Ze, Ee, yt));
8350
8350
  }
8351
8351
  }), le = (j, U) => {
@@ -8361,7 +8361,7 @@ function qE(r = {}) {
8361
8361
  const Ee = oe(o, ve);
8362
8362
  return yield ee(Ee && Ee._f ? { [ve]: Ee } : Ee);
8363
8363
  })))).every(Boolean), !(!q && !t.isValid) && _()) : q = ne = yield ee(o);
8364
- return D.state.next(ue(L(L({}, !Ln(j) || (M.isValid || h.isValid) && ne !== t.isValid ? {} : { name: j }), e.resolver || !j ? { isValid: ne } : {}), {
8364
+ return D.state.next(ue(L(L({}, !Ln(j) || (p.isValid || h.isValid) && ne !== t.isValid ? {} : { name: j }), e.resolver || !j ? { isValid: ne } : {}), {
8365
8365
  errors: t.errors
8366
8366
  })), U.shouldFocus && !q && qs(o, le, j ? pe : d.mount), q;
8367
8367
  }), Ae = (j, U) => {
@@ -8390,14 +8390,14 @@ function qE(r = {}) {
8390
8390
  next: (Y) => "values" in Y && j(Me(void 0, U), Y)
8391
8391
  }) : Me(j, U, !0), we = (j) => D.state.subscribe({
8392
8392
  next: (U) => {
8393
- GE(j.name, U.name, j.exact) && HE(U, j.formState || M, mt, j.reRenderRoot) && j.callback(ue(L(L({
8393
+ GE(j.name, U.name, j.exact) && HE(U, j.formState || p, mt, j.reRenderRoot) && j.callback(ue(L(L({
8394
8394
  values: L({}, a)
8395
8395
  }, t), U), {
8396
8396
  defaultValues: s
8397
8397
  }));
8398
8398
  }
8399
8399
  }).unsubscribe, Lt = (j) => (l.mount = !0, h = L(L({}, h), j.formState), we(ue(L({}, j), {
8400
- formState: L(L({}, p), j.formState)
8400
+ formState: L(L({}, M), j.formState)
8401
8401
  }))), Ut = (j, U = {}) => {
8402
8402
  for (const Y of j ? Xs(j) : d.mount)
8403
8403
  d.mount.delete(Y), d.array.delete(Y), U.keepValue || (jt(o, Y), jt(a, Y)), !U.keepError && jt(t.errors, Y), !U.keepDirty && jt(t.dirtyFields, Y), !U.keepTouched && jt(t.touchedFields, Y), !U.keepIsValidating && jt(t.validatingFields, Y), !e.shouldUnregister && !U.keepDefaultValue && jt(s, Y);
@@ -8492,7 +8492,7 @@ function qE(r = {}) {
8492
8492
  }), re)
8493
8493
  throw re;
8494
8494
  }), Gn = (j, U = {}) => {
8495
- oe(o, j) && (dt(U.defaultValue) ? ke(j, Ct(oe(s, j))) : (ke(j, U.defaultValue), lt(s, j, Ct(U.defaultValue))), U.keepTouched || jt(t.touchedFields, j), U.keepDirty || (jt(t.dirtyFields, j), t.isDirty = U.defaultValue ? J(j, Ct(oe(s, j))) : J()), U.keepError || (jt(t.errors, j), M.isValid && _()), D.state.next(L({}, t)));
8495
+ oe(o, j) && (dt(U.defaultValue) ? ke(j, Ct(oe(s, j))) : (ke(j, U.defaultValue), lt(s, j, Ct(U.defaultValue))), U.keepTouched || jt(t.touchedFields, j), U.keepDirty || (jt(t.dirtyFields, j), t.isDirty = U.defaultValue ? J(j, Ct(oe(s, j))) : J()), U.keepError || (jt(t.errors, j), p.isValid && _()), D.state.next(L({}, t)));
8496
8496
  }, It = (j, U = {}) => {
8497
8497
  const Y = j ? Ct(j) : s, re = Ct(Y), ne = ln(j), q = ne ? s : re;
8498
8498
  if (U.keepDefaultValues || (s = Y), !U.keepValues) {
@@ -8540,7 +8540,7 @@ function qE(r = {}) {
8540
8540
  watch: /* @__PURE__ */ new Set(),
8541
8541
  watchAll: !1,
8542
8542
  focus: ""
8543
- }, l.mount = !M.isValid || !!U.keepIsValid || !!U.keepDirtyValues || !e.shouldUnregister && !ln(q), l.watch = !!e.shouldUnregister, l.keepIsValid = !!U.keepIsValid, l.action = !1, U.keepErrors || (t.errors = {}), D.state.next({
8543
+ }, l.mount = !p.isValid || !!U.keepIsValid || !!U.keepDirtyValues || !e.shouldUnregister && !ln(q), l.watch = !!e.shouldUnregister, l.keepIsValid = !!U.keepIsValid, l.action = !1, U.keepErrors || (t.errors = {}), D.state.next({
8544
8544
  submitCount: U.keepSubmitCount ? t.submitCount : 0,
8545
8545
  isDirty: ne ? !1 : U.keepDirty ? t.isDirty : !!(U.keepDefaultValues && !nr(j, s)),
8546
8546
  isSubmitted: U.keepIsSubmitted ? t.isSubmitted : !1,
@@ -8588,7 +8588,7 @@ function qE(r = {}) {
8588
8588
  _removeUnmounted: ae,
8589
8589
  _disableForm: rn,
8590
8590
  _subjects: D,
8591
- _proxyFormState: M,
8591
+ _proxyFormState: p,
8592
8592
  get _fields() {
8593
8593
  return o;
8594
8594
  },
@@ -8742,8 +8742,8 @@ const os = (r, e) => {
8742
8742
  style: {
8743
8743
  padding: "5px 8px",
8744
8744
  background: ((c, g) => {
8745
- var p, M, h, D, y, N, _, T;
8746
- if (!c && !g) return (M = Ue((p = e.layout) == null ? void 0 : p.backgroundColor)) != null ? M : "transparent";
8745
+ var M, p, h, D, y, N, _, T;
8746
+ if (!c && !g) return (p = Ue((M = e.layout) == null ? void 0 : M.backgroundColor)) != null ? p : "transparent";
8747
8747
  if (!c && g) return (D = Ue((h = e.layoutSelected) == null ? void 0 : h.backgroundColor)) != null ? D : "transparent";
8748
8748
  if (c && !g) return (N = Ue((y = e.layout) == null ? void 0 : y.highlightColor)) != null ? N : "#F4F4F4";
8749
8749
  if (c && g) return (T = Ue((_ = e.layoutSelected) == null ? void 0 : _.highlightColor)) != null ? T : "#F4F4F4";
@@ -8787,8 +8787,8 @@ const os = (r, e) => {
8787
8787
  closeMenuOnSelect: d = !0,
8788
8788
  onBlur: c,
8789
8789
  parentElementRef: g,
8790
- controlLayout: p,
8791
- pickerLayout: M
8790
+ controlLayout: M,
8791
+ pickerLayout: p
8792
8792
  }) => {
8793
8793
  var J, Me, xe, ye, me, ke, Ce, le;
8794
8794
  const [h, D] = wt(!1), [y, N] = wt(s), [_, T] = wt("down"), [E, S] = wt(null), v = ir(null), R = ir(null);
@@ -8811,17 +8811,17 @@ const os = (r, e) => {
8811
8811
  Ae.stopPropagation(), N((Te) => Te.filter((it) => it.value !== te.value));
8812
8812
  }, Oe = (te) => {
8813
8813
  te.stopPropagation(), N([]);
8814
- }, ee = (J = Ue(p == null ? void 0 : p.borderColor)) != null ? J : "#D9D9D9", ae = (Me = Ue(p == null ? void 0 : p.highlightBorderColor)) != null ? Me : "#7E57C5";
8814
+ }, ee = (J = Ue(M == null ? void 0 : M.borderColor)) != null ? J : "#D9D9D9", ae = (Me = Ue(M == null ? void 0 : M.highlightBorderColor)) != null ? Me : "#7E57C5";
8815
8815
  return /* @__PURE__ */ C("div", { "data-ui": "gui-custom-select", ref: v, children: /* @__PURE__ */ C(
8816
8816
  "div",
8817
8817
  {
8818
8818
  "data-ui": "gui-select-name-" + r,
8819
8819
  style: {
8820
- backgroundColor: Ue(p == null ? void 0 : p.backgroundColor),
8820
+ backgroundColor: Ue(M == null ? void 0 : M.backgroundColor),
8821
8821
  borderStyle: "solid",
8822
8822
  borderColor: h ? ae : ee,
8823
- borderWidth: (xe = p == null ? void 0 : p.borderWidth) != null ? xe : 1,
8824
- borderRadius: (ye = p == null ? void 0 : p.cornerRadius) != null ? ye : 8,
8823
+ borderWidth: (xe = M == null ? void 0 : M.borderWidth) != null ? xe : 1,
8824
+ borderRadius: (ye = M == null ? void 0 : M.cornerRadius) != null ? ye : 8,
8825
8825
  minHeight: "41px",
8826
8826
  position: "relative",
8827
8827
  zIndex: "auto",
@@ -8865,7 +8865,7 @@ const os = (r, e) => {
8865
8865
  y.map((te) => {
8866
8866
  var Ae, Te, it, Pe, se;
8867
8867
  if (t) {
8868
- const we = p == null ? void 0 : p.chip;
8868
+ const we = M == null ? void 0 : M.chip;
8869
8869
  return /* @__PURE__ */ C(
8870
8870
  "div",
8871
8871
  {
@@ -8905,7 +8905,7 @@ const os = (r, e) => {
8905
8905
  te.value
8906
8906
  );
8907
8907
  } else {
8908
- const we = p == null ? void 0 : p.title;
8908
+ const we = M == null ? void 0 : M.title;
8909
8909
  return /* @__PURE__ */ C(
8910
8910
  "div",
8911
8911
  {
@@ -8934,7 +8934,7 @@ const os = (r, e) => {
8934
8934
  zIndex: 1
8935
8935
  },
8936
8936
  onClick: Oe,
8937
- children: p != null && p.clearButton ? /* @__PURE__ */ C(Yt, L({}, p.clearButton)) : /* @__PURE__ */ C(Yt, { imageId: "cross" })
8937
+ children: M != null && M.clearButton ? /* @__PURE__ */ C(Yt, L({}, M.clearButton)) : /* @__PURE__ */ C(Yt, { imageId: "cross" })
8938
8938
  }
8939
8939
  ) : null,
8940
8940
  o ? /* @__PURE__ */ C(
@@ -8947,7 +8947,7 @@ const os = (r, e) => {
8947
8947
  }
8948
8948
  }
8949
8949
  ) : null,
8950
- /* @__PURE__ */ C(tw, { isOpen: h, image: p == null ? void 0 : p.expandButton }),
8950
+ /* @__PURE__ */ C(tw, { isOpen: h, image: M == null ? void 0 : M.expandButton }),
8951
8951
  h && /* @__PURE__ */ C(
8952
8952
  "div",
8953
8953
  {
@@ -8959,11 +8959,11 @@ const os = (r, e) => {
8959
8959
  insetInline: 0,
8960
8960
  border: "1px solid #e8e8e8",
8961
8961
  width: "100%",
8962
- backgroundColor: (me = Ue(M == null ? void 0 : M.backgroundColor)) != null ? me : "#ffffff",
8963
- borderRadius: (ke = M == null ? void 0 : M.cornerRadius) != null ? ke : 8,
8962
+ backgroundColor: (me = Ue(p == null ? void 0 : p.backgroundColor)) != null ? me : "#ffffff",
8963
+ borderRadius: (ke = p == null ? void 0 : p.cornerRadius) != null ? ke : 8,
8964
8964
  borderStyle: "solid",
8965
- borderColor: (Ce = Ue(M == null ? void 0 : M.borderColor)) != null ? Ce : "#D9D9D9",
8966
- borderWidth: (le = M == null ? void 0 : M.borderWidth) != null ? le : 1,
8965
+ borderColor: (Ce = Ue(p == null ? void 0 : p.borderColor)) != null ? Ce : "#D9D9D9",
8966
+ borderWidth: (le = p == null ? void 0 : p.borderWidth) != null ? le : 1,
8967
8967
  maxHeight: "500px",
8968
8968
  overflow: "auto",
8969
8969
  zIndex: 2,
@@ -9100,7 +9100,7 @@ const os = (r, e) => {
9100
9100
  closeMenuOnSelect: !1,
9101
9101
  value: d,
9102
9102
  onChange: (c) => {
9103
- const g = c.map((p) => p.value);
9103
+ const g = c.map((M) => M.value);
9104
9104
  l.onChange(g);
9105
9105
  },
9106
9106
  parentElementRef: o,
@@ -9131,12 +9131,12 @@ const os = (r, e) => {
9131
9131
  register: o,
9132
9132
  watch: s
9133
9133
  }) => {
9134
- const [a, l] = wt(!1), d = gp(), c = String(t.id), p = s(c) === String(r.id), M = e.option, h = e.optionSelected, D = {
9134
+ const [a, l] = wt(!1), d = gp(), c = String(t.id), M = s(c) === String(r.id), p = e.option, h = e.optionSelected, D = {
9135
9135
  backgroundColor: Ue(h == null ? void 0 : h.backgroundColor),
9136
9136
  borderRadius: h.cornerRadius
9137
9137
  }, y = {
9138
- backgroundColor: Ue(M == null ? void 0 : M.backgroundColor),
9139
- borderRadius: M.cornerRadius
9138
+ backgroundColor: Ue(p == null ? void 0 : p.backgroundColor),
9139
+ borderRadius: p.cornerRadius
9140
9140
  }, N = a && d ? { filter: `drop-shadow(0 0 1px ${ha})` } : {};
9141
9141
  return /* @__PURE__ */ C("div", { children: /* @__PURE__ */ C(
9142
9142
  "label",
@@ -9147,7 +9147,7 @@ const os = (r, e) => {
9147
9147
  alignContent: "center",
9148
9148
  gap: 8,
9149
9149
  cursor: "pointer"
9150
- }, p ? D : y),
9150
+ }, M ? D : y),
9151
9151
  children: [
9152
9152
  /* @__PURE__ */ C(
9153
9153
  "div",
@@ -9158,10 +9158,10 @@ const os = (r, e) => {
9158
9158
  alignContent: "center",
9159
9159
  flexShrink: 0
9160
9160
  }, N),
9161
- children: /* @__PURE__ */ C(Yt, L({}, p ? h.image : M.image))
9161
+ children: /* @__PURE__ */ C(Yt, L({}, M ? h.image : p.image))
9162
9162
  }
9163
9163
  ),
9164
- /* @__PURE__ */ C(ft, ue(L({}, p ? h.title : M.title), { text: r.text })),
9164
+ /* @__PURE__ */ C(ft, ue(L({}, M ? h.title : p.title), { text: r.text })),
9165
9165
  /* @__PURE__ */ C(
9166
9166
  "input",
9167
9167
  ue(L({
@@ -9236,11 +9236,11 @@ const os = (r, e) => {
9236
9236
  register: o,
9237
9237
  watch: s
9238
9238
  }) => {
9239
- const [a, l] = wt(!1), d = gp(), c = String(t.id), p = s(c) === String(r.id), M = e.option, h = e.optionSelected, D = {
9240
- borderRadius: M == null ? void 0 : M.cornerRadius,
9241
- background: Ue(M == null ? void 0 : M.backgroundColor),
9242
- borderColor: Ue(M == null ? void 0 : M.borderColor),
9243
- borderWidth: M == null ? void 0 : M.borderWidth
9239
+ const [a, l] = wt(!1), d = gp(), c = String(t.id), M = s(c) === String(r.id), p = e.option, h = e.optionSelected, D = {
9240
+ borderRadius: p == null ? void 0 : p.cornerRadius,
9241
+ background: Ue(p == null ? void 0 : p.backgroundColor),
9242
+ borderColor: Ue(p == null ? void 0 : p.borderColor),
9243
+ borderWidth: p == null ? void 0 : p.borderWidth
9244
9244
  }, y = {
9245
9245
  borderRadius: h == null ? void 0 : h.cornerRadius,
9246
9246
  background: Ue(h == null ? void 0 : h.backgroundColor),
@@ -9263,7 +9263,7 @@ const os = (r, e) => {
9263
9263
  cursor: "pointer",
9264
9264
  borderStyle: "solid",
9265
9265
  position: "relative"
9266
- }, p ? y : D), N),
9266
+ }, M ? y : D), N),
9267
9267
  children: [
9268
9268
  /* @__PURE__ */ C(
9269
9269
  "input",
@@ -9288,7 +9288,7 @@ const os = (r, e) => {
9288
9288
  onBlur: () => l(!1)
9289
9289
  })
9290
9290
  ),
9291
- /* @__PURE__ */ C(ft, ue(L({}, p ? h.title : M.title), { text: r.text }))
9291
+ /* @__PURE__ */ C(ft, ue(L({}, M ? h.title : p.title), { text: r.text }))
9292
9292
  ]
9293
9293
  }
9294
9294
  )
@@ -9377,7 +9377,7 @@ const os = (r, e) => {
9377
9377
  dataSourceQuestion: e,
9378
9378
  register: t
9379
9379
  }) => {
9380
- var a, l, d, c, g, p, M, h, D, y, N, _, T, E, S, v;
9380
+ var a, l, d, c, g, M, p, h, D, y, N, _, T, E, S, v;
9381
9381
  const o = String(e.id), s = (R) => R ? R === pu.EMAIL ? "email" : R === pu.FREE_TEXT ? "text" : R === pu.NUMBER ? "number" : R === pu.SECURE ? "password" : "text" : "text";
9382
9382
  return /* @__PURE__ */ C(
9383
9383
  "div",
@@ -9400,7 +9400,7 @@ const os = (r, e) => {
9400
9400
  style: {
9401
9401
  fontFamily: (d = (l = r == null ? void 0 : r.textField) == null ? void 0 : l.fontName) != null ? d : "sans-serif",
9402
9402
  fontSize: (g = (c = r == null ? void 0 : r.textField) == null ? void 0 : c.fontSize) != null ? g : 15,
9403
- color: (M = Ue((p = r == null ? void 0 : r.textField) == null ? void 0 : p.fontColor)) != null ? M : "#000000",
9403
+ color: (p = Ue((M = r == null ? void 0 : r.textField) == null ? void 0 : M.fontColor)) != null ? p : "#000000",
9404
9404
  height: "42px",
9405
9405
  borderWidth: (D = (h = r == null ? void 0 : r.textField) == null ? void 0 : h.borderWidth) != null ? D : 1,
9406
9406
  borderColor: (N = Ue((y = r == null ? void 0 : r.textField) == null ? void 0 : y.borderColor)) != null ? N : "#d9d9d9",
@@ -9423,7 +9423,7 @@ const os = (r, e) => {
9423
9423
  dataSourceQuestion: e,
9424
9424
  register: t
9425
9425
  }) => {
9426
- var s, a, l, d, c, g, p, M, h, D, y, N, _;
9426
+ var s, a, l, d, c, g, M, p, h, D, y, N, _;
9427
9427
  const o = String(e.id);
9428
9428
  return /* @__PURE__ */ C(
9429
9429
  "div",
@@ -9455,8 +9455,8 @@ const os = (r, e) => {
9455
9455
  overflow: "hidden",
9456
9456
  height: "42px",
9457
9457
  minHeight: "42px",
9458
- borderWidth: (p = (g = r == null ? void 0 : r.textField) == null ? void 0 : g.borderWidth) != null ? p : 1,
9459
- borderColor: (h = Ue((M = r == null ? void 0 : r.textField) == null ? void 0 : M.borderColor)) != null ? h : "#d9d9d9",
9458
+ borderWidth: (M = (g = r == null ? void 0 : r.textField) == null ? void 0 : g.borderWidth) != null ? M : 1,
9459
+ borderColor: (h = Ue((p = r == null ? void 0 : r.textField) == null ? void 0 : p.borderColor)) != null ? h : "#d9d9d9",
9460
9460
  borderStyle: "solid",
9461
9461
  borderRadius: (y = (D = r == null ? void 0 : r.textField) == null ? void 0 : D.cornerRadius) != null ? y : 8,
9462
9462
  padding: "11px",
@@ -9509,7 +9509,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9509
9509
  });
9510
9510
  return g(v), null;
9511
9511
  }
9512
- const p = l ? pE(a.questions, l) : {}, M = ir(null), {
9512
+ const M = l ? pE(a.questions, l) : {}, p = ir(null), {
9513
9513
  register: h,
9514
9514
  handleSubmit: D,
9515
9515
  formState: { errors: y },
@@ -9518,7 +9518,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9518
9518
  control: T
9519
9519
  } = ew({
9520
9520
  criteriaMode: "all",
9521
- defaultValues: p
9521
+ defaultValues: M
9522
9522
  });
9523
9523
  return /* @__PURE__ */ C(Gr, { header: r, footer: o, backgroundColor: d, children: /* @__PURE__ */ C(
9524
9524
  "form",
@@ -9552,7 +9552,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9552
9552
  position: "relative",
9553
9553
  backgroundColor: Ue(s == null ? void 0 : s.backgroundColor) || "transparent"
9554
9554
  },
9555
- ref: M,
9555
+ ref: p,
9556
9556
  children: [
9557
9557
  e && /** Screen title */
9558
9558
  /* @__PURE__ */ C("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ C(ft, L({}, e)) }),
@@ -9631,7 +9631,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9631
9631
  control: T,
9632
9632
  layout: Z,
9633
9633
  dataSourceQuestion: v,
9634
- parentElementRef: M
9634
+ parentElementRef: p
9635
9635
  }
9636
9636
  ),
9637
9637
  Oe === Qo.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ C(
@@ -9640,7 +9640,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9640
9640
  control: T,
9641
9641
  layout: Z,
9642
9642
  dataSourceQuestion: v,
9643
- parentElementRef: M
9643
+ parentElementRef: p
9644
9644
  }
9645
9645
  )
9646
9646
  ]
@@ -9713,7 +9713,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9713
9713
  backgroundColor: o,
9714
9714
  selectionLimit: s
9715
9715
  }) => {
9716
- var p, M;
9716
+ var M, p;
9717
9717
  const { perform: a } = Hr(), l = ir(null), d = typeof s == "number" && (s === 0 || s > 1), c = (h) => X(null, null, function* () {
9718
9718
  var y;
9719
9719
  const D = Array.from((y = h.currentTarget.files) != null ? y : []);
@@ -9764,7 +9764,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9764
9764
  onInput: c
9765
9765
  })
9766
9766
  ),
9767
- /* @__PURE__ */ C("button", { style: Mw, onClick: g, children: /* @__PURE__ */ C(Yt, { imageId: (M = (p = t == null ? void 0 : t[0]) == null ? void 0 : p.image) == null ? void 0 : M.imageId }) })
9767
+ /* @__PURE__ */ C("button", { style: Mw, onClick: g, children: /* @__PURE__ */ C(Yt, { imageId: (p = (M = t == null ? void 0 : t[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
9768
9768
  ]
9769
9769
  }
9770
9770
  ) }) });
@@ -9796,7 +9796,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9796
9796
  buttons: o,
9797
9797
  selectionLimit: s
9798
9798
  }) => {
9799
- var p, M;
9799
+ var M, p;
9800
9800
  const { perform: a } = Hr(), l = ir(null), d = typeof s == "number" && (s === 0 || s > 1), c = (h) => X(null, null, function* () {
9801
9801
  var y;
9802
9802
  const D = Array.from((y = h.currentTarget.files) != null ? y : []);
@@ -9858,7 +9858,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9858
9858
  onInput: c
9859
9859
  })
9860
9860
  ),
9861
- /* @__PURE__ */ C("button", { style: Nw, onClick: g, children: /* @__PURE__ */ C(Yt, { imageId: (M = (p = o == null ? void 0 : o[0]) == null ? void 0 : p.image) == null ? void 0 : M.imageId }) })
9861
+ /* @__PURE__ */ C("button", { style: Nw, onClick: g, children: /* @__PURE__ */ C(Yt, { imageId: (p = (M = o == null ? void 0 : o[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
9862
9862
  ]
9863
9863
  }
9864
9864
  ) }) });
@@ -10002,7 +10002,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10002
10002
  getLocationTimeout: g
10003
10003
  }) => {
10004
10004
  var Z, Oe;
10005
- const p = fa.FORM, { perform: M } = Hr(), { setIsProcessingCallback: h } = oE(), [D, y] = wt(!1), N = () => {
10005
+ const M = fa.FORM, { perform: p } = Hr(), { setIsProcessingCallback: h } = oE(), [D, y] = wt(!1), N = () => {
10006
10006
  var ee;
10007
10007
  (ee = T == null ? void 0 : T.popups) != null && ee.system_restricted || y(!0);
10008
10008
  }, _ = () => {
@@ -10028,7 +10028,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10028
10028
  return;
10029
10029
  }
10030
10030
  const J = yield Fs(S);
10031
- ee && M(J, p);
10031
+ ee && p(J, M);
10032
10032
  }), () => {
10033
10033
  Dn.isSafari || c || (ee = !1);
10034
10034
  };
@@ -10038,7 +10038,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10038
10038
  return X(null, null, function* () {
10039
10039
  const J = yield _w();
10040
10040
  J && (ae = J, J.onchange = () => X(null, null, function* () {
10041
- if (J.state === "denied" && (h == null || h(!0), M(
10041
+ if (J.state === "denied" && (h == null || h(!0), p(
10042
10042
  {
10043
10043
  location: {
10044
10044
  locationState: "application_location_restricted",
@@ -10047,12 +10047,12 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10047
10047
  error: "Application location services restricted or unavailable"
10048
10048
  }
10049
10049
  },
10050
- p
10050
+ M
10051
10051
  )), J.state === "granted") {
10052
10052
  h == null || h(!0);
10053
10053
  const Me = yield Fs(S);
10054
10054
  if (!ee) return;
10055
- M(Me, p);
10055
+ p(Me, M);
10056
10056
  }
10057
10057
  }));
10058
10058
  }), () => {
@@ -10068,7 +10068,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10068
10068
  }
10069
10069
  if (ae === "prompt" && (yield Fs()), ae === "granted") {
10070
10070
  const J = yield Fs(S);
10071
- M(J, p);
10071
+ p(J, M);
10072
10072
  }
10073
10073
  }), Q = (ee) => X(null, null, function* () {
10074
10074
  if (ee.preventDefault(), (yield wc()) === "denied") {
@@ -10077,7 +10077,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10077
10077
  }
10078
10078
  h == null || h(!0);
10079
10079
  const J = yield Fs(S);
10080
- M(J, p);
10080
+ p(J, M);
10081
10081
  }), $ = (ee) => {
10082
10082
  ee.preventDefault(), _();
10083
10083
  };
@@ -10171,7 +10171,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10171
10171
  borderRadius: s
10172
10172
  }, ga(a)),
10173
10173
  children: r == null ? void 0 : r.map((g) => {
10174
- const p = g.type === xn.IMAGE, M = g.type === xn.IMAGE_BUTTON, h = g.type === xn.SPACER, D = (p || M || h) && g.content.width, y = D ? "0 0 auto" : `${g.content.weight || kw} 1 0`;
10174
+ const M = g.type === xn.IMAGE, p = g.type === xn.IMAGE_BUTTON, h = g.type === xn.SPACER, D = (M || p || h) && g.content.width, y = D ? "0 0 auto" : `${g.content.weight || kw} 1 0`;
10175
10175
  return /* @__PURE__ */ C(
10176
10176
  "div",
10177
10177
  {
@@ -10180,7 +10180,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10180
10180
  style: L(L(L({
10181
10181
  // layout styles
10182
10182
  flex: y
10183
- }, D && { width: g.content.width }), h && g.content.height && { height: g.content.height }), (p || M) && {
10183
+ }, D && { width: g.content.width }), h && g.content.height && { height: g.content.height }), (M || p) && {
10184
10184
  height: g.content.height || Mp
10185
10185
  }),
10186
10186
  children: pp(g)
@@ -10206,12 +10206,12 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10206
10206
  if (!c) return null;
10207
10207
  const {
10208
10208
  imageId: g,
10209
- imageURL: p,
10210
- base64: M,
10209
+ imageURL: M,
10210
+ base64: p,
10211
10211
  contentMode: h = Jo.ASPECT_FILL,
10212
10212
  cornerRadius: D,
10213
10213
  backgroundColor: y
10214
- } = c, { perform: N } = Hr(), [_, T] = wt(!0), E = _ && p, S = () => {
10214
+ } = c, { perform: N } = Hr(), [_, T] = wt(!0), E = _ && M, S = () => {
10215
10215
  T(!1);
10216
10216
  }, v = () => {
10217
10217
  d((Z) => Z + 1);
@@ -10220,7 +10220,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10220
10220
  Bu(Z), N(Z, fa.DATA);
10221
10221
  }, Q = { width: "100%", height: "100%" };
10222
10222
  let $;
10223
- if (M && ($ = /* @__PURE__ */ C(
10223
+ if (p && ($ = /* @__PURE__ */ C(
10224
10224
  "img",
10225
10225
  {
10226
10226
  style: ue(L({}, Q), {
@@ -10229,7 +10229,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10229
10229
  backgroundColor: Ue(y) || "transparent",
10230
10230
  display: "block"
10231
10231
  }),
10232
- src: M,
10232
+ src: p,
10233
10233
  onError: v
10234
10234
  }
10235
10235
  )), g) {
@@ -10245,7 +10245,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10245
10245
  }
10246
10246
  );
10247
10247
  }
10248
- return p && ($ = /* @__PURE__ */ C(nn, { children: [
10248
+ return M && ($ = /* @__PURE__ */ C(nn, { children: [
10249
10249
  E && /* @__PURE__ */ C(
10250
10250
  "div",
10251
10251
  {
@@ -10264,7 +10264,7 @@ const gw = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10264
10264
  backgroundColor: Ue(y) || "transparent",
10265
10265
  display: E ? "none" : "block"
10266
10266
  }),
10267
- src: p,
10267
+ src: M,
10268
10268
  onLoad: S,
10269
10269
  onError: v
10270
10270
  }
@@ -10405,13 +10405,13 @@ const Au = ({
10405
10405
  borderRadius: o
10406
10406
  }, ga(s)),
10407
10407
  children: r == null ? void 0 : r.map((c) => {
10408
- const g = c.type === xn.IMAGE, p = c.type === xn.IMAGE_BUTTON, M = c.type === xn.SPACER, h = (g || p || M) && c.content.width;
10408
+ const g = c.type === xn.IMAGE, M = c.type === xn.IMAGE_BUTTON, p = c.type === xn.SPACER, h = (g || M || p) && c.content.width;
10409
10409
  return /* @__PURE__ */ C(
10410
10410
  "div",
10411
10411
  {
10412
10412
  "data-ui": "gui-column-item",
10413
10413
  part: "gui-column-item",
10414
- style: L(L(L(L({}, !h && { alignSelf: "stretch" }), h && { width: c.content.width }), M && c.content.height && { height: c.content.height }), (g || p) && {
10414
+ style: L(L(L(L({}, !h && { alignSelf: "stretch" }), h && { width: c.content.width }), p && c.content.height && { height: c.content.height }), (g || M) && {
10415
10415
  height: c.content.height || Mp
10416
10416
  }),
10417
10417
  children: pp(c)
@@ -10535,10 +10535,10 @@ var Gi;
10535
10535
  // error correction level, data codeword bytes, and mask number.
10536
10536
  // This is a low-level API that most users should not use directly.
10537
10537
  // A mid-level API is the encodeSegments() function.
10538
- constructor(c, g, p, M) {
10538
+ constructor(c, g, M, p) {
10539
10539
  if (this.version = c, this.errorCorrectionLevel = g, this.modules = [], this.isFunction = [], c < Xe.MIN_VERSION || c > Xe.MAX_VERSION)
10540
10540
  throw new RangeError("Version value out of range");
10541
- if (M < -1 || M > 7)
10541
+ if (p < -1 || p > 7)
10542
10542
  throw new RangeError("Mask value out of range");
10543
10543
  this.size = c * 4 + 17;
10544
10544
  let h = [];
@@ -10547,16 +10547,16 @@ var Gi;
10547
10547
  for (let y = 0; y < this.size; y++)
10548
10548
  this.modules.push(h.slice()), this.isFunction.push(h.slice());
10549
10549
  this.drawFunctionPatterns();
10550
- const D = this.addEccAndInterleave(p);
10551
- if (this.drawCodewords(D), M == -1) {
10550
+ const D = this.addEccAndInterleave(M);
10551
+ if (this.drawCodewords(D), p == -1) {
10552
10552
  let y = 1e9;
10553
10553
  for (let N = 0; N < 8; N++) {
10554
10554
  this.applyMask(N), this.drawFormatBits(N);
10555
10555
  const _ = this.getPenaltyScore();
10556
- _ < y && (M = N, y = _), this.applyMask(N);
10556
+ _ < y && (p = N, y = _), this.applyMask(N);
10557
10557
  }
10558
10558
  }
10559
- s(0 <= M && M <= 7), this.mask = M, this.applyMask(M), this.drawFormatBits(M), this.isFunction = [];
10559
+ s(0 <= p && p <= 7), this.mask = p, this.applyMask(p), this.drawFormatBits(p), this.isFunction = [];
10560
10560
  }
10561
10561
  /*-- Static factory functions (high level) --*/
10562
10562
  // Returns a QR Code representing the given Unicode text string at the given error correction level.
@@ -10565,16 +10565,16 @@ var Gi;
10565
10565
  // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the
10566
10566
  // ecl argument if it can be done without increasing the version.
10567
10567
  static encodeText(c, g) {
10568
- const p = r.QrSegment.makeSegments(c);
10569
- return Xe.encodeSegments(p, g);
10568
+ const M = r.QrSegment.makeSegments(c);
10569
+ return Xe.encodeSegments(M, g);
10570
10570
  }
10571
10571
  // Returns a QR Code representing the given binary data at the given error correction level.
10572
10572
  // This function always encodes using the binary segment mode, not any text mode. The maximum number of
10573
10573
  // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.
10574
10574
  // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
10575
10575
  static encodeBinary(c, g) {
10576
- const p = r.QrSegment.makeBytes(c);
10577
- return Xe.encodeSegments([p], g);
10576
+ const M = r.QrSegment.makeBytes(c);
10577
+ return Xe.encodeSegments([M], g);
10578
10578
  }
10579
10579
  /*-- Static factory functions (mid level) --*/
10580
10580
  // Returns a QR Code representing the given segments with the given encoding parameters.
@@ -10586,17 +10586,17 @@ var Gi;
10586
10586
  // This function allows the user to create a custom sequence of segments that switches
10587
10587
  // between modes (such as alphanumeric and byte) to encode text in less space.
10588
10588
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
10589
- static encodeSegments(c, g, p = 1, M = 40, h = -1, D = !0) {
10590
- if (!(Xe.MIN_VERSION <= p && p <= M && M <= Xe.MAX_VERSION) || h < -1 || h > 7)
10589
+ static encodeSegments(c, g, M = 1, p = 40, h = -1, D = !0) {
10590
+ if (!(Xe.MIN_VERSION <= M && M <= p && p <= Xe.MAX_VERSION) || h < -1 || h > 7)
10591
10591
  throw new RangeError("Invalid value");
10592
10592
  let y, N;
10593
- for (y = p; ; y++) {
10593
+ for (y = M; ; y++) {
10594
10594
  const S = Xe.getNumDataCodewords(y, g) * 8, v = l.getTotalBits(c, y);
10595
10595
  if (v <= S) {
10596
10596
  N = v;
10597
10597
  break;
10598
10598
  }
10599
- if (y >= M)
10599
+ if (y >= p)
10600
10600
  throw new RangeError("Data too long");
10601
10601
  }
10602
10602
  for (const S of [Xe.Ecc.MEDIUM, Xe.Ecc.QUARTILE, Xe.Ecc.HIGH])
@@ -10631,33 +10631,33 @@ var Gi;
10631
10631
  /*-- Private helper methods for constructor: Drawing function modules --*/
10632
10632
  // Reads this object's version field, and draws and marks all function modules.
10633
10633
  drawFunctionPatterns() {
10634
- for (let p = 0; p < this.size; p++)
10635
- this.setFunctionModule(6, p, p % 2 == 0), this.setFunctionModule(p, 6, p % 2 == 0);
10634
+ for (let M = 0; M < this.size; M++)
10635
+ this.setFunctionModule(6, M, M % 2 == 0), this.setFunctionModule(M, 6, M % 2 == 0);
10636
10636
  this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4);
10637
10637
  const c = this.getAlignmentPatternPositions(), g = c.length;
10638
- for (let p = 0; p < g; p++)
10639
- for (let M = 0; M < g; M++)
10640
- p == 0 && M == 0 || p == 0 && M == g - 1 || p == g - 1 && M == 0 || this.drawAlignmentPattern(c[p], c[M]);
10638
+ for (let M = 0; M < g; M++)
10639
+ for (let p = 0; p < g; p++)
10640
+ M == 0 && p == 0 || M == 0 && p == g - 1 || M == g - 1 && p == 0 || this.drawAlignmentPattern(c[M], c[p]);
10641
10641
  this.drawFormatBits(0), this.drawVersion();
10642
10642
  }
10643
10643
  // Draws two copies of the format bits (with its own error correction code)
10644
10644
  // based on the given mask and this object's error correction level field.
10645
10645
  drawFormatBits(c) {
10646
10646
  const g = this.errorCorrectionLevel.formatBits << 3 | c;
10647
- let p = g;
10647
+ let M = g;
10648
10648
  for (let h = 0; h < 10; h++)
10649
- p = p << 1 ^ (p >>> 9) * 1335;
10650
- const M = (g << 10 | p) ^ 21522;
10651
- s(M >>> 15 == 0);
10649
+ M = M << 1 ^ (M >>> 9) * 1335;
10650
+ const p = (g << 10 | M) ^ 21522;
10651
+ s(p >>> 15 == 0);
10652
10652
  for (let h = 0; h <= 5; h++)
10653
- this.setFunctionModule(8, h, o(M, h));
10654
- this.setFunctionModule(8, 7, o(M, 6)), this.setFunctionModule(8, 8, o(M, 7)), this.setFunctionModule(7, 8, o(M, 8));
10653
+ this.setFunctionModule(8, h, o(p, h));
10654
+ this.setFunctionModule(8, 7, o(p, 6)), this.setFunctionModule(8, 8, o(p, 7)), this.setFunctionModule(7, 8, o(p, 8));
10655
10655
  for (let h = 9; h < 15; h++)
10656
- this.setFunctionModule(14 - h, 8, o(M, h));
10656
+ this.setFunctionModule(14 - h, 8, o(p, h));
10657
10657
  for (let h = 0; h < 8; h++)
10658
- this.setFunctionModule(this.size - 1 - h, 8, o(M, h));
10658
+ this.setFunctionModule(this.size - 1 - h, 8, o(p, h));
10659
10659
  for (let h = 8; h < 15; h++)
10660
- this.setFunctionModule(8, this.size - 15 + h, o(M, h));
10660
+ this.setFunctionModule(8, this.size - 15 + h, o(p, h));
10661
10661
  this.setFunctionModule(8, this.size - 8, !0);
10662
10662
  }
10663
10663
  // Draws two copies of the version bits (with its own error correction code),
@@ -10666,47 +10666,47 @@ var Gi;
10666
10666
  if (this.version < 7)
10667
10667
  return;
10668
10668
  let c = this.version;
10669
- for (let p = 0; p < 12; p++)
10669
+ for (let M = 0; M < 12; M++)
10670
10670
  c = c << 1 ^ (c >>> 11) * 7973;
10671
10671
  const g = this.version << 12 | c;
10672
10672
  s(g >>> 18 == 0);
10673
- for (let p = 0; p < 18; p++) {
10674
- const M = o(g, p), h = this.size - 11 + p % 3, D = Math.floor(p / 3);
10675
- this.setFunctionModule(h, D, M), this.setFunctionModule(D, h, M);
10673
+ for (let M = 0; M < 18; M++) {
10674
+ const p = o(g, M), h = this.size - 11 + M % 3, D = Math.floor(M / 3);
10675
+ this.setFunctionModule(h, D, p), this.setFunctionModule(D, h, p);
10676
10676
  }
10677
10677
  }
10678
10678
  // Draws a 9*9 finder pattern including the border separator,
10679
10679
  // with the center module at (x, y). Modules can be out of bounds.
10680
10680
  drawFinderPattern(c, g) {
10681
- for (let p = -4; p <= 4; p++)
10682
- for (let M = -4; M <= 4; M++) {
10683
- const h = Math.max(Math.abs(M), Math.abs(p)), D = c + M, y = g + p;
10681
+ for (let M = -4; M <= 4; M++)
10682
+ for (let p = -4; p <= 4; p++) {
10683
+ const h = Math.max(Math.abs(p), Math.abs(M)), D = c + p, y = g + M;
10684
10684
  0 <= D && D < this.size && 0 <= y && y < this.size && this.setFunctionModule(D, y, h != 2 && h != 4);
10685
10685
  }
10686
10686
  }
10687
10687
  // Draws a 5*5 alignment pattern, with the center module
10688
10688
  // at (x, y). All modules must be in bounds.
10689
10689
  drawAlignmentPattern(c, g) {
10690
- for (let p = -2; p <= 2; p++)
10691
- for (let M = -2; M <= 2; M++)
10692
- this.setFunctionModule(c + M, g + p, Math.max(Math.abs(M), Math.abs(p)) != 1);
10690
+ for (let M = -2; M <= 2; M++)
10691
+ for (let p = -2; p <= 2; p++)
10692
+ this.setFunctionModule(c + p, g + M, Math.max(Math.abs(p), Math.abs(M)) != 1);
10693
10693
  }
10694
10694
  // Sets the color of a module and marks it as a function module.
10695
10695
  // Only used by the constructor. Coordinates must be in bounds.
10696
- setFunctionModule(c, g, p) {
10697
- this.modules[g][c] = p, this.isFunction[g][c] = !0;
10696
+ setFunctionModule(c, g, M) {
10697
+ this.modules[g][c] = M, this.isFunction[g][c] = !0;
10698
10698
  }
10699
10699
  /*-- Private helper methods for constructor: Codewords and masking --*/
10700
10700
  // Returns a new byte string representing the given data with the appropriate error correction
10701
10701
  // codewords appended to it, based on this object's version and error correction level.
10702
10702
  addEccAndInterleave(c) {
10703
- const g = this.version, p = this.errorCorrectionLevel;
10704
- if (c.length != Xe.getNumDataCodewords(g, p))
10703
+ const g = this.version, M = this.errorCorrectionLevel;
10704
+ if (c.length != Xe.getNumDataCodewords(g, M))
10705
10705
  throw new RangeError("Invalid argument");
10706
- const M = Xe.NUM_ERROR_CORRECTION_BLOCKS[p.ordinal][g], h = Xe.ECC_CODEWORDS_PER_BLOCK[p.ordinal][g], D = Math.floor(Xe.getNumRawDataModules(g) / 8), y = M - D % M, N = Math.floor(D / M);
10706
+ const p = Xe.NUM_ERROR_CORRECTION_BLOCKS[M.ordinal][g], h = Xe.ECC_CODEWORDS_PER_BLOCK[M.ordinal][g], D = Math.floor(Xe.getNumRawDataModules(g) / 8), y = p - D % p, N = Math.floor(D / p);
10707
10707
  let _ = [];
10708
10708
  const T = Xe.reedSolomonComputeDivisor(h);
10709
- for (let S = 0, v = 0; S < M; S++) {
10709
+ for (let S = 0, v = 0; S < p; S++) {
10710
10710
  let R = c.slice(v, v + N - h + (S < y ? 0 : 1));
10711
10711
  v += R.length;
10712
10712
  const Q = Xe.reedSolomonComputeRemainder(R, T);
@@ -10725,11 +10725,11 @@ var Gi;
10725
10725
  if (c.length != Math.floor(Xe.getNumRawDataModules(this.version) / 8))
10726
10726
  throw new RangeError("Invalid argument");
10727
10727
  let g = 0;
10728
- for (let p = this.size - 1; p >= 1; p -= 2) {
10729
- p == 6 && (p = 5);
10730
- for (let M = 0; M < this.size; M++)
10728
+ for (let M = this.size - 1; M >= 1; M -= 2) {
10729
+ M == 6 && (M = 5);
10730
+ for (let p = 0; p < this.size; p++)
10731
10731
  for (let h = 0; h < 2; h++) {
10732
- const D = p - h, N = (p + 1 & 2) == 0 ? this.size - 1 - M : M;
10732
+ const D = M - h, N = (M + 1 & 2) == 0 ? this.size - 1 - p : p;
10733
10733
  !this.isFunction[N][D] && g < c.length * 8 && (this.modules[N][D] = o(c[g >>> 3], 7 - (g & 7)), g++);
10734
10734
  }
10735
10735
  }
@@ -10744,37 +10744,37 @@ var Gi;
10744
10744
  if (c < 0 || c > 7)
10745
10745
  throw new RangeError("Mask value out of range");
10746
10746
  for (let g = 0; g < this.size; g++)
10747
- for (let p = 0; p < this.size; p++) {
10748
- let M;
10747
+ for (let M = 0; M < this.size; M++) {
10748
+ let p;
10749
10749
  switch (c) {
10750
10750
  case 0:
10751
- M = (p + g) % 2 == 0;
10751
+ p = (M + g) % 2 == 0;
10752
10752
  break;
10753
10753
  case 1:
10754
- M = g % 2 == 0;
10754
+ p = g % 2 == 0;
10755
10755
  break;
10756
10756
  case 2:
10757
- M = p % 3 == 0;
10757
+ p = M % 3 == 0;
10758
10758
  break;
10759
10759
  case 3:
10760
- M = (p + g) % 3 == 0;
10760
+ p = (M + g) % 3 == 0;
10761
10761
  break;
10762
10762
  case 4:
10763
- M = (Math.floor(p / 3) + Math.floor(g / 2)) % 2 == 0;
10763
+ p = (Math.floor(M / 3) + Math.floor(g / 2)) % 2 == 0;
10764
10764
  break;
10765
10765
  case 5:
10766
- M = p * g % 2 + p * g % 3 == 0;
10766
+ p = M * g % 2 + M * g % 3 == 0;
10767
10767
  break;
10768
10768
  case 6:
10769
- M = (p * g % 2 + p * g % 3) % 2 == 0;
10769
+ p = (M * g % 2 + M * g % 3) % 2 == 0;
10770
10770
  break;
10771
10771
  case 7:
10772
- M = ((p + g) % 2 + p * g % 3) % 2 == 0;
10772
+ p = ((M + g) % 2 + M * g % 3) % 2 == 0;
10773
10773
  break;
10774
10774
  default:
10775
10775
  throw new Error("Unreachable");
10776
10776
  }
10777
- !this.isFunction[g][p] && M && (this.modules[g][p] = !this.modules[g][p]);
10777
+ !this.isFunction[g][M] && p && (this.modules[g][M] = !this.modules[g][M]);
10778
10778
  }
10779
10779
  }
10780
10780
  // Calculates and returns the penalty score based on state of this QR Code's current modules.
@@ -10801,8 +10801,8 @@ var Gi;
10801
10801
  let g = 0;
10802
10802
  for (const h of this.modules)
10803
10803
  g = h.reduce((D, y) => D + (y ? 1 : 0), g);
10804
- const p = this.size * this.size, M = Math.ceil(Math.abs(g * 20 - p * 10) / p) - 1;
10805
- return s(0 <= M && M <= 9), c += M * Xe.PENALTY_N4, s(0 <= c && c <= 2568888), c;
10804
+ const M = this.size * this.size, p = Math.ceil(Math.abs(g * 20 - M * 10) / M) - 1;
10805
+ return s(0 <= p && p <= 9), c += p * Xe.PENALTY_N4, s(0 <= c && c <= 2568888), c;
10806
10806
  }
10807
10807
  /*-- Private helper functions --*/
10808
10808
  // Returns an ascending list of positions of alignment patterns for this version number.
@@ -10813,10 +10813,10 @@ var Gi;
10813
10813
  return [];
10814
10814
  {
10815
10815
  const c = Math.floor(this.version / 7) + 2, g = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (c * 2 - 2)) * 2;
10816
- let p = [6];
10817
- for (let M = this.size - 7; p.length < c; M -= g)
10818
- p.splice(1, 0, M);
10819
- return p;
10816
+ let M = [6];
10817
+ for (let p = this.size - 7; M.length < c; p -= g)
10818
+ M.splice(1, 0, p);
10819
+ return M;
10820
10820
  }
10821
10821
  }
10822
10822
  // Returns the number of data bits that can be stored in a QR Code of the given version number, after
@@ -10827,8 +10827,8 @@ var Gi;
10827
10827
  throw new RangeError("Version number out of range");
10828
10828
  let g = (16 * c + 128) * c + 64;
10829
10829
  if (c >= 2) {
10830
- const p = Math.floor(c / 7) + 2;
10831
- g -= (25 * p - 10) * p - 55, c >= 7 && (g -= 36);
10830
+ const M = Math.floor(c / 7) + 2;
10831
+ g -= (25 * M - 10) * M - 55, c >= 7 && (g -= 36);
10832
10832
  }
10833
10833
  return s(208 <= g && g <= 29648), g;
10834
10834
  }
@@ -10844,47 +10844,47 @@ var Gi;
10844
10844
  if (c < 1 || c > 255)
10845
10845
  throw new RangeError("Degree out of range");
10846
10846
  let g = [];
10847
- for (let M = 0; M < c - 1; M++)
10847
+ for (let p = 0; p < c - 1; p++)
10848
10848
  g.push(0);
10849
10849
  g.push(1);
10850
- let p = 1;
10851
- for (let M = 0; M < c; M++) {
10850
+ let M = 1;
10851
+ for (let p = 0; p < c; p++) {
10852
10852
  for (let h = 0; h < g.length; h++)
10853
- g[h] = Xe.reedSolomonMultiply(g[h], p), h + 1 < g.length && (g[h] ^= g[h + 1]);
10854
- p = Xe.reedSolomonMultiply(p, 2);
10853
+ g[h] = Xe.reedSolomonMultiply(g[h], M), h + 1 < g.length && (g[h] ^= g[h + 1]);
10854
+ M = Xe.reedSolomonMultiply(M, 2);
10855
10855
  }
10856
10856
  return g;
10857
10857
  }
10858
10858
  // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
10859
10859
  static reedSolomonComputeRemainder(c, g) {
10860
- let p = g.map((M) => 0);
10861
- for (const M of c) {
10862
- const h = M ^ p.shift();
10863
- p.push(0), g.forEach((D, y) => p[y] ^= Xe.reedSolomonMultiply(D, h));
10860
+ let M = g.map((p) => 0);
10861
+ for (const p of c) {
10862
+ const h = p ^ M.shift();
10863
+ M.push(0), g.forEach((D, y) => M[y] ^= Xe.reedSolomonMultiply(D, h));
10864
10864
  }
10865
- return p;
10865
+ return M;
10866
10866
  }
10867
10867
  // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
10868
10868
  // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
10869
10869
  static reedSolomonMultiply(c, g) {
10870
10870
  if (c >>> 8 || g >>> 8)
10871
10871
  throw new RangeError("Byte out of range");
10872
- let p = 0;
10873
- for (let M = 7; M >= 0; M--)
10874
- p = p << 1 ^ (p >>> 7) * 285, p ^= (g >>> M & 1) * c;
10875
- return s(p >>> 8 == 0), p;
10872
+ let M = 0;
10873
+ for (let p = 7; p >= 0; p--)
10874
+ M = M << 1 ^ (M >>> 7) * 285, M ^= (g >>> p & 1) * c;
10875
+ return s(M >>> 8 == 0), M;
10876
10876
  }
10877
10877
  // Can only be called immediately after a light run is added, and
10878
10878
  // returns either 0, 1, or 2. A helper function for getPenaltyScore().
10879
10879
  finderPenaltyCountPatterns(c) {
10880
10880
  const g = c[1];
10881
10881
  s(g <= this.size * 3);
10882
- const p = g > 0 && c[2] == g && c[3] == g * 3 && c[4] == g && c[5] == g;
10883
- return (p && c[0] >= g * 4 && c[6] >= g ? 1 : 0) + (p && c[6] >= g * 4 && c[0] >= g ? 1 : 0);
10882
+ const M = g > 0 && c[2] == g && c[3] == g * 3 && c[4] == g && c[5] == g;
10883
+ return (M && c[0] >= g * 4 && c[6] >= g ? 1 : 0) + (M && c[6] >= g * 4 && c[0] >= g ? 1 : 0);
10884
10884
  }
10885
10885
  // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().
10886
- finderPenaltyTerminateAndCount(c, g, p) {
10887
- return c && (this.finderPenaltyAddHistory(g, p), g = 0), g += this.size, this.finderPenaltyAddHistory(g, p), this.finderPenaltyCountPatterns(p);
10886
+ finderPenaltyTerminateAndCount(c, g, M) {
10887
+ return c && (this.finderPenaltyAddHistory(g, M), g = 0), g += this.size, this.finderPenaltyAddHistory(g, M), this.finderPenaltyCountPatterns(M);
10888
10888
  }
10889
10889
  // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
10890
10890
  finderPenaltyAddHistory(c, g) {
@@ -10917,8 +10917,8 @@ var Gi;
10917
10917
  function t(d, c, g) {
10918
10918
  if (c < 0 || c > 31 || d >>> c)
10919
10919
  throw new RangeError("Value out of range");
10920
- for (let p = c - 1; p >= 0; p--)
10921
- g.push(d >>> p & 1);
10920
+ for (let M = c - 1; M >= 0; M--)
10921
+ g.push(d >>> M & 1);
10922
10922
  }
10923
10923
  function o(d, c) {
10924
10924
  return (d >>> c & 1) != 0;
@@ -10932,10 +10932,10 @@ var Gi;
10932
10932
  // Creates a new QR Code segment with the given attributes and data.
10933
10933
  // The character count (numChars) must agree with the mode and the bit buffer length,
10934
10934
  // but the constraint isn't checked. The given bit buffer is cloned and stored.
10935
- constructor(c, g, p) {
10936
- if (this.mode = c, this.numChars = g, this.bitData = p, g < 0)
10935
+ constructor(c, g, M) {
10936
+ if (this.mode = c, this.numChars = g, this.bitData = M, g < 0)
10937
10937
  throw new RangeError("Invalid argument");
10938
- this.bitData = p.slice();
10938
+ this.bitData = M.slice();
10939
10939
  }
10940
10940
  /*-- Static factory functions (mid level) --*/
10941
10941
  // Returns a segment representing the given binary data encoded in
@@ -10943,8 +10943,8 @@ var Gi;
10943
10943
  // can be converted to UTF-8 bytes and encoded as a byte mode segment.
10944
10944
  static makeBytes(c) {
10945
10945
  let g = [];
10946
- for (const p of c)
10947
- t(p, 8, g);
10946
+ for (const M of c)
10947
+ t(M, 8, g);
10948
10948
  return new At(At.Mode.BYTE, c.length, g);
10949
10949
  }
10950
10950
  // Returns a segment representing the given string of decimal digits encoded in numeric mode.
@@ -10952,9 +10952,9 @@ var Gi;
10952
10952
  if (!At.isNumeric(c))
10953
10953
  throw new RangeError("String contains non-numeric characters");
10954
10954
  let g = [];
10955
- for (let p = 0; p < c.length; ) {
10956
- const M = Math.min(c.length - p, 3);
10957
- t(parseInt(c.substring(p, p + M), 10), M * 3 + 1, g), p += M;
10955
+ for (let M = 0; M < c.length; ) {
10956
+ const p = Math.min(c.length - M, 3);
10957
+ t(parseInt(c.substring(M, M + p), 10), p * 3 + 1, g), M += p;
10958
10958
  }
10959
10959
  return new At(At.Mode.NUMERIC, c.length, g);
10960
10960
  }
@@ -10964,12 +10964,12 @@ var Gi;
10964
10964
  static makeAlphanumeric(c) {
10965
10965
  if (!At.isAlphanumeric(c))
10966
10966
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
10967
- let g = [], p;
10968
- for (p = 0; p + 2 <= c.length; p += 2) {
10969
- let M = At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(p)) * 45;
10970
- M += At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(p + 1)), t(M, 11, g);
10967
+ let g = [], M;
10968
+ for (M = 0; M + 2 <= c.length; M += 2) {
10969
+ let p = At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(M)) * 45;
10970
+ p += At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(M + 1)), t(p, 11, g);
10971
10971
  }
10972
- return p < c.length && t(At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(p)), 6, g), new At(At.Mode.ALPHANUMERIC, c.length, g);
10972
+ return M < c.length && t(At.ALPHANUMERIC_CHARSET.indexOf(c.charAt(M)), 6, g), new At(At.Mode.ALPHANUMERIC, c.length, g);
10973
10973
  }
10974
10974
  // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
10975
10975
  // The result may use various segment modes and switch modes to optimize the length of the bit stream.
@@ -11011,21 +11011,21 @@ var Gi;
11011
11011
  // (Package-private) Calculates and returns the number of bits needed to encode the given segments at
11012
11012
  // the given version. The result is infinity if a segment has too many characters to fit its length field.
11013
11013
  static getTotalBits(c, g) {
11014
- let p = 0;
11015
- for (const M of c) {
11016
- const h = M.mode.numCharCountBits(g);
11017
- if (M.numChars >= 1 << h)
11014
+ let M = 0;
11015
+ for (const p of c) {
11016
+ const h = p.mode.numCharCountBits(g);
11017
+ if (p.numChars >= 1 << h)
11018
11018
  return 1 / 0;
11019
- p += 4 + h + M.bitData.length;
11019
+ M += 4 + h + p.bitData.length;
11020
11020
  }
11021
- return p;
11021
+ return M;
11022
11022
  }
11023
11023
  // Returns a new array of bytes representing the given string encoded in UTF-8.
11024
11024
  static toUtf8ByteArray(c) {
11025
11025
  c = encodeURI(c);
11026
11026
  let g = [];
11027
- for (let p = 0; p < c.length; p++)
11028
- c.charAt(p) != "%" ? g.push(c.charCodeAt(p)) : (g.push(parseInt(c.substring(p + 1, p + 3), 16)), p += 2);
11027
+ for (let M = 0; M < c.length; M++)
11028
+ c.charAt(M) != "%" ? g.push(c.charCodeAt(M)) : (g.push(parseInt(c.substring(M + 1, M + 3), 16)), M += 2);
11029
11029
  return g;
11030
11030
  }
11031
11031
  };
@@ -11098,14 +11098,14 @@ function wp(r, e) {
11098
11098
  function Zw(r, e, t, o) {
11099
11099
  if (o == null)
11100
11100
  return null;
11101
- const s = r.length + t * 2, a = Math.floor(e * Gw), l = s / e, d = (o.width || a) * l, c = (o.height || a) * l, g = o.x == null ? r.length / 2 - d / 2 : o.x * l, p = o.y == null ? r.length / 2 - c / 2 : o.y * l, M = o.opacity == null ? 1 : o.opacity;
11101
+ const s = r.length + t * 2, a = Math.floor(e * Gw), l = s / e, d = (o.width || a) * l, c = (o.height || a) * l, g = o.x == null ? r.length / 2 - d / 2 : o.x * l, M = o.y == null ? r.length / 2 - c / 2 : o.y * l, p = o.opacity == null ? 1 : o.opacity;
11102
11102
  let h = null;
11103
11103
  if (o.excavate) {
11104
- let y = Math.floor(g), N = Math.floor(p), _ = Math.ceil(d + g - y), T = Math.ceil(c + p - N);
11104
+ let y = Math.floor(g), N = Math.floor(M), _ = Math.ceil(d + g - y), T = Math.ceil(c + M - N);
11105
11105
  h = { x: y, y: N, w: _, h: T };
11106
11106
  }
11107
11107
  const D = o.crossOrigin;
11108
- return { x: g, y: p, h: c, w: d, excavation: h, opacity: M, crossOrigin: D };
11108
+ return { x: g, y: M, h: c, w: d, excavation: h, opacity: p, crossOrigin: D };
11109
11109
  }
11110
11110
  function Kw(r, e) {
11111
11111
  return e != null ? Math.max(Math.floor(e), 0) : r ? $w : Hw;
@@ -11131,7 +11131,7 @@ function vp({
11131
11131
  d
11132
11132
  );
11133
11133
  }, [r, e, t, d]);
11134
- const { cells: g, margin: p, numCells: M, calculatedImageSettings: h } = he.useMemo(() => {
11134
+ const { cells: g, margin: M, numCells: p, calculatedImageSettings: h } = he.useMemo(() => {
11135
11135
  let D = c.getModules();
11136
11136
  const y = Kw(o, s), N = D.length + y * 2, _ = Zw(
11137
11137
  D,
@@ -11148,9 +11148,9 @@ function vp({
11148
11148
  }, [c, l, a, o, s]);
11149
11149
  return {
11150
11150
  qrcode: c,
11151
- margin: p,
11151
+ margin: M,
11152
11152
  cells: g,
11153
- numCells: M,
11153
+ numCells: p,
11154
11154
  calculatedImageSettings: h
11155
11155
  };
11156
11156
  }
@@ -11170,8 +11170,8 @@ var Jw = (function() {
11170
11170
  bgColor: d = Ap,
11171
11171
  fgColor: c = _p,
11172
11172
  includeMargin: g = mp,
11173
- minVersion: p = Tp,
11174
- boostLevel: M,
11173
+ minVersion: M = Tp,
11174
+ boostLevel: p,
11175
11175
  marginSize: h,
11176
11176
  imageSettings: D
11177
11177
  } = o, N = Vc(o, [
@@ -11193,8 +11193,8 @@ var Jw = (function() {
11193
11193
  ), [Q, $] = he.useState(!1), { margin: Z, cells: Oe, numCells: ee, calculatedImageSettings: ae } = vp({
11194
11194
  value: s,
11195
11195
  level: l,
11196
- minVersion: p,
11197
- boostLevel: M,
11196
+ minVersion: M,
11197
+ boostLevel: p,
11198
11198
  includeMargin: g,
11199
11199
  marginSize: h,
11200
11200
  imageSettings: D,
@@ -11265,8 +11265,8 @@ var Sp = he.forwardRef(
11265
11265
  bgColor: d = Ap,
11266
11266
  fgColor: c = _p,
11267
11267
  includeMargin: g = mp,
11268
- minVersion: p = Tp,
11269
- boostLevel: M,
11268
+ minVersion: M = Tp,
11269
+ boostLevel: p,
11270
11270
  title: h,
11271
11271
  marginSize: D,
11272
11272
  imageSettings: y
@@ -11285,8 +11285,8 @@ var Sp = he.forwardRef(
11285
11285
  ]), { margin: _, cells: T, numCells: E, calculatedImageSettings: S } = vp({
11286
11286
  value: s,
11287
11287
  level: l,
11288
- minVersion: p,
11289
- boostLevel: M,
11288
+ minVersion: M,
11289
+ boostLevel: p,
11290
11290
  includeMargin: g,
11291
11291
  marginSize: D,
11292
11292
  imageSettings: y,
@@ -11753,7 +11753,7 @@ var cv = function(r) {
11753
11753
  return typeof v.always != "undefined" ? v.always : v.groups && v.groups.length ? !1 : o;
11754
11754
  }, g = function(v) {
11755
11755
  return !!(s && (!a || !a.length) && v.groups && v.groups.length);
11756
- }, p = this.validationMetadatas.get(e) || [], M = p.filter(function(v) {
11756
+ }, M = this.validationMetadatas.get(e) || [], p = M.filter(function(v) {
11757
11757
  return v.target !== e && v.target !== t ? !1 : c(v) ? !0 : g(v) ? !1 : a && a.length > 0 ? v.groups && !!v.groups.find(function(R) {
11758
11758
  return a.indexOf(R) !== -1;
11759
11759
  }) : !0;
@@ -11777,11 +11777,11 @@ var cv = function(r) {
11777
11777
  return a.indexOf(R) !== -1;
11778
11778
  }) : !0;
11779
11779
  }), S = E.filter(function(v) {
11780
- return !M.find(function(R) {
11780
+ return !p.find(function(R) {
11781
11781
  return R.propertyName === v.propertyName && R.type === v.type;
11782
11782
  });
11783
11783
  });
11784
- return M.concat(S);
11784
+ return p.concat(S);
11785
11785
  }, r.prototype.getTargetValidatorConstraints = function(e) {
11786
11786
  return this.constraintMetadatas.get(e) || [];
11787
11787
  }, r;
@@ -11800,21 +11800,21 @@ var Qh = (
11800
11800
  var a = this;
11801
11801
  e === void 0 && (e = !1), t === void 0 && (t = !1), o === void 0 && (o = ""), s === void 0 && (s = !1);
11802
11802
  var l = e ? "\x1B[1m" : "", d = e ? "\x1B[22m" : "", c = function() {
11803
- var M;
11804
- return (s ? Object.values : Object.keys)((M = a.constraints) !== null && M !== void 0 ? M : {}).join(", ");
11805
- }, g = function(M) {
11806
- return " - property ".concat(l).concat(o).concat(M).concat(d, " has failed the following constraints: ").concat(l).concat(c()).concat(d, `
11803
+ var p;
11804
+ return (s ? Object.values : Object.keys)((p = a.constraints) !== null && p !== void 0 ? p : {}).join(", ");
11805
+ }, g = function(p) {
11806
+ return " - property ".concat(l).concat(o).concat(p).concat(d, " has failed the following constraints: ").concat(l).concat(c()).concat(d, `
11807
11807
  `);
11808
11808
  };
11809
11809
  if (t) {
11810
- var p = Number.isInteger(+this.property) ? "[".concat(this.property, "]") : "".concat(o ? "." : "").concat(this.property);
11811
- return this.constraints ? g(p) : this.children ? this.children.map(function(M) {
11812
- return M.toString(e, !0, "".concat(o).concat(p), s);
11810
+ var M = Number.isInteger(+this.property) ? "[".concat(this.property, "]") : "".concat(o ? "." : "").concat(this.property);
11811
+ return this.constraints ? g(M) : this.children ? this.children.map(function(p) {
11812
+ return p.toString(e, !0, "".concat(o).concat(M), s);
11813
11813
  }).join("") : "";
11814
11814
  } else
11815
11815
  return "An instance of ".concat(l).concat(this.target ? this.target.constructor.name : "an object").concat(d, ` has failed the validation:
11816
- `) + (this.constraints ? g(this.property) : "") + (this.children ? this.children.map(function(M) {
11817
- return M.toString(e, !0, a.property, s);
11816
+ `) + (this.constraints ? g(this.property) : "") + (this.children ? this.children.map(function(p) {
11817
+ return p.toString(e, !0, a.property, s);
11818
11818
  }).join("") : "");
11819
11819
  }, r;
11820
11820
  })()
@@ -11873,8 +11873,8 @@ var gv = (
11873
11873
  !this.metadataStorage.hasValidationMetaData && ((a = this.validatorOptions) === null || a === void 0 ? void 0 : a.enableDebugMessages) === !0 && console.warn(`No validation metadata found. No validation will be performed. There are multiple possible reasons:
11874
11874
  - There may be multiple class-validator versions installed. You will need to flatten your dependencies to fix the issue.
11875
11875
  - This validation runs before any file with validation decorator was parsed by NodeJS.`);
11876
- var d = this.validatorOptions ? this.validatorOptions.groups : void 0, c = this.validatorOptions && this.validatorOptions.strictGroups || !1, g = this.validatorOptions && this.validatorOptions.always || !1, p = ((l = this.validatorOptions) === null || l === void 0 ? void 0 : l.forbidUnknownValues) === void 0 || this.validatorOptions.forbidUnknownValues !== !1, M = this.metadataStorage.getTargetValidationMetadatas(e.constructor, t, g, c, d), h = this.metadataStorage.groupByPropertyName(M);
11877
- if (p && !M.length) {
11876
+ var d = this.validatorOptions ? this.validatorOptions.groups : void 0, c = this.validatorOptions && this.validatorOptions.strictGroups || !1, g = this.validatorOptions && this.validatorOptions.always || !1, M = ((l = this.validatorOptions) === null || l === void 0 ? void 0 : l.forbidUnknownValues) === void 0 || this.validatorOptions.forbidUnknownValues !== !1, p = this.metadataStorage.getTargetValidationMetadatas(e.constructor, t, g, c, d), h = this.metadataStorage.groupByPropertyName(p);
11877
+ if (M && !p.length) {
11878
11878
  var D = new Qh();
11879
11879
  (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.target === void 0 || this.validatorOptions.validationError.target === !0) && (D.target = e), D.value = void 0, D.property = void 0, D.children = [], D.constraints = { unknownValue: "an unknown value was passed to the validate function" }, o.push(D);
11880
11880
  return;
@@ -11918,10 +11918,10 @@ var gv = (
11918
11918
  return h.type === Ht.NESTED_VALIDATION;
11919
11919
  }), g = a.filter(function(h) {
11920
11920
  return h.type === Ht.CONDITIONAL_VALIDATION;
11921
- }), p = this.generateValidationError(e, t, o);
11922
- l.push(p);
11923
- var M = this.conditionalValidations(e, t, g);
11924
- M && (this.customValidations(e, t, s, p), this.mapContexts(e, t, s, p), !(t === void 0 && this.validatorOptions && this.validatorOptions.skipUndefinedProperties === !0) && (t === null && this.validatorOptions && this.validatorOptions.skipNullProperties === !0 || t == null && this.validatorOptions && this.validatorOptions.skipMissingProperties === !0 || (this.customValidations(e, t, d, p), this.nestedValidations(t, c, p), this.mapContexts(e, t, a, p), this.mapContexts(e, t, d, p))));
11921
+ }), M = this.generateValidationError(e, t, o);
11922
+ l.push(M);
11923
+ var p = this.conditionalValidations(e, t, g);
11924
+ p && (this.customValidations(e, t, s, M), this.mapContexts(e, t, s, M), !(t === void 0 && this.validatorOptions && this.validatorOptions.skipUndefinedProperties === !0) && (t === null && this.validatorOptions && this.validatorOptions.skipNullProperties === !0 || t == null && this.validatorOptions && this.validatorOptions.skipMissingProperties === !0 || (this.customValidations(e, t, d, M), this.nestedValidations(t, c, M), this.mapContexts(e, t, a, M), this.mapContexts(e, t, d, M))));
11925
11925
  }, r.prototype.generateValidationError = function(e, t, o) {
11926
11926
  var s = new Qh();
11927
11927
  return (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.target === void 0 || this.validatorOptions.validationError.target === !0) && (s.target = e), (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.value === void 0 || this.validatorOptions.validationError.value === !0) && (s.value = t), s.property = o, s.children = [], s.constraints = {}, s;
@@ -11946,15 +11946,15 @@ var gv = (
11946
11946
  if (!l.each || !(Array.isArray(t) || t instanceof Set || t instanceof Map)) {
11947
11947
  var g = d.instance.validate(t, c);
11948
11948
  if (Sc(g)) {
11949
- var p = g.then(function(R) {
11949
+ var M = g.then(function(R) {
11950
11950
  if (!R) {
11951
11951
  var Q = Qs(a.createValidationError(e, t, l, d), 2), $ = Q[0], Z = Q[1];
11952
11952
  s.constraints[$] = Z, l.context && (s.contexts || (s.contexts = {}), s.contexts[$] = Object.assign(s.contexts[$] || {}, l.context));
11953
11953
  }
11954
11954
  });
11955
- a.awaitingPromises.push(p);
11955
+ a.awaitingPromises.push(M);
11956
11956
  } else if (!g) {
11957
- var M = Qs(a.createValidationError(e, t, l, d), 2), h = M[0], D = M[1];
11957
+ var p = Qs(a.createValidationError(e, t, l, d), 2), h = p[0], D = p[1];
11958
11958
  s.constraints[h] = D;
11959
11959
  }
11960
11960
  return;
@@ -11995,15 +11995,15 @@ var gv = (
11995
11995
  if (!(a.type !== Ht.NESTED_VALIDATION && a.type !== Ht.PROMISE_VALIDATION) && !(s.validatorOptions && s.validatorOptions.stopAtFirstError && Object.keys(o.constraints || {}).length > 0))
11996
11996
  if (Array.isArray(e) || e instanceof Set || e instanceof Map) {
11997
11997
  var l = e instanceof Set ? Array.from(e) : e;
11998
- l.forEach(function(M, h) {
11999
- s.performValidations(e, M, h.toString(), [], t, o.children);
11998
+ l.forEach(function(p, h) {
11999
+ s.performValidations(e, p, h.toString(), [], t, o.children);
12000
12000
  });
12001
12001
  } else if (e instanceof Object) {
12002
12002
  var d = typeof a.target == "string" ? a.target : a.target.name;
12003
12003
  s.execute(e, d, o.children);
12004
12004
  } else {
12005
- var c = Qs(s.createValidationError(a.target, e, a), 2), g = c[0], p = c[1];
12006
- o.constraints[g] = p;
12005
+ var c = Qs(s.createValidationError(a.target, e, a), 2), g = c[0], M = c[1];
12006
+ o.constraints[g] = M;
12007
12007
  }
12008
12008
  });
12009
12009
  }, r.prototype.mapContexts = function(e, t, o, s) {
@@ -12042,22 +12042,22 @@ var gv = (
12042
12042
  });
12043
12043
  }
12044
12044
  return new (t || (t = Promise))(function(a, l) {
12045
- function d(p) {
12045
+ function d(M) {
12046
12046
  try {
12047
- g(o.next(p));
12048
- } catch (M) {
12049
- l(M);
12047
+ g(o.next(M));
12048
+ } catch (p) {
12049
+ l(p);
12050
12050
  }
12051
12051
  }
12052
- function c(p) {
12052
+ function c(M) {
12053
12053
  try {
12054
- g(o.throw(p));
12055
- } catch (M) {
12056
- l(M);
12054
+ g(o.throw(M));
12055
+ } catch (p) {
12056
+ l(p);
12057
12057
  }
12058
12058
  }
12059
- function g(p) {
12060
- p.done ? a(p.value) : s(p.value).then(d, c);
12059
+ function g(M) {
12060
+ M.done ? a(M.value) : s(M.value).then(d, c);
12061
12061
  }
12062
12062
  g((o = o.apply(r, e || [])).next());
12063
12063
  });
@@ -12070,8 +12070,8 @@ var gv = (
12070
12070
  return this;
12071
12071
  }), l;
12072
12072
  function d(g) {
12073
- return function(p) {
12074
- return c([g, p]);
12073
+ return function(M) {
12074
+ return c([g, M]);
12075
12075
  };
12076
12076
  }
12077
12077
  function c(g) {
@@ -12112,8 +12112,8 @@ var gv = (
12112
12112
  continue;
12113
12113
  }
12114
12114
  g = e.call(r, t);
12115
- } catch (p) {
12116
- g = [6, p], s = 0;
12115
+ } catch (M) {
12116
+ g = [6, M], s = 0;
12117
12117
  } finally {
12118
12118
  o = a = 0;
12119
12119
  }
@@ -12527,16 +12527,16 @@ var Pv = (
12527
12527
  this._typeMetadatas.clear(), this._exposeMetadatas.clear(), this._excludeMetadatas.clear(), this._ancestorsMap.clear();
12528
12528
  }, r.prototype.getMetadata = function(e, t) {
12529
12529
  var o = e.get(t), s;
12530
- o && (s = Array.from(o.values()).filter(function(M) {
12531
- return M.propertyName !== void 0;
12530
+ o && (s = Array.from(o.values()).filter(function(p) {
12531
+ return p.propertyName !== void 0;
12532
12532
  }));
12533
12533
  for (var a = [], l = 0, d = this.getAncestors(t); l < d.length; l++) {
12534
12534
  var c = d[l], g = e.get(c);
12535
12535
  if (g) {
12536
- var p = Array.from(g.values()).filter(function(M) {
12537
- return M.propertyName !== void 0;
12536
+ var M = Array.from(g.values()).filter(function(p) {
12537
+ return p.propertyName !== void 0;
12538
12538
  });
12539
- a.push.apply(a, p);
12539
+ a.push.apply(a, M);
12540
12540
  }
12541
12541
  }
12542
12542
  return a.concat(s || []);
@@ -12550,17 +12550,17 @@ var Pv = (
12550
12550
  for (var l = 0, d = this.getAncestors(t); l < d.length; l++) {
12551
12551
  var c = d[l], g = e.get(c);
12552
12552
  if (g) {
12553
- var p = g.get(o);
12554
- if (p)
12555
- return p;
12553
+ var M = g.get(o);
12554
+ if (M)
12555
+ return M;
12556
12556
  }
12557
12557
  }
12558
12558
  }, r.prototype.findMetadatas = function(e, t, o) {
12559
12559
  var s = e.get(t), a;
12560
12560
  s && (a = s.get(o));
12561
12561
  for (var l = [], d = 0, c = this.getAncestors(t); d < c.length; d++) {
12562
- var g = c[d], p = e.get(g);
12563
- p && p.has(o) && l.push.apply(l, p.get(o));
12562
+ var g = c[d], M = e.get(g);
12563
+ M && M.has(o) && l.push.apply(l, M.get(o));
12564
12564
  }
12565
12565
  return l.slice().reverse().concat((a || []).slice().reverse());
12566
12566
  }, r.prototype.getAncestors = function(e) {
@@ -12649,9 +12649,9 @@ var Bo = (
12649
12649
  return t;
12650
12650
  if (typeof t == "object" && t !== null) {
12651
12651
  !o && t.constructor !== Object && (!Array.isArray(t) && t.constructor === Array || (o = t.constructor)), !o && e && (o = e.constructor), this.options.enableCircularCheck && this.recursionStack.add(t);
12652
- var g = this.getKeys(o, t, a), p = e || {};
12653
- !e && (this.transformationType === Ke.PLAIN_TO_CLASS || this.transformationType === Ke.CLASS_TO_CLASS) && (a ? p = /* @__PURE__ */ new Map() : o ? p = new o() : p = {});
12654
- for (var M = function(_) {
12652
+ var g = this.getKeys(o, t, a), M = e || {};
12653
+ !e && (this.transformationType === Ke.PLAIN_TO_CLASS || this.transformationType === Ke.CLASS_TO_CLASS) && (a ? M = /* @__PURE__ */ new Map() : o ? M = new o() : M = {});
12654
+ for (var p = function(_) {
12655
12655
  if (_ === "__proto__" || _ === "constructor")
12656
12656
  return "continue";
12657
12657
  var T = _, E = _, S = _;
@@ -12672,7 +12672,7 @@ var Bo = (
12672
12672
  else if (o) {
12673
12673
  var Z = In.findTypeMetadata(o, S);
12674
12674
  if (Z) {
12675
- var Oe = { newObject: p, object: t, property: S }, ee = Z.typeFunction ? Z.typeFunction(Oe) : Z.reflectedType;
12675
+ var Oe = { newObject: M, object: t, property: S }, ee = Z.typeFunction ? Z.typeFunction(Oe) : Z.reflectedType;
12676
12676
  Z.options && Z.options.discriminator && Z.options.discriminator.property && Z.options.discriminator.subTypes ? t[T] instanceof Array ? Q = Z : (h.transformationType === Ke.PLAIN_TO_CLASS && (Q = Z.options.discriminator.subTypes.find(function(ke) {
12677
12677
  if (R && R instanceof Object && Z.options.discriminator.property in R)
12678
12678
  return ke.name === R[Z.options.discriminator.property];
@@ -12691,24 +12691,24 @@ var Bo = (
12691
12691
  }
12692
12692
  }
12693
12693
  var J = Array.isArray(t[T]) ? h.getReflectedType(o, S) : void 0, Me = e ? e[T] : void 0;
12694
- if (p.constructor.prototype) {
12695
- var xe = Object.getOwnPropertyDescriptor(p.constructor.prototype, E);
12694
+ if (M.constructor.prototype) {
12695
+ var xe = Object.getOwnPropertyDescriptor(M.constructor.prototype, E);
12696
12696
  if ((h.transformationType === Ke.PLAIN_TO_CLASS || h.transformationType === Ke.CLASS_TO_CLASS) && // eslint-disable-next-line @typescript-eslint/unbound-method
12697
- (xe && !xe.set || p[E] instanceof Function))
12697
+ (xe && !xe.set || M[E] instanceof Function))
12698
12698
  return "continue";
12699
12699
  }
12700
12700
  if (!h.options.enableCircularCheck || !h.isCircular(R)) {
12701
12701
  var ye = h.transformationType === Ke.PLAIN_TO_CLASS ? E : _, me = void 0;
12702
- h.transformationType === Ke.CLASS_TO_PLAIN ? (me = t[ye], me = h.applyCustomTransformations(me, o, ye, t, h.transformationType), me = t[ye] === me ? R : me, me = h.transform(Me, me, Q, J, $, l + 1)) : R === void 0 && h.options.exposeDefaultValues ? me = p[E] : (me = h.transform(Me, R, Q, J, $, l + 1), me = h.applyCustomTransformations(me, o, ye, t, h.transformationType)), (me !== void 0 || h.options.exposeUnsetFields) && (p instanceof Map ? p.set(E, me) : p[E] = me);
12702
+ h.transformationType === Ke.CLASS_TO_PLAIN ? (me = t[ye], me = h.applyCustomTransformations(me, o, ye, t, h.transformationType), me = t[ye] === me ? R : me, me = h.transform(Me, me, Q, J, $, l + 1)) : R === void 0 && h.options.exposeDefaultValues ? me = M[E] : (me = h.transform(Me, R, Q, J, $, l + 1), me = h.applyCustomTransformations(me, o, ye, t, h.transformationType)), (me !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(E, me) : M[E] = me);
12703
12703
  } else if (h.transformationType === Ke.CLASS_TO_CLASS) {
12704
12704
  var me = R;
12705
- me = h.applyCustomTransformations(me, o, _, t, h.transformationType), (me !== void 0 || h.options.exposeUnsetFields) && (p instanceof Map ? p.set(E, me) : p[E] = me);
12705
+ me = h.applyCustomTransformations(me, o, _, t, h.transformationType), (me !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(E, me) : M[E] = me);
12706
12706
  }
12707
12707
  }, h = this, D = 0, y = g; D < y.length; D++) {
12708
12708
  var N = y[D];
12709
- M(N);
12709
+ p(N);
12710
12710
  }
12711
- return this.options.enableCircularCheck && this.recursionStack.delete(t), p;
12711
+ return this.options.enableCircularCheck && this.recursionStack.delete(t), M;
12712
12712
  } else
12713
12713
  return t;
12714
12714
  }
@@ -12742,30 +12742,30 @@ var Bo = (
12742
12742
  }
12743
12743
  if (!this.options.ignoreDecorators && e) {
12744
12744
  var d = In.getExposedProperties(e, this.transformationType);
12745
- this.transformationType === Ke.PLAIN_TO_CLASS && (d = d.map(function(M) {
12746
- var h = In.findExposeMetadata(e, M);
12747
- return h && h.options && h.options.name ? h.options.name : M;
12745
+ this.transformationType === Ke.PLAIN_TO_CLASS && (d = d.map(function(p) {
12746
+ var h = In.findExposeMetadata(e, p);
12747
+ return h && h.options && h.options.name ? h.options.name : p;
12748
12748
  })), this.options.excludeExtraneousValues ? l = d : l = l.concat(d);
12749
12749
  var g = In.getExcludedProperties(e, this.transformationType);
12750
- g.length > 0 && (l = l.filter(function(M) {
12751
- return !g.includes(M);
12752
- })), this.options.version !== void 0 && (l = l.filter(function(M) {
12753
- var h = In.findExposeMetadata(e, M);
12750
+ g.length > 0 && (l = l.filter(function(p) {
12751
+ return !g.includes(p);
12752
+ })), this.options.version !== void 0 && (l = l.filter(function(p) {
12753
+ var h = In.findExposeMetadata(e, p);
12754
12754
  return !h || !h.options ? !0 : s.checkVersion(h.options.since, h.options.until);
12755
- })), this.options.groups && this.options.groups.length ? l = l.filter(function(M) {
12756
- var h = In.findExposeMetadata(e, M);
12755
+ })), this.options.groups && this.options.groups.length ? l = l.filter(function(p) {
12756
+ var h = In.findExposeMetadata(e, p);
12757
12757
  return !h || !h.options ? !0 : s.checkGroups(h.options.groups);
12758
- }) : l = l.filter(function(M) {
12759
- var h = In.findExposeMetadata(e, M);
12758
+ }) : l = l.filter(function(p) {
12759
+ var h = In.findExposeMetadata(e, p);
12760
12760
  return !h || !h.options || !h.options.groups || !h.options.groups.length;
12761
12761
  });
12762
12762
  }
12763
- return this.options.excludePrefixes && this.options.excludePrefixes.length && (l = l.filter(function(p) {
12764
- return s.options.excludePrefixes.every(function(M) {
12765
- return p.substr(0, M.length) !== M;
12763
+ return this.options.excludePrefixes && this.options.excludePrefixes.length && (l = l.filter(function(M) {
12764
+ return s.options.excludePrefixes.every(function(p) {
12765
+ return M.substr(0, p.length) !== p;
12766
12766
  });
12767
- })), l = l.filter(function(p, M, h) {
12768
- return h.indexOf(p) === M;
12767
+ })), l = l.filter(function(M, p, h) {
12768
+ return h.indexOf(M) === p;
12769
12769
  }), l;
12770
12770
  }, r.prototype.checkVersion = function(e, t) {
12771
12771
  var o = !0;
@@ -13186,12 +13186,12 @@ const nS = (r, e) => ({
13186
13186
  message: `Continue session with session id from LS: ${_}`
13187
13187
  });
13188
13188
  }
13189
- const p = yield e().fetchService.continueSession(
13189
+ const M = yield e().fetchService.continueSession(
13190
13190
  g,
13191
13191
  o
13192
13192
  );
13193
- if (p.code !== 0) {
13194
- const N = "what" in p.data && typeof p.data.what == "string" && p.data.what.length ? p.data.what : null, _ = new br(L({
13193
+ if (M.code !== 0) {
13194
+ const N = "what" in M.data && typeof M.data.what == "string" && M.data.what.length ? M.data.what : null, _ = new br(L({
13195
13195
  errorCode: xr.HTTP_ISSUE
13196
13196
  }, N ? { message: N } : {})), T = new Qt({
13197
13197
  errorCode: Ft.START_SESSION_FAILED,
@@ -13203,11 +13203,11 @@ const nS = (r, e) => ({
13203
13203
  message: `Continue session failed: ${N}`
13204
13204
  }), { error: T };
13205
13205
  }
13206
- const M = Ko.fromPlain(p.data);
13207
- if ("validationErrorMessage" in M) {
13206
+ const p = Ko.fromPlain(M.data);
13207
+ if ("validationErrorMessage" in p) {
13208
13208
  const N = new br({
13209
13209
  errorCode: xr.DECODING_FAILED,
13210
- message: M.validationErrorMessage
13210
+ message: p.validationErrorMessage
13211
13211
  }), _ = new Qt({
13212
13212
  errorCode: Ft.START_SESSION_FAILED,
13213
13213
  underlyingBaseError: N
@@ -13215,18 +13215,18 @@ const nS = (r, e) => ({
13215
13215
  return _e.logSessionEvent({
13216
13216
  module: de,
13217
13217
  logLevel: Ie.ERROR,
13218
- message: `Validate session data failed: ${M.validationErrorMessage}`
13218
+ message: `Validate session data failed: ${p.validationErrorMessage}`
13219
13219
  }), { error: _ };
13220
13220
  }
13221
- const h = M.currentStep;
13222
- return e().setCurrentStepId(h), l ? e()._checkAndSetApiTokenToLs(M.id) : e().setCurrentSessionDataLsAndStore({
13223
- sessionId: M.id,
13221
+ const h = p.currentStep;
13222
+ return e().setCurrentStepId(h), l ? e()._checkAndSetApiTokenToLs(p.id) : e().setCurrentSessionDataLsAndStore({
13223
+ sessionId: p.id,
13224
13224
  workflowId: d
13225
13225
  }), yield e().setNextStep({
13226
- workflow: M.workflow,
13227
- properties: M.properties,
13226
+ workflow: p.workflow,
13227
+ properties: p.properties,
13228
13228
  nextStepId: h,
13229
- locale: M.locale
13229
+ locale: p.locale
13230
13230
  }), _e.logSessionEvent({
13231
13231
  module: de,
13232
13232
  logLevel: Ie.INFO,
@@ -13236,7 +13236,7 @@ const nS = (r, e) => ({
13236
13236
  module: de,
13237
13237
  logLevel: Ie.INFO,
13238
13238
  message: c
13239
- }), M;
13239
+ }), p;
13240
13240
  }),
13241
13241
  initialize(o) {
13242
13242
  return X(this, null, function* () {
@@ -13324,7 +13324,7 @@ const nS = (r, e) => ({
13324
13324
  deviceDescriptor: {
13325
13325
  ttl: c
13326
13326
  }
13327
- }, p = Ri.getAuthTokenLs(), M = p && p[o.apiKey] && p[o.apiKey].authToken ? p[o.apiKey] : null, h = M && M.authToken, D = yield e().connectByApiKey(g);
13327
+ }, M = Ri.getAuthTokenLs(), p = M && M[o.apiKey] && M[o.apiKey].authToken ? M[o.apiKey] : null, h = p && p.authToken, D = yield e().connectByApiKey(g);
13328
13328
  if (D.error) {
13329
13329
  const _ = new $t({
13330
13330
  errorCode: Wt.CONNECTION_ISSUE,
@@ -13341,7 +13341,7 @@ const nS = (r, e) => ({
13341
13341
  logLevel: Ie.INFO,
13342
13342
  message: "Removed old session from LS because new api token will not work with old session id"
13343
13343
  }));
13344
- const y = M && D.authToken === M.authToken && M, N = y ? y.tokenExpiresAt : Date.now() + c * 1e3;
13344
+ const y = p && D.authToken === p.authToken && p, N = y ? y.tokenExpiresAt : Date.now() + c * 1e3;
13345
13345
  return _e.logSessionEvent({
13346
13346
  module: de,
13347
13347
  logLevel: Ie.INFO,
@@ -13600,14 +13600,14 @@ const nS = (r, e) => ({
13600
13600
  message: `Workflow decoding failed: ${l.validationErrorMessage}`
13601
13601
  }), { error: N };
13602
13602
  }
13603
- const d = e().externalModules, c = l.steps, { isAllTemplatesSupported: g, unsupportedSteps: p } = FT(d, c);
13603
+ const d = e().externalModules, c = l.steps, { isAllTemplatesSupported: g, unsupportedSteps: M } = FT(d, c);
13604
13604
  g || _e.logSessionEvent({
13605
13605
  module: de,
13606
13606
  logLevel: Ie.DEBUG,
13607
- message: `Warning. Unsupported steps found: ${p}`
13607
+ message: `Warning. Unsupported steps found: ${M}`
13608
13608
  });
13609
- const M = (D = e().workflow) == null ? void 0 : D.id;
13610
- M && o !== M && d.forEach((y) => {
13609
+ const p = (D = e().workflow) == null ? void 0 : D.id;
13610
+ p && o !== p && d.forEach((y) => {
13611
13611
  y.component.deinitialize();
13612
13612
  });
13613
13613
  const h = e().modulesConfig;
@@ -13660,8 +13660,8 @@ const nS = (r, e) => ({
13660
13660
  jn && jn.close(), o(R);
13661
13661
  };
13662
13662
  e().setWorkflowSessionCompletion(g);
13663
- const p = e().startConfig, M = "apiKey" in p && typeof p.apiKey == "string", h = e().apiKeyAuthTokenCollection;
13664
- if (M && "tokenExpiresAt" in h) {
13663
+ const M = e().startConfig, p = "apiKey" in M && typeof M.apiKey == "string", h = e().apiKeyAuthTokenCollection;
13664
+ if (p && "tokenExpiresAt" in h) {
13665
13665
  const R = h.tokenExpiresAt && typeof h.tokenExpiresAt == "number" ? h.tokenExpiresAt : 0;
13666
13666
  if (Date.now() > R) {
13667
13667
  _e.logSessionEvent({
@@ -13670,13 +13670,15 @@ const nS = (r, e) => ({
13670
13670
  message: "API key TTL expired. Trying to connect by api key"
13671
13671
  });
13672
13672
  const $ = yield e().connectByApiKey({
13673
- apiKey: p.apiKey,
13674
- host: p.host,
13673
+ apiKey: M.apiKey,
13674
+ host: M.host,
13675
13675
  deviceDescriptor: {
13676
13676
  ttl: e()._ttl
13677
- }
13677
+ },
13678
+ isSecure: M.isSecure,
13679
+ port: M.port
13678
13680
  });
13679
- if (Ri.removeAuthTokenLs(p.apiKey), _e.logSessionEvent({
13681
+ if (Ri.removeAuthTokenLs(M.apiKey), _e.logSessionEvent({
13680
13682
  module: de,
13681
13683
  logLevel: Ie.INFO,
13682
13684
  message: "Removed old session from LS because new api token will not work with old session id"
@@ -13694,7 +13696,7 @@ const nS = (r, e) => ({
13694
13696
  if ($ && "authToken" in $) {
13695
13697
  const Z = Date.now() + e()._ttl * 1e3;
13696
13698
  e().setApiKeyAuthTokenCollection(
13697
- p.apiKey,
13699
+ M.apiKey,
13698
13700
  $.authToken,
13699
13701
  Z
13700
13702
  ), _e.logSessionEvent({
@@ -13780,7 +13782,7 @@ const nS = (r, e) => ({
13780
13782
  module: de,
13781
13783
  logLevel: Ie.INFO,
13782
13784
  message: "Successfully validate session data"
13783
- }), M ? e()._checkAndSetApiTokenToLs(E.id) : e().setCurrentSessionDataLsAndStore({ sessionId: E.id, workflowId: c });
13785
+ }), p ? e()._checkAndSetApiTokenToLs(E.id) : e().setCurrentSessionDataLsAndStore({ sessionId: E.id, workflowId: c });
13784
13786
  const S = E.currentStep;
13785
13787
  return e().setCurrentStepId(S), _e.logSessionEvent({
13786
13788
  module: de,
@@ -13819,24 +13821,24 @@ function rS(r, e, t) {
13819
13821
  t.value = function(s, a) {
13820
13822
  return X(this, null, function* () {
13821
13823
  var D, y;
13822
- const l = ((D = a == null ? void 0 : a.method) != null ? D : "GET").toUpperCase(), d = (y = a == null ? void 0 : a.headers) == null ? void 0 : y.authorization, c = yield o.call(this, s, a), g = c.status, p = `${l} ${s} ${g} ${d ? `AuthorizationHeader: ${d}` : ""}`, M = !0;
13824
+ const l = ((D = a == null ? void 0 : a.method) != null ? D : "GET").toUpperCase(), d = (y = a == null ? void 0 : a.headers) == null ? void 0 : y.authorization, c = yield o.call(this, s, a), g = c.status, M = `${l} ${s} ${g} ${d ? `AuthorizationHeader: ${d}` : ""}`, p = !0;
13823
13825
  if (g !== 200)
13824
13826
  return _e.logSessionEvent(
13825
13827
  {
13826
13828
  logLevel: Ie.ERROR,
13827
13829
  module: de,
13828
- message: `${p} response: ${c.statusText}`
13830
+ message: `${M} response: ${c.statusText}`
13829
13831
  },
13830
- M
13832
+ p
13831
13833
  ), c;
13832
13834
  const h = yield c.clone().json();
13833
13835
  return _e.logSessionEvent(
13834
13836
  {
13835
13837
  logLevel: Ie.DEBUG,
13836
13838
  module: de,
13837
- message: `${p} response: ${JSON.stringify(h)}`
13839
+ message: `${M} response: ${JSON.stringify(h)}`
13838
13840
  },
13839
- M
13841
+ p
13840
13842
  ), c;
13841
13843
  });
13842
13844
  };
@@ -14075,8 +14077,8 @@ class zp {
14075
14077
  try {
14076
14078
  if (c = yield l.json(), !(c != null && c.id)) return { code: 6, data: d };
14077
14079
  } catch (g) {
14078
- const p = this._getErrorTextFromError(g);
14079
- return d.what = p, { code: 6, data: d };
14080
+ const M = this._getErrorTextFromError(g);
14081
+ return d.what = M, { code: 6, data: d };
14080
14082
  }
14081
14083
  return { code: 0, data: c };
14082
14084
  } catch (l) {
@@ -14092,30 +14094,30 @@ class zp {
14092
14094
  // workflow and extract the workflow from it. This happens before startWorkflow, so the locale is not yet available.
14093
14095
  _fetchSessionState(e, t, o) {
14094
14096
  return X(this, null, function* () {
14095
- var g, p;
14096
- const a = `${this._origin}/api/sessions/${t || ((g = this._session) == null ? void 0 : g.id)}`, l = o || ((p = this._session) == null ? void 0 : p.locale), d = l ? `?locale=${l}` : "", c = `${a}${d}`;
14097
+ var g, M;
14098
+ const a = `${this._origin}/api/sessions/${t || ((g = this._session) == null ? void 0 : g.id)}`, l = o || ((M = this._session) == null ? void 0 : M.locale), d = l ? `?locale=${l}` : "", c = `${a}${d}`;
14097
14099
  try {
14098
- const M = yield this._httpFetch(c, {
14100
+ const p = yield this._httpFetch(c, {
14099
14101
  headers: {
14100
14102
  authorization: e,
14101
14103
  "content-type": "application/json"
14102
14104
  },
14103
14105
  method: "GET"
14104
- }), h = { httpCode: M.status, method: "GET", url: c };
14105
- if (!M.ok) {
14106
- const y = yield this._getResponseTextFromBadResponse(M);
14106
+ }), h = { httpCode: p.status, method: "GET", url: c };
14107
+ if (!p.ok) {
14108
+ const y = yield this._getResponseTextFromBadResponse(p);
14107
14109
  return y && (h.what = y), { code: 5, data: h };
14108
14110
  }
14109
14111
  let D;
14110
14112
  try {
14111
- if (D = yield M.json(), !(D != null && D.id)) return { code: 6, data: h };
14113
+ if (D = yield p.json(), !(D != null && D.id)) return { code: 6, data: h };
14112
14114
  } catch (y) {
14113
14115
  const N = this._getErrorTextFromError(y);
14114
14116
  return h.what = N, { code: 6, data: h };
14115
14117
  }
14116
14118
  return { code: 0, data: D };
14117
- } catch (M) {
14118
- const h = this._getErrorTextFromError(M);
14119
+ } catch (p) {
14120
+ const h = this._getErrorTextFromError(p);
14119
14121
  return { code: 4, data: { httpCode: 0, method: "GET", url: c, what: h } };
14120
14122
  }
14121
14123
  });
@@ -14133,15 +14135,15 @@ class zp {
14133
14135
  method: "GET"
14134
14136
  }), c = { httpCode: d.status, method: "GET", url: l };
14135
14137
  if (!d.ok) {
14136
- const p = yield this._getResponseTextFromBadResponse(d);
14137
- return p && (c.what = p), { code: 5, data: c };
14138
+ const M = yield this._getResponseTextFromBadResponse(d);
14139
+ return M && (c.what = M), { code: 5, data: c };
14138
14140
  }
14139
14141
  let g;
14140
14142
  try {
14141
14143
  if (g = yield d.json(), !g) return { code: 6, data: c };
14142
- } catch (p) {
14143
- const M = this._getErrorTextFromError(p);
14144
- return c.what = M, { code: 6, data: c };
14144
+ } catch (M) {
14145
+ const p = this._getErrorTextFromError(M);
14146
+ return c.what = p, { code: 6, data: c };
14145
14147
  }
14146
14148
  return { code: 0, data: g };
14147
14149
  } catch (d) {
@@ -14180,31 +14182,31 @@ class zp {
14180
14182
  }
14181
14183
  _fetchStep(e, t, o, s) {
14182
14184
  return X(this, null, function* () {
14183
- var p;
14184
- const a = "POST", l = L({}, s && { type: s }), c = new URLSearchParams(l).toString(), g = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${t}${c ? `?${c}` : ""}`;
14185
+ var M;
14186
+ const a = "POST", l = L({}, s && { type: s }), c = new URLSearchParams(l).toString(), g = `${this._origin}/api/sessions/${(M = this._session) == null ? void 0 : M.id}/step/${t}${c ? `?${c}` : ""}`;
14185
14187
  try {
14186
- const M = yield this._httpFetch(g, {
14188
+ const p = yield this._httpFetch(g, {
14187
14189
  headers: {
14188
14190
  authorization: e,
14189
14191
  "content-type": "application/json"
14190
14192
  },
14191
14193
  body: JSON.stringify(o),
14192
14194
  method: a
14193
- }), h = { httpCode: M.status, method: a, url: g };
14194
- if (!M.ok) {
14195
- const y = yield this._getResponseTextFromBadResponse(M);
14195
+ }), h = { httpCode: p.status, method: a, url: g };
14196
+ if (!p.ok) {
14197
+ const y = yield this._getResponseTextFromBadResponse(p);
14196
14198
  return y && (h.what = y), { code: 5, data: h };
14197
14199
  }
14198
14200
  let D;
14199
14201
  try {
14200
- if (D = yield M.json(), !D) return { code: 6, data: h };
14202
+ if (D = yield p.json(), !D) return { code: 6, data: h };
14201
14203
  } catch (y) {
14202
14204
  const N = this._getErrorTextFromError(y);
14203
14205
  return h.what = N, { code: 6, data: h };
14204
14206
  }
14205
14207
  return { code: 0, data: D };
14206
- } catch (M) {
14207
- const h = this._getErrorTextFromError(M);
14208
+ } catch (p) {
14209
+ const h = this._getErrorTextFromError(p);
14208
14210
  return { code: 4, data: { httpCode: 0, method: a, url: g, what: h } };
14209
14211
  }
14210
14212
  });
@@ -14230,8 +14232,8 @@ class zp {
14230
14232
  try {
14231
14233
  if (c = yield l.json(), !c) return { code: 6, data: d };
14232
14234
  } catch (g) {
14233
- const p = this._getErrorTextFromError(g);
14234
- return d.what = p, { code: 6, data: d };
14235
+ const M = this._getErrorTextFromError(g);
14236
+ return d.what = M, { code: 6, data: d };
14235
14237
  }
14236
14238
  return { code: 0, data: c };
14237
14239
  } catch (l) {
@@ -14399,8 +14401,8 @@ const aS = 3e4, Pi = class Pi {
14399
14401
  return X(this, null, function* () {
14400
14402
  return new Promise((o) => {
14401
14403
  let s = null, a = null, l = !1;
14402
- const d = t ? t * 1e3 : aS, c = (p) => {
14403
- l || (l = !0, g(), o(p));
14404
+ const d = t ? t * 1e3 : aS, c = (M) => {
14405
+ l || (l = !0, g(), o(M));
14404
14406
  }, g = () => {
14405
14407
  a !== null && (clearTimeout(a), a = null), s && (s.onload = null, s.onerror = null, s = null);
14406
14408
  };
@@ -14410,11 +14412,11 @@ const aS = 3e4, Pi = class Pi {
14410
14412
  if (!(s != null && s.decode)) return c(!0);
14411
14413
  try {
14412
14414
  yield s.decode();
14413
- } catch (p) {
14415
+ } catch (M) {
14414
14416
  }
14415
14417
  Pi.decodedImages.set(e, s), c(!0);
14416
14418
  }), s.onerror = () => c(!1), s.src = e;
14417
- } catch (p) {
14419
+ } catch (M) {
14418
14420
  c(!1);
14419
14421
  }
14420
14422
  });
@@ -14514,10 +14516,10 @@ const uS = (r, e) => ({
14514
14516
  results: d
14515
14517
  }, a.error && { error: a.error });
14516
14518
  if (e().removeCurrentSessionDataLsAndStore(), o(c), a.error) {
14517
- const p = JSON.stringify(a.error);
14519
+ const M = JSON.stringify(a.error);
14518
14520
  e().fetchService.pushLogs({
14519
14521
  body: {
14520
- log: p,
14522
+ log: M,
14521
14523
  errorCode: a.error.shortChain,
14522
14524
  deviceInfo: { platform: "Web" }
14523
14525
  }
@@ -14551,15 +14553,15 @@ const uS = (r, e) => ({
14551
14553
  let l = null;
14552
14554
  return yield kT(() => X(null, null, function* () {
14553
14555
  const g = yield e().fetchService.pushData(o, s, a);
14554
- let p = null;
14555
- if (g.code === 4 && (p = Vn.HTTP_ISSUE), g.code !== 0 && g.code !== 4 && (p = Vn.PROVIDER_ERROR), p !== null) {
14556
- const M = new ki({
14556
+ let M = null;
14557
+ if (g.code === 4 && (M = Vn.HTTP_ISSUE), g.code !== 0 && g.code !== 4 && (M = Vn.PROVIDER_ERROR), M !== null) {
14558
+ const p = new ki({
14557
14559
  errorCode: Vn.HTTP_ISSUE
14558
14560
  });
14559
14561
  l = new Qt({
14560
14562
  errorCode: Ft.INTERNAL_ISSUE,
14561
14563
  message: "Error from external module",
14562
- underlyingBaseError: M
14564
+ underlyingBaseError: p
14563
14565
  });
14564
14566
  }
14565
14567
  return g.code === 0 ? (l = null, g) : null;
@@ -14574,9 +14576,9 @@ const uS = (r, e) => ({
14574
14576
  _getSessionStateNextStepConditionResult: () => X(null, null, function* () {
14575
14577
  const o = yield e().fetchService.getSessionState(), s = o.code;
14576
14578
  if (s !== 0) {
14577
- let M;
14578
- s === 4 ? M = Vn.HTTP_ISSUE : s === 5 ? M = Vn.PROVIDER_ERROR : M = Vn.DECODING_FAILED;
14579
- const h = new ki({ errorCode: M });
14579
+ let p;
14580
+ s === 4 ? p = Vn.HTTP_ISSUE : s === 5 ? p = Vn.PROVIDER_ERROR : p = Vn.DECODING_FAILED;
14581
+ const h = new ki({ errorCode: p });
14580
14582
  return { error: new Qt({
14581
14583
  errorCode: Ft.INTERNAL_ISSUE,
14582
14584
  underlyingBaseError: h
@@ -14584,21 +14586,21 @@ const uS = (r, e) => ({
14584
14586
  }
14585
14587
  const a = Ko.fromPlain(o.data);
14586
14588
  if ("validationErrorMessage" in a) {
14587
- const M = new ki({
14589
+ const p = new ki({
14588
14590
  errorCode: Vn.DECODING_FAILED
14589
14591
  });
14590
14592
  return { error: new Qt({
14591
14593
  errorCode: Ft.INTERNAL_ISSUE,
14592
- underlyingBaseError: M
14594
+ underlyingBaseError: p
14593
14595
  }), shouldRetry: !0 };
14594
14596
  }
14595
14597
  const l = a.currentStep, d = a.workflow.steps, c = a.isProcessingFiles, g = PT(d, l);
14596
- let p = null;
14597
- if (g || (p = Vn.NOT_DATA_TYPE), c && (p = Vn.IS_PROCESSING), p !== null) {
14598
- const M = new ki({ errorCode: p });
14598
+ let M = null;
14599
+ if (g || (M = Vn.NOT_DATA_TYPE), c && (M = Vn.IS_PROCESSING), M !== null) {
14600
+ const p = new ki({ errorCode: M });
14599
14601
  return { error: new Qt({
14600
14602
  errorCode: Ft.INTERNAL_ISSUE,
14601
- underlyingBaseError: M
14603
+ underlyingBaseError: p
14602
14604
  }), shouldRetry: !0 };
14603
14605
  }
14604
14606
  return a;
@@ -14608,8 +14610,8 @@ const uS = (r, e) => ({
14608
14610
  let o = {};
14609
14611
  const a = ((d = e().workflow) == null ? void 0 : d.sessionUpdateTimeout) || 60;
14610
14612
  return yield new Promise((c) => {
14611
- const p = Math.round(a * 1e3 / 1e4);
14612
- let M = 0, h;
14613
+ const M = Math.round(a * 1e3 / 1e4);
14614
+ let p = 0, h;
14613
14615
  const D = (y) => X(null, null, function* () {
14614
14616
  if (y) {
14615
14617
  h = window.setTimeout(() => {
@@ -14617,7 +14619,7 @@ const uS = (r, e) => ({
14617
14619
  }, 1e4);
14618
14620
  return;
14619
14621
  }
14620
- o = yield e()._getSessionStateNextStepConditionResult(), M++, "shouldRetry" in o && M < p ? h = window.setTimeout(() => {
14622
+ o = yield e()._getSessionStateNextStepConditionResult(), p++, "shouldRetry" in o && p < M ? h = window.setTimeout(() => {
14621
14623
  D(!1);
14622
14624
  }, 1e4) : (jn.clearSubscriptions(), c());
14623
14625
  });
@@ -14661,8 +14663,8 @@ const uS = (r, e) => ({
14661
14663
  jn.clearSubscriptions();
14662
14664
  let c = {};
14663
14665
  const g = 5;
14664
- let p = 0;
14665
- for (; p < g && (p > 0 && (yield Eh(1e3 * p)), p++, c = yield e()._getSessionStateNextStepConditionResult(), !("shouldRetry" in c && !c.shouldRetry)); )
14666
+ let M = 0;
14667
+ for (; M < g && (M > 0 && (yield Eh(1e3 * M)), M++, c = yield e()._getSessionStateNextStepConditionResult(), !("shouldRetry" in c && !c.shouldRetry)); )
14666
14668
  ;
14667
14669
  if ("error" in c && c.error) {
14668
14670
  e().workflowSessionCompletion({
@@ -14671,8 +14673,8 @@ const uS = (r, e) => ({
14671
14673
  return;
14672
14674
  }
14673
14675
  if (Ko.isSessionModel(c)) {
14674
- const { workflow: M, properties: h, currentStep: D, locale: y } = c;
14675
- yield e().setNextStep({ workflow: M, properties: h, nextStepId: D, locale: y });
14676
+ const { workflow: p, properties: h, currentStep: D, locale: y } = c;
14677
+ yield e().setNextStep({ workflow: p, properties: h, nextStepId: D, locale: y });
14676
14678
  }
14677
14679
  }
14678
14680
  }), a = () => X(null, null, function* () {
@@ -14686,8 +14688,8 @@ const uS = (r, e) => ({
14686
14688
  return;
14687
14689
  }
14688
14690
  if (Ko.isSessionModel(l) && l.currentStep !== e().currentStepId) {
14689
- const { workflow: g, properties: p, currentStep: M, locale: h } = l;
14690
- jn.clearSubscriptions(), yield e().setNextStep({ workflow: g, properties: p, nextStepId: M, locale: h });
14691
+ const { workflow: g, properties: M, currentStep: p, locale: h } = l;
14692
+ jn.clearSubscriptions(), yield e().setNextStep({ workflow: g, properties: M, nextStepId: p, locale: h });
14691
14693
  }
14692
14694
  });
14693
14695
  jn.onMessage(s), jn.onReconnect(a);
@@ -14696,7 +14698,7 @@ const uS = (r, e) => ({
14696
14698
  },
14697
14699
  setNextStep: (d) => X(null, [d], function* ({ workflow: o, properties: s, nextStepId: a, locale: l }) {
14698
14700
  e().setWorkflow(o), e().setSessionProperties(s), e().setLocale(l);
14699
- const c = e()._findStepById(a), g = (p) => !!p && Object.prototype.toString.call(p) === "[object Object]" && p.templateId;
14701
+ const c = e()._findStepById(a), g = (M) => !!M && Object.prototype.toString.call(M) === "[object Object]" && M.templateId;
14700
14702
  if (c != null && c.releaseClientApp && !g(c.client)) {
14701
14703
  e().setFinalStepAndStopProcess(c.id);
14702
14704
  return;
@@ -14744,11 +14746,11 @@ const uS = (r, e) => ({
14744
14746
  }), e().resetSession();
14745
14747
  return;
14746
14748
  }
14747
- const { workflow: c, properties: g, currentStep: p, locale: M } = d.sessionData;
14748
- yield e().setNextStep({ workflow: c, properties: g, nextStepId: p, locale: M });
14749
+ const { workflow: c, properties: g, currentStep: M, locale: p } = d.sessionData;
14750
+ yield e().setNextStep({ workflow: c, properties: g, nextStepId: M, locale: p });
14749
14751
  }),
14750
14752
  prepareScreenConfigAndShowStep: (o) => X(null, null, function* () {
14751
- var g, p, M, h, D;
14753
+ var g, M, p, h, D;
14752
14754
  if (!o) return r(() => ({ currentScreenConfig: null }));
14753
14755
  const s = e().workflow;
14754
14756
  if (!s) return r(() => ({ currentScreenConfig: null }));
@@ -14766,11 +14768,11 @@ const uS = (r, e) => ({
14766
14768
  const y = e()._findStepById(o);
14767
14769
  if (typeof ((g = y == null ? void 0 : y.client) == null ? void 0 : g.templateId) == "string" && (l = ue(L({}, y.client), {
14768
14770
  templateId: y.client.templateId,
14769
- dataSource: (p = y.dataSource) != null ? p : null,
14771
+ dataSource: (M = y.dataSource) != null ? M : null,
14770
14772
  properties: a,
14771
14773
  stepType: y.type,
14772
14774
  locale: e().locale
14773
- })), l && (l.sessionId = (M = e().currentSessionData) == null ? void 0 : M.sessionId, l.serviceToken = e().serviceToken), l && BT((h = y == null ? void 0 : y.client) == null ? void 0 : h.templateLayout)) {
14775
+ })), l && (l.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, l.serviceToken = e().serviceToken), l && BT((h = y == null ? void 0 : y.client) == null ? void 0 : h.templateLayout)) {
14774
14776
  const N = (D = e().workflow) == null ? void 0 : D.client.layout, _ = Ah(y.client.templateLayout, N);
14775
14777
  _ && (l.templateLayout = _);
14776
14778
  }
@@ -14930,7 +14932,7 @@ function fS() {
14930
14932
  /* 1 */
14931
14933
  /***/
14932
14934
  (function(e, t, o) {
14933
- var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), p = g.checkType, M = g.broPayload, h = g.mobilePayload, D = g.wearPayload, y = g.consolePayload, N = g.stvPayload, _ = g.getNavigatorInstance, T = g.isIOS13Check, E = new s(), S = E.getBrowser(), v = E.getDevice(), R = E.getEngine(), Q = E.getOS(), $ = E.getUA(), Z = l.CHROME, Oe = l.CHROMIUM, ee = l.IE, ae = l.INTERNET_EXPLORER, J = l.OPERA, Me = l.FIREFOX, xe = l.SAFARI, ye = l.EDGE, me = l.YANDEX, ke = l.MOBILE_SAFARI, Ce = c.MOBILE, le = c.TABLET, te = c.SMART_TV, Ae = c.BROWSER, Te = c.WEARABLE, it = c.CONSOLE, Pe = d.ANDROID, se = d.WINDOWS_PHONE, we = d.IOS, Lt = d.WINDOWS, Ut = d.MAC_OS, Gt = function() {
14935
+ var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), M = g.checkType, p = g.broPayload, h = g.mobilePayload, D = g.wearPayload, y = g.consolePayload, N = g.stvPayload, _ = g.getNavigatorInstance, T = g.isIOS13Check, E = new s(), S = E.getBrowser(), v = E.getDevice(), R = E.getEngine(), Q = E.getOS(), $ = E.getUA(), Z = l.CHROME, Oe = l.CHROMIUM, ee = l.IE, ae = l.INTERNET_EXPLORER, J = l.OPERA, Me = l.FIREFOX, xe = l.SAFARI, ye = l.EDGE, me = l.YANDEX, ke = l.MOBILE_SAFARI, Ce = c.MOBILE, le = c.TABLET, te = c.SMART_TV, Ae = c.BROWSER, Te = c.WEARABLE, it = c.CONSOLE, Pe = d.ANDROID, se = d.WINDOWS_PHONE, we = d.IOS, Lt = d.WINDOWS, Ut = d.MAC_OS, Gt = function() {
14934
14936
  return v.type === Ce;
14935
14937
  }, zt = function() {
14936
14938
  return v.type === le;
@@ -15014,11 +15016,11 @@ function fS() {
15014
15016
  return $;
15015
15017
  }, to = function() {
15016
15018
  return v.type;
15017
- }, no = dn(), Ai = Zt(), ro = It(), lr = ve() || Ne(), io = re(), Kt = _n() || Ne(), oo = Gt(), Jr = zt() || Ne(), so = Gn(), ao = ar(), uo = on(), lo = j() || Ne(), co = U(), fo = Y(), as = pe(), us = Ee(), Dr = Ze(), go = Se(), ho = St(), Mo = ht(), ls = Ve(), po = ur(), Io = Nr(), Ar = Ni(), cs = Di(), Xr = qi(), ds = eo(), fs = ne() || rn(), yo = q(), No = to(), Do = be(), Ao = Ne(), gs = Ye(), hs = yt(), Ms = je(), ps = rn(), _o = ne(), mo = mt(), To = mn(), fn = p(v.type);
15019
+ }, no = dn(), Ai = Zt(), ro = It(), lr = ve() || Ne(), io = re(), Kt = _n() || Ne(), oo = Gt(), Jr = zt() || Ne(), so = Gn(), ao = ar(), uo = on(), lo = j() || Ne(), co = U(), fo = Y(), as = pe(), us = Ee(), Dr = Ze(), go = Se(), ho = St(), Mo = ht(), ls = Ve(), po = ur(), Io = Nr(), Ar = Ni(), cs = Di(), Xr = qi(), ds = eo(), fs = ne() || rn(), yo = q(), No = to(), Do = be(), Ao = Ne(), gs = Ye(), hs = yt(), Ms = je(), ps = rn(), _o = ne(), mo = mt(), To = mn(), fn = M(v.type);
15018
15020
  function Is() {
15019
15021
  var Fe = fn.isBrowser, Jt = fn.isMobile, _r = fn.isTablet, Eo = fn.isSmartTV, _i = fn.isConsole, mi = fn.isWearable;
15020
15022
  if (Fe)
15021
- return M(Fe, S, R, Q, $);
15023
+ return p(Fe, S, R, Q, $);
15022
15024
  if (Eo)
15023
15025
  return N(Eo, R, Q, $);
15024
15026
  if (_i)
@@ -15076,7 +15078,7 @@ function fS() {
15076
15078
  (function(e, t, o) {
15077
15079
  var s;
15078
15080
  (function(a, l) {
15079
- var d = "0.7.18", c = "", g = "?", p = "function", M = "undefined", h = "object", D = "string", y = "major", N = "model", _ = "name", T = "type", E = "vendor", S = "version", v = "architecture", R = "console", Q = "mobile", $ = "tablet", Z = "smarttv", Oe = "wearable", ee = "embedded", ae = { extend: function(Ce, le) {
15081
+ var d = "0.7.18", c = "", g = "?", M = "function", p = "undefined", h = "object", D = "string", y = "major", N = "model", _ = "name", T = "type", E = "vendor", S = "version", v = "architecture", R = "console", Q = "mobile", $ = "tablet", Z = "smarttv", Oe = "wearable", ee = "embedded", ae = { extend: function(Ce, le) {
15080
15082
  var te = {};
15081
15083
  for (var Ae in Ce)
15082
15084
  le[Ae] && le[Ae].length % 2 === 0 ? te[Ae] = le[Ae].concat(Ce[Ae]) : te[Ae] = Ce[Ae];
@@ -15095,7 +15097,7 @@ function fS() {
15095
15097
  for (Ae = Te = 0; Ae < Lt.length && !se; )
15096
15098
  if (se = Lt[Ae++].exec(Ce), se)
15097
15099
  for (it = 0; it < Ut.length; it++)
15098
- we = se[++Te], Pe = Ut[it], typeof Pe === h && Pe.length > 0 ? Pe.length == 2 ? typeof Pe[1] == p ? this[Pe[0]] = Pe[1].call(this, we) : this[Pe[0]] = Pe[1] : Pe.length == 3 ? typeof Pe[1] === p && !(Pe[1].exec && Pe[1].test) ? this[Pe[0]] = we ? Pe[1].call(this, we, Pe[2]) : l : this[Pe[0]] = we ? we.replace(Pe[1], Pe[2]) : l : Pe.length == 4 && (this[Pe[0]] = we ? Pe[3].call(this, we.replace(Pe[1], Pe[2])) : l) : this[Pe] = we || l;
15100
+ we = se[++Te], Pe = Ut[it], typeof Pe === h && Pe.length > 0 ? Pe.length == 2 ? typeof Pe[1] == M ? this[Pe[0]] = Pe[1].call(this, we) : this[Pe[0]] = Pe[1] : Pe.length == 3 ? typeof Pe[1] === M && !(Pe[1].exec && Pe[1].test) ? this[Pe[0]] = we ? Pe[1].call(this, we, Pe[2]) : l : this[Pe[0]] = we ? we.replace(Pe[1], Pe[2]) : l : Pe.length == 4 && (this[Pe[0]] = we ? Pe[3].call(this, we.replace(Pe[1], Pe[2])) : l) : this[Pe] = we || l;
15099
15101
  te += 2;
15100
15102
  }
15101
15103
  }, str: function(Ce, le) {
@@ -15134,11 +15136,11 @@ function fS() {
15134
15136
  return te = Te, this;
15135
15137
  }, this;
15136
15138
  };
15137
- ye.VERSION = d, ye.BROWSER = { NAME: _, MAJOR: y, VERSION: S }, ye.CPU = { ARCHITECTURE: v }, ye.DEVICE = { MODEL: N, VENDOR: E, TYPE: T, CONSOLE: R, MOBILE: Q, SMARTTV: Z, TABLET: $, WEARABLE: Oe, EMBEDDED: ee }, ye.ENGINE = { NAME: _, VERSION: S }, ye.OS = { NAME: _, VERSION: S }, typeof t !== M ? (typeof e !== M && e.exports && (t = e.exports = ye), t.UAParser = ye) : o(3) ? (s = (function() {
15139
+ ye.VERSION = d, ye.BROWSER = { NAME: _, MAJOR: y, VERSION: S }, ye.CPU = { ARCHITECTURE: v }, ye.DEVICE = { MODEL: N, VENDOR: E, TYPE: T, CONSOLE: R, MOBILE: Q, SMARTTV: Z, TABLET: $, WEARABLE: Oe, EMBEDDED: ee }, ye.ENGINE = { NAME: _, VERSION: S }, ye.OS = { NAME: _, VERSION: S }, typeof t !== p ? (typeof e !== p && e.exports && (t = e.exports = ye), t.UAParser = ye) : o(3) ? (s = (function() {
15138
15140
  return ye;
15139
15141
  }).call(t, o, t, e), s !== l && (e.exports = s)) : a && (a.UAParser = ye);
15140
15142
  var me = a && (a.jQuery || a.Zepto);
15141
- if (typeof me !== M) {
15143
+ if (typeof me !== p) {
15142
15144
  var ke = new ye();
15143
15145
  me.ua = ke.getResult(), me.ua.get = function() {
15144
15146
  return ke.getUA();
@@ -15200,7 +15202,7 @@ function fS() {
15200
15202
  osVersion: v.version,
15201
15203
  userAgent: R
15202
15204
  };
15203
- }, p = function(T, E, S, v) {
15205
+ }, M = function(T, E, S, v) {
15204
15206
  return s({}, T, {
15205
15207
  vendor: E.vendor,
15206
15208
  model: E.model,
@@ -15208,7 +15210,7 @@ function fS() {
15208
15210
  osVersion: S.version,
15209
15211
  ua: v
15210
15212
  });
15211
- }, M = function(T, E, S, v) {
15213
+ }, p = function(T, E, S, v) {
15212
15214
  return {
15213
15215
  isSmartTV: T,
15214
15216
  engineName: E.name,
@@ -15244,8 +15246,8 @@ function fS() {
15244
15246
  e.exports = {
15245
15247
  checkType: c,
15246
15248
  broPayload: g,
15247
- mobilePayload: p,
15248
- stvPayload: M,
15249
+ mobilePayload: M,
15250
+ stvPayload: p,
15249
15251
  consolePayload: h,
15250
15252
  wearPayload: D,
15251
15253
  getNavigatorInstance: y,
@@ -15381,7 +15383,7 @@ const wd = class wd extends $s {
15381
15383
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = $h(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
15382
15384
  }
15383
15385
  get version() {
15384
- return `${"3.6.330-nightly".trim()}`;
15386
+ return `${"3.6.331-nightly".trim()}`;
15385
15387
  }
15386
15388
  disconnectedCallback() {
15387
15389
  var e;
@@ -15455,11 +15457,11 @@ class OS {
15455
15457
  var s;
15456
15458
  const o = ((s = tn.getState().workflow) == null ? void 0 : s.trackLocation) ? yield ZT() : null;
15457
15459
  return new Promise((a) => {
15458
- const l = (p) => {
15459
- a(p);
15460
+ const l = (M) => {
15461
+ a(M);
15460
15462
  }, d = e == null ? void 0 : e.locale, c = e == null ? void 0 : e.metadata, g = $T(d);
15461
- tn.getState().startNewSession({ completion: l, locale: g, metadata: c, location: o }).then((p) => {
15462
- p.error && (tn.getState().removeCurrentSessionDataLsAndStore(), l(p)), p.results && (tn.getState().removeCurrentSessionDataLsAndStore(), l(p));
15463
+ tn.getState().startNewSession({ completion: l, locale: g, metadata: c, location: o }).then((M) => {
15464
+ M.error && (tn.getState().removeCurrentSessionDataLsAndStore(), l(M)), M.results && (tn.getState().removeCurrentSessionDataLsAndStore(), l(M));
15463
15465
  });
15464
15466
  });
15465
15467
  });
@@ -15471,7 +15473,7 @@ class OS {
15471
15473
  }
15472
15474
  /** service commands */
15473
15475
  get version() {
15474
- return "3.6.330-nightly";
15476
+ return "3.6.331-nightly";
15475
15477
  }
15476
15478
  set nonce(e) {
15477
15479
  tn.getState().setNonce(e);