@oncehub/ui-react 1.4.1-beta.1.0 → 1.4.1-beta.1.1
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/ui-react.es.js +53 -53
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +7 -7
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-react.es.js
CHANGED
|
@@ -132,14 +132,14 @@ function Mi() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var G = Object.assign, re = 0, pe, B, fe, ne, Q,
|
|
135
|
+
var G = Object.assign, re = 0, pe, B, fe, ne, Q, me, ve;
|
|
136
136
|
function le() {
|
|
137
137
|
}
|
|
138
138
|
le.__reactDisabledLog = !0;
|
|
139
139
|
function _() {
|
|
140
140
|
{
|
|
141
141
|
if (re === 0) {
|
|
142
|
-
pe = console.log, B = console.info, fe = console.warn, ne = console.error, Q = console.group,
|
|
142
|
+
pe = console.log, B = console.info, fe = console.warn, ne = console.error, Q = console.group, me = console.groupCollapsed, ve = console.groupEnd;
|
|
143
143
|
var l = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
@@ -184,10 +184,10 @@ function Mi() {
|
|
|
184
184
|
value: Q
|
|
185
185
|
}),
|
|
186
186
|
groupCollapsed: G({}, l, {
|
|
187
|
-
value:
|
|
187
|
+
value: me
|
|
188
188
|
}),
|
|
189
189
|
groupEnd: G({}, l, {
|
|
190
|
-
value:
|
|
190
|
+
value: ve
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -320,7 +320,7 @@ function Mi() {
|
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var
|
|
323
|
+
var Fe = Object.prototype.hasOwnProperty, We = {}, Re = g.ReactDebugCurrentFrame;
|
|
324
324
|
function Ze(l) {
|
|
325
325
|
if (l) {
|
|
326
326
|
var w = l._owner, T = De(l.type, l._source, w ? w.type : null);
|
|
@@ -330,7 +330,7 @@ function Mi() {
|
|
|
330
330
|
}
|
|
331
331
|
function Nt(l, w, T, D, X) {
|
|
332
332
|
{
|
|
333
|
-
var se = Function.call.bind(
|
|
333
|
+
var se = Function.call.bind(Fe);
|
|
334
334
|
for (var K in l)
|
|
335
335
|
if (se(l, K)) {
|
|
336
336
|
var H = void 0;
|
|
@@ -379,7 +379,7 @@ function Mi() {
|
|
|
379
379
|
}, qe, Me, Y;
|
|
380
380
|
Y = {};
|
|
381
381
|
function N(l) {
|
|
382
|
-
if (
|
|
382
|
+
if (Fe.call(l, "ref")) {
|
|
383
383
|
var w = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
384
384
|
if (w && w.isReactWarning)
|
|
385
385
|
return !1;
|
|
@@ -387,7 +387,7 @@ function Mi() {
|
|
|
387
387
|
return l.ref !== void 0;
|
|
388
388
|
}
|
|
389
389
|
function Ve(l) {
|
|
390
|
-
if (
|
|
390
|
+
if (Fe.call(l, "key")) {
|
|
391
391
|
var w = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
392
392
|
if (w && w.isReactWarning)
|
|
393
393
|
return !1;
|
|
@@ -456,7 +456,7 @@ function Mi() {
|
|
|
456
456
|
var se, K = {}, H = null, Ie = null;
|
|
457
457
|
T !== void 0 && (J(T), H = "" + T), Ve(w) && (J(w.key), H = "" + w.key), N(w) && (Ie = w.ref, St(w, X));
|
|
458
458
|
for (se in w)
|
|
459
|
-
|
|
459
|
+
Fe.call(w, se) && !ie.hasOwnProperty(se) && (K[se] = w[se]);
|
|
460
460
|
if (l && l.defaultProps) {
|
|
461
461
|
var ge = l.defaultProps;
|
|
462
462
|
for (se in ge)
|
|
@@ -815,7 +815,7 @@ const ao = "_textInputWrapper_1i9m6_1", so = "_textInput_1i9m6_1", Wr = {
|
|
|
815
815
|
var R = {}, dr = { exports: {} };
|
|
816
816
|
(function(e, t) {
|
|
817
817
|
(function(r, n) {
|
|
818
|
-
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version", g = "architecture", S = "console", x = "mobile", y = "tablet", F = "smarttv", P = "wearable", q = "embedded", $ = 500, C = "Amazon", z = "Apple", de = "ASUS", Z = "BlackBerry", k = "Browser", G = "Chrome", re = "Edge", pe = "Firefox", B = "Google", fe = "Huawei", ne = "LG", Q = "Microsoft",
|
|
818
|
+
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version", g = "architecture", S = "console", x = "mobile", y = "tablet", F = "smarttv", P = "wearable", q = "embedded", $ = 500, C = "Amazon", z = "Apple", de = "ASUS", Z = "BlackBerry", k = "Browser", G = "Chrome", re = "Edge", pe = "Firefox", B = "Google", fe = "Huawei", ne = "LG", Q = "Microsoft", me = "Motorola", ve = "Opera", le = "Samsung", _ = "Sharp", I = "Sony", V = "Xiaomi", xe = "Zebra", Ce = "Facebook", ot = "Chromium OS", Xe = "Mac OS", E = function(U, J) {
|
|
819
819
|
var A = {};
|
|
820
820
|
for (var ie in U)
|
|
821
821
|
J[ie] && J[ie].length % 2 === 0 ? A[ie] = J[ie].concat(U[ie]) : A[ie] = U[ie];
|
|
@@ -830,7 +830,7 @@ var R = {}, dr = { exports: {} };
|
|
|
830
830
|
return U.toLowerCase();
|
|
831
831
|
}, De = function(U) {
|
|
832
832
|
return typeof U === m ? U.replace(/[^\d\.]/g, c).split(".")[0] : n;
|
|
833
|
-
},
|
|
833
|
+
}, Fe = function(U, J) {
|
|
834
834
|
if (typeof U === m)
|
|
835
835
|
return U = U.replace(/^\s\s*/, c), typeof J === b ? U : U.substring(0, $);
|
|
836
836
|
}, We = function(U, J) {
|
|
@@ -851,7 +851,7 @@ var R = {}, dr = { exports: {} };
|
|
|
851
851
|
} else if (ye(J[A], U))
|
|
852
852
|
return A === o ? n : A;
|
|
853
853
|
return U;
|
|
854
|
-
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { 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" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, me + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[g, "amd64"]], [/(ia32(?=;))/i], [[g, he]], [/((?:i[346]|x)86)[;\)]/i], [[g, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[g, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[g, "armhf"]], [/windows (ce|mobile); ppc;/i], [[g, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[g, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[g, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[g, he]]], 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], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\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)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, ve], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, ve], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/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], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/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], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Le], [s, Le], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/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) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
854
|
+
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { 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" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[g, "amd64"]], [/(ia32(?=;))/i], [[g, he]], [/((?:i[346]|x)86)[;\)]/i], [[g, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[g, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[g, "armhf"]], [/windows (ce|mobile); ppc;/i], [[g, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[g, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[g, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[g, he]]], 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], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\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)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/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], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/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], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Fe], [s, Fe], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/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) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
855
855
|
if (typeof U === v && (J = U, U = n), !(this instanceof Pe))
|
|
856
856
|
return new Pe(U, J).getResult();
|
|
857
857
|
var A = typeof r !== b && r.navigator ? r.navigator : n, ie = U || (A && A.userAgent ? A.userAgent : c), qe = A && A.userAgentData ? A.userAgentData : n, Me = J ? E(Dt, J) : Dt, Y = A && A.userAgent == ie;
|
|
@@ -875,7 +875,7 @@ var R = {}, dr = { exports: {} };
|
|
|
875
875
|
}, this.getUA = function() {
|
|
876
876
|
return ie;
|
|
877
877
|
}, this.setUA = function(N) {
|
|
878
|
-
return ie = typeof N === m && N.length > $ ?
|
|
878
|
+
return ie = typeof N === m && N.length > $ ? Fe(N, $) : N, this;
|
|
879
879
|
}, this.setUA(ie), this;
|
|
880
880
|
};
|
|
881
881
|
Pe.VERSION = i, Pe.BROWSER = W([d, p, h]), Pe.CPU = W([g]), Pe.DEVICE = W([s, u, a, S, x, F, y, P, q]), Pe.ENGINE = Pe.OS = W([d, p]), e.exports && (t = e.exports = Pe), t.UAParser = Pe;
|
|
@@ -1644,7 +1644,7 @@ const Zl = ce.memo(
|
|
|
1644
1644
|
) });
|
|
1645
1645
|
}
|
|
1646
1646
|
)
|
|
1647
|
-
), Ca = "_multiSelectContainer_ars69_1", Ra = "_listOptionsWrap_ars69_4", Pa = "_selectedValuesWrap_ars69_7", Ia = "_selectedValues_ars69_7", ja = "_focused_ars69_13", La = "_placeholder_ars69_16", Fa = "_dropDownIcon_ars69_19", Aa = "_optionsListContainer_ars69_23", Na = "_top_ars69_26", Da = "_optionsListWrap_ars69_29", Ma = "_searchInputWrap_ars69_32", $a = "_searchInput_ars69_32", Wa = "_optionsList_ars69_23", Va = "_btnContainer_ars69_50",
|
|
1647
|
+
), Ca = "_multiSelectContainer_ars69_1", Ra = "_listOptionsWrap_ars69_4", Pa = "_selectedValuesWrap_ars69_7", Ia = "_selectedValues_ars69_7", ja = "_focused_ars69_13", La = "_placeholder_ars69_16", Fa = "_dropDownIcon_ars69_19", Aa = "_optionsListContainer_ars69_23", Na = "_top_ars69_26", Da = "_optionsListWrap_ars69_29", Ma = "_searchInputWrap_ars69_32", $a = "_searchInput_ars69_32", Wa = "_optionsList_ars69_23", Va = "_btnContainer_ars69_50", je = {
|
|
1648
1648
|
multiSelectContainer: Ca,
|
|
1649
1649
|
listOptionsWrap: Ra,
|
|
1650
1650
|
selectedValuesWrap: Pa,
|
|
@@ -1741,13 +1741,13 @@ const ec = ({
|
|
|
1741
1741
|
const E = e.filter((W) => W.text.toLowerCase().includes(m.toLowerCase()));
|
|
1742
1742
|
f.current = E;
|
|
1743
1743
|
}, [e, m]);
|
|
1744
|
-
const
|
|
1744
|
+
const me = b.length > 0 ? b.map((E) => {
|
|
1745
1745
|
const W = e.find((ye) => ye.id === E);
|
|
1746
1746
|
return W?.text !== null ? W?.text : "";
|
|
1747
|
-
}).filter((E) => E !== "").join(", ") : "Select your option",
|
|
1747
|
+
}).filter((E) => E !== "").join(", ") : "Select your option", ve = (E) => {
|
|
1748
1748
|
const W = e.find((ye) => ye.id === E);
|
|
1749
1749
|
if (W && !W.disabled && (n === void 0 || b.length <= n)) {
|
|
1750
|
-
const he = b.includes(E) ? b.filter((
|
|
1750
|
+
const he = b.includes(E) ? b.filter((Fe) => Fe !== E) : [...b, E];
|
|
1751
1751
|
(n === void 0 || he.length <= n) && s && (v(he), r(he), Q(`${W?.text} ${he.includes(E) ? "selected" : "not selected"}`));
|
|
1752
1752
|
}
|
|
1753
1753
|
}, le = (E) => {
|
|
@@ -1761,8 +1761,8 @@ const ec = ({
|
|
|
1761
1761
|
const W = g?.current?.getBoundingClientRect(), ye = _(), he = $.current - E.bottom;
|
|
1762
1762
|
let De;
|
|
1763
1763
|
if (W) {
|
|
1764
|
-
const
|
|
1765
|
-
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y +
|
|
1764
|
+
const Fe = E.height, We = E.top, Re = W.height, Ze = Re > We + window.scrollY;
|
|
1765
|
+
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y + Fe : De = E.y - Re, G({
|
|
1766
1766
|
left: E.left,
|
|
1767
1767
|
top: De ?? E.top
|
|
1768
1768
|
});
|
|
@@ -1789,14 +1789,14 @@ const ec = ({
|
|
|
1789
1789
|
}, 0);
|
|
1790
1790
|
let ye = P;
|
|
1791
1791
|
if (W === "ArrowDown" ? ye = Math.min(P + 1, f.current.length - 1) : W === "ArrowUp" && (ye = Math.max(P - 1, 0)), P === 0 && E.key === "ArrowUp" ? ye = f.current.length - 1 : P === f.current.length - 1 && E.key === "ArrowDown" && (ye = 0), q(ye), F.current && ye >= 0) {
|
|
1792
|
-
const he = F.current.querySelectorAll(`.${
|
|
1793
|
-
Q(
|
|
1792
|
+
const he = F.current.querySelectorAll(`.${je.optionsList}`)[ye], De = he.children[0].getAttribute("aria-checked"), Fe = `${he.textContent} ${De === "true" ? "selected" : "not selected"} ${ye + 1} out of ${f.current.length}`;
|
|
1793
|
+
Q(Fe), he && he.scrollIntoView({
|
|
1794
1794
|
block: "nearest",
|
|
1795
1795
|
inline: "nearest"
|
|
1796
1796
|
});
|
|
1797
1797
|
}
|
|
1798
1798
|
} else
|
|
1799
|
-
W === "Enter" || W === "Space" || W === " " ? P !== -1 &&
|
|
1799
|
+
W === "Enter" || W === "Space" || W === " " ? P !== -1 && ve(f.current[P].id) : W === "Escape" && (le(!1), fe());
|
|
1800
1800
|
};
|
|
1801
1801
|
ae(() => {
|
|
1802
1802
|
re && clearTimeout(re);
|
|
@@ -1820,12 +1820,12 @@ const ec = ({
|
|
|
1820
1820
|
const Xe = () => {
|
|
1821
1821
|
d(!1);
|
|
1822
1822
|
};
|
|
1823
|
-
return /* @__PURE__ */ O.jsx("div", { className:
|
|
1824
|
-
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${
|
|
1823
|
+
return /* @__PURE__ */ O.jsx("div", { className: je.multiSelectContainer, children: /* @__PURE__ */ O.jsxs("div", { className: je.listOptionsWrap, children: [
|
|
1824
|
+
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${je.selectedValuesWrap}`, ref: p, children: [
|
|
1825
1825
|
/* @__PURE__ */ O.jsx(
|
|
1826
1826
|
"div",
|
|
1827
1827
|
{
|
|
1828
|
-
className: `${
|
|
1828
|
+
className: `${je.selectedValues} ${s ? je.focused : ""} ${b.length === 0 ? je.placeholder : ""}`,
|
|
1829
1829
|
onFocus: Ce,
|
|
1830
1830
|
onBlur: ot,
|
|
1831
1831
|
onClick: () => le(!s),
|
|
@@ -1840,13 +1840,13 @@ const ec = ({
|
|
|
1840
1840
|
"aria-multiselectable": "true",
|
|
1841
1841
|
"aria-autocomplete": "list",
|
|
1842
1842
|
role: "combobox",
|
|
1843
|
-
children:
|
|
1843
|
+
children: me
|
|
1844
1844
|
}
|
|
1845
1845
|
),
|
|
1846
1846
|
/* @__PURE__ */ O.jsx(
|
|
1847
1847
|
"span",
|
|
1848
1848
|
{
|
|
1849
|
-
className:
|
|
1849
|
+
className: je.dropDownIcon,
|
|
1850
1850
|
onClick: () => le(!s),
|
|
1851
1851
|
"data-testid": "arrow-button",
|
|
1852
1852
|
children: /* @__PURE__ */ O.jsx("svg", { width: "12px", height: "7px", viewBox: "0 0 12 7", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ O.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(-2360.000000, -295.000000)", fill: "#666666", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(2006.000000, 248.000000)", children: /* @__PURE__ */ O.jsx(
|
|
@@ -1882,7 +1882,7 @@ const ec = ({
|
|
|
1882
1882
|
children: /* @__PURE__ */ O.jsxs(
|
|
1883
1883
|
"div",
|
|
1884
1884
|
{
|
|
1885
|
-
className: `${
|
|
1885
|
+
className: `${je.optionsListContainer}`,
|
|
1886
1886
|
ref: g,
|
|
1887
1887
|
onClick: (E) => E.stopPropagation(),
|
|
1888
1888
|
style: {
|
|
@@ -1892,14 +1892,14 @@ const ec = ({
|
|
|
1892
1892
|
top: k.top
|
|
1893
1893
|
},
|
|
1894
1894
|
children: [
|
|
1895
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1896
|
-
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className:
|
|
1895
|
+
/* @__PURE__ */ O.jsxs("div", { className: je.optionsListWrap, children: [
|
|
1896
|
+
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className: je.searchInputWrap, children: /* @__PURE__ */ O.jsx(
|
|
1897
1897
|
"input",
|
|
1898
1898
|
{
|
|
1899
1899
|
type: "text",
|
|
1900
1900
|
ref: S,
|
|
1901
1901
|
placeholder: "Type to filter",
|
|
1902
|
-
className:
|
|
1902
|
+
className: je.searchInput,
|
|
1903
1903
|
value: m,
|
|
1904
1904
|
onChange: (E) => h(E.target.value),
|
|
1905
1905
|
"data-testid": "search-input",
|
|
@@ -1913,8 +1913,8 @@ const ec = ({
|
|
|
1913
1913
|
/* @__PURE__ */ O.jsxs(
|
|
1914
1914
|
"li",
|
|
1915
1915
|
{
|
|
1916
|
-
className: `${
|
|
1917
|
-
onClick: () =>
|
|
1916
|
+
className: `${je.optionsList} ${W === P ? je.focused : ""}`,
|
|
1917
|
+
onClick: () => ve(E.id),
|
|
1918
1918
|
"aria-selected": W === P,
|
|
1919
1919
|
role: "option",
|
|
1920
1920
|
children: [
|
|
@@ -1933,7 +1933,7 @@ const ec = ({
|
|
|
1933
1933
|
)
|
|
1934
1934
|
)) })
|
|
1935
1935
|
] }),
|
|
1936
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1936
|
+
/* @__PURE__ */ O.jsxs("div", { className: je.btnContainer, children: [
|
|
1937
1937
|
/* @__PURE__ */ O.jsx(
|
|
1938
1938
|
"input",
|
|
1939
1939
|
{
|
|
@@ -2494,7 +2494,7 @@ function ci(...e) {
|
|
|
2494
2494
|
} });
|
|
2495
2495
|
return t;
|
|
2496
2496
|
}
|
|
2497
|
-
function
|
|
2497
|
+
function Le(e) {
|
|
2498
2498
|
var t;
|
|
2499
2499
|
return Object.assign(ct(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
2500
2500
|
}
|
|
@@ -2549,7 +2549,7 @@ function Rs(e, t) {
|
|
|
2549
2549
|
let { features: r = 1, ...n } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
|
|
2550
2550
|
return Ne({ ourProps: i, theirProps: n, slot: {}, defaultTag: Cs, name: "Hidden" });
|
|
2551
2551
|
}
|
|
2552
|
-
let pi =
|
|
2552
|
+
let pi = Le(Rs), Sr = vt(null);
|
|
2553
2553
|
Sr.displayName = "OpenClosedContext";
|
|
2554
2554
|
var Se = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Se || {});
|
|
2555
2555
|
function Qt() {
|
|
@@ -2701,15 +2701,15 @@ function Vs(e, t) {
|
|
|
2701
2701
|
}, 1() {
|
|
2702
2702
|
let I = C.value.slice(), V = I.findIndex((xe) => q(xe, _));
|
|
2703
2703
|
return V === -1 ? I.push(_) : I.splice(V, 1), a?.(I);
|
|
2704
|
-
} })), Q = ke(() => ({ onChange: ne, registerOption: B, registerLabel: fe, goToOption: pe, closeCombobox: re, openCombobox: G, selectActiveOption: k, selectOption: Z }), []),
|
|
2704
|
+
} })), Q = ke(() => ({ onChange: ne, registerOption: B, registerLabel: fe, goToOption: pe, closeCombobox: re, openCombobox: G, selectActiveOption: k, selectOption: Z }), []), me = t === null ? {} : { ref: t }, ve = j(null), le = nt();
|
|
2705
2705
|
return ae(() => {
|
|
2706
|
-
|
|
2706
|
+
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
2707
2707
|
a?.(n);
|
|
2708
2708
|
});
|
|
2709
|
-
}, [
|
|
2709
|
+
}, [ve, a]), ce.createElement(Tr.Provider, { value: Q }, ce.createElement(_r.Provider, { value: C }, ce.createElement(Er, { value: be(C.comboboxState, { 0: Se.Open, 1: Se.Closed }) }, o != null && d != null && Or({ [o]: d }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
2710
2710
|
var Ce;
|
|
2711
|
-
|
|
2712
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps:
|
|
2711
|
+
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
2712
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps: me, theirProps: s, slot: de, defaultTag: Ws, name: "Combobox" }))));
|
|
2713
2713
|
}
|
|
2714
2714
|
let Bs = "input";
|
|
2715
2715
|
function Us(e, t) {
|
|
@@ -2909,7 +2909,7 @@ function Xs(e, t) {
|
|
|
2909
2909
|
}), $ = ke(() => ({ active: h, selected: s, disabled: o }), [h, s, o]);
|
|
2910
2910
|
return Ne({ ourProps: { id: c, ref: u, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": s, disabled: void 0, onClick: S, onFocus: x, onPointerEnter: F, onMouseEnter: F, onPointerMove: P, onMouseMove: P, onPointerLeave: q, onMouseLeave: q }, theirProps: b, slot: $, defaultTag: Qs, name: "Combobox.Option" });
|
|
2911
2911
|
}
|
|
2912
|
-
let Zs =
|
|
2912
|
+
let Zs = Le(Vs), el = Le(qs), tl = Le(Us), rl = Le(Ys), nl = Le(Js), il = Le(Xs), Rt = Object.assign(Zs, { Input: tl, Button: el, Label: rl, Options: nl, Option: il });
|
|
2913
2913
|
function Cr() {
|
|
2914
2914
|
let e = j(!1);
|
|
2915
2915
|
return we(() => (e.current = !0, () => {
|
|
@@ -3047,15 +3047,15 @@ function bl(e, t) {
|
|
|
3047
3047
|
}, 1() {
|
|
3048
3048
|
let I = $.value.slice(), V = I.findIndex((xe) => P(xe, _));
|
|
3049
3049
|
return V === -1 ? I.push(_) : I.splice(V, 1), u?.(I);
|
|
3050
|
-
} })), fe = L((_) => g({ type: 3, value: _ })), ne = L(() => g({ type: 4 })), Q = ke(() => ({ onChange: B, registerOption: re, registerLabel: pe, goToOption: G, closeListbox: k, openListbox: Z, selectActiveOption: de, selectOption: z, search: fe, clearSearch: ne }), []),
|
|
3050
|
+
} })), fe = L((_) => g({ type: 3, value: _ })), ne = L(() => g({ type: 4 })), Q = ke(() => ({ onChange: B, registerOption: re, registerLabel: pe, goToOption: G, closeListbox: k, openListbox: Z, selectActiveOption: de, selectOption: z, search: fe, clearSearch: ne }), []), me = { ref: d }, ve = j(null), le = nt();
|
|
3051
3051
|
return ae(() => {
|
|
3052
|
-
|
|
3052
|
+
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
3053
3053
|
u?.(n);
|
|
3054
3054
|
});
|
|
3055
|
-
}, [
|
|
3055
|
+
}, [ve, u]), ce.createElement(Rr.Provider, { value: Q }, ce.createElement(Pr.Provider, { value: $ }, ce.createElement(Er, { value: be($.listboxState, { 0: Se.Open, 1: Se.Closed }) }, c != null && a != null && Or({ [c]: a }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
3056
3056
|
var Ce;
|
|
3057
|
-
|
|
3058
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps:
|
|
3057
|
+
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
3058
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps: me, theirProps: h, slot: C, defaultTag: pl, name: "Listbox" }))));
|
|
3059
3059
|
}
|
|
3060
3060
|
let vl = "button";
|
|
3061
3061
|
function ml(e, t) {
|
|
@@ -3188,7 +3188,7 @@ function kl(e, t) {
|
|
|
3188
3188
|
}), F = ke(() => ({ active: v, selected: m, disabled: i }), [v, m, i]);
|
|
3189
3189
|
return Ne({ ourProps: { id: n, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onClick: u, onFocus: p, onPointerEnter: S, onMouseEnter: S, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, theirProps: o, slot: F, defaultTag: Ol, name: "Listbox.Option" });
|
|
3190
3190
|
}
|
|
3191
|
-
let Sl =
|
|
3191
|
+
let Sl = Le(bl), El = Le(ml), Tl = Le(gl), _l = Le(yl), Cl = Le(kl), Kt = Object.assign(Sl, { Button: El, Label: Tl, Options: _l, Option: Cl });
|
|
3192
3192
|
function Rl(e = 0) {
|
|
3193
3193
|
let [t, r] = oe(e), n = Cr(), i = wt((b) => {
|
|
3194
3194
|
n.current && r((v) => v | b);
|
|
@@ -3361,8 +3361,8 @@ function Vl(e, t) {
|
|
|
3361
3361
|
}), onStop: ze((le) => {
|
|
3362
3362
|
Q.onStop(p, le, ne), le === "leave" && !er(Q) && (q("hidden"), z(p));
|
|
3363
3363
|
}) });
|
|
3364
|
-
let
|
|
3365
|
-
return re ?
|
|
3364
|
+
let me = u, ve = { ref: g };
|
|
3365
|
+
return re ? me = { ...me, className: zt(u.className, ...de.current.enter, ...de.current.enterFrom) } : (me.className = zt(u.className, (n = p.current) == null ? void 0 : n.className), me.className === "" && delete me.className), ce.createElement(Zt.Provider, { value: Q }, ce.createElement(Er, { value: be(P, { visible: Se.Open, hidden: Se.Closed }) | B.flags }, Ne({ ourProps: ve, theirProps: me, defaultTag: Wl, features: hi, visible: P === "visible", name: "Transition.Child" })));
|
|
3366
3366
|
}
|
|
3367
3367
|
function Bl(e, t) {
|
|
3368
3368
|
let { show: r, appear: n = !1, unmount: i = !0, ...c } = e, o = j(null), f = He(o, t);
|
|
@@ -3403,7 +3403,7 @@ function Ul(e, t) {
|
|
|
3403
3403
|
let r = ut(Xt) !== null, n = Qt() !== null;
|
|
3404
3404
|
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(gi, { ref: t, ...e }));
|
|
3405
3405
|
}
|
|
3406
|
-
let vr =
|
|
3406
|
+
let vr = Le(Bl), gi = Le(Vl), Hl = Le(Ul), wi = Object.assign(vr, { Child: Hl, Root: vr });
|
|
3407
3407
|
function ql({
|
|
3408
3408
|
title: e,
|
|
3409
3409
|
titleId: t,
|
|
@@ -3552,8 +3552,8 @@ const ac = ({
|
|
|
3552
3552
|
const G = a?.current?.getBoundingClientRect(), re = F(), pe = g.current - k.bottom;
|
|
3553
3553
|
let B;
|
|
3554
3554
|
if (G) {
|
|
3555
|
-
const fe = k.height, ne = k.top, Q = G.height,
|
|
3556
|
-
ne < Q && (
|
|
3555
|
+
const fe = k.height, ne = k.top, Q = G.height, me = Q > ne + window.scrollY;
|
|
3556
|
+
ne < Q && (me || me && pe < Q || re > Q || pe > Q) || ne > Q && pe > Q ? B = k.y + fe : B = k.y - Q, p({
|
|
3557
3557
|
left: k.left,
|
|
3558
3558
|
top: B ?? k.top
|
|
3559
3559
|
});
|