/* Copyright The Closure Library Authors. Copyright The Closure Compiler Authors. SPDX-License-Identifier: Apache-2.0 */ function g(){this.j=!1;this.h=null;this.l=void 0;this.g=1;this.o=0;this.i=null}function k(a){if(a.j)throw new TypeError("Generator is already running");a.j=!0}g.prototype.m=function(a){this.l=a};function l(a,b){a.i={s:b,u:!0};a.g=a.o}g.prototype.return=function(a){this.i={return:a};this.g=this.o};function m(a){this.g=new g;this.h=a}function n(a,b){k(a.g);var c=a.g.h;if(c)return p(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return q(a)} function p(a,b,c,d){try{var e=b.call(a.g.h,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.j=!1,e;var h=e.value}catch(f){return a.g.h=null,l(a.g,f),q(a)}a.g.h=null;d.call(a.g,h);return q(a)}function q(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.j=!1,{value:b.value,done:!1}}catch(c){a.g.l=void 0,l(a.g,c)}a.g.j=!1;if(a.g.i){b=a.g.i;a.g.i=null;if(b.u)throw b.s;return{value:b.return,done:!0}}return{value:void 0,done:!0}} function r(a){this.next=function(b){k(a.g);a.g.h?b=p(a,a.g.h.next,b,a.g.m):(a.g.m(b),b=q(a));return b};this.throw=function(b){k(a.g);a.g.h?b=p(a,a.g.h["throw"],b,a.g.m):(l(a.g,b),b=q(a));return b};this.return=function(b){return n(a,b)};this[Symbol.iterator]=function(){return this}}function t(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function h(f){f.done?d(f.value):Promise.resolve(f.value).then(b,c).then(h,e)}h(a.next())})} function u(a){return t(new r(new m(a)))}var v=this||self;function w(a){return String.fromCodePoint(a).toLowerCase().codePointAt(0)}function x(a){return String.fromCodePoint(a).toUpperCase().codePointAt(0)}function y(a){return String.fromCharCode(a).toLowerCase().charCodeAt(0)}function z(a){return String.fromCharCode(a).toUpperCase().charCodeAt(0)};function A(a,b){console[a](b)};function B(a){return/^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/.test(a)}function C(a,b){return a%b};function D(a,b){if(a instanceof Object)try{a.__j2wasm$exception=b}catch(c){}}function E(a){var b;return(b=a.__j2wasm$exception)!=null?b:null};function F(a,b){return a.toLowerCase()==b.toLowerCase()}function G(a,b){a=a.toLowerCase();b=b.toLowerCase();return a==b?0:a