@regulaforensics/idv-gui 3.2.261-nightly → 3.2.263-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
@@ -1,21 +1,21 @@
1
1
  var xs = Object.defineProperty, Es = Object.defineProperties;
2
2
  var Ss = Object.getOwnPropertyDescriptors;
3
- var Qt = Object.getOwnPropertySymbols;
4
- var Dn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable;
5
- var Mn = (e, t, r) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, x = (e, t) => {
3
+ var er = Object.getOwnPropertySymbols;
4
+ var Mn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable;
5
+ var Dn = (e, t, r) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, y = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dn.call(t, r) && Mn(e, r, t[r]);
8
- if (Qt)
9
- for (var r of Qt(t))
10
- Pn.call(t, r) && Mn(e, r, t[r]);
7
+ Mn.call(t, r) && Dn(e, r, t[r]);
8
+ if (er)
9
+ for (var r of er(t))
10
+ Pn.call(t, r) && Dn(e, r, t[r]);
11
11
  return e;
12
- }, q = (e, t) => Es(e, Ss(t));
12
+ }, Z = (e, t) => Es(e, Ss(t));
13
13
  var _t = (e, t) => {
14
14
  var r = {};
15
15
  for (var n in e)
16
- Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
- if (e != null && Qt)
18
- for (var n of Qt(e))
16
+ Mn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
+ if (e != null && er)
18
+ for (var n of er(e))
19
19
  t.indexOf(n) < 0 && Pn.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
@@ -35,21 +35,21 @@ var _e = (e, t, r) => new Promise((n, i) => {
35
35
  }, l = (_) => _.done ? n(_.value) : Promise.resolve(_.value).then(o, a);
36
36
  l((r = r.apply(e, t)).next());
37
37
  });
38
- var jt, Y, Ci, mt, Nn, yi, xi, Ei, Mr, xr, Er, Si, Wt = {}, ki = [], ks = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, zt = Array.isArray;
38
+ var zt, Y, Ci, mt, Nn, yi, xi, Ei, Dr, Er, Sr, Si, $t = {}, ki = [], ks = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, qt = Array.isArray;
39
39
  function Qe(e, t) {
40
40
  for (var r in t) e[r] = t[r];
41
41
  return e;
42
42
  }
