Professional Documents
Culture Documents
{done:!1,value:a[b++]}:{done:!0}}}var ba="function"==typeof
Object.defineProperties?Object.defineProperty:function(a,b,c)
{if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof
window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var
b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find
global object");}var u=ca(this);function v(a,b){if(b)a:{var
c=u;a=a.split(".");for(var d=0;d<a.length-1;d++){var h=a[d];if(!(h in c))break
a;c=c[h]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!
0,writable:!0,value:b})}}
v("Symbol",function(a){function b(g){if(this instanceof b)throw new
TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+h++,g)}function
c(g,e){this.g=g;ba(this,"description",{configurable:!0,writable:!
0,value:e})}if(a)return a;c.prototype.toString=function(){return this.g};var
d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",h=0;return b});
v("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var
b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array
Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var
d=u[b[c]];"function"===typeof d&&"function"!=typeof
d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function()
{return da(aa(this))}})}return a});function da(a)
{a={next:a};a[Symbol.iterator]=function(){return this};return a}
function w(a){var b="undefined"!=typeof
Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return
b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+"
is not an iterable or ArrayLike");}var ea="function"==typeof Object.create?
Object.create:function(a){function b(){}b.prototype=a;return new b},fa;
if("function"==typeof Object.setPrototypeOf)fa=Object.setPrototypeOf;else{var ha;a:
{var ia={a:!0},ja={};try{ja.__proto__=ia;ha=ja.a;break a}catch(a){}ha=!1}fa=ha?
function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not
extensible");return a}:null}var ka=fa;
function la(a,b)
{a.prototype=ea(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c
in b)if("prototype"!=c)if(Object.defineProperties){var
d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else
a[c]=b[c];a.P=b.prototype}function ma(){this.j=!1;this.g=null;this.s=void
0;this.h=1;this.o=this.l=0;this.i=null}function na(a){if(a.j)throw new
TypeError("Generator is already running");a.j=!0}ma.prototype.m=function(a)
{this.s=a};
function oa(a,b){a.i={K:b,L:!0};a.h=a.l||a.o}ma.prototype.return=function(a)
{this.i={return:a};this.h=this.o};function pa(a,b){a.h=4;return{value:b}}function
qa(a){this.g=new ma;this.h=a}function ra(a,b){na(a.g);var c=a.g.g;if(c)return
sa(a,"return"in c?c["return"]:function(d){return{value:d,done:!
0}},b,a.g.return);a.g.return(b);return x(a)}
function sa(a,b,c,d){try{var h=b.call(a.g.g,c);if(!(h instanceof Object))throw new
TypeError("Iterator result "+h+" is not an object");if(!h.done)return a.g.j=!
1,h;var g=h.value}catch(e){return
a.g.g=null,oa(a.g,e),x(a)}a.g.g=null;d.call(a.g,g);return x(a)}function x(a)
{for(;a.g.h;)try{var b=a.h(a.g);if(b)return a.g.j=!1,{value:b.value,done:!
1}}catch(c){a.g.s=void 0,oa(a.g,c)}a.g.j=!1;if(a.g.i)
{b=a.g.i;a.g.i=null;if(b.L)throw b.K;return{value:b.return,done:!
0}}return{value:void 0,done:!0}}
function ta(a){this.next=function(b){na(a.g);a.g.g?b=sa(a,a.g.g.next,b,a.g.m):
(a.g.m(b),b=x(a));return b};this.throw=function(b){na(a.g);a.g.g?
b=sa(a,a.g.g["throw"],b,a.g.m):(oa(a.g,b),b=x(a));return b};this.return=function(b)
{return ra(a,b)};this[Symbol.iterator]=function(){return this}}function ua(a)
{function b(d){return a.next(d)}function c(d){return a.throw(d)}return new
Promise(function(d,h){function g(e){e.done?
d(e.value):Promise.resolve(e.value).then(b,c).then(g,h)}g(a.next())})}
function va(a){return ua(new ta(new qa(a)))}function wa(){for(var
a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
v("Promise",function(a){function b(e){this.h=0;this.i=void 0;this.g=[];this.o=!
1;var f=this.j();try{e(f.resolve,f.reject)}catch(k){f.reject(k)}}function c()
{this.g=null}function d(e){return e instanceof b?e:new b(function(f)
{f(e)})}if(a)return a;c.prototype.h=function(e){if(null==this.g){this.g=[];var
f=this;this.i(function(){f.l()})}this.g.push(e)};var
h=u.setTimeout;c.prototype.i=function(e){h(e,0)};c.prototype.l=function()
{for(;this.g&&this.g.length;){var e=this.g;this.g=[];for(var f=0;f<e.length;++f)
{var k=
e[f];e[f]=null;try{k()}catch(l){this.j(l)}}}this.g=null};c.prototype.j=function(e)
{this.i(function(){throw e;})};b.prototype.j=function(){function e(l){return
function(m){k||(k=!0,l.call(f,m))}}var f=this,k=!
1;return{resolve:e(this.C),reject:e(this.l)}};b.prototype.C=function(e)
{if(e===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(e
instanceof b)this.H(e);else{a:switch(typeof e){case "object":var f=null!=e;break
a;case "function":f=!0;break a;default:f=!1}f?this.B(e):this.m(e)}};
b.prototype.B=function(e){var f=void 0;try{f=e.then}catch(k)
{this.l(k);return}"function"==typeof f?
this.J(f,e):this.m(e)};b.prototype.l=function(e)
{this.s(2,e)};b.prototype.m=function(e){this.s(1,e)};b.prototype.s=function(e,f)
{if(0!=this.h)throw Error("Cannot settle("+e+", "+f+"): Promise already settled in
state"+this.h);this.h=e;this.i=f;2===this.h&&this.D();this.A()};b.prototype.D=funct
ion(){var e=this;h(function(){if(e.G()){var f=u.console;"undefined"!==typeof
f&&f.error(e.i)}},1)};b.prototype.G=
function(){if(this.o)return!1;var
e=u.CustomEvent,f=u.Event,k=u.dispatchEvent;if("undefined"===typeof k)return!
0;"function"===typeof e?e=new e("unhandledrejection",{cancelable:!
0}):"function"===typeof f?e=new f("unhandledrejection",{cancelable:!0}):
(e=u.document.createEvent("CustomEvent"),e.initCustomEvent("unhandledrejection",!
1,!0,e));e.promise=this;e.reason=this.i;return k(e)};b.prototype.A=function()
{if(null!=this.g){for(var e=0;e<this.g.length;++e)g.h(this.g[e]);this.g=null}};var
g=new c;b.prototype.H=
function(e){var f=this.j();e.F(f.resolve,f.reject)};b.prototype.J=function(e,f){var
k=this.j();try{e.call(f,k.resolve,k.reject)}catch(l)
{k.reject(l)}};b.prototype.then=function(e,f){function k(q,n)
{return"function"==typeof q?function(r){try{l(q(r))}catch(C){m(C)}}:n}var l,m,p=new
b(function(q,n){l=q;m=n});this.F(k(e,l),k(f,m));return
p};b.prototype.catch=function(e){return this.then(void
0,e)};b.prototype.F=function(e,f){function k(){switch(l.h){case 1:e(l.i);break;case
2:f(l.i);break;default:throw Error("Unexpected state: "+
l.h);}}var l=this;null==this.g?g.h(k):this.g.push(k);this.o=!
0};b.resolve=d;b.reject=function(e){return new b(function(f,k)
{k(e)})};b.race=function(e){return new b(function(f,k){for(var l=w(e),m=l.next();!
m.done;m=l.next())d(m.value).F(f,k)})};b.all=function(e){var
f=w(e),k=f.next();return k.done?d([]):new b(function(l,m){function p(r){return
function(C){q[r]=C;n--;0==n&&l(q)}}var q=[],n=0;do q.push(void 0),n+
+,d(k.value).F(p(q.length-1),m),k=f.next();while(!k.done)})};return b});
var xa="function"==typeof Object.assign?Object.assign:function(a,b){for(var
c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var h in
d)Object.prototype.hasOwnProperty.call(d,h)&&(a[h]=d[h])}return
a};v("Object.assign",function(a){return a||xa});v("Object.is",function(a){return a?
a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
v("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d
instanceof String&&(d=String(d));var h=d.length;c=c||
0;for(0>c&&(c=Math.max(c+h,0));c<h;c++){var g=d[c];if(g===b||Object.is(g,b))return!
0}return!1}});
v("String.prototype.includes",function(a){return a?a:function(b,c)
{if(null==this)throw new TypeError("The 'this' value for String.prototype.includes
must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First
argument to String.prototype.includes must not be a regular expression");return-1!
==this.indexOf(b,c||0)}});/*