@regulaforensics/idv-capture-web 3.2.254-nightly → 3.2.255-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
@@ -344,8 +344,8 @@ const Yl = (t, e) => {
344
344
  const l = t[a];
345
345
  let d, p, h = -1, c = 0;
346
346
  for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Go : p[1] !== void 0 ? s = qo : p[2] !== void 0 ? (ea.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir, h = -1) : p[1] === void 0 ? h = -2 : (h = s.lastIndex - p[2].length, d = p[1], s = p[3] === void 0 ? Qt : p[3] === '"' ? Yo : Zo) : s === Yo || s === Zo ? s = Qt : s === Go || s === qo ? s = Ir : (s = Qt, i = void 0);
347
- const w = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
348
- o += s === Ir ? l + Gl : h >= 0 ? (n.push(d), l.slice(0, h) + Xs + l.slice(h) + Gt + w) : l + Gt + (h === -2 ? a : w);
347
+ const g = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
348
+ o += s === Ir ? l + Gl : h >= 0 ? (n.push(d), l.slice(0, h) + Xs + l.slice(h) + Gt + g) : l + Gt + (h === -2 ? a : g);
349
349
  }
350
350
  return [ta(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
351
351
  };
@@ -362,14 +362,14 @@ let $i = class ra {
362
362
  for (; (i = or.nextNode()) !== null && l.length < a; ) {
363
363
  if (i.nodeType === 1) {
364
364
  if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Xs)) {
365
- const c = p[s++], w = i.getAttribute(h).split(Gt), g = /([.?@])?(.*)/.exec(c);
366
- l.push({ type: 1, index: o, name: g[2], strings: w, ctor: g[1] === "." ? Xl : g[1] === "?" ? Ql : g[1] === "@" ? ec : Qn }), i.removeAttribute(h);
365
+ const c = p[s++], g = i.getAttribute(h).split(Gt), w = /([.?@])?(.*)/.exec(c);
366
+ l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : Qn }), i.removeAttribute(h);
367
367
  } else h.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(h));
368
368
  if (ea.test(i.tagName)) {
369
369
  const h = i.textContent.split(Gt), c = h.length - 1;
370
370
  if (c > 0) {
371
371
  i.textContent = Pn ? Pn.emptyScript : "";
372
- for (let w = 0; w < c; w++) i.append(h[w], Hr()), or.nextNode(), l.push({ type: 2, index: ++o });
372
+ for (let g = 0; g < c; g++) i.append(h[g], Hr()), or.nextNode(), l.push({ type: 2, index: ++o });
373
373
  i.append(h[c], Hr());
374
374
  }
375
375
  }
@@ -757,7 +757,7 @@ const dc = 120, uc = 200, Hi = "PROGRESS", vt = "IDV", er = "idv-session-data",
757
757
  const h = typeof d == "function" ? d(e) : d;
758
758
  if (!Object.is(h, e)) {
759
759
  const c = e;
760
- e = (p != null ? p : typeof h != "object" || h === null) ? h : Object.assign({}, e, h), r.forEach((w) => w(e, c));
760
+ e = (p != null ? p : typeof h != "object" || h === null) ? h : Object.assign({}, e, h), r.forEach((g) => g(e, c));
761
761
  }
762
762
  }, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
763
763
  return a;
@@ -812,8 +812,8 @@ function Vn() {
812
812
  Vn.__r = 0;
813
813
  }
814
814
  function ha(t, e, r, n, i, o, s, a, l, d, p) {
815
- var h, c, w, g, f, m, S, C = n && n.__k || da, b = e.length;
816
- for (l = mc(r, e, C, l, b), h = 0; h < b; h++) (w = r.__k[h]) != null && (c = w.__i == -1 ? jr : C[w.__i] || jr, w.__i = h, m = ao(t, w, c, i, o, s, a, l, d, p), g = w.__e, w.ref && c.ref != w.ref && (c.ref && lo(c.ref, null, w), p.push(w.ref, w.__c || g, w)), f == null && g != null && (f = g), (S = !!(4 & w.__u)) || c.__k === w.__k ? l = pa(w, l, t, S) : typeof w.type == "function" && m !== void 0 ? l = m : g && (l = g.nextSibling), w.__u &= -7);
815
+ var h, c, g, w, f, m, S, C = n && n.__k || da, b = e.length;
816
+ for (l = mc(r, e, C, l, b), h = 0; h < b; h++) (g = r.__k[h]) != null && (c = g.__i == -1 ? jr : C[g.__i] || jr, g.__i = h, m = ao(t, g, c, i, o, s, a, l, d, p), w = g.__e, g.ref && c.ref != g.ref && (c.ref && lo(c.ref, null, g), p.push(g.ref, g.__c || w, g)), f == null && w != null && (f = w), (S = !!(4 & g.__u)) || c.__k === g.__k ? l = pa(g, l, t, S) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
817
817
  return r.__e = f, l;
818
818
  }
819
819
  function mc(t, e, r, n, i) {
@@ -879,30 +879,30 @@ function ts(t) {
879
879
  };
880
880
  }
881
881
  function ao(t, e, r, n, i, o, s, a, l, d) {
882
- var p, h, c, w, g, f, m, S, C, b, I, N, D, R, fe, _e, ae, Z = e.type;
882
+ var p, h, c, g, w, f, m, S, C, b, I, D, N, R, fe, _e, ae, Z = e.type;
883
883
  if (e.constructor != null) return null;
884
884
  128 & r.__u && (l = !!(32 & r.__u), o = [a = e.__e = r.__e]), (p = se.__b) && p(e);
885
885
  e: if (typeof Z == "function") try {
886
- if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (h = e.__c = r.__c).__ = h.__E : (C ? e.__c = h = new Z(S, I) : (e.__c = h = new ht(S, I), h.constructor = Z, h.render = vc), b && b.sub(h), h.props = S, h.state || (h.state = {}), h.context = I, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), C && h.__s == null && (h.__s = h.state), C && Z.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = gt({}, h.__s)), gt(h.__s, Z.getDerivedStateFromProps(S, h.__s))), w = h.props, g = h.state, h.__v = e, c) C && Z.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), C && h.componentDidMount != null && h.__h.push(h.componentDidMount);
886
+ if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (h = e.__c = r.__c).__ = h.__E : (C ? e.__c = h = new Z(S, I) : (e.__c = h = new ht(S, I), h.constructor = Z, h.render = vc), b && b.sub(h), h.props = S, h.state || (h.state = {}), h.context = I, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), C && h.__s == null && (h.__s = h.state), C && Z.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = gt({}, h.__s)), gt(h.__s, Z.getDerivedStateFromProps(S, h.__s))), g = h.props, w = h.state, h.__v = e, c) C && Z.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), C && h.componentDidMount != null && h.__h.push(h.componentDidMount);
887
887
  else {
888
- if (C && Z.getDerivedStateFromProps == null && S !== w && h.componentWillReceiveProps != null && h.componentWillReceiveProps(S, I), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(S, h.__s, I) === !1 || e.__v == r.__v) {
888
+ if (C && Z.getDerivedStateFromProps == null && S !== g && h.componentWillReceiveProps != null && h.componentWillReceiveProps(S, I), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(S, h.__s, I) === !1 || e.__v == r.__v) {
889
889
  for (e.__v != r.__v && (h.props = S, h.state = h.__s, h.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(H) {
890
890
  H && (H.__ = e);
891
- }), N = 0; N < h._sb.length; N++) h.__h.push(h._sb[N]);
891
+ }), D = 0; D < h._sb.length; D++) h.__h.push(h._sb[D]);
892
892
  h._sb = [], h.__h.length && s.push(h);
893
893
  break e;
894
894
  }
895
895
  h.componentWillUpdate != null && h.componentWillUpdate(S, h.__s, I), C && h.componentDidUpdate != null && h.__h.push(function() {
896
- h.componentDidUpdate(w, g, f);
896
+ h.componentDidUpdate(g, w, f);
897
897
  });
898
898
  }
899
- if (h.context = I, h.props = S, h.__P = t, h.__e = !1, D = se.__r, R = 0, C) {
900
- for (h.state = h.__s, h.__d = !1, D && D(e), p = h.render(h.props, h.state, h.context), fe = 0; fe < h._sb.length; fe++) h.__h.push(h._sb[fe]);
899
+ if (h.context = I, h.props = S, h.__P = t, h.__e = !1, N = se.__r, R = 0, C) {
900
+ for (h.state = h.__s, h.__d = !1, N && N(e), p = h.render(h.props, h.state, h.context), fe = 0; fe < h._sb.length; fe++) h.__h.push(h._sb[fe]);
901
901
  h._sb = [];
902
902
  } else do
903
- h.__d = !1, D && D(e), p = h.render(h.props, h.state, h.context), h.state = h.__s;
903
+ h.__d = !1, N && N(e), p = h.render(h.props, h.state, h.context), h.state = h.__s;
904
904
  while (h.__d && ++R < 25);
905
- h.state = h.__s, h.getChildContext != null && (n = gt(gt({}, n), h.getChildContext())), C && !c && h.getSnapshotBeforeUpdate != null && (f = h.getSnapshotBeforeUpdate(w, g)), _e = p, p != null && p.type === We && p.key == null && (_e = ma(p.props.children)), a = ha(t, Gr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), h.base = e.__e, e.__u &= -161, h.__h.length && s.push(h), m && (h.__E = h.__ = null);
905
+ h.state = h.__s, h.getChildContext != null && (n = gt(gt({}, n), h.getChildContext())), C && !c && h.getSnapshotBeforeUpdate != null && (f = h.getSnapshotBeforeUpdate(g, w)), _e = p, p != null && p.type === We && p.key == null && (_e = ma(p.props.children)), a = ha(t, Gr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), h.base = e.__e, e.__u &= -161, h.__h.length && s.push(h), m && (h.__E = h.__ = null);
906
906
  } catch (H) {
907
907
  if (e.__v = null, l || o != null) if (H.then) {
908
908
  for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
@@ -936,10 +936,10 @@ function ma(t) {
936
936
  return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Gr(t) ? t.map(ma) : gt({}, t);
937
937
  }
938
938
  function wc(t, e, r, n, i, o, s, a, l) {
939
- var d, p, h, c, w, g, f, m = r.props, S = e.props, C = e.type;
939
+ var d, p, h, c, g, w, f, m = r.props, S = e.props, C = e.type;
940
940
  if (C == "svg" ? i = "http://www.w3.org/2000/svg" : C == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), o != null) {
941
- for (d = 0; d < o.length; d++) if ((w = o[d]) && "setAttribute" in w == !!C && (C ? w.localName == C : w.nodeType == 3)) {
942
- t = w, o[d] = null;
941
+ for (d = 0; d < o.length; d++) if ((g = o[d]) && "setAttribute" in g == !!C && (C ? g.localName == C : g.nodeType == 3)) {
942
+ t = g, o[d] = null;
943
943
  break;
944
944
  }
945
945
  }
@@ -949,18 +949,18 @@ function wc(t, e, r, n, i, o, s, a, l) {
949
949
  }
950
950
  if (C == null) m === S || a && t.data == S || (t.data = S);
951
951
  else {
952
- if (o = o && Kr.call(t.childNodes), m = r.props || jr, !a && o != null) for (m = {}, d = 0; d < t.attributes.length; d++) m[(w = t.attributes[d]).name] = w.value;
953
- for (d in m) if (w = m[d], d != "children") {
954
- if (d == "dangerouslySetInnerHTML") h = w;
952
+ if (o = o && Kr.call(t.childNodes), m = r.props || jr, !a && o != null) for (m = {}, d = 0; d < t.attributes.length; d++) m[(g = t.attributes[d]).name] = g.value;
953
+ for (d in m) if (g = m[d], d != "children") {
954
+ if (d == "dangerouslySetInnerHTML") h = g;
955
955
  else if (!(d in S)) {
956
956
  if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
957
- An(t, d, null, w, i);
957
+ An(t, d, null, g, i);
958
958
  }
959
959
  }
960
- for (d in S) w = S[d], d == "children" ? c = w : d == "dangerouslySetInnerHTML" ? p = w : d == "value" ? g = w : d == "checked" ? f = w : a && typeof w != "function" || m[d] === w || An(t, d, w, m[d], i);
960
+ for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? f = g : a && typeof g != "function" || m[d] === g || An(t, d, g, m[d], i);
961
961
  if (p) a || h && (p.__html == h.__html || p.__html == t.innerHTML) || (t.innerHTML = p.__html), e.__k = [];
962
962
  else if (h && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, Gr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && br(r, 0), a, l), o != null) for (d = o.length; d--; ) so(o[d]);
963
- a || (d = "value", C == "progress" && g == null ? t.removeAttribute("value") : g != null && (g !== t[d] || C == "progress" && !g || C == "option" && g != m[d]) && An(t, d, g, m[d], i), d = "checked", f != null && f != t[d] && An(t, d, f, m[d], i));
963
+ a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) && An(t, d, w, m[d], i), d = "checked", f != null && f != t[d] && An(t, d, f, m[d], i));
964
964
  }
965
965
  return t;
966
966
  }
@@ -1066,8 +1066,8 @@ function ti(t, e, r) {
1066
1066
  var h = n.__c.props !== a;
1067
1067
  return p.forEach(function(c) {
1068
1068
  if (c.__N) {
1069
- var w = c.__[0];
1070
- c.__ = c.__N, c.__N = void 0, w !== c.__[0] && (h = !0);
1069
+ var g = c.__[0];
1070
+ c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (h = !0);
1071
1071
  }
1072
1072
  }), o && o.call(this, a, l, d) || h;
1073
1073
  };
