(function(sttc){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var n,aa;function ba(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ca="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 da(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 ea=da(this),fa="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),t={},ha={};function v(a,b){var c=ha[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}
function w(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0],f;!a&&e in t?f=t:f=ea;for(e=0;e<d.length-1;e++){var g=d[e];if(!(g in f))break a;f=f[g]}d=d[d.length-1];c=fa&&"es6"===c?f[d]:null;b=b(c);null!=b&&(a?ca(t,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===ha[d]&&(a=1E9*Math.random()>>>0,ha[d]=fa?ea.Symbol(d):"$jscp$"+a+"$"+d),ca(f,ha[d],{configurable:!0,writable:!0,value:b})))}}
w("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.h=f;ca(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.h};var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b},"es6");
w("Symbol.iterator",function(a){if(a)return a;a=(0,t.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=ea[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(ba(this))}})}return a},"es6");
function ia(a){a={next:a};a[v(t.Symbol,"iterator")]=function(){return this};return a}function ja(a){return a.raw=a}function y(a){var b="undefined"!=typeof t.Symbol&&v(t.Symbol,"iterator")&&a[v(t.Symbol,"iterator")];return b?b.call(a):{next:ba(a)}}function ka(a){if(!(a instanceof Array)){a=y(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function la(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
var ma=fa&&"function"==typeof v(Object,"assign")?v(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)la(d,e)&&(a[e]=d[e])}return a};w("Object.assign",function(a){return a||ma},"es6");var na="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},oa;
if(fa&&"function"==typeof Object.setPrototypeOf)oa=Object.setPrototypeOf;else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sa=oa;
function z(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(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.Qa=b.prototype}function ta(){this.l=!1;this.h=null;this.o=void 0;this.i=1;this.u=0;this.j=null}function va(a){if(a.l)throw new TypeError("Generator is already running");a.l=!0}ta.prototype.m=function(a){this.o=a};
function wa(a,b){a.j={exception:b,Ja:!0};a.i=a.u}ta.prototype.return=function(a){this.j={return:a};this.i=this.u};function xa(a,b){a.i=2;return{value:b}}function ya(a){this.h=new ta;this.i=a}function za(a,b){va(a.h);var c=a.h.h;if(c)return Aa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.h.return);a.h.return(b);return Ba(a)}
function Aa(a,b,c,d){try{var e=b.call(a.h.h,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.h.l=!1,e;var f=e.value}catch(g){return a.h.h=null,wa(a.h,g),Ba(a)}a.h.h=null;d.call(a.h,f);return Ba(a)}
function Ba(a){for(;a.h.i;)try{var b=a.i(a.h);if(b)return a.h.l=!1,{value:b.value,done:!1}}catch(c){a.h.o=void 0,wa(a.h,c)}a.h.l=!1;if(a.h.j){b=a.h.j;a.h.j=null;if(b.Ja)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function Ca(a){this.next=function(b){va(a.h);a.h.h?b=Aa(a,a.h.h.next,b,a.h.m):(a.h.m(b),b=Ba(a));return b};this.throw=function(b){va(a.h);a.h.h?b=Aa(a,a.h.h["throw"],b,a.h.m):(wa(a.h,b),b=Ba(a));return b};this.return=function(b){return za(a,b)};this[v(t.Symbol,"iterator")]=function(){return this}}
function Da(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new t.Promise(function(d,e){function f(g){g.done?d(g.value):t.Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})}function Ea(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
w("Promise",function(a){function b(g){this.i=0;this.j=void 0;this.h=[];this.o=!1;var h=this.l();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.h=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.i=function(g){if(null==this.h){this.h=[];var h=this;this.j(function(){h.m()})}this.h.push(g)};var e=ea.setTimeout;c.prototype.j=function(g){e(g,0)};c.prototype.m=function(){for(;this.h&&this.h.length;){var g=this.h;this.h=[];for(var h=0;h<g.length;++h){var k=
g[h];g[h]=null;try{k()}catch(l){this.l(l)}}}this.h=null};c.prototype.l=function(g){this.j(function(){throw g;})};b.prototype.l=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.J),reject:g(this.m)}};b.prototype.J=function(g){if(g===this)this.m(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.R(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?this.I(g):this.u(g)}};
b.prototype.I=function(g){var h=void 0;try{h=g.then}catch(k){this.m(k);return}"function"==typeof h?this.Y(h,g):this.u(g)};b.prototype.m=function(g){this.B(2,g)};b.prototype.u=function(g){this.B(1,g)};b.prototype.B=function(g,h){if(0!=this.i)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.i);this.i=g;this.j=h;2===this.i&&this.K();this.D()};b.prototype.K=function(){var g=this;e(function(){if(g.F()){var h=ea.console;"undefined"!==typeof h&&h.error(g.j)}},1)};b.prototype.F=
function(){if(this.o)return!1;var g=ea.CustomEvent,h=ea.Event,k=ea.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=ea.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.j;return k(g)};b.prototype.D=function(){if(null!=this.h){for(var g=0;g<this.h.length;++g)f.i(this.h[g]);this.h=null}};var f=new c;
b.prototype.R=function(g){var h=this.l();g.Z(h.resolve,h.reject)};b.prototype.Y=function(g,h){var k=this.l();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(q,r){return"function"==typeof q?function(u){try{l(q(u))}catch(x){m(x)}}:r}var l,m,p=new b(function(q,r){l=q;m=r});this.Z(k(g,l),k(h,m));return p};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.Z=function(g,h){function k(){switch(l.i){case 1:g(l.j);break;case 2:h(l.j);break;
default:throw Error("Unexpected state: "+l.i);}}var l=this;null==this.h?f.i(k):this.h.push(k);this.o=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=y(g),m=l.next();!m.done;m=l.next())d(m.value).Z(h,k)})};b.all=function(g){var h=y(g),k=h.next();return k.done?d([]):new b(function(l,m){function p(u){return function(x){q[u]=x;r--;0==r&&l(q)}}var q=[],r=0;do q.push(void 0),r++,d(k.value)