@miradorlabs/parallax-web 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,65 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
 
3
- var grpcWeb = {};
4
-
5
- /*
6
-
7
- Copyright The Closure Library Authors.
8
- SPDX-License-Identifier: Apache-2.0
9
- */
10
-
11
- var hasRequiredGrpcWeb;
12
-
13
- function requireGrpcWeb () {
14
- if (hasRequiredGrpcWeb) return grpcWeb;
15
- hasRequiredGrpcWeb = 1;
16
- var n,p=p||{},q=grpcWeb||self;function r(a,b){a=a.split(".");b=b||q;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function t(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function ca(a,b,c){return a.call.apply(a.bind,arguments)}
17
- function da(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function w(a,b,c){w=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ca:da;return w.apply(null,arguments)}
18
- function x(a,b){function c(){}c.prototype=b.prototype;a.N=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.aa=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)};}class ea{constructor(a){this.g=a||{};}get(a){return this.g[a]}}class fa{constructor(a,b,c){var d=new ea;this.j=a;this.h=b;this.g=c;this.i=d;}getRequestMessage(){return this.j}getMethodDescriptor(){return this.h}getMetadata(){return this.g}getCallOptions(){return this.i}}class ha{constructor(a,b,c={},d=null){this.i=a;this.g=c;this.h=b;this.j=d;}getResponseMessage(){return this.i}getMetadata(){return this.g}getMethodDescriptor(){return this.h}getStatus(){return this.j}}function ia(a,b,c={}){return new fa(b,a,c)}function ja(a,b,c={},d=null){return new ha(b,a,c,d)}const ka=class{constructor(a,b,c,d,e,g){this.name=a;this.g=e;this.h=g;}getName(){return this.name}};ka.prototype.getName=ka.prototype.getName;class la{constructor(a){this.g=a;}on(a,b){return a=="data"||a=="error"?this:this.g.on(a,b)}removeListener(a,b){return this.g.removeListener(a,b)}cancel(){this.g.cancel();}}function ma(a){switch(a){case 0:return "No Error";case 1:return "Access denied to content document";case 2:return "File not found";case 3:return "Firefox silently errored";case 4:return "Application custom error";case 5:return "An exception occurred";case 6:return "Http response at 400 or 500 level";case 7:return "Request was aborted";case 8:return "Request timed out";case 9:return "The resource is not available offline";default:return "Unrecognized error code"}}function y(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,y);else {const c=Error().stack;c&&(this.stack=c);}a&&(this.message=String(a));b!==void 0&&(this.cause=b);}x(y,Error);y.prototype.name="CustomError";function na(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");y.call(this,c+a[d]);}x(na,y);na.prototype.name="AssertionError";function oa(a,b){throw new na("Failure"+(": "+a),Array.prototype.slice.call(arguments,1));}function pa(a,b){function c(l){l==qa?f.o=l:l==B?f.o=l:ra(f,h,k,"invalid frame byte");f.h=sa;f.g=0;f.l=0;}function d(l){f.l++;f.g=(f.g<<8)+l;f.l==4&&(f.h=ta,f.m=0,typeof Uint8Array!=="undefined"?f.i=new Uint8Array(f.g):f.i=Array(f.g),f.g==0&&g());}function e(l){f.i[f.m++]=l;f.m==f.g&&g();}function g(){var l={};l[f.o]=f.i;f.j.push(l);f.h=ua;}var f=a,h,k=0;for(b instanceof Uint8Array||b instanceof Array?h=b:h=new Uint8Array(b);k<h.length;){switch(f.h){case va:ra(f,h,k,"stream already broken");break;case ua:c(h[k]);
19
- break;case sa:d(h[k]);break;case ta:e(h[k]);break;default:throw Error("unexpected parser state: "+f.h);}f.v++;k++;}a=f.j;f.j=[];return a.length>0?a:null}class wa{constructor(){this.u=null;this.j=[];this.v=0;this.h=ua;this.l=this.g=this.o=0;this.i=null;this.m=0;}}var ua=0,sa=1,ta=2,va=3,qa=0,B=128;function ra(a,b,c,d){a.h=va;a.u="The stream is broken @"+a.v+"/"+c+". Error: "+d+". With input:\n"+b;throw Error(a.u);}function xa(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}
20
- function ya(a){switch(a){case 0:return "OK";case 1:return "CANCELLED";case 2:return "UNKNOWN";case 3:return "INVALID_ARGUMENT";case 4:return "DEADLINE_EXCEEDED";case 5:return "NOT_FOUND";case 6:return "ALREADY_EXISTS";case 7:return "PERMISSION_DENIED";case 16:return "UNAUTHENTICATED";case 8:return "RESOURCE_EXHAUSTED";case 9:return "FAILED_PRECONDITION";case 10:return "ABORTED";case 11:return "OUT_OF_RANGE";case 12:return "UNIMPLEMENTED";case 13:return "INTERNAL";case 14:return "UNAVAILABLE";case 15:return "DATA_LOSS";
21
- default:return ""}}class C extends Error{constructor(a,b,c={}){super(b);this.code=a;this.metadata=c;}toString(){let a=`RpcError(${ya(this.code)||String(this.code)})`;this.message&&(a+=": "+this.message);return a}}C.prototype.name="RpcError";const za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return -1};function Aa(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}function D(a){return Aa().indexOf(a)!=-1}function Ba(a){Ba[" "](a);return a}Ba[" "]=function(){};var Ca=D("Trident")||D("MSIE"),Da=D("Gecko")&&!(Aa().toLowerCase().indexOf("webkit")!=-1&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge");var Fa=class{constructor(a){if(Ea!==Ea)throw Error("SafeUrl is not meant to be built directly");this.g=a;}toString(){return this.g.toString()}},Ea={};new Fa("about:invalid#zClosurez");new Fa("about:blank");const Ga={};class Ha{constructor(){if(Ga!==Ga)throw Error("SafeStyle is not meant to be built directly");}toString(){return "".toString()}}new Ha;function Ia(a,b){for(const c in a)b.call(void 0,a[c],c,a);}function Ja(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c}const Ka="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function La(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let g=0;g<Ka.length;g++)c=Ka[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c]);}}const Ma={};class Na{constructor(){if(Ma!==Ma)throw Error("SafeStyleSheet is not meant to be built directly");}toString(){return "".toString()}}new Na;const Oa={};class Pa{constructor(){var a=q.trustedTypes&&q.trustedTypes.emptyHTML||"";if(Oa!==Oa)throw Error("SafeHtml is not meant to be built directly");this.g=a;}toString(){return this.g.toString()}}new Pa;function Qa(a){var b=1;a=a.split(":");const c=[];for(;b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c}function E(){this.v=this.v;this.o=this.o;}var Ra=0;E.prototype.v=false;E.prototype.dispose=function(){if(!this.v&&(this.v=true,this.C(),0!=Ra));};E.prototype.C=function(){if(this.o)for(;this.o.length;)this.o.shift()();};var Ta=Object.freeze||function(a){return a};function F(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=false;}F.prototype.h=function(){this.defaultPrevented=true;};var Ua=function(){if(!q.addEventListener||!Object.defineProperty)return false;var a=false,b=Object.defineProperty({},"passive",{get:function(){a=true;}});try{const c=()=>{};q.addEventListener("test",c,b);q.removeEventListener("test",c,b);}catch(c){}return a}();function G(a,b){F.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=false;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b);}x(G,F);var Va=Ta({2:"touch",3:"pen",4:"mouse"});
22
- G.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;if(b=a.relatedTarget){if(Da){a:{try{Ba(b.nodeName);var e=!0;break a}catch(g){}e=false;}e||(b=null);}}else c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||
23
- 0):(this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:Va[a.pointerType]||"";this.state=a.state;this.i=a;a.defaultPrevented&&G.N.h.call(this);};
24
- G.prototype.h=function(){G.N.h.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=false;};var H="closure_listenable_"+(Math.random()*1E6|0);var Wa=0;function Xa(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.M=e;this.key=++Wa;this.D=this.L=false;}function I(a){a.D=true;a.listener=null;a.proxy=null;a.src=null;a.M=null;}function J(a){this.src=a;this.g={};this.h=0;}J.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.h++);var f=Ya(a,b,d,e);f>-1?(b=a[f],c||(b.L=false)):(b=new Xa(b,this.src,g,!!d,e),b.L=c,a.push(b));return b};function Za(a,b){var c=b.type;if(c in a.g){var d=a.g[c],e=za(d,b),g;(g=e>=0)&&Array.prototype.splice.call(d,e,1);g&&(I(b),a.g[c].length==0&&(delete a.g[c],a.h--));}}
25
- function Ya(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.D&&g.listener==b&&g.capture==!!c&&g.M==d)return e}return -1}var $a="closure_lm_"+(Math.random()*1E6|0),ab={};function cb(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)cb(a,b[g],c,d,e);else c=eb(c),a&&a[H]?a.j.add(String(b),c,false,t(d)?!!d.capture:false,e):fb(a,b,c,false,d,e);}
26
- function fb(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,h=gb(a);h||(a[$a]=h=new J(a));c=h.add(b,c,d,f,g);if(!c.proxy){d=hb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ua||(e=f),e===void 0&&(e=false),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(mb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");}}
27
- function hb(){function a(c){return b.call(a.src,a.listener,c)}const b=nb;return a} function ob(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ob(a,b[g],c,d,e);else (d=t(d)?!!d.capture:!!d,c=eb(c),a&&a[H])?(a=a.j,b=String(b).toString(),b in a.g&&(g=a.g[b],c=Ya(g,c,d,e),c>-1&&(I(g[c]),Array.prototype.splice.call(g,c,1),g.length==0&&(delete a.g[b],a.h--)))):a&&(a=gb(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Ya(b,c,d,e)),(c=a>-1?b[a]:null)&&pb(c));}
28
- function pb(a){if(typeof a!=="number"&&a&&!a.D){var b=a.src;if(b&&b[H])Za(b.j,a);else {var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(mb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);(c=gb(b))?(Za(c,a),c.h==0&&(c.src=null,b[$a]=null)):I(a);}}}function mb(a){return a in ab?ab[a]:ab[a]="on"+a}function nb(a,b){if(a.D)a=true;else {b=new G(b,this);var c=a.listener,d=a.M||a.src;a.L&&pb(a);a=c.call(d,b);}return a}
29
- function gb(a){a=a[$a];return a instanceof J?a:null}var qb="__closure_events_fn_"+(Math.random()*1E9>>>0);function eb(a){if(typeof a==="function")return a;a[qb]||(a[qb]=function(b){return a.handleEvent(b)});return a[qb]}function K(){E.call(this);this.j=new J(this);this.W=this;this.S=null;}x(K,E);K.prototype[H]=true;K.prototype.removeEventListener=function(a,b,c,d){ob(this,a,b,c,d);};
30
- function L(a,b){var c,d=a.S;if(d)for(c=[];d;d=d.S)c.push(d);a=a.W;d=b.type||b;if(typeof b==="string")b=new F(b,a);else if(b instanceof F)b.target=b.target||a;else {var e=b;b=new F(d,a);La(b,e);}e=true;if(c)for(var g=c.length-1;g>=0;g--){var f=b.g=c[g];e=M(f,d,true,b)&&e;}f=b.g=a;e=M(f,d,true,b)&&e;e=M(f,d,false,b)&&e;if(c)for(g=0;g<c.length;g++)f=b.g=c[g],e=M(f,d,false,b)&&e;}
31
- K.prototype.C=function(){K.N.C.call(this);if(this.j){var a=this.j,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)I(d[e]);delete a.g[c];a.h--;}}this.S=null;};function M(a,b,c,d){b=a.j.g[String(b)];if(!b)return true;b=b.concat();for(var e=true,g=0;g<b.length;++g){var f=b[g];if(f&&!f.D&&f.capture==c){var h=f.listener,k=f.M||f.src;f.L&&Za(a.j,f);e=h.call(k,d)!==false&&e;}}return e&&!d.defaultPrevented}var rb=q;function sb(a,b,c){if(typeof a==="function")c&&(a=w(a,c));else if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:rb.setTimeout(a,b||0)}var N=class{constructor(a,b){this.name=a;this.value=b;}toString(){return this.name}},O=new N("OFF",Infinity),tb=new N("SEVERE",1E3),ub=new N("CONFIG",700),vb=new N("FINE",500),yb=class{constructor(a,b,c){this.reset(a||O,b,c,void 0,void 0);}reset(){}};function zb(a){if(a.g)return a.g;if(a.h)return zb(a.h);oa("Root logger has no level set.");return O}function Ab(a,b){for(;a;)a.j.forEach(c=>{c(b);}),a=a.h;}
32
- var Bb=class{constructor(a,b=null){this.g=null;this.j=[];this.h=b||null;this.i=[];this.l={getName:()=>a};}};function P(a,b){var c=a.entries[b];if(c)return c;c=P(a,b.slice(0,Math.max(b.lastIndexOf("."),0)));const d=new Bb(b,c);a.entries[b]=d;c.i.push(d);return d}var Cb=class{constructor(){this.entries={};const a=new Bb("");a.g=ub;this.entries[""]=a;}},Db;function Eb(){Db||=new Cb;return Db}
33
- function Fb(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?zb(P(Eb(),a.getName())):O;d=d>=e.value;}d&&(b=b||O,d=P(Eb(),a.getName()),typeof c==="function"&&(c=c()),a=a.getName(),a=new yb(b,c,a),Ab(d,a));}function Gb(a,b){a&&Fb(a,tb,b);}function Q(a,b){a&&Fb(a,vb,b);}function Hb(){}Hb.prototype.g=null;function Ib(a){var b;(b=a.g)||(b={},Jb(a)&&(b[0]=true,b[1]=true),b=a.g=b);return b}var Kb;function Lb(){}x(Lb,Hb);function Mb(a){return (a=Jb(a))?new ActiveXObject(a):new XMLHttpRequest}function Jb(a){if(!a.h&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){const b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(let c=0;c<b.length;c++){const d=b[c];try{return new ActiveXObject(d),a.h=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.h}Kb=new Lb;var Nb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function R(a){K.call(this);this.headers=new Map;this.K=a||null;this.i=false;this.J=this.g=null;this.T=this.G="";this.m=0;this.A="";this.l=this.R=this.F=this.P=false;this.u=0;this.H=null;this.B=Ob;this.I=this.O=false;}x(R,K);var Ob="";R.prototype.h=P(Eb(),"goog.net.XhrIo").l;var Pb=/^https?$/i,Qb=["POST","PUT"];
34
- function Rb(a,b,c){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.G+"; newUri="+b);a.G=b;a.A="";a.m=0;a.T="POST";a.P=false;a.i=true;a.g=a.K?Mb(a.K):Mb(Kb);a.J=a.K?Ib(a.K):Ib(Kb);a.g.onreadystatechange=w(a.U,a);try{Q(a.h,S(a,"Opening Xhr")),a.R=!0,a.g.open("POST",String(b),!0),a.R=!1;}catch(g){Q(a.h,S(a,"Error opening Xhr: "+g.message));Sb(a,g);return}b=c||"";c=new Map(a.headers);const d=Array.from(c.keys()).find(g=>"content-type"==g.toLowerCase()),e=q.FormData&&b instanceof
35
- q.FormData;!(za(Qb,"POST")>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const [g,f]of c)a.g.setRequestHeader(g,f);a.B&&(a.g.responseType=a.B);"withCredentials"in a.g&&a.g.withCredentials!==a.O&&(a.g.withCredentials=a.O);try{Tb(a),a.u>0&&(a.I=Ub(a.g),Q(a.h,S(a,"Will abort after "+a.u+"ms if incomplete, xhr2 "+a.I)),a.I?(a.g.timeout=a.u,a.g.ontimeout=w(a.V,a)):a.H=sb(a.V,a.u,a)),Q(a.h,S(a,"Sending request")),a.F=!0,a.g.send(b),a.F=!1;}catch(g){Q(a.h,S(a,"Send error: "+
36
- g.message)),Sb(a,g);}}function Ub(a){return Ca&&typeof a.timeout==="number"&&a.ontimeout!==void 0}n=R.prototype;n.V=function(){typeof p!="undefined"&&this.g&&(this.A="Timed out after "+this.u+"ms, aborting",this.m=8,Q(this.h,S(this,this.A)),L(this,"timeout"),this.abort(8));};function Sb(a,b){a.i=false;a.g&&(a.l=true,a.g.abort(),a.l=false);a.A=b;a.m=5;Vb(a);T(a);}function Vb(a){a.P||(a.P=true,L(a,"complete"),L(a,"error"));}
37
- n.abort=function(a){this.g&&this.i&&(Q(this.h,S(this,"Aborting")),this.i=false,this.l=true,this.g.abort(),this.l=false,this.m=a||7,L(this,"complete"),L(this,"abort"),T(this));};n.C=function(){this.g&&(this.i&&(this.i=false,this.l=true,this.g.abort(),this.l=false),T(this,true));R.N.C.call(this);};n.U=function(){this.v||(this.R||this.F||this.l?Wb(this):this.X());};n.X=function(){Wb(this);};
38
- function Wb(a){if(a.i&&typeof p!="undefined")if(a.J[1]&&U(a)==4&&a.getStatus()==2)Q(a.h,S(a,"Local request error detected and ignored"));else if(a.F&&U(a)==4)sb(a.U,0,a);else if(L(a,"readystatechange"),U(a)==4){Q(a.h,S(a,"Request complete"));a.i=false;try{const f=a.getStatus();a:switch(f){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1;}var c;if(!(c=b)){var d;if(d=f===0){var e=String(a.G).match(Nb)[1]||null;!e&&q.self&&q.self.location&&(e=q.self.location.protocol.slice(0,
39
- -1));d=!Pb.test(e?e.toLowerCase():"");}c=d;}if(c)L(a,"complete"),L(a,"success");else {a.m=6;try{var g=U(a)>2?a.g.statusText:"";}catch(h){Q(a.h,"Can not get status: "+h.message),g="";}a.A=g+" ["+a.getStatus()+"]";Vb(a);}}finally{T(a);}}}function T(a,b){if(a.g){Tb(a);const c=a.g,d=a.J[0]?()=>{}:null;a.g=null;a.J=null;b||L(a,"ready");try{c.onreadystatechange=d;}catch(e){Gb(a.h,"Problem encountered resetting onreadystatechange: "+e.message);}}}
40
- function Tb(a){a.g&&a.I&&(a.g.ontimeout=null);a.H&&(rb.clearTimeout(a.H),a.H=null);}n.isActive=function(){return !!this.g};function U(a){return a.g?a.g.readyState:0}n.getStatus=function(){try{return U(this)>2?this.g.status:-1}catch(a){return -1}};
41
- function Xb(a){try{if(!a.g)return null;if("response"in a.g)return a.g.response;switch(a.B){case Ob:case "text":return a.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.g)return a.g.mozResponseArrayBuffer}Gb(a.h,"Response type "+a.B+" is not supported on this browser");return null}catch(b){return Q(a.h,"Can not get response: "+b.message),null}}
42
- function Yb(a){const b={};a=(a.g&&U(a)>=2?a.g.getAllResponseHeaders()||"":"").split("\r\n");for(let d=0;d<a.length;d++){if(/^[\s\xa0]*$/.test(a[d]))continue;var c=Qa(a[d]);const e=c[0];c=c[1];if(typeof c!=="string")continue;c=c.trim();const g=b[e]||[];b[e]=g;g.push(c);}return Ja(b,function(d){return d.join(", ")})}function S(a,b){return b+" ["+a.T+" "+a.G+" "+a.getStatus()+"]"}var Zb={},V=null;function $b(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):"=.".indexOf(a[b-1])!=-1&&(c="=.".indexOf(a[b-2])!=-1?c-2:c-1);var d=new Uint8Array(c),e=0;ac(a,function(g){d[e++]=g;});return e!==c?d.subarray(0,e):d}
43
- function ac(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),m=V[l];if(m!=null)return m;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}bc();for(var d=0;;){var e=c(-1),g=c(0),f=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|g>>4);f!=64&&(b(g<<4&240|f>>2),h!=64&&b(f<<6&192|h));}}
44
- function bc(){if(!V){V={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Zb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];V[g]===void 0&&(V[g]=e);}}}}const cc=["content-type","grpc-status","grpc-message"];function W(a,b){if(b.code!=0){var c=new C(b.code,decodeURIComponent(b.message||""),b.metadata);for(let d=0;d<a.j.length;d++)a.j[d](c);}b={code:b.code,details:decodeURIComponent(b.message||""),metadata:b.metadata};for(c=0;c<a.m.length;c++)a.m[c](b);}function dc(a,b){for(let c=0;c<a.l.length;c++)a.l[c](b);}function ec(a){for(let b=0;b<a.i.length;b++)a.i[b]();}function X(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1);}
45
- class Y{constructor(a){this.g=a.$;this.v=null;this.h=[];this.m=[];this.l=[];this.j=[];this.i=[];this.u=false;this.o=0;this.A=new wa;const b=this;cb(this.g,"readystatechange",function(){var c=b.g;if(c=c.g?c.g.getResponseHeader("Content-Type"):null){c=c.toLowerCase();if(c.lastIndexOf("application/grpc-web-text",0)==0){c=b.g;try{var d=c.g?c.g.responseText:"";}catch(h){Q(c.h,"Can not get responseText: "+h.message),d="";}c=d||"";d=c.length-c.length%4;c=c.substr(b.o,d-b.o);if(c.length==0)return;b.o=d;c=$b(c);}else if(c.lastIndexOf("application/grpc",
46
- 0)==0)c=new Uint8Array(Xb(b.g));else {W(b,new C(2,"Unknown Content-type received."));return}d=null;try{d=pa(b.A,c);}catch(h){W(b,new C(2,"Error in parsing response body"));}if(d)for(c=0;c<d.length;c++){if(qa in d[c]){var e=d[c][qa];if(e){var g=false;let h;try{h=b.v(e),g=!0;}catch(k){W(b,new C(13,`Error when deserializing response data; error: ${k}`+`, response: ${h}`));}if(g){e=b;g=h;for(var f=0;f<e.h.length;f++)e.h[f](g);}}}if(B in d[c]&&d[c][B].length>0){e="";for(g=0;g<d[c][B].length;g++)e+=String.fromCharCode(d[c][B][g]);
47
- e=e.trim().split("\r\n");g={};for(f=0;f<e.length;f++){const h=e[f].indexOf(":");g[e[f].substring(0,h).trim()]=e[f].substring(h+1).trim();}e=g;g=0;f="";"grpc-status"in e&&(g=Number(e["grpc-status"]),delete e["grpc-status"]);"grpc-message"in e&&(f=e["grpc-message"],delete e["grpc-message"]);W(b,new C(g,f,e));}}}});cb(this.g,"complete",function(){var c=b.g.m,d=2,e="";const g={};d=Yb(b.g);const f={};for(var h in d)d.hasOwnProperty(h)&&(f[h.toLowerCase()]=d[h]);Object.keys(f).forEach(k=>{cc.includes(k)||
48
- (g[k]=f[k]);});dc(b,g);h=-1;if(c!=0){switch(c){case 7:d=10;break;case 8:d=4;break;case 6:h=b.g.getStatus();d=xa(h);break;default:d=14;}d==10&&b.u||(e=ma(c),h!=-1&&(e+=", http status code: "+h),W(b,new C(d,e)));}else c=false,"grpc-status"in f&&(d=Number(f["grpc-status"]),"grpc-message"in f&&(e=f["grpc-message"]),d!=0&&(W(b,new C(d,e||"",f)),c=true)),c||ec(b);});}on(a,b){a=="data"?this.h.push(b):a=="status"?this.m.push(b):a=="metadata"?this.l.push(b):a=="end"?this.i.push(b):a=="error"&&this.j.push(b);return this}removeListener(a,
49
- b){a=="data"?X(this.h,b):a=="status"?X(this.m,b):a=="metadata"?X(this.l,b):a=="end"?X(this.i,b):a=="error"&&X(this.j,b);return this}cancel(){this.u=true;this.g.abort();}}Y.prototype.cancel=Y.prototype.cancel;Y.prototype.removeListener=Y.prototype.removeListener;Y.prototype.on=Y.prototype.on;function fc(a){let b="";Ia(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n";});return b}function hc(a,b){return b.reduce((c,d)=>e=>d.intercept(e,c),a)}
50
- function ic(a,b,c){let d=false,e=null,g=false;a.on("data",function(f){d=true;e=f;});a.on("error",function(f){f.code==0||g||(g=true,b(f,null));});a.on("status",function(f){f.code==0||g?c&&b(null,null,f):(g=true,b({code:f.code,message:f.details,metadata:f.metadata},null));});if(c)a.on("metadata",function(f){b(null,null,null,f);});a.on("end",function(){g||(d?c?b(null,e,null,null,true):b(null,e):b({code:2,message:"Incomplete response"}));c&&b(null,null);});}
51
- function jc(a,b,c){var d=b.getMethodDescriptor(),e=c+d.getName();c=a.i?a.i:new R;c.O=a.j;const g=new Y({$:c});g.v=d.h;var f=b.getMetadata();for(var h in f)c.headers.set(h,f[h]);a.g=="text"?(c.headers.set("Content-Type","application/grpc-web-text"),c.headers.set("Accept","application/grpc-web-text")):c.headers.set("Content-Type","application/grpc-web+proto");c.headers.set("X-User-Agent","grpc-web-javascript/0.1");c.headers.set("X-Grpc-Web","1");c.headers.has("deadline")&&(h=Number(c.headers.get("deadline")),
52
- h=Math.ceil(h-(new Date).getTime()),c.headers.delete("deadline"),h===Infinity&&(h=0),h>0&&(c.headers.set("grpc-timeout",h+"m"),c.u=Math.max(0,Math.max(1E3,Math.ceil(h*1.1)))));if(a.l){h=c.headers;f={};for(k of h.keys())f[k]=h.get(k);var k=f;c.headers.clear();b:{for(l in k){var l=false;break b}l=true;}if(!l)if(k=fc(k),typeof e==="string"){if(l=encodeURIComponent("$httpHeaders"),k=k!=null?"="+encodeURIComponent(String(k)):"",l+=k)k=e.indexOf("#"),k<0&&(k=e.length),h=e.indexOf("?"),h<0||h>k?(h=k,f=""):f=e.substring(h+
53
- 1,k),e=[e.slice(0,h),f,e.slice(k)],k=e[1],e[1]=l?k?k+"&"+l:l:k,e=e[0]+(e[1]?"?"+e[1]:"")+e[2];}else e.g("$httpHeaders",k);}b=(0, d.g)(b.getRequestMessage());d=b.length;l=[0,0,0,0];k=new Uint8Array(5+d);for(h=3;h>=0;h--)l[h]=d%256,d>>>=8;k.set(new Uint8Array(l),1);k.set(b,5);b=k;if(a.g=="text"){a=b;var m;m===void 0&&(m=0);bc();m=Zb[m];b=Array(Math.floor(a.length/3));d=m[64]||"";for(l=k=0;k<a.length-2;k+=3){var z=a[k],A=a[k+1];f=a[k+2];h=m[z>>2];z=m[(z&3)<<4|A>>4];A=m[(A&15)<<2|f>>6];f=m[f&63];b[l++]=
54
- h+z+A+f;}h=0;f=d;switch(a.length-k){case 2:h=a[k+1],f=m[(h&15)<<2]||d;case 1:a=a[k],b[l]=m[a>>2]+m[(a&3)<<4|h>>4]+f+d;}b=b.join("");}else a.g=="binary"&&(c.B="arraybuffer");Rb(c,e,b);return g}
55
- function kc(a,b,c,d,e,g={}){const f=b.substr(0,b.length-e.name.length),h=g&&g.signal;return hc(k=>new Promise((l,m)=>{if(h&&h.aborted){const v=new C(1,"Aborted");v.cause=h.reason;m(v);}else {var z=jc(a,k,f),A,ib,jb;ic(z,(v,lc,kb,lb,mc)=>{v?m(v):mc?jb=lc:kb?ib=kb:lb?A=lb:l(ja(k.getMethodDescriptor(),jb,A,ib));},true);h&&h.addEventListener("abort",()=>{z.cancel();const v=new C(1,"Aborted");v.cause=h.reason;m(v);});}}),a.m).call(a,ia(e,c,d)).then(k=>k.getResponseMessage())}
56
- class Z{constructor(a={},b){this.g=a.format||r("format",a)||"text";this.l=a.ca||r("suppressCorsPreflight",a)||false;this.j=a.withCredentials||r("withCredentials",a)||false;this.h=a.ba||r("streamInterceptors",a)||[];this.m=a.da||r("unaryInterceptors",a)||[];this.i=b||null;}Y(a,b,c,d,e){const g=a.substr(0,a.length-d.name.length);a=hc(f=>jc(this,f,g),this.h).call(this,ia(d,b,c));ic(a,e,false);return new la(a)}unaryCall(a,b,c,d,e={}){return kc(this,a,b,c,d,e)}Z(a,b,c,d){const e=a.substr(0,a.length-d.name.length);
57
- return hc(g=>jc(this,g,e),this.h).call(this,ia(d,b,c))}}Z.prototype.serverStreaming=Z.prototype.Z;Z.prototype.unaryCall=Z.prototype.unaryCall;Z.prototype.rpcCall=Z.prototype.Y;grpcWeb.CallOptions=ea;grpcWeb.MethodDescriptor=ka;grpcWeb.GrpcWebClientBase=Z;grpcWeb.RpcError=C;grpcWeb.StatusCode={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15};grpcWeb.MethodType={UNARY:"unary",SERVER_STREAMING:"server_streaming",BIDI_STREAMING:"bidi_streaming"};
58
- rb=typeof globalThis!=="undefined"&&globalThis||self;
59
- return grpcWeb;
60
- }
61
-
62
- var grpcWebExports = requireGrpcWeb();
3
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
63
4
 
64
5
  var parallax_gateway_pb = {};
65
6
 
@@ -77,469 +18,150 @@ function requireGoogleProtobuf () {
77
18
  if (hasRequiredGoogleProtobuf) return googleProtobuf;
78
19
  hasRequiredGoogleProtobuf = 1;
79
20
  (function (exports$1) {
80
- var goog=goog||{};goog.global=googleProtobuf||self;goog.exportPath_=function(a,b,c,d){a=a.split(".");d=d||goog.global;a[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)if(a.length||void 0===b)d=d[e]&&d[e]!==Object.prototype[e]?d[e]:d[e]={};else if(!c&&goog.isObject(b)&&goog.isObject(d[e]))for(var f in b)b.hasOwnProperty(f)&&(d[e][f]=b[f]);else d[e]=b;};
81
- goog.define=function(a,b){return b};goog.FEATURESET_YEAR=2012;goog.DEBUG=true;goog.LOCALE="en";goog.TRUSTED_SITE=true;goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=false;
82
- goog.provide=function(a){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(a);};goog.constructNamespace_=function(a,b,c){goog.exportPath_(a,b,c);};goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;
83
- goog.getScriptNonce_=function(a){a=(a||goog.global).document;return (a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(a)?a:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;
84
- goog.module=function(a){if("string"!==typeof a||!a||-1==a.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+a+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");
85
- goog.moduleLoaderState_.moduleName=a;};goog.module.get=function(a){return goog.module.getInternal_(a)};goog.module.getInternal_=function(a){return null};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;
86
- goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()};goog.isInGoogModuleLoader_=function(){return !!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG};goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return true;var a=goog.global.$jscomp;return a?"function"!=typeof a.getCurrentModulePath?false:!!a.getCurrentModulePath():false};
87
- goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=true;};
88
- goog.declareModuleId=function(a){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=a;else {var b=goog.global.$jscomp;if(!b||"function"!=typeof b.getCurrentModulePath)throw Error('Module with namespace "'+
89
- a+'" has been loaded incorrectly.');b=b.require(b.getCurrentModulePath());goog.loadedModules_[a]={exports:b,type:goog.ModuleType.ES6,moduleId:a};}};goog.setTestOnly=function(a){if(goog.DISALLOW_TEST_ONLY_CODE)throw a=a||"",Error("Importing test-only code into non-debug environment"+(a?": "+a:"."));};goog.forwardDeclare=function(a){}; goog.getObjectByName=function(a,b){a=a.split(".");b=b||goog.global;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};goog.addDependency=function(a,b,c,d){};goog.ENABLE_DEBUG_LOADER=false;goog.logToConsole_=function(a){goog.global.console&&goog.global.console.error(a);};
90
- goog.require=function(a){};goog.requireType=function(a){return {}};goog.basePath="";goog.abstractMethod=function(){throw Error("unimplemented abstract method");};
91
- goog.addSingletonGetter=function(a){a.instance_=void 0;a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a};};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=true;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};goog.DEPENDENCIES_ENABLED=false;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=false;goog.TRUSTED_TYPES_POLICY_NAME="goog";
92
- goog.hasBadLetScoping=null;
93
- goog.loadModule=function(a){var b=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var c={},d=c;if("function"===typeof a)d=a.call(void 0,d);else if("string"===typeof a)d=goog.loadModuleFromSource_.call(void 0,d,a);else throw Error("Invalid module definition");var e=goog.moduleLoaderState_.moduleName;if("string"===typeof e&&e)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(e,d,c!==d):goog.SEAL_MODULE_EXPORTS&&
94
- Object.seal&&"object"==typeof d&&null!=d&&Object.seal(d),goog.loadedModules_[e]={exports:d,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+e+'"');}finally{goog.moduleLoaderState_=b;}};goog.loadModuleFromSource_=function(a,b){eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b));return a};goog.normalizePath_=function(a){a=a.split("/");for(var b=0;b<a.length;)"."==a[b]?a.splice(b,1):b&&".."==a[b]&&a[b-1]&&".."!=a[b-1]?a.splice(--b,2):b++;return a.join("/")};
95
- goog.loadFileSync_=function(a){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(a);try{var b=new goog.global.XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(c){return null}};goog.typeOf=function(a){var b=typeof a;return "object"!=b?b:a?Array.isArray(a)?"array":b:"null"};goog.isArrayLike=function(a){var b=goog.typeOf(a);return "array"==b||"object"==b&&"number"==typeof a.length};
96
- goog.isDateLike=function(a){return goog.isObject(a)&&"function"==typeof a.getFullYear};goog.isObject=function(a){var b=typeof a;return "object"==b&&null!=a||"function"==b};goog.getUid=function(a){return Object.prototype.hasOwnProperty.call(a,goog.UID_PROPERTY_)&&a[goog.UID_PROPERTY_]||(a[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(a){return !!a[goog.UID_PROPERTY_]};goog.removeUid=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(goog.UID_PROPERTY_);try{delete a[goog.UID_PROPERTY_];}catch(b){}};
97
- goog.UID_PROPERTY_="closure_uid_"+(1E9*Math.random()>>>0);goog.uidCounter_=0;goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=goog.cloneObject(a[c]);return b}return a};goog.bindNative_=function(a,b,c){return a.call.apply(a.bind,arguments)};
98
- goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_;return goog.bind.apply(null,arguments)};
99
- goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};goog.now=function(){return Date.now()};goog.globalEval=function(a){(0, eval)(a);};
100
- goog.getCssName=function(a,b){if("."==String(a).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+a);var c=function(e){return goog.cssNameMapping_[e]||e},d=function(e){e=e.split("-");for(var f=[],g=0;g<e.length;g++)f.push(c(e[g]));return f.join("-")};d=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?c:d:function(e){return e};a=b?a+"-"+d(b):d(a);return goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(a):a};
101
- goog.setCssNameMapping=function(a,b){goog.cssNameMapping_=a;goog.cssNameMappingStyle_=b;};goog.GetMsgOptions=function(){};
102
- goog.getMsg=function(a,b,c){c&&c.html&&(a=a.replace(/</g,"&lt;"));c&&c.unescapeHtmlEntities&&(a=a.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&"));b&&(a=a.replace(/\{\$([^}]+)}/g,function(d,e){return null!=b&&e in b?b[e]:d}));return a};goog.getMsgWithFallback=function(a,b){return a};goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,true,c);};goog.exportProperty=function(a,b,c){a[b]=c;};
103
- goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)};};goog.scope=function(a){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");a.call(goog.global);}; goog.defineClass=function(a,b){var c=b.constructor,d=b.statics;c&&c!=Object.prototype.constructor||(c=function(){throw Error("cannot instantiate an interface (no constructor defined).");});c=goog.defineClass.createSealingConstructor_(c,a);a&&goog.inherits(c,a);delete b.constructor;delete b.statics;goog.defineClass.applyProperties_(c.prototype,b);null!=d&&(d instanceof Function?d(c):goog.defineClass.applyProperties_(c,d));return c};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;
104
- goog.defineClass.createSealingConstructor_=function(a,b){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var c=a.apply(this,arguments)||this;c[goog.UID_PROPERTY_]=c[goog.UID_PROPERTY_];return c}:a};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
105
- goog.defineClass.applyProperties_=function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d++)c=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);};goog.identity_=function(a){return a};
106
- goog.createTrustedTypesPolicy=function(a){var b=null,c=goog.global.trustedTypes;if(!c||!c.createPolicy)return b;try{b=c.createPolicy(a,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_});}catch(d){goog.logToConsole_(d.message);}return b};
107
- goog.object={};function module$contents$goog$object_forEach(a,b,c){for(const d in a)b.call(c,a[d],d,a);}function module$contents$goog$object_filter(a,b,c){const d={};for(const e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}function module$contents$goog$object_map(a,b,c){const d={};for(const e in a)d[e]=b.call(c,a[e],e,a);return d}function module$contents$goog$object_some(a,b,c){for(const d in a)if(b.call(c,a[d],d,a))return true;return false}
108
- function module$contents$goog$object_every(a,b,c){for(const d in a)if(!b.call(c,a[d],d,a))return false;return true}function module$contents$goog$object_getCount(a){let b=0;for(const c in a)b++;return b}function module$contents$goog$object_getAnyKey(a){for(const b in a)return b}function module$contents$goog$object_getAnyValue(a){for(const b in a)return a[b]}function module$contents$goog$object_contains(a,b){return module$contents$goog$object_containsValue(a,b)}
109
- function module$contents$goog$object_getValues(a){const b=[];let c=0;for(const d in a)b[c++]=a[d];return b}function module$contents$goog$object_getKeys(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b}function module$contents$goog$object_getValueByKeys(a,b){var c=goog.isArrayLike(b);const d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]];}return a}function module$contents$goog$object_containsKey(a,b){return null!==a&&b in a}
110
- function module$contents$goog$object_containsValue(a,b){for(const c in a)if(a[c]==b)return true;return false}function module$contents$goog$object_findKey(a,b,c){for(const d in a)if(b.call(c,a[d],d,a))return d}function module$contents$goog$object_findValue(a,b,c){return (b=module$contents$goog$object_findKey(a,b,c))&&a[b]}function module$contents$goog$object_isEmpty(a){for(const b in a)return false;return true}function module$contents$goog$object_clear(a){for(const b in a)delete a[b];}
111
- function module$contents$goog$object_remove(a,b){let c;(c=b in a)&&delete a[b];return c}function module$contents$goog$object_add(a,b,c){if(null!==a&&b in a)throw Error(`The object already contains the key "${b}"`);module$contents$goog$object_set(a,b,c);}function module$contents$goog$object_get(a,b,c){return null!==a&&b in a?a[b]:c}function module$contents$goog$object_set(a,b,c){a[b]=c;}function module$contents$goog$object_setIfUndefined(a,b,c){return b in a?a[b]:a[b]=c}
112
- function module$contents$goog$object_setWithReturnValueIfNotSet(a,b,c){if(b in a)return a[b];c=c();return a[b]=c}function module$contents$goog$object_equals(a,b){for(const c in a)if(!(c in b)||a[c]!==b[c])return false;for(const c in b)if(!(c in a))return false;return true}function module$contents$goog$object_clone(a){const b={};for(const c in a)b[c]=a[c];return b}
113
- function module$contents$goog$object_unsafeClone(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());const b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length);for(const c in a)b[c]=
114
- module$contents$goog$object_unsafeClone(a[c]);return b}function module$contents$goog$object_transpose(a){const b={};for(const c in a)b[a[c]]=c;return b}const module$contents$goog$object_PROTOTYPE_FIELDS="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
115
- function module$contents$goog$object_extend(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let f=0;f<module$contents$goog$object_PROTOTYPE_FIELDS.length;f++)c=module$contents$goog$object_PROTOTYPE_FIELDS[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c]);}}
116
- function module$contents$goog$object_create(a){const b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return module$contents$goog$object_create.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");const c={};for(let d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}
117
- function module$contents$goog$object_createSet(a){const b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return module$contents$goog$object_createSet.apply(null,arguments[0]);const c={};for(let d=0;d<b;d++)c[arguments[d]]=true;return c}function module$contents$goog$object_createImmutableView(a){let b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b}function module$contents$goog$object_isImmutableView(a){return !!Object.isFrozen&&Object.isFrozen(a)}
118
- function module$contents$goog$object_getAllPropertyNames(a,b,c){if(!a)return [];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return module$contents$goog$object_getKeys(a);const d={};for(;a&&(a!==Object.prototype||b)&&(a!==Function.prototype||c);){const e=Object.getOwnPropertyNames(a);for(let f=0;f<e.length;f++)d[e[f]]=true;a=Object.getPrototypeOf(a);}return module$contents$goog$object_getKeys(d)}
119
- function module$contents$goog$object_getSuperClass(a){return (a=Object.getPrototypeOf(a.prototype))&&a.constructor}goog.object.add=module$contents$goog$object_add;goog.object.clear=module$contents$goog$object_clear;goog.object.clone=module$contents$goog$object_clone;goog.object.contains=module$contents$goog$object_contains;goog.object.containsKey=module$contents$goog$object_containsKey;goog.object.containsValue=module$contents$goog$object_containsValue;goog.object.create=module$contents$goog$object_create;
120
- goog.object.createImmutableView=module$contents$goog$object_createImmutableView;goog.object.createSet=module$contents$goog$object_createSet;goog.object.equals=module$contents$goog$object_equals;goog.object.every=module$contents$goog$object_every;goog.object.extend=module$contents$goog$object_extend;goog.object.filter=module$contents$goog$object_filter;goog.object.findKey=module$contents$goog$object_findKey;goog.object.findValue=module$contents$goog$object_findValue;goog.object.forEach=module$contents$goog$object_forEach;
121
- goog.object.get=module$contents$goog$object_get;goog.object.getAllPropertyNames=module$contents$goog$object_getAllPropertyNames;goog.object.getAnyKey=module$contents$goog$object_getAnyKey;goog.object.getAnyValue=module$contents$goog$object_getAnyValue;goog.object.getCount=module$contents$goog$object_getCount;goog.object.getKeys=module$contents$goog$object_getKeys;goog.object.getSuperClass=module$contents$goog$object_getSuperClass;goog.object.getValueByKeys=module$contents$goog$object_getValueByKeys;
122
- goog.object.getValues=module$contents$goog$object_getValues;goog.object.isEmpty=module$contents$goog$object_isEmpty;goog.object.isImmutableView=module$contents$goog$object_isImmutableView;goog.object.map=module$contents$goog$object_map;goog.object.remove=module$contents$goog$object_remove;goog.object.set=module$contents$goog$object_set;goog.object.setIfUndefined=module$contents$goog$object_setIfUndefined;goog.object.setWithReturnValueIfNotSet=module$contents$goog$object_setWithReturnValueIfNotSet;
123
- goog.object.some=module$contents$goog$object_some;goog.object.transpose=module$contents$goog$object_transpose;goog.object.unsafeClone=module$contents$goog$object_unsafeClone;goog.debug={};function module$contents$goog$debug$Error_DebugError(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else {const c=Error().stack;c&&(this.stack=c);}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=true;}goog.inherits(module$contents$goog$debug$Error_DebugError,Error);module$contents$goog$debug$Error_DebugError.prototype.name="CustomError";goog.debug.Error=module$contents$goog$debug$Error_DebugError;goog.dom={};goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};goog.asserts={};goog.asserts.ENABLE_ASSERTS=goog.DEBUG;function module$contents$goog$asserts_AssertionError(a,b){module$contents$goog$debug$Error_DebugError.call(this,module$contents$goog$asserts_subs(a,b));this.messagePattern=a;}goog.inherits(module$contents$goog$asserts_AssertionError,module$contents$goog$debug$Error_DebugError);goog.asserts.AssertionError=module$contents$goog$asserts_AssertionError;module$contents$goog$asserts_AssertionError.prototype.name="AssertionError";
124
- goog.asserts.DEFAULT_ERROR_HANDLER=function(a){throw a;};let module$contents$goog$asserts_errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;function module$contents$goog$asserts_subs(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");return c+a[d]}
125
- function module$contents$goog$asserts_doAssertFailure(a,b,c,d){let e="Assertion failed",f;c?(e+=": "+c,f=d):a&&(e+=": "+a,f=b);a=new module$contents$goog$asserts_AssertionError(""+e,f||[]);module$contents$goog$asserts_errorHandler_(a);}goog.asserts.setErrorHandler=function(a){goog.asserts.ENABLE_ASSERTS&&(module$contents$goog$asserts_errorHandler_=a);};
126
- goog.asserts.assert=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!a&&module$contents$goog$asserts_doAssertFailure("",null,b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertExists=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&null==a&&module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a};
127
- goog.asserts.fail=function(a,b){goog.asserts.ENABLE_ASSERTS&&module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)));};goog.asserts.assertNumber=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"number"!==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
128
- goog.asserts.assertString=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"string"!==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertFunction=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"function"!==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
129
- goog.asserts.assertObject=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isObject(a)&&module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertArray=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!Array.isArray(a)&&module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
130
- goog.asserts.assertBoolean=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"boolean"!==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
131
- goog.asserts.assertElement=function(a,b,c){!goog.asserts.ENABLE_ASSERTS||goog.isObject(a)&&a.nodeType==goog.dom.NodeType.ELEMENT||module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
132
- goog.asserts.assertInstanceof=function(a,b,c,d){!goog.asserts.ENABLE_ASSERTS||a instanceof b||module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.",[module$contents$goog$asserts_getType(b),module$contents$goog$asserts_getType(a)],c,Array.prototype.slice.call(arguments,3));return a};
133
- goog.asserts.assertFinite=function(a,b,c){!goog.asserts.ENABLE_ASSERTS||"number"==typeof a&&isFinite(a)||module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.",[a],b,Array.prototype.slice.call(arguments,2));return a};
134
- function module$contents$goog$asserts_getType(a){return a instanceof Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof a}goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;const module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;function module$contents$goog$array_peek(a){return a[a.length-1]}goog.array.peek=module$contents$goog$array_peek;goog.array.last=module$contents$goog$array_peek;
135
- const module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if("string"===typeof a)return "string"!==typeof b||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return -1};goog.array.indexOf=module$contents$goog$array_indexOf;
136
- const module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return "string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return -1};
137
- goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;const module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(a,b,c){goog.asserts.assert(null!=a.length);Array.prototype.forEach.call(a,b,c);}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)f in e&&b.call(c,e[f],f,a);};goog.array.forEach=module$contents$goog$array_forEach;
138
- function module$contents$goog$array_forEachRight(a,b,c){var d=a.length;const e="string"===typeof a?a.split(""):a;for(--d;0<=d;--d)d in e&&b.call(c,e[d],d,a);}goog.array.forEachRight=module$contents$goog$array_forEachRight;
139
- const module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){const d=a.length,e=[];let f=0;const g="string"===typeof a?a.split(""):a;for(let h=0;h<d;h++)if(h in g){const l=g[h];b.call(c,l,h,a)&&(e[f++]=l);}return e};goog.array.filter=module$contents$goog$array_filter;
140
- const module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){const d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a;for(let g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e};goog.array.map=module$contents$goog$array_map;
141
- const module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(a,b,c,d){goog.asserts.assert(null!=a.length);d&&(b=goog.bind(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){let e=c;module$contents$goog$array_forEach(a,function(f,g){e=b.call(d,e,f,g,a);});return e};goog.array.reduce=module$contents$goog$array_reduce;
142
- const module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(a,b,c,d){goog.asserts.assert(null!=a.length);goog.asserts.assert(null!=b);d&&(b=goog.bind(b,d));return Array.prototype.reduceRight.call(a,b,c)}:function(a,b,c,d){let e=c;module$contents$goog$array_forEachRight(a,function(f,g){e=b.call(d,e,f,g,a);});return e};goog.array.reduceRight=module$contents$goog$array_reduceRight;
143
- const module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return true;return false};goog.array.some=module$contents$goog$array_some;
144
- const module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return false;return true};goog.array.every=module$contents$goog$array_every;
145
- function module$contents$goog$array_count(a,b,c){let d=0;module$contents$goog$array_forEach(a,function(e,f,g){b.call(c,e,f,g)&&++d;},c);return d}goog.array.count=module$contents$goog$array_count;function module$contents$goog$array_find(a,b,c){b=module$contents$goog$array_findIndex(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}goog.array.find=module$contents$goog$array_find;
146
- function module$contents$goog$array_findIndex(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return -1}goog.array.findIndex=module$contents$goog$array_findIndex;function module$contents$goog$array_findRight(a,b,c){b=module$contents$goog$array_findIndexRight(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}goog.array.findRight=module$contents$goog$array_findRight;
147
- function module$contents$goog$array_findIndexRight(a,b,c){var d=a.length;const e="string"===typeof a?a.split(""):a;for(--d;0<=d;d--)if(d in e&&b.call(c,e[d],d,a))return d;return -1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function module$contents$goog$array_contains(a,b){return 0<=module$contents$goog$array_indexOf(a,b)}goog.array.contains=module$contents$goog$array_contains;function module$contents$goog$array_isEmpty(a){return 0==a.length}goog.array.isEmpty=module$contents$goog$array_isEmpty;
148
- function module$contents$goog$array_clear(a){if(!Array.isArray(a))for(let b=a.length-1;0<=b;b--)delete a[b];a.length=0;}goog.array.clear=module$contents$goog$array_clear;function module$contents$goog$array_insert(a,b){module$contents$goog$array_contains(a,b)||a.push(b);}goog.array.insert=module$contents$goog$array_insert;function module$contents$goog$array_insertAt(a,b,c){module$contents$goog$array_splice(a,c,0,b);}goog.array.insertAt=module$contents$goog$array_insertAt;
149
- function module$contents$goog$array_insertArrayAt(a,b,c){goog.partial(module$contents$goog$array_splice,a,c,0).apply(null,b);}goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt;function module$contents$goog$array_insertBefore(a,b,c){let d;2==arguments.length||0>(d=module$contents$goog$array_indexOf(a,c))?a.push(b):module$contents$goog$array_insertAt(a,b,d);}goog.array.insertBefore=module$contents$goog$array_insertBefore;
150
- function module$contents$goog$array_remove(a,b){b=module$contents$goog$array_indexOf(a,b);let c;(c=0<=b)&&module$contents$goog$array_removeAt(a,b);return c}goog.array.remove=module$contents$goog$array_remove;function module$contents$goog$array_removeLast(a,b){b=module$contents$goog$array_lastIndexOf(a,b);return 0<=b?(module$contents$goog$array_removeAt(a,b),true):false}goog.array.removeLast=module$contents$goog$array_removeLast;
151
- function module$contents$goog$array_removeAt(a,b){goog.asserts.assert(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length}goog.array.removeAt=module$contents$goog$array_removeAt;function module$contents$goog$array_removeIf(a,b,c){b=module$contents$goog$array_findIndex(a,b,c);return 0<=b?(module$contents$goog$array_removeAt(a,b),true):false}goog.array.removeIf=module$contents$goog$array_removeIf;
152
- function module$contents$goog$array_removeAllIf(a,b,c){let d=0;module$contents$goog$array_forEachRight(a,function(e,f){b.call(c,e,f,a)&&module$contents$goog$array_removeAt(a,f)&&d++;});return d}goog.array.removeAllIf=module$contents$goog$array_removeAllIf;function module$contents$goog$array_concat(a){return Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$array_concat;function module$contents$goog$array_join(a){return Array.prototype.concat.apply([],arguments)}
153
- goog.array.join=module$contents$goog$array_join;function module$contents$goog$array_toArray(a){const b=a.length;if(0<b){const c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return []}goog.array.toArray=module$contents$goog$array_toArray;goog.array.clone=module$contents$goog$array_toArray;
154
- function module$contents$goog$array_extend(a,b){for(let c=1;c<arguments.length;c++){const d=arguments[c];if(goog.isArrayLike(d)){const e=a.length||0,f=d.length||0;a.length=e+f;for(let g=0;g<f;g++)a[e+g]=d[g];}else a.push(d);}}goog.array.extend=module$contents$goog$array_extend;function module$contents$goog$array_splice(a,b,c,d){goog.asserts.assert(null!=a.length);return Array.prototype.splice.apply(a,module$contents$goog$array_slice(arguments,1))}goog.array.splice=module$contents$goog$array_splice;
155
- function module$contents$goog$array_slice(a,b,c){goog.asserts.assert(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}goog.array.slice=module$contents$goog$array_slice;
156
- function module$contents$goog$array_removeDuplicates(a,b,c){b=b||a;var d=function(g){return goog.isObject(g)?"o"+goog.getUid(g):(typeof g).charAt(0)+g};c=c||d;let e=d=0;const f={};for(;e<a.length;){const g=a[e++],h=c(g);Object.prototype.hasOwnProperty.call(f,h)||(f[h]=true,b[d++]=g);}b.length=d;}goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates;
157
- function module$contents$goog$array_binarySearch(a,b,c){return module$contents$goog$array_binarySearch_(a,c||module$contents$goog$array_defaultCompare,false,b)}goog.array.binarySearch=module$contents$goog$array_binarySearch;function module$contents$goog$array_binarySelect(a,b,c){return module$contents$goog$array_binarySearch_(a,b,true,void 0,c)}goog.array.binarySelect=module$contents$goog$array_binarySelect;
158
- function module$contents$goog$array_binarySearch_(a,b,c,d,e){let f=0,g=a.length,h;for(;f<g;){const l=f+(g-f>>>1);let k;k=c?b.call(e,a[l],l,a):b(d,a[l]);0<k?f=l+1:(g=l,h=!k);}return h?f:-f-1}function module$contents$goog$array_sort(a,b){a.sort(b||module$contents$goog$array_defaultCompare);}goog.array.sort=module$contents$goog$array_sort;
159
- function module$contents$goog$array_stableSort(a,b){const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(c,function(e,f){return d(e.value,f.value)||e.index-f.index});for(b=0;b<a.length;b++)a[b]=c[b].value;}goog.array.stableSort=module$contents$goog$array_stableSort;
160
- function module$contents$goog$array_sortByKey(a,b,c){const d=c||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(a,function(e,f){return d(b(e),b(f))});}goog.array.sortByKey=module$contents$goog$array_sortByKey;function module$contents$goog$array_sortObjectsByKey(a,b,c){module$contents$goog$array_sortByKey(a,function(d){return d[b]},c);}goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey;
161
- function module$contents$goog$array_isSorted(a,b,c){b=b||module$contents$goog$array_defaultCompare;for(let d=1;d<a.length;d++){const e=b(a[d-1],a[d]);if(0<e||0==e&&c)return false}return true}goog.array.isSorted=module$contents$goog$array_isSorted;function module$contents$goog$array_equals(a,b,c){if(!goog.isArrayLike(a)||!goog.isArrayLike(b)||a.length!=b.length)return false;const d=a.length;c=c||module$contents$goog$array_defaultCompareEquality;for(let e=0;e<d;e++)if(!c(a[e],b[e]))return false;return true}
162
- goog.array.equals=module$contents$goog$array_equals;function module$contents$goog$array_compare3(a,b,c){c=c||module$contents$goog$array_defaultCompare;const d=Math.min(a.length,b.length);for(let e=0;e<d;e++){const f=c(a[e],b[e]);if(0!=f)return f}return module$contents$goog$array_defaultCompare(a.length,b.length)}goog.array.compare3=module$contents$goog$array_compare3;function module$contents$goog$array_defaultCompare(a,b){return a>b?1:a<b?-1:0}goog.array.defaultCompare=module$contents$goog$array_defaultCompare;
163
- function module$contents$goog$array_inverseDefaultCompare(a,b){return -module$contents$goog$array_defaultCompare(a,b)}goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare;function module$contents$goog$array_defaultCompareEquality(a,b){return a===b}goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality;
164
- function module$contents$goog$array_binaryInsert(a,b,c){c=module$contents$goog$array_binarySearch(a,b,c);return 0>c?(module$contents$goog$array_insertAt(a,b,-(c+1)),true):false}goog.array.binaryInsert=module$contents$goog$array_binaryInsert;function module$contents$goog$array_binaryRemove(a,b,c){b=module$contents$goog$array_binarySearch(a,b,c);return 0<=b?module$contents$goog$array_removeAt(a,b):false}goog.array.binaryRemove=module$contents$goog$array_binaryRemove;
165
- function module$contents$goog$array_bucket(a,b,c){const d={};for(let e=0;e<a.length;e++){const f=a[e],g=b.call(c,f,e,a);void 0!==g&&(d[g]||(d[g]=[])).push(f);}return d}goog.array.bucket=module$contents$goog$array_bucket;function module$contents$goog$array_bucketToMap(a,b){const c=new Map;for(let d=0;d<a.length;d++){const e=a[d],f=b(e,d,a);if(void 0!==f){let g=c.get(f);g||(g=[],c.set(f,g));g.push(e);}}return c}goog.array.bucketToMap=module$contents$goog$array_bucketToMap;
166
- function module$contents$goog$array_toObject(a,b,c){const d={};module$contents$goog$array_forEach(a,function(e,f){d[b.call(c,e,f,a)]=e;});return d}goog.array.toObject=module$contents$goog$array_toObject;function module$contents$goog$array_toMap(a,b){const c=new Map;for(let d=0;d<a.length;d++){const e=a[d];c.set(b(e,d,a),e);}return c}goog.array.toMap=module$contents$goog$array_toMap;
167
- function module$contents$goog$array_range(a,b,c){const d=[];let e=0,f=a;c=c||1;void 0!==b&&(e=a,f=b);if(0>c*(f-e))return [];if(0<c)for(a=e;a<f;a+=c)d.push(a);else for(a=e;a>f;a+=c)d.push(a);return d}goog.array.range=module$contents$goog$array_range;function module$contents$goog$array_repeat(a,b){const c=[];for(let d=0;d<b;d++)c[d]=a;return c}goog.array.repeat=module$contents$goog$array_repeat;
168
- function module$contents$goog$array_flatten(a){const b=[];for(let d=0;d<arguments.length;d++){const e=arguments[d];if(Array.isArray(e))for(let f=0;f<e.length;f+=8192){var c=module$contents$goog$array_slice(e,f,f+8192);c=module$contents$goog$array_flatten.apply(null,c);for(let g=0;g<c.length;g++)b.push(c[g]);}else b.push(e);}return b}goog.array.flatten=module$contents$goog$array_flatten;
169
- function module$contents$goog$array_rotate(a,b){goog.asserts.assert(null!=a.length);a.length&&(b%=a.length,0<b?Array.prototype.unshift.apply(a,a.splice(-b,b)):0>b&&Array.prototype.push.apply(a,a.splice(0,-b)));return a}goog.array.rotate=module$contents$goog$array_rotate;function module$contents$goog$array_moveItem(a,b,c){goog.asserts.assert(0<=b&&b<a.length);goog.asserts.assert(0<=c&&c<a.length);b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0]);}goog.array.moveItem=module$contents$goog$array_moveItem;
170
- function module$contents$goog$array_zip(a){if(!arguments.length)return [];const b=[];let c=arguments[0].length;for(var d=1;d<arguments.length;d++)arguments[d].length<c&&(c=arguments[d].length);for(d=0;d<c;d++){const e=[];for(let f=0;f<arguments.length;f++)e.push(arguments[f][d]);b.push(e);}return b}goog.array.zip=module$contents$goog$array_zip;function module$contents$goog$array_shuffle(a,b){b=b||Math.random;for(let c=a.length-1;0<c;c--){const d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e;}}
171
- goog.array.shuffle=module$contents$goog$array_shuffle;function module$contents$goog$array_copyByIndex(a,b){const c=[];module$contents$goog$array_forEach(b,function(d){c.push(a[d]);});return c}goog.array.copyByIndex=module$contents$goog$array_copyByIndex;function module$contents$goog$array_concatMap(a,b,c){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(a,b,c))}goog.array.concatMap=module$contents$goog$array_concatMap;var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(a,b,c,d){let e="Assertion failed",f;c?(e+=": "+c,f=d):a&&(e+=": "+a,f=b);throw Error(""+e,f||[]);};jspb.asserts.assert=function(a,b,...c){a||jspb.asserts.doAssertFailure("",null,b,c);return a};jspb.asserts.assertString=function(a,b,...c){"string"!==typeof a&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(a),a],b,c);return a};
172
- jspb.asserts.assertArray=function(a,b,...c){Array.isArray(a)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(a),a],b,c);return a};jspb.asserts.fail=function(a,...b){throw Error("Failure"+(a?": "+a:""),b);};jspb.asserts.assertInstanceof=function(a,b,c,...d){a instanceof b||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(b),jspb.asserts.getType(a)],c,d);return a};
173
- jspb.asserts.getType=function(a){return a instanceof Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof a};jspb.Map=function(a,b){this.arr_=a;this.valueCtor_=b;this.map_={};this.arrClean=true;0<this.arr_.length&&this.loadFromArray_();};goog.exportSymbol("jspb.Map",jspb.Map);jspb.Map.prototype.loadFromArray_=function(){for(var a=0;a<this.arr_.length;a++){var b=this.arr_[a],c=b[0];this.map_[c.toString()]=new jspb.Map.Entry_(c,b[1]);}this.arrClean=true;};
174
- jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var a=this.map_,b;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b].valueWrapper;c&&c.toArray();}}}else {this.arr_.length=0;a=this.stringKeys_();a.sort();for(b=0;b<a.length;b++){var d=this.map_[a[b]];(c=d.valueWrapper)&&c.toArray();this.arr_.push([d.key,d.value]);}this.arrClean=true;}return this.arr_};goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray);
175
- jspb.Map.prototype.toObject=function(a,b){for(var c=this.toArray(),d=[],e=0;e<c.length;e++){var f=this.map_[c[e][0].toString()];this.wrapEntry_(f);var g=f.valueWrapper;g?(jspb.asserts.assert(b),d.push([f.key,b(a,g)])):d.push([f.key,f.value]);}return d};goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject);jspb.Map.fromObject=function(a,b,c){b=new jspb.Map([],b);for(var d=0;d<a.length;d++){var e=a[d][0],f=c(a[d][1]);b.set(e,f);}return b};
176
- goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject);jspb.Map.ArrayIteratorIterable_=function(a){this.idx_=0;this.arr_=a;};jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:false,value:this.arr_[this.idx_++]}:{done:true,value:void 0}};"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this});jspb.Map.prototype.getLength=function(){return this.stringKeys_().length};
177
- goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength);jspb.Map.prototype.clear=function(){this.map_={};this.arrClean=false;};goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear);jspb.Map.prototype.del=function(a){a=a.toString();var b=this.map_.hasOwnProperty(a);delete this.map_[a];this.arrClean=false;return b};goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del);
178
- jspb.Map.prototype.getEntryList=function(){var a=[],b=this.stringKeys_();b.sort();for(var c=0;c<b.length;c++){var d=this.map_[b[c]];a.push([d.key,d.value]);}return a};goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList);jspb.Map.prototype.entries=function(){var a=[],b=this.stringKeys_();b.sort();for(var c=0;c<b.length;c++){var d=this.map_[b[c]];a.push([d.key,this.wrapEntry_(d)]);}return new jspb.Map.ArrayIteratorIterable_(a)};
179
- goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries);jspb.Map.prototype.keys=function(){var a=[],b=this.stringKeys_();b.sort();for(var c=0;c<b.length;c++)a.push(this.map_[b[c]].key);return new jspb.Map.ArrayIteratorIterable_(a)};goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys);jspb.Map.prototype.values=function(){var a=[],b=this.stringKeys_();b.sort();for(var c=0;c<b.length;c++)a.push(this.wrapEntry_(this.map_[b[c]]));return new jspb.Map.ArrayIteratorIterable_(a)};
180
- goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values);jspb.Map.prototype.forEach=function(a,b){var c=this.stringKeys_();c.sort();for(var d=0;d<c.length;d++){var e=this.map_[c[d]];a.call(b,this.wrapEntry_(e),e.key,this);}};goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach);jspb.Map.prototype.set=function(a,b){var c=new jspb.Map.Entry_(a);this.valueCtor_?(c.valueWrapper=b,c.value=b.toArray()):c.value=b;this.map_[a.toString()]=c;this.arrClean=false;return this};
181
- goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set);jspb.Map.prototype.wrapEntry_=function(a){return this.valueCtor_?(a.valueWrapper||(a.valueWrapper=new this.valueCtor_(a.value)),a.valueWrapper):a.value};jspb.Map.prototype.get=function(a){if(a=this.map_[a.toString()])return this.wrapEntry_(a)};goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get);jspb.Map.prototype.has=function(a){return a.toString()in this.map_};goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has);
182
- jspb.Map.deserializeBinary=function(a,b,c,d,e,f,g){for(;b.nextField()&&!b.isEndGroup();){var h=b.getFieldNumber();1==h?f=c.call(b):2==h&&(a.valueCtor_?(jspb.asserts.assert(e),g||=new a.valueCtor_,d.call(b,g,e)):g=d.call(b));}jspb.asserts.assert(void 0!=f);jspb.asserts.assert(void 0!=g);a.set(f,g);};goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary);
183
- jspb.Map.prototype.stringKeys_=function(){var a=this.map_,b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b};jspb.Map.Entry_=function(a,b){this.key=a;this.value=b;this.valueWrapper=void 0;};goog.async={};function module$contents$goog$async$throwException_throwException(a){goog.global.setTimeout(()=>{throw a;},0);}goog.async.throwException=module$contents$goog$async$throwException_throwException;goog.crypt={};goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE=goog.DEBUG;goog.crypt.TEST_ONLY={};goog.crypt.TEST_ONLY.throwException=module$contents$goog$async$throwException_throwException;goog.crypt.TEST_ONLY.alwaysThrowSynchronously=goog.DEBUG;goog.crypt.binaryStringToByteArray=function(a){return goog.crypt.stringToByteArray(a,true)};
184
- goog.crypt.stringToByteArray=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++){var f=a.charCodeAt(e);if(255<f){var g=Error("go/unicode-to-byte-error");if(goog.crypt.TEST_ONLY.alwaysThrowSynchronously||b)throw g;goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE&&goog.crypt.TEST_ONLY.throwException(g);c[d++]=f&255;f>>=8;}c[d++]=f;}return c};goog.crypt.byteArrayToString=function(a){return goog.crypt.byteArrayToBinaryString(a)};
185
- goog.crypt.byteArrayToBinaryString=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=Array.prototype.slice.call(a,c,c+8192);b+=String.fromCharCode.apply(null,d);}return b};goog.crypt.byteArrayToHex=function(a,b){return Array.prototype.map.call(a,function(c){c=c.toString(16);return 1<c.length?c:"0"+c}).join(b||"")};
186
- goog.crypt.hexToByteArray=function(a){goog.asserts.assert(0==a.length%2,"Key string length must be multiple of 2");for(var b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b};goog.crypt.stringToUtf8ByteArray=function(a){return goog.crypt.textToByteArray(a)};
187
- goog.crypt.textToByteArray=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128);}return b};goog.crypt.utf8ByteArrayToString=function(a){return goog.crypt.byteArrayToText(a)};
188
- goog.crypt.byteArrayToText=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63);}else if(239<e&&365>e){f=a[c++];var g=a[c++],h=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|h&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023));}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63);}return b.join("")};
189
- goog.crypt.xorByteArray=function(a,b){goog.asserts.assert(a.length==b.length,"XOR array lengths must match");for(var c=[],d=0;d<a.length;d++)c.push(a[d]^b[d]);return c};goog.string={};goog.string.internal={};goog.string.internal.startsWith=function(a,b){return 0==a.lastIndexOf(b,0)};goog.string.internal.endsWith=function(a,b){const c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};goog.string.internal.caseInsensitiveStartsWith=function(a,b){return 0==goog.string.internal.caseInsensitiveCompare(b,a.slice(0,b.length))};goog.string.internal.caseInsensitiveEndsWith=function(a,b){return 0==goog.string.internal.caseInsensitiveCompare(b,a.slice(a.length-b.length))};
190
- goog.string.internal.caseInsensitiveEquals=function(a,b){return a.toLowerCase()==b.toLowerCase()};goog.string.internal.isEmptyOrWhitespace=function(a){return /^[\s\xa0]*$/.test(a)};goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(a){return a.trim()}:function(a){return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};goog.string.internal.caseInsensitiveCompare=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1};
191
- goog.string.internal.newLineToBr=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")};
192
- goog.string.internal.htmlEscape=function(a,b){if(b)a=a.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.internal.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.internal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").replace(goog.string.internal.NULL_RE_,"&#0;");else {if(!goog.string.internal.ALL_RE_.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(goog.string.internal.AMP_RE_,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(goog.string.internal.LT_RE_,
193
- "&lt;"));-1!=a.indexOf(">")&&(a=a.replace(goog.string.internal.GT_RE_,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(goog.string.internal.QUOT_RE_,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(goog.string.internal.NULL_RE_,"&#0;"));}return a};goog.string.internal.AMP_RE_=/&/g;goog.string.internal.LT_RE_=/</g;goog.string.internal.GT_RE_=/>/g;goog.string.internal.QUOT_RE_=/"/g;goog.string.internal.SINGLE_QUOTE_RE_=/'/g;
194
- goog.string.internal.NULL_RE_=/\x00/g;goog.string.internal.ALL_RE_=/[\x00&<>"']/;goog.string.internal.whitespaceEscape=function(a,b){return goog.string.internal.newLineToBr(a.replace(/ /g," &#160;"),b)};goog.string.internal.contains=function(a,b){return -1!=a.indexOf(b)};goog.string.internal.caseInsensitiveContains=function(a,b){return goog.string.internal.contains(a.toLowerCase(),b.toLowerCase())};
195
- goog.string.internal.compareVersions=function(a,b){var c=0;a=goog.string.internal.trim(String(a)).split(".");b=goog.string.internal.trim(String(b)).split(".");const d=Math.max(a.length,b.length);for(let g=0;0==c&&g<d;g++){var e=a[g]||"",f=b[g]||"";do{e=/(\d*)(\D*)(.*)/.exec(e)||["","","",""];f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];if(0==e[0].length&&0==f[0].length)break;c=0==e[1].length?0:parseInt(e[1],10);const h=0==f[1].length?0:parseInt(f[1],10);c=goog.string.internal.compareElements_(c,h)||
196
- goog.string.internal.compareElements_(0==e[2].length,0==f[2].length)||goog.string.internal.compareElements_(e[2],f[2]);e=e[3];f=f[3];}while(0==c)}return c};goog.string.internal.compareElements_=function(a,b){return a<b?-1:a>b?1:0};goog.flags={};goog.flags.USE_USER_AGENT_CLIENT_HINTS=false;goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE=false;goog.labs={};goog.labs.userAgent={};const module$contents$goog$labs$userAgent_USE_CLIENT_HINTS=false;let module$contents$goog$labs$userAgent_forceClientHintsInTests=false;goog.labs.userAgent.setUseClientHintsForTesting=a=>{module$contents$goog$labs$userAgent_forceClientHintsInTests=a;};
197
- const module$contents$goog$labs$userAgent_useClientHintsRuntimeOverride=false;goog.labs.userAgent.useClientHints=()=>goog.flags.USE_USER_AGENT_CLIENT_HINTS||module$contents$goog$labs$userAgent_USE_CLIENT_HINTS||module$contents$goog$labs$userAgent_useClientHintsRuntimeOverride||module$contents$goog$labs$userAgent_forceClientHintsInTests;goog.labs.userAgent.util={};const module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT=false;function module$contents$goog$labs$userAgent$util_getNativeUserAgentString(){var a=module$contents$goog$labs$userAgent$util_getNavigator();return a&&(a=a.userAgent)?a:""}function module$contents$goog$labs$userAgent$util_getNativeUserAgentData(){const a=module$contents$goog$labs$userAgent$util_getNavigator();return a?a.userAgentData||null:null}
198
- function module$contents$goog$labs$userAgent$util_getNavigator(){return goog.global.navigator}let module$contents$goog$labs$userAgent$util_userAgentInternal=null,module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData();
199
- function module$contents$goog$labs$userAgent$util_setUserAgent(a){module$contents$goog$labs$userAgent$util_userAgentInternal="string"===typeof a?a:module$contents$goog$labs$userAgent$util_getNativeUserAgentString();}function module$contents$goog$labs$userAgent$util_getUserAgent(){return null==module$contents$goog$labs$userAgent$util_userAgentInternal?module$contents$goog$labs$userAgent$util_getNativeUserAgentString():module$contents$goog$labs$userAgent$util_userAgentInternal}
200
- function module$contents$goog$labs$userAgent$util_setUserAgentData(a){module$contents$goog$labs$userAgent$util_userAgentDataInternal=a;}function module$contents$goog$labs$userAgent$util_resetUserAgentData(){module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData();}function module$contents$goog$labs$userAgent$util_getUserAgentData(){return module$contents$goog$labs$userAgent$util_userAgentDataInternal}
201
- function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(a){if(!(0, goog.labs.userAgent.useClientHints)())return false;const b=module$contents$goog$labs$userAgent$util_getUserAgentData();return b?b.brands.some(({brand:c})=>c&&(0, goog.string.internal.contains)(c,a)):false}function module$contents$goog$labs$userAgent$util_matchUserAgent(a){const b=module$contents$goog$labs$userAgent$util_getUserAgent();return (0, goog.string.internal.contains)(b,a)}
202
- function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(a){const b=module$contents$goog$labs$userAgent$util_getUserAgent();return (0, goog.string.internal.caseInsensitiveContains)(b,a)}function module$contents$goog$labs$userAgent$util_extractVersionTuples(a){const b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[];let d;for(;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c}goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT=module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT;
203
- goog.labs.userAgent.util.extractVersionTuples=module$contents$goog$labs$userAgent$util_extractVersionTuples;goog.labs.userAgent.util.getNativeUserAgentString=module$contents$goog$labs$userAgent$util_getNativeUserAgentString;goog.labs.userAgent.util.getUserAgent=module$contents$goog$labs$userAgent$util_getUserAgent;goog.labs.userAgent.util.getUserAgentData=module$contents$goog$labs$userAgent$util_getUserAgentData;goog.labs.userAgent.util.matchUserAgent=module$contents$goog$labs$userAgent$util_matchUserAgent;
204
- goog.labs.userAgent.util.matchUserAgentDataBrand=module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand;goog.labs.userAgent.util.matchUserAgentIgnoreCase=module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;goog.labs.userAgent.util.resetUserAgentData=module$contents$goog$labs$userAgent$util_resetUserAgentData;goog.labs.userAgent.util.setUserAgent=module$contents$goog$labs$userAgent$util_setUserAgent;goog.labs.userAgent.util.setUserAgentData=module$contents$goog$labs$userAgent$util_setUserAgentData;var module$exports$goog$labs$userAgent$highEntropy$highEntropyValue={HighEntropyValue:class{constructor(a){this.key_=a;this.promise_=this.value_=void 0;this.pending_=false;}getIfLoaded(){if(module$contents$goog$labs$userAgent$util_getUserAgentData())return this.value_}async load(){const a=module$contents$goog$labs$userAgent$util_getUserAgentData();if(a)return this.promise_||(this.pending_=true,this.promise_=(async()=>{try{return this.value_=(await a.getHighEntropyValues([this.key_]))[this.key_]}finally{this.pending_=
205
- false;}})()),await this.promise_}resetForTesting(){if(this.pending_)throw Error("Unsafe call to resetForTesting");this.value_=this.promise_=void 0;this.pending_=false;}},Version:class{constructor(a){this.versionString_=a;}toVersionStringForLogging(){return this.versionString_}isAtLeast(a){return 0<=(0, goog.string.internal.compareVersions)(this.versionString_,a)}}};var module$exports$goog$labs$userAgent$highEntropy$highEntropyData={};module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("platformVersion");goog.labs.userAgent.browser={};const module$contents$goog$labs$userAgent$browser_Brand={ANDROID_BROWSER:"Android Browser",CHROMIUM:"Chromium",EDGE:"Microsoft Edge",FIREFOX:"Firefox",IE:"Internet Explorer",OPERA:"Opera",SAFARI:"Safari",SILK:"Silk"};goog.labs.userAgent.browser.Brand=module$contents$goog$labs$userAgent$browser_Brand;
206
- function module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(a=false){if(!a&&!(0, goog.labs.userAgent.useClientHints)())return false;a=module$contents$goog$labs$userAgent$util_getUserAgentData();return !!a&&0<a.brands.length}
207
- function module$contents$goog$labs$userAgent$browser_hasFullVersionList(){return module$contents$goog$labs$userAgent$browser_isAtLeast(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM,98)}function module$contents$goog$labs$userAgent$browser_matchOpera(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?false:module$contents$goog$labs$userAgent$util_matchUserAgent("Opera")}
208
- function module$contents$goog$labs$userAgent$browser_matchIE(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?false:module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}function module$contents$goog$labs$userAgent$browser_matchEdgeHtml(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?false:module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}
209
- function module$contents$goog$labs$userAgent$browser_matchEdgeChromium(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.EDGE):module$contents$goog$labs$userAgent$util_matchUserAgent("Edg/")}
210
- function module$contents$goog$labs$userAgent$browser_matchOperaChromium(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.OPERA):module$contents$goog$labs$userAgent$util_matchUserAgent("OPR")}
211
- function module$contents$goog$labs$userAgent$browser_matchFirefox(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Firefox")||module$contents$goog$labs$userAgent$util_matchUserAgent("FxiOS")}
212
- function module$contents$goog$labs$userAgent$browser_matchSafari(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Safari")&&!(module$contents$goog$labs$userAgent$browser_matchChrome()||module$contents$goog$labs$userAgent$browser_matchCoast()||module$contents$goog$labs$userAgent$browser_matchOpera()||module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||module$contents$goog$labs$userAgent$browser_matchEdgeChromium()||module$contents$goog$labs$userAgent$browser_matchOperaChromium()||
213
- module$contents$goog$labs$userAgent$browser_matchFirefox()||module$contents$goog$labs$userAgent$browser_isSilk()||module$contents$goog$labs$userAgent$util_matchUserAgent("Android"))}function module$contents$goog$labs$userAgent$browser_matchCoast(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?false:module$contents$goog$labs$userAgent$util_matchUserAgent("Coast")}
214
- function module$contents$goog$labs$userAgent$browser_matchIosWebview(){return (module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")||module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone"))&&!module$contents$goog$labs$userAgent$browser_matchSafari()&&!module$contents$goog$labs$userAgent$browser_matchChrome()&&!module$contents$goog$labs$userAgent$browser_matchCoast()&&!module$contents$goog$labs$userAgent$browser_matchFirefox()&&module$contents$goog$labs$userAgent$util_matchUserAgent("AppleWebKit")}
215
- function module$contents$goog$labs$userAgent$browser_matchChrome(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM):(module$contents$goog$labs$userAgent$util_matchUserAgent("Chrome")||module$contents$goog$labs$userAgent$util_matchUserAgent("CriOS"))&&!module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||module$contents$goog$labs$userAgent$browser_isSilk()}
216
- function module$contents$goog$labs$userAgent$browser_matchAndroidBrowser(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Android")&&!(module$contents$goog$labs$userAgent$browser_matchChrome()||module$contents$goog$labs$userAgent$browser_matchFirefox()||module$contents$goog$labs$userAgent$browser_matchOpera()||module$contents$goog$labs$userAgent$browser_isSilk())} goog.labs.userAgent.browser.isOpera=module$contents$goog$labs$userAgent$browser_matchOpera;goog.labs.userAgent.browser.isIE=module$contents$goog$labs$userAgent$browser_matchIE;goog.labs.userAgent.browser.isEdge=module$contents$goog$labs$userAgent$browser_matchEdgeHtml;
217
- goog.labs.userAgent.browser.isEdgeChromium=module$contents$goog$labs$userAgent$browser_matchEdgeChromium;goog.labs.userAgent.browser.isOperaChromium=module$contents$goog$labs$userAgent$browser_matchOperaChromium;
218
- goog.labs.userAgent.browser.isFirefox=module$contents$goog$labs$userAgent$browser_matchFirefox;goog.labs.userAgent.browser.isSafari=module$contents$goog$labs$userAgent$browser_matchSafari; goog.labs.userAgent.browser.isCoast=module$contents$goog$labs$userAgent$browser_matchCoast;goog.labs.userAgent.browser.isIosWebview=module$contents$goog$labs$userAgent$browser_matchIosWebview;goog.labs.userAgent.browser.isChrome=module$contents$goog$labs$userAgent$browser_matchChrome;
219
- goog.labs.userAgent.browser.isAndroidBrowser=module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;function module$contents$goog$labs$userAgent$browser_isSilk(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Silk")}goog.labs.userAgent.browser.isSilk=module$contents$goog$labs$userAgent$browser_isSilk;
220
- function module$contents$goog$labs$userAgent$browser_createVersionMap(a){const b={};a.forEach(c=>{b[c[0]]=c[1];});return c=>b[c.find(d=>d in b)]||""}
221
- function module$contents$goog$labs$userAgent$browser_getVersion(){var a=module$contents$goog$labs$userAgent$util_getUserAgent();if(module$contents$goog$labs$userAgent$browser_matchIE())return module$contents$goog$labs$userAgent$browser_getIEVersion(a);a=module$contents$goog$labs$userAgent$util_extractVersionTuples(a);const b=module$contents$goog$labs$userAgent$browser_createVersionMap(a);return module$contents$goog$labs$userAgent$browser_matchOpera()?b(["Version","Opera"]):module$contents$goog$labs$userAgent$browser_matchEdgeHtml()?
222
- b(["Edge"]):module$contents$goog$labs$userAgent$browser_matchEdgeChromium()?b(["Edg"]):module$contents$goog$labs$userAgent$browser_isSilk()?b(["Silk"]):module$contents$goog$labs$userAgent$browser_matchChrome()?b(["Chrome","CriOS","HeadlessChrome"]):(a=a[2])&&a[1]||""}goog.labs.userAgent.browser.getVersion=module$contents$goog$labs$userAgent$browser_getVersion;
223
- function module$contents$goog$labs$userAgent$browser_isVersionOrHigher(a){return 0<=(0, goog.string.internal.compareVersions)(module$contents$goog$labs$userAgent$browser_getVersion(),a)}goog.labs.userAgent.browser.isVersionOrHigher=module$contents$goog$labs$userAgent$browser_isVersionOrHigher;
224
- function module$contents$goog$labs$userAgent$browser_getIEVersion(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";const c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0";}else b="7.0";else b=c[1];return b}
225
- function module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a){var b=module$contents$goog$labs$userAgent$util_getUserAgent();if(a===module$contents$goog$labs$userAgent$browser_Brand.IE)return module$contents$goog$labs$userAgent$browser_matchIE()?module$contents$goog$labs$userAgent$browser_getIEVersion(b):"";b=module$contents$goog$labs$userAgent$util_extractVersionTuples(b);const c=module$contents$goog$labs$userAgent$browser_createVersionMap(b);switch(a){case module$contents$goog$labs$userAgent$browser_Brand.OPERA:if(module$contents$goog$labs$userAgent$browser_matchOpera())return c(["Version",
226
- "Opera"]);if(module$contents$goog$labs$userAgent$browser_matchOperaChromium())return c(["OPR"]);break;case module$contents$goog$labs$userAgent$browser_Brand.EDGE:if(module$contents$goog$labs$userAgent$browser_matchEdgeHtml())return c(["Edge"]);if(module$contents$goog$labs$userAgent$browser_matchEdgeChromium())return c(["Edg"]);break;case module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM:if(module$contents$goog$labs$userAgent$browser_matchChrome())return c(["Chrome","CriOS","HeadlessChrome"])}return a===
227
- module$contents$goog$labs$userAgent$browser_Brand.FIREFOX&&module$contents$goog$labs$userAgent$browser_matchFirefox()||a===module$contents$goog$labs$userAgent$browser_Brand.SAFARI&&module$contents$goog$labs$userAgent$browser_matchSafari()||a===module$contents$goog$labs$userAgent$browser_Brand.ANDROID_BROWSER&&module$contents$goog$labs$userAgent$browser_matchAndroidBrowser()||a===module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$labs$userAgent$browser_isSilk()?(a=b[2])&&
228
- a[1]||"":""}
229
- function module$contents$goog$labs$userAgent$browser_versionOf_(a){if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()&&a!==module$contents$goog$labs$userAgent$browser_Brand.SILK){var b=module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:c})=>c===a);if(!b||!b.version)return NaN;b=b.version.split(".");}else {b=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a);if(""===b)return NaN;b=b.split(".");}return 0===b.length?NaN:Number(b[0])}
230
- function module$contents$goog$labs$userAgent$browser_isAtLeast(a,b){(0, goog.asserts.assert)(Math.floor(b)===b,"Major version must be an integer");return module$contents$goog$labs$userAgent$browser_versionOf_(a)>=b}goog.labs.userAgent.browser.isAtLeast=module$contents$goog$labs$userAgent$browser_isAtLeast;
231
- function module$contents$goog$labs$userAgent$browser_isAtMost(a,b){(0, goog.asserts.assert)(Math.floor(b)===b,"Major version must be an integer");return module$contents$goog$labs$userAgent$browser_versionOf_(a)<=b}goog.labs.userAgent.browser.isAtMost=module$contents$goog$labs$userAgent$browser_isAtMost;
232
- class module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion{constructor(a,b,c){this.brand_=a;this.version_=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(c);this.useUach_=b;}getIfLoaded(){if(this.useUach_){var a=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();if(void 0!==a)return a=a.find(({brand:b})=>this.brand_===b),(0, goog.asserts.assertExists)(a),new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(a.version)}if(module$contents$goog$labs$userAgent$browser_preUachHasLoaded)return this.version_}async load(){if(this.useUach_){var a=
233
- await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load();if(void 0!==a)return a=a.find(({brand:b})=>this.brand_===b),(0, goog.asserts.assertExists)(a),new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(a.version)}else await 0;module$contents$goog$labs$userAgent$browser_preUachHasLoaded=true;return this.version_}}let module$contents$goog$labs$userAgent$browser_preUachHasLoaded=false;
234
- async function module$contents$goog$labs$userAgent$browser_loadFullVersions(){module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(true)&&await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load();module$contents$goog$labs$userAgent$browser_preUachHasLoaded=true;}goog.labs.userAgent.browser.loadFullVersions=module$contents$goog$labs$userAgent$browser_loadFullVersions;
235
- goog.labs.userAgent.browser.resetForTesting=()=>{module$contents$goog$labs$userAgent$browser_preUachHasLoaded=false;module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.resetForTesting();};
236
- function module$contents$goog$labs$userAgent$browser_fullVersionOf(a){let b="";module$contents$goog$labs$userAgent$browser_hasFullVersionList()||(b=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a));const c=a!==module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(true);if(c){if(!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:d})=>d===a))return}else if(""===b)return;return new module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(a,
237
- c,b)}goog.labs.userAgent.browser.fullVersionOf=module$contents$goog$labs$userAgent$browser_fullVersionOf;
238
- function module$contents$goog$labs$userAgent$browser_getVersionStringForLogging(a){if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(true)){var b=module$contents$goog$labs$userAgent$browser_fullVersionOf(a);if(b){if(b=b.getIfLoaded())return b.toVersionStringForLogging();b=module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:c})=>c===a);(0, goog.asserts.assertExists)(b);return b.version}return ""}return module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a)}
239
- goog.labs.userAgent.browser.getVersionStringForLogging=module$contents$goog$labs$userAgent$browser_getVersionStringForLogging;goog.labs.userAgent.engine={};function module$contents$goog$labs$userAgent$engine_isPresto(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Presto")}function module$contents$goog$labs$userAgent$engine_isTrident(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}
240
- function module$contents$goog$labs$userAgent$engine_isEdge(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}function module$contents$goog$labs$userAgent$engine_isWebKit(){return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("WebKit")&&!module$contents$goog$labs$userAgent$engine_isEdge()}
241
- function module$contents$goog$labs$userAgent$engine_isGecko(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Gecko")&&!module$contents$goog$labs$userAgent$engine_isWebKit()&&!module$contents$goog$labs$userAgent$engine_isTrident()&&!module$contents$goog$labs$userAgent$engine_isEdge()}
242
- function module$contents$goog$labs$userAgent$engine_getVersion(){var a=module$contents$goog$labs$userAgent$util_getUserAgent();if(a){a=module$contents$goog$labs$userAgent$util_extractVersionTuples(a);const c=module$contents$goog$labs$userAgent$engine_getEngineTuple(a);if(c)return "Gecko"==c[0]?module$contents$goog$labs$userAgent$engine_getVersionForKey(a,"Firefox"):c[1];a=a[0];var b;if(a&&(b=a[2])&&(b=/Trident\/([^\s;]+)/.exec(b)))return b[1]}return ""}
243
- function module$contents$goog$labs$userAgent$engine_getEngineTuple(a){if(!module$contents$goog$labs$userAgent$engine_isEdge())return a[1];for(let b=0;b<a.length;b++){const c=a[b];if("Edge"==c[0])return c}}function module$contents$goog$labs$userAgent$engine_isVersionOrHigher(a){return 0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(),a)}
244
- function module$contents$goog$labs$userAgent$engine_getVersionForKey(a,b){return (a=module$contents$goog$array_find(a,function(c){return b==c[0]}))&&a[1]||""}goog.labs.userAgent.engine.getVersion=module$contents$goog$labs$userAgent$engine_getVersion;goog.labs.userAgent.engine.isEdge=module$contents$goog$labs$userAgent$engine_isEdge;goog.labs.userAgent.engine.isGecko=module$contents$goog$labs$userAgent$engine_isGecko;goog.labs.userAgent.engine.isPresto=module$contents$goog$labs$userAgent$engine_isPresto;
245
- goog.labs.userAgent.engine.isTrident=module$contents$goog$labs$userAgent$engine_isTrident;goog.labs.userAgent.engine.isVersionOrHigher=module$contents$goog$labs$userAgent$engine_isVersionOrHigher;goog.labs.userAgent.engine.isWebKit=module$contents$goog$labs$userAgent$engine_isWebKit;goog.labs.userAgent.platform={};function module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(a=false){if(!a&&!(0, goog.labs.userAgent.useClientHints)())return false;a=module$contents$goog$labs$userAgent$util_getUserAgentData();return !!a&&!!a.platform}
246
- function module$contents$goog$labs$userAgent$platform_isAndroid(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Android"===module$contents$goog$labs$userAgent$util_getUserAgentData().platform:module$contents$goog$labs$userAgent$util_matchUserAgent("Android")}function module$contents$goog$labs$userAgent$platform_isIpod(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")}
247
- function module$contents$goog$labs$userAgent$platform_isIphone(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}function module$contents$goog$labs$userAgent$platform_isIpad(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}
248
- function module$contents$goog$labs$userAgent$platform_isIos(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$goog$labs$userAgent$platform_isIpad()||module$contents$goog$labs$userAgent$platform_isIpod()}
249
- function module$contents$goog$labs$userAgent$platform_isMacintosh(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"macOS"===module$contents$goog$labs$userAgent$util_getUserAgentData().platform:module$contents$goog$labs$userAgent$util_matchUserAgent("Macintosh")}
250
- function module$contents$goog$labs$userAgent$platform_isLinux(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Linux"===module$contents$goog$labs$userAgent$util_getUserAgentData().platform:module$contents$goog$labs$userAgent$util_matchUserAgent("Linux")}
251
- function module$contents$goog$labs$userAgent$platform_isWindows(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Windows"===module$contents$goog$labs$userAgent$util_getUserAgentData().platform:module$contents$goog$labs$userAgent$util_matchUserAgent("Windows")}
252
- function module$contents$goog$labs$userAgent$platform_isChromeOS(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Chrome OS"===module$contents$goog$labs$userAgent$util_getUserAgentData().platform:module$contents$goog$labs$userAgent$util_matchUserAgent("CrOS")}function module$contents$goog$labs$userAgent$platform_isChromecast(){return module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey")}
253
- function module$contents$goog$labs$userAgent$platform_isKaiOS(){return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS")}
254
- function module$contents$goog$labs$userAgent$platform_getVersion(){var a=module$contents$goog$labs$userAgent$util_getUserAgent(),b="";module$contents$goog$labs$userAgent$platform_isWindows()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):module$contents$goog$labs$userAgent$platform_isIos()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):module$contents$goog$labs$userAgent$platform_isMacintosh()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,
255
- "."):"10"):module$contents$goog$labs$userAgent$platform_isKaiOS()?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isAndroid()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isChromeOS()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""}
256
- function module$contents$goog$labs$userAgent$platform_isVersionOrHigher(a){return 0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(),a)}
257
- class module$contents$goog$labs$userAgent$platform_PlatformVersion{constructor(){this.preUachHasLoaded_=false;}getIfLoaded(){if(module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(true)){const a=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.getIfLoaded();return void 0===a?void 0:new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(a)}if(this.preUachHasLoaded_)return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion())}async load(){if(module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(true))return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load());
258
- this.preUachHasLoaded_=true;return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion())}resetForTesting(){module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.resetForTesting();this.preUachHasLoaded_=false;}}const module$contents$goog$labs$userAgent$platform_version=new module$contents$goog$labs$userAgent$platform_PlatformVersion;goog.labs.userAgent.platform.getVersion=module$contents$goog$labs$userAgent$platform_getVersion;
259
- goog.labs.userAgent.platform.isAndroid=module$contents$goog$labs$userAgent$platform_isAndroid;goog.labs.userAgent.platform.isChromeOS=module$contents$goog$labs$userAgent$platform_isChromeOS;goog.labs.userAgent.platform.isChromecast=module$contents$goog$labs$userAgent$platform_isChromecast;goog.labs.userAgent.platform.isIos=module$contents$goog$labs$userAgent$platform_isIos;goog.labs.userAgent.platform.isIpad=module$contents$goog$labs$userAgent$platform_isIpad;
260
- goog.labs.userAgent.platform.isIphone=module$contents$goog$labs$userAgent$platform_isIphone;goog.labs.userAgent.platform.isIpod=module$contents$goog$labs$userAgent$platform_isIpod;goog.labs.userAgent.platform.isKaiOS=module$contents$goog$labs$userAgent$platform_isKaiOS;goog.labs.userAgent.platform.isLinux=module$contents$goog$labs$userAgent$platform_isLinux;goog.labs.userAgent.platform.isMacintosh=module$contents$goog$labs$userAgent$platform_isMacintosh;
261
- goog.labs.userAgent.platform.isVersionOrHigher=module$contents$goog$labs$userAgent$platform_isVersionOrHigher;goog.labs.userAgent.platform.isWindows=module$contents$goog$labs$userAgent$platform_isWindows;goog.labs.userAgent.platform.version=module$contents$goog$labs$userAgent$platform_version;goog.reflect={};goog.reflect.object=function(a,b){return b};goog.reflect.objectProperty=function(a,b){return a};goog.reflect.sinkValue=function(a){goog.reflect.sinkValue[" "](a);return a};goog.reflect.sinkValue[" "]=function(){};goog.reflect.canAccessProperty=function(a,b){try{return goog.reflect.sinkValue(a[b]),!0}catch(c){}return false};goog.reflect.cache=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};goog.userAgent={};goog.userAgent.ASSUME_IE=false;goog.userAgent.ASSUME_EDGE=false;goog.userAgent.ASSUME_GECKO=false;goog.userAgent.ASSUME_WEBKIT=false;goog.userAgent.ASSUME_MOBILE_WEBKIT=false;goog.userAgent.ASSUME_OPERA=false;goog.userAgent.ASSUME_ANY_VERSION=false;goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA;goog.userAgent.getUserAgentString=function(){return module$contents$goog$labs$userAgent$util_getUserAgent()};
262
- goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null};goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()};goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:module$contents$goog$labs$userAgent$browser_matchOpera();goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:module$contents$goog$labs$userAgent$browser_matchIE();
263
- goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:module$contents$goog$labs$userAgent$engine_isEdge();goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE;goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:module$contents$goog$labs$userAgent$engine_isGecko();goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:module$contents$goog$labs$userAgent$engine_isWebKit();
264
- goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&module$contents$goog$labs$userAgent$util_matchUserAgent("Mobile")};goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_();goog.userAgent.SAFARI=goog.userAgent.WEBKIT;goog.userAgent.determinePlatform_=function(){var a=goog.userAgent.getNavigatorTyped();return a&&a.platform||""};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog.userAgent.ASSUME_MAC=false;goog.userAgent.ASSUME_WINDOWS=false;
265
- goog.userAgent.ASSUME_LINUX=false;goog.userAgent.ASSUME_X11=false;goog.userAgent.ASSUME_ANDROID=false;goog.userAgent.ASSUME_IPHONE=false;goog.userAgent.ASSUME_IPAD=false;goog.userAgent.ASSUME_IPOD=false;goog.userAgent.ASSUME_KAIOS=false;goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD;
266
- goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:module$contents$goog$labs$userAgent$platform_isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:module$contents$goog$labs$userAgent$platform_isWindows();goog.userAgent.isLegacyLinux_=function(){return module$contents$goog$labs$userAgent$platform_isLinux()||module$contents$goog$labs$userAgent$platform_isChromeOS()};
267
- goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.isX11_=function(){var a=goog.userAgent.getNavigatorTyped();return !!a&&goog.string.internal.contains(a.appVersion||"","X11")};goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_();goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:module$contents$goog$labs$userAgent$platform_isAndroid();
268
- goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:module$contents$goog$labs$userAgent$platform_isIphone();goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isIpad();goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIpod();
269
- goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIos();goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:module$contents$goog$labs$userAgent$platform_isKaiOS();
270
- goog.userAgent.determineVersion_=function(){var a="",b=goog.userAgent.getVersionRegexResult_();b&&(a=b?b[1]:"");return goog.userAgent.IE&&(b=goog.userAgent.getDocumentMode_(),null!=b&&b>parseFloat(a))?String(b):a};
271
- goog.userAgent.getVersionRegexResult_=function(){var a=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return /rv:([^\);]+)(\)|;)/.exec(a);if(goog.userAgent.EDGE)return /Edge\/([\d\.]+)/.exec(a);if(goog.userAgent.IE)return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(goog.userAgent.WEBKIT)return /WebKit\/(\S+)/.exec(a);if(goog.userAgent.OPERA)return /(?:Version)[ \/]?(\S+)/.exec(a)};goog.userAgent.getDocumentMode_=function(){var a=goog.global.document;return a?a.documentMode:void 0};
272
- goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(a,b){return goog.string.internal.compareVersions(a,b)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(a){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,a,function(){return 0<=goog.string.internal.compareVersions(goog.userAgent.VERSION,a)})};
273
- goog.userAgent.isDocumentModeOrHigher=function(a){return Number(goog.userAgent.DOCUMENT_MODE)>=a};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var a=goog.userAgent.getDocumentMode_();return a?a:parseInt(goog.userAgent.VERSION,10)||void 0}}();goog.userAgent.product={};goog.userAgent.product.ASSUME_FIREFOX=false;goog.userAgent.product.ASSUME_IPHONE=false;goog.userAgent.product.ASSUME_IPAD=false;goog.userAgent.product.ASSUME_ANDROID=false;goog.userAgent.product.ASSUME_CHROME=false;goog.userAgent.product.ASSUME_SAFARI=false;
274
- goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI;goog.userAgent.product.OPERA=goog.userAgent.OPERA;goog.userAgent.product.IE=goog.userAgent.IE;goog.userAgent.product.EDGE=goog.userAgent.EDGE;
275
- goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:module$contents$goog$labs$userAgent$browser_matchFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$goog$labs$userAgent$platform_isIpod()};goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_();
276
- goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isIpad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:module$contents$goog$labs$userAgent$browser_matchAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:module$contents$goog$labs$userAgent$browser_matchChrome();
277
- goog.userAgent.product.isSafariDesktop_=function(){return module$contents$goog$labs$userAgent$browser_matchSafari()&&!module$contents$goog$labs$userAgent$platform_isIos()};goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_();goog.crypt.base64={};goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=";goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.";goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4};goog.crypt.base64.paddingChars_="=.";
278
- goog.crypt.base64.isPadding_=function(a){return goog.string.internal.contains(goog.crypt.base64.paddingChars_,a)};goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT;goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||"function"==typeof goog.global.btoa;
279
- goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob;
280
- goog.crypt.base64.encodeByteArray=function(a,b){goog.asserts.assert(goog.isArrayLike(a),"encodeByteArray takes an array as a parameter");void 0===b&&(b=goog.crypt.base64.Alphabet.DEFAULT);goog.crypt.base64.init_();b=goog.crypt.base64.byteToCharMaps_[b];const c=Array(Math.floor(a.length/3)),d=b[64]||"";let e=0,f=0;for(;e<a.length-2;e+=3){var g=a[e],h=a[e+1],l=a[e+2],k=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|l>>6];l=b[l&63];c[f++]=""+k+g+h+l;}k=0;l=d;switch(a.length-e){case 2:k=a[e+1],l=b[(k&15)<<2]||
281
- d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|k>>4]+l+d;}return c.join("")};goog.crypt.base64.encodeBinaryString=function(a,b){return goog.crypt.base64.encodeString(a,b,true)};goog.crypt.base64.encodeString=function(a,b,c){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!b?goog.global.btoa(a):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(a,c),b)};goog.crypt.base64.encodeStringUtf8=function(a,b){return goog.crypt.base64.encodeText(a,b)};
282
- goog.crypt.base64.encodeText=function(a,b){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!b?goog.global.btoa(unescape(encodeURIComponent(a))):goog.crypt.base64.encodeByteArray(goog.crypt.stringToUtf8ByteArray(a),b)};goog.crypt.base64.decodeToBinaryString=function(a,b){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!b)return goog.global.atob(a);var c="";goog.crypt.base64.decodeStringInternal_(a,function(d){c+=String.fromCharCode(d);});return c};goog.crypt.base64.decodeString=goog.crypt.base64.decodeToBinaryString;
283
- goog.crypt.base64.decodeStringUtf8=function(a,b){return goog.crypt.base64.decodeToText(a,b)};goog.crypt.base64.decodeToText=function(a,b){return decodeURIComponent(escape(goog.crypt.base64.decodeString(a,b)))};goog.crypt.base64.decodeStringToByteArray=function(a,b){var c=[];goog.crypt.base64.decodeStringInternal_(a,function(d){c.push(d);});return c};
284
- goog.crypt.base64.decodeStringToUint8Array=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):goog.crypt.base64.isPadding_(a[b-1])&&(c=goog.crypt.base64.isPadding_(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;goog.crypt.base64.decodeStringInternal_(a,function(f){d[e++]=f;});return e!==c?d.subarray(0,e):d};
285
- goog.crypt.base64.decodeStringInternal_=function(a,b){function c(l){for(;d<a.length;){var k=a.charAt(d++),n=goog.crypt.base64.charToByteMap_[k];if(null!=n)return n;if(!goog.string.internal.isEmptyOrWhitespace(k))throw Error("Unknown base64 encoding at char: "+k);}return l}goog.crypt.base64.init_();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),h=c(64);if(64===h&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h));}};
286
- goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var a=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));goog.crypt.base64.byteToCharMaps_[c]=d;for(var e=0;e<d.length;e++){var f=d[e],g=goog.crypt.base64.charToByteMap_[f];void 0===g?goog.crypt.base64.charToByteMap_[f]=e:goog.asserts.assert(g===e);}}}};jspb.BinaryConstants={};const module$contents$jspb$BinaryConstants_FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},module$contents$jspb$BinaryConstants_WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5};function module$contents$jspb$BinaryConstants_isValidWireType(a){return 0<=a&&5>=a}
287
- function module$contents$jspb$BinaryConstants_FieldTypeToWireType(a){switch(a){case module$contents$jspb$BinaryConstants_FieldType.INT32:case module$contents$jspb$BinaryConstants_FieldType.INT64:case module$contents$jspb$BinaryConstants_FieldType.UINT32:case module$contents$jspb$BinaryConstants_FieldType.UINT64:case module$contents$jspb$BinaryConstants_FieldType.SINT32:case module$contents$jspb$BinaryConstants_FieldType.SINT64:case module$contents$jspb$BinaryConstants_FieldType.BOOL:case module$contents$jspb$BinaryConstants_FieldType.ENUM:return module$contents$jspb$BinaryConstants_WireType.VARINT;case module$contents$jspb$BinaryConstants_FieldType.DOUBLE:case module$contents$jspb$BinaryConstants_FieldType.FIXED64:case module$contents$jspb$BinaryConstants_FieldType.SFIXED64:return module$contents$jspb$BinaryConstants_WireType.FIXED64;
288
- case module$contents$jspb$BinaryConstants_FieldType.STRING:case module$contents$jspb$BinaryConstants_FieldType.MESSAGE:case module$contents$jspb$BinaryConstants_FieldType.BYTES:return module$contents$jspb$BinaryConstants_WireType.DELIMITED;case module$contents$jspb$BinaryConstants_FieldType.FLOAT:case module$contents$jspb$BinaryConstants_FieldType.FIXED32:case module$contents$jspb$BinaryConstants_FieldType.SFIXED32:return module$contents$jspb$BinaryConstants_WireType.FIXED32;default:return module$contents$jspb$BinaryConstants_WireType.INVALID}}
289
- const module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER=-1,module$contents$jspb$BinaryConstants_INVALID_TAG=-1,module$contents$jspb$BinaryConstants_FLOAT32_EPS=1.401298464324817E-45,module$contents$jspb$BinaryConstants_FLOAT32_MIN=1.1754943508222875E-38,module$contents$jspb$BinaryConstants_FLOAT32_MAX=3.4028234663852886E38,module$contents$jspb$BinaryConstants_FLOAT64_EPS=4.9E-324,module$contents$jspb$BinaryConstants_FLOAT64_MIN=2.2250738585072014E-308,module$contents$jspb$BinaryConstants_FLOAT64_MAX=
290
- 1.7976931348623157E308,module$contents$jspb$BinaryConstants_TWO_TO_20=1048576,module$contents$jspb$BinaryConstants_TWO_TO_23=8388608,module$contents$jspb$BinaryConstants_TWO_TO_31=2147483648,module$contents$jspb$BinaryConstants_TWO_TO_32=4294967296,module$contents$jspb$BinaryConstants_TWO_TO_52=4503599627370496,module$contents$jspb$BinaryConstants_TWO_TO_63=0x7fffffffffffffff,module$contents$jspb$BinaryConstants_TWO_TO_64=1.8446744073709552E19,module$contents$jspb$BinaryConstants_ZERO_HASH="\x00\x00\x00\x00\x00\x00\x00\x00",
291
- module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER=1,module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER=2,module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER=3,module$contents$jspb$BinaryConstants_MESSAGE_SET_MAX_TYPE_ID=4294967294;jspb.BinaryConstants.FieldType=module$contents$jspb$BinaryConstants_FieldType;jspb.BinaryConstants.FieldTypeToWireType=module$contents$jspb$BinaryConstants_FieldTypeToWireType;jspb.BinaryConstants.FLOAT32_EPS=module$contents$jspb$BinaryConstants_FLOAT32_EPS;
292
- jspb.BinaryConstants.FLOAT32_MIN=module$contents$jspb$BinaryConstants_FLOAT32_MIN;jspb.BinaryConstants.FLOAT32_MAX=module$contents$jspb$BinaryConstants_FLOAT32_MAX;jspb.BinaryConstants.FLOAT64_EPS=module$contents$jspb$BinaryConstants_FLOAT64_EPS;jspb.BinaryConstants.FLOAT64_MIN=module$contents$jspb$BinaryConstants_FLOAT64_MIN;jspb.BinaryConstants.FLOAT64_MAX=module$contents$jspb$BinaryConstants_FLOAT64_MAX;jspb.BinaryConstants.INVALID_FIELD_NUMBER=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER;
293
- jspb.BinaryConstants.INVALID_TAG=module$contents$jspb$BinaryConstants_INVALID_TAG;jspb.BinaryConstants.MESSAGE_SET_GROUP_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER;jspb.BinaryConstants.MESSAGE_SET_MAX_TYPE_ID=module$contents$jspb$BinaryConstants_MESSAGE_SET_MAX_TYPE_ID;jspb.BinaryConstants.MESSAGE_SET_MESSAGE_FIELD_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER;jspb.BinaryConstants.MESSAGE_SET_TYPE_ID_FIELD_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER;
294
- jspb.BinaryConstants.TWO_TO_20=module$contents$jspb$BinaryConstants_TWO_TO_20;jspb.BinaryConstants.TWO_TO_23=module$contents$jspb$BinaryConstants_TWO_TO_23;jspb.BinaryConstants.TWO_TO_31=module$contents$jspb$BinaryConstants_TWO_TO_31;jspb.BinaryConstants.TWO_TO_32=module$contents$jspb$BinaryConstants_TWO_TO_32;jspb.BinaryConstants.TWO_TO_52=module$contents$jspb$BinaryConstants_TWO_TO_52;jspb.BinaryConstants.TWO_TO_63=module$contents$jspb$BinaryConstants_TWO_TO_63;jspb.BinaryConstants.TWO_TO_64=module$contents$jspb$BinaryConstants_TWO_TO_64;
295
- jspb.BinaryConstants.WireType=module$contents$jspb$BinaryConstants_WireType;jspb.BinaryConstants.ZERO_HASH=module$contents$jspb$BinaryConstants_ZERO_HASH;jspb.BinaryConstants.isValidWireType=module$contents$jspb$BinaryConstants_isValidWireType;function module$contents$jspb$binary$errors_messageLengthMismatchError(a,b){return Error("Message parsing ended unexpectedly. Expected to read "+`${a} bytes, instead read ${b} bytes, either the `+"data ended unexpectedly or the message misreported its own length")}function module$contents$jspb$binary$errors_invalidWireTypeError(a,b){return Error(`Invalid wire type: ${a} (at position ${b})`)}
296
- function module$contents$jspb$binary$errors_invalidFieldNumberError(a,b){return Error(`Invalid field number: ${a} (at position ${b})`)}function module$contents$jspb$binary$errors_malformedBinaryBytesForMessageSet(){return Error("Malformed binary bytes for message set")}function module$contents$jspb$binary$errors_unmatchedStartGroupEofError(){return Error("Unmatched start-group tag: stream EOF")}
297
- function module$contents$jspb$binary$errors_unmatchedStartGroupError(){return Error("Unmatched end-group tag")}function module$contents$jspb$binary$errors_groupDidNotEndWithEndGroupError(){return Error("Group submessage did not end with an END_GROUP tag")}function module$contents$jspb$binary$errors_invalidVarintError(){return Error("Failed to read varint, encoding is invalid.")}
298
- function module$contents$jspb$binary$errors_readTooFarError(a,b){return Error(`Tried to read past the end of the data ${b} > ${a}`)}function module$contents$jspb$binary$errors_negativeByteLengthError(a){return Error(`Tried to read a negative byte length: ${a}`)}function module$contents$jspb$internal_options_isBigIntAvailable(){return 2021<=goog.FEATURESET_YEAR||"function"===typeof BigInt}var module$exports$jspb$internal_bytes={};module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY=2018<=goog.FEATURESET_YEAR||"undefined"!==typeof Uint8Array;const module$contents$jspb$internal_bytes_ASSUME_ATOB_AND_BTOA_AVAILABLE=2018<=goog.FEATURESET_YEAR;
299
- module$exports$jspb$internal_bytes.USE_ATOB_BTOA=(module$contents$jspb$internal_bytes_ASSUME_ATOB_AND_BTOA_AVAILABLE||!goog.userAgent.IE&&"function"===typeof btoa);const module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD=10240;
300
- function module$contents$jspb$internal_bytes_encodeByteArray(a){if(!module$exports$jspb$internal_bytes.USE_ATOB_BTOA)return goog.crypt.base64.encodeByteArray(a);let b="",c=0;const d=a.length-module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD;for(;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)}
301
- const module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS=/[-_.]/g,module$contents$jspb$internal_bytes_websafeReplacer={"-":"+",_:"/",".":"="};function module$contents$jspb$internal_bytes_replaceWebsafe(a){return module$contents$jspb$internal_bytes_websafeReplacer[a]||""}
302
- function module$contents$jspb$internal_bytes_replaceWebsafeString(a){return module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS.test(a)?a.replace(module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS,module$contents$jspb$internal_bytes_replaceWebsafe):a}
303
- function module$contents$jspb$internal_bytes_decodeByteArray(a){if(!module$exports$jspb$internal_bytes.USE_ATOB_BTOA)return goog.crypt.base64.decodeStringToUint8Array(a);var b=a;(b=module$contents$jspb$internal_bytes_replaceWebsafeString(b));let c;if(goog.DEBUG)try{c=atob(b);}catch(d){throw Error(`invalid encoding '${a}': ${d}`);}else c=atob(b);a=new Uint8Array(c.length);for(b=0;b<c.length;b++)a[b]=c.charCodeAt(b);return a}
304
- function module$contents$jspb$internal_bytes_dataAsU8(a){if(null==a||module$contents$jspb$internal_bytes_isU8(a))return a;if("string"===typeof a)return module$contents$jspb$internal_bytes_decodeByteArray(a);(0, goog.asserts.fail)("Cannot coerce to Uint8Array: "+goog.typeOf(a));return null}function module$contents$jspb$internal_bytes_isU8(a){return module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY&&null!=a&&a instanceof Uint8Array}
305
- function module$contents$jspb$internal_bytes_uint8ArrayEquals(a,b){const c=a.length;if(c!==b.length)return false;for(let d=0;d<c;d++)if(a[d]!==b[d])return false;return true}module$exports$jspb$internal_bytes.I_AM_INTERNAL={};module$exports$jspb$internal_bytes.encodeByteArray=module$contents$jspb$internal_bytes_encodeByteArray;module$exports$jspb$internal_bytes.decodeByteArray=module$contents$jspb$internal_bytes_decodeByteArray;module$exports$jspb$internal_bytes.dataAsU8=module$contents$jspb$internal_bytes_dataAsU8;
306
- module$exports$jspb$internal_bytes.isU8=module$contents$jspb$internal_bytes_isU8;module$exports$jspb$internal_bytes.replaceWebsafeString=module$contents$jspb$internal_bytes_replaceWebsafeString;module$exports$jspb$internal_bytes.uint8ArrayEquals=module$contents$jspb$internal_bytes_uint8ArrayEquals;jspb.binary={};jspb.binary.utf8={};
307
- const module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE=2020<=goog.FEATURESET_YEAR,module$contents$jspb$binary$utf8_MIN_SURROGATE=55296,module$contents$jspb$binary$utf8_MAX_HIGH_SURROGATE=56319,module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE=56320,module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE=57343;function module$contents$jspb$binary$utf8_isNotTrailingByte(a){return 128!==(a&192)}function module$contents$jspb$binary$utf8_invalid(a,b){if(a)throw Error("Invalid UTF8");b.push(65533);}function module$contents$jspb$binary$utf8_codeUnitsToString(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b}
308
- function module$contents$jspb$binary$utf8_polyfillDecodeUtf8(a,b,c,d){c=b+c;const e=[];let f=null;let g,h,l;for(;b<c;){var k=a[b++];128>k?e.push(k):224>k?b>=c?module$contents$jspb$binary$utf8_invalid(d,e):(g=a[b++],194>k||module$contents$jspb$binary$utf8_isNotTrailingByte(g)?(b--,module$contents$jspb$binary$utf8_invalid(d,e)):(k=(k&31)<<6|g&63,(0, goog.asserts.assert)(128<=k&&2047>=k),e.push(k))):240>k?b>=c-1?module$contents$jspb$binary$utf8_invalid(d,e):(g=a[b++],module$contents$jspb$binary$utf8_isNotTrailingByte(g)||
309
- 224===k&&160>g||237===k&&160<=g||module$contents$jspb$binary$utf8_isNotTrailingByte(h=a[b++])?(b--,module$contents$jspb$binary$utf8_invalid(d,e)):(k=(k&15)<<12|(g&63)<<6|h&63,(0, goog.asserts.assert)(2048<=k&&65535>=k),(0, goog.asserts.assert)(k<module$contents$jspb$binary$utf8_MIN_SURROGATE||k>module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE),e.push(k))):244>=k?b>=c-2?module$contents$jspb$binary$utf8_invalid(d,e):(g=a[b++],module$contents$jspb$binary$utf8_isNotTrailingByte(g)||0!==(k<<28)+(g-144)>>
310
- 30||module$contents$jspb$binary$utf8_isNotTrailingByte(h=a[b++])||module$contents$jspb$binary$utf8_isNotTrailingByte(l=a[b++])?(b--,module$contents$jspb$binary$utf8_invalid(d,e)):(k=(k&7)<<18|(g&63)<<12|(h&63)<<6|l&63,(0, goog.asserts.assert)(65536<=k&&1114111>=k),k-=65536,e.push((k>>10&1023)+module$contents$jspb$binary$utf8_MIN_SURROGATE,(k&1023)+module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE))):module$contents$jspb$binary$utf8_invalid(d,e);8192<=e.length&&(f=module$contents$jspb$binary$utf8_codeUnitsToString(f,
311
- e),e.length=0);}(0, goog.asserts.assert)(b===c,`expected ${b} === ${c}`);return module$contents$jspb$binary$utf8_codeUnitsToString(f,e)}let module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=2020<=goog.FEATURESET_YEAR?true:void 0;
312
- function module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing(a){if(void 0===module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_){try{a.decode(new Uint8Array([128]));}catch(b){}try{a.decode(new Uint8Array([97])),module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=!0;}catch(b){module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=false;}}return module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_}let module$contents$jspb$binary$utf8_fatalDecoderInstance;
313
- function module$contents$jspb$binary$utf8_getFatalDecoderInstance(){let a=module$contents$jspb$binary$utf8_fatalDecoderInstance;a||=module$contents$jspb$binary$utf8_fatalDecoderInstance=new TextDecoder("utf-8",{fatal:true});return a}let module$contents$jspb$binary$utf8_nonFatalDecoderInstance;
314
- function module$contents$jspb$binary$utf8_getNonFatalDecoderInstance(){let a=module$contents$jspb$binary$utf8_nonFatalDecoderInstance;a||=module$contents$jspb$binary$utf8_nonFatalDecoderInstance=new TextDecoder("utf-8",{fatal:false});return a}function module$contents$jspb$binary$utf8_subarray(a,b,c){return 0===b&&c===a.length?a:a.subarray(b,c)}
315
- function module$contents$jspb$binary$utf8_textDecoderDecodeUtf8(a,b,c,d){const e=d?module$contents$jspb$binary$utf8_getFatalDecoderInstance():module$contents$jspb$binary$utf8_getNonFatalDecoderInstance();a=module$contents$jspb$binary$utf8_subarray(a,b,b+c);try{return e.decode(a)}catch(f){throw d&&!module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing(e)&&(module$contents$jspb$binary$utf8_fatalDecoderInstance=void 0),f;}}
316
- const module$contents$jspb$binary$utf8_useTextDecoderDecode=(module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||"undefined"!==typeof TextDecoder);function module$contents$jspb$binary$utf8_decodeUtf8(a,b,c,d){return module$contents$jspb$binary$utf8_useTextDecoderDecode?module$contents$jspb$binary$utf8_textDecoderDecodeUtf8(a,b,c,d):module$contents$jspb$binary$utf8_polyfillDecodeUtf8(a,b,c,d)}let module$contents$jspb$binary$utf8_textEncoderInstance;
317
- function module$contents$jspb$binary$utf8_textEncoderEncode(a,b){b&&module$contents$jspb$binary$utf8_checkWellFormed(a);return (module$contents$jspb$binary$utf8_textEncoderInstance||=new TextEncoder).encode(a)}const module$contents$jspb$binary$utf8_IS_WELL_FORMED="isWellFormed",module$contents$jspb$binary$utf8_HAS_WELL_FORMED_METHOD=2023<goog.FEATURESET_YEAR||"function"===typeof String.prototype[module$contents$jspb$binary$utf8_IS_WELL_FORMED];
318
- function module$contents$jspb$binary$utf8_checkWellFormed(a){if(module$contents$jspb$binary$utf8_HAS_WELL_FORMED_METHOD?!a[module$contents$jspb$binary$utf8_IS_WELL_FORMED]():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a))throw Error("Found an unpaired surrogate");}
319
- function module$contents$jspb$binary$utf8_polyfillEncode(a,b){let c=0;const d=new Uint8Array(3*a.length);for(let f=0;f<a.length;f++){var e=a.charCodeAt(f);if(128>e)d[c++]=e;else {if(2048>e)d[c++]=e>>6|192;else {(0, goog.asserts.assert)(65536>e);if(e>=module$contents$jspb$binary$utf8_MIN_SURROGATE&&e<=module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE){if(e<=module$contents$jspb$binary$utf8_MAX_HIGH_SURROGATE&&f<a.length){const g=a.charCodeAt(++f);if(g>=module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE&&
320
- g<=module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE){e=1024*(e-module$contents$jspb$binary$utf8_MIN_SURROGATE)+g-module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE+65536;d[c++]=e>>18|240;d[c++]=e>>12&63|128;d[c++]=e>>6&63|128;d[c++]=e&63|128;continue}else f--;}if(b)throw Error("Found an unpaired surrogate");e=65533;}d[c++]=e>>12|224;d[c++]=e>>6&63|128;}d[c++]=e&63|128;}}return module$contents$jspb$binary$utf8_subarray(d,0,c)}
321
- const module$contents$jspb$binary$utf8_useTextEncoderEncode=(module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||"undefined"!==typeof TextEncoder);function module$contents$jspb$binary$utf8_encodeUtf8(a,b=false){(0, goog.asserts.assertString)(a);return module$contents$jspb$binary$utf8_useTextEncoderEncode?module$contents$jspb$binary$utf8_textEncoderEncode(a,b):module$contents$jspb$binary$utf8_polyfillEncode(a,b)}
322
- jspb.binary.utf8.decodeUtf8=module$contents$jspb$binary$utf8_decodeUtf8;jspb.binary.utf8.encodeUtf8=module$contents$jspb$binary$utf8_encodeUtf8;jspb.binary.utf8.checkWellFormed=module$contents$jspb$binary$utf8_checkWellFormed;jspb.binary.utf8.textDecoderDecodeUtf8=module$contents$jspb$binary$utf8_textDecoderDecodeUtf8;jspb.binary.utf8.polyfillDecodeUtf8=module$contents$jspb$binary$utf8_polyfillDecodeUtf8;jspb.binary.utf8.textEncoderEncode=module$contents$jspb$binary$utf8_textEncoderEncode;
323
- jspb.binary.utf8.polyfillEncode=module$contents$jspb$binary$utf8_polyfillEncode;jspb.bytestring={};
324
- class module$contents$jspb$bytestring_ByteString{static fromBase64(a){(0, goog.asserts.assertString)(a);return a?new module$contents$jspb$bytestring_ByteString(a,module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$contents$jspb$bytestring_ByteString.empty()}static fromUint8Array(a){(0, goog.asserts.assert)(a instanceof Uint8Array||Array.isArray(a));return a.length?new module$contents$jspb$bytestring_ByteString(new Uint8Array(a),module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$contents$jspb$bytestring_ByteString.empty()}static fromStringUtf8(a){(0, goog.asserts.assertString)(a);
325
- return a.length?new module$contents$jspb$bytestring_ByteString(module$contents$jspb$binary$utf8_encodeUtf8(a,true),module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$contents$jspb$bytestring_ByteString.empty()}static async fromBlob(a){(0, goog.asserts.assertInstanceof)(a,Blob);if(0===a.size)return module$contents$jspb$bytestring_ByteString.empty();a=await a.arrayBuffer();return new module$contents$jspb$bytestring_ByteString(new Uint8Array(a),module$exports$jspb$internal_bytes.I_AM_INTERNAL)}static empty(){return module$contents$jspb$bytestring_emptyByteString||=
326
- new module$contents$jspb$bytestring_ByteString(null,module$exports$jspb$internal_bytes.I_AM_INTERNAL)}asBase64(){const a=this.value_;return null==a?"":"string"===typeof a?a:this.value_=module$contents$jspb$internal_bytes_encodeByteArray(a)}asUint8Array(){return new Uint8Array(this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL)||0)}isEmpty(){return null==this.value_}sizeBytes(){const a=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return a?a.length:
327
- 0}unsignedByteAt(a){(0, goog.asserts.assertNumber)(a);(0, goog.asserts.assert)(0<=a,"index %s should be non-negative",a);const b=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);(0, goog.asserts.assert)(a<b.length,"index %s must be less than %s",a,b.length);return b[a]}signedByteAt(a){return this.unsignedByteAt(a)<<24>>24}asStringUtf8({parsingErrorsAreFatal:a=true}={}){const b=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return b?module$contents$jspb$binary$utf8_decodeUtf8(b,
328
- 0,b.length,a):""}asBlob(a){const b=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return b?new Blob([b],a):new Blob([],a)}internalBytesUnsafe(a){module$contents$jspb$bytestring_checkAllowedCaller(a);a=module$contents$jspb$internal_bytes_dataAsU8(this.value_);return null==a?a:this.value_=a}internalUnwrap(a){module$contents$jspb$bytestring_checkAllowedCaller(a);return this.value_||""}constructor(a,b){module$contents$jspb$bytestring_checkAllowedCaller(b);this.value_=a;if(null!=
329
- a&&0===a.length)throw Error("ByteString should be constructed with non-empty values");}}let module$contents$jspb$bytestring_emptyByteString;function module$contents$jspb$bytestring_checkAllowedCaller(a){if(a!==module$exports$jspb$internal_bytes.I_AM_INTERNAL)throw Error("illegal external caller");}jspb.bytestring.ByteString=module$contents$jspb$bytestring_ByteString;function module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(a){(0, goog.asserts.assertInstanceof)(a,Uint8Array);return 0==a.length?module$contents$jspb$bytestring_ByteString.empty():new module$contents$jspb$bytestring_ByteString(a,module$exports$jspb$internal_bytes.I_AM_INTERNAL)}
330
- function module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a){(0, goog.asserts.assertInstanceof)(a,module$contents$jspb$bytestring_ByteString);return a.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL)||new Uint8Array(0)}jspb.utils={};const module$contents$jspb$utils_SUPPORTS_UINT8ARRAY_SLICING=2018<=goog.FEATURESET_YEAR||"function"===typeof Uint8Array.prototype.slice,module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES=8;function module$contents$jspb$utils_sliceUint8Array(a,b,c){return b===c?new Uint8Array(0):module$contents$jspb$utils_SUPPORTS_UINT8ARRAY_SLICING?a.slice(b,c):new Uint8Array(a.subarray(b,c))}let module$contents$jspb$utils_split64Low=0,module$contents$jspb$utils_split64High=0,module$contents$jspb$utils_scratchpad;
331
- function module$contents$jspb$utils_splitUint64(a){const b=a>>>0;a=(a-b)/module$contents$jspb$BinaryConstants_TWO_TO_32>>>0;module$contents$jspb$utils_split64Low=b;module$contents$jspb$utils_split64High=a;}
332
- function module$contents$jspb$utils_splitInt64(a){if(0>a){module$contents$jspb$utils_splitUint64(0-a);const [b,c]=module$contents$jspb$utils_negate(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High);module$contents$jspb$utils_split64Low=b>>>0;module$contents$jspb$utils_split64High=c>>>0;}else module$contents$jspb$utils_splitUint64(a);}
333
- function module$contents$jspb$utils_splitZigzag64(a){const b=0>a;a=2*Math.abs(a);module$contents$jspb$utils_splitUint64(a);a=module$contents$jspb$utils_split64Low;let c=module$contents$jspb$utils_split64High;b&&(0==a?0==c?c=a=4294967295:(c--,a=4294967295):a--);module$contents$jspb$utils_split64Low=a;module$contents$jspb$utils_split64High=c;}
334
- function module$contents$jspb$utils_getScratchpad(a){(0, goog.asserts.assert)(a<=module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES);return module$contents$jspb$utils_scratchpad||=new DataView(new ArrayBuffer(module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES))}function module$contents$jspb$utils_splitFloat32(a){const b=module$contents$jspb$utils_getScratchpad(4);b.setFloat32(0,+a,true);module$contents$jspb$utils_split64High=0;module$contents$jspb$utils_split64Low=b.getUint32(0,true);}
335
- function module$contents$jspb$utils_splitFloat64(a){const b=module$contents$jspb$utils_getScratchpad(8);b.setFloat64(0,+a,true);module$contents$jspb$utils_split64Low=b.getUint32(0,true);module$contents$jspb$utils_split64High=b.getUint32(4,true);} function module$contents$jspb$utils_joinUint64(a,b){const c=b*module$contents$jspb$BinaryConstants_TWO_TO_32+(a>>>0);return Number.isSafeInteger(c)?c:module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}function module$contents$jspb$utils_joinInt64(a,b){const c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=module$contents$jspb$utils_joinUint64(a,b);return "number"===typeof a?c?-a:a:c?"-"+a:a}function module$contents$jspb$utils_toZigzag32(a){return (a<<1^a>>31)>>>0}
336
- function module$contents$jspb$utils_toZigzag64(a,b,c){const d=b>>31;b=(b<<1|a>>>31)^d;a=a<<1^d;return c(a,b)}function module$contents$jspb$utils_joinZigzag64(a,b){return module$contents$jspb$utils_fromZigzag64(a,b,module$contents$jspb$utils_joinInt64)}function module$contents$jspb$utils_fromZigzag32(a){return a>>>1^-(a&1)}function module$contents$jspb$utils_fromZigzag64(a,b,c){const d=-(a&1);a=(a>>>1|b<<31)^d;b=b>>>1^d;return c(a,b)}
337
- function module$contents$jspb$utils_joinFloat32(a,b){b=2*(a>>31)+1;const c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))}function module$contents$jspb$utils_joinFloat64(a,b){const c=2*(b>>31)+1,d=b>>>20&2047;a=module$contents$jspb$BinaryConstants_TWO_TO_32*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+module$contents$jspb$BinaryConstants_TWO_TO_52)}
338
- function module$contents$jspb$utils_joinUnsignedDecimalString(a,b){b>>>=0;a>>>=0;return 2097151>=b?""+(module$contents$jspb$BinaryConstants_TWO_TO_32*b+a):module$contents$jspb$internal_options_isBigIntAvailable()?""+(BigInt(b)<<BigInt(32)|BigInt(a)):module$contents$jspb$utils_joinUnsignedDecimalStringFallback(a,b)}
339
- function module$contents$jspb$utils_joinUnsignedDecimalStringFallback(a,b){var c=(a>>>24|b<<8)&module$contents$jspb$utils_LOW_24_BITS;b=b>>16&module$contents$jspb$utils_LOW_16_BITS;a=(a&module$contents$jspb$utils_LOW_24_BITS)+6777216*c+6710656*b;c+=8147497*b;b*=2;1E7<=a&&(c+=a/1E7>>>0,a%=1E7);1E7<=c&&(b+=c/1E7>>>0,c%=1E7);(0, goog.asserts.assert)(b);return b+module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(c)+module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(a)}
340
- function module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(a){a=String(a);return "0000000".slice(a.length)+a}function module$contents$jspb$utils_joinSignedDecimalString(a,b){return b&2147483648?module$contents$jspb$internal_options_isBigIntAvailable()?""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):module$contents$jspb$utils_joinNegativeDecimalStringFallback(a,b):module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}
341
- function module$contents$jspb$utils_joinSignedNumberOrDecimalString(a,b){const c=module$contents$jspb$utils_joinInt64(a,b);return Number.isSafeInteger(c)?c:module$contents$jspb$utils_joinSignedDecimalString(a,b)}function module$contents$jspb$utils_joinUnsignedNumberOrDecimalString(a,b){b>>>=0;const c=module$contents$jspb$utils_joinUint64(a,b);return Number.isSafeInteger(c)?c:module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}
342
- function module$contents$jspb$utils_joinNegativeDecimalStringFallback(a,b){const [c,d]=module$contents$jspb$utils_negate(a,b);a=c;b=d;return "-"+module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}
343
- function module$contents$jspb$utils_splitDecimalString(a){(0, goog.asserts.assert)(0<a.length);a.length<module$contents$jspb$utils_MAX_SAFE_INTEGER_DECIMAL_LENGTH?module$contents$jspb$utils_splitInt64(Number(a)):module$contents$jspb$internal_options_isBigIntAvailable()?(a=BigInt(a),module$contents$jspb$utils_split64Low=Number(a&BigInt(module$contents$jspb$utils_ALL_32_BITS))>>>0,module$contents$jspb$utils_split64High=Number(a>>BigInt(32)&BigInt(module$contents$jspb$utils_ALL_32_BITS))):module$contents$jspb$utils_splitDecimalStringFallback(a);}
344
- function module$contents$jspb$utils_splitDecimalStringFallback(a){(0, goog.asserts.assert)(0<a.length);const b=+("-"===a[0]);module$contents$jspb$utils_split64High=module$contents$jspb$utils_split64Low=0;const c=a.length;for(let d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6){const f=Number(a.slice(d,e));module$contents$jspb$utils_split64High*=1E6;module$contents$jspb$utils_split64Low=1E6*module$contents$jspb$utils_split64Low+f;module$contents$jspb$utils_split64Low>=module$contents$jspb$BinaryConstants_TWO_TO_32&&
345
- (module$contents$jspb$utils_split64High+=Math.trunc(module$contents$jspb$utils_split64Low/module$contents$jspb$BinaryConstants_TWO_TO_32),module$contents$jspb$utils_split64High>>>=0,module$contents$jspb$utils_split64Low>>>=0);}if(b){const [d,e]=module$contents$jspb$utils_negate(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High);module$contents$jspb$utils_split64Low=d;module$contents$jspb$utils_split64High=e;}}
346
- function module$contents$jspb$utils_negate(a,b){b=~b;a?a=~a+1:b+=1;return [a,b]}function module$contents$jspb$utils_countVarints(a,b,c){let d=0;for(let e=b;e<c;e++)d+=a[e]>>7;return c-b-d}
347
- function module$contents$jspb$utils_countVarintFields(a,b,c,d){let e=0;d=8*d+module$contents$jspb$BinaryConstants_WireType.VARINT;if(128>d)for(;b<c&&a[b++]==d;)for(e++;0!=(a[b++]&128););else for(;b<c;){let f=d;for(;128<f;){if(a[b]!=(f&127|128))return e;b++;f>>=7;}if(a[b++]!=f)break;for(e++;0!=(a[b++]&128););}return e}
348
- function module$contents$jspb$utils_countFixedFields_(a,b,c,d,e){let f=0;if(128>d)for(;b<c&&a[b++]==d;)f++,b+=e;else for(;b<c;){let g=d;for(;128<g;){if(a[b++]!=(g&127|128))return f;g>>=7;}if(a[b++]!=g)break;f++;b+=e;}return f}function module$contents$jspb$utils_countFixed32Fields(a,b,c,d){return module$contents$jspb$utils_countFixedFields_(a,b,c,8*d+module$contents$jspb$BinaryConstants_WireType.FIXED32,4)}
349
- function module$contents$jspb$utils_countFixed64Fields(a,b,c,d){return module$contents$jspb$utils_countFixedFields_(a,b,c,8*d+module$contents$jspb$BinaryConstants_WireType.FIXED64,8)}function module$contents$jspb$utils_countDelimitedFields(a,b,c,d){let e=0;for(d=8*d+module$contents$jspb$BinaryConstants_WireType.DELIMITED;b<c;){let f=d;for(;128<f;){if(a[b++]!=(f&127|128))return e;f>>=7;}if(a[b++]!=f)break;e++;let g=0,h=1;for(;f=a[b++],g+=(f&127)*h,h*=128,0!=(f&128););b+=g;}return e}
350
- function module$contents$jspb$utils_byteSourceToUint8Array(a,b){if(a.constructor===Uint8Array)return a;if(a.constructor===ArrayBuffer||a.constructor===Array)return new Uint8Array(a);if(a.constructor===String)return (0, goog.crypt.base64.decodeStringToUint8Array)(a);if(a.constructor===module$contents$jspb$bytestring_ByteString)return b?a.asUint8Array():module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a);if(a instanceof Uint8Array)return new Uint8Array(a.buffer,a.byteOffset,a.byteLength);
351
- throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, or Array of numbers");}function module$contents$jspb$utils_getSplit64Low(){return module$contents$jspb$utils_split64Low}function module$contents$jspb$utils_getSplit64High(){return module$contents$jspb$utils_split64High}function module$contents$jspb$utils_makeTag(a,b){return 8*a+b}
352
- const module$contents$jspb$utils_LOW_16_BITS=65535,module$contents$jspb$utils_LOW_24_BITS=16777215,module$contents$jspb$utils_ALL_32_BITS=4294967295,module$contents$jspb$utils_MAX_SAFE_INTEGER_DECIMAL_LENGTH=16;jspb.utils.byteSourceToUint8Array=module$contents$jspb$utils_byteSourceToUint8Array;jspb.utils.countDelimitedFields=module$contents$jspb$utils_countDelimitedFields;jspb.utils.countFixed32Fields=module$contents$jspb$utils_countFixed32Fields;jspb.utils.countFixed64Fields=module$contents$jspb$utils_countFixed64Fields;
353
- jspb.utils.countVarintFields=module$contents$jspb$utils_countVarintFields;jspb.utils.countVarints=module$contents$jspb$utils_countVarints;jspb.utils.fromZigzag32=module$contents$jspb$utils_fromZigzag32;jspb.utils.fromZigzag64=module$contents$jspb$utils_fromZigzag64;jspb.utils.getSplit64High=module$contents$jspb$utils_getSplit64High;jspb.utils.getSplit64Low=module$contents$jspb$utils_getSplit64Low;jspb.utils.joinFloat32=module$contents$jspb$utils_joinFloat32;jspb.utils.joinFloat64=module$contents$jspb$utils_joinFloat64;
354
- jspb.utils.joinInt64=module$contents$jspb$utils_joinInt64;jspb.utils.joinNegativeDecimalStringFallback=module$contents$jspb$utils_joinNegativeDecimalStringFallback;jspb.utils.joinSignedDecimalString=module$contents$jspb$utils_joinSignedDecimalString;jspb.utils.joinSignedNumberOrDecimalString=module$contents$jspb$utils_joinSignedNumberOrDecimalString;jspb.utils.joinUint64=module$contents$jspb$utils_joinUint64;jspb.utils.joinUnsignedDecimalString=module$contents$jspb$utils_joinUnsignedDecimalString;
355
- jspb.utils.joinUnsignedDecimalStringFallback=module$contents$jspb$utils_joinUnsignedDecimalStringFallback;jspb.utils.joinUnsignedNumberOrDecimalString=module$contents$jspb$utils_joinUnsignedNumberOrDecimalString;jspb.utils.joinZigzag64=module$contents$jspb$utils_joinZigzag64;jspb.utils.makeTag=module$contents$jspb$utils_makeTag;jspb.utils.sliceUint8Array=module$contents$jspb$utils_sliceUint8Array;jspb.utils.splitDecimalString=module$contents$jspb$utils_splitDecimalString;
356
- jspb.utils.splitDecimalStringFallback=module$contents$jspb$utils_splitDecimalStringFallback;jspb.utils.splitFloat32=module$contents$jspb$utils_splitFloat32;jspb.utils.splitFloat64=module$contents$jspb$utils_splitFloat64;jspb.utils.splitInt64=module$contents$jspb$utils_splitInt64;jspb.utils.splitUint64=module$contents$jspb$utils_splitUint64;jspb.utils.splitZigzag64=module$contents$jspb$utils_splitZigzag64;jspb.utils.toZigzag32=module$contents$jspb$utils_toZigzag32;jspb.utils.toZigzag64=module$contents$jspb$utils_toZigzag64;var module$exports$jspb$binary$internal_buffer={Buffer:class{constructor(a,b,c){this.buffer=a;if((this.bufferAsByteStringInternal=c)&&!b)throw goog.DEBUG?Error("Buffer must be immutable if a ByteString is provided."):Error();this.isImmutable=b;}getBufferAsByteStringIfImmutable(){if(!this.isImmutable)throw goog.DEBUG?Error("Cannot get ByteString from mutable buffer."):Error();return null==this.buffer?null:this.bufferAsByteStringInternal??(this.bufferAsByteStringInternal=module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(this.buffer))}}};
357
- function module$contents$jspb$binary$internal_buffer_bufferFromSource(a,b){if("string"===typeof a)return new module$exports$jspb$binary$internal_buffer.Buffer(module$contents$jspb$internal_bytes_decodeByteArray(a),b);if(Array.isArray(a))return new module$exports$jspb$binary$internal_buffer.Buffer(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new module$exports$jspb$binary$internal_buffer.Buffer(a,false);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new module$exports$jspb$binary$internal_buffer.Buffer(a,
358
- false);if(a.constructor===module$contents$jspb$bytestring_ByteString)return b=module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a),new module$exports$jspb$binary$internal_buffer.Buffer(b,true,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new module$exports$jspb$binary$internal_buffer.Buffer(a,false);throw goog.DEBUG?Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"):
359
- Error();}module$exports$jspb$binary$internal_buffer.bufferFromSource=module$contents$jspb$binary$internal_buffer_bufferFromSource;jspb.binary.decoder={};const module$contents$jspb$binary$decoder_MAX_VARINT_SIZE=10;
360
- class module$contents$jspb$binary$decoder_BinaryDecoder{constructor(a,b,c,d){this.buffer_=this.bytes_=null;this.bytesAreImmutable_=false;module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null);this.cursor_=this.end_=this.start_=0;this.init(a,b,c,d);}init(a,b,c,{aliasBytesFields:d=false,treatNewDataAsImmutable:e=false}={}){this.aliasBytesFields=d;this.treatNewDataAsImmutable=e;a&&this.setBlock(a,b,c);}static alloc(a,b,c,d){if(module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_.length){const e=
361
- module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_.pop();e.init(a,b,c,d);return e}return new module$contents$jspb$binary$decoder_BinaryDecoder(a,b,c,d)}free(){this.clear();100>module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_.length&&module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_.push(this);}clear(){this.buffer_=this.bytes_=null;this.bytesAreImmutable_=false;module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null);this.cursor_=this.end_=
362
- this.start_=0;this.aliasBytesFields=false;}dataIsImmutable(){return this.bytesAreImmutable_}getBuffer(){if(this.bytesAreImmutable_)throw goog.DEBUG?Error("cannot access the buffer of decoders over immutable data."):Error();return this.bytes_}getBufferAsByteString(){if(null==this.buffer_)return null;if(!this.bytesAreImmutable_)throw goog.DEBUG?Error("cannot access the buffer of decoders over immutable data."):Error();return this.buffer_.getBufferAsByteStringIfImmutable()}setBlock(a,b,c){this.buffer_=a=
363
- module$contents$jspb$binary$internal_buffer_bufferFromSource(a,this.treatNewDataAsImmutable);this.bytes_=a.buffer;this.bytesAreImmutable_=a.isImmutable;module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null);this.start_=b||0;this.end_=void 0!==c?this.start_+c:this.bytes_.length;this.cursor_=this.start_;}getEnd(){return this.end_}setEnd(a){this.end_=a;}reset(){this.cursor_=this.start_;}getCursor(){return this.cursor_}setCursor(a){this.cursor_=a;}advance(a){this.setCursorAndCheck(this.cursor_+
364
- a);}atEnd(){return this.cursor_==this.end_}pastEnd(){return this.cursor_>this.end_}static readSplitVarint64(a,b){let c,d=0,e=0,f=0;const g=a.bytes_;let h=a.cursor_;do c=g[h++],d|=(c&127)<<f,f+=7;while(32>f&&c&128);32<f&&(e|=(c&127)>>4);for(f=3;32>f&&c&128;f+=7)c=g[h++],e|=(c&127)<<f;a.setCursorAndCheck(h);if(128>c)return b(d>>>0,e>>>0);throw module$contents$jspb$binary$errors_invalidVarintError();}static readSplitZigzagVarint64(a,b){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,
365
- (c,d)=>module$contents$jspb$utils_fromZigzag64(c,d,b))}static readSplitFixed64(a,b){const c=a.bytes_,d=a.cursor_;a.advance(8);let e=a=0;for(let f=d+7;f>=d;f--)a=a<<8|c[f],e=e<<8|c[f+4];return b(a,e)}skipVarint(){module$contents$jspb$binary$decoder_BinaryDecoder.readBool(this);}setCursorAndCheck(a){this.cursor_=a;if(a>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(this.end_,a);}static readSignedVarint32(a){const b=a.bytes_;let c=a.cursor_,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=
366
- (d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw module$contents$jspb$binary$errors_invalidVarintError();a.setCursorAndCheck(c);return e}static readUnsignedVarint32(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(a)>>>0}readUnsignedVarint32IfEqualTo(a){goog.asserts.assert(a===a>>>0);const b=this.cursor_;let c=b;const d=this.end_,e=this.bytes_;
367
- for(;c<d;)if(127<a){const f=128|a&127;if(e[c++]!==f)break;a>>>=7;}else {if(e[c++]===a)return this.cursor_=c,b;break}return -1}static readZigzagVarint32(a){return module$contents$jspb$utils_fromZigzag32(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(a))}static readUnsignedVarint64(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,module$contents$jspb$utils_joinUint64)}static readUnsignedVarint64String(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,
368
- module$contents$jspb$utils_joinUnsignedDecimalString)}static readSignedVarint64(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,module$contents$jspb$utils_joinInt64)}static readSignedVarint64String(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,module$contents$jspb$utils_joinSignedDecimalString)}static readZigzagVarint64(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(a,module$contents$jspb$utils_joinZigzag64)}static readZigzagVarint64String(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitZigzagVarint64(a,
369
- module$contents$jspb$utils_joinSignedDecimalString)}static readUint8(a){const b=a.bytes_[a.cursor_+0];a.advance(1);return b}static readUint16(a){const b=a.bytes_[a.cursor_+0],c=a.bytes_[a.cursor_+1];a.advance(2);return b<<0|c<<8}static readUint32(a){var b=a.bytes_;const c=a.cursor_,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return (d<<0|e<<8|f<<16|b<<24)>>>0}static readUint64(a){const b=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);
370
- return module$contents$jspb$utils_joinUint64(b,a)}static readUint64String(a){const b=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);return module$contents$jspb$utils_joinUnsignedDecimalString(b,a)}static readInt8(a){const b=a.bytes_[a.cursor_+0];a.advance(1);return b<<24>>24}static readInt16(a){const b=a.bytes_[a.cursor_+0],c=a.bytes_[a.cursor_+1];a.advance(2);return (b<<0|c<<8)<<16>>16}static readInt32(a){var b=a.bytes_;
371
- const c=a.cursor_,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return d<<0|e<<8|f<<16|b<<24}static readInt64(a){const b=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);return module$contents$jspb$utils_joinInt64(b,a)}static readInt64String(a){const b=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);return module$contents$jspb$utils_joinSignedDecimalString(b,
372
- a)}static readFloat(a){a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);return module$contents$jspb$utils_joinFloat32(a,0)}static readDouble(a){if(module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST){var b=a.getDataView().getFloat64(a.cursor_,true);a.advance(8);return b}b=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);a=module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(a);return module$contents$jspb$utils_joinFloat64(b,a)}readDoubleArrayInto(a,b){var c=
373
- this.cursor_,d=8*a;if(c+d>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(d,this.end_-c);var e=this.bytes_;c+=e.byteOffset;if(module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST)for(this.cursor_+=d,a=new DataView(e.buffer,c,d),d=0;;){e=d+8;if(e>a.byteLength)break;b.push(a.getFloat64(d,true));d=e;}else if(module$contents$jspb$binary$decoder_isLittleEndian())for(this.cursor_+=d,a=new Float64Array(e.buffer.slice(c,
374
- c+d)),d=0;d<a.length;d++)b.push(a[d]);else for(d=0;d<a;d++)b.push(module$contents$jspb$binary$decoder_BinaryDecoder.readDouble(this));}static readBool(a){let b=0,c=a.cursor_;const d=c+module$contents$jspb$binary$decoder_MAX_VARINT_SIZE,e=a.bytes_;for(;c<d;){const f=e[c++];b|=f;if(0===(f&128))return a.setCursorAndCheck(c),!!(b&127)}throw module$contents$jspb$binary$errors_invalidVarintError();}static readEnum(a){return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(a)}checkReadLengthAndAdvance(a){if(0>
375
- a)throw module$contents$jspb$binary$errors_negativeByteLengthError(a);const b=this.cursor_,c=b+a;if(c>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(a,this.end_-b);this.cursor_=c;return b}readString(a,b){const c=this.checkReadLengthAndAdvance(a);return module$contents$jspb$binary$utf8_decodeUtf8(goog.asserts.assert(this.bytes_),c,a,b)}readBytes(a){const b=this.checkReadLengthAndAdvance(a);return this.aliasBytesFields&&!this.bytesAreImmutable_?this.bytes_.subarray(b,b+a):module$contents$jspb$utils_sliceUint8Array(goog.asserts.assert(this.bytes_),
376
- b,b+a)}readByteString(a){if(0==a)return module$contents$jspb$bytestring_ByteString.empty();const b=this.checkReadLengthAndAdvance(a);a=this.aliasBytesFields&&this.bytesAreImmutable_?this.bytes_.subarray(b,b+a):module$contents$jspb$utils_sliceUint8Array(goog.asserts.assert(this.bytes_),b,b+a);return module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(a)}getDataView(){var a=this.dataView_;a||(a=this.bytes_,a=this.dataView_=new DataView(a.buffer,a.byteOffset,a.byteLength));return a}static resetInstanceCache(){module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_=
377
- [];}static getInstanceCache(){return module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_}}goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"getInstanceCache",module$contents$jspb$binary$decoder_BinaryDecoder.getInstanceCache);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"resetInstanceCache",module$contents$jspb$binary$decoder_BinaryDecoder.resetInstanceCache);
378
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readByteString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readByteString);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readBytes",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readBytes);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readString);
379
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readEnum",module$contents$jspb$binary$decoder_BinaryDecoder.readEnum);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readBool",module$contents$jspb$binary$decoder_BinaryDecoder.readBool);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readDoubleArrayInto",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readDoubleArrayInto);
380
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readDouble",module$contents$jspb$binary$decoder_BinaryDecoder.readDouble);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readFloat",module$contents$jspb$binary$decoder_BinaryDecoder.readFloat);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt64String",module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String);
381
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt64",module$contents$jspb$binary$decoder_BinaryDecoder.readInt64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt32",module$contents$jspb$binary$decoder_BinaryDecoder.readInt32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt16",module$contents$jspb$binary$decoder_BinaryDecoder.readInt16);
382
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt8",module$contents$jspb$binary$decoder_BinaryDecoder.readInt8);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint64",module$contents$jspb$binary$decoder_BinaryDecoder.readUint64);
383
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint32",module$contents$jspb$binary$decoder_BinaryDecoder.readUint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint16",module$contents$jspb$binary$decoder_BinaryDecoder.readUint16);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint8",module$contents$jspb$binary$decoder_BinaryDecoder.readUint8);
384
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String);
385
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64);
386
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readUnsignedVarint32IfEqualTo",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readUnsignedVarint32IfEqualTo);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32);
387
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"skipVarint",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.skipVarint);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitFixed64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitFixed64);
388
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitZigzagVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitZigzagVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"pastEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.pastEnd);
389
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"atEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.atEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"advance",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.advance);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setCursor",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setCursor);
390
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getCursor",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getCursor);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"reset",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.reset);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setEnd);
391
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setBlock",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setBlock);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getBufferAsByteString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getBufferAsByteString);
392
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getBuffer",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getBuffer);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"dataIsImmutable",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.dataIsImmutable);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"clear",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.clear);
393
- goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"free",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.free);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"alloc",module$contents$jspb$binary$decoder_BinaryDecoder.alloc);module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_=[];
394
- function module$contents$jspb$binary$decoder_isLittleEndian(){ void 0===module$contents$jspb$binary$decoder_isLittleEndianCache&&(module$contents$jspb$binary$decoder_isLittleEndianCache=513==(new Uint16Array((new Uint8Array([1,2])).buffer))[0]);return goog.asserts.assertBoolean(module$contents$jspb$binary$decoder_isLittleEndianCache)}let module$contents$jspb$binary$decoder_isLittleEndianCache=void 0;
395
- const module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST=2019<=goog.FEATURESET_YEAR;jspb.binary.decoder.BinaryDecoder=module$contents$jspb$binary$decoder_BinaryDecoder;jspb.binary.reader={};const module$contents$jspb$binary$reader_ENFORCE_UTF8="ALWAYS";goog.asserts.assert("ALWAYS"===module$contents$jspb$binary$reader_ENFORCE_UTF8);const module$contents$jspb$binary$reader_UTF8_PARSING_ERRORS_ARE_FATAL="ALWAYS"===module$contents$jspb$binary$reader_ENFORCE_UTF8;class module$contents$jspb$binary$reader_BinaryReaderOptions{constructor(){}}
396
- class module$contents$jspb$binary$reader_BinaryReader{constructor(a,b,c,d){this.decoder_=module$contents$jspb$binary$decoder_BinaryDecoder.alloc(a,b,c,d);this.fieldCursor_=this.decoder_.getCursor();this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER;this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG;this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID;this.setOptions(d);}setOptions({discardUnknownFields:a=false}={}){this.discardUnknownFields=a;}static alloc(a,
397
- b,c,d){if(module$contents$jspb$binary$reader_BinaryReader.instanceCache_.length){const e=module$contents$jspb$binary$reader_BinaryReader.instanceCache_.pop();e.setOptions(d);e.decoder_.init(a,b,c,d);return e}return new module$contents$jspb$binary$reader_BinaryReader(a,b,c,d)}free(){this.decoder_.clear();this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG;this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER;this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID;
398
- 100>module$contents$jspb$binary$reader_BinaryReader.instanceCache_.length&&module$contents$jspb$binary$reader_BinaryReader.instanceCache_.push(this);}getFieldCursor(){return this.fieldCursor_}getCursor(){return this.decoder_.getCursor()}dataIsImmutable(){return this.decoder_.dataIsImmutable()}getBuffer(){return this.decoder_.getBuffer()}getBufferAsByteString(){return this.decoder_.getBufferAsByteString()}getTag(){return this.nextTag_}getFieldNumber(){return this.nextField_}getWireType(){return this.nextWireType_}isEndGroup(){return this.nextWireType_==
399
- module$contents$jspb$BinaryConstants_WireType.END_GROUP}isDelimited(){return this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED}reset(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG;this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER;this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID;}advance(a){this.decoder_.advance(a);}nextField(){if(this.decoder_.atEnd())return false;
400
- this.assertPriorFieldWasRead();this.fieldCursor_=this.decoder_.getCursor();const a=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_),b=module$contents$jspb$binary$reader_parseFieldNumber(a),c=module$contents$jspb$binary$reader_parseWireType(a);if(!module$contents$jspb$BinaryConstants_isValidWireType(c))throw module$contents$jspb$binary$errors_invalidWireTypeError(c,this.fieldCursor_);if(1>b)throw module$contents$jspb$binary$errors_invalidFieldNumberError(b,this.fieldCursor_);
401
- this.nextTag_=a;this.nextField_=b;this.nextWireType_=c;return true}nextFieldIfTagEqualTo(a){this.assertPriorFieldWasRead();goog.asserts.assert(module$contents$jspb$BinaryConstants_isValidWireType(module$contents$jspb$binary$reader_parseWireType(a))&&0<module$contents$jspb$binary$reader_parseFieldNumber(a),"Must pass a valid tag.");const b=this.decoder_.readUnsignedVarint32IfEqualTo(a),c=0<=b;c&&(this.fieldCursor_=b,this.nextTag_=a,this.nextField_=module$contents$jspb$binary$reader_parseFieldNumber(a),
402
- this.nextWireType_=module$contents$jspb$binary$reader_parseWireType(a));return c}assertPriorFieldWasRead(){if(goog.asserts.ENABLE_ASSERTS&&this.nextTag_!==module$contents$jspb$BinaryConstants_INVALID_TAG){const a=this.decoder_.getCursor();this.decoder_.setCursor(this.fieldCursor_);module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.END_GROUP||this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.START_GROUP?
403
- goog.asserts.assert(a===this.decoder_.getCursor(),"Expected to not advance the cursor. Group tags do not have values."):goog.asserts.assert(a>this.decoder_.getCursor(),"Expected to read the field, did you forget to call a read or skip method?");this.decoder_.setCursor(a);}}skipVarintField(){this.nextWireType_!=module$contents$jspb$BinaryConstants_WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint();}skipDelimitedField(){if(this.nextWireType_!=
404
- module$contents$jspb$BinaryConstants_WireType.DELIMITED)return goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField(),0;const a=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);this.decoder_.advance(a);return a}skipFixed32Field(){goog.asserts.assert(this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.FIXED32);this.decoder_.advance(4);}skipFixed64Field(){goog.asserts.assert(this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.FIXED64);
405
- this.decoder_.advance(8);}skipGroup(){const a=this.nextField_;do{if(!this.nextField())throw module$contents$jspb$binary$errors_unmatchedStartGroupEofError();if(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.END_GROUP){if(this.nextField_!=a)throw module$contents$jspb$binary$errors_unmatchedStartGroupError();break}this.skipField();}while(1)}skipField(){switch(this.nextWireType_){case module$contents$jspb$BinaryConstants_WireType.VARINT:this.skipVarintField();break;case module$contents$jspb$BinaryConstants_WireType.FIXED64:this.skipFixed64Field();
406
- break;case module$contents$jspb$BinaryConstants_WireType.DELIMITED:this.skipDelimitedField();break;case module$contents$jspb$BinaryConstants_WireType.FIXED32:this.skipFixed32Field();break;case module$contents$jspb$BinaryConstants_WireType.START_GROUP:this.skipGroup();break;default:throw module$contents$jspb$binary$errors_invalidWireTypeError(this.nextWireType_,this.fieldCursor_);}}skipToEnd(){this.decoder_.setCursor(this.decoder_.getEnd());}readUnknownField(){const a=this.getFieldCursor();this.skipField();
407
- return this.readUnknownFieldsStartingFrom(a)}readUnknownFieldsStartingFrom(a){if(!this.discardUnknownFields){const b=this.decoder_.getCursor(),c=b-a;this.decoder_.setCursor(a);a=this.decoder_.readByteString(c);goog.asserts.assert(b==this.decoder_.getCursor());return a}}readAny(a){if(module$contents$jspb$BinaryConstants_FieldTypeToWireType(a)!==this.nextWireType_)return null;const b=module$contents$jspb$BinaryConstants_FieldType;switch(a){case b.DOUBLE:return this.readDouble();case b.FLOAT:return this.readFloat();
408
- case b.INT64:return this.readInt64();case b.UINT64:return this.readUint64();case b.INT32:return this.readInt32();case b.FIXED64:return this.readFixed64();case b.FIXED32:return this.readFixed32();case b.BOOL:return this.readBool();case b.STRING:return this.readString();case b.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case b.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case b.BYTES:return this.readBytes();case b.UINT32:return this.readUint32();
409
- case b.ENUM:return this.readEnum();case b.SFIXED32:return this.readSfixed32();case b.SFIXED64:return this.readSfixed64();case b.SINT32:return this.readSint32();case b.SINT64:return this.readSint64();default:goog.asserts.fail("Invalid field type in readAny()");}return null}readMessage(a,b,c,d,e){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);const f=this.decoder_.getEnd(),g=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_),
410
- h=this.decoder_.getCursor()+g;let l=h-f;0>=l&&(this.decoder_.setEnd(h),b(a,this,c,d,e),l=h-this.decoder_.getCursor());if(l)throw module$contents$jspb$binary$errors_messageLengthMismatchError(g,g-l);this.decoder_.setCursor(h);this.decoder_.setEnd(f);return a}readGroup(a,b,c){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.START_GROUP);goog.asserts.assert(this.nextField_==a);c(b,this);if(this.nextWireType_!==module$contents$jspb$BinaryConstants_WireType.END_GROUP)throw module$contents$jspb$binary$errors_groupDidNotEndWithEndGroupError();
411
- if(this.nextField_!==a)throw module$contents$jspb$binary$errors_unmatchedStartGroupError();return b}isMessageSetGroup(){return this.getTag()===module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG}readMessageSetGroup(a){goog.asserts.assert(this.isMessageSetGroup());let b=0,c=0;for(;this.nextField()&&!this.isEndGroup();)this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG||b?this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_MESSAGE_TAG||c?this.skipField():
412
- b?(c=-1,this.readMessage(b,a)):(c=this.getFieldCursor(),this.skipDelimitedField()):(b=this.readUint32(),c&&(goog.asserts.assert(0<c),goog.asserts.ENABLE_ASSERTS&&(this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG,this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID),this.decoder_.setCursor(c),c=0));if(this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG||!c||!b)throw module$contents$jspb$binary$errors_malformedBinaryBytesForMessageSet();}readInt32(){goog.asserts.assert(this.nextWireType_==
413
- module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(this.decoder_)}readInt64(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64(this.decoder_)}readInt64String(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String(this.decoder_)}readUint32(){goog.asserts.assert(this.nextWireType_==
414
- module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_)}readUint64(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64(this.decoder_)}readUint64String(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String(this.decoder_)}readSint32(){goog.asserts.assert(this.nextWireType_==
415
- module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32(this.decoder_)}readSint64(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64(this.decoder_)}readSint64String(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String(this.decoder_)}readFixed32(){goog.asserts.assert(this.nextWireType_==
416
- module$contents$jspb$BinaryConstants_WireType.FIXED32);return module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(this.decoder_)}readFixed64(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readUint64(this.decoder_)}readFixed64String(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String(this.decoder_)}readSfixed32(){goog.asserts.assert(this.nextWireType_==
417
- module$contents$jspb$BinaryConstants_WireType.FIXED32);return module$contents$jspb$binary$decoder_BinaryDecoder.readInt32(this.decoder_)}readSfixed32String(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32);return module$contents$jspb$binary$decoder_BinaryDecoder.readInt32(this.decoder_).toString()}readSfixed64(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readInt64(this.decoder_)}readSfixed64String(){goog.asserts.assert(this.nextWireType_==
418
- module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String(this.decoder_)}readFloat(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32);return module$contents$jspb$binary$decoder_BinaryDecoder.readFloat(this.decoder_)}readDouble(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readDouble(this.decoder_)}readBool(){goog.asserts.assert(this.nextWireType_==
419
- module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readBool(this.decoder_)}readEnum(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(this.decoder_)}readString(){return this.readStringRequireUtf8();}readStringRequireUtf8(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);const a=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readString(a,true)}readBytes(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);const a=
420
- module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readBytes(a)}readByteString(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);const a=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readByteString(a)}readSplitVarint64(a){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(this.decoder_,
421
- a)}readSplitZigzagVarint64(a){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT);return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(this.decoder_,(b,c)=>module$contents$jspb$utils_fromZigzag64(b,c,a))}readSplitFixed64(a){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64);return module$contents$jspb$binary$decoder_BinaryDecoder.readSplitFixed64(this.decoder_,a)}readPackedFieldInto_(a,b){var c=
422
- this.readPackedFieldLength_();for(c=this.decoder_.getCursor()+c;this.decoder_.getCursor()<c;)b.push(a(this.decoder_));}readPackedFieldLength_(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);return module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_)}readPackableInt32Into(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32,a):a.push(this.readInt32());}readPackableInt64Into(a){this.isDelimited()?
423
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64,a):a.push(this.readInt64());}readPackableInt64StringInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String,a):a.push(this.readInt64String());}readPackableUint32Into(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32,a):a.push(this.readUint32());}readPackableUint64Into(a){this.isDelimited()?
424
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64,a):a.push(this.readUint64());}readPackableUint64StringInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String,a):a.push(this.readUint64String());}readPackableSint32Into(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32,a):a.push(this.readSint32());}readPackableSint64Into(a){this.isDelimited()?
425
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64,a):a.push(this.readSint64());}readPackableSint64StringInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String,a):a.push(this.readSint64String());}readPackableFixed32Into(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint32,a):a.push(this.readFixed32());}readPackableFixed64Into(a){this.isDelimited()?
426
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint64,a):a.push(this.readFixed64());}readPackableFixed64StringInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String,a):a.push(this.readFixed64String());}readPackableSfixed32Into(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt32,a):a.push(this.readSfixed32());}readPackableSfixed64Into(a){this.isDelimited()?
427
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt64,a):a.push(this.readSfixed64());}readPackableSfixed64StringInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String,a):a.push(this.readSfixed64String());}readPackedFixed32(){const a=[];this.readPackableFixed32Into(a);return a}readPackedFixed64(){const a=[];this.readPackableFixed64Into(a);return a}readPackedFixed64String(){const a=[];this.readPackableFixed64StringInto(a);
428
- return a}readPackedSfixed32(){const a=[];this.readPackableSfixed32Into(a);return a}readPackedSfixed64String(){const a=[];this.readPackableSfixed64StringInto(a);return a}readPackableFloatInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readFloat,a):a.push(this.readFloat());}readPackableDoubleInto(a){this.isDelimited()?this.decoder_.readDoubleArrayInto(this.readPackedFieldLength_()/8,a):a.push(this.readDouble());}readPackableBoolInto(a){this.isDelimited()?
429
- this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readBool,a):a.push(this.readBool());}readPackableEnumInto(a){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readEnum,a):a.push(this.readEnum());}static resetInstanceCache(){module$contents$jspb$binary$reader_BinaryReader.instanceCache_=[];}static getInstanceCache(){return module$contents$jspb$binary$reader_BinaryReader.instanceCache_}}
430
- goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedSfixed64String",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedSfixed64String);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedSfixed32",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedSfixed32);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed64String",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed64String);
431
- goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed64",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed64);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed32",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed32);function module$contents$jspb$binary$reader_parseWireType(a){return a&7}function module$contents$jspb$binary$reader_parseFieldNumber(a){return a>>>3}
432
- module$contents$jspb$binary$reader_BinaryReader.instanceCache_=[];
433
- const module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER,module$contents$jspb$BinaryConstants_WireType.START_GROUP),module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER,module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$reader_MESSAGE_SET_MESSAGE_TAG=
434
- module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER,module$contents$jspb$BinaryConstants_WireType.DELIMITED),module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER,module$contents$jspb$BinaryConstants_WireType.END_GROUP);jspb.binary.reader.BinaryReader=module$contents$jspb$binary$reader_BinaryReader;jspb.binary.reader.BinaryReaderOptions=module$contents$jspb$binary$reader_BinaryReaderOptions;
435
- jspb.binary.reader.UTF8_PARSING_ERRORS_ARE_FATAL=module$contents$jspb$binary$reader_UTF8_PARSING_ERRORS_ARE_FATAL;jspb.ExtensionFieldInfo=function(a,b,c,d,e){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=e;};goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo);jspb.ExtensionFieldBinaryInfo=function(a,b,c,d,e,f){this.fieldInfo=a;this.binaryReaderFn=b;this.binaryWriterFn=c;this.binaryMessageSerializeFn=d;this.binaryMessageDeserializeFn=e;this.isPacked=f;};goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo);
436
- jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return !!this.ctor};goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType);jspb.Message=function(){};goog.exportSymbol("jspb.Message",jspb.Message);jspb.Message.GENERATE_TO_OBJECT=true;goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT);jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE;
437
- goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT);jspb.Message.GENERATE_TO_STRING=true;jspb.Message.ASSUME_LOCAL_ARRAYS=false;jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=true;jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array;jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_};goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId);jspb.Message.getIndex_=function(a,b){return b+a.arrayIndexOffset_};
438
- jspb.Message.hiddenES6Property_=class{};jspb.Message.getFieldNumber_=function(a,b){return b-a.arrayIndexOffset_};
439
- jspb.Message.initialize=function(a,b,c,d,e,f){a.wrappers_=null;b||=c?[c]:[];a.messageId_=c?String(c):void 0;a.arrayIndexOffset_=0===c?-1:0;a.array=b;jspb.Message.initPivotAndExtensionObject_(a,d);a.convertedPrimitiveFields_={};jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(a.repeatedFields=e);if(e)for(b=0;b<e.length;b++)c=e[b],c<a.pivot_?(c=jspb.Message.getIndex_(a,c),a.array[c]=a.array[c]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(a),a.extensionObject_[c]=a.extensionObject_[c]||
440
- jspb.Message.EMPTY_LIST_SENTINEL_);if(f&&f.length)for(b=0;b<f.length;b++)jspb.Message.computeOneofCase(a,f[b]);};goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize);jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[];jspb.Message.isArray_=function(a){return jspb.Message.ASSUME_LOCAL_ARRAYS?a instanceof Array:Array.isArray(a)};
441
- jspb.Message.isExtensionObject_=function(a){return null!==a&&"object"==typeof a&&!jspb.Message.isArray_(a)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&a instanceof Uint8Array)};jspb.Message.initPivotAndExtensionObject_=function(a,b){var c=a.array.length,d=-1;if(c&&(d=c-1,c=a.array[d],jspb.Message.isExtensionObject_(c))){a.pivot_=jspb.Message.getFieldNumber_(a,d);a.extensionObject_=c;return} -1<b?(a.pivot_=Math.max(b,jspb.Message.getFieldNumber_(a,d+1)),a.extensionObject_=null):a.pivot_=Number.MAX_VALUE;};
442
- jspb.Message.maybeInitEmptyExtensionObject_=function(a){var b=jspb.Message.getIndex_(a,a.pivot_);a.array[b]||(a.extensionObject_=a.array[b]={});};jspb.Message.toObjectList=function(a,b,c){for(var d=[],e=0;e<a.length;e++)d[e]=b.call(a[e],c,a[e]);return d};goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList);
443
- jspb.Message.toObjectExtension=function(a,b,c,d,e){for(var f in c){var g=c[f],h=d.call(a,g);if(null!=h){for(var l in g.fieldName)if(g.fieldName.hasOwnProperty(l))break;b[l]=g.toObjectFn?g.isRepeated?jspb.Message.toObjectList(h,g.toObjectFn,e):g.toObjectFn(e,h):h;}}};goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension);
444
- jspb.Message.serializeBinaryExtensions=function(a,b,c,d){for(var e in c){var f=c[e],g=f.fieldInfo;if(!f.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var h=d.call(a,g);if(null!=h)if(g.isMessageType())if(f.binaryMessageSerializeFn)f.binaryWriterFn.call(b,g.fieldIndex,h,f.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");
445
- else f.binaryWriterFn.call(b,g.fieldIndex,h);}};goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions);
446
- jspb.Message.readBinaryExtension=function(a,b,c,d,e){var f=c[b.getFieldNumber()];if(f){c=f.fieldInfo;if(!f.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(c.isMessageType()){var g=new c.ctor;f.binaryReaderFn.call(b,g,f.binaryMessageDeserializeFn);}else {if(c.isRepeated&&f.isPacked){g=d.call(a,c)??[];f.binaryReaderFn.call(b,g);e.call(a,c,g);return}g=f.binaryReaderFn.call(b);}c.isRepeated&&!f.isPacked?(b=d.call(a,c))?b.push(g):e.call(a,c,[g]):
447
- e.call(a,c,g);}else b.skipField();};goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension);jspb.Message.getField=function(a,b){if(b<a.pivot_){b=jspb.Message.getIndex_(a,b);var c=a.array[b];return c===jspb.Message.EMPTY_LIST_SENTINEL_?a.array[b]=[]:c}if(a.extensionObject_)return c=a.extensionObject_[b],c===jspb.Message.EMPTY_LIST_SENTINEL_?a.extensionObject_[b]=[]:c};goog.exportProperty(jspb.Message,"getField",jspb.Message.getField);
448
- jspb.Message.getRepeatedField=function(a,b){return jspb.Message.getField(a,b)};goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField);jspb.Message.getOptionalFloatingPointField=function(a,b){a=jspb.Message.getField(a,b);return null==a?a:+a};goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField);jspb.Message.getBooleanField=function(a,b){a=jspb.Message.getField(a,b);return null==a?a:!!a};
449
- goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField);jspb.Message.getRepeatedFloatingPointField=function(a,b){var c=jspb.Message.getRepeatedField(a,b);a.convertedPrimitiveFields_||(a.convertedPrimitiveFields_={});if(!a.convertedPrimitiveFields_[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.convertedPrimitiveFields_[b]=true;}return c};goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField);
450
- jspb.Message.getRepeatedBooleanField=function(a,b){var c=jspb.Message.getRepeatedField(a,b);a.convertedPrimitiveFields_||(a.convertedPrimitiveFields_={});if(!a.convertedPrimitiveFields_[b]){for(var d=0;d<c.length;d++)c[d]=!!c[d];a.convertedPrimitiveFields_[b]=true;}return c};goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField);
451
- jspb.Message.bytesAsB64=function(a){if(null==a||"string"===typeof a)return a;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&a instanceof Uint8Array)return goog.crypt.base64.encodeByteArray(a);jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(a));return null};goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64);
452
- jspb.Message.bytesAsU8=function(a){if(null==a||a instanceof Uint8Array)return a;if("string"===typeof a)return goog.crypt.base64.decodeStringToUint8Array(a);jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(a));return null};goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8);jspb.Message.bytesListAsB64=function(a){jspb.Message.assertConsistentTypes_(a);return a.length&&"string"!==typeof a[0]?module$contents$goog$array_map(a,jspb.Message.bytesAsB64):a};
453
- goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64);jspb.Message.bytesListAsU8=function(a){jspb.Message.assertConsistentTypes_(a);return !a.length||a[0]instanceof Uint8Array?a:module$contents$goog$array_map(a,jspb.Message.bytesAsU8)};goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8);
454
- jspb.Message.assertConsistentTypes_=function(a){if(goog.DEBUG&&a&&1<a.length){var b=goog.typeOf(a[0]);module$contents$goog$array_forEach(a,function(c){goog.typeOf(c)!=b&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(c)+" expected "+b);});}};jspb.Message.getFieldWithDefault=function(a,b,c){a=jspb.Message.getField(a,b);return null==a?c:a};goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault);
455
- jspb.Message.getBooleanFieldWithDefault=function(a,b,c){a=jspb.Message.getBooleanField(a,b);return null==a?c:a};goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault);jspb.Message.getFloatingPointFieldWithDefault=function(a,b,c){a=jspb.Message.getOptionalFloatingPointField(a,b);return null==a?c:a};goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault);jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault;
456
- goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3);jspb.Message.getMapField=function(a,b,c,d){a.wrappers_||(a.wrappers_={});if(b in a.wrappers_)return a.wrappers_[b];var e=jspb.Message.getField(a,b);if(!e){if(c)return;e=[];jspb.Message.setField(a,b,e);}return a.wrappers_[b]=new jspb.Map(e,d)};goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField);
457
- jspb.Message.setField=function(a,b,c){jspb.asserts.assertInstanceof(a,jspb.Message);b<a.pivot_?a.array[jspb.Message.getIndex_(a,b)]=c:(jspb.Message.maybeInitEmptyExtensionObject_(a),a.extensionObject_[b]=c);return a};goog.exportProperty(jspb.Message,"setField",jspb.Message.setField);jspb.Message.setProto3IntField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,0)};goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField);
458
- jspb.Message.setProto3FloatField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,0)};goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField);jspb.Message.setProto3BooleanField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,false)};goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField);jspb.Message.setProto3StringField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,"")};
459
- goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField);jspb.Message.setProto3BytesField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,"")};goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField);jspb.Message.setProto3EnumField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,0)};goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField);
460
- jspb.Message.setProto3StringIntField=function(a,b,c){return jspb.Message.setFieldIgnoringDefault_(a,b,c,"0")};goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField);jspb.Message.setFieldIgnoringDefault_=function(a,b,c,d){jspb.asserts.assertInstanceof(a,jspb.Message);c!==d?jspb.Message.setField(a,b,c):b<a.pivot_?a.array[jspb.Message.getIndex_(a,b)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(a),delete a.extensionObject_[b]);return a};
461
- jspb.Message.addToRepeatedField=function(a,b,c,d){jspb.asserts.assertInstanceof(a,jspb.Message);b=jspb.Message.getRepeatedField(a,b);void 0!=d?b.splice(d,0,c):b.push(c);return a};goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField);
462
- jspb.Message.setOneofField=function(a,b,c,d){jspb.asserts.assertInstanceof(a,jspb.Message);(c=jspb.Message.computeOneofCase(a,c))&&c!==b&&void 0!==d&&(a.wrappers_&&c in a.wrappers_&&(a.wrappers_[c]=void 0),jspb.Message.setField(a,c,void 0));return jspb.Message.setField(a,b,d)};goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField);
463
- jspb.Message.computeOneofCase=function(a,b){for(var c,d,e=0;e<b.length;e++){var f=b[e],g=jspb.Message.getField(a,f);null!=g&&(c=f,d=g,jspb.Message.setField(a,f,void 0));}return c?(jspb.Message.setField(a,c,d),c):0};goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase);jspb.Message.getWrapperField=function(a,b,c,d){a.wrappers_||(a.wrappers_={});if(!a.wrappers_[c]){var e=jspb.Message.getField(a,c);if(d||e)a.wrappers_[c]=new b(e);}return a.wrappers_[c]};
464
- goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField);jspb.Message.getRepeatedWrapperField=function(a,b,c){jspb.Message.wrapRepeatedField_(a,b,c);b=a.wrappers_[c];b==jspb.Message.EMPTY_LIST_SENTINEL_&&(b=a.wrappers_[c]=[]);return b};goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField);
465
- jspb.Message.wrapRepeatedField_=function(a,b,c){a.wrappers_||(a.wrappers_={});if(!a.wrappers_[c]){for(var d=jspb.Message.getRepeatedField(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.wrappers_[c]=e;}};jspb.Message.setWrapperField=function(a,b,c){jspb.asserts.assertInstanceof(a,jspb.Message);a.wrappers_||(a.wrappers_={});var d=c?c.toArray():c;a.wrappers_[b]=c;return jspb.Message.setField(a,b,d)};goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField);
466
- jspb.Message.setOneofWrapperField=function(a,b,c,d){jspb.asserts.assertInstanceof(a,jspb.Message);a.wrappers_||(a.wrappers_={});var e=d?d.toArray():d;a.wrappers_[b]=d;return jspb.Message.setOneofField(a,b,c,e)};goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField);
467
- jspb.Message.setRepeatedWrapperField=function(a,b,c){jspb.asserts.assertInstanceof(a,jspb.Message);a.wrappers_||(a.wrappers_={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].toArray();a.wrappers_[b]=c;return jspb.Message.setField(a,b,d)};goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField);
468
- jspb.Message.addToRepeatedWrapperField=function(a,b,c,d,e){jspb.Message.wrapRepeatedField_(a,d,b);var f=a.wrappers_[b];f||=a.wrappers_[b]=[];c=c?c:new d;a=jspb.Message.getRepeatedField(a,b);void 0!=e?(f.splice(e,0,c),a.splice(e,0,c.toArray())):(f.push(c),a.push(c.toArray()));return c};goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField);jspb.Message.toMap=function(a,b,c,d){for(var e={},f=0;f<a.length;f++)e[b.call(a[f])]=c?c.call(a[f],d,a[f]):a[f];return e};
469
- goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap);jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var a in this.wrappers_){var b=this.wrappers_[a];if(Array.isArray(b))for(var c=0;c<b.length;c++)b[c]&&b[c].toArray();else b&&b.toArray();}};jspb.Message.prototype.toArray=function(){this.syncMapFields_();return this.array};goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray);
470
- jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){this.syncMapFields_();return this.array.toString()});
471
- jspb.Message.prototype.getExtension=function(a){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var b=a.fieldIndex;if(a.isRepeated){if(a.isMessageType())return this.wrappers_[b]||(this.wrappers_[b]=module$contents$goog$array_map(this.extensionObject_[b]||[],function(c){return new a.ctor(c)})),this.wrappers_[b]}else if(a.isMessageType())return !this.wrappers_[b]&&this.extensionObject_[b]&&(this.wrappers_[b]=new a.ctor(this.extensionObject_[b])),this.wrappers_[b];return this.extensionObject_[b]}};
472
- goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension);
473
- jspb.Message.prototype.setExtension=function(a,b){this.wrappers_||(this.wrappers_={});jspb.Message.maybeInitEmptyExtensionObject_(this);var c=a.fieldIndex;a.isRepeated?(b=b||[],a.isMessageType()?(this.wrappers_[c]=b,this.extensionObject_[c]=module$contents$goog$array_map(b,function(d){return d.toArray()})):this.extensionObject_[c]=b):a.isMessageType()?(this.wrappers_[c]=b,this.extensionObject_[c]=b?b.toArray():b):this.extensionObject_[c]=b;return this};
474
- goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension);jspb.Message.difference=function(a,b){if(!(a instanceof b.constructor))throw Error("Messages have different types.");var c=a.toArray();b=b.toArray();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.getJsPbMessageId()&&(d[0]=a.getJsPbMessageId(),e=1);for(;e<f;e++)jspb.Message.compareFields(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};goog.exportProperty(jspb.Message,"difference",jspb.Message.difference);
475
- jspb.Message.equals=function(a,b){return a==b||!(!a||!b)&&a instanceof b.constructor&&jspb.Message.compareFields(a.toArray(),b.toArray())};goog.exportProperty(jspb.Message,"equals",jspb.Message.equals);jspb.Message.compareExtensions=function(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!jspb.Message.compareFields(a[d],b[d]))return false;return true};goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions);
476
- jspb.Message.compareFields=function(a,b){if(a==b)return true;if(!goog.isObject(a)||!goog.isObject(b))return "number"===typeof a&&isNaN(a)||"number"===typeof b&&isNaN(b)?String(a)==String(b):false;if(a.constructor!=b.constructor)return false;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&a.constructor===Uint8Array){if(a.length!=b.length)return false;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return false;return true}if(a.constructor===Array){var d=void 0,e=void 0,f=Math.max(a.length,b.length);for(c=0;c<f;c++){var g=a[c],h=b[c];g&&
477
- g.constructor==Object&&(jspb.asserts.assert(void 0===d),jspb.asserts.assert(c===a.length-1),d=g,g=void 0);h&&h.constructor==Object&&(jspb.asserts.assert(void 0===e),jspb.asserts.assert(c===b.length-1),e=h,h=void 0);if(!jspb.Message.compareFields(g,h))return false}return d||e?(d=d||{},e=e||{},jspb.Message.compareExtensions(d,e)):true}if(a.constructor===Object)return jspb.Message.compareExtensions(a,b);throw Error("Invalid type in JSPB array");};goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields);
478
- jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)};goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage);jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)};goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone);jspb.Message.clone=function(a){return jspb.Message.cloneMessage(a)};goog.exportProperty(jspb.Message,"clone",jspb.Message.clone);jspb.Message.cloneMessage=function(a){return new a.constructor(jspb.Message.clone_(a.toArray()))};
479
- jspb.Message.copyInto=function(a,b){jspb.asserts.assertInstanceof(a,jspb.Message);jspb.asserts.assertInstanceof(b,jspb.Message);jspb.asserts.assert(a.constructor==b.constructor,"Copy source and target message should have the same type.");a=jspb.Message.clone(a);for(var c=b.toArray(),d=a.toArray(),e=c.length=0;e<d.length;e++)c[e]=d[e];b.wrappers_=a.wrappers_;b.extensionObject_=a.extensionObject_;};goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto);
480
- jspb.Message.clone_=function(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?jspb.Message.clone_(jspb.asserts.assert(d)):d);}return b}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?jspb.Message.clone_(jspb.asserts.assert(d)):d);return b};jspb.Message.registerMessageType=function(a,b){b.messageId=a;};
481
- goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType);jspb.Message.messageSetExtensions={};jspb.Message.messageSetExtensionsBinary={};jspb.debug={};jspb.debug.dump=function(a){if(!goog.DEBUG)return null;jspb.asserts.assertInstanceof(a,jspb.Message,"jspb.Message instance expected");jspb.asserts.assert(a.getExtension,"Only unobfuscated and unoptimized compilation modes supported.");return jspb.debug.dump_(a)};goog.exportSymbol("jspb.debug.dump",jspb.debug.dump);
482
- jspb.debug.dump_=function(a){var b=goog.typeOf(a);if("number"==b||"string"==b||"boolean"==b||"null"==b||"undefined"==b||"undefined"!==typeof Uint8Array&&a instanceof Uint8Array)return a;if("array"==b)return jspb.asserts.assertArray(a),module$contents$goog$array_map(a,jspb.debug.dump_);if(a instanceof jspb.Map){var c={};a=a.entries();for(var d=a.next();!d.done;d=a.next())c[d.value[0]]=jspb.debug.dump_(d.value[1]);return c}jspb.asserts.assertInstanceof(a,jspb.Message,"Only messages expected: "+a);b=
483
- a.constructor;var e={$name:b.name||b.displayName};for(h in b.prototype){var f=/^get([A-Z]\w*)/.exec(h);if(f&&"getExtension"!=h&&"getJsPbMessageId"!=h){var g="has"+f[1];if(!a[g]||a[g]())g=a[h](),e[jspb.debug.formatFieldName_(f[1])]=jspb.debug.dump_(g);}}if(a.extensionObject_)return e.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",e;for(d in b.extensions)if(/^\d+$/.test(d)){f=b.extensions[d];var h=a.getExtension(f);
484
- f=module$contents$goog$object_getKeys(f.fieldName)[0];null!=h&&(c||=e.$extensions={},c[jspb.debug.formatFieldName_(f)]=jspb.debug.dump_(h));}return e};jspb.debug.formatFieldName_=function(a){return a.replace(/^[A-Z]/,function(b){return b.toLowerCase()})};jspb.BinaryReader=module$contents$jspb$binary$reader_BinaryReader;jspb.binary.encoder={};const module$contents$jspb$binary$encoder_MAX_PUSH=8192;
485
- class module$contents$jspb$binary$encoder_BinaryEncoder{constructor(){this.buffer_=[];}length(){return this.buffer_.length}end(){const a=this.buffer_;this.buffer_=[];return a}writeSplitVarint64(a,b){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(b==Math.floor(b));goog.asserts.assert(0<=a&&a<module$contents$jspb$BinaryConstants_TWO_TO_32);for(goog.asserts.assert(0<=b&&b<module$contents$jspb$BinaryConstants_TWO_TO_32);0<b||127<a;)this.buffer_.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.buffer_.push(a);}writeSplitFixed64(a,
486
- b){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(b==Math.floor(b));goog.asserts.assert(0<=a&&a<module$contents$jspb$BinaryConstants_TWO_TO_32);goog.asserts.assert(0<=b&&b<module$contents$jspb$BinaryConstants_TWO_TO_32);this.writeUint32(a);this.writeUint32(b);}writeSplitZigzagVarint64(a,b){module$contents$jspb$utils_toZigzag64(a,b,(c,d)=>{this.writeSplitVarint64(c>>>0,d>>>0);});}writeUnsignedVarint32(a){goog.asserts.assert(a==Math.floor(a));for(goog.asserts.assert(0<=a&&a<module$contents$jspb$BinaryConstants_TWO_TO_32);127<
487
- a;)this.buffer_.push(a&127|128),a>>>=7;this.buffer_.push(a);}writeSignedVarint32(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&a<module$contents$jspb$BinaryConstants_TWO_TO_31);if(0<=a)this.writeUnsignedVarint32(a);else {for(let b=0;9>b;b++)this.buffer_.push(a&127|128),a>>=7;this.buffer_.push(1);}}writeUnsignedVarint64(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a<module$contents$jspb$BinaryConstants_TWO_TO_64);
488
- module$contents$jspb$utils_splitInt64(a);this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High());}writeSignedVarint64(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&a<module$contents$jspb$BinaryConstants_TWO_TO_63);module$contents$jspb$utils_splitInt64(a);this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High());}writeZigzagVarint32(a){goog.asserts.assert(a==
489
- Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&a<module$contents$jspb$BinaryConstants_TWO_TO_31);this.writeUnsignedVarint32(module$contents$jspb$utils_toZigzag32(a));}writeZigzagVarint64(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&a<module$contents$jspb$BinaryConstants_TWO_TO_63);module$contents$jspb$utils_splitZigzag64(a);this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High());}writeZigzagVarint64String(a){module$contents$jspb$utils_splitDecimalString(a);
490
- module$contents$jspb$utils_toZigzag64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High(),(b,c)=>{this.writeSplitVarint64(b>>>0,c>>>0);});}writeUint8(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&256>a);this.buffer_.push(a>>>0&255);}writeUint16(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&65536>a);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);}writeUint32(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=
491
- a&&a<module$contents$jspb$BinaryConstants_TWO_TO_32);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255);}writeUint64(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a<module$contents$jspb$BinaryConstants_TWO_TO_64);module$contents$jspb$utils_splitUint64(a);this.writeUint32(module$contents$jspb$utils_getSplit64Low());this.writeUint32(module$contents$jspb$utils_getSplit64High());}writeInt8(a){goog.asserts.assert(a==
492
- Math.floor(a));goog.asserts.assert(-128<=a&&128>a);this.buffer_.push(a>>>0&255);}writeInt16(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(-32768<=a&&32768>a);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);}writeInt32(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&a<module$contents$jspb$BinaryConstants_TWO_TO_31);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>
493
- 24&255);}writeInt64(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&a<module$contents$jspb$BinaryConstants_TWO_TO_63);module$contents$jspb$utils_splitInt64(a);this.writeSplitFixed64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High());}writeFloat(a){goog.asserts.assert(Infinity==a||-Infinity==a||isNaN(a)||"number"===typeof a&&a>=-module$contents$jspb$BinaryConstants_FLOAT32_MAX&&a<=module$contents$jspb$BinaryConstants_FLOAT32_MAX);
494
- module$contents$jspb$utils_splitFloat32(a);this.writeUint32(module$contents$jspb$utils_getSplit64Low());}writeDouble(a){goog.asserts.assert("number"===typeof a||"Infinity"===a||"-Infinity"===a||"NaN"===a);module$contents$jspb$utils_splitFloat64(a);this.writeUint32(module$contents$jspb$utils_getSplit64Low());this.writeUint32(module$contents$jspb$utils_getSplit64High());}writeBool(a){goog.asserts.assert("boolean"===typeof a||"number"===typeof a);this.buffer_.push(a?1:0);}writeEnum(a){goog.asserts.assert(a==
495
- Math.floor(a));goog.asserts.assert(a>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&a<module$contents$jspb$BinaryConstants_TWO_TO_31);this.writeSignedVarint32(a);}writeBytes(a){for(;a.length>module$contents$jspb$binary$encoder_MAX_PUSH;)Array.prototype.push.apply(this.buffer_,a.subarray(0,module$contents$jspb$binary$encoder_MAX_PUSH)),a=a.subarray(module$contents$jspb$binary$encoder_MAX_PUSH);Array.prototype.push.apply(this.buffer_,a);}}jspb.binary.encoder.BinaryEncoder=module$contents$jspb$binary$encoder_BinaryEncoder;jspb.arith={};
496
- class module$contents$jspb$arith_UInt64{constructor(a,b){this.lo=a>>>0;this.hi=b>>>0;}toDecimalString(){return module$contents$jspb$utils_joinUnsignedDecimalString(this.lo,this.hi)}negateInTwosComplement(){return 0===this.lo?new module$contents$jspb$arith_UInt64(0,1+~this.hi):new module$contents$jspb$arith_UInt64(~this.lo+1,~this.hi)}static fromBigInt(a){a=BigInt.asUintN(64,a);return new module$contents$jspb$arith_UInt64(Number(a&BigInt(4294967295)),Number(a>>BigInt(32)))}static fromString(a){if(!a)return module$contents$jspb$arith_UInt64.getZero();if(!/^\d+$/.test(a))return null;
497
- module$contents$jspb$utils_splitDecimalString(a);return new module$contents$jspb$arith_UInt64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())}static fromNumber(a){return new module$contents$jspb$arith_UInt64(a&module$contents$jspb$arith_ALL_32_BITS,a/module$contents$jspb$arith_TWO_PWR_32_DBL)}static getZero(){return module$contents$jspb$arith_uint64Zero||=new module$contents$jspb$arith_UInt64(0,0)}}let module$contents$jspb$arith_uint64Zero;
498
- class module$contents$jspb$arith_Int64{constructor(a,b){this.lo=a>>>0;this.hi=b>>>0;}toDecimalString(){return module$contents$jspb$utils_joinSignedDecimalString(this.lo,this.hi)}static fromBigInt(a){a=BigInt.asUintN(64,a);return new module$contents$jspb$arith_Int64(Number(a&BigInt(4294967295)),Number(a>>BigInt(32)))}static fromString(a){if(!a)return module$contents$jspb$arith_Int64.getZero();if(!/^-?\d+$/.test(a))return null;module$contents$jspb$utils_splitDecimalString(a);return new module$contents$jspb$arith_Int64(module$contents$jspb$utils_getSplit64Low(),
499
- module$contents$jspb$utils_getSplit64High())}static fromNumber(a){return new module$contents$jspb$arith_Int64(a&module$contents$jspb$arith_ALL_32_BITS,a/module$contents$jspb$arith_TWO_PWR_32_DBL)}static getZero(){return module$contents$jspb$arith_int64Zero||=new module$contents$jspb$arith_Int64(0,0)}}let module$contents$jspb$arith_int64Zero;const module$contents$jspb$arith_ALL_32_BITS=4294967295,module$contents$jspb$arith_TWO_PWR_32_DBL=4294967296;jspb.arith.UInt64=module$contents$jspb$arith_UInt64;
500
- jspb.arith.Int64=module$contents$jspb$arith_Int64;jspb.binary.writer={};const module$contents$jspb$binary$writer_REJECT_UNPAIRED_SURROGATES=goog.DEBUG;
501
- class module$contents$jspb$binary$writer_BinaryWriter{constructor(){this.blocks_=[];this.totalLength_=0;this.encoder_=new module$contents$jspb$binary$encoder_BinaryEncoder;}pushBlock(a){0!==a.length&&(this.blocks_.push(a),this.totalLength_+=a.length);}appendUint8Array_(a){this.pushBlock(this.encoder_.end());this.pushBlock(a);}beginDelimited_(a){this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED);a=this.encoder_.end();this.pushBlock(a);a.push(this.totalLength_);return a}endDelimited_(a){var b=
502
- a.pop();b=this.totalLength_+this.encoder_.length()-b;for((0, goog.asserts.assert)(0<=b);127<b;)a.push(b&127|128),b>>>=7,this.totalLength_++;a.push(b);this.totalLength_++;}writeUnknownFields(a){this.pushBlock(this.encoder_.end());for(let b=0;b<a.length;b++)this.pushBlock(module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a[b]));}writeSerializedMessage(a,b,c){this.appendUint8Array_(a.subarray(b,c));}maybeWriteSerializedMessage(a,b,c){null!=a&&null!=b&&null!=c&&this.writeSerializedMessage(a,
503
- b,c);}reset(){this.blocks_=[];this.encoder_.end();this.totalLength_=0;}getResultBuffer(){this.pushBlock(this.encoder_.end());const a=new Uint8Array(this.totalLength_),b=this.blocks_,c=b.length;let d=0;for(let e=0;e<c;e++){const f=b[e];a.set(f,d);d+=f.length;}(0, goog.asserts.assert)(d==a.length);this.blocks_=[a];return a}getResultBufferAsByteString(){return module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(this.getResultBuffer())}getResultBase64String(a){return void 0===a?module$contents$jspb$internal_bytes_encodeByteArray(this.getResultBuffer()):
504
- (0, goog.crypt.base64.encodeByteArray)(this.getResultBuffer(),a)}writeFieldHeader_(a,b){(0, goog.asserts.assert)(1<=a&&a==Math.floor(a));this.encoder_.writeUnsignedVarint32(module$contents$jspb$utils_makeTag(a,b));}writeAny(a,b,c){switch(a){case module$contents$jspb$BinaryConstants_FieldType.DOUBLE:this.writeDouble(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.FLOAT:this.writeFloat(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.INT64:this.writeInt64(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.UINT64:this.writeUint64(b,
505
- c);break;case module$contents$jspb$BinaryConstants_FieldType.INT32:this.writeInt32(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.FIXED64:this.writeFixed64(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.FIXED32:this.writeFixed32(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.BOOL:this.writeBool(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.STRING:this.writeString(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.GROUP:(0, goog.asserts.fail)("Group field type not supported in writeAny()");
506
- break;case module$contents$jspb$BinaryConstants_FieldType.MESSAGE:(0, goog.asserts.fail)("Message field type not supported in writeAny()");break;case module$contents$jspb$BinaryConstants_FieldType.BYTES:this.writeBytes(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.UINT32:this.writeUint32(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.ENUM:this.writeEnum(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.SFIXED32:this.writeSfixed32(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.SFIXED64:this.writeSfixed64(b,
507
- c);break;case module$contents$jspb$BinaryConstants_FieldType.SINT32:this.writeSint32(b,c);break;case module$contents$jspb$BinaryConstants_FieldType.SINT64:this.writeSint64(b,c);break;default:(0, goog.asserts.fail)("Invalid field type in writeAny()");}}writeUnsignedVarint32_(a,b){null!=b&&(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeUnsignedVarint32(b));}writeSignedVarint32_(a,b){null!=b&&(module$contents$jspb$binary$writer_assertSignedInteger(a,b),
508
- this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(b));}writeUnsignedVarint64_(a,b){if(null!=b)switch(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof b){case "number":this.encoder_.writeUnsignedVarint64(b);break;case "bigint":a=module$contents$jspb$arith_UInt64.fromBigInt(b);this.encoder_.writeSplitVarint64(a.lo,a.hi);break;default:a=module$contents$jspb$arith_UInt64.fromString(b),this.encoder_.writeSplitVarint64(a.lo,
509
- a.hi);}}writeSignedVarint64_(a,b){if(null!=b)switch(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof b){case "number":this.encoder_.writeSignedVarint64(b);break;case "bigint":a=module$contents$jspb$arith_Int64.fromBigInt(b);this.encoder_.writeSplitVarint64(a.lo,a.hi);break;default:a=module$contents$jspb$arith_Int64.fromString(b),this.encoder_.writeSplitVarint64(a.lo,a.hi);}}writeZigzagVarint32_(a,b){null!=b&&(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),
510
- this.encoder_.writeZigzagVarint32(b));}writeZigzagVarint64_(a,b){if(null!=b)switch(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof b){case "number":this.encoder_.writeZigzagVarint64(b);break;default:this.encoder_.writeZigzagVarint64String(b);}}writeInt32(a,b){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&b<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeSignedVarint32_(a,b));}writeInt64(a,
511
- b){null!=b&&(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeSignedVarint64_(a,b));}writeInt64String(a,b){this.writeInt64(a,b);}writeUint32(a,b){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,0<=b&&b<module$contents$jspb$BinaryConstants_TWO_TO_32),this.writeUnsignedVarint32_(a,b));}writeUint64(a,b){null!=b&&(module$contents$jspb$binary$writer_assertUnsignedInt64(a,b),this.writeUnsignedVarint64_(a,b));}writeUint64String(a,b){this.writeUint64(a,b);}writeSint32(a,b){null!=
512
- b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&b<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeZigzagVarint32_(a,b));}writeSint64(a,b){null!=b&&(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeZigzagVarint64_(a,b));}writeSint64String(a,b){this.writeSint64(a,b);}writeFixed32(a,b){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,0<=b&&b<module$contents$jspb$BinaryConstants_TWO_TO_32),this.writeFieldHeader_(a,
513
- module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeUint32(b));}writeFixed64(a,b){if(null!=b)switch(module$contents$jspb$binary$writer_assertUnsignedInt64(a,b),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.FIXED64),typeof b){case "number":this.encoder_.writeUint64(b);break;case "bigint":a=module$contents$jspb$arith_UInt64.fromBigInt(b);this.encoder_.writeSplitFixed64(a.lo,a.hi);break;default:a=module$contents$jspb$arith_UInt64.fromString(b),this.encoder_.writeSplitFixed64(a.lo,
514
- a.hi);}}writeFixed64String(a,b){this.writeFixed64(a,b);}writeSfixed32(a,b){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&b<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeInt32(b));}writeSfixed64(a,b){if(null!=b)switch(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.FIXED64),
515
- typeof b){case "number":this.encoder_.writeInt64(b);break;case "bigint":a=module$contents$jspb$arith_Int64.fromBigInt(b);this.encoder_.writeSplitFixed64(a.lo,a.hi);break;default:a=module$contents$jspb$arith_Int64.fromString(b),this.encoder_.writeSplitFixed64(a.lo,a.hi);}}writeSfixed64String(a,b){this.writeSfixed64(a,b);}writeFloat(a,b){null!=b&&(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeFloat(b));}writeDouble(a,b){null!=b&&(this.writeFieldHeader_(a,
516
- module$contents$jspb$BinaryConstants_WireType.FIXED64),this.encoder_.writeDouble(b));}writeBool(a,b){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,"boolean"===typeof b||"number"===typeof b),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeBool(b));}writeEnum(a,b){null!=b&&(b=parseInt(b,10),module$contents$jspb$binary$writer_assertSignedInteger(a,b),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(b));}writeString(a,
517
- b){null!=b&&this.writeUint8Array(a,module$contents$jspb$binary$utf8_encodeUtf8(b,module$contents$jspb$binary$writer_REJECT_UNPAIRED_SURROGATES));}writeBytes(a,b){null!=b&&this.writeUint8Array(a,module$contents$jspb$binary$internal_buffer_bufferFromSource(b,true).buffer);}writeUint8Array(a,b){this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED);this.encoder_.writeUnsignedVarint32(b.length);this.appendUint8Array_(b);}writeMessage(a,b,c){null!=b&&(a=this.beginDelimited_(a),c(b,
518
- this),this.endDelimited_(a));}writeMessageSet(a,b,c){null!=b&&(this.writeFieldHeader_(1,module$contents$jspb$BinaryConstants_WireType.START_GROUP),this.writeFieldHeader_(2,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(a),a=this.beginDelimited_(3),c(b,this),this.endDelimited_(a),this.writeFieldHeader_(1,module$contents$jspb$BinaryConstants_WireType.END_GROUP));}writeGroup(a,b,c){null!=b&&(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.START_GROUP),
519
- c(b,this),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.END_GROUP));}writeSplitFixed64(a,b,c){this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.FIXED64);this.encoder_.writeSplitFixed64(b,c);}writeSplitVarint64(a,b,c){this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT);this.encoder_.writeSplitVarint64(b,c);}writeSplitZigzagVarint64(a,b,c){this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.VARINT);this.encoder_.writeSplitZigzagVarint64(b>>>
520
- 0,c>>>0);}writeRepeatedInt32(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeSignedVarint32_(a,b[c]);}writeRepeatedInt64(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeSignedVarint64_(a,b[c]);}writeRepeatedSplitFixed64(a,b,c,d){if(null!=b)for(let e=0;e<b.length;e++)this.writeSplitFixed64(a,c(b[e]),d(b[e]));}writeRepeatedSplitVarint64(a,b,c,d){if(null!=b)for(let e=0;e<b.length;e++)this.writeSplitVarint64(a,c(b[e]),d(b[e]));}writeRepeatedSplitZigzagVarint64(a,b,c,d){if(null!=b)for(let e=0;e<b.length;e++)this.writeSplitZigzagVarint64(a,
521
- c(b[e]),d(b[e]));}writeRepeatedInt64String(a,b){this.writeRepeatedInt64(a,b);}writeRepeatedUint32(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeUnsignedVarint32_(a,b[c]);}writeRepeatedUint64(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeUnsignedVarint64_(a,b[c]);}writeRepeatedUint64String(a,b){this.writeRepeatedUint64(a,b);}writeRepeatedSint32(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeZigzagVarint32_(a,b[c]);}writeRepeatedSint64(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeZigzagVarint64_(a,
522
- b[c]);}writeRepeatedSint64String(a,b){this.writeRepeatedSint64(a,b);}writeRepeatedFixed32(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeFixed32(a,b[c]);}writeRepeatedFixed64(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeFixed64(a,b[c]);}writeRepeatedFixed64String(a,b){this.writeRepeatedFixed64(a,b);}writeRepeatedSfixed32(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeSfixed32(a,b[c]);}writeRepeatedSfixed64(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeSfixed64(a,b[c]);}writeRepeatedSfixed64String(a,
523
- b){this.writeRepeatedSfixed64(a,b);}writeRepeatedFloat(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeFloat(a,b[c]);}writeRepeatedDouble(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeDouble(a,b[c]);}writeRepeatedBool(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeBool(a,b[c]);}writeRepeatedEnum(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeEnum(a,b[c]);}writeRepeatedString(a,b){if(null!=b)for(let c=0;c<b.length;c++)this.writeString(a,b[c]);}writeRepeatedBytes(a,b){if(null!=b)for(let c=
524
- 0;c<b.length;c++)this.writeBytes(a,b[c]);}writeRepeatedMessage(a,b,c){if(null!=b)for(let d=0;d<b.length;d++){const e=this.beginDelimited_(a);c(b[d],this);this.endDelimited_(e);}}writeRepeatedGroup(a,b,c){if(null!=b)for(let d=0;d<b.length;d++)this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.START_GROUP),c(b[d],this),this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.END_GROUP);}writePackedInt32(a,b){if(null!=b&&b.length){var c=this.beginDelimited_(a);for(let d=
525
- 0;d<b.length;d++)module$contents$jspb$binary$writer_assertSignedInteger(a,b[d]),this.encoder_.writeSignedVarint32(b[d]);this.endDelimited_(c);}}writePackedInt32String(a,b){if(null!=b&&b.length){var c=this.beginDelimited_(a);for(let d=0;d<b.length;d++){const e=parseInt(b[d],10);module$contents$jspb$binary$writer_assertSignedInteger(a,e);this.encoder_.writeSignedVarint32(e);}this.endDelimited_(c);}}writePackedInt64(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let d=0;d<b.length;d++){var c=
526
- b[d];switch(typeof c){case "number":this.encoder_.writeSignedVarint64(c);break;case "bigint":c=module$contents$jspb$arith_Int64.fromBigInt(c);this.encoder_.writeSplitVarint64(c.lo,c.hi);break;default:c=module$contents$jspb$arith_Int64.fromString(c),this.encoder_.writeSplitVarint64(c.lo,c.hi);}}this.endDelimited_(a);}}writePackedSplitFixed64(a,b,c,d){if(null!=b){a=this.beginDelimited_(a);for(let e=0;e<b.length;e++)this.encoder_.writeSplitFixed64(c(b[e]),d(b[e]));this.endDelimited_(a);}}writePackedSplitVarint64(a,
527
- b,c,d){if(null!=b){a=this.beginDelimited_(a);for(let e=0;e<b.length;e++)this.encoder_.writeSplitVarint64(c(b[e]),d(b[e]));this.endDelimited_(a);}}writePackedSplitZigzagVarint64(a,b,c,d){if(null!=b){a=this.beginDelimited_(a);var e=this.encoder_;for(let f=0;f<b.length;f++)e.writeSplitZigzagVarint64(c(b[f]),d(b[f]));this.endDelimited_(a);}}writePackedInt64String(a,b){this.writePackedInt64(a,b);}writePackedUint32(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let c=0;c<b.length;c++)this.encoder_.writeUnsignedVarint32(b[c]);
528
- this.endDelimited_(a);}}writePackedUint64(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let d=0;d<b.length;d++){var c=b[d];switch(typeof c){case "number":this.encoder_.writeUnsignedVarint64(c);break;case "bigint":const e=Number(c);Number.isSafeInteger(e)?this.encoder_.writeUnsignedVarint64(e):(c=module$contents$jspb$arith_UInt64.fromBigInt(c),this.encoder_.writeSplitVarint64(c.lo,c.hi));break;default:c=module$contents$jspb$arith_UInt64.fromString(c),this.encoder_.writeSplitVarint64(c.lo,
529
- c.hi);}}this.endDelimited_(a);}}writePackedUint64String(a,b){this.writePackedUint64(a,b);}writePackedSint32(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let c=0;c<b.length;c++)this.encoder_.writeZigzagVarint32(b[c]);this.endDelimited_(a);}}writePackedSint64(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let c=0;c<b.length;c++){const d=b[c];switch(typeof d){case "number":this.encoder_.writeZigzagVarint64(d);break;default:this.encoder_.writeZigzagVarint64String(d);}}this.endDelimited_(a);}}writePackedSint64String(a,
530
- b){this.writePackedSint64(a,b);}writePackedFixed32(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a++)this.encoder_.writeUint32(b[a]);}writePackedFixed64(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a++){var c=b[a];switch(typeof c){case "number":this.encoder_.writeUint64(c);
531
- break;case "bigint":c=module$contents$jspb$arith_UInt64.fromBigInt(c);this.encoder_.writeSplitFixed64(c.lo,c.hi);break;default:c=module$contents$jspb$arith_UInt64.fromString(c),this.encoder_.writeSplitFixed64(c.lo,c.hi);}}}writePackedFixed64String(a,b){this.writePackedFixed64(a,b);}writePackedSfixed32(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a++)this.encoder_.writeInt32(b[a]);}writePackedSfixed64(a,
532
- b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a++){var c=b[a];switch(typeof c){case "number":this.encoder_.writeInt64(c);break;case "bigint":c=module$contents$jspb$arith_Int64.fromBigInt(c);this.encoder_.writeSplitFixed64(c.lo,c.hi);break;default:c=module$contents$jspb$arith_Int64.fromString(c),this.encoder_.writeSplitFixed64(c.lo,c.hi);}}}writePackedSfixed64String(a,b){this.writePackedSfixed64(a,
533
- b);}writePackedFloat(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a++)this.encoder_.writeFloat(b[a]);}writePackedDouble(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a++)this.encoder_.writeDouble(b[a]);}writePackedBool(a,b){if(null!=b&&b.length)for(this.writeFieldHeader_(a,
534
- module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(b.length),a=0;a<b.length;a++)this.encoder_.writeBool(b[a]);}writePackedEnum(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(let c=0;c<b.length;c++)this.encoder_.writeEnum(b[c]);this.endDelimited_(a);}}}
535
- function module$contents$jspb$binary$writer_assertSignedInteger(a,b){module$contents$jspb$binary$writer_assertThat(a,b,b===Math.floor(b));module$contents$jspb$binary$writer_assertThat(a,b,b>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&b<module$contents$jspb$BinaryConstants_TWO_TO_31);}
536
- function module$contents$jspb$binary$writer_assertSignedInt64(a,b){switch(typeof b){case "string":module$contents$jspb$binary$writer_assertThat(a,b,module$contents$jspb$arith_Int64.fromString(b));break;case "number":module$contents$jspb$binary$writer_assertThat(a,b,b>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&b<module$contents$jspb$BinaryConstants_TWO_TO_63);break;default:module$contents$jspb$binary$writer_assertThat(a,b,b>=BigInt(-module$contents$jspb$BinaryConstants_TWO_TO_63)&&b<BigInt(module$contents$jspb$BinaryConstants_TWO_TO_63));}}
537
- function module$contents$jspb$binary$writer_assertUnsignedInt64(a,b){switch(typeof b){case "string":module$contents$jspb$binary$writer_assertThat(a,b,module$contents$jspb$arith_UInt64.fromString(b));break;case "number":module$contents$jspb$binary$writer_assertThat(a,b,0<=b&&b<module$contents$jspb$BinaryConstants_TWO_TO_64);break;default:module$contents$jspb$binary$writer_assertThat(a,b,b>=BigInt(0)&&b<BigInt(module$contents$jspb$BinaryConstants_TWO_TO_64));}}
538
- function module$contents$jspb$binary$writer_assertThat(a,b,c){c||(0, goog.asserts.fail)(`for [${b}] at [${a}]`);}jspb.binary.writer.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter;jspb.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter;jspb.internal={};jspb.internal.public_for_gencode={};function module$contents$jspb$internal$public_for_gencode_serializeMapToBinary(a,b,c,d,e,f){a&&a.forEach((g,h)=>{c.writeMessage(b,a,(l,k)=>{d.call(k,1,h);e.call(k,2,g,f);});});}
539
- function module$contents$jspb$internal$public_for_gencode_deserializeMapFromBinary(a,b,c,d,e,f){b.readMessage(a,(g,h)=>{g=d;let l=f;for(;h.nextField()&&!h.isEndGroup();){const k=h.getFieldNumber();1==k?g=c.call(h):2==k&&(a.valueCtor?h.readMessage(l,e):l=e.call(h));}goog.asserts.assert(void 0!=g);goog.asserts.assert(void 0!=l);a.set(g,l);});}jspb.internal.public_for_gencode.deserializeMapFromBinary=module$contents$jspb$internal$public_for_gencode_deserializeMapFromBinary;
540
- jspb.internal.public_for_gencode.serializeMapToBinary=module$contents$jspb$internal$public_for_gencode_serializeMapToBinary;jspb.Export={};
541
- (exports$1.debug=jspb.debug,exports$1.Map=jspb.Map,exports$1.Message=jspb.Message,exports$1.BinaryReader=module$contents$jspb$binary$reader_BinaryReader,exports$1.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter,exports$1.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports$1.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports$1.internal={public_for_gencode:jspb.internal.public_for_gencode},exports$1.exportSymbol=goog.exportSymbol,exports$1.inherits=goog.inherits,exports$1.object=
542
- {extend:module$contents$goog$object_extend},exports$1.typeOf=goog.typeOf);
21
+ var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value);},e="undefined"!=typeof window&&window===googleProtobuf?googleProtobuf:"undefined"!=typeof commonjsGlobal&&null!=commonjsGlobal?commonjsGlobal:googleProtobuf;function ba(a,b){if(b){var c=e;a=a.split(".");for(var d=0;d<a.length-1;d++){var f=a[d];f in c||(c[f]={});c=c[f];}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:true,writable:true,value:b});}}
22
+ function ca(a){var b=0;return function(){return b<a.length?{done:false,value:a[b++]}:{done:true}}}function da(){da=function(){};e.Symbol||(e.Symbol=ea);}function fa(a,b){this.a=a;aa(this,"description",{configurable:true,writable:true,value:b});}fa.prototype.toString=function(){return this.a};var ea=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new fa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}();
23
+ function ha(){da();var a=e.Symbol.iterator;a||(a=e.Symbol.iterator=e.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:true,writable:true,value:function(){return ia(ca(this))}});ha=function(){};}function ia(a){ha();a={next:a};a[e.Symbol.iterator]=function(){return this};return a}
24
+ function ja(a,b){ha();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var f=c++;return {value:b(f,a[f]),done:false}}d.next=function(){return {done:true,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d}ba("Array.prototype.entries",function(a){return a?a:function(){return ja(this,function(b,c){return [b,c]})}});var ka=googleProtobuf||self;
25
+ function g(a,b,c){a=a.split(".");c=c||ka;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b;}
26
+ function k(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return "array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return "object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return "array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return "function"}else return "null";
27
+ else if("function"==b&&"undefined"==typeof a.call)return "object";return b}function la(a){var b=typeof a;return "object"==b&&null!=a||"function"==b}function ma(a,b,c){g(a,b,c);}function na(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;}var oa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function pa(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var h=0;h<oa.length;h++)c=oa[h],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c]);}}var qa=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0);}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in d&&b.call(void 0,d[f],f,a);},l=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),f="string"===typeof a?a.split(""):a,h=0;h<c;h++)h in f&&(d[h]=b.call(void 0,f[h],h,a));return d};
28
+ function ra(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function sa(a,b,c,d){var f="Assertion failed";if(c){f+=": "+c;var h=d;}else a&&(f+=": "+a,h=b);throw Error(f,h||[]);}function n(a,b,c){for(var d=[],f=2;f<arguments.length;++f)d[f-2]=arguments[f];a||sa("",null,b,d);return a}function ta(a,b,c){for(var d=[],f=2;f<arguments.length;++f)d[f-2]=arguments[f];"string"!==typeof a&&sa("Expected string but got %s: %s.",[k(a),a],b,d);}
29
+ function ua(a,b,c){for(var d=[],f=2;f<arguments.length;++f)d[f-2]=arguments[f];Array.isArray(a)||sa("Expected array but got %s: %s.",[k(a),a],b,d);}function p(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];throw Error("Failure"+(a?": "+a:""),c);}function q(a,b,c,d){for(var f=[],h=3;h<arguments.length;++h)f[h-3]=arguments[h];a instanceof b||sa("Expected instanceof %s but got %s.",[va(b),va(a)],c,f);}
30
+ function va(a){return a instanceof Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof a}function r(a,b){this.c=a;this.b=b;this.a={};this.arrClean=true;if(0<this.c.length){for(a=0;a<this.c.length;a++){b=this.c[a];var c=b[0];this.a[c.toString()]=new wa(c,b[1]);}this.arrClean=true;}}g("jspb.Map",r,void 0);
31
+ r.prototype.g=function(){if(this.arrClean){if(this.b){var a=this.a,b;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b].a;c&&c.g();}}}else {this.c.length=0;a=u(this);a.sort();for(b=0;b<a.length;b++){var d=this.a[a[b]];(c=d.a)&&c.g();this.c.push([d.key,d.value]);}this.arrClean=true;}return this.c};r.prototype.toArray=r.prototype.g;
32
+ r.prototype.Mc=function(a,b){for(var c=this.g(),d=[],f=0;f<c.length;f++){var h=this.a[c[f][0].toString()];v(this,h);var m=h.a;m?(n(b),d.push([h.key,b(a,m)])):d.push([h.key,h.value]);}return d};r.prototype.toObject=r.prototype.Mc;r.fromObject=function(a,b,c){b=new r([],b);for(var d=0;d<a.length;d++){var f=a[d][0],h=c(a[d][1]);b.set(f,h);}return b};function w(a){this.a=0;this.b=a;}w.prototype.next=function(){return this.a<this.b.length?{done:false,value:this.b[this.a++]}:{done:true,value:void 0}};
33
+ "undefined"!=typeof Symbol&&(w.prototype[Symbol.iterator]=function(){return this});r.prototype.Jb=function(){return u(this).length};r.prototype.getLength=r.prototype.Jb;r.prototype.clear=function(){this.a={};this.arrClean=false;};r.prototype.clear=r.prototype.clear;r.prototype.Cb=function(a){a=a.toString();var b=this.a.hasOwnProperty(a);delete this.a[a];this.arrClean=false;return b};r.prototype.del=r.prototype.Cb;
34
+ r.prototype.Eb=function(){var a=[],b=u(this);b.sort();for(var c=0;c<b.length;c++){var d=this.a[b[c]];a.push([d.key,d.value]);}return a};r.prototype.getEntryList=r.prototype.Eb;r.prototype.entries=function(){var a=[],b=u(this);b.sort();for(var c=0;c<b.length;c++){var d=this.a[b[c]];a.push([d.key,v(this,d)]);}return new w(a)};r.prototype.entries=r.prototype.entries;r.prototype.keys=function(){var a=[],b=u(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.a[b[c]].key);return new w(a)};
35
+ r.prototype.keys=r.prototype.keys;r.prototype.values=function(){var a=[],b=u(this);b.sort();for(var c=0;c<b.length;c++)a.push(v(this,this.a[b[c]]));return new w(a)};r.prototype.values=r.prototype.values;r.prototype.forEach=function(a,b){var c=u(this);c.sort();for(var d=0;d<c.length;d++){var f=this.a[c[d]];a.call(b,v(this,f),f.key,this);}};r.prototype.forEach=r.prototype.forEach;
36
+ r.prototype.set=function(a,b){var c=new wa(a);this.b?(c.a=b,c.value=b.g()):c.value=b;this.a[a.toString()]=c;this.arrClean=false;return this};r.prototype.set=r.prototype.set;function v(a,b){return a.b?(b.a||(b.a=new a.b(b.value)),b.a):b.value}r.prototype.get=function(a){if(a=this.a[a.toString()])return v(this,a)};r.prototype.get=r.prototype.get;r.prototype.has=function(a){return a.toString()in this.a};r.prototype.has=r.prototype.has;
37
+ r.prototype.Jc=function(a,b,c,d,f){var h=u(this);h.sort();for(var m=0;m<h.length;m++){var t=this.a[h[m]];b.Va(a);c.call(b,1,t.key);this.b?d.call(b,2,v(this,t),f):d.call(b,2,t.value);b.Ya();}};r.prototype.serializeBinary=r.prototype.Jc;r.deserializeBinary=function(a,b,c,d,f,h,m){for(;b.oa()&&!b.bb();){var t=b.c;1==t?h=c.call(b):2==t&&(a.b?(n(f),m||(m=new a.b),d.call(b,m,f)):m=d.call(b));}n(void 0!=h);n(void 0!=m);a.set(h,m);};
38
+ function u(a){a=a.a;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}function wa(a,b){this.key=a;this.value=b;this.a=void 0;}function xa(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,ra(a,c,c+8192));return b}var ya={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},za={"'":"\\'"};var Aa={},x=null;function Ba(a,b){ void 0===b&&(b=0);Ca();b=Aa[b];for(var c=[],d=0;d<a.length;d+=3){var f=a[d],h=d+1<a.length,m=h?a[d+1]:0,t=d+2<a.length,B=t?a[d+2]:0,M=f>>2;f=(f&3)<<4|m>>4;m=(m&15)<<2|B>>6;B&=63;t||(B=64,h||(m=64));c.push(b[M],b[f],b[m]||"",b[B]||"");}return c.join("")}function Da(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),f=0;Ea(a,function(h){d[f++]=h;});return d.subarray(0,f)}
39
+ function Ea(a,b){function c(B){for(;d<a.length;){var M=a.charAt(d++),La=x[M];if(null!=La)return La;if(!/^[\s\xa0]*$/.test(M))throw Error("Unknown base64 encoding at char: "+M);}return B}Ca();for(var d=0;;){var f=c(-1),h=c(0),m=c(64),t=c(64);if(64===t&&-1===f)break;b(f<<2|h>>4);64!=m&&(b(h<<4&240|m>>2),64!=t&&b(m<<6&192|t));}}
40
+ function Ca(){if(!x){x={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Aa[c]=d;for(var f=0;f<d.length;f++){var h=d[f];void 0===x[h]&&(x[h]=f);}}}}g("jspb.ConstBinaryMessage",function(){},void 0);g("jspb.BinaryMessage",function(){},void 0);g("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0);g("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0);
41
+ g("jspb.BinaryConstants.FieldTypeToWireType",function(a){switch(a){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return -1}},void 0);g("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0);g("jspb.BinaryConstants.FLOAT32_EPS",1.401298464324817E-45,void 0);g("jspb.BinaryConstants.FLOAT32_MIN",1.1754943508222875E-38,void 0);
42
+ g("jspb.BinaryConstants.FLOAT32_MAX",3.4028234663852886E38,void 0);g("jspb.BinaryConstants.FLOAT64_EPS",4.9E-324,void 0);g("jspb.BinaryConstants.FLOAT64_MIN",2.2250738585072014E-308,void 0);g("jspb.BinaryConstants.FLOAT64_MAX",1.7976931348623157E308,void 0);g("jspb.BinaryConstants.TWO_TO_20",1048576,void 0);g("jspb.BinaryConstants.TWO_TO_23",8388608,void 0);g("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0);g("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0);
43
+ g("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0);g("jspb.BinaryConstants.TWO_TO_63",0x7fffffffffffffff,void 0);g("jspb.BinaryConstants.TWO_TO_64",1.8446744073709552E19,void 0);g("jspb.BinaryConstants.ZERO_HASH","\x00\x00\x00\x00\x00\x00\x00\x00",void 0);var y=0,z=0;g("jspb.utils.getSplit64Low",function(){return y},void 0);g("jspb.utils.getSplit64High",function(){return z},void 0);function Fa(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;y=b;z=a;}g("jspb.utils.splitUint64",Fa,void 0);function A(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);a>>>=0;b&&(a=~a>>>0,c=(~c>>>0)+1,4294967295<c&&(c=0,a++,4294967295<a&&(a=0)));y=c;z=a;}g("jspb.utils.splitInt64",A,void 0);
44
+ function Ga(a){var b=0>a;a=2*Math.abs(a);Fa(a);a=y;var c=z;b&&(0==a?0==c?c=a=4294967295:(c--,a=4294967295):a--);y=a;z=c;}g("jspb.utils.splitZigzag64",Ga,void 0);
45
+ function Ha(a){var b=0>a?1:0;a=b?-a:a;if(0===a)0<1/a?y=z=0:(z=0,y=2147483648);else if(isNaN(a))z=0,y=2147483647;else if(3.4028234663852886E38<a)z=0,y=(b<<31|2139095040)>>>0;else if(1.1754943508222875E-38>a)a=Math.round(a/Math.pow(2,-149)),z=0,y=(b<<31|a)>>>0;else {var c=Math.floor(Math.log(a)/Math.LN2);a*=Math.pow(2,-c);a=Math.round(8388608*a);16777216<=a&&++c;z=0;y=(b<<31|c+127<<23|a&8388607)>>>0;}}g("jspb.utils.splitFloat32",Ha,void 0);
46
+ function Ia(a){var b=0>a?1:0;a=b?-a:a;if(0===a)z=0<1/a?0:2147483648,y=0;else if(isNaN(a))z=2147483647,y=4294967295;else if(1.7976931348623157E308<a)z=(b<<31|2146435072)>>>0,y=0;else if(2.2250738585072014E-308>a)a/=Math.pow(2,-1074),z=(b<<31|a/4294967296)>>>0,y=a>>>0;else {var c=a,d=0;if(2<=c)for(;2<=c&&1023>d;)d++,c/=2;else for(;1>c&&-1022<d;)c*=2,d--;a*=Math.pow(2,-d);z=(b<<31|d+1023<<20|1048576*a&1048575)>>>0;y=4503599627370496*a>>>0;}}g("jspb.utils.splitFloat64",Ia,void 0);
47
+ function C(a){var b=a.charCodeAt(4),c=a.charCodeAt(5),d=a.charCodeAt(6),f=a.charCodeAt(7);y=a.charCodeAt(0)+(a.charCodeAt(1)<<8)+(a.charCodeAt(2)<<16)+(a.charCodeAt(3)<<24)>>>0;z=b+(c<<8)+(d<<16)+(f<<24)>>>0;}g("jspb.utils.splitHash64",C,void 0);function D(a,b){return 4294967296*b+(a>>>0)}g("jspb.utils.joinUint64",D,void 0);function E(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=D(a,b);return c?-a:a}g("jspb.utils.joinInt64",E,void 0);
48
+ function Ja(a,b,c){var d=b>>31;return c(a<<1^d,(b<<1|a>>>31)^d)}g("jspb.utils.toZigzag64",Ja,void 0);function Ka(a,b){return Ma(a,b,E)}g("jspb.utils.joinZigzag64",Ka,void 0);function Ma(a,b,c){var d=-(a&1);return c((a>>>1|b<<31)^d,b>>>1^d)}g("jspb.utils.fromZigzag64",Ma,void 0);function Na(a){var b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))}g("jspb.utils.joinFloat32",Na,void 0);
49
+ function Oa(a,b){var c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)}g("jspb.utils.joinFloat64",Oa,void 0);function Pa(a,b){return String.fromCharCode(a>>>0&255,a>>>8&255,a>>>16&255,a>>>24&255,b>>>0&255,b>>>8&255,b>>>16&255,b>>>24&255)}g("jspb.utils.joinHash64",Pa,void 0);g("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);
50
+ function F(a,b){function c(f,h){f=f?String(f):"";return h?"0000000".slice(f.length)+f:f}if(2097151>=b)return ""+D(a,b);var d=(a>>>24|b<<8)>>>0&16777215;b=b>>16&65535;a=(a&16777215)+6777216*d+6710656*b;d+=8147497*b;b*=2;1E7<=a&&(d+=Math.floor(a/1E7),a%=1E7);1E7<=d&&(b+=Math.floor(d/1E7),d%=1E7);return c(b,0)+c(d,b)+c(a,1)}g("jspb.utils.joinUnsignedDecimalString",F,void 0);function G(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b+(0==a?1:0)>>>0);a=F(a,b);return c?"-"+a:a}
51
+ g("jspb.utils.joinSignedDecimalString",G,void 0);function Qa(a,b){C(a);a=y;var c=z;return b?G(a,c):F(a,c)}g("jspb.utils.hash64ToDecimalString",Qa,void 0);g("jspb.utils.hash64ArrayToDecimalStrings",function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=Qa(a[d],b);return c},void 0);
52
+ function H(a){function b(m,t){for(var B=0;8>B&&(1!==m||0<t);B++)t=m*f[B]+t,f[B]=t&255,t>>>=8;}function c(){for(var m=0;8>m;m++)f[m]=~f[m]&255;}n(0<a.length);var d=false;"-"===a[0]&&(d=true,a=a.slice(1));for(var f=[0,0,0,0,0,0,0,0],h=0;h<a.length;h++)b(10,a.charCodeAt(h)-48);d&&(c(),b(1,1));return xa(f)}g("jspb.utils.decimalStringToHash64",H,void 0);g("jspb.utils.splitDecimalString",function(a){C(H(a));},void 0);function Ra(a){return String.fromCharCode(10>a?48+a:87+a)}
53
+ function Sa(a){return 97<=a?a-97+10:a-48}g("jspb.utils.hash64ToHexString",function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;8>c;c++){var d=a.charCodeAt(7-c);b[2*c+2]=Ra(d>>4);b[2*c+3]=Ra(d&15);}return b.join("")},void 0);g("jspb.utils.hexStringToHash64",function(a){a=a.toLowerCase();n(18==a.length);n("0"==a[0]);n("x"==a[1]);for(var b="",c=0;8>c;c++)b=String.fromCharCode(16*Sa(a.charCodeAt(2*c+2))+Sa(a.charCodeAt(2*c+3)))+b;return b},void 0);
54
+ g("jspb.utils.hash64ToNumber",function(a,b){C(a);a=y;var c=z;return b?E(a,c):D(a,c)},void 0);g("jspb.utils.numberToHash64",function(a){A(a);return Pa(y,z)},void 0);g("jspb.utils.countVarints",function(a,b,c){for(var d=0,f=b;f<c;f++)d+=a[f]>>7;return c-b-d},void 0);
55
+ g("jspb.utils.countVarintFields",function(a,b,c,d){var f=0;d*=8;if(128>d)for(;b<c&&a[b++]==d;)for(f++;;){var h=a[b++];if(0==(h&128))break}else for(;b<c;){for(h=d;128<h;){if(a[b]!=(h&127|128))return f;b++;h>>=7;}if(a[b++]!=h)break;for(f++;h=a[b++],0!=(h&128););}return f},void 0);function Ta(a,b,c,d,f){var h=0;if(128>d)for(;b<c&&a[b++]==d;)h++,b+=f;else for(;b<c;){for(var m=d;128<m;){if(a[b++]!=(m&127|128))return h;m>>=7;}if(a[b++]!=m)break;h++;b+=f;}return h}
56
+ g("jspb.utils.countFixed32Fields",function(a,b,c,d){return Ta(a,b,c,8*d+5,4)},void 0);g("jspb.utils.countFixed64Fields",function(a,b,c,d){return Ta(a,b,c,8*d+1,8)},void 0);g("jspb.utils.countDelimitedFields",function(a,b,c,d){var f=0;for(d=8*d+2;b<c;){for(var h=d;128<h;){if(a[b++]!=(h&127|128))return f;h>>=7;}if(a[b++]!=h)break;f++;for(var m=0,t=1;h=a[b++],m+=(h&127)*t,t*=128,0!=(h&128););b+=m;}return f},void 0);
57
+ g("jspb.utils.debugBytesToTextFormat",function(a){var b='"';if(a){a=Ua(a);for(var c=0;c<a.length;c++)b+="\\x",16>a[c]&&(b+="0"),b+=a[c].toString(16);}return b+'"'},void 0);
58
+ g("jspb.utils.debugScalarToTextFormat",function(a){if("string"===typeof a){a=String(a);for(var b=['"'],c=0;c<a.length;c++){var d=a.charAt(c),f=d.charCodeAt(0),h=c+1,m;if(!(m=ya[d])){if(!(31<f&&127>f))if(f=d,f in za)d=za[f];else if(f in ya)d=za[f]=ya[f];else {m=f.charCodeAt(0);if(31<m&&127>m)d=f;else {if(256>m){if(d="\\x",16>m||256<m)d+="0";}else d="\\u",4096>m&&(d+="0");d+=m.toString(16).toUpperCase();}d=za[f]=d;}m=d;}b[h]=m;}b.push('"');a=b.join("");}else a=a.toString();return a},void 0);
59
+ g("jspb.utils.stringToByteArray",function(a){for(var b=new Uint8Array(a.length),c=0;c<a.length;c++){var d=a.charCodeAt(c);if(255<d)throw Error("Conversion error: string contains codepoint outside of byte range");b[c]=d;}return b},void 0);
60
+ function Ua(a){if(a.constructor===Uint8Array)return a;if(a.constructor===ArrayBuffer)return new Uint8Array(a);if(a.constructor===Array)return new Uint8Array(a);if(a.constructor===String)return Da(a);if(a instanceof Uint8Array)return new Uint8Array(a.buffer,a.byteOffset,a.byteLength);p("Type not convertible to Uint8Array.");return new Uint8Array(0)}g("jspb.utils.byteSourceToUint8Array",Ua,void 0);function I(a,b,c){this.b=null;this.a=this.c=this.h=0;this.v=false;a&&this.H(a,b,c);}g("jspb.BinaryDecoder",I,void 0);var Va=[];I.getInstanceCacheLength=function(){return Va.length};function Wa(a,b,c){if(Va.length){var d=Va.pop();a&&d.H(a,b,c);return d}return new I(a,b,c)}I.alloc=Wa;I.prototype.Ca=function(){this.clear();100>Va.length&&Va.push(this);};I.prototype.free=I.prototype.Ca;I.prototype.clone=function(){return Wa(this.b,this.h,this.c-this.h)};I.prototype.clone=I.prototype.clone;
61
+ I.prototype.clear=function(){this.b=null;this.a=this.c=this.h=0;this.v=false;};I.prototype.clear=I.prototype.clear;I.prototype.Y=function(){return this.b};I.prototype.getBuffer=I.prototype.Y;I.prototype.H=function(a,b,c){this.b=Ua(a);this.h=void 0!==b?b:0;this.c=void 0!==c?this.h+c:this.b.length;this.a=this.h;};I.prototype.setBlock=I.prototype.H;I.prototype.Db=function(){return this.c};I.prototype.getEnd=I.prototype.Db;I.prototype.setEnd=function(a){this.c=a;};I.prototype.setEnd=I.prototype.setEnd;
62
+ I.prototype.reset=function(){this.a=this.h;};I.prototype.reset=I.prototype.reset;I.prototype.B=function(){return this.a};I.prototype.getCursor=I.prototype.B;I.prototype.Ma=function(a){this.a=a;};I.prototype.setCursor=I.prototype.Ma;I.prototype.advance=function(a){this.a+=a;n(this.a<=this.c);};I.prototype.advance=I.prototype.advance;I.prototype.ya=function(){return this.a==this.c};I.prototype.atEnd=I.prototype.ya;I.prototype.Qb=function(){return this.a>this.c};I.prototype.pastEnd=I.prototype.Qb;
63
+ I.prototype.getError=function(){return this.v||0>this.a||this.a>this.c};I.prototype.getError=I.prototype.getError;I.prototype.w=function(a){for(var b=128,c=0,d=0,f=0;4>f&&128<=b;f++)b=this.b[this.a++],c|=(b&127)<<7*f;128<=b&&(b=this.b[this.a++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(f=0;5>f&&128<=b;f++)b=this.b[this.a++],d|=(b&127)<<7*f+3;if(128>b)return a(c>>>0,d>>>0);p("Failed to read varint, encoding is invalid.");this.v=true;};I.prototype.readSplitVarint64=I.prototype.w;
64
+ I.prototype.ea=function(a){return this.w(function(b,c){return Ma(b,c,a)})};I.prototype.readSplitZigzagVarint64=I.prototype.ea;I.prototype.ta=function(a){var b=this.b,c=this.a;this.a+=8;for(var d=0,f=0,h=c+7;h>=c;h--)d=d<<8|b[h],f=f<<8|b[h+4];return a(d,f)};I.prototype.readSplitFixed64=I.prototype.ta;I.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++;};I.prototype.skipVarint=I.prototype.kb;I.prototype.mb=function(a){for(;128<a;)this.a--,a>>>=7;this.a--;};I.prototype.unskipVarint=I.prototype.mb;
65
+ I.prototype.o=function(){var a=this.b;var b=a[this.a];var c=b&127;if(128>b)return this.a+=1,n(this.a<=this.c),c;b=a[this.a+1];c|=(b&127)<<7;if(128>b)return this.a+=2,n(this.a<=this.c),c;b=a[this.a+2];c|=(b&127)<<14;if(128>b)return this.a+=3,n(this.a<=this.c),c;b=a[this.a+3];c|=(b&127)<<21;if(128>b)return this.a+=4,n(this.a<=this.c),c;b=a[this.a+4];c|=(b&15)<<28;if(128>b)return this.a+=5,n(this.a<=this.c),c>>>0;this.a+=5;128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&128<=
66
+ a[this.a++]&&n(false);n(this.a<=this.c);return c};I.prototype.readUnsignedVarint32=I.prototype.o;I.prototype.da=function(){return ~~this.o()};I.prototype.readSignedVarint32=I.prototype.da;I.prototype.O=function(){return this.o().toString()};I.prototype.Ea=function(){return this.da().toString()};I.prototype.readSignedVarint32String=I.prototype.Ea;I.prototype.Ia=function(){var a=this.o();return a>>>1^-(a&1)};I.prototype.readZigzagVarint32=I.prototype.Ia;I.prototype.Ga=function(){return this.w(D)};
67
+ I.prototype.readUnsignedVarint64=I.prototype.Ga;I.prototype.Ha=function(){return this.w(F)};I.prototype.readUnsignedVarint64String=I.prototype.Ha;I.prototype.sa=function(){return this.w(E)};I.prototype.readSignedVarint64=I.prototype.sa;I.prototype.Fa=function(){return this.w(G)};I.prototype.readSignedVarint64String=I.prototype.Fa;I.prototype.Ja=function(){return this.w(Ka)};I.prototype.readZigzagVarint64=I.prototype.Ja;I.prototype.fb=function(){return this.ea(Pa)};
68
+ I.prototype.readZigzagVarintHash64=I.prototype.fb;I.prototype.Ka=function(){return this.ea(G)};I.prototype.readZigzagVarint64String=I.prototype.Ka;I.prototype.Gc=function(){var a=this.b[this.a];this.a+=1;n(this.a<=this.c);return a};I.prototype.readUint8=I.prototype.Gc;I.prototype.Ec=function(){var a=this.b[this.a],b=this.b[this.a+1];this.a+=2;n(this.a<=this.c);return a<<0|b<<8};I.prototype.readUint16=I.prototype.Ec;
69
+ I.prototype.m=function(){var a=this.b[this.a],b=this.b[this.a+1],c=this.b[this.a+2],d=this.b[this.a+3];this.a+=4;n(this.a<=this.c);return (a<<0|b<<8|c<<16|d<<24)>>>0};I.prototype.readUint32=I.prototype.m;I.prototype.ga=function(){var a=this.m(),b=this.m();return D(a,b)};I.prototype.readUint64=I.prototype.ga;I.prototype.ha=function(){var a=this.m(),b=this.m();return F(a,b)};I.prototype.readUint64String=I.prototype.ha;
70
+ I.prototype.Xb=function(){var a=this.b[this.a];this.a+=1;n(this.a<=this.c);return a<<24>>24};I.prototype.readInt8=I.prototype.Xb;I.prototype.Vb=function(){var a=this.b[this.a],b=this.b[this.a+1];this.a+=2;n(this.a<=this.c);return (a<<0|b<<8)<<16>>16};I.prototype.readInt16=I.prototype.Vb;I.prototype.P=function(){var a=this.b[this.a],b=this.b[this.a+1],c=this.b[this.a+2],d=this.b[this.a+3];this.a+=4;n(this.a<=this.c);return a<<0|b<<8|c<<16|d<<24};I.prototype.readInt32=I.prototype.P;
71
+ I.prototype.ba=function(){var a=this.m(),b=this.m();return E(a,b)};I.prototype.readInt64=I.prototype.ba;I.prototype.ca=function(){var a=this.m(),b=this.m();return G(a,b)};I.prototype.readInt64String=I.prototype.ca;I.prototype.aa=function(){var a=this.m();return Na(a)};I.prototype.readFloat=I.prototype.aa;I.prototype.Z=function(){var a=this.m(),b=this.m();return Oa(a,b)};I.prototype.readDouble=I.prototype.Z;I.prototype.pa=function(){return !!this.b[this.a++]};I.prototype.readBool=I.prototype.pa;
72
+ I.prototype.ra=function(){return this.da()};I.prototype.readEnum=I.prototype.ra;
73
+ I.prototype.fa=function(a){var b=this.b,c=this.a;a=c+a;for(var d=[],f="";c<a;){var h=b[c++];if(128>h)d.push(h);else if(192>h)continue;else if(224>h){var m=b[c++];d.push((h&31)<<6|m&63);}else if(240>h){m=b[c++];var t=b[c++];d.push((h&15)<<12|(m&63)<<6|t&63);}else if(248>h){m=b[c++];t=b[c++];var B=b[c++];h=(h&7)<<18|(m&63)<<12|(t&63)<<6|B&63;h-=65536;d.push((h>>10&1023)+55296,(h&1023)+56320);}8192<=d.length&&(f+=String.fromCharCode.apply(null,d),d.length=0);}f+=xa(d);this.a=c;return f};
74
+ I.prototype.readString=I.prototype.fa;I.prototype.Dc=function(){var a=this.o();return this.fa(a)};I.prototype.readStringWithLength=I.prototype.Dc;I.prototype.qa=function(a){if(0>a||this.a+a>this.b.length)return this.v=true,p("Invalid byte length!"),new Uint8Array(0);var b=this.b.subarray(this.a,this.a+a);this.a+=a;n(this.a<=this.c);return b};I.prototype.readBytes=I.prototype.qa;I.prototype.ia=function(){return this.w(Pa)};I.prototype.readVarintHash64=I.prototype.ia;
75
+ I.prototype.$=function(){var a=this.b,b=this.a,c=a[b],d=a[b+1],f=a[b+2],h=a[b+3],m=a[b+4],t=a[b+5],B=a[b+6];a=a[b+7];this.a+=8;return String.fromCharCode(c,d,f,h,m,t,B,a)};I.prototype.readFixedHash64=I.prototype.$;function J(a,b,c){this.a=Wa(a,b,c);this.O=this.a.B();this.b=this.c=-1;this.h=false;this.v=null;}g("jspb.BinaryReader",J,void 0);var K=[];J.clearInstanceCache=function(){K=[];};J.getInstanceCacheLength=function(){return K.length};function Xa(a,b,c){if(K.length){var d=K.pop();a&&d.a.H(a,b,c);return d}return new J(a,b,c)}J.alloc=Xa;J.prototype.zb=Xa;J.prototype.alloc=J.prototype.zb;J.prototype.Ca=function(){this.a.clear();this.b=this.c=-1;this.h=false;this.v=null;100>K.length&&K.push(this);};
76
+ J.prototype.free=J.prototype.Ca;J.prototype.Fb=function(){return this.O};J.prototype.getFieldCursor=J.prototype.Fb;J.prototype.B=function(){return this.a.B()};J.prototype.getCursor=J.prototype.B;J.prototype.Y=function(){return this.a.Y()};J.prototype.getBuffer=J.prototype.Y;J.prototype.Hb=function(){return this.c};J.prototype.getFieldNumber=J.prototype.Hb;J.prototype.Lb=function(){return this.b};J.prototype.getWireType=J.prototype.Lb;J.prototype.Mb=function(){return 2==this.b};
77
+ J.prototype.isDelimited=J.prototype.Mb;J.prototype.bb=function(){return 4==this.b};J.prototype.isEndGroup=J.prototype.bb;J.prototype.getError=function(){return this.h||this.a.getError()};J.prototype.getError=J.prototype.getError;J.prototype.H=function(a,b,c){this.a.H(a,b,c);this.b=this.c=-1;};J.prototype.setBlock=J.prototype.H;J.prototype.reset=function(){this.a.reset();this.b=this.c=-1;};J.prototype.reset=J.prototype.reset;J.prototype.advance=function(a){this.a.advance(a);};J.prototype.advance=J.prototype.advance;
78
+ J.prototype.oa=function(){if(this.a.ya())return false;if(this.getError())return p("Decoder hit an error"),false;this.O=this.a.B();var a=this.a.o(),b=a>>>3;a&=7;if(0!=a&&5!=a&&1!=a&&2!=a&&3!=a&&4!=a)return p("Invalid wire type: %s (at position %s)",a,this.O),this.h=true,false;this.c=b;this.b=a;return true};J.prototype.nextField=J.prototype.oa;J.prototype.Oa=function(){this.a.mb(this.c<<3|this.b);};J.prototype.unskipHeader=J.prototype.Oa;
79
+ J.prototype.Lc=function(){var a=this.c;for(this.Oa();this.oa()&&this.c==a;)this.C();this.a.ya()||this.Oa();};J.prototype.skipMatchingFields=J.prototype.Lc;J.prototype.lb=function(){0!=this.b?(p("Invalid wire type for skipVarintField"),this.C()):this.a.kb();};J.prototype.skipVarintField=J.prototype.lb;J.prototype.gb=function(){if(2!=this.b)p("Invalid wire type for skipDelimitedField"),this.C();else {var a=this.a.o();this.a.advance(a);}};J.prototype.skipDelimitedField=J.prototype.gb;
80
+ J.prototype.hb=function(){5!=this.b?(p("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4);};J.prototype.skipFixed32Field=J.prototype.hb;J.prototype.ib=function(){1!=this.b?(p("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8);};J.prototype.skipFixed64Field=J.prototype.ib;J.prototype.jb=function(){var a=this.c;do{if(!this.oa()){p("Unmatched start-group tag: stream EOF");this.h=true;break}if(4==this.b){this.c!=a&&(p("Unmatched end-group tag"),this.h=true);break}this.C();}while(1)};
81
+ J.prototype.skipGroup=J.prototype.jb;J.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:p("Invalid wire encoding for field.");}};J.prototype.skipField=J.prototype.C;J.prototype.Hc=function(a,b){null===this.v&&(this.v={});n(!this.v[a]);this.v[a]=b;};J.prototype.registerReadCallback=J.prototype.Hc;J.prototype.Ic=function(a){n(null!==this.v);a=this.v[a];n(a);return a(this)};
82
+ J.prototype.runReadCallback=J.prototype.Ic;J.prototype.Yb=function(a,b){n(2==this.b);var c=this.a.c,d=this.a.o();d=this.a.B()+d;this.a.setEnd(d);b(a,this);this.a.Ma(d);this.a.setEnd(c);};J.prototype.readMessage=J.prototype.Yb;J.prototype.Ub=function(a,b,c){n(3==this.b);n(this.c==a);c(b,this);this.h||4==this.b||(p("Group submessage did not end with an END_GROUP tag"),this.h=true);};J.prototype.readGroup=J.prototype.Ub;
83
+ J.prototype.Gb=function(){n(2==this.b);var a=this.a.o(),b=this.a.B(),c=b+a;a=Wa(this.a.Y(),b,a);this.a.Ma(c);return a};J.prototype.getFieldDecoder=J.prototype.Gb;J.prototype.P=function(){n(0==this.b);return this.a.da()};J.prototype.readInt32=J.prototype.P;J.prototype.Wb=function(){n(0==this.b);return this.a.Ea()};J.prototype.readInt32String=J.prototype.Wb;J.prototype.ba=function(){n(0==this.b);return this.a.sa()};J.prototype.readInt64=J.prototype.ba;J.prototype.ca=function(){n(0==this.b);return this.a.Fa()};
84
+ J.prototype.readInt64String=J.prototype.ca;J.prototype.m=function(){n(0==this.b);return this.a.o()};J.prototype.readUint32=J.prototype.m;J.prototype.Fc=function(){n(0==this.b);return this.a.O()};J.prototype.readUint32String=J.prototype.Fc;J.prototype.ga=function(){n(0==this.b);return this.a.Ga()};J.prototype.readUint64=J.prototype.ga;J.prototype.ha=function(){n(0==this.b);return this.a.Ha()};J.prototype.readUint64String=J.prototype.ha;J.prototype.zc=function(){n(0==this.b);return this.a.Ia()};
85
+ J.prototype.readSint32=J.prototype.zc;J.prototype.Ac=function(){n(0==this.b);return this.a.Ja()};J.prototype.readSint64=J.prototype.Ac;J.prototype.Bc=function(){n(0==this.b);return this.a.Ka()};J.prototype.readSint64String=J.prototype.Bc;J.prototype.Rb=function(){n(5==this.b);return this.a.m()};J.prototype.readFixed32=J.prototype.Rb;J.prototype.Sb=function(){n(1==this.b);return this.a.ga()};J.prototype.readFixed64=J.prototype.Sb;J.prototype.Tb=function(){n(1==this.b);return this.a.ha()};
86
+ J.prototype.readFixed64String=J.prototype.Tb;J.prototype.vc=function(){n(5==this.b);return this.a.P()};J.prototype.readSfixed32=J.prototype.vc;J.prototype.wc=function(){n(5==this.b);return this.a.P().toString()};J.prototype.readSfixed32String=J.prototype.wc;J.prototype.xc=function(){n(1==this.b);return this.a.ba()};J.prototype.readSfixed64=J.prototype.xc;J.prototype.yc=function(){n(1==this.b);return this.a.ca()};J.prototype.readSfixed64String=J.prototype.yc;
87
+ J.prototype.aa=function(){n(5==this.b);return this.a.aa()};J.prototype.readFloat=J.prototype.aa;J.prototype.Z=function(){n(1==this.b);return this.a.Z()};J.prototype.readDouble=J.prototype.Z;J.prototype.pa=function(){n(0==this.b);return !!this.a.o()};J.prototype.readBool=J.prototype.pa;J.prototype.ra=function(){n(0==this.b);return this.a.sa()};J.prototype.readEnum=J.prototype.ra;J.prototype.fa=function(){n(2==this.b);var a=this.a.o();return this.a.fa(a)};J.prototype.readString=J.prototype.fa;
88
+ J.prototype.qa=function(){n(2==this.b);var a=this.a.o();return this.a.qa(a)};J.prototype.readBytes=J.prototype.qa;J.prototype.ia=function(){n(0==this.b);return this.a.ia()};J.prototype.readVarintHash64=J.prototype.ia;J.prototype.Cc=function(){n(0==this.b);return this.a.fb()};J.prototype.readSintHash64=J.prototype.Cc;J.prototype.w=function(a){n(0==this.b);return this.a.w(a)};J.prototype.readSplitVarint64=J.prototype.w;
89
+ J.prototype.ea=function(a){n(0==this.b);return this.a.w(function(b,c){return Ma(b,c,a)})};J.prototype.readSplitZigzagVarint64=J.prototype.ea;J.prototype.$=function(){n(1==this.b);return this.a.$()};J.prototype.readFixedHash64=J.prototype.$;J.prototype.ta=function(a){n(1==this.b);return this.a.ta(a)};J.prototype.readSplitFixed64=J.prototype.ta;function L(a,b){n(2==a.b);var c=a.a.o();c=a.a.B()+c;for(var d=[];a.a.B()<c;)d.push(b.call(a.a));return d}J.prototype.gc=function(){return L(this,this.a.da)};
90
+ J.prototype.readPackedInt32=J.prototype.gc;J.prototype.hc=function(){return L(this,this.a.Ea)};J.prototype.readPackedInt32String=J.prototype.hc;J.prototype.ic=function(){return L(this,this.a.sa)};J.prototype.readPackedInt64=J.prototype.ic;J.prototype.jc=function(){return L(this,this.a.Fa)};J.prototype.readPackedInt64String=J.prototype.jc;J.prototype.qc=function(){return L(this,this.a.o)};J.prototype.readPackedUint32=J.prototype.qc;J.prototype.rc=function(){return L(this,this.a.O)};
91
+ J.prototype.readPackedUint32String=J.prototype.rc;J.prototype.sc=function(){return L(this,this.a.Ga)};J.prototype.readPackedUint64=J.prototype.sc;J.prototype.tc=function(){return L(this,this.a.Ha)};J.prototype.readPackedUint64String=J.prototype.tc;J.prototype.nc=function(){return L(this,this.a.Ia)};J.prototype.readPackedSint32=J.prototype.nc;J.prototype.oc=function(){return L(this,this.a.Ja)};J.prototype.readPackedSint64=J.prototype.oc;J.prototype.pc=function(){return L(this,this.a.Ka)};
92
+ J.prototype.readPackedSint64String=J.prototype.pc;J.prototype.bc=function(){return L(this,this.a.m)};J.prototype.readPackedFixed32=J.prototype.bc;J.prototype.cc=function(){return L(this,this.a.ga)};J.prototype.readPackedFixed64=J.prototype.cc;J.prototype.dc=function(){return L(this,this.a.ha)};J.prototype.readPackedFixed64String=J.prototype.dc;J.prototype.kc=function(){return L(this,this.a.P)};J.prototype.readPackedSfixed32=J.prototype.kc;J.prototype.lc=function(){return L(this,this.a.ba)};
93
+ J.prototype.readPackedSfixed64=J.prototype.lc;J.prototype.mc=function(){return L(this,this.a.ca)};J.prototype.readPackedSfixed64String=J.prototype.mc;J.prototype.fc=function(){return L(this,this.a.aa)};J.prototype.readPackedFloat=J.prototype.fc;J.prototype.$b=function(){return L(this,this.a.Z)};J.prototype.readPackedDouble=J.prototype.$b;J.prototype.Zb=function(){return L(this,this.a.pa)};J.prototype.readPackedBool=J.prototype.Zb;J.prototype.ac=function(){return L(this,this.a.ra)};
94
+ J.prototype.readPackedEnum=J.prototype.ac;J.prototype.uc=function(){return L(this,this.a.ia)};J.prototype.readPackedVarintHash64=J.prototype.uc;J.prototype.ec=function(){return L(this,this.a.$)};J.prototype.readPackedFixedHash64=J.prototype.ec;function Ya(a,b,c,d,f){this.ma=a;this.Ba=b;this.la=c;this.Na=d;this.na=f;}g("jspb.ExtensionFieldInfo",Ya,void 0);function Za(a,b,c,d,f,h){this.Za=a;this.za=b;this.Aa=c;this.Wa=d;this.Ab=f;this.Nb=h;}g("jspb.ExtensionFieldBinaryInfo",Za,void 0);Ya.prototype.F=function(){return !!this.la};Ya.prototype.isMessageType=Ya.prototype.F;function N(){}g("jspb.Message",N,void 0);N.GENERATE_TO_OBJECT=true;N.GENERATE_FROM_OBJECT=true;var $a="function"==typeof Uint8Array;N.prototype.Ib=function(){return this.b};
95
+ N.prototype.getJsPbMessageId=N.prototype.Ib;
96
+ N.initialize=function(a,b,c,d,f,h){a.f=null;b||(b=c?[c]:[]);a.b=c?String(c):void 0;a.D=0===c?-1:0;a.u=b;a:{c=a.u.length;b=-1;if(c&&(b=c-1,c=a.u[b],!(null===c||"object"!=typeof c||Array.isArray(c)||$a&&c instanceof Uint8Array))){a.G=b-a.D;a.i=c;break a} -1<d?(a.G=Math.max(d,b+1-a.D),a.i=null):a.G=Number.MAX_VALUE;}a.a={};if(f)for(d=0;d<f.length;d++)b=f[d],b<a.G?(b+=a.D,a.u[b]=a.u[b]||ab):(bb(a),a.i[b]=a.i[b]||ab);if(h&&h.length)for(d=0;d<h.length;d++)cb(a,h[d]);};
97
+ var ab=Object.freeze?Object.freeze([]):[];function bb(a){var b=a.G+a.D;a.u[b]||(a.i=a.u[b]={});}function db(a,b,c){for(var d=[],f=0;f<a.length;f++)d[f]=b.call(a[f],c,a[f]);return d}N.toObjectList=db;N.toObjectExtension=function(a,b,c,d,f){for(var h in c){var m=c[h],t=d.call(a,m);if(null!=t){for(var B in m.Ba)if(m.Ba.hasOwnProperty(B))break;b[B]=m.Na?m.na?db(t,m.Na,f):m.Na(f,t):t;}}};
98
+ N.serializeBinaryExtensions=function(a,b,c,d){for(var f in c){var h=c[f],m=h.Za;if(!h.Aa)throw Error("Message extension present that was generated without binary serialization support");var t=d.call(a,m);if(null!=t)if(m.F())if(h.Wa)h.Aa.call(b,m.ma,t,h.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else h.Aa.call(b,m.ma,t);}};
99
+ N.readBinaryExtension=function(a,b,c,d,f){var h=c[b.c];if(h){c=h.Za;if(!h.za)throw Error("Deserializing extension whose generated code does not support binary format");if(c.F()){var m=new c.la;h.za.call(b,m,h.Ab);}else m=h.za.call(b);c.na&&!h.Nb?(b=d.call(a,c))?b.push(m):f.call(a,c,[m]):f.call(a,c,m);}else b.C();};function O(a,b){if(b<a.G){b+=a.D;var c=a.u[b];return c===ab?a.u[b]=[]:c}if(a.i)return c=a.i[b],c===ab?a.i[b]=[]:c}N.getField=O;N.getRepeatedField=function(a,b){return O(a,b)};
100
+ function eb(a,b){a=O(a,b);return null==a?a:+a}N.getOptionalFloatingPointField=eb;function fb(a,b){a=O(a,b);return null==a?a:!!a}N.getBooleanField=fb;N.getRepeatedFloatingPointField=function(a,b){var c=O(a,b);a.a||(a.a={});if(!a.a[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.a[b]=true;}return c};N.getRepeatedBooleanField=function(a,b){var c=O(a,b);a.a||(a.a={});if(!a.a[b]){for(var d=0;d<c.length;d++)c[d]=!!c[d];a.a[b]=true;}return c};
101
+ function gb(a){if(null==a||"string"===typeof a)return a;if($a&&a instanceof Uint8Array)return Ba(a);p("Cannot coerce to b64 string: "+k(a));return null}N.bytesAsB64=gb;function hb(a){if(null==a||a instanceof Uint8Array)return a;if("string"===typeof a)return Da(a);p("Cannot coerce to Uint8Array: "+k(a));return null}N.bytesAsU8=hb;N.bytesListAsB64=function(a){ib(a);return a.length&&"string"!==typeof a[0]?l(a,gb):a};N.bytesListAsU8=function(a){ib(a);return !a.length||a[0]instanceof Uint8Array?a:l(a,hb)};
102
+ function ib(a){if(a&&1<a.length){var b=k(a[0]);qa(a,function(c){k(c)!=b&&p("Inconsistent type in JSPB repeated field array. Got "+k(c)+" expected "+b);});}}function jb(a,b,c){a=O(a,b);return null==a?c:a}N.getFieldWithDefault=jb;N.getBooleanFieldWithDefault=function(a,b,c){a=fb(a,b);return null==a?c:a};N.getFloatingPointFieldWithDefault=function(a,b,c){a=eb(a,b);return null==a?c:a};N.getFieldProto3=jb;
103
+ N.getMapField=function(a,b,c,d){a.f||(a.f={});if(b in a.f)return a.f[b];var f=O(a,b);if(!f){if(c)return;f=[];P(a,b,f);}return a.f[b]=new r(f,d)};function P(a,b,c){q(a,N);b<a.G?a.u[b+a.D]=c:(bb(a),a.i[b]=c);return a}N.setField=P;N.setProto3IntField=function(a,b,c){return Q(a,b,c,0)};N.setProto3FloatField=function(a,b,c){return Q(a,b,c,0)};N.setProto3BooleanField=function(a,b,c){return Q(a,b,c,false)};N.setProto3StringField=function(a,b,c){return Q(a,b,c,"")};
104
+ N.setProto3BytesField=function(a,b,c){return Q(a,b,c,"")};N.setProto3EnumField=function(a,b,c){return Q(a,b,c,0)};N.setProto3StringIntField=function(a,b,c){return Q(a,b,c,"0")};function Q(a,b,c,d){q(a,N);c!==d?P(a,b,c):b<a.G?a.u[b+a.D]=null:(bb(a),delete a.i[b]);return a}N.addToRepeatedField=function(a,b,c,d){q(a,N);b=O(a,b);void 0!=d?b.splice(d,0,c):b.push(c);return a};function kb(a,b,c,d){q(a,N);(c=cb(a,c))&&c!==b&&void 0!==d&&(a.f&&c in a.f&&(a.f[c]=void 0),P(a,c,void 0));return P(a,b,d)}
105
+ N.setOneofField=kb;function cb(a,b){for(var c,d,f=0;f<b.length;f++){var h=b[f],m=O(a,h);null!=m&&(c=h,d=m,P(a,h,void 0));}return c?(P(a,c,d),c):0}N.computeOneofCase=cb;N.getWrapperField=function(a,b,c,d){a.f||(a.f={});if(!a.f[c]){var f=O(a,c);if(d||f)a.f[c]=new b(f);}return a.f[c]};N.getRepeatedWrapperField=function(a,b,c){lb(a,b,c);b=a.f[c];b==ab&&(b=a.f[c]=[]);return b};function lb(a,b,c){a.f||(a.f={});if(!a.f[c]){for(var d=O(a,c),f=[],h=0;h<d.length;h++)f[h]=new b(d[h]);a.f[c]=f;}}
106
+ N.setWrapperField=function(a,b,c){q(a,N);a.f||(a.f={});var d=c?c.g():c;a.f[b]=c;return P(a,b,d)};N.setOneofWrapperField=function(a,b,c,d){q(a,N);a.f||(a.f={});var f=d?d.g():d;a.f[b]=d;return kb(a,b,c,f)};N.setRepeatedWrapperField=function(a,b,c){q(a,N);a.f||(a.f={});c=c||[];for(var d=[],f=0;f<c.length;f++)d[f]=c[f].g();a.f[b]=c;return P(a,b,d)};
107
+ N.addToRepeatedWrapperField=function(a,b,c,d,f){lb(a,d,b);var h=a.f[b];h||(h=a.f[b]=[]);c=c?c:new d;a=O(a,b);void 0!=f?(h.splice(f,0,c),a.splice(f,0,c.g())):(h.push(c),a.push(c.g()));return c};N.toMap=function(a,b,c,d){for(var f={},h=0;h<a.length;h++)f[b.call(a[h])]=c?c.call(a[h],d,a[h]):a[h];return f};function mb(a){if(a.f)for(var b in a.f){var c=a.f[b];if(Array.isArray(c))for(var d=0;d<c.length;d++)c[d]&&c[d].g();else c&&c.g();}}N.prototype.g=function(){mb(this);return this.u};
108
+ N.prototype.toArray=N.prototype.g;N.prototype.toString=function(){mb(this);return this.u.toString()};N.prototype.getExtension=function(a){if(this.i){this.f||(this.f={});var b=a.ma;if(a.na){if(a.F())return this.f[b]||(this.f[b]=l(this.i[b]||[],function(c){return new a.la(c)})),this.f[b]}else if(a.F())return !this.f[b]&&this.i[b]&&(this.f[b]=new a.la(this.i[b])),this.f[b];return this.i[b]}};N.prototype.getExtension=N.prototype.getExtension;
109
+ N.prototype.Kc=function(a,b){this.f||(this.f={});bb(this);var c=a.ma;a.na?(b=b||[],a.F()?(this.f[c]=b,this.i[c]=l(b,function(d){return d.g()})):this.i[c]=b):a.F()?(this.f[c]=b,this.i[c]=b?b.g():b):this.i[c]=b;return this};N.prototype.setExtension=N.prototype.Kc;N.difference=function(a,b){if(!(a instanceof b.constructor))throw Error("Messages have different types.");var c=a.g();b=b.g();var d=[],f=0,h=c.length>b.length?c.length:b.length;a.b&&(d[0]=a.b,f=1);for(;f<h;f++)nb(c[f],b[f])||(d[f]=b[f]);return new a.constructor(d)};
110
+ N.equals=function(a,b){return a==b||!(!a||!b)&&a instanceof b.constructor&&nb(a.g(),b.g())};function ob(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!nb(a[d],b[d]))return false;return true}N.compareExtensions=ob;
111
+ function nb(a,b){if(a==b)return true;if(!la(a)||!la(b))return "number"===typeof a&&isNaN(a)||"number"===typeof b&&isNaN(b)?String(a)==String(b):false;if(a.constructor!=b.constructor)return false;if($a&&a.constructor===Uint8Array){if(a.length!=b.length)return false;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return false;return true}if(a.constructor===Array){var d=void 0,f=void 0,h=Math.max(a.length,b.length);for(c=0;c<h;c++){var m=a[c],t=b[c];m&&m.constructor==Object&&(n(void 0===d),n(c===a.length-1),d=m,m=void 0);t&&t.constructor==
112
+ Object&&(n(void 0===f),n(c===b.length-1),f=t,t=void 0);if(!nb(m,t))return false}return d||f?(d=d||{},f=f||{},ob(d,f)):true}if(a.constructor===Object)return ob(a,b);throw Error("Invalid type in JSPB array");}N.compareFields=nb;N.prototype.Bb=function(){return pb(this)};N.prototype.cloneMessage=N.prototype.Bb;N.prototype.clone=function(){return pb(this)};N.prototype.clone=N.prototype.clone;N.clone=function(a){return pb(a)};function pb(a){return new a.constructor(qb(a.g()))}
113
+ N.copyInto=function(a,b){q(a,N);q(b,N);n(a.constructor==b.constructor,"Copy source and target message should have the same type.");a=pb(a);for(var c=b.g(),d=a.g(),f=c.length=0;f<d.length;f++)c[f]=d[f];b.f=a.f;b.i=a.i;};function qb(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?qb(n(d)):d);}return b}if($a&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?qb(n(d)):d);return b}
114
+ N.registerMessageType=function(a,b){b.we=a;};var R={dump:function(a){q(a,N,"jspb.Message instance expected");n(a.getExtension,"Only unobfuscated and unoptimized compilation modes supported.");return R.X(a)}};g("jspb.debug.dump",R.dump,void 0);
115
+ R.X=function(a){var b=k(a);if("number"==b||"string"==b||"boolean"==b||"null"==b||"undefined"==b||"undefined"!==typeof Uint8Array&&a instanceof Uint8Array)return a;if("array"==b)return ua(a),l(a,R.X);if(a instanceof r){var c={};a=a.entries();for(var d=a.next();!d.done;d=a.next())c[d.value[0]]=R.X(d.value[1]);return c}q(a,N,"Only messages expected: "+a);b=a.constructor;var f={$name:b.name||b.displayName};for(t in b.prototype){var h=/^get([A-Z]\w*)/.exec(t);if(h&&"getExtension"!=t&&"getJsPbMessageId"!=
116
+ t){var m="has"+h[1];if(!a[m]||a[m]())m=a[t](),f[R.$a(h[1])]=R.X(m);}}if(a.extensionObject_)return f.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",f;for(d in b.extensions)if(/^\d+$/.test(d)){m=b.extensions[d];var t=a.getExtension(m);h=void 0;m=m.Ba;var B=[],M=0;for(h in m)B[M++]=h;h=B[0];null!=t&&(c||(c=f.$extensions={}),c[R.$a(h)]=R.X(t));}return f};R.$a=function(a){return a.replace(/^[A-Z]/,function(b){return b.toLowerCase()})};function S(){this.a=[];}g("jspb.BinaryEncoder",S,void 0);S.prototype.length=function(){return this.a.length};S.prototype.length=S.prototype.length;S.prototype.end=function(){var a=this.a;this.a=[];return a};S.prototype.end=S.prototype.end;S.prototype.l=function(a,b){n(a==Math.floor(a));n(b==Math.floor(b));n(0<=a&&4294967296>a);for(n(0<=b&&4294967296>b);0<b||127<a;)this.a.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.a.push(a);};S.prototype.writeSplitVarint64=S.prototype.l;
117
+ S.prototype.A=function(a,b){n(a==Math.floor(a));n(b==Math.floor(b));n(0<=a&&4294967296>a);n(0<=b&&4294967296>b);this.s(a);this.s(b);};S.prototype.writeSplitFixed64=S.prototype.A;S.prototype.j=function(a){n(a==Math.floor(a));for(n(0<=a&&4294967296>a);127<a;)this.a.push(a&127|128),a>>>=7;this.a.push(a);};S.prototype.writeUnsignedVarint32=S.prototype.j;S.prototype.M=function(a){n(a==Math.floor(a));n(-2147483648<=a&&2147483648>a);if(0<=a)this.j(a);else {for(var b=0;9>b;b++)this.a.push(a&127|128),a>>=7;this.a.push(1);}};
118
+ S.prototype.writeSignedVarint32=S.prototype.M;S.prototype.va=function(a){n(a==Math.floor(a));n(0<=a&&1.8446744073709552E19>a);A(a);this.l(y,z);};S.prototype.writeUnsignedVarint64=S.prototype.va;S.prototype.ua=function(a){n(a==Math.floor(a));n(-9223372036854776e3<=a&&0x7fffffffffffffff>a);A(a);this.l(y,z);};S.prototype.writeSignedVarint64=S.prototype.ua;S.prototype.wa=function(a){n(a==Math.floor(a));n(-2147483648<=a&&2147483648>a);this.j((a<<1^a>>31)>>>0);};S.prototype.writeZigzagVarint32=S.prototype.wa;
119
+ S.prototype.xa=function(a){n(a==Math.floor(a));n(-9223372036854776e3<=a&&0x7fffffffffffffff>a);Ga(a);this.l(y,z);};S.prototype.writeZigzagVarint64=S.prototype.xa;S.prototype.Ta=function(a){this.W(H(a));};S.prototype.writeZigzagVarint64String=S.prototype.Ta;S.prototype.W=function(a){var b=this;C(a);Ja(y,z,function(c,d){b.l(c>>>0,d>>>0);});};S.prototype.writeZigzagVarintHash64=S.prototype.W;S.prototype.be=function(a){n(a==Math.floor(a));n(0<=a&&256>a);this.a.push(a>>>0&255);};S.prototype.writeUint8=S.prototype.be;
120
+ S.prototype.ae=function(a){n(a==Math.floor(a));n(0<=a&&65536>a);this.a.push(a>>>0&255);this.a.push(a>>>8&255);};S.prototype.writeUint16=S.prototype.ae;S.prototype.s=function(a){n(a==Math.floor(a));n(0<=a&&4294967296>a);this.a.push(a>>>0&255);this.a.push(a>>>8&255);this.a.push(a>>>16&255);this.a.push(a>>>24&255);};S.prototype.writeUint32=S.prototype.s;S.prototype.V=function(a){n(a==Math.floor(a));n(0<=a&&1.8446744073709552E19>a);Fa(a);this.s(y);this.s(z);};S.prototype.writeUint64=S.prototype.V;
121
+ S.prototype.Qc=function(a){n(a==Math.floor(a));n(-128<=a&&128>a);this.a.push(a>>>0&255);};S.prototype.writeInt8=S.prototype.Qc;S.prototype.Pc=function(a){n(a==Math.floor(a));n(-32768<=a&&32768>a);this.a.push(a>>>0&255);this.a.push(a>>>8&255);};S.prototype.writeInt16=S.prototype.Pc;S.prototype.S=function(a){n(a==Math.floor(a));n(-2147483648<=a&&2147483648>a);this.a.push(a>>>0&255);this.a.push(a>>>8&255);this.a.push(a>>>16&255);this.a.push(a>>>24&255);};S.prototype.writeInt32=S.prototype.S;
122
+ S.prototype.T=function(a){n(a==Math.floor(a));n(-9223372036854776e3<=a&&0x7fffffffffffffff>a);A(a);this.A(y,z);};S.prototype.writeInt64=S.prototype.T;S.prototype.ka=function(a){n(a==Math.floor(a));n(-9223372036854776e3<=+a&&0x7fffffffffffffff>+a);C(H(a));this.A(y,z);};S.prototype.writeInt64String=S.prototype.ka;S.prototype.L=function(a){n(Infinity===a||-Infinity===a||isNaN(a)||-34028234663852886e22<=a&&3.4028234663852886E38>=a);Ha(a);this.s(y);};S.prototype.writeFloat=S.prototype.L;
123
+ S.prototype.J=function(a){n(Infinity===a||-Infinity===a||isNaN(a)||-17976931348623157e292<=a&&1.7976931348623157E308>=a);Ia(a);this.s(y);this.s(z);};S.prototype.writeDouble=S.prototype.J;S.prototype.I=function(a){n("boolean"===typeof a||"number"===typeof a);this.a.push(a?1:0);};S.prototype.writeBool=S.prototype.I;S.prototype.R=function(a){n(a==Math.floor(a));n(-2147483648<=a&&2147483648>a);this.M(a);};S.prototype.writeEnum=S.prototype.R;S.prototype.ja=function(a){this.a.push.apply(this.a,a);};
124
+ S.prototype.writeBytes=S.prototype.ja;S.prototype.N=function(a){C(a);this.l(y,z);};S.prototype.writeVarintHash64=S.prototype.N;S.prototype.K=function(a){C(a);this.s(y);this.s(z);};S.prototype.writeFixedHash64=S.prototype.K;
125
+ S.prototype.U=function(a){var b=this.a.length;ta(a);for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);if(128>d)this.a.push(d);else if(2048>d)this.a.push(d>>6|192),this.a.push(d&63|128);else if(65536>d)if(55296<=d&&56319>=d&&c+1<a.length){var f=a.charCodeAt(c+1);56320<=f&&57343>=f&&(d=1024*(d-55296)+f-56320+65536,this.a.push(d>>18|240),this.a.push(d>>12&63|128),this.a.push(d>>6&63|128),this.a.push(d&63|128),c++);}else this.a.push(d>>12|224),this.a.push(d>>6&63|128),this.a.push(d&63|128);}return this.a.length-
126
+ b};S.prototype.writeString=S.prototype.U;function T(a,b){this.lo=a;this.hi=b;}g("jspb.arith.UInt64",T,void 0);T.prototype.cmp=function(a){return this.hi<a.hi||this.hi==a.hi&&this.lo<a.lo?-1:this.hi==a.hi&&this.lo==a.lo?0:1};T.prototype.cmp=T.prototype.cmp;T.prototype.La=function(){return new T((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)};T.prototype.rightShift=T.prototype.La;T.prototype.Da=function(){return new T(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)};T.prototype.leftShift=T.prototype.Da;
127
+ T.prototype.cb=function(){return !!(this.hi&2147483648)};T.prototype.msb=T.prototype.cb;T.prototype.Ob=function(){return !!(this.lo&1)};T.prototype.lsb=T.prototype.Ob;T.prototype.Ua=function(){return 0==this.lo&&0==this.hi};T.prototype.zero=T.prototype.Ua;T.prototype.add=function(a){return new T((this.lo+a.lo&4294967295)>>>0>>>0,((this.hi+a.hi&4294967295)>>>0)+(4294967296<=this.lo+a.lo?1:0)>>>0)};T.prototype.add=T.prototype.add;
128
+ T.prototype.sub=function(a){return new T((this.lo-a.lo&4294967295)>>>0>>>0,((this.hi-a.hi&4294967295)>>>0)-(0>this.lo-a.lo?1:0)>>>0)};T.prototype.sub=T.prototype.sub;function rb(a,b){var c=a&65535;a>>>=16;var d=b&65535,f=b>>>16;b=c*d+65536*(c*f&65535)+65536*(a*d&65535);for(c=a*f+(c*f>>>16)+(a*d>>>16);4294967296<=b;)b-=4294967296,c+=1;return new T(b>>>0,c>>>0)}T.mul32x32=rb;T.prototype.eb=function(a){var b=rb(this.lo,a);a=rb(this.hi,a);a.hi=a.lo;a.lo=0;return b.add(a)};T.prototype.mul=T.prototype.eb;
129
+ T.prototype.Xa=function(a){if(0==a)return [];var b=new T(0,0),c=new T(this.lo,this.hi);a=new T(a,0);for(var d=new T(1,0);!a.cb();)a=a.Da(),d=d.Da();for(;!d.Ua();)0>=a.cmp(c)&&(b=b.add(d),c=c.sub(a)),a=a.La(),d=d.La();return [b,c]};T.prototype.div=T.prototype.Xa;T.prototype.toString=function(){for(var a="",b=this;!b.Ua();){b=b.Xa(10);var c=b[0];a=b[1].lo+a;b=c;}""==a&&(a="0");return a};T.prototype.toString=T.prototype.toString;
130
+ function U(a){for(var b=new T(0,0),c=new T(0,0),d=0;d<a.length;d++){if("0">a[d]||"9"<a[d])return null;c.lo=parseInt(a[d],10);b=b.eb(10).add(c);}return b}T.fromString=U;T.prototype.clone=function(){return new T(this.lo,this.hi)};T.prototype.clone=T.prototype.clone;function V(a,b){this.lo=a;this.hi=b;}g("jspb.arith.Int64",V,void 0);V.prototype.add=function(a){return new V((this.lo+a.lo&4294967295)>>>0>>>0,((this.hi+a.hi&4294967295)>>>0)+(4294967296<=this.lo+a.lo?1:0)>>>0)};V.prototype.add=V.prototype.add;
131
+ V.prototype.sub=function(a){return new V((this.lo-a.lo&4294967295)>>>0>>>0,((this.hi-a.hi&4294967295)>>>0)-(0>this.lo-a.lo?1:0)>>>0)};V.prototype.sub=V.prototype.sub;V.prototype.clone=function(){return new V(this.lo,this.hi)};V.prototype.clone=V.prototype.clone;V.prototype.toString=function(){var a=0!=(this.hi&2147483648),b=new T(this.lo,this.hi);a&&(b=(new T(0,0)).sub(b));return (a?"-":"")+b.toString()};V.prototype.toString=V.prototype.toString;
132
+ function sb(a){var b=0<a.length&&"-"==a[0];b&&(a=a.substring(1));a=U(a);if(null===a)return null;b&&(a=(new T(0,0)).sub(a));return new V(a.lo,a.hi)}V.fromString=sb;function W(){this.c=[];this.b=0;this.a=new S;this.h=[];}g("jspb.BinaryWriter",W,void 0);function tb(a,b){var c=a.a.end();a.c.push(c);a.c.push(b);a.b+=c.length+b.length;}function X(a,b){Y(a,b,2);b=a.a.end();a.c.push(b);a.b+=b.length;b.push(a.b);return b}function Z(a,b){var c=b.pop();c=a.b+a.a.length()-c;for(n(0<=c);127<c;)b.push(c&127|128),c>>>=7,a.b++;b.push(c);a.b++;}W.prototype.pb=function(a,b,c){tb(this,a.subarray(b,c));};W.prototype.writeSerializedMessage=W.prototype.pb;
133
+ W.prototype.Pb=function(a,b,c){null!=a&&null!=b&&null!=c&&this.pb(a,b,c);};W.prototype.maybeWriteSerializedMessage=W.prototype.Pb;W.prototype.reset=function(){this.c=[];this.a.end();this.b=0;this.h=[];};W.prototype.reset=W.prototype.reset;W.prototype.ab=function(){n(0==this.h.length);for(var a=new Uint8Array(this.b+this.a.length()),b=this.c,c=b.length,d=0,f=0;f<c;f++){var h=b[f];a.set(h,d);d+=h.length;}b=this.a.end();a.set(b,d);d+=b.length;n(d==a.length);this.c=[a];return a};
134
+ W.prototype.getResultBuffer=W.prototype.ab;W.prototype.Kb=function(a){return Ba(this.ab(),a)};W.prototype.getResultBase64String=W.prototype.Kb;W.prototype.Va=function(a){this.h.push(X(this,a));};W.prototype.beginSubMessage=W.prototype.Va;W.prototype.Ya=function(){n(0<=this.h.length);Z(this,this.h.pop());};W.prototype.endSubMessage=W.prototype.Ya;function Y(a,b,c){n(1<=b&&b==Math.floor(b));a.a.j(8*b+c);}
135
+ W.prototype.Nc=function(a,b,c){switch(a){case 1:this.J(b,c);break;case 2:this.L(b,c);break;case 3:this.T(b,c);break;case 4:this.V(b,c);break;case 5:this.S(b,c);break;case 6:this.Qa(b,c);break;case 7:this.Pa(b,c);break;case 8:this.I(b,c);break;case 9:this.U(b,c);break;case 10:p("Group field type not supported in writeAny()");break;case 11:p("Message field type not supported in writeAny()");break;case 12:this.ja(b,c);break;case 13:this.s(b,c);break;case 14:this.R(b,c);break;case 15:this.Ra(b,c);break;
136
+ case 16:this.Sa(b,c);break;case 17:this.rb(b,c);break;case 18:this.sb(b,c);break;case 30:this.K(b,c);break;case 31:this.N(b,c);break;default:p("Invalid field type in writeAny()");}};W.prototype.writeAny=W.prototype.Nc;function ub(a,b,c){null!=c&&(Y(a,b,0),a.a.j(c));}function vb(a,b,c){null!=c&&(Y(a,b,0),a.a.M(c));}W.prototype.S=function(a,b){null!=b&&(n(-2147483648<=b&&2147483648>b),vb(this,a,b));};W.prototype.writeInt32=W.prototype.S;
137
+ W.prototype.ob=function(a,b){null!=b&&(b=parseInt(b,10),n(-2147483648<=b&&2147483648>b),vb(this,a,b));};W.prototype.writeInt32String=W.prototype.ob;W.prototype.T=function(a,b){null!=b&&(n(-9223372036854776e3<=b&&0x7fffffffffffffff>b),null!=b&&(Y(this,a,0),this.a.ua(b)));};W.prototype.writeInt64=W.prototype.T;W.prototype.ka=function(a,b){null!=b&&(b=sb(b),Y(this,a,0),this.a.l(b.lo,b.hi));};W.prototype.writeInt64String=W.prototype.ka;
138
+ W.prototype.s=function(a,b){null!=b&&(n(0<=b&&4294967296>b),ub(this,a,b));};W.prototype.writeUint32=W.prototype.s;W.prototype.ub=function(a,b){null!=b&&(b=parseInt(b,10),n(0<=b&&4294967296>b),ub(this,a,b));};W.prototype.writeUint32String=W.prototype.ub;W.prototype.V=function(a,b){null!=b&&(n(0<=b&&1.8446744073709552E19>b),null!=b&&(Y(this,a,0),this.a.va(b)));};W.prototype.writeUint64=W.prototype.V;W.prototype.vb=function(a,b){null!=b&&(b=U(b),Y(this,a,0),this.a.l(b.lo,b.hi));};
139
+ W.prototype.writeUint64String=W.prototype.vb;W.prototype.rb=function(a,b){null!=b&&(n(-2147483648<=b&&2147483648>b),null!=b&&(Y(this,a,0),this.a.wa(b)));};W.prototype.writeSint32=W.prototype.rb;W.prototype.sb=function(a,b){null!=b&&(n(-9223372036854776e3<=b&&0x7fffffffffffffff>b),null!=b&&(Y(this,a,0),this.a.xa(b)));};W.prototype.writeSint64=W.prototype.sb;W.prototype.$d=function(a,b){null!=b&&null!=b&&(Y(this,a,0),this.a.W(b));};W.prototype.writeSintHash64=W.prototype.$d;
140
+ W.prototype.Zd=function(a,b){null!=b&&null!=b&&(Y(this,a,0),this.a.Ta(b));};W.prototype.writeSint64String=W.prototype.Zd;W.prototype.Pa=function(a,b){null!=b&&(n(0<=b&&4294967296>b),Y(this,a,5),this.a.s(b));};W.prototype.writeFixed32=W.prototype.Pa;W.prototype.Qa=function(a,b){null!=b&&(n(0<=b&&1.8446744073709552E19>b),Y(this,a,1),this.a.V(b));};W.prototype.writeFixed64=W.prototype.Qa;W.prototype.nb=function(a,b){null!=b&&(b=U(b),Y(this,a,1),this.a.A(b.lo,b.hi));};W.prototype.writeFixed64String=W.prototype.nb;
141
+ W.prototype.Ra=function(a,b){null!=b&&(n(-2147483648<=b&&2147483648>b),Y(this,a,5),this.a.S(b));};W.prototype.writeSfixed32=W.prototype.Ra;W.prototype.Sa=function(a,b){null!=b&&(n(-9223372036854776e3<=b&&0x7fffffffffffffff>b),Y(this,a,1),this.a.T(b));};W.prototype.writeSfixed64=W.prototype.Sa;W.prototype.qb=function(a,b){null!=b&&(b=sb(b),Y(this,a,1),this.a.A(b.lo,b.hi));};W.prototype.writeSfixed64String=W.prototype.qb;W.prototype.L=function(a,b){null!=b&&(Y(this,a,5),this.a.L(b));};
142
+ W.prototype.writeFloat=W.prototype.L;W.prototype.J=function(a,b){null!=b&&(Y(this,a,1),this.a.J(b));};W.prototype.writeDouble=W.prototype.J;W.prototype.I=function(a,b){null!=b&&(n("boolean"===typeof b||"number"===typeof b),Y(this,a,0),this.a.I(b));};W.prototype.writeBool=W.prototype.I;W.prototype.R=function(a,b){null!=b&&(n(-2147483648<=b&&2147483648>b),Y(this,a,0),this.a.M(b));};W.prototype.writeEnum=W.prototype.R;W.prototype.U=function(a,b){null!=b&&(a=X(this,a),this.a.U(b),Z(this,a));};
143
+ W.prototype.writeString=W.prototype.U;W.prototype.ja=function(a,b){null!=b&&(b=Ua(b),Y(this,a,2),this.a.j(b.length),tb(this,b));};W.prototype.writeBytes=W.prototype.ja;W.prototype.Rc=function(a,b,c){null!=b&&(a=X(this,a),c(b,this),Z(this,a));};W.prototype.writeMessage=W.prototype.Rc;W.prototype.Sc=function(a,b,c){null!=b&&(Y(this,1,3),Y(this,2,0),this.a.M(a),a=X(this,3),c(b,this),Z(this,a),Y(this,1,4));};W.prototype.writeMessageSet=W.prototype.Sc;
144
+ W.prototype.Oc=function(a,b,c){null!=b&&(Y(this,a,3),c(b,this),Y(this,a,4));};W.prototype.writeGroup=W.prototype.Oc;W.prototype.K=function(a,b){null!=b&&(n(8==b.length),Y(this,a,1),this.a.K(b));};W.prototype.writeFixedHash64=W.prototype.K;W.prototype.N=function(a,b){null!=b&&(n(8==b.length),Y(this,a,0),this.a.N(b));};W.prototype.writeVarintHash64=W.prototype.N;W.prototype.A=function(a,b,c){Y(this,a,1);this.a.A(b,c);};W.prototype.writeSplitFixed64=W.prototype.A;
145
+ W.prototype.l=function(a,b,c){Y(this,a,0);this.a.l(b,c);};W.prototype.writeSplitVarint64=W.prototype.l;W.prototype.tb=function(a,b,c){Y(this,a,0);var d=this.a;Ja(b,c,function(f,h){d.l(f>>>0,h>>>0);});};W.prototype.writeSplitZigzagVarint64=W.prototype.tb;W.prototype.Ed=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)vb(this,a,b[c]);};W.prototype.writeRepeatedInt32=W.prototype.Ed;W.prototype.Fd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ob(a,b[c]);};
146
+ W.prototype.writeRepeatedInt32String=W.prototype.Fd;W.prototype.Gd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.ua(d));}};W.prototype.writeRepeatedInt64=W.prototype.Gd;W.prototype.Qd=function(a,b,c,d){if(null!=b)for(var f=0;f<b.length;f++)this.A(a,c(b[f]),d(b[f]));};W.prototype.writeRepeatedSplitFixed64=W.prototype.Qd;W.prototype.Rd=function(a,b,c,d){if(null!=b)for(var f=0;f<b.length;f++)this.l(a,c(b[f]),d(b[f]));};
147
+ W.prototype.writeRepeatedSplitVarint64=W.prototype.Rd;W.prototype.Sd=function(a,b,c,d){if(null!=b)for(var f=0;f<b.length;f++)this.tb(a,c(b[f]),d(b[f]));};W.prototype.writeRepeatedSplitZigzagVarint64=W.prototype.Sd;W.prototype.Hd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ka(a,b[c]);};W.prototype.writeRepeatedInt64String=W.prototype.Hd;W.prototype.Ud=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)ub(this,a,b[c]);};W.prototype.writeRepeatedUint32=W.prototype.Ud;
148
+ W.prototype.Vd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ub(a,b[c]);};W.prototype.writeRepeatedUint32String=W.prototype.Vd;W.prototype.Wd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.va(d));}};W.prototype.writeRepeatedUint64=W.prototype.Wd;W.prototype.Xd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.vb(a,b[c]);};W.prototype.writeRepeatedUint64String=W.prototype.Xd;
149
+ W.prototype.Md=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.wa(d));}};W.prototype.writeRepeatedSint32=W.prototype.Md;W.prototype.Nd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.xa(d));}};W.prototype.writeRepeatedSint64=W.prototype.Nd;W.prototype.Od=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.Ta(d));}};W.prototype.writeRepeatedSint64String=W.prototype.Od;
150
+ W.prototype.Pd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Y(this,a,0),this.a.W(d));}};W.prototype.writeRepeatedSintHash64=W.prototype.Pd;W.prototype.yd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.Pa(a,b[c]);};W.prototype.writeRepeatedFixed32=W.prototype.yd;W.prototype.zd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.Qa(a,b[c]);};W.prototype.writeRepeatedFixed64=W.prototype.zd;
151
+ W.prototype.Ad=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.nb(a,b[c]);};W.prototype.writeRepeatedFixed64String=W.prototype.Ad;W.prototype.Jd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.Ra(a,b[c]);};W.prototype.writeRepeatedSfixed32=W.prototype.Jd;W.prototype.Kd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.Sa(a,b[c]);};W.prototype.writeRepeatedSfixed64=W.prototype.Kd;W.prototype.Ld=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.qb(a,b[c]);};
152
+ W.prototype.writeRepeatedSfixed64String=W.prototype.Ld;W.prototype.Cd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.L(a,b[c]);};W.prototype.writeRepeatedFloat=W.prototype.Cd;W.prototype.wd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.J(a,b[c]);};W.prototype.writeRepeatedDouble=W.prototype.wd;W.prototype.ud=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.I(a,b[c]);};W.prototype.writeRepeatedBool=W.prototype.ud;
153
+ W.prototype.xd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.R(a,b[c]);};W.prototype.writeRepeatedEnum=W.prototype.xd;W.prototype.Td=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.U(a,b[c]);};W.prototype.writeRepeatedString=W.prototype.Td;W.prototype.vd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ja(a,b[c]);};W.prototype.writeRepeatedBytes=W.prototype.vd;W.prototype.Id=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++){var f=X(this,a);c(b[d],this);Z(this,f);}};
154
+ W.prototype.writeRepeatedMessage=W.prototype.Id;W.prototype.Dd=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++)Y(this,a,3),c(b[d],this),Y(this,a,4);};W.prototype.writeRepeatedGroup=W.prototype.Dd;W.prototype.Bd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.K(a,b[c]);};W.prototype.writeRepeatedFixedHash64=W.prototype.Bd;W.prototype.Yd=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.N(a,b[c]);};W.prototype.writeRepeatedVarintHash64=W.prototype.Yd;
155
+ W.prototype.ad=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.M(b[c]);Z(this,a);}};W.prototype.writePackedInt32=W.prototype.ad;W.prototype.bd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.M(parseInt(b[c],10));Z(this,a);}};W.prototype.writePackedInt32String=W.prototype.bd;W.prototype.cd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.ua(b[c]);Z(this,a);}};W.prototype.writePackedInt64=W.prototype.cd;
156
+ W.prototype.md=function(a,b,c,d){if(null!=b){a=X(this,a);for(var f=0;f<b.length;f++)this.a.A(c(b[f]),d(b[f]));Z(this,a);}};W.prototype.writePackedSplitFixed64=W.prototype.md;W.prototype.nd=function(a,b,c,d){if(null!=b){a=X(this,a);for(var f=0;f<b.length;f++)this.a.l(c(b[f]),d(b[f]));Z(this,a);}};W.prototype.writePackedSplitVarint64=W.prototype.nd;W.prototype.od=function(a,b,c,d){if(null!=b){a=X(this,a);for(var f=this.a,h=0;h<b.length;h++)Ja(c(b[h]),d(b[h]),function(m,t){f.l(m>>>0,t>>>0);});Z(this,a);}};
157
+ W.prototype.writePackedSplitZigzagVarint64=W.prototype.od;W.prototype.dd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++){var d=sb(b[c]);this.a.l(d.lo,d.hi);}Z(this,a);}};W.prototype.writePackedInt64String=W.prototype.dd;W.prototype.pd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.j(b[c]);Z(this,a);}};W.prototype.writePackedUint32=W.prototype.pd;
158
+ W.prototype.qd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.j(parseInt(b[c],10));Z(this,a);}};W.prototype.writePackedUint32String=W.prototype.qd;W.prototype.rd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.va(b[c]);Z(this,a);}};W.prototype.writePackedUint64=W.prototype.rd;W.prototype.sd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++){var d=U(b[c]);this.a.l(d.lo,d.hi);}Z(this,a);}};
159
+ W.prototype.writePackedUint64String=W.prototype.sd;W.prototype.hd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.wa(b[c]);Z(this,a);}};W.prototype.writePackedSint32=W.prototype.hd;W.prototype.jd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.xa(b[c]);Z(this,a);}};W.prototype.writePackedSint64=W.prototype.jd;W.prototype.kd=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.W(H(b[c]));Z(this,a);}};
160
+ W.prototype.writePackedSint64String=W.prototype.kd;W.prototype.ld=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.W(b[c]);Z(this,a);}};W.prototype.writePackedSintHash64=W.prototype.ld;W.prototype.Wc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(4*b.length),a=0;a<b.length;a++)this.a.s(b[a]);};W.prototype.writePackedFixed32=W.prototype.Wc;W.prototype.Xc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++)this.a.V(b[a]);};
161
+ W.prototype.writePackedFixed64=W.prototype.Xc;W.prototype.Yc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++){var c=U(b[a]);this.a.A(c.lo,c.hi);}};W.prototype.writePackedFixed64String=W.prototype.Yc;W.prototype.ed=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(4*b.length),a=0;a<b.length;a++)this.a.S(b[a]);};W.prototype.writePackedSfixed32=W.prototype.ed;
162
+ W.prototype.fd=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++)this.a.T(b[a]);};W.prototype.writePackedSfixed64=W.prototype.fd;W.prototype.gd=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++)this.a.ka(b[a]);};W.prototype.writePackedSfixed64String=W.prototype.gd;W.prototype.$c=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(4*b.length),a=0;a<b.length;a++)this.a.L(b[a]);};W.prototype.writePackedFloat=W.prototype.$c;
163
+ W.prototype.Uc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++)this.a.J(b[a]);};W.prototype.writePackedDouble=W.prototype.Uc;W.prototype.Tc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(b.length),a=0;a<b.length;a++)this.a.I(b[a]);};W.prototype.writePackedBool=W.prototype.Tc;W.prototype.Vc=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.R(b[c]);Z(this,a);}};W.prototype.writePackedEnum=W.prototype.Vc;
164
+ W.prototype.Zc=function(a,b){if(null!=b&&b.length)for(Y(this,a,2),this.a.j(8*b.length),a=0;a<b.length;a++)this.a.K(b[a]);};W.prototype.writePackedFixedHash64=W.prototype.Zc;W.prototype.td=function(a,b){if(null!=b&&b.length){a=X(this,a);for(var c=0;c<b.length;c++)this.a.N(b[c]);Z(this,a);}};W.prototype.writePackedVarintHash64=W.prototype.td;(exports$1.debug=R,exports$1.Map=r,exports$1.Message=N,exports$1.BinaryReader=J,exports$1.BinaryWriter=W,exports$1.ExtensionFieldInfo=Ya,exports$1.ExtensionFieldBinaryInfo=Za,exports$1.exportSymbol=ma,exports$1.inherits=na,exports$1.object={extend:pa},exports$1.typeOf=k);
543
165
  } (googleProtobuf));
544
166
  return googleProtobuf;
545
167
  }
@@ -567,7 +189,13 @@ function requireTimestamp_pb () {
567
189
 
568
190
  var jspb = requireGoogleProtobuf();
569
191
  var goog = jspb;
570
- var global = globalThis;
192
+ var global =
193
+ (typeof globalThis !== 'undefined' && globalThis) ||
194
+ (typeof window !== 'undefined' && window) ||
195
+ (typeof global !== 'undefined' && global) ||
196
+ (typeof self !== 'undefined' && self) ||
197
+ (function () { return this; }).call(null) ||
198
+ Function('return this')();
571
199
 
572
200
  goog.exportSymbol('proto.google.protobuf.Timestamp', null, global);
573
201
  /**
@@ -637,7 +265,7 @@ function requireTimestamp_pb () {
637
265
 
638
266
  /**
639
267
  * Deserializes binary data (in protobuf wire format).
640
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
268
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
641
269
  * @return {!proto.google.protobuf.Timestamp}
642
270
  */
643
271
  proto.google.protobuf.Timestamp.deserializeBinary = function(bytes) {
@@ -4394,6 +4022,67 @@ function requireParallax_gateway_pb () {
4394
4022
 
4395
4023
  var parallax_gateway_pbExports = requireParallax_gateway_pb();
4396
4024
 
4025
+ var grpcWeb = {};
4026
+
4027
+ /*
4028
+
4029
+ Copyright The Closure Library Authors.
4030
+ SPDX-License-Identifier: Apache-2.0
4031
+ */
4032
+
4033
+ var hasRequiredGrpcWeb;
4034
+
4035
+ function requireGrpcWeb () {
4036
+ if (hasRequiredGrpcWeb) return grpcWeb;
4037
+ hasRequiredGrpcWeb = 1;
4038
+ var n,p=p||{},q=grpcWeb||self;function r(a,b){a=a.split(".");b=b||q;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function t(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function ca(a,b,c){return a.call.apply(a.bind,arguments)}
4039
+ function da(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function w(a,b,c){w=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ca:da;return w.apply(null,arguments)}
4040
+ function x(a,b){function c(){}c.prototype=b.prototype;a.N=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.aa=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)};}class ea{constructor(a){this.g=a||{};}get(a){return this.g[a]}}class fa{constructor(a,b,c){var d=new ea;this.j=a;this.h=b;this.g=c;this.i=d;}getRequestMessage(){return this.j}getMethodDescriptor(){return this.h}getMetadata(){return this.g}getCallOptions(){return this.i}}class ha{constructor(a,b,c={},d=null){this.i=a;this.g=c;this.h=b;this.j=d;}getResponseMessage(){return this.i}getMetadata(){return this.g}getMethodDescriptor(){return this.h}getStatus(){return this.j}}function ia(a,b,c={}){return new fa(b,a,c)}function ja(a,b,c={},d=null){return new ha(b,a,c,d)}const ka=class{constructor(a,b,c,d,e,g){this.name=a;this.g=e;this.h=g;}getName(){return this.name}};ka.prototype.getName=ka.prototype.getName;class la{constructor(a){this.g=a;}on(a,b){return a=="data"||a=="error"?this:this.g.on(a,b)}removeListener(a,b){return this.g.removeListener(a,b)}cancel(){this.g.cancel();}}function ma(a){switch(a){case 0:return "No Error";case 1:return "Access denied to content document";case 2:return "File not found";case 3:return "Firefox silently errored";case 4:return "Application custom error";case 5:return "An exception occurred";case 6:return "Http response at 400 or 500 level";case 7:return "Request was aborted";case 8:return "Request timed out";case 9:return "The resource is not available offline";default:return "Unrecognized error code"}}function y(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,y);else {const c=Error().stack;c&&(this.stack=c);}a&&(this.message=String(a));b!==void 0&&(this.cause=b);}x(y,Error);y.prototype.name="CustomError";function na(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");y.call(this,c+a[d]);}x(na,y);na.prototype.name="AssertionError";function oa(a,b){throw new na("Failure"+(": "+a),Array.prototype.slice.call(arguments,1));}function pa(a,b){function c(l){l==qa?f.o=l:l==B?f.o=l:ra(f,h,k,"invalid frame byte");f.h=sa;f.g=0;f.l=0;}function d(l){f.l++;f.g=(f.g<<8)+l;f.l==4&&(f.h=ta,f.m=0,typeof Uint8Array!=="undefined"?f.i=new Uint8Array(f.g):f.i=Array(f.g),f.g==0&&g());}function e(l){f.i[f.m++]=l;f.m==f.g&&g();}function g(){var l={};l[f.o]=f.i;f.j.push(l);f.h=ua;}var f=a,h,k=0;for(b instanceof Uint8Array||b instanceof Array?h=b:h=new Uint8Array(b);k<h.length;){switch(f.h){case va:ra(f,h,k,"stream already broken");break;case ua:c(h[k]);
4041
+ break;case sa:d(h[k]);break;case ta:e(h[k]);break;default:throw Error("unexpected parser state: "+f.h);}f.v++;k++;}a=f.j;f.j=[];return a.length>0?a:null}class wa{constructor(){this.u=null;this.j=[];this.v=0;this.h=ua;this.l=this.g=this.o=0;this.i=null;this.m=0;}}var ua=0,sa=1,ta=2,va=3,qa=0,B=128;function ra(a,b,c,d){a.h=va;a.u="The stream is broken @"+a.v+"/"+c+". Error: "+d+". With input:\n"+b;throw Error(a.u);}function xa(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}
4042
+ function ya(a){switch(a){case 0:return "OK";case 1:return "CANCELLED";case 2:return "UNKNOWN";case 3:return "INVALID_ARGUMENT";case 4:return "DEADLINE_EXCEEDED";case 5:return "NOT_FOUND";case 6:return "ALREADY_EXISTS";case 7:return "PERMISSION_DENIED";case 16:return "UNAUTHENTICATED";case 8:return "RESOURCE_EXHAUSTED";case 9:return "FAILED_PRECONDITION";case 10:return "ABORTED";case 11:return "OUT_OF_RANGE";case 12:return "UNIMPLEMENTED";case 13:return "INTERNAL";case 14:return "UNAVAILABLE";case 15:return "DATA_LOSS";
4043
+ default:return ""}}class C extends Error{constructor(a,b,c={}){super(b);this.code=a;this.metadata=c;}toString(){let a=`RpcError(${ya(this.code)||String(this.code)})`;this.message&&(a+=": "+this.message);return a}}C.prototype.name="RpcError";const za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return -1};function Aa(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}function D(a){return Aa().indexOf(a)!=-1}function Ba(a){Ba[" "](a);return a}Ba[" "]=function(){};var Ca=D("Trident")||D("MSIE"),Da=D("Gecko")&&!(Aa().toLowerCase().indexOf("webkit")!=-1&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge");var Fa=class{constructor(a){if(Ea!==Ea)throw Error("SafeUrl is not meant to be built directly");this.g=a;}toString(){return this.g.toString()}},Ea={};new Fa("about:invalid#zClosurez");new Fa("about:blank");const Ga={};class Ha{constructor(){if(Ga!==Ga)throw Error("SafeStyle is not meant to be built directly");}toString(){return "".toString()}}new Ha;function Ia(a,b){for(const c in a)b.call(void 0,a[c],c,a);}function Ja(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c}const Ka="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function La(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let g=0;g<Ka.length;g++)c=Ka[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c]);}}const Ma={};class Na{constructor(){if(Ma!==Ma)throw Error("SafeStyleSheet is not meant to be built directly");}toString(){return "".toString()}}new Na;const Oa={};class Pa{constructor(){var a=q.trustedTypes&&q.trustedTypes.emptyHTML||"";if(Oa!==Oa)throw Error("SafeHtml is not meant to be built directly");this.g=a;}toString(){return this.g.toString()}}new Pa;function Qa(a){var b=1;a=a.split(":");const c=[];for(;b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c}function E(){this.v=this.v;this.o=this.o;}var Ra=0;E.prototype.v=false;E.prototype.dispose=function(){if(!this.v&&(this.v=true,this.C(),0!=Ra));};E.prototype.C=function(){if(this.o)for(;this.o.length;)this.o.shift()();};var Ta=Object.freeze||function(a){return a};function F(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=false;}F.prototype.h=function(){this.defaultPrevented=true;};var Ua=function(){if(!q.addEventListener||!Object.defineProperty)return false;var a=false,b=Object.defineProperty({},"passive",{get:function(){a=true;}});try{const c=()=>{};q.addEventListener("test",c,b);q.removeEventListener("test",c,b);}catch(c){}return a}();function G(a,b){F.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=false;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b);}x(G,F);var Va=Ta({2:"touch",3:"pen",4:"mouse"});
4044
+ G.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;if(b=a.relatedTarget){if(Da){a:{try{Ba(b.nodeName);var e=!0;break a}catch(g){}e=false;}e||(b=null);}}else c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||
4045
+ 0):(this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:Va[a.pointerType]||"";this.state=a.state;this.i=a;a.defaultPrevented&&G.N.h.call(this);};
4046
+ G.prototype.h=function(){G.N.h.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=false;};var H="closure_listenable_"+(Math.random()*1E6|0);var Wa=0;function Xa(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.M=e;this.key=++Wa;this.D=this.L=false;}function I(a){a.D=true;a.listener=null;a.proxy=null;a.src=null;a.M=null;}function J(a){this.src=a;this.g={};this.h=0;}J.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.h++);var f=Ya(a,b,d,e);f>-1?(b=a[f],c||(b.L=false)):(b=new Xa(b,this.src,g,!!d,e),b.L=c,a.push(b));return b};function Za(a,b){var c=b.type;if(c in a.g){var d=a.g[c],e=za(d,b),g;(g=e>=0)&&Array.prototype.splice.call(d,e,1);g&&(I(b),a.g[c].length==0&&(delete a.g[c],a.h--));}}
4047
+ function Ya(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.D&&g.listener==b&&g.capture==!!c&&g.M==d)return e}return -1}var $a="closure_lm_"+(Math.random()*1E6|0),ab={};function cb(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)cb(a,b[g],c,d,e);else c=eb(c),a&&a[H]?a.j.add(String(b),c,false,t(d)?!!d.capture:false,e):fb(a,b,c,false,d,e);}
4048
+ function fb(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,h=gb(a);h||(a[$a]=h=new J(a));c=h.add(b,c,d,f,g);if(!c.proxy){d=hb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ua||(e=f),e===void 0&&(e=false),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(mb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");}}
4049
+ function hb(){function a(c){return b.call(a.src,a.listener,c)}const b=nb;return a} function ob(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ob(a,b[g],c,d,e);else (d=t(d)?!!d.capture:!!d,c=eb(c),a&&a[H])?(a=a.j,b=String(b).toString(),b in a.g&&(g=a.g[b],c=Ya(g,c,d,e),c>-1&&(I(g[c]),Array.prototype.splice.call(g,c,1),g.length==0&&(delete a.g[b],a.h--)))):a&&(a=gb(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Ya(b,c,d,e)),(c=a>-1?b[a]:null)&&pb(c));}
4050
+ function pb(a){if(typeof a!=="number"&&a&&!a.D){var b=a.src;if(b&&b[H])Za(b.j,a);else {var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(mb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);(c=gb(b))?(Za(c,a),c.h==0&&(c.src=null,b[$a]=null)):I(a);}}}function mb(a){return a in ab?ab[a]:ab[a]="on"+a}function nb(a,b){if(a.D)a=true;else {b=new G(b,this);var c=a.listener,d=a.M||a.src;a.L&&pb(a);a=c.call(d,b);}return a}
4051
+ function gb(a){a=a[$a];return a instanceof J?a:null}var qb="__closure_events_fn_"+(Math.random()*1E9>>>0);function eb(a){if(typeof a==="function")return a;a[qb]||(a[qb]=function(b){return a.handleEvent(b)});return a[qb]}function K(){E.call(this);this.j=new J(this);this.W=this;this.S=null;}x(K,E);K.prototype[H]=true;K.prototype.removeEventListener=function(a,b,c,d){ob(this,a,b,c,d);};
4052
+ function L(a,b){var c,d=a.S;if(d)for(c=[];d;d=d.S)c.push(d);a=a.W;d=b.type||b;if(typeof b==="string")b=new F(b,a);else if(b instanceof F)b.target=b.target||a;else {var e=b;b=new F(d,a);La(b,e);}e=true;if(c)for(var g=c.length-1;g>=0;g--){var f=b.g=c[g];e=M(f,d,true,b)&&e;}f=b.g=a;e=M(f,d,true,b)&&e;e=M(f,d,false,b)&&e;if(c)for(g=0;g<c.length;g++)f=b.g=c[g],e=M(f,d,false,b)&&e;}
4053
+ K.prototype.C=function(){K.N.C.call(this);if(this.j){var a=this.j,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)I(d[e]);delete a.g[c];a.h--;}}this.S=null;};function M(a,b,c,d){b=a.j.g[String(b)];if(!b)return true;b=b.concat();for(var e=true,g=0;g<b.length;++g){var f=b[g];if(f&&!f.D&&f.capture==c){var h=f.listener,k=f.M||f.src;f.L&&Za(a.j,f);e=h.call(k,d)!==false&&e;}}return e&&!d.defaultPrevented}var rb=q;function sb(a,b,c){if(typeof a==="function")c&&(a=w(a,c));else if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:rb.setTimeout(a,b||0)}var N=class{constructor(a,b){this.name=a;this.value=b;}toString(){return this.name}},O=new N("OFF",Infinity),tb=new N("SEVERE",1E3),ub=new N("CONFIG",700),vb=new N("FINE",500),yb=class{constructor(a,b,c){this.reset(a||O,b,c,void 0,void 0);}reset(){}};function zb(a){if(a.g)return a.g;if(a.h)return zb(a.h);oa("Root logger has no level set.");return O}function Ab(a,b){for(;a;)a.j.forEach(c=>{c(b);}),a=a.h;}
4054
+ var Bb=class{constructor(a,b=null){this.g=null;this.j=[];this.h=b||null;this.i=[];this.l={getName:()=>a};}};function P(a,b){var c=a.entries[b];if(c)return c;c=P(a,b.slice(0,Math.max(b.lastIndexOf("."),0)));const d=new Bb(b,c);a.entries[b]=d;c.i.push(d);return d}var Cb=class{constructor(){this.entries={};const a=new Bb("");a.g=ub;this.entries[""]=a;}},Db;function Eb(){Db||=new Cb;return Db}
4055
+ function Fb(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?zb(P(Eb(),a.getName())):O;d=d>=e.value;}d&&(b=b||O,d=P(Eb(),a.getName()),typeof c==="function"&&(c=c()),a=a.getName(),a=new yb(b,c,a),Ab(d,a));}function Gb(a,b){a&&Fb(a,tb,b);}function Q(a,b){a&&Fb(a,vb,b);}function Hb(){}Hb.prototype.g=null;function Ib(a){var b;(b=a.g)||(b={},Jb(a)&&(b[0]=true,b[1]=true),b=a.g=b);return b}var Kb;function Lb(){}x(Lb,Hb);function Mb(a){return (a=Jb(a))?new ActiveXObject(a):new XMLHttpRequest}function Jb(a){if(!a.h&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){const b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(let c=0;c<b.length;c++){const d=b[c];try{return new ActiveXObject(d),a.h=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.h}Kb=new Lb;var Nb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function R(a){K.call(this);this.headers=new Map;this.K=a||null;this.i=false;this.J=this.g=null;this.T=this.G="";this.m=0;this.A="";this.l=this.R=this.F=this.P=false;this.u=0;this.H=null;this.B=Ob;this.I=this.O=false;}x(R,K);var Ob="";R.prototype.h=P(Eb(),"goog.net.XhrIo").l;var Pb=/^https?$/i,Qb=["POST","PUT"];
4056
+ function Rb(a,b,c){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.G+"; newUri="+b);a.G=b;a.A="";a.m=0;a.T="POST";a.P=false;a.i=true;a.g=a.K?Mb(a.K):Mb(Kb);a.J=a.K?Ib(a.K):Ib(Kb);a.g.onreadystatechange=w(a.U,a);try{Q(a.h,S(a,"Opening Xhr")),a.R=!0,a.g.open("POST",String(b),!0),a.R=!1;}catch(g){Q(a.h,S(a,"Error opening Xhr: "+g.message));Sb(a,g);return}b=c||"";c=new Map(a.headers);const d=Array.from(c.keys()).find(g=>"content-type"==g.toLowerCase()),e=q.FormData&&b instanceof
4057
+ q.FormData;!(za(Qb,"POST")>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const [g,f]of c)a.g.setRequestHeader(g,f);a.B&&(a.g.responseType=a.B);"withCredentials"in a.g&&a.g.withCredentials!==a.O&&(a.g.withCredentials=a.O);try{Tb(a),a.u>0&&(a.I=Ub(a.g),Q(a.h,S(a,"Will abort after "+a.u+"ms if incomplete, xhr2 "+a.I)),a.I?(a.g.timeout=a.u,a.g.ontimeout=w(a.V,a)):a.H=sb(a.V,a.u,a)),Q(a.h,S(a,"Sending request")),a.F=!0,a.g.send(b),a.F=!1;}catch(g){Q(a.h,S(a,"Send error: "+
4058
+ g.message)),Sb(a,g);}}function Ub(a){return Ca&&typeof a.timeout==="number"&&a.ontimeout!==void 0}n=R.prototype;n.V=function(){typeof p!="undefined"&&this.g&&(this.A="Timed out after "+this.u+"ms, aborting",this.m=8,Q(this.h,S(this,this.A)),L(this,"timeout"),this.abort(8));};function Sb(a,b){a.i=false;a.g&&(a.l=true,a.g.abort(),a.l=false);a.A=b;a.m=5;Vb(a);T(a);}function Vb(a){a.P||(a.P=true,L(a,"complete"),L(a,"error"));}
4059
+ n.abort=function(a){this.g&&this.i&&(Q(this.h,S(this,"Aborting")),this.i=false,this.l=true,this.g.abort(),this.l=false,this.m=a||7,L(this,"complete"),L(this,"abort"),T(this));};n.C=function(){this.g&&(this.i&&(this.i=false,this.l=true,this.g.abort(),this.l=false),T(this,true));R.N.C.call(this);};n.U=function(){this.v||(this.R||this.F||this.l?Wb(this):this.X());};n.X=function(){Wb(this);};
4060
+ function Wb(a){if(a.i&&typeof p!="undefined")if(a.J[1]&&U(a)==4&&a.getStatus()==2)Q(a.h,S(a,"Local request error detected and ignored"));else if(a.F&&U(a)==4)sb(a.U,0,a);else if(L(a,"readystatechange"),U(a)==4){Q(a.h,S(a,"Request complete"));a.i=false;try{const f=a.getStatus();a:switch(f){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1;}var c;if(!(c=b)){var d;if(d=f===0){var e=String(a.G).match(Nb)[1]||null;!e&&q.self&&q.self.location&&(e=q.self.location.protocol.slice(0,
4061
+ -1));d=!Pb.test(e?e.toLowerCase():"");}c=d;}if(c)L(a,"complete"),L(a,"success");else {a.m=6;try{var g=U(a)>2?a.g.statusText:"";}catch(h){Q(a.h,"Can not get status: "+h.message),g="";}a.A=g+" ["+a.getStatus()+"]";Vb(a);}}finally{T(a);}}}function T(a,b){if(a.g){Tb(a);const c=a.g,d=a.J[0]?()=>{}:null;a.g=null;a.J=null;b||L(a,"ready");try{c.onreadystatechange=d;}catch(e){Gb(a.h,"Problem encountered resetting onreadystatechange: "+e.message);}}}
4062
+ function Tb(a){a.g&&a.I&&(a.g.ontimeout=null);a.H&&(rb.clearTimeout(a.H),a.H=null);}n.isActive=function(){return !!this.g};function U(a){return a.g?a.g.readyState:0}n.getStatus=function(){try{return U(this)>2?this.g.status:-1}catch(a){return -1}};
4063
+ function Xb(a){try{if(!a.g)return null;if("response"in a.g)return a.g.response;switch(a.B){case Ob:case "text":return a.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.g)return a.g.mozResponseArrayBuffer}Gb(a.h,"Response type "+a.B+" is not supported on this browser");return null}catch(b){return Q(a.h,"Can not get response: "+b.message),null}}
4064
+ function Yb(a){const b={};a=(a.g&&U(a)>=2?a.g.getAllResponseHeaders()||"":"").split("\r\n");for(let d=0;d<a.length;d++){if(/^[\s\xa0]*$/.test(a[d]))continue;var c=Qa(a[d]);const e=c[0];c=c[1];if(typeof c!=="string")continue;c=c.trim();const g=b[e]||[];b[e]=g;g.push(c);}return Ja(b,function(d){return d.join(", ")})}function S(a,b){return b+" ["+a.T+" "+a.G+" "+a.getStatus()+"]"}var Zb={},V=null;function $b(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):"=.".indexOf(a[b-1])!=-1&&(c="=.".indexOf(a[b-2])!=-1?c-2:c-1);var d=new Uint8Array(c),e=0;ac(a,function(g){d[e++]=g;});return e!==c?d.subarray(0,e):d}
4065
+ function ac(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),m=V[l];if(m!=null)return m;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}bc();for(var d=0;;){var e=c(-1),g=c(0),f=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|g>>4);f!=64&&(b(g<<4&240|f>>2),h!=64&&b(f<<6&192|h));}}
4066
+ function bc(){if(!V){V={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Zb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];V[g]===void 0&&(V[g]=e);}}}}const cc=["content-type","grpc-status","grpc-message"];function W(a,b){if(b.code!=0){var c=new C(b.code,decodeURIComponent(b.message||""),b.metadata);for(let d=0;d<a.j.length;d++)a.j[d](c);}b={code:b.code,details:decodeURIComponent(b.message||""),metadata:b.metadata};for(c=0;c<a.m.length;c++)a.m[c](b);}function dc(a,b){for(let c=0;c<a.l.length;c++)a.l[c](b);}function ec(a){for(let b=0;b<a.i.length;b++)a.i[b]();}function X(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1);}
4067
+ class Y{constructor(a){this.g=a.$;this.v=null;this.h=[];this.m=[];this.l=[];this.j=[];this.i=[];this.u=false;this.o=0;this.A=new wa;const b=this;cb(this.g,"readystatechange",function(){var c=b.g;if(c=c.g?c.g.getResponseHeader("Content-Type"):null){c=c.toLowerCase();if(c.lastIndexOf("application/grpc-web-text",0)==0){c=b.g;try{var d=c.g?c.g.responseText:"";}catch(h){Q(c.h,"Can not get responseText: "+h.message),d="";}c=d||"";d=c.length-c.length%4;c=c.substr(b.o,d-b.o);if(c.length==0)return;b.o=d;c=$b(c);}else if(c.lastIndexOf("application/grpc",
4068
+ 0)==0)c=new Uint8Array(Xb(b.g));else {W(b,new C(2,"Unknown Content-type received."));return}d=null;try{d=pa(b.A,c);}catch(h){W(b,new C(2,"Error in parsing response body"));}if(d)for(c=0;c<d.length;c++){if(qa in d[c]){var e=d[c][qa];if(e){var g=false;let h;try{h=b.v(e),g=!0;}catch(k){W(b,new C(13,`Error when deserializing response data; error: ${k}`+`, response: ${h}`));}if(g){e=b;g=h;for(var f=0;f<e.h.length;f++)e.h[f](g);}}}if(B in d[c]&&d[c][B].length>0){e="";for(g=0;g<d[c][B].length;g++)e+=String.fromCharCode(d[c][B][g]);
4069
+ e=e.trim().split("\r\n");g={};for(f=0;f<e.length;f++){const h=e[f].indexOf(":");g[e[f].substring(0,h).trim()]=e[f].substring(h+1).trim();}e=g;g=0;f="";"grpc-status"in e&&(g=Number(e["grpc-status"]),delete e["grpc-status"]);"grpc-message"in e&&(f=e["grpc-message"],delete e["grpc-message"]);W(b,new C(g,f,e));}}}});cb(this.g,"complete",function(){var c=b.g.m,d=2,e="";const g={};d=Yb(b.g);const f={};for(var h in d)d.hasOwnProperty(h)&&(f[h.toLowerCase()]=d[h]);Object.keys(f).forEach(k=>{cc.includes(k)||
4070
+ (g[k]=f[k]);});dc(b,g);h=-1;if(c!=0){switch(c){case 7:d=10;break;case 8:d=4;break;case 6:h=b.g.getStatus();d=xa(h);break;default:d=14;}d==10&&b.u||(e=ma(c),h!=-1&&(e+=", http status code: "+h),W(b,new C(d,e)));}else c=false,"grpc-status"in f&&(d=Number(f["grpc-status"]),"grpc-message"in f&&(e=f["grpc-message"]),d!=0&&(W(b,new C(d,e||"",f)),c=true)),c||ec(b);});}on(a,b){a=="data"?this.h.push(b):a=="status"?this.m.push(b):a=="metadata"?this.l.push(b):a=="end"?this.i.push(b):a=="error"&&this.j.push(b);return this}removeListener(a,
4071
+ b){a=="data"?X(this.h,b):a=="status"?X(this.m,b):a=="metadata"?X(this.l,b):a=="end"?X(this.i,b):a=="error"&&X(this.j,b);return this}cancel(){this.u=true;this.g.abort();}}Y.prototype.cancel=Y.prototype.cancel;Y.prototype.removeListener=Y.prototype.removeListener;Y.prototype.on=Y.prototype.on;function fc(a){let b="";Ia(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n";});return b}function hc(a,b){return b.reduce((c,d)=>e=>d.intercept(e,c),a)}
4072
+ function ic(a,b,c){let d=false,e=null,g=false;a.on("data",function(f){d=true;e=f;});a.on("error",function(f){f.code==0||g||(g=true,b(f,null));});a.on("status",function(f){f.code==0||g?c&&b(null,null,f):(g=true,b({code:f.code,message:f.details,metadata:f.metadata},null));});if(c)a.on("metadata",function(f){b(null,null,null,f);});a.on("end",function(){g||(d?c?b(null,e,null,null,true):b(null,e):b({code:2,message:"Incomplete response"}));c&&b(null,null);});}
4073
+ function jc(a,b,c){var d=b.getMethodDescriptor(),e=c+d.getName();c=a.i?a.i:new R;c.O=a.j;const g=new Y({$:c});g.v=d.h;var f=b.getMetadata();for(var h in f)c.headers.set(h,f[h]);a.g=="text"?(c.headers.set("Content-Type","application/grpc-web-text"),c.headers.set("Accept","application/grpc-web-text")):c.headers.set("Content-Type","application/grpc-web+proto");c.headers.set("X-User-Agent","grpc-web-javascript/0.1");c.headers.set("X-Grpc-Web","1");c.headers.has("deadline")&&(h=Number(c.headers.get("deadline")),
4074
+ h=Math.ceil(h-(new Date).getTime()),c.headers.delete("deadline"),h===Infinity&&(h=0),h>0&&(c.headers.set("grpc-timeout",h+"m"),c.u=Math.max(0,Math.max(1E3,Math.ceil(h*1.1)))));if(a.l){h=c.headers;f={};for(k of h.keys())f[k]=h.get(k);var k=f;c.headers.clear();b:{for(l in k){var l=false;break b}l=true;}if(!l)if(k=fc(k),typeof e==="string"){if(l=encodeURIComponent("$httpHeaders"),k=k!=null?"="+encodeURIComponent(String(k)):"",l+=k)k=e.indexOf("#"),k<0&&(k=e.length),h=e.indexOf("?"),h<0||h>k?(h=k,f=""):f=e.substring(h+
4075
+ 1,k),e=[e.slice(0,h),f,e.slice(k)],k=e[1],e[1]=l?k?k+"&"+l:l:k,e=e[0]+(e[1]?"?"+e[1]:"")+e[2];}else e.g("$httpHeaders",k);}b=(0, d.g)(b.getRequestMessage());d=b.length;l=[0,0,0,0];k=new Uint8Array(5+d);for(h=3;h>=0;h--)l[h]=d%256,d>>>=8;k.set(new Uint8Array(l),1);k.set(b,5);b=k;if(a.g=="text"){a=b;var m;m===void 0&&(m=0);bc();m=Zb[m];b=Array(Math.floor(a.length/3));d=m[64]||"";for(l=k=0;k<a.length-2;k+=3){var z=a[k],A=a[k+1];f=a[k+2];h=m[z>>2];z=m[(z&3)<<4|A>>4];A=m[(A&15)<<2|f>>6];f=m[f&63];b[l++]=
4076
+ h+z+A+f;}h=0;f=d;switch(a.length-k){case 2:h=a[k+1],f=m[(h&15)<<2]||d;case 1:a=a[k],b[l]=m[a>>2]+m[(a&3)<<4|h>>4]+f+d;}b=b.join("");}else a.g=="binary"&&(c.B="arraybuffer");Rb(c,e,b);return g}
4077
+ function kc(a,b,c,d,e,g={}){const f=b.substr(0,b.length-e.name.length),h=g&&g.signal;return hc(k=>new Promise((l,m)=>{if(h&&h.aborted){const v=new C(1,"Aborted");v.cause=h.reason;m(v);}else {var z=jc(a,k,f),A,ib,jb;ic(z,(v,lc,kb,lb,mc)=>{v?m(v):mc?jb=lc:kb?ib=kb:lb?A=lb:l(ja(k.getMethodDescriptor(),jb,A,ib));},true);h&&h.addEventListener("abort",()=>{z.cancel();const v=new C(1,"Aborted");v.cause=h.reason;m(v);});}}),a.m).call(a,ia(e,c,d)).then(k=>k.getResponseMessage())}
4078
+ class Z{constructor(a={},b){this.g=a.format||r("format",a)||"text";this.l=a.ca||r("suppressCorsPreflight",a)||false;this.j=a.withCredentials||r("withCredentials",a)||false;this.h=a.ba||r("streamInterceptors",a)||[];this.m=a.da||r("unaryInterceptors",a)||[];this.i=b||null;}Y(a,b,c,d,e){const g=a.substr(0,a.length-d.name.length);a=hc(f=>jc(this,f,g),this.h).call(this,ia(d,b,c));ic(a,e,false);return new la(a)}unaryCall(a,b,c,d,e={}){return kc(this,a,b,c,d,e)}Z(a,b,c,d){const e=a.substr(0,a.length-d.name.length);
4079
+ return hc(g=>jc(this,g,e),this.h).call(this,ia(d,b,c))}}Z.prototype.serverStreaming=Z.prototype.Z;Z.prototype.unaryCall=Z.prototype.unaryCall;Z.prototype.rpcCall=Z.prototype.Y;grpcWeb.CallOptions=ea;grpcWeb.MethodDescriptor=ka;grpcWeb.GrpcWebClientBase=Z;grpcWeb.RpcError=C;grpcWeb.StatusCode={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15};grpcWeb.MethodType={UNARY:"unary",SERVER_STREAMING:"server_streaming",BIDI_STREAMING:"bidi_streaming"};
4080
+ rb=typeof globalThis!=="undefined"&&globalThis||self;
4081
+ return grpcWeb;
4082
+ }
4083
+
4084
+ var grpcWebExports = requireGrpcWeb();
4085
+
4397
4086
  /**
4398
4087
  * @fileoverview gRPC-Web generated client stub for gateway.parallax.v1
4399
4088
  * @enhanceable
@@ -4540,6 +4229,7 @@ class ParallaxGatewayServiceClient {
4540
4229
  }
4541
4230
  }
4542
4231
 
4232
+ // Parallax SDK Web Client
4543
4233
  const GRPC_GATEWAY_API_URL = "https://gateway-parallax-dev.platform.svc.cluster.local:50053";
4544
4234
  const debugIssue = (trace, error) => {
4545
4235
  // Handle our own debugging / logging here
@@ -4573,6 +4263,131 @@ class ParallaxClient {
4573
4263
  // Initialize the gRPC-Web client
4574
4264
  this.client = new ParallaxGatewayServiceClient(this.apiUrl, credentials);
4575
4265
  }
4266
+ /**
4267
+ * Gather client metadata for traces/spans
4268
+ * Returns a metadata object with client environment details
4269
+ * This includes browser, OS, screen size, IP address, and more
4270
+ * @returns metadata
4271
+ */
4272
+ async getClientMetadata() {
4273
+ const metadata = {};
4274
+ // Browser info
4275
+ metadata.userAgent = navigator.userAgent;
4276
+ metadata.platform = navigator.platform;
4277
+ metadata.language = navigator.language;
4278
+ // Screen info
4279
+ metadata.screenWidth = window.screen.width.toString();
4280
+ metadata.screenHeight = window.screen.height.toString();
4281
+ metadata.viewportWidth = window.innerWidth.toString();
4282
+ metadata.viewportHeight = window.innerHeight.toString();
4283
+ // Try to get IP address (non-blocking)
4284
+ // Note: This may be blocked by Content Security Policy (CSP)
4285
+ // If blocked, the backend should capture IP from request headers instead
4286
+ try {
4287
+ // Use ipify API (simple and fast JSON response)
4288
+ const ipResponse = await fetch('https://api.ipify.org?format=json');
4289
+ if (ipResponse && ipResponse.ok) {
4290
+ const data = await ipResponse.json();
4291
+ if (data && data.ip) {
4292
+ metadata.ip = data.ip;
4293
+ }
4294
+ else {
4295
+ metadata.ip = 'client_unavailable';
4296
+ }
4297
+ }
4298
+ else {
4299
+ metadata.ip = 'client_unavailable';
4300
+ }
4301
+ }
4302
+ catch (error) {
4303
+ // IP lookup failed (CSP block, timeout, or network error)
4304
+ // This is expected if CSP blocks external requests
4305
+ // Backend should capture IP from request headers instead
4306
+ if (error instanceof Error && error.message.includes('Content Security Policy')) {
4307
+ console.debug('IP fetch blocked by CSP - backend will capture from headers');
4308
+ }
4309
+ else {
4310
+ console.debug('Could not fetch IP address');
4311
+ }
4312
+ metadata.ip = 'client_unavailable';
4313
+ }
4314
+ // Browser details (parse from user agent)
4315
+ const ua = navigator.userAgent;
4316
+ if (ua.includes('Chrome')) {
4317
+ metadata.browser = 'Chrome';
4318
+ }
4319
+ else if (ua.includes('Firefox')) {
4320
+ metadata.browser = 'Firefox';
4321
+ }
4322
+ else if (ua.includes('Safari')) {
4323
+ metadata.browser = 'Safari';
4324
+ }
4325
+ else if (ua.includes('Edge')) {
4326
+ metadata.browser = 'Edge';
4327
+ }
4328
+ else {
4329
+ metadata.browser = 'Unknown';
4330
+ }
4331
+ // OS detection
4332
+ if (ua.includes('Windows')) {
4333
+ metadata.os = 'Windows';
4334
+ }
4335
+ else if (ua.includes('Mac')) {
4336
+ metadata.os = 'macOS';
4337
+ }
4338
+ else if (ua.includes('Linux')) {
4339
+ metadata.os = 'Linux';
4340
+ }
4341
+ else if (ua.includes('Android')) {
4342
+ metadata.os = 'Android';
4343
+ }
4344
+ else if (ua.includes('iOS')) {
4345
+ metadata.os = 'iOS';
4346
+ }
4347
+ else {
4348
+ metadata.os = 'Unknown';
4349
+ }
4350
+ // Timezone
4351
+ metadata.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
4352
+ metadata.timezoneOffset = new Date().getTimezoneOffset().toString();
4353
+ // Page info
4354
+ metadata.url = window.location.href;
4355
+ metadata.referrer = document.referrer || 'direct';
4356
+ return metadata;
4357
+ }
4358
+ /**
4359
+ * Creates a CreateTraceRequest with optional attributes and client metadata
4360
+ * @param name name of the trace
4361
+ * @param tags optional tags for trace
4362
+ * @param attr optional attributes for trace
4363
+ * @param includeClientMeta optional flag to include client metadata (ip, browser, os, etc)
4364
+ * @returns a CreateTraceRequest object to be used for the createTrace request
4365
+ */
4366
+ async createTraceRequest({ name, tags, attr, includeClientMeta = false }) {
4367
+ const createTraceReq = new parallax_gateway_pbExports.CreateTraceRequest();
4368
+ createTraceReq.setName(name);
4369
+ if (tags) {
4370
+ createTraceReq.setTagsList(tags);
4371
+ }
4372
+ const traceAttrs = createTraceReq.getAttributesMap();
4373
+ if (attr) {
4374
+ Object.entries(attr).forEach(([key, value]) => {
4375
+ if (key.includes('client.')) {
4376
+ console.warn(`Attribute key "${key}" is reserved for client metadata. It will be prefixed with "custom."`);
4377
+ }
4378
+ else {
4379
+ traceAttrs.set(key, typeof value === 'object' ? JSON.stringify(value) : String(value));
4380
+ }
4381
+ });
4382
+ }
4383
+ if (includeClientMeta) {
4384
+ const clientMetadata = await this.getClientMetadata();
4385
+ Object.entries(clientMetadata).forEach(([key, value]) => {
4386
+ traceAttrs.set(`client.${key}`, value);
4387
+ });
4388
+ }
4389
+ return createTraceReq;
4390
+ }
4576
4391
  /**
4577
4392
  * Create a new trace
4578
4393
  * @param params Parameters to create a new trace
@@ -4587,6 +4402,46 @@ class ParallaxClient {
4587
4402
  throw _error;
4588
4403
  }
4589
4404
  }
4405
+ /**
4406
+ * Create a StartSpanRequest with optional attributes and client metadata
4407
+ * @param traceId trace id to associate the span with
4408
+ * @param name name of the span
4409
+ * @param parentSpanId (optional) create a span off a parent span id
4410
+ * @param attr (optional) attributes to add to the span
4411
+ * @param includeClientMeta (optional) flag to include client metadata (ip, browser, os, etc)
4412
+ * @returns
4413
+ */
4414
+ async createStartSpanRequest({ traceId, name, parentSpanId, attr, includeClientMeta = false }) {
4415
+ const startSpanReq = new parallax_gateway_pbExports.StartSpanRequest();
4416
+ startSpanReq.setTraceId(traceId);
4417
+ startSpanReq.setName(name);
4418
+ if (parentSpanId) {
4419
+ startSpanReq.setParentSpanId(parentSpanId);
4420
+ }
4421
+ const spanAttrs = startSpanReq.getAttributesMap();
4422
+ if (attr) {
4423
+ Object.entries(attr).forEach(([key, value]) => {
4424
+ if (key.includes('client.')) {
4425
+ console.warn(`Attribute key "${key}" is reserved for client metadata. It will be prefixed with "custom."`);
4426
+ }
4427
+ else {
4428
+ spanAttrs.set(key, typeof value === 'object' ? JSON.stringify(value) : String(value));
4429
+ }
4430
+ });
4431
+ }
4432
+ try {
4433
+ if (includeClientMeta) {
4434
+ const clientMetadata = await this.getClientMetadata();
4435
+ Object.entries(clientMetadata).forEach(([key, value]) => {
4436
+ spanAttrs.set(`client.${key}`, value);
4437
+ });
4438
+ }
4439
+ }
4440
+ catch (error) {
4441
+ console.error('Error gathering client metadata for span:', error);
4442
+ }
4443
+ return startSpanReq;
4444
+ }
4590
4445
  /**
4591
4446
  * Start a new span within a trace
4592
4447
  * @param params Parameters to start a new span
@@ -4600,6 +4455,25 @@ class ParallaxClient {
4600
4455
  throw _error;
4601
4456
  }
4602
4457
  }
4458
+ /**
4459
+ * Create a FinishSpanRequest
4460
+ * @param params Parameters to finish a span - traceId, spanId, status (optional) (success, errorMessage)
4461
+ * @returns FinishSpanRequest
4462
+ */
4463
+ createFinishSpanRequest({ traceId, spanId, status }) {
4464
+ const request = new parallax_gateway_pbExports.FinishSpanRequest();
4465
+ request.setTraceId(traceId);
4466
+ request.setSpanId(spanId);
4467
+ if (status !== undefined) {
4468
+ const spanStatus = new parallax_gateway_pbExports.FinishSpanRequest.SpanStatus();
4469
+ spanStatus.setCode(status.success ? parallax_gateway_pbExports.FinishSpanRequest.SpanStatus.StatusCode.STATUS_CODE_OK : parallax_gateway_pbExports.FinishSpanRequest.SpanStatus.StatusCode.STATUS_CODE_ERROR);
4470
+ if (status.errorMessage) {
4471
+ spanStatus.setMessage(status.errorMessage);
4472
+ }
4473
+ request.setStatus(spanStatus);
4474
+ }
4475
+ return request;
4476
+ }
4603
4477
  /**
4604
4478
  * Finish a span within a trace
4605
4479
  * @param params Parameters to finish a span
@@ -4613,6 +4487,25 @@ class ParallaxClient {
4613
4487
  throw _error;
4614
4488
  }
4615
4489
  }
4490
+ /**
4491
+ * Creates the add span event request
4492
+ * @param params - Parameters to create an AddSpanEventRequest - traceId, spanId, eventName, attr (optional)
4493
+ * @returns AddSpanEventRequest
4494
+ */
4495
+ createAddSpanEventRequest({ traceId, spanId, eventName, attr }) {
4496
+ const request = new parallax_gateway_pbExports.AddSpanEventRequest();
4497
+ request.setTraceId(traceId);
4498
+ request.setSpanId(spanId);
4499
+ request.setEventName(eventName);
4500
+ const eventAttrs = request.getAttributesMap();
4501
+ if (attr) {
4502
+ Object.entries(attr).forEach(([key, value]) => {
4503
+ eventAttrs.set(key, typeof value === 'object' ? JSON.stringify(value) : String(value));
4504
+ });
4505
+ }
4506
+ eventAttrs.set('timestamp', new Date().toISOString());
4507
+ return request;
4508
+ }
4616
4509
  /**
4617
4510
  * Add an event to a span
4618
4511
  * @param params Parameters to add an event to a span
@@ -4626,6 +4519,24 @@ class ParallaxClient {
4626
4519
  throw _error;
4627
4520
  }
4628
4521
  }
4522
+ /**
4523
+ * Creates the add span error request
4524
+ * @param params - params used to generate the error request ( traceid, span id, error message, error type, stack trace)
4525
+ * @returns AddSpanErrorRequest
4526
+ */
4527
+ createAddSpanErrorRequest({ traceId, spanId, errorMessage, errorType, stackTrace }) {
4528
+ const request = new parallax_gateway_pbExports.AddSpanErrorRequest();
4529
+ request.setTraceId(traceId);
4530
+ request.setSpanId(spanId);
4531
+ request.setMessage(errorMessage);
4532
+ if (errorType) {
4533
+ request.setErrorType(errorType);
4534
+ }
4535
+ if (stackTrace) {
4536
+ request.setStackTrace(stackTrace);
4537
+ }
4538
+ return request;
4539
+ }
4629
4540
  /**
4630
4541
  * Add an error to a span
4631
4542
  * @param params Parameters to add an error to a span
@@ -4639,6 +4550,23 @@ class ParallaxClient {
4639
4550
  throw _error;
4640
4551
  }
4641
4552
  }
4553
+ /**
4554
+ * Creates the add span hint request
4555
+ * @param params - params used to generate the span hint (trace id, parentSpanId, txHash and chainId)
4556
+ * @returns AddSpanHintRequest
4557
+ */
4558
+ createAddSpanHintRequest({ traceId, parentSpanId, txHash, chainId }) {
4559
+ const hintReq = new parallax_gateway_pbExports.AddSpanHintRequest();
4560
+ hintReq.setTraceId(traceId);
4561
+ hintReq.setParentSpanId(parentSpanId);
4562
+ if (txHash && chainId !== undefined) {
4563
+ const chainTxReq = new parallax_gateway_pbExports.AddSpanHintRequest.ChainTransaction();
4564
+ chainTxReq.setTxHash(txHash);
4565
+ chainTxReq.setChainId(chainId);
4566
+ hintReq.setChainTransaction(chainTxReq);
4567
+ }
4568
+ return hintReq;
4569
+ }
4642
4570
  /**
4643
4571
  * Add a hint to a span
4644
4572
  * @param params Parameters to add a hint to a span