scandit-sdk
Version:
Scandit Barcode Scanner SDK for the Web
15 lines • 313 kB
JavaScript
/*!
* @license
*
* Scandit Barcode Scanner SDK for the Web
* v. 5.15.0
*
* Copyright © 2022 Scandit AG. All Rights Reserved.
*
* The use of this software is governed by the Scandit Terms and Conditions.
* https://ssl.scandit.com/terms/test.pdf
*
* The following sets forth attribution notices for third party software that may be contained in portions of the product.
* https://docs.scandit.com/stable/web/LICENSE
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ScanditSDK={})}(this,(function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=Math.ceil,r=Math.floor,i=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)},a=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},o=i,s=a,c={exports:{}},u=c.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=u);var l={exports:{}},d=l.exports={version:"2.6.12"};"number"==typeof __e&&(__e=d);var h=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},m=h,f=function(e,t,n){if(m(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},g={},p=function(e){return"object"==typeof e?null!==e:"function"==typeof e},v=p,y=function(e){if(!v(e))throw TypeError(e+" is not an object!");return e},b=function(e){try{return!!e()}catch(e){return!0}},S=!b((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),E=p,A=c.exports.document,C=E(A)&&E(A.createElement),w=function(e){return C?A.createElement(e):{}},_=!S&&!b((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),T=p,I=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},N=y,M=_,L=I,k=Object.defineProperty;g.f=S?Object.defineProperty:function(e,t,n){if(N(e),t=L(t,!0),N(n),M)try{return k(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},V=g,O=x,D=S?function(e,t,n){return V.f(e,t,O(1,n))}:function(e,t,n){return e[t]=n,e},R={}.hasOwnProperty,j=function(e,t){return R.call(e,t)},F=c.exports,P=l.exports,U=f,G=D,B=j,z=function(e,t,n){var r,i,a,o=e&z.F,s=e&z.G,c=e&z.S,u=e&z.P,l=e&z.B,d=e&z.W,h=s?P:P[t]||(P[t]={}),m=h.prototype,f=s?F:c?F[t]:(F[t]||{}).prototype;for(r in s&&(n=t),n)(i=!o&&f&&void 0!==f[r])&&B(h,r)||(a=i?f[r]:n[r],h[r]=s&&"function"!=typeof f[r]?n[r]:l&&i?U(a,F):d&&f[r]==a?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(a):u&&"function"==typeof a?U(Function.call,a):a,u&&((h.virtual||(h.virtual={}))[r]=a,e&z.R&&m&&!m[r]&&G(m,r,a)))};z.F=1,z.G=2,z.S=4,z.P=8,z.B=16,z.W=32,z.U=64,z.R=128;var W=z,Y=D,H={},Q={}.toString,Z=function(e){return Q.call(e).slice(8,-1)},q=Z,X=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==q(e)?e.split(""):Object(e)},J=X,K=a,$=function(e){return J(K(e))},ee=i,te=Math.min,ne=function(e){return e>0?te(ee(e),9007199254740991):0},re=i,ie=Math.max,ae=Math.min,oe=$,se=ne,ce={exports:{}},ue=l.exports,le=c.exports,de="__core-js_shared__",he=le[de]||(le[de]={});(ce.exports=function(e,t){return he[e]||(he[e]=void 0!==t?t:{})})("versions",[]).push({version:ue.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var me=0,fe=Math.random(),ge=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++me+fe).toString(36))},pe=ce.exports("keys"),ve=ge,ye=function(e){return pe[e]||(pe[e]=ve(e))},be=j,Se=$,Ee=(!1,function(e,t,n){for(var r=oe(e),i=se(r.length),a=function(e,t){return(e=re(e))<0?ie(e+t,0):ae(e,t)}(n,i);i>a;a++)if(a in r&&r[a]===t)return a||0;return-1}),Ae=ye("IE_PROTO"),Ce=function(e,t){var n,r=Se(e),i=0,a=[];for(n in r)n!=Ae&&be(r,n)&&a.push(n);for(;t.length>i;)be(r,n=t[i++])&&(~Ee(a,n)||a.push(n));return a},we="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_e=Ce,Te=we,Ie=Object.keys||function(e){return _e(e,Te)},Ne=g,Me=y,Le=Ie,ke=S?Object.defineProperties:function(e,t){Me(e);for(var n,r=Le(t),i=r.length,a=0;i>a;)Ne.f(e,n=r[a++],t[n]);return e},xe=c.exports.document,Ve=xe&&xe.documentElement,Oe=y,De=ke,Re=we,je=ye("IE_PROTO"),Fe=function(){},Pe=function(){var e,t=w("iframe"),n=Re.length;for(t.style.display="none",Ve.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),Pe=e.F;n--;)delete Pe.prototype[Re[n]];return Pe()},Ue=Object.create||function(e,t){var n;return null!==e?(Fe.prototype=Oe(e),n=new Fe,Fe.prototype=null,n[je]=e):n=Pe(),void 0===t?n:De(n,t)},Ge={exports:{}},Be=ce.exports("wks"),ze=ge,We=c.exports.Symbol,Ye="function"==typeof We;(Ge.exports=function(e){return Be[e]||(Be[e]=Ye&&We[e]||(Ye?We:ze)("Symbol."+e))}).store=Be;var He=g.f,Qe=j,Ze=Ge.exports("toStringTag"),qe=function(e,t,n){e&&!Qe(e=n?e:e.prototype,Ze)&&He(e,Ze,{configurable:!0,value:t})},Xe=Ue,Je=x,Ke=qe,$e={};D($e,Ge.exports("iterator"),(function(){return this}));var et=a,tt=function(e){return Object(et(e))},nt=j,rt=tt,it=ye("IE_PROTO"),at=Object.prototype,ot=Object.getPrototypeOf||function(e){return e=rt(e),nt(e,it)?e[it]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?at:null},st=W,ct=Y,ut=D,lt=H,dt=function(e,t,n){e.prototype=Xe($e,{next:Je(1,n)}),Ke(e,t+" Iterator")},ht=qe,mt=ot,ft=Ge.exports("iterator"),gt=!([].keys&&"next"in[].keys()),pt="keys",vt="values",yt=function(){return this},bt=function(e,t,n,r,i,a,o){dt(n,t,r);var s,c,u,l=function(e){if(!gt&&e in f)return f[e];switch(e){case pt:case vt:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",h=i==vt,m=!1,f=e.prototype,g=f[ft]||f["@@iterator"]||i&&f[i],p=g||l(i),v=i?h?l("entries"):p:void 0,y="Array"==t&&f.entries||g;if(y&&(u=mt(y.call(new e)))!==Object.prototype&&u.next&&ht(u,d,!0),h&&g&&g.name!==vt&&(m=!0,p=function(){return g.call(this)}),o&&(gt||m||!f[ft])&&ut(f,ft,p),lt[t]=p,lt[d]=yt,i)if(s={values:h?p:l(vt),keys:a?p:l(pt),entries:v},o)for(c in s)c in f||ct(f,c,s[c]);else st(st.P+st.F*(gt||m),t,s);return s},St=function(e,t){var n,r,i=String(s(e)),a=o(t),c=i.length;return a<0||a>=c?"":(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(r=i.charCodeAt(a+1))<56320||r>57343?i.charAt(a):i.slice(a,a+2)};bt(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=St(t,n),this._i+=e.length,{value:e,done:!1})}));var Et=function(e,t){return{value:t,done:!!e}},At=Et,Ct=H,wt=$;bt(Array,"Array",(function(e,t){this._t=wt(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,At(1)):At(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),Ct.Arguments=Ct.Array;for(var _t=c.exports,Tt=D,It=H,Nt=Ge.exports("toStringTag"),Mt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Lt=0;Lt<Mt.length;Lt++){var kt=Mt[Lt],xt=_t[kt],Vt=xt&&xt.prototype;Vt&&!Vt[Nt]&&Tt(Vt,Nt,kt),It[kt]=It.Array}var Ot=Z,Dt=Ge.exports("toStringTag"),Rt="Arguments"==Ot(function(){return arguments}()),jt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Dt))?n:Rt?Ot(t):"Object"==(r=Ot(t))&&"function"==typeof t.callee?"Arguments":r},Ft=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},Pt={exports:{}},Ut=y,Gt=function(e,t,n,r){try{return r?t(Ut(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&Ut(i.call(e)),t}},Bt=H,zt=Ge.exports("iterator"),Wt=Array.prototype,Yt=function(e){return void 0!==e&&(Bt.Array===e||Wt[zt]===e)},Ht=jt,Qt=Ge.exports("iterator"),Zt=H,qt=l.exports.getIteratorMethod=function(e){if(null!=e)return e[Qt]||e["@@iterator"]||Zt[Ht(e)]},Xt=f,Jt=Gt,Kt=Yt,$t=y,en=ne,tn=qt,nn={},rn={},an=Pt.exports=function(e,t,n,r,i){var a,o,s,c,u=i?function(){return e}:tn(e),l=Xt(n,r,t?2:1),d=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(Kt(u)){for(a=en(e.length);a>d;d++)if((c=t?l($t(o=e[d])[0],o[1]):l(e[d]))===nn||c===rn)return c}else for(s=u.call(e);!(o=s.next()).done;)if((c=Jt(s,l,o.value,t))===nn||c===rn)return c};an.BREAK=nn,an.RETURN=rn;var on,sn,cn,un=y,ln=h,dn=Ge.exports("species"),hn=function(e,t){var n,r=un(e).constructor;return void 0===r||null==(n=un(r)[dn])?t:ln(n)},mn=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},fn=f,gn=mn,pn=Ve,vn=w,yn=c.exports,bn=yn.process,Sn=yn.setImmediate,En=yn.clearImmediate,An=yn.MessageChannel,Cn=yn.Dispatch,wn=0,_n={},Tn=function(){var e=+this;if(_n.hasOwnProperty(e)){var t=_n[e];delete _n[e],t()}},In=function(e){Tn.call(e.data)};Sn&&En||(Sn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _n[++wn]=function(){gn("function"==typeof e?e:Function(e),t)},on(wn),wn},En=function(e){delete _n[e]},"process"==Z(bn)?on=function(e){bn.nextTick(fn(Tn,e,1))}:Cn&&Cn.now?on=function(e){Cn.now(fn(Tn,e,1))}:An?(cn=(sn=new An).port2,sn.port1.onmessage=In,on=fn(cn.postMessage,cn,1)):yn.addEventListener&&"function"==typeof postMessage&&!yn.importScripts?(on=function(e){yn.postMessage(e+"","*")},yn.addEventListener("message",In,!1)):on="onreadystatechange"in vn("script")?function(e){pn.appendChild(vn("script")).onreadystatechange=function(){pn.removeChild(this),Tn.call(e)}}:function(e){setTimeout(fn(Tn,e,1),0)});var Nn={set:Sn,clear:En},Mn=c.exports,Ln=Nn.set,kn=Mn.MutationObserver||Mn.WebKitMutationObserver,xn=Mn.process,Vn=Mn.Promise,On="process"==Z(xn),Dn={},Rn=h;function jn(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Rn(t),this.reject=Rn(n)}Dn.f=function(e){return new jn(e)};var Fn=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},Pn=c.exports.navigator,Un=Pn&&Pn.userAgent||"",Gn=y,Bn=p,zn=Dn,Wn=function(e,t){if(Gn(e),Bn(t)&&t.constructor===e)return t;var n=zn.f(e);return(0,n.resolve)(t),n.promise},Yn=D,Hn=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:Yn(e,r,t[r]);return e},Qn=c.exports,Zn=l.exports,qn=g,Xn=S,Jn=Ge.exports("species"),Kn=function(e){var t="function"==typeof Zn[e]?Zn[e]:Qn[e];Xn&&t&&!t[Jn]&&qn.f(t,Jn,{configurable:!0,get:function(){return this}})},$n=Ge.exports("iterator"),er=!1;try{var tr=[7][$n]();tr.return=function(){er=!0},Array.from(tr,(function(){throw 2}))}catch(e){}var nr,rr,ir,ar,or=function(e,t){if(!t&&!er)return!1;var n=!1;try{var r=[7],i=r[$n]();i.next=function(){return{done:n=!0}},r[$n]=function(){return i},e(r)}catch(e){}return n},sr=c.exports,cr=f,ur=jt,lr=W,dr=p,hr=h,mr=Ft,fr=Pt.exports,gr=hn,pr=Nn.set,vr=function(){var e,t,n,r=function(){var r,i;for(On&&(r=xn.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(On)n=function(){xn.nextTick(r)};else if(!kn||Mn.navigator&&Mn.navigator.standalone)if(Vn&&Vn.resolve){var i=Vn.resolve(void 0);n=function(){i.then(r)}}else n=function(){Ln.call(Mn,r)};else{var a=!0,o=document.createTextNode("");new kn(r).observe(o,{characterData:!0}),n=function(){o.data=a=!a}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),yr=Dn,br=Fn,Sr=Un,Er=Wn,Ar="Promise",Cr=sr.TypeError,wr=sr.process,_r=wr&&wr.versions,Tr=_r&&_r.v8||"",Ir=sr.Promise,Nr="process"==ur(wr),Mr=function(){},Lr=rr=yr.f,kr=!!function(){try{var e=Ir.resolve(1),t=(e.constructor={})[Ge.exports("species")]=function(e){e(Mr,Mr)};return(Nr||"function"==typeof PromiseRejectionEvent)&&e.then(Mr)instanceof t&&0!==Tr.indexOf("6.6")&&-1===Sr.indexOf("Chrome/66")}catch(e){}}(),xr=function(e){var t;return!(!dr(e)||"function"!=typeof(t=e.then))&&t},Vr=function(e,t){if(!e._n){e._n=!0;var n=e._c;vr((function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&Rr(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),o=!0)),n===t.promise?u(Cr("Promise-chain cycle")):(a=xr(n))?a.call(n,c,u):c(n)):u(r)}catch(e){l&&!o&&l.exit(),u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&Or(e)}))}},Or=function(e){pr.call(sr,(function(){var t,n,r,i=e._v,a=Dr(e);if(a&&(t=br((function(){Nr?wr.emit("unhandledRejection",i,e):(n=sr.onunhandledrejection)?n({promise:e,reason:i}):(r=sr.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=Nr||Dr(e)?2:1),e._a=void 0,a&&t.e)throw t.v}))},Dr=function(e){return 1!==e._h&&0===(e._a||e._c).length},Rr=function(e){pr.call(sr,(function(){var t;Nr?wr.emit("rejectionHandled",e):(t=sr.onrejectionhandled)&&t({promise:e,reason:e._v})}))},jr=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Vr(t,!0))},Fr=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Cr("Promise can't be resolved itself");(t=xr(e))?vr((function(){var r={_w:n,_d:!1};try{t.call(e,cr(Fr,r,1),cr(jr,r,1))}catch(e){jr.call(r,e)}})):(n._v=e,n._s=1,Vr(n,!1))}catch(e){jr.call({_w:n,_d:!1},e)}}};kr||(Ir=function(e){mr(this,Ir,Ar,"_h"),hr(e),nr.call(this);try{e(cr(Fr,this,1),cr(jr,this,1))}catch(e){jr.call(this,e)}},(nr=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=Hn(Ir.prototype,{then:function(e,t){var n=Lr(gr(this,Ir));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Nr?wr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Vr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ir=function(){var e=new nr;this.promise=e,this.resolve=cr(Fr,e,1),this.reject=cr(jr,e,1)},yr.f=Lr=function(e){return e===Ir||e===ar?new ir(e):rr(e)}),lr(lr.G+lr.W+lr.F*!kr,{Promise:Ir}),qe(Ir,Ar),Kn(Ar),ar=l.exports.Promise,lr(lr.S+lr.F*!kr,Ar,{reject:function(e){var t=Lr(this);return(0,t.reject)(e),t.promise}}),lr(lr.S+!0*lr.F,Ar,{resolve:function(e){return Er(this===ar?Ir:this,e)}}),lr(lr.S+lr.F*!(kr&&or((function(e){Ir.all(e).catch(Mr)}))),Ar,{all:function(e){var t=this,n=Lr(t),r=n.resolve,i=n.reject,a=br((function(){var n=[],a=0,o=1;fr(e,!1,(function(e){var s=a++,c=!1;n.push(void 0),o++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--o||r(n))}),i)})),--o||r(n)}));return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=Lr(t),r=n.reject,i=br((function(){fr(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}});var Pr=W,Ur=l.exports,Gr=c.exports,Br=hn,zr=Wn;Pr(Pr.P+Pr.R,"Promise",{finally:function(e){var t=Br(this,Ur.Promise||Gr.Promise),n="function"==typeof e;return this.then(n?function(n){return zr(t,e()).then((function(){return n}))}:e,n?function(n){return zr(t,e()).then((function(){throw n}))}:e)}});var Wr=Dn,Yr=Fn;W(W.S,"Promise",{try:function(e){var t=Wr.f(this),n=Yr(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Hr=l.exports.Promise;function Qr(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Hr.resolve(c).then(r,i)}function Zr(e){return function(){var t=this,n=arguments;return new Hr((function(r,i){var a=e.apply(t,n);function o(e){Qr(a,r,i,o,s,"next",e)}function s(e){Qr(a,r,i,o,s,"throw",e)}o(void 0)}))}}var qr={exports:{}},Xr={exports:{}},Jr={exports:{}},Kr=ge("meta"),$r=p,ei=j,ti=g.f,ni=0,ri=Object.isExtensible||function(){return!0},ii=!b((function(){return ri(Object.preventExtensions({}))})),ai=function(e){ti(e,Kr,{value:{i:"O"+ ++ni,w:{}}})},oi=Jr.exports={KEY:Kr,NEED:!1,fastKey:function(e,t){if(!$r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ei(e,Kr)){if(!ri(e))return"F";if(!t)return"E";ai(e)}return e[Kr].i},getWeak:function(e,t){if(!ei(e,Kr)){if(!ri(e))return!0;if(!t)return!1;ai(e)}return e[Kr].w},onFreeze:function(e){return ii&&oi.NEED&&ri(e)&&!ei(e,Kr)&&ai(e),e}},si={};si.f=Ge.exports;var ci=l.exports,ui=si,li=g.f,di=function(e){var t=ci.Symbol||(ci.Symbol={});"_"==e.charAt(0)||e in t||li(t,e,{value:ui.f(e)})},hi={};hi.f=Object.getOwnPropertySymbols;var mi={};mi.f={}.propertyIsEnumerable;var fi=Ie,gi=hi,pi=mi,vi=Z,yi=Array.isArray||function(e){return"Array"==vi(e)},bi={},Si={},Ei=Ce,Ai=we.concat("length","prototype");Si.f=Object.getOwnPropertyNames||function(e){return Ei(e,Ai)};var Ci=$,wi=Si.f,_i={}.toString,Ti="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];bi.f=function(e){return Ti&&"[object Window]"==_i.call(e)?function(e){try{return wi(e)}catch(e){return Ti.slice()}}(e):wi(Ci(e))};var Ii={},Ni=mi,Mi=x,Li=$,ki=I,xi=j,Vi=_,Oi=Object.getOwnPropertyDescriptor;Ii.f=S?Oi:function(e,t){if(e=Li(e),t=ki(t,!0),Vi)try{return Oi(e,t)}catch(e){}if(xi(e,t))return Mi(!Ni.f.call(e,t),e[t])};var Di=c.exports,Ri=j,ji=S,Fi=W,Pi=Y,Ui=Jr.exports.KEY,Gi=b,Bi=ce.exports,zi=qe,Wi=ge,Yi=Ge.exports,Hi=si,Qi=di,Zi=yi,qi=y,Xi=p,Ji=tt,Ki=$,$i=I,ea=x,ta=Ue,na=bi,ra=Ii,ia=hi,aa=g,oa=Ie,sa=ra.f,ca=aa.f,ua=na.f,la=Di.Symbol,da=Di.JSON,ha=da&&da.stringify,ma=Yi("_hidden"),fa=Yi("toPrimitive"),ga={}.propertyIsEnumerable,pa=Bi("symbol-registry"),va=Bi("symbols"),ya=Bi("op-symbols"),ba=Object.prototype,Sa="function"==typeof la&&!!ia.f,Ea=Di.QObject,Aa=!Ea||!Ea.prototype||!Ea.prototype.findChild,Ca=ji&&Gi((function(){return 7!=ta(ca({},"a",{get:function(){return ca(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=sa(ba,t);r&&delete ba[t],ca(e,t,n),r&&e!==ba&&ca(ba,t,r)}:ca,wa=function(e){var t=va[e]=ta(la.prototype);return t._k=e,t},_a=Sa&&"symbol"==typeof la.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof la},Ta=function(e,t,n){return e===ba&&Ta(ya,t,n),qi(e),t=$i(t,!0),qi(n),Ri(va,t)?(n.enumerable?(Ri(e,ma)&&e[ma][t]&&(e[ma][t]=!1),n=ta(n,{enumerable:ea(0,!1)})):(Ri(e,ma)||ca(e,ma,ea(1,{})),e[ma][t]=!0),Ca(e,t,n)):ca(e,t,n)},Ia=function(e,t){qi(e);for(var n,r=function(e){var t=fi(e),n=gi.f;if(n)for(var r,i=n(e),a=pi.f,o=0;i.length>o;)a.call(e,r=i[o++])&&t.push(r);return t}(t=Ki(t)),i=0,a=r.length;a>i;)Ta(e,n=r[i++],t[n]);return e},Na=function(e,t){if(e=Ki(e),t=$i(t,!0),e!==ba||!Ri(va,t)||Ri(ya,t)){var n=sa(e,t);return!n||!Ri(va,t)||Ri(e,ma)&&e[ma][t]||(n.enumerable=!0),n}},Ma=function(e){for(var t,n=ua(Ki(e)),r=[],i=0;n.length>i;)Ri(va,t=n[i++])||t==ma||t==Ui||r.push(t);return r},La=function(e){for(var t,n=e===ba,r=ua(n?ya:Ki(e)),i=[],a=0;r.length>a;)!Ri(va,t=r[a++])||n&&!Ri(ba,t)||i.push(va[t]);return i};Sa||(la=function(){if(this instanceof la)throw TypeError("Symbol is not a constructor!");var e=Wi(arguments.length>0?arguments[0]:void 0),t=function(n){this===ba&&t.call(ya,n),Ri(this,ma)&&Ri(this[ma],e)&&(this[ma][e]=!1),Ca(this,e,ea(1,n))};return ji&&Aa&&Ca(ba,e,{configurable:!0,set:t}),wa(e)},Pi(la.prototype,"toString",(function(){return this._k})),ra.f=Na,aa.f=Ta,Si.f=na.f=Ma,mi.f=function(e){var t=ga.call(this,e=$i(e,!0));return!(this===ba&&Ri(va,e)&&!Ri(ya,e))&&(!(t||!Ri(this,e)||!Ri(va,e)||Ri(this,ma)&&this[ma][e])||t)},ia.f=La,Hi.f=function(e){return wa(Yi(e))}),Fi(Fi.G+Fi.W+Fi.F*!Sa,{Symbol:la});for(var ka="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),xa=0;ka.length>xa;)Yi(ka[xa++]);for(var Va=oa(Yi.store),Oa=0;Va.length>Oa;)Qi(Va[Oa++]);Fi(Fi.S+Fi.F*!Sa,"Symbol",{for:function(e){return Ri(pa,e+="")?pa[e]:pa[e]=la(e)},keyFor:function(e){if(!_a(e))throw TypeError(e+" is not a symbol!");for(var t in pa)if(pa[t]===e)return t},useSetter:function(){Aa=!0},useSimple:function(){Aa=!1}}),Fi(Fi.S+Fi.F*!Sa,"Object",{create:function(e,t){return void 0===t?ta(e):Ia(ta(e),t)},defineProperty:Ta,defineProperties:Ia,getOwnPropertyDescriptor:Na,getOwnPropertyNames:Ma,getOwnPropertySymbols:La});var Da=Gi((function(){ia.f(1)}));Fi(Fi.S+Fi.F*Da,"Object",{getOwnPropertySymbols:function(e){return ia.f(Ji(e))}}),da&&Fi(Fi.S+Fi.F*(!Sa||Gi((function(){var e=la();return"[null]"!=ha([e])||"{}"!=ha({a:e})||"{}"!=ha(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(Xi(t)||void 0!==e)&&!_a(e))return Zi(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!_a(t))return t}),r[1]=t,ha.apply(da,r)}}),la.prototype[fa]||D(la.prototype,fa,la.prototype.valueOf),zi(la,"Symbol"),zi(Math,"Math",!0),zi(Di.JSON,"JSON",!0),di("asyncIterator"),di("observable");var Ra=l.exports.Symbol,ja=si.f("iterator");!function(e){var t=Ra,n=ja;function r(i){return e.exports=r="function"==typeof t&&"symbol"==typeof n?function(e){return typeof e}:function(e){return e&&"function"==typeof t&&e.constructor===t&&e!==t.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(i)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(Xr);var Fa=W;Fa(Fa.S+Fa.F*!S,"Object",{defineProperty:g.f});var Pa=l.exports.Object,Ua=function(e,t,n){return Pa.defineProperty(e,t,n)};W(W.S,"Object",{create:Ue});var Ga,Ba,za,Wa,Ya=l.exports.Object,Ha=function(e,t){return Ya.create(e,t)},Qa=W,Za=l.exports,qa=b,Xa=tt,Ja=ot;Ga="getPrototypeOf",Ba=function(){return function(e){return Ja(Xa(e))}},za=(Za.Object||{})[Ga]||Object[Ga],(Wa={})[Ga]=Ba(),Qa(Qa.S+Qa.F*qa((function(){za(1)})),"Object",Wa);var Ka=l.exports.Object.getPrototypeOf,$a=p,eo=y,to=function(e,t){if(eo(e),!$a(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},no={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=f(Function.call,Ii.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return to(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:to};W(W.S,"Object",{setPrototypeOf:no.set});var ro=l.exports.Object.setPrototypeOf;!function(e){var t=Xr.exports.default,n=Ua,r=Ra,i=Ha,a=Ka,o=ro,s=Hr;function c(){e.exports=c=function(){return u},e.exports.__esModule=!0,e.exports.default=e.exports;var u={},l=Object.prototype,d=l.hasOwnProperty,h=n||function(e,t,n){e[t]=n.value},m="function"==typeof r?r:{},f=m.iterator||"@@iterator",g=m.asyncIterator||"@@asyncIterator",p=m.toStringTag||"@@toStringTag";function v(e,t,r){return n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{v({},"")}catch(e){v=function(e,t,n){return e[t]=n}}function y(e,t,n,r){var a=t&&t.prototype instanceof E?t:E,o=i(a.prototype),s=new V(r||[]);return h(o,"_invoke",{value:M(e,n,s)}),o}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}u.wrap=y;var S={};function E(){}function A(){}function C(){}var w={};v(w,f,(function(){return this}));var _=a&&a(a(O([])));_&&_!==l&&d.call(_,f)&&(w=_);var T=C.prototype=E.prototype=i(w);function I(e){["next","throw","return"].forEach((function(t){v(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,n){function r(i,a,o,s){var c=b(e[i],e,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==t(l)&&d.call(l,"__await")?n.resolve(l.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):n.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return r("throw",e,o,s)}))}s(c.arg)}var i;h(this,"_invoke",{value:function(e,t){function a(){return new n((function(n,i){r(e,t,n,i)}))}return i=i?i.then(a,a):a()}})}function M(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=L(o,n);if(s){if(s===S)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=b(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===S)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),S;var i=b(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,S;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,S):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[f];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(d.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:D}}function D(){return{value:void 0,done:!0}}return A.prototype=C,h(T,"constructor",{value:C,configurable:!0}),h(C,"constructor",{value:A,configurable:!0}),A.displayName=v(C,p,"GeneratorFunction"),u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===A||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return o?o(e,C):(e.__proto__=C,v(e,p,"GeneratorFunction")),e.prototype=i(T),e},u.awrap=function(e){return{__await:e}},I(N.prototype),v(N.prototype,g,(function(){return this})),u.AsyncIterator=N,u.async=function(e,t,n,r,i){void 0===i&&(i=s);var a=new N(y(e,t,n,r),i);return u.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},I(T),v(T,p,"Generator"),v(T,f,(function(){return this})),v(T,"toString",(function(){return"[object Generator]"})),u.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},u.values=O,V.prototype={constructor:V,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&d.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var o=d.call(i,"catchLoc"),s=d.call(i,"finallyLoc");if(o&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&d.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,S):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),S},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),S}},u}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports}(qr);var io=qr.exports(),ao=io;try{regeneratorRuntime=io}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=io:Function("r","regeneratorRuntime = r")(io)}!function(){if("undefined"!=typeof window){var e=window.navigator.userAgent.match(/Edge\/(\d{2})\./),t=e?parseInt(e[1],10):null,n=!!t&&16<=t&&t<=18;if("objectFit"in document.documentElement.style==0||n){var r=function(e,t,n){var r,i,a,o,s;if((n=n.split(" ")).length<2&&(n[1]=n[0]),"x"===e)r=n[0],i=n[1],a="left",o="right",s=t.clientWidth;else{if("y"!==e)return;r=n[1],i=n[0],a="top",o="bottom",s=t.clientHeight}if(r!==a&&i!==a){if(r!==o&&i!==o)return"center"===r||"50%"===r?(t.style[a]="50%",void(t.style["margin-"+a]=s/-2+"px")):void(0<=r.indexOf("%")?(r=parseInt(r,10))<50?(t.style[a]=r+"%",t.style["margin-"+a]=s*(r/-100)+"px"):(r=100-r,t.style[o]=r+"%",t.style["margin-"+o]=s*(r/-100)+"px"):t.style[a]=r);t.style[o]="0"}else t.style[a]="0"},i=function(e){var t=e.dataset?e.dataset.objectFit:e.getAttribute("data-object-fit"),n=e.dataset?e.dataset.objectPosition:e.getAttribute("data-object-position");t=t||"cover",n=n||"50% 50%";var i=e.parentNode;return function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("position"),r=t.getPropertyValue("overflow"),i=t.getPropertyValue("display");n&&"static"!==n||(e.style.position="relative"),"hidden"!==r&&(e.style.overflow="hidden"),i&&"inline"!==i||(e.style.display="block"),0===e.clientHeight&&(e.style.height="100%"),-1===e.className.indexOf("object-fit-polyfill")&&(e.className=e.className+" object-fit-polyfill")}(i),function(e){var t=window.getComputedStyle(e,null),n={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var r in n)t.getPropertyValue(r)!==n[r]&&(e.style[r]=n[r])}(e),e.style.position="absolute",e.style.width="auto",e.style.height="auto","scale-down"===t&&(t=e.clientWidth<i.clientWidth&&e.clientHeight<i.clientHeight?"none":"contain"),"none"===t?(r("x",e,n),void r("y",e,n)):"fill"===t?(e.style.width="100%",e.style.height="100%",r("x",e,n),void r("y",e,n)):(e.style.height="100%",void("cover"===t&&e.clientWidth>i.clientWidth||"contain"===t&&e.clientWidth<i.clientWidth?(e.style.top="0",e.style.marginTop="0",r("x",e,n)):(e.style.width="100%",e.style.height="auto",e.style.left="0",e.style.marginLeft="0",r("y",e,n))))},a=function(e){if(void 0===e||e instanceof Event)e=document.querySelectorAll("[data-object-fit]");else if(e&&e.nodeName)e=[e];else if("object"!=typeof e||!e.length||!e[0].nodeName)return!1;for(var t=0;t<e.length;t++)if(e[t].nodeName){var r=e[t].nodeName.toLowerCase();if("img"===r){if(n)continue;e[t].complete?i(e[t]):e[t].addEventListener("load",(function(){i(this)}))}else"video"===r?0<e[t].readyState?i(e[t]):e[t].addEventListener("loadedmetadata",(function(){i(this)})):i(e[t])}return!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",a):a(),window.addEventListener("resize",a),window.objectFitPolyfill=a}else window.objectFitPolyfill=function(){return!1}}}();var oo=g,so=x,co=function(e,t,n){t in e?oo.f(e,t,so(0,n)):e[t]=n},uo=f,lo=W,ho=tt,mo=Gt,fo=Yt,go=ne,po=co,vo=qt;lo(lo.S+lo.F*!or((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,r,i,a=ho(e),o="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,u=void 0!==c,l=0,d=vo(a);if(u&&(c=uo(c,s>2?arguments[2]:void 0,2)),null==d||o==Array&&fo(d))for(n=new o(t=go(a.length));t>l;l++)po(n,l,u?c(a[l],l):a[l]);else for(i=d.call(a),n=new o;!(r=i.next()).done;l++)po(n,l,u?mo(i,c,[r.value,l],!0):r.value);return n.length=l,n}});var yo=l.exports.Array.from;function bo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var So=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=bo({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in i)i[o]&&(a+="; "+o,!0!==i[o]&&(a+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(r[s]=t.read(o,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",bo({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,bo({},this.attributes,t))},withConverter:function(t){return e(bo({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),Eo={exports:{}};!function(e,n){!function(t,r){var i="function",a="undefined",o="object",s="string",c="model",u="name",l="type",d="vendor",h="version",m="architecture",f="console",g="mobile",p="tablet",v="smarttv",y="wearable",b="embedded",S="Amazon",E="Apple",A="ASUS",C="BlackBerry",w="Google",_="Huawei",T="LG",I="Microsoft",N="Motorola",M="Samsung",L="Sharp",k="Sony",x="Xiaomi",V="Zebra",O="Facebook",D=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==j(t).indexOf(j(e))},j=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===a?e:e.substring(0,350)},P=function(e,t){for(var n,a,s,c,u,l,d=0;d<t.length&&!u;){var h=t[d],m=t[d+1];for(n=a=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(s=0;s<m.length;s++)l=u[++a],typeof(c=m[s])===o&&c.length>0?2===c.length?typeof c[1]==i?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==i||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):r:this[c[0]]=l?c[1].call(this,l,c[2]):r:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):r):this[c]=l||r;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(R(t[n][i],e))return"?"===n?r:n}else if(R(t[n],e))return"?"===n?r:n;return e},G={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"},B={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[u,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,O],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,U,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,"Firefox 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],[u,h],[/(cobalt)\/([\w\.]+)/i],[u,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,j]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",j]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,M],[l,p]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,M],[l,g]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[d,E],[l,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,E],[l,p]],[/(macintosh);/i],[c,[d,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,_],[l,p]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,_],[l,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[d,x],[l,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,x],[l,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[l,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[l,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[l,g]],[/\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],[c,[d,N],[l,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,N],[l,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,T],[l,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,T],[l,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[l,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[l,g]],[/(pixel c)\b/i],[c,[d,w],[l,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,w],[l,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,k],[l,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,k],[l,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[l,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,S],[l,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,S],[l,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[l,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,C],[l,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,A],[l,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,A],[l,g]],[/(nexus 9)/i],[c,[d,"HTC"],[l,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[l,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[l,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[l,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,L],[l,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[l,g]],[/(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],[d,c,[l,p]],[/(surface duo)/i],[c,[d,I],[l,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[l,g]],[/(u304aa)/i],[c,[d,"AT&T"],[l,g]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[l,g]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[l,p]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[l,p]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[l,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[l,p]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[l,p]],[/\b(k88) b/i],[c,[d,"ZTE"],[l,p]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[l,g]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[l,g]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[l,p]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[l,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[l,p]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[l,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[l,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[l,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[l,g]],[/\b(ph-1) /i],[c,[d,"Essential"],[l,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[l,p]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[l,p]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[l,p]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[l,p]],[/(sprint) (\w+)/i],[d,c,[l,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,I],[l,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,V],[l,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,V],[l,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[l,f]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[l,f]],[/(playstation [345portablevi]+)/i],[c,[d,k],[l,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,I],[l,f]],[/smart-tv.+(samsung)/i],[d,[l,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,M],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,T],[l,v]],[/(apple) ?tv/i],[d,[c,"Apple TV"],[l,v]],[/crkey/i],[[c,"Chromecast"],[d,w],[l,v]],[/droid.+aft(\w)( bui|\))/i],[c,[d,S],[l,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,L],[l,v]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,k],[l,v]],[/(mitv-\w{5}) bui/i],[c,[d,x],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[c,F],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[d,c,[l,y]],[/droid.+; (glass) \d/i],[c,[d,w],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,V],[l,y]],[/(quest( 2)?)/i],[c,[d,O],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[l,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[l,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"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],[u,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[h,U,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[h,U,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],h],[/(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],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,h]]},z=function(e,n){if(typeof e===o&&(n=e,e=r),!(this instanceof z))return new z(e,n).getResult();var i=e||(typeof t!==a&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:""),c=n?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(B,n):B;return this.getBrowser=function(){var e,t={};return t.name=r,t.version=r,P.call(t,i,c.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,t},this.getCPU=function(){var e={};return e.architecture=r,P.call(e,i,c.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,P.call(e,i,c.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,P.call(e,i,c.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,P.call(e,i,c.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===s&&e.length>350?F(e,350):e,this},this.setUA(i),this};z.VERSION="1.0.33",z.BROWSER=D([u,h,"major"]),z.CPU=D([m]),z.DEVICE=D([c,d,l,f,g,v,p,y,b]),z.ENGINE=z.OS=D([u