@@ -1592,7 +1592,7 @@ var Rr = { exports: {} }, jc = Rr.exports, vs;
1592
1592
  function zc() {
1593
1593
  return vs || (vs = 1, (function(t, e) {
1594
1594
  (function(r, n) {
1595
- var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", h = "major", c = "model", w = "name", g = "type", f = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", N = "smarttv", D = "wearable", R = "embedded", fe = 500, _e = "Amazon", ae = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", de = "Chrome", le = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", U = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", $e = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
1595
+ var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", h = "major", c = "model", g = "name", w = "type", f = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", D = "smarttv", N = "wearable", R = "embedded", fe = 500, _e = "Amazon", ae = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", de = "Chrome", le = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", U = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", $e = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
1596
1596
  var j = {};
1597
1597
  for (var me in J)
1598
1598
  oe[me] && oe[me].length % 2 === 0 ? j[me] = oe[me].concat(J[me]) : j[me] = J[me];
@@ -1628,25 +1628,25 @@ function zc() {
1628
1628
  } else if (tt(oe[j], J))
1629
1629
  return j === s ? n : j;
1630
1630
  return oe.hasOwnProperty("*") ? oe["*"] : J;
1631
- }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [w, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [w, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [w, m], [/opios[\/ ]+([\w\.]+)/i], [m, [w, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [w, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [w, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [w, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [w, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [w, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [w, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [w, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [w, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [w, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [w, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [w, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [w, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [w, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[w, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [w, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [w, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [w, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [w, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [w, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [w, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [w, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [w, "360"]], [/\b(qq)\/([\w\.]+)/i], [[w, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[w, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [w, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [w, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[w, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [w, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [w], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, w], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[w, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [w, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [w, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [w, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [w, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[w, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [w, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [w, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [w, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, w], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [w, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [w, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[w, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [w, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [w, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [w, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [w, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [g, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [g, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [g, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [g, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [g, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [g, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [g, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [g, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [g, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [g, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [g, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [g, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": $e }], [g, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [g, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [g, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [g, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [g, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [g, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [g, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, U], [g, I]], [/(nokia) (t[12][01])/i], [f, c, [g, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [g, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [g, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [g, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [g, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [g, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [g, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [g, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [g, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [g, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [g, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [g, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [g, b]], [/(nexus 9)/i], [c, [f, "HTC"], [g, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [g, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [g, I]], [/(itel) ((\w+))/i], [[f, y], c, [g, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [g, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [g, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [g, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [g, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [g, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [g, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [g, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [g, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [g, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [g, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [g, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [g, I]], [/(surface duo)/i], [c, [f, te], [g, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [g, b]], [/(u304aa)/i], [c, [f, "AT&T"], [g, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [g, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [g, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [g, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [g, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [g, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [g, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [g, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [g, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [g, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [g, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [g, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [g, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [g, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [g, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [g, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [g, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [g, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [g, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [g, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [g, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [g, I]], [/(sprint) (\w+)/i], [f, c, [g, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [g, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [g, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [g, b]], [/smart-tv.+(samsung)/i], [f, [g, N]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [g, N]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [g, N]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [g, N]], [/crkey/i], [[c, de + "cast"], [f, ve], [g, N]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [g, N]], [/(shield \w+ tv)/i], [c, [f, re], [g, N]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [g, N]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [g, N]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [g, N]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [g, N]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, x], [c, x], [g, N]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [g, N]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, N]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [g, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [g, C]], [/(playstation \w+)/i], [c, [f, Xe], [g, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [g, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [g, D]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [g, D]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [g, D]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [g, D]], [/(opwwe\d{3})/i], [c, [f, $], [g, D]], [/(moto 360)/i], [c, [f, Se], [g, D]], [/(smartwatch 3)/i], [c, [f, Xe], [g, D]], [/(g watch r)/i], [c, [f, Y], [g, D]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [g, D]], [/droid.+; (glass) \d/i], [c, [f, ve], [g, D]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [g, D]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [g, D]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [g, R]], [/(aeobc)\b/i], [c, [f, _e], [g, R]], [/(homepod).+mac os/i], [c, [f, ae], [g, R]], [/windows iot/i], [[g, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [g, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [g, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [w, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [w, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [w, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [w, m], [/ladybird\//i], [[w, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, w]], os: [[/microsoft (windows) (vista|xp)/i], [w, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [w, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [w, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [w, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[w, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, w], [/(ubuntu) ([\w\.]+) like android/i], [[w, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [w, m], [/\(bb(10);/i], [m, [w, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [w, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [w, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [w, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [w, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [w, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[w, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [w, m], [/(sunos) ?([\w\.\d]*)/i], [[w, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [w, m]] }, G = function(J, oe) {
1631
+ }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [w, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": $e }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, U], [w, I]], [/(nokia) (t[12][01])/i], [f, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [w, b]], [/(nexus 9)/i], [c, [f, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[f, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [w, I]], [/(surface duo)/i], [c, [f, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [f, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [w, I]], [/(sprint) (\w+)/i], [f, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [w, b]], [/smart-tv.+(samsung)/i], [f, [w, D]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [w, D]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [w, D]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [w, D]], [/crkey/i], [[c, de + "cast"], [f, ve], [w, D]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [w, D]], [/(shield \w+ tv)/i], [c, [f, re], [w, D]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [w, D]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [w, D]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [w, D]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [w, D]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, x], [c, x], [w, D]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, D]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, D]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [w, C]], [/(playstation \w+)/i], [c, [f, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [w, N]], [/(opwwe\d{3})/i], [c, [f, $], [w, N]], [/(moto 360)/i], [c, [f, Se], [w, N]], [/(smartwatch 3)/i], [c, [f, Xe], [w, N]], [/(g watch r)/i], [c, [f, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [w, N]], [/droid.+; (glass) \d/i], [c, [f, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [w, R]], [/(aeobc)\b/i], [c, [f, _e], [w, R]], [/(homepod).+mac os/i], [c, [f, ae], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
1632
1632
  if (typeof J === d && (oe = J, J = n), !(this instanceof G))
1633
1633
  return new G(J, oe).getResult();
1634
1634
  var j = typeof r !== l && r.navigator ? r.navigator : n, me = J || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n, Ae = oe ? Wt(ne, oe) : ne, he = j && j.userAgent == me;
1635
1635
  return this.getBrowser = function() {
1636
1636
  var q = {};
1637
- return q[w] = n, q[m] = n, V.call(q, me, Ae.browser), q[h] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[w] = "Brave"), q;
1637
+ return q[g] = n, q[m] = n, V.call(q, me, Ae.browser), q[h] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[g] = "Brave"), q;
1638
1638
  }, this.getCPU = function() {
1639
1639
  var q = {};
1640
1640
  return q[S] = n, V.call(q, me, Ae.cpu), q;
1641
1641
  }, this.getDevice = function() {
1642
1642
  var q = {};
1643
- return q[f] = n, q[c] = n, q[g] = n, V.call(q, me, Ae.device), he && !q[g] && Be && Be.mobile && (q[g] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[g] = I), q;
1643
+ return q[f] = n, q[c] = n, q[w] = n, V.call(q, me, Ae.device), he && !q[w] && Be && Be.mobile && (q[w] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[w] = I), q;
1644
1644
  }, this.getEngine = function() {
1645
1645
  var q = {};
1646
- return q[w] = n, q[m] = n, V.call(q, me, Ae.engine), q;
1646
+ return q[g] = n, q[m] = n, V.call(q, me, Ae.engine), q;
1647
1647
  }, this.getOS = function() {
1648
1648
  var q = {};
1649
- return q[w] = n, q[m] = n, V.call(q, me, Ae.os), he && !q[w] && Be && Be.platform && Be.platform != "Unknown" && (q[w] = Be.platform.replace(/chrome os/i, bt).replace(/macos/i, pt)), q;
1649
+ return q[g] = n, q[m] = n, V.call(q, me, Ae.os), he && !q[g] && Be && Be.platform && Be.platform != "Unknown" && (q[g] = Be.platform.replace(/chrome os/i, bt).replace(/macos/i, pt)), q;
1650
1650
  }, this.getResult = function() {
1651
1651
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
1652
1652
  }, this.getUA = function() {
@@ -1655,7 +1655,7 @@ function zc() {
1655
1655
  return me = typeof q === p && q.length > fe ? x(q, fe) : q, this;
1656
1656
  }, this.setUA(me), this;
1657
1657
  };
1658
- G.VERSION = i, G.BROWSER = _t([w, m, h]), G.CPU = _t([S]), G.DEVICE = _t([c, f, g, C, b, N, I, D, R]), G.ENGINE = G.OS = _t([w, m]), t.exports && (e = t.exports = G), e.UAParser = G;
1658
+ G.VERSION = i, G.BROWSER = _t([g, m, h]), G.CPU = _t([S]), G.DEVICE = _t([c, f, w, C, b, D, I, N, R]), G.ENGINE = G.OS = _t([g, m]), t.exports && (e = t.exports = G), e.UAParser = G;
1659
1659
  var ge = typeof r !== l && (r.jQuery || r.Zepto);
1660
1660
  if (ge && !ge.ua) {
1661
1661
  var Pe = new G();
@@ -1698,7 +1698,7 @@ function Kc() {
1698
1698
  return v.setUA(k);
1699
1699
  }
1700
1700
  };
1701
- }, w = /* @__PURE__ */ Object.freeze({
1701
+ }, g = /* @__PURE__ */ Object.freeze({
1702
1702
  ClientUAInstance: i,
1703
1703
  browser: o,
1704
1704
  cpu: s,
@@ -1709,7 +1709,7 @@ function Kc() {
1709
1709
  setUa: h,
1710
1710
  parseUserAgent: c
1711
1711
  });
1712
- function g(E, _) {
1712
+ function w(E, _) {
1713
1713
  var v = Object.keys(E);
1714
1714
  if (Object.getOwnPropertySymbols) {
1715
1715
  var A = Object.getOwnPropertySymbols(E);
@@ -1722,9 +1722,9 @@ function Kc() {
1722
1722
  function f(E) {
1723
1723
  for (var _ = 1; _ < arguments.length; _++) {
1724
1724
  var v = arguments[_] != null ? arguments[_] : {};
1725
- _ % 2 ? g(Object(v), !0).forEach(function(A) {
1725
+ _ % 2 ? w(Object(v), !0).forEach(function(A) {
1726
1726
  I(E, A, v[A]);
1727
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(E, Object.getOwnPropertyDescriptors(v)) : g(Object(v)).forEach(function(A) {
1727
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(E, Object.getOwnPropertyDescriptors(v)) : w(Object(v)).forEach(function(A) {
1728
1728
  Object.defineProperty(E, A, Object.getOwnPropertyDescriptor(v, A));
1729
1729
  });
1730
1730
  }
@@ -1759,17 +1759,17 @@ function Kc() {
1759
1759
  writable: !0
1760
1760
  }) : E[_] = v, E;
1761
1761
  }
1762
- function N() {
1763
- return N = Object.assign || function(E) {
1762
+ function D() {
1763
+ return D = Object.assign || function(E) {
1764
1764
  for (var _ = 1; _ < arguments.length; _++) {
1765
1765
  var v = arguments[_];
1766
1766
  for (var A in v)
1767
1767
  Object.prototype.hasOwnProperty.call(v, A) && (E[A] = v[A]);
1768
1768
  }
1769
1769
  return E;
1770
- }, N.apply(this, arguments);
1770
+ }, D.apply(this, arguments);
1771
1771
  }
1772
- function D(E, _) {
1772
+ function N(E, _) {
1773
1773
  if (typeof _ != "function" && _ !== null)
1774
1774
  throw new TypeError("Super expression must either be null or a function");
1775
1775
  E.prototype = Object.create(_ && _.prototype, {
@@ -1999,7 +1999,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1999
1999
  };
2000
2000
  };
2001
2001
  function bt(E) {
2002
- var _ = E ? c(E) : w, v = _.device, A = _.browser, k = _.engine, pe = _.os, xe = _.ua, Ze = Se(v.type), On = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Po = Ze.isSmartTV, Fo = Ze.isConsole, Uo = Ze.isWearable, Lo = Ze.isEmbedded;
2002
+ var _ = E ? c(E) : g, v = _.device, A = _.browser, k = _.engine, pe = _.os, xe = _.ua, Ze = Se(v.type), On = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Po = Ze.isSmartTV, Fo = Ze.isConsole, Uo = Ze.isWearable, Lo = Ze.isEmbedded;
2003
2003
  if (On)
2004
2004
  return je(On, A, k, pe, xe);
2005
2005
  if (Po)
@@ -2133,7 +2133,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2133
2133
  return $(_);
2134
2134
  };
2135
2135
  function fn(E) {
2136
- var _ = E || w, v = _.device, A = _.browser, k = _.os, pe = _.engine, xe = _.ua;
2136
+ var _ = E || g, v = _.device, A = _.browser, k = _.os, pe = _.engine, xe = _.ua;
2137
2137
  return {
2138
2138
  isSmartTV: _t(v),
2139
2139
  isConsole: T(v),
@@ -2236,7 +2236,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2236
2236
  };
2237
2237
  function xl(E) {
2238
2238
  return /* @__PURE__ */ (function(_) {
2239
- D(v, _);
2239
+ N(v, _);
2240
2240
  function v(A) {
2241
2241
  var k;
2242
2242
  return S(this, v), k = H(this, R(v).call(this, A)), k.isEventListenerAdded = !1, k.handleOrientationChange = k.handleOrientationChange.bind(Z(k)), k.onOrientationChange = k.onOrientationChange.bind(Z(k)), k.onPageLoad = k.onPageLoad.bind(Z(k)), k.state = {
@@ -2277,7 +2277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2277
2277
  }, {
2278
2278
  key: "render",
2279
2279
  value: function() {
2280
- return r.createElement(E, N({}, this.props, {
2280
+ return r.createElement(E, D({}, this.props, {
2281
2281
  isLandscape: this.state.isLandscape,
2282
2282
  isPortrait: this.state.isPortrait
2283
2283
  }));
@@ -2588,7 +2588,30 @@ const Es = () => {
2588
2588
  heartbeatCadence: 2,
2589
2589
  serial: "",
2590
2590
  macAddress: ""
2591
- }), Ts = {
2591
+ });
2592
+ function _d() {
2593
+ return F(this, null, function* () {
2594
+ if (typeof navigator == "undefined" || !("geolocation" in navigator)) return null;
2595
+ try {
2596
+ return !("permissions" in navigator) || (yield navigator.permissions.query({
2597
+ name: "geolocation"
2598
+ })).state !== "granted" ? null : yield new Promise((e) => {
2599
+ navigator.geolocation.getCurrentPosition(
2600
+ (r) => {
2601
+ e({
2602
+ lat: r.coords.latitude,
2603
+ lon: r.coords.longitude
2604
+ });
2605
+ },
2606
+ () => e(null)
2607
+ );
2608
+ });
2609
+ } catch (t) {
2610
+ return null;
2611
+ }
2612
+ });
2613
+ }
2614
+ const Ts = {
2592
2615
  apiKeyAuthTokenCollection: {},
2593
2616
  sessionProperties: [],
2594
2617
  currentSessionData: null,
@@ -2606,7 +2629,7 @@ const Es = () => {
2606
2629
  startConfig: {},
2607
2630
  listener: () => {
2608
2631
  }
2609
- }, _d = (t, e) => X(O({}, Ts), {
2632
+ }, md = (t, e) => X(O({}, Ts), {
2610
2633
  setApiKeyAuthTokenCollection: (r, n, i) => {
2611
2634
  t({ apiKeyAuthTokenCollection: {
2612
2635
  authToken: n,
@@ -2710,9 +2733,9 @@ class Ce {
2710
2733
  return this.underlyingBaseError instanceof Ce && (e += `-${this.underlyingBaseError.fullChain}`), e;
2711
2734
  }
2712
2735
  }
2713
- class md extends HTMLElement {
2736
+ class gd extends HTMLElement {
2714
2737
  }
2715
- function gd(t, e) {
2738
+ function wd(t, e) {
2716
2739
  if (e.displayName ? console.log(`Register module: ${e.displayName}`) : console.error('Missed "displayName" when register module'), e.getSupportedTemplates && typeof e.getSupportedTemplates == "function") {
2717
2740
  const r = e.getSupportedTemplates();
2718
2741
  console.log(`${e == null ? void 0 : e.displayName} supported templates: ${r.join(", ")}`);
@@ -2997,12 +3020,12 @@ class wr {
2997
3020
  }
2998
3021
  }
2999
3022
  const dt = wr.getInstance();
3000
- var wd = 0;
3023
+ var vd = 0;
3001
3024
  function u(t, e, r, n, i, o) {
3002
3025
  e || (e = {});
3003
3026
  var s, a, l = e;
3004
3027
  if ("ref" in l) for (a in l = {}, e) a == "ref" ? s = e[a] : l[a] = e[a];
3005
- var d = { type: t, props: l, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --wd, __i: -1, __u: 0, __source: i, __self: o };
3028
+ var d = { type: t, props: l, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --vd, __i: -1, __u: 0, __source: i, __self: o };
3006
3029
  if (typeof t == "function" && (s = t.defaultProps)) for (a in s) l[a] === void 0 && (l[a] = s[a]);
3007
3030
  return se.vnode && se.vnode(d), d;
3008
3031
  }
@@ -3011,12 +3034,12 @@ const Eo = co(void 0), Os = ({ perform: t, children: e, setIsProcessingCallback:
3011
3034
  if (!t)
3012
3035
  throw new Error("usePerform must be used within a PerformProvider");
3013
3036
  return { perform: t.perform };
3014
- }, vd = () => {
3037
+ }, yd = () => {
3015
3038
  const t = Zr(Eo);
3016
3039
  if (!t)
3017
3040
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
3018
3041
  return { setIsProcessingCallback: t.setIsProcessingCallback };
3019
- }, yd = {
3042
+ }, bd = {
3020
3043
  width: "86px",
3021
3044
  height: "86px",
3022
3045
  flex: "0 0 86px",
@@ -3073,17 +3096,17 @@ function To(t) {
3073
3096
  typeof t[e] == "object" ? To(t[e]) : t[e] === "true" ? t[e] = !0 : t[e] === "false" && (t[e] = !1);
3074
3097
  return t;
3075
3098
  }
3076
- function bd(t) {
3099
+ function Cd(t) {
3077
3100
  return Object.entries(t).map(([e, r]) => ({
3078
3101
  id: e,
3079
3102
  value: typeof r == "string" ? r.trim() : r
3080
3103
  })).filter((e) => !!e.value);
3081
3104
  }
3082
- const Cd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3105
+ const Sd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3083
3106
  function ce(t) {
3084
3107
  return t && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t) ? t : void 0;
3085
3108
  }
3086
- const Sd = (t, e) => t.reduce((r, n) => {
3109
+ const Ed = (t, e) => t.reduce((r, n) => {
3087
3110
  var i, o, s;
3088
3111
  if (n.answerType === Pi.text && (i = n.property) != null && i.id) {
3089
3112
  const a = e.find((l) => l.name === n.property.id);
@@ -3111,23 +3134,23 @@ const Sd = (t, e) => t.reduce((r, n) => {
3111
3134
  } else
3112
3135
  r(new Error("Unexpected result type"));
3113
3136
  }, n.onerror = () => r(n.error), n.readAsDataURL(t);
3114
- }), Ed = () => F(null, null, function* () {
3137
+ }), Td = () => F(null, null, function* () {
3115
3138
  try {
3116
3139
  return (yield navigator.mediaDevices.getUserMedia({ video: !0 })).getTracks().forEach((e) => e.stop()), "allowed";
3117
3140
  } catch (t) {
3118
3141
  return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
3119
3142
  }
3120
- }), Td = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Yi.FORM : Yi.DATA, Ga = ({ indicatorColor: t }) => {
3143
+ }), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Yi.FORM : Yi.DATA, Ga = ({ indicatorColor: t }) => {
3121
3144
  const e = it(null), r = ce(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
3122
3145
  return nt(() => {
3123
3146
  if (!e.current) return;
3124
3147
  let p = !0, h = 0, c = performance.now();
3125
- function w(g) {
3148
+ function g(w) {
3126
3149
  if (!p) return;
3127
- const f = g - c;
3128
- c = g, h = (h + d * f) % 360, e.current && (e.current.style.transform = `rotate(${h}deg)`), requestAnimationFrame(w);
3150
+ const f = w - c;
3151
+ c = w, h = (h + d * f) % 360, e.current && (e.current.style.transform = `rotate(${h}deg)`), requestAnimationFrame(g);
3129
3152
  }
3130
- return requestAnimationFrame(w), () => {
3153
+ return requestAnimationFrame(g), () => {
3131
3154
  p = !1;
3132
3155
  };
3133
3156
  }, []), /* @__PURE__ */ u("svg", { ref: e, width: n, height: n, viewBox: `0 0 ${n} ${n}`, children: /* @__PURE__ */ u(
@@ -3146,7 +3169,7 @@ const Sd = (t, e) => t.reduce((r, n) => {
3146
3169
  }
3147
3170
  ) });
3148
3171
  };
3149
- function Od({ size: t, color: e }) {
3172
+ function Id({ size: t, color: e }) {
3150
3173
  return /* @__PURE__ */ u("svg", { width: t || 86, height: t || 86, viewBox: "0 0 87 86", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3151
3174
  /* @__PURE__ */ u(
3152
3175
  "ellipse",
@@ -3182,7 +3205,7 @@ function Od({ size: t, color: e }) {
3182
3205
  )
3183
3206
  ] });
3184
3207
  }
3185
- function Id({ size: t }) {
3208
+ function Ad({ size: t }) {
3186
3209
  return /* @__PURE__ */ u("svg", { width: t || 48, height: t || 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3187
3210
  /* @__PURE__ */ u("circle", { cx: "24.5", cy: "24", r: "18", stroke: "#0E1F97", strokeWidth: "3" }),
3188
3211
  /* @__PURE__ */ u(
@@ -3208,7 +3231,7 @@ function Id({ size: t }) {
3208
3231
  )
3209
3232
  ] });
3210
3233
  }
3211
- function Ad({ size: t, color: e }) {
3234
+ function xd({ size: t, color: e }) {
3212
3235
  return /* @__PURE__ */ u("svg", { width: t || 20, height: t || 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3213
3236
  "path",
3214
3237
  {
@@ -3217,7 +3240,7 @@ function Ad({ size: t, color: e }) {
3217
3240
  }
3218
3241
  ) });
3219
3242
  }
3220
- function xd({ size: t }) {
3243
+ function Rd({ size: t }) {
3221
3244
  return /* @__PURE__ */ u("svg", { width: t || 20, height: t || 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3222
3245
  "path",
3223
3246
  {
@@ -3228,7 +3251,7 @@ function xd({ size: t }) {
3228
3251
  }
3229
3252
  ) });
3230
3253
  }
3231
- const Rd = ({ size: t, color: e }) => /* @__PURE__ */ u("svg", { width: t || 20, height: t || 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3254
+ const kd = ({ size: t, color: e }) => /* @__PURE__ */ u("svg", { width: t || 20, height: t || 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3232
3255
  /* @__PURE__ */ u("g", { clipPath: "url(#clip0_6789_106796)", children: /* @__PURE__ */ u(
3233
3256
  "path",
3234
3257
  {
@@ -3238,13 +3261,13 @@ const Rd = ({ size: t, color: e }) => /* @__PURE__ */ u("svg", { width: t || 20,
3238
3261
  ) }),
3239
3262
  /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ u("clipPath", { id: "clip0_6789_106796", children: /* @__PURE__ */ u("rect", { width: "19.4597", height: "19.458", fill: "white", transform: "translate(0.996094)" }) }) })
3240
3263
  ] });
3241
- function kd({ size: t }) {
3264
+ function Nd({ size: t }) {
3242
3265
  return /* @__PURE__ */ u("svg", { width: t || 24, height: t || 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3243
3266
  /* @__PURE__ */ u("path", { d: "M20 12H6", stroke: "#8C8C8C", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
3244
3267
  /* @__PURE__ */ u("path", { d: "M13 19L6 12L13 5", stroke: "#8C8C8C", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
3245
3268
  ] });
3246
3269
  }
3247
- function Nd({ size: t }) {
3270
+ function Dd({ size: t }) {
3248
3271
  return /* @__PURE__ */ u("svg", { width: t || 48, height: t || 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3249
3272
  /* @__PURE__ */ u(
3250
3273
  "path",
@@ -3266,7 +3289,7 @@ function Nd({ size: t }) {
3266
3289
  /* @__PURE__ */ u("rect", { x: "29.9004", y: "23.3999", width: "12", height: "2.4", fill: "#0E1F97" })
3267
3290
  ] });
3268
3291
  }
3269
- function Dd({ size: t, color: e }) {
3292
+ function Md({ size: t, color: e }) {
3270
3293
  return /* @__PURE__ */ u("svg", { width: t || 24, height: t || 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3271
3294
  /* @__PURE__ */ u(
3272
3295
  "path",
@@ -3285,7 +3308,7 @@ function Dd({ size: t, color: e }) {
3285
3308
  /* @__PURE__ */ u("rect", { x: "13", y: "18", width: "2", height: "8", transform: "rotate(-180 13 18)", fill: "#8C8C8C" })
3286
3309
  ] });
3287
3310
  }
3288
- function Md({ size: t }) {
3311
+ function Pd({ size: t }) {
3289
3312
  return /* @__PURE__ */ u("svg", { width: t || 24, height: t || 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3290
3313
  /* @__PURE__ */ u("rect", { x: "12.5", y: "1.5", width: "10", height: "21", rx: "1.5", stroke: "#8C8C8C" }),
3291
3314
  /* @__PURE__ */ u(
@@ -3299,7 +3322,7 @@ function Md({ size: t }) {
3299
3322
  /* @__PURE__ */ u("circle", { cx: "17.5", cy: "20", r: "1", fill: "#8C8C8C" })
3300
3323
  ] });
3301
3324
  }
3302
- function Pd({ size: t }) {
3325
+ function Fd({ size: t }) {
3303
3326
  return /* @__PURE__ */ u("svg", { width: t || 48, height: t || 48, viewBox: "0 0 49 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3304
3327
  /* @__PURE__ */ u("circle", { cx: "15.5004", cy: "10.8002", r: "3.6", stroke: "#0E1F97", strokeWidth: "3" }),
3305
3328
  /* @__PURE__ */ u("circle", { cx: "35.2998", cy: "19.7998", r: "3", stroke: "#0E1F97", strokeWidth: "3" }),
@@ -3332,7 +3355,7 @@ const As = ({ size: t, color: e }) => /* @__PURE__ */ u(
3332
3355
  fill: e || "rgba(0,0,0,0.6)",
3333
3356
  children: /* @__PURE__ */ u("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
3334
3357
  }
3335
- ), Fd = ({ size: t, color: e }) => /* @__PURE__ */ u(
3358
+ ), Ud = ({ size: t, color: e }) => /* @__PURE__ */ u(
3336
3359
  "svg",
3337
3360
  {
3338
3361
  width: t ? t * 3 : 39,
@@ -3380,7 +3403,7 @@ const As = ({ size: t, color: e }) => /* @__PURE__ */ u(
3380
3403
  ]
3381
3404
  }
3382
3405
  );
3383
- function Ud({ size: t, color: e }) {
3406
+ function Ld({ size: t, color: e }) {
3384
3407
  return /* @__PURE__ */ u("svg", { width: t || 86, height: t || 86, viewBox: "0 0 86 86", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3385
3408
  /* @__PURE__ */ u(
3386
3409
  "ellipse",
@@ -3403,7 +3426,7 @@ function Ud({ size: t, color: e }) {
3403
3426
  )
3404
3427
  ] });
3405
3428
  }
3406
- function Ld() {
3429
+ function Vd() {
3407
3430
  return /* @__PURE__ */ u("svg", { width: "113", height: "16", viewBox: "0 0 113 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3408
3431
  /* @__PURE__ */ u(
3409
3432
  "path",
@@ -3450,7 +3473,7 @@ function Ld() {
3450
3473
  )
3451
3474
  ] });
3452
3475
  }
3453
- const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg", { width: t, height: t, viewBox: "0 0 100 100", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3476
+ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg", { width: t, height: t, viewBox: "0 0 100 100", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3454
3477
  /* @__PURE__ */ u(
3455
3478
  "ellipse",
3456
3479
  {
@@ -3473,10 +3496,10 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3473
3496
  strokeLinejoin: "round"
3474
3497
  }
3475
3498
  )
3476
- ] }), $d = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3499
+ ] }), Bd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3477
3500
  /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "9.5", stroke: "#7E57C5" }),
3478
3501
  /* @__PURE__ */ u("rect", { x: "3", y: "3.5", width: "14", height: "14", rx: "7", fill: "#7E57C5" })
3479
- ] }), Bd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "9.5", stroke: "#8C8C8C" }) }), Hd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3502
+ ] }), Hd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "9.5", stroke: "#8C8C8C" }) }), Wd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3480
3503
  /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "3.5", fill: "#7E57C5", stroke: "#7E57C5" }),
3481
3504
  /* @__PURE__ */ u(
3482
3505
  "path",
@@ -3485,7 +3508,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3485
3508
  fill: "white"
3486
3509
  }
3487
3510
  )
3488
- ] }), Wd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "3.5", stroke: "#8C8C8C" }) }), jd = ({ color: t = "#237804" }) => /* @__PURE__ */ u("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3511
+ ] }), jd = () => /* @__PURE__ */ u("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("rect", { x: "0.5", y: "1", width: "19", height: "19", rx: "3.5", stroke: "#8C8C8C" }) }), zd = ({ color: t = "#237804" }) => /* @__PURE__ */ u("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3489
3512
  "path",
3490
3513
  {
3491
3514
  fillRule: "evenodd",
@@ -3493,7 +3516,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3493
3516
  d: "M7.15385 2.15377C7.35887 2.35879 7.35887 2.69121 7.15385 2.89623L2.67894 7.3712L0.153877 4.84616C-0.0511485 4.64114 -0.0511485 4.30872 0.153877 4.1037C0.358901 3.89867 0.691313 3.89867 0.896338 4.1037L2.67894 5.88628L6.41139 2.15377C6.61641 1.94874 6.94882 1.94874 7.15385 2.15377Z",
3494
3517
  fill: t
3495
3518
  }
3496
- ) }), zd = ({ color: t = "#262626" }) => /* @__PURE__ */ u("svg", { width: "10", height: "5", viewBox: "0 0 10 5", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3519
+ ) }), Kd = ({ color: t = "#262626" }) => /* @__PURE__ */ u("svg", { width: "10", height: "5", viewBox: "0 0 10 5", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
3497
3520
  "path",
3498
3521
  {
3499
3522
  fillRule: "evenodd",
@@ -3501,7 +3524,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3501
3524
  d: "M8.86967 0.228964C9.07469 0.433989 9.07469 0.766401 8.86967 0.971426L4.99844 4.84266L1.12721 0.971426C0.922181 0.766401 0.922181 0.433989 1.12721 0.228964C1.33223 0.023939 1.66464 0.023939 1.86967 0.228964L4.99844 3.35773L8.12721 0.228964C8.33223 0.023939 8.66464 0.023939 8.86967 0.228964Z",
3502
3525
  fill: t
3503
3526
  }
3504
- ) }), Kd = ({ size: t, color: e = "#ffffff" }) => /* @__PURE__ */ u("svg", { width: t || 40, height: t || 40, viewBox: "0 0 23 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3527
+ ) }), Gd = ({ size: t, color: e = "#ffffff" }) => /* @__PURE__ */ u("svg", { width: t || 40, height: t || 40, viewBox: "0 0 23 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3505
3528
  /* @__PURE__ */ u("g", { clipPath: "url(#clip0_2629_17763)", children: [
3506
3529
  /* @__PURE__ */ u(
3507
3530
  "path",
@@ -3534,7 +3557,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3534
3557
  /* @__PURE__ */ u("circle", { cx: "7.5", cy: "10", r: "1", fill: e })
3535
3558
  ] }),
3536
3559
  /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ u("clipPath", { id: "clip0_2629_17763", children: /* @__PURE__ */ u("rect", { width: "22", height: "22", fill: "white", transform: "translate(0.5 1.90735e-05)" }) }) })
3537
- ] }), Gd = ({ size: t = 40, color: e = "#ffffff" }) => /* @__PURE__ */ u("svg", { width: t, height: t, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3560
+ ] }), qd = ({ size: t = 40, color: e = "#ffffff" }) => /* @__PURE__ */ u("svg", { width: t, height: t, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3538
3561
  /* @__PURE__ */ u("g", { clipPath: "url(#clip0_2629_17707)", children: [
3539
3562
  /* @__PURE__ */ u(
3540
3563
  "path",
@@ -3546,7 +3569,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3546
3569
  /* @__PURE__ */ u("circle", { cx: "18", cy: "9.00003", r: "1", fill: e })
3547
3570
  ] }),
3548
3571
  /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ u("clipPath", { id: "clip0_2629_17707", children: /* @__PURE__ */ u("rect", { width: "22", height: "22", fill: e }) }) })
3549
- ] }), qd = () => /* @__PURE__ */ u("div", {}), ye = {
3572
+ ] }), Zd = () => /* @__PURE__ */ u("div", {}), ye = {
3550
3573
  WARNING: "warning_icon",
3551
3574
  SPINNER: "spinner",
3552
3575
  ERROR: "failure",
@@ -3574,35 +3597,35 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3574
3597
  GALLERY_ICON: "gallery",
3575
3598
  CAMERA_ICON: "camera"
3576
3599
  }, Ji = {
3577
- [ye.WARNING]: Ud,
3600
+ [ye.WARNING]: Ld,
3578
3601
  [ye.SPINNER]: Ga,
3579
- [ye.ERROR]: Od,
3580
- [ye.AGE]: Id,
3581
- [ye.ANDROID]: Ad,
3582
- [ye.ARROW]: xd,
3583
- [ye.APPLE]: Rd,
3584
- [ye.BACK]: kd,
3585
- [ye.BIOMETRIC]: Nd,
3586
- [ye.INFO]: Dd,
3587
- [ye.TO_MOBILE]: Md,
3588
- [ye.UNDERAGE]: Pd,
3602
+ [ye.ERROR]: Id,
3603
+ [ye.AGE]: Ad,
3604
+ [ye.ANDROID]: xd,
3605
+ [ye.ARROW]: Rd,
3606
+ [ye.APPLE]: kd,
3607
+ [ye.BACK]: Nd,
3608
+ [ye.BIOMETRIC]: Dd,
3609
+ [ye.INFO]: Md,
3610
+ [ye.TO_MOBILE]: Pd,
3611
+ [ye.UNDERAGE]: Fd,
3589
3612
  [ye.CROSS]: As,
3590
- [ye.REGULA_LOGO]: Fd,
3613
+ [ye.REGULA_LOGO]: Ud,
3591
3614
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3592
3615
  // @ts-ignore
3593
- [ye.DEFAULT]: qd,
3594
- [ye.POWERED_BY]: Ld,
3595
- [ye.SUCCESS]: Vd,
3596
- [ye.CIRCLE_SELECTED]: $d,
3597
- [ye.CIRCLE_NORMAL]: Bd,
3598
- [ye.SQUARE_SELECTED]: Hd,
3599
- [ye.SQUARE_NORMAL]: Wd,
3600
- [ye.SELECTED]: jd,
3601
- [ye.CHEVRON_DOWN]: zd,
3616
+ [ye.DEFAULT]: Zd,
3617
+ [ye.POWERED_BY]: Vd,
3618
+ [ye.SUCCESS]: $d,
3619
+ [ye.CIRCLE_SELECTED]: Bd,
3620
+ [ye.CIRCLE_NORMAL]: Hd,
3621
+ [ye.SQUARE_SELECTED]: Wd,
3622
+ [ye.SQUARE_NORMAL]: jd,
3623
+ [ye.SELECTED]: zd,
3624
+ [ye.CHEVRON_DOWN]: Kd,
3602
3625
  [ye.CLOSE_ICON]: As,
3603
- [ye.GALLERY_ICON]: Kd,
3604
- [ye.CAMERA_ICON]: Gd
3605
- }, Zd = ({ type: t, size: e, color: r }) => {
3626
+ [ye.GALLERY_ICON]: Gd,
3627
+ [ye.CAMERA_ICON]: qd
3628
+ }, Yd = ({ type: t, size: e, color: r }) => {
3606
3629
  const n = Ji[t] || Ji[ye.DEFAULT];
3607
3630
  return /* @__PURE__ */ u(n, { size: e, color: r });
3608
3631
  }, Ve = ({
@@ -3637,7 +3660,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3637
3660
  );
3638
3661
  if (t) {
3639
3662
  const h = t in Ji ? t : "default";
3640
- return /* @__PURE__ */ u(Zd, { type: h });
3663
+ return /* @__PURE__ */ u(Yd, { type: h });
3641
3664
  }
3642
3665
  if (e)
3643
3666
  return /* @__PURE__ */ u(We, { children: [
@@ -3668,7 +3691,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3668
3691
  }
3669
3692
  )
3670
3693
  ] });
3671
- }, Yd = ({ signature: t }) => /* @__PURE__ */ u(
3694
+ }, Jd = ({ signature: t }) => /* @__PURE__ */ u(
3672
3695
  "footer",
3673
3696
  {
3674
3697
  "data-ui": "gui-footer",
@@ -3683,7 +3706,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3683
3706
  },
3684
3707
  children: /* @__PURE__ */ u("a", { href: "", children: /* @__PURE__ */ u(Ve, O({}, t)) })
3685
3708
  }
3686
- ), Jd = {
3709
+ ), Xd = {
3687
3710
  display: "flex",
3688
3711
  justifyContent: "center",
3689
3712
  alignItems: "center",
@@ -3692,7 +3715,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3692
3715
  minWidth: "36px",
3693
3716
  border: "none",
3694
3717
  cursor: "pointer"
3695
- }, Xd = ({
3718
+ }, Qd = ({
3696
3719
  dataTestId: t,
3697
3720
  responseBody: e,
3698
3721
  image: r,
@@ -3710,11 +3733,11 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3710
3733
  part: "gui-close-button",
3711
3734
  "data-test": t,
3712
3735
  onClick: () => {
3713
- const w = JSON.parse(JSON.stringify(e));
3714
- To(w), p(w);
3736
+ const g = JSON.parse(JSON.stringify(e));
3737
+ To(g), p(g);
3715
3738
  },
3716
3739
  className: "hover-button",
3717
- style: X(O(O({}, Jd), o && { borderRadius: o }), {
3740
+ style: X(O(O({}, Xd), o && { borderRadius: o }), {
3718
3741
  backgroundColor: (c = ce(d)) != null ? c : "transparent"
3719
3742
  }),
3720
3743
  onMouseEnter: () => l(!0),
@@ -3737,7 +3760,7 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3737
3760
  ]
3738
3761
  }
3739
3762
  );
3740
- }, Qd = ({ closeButton: t }) => /* @__PURE__ */ u(
3763
+ }, eu = ({ closeButton: t }) => /* @__PURE__ */ u(
3741
3764
  "header",
3742
3765
  {
3743
3766
  style: {
@@ -3750,10 +3773,10 @@ const Vd = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3750
3773
  },
3751
3774
  "data-ui": "gui-header",
3752
3775
  part: "gui-header",
3753
- children: /* @__PURE__ */ u("div", { children: t && /* @__PURE__ */ u(Xd, O({ dataTestId: "close-btn" }, t)) })
3776
+ children: /* @__PURE__ */ u("div", { children: t && /* @__PURE__ */ u(Qd, O({ dataTestId: "close-btn" }, t)) })
3754
3777
  }
3755
3778
  );
3756
- function eu(t) {
3779
+ function tu(t) {
3757
3780
  var i;
3758
3781
  const e = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, r = [];
3759
3782
  let n = 0;
@@ -3771,7 +3794,7 @@ function qa(t) {
3771
3794
  const e = t.split(`
3772
3795
  `);
3773
3796
  return e.flatMap((r, n) => {
3774
- const i = eu(r);
3797
+ const i = tu(r);
3775
3798
  return n === e.length - 1 ? i : [...i, /* @__PURE__ */ u("br", {}, "br-" + n)];
3776
3799
  });
3777
3800
  }
@@ -3808,10 +3831,10 @@ const Oe = ({
3808
3831
  onClick: p
3809
3832
  }) => {
3810
3833
  var S, C;
3811
- const [h, c] = Me(!1), w = h && ce(o) ? o : n, { perform: g } = dr(), f = (b) => {
3834
+ const [h, c] = Me(!1), g = h && ce(o) ? o : n, { perform: w } = dr(), f = (b) => {
3812
3835
  if (p && p(b), d !== "RESPONSE_BODY") return;
3813
3836
  const I = JSON.parse(JSON.stringify(r));
3814
- To(I), g(I, Yi.DATA);
3837
+ To(I), w(I, Yi.DATA);
3815
3838
  }, m = {
3816
3839
  height: "50px",
3817
3840
  width: "100%",
@@ -3827,7 +3850,7 @@ const Oe = ({
3827
3850
  gap: 5,
3828
3851
  borderRadius: i || 0,
3829
3852
  borderStyle: a && l ? "solid" : void 0,
3830
- backgroundColor: (S = ce(w)) != null ? S : "transparent",
3853
+ backgroundColor: (S = ce(g)) != null ? S : "transparent",
3831
3854
  borderColor: (C = ce(a)) != null ? C : "none",
3832
3855
  borderWidth: l != null ? l : 0,
3833
3856
  overflow: "hidden",
@@ -3859,7 +3882,7 @@ const Oe = ({
3859
3882
  ]
3860
3883
  }
3861
3884
  );
3862
- }, tu = (r) => {
3885
+ }, ru = (r) => {
3863
3886
  var n = r, { items: t } = n, e = Xt(n, ["items"]);
3864
3887
  return /* @__PURE__ */ u("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: O(O({}, {
3865
3888
  display: "flex",
@@ -3875,7 +3898,7 @@ const Oe = ({
3875
3898
  paddingTop: "20px"
3876
3899
  }), e), children: t.map((o) => {
3877
3900
  var s;
3878
- return /* @__PURE__ */ u(qn, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Td());
3901
+ return /* @__PURE__ */ u(qn, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Od());
3879
3902
  }) });
3880
3903
  }, Yt = ({
3881
3904
  children: t,
@@ -3919,11 +3942,11 @@ const Oe = ({
3919
3942
  width: "100%",
3920
3943
  height: o
3921
3944
  },
3922
- children: /* @__PURE__ */ u(Qd, { closeButton: e.closeButton })
3945
+ children: /* @__PURE__ */ u(eu, { closeButton: e.closeButton })
3923
3946
  }
3924
3947
  ),
3925
3948
  /* @__PURE__ */ u("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: t }),
3926
- (i == null ? void 0 : i.length) && /* @__PURE__ */ u(tu, { items: i }),
3949
+ (i == null ? void 0 : i.length) && /* @__PURE__ */ u(ru, { items: i }),
3927
3950
  r && /* @__PURE__ */ u(
3928
3951
  "div",
3929
3952
  {
@@ -3934,7 +3957,7 @@ const Oe = ({
3934
3957
  width: "100%",
3935
3958
  height: s
3936
3959
  },
3937
- children: /* @__PURE__ */ u(Yd, O({}, r))
3960
+ children: /* @__PURE__ */ u(Jd, O({}, r))
3938
3961
  }
3939
3962
  )
3940
3963
  ]
@@ -3964,7 +3987,7 @@ const Oe = ({
3964
3987
  },
3965
3988
  children: t && qa(t)
3966
3989
  }
3967
- ), ru = ({
3990
+ ), nu = ({
3968
3991
  header: t,
3969
3992
  footer: e,
3970
3993
  image: r,
@@ -3990,7 +4013,7 @@ const Oe = ({
3990
4013
  flexDirection: "column"
3991
4014
  },
3992
4015
  children: [
3993
- r && /* @__PURE__ */ u("div", { style: yd, children: /* @__PURE__ */ u(Ve, O({}, r)) }),
4016
+ r && /* @__PURE__ */ u("div", { style: bd, children: /* @__PURE__ */ u(Ve, O({}, r)) }),
3994
4017
  (n == null ? void 0 : n.text) && /* @__PURE__ */ u(
3995
4018
  "div",
3996
4019
  {
@@ -4024,12 +4047,12 @@ const Oe = ({
4024
4047
  ]
4025
4048
  }
4026
4049
  ) });
4027
- }, nu = {
4050
+ }, iu = {
4028
4051
  width: "100%",
4029
4052
  height: "auto",
4030
4053
  marginBottom: "32px",
4031
4054
  aspectRatio: "1.68"
4032
- }, iu = {
4055
+ }, ou = {
4033
4056
  position: "relative",
4034
4057
  display: "flex",
4035
4058
  flexDirection: "column",
@@ -4040,7 +4063,7 @@ const Oe = ({
4040
4063
  width: "100%",
4041
4064
  minHeight: "100%",
4042
4065
  overflow: "auto"
4043
- }, ou = ({
4066
+ }, su = ({
4044
4067
  title: t,
4045
4068
  header: e,
4046
4069
  footer: r,
@@ -4054,16 +4077,16 @@ const Oe = ({
4054
4077
  part: "gui-info-screen-container",
4055
4078
  "data-ui": "gui-info-screen-container",
4056
4079
  id: "info-screen-container",
4057
- style: X(O({}, iu), {
4080
+ style: X(O({}, ou), {
4058
4081
  justifyContent: n ? "flex-start" : "center"
4059
4082
  }),
4060
4083
  children: [
4061
- n && /* @__PURE__ */ u("div", { style: nu, children: /* @__PURE__ */ u(Ve, O({}, n)) }),
4084
+ n && /* @__PURE__ */ u("div", { style: iu, children: /* @__PURE__ */ u(Ve, O({}, n)) }),
4062
4085
  t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
4063
4086
  i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ri, O({}, i)) })
4064
4087
  ]
4065
4088
  }
4066
- ) }) }), su = ({ indicatorColor: t = "black" }) => /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(Ga, { indicatorColor: t }) }), xs = ({
4089
+ ) }) }), au = ({ indicatorColor: t = "black" }) => /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(Ga, { indicatorColor: t }) }), xs = ({
4067
4090
  progressView: t,
4068
4091
  footer: e,
4069
4092
  backgroundColor: r
@@ -4081,9 +4104,9 @@ const Oe = ({
4081
4104
  height: "100%",
4082
4105
  width: "100%"
4083
4106
  },
4084
- children: /* @__PURE__ */ u(su, { indicatorColor: ce(t == null ? void 0 : t.indicatorColor) || "#000000" })
4107
+ children: /* @__PURE__ */ u(au, { indicatorColor: ce(t == null ? void 0 : t.indicatorColor) || "#000000" })
4085
4108
  }
4086
- ) }), au = ({
4109
+ ) }), lu = ({
4087
4110
  title: t,
4088
4111
  description: e,
4089
4112
  image: r,
@@ -4121,21 +4144,21 @@ const Oe = ({
4121
4144
  /* @__PURE__ */ u("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ u(Ve, O({}, r)) })
4122
4145
  ]
4123
4146
  }
4124
- ), lu = {
4147
+ ), cu = {
4125
4148
  display: "flex",
4126
4149
  flexDirection: "column",
4127
4150
  padding: "0 16px"
4128
- }, cu = ({ items: t, backgroundColor: e, cornerRadius: r = 16 }) => /* @__PURE__ */ u(
4151
+ }, du = ({ items: t, backgroundColor: e, cornerRadius: r = 16 }) => /* @__PURE__ */ u(
4129
4152
  "div",
4130
4153
  {
4131
4154
  className: "details",
4132
- style: X(O({}, lu), {
4155
+ style: X(O({}, cu), {
4133
4156
  backgroundColor: ce(e) || "white",
4134
4157
  borderRadius: r
4135
4158
  }),
4136
- children: t.map((n, i) => /* @__PURE__ */ u(au, O({ isLastChild: i === t.length - 1 }, n), i))
4159
+ children: t.map((n, i) => /* @__PURE__ */ u(lu, O({ isLastChild: i === t.length - 1 }, n), i))
4137
4160
  }
4138
- ), du = ({
4161
+ ), uu = ({
4139
4162
  title: t,
4140
4163
  header: e,
4141
4164
  footer: r,
@@ -4160,14 +4183,14 @@ const Oe = ({
4160
4183
  ref: s,
4161
4184
  children: [
4162
4185
  /* @__PURE__ */ u("div", { style: { marginBottom: t ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: t && /* @__PURE__ */ u(Oe, O({}, t)) }),
4163
- n && /* @__PURE__ */ u(cu, O({}, n))
4186
+ n && /* @__PURE__ */ u(du, O({}, n))
4164
4187
  ]
4165
4188
  }
4166
4189
  ) });
4167
4190
  };
4168
4191
  var Xr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
4169
4192
  const Za = (t) => typeof t == "object";
4170
- var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Xr(t.target) ? t.target.checked : t.target.value : t, uu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(uu(e)), fu = (t) => {
4193
+ var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Xr(t.target) ? t.target.checked : t.target.value : t, fu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(fu(e)), hu = (t) => {
4171
4194
  const e = t.constructor && t.constructor.prototype;
4172
4195
  return Ne(e) && e.hasOwnProperty("isPrototypeOf");
4173
4196
  }, Oo = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
@@ -4177,7 +4200,7 @@ function De(t) {
4177
4200
  if (t instanceof Date)
4178
4201
  e = new Date(t);
4179
4202
  else if (!(Oo && (t instanceof Blob || n)) && (r || Ne(t)))
4180
- if (e = r ? [] : Object.create(Object.getPrototypeOf(t)), !r && !fu(t))
4203
+ if (e = r ? [] : Object.create(Object.getPrototypeOf(t)), !r && !hu(t))
4181
4204
  e = t;
4182
4205
  else
4183
4206
  for (const i in t)
@@ -4241,7 +4264,7 @@ var Qa = (t, e, r, n = !0) => {
4241
4264
  return i;
4242
4265
  };
4243
4266
  const Ro = typeof window != "undefined" ? ue.useLayoutEffect : ue.useEffect;
4244
- function hu(t) {
4267
+ function pu(t) {
4245
4268
  const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] = ue.useState(r._formState), l = ue.useRef({
4246
4269
  isDirty: !1,
4247
4270
  isLoading: !1,
@@ -4287,43 +4310,43 @@ function Lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
4287
4310
  }
4288
4311
  return !0;
4289
4312
  }
4290
- function pu(t) {
4313
+ function _u(t) {
4291
4314
  const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = ue.useRef(i), d = ue.useRef(a), p = ue.useRef(void 0);
4292
4315
  d.current = a;
4293
- const h = ue.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, w] = ue.useState(d.current ? d.current(h) : h);
4316
+ const h = ue.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = ue.useState(d.current ? d.current(h) : h);
4294
4317
  return Ro(() => r._subscribe({
4295
4318
  name: n,
4296
4319
  formState: {
4297
4320
  values: !0
4298
4321
  },
4299
4322
  exact: s,
4300
- callback: (g) => {
4323
+ callback: (w) => {
4301
4324
  if (!o) {
4302
- const f = el(n, r._names, g.values || r._formValues, !1, l.current);
4325
+ const f = el(n, r._names, w.values || r._formValues, !1, l.current);
4303
4326
  if (d.current) {
4304
4327
  const m = d.current(f);
4305
- Lt(m, p.current) || (w(m), p.current = m);
4328
+ Lt(m, p.current) || (g(m), p.current = m);
4306
4329
  } else
4307
- w(f);
4330
+ g(f);
4308
4331
  }
4309
4332
  }
4310
4333
  }), [r, o, n, s]), ue.useEffect(() => r._removeUnmounted()), c;
4311
4334
  }
4312
- function _u(t) {
4313
- const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l = ue.useMemo(() => L(i._formValues, r, L(i._defaultValues, r, s)), [i, r, s]), d = pu({
4335
+ function mu(t) {
4336
+ const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l = ue.useMemo(() => L(i._formValues, r, L(i._defaultValues, r, s)), [i, r, s]), d = _u({
4314
4337
  control: i,
4315
4338
  name: r,
4316
4339
  defaultValue: l,
4317
4340
  exact: !0
4318
- }), p = hu({
4341
+ }), p = pu({
4319
4342
  control: i,
4320
4343
  name: r,
4321
4344
  exact: !0
4322
- }), h = ue.useRef(t), c = ue.useRef(void 0), w = ue.useRef(i.register(r, O(X(O({}, t.rules), {
4345
+ }), h = ue.useRef(t), c = ue.useRef(void 0), g = ue.useRef(i.register(r, O(X(O({}, t.rules), {
4323
4346
  value: d
4324
4347
  }), Qe(t.disabled) ? { disabled: t.disabled } : {})));
4325
4348
  h.current = t;
4326
- const g = ue.useMemo(() => Object.defineProperties({}, {
4349
+ const w = ue.useMemo(() => Object.defineProperties({}, {
4327
4350
  invalid: {
4328
4351
  enumerable: !0,
4329
4352
  get: () => !!L(p.errors, r)
@@ -4344,13 +4367,13 @@ function _u(t) {
4344
4367
  enumerable: !0,
4345
4368
  get: () => L(p.errors, r)
4346
4369
  }
4347
- }), [p, r]), f = ue.useCallback((b) => w.current.onChange({
4370
+ }), [p, r]), f = ue.useCallback((b) => g.current.onChange({
4348
4371
  target: {
4349
4372
  value: Ya(b),
4350
4373
  name: r
4351
4374
  },
4352
4375
  type: Zn.CHANGE
4353
- }), [r]), m = ue.useCallback(() => w.current.onBlur({
4376
+ }), [r]), m = ue.useCallback(() => g.current.onBlur({
4354
4377
  target: {
4355
4378
  value: L(i._formValues, r),
4356
4379
  name: r
@@ -4361,7 +4384,7 @@ function _u(t) {
4361
4384
  I && b && (I._f.ref = {
4362
4385
  focus: () => b.focus && b.focus(),
4363
4386
  select: () => b.select && b.select(),
4364
- setCustomValidity: (N) => b.setCustomValidity(N),
4387
+ setCustomValidity: (D) => b.setCustomValidity(D),
4365
4388
  reportValidity: () => b.reportValidity()
4366
4389
  });
4367
4390
  }, [i._fields, r]), C = ue.useMemo(() => X(O({
@@ -4375,16 +4398,16 @@ function _u(t) {
4375
4398
  return ue.useEffect(() => {
4376
4399
  const b = i._options.shouldUnregister || o, I = c.current;
4377
4400
  I && I !== r && !a && i.unregister(I), i.register(r, O(O({}, h.current.rules), Qe(h.current.disabled) ? { disabled: h.current.disabled } : {}));
4378
- const N = (D, R) => {
4379
- const fe = L(i._fields, D);
4401
+ const D = (N, R) => {
4402
+ const fe = L(i._fields, N);
4380
4403
  fe && fe._f && (fe._f.mount = R);
4381
4404
  };
4382
- if (N(r, !0), b) {
4383
- const D = De(L(i._options.defaultValues, r, h.current.defaultValue));
4384
- Ee(i._defaultValues, r, D), Ie(L(i._formValues, r)) && Ee(i._formValues, r, D);
4405
+ if (D(r, !0), b) {
4406
+ const N = De(L(i._options.defaultValues, r, h.current.defaultValue));
4407
+ Ee(i._defaultValues, r, N), Ie(L(i._formValues, r)) && Ee(i._formValues, r, N);
4385
4408
  }
4386
4409
  return !a && i.register(r), c.current = r, () => {
4387
- (a ? b && !i._state.action : b) ? i.unregister(r) : N(r, !1);
4410
+ (a ? b && !i._state.action : b) ? i.unregister(r) : D(r, !1);
4388
4411
  };
4389
4412
  }, [r, i, a, o]), ue.useEffect(() => {
4390
4413
  i._setDisabledField({
@@ -4394,11 +4417,11 @@ function _u(t) {
4394
4417
  }, [n, r, i]), ue.useMemo(() => ({
4395
4418
  field: C,
4396
4419
  formState: p,
4397
- fieldState: g
4398
- }), [C, p, g]);
4420
+ fieldState: w
4421
+ }), [C, p, w]);
4399
4422
  }
4400
- const tl = (t) => t.render(_u(t));
4401
- var mu = (t, e, r, n, i) => e ? X(O({}, r[t]), {
4423
+ const tl = (t) => t.render(mu(t));
4424
+ var gu = (t, e, r, n, i) => e ? X(O({}, r[t]), {
4402
4425
  types: X(O({}, r[t] && r[t].types ? r[t].types : {}), {
4403
4426
  [n]: i || !0
4404
4427
  })
@@ -4439,32 +4462,32 @@ var Ye = (t) => Ne(t) && !Object.keys(t).length, ko = (t) => t.type === "file",
4439
4462
  return !1;
4440
4463
  const e = t ? t.ownerDocument : 0;
4441
4464
  return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
4442
- }, nl = (t) => t.type === "select-multiple", No = (t) => t.type === "radio", gu = (t) => No(t) || Xr(t), Fi = (t) => Yn(t) && t.isConnected;
4443
- function wu(t, e) {
4465
+ }, nl = (t) => t.type === "select-multiple", No = (t) => t.type === "radio", wu = (t) => No(t) || Xr(t), Fi = (t) => Yn(t) && t.isConnected;
4466
+ function vu(t, e) {
4444
4467
  const r = e.slice(0, -1).length;
4445
4468
  let n = 0;
4446
4469
  for (; n < r; )
4447
4470
  t = Ie(t) ? n++ : t[e[n++]];
4448
4471
  return t;
4449
4472
  }
4450
- function vu(t) {
4473
+ function yu(t) {
4451
4474
  for (const e in t)
4452
4475
  if (t.hasOwnProperty(e) && !Ie(t[e]))
4453
4476
  return !1;
4454
4477
  return !0;
4455
4478
  }
4456
4479
  function Re(t, e) {
4457
- const r = Array.isArray(e) ? e : ni(e) ? [e] : Ao(e), n = r.length === 1 ? t : wu(t, r), i = r.length - 1, o = r[i];
4458
- return n && delete n[o], i !== 0 && (Ne(n) && Ye(n) || Array.isArray(n) && vu(n)) && Re(t, r.slice(0, -1)), t;
4480
+ const r = Array.isArray(e) ? e : ni(e) ? [e] : Ao(e), n = r.length === 1 ? t : vu(t, r), i = r.length - 1, o = r[i];
4481
+ return n && delete n[o], i !== 0 && (Ne(n) && Ye(n) || Array.isArray(n) && yu(n)) && Re(t, r.slice(0, -1)), t;
4459
4482
  }
4460
- var yu = (t) => {
4483
+ var bu = (t) => {
4461
4484
  for (const e in t)
4462
4485
  if (ft(t[e]))
4463
4486
  return !0;
4464
4487
  return !1;
4465
4488
  };
4466
4489
  function il(t) {
4467
- return Array.isArray(t) || Ne(t) && !yu(t);
4490
+ return Array.isArray(t) || Ne(t) && !bu(t);
4468
4491
  }
4469
4492
  function Qi(t, e = {}) {
4470
4493
  for (const r in t)
@@ -4506,7 +4529,7 @@ function Ms(t) {
4506
4529
  const e = t.ref;
4507
4530
  return ko(e) ? e.files : No(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Xr(e) ? ol(t.refs).value : sl(Ie(e.value) ? t.ref.value : e.value, t);
4508
4531
  }
4509
- var bu = (t, e, r, n) => {
4532
+ var Cu = (t, e, r, n) => {
4510
4533
  const i = {};
4511
4534
  for (const o of t) {
4512
4535
  const s = L(e, o);
@@ -4526,7 +4549,7 @@ var bu = (t, e, r, n) => {
4526
4549
  isOnTouch: t === ut.onTouched
4527
4550
  });
4528
4551
  const Fs = "AsyncFunction";
4529
- var Cu = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Fs || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Fs)), Su = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Us = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
4552
+ var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Fs || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Fs)), Eu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Us = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
4530
4553
  const $r = (t, e, r, n) => {
4531
4554
  for (const o of r || Object.keys(t)) {
4532
4555
  const s = L(t, o);
@@ -4572,11 +4595,11 @@ function Ls(t, e, r) {
4572
4595
  name: r
4573
4596
  };
4574
4597
  }
4575
- var Eu = (t, e, r, n) => {
4598
+ var Tu = (t, e, r, n) => {
4576
4599
  r(t);
4577
4600
  const s = t, { name: i } = s, o = Xt(s, ["name"]);
4578
4601
  return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || ut.all));
4579
- }, Tu = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Ou = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, Iu = (t, e) => !Io(L(t, e)).length && Re(t, e), Au = (t, e, r) => {
4602
+ }, Ou = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, Au = (t, e) => !Io(L(t, e)).length && Re(t, e), xu = (t, e, r) => {
4580
4603
  const n = Vr(L(t, r));
4581
4604
  return Ee(n, "root", e[r]), Ee(t, r, n), t;
4582
4605
  };
@@ -4592,27 +4615,27 @@ var pr = (t) => Ne(t) && !Jn(t) ? t : {
4592
4615
  value: t,
4593
4616
  message: ""
4594
4617
  }, $s = (t, e, r, n, i, o) => F(null, null, function* () {
4595
- const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: h, max: c, pattern: w, validate: g, name: f, valueAsNumber: m, mount: S } = t._f, C = L(r, f);
4618
+ const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: h, max: c, pattern: g, validate: w, name: f, valueAsNumber: m, mount: S } = t._f, C = L(r, f);
4596
4619
  if (!S || e.has(f))
4597
4620
  return {};
4598
4621
  const b = a ? a[0] : s, I = (H) => {
4599
4622
  i && b.reportValidity && (b.setCustomValidity(Qe(H) ? "" : H || ""), b.reportValidity());
4600
- }, N = {}, D = No(s), R = Xr(s), fe = D || R, _e = (m || ko(s)) && Ie(s.value) && Ie(C) || Yn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, ae = mu.bind(null, f, n, N), Z = (H, K, de, le = St.maxLength, we = St.minLength) => {
4623
+ }, D = {}, N = No(s), R = Xr(s), fe = N || R, _e = (m || ko(s)) && Ie(s.value) && Ie(C) || Yn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, ae = gu.bind(null, f, n, D), Z = (H, K, de, le = St.maxLength, we = St.minLength) => {
4601
4624
  const ve = H ? K : de;
4602
- N[f] = O({
4625
+ D[f] = O({
4603
4626
  type: H ? le : we,
4604
4627
  message: ve,
4605
4628
  ref: s
4606
4629
  }, ae(H ? le : we, ve));
4607
4630
  };
4608
- if (o ? !Array.isArray(C) || !C.length : l && (!fe && (_e || qe(C)) || Qe(C) && !C || R && !ol(a).isValid || D && !al(a).isValid)) {
4631
+ if (o ? !Array.isArray(C) || !C.length : l && (!fe && (_e || qe(C)) || Qe(C) && !C || R && !ol(a).isValid || N && !al(a).isValid)) {
4609
4632
  const { value: H, message: K } = et(l) ? { value: !!l, message: l } : pr(l);
4610
- if (H && (N[f] = O({
4633
+ if (H && (D[f] = O({
4611
4634
  type: St.required,
4612
4635
  message: K,
4613
4636
  ref: b
4614
4637
  }, ae(St.required, K)), !n))
4615
- return I(K), N;
4638
+ return I(K), D;
4616
4639
  }
4617
4640
  if (!_e && (!qe(h) || !qe(c))) {
4618
4641
  let H, K;
@@ -4625,50 +4648,50 @@ var pr = (t) => Ne(t) && !Jn(t) ? t : {
4625
4648
  et(de.value) && C && (H = ee ? ve(C) > ve(de.value) : z ? C > de.value : we > new Date(de.value)), et(le.value) && C && (K = ee ? ve(C) < ve(le.value) : z ? C < le.value : we < new Date(le.value));
4626
4649
  }
4627
4650
  if ((H || K) && (Z(!!H, de.message, le.message, St.max, St.min), !n))
4628
- return I(N[f].message), N;
4651
+ return I(D[f].message), D;
4629
4652
  }
4630
4653
  if ((d || p) && !_e && (et(C) || o && Array.isArray(C))) {
4631
4654
  const H = pr(d), K = pr(p), de = !qe(H.value) && C.length > +H.value, le = !qe(K.value) && C.length < +K.value;
4632
4655
  if ((de || le) && (Z(de, H.message, K.message), !n))
4633
- return I(N[f].message), N;
4656
+ return I(D[f].message), D;
4634
4657
  }
4635
- if (w && !_e && et(C)) {
4636
- const { value: H, message: K } = pr(w);
4637
- if (Jn(H) && !C.match(H) && (N[f] = O({
4658
+ if (g && !_e && et(C)) {
4659
+ const { value: H, message: K } = pr(g);
4660
+ if (Jn(H) && !C.match(H) && (D[f] = O({
4638
4661
  type: St.pattern,
4639
4662
  message: K,
4640
4663
  ref: s
4641
4664
  }, ae(St.pattern, K)), !n))
4642
- return I(K), N;
4643
- }
4644
- if (g) {
4645
- if (ft(g)) {
4646
- const H = yield g(C, r), K = Vs(H, b);
4647
- if (K && (N[f] = O(O({}, K), ae(St.validate, K.message)), !n))
4648
- return I(K.message), N;
4649
- } else if (Ne(g)) {
4665
+ return I(K), D;
4666
+ }
4667
+ if (w) {
4668
+ if (ft(w)) {
4669
+ const H = yield w(C, r), K = Vs(H, b);
4670
+ if (K && (D[f] = O(O({}, K), ae(St.validate, K.message)), !n))
4671
+ return I(K.message), D;
4672
+ } else if (Ne(w)) {
4650
4673
  let H = {};
4651
- for (const K in g) {
4674
+ for (const K in w) {
4652
4675
  if (!Ye(H) && !n)
4653
4676
  break;
4654
- const de = Vs(yield g[K](C, r), b, K);
4655
- de && (H = O(O({}, de), ae(K, de.message)), I(de.message), n && (N[f] = H));
4677
+ const de = Vs(yield w[K](C, r), b, K);
4678
+ de && (H = O(O({}, de), ae(K, de.message)), I(de.message), n && (D[f] = H));
4656
4679
  }
4657
- if (!Ye(H) && (N[f] = O({
4680
+ if (!Ye(H) && (D[f] = O({
4658
4681
  ref: b
4659
4682
  }, H), !n))
4660
- return N;
4683
+ return D;
4661
4684
  }
4662
4685
  }
4663
- return I(!0), N;
4686
+ return I(!0), D;
4664
4687
  });
4665
- const xu = {
4688
+ const Ru = {
4666
4689
  mode: ut.onSubmit,
4667
4690
  reValidateMode: ut.onChange,
4668
4691
  shouldFocusError: !0
4669
4692
  };
4670
- function Ru(t = {}) {
4671
- let e = O(O({}, xu), t), r = {
4693
+ function ku(t = {}) {
4694
+ let e = O(O({}, Ru), t), r = {
4672
4695
  submitCount: 0,
4673
4696
  isDirty: !1,
4674
4697
  isReady: !1,
@@ -4707,7 +4730,7 @@ function Ru(t = {}) {
4707
4730
  const c = {
4708
4731
  array: Rs(),
4709
4732
  state: Rs()
4710
- }, w = e.criteriaMode === ut.all, g = (y) => (T) => {
4733
+ }, g = e.criteriaMode === ut.all, w = (y) => (T) => {
4711
4734
  clearTimeout(d), d = setTimeout(y, T);
4712
4735
  }, f = (y) => F(null, null, function* () {
4713
4736
  if (!e.disabled && (p.isValid || h.isValid || y)) {
@@ -4731,7 +4754,7 @@ function Ru(t = {}) {
4731
4754
  }
4732
4755
  if (P && Array.isArray(L(r.errors, y))) {
4733
4756
  const W = x(L(r.errors, y), V.argA, V.argB);
4734
- M && Ee(r.errors, y, W), Iu(r.errors, y);
4757
+ M && Ee(r.errors, y, W), Au(r.errors, y);
4735
4758
  }
4736
4759
  if ((p.touchedFields || h.touchedFields) && P && Array.isArray(L(r.touchedFields, y))) {
4737
4760
  const W = x(L(r.touchedFields, y), V.argA, V.argB);
@@ -4761,7 +4784,7 @@ function Ru(t = {}) {
4761
4784
  const P = L(o, y, Ie(x) ? L(i, y) : x);
4762
4785
  Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ms(M._f)) : de(y, P), s.mount && f();
4763
4786
  }
4764
- }, N = (y, T, x, V, M) => {
4787
+ }, D = (y, T, x, V, M) => {
4765
4788
  let P = !1, W = !1;
4766
4789
  const ne = {
4767
4790
  name: y
@@ -4779,9 +4802,9 @@ function Ru(t = {}) {
4779
4802
  P && M && c.state.next(ne);
4780
4803
  }
4781
4804
  return P ? ne : {};
4782
- }, D = (y, T, x, V) => {
4805
+ }, N = (y, T, x, V) => {
4783
4806
  const M = L(r.errors, y), P = (p.isValid || h.isValid) && Qe(T) && r.isValid !== T;
4784
- if (e.delayError && x ? (l = g(() => C(y, x)), l(e.delayError)) : (clearTimeout(d), l = null, x ? Ee(r.errors, y, x) : Re(r.errors, y)), (x ? !Lt(M, x) : M) || !Ye(V) || P) {
4807
+ if (e.delayError && x ? (l = w(() => C(y, x)), l(e.delayError)) : (clearTimeout(d), l = null, x ? Ee(r.errors, y, x) : Re(r.errors, y)), (x ? !Lt(M, x) : M) || !Ye(V) || P) {
4785
4808
  const W = X(O(O({}, V), P && Qe(T) ? { isValid: T } : {}), {
4786
4809
  errors: r.errors,
4787
4810
  name: y
@@ -4790,7 +4813,7 @@ function Ru(t = {}) {
4790
4813
  }
4791
4814
  }, R = (y) => F(null, null, function* () {
4792
4815
  m(y, !0);
4793
- const T = yield e.resolver(o, e.context, bu(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
4816
+ const T = yield e.resolver(o, e.context, Cu(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
4794
4817
  return m(y), T;
4795
4818
  }), fe = (y) => F(null, null, function* () {
4796
4819
  const { errors: T } = yield R(y);
@@ -4810,12 +4833,12 @@ function Ru(t = {}) {
4810
4833
  if (G) {
4811
4834
  const W = G, { _f: ge } = W, Pe = Xt(W, ["_f"]);
4812
4835
  if (ge) {
4813
- const J = a.array.has(ge.name), oe = G._f && Cu(G._f);
4836
+ const J = a.array.has(ge.name), oe = G._f && Su(G._f);
4814
4837
  oe && p.validatingFields && m([ge.name], !0);
4815
- const j = yield $s(G, a.disabled, o, w, e.shouldUseNativeValidation && !T, J);
4838
+ const j = yield $s(G, a.disabled, o, g, e.shouldUseNativeValidation && !T, J);
4816
4839
  if (oe && p.validatingFields && m([ge.name]), j[ge.name] && (x.valid = !1, T))
4817
4840
  break;
4818
- !T && (L(j, ge.name) ? J ? Au(r.errors, j, ge.name) : Ee(r.errors, ge.name, j[ge.name]) : Re(r.errors, ge.name));
4841
+ !T && (L(j, ge.name) ? J ? xu(r.errors, j, ge.name) : Ee(r.errors, ge.name, j[ge.name]) : Re(r.errors, ge.name));
4819
4842
  }
4820
4843
  !Ye(Pe) && (yield _e(Pe, T, x));
4821
4844
  }
@@ -4839,7 +4862,7 @@ function Ru(t = {}) {
4839
4862
  values: De(o)
4840
4863
  })));
4841
4864
  }
4842
- (x.shouldDirty || x.shouldTouch) && N(y, M, x.shouldTouch, x.shouldDirty, !0), x.shouldValidate && z(y);
4865
+ (x.shouldDirty || x.shouldTouch) && D(y, M, x.shouldTouch, x.shouldDirty, !0), x.shouldValidate && z(y);
4843
4866
  }, le = (y, T, x) => {
4844
4867
  for (const V in T) {
4845
4868
  if (!T.hasOwnProperty(V))
@@ -4869,9 +4892,9 @@ function Ru(t = {}) {
4869
4892
  }, W = Ps(e.mode), ne = Ps(e.reValidateMode);
4870
4893
  if (M) {
4871
4894
  let G, ge;
4872
- const Pe = T.type ? Ms(M._f) : Ya(y), J = y.type === Zn.BLUR || y.type === Zn.FOCUS_OUT, oe = !Su(M._f) && !e.resolver && !L(r.errors, x) && !M._f.deps || Ou(J, L(r.touchedFields, x), r.isSubmitted, ne, W), j = Us(x, a, J);
4895
+ const Pe = T.type ? Ms(M._f) : Ya(y), J = y.type === Zn.BLUR || y.type === Zn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !L(r.errors, x) && !M._f.deps || Iu(J, L(r.touchedFields, x), r.isSubmitted, ne, W), j = Us(x, a, J);
4873
4896
  Ee(o, x, Pe), J ? (!T || !T.readOnly) && (M._f.onBlur && M._f.onBlur(y), l && l(0)) : M._f.onChange && M._f.onChange(y);
4874
- const me = N(x, Pe, J), Be = !Ye(me) || j;
4897
+ const me = D(x, Pe, J), Be = !Ye(me) || j;
4875
4898
  if (!J && c.state.next({
4876
4899
  name: x,
4877
4900
  type: y.type,
@@ -4885,8 +4908,8 @@ function Ru(t = {}) {
4885
4908
  G = q.error, x = q.name, ge = Ye(Ae);
4886
4909
  }
4887
4910
  } else
4888
- m([x], !0), G = (yield $s(M, a.disabled, o, w, e.shouldUseNativeValidation))[x], m([x]), P(Pe), V && (G ? ge = !1 : (p.isValid || h.isValid) && (ge = yield _e(n, !0)));
4889
- V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), D(x, ge, G, me));
4911
+ m([x], !0), G = (yield $s(M, a.disabled, o, g, e.shouldUseNativeValidation))[x], m([x]), P(Pe), V && (G ? ge = !1 : (p.isValid || h.isValid) && (ge = yield _e(n, !0)));
4912
+ V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), N(x, ge, G, me));
4890
4913
  }
4891
4914
  }), ee = (y, T) => {
4892
4915
  if (L(r.errors, T) && y.focus)
@@ -4930,7 +4953,7 @@ function Ru(t = {}) {
4930
4953
  next: (x) => "values" in x && y(H(void 0, T), x)
4931
4954
  }) : H(y, T, !0), $ = (y) => c.state.subscribe({
4932
4955
  next: (T) => {
4933
- Tu(y.name, T.name, y.exact) && Eu(T, y.formState || p, Wt, y.reRenderRoot) && y.callback(X(O(O({
4956
+ Ou(y.name, T.name, y.exact) && Tu(T, y.formState || p, Wt, y.reRenderRoot) && y.callback(X(O(O({
4934
4957
  values: O({}, o)
4935
4958
  }, r), T), {
4936
4959
  defaultValues: i
@@ -4971,7 +4994,7 @@ function Ru(t = {}) {
4971
4994
  ref: (M) => {
4972
4995
  if (M) {
4973
4996
  ot(y, T), x = L(n, y);
4974
- const P = Ie(M.value) && M.querySelectorAll && M.querySelectorAll("input,select,textarea")[0] || M, W = gu(P), ne = x._f.refs || [];
4997
+ const P = Ie(M.value) && M.querySelectorAll && M.querySelectorAll("input,select,textarea")[0] || M, W = wu(P), ne = x._f.refs || [];
4975
4998
  if (W ? ne.find((G) => G === P) : P === x._f.ref)
4976
4999
  return;
4977
5000
  Ee(n, y, {
@@ -5171,7 +5194,7 @@ function Ru(t = {}) {
5171
5194
  formControl: tt
5172
5195
  });
5173
5196
  }
5174
- function ku(t = {}) {
5197
+ function Nu(t = {}) {
5175
5198
  const e = ue.useRef(void 0), r = ue.useRef(void 0), [n, i] = ue.useState({
5176
5199
  isDirty: !1,
5177
5200
  isValidating: !1,
@@ -5195,7 +5218,7 @@ function ku(t = {}) {
5195
5218
  formState: n
5196
5219
  }), t.defaultValues && !ft(t.defaultValues) && t.formControl.reset(t.defaultValues, t.resetOptions);
5197
5220
  else {
5198
- const s = Ru(t), { formControl: a } = s, l = Xt(s, ["formControl"]);
5221
+ const s = ku(t), { formControl: a } = s, l = Xt(s, ["formControl"]);
5199
5222
  e.current = X(O({}, l), {
5200
5223
  formState: n
5201
5224
  });
@@ -5236,12 +5259,12 @@ function ku(t = {}) {
5236
5259
  const Tr = (t, e) => {
5237
5260
  const r = {};
5238
5261
  return t.forEach((n, i) => {
5239
- if (n.type === Is.NOT_EMPTY && (r.required = (o) => e && Cd(o) ? n.message : !0), n.type === Is.REGEX) {
5262
+ if (n.type === Is.NOT_EMPTY && (r.required = (o) => e && Sd(o) ? n.message : !0), n.type === Is.REGEX) {
5240
5263
  const o = new RegExp(n.regex);
5241
5264
  r[`regex_${i}`] = (s) => !e && !s ? !0 : typeof s != "string" ? n.message : o.test(s) || n.message;
5242
5265
  }
5243
5266
  }), r;
5244
- }, Nu = ({ isOpen: t, image: e }) => /* @__PURE__ */ u(
5267
+ }, Du = ({ isOpen: t, image: e }) => /* @__PURE__ */ u(
5245
5268
  "div",
5246
5269
  {
5247
5270
  "data-ui": "gui-custom-select-chevron",
@@ -5258,7 +5281,7 @@ const Tr = (t, e) => {
5258
5281
  },
5259
5282
  children: e ? /* @__PURE__ */ u(Ve, O({}, e)) : /* @__PURE__ */ u(Ve, { imageId: "chevronDown" })
5260
5283
  }
5261
- ), Du = ({
5284
+ ), Mu = ({
5262
5285
  isChosen: t,
5263
5286
  option: e,
5264
5287
  onOptionClickCallback: r,
@@ -5273,11 +5296,11 @@ const Tr = (t, e) => {
5273
5296
  style: {
5274
5297
  padding: "5px 8px",
5275
5298
  background: ((l, d) => {
5276
- var p, h, c, w;
5299
+ var p, h, c, g;
5277
5300
  if (!l && !d) return (p = ce(e.layout.backgroundColor)) != null ? p : "transparent";
5278
5301
  if (!l && d) return (h = ce(e.layoutSelected.backgroundColor)) != null ? h : "transparent";
5279
5302
  if (l && !d) return (c = ce(e.layout.highlightColor)) != null ? c : "#F4F4F4";
5280
- if (l && d) return (w = ce(e.layoutSelected.highlightColor)) != null ? w : "#F4F4F4";
5303
+ if (l && d) return (g = ce(e.layoutSelected.highlightColor)) != null ? g : "#F4F4F4";
5281
5304
  })(n, t),
5282
5305
  fontSize: 13,
5283
5306
  display: "flex",
@@ -5322,22 +5345,22 @@ const Tr = (t, e) => {
5322
5345
  pickerLayout: h
5323
5346
  }) => {
5324
5347
  var H, K, de, le, we, ve, ee, z;
5325
- const [c, w] = Me(!1), [g, f] = Me(i), [m, S] = Me("down"), [C, b] = Me(null), I = it(null), N = it(null);
5348
+ const [c, g] = Me(!1), [w, f] = Me(i), [m, S] = Me("down"), [C, b] = Me(null), I = it(null), D = it(null);
5326
5349
  Zt(() => {
5327
5350
  var re, $, Q;
5328
5351
  if (!c) return;
5329
- const U = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = N.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
5352
+ const U = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = D.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
5330
5353
  if (!U || !Y || !te) return;
5331
5354
  const Se = U.bottom + Y.height < te.bottom;
5332
5355
  S(Se ? "down" : "up");
5333
5356
  }, [c]), nt(() => {
5334
- o(g);
5335
- }, [g]);
5336
- const D = (U) => (Y) => {
5357
+ o(w);
5358
+ }, [w]);
5359
+ const N = (U) => (Y) => {
5337
5360
  var te;
5338
- Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && w(!1), f((Se) => r ? Se.some(($) => $.value === U.value) ? Se.filter(($) => $.value !== U.value) : [...Se, U] : [U]);
5361
+ Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1), f((Se) => r ? Se.some(($) => $.value === U.value) ? Se.filter(($) => $.value !== U.value) : [...Se, U] : [U]);
5339
5362
  }, R = () => {
5340
- l && l(), w(!1);
5363
+ l && l(), g(!1);
5341
5364
  }, fe = (U) => (Y) => {
5342
5365
  Y.stopPropagation(), f((te) => te.filter((Se) => Se.value !== U.value));
5343
5366
  }, _e = (U) => {
@@ -5364,7 +5387,7 @@ const Tr = (t, e) => {
5364
5387
  },
5365
5388
  tabIndex: 0,
5366
5389
  onBlur: R,
5367
- onClick: () => w(!c),
5390
+ onClick: () => g(!c),
5368
5391
  children: [
5369
5392
  /* @__PURE__ */ u(
5370
5393
  "div",
@@ -5379,7 +5402,7 @@ const Tr = (t, e) => {
5379
5402
  width: "100%"
5380
5403
  },
5381
5404
  children: [
5382
- !g.length && /* @__PURE__ */ u(
5405
+ !w.length && /* @__PURE__ */ u(
5383
5406
  "span",
5384
5407
  {
5385
5408
  style: {
@@ -5389,7 +5412,7 @@ const Tr = (t, e) => {
5389
5412
  children: s
5390
5413
  }
5391
5414
  ),
5392
- g.map((U) => {
5415
+ w.map((U) => {
5393
5416
  var Y, te, Se, re, $;
5394
5417
  if (r) {
5395
5418
  const Q = p == null ? void 0 : p.chip;
@@ -5449,7 +5472,7 @@ const Tr = (t, e) => {
5449
5472
  ]
5450
5473
  }
5451
5474
  ),
5452
- n && g.length ? /* @__PURE__ */ u(
5475
+ n && w.length ? /* @__PURE__ */ u(
5453
5476
  "div",
5454
5477
  {
5455
5478
  style: {
@@ -5474,12 +5497,12 @@ const Tr = (t, e) => {
5474
5497
  }
5475
5498
  }
5476
5499
  ) : null,
5477
- /* @__PURE__ */ u(Nu, { isOpen: c, image: p == null ? void 0 : p.expandButton }),
5500
+ /* @__PURE__ */ u(Du, { isOpen: c, image: p == null ? void 0 : p.expandButton }),
5478
5501
  c && /* @__PURE__ */ u(
5479
5502
  "div",
5480
5503
  {
5481
5504
  "data-ui": "gui-custom-select-dropdown-menu",
5482
- ref: N,
5505
+ ref: D,
5483
5506
  style: X(O({
5484
5507
  position: "absolute"
5485
5508
  }, m === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
@@ -5503,13 +5526,13 @@ const Tr = (t, e) => {
5503
5526
  }),
5504
5527
  onClick: (U) => U.stopPropagation(),
5505
5528
  children: e.map((U) => {
5506
- const Y = g.some((te) => te.value === U.value);
5529
+ const Y = w.some((te) => te.value === U.value);
5507
5530
  return /* @__PURE__ */ u(
5508
- Du,
5531
+ Mu,
5509
5532
  {
5510
5533
  isChosen: Y,
5511
5534
  option: U,
5512
- onOptionClickCallback: D,
5535
+ onOptionClickCallback: N,
5513
5536
  isHovered: C === U.value,
5514
5537
  onHover: () => b(U.value),
5515
5538
  onHoverEnd: () => b(null)
@@ -5522,7 +5545,7 @@ const Tr = (t, e) => {
5522
5545
  ]
5523
5546
  }
5524
5547
  ) });
5525
- }, Mu = ({
5548
+ }, Pu = ({
5526
5549
  control: t,
5527
5550
  layout: e,
5528
5551
  dataSourceQuestion: r,
@@ -5581,7 +5604,7 @@ const Tr = (t, e) => {
5581
5604
  ]
5582
5605
  }
5583
5606
  );
5584
- }, Pu = ({
5607
+ }, Fu = ({
5585
5608
  control: t,
5586
5609
  layout: e,
5587
5610
  dataSourceQuestion: r,
@@ -5651,17 +5674,17 @@ const Tr = (t, e) => {
5651
5674
  window.removeEventListener("keydown", r), window.removeEventListener("mousedown", n);
5652
5675
  };
5653
5676
  }, []), t;
5654
- }, Fu = ({
5677
+ }, Uu = ({
5655
5678
  option: t,
5656
5679
  layout: e,
5657
5680
  dataSourceQuestion: r,
5658
5681
  register: n,
5659
5682
  watch: i
5660
5683
  }) => {
5661
- const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, w = {
5684
+ const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, g = {
5662
5685
  backgroundColor: ce(c.backgroundColor),
5663
5686
  borderRadius: c.cornerRadius
5664
- }, g = {
5687
+ }, w = {
5665
5688
  backgroundColor: ce(h.backgroundColor),
5666
5689
  borderRadius: h.cornerRadius
5667
5690
  }, f = o && a ? { filter: `drop-shadow(0 0 1px ${Jr})` } : {};
@@ -5674,7 +5697,7 @@ const Tr = (t, e) => {
5674
5697
  alignContent: "center",
5675
5698
  gap: 8,
5676
5699
  cursor: "pointer"
5677
- }, p ? w : g),
5700
+ }, p ? g : w),
5678
5701
  children: [
5679
5702
  /* @__PURE__ */ u(
5680
5703
  "div",
@@ -5714,7 +5737,7 @@ const Tr = (t, e) => {
5714
5737
  ]
5715
5738
  }
5716
5739
  ) }, t.id);
5717
- }, Uu = ({
5740
+ }, Lu = ({
5718
5741
  layout: t,
5719
5742
  register: e,
5720
5743
  watch: r,
@@ -5743,7 +5766,7 @@ const Tr = (t, e) => {
5743
5766
  }
5744
5767
  ),
5745
5768
  n.options.map((i) => /* @__PURE__ */ u(
5746
- Fu,
5769
+ Uu,
5747
5770
  {
5748
5771
  register: e,
5749
5772
  watch: r,
@@ -5755,19 +5778,19 @@ const Tr = (t, e) => {
5755
5778
  ))
5756
5779
  ]
5757
5780
  }
5758
- ) }), Lu = ({
5781
+ ) }), Vu = ({
5759
5782
  option: t,
5760
5783
  layout: e,
5761
5784
  dataSourceQuestion: r,
5762
5785
  register: n,
5763
5786
  watch: i
5764
5787
  }) => {
5765
- const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, w = {
5788
+ const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, g = {
5766
5789
  borderRadius: h.cornerRadius,
5767
5790
  background: ce(h.backgroundColor),
5768
5791
  borderColor: ce(h.borderColor),
5769
5792
  borderWidth: h.borderWidth
5770
- }, g = {
5793
+ }, w = {
5771
5794
  borderRadius: c.cornerRadius,
5772
5795
  background: ce(c.backgroundColor),
5773
5796
  borderColor: ce(c.borderColor),
@@ -5789,7 +5812,7 @@ const Tr = (t, e) => {
5789
5812
  cursor: "pointer",
5790
5813
  borderStyle: "solid",
5791
5814
  position: "relative"
5792
- }, p ? g : w), f),
5815
+ }, p ? w : g), f),
5793
5816
  children: [
5794
5817
  /* @__PURE__ */ u(
5795
5818
  "input",
@@ -5821,7 +5844,7 @@ const Tr = (t, e) => {
5821
5844
  },
5822
5845
  t.id
5823
5846
  );
5824
- }, Vu = ({
5847
+ }, $u = ({
5825
5848
  layout: t,
5826
5849
  watch: e,
5827
5850
  register: r,
@@ -5847,7 +5870,7 @@ const Tr = (t, e) => {
5847
5870
  }
5848
5871
  ),
5849
5872
  /* @__PURE__ */ u("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: n.options.map((i) => /* @__PURE__ */ u(
5850
- Lu,
5873
+ Vu,
5851
5874
  {
5852
5875
  register: r,
5853
5876
  watch: e,
@@ -5859,7 +5882,7 @@ const Tr = (t, e) => {
5859
5882
  )) })
5860
5883
  ]
5861
5884
  }
5862
- ) }), $u = ({
5885
+ ) }), Bu = ({
5863
5886
  children: t,
5864
5887
  backgroundColor: e,
5865
5888
  cornerRadius: r = 0,
@@ -5898,13 +5921,13 @@ const Tr = (t, e) => {
5898
5921
  ),
5899
5922
  t
5900
5923
  ] });
5901
- }, Bu = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ u("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, n]) => /* @__PURE__ */ u(Oe, X(O({}, e), { text: n }), r)) }) : null, Hu = ({
5924
+ }, Hu = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ u("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, n]) => /* @__PURE__ */ u(Oe, X(O({}, e), { text: n }), r)) }) : null, Wu = ({
5902
5925
  layout: t,
5903
5926
  dataSourceQuestion: e,
5904
5927
  register: r
5905
5928
  }) => {
5906
- var o, s, a, l, d, p, h, c, w, g, f, m, S, C, b, I;
5907
- const n = String(e.id), i = (N) => N ? N === Rn.EMAIL ? "email" : N === Rn.FREE_TEXT ? "text" : N === Rn.NUMBER ? "number" : N === Rn.SECURE ? "password" : "text" : "text";
5929
+ var o, s, a, l, d, p, h, c, g, w, f, m, S, C, b, I;
5930
+ const n = String(e.id), i = (D) => D ? D === Rn.EMAIL ? "email" : D === Rn.FREE_TEXT ? "text" : D === Rn.NUMBER ? "number" : D === Rn.SECURE ? "password" : "text" : "text";
5908
5931
  return /* @__PURE__ */ u(
5909
5932
  "div",
5910
5933
  {
@@ -5928,8 +5951,8 @@ const Tr = (t, e) => {
5928
5951
  fontSize: (d = (l = t == null ? void 0 : t.textField) == null ? void 0 : l.fontSize) != null ? d : 15,
5929
5952
  color: (h = ce((p = t == null ? void 0 : t.textField) == null ? void 0 : p.fontColor)) != null ? h : "#000000",
5930
5953
  height: "42px",
5931
- borderWidth: (w = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? w : 1,
5932
- borderColor: (f = ce((g = t == null ? void 0 : t.textField) == null ? void 0 : g.borderColor)) != null ? f : "#d9d9d9",
5954
+ borderWidth: (g = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? g : 1,
5955
+ borderColor: (f = ce((w = t == null ? void 0 : t.textField) == null ? void 0 : w.borderColor)) != null ? f : "#d9d9d9",
5933
5956
  borderStyle: "solid",
5934
5957
  borderRadius: (S = (m = t == null ? void 0 : t.textField) == null ? void 0 : m.cornerRadius) != null ? S : 8,
5935
5958
  padding: "11px",
@@ -5944,12 +5967,12 @@ const Tr = (t, e) => {
5944
5967
  ]
5945
5968
  }
5946
5969
  );
5947
- }, Wu = ({
5970
+ }, ju = ({
5948
5971
  layout: t,
5949
5972
  dataSourceQuestion: e,
5950
5973
  register: r
5951
5974
  }) => {
5952
- var i, o, s, a, l, d, p, h, c, w, g, f, m;
5975
+ var i, o, s, a, l, d, p, h, c, g, w, f, m;
5953
5976
  const n = String(e.id);
5954
5977
  return /* @__PURE__ */ u(
5955
5978
  "div",
@@ -5984,7 +6007,7 @@ const Tr = (t, e) => {
5984
6007
  borderWidth: (p = (d = t == null ? void 0 : t.textField) == null ? void 0 : d.borderWidth) != null ? p : 1,
5985
6008
  borderColor: (c = ce((h = t == null ? void 0 : t.textField) == null ? void 0 : h.borderColor)) != null ? c : "#d9d9d9",
5986
6009
  borderStyle: "solid",
5987
- borderRadius: (g = (w = t == null ? void 0 : t.textField) == null ? void 0 : w.cornerRadius) != null ? g : 8,
6010
+ borderRadius: (w = (g = t == null ? void 0 : t.textField) == null ? void 0 : g.cornerRadius) != null ? w : 8,
5988
6011
  padding: "11px",
5989
6012
  boxSizing: "border-box",
5990
6013
  backgroundColor: (m = ce((f = t == null ? void 0 : t.textField) == null ? void 0 : f.backgroundColor)) != null ? m : "#FFFFFF",
@@ -6018,23 +6041,23 @@ const Tr = (t, e) => {
6018
6041
  };
6019
6042
  Ut.MODULE = Kn, Ut.ERROR_ENUM_NAME = "GuiModuleError", Ut.SHORT_CODE = "GM";
6020
6043
  let zr = Ut;
6021
- const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
6022
- const l = Ka(r), { perform: d } = dr(), p = s ? Sd(o.questions, s) : {}, h = it(null), {
6044
+ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
6045
+ const l = Ka(r), { perform: d } = dr(), p = s ? Ed(o.questions, s) : {}, h = it(null), {
6023
6046
  register: c,
6024
- handleSubmit: w,
6025
- formState: { errors: g },
6047
+ handleSubmit: g,
6048
+ formState: { errors: w },
6026
6049
  reset: f,
6027
6050
  watch: m,
6028
6051
  control: S
6029
- } = ku({
6052
+ } = Nu({
6030
6053
  criteriaMode: "all",
6031
6054
  defaultValues: p
6032
6055
  });
6033
6056
  return /* @__PURE__ */ u(Yt, { header: t, footer: n, backgroundColor: a, children: /* @__PURE__ */ u(
6034
6057
  "form",
6035
6058
  {
6036
- onSubmit: w((b) => {
6037
- d(bd(b), l), f();
6059
+ onSubmit: g((b) => {
6060
+ d(Cd(b), l), f();
6038
6061
  }),
6039
6062
  style: {
6040
6063
  height: "100%",
@@ -6074,11 +6097,11 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6074
6097
  style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
6075
6098
  children: o.questions.map((b) => {
6076
6099
  var ae;
6077
- const I = o.static, N = (Z, H) => H.find((K) => {
6100
+ const I = o.static, D = (Z, H) => H.find((K) => {
6078
6101
  var de;
6079
6102
  if ((de = K.questionIds) != null && de.length)
6080
6103
  return K.questionIds.find((le) => Z === le);
6081
- }), D = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? N(String(b.id), i.itemTypes) || D(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
6104
+ }), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? D(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
6082
6105
  if (!R) {
6083
6106
  const Z = new zr({
6084
6107
  errorCode: Gn.DECODING_FAILED,
@@ -6087,12 +6110,12 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6087
6110
  d(Z);
6088
6111
  return;
6089
6112
  }
6090
- const fe = R == null ? void 0 : R.displayType, _e = b.id in g && ((ae = g[b.id]) == null ? void 0 : ae.types);
6113
+ const fe = R == null ? void 0 : R.displayType, _e = b.id in w && ((ae = w[b.id]) == null ? void 0 : ae.types);
6091
6114
  return (
6092
6115
  /** Question */
6093
6116
  /* @__PURE__ */ u(We, { children: [
6094
6117
  /* @__PURE__ */ u(
6095
- $u,
6118
+ Bu,
6096
6119
  {
6097
6120
  backgroundColor: R == null ? void 0 : R.backgroundColor,
6098
6121
  cornerRadius: R == null ? void 0 : R.cornerRadius,
@@ -6102,7 +6125,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6102
6125
  validationBorderWidth: R == null ? void 0 : R.validationBorderWidth,
6103
6126
  children: [
6104
6127
  fe === hr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
6105
- Wu,
6128
+ ju,
6106
6129
  {
6107
6130
  layout: R,
6108
6131
  dataSourceQuestion: b,
@@ -6110,7 +6133,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6110
6133
  }
6111
6134
  ),
6112
6135
  fe === hr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
6113
- Hu,
6136
+ Wu,
6114
6137
  {
6115
6138
  layout: R,
6116
6139
  dataSourceQuestion: b,
@@ -6118,7 +6141,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6118
6141
  }
6119
6142
  ),
6120
6143
  fe === hr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
6121
- Uu,
6144
+ Lu,
6122
6145
  {
6123
6146
  layout: R,
6124
6147
  dataSourceQuestion: b,
@@ -6127,7 +6150,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6127
6150
  }
6128
6151
  ),
6129
6152
  fe === hr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
6130
- Vu,
6153
+ $u,
6131
6154
  {
6132
6155
  layout: R,
6133
6156
  dataSourceQuestion: b,
@@ -6136,7 +6159,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6136
6159
  }
6137
6160
  ),
6138
6161
  fe === hr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6139
- Mu,
6162
+ Pu,
6140
6163
  {
6141
6164
  control: S,
6142
6165
  layout: R,
@@ -6145,7 +6168,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6145
6168
  }
6146
6169
  ),
6147
6170
  fe === hr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6148
- Pu,
6171
+ Fu,
6149
6172
  {
6150
6173
  control: S,
6151
6174
  layout: R,
@@ -6157,7 +6180,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6157
6180
  }
6158
6181
  ),
6159
6182
  _e && /* @__PURE__ */ u(
6160
- Bu,
6183
+ Hu,
6161
6184
  {
6162
6185
  validationErrorsTypes: _e,
6163
6186
  title: R.validationMessage
@@ -6192,9 +6215,9 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6192
6215
  ]
6193
6216
  }
6194
6217
  ) });
6195
- }, zu = {
6196
- display: "none"
6197
6218
  }, Ku = {
6219
+ display: "none"
6220
+ }, Gu = {
6198
6221
  display: "flex",
6199
6222
  alignItems: "center",
6200
6223
  justifyContent: "center",
@@ -6204,7 +6227,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6204
6227
  borderRadius: "16px",
6205
6228
  backgroundColor: "#7e57c5",
6206
6229
  cursor: "pointer"
6207
- }, Gu = {
6230
+ }, qu = {
6208
6231
  position: "relative",
6209
6232
  display: "flex",
6210
6233
  flexGrow: 1,
@@ -6216,7 +6239,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6216
6239
  width: "100%",
6217
6240
  minHeight: "100%",
6218
6241
  overflow: "auto"
6219
- }, qu = ({
6242
+ }, Zu = ({
6220
6243
  header: t,
6221
6244
  footer: e,
6222
6245
  buttons: r,
@@ -6225,12 +6248,12 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6225
6248
  }) => {
6226
6249
  var p, h;
6227
6250
  const { perform: o } = dr(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6228
- var g;
6229
- const w = Array.from((g = c.currentTarget.files) != null ? g : []);
6230
- if (w.length)
6251
+ var w;
6252
+ const g = Array.from((w = c.currentTarget.files) != null ? w : []);
6253
+ if (g.length)
6231
6254
  try {
6232
6255
  const m = (yield Promise.allSettled(
6233
- w.map((S) => F(null, null, function* () {
6256
+ g.map((S) => F(null, null, function* () {
6234
6257
  return {
6235
6258
  content: yield za(S),
6236
6259
  metadata: {
@@ -6259,14 +6282,14 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6259
6282
  return /* @__PURE__ */ u(Yt, { header: t, footer: e, backgroundColor: n, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
6260
6283
  "div",
6261
6284
  {
6262
- style: X(O({}, Gu), {
6285
+ style: X(O({}, qu), {
6263
6286
  justifyContent: "center"
6264
6287
  }),
6265
6288
  children: [
6266
6289
  /* @__PURE__ */ u(
6267
6290
  "input",
6268
6291
  X(O({
6269
- style: zu,
6292
+ style: Ku,
6270
6293
  ref: s,
6271
6294
  type: "file",
6272
6295
  accept: "image/*"
@@ -6274,13 +6297,13 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6274
6297
  onInput: l
6275
6298
  })
6276
6299
  ),
6277
- /* @__PURE__ */ u("button", { style: Ku, onClick: d, children: /* @__PURE__ */ u(Ve, { imageId: (h = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6300
+ /* @__PURE__ */ u("button", { style: Gu, onClick: d, children: /* @__PURE__ */ u(Ve, { imageId: (h = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6278
6301
  ]
6279
6302
  }
6280
6303
  ) }) });
6281
- }, Zu = {
6282
- display: "none"
6283
6304
  }, Yu = {
6305
+ display: "none"
6306
+ }, Ju = {
6284
6307
  display: "flex",
6285
6308
  alignItems: "center",
6286
6309
  justifyContent: "center",
@@ -6290,7 +6313,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6290
6313
  borderRadius: "16px",
6291
6314
  background: "#7e57c5",
6292
6315
  cursor: "pointer"
6293
- }, Ju = {
6316
+ }, Xu = {
6294
6317
  position: "relative",
6295
6318
  display: "flex",
6296
6319
  alignItems: "center",
@@ -6299,7 +6322,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6299
6322
  width: "100%",
6300
6323
  minHeight: "100%",
6301
6324
  overflow: "auto"
6302
- }, Xu = ({
6325
+ }, Qu = ({
6303
6326
  header: t,
6304
6327
  footer: e,
6305
6328
  backgroundColor: r,
@@ -6308,12 +6331,12 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6308
6331
  }) => {
6309
6332
  var p, h;
6310
6333
  const { perform: o } = dr(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6311
- var g;
6312
- const w = Array.from((g = c.currentTarget.files) != null ? g : []);
6313
- if (w.length)
6334
+ var w;
6335
+ const g = Array.from((w = c.currentTarget.files) != null ? w : []);
6336
+ if (g.length)
6314
6337
  try {
6315
6338
  const m = (yield Promise.allSettled(
6316
- w.map((S) => F(null, null, function* () {
6339
+ g.map((S) => F(null, null, function* () {
6317
6340
  return {
6318
6341
  content: yield za(S),
6319
6342
  metadata: {
@@ -6342,7 +6365,7 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6342
6365
  return nt(() => {
6343
6366
  F(null, null, function* () {
6344
6367
  if (Je.isDesktop) return;
6345
- const c = yield Ed();
6368
+ const c = yield Td();
6346
6369
  (c === "denied" || c === "error") && o({
6347
6370
  cancel: !1,
6348
6371
  permissionDenied: !0,
@@ -6352,14 +6375,14 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6352
6375
  }, []), /* @__PURE__ */ u(Yt, { header: t, footer: e, backgroundColor: r, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
6353
6376
  "div",
6354
6377
  {
6355
- style: X(O({}, Ju), {
6378
+ style: X(O({}, Xu), {
6356
6379
  justifyContent: "center"
6357
6380
  }),
6358
6381
  children: [
6359
6382
  /* @__PURE__ */ u(
6360
6383
  "input",
6361
6384
  X(O({
6362
- style: Zu,
6385
+ style: Yu,
6363
6386
  ref: s,
6364
6387
  type: "file",
6365
6388
  accept: "image/*",
@@ -6368,12 +6391,12 @@ const ju = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6368
6391
  onInput: l
6369
6392
  })
6370
6393
  ),
6371
- /* @__PURE__ */ u("button", { style: Yu, onClick: d, children: /* @__PURE__ */ u(Ve, { imageId: (h = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6394
+ /* @__PURE__ */ u("button", { style: Ju, onClick: d, children: /* @__PURE__ */ u(Ve, { imageId: (h = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6372
6395
  ]
6373
6396
  }
6374
6397
  ) }) });
6375
6398
  };
6376
- function Qu() {
6399
+ function e1() {
6377
6400
  const t = it(null), [e, r] = Me(!1);
6378
6401
  return { ref: t, isPopoverOpen: e, openPopover: () => {
6379
6402
  var o;
@@ -6391,7 +6414,7 @@ const Ui = () => F(null, null, function* () {
6391
6414
  } catch (e) {
6392
6415
  return "unknown";
6393
6416
  }
6394
- }), e1 = () => F(null, null, function* () {
6417
+ }), t1 = () => F(null, null, function* () {
6395
6418
  try {
6396
6419
  return yield navigator.permissions.query({ name: "geolocation" });
6397
6420
  } catch (t) {
@@ -6437,13 +6460,13 @@ const Ui = () => F(null, null, function* () {
6437
6460
  t
6438
6461
  );
6439
6462
  });
6440
- }), t1 = {
6463
+ }), r1 = {
6441
6464
  height: "100%",
6442
6465
  fontFamily: "sans-serif",
6443
6466
  display: "flex",
6444
6467
  flexDirection: "column",
6445
6468
  gap: "15px"
6446
- }, r1 = {
6469
+ }, n1 = {
6447
6470
  flex: "1 1 100%",
6448
6471
  display: "flex",
6449
6472
  justifyContent: "flex-start",
@@ -6455,7 +6478,7 @@ const Ui = () => F(null, null, function* () {
6455
6478
  width: "100%",
6456
6479
  overflow: "auto",
6457
6480
  position: "relative"
6458
- }, n1 = {
6481
+ }, i1 = {
6459
6482
  position: "fixed",
6460
6483
  inset: 0,
6461
6484
  backdropFilter: "blur(8px)",
@@ -6464,25 +6487,25 @@ const Ui = () => F(null, null, function* () {
6464
6487
  zIndex: 1e3,
6465
6488
  pointerEvents: "auto",
6466
6489
  cursor: "default"
6467
- }, i1 = {
6490
+ }, o1 = {
6468
6491
  width: "100%",
6469
6492
  height: "auto",
6470
6493
  marginBottom: "32px",
6471
6494
  aspectRatio: 1.61
6472
- }, o1 = {
6495
+ }, s1 = {
6473
6496
  marginBottom: 20,
6474
6497
  lineHeight: "39.2px",
6475
6498
  width: "100%"
6476
- }, s1 = {
6499
+ }, a1 = {
6477
6500
  lineHeight: "28px",
6478
6501
  fontWeight: "400",
6479
6502
  width: "100%"
6480
- }, a1 = {
6503
+ }, l1 = {
6481
6504
  padding: "32px 24px 0 24px",
6482
6505
  border: "1px solid rgba(0, 0, 0, 0.06)",
6483
6506
  width: "min(400px, calc(100vw - 32px))",
6484
6507
  gridTemplateRows: "auto 1fr"
6485
- }, l1 = {
6508
+ }, c1 = {
6486
6509
  marginBottom: "10px",
6487
6510
  fontWeight: 500,
6488
6511
  display: "-webkit-box",
@@ -6491,20 +6514,20 @@ const Ui = () => F(null, null, function* () {
6491
6514
  overflow: "hidden",
6492
6515
  textOverflow: "ellipsis",
6493
6516
  lineClamp: 2
6494
- }, c1 = {
6517
+ }, d1 = {
6495
6518
  marginBottom: "84px",
6496
6519
  fontWeight: 400
6497
- }, d1 = {
6520
+ }, u1 = {
6498
6521
  height: "100%",
6499
6522
  overflow: "scroll",
6500
6523
  maxHeight: "calc(100dvh - 190px)"
6501
- }, u1 = {
6524
+ }, f1 = {
6502
6525
  position: "absolute",
6503
6526
  bottom: 0,
6504
6527
  left: 0,
6505
6528
  padding: "24px",
6506
6529
  width: "100%"
6507
- }, f1 = ({
6530
+ }, h1 = ({
6508
6531
  title: t,
6509
6532
  header: e,
6510
6533
  footer: r,
@@ -6514,7 +6537,7 @@ const Ui = () => F(null, null, function* () {
6514
6537
  backgroundColor: s,
6515
6538
  popups: a
6516
6539
  }) => {
6517
- const l = Ka(o), { perform: d } = dr(), { setIsProcessingCallback: p } = vd(), { ref: h, isPopoverOpen: c, openPopover: w, closePopover: g } = Qu(), f = {
6540
+ const l = Ka(o), { perform: d } = dr(), { setIsProcessingCallback: p } = yd(), { ref: h, isPopoverOpen: c, openPopover: g, closePopover: w } = e1(), f = {
6518
6541
  enableHighAccuracy: !0,
6519
6542
  timeout: 15e3,
6520
6543
  maximumAge: 6e4
@@ -6529,18 +6552,18 @@ const Ui = () => F(null, null, function* () {
6529
6552
  p == null || p(!1);
6530
6553
  return;
6531
6554
  }
6532
- const D = yield kn(f);
6533
- I && d(D, l);
6555
+ const N = yield kn(f);
6556
+ I && d(N, l);
6534
6557
  }), () => {
6535
6558
  Je.isSafari || (I = !1);
6536
6559
  };
6537
6560
  }, []), nt(() => {
6538
6561
  if (Je.isSafari) return;
6539
- let I = !0, N = null;
6562
+ let I = !0, D = null;
6540
6563
  return F(null, null, function* () {
6541
- const D = yield e1();
6542
- D && (N = D, D.onchange = () => F(null, null, function* () {
6543
- if (D.state === "denied" && (p == null || p(!0), d(
6564
+ const N = yield t1();
6565
+ N && (D = N, N.onchange = () => F(null, null, function* () {
6566
+ if (N.state === "denied" && (p == null || p(!0), d(
6544
6567
  {
6545
6568
  location: {
6546
6569
  locationState: "application_location_restricted",
@@ -6550,7 +6573,7 @@ const Ui = () => F(null, null, function* () {
6550
6573
  }
6551
6574
  },
6552
6575
  l
6553
- )), D.state === "granted") {
6576
+ )), N.state === "granted") {
6554
6577
  p == null || p(!0);
6555
6578
  const R = yield kn(f);
6556
6579
  if (!I) return;
@@ -6558,34 +6581,34 @@ const Ui = () => F(null, null, function* () {
6558
6581
  }
6559
6582
  }));
6560
6583
  }), () => {
6561
- Je.isSafari || (I = !1, N && (N.onchange = null));
6584
+ Je.isSafari || (I = !1, D && (D.onchange = null));
6562
6585
  };
6563
6586
  }, []);
6564
6587
  const S = (I) => F(null, null, function* () {
6565
6588
  I.preventDefault();
6566
- const N = yield Ui();
6567
- if (N === "denied") {
6568
- w();
6589
+ const D = yield Ui();
6590
+ if (D === "denied") {
6591
+ g();
6569
6592
  return;
6570
6593
  }
6571
- N === "prompt" && (yield kn());
6594
+ D === "prompt" && (yield kn());
6572
6595
  }), C = (I) => F(null, null, function* () {
6573
6596
  if (I.preventDefault(), (yield Ui()) === "denied") {
6574
- w();
6597
+ g();
6575
6598
  return;
6576
6599
  }
6577
6600
  p == null || p(!0);
6578
- const D = yield kn(f);
6579
- d(D, l);
6601
+ const N = yield kn(f);
6602
+ d(N, l);
6580
6603
  }), b = (I) => {
6581
- I.preventDefault(), g();
6604
+ I.preventDefault(), w();
6582
6605
  };
6583
6606
  return /* @__PURE__ */ u(Yt, { header: e, footer: r, backgroundColor: s, children: [
6584
- /* @__PURE__ */ u("div", { style: t1, children: [
6585
- /* @__PURE__ */ u("div", { style: r1, children: [
6586
- n && /* @__PURE__ */ u("div", { style: i1, children: /* @__PURE__ */ u(Ve, O({}, n)) }),
6587
- t && /* @__PURE__ */ u("div", { style: o1, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
6588
- i && /* @__PURE__ */ u("div", { style: s1, children: /* @__PURE__ */ u(ri, O({}, i)) })
6607
+ /* @__PURE__ */ u("div", { style: r1, children: [
6608
+ /* @__PURE__ */ u("div", { style: n1, children: [
6609
+ n && /* @__PURE__ */ u("div", { style: o1, children: /* @__PURE__ */ u(Ve, O({}, n)) }),
6610
+ t && /* @__PURE__ */ u("div", { style: s1, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
6611
+ i && /* @__PURE__ */ u("div", { style: a1, children: /* @__PURE__ */ u(ri, O({}, i)) })
6589
6612
  ] }),
6590
6613
  !!(o != null && o.length) && /* @__PURE__ */ u(
6591
6614
  "div",
@@ -6594,14 +6617,14 @@ const Ui = () => F(null, null, function* () {
6594
6617
  display: "flex",
6595
6618
  flexDirection: "column"
6596
6619
  },
6597
- children: o.map((I, N) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
6620
+ children: o.map((I, D) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
6598
6621
  qn,
6599
6622
  O(O({
6600
6623
  dataTestId: "question-button"
6601
6624
  }, I), I.type === "FORM" ? {
6602
6625
  onClick: Je.isSafari ? C : S
6603
6626
  } : {})
6604
- ) }, N))
6627
+ ) }, D))
6605
6628
  }
6606
6629
  )
6607
6630
  ] }),
@@ -6612,14 +6635,14 @@ const Ui = () => F(null, null, function* () {
6612
6635
  popover: "manual",
6613
6636
  role: "dialog",
6614
6637
  "aria-modal": "true",
6615
- style: X(O({}, a1), {
6638
+ style: X(O({}, l1), {
6616
6639
  borderRadius: m.cornerRadius || "27px",
6617
6640
  backgroundColor: m.backgroundColor || "#ffffff"
6618
6641
  }),
6619
6642
  children: [
6620
- /* @__PURE__ */ u("div", { style: l1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, m.title))) }),
6621
- /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, m.message))) }) }),
6622
- m.actionButton1 && /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(
6643
+ /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, m.title))) }),
6644
+ /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, m.message))) }) }),
6645
+ m.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
6623
6646
  qn,
6624
6647
  O(O({
6625
6648
  dataTestId: "question-button"
@@ -6631,9 +6654,9 @@ const Ui = () => F(null, null, function* () {
6631
6654
  c && /* @__PURE__ */ u(
6632
6655
  "div",
6633
6656
  {
6634
- style: n1,
6657
+ style: i1,
6635
6658
  onPointerDown: (I) => {
6636
- I.preventDefault(), I.stopPropagation(), g();
6659
+ I.preventDefault(), I.stopPropagation(), w();
6637
6660
  }
6638
6661
  }
6639
6662
  )
@@ -6644,7 +6667,7 @@ const Ui = () => F(null, null, function* () {
6644
6667
  const s = i != null && i.length ? JSON.stringify(i) : "default-key";
6645
6668
  if (e === ct.STATUS)
6646
6669
  return /* @__PURE__ */ u(
6647
- ru,
6670
+ nu,
6648
6671
  {
6649
6672
  header: r == null ? void 0 : r.header,
6650
6673
  footer: r == null ? void 0 : r.footer,
@@ -6657,7 +6680,7 @@ const Ui = () => F(null, null, function* () {
6657
6680
  );
6658
6681
  if (e === ct.INFO)
6659
6682
  return /* @__PURE__ */ u(
6660
- ou,
6683
+ su,
6661
6684
  {
6662
6685
  header: r == null ? void 0 : r.header,
6663
6686
  footer: r == null ? void 0 : r.footer,
@@ -6670,7 +6693,7 @@ const Ui = () => F(null, null, function* () {
6670
6693
  );
6671
6694
  if (e === ct.GEOLOCATION)
6672
6695
  return /* @__PURE__ */ u(
6673
- f1,
6696
+ h1,
6674
6697
  {
6675
6698
  header: r.header,
6676
6699
  footer: r.footer,
@@ -6694,7 +6717,7 @@ const Ui = () => F(null, null, function* () {
6694
6717
  );
6695
6718
  if (e === ct.INFO_DETAILS)
6696
6719
  return /* @__PURE__ */ u(
6697
- du,
6720
+ uu,
6698
6721
  {
6699
6722
  header: r == null ? void 0 : r.header,
6700
6723
  title: r == null ? void 0 : r.title,
@@ -6706,7 +6729,7 @@ const Ui = () => F(null, null, function* () {
6706
6729
  );
6707
6730
  if (e === ct.CAMERA)
6708
6731
  return /* @__PURE__ */ u(
6709
- Xu,
6732
+ Qu,
6710
6733
  {
6711
6734
  header: r == null ? void 0 : r.header,
6712
6735
  buttons: r == null ? void 0 : r.buttons,
@@ -6717,7 +6740,7 @@ const Ui = () => F(null, null, function* () {
6717
6740
  );
6718
6741
  if (e === ct.GALLERY)
6719
6742
  return /* @__PURE__ */ u(
6720
- qu,
6743
+ Zu,
6721
6744
  {
6722
6745
  header: r == null ? void 0 : r.header,
6723
6746
  buttons: r == null ? void 0 : r.buttons,
@@ -6728,7 +6751,7 @@ const Ui = () => F(null, null, function* () {
6728
6751
  );
6729
6752
  if (n && (n != null && n.questions.length) && e === ct.QUESTIONS)
6730
6753
  return /* @__PURE__ */ u(
6731
- ju,
6754
+ zu,
6732
6755
  {
6733
6756
  dataSource: n,
6734
6757
  properties: i,
@@ -6755,7 +6778,7 @@ const Ui = () => F(null, null, function* () {
6755
6778
  return o(a), null;
6756
6779
  };
6757
6780
  let Li = !1;
6758
- const Hs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: t }), h1 = ({ isProcessing: t, moduleProps: e, perform: r }) => {
6781
+ const Hs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: t }), p1 = ({ isProcessing: t, moduleProps: e, perform: r }) => {
6759
6782
  const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, d) => {
6760
6783
  r && r(l, d);
6761
6784
  };
@@ -6774,7 +6797,7 @@ const Hs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
6774
6797
  templateLayout: i
6775
6798
  }, e.backgroundColor ? { backgroundColor: e.backgroundColor } : {}), typeof e.selectionLimit == "number" ? { selectionLimit: e.selectionLimit } : {})
6776
6799
  ) }) });
6777
- }, Br = class Br extends md {
6800
+ }, Br = class Br extends gd {
6778
6801
  constructor() {
6779
6802
  super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
6780
6803
  }
@@ -6815,7 +6838,7 @@ const Hs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
6815
6838
  }
6816
6839
  Cr(
6817
6840
  /* @__PURE__ */ u(
6818
- h1,
6841
+ p1,
6819
6842
  {
6820
6843
  moduleProps: this.props.moduleProps,
6821
6844
  perform: this.props.perform,
@@ -6844,8 +6867,8 @@ const Hs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
6844
6867
  };
6845
6868
  Br.displayName = Kn, Br.getSupportedTemplates = () => Object.values(ct), Br.getIdentifier = () => Kn;
6846
6869
  let Xn = Br;
6847
- gd(Kn, Xn);
6848
- const p1 = (t, e) => ({
6870
+ wd(Kn, Xn);
6871
+ const _1 = (t, e) => ({
6849
6872
  _isInitialized: !1,
6850
6873
  _initializationInProgress: !1,
6851
6874
  _isConnectedToPlatform: !1,
@@ -6903,21 +6926,21 @@ const p1 = (t, e) => ({
6903
6926
  return {};
6904
6927
  }),
6905
6928
  _continueSession: (n, i) => F(null, null, function* () {
6906
- var w;
6929
+ var g;
6907
6930
  const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ? Mr.DID_CONTINUE_REMOTE_SESSION : Mr.DID_START_RESTORE_SESSION;
6908
6931
  let d;
6909
6932
  if (i)
6910
6933
  d = i;
6911
6934
  else if (s) {
6912
6935
  if (!e().sessionRestoreMode) return {};
6913
- const g = o.apiKey, f = nr.getAuthTokenLs(), m = f && ((w = f[g]) == null ? void 0 : w.sessionId);
6936
+ const w = o.apiKey, f = nr.getAuthTokenLs(), m = f && ((g = f[w]) == null ? void 0 : g.sessionId);
6914
6937
  if (!m) return {};
6915
6938
  m && (d = m);
6916
6939
  } else {
6917
6940
  if (!e().sessionRestoreMode) return {};
6918
- const g = e().getCurrentSessionDataLs();
6919
- if (!g) return {};
6920
- const f = g.sessionId, m = g.workflowId;
6941
+ const w = e().getCurrentSessionDataLs();
6942
+ if (!w) return {};
6943
+ const f = w.sessionId, m = w.workflowId;
6921
6944
  if (!f || m !== a) return {};
6922
6945
  d = f;
6923
6946
  }
@@ -7005,8 +7028,8 @@ const p1 = (t, e) => ({
7005
7028
  underlyingBaseError: c.error
7006
7029
  }) };
7007
7030
  h && c.authToken !== h && nr.removeAuthTokenLs(n.apiKey);
7008
- const w = p && c.authToken === p.authToken && p, g = w ? w.tokenExpiresAt : Date.now() + a * 1e3;
7009
- return e().setApiKeyAuthTokenCollection(n.apiKey, c.authToken, g), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
7031
+ const g = p && c.authToken === p.authToken && p, w = g ? g.tokenExpiresAt : Date.now() + a * 1e3;
7032
+ return e().setApiKeyAuthTokenCollection(n.apiKey, c.authToken, w), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
7010
7033
  host: s.host,
7011
7034
  isSecure: s.isSecure,
7012
7035
  apiKey: n.apiKey,
@@ -7130,7 +7153,7 @@ const p1 = (t, e) => ({
7130
7153
  },
7131
7154
  prepareWorkflowAndPrepareUi(n) {
7132
7155
  return F(this, null, function* () {
7133
- var g;
7156
+ var w;
7134
7157
  if (!e()._isInitialized)
7135
7158
  return { error: new Ot({
7136
7159
  errorCode: Et.INITIALIZATION_REQUIRED
@@ -7143,7 +7166,7 @@ const p1 = (t, e) => ({
7143
7166
  return { error: new Ot({
7144
7167
  errorCode: Et.SCENARIO_IN_PROGRESS
7145
7168
  }) };
7146
- const i = yield e().fetchService.getWorkflow(n), o = So(i.data), s = ((g = o.client) == null ? void 0 : g.steps) && o.client.steps.some((f) => f.templateId === Hi);
7169
+ const i = yield e().fetchService.getWorkflow(n), o = So(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((f) => f.templateId === Hi);
7147
7170
  let a = null;
7148
7171
  if (i.code === 4 && (a = Tt.HTTP_ISSUE), i.code !== 0 && i.code !== 4 && (a = Tt.PROVIDER_ERROR), i.code === 0 && !i.data.id && (a = Tt.DECODING_FAILED), i.code === 0 && i.data.id && o === null && (a = Tt.DECODING_FAILED), s || (a = Tt.DECODING_FAILED), a !== null) {
7149
7172
  const f = new jn({
@@ -7160,20 +7183,20 @@ const p1 = (t, e) => ({
7160
7183
  c && n !== c && l.forEach((f) => {
7161
7184
  f.component.deinitialize();
7162
7185
  });
7163
- const w = e().modulesConfig;
7186
+ const g = e().modulesConfig;
7164
7187
  return l.forEach((f) => {
7165
- f.component.isReady() || f.component.initialize(w);
7188
+ f.component.isReady() || f.component.initialize(g);
7166
7189
  }), e().setLayout(o.client.layout), e().setProcessingTemplate(o.client.steps), e().setWorkflowId(n), { workflow: o };
7167
7190
  });
7168
7191
  },
7169
- startNewSession(n, i, o) {
7170
- return F(this, null, function* () {
7192
+ startNewSession(a) {
7193
+ return F(this, arguments, function* ({ completion: n, locale: i, metadata: o, location: s }) {
7171
7194
  if (!e()._isInitialized)
7172
7195
  return { error: new Ge({
7173
7196
  errorCode: Ke.INITIALIZATION_REQUIRED
7174
7197
  }) };
7175
- const s = e().workflowId;
7176
- if (!s)
7198
+ const l = e().workflowId;
7199
+ if (!l)
7177
7200
  return {
7178
7201
  error: new Ge({
7179
7202
  errorCode: Ke.PREPARED_REQUIRED
@@ -7185,63 +7208,68 @@ const p1 = (t, e) => ({
7185
7208
  errorCode: Ke.ALREADY_STARTED
7186
7209
  })
7187
7210
  };
7188
- const a = (C) => {
7189
- dt && dt.close(), n(C);
7211
+ const d = (I) => {
7212
+ dt && dt.close(), n(I);
7190
7213
  };
7191
- e().setWorkflowSessionCompletion(a);
7192
- const l = e().startConfig, d = "apiKey" in l && typeof l.apiKey == "string", p = e().apiKeyAuthTokenCollection;
7193
- if (d && "tokenExpiresAt" in p) {
7194
- const C = p.tokenExpiresAt && typeof p.tokenExpiresAt == "number" ? p.tokenExpiresAt : 0;
7195
- if (Date.now() > C) {
7196
- const I = yield e().connectByApiKey({
7197
- apiKey: l.apiKey,
7198
- host: l.host,
7214
+ e().setWorkflowSessionCompletion(d);
7215
+ const p = e().startConfig, h = "apiKey" in p && typeof p.apiKey == "string", c = e().apiKeyAuthTokenCollection;
7216
+ if (h && "tokenExpiresAt" in c) {
7217
+ const I = c.tokenExpiresAt && typeof c.tokenExpiresAt == "number" ? c.tokenExpiresAt : 0;
7218
+ if (Date.now() > I) {
7219
+ const N = yield e().connectByApiKey({
7220
+ apiKey: p.apiKey,
7221
+ host: p.host,
7199
7222
  deviceDescriptor: {
7200
7223
  ttl: e()._ttl
7201
7224
  }
7202
7225
  });
7203
- if (nr.removeAuthTokenLs(l.apiKey), I.error)
7226
+ if (nr.removeAuthTokenLs(p.apiKey), N.error)
7204
7227
  return { error: new ir({
7205
7228
  errorCode: tr.CONNECTION_ISSUE,
7206
- underlyingBaseError: I.error
7229
+ underlyingBaseError: N.error
7207
7230
  }) };
7208
- if (I && "authToken" in I) {
7209
- const N = Date.now() + e()._ttl * 1e3;
7231
+ if (N && "authToken" in N) {
7232
+ const R = Date.now() + e()._ttl * 1e3;
7210
7233
  e().setApiKeyAuthTokenCollection(
7211
- l.apiKey,
7212
- I.authToken,
7213
- N
7234
+ p.apiKey,
7235
+ N.authToken,
7236
+ R
7214
7237
  );
7215
7238
  }
7216
7239
  }
7217
7240
  }
7218
7241
  e().setIsProcessing(!0);
7219
- const h = yield e().fetchService.getConnectionToken(!1);
7220
- if (!h || typeof h != "string") {
7221
- const C = new ir({
7242
+ const g = yield e().fetchService.getConnectionToken(!1);
7243
+ if (!g || typeof g != "string") {
7244
+ const I = new ir({
7222
7245
  errorCode: tr.TOKEN_ERROR
7223
7246
  });
7224
7247
  return {
7225
7248
  error: new Ge({
7226
7249
  errorCode: Ke.START_SESSION_FAILED,
7227
- underlyingBaseError: C
7250
+ underlyingBaseError: I
7228
7251
  })
7229
7252
  };
7230
7253
  }
7231
- e().setServiceSessionToken(h);
7232
- const c = yield e()._runSocketConnection(h);
7233
- if (c.error) return { error: c.error };
7234
- const w = e()._sessionIdFromUrl, g = yield e()._continueSession(i, w);
7235
- if ("sessionId" in g) return { results: g };
7236
- if ("error" in g)
7237
- return { error: g.error };
7238
- if ("id" in g) return {};
7239
- const f = yield e().fetchService.startSession(s, i, o), m = e()._checkIsSessionDataValid(f.data);
7240
- if (!Ss(m))
7254
+ e().setServiceSessionToken(g);
7255
+ const w = yield e()._runSocketConnection(g);
7256
+ if (w.error) return { error: w.error };
7257
+ const f = e()._sessionIdFromUrl, m = yield e()._continueSession(i, f);
7258
+ if ("sessionId" in m) return { results: m };
7259
+ if ("error" in m)
7241
7260
  return { error: m.error };
7242
- d ? e()._checkAndSetApiTokenToLs(m.id) : e().setCurrentSessionDataLsAndStore({ sessionId: m.id, workflowId: s });
7243
- const S = m.currentStep;
7244
- return e().setCurrentStepId(S), e().setNextStep(m.workflow, m.properties, S), e().listener({
7261
+ if ("id" in m) return {};
7262
+ const S = yield e().fetchService.startSession({
7263
+ workflowId: l,
7264
+ locale: i,
7265
+ metadata: o,
7266
+ location: s
7267
+ }), C = e()._checkIsSessionDataValid(S.data);
7268
+ if (!Ss(C))
7269
+ return { error: C.error };
7270
+ h ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
7271
+ const b = C.currentStep;
7272
+ return e().setCurrentStepId(b), e().setNextStep(C.workflow, C.properties, b), e().listener({
7245
7273
  eventType: Fn.MESSAGE,
7246
7274
  message: Mr.DID_START_SESSION,
7247
7275
  module: "IDV"
@@ -7274,7 +7302,7 @@ const p1 = (t, e) => ({
7274
7302
  });
7275
7303
  }
7276
7304
  });
7277
- class _1 {
7305
+ class m1 {
7278
7306
  constructor() {
7279
7307
  this._connectionTokenExpirationBufferMs = 6e4, this._origin = "", this._locale = "", this._workflowId = "", this._session = null, this._apiKeyAuthToken = { token: "", expiresAt: 0 }, this._connectionToken = { token: "", expiresAt: 0 }, this._connect = null, this._getErrorTextFromError = (e) => e instanceof Error ? e.message : String(e);
7280
7308
  }
@@ -7604,17 +7632,17 @@ class _1 {
7604
7632
  method: o
7605
7633
  }), c = { httpCode: h.status, method: o, url: d };
7606
7634
  if (!h.ok) {
7607
- const g = yield this._getResponseTextFromBadResponse(h);
7608
- return g && (c.what = g), { code: 5, data: c };
7635
+ const w = yield this._getResponseTextFromBadResponse(h);
7636
+ return w && (c.what = w), { code: 5, data: c };
7609
7637
  }
7610
- let w;
7638
+ let g;
7611
7639
  try {
7612
- if (w = yield h.json(), !w) return { code: 6, data: c };
7613
- } catch (g) {
7614
- const f = this._getErrorTextFromError(g);
7640
+ if (g = yield h.json(), !g) return { code: 6, data: c };
7641
+ } catch (w) {
7642
+ const f = this._getErrorTextFromError(w);
7615
7643
  return c.what = f, { code: 6, data: c };
7616
7644
  }
7617
- return { code: 0, data: w };
7645
+ return { code: 0, data: g };
7618
7646
  } catch (h) {
7619
7647
  const c = this._getErrorTextFromError(h);
7620
7648
  return { code: 4, data: { httpCode: 0, method: o, url: d, what: c } };
@@ -7701,14 +7729,19 @@ class _1 {
7701
7729
  return +/* @__PURE__ */ new Date() < +new Date(this._connectionToken.expiresAt) - this._connectionTokenExpirationBufferMs ? this._connectionToken.token : ((r = this._connect) == null ? void 0 : r.type) === "byUserPass" ? (yield this.connectByUserPass(this._connect.arg), this._connectionToken.token) : ((n = this._connect) == null ? void 0 : n.type) === "byApiKey" ? (yield this.connectByApiKey(this._connect.arg, e), this._connectionToken.token) : ((i = this._connect) == null ? void 0 : i.type) === "byUrl" ? (yield this.connectByUrl(this._connect.arg), this._connectionToken.token) : "";
7702
7730
  });
7703
7731
  }
7704
- startSession(e, r, n) {
7705
- return F(this, null, function* () {
7706
- const i = {
7732
+ startSession(o) {
7733
+ return F(this, arguments, function* ({
7734
+ workflowId: e,
7735
+ locale: r,
7736
+ metadata: n,
7737
+ location: i
7738
+ }) {
7739
+ const s = {
7707
7740
  locale: r
7708
7741
  };
7709
- ld(n) && (i.metadata = n);
7710
- const o = yield this.getConnectionToken(!1), s = this._getAuthorizationHeaderFromConnectionToken(o), a = yield this._fetchSessionByWorkflowId(s, e, i);
7711
- return a.code === 0 && (this._session = a.data, this._locale = r), a;
7742
+ ld(n) && (s.metadata = n), i && (s.location = i);
7743
+ const a = yield this.getConnectionToken(!1), l = this._getAuthorizationHeaderFromConnectionToken(a), d = yield this._fetchSessionByWorkflowId(l, e, s);
7744
+ return d.code === 0 && (this._session = d.data, this._locale = r), d;
7712
7745
  });
7713
7746
  }
7714
7747
  continueSession(e, r) {
@@ -7749,12 +7782,12 @@ class _1 {
7749
7782
  });
7750
7783
  }
7751
7784
  }
7752
- const m1 = (t, e) => ({
7785
+ const g1 = (t, e) => ({
7753
7786
  fetchService: null,
7754
7787
  isProcessing: !1,
7755
7788
  isFinalWaitingUi: !1,
7756
7789
  setAndInitFetchService: () => F(null, null, function* () {
7757
- const n = new _1();
7790
+ const n = new m1();
7758
7791
  t({ fetchService: n });
7759
7792
  }),
7760
7793
  setFinalWaitingUi: (n) => {
@@ -7837,7 +7870,7 @@ const m1 = (t, e) => ({
7837
7870
  },
7838
7871
  loadModules: (n) => F(null, null, function* () {
7839
7872
  try {
7840
- const i = yield g1(n);
7873
+ const i = yield w1(n);
7841
7874
  return t(() => ({ externalModules: i })), {};
7842
7875
  } catch (i) {
7843
7876
  return e().resetFetchService(), e().resetProps(), { error: new Bn({
@@ -7879,11 +7912,11 @@ const m1 = (t, e) => ({
7879
7912
  return o != null ? o : null;
7880
7913
  },
7881
7914
  _getSessionStateNextStepConditionResult: () => F(null, null, function* () {
7882
- var g, f, m;
7883
- const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (g = o == null ? void 0 : o.currentStep) != null ? g : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (f = o == null ? void 0 : o.workflow) == null ? void 0 : f.steps) != null ? m : [], d = od(l, s), p = n.code === 4, h = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
7884
- let w = null;
7885
- if (l && !d && (w = lt.NOT_DATA_TYPE), p && (w = lt.HTTP_ISSUE), h && (w = lt.PROVIDER_ERROR), a && (w = lt.IS_PROCESSING), c && (w = lt.DECODING_FAILED), w !== null) {
7886
- const S = new Lr({ errorCode: w });
7915
+ var w, f, m;
7916
+ const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (w = o == null ? void 0 : o.currentStep) != null ? w : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (f = o == null ? void 0 : o.workflow) == null ? void 0 : f.steps) != null ? m : [], d = od(l, s), p = n.code === 4, h = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
7917
+ let g = null;
7918
+ if (l && !d && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE), h && (g = lt.PROVIDER_ERROR), a && (g = lt.IS_PROCESSING), c && (g = lt.DECODING_FAILED), g !== null) {
7919
+ const S = new Lr({ errorCode: g });
7887
7920
  return { error: new Ge({
7888
7921
  errorCode: Ke.INTERNAL_ISSUE,
7889
7922
  underlyingBaseError: S
@@ -8030,8 +8063,8 @@ const m1 = (t, e) => ({
8030
8063
  dataSource: (d = c.dataSource) != null ? d : null,
8031
8064
  properties: o
8032
8065
  })), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((h = c == null ? void 0 : c.client) == null ? void 0 : h.templateLayout)) {
8033
- const w = Cs(c.client.templateLayout, e().layout);
8034
- w && (s.templateLayout = w);
8066
+ const g = Cs(c.client.templateLayout, e().layout);
8067
+ g && (s.templateLayout = g);
8035
8068
  }
8036
8069
  }
8037
8070
  const a = id(e().externalModules, i.steps, n);
@@ -8065,7 +8098,7 @@ const m1 = (t, e) => ({
8065
8098
  })),
8066
8099
  resetFetchService: () => t(() => ({ fetchService: null }))
8067
8100
  });
8068
- function g1(t) {
8101
+ function w1(t) {
8069
8102
  return F(this, null, function* () {
8070
8103
  const e = [];
8071
8104
  for (const n of t)
@@ -8078,14 +8111,14 @@ function g1(t) {
8078
8111
  });
8079
8112
  }
8080
8113
  const He = Bc(
8081
- (...t) => O(O(O({}, _d(...t)), p1(...t)), m1(...t))
8082
- ), w1 = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100, Ws = (t, e) => {
8083
- if (!w1(t))
8114
+ (...t) => O(O(O({}, md(...t)), _1(...t)), g1(...t))
8115
+ ), v1 = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100, Ws = (t, e) => {
8116
+ if (!v1(t))
8084
8117
  throw new Error(`Invalid component name: ${t}`);
8085
8118
  const r = document.createElement(t);
8086
8119
  return r.style.width = "100%", r.style.height = "100%", r.setProps(e), r;
8087
8120
  };
8088
- class v1 {
8121
+ class y1 {
8089
8122
  constructor(e) {
8090
8123
  this.isPortrait = !1, this.isLandscape = !1, this.orientation = "portrait", this._handleOrientationChange = () => {
8091
8124
  const r = this._getOrientation();
@@ -8103,7 +8136,7 @@ class v1 {
8103
8136
  }
8104
8137
  }
8105
8138
  var Vi = { exports: {} }, js;
8106
- function y1() {
8139
+ function b1() {
8107
8140
  return js || (js = 1, (function(t) {
8108
8141
  t.exports = /******/
8109
8142
  (function(e) {
@@ -8190,7 +8223,7 @@ function y1() {
8190
8223
  /* 1 */
8191
8224
  /***/
8192
8225
  (function(e, r, n) {
8193
- var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType, h = d.broPayload, c = d.mobilePayload, w = d.wearPayload, g = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, C = new i(), b = C.getBrowser(), I = C.getDevice(), N = C.getEngine(), D = C.getOS(), R = C.getUA(), fe = s.CHROME, _e = s.CHROMIUM, ae = s.IE, Z = s.INTERNET_EXPLORER, H = s.OPERA, K = s.FIREFOX, de = s.SAFARI, le = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, ee = l.MOBILE, z = l.TABLET, U = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Se = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, $e = a.WINDOWS, je = a.MAC_OS, ot = function() {
8226
+ var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType, h = d.broPayload, c = d.mobilePayload, g = d.wearPayload, w = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, C = new i(), b = C.getBrowser(), I = C.getDevice(), D = C.getEngine(), N = C.getOS(), R = C.getUA(), fe = s.CHROME, _e = s.CHROMIUM, ae = s.IE, Z = s.INTERNET_EXPLORER, H = s.OPERA, K = s.FIREFOX, de = s.SAFARI, le = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, ee = l.MOBILE, z = l.TABLET, U = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Se = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, $e = a.WINDOWS, je = a.MAC_OS, ot = function() {
8194
8227
  return I.type === ee;
8195
8228
  }, Xe = function() {
8196
8229
  return I.type === z;
@@ -8203,7 +8236,7 @@ function y1() {
8203
8236
  return !1;
8204
8237
  }
8205
8238
  }, st = function() {
8206
- return D.name === a.WINDOWS && D.version === "10" ? typeof R == "string" && R.indexOf("Edg/") !== -1 : !1;
8239
+ return N.name === a.WINDOWS && N.version === "10" ? typeof R == "string" && R.indexOf("Edg/") !== -1 : !1;
8207
8240
  }, Ht = function() {
8208
8241
  return I.type === U;
8209
8242
  }, bt = function() {
@@ -8213,15 +8246,15 @@ function y1() {
8213
8246
  }, Ct = function() {
8214
8247
  return I.type === Se;
8215
8248
  }, Wt = function() {
8216
- return D.name === re;
8249
+ return N.name === re;
8217
8250
  }, _t = function() {
8218
- return D.name === $e;
8251
+ return N.name === $e;
8219
8252
  }, tt = function() {
8220
- return D.name === je;
8253
+ return N.name === je;
8221
8254
  }, y = function() {
8222
- return D.name === $;
8255
+ return N.name === $;
8223
8256
  }, T = function() {
8224
- return D.name === Q;
8257
+ return N.name === Q;
8225
8258
  }, x = function() {
8226
8259
  return b.name === fe;
8227
8260
  }, V = function() {
@@ -8257,9 +8290,9 @@ function y1() {
8257
8290
  }, he = function() {
8258
8291
  return b.version;
8259
8292
  }, q = function() {
8260
- return D.version ? D.version : "none";
8293
+ return N.version ? N.version : "none";
8261
8294
  }, ze = function() {
8262
- return D.name ? D.name : "none";
8295
+ return N.name ? N.name : "none";
8263
8296
  }, jt = function() {
8264
8297
  return b.name;
8265
8298
  }, Jt = function() {
@@ -8267,9 +8300,9 @@ function y1() {
8267
8300
  }, Qr = function() {
8268
8301
  return I.model ? I.model : "none";
8269
8302
  }, en = function() {
8270
- return N.name;
8303
+ return D.name;
8271
8304
  }, tn = function() {
8272
- return N.version;
8305
+ return D.version;
8273
8306
  }, rn = function() {
8274
8307
  return R;
8275
8308
  }, nn = function() {
@@ -8278,15 +8311,15 @@ function y1() {
8278
8311
  function Ci() {
8279
8312
  var ie = mt.isBrowser, at = mt.isMobile, fr = mt.isTablet, Sn = mt.isSmartTV, En = mt.isConsole, Tn = mt.isWearable;
8280
8313
  if (ie)
8281
- return h(ie, b, N, D, R);
8314
+ return h(ie, b, D, N, R);
8282
8315
  if (Sn)
8283
- return f(Sn, N, D, R);
8316
+ return f(Sn, D, N, R);
8284
8317
  if (En)
8285
- return g(En, N, D, R);
8318
+ return w(En, D, N, R);
8286
8319
  if (at || fr)
8287
- return c(mt, I, D, R);
8320
+ return c(mt, I, N, R);
8288
8321
  if (Tn)
8289
- return w(Tn, N, D, R);
8322
+ return g(Tn, D, N, R);
8290
8323
  }
8291
8324
  e.exports = {
8292
8325
  deviceDetect: Ci,
@@ -8344,7 +8377,7 @@ function y1() {
8344
8377
  * Dual licensed under GPLv2 or MIT
8345
8378
  */
8346
8379
  (function(o, s) {
8347
- var a = "0.7.18", l = "", d = "?", p = "function", h = "undefined", c = "object", w = "string", g = "major", f = "model", m = "name", S = "type", C = "vendor", b = "version", I = "architecture", N = "console", D = "mobile", R = "tablet", fe = "smarttv", _e = "wearable", ae = "embedded", Z = { extend: function(ee, z) {
8380
+ var a = "0.7.18", l = "", d = "?", p = "function", h = "undefined", c = "object", g = "string", w = "major", f = "model", m = "name", S = "type", C = "vendor", b = "version", I = "architecture", D = "console", N = "mobile", R = "tablet", fe = "smarttv", _e = "wearable", ae = "embedded", Z = { extend: function(ee, z) {
8348
8381
  var U = {};
8349
8382
  for (var Y in ee)
8350
8383
  z[Y] && z[Y].length % 2 === 0 ? U[Y] = z[Y].concat(ee[Y]) : U[Y] = ee[Y];
@@ -8354,7 +8387,7 @@ function y1() {
8354
8387
  }, lowerize: function(ee) {
8355
8388
  return ee.toLowerCase();
8356
8389
  }, major: function(ee) {
8357
- return typeof ee === w ? ee.replace(/[^\d\.]/g, "").split(".")[0] : s;
8390
+ return typeof ee === g ? ee.replace(/[^\d\.]/g, "").split(".")[0] : s;
8358
8391
  }, trim: function(ee) {
8359
8392
  return ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8360
8393
  } }, H = { rgx: function(ee, z) {
@@ -8375,7 +8408,7 @@ function y1() {
8375
8408
  } else if (Z.has(z[U], ee))
8376
8409
  return U === d ? s : U;
8377
8410
  return ee;
8378
- } }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, f, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, K.device.amazon.model], [C, "Amazon"], [S, D]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, C, [S, D]], [/\((ip[honed|\s\w*]+);/i], [f, [C, "Apple"], [S, D]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, f, [S, D]], [/\(bb10;\s(\w+)/i], [f, [C, "BlackBerry"], [S, D]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [f, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [C, "Sony"], [S, D]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, f, [S, N]], [/android.+;\s(shield)\sbuild/i], [f, [C, "Nvidia"], [S, N]], [/(playstation\s[34portablevi]+)/i], [f, [C, "Sony"], [S, N]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [f, H.str, K.device.sprint.model], [S, D]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, f, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [f, /_/g, " "], [S, D]], [/(nexus\s9)/i], [f, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [C, "Huawei"], [S, D]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, f, [S, D]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [C, "Microsoft"], [S, N]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [C, "Microsoft"], [S, D]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [C, "Motorola"], [S, D]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [f, Z.trim], [S, fe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [C, "Samsung"], [S, fe]], [/\(dtv[\);].+(aquos)/i], [f, [C, "Sharp"], [S, fe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], f, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, fe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], f, [S, D]], [/sie-(\w*)/i], [f, [C, "Siemens"], [S, D]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], f, [S, D]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], f, [S, R]], [/(lg) netcast\.tv/i], [C, f, [S, fe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [C, "LG"], [S, D]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, f, [S, D]], [/((pebble))app\/[\d\.]+\s/i], [C, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, f, [S, D]], [/crkey/i], [[f, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [C, "Google"], [S, D]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, D]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [C, "OnePlus"], [S, D]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], f, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [f, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [C, "Swiss"], [S, D]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], f, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], f, [S, D]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], f, [S, D]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [f, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, f, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, le = function(ee, z) {
8411
+ } }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, f, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, K.device.amazon.model], [C, "Amazon"], [S, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, C, [S, N]], [/\((ip[honed|\s\w*]+);/i], [f, [C, "Apple"], [S, N]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, f, [S, N]], [/\(bb10;\s(\w+)/i], [f, [C, "BlackBerry"], [S, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [f, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [C, "Sony"], [S, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, f, [S, D]], [/android.+;\s(shield)\sbuild/i], [f, [C, "Nvidia"], [S, D]], [/(playstation\s[34portablevi]+)/i], [f, [C, "Sony"], [S, D]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [f, H.str, K.device.sprint.model], [S, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, f, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [f, /_/g, " "], [S, N]], [/(nexus\s9)/i], [f, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [C, "Huawei"], [S, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, f, [S, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [C, "Microsoft"], [S, D]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [C, "Microsoft"], [S, N]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [C, "Motorola"], [S, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [f, Z.trim], [S, fe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [C, "Samsung"], [S, fe]], [/\(dtv[\);].+(aquos)/i], [f, [C, "Sharp"], [S, fe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], f, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, fe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], f, [S, N]], [/sie-(\w*)/i], [f, [C, "Siemens"], [S, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], f, [S, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], f, [S, R]], [/(lg) netcast\.tv/i], [C, f, [S, fe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [C, "LG"], [S, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, f, [S, N]], [/((pebble))app\/[\d\.]+\s/i], [C, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, f, [S, N]], [/crkey/i], [[f, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [C, "Google"], [S, N]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [C, "OnePlus"], [S, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], f, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [f, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [C, "Swiss"], [S, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], f, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], f, [S, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], f, [S, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [f, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, f, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, le = function(ee, z) {
8379
8412
  if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof le))
8380
8413
  return new le(ee, z).getResult();
8381
8414
  var U = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(de, z) : de;
@@ -8402,7 +8435,7 @@ function y1() {
8402
8435
  return U = te, this;
8403
8436
  }, this;
8404
8437
  };
8405
- le.VERSION = a, le.BROWSER = { NAME: m, MAJOR: g, VERSION: b }, le.CPU = { ARCHITECTURE: I }, le.DEVICE = { MODEL: f, VENDOR: C, TYPE: S, CONSOLE: N, MOBILE: D, SMARTTV: fe, TABLET: R, WEARABLE: _e, EMBEDDED: ae }, le.ENGINE = { NAME: m, VERSION: b }, le.OS = { NAME: m, VERSION: b }, typeof r !== h ? (typeof e !== h && e.exports && (r = e.exports = le), r.UAParser = le) : n(3) ? (i = (function() {
8438
+ le.VERSION = a, le.BROWSER = { NAME: m, MAJOR: w, VERSION: b }, le.CPU = { ARCHITECTURE: I }, le.DEVICE = { MODEL: f, VENDOR: C, TYPE: S, CONSOLE: D, MOBILE: N, SMARTTV: fe, TABLET: R, WEARABLE: _e, EMBEDDED: ae }, le.ENGINE = { NAME: m, VERSION: b }, le.OS = { NAME: m, VERSION: b }, typeof r !== h ? (typeof e !== h && e.exports && (r = e.exports = le), r.UAParser = le) : n(3) ? (i = (function() {
8406
8439
  return le;
8407
8440
  }).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = le);
8408
8441
  var we = o && (o.jQuery || o.Zepto);
@@ -8456,7 +8489,7 @@ function y1() {
8456
8489
  default:
8457
8490
  return a;
8458
8491
  }
8459
- }, d = function(S, C, b, I, N) {
8492
+ }, d = function(S, C, b, I, D) {
8460
8493
  return {
8461
8494
  isBrowser: S,
8462
8495
  browserMajorVersion: C.major,
@@ -8466,7 +8499,7 @@ function y1() {
8466
8499
  engineVersion: b.version,
8467
8500
  osName: I.name,
8468
8501
  osVersion: I.version,
8469
- userAgent: N
8502
+ userAgent: D
8470
8503
  };
8471
8504
  }, p = function(S, C, b, I) {
8472
8505
  return i({}, S, {
@@ -8494,7 +8527,7 @@ function y1() {
8494
8527
  osVersion: b.version,
8495
8528
  userAgent: I
8496
8529
  };
8497
- }, w = function(S, C, b, I) {
8530
+ }, g = function(S, C, b, I) {
8498
8531
  return {
8499
8532
  isWearable: S,
8500
8533
  engineName: C.name,
@@ -8503,10 +8536,10 @@ function y1() {
8503
8536
  osVersion: b.version,
8504
8537
  userAgent: I
8505
8538
  };
8506
- }, g = r.getNavigatorInstance = function() {
8539
+ }, w = r.getNavigatorInstance = function() {
8507
8540
  return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
8508
8541
  }, f = r.isIOS13Check = function(S) {
8509
- var C = g();
8542
+ var C = w();
8510
8543
  return C && C.platform && (C.platform.indexOf(S) !== -1 || C.platform === "MacIntel" && C.maxTouchPoints > 1 && !window.MSStream);
8511
8544
  };
8512
8545
  e.exports = {
@@ -8515,8 +8548,8 @@ function y1() {
8515
8548
  mobilePayload: p,
8516
8549
  stvPayload: h,
8517
8550
  consolePayload: c,
8518
- wearPayload: w,
8519
- getNavigatorInstance: g,
8551
+ wearPayload: g,
8552
+ getNavigatorInstance: w,
8520
8553
  isIOS13Check: f
8521
8554
  };
8522
8555
  })
@@ -8524,14 +8557,14 @@ function y1() {
8524
8557
  ]);
8525
8558
  })(Vi)), Vi.exports;
8526
8559
  }
8527
- var b1 = y1(), C1 = Object.defineProperty, Or = (t, e, r, n) => {
8560
+ var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
8528
8561
  for (var i = void 0, o = t.length - 1, s; o >= 0; o--)
8529
8562
  (s = t[o]) && (i = s(e, r, i) || i);
8530
- return i && C1(e, r, i), i;
8563
+ return i && S1(e, r, i), i;
8531
8564
  };
8532
8565
  const Do = class Do extends Dr {
8533
8566
  constructor() {
8534
- super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new v1(this), this.store = He.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8567
+ super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = He.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8535
8568
  this.store.listener({
8536
8569
  eventType: Fn.MESSAGE,
8537
8570
  message: r,
@@ -8578,7 +8611,7 @@ const Do = class Do extends Dr {
8578
8611
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Ws(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8579
8612
  }
8580
8613
  get version() {
8581
- return `${"3.2.254-nightly".trim()}`;
8614
+ return `${"3.2.255-nightly".trim()}`;
8582
8615
  }
8583
8616
  disconnectedCallback() {
8584
8617
  Bi.clearLogs();
@@ -8587,7 +8620,7 @@ const Do = class Do extends Dr {
8587
8620
  return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Ti`<div
8588
8621
  part="idv"
8589
8622
  class="idv"
8590
- data-device="${b1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8623
+ data-device="${C1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8591
8624
  data-direction="${ia.Ltr}"
8592
8625
  >
8593
8626
  <div class="container">
@@ -8617,7 +8650,7 @@ Or([
8617
8650
  Or([
8618
8651
  Er()
8619
8652
  ], Bt.prototype, "modulesConfig");
8620
- class M1 {
8653
+ class P1 {
8621
8654
  /** main commands */
8622
8655
  initialize(e) {
8623
8656
  return F(this, null, function* () {
@@ -8646,12 +8679,13 @@ class M1 {
8646
8679
  }
8647
8680
  startWorkflow(e) {
8648
8681
  return F(this, null, function* () {
8649
- return new Promise((r) => {
8650
- const n = (a) => {
8651
- r(a);
8652
- }, i = e == null ? void 0 : e.locale, o = e == null ? void 0 : e.metadata, s = fd(i);
8653
- He.getState().startNewSession(n, s, o).then((a) => {
8654
- a.error && (He.getState().removeCurrentSessionDataLsAndStore(), n(a)), a.results && (He.getState().removeCurrentSessionDataLsAndStore(), n(a)), He.getState().playWorkflow();
8682
+ const r = yield _d();
8683
+ return new Promise((n) => {
8684
+ const i = (l) => {
8685
+ n(l);
8686
+ }, o = e == null ? void 0 : e.locale, s = e == null ? void 0 : e.metadata, a = fd(o);
8687
+ He.getState().startNewSession({ completion: i, locale: a, metadata: s, location: r }).then((l) => {
8688
+ l.error && (He.getState().removeCurrentSessionDataLsAndStore(), i(l)), l.results && (He.getState().removeCurrentSessionDataLsAndStore(), i(l)), He.getState().playWorkflow();
8655
8689
  });
8656
8690
  });
8657
8691
  });
@@ -8663,7 +8697,7 @@ class M1 {
8663
8697
  }
8664
8698
  /** service commands */
8665
8699
  get version() {
8666
- return "3.2.254-nightly";
8700
+ return "3.2.255-nightly";
8667
8701
  }
8668
8702
  set nonce(e) {
8669
8703
  He.getState().setNonce(e);
@@ -8679,15 +8713,15 @@ class M1 {
8679
8713
  He.getState().setSessionRestoreMode(e);
8680
8714
  }
8681
8715
  }
8682
- const S1 = window.customElements.get("idv-flow");
8683
- S1 || window.customElements.define("idv-flow", Bt);
8716
+ const E1 = window.customElements.get("idv-flow");
8717
+ E1 || window.customElements.define("idv-flow", Bt);
8684
8718
  export {
8685
8719
  Ce as BaseError,
8686
- md as BaseModule,
8720
+ gd as BaseModule,
8687
8721
  Kt as ConnectionError,
8688
8722
  Ln as DeinitializationError,
8689
8723
  Fn as IdvEventTypesEnum,
8690
- M1 as IdvIntegrationService,
8724
+ P1 as IdvIntegrationService,
8691
8725
  Mr as IdvServiceMessages,
8692
8726
  Bt as IdvWebComponent,
8693
8727
  ei as InitializeError,
@@ -8696,5 +8730,5 @@ export {
8696
8730
  tr as StartSessionError,
8697
8731
  Ke as WorkflowError,
8698
8732
  Tt as WorkflowPlatformError,
8699
- gd as registerModule
8733
+ wd as registerModule
8700
8734
  };