43
- function Dr(e) {
43
+ function Mr(e) {
44
44
  e && e.parentNode && e.parentNode.removeChild(e);
45
45
  }
46
46
  function et(e, t, r) {
47
47
  var n, i, o, a = {};
48
48
  for (o in t) o == "key" ? n = t[o] : o == "ref" ? i = t[o] : a[o] = t[o];
49
- if (arguments.length > 2 && (a.children = arguments.length > 3 ? jt.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) a[o] === void 0 && (a[o] = e.defaultProps[o]);
50
- return Nt(e, a, n, i, null);
49
+ if (arguments.length > 2 && (a.children = arguments.length > 3 ? zt.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) a[o] === void 0 && (a[o] = e.defaultProps[o]);
50
+ return Bt(e, a, n, i, null);
51
51
  }
52
- function Nt(e, t, r, n, i) {
52
+ function Bt(e, t, r, n, i) {
53
53
  var o = { type: e, props: t, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i == null ? ++Ci : i, __i: -1, __u: 0 };
54
54
  return i == null && Y.vnode != null && Y.vnode(o), o;
55
55
  }
@@ -77,22 +77,22 @@ function Ti(e) {
77
77
  return Ti(e);
78
78
  }
79
79
  }
80
- function Sr(e) {
80
+ function kr(e) {
81
81
  (!e.__d && (e.__d = !0) && mt.push(e) && !or.__r++ || Nn != Y.debounceRendering) && ((Nn = Y.debounceRendering) || yi)(or);
82
82
  }
83
83
  function or() {
84
84
  for (var e, t, r, n, i, o, a, l = 1; mt.length; ) mt.length > l && mt.sort(xi), e = mt.shift(), l = mt.length, e.__d && (r = void 0, n = void 0, i = (n = (t = e).__v).__e, o = [], a = [], t.__P && ((r = Qe({}, n)).__v = n.__v + 1, Y.vnode && Y.vnode(r), Pr(t.__P, r, n, t.__n, t.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? It(n) : i, !!(32 & n.__u), a), r.__v = n.__v, r.__.__k[r.__i] = r, Ii(o, r, a), n.__e = n.__ = null, r.__e != i && Ti(r)));
85
85
  or.__r = 0;
86
86
  }
87
- function Fi(e, t, r, n, i, o, a, l, _, g, b) {
88
- var h, c, v, p, m, y, F, I = n && n.__k || ki, k = t.length;
89
- for (_ = Os(r, t, I, _, k), h = 0; h < k; h++) (v = r.__k[h]) != null && (c = v.__i == -1 ? Wt : I[v.__i] || Wt, v.__i = h, y = Pr(e, v, c, i, o, a, l, _, g, b), p = v.__e, v.ref && c.ref != v.ref && (c.ref && Nr(c.ref, null, v), b.push(v.ref, v.__c || p, v)), m == null && p != null && (m = p), (F = !!(4 & v.__u)) || c.__k === v.__k ? _ = Ai(v, _, e, F) : typeof v.type == "function" && y !== void 0 ? _ = y : p && (_ = p.nextSibling), v.__u &= -7);
87
+ function Fi(e, t, r, n, i, o, a, l, _, g, w) {
88
+ var h, c, v, p, m, x, T, I = n && n.__k || ki, k = t.length;
89
+ for (_ = Os(r, t, I, _, k), h = 0; h < k; h++) (v = r.__k[h]) != null && (c = v.__i == -1 ? $t : I[v.__i] || $t, v.__i = h, x = Pr(e, v, c, i, o, a, l, _, g, w), p = v.__e, v.ref && c.ref != v.ref && (c.ref && Nr(c.ref, null, v), w.push(v.ref, v.__c || p, v)), m == null && p != null && (m = p), (T = !!(4 & v.__u)) || c.__k === v.__k ? _ = Ai(v, _, e, T) : typeof v.type == "function" && x !== void 0 ? _ = x : p && (_ = p.nextSibling), v.__u &= -7);
90
90
  return r.__e = m, _;
91
91
  }
92
92
  function Os(e, t, r, n, i) {
93
- var o, a, l, _, g, b = r.length, h = b, c = 0;
94
- for (e.__k = new Array(i), o = 0; o < i; o++) (a = t[o]) != null && typeof a != "boolean" && typeof a != "function" ? (_ = o + c, (a = e.__k[o] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Nt(null, a, null, null, null) : zt(a) ? Nt(Ie, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? Nt(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, l = null, (g = a.__i = Ts(a, r, _, h)) != -1 && (h--, (l = r[g]) && (l.__u |= 2)), l == null || l.__v == null ? (g == -1 && (i > b ? c-- : i < b && c++), typeof a.type != "function" && (a.__u |= 4)) : g != _ && (g == _ - 1 ? c-- : g == _ + 1 ? c++ : (g > _ ? c-- : c++, a.__u |= 4))) : e.__k[o] = null;
95
- if (h) for (o = 0; o < b; o++) (l = r[o]) != null && (2 & l.__u) == 0 && (l.__e == n && (n = It(l)), Ri(l, l));
93
+ var o, a, l, _, g, w = r.length, h = w, c = 0;
94
+ for (e.__k = new Array(i), o = 0; o < i; o++) (a = t[o]) != null && typeof a != "boolean" && typeof a != "function" ? (_ = o + c, (a = e.__k[o] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Bt(null, a, null, null, null) : qt(a) ? Bt(Ie, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? Bt(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, l = null, (g = a.__i = Ts(a, r, _, h)) != -1 && (h--, (l = r[g]) && (l.__u |= 2)), l == null || l.__v == null ? (g == -1 && (i > w ? c-- : i < w && c++), typeof a.type != "function" && (a.__u |= 4)) : g != _ && (g == _ - 1 ? c-- : g == _ + 1 ? c++ : (g > _ ? c-- : c++, a.__u |= 4))) : e.__k[o] = null;
95
+ if (h) for (o = 0; o < w; o++) (l = r[o]) != null && (2 & l.__u) == 0 && (l.__e == n && (n = It(l)), Ri(l, l));
96
96
  return n;
97
97
  }
98
98
  function Ai(e, t, r, n) {
@@ -108,14 +108,14 @@ function Ai(e, t, r, n) {
108
108
  return t;
109
109
  }
110
110
  function ot(e, t) {
111
- return t = t || [], e == null || typeof e == "boolean" || (zt(e) ? e.some(function(r) {
111
+ return t = t || [], e == null || typeof e == "boolean" || (qt(e) ? e.some(function(r) {
112
112
  ot(r, t);
113
113
  }) : t.push(e)), t;
114
114
  }
115
115
  function Ts(e, t, r, n) {
116
- var i, o, a, l = e.key, _ = e.type, g = t[r], b = g != null && (2 & g.__u) == 0;
117
- if (g === null && e.key == null || b && l == g.key && _ == g.type) return r;
118
- if (n > (b ? 1 : 0)) {
116
+ var i, o, a, l = e.key, _ = e.type, g = t[r], w = g != null && (2 & g.__u) == 0;
117
+ if (g === null && e.key == null || w && l == g.key && _ == g.type) return r;
118
+ if (n > (w ? 1 : 0)) {
119
119
  for (i = r - 1, o = r + 1; i >= 0 || o < t.length; ) if ((g = t[a = i >= 0 ? i-- : o++]) != null && (2 & g.__u) == 0 && l == g.key && _ == g.type) return a;
120
120
  }
121
121
  return -1;
@@ -123,14 +123,14 @@ function Ts(e, t, r, n) {
123
123
  function Bn(e, t, r) {
124
124
  t[0] == "-" ? e.setProperty(t, r == null ? "" : r) : e[t] = r == null ? "" : typeof r != "number" || ks.test(t) ? r : r + "px";
125
125
  }
126
- function er(e, t, r, n, i) {
126
+ function tr(e, t, r, n, i) {
127
127
  var o, a;
128
128
  e: if (t == "style") if (typeof r == "string") e.style.cssText = r;
129
129
  else {
130
130
  if (typeof n == "string" && (e.style.cssText = n = ""), n) for (t in n) r && t in r || Bn(e.style, t, "");
131
131
  if (r) for (t in r) n && r[t] == n[t] || Bn(e.style, t, r[t]);
132
132
  }
133
- else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(Ei, "$1")), a = t.toLowerCase(), t = a in e || t == "onFocusOut" || t == "onFocusIn" ? a.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = r, r ? n ? r.u = n.u : (r.u = Mr, e.addEventListener(t, o ? Er : xr, o)) : e.removeEventListener(t, o ? Er : xr, o);
133
+ else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(Ei, "$1")), a = t.toLowerCase(), t = a in e || t == "onFocusOut" || t == "onFocusIn" ? a.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = r, r ? n ? r.u = n.u : (r.u = Dr, e.addEventListener(t, o ? Sr : Er, o)) : e.removeEventListener(t, o ? Sr : Er, o);
134
134
  else {
135
135
  if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
136
136
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -145,53 +145,53 @@ function Ln(e) {
145
145
  return function(t) {
146
146
  if (this.l) {
147
147
  var r = this.l[t.type + e];
148
- if (t.t == null) t.t = Mr++;
148
+ if (t.t == null) t.t = Dr++;
149
149
  else if (t.t < r.u) return;
150
150
  return r(Y.event ? Y.event(t) : t);
151
151
  }
152
152
  };
153
153
  }
154
154
  function Pr(e, t, r, n, i, o, a, l, _, g) {
155
- var b, h, c, v, p, m, y, F, I, k, O, M, Z, U, ce, le, re, J = t.type;
155
+ var w, h, c, v, p, m, x, T, I, k, F, V, z, B, ae, ce, re, J = t.type;
156
156
  if (t.constructor != null) return null;
157
- 128 & r.__u && (_ = !!(32 & r.__u), o = [l = t.__e = r.__e]), (b = Y.__b) && b(t);
157
+ 128 & r.__u && (_ = !!(32 & r.__u), o = [l = t.__e = r.__e]), (w = Y.__b) && w(t);
158
158
  e: if (typeof J == "function") try {
159
- if (F = t.props, I = "prototype" in J && J.prototype.render, k = (b = J.contextType) && n[b.__c], O = b ? k ? k.props.value : b.__ : n, r.__c ? y = (h = t.__c = r.__c).__ = h.__E : (I ? t.__c = h = new J(F, O) : (t.__c = h = new Ye(F, O), h.constructor = J, h.render = As), k && k.sub(h), h.props = F, h.state || (h.state = {}), h.context = O, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), I && h.__s == null && (h.__s = h.state), I && J.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = Qe({}, h.__s)), Qe(h.__s, J.getDerivedStateFromProps(F, h.__s))), v = h.props, p = h.state, h.__v = t, c) I && J.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), I && h.componentDidMount != null && h.__h.push(h.componentDidMount);
159
+ if (T = t.props, I = "prototype" in J && J.prototype.render, k = (w = J.contextType) && n[w.__c], F = w ? k ? k.props.value : w.__ : n, r.__c ? x = (h = t.__c = r.__c).__ = h.__E : (I ? t.__c = h = new J(T, F) : (t.__c = h = new Ye(T, F), h.constructor = J, h.render = As), k && k.sub(h), h.props = T, h.state || (h.state = {}), h.context = F, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), I && h.__s == null && (h.__s = h.state), I && J.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = Qe({}, h.__s)), Qe(h.__s, J.getDerivedStateFromProps(T, h.__s))), v = h.props, p = h.state, h.__v = t, c) I && J.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), I && h.componentDidMount != null && h.__h.push(h.componentDidMount);
160
160
  else {
161
- if (I && J.getDerivedStateFromProps == null && F !== v && h.componentWillReceiveProps != null && h.componentWillReceiveProps(F, O), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(F, h.__s, O) === !1 || t.__v == r.__v) {
162
- for (t.__v != r.__v && (h.props = F, h.state = h.__s, h.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(H) {
161
+ if (I && J.getDerivedStateFromProps == null && T !== v && h.componentWillReceiveProps != null && h.componentWillReceiveProps(T, F), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(T, h.__s, F) === !1 || t.__v == r.__v) {
162
+ for (t.__v != r.__v && (h.props = T, h.state = h.__s, h.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(H) {
163
163
  H && (H.__ = t);
164
- }), M = 0; M < h._sb.length; M++) h.__h.push(h._sb[M]);
164
+ }), V = 0; V < h._sb.length; V++) h.__h.push(h._sb[V]);
165
165
  h._sb = [], h.__h.length && a.push(h);
166
166
  break e;
167
167
  }
168
- h.componentWillUpdate != null && h.componentWillUpdate(F, h.__s, O), I && h.componentDidUpdate != null && h.__h.push(function() {
168
+ h.componentWillUpdate != null && h.componentWillUpdate(T, h.__s, F), I && h.componentDidUpdate != null && h.__h.push(function() {
169
169
  h.componentDidUpdate(v, p, m);
170
170
  });
171
171
  }
172
- if (h.context = O, h.props = F, h.__P = e, h.__e = !1, Z = Y.__r, U = 0, I) {
173
- for (h.state = h.__s, h.__d = !1, Z && Z(t), b = h.render(h.props, h.state, h.context), ce = 0; ce < h._sb.length; ce++) h.__h.push(h._sb[ce]);
172
+ if (h.context = F, h.props = T, h.__P = e, h.__e = !1, z = Y.__r, B = 0, I) {
173
+ for (h.state = h.__s, h.__d = !1, z && z(t), w = h.render(h.props, h.state, h.context), ae = 0; ae < h._sb.length; ae++) h.__h.push(h._sb[ae]);
174
174
  h._sb = [];
175
175
  } else do
176
- h.__d = !1, Z && Z(t), b = h.render(h.props, h.state, h.context), h.state = h.__s;
177
- while (h.__d && ++U < 25);
178
- h.state = h.__s, h.getChildContext != null && (n = Qe(Qe({}, n), h.getChildContext())), I && !c && h.getSnapshotBeforeUpdate != null && (m = h.getSnapshotBeforeUpdate(v, p)), le = b, b != null && b.type === Ie && b.key == null && (le = Vi(b.props.children)), l = Fi(e, zt(le) ? le : [le], t, r, n, i, o, a, l, _, g), h.base = t.__e, t.__u &= -161, h.__h.length && a.push(h), y && (h.__E = h.__ = null);
176
+ h.__d = !1, z && z(t), w = h.render(h.props, h.state, h.context), h.state = h.__s;
177
+ while (h.__d && ++B < 25);
178
+ h.state = h.__s, h.getChildContext != null && (n = Qe(Qe({}, n), h.getChildContext())), I && !c && h.getSnapshotBeforeUpdate != null && (m = h.getSnapshotBeforeUpdate(v, p)), ce = w, w != null && w.type === Ie && w.key == null && (ce = Vi(w.props.children)), l = Fi(e, qt(ce) ? ce : [ce], t, r, n, i, o, a, l, _, g), h.base = t.__e, t.__u &= -161, h.__h.length && a.push(h), x && (h.__E = h.__ = null);
179
179
  } catch (H) {
180
180
  if (t.__v = null, _ || o != null) if (H.then) {
181
181
  for (t.__u |= _ ? 160 : 128; l && l.nodeType == 8 && l.nextSibling; ) l = l.nextSibling;
182
182
  o[o.indexOf(l)] = null, t.__e = l;
183
183
  } else {
184
- for (re = o.length; re--; ) Dr(o[re]);
185
- kr(t);
184
+ for (re = o.length; re--; ) Mr(o[re]);
185
+ Or(t);
186
186
  }
187
- else t.__e = r.__e, t.__k = r.__k, H.then || kr(t);
187
+ else t.__e = r.__e, t.__k = r.__k, H.then || Or(t);
188
188
  Y.__e(H, t, r);
189
189
  }
190
190
  else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : l = t.__e = Fs(r.__e, t, r, n, i, o, a, _, g);
191
- return (b = Y.diffed) && b(t), 128 & t.__u ? void 0 : l;
191
+ return (w = Y.diffed) && w(t), 128 & t.__u ? void 0 : l;
192
192
  }
193
- function kr(e) {
194
- e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(kr);
193
+ function Or(e) {
194
+ e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(Or);
195
195
  }
196
196
  function Ii(e, t, r) {
197
197
  for (var n = 0; n < r.length; n++) Nr(r[n], r[++n], r[++n]);
@@ -206,10 +206,10 @@ function Ii(e, t, r) {
206
206
  });
207
207
  }
208
208
  function Vi(e) {
209
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : zt(e) ? e.map(Vi) : Qe({}, e);
209
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : qt(e) ? e.map(Vi) : Qe({}, e);
210
210
  }
211
211
  function Fs(e, t, r, n, i, o, a, l, _) {
212
- var g, b, h, c, v, p, m, y = r.props, F = t.props, I = t.type;
212
+ var g, w, h, c, v, p, m, x = r.props, T = t.props, I = t.type;
213
213
  if (I == "svg" ? i = "http://www.w3.org/2000/svg" : I == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), o != null) {
214
214
  for (g = 0; g < o.length; g++) if ((v = o[g]) && "setAttribute" in v == !!I && (I ? v.localName == I : v.nodeType == 3)) {
215
215
  e = v, o[g] = null;
@@ -217,23 +217,23 @@ function Fs(e, t, r, n, i, o, a, l, _) {
217
217
  }
218
218
  }
219
219
  if (e == null) {
220
- if (I == null) return document.createTextNode(F);
221
- e = document.createElementNS(i, I, F.is && F), l && (Y.__m && Y.__m(t, o), l = !1), o = null;
220
+ if (I == null) return document.createTextNode(T);
221
+ e = document.createElementNS(i, I, T.is && T), l && (Y.__m && Y.__m(t, o), l = !1), o = null;
222
222
  }
223
- if (I == null) y === F || l && e.data == F || (e.data = F);
223
+ if (I == null) x === T || l && e.data == T || (e.data = T);
224
224
  else {
225
- if (o = o && jt.call(e.childNodes), y = r.props || Wt, !l && o != null) for (y = {}, g = 0; g < e.attributes.length; g++) y[(v = e.attributes[g]).name] = v.value;
226
- for (g in y) if (v = y[g], g != "children") {
225
+ if (o = o && zt.call(e.childNodes), x = r.props || $t, !l && o != null) for (x = {}, g = 0; g < e.attributes.length; g++) x[(v = e.attributes[g]).name] = v.value;
226
+ for (g in x) if (v = x[g], g != "children") {
227
227
  if (g == "dangerouslySetInnerHTML") h = v;
228
- else if (!(g in F)) {
229
- if (g == "value" && "defaultValue" in F || g == "checked" && "defaultChecked" in F) continue;
230
- er(e, g, null, v, i);
228
+ else if (!(g in T)) {
229
+ if (g == "value" && "defaultValue" in T || g == "checked" && "defaultChecked" in T) continue;
230
+ tr(e, g, null, v, i);
231
231
  }
232
232
  }
233
- for (g in F) v = F[g], g == "children" ? c = v : g == "dangerouslySetInnerHTML" ? b = v : g == "value" ? p = v : g == "checked" ? m = v : l && typeof v != "function" || y[g] === v || er(e, g, v, y[g], i);
234
- if (b) l || h && (b.__html == h.__html || b.__html == e.innerHTML) || (e.innerHTML = b.__html), t.__k = [];
235
- else if (h && (e.innerHTML = ""), Fi(t.type == "template" ? e.content : e, zt(c) ? c : [c], t, r, n, I == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, a, o ? o[0] : r.__k && It(r, 0), l, _), o != null) for (g = o.length; g--; ) Dr(o[g]);
236
- l || (g = "value", I == "progress" && p == null ? e.removeAttribute("value") : p != null && (p !== e[g] || I == "progress" && !p || I == "option" && p != y[g]) && er(e, g, p, y[g], i), g = "checked", m != null && m != e[g] && er(e, g, m, y[g], i));
233
+ for (g in T) v = T[g], g == "children" ? c = v : g == "dangerouslySetInnerHTML" ? w = v : g == "value" ? p = v : g == "checked" ? m = v : l && typeof v != "function" || x[g] === v || tr(e, g, v, x[g], i);
234
+ if (w) l || h && (w.__html == h.__html || w.__html == e.innerHTML) || (e.innerHTML = w.__html), t.__k = [];
235
+ else if (h && (e.innerHTML = ""), Fi(t.type == "template" ? e.content : e, qt(c) ? c : [c], t, r, n, I == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, a, o ? o[0] : r.__k && It(r, 0), l, _), o != null) for (g = o.length; g--; ) Mr(o[g]);
236
+ l || (g = "value", I == "progress" && p == null ? e.removeAttribute("value") : p != null && (p !== e[g] || I == "progress" && !p || I == "option" && p != x[g]) && tr(e, g, p, x[g], i), g = "checked", m != null && m != e[g] && tr(e, g, m, x[g], i));
237
237
  }
238
238
  return e;
239
239
  }
@@ -258,22 +258,22 @@ function Ri(e, t, r) {
258
258
  n.base = n.__P = null;
259
259
  }
260
260
  if (n = e.__k) for (i = 0; i < n.length; i++) n[i] && Ri(n[i], t, r || typeof e.type != "function");
261
- r || Dr(e.__e), e.__c = e.__ = e.__e = void 0;
261
+ r || Mr(e.__e), e.__c = e.__ = e.__e = void 0;
262
262
  }
263
263
  function As(e, t, r) {
264
264
  return this.constructor(e, r);
265
265
  }
266
266
  function wt(e, t, r) {
267
267
  var n, i, o, a;
268
- t == document && (t = document.documentElement), Y.__ && Y.__(e, t), i = (n = typeof r == "function") ? null : r && r.__k || t.__k, o = [], a = [], Pr(t, e = (!n && r || t).__k = et(Ie, null, [e]), i || Wt, Wt, t.namespaceURI, !n && r ? [r] : i ? null : t.firstChild ? jt.call(t.childNodes) : null, o, !n && r ? r : i ? i.__e : t.firstChild, n, a), Ii(o, e, a);
268
+ t == document && (t = document.documentElement), Y.__ && Y.__(e, t), i = (n = typeof r == "function") ? null : r && r.__k || t.__k, o = [], a = [], Pr(t, e = (!n && r || t).__k = et(Ie, null, [e]), i || $t, $t, t.namespaceURI, !n && r ? [r] : i ? null : t.firstChild ? zt.call(t.childNodes) : null, o, !n && r ? r : i ? i.__e : t.firstChild, n, a), Ii(o, e, a);
269
269
  }
270
- function Mi(e, t) {
271
- wt(e, t, Mi);
270
+ function Di(e, t) {
271
+ wt(e, t, Di);
272
272
  }
273
273
  function Is(e, t, r) {
274
274
  var n, i, o, a, l = Qe({}, e.props);
275
275
  for (o in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) o == "key" ? n = t[o] : o == "ref" ? i = t[o] : l[o] = t[o] === void 0 && a != null ? a[o] : t[o];
276
- return arguments.length > 2 && (l.children = arguments.length > 3 ? jt.call(arguments, 2) : r), Nt(e.type, l, n || e.key, i || e.ref, null);
276
+ return arguments.length > 2 && (l.children = arguments.length > 3 ? zt.call(arguments, 2) : r), Bt(e.type, l, n || e.key, i || e.ref, null);
277
277
  }
278
278
  function Br(e) {
279
279
  function t(r) {
@@ -284,7 +284,7 @@ function Br(e) {
284
284
  n = null;
285
285
  }, this.shouldComponentUpdate = function(o) {
286
286
  this.props.value != o.value && n.forEach(function(a) {
287
- a.__e = !0, Sr(a);
287
+ a.__e = !0, kr(a);
288
288
  });
289
289
  }, this.sub = function(o) {
290
290
  n.add(o);
@@ -298,7 +298,7 @@ function Br(e) {
298
298
  return r.children(n);
299
299
  }).contextType = t, t;
300
300
  }
301
- jt = ki.slice, Y = { __e: function(e, t, r, n) {
301
+ zt = ki.slice, Y = { __e: function(e, t, r, n) {
302
302
  for (var i, o, a; t = t.__; ) if ((i = t.__c) && !i.__) try {
303
303
  if ((o = i.constructor) && o.getDerivedStateFromError != null && (i.setState(o.getDerivedStateFromError(e)), a = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, n || {}), a = i.__d), a) return i.__E = i;
304
304
  } catch (l) {
@@ -307,12 +307,12 @@ jt = ki.slice, Y = { __e: function(e, t, r, n) {
307
307
  throw e;
308
308
  } }, Ci = 0, Ye.prototype.setState = function(e, t) {
309
309
  var r;
310
- r = this.__s != null && this.__s != this.state ? this.__s : this.__s = Qe({}, this.state), typeof e == "function" && (e = e(Qe({}, r), this.props)), e && Qe(r, e), e != null && this.__v && (t && this._sb.push(t), Sr(this));
310
+ r = this.__s != null && this.__s != this.state ? this.__s : this.__s = Qe({}, this.state), typeof e == "function" && (e = e(Qe({}, r), this.props)), e && Qe(r, e), e != null && this.__v && (t && this._sb.push(t), kr(this));
311
311
  }, Ye.prototype.forceUpdate = function(e) {
312
- this.__v && (this.__e = !0, e && this.__h.push(e), Sr(this));
312
+ this.__v && (this.__e = !0, e && this.__h.push(e), kr(this));
313
313
  }, Ye.prototype.render = Ie, mt = [], yi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, xi = function(e, t) {
314
314
  return e.__v.__b - t.__v.__b;
315
- }, or.__r = 0, Ei = /(PointerCapture)$|Capture$/i, Mr = 0, xr = Ln(!1), Er = Ln(!0), Si = 0;
315
+ }, or.__r = 0, Ei = /(PointerCapture)$|Capture$/i, Dr = 0, Er = Ln(!1), Sr = Ln(!0), Si = 0;
316
316
  var Vs = 0;
317
317
  function s(e, t, r, n, i, o) {
318
318
  t || (t = {});
@@ -371,7 +371,7 @@ class vt {
371
371
  }
372
372
  class Rs extends HTMLElement {
373
373
  }
374
- function Ms(e, t) {
374
+ function Ds(e, t) {
375
375
  if (t.displayName ? console.log(`Register module: ${t.displayName}`) : console.error('Missed "displayName" when register module'), t.getSupportedTemplates && typeof t.getSupportedTemplates == "function") {
376
376
  const r = t.getSupportedTemplates();
377
377
  console.log(`${t == null ? void 0 : t.displayName} supported templates: ${r.join(", ")}`);
@@ -384,20 +384,20 @@ function Ms(e, t) {
384
384
  console.error('Missed "getIdentifier" when register module');
385
385
  customElements.get(t.getIdentifier()) ? console.log(`Module ${e} has already registered`) : customElements.define(e, t), console.log("-------");
386
386
  }
387
- const Or = {
387
+ const sr = {
388
388
  FORM: "form",
389
389
  DATA: "data"
390
390
  };
391
- var st, he, mr, Un, Vt = 0, Di = [], ve = Y, Hn = ve.__b, Wn = ve.__r, $n = ve.diffed, jn = ve.__c, zn = ve.unmount, qn = ve.__;
391
+ var st, he, vr, Un, Vt = 0, Mi = [], ve = Y, Hn = ve.__b, Wn = ve.__r, $n = ve.diffed, jn = ve.__c, zn = ve.unmount, qn = ve.__;
392
392
  function Ct(e, t) {
393
393
  ve.__h && ve.__h(he, e, Vt || t), Vt = 0;
394
394
  var r = he.__H || (he.__H = { __: [], __h: [] });
395
395
  return e >= r.__.length && r.__.push({}), r.__[e];
396
396
  }
397
397
  function Fe(e) {
398
- return Vt = 1, pr(Pi, e);
398
+ return Vt = 1, _r(Pi, e);
399
399
  }
400
- function pr(e, t, r) {
400
+ function _r(e, t, r) {
401
401
  var n = Ct(st++, 2);
402
402
  if (n.t = e, !n.__c && (n.__ = [r ? r(t) : Pi(void 0, t), function(l) {
403
403
  var _ = n.__N ? n.__N[0] : n.__[0], g = n.t(_, l);
@@ -405,14 +405,14 @@ function pr(e, t, r) {
405
405
  }], n.__c = he, !he.__f)) {
406
406
  var i = function(l, _, g) {
407
407
  if (!n.__c.__H) return !0;
408
- var b = n.__c.__H.__.filter(function(c) {
408
+ var w = n.__c.__H.__.filter(function(c) {
409
409
  return !!c.__c;
410
410
  });
411
- if (b.every(function(c) {
411
+ if (w.every(function(c) {
412
412
  return !c.__N;
413
413
  })) return !o || o.call(this, l, _, g);
414
414
  var h = n.__c.props !== l;
415
- return b.forEach(function(c) {
415
+ return w.forEach(function(c) {
416
416
  if (c.__N) {
417
417
  var v = c.__[0];
418
418
  c.__ = c.__N, c.__N = void 0, v !== c.__[0] && (h = !0);
@@ -423,8 +423,8 @@ function pr(e, t, r) {
423
423
  var o = he.shouldComponentUpdate, a = he.componentWillUpdate;
424
424
  he.componentWillUpdate = function(l, _, g) {
425
425
  if (this.__e) {
426
- var b = o;
427
- o = void 0, i(l, _, g), o = b;
426
+ var w = o;
427
+ o = void 0, i(l, _, g), o = w;
428
428
  }
429
429
  a && a.call(this, l, _, g);
430
430
  }, he.shouldComponentUpdate = i;
@@ -440,7 +440,7 @@ function dt(e, t) {
440
440
  !ve.__s && $r(r.__H, t) && (r.__ = e, r.u = t, he.__h.push(r));
441
441
  }
442
442
  function $e(e) {
443
- return Vt = 5, qt(function() {
443
+ return Vt = 5, Zt(function() {
444
444
  return { current: e };
445
445
  }, []);
446
446
  }
@@ -457,23 +457,23 @@ function Lr(e, t, r) {
457
457
  };
458
458
  }, r == null ? r : r.concat(e));
459
459
  }
460
- function qt(e, t) {
460
+ function Zt(e, t) {
461
461
  var r = Ct(st++, 7);
462
462
  return $r(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
463
463
  }
464
464
  function Ur(e, t) {
465
- return Vt = 8, qt(function() {
465
+ return Vt = 8, Zt(function() {
466
466
  return e;
467
467
  }, t);
468
468
  }
469
- function Zt(e) {
469
+ function Gt(e) {
470
470
  var t = he.context[e.__c], r = Ct(st++, 9);
471
471
  return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub(he)), t.props.value) : e.__;
472
472
  }
473
473
  function Hr(e, t) {
474
474
  ve.useDebugValue && ve.useDebugValue(t ? t(e) : e);
475
475
  }
476
- function Ds(e) {
476
+ function Ms(e) {
477
477
  var t = Ct(st++, 10), r = Fe();
478
478
  return t.__ = e, he.componentDidCatch || (he.componentDidCatch = function(n, i) {
479
479
  t.__ && t.__(n, i), r[1](n);
@@ -491,7 +491,7 @@ function Wr() {
491
491
  return e.__;
492
492
  }
493
493
  function Ps() {
494
- for (var e; e = Di.shift(); ) if (e.__P && e.__H) try {
494
+ for (var e; e = Mi.shift(); ) if (e.__P && e.__H) try {
495
495
  e.__H.__h.forEach(ir), e.__H.__h.forEach(Tr), e.__H.__h = [];
496
496
  } catch (t) {
497
497
  e.__H.__h = [], ve.__e(t, e.__v);
@@ -504,15 +504,15 @@ ve.__b = function(e) {
504
504
  }, ve.__r = function(e) {
505
505
  Wn && Wn(e), st = 0;
506
506
  var t = (he = e.__c).__H;
507
- t && (mr === he ? (t.__h = [], he.__h = [], t.__.forEach(function(r) {
507
+ t && (vr === he ? (t.__h = [], he.__h = [], t.__.forEach(function(r) {
508
508
  r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
509
- })) : (t.__h.forEach(ir), t.__h.forEach(Tr), t.__h = [], st = 0)), mr = he;
509
+ })) : (t.__h.forEach(ir), t.__h.forEach(Tr), t.__h = [], st = 0)), vr = he;
510
510
  }, ve.diffed = function(e) {
511
511
  $n && $n(e);
512
512
  var t = e.__c;
513
- t && t.__H && (t.__H.__h.length && (Di.push(t) !== 1 && Un === ve.requestAnimationFrame || ((Un = ve.requestAnimationFrame) || Ns)(Ps)), t.__H.__.forEach(function(r) {
513
+ t && t.__H && (t.__H.__h.length && (Mi.push(t) !== 1 && Un === ve.requestAnimationFrame || ((Un = ve.requestAnimationFrame) || Ns)(Ps)), t.__H.__.forEach(function(r) {
514
514
  r.u && (r.__H = r.u), r.u = void 0;
515
- })), mr = he = null;
515
+ })), vr = he = null;
516
516
  }, ve.__c = function(e, t) {
517
517
  t.some(function(r) {
518
518
  try {
@@ -560,12 +560,12 @@ function Pi(e, t) {
560
560
  return typeof t == "function" ? t(e) : t;
561
561
  }
562
562
  const jr = Br(void 0), Gn = ({ perform: e, children: t, setIsProcessingCallback: r }) => /* @__PURE__ */ s(jr.Provider, { value: { perform: e, setIsProcessingCallback: r }, children: t }), yt = () => {
563
- const e = Zt(jr);
563
+ const e = Gt(jr);
564
564
  if (!e)
565
565
  throw new Error("usePerform must be used within a PerformProvider");
566
566
  return { perform: e.perform };
567
567
  }, Bs = () => {
568
- const e = Zt(jr);
568
+ const e = Gt(jr);
569
569
  if (!e)
570
570
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
571
571
  return { setIsProcessingCallback: e.setIsProcessingCallback };
@@ -587,11 +587,11 @@ const jr = Br(void 0), Gn = ({ perform: e, children: t, setIsProcessingCallback:
587
587
  CAMERA: "CAMERA",
588
588
  GALLERY: "GALLERY",
589
589
  GEOLOCATION: "GEOLOCATION"
590
- }, sr = {
590
+ }, ar = {
591
591
  LEFT: "LEFT",
592
592
  CENTER: "CENTER",
593
593
  RIGHT: "RIGHT"
594
- }, tr = {
594
+ }, rr = {
595
595
  ASPECT_FILL: "ASPECT_FILL",
596
596
  ASPECT_FIT: "ASPECT_FIT",
597
597
  FILL: "FILL"
@@ -602,14 +602,14 @@ const jr = Br(void 0), Gn = ({ perform: e, children: t, setIsProcessingCallback:
602
602
  SELECTOR_BUTTONS: "selector_buttons",
603
603
  SELECTOR_DROPDOWN: "selector_dropdown",
604
604
  MULTI_SELECTOR_DROPDOWN: "multi_selector_dropdown"
605
- }, rr = {
605
+ }, nr = {
606
606
  FREE_TEXT: "FREE_TEXT",
607
607
  EMAIL: "EMAIL",
608
608
  NUMBER: "NUMBER",
609
609
  SECURE: "SECURE"
610
- }, Gt = "#005fcc", ar = "idv-gui", lr = {
610
+ }, Yt = "#005fcc", lr = "idv-gui", cr = {
611
611
  DECODING_FAILED: "DECODING_FAILED"
612
- }, vr = {
612
+ }, br = {
613
613
  text: "text",
614
614
  selector: "selector",
615
615
  multiSelector: "multiSelector"
@@ -618,7 +618,7 @@ const jr = Br(void 0), Gn = ({ perform: e, children: t, setIsProcessingCallback:
618
618
  REGEX: "regex"
619
619
  };
620
620
  function Ni(e) {
621
- return e === sr.CENTER ? "center" : e === sr.RIGHT ? "right" : "left";
621
+ return e === ar.CENTER ? "center" : e === ar.RIGHT ? "right" : "left";
622
622
  }
623
623
  function zr(e) {
624
624
  if (typeof e == "object" && e !== null)
@@ -638,20 +638,20 @@ function X(e) {
638
638
  }
639
639
  const Ws = (e, t) => e.reduce((r, n) => {
640
640
  var i, o, a;
641
- if (n.answerType === vr.text && (i = n.property) != null && i.id) {
641
+ if (n.answerType === br.text && (i = n.property) != null && i.id) {
642
642
  const l = t.find((_) => _.name === n.property.id);
643
643
  if (l != null && l.string)
644
- return q(x({}, r), { [n.id]: l.string });
644
+ return Z(y({}, r), { [n.id]: l.string });
645
645
  }
646
- if (n.answerType === vr.selector && (o = n.property) != null && o.id) {
646
+ if (n.answerType === br.selector && (o = n.property) != null && o.id) {
647
647
  const l = t.find((_) => _.name === n.property.id);
648
648
  if (l != null && l.string)
649
- return q(x({}, r), { [n.id]: l.string });
649
+ return Z(y({}, r), { [n.id]: l.string });
650
650
  }
651
- if (n.answerType === vr.multiSelector && (a = n.property) != null && a.id) {
651
+ if (n.answerType === br.multiSelector && (a = n.property) != null && a.id) {
652
652
  const l = t.find((_) => _.name === n.property.id);
653
653
  if (l != null && l.array)
654
- return q(x({}, r), { [n.id]: l.array });
654
+ return Z(y({}, r), { [n.id]: l.array });
655
655
  }
656
656
  return r;
657
657
  }, {}), Bi = (e) => new Promise((t, r) => {
@@ -670,18 +670,18 @@ const Ws = (e, t) => e.reduce((r, n) => {
670
670
  } catch (e) {
671
671
  return (e == null ? void 0 : e.name) === "NotAllowedError" ? "denied" : "error";
672
672
  }
673
- }), js = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Li = (e) => (e == null ? void 0 : e.some((r) => r.type === "FORM")) ? Or.FORM : Or.DATA, Ui = ({ indicatorColor: e }) => {
673
+ }), js = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Li = (e) => (e == null ? void 0 : e.some((r) => r.type === "FORM")) ? sr.FORM : sr.DATA, Ui = ({ indicatorColor: e }) => {
674
674
  const t = $e(null), r = X(e) || "#000000", n = 60, i = 5, o = 0.75, a = (n - i) / 2, l = 2 * Math.PI * a, _ = 1 - o, g = 360 / 1e3;
675
675
  return We(() => {
676
676
  if (!t.current) return;
677
- let b = !0, h = 0, c = performance.now();
677
+ let w = !0, h = 0, c = performance.now();
678
678
  function v(p) {
679
- if (!b) return;
679
+ if (!w) return;
680
680
  const m = p - c;
681
681
  c = p, h = (h + g * m) % 360, t.current && (t.current.style.transform = `rotate(${h}deg)`), requestAnimationFrame(v);
682
682
  }
683
683
  return requestAnimationFrame(v), () => {
684
- b = !1;
684
+ w = !1;
685
685
  };
686
686
  }, []), /* @__PURE__ */ s("svg", { ref: t, width: n, height: n, viewBox: `0 0 ${n} ${n}`, children: /* @__PURE__ */ s(
687
687
  "circle",
@@ -1162,15 +1162,15 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1162
1162
  imageId: e,
1163
1163
  imageURL: t,
1164
1164
  base64: r,
1165
- contentMode: n = tr.ASPECT_FILL,
1165
+ contentMode: n = rr.ASPECT_FILL,
1166
1166
  cornerRadius: i,
1167
1167
  backgroundColor: o
1168
1168
  }) => {
1169
1169
  const a = (h) => {
1170
- if (h === tr.ASPECT_FILL) return "cover";
1171
- if (h === tr.ASPECT_FIT) return "contain";
1172
- if (h === tr.FILL) return "fill";
1173
- }, [l, _] = Fe(!0), g = l && t, b = () => {
1170
+ if (h === rr.ASPECT_FILL) return "cover";
1171
+ if (h === rr.ASPECT_FIT) return "contain";
1172
+ if (h === rr.FILL) return "fill";
1173
+ }, [l, _] = Fe(!0), g = l && t, w = () => {
1174
1174
  _(!1);
1175
1175
  };
1176
1176
  if (r)
@@ -1217,7 +1217,7 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1217
1217
  display: g ? "none" : "block"
1218
1218
  },
1219
1219
  src: t,
1220
- onLoad: b
1220
+ onLoad: w
1221
1221
  }
1222
1222
  )
1223
1223
  ] });
@@ -1234,7 +1234,7 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1234
1234
  height: "100%",
1235
1235
  width: "100%"
1236
1236
  },
1237
- children: /* @__PURE__ */ s("a", { href: "", children: /* @__PURE__ */ s(Ae, x({}, e)) })
1237
+ children: /* @__PURE__ */ s("a", { href: "", children: /* @__PURE__ */ s(Ae, y({}, e)) })
1238
1238
  }
1239
1239
  ), ga = {
1240
1240
  display: "flex",
@@ -1255,7 +1255,7 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1255
1255
  highlightColor: a
1256
1256
  }) => {
1257
1257
  var c;
1258
- const [l, _] = Fe(!1), g = l && a ? a : i, { perform: b } = yt();
1258
+ const [l, _] = Fe(!1), g = l && a ? a : i, { perform: w } = yt();
1259
1259
  return /* @__PURE__ */ s(
1260
1260
  "button",
1261
1261
  {
@@ -1264,10 +1264,10 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1264
1264
  "data-test": e,
1265
1265
  onClick: () => {
1266
1266
  const v = JSON.parse(JSON.stringify(t));
1267
- zr(v), b(v);
1267
+ zr(v), w(v, sr.DATA);
1268
1268
  },
1269
1269
  className: "hover-button",
1270
- style: q(x(x({}, ga), o && { borderRadius: o }), {
1270
+ style: Z(y(y({}, ga), o && { borderRadius: o }), {
1271
1271
  backgroundColor: (c = X(g)) != null ? c : "transparent"
1272
1272
  }),
1273
1273
  onMouseEnter: () => _(!0),
@@ -1283,10 +1283,10 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1283
1283
  width: "24px",
1284
1284
  height: "24px"
1285
1285
  },
1286
- children: /* @__PURE__ */ s(Ae, x({}, r))
1286
+ children: /* @__PURE__ */ s(Ae, y({}, r))
1287
1287
  }
1288
1288
  ),
1289
- n && /* @__PURE__ */ s("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ s(be, x({}, n)) })
1289
+ n && /* @__PURE__ */ s("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ s(be, y({}, n)) })
1290
1290
  ]
1291
1291
  }
1292
1292
  );
@@ -1303,7 +1303,7 @@ const ia = ({ size: e = 100, color: t = "#5DA600" }) => /* @__PURE__ */ s("svg",
1303
1303
  },
1304
1304
  "data-ui": "gui-header",
1305
1305
  part: "gui-header",
1306
- children: /* @__PURE__ */ s("div", { children: e && /* @__PURE__ */ s(ma, x({ dataTestId: "close-btn" }, e)) })
1306
+ children: /* @__PURE__ */ s("div", { children: e && /* @__PURE__ */ s(ma, y({ dataTestId: "close-btn" }, e)) })
1307
1307
  }
1308
1308
  );
1309
1309
  function ba(e) {
@@ -1313,9 +1313,9 @@ function ba(e) {
1313
1313
  for (const o of e.matchAll(t)) {
1314
1314
  const [a, l, _] = o, g = (i = o.index) != null ? i : 0;
1315
1315
  g > n && r.push(e.slice(n, g));
1316
- const b = _.startsWith("http") ? _ : `https://${_}`;
1316
+ const w = _.startsWith("http") ? _ : `https://${_}`;
1317
1317
  r.push(
1318
- /* @__PURE__ */ s("a", { href: b, target: "_blank", rel: "noopener noreferrer", children: l }, g)
1318
+ /* @__PURE__ */ s("a", { href: w, target: "_blank", rel: "noopener noreferrer", children: l }, g)
1319
1319
  ), n = g + a.length;
1320
1320
  }
1321
1321
  return n < e.length && r.push(e.slice(n)), r;
@@ -1333,7 +1333,7 @@ const be = ({
1333
1333
  fontName: t = "",
1334
1334
  fontSize: r = "17px",
1335
1335
  fontColor: n,
1336
- alignment: i = sr.LEFT,
1336
+ alignment: i = ar.LEFT,
1337
1337
  backgroundColor: o,
1338
1338
  cornerRadius: a = 0,
1339
1339
  htmlFor: l
@@ -1347,7 +1347,7 @@ const be = ({
1347
1347
  borderRadius: a
1348
1348
  }, g = typeof e == "string" && e.trim() && Hi(e);
1349
1349
  return l ? /* @__PURE__ */ s("label", { "data-ui": "gui-label", part: "gui-label", style: _, htmlFor: l, children: g }) : /* @__PURE__ */ s("div", { "data-ui": "gui-label", part: "gui-label", style: _, children: g });
1350
- }, cr = ({
1350
+ }, dr = ({
1351
1351
  title: e,
1352
1352
  image: t,
1353
1353
  responseBody: r,
@@ -1358,14 +1358,14 @@ const be = ({
1358
1358
  borderColor: l,
1359
1359
  borderWidth: _,
1360
1360
  type: g = "RESPONSE_BODY",
1361
- onClick: b
1361
+ onClick: w
1362
1362
  }) => {
1363
- var F, I;
1363
+ var T, I;
1364
1364
  const [h, c] = Fe(!1), v = h && X(o) ? o : n, { perform: p } = yt(), m = (k) => {
1365
- if (b && b(k), g !== "RESPONSE_BODY") return;
1366
- const O = JSON.parse(JSON.stringify(r));
1367
- zr(O), p(O, Or.DATA);
1368
- }, y = {
1365
+ if (w && w(k), g !== "RESPONSE_BODY") return;
1366
+ const F = JSON.parse(JSON.stringify(r));
1367
+ zr(F), p(F, sr.DATA);
1368
+ }, x = {
1369
1369
  height: "50px",
1370
1370
  width: "100%",
1371
1371
  padding: "10px 16px",
@@ -1380,12 +1380,12 @@ const be = ({
1380
1380
  gap: 5,
1381
1381
  borderRadius: i || 0,
1382
1382
  borderStyle: l && _ ? "solid" : void 0,
1383
- backgroundColor: (F = X(v)) != null ? F : "transparent",
1383
+ backgroundColor: (T = X(v)) != null ? T : "transparent",
1384
1384
  borderColor: (I = X(l)) != null ? I : "none",
1385
1385
  borderWidth: _ != null ? _ : 0,
1386
1386
  overflow: "hidden",
1387
1387
  transition: ".3s",
1388
- outlineColor: Gt
1388
+ outlineColor: Yt
1389
1389
  };
1390
1390
  return /* @__PURE__ */ s(
1391
1391
  "button",
@@ -1395,18 +1395,18 @@ const be = ({
1395
1395
  type: g === "FORM" ? "submit" : "button",
1396
1396
  "data-test": a,
1397
1397
  onClick: m,
1398
- style: y,
1398
+ style: x,
1399
1399
  onMouseEnter: () => c(!0),
1400
1400
  onMouseLeave: () => c(!1),
1401
1401
  children: [
1402
- t && /* @__PURE__ */ s(Ae, x({}, t)),
1402
+ t && /* @__PURE__ */ s(Ae, y({}, t)),
1403
1403
  e && /* @__PURE__ */ s(
1404
1404
  "div",
1405
1405
  {
1406
1406
  style: {
1407
1407
  flexGrow: t ? 0 : 1
1408
1408
  },
1409
- children: /* @__PURE__ */ s(be, x({}, e))
1409
+ children: /* @__PURE__ */ s(be, y({}, e))
1410
1410
  }
1411
1411
  )
1412
1412
  ]
@@ -1414,7 +1414,7 @@ const be = ({
1414
1414
  );
1415
1415
  }, wa = (r) => {
1416
1416
  var n = r, { items: e } = n, t = _t(n, ["items"]);
1417
- return /* @__PURE__ */ s("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: x(x({}, {
1417
+ return /* @__PURE__ */ s("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: y(y({}, {
1418
1418
  display: "flex",
1419
1419
  flexDirection: "row",
1420
1420
  flexWrap: "wrap",
@@ -1428,7 +1428,7 @@ const be = ({
1428
1428
  paddingTop: "20px"
1429
1429
  }), t), children: e.map((o) => {
1430
1430
  var a;
1431
- return /* @__PURE__ */ s(cr, x({ dataTestId: "button-" + ((a = o.title) == null ? void 0 : a.text) }, o), js());
1431
+ return /* @__PURE__ */ s(dr, y({ dataTestId: "button-" + ((a = o.title) == null ? void 0 : a.text) }, o), js());
1432
1432
  }) });
1433
1433
  }, ut = ({
1434
1434
  children: e,
@@ -1460,7 +1460,7 @@ const be = ({
1460
1460
  part: "gui-base-container",
1461
1461
  "data-ui": "gui-base-container",
1462
1462
  id: "base-container",
1463
- style: x({}, l),
1463
+ style: y({}, l),
1464
1464
  children: [
1465
1465
  t && /* @__PURE__ */ s(
1466
1466
  "div",
@@ -1487,17 +1487,17 @@ const be = ({
1487
1487
  width: "100%",
1488
1488
  height: a
1489
1489
  },
1490
- children: /* @__PURE__ */ s(_a, x({}, r))
1490
+ children: /* @__PURE__ */ s(_a, y({}, r))
1491
1491
  }
1492
1492
  )
1493
1493
  ]
1494
1494
  }
1495
1495
  );
1496
- }, _r = ({
1496
+ }, gr = ({
1497
1497
  text: e,
1498
1498
  fontName: t = "",
1499
1499
  fontColor: r,
1500
- alignment: n = sr.LEFT,
1500
+ alignment: n = ar.LEFT,
1501
1501
  fontSize: i = 17,
1502
1502
  backgroundColor: o,
1503
1503
  cornerRadius: a = 0
@@ -1543,7 +1543,7 @@ const be = ({
1543
1543
  flexDirection: "column"
1544
1544
  },
1545
1545
  children: [
1546
- r && /* @__PURE__ */ s("div", { style: Ls, children: /* @__PURE__ */ s(Ae, x({}, r)) }),
1546
+ r && /* @__PURE__ */ s("div", { style: Ls, children: /* @__PURE__ */ s(Ae, y({}, r)) }),
1547
1547
  (n == null ? void 0 : n.text) && /* @__PURE__ */ s(
1548
1548
  "div",
1549
1549
  {
@@ -1568,12 +1568,12 @@ const be = ({
1568
1568
  alignItems: "center",
1569
1569
  alignContent: "center"
1570
1570
  },
1571
- children: n && /* @__PURE__ */ s(be, x({}, n))
1571
+ children: n && /* @__PURE__ */ s(be, y({}, n))
1572
1572
  }
1573
1573
  )
1574
1574
  }
1575
1575
  ),
1576
- i && /* @__PURE__ */ s("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ s(_r, x({}, i)) })
1576
+ i && /* @__PURE__ */ s("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ s(gr, y({}, i)) })
1577
1577
  ]
1578
1578
  }
1579
1579
  ) });
@@ -1607,13 +1607,13 @@ const be = ({
1607
1607
  part: "gui-info-screen-container",
1608
1608
  "data-ui": "gui-info-screen-container",
1609
1609
  id: "info-screen-container",
1610
- style: q(x({}, xa), {
1610
+ style: Z(y({}, xa), {
1611
1611
  justifyContent: n ? "flex-start" : "center"
1612
1612
  }),
1613
1613
  children: [
1614
- n && /* @__PURE__ */ s("div", { style: ya, children: /* @__PURE__ */ s(Ae, x({}, n)) }),
1615
- e && /* @__PURE__ */ s("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ s(be, x({}, e)) }),
1616
- i && /* @__PURE__ */ s("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ s(_r, x({}, i)) })
1614
+ n && /* @__PURE__ */ s("div", { style: ya, children: /* @__PURE__ */ s(Ae, y({}, n)) }),
1615
+ e && /* @__PURE__ */ s("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ s(be, y({}, e)) }),
1616
+ i && /* @__PURE__ */ s("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ s(gr, y({}, i)) })
1617
1617
  ]
1618
1618
  }
1619
1619
  ) }) }), Sa = ({ indicatorColor: e = "black" }) => /* @__PURE__ */ s(Ie, { children: /* @__PURE__ */ s(Ui, { indicatorColor: e }) }), Xn = ({
@@ -1647,7 +1647,7 @@ const be = ({
1647
1647
  "div",
1648
1648
  {
1649
1649
  className: "details-item",
1650
- style: q(x({}, {
1650
+ style: Z(y({}, {
1651
1651
  display: "flex",
1652
1652
  alignItems: "flex-start",
1653
1653
  justifyContent: "space-between",
@@ -1666,12 +1666,12 @@ const be = ({
1666
1666
  flex: "0 1 auto"
1667
1667
  },
1668
1668
  children: [
1669
- /* @__PURE__ */ s("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ s(be, x({}, e)) }),
1670
- /* @__PURE__ */ s("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ s(_r, x({}, t)) })
1669
+ /* @__PURE__ */ s("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ s(be, y({}, e)) }),
1670
+ /* @__PURE__ */ s("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ s(gr, y({}, t)) })
1671
1671
  ]
1672
1672
  }
1673
1673
  ),
1674
- /* @__PURE__ */ s("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ s(Ae, x({}, r)) })
1674
+ /* @__PURE__ */ s("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ s(Ae, y({}, r)) })
1675
1675
  ]
1676
1676
  }
1677
1677
  ), Oa = {
@@ -1682,11 +1682,11 @@ const be = ({
1682
1682
  "div",
1683
1683
  {
1684
1684
  className: "details",
1685
- style: q(x({}, Oa), {
1685
+ style: Z(y({}, Oa), {
1686
1686
  backgroundColor: X(t) || "white",
1687
1687
  borderRadius: r
1688
1688
  }),
1689
- children: e.map((n, i) => /* @__PURE__ */ s(ka, x({ isLastChild: i === e.length - 1 }, n), i))
1689
+ children: e.map((n, i) => /* @__PURE__ */ s(ka, y({ isLastChild: i === e.length - 1 }, n), i))
1690
1690
  }
1691
1691
  ), Fa = ({
1692
1692
  title: e,
@@ -1712,8 +1712,8 @@ const be = ({
1712
1712
  },
1713
1713
  ref: a,
1714
1714
  children: [
1715
- /* @__PURE__ */ s("div", { style: { marginBottom: e ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: e && /* @__PURE__ */ s(be, x({}, e)) }),
1716
- n && /* @__PURE__ */ s(Ta, x({}, n))
1715
+ /* @__PURE__ */ s("div", { style: { marginBottom: e ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: e && /* @__PURE__ */ s(be, y({}, e)) }),
1716
+ n && /* @__PURE__ */ s(Ta, y({}, n))
1717
1717
  ]
1718
1718
  }
1719
1719
  ) });
@@ -1730,14 +1730,14 @@ function Ar(e, t) {
1730
1730
  function qr(e, t) {
1731
1731
  var r = t(), n = Fe({ t: { __: r, u: t } }), i = n[0].t, o = n[1];
1732
1732
  return dt(function() {
1733
- i.__ = r, i.u = t, br(i) && o({ t: i });
1733
+ i.__ = r, i.u = t, wr(i) && o({ t: i });
1734
1734
  }, [e, r, t]), We(function() {
1735
- return br(i) && o({ t: i }), e(function() {
1736
- br(i) && o({ t: i });
1735
+ return wr(i) && o({ t: i }), e(function() {
1736
+ wr(i) && o({ t: i });
1737
1737
  });
1738
1738
  }, [e]), r;
1739
1739
  }
1740
- function br(e) {
1740
+ function wr(e) {
1741
1741
  var t, r, n = e.u, i = e.__;
1742
1742
  try {
1743
1743
  var o = n();
@@ -1756,7 +1756,7 @@ function Yr() {
1756
1756
  return [!1, Zr];
1757
1757
  }
1758
1758
  var Kr = dt;
1759
- function dr(e, t) {
1759
+ function ur(e, t) {
1760
1760
  this.props = e, this.context = t;
1761
1761
  }
1762
1762
  function $i(e, t) {
@@ -1769,7 +1769,7 @@ function $i(e, t) {
1769
1769
  }
1770
1770
  return n.displayName = "Memo(" + (e.displayName || e.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n.type = e, n;
1771
1771
  }
1772
- (dr.prototype = new Ye()).isPureReactComponent = !0, dr.prototype.shouldComponentUpdate = function(e, t) {
1772
+ (ur.prototype = new Ye()).isPureReactComponent = !0, ur.prototype.shouldComponentUpdate = function(e, t) {
1773
1773
  return Ar(this.props, e) || Ar(this.state, t);
1774
1774
  };
1775
1775
  var Jn = Y.__b;
@@ -1812,7 +1812,7 @@ function Zi(e, t, r) {
1812
1812
  return Zi(n, t, r);
1813
1813
  }), e.__c && e.__c.__P === t && (e.__e && r.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = r)), e;
1814
1814
  }
1815
- function Bt() {
1815
+ function Lt() {
1816
1816
  this.__u = 0, this.o = null, this.__b = null;
1817
1817
  }
1818
1818
  function Gi(e) {
@@ -1838,7 +1838,7 @@ function At() {
1838
1838
  Y.unmount = function(e) {
1839
1839
  var t = e.__c;
1840
1840
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), ei && ei(e);
1841
- }, (Bt.prototype = new Ye()).__c = function(e, t) {
1841
+ }, (Lt.prototype = new Ye()).__c = function(e, t) {
1842
1842
  var r = t.__c, n = this;
1843
1843
  n.o == null && (n.o = []), n.o.push(r);
1844
1844
  var i = Gi(n.__v), o = !1, a = function() {
@@ -1856,9 +1856,9 @@ Y.unmount = function(e) {
1856
1856
  }
1857
1857
  };
1858
1858
  n.__u++ || 32 & t.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(a, a);
1859
- }, Bt.prototype.componentWillUnmount = function() {
1859
+ }, Lt.prototype.componentWillUnmount = function() {
1860
1860
  this.o = [];
1861
- }, Bt.prototype.render = function(e, t) {
1861
+ }, Lt.prototype.render = function(e, t) {
1862
1862
  if (this.__b) {
1863
1863
  if (this.__v.__k) {
1864
1864
  var r = document.createElement("div"), n = this.__v.__k[0].__c;
@@ -1921,14 +1921,14 @@ function Ki(e, t) {
1921
1921
  ti(e, r, t);
1922
1922
  });
1923
1923
  };
1924
- var Xi = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, Ma = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Da = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Pa = /[A-Z0-9]/g, Na = typeof document != "undefined", Ba = function(e) {
1924
+ var Xi = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, Da = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ma = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Pa = /[A-Z0-9]/g, Na = typeof document != "undefined", Ba = function(e) {
1925
1925
  return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
1926
1926
  };
1927
1927
  function Ji(e, t, r) {
1928
1928
  return t.__k == null && (t.textContent = ""), wt(e, t), typeof r == "function" && r(), e ? e.__c : null;
1929
1929
  }
1930
1930
  function Qi(e, t, r) {
1931
- return Mi(e, t), typeof r == "function" && r(), e ? e.__c : null;
1931
+ return Di(e, t), typeof r == "function" && r(), e ? e.__c : null;
1932
1932
  }
1933
1933
  Ye.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
1934
1934
  Object.defineProperty(Ye.prototype, e, { configurable: !0, get: function() {
@@ -1959,7 +1959,7 @@ Y.vnode = function(e) {
1959
1959
  var l = r[a];
1960
1960
  if (!(a === "value" && "defaultValue" in r && l == null || Na && a === "children" && n === "noscript" || a === "class" || a === "className")) {
1961
1961
  var _ = a.toLowerCase();
1962
- a === "defaultValue" && "value" in r && r.value == null ? a = "value" : a === "download" && l === !0 ? l = "" : _ === "translate" && l === "no" ? l = !1 : _[0] === "o" && _[1] === "n" ? _ === "ondoubleclick" ? a = "ondblclick" : _ !== "onchange" || n !== "input" && n !== "textarea" || Ba(r.type) ? _ === "onfocus" ? a = "onfocusin" : _ === "onblur" ? a = "onfocusout" : Da.test(a) && (a = _) : _ = a = "oninput" : o && Ma.test(a) ? a = a.replace(Pa, "-$&").toLowerCase() : l === null && (l = void 0), _ === "oninput" && i[a = _] && (a = "oninputCapture"), i[a] = l;
1962
+ a === "defaultValue" && "value" in r && r.value == null ? a = "value" : a === "download" && l === !0 ? l = "" : _ === "translate" && l === "no" ? l = !1 : _[0] === "o" && _[1] === "n" ? _ === "ondoubleclick" ? a = "ondblclick" : _ !== "onchange" || n !== "input" && n !== "textarea" || Ba(r.type) ? _ === "onfocus" ? a = "onfocusin" : _ === "onblur" ? a = "onfocusout" : Ma.test(a) && (a = _) : _ = a = "oninput" : o && Da.test(a) ? a = a.replace(Pa, "-$&").toLowerCase() : l === null && (l = void 0), _ === "oninput" && i[a = _] && (a = "oninputCapture"), i[a] = l;
1963
1963
  }
1964
1964
  }
1965
1965
  n == "select" && i.multiple && Array.isArray(i.value) && (i.value = ot(r.children).forEach(function(g) {
@@ -1981,21 +1981,21 @@ Y.diffed = function(e) {
1981
1981
  };
1982
1982
  var eo = { ReactCurrentDispatcher: { current: { readContext: function(e) {
1983
1983
  return Xr.__n[e.__c].props.value;
1984
- }, useCallback: Ur, useContext: Zt, useDebugValue: Hr, useDeferredValue: Gr, useEffect: We, useId: Wr, useImperativeHandle: Lr, useInsertionEffect: Kr, useLayoutEffect: dt, useMemo: qt, useReducer: pr, useRef: $e, useState: Fe, useSyncExternalStore: qr, useTransition: Yr } } }, $a = "18.3.1";
1984
+ }, useCallback: Ur, useContext: Gt, useDebugValue: Hr, useDeferredValue: Gr, useEffect: We, useId: Wr, useImperativeHandle: Lr, useInsertionEffect: Kr, useLayoutEffect: dt, useMemo: Zt, useReducer: _r, useRef: $e, useState: Fe, useSyncExternalStore: qr, useTransition: Yr } } }, $a = "18.3.1";
1985
1985
  function to(e) {
1986
1986
  return et.bind(null, e);
1987
1987
  }
1988
- function Yt(e) {
1988
+ function Kt(e) {
1989
1989
  return !!e && e.$$typeof === Xi;
1990
1990
  }
1991
1991
  function ro(e) {
1992
- return Yt(e) && e.type === Ie;
1992
+ return Kt(e) && e.type === Ie;
1993
1993
  }
1994
1994
  function no(e) {
1995
1995
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
1996
1996
  }
1997
1997
  function io(e) {
1998
- return Yt(e) ? Is.apply(null, arguments) : e;
1998
+ return Kt(e) ? Is.apply(null, arguments) : e;
1999
1999
  }
2000
2000
  function oo(e) {
2001
2001
  return !!e.__k && (wt(null, e), !0);
@@ -2007,15 +2007,15 @@ var ao = function(e, t) {
2007
2007
  return e(t);
2008
2008
  }, lo = function(e, t) {
2009
2009
  return e(t);
2010
- }, co = Ie, uo = Yt, te = { useState: Fe, useId: Wr, useReducer: pr, useEffect: We, useLayoutEffect: dt, useInsertionEffect: Kr, useTransition: Yr, useDeferredValue: Gr, useSyncExternalStore: qr, startTransition: Zr, useRef: $e, useImperativeHandle: Lr, useMemo: qt, useCallback: Ur, useContext: Zt, useDebugValue: Hr, version: "18.3.1", Children: zi, render: Ji, hydrate: Qi, unmountComponentAtNode: oo, createPortal: Ki, createElement: et, createContext: Br, createFactory: to, cloneElement: io, createRef: Oi, Fragment: Ie, isValidElement: Yt, isElement: uo, isFragment: ro, isMemo: no, findDOMNode: so, Component: Ye, PureComponent: dr, memo: $i, forwardRef: ji, flushSync: lo, unstable_batchedUpdates: ao, StrictMode: co, Suspense: Bt, SuspenseList: At, lazy: Yi, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: eo };
2010
+ }, co = Ie, uo = Kt, te = { useState: Fe, useId: Wr, useReducer: _r, useEffect: We, useLayoutEffect: dt, useInsertionEffect: Kr, useTransition: Yr, useDeferredValue: Gr, useSyncExternalStore: qr, startTransition: Zr, useRef: $e, useImperativeHandle: Lr, useMemo: Zt, useCallback: Ur, useContext: Gt, useDebugValue: Hr, version: "18.3.1", Children: zi, render: Ji, hydrate: Qi, unmountComponentAtNode: oo, createPortal: Ki, createElement: et, createContext: Br, createFactory: to, cloneElement: io, createRef: Oi, Fragment: Ie, isValidElement: Kt, isElement: uo, isFragment: ro, isMemo: no, findDOMNode: so, Component: Ye, PureComponent: ur, memo: $i, forwardRef: ji, flushSync: lo, unstable_batchedUpdates: ao, StrictMode: co, Suspense: Lt, SuspenseList: At, lazy: Yi, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: eo };
2011
2011
  const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2012
2012
  __proto__: null,
2013
2013
  Children: zi,
2014
2014
  Component: Ye,
2015
2015
  Fragment: Ie,
2016
- PureComponent: dr,
2016
+ PureComponent: ur,
2017
2017
  StrictMode: co,
2018
- Suspense: Bt,
2018
+ Suspense: Lt,
2019
2019
  SuspenseList: At,
2020
2020
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: eo,
2021
2021
  cloneElement: io,
@@ -2032,7 +2032,7 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2032
2032
  isElement: uo,
2033
2033
  isFragment: ro,
2034
2034
  isMemo: no,
2035
- isValidElement: Yt,
2035
+ isValidElement: Kt,
2036
2036
  lazy: Yi,
2037
2037
  memo: $i,
2038
2038
  render: Ji,
@@ -2040,26 +2040,26 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2040
2040
  unmountComponentAtNode: oo,
2041
2041
  unstable_batchedUpdates: ao,
2042
2042
  useCallback: Ur,
2043
- useContext: Zt,
2043
+ useContext: Gt,
2044
2044
  useDebugValue: Hr,
2045
2045
  useDeferredValue: Gr,
2046
2046
  useEffect: We,
2047
- useErrorBoundary: Ds,
2047
+ useErrorBoundary: Ms,
2048
2048
  useId: Wr,
2049
2049
  useImperativeHandle: Lr,
2050
2050
  useInsertionEffect: Kr,
2051
2051
  useLayoutEffect: dt,
2052
- useMemo: qt,
2053
- useReducer: pr,
2052
+ useMemo: Zt,
2053
+ useReducer: _r,
2054
2054
  useRef: $e,
2055
2055
  useState: Fe,
2056
2056
  useSyncExternalStore: qr,
2057
2057
  useTransition: Yr,
2058
2058
  version: $a
2059
2059
  }, Symbol.toStringTag, { value: "Module" }));
2060
- var Kt = (e) => e.type === "checkbox", bt = (e) => e instanceof Date, Re = (e) => e == null;
2060
+ var Xt = (e) => e.type === "checkbox", bt = (e) => e instanceof Date, Re = (e) => e == null;
2061
2061
  const fo = (e) => typeof e == "object";
2062
- var Se = (e) => !Re(e) && !Array.isArray(e) && fo(e) && !bt(e), ho = (e) => Se(e) && e.target ? Kt(e.target) ? e.target.checked : e.target.value : e, za = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, po = (e, t) => e.has(za(t)), qa = (e) => {
2062
+ var Se = (e) => !Re(e) && !Array.isArray(e) && fo(e) && !bt(e), ho = (e) => Se(e) && e.target ? Xt(e.target) ? e.target.checked : e.target.value : e, za = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, po = (e, t) => e.has(za(t)), qa = (e) => {
2063
2063
  const t = e.constructor && e.constructor.prototype;
2064
2064
  return Se(t) && t.hasOwnProperty("isPrototypeOf");
2065
2065
  }, Jr = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
@@ -2078,14 +2078,14 @@ function Oe(e) {
2078
2078
  return e;
2079
2079
  return t;
2080
2080
  }
2081
- var gr = (e) => /^\w*$/.test(e), Ce = (e) => e === void 0, Qr = (e) => Array.isArray(e) ? e.filter(Boolean) : [], en = (e) => Qr(e.replace(/["|']|\]/g, "").split(/\.|\[/)), R = (e, t, r) => {
2081
+ var mr = (e) => /^\w*$/.test(e), Ce = (e) => e === void 0, Qr = (e) => Array.isArray(e) ? e.filter(Boolean) : [], en = (e) => Qr(e.replace(/["|']|\]/g, "").split(/\.|\[/)), D = (e, t, r) => {
2082
2082
  if (!t || !Se(e))
2083
2083
  return r;
2084
- const n = (gr(t) ? [t] : en(t)).reduce((i, o) => Re(i) ? i : i[o], e);
2084
+ const n = (mr(t) ? [t] : en(t)).reduce((i, o) => Re(i) ? i : i[o], e);
2085
2085
  return Ce(n) || n === e ? Ce(e[t]) ? r : e[t] : n;
2086
2086
  }, Ue = (e) => typeof e == "boolean", pe = (e, t, r) => {
2087
2087
  let n = -1;
2088
- const i = gr(t) ? [t] : en(t), o = i.length, a = o - 1;
2088
+ const i = mr(t) ? [t] : en(t), o = i.length, a = o - 1;
2089
2089
  for (; ++n < o; ) {
2090
2090
  const l = i[n];
2091
2091
  let _ = r;
@@ -2098,7 +2098,7 @@ var gr = (e) => /^\w*$/.test(e), Ce = (e) => e === void 0, Qr = (e) => Array.isA
2098
2098
  e[l] = _, e = e[l];
2099
2099
  }
2100
2100
  };
2101
- const ur = {
2101
+ const fr = {
2102
2102
  BLUR: "blur",
2103
2103
  FOCUS_OUT: "focusout",
2104
2104
  CHANGE: "change"
@@ -2149,13 +2149,13 @@ function Za(e) {
2149
2149
  formState: _.current,
2150
2150
  exact: o,
2151
2151
  callback: (g) => {
2152
- !n && l(x(x({}, r._formState), g));
2152
+ !n && l(y(y({}, r._formState), g));
2153
2153
  }
2154
2154
  }), [i, n, o]), te.useEffect(() => {
2155
2155
  _.current.isValid && r._setValid(!0);
2156
2156
  }, [r]), te.useMemo(() => go(a, r, _.current, !1), [a, r]);
2157
2157
  }
2158
- var He = (e) => typeof e == "string", mo = (e, t, r, n, i) => He(e) ? (n && t.watch.add(e), R(r, e, i)) : Array.isArray(e) ? e.map((o) => (n && t.watch.add(o), R(r, o))) : (n && (t.watchAll = !0), r), Ir = (e) => Re(e) || !fo(e);
2158
+ var He = (e) => typeof e == "string", mo = (e, t, r, n, i) => He(e) ? (n && t.watch.add(e), D(r, e, i)) : Array.isArray(e) ? e.map((o) => (n && t.watch.add(o), D(r, o))) : (n && (t.watchAll = !0), r), Ir = (e) => Re(e) || !fo(e);
2159
2159
  function it(e, t, r = /* @__PURE__ */ new WeakSet()) {
2160
2160
  if (Ir(e) || Ir(t))
2161
2161
  return e === t;
@@ -2180,7 +2180,7 @@ function it(e, t, r = /* @__PURE__ */ new WeakSet()) {
2180
2180
  return !0;
2181
2181
  }
2182
2182
  function Ga(e) {
2183
- const t = tn(), { control: r = t.control, name: n, defaultValue: i, disabled: o, exact: a, compute: l } = e || {}, _ = te.useRef(i), g = te.useRef(l), b = te.useRef(void 0);
2183
+ const t = tn(), { control: r = t.control, name: n, defaultValue: i, disabled: o, exact: a, compute: l } = e || {}, _ = te.useRef(i), g = te.useRef(l), w = te.useRef(void 0);
2184
2184
  g.current = l;
2185
2185
  const h = te.useMemo(() => r._getWatch(n, _.current), [r, n]), [c, v] = te.useState(g.current ? g.current(h) : h);
2186
2186
  return rn(() => r._subscribe({
@@ -2193,8 +2193,8 @@ function Ga(e) {
2193
2193
  if (!o) {
2194
2194
  const m = mo(n, r._names, p.values || r._formValues, !1, _.current);
2195
2195
  if (g.current) {
2196
- const y = g.current(m);
2197
- it(y, b.current) || (v(y), b.current = y);
2196
+ const x = g.current(m);
2197
+ it(x, w.current) || (v(x), w.current = x);
2198
2198
  } else
2199
2199
  v(m);
2200
2200
  }
@@ -2202,81 +2202,81 @@ function Ga(e) {
2202
2202
  }), [r, o, n, a]), te.useEffect(() => r._removeUnmounted()), c;
2203
2203
  }
2204
2204
  function Ya(e) {
2205
- const t = tn(), { name: r, disabled: n, control: i = t.control, shouldUnregister: o, defaultValue: a } = e, l = po(i._names.array, r), _ = te.useMemo(() => R(i._formValues, r, R(i._defaultValues, r, a)), [i, r, a]), g = Ga({
2205
+ const t = tn(), { name: r, disabled: n, control: i = t.control, shouldUnregister: o, defaultValue: a } = e, l = po(i._names.array, r), _ = te.useMemo(() => D(i._formValues, r, D(i._defaultValues, r, a)), [i, r, a]), g = Ga({
2206
2206
  control: i,
2207
2207
  name: r,
2208
2208
  defaultValue: _,
2209
2209
  exact: !0
2210
- }), b = Za({
2210
+ }), w = Za({
2211
2211
  control: i,
2212
2212
  name: r,
2213
2213
  exact: !0
2214
- }), h = te.useRef(e), c = te.useRef(void 0), v = te.useRef(i.register(r, x(q(x({}, e.rules), {
2214
+ }), h = te.useRef(e), c = te.useRef(void 0), v = te.useRef(i.register(r, y(Z(y({}, e.rules), {
2215
2215
  value: g
2216
2216
  }), Ue(e.disabled) ? { disabled: e.disabled } : {})));
2217
2217
  h.current = e;
2218
2218
  const p = te.useMemo(() => Object.defineProperties({}, {
2219
2219
  invalid: {
2220
2220
  enumerable: !0,
2221
- get: () => !!R(b.errors, r)
2221
+ get: () => !!D(w.errors, r)
2222
2222
  },
2223
2223
  isDirty: {
2224
2224
  enumerable: !0,
2225
- get: () => !!R(b.dirtyFields, r)
2225
+ get: () => !!D(w.dirtyFields, r)
2226
2226
  },
2227
2227
  isTouched: {
2228
2228
  enumerable: !0,
2229
- get: () => !!R(b.touchedFields, r)
2229
+ get: () => !!D(w.touchedFields, r)
2230
2230
  },
2231
2231
  isValidating: {
2232
2232
  enumerable: !0,
2233
- get: () => !!R(b.validatingFields, r)
2233
+ get: () => !!D(w.validatingFields, r)
2234
2234
  },
2235
2235
  error: {
2236
2236
  enumerable: !0,
2237
- get: () => R(b.errors, r)
2237
+ get: () => D(w.errors, r)
2238
2238
  }
2239
- }), [b, r]), m = te.useCallback((k) => v.current.onChange({
2239
+ }), [w, r]), m = te.useCallback((k) => v.current.onChange({
2240
2240
  target: {
2241
2241
  value: ho(k),
2242
2242
  name: r
2243
2243
  },
2244
- type: ur.CHANGE
2245
- }), [r]), y = te.useCallback(() => v.current.onBlur({
2244
+ type: fr.CHANGE
2245
+ }), [r]), x = te.useCallback(() => v.current.onBlur({
2246
2246
  target: {
2247
- value: R(i._formValues, r),
2247
+ value: D(i._formValues, r),
2248
2248
  name: r
2249
2249
  },
2250
- type: ur.BLUR
2251
- }), [r, i._formValues]), F = te.useCallback((k) => {
2252
- const O = R(i._fields, r);
2253
- O && k && (O._f.ref = {
2250
+ type: fr.BLUR
2251
+ }), [r, i._formValues]), T = te.useCallback((k) => {
2252
+ const F = D(i._fields, r);
2253
+ F && k && (F._f.ref = {
2254
2254
  focus: () => k.focus && k.focus(),
2255
2255
  select: () => k.select && k.select(),
2256
- setCustomValidity: (M) => k.setCustomValidity(M),
2256
+ setCustomValidity: (V) => k.setCustomValidity(V),
2257
2257
  reportValidity: () => k.reportValidity()
2258
2258
  });
2259
- }, [i._fields, r]), I = te.useMemo(() => q(x({
2259
+ }, [i._fields, r]), I = te.useMemo(() => Z(y({
2260
2260
  name: r,
2261
2261
  value: g
2262
- }, Ue(n) || b.disabled ? { disabled: b.disabled || n } : {}), {
2262
+ }, Ue(n) || w.disabled ? { disabled: w.disabled || n } : {}), {
2263
2263
  onChange: m,
2264
- onBlur: y,
2265
- ref: F
2266
- }), [r, n, b.disabled, m, y, F, g]);
2264
+ onBlur: x,
2265
+ ref: T
2266
+ }), [r, n, w.disabled, m, x, T, g]);
2267
2267
  return te.useEffect(() => {
2268
- const k = i._options.shouldUnregister || o, O = c.current;
2269
- O && O !== r && !l && i.unregister(O), i.register(r, x(x({}, h.current.rules), Ue(h.current.disabled) ? { disabled: h.current.disabled } : {}));
2270
- const M = (Z, U) => {
2271
- const ce = R(i._fields, Z);
2272
- ce && ce._f && (ce._f.mount = U);
2268
+ const k = i._options.shouldUnregister || o, F = c.current;
2269
+ F && F !== r && !l && i.unregister(F), i.register(r, y(y({}, h.current.rules), Ue(h.current.disabled) ? { disabled: h.current.disabled } : {}));
2270
+ const V = (z, B) => {
2271
+ const ae = D(i._fields, z);
2272
+ ae && ae._f && (ae._f.mount = B);
2273
2273
  };
2274
- if (M(r, !0), k) {
2275
- const Z = Oe(R(i._options.defaultValues, r, h.current.defaultValue));
2276
- pe(i._defaultValues, r, Z), Ce(R(i._formValues, r)) && pe(i._formValues, r, Z);
2274
+ if (V(r, !0), k) {
2275
+ const z = Oe(D(i._options.defaultValues, r, h.current.defaultValue));
2276
+ pe(i._defaultValues, r, z), Ce(D(i._formValues, r)) && pe(i._formValues, r, z);
2277
2277
  }
2278
2278
  return !l && i.register(r), c.current = r, () => {
2279
- (l ? k && !i._state.action : k) ? i.unregister(r) : M(r, !1);
2279
+ (l ? k && !i._state.action : k) ? i.unregister(r) : V(r, !1);
2280
2280
  };
2281
2281
  }, [r, i, l, o]), te.useEffect(() => {
2282
2282
  i._setDisabledField({
@@ -2285,16 +2285,16 @@ function Ya(e) {
2285
2285
  });
2286
2286
  }, [n, r, i]), te.useMemo(() => ({
2287
2287
  field: I,
2288
- formState: b,
2288
+ formState: w,
2289
2289
  fieldState: p
2290
- }), [I, b, p]);
2290
+ }), [I, w, p]);
2291
2291
  }
2292
2292
  const vo = (e) => e.render(Ya(e));
2293
- var Ka = (e, t, r, n, i) => t ? q(x({}, r[e]), {
2294
- types: q(x({}, r[e] && r[e].types ? r[e].types : {}), {
2293
+ var Ka = (e, t, r, n, i) => t ? Z(y({}, r[e]), {
2294
+ types: Z(y({}, r[e] && r[e].types ? r[e].types : {}), {
2295
2295
  [n]: i || !0
2296
2296
  })
2297
- }) : {}, Lt = (e) => Array.isArray(e) ? e : [e], si = () => {
2297
+ }) : {}, Ut = (e) => Array.isArray(e) ? e : [e], si = () => {
2298
2298
  let e = [];
2299
2299
  return {
2300
2300
  get observers() {
@@ -2326,12 +2326,12 @@ function bo(e, t) {
2326
2326
  }
2327
2327
  return r;
2328
2328
  }
2329
- var Ne = (e) => Se(e) && !Object.keys(e).length, nn = (e) => e.type === "file", Ge = (e) => typeof e == "function", fr = (e) => {
2329
+ var Ne = (e) => Se(e) && !Object.keys(e).length, nn = (e) => e.type === "file", Ge = (e) => typeof e == "function", hr = (e) => {
2330
2330
  if (!Jr)
2331
2331
  return !1;
2332
2332
  const t = e ? e.ownerDocument : 0;
2333
2333
  return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
2334
- }, wo = (e) => e.type === "select-multiple", on = (e) => e.type === "radio", Xa = (e) => on(e) || Kt(e), wr = (e) => fr(e) && e.isConnected;
2334
+ }, wo = (e) => e.type === "select-multiple", on = (e) => e.type === "radio", Xa = (e) => on(e) || Xt(e), Cr = (e) => hr(e) && e.isConnected;
2335
2335
  function Ja(e, t) {
2336
2336
  const r = t.slice(0, -1).length;
2337
2337
  let n = 0;
@@ -2346,7 +2346,7 @@ function Qa(e) {
2346
2346
  return !0;
2347
2347
  }
2348
2348
  function Ee(e, t) {
2349
- const r = Array.isArray(t) ? t : gr(t) ? [t] : en(t), n = r.length === 1 ? e : Ja(e, r), i = r.length - 1, o = r[i];
2349
+ const r = Array.isArray(t) ? t : mr(t) ? [t] : en(t), n = r.length === 1 ? e : Ja(e, r), i = r.length - 1, o = r[i];
2350
2350
  return n && delete n[o], i !== 0 && (Se(n) && Ne(n) || Array.isArray(n) && Qa(n)) && Ee(e, r.slice(0, -1)), e;
2351
2351
  }
2352
2352
  var el = (e) => {
@@ -2396,12 +2396,12 @@ var Eo = (e) => Array.isArray(e) ? e.reduce((t, r) => r && r.checked && !r.disab
2396
2396
  } : t, ci) : ci;
2397
2397
  function di(e) {
2398
2398
  const t = e.ref;
2399
- return nn(t) ? t.files : on(t) ? Eo(e.refs).value : wo(t) ? [...t.selectedOptions].map(({ value: r }) => r) : Kt(t) ? yo(e.refs).value : xo(Ce(t.value) ? e.ref.value : t.value, e);
2399
+ return nn(t) ? t.files : on(t) ? Eo(e.refs).value : wo(t) ? [...t.selectedOptions].map(({ value: r }) => r) : Xt(t) ? yo(e.refs).value : xo(Ce(t.value) ? e.ref.value : t.value, e);
2400
2400
  }
2401
2401
  var tl = (e, t, r, n) => {
2402
2402
  const i = {};
2403
2403
  for (const o of e) {
2404
- const a = R(t, o);
2404
+ const a = D(t, o);
2405
2405
  a && pe(i, o, a._f);
2406
2406
  }
2407
2407
  return {
@@ -2410,7 +2410,7 @@ var tl = (e, t, r, n) => {
2410
2410
  fields: i,
2411
2411
  shouldUseNativeValidation: n
2412
2412
  };
2413
- }, hr = (e) => e instanceof RegExp, Dt = (e) => Ce(e) ? e : hr(e) ? e.source : Se(e) ? hr(e.value) ? e.value.source : e.value : e, ui = (e) => ({
2413
+ }, pr = (e) => e instanceof RegExp, Mt = (e) => Ce(e) ? e : pr(e) ? e.source : Se(e) ? pr(e.value) ? e.value.source : e.value : e, ui = (e) => ({
2414
2414
  isOnSubmit: !e || e === Ze.onSubmit,
2415
2415
  isOnBlur: e === Ze.onBlur,
2416
2416
  isOnChange: e === Ze.onChange,
@@ -2419,9 +2419,9 @@ var tl = (e, t, r, n) => {
2419
2419
  });
2420
2420
  const fi = "AsyncFunction";
2421
2421
  var rl = (e) => !!e && !!e.validate && !!(Ge(e.validate) && e.validate.constructor.name === fi || Se(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === fi)), nl = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), hi = (e, t, r) => !r && (t.watchAll || t.watch.has(e) || [...t.watch].some((n) => e.startsWith(n) && /^\.\w+/.test(e.slice(n.length))));
2422
- const Ut = (e, t, r, n) => {
2422
+ const Ht = (e, t, r, n) => {
2423
2423
  for (const o of r || Object.keys(e)) {
2424
- const a = R(e, o);
2424
+ const a = D(e, o);
2425
2425
  if (a) {
2426
2426
  const i = a, { _f: l } = i, _ = _t(i, ["_f"]);
2427
2427
  if (l) {
@@ -2429,23 +2429,23 @@ const Ut = (e, t, r, n) => {
2429
2429
  return !0;
2430
2430
  if (l.ref && t(l.ref, l.name) && !n)
2431
2431
  return !0;
2432
- if (Ut(_, t))
2432
+ if (Ht(_, t))
2433
2433
  break;
2434
- } else if (Se(_) && Ut(_, t))
2434
+ } else if (Se(_) && Ht(_, t))
2435
2435
  break;
2436
2436
  }
2437
2437
  }
2438
2438
  };
2439
2439
  function pi(e, t, r) {
2440
- const n = R(e, r);
2441
- if (n || gr(r))
2440
+ const n = D(e, r);
2441
+ if (n || mr(r))
2442
2442
  return {
2443
2443
  error: n,
2444
2444
  name: r
2445
2445
  };
2446
2446
  const i = r.split(".");
2447
2447
  for (; i.length; ) {
2448
- const o = i.join("."), a = R(t, o), l = R(e, o);
2448
+ const o = i.join("."), a = D(t, o), l = D(e, o);
2449
2449
  if (a && !Array.isArray(a) && r !== o)
2450
2450
  return { name: r };
2451
2451
  if (l && l.type)
@@ -2468,8 +2468,8 @@ var il = (e, t, r, n) => {
2468
2468
  r(e);
2469
2469
  const a = e, { name: i } = a, o = _t(a, ["name"]);
2470
2470
  return Ne(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find((l) => t[l] === (!n || Ze.all));
2471
- }, ol = (e, t, r) => !e || !t || e === t || Lt(e).some((n) => n && (r ? n === t : n.startsWith(t) || t.startsWith(n))), sl = (e, t, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(t || e) : (r ? n.isOnBlur : i.isOnBlur) ? !e : (r ? n.isOnChange : i.isOnChange) ? e : !0, al = (e, t) => !Qr(R(e, t)).length && Ee(e, t), ll = (e, t, r) => {
2472
- const n = Lt(R(e, r));
2471
+ }, ol = (e, t, r) => !e || !t || e === t || Ut(e).some((n) => n && (r ? n === t : n.startsWith(t) || t.startsWith(n))), sl = (e, t, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(t || e) : (r ? n.isOnBlur : i.isOnBlur) ? !e : (r ? n.isOnChange : i.isOnChange) ? e : !0, al = (e, t) => !Qr(D(e, t)).length && Ee(e, t), ll = (e, t, r) => {
2472
+ const n = Ut(D(e, r));
2473
2473
  return pe(n, "root", t[r]), pe(e, r, n), e;
2474
2474
  };
2475
2475
  function _i(e, t, r = "validate") {
@@ -2480,79 +2480,79 @@ function _i(e, t, r = "validate") {
2480
2480
  ref: t
2481
2481
  };
2482
2482
  }
2483
- var Tt = (e) => Se(e) && !hr(e) ? e : {
2483
+ var Tt = (e) => Se(e) && !pr(e) ? e : {
2484
2484
  value: e,
2485
2485
  message: ""
2486
2486
  }, gi = (e, t, r, n, i, o) => _e(null, null, function* () {
2487
- const { ref: a, refs: l, required: _, maxLength: g, minLength: b, min: h, max: c, pattern: v, validate: p, name: m, valueAsNumber: y, mount: F } = e._f, I = R(r, m);
2488
- if (!F || t.has(m))
2487
+ const { ref: a, refs: l, required: _, maxLength: g, minLength: w, min: h, max: c, pattern: v, validate: p, name: m, valueAsNumber: x, mount: T } = e._f, I = D(r, m);
2488
+ if (!T || t.has(m))
2489
2489
  return {};
2490
- const k = l ? l[0] : a, O = (H) => {
2490
+ const k = l ? l[0] : a, F = (H) => {
2491
2491
  i && k.reportValidity && (k.setCustomValidity(Ue(H) ? "" : H || ""), k.reportValidity());
2492
- }, M = {}, Z = on(a), U = Kt(a), ce = Z || U, le = (y || nn(a)) && Ce(a.value) && Ce(I) || fr(a) && a.value === "" || I === "" || Array.isArray(I) && !I.length, re = Ka.bind(null, m, n, M), J = (H, G, oe, ge = rt.maxLength, me = rt.minLength) => {
2492
+ }, V = {}, z = on(a), B = Xt(a), ae = z || B, ce = (x || nn(a)) && Ce(a.value) && Ce(I) || hr(a) && a.value === "" || I === "" || Array.isArray(I) && !I.length, re = Ka.bind(null, m, n, V), J = (H, G, oe, ge = rt.maxLength, me = rt.minLength) => {
2493
2493
  const we = H ? G : oe;
2494
- M[m] = x({
2494
+ V[m] = y({
2495
2495
  type: H ? ge : me,
2496
2496
  message: we,
2497
2497
  ref: a
2498
2498
  }, re(H ? ge : me, we));
2499
2499
  };
2500
- if (o ? !Array.isArray(I) || !I.length : _ && (!ce && (le || Re(I)) || Ue(I) && !I || U && !yo(l).isValid || Z && !Eo(l).isValid)) {
2500
+ if (o ? !Array.isArray(I) || !I.length : _ && (!ae && (ce || Re(I)) || Ue(I) && !I || B && !yo(l).isValid || z && !Eo(l).isValid)) {
2501
2501
  const { value: H, message: G } = He(_) ? { value: !!_, message: _ } : Tt(_);
2502
- if (H && (M[m] = x({
2502
+ if (H && (V[m] = y({
2503
2503
  type: rt.required,
2504
2504
  message: G,
2505
2505
  ref: k
2506
2506
  }, re(rt.required, G)), !n))
2507
- return O(G), M;
2507
+ return F(G), V;
2508
2508
  }
2509
- if (!le && (!Re(h) || !Re(c))) {
2509
+ if (!ce && (!Re(h) || !Re(c))) {
2510
2510
  let H, G;
2511
2511
  const oe = Tt(c), ge = Tt(h);
2512
2512
  if (!Re(I) && !isNaN(I)) {
2513
2513
  const me = a.valueAsNumber || I && +I;
2514
2514
  Re(oe.value) || (H = me > oe.value), Re(ge.value) || (G = me < ge.value);
2515
2515
  } else {
2516
- const me = a.valueAsDate || new Date(I), we = (z) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + z), Be = a.type == "time", de = a.type == "week";
2516
+ const me = a.valueAsDate || new Date(I), we = (q) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + q), Be = a.type == "time", de = a.type == "week";
2517
2517
  He(oe.value) && I && (H = Be ? we(I) > we(oe.value) : de ? I > oe.value : me > new Date(oe.value)), He(ge.value) && I && (G = Be ? we(I) < we(ge.value) : de ? I < ge.value : me < new Date(ge.value));
2518
2518
  }
2519
2519
  if ((H || G) && (J(!!H, oe.message, ge.message, rt.max, rt.min), !n))
2520
- return O(M[m].message), M;
2520
+ return F(V[m].message), V;
2521
2521
  }
2522
- if ((g || b) && !le && (He(I) || o && Array.isArray(I))) {
2523
- const H = Tt(g), G = Tt(b), oe = !Re(H.value) && I.length > +H.value, ge = !Re(G.value) && I.length < +G.value;
2522
+ if ((g || w) && !ce && (He(I) || o && Array.isArray(I))) {
2523
+ const H = Tt(g), G = Tt(w), oe = !Re(H.value) && I.length > +H.value, ge = !Re(G.value) && I.length < +G.value;
2524
2524
  if ((oe || ge) && (J(oe, H.message, G.message), !n))
2525
- return O(M[m].message), M;
2525
+ return F(V[m].message), V;
2526
2526
  }
2527
- if (v && !le && He(I)) {
2527
+ if (v && !ce && He(I)) {
2528
2528
  const { value: H, message: G } = Tt(v);
2529
- if (hr(H) && !I.match(H) && (M[m] = x({
2529
+ if (pr(H) && !I.match(H) && (V[m] = y({
2530
2530
  type: rt.pattern,
2531
2531
  message: G,
2532
2532
  ref: a
2533
2533
  }, re(rt.pattern, G)), !n))
2534
- return O(G), M;
2534
+ return F(G), V;
2535
2535
  }
2536
2536
  if (p) {
2537
2537
  if (Ge(p)) {
2538
2538
  const H = yield p(I, r), G = _i(H, k);
2539
- if (G && (M[m] = x(x({}, G), re(rt.validate, G.message)), !n))
2540
- return O(G.message), M;
2539
+ if (G && (V[m] = y(y({}, G), re(rt.validate, G.message)), !n))
2540
+ return F(G.message), V;
2541
2541
  } else if (Se(p)) {
2542
2542
  let H = {};
2543
2543
  for (const G in p) {
2544
2544
  if (!Ne(H) && !n)
2545
2545
  break;
2546
2546
  const oe = _i(yield p[G](I, r), k, G);
2547
- oe && (H = x(x({}, oe), re(G, oe.message)), O(oe.message), n && (M[m] = H));
2547
+ oe && (H = y(y({}, oe), re(G, oe.message)), F(oe.message), n && (V[m] = H));
2548
2548
  }
2549
- if (!Ne(H) && (M[m] = x({
2549
+ if (!Ne(H) && (V[m] = y({
2550
2550
  ref: k
2551
2551
  }, H), !n))
2552
- return M;
2552
+ return V;
2553
2553
  }
2554
2554
  }
2555
- return O(!0), M;
2555
+ return F(!0), V;
2556
2556
  });
2557
2557
  const cl = {
2558
2558
  mode: Ze.onSubmit,
@@ -2560,7 +2560,7 @@ const cl = {
2560
2560
  shouldFocusError: !0
2561
2561
  };
2562
2562
  function dl(e = {}) {
2563
- let t = x(x({}, cl), e), r = {
2563
+ let t = y(y({}, cl), e), r = {
2564
2564
  submitCount: 0,
2565
2565
  isDirty: !1,
2566
2566
  isReady: !1,
@@ -2586,7 +2586,7 @@ function dl(e = {}) {
2586
2586
  array: /* @__PURE__ */ new Set(),
2587
2587
  watch: /* @__PURE__ */ new Set()
2588
2588
  }, _, g = 0;
2589
- const b = {
2589
+ const w = {
2590
2590
  isDirty: !1,
2591
2591
  dirtyFields: !1,
2592
2592
  validatingFields: !1,
@@ -2595,41 +2595,41 @@ function dl(e = {}) {
2595
2595
  isValid: !1,
2596
2596
  errors: !1
2597
2597
  };
2598
- let h = x({}, b);
2598
+ let h = y({}, w);
2599
2599
  const c = {
2600
2600
  array: si(),
2601
2601
  state: si()
2602
2602
  }, v = t.criteriaMode === Ze.all, p = (f) => (C) => {
2603
2603
  clearTimeout(g), g = setTimeout(f, C);
2604
2604
  }, m = (f) => _e(null, null, function* () {
2605
- if (!t.disabled && (b.isValid || h.isValid || f)) {
2606
- const C = t.resolver ? Ne((yield U()).errors) : yield le(n, !0);
2605
+ if (!t.disabled && (w.isValid || h.isValid || f)) {
2606
+ const C = t.resolver ? Ne((yield B()).errors) : yield ce(n, !0);
2607
2607
  C !== r.isValid && c.state.next({
2608
2608
  isValid: C
2609
2609
  });
2610
2610
  }
2611
- }), y = (f, C) => {
2612
- !t.disabled && (b.isValidating || b.validatingFields || h.isValidating || h.validatingFields) && ((f || Array.from(l.mount)).forEach((S) => {
2611
+ }), x = (f, C) => {
2612
+ !t.disabled && (w.isValidating || w.validatingFields || h.isValidating || h.validatingFields) && ((f || Array.from(l.mount)).forEach((S) => {
2613
2613
  S && (C ? pe(r.validatingFields, S, C) : Ee(r.validatingFields, S));
2614
2614
  }), c.state.next({
2615
2615
  validatingFields: r.validatingFields,
2616
2616
  isValidating: !Ne(r.validatingFields)
2617
2617
  }));
2618
- }, F = (f, C = [], S, D, A = !0, V = !0) => {
2619
- if (D && S && !t.disabled) {
2620
- if (a.action = !0, V && Array.isArray(R(n, f))) {
2621
- const B = S(R(n, f), D.argA, D.argB);
2622
- A && pe(n, f, B);
2618
+ }, T = (f, C = [], S, M, A = !0, R = !0) => {
2619
+ if (M && S && !t.disabled) {
2620
+ if (a.action = !0, R && Array.isArray(D(n, f))) {
2621
+ const L = S(D(n, f), M.argA, M.argB);
2622
+ A && pe(n, f, L);
2623
2623
  }
2624
- if (V && Array.isArray(R(r.errors, f))) {
2625
- const B = S(R(r.errors, f), D.argA, D.argB);
2626
- A && pe(r.errors, f, B), al(r.errors, f);
2624
+ if (R && Array.isArray(D(r.errors, f))) {
2625
+ const L = S(D(r.errors, f), M.argA, M.argB);
2626
+ A && pe(r.errors, f, L), al(r.errors, f);
2627
2627
  }
2628
- if ((b.touchedFields || h.touchedFields) && V && Array.isArray(R(r.touchedFields, f))) {
2629
- const B = S(R(r.touchedFields, f), D.argA, D.argB);
2630
- A && pe(r.touchedFields, f, B);
2628
+ if ((w.touchedFields || h.touchedFields) && R && Array.isArray(D(r.touchedFields, f))) {
2629
+ const L = S(D(r.touchedFields, f), M.argA, M.argB);
2630
+ A && pe(r.touchedFields, f, L);
2631
2631
  }
2632
- (b.dirtyFields || h.dirtyFields) && (r.dirtyFields = Ft(i, o)), c.state.next({
2632
+ (w.dirtyFields || h.dirtyFields) && (r.dirtyFields = Ft(i, o)), c.state.next({
2633
2633
  name: f,
2634
2634
  isDirty: J(f, C),
2635
2635
  dirtyFields: r.dirtyFields,
@@ -2647,316 +2647,316 @@ function dl(e = {}) {
2647
2647
  errors: r.errors,
2648
2648
  isValid: !1
2649
2649
  });
2650
- }, O = (f, C, S, D) => {
2651
- const A = R(n, f);
2650
+ }, F = (f, C, S, M) => {
2651
+ const A = D(n, f);
2652
2652
  if (A) {
2653
- const V = R(o, f, Ce(S) ? R(i, f) : S);
2654
- Ce(V) || D && D.defaultChecked || C ? pe(o, f, C ? V : di(A._f)) : oe(f, V), a.mount && m();
2653
+ const R = D(o, f, Ce(S) ? D(i, f) : S);
2654
+ Ce(R) || M && M.defaultChecked || C ? pe(o, f, C ? R : di(A._f)) : oe(f, R), a.mount && m();
2655
2655
  }
2656
- }, M = (f, C, S, D, A) => {
2657
- let V = !1, B = !1;
2656
+ }, V = (f, C, S, M, A) => {
2657
+ let R = !1, L = !1;
2658
2658
  const K = {
2659
2659
  name: f
2660
2660
  };
2661
2661
  if (!t.disabled) {
2662
- if (!S || D) {
2663
- (b.isDirty || h.isDirty) && (B = r.isDirty, r.isDirty = K.isDirty = J(), V = B !== K.isDirty);
2664
- const W = it(R(i, f), C);
2665
- B = !!R(r.dirtyFields, f), W ? Ee(r.dirtyFields, f) : pe(r.dirtyFields, f, !0), K.dirtyFields = r.dirtyFields, V = V || (b.dirtyFields || h.dirtyFields) && B !== !W;
2662
+ if (!S || M) {
2663
+ (w.isDirty || h.isDirty) && (L = r.isDirty, r.isDirty = K.isDirty = J(), R = L !== K.isDirty);
2664
+ const W = it(D(i, f), C);
2665
+ L = !!D(r.dirtyFields, f), W ? Ee(r.dirtyFields, f) : pe(r.dirtyFields, f, !0), K.dirtyFields = r.dirtyFields, R = R || (w.dirtyFields || h.dirtyFields) && L !== !W;
2666
2666
  }
2667
2667
  if (S) {
2668
- const W = R(r.touchedFields, f);
2669
- W || (pe(r.touchedFields, f, S), K.touchedFields = r.touchedFields, V = V || (b.touchedFields || h.touchedFields) && W !== S);
2668
+ const W = D(r.touchedFields, f);
2669
+ W || (pe(r.touchedFields, f, S), K.touchedFields = r.touchedFields, R = R || (w.touchedFields || h.touchedFields) && W !== S);
2670
2670
  }
2671
- V && A && c.state.next(K);
2671
+ R && A && c.state.next(K);
2672
2672
  }
2673
- return V ? K : {};
2674
- }, Z = (f, C, S, D) => {
2675
- const A = R(r.errors, f), V = (b.isValid || h.isValid) && Ue(C) && r.isValid !== C;
2676
- if (t.delayError && S ? (_ = p(() => I(f, S)), _(t.delayError)) : (clearTimeout(g), _ = null, S ? pe(r.errors, f, S) : Ee(r.errors, f)), (S ? !it(A, S) : A) || !Ne(D) || V) {
2677
- const B = q(x(x({}, D), V && Ue(C) ? { isValid: C } : {}), {
2673
+ return R ? K : {};
2674
+ }, z = (f, C, S, M) => {
2675
+ const A = D(r.errors, f), R = (w.isValid || h.isValid) && Ue(C) && r.isValid !== C;
2676
+ if (t.delayError && S ? (_ = p(() => I(f, S)), _(t.delayError)) : (clearTimeout(g), _ = null, S ? pe(r.errors, f, S) : Ee(r.errors, f)), (S ? !it(A, S) : A) || !Ne(M) || R) {
2677
+ const L = Z(y(y({}, M), R && Ue(C) ? { isValid: C } : {}), {
2678
2678
  errors: r.errors,
2679
2679
  name: f
2680
2680
  });
2681
- r = x(x({}, r), B), c.state.next(B);
2681
+ r = y(y({}, r), L), c.state.next(L);
2682
2682
  }
2683
- }, U = (f) => _e(null, null, function* () {
2684
- y(f, !0);
2683
+ }, B = (f) => _e(null, null, function* () {
2684
+ x(f, !0);
2685
2685
  const C = yield t.resolver(o, t.context, tl(f || l.mount, n, t.criteriaMode, t.shouldUseNativeValidation));
2686
- return y(f), C;
2687
- }), ce = (f) => _e(null, null, function* () {
2688
- const { errors: C } = yield U(f);
2686
+ return x(f), C;
2687
+ }), ae = (f) => _e(null, null, function* () {
2688
+ const { errors: C } = yield B(f);
2689
2689
  if (f)
2690
2690
  for (const S of f) {
2691
- const D = R(C, S);
2692
- D ? pe(r.errors, S, D) : Ee(r.errors, S);
2691
+ const M = D(C, S);
2692
+ M ? pe(r.errors, S, M) : Ee(r.errors, S);
2693
2693
  }
2694
2694
  else
2695
2695
  r.errors = C;
2696
2696
  return C;
2697
- }), le = (D, A, ...V) => _e(null, [D, A, ...V], function* (f, C, S = {
2697
+ }), ce = (M, A, ...R) => _e(null, [M, A, ...R], function* (f, C, S = {
2698
2698
  valid: !0
2699
2699
  }) {
2700
2700
  for (const K in f) {
2701
2701
  const W = f[K];
2702
2702
  if (W) {
2703
- const B = W, { _f: ae } = B, Ve = _t(B, ["_f"]);
2704
- if (ae) {
2705
- const j = l.array.has(ae.name), Q = W._f && rl(W._f);
2706
- Q && b.validatingFields && y([ae.name], !0);
2707
- const L = yield gi(W, l.disabled, o, v, t.shouldUseNativeValidation && !C, j);
2708
- if (Q && b.validatingFields && y([ae.name]), L[ae.name] && (S.valid = !1, C))
2703
+ const L = W, { _f: le } = L, Ve = _t(L, ["_f"]);
2704
+ if (le) {
2705
+ const j = l.array.has(le.name), Q = W._f && rl(W._f);
2706
+ Q && w.validatingFields && x([le.name], !0);
2707
+ const U = yield gi(W, l.disabled, o, v, t.shouldUseNativeValidation && !C, j);
2708
+ if (Q && w.validatingFields && x([le.name]), U[le.name] && (S.valid = !1, C))
2709
2709
  break;
2710
- !C && (R(L, ae.name) ? j ? ll(r.errors, L, ae.name) : pe(r.errors, ae.name, L[ae.name]) : Ee(r.errors, ae.name));
2710
+ !C && (D(U, le.name) ? j ? ll(r.errors, U, le.name) : pe(r.errors, le.name, U[le.name]) : Ee(r.errors, le.name));
2711
2711
  }
2712
- !Ne(Ve) && (yield le(Ve, C, S));
2712
+ !Ne(Ve) && (yield ce(Ve, C, S));
2713
2713
  }
2714
2714
  }
2715
2715
  return S.valid;
2716
2716
  }), re = () => {
2717
2717
  for (const f of l.unMount) {
2718
- const C = R(n, f);
2719
- C && (C._f.refs ? C._f.refs.every((S) => !wr(S)) : !wr(C._f.ref)) && je(f);
2718
+ const C = D(n, f);
2719
+ C && (C._f.refs ? C._f.refs.every((S) => !Cr(S)) : !Cr(C._f.ref)) && je(f);
2720
2720
  }
2721
2721
  l.unMount = /* @__PURE__ */ new Set();
2722
- }, J = (f, C) => !t.disabled && (f && C && pe(o, f, C), !it(z(), i)), H = (f, C, S) => mo(f, l, x({}, a.mount ? o : Ce(C) ? i : He(f) ? { [f]: C } : C), S, C), G = (f) => Qr(R(a.mount ? o : i, f, t.shouldUnregister ? R(i, f, []) : [])), oe = (f, C, S = {}) => {
2723
- const D = R(n, f);
2722
+ }, J = (f, C) => !t.disabled && (f && C && pe(o, f, C), !it(q(), i)), H = (f, C, S) => mo(f, l, y({}, a.mount ? o : Ce(C) ? i : He(f) ? { [f]: C } : C), S, C), G = (f) => Qr(D(a.mount ? o : i, f, t.shouldUnregister ? D(i, f, []) : [])), oe = (f, C, S = {}) => {
2723
+ const M = D(n, f);
2724
2724
  let A = C;
2725
- if (D) {
2726
- const V = D._f;
2727
- V && (!V.disabled && pe(o, f, xo(C, V)), A = fr(V.ref) && Re(C) ? "" : C, wo(V.ref) ? [...V.ref.options].forEach((B) => B.selected = A.includes(B.value)) : V.refs ? Kt(V.ref) ? V.refs.forEach((B) => {
2728
- (!B.defaultChecked || !B.disabled) && (Array.isArray(A) ? B.checked = !!A.find((K) => K === B.value) : B.checked = A === B.value || !!A);
2729
- }) : V.refs.forEach((B) => B.checked = B.value === A) : nn(V.ref) ? V.ref.value = "" : (V.ref.value = A, V.ref.type || c.state.next({
2725
+ if (M) {
2726
+ const R = M._f;
2727
+ R && (!R.disabled && pe(o, f, xo(C, R)), A = hr(R.ref) && Re(C) ? "" : C, wo(R.ref) ? [...R.ref.options].forEach((L) => L.selected = A.includes(L.value)) : R.refs ? Xt(R.ref) ? R.refs.forEach((L) => {
2728
+ (!L.defaultChecked || !L.disabled) && (Array.isArray(A) ? L.checked = !!A.find((K) => K === L.value) : L.checked = A === L.value || !!A);
2729
+ }) : R.refs.forEach((L) => L.checked = L.value === A) : nn(R.ref) ? R.ref.value = "" : (R.ref.value = A, R.ref.type || c.state.next({
2730
2730
  name: f,
2731
2731
  values: Oe(o)
2732
2732
  })));
2733
2733
  }
2734
- (S.shouldDirty || S.shouldTouch) && M(f, A, S.shouldTouch, S.shouldDirty, !0), S.shouldValidate && de(f);
2734
+ (S.shouldDirty || S.shouldTouch) && V(f, A, S.shouldTouch, S.shouldDirty, !0), S.shouldValidate && de(f);
2735
2735
  }, ge = (f, C, S) => {
2736
- for (const D in C) {
2737
- if (!C.hasOwnProperty(D))
2736
+ for (const M in C) {
2737
+ if (!C.hasOwnProperty(M))
2738
2738
  return;
2739
- const A = C[D], V = f + "." + D, B = R(n, V);
2740
- (l.array.has(f) || Se(A) || B && !B._f) && !bt(A) ? ge(V, A, S) : oe(V, A, S);
2739
+ const A = C[M], R = f + "." + M, L = D(n, R);
2740
+ (l.array.has(f) || Se(A) || L && !L._f) && !bt(A) ? ge(R, A, S) : oe(R, A, S);
2741
2741
  }
2742
2742
  }, me = (f, C, S = {}) => {
2743
- const D = R(n, f), A = l.array.has(f), V = Oe(C);
2744
- pe(o, f, V), A ? (c.array.next({
2743
+ const M = D(n, f), A = l.array.has(f), R = Oe(C);
2744
+ pe(o, f, R), A ? (c.array.next({
2745
2745
  name: f,
2746
2746
  values: Oe(o)
2747
- }), (b.isDirty || b.dirtyFields || h.isDirty || h.dirtyFields) && S.shouldDirty && c.state.next({
2747
+ }), (w.isDirty || w.dirtyFields || h.isDirty || h.dirtyFields) && S.shouldDirty && c.state.next({
2748
2748
  name: f,
2749
2749
  dirtyFields: Ft(i, o),
2750
- isDirty: J(f, V)
2751
- })) : D && !D._f && !Re(V) ? ge(f, V, S) : oe(f, V, S), hi(f, l) && c.state.next(q(x({}, r), { name: f })), c.state.next({
2750
+ isDirty: J(f, R)
2751
+ })) : M && !M._f && !Re(R) ? ge(f, R, S) : oe(f, R, S), hi(f, l) && c.state.next(Z(y({}, r), { name: f })), c.state.next({
2752
2752
  name: a.mount ? f : void 0,
2753
2753
  values: Oe(o)
2754
2754
  });
2755
2755
  }, we = (f) => _e(null, null, function* () {
2756
2756
  a.mount = !0;
2757
2757
  const C = f.target;
2758
- let S = C.name, D = !0;
2759
- const A = R(n, S), V = (W) => {
2760
- D = Number.isNaN(W) || bt(W) && isNaN(W.getTime()) || it(W, R(o, S, W));
2761
- }, B = ui(t.mode), K = ui(t.reValidateMode);
2758
+ let S = C.name, M = !0;
2759
+ const A = D(n, S), R = (W) => {
2760
+ M = Number.isNaN(W) || bt(W) && isNaN(W.getTime()) || it(W, D(o, S, W));
2761
+ }, L = ui(t.mode), K = ui(t.reValidateMode);
2762
2762
  if (A) {
2763
- let W, ae;
2764
- const Ve = C.type ? di(A._f) : ho(f), j = f.type === ur.BLUR || f.type === ur.FOCUS_OUT, Q = !nl(A._f) && !t.resolver && !R(r.errors, S) && !A._f.deps || sl(j, R(r.touchedFields, S), r.isSubmitted, K, B), L = hi(S, l, j);
2763
+ let W, le;
2764
+ const Ve = C.type ? di(A._f) : ho(f), j = f.type === fr.BLUR || f.type === fr.FOCUS_OUT, Q = !nl(A._f) && !t.resolver && !D(r.errors, S) && !A._f.deps || sl(j, D(r.touchedFields, S), r.isSubmitted, K, L), U = hi(S, l, j);
2765
2765
  pe(o, S, Ve), j ? (!C || !C.readOnly) && (A._f.onBlur && A._f.onBlur(f), _ && _(0)) : A._f.onChange && A._f.onChange(f);
2766
- const se = M(S, Ve, j), De = !Ne(se) || L;
2766
+ const se = V(S, Ve, j), Me = !Ne(se) || U;
2767
2767
  if (!j && c.state.next({
2768
2768
  name: S,
2769
2769
  type: f.type,
2770
2770
  values: Oe(o)
2771
2771
  }), Q)
2772
- return (b.isValid || h.isValid) && (t.mode === "onBlur" ? j && m() : j || m()), De && c.state.next(x({ name: S }, L ? {} : se));
2773
- if (!j && L && c.state.next(x({}, r)), t.resolver) {
2774
- const { errors: Te } = yield U([S]);
2775
- if (V(Ve), D) {
2772
+ return (w.isValid || h.isValid) && (t.mode === "onBlur" ? j && m() : j || m()), Me && c.state.next(y({ name: S }, U ? {} : se));
2773
+ if (!j && U && c.state.next(y({}, r)), t.resolver) {
2774
+ const { errors: Te } = yield B([S]);
2775
+ if (R(Ve), M) {
2776
2776
  const ie = pi(r.errors, n, S), $ = pi(Te, n, ie.name || S);
2777
- W = $.error, S = $.name, ae = Ne(Te);
2777
+ W = $.error, S = $.name, le = Ne(Te);
2778
2778
  }
2779
2779
  } else
2780
- y([S], !0), W = (yield gi(A, l.disabled, o, v, t.shouldUseNativeValidation))[S], y([S]), V(Ve), D && (W ? ae = !1 : (b.isValid || h.isValid) && (ae = yield le(n, !0)));
2781
- D && (A._f.deps && (!Array.isArray(A._f.deps) || A._f.deps.length > 0) && de(A._f.deps), Z(S, ae, W, se));
2780
+ x([S], !0), W = (yield gi(A, l.disabled, o, v, t.shouldUseNativeValidation))[S], x([S]), R(Ve), M && (W ? le = !1 : (w.isValid || h.isValid) && (le = yield ce(n, !0)));
2781
+ M && (A._f.deps && (!Array.isArray(A._f.deps) || A._f.deps.length > 0) && de(A._f.deps), z(S, le, W, se));
2782
2782
  }
2783
2783
  }), Be = (f, C) => {
2784
- if (R(r.errors, C) && f.focus)
2784
+ if (D(r.errors, C) && f.focus)
2785
2785
  return f.focus(), 1;
2786
- }, de = (S, ...D) => _e(null, [S, ...D], function* (f, C = {}) {
2787
- let A, V;
2788
- const B = Lt(f);
2786
+ }, de = (S, ...M) => _e(null, [S, ...M], function* (f, C = {}) {
2787
+ let A, R;
2788
+ const L = Ut(f);
2789
2789
  if (t.resolver) {
2790
- const K = yield ce(Ce(f) ? f : B);
2791
- A = Ne(K), V = f ? !B.some((W) => R(K, W)) : A;
2792
- } else f ? (V = (yield Promise.all(B.map((K) => _e(null, null, function* () {
2793
- const W = R(n, K);
2794
- return yield le(W && W._f ? { [K]: W } : W);
2795
- })))).every(Boolean), !(!V && !r.isValid) && m()) : V = A = yield le(n);
2796
- return c.state.next(q(x(x({}, !He(f) || (b.isValid || h.isValid) && A !== r.isValid ? {} : { name: f }), t.resolver || !f ? { isValid: A } : {}), {
2790
+ const K = yield ae(Ce(f) ? f : L);
2791
+ A = Ne(K), R = f ? !L.some((W) => D(K, W)) : A;
2792
+ } else f ? (R = (yield Promise.all(L.map((K) => _e(null, null, function* () {
2793
+ const W = D(n, K);
2794
+ return yield ce(W && W._f ? { [K]: W } : W);
2795
+ })))).every(Boolean), !(!R && !r.isValid) && m()) : R = A = yield ce(n);
2796
+ return c.state.next(Z(y(y({}, !He(f) || (w.isValid || h.isValid) && A !== r.isValid ? {} : { name: f }), t.resolver || !f ? { isValid: A } : {}), {
2797
2797
  errors: r.errors
2798
- })), C.shouldFocus && !V && Ut(n, Be, f ? B : l.mount), V;
2799
- }), z = (f, C) => {
2800
- let S = x({}, a.mount ? o : i);
2801
- return C && (S = bo(C.dirtyFields ? r.dirtyFields : r.touchedFields, S)), Ce(f) ? S : He(f) ? R(S, f) : f.map((D) => R(S, D));
2798
+ })), C.shouldFocus && !R && Ht(n, Be, f ? L : l.mount), R;
2799
+ }), q = (f, C) => {
2800
+ let S = y({}, a.mount ? o : i);
2801
+ return C && (S = bo(C.dirtyFields ? r.dirtyFields : r.touchedFields, S)), Ce(f) ? S : He(f) ? D(S, f) : f.map((M) => D(S, M));
2802
2802
  }, ue = (f, C) => ({
2803
- invalid: !!R((C || r).errors, f),
2804
- isDirty: !!R((C || r).dirtyFields, f),
2805
- error: R((C || r).errors, f),
2806
- isValidating: !!R(r.validatingFields, f),
2807
- isTouched: !!R((C || r).touchedFields, f)
2803
+ invalid: !!D((C || r).errors, f),
2804
+ isDirty: !!D((C || r).dirtyFields, f),
2805
+ error: D((C || r).errors, f),
2806
+ isValidating: !!D(r.validatingFields, f),
2807
+ isTouched: !!D((C || r).touchedFields, f)
2808
2808
  }), ye = (f) => {
2809
- f && Lt(f).forEach((C) => Ee(r.errors, C)), c.state.next({
2809
+ f && Ut(f).forEach((C) => Ee(r.errors, C)), c.state.next({
2810
2810
  errors: f ? r.errors : {}
2811
2811
  });
2812
2812
  }, ke = (f, C, S) => {
2813
- const D = (R(n, f, { _f: {} })._f || {}).ref, ae = R(r.errors, f) || {}, { ref: V, message: B, type: K } = ae, W = _t(ae, ["ref", "message", "type"]);
2814
- pe(r.errors, f, q(x(x({}, W), C), {
2815
- ref: D
2813
+ const M = (D(n, f, { _f: {} })._f || {}).ref, le = D(r.errors, f) || {}, { ref: R, message: L, type: K } = le, W = _t(le, ["ref", "message", "type"]);
2814
+ pe(r.errors, f, Z(y(y({}, W), C), {
2815
+ ref: M
2816
2816
  })), c.state.next({
2817
2817
  name: f,
2818
2818
  errors: r.errors,
2819
2819
  isValid: !1
2820
- }), S && S.shouldFocus && D && D.focus && D.focus();
2821
- }, Me = (f, C) => Ge(f) ? c.state.subscribe({
2820
+ }), S && S.shouldFocus && M && M.focus && M.focus();
2821
+ }, De = (f, C) => Ge(f) ? c.state.subscribe({
2822
2822
  next: (S) => "values" in S && f(H(void 0, C), S)
2823
2823
  }) : H(f, C, !0), N = (f) => c.state.subscribe({
2824
2824
  next: (C) => {
2825
- ol(f.name, C.name, f.exact) && il(C, f.formState || b, Et, f.reRenderRoot) && f.callback(q(x(x({
2826
- values: x({}, o)
2825
+ ol(f.name, C.name, f.exact) && il(C, f.formState || w, Et, f.reRenderRoot) && f.callback(Z(y(y({
2826
+ values: y({}, o)
2827
2827
  }, r), C), {
2828
2828
  defaultValues: i
2829
2829
  }));
2830
2830
  }
2831
- }).unsubscribe, ne = (f) => (a.mount = !0, h = x(x({}, h), f.formState), N(q(x({}, f), {
2831
+ }).unsubscribe, ne = (f) => (a.mount = !0, h = y(y({}, h), f.formState), N(Z(y({}, f), {
2832
2832
  formState: h
2833
2833
  }))), je = (f, C = {}) => {
2834
- for (const S of f ? Lt(f) : l.mount)
2834
+ for (const S of f ? Ut(f) : l.mount)
2835
2835
  l.mount.delete(S), l.array.delete(S), C.keepValue || (Ee(n, S), Ee(o, S)), !C.keepError && Ee(r.errors, S), !C.keepDirty && Ee(r.dirtyFields, S), !C.keepTouched && Ee(r.touchedFields, S), !C.keepIsValidating && Ee(r.validatingFields, S), !t.shouldUnregister && !C.keepDefaultValue && Ee(i, S);
2836
2836
  c.state.next({
2837
2837
  values: Oe(o)
2838
- }), c.state.next(x(x({}, r), C.keepDirty ? { isDirty: J() } : {})), !C.keepIsValid && m();
2838
+ }), c.state.next(y(y({}, r), C.keepDirty ? { isDirty: J() } : {})), !C.keepIsValid && m();
2839
2839
  }, Ke = ({ disabled: f, name: C }) => {
2840
2840
  (Ue(f) && a.mount || f || l.disabled.has(C)) && (f ? l.disabled.add(C) : l.disabled.delete(C));
2841
2841
  }, tt = (f, C = {}) => {
2842
- let S = R(n, f);
2843
- const D = Ue(C.disabled) || Ue(t.disabled);
2844
- return pe(n, f, q(x({}, S || {}), {
2845
- _f: x(q(x({}, S && S._f ? S._f : { ref: { name: f } }), {
2842
+ let S = D(n, f);
2843
+ const M = Ue(C.disabled) || Ue(t.disabled);
2844
+ return pe(n, f, Z(y({}, S || {}), {
2845
+ _f: y(Z(y({}, S && S._f ? S._f : { ref: { name: f } }), {
2846
2846
  name: f,
2847
2847
  mount: !0
2848
2848
  }), C)
2849
2849
  })), l.mount.add(f), S ? Ke({
2850
2850
  disabled: Ue(C.disabled) ? C.disabled : t.disabled,
2851
2851
  name: f
2852
- }) : O(f, !0, C.value), q(x(x({}, D ? { disabled: C.disabled || t.disabled } : {}), t.progressive ? {
2852
+ }) : F(f, !0, C.value), Z(y(y({}, M ? { disabled: C.disabled || t.disabled } : {}), t.progressive ? {
2853
2853
  required: !!C.required,
2854
- min: Dt(C.min),
2855
- max: Dt(C.max),
2856
- minLength: Dt(C.minLength),
2857
- maxLength: Dt(C.maxLength),
2858
- pattern: Dt(C.pattern)
2854
+ min: Mt(C.min),
2855
+ max: Mt(C.max),
2856
+ minLength: Mt(C.minLength),
2857
+ maxLength: Mt(C.maxLength),
2858
+ pattern: Mt(C.pattern)
2859
2859
  } : {}), {
2860
2860
  name: f,
2861
2861
  onChange: we,
2862
2862
  onBlur: we,
2863
2863
  ref: (A) => {
2864
2864
  if (A) {
2865
- tt(f, C), S = R(n, f);
2866
- const V = Ce(A.value) && A.querySelectorAll && A.querySelectorAll("input,select,textarea")[0] || A, B = Xa(V), K = S._f.refs || [];
2867
- if (B ? K.find((W) => W === V) : V === S._f.ref)
2865
+ tt(f, C), S = D(n, f);
2866
+ const R = Ce(A.value) && A.querySelectorAll && A.querySelectorAll("input,select,textarea")[0] || A, L = Xa(R), K = S._f.refs || [];
2867
+ if (L ? K.find((W) => W === R) : R === S._f.ref)
2868
2868
  return;
2869
2869
  pe(n, f, {
2870
- _f: x(x({}, S._f), B ? {
2870
+ _f: y(y({}, S._f), L ? {
2871
2871
  refs: [
2872
- ...K.filter(wr),
2873
- V,
2874
- ...Array.isArray(R(i, f)) ? [{}] : []
2872
+ ...K.filter(Cr),
2873
+ R,
2874
+ ...Array.isArray(D(i, f)) ? [{}] : []
2875
2875
  ],
2876
- ref: { type: V.type, name: f }
2877
- } : { ref: V })
2878
- }), O(f, !1, void 0, V);
2876
+ ref: { type: R.type, name: f }
2877
+ } : { ref: R })
2878
+ }), F(f, !1, void 0, R);
2879
2879
  } else
2880
- S = R(n, f, {}), S._f && (S._f.mount = !1), (t.shouldUnregister || C.shouldUnregister) && !(po(l.array, f) && a.action) && l.unMount.add(f);
2880
+ S = D(n, f, {}), S._f && (S._f.mount = !1), (t.shouldUnregister || C.shouldUnregister) && !(po(l.array, f) && a.action) && l.unMount.add(f);
2881
2881
  }
2882
2882
  });
2883
- }, ze = () => t.shouldFocusError && Ut(n, Be, l.mount), ft = (f) => {
2884
- Ue(f) && (c.state.next({ disabled: f }), Ut(n, (C, S) => {
2885
- const D = R(n, S);
2886
- D && (C.disabled = D._f.disabled || f, Array.isArray(D._f.refs) && D._f.refs.forEach((A) => {
2887
- A.disabled = D._f.disabled || f;
2883
+ }, ze = () => t.shouldFocusError && Ht(n, Be, l.mount), ft = (f) => {
2884
+ Ue(f) && (c.state.next({ disabled: f }), Ht(n, (C, S) => {
2885
+ const M = D(n, S);
2886
+ M && (C.disabled = M._f.disabled || f, Array.isArray(M._f.refs) && M._f.refs.forEach((A) => {
2887
+ A.disabled = M._f.disabled || f;
2888
2888
  }));
2889
2889
  }, 0, !1));
2890
2890
  }, at = (f, C) => (S) => _e(null, null, function* () {
2891
- let D;
2891
+ let M;
2892
2892
  S && (S.preventDefault && S.preventDefault(), S.persist && S.persist());
2893
2893
  let A = Oe(o);
2894
2894
  if (c.state.next({
2895
2895
  isSubmitting: !0
2896
2896
  }), t.resolver) {
2897
- const { errors: V, values: B } = yield U();
2898
- r.errors = V, A = Oe(B);
2897
+ const { errors: R, values: L } = yield B();
2898
+ r.errors = R, A = Oe(L);
2899
2899
  } else
2900
- yield le(n);
2900
+ yield ce(n);
2901
2901
  if (l.disabled.size)
2902
- for (const V of l.disabled)
2903
- Ee(A, V);
2902
+ for (const R of l.disabled)
2903
+ Ee(A, R);
2904
2904
  if (Ee(r.errors, "root"), Ne(r.errors)) {
2905
2905
  c.state.next({
2906
2906
  errors: {}
2907
2907
  });
2908
2908
  try {
2909
2909
  yield f(A, S);
2910
- } catch (V) {
2911
- D = V;
2910
+ } catch (R) {
2911
+ M = R;
2912
2912
  }
2913
2913
  } else
2914
- C && (yield C(x({}, r.errors), S)), ze(), setTimeout(ze);
2914
+ C && (yield C(y({}, r.errors), S)), ze(), setTimeout(ze);
2915
2915
  if (c.state.next({
2916
2916
  isSubmitted: !0,
2917
2917
  isSubmitting: !1,
2918
- isSubmitSuccessful: Ne(r.errors) && !D,
2918
+ isSubmitSuccessful: Ne(r.errors) && !M,
2919
2919
  submitCount: r.submitCount + 1,
2920
2920
  errors: r.errors
2921
- }), D)
2922
- throw D;
2921
+ }), M)
2922
+ throw M;
2923
2923
  }), xt = (f, C = {}) => {
2924
- R(n, f) && (Ce(C.defaultValue) ? me(f, Oe(R(i, f))) : (me(f, C.defaultValue), pe(i, f, Oe(C.defaultValue))), C.keepTouched || Ee(r.touchedFields, f), C.keepDirty || (Ee(r.dirtyFields, f), r.isDirty = C.defaultValue ? J(f, Oe(R(i, f))) : J()), C.keepError || (Ee(r.errors, f), b.isValid && m()), c.state.next(x({}, r)));
2924
+ D(n, f) && (Ce(C.defaultValue) ? me(f, Oe(D(i, f))) : (me(f, C.defaultValue), pe(i, f, Oe(C.defaultValue))), C.keepTouched || Ee(r.touchedFields, f), C.keepDirty || (Ee(r.dirtyFields, f), r.isDirty = C.defaultValue ? J(f, Oe(D(i, f))) : J()), C.keepError || (Ee(r.errors, f), w.isValid && m()), c.state.next(y({}, r)));
2925
2925
  }, ht = (f, C = {}) => {
2926
- const S = f ? Oe(f) : i, D = Oe(S), A = Ne(f), V = A ? i : D;
2926
+ const S = f ? Oe(f) : i, M = Oe(S), A = Ne(f), R = A ? i : M;
2927
2927
  if (C.keepDefaultValues || (i = S), !C.keepValues) {
2928
2928
  if (C.keepDirtyValues) {
2929
- const B = /* @__PURE__ */ new Set([
2929
+ const L = /* @__PURE__ */ new Set([
2930
2930
  ...l.mount,
2931
2931
  ...Object.keys(Ft(i, o))
2932
2932
  ]);
2933
- for (const K of Array.from(B))
2934
- R(r.dirtyFields, K) ? pe(V, K, R(o, K)) : me(K, R(V, K));
2933
+ for (const K of Array.from(L))
2934
+ D(r.dirtyFields, K) ? pe(R, K, D(o, K)) : me(K, D(R, K));
2935
2935
  } else {
2936
2936
  if (Jr && Ce(f))
2937
- for (const B of l.mount) {
2938
- const K = R(n, B);
2937
+ for (const L of l.mount) {
2938
+ const K = D(n, L);
2939
2939
  if (K && K._f) {
2940
2940
  const W = Array.isArray(K._f.refs) ? K._f.refs[0] : K._f.ref;
2941
- if (fr(W)) {
2942
- const ae = W.closest("form");
2943
- if (ae) {
2944
- ae.reset();
2941
+ if (hr(W)) {
2942
+ const le = W.closest("form");
2943
+ if (le) {
2944
+ le.reset();
2945
2945
  break;
2946
2946
  }
2947
2947
  }
2948
2948
  }
2949
2949
  }
2950
2950
  if (C.keepFieldsRef)
2951
- for (const B of l.mount)
2952
- me(B, R(V, B));
2951
+ for (const L of l.mount)
2952
+ me(L, D(R, L));
2953
2953
  else
2954
2954
  n = {};
2955
2955
  }
2956
- o = t.shouldUnregister ? C.keepDefaultValues ? Oe(i) : {} : Oe(V), c.array.next({
2957
- values: x({}, V)
2956
+ o = t.shouldUnregister ? C.keepDefaultValues ? Oe(i) : {} : Oe(R), c.array.next({
2957
+ values: y({}, R)
2958
2958
  }), c.state.next({
2959
- values: x({}, V)
2959
+ values: y({}, R)
2960
2960
  });
2961
2961
  }
2962
2962
  l = {
@@ -2967,7 +2967,7 @@ function dl(e = {}) {
2967
2967
  watch: /* @__PURE__ */ new Set(),
2968
2968
  watchAll: !1,
2969
2969
  focus: ""
2970
- }, a.mount = !b.isValid || !!C.keepIsValid || !!C.keepDirtyValues, a.watch = !!t.shouldUnregister, c.state.next({
2970
+ }, a.mount = !w.isValid || !!C.keepIsValid || !!C.keepDirtyValues, a.watch = !!t.shouldUnregister, c.state.next({
2971
2971
  submitCount: C.keepSubmitCount ? r.submitCount : 0,
2972
2972
  isDirty: A ? !1 : C.keepDirty ? r.isDirty : !!(C.keepDefaultValues && !it(f, i)),
2973
2973
  isSubmitted: C.keepIsSubmitted ? r.isSubmitted : !1,
@@ -2979,13 +2979,13 @@ function dl(e = {}) {
2979
2979
  defaultValues: i
2980
2980
  });
2981
2981
  }, lt = (f, C) => ht(Ge(f) ? f(o) : f, C), pt = (f, C = {}) => {
2982
- const S = R(n, f), D = S && S._f;
2983
- if (D) {
2984
- const A = D.refs ? D.refs[0] : D.ref;
2982
+ const S = D(n, f), M = S && S._f;
2983
+ if (M) {
2984
+ const A = M.refs ? M.refs[0] : M.ref;
2985
2985
  A.focus && (A.focus(), C.shouldSelect && Ge(A.select) && A.select());
2986
2986
  }
2987
2987
  }, Et = (f) => {
2988
- r = x(x({}, r), f);
2988
+ r = y(y({}, r), f);
2989
2989
  }, Xe = {
2990
2990
  control: {
2991
2991
  register: tt,
@@ -2994,12 +2994,12 @@ function dl(e = {}) {
2994
2994
  handleSubmit: at,
2995
2995
  setError: ke,
2996
2996
  _subscribe: N,
2997
- _runSchema: U,
2997
+ _runSchema: B,
2998
2998
  _focusError: ze,
2999
2999
  _getWatch: H,
3000
3000
  _getDirty: J,
3001
3001
  _setValid: m,
3002
- _setFieldArray: F,
3002
+ _setFieldArray: T,
3003
3003
  _setDisabledField: Ke,
3004
3004
  _setErrors: k,
3005
3005
  _getFieldArray: G,
@@ -3012,7 +3012,7 @@ function dl(e = {}) {
3012
3012
  _removeUnmounted: re,
3013
3013
  _disableForm: ft,
3014
3014
  _subjects: c,
3015
- _proxyFormState: b,
3015
+ _proxyFormState: w,
3016
3016
  get _fields() {
3017
3017
  return n;
3018
3018
  },
@@ -3041,16 +3041,16 @@ function dl(e = {}) {
3041
3041
  return t;
3042
3042
  },
3043
3043
  set _options(f) {
3044
- t = x(x({}, t), f);
3044
+ t = y(y({}, t), f);
3045
3045
  }
3046
3046
  },
3047
3047
  subscribe: ne,
3048
3048
  trigger: de,
3049
3049
  register: tt,
3050
3050
  handleSubmit: at,
3051
- watch: Me,
3051
+ watch: De,
3052
3052
  setValue: me,
3053
- getValues: z,
3053
+ getValues: q,
3054
3054
  reset: lt,
3055
3055
  resetField: xt,
3056
3056
  clearErrors: ye,
@@ -3059,7 +3059,7 @@ function dl(e = {}) {
3059
3059
  setFocus: pt,
3060
3060
  getFieldState: ue
3061
3061
  };
3062
- return q(x({}, Xe), {
3062
+ return Z(y({}, Xe), {
3063
3063
  formControl: Xe
3064
3064
  });
3065
3065
  }
@@ -3083,12 +3083,12 @@ function ul(e = {}) {
3083
3083
  });
3084
3084
  if (!t.current)
3085
3085
  if (e.formControl)
3086
- t.current = q(x({}, e.formControl), {
3086
+ t.current = Z(y({}, e.formControl), {
3087
3087
  formState: n
3088
3088
  }), e.defaultValues && !Ge(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
3089
3089
  else {
3090
3090
  const a = dl(e), { formControl: l } = a, _ = _t(a, ["formControl"]);
3091
- t.current = q(x({}, _), {
3091
+ t.current = Z(y({}, _), {
3092
3092
  formState: n
3093
3093
  });
3094
3094
  }
@@ -3096,10 +3096,10 @@ function ul(e = {}) {
3096
3096
  return o._options = e, rn(() => {
3097
3097
  const l = o._subscribe({
3098
3098
  formState: o._proxyFormState,
3099
- callback: () => i(x({}, o._formState)),
3099
+ callback: () => i(y({}, o._formState)),
3100
3100
  reRenderRoot: !0
3101
3101
  });
3102
- return i((_) => q(x({}, _), {
3102
+ return i((_) => Z(y({}, _), {
3103
3103
  isReady: !0
3104
3104
  })), o._formState.isReady = !0, l;
3105
3105
  }, [o]), te.useEffect(() => o._disableForm(e.disabled), [o, e.disabled]), te.useEffect(() => {
@@ -3118,11 +3118,11 @@ function ul(e = {}) {
3118
3118
  });
3119
3119
  }
3120
3120
  }, [o, n.isDirty]), te.useEffect(() => {
3121
- e.values && !it(e.values, r.current) ? (o._reset(e.values, x({
3121
+ e.values && !it(e.values, r.current) ? (o._reset(e.values, y({
3122
3122
  keepFieldsRef: !0
3123
- }, o._options.resetOptions)), r.current = e.values, i((l) => x({}, l))) : o._resetDefaultValues();
3123
+ }, o._options.resetOptions)), r.current = e.values, i((l) => y({}, l))) : o._resetDefaultValues();
3124
3124
  }, [o, e.values]), te.useEffect(() => {
3125
- o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(x({}, o._formState))), o._removeUnmounted();
3125
+ o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(y({}, o._formState))), o._removeUnmounted();
3126
3126
  }), t.current.formState = go(n, o), t.current;
3127
3127
  }
3128
3128
  const Rt = (e, t) => {
@@ -3148,7 +3148,7 @@ const Rt = (e, t) => {
3148
3148
  transition: ".2s",
3149
3149
  flexShrink: 0
3150
3150
  },
3151
- children: t ? /* @__PURE__ */ s(Ae, x({}, t)) : /* @__PURE__ */ s(Ae, { imageId: "chevronDown" })
3151
+ children: t ? /* @__PURE__ */ s(Ae, y({}, t)) : /* @__PURE__ */ s(Ae, { imageId: "chevronDown" })
3152
3152
  }
3153
3153
  ), hl = ({
3154
3154
  isChosen: e,
@@ -3165,8 +3165,8 @@ const Rt = (e, t) => {
3165
3165
  style: {
3166
3166
  padding: "5px 8px",
3167
3167
  background: ((_, g) => {
3168
- var b, h, c, v;
3169
- if (!_ && !g) return (b = X(t.layout.backgroundColor)) != null ? b : "transparent";
3168
+ var w, h, c, v;
3169
+ if (!_ && !g) return (w = X(t.layout.backgroundColor)) != null ? w : "transparent";
3170
3170
  if (!_ && g) return (h = X(t.layoutSelected.backgroundColor)) != null ? h : "transparent";
3171
3171
  if (_ && !g) return (c = X(t.layout.highlightColor)) != null ? c : "#F4F4F4";
3172
3172
  if (_ && g) return (v = X(t.layoutSelected.highlightColor)) != null ? v : "#F4F4F4";
@@ -3184,7 +3184,7 @@ const Rt = (e, t) => {
3184
3184
  onMouseEnter: i,
3185
3185
  onMouseLeave: o,
3186
3186
  children: [
3187
- /* @__PURE__ */ s(be, q(x({}, t.layout.title), { text: t.label })),
3187
+ /* @__PURE__ */ s(be, Z(y({}, t.layout.title), { text: t.label })),
3188
3188
  /* @__PURE__ */ s(
3189
3189
  "div",
3190
3190
  {
@@ -3192,7 +3192,7 @@ const Rt = (e, t) => {
3192
3192
  display: "flex",
3193
3193
  flexShrink: 0
3194
3194
  },
3195
- children: /* @__PURE__ */ s(Ae, x({}, a))
3195
+ children: /* @__PURE__ */ s(Ae, y({}, a))
3196
3196
  }
3197
3197
  )
3198
3198
  ]
@@ -3210,41 +3210,41 @@ const Rt = (e, t) => {
3210
3210
  closeMenuOnSelect: l = !0,
3211
3211
  onBlur: _,
3212
3212
  parentElementRef: g,
3213
- controlLayout: b,
3213
+ controlLayout: w,
3214
3214
  pickerLayout: h
3215
3215
  }) => {
3216
3216
  var H, G, oe, ge, me, we, Be, de;
3217
- const [c, v] = Fe(!1), [p, m] = Fe(i), [y, F] = Fe("down"), [I, k] = Fe(null), O = $e(null), M = $e(null);
3217
+ const [c, v] = Fe(!1), [p, m] = Fe(i), [x, T] = Fe("down"), [I, k] = Fe(null), F = $e(null), V = $e(null);
3218
3218
  dt(() => {
3219
- var Me, N, ne;
3219
+ var De, N, ne;
3220
3220
  if (!c) return;
3221
- const z = (Me = O.current) == null ? void 0 : Me.getBoundingClientRect(), ue = (N = M.current) == null ? void 0 : N.getBoundingClientRect(), ye = (ne = g.current) == null ? void 0 : ne.getBoundingClientRect();
3222
- if (!z || !ue || !ye) return;
3223
- const ke = z.bottom + ue.height < ye.bottom;
3224
- F(ke ? "down" : "up");
3221
+ const q = (De = F.current) == null ? void 0 : De.getBoundingClientRect(), ue = (N = V.current) == null ? void 0 : N.getBoundingClientRect(), ye = (ne = g.current) == null ? void 0 : ne.getBoundingClientRect();
3222
+ if (!q || !ue || !ye) return;
3223
+ const ke = q.bottom + ue.height < ye.bottom;
3224
+ T(ke ? "down" : "up");
3225
3225
  }, [c]), We(() => {
3226
3226
  o(p);
3227
3227
  }, [p]);
3228
- const Z = (z) => (ue) => {
3228
+ const z = (q) => (ue) => {
3229
3229
  var ye;
3230
- ue.stopPropagation(), (ue.type === "touchend" || ((ye = ue.nativeEvent) == null ? void 0 : ye.pointerType) === "touch") && k(null), l && v(!1), m((ke) => r ? ke.some((N) => N.value === z.value) ? ke.filter((N) => N.value !== z.value) : [...ke, z] : [z]);
3231
- }, U = () => {
3230
+ ue.stopPropagation(), (ue.type === "touchend" || ((ye = ue.nativeEvent) == null ? void 0 : ye.pointerType) === "touch") && k(null), l && v(!1), m((ke) => r ? ke.some((N) => N.value === q.value) ? ke.filter((N) => N.value !== q.value) : [...ke, q] : [q]);
3231
+ }, B = () => {
3232
3232
  _ && _(), v(!1);
3233
- }, ce = (z) => (ue) => {
3234
- ue.stopPropagation(), m((ye) => ye.filter((ke) => ke.value !== z.value));
3235
- }, le = (z) => {
3236
- z.stopPropagation(), m([]);
3237
- }, re = (H = X(b == null ? void 0 : b.borderColor)) != null ? H : "#D9D9D9", J = (G = X(b == null ? void 0 : b.highlightBorderColor)) != null ? G : "#7E57C5";
3238
- return /* @__PURE__ */ s("div", { "data-ui": "gui-custom-select", ref: O, children: /* @__PURE__ */ s(
3233
+ }, ae = (q) => (ue) => {
3234
+ ue.stopPropagation(), m((ye) => ye.filter((ke) => ke.value !== q.value));
3235
+ }, ce = (q) => {
3236
+ q.stopPropagation(), m([]);
3237
+ }, re = (H = X(w == null ? void 0 : w.borderColor)) != null ? H : "#D9D9D9", J = (G = X(w == null ? void 0 : w.highlightBorderColor)) != null ? G : "#7E57C5";
3238
+ return /* @__PURE__ */ s("div", { "data-ui": "gui-custom-select", ref: F, children: /* @__PURE__ */ s(
3239
3239
  "div",
3240
3240
  {
3241
3241
  "data-ui": "gui-select-name-" + e,
3242
3242
  style: {
3243
- backgroundColor: X(b == null ? void 0 : b.backgroundColor),
3243
+ backgroundColor: X(w == null ? void 0 : w.backgroundColor),
3244
3244
  borderStyle: "solid",
3245
3245
  borderColor: c ? J : re,
3246
- borderWidth: (oe = b == null ? void 0 : b.borderWidth) != null ? oe : 1,
3247
- borderRadius: (ge = b == null ? void 0 : b.cornerRadius) != null ? ge : 8,
3246
+ borderWidth: (oe = w == null ? void 0 : w.borderWidth) != null ? oe : 1,
3247
+ borderRadius: (ge = w == null ? void 0 : w.cornerRadius) != null ? ge : 8,
3248
3248
  minHeight: "41px",
3249
3249
  position: "relative",
3250
3250
  zIndex: "auto",
@@ -3255,7 +3255,7 @@ const Rt = (e, t) => {
3255
3255
  gap: 10
3256
3256
  },
3257
3257
  tabIndex: 0,
3258
- onBlur: U,
3258
+ onBlur: B,
3259
3259
  onClick: () => v(!c),
3260
3260
  children: [
3261
3261
  /* @__PURE__ */ s(
@@ -3281,10 +3281,10 @@ const Rt = (e, t) => {
3281
3281
  children: a
3282
3282
  }
3283
3283
  ),
3284
- p.map((z) => {
3285
- var ue, ye, ke, Me, N;
3284
+ p.map((q) => {
3285
+ var ue, ye, ke, De, N;
3286
3286
  if (r) {
3287
- const ne = b == null ? void 0 : b.chip;
3287
+ const ne = w == null ? void 0 : w.chip;
3288
3288
  return /* @__PURE__ */ s(
3289
3289
  "div",
3290
3290
  {
@@ -3300,9 +3300,9 @@ const Rt = (e, t) => {
3300
3300
  children: [
3301
3301
  /* @__PURE__ */ s(
3302
3302
  be,
3303
- q(x({}, ne == null ? void 0 : ne.title), {
3304
- fontSize: (Me = (ke = ne == null ? void 0 : ne.title) == null ? void 0 : ke.fontSize) != null ? Me : 13,
3305
- text: z.label
3303
+ Z(y({}, ne == null ? void 0 : ne.title), {
3304
+ fontSize: (De = (ke = ne == null ? void 0 : ne.title) == null ? void 0 : ke.fontSize) != null ? De : 13,
3305
+ text: q.label
3306
3306
  })
3307
3307
  ),
3308
3308
  /* @__PURE__ */ s(
@@ -3315,16 +3315,16 @@ const Rt = (e, t) => {
3315
3315
  width: "16px",
3316
3316
  height: "16px"
3317
3317
  },
3318
- onClick: ce(z),
3319
- children: ne != null && ne.removeImage ? /* @__PURE__ */ s(Ae, x({}, ne.removeImage)) : /* @__PURE__ */ s(Ae, { imageId: "cross" })
3318
+ onClick: ae(q),
3319
+ children: ne != null && ne.removeImage ? /* @__PURE__ */ s(Ae, y({}, ne.removeImage)) : /* @__PURE__ */ s(Ae, { imageId: "cross" })
3320
3320
  }
3321
3321
  )
3322
3322
  ]
3323
3323
  },
3324
- z.value
3324
+ q.value
3325
3325
  );
3326
3326
  } else {
3327
- const ne = b == null ? void 0 : b.title;
3327
+ const ne = w == null ? void 0 : w.title;
3328
3328
  return /* @__PURE__ */ s(
3329
3329
  "div",
3330
3330
  {
@@ -3332,9 +3332,9 @@ const Rt = (e, t) => {
3332
3332
  display: "flex",
3333
3333
  userSelect: "none"
3334
3334
  },
3335
- children: /* @__PURE__ */ s(be, q(x({}, ne), { fontSize: (N = ne == null ? void 0 : ne.fontSize) != null ? N : 13, text: z.label }))
3335
+ children: /* @__PURE__ */ s(be, Z(y({}, ne), { fontSize: (N = ne == null ? void 0 : ne.fontSize) != null ? N : 13, text: q.label }))
3336
3336
  },
3337
- z.value
3337
+ q.value
3338
3338
  );
3339
3339
  }
3340
3340
  })
@@ -3352,8 +3352,8 @@ const Rt = (e, t) => {
3352
3352
  height: "16px",
3353
3353
  zIndex: 1
3354
3354
  },
3355
- onClick: le,
3356
- children: b != null && b.clearButton ? /* @__PURE__ */ s(Ae, x({}, b.clearButton)) : /* @__PURE__ */ s(Ae, { imageId: "cross" })
3355
+ onClick: ce,
3356
+ children: w != null && w.clearButton ? /* @__PURE__ */ s(Ae, y({}, w.clearButton)) : /* @__PURE__ */ s(Ae, { imageId: "cross" })
3357
3357
  }
3358
3358
  ) : null,
3359
3359
  n ? /* @__PURE__ */ s(
@@ -3366,15 +3366,15 @@ const Rt = (e, t) => {
3366
3366
  }
3367
3367
  }
3368
3368
  ) : null,
3369
- /* @__PURE__ */ s(fl, { isOpen: c, image: b == null ? void 0 : b.expandButton }),
3369
+ /* @__PURE__ */ s(fl, { isOpen: c, image: w == null ? void 0 : w.expandButton }),
3370
3370
  c && /* @__PURE__ */ s(
3371
3371
  "div",
3372
3372
  {
3373
3373
  "data-ui": "gui-custom-select-dropdown-menu",
3374
- ref: M,
3375
- style: q(x({
3374
+ ref: V,
3375
+ style: Z(y({
3376
3376
  position: "absolute"
3377
- }, y === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
3377
+ }, x === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
3378
3378
  left: 0,
3379
3379
  border: "1px solid #e8e8e8",
3380
3380
  width: "100%",
@@ -3393,20 +3393,20 @@ const Rt = (e, t) => {
3393
3393
  gap: "2px",
3394
3394
  cursor: "default"
3395
3395
  }),
3396
- onClick: (z) => z.stopPropagation(),
3397
- children: t.map((z) => {
3398
- const ue = p.some((ye) => ye.value === z.value);
3396
+ onClick: (q) => q.stopPropagation(),
3397
+ children: t.map((q) => {
3398
+ const ue = p.some((ye) => ye.value === q.value);
3399
3399
  return /* @__PURE__ */ s(
3400
3400
  hl,
3401
3401
  {
3402
3402
  isChosen: ue,
3403
- option: z,
3404
- onOptionClickCallback: Z,
3405
- isHovered: I === z.value,
3406
- onHover: () => k(z.value),
3403
+ option: q,
3404
+ onOptionClickCallback: z,
3405
+ isHovered: I === q.value,
3406
+ onHover: () => k(q.value),
3407
3407
  onHoverEnd: () => k(null)
3408
3408
  },
3409
- z.label
3409
+ q.label
3410
3410
  );
3411
3411
  })
3412
3412
  }
@@ -3436,7 +3436,7 @@ const Rt = (e, t) => {
3436
3436
  boxSizing: "border-box"
3437
3437
  },
3438
3438
  children: [
3439
- t.title && /* @__PURE__ */ s(be, q(x({}, t.title), { text: r.text, htmlFor: o })),
3439
+ t.title && /* @__PURE__ */ s(be, Z(y({}, t.title), { text: r.text, htmlFor: o })),
3440
3440
  /* @__PURE__ */ s(
3441
3441
  vo,
3442
3442
  {
@@ -3495,7 +3495,7 @@ const Rt = (e, t) => {
3495
3495
  boxSizing: "border-box"
3496
3496
  },
3497
3497
  children: [
3498
- t.title && /* @__PURE__ */ s(be, q(x({}, t.title), { text: r.text, htmlFor: o })),
3498
+ t.title && /* @__PURE__ */ s(be, Z(y({}, t.title), { text: r.text, htmlFor: o })),
3499
3499
  /* @__PURE__ */ s(
3500
3500
  vo,
3501
3501
  {
@@ -3519,7 +3519,7 @@ const Rt = (e, t) => {
3519
3519
  closeMenuOnSelect: !1,
3520
3520
  value: l,
3521
3521
  onChange: (_) => {
3522
- const g = _.map((b) => b.value);
3522
+ const g = _.map((w) => w.value);
3523
3523
  a.onChange(g);
3524
3524
  },
3525
3525
  parentElementRef: n,
@@ -3550,39 +3550,39 @@ const Rt = (e, t) => {
3550
3550
  register: n,
3551
3551
  watch: i
3552
3552
  }) => {
3553
- const [o, a] = Fe(!1), l = ko(), _ = String(r.id), b = i(_) === String(e.id), h = t.option, c = t.optionSelected, v = {
3553
+ const [o, a] = Fe(!1), l = ko(), _ = String(r.id), w = i(_) === String(e.id), h = t.option, c = t.optionSelected, v = {
3554
3554
  backgroundColor: X(c.backgroundColor),
3555
3555
  borderRadius: c.cornerRadius
3556
3556
  }, p = {
3557
3557
  backgroundColor: X(h.backgroundColor),
3558
3558
  borderRadius: h.cornerRadius
3559
- }, m = o && l ? { filter: `drop-shadow(0 0 1px ${Gt})` } : {};
3559
+ }, m = o && l ? { filter: `drop-shadow(0 0 1px ${Yt})` } : {};
3560
3560
  return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
3561
3561
  "label",
3562
3562
  {
3563
- style: x({
3563
+ style: y({
3564
3564
  display: "flex",
3565
3565
  alignItems: "center",
3566
3566
  alignContent: "center",
3567
3567
  gap: 8,
3568
3568
  cursor: "pointer"
3569
- }, b ? v : p),
3569
+ }, w ? v : p),
3570
3570
  children: [
3571
3571
  /* @__PURE__ */ s(
3572
3572
  "div",
3573
3573
  {
3574
- style: x({
3574
+ style: y({
3575
3575
  display: "flex",
3576
3576
  alignItems: "center",
3577
3577
  alignContent: "center"
3578
3578
  }, m),
3579
- children: /* @__PURE__ */ s(Ae, x({}, b ? c.image : h.image))
3579
+ children: /* @__PURE__ */ s(Ae, y({}, w ? c.image : h.image))
3580
3580
  }
3581
3581
  ),
3582
- /* @__PURE__ */ s(be, q(x({}, b ? c.title : h.title), { text: e.text })),
3582
+ /* @__PURE__ */ s(be, Z(y({}, w ? c.title : h.title), { text: e.text })),
3583
3583
  /* @__PURE__ */ s(
3584
3584
  "input",
3585
- q(x({
3585
+ Z(y({
3586
3586
  style: {
3587
3587
  width: 1,
3588
3588
  height: 1,
@@ -3631,7 +3631,7 @@ const Rt = (e, t) => {
3631
3631
  padding: 0,
3632
3632
  marginBottom: "16px"
3633
3633
  },
3634
- children: /* @__PURE__ */ s(be, q(x({}, e.title), { text: n.text }))
3634
+ children: /* @__PURE__ */ s(be, Z(y({}, e.title), { text: n.text }))
3635
3635
  }
3636
3636
  ),
3637
3637
  n.options.map((i) => /* @__PURE__ */ s(
@@ -3654,7 +3654,7 @@ const Rt = (e, t) => {
3654
3654
  register: n,
3655
3655
  watch: i
3656
3656
  }) => {
3657
- const [o, a] = Fe(!1), l = ko(), _ = String(r.id), b = i(_) === String(e.id), h = t.option, c = t.optionSelected, v = {
3657
+ const [o, a] = Fe(!1), l = ko(), _ = String(r.id), w = i(_) === String(e.id), h = t.option, c = t.optionSelected, v = {
3658
3658
  borderRadius: h.cornerRadius,
3659
3659
  background: X(h.backgroundColor),
3660
3660
  borderColor: X(h.borderColor),
@@ -3664,7 +3664,7 @@ const Rt = (e, t) => {
3664
3664
  background: X(c.backgroundColor),
3665
3665
  borderColor: X(c.borderColor),
3666
3666
  borderWidth: c.borderWidth
3667
- }, m = o && l ? { outline: `2px solid ${Gt}` } : {};
3667
+ }, m = o && l ? { outline: `2px solid ${Yt}` } : {};
3668
3668
  return /* @__PURE__ */ s(
3669
3669
  "div",
3670
3670
  {
@@ -3675,17 +3675,17 @@ const Rt = (e, t) => {
3675
3675
  children: /* @__PURE__ */ s(
3676
3676
  "label",
3677
3677
  {
3678
- style: x(x({
3678
+ style: y(y({
3679
3679
  width: "100%",
3680
3680
  padding: "8px 16px",
3681
3681
  cursor: "pointer",
3682
3682
  borderStyle: "solid",
3683
3683
  position: "relative"
3684
- }, b ? p : v), m),
3684
+ }, w ? p : v), m),
3685
3685
  children: [
3686
3686
  /* @__PURE__ */ s(
3687
3687
  "input",
3688
- q(x({
3688
+ Z(y({
3689
3689
  style: {
3690
3690
  width: 1,
3691
3691
  height: 1,
@@ -3706,7 +3706,7 @@ const Rt = (e, t) => {
3706
3706
  onBlur: () => a(!1)
3707
3707
  })
3708
3708
  ),
3709
- /* @__PURE__ */ s(be, q(x({}, b ? c.title : h.title), { text: e.text }))
3709
+ /* @__PURE__ */ s(be, Z(y({}, w ? c.title : h.title), { text: e.text }))
3710
3710
  ]
3711
3711
  }
3712
3712
  )
@@ -3735,7 +3735,7 @@ const Rt = (e, t) => {
3735
3735
  padding: 0,
3736
3736
  marginBottom: "16px"
3737
3737
  },
3738
- children: /* @__PURE__ */ s(be, q(x({}, e.title), { text: n.text }))
3738
+ children: /* @__PURE__ */ s(be, Z(y({}, e.title), { text: n.text }))
3739
3739
  }
3740
3740
  ),
3741
3741
  /* @__PURE__ */ s("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: n.options.map((i) => /* @__PURE__ */ s(
@@ -3760,7 +3760,7 @@ const Rt = (e, t) => {
3760
3760
  validationBorderColor: o,
3761
3761
  validationBorderWidth: a
3762
3762
  }) => {
3763
- const l = x({
3763
+ const l = y({
3764
3764
  position: "relative",
3765
3765
  flexShrink: 0,
3766
3766
  width: "100%",
@@ -3771,7 +3771,7 @@ const Rt = (e, t) => {
3771
3771
  padding: "16px",
3772
3772
  boxSizing: "border-box",
3773
3773
  height: "auto"
3774
- }, n && x(x({}, X(o) && {
3774
+ }, n && y(y({}, X(o) && {
3775
3775
  borderColor: o,
3776
3776
  borderStyle: "solid"
3777
3777
  }), a && { borderWidth: a }));
@@ -3790,13 +3790,13 @@ const Rt = (e, t) => {
3790
3790
  ),
3791
3791
  e
3792
3792
  ] });
3793
- }, Cl = ({ validationErrorsTypes: e, title: t }) => e ? /* @__PURE__ */ s("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(e).map(([r, n]) => /* @__PURE__ */ s(be, q(x({}, t), { text: n }), r)) }) : null, yl = ({
3793
+ }, Cl = ({ validationErrorsTypes: e, title: t }) => e ? /* @__PURE__ */ s("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(e).map(([r, n]) => /* @__PURE__ */ s(be, Z(y({}, t), { text: n }), r)) }) : null, yl = ({
3794
3794
  layout: e,
3795
3795
  dataSourceQuestion: t,
3796
3796
  register: r
3797
3797
  }) => {
3798
- var o, a, l, _, g, b, h, c, v, p, m, y, F, I, k, O;
3799
- const n = String(t.id), i = (M) => M ? M === rr.EMAIL ? "email" : M === rr.FREE_TEXT ? "text" : M === rr.NUMBER ? "number" : M === rr.SECURE ? "password" : "text" : "text";
3798
+ var o, a, l, _, g, w, h, c, v, p, m, x, T, I, k, F;
3799
+ const n = String(t.id), i = (V) => V ? V === nr.EMAIL ? "email" : V === nr.FREE_TEXT ? "text" : V === nr.NUMBER ? "number" : V === nr.SECURE ? "password" : "text" : "text";
3800
3800
  return /* @__PURE__ */ s(
3801
3801
  "div",
3802
3802
  {
@@ -3806,10 +3806,10 @@ const Rt = (e, t) => {
3806
3806
  gap: "16px"
3807
3807
  },
3808
3808
  children: [
3809
- /* @__PURE__ */ s(be, q(x({}, e.title), { text: t.text, htmlFor: n })),
3809
+ /* @__PURE__ */ s(be, Z(y({}, e.title), { text: t.text, htmlFor: n })),
3810
3810
  /* @__PURE__ */ s(
3811
3811
  "input",
3812
- q(x({}, r(n, {
3812
+ Z(y({}, r(n, {
3813
3813
  required: !!t.required,
3814
3814
  validate: Rt(t.validators, !!t.required)
3815
3815
  })), {
@@ -3818,18 +3818,18 @@ const Rt = (e, t) => {
3818
3818
  style: {
3819
3819
  fontFamily: (l = (a = e == null ? void 0 : e.textField) == null ? void 0 : a.fontName) != null ? l : "sans-serif",
3820
3820
  fontSize: (g = (_ = e == null ? void 0 : e.textField) == null ? void 0 : _.fontSize) != null ? g : 15,
3821
- color: (h = X((b = e == null ? void 0 : e.textField) == null ? void 0 : b.fontColor)) != null ? h : "#000000",
3821
+ color: (h = X((w = e == null ? void 0 : e.textField) == null ? void 0 : w.fontColor)) != null ? h : "#000000",
3822
3822
  height: "42px",
3823
3823
  borderWidth: (v = (c = e == null ? void 0 : e.textField) == null ? void 0 : c.borderWidth) != null ? v : 1,
3824
3824
  borderColor: (m = X((p = e == null ? void 0 : e.textField) == null ? void 0 : p.borderColor)) != null ? m : "#d9d9d9",
3825
3825
  borderStyle: "solid",
3826
- borderRadius: (F = (y = e == null ? void 0 : e.textField) == null ? void 0 : y.cornerRadius) != null ? F : 8,
3826
+ borderRadius: (T = (x = e == null ? void 0 : e.textField) == null ? void 0 : x.cornerRadius) != null ? T : 8,
3827
3827
  padding: "11px",
3828
3828
  boxSizing: "border-box",
3829
3829
  backgroundColor: (k = X((I = e == null ? void 0 : e.textField) == null ? void 0 : I.backgroundColor)) != null ? k : "#FFFFFF",
3830
- outlineColor: Gt
3830
+ outlineColor: Yt
3831
3831
  },
3832
- placeholder: (O = t.placeholder) != null ? O : "",
3832
+ placeholder: (F = t.placeholder) != null ? F : "",
3833
3833
  "data-id": n
3834
3834
  })
3835
3835
  )
@@ -3841,7 +3841,7 @@ const Rt = (e, t) => {
3841
3841
  dataSourceQuestion: t,
3842
3842
  register: r
3843
3843
  }) => {
3844
- var i, o, a, l, _, g, b, h, c, v, p, m, y;
3844
+ var i, o, a, l, _, g, w, h, c, v, p, m, x;
3845
3845
  const n = String(t.id);
3846
3846
  return /* @__PURE__ */ s(
3847
3847
  "div",
@@ -3852,17 +3852,17 @@ const Rt = (e, t) => {
3852
3852
  gap: "16px"
3853
3853
  },
3854
3854
  children: [
3855
- /* @__PURE__ */ s(be, q(x({}, e.title), { text: t.text, htmlFor: n })),
3855
+ /* @__PURE__ */ s(be, Z(y({}, e.title), { text: t.text, htmlFor: n })),
3856
3856
  /* @__PURE__ */ s(
3857
3857
  "textarea",
3858
- q(x({}, r(n, {
3858
+ Z(y({}, r(n, {
3859
3859
  required: !!t.required,
3860
3860
  validate: Rt(t.validators, !!t.required)
3861
3861
  })), {
3862
3862
  id: n,
3863
3863
  placeholder: (i = t.placeholder) != null ? i : "",
3864
- onInput: (F) => {
3865
- F.currentTarget.style.height = "auto", F.currentTarget.style.height = `${F.currentTarget.scrollHeight - 15}px`;
3864
+ onInput: (T) => {
3865
+ T.currentTarget.style.height = "auto", T.currentTarget.style.height = `${T.currentTarget.scrollHeight - 15}px`;
3866
3866
  },
3867
3867
  "data-id": n,
3868
3868
  style: {
@@ -3873,14 +3873,14 @@ const Rt = (e, t) => {
3873
3873
  overflow: "hidden",
3874
3874
  height: "42px",
3875
3875
  minHeight: "42px",
3876
- borderWidth: (b = (g = e == null ? void 0 : e.textField) == null ? void 0 : g.borderWidth) != null ? b : 1,
3876
+ borderWidth: (w = (g = e == null ? void 0 : e.textField) == null ? void 0 : g.borderWidth) != null ? w : 1,
3877
3877
  borderColor: (c = X((h = e == null ? void 0 : e.textField) == null ? void 0 : h.borderColor)) != null ? c : "#d9d9d9",
3878
3878
  borderStyle: "solid",
3879
3879
  borderRadius: (p = (v = e == null ? void 0 : e.textField) == null ? void 0 : v.cornerRadius) != null ? p : 8,
3880
3880
  padding: "11px",
3881
3881
  boxSizing: "border-box",
3882
- backgroundColor: (y = X((m = e == null ? void 0 : e.textField) == null ? void 0 : m.backgroundColor)) != null ? y : "#FFFFFF",
3883
- outlineColor: Gt
3882
+ backgroundColor: (x = X((m = e == null ? void 0 : e.textField) == null ? void 0 : m.backgroundColor)) != null ? x : "#FFFFFF",
3883
+ outlineColor: Yt
3884
3884
  }
3885
3885
  })
3886
3886
  )
@@ -3894,7 +3894,7 @@ const Rt = (e, t) => {
3894
3894
  underlyingError: n,
3895
3895
  underlyingBaseError: i
3896
3896
  }) {
3897
- const o = vt.getErrorKey(t, lr);
3897
+ const o = vt.getErrorKey(t, cr);
3898
3898
  super({
3899
3899
  errorCode: t,
3900
3900
  errorCodeKey: o,
@@ -3908,19 +3908,19 @@ const Rt = (e, t) => {
3908
3908
  });
3909
3909
  }
3910
3910
  };
3911
- nt.MODULE = ar, nt.ERROR_ENUM_NAME = "GuiModuleError", nt.SHORT_CODE = "GM";
3912
- let $t = nt;
3911
+ nt.MODULE = lr, nt.ERROR_ENUM_NAME = "GuiModuleError", nt.SHORT_CODE = "GM";
3912
+ let jt = nt;
3913
3913
  const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSource: o, properties: a, backgroundColor: l }) => {
3914
- const _ = Li(r), { perform: g } = yt(), b = a ? Ws(o.questions, a) : {}, h = $e(null), {
3914
+ const _ = Li(r), { perform: g } = yt(), w = a ? Ws(o.questions, a) : {}, h = $e(null), {
3915
3915
  register: c,
3916
3916
  handleSubmit: v,
3917
3917
  formState: { errors: p },
3918
3918
  reset: m,
3919
- watch: y,
3920
- control: F
3919
+ watch: x,
3920
+ control: T
3921
3921
  } = ul({
3922
3922
  criteriaMode: "all",
3923
- defaultValues: b
3923
+ defaultValues: w
3924
3924
  });
3925
3925
  return /* @__PURE__ */ s(ut, { header: e, footer: n, backgroundColor: l, children: /* @__PURE__ */ s(
3926
3926
  "form",
@@ -3957,7 +3957,7 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
3957
3957
  ref: h,
3958
3958
  children: [
3959
3959
  t && /** Screen title */
3960
- /* @__PURE__ */ s("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ s(be, x({}, t)) }),
3960
+ /* @__PURE__ */ s("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ s(be, y({}, t)) }),
3961
3961
  /* @__PURE__ */ s(
3962
3962
  "div",
3963
3963
  {
@@ -3966,81 +3966,81 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
3966
3966
  style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
3967
3967
  children: o.questions.map((k) => {
3968
3968
  var re;
3969
- const O = o.static, M = (J, H) => H.find((G) => {
3969
+ const F = o.static, V = (J, H) => H.find((G) => {
3970
3970
  var oe;
3971
3971
  if ((oe = G.questionIds) != null && oe.length)
3972
3972
  return G.questionIds.find((ge) => J === ge);
3973
- }), Z = (J, H) => H.find((G) => !G.questionIds && G.answerType === J), U = O ? M(String(k.id), i.itemTypes) || Z(k.answerType, i.itemTypes) : i.itemTypes.find((J) => J.answerType === k.answerType);
3974
- if (!U) {
3975
- const J = new $t({
3976
- errorCode: lr.DECODING_FAILED,
3973
+ }), z = (J, H) => H.find((G) => !G.questionIds && G.answerType === J), B = F ? V(String(k.id), i.itemTypes) || z(k.answerType, i.itemTypes) : i.itemTypes.find((J) => J.answerType === k.answerType);
3974
+ if (!B) {
3975
+ const J = new jt({
3976
+ errorCode: cr.DECODING_FAILED,
3977
3977
  message: "The question template has not been found"
3978
3978
  });
3979
3979
  g(J);
3980
3980
  return;
3981
3981
  }
3982
- const ce = U == null ? void 0 : U.displayType, le = k.id in p && ((re = p[k.id]) == null ? void 0 : re.types);
3982
+ const ae = B == null ? void 0 : B.displayType, ce = k.id in p && ((re = p[k.id]) == null ? void 0 : re.types);
3983
3983
  return (
3984
3984
  /** Question */
3985
3985
  /* @__PURE__ */ s(Ie, { children: [
3986
3986
  /* @__PURE__ */ s(
3987
3987
  wl,
3988
3988
  {
3989
- backgroundColor: U == null ? void 0 : U.backgroundColor,
3990
- cornerRadius: U == null ? void 0 : U.cornerRadius,
3991
- isError: !!le,
3989
+ backgroundColor: B == null ? void 0 : B.backgroundColor,
3990
+ cornerRadius: B == null ? void 0 : B.cornerRadius,
3991
+ isError: !!ce,
3992
3992
  isRequired: k.required,
3993
- validationBorderColor: U == null ? void 0 : U.validationBorderColor,
3994
- validationBorderWidth: U == null ? void 0 : U.validationBorderWidth,
3993
+ validationBorderColor: B == null ? void 0 : B.validationBorderColor,
3994
+ validationBorderWidth: B == null ? void 0 : B.validationBorderWidth,
3995
3995
  children: [
3996
- ce === Ot.TEXT_EXPANDABLE && /* @__PURE__ */ s(
3996
+ ae === Ot.TEXT_EXPANDABLE && /* @__PURE__ */ s(
3997
3997
  xl,
3998
3998
  {
3999
- layout: U,
3999
+ layout: B,
4000
4000
  dataSourceQuestion: k,
4001
4001
  register: c
4002
4002
  }
4003
4003
  ),
4004
- ce === Ot.TEXT_SINGLE_LINE && /* @__PURE__ */ s(
4004
+ ae === Ot.TEXT_SINGLE_LINE && /* @__PURE__ */ s(
4005
4005
  yl,
4006
4006
  {
4007
- layout: U,
4007
+ layout: B,
4008
4008
  dataSourceQuestion: k,
4009
4009
  register: c
4010
4010
  }
4011
4011
  ),
4012
- ce === Ot.SELECTOR_OPTIONS && /* @__PURE__ */ s(
4012
+ ae === Ot.SELECTOR_OPTIONS && /* @__PURE__ */ s(
4013
4013
  ml,
4014
4014
  {
4015
- layout: U,
4015
+ layout: B,
4016
4016
  dataSourceQuestion: k,
4017
- watch: y,
4017
+ watch: x,
4018
4018
  register: c
4019
4019
  }
4020
4020
  ),
4021
- ce === Ot.SELECTOR_BUTTONS && /* @__PURE__ */ s(
4021
+ ae === Ot.SELECTOR_BUTTONS && /* @__PURE__ */ s(
4022
4022
  bl,
4023
4023
  {
4024
- layout: U,
4024
+ layout: B,
4025
4025
  dataSourceQuestion: k,
4026
- watch: y,
4026
+ watch: x,
4027
4027
  register: c
4028
4028
  }
4029
4029
  ),
4030
- ce === Ot.SELECTOR_DROPDOWN && /* @__PURE__ */ s(
4030
+ ae === Ot.SELECTOR_DROPDOWN && /* @__PURE__ */ s(
4031
4031
  pl,
4032
4032
  {
4033
- control: F,
4034
- layout: U,
4033
+ control: T,
4034
+ layout: B,
4035
4035
  dataSourceQuestion: k,
4036
4036
  parentElementRef: h
4037
4037
  }
4038
4038
  ),
4039
- ce === Ot.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ s(
4039
+ ae === Ot.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ s(
4040
4040
  _l,
4041
4041
  {
4042
- control: F,
4043
- layout: U,
4042
+ control: T,
4043
+ layout: B,
4044
4044
  dataSourceQuestion: k,
4045
4045
  parentElementRef: h
4046
4046
  }
@@ -4048,11 +4048,11 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
4048
4048
  ]
4049
4049
  }
4050
4050
  ),
4051
- le && /* @__PURE__ */ s(
4051
+ ce && /* @__PURE__ */ s(
4052
4052
  Cl,
4053
4053
  {
4054
- validationErrorsTypes: le,
4055
- title: U.validationMessage
4054
+ validationErrorsTypes: ce,
4055
+ title: B.validationMessage
4056
4056
  }
4057
4057
  )
4058
4058
  ] }, k.id)
@@ -4078,7 +4078,7 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
4078
4078
  alignItems: "flex-end",
4079
4079
  padding: "2px"
4080
4080
  },
4081
- children: r.map((k, O) => /* @__PURE__ */ s(cr, x({ dataTestId: "question-button" }, k), O))
4081
+ children: r.map((k, F) => /* @__PURE__ */ s(dr, y({ dataTestId: "question-button" }, k), F))
4082
4082
  }
4083
4083
  )
4084
4084
  ]
@@ -4115,31 +4115,31 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
4115
4115
  backgroundColor: n,
4116
4116
  selectionLimit: i
4117
4117
  }) => {
4118
- var b, h;
4118
+ var w, h;
4119
4119
  const { perform: o } = yt(), a = $e(null), l = typeof i == "number" && (i === 0 || i > 1), _ = (c) => _e(null, null, function* () {
4120
4120
  var p;
4121
4121
  const v = Array.from((p = c.currentTarget.files) != null ? p : []);
4122
4122
  if (v.length)
4123
4123
  try {
4124
- const y = (yield Promise.allSettled(
4125
- v.map((F) => _e(null, null, function* () {
4124
+ const x = (yield Promise.allSettled(
4125
+ v.map((T) => _e(null, null, function* () {
4126
4126
  return {
4127
- content: yield Bi(F),
4127
+ content: yield Bi(T),
4128
4128
  metadata: {
4129
- name: F.name,
4130
- type: F.type,
4131
- size: F.size,
4132
- lastModified: F.lastModified
4129
+ name: T.name,
4130
+ type: T.type,
4131
+ size: T.size,
4132
+ lastModified: T.lastModified
4133
4133
  }
4134
4134
  };
4135
4135
  }))
4136
4136
  )).filter(
4137
- (F) => F.status === "fulfilled"
4138
- ).map((F) => F.value);
4137
+ (T) => T.status === "fulfilled"
4138
+ ).map((T) => T.value);
4139
4139
  o({
4140
4140
  cancel: !1,
4141
4141
  permissionDenied: !1,
4142
- files: y
4142
+ files: x
4143
4143
  });
4144
4144
  } catch (m) {
4145
4145
  console.error("Error: ", m);
@@ -4151,13 +4151,13 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
4151
4151
  return /* @__PURE__ */ s(ut, { header: e, footer: t, backgroundColor: n, children: /* @__PURE__ */ s(Ie, { children: /* @__PURE__ */ s(
4152
4152
  "div",
4153
4153
  {
4154
- style: q(x({}, Ol), {
4154
+ style: Z(y({}, Ol), {
4155
4155
  justifyContent: "center"
4156
4156
  }),
4157
4157
  children: [
4158
4158
  /* @__PURE__ */ s(
4159
4159
  "input",
4160
- q(x({
4160
+ Z(y({
4161
4161
  style: Sl,
4162
4162
  ref: a,
4163
4163
  type: "file",
@@ -4166,7 +4166,7 @@ const El = ({ header: e, title: t, buttons: r, footer: n, questions: i, dataSour
4166
4166
  onInput: _
4167
4167
  })
4168
4168
  ),
4169
- /* @__PURE__ */ s("button", { style: kl, onClick: g, children: /* @__PURE__ */ s(Ae, { imageId: (h = (b = r == null ? void 0 : r[0]) == null ? void 0 : b.image) == null ? void 0 : h.imageId }) })
4169
+ /* @__PURE__ */ s("button", { style: kl, onClick: g, children: /* @__PURE__ */ s(Ae, { imageId: (h = (w = r == null ? void 0 : r[0]) == null ? void 0 : w.image) == null ? void 0 : h.imageId }) })
4170
4170
  ]
4171
4171
  }
4172
4172
  ) }) });
@@ -4197,97 +4197,97 @@ function Fl(e) {
4197
4197
  }
4198
4198
  var P = {};
4199
4199
  const Al = /* @__PURE__ */ Fl(ja);
4200
- var Pt = { exports: {} }, Il = Pt.exports, mi;
4200
+ var Nt = { exports: {} }, Il = Nt.exports, mi;
4201
4201
  function Vl() {
4202
4202
  return mi || (mi = 1, (function(e, t) {
4203
4203
  (function(r, n) {
4204
- var i = "1.0.41", o = "", a = "?", l = "function", _ = "undefined", g = "object", b = "string", h = "major", c = "model", v = "name", p = "type", m = "vendor", y = "version", F = "architecture", I = "console", k = "mobile", O = "tablet", M = "smarttv", Z = "wearable", U = "embedded", ce = 500, le = "Amazon", re = "Apple", J = "ASUS", H = "BlackBerry", G = "Browser", oe = "Chrome", ge = "Edge", me = "Firefox", we = "Google", Be = "Honor", de = "Huawei", z = "Lenovo", ue = "LG", ye = "Microsoft", ke = "Motorola", Me = "Nvidia", N = "OnePlus", ne = "Opera", je = "OPPO", Ke = "Samsung", tt = "Sharp", ze = "Sony", ft = "Xiaomi", at = "Zebra", xt = "Facebook", ht = "Chromium OS", lt = "Mac OS", pt = " Browser", Et = function(j, Q) {
4205
- var L = {};
4204
+ var i = "1.0.41", o = "", a = "?", l = "function", _ = "undefined", g = "object", w = "string", h = "major", c = "model", v = "name", p = "type", m = "vendor", x = "version", T = "architecture", I = "console", k = "mobile", F = "tablet", V = "smarttv", z = "wearable", B = "embedded", ae = 500, ce = "Amazon", re = "Apple", J = "ASUS", H = "BlackBerry", G = "Browser", oe = "Chrome", ge = "Edge", me = "Firefox", we = "Google", Be = "Honor", de = "Huawei", q = "Lenovo", ue = "LG", ye = "Microsoft", ke = "Motorola", De = "Nvidia", N = "OnePlus", ne = "Opera", je = "OPPO", Ke = "Samsung", tt = "Sharp", ze = "Sony", ft = "Xiaomi", at = "Zebra", xt = "Facebook", ht = "Chromium OS", lt = "Mac OS", pt = " Browser", Et = function(j, Q) {
4205
+ var U = {};
4206
4206
  for (var se in j)
4207
- Q[se] && Q[se].length % 2 === 0 ? L[se] = Q[se].concat(j[se]) : L[se] = j[se];
4208
- return L;
4207
+ Q[se] && Q[se].length % 2 === 0 ? U[se] = Q[se].concat(j[se]) : U[se] = j[se];
4208
+ return U;
4209
4209
  }, ct = function(j) {
4210
- for (var Q = {}, L = 0; L < j.length; L++)
4211
- Q[j[L].toUpperCase()] = j[L];
4210
+ for (var Q = {}, U = 0; U < j.length; U++)
4211
+ Q[j[U].toUpperCase()] = j[U];
4212
4212
  return Q;
4213
4213
  }, Xe = function(j, Q) {
4214
- return typeof j === b ? f(Q).indexOf(f(j)) !== -1 : !1;
4214
+ return typeof j === w ? f(Q).indexOf(f(j)) !== -1 : !1;
4215
4215
  }, f = function(j) {
4216
4216
  return j.toLowerCase();
4217
4217
  }, C = function(j) {
4218
- return typeof j === b ? j.replace(/[^\d\.]/g, o).split(".")[0] : n;
4218
+ return typeof j === w ? j.replace(/[^\d\.]/g, o).split(".")[0] : n;
4219
4219
  }, S = function(j, Q) {
4220
- if (typeof j === b)
4221
- return j = j.replace(/^\s\s*/, o), typeof Q === _ ? j : j.substring(0, ce);
4222
- }, D = function(j, Q) {
4223
- for (var L = 0, se, De, Te, ie, $, Le; L < Q.length && !$; ) {
4224
- var St = Q[L], Mt = Q[L + 1];
4225
- for (se = De = 0; se < St.length && !$ && St[se]; )
4220
+ if (typeof j === w)
4221
+ return j = j.replace(/^\s\s*/, o), typeof Q === _ ? j : j.substring(0, ae);
4222
+ }, M = function(j, Q) {
4223
+ for (var U = 0, se, Me, Te, ie, $, Le; U < Q.length && !$; ) {
4224
+ var St = Q[U], Dt = Q[U + 1];
4225
+ for (se = Me = 0; se < St.length && !$ && St[se]; )
4226
4226
  if ($ = St[se++].exec(j), $)
4227
- for (Te = 0; Te < Mt.length; Te++)
4228
- Le = $[++De], ie = Mt[Te], typeof ie === g && ie.length > 0 ? ie.length === 2 ? typeof ie[1] == l ? this[ie[0]] = ie[1].call(this, Le) : this[ie[0]] = ie[1] : ie.length === 3 ? typeof ie[1] === l && !(ie[1].exec && ie[1].test) ? this[ie[0]] = Le ? ie[1].call(this, Le, ie[2]) : n : this[ie[0]] = Le ? Le.replace(ie[1], ie[2]) : n : ie.length === 4 && (this[ie[0]] = Le ? ie[3].call(this, Le.replace(ie[1], ie[2])) : n) : this[ie] = Le || n;
4229
- L += 2;
4227
+ for (Te = 0; Te < Dt.length; Te++)
4228
+ Le = $[++Me], ie = Dt[Te], typeof ie === g && ie.length > 0 ? ie.length === 2 ? typeof ie[1] == l ? this[ie[0]] = ie[1].call(this, Le) : this[ie[0]] = ie[1] : ie.length === 3 ? typeof ie[1] === l && !(ie[1].exec && ie[1].test) ? this[ie[0]] = Le ? ie[1].call(this, Le, ie[2]) : n : this[ie[0]] = Le ? Le.replace(ie[1], ie[2]) : n : ie.length === 4 && (this[ie[0]] = Le ? ie[3].call(this, Le.replace(ie[1], ie[2])) : n) : this[ie] = Le || n;
4229
+ U += 2;
4230
4230
  }
4231
4231
  }, A = function(j, Q) {
4232
- for (var L in Q)
4233
- if (typeof Q[L] === g && Q[L].length > 0) {
4234
- for (var se = 0; se < Q[L].length; se++)
4235
- if (Xe(Q[L][se], j))
4236
- return L === a ? n : L;
4237
- } else if (Xe(Q[L], j))
4238
- return L === a ? n : L;
4232
+ for (var U in Q)
4233
+ if (typeof Q[U] === g && Q[U].length > 0) {
4234
+ for (var se = 0; se < Q[U].length; se++)
4235
+ if (Xe(Q[U][se], j))
4236
+ return U === a ? n : U;
4237
+ } else if (Xe(Q[U], j))
4238
+ return U === a ? n : U;
4239
4239
  return Q.hasOwnProperty("*") ? Q["*"] : j;
4240
- }, V = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, B = { 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" }, K = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, y], [/opios[\/ ]+([\w\.]+)/i], [y, [v, ne + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [y, [v, ne + " GX"]], [/\bopr\/([\w\.]+)/i], [y, [v, ne]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [y, [v, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [y, [v, "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], [v, y], [/quark(?:pc)?\/([-\w\.]+)/i], [y, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [y, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [v, "UC" + G]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [y, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [y, [v, "Smart Lenovo " + G]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + G], y], [/\bfocus\/([\w\.]+)/i], [y, [v, me + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [v, ne + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [v, ne + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [v, "MIUI" + pt]], [/fxios\/([\w\.-]+)/i], [y, [v, me]], [/\bqihoobrowser\/?([\w\.]*)/i], [y, [v, "360"]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], y], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + pt], y], [/samsungbrowser\/([\w\.]+)/i], [y, [v, Ke + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [y, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [v, y], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [y, v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, xt], y], [/(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], [v, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [v, oe + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, oe + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [v, "Android " + G]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [y, A, V]], [/(webkit|khtml)\/([\w\.]+)/i], [v, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], y], [/(wolvic|librewolf)\/([\w\.]+)/i], [v, y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [v, me + " 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], [v, [y, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [y, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[F, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[F, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[F, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[F, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[F, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[F, /ower/, o, f]], [/ sun4\w[;\)]/i], [[F, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[F, f]]], 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, [m, Ke], [p, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [m, Ke], [p, k]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [m, re], [p, k]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [m, re], [p, O]], [/(macintosh);/i], [c, [m, re]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [m, tt], [p, k]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [m, Be], [p, O]], [/honor([-\w ]+)[;\)]/i], [c, [m, Be], [p, k]], [/\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, [m, de], [p, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [m, de], [p, k]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [m, ft], [p, O]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [m, ft], [p, k]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [m, je], [p, k]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [m, A, { OnePlus: ["304", "403", "203"], "*": je }], [p, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [m, "Vivo"], [p, k]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [m, "Realme"], [p, k]], [/\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, [m, ke], [p, k]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [m, ke], [p, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [m, ue], [p, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [m, ue], [p, k]], [/(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, [m, z], [p, O]], [/(nokia) (t[12][01])/i], [m, c, [p, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [p, k], [m, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [m, we], [p, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [m, we], [p, k]], [/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, [m, ze], [p, k]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [m, ze], [p, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [m, N], [p, k]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [m, le], [p, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [m, le], [p, k]], [/(playbook);[-\w\),; ]+(rim)/i], [c, m, [p, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [m, H], [p, k]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [m, J], [p, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [m, J], [p, k]], [/(nexus 9)/i], [c, [m, "HTC"], [p, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [c, /_/g, " "], [p, k]], [/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, [m, "TCL"], [p, O]], [/(itel) ((\w+))/i], [[m, f], c, [p, A, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [m, "Acer"], [p, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [m, "Meizu"], [p, k]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [m, "Ulefone"], [p, k]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [m, "Energizer"], [p, k]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [m, "Cat"], [p, k]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [m, "Smartfren"], [p, k]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [m, "Nothing"], [p, k]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [m, "Archos"], [p, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [m, "Archos"], [p, k]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [m, c, [p, O]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [m, c, [p, k]], [/(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], [m, c, [p, O]], [/(surface duo)/i], [c, [m, ye], [p, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [m, "Fairphone"], [p, k]], [/(u304aa)/i], [c, [m, "AT&T"], [p, k]], [/\bsie-(\w*)/i], [c, [m, "Siemens"], [p, k]], [/\b(rct\w+) b/i], [c, [m, "RCA"], [p, O]], [/\b(venue[\d ]{2,7}) b/i], [c, [m, "Dell"], [p, O]], [/\b(q(?:mv|ta)\w+) b/i], [c, [m, "Verizon"], [p, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [m, "Barnes & Noble"], [p, O]], [/\b(tm\d{3}\w+) b/i], [c, [m, "NuVision"], [p, O]], [/\b(k88) b/i], [c, [m, "ZTE"], [p, O]], [/\b(nx\d{3}j) b/i], [c, [m, "ZTE"], [p, k]], [/\b(gen\d{3}) b.+49h/i], [c, [m, "Swiss"], [p, k]], [/\b(zur\d{3}) b/i], [c, [m, "Swiss"], [p, O]], [/\b((zeki)?tb.*\b) b/i], [c, [m, "Zeki"], [p, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], c, [p, O]], [/\b(ns-?\w{0,9}) b/i], [c, [m, "Insignia"], [p, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [m, "NextBook"], [p, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], c, [p, k]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], c, [p, k]], [/\b(ph-1) /i], [c, [m, "Essential"], [p, k]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [m, "Envizen"], [p, O]], [/\b(trio[-\w\. ]+) b/i], [c, [m, "MachSpeed"], [p, O]], [/\btu_(1491) b/i], [c, [m, "Rotor"], [p, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [m, Me], [p, O]], [/(sprint) (\w+)/i], [m, c, [p, k]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [m, ye], [p, k]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [m, at], [p, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [m, at], [p, k]], [/smart-tv.+(samsung)/i], [m, [p, M]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [m, Ke], [p, M]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, ue], [p, M]], [/(apple) ?tv/i], [m, [c, re + " TV"], [p, M]], [/crkey/i], [[c, oe + "cast"], [m, we], [p, M]], [/droid.+aft(\w+)( bui|\))/i], [c, [m, le], [p, M]], [/(shield \w+ tv)/i], [c, [m, Me], [p, M]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [m, tt], [p, M]], [/(bravia[\w ]+)( bui|\))/i], [c, [m, ze], [p, M]], [/(mi(tv|box)-?\w+) bui/i], [c, [m, ft], [p, M]], [/Hbbtv.*(technisat) (.*);/i], [m, c, [p, M]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, S], [c, S], [p, M]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [p, M]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, M]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, c, [p, I]], [/droid.+; (shield)( bui|\))/i], [c, [m, Me], [p, I]], [/(playstation \w+)/i], [c, [m, ze], [p, I]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [m, ye], [p, I]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [m, Ke], [p, Z]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [m, c, [p, Z]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [m, je], [p, Z]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [m, re], [p, Z]], [/(opwwe\d{3})/i], [c, [m, N], [p, Z]], [/(moto 360)/i], [c, [m, ke], [p, Z]], [/(smartwatch 3)/i], [c, [m, ze], [p, Z]], [/(g watch r)/i], [c, [m, ue], [p, Z]], [/droid.+; (wt63?0{2,3})\)/i], [c, [m, at], [p, Z]], [/droid.+; (glass) \d/i], [c, [m, we], [p, Z]], [/(pico) (4|neo3(?: link|pro)?)/i], [m, c, [p, Z]], [/; (quest( \d| pro)?)/i], [c, [m, xt], [p, Z]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [p, U]], [/(aeobc)\b/i], [c, [m, le], [p, U]], [/(homepod).+mac os/i], [c, [m, re], [p, U]], [/windows iot/i], [[p, U]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [p, k]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [p, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, k]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [v, ge + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [v, y], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [v, "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], [v, y], [/ladybird\//i], [[v, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, y], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [v, [y, A, B]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[y, A, B], [v, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, lt], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, v], [/(ubuntu) ([\w\.]+) like android/i], [[v, /(.+)/, "$1 Touch"], y], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [v, y], [/\(bb(10);/i], [y, [v, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [y, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [v, me + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [v, oe + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, ht], y], [/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], [v, y], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, y]] }, W = function(j, Q) {
4240
+ }, R = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, L = { 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" }, K = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [x, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [x, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, x], [/opios[\/ ]+([\w\.]+)/i], [x, [v, ne + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [x, [v, ne + " GX"]], [/\bopr\/([\w\.]+)/i], [x, [v, ne]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [x, [v, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [x, [v, "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], [v, x], [/quark(?:pc)?\/([-\w\.]+)/i], [x, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [x, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [x, [v, "UC" + G]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [x, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [x, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [x, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [x, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [x, [v, "Smart Lenovo " + G]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + G], x], [/\bfocus\/([\w\.]+)/i], [x, [v, me + " Focus"]], [/\bopt\/([\w\.]+)/i], [x, [v, ne + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [x, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [x, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [x, [v, ne + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [x, [v, "MIUI" + pt]], [/fxios\/([\w\.-]+)/i], [x, [v, me]], [/\bqihoobrowser\/?([\w\.]*)/i], [x, [v, "360"]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], x], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + pt], x], [/samsungbrowser\/([\w\.]+)/i], [x, [v, Ke + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [x, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], x], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [v, x], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [x, v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, xt], x], [/(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], [v, x], [/\bgsa\/([\w\.]+) .*safari\//i], [x, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [x, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [x, [v, oe + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, oe + " WebView"], x], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [x, [v, "Android " + G]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, x], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [x, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [x, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [x, A, R]], [/(webkit|khtml)\/([\w\.]+)/i], [v, x], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], x], [/(wolvic|librewolf)\/([\w\.]+)/i], [v, x], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [x, [v, me + " 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], [v, [x, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [x, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[T, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[T, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[T, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[T, /ower/, o, f]], [/ sun4\w[;\)]/i], [[T, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[T, f]]], 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, [m, Ke], [p, F]], [/\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, [m, Ke], [p, k]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [m, re], [p, k]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [m, re], [p, F]], [/(macintosh);/i], [c, [m, re]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [m, tt], [p, k]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [m, Be], [p, F]], [/honor([-\w ]+)[;\)]/i], [c, [m, Be], [p, k]], [/\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, [m, de], [p, F]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [m, de], [p, k]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [m, ft], [p, F]], [/\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, " "], [m, ft], [p, k]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [m, je], [p, k]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [m, A, { OnePlus: ["304", "403", "203"], "*": je }], [p, F]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [m, "Vivo"], [p, k]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [m, "Realme"], [p, k]], [/\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, [m, ke], [p, k]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [m, ke], [p, F]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [m, ue], [p, F]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [m, ue], [p, k]], [/(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, [m, q], [p, F]], [/(nokia) (t[12][01])/i], [m, c, [p, F]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [p, k], [m, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [m, we], [p, F]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [m, we], [p, k]], [/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, [m, ze], [p, k]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [m, ze], [p, F]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [m, N], [p, k]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [m, ce], [p, F]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [m, ce], [p, k]], [/(playbook);[-\w\),; ]+(rim)/i], [c, m, [p, F]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [m, H], [p, k]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [m, J], [p, F]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [m, J], [p, k]], [/(nexus 9)/i], [c, [m, "HTC"], [p, F]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [c, /_/g, " "], [p, k]], [/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, [m, "TCL"], [p, F]], [/(itel) ((\w+))/i], [[m, f], c, [p, A, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [m, "Acer"], [p, F]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [m, "Meizu"], [p, k]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [m, "Ulefone"], [p, k]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [m, "Energizer"], [p, k]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [m, "Cat"], [p, k]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [m, "Smartfren"], [p, k]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [m, "Nothing"], [p, k]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [m, "Archos"], [p, F]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [m, "Archos"], [p, k]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [m, c, [p, F]], [/(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], [m, c, [p, k]], [/(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], [m, c, [p, F]], [/(surface duo)/i], [c, [m, ye], [p, F]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [m, "Fairphone"], [p, k]], [/(u304aa)/i], [c, [m, "AT&T"], [p, k]], [/\bsie-(\w*)/i], [c, [m, "Siemens"], [p, k]], [/\b(rct\w+) b/i], [c, [m, "RCA"], [p, F]], [/\b(venue[\d ]{2,7}) b/i], [c, [m, "Dell"], [p, F]], [/\b(q(?:mv|ta)\w+) b/i], [c, [m, "Verizon"], [p, F]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [m, "Barnes & Noble"], [p, F]], [/\b(tm\d{3}\w+) b/i], [c, [m, "NuVision"], [p, F]], [/\b(k88) b/i], [c, [m, "ZTE"], [p, F]], [/\b(nx\d{3}j) b/i], [c, [m, "ZTE"], [p, k]], [/\b(gen\d{3}) b.+49h/i], [c, [m, "Swiss"], [p, k]], [/\b(zur\d{3}) b/i], [c, [m, "Swiss"], [p, F]], [/\b((zeki)?tb.*\b) b/i], [c, [m, "Zeki"], [p, F]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], c, [p, F]], [/\b(ns-?\w{0,9}) b/i], [c, [m, "Insignia"], [p, F]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [m, "NextBook"], [p, F]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], c, [p, k]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], c, [p, k]], [/\b(ph-1) /i], [c, [m, "Essential"], [p, k]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [m, "Envizen"], [p, F]], [/\b(trio[-\w\. ]+) b/i], [c, [m, "MachSpeed"], [p, F]], [/\btu_(1491) b/i], [c, [m, "Rotor"], [p, F]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [m, De], [p, F]], [/(sprint) (\w+)/i], [m, c, [p, k]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [m, ye], [p, k]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [m, at], [p, F]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [m, at], [p, k]], [/smart-tv.+(samsung)/i], [m, [p, V]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [m, Ke], [p, V]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, ue], [p, V]], [/(apple) ?tv/i], [m, [c, re + " TV"], [p, V]], [/crkey/i], [[c, oe + "cast"], [m, we], [p, V]], [/droid.+aft(\w+)( bui|\))/i], [c, [m, ce], [p, V]], [/(shield \w+ tv)/i], [c, [m, De], [p, V]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [m, tt], [p, V]], [/(bravia[\w ]+)( bui|\))/i], [c, [m, ze], [p, V]], [/(mi(tv|box)-?\w+) bui/i], [c, [m, ft], [p, V]], [/Hbbtv.*(technisat) (.*);/i], [m, c, [p, V]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, S], [c, S], [p, V]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [p, V]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, V]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, c, [p, I]], [/droid.+; (shield)( bui|\))/i], [c, [m, De], [p, I]], [/(playstation \w+)/i], [c, [m, ze], [p, I]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [m, ye], [p, I]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [m, Ke], [p, z]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [m, c, [p, z]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [m, je], [p, z]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [m, re], [p, z]], [/(opwwe\d{3})/i], [c, [m, N], [p, z]], [/(moto 360)/i], [c, [m, ke], [p, z]], [/(smartwatch 3)/i], [c, [m, ze], [p, z]], [/(g watch r)/i], [c, [m, ue], [p, z]], [/droid.+; (wt63?0{2,3})\)/i], [c, [m, at], [p, z]], [/droid.+; (glass) \d/i], [c, [m, we], [p, z]], [/(pico) (4|neo3(?: link|pro)?)/i], [m, c, [p, z]], [/; (quest( \d| pro)?)/i], [c, [m, xt], [p, z]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [p, B]], [/(aeobc)\b/i], [c, [m, ce], [p, B]], [/(homepod).+mac os/i], [c, [m, re], [p, B]], [/windows iot/i], [[p, B]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [p, k]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [p, F]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, F]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, k]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [x, [v, ge + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [v, x], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [x, [v, "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], [v, x], [/ladybird\//i], [[v, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [x, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, x], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [v, [x, A, L]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[x, A, L], [v, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[x, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, lt], [x, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [x, v], [/(ubuntu) ([\w\.]+) like android/i], [[v, /(.+)/, "$1 Touch"], x], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [v, x], [/\(bb(10);/i], [x, [v, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [x, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [x, [v, me + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [x, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [x, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [x, [v, oe + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, ht], x], [/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], [v, x], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], x], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, x]] }, W = function(j, Q) {
4241
4241
  if (typeof j === g && (Q = j, j = n), !(this instanceof W))
4242
4242
  return new W(j, Q).getResult();
4243
- var L = typeof r !== _ && r.navigator ? r.navigator : n, se = j || (L && L.userAgent ? L.userAgent : o), De = L && L.userAgentData ? L.userAgentData : n, Te = Q ? Et(K, Q) : K, ie = L && L.userAgent == se;
4243
+ var U = typeof r !== _ && r.navigator ? r.navigator : n, se = j || (U && U.userAgent ? U.userAgent : o), Me = U && U.userAgentData ? U.userAgentData : n, Te = Q ? Et(K, Q) : K, ie = U && U.userAgent == se;
4244
4244
  return this.getBrowser = function() {
4245
4245
  var $ = {};
4246
- return $[v] = n, $[y] = n, D.call($, se, Te.browser), $[h] = C($[y]), ie && L && L.brave && typeof L.brave.isBrave == l && ($[v] = "Brave"), $;
4246
+ return $[v] = n, $[x] = n, M.call($, se, Te.browser), $[h] = C($[x]), ie && U && U.brave && typeof U.brave.isBrave == l && ($[v] = "Brave"), $;
4247
4247
  }, this.getCPU = function() {
4248
4248
  var $ = {};
4249
- return $[F] = n, D.call($, se, Te.cpu), $;
4249
+ return $[T] = n, M.call($, se, Te.cpu), $;
4250
4250
  }, this.getDevice = function() {
4251
4251
  var $ = {};
4252
- return $[m] = n, $[c] = n, $[p] = n, D.call($, se, Te.device), ie && !$[p] && De && De.mobile && ($[p] = k), ie && $[c] == "Macintosh" && L && typeof L.standalone !== _ && L.maxTouchPoints && L.maxTouchPoints > 2 && ($[c] = "iPad", $[p] = O), $;
4252
+ return $[m] = n, $[c] = n, $[p] = n, M.call($, se, Te.device), ie && !$[p] && Me && Me.mobile && ($[p] = k), ie && $[c] == "Macintosh" && U && typeof U.standalone !== _ && U.maxTouchPoints && U.maxTouchPoints > 2 && ($[c] = "iPad", $[p] = F), $;
4253
4253
  }, this.getEngine = function() {
4254
4254
  var $ = {};
4255
- return $[v] = n, $[y] = n, D.call($, se, Te.engine), $;
4255
+ return $[v] = n, $[x] = n, M.call($, se, Te.engine), $;
4256
4256
  }, this.getOS = function() {
4257
4257
  var $ = {};
4258
- return $[v] = n, $[y] = n, D.call($, se, Te.os), ie && !$[v] && De && De.platform && De.platform != "Unknown" && ($[v] = De.platform.replace(/chrome os/i, ht).replace(/macos/i, lt)), $;
4258
+ return $[v] = n, $[x] = n, M.call($, se, Te.os), ie && !$[v] && Me && Me.platform && Me.platform != "Unknown" && ($[v] = Me.platform.replace(/chrome os/i, ht).replace(/macos/i, lt)), $;
4259
4259
  }, this.getResult = function() {
4260
4260
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
4261
4261
  }, this.getUA = function() {
4262
4262
  return se;
4263
4263
  }, this.setUA = function($) {
4264
- return se = typeof $ === b && $.length > ce ? S($, ce) : $, this;
4264
+ return se = typeof $ === w && $.length > ae ? S($, ae) : $, this;
4265
4265
  }, this.setUA(se), this;
4266
4266
  };
4267
- W.VERSION = i, W.BROWSER = ct([v, y, h]), W.CPU = ct([F]), W.DEVICE = ct([c, m, p, I, k, M, O, Z, U]), W.ENGINE = W.OS = ct([v, y]), e.exports && (t = e.exports = W), t.UAParser = W;
4268
- var ae = typeof r !== _ && (r.jQuery || r.Zepto);
4269
- if (ae && !ae.ua) {
4267
+ W.VERSION = i, W.BROWSER = ct([v, x, h]), W.CPU = ct([T]), W.DEVICE = ct([c, m, p, I, k, V, F, z, B]), W.ENGINE = W.OS = ct([v, x]), e.exports && (t = e.exports = W), t.UAParser = W;
4268
+ var le = typeof r !== _ && (r.jQuery || r.Zepto);
4269
+ if (le && !le.ua) {
4270
4270
  var Ve = new W();
4271
- ae.ua = Ve.getResult(), ae.ua.get = function() {
4271
+ le.ua = Ve.getResult(), le.ua.get = function() {
4272
4272
  return Ve.getUA();
4273
- }, ae.ua.set = function(j) {
4273
+ }, le.ua.set = function(j) {
4274
4274
  Ve.setUA(j);
4275
4275
  var Q = Ve.getResult();
4276
- for (var L in Q)
4277
- ae.ua[L] = Q[L];
4276
+ for (var U in Q)
4277
+ le.ua[U] = Q[U];
4278
4278
  };
4279
4279
  }
4280
4280
  })(typeof window == "object" ? window : Il);
4281
- })(Pt, Pt.exports)), Pt.exports;
4281
+ })(Nt, Nt.exports)), Nt.exports;
4282
4282
  }
4283
4283
  var vi;
4284
4284
  function Rl() {
4285
4285
  if (vi) return P;
4286
4286
  vi = 1, Object.defineProperty(P, "__esModule", { value: !0 });
4287
- function e(w) {
4288
- return w && typeof w == "object" && "default" in w ? w.default : w;
4287
+ function e(b) {
4288
+ return b && typeof b == "object" && "default" in b ? b.default : b;
4289
4289
  }
4290
- var t = Al, r = e(t), n = Vl(), i = new n(), o = i.getBrowser(), a = i.getCPU(), l = i.getDevice(), _ = i.getEngine(), g = i.getOS(), b = i.getUA(), h = function(d) {
4290
+ var t = Al, r = e(t), n = Vl(), i = new n(), o = i.getBrowser(), a = i.getCPU(), l = i.getDevice(), _ = i.getEngine(), g = i.getOS(), w = i.getUA(), h = function(d) {
4291
4291
  return i.setUA(d);
4292
4292
  }, c = function(d) {
4293
4293
  if (!d) {
@@ -4303,8 +4303,8 @@ function Rl() {
4303
4303
  engine: u.getEngine(),
4304
4304
  os: u.getOS(),
4305
4305
  ua: u.getUA(),
4306
- setUserAgent: function(T) {
4307
- return u.setUA(T);
4306
+ setUserAgent: function(O) {
4307
+ return u.setUA(O);
4308
4308
  }
4309
4309
  };
4310
4310
  }, v = /* @__PURE__ */ Object.freeze({
@@ -4314,138 +4314,138 @@ function Rl() {
4314
4314
  device: l,
4315
4315
  engine: _,
4316
4316
  os: g,
4317
- ua: b,
4317
+ ua: w,
4318
4318
  setUa: h,
4319
4319
  parseUserAgent: c
4320
4320
  });
4321
- function p(w, d) {
4322
- var u = Object.keys(w);
4321
+ function p(b, d) {
4322
+ var u = Object.keys(b);
4323
4323
  if (Object.getOwnPropertySymbols) {
4324
- var E = Object.getOwnPropertySymbols(w);
4325
- d && (E = E.filter(function(T) {
4326
- return Object.getOwnPropertyDescriptor(w, T).enumerable;
4324
+ var E = Object.getOwnPropertySymbols(b);
4325
+ d && (E = E.filter(function(O) {
4326
+ return Object.getOwnPropertyDescriptor(b, O).enumerable;
4327
4327
  })), u.push.apply(u, E);
4328
4328
  }
4329
4329
  return u;
4330
4330
  }
4331
- function m(w) {
4331
+ function m(b) {
4332
4332
  for (var d = 1; d < arguments.length; d++) {
4333
4333
  var u = arguments[d] != null ? arguments[d] : {};
4334
4334
  d % 2 ? p(Object(u), !0).forEach(function(E) {
4335
- O(w, E, u[E]);
4336
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(w, Object.getOwnPropertyDescriptors(u)) : p(Object(u)).forEach(function(E) {
4337
- Object.defineProperty(w, E, Object.getOwnPropertyDescriptor(u, E));
4335
+ F(b, E, u[E]);
4336
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(u)) : p(Object(u)).forEach(function(E) {
4337
+ Object.defineProperty(b, E, Object.getOwnPropertyDescriptor(u, E));
4338
4338
  });
4339
4339
  }
4340
- return w;
4340
+ return b;
4341
4341
  }
4342
- function y(w) {
4342
+ function x(b) {
4343
4343
  "@babel/helpers - typeof";
4344
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? y = function(d) {
4344
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? x = function(d) {
4345
4345
  return typeof d;
4346
- } : y = function(d) {
4346
+ } : x = function(d) {
4347
4347
  return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
4348
- }, y(w);
4348
+ }, x(b);
4349
4349
  }
4350
- function F(w, d) {
4351
- if (!(w instanceof d))
4350
+ function T(b, d) {
4351
+ if (!(b instanceof d))
4352
4352
  throw new TypeError("Cannot call a class as a function");
4353
4353
  }
4354
- function I(w, d) {
4354
+ function I(b, d) {
4355
4355
  for (var u = 0; u < d.length; u++) {
4356
4356
  var E = d[u];
4357
- E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(w, E.key, E);
4357
+ E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(b, E.key, E);
4358
4358
  }
4359
4359
  }
4360
- function k(w, d, u) {
4361
- return d && I(w.prototype, d), w;
4360
+ function k(b, d, u) {
4361
+ return d && I(b.prototype, d), b;
4362
4362
  }
4363
- function O(w, d, u) {
4364
- return d in w ? Object.defineProperty(w, d, {
4363
+ function F(b, d, u) {
4364
+ return d in b ? Object.defineProperty(b, d, {
4365
4365
  value: u,
4366
4366
  enumerable: !0,
4367
4367
  configurable: !0,
4368
4368
  writable: !0
4369
- }) : w[d] = u, w;
4369
+ }) : b[d] = u, b;
4370
4370
  }
4371
- function M() {
4372
- return M = Object.assign || function(w) {
4371
+ function V() {
4372
+ return V = Object.assign || function(b) {
4373
4373
  for (var d = 1; d < arguments.length; d++) {
4374
4374
  var u = arguments[d];
4375
4375
  for (var E in u)
4376
- Object.prototype.hasOwnProperty.call(u, E) && (w[E] = u[E]);
4376
+ Object.prototype.hasOwnProperty.call(u, E) && (b[E] = u[E]);
4377
4377
  }
4378
- return w;
4379
- }, M.apply(this, arguments);
4378
+ return b;
4379
+ }, V.apply(this, arguments);
4380
4380
  }
4381
- function Z(w, d) {
4381
+ function z(b, d) {
4382
4382
  if (typeof d != "function" && d !== null)
4383
4383
  throw new TypeError("Super expression must either be null or a function");
4384
- w.prototype = Object.create(d && d.prototype, {
4384
+ b.prototype = Object.create(d && d.prototype, {
4385
4385
  constructor: {
4386
- value: w,
4386
+ value: b,
4387
4387
  writable: !0,
4388
4388
  configurable: !0
4389
4389
  }
4390
- }), d && ce(w, d);
4390
+ }), d && ae(b, d);
4391
4391
  }
4392
- function U(w) {
4393
- return U = Object.setPrototypeOf ? Object.getPrototypeOf : function(u) {
4392
+ function B(b) {
4393
+ return B = Object.setPrototypeOf ? Object.getPrototypeOf : function(u) {
4394
4394
  return u.__proto__ || Object.getPrototypeOf(u);
4395
- }, U(w);
4395
+ }, B(b);
4396
4396
  }
4397
- function ce(w, d) {
4398
- return ce = Object.setPrototypeOf || function(E, T) {
4399
- return E.__proto__ = T, E;
4400
- }, ce(w, d);
4397
+ function ae(b, d) {
4398
+ return ae = Object.setPrototypeOf || function(E, O) {
4399
+ return E.__proto__ = O, E;
4400
+ }, ae(b, d);
4401
4401
  }
4402
- function le(w, d) {
4403
- if (w == null) return {};
4404
- var u = {}, E = Object.keys(w), T, ee;
4402
+ function ce(b, d) {
4403
+ if (b == null) return {};
4404
+ var u = {}, E = Object.keys(b), O, ee;
4405
4405
  for (ee = 0; ee < E.length; ee++)
4406
- T = E[ee], !(d.indexOf(T) >= 0) && (u[T] = w[T]);
4406
+ O = E[ee], !(d.indexOf(O) >= 0) && (u[O] = b[O]);
4407
4407
  return u;
4408
4408
  }
4409
- function re(w, d) {
4410
- if (w == null) return {};
4411
- var u = le(w, d), E, T;
4409
+ function re(b, d) {
4410
+ if (b == null) return {};
4411
+ var u = ce(b, d), E, O;
4412
4412
  if (Object.getOwnPropertySymbols) {
4413
- var ee = Object.getOwnPropertySymbols(w);
4414
- for (T = 0; T < ee.length; T++)
4415
- E = ee[T], !(d.indexOf(E) >= 0) && Object.prototype.propertyIsEnumerable.call(w, E) && (u[E] = w[E]);
4413
+ var ee = Object.getOwnPropertySymbols(b);
4414
+ for (O = 0; O < ee.length; O++)
4415
+ E = ee[O], !(d.indexOf(E) >= 0) && Object.prototype.propertyIsEnumerable.call(b, E) && (u[E] = b[E]);
4416
4416
  }
4417
4417
  return u;
4418
4418
  }
4419
- function J(w) {
4420
- if (w === void 0)
4419
+ function J(b) {
4420
+ if (b === void 0)
4421
4421
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4422
- return w;
4422
+ return b;
4423
4423
  }
4424
- function H(w, d) {
4424
+ function H(b, d) {
4425
4425
  if (d && (typeof d == "object" || typeof d == "function"))
4426
4426
  return d;
4427
4427
  if (d !== void 0)
4428
4428
  throw new TypeError("Derived constructors may only return object or undefined");
4429
- return J(w);
4429
+ return J(b);
4430
4430
  }
4431
- function G(w, d) {
4432
- return oe(w) || ge(w, d) || me(w, d) || Be();
4431
+ function G(b, d) {
4432
+ return oe(b) || ge(b, d) || me(b, d) || Be();
4433
4433
  }
4434
- function oe(w) {
4435
- if (Array.isArray(w)) return w;
4434
+ function oe(b) {
4435
+ if (Array.isArray(b)) return b;
4436
4436
  }
4437
- function ge(w, d) {
4438
- var u = w == null ? null : typeof Symbol != "undefined" && w[Symbol.iterator] || w["@@iterator"];
4437
+ function ge(b, d) {
4438
+ var u = b == null ? null : typeof Symbol != "undefined" && b[Symbol.iterator] || b["@@iterator"];
4439
4439
  if (u != null) {
4440
- var E = [], T = !0, ee = !1, xe, Pe;
4440
+ var E = [], O = !0, ee = !1, xe, Pe;
4441
4441
  try {
4442
- for (u = u.call(w); !(T = (xe = u.next()).done) && (E.push(xe.value), !(d && E.length === d)); T = !0)
4442
+ for (u = u.call(b); !(O = (xe = u.next()).done) && (E.push(xe.value), !(d && E.length === d)); O = !0)
4443
4443
  ;
4444
- } catch (Jt) {
4445
- ee = !0, Pe = Jt;
4444
+ } catch (Qt) {
4445
+ ee = !0, Pe = Qt;
4446
4446
  } finally {
4447
4447
  try {
4448
- !T && u.return != null && u.return();
4448
+ !O && u.return != null && u.return();
4449
4449
  } finally {
4450
4450
  if (ee) throw Pe;
4451
4451
  }
@@ -4453,17 +4453,17 @@ function Rl() {
4453
4453
  return E;
4454
4454
  }
4455
4455
  }
4456
- function me(w, d) {
4457
- if (w) {
4458
- if (typeof w == "string") return we(w, d);
4459
- var u = Object.prototype.toString.call(w).slice(8, -1);
4460
- if (u === "Object" && w.constructor && (u = w.constructor.name), u === "Map" || u === "Set") return Array.from(w);
4461
- if (u === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)) return we(w, d);
4456
+ function me(b, d) {
4457
+ if (b) {
4458
+ if (typeof b == "string") return we(b, d);
4459
+ var u = Object.prototype.toString.call(b).slice(8, -1);
4460
+ if (u === "Object" && b.constructor && (u = b.constructor.name), u === "Map" || u === "Set") return Array.from(b);
4461
+ if (u === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)) return we(b, d);
4462
4462
  }
4463
4463
  }
4464
- function we(w, d) {
4465
- (d == null || d > w.length) && (d = w.length);
4466
- for (var u = 0, E = new Array(d); u < d; u++) E[u] = w[u];
4464
+ function we(b, d) {
4465
+ (d == null || d > b.length) && (d = b.length);
4466
+ for (var u = 0, E = new Array(d); u < d; u++) E[u] = b[u];
4467
4467
  return E;
4468
4468
  }
4469
4469
  function Be() {
@@ -4478,7 +4478,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4478
4478
  Wearable: "wearable",
4479
4479
  Embedded: "embedded",
4480
4480
  Browser: void 0
4481
- }, z = {
4481
+ }, q = {
4482
4482
  Chrome: "Chrome",
4483
4483
  Firefox: "Firefox",
4484
4484
  Opera: "Opera",
@@ -4538,7 +4538,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4538
4538
  default:
4539
4539
  return ye;
4540
4540
  }
4541
- }, Me = function(d) {
4541
+ }, De = function(d) {
4542
4542
  return h(d);
4543
4543
  }, N = function(d) {
4544
4544
  var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
@@ -4548,7 +4548,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4548
4548
  }, je = function(d) {
4549
4549
  var u = ne();
4550
4550
  return u && u.platform && (u.platform.indexOf(d) !== -1 || u.platform === "MacIntel" && u.maxTouchPoints > 1 && !window.MSStream);
4551
- }, Ke = function(d, u, E, T, ee) {
4551
+ }, Ke = function(d, u, E, O, ee) {
4552
4552
  return {
4553
4553
  isBrowser: d,
4554
4554
  browserMajorVersion: N(u.major),
@@ -4556,71 +4556,71 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4556
4556
  browserName: N(u.name),
4557
4557
  engineName: N(E.name),
4558
4558
  engineVersion: N(E.version),
4559
- osName: N(T.name),
4560
- osVersion: N(T.version),
4559
+ osName: N(O.name),
4560
+ osVersion: N(O.version),
4561
4561
  userAgent: N(ee)
4562
4562
  };
4563
- }, tt = function(d, u, E, T) {
4563
+ }, tt = function(d, u, E, O) {
4564
4564
  return m({}, d, {
4565
4565
  vendor: N(u.vendor),
4566
4566
  model: N(u.model),
4567
4567
  os: N(E.name),
4568
4568
  osVersion: N(E.version),
4569
- ua: N(T)
4569
+ ua: N(O)
4570
4570
  });
4571
- }, ze = function(d, u, E, T) {
4571
+ }, ze = function(d, u, E, O) {
4572
4572
  return {
4573
4573
  isSmartTV: d,
4574
4574
  engineName: N(u.name),
4575
4575
  engineVersion: N(u.version),
4576
4576
  osName: N(E.name),
4577
4577
  osVersion: N(E.version),
4578
- userAgent: N(T)
4578
+ userAgent: N(O)
4579
4579
  };
4580
- }, ft = function(d, u, E, T) {
4580
+ }, ft = function(d, u, E, O) {
4581
4581
  return {
4582
4582
  isConsole: d,
4583
4583
  engineName: N(u.name),
4584
4584
  engineVersion: N(u.version),
4585
4585
  osName: N(E.name),
4586
4586
  osVersion: N(E.version),
4587
- userAgent: N(T)
4587
+ userAgent: N(O)
4588
4588
  };
4589
- }, at = function(d, u, E, T) {
4589
+ }, at = function(d, u, E, O) {
4590
4590
  return {
4591
4591
  isWearable: d,
4592
4592
  engineName: N(u.name),
4593
4593
  engineVersion: N(u.version),
4594
4594
  osName: N(E.name),
4595
4595
  osVersion: N(E.version),
4596
- userAgent: N(T)
4596
+ userAgent: N(O)
4597
4597
  };
4598
- }, xt = function(d, u, E, T, ee) {
4598
+ }, xt = function(d, u, E, O, ee) {
4599
4599
  return {
4600
4600
  isEmbedded: d,
4601
4601
  vendor: N(u.vendor),
4602
4602
  model: N(u.model),
4603
4603
  engineName: N(E.name),
4604
4604
  engineVersion: N(E.version),
4605
- osName: N(T.name),
4606
- osVersion: N(T.version),
4605
+ osName: N(O.name),
4606
+ osVersion: N(O.version),
4607
4607
  userAgent: N(ee)
4608
4608
  };
4609
4609
  };
4610
- function ht(w) {
4611
- var d = w ? c(w) : v, u = d.device, E = d.browser, T = d.engine, ee = d.os, xe = d.ua, Pe = ke(u.type), Jt = Pe.isBrowser, Cs = Pe.isMobile, ys = Pe.isTablet, An = Pe.isSmartTV, In = Pe.isConsole, Vn = Pe.isWearable, Rn = Pe.isEmbedded;
4612
- if (Jt)
4613
- return Ke(Jt, E, T, ee, xe);
4610
+ function ht(b) {
4611
+ var d = b ? c(b) : v, u = d.device, E = d.browser, O = d.engine, ee = d.os, xe = d.ua, Pe = ke(u.type), Qt = Pe.isBrowser, Cs = Pe.isMobile, ys = Pe.isTablet, An = Pe.isSmartTV, In = Pe.isConsole, Vn = Pe.isWearable, Rn = Pe.isEmbedded;
4612
+ if (Qt)
4613
+ return Ke(Qt, E, O, ee, xe);
4614
4614
  if (An)
4615
- return ze(An, T, ee, xe);
4615
+ return ze(An, O, ee, xe);
4616
4616
  if (In)
4617
- return ft(In, T, ee, xe);
4617
+ return ft(In, O, ee, xe);
4618
4618
  if (Cs || ys)
4619
4619
  return tt(Pe, u, ee, xe);
4620
4620
  if (Vn)
4621
- return at(Vn, T, ee, xe);
4621
+ return at(Vn, O, ee, xe);
4622
4622
  if (Rn)
4623
- return xt(Rn, u, T, ee, xe);
4623
+ return xt(Rn, u, O, ee, xe);
4624
4624
  }
4625
4625
  var lt = function(d) {
4626
4626
  var u = d.type;
@@ -4646,16 +4646,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4646
4646
  }, S = function(d) {
4647
4647
  var u = d.type;
4648
4648
  return u === de.Embedded;
4649
- }, D = function(d) {
4649
+ }, M = function(d) {
4650
4650
  var u = d.vendor;
4651
4651
  return N(u);
4652
4652
  }, A = function(d) {
4653
4653
  var u = d.model;
4654
4654
  return N(u);
4655
- }, V = function(d) {
4655
+ }, R = function(d) {
4656
4656
  var u = d.type;
4657
4657
  return N(u, "browser");
4658
- }, B = function(d) {
4658
+ }, L = function(d) {
4659
4659
  var u = d.name;
4660
4660
  return u === ue.Android;
4661
4661
  }, K = function(d) {
@@ -4664,7 +4664,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4664
4664
  }, W = function(d) {
4665
4665
  var u = d.name;
4666
4666
  return u === ue.MAC_OS;
4667
- }, ae = function(d) {
4667
+ }, le = function(d) {
4668
4668
  var u = d.name;
4669
4669
  return u === ue.WindowsPhone;
4670
4670
  }, Ve = function(d) {
@@ -4676,39 +4676,39 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4676
4676
  }, Q = function(d) {
4677
4677
  var u = d.name;
4678
4678
  return N(u);
4679
- }, L = function(d) {
4679
+ }, U = function(d) {
4680
4680
  var u = d.name;
4681
- return u === z.Chrome;
4681
+ return u === q.Chrome;
4682
4682
  }, se = function(d) {
4683
4683
  var u = d.name;
4684
- return u === z.Firefox;
4685
- }, De = function(d) {
4684
+ return u === q.Firefox;
4685
+ }, Me = function(d) {
4686
4686
  var u = d.name;
4687
- return u === z.Chromium;
4687
+ return u === q.Chromium;
4688
4688
  }, Te = function(d) {
4689
4689
  var u = d.name;
4690
- return u === z.Edge;
4690
+ return u === q.Edge;
4691
4691
  }, ie = function(d) {
4692
4692
  var u = d.name;
4693
- return u === z.Yandex;
4693
+ return u === q.Yandex;
4694
4694
  }, $ = function(d) {
4695
4695
  var u = d.name;
4696
- return u === z.Safari || u === z.MobileSafari;
4696
+ return u === q.Safari || u === q.MobileSafari;
4697
4697
  }, Le = function(d) {
4698
4698
  var u = d.name;
4699
- return u === z.MobileSafari;
4699
+ return u === q.MobileSafari;
4700
4700
  }, St = function(d) {
4701
4701
  var u = d.name;
4702
- return u === z.Opera;
4703
- }, Mt = function(d) {
4702
+ return u === q.Opera;
4703
+ }, Dt = function(d) {
4704
4704
  var u = d.name;
4705
- return u === z.InternetExplorer || u === z.Ie;
4705
+ return u === q.InternetExplorer || u === q.Ie;
4706
4706
  }, sn = function(d) {
4707
4707
  var u = d.name;
4708
- return u === z.MIUI;
4708
+ return u === q.MIUI;
4709
4709
  }, an = function(d) {
4710
4710
  var u = d.name;
4711
- return u === z.SamsungBrowser;
4711
+ return u === q.SamsungBrowser;
4712
4712
  }, ln = function(d) {
4713
4713
  var u = d.version;
4714
4714
  return N(u);
@@ -4741,41 +4741,41 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4741
4741
  }, mn = function(d) {
4742
4742
  return N(d);
4743
4743
  };
4744
- function vn(w) {
4745
- var d = w || v, u = d.device, E = d.browser, T = d.os, ee = d.engine, xe = d.ua;
4744
+ function vn(b) {
4745
+ var d = b || v, u = d.device, E = d.browser, O = d.os, ee = d.engine, xe = d.ua;
4746
4746
  return {
4747
4747
  isSmartTV: ct(u),
4748
4748
  isConsole: C(u),
4749
4749
  isWearable: f(u),
4750
4750
  isEmbedded: S(u),
4751
4751
  isMobileSafari: Le(E) || Je(),
4752
- isChromium: De(E),
4752
+ isChromium: Me(E),
4753
4753
  isMobile: Et(u) || Je(),
4754
4754
  isMobileOnly: lt(u),
4755
4755
  isTablet: pt(u) || Je(),
4756
4756
  isBrowser: Xe(u),
4757
4757
  isDesktop: Xe(u),
4758
- isAndroid: B(T),
4759
- isWinPhone: ae(T),
4760
- isIOS: Ve(T) || Je(),
4761
- isChrome: L(E),
4758
+ isAndroid: L(O),
4759
+ isWinPhone: le(O),
4760
+ isIOS: Ve(O) || Je(),
4761
+ isChrome: U(E),
4762
4762
  isFirefox: se(E),
4763
4763
  isSafari: $(E),
4764
4764
  isOpera: St(E),
4765
- isIE: Mt(E),
4766
- osVersion: j(T),
4767
- osName: Q(T),
4765
+ isIE: Dt(E),
4766
+ osVersion: j(O),
4767
+ osName: Q(O),
4768
4768
  fullBrowserVersion: ln(E),
4769
4769
  browserVersion: cn(E),
4770
4770
  browserName: dn(E),
4771
- mobileVendor: D(u),
4771
+ mobileVendor: M(u),
4772
4772
  mobileModel: A(u),
4773
4773
  engineName: un(ee),
4774
4774
  engineVersion: fn(ee),
4775
4775
  getUA: mn(xe),
4776
4776
  isEdge: Te(E) || kt(xe),
4777
4777
  isYandex: ie(E),
4778
- deviceType: V(u),
4778
+ deviceType: R(u),
4779
4779
  isIOS13: pn(),
4780
4780
  isIPad13: Je(),
4781
4781
  isIPhone13: _n(),
@@ -4783,84 +4783,84 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4783
4783
  isElectron: hn(),
4784
4784
  isEdgeChromium: kt(xe),
4785
4785
  isLegacyEdge: Te(E) && !kt(xe),
4786
- isWindows: K(T),
4787
- isMacOs: W(T),
4786
+ isWindows: K(O),
4787
+ isMacOs: W(O),
4788
4788
  isMIUI: sn(E),
4789
4789
  isSamsungBrowser: an(E)
4790
4790
  };
4791
4791
  }
4792
- var bn = ct(l), wn = C(l), Cn = f(l), Oo = S(l), To = Le(o) || Je(), Fo = De(o), Xt = Et(l) || Je(), yn = lt(l), xn = pt(l) || Je(), En = Xe(l), Ao = Xe(l), Sn = B(g), kn = ae(g), On = Ve(g) || Je(), Io = L(o), Vo = se(o), Ro = $(o), Mo = St(o), Tn = Mt(o), Do = j(g), Po = Q(g), No = ln(o), Bo = cn(o), Lo = dn(o), Uo = D(l), Ho = A(l), Wo = un(_), $o = fn(_), jo = mn(b), zo = Te(o) || kt(b), qo = ie(o), Zo = V(l), Go = pn(), Yo = Je(), Ko = _n(), Xo = gn(), Jo = hn(), Qo = kt(b), es = Te(o) && !kt(b), ts = K(g), rs = W(g), ns = sn(o), is = an(o), os = function(d) {
4792
+ var bn = ct(l), wn = C(l), Cn = f(l), Oo = S(l), To = Le(o) || Je(), Fo = Me(o), Jt = Et(l) || Je(), yn = lt(l), xn = pt(l) || Je(), En = Xe(l), Ao = Xe(l), Sn = L(g), kn = le(g), On = Ve(g) || Je(), Io = U(o), Vo = se(o), Ro = $(o), Do = St(o), Tn = Dt(o), Mo = j(g), Po = Q(g), No = ln(o), Bo = cn(o), Lo = dn(o), Uo = M(l), Ho = A(l), Wo = un(_), $o = fn(_), jo = mn(w), zo = Te(o) || kt(w), qo = ie(o), Zo = R(l), Go = pn(), Yo = Je(), Ko = _n(), Xo = gn(), Jo = hn(), Qo = kt(w), es = Te(o) && !kt(w), ts = K(g), rs = W(g), ns = sn(o), is = an(o), os = function(d) {
4793
4793
  if (!d || typeof d != "string") {
4794
4794
  console.error("No valid user agent string was provided");
4795
4795
  return;
4796
4796
  }
4797
- var u = c(d), E = u.device, T = u.browser, ee = u.os, xe = u.engine, Pe = u.ua;
4797
+ var u = c(d), E = u.device, O = u.browser, ee = u.os, xe = u.engine, Pe = u.ua;
4798
4798
  return vn({
4799
4799
  device: E,
4800
- browser: T,
4800
+ browser: O,
4801
4801
  os: ee,
4802
4802
  engine: xe,
4803
4803
  ua: Pe
4804
4804
  });
4805
4805
  }, ss = function(d) {
4806
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4807
- return Sn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4806
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4807
+ return Sn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4808
4808
  }, as = function(d) {
4809
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4810
- return En ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4809
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4810
+ return En ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4811
4811
  }, ls = function(d) {
4812
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4813
- return Tn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4812
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4813
+ return Tn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4814
4814
  }, cs = function(d) {
4815
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4816
- return On ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4815
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4816
+ return On ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4817
4817
  }, ds = function(d) {
4818
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4819
- return Xt ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4818
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4819
+ return Jt ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4820
4820
  }, us = function(d) {
4821
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4822
- return xn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4821
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4822
+ return xn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4823
4823
  }, fs = function(d) {
4824
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4825
- return kn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4824
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4825
+ return kn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4826
4826
  }, hs = function(d) {
4827
4827
  var u = d.renderWithFragment, E = d.children;
4828
4828
  d.viewClassName, d.style;
4829
- var T = re(d, ["renderWithFragment", "children", "viewClassName", "style"]);
4830
- return yn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4829
+ var O = re(d, ["renderWithFragment", "children", "viewClassName", "style"]);
4830
+ return yn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4831
4831
  }, ps = function(d) {
4832
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4833
- return bn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4832
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4833
+ return bn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4834
4834
  }, _s = function(d) {
4835
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4836
- return wn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4835
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4836
+ return wn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4837
4837
  }, gs = function(d) {
4838
- var u = d.renderWithFragment, E = d.children, T = re(d, ["renderWithFragment", "children"]);
4839
- return Cn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", T, E) : null;
4838
+ var u = d.renderWithFragment, E = d.children, O = re(d, ["renderWithFragment", "children"]);
4839
+ return Cn ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", O, E) : null;
4840
4840
  }, ms = function(d) {
4841
4841
  var u = d.renderWithFragment, E = d.children;
4842
4842
  d.viewClassName, d.style;
4843
- var T = d.condition, ee = re(d, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
4844
- return T ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", ee, E) : null;
4843
+ var O = d.condition, ee = re(d, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
4844
+ return O ? u ? r.createElement(t.Fragment, null, E) : r.createElement("div", ee, E) : null;
4845
4845
  };
4846
- function vs(w) {
4846
+ function vs(b) {
4847
4847
  return /* @__PURE__ */ (function(d) {
4848
- Z(u, d);
4848
+ z(u, d);
4849
4849
  function u(E) {
4850
- var T;
4851
- return F(this, u), T = H(this, U(u).call(this, E)), T.isEventListenerAdded = !1, T.handleOrientationChange = T.handleOrientationChange.bind(J(T)), T.onOrientationChange = T.onOrientationChange.bind(J(T)), T.onPageLoad = T.onPageLoad.bind(J(T)), T.state = {
4850
+ var O;
4851
+ return T(this, u), O = H(this, B(u).call(this, E)), O.isEventListenerAdded = !1, O.handleOrientationChange = O.handleOrientationChange.bind(J(O)), O.onOrientationChange = O.onOrientationChange.bind(J(O)), O.onPageLoad = O.onPageLoad.bind(J(O)), O.state = {
4852
4852
  isLandscape: !1,
4853
4853
  isPortrait: !1
4854
- }, T;
4854
+ }, O;
4855
4855
  }
4856
4856
  return k(u, [{
4857
4857
  key: "handleOrientationChange",
4858
4858
  value: function() {
4859
4859
  this.isEventListenerAdded || (this.isEventListenerAdded = !0);
4860
- var T = window.innerWidth > window.innerHeight ? 90 : 0;
4860
+ var O = window.innerWidth > window.innerHeight ? 90 : 0;
4861
4861
  this.setState({
4862
- isPortrait: T === 0,
4863
- isLandscape: T === 90
4862
+ isPortrait: O === 0,
4863
+ isLandscape: O === 90
4864
4864
  });
4865
4865
  }
4866
4866
  }, {
@@ -4876,7 +4876,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4876
4876
  }, {
4877
4877
  key: "componentDidMount",
4878
4878
  value: function() {
4879
- (typeof window == "undefined" ? "undefined" : y(window)) !== void 0 && Xt && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
4879
+ (typeof window == "undefined" ? "undefined" : x(window)) !== void 0 && Jt && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
4880
4880
  }
4881
4881
  }, {
4882
4882
  key: "componentWillUnmount",
@@ -4886,7 +4886,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4886
4886
  }, {
4887
4887
  key: "render",
4888
4888
  value: function() {
4889
- return r.createElement(w, M({}, this.props, {
4889
+ return r.createElement(b, V({}, this.props, {
4890
4890
  isLandscape: this.state.isLandscape,
4891
4891
  isPortrait: this.state.isPortrait
4892
4892
  }));
@@ -4895,14 +4895,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4895
4895
  })(r.Component);
4896
4896
  }
4897
4897
  function bs() {
4898
- var w = t.useState(function() {
4898
+ var b = t.useState(function() {
4899
4899
  var ee = window.innerWidth > window.innerHeight ? 90 : 0;
4900
4900
  return {
4901
4901
  isPortrait: ee === 0,
4902
4902
  isLandscape: ee === 90,
4903
4903
  orientation: ee === 0 ? "portrait" : "landscape"
4904
4904
  };
4905
- }), d = G(w, 2), u = d[0], E = d[1], T = t.useCallback(function() {
4905
+ }), d = G(b, 2), u = d[0], E = d[1], O = t.useCallback(function() {
4906
4906
  var ee = window.innerWidth > window.innerHeight ? 90 : 0, xe = {
4907
4907
  isPortrait: ee === 0,
4908
4908
  isLandscape: ee === 90,
@@ -4911,25 +4911,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4911
4911
  u.orientation !== xe.orientation && E(xe);
4912
4912
  }, [u.orientation]);
4913
4913
  return t.useEffect(function() {
4914
- return (typeof window == "undefined" ? "undefined" : y(window)) !== void 0 && Xt && (T(), window.addEventListener("load", T, !1), window.addEventListener("resize", T, !1)), function() {
4915
- window.removeEventListener("resize", T, !1), window.removeEventListener("load", T, !1);
4914
+ return (typeof window == "undefined" ? "undefined" : x(window)) !== void 0 && Jt && (O(), window.addEventListener("load", O, !1), window.addEventListener("resize", O, !1)), function() {
4915
+ window.removeEventListener("resize", O, !1), window.removeEventListener("load", O, !1);
4916
4916
  };
4917
- }, [T]), u;
4917
+ }, [O]), u;
4918
4918
  }
4919
- function Fn(w) {
4920
- var d = w || window.navigator.userAgent;
4919
+ function Fn(b) {
4920
+ var d = b || window.navigator.userAgent;
4921
4921
  return c(d);
4922
4922
  }
4923
- function ws(w) {
4924
- var d = w || window.navigator.userAgent, u = Fn(d), E = vn(u);
4923
+ function ws(b) {
4924
+ var d = b || window.navigator.userAgent, u = Fn(d), E = vn(u);
4925
4925
  return [E, u];
4926
4926
  }
4927
- return P.AndroidView = ss, P.BrowserTypes = z, P.BrowserView = as, P.ConsoleView = _s, P.CustomView = ms, P.IEView = ls, P.IOSView = cs, P.MobileOnlyView = hs, P.MobileView = ds, P.OsTypes = ue, P.SmartTVView = ps, P.TabletView = us, P.WearableView = gs, P.WinPhoneView = fs, P.browserName = Lo, P.browserVersion = Bo, P.deviceDetect = ht, P.deviceType = Zo, P.engineName = Wo, P.engineVersion = $o, P.fullBrowserVersion = No, P.getSelectorsByUserAgent = os, P.getUA = jo, P.isAndroid = Sn, P.isBrowser = En, P.isChrome = Io, P.isChromium = Fo, P.isConsole = wn, P.isDesktop = Ao, P.isEdge = zo, P.isEdgeChromium = Qo, P.isElectron = Jo, P.isEmbedded = Oo, P.isFirefox = Vo, P.isIE = Tn, P.isIOS = On, P.isIOS13 = Go, P.isIPad13 = Yo, P.isIPhone13 = Ko, P.isIPod13 = Xo, P.isLegacyEdge = es, P.isMIUI = ns, P.isMacOs = rs, P.isMobile = Xt, P.isMobileOnly = yn, P.isMobileSafari = To, P.isOpera = Mo, P.isSafari = Ro, P.isSamsungBrowser = is, P.isSmartTV = bn, P.isTablet = xn, P.isWearable = Cn, P.isWinPhone = kn, P.isWindows = ts, P.isYandex = qo, P.mobileModel = Ho, P.mobileVendor = Uo, P.osName = Po, P.osVersion = Do, P.parseUserAgent = c, P.setUserAgent = Me, P.useDeviceData = Fn, P.useDeviceSelectors = ws, P.useMobileOrientation = bs, P.withOrientationChange = vs, P;
4927
+ return P.AndroidView = ss, P.BrowserTypes = q, P.BrowserView = as, P.ConsoleView = _s, P.CustomView = ms, P.IEView = ls, P.IOSView = cs, P.MobileOnlyView = hs, P.MobileView = ds, P.OsTypes = ue, P.SmartTVView = ps, P.TabletView = us, P.WearableView = gs, P.WinPhoneView = fs, P.browserName = Lo, P.browserVersion = Bo, P.deviceDetect = ht, P.deviceType = Zo, P.engineName = Wo, P.engineVersion = $o, P.fullBrowserVersion = No, P.getSelectorsByUserAgent = os, P.getUA = jo, P.isAndroid = Sn, P.isBrowser = En, P.isChrome = Io, P.isChromium = Fo, P.isConsole = wn, P.isDesktop = Ao, P.isEdge = zo, P.isEdgeChromium = Qo, P.isElectron = Jo, P.isEmbedded = Oo, P.isFirefox = Vo, P.isIE = Tn, P.isIOS = On, P.isIOS13 = Go, P.isIPad13 = Yo, P.isIPhone13 = Ko, P.isIPod13 = Xo, P.isLegacyEdge = es, P.isMIUI = ns, P.isMacOs = rs, P.isMobile = Jt, P.isMobileOnly = yn, P.isMobileSafari = To, P.isOpera = Do, P.isSafari = Ro, P.isSamsungBrowser = is, P.isSmartTV = bn, P.isTablet = xn, P.isWearable = Cn, P.isWinPhone = kn, P.isWindows = ts, P.isYandex = qo, P.mobileModel = Ho, P.mobileVendor = Uo, P.osName = Po, P.osVersion = Mo, P.parseUserAgent = c, P.setUserAgent = De, P.useDeviceData = Fn, P.useDeviceSelectors = ws, P.useMobileOrientation = bs, P.withOrientationChange = vs, P;
4928
4928
  }
4929
4929
  var gt = Rl();
4930
- const Ml = {
4930
+ const Dl = {
4931
4931
  display: "none"
4932
- }, Dl = {
4932
+ }, Ml = {
4933
4933
  display: "flex",
4934
4934
  alignItems: "center",
4935
4935
  justifyContent: "center",
@@ -4955,31 +4955,31 @@ const Ml = {
4955
4955
  buttons: n,
4956
4956
  selectionLimit: i
4957
4957
  }) => {
4958
- var b, h;
4958
+ var w, h;
4959
4959
  const { perform: o } = yt(), a = $e(null), l = typeof i == "number" && (i === 0 || i > 1), _ = (c) => _e(null, null, function* () {
4960
4960
  var p;
4961
4961
  const v = Array.from((p = c.currentTarget.files) != null ? p : []);
4962
4962
  if (v.length)
4963
4963
  try {
4964
- const y = (yield Promise.allSettled(
4965
- v.map((F) => _e(null, null, function* () {
4964
+ const x = (yield Promise.allSettled(
4965
+ v.map((T) => _e(null, null, function* () {
4966
4966
  return {
4967
- content: yield Bi(F),
4967
+ content: yield Bi(T),
4968
4968
  metadata: {
4969
- name: F.name,
4970
- type: F.type,
4971
- size: F.size,
4972
- lastModified: F.lastModified
4969
+ name: T.name,
4970
+ type: T.type,
4971
+ size: T.size,
4972
+ lastModified: T.lastModified
4973
4973
  }
4974
4974
  };
4975
4975
  }))
4976
4976
  )).filter(
4977
- (F) => F.status === "fulfilled"
4978
- ).map((F) => F.value);
4977
+ (T) => T.status === "fulfilled"
4978
+ ).map((T) => T.value);
4979
4979
  o({
4980
4980
  cancel: !1,
4981
4981
  permissionDenied: !1,
4982
- files: y
4982
+ files: x
4983
4983
  });
4984
4984
  } catch (m) {
4985
4985
  console.error("Error: ", m);
@@ -5001,14 +5001,14 @@ const Ml = {
5001
5001
  }, []), /* @__PURE__ */ s(ut, { header: e, footer: t, backgroundColor: r, children: /* @__PURE__ */ s(Ie, { children: /* @__PURE__ */ s(
5002
5002
  "div",
5003
5003
  {
5004
- style: q(x({}, Pl), {
5004
+ style: Z(y({}, Pl), {
5005
5005
  justifyContent: "center"
5006
5006
  }),
5007
5007
  children: [
5008
5008
  /* @__PURE__ */ s(
5009
5009
  "input",
5010
- q(x({
5011
- style: Ml,
5010
+ Z(y({
5011
+ style: Dl,
5012
5012
  ref: a,
5013
5013
  type: "file",
5014
5014
  accept: "image/*",
@@ -5017,7 +5017,7 @@ const Ml = {
5017
5017
  onInput: _
5018
5018
  })
5019
5019
  ),
5020
- /* @__PURE__ */ s("button", { style: Dl, onClick: g, children: /* @__PURE__ */ s(Ae, { imageId: (h = (b = n == null ? void 0 : n[0]) == null ? void 0 : b.image) == null ? void 0 : h.imageId }) })
5020
+ /* @__PURE__ */ s("button", { style: Ml, onClick: g, children: /* @__PURE__ */ s(Ae, { imageId: (h = (w = n == null ? void 0 : n[0]) == null ? void 0 : w.image) == null ? void 0 : h.imageId }) })
5021
5021
  ]
5022
5022
  }
5023
5023
  ) }) });
@@ -5032,7 +5032,7 @@ function Bl() {
5032
5032
  (o = e.current) == null || o.hidePopover(), r(!1);
5033
5033
  } };
5034
5034
  }
5035
- const Cr = () => _e(null, null, function* () {
5035
+ const yr = () => _e(null, null, function* () {
5036
5036
  var e;
5037
5037
  try {
5038
5038
  const t = yield navigator.permissions.query({ name: "geolocation" });
@@ -5046,7 +5046,7 @@ const Cr = () => _e(null, null, function* () {
5046
5046
  } catch (e) {
5047
5047
  return null;
5048
5048
  }
5049
- }), nr = (e) => _e(null, null, function* () {
5049
+ }), Pt = (e) => _e(null, null, function* () {
5050
5050
  return new Promise((t) => {
5051
5051
  if (!navigator.geolocation)
5052
5052
  return t({
@@ -5161,35 +5161,36 @@ const Cr = () => _e(null, null, function* () {
5161
5161
  description: i,
5162
5162
  buttons: o,
5163
5163
  backgroundColor: a,
5164
- popups: l
5164
+ popups: l,
5165
+ askEveryTime: _
5165
5166
  }) => {
5166
- const _ = Li(o), { perform: g } = yt(), { setIsProcessingCallback: b } = Bs(), { ref: h, isPopoverOpen: c, openPopover: v, closePopover: p } = Bl(), m = {
5167
+ const g = Li(o), { perform: w } = yt(), { setIsProcessingCallback: h } = Bs(), { ref: c, isPopoverOpen: v, openPopover: p, closePopover: m } = Bl(), x = {
5167
5168
  enableHighAccuracy: !0,
5168
5169
  timeout: 15e3,
5169
5170
  maximumAge: 6e4
5170
- }, y = l == null ? void 0 : l.find((O) => O.reason === "system_restricted");
5171
+ }, T = l == null ? void 0 : l.find((V) => V.reason === "system_restricted");
5171
5172
  dt(() => {
5172
- gt.isSafari || b == null || b(!0);
5173
+ gt.isSafari || _ || h == null || h(!0);
5173
5174
  }, []), We(() => {
5174
- if (gt.isSafari) return;
5175
- let O = !0;
5175
+ if (gt.isSafari || _) return;
5176
+ let V = !0;
5176
5177
  return _e(null, null, function* () {
5177
- if ((yield Cr()) !== "granted") {
5178
- b == null || b(!1);
5178
+ if ((yield yr()) !== "granted") {
5179
+ h == null || h(!1);
5179
5180
  return;
5180
5181
  }
5181
- const Z = yield nr(m);
5182
- O && g(Z, _);
5182
+ const B = yield Pt(x);
5183
+ V && w(B, g);
5183
5184
  }), () => {
5184
- gt.isSafari || (O = !1);
5185
+ gt.isSafari || _ || (V = !1);
5185
5186
  };
5186
5187
  }, []), We(() => {
5187
5188
  if (gt.isSafari) return;
5188
- let O = !0, M = null;
5189
+ let V = !0, z = null;
5189
5190
  return _e(null, null, function* () {
5190
- const Z = yield Ll();
5191
- Z && (M = Z, Z.onchange = () => _e(null, null, function* () {
5192
- if (Z.state === "denied" && (b == null || b(!0), g(
5191
+ const B = yield Ll();
5192
+ B && (z = B, B.onchange = () => _e(null, null, function* () {
5193
+ if (B.state === "denied" && (h == null || h(!0), w(
5193
5194
  {
5194
5195
  location: {
5195
5196
  locationState: "application_location_restricted",
@@ -5198,43 +5199,46 @@ const Cr = () => _e(null, null, function* () {
5198
5199
  error: "Application location services restricted or unavailable"
5199
5200
  }
5200
5201
  },
5201
- _
5202
- )), Z.state === "granted") {
5203
- b == null || b(!0);
5204
- const U = yield nr(m);
5205
- if (!O) return;
5206
- g(U, _);
5202
+ g
5203
+ )), B.state === "granted") {
5204
+ h == null || h(!0);
5205
+ const ae = yield Pt(x);
5206
+ if (!V) return;
5207
+ w(ae, g);
5207
5208
  }
5208
5209
  }));
5209
5210
  }), () => {
5210
- gt.isSafari || (O = !1, M && (M.onchange = null));
5211
+ gt.isSafari || (V = !1, z && (z.onchange = null));
5211
5212
  };
5212
5213
  }, []);
5213
- const F = (O) => _e(null, null, function* () {
5214
- O.preventDefault();
5215
- const M = yield Cr();
5216
- if (M === "denied") {
5217
- v();
5214
+ const I = (V) => _e(null, null, function* () {
5215
+ V.preventDefault();
5216
+ const z = yield yr();
5217
+ if (z === "denied") {
5218
+ p();
5218
5219
  return;
5219
5220
  }
5220
- M === "prompt" && (yield nr());
5221
- }), I = (O) => _e(null, null, function* () {
5222
- if (O.preventDefault(), (yield Cr()) === "denied") {
5223
- v();
5221
+ if (z === "prompt" && (yield Pt()), z === "granted") {
5222
+ const B = yield Pt(x);
5223
+ w(B, g);
5224
+ }
5225
+ }), k = (V) => _e(null, null, function* () {
5226
+ if (V.preventDefault(), (yield yr()) === "denied") {
5227
+ p();
5224
5228
  return;
5225
5229
  }
5226
- b == null || b(!0);
5227
- const Z = yield nr(m);
5228
- g(Z, _);
5229
- }), k = (O) => {
5230
- O.preventDefault(), p();
5230
+ h == null || h(!0);
5231
+ const B = yield Pt(x);
5232
+ w(B, g);
5233
+ }), F = (V) => {
5234
+ V.preventDefault(), m();
5231
5235
  };
5232
5236
  return /* @__PURE__ */ s(ut, { header: t, footer: r, backgroundColor: a, children: [
5233
5237
  /* @__PURE__ */ s("div", { style: Ul, children: [
5234
5238
  /* @__PURE__ */ s("div", { style: Hl, children: [
5235
- n && /* @__PURE__ */ s("div", { style: $l, children: /* @__PURE__ */ s(Ae, x({}, n)) }),
5236
- e && /* @__PURE__ */ s("div", { style: jl, children: /* @__PURE__ */ s(be, x({}, e)) }),
5237
- i && /* @__PURE__ */ s("div", { style: zl, children: /* @__PURE__ */ s(_r, x({}, i)) })
5239
+ n && /* @__PURE__ */ s("div", { style: $l, children: /* @__PURE__ */ s(Ae, y({}, n)) }),
5240
+ e && /* @__PURE__ */ s("div", { style: jl, children: /* @__PURE__ */ s(be, y({}, e)) }),
5241
+ i && /* @__PURE__ */ s("div", { style: zl, children: /* @__PURE__ */ s(gr, y({}, i)) })
5238
5242
  ] }),
5239
5243
  !!(o != null && o.length) && /* @__PURE__ */ s(
5240
5244
  "div",
@@ -5243,46 +5247,46 @@ const Cr = () => _e(null, null, function* () {
5243
5247
  display: "flex",
5244
5248
  flexDirection: "column"
5245
5249
  },
5246
- children: o.map((O, M) => /* @__PURE__ */ s("div", { style: { padding: "5px" }, children: /* @__PURE__ */ s(
5247
- cr,
5248
- x(x({
5250
+ children: o.map((V, z) => /* @__PURE__ */ s("div", { style: { padding: "5px" }, children: /* @__PURE__ */ s(
5251
+ dr,
5252
+ y(y({
5249
5253
  dataTestId: "question-button"
5250
- }, O), O.type === "FORM" ? {
5251
- onClick: gt.isSafari ? I : F
5254
+ }, V), V.type === "FORM" ? {
5255
+ onClick: gt.isSafari ? k : I
5252
5256
  } : {})
5253
- ) }, M))
5257
+ ) }, z))
5254
5258
  }
5255
5259
  )
5256
5260
  ] }),
5257
- y && /* @__PURE__ */ s(
5261
+ T && /* @__PURE__ */ s(
5258
5262
  "div",
5259
5263
  {
5260
- ref: h,
5264
+ ref: c,
5261
5265
  popover: "manual",
5262
5266
  role: "dialog",
5263
5267
  "aria-modal": "true",
5264
- style: q(x({}, ql), {
5265
- borderRadius: y.cornerRadius || "27px",
5266
- backgroundColor: y.backgroundColor || "#ffffff"
5268
+ style: Z(y({}, ql), {
5269
+ borderRadius: T.cornerRadius || "27px",
5270
+ backgroundColor: T.backgroundColor || "#ffffff"
5267
5271
  }),
5268
5272
  children: [
5269
- /* @__PURE__ */ s("div", { style: Zl, children: /* @__PURE__ */ s(be, x({}, x({ fontSize: "24px" }, y.title))) }),
5270
- /* @__PURE__ */ s("div", { style: Gl, children: /* @__PURE__ */ s("div", { style: Yl, children: /* @__PURE__ */ s(be, x({}, x({ fontSize: "17px" }, y.message))) }) }),
5271
- y.actionButton1 && /* @__PURE__ */ s("div", { style: Kl, children: /* @__PURE__ */ s(
5272
- cr,
5273
- x(x({
5273
+ /* @__PURE__ */ s("div", { style: Zl, children: /* @__PURE__ */ s(be, y({}, y({ fontSize: "24px" }, T.title))) }),
5274
+ /* @__PURE__ */ s("div", { style: Gl, children: /* @__PURE__ */ s("div", { style: Yl, children: /* @__PURE__ */ s(be, y({}, y({ fontSize: "17px" }, T.message))) }) }),
5275
+ T.actionButton1 && /* @__PURE__ */ s("div", { style: Kl, children: /* @__PURE__ */ s(
5276
+ dr,
5277
+ y(y({
5274
5278
  dataTestId: "question-button"
5275
- }, y.actionButton1), y.actionButton1.type === "FORM" ? { onClick: k } : {})
5279
+ }, T.actionButton1), T.actionButton1.type === "FORM" ? { onClick: F } : {})
5276
5280
  ) })
5277
5281
  ]
5278
5282
  }
5279
5283
  ),
5280
- c && /* @__PURE__ */ s(
5284
+ v && /* @__PURE__ */ s(
5281
5285
  "div",
5282
5286
  {
5283
5287
  style: Wl,
5284
- onPointerDown: (O) => {
5285
- O.preventDefault(), O.stopPropagation(), p();
5288
+ onPointerDown: (V) => {
5289
+ V.preventDefault(), V.stopPropagation(), m();
5286
5290
  }
5287
5291
  }
5288
5292
  )
@@ -5328,7 +5332,8 @@ const Cr = () => _e(null, null, function* () {
5328
5332
  description: r.description,
5329
5333
  buttons: r.buttons,
5330
5334
  backgroundColor: r.backgroundColor,
5331
- popups: r.popups
5335
+ popups: r.popups,
5336
+ askEveryTime: r.askEveryTime
5332
5337
  }
5333
5338
  );
5334
5339
  if (t === qe.PROGRESS)
@@ -5391,19 +5396,19 @@ const Cr = () => _e(null, null, function* () {
5391
5396
  a
5392
5397
  );
5393
5398
  if (t === qe.QUESTIONS && !n) {
5394
- const _ = new $t({
5395
- errorCode: lr.DECODING_FAILED,
5399
+ const _ = new jt({
5400
+ errorCode: cr.DECODING_FAILED,
5396
5401
  message: "No data for questions"
5397
5402
  });
5398
5403
  return o(_), null;
5399
5404
  }
5400
- const l = new $t({
5401
- errorCode: lr.DECODING_FAILED,
5405
+ const l = new jt({
5406
+ errorCode: cr.DECODING_FAILED,
5402
5407
  message: "Unsupported step template"
5403
5408
  });
5404
5409
  return o(l), null;
5405
5410
  };
5406
- let yr = !1;
5411
+ let xr = !1;
5407
5412
  const e1 = ({ children: e }) => /* @__PURE__ */ s(Ie, { children: [
5408
5413
  /* @__PURE__ */ s("style", { children: "#gui-idv-web-c *, #gui-idv-web-c *::before, #gui-idv-web-c *::after {box-sizing: border-box;}" }),
5409
5414
  e
@@ -5421,12 +5426,12 @@ const e1 = ({ children: e }) => /* @__PURE__ */ s(Ie, { children: [
5421
5426
  }
5422
5427
  ) }) }) : /* @__PURE__ */ s(Gn, { perform: l, setIsProcessingCallback: e, children: /* @__PURE__ */ s(wi, { children: /* @__PURE__ */ s(
5423
5428
  bi,
5424
- x(x({
5429
+ y(y({
5425
5430
  templateId: n,
5426
5431
  templateLayout: i
5427
5432
  }, t.backgroundColor ? { backgroundColor: t.backgroundColor } : {}), typeof t.selectionLimit == "number" ? { selectionLimit: t.selectionLimit } : {})
5428
5433
  ) }) });
5429
- }, Ht = class Ht extends Rs {
5434
+ }, Wt = class Wt extends Rs {
5430
5435
  constructor() {
5431
5436
  super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
5432
5437
  }
@@ -5484,25 +5489,25 @@ const e1 = ({ children: e }) => /* @__PURE__ */ s(Ie, { children: [
5484
5489
  });
5485
5490
  }
5486
5491
  static isReady() {
5487
- return yr;
5492
+ return xr;
5488
5493
  }
5489
5494
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5490
5495
  static initialize(t) {
5491
- yr = !0;
5496
+ xr = !0;
5492
5497
  }
5493
5498
  static deinitialize() {
5494
- yr = !1;
5499
+ xr = !1;
5495
5500
  }
5496
5501
  };
5497
- Ht.displayName = ar, Ht.getSupportedTemplates = () => Object.values(qe), Ht.getIdentifier = () => ar;
5498
- let Rr = Ht;
5499
- Ms(ar, Rr);
5502
+ Wt.displayName = lr, Wt.getSupportedTemplates = () => Object.values(qe), Wt.getIdentifier = () => lr;
5503
+ let Rr = Wt;
5504
+ Ds(lr, Rr);
5500
5505
  export {
5501
5506
  Rr as GuiIdv,
5502
5507
  Jl as GuiIdvReactComponent,
5503
5508
  qe as GuiIdvSteps,
5504
5509
  e1 as GuiIdvStyleInjectionWrapper,
5505
- lr as GuiModuleError,
5510
+ cr as GuiModuleError,
5506
5511
  fe as IDV_UI_ICONS,
5507
5512
  Fr as idvIconComponents
5508
5513
  };