@regulaforensics/idv-gui 3.2.277-nightly → 3.2.279-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +2 -2
- package/dist/main.js +240 -235
- package/dist/main.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var zs = Object.defineProperty, Os = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var xs = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var et = Object.getOwnPropertySymbols;
|
|
4
4
|
var vr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Cr = (e, i, t) => i in e ? zs(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, O = (e, i) => {
|
|
@@ -9,7 +9,7 @@ var Cr = (e, i, t) => i in e ? zs(e, i, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var t of et(i))
|
|
10
10
|
Lr.call(i, t) && Cr(e, t, i[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, J = (e, i) => Os(e,
|
|
12
|
+
}, J = (e, i) => Os(e, xs(i));
|
|
13
13
|
var Di = (e, i) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var r in e)
|
|
@@ -35,7 +35,7 @@ var De = (e, i, t) => new Promise((r, n) => {
|
|
|
35
35
|
}, M = (D) => D.done ? r(D.value) : Promise.resolve(D.value).then(o, s);
|
|
36
36
|
M((t = t.apply(e, i)).next());
|
|
37
37
|
});
|
|
38
|
-
var Zi, X, An, ji, kr, Tn, zn, On, Lt,
|
|
38
|
+
var Zi, X, An, ji, kr, Tn, zn, On, Lt, Et, ht, xn, Bi = {}, En = [], Es = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Hi = Array.isArray;
|
|
39
39
|
function qe(e, i) {
|
|
40
40
|
for (var t in i) e[t] = i[t];
|
|
41
41
|
return e;
|
|
@@ -85,7 +85,7 @@ function ot() {
|
|
|
85
85
|
ot.__r = 0;
|
|
86
86
|
}
|
|
87
87
|
function wn(e, i, t, r, n, o, s, M, D, j, A) {
|
|
88
|
-
var c, a, y, N, I, z, w, _ = r && r.__k ||
|
|
88
|
+
var c, a, y, N, I, z, w, _ = r && r.__k || En, h = i.length;
|
|
89
89
|
for (D = hs(t, i, _, D, h), c = 0; c < h; c++) (y = t.__k[c]) != null && (a = y.__i == -1 ? Bi : _[y.__i] || Bi, y.__i = c, z = Ut(e, y, a, n, o, s, M, D, j, A), N = y.__e, y.ref && a.ref != y.ref && (a.ref && Qt(a.ref, null, y), A.push(y.ref, y.__c || N, y)), I == null && N != null && (I = N), (w = !!(4 & y.__u)) || a.__k === y.__k ? D = pn(y, D, e, w) : typeof y.type == "function" && z !== void 0 ? D = z : N && (D = N.nextSibling), y.__u &= -7);
|
|
90
90
|
return t.__e = I, D;
|
|
91
91
|
}
|
|
@@ -121,7 +121,7 @@ function ms(e, i, t, r) {
|
|
|
121
121
|
return -1;
|
|
122
122
|
}
|
|
123
123
|
function Ur(e, i, t) {
|
|
124
|
-
i[0] == "-" ? e.setProperty(i, t == null ? "" : t) : e[i] = t == null ? "" : typeof t != "number" ||
|
|
124
|
+
i[0] == "-" ? e.setProperty(i, t == null ? "" : t) : e[i] = t == null ? "" : typeof t != "number" || Es.test(i) ? t : t + "px";
|
|
125
125
|
}
|
|
126
126
|
function it(e, i, t, r, n) {
|
|
127
127
|
var o, s;
|
|
@@ -130,7 +130,7 @@ function it(e, i, t, r, n) {
|
|
|
130
130
|
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (i in r) t && i in t || Ur(e.style, i, "");
|
|
131
131
|
if (t) for (i in t) r && t[i] == r[i] || Ur(e.style, i, t[i]);
|
|
132
132
|
}
|
|
133
|
-
else if (i[0] == "o" && i[1] == "n") o = i != (i = i.replace(On, "$1")), s = i.toLowerCase(), i = s in e || i == "onFocusOut" || i == "onFocusIn" ? s.slice(2) : i.slice(2), e.l || (e.l = {}), e.l[i + o] = t, t ? r ? t.u = r.u : (t.u = Lt, e.addEventListener(i, o ? ht :
|
|
133
|
+
else if (i[0] == "o" && i[1] == "n") o = i != (i = i.replace(On, "$1")), s = i.toLowerCase(), i = s in e || i == "onFocusOut" || i == "onFocusIn" ? s.slice(2) : i.slice(2), e.l || (e.l = {}), e.l[i + o] = t, t ? r ? t.u = r.u : (t.u = Lt, e.addEventListener(i, o ? ht : Et, o)) : e.removeEventListener(i, o ? ht : Et, o);
|
|
134
134
|
else {
|
|
135
135
|
if (n == "http://www.w3.org/2000/svg") i = i.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
136
136
|
else if (i != "width" && i != "height" && i != "href" && i != "list" && i != "form" && i != "tabIndex" && i != "download" && i != "rowSpan" && i != "colSpan" && i != "role" && i != "popover" && i in e) try {
|
|
@@ -294,11 +294,11 @@ function Yt(e) {
|
|
|
294
294
|
};
|
|
295
295
|
}), t.children;
|
|
296
296
|
}
|
|
297
|
-
return i.__c = "__cC" +
|
|
297
|
+
return i.__c = "__cC" + xn++, i.__ = e, i.Provider = i.__l = (i.Consumer = function(t, r) {
|
|
298
298
|
return t.children(r);
|
|
299
299
|
}).contextType = i, i;
|
|
300
300
|
}
|
|
301
|
-
Zi =
|
|
301
|
+
Zi = En.slice, X = { __e: function(e, i, t, r) {
|
|
302
302
|
for (var n, o, s; i = i.__; ) if ((n = i.__c) && !n.__) try {
|
|
303
303
|
if ((o = n.constructor) && o.getDerivedStateFromError != null && (n.setState(o.getDerivedStateFromError(e)), s = n.__d), n.componentDidCatch != null && (n.componentDidCatch(e, r || {}), s = n.__d), s) return n.__E = n;
|
|
304
304
|
} catch (M) {
|
|
@@ -312,7 +312,7 @@ Zi = xn.slice, X = { __e: function(e, i, t, r) {
|
|
|
312
312
|
this.__v && (this.__e = !0, e && this.__h.push(e), mt(this));
|
|
313
313
|
}, Ge.prototype.render = be, ji = [], Tn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, zn = function(e, i) {
|
|
314
314
|
return e.__v.__b - i.__v.__b;
|
|
315
|
-
}, ot.__r = 0, On = /(PointerCapture)$|Capture$/i, Lt = 0,
|
|
315
|
+
}, ot.__r = 0, On = /(PointerCapture)$|Capture$/i, Lt = 0, Et = Qr(!1), ht = Qr(!0), xn = 0;
|
|
316
316
|
var bs = 0;
|
|
317
317
|
function d(e, i, t, r, n, o) {
|
|
318
318
|
i || (i = {});
|
|
@@ -690,7 +690,7 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
|
|
|
690
690
|
[ce.DEFAULT]: () => ""
|
|
691
691
|
}, kn = ({ type: e, color: i }) => {
|
|
692
692
|
const t = _t[e] || _t[ce.DEFAULT], r = t == null ? void 0 : t(i);
|
|
693
|
-
return e === ce.SPINNER ? /* @__PURE__ */ d(Ps, { dataUrl: r }) : /* @__PURE__ */ d("img", { src: r });
|
|
693
|
+
return e === ce.SPINNER ? /* @__PURE__ */ d(Ps, { dataUrl: r }) : /* @__PURE__ */ d("img", { src: r, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
|
|
694
694
|
}, Ji = "#005fcc", at = "idv-gui", ut = {
|
|
695
695
|
DECODING_FAILED: "DECODING_FAILED"
|
|
696
696
|
}, At = {
|
|
@@ -777,8 +777,10 @@ const Bs = (e, i) => e.reduce((t, r) => {
|
|
|
777
777
|
"img",
|
|
778
778
|
{
|
|
779
779
|
style: {
|
|
780
|
-
width: "
|
|
781
|
-
height: "
|
|
780
|
+
width: "auto",
|
|
781
|
+
height: "auto",
|
|
782
|
+
maxWidth: "100%",
|
|
783
|
+
maxHeight: "100%",
|
|
782
784
|
objectFit: s(r),
|
|
783
785
|
borderRadius: n,
|
|
784
786
|
backgroundColor: ee(o) || "transparent",
|
|
@@ -808,8 +810,10 @@ const Bs = (e, i) => e.reduce((t, r) => {
|
|
|
808
810
|
"img",
|
|
809
811
|
{
|
|
810
812
|
style: {
|
|
811
|
-
width: "
|
|
812
|
-
height: "
|
|
813
|
+
width: "auto",
|
|
814
|
+
height: "auto",
|
|
815
|
+
maxWidth: "100%",
|
|
816
|
+
maxHeight: "100%",
|
|
813
817
|
objectFit: s(r),
|
|
814
818
|
borderRadius: n,
|
|
815
819
|
backgroundColor: o,
|
|
@@ -1658,17 +1662,17 @@ const zM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1658
1662
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1659
1663
|
var Xi = (e) => e.type === "checkbox", fi = (e) => e instanceof Date, Ce = (e) => e == null;
|
|
1660
1664
|
const lo = (e) => typeof e == "object";
|
|
1661
|
-
var
|
|
1665
|
+
var Ee = (e) => !Ce(e) && !Array.isArray(e) && lo(e) && !fi(e), co = (e) => Ee(e) && e.target ? Xi(e.target) ? e.target.checked : e.target.value : e, OM = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, go = (e, i) => e.has(OM(i)), xM = (e) => {
|
|
1662
1666
|
const i = e.constructor && e.constructor.prototype;
|
|
1663
|
-
return
|
|
1667
|
+
return Ee(i) && i.hasOwnProperty("isPrototypeOf");
|
|
1664
1668
|
}, Kt = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
|
|
1665
1669
|
function me(e) {
|
|
1666
1670
|
let i;
|
|
1667
1671
|
const t = Array.isArray(e), r = typeof FileList != "undefined" ? e instanceof FileList : !1;
|
|
1668
1672
|
if (e instanceof Date)
|
|
1669
1673
|
i = new Date(e);
|
|
1670
|
-
else if (!(Kt && (e instanceof Blob || r)) && (t ||
|
|
1671
|
-
if (i = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !
|
|
1674
|
+
else if (!(Kt && (e instanceof Blob || r)) && (t || Ee(e)))
|
|
1675
|
+
if (i = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !xM(e))
|
|
1672
1676
|
i = e;
|
|
1673
1677
|
else
|
|
1674
1678
|
for (const n in e)
|
|
@@ -1678,7 +1682,7 @@ function me(e) {
|
|
|
1678
1682
|
return i;
|
|
1679
1683
|
}
|
|
1680
1684
|
var yt = (e) => /^\w*$/.test(e), Te = (e) => e === void 0, qt = (e) => Array.isArray(e) ? e.filter(Boolean) : [], er = (e) => qt(e.replace(/["|']|\]/g, "").split(/\.|\[/)), C = (e, i, t) => {
|
|
1681
|
-
if (!i || !
|
|
1685
|
+
if (!i || !Ee(e))
|
|
1682
1686
|
return t;
|
|
1683
1687
|
const r = (yt(i) ? [i] : er(i)).reduce((n, o) => Ce(n) ? n : n[o], e);
|
|
1684
1688
|
return Te(r) || r === e ? Te(e[i]) ? t : e[i] : r;
|
|
@@ -1690,7 +1694,7 @@ var yt = (e) => /^\w*$/.test(e), Te = (e) => e === void 0, qt = (e) => Array.isA
|
|
|
1690
1694
|
let D = t;
|
|
1691
1695
|
if (r !== s) {
|
|
1692
1696
|
const j = e[M];
|
|
1693
|
-
D =
|
|
1697
|
+
D = Ee(j) || Array.isArray(j) ? j : isNaN(+n[r + 1]) ? {} : [];
|
|
1694
1698
|
}
|
|
1695
1699
|
if (M === "__proto__" || M === "constructor" || M === "prototype")
|
|
1696
1700
|
return;
|
|
@@ -1732,7 +1736,7 @@ var Do = (e, i, t, r = !0) => {
|
|
|
1732
1736
|
return n;
|
|
1733
1737
|
};
|
|
1734
1738
|
const tr = typeof window != "undefined" ? re.useLayoutEffect : re.useEffect;
|
|
1735
|
-
function
|
|
1739
|
+
function EM(e) {
|
|
1736
1740
|
const i = ir(), { control: t = i.control, disabled: r, name: n, exact: o } = e || {}, [s, M] = re.useState(t._formState), D = re.useRef({
|
|
1737
1741
|
isDirty: !1,
|
|
1738
1742
|
isLoading: !1,
|
|
@@ -1772,7 +1776,7 @@ function ni(e, i, t = /* @__PURE__ */ new WeakSet()) {
|
|
|
1772
1776
|
return !1;
|
|
1773
1777
|
if (o !== "ref") {
|
|
1774
1778
|
const M = i[o];
|
|
1775
|
-
if (fi(s) && fi(M) ||
|
|
1779
|
+
if (fi(s) && fi(M) || Ee(s) && Ee(M) || Array.isArray(s) && Array.isArray(M) ? !ni(s, M, t) : s !== M)
|
|
1776
1780
|
return !1;
|
|
1777
1781
|
}
|
|
1778
1782
|
}
|
|
@@ -1806,7 +1810,7 @@ function mM(e) {
|
|
|
1806
1810
|
name: t,
|
|
1807
1811
|
defaultValue: D,
|
|
1808
1812
|
exact: !0
|
|
1809
|
-
}), A =
|
|
1813
|
+
}), A = EM({
|
|
1810
1814
|
control: n,
|
|
1811
1815
|
name: t,
|
|
1812
1816
|
exact: !0
|
|
@@ -1918,14 +1922,14 @@ function yo(e, i) {
|
|
|
1918
1922
|
for (const r in e)
|
|
1919
1923
|
if (e.hasOwnProperty(r)) {
|
|
1920
1924
|
const n = e[r], o = i[r];
|
|
1921
|
-
if (n &&
|
|
1925
|
+
if (n && Ee(n) && o) {
|
|
1922
1926
|
const s = yo(n, o);
|
|
1923
|
-
|
|
1927
|
+
Ee(s) && (t[r] = s);
|
|
1924
1928
|
} else e[r] && (t[r] = o);
|
|
1925
1929
|
}
|
|
1926
1930
|
return t;
|
|
1927
1931
|
}
|
|
1928
|
-
var Ue = (e) =>
|
|
1932
|
+
var Ue = (e) => Ee(e) && !Object.keys(e).length, rr = (e) => e.type === "file", He = (e) => typeof e == "function", dt = (e) => {
|
|
1929
1933
|
if (!Kt)
|
|
1930
1934
|
return !1;
|
|
1931
1935
|
const i = e ? e.ownerDocument : 0;
|
|
@@ -1944,9 +1948,9 @@ function bM(e) {
|
|
|
1944
1948
|
return !1;
|
|
1945
1949
|
return !0;
|
|
1946
1950
|
}
|
|
1947
|
-
function
|
|
1951
|
+
function xe(e, i) {
|
|
1948
1952
|
const t = Array.isArray(i) ? i : yt(i) ? [i] : er(i), r = t.length === 1 ? e : _M(e, t), n = t.length - 1, o = t[n];
|
|
1949
|
-
return r && delete r[o], n !== 0 && (
|
|
1953
|
+
return r && delete r[o], n !== 0 && (Ee(r) && Ue(r) || Array.isArray(r) && bM(r)) && xe(e, t.slice(0, -1)), e;
|
|
1950
1954
|
}
|
|
1951
1955
|
var SM = (e) => {
|
|
1952
1956
|
for (const i in e)
|
|
@@ -1955,7 +1959,7 @@ var SM = (e) => {
|
|
|
1955
1959
|
return !1;
|
|
1956
1960
|
};
|
|
1957
1961
|
function Ao(e) {
|
|
1958
|
-
return Array.isArray(e) ||
|
|
1962
|
+
return Array.isArray(e) || Ee(e) && !SM(e);
|
|
1959
1963
|
}
|
|
1960
1964
|
function Ct(e, i = {}) {
|
|
1961
1965
|
for (const t in e)
|
|
@@ -2009,7 +2013,7 @@ var CM = (e, i, t, r) => {
|
|
|
2009
2013
|
fields: n,
|
|
2010
2014
|
shouldUseNativeValidation: r
|
|
2011
2015
|
};
|
|
2012
|
-
}, Nt = (e) => e instanceof RegExp, ki = (e) => Te(e) ? e : Nt(e) ? e.source :
|
|
2016
|
+
}, Nt = (e) => e instanceof RegExp, ki = (e) => Te(e) ? e : Nt(e) ? e.source : Ee(e) ? Nt(e.value) ? e.value.source : e.value : e, ln = (e) => ({
|
|
2013
2017
|
isOnSubmit: !e || e === Ze.onSubmit,
|
|
2014
2018
|
isOnBlur: e === Ze.onBlur,
|
|
2015
2019
|
isOnChange: e === Ze.onChange,
|
|
@@ -2017,7 +2021,7 @@ var CM = (e, i, t, r) => {
|
|
|
2017
2021
|
isOnTouch: e === Ze.onTouched
|
|
2018
2022
|
});
|
|
2019
2023
|
const cn = "AsyncFunction";
|
|
2020
|
-
var vM = (e) => !!e && !!e.validate && !!(He(e.validate) && e.validate.constructor.name === cn ||
|
|
2024
|
+
var vM = (e) => !!e && !!e.validate && !!(He(e.validate) && e.validate.constructor.name === cn || Ee(e.validate) && Object.values(e.validate).find((i) => i.constructor.name === cn)), LM = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), gn = (e, i, t) => !t && (i.watchAll || i.watch.has(e) || [...i.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
|
|
2021
2025
|
const Fi = (e, i, t, r) => {
|
|
2022
2026
|
for (const o of t || Object.keys(e)) {
|
|
2023
2027
|
const s = C(e, o);
|
|
@@ -2030,7 +2034,7 @@ const Fi = (e, i, t, r) => {
|
|
|
2030
2034
|
return !0;
|
|
2031
2035
|
if (Fi(D, i))
|
|
2032
2036
|
break;
|
|
2033
|
-
} else if (
|
|
2037
|
+
} else if (Ee(D) && Fi(D, i))
|
|
2034
2038
|
break;
|
|
2035
2039
|
}
|
|
2036
2040
|
}
|
|
@@ -2067,7 +2071,7 @@ var kM = (e, i, t, r) => {
|
|
|
2067
2071
|
t(e);
|
|
2068
2072
|
const s = e, { name: n } = s, o = Di(s, ["name"]);
|
|
2069
2073
|
return Ue(o) || Object.keys(o).length >= Object.keys(i).length || Object.keys(o).find((M) => i[M] === (!r || Ze.all));
|
|
2070
|
-
}, UM = (e, i, t) => !e || !i || e === i || Ri(e).some((r) => r && (t ? r === i : r.startsWith(i) || i.startsWith(r))), QM = (e, i, t, r, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(i || e) : (t ? r.isOnBlur : n.isOnBlur) ? !e : (t ? r.isOnChange : n.isOnChange) ? e : !0, YM = (e, i) => !qt(C(e, i)).length &&
|
|
2074
|
+
}, UM = (e, i, t) => !e || !i || e === i || Ri(e).some((r) => r && (t ? r === i : r.startsWith(i) || i.startsWith(r))), QM = (e, i, t, r, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(i || e) : (t ? r.isOnBlur : n.isOnBlur) ? !e : (t ? r.isOnChange : n.isOnChange) ? e : !0, YM = (e, i) => !qt(C(e, i)).length && xe(e, i), PM = (e, i, t) => {
|
|
2071
2075
|
const r = Ri(C(e, t));
|
|
2072
2076
|
return Ne(r, "root", i[t]), Ne(e, t, r), e;
|
|
2073
2077
|
};
|
|
@@ -2079,7 +2083,7 @@ function Nn(e, i, t = "validate") {
|
|
|
2079
2083
|
ref: i
|
|
2080
2084
|
};
|
|
2081
2085
|
}
|
|
2082
|
-
var wi = (e) =>
|
|
2086
|
+
var wi = (e) => Ee(e) && !Nt(e) ? e : {
|
|
2083
2087
|
value: e,
|
|
2084
2088
|
message: ""
|
|
2085
2089
|
}, Dn = (e, i, t, r, n, o) => De(null, null, function* () {
|
|
@@ -2137,7 +2141,7 @@ var wi = (e) => xe(e) && !Nt(e) ? e : {
|
|
|
2137
2141
|
const R = yield N(_, t), $ = Nn(R, h);
|
|
2138
2142
|
if ($ && (k[I] = O(O({}, $), H(ti.validate, $.message)), !r))
|
|
2139
2143
|
return p($.message), k;
|
|
2140
|
-
} else if (
|
|
2144
|
+
} else if (Ee(N)) {
|
|
2141
2145
|
let R = {};
|
|
2142
2146
|
for (const $ in N) {
|
|
2143
2147
|
if (!Ue(R) && !r)
|
|
@@ -2174,7 +2178,7 @@ function FM(e = {}) {
|
|
|
2174
2178
|
validatingFields: {},
|
|
2175
2179
|
errors: i.errors || {},
|
|
2176
2180
|
disabled: i.disabled || !1
|
|
2177
|
-
}, r = {}, n =
|
|
2181
|
+
}, r = {}, n = Ee(i.defaultValues) || Ee(i.values) ? me(i.defaultValues || i.values) || {} : {}, o = i.shouldUnregister ? {} : me(n), s = {
|
|
2178
2182
|
action: !1,
|
|
2179
2183
|
mount: !1,
|
|
2180
2184
|
watch: !1
|
|
@@ -2208,24 +2212,24 @@ function FM(e = {}) {
|
|
|
2208
2212
|
});
|
|
2209
2213
|
}
|
|
2210
2214
|
}), z = (g, T) => {
|
|
2211
|
-
!i.disabled && (A.isValidating || A.validatingFields || c.isValidating || c.validatingFields) && ((g || Array.from(M.mount)).forEach((
|
|
2212
|
-
|
|
2215
|
+
!i.disabled && (A.isValidating || A.validatingFields || c.isValidating || c.validatingFields) && ((g || Array.from(M.mount)).forEach((E) => {
|
|
2216
|
+
E && (T ? Ne(t.validatingFields, E, T) : xe(t.validatingFields, E));
|
|
2213
2217
|
}), a.state.next({
|
|
2214
2218
|
validatingFields: t.validatingFields,
|
|
2215
2219
|
isValidating: !Ue(t.validatingFields)
|
|
2216
2220
|
}));
|
|
2217
|
-
}, w = (g, T = [],
|
|
2218
|
-
if (v &&
|
|
2221
|
+
}, w = (g, T = [], E, v, b = !0, S = !0) => {
|
|
2222
|
+
if (v && E && !i.disabled) {
|
|
2219
2223
|
if (s.action = !0, S && Array.isArray(C(r, g))) {
|
|
2220
|
-
const Q =
|
|
2224
|
+
const Q = E(C(r, g), v.argA, v.argB);
|
|
2221
2225
|
b && Ne(r, g, Q);
|
|
2222
2226
|
}
|
|
2223
2227
|
if (S && Array.isArray(C(t.errors, g))) {
|
|
2224
|
-
const Q =
|
|
2228
|
+
const Q = E(C(t.errors, g), v.argA, v.argB);
|
|
2225
2229
|
b && Ne(t.errors, g, Q), YM(t.errors, g);
|
|
2226
2230
|
}
|
|
2227
2231
|
if ((A.touchedFields || c.touchedFields) && S && Array.isArray(C(t.touchedFields, g))) {
|
|
2228
|
-
const Q =
|
|
2232
|
+
const Q = E(C(t.touchedFields, g), v.argA, v.argB);
|
|
2229
2233
|
b && Ne(t.touchedFields, g, Q);
|
|
2230
2234
|
}
|
|
2231
2235
|
(A.dirtyFields || c.dirtyFields) && (t.dirtyFields = pi(n, o)), a.state.next({
|
|
@@ -2246,33 +2250,33 @@ function FM(e = {}) {
|
|
|
2246
2250
|
errors: t.errors,
|
|
2247
2251
|
isValid: !1
|
|
2248
2252
|
});
|
|
2249
|
-
}, p = (g, T,
|
|
2253
|
+
}, p = (g, T, E, v) => {
|
|
2250
2254
|
const b = C(r, g);
|
|
2251
2255
|
if (b) {
|
|
2252
|
-
const S = C(o, g, Te(
|
|
2256
|
+
const S = C(o, g, Te(E) ? C(n, g) : E);
|
|
2253
2257
|
Te(S) || v && v.defaultChecked || T ? Ne(o, g, T ? S : un(b._f)) : se(g, S), s.mount && I();
|
|
2254
2258
|
}
|
|
2255
|
-
}, k = (g, T,
|
|
2259
|
+
}, k = (g, T, E, v, b) => {
|
|
2256
2260
|
let S = !1, Q = !1;
|
|
2257
2261
|
const K = {
|
|
2258
2262
|
name: g
|
|
2259
2263
|
};
|
|
2260
2264
|
if (!i.disabled) {
|
|
2261
|
-
if (!
|
|
2265
|
+
if (!E || v) {
|
|
2262
2266
|
(A.isDirty || c.isDirty) && (Q = t.isDirty, t.isDirty = K.isDirty = V(), S = Q !== K.isDirty);
|
|
2263
2267
|
const B = ni(C(n, g), T);
|
|
2264
|
-
Q = !!C(t.dirtyFields, g), B ?
|
|
2268
|
+
Q = !!C(t.dirtyFields, g), B ? xe(t.dirtyFields, g) : Ne(t.dirtyFields, g, !0), K.dirtyFields = t.dirtyFields, S = S || (A.dirtyFields || c.dirtyFields) && Q !== !B;
|
|
2265
2269
|
}
|
|
2266
|
-
if (
|
|
2270
|
+
if (E) {
|
|
2267
2271
|
const B = C(t.touchedFields, g);
|
|
2268
|
-
B || (Ne(t.touchedFields, g,
|
|
2272
|
+
B || (Ne(t.touchedFields, g, E), K.touchedFields = t.touchedFields, S = S || (A.touchedFields || c.touchedFields) && B !== E);
|
|
2269
2273
|
}
|
|
2270
2274
|
S && b && a.state.next(K);
|
|
2271
2275
|
}
|
|
2272
2276
|
return S ? K : {};
|
|
2273
|
-
}, ie = (g, T,
|
|
2277
|
+
}, ie = (g, T, E, v) => {
|
|
2274
2278
|
const b = C(t.errors, g), S = (A.isValid || c.isValid) && Pe(T) && t.isValid !== T;
|
|
2275
|
-
if (i.delayError &&
|
|
2279
|
+
if (i.delayError && E ? (D = N(() => _(g, E)), D(i.delayError)) : (clearTimeout(j), D = null, E ? Ne(t.errors, g, E) : xe(t.errors, g)), (E ? !ni(b, E) : b) || !Ue(v) || S) {
|
|
2276
2280
|
const Q = J(O(O({}, v), S && Pe(T) ? { isValid: T } : {}), {
|
|
2277
2281
|
errors: t.errors,
|
|
2278
2282
|
name: g
|
|
@@ -2286,14 +2290,14 @@ function FM(e = {}) {
|
|
|
2286
2290
|
}), ae = (g) => De(null, null, function* () {
|
|
2287
2291
|
const { errors: T } = yield F(g);
|
|
2288
2292
|
if (g)
|
|
2289
|
-
for (const
|
|
2290
|
-
const v = C(T,
|
|
2291
|
-
v ? Ne(t.errors,
|
|
2293
|
+
for (const E of g) {
|
|
2294
|
+
const v = C(T, E);
|
|
2295
|
+
v ? Ne(t.errors, E, v) : xe(t.errors, E);
|
|
2292
2296
|
}
|
|
2293
2297
|
else
|
|
2294
2298
|
t.errors = T;
|
|
2295
2299
|
return T;
|
|
2296
|
-
}), Y = (v, b, ...S) => De(null, [v, b, ...S], function* (g, T,
|
|
2300
|
+
}), Y = (v, b, ...S) => De(null, [v, b, ...S], function* (g, T, E = {
|
|
2297
2301
|
valid: !0
|
|
2298
2302
|
}) {
|
|
2299
2303
|
for (const K in g) {
|
|
@@ -2304,21 +2308,21 @@ function FM(e = {}) {
|
|
|
2304
2308
|
const Z = M.array.has(ue.name), q = B._f && vM(B._f);
|
|
2305
2309
|
q && A.validatingFields && z([ue.name], !0);
|
|
2306
2310
|
const P = yield Dn(B, M.disabled, o, y, i.shouldUseNativeValidation && !T, Z);
|
|
2307
|
-
if (q && A.validatingFields && z([ue.name]), P[ue.name] && (
|
|
2311
|
+
if (q && A.validatingFields && z([ue.name]), P[ue.name] && (E.valid = !1, T))
|
|
2308
2312
|
break;
|
|
2309
|
-
!T && (C(P, ue.name) ? Z ? PM(t.errors, P, ue.name) : Ne(t.errors, ue.name, P[ue.name]) :
|
|
2313
|
+
!T && (C(P, ue.name) ? Z ? PM(t.errors, P, ue.name) : Ne(t.errors, ue.name, P[ue.name]) : xe(t.errors, ue.name));
|
|
2310
2314
|
}
|
|
2311
|
-
!Ue(Se) && (yield Y(Se, T,
|
|
2315
|
+
!Ue(Se) && (yield Y(Se, T, E));
|
|
2312
2316
|
}
|
|
2313
2317
|
}
|
|
2314
|
-
return
|
|
2318
|
+
return E.valid;
|
|
2315
2319
|
}), H = () => {
|
|
2316
2320
|
for (const g of M.unMount) {
|
|
2317
2321
|
const T = C(r, g);
|
|
2318
|
-
T && (T._f.refs ? T._f.refs.every((
|
|
2322
|
+
T && (T._f.refs ? T._f.refs.every((E) => !zt(E)) : !zt(T._f.ref)) && Ve(g);
|
|
2319
2323
|
}
|
|
2320
2324
|
M.unMount = /* @__PURE__ */ new Set();
|
|
2321
|
-
}, V = (g, T) => !i.disabled && (g && T && Ne(o, g, T), !ni(G(), n)), R = (g, T,
|
|
2325
|
+
}, V = (g, T) => !i.disabled && (g && T && Ne(o, g, T), !ni(G(), n)), R = (g, T, E) => Io(g, M, O({}, s.mount ? o : Te(T) ? n : Re(g) ? { [g]: T } : T), E, T), $ = (g) => qt(C(s.mount ? o : n, g, i.shouldUnregister ? C(n, g, []) : [])), se = (g, T, E = {}) => {
|
|
2322
2326
|
const v = C(r, g);
|
|
2323
2327
|
let b = T;
|
|
2324
2328
|
if (v) {
|
|
@@ -2330,59 +2334,59 @@ function FM(e = {}) {
|
|
|
2330
2334
|
values: me(o)
|
|
2331
2335
|
})));
|
|
2332
2336
|
}
|
|
2333
|
-
(
|
|
2334
|
-
}, Ie = (g, T,
|
|
2337
|
+
(E.shouldDirty || E.shouldTouch) && k(g, b, E.shouldTouch, E.shouldDirty, !0), E.shouldValidate && le(g);
|
|
2338
|
+
}, Ie = (g, T, E) => {
|
|
2335
2339
|
for (const v in T) {
|
|
2336
2340
|
if (!T.hasOwnProperty(v))
|
|
2337
2341
|
return;
|
|
2338
2342
|
const b = T[v], S = g + "." + v, Q = C(r, S);
|
|
2339
|
-
(M.array.has(g) ||
|
|
2343
|
+
(M.array.has(g) || Ee(b) || Q && !Q._f) && !fi(b) ? Ie(S, b, E) : se(S, b, E);
|
|
2340
2344
|
}
|
|
2341
|
-
}, je = (g, T,
|
|
2345
|
+
}, je = (g, T, E = {}) => {
|
|
2342
2346
|
const v = C(r, g), b = M.array.has(g), S = me(T);
|
|
2343
2347
|
Ne(o, g, S), b ? (a.array.next({
|
|
2344
2348
|
name: g,
|
|
2345
2349
|
values: me(o)
|
|
2346
|
-
}), (A.isDirty || A.dirtyFields || c.isDirty || c.dirtyFields) &&
|
|
2350
|
+
}), (A.isDirty || A.dirtyFields || c.isDirty || c.dirtyFields) && E.shouldDirty && a.state.next({
|
|
2347
2351
|
name: g,
|
|
2348
2352
|
dirtyFields: pi(n, o),
|
|
2349
2353
|
isDirty: V(g, S)
|
|
2350
|
-
})) : v && !v._f && !Ce(S) ? Ie(g, S,
|
|
2354
|
+
})) : v && !v._f && !Ce(S) ? Ie(g, S, E) : se(g, S, E), gn(g, M) && a.state.next(J(O({}, t), { name: g })), a.state.next({
|
|
2351
2355
|
name: s.mount ? g : void 0,
|
|
2352
2356
|
values: me(o)
|
|
2353
2357
|
});
|
|
2354
2358
|
}, Ae = (g) => De(null, null, function* () {
|
|
2355
2359
|
s.mount = !0;
|
|
2356
2360
|
const T = g.target;
|
|
2357
|
-
let
|
|
2358
|
-
const b = C(r,
|
|
2359
|
-
v = Number.isNaN(B) || fi(B) && isNaN(B.getTime()) || ni(B, C(o,
|
|
2361
|
+
let E = T.name, v = !0;
|
|
2362
|
+
const b = C(r, E), S = (B) => {
|
|
2363
|
+
v = Number.isNaN(B) || fi(B) && isNaN(B.getTime()) || ni(B, C(o, E, B));
|
|
2360
2364
|
}, Q = ln(i.mode), K = ln(i.reValidateMode);
|
|
2361
2365
|
if (b) {
|
|
2362
2366
|
let B, ue;
|
|
2363
|
-
const Se = T.type ? un(b._f) : co(g), Z = g.type === gt.BLUR || g.type === gt.FOCUS_OUT, q = !LM(b._f) && !i.resolver && !C(t.errors,
|
|
2364
|
-
Ne(o,
|
|
2365
|
-
const Me = k(
|
|
2367
|
+
const Se = T.type ? un(b._f) : co(g), Z = g.type === gt.BLUR || g.type === gt.FOCUS_OUT, q = !LM(b._f) && !i.resolver && !C(t.errors, E) && !b._f.deps || QM(Z, C(t.touchedFields, E), t.isSubmitted, K, Q), P = gn(E, M, Z);
|
|
2368
|
+
Ne(o, E, Se), Z ? (!T || !T.readOnly) && (b._f.onBlur && b._f.onBlur(g), D && D(0)) : b._f.onChange && b._f.onChange(g);
|
|
2369
|
+
const Me = k(E, Se, Z), Le = !Ue(Me) || P;
|
|
2366
2370
|
if (!Z && a.state.next({
|
|
2367
|
-
name:
|
|
2371
|
+
name: E,
|
|
2368
2372
|
type: g.type,
|
|
2369
2373
|
values: me(o)
|
|
2370
2374
|
}), q)
|
|
2371
|
-
return (A.isValid || c.isValid) && (i.mode === "onBlur" ? Z && I() : Z || I()), Le && a.state.next(O({ name:
|
|
2375
|
+
return (A.isValid || c.isValid) && (i.mode === "onBlur" ? Z && I() : Z || I()), Le && a.state.next(O({ name: E }, P ? {} : Me));
|
|
2372
2376
|
if (!Z && P && a.state.next(O({}, t)), i.resolver) {
|
|
2373
|
-
const { errors: we } = yield F([
|
|
2377
|
+
const { errors: we } = yield F([E]);
|
|
2374
2378
|
if (S(Se), v) {
|
|
2375
|
-
const oe = dn(t.errors, r,
|
|
2376
|
-
B = W.error,
|
|
2379
|
+
const oe = dn(t.errors, r, E), W = dn(we, r, oe.name || E);
|
|
2380
|
+
B = W.error, E = W.name, ue = Ue(we);
|
|
2377
2381
|
}
|
|
2378
2382
|
} else
|
|
2379
|
-
z([
|
|
2380
|
-
v && (b._f.deps && (!Array.isArray(b._f.deps) || b._f.deps.length > 0) && le(b._f.deps), ie(
|
|
2383
|
+
z([E], !0), B = (yield Dn(b, M.disabled, o, y, i.shouldUseNativeValidation))[E], z([E]), S(Se), v && (B ? ue = !1 : (A.isValid || c.isValid) && (ue = yield Y(r, !0)));
|
|
2384
|
+
v && (b._f.deps && (!Array.isArray(b._f.deps) || b._f.deps.length > 0) && le(b._f.deps), ie(E, ue, B, Me));
|
|
2381
2385
|
}
|
|
2382
2386
|
}), Qe = (g, T) => {
|
|
2383
2387
|
if (C(t.errors, T) && g.focus)
|
|
2384
2388
|
return g.focus(), 1;
|
|
2385
|
-
}, le = (
|
|
2389
|
+
}, le = (E, ...v) => De(null, [E, ...v], function* (g, T = {}) {
|
|
2386
2390
|
let b, S;
|
|
2387
2391
|
const Q = Ri(g);
|
|
2388
2392
|
if (i.resolver) {
|
|
@@ -2396,8 +2400,8 @@ function FM(e = {}) {
|
|
|
2396
2400
|
errors: t.errors
|
|
2397
2401
|
})), T.shouldFocus && !S && Fi(r, Qe, g ? Q : M.mount), S;
|
|
2398
2402
|
}), G = (g, T) => {
|
|
2399
|
-
let
|
|
2400
|
-
return T && (
|
|
2403
|
+
let E = O({}, s.mount ? o : n);
|
|
2404
|
+
return T && (E = yo(T.dirtyFields ? t.dirtyFields : t.touchedFields, E)), Te(g) ? E : Re(g) ? C(E, g) : g.map((v) => C(E, v));
|
|
2401
2405
|
}, ge = (g, T) => ({
|
|
2402
2406
|
invalid: !!C((T || t).errors, g),
|
|
2403
2407
|
isDirty: !!C((T || t).dirtyFields, g),
|
|
@@ -2405,10 +2409,10 @@ function FM(e = {}) {
|
|
|
2405
2409
|
isValidating: !!C(t.validatingFields, g),
|
|
2406
2410
|
isTouched: !!C((T || t).touchedFields, g)
|
|
2407
2411
|
}), ze = (g) => {
|
|
2408
|
-
g && Ri(g).forEach((T) =>
|
|
2412
|
+
g && Ri(g).forEach((T) => xe(t.errors, T)), a.state.next({
|
|
2409
2413
|
errors: g ? t.errors : {}
|
|
2410
2414
|
});
|
|
2411
|
-
}, he = (g, T,
|
|
2415
|
+
}, he = (g, T, E) => {
|
|
2412
2416
|
const v = (C(r, g, { _f: {} })._f || {}).ref, ue = C(t.errors, g) || {}, { ref: S, message: Q, type: K } = ue, B = Di(ue, ["ref", "message", "type"]);
|
|
2413
2417
|
Ne(t.errors, g, J(O(O({}, B), T), {
|
|
2414
2418
|
ref: v
|
|
@@ -2416,12 +2420,12 @@ function FM(e = {}) {
|
|
|
2416
2420
|
name: g,
|
|
2417
2421
|
errors: t.errors,
|
|
2418
2422
|
isValid: !1
|
|
2419
|
-
}),
|
|
2423
|
+
}), E && E.shouldFocus && v && v.focus && v.focus();
|
|
2420
2424
|
}, ve = (g, T) => He(g) ? a.state.subscribe({
|
|
2421
|
-
next: (
|
|
2425
|
+
next: (E) => "values" in E && g(R(void 0, T), E)
|
|
2422
2426
|
}) : R(g, T, !0), U = (g) => a.state.subscribe({
|
|
2423
2427
|
next: (T) => {
|
|
2424
|
-
UM(g.name, T.name, g.exact) && kM(T, g.formState || A,
|
|
2428
|
+
UM(g.name, T.name, g.exact) && kM(T, g.formState || A, xi, g.reRenderRoot) && g.callback(J(O(O({
|
|
2425
2429
|
values: O({}, o)
|
|
2426
2430
|
}, t), T), {
|
|
2427
2431
|
defaultValues: n
|
|
@@ -2430,22 +2434,22 @@ function FM(e = {}) {
|
|
|
2430
2434
|
}).unsubscribe, ne = (g) => (s.mount = !0, c = O(O({}, c), g.formState), U(J(O({}, g), {
|
|
2431
2435
|
formState: c
|
|
2432
2436
|
}))), Ve = (g, T = {}) => {
|
|
2433
|
-
for (const
|
|
2434
|
-
M.mount.delete(
|
|
2437
|
+
for (const E of g ? Ri(g) : M.mount)
|
|
2438
|
+
M.mount.delete(E), M.array.delete(E), T.keepValue || (xe(r, E), xe(o, E)), !T.keepError && xe(t.errors, E), !T.keepDirty && xe(t.dirtyFields, E), !T.keepTouched && xe(t.touchedFields, E), !T.keepIsValidating && xe(t.validatingFields, E), !i.shouldUnregister && !T.keepDefaultValue && xe(n, E);
|
|
2435
2439
|
a.state.next({
|
|
2436
2440
|
values: me(o)
|
|
2437
2441
|
}), a.state.next(O(O({}, t), T.keepDirty ? { isDirty: V() } : {})), !T.keepIsValid && I();
|
|
2438
2442
|
}, $e = ({ disabled: g, name: T }) => {
|
|
2439
2443
|
(Pe(g) && s.mount || g || M.disabled.has(T)) && (g ? M.disabled.add(T) : M.disabled.delete(T));
|
|
2440
2444
|
}, ii = (g, T = {}) => {
|
|
2441
|
-
let
|
|
2445
|
+
let E = C(r, g);
|
|
2442
2446
|
const v = Pe(T.disabled) || Pe(i.disabled);
|
|
2443
|
-
return Ne(r, g, J(O({},
|
|
2444
|
-
_f: O(J(O({},
|
|
2447
|
+
return Ne(r, g, J(O({}, E || {}), {
|
|
2448
|
+
_f: O(J(O({}, E && E._f ? E._f : { ref: { name: g } }), {
|
|
2445
2449
|
name: g,
|
|
2446
2450
|
mount: !0
|
|
2447
2451
|
}), T)
|
|
2448
|
-
})), M.mount.add(g),
|
|
2452
|
+
})), M.mount.add(g), E ? $e({
|
|
2449
2453
|
disabled: Pe(T.disabled) ? T.disabled : i.disabled,
|
|
2450
2454
|
name: g
|
|
2451
2455
|
}) : p(g, !0, T.value), J(O(O({}, v ? { disabled: T.disabled || i.disabled } : {}), i.progressive ? {
|
|
@@ -2461,12 +2465,12 @@ function FM(e = {}) {
|
|
|
2461
2465
|
onBlur: Ae,
|
|
2462
2466
|
ref: (b) => {
|
|
2463
2467
|
if (b) {
|
|
2464
|
-
ii(g, T),
|
|
2465
|
-
const S = Te(b.value) && b.querySelectorAll && b.querySelectorAll("input,select,textarea")[0] || b, Q = pM(S), K =
|
|
2466
|
-
if (Q ? K.find((B) => B === S) : S ===
|
|
2468
|
+
ii(g, T), E = C(r, g);
|
|
2469
|
+
const S = Te(b.value) && b.querySelectorAll && b.querySelectorAll("input,select,textarea")[0] || b, Q = pM(S), K = E._f.refs || [];
|
|
2470
|
+
if (Q ? K.find((B) => B === S) : S === E._f.ref)
|
|
2467
2471
|
return;
|
|
2468
2472
|
Ne(r, g, {
|
|
2469
|
-
_f: O(O({},
|
|
2473
|
+
_f: O(O({}, E._f), Q ? {
|
|
2470
2474
|
refs: [
|
|
2471
2475
|
...K.filter(zt),
|
|
2472
2476
|
S,
|
|
@@ -2476,19 +2480,19 @@ function FM(e = {}) {
|
|
|
2476
2480
|
} : { ref: S })
|
|
2477
2481
|
}), p(g, !1, void 0, S);
|
|
2478
2482
|
} else
|
|
2479
|
-
|
|
2483
|
+
E = C(r, g, {}), E._f && (E._f.mount = !1), (i.shouldUnregister || T.shouldUnregister) && !(go(M.array, g) && s.action) && M.unMount.add(g);
|
|
2480
2484
|
}
|
|
2481
2485
|
});
|
|
2482
2486
|
}, Be = () => i.shouldFocusError && Fi(r, Qe, M.mount), gi = (g) => {
|
|
2483
|
-
Pe(g) && (a.state.next({ disabled: g }), Fi(r, (T,
|
|
2484
|
-
const v = C(r,
|
|
2487
|
+
Pe(g) && (a.state.next({ disabled: g }), Fi(r, (T, E) => {
|
|
2488
|
+
const v = C(r, E);
|
|
2485
2489
|
v && (T.disabled = v._f.disabled || g, Array.isArray(v._f.refs) && v._f.refs.forEach((b) => {
|
|
2486
2490
|
b.disabled = v._f.disabled || g;
|
|
2487
2491
|
}));
|
|
2488
2492
|
}, 0, !1));
|
|
2489
|
-
}, Mi = (g, T) => (
|
|
2493
|
+
}, Mi = (g, T) => (E) => De(null, null, function* () {
|
|
2490
2494
|
let v;
|
|
2491
|
-
|
|
2495
|
+
E && (E.preventDefault && E.preventDefault(), E.persist && E.persist());
|
|
2492
2496
|
let b = me(o);
|
|
2493
2497
|
if (a.state.next({
|
|
2494
2498
|
isSubmitting: !0
|
|
@@ -2499,18 +2503,18 @@ function FM(e = {}) {
|
|
|
2499
2503
|
yield Y(r);
|
|
2500
2504
|
if (M.disabled.size)
|
|
2501
2505
|
for (const S of M.disabled)
|
|
2502
|
-
|
|
2503
|
-
if (
|
|
2506
|
+
xe(b, S);
|
|
2507
|
+
if (xe(t.errors, "root"), Ue(t.errors)) {
|
|
2504
2508
|
a.state.next({
|
|
2505
2509
|
errors: {}
|
|
2506
2510
|
});
|
|
2507
2511
|
try {
|
|
2508
|
-
yield g(b,
|
|
2512
|
+
yield g(b, E);
|
|
2509
2513
|
} catch (S) {
|
|
2510
2514
|
v = S;
|
|
2511
2515
|
}
|
|
2512
2516
|
} else
|
|
2513
|
-
T && (yield T(O({}, t.errors),
|
|
2517
|
+
T && (yield T(O({}, t.errors), E)), Be(), setTimeout(Be);
|
|
2514
2518
|
if (a.state.next({
|
|
2515
2519
|
isSubmitted: !0,
|
|
2516
2520
|
isSubmitting: !1,
|
|
@@ -2520,10 +2524,10 @@ function FM(e = {}) {
|
|
|
2520
2524
|
}), v)
|
|
2521
2525
|
throw v;
|
|
2522
2526
|
}), Oi = (g, T = {}) => {
|
|
2523
|
-
C(r, g) && (Te(T.defaultValue) ? je(g, me(C(n, g))) : (je(g, T.defaultValue), Ne(n, g, me(T.defaultValue))), T.keepTouched ||
|
|
2527
|
+
C(r, g) && (Te(T.defaultValue) ? je(g, me(C(n, g))) : (je(g, T.defaultValue), Ne(n, g, me(T.defaultValue))), T.keepTouched || xe(t.touchedFields, g), T.keepDirty || (xe(t.dirtyFields, g), t.isDirty = T.defaultValue ? V(g, me(C(n, g))) : V()), T.keepError || (xe(t.errors, g), A.isValid && I()), a.state.next(O({}, t)));
|
|
2524
2528
|
}, di = (g, T = {}) => {
|
|
2525
|
-
const
|
|
2526
|
-
if (T.keepDefaultValues || (n =
|
|
2529
|
+
const E = g ? me(g) : n, v = me(E), b = Ue(g), S = b ? n : v;
|
|
2530
|
+
if (T.keepDefaultValues || (n = E), !T.keepValues) {
|
|
2527
2531
|
if (T.keepDirtyValues) {
|
|
2528
2532
|
const Q = /* @__PURE__ */ new Set([
|
|
2529
2533
|
...M.mount,
|
|
@@ -2578,12 +2582,12 @@ function FM(e = {}) {
|
|
|
2578
2582
|
defaultValues: n
|
|
2579
2583
|
});
|
|
2580
2584
|
}, ai = (g, T) => di(He(g) ? g(o) : g, T), Ni = (g, T = {}) => {
|
|
2581
|
-
const
|
|
2585
|
+
const E = C(r, g), v = E && E._f;
|
|
2582
2586
|
if (v) {
|
|
2583
2587
|
const b = v.refs ? v.refs[0] : v.ref;
|
|
2584
2588
|
b.focus && (b.focus(), T.shouldSelect && He(b.select) && b.select());
|
|
2585
2589
|
}
|
|
2586
|
-
},
|
|
2590
|
+
}, xi = (g) => {
|
|
2587
2591
|
t = O(O({}, t), g);
|
|
2588
2592
|
}, Xe = {
|
|
2589
2593
|
control: {
|
|
@@ -2798,7 +2802,7 @@ const vi = (e, i) => {
|
|
|
2798
2802
|
},
|
|
2799
2803
|
i.value
|
|
2800
2804
|
);
|
|
2801
|
-
},
|
|
2805
|
+
}, xo = ({
|
|
2802
2806
|
name: e,
|
|
2803
2807
|
options: i,
|
|
2804
2808
|
isMulti: t = !1,
|
|
@@ -2867,7 +2871,7 @@ const vi = (e, i) => {
|
|
|
2867
2871
|
alignItems: "flex-start",
|
|
2868
2872
|
alignContent: "center",
|
|
2869
2873
|
flexWrap: "wrap",
|
|
2870
|
-
width: "100%"
|
|
2874
|
+
width: t ? "calc(100% - 63px)" : "100%"
|
|
2871
2875
|
},
|
|
2872
2876
|
children: [
|
|
2873
2877
|
!N.length && /* @__PURE__ */ d(
|
|
@@ -3048,7 +3052,7 @@ const vi = (e, i) => {
|
|
|
3048
3052
|
render: ({ field: s }) => {
|
|
3049
3053
|
const M = n.find((D) => D.value === s.value);
|
|
3050
3054
|
return /* @__PURE__ */ d(
|
|
3051
|
-
|
|
3055
|
+
xo,
|
|
3052
3056
|
{
|
|
3053
3057
|
options: n,
|
|
3054
3058
|
placeholder: t.placeholder,
|
|
@@ -3110,7 +3114,7 @@ const vi = (e, i) => {
|
|
|
3110
3114
|
return (j = s.value) == null ? void 0 : j.includes(D.value);
|
|
3111
3115
|
});
|
|
3112
3116
|
return /* @__PURE__ */ d(
|
|
3113
|
-
|
|
3117
|
+
xo,
|
|
3114
3118
|
{
|
|
3115
3119
|
name: o,
|
|
3116
3120
|
options: n,
|
|
@@ -3134,7 +3138,7 @@ const vi = (e, i) => {
|
|
|
3134
3138
|
]
|
|
3135
3139
|
}
|
|
3136
3140
|
);
|
|
3137
|
-
},
|
|
3141
|
+
}, Eo = () => {
|
|
3138
3142
|
const [e, i] = pe(!1);
|
|
3139
3143
|
return Fe(() => {
|
|
3140
3144
|
const t = () => i(!0), r = () => i(!1);
|
|
@@ -3149,7 +3153,7 @@ const vi = (e, i) => {
|
|
|
3149
3153
|
register: r,
|
|
3150
3154
|
watch: n
|
|
3151
3155
|
}) => {
|
|
3152
|
-
const [o, s] = pe(!1), M =
|
|
3156
|
+
const [o, s] = pe(!1), M = Eo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
|
|
3153
3157
|
backgroundColor: ee(a == null ? void 0 : a.backgroundColor),
|
|
3154
3158
|
borderRadius: a.cornerRadius
|
|
3155
3159
|
}, N = {
|
|
@@ -3173,7 +3177,8 @@ const vi = (e, i) => {
|
|
|
3173
3177
|
style: O({
|
|
3174
3178
|
display: "flex",
|
|
3175
3179
|
alignItems: "center",
|
|
3176
|
-
alignContent: "center"
|
|
3180
|
+
alignContent: "center",
|
|
3181
|
+
flexShrink: 0
|
|
3177
3182
|
}, I),
|
|
3178
3183
|
children: /* @__PURE__ */ d(_e, O({}, A ? a.image : c.image))
|
|
3179
3184
|
}
|
|
@@ -3253,7 +3258,7 @@ const vi = (e, i) => {
|
|
|
3253
3258
|
register: r,
|
|
3254
3259
|
watch: n
|
|
3255
3260
|
}) => {
|
|
3256
|
-
const [o, s] = pe(!1), M =
|
|
3261
|
+
const [o, s] = pe(!1), M = Eo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
|
|
3257
3262
|
borderRadius: c == null ? void 0 : c.cornerRadius,
|
|
3258
3263
|
background: ee(c == null ? void 0 : c.backgroundColor),
|
|
3259
3264
|
borderColor: ee(c == null ? void 0 : c.borderColor),
|
|
@@ -3800,7 +3805,7 @@ var Qi = { exports: {} }, ua = Qi.exports, In;
|
|
|
3800
3805
|
function la() {
|
|
3801
3806
|
return In || (In = 1, (function(e, i) {
|
|
3802
3807
|
(function(t, r) {
|
|
3803
|
-
var n = "1.0.41", o = "", s = "?", M = "function", D = "undefined", j = "object", A = "string", c = "major", a = "model", y = "name", N = "type", I = "vendor", z = "version", w = "architecture", _ = "console", h = "mobile", p = "tablet", k = "smarttv", ie = "wearable", F = "embedded", ae = 500, Y = "Amazon", H = "Apple", V = "ASUS", R = "BlackBerry", $ = "Browser", se = "Chrome", Ie = "Edge", je = "Firefox", Ae = "Google", Qe = "Honor", le = "Huawei", G = "Lenovo", ge = "LG", ze = "Microsoft", he = "Motorola", ve = "Nvidia", U = "OnePlus", ne = "Opera", Ve = "OPPO", $e = "Samsung", ii = "Sharp", Be = "Sony", gi = "Xiaomi", Mi = "Zebra", Oi = "Facebook", di = "Chromium OS", ai = "Mac OS", Ni = " Browser",
|
|
3808
|
+
var n = "1.0.41", o = "", s = "?", M = "function", D = "undefined", j = "object", A = "string", c = "major", a = "model", y = "name", N = "type", I = "vendor", z = "version", w = "architecture", _ = "console", h = "mobile", p = "tablet", k = "smarttv", ie = "wearable", F = "embedded", ae = 500, Y = "Amazon", H = "Apple", V = "ASUS", R = "BlackBerry", $ = "Browser", se = "Chrome", Ie = "Edge", je = "Firefox", Ae = "Google", Qe = "Honor", le = "Huawei", G = "Lenovo", ge = "LG", ze = "Microsoft", he = "Motorola", ve = "Nvidia", U = "OnePlus", ne = "Opera", Ve = "OPPO", $e = "Samsung", ii = "Sharp", Be = "Sony", gi = "Xiaomi", Mi = "Zebra", Oi = "Facebook", di = "Chromium OS", ai = "Mac OS", Ni = " Browser", xi = function(Z, q) {
|
|
3804
3809
|
var P = {};
|
|
3805
3810
|
for (var Me in Z)
|
|
3806
3811
|
q[Me] && q[Me].length % 2 === 0 ? P[Me] = q[Me].concat(Z[Me]) : P[Me] = Z[Me];
|
|
@@ -3815,14 +3820,14 @@ function la() {
|
|
|
3815
3820
|
return Z.toLowerCase();
|
|
3816
3821
|
}, T = function(Z) {
|
|
3817
3822
|
return typeof Z === A ? Z.replace(/[^\d\.]/g, o).split(".")[0] : r;
|
|
3818
|
-
},
|
|
3823
|
+
}, E = function(Z, q) {
|
|
3819
3824
|
if (typeof Z === A)
|
|
3820
3825
|
return Z = Z.replace(/^\s\s*/, o), typeof q === D ? Z : Z.substring(0, ae);
|
|
3821
3826
|
}, v = function(Z, q) {
|
|
3822
3827
|
for (var P = 0, Me, Le, we, oe, W, Ye; P < q.length && !W; ) {
|
|
3823
|
-
var
|
|
3824
|
-
for (Me = Le = 0; Me <
|
|
3825
|
-
if (W =
|
|
3828
|
+
var Ei = q[P], Li = q[P + 1];
|
|
3829
|
+
for (Me = Le = 0; Me < Ei.length && !W && Ei[Me]; )
|
|
3830
|
+
if (W = Ei[Me++].exec(Z), W)
|
|
3826
3831
|
for (we = 0; we < Li.length; we++)
|
|
3827
3832
|
Ye = W[++Le], oe = Li[we], typeof oe === j && oe.length > 0 ? oe.length === 2 ? typeof oe[1] == M ? this[oe[0]] = oe[1].call(this, Ye) : this[oe[0]] = oe[1] : oe.length === 3 ? typeof oe[1] === M && !(oe[1].exec && oe[1].test) ? this[oe[0]] = Ye ? oe[1].call(this, Ye, oe[2]) : r : this[oe[0]] = Ye ? Ye.replace(oe[1], oe[2]) : r : oe.length === 4 && (this[oe[0]] = Ye ? oe[3].call(this, Ye.replace(oe[1], oe[2])) : r) : this[oe] = Ye || r;
|
|
3828
3833
|
P += 2;
|
|
@@ -3836,10 +3841,10 @@ function la() {
|
|
|
3836
3841
|
} else if (Xe(q[P], Z))
|
|
3837
3842
|
return P === s ? r : P;
|
|
3838
3843
|
return q.hasOwnProperty("*") ? q["*"] : Z;
|
|
3839
|
-
}, S = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Q = { 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], [z, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [z, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, z], [/opios[\/ ]+([\w\.]+)/i], [z, [y, ne + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [z, [y, ne + " GX"]], [/\bopr\/([\w\.]+)/i], [z, [y, ne]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [z, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [z, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, z], [/quark(?:pc)?\/([-\w\.]+)/i], [z, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [z, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [z, [y, "UC" + $]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [z, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [z, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [z, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [z, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [z, [y, "Smart Lenovo " + $]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + $], z], [/\bfocus\/([\w\.]+)/i], [z, [y, je + " Focus"]], [/\bopt\/([\w\.]+)/i], [z, [y, ne + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [z, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [z, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [z, [y, ne + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [z, [y, "MIUI" + Ni]], [/fxios\/([\w\.-]+)/i], [z, [y, je]], [/\bqihoobrowser\/?([\w\.]*)/i], [z, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], z], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + Ni], z], [/samsungbrowser\/([\w\.]+)/i], [z, [y, $e + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [z, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], z], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, z], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [z, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, Oi], z], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, z], [/\bgsa\/([\w\.]+) .*safari\//i], [z, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [z, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [z, [y, se + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, se + " WebView"], z], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [z, [y, "Android " + $]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, z], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [z, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [z, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [z, b, S]], [/(webkit|khtml)\/([\w\.]+)/i], [y, z], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], z], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, z], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [z, [y, je + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [z, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [z, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[w, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[w, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[w, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[w, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[w, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[w, /ower/, o, g]], [/ sun4\w[;\)]/i], [[w, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[w, g]]], 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], [a, [I, $e], [N, p]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [a, [I, $e], [N, h]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [a, [I, H], [N, h]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [I, H], [N, p]], [/(macintosh);/i], [a, [I, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [I, ii], [N, h]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [a, [I, Qe], [N, p]], [/honor([-\w ]+)[;\)]/i], [a, [I, Qe], [N, h]], [/\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], [a, [I, le], [N, p]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [I, le], [N, h]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[a, /_/g, " "], [I, gi], [N, p]], [/\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], [[a, /_/g, " "], [I, gi], [N, h]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [I, Ve], [N, h]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [a, [I, b, { OnePlus: ["304", "403", "203"], "*": Ve }], [N, p]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [I, "Vivo"], [N, h]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [a, [I, "Realme"], [N, h]], [/\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], [a, [I, he], [N, h]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [I, he], [N, p]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [I, ge], [N, p]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [I, ge], [N, h]], [/(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], [a, [I, G], [N, p]], [/(nokia) (t[12][01])/i], [I, a, [N, p]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[a, /_/g, " "], [N, h], [I, "Nokia"]], [/(pixel (c|tablet))\b/i], [a, [I, Ae], [N, p]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [I, Ae], [N, h]], [/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], [a, [I, Be], [N, h]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [I, Be], [N, p]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [I, U], [N, h]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [I, Y], [N, p]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [I, Y], [N, h]], [/(playbook);[-\w\),; ]+(rim)/i], [a, I, [N, p]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [I, R], [N, h]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [I, V], [N, p]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [I, V], [N, h]], [/(nexus 9)/i], [a, [I, "HTC"], [N, p]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [I, [a, /_/g, " "], [N, h]], [/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], [a, [I, "TCL"], [N, p]], [/(itel) ((\w+))/i], [[I, g], a, [N, b, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [I, "Acer"], [N, p]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [I, "Meizu"], [N, h]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [a, [I, "Ulefone"], [N, h]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [a, [I, "Energizer"], [N, h]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [a, [I, "Cat"], [N, h]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [a, [I, "Smartfren"], [N, h]], [/droid.+; (a(?:015|06[35]|142p?))/i], [a, [I, "Nothing"], [N, h]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [a, [I, "Archos"], [N, p]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [a, [I, "Archos"], [N, h]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [I, a, [N, p]], [/(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], [I, a, [N, h]], [/(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], [I, a, [N, p]], [/(surface duo)/i], [a, [I, ze], [N, p]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [I, "Fairphone"], [N, h]], [/(u304aa)/i], [a, [I, "AT&T"], [N, h]], [/\bsie-(\w*)/i], [a, [I, "Siemens"], [N, h]], [/\b(rct\w+) b/i], [a, [I, "RCA"], [N, p]], [/\b(venue[\d ]{2,7}) b/i], [a, [I, "Dell"], [N, p]], [/\b(q(?:mv|ta)\w+) b/i], [a, [I, "Verizon"], [N, p]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [I, "Barnes & Noble"], [N, p]], [/\b(tm\d{3}\w+) b/i], [a, [I, "NuVision"], [N, p]], [/\b(k88) b/i], [a, [I, "ZTE"], [N, p]], [/\b(nx\d{3}j) b/i], [a, [I, "ZTE"], [N, h]], [/\b(gen\d{3}) b.+49h/i], [a, [I, "Swiss"], [N, h]], [/\b(zur\d{3}) b/i], [a, [I, "Swiss"], [N, p]], [/\b((zeki)?tb.*\b) b/i], [a, [I, "Zeki"], [N, p]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[I, "Dragon Touch"], a, [N, p]], [/\b(ns-?\w{0,9}) b/i], [a, [I, "Insignia"], [N, p]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [I, "NextBook"], [N, p]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[I, "Voice"], a, [N, h]], [/\b(lvtel\-)?(v1[12]) b/i], [[I, "LvTel"], a, [N, h]], [/\b(ph-1) /i], [a, [I, "Essential"], [N, h]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [I, "Envizen"], [N, p]], [/\b(trio[-\w\. ]+) b/i], [a, [I, "MachSpeed"], [N, p]], [/\btu_(1491) b/i], [a, [I, "Rotor"], [N, p]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [a, [I, ve], [N, p]], [/(sprint) (\w+)/i], [I, a, [N, h]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [I, ze], [N, h]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [I, Mi], [N, p]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [I, Mi], [N, h]], [/smart-tv.+(samsung)/i], [I, [N, k]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [I, $e], [N, k]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[I, ge], [N, k]], [/(apple) ?tv/i], [I, [a, H + " TV"], [N, k]], [/crkey/i], [[a, se + "cast"], [I, Ae], [N, k]], [/droid.+aft(\w+)( bui|\))/i], [a, [I, Y], [N, k]], [/(shield \w+ tv)/i], [a, [I, ve], [N, k]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [I, ii], [N, k]], [/(bravia[\w ]+)( bui|\))/i], [a, [I, Be], [N, k]], [/(mi(tv|box)-?\w+) bui/i], [a, [I, gi], [N, k]], [/Hbbtv.*(technisat) (.*);/i], [I, a, [N, k]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[I, x], [a, x], [N, k]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [a, [N, k]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[N, k]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [I, a, [N, _]], [/droid.+; (shield)( bui|\))/i], [a, [I, ve], [N, _]], [/(playstation \w+)/i], [a, [I, Be], [N, _]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [I, ze], [N, _]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [a, [I, $e], [N, ie]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [I, a, [N, ie]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [a, [I, Ve], [N, ie]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [a, [I, H], [N, ie]], [/(opwwe\d{3})/i], [a, [I, U], [N, ie]], [/(moto 360)/i], [a, [I, he], [N, ie]], [/(smartwatch 3)/i], [a, [I, Be], [N, ie]], [/(g watch r)/i], [a, [I, ge], [N, ie]], [/droid.+; (wt63?0{2,3})\)/i], [a, [I, Mi], [N, ie]], [/droid.+; (glass) \d/i], [a, [I, Ae], [N, ie]], [/(pico) (4|neo3(?: link|pro)?)/i], [I, a, [N, ie]], [/; (quest( \d| pro)?)/i], [a, [I, Oi], [N, ie]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [I, [N, F]], [/(aeobc)\b/i], [a, [I, Y], [N, F]], [/(homepod).+mac os/i], [a, [I, H], [N, F]], [/windows iot/i], [[N, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [a, [N, h]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [N, p]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[N, p]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[N, h]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [a, [I, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [z, [y, Ie + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, z], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [z, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, z], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [z, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, z], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [z, b, Q]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[z, b, Q], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[z, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ai], [z, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [z, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], z], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, z], [/\(bb(10);/i], [z, [y, R]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [z, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [z, [y, je + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [z, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [z, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [z, [y, se + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, di], z], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, z], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], z], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, z]] }, B = function(Z, q) {
|
|
3844
|
+
}, S = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Q = { 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], [z, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [z, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, z], [/opios[\/ ]+([\w\.]+)/i], [z, [y, ne + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [z, [y, ne + " GX"]], [/\bopr\/([\w\.]+)/i], [z, [y, ne]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [z, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [z, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, z], [/quark(?:pc)?\/([-\w\.]+)/i], [z, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [z, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [z, [y, "UC" + $]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [z, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [z, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [z, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [z, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [z, [y, "Smart Lenovo " + $]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + $], z], [/\bfocus\/([\w\.]+)/i], [z, [y, je + " Focus"]], [/\bopt\/([\w\.]+)/i], [z, [y, ne + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [z, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [z, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [z, [y, ne + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [z, [y, "MIUI" + Ni]], [/fxios\/([\w\.-]+)/i], [z, [y, je]], [/\bqihoobrowser\/?([\w\.]*)/i], [z, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], z], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + Ni], z], [/samsungbrowser\/([\w\.]+)/i], [z, [y, $e + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [z, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], z], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, z], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [z, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, Oi], z], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, z], [/\bgsa\/([\w\.]+) .*safari\//i], [z, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [z, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [z, [y, se + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, se + " WebView"], z], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [z, [y, "Android " + $]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, z], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [z, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [z, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [z, b, S]], [/(webkit|khtml)\/([\w\.]+)/i], [y, z], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], z], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, z], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [z, [y, je + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [z, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [z, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[w, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[w, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[w, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[w, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[w, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[w, /ower/, o, g]], [/ sun4\w[;\)]/i], [[w, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[w, g]]], 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], [a, [I, $e], [N, p]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [a, [I, $e], [N, h]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [a, [I, H], [N, h]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [I, H], [N, p]], [/(macintosh);/i], [a, [I, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [I, ii], [N, h]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [a, [I, Qe], [N, p]], [/honor([-\w ]+)[;\)]/i], [a, [I, Qe], [N, h]], [/\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], [a, [I, le], [N, p]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [I, le], [N, h]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[a, /_/g, " "], [I, gi], [N, p]], [/\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], [[a, /_/g, " "], [I, gi], [N, h]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [I, Ve], [N, h]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [a, [I, b, { OnePlus: ["304", "403", "203"], "*": Ve }], [N, p]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [I, "Vivo"], [N, h]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [a, [I, "Realme"], [N, h]], [/\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], [a, [I, he], [N, h]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [I, he], [N, p]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [I, ge], [N, p]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [I, ge], [N, h]], [/(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], [a, [I, G], [N, p]], [/(nokia) (t[12][01])/i], [I, a, [N, p]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[a, /_/g, " "], [N, h], [I, "Nokia"]], [/(pixel (c|tablet))\b/i], [a, [I, Ae], [N, p]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [I, Ae], [N, h]], [/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], [a, [I, Be], [N, h]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [I, Be], [N, p]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [I, U], [N, h]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [I, Y], [N, p]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [I, Y], [N, h]], [/(playbook);[-\w\),; ]+(rim)/i], [a, I, [N, p]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [I, R], [N, h]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [I, V], [N, p]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [I, V], [N, h]], [/(nexus 9)/i], [a, [I, "HTC"], [N, p]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [I, [a, /_/g, " "], [N, h]], [/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], [a, [I, "TCL"], [N, p]], [/(itel) ((\w+))/i], [[I, g], a, [N, b, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [I, "Acer"], [N, p]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [I, "Meizu"], [N, h]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [a, [I, "Ulefone"], [N, h]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [a, [I, "Energizer"], [N, h]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [a, [I, "Cat"], [N, h]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [a, [I, "Smartfren"], [N, h]], [/droid.+; (a(?:015|06[35]|142p?))/i], [a, [I, "Nothing"], [N, h]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [a, [I, "Archos"], [N, p]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [a, [I, "Archos"], [N, h]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [I, a, [N, p]], [/(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], [I, a, [N, h]], [/(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], [I, a, [N, p]], [/(surface duo)/i], [a, [I, ze], [N, p]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [I, "Fairphone"], [N, h]], [/(u304aa)/i], [a, [I, "AT&T"], [N, h]], [/\bsie-(\w*)/i], [a, [I, "Siemens"], [N, h]], [/\b(rct\w+) b/i], [a, [I, "RCA"], [N, p]], [/\b(venue[\d ]{2,7}) b/i], [a, [I, "Dell"], [N, p]], [/\b(q(?:mv|ta)\w+) b/i], [a, [I, "Verizon"], [N, p]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [I, "Barnes & Noble"], [N, p]], [/\b(tm\d{3}\w+) b/i], [a, [I, "NuVision"], [N, p]], [/\b(k88) b/i], [a, [I, "ZTE"], [N, p]], [/\b(nx\d{3}j) b/i], [a, [I, "ZTE"], [N, h]], [/\b(gen\d{3}) b.+49h/i], [a, [I, "Swiss"], [N, h]], [/\b(zur\d{3}) b/i], [a, [I, "Swiss"], [N, p]], [/\b((zeki)?tb.*\b) b/i], [a, [I, "Zeki"], [N, p]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[I, "Dragon Touch"], a, [N, p]], [/\b(ns-?\w{0,9}) b/i], [a, [I, "Insignia"], [N, p]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [I, "NextBook"], [N, p]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[I, "Voice"], a, [N, h]], [/\b(lvtel\-)?(v1[12]) b/i], [[I, "LvTel"], a, [N, h]], [/\b(ph-1) /i], [a, [I, "Essential"], [N, h]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [I, "Envizen"], [N, p]], [/\b(trio[-\w\. ]+) b/i], [a, [I, "MachSpeed"], [N, p]], [/\btu_(1491) b/i], [a, [I, "Rotor"], [N, p]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [a, [I, ve], [N, p]], [/(sprint) (\w+)/i], [I, a, [N, h]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [I, ze], [N, h]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [I, Mi], [N, p]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [I, Mi], [N, h]], [/smart-tv.+(samsung)/i], [I, [N, k]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [I, $e], [N, k]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[I, ge], [N, k]], [/(apple) ?tv/i], [I, [a, H + " TV"], [N, k]], [/crkey/i], [[a, se + "cast"], [I, Ae], [N, k]], [/droid.+aft(\w+)( bui|\))/i], [a, [I, Y], [N, k]], [/(shield \w+ tv)/i], [a, [I, ve], [N, k]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [I, ii], [N, k]], [/(bravia[\w ]+)( bui|\))/i], [a, [I, Be], [N, k]], [/(mi(tv|box)-?\w+) bui/i], [a, [I, gi], [N, k]], [/Hbbtv.*(technisat) (.*);/i], [I, a, [N, k]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[I, E], [a, E], [N, k]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [a, [N, k]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[N, k]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [I, a, [N, _]], [/droid.+; (shield)( bui|\))/i], [a, [I, ve], [N, _]], [/(playstation \w+)/i], [a, [I, Be], [N, _]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [I, ze], [N, _]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [a, [I, $e], [N, ie]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [I, a, [N, ie]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [a, [I, Ve], [N, ie]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [a, [I, H], [N, ie]], [/(opwwe\d{3})/i], [a, [I, U], [N, ie]], [/(moto 360)/i], [a, [I, he], [N, ie]], [/(smartwatch 3)/i], [a, [I, Be], [N, ie]], [/(g watch r)/i], [a, [I, ge], [N, ie]], [/droid.+; (wt63?0{2,3})\)/i], [a, [I, Mi], [N, ie]], [/droid.+; (glass) \d/i], [a, [I, Ae], [N, ie]], [/(pico) (4|neo3(?: link|pro)?)/i], [I, a, [N, ie]], [/; (quest( \d| pro)?)/i], [a, [I, Oi], [N, ie]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [I, [N, F]], [/(aeobc)\b/i], [a, [I, Y], [N, F]], [/(homepod).+mac os/i], [a, [I, H], [N, F]], [/windows iot/i], [[N, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [a, [N, h]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [N, p]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[N, p]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[N, h]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [a, [I, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [z, [y, Ie + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, z], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [z, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, z], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [z, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, z], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [z, b, Q]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[z, b, Q], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[z, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ai], [z, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [z, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], z], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, z], [/\(bb(10);/i], [z, [y, R]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [z, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [z, [y, je + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [z, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [z, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [z, [y, se + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, di], z], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, z], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], z], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, z]] }, B = function(Z, q) {
|
|
3840
3845
|
if (typeof Z === j && (q = Z, Z = r), !(this instanceof B))
|
|
3841
3846
|
return new B(Z, q).getResult();
|
|
3842
|
-
var P = typeof t !== D && t.navigator ? t.navigator : r, Me = Z || (P && P.userAgent ? P.userAgent : o), Le = P && P.userAgentData ? P.userAgentData : r, we = q ?
|
|
3847
|
+
var P = typeof t !== D && t.navigator ? t.navigator : r, Me = Z || (P && P.userAgent ? P.userAgent : o), Le = P && P.userAgentData ? P.userAgentData : r, we = q ? xi(K, q) : K, oe = P && P.userAgent == Me;
|
|
3843
3848
|
return this.getBrowser = function() {
|
|
3844
3849
|
var W = {};
|
|
3845
3850
|
return W[y] = r, W[z] = r, v.call(W, Me, we.browser), W[c] = T(W[z]), oe && P && P.brave && typeof P.brave.isBrave == M && (W[y] = "Brave"), W;
|
|
@@ -3860,7 +3865,7 @@ function la() {
|
|
|
3860
3865
|
}, this.getUA = function() {
|
|
3861
3866
|
return Me;
|
|
3862
3867
|
}, this.setUA = function(W) {
|
|
3863
|
-
return Me = typeof W === A && W.length > ae ?
|
|
3868
|
+
return Me = typeof W === A && W.length > ae ? E(W, ae) : W, this;
|
|
3864
3869
|
}, this.setUA(Me), this;
|
|
3865
3870
|
};
|
|
3866
3871
|
B.VERSION = n, B.BROWSER = ui([y, z, c]), B.CPU = ui([w]), B.DEVICE = ui([a, I, N, _, h, k, p, ie, F]), B.ENGINE = B.OS = ui([y, z]), e.exports && (i = e.exports = B), i.UAParser = B;
|
|
@@ -3920,20 +3925,20 @@ function ca() {
|
|
|
3920
3925
|
function N(f, u) {
|
|
3921
3926
|
var l = Object.keys(f);
|
|
3922
3927
|
if (Object.getOwnPropertySymbols) {
|
|
3923
|
-
var
|
|
3924
|
-
u && (
|
|
3928
|
+
var x = Object.getOwnPropertySymbols(f);
|
|
3929
|
+
u && (x = x.filter(function(m) {
|
|
3925
3930
|
return Object.getOwnPropertyDescriptor(f, m).enumerable;
|
|
3926
|
-
})), l.push.apply(l,
|
|
3931
|
+
})), l.push.apply(l, x);
|
|
3927
3932
|
}
|
|
3928
3933
|
return l;
|
|
3929
3934
|
}
|
|
3930
3935
|
function I(f) {
|
|
3931
3936
|
for (var u = 1; u < arguments.length; u++) {
|
|
3932
3937
|
var l = arguments[u] != null ? arguments[u] : {};
|
|
3933
|
-
u % 2 ? N(Object(l), !0).forEach(function(
|
|
3934
|
-
p(f,
|
|
3935
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(l)) : N(Object(l)).forEach(function(
|
|
3936
|
-
Object.defineProperty(f,
|
|
3938
|
+
u % 2 ? N(Object(l), !0).forEach(function(x) {
|
|
3939
|
+
p(f, x, l[x]);
|
|
3940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(l)) : N(Object(l)).forEach(function(x) {
|
|
3941
|
+
Object.defineProperty(f, x, Object.getOwnPropertyDescriptor(l, x));
|
|
3937
3942
|
});
|
|
3938
3943
|
}
|
|
3939
3944
|
return f;
|
|
@@ -3952,8 +3957,8 @@ function ca() {
|
|
|
3952
3957
|
}
|
|
3953
3958
|
function _(f, u) {
|
|
3954
3959
|
for (var l = 0; l < u.length; l++) {
|
|
3955
|
-
var
|
|
3956
|
-
|
|
3960
|
+
var x = u[l];
|
|
3961
|
+
x.enumerable = x.enumerable || !1, x.configurable = !0, "value" in x && (x.writable = !0), Object.defineProperty(f, x.key, x);
|
|
3957
3962
|
}
|
|
3958
3963
|
}
|
|
3959
3964
|
function h(f, u, l) {
|
|
@@ -3971,8 +3976,8 @@ function ca() {
|
|
|
3971
3976
|
return k = Object.assign || function(f) {
|
|
3972
3977
|
for (var u = 1; u < arguments.length; u++) {
|
|
3973
3978
|
var l = arguments[u];
|
|
3974
|
-
for (var
|
|
3975
|
-
Object.prototype.hasOwnProperty.call(l,
|
|
3979
|
+
for (var x in l)
|
|
3980
|
+
Object.prototype.hasOwnProperty.call(l, x) && (f[x] = l[x]);
|
|
3976
3981
|
}
|
|
3977
3982
|
return f;
|
|
3978
3983
|
}, k.apply(this, arguments);
|
|
@@ -3994,24 +3999,24 @@ function ca() {
|
|
|
3994
3999
|
}, F(f);
|
|
3995
4000
|
}
|
|
3996
4001
|
function ae(f, u) {
|
|
3997
|
-
return ae = Object.setPrototypeOf || function(
|
|
3998
|
-
return
|
|
4002
|
+
return ae = Object.setPrototypeOf || function(x, m) {
|
|
4003
|
+
return x.__proto__ = m, x;
|
|
3999
4004
|
}, ae(f, u);
|
|
4000
4005
|
}
|
|
4001
4006
|
function Y(f, u) {
|
|
4002
4007
|
if (f == null) return {};
|
|
4003
|
-
var l = {},
|
|
4004
|
-
for (te = 0; te <
|
|
4005
|
-
m =
|
|
4008
|
+
var l = {}, x = Object.keys(f), m, te;
|
|
4009
|
+
for (te = 0; te < x.length; te++)
|
|
4010
|
+
m = x[te], !(u.indexOf(m) >= 0) && (l[m] = f[m]);
|
|
4006
4011
|
return l;
|
|
4007
4012
|
}
|
|
4008
4013
|
function H(f, u) {
|
|
4009
4014
|
if (f == null) return {};
|
|
4010
|
-
var l = Y(f, u),
|
|
4015
|
+
var l = Y(f, u), x, m;
|
|
4011
4016
|
if (Object.getOwnPropertySymbols) {
|
|
4012
4017
|
var te = Object.getOwnPropertySymbols(f);
|
|
4013
4018
|
for (m = 0; m < te.length; m++)
|
|
4014
|
-
|
|
4019
|
+
x = te[m], !(u.indexOf(x) >= 0) && Object.prototype.propertyIsEnumerable.call(f, x) && (l[x] = f[x]);
|
|
4015
4020
|
}
|
|
4016
4021
|
return l;
|
|
4017
4022
|
}
|
|
@@ -4036,9 +4041,9 @@ function ca() {
|
|
|
4036
4041
|
function Ie(f, u) {
|
|
4037
4042
|
var l = f == null ? null : typeof Symbol != "undefined" && f[Symbol.iterator] || f["@@iterator"];
|
|
4038
4043
|
if (l != null) {
|
|
4039
|
-
var
|
|
4044
|
+
var x = [], m = !0, te = !1, Oe, ke;
|
|
4040
4045
|
try {
|
|
4041
|
-
for (l = l.call(f); !(m = (Oe = l.next()).done) && (
|
|
4046
|
+
for (l = l.call(f); !(m = (Oe = l.next()).done) && (x.push(Oe.value), !(u && x.length === u)); m = !0)
|
|
4042
4047
|
;
|
|
4043
4048
|
} catch (qi) {
|
|
4044
4049
|
te = !0, ke = qi;
|
|
@@ -4049,7 +4054,7 @@ function ca() {
|
|
|
4049
4054
|
if (te) throw ke;
|
|
4050
4055
|
}
|
|
4051
4056
|
}
|
|
4052
|
-
return
|
|
4057
|
+
return x;
|
|
4053
4058
|
}
|
|
4054
4059
|
}
|
|
4055
4060
|
function je(f, u) {
|
|
@@ -4062,8 +4067,8 @@ function ca() {
|
|
|
4062
4067
|
}
|
|
4063
4068
|
function Ae(f, u) {
|
|
4064
4069
|
(u == null || u > f.length) && (u = f.length);
|
|
4065
|
-
for (var l = 0,
|
|
4066
|
-
return
|
|
4070
|
+
for (var l = 0, x = new Array(u); l < u; l++) x[l] = f[l];
|
|
4071
|
+
return x;
|
|
4067
4072
|
}
|
|
4068
4073
|
function Qe() {
|
|
4069
4074
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -4147,69 +4152,69 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4147
4152
|
}, Ve = function(u) {
|
|
4148
4153
|
var l = ne();
|
|
4149
4154
|
return l && l.platform && (l.platform.indexOf(u) !== -1 || l.platform === "MacIntel" && l.maxTouchPoints > 1 && !window.MSStream);
|
|
4150
|
-
}, $e = function(u, l,
|
|
4155
|
+
}, $e = function(u, l, x, m, te) {
|
|
4151
4156
|
return {
|
|
4152
4157
|
isBrowser: u,
|
|
4153
4158
|
browserMajorVersion: U(l.major),
|
|
4154
4159
|
browserFullVersion: U(l.version),
|
|
4155
4160
|
browserName: U(l.name),
|
|
4156
|
-
engineName: U(
|
|
4157
|
-
engineVersion: U(
|
|
4161
|
+
engineName: U(x.name),
|
|
4162
|
+
engineVersion: U(x.version),
|
|
4158
4163
|
osName: U(m.name),
|
|
4159
4164
|
osVersion: U(m.version),
|
|
4160
4165
|
userAgent: U(te)
|
|
4161
4166
|
};
|
|
4162
|
-
}, ii = function(u, l,
|
|
4167
|
+
}, ii = function(u, l, x, m) {
|
|
4163
4168
|
return I({}, u, {
|
|
4164
4169
|
vendor: U(l.vendor),
|
|
4165
4170
|
model: U(l.model),
|
|
4166
|
-
os: U(
|
|
4167
|
-
osVersion: U(
|
|
4171
|
+
os: U(x.name),
|
|
4172
|
+
osVersion: U(x.version),
|
|
4168
4173
|
ua: U(m)
|
|
4169
4174
|
});
|
|
4170
|
-
}, Be = function(u, l,
|
|
4175
|
+
}, Be = function(u, l, x, m) {
|
|
4171
4176
|
return {
|
|
4172
4177
|
isSmartTV: u,
|
|
4173
4178
|
engineName: U(l.name),
|
|
4174
4179
|
engineVersion: U(l.version),
|
|
4175
|
-
osName: U(
|
|
4176
|
-
osVersion: U(
|
|
4180
|
+
osName: U(x.name),
|
|
4181
|
+
osVersion: U(x.version),
|
|
4177
4182
|
userAgent: U(m)
|
|
4178
4183
|
};
|
|
4179
|
-
}, gi = function(u, l,
|
|
4184
|
+
}, gi = function(u, l, x, m) {
|
|
4180
4185
|
return {
|
|
4181
4186
|
isConsole: u,
|
|
4182
4187
|
engineName: U(l.name),
|
|
4183
4188
|
engineVersion: U(l.version),
|
|
4184
|
-
osName: U(
|
|
4185
|
-
osVersion: U(
|
|
4189
|
+
osName: U(x.name),
|
|
4190
|
+
osVersion: U(x.version),
|
|
4186
4191
|
userAgent: U(m)
|
|
4187
4192
|
};
|
|
4188
|
-
}, Mi = function(u, l,
|
|
4193
|
+
}, Mi = function(u, l, x, m) {
|
|
4189
4194
|
return {
|
|
4190
4195
|
isWearable: u,
|
|
4191
4196
|
engineName: U(l.name),
|
|
4192
4197
|
engineVersion: U(l.version),
|
|
4193
|
-
osName: U(
|
|
4194
|
-
osVersion: U(
|
|
4198
|
+
osName: U(x.name),
|
|
4199
|
+
osVersion: U(x.version),
|
|
4195
4200
|
userAgent: U(m)
|
|
4196
4201
|
};
|
|
4197
|
-
}, Oi = function(u, l,
|
|
4202
|
+
}, Oi = function(u, l, x, m, te) {
|
|
4198
4203
|
return {
|
|
4199
4204
|
isEmbedded: u,
|
|
4200
4205
|
vendor: U(l.vendor),
|
|
4201
4206
|
model: U(l.model),
|
|
4202
|
-
engineName: U(
|
|
4203
|
-
engineVersion: U(
|
|
4207
|
+
engineName: U(x.name),
|
|
4208
|
+
engineVersion: U(x.version),
|
|
4204
4209
|
osName: U(m.name),
|
|
4205
4210
|
osVersion: U(m.version),
|
|
4206
4211
|
userAgent: U(te)
|
|
4207
4212
|
};
|
|
4208
4213
|
};
|
|
4209
4214
|
function di(f) {
|
|
4210
|
-
var u = f ? a(f) : y, l = u.device,
|
|
4215
|
+
var u = f ? a(f) : y, l = u.device, x = u.browser, m = u.engine, te = u.os, Oe = u.ua, ke = he(l.type), qi = ke.isBrowser, As = ke.isMobile, Ts = ke.isTablet, pr = ke.isSmartTV, _r = ke.isConsole, br = ke.isWearable, Sr = ke.isEmbedded;
|
|
4211
4216
|
if (qi)
|
|
4212
|
-
return $e(qi,
|
|
4217
|
+
return $e(qi, x, m, te, Oe);
|
|
4213
4218
|
if (pr)
|
|
4214
4219
|
return Be(pr, m, te, Oe);
|
|
4215
4220
|
if (_r)
|
|
@@ -4227,7 +4232,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4227
4232
|
}, Ni = function(u) {
|
|
4228
4233
|
var l = u.type;
|
|
4229
4234
|
return l === le.Tablet;
|
|
4230
|
-
},
|
|
4235
|
+
}, xi = function(u) {
|
|
4231
4236
|
var l = u.type;
|
|
4232
4237
|
return l === le.Mobile || l === le.Tablet;
|
|
4233
4238
|
}, ui = function(u) {
|
|
@@ -4242,7 +4247,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4242
4247
|
}, T = function(u) {
|
|
4243
4248
|
var l = u.type;
|
|
4244
4249
|
return l === le.Console;
|
|
4245
|
-
},
|
|
4250
|
+
}, E = function(u) {
|
|
4246
4251
|
var l = u.type;
|
|
4247
4252
|
return l === le.Embedded;
|
|
4248
4253
|
}, v = function(u) {
|
|
@@ -4296,7 +4301,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4296
4301
|
}, Ye = function(u) {
|
|
4297
4302
|
var l = u.name;
|
|
4298
4303
|
return l === G.MobileSafari;
|
|
4299
|
-
},
|
|
4304
|
+
}, Ei = function(u) {
|
|
4300
4305
|
var l = u.name;
|
|
4301
4306
|
return l === G.Opera;
|
|
4302
4307
|
}, Li = function(u) {
|
|
@@ -4341,15 +4346,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4341
4346
|
return U(u);
|
|
4342
4347
|
};
|
|
4343
4348
|
function jr(f) {
|
|
4344
|
-
var u = f || y, l = u.device,
|
|
4349
|
+
var u = f || y, l = u.device, x = u.browser, m = u.os, te = u.engine, Oe = u.ua;
|
|
4345
4350
|
return {
|
|
4346
4351
|
isSmartTV: ui(l),
|
|
4347
4352
|
isConsole: T(l),
|
|
4348
4353
|
isWearable: g(l),
|
|
4349
|
-
isEmbedded:
|
|
4350
|
-
isMobileSafari: Ye(
|
|
4351
|
-
isChromium: Le(
|
|
4352
|
-
isMobile:
|
|
4354
|
+
isEmbedded: E(l),
|
|
4355
|
+
isMobileSafari: Ye(x) || Ke(),
|
|
4356
|
+
isChromium: Le(x),
|
|
4357
|
+
isMobile: xi(l) || Ke(),
|
|
4353
4358
|
isMobileOnly: ai(l),
|
|
4354
4359
|
isTablet: Ni(l) || Ke(),
|
|
4355
4360
|
isBrowser: Xe(l),
|
|
@@ -4357,23 +4362,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4357
4362
|
isAndroid: Q(m),
|
|
4358
4363
|
isWinPhone: ue(m),
|
|
4359
4364
|
isIOS: Se(m) || Ke(),
|
|
4360
|
-
isChrome: P(
|
|
4361
|
-
isFirefox: Me(
|
|
4362
|
-
isSafari: W(
|
|
4363
|
-
isOpera:
|
|
4364
|
-
isIE: Li(
|
|
4365
|
+
isChrome: P(x),
|
|
4366
|
+
isFirefox: Me(x),
|
|
4367
|
+
isSafari: W(x),
|
|
4368
|
+
isOpera: Ei(x),
|
|
4369
|
+
isIE: Li(x),
|
|
4365
4370
|
osVersion: Z(m),
|
|
4366
4371
|
osName: q(m),
|
|
4367
|
-
fullBrowserVersion: Mr(
|
|
4368
|
-
browserVersion: ar(
|
|
4369
|
-
browserName: ur(
|
|
4372
|
+
fullBrowserVersion: Mr(x),
|
|
4373
|
+
browserVersion: ar(x),
|
|
4374
|
+
browserName: ur(x),
|
|
4370
4375
|
mobileVendor: v(l),
|
|
4371
4376
|
mobileModel: b(l),
|
|
4372
4377
|
engineName: lr(te),
|
|
4373
4378
|
engineVersion: cr(te),
|
|
4374
4379
|
getUA: Ir(Oe),
|
|
4375
|
-
isEdge: we(
|
|
4376
|
-
isYandex: oe(
|
|
4380
|
+
isEdge: we(x) || hi(Oe),
|
|
4381
|
+
isYandex: oe(x),
|
|
4377
4382
|
deviceType: S(l),
|
|
4378
4383
|
isIOS13: dr(),
|
|
4379
4384
|
isIPad13: Ke(),
|
|
@@ -4381,73 +4386,73 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4381
4386
|
isIPod13: Dr(),
|
|
4382
4387
|
isElectron: gr(),
|
|
4383
4388
|
isEdgeChromium: hi(Oe),
|
|
4384
|
-
isLegacyEdge: we(
|
|
4389
|
+
isLegacyEdge: we(x) && !hi(Oe),
|
|
4385
4390
|
isWindows: K(m),
|
|
4386
4391
|
isMacOs: B(m),
|
|
4387
|
-
isMIUI: or(
|
|
4388
|
-
isSamsungBrowser: sr(
|
|
4392
|
+
isMIUI: or(x),
|
|
4393
|
+
isSamsungBrowser: sr(x)
|
|
4389
4394
|
};
|
|
4390
4395
|
}
|
|
4391
|
-
var yr = ui(M), fr = T(M), Ar = g(M), ho =
|
|
4396
|
+
var yr = ui(M), fr = T(M), Ar = g(M), ho = E(M), mo = Ye(o) || Ke(), wo = Le(o), Ki = xi(M) || Ke(), Tr = ai(M), zr = Ni(M) || Ke(), Or = Xe(M), po = Xe(M), xr = Q(j), Er = ue(j), hr = Se(j) || Ke(), _o = P(o), bo = Me(o), So = W(o), Co = Ei(o), mr = Li(o), vo = Z(j), Lo = q(j), ko = Mr(o), Uo = ar(o), Qo = ur(o), Yo = v(M), Po = b(M), Ro = lr(D), Fo = cr(D), Vo = Ir(A), Bo = we(o) || hi(A), Wo = oe(o), Zo = S(M), Ho = dr(), Go = Ke(), Jo = Nr(), $o = Dr(), Xo = gr(), Ko = hi(A), qo = we(o) && !hi(A), es = K(j), is = B(j), ts = or(o), rs = sr(o), ns = function(u) {
|
|
4392
4397
|
if (!u || typeof u != "string") {
|
|
4393
4398
|
console.error("No valid user agent string was provided");
|
|
4394
4399
|
return;
|
|
4395
4400
|
}
|
|
4396
|
-
var l = a(u),
|
|
4401
|
+
var l = a(u), x = l.device, m = l.browser, te = l.os, Oe = l.engine, ke = l.ua;
|
|
4397
4402
|
return jr({
|
|
4398
|
-
device:
|
|
4403
|
+
device: x,
|
|
4399
4404
|
browser: m,
|
|
4400
4405
|
os: te,
|
|
4401
4406
|
engine: Oe,
|
|
4402
4407
|
ua: ke
|
|
4403
4408
|
});
|
|
4404
4409
|
}, os = function(u) {
|
|
4405
|
-
var l = u.renderWithFragment,
|
|
4406
|
-
return
|
|
4410
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4411
|
+
return xr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4407
4412
|
}, ss = function(u) {
|
|
4408
|
-
var l = u.renderWithFragment,
|
|
4409
|
-
return Or ? l ? t.createElement(i.Fragment, null,
|
|
4413
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4414
|
+
return Or ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4410
4415
|
}, Ms = function(u) {
|
|
4411
|
-
var l = u.renderWithFragment,
|
|
4412
|
-
return mr ? l ? t.createElement(i.Fragment, null,
|
|
4416
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4417
|
+
return mr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4413
4418
|
}, as = function(u) {
|
|
4414
|
-
var l = u.renderWithFragment,
|
|
4415
|
-
return hr ? l ? t.createElement(i.Fragment, null,
|
|
4419
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4420
|
+
return hr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4416
4421
|
}, us = function(u) {
|
|
4417
|
-
var l = u.renderWithFragment,
|
|
4418
|
-
return Ki ? l ? t.createElement(i.Fragment, null,
|
|
4422
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4423
|
+
return Ki ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4419
4424
|
}, ls = function(u) {
|
|
4420
|
-
var l = u.renderWithFragment,
|
|
4421
|
-
return zr ? l ? t.createElement(i.Fragment, null,
|
|
4425
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4426
|
+
return zr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4422
4427
|
}, cs = function(u) {
|
|
4423
|
-
var l = u.renderWithFragment,
|
|
4424
|
-
return
|
|
4428
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4429
|
+
return Er ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4425
4430
|
}, gs = function(u) {
|
|
4426
|
-
var l = u.renderWithFragment,
|
|
4431
|
+
var l = u.renderWithFragment, x = u.children;
|
|
4427
4432
|
u.viewClassName, u.style;
|
|
4428
4433
|
var m = H(u, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
4429
|
-
return Tr ? l ? t.createElement(i.Fragment, null,
|
|
4434
|
+
return Tr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4430
4435
|
}, ds = function(u) {
|
|
4431
|
-
var l = u.renderWithFragment,
|
|
4432
|
-
return yr ? l ? t.createElement(i.Fragment, null,
|
|
4436
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4437
|
+
return yr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4433
4438
|
}, Ns = function(u) {
|
|
4434
|
-
var l = u.renderWithFragment,
|
|
4435
|
-
return fr ? l ? t.createElement(i.Fragment, null,
|
|
4439
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4440
|
+
return fr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4436
4441
|
}, Ds = function(u) {
|
|
4437
|
-
var l = u.renderWithFragment,
|
|
4438
|
-
return Ar ? l ? t.createElement(i.Fragment, null,
|
|
4442
|
+
var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
|
|
4443
|
+
return Ar ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
|
|
4439
4444
|
}, Is = function(u) {
|
|
4440
|
-
var l = u.renderWithFragment,
|
|
4445
|
+
var l = u.renderWithFragment, x = u.children;
|
|
4441
4446
|
u.viewClassName, u.style;
|
|
4442
4447
|
var m = u.condition, te = H(u, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
4443
|
-
return m ? l ? t.createElement(i.Fragment, null,
|
|
4448
|
+
return m ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", te, x) : null;
|
|
4444
4449
|
};
|
|
4445
4450
|
function js(f) {
|
|
4446
4451
|
return /* @__PURE__ */ (function(u) {
|
|
4447
4452
|
ie(l, u);
|
|
4448
|
-
function l(
|
|
4453
|
+
function l(x) {
|
|
4449
4454
|
var m;
|
|
4450
|
-
return w(this, l), m = R(this, F(l).call(this,
|
|
4455
|
+
return w(this, l), m = R(this, F(l).call(this, x)), m.isEventListenerAdded = !1, m.handleOrientationChange = m.handleOrientationChange.bind(V(m)), m.onOrientationChange = m.onOrientationChange.bind(V(m)), m.onPageLoad = m.onPageLoad.bind(V(m)), m.state = {
|
|
4451
4456
|
isLandscape: !1,
|
|
4452
4457
|
isPortrait: !1
|
|
4453
4458
|
}, m;
|
|
@@ -4501,13 +4506,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4501
4506
|
isLandscape: te === 90,
|
|
4502
4507
|
orientation: te === 0 ? "portrait" : "landscape"
|
|
4503
4508
|
};
|
|
4504
|
-
}), u = $(f, 2), l = u[0],
|
|
4509
|
+
}), u = $(f, 2), l = u[0], x = u[1], m = i.useCallback(function() {
|
|
4505
4510
|
var te = window.innerWidth > window.innerHeight ? 90 : 0, Oe = {
|
|
4506
4511
|
isPortrait: te === 0,
|
|
4507
4512
|
isLandscape: te === 90,
|
|
4508
4513
|
orientation: te === 0 ? "portrait" : "landscape"
|
|
4509
4514
|
};
|
|
4510
|
-
l.orientation !== Oe.orientation &&
|
|
4515
|
+
l.orientation !== Oe.orientation && x(Oe);
|
|
4511
4516
|
}, [l.orientation]);
|
|
4512
4517
|
return i.useEffect(function() {
|
|
4513
4518
|
return (typeof window == "undefined" ? "undefined" : z(window)) !== void 0 && Ki && (m(), window.addEventListener("load", m, !1), window.addEventListener("resize", m, !1)), function() {
|
|
@@ -4520,10 +4525,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4520
4525
|
return a(u);
|
|
4521
4526
|
}
|
|
4522
4527
|
function fs(f) {
|
|
4523
|
-
var u = f || window.navigator.userAgent, l = wr(u),
|
|
4524
|
-
return [
|
|
4528
|
+
var u = f || window.navigator.userAgent, l = wr(u), x = jr(l);
|
|
4529
|
+
return [x, l];
|
|
4525
4530
|
}
|
|
4526
|
-
return L.AndroidView = os, L.BrowserTypes = G, L.BrowserView = ss, L.ConsoleView = Ns, L.CustomView = Is, L.IEView = Ms, L.IOSView = as, L.MobileOnlyView = gs, L.MobileView = us, L.OsTypes = ge, L.SmartTVView = ds, L.TabletView = ls, L.WearableView = Ds, L.WinPhoneView = cs, L.browserName = Qo, L.browserVersion = Uo, L.deviceDetect = di, L.deviceType = Zo, L.engineName = Ro, L.engineVersion = Fo, L.fullBrowserVersion = ko, L.getSelectorsByUserAgent = ns, L.getUA = Vo, L.isAndroid =
|
|
4531
|
+
return L.AndroidView = os, L.BrowserTypes = G, L.BrowserView = ss, L.ConsoleView = Ns, L.CustomView = Is, L.IEView = Ms, L.IOSView = as, L.MobileOnlyView = gs, L.MobileView = us, L.OsTypes = ge, L.SmartTVView = ds, L.TabletView = ls, L.WearableView = Ds, L.WinPhoneView = cs, L.browserName = Qo, L.browserVersion = Uo, L.deviceDetect = di, L.deviceType = Zo, L.engineName = Ro, L.engineVersion = Fo, L.fullBrowserVersion = ko, L.getSelectorsByUserAgent = ns, L.getUA = Vo, L.isAndroid = xr, L.isBrowser = Or, L.isChrome = _o, L.isChromium = wo, L.isConsole = fr, L.isDesktop = po, L.isEdge = Bo, L.isEdgeChromium = Ko, L.isElectron = Xo, L.isEmbedded = ho, L.isFirefox = bo, L.isIE = mr, L.isIOS = hr, L.isIOS13 = Ho, L.isIPad13 = Go, L.isIPhone13 = Jo, L.isIPod13 = $o, L.isLegacyEdge = qo, L.isMIUI = ts, L.isMacOs = is, L.isMobile = Ki, L.isMobileOnly = Tr, L.isMobileSafari = mo, L.isOpera = Co, L.isSafari = So, L.isSamsungBrowser = rs, L.isSmartTV = yr, L.isTablet = zr, L.isWearable = Ar, L.isWinPhone = Er, L.isWindows = es, L.isYandex = Wo, L.mobileModel = Po, L.mobileVendor = Yo, L.osName = Lo, L.osVersion = vo, L.parseUserAgent = a, L.setUserAgent = ve, L.useDeviceData = wr, L.useDeviceSelectors = fs, L.useMobileOrientation = ys, L.withOrientationChange = js, L;
|
|
4527
4532
|
}
|
|
4528
4533
|
var Ii = ca();
|
|
4529
4534
|
const ga = {
|
|
@@ -4725,7 +4730,7 @@ const ga = {
|
|
|
4725
4730
|
padding: "32px 24px 0 24px",
|
|
4726
4731
|
border: "1px solid rgba(0, 0, 0, 0.06)",
|
|
4727
4732
|
width: "min(400px, calc(100vw - 32px))"
|
|
4728
|
-
},
|
|
4733
|
+
}, xa = {
|
|
4729
4734
|
marginBottom: "10px",
|
|
4730
4735
|
fontWeight: 500,
|
|
4731
4736
|
display: "-webkit-box",
|
|
@@ -4734,7 +4739,7 @@ const ga = {
|
|
|
4734
4739
|
overflow: "hidden",
|
|
4735
4740
|
textOverflow: "ellipsis",
|
|
4736
4741
|
lineClamp: 2
|
|
4737
|
-
},
|
|
4742
|
+
}, Ea = {
|
|
4738
4743
|
marginBottom: "84px",
|
|
4739
4744
|
fontWeight: 400
|
|
4740
4745
|
}, ha = {
|
|
@@ -4878,8 +4883,8 @@ const ga = {
|
|
|
4878
4883
|
backgroundColor: (h == null ? void 0 : h.backgroundColor) || "#ffffff"
|
|
4879
4884
|
}),
|
|
4880
4885
|
children: [
|
|
4881
|
-
/* @__PURE__ */ d("div", { style:
|
|
4882
|
-
/* @__PURE__ */ d("div", { style:
|
|
4886
|
+
/* @__PURE__ */ d("div", { style: xa, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "24px" }, h.title))) }),
|
|
4887
|
+
/* @__PURE__ */ d("div", { style: Ea, children: /* @__PURE__ */ d("div", { style: ha, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "17px" }, h.message))) }) }),
|
|
4883
4888
|
h.actionButton1 && /* @__PURE__ */ d("div", { style: ma, children: /* @__PURE__ */ d(
|
|
4884
4889
|
lt,
|
|
4885
4890
|
O(O({
|
|
@@ -5009,7 +5014,7 @@ const ga = {
|
|
|
5009
5014
|
});
|
|
5010
5015
|
return o(M), null;
|
|
5011
5016
|
};
|
|
5012
|
-
let
|
|
5017
|
+
let xt = !1;
|
|
5013
5018
|
const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
|
|
5014
5019
|
/* @__PURE__ */ d("style", { children: "#gui-idv-web-c *, #gui-idv-web-c *::before, #gui-idv-web-c *::after {box-sizing: border-box;}" }),
|
|
5015
5020
|
e
|
|
@@ -5100,14 +5105,14 @@ const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
|
|
|
5100
5105
|
});
|
|
5101
5106
|
}
|
|
5102
5107
|
static isReady() {
|
|
5103
|
-
return
|
|
5108
|
+
return xt;
|
|
5104
5109
|
}
|
|
5105
5110
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5106
5111
|
static initialize(i) {
|
|
5107
|
-
|
|
5112
|
+
xt = !0;
|
|
5108
5113
|
}
|
|
5109
5114
|
static deinitialize() {
|
|
5110
|
-
|
|
5115
|
+
xt = !1;
|
|
5111
5116
|
}
|
|
5112
5117
|
};
|
|
5113
5118
|
Vi.displayName = at, Vi.getSupportedTemplates = () => Object.values(We), Vi.getIdentifier = () => at;
|