UNPKG

web-performance-tracer

Version:

网页性能监控 18 项数据指标,浏览器信息,错误收集上报方案,前端工程化。

6 lines 67.2 kB
/*! * web-performance-tracer v0.1.9 * (c) 2020-2021 qiutian00 * Released under the MIT License. */ !function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var r,n,i=function(t){return t&&t.Math===Math&&t},o=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=Object.defineProperty,u=function(t,e){try{a(o,t,{value:e,configurable:!0,writable:!0})}catch(r){o[t]=e}return e},c=e((function(t){var e="__core-js_shared__",r=t.exports=o[e]||u(e,{});(r.versions||(r.versions=[])).push({version:"3.37.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),s=c,l=function(t){try{return!!t()}catch(t){return!0}},f=!l((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),d=f,p=Function.prototype,h=p.call,v=d&&p.bind.bind(h,h),w=d?v:function(t){return function(){return h.apply(t,arguments)}},b=function(t){return null==t},m=TypeError,g=function(t){if(b(t))throw new m("Can't call method on "+t);return t},y=Object,S=w,O=function(t){return y(g(t))},k=S({}.hasOwnProperty),x=Object.hasOwn||function(t,e){return k(O(t),e)},T=0,j=Math.random(),_=S(1..toString),A="undefined"!=typeof navigator&&String(navigator.userAgent)||"",E=o.process,P=o.Deno,M=E&&E.versions||P&&P.version,D=M&&M.v8;D&&(n=(r=D.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&A&&(!(r=A.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=A.match(/Chrome\/(\d+)/))&&(n=+r[1]);var $=n,L=o.String,C=!!Object.getOwnPropertySymbols&&!l((function(){var t=Symbol("symbol detection");return!L(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&$&&$<41})),N=C,I=N&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,F=function(t,e){return s[t]||(s[t]=e||{})},R=x,q=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_(++T+j,36)},U=I,z=o.Symbol,H=F("wks"),B=U?z.for||z:z&&z.withoutSetter||q,W=function(t){return R(H,t)||(H[t]=N&&R(z,t)?z[t]:B("Symbol."+t)),H[t]},Y={};Y[W("toStringTag")]="z";var V="[object z]"===String(Y),G="object"==typeof document&&document.all,J=void 0===G&&void 0!==G?function(t){return"function"==typeof t||t===G}:function(t){return"function"==typeof t},Z=S({}.toString),X=S("".slice),K=V,Q=J,tt=function(t){return X(Z(t),8,-1)},et=W("toStringTag"),rt=Object,nt="Arguments"===tt(function(){return arguments}()),it=K?tt:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=rt(t),et))?r:nt?tt(e):"Object"===(n=tt(e))&&Q(e.callee)?"Arguments":n},ot=S({}.isPrototypeOf),at=Function.prototype,ut=at.apply,ct=at.call,st="object"==typeof Reflect&&Reflect.apply||(d?ct.bind(ut):function(){return ct.apply(ut,arguments)}),lt=!l((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ft=Function.prototype.call,dt=d?ft.bind(ft):function(){return ft.apply(ft,arguments)},pt={}.propertyIsEnumerable,ht=Object.getOwnPropertyDescriptor,vt={f:ht&&!pt.call({1:2},1)?function(t){var e=ht(this,t);return!!e&&e.enumerable}:pt},wt=Object,bt=S("".split),mt=l((function(){return!wt("z").propertyIsEnumerable(0)}))?function(t){return"String"===tt(t)?bt(t,""):wt(t)}:wt,gt={},yt=function(t){return Q(t)?t:void 0},St=function(t,e){return arguments.length<2?yt(gt[t])||yt(o[t]):gt[t]&&gt[t][e]||o[t]&&o[t][e]},Ot=ot,kt=Object,xt=U?function(t){return"symbol"==typeof t}:function(t){var e=St("Symbol");return Q(e)&&Ot(e.prototype,kt(t))},Tt=String,jt=function(t){try{return Tt(t)}catch(t){return"Object"}},_t=TypeError,At=function(t){if(Q(t))return t;throw new _t(jt(t)+" is not a function")},Et=dt,Pt=function(t){return"object"==typeof t?null!==t:Q(t)},Mt=TypeError,Dt=xt,$t=function(t,e){var r=t[e];return b(r)?void 0:At(r)},Lt=function(t,e){var r,n;if("string"===e&&Q(r=t.toString)&&!Pt(n=Et(r,t)))return n;if(Q(r=t.valueOf)&&!Pt(n=Et(r,t)))return n;if("string"!==e&&Q(r=t.toString)&&!Pt(n=Et(r,t)))return n;throw new Mt("Can't convert object to primitive value")},Ct=TypeError,Nt=W("toPrimitive"),It=function(t,e){if(!Pt(t)||Dt(t))return t;var r,n=$t(t,Nt);if(n){if(void 0===e&&(e="default"),r=Et(n,t,e),!Pt(r)||Dt(r))return r;throw new Ct("Can't convert object to primitive value")}return void 0===e&&(e="number"),Lt(t,e)},Ft=o.document,Rt=Pt(Ft)&&Pt(Ft.createElement),qt=lt,Ut=function(t){return Rt?Ft.createElement(t):{}},zt=!qt&&!l((function(){return 7!==Object.defineProperty(Ut("div"),"a",{get:function(){return 7}}).a})),Ht=vt,Bt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Wt=function(t){return mt(g(t))},Yt=function(t){var e=It(t,"string");return Dt(e)?e:e+""},Vt=zt,Gt=Object.getOwnPropertyDescriptor,Jt={f:qt?Gt:function(t,e){if(t=Wt(t),e=Yt(e),Vt)try{return Gt(t,e)}catch(t){}if(R(t,e))return Bt(!Et(Ht.f,t,e),t[e])}},Zt=/#|\.prototype\./,Xt=function(t,e){var r=Qt[Kt(t)];return r===ee||r!==te&&(Q(e)?l(e):!!e)},Kt=Xt.normalize=function(t){return String(t).replace(Zt,".").toLowerCase()},Qt=Xt.data={},te=Xt.NATIVE="N",ee=Xt.POLYFILL="P",re=Xt,ne=function(t){if("Function"===tt(t))return S(t)},ie=ne(ne.bind),oe=qt&&l((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ae=String,ue=TypeError,ce=oe,se=function(t){if(Pt(t))return t;throw new ue(ae(t)+" is not an object")},le=TypeError,fe=Object.defineProperty,de=Object.getOwnPropertyDescriptor,pe="enumerable",he="configurable",ve="writable",we={f:qt?ce?function(t,e,r){if(se(t),e=Yt(e),se(r),"function"==typeof t&&"prototype"===e&&"value"in r&&ve in r&&!r[ve]){var n=de(t,e);n&&n[ve]&&(t[e]=r.value,r={configurable:he in r?r[he]:n[he],enumerable:pe in r?r[pe]:n[pe],writable:!1})}return fe(t,e,r)}:fe:function(t,e,r){if(se(t),e=Yt(e),se(r),Vt)try{return fe(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new le("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},be=st,me=Jt,ge=re,ye=function(t,e){return At(t),void 0===e?t:d?ie(t,e):function(){return t.apply(e,arguments)}},Se=qt?function(t,e,r){return we.f(t,e,Bt(1,r))}:function(t,e,r){return t[e]=r,t},Oe=me.f,ke=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return be(t,this,arguments)};return e.prototype=t.prototype,e},xe=Math.ceil,Te=Math.floor,je=Math.trunc||function(t){var e=+t;return(e>0?Te:xe)(e)},_e=function(t){var e=+t;return e!=e||0===e?0:je(e)},Ae=Math.min,Ee=function(t){var e=_e(t);return e>0?Ae(e,9007199254740991):0},Pe=Array.isArray||function(t){return"Array"===tt(t)},Me=S(Function.toString);Q(s.inspectSource)||(s.inspectSource=function(t){return Me(t)});var De=s.inspectSource,$e=it,Le=De,Ce=function(){},Ne=St("Reflect","construct"),Ie=/^\s*(?:class|function)\b/,Fe=S(Ie.exec),Re=!Ie.test(Ce),qe=function(t){if(!Q(t))return!1;try{return Ne(Ce,[],t),!0}catch(t){return!1}},Ue=function(t){if(!Q(t))return!1;switch($e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Re||!!Fe(Ie,Le(t))}catch(t){return!0}};Ue.sham=!0;var ze=!Ne||l((function(){var t;return qe(qe.call)||!qe(Object)||!qe((function(){t=!0}))||t}))?Ue:qe,He=Pe,Be=ze,We=W("species"),Ye=Array,Ve=function(t){var e;return He(t)&&(e=t.constructor,(Be(e)&&(e===Ye||He(e.prototype))||Pt(e)&&null===(e=e[We]))&&(e=void 0)),void 0===e?Ye:e},Ge=function(t){return Ee(t.length)},Je=function(t,e){return new(Ve(t))(0===e?0:e)},Ze=S([].push),Xe=function(t){var e=1===t,r=2===t,n=3===t,i=4===t,o=6===t,a=7===t,u=5===t||o;return function(c,s,l,f){for(var d,p,h=O(c),v=mt(h),w=Ge(v),b=ye(s,l),m=0,g=f||Je,y=e?g(c,w):r||a?g(c,0):void 0;w>m;m++)if((u||m in v)&&(p=b(d=v[m],m,h),t))if(e)y[m]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:Ze(y,d)}else switch(t){case 4:return!1;case 7:Ze(y,d)}return o?-1:n||i?i:y}},Ke={forEach:Xe(0),map:Xe(1),filter:Xe(2),some:Xe(3),every:Xe(4),find:Xe(5),findIndex:Xe(6),filterReject:Xe(7)},Qe=function(t,e){var r=[][t];return!!r&&l((function(){r.call(null,e||function(){return 1},1)}))},tr=Ke.forEach,er=Qe("forEach")?[].forEach:function(t){return tr(this,t,arguments.length>1?arguments[1]:void 0)},rr=function(t,e){var r,n,i,a,u,c,s,l,f,d=t.target,p=t.global,h=t.stat,v=t.proto,w=p?o:h?o[d]:o[d]&&o[d].prototype,b=p?gt:gt[d]||Se(gt,d,{})[d],m=b.prototype;for(a in e)n=!(r=ge(p?a:d+(h?".":"#")+a,t.forced))&&w&&R(w,a),c=b[a],n&&(s=t.dontCallGetSet?(f=Oe(w,a))&&f.value:w[a]),u=n&&s?s:e[a],(r||v||typeof c!=typeof u)&&(l=t.bind&&n?ye(u,o):t.wrap&&n?ke(u):v&&Q(u)?ne(u):u,(t.sham||u&&u.sham||c&&c.sham)&&Se(l,"sham",!0),Se(b,a,l),v&&(R(gt,i=d+"Prototype")||Se(gt,i,{}),Se(gt[i],a,u),t.real&&m&&(r||!m[a])&&Se(m,a,u)))};rr({target:"Array",proto:!0,forced:[].forEach!==er},{forEach:er});var nr=function(t,e){var r=gt[t+"Prototype"],n=r&&r[e];if(n)return n;var i=o[t],a=i&&i.prototype;return a&&a[e]},ir=nr("Array","forEach"),or=Array.prototype,ar={DOMTokenList:!0,NodeList:!0},ur=function(t){var e=t.forEach;return t===or||Ot(or,t)&&e===or.forEach||R(ar,$e(t))?ir:e};var cr=TypeError,sr=W("species"),lr=function(t){if(t>9007199254740991)throw cr("Maximum allowed index exceeded");return t},fr=function(t,e,r){qt?we.f(t,e,Bt(0,r)):t[e]=r},dr=function(t){return $>=51||!l((function(){var e=[];return(e.constructor={})[sr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},pr=W("isConcatSpreadable"),hr=$>=51||!l((function(){var t=[];return t[pr]=!1,t.concat()[0]!==t})),vr=function(t){if(!Pt(t))return!1;var e=t[pr];return void 0!==e?!!e:He(t)},wr=!hr||!dr("concat");rr({target:"Array",proto:!0,arity:1,forced:wr},{concat:function(t){var e,r,n,i,o,a=O(this),u=Je(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(vr(o=-1===e?a:arguments[e]))for(i=Ge(o),lr(c+i),r=0;r<i;r++,c++)r in o&&fr(u,c,o[r]);else lr(c+1),fr(u,c++,o);return u.length=c,u}});var br=nr("Array","concat"),mr=Array.prototype,gr=function(t){var e=t.concat;return t===mr||Ot(mr,t)&&e===mr.concat?br:e},yr="cn-guangzhou.log.aliyuncs.com",Sr="tracer-log",Or="store-name",kr=10,xr=10,Tr=Or,jr=Or,_r=Or,Ar=Or,Er="",Pr="",Mr="",Dr="",$r="@logger-chunk",Lr=3,Cr=20,Nr=Math.max,Ir=Math.min,Fr=S([].slice),Rr=function(t,e){var r=_e(t);return r<0?Nr(r+e,0):Ir(r,e)},qr=Fr,Ur=dr("slice"),zr=W("species"),Hr=Array,Br=Math.max;rr({target:"Array",proto:!0,forced:!Ur},{slice:function(t,e){var r,n,i,o=Wt(this),a=Ge(o),u=Rr(t,a),c=Rr(void 0===e?a:e,a);if(He(o)&&(r=o.constructor,(Be(r)&&(r===Hr||He(r.prototype))||Pt(r)&&null===(r=r[zr]))&&(r=void 0),r===Hr||void 0===r))return qr(o,u,c);for(n=new(void 0===r?Hr:r)(Br(c-u,0)),i=0;u<c;u++,i++)u in o&&fr(n,i,o[u]);return n.length=i,n}});var Wr=nr("Array","slice"),Yr=Array.prototype,Vr=function(t){var e=t.slice;return t===Yr||Ot(Yr,t)&&e===Yr.slice?Wr:e},Gr=Ke.map,Jr=dr("map");rr({target:"Array",proto:!0,forced:!Jr},{map:function(t){return Gr(this,t,arguments.length>1?arguments[1]:void 0)}});var Zr=nr("Array","map"),Xr=Array.prototype,Kr=function(t){var e=t.map;return t===Xr||Ot(Xr,t)&&e===Xr.map?Zr:e};rr({target:"Array",stat:!0},{isArray:He});var Qr,tn,en,rn=gt.Array.isArray,nn=String,on=function(t){if("Symbol"===$e(t))throw new TypeError("Cannot convert a Symbol value to a string");return nn(t)},an=S("".charAt),un=S("".charCodeAt),cn=S("".slice),sn=function(t){return function(e,r){var n,i,o=on(g(e)),a=_e(r),u=o.length;return a<0||a>=u?t?"":void 0:(n=un(o,a))<55296||n>56319||a+1===u||(i=un(o,a+1))<56320||i>57343?t?an(o,a):n:t?cn(o,a,a+2):i-56320+(n-55296<<10)+65536}},ln={codeAt:sn(!1),charAt:sn(!0)},fn=o.WeakMap,dn=Q(fn)&&/native code/.test(String(fn)),pn=F("keys"),hn=dn,vn=function(t){return pn[t]||(pn[t]=q(t))},wn={},bn="Object already initialized",mn=o.TypeError,gn=o.WeakMap;if(hn||s.state){var yn=s.state||(s.state=new gn);yn.get=yn.get,yn.has=yn.has,yn.set=yn.set,Qr=function(t,e){if(yn.has(t))throw new mn(bn);return e.facade=t,yn.set(t,e),e},tn=function(t){return yn.get(t)||{}},en=function(t){return yn.has(t)}}else{var Sn=vn("state");wn[Sn]=!0,Qr=function(t,e){if(R(t,Sn))throw new mn(bn);return e.facade=t,Se(t,Sn,e),e},tn=function(t){return R(t,Sn)?t[Sn]:{}},en=function(t){return R(t,Sn)}}var On,kn={set:Qr,get:tn,has:en,enforce:function(t){return en(t)?tn(t):Qr(t,{})},getterFor:function(t){return function(e){var r;if(!Pt(e)||(r=tn(e)).type!==t)throw new mn("Incompatible receiver, "+t+" required");return r}}},xn=Function.prototype,Tn=qt&&Object.getOwnPropertyDescriptor,jn=R(xn,"name"),_n={EXISTS:jn,PROPER:jn&&"something"===function(){}.name,CONFIGURABLE:jn&&(!qt||qt&&Tn(xn,"name").configurable)},An=function(t){return function(e,r,n){var i=Wt(e),o=Ge(i);if(0===o)return!t&&-1;var a,u=Rr(n,o);if(t&&r!=r){for(;o>u;)if((a=i[u++])!=a)return!0}else for(;o>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},En={includes:An(!0),indexOf:An(!1)},Pn=En.indexOf,Mn=S([].push),Dn=function(t,e){var r,n=Wt(t),i=0,o=[];for(r in n)!R(wn,r)&&R(n,r)&&Mn(o,r);for(;e.length>i;)R(n,r=e[i++])&&(~Pn(o,r)||Mn(o,r));return o},$n=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ln=Object.keys||function(t){return Dn(t,$n)},Cn=qt&&!ce?Object.defineProperties:function(t,e){se(t);for(var r,n=Wt(e),i=Ln(e),o=i.length,a=0;o>a;)we.f(t,r=i[a++],n[r]);return t},Nn={f:Cn},In=St("document","documentElement"),Fn=Nn,Rn=In,qn="prototype",Un="script",zn=vn("IE_PROTO"),Hn=function(){},Bn=function(t){return"<"+Un+">"+t+"</"+Un+">"},Wn=function(t){t.write(Bn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Yn=function(){try{On=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Yn="undefined"!=typeof document?document.domain&&On?Wn(On):(e=Ut("iframe"),r="java"+Un+":",e.style.display="none",Rn.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Bn("document.F=Object")),t.close(),t.F):Wn(On);for(var n=$n.length;n--;)delete Yn[qn][$n[n]];return Yn()};wn[zn]=!0;var Vn,Gn,Jn,Zn=Object.create||function(t,e){var r;return null!==t?(Hn[qn]=se(t),r=new Hn,Hn[qn]=null,r[zn]=t):r=Yn(),void 0===e?r:Fn.f(r,e)},Xn=!l((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Kn=vn("IE_PROTO"),Qn=Object,ti=Qn.prototype,ei=Xn?Qn.getPrototypeOf:function(t){var e=O(t);if(R(e,Kn))return e[Kn];var r=e.constructor;return Q(r)&&e instanceof r?r.prototype:e instanceof Qn?ti:null},ri=Zn,ni=ei,ii=function(t,e,r,n){return n&&n.enumerable?t[e]=r:Se(t,e,r),t},oi=W("iterator"),ai=!1;[].keys&&("next"in(Jn=[].keys())?(Gn=ni(ni(Jn)))!==Object.prototype&&(Vn=Gn):ai=!0);var ui=!Pt(Vn)||l((function(){var t={};return Vn[oi].call(t)!==t}));Vn=ui?{}:ri(Vn),Q(Vn[oi])||ii(Vn,oi,(function(){return this}));var ci={IteratorPrototype:Vn,BUGGY_SAFARI_ITERATORS:ai},si=K?{}.toString:function(){return"[object "+$e(this)+"]"},li=we.f,fi=W("toStringTag"),di=ci,pi=function(t,e,r,n){var i=r?t:t&&t.prototype;i&&(R(i,fi)||li(i,fi,{configurable:!0,value:e}),n&&!K&&Se(i,"toString",si))},hi={},vi=di.IteratorPrototype,wi=function(){return this},bi=function(t){return Pt(t)||null===t},mi=String,gi=TypeError,yi=function(t,e,r){try{return S(At(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Si=function(t){if(bi(t))return t;throw new gi("Can't set "+mi(t)+" as a prototype")},Oi=(Object.setPrototypeOf||"__proto__"in{}&&function(){var t,e=!1,r={};try{(t=yi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}}(),function(t,e,r,n){var i=e+" Iterator";return t.prototype=ri(vi,{next:Bt(+!n,r)}),pi(t,i,!1,!0),hi[i]=wi,t}),ki=_n.PROPER,xi=di.BUGGY_SAFARI_ITERATORS,Ti=W("iterator"),ji="keys",_i="values",Ai="entries",Ei=function(){return this},Pi=kn,Mi=function(t,e,r,n,i,o,a){Oi(r,e,n);var u,c,s,l=function(t){if(t===i&&v)return v;if(!xi&&t&&t in p)return p[t];switch(t){case ji:case _i:case Ai:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",d=!1,p=t.prototype,h=p[Ti]||p["@@iterator"]||i&&p[i],v=!xi&&h||l(i),w="Array"===e&&p.entries||h;if(w&&(u=ni(w.call(new t)))!==Object.prototype&&u.next&&(pi(u,f,!0,!0),hi[f]=Ei),ki&&i===_i&&h&&h.name!==_i&&(d=!0,v=function(){return Et(h,this)}),i)if(c={values:l(_i),keys:o?v:l(ji),entries:l(Ai)},a)for(s in c)(xi||d||!(s in p))&&ii(p,s,c[s]);else rr({target:e,proto:!0,forced:xi||d},c);return a&&p[Ti]!==v&&ii(p,Ti,v,{name:i}),hi[e]=v,c},Di=function(t,e){return{value:t,done:e}},$i=ln.charAt,Li="String Iterator",Ci=Pi.set,Ni=Pi.getterFor(Li);Mi(String,"String",(function(t){Ci(this,{type:Li,string:on(t),index:0})}),(function(){var t,e=Ni(this),r=e.string,n=e.index;return n>=r.length?Di(void 0,!0):(t=$i(r,n),e.index+=t.length,Di(t,!1))}));var Ii=function(t,e,r){var n,i;se(t);try{if(!(n=$t(t,"return"))){if("throw"===e)throw r;return r}n=Et(n,t)}catch(t){i=!0,n=t}if("throw"===e)throw r;if(i)throw n;return se(n),r},Fi=W("iterator"),Ri=Array.prototype,qi=W("iterator"),Ui=function(t){if(!b(t))return $t(t,qi)||$t(t,"@@iterator")||hi[$e(t)]},zi=TypeError,Hi=function(t,e,r,n){try{return n?e(se(r)[0],r[1]):e(r)}catch(e){Ii(t,"throw",e)}},Bi=function(t){return void 0!==t&&(hi.Array===t||Ri[Fi]===t)},Wi=function(t,e){var r=arguments.length<2?Ui(t):e;if(At(r))return se(Et(r,t));throw new zi(jt(t)+" is not iterable")},Yi=Array,Vi=W("iterator"),Gi=!1;try{var Ji=0,Zi={next:function(){return{done:!!Ji++}},return:function(){Gi=!0}};Zi[Vi]=function(){return this},Array.from(Zi,(function(){throw 2}))}catch(t){}var Xi=function(t){var e=O(t),r=Be(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=void 0!==i;o&&(i=ye(i,n>2?arguments[2]:void 0));var a,u,c,s,l,f,d=Ui(e),p=0;if(!d||this===Yi&&Bi(d))for(a=Ge(e),u=r?new this(a):Yi(a);a>p;p++)f=o?i(e[p],p):e[p],fr(u,p,f);else for(u=r?new this:[],l=(s=Wi(e,d)).next;!(c=Et(l,s)).done;p++)f=o?Hi(s,i,[c.value,p],!0):c.value,fr(u,p,f);return u.length=p,u},Ki=function(t,e){try{if(!e&&!Gi)return!1}catch(t){return!1}var r=!1;try{var n={};n[Vi]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Qi=!Ki((function(t){Array.from(t)}));rr({target:"Array",stat:!0,forced:Qi},{from:Xi});var to=gt.Array.from,eo="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,ro=TypeError,no=eo,io=function(t,e){if(t<e)throw new ro("Not enough arguments");return t},oo=o.Function,ao=/MSIE .\./.test(A)||no&&function(){var t=o.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),uo=function(t,e){var r=e?2:1;return ao?function(n,i){var o=io(arguments.length,1)>r,a=Q(n)?n:oo(n),u=o?qr(arguments,r):[],c=o?function(){be(a,this,u)}:a;return e?t(c,i):t(c)}:t},co=uo(o.setInterval,!0);rr({global:!0,bind:!0,forced:o.setInterval!==co},{setInterval:co});var so=uo(o.setTimeout,!0);rr({global:!0,bind:!0,forced:o.setTimeout!==so},{setTimeout:so});var lo=gt.setInterval;function fo(t,e){var r={},n={String:function(t,e){r[t]=e},Array:function(t,e){ur(e).call(e,(function(e,r){var i;n[po(e)](gr(i="".concat(t,"_")).call(i,r),e)}))},Object:function(t,e){for(var r in e){var i;n[po(e[r])](gr(i="".concat(t,"_")).call(i,r),e[r])}},Number:function(t,e){r[t]=e},Undefined:function(){},Null:function(){}};return n[po(e)](t,e),r}function po(t){var e;return Vr(e=Object.prototype.toString.call(t)).call(e,8,-1)}function ho(t){var e,r;return t?Kr(e=Vr(r=t.split("\n")).call(r,1)).call(e,(function(t){return t.replace(/^\s+at\s+/g,"")})).join("^"):""}function vo(t){var e=[];return rn(t)&&ur(t).call(t,(function(t){if(t.window!==window&&t!==document)if(t.id)e.push("#"+t.id);else if(t.classList||t.nodeName){if(t.nodeName&&e.push(t.nodeName.toLowerCase()),t.classList){var r=to(t.classList),n=r.join(".")?"."+r.join("."):null;n&&e.push(n)}}else e.push(t.constructor.name.toLowerCase())})),e.reverse().join(" ")}function wo(t,e){var r=0,n=null;n=lo((function(){var i=Function('"use strict";return ('+t+")")();i?(clearInterval(n),n=null,e(i)):++r>=Cr&&(clearInterval(n),n=null)}),100)}function bo(t){return null==t}var mo=l((function(){Ln(1)}));rr({target:"Object",stat:!0,forced:mo},{keys:function(t){return Ln(O(t))}});var go=gt.Object.keys,yo=$n.concat("length","prototype"),So={f:Object.getOwnPropertyNames||function(t){return Dn(t,yo)}},Oo=So.f,ko="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],xo={f:function(t){return ko&&"Window"===tt(t)?function(t){try{return Oo(t)}catch(t){return qr(ko)}}(t):Oo(Wt(t))}},To={f:Object.getOwnPropertySymbols},jo={f:W},_o=we.f,Ao=xo,Eo=To,Po=function(t,e,r){return we.f(t,e,r)},Mo=function(t){var e=gt.Symbol||(gt.Symbol={});R(e,t)||_o(e,t,{value:jo.f(t)})},Do=function(){var t=St("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=W("toPrimitive");e&&!e[n]&&ii(e,n,(function(t){return Et(r,this)}),{arity:1})},$o=Ke.forEach,Lo=vn("hidden"),Co="Symbol",No="prototype",Io=Pi.set,Fo=Pi.getterFor(Co),Ro=Object[No],qo=o.Symbol,Uo=qo&&qo[No],zo=o.RangeError,Ho=o.TypeError,Bo=o.QObject,Wo=me.f,Yo=we.f,Vo=Ao.f,Go=Ht.f,Jo=S([].push),Zo=F("symbols"),Xo=F("op-symbols"),Ko=F("wks"),Qo=!Bo||!Bo[No]||!Bo[No].findChild,ta=function(t,e,r){var n=Wo(Ro,e);n&&delete Ro[e],Yo(t,e,r),n&&t!==Ro&&Yo(Ro,e,n)},ea=qt&&l((function(){return 7!==ri(Yo({},"a",{get:function(){return Yo(this,"a",{value:7}).a}})).a}))?ta:Yo,ra=function(t,e){var r=Zo[t]=ri(Uo);return Io(r,{type:Co,tag:t,description:e}),qt||(r.description=e),r},na=function(t,e,r){t===Ro&&na(Xo,e,r),se(t);var n=Yt(e);return se(r),R(Zo,n)?(r.enumerable?(R(t,Lo)&&t[Lo][n]&&(t[Lo][n]=!1),r=ri(r,{enumerable:Bt(0,!1)})):(R(t,Lo)||Yo(t,Lo,Bt(1,ri(null))),t[Lo][n]=!0),ea(t,n,r)):Yo(t,n,r)},ia=function(t,e){se(t);var r=Wt(e),n=Ln(r).concat(ca(r));return $o(n,(function(e){qt&&!Et(oa,r,e)||na(t,e,r[e])})),t},oa=function(t){var e=Yt(t),r=Et(Go,this,e);return!(this===Ro&&R(Zo,e)&&!R(Xo,e))&&(!(r||!R(this,e)||!R(Zo,e)||R(this,Lo)&&this[Lo][e])||r)},aa=function(t,e){var r=Wt(t),n=Yt(e);if(r!==Ro||!R(Zo,n)||R(Xo,n)){var i=Wo(r,n);return!i||!R(Zo,n)||R(r,Lo)&&r[Lo][n]||(i.enumerable=!0),i}},ua=function(t){var e=Vo(Wt(t)),r=[];return $o(e,(function(t){R(Zo,t)||R(wn,t)||Jo(r,t)})),r},ca=function(t){var e=t===Ro,r=Vo(e?Xo:Wt(t)),n=[];return $o(r,(function(t){!R(Zo,t)||e&&!R(Ro,t)||Jo(n,Zo[t])})),n};N||(qo=function(){if(Ot(Uo,this))throw new Ho("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?on(arguments[0]):void 0,e=q(t),r=function(t){var n=void 0===this?o:this;n===Ro&&Et(r,Xo,t),R(n,Lo)&&R(n[Lo],e)&&(n[Lo][e]=!1);var i=Bt(1,t);try{ea(n,e,i)}catch(t){if(!(t instanceof zo))throw t;ta(n,e,i)}};return qt&&Qo&&ea(Ro,e,{configurable:!0,set:r}),ra(e,t)},Uo=qo[No],ii(Uo,"toString",(function(){return Fo(this).tag})),ii(qo,"withoutSetter",(function(t){return ra(q(t),t)})),Ht.f=oa,we.f=na,Fn.f=ia,me.f=aa,So.f=Ao.f=ua,Eo.f=ca,jo.f=function(t){return ra(W(t),t)},qt&&Po(Uo,"description",{configurable:!0,get:function(){return Fo(this).description}})),rr({global:!0,constructor:!0,wrap:!0,forced:!N,sham:!N},{Symbol:qo}),$o(Ln(Ko),(function(t){Mo(t)})),rr({target:Co,stat:!0,forced:!N},{useSetter:function(){Qo=!0},useSimple:function(){Qo=!1}}),rr({target:"Object",stat:!0,forced:!N,sham:!qt},{create:function(t,e){return void 0===e?ri(t):ia(ri(t),e)},defineProperty:na,defineProperties:ia,getOwnPropertyDescriptor:aa}),rr({target:"Object",stat:!0,forced:!N},{getOwnPropertyNames:ua}),Do(),pi(qo,Co),wn[Lo]=!0;var sa=N&&!!Symbol.for&&!!Symbol.keyFor,la=F("string-to-symbol-registry"),fa=F("symbol-to-string-registry");rr({target:"Symbol",stat:!0,forced:!sa},{for:function(t){var e=on(t);if(R(la,e))return la[e];var r=St("Symbol")(e);return la[e]=r,fa[r]=e,r}});var da=F("symbol-to-string-registry");rr({target:"Symbol",stat:!0,forced:!sa},{keyFor:function(t){if(!Dt(t))throw new TypeError(jt(t)+" is not a symbol");if(R(da,t))return da[t]}});var pa=S([].push),ha=function(t){if(Q(t))return t;if(He(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?pa(r,i):"number"!=typeof i&&"Number"!==tt(i)&&"String"!==tt(i)||pa(r,on(i))}var o=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(He(this))return e;for(var n=0;n<o;n++)if(r[n]===t)return e}}},va=String,wa=St("JSON","stringify"),ba=S(/./.exec),ma=S("".charAt),ga=S("".charCodeAt),ya=S("".replace),Sa=S(1..toString),Oa=/[\uD800-\uDFFF]/g,ka=/^[\uD800-\uDBFF]$/,xa=/^[\uDC00-\uDFFF]$/,Ta=!N||l((function(){var t=St("Symbol")("stringify detection");return"[null]"!==wa([t])||"{}"!==wa({a:t})||"{}"!==wa(Object(t))})),ja=l((function(){return'"\\udf06\\ud834"'!==wa("\udf06\ud834")||'"\\udead"'!==wa("\udead")})),_a=function(t,e){var r=qr(arguments),n=ha(e);if(Q(n)||void 0!==t&&!Dt(t))return r[1]=function(t,e){if(Q(n)&&(e=Et(n,this,va(t),e)),!Dt(e))return e},be(wa,null,r)},Aa=function(t,e,r){var n=ma(r,e-1),i=ma(r,e+1);return ba(ka,t)&&!ba(xa,i)||ba(xa,t)&&!ba(ka,n)?"\\u"+Sa(ga(t,0),16):t};wa&&rr({target:"JSON",stat:!0,arity:3,forced:Ta||ja},{stringify:function(t,e,r){var n=qr(arguments),i=be(Ta?_a:wa,null,n);return ja&&"string"==typeof i?ya(i,Oa,Aa):i}});var Ea=!N||l((function(){Eo.f(1)}));rr({target:"Object",stat:!0,forced:Ea},{getOwnPropertySymbols:function(t){var e=Eo.f;return e?e(O(t)):[]}});var Pa=gt.Object.getOwnPropertySymbols,Ma=Ke.filter,Da=dr("filter");rr({target:"Array",proto:!0,forced:!Da},{filter:function(t){return Ma(this,t,arguments.length>1?arguments[1]:void 0)}});var $a=nr("Array","filter"),La=Array.prototype,Ca=function(t){var e=t.filter;return t===La||Ot(La,t)&&e===La.filter?$a:e},Na=me.f,Ia=!qt||l((function(){Na(1)}));rr({target:"Object",stat:!0,forced:Ia,sham:!qt},{getOwnPropertyDescriptor:function(t,e){return Na(Wt(t),e)}});var Fa=e((function(t){var e=gt.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),Ra=Fa,qa=S([].concat),Ua=St("Reflect","ownKeys")||function(t){var e=So.f(se(t)),r=Eo.f;return r?qa(e,r(t)):e},za=Ua;rr({target:"Object",stat:!0,sham:!qt},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Wt(t),i=me.f,o=za(n),a={},u=0;o.length>u;)void 0!==(r=i(n,e=o[u++]))&&fr(a,e,r);return a}});var Ha=gt.Object.getOwnPropertyDescriptors,Ba=Fn.f;rr({target:"Object",stat:!0,forced:Object.defineProperties!==Ba,sham:!qt},{defineProperties:Ba});var Wa=e((function(t){var e=gt.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),Ya=Wa,Va=we.f;rr({target:"Object",stat:!0,forced:Object.defineProperty!==Va,sham:!qt},{defineProperty:Va});var Ga=e((function(t){var e=gt.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),Ja=Ga,Za=Ga;Mo("asyncIterator"),Mo("hasInstance"),Mo("isConcatSpreadable"),Mo("iterator"),Mo("match"),Mo("matchAll"),Mo("replace"),Mo("search"),Mo("species"),Mo("split"),Mo("toPrimitive"),Do(),Mo("toStringTag"),pi(St("Symbol"),"Symbol"),Mo("unscopables"),pi(o.JSON,"JSON",!0);var Xa=gt.Symbol,Ka=function(){},Qa=(we.f,"Array Iterator"),tu=Pi.set,eu=Pi.getterFor(Qa);Mi(Array,"Array",(function(t,e){tu(this,{type:Qa,target:Wt(t),index:0,kind:e})}),(function(){var t=eu(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Di(void 0,!0);switch(t.kind){case"keys":return Di(r,!1);case"values":return Di(e[r],!1)}return Di([r,e[r]],!1)}),"values");hi.Arguments=hi.Array;Ka(),Ka(),Ka();var ru={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var nu in ru)pi(o[nu],nu),hi[nu]=hi.Array;var iu=Xa,ou=we.f,au=W("metadata"),uu=Function.prototype;void 0===uu[au]&&ou(uu,au,{value:null}),Mo("asyncDispose"),Mo("dispose"),Mo("metadata");var cu=iu,su=St("Symbol"),lu=su.keyFor,fu=S(su.prototype.valueOf),du=su.isRegisteredSymbol||function(t){try{return void 0!==lu(fu(t))}catch(t){return!1}};rr({target:"Symbol",stat:!0},{isRegisteredSymbol:du});for(var pu=St("Symbol"),hu=pu.isWellKnownSymbol,vu=St("Object","getOwnPropertyNames"),wu=S(pu.prototype.valueOf),bu=F("wks"),mu=0,gu=vu(pu),yu=gu.length;mu<yu;mu++)try{var Su=gu[mu];Dt(pu[Su])&&W(Su)}catch(t){}var Ou=function(t){if(hu&&hu(t))return!0;try{for(var e=wu(t),r=0,n=vu(bu),i=n.length;r<i;r++)if(bu[n[r]]==e)return!0}catch(t){}return!1};rr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ou}),Mo("customMatcher"),Mo("observable"),rr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:du}),rr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ou}),Mo("matcher"),Mo("metadataKey"),Mo("patternMatch"),Mo("replaceAll");var ku=cu,xu=jo.f("iterator");function Tu(t){return Tu="function"==typeof ku&&"symbol"==typeof xu?function(t){return typeof t}:function(t){return t&&"function"==typeof ku&&t.constructor===ku&&t!==ku.prototype?"symbol":typeof t},Tu(t)}var ju=jo.f("toPrimitive");function _u(t){var e=function(t,e){if("object"!=Tu(t)||!t)return t;var r=t[ju];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Tu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Tu(e)?e:e+""}function Au(t,e,r){return(e=_u(e))in t?Ja(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eu=Date,Pu=S(Eu.prototype.getTime);rr({target:"Date",stat:!0},{now:function(){return Pu(new Eu)}});var Mu=gt.Date.now,Du=e((function(e,r){!function(t,n){var i="function",o="undefined",a="object",u="string",c="major",s="model",l="name",f="type",d="vendor",p="version",h="architecture",v="console",w="mobile",b="tablet",m="smarttv",g="wearable",y="embedded",S="Amazon",O="Apple",k="ASUS",x="BlackBerry",T="Browser",j="Chrome",_="Firefox",A="Google",E="Huawei",P="LG",M="Microsoft",D="Motorola",$="Opera",L="Samsung",C="Sharp",N="Sony",I="Xiaomi",F="Zebra",R="Facebook",q="Chromium OS",U="Mac OS",z=function(t){for(var e={},r=0;r<t.length;r++)e[t[r].toUpperCase()]=t[r];return e},H=function(t,e){return typeof t===u&&-1!==B(e).indexOf(B(t))},B=function(t){return t.toLowerCase()},W=function(t,e){if(typeof t===u)return t=t.replace(/^\s\s*/,""),typeof e===o?t:t.substring(0,500)},Y=function(t,e){for(var r,o,u,c,s,l,f=0;f<e.length&&!s;){var d=e[f],p=e[f+1];for(r=o=0;r<d.length&&!s&&d[r];)if(s=d[r++].exec(t))for(u=0;u<p.length;u++)l=s[++o],typeof(c=p[u])===a&&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]):n:this[c[0]]=l?c[1].call(this,l,c[2]):n:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):n):this[c]=l||n;f+=2}},V=function(t,e){for(var r in e)if(typeof e[r]===a&&e[r].length>0){for(var i=0;i<e[r].length;i++)if(H(e[r][i],t))return"?"===r?n:r}else if(H(e[r],t))return"?"===r?n:r;return t},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"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,p],[/opios[\/ ]+([\w\.]+)/i],[p,[l,$+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[l,$]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[l,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[l,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[l,"Smart Lenovo "+T]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+T],p],[/\bfocus\/([\w\.]+)/i],[p,[l,_+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[l,$+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[l,$+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[l,"MIUI "+T]],[/fxios\/([-\w\.]+)/i],[p,[l,_]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+T]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+T],p],[/samsungbrowser\/([\w\.]+)/i],[p,[l,L+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[l,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,R],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[l,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,j+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[l,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[p,V,{"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],[l,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[l,_+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,p],[/(cobalt)\/([\w\.]+)/i],[l,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,B]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",B]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,B]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[s,[d,L],[f,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[s,[d,L],[f,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[s,[d,O],[f,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[d,O],[f,b]],[/(macintosh);/i],[s,[d,O]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[d,C],[f,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[s,[d,E],[f,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[s,[d,E],[f,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[s,/_/g," "],[d,I],[f,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[s,/_/g," "],[d,I],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[d,"OPPO"],[f,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[d,"Vivo"],[f,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[s,[d,"Realme"],[f,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[s,[d,D],[f,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[d,D],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[d,P],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[d,P],[f,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[s,[d,"Lenovo"],[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[s,/_/g," "],[d,"Nokia"],[f,w]],[/(pixel c)\b/i],[s,[d,A],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[d,A],[f,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[s,[d,N],[f,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[d,N],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[d,"OnePlus"],[f,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[s,[d,S],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[d,S],[f,w]],[/(playbook);[-\w\),; ]+(rim)/i],[s,d,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[s,[d,x],[f,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[d,k],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[d,k],[f,w]],[/(nexus 9)/i],[s,[d,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[s,/_/g," "],[f,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[d,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[d,"Meizu"],[f,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[s,[d,"Ulefone"],[f,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,s,[f,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,s,[f,b]],[/(surface duo)/i],[s,[d,M],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[d,"Fairphone"],[f,w]],[/(u304aa)/i],[s,[d,"AT&T"],[f,w]],[/\bsie-(\w*)/i],[s,[d,"Siemens"],[f,w]],[/\b(rct\w+) b/i],[s,[d,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[s,[d,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[s,[d,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[d,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[s,[d,"NuVision"],[f,b]],[/\b(k88) b/i],[s,[d,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[s,[d,"ZTE"],[f,w]],[/\b(gen\d{3}) b.+49h/i],[s,[d,"Swiss"],[f,w]],[/\b(zur\d{3}) b/i],[s,[d,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[s,[d,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],s,[f,b]],[/\b(ns-?\w{0,9}) b/i],[s,[d,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[d,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],s,[f,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],s,[f,w]],[/\b(ph-1) /i],[s,[d,"Essential"],[f,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[d,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[s,[d,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[s,[d,"Rotor"],[f,b]],[/(shield[\w ]+) b/i],[s,[d,"Nvidia"],[f,b]],[/(sprint) (\w+)/i],[d,s,[f,w]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[d,M],[f,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[d,F],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[d,F],[f,w]],[/smart-tv.+(samsung)/i],[d,[f,m]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[d,L],[f,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,P],[f,m]],[/(apple) ?tv/i],[d,[s,O+" TV"],[f,m]],[/crkey/i],[[s,j+"cast"],[d,A],[f,m]],[/droid.+aft(\w+)( bui|\))/i],[s,[d,S],[f,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[s,[d,C],[f,m]],[/(bravia[\w ]+)( bui|\))/i],[s,[d,N],[f,m]],[/(mitv-\w{5}) bui/i],[s,[d,I],[f,m]],[/Hbbtv.*(technisat) (.*);/i],[d,s,[f,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,W],[s,W],[f,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,s,[f,v]],[/droid.+; (shield) bui/i],[s,[d,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[s,[d,N],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[d,M],[f,v]],[/((pebble))app/i],[d,s,[f,g]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[s,[d,O],[f,g]],[/droid.+; (glass) \d/i],[s,[d,A],[f,g]],[/droid.+; (wt63?0{2,3})\)/i],[s,[d,F],[f,g]],[/(quest( 2| pro)?)/i],[s,[d,R],[f,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[f,y]],[/(aeobc)\b/i],[s,[d,S],[f,y]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[s,[f,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,w]],[/(android[-\w\. ]{0,9});.+buil/i],[s,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[p,V,G]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,V,G],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,U],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,p],[/\(bb(10);/i],[p,[l,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[l,_+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[l,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,q],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,p],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,p]]},Z=function(e,r){if(typeof e===a&&(r=e,e=n),!(this instanceof Z))return new Z(e,r).getResult();var v=typeof t!==o&&t.navigator?t.navigator:n,m=e||(v&&v.userAgent?v.userAgent:""),g=v&&v.userAgentData?v.userAgentData:n,y=r?function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r}(J,r):J,S=v&&v.userAgent==m;return this.getBrowser=function(){var t={};return t[l]=n,t[p]=n,Y.call(t,m,y.browser),t[c]=function(t){return typeof t===u?t.replace(/[^\d\.]/g,"").split(".")[0]:n}(t[p]),S&&v&&v.brave&&typeof v.brave.isBrave==i&&(t[l]="Brave"),t},this.getCPU=function(){var t={};return t[h]=n,Y.call(t,m,y.cpu),t},this.getDevice=function(){var t={};return t[d]=n,t[s]=n,t[f]=n,Y.call(t,m,y.device),S&&!t[f]&&g&&g.mobile&&(t[f]=w),S&&"Macintosh"==t[s]&&v&&typeof v.standalone!==o&&v.maxTouchPoints&&v.maxTouchPoints>2&&(t[s]="iPad",t[f]=b),t},this.getEngine=function(){var t={};return t[l]=n,t[p]=n,Y.call(t,m,y.engine),t},this.getOS=function(){var t={};return t[l]=n,t[p]=n,Y.call(t,m,y.os),S&&!t[l]&&g&&"Unknown"!=g.platform&&(t[l]=g.platform.replace(/chrome os/i,q).replace(/macos/i,U)),t},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 m},this.setUA=function(t){return m=typeof t===u&&t.length>500?W(t,500):t,this},this.setUA(m),this};Z.VERSION="1.0.37",Z.BROWSER=z([l,p,c]),Z.CPU=z([h]),Z.DEVICE=z([s,d,f,v,w,m,b,g,y]),Z.ENGINE=Z.OS=z([l,p]),e.exports&&(r=e.exports=Z),r.UAParser=Z;var X=typeof t!==o&&(t.jQuery||t.Zepto);if(X&&!X.ua){var K=new Z;X.ua=K.getResult(),X.ua.get=function(){return K.getUA()},X.ua.set=function(t){K.setUA(t);var e=K.getResult();for(var r in e)X.ua[r]=e[r]}}}("object"==typeof window?window:t)})),$u=e((function(t,e){t.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",u="day",c="week",s="month",l="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},b=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},m={s:b,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+b(n,2,"0")+":"+b(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,s),o=r-i<0,a=e.clone().add(n+(o?-1:1),s);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:s,y:f,w:c,d:u,D:d,h:a,m:o,s:i,ms:n,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",y={};y[g]=w;var S="$isDayjsObject",O=function(t){return t instanceof j||!(!t||!t[S])},k=function t(e,r,n){var i;if(!e)return g;if("string"==typeof e){var o=e.toLowerCase();y[o]&&(i=o),r&&(y[o]=r,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var u=e.name;y[u]=e,i=u}return!n&&i&&(g=i),i||!n&&g},x=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new j(r)},T=m;T.l=k,T.i=O,T.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var j=function(){function w(t){this.$L=k(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[S]=!0}var b=w.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(T.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(h);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},b.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},b.$utils=function(){return T},b.isValid=function(){return!(this.$d.toString()===p)},b.isSame=function(t,e){var r=x(t);return this.startOf(e)<=r&&r<=this.endOf(e)},b.isAfter=function(t,e){return x(t)<this.startOf(e)},b.isBefore=function(t,e){return this.endOf(e)<x(t)},b.$g=function(t,e,r){return T.u(t)?this[e]:this.set(r,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,e){var r=this,n=!!T.u(e)||e,l=T.p(t),p=function(t,e){var i=T.w(r.$u?Date.UTC(r.$y,