vart=function(){returnt=Object.assign||function(n){for(vart,e=1,r=arguments.length;e<r;e++)for(varoint=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);returnn},t.apply(this,arguments)};functione(n,t){vare={};for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeofObject.getOwnPropertySymbols){varo=0;for(r=Object.getOwnPropertySymbols(n);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(e[r[o]]=n[r[o]]);}returne}functionr(n,t,e,r){returnnew(e||(e=Promise))((function(o,i){functionu(n){try{c(r.next(n));}catch(t){i(t);}}functiona(n){try{c(r.throw(n));}catch(t){i(t);}}functionc(n){vart;n.done?o(n.value):(t=n.value,tinstanceofe?t:newe((function(n){n(t);}))).then(u,a);}c((r=r.apply(n,t||[])).next());}))}functiono(n,t){vare,r,o,i,u={label:0,sent:function(){if(1&o[0])throwo[1];returno[1]},trys:[],ops:[]};returni={next:a(0),throw:a(1),return:a(2)},"function"==typeofSymbol&&(i[Symbol.iterator]=function(){returnthis}),i;functiona(a){returnfunction(c){returnfunction(a){if(e)thrownewTypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(e=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)returno;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case0:case1:o=a;break;case4:returnu.label++,{value:a[1],done:!1};case5:u.label++,r=a[1],a=[0];continue;case7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(n,u);}catch(c){a=[6,c],r=0;}finally{e=o=0;}if(5&a[0])throwa[1];return{value:a[0]?a[1]:void0,done:!0}}([a,c])}}}functioni(n,t,e){if(e||2===arguments.length)for(varr,o=0,i=t.length;o<i;o++)!r&&oint||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);returnn.concat(r||Array.prototype.slice.call(t))}functionu(n,t){returnnewPromise((function(e){returna(e,n,t)}))}functiona(n,t){for(vare=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];varo=Date.now()+t,i=0,u=function(){i=setTimeout((function(){Date.now()<o?u():n.apply(void0,e);}),o-Date.now());};returnu(),function(){returnclearTimeout(i)}}functionc(n,t,e){for(varr=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];vari,u=!1,c=n,s=0,l=function(){u||i||(s=Date.now(),i=a((function(){u=!0,e.apply(void0,r);}),c));},f=function(){!u&&i&&(i(),i=void0,c-=Date.now()-s);};returnt&&l(),{start:l,stop:f}}functions(n,t){for(vare=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];varo=document,i="visibilitychange",u=function(){returno.hidden?l():s()},a=c(t,!o.hidden,(function(){o.removeEventListener(i,u),n.apply(void0,e);})),s=a.start,l=a.stop;returno.addEventListener(i,u),function(){o.removeEventListener(i,u),l();}}functionl(n,t){returnnewPromise((function(e){returns(e,n,t)}))}functionf(n,t){returnr(this,void0,void0,(function(){vare;returno(this,(function(r){switch(r.label){case0:returnr.trys.push([0,2,,3]),[4,n()];case1:return[2,r.sent()];case2:returne=r.sent(),console.error(e),[2,t];case3:return[2]}}))}))}functionv(n,t){returnnewPromise((function(e,r){varo=!1;null==t||t.then((function(){returno=!0}),(function(){returno=!0})),("function"==typeofn?v(Promise.resolve(),t).then(n):n).then((function(n){o||e(n);}),(function(n){o||r(n);}));}))}functiond(n){n.then(void0,(function(){}));}functionh(n,t){returnr(this,void0,void0,(function(){vare,r,i,u;returno(this,(function(o){switch(o.label){case0:try{e=t().then((function(n){returnr=[!0,n]}),(function(n){returnr=[!1,n]}));}catch(a){r=[!1,a];}returnu=n.then((function(n){returni=[!0,n]}),(function(n){returni=[!1,n]})),[4,Promise.race([e,u])];case1:returno.sent(),[2,function(){if(r){if(r[0])returnr[1];throwr[1]}if(i){if(i[0])returni[1];throwi[1]}thrownewError("96375")}]}}))}))}functionm(){var