@regulaforensics/idv-capture-web 3.6.398-nightly → 3.6.399-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +12 -12
- package/dist/main.js +577 -568
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -784,23 +784,23 @@ function oh(r) {
|
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
786
|
function od(r, e, t, o, s, a, l, d, c, g) {
|
|
787
|
-
var M, p, h, y, D, N, m, T, E, w,
|
|
787
|
+
var M, p, h, y, D, N, m, T, E, w, S, R, Y, $, Z, le = e.type;
|
|
788
788
|
if (e.constructor !== void 0) return null;
|
|
789
789
|
128 & t.__u && (c = !!(32 & t.__u), a = [d = e.__e = t.__e]), (M = Be.__b) && M(e);
|
|
790
790
|
e: if (typeof le == "function") try {
|
|
791
|
-
if (T = e.props, E = le.prototype && le.prototype.render, w = (M = le.contextType) && o[M.__c],
|
|
791
|
+
if (T = e.props, E = le.prototype && le.prototype.render, w = (M = le.contextType) && o[M.__c], S = M ? w ? w.props.value : M.__ : o, t.__c ? m = (p = e.__c = t.__c).__ = p.__E : (E ? e.__c = p = new le(T, S) : (e.__c = p = new ar(T, S), p.constructor = le, p.render = G_), w && w.sub(p), p.state || (p.state = {}), p.__n = o, h = p.__d = !0, p.__h = [], p._sb = []), E && p.__s == null && (p.__s = p.state), E && le.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = Ir({}, p.__s)), Ir(p.__s, le.getDerivedStateFromProps(T, p.__s))), y = p.props, D = p.state, p.__v = e, h) E && le.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), E && p.componentDidMount != null && p.__h.push(p.componentDidMount);
|
|
792
792
|
else {
|
|
793
|
-
if (E && le.getDerivedStateFromProps == null && T !== y && p.componentWillReceiveProps != null && p.componentWillReceiveProps(T,
|
|
793
|
+
if (E && le.getDerivedStateFromProps == null && T !== y && p.componentWillReceiveProps != null && p.componentWillReceiveProps(T, S), e.__v == t.__v || !p.__e && p.shouldComponentUpdate != null && p.shouldComponentUpdate(T, p.__s, S) === !1) {
|
|
794
794
|
e.__v != t.__v && (p.props = T, p.state = p.__s, p.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.some(function(q) {
|
|
795
795
|
q && (q.__ = e);
|
|
796
796
|
}), wu.push.apply(p.__h, p._sb), p._sb = [], p.__h.length && l.push(p);
|
|
797
797
|
break e;
|
|
798
798
|
}
|
|
799
|
-
p.componentWillUpdate != null && p.componentWillUpdate(T, p.__s,
|
|
799
|
+
p.componentWillUpdate != null && p.componentWillUpdate(T, p.__s, S), E && p.componentDidUpdate != null && p.__h.push(function() {
|
|
800
800
|
p.componentDidUpdate(y, D, N);
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
|
-
if (p.context =
|
|
803
|
+
if (p.context = S, p.props = T, p.__P = r, p.__e = !1, R = Be.__r, Y = 0, E) p.state = p.__s, p.__d = !1, R && R(e), M = p.render(p.props, p.state, p.context), wu.push.apply(p.__h, p._sb), p._sb = [];
|
|
804
804
|
else do
|
|
805
805
|
p.__d = !1, R && R(e), M = p.render(p.props, p.state, p.context), p.state = p.__s;
|
|
806
806
|
while (p.__d && ++Y < 25);
|
|
@@ -1489,52 +1489,52 @@ function hT(r) {
|
|
|
1489
1489
|
});
|
|
1490
1490
|
}), t;
|
|
1491
1491
|
}
|
|
1492
|
-
var
|
|
1492
|
+
var he = {};
|
|
1493
1493
|
const MT = /* @__PURE__ */ hT(cT);
|
|
1494
1494
|
var Bs = { exports: {} }, pT = Bs.exports, _h;
|
|
1495
1495
|
function IT() {
|
|
1496
1496
|
return _h || (_h = 1, (function(r, e) {
|
|
1497
1497
|
(function(t, o) {
|
|
1498
|
-
var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", M = "string", p = "major", h = "model", y = "name", D = "type", N = "vendor", m = "version", T = "architecture", E = "console", w = "mobile",
|
|
1498
|
+
var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", M = "string", p = "major", h = "model", y = "name", D = "type", N = "vendor", m = "version", T = "architecture", E = "console", w = "mobile", S = "tablet", R = "smarttv", Y = "wearable", $ = "embedded", Z = 500, le = "Amazon", q = "Apple", De = "ASUS", ne = "BlackBerry", Ae = "Browser", Ie = "Chrome", me = "Edge", Se = "Firefox", ke = "Google", Ce = "Honor", ce = "Huawei", Ee = "Lenovo", ae = "LG", _e = "Microsoft", Ze = "Motorola", xe = "Nvidia", de = "OnePlus", Ye = "Opera", Pe = "OPPO", Tt = "Samsung", tn = "Sharp", zt = "Sony", Rn = "Xiaomi", Bt = "Zebra", nn = "Facebook", Kn = "Chromium OS", Nt = "Mac OS", rn = " Browser", Jn = function(re, ge) {
|
|
1499
1499
|
var pe = {};
|
|
1500
1500
|
for (var Ue in re)
|
|
1501
|
-
|
|
1501
|
+
ge[Ue] && ge[Ue].length % 2 === 0 ? pe[Ue] = ge[Ue].concat(re[Ue]) : pe[Ue] = re[Ue];
|
|
1502
1502
|
return pe;
|
|
1503
1503
|
}, Dt = function(re) {
|
|
1504
|
-
for (var
|
|
1505
|
-
|
|
1506
|
-
return
|
|
1507
|
-
}, dn = function(re,
|
|
1508
|
-
return typeof re === M ? fn(
|
|
1504
|
+
for (var ge = {}, pe = 0; pe < re.length; pe++)
|
|
1505
|
+
ge[re[pe].toUpperCase()] = re[pe];
|
|
1506
|
+
return ge;
|
|
1507
|
+
}, dn = function(re, ge) {
|
|
1508
|
+
return typeof re === M ? fn(ge).indexOf(fn(re)) !== -1 : !1;
|
|
1509
1509
|
}, fn = function(re) {
|
|
1510
1510
|
return re.toLowerCase();
|
|
1511
1511
|
}, _n = function(re) {
|
|
1512
1512
|
return typeof re === M ? re.replace(/[^\d\.]/g, a).split(".")[0] : o;
|
|
1513
|
-
}, Mt = function(re,
|
|
1513
|
+
}, Mt = function(re, ge) {
|
|
1514
1514
|
if (typeof re === M)
|
|
1515
|
-
return re = re.replace(/^\s\s*/, a), typeof
|
|
1516
|
-
}, j = function(re,
|
|
1517
|
-
for (var pe = 0, Ue, pt, tt, We, Oe, Ot; pe <
|
|
1518
|
-
var kn =
|
|
1515
|
+
return re = re.replace(/^\s\s*/, a), typeof ge === c ? re : re.substring(0, Z);
|
|
1516
|
+
}, j = function(re, ge) {
|
|
1517
|
+
for (var pe = 0, Ue, pt, tt, We, Oe, Ot; pe < ge.length && !Oe; ) {
|
|
1518
|
+
var kn = ge[pe], Un = ge[pe + 1];
|
|
1519
1519
|
for (Ue = pt = 0; Ue < kn.length && !Oe && kn[Ue]; )
|
|
1520
1520
|
if (Oe = kn[Ue++].exec(re), Oe)
|
|
1521
1521
|
for (tt = 0; tt < Un.length; tt++)
|
|
1522
1522
|
Ot = Oe[++pt], We = Un[tt], typeof We === g && We.length > 0 ? We.length === 2 ? typeof We[1] == d ? this[We[0]] = We[1].call(this, Ot) : this[We[0]] = We[1] : We.length === 3 ? typeof We[1] === d && !(We[1].exec && We[1].test) ? this[We[0]] = Ot ? We[1].call(this, Ot, We[2]) : o : this[We[0]] = Ot ? Ot.replace(We[1], We[2]) : o : We.length === 4 && (this[We[0]] = Ot ? We[3].call(this, Ot.replace(We[1], We[2])) : o) : this[We] = Ot || o;
|
|
1523
1523
|
pe += 2;
|
|
1524
1524
|
}
|
|
1525
|
-
}, k = function(re,
|
|
1526
|
-
for (var pe in
|
|
1527
|
-
if (typeof
|
|
1528
|
-
for (var Ue = 0; Ue <
|
|
1529
|
-
if (dn(
|
|
1525
|
+
}, k = function(re, ge) {
|
|
1526
|
+
for (var pe in ge)
|
|
1527
|
+
if (typeof ge[pe] === g && ge[pe].length > 0) {
|
|
1528
|
+
for (var Ue = 0; Ue < ge[pe].length; Ue++)
|
|
1529
|
+
if (dn(ge[pe][Ue], re))
|
|
1530
1530
|
return pe === l ? o : pe;
|
|
1531
|
-
} else if (dn(
|
|
1531
|
+
} else if (dn(ge[pe], re))
|
|
1532
1532
|
return pe === l ? o : pe;
|
|
1533
|
-
return
|
|
1534
|
-
}, Q = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ee = { 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" }, te = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, Ye + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, Ye + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, Ye]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + Ae]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + Ae]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + Ae], m], [/\bfocus\/([\w\.]+)/i], [m, [y, Se + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, Ye + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, Ye + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + rn]], [/fxios\/([\w\.-]+)/i], [m, [y, Se]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + rn], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, Tt + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, nn], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, Ie + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, Ie + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + Ae]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, k, Q]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, Se + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[T, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[T, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[T, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[T, /ower/, a, fn]], [/ sun4\w[;\)]/i], [[T, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[T, fn]]], 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], [h, [N, Tt], [D, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [h, [N, Tt], [D, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [N, q], [D, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [N, q], [D, O]], [/(macintosh);/i], [h, [N, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [N, tn], [D, w]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [h, [N, Ce], [D, O]], [/honor([-\w ]+)[;\)]/i], [h, [N, Ce], [D, w]], [/\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], [h, [N, ce], [D, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [N, ce], [D, w]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[h, /_/g, " "], [N, Rn], [D, O]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[h, /_/g, " "], [N, Rn], [D, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [N, Pe], [D, w]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [h, [N, k, { OnePlus: ["304", "403", "203"], "*": Pe }], [D, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [N, "Vivo"], [D, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [N, "Realme"], [D, w]], [/\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], [h, [N, Ze], [D, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [N, Ze], [D, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [N, ae], [D, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [N, ae], [D, w]], [/(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], [h, [N, Te], [D, O]], [/(nokia) (t[12][01])/i], [N, h, [D, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[h, /_/g, " "], [D, w], [N, "Nokia"]], [/(pixel (c|tablet))\b/i], [h, [N, ke], [D, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [N, ke], [D, w]], [/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], [h, [N, zt], [D, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [N, zt], [D, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [N, de], [D, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [N, le], [D, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [N, le], [D, w]], [/(playbook);[-\w\),; ]+(rim)/i], [h, N, [D, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [N, ne], [D, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [N, De], [D, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [N, De], [D, w]], [/(nexus 9)/i], [h, [N, "HTC"], [D, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [N, [h, /_/g, " "], [D, w]], [/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], [h, [N, "TCL"], [D, O]], [/(itel) ((\w+))/i], [[N, fn], h, [D, k, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [N, "Acer"], [D, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [N, "Meizu"], [D, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [N, "Ulefone"], [D, w]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [h, [N, "Energizer"], [D, w]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [h, [N, "Cat"], [D, w]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [h, [N, "Smartfren"], [D, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [h, [N, "Nothing"], [D, w]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [h, [N, "Archos"], [D, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [h, [N, "Archos"], [D, w]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [N, h, [D, O]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [N, h, [D, w]], [/(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], [N, h, [D, O]], [/(surface duo)/i], [h, [N, _e], [D, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [N, "Fairphone"], [D, w]], [/(u304aa)/i], [h, [N, "AT&T"], [D, w]], [/\bsie-(\w*)/i], [h, [N, "Siemens"], [D, w]], [/\b(rct\w+) b/i], [h, [N, "RCA"], [D, O]], [/\b(venue[\d ]{2,7}) b/i], [h, [N, "Dell"], [D, O]], [/\b(q(?:mv|ta)\w+) b/i], [h, [N, "Verizon"], [D, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [N, "Barnes & Noble"], [D, O]], [/\b(tm\d{3}\w+) b/i], [h, [N, "NuVision"], [D, O]], [/\b(k88) b/i], [h, [N, "ZTE"], [D, O]], [/\b(nx\d{3}j) b/i], [h, [N, "ZTE"], [D, w]], [/\b(gen\d{3}) b.+49h/i], [h, [N, "Swiss"], [D, w]], [/\b(zur\d{3}) b/i], [h, [N, "Swiss"], [D, O]], [/\b((zeki)?tb.*\b) b/i], [h, [N, "Zeki"], [D, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[N, "Dragon Touch"], h, [D, O]], [/\b(ns-?\w{0,9}) b/i], [h, [N, "Insignia"], [D, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [N, "NextBook"], [D, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[N, "Voice"], h, [D, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[N, "LvTel"], h, [D, w]], [/\b(ph-1) /i], [h, [N, "Essential"], [D, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [N, "Envizen"], [D, O]], [/\b(trio[-\w\. ]+) b/i], [h, [N, "MachSpeed"], [D, O]], [/\btu_(1491) b/i], [h, [N, "Rotor"], [D, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [h, [N, xe], [D, O]], [/(sprint) (\w+)/i], [N, h, [D, w]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [N, _e], [D, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [N, Bt], [D, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [N, Bt], [D, w]], [/smart-tv.+(samsung)/i], [N, [D, R]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [N, Tt], [D, R]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[N, ae], [D, R]], [/(apple) ?tv/i], [N, [h, q + " TV"], [D, R]], [/crkey/i], [[h, Ie + "cast"], [N, ke], [D, R]], [/droid.+aft(\w+)( bui|\))/i], [h, [N, le], [D, R]], [/(shield \w+ tv)/i], [h, [N, xe], [D, R]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [N, tn], [D, R]], [/(bravia[\w ]+)( bui|\))/i], [h, [N, zt], [D, R]], [/(mi(tv|box)-?\w+) bui/i], [h, [N, Rn], [D, R]], [/Hbbtv.*(technisat) (.*);/i], [N, h, [D, R]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[N, Mt], [h, Mt], [D, R]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [h, [D, R]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[D, R]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [N, h, [D, E]], [/droid.+; (shield)( bui|\))/i], [h, [N, xe], [D, E]], [/(playstation \w+)/i], [h, [N, zt], [D, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [N, _e], [D, E]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [h, [N, Tt], [D, Y]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [N, h, [D, Y]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [h, [N, Pe], [D, Y]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [N, q], [D, Y]], [/(opwwe\d{3})/i], [h, [N, de], [D, Y]], [/(moto 360)/i], [h, [N, Ze], [D, Y]], [/(smartwatch 3)/i], [h, [N, zt], [D, Y]], [/(g watch r)/i], [h, [N, ae], [D, Y]], [/droid.+; (wt63?0{2,3})\)/i], [h, [N, Bt], [D, Y]], [/droid.+; (glass) \d/i], [h, [N, ke], [D, Y]], [/(pico) (4|neo3(?: link|pro)?)/i], [N, h, [D, Y]], [/; (quest( \d| pro)?)/i], [h, [N, nn], [D, Y]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [N, [D, $]], [/(aeobc)\b/i], [h, [N, le], [D, $]], [/(homepod).+mac os/i], [h, [N, q], [D, $]], [/windows iot/i], [[D, $]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [D, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [D, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[D, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[D, w]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [h, [N, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, me + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, k, ee]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, k, ee], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, Nt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, ne]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, Se + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, Ie + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, Kn], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, m]] }, J = function(re, fe) {
|
|
1535
|
-
if (typeof re === g && (
|
|
1536
|
-
return new J(re,
|
|
1537
|
-
var pe = typeof t !== c && t.navigator ? t.navigator : o, Ue = re || (pe && pe.userAgent ? pe.userAgent : a), pt = pe && pe.userAgentData ? pe.userAgentData : o, tt =
|
|
1533
|
+
return ge.hasOwnProperty("*") ? ge["*"] : re;
|
|
1534
|
+
}, Q = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ee = { 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" }, te = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, Ye + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, Ye + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, Ye]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + Ae]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + Ae]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + Ae], m], [/\bfocus\/([\w\.]+)/i], [m, [y, Se + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, Ye + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, Ye + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + rn]], [/fxios\/([\w\.-]+)/i], [m, [y, Se]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + rn], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, Tt + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, nn], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, Ie + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, Ie + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + Ae]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, k, Q]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, Se + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[T, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[T, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[T, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[T, /ower/, a, fn]], [/ sun4\w[;\)]/i], [[T, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[T, fn]]], 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], [h, [N, Tt], [D, S]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [h, [N, Tt], [D, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [N, q], [D, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [N, q], [D, S]], [/(macintosh);/i], [h, [N, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [N, tn], [D, w]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [h, [N, Ce], [D, S]], [/honor([-\w ]+)[;\)]/i], [h, [N, Ce], [D, w]], [/\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], [h, [N, ce], [D, S]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [N, ce], [D, w]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[h, /_/g, " "], [N, Rn], [D, S]], [/\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], [[h, /_/g, " "], [N, Rn], [D, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [N, Pe], [D, w]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [h, [N, k, { OnePlus: ["304", "403", "203"], "*": Pe }], [D, S]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [N, "Vivo"], [D, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [N, "Realme"], [D, w]], [/\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], [h, [N, Ze], [D, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [N, Ze], [D, S]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [N, ae], [D, S]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [N, ae], [D, w]], [/(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], [h, [N, Ee], [D, S]], [/(nokia) (t[12][01])/i], [N, h, [D, S]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[h, /_/g, " "], [D, w], [N, "Nokia"]], [/(pixel (c|tablet))\b/i], [h, [N, ke], [D, S]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [N, ke], [D, w]], [/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], [h, [N, zt], [D, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [N, zt], [D, S]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [N, de], [D, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [N, le], [D, S]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [N, le], [D, w]], [/(playbook);[-\w\),; ]+(rim)/i], [h, N, [D, S]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [N, ne], [D, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [N, De], [D, S]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [N, De], [D, w]], [/(nexus 9)/i], [h, [N, "HTC"], [D, S]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [N, [h, /_/g, " "], [D, w]], [/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], [h, [N, "TCL"], [D, S]], [/(itel) ((\w+))/i], [[N, fn], h, [D, k, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [N, "Acer"], [D, S]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [N, "Meizu"], [D, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [N, "Ulefone"], [D, w]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [h, [N, "Energizer"], [D, w]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [h, [N, "Cat"], [D, w]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [h, [N, "Smartfren"], [D, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [h, [N, "Nothing"], [D, w]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [h, [N, "Archos"], [D, S]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [h, [N, "Archos"], [D, w]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [N, h, [D, S]], [/(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], [N, h, [D, w]], [/(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], [N, h, [D, S]], [/(surface duo)/i], [h, [N, _e], [D, S]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [N, "Fairphone"], [D, w]], [/(u304aa)/i], [h, [N, "AT&T"], [D, w]], [/\bsie-(\w*)/i], [h, [N, "Siemens"], [D, w]], [/\b(rct\w+) b/i], [h, [N, "RCA"], [D, S]], [/\b(venue[\d ]{2,7}) b/i], [h, [N, "Dell"], [D, S]], [/\b(q(?:mv|ta)\w+) b/i], [h, [N, "Verizon"], [D, S]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [N, "Barnes & Noble"], [D, S]], [/\b(tm\d{3}\w+) b/i], [h, [N, "NuVision"], [D, S]], [/\b(k88) b/i], [h, [N, "ZTE"], [D, S]], [/\b(nx\d{3}j) b/i], [h, [N, "ZTE"], [D, w]], [/\b(gen\d{3}) b.+49h/i], [h, [N, "Swiss"], [D, w]], [/\b(zur\d{3}) b/i], [h, [N, "Swiss"], [D, S]], [/\b((zeki)?tb.*\b) b/i], [h, [N, "Zeki"], [D, S]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[N, "Dragon Touch"], h, [D, S]], [/\b(ns-?\w{0,9}) b/i], [h, [N, "Insignia"], [D, S]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [N, "NextBook"], [D, S]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[N, "Voice"], h, [D, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[N, "LvTel"], h, [D, w]], [/\b(ph-1) /i], [h, [N, "Essential"], [D, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [N, "Envizen"], [D, S]], [/\b(trio[-\w\. ]+) b/i], [h, [N, "MachSpeed"], [D, S]], [/\btu_(1491) b/i], [h, [N, "Rotor"], [D, S]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [h, [N, xe], [D, S]], [/(sprint) (\w+)/i], [N, h, [D, w]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [N, _e], [D, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [N, Bt], [D, S]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [N, Bt], [D, w]], [/smart-tv.+(samsung)/i], [N, [D, R]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [N, Tt], [D, R]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[N, ae], [D, R]], [/(apple) ?tv/i], [N, [h, q + " TV"], [D, R]], [/crkey/i], [[h, Ie + "cast"], [N, ke], [D, R]], [/droid.+aft(\w+)( bui|\))/i], [h, [N, le], [D, R]], [/(shield \w+ tv)/i], [h, [N, xe], [D, R]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [N, tn], [D, R]], [/(bravia[\w ]+)( bui|\))/i], [h, [N, zt], [D, R]], [/(mi(tv|box)-?\w+) bui/i], [h, [N, Rn], [D, R]], [/Hbbtv.*(technisat) (.*);/i], [N, h, [D, R]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[N, Mt], [h, Mt], [D, R]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [h, [D, R]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[D, R]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [N, h, [D, E]], [/droid.+; (shield)( bui|\))/i], [h, [N, xe], [D, E]], [/(playstation \w+)/i], [h, [N, zt], [D, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [N, _e], [D, E]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [h, [N, Tt], [D, Y]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [N, h, [D, Y]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [h, [N, Pe], [D, Y]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [N, q], [D, Y]], [/(opwwe\d{3})/i], [h, [N, de], [D, Y]], [/(moto 360)/i], [h, [N, Ze], [D, Y]], [/(smartwatch 3)/i], [h, [N, zt], [D, Y]], [/(g watch r)/i], [h, [N, ae], [D, Y]], [/droid.+; (wt63?0{2,3})\)/i], [h, [N, Bt], [D, Y]], [/droid.+; (glass) \d/i], [h, [N, ke], [D, Y]], [/(pico) (4|neo3(?: link|pro)?)/i], [N, h, [D, Y]], [/; (quest( \d| pro)?)/i], [h, [N, nn], [D, Y]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [N, [D, $]], [/(aeobc)\b/i], [h, [N, le], [D, $]], [/(homepod).+mac os/i], [h, [N, q], [D, $]], [/windows iot/i], [[D, $]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [D, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [D, S]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[D, S]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[D, w]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [h, [N, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, me + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, k, ee]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, k, ee], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, Nt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, ne]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, Se + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, Ie + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, Kn], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, m]] }, J = function(re, ge) {
|
|
1535
|
+
if (typeof re === g && (ge = re, re = o), !(this instanceof J))
|
|
1536
|
+
return new J(re, ge).getResult();
|
|
1537
|
+
var pe = typeof t !== c && t.navigator ? t.navigator : o, Ue = re || (pe && pe.userAgent ? pe.userAgent : a), pt = pe && pe.userAgentData ? pe.userAgentData : o, tt = ge ? Jn(te, ge) : te, We = pe && pe.userAgent == Ue;
|
|
1538
1538
|
return this.getBrowser = function() {
|
|
1539
1539
|
var Oe = {};
|
|
1540
1540
|
return Oe[y] = o, Oe[m] = o, j.call(Oe, Ue, tt.browser), Oe[p] = _n(Oe[m]), We && pe && pe.brave && typeof pe.brave.isBrave == d && (Oe[y] = "Brave"), Oe;
|
|
@@ -1543,7 +1543,7 @@ function IT() {
|
|
|
1543
1543
|
return Oe[T] = o, j.call(Oe, Ue, tt.cpu), Oe;
|
|
1544
1544
|
}, this.getDevice = function() {
|
|
1545
1545
|
var Oe = {};
|
|
1546
|
-
return Oe[N] = o, Oe[h] = o, Oe[D] = o, j.call(Oe, Ue, tt.device), We && !Oe[D] && pt && pt.mobile && (Oe[D] = w), We && Oe[h] == "Macintosh" && pe && typeof pe.standalone !== c && pe.maxTouchPoints && pe.maxTouchPoints > 2 && (Oe[h] = "iPad", Oe[D] =
|
|
1546
|
+
return Oe[N] = o, Oe[h] = o, Oe[D] = o, j.call(Oe, Ue, tt.device), We && !Oe[D] && pt && pt.mobile && (Oe[D] = w), We && Oe[h] == "Macintosh" && pe && typeof pe.standalone !== c && pe.maxTouchPoints && pe.maxTouchPoints > 2 && (Oe[h] = "iPad", Oe[D] = S), Oe;
|
|
1547
1547
|
}, this.getEngine = function() {
|
|
1548
1548
|
var Oe = {};
|
|
1549
1549
|
return Oe[y] = o, Oe[m] = o, j.call(Oe, Ue, tt.engine), Oe;
|
|
@@ -1558,7 +1558,7 @@ function IT() {
|
|
|
1558
1558
|
return Ue = typeof Oe === M && Oe.length > Z ? Mt(Oe, Z) : Oe, this;
|
|
1559
1559
|
}, this.setUA(Ue), this;
|
|
1560
1560
|
};
|
|
1561
|
-
J.VERSION = s, J.BROWSER = Dt([y, m, p]), J.CPU = Dt([T]), J.DEVICE = Dt([h, N, D, E, w, R,
|
|
1561
|
+
J.VERSION = s, J.BROWSER = Dt([y, m, p]), J.CPU = Dt([T]), J.DEVICE = Dt([h, N, D, E, w, R, S, Y, $]), J.ENGINE = J.OS = Dt([y, m]), r.exports && (e = r.exports = J), e.UAParser = J;
|
|
1562
1562
|
var ie = typeof t !== c && (t.jQuery || t.Zepto);
|
|
1563
1563
|
if (ie && !ie.ua) {
|
|
1564
1564
|
var Le = new J();
|
|
@@ -1566,9 +1566,9 @@ function IT() {
|
|
|
1566
1566
|
return Le.getUA();
|
|
1567
1567
|
}, ie.ua.set = function(re) {
|
|
1568
1568
|
Le.setUA(re);
|
|
1569
|
-
var
|
|
1570
|
-
for (var pe in
|
|
1571
|
-
ie.ua[pe] =
|
|
1569
|
+
var ge = Le.getResult();
|
|
1570
|
+
for (var pe in ge)
|
|
1571
|
+
ie.ua[pe] = ge[pe];
|
|
1572
1572
|
};
|
|
1573
1573
|
}
|
|
1574
1574
|
})(typeof window == "object" ? window : pT);
|
|
@@ -1576,19 +1576,19 @@ function IT() {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
var Th;
|
|
1578
1578
|
function yT() {
|
|
1579
|
-
if (Th) return
|
|
1580
|
-
Th = 1, Object.defineProperty(
|
|
1579
|
+
if (Th) return he;
|
|
1580
|
+
Th = 1, Object.defineProperty(he, "__esModule", { value: !0 });
|
|
1581
1581
|
function r(P) {
|
|
1582
1582
|
return P && typeof P == "object" && "default" in P ? P.default : P;
|
|
1583
1583
|
}
|
|
1584
|
-
var e = MT, t = r(e), o = IT(), s = new o(), a = s.getBrowser(), l = s.getCPU(), d = s.getDevice(), c = s.getEngine(), g = s.getOS(), M = s.getUA(), p = function(
|
|
1585
|
-
return s.setUA(
|
|
1586
|
-
}, h = function(
|
|
1587
|
-
if (!
|
|
1584
|
+
var e = MT, t = r(e), o = IT(), s = new o(), a = s.getBrowser(), l = s.getCPU(), d = s.getDevice(), c = s.getEngine(), g = s.getOS(), M = s.getUA(), p = function(O) {
|
|
1585
|
+
return s.setUA(O);
|
|
1586
|
+
}, h = function(O) {
|
|
1587
|
+
if (!O) {
|
|
1588
1588
|
console.error("No userAgent string was provided");
|
|
1589
1589
|
return;
|
|
1590
1590
|
}
|
|
1591
|
-
var x = new o(
|
|
1591
|
+
var x = new o(O);
|
|
1592
1592
|
return {
|
|
1593
1593
|
UA: x,
|
|
1594
1594
|
browser: x.getBrowser(),
|
|
@@ -1612,21 +1612,21 @@ function yT() {
|
|
|
1612
1612
|
setUa: p,
|
|
1613
1613
|
parseUserAgent: h
|
|
1614
1614
|
});
|
|
1615
|
-
function D(P,
|
|
1615
|
+
function D(P, O) {
|
|
1616
1616
|
var x = Object.keys(P);
|
|
1617
1617
|
if (Object.getOwnPropertySymbols) {
|
|
1618
1618
|
var B = Object.getOwnPropertySymbols(P);
|
|
1619
|
-
|
|
1619
|
+
O && (B = B.filter(function(V) {
|
|
1620
1620
|
return Object.getOwnPropertyDescriptor(P, V).enumerable;
|
|
1621
1621
|
})), x.push.apply(x, B);
|
|
1622
1622
|
}
|
|
1623
1623
|
return x;
|
|
1624
1624
|
}
|
|
1625
1625
|
function N(P) {
|
|
1626
|
-
for (var
|
|
1627
|
-
var x = arguments[
|
|
1628
|
-
|
|
1629
|
-
|
|
1626
|
+
for (var O = 1; O < arguments.length; O++) {
|
|
1627
|
+
var x = arguments[O] != null ? arguments[O] : {};
|
|
1628
|
+
O % 2 ? D(Object(x), !0).forEach(function(B) {
|
|
1629
|
+
S(P, B, x[B]);
|
|
1630
1630
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(x)) : D(Object(x)).forEach(function(B) {
|
|
1631
1631
|
Object.defineProperty(P, B, Object.getOwnPropertyDescriptor(x, B));
|
|
1632
1632
|
});
|
|
@@ -1635,78 +1635,78 @@ function yT() {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
function m(P) {
|
|
1637
1637
|
"@babel/helpers - typeof";
|
|
1638
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? m = function(
|
|
1639
|
-
return typeof
|
|
1640
|
-
} : m = function(
|
|
1641
|
-
return
|
|
1638
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? m = function(O) {
|
|
1639
|
+
return typeof O;
|
|
1640
|
+
} : m = function(O) {
|
|
1641
|
+
return O && typeof Symbol == "function" && O.constructor === Symbol && O !== Symbol.prototype ? "symbol" : typeof O;
|
|
1642
1642
|
}, m(P);
|
|
1643
1643
|
}
|
|
1644
|
-
function T(P,
|
|
1645
|
-
if (!(P instanceof
|
|
1644
|
+
function T(P, O) {
|
|
1645
|
+
if (!(P instanceof O))
|
|
1646
1646
|
throw new TypeError("Cannot call a class as a function");
|
|
1647
1647
|
}
|
|
1648
|
-
function E(P,
|
|
1649
|
-
for (var x = 0; x <
|
|
1650
|
-
var B =
|
|
1648
|
+
function E(P, O) {
|
|
1649
|
+
for (var x = 0; x < O.length; x++) {
|
|
1650
|
+
var B = O[x];
|
|
1651
1651
|
B.enumerable = B.enumerable || !1, B.configurable = !0, "value" in B && (B.writable = !0), Object.defineProperty(P, B.key, B);
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
function w(P,
|
|
1655
|
-
return
|
|
1654
|
+
function w(P, O, x) {
|
|
1655
|
+
return O && E(P.prototype, O), P;
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1658
|
-
return
|
|
1657
|
+
function S(P, O, x) {
|
|
1658
|
+
return O in P ? Object.defineProperty(P, O, {
|
|
1659
1659
|
value: x,
|
|
1660
1660
|
enumerable: !0,
|
|
1661
1661
|
configurable: !0,
|
|
1662
1662
|
writable: !0
|
|
1663
|
-
}) : P[
|
|
1663
|
+
}) : P[O] = x, P;
|
|
1664
1664
|
}
|
|
1665
1665
|
function R() {
|
|
1666
1666
|
return R = Object.assign || function(P) {
|
|
1667
|
-
for (var
|
|
1668
|
-
var x = arguments[
|
|
1667
|
+
for (var O = 1; O < arguments.length; O++) {
|
|
1668
|
+
var x = arguments[O];
|
|
1669
1669
|
for (var B in x)
|
|
1670
1670
|
Object.prototype.hasOwnProperty.call(x, B) && (P[B] = x[B]);
|
|
1671
1671
|
}
|
|
1672
1672
|
return P;
|
|
1673
1673
|
}, R.apply(this, arguments);
|
|
1674
1674
|
}
|
|
1675
|
-
function Y(P,
|
|
1676
|
-
if (typeof
|
|
1675
|
+
function Y(P, O) {
|
|
1676
|
+
if (typeof O != "function" && O !== null)
|
|
1677
1677
|
throw new TypeError("Super expression must either be null or a function");
|
|
1678
|
-
P.prototype = Object.create(
|
|
1678
|
+
P.prototype = Object.create(O && O.prototype, {
|
|
1679
1679
|
constructor: {
|
|
1680
1680
|
value: P,
|
|
1681
1681
|
writable: !0,
|
|
1682
1682
|
configurable: !0
|
|
1683
1683
|
}
|
|
1684
|
-
}),
|
|
1684
|
+
}), O && Z(P, O);
|
|
1685
1685
|
}
|
|
1686
1686
|
function $(P) {
|
|
1687
1687
|
return $ = Object.setPrototypeOf ? Object.getPrototypeOf : function(x) {
|
|
1688
1688
|
return x.__proto__ || Object.getPrototypeOf(x);
|
|
1689
1689
|
}, $(P);
|
|
1690
1690
|
}
|
|
1691
|
-
function Z(P,
|
|
1691
|
+
function Z(P, O) {
|
|
1692
1692
|
return Z = Object.setPrototypeOf || function(B, V) {
|
|
1693
1693
|
return B.__proto__ = V, B;
|
|
1694
|
-
}, Z(P,
|
|
1694
|
+
}, Z(P, O);
|
|
1695
1695
|
}
|
|
1696
|
-
function le(P,
|
|
1696
|
+
function le(P, O) {
|
|
1697
1697
|
if (P == null) return {};
|
|
1698
1698
|
var x = {}, B = Object.keys(P), V, ye;
|
|
1699
1699
|
for (ye = 0; ye < B.length; ye++)
|
|
1700
|
-
V = B[ye], !(
|
|
1700
|
+
V = B[ye], !(O.indexOf(V) >= 0) && (x[V] = P[V]);
|
|
1701
1701
|
return x;
|
|
1702
1702
|
}
|
|
1703
|
-
function q(P,
|
|
1703
|
+
function q(P, O) {
|
|
1704
1704
|
if (P == null) return {};
|
|
1705
|
-
var x = le(P,
|
|
1705
|
+
var x = le(P, O), B, V;
|
|
1706
1706
|
if (Object.getOwnPropertySymbols) {
|
|
1707
1707
|
var ye = Object.getOwnPropertySymbols(P);
|
|
1708
1708
|
for (V = 0; V < ye.length; V++)
|
|
1709
|
-
B = ye[V], !(
|
|
1709
|
+
B = ye[V], !(O.indexOf(B) >= 0) && Object.prototype.propertyIsEnumerable.call(P, B) && (x[B] = P[B]);
|
|
1710
1710
|
}
|
|
1711
1711
|
return x;
|
|
1712
1712
|
}
|
|
@@ -1715,25 +1715,25 @@ function yT() {
|
|
|
1715
1715
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1716
1716
|
return P;
|
|
1717
1717
|
}
|
|
1718
|
-
function ne(P,
|
|
1719
|
-
if (
|
|
1720
|
-
return
|
|
1721
|
-
if (
|
|
1718
|
+
function ne(P, O) {
|
|
1719
|
+
if (O && (typeof O == "object" || typeof O == "function"))
|
|
1720
|
+
return O;
|
|
1721
|
+
if (O !== void 0)
|
|
1722
1722
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1723
1723
|
return De(P);
|
|
1724
1724
|
}
|
|
1725
|
-
function Ae(P,
|
|
1726
|
-
return Ie(P) || me(P,
|
|
1725
|
+
function Ae(P, O) {
|
|
1726
|
+
return Ie(P) || me(P, O) || Se(P, O) || Ce();
|
|
1727
1727
|
}
|
|
1728
1728
|
function Ie(P) {
|
|
1729
1729
|
if (Array.isArray(P)) return P;
|
|
1730
1730
|
}
|
|
1731
|
-
function me(P,
|
|
1731
|
+
function me(P, O) {
|
|
1732
1732
|
var x = P == null ? null : typeof Symbol != "undefined" && P[Symbol.iterator] || P["@@iterator"];
|
|
1733
1733
|
if (x != null) {
|
|
1734
1734
|
var B = [], V = !0, ye = !1, At, Xt;
|
|
1735
1735
|
try {
|
|
1736
|
-
for (x = x.call(P); !(V = (At = x.next()).done) && (B.push(At.value), !(
|
|
1736
|
+
for (x = x.call(P); !(V = (At = x.next()).done) && (B.push(At.value), !(O && B.length === O)); V = !0)
|
|
1737
1737
|
;
|
|
1738
1738
|
} catch (xo) {
|
|
1739
1739
|
ye = !0, Xt = xo;
|
|
@@ -1747,17 +1747,17 @@ function yT() {
|
|
|
1747
1747
|
return B;
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
|
-
function Se(P,
|
|
1750
|
+
function Se(P, O) {
|
|
1751
1751
|
if (P) {
|
|
1752
|
-
if (typeof P == "string") return ke(P,
|
|
1752
|
+
if (typeof P == "string") return ke(P, O);
|
|
1753
1753
|
var x = Object.prototype.toString.call(P).slice(8, -1);
|
|
1754
1754
|
if (x === "Object" && P.constructor && (x = P.constructor.name), x === "Map" || x === "Set") return Array.from(P);
|
|
1755
|
-
if (x === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)) return ke(P,
|
|
1755
|
+
if (x === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)) return ke(P, O);
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
|
-
function ke(P,
|
|
1759
|
-
(
|
|
1760
|
-
for (var x = 0, B = new Array(
|
|
1758
|
+
function ke(P, O) {
|
|
1759
|
+
(O == null || O > P.length) && (O = P.length);
|
|
1760
|
+
for (var x = 0, B = new Array(O); x < O; x++) B[x] = P[x];
|
|
1761
1761
|
return B;
|
|
1762
1762
|
}
|
|
1763
1763
|
function Ce() {
|
|
@@ -1772,7 +1772,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1772
1772
|
Wearable: "wearable",
|
|
1773
1773
|
Embedded: "embedded",
|
|
1774
1774
|
Browser: void 0
|
|
1775
|
-
},
|
|
1775
|
+
}, Ee = {
|
|
1776
1776
|
Chrome: "Chrome",
|
|
1777
1777
|
Firefox: "Firefox",
|
|
1778
1778
|
Opera: "Opera",
|
|
@@ -1799,8 +1799,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1799
1799
|
isSmartTV: !1,
|
|
1800
1800
|
isConsole: !1,
|
|
1801
1801
|
isWearable: !1
|
|
1802
|
-
}, Ze = function(
|
|
1803
|
-
switch (
|
|
1802
|
+
}, Ze = function(O) {
|
|
1803
|
+
switch (O) {
|
|
1804
1804
|
case ce.Mobile:
|
|
1805
1805
|
return {
|
|
1806
1806
|
isMobile: !0
|
|
@@ -1832,19 +1832,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1832
1832
|
default:
|
|
1833
1833
|
return _e;
|
|
1834
1834
|
}
|
|
1835
|
-
}, xe = function(
|
|
1836
|
-
return p(
|
|
1837
|
-
}, de = function(
|
|
1835
|
+
}, xe = function(O) {
|
|
1836
|
+
return p(O);
|
|
1837
|
+
}, de = function(O) {
|
|
1838
1838
|
var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1839
|
-
return
|
|
1839
|
+
return O || x;
|
|
1840
1840
|
}, Ye = function() {
|
|
1841
1841
|
return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
1842
|
-
}, Pe = function(
|
|
1842
|
+
}, Pe = function(O) {
|
|
1843
1843
|
var x = Ye();
|
|
1844
|
-
return x && x.platform && (x.platform.indexOf(
|
|
1845
|
-
}, Tt = function(
|
|
1844
|
+
return x && x.platform && (x.platform.indexOf(O) !== -1 || x.platform === "MacIntel" && x.maxTouchPoints > 1 && !window.MSStream);
|
|
1845
|
+
}, Tt = function(O, x, B, V, ye) {
|
|
1846
1846
|
return {
|
|
1847
|
-
isBrowser:
|
|
1847
|
+
isBrowser: O,
|
|
1848
1848
|
browserMajorVersion: de(x.major),
|
|
1849
1849
|
browserFullVersion: de(x.version),
|
|
1850
1850
|
browserName: de(x.name),
|
|
@@ -1854,44 +1854,44 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1854
1854
|
osVersion: de(V.version),
|
|
1855
1855
|
userAgent: de(ye)
|
|
1856
1856
|
};
|
|
1857
|
-
}, tn = function(
|
|
1858
|
-
return N({},
|
|
1857
|
+
}, tn = function(O, x, B, V) {
|
|
1858
|
+
return N({}, O, {
|
|
1859
1859
|
vendor: de(x.vendor),
|
|
1860
1860
|
model: de(x.model),
|
|
1861
1861
|
os: de(B.name),
|
|
1862
1862
|
osVersion: de(B.version),
|
|
1863
1863
|
ua: de(V)
|
|
1864
1864
|
});
|
|
1865
|
-
}, zt = function(
|
|
1865
|
+
}, zt = function(O, x, B, V) {
|
|
1866
1866
|
return {
|
|
1867
|
-
isSmartTV:
|
|
1867
|
+
isSmartTV: O,
|
|
1868
1868
|
engineName: de(x.name),
|
|
1869
1869
|
engineVersion: de(x.version),
|
|
1870
1870
|
osName: de(B.name),
|
|
1871
1871
|
osVersion: de(B.version),
|
|
1872
1872
|
userAgent: de(V)
|
|
1873
1873
|
};
|
|
1874
|
-
}, Rn = function(
|
|
1874
|
+
}, Rn = function(O, x, B, V) {
|
|
1875
1875
|
return {
|
|
1876
|
-
isConsole:
|
|
1876
|
+
isConsole: O,
|
|
1877
1877
|
engineName: de(x.name),
|
|
1878
1878
|
engineVersion: de(x.version),
|
|
1879
1879
|
osName: de(B.name),
|
|
1880
1880
|
osVersion: de(B.version),
|
|
1881
1881
|
userAgent: de(V)
|
|
1882
1882
|
};
|
|
1883
|
-
}, Bt = function(
|
|
1883
|
+
}, Bt = function(O, x, B, V) {
|
|
1884
1884
|
return {
|
|
1885
|
-
isWearable:
|
|
1885
|
+
isWearable: O,
|
|
1886
1886
|
engineName: de(x.name),
|
|
1887
1887
|
engineVersion: de(x.version),
|
|
1888
1888
|
osName: de(B.name),
|
|
1889
1889
|
osVersion: de(B.version),
|
|
1890
1890
|
userAgent: de(V)
|
|
1891
1891
|
};
|
|
1892
|
-
}, nn = function(
|
|
1892
|
+
}, nn = function(O, x, B, V, ye) {
|
|
1893
1893
|
return {
|
|
1894
|
-
isEmbedded:
|
|
1894
|
+
isEmbedded: O,
|
|
1895
1895
|
vendor: de(x.vendor),
|
|
1896
1896
|
model: de(x.model),
|
|
1897
1897
|
engineName: de(B.name),
|
|
@@ -1902,7 +1902,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1902
1902
|
};
|
|
1903
1903
|
};
|
|
1904
1904
|
function Kn(P) {
|
|
1905
|
-
var
|
|
1905
|
+
var O = P ? h(P) : y, x = O.device, B = O.browser, V = O.engine, ye = O.os, At = O.ua, Xt = Ze(x.type), xo = Xt.isBrowser, ul = Xt.isMobile, ll = Xt.isTablet, Sa = Xt.isSmartTV, ms = Xt.isConsole, Oa = Xt.isWearable, Ct = Xt.isEmbedded;
|
|
1906
1906
|
if (xo)
|
|
1907
1907
|
return Tt(xo, B, V, ye, At);
|
|
1908
1908
|
if (Sa)
|
|
@@ -1916,127 +1916,127 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1916
1916
|
if (Ct)
|
|
1917
1917
|
return nn(Ct, x, V, ye, At);
|
|
1918
1918
|
}
|
|
1919
|
-
var Nt = function(
|
|
1920
|
-
var x =
|
|
1919
|
+
var Nt = function(O) {
|
|
1920
|
+
var x = O.type;
|
|
1921
1921
|
return x === ce.Mobile;
|
|
1922
|
-
}, rn = function(
|
|
1923
|
-
var x =
|
|
1922
|
+
}, rn = function(O) {
|
|
1923
|
+
var x = O.type;
|
|
1924
1924
|
return x === ce.Tablet;
|
|
1925
|
-
}, Jn = function(
|
|
1926
|
-
var x =
|
|
1925
|
+
}, Jn = function(O) {
|
|
1926
|
+
var x = O.type;
|
|
1927
1927
|
return x === ce.Mobile || x === ce.Tablet;
|
|
1928
|
-
}, Dt = function(
|
|
1929
|
-
var x =
|
|
1928
|
+
}, Dt = function(O) {
|
|
1929
|
+
var x = O.type;
|
|
1930
1930
|
return x === ce.SmartTv;
|
|
1931
|
-
}, dn = function(
|
|
1932
|
-
var x =
|
|
1931
|
+
}, dn = function(O) {
|
|
1932
|
+
var x = O.type;
|
|
1933
1933
|
return x === ce.Browser;
|
|
1934
|
-
}, fn = function(
|
|
1935
|
-
var x =
|
|
1934
|
+
}, fn = function(O) {
|
|
1935
|
+
var x = O.type;
|
|
1936
1936
|
return x === ce.Wearable;
|
|
1937
|
-
}, _n = function(
|
|
1938
|
-
var x =
|
|
1937
|
+
}, _n = function(O) {
|
|
1938
|
+
var x = O.type;
|
|
1939
1939
|
return x === ce.Console;
|
|
1940
|
-
}, Mt = function(
|
|
1941
|
-
var x =
|
|
1940
|
+
}, Mt = function(O) {
|
|
1941
|
+
var x = O.type;
|
|
1942
1942
|
return x === ce.Embedded;
|
|
1943
|
-
}, j = function(
|
|
1944
|
-
var x =
|
|
1943
|
+
}, j = function(O) {
|
|
1944
|
+
var x = O.vendor;
|
|
1945
1945
|
return de(x);
|
|
1946
|
-
}, k = function(
|
|
1947
|
-
var x =
|
|
1946
|
+
}, k = function(O) {
|
|
1947
|
+
var x = O.model;
|
|
1948
1948
|
return de(x);
|
|
1949
|
-
}, Q = function(
|
|
1950
|
-
var x =
|
|
1949
|
+
}, Q = function(O) {
|
|
1950
|
+
var x = O.type;
|
|
1951
1951
|
return de(x, "browser");
|
|
1952
|
-
}, ee = function(
|
|
1953
|
-
var x =
|
|
1952
|
+
}, ee = function(O) {
|
|
1953
|
+
var x = O.name;
|
|
1954
1954
|
return x === ae.Android;
|
|
1955
|
-
}, te = function(
|
|
1956
|
-
var x =
|
|
1955
|
+
}, te = function(O) {
|
|
1956
|
+
var x = O.name;
|
|
1957
1957
|
return x === ae.Windows;
|
|
1958
|
-
}, J = function(
|
|
1959
|
-
var x =
|
|
1958
|
+
}, J = function(O) {
|
|
1959
|
+
var x = O.name;
|
|
1960
1960
|
return x === ae.MAC_OS;
|
|
1961
|
-
}, ie = function(
|
|
1962
|
-
var x =
|
|
1961
|
+
}, ie = function(O) {
|
|
1962
|
+
var x = O.name;
|
|
1963
1963
|
return x === ae.WindowsPhone;
|
|
1964
|
-
}, Le = function(
|
|
1965
|
-
var x =
|
|
1964
|
+
}, Le = function(O) {
|
|
1965
|
+
var x = O.name;
|
|
1966
1966
|
return x === ae.IOS;
|
|
1967
|
-
}, re = function(
|
|
1968
|
-
var x =
|
|
1967
|
+
}, re = function(O) {
|
|
1968
|
+
var x = O.version;
|
|
1969
1969
|
return de(x);
|
|
1970
|
-
},
|
|
1971
|
-
var x =
|
|
1970
|
+
}, ge = function(O) {
|
|
1971
|
+
var x = O.name;
|
|
1972
1972
|
return de(x);
|
|
1973
|
-
}, pe = function(
|
|
1974
|
-
var x =
|
|
1975
|
-
return x ===
|
|
1976
|
-
}, Ue = function(
|
|
1977
|
-
var x =
|
|
1978
|
-
return x ===
|
|
1979
|
-
}, pt = function(
|
|
1980
|
-
var x =
|
|
1981
|
-
return x ===
|
|
1982
|
-
}, tt = function(
|
|
1983
|
-
var x =
|
|
1984
|
-
return x ===
|
|
1985
|
-
}, We = function(
|
|
1986
|
-
var x =
|
|
1987
|
-
return x ===
|
|
1988
|
-
}, Oe = function(
|
|
1989
|
-
var x =
|
|
1990
|
-
return x ===
|
|
1991
|
-
}, Ot = function(
|
|
1992
|
-
var x =
|
|
1993
|
-
return x ===
|
|
1994
|
-
}, kn = function(
|
|
1995
|
-
var x =
|
|
1996
|
-
return x ===
|
|
1997
|
-
}, Un = function(
|
|
1998
|
-
var x =
|
|
1999
|
-
return x ===
|
|
2000
|
-
}, Ti = function(
|
|
2001
|
-
var x =
|
|
2002
|
-
return x ===
|
|
2003
|
-
}, Ei = function(
|
|
2004
|
-
var x =
|
|
2005
|
-
return x ===
|
|
2006
|
-
}, io = function(
|
|
2007
|
-
var x =
|
|
1973
|
+
}, pe = function(O) {
|
|
1974
|
+
var x = O.name;
|
|
1975
|
+
return x === Ee.Chrome;
|
|
1976
|
+
}, Ue = function(O) {
|
|
1977
|
+
var x = O.name;
|
|
1978
|
+
return x === Ee.Firefox;
|
|
1979
|
+
}, pt = function(O) {
|
|
1980
|
+
var x = O.name;
|
|
1981
|
+
return x === Ee.Chromium;
|
|
1982
|
+
}, tt = function(O) {
|
|
1983
|
+
var x = O.name;
|
|
1984
|
+
return x === Ee.Edge;
|
|
1985
|
+
}, We = function(O) {
|
|
1986
|
+
var x = O.name;
|
|
1987
|
+
return x === Ee.Yandex;
|
|
1988
|
+
}, Oe = function(O) {
|
|
1989
|
+
var x = O.name;
|
|
1990
|
+
return x === Ee.Safari || x === Ee.MobileSafari;
|
|
1991
|
+
}, Ot = function(O) {
|
|
1992
|
+
var x = O.name;
|
|
1993
|
+
return x === Ee.MobileSafari;
|
|
1994
|
+
}, kn = function(O) {
|
|
1995
|
+
var x = O.name;
|
|
1996
|
+
return x === Ee.Opera;
|
|
1997
|
+
}, Un = function(O) {
|
|
1998
|
+
var x = O.name;
|
|
1999
|
+
return x === Ee.InternetExplorer || x === Ee.Ie;
|
|
2000
|
+
}, Ti = function(O) {
|
|
2001
|
+
var x = O.name;
|
|
2002
|
+
return x === Ee.MIUI;
|
|
2003
|
+
}, Ei = function(O) {
|
|
2004
|
+
var x = O.name;
|
|
2005
|
+
return x === Ee.SamsungBrowser;
|
|
2006
|
+
}, io = function(O) {
|
|
2007
|
+
var x = O.version;
|
|
2008
2008
|
return de(x);
|
|
2009
|
-
}, oo = function(
|
|
2010
|
-
var x =
|
|
2009
|
+
}, oo = function(O) {
|
|
2010
|
+
var x = O.major;
|
|
2011
2011
|
return de(x);
|
|
2012
|
-
}, so = function(
|
|
2013
|
-
var x =
|
|
2012
|
+
}, so = function(O) {
|
|
2013
|
+
var x = O.name;
|
|
2014
2014
|
return de(x);
|
|
2015
|
-
}, ao = function(
|
|
2016
|
-
var x =
|
|
2015
|
+
}, ao = function(O) {
|
|
2016
|
+
var x = O.name;
|
|
2017
2017
|
return de(x);
|
|
2018
|
-
}, vi = function(
|
|
2019
|
-
var x =
|
|
2018
|
+
}, vi = function(O) {
|
|
2019
|
+
var x = O.version;
|
|
2020
2020
|
return de(x);
|
|
2021
2021
|
}, uo = function() {
|
|
2022
|
-
var
|
|
2022
|
+
var O = Ye(), x = O && O.userAgent && O.userAgent.toLowerCase();
|
|
2023
2023
|
return typeof x == "string" ? /electron/.test(x) : !1;
|
|
2024
|
-
}, dr = function(
|
|
2025
|
-
return typeof
|
|
2024
|
+
}, dr = function(O) {
|
|
2025
|
+
return typeof O == "string" && O.indexOf("Edg/") !== -1;
|
|
2026
2026
|
}, lo = function() {
|
|
2027
|
-
var
|
|
2028
|
-
return
|
|
2027
|
+
var O = Ye();
|
|
2028
|
+
return O && (/iPad|iPhone|iPod/.test(O.platform) || O.platform === "MacIntel" && O.maxTouchPoints > 1) && !window.MSStream;
|
|
2029
2029
|
}, Kt = function() {
|
|
2030
2030
|
return Pe("iPad");
|
|
2031
2031
|
}, co = function() {
|
|
2032
2032
|
return Pe("iPhone");
|
|
2033
2033
|
}, Xr = function() {
|
|
2034
2034
|
return Pe("iPod");
|
|
2035
|
-
}, fo = function(
|
|
2036
|
-
return de(
|
|
2035
|
+
}, fo = function(O) {
|
|
2036
|
+
return de(O);
|
|
2037
2037
|
};
|
|
2038
2038
|
function go(P) {
|
|
2039
|
-
var
|
|
2039
|
+
var O = P || y, x = O.device, B = O.browser, V = O.os, ye = O.engine, At = O.ua;
|
|
2040
2040
|
return {
|
|
2041
2041
|
isSmartTV: Dt(x),
|
|
2042
2042
|
isConsole: _n(x),
|
|
@@ -2058,7 +2058,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2058
2058
|
isOpera: kn(B),
|
|
2059
2059
|
isIE: Un(B),
|
|
2060
2060
|
osVersion: re(V),
|
|
2061
|
-
osName:
|
|
2061
|
+
osName: ge(V),
|
|
2062
2062
|
fullBrowserVersion: io(B),
|
|
2063
2063
|
browserVersion: oo(B),
|
|
2064
2064
|
browserName: so(B),
|
|
@@ -2083,12 +2083,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2083
2083
|
isSamsungBrowser: Ei(B)
|
|
2084
2084
|
};
|
|
2085
2085
|
}
|
|
2086
|
-
var ho = Dt(d), Mo = _n(d), po = fn(d), Io = Mt(d), us = Ot(a) || Kt(), ls = pt(a), mr = Jn(d) || Kt(), yo = Nt(d), No = rn(d) || Kt(), Do = dn(d), cs = dn(d), Ao = ee(g), mo = ie(g), _r = Le(g) || Kt(), ds = pe(a), qr = Ue(a), fs = Oe(a), gs = kn(a), _o = Un(a), To = re(g), Eo =
|
|
2087
|
-
if (!
|
|
2086
|
+
var ho = Dt(d), Mo = _n(d), po = fn(d), Io = Mt(d), us = Ot(a) || Kt(), ls = pt(a), mr = Jn(d) || Kt(), yo = Nt(d), No = rn(d) || Kt(), Do = dn(d), cs = dn(d), Ao = ee(g), mo = ie(g), _r = Le(g) || Kt(), ds = pe(a), qr = Ue(a), fs = Oe(a), gs = kn(a), _o = Un(a), To = re(g), Eo = ge(g), vo = io(a), hs = oo(a), Ms = so(a), ps = j(d), Is = k(d), wo = ao(c), So = vi(c), Oo = fo(M), gn = tt(a) || dr(M), ys = We(a), Fe = Q(d), Jt = lo(), Tr = Kt(), Co = co(), wi = Xr(), Si = uo(), Ns = dr(M), Xu = tt(a) && !dr(M), Da = te(g), Ds = J(g), As = Ti(a), ei = Ei(a), Aa = function(O) {
|
|
2087
|
+
if (!O || typeof O != "string") {
|
|
2088
2088
|
console.error("No valid user agent string was provided");
|
|
2089
2089
|
return;
|
|
2090
2090
|
}
|
|
2091
|
-
var x = h(
|
|
2091
|
+
var x = h(O), B = x.device, V = x.browser, ye = x.os, At = x.engine, Xt = x.ua;
|
|
2092
2092
|
return go({
|
|
2093
2093
|
device: B,
|
|
2094
2094
|
browser: V,
|
|
@@ -2096,50 +2096,50 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2096
2096
|
engine: At,
|
|
2097
2097
|
ua: Xt
|
|
2098
2098
|
});
|
|
2099
|
-
}, ma = function(
|
|
2100
|
-
var x =
|
|
2099
|
+
}, ma = function(O) {
|
|
2100
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2101
2101
|
return Ao ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2102
|
-
}, qu = function(
|
|
2103
|
-
var x =
|
|
2102
|
+
}, qu = function(O) {
|
|
2103
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2104
2104
|
return Do ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2105
|
-
}, _a = function(
|
|
2106
|
-
var x =
|
|
2105
|
+
}, _a = function(O) {
|
|
2106
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2107
2107
|
return _o ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2108
|
-
}, Ta = function(
|
|
2109
|
-
var x =
|
|
2108
|
+
}, Ta = function(O) {
|
|
2109
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2110
2110
|
return _r ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2111
|
-
}, Ea = function(
|
|
2112
|
-
var x =
|
|
2111
|
+
}, Ea = function(O) {
|
|
2112
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2113
2113
|
return mr ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2114
|
-
}, va = function(
|
|
2115
|
-
var x =
|
|
2114
|
+
}, va = function(O) {
|
|
2115
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2116
2116
|
return No ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2117
|
-
}, el = function(
|
|
2118
|
-
var x =
|
|
2117
|
+
}, el = function(O) {
|
|
2118
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2119
2119
|
return mo ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2120
|
-
}, tl = function(
|
|
2121
|
-
var x =
|
|
2122
|
-
|
|
2123
|
-
var V = q(
|
|
2120
|
+
}, tl = function(O) {
|
|
2121
|
+
var x = O.renderWithFragment, B = O.children;
|
|
2122
|
+
O.viewClassName, O.style;
|
|
2123
|
+
var V = q(O, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2124
2124
|
return yo ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2125
|
-
}, nl = function(
|
|
2126
|
-
var x =
|
|
2125
|
+
}, nl = function(O) {
|
|
2126
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2127
2127
|
return ho ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2128
|
-
}, wa = function(
|
|
2129
|
-
var x =
|
|
2128
|
+
}, wa = function(O) {
|
|
2129
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2130
2130
|
return Mo ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2131
|
-
}, rl = function(
|
|
2132
|
-
var x =
|
|
2131
|
+
}, rl = function(O) {
|
|
2132
|
+
var x = O.renderWithFragment, B = O.children, V = q(O, ["renderWithFragment", "children"]);
|
|
2133
2133
|
return po ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", V, B) : null;
|
|
2134
|
-
}, il = function(
|
|
2135
|
-
var x =
|
|
2136
|
-
|
|
2137
|
-
var V =
|
|
2134
|
+
}, il = function(O) {
|
|
2135
|
+
var x = O.renderWithFragment, B = O.children;
|
|
2136
|
+
O.viewClassName, O.style;
|
|
2137
|
+
var V = O.condition, ye = q(O, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2138
2138
|
return V ? x ? t.createElement(e.Fragment, null, B) : t.createElement("div", ye, B) : null;
|
|
2139
2139
|
};
|
|
2140
2140
|
function ol(P) {
|
|
2141
|
-
return /* @__PURE__ */ (function(
|
|
2142
|
-
Y(x,
|
|
2141
|
+
return /* @__PURE__ */ (function(O) {
|
|
2142
|
+
Y(x, O);
|
|
2143
2143
|
function x(B) {
|
|
2144
2144
|
var V;
|
|
2145
2145
|
return T(this, x), V = ne(this, $(x).call(this, B)), V.isEventListenerAdded = !1, V.handleOrientationChange = V.handleOrientationChange.bind(De(V)), V.onOrientationChange = V.onOrientationChange.bind(De(V)), V.onPageLoad = V.onPageLoad.bind(De(V)), V.state = {
|
|
@@ -2196,7 +2196,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2196
2196
|
isLandscape: ye === 90,
|
|
2197
2197
|
orientation: ye === 0 ? "portrait" : "landscape"
|
|
2198
2198
|
};
|
|
2199
|
-
}),
|
|
2199
|
+
}), O = Ae(P, 2), x = O[0], B = O[1], V = e.useCallback(function() {
|
|
2200
2200
|
var ye = window.innerWidth > window.innerHeight ? 90 : 0, At = {
|
|
2201
2201
|
isPortrait: ye === 0,
|
|
2202
2202
|
isLandscape: ye === 90,
|
|
@@ -2211,31 +2211,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2211
2211
|
}, [V]), x;
|
|
2212
2212
|
}
|
|
2213
2213
|
function jo(P) {
|
|
2214
|
-
var
|
|
2215
|
-
return h(
|
|
2214
|
+
var O = P || window.navigator.userAgent;
|
|
2215
|
+
return h(O);
|
|
2216
2216
|
}
|
|
2217
2217
|
function al(P) {
|
|
2218
|
-
var
|
|
2218
|
+
var O = P || window.navigator.userAgent, x = jo(O), B = go(x);
|
|
2219
2219
|
return [B, x];
|
|
2220
2220
|
}
|
|
2221
|
-
return
|
|
2221
|
+
return he.AndroidView = ma, he.BrowserTypes = Ee, he.BrowserView = qu, he.ConsoleView = wa, he.CustomView = il, he.IEView = _a, he.IOSView = Ta, he.MobileOnlyView = tl, he.MobileView = Ea, he.OsTypes = ae, he.SmartTVView = nl, he.TabletView = va, he.WearableView = rl, he.WinPhoneView = el, he.browserName = Ms, he.browserVersion = hs, he.deviceDetect = Kn, he.deviceType = Fe, he.engineName = wo, he.engineVersion = So, he.fullBrowserVersion = vo, he.getSelectorsByUserAgent = Aa, he.getUA = Oo, he.isAndroid = Ao, he.isBrowser = Do, he.isChrome = ds, he.isChromium = ls, he.isConsole = Mo, he.isDesktop = cs, he.isEdge = gn, he.isEdgeChromium = Ns, he.isElectron = Si, he.isEmbedded = Io, he.isFirefox = qr, he.isIE = _o, he.isIOS = _r, he.isIOS13 = Jt, he.isIPad13 = Tr, he.isIPhone13 = Co, he.isIPod13 = wi, he.isLegacyEdge = Xu, he.isMIUI = As, he.isMacOs = Ds, he.isMobile = mr, he.isMobileOnly = yo, he.isMobileSafari = us, he.isOpera = gs, he.isSafari = fs, he.isSamsungBrowser = ei, he.isSmartTV = ho, he.isTablet = No, he.isWearable = po, he.isWinPhone = mo, he.isWindows = Da, he.isYandex = ys, he.mobileModel = Is, he.mobileVendor = ps, he.osName = Eo, he.osVersion = To, he.parseUserAgent = h, he.setUserAgent = xe, he.useDeviceData = jo, he.useDeviceSelectors = al, he.useMobileOrientation = sl, he.withOrientationChange = ol, he;
|
|
2222
2222
|
}
|
|
2223
2223
|
var An = yT(), Ws = { exports: {} };
|
|
2224
2224
|
var NT = Ws.exports, Eh;
|
|
2225
2225
|
function DT() {
|
|
2226
2226
|
return Eh || (Eh = 1, (function(r, e) {
|
|
2227
2227
|
(function() {
|
|
2228
|
-
var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", M = 500, p = "__lodash_placeholder__", h = 1, y = 2, D = 4, N = 1, m = 2, T = 1, E = 2, w = 4,
|
|
2228
|
+
var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", M = 500, p = "__lodash_placeholder__", h = 1, y = 2, D = 4, N = 1, m = 2, T = 1, E = 2, w = 4, S = 8, R = 16, Y = 32, $ = 64, Z = 128, le = 256, q = 512, De = 30, ne = "...", Ae = 800, Ie = 16, me = 1, Se = 2, ke = 3, Ce = 1 / 0, ce = 9007199254740991, Ee = 17976931348623157e292, ae = NaN, _e = 4294967295, Ze = _e - 1, xe = _e >>> 1, de = [
|
|
2229
2229
|
["ary", Z],
|
|
2230
2230
|
["bind", T],
|
|
2231
2231
|
["bindKey", E],
|
|
2232
|
-
["curry",
|
|
2232
|
+
["curry", S],
|
|
2233
2233
|
["curryRight", R],
|
|
2234
2234
|
["flip", q],
|
|
2235
2235
|
["partial", Y],
|
|
2236
2236
|
["partialRight", $],
|
|
2237
2237
|
["rearg", le]
|
|
2238
|
-
], Ye = "[object Arguments]", Pe = "[object Array]", Tt = "[object AsyncFunction]", tn = "[object Boolean]", zt = "[object Date]", Rn = "[object DOMException]", Bt = "[object Error]", nn = "[object Function]", Kn = "[object GeneratorFunction]", Nt = "[object Map]", rn = "[object Number]", Jn = "[object Null]", Dt = "[object Object]", dn = "[object Promise]", fn = "[object Proxy]", _n = "[object RegExp]", Mt = "[object Set]", j = "[object String]", k = "[object Symbol]", Q = "[object Undefined]", ee = "[object WeakMap]", te = "[object WeakSet]", J = "[object ArrayBuffer]", ie = "[object DataView]", Le = "[object Float32Array]", re = "[object Float64Array]",
|
|
2238
|
+
], Ye = "[object Arguments]", Pe = "[object Array]", Tt = "[object AsyncFunction]", tn = "[object Boolean]", zt = "[object Date]", Rn = "[object DOMException]", Bt = "[object Error]", nn = "[object Function]", Kn = "[object GeneratorFunction]", Nt = "[object Map]", rn = "[object Number]", Jn = "[object Null]", Dt = "[object Object]", dn = "[object Promise]", fn = "[object Proxy]", _n = "[object RegExp]", Mt = "[object Set]", j = "[object String]", k = "[object Symbol]", Q = "[object Undefined]", ee = "[object WeakMap]", te = "[object WeakSet]", J = "[object ArrayBuffer]", ie = "[object DataView]", Le = "[object Float32Array]", re = "[object Float64Array]", ge = "[object Int8Array]", pe = "[object Int16Array]", Ue = "[object Int32Array]", pt = "[object Uint8Array]", tt = "[object Uint8ClampedArray]", We = "[object Uint16Array]", Oe = "[object Uint32Array]", Ot = /\b__p \+= '';/g, kn = /\b(__p \+=) '' \+/g, Un = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ti = /&(?:amp|lt|gt|quot|#39);/g, Ei = /[&<>"']/g, io = RegExp(Ti.source), oo = RegExp(Ei.source), so = /<%-([\s\S]+?)%>/g, ao = /<%([\s\S]+?)%>/g, vi = /<%=([\s\S]+?)%>/g, uo = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, dr = /^\w*$/, lo = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Kt = /[\\^$.*+?()[\]{}|]/g, co = RegExp(Kt.source), Xr = /^\s+/, fo = /\s/, go = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ho = /\{\n\/\* \[wrapped with (.+)\] \*/, Mo = /,? & /, po = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Io = /[()=,{}\[\]\/\s]/, us = /\\(\\)?/g, ls = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, mr = /\w*$/, yo = /^[-+]0x[0-9a-f]+$/i, No = /^0b[01]+$/i, Do = /^\[object .+?Constructor\]$/, cs = /^0o[0-7]+$/i, Ao = /^(?:0|[1-9]\d*)$/, mo = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _r = /($^)/, ds = /['\n\r\u2028\u2029\\]/g, qr = "\\ud800-\\udfff", fs = "\\u0300-\\u036f", gs = "\\ufe20-\\ufe2f", _o = "\\u20d0-\\u20ff", To = fs + gs + _o, Eo = "\\u2700-\\u27bf", vo = "a-z\\xdf-\\xf6\\xf8-\\xff", hs = "\\xac\\xb1\\xd7\\xf7", Ms = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", ps = "\\u2000-\\u206f", Is = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", wo = "A-Z\\xc0-\\xd6\\xd8-\\xde", So = "\\ufe0e\\ufe0f", Oo = hs + Ms + ps + Is, gn = "['’]", ys = "[" + qr + "]", Fe = "[" + Oo + "]", Jt = "[" + To + "]", Tr = "\\d+", Co = "[" + Eo + "]", wi = "[" + vo + "]", Si = "[^" + qr + Oo + Tr + Eo + vo + wo + "]", Ns = "\\ud83c[\\udffb-\\udfff]", Xu = "(?:" + Jt + "|" + Ns + ")", Da = "[^" + qr + "]", Ds = "(?:\\ud83c[\\udde6-\\uddff]){2}", As = "[\\ud800-\\udbff][\\udc00-\\udfff]", ei = "[" + wo + "]", Aa = "\\u200d", ma = "(?:" + wi + "|" + Si + ")", qu = "(?:" + ei + "|" + Si + ")", _a = "(?:" + gn + "(?:d|ll|m|re|s|t|ve))?", Ta = "(?:" + gn + "(?:D|LL|M|RE|S|T|VE))?", Ea = Xu + "?", va = "[" + So + "]?", el = "(?:" + Aa + "(?:" + [Da, Ds, As].join("|") + ")" + va + Ea + ")*", tl = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", nl = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", wa = va + Ea + el, rl = "(?:" + [Co, Ds, As].join("|") + ")" + wa, il = "(?:" + [Da + Jt + "?", Jt, Ds, As, ys].join("|") + ")", ol = RegExp(gn, "g"), sl = RegExp(Jt, "g"), jo = RegExp(Ns + "(?=" + Ns + ")|" + il + wa, "g"), al = RegExp([
|
|
2239
2239
|
ei + "?" + wi + "+" + _a + "(?=" + [Fe, ei, "$"].join("|") + ")",
|
|
2240
2240
|
qu + "+" + Ta + "(?=" + [Fe, ei + ma, "$"].join("|") + ")",
|
|
2241
2241
|
ei + "?" + ma + "+" + _a,
|
|
@@ -2244,7 +2244,7 @@ function DT() {
|
|
|
2244
2244
|
tl,
|
|
2245
2245
|
Tr,
|
|
2246
2246
|
rl
|
|
2247
|
-
].join("|"), "g"), P = RegExp("[" + Aa + qr + To + So + "]"),
|
|
2247
|
+
].join("|"), "g"), P = RegExp("[" + Aa + qr + To + So + "]"), O = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, x = [
|
|
2248
2248
|
"Array",
|
|
2249
2249
|
"Buffer",
|
|
2250
2250
|
"DataView",
|
|
@@ -2276,9 +2276,9 @@ function DT() {
|
|
|
2276
2276
|
"parseInt",
|
|
2277
2277
|
"setTimeout"
|
|
2278
2278
|
], B = -1, V = {};
|
|
2279
|
-
V[Le] = V[re] = V[
|
|
2279
|
+
V[Le] = V[re] = V[ge] = V[pe] = V[Ue] = V[pt] = V[tt] = V[We] = V[Oe] = !0, V[Ye] = V[Pe] = V[J] = V[tn] = V[ie] = V[zt] = V[Bt] = V[nn] = V[Nt] = V[rn] = V[Dt] = V[_n] = V[Mt] = V[j] = V[ee] = !1;
|
|
2280
2280
|
var ye = {};
|
|
2281
|
-
ye[Ye] = ye[Pe] = ye[J] = ye[ie] = ye[tn] = ye[zt] = ye[Le] = ye[re] = ye[
|
|
2281
|
+
ye[Ye] = ye[Pe] = ye[J] = ye[ie] = ye[tn] = ye[zt] = ye[Le] = ye[re] = ye[ge] = ye[pe] = ye[Ue] = ye[Nt] = ye[rn] = ye[Dt] = ye[_n] = ye[Mt] = ye[j] = ye[k] = ye[pt] = ye[tt] = ye[We] = ye[Oe] = !0, ye[Bt] = ye[nn] = ye[ee] = !1;
|
|
2282
2282
|
var At = {
|
|
2283
2283
|
// Latin-1 Supplement block.
|
|
2284
2284
|
À: "A",
|
|
@@ -2695,7 +2695,7 @@ function DT() {
|
|
|
2695
2695
|
return P.test(L);
|
|
2696
2696
|
}
|
|
2697
2697
|
function Xp(L) {
|
|
2698
|
-
return
|
|
2698
|
+
return O.test(L);
|
|
2699
2699
|
}
|
|
2700
2700
|
function qp(L) {
|
|
2701
2701
|
for (var W, F = []; !(W = L.next()).done; )
|
|
@@ -3874,7 +3874,7 @@ function DT() {
|
|
|
3874
3874
|
for (f = C ? f : u; ++f < u; ) {
|
|
3875
3875
|
_ = i[f];
|
|
3876
3876
|
var z = iu(_), U = z == "wrapper" ? Hl(_) : t;
|
|
3877
|
-
U && Jl(U[0]) && U[1] == (Z |
|
|
3877
|
+
U && Jl(U[0]) && U[1] == (Z | S | Y | le) && !U[4].length && U[9] == 1 ? C = C[iu(U[0])].apply(C, U[3]) : C = _.length == 1 && Jl(_) ? C[z]() : C.thru(_);
|
|
3878
3878
|
}
|
|
3879
3879
|
return function() {
|
|
3880
3880
|
var H = arguments, G = H[0];
|
|
@@ -3887,7 +3887,7 @@ function DT() {
|
|
|
3887
3887
|
});
|
|
3888
3888
|
}
|
|
3889
3889
|
function eu(n, i, u, f, I, _, C, z, U, H) {
|
|
3890
|
-
var G = i & Z, K = i & T, se = i & E, ve = i & (
|
|
3890
|
+
var G = i & Z, K = i & T, se = i & E, ve = i & (S | R), Re = i & q, He = se ? t : zs(n);
|
|
3891
3891
|
function be() {
|
|
3892
3892
|
for (var Je = arguments.length, et = F(Je), On = Je; On--; )
|
|
3893
3893
|
et[On] = arguments[On];
|
|
@@ -3971,7 +3971,7 @@ function DT() {
|
|
|
3971
3971
|
};
|
|
3972
3972
|
}
|
|
3973
3973
|
function Bf(n, i, u, f, I, _, C, z, U, H) {
|
|
3974
|
-
var G = i &
|
|
3974
|
+
var G = i & S, K = G ? C : t, se = G ? t : C, ve = G ? _ : t, Re = G ? t : _;
|
|
3975
3975
|
i |= G ? Y : $, i &= ~(G ? $ : Y), i & w || (i &= -4);
|
|
3976
3976
|
var He = [
|
|
3977
3977
|
n,
|
|
@@ -4027,9 +4027,9 @@ function DT() {
|
|
|
4027
4027
|
C,
|
|
4028
4028
|
z
|
|
4029
4029
|
];
|
|
4030
|
-
if (se && Xy(ve, se), n = ve[0], i = ve[1], u = ve[2], f = ve[3], I = ve[4], z = ve[9] = ve[9] === t ? U ? 0 : n.length : Rt(ve[9] - H, 0), !z && i & (
|
|
4030
|
+
if (se && Xy(ve, se), n = ve[0], i = ve[1], u = ve[2], f = ve[3], I = ve[4], z = ve[9] = ve[9] === t ? U ? 0 : n.length : Rt(ve[9] - H, 0), !z && i & (S | R) && (i &= -25), !i || i == T)
|
|
4031
4031
|
var Re = zy(n, i, u);
|
|
4032
|
-
else i ==
|
|
4032
|
+
else i == S || i == R ? Re = Ly(n, i, z) : (i == Y || i == (T | Y)) && !I.length ? Re = Ry(n, i, u, f) : Re = eu.apply(t, ve);
|
|
4033
4033
|
var He = se ? Tf : tg;
|
|
4034
4034
|
return ng(He(Re, ve), n, i);
|
|
4035
4035
|
}
|
|
@@ -4273,7 +4273,7 @@ function DT() {
|
|
|
4273
4273
|
return Sy(n, u);
|
|
4274
4274
|
case Le:
|
|
4275
4275
|
case re:
|
|
4276
|
-
case
|
|
4276
|
+
case ge:
|
|
4277
4277
|
case pe:
|
|
4278
4278
|
case Ue:
|
|
4279
4279
|
case pt:
|
|
@@ -4358,7 +4358,7 @@ function DT() {
|
|
|
4358
4358
|
return i;
|
|
4359
4359
|
}
|
|
4360
4360
|
function Xy(n, i) {
|
|
4361
|
-
var u = n[1], f = i[1], I = u | f, _ = I < (T | E | Z), C = f == Z && u ==
|
|
4361
|
+
var u = n[1], f = i[1], I = u | f, _ = I < (T | E | Z), C = f == Z && u == S || f == Z && u == le && n[7].length <= i[8] || f == (Z | le) && i[7].length <= i[8] && u == S;
|
|
4362
4362
|
if (!(_ || C))
|
|
4363
4363
|
return n;
|
|
4364
4364
|
f & T && (n[2] = i[2], I |= u & T ? 0 : w);
|
|
@@ -4935,7 +4935,7 @@ function DT() {
|
|
|
4935
4935
|
});
|
|
4936
4936
|
function yg(n, i, u) {
|
|
4937
4937
|
i = u ? t : i;
|
|
4938
|
-
var f = wr(n,
|
|
4938
|
+
var f = wr(n, S, t, t, t, t, t, i);
|
|
4939
4939
|
return f.placeholder = yg.placeholder, f;
|
|
4940
4940
|
}
|
|
4941
4941
|
function Ng(n, i, u) {
|
|
@@ -5245,7 +5245,7 @@ function DT() {
|
|
|
5245
5245
|
return n === 0 ? n : 0;
|
|
5246
5246
|
if (n = Vn(n), n === Ce || n === -Ce) {
|
|
5247
5247
|
var i = n < 0 ? -1 : 1;
|
|
5248
|
-
return i *
|
|
5248
|
+
return i * Ee;
|
|
5249
5249
|
}
|
|
5250
5250
|
return n === n ? n : 0;
|
|
5251
5251
|
}
|
|
@@ -5926,7 +5926,7 @@ const sa = {
|
|
|
5926
5926
|
MESSAGE: "MESSAGE",
|
|
5927
5927
|
ERROR: "ERROR"
|
|
5928
5928
|
};
|
|
5929
|
-
var
|
|
5929
|
+
var Te = /* @__PURE__ */ ((r) => (r.DEBUG = "DEBUG", r.ERROR = "ERROR", r.INFO = "INFO", r.WARNING = "WARNING", r.CRITICAL = "CRITICAL", r))(Te || {}), Nd = /* @__PURE__ */ ((r) => (r.INFO = "INFO", r))(Nd || {});
|
|
5930
5930
|
const vT = {
|
|
5931
5931
|
DATA: "DATA",
|
|
5932
5932
|
QUESTIONARY: "QUESTIONARY",
|
|
@@ -5935,7 +5935,7 @@ const vT = {
|
|
|
5935
5935
|
DEVICE_TRANSFER: "DEVICE_TRANSFER"
|
|
5936
5936
|
}, wT = Object.values(vT);
|
|
5937
5937
|
var Dd = /* @__PURE__ */ ((r) => (r.DID_START_SESSION = "DID_START_SESSION", r.DID_END_SESSION = "DID_END_SESSION", r.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", r.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", r))(Dd || {}), Mr = /* @__PURE__ */ ((r) => (r[r.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", r[r.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", r[r.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", r[r.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", r[r.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", r))(Mr || {}), Ht = /* @__PURE__ */ ((r) => (r[r.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", r[r.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", r[r.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", r[r.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", r))(Ht || {}), Pt = /* @__PURE__ */ ((r) => (r[r.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", r[r.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", r[r.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", r[r.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", r[r.MODULES_ISSUE = 4] = "MODULES_ISSUE", r[r.ALREADY_STARTED = 5] = "ALREADY_STARTED", r[r.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", r))(Pt || {}), Vu = /* @__PURE__ */ ((r) => (r[r.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", r[r.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", r[r.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", r))(Vu || {}), Cu = /* @__PURE__ */ ((r) => (r[r.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", r[r.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", r))(Cu || {}), gi = /* @__PURE__ */ ((r) => (r[r.HTTP_ISSUE = 0] = "HTTP_ISSUE", r[r.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", r[r.DECODING_FAILED = 2] = "DECODING_FAILED", r))(gi || {}), br = /* @__PURE__ */ ((r) => (r[r.HTTP_ISSUE = 0] = "HTTP_ISSUE", r[r.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", r[r.DECODING_FAILED = 2] = "DECODING_FAILED", r[r.TOKEN_ERROR = 3] = "TOKEN_ERROR", r[r.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", r))(br || {}), $n = /* @__PURE__ */ ((r) => (r[r.HTTP_ISSUE = 0] = "HTTP_ISSUE", r[r.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", r[r.DECODING_FAILED = 2] = "DECODING_FAILED", r[r.SAME_STEP = 3] = "SAME_STEP", r[r.IS_PROCESSING = 4] = "IS_PROCESSING", r[r.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", r))($n || {}), ju = /* @__PURE__ */ ((r) => (r[r.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", r[r.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", r))(ju || {}), hi = /* @__PURE__ */ ((r) => (r[r.HTTP_ISSUE = 0] = "HTTP_ISSUE", r[r.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", r))(hi || {});
|
|
5938
|
-
const ST = 120, OT = 200, xu = "PROGRESS",
|
|
5938
|
+
const ST = 120, OT = 200, xu = "PROGRESS", fe = "IDV", Pi = "idv-session-data", Ps = "idv-session-auth-token", CT = "rgl-uid", jT = "en", xT = (r, e) => Bc(r, e), Bc = (r, e) => {
|
|
5939
5939
|
const t = ZM(r, e);
|
|
5940
5940
|
for (const o in t)
|
|
5941
5941
|
if (Object.prototype.hasOwnProperty.call(t, o)) {
|
|
@@ -6169,7 +6169,7 @@ const wh = () => {
|
|
|
6169
6169
|
osVersion: `${An.osVersion}`,
|
|
6170
6170
|
hostAppId: wh(),
|
|
6171
6171
|
host: wh(),
|
|
6172
|
-
sdkVersion: "3.6.
|
|
6172
|
+
sdkVersion: "3.6.399-nightly".trim(),
|
|
6173
6173
|
name: navigator.userAgent,
|
|
6174
6174
|
deviceModel: `${An.osName}/${An.osVersion} ${An.browserName}/${An.fullBrowserVersion}`,
|
|
6175
6175
|
hostAppVersion: `${An.browserName}/${An.fullBrowserVersion}`,
|
|
@@ -6477,7 +6477,7 @@ const iE = ["ar", "he"], oE = (r) => {
|
|
|
6477
6477
|
});
|
|
6478
6478
|
}
|
|
6479
6479
|
};
|
|
6480
|
-
Lr.MODULE =
|
|
6480
|
+
Lr.MODULE = fe, Lr.ERROR_ENUM_NAME = "InitializeError", Lr.SHORT_CODE = "IN";
|
|
6481
6481
|
let bu = Lr;
|
|
6482
6482
|
const Rr = class Rr extends dt {
|
|
6483
6483
|
constructor({
|
|
@@ -6500,7 +6500,7 @@ const Rr = class Rr extends dt {
|
|
|
6500
6500
|
});
|
|
6501
6501
|
}
|
|
6502
6502
|
};
|
|
6503
|
-
Rr.MODULE =
|
|
6503
|
+
Rr.MODULE = fe, Rr.ERROR_ENUM_NAME = "TokenInitializeError", Rr.SHORT_CODE = "TI";
|
|
6504
6504
|
let zu = Rr;
|
|
6505
6505
|
const kr = class kr extends dt {
|
|
6506
6506
|
constructor({
|
|
@@ -6523,7 +6523,7 @@ const kr = class kr extends dt {
|
|
|
6523
6523
|
});
|
|
6524
6524
|
}
|
|
6525
6525
|
};
|
|
6526
|
-
kr.MODULE =
|
|
6526
|
+
kr.MODULE = fe, kr.ERROR_ENUM_NAME = "PrepareWorkflowError", kr.SHORT_CODE = "PW";
|
|
6527
6527
|
let pr = kr;
|
|
6528
6528
|
const Ur = class Ur extends dt {
|
|
6529
6529
|
constructor({
|
|
@@ -6546,7 +6546,7 @@ const Ur = class Ur extends dt {
|
|
|
6546
6546
|
});
|
|
6547
6547
|
}
|
|
6548
6548
|
};
|
|
6549
|
-
Ur.MODULE =
|
|
6549
|
+
Ur.MODULE = fe, Ur.ERROR_ENUM_NAME = "ConfigureError", Ur.SHORT_CODE = "CFG";
|
|
6550
6550
|
let Gt = Ur;
|
|
6551
6551
|
const Pr = class Pr extends dt {
|
|
6552
6552
|
constructor({
|
|
@@ -6569,7 +6569,7 @@ const Pr = class Pr extends dt {
|
|
|
6569
6569
|
});
|
|
6570
6570
|
}
|
|
6571
6571
|
};
|
|
6572
|
-
Pr.MODULE =
|
|
6572
|
+
Pr.MODULE = fe, Pr.ERROR_ENUM_NAME = "WorkflowError", Pr.SHORT_CODE = "SC";
|
|
6573
6573
|
let Ft = Pr;
|
|
6574
6574
|
const Fr = class Fr extends dt {
|
|
6575
6575
|
constructor({
|
|
@@ -6592,7 +6592,7 @@ const Fr = class Fr extends dt {
|
|
|
6592
6592
|
});
|
|
6593
6593
|
}
|
|
6594
6594
|
};
|
|
6595
|
-
Fr.MODULE =
|
|
6595
|
+
Fr.MODULE = fe, Fr.ERROR_ENUM_NAME = "ConnectionError", Fr.SHORT_CODE = "CO";
|
|
6596
6596
|
let Xs = Fr;
|
|
6597
6597
|
const Qr = class Qr extends dt {
|
|
6598
6598
|
constructor({
|
|
@@ -6615,7 +6615,7 @@ const Qr = class Qr extends dt {
|
|
|
6615
6615
|
});
|
|
6616
6616
|
}
|
|
6617
6617
|
};
|
|
6618
|
-
Qr.MODULE =
|
|
6618
|
+
Qr.MODULE = fe, Qr.ERROR_ENUM_NAME = "SessionError", Qr.SHORT_CODE = "SE";
|
|
6619
6619
|
let Qi = Qr;
|
|
6620
6620
|
const Yr = class Yr extends dt {
|
|
6621
6621
|
constructor({
|
|
@@ -6638,7 +6638,7 @@ const Yr = class Yr extends dt {
|
|
|
6638
6638
|
});
|
|
6639
6639
|
}
|
|
6640
6640
|
};
|
|
6641
|
-
Yr.MODULE =
|
|
6641
|
+
Yr.MODULE = fe, Yr.ERROR_ENUM_NAME = "StartSessionError", Yr.SHORT_CODE = "ST";
|
|
6642
6642
|
let zr = Yr;
|
|
6643
6643
|
const Br = class Br extends dt {
|
|
6644
6644
|
constructor({
|
|
@@ -6661,7 +6661,7 @@ const Br = class Br extends dt {
|
|
|
6661
6661
|
});
|
|
6662
6662
|
}
|
|
6663
6663
|
};
|
|
6664
|
-
Br.MODULE =
|
|
6664
|
+
Br.MODULE = fe, Br.ERROR_ENUM_NAME = "DeinitializationError", Br.SHORT_CODE = "DE";
|
|
6665
6665
|
let Lu = Br;
|
|
6666
6666
|
const Wr = class Wr extends dt {
|
|
6667
6667
|
constructor({
|
|
@@ -6684,7 +6684,7 @@ const Wr = class Wr extends dt {
|
|
|
6684
6684
|
});
|
|
6685
6685
|
}
|
|
6686
6686
|
};
|
|
6687
|
-
Wr.MODULE =
|
|
6687
|
+
Wr.MODULE = fe, Wr.ERROR_ENUM_NAME = "WorkflowPlatformError", Wr.SHORT_CODE = "WPE";
|
|
6688
6688
|
let qs = Wr;
|
|
6689
6689
|
class Jo {
|
|
6690
6690
|
constructor() {
|
|
@@ -7046,7 +7046,7 @@ const DE = (r, e) => r.reduce((t, o) => {
|
|
|
7046
7046
|
return (r == null ? void 0 : r.name) === "NotAllowedError" ? "denied" : "error";
|
|
7047
7047
|
}
|
|
7048
7048
|
}), mE = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), kt = (r) => {
|
|
7049
|
-
const
|
|
7049
|
+
const S = r, { isFullSize: e = !1 } = S, t = ci(S, ["isFullSize"]), { failedAssets: o } = JM(), s = ep(t, o), [a, l] = ht(0), d = s[a];
|
|
7050
7050
|
if (!d) return null;
|
|
7051
7051
|
const {
|
|
7052
7052
|
imageId: c,
|
|
@@ -7259,10 +7259,10 @@ const DE = (r, e) => r.reduce((t, o) => {
|
|
|
7259
7259
|
} : {
|
|
7260
7260
|
onMouseEnter: () => D(!0),
|
|
7261
7261
|
onMouseLeave: () => D(!1)
|
|
7262
|
-
}, { perform:
|
|
7262
|
+
}, { perform: S } = Gr(), R = (le) => {
|
|
7263
7263
|
if (h && h(le), g !== "RESPONSE_BODY") return;
|
|
7264
7264
|
const q = JSON.parse(JSON.stringify(t));
|
|
7265
|
-
$u(q),
|
|
7265
|
+
$u(q), S(q, ha.DATA);
|
|
7266
7266
|
}, Y = p ? b({}, Ma(M)) : {
|
|
7267
7267
|
padding: "10px 16px",
|
|
7268
7268
|
height: "50px"
|
|
@@ -7758,14 +7758,14 @@ function PE(r) {
|
|
|
7758
7758
|
const e = vd(), { control: t = e, name: o, defaultValue: s, disabled: a, exact: l, compute: d } = r || {}, c = Ne.useRef(s), g = Ne.useRef(d), M = Ne.useRef(void 0), p = Ne.useRef(t), h = Ne.useRef(o);
|
|
7759
7759
|
g.current = d;
|
|
7760
7760
|
const [y, D] = Ne.useState(() => {
|
|
7761
|
-
const
|
|
7762
|
-
return g.current ? g.current(
|
|
7763
|
-
}), N = Ne.useCallback((
|
|
7764
|
-
const R = $c(o, t._names,
|
|
7761
|
+
const S = t._getWatch(o, c.current);
|
|
7762
|
+
return g.current ? g.current(S) : S;
|
|
7763
|
+
}), N = Ne.useCallback((S) => {
|
|
7764
|
+
const R = $c(o, t._names, S || t._formValues, !1, c.current);
|
|
7765
7765
|
return g.current ? g.current(R) : R;
|
|
7766
|
-
}, [t._formValues, t._names, o]), m = Ne.useCallback((
|
|
7766
|
+
}, [t._formValues, t._names, o]), m = Ne.useCallback((S) => {
|
|
7767
7767
|
if (!a) {
|
|
7768
|
-
const R = $c(o, t._names,
|
|
7768
|
+
const R = $c(o, t._names, S || t._formValues, !1, c.current);
|
|
7769
7769
|
if (g.current) {
|
|
7770
7770
|
const Y = g.current(R);
|
|
7771
7771
|
sr(Y, M.current) || (D(Y), M.current = Y);
|
|
@@ -7779,15 +7779,15 @@ function PE(r) {
|
|
|
7779
7779
|
values: !0
|
|
7780
7780
|
},
|
|
7781
7781
|
exact: l,
|
|
7782
|
-
callback: (
|
|
7783
|
-
m(
|
|
7782
|
+
callback: (S) => {
|
|
7783
|
+
m(S.values);
|
|
7784
7784
|
}
|
|
7785
7785
|
})), [t, l, o, m]), Ne.useEffect(() => t._removeUnmounted());
|
|
7786
7786
|
const T = p.current !== t, E = h.current, w = Ne.useMemo(() => {
|
|
7787
7787
|
if (a)
|
|
7788
7788
|
return null;
|
|
7789
|
-
const
|
|
7790
|
-
return T ||
|
|
7789
|
+
const S = !T && !sr(E, o);
|
|
7790
|
+
return T || S ? N() : null;
|
|
7791
7791
|
}, [a, T, o, E, N]);
|
|
7792
7792
|
return w !== null ? w : y;
|
|
7793
7793
|
}
|
|
@@ -7826,9 +7826,9 @@ function FE(r) {
|
|
|
7826
7826
|
enumerable: !0,
|
|
7827
7827
|
get: () => ue(p.errors, t)
|
|
7828
7828
|
}
|
|
7829
|
-
}), [p, t]), m = Ne.useCallback((
|
|
7829
|
+
}), [p, t]), m = Ne.useCallback((S) => D.current.onChange({
|
|
7830
7830
|
target: {
|
|
7831
|
-
value: ip(
|
|
7831
|
+
value: ip(S),
|
|
7832
7832
|
name: t
|
|
7833
7833
|
},
|
|
7834
7834
|
type: Mi.CHANGE
|
|
@@ -7838,13 +7838,13 @@ function FE(r) {
|
|
|
7838
7838
|
name: t
|
|
7839
7839
|
},
|
|
7840
7840
|
type: Mi.BLUR
|
|
7841
|
-
}), [t, s._formValues]), E = Ne.useCallback((
|
|
7841
|
+
}), [t, s._formValues]), E = Ne.useCallback((S) => {
|
|
7842
7842
|
const R = ue(s._fields, t);
|
|
7843
|
-
R && R._f &&
|
|
7844
|
-
focus: () => ln(
|
|
7845
|
-
select: () => ln(
|
|
7846
|
-
setCustomValidity: (Y) => ln(
|
|
7847
|
-
reportValidity: () => ln(
|
|
7843
|
+
R && R._f && S && (R._f.ref = {
|
|
7844
|
+
focus: () => ln(S.focus) && S.focus(),
|
|
7845
|
+
select: () => ln(S.select) && S.select(),
|
|
7846
|
+
setCustomValidity: (Y) => ln(S.setCustomValidity) && S.setCustomValidity(Y),
|
|
7847
|
+
reportValidity: () => ln(S.reportValidity) && S.reportValidity()
|
|
7848
7848
|
});
|
|
7849
7849
|
}, [s._fields, t]), w = Ne.useMemo(() => oe(b({
|
|
7850
7850
|
name: t,
|
|
@@ -7855,18 +7855,18 @@ function FE(r) {
|
|
|
7855
7855
|
ref: E
|
|
7856
7856
|
}), [t, o, p.disabled, m, T, E, M]);
|
|
7857
7857
|
return Ne.useEffect(() => {
|
|
7858
|
-
const
|
|
7858
|
+
const S = s._options.shouldUnregister || a, R = y.current;
|
|
7859
7859
|
R && R !== t && !c && s.unregister(R), s.register(t, b(b({}, h.current.rules), bn(h.current.disabled) ? { disabled: h.current.disabled } : {}));
|
|
7860
7860
|
const Y = ($, Z) => {
|
|
7861
7861
|
const le = ue(s._fields, $);
|
|
7862
7862
|
le && le._f && (le._f.mount = Z);
|
|
7863
7863
|
};
|
|
7864
|
-
if (Y(t, !0),
|
|
7864
|
+
if (Y(t, !0), S) {
|
|
7865
7865
|
const $ = jt(ue(s._options.defaultValues, t, h.current.defaultValue));
|
|
7866
7866
|
lt(s._defaultValues, t, $), gt(ue(s._formValues, t)) && lt(s._formValues, t, $);
|
|
7867
7867
|
}
|
|
7868
7868
|
return !c && s.register(t), y.current = t, () => {
|
|
7869
|
-
(c ?
|
|
7869
|
+
(c ? S && !s._state.action : S) ? s.unregister(t) : Y(t, !1);
|
|
7870
7870
|
};
|
|
7871
7871
|
}, [t, s, c, a]), Ne.useEffect(() => {
|
|
7872
7872
|
s._setDisabledField({
|
|
@@ -8087,7 +8087,7 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
|
|
|
8087
8087
|
const { ref: l, refs: d, required: c, maxLength: g, minLength: M, min: p, max: h, pattern: y, validate: D, name: N, valueAsNumber: m, mount: T } = r._f, E = ue(t, N);
|
|
8088
8088
|
if (!T || e.has(N))
|
|
8089
8089
|
return {};
|
|
8090
|
-
const w = d ? d[0] : l,
|
|
8090
|
+
const w = d ? d[0] : l, S = (ne) => {
|
|
8091
8091
|
s && w.reportValidity && (w.setCustomValidity(bn(ne) ? "" : ne || ""), w.reportValidity());
|
|
8092
8092
|
}, R = {}, Y = Od(l), $ = Ia(l), Z = Y || $, le = (m || Sd(l)) && gt(l.value) && gt(E) || ku(l) && l.value === "" || E === "" || Array.isArray(E) && !E.length, q = YE.bind(null, N, o, R), De = (ne, Ae, Ie, me = ir.maxLength, Se = ir.minLength) => {
|
|
8093
8093
|
const ke = ne ? Ae : Ie;
|
|
@@ -8104,7 +8104,7 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
|
|
|
8104
8104
|
message: Ae,
|
|
8105
8105
|
ref: w
|
|
8106
8106
|
}, q(ir.required, Ae)), !o))
|
|
8107
|
-
return
|
|
8107
|
+
return S(Ae), R;
|
|
8108
8108
|
}
|
|
8109
8109
|
if (!le && (!Dn(p) || !Dn(h))) {
|
|
8110
8110
|
let ne, Ae;
|
|
@@ -8113,16 +8113,16 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
|
|
|
8113
8113
|
const Se = l.valueAsNumber || E && +E;
|
|
8114
8114
|
Dn(Ie.value) || (ne = Se > Ie.value), Dn(me.value) || (Ae = Se < me.value);
|
|
8115
8115
|
} else {
|
|
8116
|
-
const Se = l.valueAsDate || new Date(E), ke = (
|
|
8116
|
+
const Se = l.valueAsDate || new Date(E), ke = (Ee) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ee), Ce = l.type == "time", ce = l.type == "week";
|
|
8117
8117
|
cn(Ie.value) && E && (ne = Ce ? ke(E) > ke(Ie.value) : ce ? E > Ie.value : Se > new Date(Ie.value)), cn(me.value) && E && (Ae = Ce ? ke(E) < ke(me.value) : ce ? E < me.value : Se < new Date(me.value));
|
|
8118
8118
|
}
|
|
8119
8119
|
if ((ne || Ae) && (De(!!ne, Ie.message, me.message, ir.max, ir.min), !o))
|
|
8120
|
-
return
|
|
8120
|
+
return S(R[N].message), R;
|
|
8121
8121
|
}
|
|
8122
8122
|
if ((g || M) && !le && (cn(E) || a && Array.isArray(E))) {
|
|
8123
8123
|
const ne = $o(g), Ae = $o(M), Ie = !Dn(ne.value) && E.length > +ne.value, me = !Dn(Ae.value) && E.length < +Ae.value;
|
|
8124
8124
|
if ((Ie || me) && (De(Ie, ne.message, Ae.message), !o))
|
|
8125
|
-
return
|
|
8125
|
+
return S(R[N].message), R;
|
|
8126
8126
|
}
|
|
8127
8127
|
if (y && !le && cn(E)) {
|
|
8128
8128
|
const { value: ne, message: Ae } = $o(y);
|
|
@@ -8131,20 +8131,20 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
|
|
|
8131
8131
|
message: Ae,
|
|
8132
8132
|
ref: l
|
|
8133
8133
|
}, q(ir.pattern, Ae)), !o))
|
|
8134
|
-
return
|
|
8134
|
+
return S(Ae), R;
|
|
8135
8135
|
}
|
|
8136
8136
|
if (D) {
|
|
8137
8137
|
if (ln(D)) {
|
|
8138
8138
|
const ne = yield D(E, t), Ae = Yh(ne, w);
|
|
8139
8139
|
if (Ae && (R[N] = b(b({}, Ae), q(ir.validate, Ae.message)), !o))
|
|
8140
|
-
return
|
|
8140
|
+
return S(Ae.message), R;
|
|
8141
8141
|
} else if (wt(D)) {
|
|
8142
8142
|
let ne = {};
|
|
8143
8143
|
for (const Ae in D) {
|
|
8144
8144
|
if (!un(ne) && !o)
|
|
8145
8145
|
break;
|
|
8146
8146
|
const Ie = Yh(yield D[Ae](E, t), w, Ae);
|
|
8147
|
-
Ie && (ne = b(b({}, Ie), q(Ae, Ie.message)),
|
|
8147
|
+
Ie && (ne = b(b({}, Ie), q(Ae, Ie.message)), S(Ie.message), o && (R[N] = ne));
|
|
8148
8148
|
}
|
|
8149
8149
|
if (!un(ne) && (R[N] = b({
|
|
8150
8150
|
ref: w
|
|
@@ -8152,7 +8152,7 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
|
|
|
8152
8152
|
return R;
|
|
8153
8153
|
}
|
|
8154
8154
|
}
|
|
8155
|
-
return
|
|
8155
|
+
return S(!0), R;
|
|
8156
8156
|
});
|
|
8157
8157
|
const nv = {
|
|
8158
8158
|
mode: or.onSubmit,
|
|
@@ -8247,7 +8247,7 @@ function rv(r = {}) {
|
|
|
8247
8247
|
});
|
|
8248
8248
|
} else
|
|
8249
8249
|
lt(a, j, k);
|
|
8250
|
-
},
|
|
8250
|
+
}, S = (j, k) => {
|
|
8251
8251
|
lt(t.errors, j, k), y.state.next({
|
|
8252
8252
|
errors: t.errors
|
|
8253
8253
|
});
|
|
@@ -8282,7 +8282,7 @@ function rv(r = {}) {
|
|
|
8282
8282
|
return J ? Le : {};
|
|
8283
8283
|
}, Z = (j, k, Q, ee) => {
|
|
8284
8284
|
const te = ue(t.errors, j), J = (p.isValid || h.isValid) && bn(k) && t.isValid !== k;
|
|
8285
|
-
if (e.delayError && Q ? (c = N(() =>
|
|
8285
|
+
if (e.delayError && Q ? (c = N(() => S(j, Q)), c(e.delayError)) : (clearTimeout(g), c = null, Q ? lt(t.errors, j, Q) : xt(t.errors, j)), (Q ? !sr(te, Q) : te) || !un(ee) || J) {
|
|
8286
8286
|
const ie = oe(b(b({}, ee), J && bn(k) ? { isValid: k } : {}), {
|
|
8287
8287
|
errors: t.errors,
|
|
8288
8288
|
name: j
|
|
@@ -8334,12 +8334,12 @@ function rv(r = {}) {
|
|
|
8334
8334
|
for (const Le in j) {
|
|
8335
8335
|
const re = j[Le];
|
|
8336
8336
|
if (re) {
|
|
8337
|
-
const ie = re, { _f:
|
|
8338
|
-
if (
|
|
8339
|
-
const Ue = d.array.has(
|
|
8340
|
-
pt && p.validatingFields && T([
|
|
8337
|
+
const ie = re, { _f: ge } = ie, pe = ci(ie, ["_f"]);
|
|
8338
|
+
if (ge) {
|
|
8339
|
+
const Ue = d.array.has(ge.name), pt = re._f && ZE(re._f);
|
|
8340
|
+
pt && p.validatingFields && T([ge.name], !0);
|
|
8341
8341
|
const tt = yield Bh(re, d.disabled, a, D, e.shouldUseNativeValidation && !k, Ue);
|
|
8342
|
-
if (pt && p.validatingFields && T([
|
|
8342
|
+
if (pt && p.validatingFields && T([ge.name]), tt[ge.name] && (te.valid = !1, k) || (!k && (ue(tt, ge.name) ? Ue ? tv(t.errors, tt, ge.name) : lt(t.errors, ge.name, tt[ge.name]) : xt(t.errors, ge.name)), r.shouldUseNativeValidation && tt[ge.name]))
|
|
8343
8343
|
break;
|
|
8344
8344
|
}
|
|
8345
8345
|
!un(pe) && (yield ne({
|
|
@@ -8394,7 +8394,7 @@ function rv(r = {}) {
|
|
|
8394
8394
|
name: l.mount ? j : void 0,
|
|
8395
8395
|
values: jt(a)
|
|
8396
8396
|
});
|
|
8397
|
-
},
|
|
8397
|
+
}, Ee = (j) => X(null, null, function* () {
|
|
8398
8398
|
l.mount = !0;
|
|
8399
8399
|
const k = j.target;
|
|
8400
8400
|
let Q = k.name, ee = !0;
|
|
@@ -8402,7 +8402,7 @@ function rv(r = {}) {
|
|
|
8402
8402
|
ee = Number.isNaN(re) || Vi(re) && isNaN(re.getTime()) || sr(re, ue(a, Q, re));
|
|
8403
8403
|
}, ie = Uh(e.mode), Le = Uh(e.reValidateMode);
|
|
8404
8404
|
if (te) {
|
|
8405
|
-
let re,
|
|
8405
|
+
let re, ge;
|
|
8406
8406
|
const pe = k.type ? kh(te._f) : ip(j), Ue = j.type === Mi.BLUR || j.type === Mi.FOCUS_OUT, pt = !KE(te._f) && !r.validate && !e.resolver && !ue(t.errors, Q) && !te._f.deps || qE(Ue, ue(t.touchedFields, Q), t.isSubmitted, Le, ie), tt = Fh(Q, d, Ue);
|
|
8407
8407
|
lt(a, Q, pe), Ue ? (!k || !k.readOnly) && (te._f.onBlur && te._f.onBlur(j), c && c(0)) : te._f.onChange && te._f.onChange(j);
|
|
8408
8408
|
const We = $(Q, pe, Ue), Oe = !un(We) || tt;
|
|
@@ -8419,16 +8419,16 @@ function rv(r = {}) {
|
|
|
8419
8419
|
const { errors: Ot } = yield le([Q]);
|
|
8420
8420
|
if (T([Q]), J(pe), ee) {
|
|
8421
8421
|
const kn = Qh(t.errors, o, Q), Un = Qh(Ot, o, kn.name || Q);
|
|
8422
|
-
re = Un.error, Q = Un.name,
|
|
8422
|
+
re = Un.error, Q = Un.name, ge = un(Ot);
|
|
8423
8423
|
}
|
|
8424
8424
|
} else
|
|
8425
|
-
T([Q], !0), re = (yield Bh(te, d.disabled, a, D, e.shouldUseNativeValidation))[Q], T([Q]), J(pe), ee && (re ?
|
|
8425
|
+
T([Q], !0), re = (yield Bh(te, d.disabled, a, D, e.shouldUseNativeValidation))[Q], T([Q]), J(pe), ee && (re ? ge = !1 : (p.isValid || h.isValid) && (ge = yield ne({
|
|
8426
8426
|
fields: o,
|
|
8427
8427
|
onlyCheckValid: !0,
|
|
8428
8428
|
name: Q,
|
|
8429
8429
|
eventType: j.type
|
|
8430
8430
|
})));
|
|
8431
|
-
ee && (te._f.deps && (!Array.isArray(te._f.deps) || te._f.deps.length > 0) && _e(te._f.deps), Z(Q,
|
|
8431
|
+
ee && (te._f.deps && (!Array.isArray(te._f.deps) || te._f.deps.length > 0) && _e(te._f.deps), Z(Q, ge, re, We));
|
|
8432
8432
|
}
|
|
8433
8433
|
}), ae = (j, k) => {
|
|
8434
8434
|
if (ue(t.errors, k) && j.focus)
|
|
@@ -8473,7 +8473,7 @@ function rv(r = {}) {
|
|
|
8473
8473
|
errors: {}
|
|
8474
8474
|
});
|
|
8475
8475
|
}, Ye = (j, k, Q) => {
|
|
8476
|
-
const ee = (ue(o, j, { _f: {} })._f || {}).ref,
|
|
8476
|
+
const ee = (ue(o, j, { _f: {} })._f || {}).ref, ge = ue(t.errors, j) || {}, { ref: J, message: ie, type: Le } = ge, re = ci(ge, ["ref", "message", "type"]);
|
|
8477
8477
|
lt(t.errors, j, oe(b(b({}, re), k), {
|
|
8478
8478
|
ref: ee
|
|
8479
8479
|
})), y.state.next({
|
|
@@ -8524,13 +8524,13 @@ function rv(r = {}) {
|
|
|
8524
8524
|
pattern: Fs(k.pattern)
|
|
8525
8525
|
} : {}), {
|
|
8526
8526
|
name: j,
|
|
8527
|
-
onChange:
|
|
8528
|
-
onBlur:
|
|
8527
|
+
onChange: Ee,
|
|
8528
|
+
onBlur: Ee,
|
|
8529
8529
|
ref: (J) => {
|
|
8530
8530
|
if (J) {
|
|
8531
8531
|
d.registerName.add(j), Bt(j, k), d.registerName.delete(j), Q = ue(o, j);
|
|
8532
8532
|
const ie = gt(J.value) && J.querySelectorAll && J.querySelectorAll("input,select,textarea")[0] || J, Le = BE(ie), re = Q._f.refs || [];
|
|
8533
|
-
if (Le ? re.find((
|
|
8533
|
+
if (Le ? re.find((ge) => ge === ie) : ie === Q._f.ref)
|
|
8534
8534
|
return;
|
|
8535
8535
|
lt(o, j, {
|
|
8536
8536
|
_f: b(b({}, Q._f), Le ? {
|
|
@@ -8600,8 +8600,8 @@ function rv(r = {}) {
|
|
|
8600
8600
|
...Object.keys(Vs(s, a))
|
|
8601
8601
|
]);
|
|
8602
8602
|
for (const Le of Array.from(ie)) {
|
|
8603
|
-
const re = ue(t.dirtyFields, Le),
|
|
8604
|
-
re && !gt(
|
|
8603
|
+
const re = ue(t.dirtyFields, Le), ge = ue(a, Le), pe = ue(J, Le);
|
|
8604
|
+
re && !gt(ge) ? lt(J, Le, ge) : !re && !gt(pe) && ce(Le, pe);
|
|
8605
8605
|
}
|
|
8606
8606
|
} else {
|
|
8607
8607
|
if (_d && gt(j))
|
|
@@ -8610,9 +8610,9 @@ function rv(r = {}) {
|
|
|
8610
8610
|
if (Le && Le._f) {
|
|
8611
8611
|
const re = Array.isArray(Le._f.refs) ? Le._f.refs[0] : Le._f.ref;
|
|
8612
8612
|
if (ku(re)) {
|
|
8613
|
-
const
|
|
8614
|
-
if (
|
|
8615
|
-
|
|
8613
|
+
const ge = re.closest("form");
|
|
8614
|
+
if (ge) {
|
|
8615
|
+
ge.reset();
|
|
8616
8616
|
break;
|
|
8617
8617
|
}
|
|
8618
8618
|
}
|
|
@@ -8889,12 +8889,12 @@ const mi = (r, e) => {
|
|
|
8889
8889
|
controlLayout: M,
|
|
8890
8890
|
pickerLayout: p
|
|
8891
8891
|
}) => {
|
|
8892
|
-
var Ae, Ie, me, Se, ke, Ce, ce,
|
|
8893
|
-
const [h, y] = ht(!1), [D, N] = ht(s), [m, T] = ht("down"), [E, w] = ht(null),
|
|
8892
|
+
var Ae, Ie, me, Se, ke, Ce, ce, Ee;
|
|
8893
|
+
const [h, y] = ht(!1), [D, N] = ht(s), [m, T] = ht("down"), [E, w] = ht(null), S = ur(null), R = ur(null);
|
|
8894
8894
|
Di(() => {
|
|
8895
8895
|
var de, Ye, Pe;
|
|
8896
8896
|
if (!h) return;
|
|
8897
|
-
const ae = (de =
|
|
8897
|
+
const ae = (de = S.current) == null ? void 0 : de.getBoundingClientRect(), _e = (Ye = R.current) == null ? void 0 : Ye.getBoundingClientRect(), Ze = (Pe = g.current) == null ? void 0 : Pe.getBoundingClientRect();
|
|
8898
8898
|
if (!ae || !_e || !Ze) return;
|
|
8899
8899
|
const xe = ae.bottom + _e.height < Ze.bottom;
|
|
8900
8900
|
T(xe ? "down" : "up");
|
|
@@ -8916,7 +8916,7 @@ const mi = (r, e) => {
|
|
|
8916
8916
|
}, q = (ae) => {
|
|
8917
8917
|
ae.stopPropagation(), N([]);
|
|
8918
8918
|
}, De = (Ae = je(M == null ? void 0 : M.borderColor)) != null ? Ae : "#D9D9D9", ne = (Ie = je(M == null ? void 0 : M.highlightBorderColor)) != null ? Ie : "#7E57C5";
|
|
8919
|
-
return /* @__PURE__ */ v("div", { "data-ui": "gui-custom-select", ref:
|
|
8919
|
+
return /* @__PURE__ */ v("div", { "data-ui": "gui-custom-select", ref: S, children: /* @__PURE__ */ v(
|
|
8920
8920
|
"div",
|
|
8921
8921
|
{
|
|
8922
8922
|
"data-ui": "gui-select-name-" + r,
|
|
@@ -9067,7 +9067,7 @@ const mi = (r, e) => {
|
|
|
9067
9067
|
borderRadius: (Ce = p == null ? void 0 : p.cornerRadius) != null ? Ce : 8,
|
|
9068
9068
|
borderStyle: "solid",
|
|
9069
9069
|
borderColor: (ce = je(p == null ? void 0 : p.borderColor)) != null ? ce : "#D9D9D9",
|
|
9070
|
-
borderWidth: (
|
|
9070
|
+
borderWidth: (Ee = p == null ? void 0 : p.borderWidth) != null ? Ee : 1,
|
|
9071
9071
|
maxHeight: "500px",
|
|
9072
9072
|
overflow: "auto",
|
|
9073
9073
|
zIndex: 2,
|
|
@@ -9714,7 +9714,7 @@ const mi = (r, e) => {
|
|
|
9714
9714
|
dataSourceQuestion: e,
|
|
9715
9715
|
register: t
|
|
9716
9716
|
}) => {
|
|
9717
|
-
var a, l, d, c, g, M, p, h, y, D, N, m, T, E, w,
|
|
9717
|
+
var a, l, d, c, g, M, p, h, y, D, N, m, T, E, w, S;
|
|
9718
9718
|
const o = String(e.id), s = (R) => R ? R === Iu.EMAIL ? "email" : R === Iu.FREE_TEXT ? "text" : R === Iu.NUMBER ? "number" : R === Iu.SECURE ? "password" : "text" : "text";
|
|
9719
9719
|
return /* @__PURE__ */ v(
|
|
9720
9720
|
"div",
|
|
@@ -9748,7 +9748,7 @@ const mi = (r, e) => {
|
|
|
9748
9748
|
backgroundColor: (w = je((E = r == null ? void 0 : r.textField) == null ? void 0 : E.backgroundColor)) != null ? w : "#FFFFFF",
|
|
9749
9749
|
outlineColor: to
|
|
9750
9750
|
},
|
|
9751
|
-
placeholder: (
|
|
9751
|
+
placeholder: (S = e.placeholder) != null ? S : "",
|
|
9752
9752
|
"data-id": o
|
|
9753
9753
|
})
|
|
9754
9754
|
)
|
|
@@ -9833,18 +9833,18 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9833
9833
|
var w;
|
|
9834
9834
|
const c = ha.FORM, { perform: g } = Gr();
|
|
9835
9835
|
if (!a || (a == null ? void 0 : a.questions.length) === 0) {
|
|
9836
|
-
const
|
|
9836
|
+
const S = new Ni({
|
|
9837
9837
|
errorCode: Hi.DECODING_FAILED,
|
|
9838
9838
|
message: "No dataSource or no data for questions in the dataSource"
|
|
9839
9839
|
});
|
|
9840
|
-
return g(
|
|
9840
|
+
return g(S), null;
|
|
9841
9841
|
}
|
|
9842
9842
|
if (!(s != null && s.itemTypes) || Array.isArray(s == null ? void 0 : s.itemTypes) && ((w = s == null ? void 0 : s.itemTypes) == null ? void 0 : w.length) === 0) {
|
|
9843
|
-
const
|
|
9843
|
+
const S = new Ni({
|
|
9844
9844
|
errorCode: Hi.DECODING_FAILED,
|
|
9845
9845
|
message: "No questions in the itemTypes field or itemTypes is not an array"
|
|
9846
9846
|
});
|
|
9847
|
-
return g(
|
|
9847
|
+
return g(S), null;
|
|
9848
9848
|
}
|
|
9849
9849
|
const M = l ? DE(a.questions, l) : {}, p = ur(null), {
|
|
9850
9850
|
register: h,
|
|
@@ -9860,8 +9860,8 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9860
9860
|
return /* @__PURE__ */ v(Zr, { header: r, footer: o, backgroundColor: d, children: /* @__PURE__ */ v(
|
|
9861
9861
|
"form",
|
|
9862
9862
|
{
|
|
9863
|
-
onSubmit: y((
|
|
9864
|
-
g(yE(
|
|
9863
|
+
onSubmit: y((S) => {
|
|
9864
|
+
g(yE(S), c), N();
|
|
9865
9865
|
}),
|
|
9866
9866
|
style: {
|
|
9867
9867
|
height: "100%",
|
|
@@ -9899,13 +9899,13 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9899
9899
|
"data-ui": "gui-questions",
|
|
9900
9900
|
part: "gui-questions",
|
|
9901
9901
|
style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
|
|
9902
|
-
children: a.questions.map((
|
|
9902
|
+
children: a.questions.map((S) => {
|
|
9903
9903
|
var De;
|
|
9904
9904
|
const R = a.static, Y = (ne, Ae) => Ae.find((Ie) => {
|
|
9905
9905
|
var me;
|
|
9906
9906
|
if ((me = Ie.questionIds) != null && me.length)
|
|
9907
9907
|
return Ie.questionIds.find((Se) => ne === Se);
|
|
9908
|
-
}), $ = (ne, Ae) => Ae.find((Ie) => !Ie.questionIds && Ie.answerType === ne), Z = R ? Y(String(
|
|
9908
|
+
}), $ = (ne, Ae) => Ae.find((Ie) => !Ie.questionIds && Ie.answerType === ne), Z = R ? Y(String(S.id), s.itemTypes) || $(S.answerType, s.itemTypes) : s.itemTypes.find((ne) => ne.answerType === S.answerType);
|
|
9909
9909
|
if (!Z) {
|
|
9910
9910
|
const ne = new Ni({
|
|
9911
9911
|
errorCode: Hi.DECODING_FAILED,
|
|
@@ -9914,7 +9914,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9914
9914
|
g(ne);
|
|
9915
9915
|
return;
|
|
9916
9916
|
}
|
|
9917
|
-
const le = Z == null ? void 0 : Z.displayType, q =
|
|
9917
|
+
const le = Z == null ? void 0 : Z.displayType, q = S.id in D && ((De = D[S.id]) == null ? void 0 : De.types);
|
|
9918
9918
|
return (
|
|
9919
9919
|
/** Question */
|
|
9920
9920
|
/* @__PURE__ */ v(Qt, { children: [
|
|
@@ -9924,7 +9924,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9924
9924
|
backgroundColor: Z == null ? void 0 : Z.backgroundColor,
|
|
9925
9925
|
cornerRadius: Z == null ? void 0 : Z.cornerRadius,
|
|
9926
9926
|
isError: !!q,
|
|
9927
|
-
isRequired:
|
|
9927
|
+
isRequired: S.required,
|
|
9928
9928
|
validationBorderColor: Z == null ? void 0 : Z.validationBorderColor,
|
|
9929
9929
|
validationBorderWidth: Z == null ? void 0 : Z.validationBorderWidth,
|
|
9930
9930
|
children: [
|
|
@@ -9932,7 +9932,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9932
9932
|
Dv,
|
|
9933
9933
|
{
|
|
9934
9934
|
layout: Z,
|
|
9935
|
-
dataSourceQuestion:
|
|
9935
|
+
dataSourceQuestion: S,
|
|
9936
9936
|
register: h
|
|
9937
9937
|
}
|
|
9938
9938
|
),
|
|
@@ -9940,7 +9940,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9940
9940
|
Nv,
|
|
9941
9941
|
{
|
|
9942
9942
|
layout: Z,
|
|
9943
|
-
dataSourceQuestion:
|
|
9943
|
+
dataSourceQuestion: S,
|
|
9944
9944
|
register: h
|
|
9945
9945
|
}
|
|
9946
9946
|
),
|
|
@@ -9948,7 +9948,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9948
9948
|
hv,
|
|
9949
9949
|
{
|
|
9950
9950
|
layout: Z,
|
|
9951
|
-
dataSourceQuestion:
|
|
9951
|
+
dataSourceQuestion: S,
|
|
9952
9952
|
watch: m,
|
|
9953
9953
|
register: h
|
|
9954
9954
|
}
|
|
@@ -9957,7 +9957,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9957
9957
|
pv,
|
|
9958
9958
|
{
|
|
9959
9959
|
layout: Z,
|
|
9960
|
-
dataSourceQuestion:
|
|
9960
|
+
dataSourceQuestion: S,
|
|
9961
9961
|
watch: m,
|
|
9962
9962
|
register: h
|
|
9963
9963
|
}
|
|
@@ -9967,7 +9967,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9967
9967
|
{
|
|
9968
9968
|
control: T,
|
|
9969
9969
|
layout: Z,
|
|
9970
|
-
dataSourceQuestion:
|
|
9970
|
+
dataSourceQuestion: S,
|
|
9971
9971
|
parentElementRef: p
|
|
9972
9972
|
}
|
|
9973
9973
|
),
|
|
@@ -9976,7 +9976,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9976
9976
|
{
|
|
9977
9977
|
control: T,
|
|
9978
9978
|
layout: Z,
|
|
9979
|
-
dataSourceQuestion:
|
|
9979
|
+
dataSourceQuestion: S,
|
|
9980
9980
|
parentElementRef: p
|
|
9981
9981
|
}
|
|
9982
9982
|
),
|
|
@@ -9985,7 +9985,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9985
9985
|
{
|
|
9986
9986
|
control: T,
|
|
9987
9987
|
layout: Z,
|
|
9988
|
-
dataSourceQuestion:
|
|
9988
|
+
dataSourceQuestion: S
|
|
9989
9989
|
}
|
|
9990
9990
|
),
|
|
9991
9991
|
le === di.MULTI_SELECTOR_BUTTONS && /* @__PURE__ */ v(
|
|
@@ -9993,7 +9993,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
9993
9993
|
{
|
|
9994
9994
|
control: T,
|
|
9995
9995
|
layout: Z,
|
|
9996
|
-
dataSourceQuestion:
|
|
9996
|
+
dataSourceQuestion: S
|
|
9997
9997
|
}
|
|
9998
9998
|
)
|
|
9999
9999
|
]
|
|
@@ -10006,7 +10006,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10006
10006
|
title: Z.validationMessage
|
|
10007
10007
|
}
|
|
10008
10008
|
)
|
|
10009
|
-
] },
|
|
10009
|
+
] }, S.id)
|
|
10010
10010
|
);
|
|
10011
10011
|
})
|
|
10012
10012
|
}
|
|
@@ -10029,7 +10029,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10029
10029
|
alignItems: "flex-end",
|
|
10030
10030
|
padding: "2px"
|
|
10031
10031
|
},
|
|
10032
|
-
children: t.map((
|
|
10032
|
+
children: t.map((S, R) => /* @__PURE__ */ v(la, b({ dataTestId: "question-button" }, S), R))
|
|
10033
10033
|
}
|
|
10034
10034
|
)
|
|
10035
10035
|
]
|
|
@@ -10369,7 +10369,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10369
10369
|
enableHighAccuracy: !0,
|
|
10370
10370
|
timeout: typeof g == "number" && g > 0 ? g * 1e3 : 15e3,
|
|
10371
10371
|
maximumAge: 6e4
|
|
10372
|
-
},
|
|
10372
|
+
}, S = d == null ? void 0 : d.find((q) => q.reason === pE.SYSTEM_RESTRICTED);
|
|
10373
10373
|
Di(() => {
|
|
10374
10374
|
An.isSafari || c || h == null || h(!0);
|
|
10375
10375
|
}, []), zn(() => {
|
|
@@ -10459,7 +10459,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10459
10459
|
}
|
|
10460
10460
|
)
|
|
10461
10461
|
] }),
|
|
10462
|
-
|
|
10462
|
+
S && y && /* @__PURE__ */ v(
|
|
10463
10463
|
"div",
|
|
10464
10464
|
{
|
|
10465
10465
|
style: bv,
|
|
@@ -10470,17 +10470,17 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10470
10470
|
"div",
|
|
10471
10471
|
{
|
|
10472
10472
|
style: oe(b({}, kv), {
|
|
10473
|
-
borderRadius: (
|
|
10474
|
-
backgroundColor: (
|
|
10473
|
+
borderRadius: (S == null ? void 0 : S.cornerRadius) || "27px",
|
|
10474
|
+
backgroundColor: (S == null ? void 0 : S.backgroundColor) || "#ffffff"
|
|
10475
10475
|
}),
|
|
10476
10476
|
children: [
|
|
10477
|
-
/* @__PURE__ */ v("div", { style: Uv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "24px" },
|
|
10478
|
-
/* @__PURE__ */ v("div", { style: Pv, children: /* @__PURE__ */ v("div", { style: Fv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "17px" },
|
|
10479
|
-
|
|
10477
|
+
/* @__PURE__ */ v("div", { style: Uv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "24px" }, S.title))) }),
|
|
10478
|
+
/* @__PURE__ */ v("div", { style: Pv, children: /* @__PURE__ */ v("div", { style: Fv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "17px" }, S.message))) }) }),
|
|
10479
|
+
S.actionButton1 && /* @__PURE__ */ v("div", { style: Qv, children: /* @__PURE__ */ v(
|
|
10480
10480
|
la,
|
|
10481
10481
|
b(b({
|
|
10482
10482
|
dataTestId: "question-button"
|
|
10483
|
-
},
|
|
10483
|
+
}, S.actionButton1), S.actionButton1.type === "FORM" ? { onClick: $ } : {})
|
|
10484
10484
|
) })
|
|
10485
10485
|
]
|
|
10486
10486
|
}
|
|
@@ -10566,7 +10566,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10566
10566
|
backgroundColor: D
|
|
10567
10567
|
} = c, { perform: N } = Gr(), [m, T] = ht(!0), E = m && M, w = () => {
|
|
10568
10568
|
T(!1);
|
|
10569
|
-
},
|
|
10569
|
+
}, S = () => {
|
|
10570
10570
|
d((Z) => Z + 1);
|
|
10571
10571
|
}, R = () => {
|
|
10572
10572
|
const Z = JSON.parse(JSON.stringify(t));
|
|
@@ -10583,7 +10583,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10583
10583
|
display: "block"
|
|
10584
10584
|
}),
|
|
10585
10585
|
src: p,
|
|
10586
|
-
onError:
|
|
10586
|
+
onError: S
|
|
10587
10587
|
}
|
|
10588
10588
|
)), g) {
|
|
10589
10589
|
const Z = g in ua ? g : "default";
|
|
@@ -10619,7 +10619,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
|
|
|
10619
10619
|
}),
|
|
10620
10620
|
src: M,
|
|
10621
10621
|
onLoad: w,
|
|
10622
|
-
onError:
|
|
10622
|
+
onError: S
|
|
10623
10623
|
}
|
|
10624
10624
|
)
|
|
10625
10625
|
] })), /* @__PURE__ */ v(
|
|
@@ -10944,9 +10944,9 @@ var Xi;
|
|
|
10944
10944
|
throw new RangeError("Invalid value");
|
|
10945
10945
|
let D, N;
|
|
10946
10946
|
for (D = M; ; D++) {
|
|
10947
|
-
const w = Xe.getNumDataCodewords(D, g) * 8,
|
|
10948
|
-
if (
|
|
10949
|
-
N =
|
|
10947
|
+
const w = Xe.getNumDataCodewords(D, g) * 8, S = l.getTotalBits(c, D);
|
|
10948
|
+
if (S <= w) {
|
|
10949
|
+
N = S;
|
|
10950
10950
|
break;
|
|
10951
10951
|
}
|
|
10952
10952
|
if (D >= p)
|
|
@@ -10957,8 +10957,8 @@ var Xi;
|
|
|
10957
10957
|
let m = [];
|
|
10958
10958
|
for (const w of c) {
|
|
10959
10959
|
t(w.mode.modeBits, 4, m), t(w.numChars, w.mode.numCharCountBits(D), m);
|
|
10960
|
-
for (const
|
|
10961
|
-
m.push(
|
|
10960
|
+
for (const S of w.getData())
|
|
10961
|
+
m.push(S);
|
|
10962
10962
|
}
|
|
10963
10963
|
s(m.length == N);
|
|
10964
10964
|
const T = Xe.getNumDataCodewords(D, g) * 8;
|
|
@@ -10968,7 +10968,7 @@ var Xi;
|
|
|
10968
10968
|
let E = [];
|
|
10969
10969
|
for (; E.length * 8 < m.length; )
|
|
10970
10970
|
E.push(0);
|
|
10971
|
-
return m.forEach((w,
|
|
10971
|
+
return m.forEach((w, S) => E[S >>> 3] |= w << 7 - (S & 7)), new Xe(D, g, E, h);
|
|
10972
10972
|
}
|
|
10973
10973
|
/*-- Accessor methods --*/
|
|
10974
10974
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -11059,16 +11059,16 @@ var Xi;
|
|
|
11059
11059
|
const p = Xe.NUM_ERROR_CORRECTION_BLOCKS[M.ordinal][g], h = Xe.ECC_CODEWORDS_PER_BLOCK[M.ordinal][g], y = Math.floor(Xe.getNumRawDataModules(g) / 8), D = p - y % p, N = Math.floor(y / p);
|
|
11060
11060
|
let m = [];
|
|
11061
11061
|
const T = Xe.reedSolomonComputeDivisor(h);
|
|
11062
|
-
for (let w = 0,
|
|
11063
|
-
let R = c.slice(
|
|
11064
|
-
|
|
11062
|
+
for (let w = 0, S = 0; w < p; w++) {
|
|
11063
|
+
let R = c.slice(S, S + N - h + (w < D ? 0 : 1));
|
|
11064
|
+
S += R.length;
|
|
11065
11065
|
const Y = Xe.reedSolomonComputeRemainder(R, T);
|
|
11066
11066
|
w < D && R.push(0), m.push(R.concat(Y));
|
|
11067
11067
|
}
|
|
11068
11068
|
let E = [];
|
|
11069
11069
|
for (let w = 0; w < m[0].length; w++)
|
|
11070
|
-
m.forEach((
|
|
11071
|
-
(w != N - h || R >= D) && E.push(
|
|
11070
|
+
m.forEach((S, R) => {
|
|
11071
|
+
(w != N - h || R >= D) && E.push(S[w]);
|
|
11072
11072
|
});
|
|
11073
11073
|
return s(E.length == y), E;
|
|
11074
11074
|
}
|
|
@@ -11538,7 +11538,7 @@ var ow = (function() {
|
|
|
11538
11538
|
"boostLevel",
|
|
11539
11539
|
"marginSize",
|
|
11540
11540
|
"imageSettings"
|
|
11541
|
-
]), { style: m } = N, T = Kc(N, ["style"]), E = y == null ? void 0 : y.src, w = Ne.useRef(null),
|
|
11541
|
+
]), { style: m } = N, T = Kc(N, ["style"]), E = y == null ? void 0 : y.src, w = Ne.useRef(null), S = Ne.useRef(null), R = Ne.useCallback(
|
|
11542
11542
|
(Ie) => {
|
|
11543
11543
|
w.current = Ie, typeof t == "function" ? t(Ie) : t && (t.current = Ie);
|
|
11544
11544
|
},
|
|
@@ -11559,15 +11559,15 @@ var ow = (function() {
|
|
|
11559
11559
|
if (!me)
|
|
11560
11560
|
return;
|
|
11561
11561
|
let Se = le;
|
|
11562
|
-
const ke =
|
|
11562
|
+
const ke = S.current, Ce = De != null && ke !== null && ke.complete && ke.naturalHeight !== 0 && ke.naturalWidth !== 0;
|
|
11563
11563
|
Ce && De.excavation != null && (Se = Sp(
|
|
11564
11564
|
le,
|
|
11565
11565
|
De.excavation
|
|
11566
11566
|
));
|
|
11567
11567
|
const ce = window.devicePixelRatio || 1;
|
|
11568
11568
|
Ie.height = Ie.width = a * ce;
|
|
11569
|
-
const
|
|
11570
|
-
me.scale(
|
|
11569
|
+
const Ee = a / q * ce;
|
|
11570
|
+
me.scale(Ee, Ee), me.fillStyle = d, me.fillRect(0, 0, q, q), me.fillStyle = c, ow ? me.fill(new Path2D(wp(Se, Z))) : le.forEach(function(ae, _e) {
|
|
11571
11571
|
ae.forEach(function(Ze, xe) {
|
|
11572
11572
|
Ze && me.fillRect(xe + Z, _e + Z, 1, 1);
|
|
11573
11573
|
});
|
|
@@ -11593,7 +11593,7 @@ var ow = (function() {
|
|
|
11593
11593
|
onLoad: () => {
|
|
11594
11594
|
$(!0);
|
|
11595
11595
|
},
|
|
11596
|
-
ref:
|
|
11596
|
+
ref: S,
|
|
11597
11597
|
crossOrigin: De == null ? void 0 : De.crossOrigin
|
|
11598
11598
|
}
|
|
11599
11599
|
)), /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, /* @__PURE__ */ Ne.createElement(
|
|
@@ -11645,8 +11645,8 @@ var Cp = Ne.forwardRef(
|
|
|
11645
11645
|
imageSettings: D,
|
|
11646
11646
|
size: a
|
|
11647
11647
|
});
|
|
11648
|
-
let
|
|
11649
|
-
D != null && w != null && (w.excavation != null && (
|
|
11648
|
+
let S = T, R = null;
|
|
11649
|
+
D != null && w != null && (w.excavation != null && (S = Sp(
|
|
11650
11650
|
T,
|
|
11651
11651
|
w.excavation
|
|
11652
11652
|
)), R = /* @__PURE__ */ Ne.createElement(
|
|
@@ -11662,7 +11662,7 @@ var Cp = Ne.forwardRef(
|
|
|
11662
11662
|
crossOrigin: w.crossOrigin
|
|
11663
11663
|
}
|
|
11664
11664
|
));
|
|
11665
|
-
const Y = wp(
|
|
11665
|
+
const Y = wp(S, m);
|
|
11666
11666
|
return /* @__PURE__ */ Ne.createElement(
|
|
11667
11667
|
"svg",
|
|
11668
11668
|
Zc({
|
|
@@ -12102,12 +12102,12 @@ var yw = function(r) {
|
|
|
12102
12102
|
t[o.propertyName] || (t[o.propertyName] = []), t[o.propertyName].push(o);
|
|
12103
12103
|
}), t;
|
|
12104
12104
|
}, r.prototype.getTargetValidationMetadatas = function(e, t, o, s, a) {
|
|
12105
|
-
var l, d, c = function(
|
|
12106
|
-
return typeof
|
|
12107
|
-
}, g = function(
|
|
12108
|
-
return !!(s && (!a || !a.length) &&
|
|
12109
|
-
}, M = this.validationMetadatas.get(e) || [], p = M.filter(function(
|
|
12110
|
-
return
|
|
12105
|
+
var l, d, c = function(S) {
|
|
12106
|
+
return typeof S.always != "undefined" ? S.always : S.groups && S.groups.length ? !1 : o;
|
|
12107
|
+
}, g = function(S) {
|
|
12108
|
+
return !!(s && (!a || !a.length) && S.groups && S.groups.length);
|
|
12109
|
+
}, M = this.validationMetadatas.get(e) || [], p = M.filter(function(S) {
|
|
12110
|
+
return S.target !== e && S.target !== t ? !1 : c(S) ? !0 : g(S) ? !1 : a && a.length > 0 ? S.groups && !!S.groups.find(function(R) {
|
|
12111
12111
|
return a.indexOf(R) !== -1;
|
|
12112
12112
|
}) : !0;
|
|
12113
12113
|
}), h = [];
|
|
@@ -12116,8 +12116,8 @@ var yw = function(r) {
|
|
|
12116
12116
|
var N = Vh(D.value, 2), m = N[0], T = N[1];
|
|
12117
12117
|
e.prototype instanceof m && h.push.apply(h, Nw([], Vh(T), !1));
|
|
12118
12118
|
}
|
|
12119
|
-
} catch (
|
|
12120
|
-
l = { error:
|
|
12119
|
+
} catch (S) {
|
|
12120
|
+
l = { error: S };
|
|
12121
12121
|
} finally {
|
|
12122
12122
|
try {
|
|
12123
12123
|
D && !D.done && (d = y.return) && d.call(y);
|
|
@@ -12125,13 +12125,13 @@ var yw = function(r) {
|
|
|
12125
12125
|
if (l) throw l.error;
|
|
12126
12126
|
}
|
|
12127
12127
|
}
|
|
12128
|
-
var E = h.filter(function(
|
|
12129
|
-
return typeof
|
|
12128
|
+
var E = h.filter(function(S) {
|
|
12129
|
+
return typeof S.target == "string" || S.target === e || S.target instanceof Function && !(e.prototype instanceof S.target) ? !1 : c(S) ? !0 : g(S) ? !1 : a && a.length > 0 ? S.groups && !!S.groups.find(function(R) {
|
|
12130
12130
|
return a.indexOf(R) !== -1;
|
|
12131
12131
|
}) : !0;
|
|
12132
|
-
}), w = E.filter(function(
|
|
12132
|
+
}), w = E.filter(function(S) {
|
|
12133
12133
|
return !p.find(function(R) {
|
|
12134
|
-
return R.propertyName ===
|
|
12134
|
+
return R.propertyName === S.propertyName && R.type === S.type;
|
|
12135
12135
|
});
|
|
12136
12136
|
});
|
|
12137
12137
|
return p.concat(w);
|
|
@@ -12336,7 +12336,7 @@ var Aw = (
|
|
|
12336
12336
|
return R;
|
|
12337
12337
|
});
|
|
12338
12338
|
if (!w) {
|
|
12339
|
-
var
|
|
12339
|
+
var S = Ys(a.createValidationError(e, t, l, d), 2), h = S[0], y = S[1];
|
|
12340
12340
|
s.constraints[h] = y;
|
|
12341
12341
|
}
|
|
12342
12342
|
}
|
|
@@ -12969,7 +12969,7 @@ var Ho = (
|
|
|
12969
12969
|
w = o.options.discriminator.subTypes.find(function($) {
|
|
12970
12970
|
return $.name === m[o.options.discriminator.property];
|
|
12971
12971
|
});
|
|
12972
|
-
var
|
|
12972
|
+
var S = { newObject: c, object: m, property: void 0 }, R = o.typeFunction(S);
|
|
12973
12973
|
w === void 0 ? w = R : w = w.value, o.options.keepDiscriminatorProperty || delete m[o.options.discriminator.property];
|
|
12974
12974
|
}
|
|
12975
12975
|
d.transformationType === Ke.CLASS_TO_CLASS && (w = m.constructor), d.transformationType === Ke.CLASS_TO_PLAIN && (m[o.options.discriminator.property] = o.options.discriminator.subTypes.find(function($) {
|
|
@@ -13010,11 +13010,11 @@ var Ho = (
|
|
|
13010
13010
|
var T = m, E = m, w = m;
|
|
13011
13011
|
if (!h.options.ignoreDecorators && o) {
|
|
13012
13012
|
if (h.transformationType === Ke.PLAIN_TO_CLASS) {
|
|
13013
|
-
var
|
|
13014
|
-
|
|
13013
|
+
var S = yn.findExposeMetadataByCustomName(o, m);
|
|
13014
|
+
S && (w = S.propertyName, E = S.propertyName);
|
|
13015
13015
|
} else if (h.transformationType === Ke.CLASS_TO_PLAIN || h.transformationType === Ke.CLASS_TO_CLASS) {
|
|
13016
|
-
var
|
|
13017
|
-
|
|
13016
|
+
var S = yn.findExposeMetadata(o, m);
|
|
13017
|
+
S && S.options && S.options.name && (E = S.options.name);
|
|
13018
13018
|
}
|
|
13019
13019
|
}
|
|
13020
13020
|
var R = void 0;
|
|
@@ -13412,6 +13412,7 @@ const Zn = (Zi = class {
|
|
|
13412
13412
|
}
|
|
13413
13413
|
}, Zi.fromPlain = (e) => {
|
|
13414
13414
|
var a, l;
|
|
13415
|
+
if (!e) return { validationErrorMessage: "Session data is not defined" };
|
|
13415
13416
|
const t = oe(b({}, e), {
|
|
13416
13417
|
workflow: Hn(Rp, oe(b({}, e.workflow), {
|
|
13417
13418
|
steps: e.workflow.steps.map(
|
|
@@ -13504,8 +13505,8 @@ const cS = (r, e) => ({
|
|
|
13504
13505
|
underlyingBaseError: d
|
|
13505
13506
|
});
|
|
13506
13507
|
return we.logSessionEvent({
|
|
13507
|
-
module:
|
|
13508
|
-
logLevel:
|
|
13508
|
+
module: fe,
|
|
13509
|
+
logLevel: Te.ERROR,
|
|
13509
13510
|
message: "WebSocket connection issue"
|
|
13510
13511
|
}), { error: c };
|
|
13511
13512
|
}
|
|
@@ -13517,8 +13518,8 @@ const cS = (r, e) => ({
|
|
|
13517
13518
|
let g;
|
|
13518
13519
|
if (s)
|
|
13519
13520
|
we.logSessionEvent({
|
|
13520
|
-
module:
|
|
13521
|
-
logLevel:
|
|
13521
|
+
module: fe,
|
|
13522
|
+
logLevel: Te.DEBUG,
|
|
13522
13523
|
message: `Continue session with force session id: ${s}`
|
|
13523
13524
|
}), g = s;
|
|
13524
13525
|
else if (l) {
|
|
@@ -13526,8 +13527,8 @@ const cS = (r, e) => ({
|
|
|
13526
13527
|
const N = a.apiKey, m = Fi.getAuthTokenLs(), T = m && ((D = m[N]) == null ? void 0 : D.sessionId);
|
|
13527
13528
|
if (!T) return {};
|
|
13528
13529
|
T && (g = T), we.logSessionEvent({
|
|
13529
|
-
module:
|
|
13530
|
-
logLevel:
|
|
13530
|
+
module: fe,
|
|
13531
|
+
logLevel: Te.DEBUG,
|
|
13531
13532
|
message: `Continue session with api key: ${N}`
|
|
13532
13533
|
});
|
|
13533
13534
|
} else {
|
|
@@ -13537,8 +13538,8 @@ const cS = (r, e) => ({
|
|
|
13537
13538
|
const m = N.sessionId, T = N.workflowId;
|
|
13538
13539
|
if (!m || T !== d) return {};
|
|
13539
13540
|
g = m, we.logSessionEvent({
|
|
13540
|
-
module:
|
|
13541
|
-
logLevel:
|
|
13541
|
+
module: fe,
|
|
13542
|
+
logLevel: Te.DEBUG,
|
|
13542
13543
|
message: `Continue session with session id from LS: ${m}`
|
|
13543
13544
|
});
|
|
13544
13545
|
}
|
|
@@ -13554,8 +13555,8 @@ const cS = (r, e) => ({
|
|
|
13554
13555
|
underlyingBaseError: m
|
|
13555
13556
|
});
|
|
13556
13557
|
return we.logSessionEvent({
|
|
13557
|
-
module:
|
|
13558
|
-
logLevel:
|
|
13558
|
+
module: fe,
|
|
13559
|
+
logLevel: Te.ERROR,
|
|
13559
13560
|
message: `Continue session failed: ${N}`
|
|
13560
13561
|
}), { error: T };
|
|
13561
13562
|
}
|
|
@@ -13569,8 +13570,8 @@ const cS = (r, e) => ({
|
|
|
13569
13570
|
underlyingBaseError: N
|
|
13570
13571
|
});
|
|
13571
13572
|
return we.logSessionEvent({
|
|
13572
|
-
module:
|
|
13573
|
-
logLevel:
|
|
13573
|
+
module: fe,
|
|
13574
|
+
logLevel: Te.ERROR,
|
|
13574
13575
|
message: `Validate session data failed: ${p.validationErrorMessage}`
|
|
13575
13576
|
}), { error: m };
|
|
13576
13577
|
}
|
|
@@ -13584,13 +13585,13 @@ const cS = (r, e) => ({
|
|
|
13584
13585
|
nextStepId: h,
|
|
13585
13586
|
locale: p.locale
|
|
13586
13587
|
}), we.logSessionEvent({
|
|
13587
|
-
module:
|
|
13588
|
-
logLevel:
|
|
13588
|
+
module: fe,
|
|
13589
|
+
logLevel: Te.INFO,
|
|
13589
13590
|
message: `Successfully set next step: ${h}`
|
|
13590
13591
|
}), e().listener({
|
|
13591
13592
|
eventType: sa.MESSAGE,
|
|
13592
|
-
module:
|
|
13593
|
-
logLevel:
|
|
13593
|
+
module: fe,
|
|
13594
|
+
logLevel: Te.INFO,
|
|
13594
13595
|
message: c
|
|
13595
13596
|
}), p;
|
|
13596
13597
|
}),
|
|
@@ -13598,8 +13599,8 @@ const cS = (r, e) => ({
|
|
|
13598
13599
|
return X(this, null, function* () {
|
|
13599
13600
|
if (e()._isInitialized)
|
|
13600
13601
|
return we.logSessionEvent({
|
|
13601
|
-
module:
|
|
13602
|
-
logLevel:
|
|
13602
|
+
module: fe,
|
|
13603
|
+
logLevel: Te.DEBUG,
|
|
13603
13604
|
message: "Already initialized"
|
|
13604
13605
|
}), {};
|
|
13605
13606
|
if (e()._initializationInProgress)
|
|
@@ -13618,8 +13619,8 @@ const cS = (r, e) => ({
|
|
|
13618
13619
|
}
|
|
13619
13620
|
const a = yield e().loadModules(s);
|
|
13620
13621
|
return a.error ? { error: a.error } : (we.logSessionEvent({
|
|
13621
|
-
module:
|
|
13622
|
-
logLevel:
|
|
13622
|
+
module: fe,
|
|
13623
|
+
logLevel: Te.INFO,
|
|
13623
13624
|
message: `Successfully load modules: ${s.map((l) => l.displayName).join(", ")}`
|
|
13624
13625
|
}), r({ _initializationInProgress: !1, _isInitialized: !0 }), {});
|
|
13625
13626
|
});
|
|
@@ -13628,8 +13629,8 @@ const cS = (r, e) => ({
|
|
|
13628
13629
|
return X(this, null, function* () {
|
|
13629
13630
|
if (!e()._isInitialized)
|
|
13630
13631
|
return we.logSessionEvent({
|
|
13631
|
-
module:
|
|
13632
|
-
logLevel:
|
|
13632
|
+
module: fe,
|
|
13633
|
+
logLevel: Te.ERROR,
|
|
13633
13634
|
message: "Initialization required (configure by api key)"
|
|
13634
13635
|
}), {
|
|
13635
13636
|
error: new Gt({
|
|
@@ -13638,8 +13639,8 @@ const cS = (r, e) => ({
|
|
|
13638
13639
|
};
|
|
13639
13640
|
if (e().currentScreenConfig)
|
|
13640
13641
|
return we.logSessionEvent({
|
|
13641
|
-
module:
|
|
13642
|
-
logLevel:
|
|
13642
|
+
module: fe,
|
|
13643
|
+
logLevel: Te.ERROR,
|
|
13643
13644
|
message: "Scenario in progress (configure by api key)"
|
|
13644
13645
|
}), {
|
|
13645
13646
|
error: new Gt({
|
|
@@ -13649,8 +13650,8 @@ const cS = (r, e) => ({
|
|
|
13649
13650
|
const a = ["apiKey", "baseUrl"].filter((m) => !(o != null && o[m]));
|
|
13650
13651
|
if (a.length > 0)
|
|
13651
13652
|
return we.logSessionEvent({
|
|
13652
|
-
module:
|
|
13653
|
-
logLevel:
|
|
13653
|
+
module: fe,
|
|
13654
|
+
logLevel: Te.ERROR,
|
|
13654
13655
|
message: `Missing parameters: ${a.join(", ")}`
|
|
13655
13656
|
}), {
|
|
13656
13657
|
error: new Gt({
|
|
@@ -13661,8 +13662,8 @@ const cS = (r, e) => ({
|
|
|
13661
13662
|
const l = Sc(o.baseUrl);
|
|
13662
13663
|
if (!l)
|
|
13663
13664
|
return we.logSessionEvent({
|
|
13664
|
-
module:
|
|
13665
|
-
logLevel:
|
|
13665
|
+
module: fe,
|
|
13666
|
+
logLevel: Te.ERROR,
|
|
13666
13667
|
message: `Invalid URL: ${o.baseUrl}`
|
|
13667
13668
|
}), {
|
|
13668
13669
|
error: new Gt({
|
|
@@ -13687,20 +13688,20 @@ const cS = (r, e) => ({
|
|
|
13687
13688
|
underlyingBaseError: y.error
|
|
13688
13689
|
});
|
|
13689
13690
|
return we.logSessionEvent({
|
|
13690
|
-
module:
|
|
13691
|
-
logLevel:
|
|
13691
|
+
module: fe,
|
|
13692
|
+
logLevel: Te.ERROR,
|
|
13692
13693
|
message: "Connection issue by api key"
|
|
13693
13694
|
}), { error: m };
|
|
13694
13695
|
}
|
|
13695
13696
|
h && y.authToken !== h && (Fi.removeAuthTokenLs(o.apiKey), we.logSessionEvent({
|
|
13696
|
-
module:
|
|
13697
|
-
logLevel:
|
|
13697
|
+
module: fe,
|
|
13698
|
+
logLevel: Te.INFO,
|
|
13698
13699
|
message: "Removed old session from LS because new api token will not work with old session id"
|
|
13699
13700
|
}));
|
|
13700
13701
|
const D = p && y.authToken === p.authToken && p, N = D ? D.tokenExpiresAt : Date.now() + c * 1e3;
|
|
13701
13702
|
return we.logSessionEvent({
|
|
13702
|
-
module:
|
|
13703
|
-
logLevel:
|
|
13703
|
+
module: fe,
|
|
13704
|
+
logLevel: Te.INFO,
|
|
13704
13705
|
message: `Successfully configure by api key. Token expires at: ${N}`
|
|
13705
13706
|
}), e().setApiKeyAuthTokenCollection(o.apiKey, y.authToken, N), r({ _isConnectedToPlatform: !0 }), e().setStartConfig({
|
|
13706
13707
|
host: l.host,
|
|
@@ -13714,8 +13715,8 @@ const cS = (r, e) => ({
|
|
|
13714
13715
|
return X(this, null, function* () {
|
|
13715
13716
|
if (!e()._isInitialized)
|
|
13716
13717
|
return we.logSessionEvent({
|
|
13717
|
-
module:
|
|
13718
|
-
logLevel:
|
|
13718
|
+
module: fe,
|
|
13719
|
+
logLevel: Te.ERROR,
|
|
13719
13720
|
message: "Initialization required (configure by url)"
|
|
13720
13721
|
}), {
|
|
13721
13722
|
error: new Gt({
|
|
@@ -13724,8 +13725,8 @@ const cS = (r, e) => ({
|
|
|
13724
13725
|
};
|
|
13725
13726
|
if (e().currentScreenConfig)
|
|
13726
13727
|
return we.logSessionEvent({
|
|
13727
|
-
module:
|
|
13728
|
-
logLevel:
|
|
13728
|
+
module: fe,
|
|
13729
|
+
logLevel: Te.ERROR,
|
|
13729
13730
|
message: "Scenario in progress (configure by url)"
|
|
13730
13731
|
}), {
|
|
13731
13732
|
error: new Gt({
|
|
@@ -13737,8 +13738,8 @@ const cS = (r, e) => ({
|
|
|
13737
13738
|
const a = yield e().connectByUrl(o);
|
|
13738
13739
|
if (a.error)
|
|
13739
13740
|
return we.logSessionEvent({
|
|
13740
|
-
module:
|
|
13741
|
-
logLevel:
|
|
13741
|
+
module: fe,
|
|
13742
|
+
logLevel: Te.ERROR,
|
|
13742
13743
|
message: `Connection issue by url: ${a.error.message}`
|
|
13743
13744
|
}), {
|
|
13744
13745
|
error: new Gt({
|
|
@@ -13751,8 +13752,8 @@ const cS = (r, e) => ({
|
|
|
13751
13752
|
const l = Sc(o);
|
|
13752
13753
|
if (!l)
|
|
13753
13754
|
return we.logSessionEvent({
|
|
13754
|
-
module:
|
|
13755
|
-
logLevel:
|
|
13755
|
+
module: fe,
|
|
13756
|
+
logLevel: Te.ERROR,
|
|
13756
13757
|
message: `Invalid URL: ${o}`
|
|
13757
13758
|
}), {
|
|
13758
13759
|
error: new Gt({
|
|
@@ -13767,14 +13768,14 @@ const cS = (r, e) => ({
|
|
|
13767
13768
|
});
|
|
13768
13769
|
} catch (l) {
|
|
13769
13770
|
we.logSessionEvent({
|
|
13770
|
-
module:
|
|
13771
|
-
logLevel:
|
|
13771
|
+
module: fe,
|
|
13772
|
+
logLevel: Te.ERROR,
|
|
13772
13773
|
message: "Invalid urlWithToken"
|
|
13773
13774
|
});
|
|
13774
13775
|
}
|
|
13775
13776
|
return we.logSessionEvent({
|
|
13776
|
-
module:
|
|
13777
|
-
logLevel:
|
|
13777
|
+
module: fe,
|
|
13778
|
+
logLevel: Te.INFO,
|
|
13778
13779
|
message: `Successfully configure with url. URL: ${o}`
|
|
13779
13780
|
}), a;
|
|
13780
13781
|
});
|
|
@@ -13783,8 +13784,8 @@ const cS = (r, e) => ({
|
|
|
13783
13784
|
return X(this, null, function* () {
|
|
13784
13785
|
if (!e()._isInitialized)
|
|
13785
13786
|
return we.logSessionEvent({
|
|
13786
|
-
module:
|
|
13787
|
-
logLevel:
|
|
13787
|
+
module: fe,
|
|
13788
|
+
logLevel: Te.ERROR,
|
|
13788
13789
|
message: "Initialization required (configure by user pass)"
|
|
13789
13790
|
}), {
|
|
13790
13791
|
error: new Gt({
|
|
@@ -13793,8 +13794,8 @@ const cS = (r, e) => ({
|
|
|
13793
13794
|
};
|
|
13794
13795
|
if (e().currentScreenConfig)
|
|
13795
13796
|
return we.logSessionEvent({
|
|
13796
|
-
module:
|
|
13797
|
-
logLevel:
|
|
13797
|
+
module: fe,
|
|
13798
|
+
logLevel: Te.ERROR,
|
|
13798
13799
|
message: "Scenario in progress (configure by user pass)"
|
|
13799
13800
|
}), {
|
|
13800
13801
|
error: new Gt({
|
|
@@ -13804,8 +13805,8 @@ const cS = (r, e) => ({
|
|
|
13804
13805
|
const a = ["password", "userName", "baseUrl"].filter((g) => !(o != null && o[g]));
|
|
13805
13806
|
if (a.length > 0)
|
|
13806
13807
|
return we.logSessionEvent({
|
|
13807
|
-
module:
|
|
13808
|
-
logLevel:
|
|
13808
|
+
module: fe,
|
|
13809
|
+
logLevel: Te.ERROR,
|
|
13809
13810
|
message: `Missing parameters: ${a.join(", ")}`
|
|
13810
13811
|
}), {
|
|
13811
13812
|
error: new Gt({
|
|
@@ -13816,8 +13817,8 @@ const cS = (r, e) => ({
|
|
|
13816
13817
|
const l = Sc(o.baseUrl);
|
|
13817
13818
|
if (!l)
|
|
13818
13819
|
return we.logSessionEvent({
|
|
13819
|
-
module:
|
|
13820
|
-
logLevel:
|
|
13820
|
+
module: fe,
|
|
13821
|
+
logLevel: Te.ERROR,
|
|
13821
13822
|
message: `Invalid URL: ${o.baseUrl}`
|
|
13822
13823
|
}), {
|
|
13823
13824
|
error: new Gt({
|
|
@@ -13838,14 +13839,14 @@ const cS = (r, e) => ({
|
|
|
13838
13839
|
underlyingBaseError: c.error
|
|
13839
13840
|
});
|
|
13840
13841
|
return we.logSessionEvent({
|
|
13841
|
-
module:
|
|
13842
|
-
logLevel:
|
|
13842
|
+
module: fe,
|
|
13843
|
+
logLevel: Te.ERROR,
|
|
13843
13844
|
message: `Connection issue by user pass: ${c.error.message}`
|
|
13844
13845
|
}), { error: g };
|
|
13845
13846
|
}
|
|
13846
13847
|
return we.logSessionEvent({
|
|
13847
|
-
module:
|
|
13848
|
-
logLevel:
|
|
13848
|
+
module: fe,
|
|
13849
|
+
logLevel: Te.INFO,
|
|
13849
13850
|
message: "Successfully configure by user pass"
|
|
13850
13851
|
}), r({ _isConnectedToPlatform: !0 }), e().setStartConfig({
|
|
13851
13852
|
host: l.host,
|
|
@@ -13861,8 +13862,8 @@ const cS = (r, e) => ({
|
|
|
13861
13862
|
errorCode: Mr.INITIALIZATION_REQUIRED
|
|
13862
13863
|
});
|
|
13863
13864
|
return we.logSessionEvent({
|
|
13864
|
-
module:
|
|
13865
|
-
logLevel:
|
|
13865
|
+
module: fe,
|
|
13866
|
+
logLevel: Te.ERROR,
|
|
13866
13867
|
message: "Initialization required (get workflows)"
|
|
13867
13868
|
}), { error: a };
|
|
13868
13869
|
}
|
|
@@ -13871,8 +13872,8 @@ const cS = (r, e) => ({
|
|
|
13871
13872
|
errorCode: Mr.CONNECTION_ISSUE
|
|
13872
13873
|
});
|
|
13873
13874
|
return we.logSessionEvent({
|
|
13874
|
-
module:
|
|
13875
|
-
logLevel:
|
|
13875
|
+
module: fe,
|
|
13876
|
+
logLevel: Te.ERROR,
|
|
13876
13877
|
message: "Connection issue (get workflows)"
|
|
13877
13878
|
}), { error: a };
|
|
13878
13879
|
}
|
|
@@ -13884,8 +13885,8 @@ const cS = (r, e) => ({
|
|
|
13884
13885
|
underlyingBaseError: l
|
|
13885
13886
|
});
|
|
13886
13887
|
return we.logSessionEvent({
|
|
13887
|
-
module:
|
|
13888
|
-
logLevel:
|
|
13888
|
+
module: fe,
|
|
13889
|
+
logLevel: Te.ERROR,
|
|
13889
13890
|
message: "No workflow list"
|
|
13890
13891
|
}), { error: d };
|
|
13891
13892
|
}
|
|
@@ -13900,8 +13901,8 @@ const cS = (r, e) => ({
|
|
|
13900
13901
|
errorCode: Mr.INITIALIZATION_REQUIRED
|
|
13901
13902
|
});
|
|
13902
13903
|
return we.logSessionEvent({
|
|
13903
|
-
module:
|
|
13904
|
-
logLevel:
|
|
13904
|
+
module: fe,
|
|
13905
|
+
logLevel: Te.ERROR,
|
|
13905
13906
|
message: "Initialization required (prepare workflow and prepare ui)"
|
|
13906
13907
|
}), { error: D };
|
|
13907
13908
|
}
|
|
@@ -13910,8 +13911,8 @@ const cS = (r, e) => ({
|
|
|
13910
13911
|
errorCode: Mr.CONNECTION_ISSUE
|
|
13911
13912
|
});
|
|
13912
13913
|
return we.logSessionEvent({
|
|
13913
|
-
module:
|
|
13914
|
-
logLevel:
|
|
13914
|
+
module: fe,
|
|
13915
|
+
logLevel: Te.ERROR,
|
|
13915
13916
|
message: "Connection issue (prepare workflow and prepare ui)"
|
|
13916
13917
|
}), { error: D };
|
|
13917
13918
|
}
|
|
@@ -13920,8 +13921,8 @@ const cS = (r, e) => ({
|
|
|
13920
13921
|
errorCode: Mr.SCENARIO_IN_PROGRESS
|
|
13921
13922
|
});
|
|
13922
13923
|
return we.logSessionEvent({
|
|
13923
|
-
module:
|
|
13924
|
-
logLevel:
|
|
13924
|
+
module: fe,
|
|
13925
|
+
logLevel: Te.ERROR,
|
|
13925
13926
|
message: "Scenario in progress (prepare workflow and prepare ui)"
|
|
13926
13927
|
}), { error: D };
|
|
13927
13928
|
}
|
|
@@ -13936,8 +13937,8 @@ const cS = (r, e) => ({
|
|
|
13936
13937
|
underlyingBaseError: m
|
|
13937
13938
|
});
|
|
13938
13939
|
return we.logSessionEvent({
|
|
13939
|
-
module:
|
|
13940
|
-
logLevel:
|
|
13940
|
+
module: fe,
|
|
13941
|
+
logLevel: Te.ERROR,
|
|
13941
13942
|
message: `Workflow issue: ${N != null ? N : ""}`
|
|
13942
13943
|
}), { error: T };
|
|
13943
13944
|
}
|
|
@@ -13951,15 +13952,15 @@ const cS = (r, e) => ({
|
|
|
13951
13952
|
underlyingBaseError: D
|
|
13952
13953
|
});
|
|
13953
13954
|
return we.logSessionEvent({
|
|
13954
|
-
module:
|
|
13955
|
-
logLevel:
|
|
13955
|
+
module: fe,
|
|
13956
|
+
logLevel: Te.ERROR,
|
|
13956
13957
|
message: `Workflow decoding failed: ${l.validationErrorMessage}`
|
|
13957
13958
|
}), { error: N };
|
|
13958
13959
|
}
|
|
13959
13960
|
const d = e().externalModules, c = l.steps, { isAllTemplatesSupported: g, unsupportedSteps: M } = PT(d, c);
|
|
13960
13961
|
g || we.logSessionEvent({
|
|
13961
|
-
module:
|
|
13962
|
-
logLevel:
|
|
13962
|
+
module: fe,
|
|
13963
|
+
logLevel: Te.DEBUG,
|
|
13963
13964
|
message: `Warning. Unsupported steps found: ${M}`
|
|
13964
13965
|
});
|
|
13965
13966
|
const p = (y = e().workflow) == null ? void 0 : y.id;
|
|
@@ -13970,33 +13971,33 @@ const cS = (r, e) => ({
|
|
|
13970
13971
|
return d.forEach((D) => {
|
|
13971
13972
|
D.component.isReady() || D.component.initialize(h);
|
|
13972
13973
|
}), we.logSessionEvent({
|
|
13973
|
-
module:
|
|
13974
|
-
logLevel:
|
|
13974
|
+
module: fe,
|
|
13975
|
+
logLevel: Te.INFO,
|
|
13975
13976
|
message: `Successfully prepare workflow and prepare ui. Workflow id: ${o}`
|
|
13976
13977
|
}), e().setWorkflow(l), { workflow: l };
|
|
13977
13978
|
});
|
|
13978
13979
|
},
|
|
13979
13980
|
startNewSession(d) {
|
|
13980
13981
|
return X(this, arguments, function* ({ completion: o, locale: s, metadata: a, location: l }) {
|
|
13981
|
-
var
|
|
13982
|
+
var S;
|
|
13982
13983
|
if (we.clearSession(), !e()._isInitialized) {
|
|
13983
13984
|
const R = new Ft({
|
|
13984
13985
|
errorCode: Pt.INITIALIZATION_REQUIRED
|
|
13985
13986
|
});
|
|
13986
13987
|
return we.logSessionEvent({
|
|
13987
|
-
module:
|
|
13988
|
-
logLevel:
|
|
13988
|
+
module: fe,
|
|
13989
|
+
logLevel: Te.ERROR,
|
|
13989
13990
|
message: "Initialization required (start new session)"
|
|
13990
13991
|
}), { error: R };
|
|
13991
13992
|
}
|
|
13992
|
-
const c = (
|
|
13993
|
+
const c = (S = e().workflow) == null ? void 0 : S.id;
|
|
13993
13994
|
if (!c) {
|
|
13994
13995
|
const R = new Ft({
|
|
13995
13996
|
errorCode: Pt.PREPARED_REQUIRED
|
|
13996
13997
|
});
|
|
13997
13998
|
return we.logSessionEvent({
|
|
13998
|
-
module:
|
|
13999
|
-
logLevel:
|
|
13999
|
+
module: fe,
|
|
14000
|
+
logLevel: Te.ERROR,
|
|
14000
14001
|
message: "Prepared required (start new session)"
|
|
14001
14002
|
}), { error: R };
|
|
14002
14003
|
}
|
|
@@ -14005,8 +14006,8 @@ const cS = (r, e) => ({
|
|
|
14005
14006
|
errorCode: Pt.ALREADY_STARTED
|
|
14006
14007
|
});
|
|
14007
14008
|
return we.logSessionEvent({
|
|
14008
|
-
module:
|
|
14009
|
-
logLevel:
|
|
14009
|
+
module: fe,
|
|
14010
|
+
logLevel: Te.ERROR,
|
|
14010
14011
|
message: "Scenario in progress (start new session)"
|
|
14011
14012
|
}), {
|
|
14012
14013
|
error: R
|
|
@@ -14021,8 +14022,8 @@ const cS = (r, e) => ({
|
|
|
14021
14022
|
const R = h.tokenExpiresAt && typeof h.tokenExpiresAt == "number" ? h.tokenExpiresAt : 0;
|
|
14022
14023
|
if (Date.now() > R) {
|
|
14023
14024
|
we.logSessionEvent({
|
|
14024
|
-
module:
|
|
14025
|
-
logLevel:
|
|
14025
|
+
module: fe,
|
|
14026
|
+
logLevel: Te.DEBUG,
|
|
14026
14027
|
message: "API key TTL expired. Trying to connect by api key"
|
|
14027
14028
|
});
|
|
14028
14029
|
const $ = yield e().connectByApiKey({
|
|
@@ -14035,8 +14036,8 @@ const cS = (r, e) => ({
|
|
|
14035
14036
|
port: M.port
|
|
14036
14037
|
});
|
|
14037
14038
|
if (Fi.removeAuthTokenLs(M.apiKey), we.logSessionEvent({
|
|
14038
|
-
module:
|
|
14039
|
-
logLevel:
|
|
14039
|
+
module: fe,
|
|
14040
|
+
logLevel: Te.INFO,
|
|
14040
14041
|
message: "Removed old session from LS because new api token will not work with old session id"
|
|
14041
14042
|
}), $.error) {
|
|
14042
14043
|
const Z = new zr({
|
|
@@ -14044,8 +14045,8 @@ const cS = (r, e) => ({
|
|
|
14044
14045
|
underlyingBaseError: $.error
|
|
14045
14046
|
});
|
|
14046
14047
|
return we.logSessionEvent({
|
|
14047
|
-
module:
|
|
14048
|
-
logLevel:
|
|
14048
|
+
module: fe,
|
|
14049
|
+
logLevel: Te.ERROR,
|
|
14049
14050
|
message: "Connection issue by api key"
|
|
14050
14051
|
}), { error: Z };
|
|
14051
14052
|
}
|
|
@@ -14056,8 +14057,8 @@ const cS = (r, e) => ({
|
|
|
14056
14057
|
$.authToken,
|
|
14057
14058
|
Z
|
|
14058
14059
|
), we.logSessionEvent({
|
|
14059
|
-
module:
|
|
14060
|
-
logLevel:
|
|
14060
|
+
module: fe,
|
|
14061
|
+
logLevel: Te.INFO,
|
|
14061
14062
|
message: "Successfully connect by api key"
|
|
14062
14063
|
});
|
|
14063
14064
|
}
|
|
@@ -14073,28 +14074,28 @@ const cS = (r, e) => ({
|
|
|
14073
14074
|
underlyingBaseError: R
|
|
14074
14075
|
});
|
|
14075
14076
|
return we.logSessionEvent({
|
|
14076
|
-
module:
|
|
14077
|
-
logLevel:
|
|
14077
|
+
module: fe,
|
|
14078
|
+
logLevel: Te.ERROR,
|
|
14078
14079
|
message: "Token error"
|
|
14079
14080
|
}), { error: Y };
|
|
14080
14081
|
}
|
|
14081
14082
|
we.logSessionEvent({
|
|
14082
|
-
module:
|
|
14083
|
-
logLevel:
|
|
14083
|
+
module: fe,
|
|
14084
|
+
logLevel: Te.DEBUG,
|
|
14084
14085
|
message: "Successfully get service token"
|
|
14085
14086
|
}), e().setServiceSessionToken(y);
|
|
14086
14087
|
const D = yield e()._runSocketConnection(y);
|
|
14087
14088
|
if (D.error) return { error: D.error };
|
|
14088
14089
|
we.logSessionEvent({
|
|
14089
|
-
module:
|
|
14090
|
-
logLevel:
|
|
14090
|
+
module: fe,
|
|
14091
|
+
logLevel: Te.INFO,
|
|
14091
14092
|
message: "Successfully run socket connection "
|
|
14092
14093
|
});
|
|
14093
14094
|
const N = e()._sessionIdFromUrl, m = yield e()._continueSession(s, N);
|
|
14094
14095
|
if ("sessionId" in m)
|
|
14095
14096
|
return we.logSessionEvent({
|
|
14096
|
-
module:
|
|
14097
|
-
logLevel:
|
|
14097
|
+
module: fe,
|
|
14098
|
+
logLevel: Te.INFO,
|
|
14098
14099
|
message: "Successfully continue session"
|
|
14099
14100
|
}), { results: m };
|
|
14100
14101
|
if ("error" in m)
|
|
@@ -14114,8 +14115,8 @@ const cS = (r, e) => ({
|
|
|
14114
14115
|
underlyingBaseError: Y
|
|
14115
14116
|
});
|
|
14116
14117
|
return we.logSessionEvent({
|
|
14117
|
-
module:
|
|
14118
|
-
logLevel:
|
|
14118
|
+
module: fe,
|
|
14119
|
+
logLevel: Te.ERROR,
|
|
14119
14120
|
message: `Start session failed: ${R}`
|
|
14120
14121
|
}), { error: $ };
|
|
14121
14122
|
}
|
|
@@ -14129,20 +14130,20 @@ const cS = (r, e) => ({
|
|
|
14129
14130
|
underlyingBaseError: R
|
|
14130
14131
|
});
|
|
14131
14132
|
return we.logSessionEvent({
|
|
14132
|
-
module:
|
|
14133
|
-
logLevel:
|
|
14133
|
+
module: fe,
|
|
14134
|
+
logLevel: Te.ERROR,
|
|
14134
14135
|
message: `Validate session data failed: ${E.validationErrorMessage}`
|
|
14135
14136
|
}), { error: Y };
|
|
14136
14137
|
}
|
|
14137
14138
|
we.logSessionEvent({
|
|
14138
|
-
module:
|
|
14139
|
-
logLevel:
|
|
14139
|
+
module: fe,
|
|
14140
|
+
logLevel: Te.INFO,
|
|
14140
14141
|
message: "Successfully validate session data"
|
|
14141
14142
|
}), p ? e()._checkAndSetApiTokenToLs(E.id) : e().setCurrentSessionDataLsAndStore({ sessionId: E.id, workflowId: c });
|
|
14142
14143
|
const w = E.currentStep;
|
|
14143
14144
|
return e().setCurrentStepId(w), we.logSessionEvent({
|
|
14144
|
-
module:
|
|
14145
|
-
logLevel:
|
|
14145
|
+
module: fe,
|
|
14146
|
+
logLevel: Te.INFO,
|
|
14146
14147
|
message: `Running step ${w}`
|
|
14147
14148
|
}), yield e().setNextStep({
|
|
14148
14149
|
workflow: E.workflow,
|
|
@@ -14151,8 +14152,8 @@ const cS = (r, e) => ({
|
|
|
14151
14152
|
locale: E.locale
|
|
14152
14153
|
}), e().listener({
|
|
14153
14154
|
eventType: sa.MESSAGE,
|
|
14154
|
-
module:
|
|
14155
|
-
logLevel:
|
|
14155
|
+
module: fe,
|
|
14156
|
+
logLevel: Te.INFO,
|
|
14156
14157
|
message: Dd.DID_START_SESSION
|
|
14157
14158
|
}), {};
|
|
14158
14159
|
});
|
|
@@ -14189,8 +14190,8 @@ function dS(r, e, t) {
|
|
|
14189
14190
|
if (g !== 200)
|
|
14190
14191
|
return we.logSessionEvent(
|
|
14191
14192
|
{
|
|
14192
|
-
logLevel:
|
|
14193
|
-
module:
|
|
14193
|
+
logLevel: Te.ERROR,
|
|
14194
|
+
module: fe,
|
|
14194
14195
|
message: JSON.stringify(M)
|
|
14195
14196
|
},
|
|
14196
14197
|
p
|
|
@@ -14200,8 +14201,8 @@ function dS(r, e, t) {
|
|
|
14200
14201
|
response: h
|
|
14201
14202
|
}), we.logSessionEvent(
|
|
14202
14203
|
{
|
|
14203
|
-
logLevel:
|
|
14204
|
-
module:
|
|
14204
|
+
logLevel: Te.DEBUG,
|
|
14205
|
+
module: fe,
|
|
14205
14206
|
message: JSON.stringify(M)
|
|
14206
14207
|
},
|
|
14207
14208
|
p
|
|
@@ -15018,7 +15019,15 @@ const pS = (r, e) => ({
|
|
|
15018
15019
|
var w;
|
|
15019
15020
|
if (y) return;
|
|
15020
15021
|
const E = JSON.parse(atob(JSON.parse(T).payload));
|
|
15021
|
-
E.eventType === "SESSION_UPDATED"
|
|
15022
|
+
if (E.eventType === "SESSION_UPDATED") {
|
|
15023
|
+
clearTimeout(h);
|
|
15024
|
+
const S = Bi.fromPlain((w = E.options) == null ? void 0 : w.session);
|
|
15025
|
+
"validationErrorMessage" in S ? (we.logSessionEvent({
|
|
15026
|
+
logLevel: Te.DEBUG,
|
|
15027
|
+
module: fe,
|
|
15028
|
+
message: `Websocket: ${JSON.stringify(S.validationErrorMessage)}`
|
|
15029
|
+
}), N(!1)) : (o = E.options.session, D());
|
|
15030
|
+
}
|
|
15022
15031
|
};
|
|
15023
15032
|
jn.onMessage(m);
|
|
15024
15033
|
}
|
|
@@ -15042,9 +15051,9 @@ const pS = (r, e) => ({
|
|
|
15042
15051
|
}
|
|
15043
15052
|
}), e().resetSession(), e().listener({
|
|
15044
15053
|
eventType: sa.MESSAGE,
|
|
15045
|
-
logLevel:
|
|
15054
|
+
logLevel: Te.INFO,
|
|
15046
15055
|
message: Dd.DID_END_SESSION,
|
|
15047
|
-
module:
|
|
15056
|
+
module: fe
|
|
15048
15057
|
}));
|
|
15049
15058
|
},
|
|
15050
15059
|
_stepSocketListenerWhenStepIsRunning: (o) => {
|
|
@@ -15325,12 +15334,12 @@ function DS() {
|
|
|
15325
15334
|
/* 1 */
|
|
15326
15335
|
/***/
|
|
15327
15336
|
(function(e, t, o) {
|
|
15328
|
-
var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), M = g.checkType, p = g.broPayload, h = g.mobilePayload, y = g.wearPayload, D = g.consolePayload, N = g.stvPayload, m = g.getNavigatorInstance, T = g.isIOS13Check, E = new s(), w = E.getBrowser(),
|
|
15329
|
-
return
|
|
15337
|
+
var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), M = g.checkType, p = g.broPayload, h = g.mobilePayload, y = g.wearPayload, D = g.consolePayload, N = g.stvPayload, m = g.getNavigatorInstance, T = g.isIOS13Check, E = new s(), w = E.getBrowser(), S = E.getDevice(), R = E.getEngine(), Y = E.getOS(), $ = E.getUA(), Z = l.CHROME, le = l.CHROMIUM, q = l.IE, De = l.INTERNET_EXPLORER, ne = l.OPERA, Ae = l.FIREFOX, Ie = l.SAFARI, me = l.EDGE, Se = l.YANDEX, ke = l.MOBILE_SAFARI, Ce = c.MOBILE, ce = c.TABLET, Ee = c.SMART_TV, ae = c.BROWSER, _e = c.WEARABLE, Ze = c.CONSOLE, xe = d.ANDROID, de = d.WINDOWS_PHONE, Ye = d.IOS, Pe = d.WINDOWS, Tt = d.MAC_OS, tn = function() {
|
|
15338
|
+
return S.type === Ce;
|
|
15330
15339
|
}, zt = function() {
|
|
15331
|
-
return
|
|
15340
|
+
return S.type === ce;
|
|
15332
15341
|
}, Rn = function() {
|
|
15333
|
-
switch (
|
|
15342
|
+
switch (S.type) {
|
|
15334
15343
|
case Ce:
|
|
15335
15344
|
case ce:
|
|
15336
15345
|
return !0;
|
|
@@ -15340,13 +15349,13 @@ function DS() {
|
|
|
15340
15349
|
}, Bt = function() {
|
|
15341
15350
|
return Y.name === d.WINDOWS && Y.version === "10" ? typeof $ == "string" && $.indexOf("Edg/") !== -1 : !1;
|
|
15342
15351
|
}, nn = function() {
|
|
15343
|
-
return
|
|
15352
|
+
return S.type === Ee;
|
|
15344
15353
|
}, Kn = function() {
|
|
15345
|
-
return
|
|
15354
|
+
return S.type === ae;
|
|
15346
15355
|
}, Nt = function() {
|
|
15347
|
-
return
|
|
15356
|
+
return S.type === _e;
|
|
15348
15357
|
}, rn = function() {
|
|
15349
|
-
return
|
|
15358
|
+
return S.type === Ze;
|
|
15350
15359
|
}, Jn = function() {
|
|
15351
15360
|
return Y.name === xe;
|
|
15352
15361
|
}, Dt = function() {
|
|
@@ -15378,7 +15387,7 @@ function DS() {
|
|
|
15378
15387
|
}, re = function() {
|
|
15379
15388
|
var Jt = m(), Tr = Jt && Jt.userAgent.toLowerCase();
|
|
15380
15389
|
return typeof Tr == "string" ? /electron/.test(Tr) : !1;
|
|
15381
|
-
},
|
|
15390
|
+
}, ge = function() {
|
|
15382
15391
|
var Jt = m();
|
|
15383
15392
|
return Jt && (/iPad|iPhone|iPod/.test(Jt.platform) || Jt.platform === "MacIntel" && Jt.maxTouchPoints > 1) && !window.MSStream;
|
|
15384
15393
|
}, pe = function() {
|
|
@@ -15398,9 +15407,9 @@ function DS() {
|
|
|
15398
15407
|
}, kn = function() {
|
|
15399
15408
|
return w.name;
|
|
15400
15409
|
}, Un = function() {
|
|
15401
|
-
return
|
|
15410
|
+
return S.vendor ? S.vendor : "none";
|
|
15402
15411
|
}, Ti = function() {
|
|
15403
|
-
return
|
|
15412
|
+
return S.model ? S.model : "none";
|
|
15404
15413
|
}, Ei = function() {
|
|
15405
15414
|
return R.name;
|
|
15406
15415
|
}, io = function() {
|
|
@@ -15408,8 +15417,8 @@ function DS() {
|
|
|
15408
15417
|
}, oo = function() {
|
|
15409
15418
|
return $;
|
|
15410
15419
|
}, so = function() {
|
|
15411
|
-
return
|
|
15412
|
-
}, ao = nn(), vi = rn(), uo = Nt(), dr = J() || pe(), lo = k(), Kt = Rn() || pe(), co = tn(), Xr = zt() || pe(), fo = Kn(), go = Jn(), ho = fn(), Mo = _n() || pe(), po = Mt(), Io = j(), us = te(), ls = ie(), mr = Le(), yo = Oe(), No = Ot(), Do = tt(), cs = We(), Ao = kn(), mo = Un(), _r = Ti(), ds = Ei(), qr = io(), fs = oo(), gs = Q() || Bt(), _o = ee(), To = so(), Eo =
|
|
15420
|
+
return S.type;
|
|
15421
|
+
}, ao = nn(), vi = rn(), uo = Nt(), dr = J() || pe(), lo = k(), Kt = Rn() || pe(), co = tn(), Xr = zt() || pe(), fo = Kn(), go = Jn(), ho = fn(), Mo = _n() || pe(), po = Mt(), Io = j(), us = te(), ls = ie(), mr = Le(), yo = Oe(), No = Ot(), Do = tt(), cs = We(), Ao = kn(), mo = Un(), _r = Ti(), ds = Ei(), qr = io(), fs = oo(), gs = Q() || Bt(), _o = ee(), To = so(), Eo = ge(), vo = pe(), hs = Ue(), Ms = pt(), ps = re(), Is = Bt(), wo = Q(), So = Dt(), Oo = dn(), gn = M(S.type);
|
|
15413
15422
|
function ys() {
|
|
15414
15423
|
var Fe = gn.isBrowser, Jt = gn.isMobile, Tr = gn.isTablet, Co = gn.isSmartTV, wi = gn.isConsole, Si = gn.isWearable;
|
|
15415
15424
|
if (Fe)
|
|
@@ -15419,7 +15428,7 @@ function DS() {
|
|
|
15419
15428
|
if (wi)
|
|
15420
15429
|
return D(wi, R, Y, $);
|
|
15421
15430
|
if (Jt || Tr)
|
|
15422
|
-
return h(gn,
|
|
15431
|
+
return h(gn, S, Y, $);
|
|
15423
15432
|
if (Si)
|
|
15424
15433
|
return y(Si, R, Y, $);
|
|
15425
15434
|
}
|
|
@@ -15471,11 +15480,11 @@ function DS() {
|
|
|
15471
15480
|
(function(e, t, o) {
|
|
15472
15481
|
var s;
|
|
15473
15482
|
(function(a, l) {
|
|
15474
|
-
var d = "0.7.18", c = "", g = "?", M = "function", p = "undefined", h = "object", y = "string", D = "major", N = "model", m = "name", T = "type", E = "vendor", w = "version",
|
|
15475
|
-
var
|
|
15483
|
+
var d = "0.7.18", c = "", g = "?", M = "function", p = "undefined", h = "object", y = "string", D = "major", N = "model", m = "name", T = "type", E = "vendor", w = "version", S = "architecture", R = "console", Y = "mobile", $ = "tablet", Z = "smarttv", le = "wearable", q = "embedded", De = { extend: function(Ce, ce) {
|
|
15484
|
+
var Ee = {};
|
|
15476
15485
|
for (var ae in Ce)
|
|
15477
|
-
ce[ae] && ce[ae].length % 2 === 0 ?
|
|
15478
|
-
return
|
|
15486
|
+
ce[ae] && ce[ae].length % 2 === 0 ? Ee[ae] = ce[ae].concat(Ce[ae]) : Ee[ae] = Ce[ae];
|
|
15487
|
+
return Ee;
|
|
15479
15488
|
}, has: function(Ce, ce) {
|
|
15480
15489
|
return typeof Ce == "string" ? ce.toLowerCase().indexOf(Ce.toLowerCase()) !== -1 : !1;
|
|
15481
15490
|
}, lowerize: function(Ce) {
|
|
@@ -15485,51 +15494,51 @@ function DS() {
|
|
|
15485
15494
|
}, trim: function(Ce) {
|
|
15486
15495
|
return Ce.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
15487
15496
|
} }, ne = { rgx: function(Ce, ce) {
|
|
15488
|
-
for (var
|
|
15489
|
-
var Pe = ce[
|
|
15497
|
+
for (var Ee = 0, ae, _e, Ze, xe, de, Ye; Ee < ce.length && !de; ) {
|
|
15498
|
+
var Pe = ce[Ee], Tt = ce[Ee + 1];
|
|
15490
15499
|
for (ae = _e = 0; ae < Pe.length && !de; )
|
|
15491
15500
|
if (de = Pe[ae++].exec(Ce), de)
|
|
15492
15501
|
for (Ze = 0; Ze < Tt.length; Ze++)
|
|
15493
15502
|
Ye = de[++_e], xe = Tt[Ze], typeof xe === h && xe.length > 0 ? xe.length == 2 ? typeof xe[1] == M ? this[xe[0]] = xe[1].call(this, Ye) : this[xe[0]] = xe[1] : xe.length == 3 ? typeof xe[1] === M && !(xe[1].exec && xe[1].test) ? this[xe[0]] = Ye ? xe[1].call(this, Ye, xe[2]) : l : this[xe[0]] = Ye ? Ye.replace(xe[1], xe[2]) : l : xe.length == 4 && (this[xe[0]] = Ye ? xe[3].call(this, Ye.replace(xe[1], xe[2])) : l) : this[xe] = Ye || l;
|
|
15494
|
-
|
|
15503
|
+
Ee += 2;
|
|
15495
15504
|
}
|
|
15496
15505
|
}, str: function(Ce, ce) {
|
|
15497
|
-
for (var
|
|
15498
|
-
if (typeof ce[
|
|
15499
|
-
for (var ae = 0; ae < ce[
|
|
15500
|
-
if (De.has(ce[
|
|
15501
|
-
return
|
|
15502
|
-
} else if (De.has(ce[
|
|
15503
|
-
return
|
|
15506
|
+
for (var Ee in ce)
|
|
15507
|
+
if (typeof ce[Ee] === h && ce[Ee].length > 0) {
|
|
15508
|
+
for (var ae = 0; ae < ce[Ee].length; ae++)
|
|
15509
|
+
if (De.has(ce[Ee][ae], Ce))
|
|
15510
|
+
return Ee === g ? l : Ee;
|
|
15511
|
+
} else if (De.has(ce[Ee], Ce))
|
|
15512
|
+
return Ee === g ? l : Ee;
|
|
15504
15513
|
return Ce;
|
|
15505
|
-
} }, Ae = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, Ie = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, w], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], w], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], w], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, w], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], w], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], w], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], w], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], w], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], w], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], w], [/(qqbrowserlite)\/([\w\.]+)/i], [m, w], [/(QQ)\/([\d\.]+)/i], [m, w], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, w], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [w, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [w, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], w], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], w], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [w, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, w], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], w], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], w], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], w], [/fxios\/([\w\.-]+)/i], [w, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [w, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], w], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [w, ne.str, Ae.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], w], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, w]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, De.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[O, /ower/, "", De.lowerize]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[O, De.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [N, E, [T, $]], [/applecoremedia\/[\w\.]+ \((ipad)/], [N, [E, "Apple"], [T, $]], [/(apple\s{0,1}tv)/i], [[N, "Apple TV"], [E, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [E, N, [T, $]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [N, [E, "Amazon"], [T, $]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[N, ne.str, Ae.device.amazon.model], [E, "Amazon"], [T, Y]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [N, E, [T, Y]], [/\((ip[honed|\s\w*]+);/i], [N, [E, "Apple"], [T, Y]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [E, N, [T, Y]], [/\(bb10;\s(\w+)/i], [N, [E, "BlackBerry"], [T, Y]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [N, [E, "Asus"], [T, $]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[E, "Sony"], [N, "Xperia Tablet"], [T, $]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [N, [E, "Sony"], [T, Y]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [E, N, [T, R]], [/android.+;\s(shield)\sbuild/i], [N, [E, "Nvidia"], [T, R]], [/(playstation\s[34portablevi]+)/i], [N, [E, "Sony"], [T, R]], [/(sprint\s(\w+))/i], [[E, ne.str, Ae.device.sprint.vendor], [N, ne.str, Ae.device.sprint.model], [T, Y]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [E, N, [T, $]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [E, [N, /_/g, " "], [T, Y]], [/(nexus\s9)/i], [N, [E, "HTC"], [T, $]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [N, [E, "Huawei"], [T, Y]], [/(microsoft);\s(lumia[\s\w]+)/i], [E, N, [T, Y]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [N, [E, "Microsoft"], [T, R]], [/(kin\.[onetw]{3})/i], [[N, /\./g, " "], [E, "Microsoft"], [T, Y]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [N, [E, "Motorola"], [T, Y]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [N, [E, "Motorola"], [T, $]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[E, De.trim], [N, De.trim], [T, Z]], [/hbbtv.+maple;(\d+)/i], [[N, /^/, "SmartTV"], [E, "Samsung"], [T, Z]], [/\(dtv[\);].+(aquos)/i], [N, [E, "Sharp"], [T, Z]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[E, "Samsung"], N, [T, $]], [/smart-tv.+(samsung)/i], [E, [T, Z], N], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[E, "Samsung"], N, [T, Y]], [/sie-(\w*)/i], [N, [E, "Siemens"], [T, Y]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[E, "Nokia"], N, [T, Y]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [N, [E, "Acer"], [T, $]], [/android.+([vl]k\-?\d{3})\s+build/i], [N, [E, "LG"], [T, $]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[E, "LG"], N, [T, $]], [/(lg) netcast\.tv/i], [E, N, [T, Z]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [N, [E, "LG"], [T, Y]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [N, [E, "Lenovo"], [T, $]], [/linux;.+((jolla));/i], [E, N, [T, Y]], [/((pebble))app\/[\d\.]+\s/i], [E, N, [T, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [E, N, [T, Y]], [/crkey/i], [[N, "Chromecast"], [E, "Google"]], [/android.+;\s(glass)\s\d/i], [N, [E, "Google"], [T, le]], [/android.+;\s(pixel c)\s/i], [N, [E, "Google"], [T, $]], [/android.+;\s(pixel xl|pixel)\s/i], [N, [E, "Google"], [T, Y]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[N, /_/g, " "], [E, "Xiaomi"], [T, Y]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[N, /_/g, " "], [E, "Xiaomi"], [T, $]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [N, [E, "Meizu"], [T, $]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [N, [E, "OnePlus"], [T, Y]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [N, [E, "RCA"], [T, $]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [N, [E, "Dell"], [T, $]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [N, [E, "Verizon"], [T, $]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[E, "Barnes & Noble"], N, [T, $]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [N, [E, "NuVision"], [T, $]], [/android.+;\s(k88)\sbuild/i], [N, [E, "ZTE"], [T, $]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [N, [E, "Swiss"], [T, Y]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [N, [E, "Swiss"], [T, $]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [N, [E, "Zeki"], [T, $]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[E, "Dragon Touch"], N, [T, $]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [N, [E, "Insignia"], [T, $]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [N, [E, "NextBook"], [T, $]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[E, "Voice"], N, [T, Y]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[E, "LvTel"], N, [T, Y]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [N, [E, "Envizen"], [T, $]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [N, [E, "MachSpeed"], [T, $]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [N, [E, "Rotor"], [T, $]], [/android.+(KS(.+))\s+build/i], [N, [E, "Amazon"], [T, $]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [E, N, [T, $]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[T, De.lowerize], E, N], [/(android[\w\.\s\-]{0,9});.+build/i], [N, [E, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [w, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, w], [/rv\:([\w\.]{1,9}).+(gecko)/i], [w, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, w], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [w, ne.str, Ae.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [w, ne.str, Ae.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], w], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, w], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], w], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], w], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, w], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], w], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], w], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, w], [/(haiku)\s(\w+)/i], [m, w], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [w, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, w]] }, me = function(Ce, ce) {
|
|
15514
|
+
} }, Ae = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, Ie = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, w], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], w], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], w], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, w], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], w], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], w], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], w], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], w], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], w], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], w], [/(qqbrowserlite)\/([\w\.]+)/i], [m, w], [/(QQ)\/([\d\.]+)/i], [m, w], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, w], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [w, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [w, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], w], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], w], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [w, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, w], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], w], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], w], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], w], [/fxios\/([\w\.-]+)/i], [w, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [w, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], w], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [w, ne.str, Ae.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], w], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, w]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[S, "amd64"]], [/(ia32(?=;))/i], [[S, De.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[S, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[S, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[S, /ower/, "", De.lowerize]], [/(sun4\w)[;\)]/i], [[S, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[S, De.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [N, E, [T, $]], [/applecoremedia\/[\w\.]+ \((ipad)/], [N, [E, "Apple"], [T, $]], [/(apple\s{0,1}tv)/i], [[N, "Apple TV"], [E, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [E, N, [T, $]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [N, [E, "Amazon"], [T, $]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[N, ne.str, Ae.device.amazon.model], [E, "Amazon"], [T, Y]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [N, E, [T, Y]], [/\((ip[honed|\s\w*]+);/i], [N, [E, "Apple"], [T, Y]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [E, N, [T, Y]], [/\(bb10;\s(\w+)/i], [N, [E, "BlackBerry"], [T, Y]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [N, [E, "Asus"], [T, $]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[E, "Sony"], [N, "Xperia Tablet"], [T, $]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [N, [E, "Sony"], [T, Y]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [E, N, [T, R]], [/android.+;\s(shield)\sbuild/i], [N, [E, "Nvidia"], [T, R]], [/(playstation\s[34portablevi]+)/i], [N, [E, "Sony"], [T, R]], [/(sprint\s(\w+))/i], [[E, ne.str, Ae.device.sprint.vendor], [N, ne.str, Ae.device.sprint.model], [T, Y]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [E, N, [T, $]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [E, [N, /_/g, " "], [T, Y]], [/(nexus\s9)/i], [N, [E, "HTC"], [T, $]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [N, [E, "Huawei"], [T, Y]], [/(microsoft);\s(lumia[\s\w]+)/i], [E, N, [T, Y]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [N, [E, "Microsoft"], [T, R]], [/(kin\.[onetw]{3})/i], [[N, /\./g, " "], [E, "Microsoft"], [T, Y]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [N, [E, "Motorola"], [T, Y]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [N, [E, "Motorola"], [T, $]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[E, De.trim], [N, De.trim], [T, Z]], [/hbbtv.+maple;(\d+)/i], [[N, /^/, "SmartTV"], [E, "Samsung"], [T, Z]], [/\(dtv[\);].+(aquos)/i], [N, [E, "Sharp"], [T, Z]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[E, "Samsung"], N, [T, $]], [/smart-tv.+(samsung)/i], [E, [T, Z], N], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[E, "Samsung"], N, [T, Y]], [/sie-(\w*)/i], [N, [E, "Siemens"], [T, Y]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[E, "Nokia"], N, [T, Y]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [N, [E, "Acer"], [T, $]], [/android.+([vl]k\-?\d{3})\s+build/i], [N, [E, "LG"], [T, $]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[E, "LG"], N, [T, $]], [/(lg) netcast\.tv/i], [E, N, [T, Z]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [N, [E, "LG"], [T, Y]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [N, [E, "Lenovo"], [T, $]], [/linux;.+((jolla));/i], [E, N, [T, Y]], [/((pebble))app\/[\d\.]+\s/i], [E, N, [T, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [E, N, [T, Y]], [/crkey/i], [[N, "Chromecast"], [E, "Google"]], [/android.+;\s(glass)\s\d/i], [N, [E, "Google"], [T, le]], [/android.+;\s(pixel c)\s/i], [N, [E, "Google"], [T, $]], [/android.+;\s(pixel xl|pixel)\s/i], [N, [E, "Google"], [T, Y]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[N, /_/g, " "], [E, "Xiaomi"], [T, Y]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[N, /_/g, " "], [E, "Xiaomi"], [T, $]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [N, [E, "Meizu"], [T, $]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [N, [E, "OnePlus"], [T, Y]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [N, [E, "RCA"], [T, $]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [N, [E, "Dell"], [T, $]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [N, [E, "Verizon"], [T, $]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[E, "Barnes & Noble"], N, [T, $]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [N, [E, "NuVision"], [T, $]], [/android.+;\s(k88)\sbuild/i], [N, [E, "ZTE"], [T, $]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [N, [E, "Swiss"], [T, Y]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [N, [E, "Swiss"], [T, $]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [N, [E, "Zeki"], [T, $]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[E, "Dragon Touch"], N, [T, $]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [N, [E, "Insignia"], [T, $]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [N, [E, "NextBook"], [T, $]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[E, "Voice"], N, [T, Y]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[E, "LvTel"], N, [T, Y]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [N, [E, "Envizen"], [T, $]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [N, [E, "MachSpeed"], [T, $]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [N, [E, "Rotor"], [T, $]], [/android.+(KS(.+))\s+build/i], [N, [E, "Amazon"], [T, $]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [E, N, [T, $]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[T, De.lowerize], E, N], [/(android[\w\.\s\-]{0,9});.+build/i], [N, [E, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [w, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, w], [/rv\:([\w\.]{1,9}).+(gecko)/i], [w, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, w], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [w, ne.str, Ae.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [w, ne.str, Ae.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], w], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, w], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], w], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], w], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, w], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], w], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], w], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, w], [/(haiku)\s(\w+)/i], [m, w], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [w, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, w]] }, me = function(Ce, ce) {
|
|
15506
15515
|
if (typeof Ce == "object" && (ce = Ce, Ce = l), !(this instanceof me))
|
|
15507
15516
|
return new me(Ce, ce).getResult();
|
|
15508
|
-
var
|
|
15517
|
+
var Ee = Ce || (a && a.navigator && a.navigator.userAgent ? a.navigator.userAgent : c), ae = ce ? De.extend(Ie, ce) : Ie;
|
|
15509
15518
|
return this.getBrowser = function() {
|
|
15510
15519
|
var _e = { name: l, version: l };
|
|
15511
|
-
return ne.rgx.call(_e,
|
|
15520
|
+
return ne.rgx.call(_e, Ee, ae.browser), _e.major = De.major(_e.version), _e;
|
|
15512
15521
|
}, this.getCPU = function() {
|
|
15513
15522
|
var _e = { architecture: l };
|
|
15514
|
-
return ne.rgx.call(_e,
|
|
15523
|
+
return ne.rgx.call(_e, Ee, ae.cpu), _e;
|
|
15515
15524
|
}, this.getDevice = function() {
|
|
15516
15525
|
var _e = { vendor: l, model: l, type: l };
|
|
15517
|
-
return ne.rgx.call(_e,
|
|
15526
|
+
return ne.rgx.call(_e, Ee, ae.device), _e;
|
|
15518
15527
|
}, this.getEngine = function() {
|
|
15519
15528
|
var _e = { name: l, version: l };
|
|
15520
|
-
return ne.rgx.call(_e,
|
|
15529
|
+
return ne.rgx.call(_e, Ee, ae.engine), _e;
|
|
15521
15530
|
}, this.getOS = function() {
|
|
15522
15531
|
var _e = { name: l, version: l };
|
|
15523
|
-
return ne.rgx.call(_e,
|
|
15532
|
+
return ne.rgx.call(_e, Ee, ae.os), _e;
|
|
15524
15533
|
}, this.getResult = function() {
|
|
15525
15534
|
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
15526
15535
|
}, this.getUA = function() {
|
|
15527
|
-
return
|
|
15536
|
+
return Ee;
|
|
15528
15537
|
}, this.setUA = function(_e) {
|
|
15529
|
-
return
|
|
15538
|
+
return Ee = _e, this;
|
|
15530
15539
|
}, this;
|
|
15531
15540
|
};
|
|
15532
|
-
me.VERSION = d, me.BROWSER = { NAME: m, MAJOR: D, VERSION: w }, me.CPU = { ARCHITECTURE:
|
|
15541
|
+
me.VERSION = d, me.BROWSER = { NAME: m, MAJOR: D, VERSION: w }, me.CPU = { ARCHITECTURE: S }, me.DEVICE = { MODEL: N, VENDOR: E, TYPE: T, CONSOLE: R, MOBILE: Y, SMARTTV: Z, TABLET: $, WEARABLE: le, EMBEDDED: q }, me.ENGINE = { NAME: m, VERSION: w }, me.OS = { NAME: m, VERSION: w }, typeof t !== p ? (typeof e !== p && e.exports && (t = e.exports = me), t.UAParser = me) : o(3) ? (s = (function() {
|
|
15533
15542
|
return me;
|
|
15534
15543
|
}).call(t, o, t, e), s !== l && (e.exports = s)) : a && (a.UAParser = me);
|
|
15535
15544
|
var Se = a && (a.jQuery || a.Zepto);
|
|
@@ -15540,8 +15549,8 @@ function DS() {
|
|
|
15540
15549
|
}, Se.ua.set = function(Ce) {
|
|
15541
15550
|
ke.setUA(Ce);
|
|
15542
15551
|
var ce = ke.getResult();
|
|
15543
|
-
for (var
|
|
15544
|
-
Se.ua[
|
|
15552
|
+
for (var Ee in ce)
|
|
15553
|
+
Se.ua[Ee] = ce[Ee];
|
|
15545
15554
|
};
|
|
15546
15555
|
}
|
|
15547
15556
|
})(typeof window == "object" ? window : this);
|
|
@@ -15583,7 +15592,7 @@ function DS() {
|
|
|
15583
15592
|
default:
|
|
15584
15593
|
return d;
|
|
15585
15594
|
}
|
|
15586
|
-
}, g = function(T, E, w,
|
|
15595
|
+
}, g = function(T, E, w, S, R) {
|
|
15587
15596
|
return {
|
|
15588
15597
|
isBrowser: T,
|
|
15589
15598
|
browserMajorVersion: E.major,
|
|
@@ -15591,44 +15600,44 @@ function DS() {
|
|
|
15591
15600
|
browserName: E.name,
|
|
15592
15601
|
engineName: w.name || !1,
|
|
15593
15602
|
engineVersion: w.version,
|
|
15594
|
-
osName:
|
|
15595
|
-
osVersion:
|
|
15603
|
+
osName: S.name,
|
|
15604
|
+
osVersion: S.version,
|
|
15596
15605
|
userAgent: R
|
|
15597
15606
|
};
|
|
15598
|
-
}, M = function(T, E, w,
|
|
15607
|
+
}, M = function(T, E, w, S) {
|
|
15599
15608
|
return s({}, T, {
|
|
15600
15609
|
vendor: E.vendor,
|
|
15601
15610
|
model: E.model,
|
|
15602
15611
|
os: w.name,
|
|
15603
15612
|
osVersion: w.version,
|
|
15604
|
-
ua:
|
|
15613
|
+
ua: S
|
|
15605
15614
|
});
|
|
15606
|
-
}, p = function(T, E, w,
|
|
15615
|
+
}, p = function(T, E, w, S) {
|
|
15607
15616
|
return {
|
|
15608
15617
|
isSmartTV: T,
|
|
15609
15618
|
engineName: E.name,
|
|
15610
15619
|
engineVersion: E.version,
|
|
15611
15620
|
osName: w.name,
|
|
15612
15621
|
osVersion: w.version,
|
|
15613
|
-
userAgent:
|
|
15622
|
+
userAgent: S
|
|
15614
15623
|
};
|
|
15615
|
-
}, h = function(T, E, w,
|
|
15624
|
+
}, h = function(T, E, w, S) {
|
|
15616
15625
|
return {
|
|
15617
15626
|
isConsole: T,
|
|
15618
15627
|
engineName: E.name,
|
|
15619
15628
|
engineVersion: E.version,
|
|
15620
15629
|
osName: w.name,
|
|
15621
15630
|
osVersion: w.version,
|
|
15622
|
-
userAgent:
|
|
15631
|
+
userAgent: S
|
|
15623
15632
|
};
|
|
15624
|
-
}, y = function(T, E, w,
|
|
15633
|
+
}, y = function(T, E, w, S) {
|
|
15625
15634
|
return {
|
|
15626
15635
|
isWearable: T,
|
|
15627
15636
|
engineName: E.name,
|
|
15628
15637
|
engineVersion: E.version,
|
|
15629
15638
|
osName: w.name,
|
|
15630
15639
|
osVersion: w.version,
|
|
15631
|
-
userAgent:
|
|
15640
|
+
userAgent: S
|
|
15632
15641
|
};
|
|
15633
15642
|
}, D = t.getNavigatorInstance = function() {
|
|
15634
15643
|
return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
@@ -15723,11 +15732,11 @@ const xd = class xd extends Gs {
|
|
|
15723
15732
|
const o = JSON.stringify(t);
|
|
15724
15733
|
we.logSessionEvent({
|
|
15725
15734
|
module: e,
|
|
15726
|
-
logLevel:
|
|
15735
|
+
logLevel: Te.INFO,
|
|
15727
15736
|
message: o
|
|
15728
15737
|
}), this.store.listener({
|
|
15729
15738
|
eventType: sa.MESSAGE,
|
|
15730
|
-
logLevel:
|
|
15739
|
+
logLevel: Te.INFO,
|
|
15731
15740
|
message: o,
|
|
15732
15741
|
module: e
|
|
15733
15742
|
});
|
|
@@ -15776,7 +15785,7 @@ const xd = class xd extends Gs {
|
|
|
15776
15785
|
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Jh(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
15777
15786
|
}
|
|
15778
15787
|
get version() {
|
|
15779
|
-
return `${"3.6.
|
|
15788
|
+
return `${"3.6.399-nightly".trim()}`;
|
|
15780
15789
|
}
|
|
15781
15790
|
disconnectedCallback() {
|
|
15782
15791
|
var e;
|
|
@@ -15866,7 +15875,7 @@ class kS {
|
|
|
15866
15875
|
}
|
|
15867
15876
|
/** service commands */
|
|
15868
15877
|
get version() {
|
|
15869
|
-
return "3.6.
|
|
15878
|
+
return "3.6.399-nightly";
|
|
15870
15879
|
}
|
|
15871
15880
|
get currentSessionId() {
|
|
15872
15881
|
return $t.getState().getCurrentSessionId();
|