scandit-sdk
Version:
Scandit Barcode Scanner SDK for the Web
15 lines • 310 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
*/
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Math.ceil,n=Math.floor,i=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)},r=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},a=i,o=r,s={exports:{}},c=s.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c);var u={exports:{}},l=u.exports={version:"2.6.12"};"number"==typeof __e&&(__e=l);var d=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},h=d,m=function(e,t,n){if(h(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},f={},v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},p=v,g=function(e){if(!p(e))throw TypeError(e+" is not an object!");return e},y=function(e){try{return!!e()}catch(e){return!0}},b=!y((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),S=v,E=s.exports.document,A=S(E)&&S(E.createElement),C=function(e){return A?E.createElement(e):{}},w=!b&&!y((function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})),_=v,T=function(e,t){if(!_(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!_(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!_(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!_(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},I=g,N=w,M=T,k=Object.defineProperty;f.f=b?Object.defineProperty:function(e,t,n){if(I(e),t=M(t,!0),I(n),N)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}},L=f,V=x,O=b?function(e,t,n){return L.f(e,t,V(1,n))}:function(e,t,n){return e[t]=n,e},D={}.hasOwnProperty,R=function(e,t){return D.call(e,t)},j=s.exports,F=u.exports,P=m,U=O,G=R,z=function(e,t,n){var i,r,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?F:F[t]||(F[t]={}),m=h.prototype,f=s?j:c?j[t]:(j[t]||{}).prototype;for(i in s&&(n=t),n)(r=!o&&f&&void 0!==f[i])&&G(h,i)||(a=r?f[i]:n[i],h[i]=s&&"function"!=typeof f[i]?n[i]:l&&r?P(a,j):d&&f[i]==a?function(e){var t=function(t,n,i){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,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(a):u&&"function"==typeof a?P(Function.call,a):a,u&&((h.virtual||(h.virtual={}))[i]=a,e&z.R&&m&&!m[i]&&U(m,i,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 B=z,W=O,Y={},H={}.toString,Q=function(e){return H.call(e).slice(8,-1)},Z=Q,q=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Z(e)?e.split(""):Object(e)},X=q,J=r,K=function(e){return X(J(e))},$=i,ee=Math.min,te=function(e){return e>0?ee($(e),9007199254740991):0},ne=i,ie=Math.max,re=Math.min,ae=K,oe=te,se={exports:{}},ce=u.exports,ue=s.exports,le=ue["__core-js_shared__"]||(ue["__core-js_shared__"]={});(se.exports=function(e,t){return le[e]||(le[e]=void 0!==t?t:{})})("versions",[]).push({version:ce.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var de=0,he=Math.random(),me=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++de+he).toString(36))},fe=se.exports("keys"),ve=me,pe=function(e){return fe[e]||(fe[e]=ve(e))},ge=R,ye=K,be=function(e,t,n){for(var i=ae(e),r=oe(i.length),a=function(e,t){return(e=ne(e))<0?ie(e+t,0):re(e,t)}(n,r);r>a;a++)if(a in i&&i[a]===t)return a||0;return-1},Se=pe("IE_PROTO"),Ee=function(e,t){var n,i=ye(e),r=0,a=[];for(n in i)n!=Se&&ge(i,n)&&a.push(n);for(;t.length>r;)ge(i,n=t[r++])&&(~be(a,n)||a.push(n));return a},Ae="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ce=Ee,we=Ae,_e=Object.keys||function(e){return Ce(e,we)},Te=f,Ie=g,Ne=_e,Me=b?Object.defineProperties:function(e,t){Ie(e);for(var n,i=Ne(t),r=i.length,a=0;r>a;)Te.f(e,n=i[a++],t[n]);return e},ke=s.exports.document,xe=ke&&ke.documentElement,Le=g,Ve=Me,Oe=Ae,De=pe("IE_PROTO"),Re=function(){},je=function(){var e,t=C("iframe"),n=Oe.length;for(t.style.display="none",xe.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),je=e.F;n--;)delete je.prototype[Oe[n]];return je()},Fe=Object.create||function(e,t){var n;return null!==e?(Re.prototype=Le(e),n=new Re,Re.prototype=null,n[De]=e):n=je(),void 0===t?n:Ve(n,t)},Pe={exports:{}},Ue=se.exports("wks"),Ge=me,ze=s.exports.Symbol,Be="function"==typeof ze;(Pe.exports=function(e){return Ue[e]||(Ue[e]=Be&&ze[e]||(Be?ze:Ge)("Symbol."+e))}).store=Ue;var We=f.f,Ye=R,He=Pe.exports("toStringTag"),Qe=function(e,t,n){e&&!Ye(e=n?e:e.prototype,He)&&We(e,He,{configurable:!0,value:t})},Ze=Fe,qe=x,Xe=Qe,Je={};O(Je,Pe.exports("iterator"),(function(){return this}));var Ke=r,$e=function(e){return Object(Ke(e))},et=R,tt=$e,nt=pe("IE_PROTO"),it=Object.prototype,rt=Object.getPrototypeOf||function(e){return e=tt(e),et(e,nt)?e[nt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?it:null},at=B,ot=W,st=O,ct=Y,ut=function(e,t,n){e.prototype=Ze(Je,{next:qe(1,n)}),Xe(e,t+" Iterator")},lt=Qe,dt=rt,ht=Pe.exports("iterator"),mt=!([].keys&&"next"in[].keys()),ft=function(){return this},vt=function(e,t,n,i,r,a,o){ut(n,t,i);var s,c,u,l=function(e){if(!mt&&e in f)return f[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",h="values"==r,m=!1,f=e.prototype,v=f[ht]||f["@@iterator"]||r&&f[r],p=v||l(r),g=r?h?l("entries"):p:void 0,y="Array"==t&&f.entries||v;if(y&&(u=dt(y.call(new e)))!==Object.prototype&&u.next&<(u,d,!0),h&&v&&"values"!==v.name&&(m=!0,p=function(){return v.call(this)}),o&&(mt||m||!f[ht])&&st(f,ht,p),ct[t]=p,ct[d]=ft,r)if(s={values:h?p:l("values"),keys:a?p:l("keys"),entries:g},o)for(c in s)c in f||ot(f,c,s[c]);else at(at.P+at.F*(mt||m),t,s);return s},pt=function(e,t){var n,i,r=String(o(e)),s=a(t),c=r.length;return s<0||s>=c?"":(n=r.charCodeAt(s))<55296||n>56319||s+1===c||(i=r.charCodeAt(s+1))<56320||i>57343?r.charAt(s):r.slice(s,s+2)};vt(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=pt(t,n),this._i+=e.length,{value:e,done:!1})}));var gt=function(e,t){return{value:t,done:!!e}},yt=gt,bt=Y,St=K;vt(Array,"Array",(function(e,t){this._t=St(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,yt(1)):yt(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),bt.Arguments=bt.Array;for(var Et=s.exports,At=O,Ct=Y,wt=Pe.exports("toStringTag"),_t="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(","),Tt=0;Tt<_t.length;Tt++){var It=_t[Tt],Nt=Et[It],Mt=Nt&&Nt.prototype;Mt&&!Mt[wt]&&At(Mt,wt,It),Ct[It]=Ct.Array}var kt=Q,xt=Pe.exports("toStringTag"),Lt="Arguments"==kt(function(){return arguments}()),Vt=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),xt))?n:Lt?kt(t):"Object"==(i=kt(t))&&"function"==typeof t.callee?"Arguments":i},Ot=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e},Dt={exports:{}},Rt=g,jt=function(e,t,n,i){try{return i?t(Rt(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&Rt(r.call(e)),t}},Ft=Y,Pt=Pe.exports("iterator"),Ut=Array.prototype,Gt=function(e){return void 0!==e&&(Ft.Array===e||Ut[Pt]===e)},zt=Vt,Bt=Pe.exports("iterator"),Wt=Y,Yt=u.exports.getIteratorMethod=function(e){if(null!=e)return e[Bt]||e["@@iterator"]||Wt[zt(e)]},Ht=m,Qt=jt,Zt=Gt,qt=g,Xt=te,Jt=Yt,Kt={},$t={},en=Dt.exports=function(e,t,n,i,r){var a,o,s,c,u=r?function(){return e}:Jt(e),l=Ht(n,i,t?2:1),d=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(Zt(u)){for(a=Xt(e.length);a>d;d++)if((c=t?l(qt(o=e[d])[0],o[1]):l(e[d]))===Kt||c===$t)return c}else for(s=u.call(e);!(o=s.next()).done;)if((c=Qt(s,l,o.value,t))===Kt||c===$t)return c};en.BREAK=Kt,en.RETURN=$t;var tn,nn,rn,an=g,on=d,sn=Pe.exports("species"),cn=function(e,t){var n,i=an(e).constructor;return void 0===i||null==(n=an(i)[sn])?t:on(n)},un=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?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)},ln=m,dn=un,hn=xe,mn=C,fn=s.exports,vn=fn.process,pn=fn.setImmediate,gn=fn.clearImmediate,yn=fn.MessageChannel,bn=fn.Dispatch,Sn=0,En={},An=function(){var e=+this;if(En.hasOwnProperty(e)){var t=En[e];delete En[e],t()}},Cn=function(e){An.call(e.data)};pn&&gn||(pn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return En[++Sn]=function(){dn("function"==typeof e?e:Function(e),t)},tn(Sn),Sn},gn=function(e){delete En[e]},"process"==Q(vn)?tn=function(e){vn.nextTick(ln(An,e,1))}:bn&&bn.now?tn=function(e){bn.now(ln(An,e,1))}:yn?(rn=(nn=new yn).port2,nn.port1.onmessage=Cn,tn=ln(rn.postMessage,rn,1)):fn.addEventListener&&"function"==typeof postMessage&&!fn.importScripts?(tn=function(e){fn.postMessage(e+"","*")},fn.addEventListener("message",Cn,!1)):tn="onreadystatechange"in mn("script")?function(e){hn.appendChild(mn("script")).onreadystatechange=function(){hn.removeChild(this),An.call(e)}}:function(e){setTimeout(ln(An,e,1),0)});var wn={set:pn,clear:gn},_n=s.exports,Tn=wn.set,In=_n.MutationObserver||_n.WebKitMutationObserver,Nn=_n.process,Mn=_n.Promise,kn="process"==Q(Nn),xn={},Ln=d;function Vn(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=Ln(t),this.reject=Ln(n)}xn.f=function(e){return new Vn(e)};var On=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},Dn=s.exports.navigator,Rn=Dn&&Dn.userAgent||"",jn=g,Fn=v,Pn=xn,Un=function(e,t){if(jn(e),Fn(t)&&t.constructor===e)return t;var n=Pn.f(e);return(0,n.resolve)(t),n.promise},Gn=O,zn=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:Gn(e,i,t[i]);return e},Bn=s.exports,Wn=u.exports,Yn=f,Hn=b,Qn=Pe.exports("species"),Zn=function(e){var t="function"==typeof Wn[e]?Wn[e]:Bn[e];Hn&&t&&!t[Qn]&&Yn.f(t,Qn,{configurable:!0,get:function(){return this}})},qn=Pe.exports("iterator"),Xn=!1;try{var Jn=[7][qn]();Jn.return=function(){Xn=!0},Array.from(Jn,(function(){throw 2}))}catch(e){}var Kn,$n,ei,ti,ni=function(e,t){if(!t&&!Xn)return!1;var n=!1;try{var i=[7],r=i[qn]();r.next=function(){return{done:n=!0}},i[qn]=function(){return r},e(i)}catch(e){}return n},ii=s.exports,ri=m,ai=Vt,oi=B,si=v,ci=d,ui=Ot,li=Dt.exports,di=cn,hi=wn.set,mi=function(){var e,t,n,i=function(){var i,r;for(kn&&(i=Nn.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(kn)n=function(){Nn.nextTick(i)};else if(!In||_n.navigator&&_n.navigator.standalone)if(Mn&&Mn.resolve){var r=Mn.resolve(void 0);n=function(){r.then(i)}}else n=function(){Tn.call(_n,i)};else{var a=!0,o=document.createTextNode("");new In(i).observe(o,{characterData:!0}),n=function(){o.data=a=!a}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}(),fi=xn,vi=On,pi=Rn,gi=Un,yi=ii.TypeError,bi=ii.process,Si=bi&&bi.versions,Ei=Si&&Si.v8||"",Ai=ii.Promise,Ci="process"==ai(bi),wi=function(){},_i=$n=fi.f,Ti=!!function(){try{var e=Ai.resolve(1),t=(e.constructor={})[Pe.exports("species")]=function(e){e(wi,wi)};return(Ci||"function"==typeof PromiseRejectionEvent)&&e.then(wi)instanceof t&&0!==Ei.indexOf("6.6")&&-1===pi.indexOf("Chrome/66")}catch(e){}}(),Ii=function(e){var t;return!(!si(e)||"function"!=typeof(t=e.then))&&t},Ni=function(e,t){if(!e._n){e._n=!0;var n=e._c;mi((function(){for(var i=e._v,r=1==e._s,a=0,o=function(t){var n,a,o,s=r?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(r||(2==e._h&&xi(e),e._h=1),!0===s?n=i:(l&&l.enter(),n=s(i),l&&(l.exit(),o=!0)),n===t.promise?u(yi("Promise-chain cycle")):(a=Ii(n))?a.call(n,c,u):c(n)):u(i)}catch(e){l&&!o&&l.exit(),u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&Mi(e)}))}},Mi=function(e){hi.call(ii,(function(){var t,n,i,r=e._v,a=ki(e);if(a&&(t=vi((function(){Ci?bi.emit("unhandledRejection",r,e):(n=ii.onunhandledrejection)?n({promise:e,reason:r}):(i=ii.console)&&i.error&&i.error("Unhandled promise rejection",r)})),e._h=Ci||ki(e)?2:1),e._a=void 0,a&&t.e)throw t.v}))},ki=function(e){return 1!==e._h&&0===(e._a||e._c).length},xi=function(e){hi.call(ii,(function(){var t;Ci?bi.emit("rejectionHandled",e):(t=ii.onrejectionhandled)&&t({promise:e,reason:e._v})}))},Li=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()),Ni(t,!0))},Vi=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw yi("Promise can't be resolved itself");(t=Ii(e))?mi((function(){var i={_w:n,_d:!1};try{t.call(e,ri(Vi,i,1),ri(Li,i,1))}catch(e){Li.call(i,e)}})):(n._v=e,n._s=1,Ni(n,!1))}catch(e){Li.call({_w:n,_d:!1},e)}}};Ti||(Ai=function(e){ui(this,Ai,"Promise","_h"),ci(e),Kn.call(this);try{e(ri(Vi,this,1),ri(Li,this,1))}catch(e){Li.call(this,e)}},(Kn=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=zn(Ai.prototype,{then:function(e,t){var n=_i(di(this,Ai));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Ci?bi.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Ni(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ei=function(){var e=new Kn;this.promise=e,this.resolve=ri(Vi,e,1),this.reject=ri(Li,e,1)},fi.f=_i=function(e){return e===Ai||e===ti?new ei(e):$n(e)}),oi(oi.G+oi.W+oi.F*!Ti,{Promise:Ai}),Qe(Ai,"Promise"),Zn("Promise"),ti=u.exports.Promise,oi(oi.S+oi.F*!Ti,"Promise",{reject:function(e){var t=_i(this);return(0,t.reject)(e),t.promise}}),oi(oi.S+!0*oi.F,"Promise",{resolve:function(e){return gi(this===ti?Ai:this,e)}}),oi(oi.S+oi.F*!(Ti&&ni((function(e){Ai.all(e).catch(wi)}))),"Promise",{all:function(e){var t=this,n=_i(t),i=n.resolve,r=n.reject,a=vi((function(){var n=[],a=0,o=1;li(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||i(n))}),r)})),--o||i(n)}));return a.e&&r(a.v),n.promise},race:function(e){var t=this,n=_i(t),i=n.reject,r=vi((function(){li(e,!1,(function(e){t.resolve(e).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}});var Oi=B,Di=u.exports,Ri=s.exports,ji=cn,Fi=Un;Oi(Oi.P+Oi.R,"Promise",{finally:function(e){var t=ji(this,Di.Promise||Ri.Promise),n="function"==typeof e;return this.then(n?function(n){return Fi(t,e()).then((function(){return n}))}:e,n?function(n){return Fi(t,e()).then((function(){throw n}))}:e)}});var Pi=xn,Ui=On;B(B.S,"Promise",{try:function(e){var t=Pi.f(this),n=Ui(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Gi=u.exports.Promise;function zi(e,t,n,i,r,a,o){try{var s=e[a](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Gi.resolve(c).then(i,r)}function Bi(e){return function(){var t=this,n=arguments;return new Gi((function(i,r){var a=e.apply(t,n);function o(e){zi(a,i,r,o,s,"next",e)}function s(e){zi(a,i,r,o,s,"throw",e)}o(void 0)}))}}var Wi={exports:{}},Yi={exports:{}},Hi={exports:{}},Qi=me("meta"),Zi=v,qi=R,Xi=f.f,Ji=0,Ki=Object.isExtensible||function(){return!0},$i=!y((function(){return Ki(Object.preventExtensions({}))})),er=function(e){Xi(e,Qi,{value:{i:"O"+ ++Ji,w:{}}})},tr=Hi.exports={KEY:Qi,NEED:!1,fastKey:function(e,t){if(!Zi(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!qi(e,Qi)){if(!Ki(e))return"F";if(!t)return"E";er(e)}return e[Qi].i},getWeak:function(e,t){if(!qi(e,Qi)){if(!Ki(e))return!0;if(!t)return!1;er(e)}return e[Qi].w},onFreeze:function(e){return $i&&tr.NEED&&Ki(e)&&!qi(e,Qi)&&er(e),e}},nr={};nr.f=Pe.exports;var ir=u.exports,rr=nr,ar=f.f,or=function(e){var t=ir.Symbol||(ir.Symbol={});"_"==e.charAt(0)||e in t||ar(t,e,{value:rr.f(e)})},sr={};sr.f=Object.getOwnPropertySymbols;var cr={};cr.f={}.propertyIsEnumerable;var ur=_e,lr=sr,dr=cr,hr=Q,mr=Array.isArray||function(e){return"Array"==hr(e)},fr={},vr={},pr=Ee,gr=Ae.concat("length","prototype");vr.f=Object.getOwnPropertyNames||function(e){return pr(e,gr)};var yr=K,br=vr.f,Sr={}.toString,Er="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];fr.f=function(e){return Er&&"[object Window]"==Sr.call(e)?function(e){try{return br(e)}catch(e){return Er.slice()}}(e):br(yr(e))};var Ar={},Cr=cr,wr=x,_r=K,Tr=T,Ir=R,Nr=w,Mr=Object.getOwnPropertyDescriptor;Ar.f=b?Mr:function(e,t){if(e=_r(e),t=Tr(t,!0),Nr)try{return Mr(e,t)}catch(e){}if(Ir(e,t))return wr(!Cr.f.call(e,t),e[t])};var kr=s.exports,xr=R,Lr=b,Vr=B,Or=W,Dr=Hi.exports.KEY,Rr=y,jr=se.exports,Fr=Qe,Pr=me,Ur=Pe.exports,Gr=nr,zr=or,Br=mr,Wr=g,Yr=v,Hr=$e,Qr=K,Zr=T,qr=x,Xr=Fe,Jr=fr,Kr=Ar,$r=sr,ea=f,ta=_e,na=Kr.f,ia=ea.f,ra=Jr.f,aa=kr.Symbol,oa=kr.JSON,sa=oa&&oa.stringify,ca=Ur("_hidden"),ua=Ur("toPrimitive"),la={}.propertyIsEnumerable,da=jr("symbol-registry"),ha=jr("symbols"),ma=jr("op-symbols"),fa=Object.prototype,va="function"==typeof aa&&!!$r.f,pa=kr.QObject,ga=!pa||!pa.prototype||!pa.prototype.findChild,ya=Lr&&Rr((function(){return 7!=Xr(ia({},"a",{get:function(){return ia(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=na(fa,t);i&&delete fa[t],ia(e,t,n),i&&e!==fa&&ia(fa,t,i)}:ia,ba=function(e){var t=ha[e]=Xr(aa.prototype);return t._k=e,t},Sa=va&&"symbol"==typeof aa.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof aa},Ea=function(e,t,n){return e===fa&&Ea(ma,t,n),Wr(e),t=Zr(t,!0),Wr(n),xr(ha,t)?(n.enumerable?(xr(e,ca)&&e[ca][t]&&(e[ca][t]=!1),n=Xr(n,{enumerable:qr(0,!1)})):(xr(e,ca)||ia(e,ca,qr(1,{})),e[ca][t]=!0),ya(e,t,n)):ia(e,t,n)},Aa=function(e,t){Wr(e);for(var n,i=function(e){var t=ur(e),n=lr.f;if(n)for(var i,r=n(e),a=dr.f,o=0;r.length>o;)a.call(e,i=r[o++])&&t.push(i);return t}(t=Qr(t)),r=0,a=i.length;a>r;)Ea(e,n=i[r++],t[n]);return e},Ca=function(e,t){if(e=Qr(e),t=Zr(t,!0),e!==fa||!xr(ha,t)||xr(ma,t)){var n=na(e,t);return!n||!xr(ha,t)||xr(e,ca)&&e[ca][t]||(n.enumerable=!0),n}},wa=function(e){for(var t,n=ra(Qr(e)),i=[],r=0;n.length>r;)xr(ha,t=n[r++])||t==ca||t==Dr||i.push(t);return i},_a=function(e){for(var t,n=e===fa,i=ra(n?ma:Qr(e)),r=[],a=0;i.length>a;)!xr(ha,t=i[a++])||n&&!xr(fa,t)||r.push(ha[t]);return r};va||(Or((aa=function(){if(this instanceof aa)throw TypeError("Symbol is not a constructor!");var e=Pr(arguments.length>0?arguments[0]:void 0),t=function(n){this===fa&&t.call(ma,n),xr(this,ca)&&xr(this[ca],e)&&(this[ca][e]=!1),ya(this,e,qr(1,n))};return Lr&&ga&&ya(fa,e,{configurable:!0,set:t}),ba(e)}).prototype,"toString",(function(){return this._k})),Kr.f=Ca,ea.f=Ea,vr.f=Jr.f=wa,cr.f=function(e){var t=la.call(this,e=Zr(e,!0));return!(this===fa&&xr(ha,e)&&!xr(ma,e))&&(!(t||!xr(this,e)||!xr(ha,e)||xr(this,ca)&&this[ca][e])||t)},$r.f=_a,Gr.f=function(e){return ba(Ur(e))}),Vr(Vr.G+Vr.W+Vr.F*!va,{Symbol:aa});for(var Ta="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ia=0;Ta.length>Ia;)Ur(Ta[Ia++]);for(var Na=ta(Ur.store),Ma=0;Na.length>Ma;)zr(Na[Ma++]);Vr(Vr.S+Vr.F*!va,"Symbol",{for:function(e){return xr(da,e+="")?da[e]:da[e]=aa(e)},keyFor:function(e){if(!Sa(e))throw TypeError(e+" is not a symbol!");for(var t in da)if(da[t]===e)return t},useSetter:function(){ga=!0},useSimple:function(){ga=!1}}),Vr(Vr.S+Vr.F*!va,"Object",{create:function(e,t){return void 0===t?Xr(e):Aa(Xr(e),t)},defineProperty:Ea,defineProperties:Aa,getOwnPropertyDescriptor:Ca,getOwnPropertyNames:wa,getOwnPropertySymbols:_a});var ka=Rr((function(){$r.f(1)}));Vr(Vr.S+Vr.F*ka,"Object",{getOwnPropertySymbols:function(e){return $r.f(Hr(e))}}),oa&&Vr(Vr.S+Vr.F*(!va||Rr((function(){var e=aa();return"[null]"!=sa([e])||"{}"!=sa({a:e})||"{}"!=sa(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(Yr(t)||void 0!==e)&&!Sa(e))return Br(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Sa(t))return t}),i[1]=t,sa.apply(oa,i)}}),aa.prototype[ua]||O(aa.prototype,ua,aa.prototype.valueOf),Fr(aa,"Symbol"),Fr(Math,"Math",!0),Fr(kr.JSON,"JSON",!0),or("asyncIterator"),or("observable");var xa=u.exports.Symbol,La=nr.f("iterator");!function(e){var t=xa,n=La;function i(r){return e.exports=i="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,i(r)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}(Yi);var Va=B;Va(Va.S+Va.F*!b,"Object",{defineProperty:f.f});var Oa=u.exports.Object,Da=function(e,t,n){return Oa.defineProperty(e,t,n)};B(B.S,"Object",{create:Fe});var Ra,ja,Fa,Pa,Ua=u.exports.Object,Ga=function(e,t){return Ua.create(e,t)},za=B,Ba=u.exports,Wa=y,Ya=$e,Ha=rt;Ra="getPrototypeOf",ja=function(){return function(e){return Ha(Ya(e))}},Fa=(Ba.Object||{})[Ra]||Object[Ra],(Pa={})[Ra]=ja(),za(za.S+za.F*Wa((function(){Fa(1)})),"Object",Pa);var Qa=u.exports.Object.getPrototypeOf,Za=v,qa=g,Xa=function(e,t){if(qa(e),!Za(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},Ja={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=m(Function.call,Ar.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,i){return Xa(e,i),t?e.__proto__=i:n(e,i),e}}({},!1):void 0),check:Xa};B(B.S,"Object",{setPrototypeOf:Ja.set});var Ka=u.exports.Object.setPrototypeOf;!function(e){var t=Yi.exports.default,n=Da,i=xa,r=Ga,a=Qa,o=Ka,s=Gi;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 i?i:{},f=m.iterator||"@@iterator",v=m.asyncIterator||"@@asyncIterator",p=m.toStringTag||"@@toStringTag";function g(e,t,i){return n(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{g({},"")}catch(e){g=function(e,t,n){return e[t]=n}}function y(e,t,n,i){var a=t&&t.prototype instanceof E?t:E,o=r(a.prototype),s=new V(i||[]);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={};g(w,f,(function(){return this}));var _=a&&a(a(O([])));_&&_!==l&&d.call(_,f)&&(w=_);var T=C.prototype=E.prototype=r(w);function I(e){["next","throw","return"].forEach((function(t){g(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,n){function i(r,a,o,s){var c=b(e[r],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){i("next",e,o,s)}),(function(e){i("throw",e,o,s)})):n.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return i("throw",e,o,s)}))}s(c.arg)}var r;h(this,"_invoke",{value:function(e,t){function a(){return new n((function(n,r){i(e,t,n,r)}))}return r=r?r.then(a,a):a()}})}function M(e,t,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return{value:void 0,done:!0}}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=k(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"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=b(e,t,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===S)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}function k(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),S;var r=b(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,S;var a=r.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 x(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,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,i=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 i.next=i}}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=g(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,g(e,p,"GeneratorFunction")),e.prototype=r(T),e},u.awrap=function(e){return{__await:e}},I(N.prototype),g(N.prototype,v,(function(){return this})),u.AsyncIterator=N,u.async=function(e,t,n,i,r){void 0===r&&(r=s);var a=new N(y(e,t,n,i),r);return u.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},I(T),g(T,p,"Generator"),g(T,f,(function(){return this})),g(T,"toString",(function(){return"[object Generator]"})),u.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,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(L),!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,i){return a.type="throw",a.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var o=d.call(r,"catchLoc"),s=d.call(r,"finallyLoc");if(o&&s){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(o){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&d.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.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),L(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 i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}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}(Wi);var $a=Wi.exports(),eo=$a;try{regeneratorRuntime=$a}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=$a:Function("r","regeneratorRuntime = r")($a)}!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 i=function(e,t,n){var i,r,a,o,s;if((n=n.split(" ")).length<2&&(n[1]=n[0]),"x"===e)i=n[0],r=n[1],a="left",o="right",s=t.clientWidth;else{if("y"!==e)return;i=n[1],r=n[0],a="top",o="bottom",s=t.clientHeight}if(i!==a&&r!==a){if(i!==o&&r!==o)return"center"===i||"50%"===i?(t.style[a]="50%",void(t.style["margin-"+a]=s/-2+"px")):void(0<=i.indexOf("%")?(i=parseInt(i,10))<50?(t.style[a]=i+"%",t.style["margin-"+a]=s*(i/-100)+"px"):(i=100-i,t.style[o]=i+"%",t.style["margin-"+o]=s*(i/-100)+"px"):t.style[a]=i);t.style[o]="0"}else t.style[a]="0"},r=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 r=e.parentNode;return function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("position"),i=t.getPropertyValue("overflow"),r=t.getPropertyValue("display");n&&"static"!==n||(e.style.position="relative"),"hidden"!==i&&(e.style.overflow="hidden"),r&&"inline"!==r||(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")}(r),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 i in n)t.getPropertyValue(i)!==n[i]&&(e.style[i]=n[i])}(e),e.style.position="absolute",e.style.width="auto",e.style.height="auto","scale-down"===t&&(t=e.clientWidth<r.clientWidth&&e.clientHeight<r.clientHeight?"none":"contain"),"none"===t?(i("x",e,n),void i("y",e,n)):"fill"===t?(e.style.width="100%",e.style.height="100%",i("x",e,n),void i("y",e,n)):(e.style.height="100%",void("cover"===t&&e.clientWidth>r.clientWidth||"contain"===t&&e.clientWidth<r.clientWidth?(e.style.top="0",e.style.marginTop="0",i("x",e,n)):(e.style.width="100%",e.style.height="auto",e.style.left="0",e.style.marginLeft="0",i("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 i=e[t].nodeName.toLowerCase();if("img"===i){if(n)continue;e[t].complete?r(e[t]):e[t].addEventListener("load",(function(){r(this)}))}else"video"===i?0<e[t].readyState?r(e[t]):e[t].addEventListener("loadedmetadata",(function(){r(this)})):r(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 to=f,no=x,io=function(e,t,n){t in e?to.f(e,t,no(0,n)):e[t]=n},ro=m,ao=B,oo=$e,so=jt,co=Gt,uo=te,lo=io,ho=Yt;ao(ao.S+ao.F*!ni((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,r,a=oo(e),o="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,u=void 0!==c,l=0,d=ho(a);if(u&&(c=ro(c,s>2?arguments[2]:void 0,2)),null==d||o==Array&&co(d))for(n=new o(t=uo(a.length));t>l;l++)lo(n,l,u?c(a[l],l):a[l]);else for(r=d.call(a),n=new o;!(i=r.next()).done;l++)lo(n,l,u?so(r,c,[i.value,l],!0):i.value);return n.length=l,n}});var mo=u.exports.Array.from;function fo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}var vo=function e(t,n){function i(e,i,r){if("undefined"!=typeof document){"number"==typeof(r=fo({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in r)r[o]&&(a+="; "+o,!0!==r[o]&&(a+="="+r[o].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var a=n[r].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(i[s]=t.read(o,s),e===s)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){i(e,"",fo({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,fo({},this.attributes,t))},withConverter:function(t){return e(fo({},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:"/"}),po={exports:{}};!function(t,n){!function(e,i){var r="function",a="undefined",o="object",s="string",c="model",u="name",l="type",d="vendor",h="version",m="architecture",f="console",v="mobile",p="tablet",g="smarttv",y="wearable",b="embedded",S="Amazon",E="Apple",A="ASUS",C="BlackBerry",w="Google",_="Huawei",T="LG",I="Microsoft",N="Motorola",M="Samsung",k="Sharp",x="Sony",L="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]==r?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==r||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):i:this[c[0]]=l?c[1].call(this,l,c[2]):i:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):i):this[c]=l||i;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(R(t[n][r],e))return"?"===n?i:n}else if(R(t[n],e))return"?"===n?i: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"},z={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,v]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[d,E],[l,v]],[/\((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,v]],[/\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,L],[l,v]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,L],[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,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[l,v]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[l,v]],[/\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,v]],[/\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,v]],[/(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,v]],[/(pixel c)\b/i],[c,[d,w],[l,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,w],[l,v]],[/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,x],[l,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,x],[l,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[l,v]],[/(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,v]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[l,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,C],[l,v]],[/(?:\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,v]],[/(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,v]],[/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,v]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,k],[l,v]],[/(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,v]],[/(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,v]],[/(u304aa)/i],[c,[d,"AT&T"],[l,v]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[l,v]],[/\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,v]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[l,v]],[/\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,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[l,v]],[/\b(ph-1) /i],[c,[d,"Essential"],[l,v]],[/\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,v]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,I],[l,v]],[/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,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[l,f]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[l,f]],[/(playstation [345portablevi]+)/i],[c,[d,x],[l,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,I],[l,f]],[/smart-tv.+(samsung)/i],[d,[l,g]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,M],[l,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,T],[l,g]],[/(apple) ?tv/i],[d,[c,"Apple TV"],[l,g]],[/crkey/i],[[c,"Chromecast"],[d,w],[l,g]],[/droid.+aft(\w)( bui|\))/i],[c,[d,S],[l,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,k],[l,g]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,x],[l,g]],[/(mitv-\w{5}) bui/i],[c,[d,L],[l,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[c,F],[l,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,g]],[/((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,v]],[/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,v]],[/(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]]},B=function(t,n){if(typeof t===o&&(n=t,t=i),!(this instanceof B))return new B(t,n).getResult();var r=t||(typeof e!==a&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),c=n?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(z,n):z;return this.getBrowser=function(){var e,t={};return t.name=i,t.version=i,P.call(t,r,c.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i,t},this.getCPU=function(){var e={};return e.architecture=i,P.call(e,r,c.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,P.call(e,r,c.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,P.call(e,r,c.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,P.call(e,r,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 r},this.setUA=function(e){return r=typeof e===s&&e.length>350?F(e,350):e,this},this.setUA(r),this};B.VERSION="1.0.33",B.BROWSER=D([u,h,"major"]),B.CPU=D([m]),B.DEVICE=D([c,d,l,f,v,g,p,y,b]),B.ENGINE=B.OS=D([u,h]),t.exports&&(n=t.exports=B),n.UAParser=B;var W=typeof e!==a&&(e.jQuery||e.Zepto);if(W&&!W.ua){var Y=new B;W.ua=Y.getResult(),W.ua.get=function(){return Y.getUA()},W.ua.set=function(e){Y.setUA(e);va