@dfinity/nns 0.6.0 → 0.7.0-next-2022-08-08

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.
Files changed (60) hide show
  1. package/dist/candid/sns_wasm.certified.idl.js +6 -0
  2. package/dist/candid/sns_wasm.d.ts +5 -0
  3. package/dist/candid/sns_wasm.did +9 -2
  4. package/dist/candid/sns_wasm.idl.js +6 -0
  5. package/dist/cjs/index.cjs.js +14 -857
  6. package/dist/cjs/index.cjs.js.map +3 -3
  7. package/dist/esm/account_identifier.js +1 -1
  8. package/dist/esm/{chunk-RHCXRQFK.js → chunk-6TCASUZN.js} +2 -2
  9. package/dist/esm/{chunk-RHCXRQFK.js.map → chunk-6TCASUZN.js.map} +0 -0
  10. package/dist/esm/chunk-BNACMCFC.js +2 -0
  11. package/dist/esm/chunk-BNACMCFC.js.map +7 -0
  12. package/dist/esm/chunk-FOZZBZOX.js +2 -0
  13. package/dist/esm/chunk-FOZZBZOX.js.map +7 -0
  14. package/dist/esm/chunk-H6Y4RZE2.js +2 -0
  15. package/dist/esm/chunk-H6Y4RZE2.js.map +7 -0
  16. package/dist/esm/chunk-INZ5ERFK.js +2 -0
  17. package/dist/esm/chunk-INZ5ERFK.js.map +7 -0
  18. package/dist/esm/{chunk-FZGMZSQZ.js → chunk-JKX2HJUB.js} +2 -2
  19. package/dist/esm/{chunk-FZGMZSQZ.js.map → chunk-JKX2HJUB.js.map} +1 -1
  20. package/dist/esm/{chunk-H6I2Z4SN.js → chunk-N4C3FQZJ.js} +11 -5
  21. package/dist/esm/chunk-N4C3FQZJ.js.map +7 -0
  22. package/dist/esm/chunk-Q3ETFEQV.js +2 -0
  23. package/dist/esm/{chunk-ONAVPXOT.js.map → chunk-Q3ETFEQV.js.map} +0 -0
  24. package/dist/esm/chunk-QSF4NTRI.js +18 -0
  25. package/dist/esm/chunk-QSF4NTRI.js.map +7 -0
  26. package/dist/esm/chunk-XMMTS4WT.js +14 -0
  27. package/dist/esm/chunk-XMMTS4WT.js.map +7 -0
  28. package/dist/esm/genesis_token.canister.js +1 -1
  29. package/dist/esm/governance.canister.js +1 -1
  30. package/dist/esm/icp.js +1 -1
  31. package/dist/esm/index.js +1 -1
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/esm/ledger.canister.js +1 -1
  34. package/dist/esm/sns_wasm.canister.js +1 -1
  35. package/dist/types/genesis_token.canister.d.ts +1 -1
  36. package/dist/types/sns_wasm.canister.d.ts +1 -1
  37. package/dist/types/types/governance.options.d.ts +1 -1
  38. package/dist/types/types/ledger.options.d.ts +1 -1
  39. package/dist/types/types/sns_wasm.options.d.ts +1 -1
  40. package/package.json +7 -4
  41. package/dist/esm/chunk-CKIW7YKS.js +0 -2
  42. package/dist/esm/chunk-CKIW7YKS.js.map +0 -7
  43. package/dist/esm/chunk-H6I2Z4SN.js.map +0 -7
  44. package/dist/esm/chunk-IPUXUCZB.js +0 -14
  45. package/dist/esm/chunk-IPUXUCZB.js.map +0 -7
  46. package/dist/esm/chunk-JUIC5FZJ.js +0 -2
  47. package/dist/esm/chunk-JUIC5FZJ.js.map +0 -7
  48. package/dist/esm/chunk-MGC7CRB4.js +0 -11
  49. package/dist/esm/chunk-MGC7CRB4.js.map +0 -7
  50. package/dist/esm/chunk-NN3MUNHF.js +0 -2
  51. package/dist/esm/chunk-NN3MUNHF.js.map +0 -7
  52. package/dist/esm/chunk-NNJFBVJ3.js +0 -831
  53. package/dist/esm/chunk-NNJFBVJ3.js.map +0 -7
  54. package/dist/esm/chunk-ONAVPXOT.js +0 -2
  55. package/dist/esm/chunk-TLWRX3CX.js +0 -9
  56. package/dist/esm/chunk-TLWRX3CX.js.map +0 -7
  57. package/dist/types/types/canister.options.d.ts +0 -8
  58. package/dist/types/utils/actor.utils.d.ts +0 -14
  59. package/dist/types/utils/agent.utils.d.ts +0 -5
  60. package/dist/types/utils/did.utils.d.ts +0 -1
@@ -1,866 +1,23 @@
1
- "use strict";var xu=Object.create;var sn=Object.defineProperty;var Fu=Object.getOwnPropertyDescriptor;var Tu=Object.getOwnPropertyNames;var Ou=Object.getPrototypeOf,Qu=Object.prototype.hasOwnProperty;var ee=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports),Gu=(t,o)=>{for(var r in o)sn(t,r,{get:o[r],enumerable:!0})},ga=(t,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of Tu(o))!Qu.call(t,i)&&i!==r&&sn(t,i,{get:()=>o[i],enumerable:!(n=Fu(o,i))||n.enumerable});return t};var qe=(t,o,r)=>(r=t!=null?xu(Ou(t)):{},ga(o||!t||!t.__esModule?sn(r,"default",{value:t,enumerable:!0}):r,t)),ku=t=>ga(sn({},"__esModule",{value:!0}),t);var Fo=ee((exports,module)=>{(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&typeof module=="object"&&module.exports,AMD=typeof define=="function"&&define.amd,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return typeof t=="object"&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,o){return function(r){return new Sha256(o,!0).update(r)[t]()}},createMethod=function(t){var o=createOutputMethod("hex",t);NODE_JS&&(o=nodeWrap(o,t)),o.create=function(){return new Sha256(t)},o.update=function(i){return o.create().update(i)};for(var r=0;r<OUTPUT_TYPES.length;++r){var n=OUTPUT_TYPES[r];o[n]=createOutputMethod(n,t)}return o},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(t){if(typeof t=="string")return crypto.createHash(algorithm).update(t,"utf8").digest("hex");if(t==null)throw new Error(ERROR);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod},createHmacOutputMethod=function(t,o){return function(r,n){return new HmacSha256(r,o,!0).update(n)[t]()}},createHmacMethod=function(t){var o=createHmacOutputMethod("hex",t);o.create=function(i){return new HmacSha256(i,t)},o.update=function(i,s){return o.create(i).update(s)};for(var r=0;r<OUTPUT_TYPES.length;++r){var n=OUTPUT_TYPES[r];o[n]=createHmacOutputMethod(n,t)}return o};function Sha256(t,o){o?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=t}Sha256.prototype.update=function(t){if(!this.finalized){var o,r=typeof t;if(r!=="string"){if(r==="object"){if(t===null)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw new Error(ERROR)}else throw new Error(ERROR);o=!0}for(var n,i=0,s,p=t.length,l=this.blocks;i<p;){if(this.hashed&&(this.hashed=!1,l[0]=this.block,l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),o)for(s=this.start;i<p&&s<64;++i)l[s>>2]|=t[i]<<SHIFT[s++&3];else for(s=this.start;i<p&&s<64;++i)n=t.charCodeAt(i),n<128?l[s>>2]|=n<<SHIFT[s++&3]:n<2048?(l[s>>2]|=(192|n>>6)<<SHIFT[s++&3],l[s>>2]|=(128|n&63)<<SHIFT[s++&3]):n<55296||n>=57344?(l[s>>2]|=(224|n>>12)<<SHIFT[s++&3],l[s>>2]|=(128|n>>6&63)<<SHIFT[s++&3],l[s>>2]|=(128|n&63)<<SHIFT[s++&3]):(n=65536+((n&1023)<<10|t.charCodeAt(++i)&1023),l[s>>2]|=(240|n>>18)<<SHIFT[s++&3],l[s>>2]|=(128|n>>12&63)<<SHIFT[s++&3],l[s>>2]|=(128|n>>6&63)<<SHIFT[s++&3],l[s>>2]|=(128|n&63)<<SHIFT[s++&3]);this.lastByteIndex=s,this.bytes+=s-this.start,s>=64?(this.block=l[16],this.start=s-64,this.hash(),this.hashed=!0):this.start=s}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,o=this.lastByteIndex;t[16]=this.block,t[o>>2]|=EXTRA[o&3],this.block=t[16],o>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t=this.h0,o=this.h1,r=this.h2,n=this.h3,i=this.h4,s=this.h5,p=this.h6,l=this.h7,_=this.blocks,C,Q,P,G,O,Y,J,se,oe,ie,ue;for(C=16;C<64;++C)O=_[C-15],Q=(O>>>7|O<<25)^(O>>>18|O<<14)^O>>>3,O=_[C-2],P=(O>>>17|O<<15)^(O>>>19|O<<13)^O>>>10,_[C]=_[C-16]+Q+_[C-7]+P<<0;for(ue=o&r,C=0;C<64;C+=4)this.first?(this.is224?(se=300032,O=_[0]-1413257819,l=O-150054599<<0,n=O+24177077<<0):(se=704751109,O=_[0]-210244248,l=O-1521486534<<0,n=O+143694565<<0),this.first=!1):(Q=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),P=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),se=t&o,G=se^t&r^ue,J=i&s^~i&p,O=l+P+J+K[C]+_[C],Y=Q+G,l=n+O<<0,n=O+Y<<0),Q=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),P=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7),oe=n&t,G=oe^n&o^se,J=l&i^~l&s,O=p+P+J+K[C+1]+_[C+1],Y=Q+G,p=r+O<<0,r=O+Y<<0,Q=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),P=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7),ie=r&n,G=ie^r&t^oe,J=p&l^~p&i,O=s+P+J+K[C+2]+_[C+2],Y=Q+G,s=o+O<<0,o=O+Y<<0,Q=(o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10),P=(s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7),ue=o&r,G=ue^o&n^ie,J=s&p^~s&l,O=i+P+J+K[C+3]+_[C+3],Y=Q+G,i=t+O<<0,t=O+Y<<0;this.h0=this.h0+t<<0,this.h1=this.h1+o<<0,this.h2=this.h2+r<<0,this.h3=this.h3+n<<0,this.h4=this.h4+i<<0,this.h5=this.h5+s<<0,this.h6=this.h6+p<<0,this.h7=this.h7+l<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,o=this.h1,r=this.h2,n=this.h3,i=this.h4,s=this.h5,p=this.h6,l=this.h7,_=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[t&15]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[o&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[n&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[i&15]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[s&15]+HEX_CHARS[p>>28&15]+HEX_CHARS[p>>24&15]+HEX_CHARS[p>>20&15]+HEX_CHARS[p>>16&15]+HEX_CHARS[p>>12&15]+HEX_CHARS[p>>8&15]+HEX_CHARS[p>>4&15]+HEX_CHARS[p&15];return this.is224||(_+=HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[l&15]),_},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,o=this.h1,r=this.h2,n=this.h3,i=this.h4,s=this.h5,p=this.h6,l=this.h7,_=[t>>24&255,t>>16&255,t>>8&255,t&255,o>>24&255,o>>16&255,o>>8&255,o&255,r>>24&255,r>>16&255,r>>8&255,r&255,n>>24&255,n>>16&255,n>>8&255,n&255,i>>24&255,i>>16&255,i>>8&255,i&255,s>>24&255,s>>16&255,s>>8&255,s&255,p>>24&255,p>>16&255,p>>8&255,p&255];return this.is224||_.push(l>>24&255,l>>16&255,l>>8&255,l&255),_},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),o=new DataView(t);return o.setUint32(0,this.h0),o.setUint32(4,this.h1),o.setUint32(8,this.h2),o.setUint32(12,this.h3),o.setUint32(16,this.h4),o.setUint32(20,this.h5),o.setUint32(24,this.h6),this.is224||o.setUint32(28,this.h7),t};function HmacSha256(t,o,r){var n,i=typeof t;if(i==="string"){var s=[],p=t.length,l=0,_;for(n=0;n<p;++n)_=t.charCodeAt(n),_<128?s[l++]=_:_<2048?(s[l++]=192|_>>6,s[l++]=128|_&63):_<55296||_>=57344?(s[l++]=224|_>>12,s[l++]=128|_>>6&63,s[l++]=128|_&63):(_=65536+((_&1023)<<10|t.charCodeAt(++n)&1023),s[l++]=240|_>>18,s[l++]=128|_>>12&63,s[l++]=128|_>>6&63,s[l++]=128|_&63);t=s}else if(i==="object"){if(t===null)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw new Error(ERROR)}else throw new Error(ERROR);t.length>64&&(t=new Sha256(o,!0).update(t).array());var C=[],Q=[];for(n=0;n<64;++n){var P=t[n]||0;C[n]=92^P,Q[n]=54^P}Sha256.call(this,o,r),this.update(Q),this.oKeyPad=C,this.inner=!0,this.sharedMemory=r}HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&define(function(){return exports}))})()});var mr=ee((exports,module)=>{var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(t,o,r){t instanceof String&&(t=String(t));for(var n=t.length,i=0;i<n;i++){var s=t[i];if(o.call(r,s,i,t))return{i,v:s}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(t,o,r){t!=Array.prototype&&t!=Object.prototype&&(t[o]=r.value)};$jscomp.getGlobal=function(t){return typeof window<"u"&&window===t?t:typeof global<"u"&&global!=null?global:t};$jscomp.global=$jscomp.getGlobal(exports);$jscomp.polyfill=function(t,o,r,n){if(o){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var i=t[n];i in r||(r[i]={}),r=r[i]}t=t[t.length-1],n=r[t],o=o(n),o!=n&&o!=null&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:o})}};$jscomp.polyfill("Array.prototype.findIndex",function(t){return t||function(o,r){return $jscomp.findInternal(this,o,r).i}},"es6","es3");$jscomp.checkStringArgs=function(t,o,r){if(t==null)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(o instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""};$jscomp.polyfill("String.prototype.endsWith",function(t){return t||function(o,r){var n=$jscomp.checkStringArgs(this,o,"endsWith");o+="",r===void 0&&(r=n.length),r=Math.max(0,Math.min(r|0,n.length));for(var i=o.length;0<i&&0<r;)if(n[--r]!=o[--i])return!1;return 0>=i}},"es6","es3");$jscomp.polyfill("Array.prototype.find",function(t){return t||function(o,r){return $jscomp.findInternal(this,o,r).v}},"es6","es3");$jscomp.polyfill("String.prototype.startsWith",function(t){return t||function(o,r){var n=$jscomp.checkStringArgs(this,o,"startsWith");o+="";var i=n.length,s=o.length;r=Math.max(0,Math.min(r|0,n.length));for(var p=0;p<s&&r<i;)if(n[r++]!=o[p++])return!1;return p>=s}},"es6","es3");$jscomp.polyfill("String.prototype.repeat",function(t){return t||function(o){var r=$jscomp.checkStringArgs(this,null,"repeat");if(0>o||1342177279<o)throw new RangeError("Invalid count value");o|=0;for(var n="";o;)o&1&&(n+=r),(o>>>=1)&&(r+=r);return n}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=exports||self;goog.isDef=function(t){return t!==void 0};goog.isString=function(t){return typeof t=="string"};goog.isBoolean=function(t){return typeof t=="boolean"};goog.isNumber=function(t){return typeof t=="number"};goog.exportPath_=function(t,o,r){t=t.split("."),r=r||goog.global,t[0]in r||typeof r.execScript>"u"||r.execScript("var "+t[0]);for(var n;t.length&&(n=t.shift());)!t.length&&goog.isDef(o)?r[n]=o:r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}};goog.define=function(t,o){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;r&&r.nodeType===void 0&&Object.prototype.hasOwnProperty.call(r,t)?o=r[t]:n&&n.nodeType===void 0&&Object.prototype.hasOwnProperty.call(n,t)&&(o=n[t])}return o};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="en";goog.TRUSTED_SITE=!0;goog.STRICT_MODE_COMPATIBLE=!1;goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');goog.constructNamespace_(t)};goog.constructNamespace_=function(t,o){if(!COMPILED){delete goog.implicitNamespaces_[t];for(var r=t;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(t,o)};goog.getScriptNonce=function(t){return t&&t!=goog.global?goog.getScriptNonce_(t.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)};goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;goog.cspNonce_=null;goog.getScriptNonce_=function(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;goog.module=function(t){if(!goog.isString(t)||!t||t.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" 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.");if(goog.moduleLoaderState_.moduleName=t,!COMPILED){if(goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');delete goog.implicitNamespaces_[t]}};goog.module.get=function(t){return goog.module.getInternal_(t)};goog.module.getInternal_=function(t){if(!COMPILED){if(t in goog.loadedModules_)return goog.loadedModules_[t].exports;if(!goog.implicitNamespaces_[t])return t=goog.getObjectByName(t),t??null}return null};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;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!0;var t=goog.global.$jscomp;return t?typeof t.getCurrentModulePath!="function"?!1:!!t.getCurrentModulePath():!1};goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0};goog.declareModuleId=function(t){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(t in goog.loadedModules_)throw Error('Module with namespace "'+t+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var o=goog.global.$jscomp;if(!o||typeof o.getCurrentModulePath!="function")throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');o=o.require(o.getCurrentModulePath()),goog.loadedModules_[t]={exports:o,type:goog.ModuleType.ES6,moduleId:t}}};goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))};goog.forwardDeclare=function(t){};COMPILED||(goog.isProvided_=function(t){return t in goog.loadedModules_||!goog.implicitNamespaces_[t]&&goog.isDefAndNotNull(goog.getObjectByName(t))},goog.implicitNamespaces_={"goog.module":!0});goog.getObjectByName=function(t,o){t=t.split("."),o=o||goog.global;for(var r=0;r<t.length;r++)if(o=o[t[r]],!goog.isDefAndNotNull(o))return null;return o};goog.globalize=function(t,o){o=o||goog.global;for(var r in t)o[r]=t[r]};goog.addDependency=function(t,o,r,n){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(t,o,r,n)};goog.ENABLE_DEBUG_LOADER=!0;goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)};goog.require=function(t){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(t),goog.isProvided_(t)){if(goog.isInModuleLoader_())return goog.module.getInternal_(t)}else if(goog.ENABLE_DEBUG_LOADER){var o=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(t)}finally{goog.moduleLoaderState_=o}}return null}};goog.requireType=function(t){return{}};goog.basePath="";goog.nullFunction=function(){};goog.abstractMethod=function(){throw Error("unimplemented abstract method")};goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRANSPILE_TO_LANGUAGE="";goog.TRANSPILER="transpile.js";goog.hasBadLetScoping=null;goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(t){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping};goog.workaroundSafari10EvalBug=function(t){return"(function(){"+t+`
1
+ "use strict";var An=Object.create;var Qe=Object.defineProperty;var Cn=Object.getOwnPropertyDescriptor;var Pn=Object.getOwnPropertyNames;var jn=Object.getPrototypeOf,Un=Object.prototype.hasOwnProperty;var le=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),Wn=(o,t)=>{for(var r in t)Qe(o,r,{get:t[r],enumerable:!0})},xt=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Pn(t))!Un.call(o,i)&&i!==r&&Qe(o,i,{get:()=>t[i],enumerable:!(n=Cn(t,i))||n.enumerable});return o};var J=(o,t,r)=>(r=o!=null?An(jn(o)):{},xt(t||!o||!o.__esModule?Qe(r,"default",{value:o,enumerable:!0}):r,o)),kn=o=>xt(Qe({},"__esModule",{value:!0}),o);var Le=le((exports,module)=>{(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&typeof module=="object"&&module.exports,AMD=typeof define=="function"&&define.amd,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(o){return typeof o=="object"&&o.buffer&&o.buffer.constructor===ArrayBuffer});var createOutputMethod=function(o,t){return function(r){return new Sha256(t,!0).update(r)[o]()}},createMethod=function(o){var t=createOutputMethod("hex",o);NODE_JS&&(t=nodeWrap(t,o)),t.create=function(){return new Sha256(o)},t.update=function(i){return t.create().update(i)};for(var r=0;r<OUTPUT_TYPES.length;++r){var n=OUTPUT_TYPES[r];t[n]=createOutputMethod(n,o)}return t},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(o){if(typeof o=="string")return crypto.createHash(algorithm).update(o,"utf8").digest("hex");if(o==null)throw new Error(ERROR);return o.constructor===ArrayBuffer&&(o=new Uint8Array(o)),Array.isArray(o)||ArrayBuffer.isView(o)||o.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(o)).digest("hex"):method(o)};return nodeMethod},createHmacOutputMethod=function(o,t){return function(r,n){return new HmacSha256(r,t,!0).update(n)[o]()}},createHmacMethod=function(o){var t=createHmacOutputMethod("hex",o);t.create=function(i){return new HmacSha256(i,o)},t.update=function(i,p){return t.create(i).update(p)};for(var r=0;r<OUTPUT_TYPES.length;++r){var n=OUTPUT_TYPES[r];t[n]=createHmacOutputMethod(n,o)}return t};function Sha256(o,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=o}Sha256.prototype.update=function(o){if(!this.finalized){var t,r=typeof o;if(r!=="string"){if(r==="object"){if(o===null)throw new Error(ERROR);if(ARRAY_BUFFER&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(o)))throw new Error(ERROR)}else throw new Error(ERROR);t=!0}for(var n,i=0,p,l=o.length,_=this.blocks;i<l;){if(this.hashed&&(this.hashed=!1,_[0]=this.block,_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),t)for(p=this.start;i<l&&p<64;++i)_[p>>2]|=o[i]<<SHIFT[p++&3];else for(p=this.start;i<l&&p<64;++i)n=o.charCodeAt(i),n<128?_[p>>2]|=n<<SHIFT[p++&3]:n<2048?(_[p>>2]|=(192|n>>6)<<SHIFT[p++&3],_[p>>2]|=(128|n&63)<<SHIFT[p++&3]):n<55296||n>=57344?(_[p>>2]|=(224|n>>12)<<SHIFT[p++&3],_[p>>2]|=(128|n>>6&63)<<SHIFT[p++&3],_[p>>2]|=(128|n&63)<<SHIFT[p++&3]):(n=65536+((n&1023)<<10|o.charCodeAt(++i)&1023),_[p>>2]|=(240|n>>18)<<SHIFT[p++&3],_[p>>2]|=(128|n>>12&63)<<SHIFT[p++&3],_[p>>2]|=(128|n>>6&63)<<SHIFT[p++&3],_[p>>2]|=(128|n&63)<<SHIFT[p++&3]);this.lastByteIndex=p,this.bytes+=p-this.start,p>=64?(this.block=_[16],this.start=p-64,this.hash(),this.hashed=!0):this.start=p}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var o=this.blocks,t=this.lastByteIndex;o[16]=this.block,o[t>>2]|=EXTRA[t&3],this.block=o[16],t>=56&&(this.hashed||this.hash(),o[0]=this.block,o[16]=o[1]=o[2]=o[3]=o[4]=o[5]=o[6]=o[7]=o[8]=o[9]=o[10]=o[11]=o[12]=o[13]=o[14]=o[15]=0),o[14]=this.hBytes<<3|this.bytes>>>29,o[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var o=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4,p=this.h5,l=this.h6,_=this.h7,y=this.blocks,R,x,O,N,T,P,w,k,H,U,I;for(R=16;R<64;++R)T=y[R-15],x=(T>>>7|T<<25)^(T>>>18|T<<14)^T>>>3,T=y[R-2],O=(T>>>17|T<<15)^(T>>>19|T<<13)^T>>>10,y[R]=y[R-16]+x+y[R-7]+O<<0;for(I=t&r,R=0;R<64;R+=4)this.first?(this.is224?(k=300032,T=y[0]-1413257819,_=T-150054599<<0,n=T+24177077<<0):(k=704751109,T=y[0]-210244248,_=T-1521486534<<0,n=T+143694565<<0),this.first=!1):(x=(o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10),O=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),k=o&t,N=k^o&r^I,w=i&p^~i&l,T=_+O+w+K[R]+y[R],P=x+N,_=n+T<<0,n=T+P<<0),x=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),O=(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7),H=n&o,N=H^n&t^k,w=_&i^~_&p,T=l+O+w+K[R+1]+y[R+1],P=x+N,l=r+T<<0,r=T+P<<0,x=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),O=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7),U=r&n,N=U^r&o^H,w=l&_^~l&i,T=p+O+w+K[R+2]+y[R+2],P=x+N,p=t+T<<0,t=T+P<<0,x=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),O=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7),I=t&r,N=I^t&n^U,w=p&l^~p&_,T=i+O+w+K[R+3]+y[R+3],P=x+N,i=o+T<<0,o=T+P<<0;this.h0=this.h0+o<<0,this.h1=this.h1+t<<0,this.h2=this.h2+r<<0,this.h3=this.h3+n<<0,this.h4=this.h4+i<<0,this.h5=this.h5+p<<0,this.h6=this.h6+l<<0,this.h7=this.h7+_<<0},Sha256.prototype.hex=function(){this.finalize();var o=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4,p=this.h5,l=this.h6,_=this.h7,y=HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[o&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[t&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[n&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[i&15]+HEX_CHARS[p>>28&15]+HEX_CHARS[p>>24&15]+HEX_CHARS[p>>20&15]+HEX_CHARS[p>>16&15]+HEX_CHARS[p>>12&15]+HEX_CHARS[p>>8&15]+HEX_CHARS[p>>4&15]+HEX_CHARS[p&15]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[l&15];return this.is224||(y+=HEX_CHARS[_>>28&15]+HEX_CHARS[_>>24&15]+HEX_CHARS[_>>20&15]+HEX_CHARS[_>>16&15]+HEX_CHARS[_>>12&15]+HEX_CHARS[_>>8&15]+HEX_CHARS[_>>4&15]+HEX_CHARS[_&15]),y},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var o=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4,p=this.h5,l=this.h6,_=this.h7,y=[o>>24&255,o>>16&255,o>>8&255,o&255,t>>24&255,t>>16&255,t>>8&255,t&255,r>>24&255,r>>16&255,r>>8&255,r&255,n>>24&255,n>>16&255,n>>8&255,n&255,i>>24&255,i>>16&255,i>>8&255,i&255,p>>24&255,p>>16&255,p>>8&255,p&255,l>>24&255,l>>16&255,l>>8&255,l&255];return this.is224||y.push(_>>24&255,_>>16&255,_>>8&255,_&255),y},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var o=new ArrayBuffer(this.is224?28:32),t=new DataView(o);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),o};function HmacSha256(o,t,r){var n,i=typeof o;if(i==="string"){var p=[],l=o.length,_=0,y;for(n=0;n<l;++n)y=o.charCodeAt(n),y<128?p[_++]=y:y<2048?(p[_++]=192|y>>6,p[_++]=128|y&63):y<55296||y>=57344?(p[_++]=224|y>>12,p[_++]=128|y>>6&63,p[_++]=128|y&63):(y=65536+((y&1023)<<10|o.charCodeAt(++n)&1023),p[_++]=240|y>>18,p[_++]=128|y>>12&63,p[_++]=128|y>>6&63,p[_++]=128|y&63);o=p}else if(i==="object"){if(o===null)throw new Error(ERROR);if(ARRAY_BUFFER&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(o)))throw new Error(ERROR)}else throw new Error(ERROR);o.length>64&&(o=new Sha256(t,!0).update(o).array());var R=[],x=[];for(n=0;n<64;++n){var O=o[n]||0;R[n]=92^O,x[n]=54^O}Sha256.call(this,t,r),this.update(x),this.oKeyPad=R,this.inner=!0,this.sharedMemory=r}HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var o=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(o),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&define(function(){return exports}))})()});var Ie=le((exports,module)=>{var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(o,t,r){o instanceof String&&(o=String(o));for(var n=o.length,i=0;i<n;i++){var p=o[i];if(t.call(r,p,i,o))return{i,v:p}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(o,t,r){o!=Array.prototype&&o!=Object.prototype&&(o[t]=r.value)};$jscomp.getGlobal=function(o){return typeof window<"u"&&window===o?o:typeof global<"u"&&global!=null?global:o};$jscomp.global=$jscomp.getGlobal(exports);$jscomp.polyfill=function(o,t,r,n){if(t){for(r=$jscomp.global,o=o.split("."),n=0;n<o.length-1;n++){var i=o[n];i in r||(r[i]={}),r=r[i]}o=o[o.length-1],n=r[o],t=t(n),t!=n&&t!=null&&$jscomp.defineProperty(r,o,{configurable:!0,writable:!0,value:t})}};$jscomp.polyfill("Array.prototype.findIndex",function(o){return o||function(t,r){return $jscomp.findInternal(this,t,r).i}},"es6","es3");$jscomp.checkStringArgs=function(o,t,r){if(o==null)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return o+""};$jscomp.polyfill("String.prototype.endsWith",function(o){return o||function(t,r){var n=$jscomp.checkStringArgs(this,t,"endsWith");t+="",r===void 0&&(r=n.length),r=Math.max(0,Math.min(r|0,n.length));for(var i=t.length;0<i&&0<r;)if(n[--r]!=t[--i])return!1;return 0>=i}},"es6","es3");$jscomp.polyfill("Array.prototype.find",function(o){return o||function(t,r){return $jscomp.findInternal(this,t,r).v}},"es6","es3");$jscomp.polyfill("String.prototype.startsWith",function(o){return o||function(t,r){var n=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var i=n.length,p=t.length;r=Math.max(0,Math.min(r|0,n.length));for(var l=0;l<p&&r<i;)if(n[r++]!=t[l++])return!1;return l>=p}},"es6","es3");$jscomp.polyfill("String.prototype.repeat",function(o){return o||function(t){var r=$jscomp.checkStringArgs(this,null,"repeat");if(0>t||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var n="";t;)t&1&&(n+=r),(t>>>=1)&&(r+=r);return n}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=exports||self;goog.exportPath_=function(o,t,r){o=o.split("."),r=r||goog.global,o[0]in r||typeof r.execScript>"u"||r.execScript("var "+o[0]);for(var n;o.length&&(n=o.shift());)o.length||t===void 0?r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}:r[n]=t};goog.define=function(o,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;r&&r.nodeType===void 0&&Object.prototype.hasOwnProperty.call(r,o)?t=r[o]:n&&n.nodeType===void 0&&Object.prototype.hasOwnProperty.call(n,o)&&(t=n[o])}return t};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="en";goog.TRUSTED_SITE=!0;goog.STRICT_MODE_COMPATIBLE=!1;goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.provide=function(o){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(o))throw Error('Namespace "'+o+'" already declared.');goog.constructNamespace_(o)};goog.constructNamespace_=function(o,t){if(!COMPILED){delete goog.implicitNamespaces_[o];for(var r=o;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(o,t)};goog.getScriptNonce=function(o){return o&&o!=goog.global?goog.getScriptNonce_(o.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)};goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;goog.cspNonce_=null;goog.getScriptNonce_=function(o){return(o=o.querySelector&&o.querySelector("script[nonce]"))&&(o=o.nonce||o.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(o)?o:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;goog.module=function(o){if(typeof o!="string"||!o||o.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+o+" 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.");if(goog.moduleLoaderState_.moduleName=o,!COMPILED){if(goog.isProvided_(o))throw Error('Namespace "'+o+'" already declared.');delete goog.implicitNamespaces_[o]}};goog.module.get=function(o){return goog.module.getInternal_(o)};goog.module.getInternal_=function(o){if(!COMPILED){if(o in goog.loadedModules_)return goog.loadedModules_[o].exports;if(!goog.implicitNamespaces_[o])return o=goog.getObjectByName(o),o??null}return null};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;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!0;var o=goog.global.$jscomp;return o?typeof o.getCurrentModulePath!="function"?!1:!!o.getCurrentModulePath():!1};goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0};goog.declareModuleId=function(o){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(o in goog.loadedModules_)throw Error('Module with namespace "'+o+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=o;else{var t=goog.global.$jscomp;if(!t||typeof t.getCurrentModulePath!="function")throw Error('Module with namespace "'+o+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o}}};goog.setTestOnly=function(o){if(goog.DISALLOW_TEST_ONLY_CODE)throw o=o||"",Error("Importing test-only code into non-debug environment"+(o?": "+o:"."))};goog.forwardDeclare=function(o){};COMPILED||(goog.isProvided_=function(o){return o in goog.loadedModules_||!goog.implicitNamespaces_[o]&&goog.getObjectByName(o)!=null},goog.implicitNamespaces_={"goog.module":!0});goog.getObjectByName=function(o,t){o=o.split("."),t=t||goog.global;for(var r=0;r<o.length;r++)if(t=t[o[r]],t==null)return null;return t};goog.globalize=function(o,t){t=t||goog.global;for(var r in o)t[r]=o[r]};goog.addDependency=function(o,t,r,n){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(o,t,r,n)};goog.ENABLE_DEBUG_LOADER=!0;goog.logToConsole_=function(o){goog.global.console&&goog.global.console.error(o)};goog.require=function(o){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(o),goog.isProvided_(o)){if(goog.isInModuleLoader_())return goog.module.getInternal_(o)}else if(goog.ENABLE_DEBUG_LOADER){var t=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(o)}finally{goog.moduleLoaderState_=t}}return null}};goog.requireType=function(o){return{}};goog.basePath="";goog.nullFunction=function(){};goog.abstractMethod=function(){throw Error("unimplemented abstract method")};goog.addSingletonGetter=function(o){o.instance_=void 0,o.getInstance=function(){return o.instance_?o.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=o),o.instance_=new o)}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRANSPILE_TO_LANGUAGE="";goog.TRANSPILER="transpile.js";goog.hasBadLetScoping=null;goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(o){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping};goog.workaroundSafari10EvalBug=function(o){return"(function(){"+o+`
2
2
  ;})();
3
- `};goog.loadModule=function(t){var o=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(t))var r=t.call(void 0,{});else if(goog.isString(t))goog.useSafari10Workaround()&&(t=goog.workaroundSafari10EvalBug(t)),r=goog.loadModuleFromSource_.call(void 0,t);else throw Error("Invalid module definition");var n=goog.moduleLoaderState_.moduleName;if(goog.isString(n)&&n)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(n,r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof r=="object"&&r!=null&&Object.seal(r),goog.loadedModules_[n]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+n+'"')}finally{goog.moduleLoaderState_=o}};goog.loadModuleFromSource_=function(a){return eval(a),{}};goog.normalizePath_=function(t){t=t.split("/");for(var o=0;o<t.length;)t[o]=="."?t.splice(o,1):o&&t[o]==".."&&t[o-1]&&t[o-1]!=".."?t.splice(--o,2):o++;return t.join("/")};goog.loadFileSync_=function(t){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t);try{var o=new goog.global.XMLHttpRequest;return o.open("get",t,!1),o.send(),o.status==0||o.status==200?o.responseText:null}catch{return null}};goog.transpile_=function(t,o,r){var n=goog.global.$jscomp;n||(goog.global.$jscomp=n={});var i=n.transpile;if(!i){var s=goog.basePath+goog.TRANSPILER,p=goog.loadFileSync_(s);if(p){if(function(){(0,eval)(p+`
4
- //# sourceURL=`+s)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,n=goog.global.$jscomp,i=n.transpile}}return i||(i=n.transpile=function(l,_){return goog.logToConsole_(_+" requires transpilation but no transpiler was found."),l}),i(t,o,r)};goog.typeOf=function(t){var o=typeof t;if(o=="object")if(t){if(t instanceof Array)return"array";if(t instanceof Object)return o;var r=Object.prototype.toString.call(t);if(r=="[object Window]")return"object";if(r=="[object Array]"||typeof t.length=="number"&&typeof t.splice<"u"&&typeof t.propertyIsEnumerable<"u"&&!t.propertyIsEnumerable("splice"))return"array";if(r=="[object Function]"||typeof t.call<"u"&&typeof t.propertyIsEnumerable<"u"&&!t.propertyIsEnumerable("call"))return"function"}else return"null";else if(o=="function"&&typeof t.call>"u")return"object";return o};goog.isNull=function(t){return t===null};goog.isDefAndNotNull=function(t){return t!=null};goog.isArray=function(t){return goog.typeOf(t)=="array"};goog.isArrayLike=function(t){var o=goog.typeOf(t);return o=="array"||o=="object"&&typeof t.length=="number"};goog.isDateLike=function(t){return goog.isObject(t)&&typeof t.getFullYear=="function"};goog.isFunction=function(t){return goog.typeOf(t)=="function"};goog.isObject=function(t){var o=typeof t;return o=="object"&&t!=null||o=="function"};goog.getUid=function(t){return t[goog.UID_PROPERTY_]||(t[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(t){return!!t[goog.UID_PROPERTY_]};goog.removeUid=function(t){t!==null&&"removeAttribute"in t&&t.removeAttribute(goog.UID_PROPERTY_);try{delete t[goog.UID_PROPERTY_]}catch{}};goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0);goog.uidCounter_=0;goog.getHashCode=goog.getUid;goog.removeHashCode=goog.removeUid;goog.cloneObject=function(t){var o=goog.typeOf(t);if(o=="object"||o=="array"){if(typeof t.clone=="function")return t.clone();o=o=="array"?[]:{};for(var r in t)o[r]=goog.cloneObject(t[r]);return o}return t};goog.bindNative_=function(t,o,r){return t.call.apply(t.bind,arguments)};goog.bindJs_=function(t,o,r){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),t.apply(o,i)}}return function(){return t.apply(o,arguments)}};goog.bind=function(t,o,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)};goog.partial=function(t,o){var r=Array.prototype.slice.call(arguments,1);return function(){var n=r.slice();return n.push.apply(n,arguments),t.apply(this,n)}};goog.mixin=function(t,o){for(var r in o)t[r]=o[r]};goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date};goog.globalEval=function(t){if(goog.global.execScript)goog.global.execScript(t,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null){try{goog.global.eval("var _evalTest_ = 1;")}catch{}if(typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(t);else{var o=goog.global.document,r=o.createElement("SCRIPT");r.type="text/javascript",r.defer=!1,r.appendChild(o.createTextNode(t)),o.head.appendChild(r),o.head.removeChild(r)}}else throw Error("goog.globalEval not available")};goog.evalWorksForGlobals_=null;goog.getCssName=function(t,o){if(String(t).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+t);var r=function(i){return goog.cssNameMapping_[i]||i},n=function(i){i=i.split("-");for(var s=[],p=0;p<i.length;p++)s.push(r(i[p]));return s.join("-")};return n=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:n:function(i){return i},t=o?t+"-"+n(o):n(t),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t):t};goog.setCssNameMapping=function(t,o){goog.cssNameMapping_=t,goog.cssNameMappingStyle_=o};!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING);goog.getMsg=function(t,o,r){return r&&r.html&&(t=t.replace(/</g,"&lt;")),o&&(t=t.replace(/\{\$([^}]+)}/g,function(n,i){return o!=null&&i in o?o[i]:n})),t};goog.getMsgWithFallback=function(t,o){return t};goog.exportSymbol=function(t,o,r){goog.exportPath_(t,o,r)};goog.exportProperty=function(t,o,r){t[o]=r};goog.inherits=function(t,o){function r(){}r.prototype=o.prototype,t.superClass_=o.prototype,t.prototype=new r,t.prototype.constructor=t,t.base=function(n,i,s){for(var p=Array(arguments.length-2),l=2;l<arguments.length;l++)p[l-2]=arguments[l];return o.prototype[i].apply(n,p)}};goog.base=function(t,o,r){var n=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!n)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(typeof n.superClass_<"u"){for(var i=Array(arguments.length-1),s=1;s<arguments.length;s++)i[s-1]=arguments[s];return n.superClass_.constructor.apply(t,i)}if(typeof o!="string"&&typeof o!="symbol")throw Error("method names provided to goog.base must be a string or a symbol");for(i=Array(arguments.length-2),s=2;s<arguments.length;s++)i[s-2]=arguments[s];s=!1;for(var p=t.constructor.prototype;p;p=Object.getPrototypeOf(p))if(p[o]===n)s=!0;else if(s)return p[o].apply(t,i);if(t[o]===n)return t.constructor.prototype[o].apply(t,i);throw Error("goog.base called from a method of one name to a method of a different name")};goog.scope=function(t){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");t.call(goog.global)};COMPILED||(goog.global.COMPILED=COMPILED);goog.defineClass=function(t,o){var r=o.constructor,n=o.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,t),t&&goog.inherits(r,t),delete o.constructor,delete o.statics,goog.defineClass.applyProperties_(r.prototype,o),n!=null&&(n instanceof Function?n(r):goog.defineClass.applyProperties_(r,n)),r};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;goog.defineClass.createSealingConstructor_=function(t,o){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return t;var r=!goog.defineClass.isUnsealable_(o),n=function(){var i=t.apply(this,arguments)||this;return i[goog.UID_PROPERTY_]=i[goog.UID_PROPERTY_],this.constructor===n&&r&&Object.seal instanceof Function&&Object.seal(i),i};return n};goog.defineClass.isUnsealable_=function(t){return t&&t.prototype&&t.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");goog.defineClass.applyProperties_=function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);for(var n=0;n<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;n++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[n],Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])};goog.tagUnsealableClass=function(t){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(t.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)};goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable";!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var t=goog.global.document;return t!=null&&"write"in t},goog.isDocumentLoading_=function(){var t=goog.global.document;return t.attachEvent?t.readyState!="complete":t.readyState=="loading"},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH)&&goog.isString(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var t=goog.global.document,o=t.currentScript;for(t=o?[o]:t.getElementsByTagName("SCRIPT"),o=t.length-1;0<=o;--o){var r=t[o].src,n=r.lastIndexOf("?");if(n=n==-1?r.length:n,r.substr(n-7,7)=="base.js"){goog.basePath=r.substr(0,n-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,o){e?d[t]=!0:o()?(c=t,d[t]=!1):e=d[t]=!0}function b(a){try{return!!eval(a)}catch(t){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return f.match(/Edge\/(\d+)(\.\d)*/i)?!1:b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(t,o){if(goog.TRANSPILE=="always")return!0;if(goog.TRANSPILE=="never")return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(t in this.requiresTranspilation_)return this.requiresTranspilation_[t]?!0:!(!goog.inHtmlDocument_()||o!="es6"||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+t)},goog.Transpiler.prototype.transpile=function(t,o){return goog.transpile_(t,o,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(t){return t.replace(/<\/(SCRIPT)/ig,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(t,o){function r(){n&&(goog.global.setTimeout(n,0),n=null)}var n=o;if(t.length){o=[];for(var i=0;i<t.length;i++){var s=this.getPathFromDeps_(t[i]);if(!s)throw Error("Unregonized namespace: "+t[i]);o.push(this.dependencies_[s])}s=goog.require;var p=0;for(i=0;i<t.length;i++)s(t[i]),o[i].onLoad(function(){++p==t.length&&r()})}else r()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(t,o){(t=this.getPathFromDeps_(t))&&(o||this.areDepsLoaded_(this.dependencies_[t].requires))&&(o=this.deferredCallbacks_[t])&&(delete this.deferredCallbacks_[t],o())},goog.DebugLoader_.prototype.setDependencyFactory=function(t){this.factory_=t},goog.DebugLoader_.prototype.load_=function(t){if(this.getPathFromDeps_(t)){var o=this,r=[],n=function(i){var s=o.getPathFromDeps_(i);if(!s)throw Error("Bad dependency path or symbol: "+i);if(!o.written_[s]){for(o.written_[s]=!0,i=o.dependencies_[s],s=0;s<i.requires.length;s++)goog.isProvided_(i.requires[s])||n(i.requires[s]);r.push(i)}};n(t),t=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(r),this.paused_||t||this.loadDeps_()}else throw t="goog.require could not find: "+t,goog.logToConsole_(t),Error(t)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var t=this,o=this.paused_;this.depsToLoad_.length&&!o;)(function(){var r=!1,n=t.depsToLoad_.shift(),i=!1;t.loading_(n);var s={pause:function(){if(r)throw Error("Cannot call pause after the call to load.");o=!0},resume:function(){r?t.resume_():o=!1},loaded:function(){if(i)throw Error("Double call to loaded.");i=!0,t.loaded_(n)},pending:function(){for(var p=[],l=0;l<t.loadingDeps_.length;l++)p.push(t.loadingDeps_[l]);return p},setModuleState:function(p){goog.moduleLoaderState_={type:p,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(p,l,_){_&&(goog.loadedModules_[_]={exports:l,type:goog.ModuleType.ES6,moduleId:_||""})},registerGoogModuleExports:function(p,l){goog.loadedModules_[p]={exports:l,type:goog.ModuleType.GOOG,moduleId:p}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(p){if(r)throw Error("Cannot register with defer after the call to load.");t.defer_(n,p)},areDepsLoaded:function(){return t.areDepsLoaded_(n.requires)}};try{n.load(s)}finally{r=!0}})();o&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(t){this.loadingDeps_.push(t)},goog.DebugLoader_.prototype.loaded_=function(t){for(var o=0;o<this.loadingDeps_.length;o++)if(this.loadingDeps_[o]==t){this.loadingDeps_.splice(o,1);break}for(o=0;o<this.deferredQueue_.length;o++)if(this.deferredQueue_[o]==t.path){this.deferredQueue_.splice(o,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);t.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(t){for(var o=0;o<t.length;o++){var r=this.getPathFromDeps_(t[o]);if(!r||!(r in this.deferredCallbacks_||goog.isProvided_(t[o])))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(t){return t in this.idToPath_?this.idToPath_[t]:t in this.dependencies_?t:null},goog.DebugLoader_.prototype.defer_=function(t,o){this.deferredCallbacks_[t.path]=o,this.deferredQueue_.push(t.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(t,o,r){},goog.LoadController.prototype.setModuleState=function(t){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(t){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(t,o,r,n,i){this.path=t,this.relativePath=o,this.provides=r,this.requires=n,this.loadFlags=i,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var t=this.path,o=t.indexOf("://");return 0<=o&&(t=t.substring(o+3),o=t.indexOf("/"),0<=o&&(t=t.substring(o+1))),t},goog.Dependency.prototype.onLoad=function(t){this.loaded_?t():this.loadCallbacks_.push(t)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var t=this.loadCallbacks_;this.loadCallbacks_=[];for(var o=0;o<t.length;o++)t[o]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(t){var o=Math.random().toString(32);return goog.Dependency.callbackMap_[o]=t,o},goog.Dependency.unregisterCallback_=function(t){delete goog.Dependency.callbackMap_[t]},goog.Dependency.callback_=function(t,o){if(t in goog.Dependency.callbackMap_){for(var r=goog.Dependency.callbackMap_[t],n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);r.apply(void 0,n)}else throw Error("Callback key "+t+" does not exist (was base.js loaded more than once?).")},goog.Dependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var o=goog.global.document;if(o.readyState=="complete"&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path)){t.loaded();return}throw Error('Cannot write "'+this.path+'" after document load')}if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var r=goog.Dependency.registerCallback_(function(s){goog.DebugLoader_.IS_OLD_IE_&&s.readyState!="complete"||(goog.Dependency.unregisterCallback_(r),t.loaded())}),n=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";n='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+`="goog.Dependency.callback_('`+r+`', this)" type="text/javascript" `+(goog.Dependency.defer_?"defer":"")+n+"><\/script>",o.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}else{var i=o.createElement("script");i.defer=goog.Dependency.defer_,i.async=!1,i.type="text/javascript",(n=goog.getScriptNonce())&&i.setAttribute("nonce",n),goog.DebugLoader_.IS_OLD_IE_?(t.pause(),i.onreadystatechange=function(){(i.readyState=="loaded"||i.readyState=="complete")&&(t.loaded(),t.resume())}):i.onload=function(){i.onload=null,t.loaded()},i.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,o.head.appendChild(i)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),this.relativePath=="deps.js"?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),t.loaded()):t.pause()},goog.Es6ModuleDependency=function(t,o,r,n,i){goog.Dependency.call(this,t,o,r,n,i)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(t){function o(C,Q){C=Q?'<script type="module" crossorigin>'+Q+"<\/script>":'<script type="module" crossorigin src="'+C+'"><\/script>',n.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(C):C)}function r(C,Q){var P=n.createElement("script");P.defer=!0,P.async=!1,P.type="module",P.setAttribute("crossorigin",!0);var G=goog.getScriptNonce();G&&P.setAttribute("nonce",G),Q?P.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(Q):Q:P.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(C):C,n.head.appendChild(P)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var n=goog.global.document,i=this;if(goog.isDocumentLoading_()){var s=o;goog.Dependency.defer_=!0}else s=r;var p=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(p),t.setModuleState(goog.ModuleType.ES6)});s(void 0,'goog.Dependency.callback_("'+p+'")'),s(this.path,void 0);var l=goog.Dependency.registerCallback_(function(C){goog.Dependency.unregisterCallback_(l),t.registerEs6ModuleExports(i.path,C,goog.moduleLoaderState_.moduleName)});s(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+l+'", m)');var _=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(_),t.clearModuleState(),t.loaded()});s(void 0,'goog.Dependency.callback_("'+_+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),t.pause()},goog.TransformedDependency=function(t,o,r,n,i){goog.Dependency.call(this,t,o,r,n,i),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(t){function o(){i.contents_=goog.loadFileSync_(i.path),i.contents_&&(i.contents_=i.transform(i.contents_),i.contents_&&(i.contents_+=`
5
- //# sourceURL=`+i.path))}function r(){if(i.lazyFetch_&&o(),i.contents_){s&&t.setModuleState(goog.ModuleType.ES6);try{var Q=i.contents_;if(i.contents_=null,goog.globalEval(Q),s)var P=goog.moduleLoaderState_.moduleName}finally{s&&t.clearModuleState()}s&&goog.global.$jscomp.require.ensure([i.getPathName()],function(){t.registerEs6ModuleExports(i.path,goog.global.$jscomp.require(i.getPathName()),P)}),t.loaded()}}function n(){var Q=goog.global.document,P=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(P),r()}),G='<script type="text/javascript">'+goog.protectScriptTag_('goog.Dependency.callback_("'+P+'");')+"<\/script>";Q.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(G):G)}var i=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)o(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,t.loaded()):t.pause();else{var s=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||o();var p=1<t.pending().length,l=p&&goog.DebugLoader_.IS_OLD_IE_;if(p=goog.Dependency.defer_&&(p||goog.isDocumentLoading_()),l||p)t.defer(function(){r()});else{var _=goog.global.document;if(l=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,s&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!l){goog.Dependency.defer_=!0,t.pause();var C=_.onreadystatechange;_.onreadystatechange=function(){_.readyState=="interactive"&&(_.onreadystatechange=C,r(),t.resume()),goog.isFunction(C)&&C.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?n():r()}}},goog.TransformedDependency.prototype.transform=function(t){},goog.TranspiledDependency=function(t,o,r,n,i,s){goog.TransformedDependency.call(this,t,o,r,n,i),this.transpiler=s},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(t){return this.transpiler.transpile(t,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(t,o,r,n,i){goog.TransformedDependency.call(this,t,o,r,n,i)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(t){return t},goog.GoogModuleDependency=function(t,o,r,n,i,s,p){goog.TransformedDependency.call(this,t,o,r,n,i),this.needsTranspile_=s,this.transpiler_=p},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(t){return this.needsTranspile_&&(t=this.transpiler_.transpile(t,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(t+`
3
+ `};goog.loadModule=function(o){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(o))var r=o.call(void 0,{});else if(typeof o=="string")goog.useSafari10Workaround()&&(o=goog.workaroundSafari10EvalBug(o)),r=goog.loadModuleFromSource_.call(void 0,o);else throw Error("Invalid module definition");var n=goog.moduleLoaderState_.moduleName;if(typeof n=="string"&&n)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(n,r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof r=="object"&&r!=null&&Object.seal(r),goog.loadedModules_[n]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+n+'"')}finally{goog.moduleLoaderState_=t}};goog.loadModuleFromSource_=function(a){return eval(a),{}};goog.normalizePath_=function(o){o=o.split("/");for(var t=0;t<o.length;)o[t]=="."?o.splice(t,1):t&&o[t]==".."&&o[t-1]&&o[t-1]!=".."?o.splice(--t,2):t++;return o.join("/")};goog.loadFileSync_=function(o){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(o);try{var t=new goog.global.XMLHttpRequest;return t.open("get",o,!1),t.send(),t.status==0||t.status==200?t.responseText:null}catch{return null}};goog.transpile_=function(o,t,r){var n=goog.global.$jscomp;n||(goog.global.$jscomp=n={});var i=n.transpile;if(!i){var p=goog.basePath+goog.TRANSPILER,l=goog.loadFileSync_(p);if(l){if(function(){(0,eval)(l+`
4
+ //# sourceURL=`+p)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,n=goog.global.$jscomp,i=n.transpile}}return i||(i=n.transpile=function(_,y){return goog.logToConsole_(y+" requires transpilation but no transpiler was found."),_}),i(o,t,r)};goog.typeOf=function(o){var t=typeof o;if(t=="object")if(o){if(o instanceof Array)return"array";if(o instanceof Object)return t;var r=Object.prototype.toString.call(o);if(r=="[object Window]")return"object";if(r=="[object Array]"||typeof o.length=="number"&&typeof o.splice<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("splice"))return"array";if(r=="[object Function]"||typeof o.call<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("call"))return"function"}else return"null";else if(t=="function"&&typeof o.call>"u")return"object";return t};goog.isArray=function(o){return goog.typeOf(o)=="array"};goog.isArrayLike=function(o){var t=goog.typeOf(o);return t=="array"||t=="object"&&typeof o.length=="number"};goog.isDateLike=function(o){return goog.isObject(o)&&typeof o.getFullYear=="function"};goog.isFunction=function(o){return goog.typeOf(o)=="function"};goog.isObject=function(o){var t=typeof o;return t=="object"&&o!=null||t=="function"};goog.getUid=function(o){return Object.prototype.hasOwnProperty.call(o,goog.UID_PROPERTY_)&&o[goog.UID_PROPERTY_]||(o[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(o){return!!o[goog.UID_PROPERTY_]};goog.removeUid=function(o){o!==null&&"removeAttribute"in o&&o.removeAttribute(goog.UID_PROPERTY_);try{delete o[goog.UID_PROPERTY_]}catch{}};goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0);goog.uidCounter_=0;goog.getHashCode=goog.getUid;goog.removeHashCode=goog.removeUid;goog.cloneObject=function(o){var t=goog.typeOf(o);if(t=="object"||t=="array"){if(typeof o.clone=="function")return o.clone();t=t=="array"?[]:{};for(var r in o)t[r]=goog.cloneObject(o[r]);return t}return o};goog.bindNative_=function(o,t,r){return o.call.apply(o.bind,arguments)};goog.bindJs_=function(o,t,r){if(!o)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),o.apply(t,i)}}return function(){return o.apply(t,arguments)}};goog.bind=function(o,t,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)};goog.partial=function(o,t){var r=Array.prototype.slice.call(arguments,1);return function(){var n=r.slice();return n.push.apply(n,arguments),o.apply(this,n)}};goog.mixin=function(o,t){for(var r in t)o[r]=t[r]};goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date};goog.globalEval=function(o){if(goog.global.execScript)goog.global.execScript(o,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null){try{goog.global.eval("var _evalTest_ = 1;")}catch{}if(typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(o);else{var t=goog.global.document,r=t.createElement("script");r.type="text/javascript",r.defer=!1,r.appendChild(t.createTextNode(o)),t.head.appendChild(r),t.head.removeChild(r)}}else throw Error("goog.globalEval not available")};goog.evalWorksForGlobals_=null;goog.getCssName=function(o,t){if(String(o).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+o);var r=function(i){return goog.cssNameMapping_[i]||i},n=function(i){i=i.split("-");for(var p=[],l=0;l<i.length;l++)p.push(r(i[l]));return p.join("-")};return n=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:n:function(i){return i},o=t?o+"-"+n(t):n(o),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(o):o};goog.setCssNameMapping=function(o,t){goog.cssNameMapping_=o,goog.cssNameMappingStyle_=t};!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING);goog.getMsg=function(o,t,r){return r&&r.html&&(o=o.replace(/</g,"&lt;")),t&&(o=o.replace(/\{\$([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),o};goog.getMsgWithFallback=function(o,t){return o};goog.exportSymbol=function(o,t,r){goog.exportPath_(o,t,r)};goog.exportProperty=function(o,t,r){o[t]=r};goog.inherits=function(o,t){function r(){}r.prototype=t.prototype,o.superClass_=t.prototype,o.prototype=new r,o.prototype.constructor=o,o.base=function(n,i,p){for(var l=Array(arguments.length-2),_=2;_<arguments.length;_++)l[_-2]=arguments[_];return t.prototype[i].apply(n,l)}};goog.scope=function(o){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");o.call(goog.global)};COMPILED||(goog.global.COMPILED=COMPILED);goog.defineClass=function(o,t){var r=t.constructor,n=t.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,o),o&&goog.inherits(r,o),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(r.prototype,t),n!=null&&(n instanceof Function?n(r):goog.defineClass.applyProperties_(r,n)),r};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;goog.defineClass.createSealingConstructor_=function(o,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return o;var r=!goog.defineClass.isUnsealable_(t),n=function(){var i=o.apply(this,arguments)||this;return i[goog.UID_PROPERTY_]=i[goog.UID_PROPERTY_],this.constructor===n&&r&&Object.seal instanceof Function&&Object.seal(i),i};return n};goog.defineClass.isUnsealable_=function(o){return o&&o.prototype&&o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");goog.defineClass.applyProperties_=function(o,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);for(var n=0;n<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;n++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[n],Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r])};goog.tagUnsealableClass=function(o){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)};goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable";!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var o=goog.global.document;return o!=null&&"write"in o},goog.isDocumentLoading_=function(){var o=goog.global.document;return o.attachEvent?o.readyState!="complete":o.readyState=="loading"},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH!=null&&typeof goog.global.CLOSURE_BASE_PATH=="string")goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var o=goog.global.document,t=o.currentScript;for(o=t?[t]:o.getElementsByTagName("SCRIPT"),t=o.length-1;0<=t;--t){var r=o[t].src,n=r.lastIndexOf("?");if(n=n==-1?r.length:n,r.substr(n-7,7)=="base.js"){goog.basePath=r.substr(0,n-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(o,t){e?d[o]=!0:t()?(c=o,d[o]=!1):e=d[o]=!0}function b(a){try{return!!eval(a)}catch(o){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return f.match(/Edge\/(\d+)(\.\d)*/i)?!1:b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(o,t){if(goog.TRANSPILE=="always")return!0;if(goog.TRANSPILE=="never")return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(o in this.requiresTranspilation_)return this.requiresTranspilation_[o]?!0:!(!goog.inHtmlDocument_()||t!="es6"||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+o)},goog.Transpiler.prototype.transpile=function(o,t){return goog.transpile_(o,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(o){return o.replace(/<\/(SCRIPT)/ig,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(o,t){function r(){n&&(goog.global.setTimeout(n,0),n=null)}var n=t;if(o.length){t=[];for(var i=0;i<o.length;i++){var p=this.getPathFromDeps_(o[i]);if(!p)throw Error("Unregonized namespace: "+o[i]);t.push(this.dependencies_[p])}p=goog.require;var l=0;for(i=0;i<o.length;i++)p(o[i]),t[i].onLoad(function(){++l==o.length&&r()})}else r()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(o,t){(o=this.getPathFromDeps_(o))&&(t||this.areDepsLoaded_(this.dependencies_[o].requires))&&(t=this.deferredCallbacks_[o])&&(delete this.deferredCallbacks_[o],t())},goog.DebugLoader_.prototype.setDependencyFactory=function(o){this.factory_=o},goog.DebugLoader_.prototype.load_=function(o){if(this.getPathFromDeps_(o)){var t=this,r=[],n=function(i){var p=t.getPathFromDeps_(i);if(!p)throw Error("Bad dependency path or symbol: "+i);if(!t.written_[p]){for(t.written_[p]=!0,i=t.dependencies_[p],p=0;p<i.requires.length;p++)goog.isProvided_(i.requires[p])||n(i.requires[p]);r.push(i)}};n(o),o=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(r),this.paused_||o||this.loadDeps_()}else throw o="goog.require could not find: "+o,goog.logToConsole_(o),Error(o)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var o=this,t=this.paused_;this.depsToLoad_.length&&!t;)(function(){var r=!1,n=o.depsToLoad_.shift(),i=!1;o.loading_(n);var p={pause:function(){if(r)throw Error("Cannot call pause after the call to load.");t=!0},resume:function(){r?o.resume_():t=!1},loaded:function(){if(i)throw Error("Double call to loaded.");i=!0,o.loaded_(n)},pending:function(){for(var l=[],_=0;_<o.loadingDeps_.length;_++)l.push(o.loadingDeps_[_]);return l},setModuleState:function(l){goog.moduleLoaderState_={type:l,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(l,_,y){y&&(goog.loadedModules_[y]={exports:_,type:goog.ModuleType.ES6,moduleId:y||""})},registerGoogModuleExports:function(l,_){goog.loadedModules_[l]={exports:_,type:goog.ModuleType.GOOG,moduleId:l}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(l){if(r)throw Error("Cannot register with defer after the call to load.");o.defer_(n,l)},areDepsLoaded:function(){return o.areDepsLoaded_(n.requires)}};try{n.load(p)}finally{r=!0}})();t&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(o){this.loadingDeps_.push(o)},goog.DebugLoader_.prototype.loaded_=function(o){for(var t=0;t<this.loadingDeps_.length;t++)if(this.loadingDeps_[t]==o){this.loadingDeps_.splice(t,1);break}for(t=0;t<this.deferredQueue_.length;t++)if(this.deferredQueue_[t]==o.path){this.deferredQueue_.splice(t,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);o.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(o){for(var t=0;t<o.length;t++){var r=this.getPathFromDeps_(o[t]);if(!r||!(r in this.deferredCallbacks_||goog.isProvided_(o[t])))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(o){return o in this.idToPath_?this.idToPath_[o]:o in this.dependencies_?o:null},goog.DebugLoader_.prototype.defer_=function(o,t){this.deferredCallbacks_[o.path]=t,this.deferredQueue_.push(o.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(o,t,r){},goog.LoadController.prototype.setModuleState=function(o){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(o){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(o,t,r,n,i){this.path=o,this.relativePath=t,this.provides=r,this.requires=n,this.loadFlags=i,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var o=this.path,t=o.indexOf("://");return 0<=t&&(o=o.substring(t+3),t=o.indexOf("/"),0<=t&&(o=o.substring(t+1))),o},goog.Dependency.prototype.onLoad=function(o){this.loaded_?o():this.loadCallbacks_.push(o)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var o=this.loadCallbacks_;this.loadCallbacks_=[];for(var t=0;t<o.length;t++)o[t]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(o){var t=Math.random().toString(32);return goog.Dependency.callbackMap_[t]=o,t},goog.Dependency.unregisterCallback_=function(o){delete goog.Dependency.callbackMap_[o]},goog.Dependency.callback_=function(o,t){if(o in goog.Dependency.callbackMap_){for(var r=goog.Dependency.callbackMap_[o],n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);r.apply(void 0,n)}else throw Error("Callback key "+o+" does not exist (was base.js loaded more than once?).")},goog.Dependency.prototype.load=function(o){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?o.loaded():o.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document;if(t.readyState=="complete"&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path)){o.loaded();return}throw Error('Cannot write "'+this.path+'" after document load')}if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var r=goog.Dependency.registerCallback_(function(p){goog.DebugLoader_.IS_OLD_IE_&&p.readyState!="complete"||(goog.Dependency.unregisterCallback_(r),o.loaded())}),n=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";n='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+`="goog.Dependency.callback_('`+r+`', this)" type="text/javascript" `+(goog.Dependency.defer_?"defer":"")+n+"><\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}else{var i=t.createElement("script");i.defer=goog.Dependency.defer_,i.async=!1,i.type="text/javascript",(n=goog.getScriptNonce())&&i.setAttribute("nonce",n),goog.DebugLoader_.IS_OLD_IE_?(o.pause(),i.onreadystatechange=function(){(i.readyState=="loaded"||i.readyState=="complete")&&(o.loaded(),o.resume())}):i.onload=function(){i.onload=null,o.loaded()},i.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(i)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),this.relativePath=="deps.js"?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),o.loaded()):o.pause()},goog.Es6ModuleDependency=function(o,t,r,n,i){goog.Dependency.call(this,o,t,r,n,i)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(o){function t(R,x){R=x?'<script type="module" crossorigin>'+x+"<\/script>":'<script type="module" crossorigin src="'+R+'"><\/script>',n.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(R):R)}function r(R,x){var O=n.createElement("script");O.defer=!0,O.async=!1,O.type="module",O.setAttribute("crossorigin",!0);var N=goog.getScriptNonce();N&&O.setAttribute("nonce",N),x?O.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(x):x:O.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(R):R,n.head.appendChild(O)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?o.loaded():o.pause();else if(goog.inHtmlDocument_()){var n=goog.global.document,i=this;if(goog.isDocumentLoading_()){var p=t;goog.Dependency.defer_=!0}else p=r;var l=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(l),o.setModuleState(goog.ModuleType.ES6)});p(void 0,'goog.Dependency.callback_("'+l+'")'),p(this.path,void 0);var _=goog.Dependency.registerCallback_(function(R){goog.Dependency.unregisterCallback_(_),o.registerEs6ModuleExports(i.path,R,goog.moduleLoaderState_.moduleName)});p(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+_+'", m)');var y=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(y),o.clearModuleState(),o.loaded()});p(void 0,'goog.Dependency.callback_("'+y+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),o.pause()},goog.TransformedDependency=function(o,t,r,n,i){goog.Dependency.call(this,o,t,r,n,i),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(o){function t(){i.contents_=goog.loadFileSync_(i.path),i.contents_&&(i.contents_=i.transform(i.contents_),i.contents_&&(i.contents_+=`
5
+ //# sourceURL=`+i.path))}function r(){if(i.lazyFetch_&&t(),i.contents_){p&&o.setModuleState(goog.ModuleType.ES6);try{var x=i.contents_;if(i.contents_=null,goog.globalEval(x),p)var O=goog.moduleLoaderState_.moduleName}finally{p&&o.clearModuleState()}p&&goog.global.$jscomp.require.ensure([i.getPathName()],function(){o.registerEs6ModuleExports(i.path,goog.global.$jscomp.require(i.getPathName()),O)}),o.loaded()}}function n(){var x=goog.global.document,O=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(O),r()}),N='<script type="text/javascript">'+goog.protectScriptTag_('goog.Dependency.callback_("'+O+'");')+"<\/script>";x.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(N):N)}var i=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)t(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,o.loaded()):o.pause();else{var p=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||t();var l=1<o.pending().length,_=l&&goog.DebugLoader_.IS_OLD_IE_;if(l=goog.Dependency.defer_&&(l||goog.isDocumentLoading_()),_||l)o.defer(function(){r()});else{var y=goog.global.document;if(_=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,p&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!_){goog.Dependency.defer_=!0,o.pause();var R=y.onreadystatechange;y.onreadystatechange=function(){y.readyState=="interactive"&&(y.onreadystatechange=R,r(),o.resume()),goog.isFunction(R)&&R.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?n():r()}}},goog.TransformedDependency.prototype.transform=function(o){},goog.TranspiledDependency=function(o,t,r,n,i,p){goog.TransformedDependency.call(this,o,t,r,n,i),this.transpiler=p},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(o){return this.transpiler.transpile(o,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(o,t,r,n,i){goog.TransformedDependency.call(this,o,t,r,n,i)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(o){return o},goog.GoogModuleDependency=function(o,t,r,n,i,p,l){goog.TransformedDependency.call(this,o,t,r,n,i),this.needsTranspile_=p,this.transpiler_=l},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(o){return this.needsTranspile_&&(o=this.transpiler_.transpile(o,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&goog.global.JSON!==void 0?"goog.loadModule("+goog.global.JSON.stringify(o+`
6
6
  //# sourceURL=`+this.path+`
7
- `)+");":'goog.loadModule(function(exports) {"use strict";'+t+`
7
+ `)+");":'goog.loadModule(function(exports) {"use strict";'+o+`
8
8
  ;return exports});
9
9
  //# sourceURL=`+this.path+`
10
- `},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(t,o,r,n){o=o||[],t=t.replace(/\\/g,"/");var i=goog.normalizePath_(goog.basePath+t);for(n&&typeof n!="boolean"||(n=n?{module:goog.ModuleType.GOOG}:{}),r=this.factory_.createDependency(i,t,o,r,n,goog.transpiler_.needsTranspile(n.lang||"es3",n.module)),this.dependencies_[i]=r,r=0;r<o.length;r++)this.idToPath_[o[r]]=i;this.idToPath_[t]=i},goog.DependencyFactory=function(t){this.transpiler=t},goog.DependencyFactory.prototype.createDependency=function(t,o,r,n,i,s){return i.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(t,o,r,n,i,s,this.transpiler):s?new goog.TranspiledDependency(t,o,r,n,i,this.transpiler):i.module==goog.ModuleType.ES6?goog.TRANSPILE=="never"&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(t,o,r,n,i):new goog.Es6ModuleDependency(t,o,r,n,i):new goog.Dependency(t,o,r,n,i)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(t){goog.debugLoader_.setDependencyFactory(t)},goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(t,o){goog.debugLoader_.bootstrap(t,o)});goog.TRUSTED_TYPES_POLICY_NAME="";goog.identity_=function(t){return t};goog.createTrustedTypesPolicy=function(t){var o=null;if(typeof TrustedTypes>"u"||!TrustedTypes.createPolicy)return o;try{o=TrustedTypes.createPolicy(t,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(r){goog.logToConsole_(r.message)}return o};goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null;goog.object={};goog.object.is=function(t,o){return t===o?t!==0||1/t===1/o:t!==t&&o!==o};goog.object.forEach=function(t,o,r){for(var n in t)o.call(r,t[n],n,t)};goog.object.filter=function(t,o,r){var n={},i;for(i in t)o.call(r,t[i],i,t)&&(n[i]=t[i]);return n};goog.object.map=function(t,o,r){var n={},i;for(i in t)n[i]=o.call(r,t[i],i,t);return n};goog.object.some=function(t,o,r){for(var n in t)if(o.call(r,t[n],n,t))return!0;return!1};goog.object.every=function(t,o,r){for(var n in t)if(!o.call(r,t[n],n,t))return!1;return!0};goog.object.getCount=function(t){var o=0,r;for(r in t)o++;return o};goog.object.getAnyKey=function(t){for(var o in t)return o};goog.object.getAnyValue=function(t){for(var o in t)return t[o]};goog.object.contains=function(t,o){return goog.object.containsValue(t,o)};goog.object.getValues=function(t){var o=[],r=0,n;for(n in t)o[r++]=t[n];return o};goog.object.getKeys=function(t){var o=[],r=0,n;for(n in t)o[r++]=n;return o};goog.object.getValueByKeys=function(t,o){var r=goog.isArrayLike(o),n=r?o:arguments;for(r=r?0:1;r<n.length;r++){if(t==null)return;t=t[n[r]]}return t};goog.object.containsKey=function(t,o){return t!==null&&o in t};goog.object.containsValue=function(t,o){for(var r in t)if(t[r]==o)return!0;return!1};goog.object.findKey=function(t,o,r){for(var n in t)if(o.call(r,t[n],n,t))return n};goog.object.findValue=function(t,o,r){return(o=goog.object.findKey(t,o,r))&&t[o]};goog.object.isEmpty=function(t){for(var o in t)return!1;return!0};goog.object.clear=function(t){for(var o in t)delete t[o]};goog.object.remove=function(t,o){var r;return(r=o in t)&&delete t[o],r};goog.object.add=function(t,o,r){if(t!==null&&o in t)throw Error('The object already contains the key "'+o+'"');goog.object.set(t,o,r)};goog.object.get=function(t,o,r){return t!==null&&o in t?t[o]:r};goog.object.set=function(t,o,r){t[o]=r};goog.object.setIfUndefined=function(t,o,r){return o in t?t[o]:t[o]=r};goog.object.setWithReturnValueIfNotSet=function(t,o,r){return o in t?t[o]:(r=r(),t[o]=r)};goog.object.equals=function(t,o){for(var r in t)if(!(r in o)||t[r]!==o[r])return!1;for(var n in o)if(!(n in t))return!1;return!0};goog.object.clone=function(t){var o={},r;for(r in t)o[r]=t[r];return o};goog.object.unsafeClone=function(t){var o=goog.typeOf(t);if(o=="object"||o=="array"){if(goog.isFunction(t.clone))return t.clone();o=o=="array"?[]:{};for(var r in t)o[r]=goog.object.unsafeClone(t[r]);return o}return t};goog.object.transpose=function(t){var o={},r;for(r in t)o[t[r]]=r;return o};goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");goog.object.extend=function(t,o){for(var r,n,i=1;i<arguments.length;i++){n=arguments[i];for(r in n)t[r]=n[r];for(var s=0;s<goog.object.PROTOTYPE_FIELDS_.length;s++)r=goog.object.PROTOTYPE_FIELDS_[s],Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}};goog.object.create=function(t){var o=arguments.length;if(o==1&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(o%2)throw Error("Uneven number of arguments");for(var r={},n=0;n<o;n+=2)r[arguments[n]]=arguments[n+1];return r};goog.object.createSet=function(t){var o=arguments.length;if(o==1&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},n=0;n<o;n++)r[arguments[n]]=!0;return r};goog.object.createImmutableView=function(t){var o=t;return Object.isFrozen&&!Object.isFrozen(t)&&(o=Object.create(t),Object.freeze(o)),o};goog.object.isImmutableView=function(t){return!!Object.isFrozen&&Object.isFrozen(t)};goog.object.getAllPropertyNames=function(t,o,r){if(!t)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(t);for(var n={};t&&(t!==Object.prototype||o)&&(t!==Function.prototype||r);){for(var i=Object.getOwnPropertyNames(t),s=0;s<i.length;s++)n[i[s]]=!0;t=Object.getPrototypeOf(t)}return goog.object.getKeys(n)};goog.object.getSuperClass=function(t){return(t=Object.getPrototypeOf(t.prototype))&&t.constructor};goog.debug={};goog.debug.Error=function(t){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var o=Error().stack;o&&(this.stack=o)}t&&(this.message=String(t)),this.reportErrorToServer=!0};goog.inherits(goog.debug.Error,Error);goog.debug.Error.prototype.name="CustomError";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;goog.asserts.AssertionError=function(t,o){goog.debug.Error.call(this,goog.asserts.subs_(t,o)),this.messagePattern=t};goog.inherits(goog.asserts.AssertionError,goog.debug.Error);goog.asserts.AssertionError.prototype.name="AssertionError";goog.asserts.DEFAULT_ERROR_HANDLER=function(t){throw t};goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;goog.asserts.subs_=function(t,o){t=t.split("%s");for(var r="",n=t.length-1,i=0;i<n;i++)r+=t[i]+(i<o.length?o[i]:"%s");return r+t[n]};goog.asserts.doAssertFailure_=function(t,o,r,n){var i="Assertion failed";if(r){i+=": "+r;var s=n}else t&&(i+=": "+t,s=o);t=new goog.asserts.AssertionError(""+i,s||[]),goog.asserts.errorHandler_(t)};goog.asserts.setErrorHandler=function(t){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=t)};goog.asserts.assert=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!t&&goog.asserts.doAssertFailure_("",null,o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertExists=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&t==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.fail=function(t,o){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(t)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertString=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(t)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertFunction=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(t)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertObject=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertArray=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(t)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertBoolean=function(t,o,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(t)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertElement=function(t,o,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t)&&t.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertInstanceof=function(t,o,r,n){return!goog.asserts.ENABLE_ASSERTS||t instanceof o||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(o),goog.asserts.getType_(t)],r,Array.prototype.slice.call(arguments,3)),t};goog.asserts.assertFinite=function(t,o,r){return!goog.asserts.ENABLE_ASSERTS||typeof t=="number"&&isFinite(t)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[t],o,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertObjectPrototypeIsIntact=function(){for(var t in Object.prototype)goog.asserts.fail(t+" should not be enumerable in Object.prototype.")};goog.asserts.getType_=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):t===null?"null":typeof t};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},BinaryMessage:function(){}};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,FHASH64:30,VHASH64:31};jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5};jspb.BinaryConstants.FieldTypeToWireType=function(t){var o=jspb.BinaryConstants.FieldType,r=jspb.BinaryConstants.WireType;switch(t){case o.INT32:case o.INT64:case o.UINT32:case o.UINT64:case o.SINT32:case o.SINT64:case o.BOOL:case o.ENUM:case o.VHASH64:return r.VARINT;case o.DOUBLE:case o.FIXED64:case o.SFIXED64:case o.FHASH64:return r.FIXED64;case o.STRING:case o.MESSAGE:case o.BYTES:return r.DELIMITED;case o.FLOAT:case o.FIXED32:case o.SFIXED32:return r.FIXED32;default:return r.INVALID}};jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1;jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60;jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54;jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22;jspb.BinaryConstants.FLOAT64_EPS=5e-324;jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324;jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292;jspb.BinaryConstants.TWO_TO_20=1048576;jspb.BinaryConstants.TWO_TO_23=8388608;jspb.BinaryConstants.TWO_TO_31=2147483648;jspb.BinaryConstants.TWO_TO_32=4294967296;jspb.BinaryConstants.TWO_TO_52=4503599627370496;jspb.BinaryConstants.TWO_TO_63=9223372036854776e3;jspb.BinaryConstants.TWO_TO_64=18446744073709552e3;jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0";goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.peek=function(t){return t[t.length-1]};goog.array.last=goog.array.peek;goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.indexOf.call(t,o,r)}:function(t,o,r){if(r=r==null?0:0>r?Math.max(0,t.length+r):r,goog.isString(t))return goog.isString(o)&&o.length==1?t.indexOf(o,r):-1;for(;r<t.length;r++)if(r in t&&t[r]===o)return r;return-1};goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.lastIndexOf.call(t,o,r??t.length-1)}:function(t,o,r){if(r=r??t.length-1,0>r&&(r=Math.max(0,t.length+r)),goog.isString(t))return goog.isString(o)&&o.length==1?t.lastIndexOf(o,r):-1;for(;0<=r;r--)if(r in t&&t[r]===o)return r;return-1};goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(t,o,r){goog.asserts.assert(t.length!=null),Array.prototype.forEach.call(t,o,r)}:function(t,o,r){for(var n=t.length,i=goog.isString(t)?t.split(""):t,s=0;s<n;s++)s in i&&o.call(r,i[s],s,t)};goog.array.forEachRight=function(t,o,r){var n=t.length,i=goog.isString(t)?t.split(""):t;for(--n;0<=n;--n)n in i&&o.call(r,i[n],n,t)};goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.filter.call(t,o,r)}:function(t,o,r){for(var n=t.length,i=[],s=0,p=goog.isString(t)?t.split(""):t,l=0;l<n;l++)if(l in p){var _=p[l];o.call(r,_,l,t)&&(i[s++]=_)}return i};goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.map.call(t,o,r)}:function(t,o,r){for(var n=t.length,i=Array(n),s=goog.isString(t)?t.split(""):t,p=0;p<n;p++)p in s&&(i[p]=o.call(r,s[p],p,t));return i};goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(t,o,r,n){return goog.asserts.assert(t.length!=null),n&&(o=goog.bind(o,n)),Array.prototype.reduce.call(t,o,r)}:function(t,o,r,n){var i=r;return goog.array.forEach(t,function(s,p){i=o.call(n,i,s,p,t)}),i};goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(t,o,r,n){return goog.asserts.assert(t.length!=null),goog.asserts.assert(o!=null),n&&(o=goog.bind(o,n)),Array.prototype.reduceRight.call(t,o,r)}:function(t,o,r,n){var i=r;return goog.array.forEachRight(t,function(s,p){i=o.call(n,i,s,p,t)}),i};goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.some.call(t,o,r)}:function(t,o,r){for(var n=t.length,i=goog.isString(t)?t.split(""):t,s=0;s<n;s++)if(s in i&&o.call(r,i[s],s,t))return!0;return!1};goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(t,o,r){return goog.asserts.assert(t.length!=null),Array.prototype.every.call(t,o,r)}:function(t,o,r){for(var n=t.length,i=goog.isString(t)?t.split(""):t,s=0;s<n;s++)if(s in i&&!o.call(r,i[s],s,t))return!1;return!0};goog.array.count=function(t,o,r){var n=0;return goog.array.forEach(t,function(i,s,p){o.call(r,i,s,p)&&++n},r),n};goog.array.find=function(t,o,r){return o=goog.array.findIndex(t,o,r),0>o?null:goog.isString(t)?t.charAt(o):t[o]};goog.array.findIndex=function(t,o,r){for(var n=t.length,i=goog.isString(t)?t.split(""):t,s=0;s<n;s++)if(s in i&&o.call(r,i[s],s,t))return s;return-1};goog.array.findRight=function(t,o,r){return o=goog.array.findIndexRight(t,o,r),0>o?null:goog.isString(t)?t.charAt(o):t[o]};goog.array.findIndexRight=function(t,o,r){var n=t.length,i=goog.isString(t)?t.split(""):t;for(--n;0<=n;n--)if(n in i&&o.call(r,i[n],n,t))return n;return-1};goog.array.contains=function(t,o){return 0<=goog.array.indexOf(t,o)};goog.array.isEmpty=function(t){return t.length==0};goog.array.clear=function(t){if(!goog.isArray(t))for(var o=t.length-1;0<=o;o--)delete t[o];t.length=0};goog.array.insert=function(t,o){goog.array.contains(t,o)||t.push(o)};goog.array.insertAt=function(t,o,r){goog.array.splice(t,r,0,o)};goog.array.insertArrayAt=function(t,o,r){goog.partial(goog.array.splice,t,r,0).apply(null,o)};goog.array.insertBefore=function(t,o,r){var n;arguments.length==2||0>(n=goog.array.indexOf(t,r))?t.push(o):goog.array.insertAt(t,o,n)};goog.array.remove=function(t,o){o=goog.array.indexOf(t,o);var r;return(r=0<=o)&&goog.array.removeAt(t,o),r};goog.array.removeLast=function(t,o){return o=goog.array.lastIndexOf(t,o),0<=o?(goog.array.removeAt(t,o),!0):!1};goog.array.removeAt=function(t,o){return goog.asserts.assert(t.length!=null),Array.prototype.splice.call(t,o,1).length==1};goog.array.removeIf=function(t,o,r){return o=goog.array.findIndex(t,o,r),0<=o?(goog.array.removeAt(t,o),!0):!1};goog.array.removeAllIf=function(t,o,r){var n=0;return goog.array.forEachRight(t,function(i,s){o.call(r,i,s,t)&&goog.array.removeAt(t,s)&&n++}),n};goog.array.concat=function(t){return Array.prototype.concat.apply([],arguments)};goog.array.join=function(t){return Array.prototype.concat.apply([],arguments)};goog.array.toArray=function(t){var o=t.length;if(0<o){for(var r=Array(o),n=0;n<o;n++)r[n]=t[n];return r}return[]};goog.array.clone=goog.array.toArray;goog.array.extend=function(t,o){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(goog.isArrayLike(n)){var i=t.length||0,s=n.length||0;t.length=i+s;for(var p=0;p<s;p++)t[i+p]=n[p]}else t.push(n)}};goog.array.splice=function(t,o,r,n){return goog.asserts.assert(t.length!=null),Array.prototype.splice.apply(t,goog.array.slice(arguments,1))};goog.array.slice=function(t,o,r){return goog.asserts.assert(t.length!=null),2>=arguments.length?Array.prototype.slice.call(t,o):Array.prototype.slice.call(t,o,r)};goog.array.removeDuplicates=function(t,o,r){o=o||t;var n=function(_){return goog.isObject(_)?"o"+goog.getUid(_):(typeof _).charAt(0)+_};r=r||n,n={};for(var i=0,s=0;s<t.length;){var p=t[s++],l=r(p);Object.prototype.hasOwnProperty.call(n,l)||(n[l]=!0,o[i++]=p)}o.length=i};goog.array.binarySearch=function(t,o,r){return goog.array.binarySearch_(t,r||goog.array.defaultCompare,!1,o)};goog.array.binarySelect=function(t,o,r){return goog.array.binarySearch_(t,o,!0,void 0,r)};goog.array.binarySearch_=function(t,o,r,n,i){for(var s=0,p=t.length,l;s<p;){var _=s+p>>1,C=r?o.call(i,t[_],_,t):o(n,t[_]);0<C?s=_+1:(p=_,l=!C)}return l?s:~s};goog.array.sort=function(t,o){t.sort(o||goog.array.defaultCompare)};goog.array.stableSort=function(t,o){for(var r=Array(t.length),n=0;n<t.length;n++)r[n]={index:n,value:t[n]};var i=o||goog.array.defaultCompare;for(goog.array.sort(r,function(s,p){return i(s.value,p.value)||s.index-p.index}),n=0;n<t.length;n++)t[n]=r[n].value};goog.array.sortByKey=function(t,o,r){var n=r||goog.array.defaultCompare;goog.array.sort(t,function(i,s){return n(o(i),o(s))})};goog.array.sortObjectsByKey=function(t,o,r){goog.array.sortByKey(t,function(n){return n[o]},r)};goog.array.isSorted=function(t,o,r){o=o||goog.array.defaultCompare;for(var n=1;n<t.length;n++){var i=o(t[n-1],t[n]);if(0<i||i==0&&r)return!1}return!0};goog.array.equals=function(t,o,r){if(!goog.isArrayLike(t)||!goog.isArrayLike(o)||t.length!=o.length)return!1;var n=t.length;r=r||goog.array.defaultCompareEquality;for(var i=0;i<n;i++)if(!r(t[i],o[i]))return!1;return!0};goog.array.compare3=function(t,o,r){r=r||goog.array.defaultCompare;for(var n=Math.min(t.length,o.length),i=0;i<n;i++){var s=r(t[i],o[i]);if(s!=0)return s}return goog.array.defaultCompare(t.length,o.length)};goog.array.defaultCompare=function(t,o){return t>o?1:t<o?-1:0};goog.array.inverseDefaultCompare=function(t,o){return-goog.array.defaultCompare(t,o)};goog.array.defaultCompareEquality=function(t,o){return t===o};goog.array.binaryInsert=function(t,o,r){return r=goog.array.binarySearch(t,o,r),0>r?(goog.array.insertAt(t,o,-(r+1)),!0):!1};goog.array.binaryRemove=function(t,o,r){return o=goog.array.binarySearch(t,o,r),0<=o?goog.array.removeAt(t,o):!1};goog.array.bucket=function(t,o,r){for(var n={},i=0;i<t.length;i++){var s=t[i],p=o.call(r,s,i,t);goog.isDef(p)&&(n[p]||(n[p]=[])).push(s)}return n};goog.array.toObject=function(t,o,r){var n={};return goog.array.forEach(t,function(i,s){n[o.call(r,i,s,t)]=i}),n};goog.array.range=function(t,o,r){var n=[],i=0,s=t;if(r=r||1,o!==void 0&&(i=t,s=o),0>r*(s-i))return[];if(0<r)for(t=i;t<s;t+=r)n.push(t);else for(t=i;t>s;t+=r)n.push(t);return n};goog.array.repeat=function(t,o){for(var r=[],n=0;n<o;n++)r[n]=t;return r};goog.array.flatten=function(t){for(var o=[],r=0;r<arguments.length;r++){var n=arguments[r];if(goog.isArray(n))for(var i=0;i<n.length;i+=8192){var s=goog.array.slice(n,i,i+8192);s=goog.array.flatten.apply(null,s);for(var p=0;p<s.length;p++)o.push(s[p])}else o.push(n)}return o};goog.array.rotate=function(t,o){return goog.asserts.assert(t.length!=null),t.length&&(o%=t.length,0<o?Array.prototype.unshift.apply(t,t.splice(-o,o)):0>o&&Array.prototype.push.apply(t,t.splice(0,-o))),t};goog.array.moveItem=function(t,o,r){goog.asserts.assert(0<=o&&o<t.length),goog.asserts.assert(0<=r&&r<t.length),o=Array.prototype.splice.call(t,o,1),Array.prototype.splice.call(t,r,0,o[0])};goog.array.zip=function(t){if(!arguments.length)return[];for(var o=[],r=arguments[0].length,n=1;n<arguments.length;n++)arguments[n].length<r&&(r=arguments[n].length);for(n=0;n<r;n++){for(var i=[],s=0;s<arguments.length;s++)i.push(arguments[s][n]);o.push(i)}return o};goog.array.shuffle=function(t,o){o=o||Math.random;for(var r=t.length-1;0<r;r--){var n=Math.floor(o()*(r+1)),i=t[r];t[r]=t[n],t[n]=i}};goog.array.copyByIndex=function(t,o){var r=[];return goog.array.forEach(o,function(n){r.push(t[n])}),r};goog.array.concatMap=function(t,o,r){return goog.array.concat.apply([],goog.array.map(t,o,r))};goog.crypt={};goog.crypt.stringToByteArray=function(t){for(var o=[],r=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);255<i&&(o[r++]=i&255,i>>=8),o[r++]=i}return o};goog.crypt.byteArrayToString=function(t){if(8192>=t.length)return String.fromCharCode.apply(null,t);for(var o="",r=0;r<t.length;r+=8192){var n=goog.array.slice(t,r,r+8192);o+=String.fromCharCode.apply(null,n)}return o};goog.crypt.byteArrayToHex=function(t,o){return goog.array.map(t,function(r){return r=r.toString(16),1<r.length?r:"0"+r}).join(o||"")};goog.crypt.hexToByteArray=function(t){goog.asserts.assert(t.length%2==0,"Key string length must be multiple of 2");for(var o=[],r=0;r<t.length;r+=2)o.push(parseInt(t.substring(r,r+2),16));return o};goog.crypt.stringToUtf8ByteArray=function(t){for(var o=[],r=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);128>i?o[r++]=i:(2048>i?o[r++]=i>>6|192:((i&64512)==55296&&n+1<t.length&&(t.charCodeAt(n+1)&64512)==56320?(i=65536+((i&1023)<<10)+(t.charCodeAt(++n)&1023),o[r++]=i>>18|240,o[r++]=i>>12&63|128):o[r++]=i>>12|224,o[r++]=i>>6&63|128),o[r++]=i&63|128)}return o};goog.crypt.utf8ByteArrayToString=function(t){for(var o=[],r=0,n=0;r<t.length;){var i=t[r++];if(128>i)o[n++]=String.fromCharCode(i);else if(191<i&&224>i){var s=t[r++];o[n++]=String.fromCharCode((i&31)<<6|s&63)}else if(239<i&&365>i){s=t[r++];var p=t[r++],l=t[r++];i=((i&7)<<18|(s&63)<<12|(p&63)<<6|l&63)-65536,o[n++]=String.fromCharCode(55296+(i>>10)),o[n++]=String.fromCharCode(56320+(i&1023))}else s=t[r++],p=t[r++],o[n++]=String.fromCharCode((i&15)<<12|(s&63)<<6|p&63)}return o.join("")};goog.crypt.xorByteArray=function(t,o){goog.asserts.assert(t.length==o.length,"XOR array lengths must match");for(var r=[],n=0;n<t.length;n++)r.push(t[n]^o[n]);return r};goog.dom.asserts={};goog.dom.asserts.assertIsLocation=function(t){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(t);o&&(!t||!(t instanceof o.Location)&&t instanceof o.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(t))}return t};goog.dom.asserts.assertIsElementType_=function(t,o){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(t);r&&typeof r[o]<"u"&&(t&&(t instanceof r[o]||!(t instanceof r.Location||t instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",o,goog.dom.asserts.debugStringForType_(t)))}return t};goog.dom.asserts.assertIsHTMLAnchorElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAnchorElement")};goog.dom.asserts.assertIsHTMLButtonElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLButtonElement")};goog.dom.asserts.assertIsHTMLLinkElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLLinkElement")};goog.dom.asserts.assertIsHTMLImageElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLImageElement")};goog.dom.asserts.assertIsHTMLAudioElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAudioElement")};goog.dom.asserts.assertIsHTMLVideoElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLVideoElement")};goog.dom.asserts.assertIsHTMLInputElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLInputElement")};goog.dom.asserts.assertIsHTMLTextAreaElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLTextAreaElement")};goog.dom.asserts.assertIsHTMLCanvasElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLCanvasElement")};goog.dom.asserts.assertIsHTMLEmbedElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLEmbedElement")};goog.dom.asserts.assertIsHTMLFormElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFormElement")};goog.dom.asserts.assertIsHTMLFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFrameElement")};goog.dom.asserts.assertIsHTMLIFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLIFrameElement")};goog.dom.asserts.assertIsHTMLObjectElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLObjectElement")};goog.dom.asserts.assertIsHTMLScriptElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLScriptElement")};goog.dom.asserts.debugStringForType_=function(t){if(goog.isObject(t))try{return t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t)}catch{return"<object could not be stringified>"}else return t===void 0?"undefined":t===null?"null":typeof t};goog.dom.asserts.getWindow_=function(t){try{var o=t&&t.ownerDocument,r=o&&(o.defaultView||o.parentWindow);if(r=r||goog.global,r.Element&&r.Location)return r}catch{}return null};goog.functions={};goog.functions.constant=function(t){return function(){return t}};goog.functions.FALSE=function(){return!1};goog.functions.TRUE=function(){return!0};goog.functions.NULL=function(){return null};goog.functions.identity=function(t,o){return t};goog.functions.error=function(t){return function(){throw Error(t)}};goog.functions.fail=function(t){return function(){throw t}};goog.functions.lock=function(t,o){return o=o||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,o))}};goog.functions.nth=function(t){return function(){return arguments[t]}};goog.functions.partialRight=function(t,o){var r=Array.prototype.slice.call(arguments,1);return function(){var n=Array.prototype.slice.call(arguments);return n.push.apply(n,r),t.apply(this,n)}};goog.functions.withReturnValue=function(t,o){return goog.functions.sequence(t,goog.functions.constant(o))};goog.functions.equalTo=function(t,o){return function(r){return o?t==r:t===r}};goog.functions.compose=function(t,o){var r=arguments,n=r.length;return function(){var i;n&&(i=r[n-1].apply(this,arguments));for(var s=n-2;0<=s;s--)i=r[s].call(this,i);return i}};goog.functions.sequence=function(t){var o=arguments,r=o.length;return function(){for(var n,i=0;i<r;i++)n=o[i].apply(this,arguments);return n}};goog.functions.and=function(t){var o=arguments,r=o.length;return function(){for(var n=0;n<r;n++)if(!o[n].apply(this,arguments))return!1;return!0}};goog.functions.or=function(t){var o=arguments,r=o.length;return function(){for(var n=0;n<r;n++)if(o[n].apply(this,arguments))return!0;return!1}};goog.functions.not=function(t){return function(){return!t.apply(this,arguments)}};goog.functions.create=function(t,o){var r=function(){};return r.prototype=t.prototype,r=new r,t.apply(r,Array.prototype.slice.call(arguments,1)),r};goog.functions.CACHE_RETURN_VALUE=!0;goog.functions.cacheReturnValue=function(t){var o=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(o||(r=t(),o=!0),r):t()}};goog.functions.once=function(t){var o=t;return function(){if(o){var r=o;o=null,r()}}};goog.functions.debounce=function(t,o,r){var n=0;return function(i){goog.global.clearTimeout(n);var s=arguments;n=goog.global.setTimeout(function(){t.apply(r,s)},o)}};goog.functions.throttle=function(t,o,r){var n=0,i=!1,s=[],p=function(){n=0,i&&(i=!1,l())},l=function(){n=goog.global.setTimeout(p,o),t.apply(r,s)};return function(_){s=arguments,n?i=!0:l()}};goog.functions.rateLimit=function(t,o,r){var n=0,i=function(){n=0};return function(s){n||(n=goog.global.setTimeout(i,o),t.apply(r,arguments))}};goog.dom.HtmlElement=function(){};goog.dom.TagName=function(t){this.tagName_=t};goog.dom.TagName.prototype.toString=function(){return this.tagName_};goog.dom.TagName.A=new goog.dom.TagName("A");goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR");goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM");goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS");goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET");goog.dom.TagName.AREA=new goog.dom.TagName("AREA");goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE");goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE");goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO");goog.dom.TagName.B=new goog.dom.TagName("B");goog.dom.TagName.BASE=new goog.dom.TagName("BASE");goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT");goog.dom.TagName.BDI=new goog.dom.TagName("BDI");goog.dom.TagName.BDO=new goog.dom.TagName("BDO");goog.dom.TagName.BIG=new goog.dom.TagName("BIG");goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE");goog.dom.TagName.BODY=new goog.dom.TagName("BODY");goog.dom.TagName.BR=new goog.dom.TagName("BR");goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON");goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS");goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION");goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER");goog.dom.TagName.CITE=new goog.dom.TagName("CITE");goog.dom.TagName.CODE=new goog.dom.TagName("CODE");goog.dom.TagName.COL=new goog.dom.TagName("COL");goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP");goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND");goog.dom.TagName.DATA=new goog.dom.TagName("DATA");goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST");goog.dom.TagName.DD=new goog.dom.TagName("DD");goog.dom.TagName.DEL=new goog.dom.TagName("DEL");goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS");goog.dom.TagName.DFN=new goog.dom.TagName("DFN");goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG");goog.dom.TagName.DIR=new goog.dom.TagName("DIR");goog.dom.TagName.DIV=new goog.dom.TagName("DIV");goog.dom.TagName.DL=new goog.dom.TagName("DL");goog.dom.TagName.DT=new goog.dom.TagName("DT");goog.dom.TagName.EM=new goog.dom.TagName("EM");goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED");goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET");goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION");goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE");goog.dom.TagName.FONT=new goog.dom.TagName("FONT");goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER");goog.dom.TagName.FORM=new goog.dom.TagName("FORM");goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME");goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET");goog.dom.TagName.H1=new goog.dom.TagName("H1");goog.dom.TagName.H2=new goog.dom.TagName("H2");goog.dom.TagName.H3=new goog.dom.TagName("H3");goog.dom.TagName.H4=new goog.dom.TagName("H4");goog.dom.TagName.H5=new goog.dom.TagName("H5");goog.dom.TagName.H6=new goog.dom.TagName("H6");goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD");goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER");goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP");goog.dom.TagName.HR=new goog.dom.TagName("HR");goog.dom.TagName.HTML=new goog.dom.TagName("HTML");goog.dom.TagName.I=new goog.dom.TagName("I");goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME");goog.dom.TagName.IMG=new goog.dom.TagName("IMG");goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT");goog.dom.TagName.INS=new goog.dom.TagName("INS");goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX");goog.dom.TagName.KBD=new goog.dom.TagName("KBD");goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN");goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL");goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND");goog.dom.TagName.LI=new goog.dom.TagName("LI");goog.dom.TagName.LINK=new goog.dom.TagName("LINK");goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN");goog.dom.TagName.MAP=new goog.dom.TagName("MAP");goog.dom.TagName.MARK=new goog.dom.TagName("MARK");goog.dom.TagName.MATH=new goog.dom.TagName("MATH");goog.dom.TagName.MENU=new goog.dom.TagName("MENU");goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM");goog.dom.TagName.META=new goog.dom.TagName("META");goog.dom.TagName.METER=new goog.dom.TagName("METER");goog.dom.TagName.NAV=new goog.dom.TagName("NAV");goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES");goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT");goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT");goog.dom.TagName.OL=new goog.dom.TagName("OL");goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP");goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION");goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT");goog.dom.TagName.P=new goog.dom.TagName("P");goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM");goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE");goog.dom.TagName.PRE=new goog.dom.TagName("PRE");goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS");goog.dom.TagName.Q=new goog.dom.TagName("Q");goog.dom.TagName.RP=new goog.dom.TagName("RP");goog.dom.TagName.RT=new goog.dom.TagName("RT");goog.dom.TagName.RTC=new goog.dom.TagName("RTC");goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY");goog.dom.TagName.S=new goog.dom.TagName("S");goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP");goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT");goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION");goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT");goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL");goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE");goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN");goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE");goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG");goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE");goog.dom.TagName.SUB=new goog.dom.TagName("SUB");goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY");goog.dom.TagName.SUP=new goog.dom.TagName("SUP");goog.dom.TagName.SVG=new goog.dom.TagName("SVG");goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE");goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY");goog.dom.TagName.TD=new goog.dom.TagName("TD");goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE");goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA");goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT");goog.dom.TagName.TH=new goog.dom.TagName("TH");goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD");goog.dom.TagName.TIME=new goog.dom.TagName("TIME");goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE");goog.dom.TagName.TR=new goog.dom.TagName("TR");goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK");goog.dom.TagName.TT=new goog.dom.TagName("TT");goog.dom.TagName.U=new goog.dom.TagName("U");goog.dom.TagName.UL=new goog.dom.TagName("UL");goog.dom.TagName.VAR=new goog.dom.TagName("VAR");goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO");goog.dom.TagName.WBR=new goog.dom.TagName("WBR");goog.dom.tags={};goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};goog.dom.tags.isVoidTag=function(t){return goog.dom.tags.VOID_TAGS_[t]===!0};goog.html={};goog.html.trustedtypes={};goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null;goog.string={};goog.string.TypedString=function(){};goog.string.Const=function(t,o){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=t===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&o||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_};goog.string.Const.prototype.implementsGoogStringTypedString=!0;goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"};goog.string.Const.unwrap=function(t){return t instanceof goog.string.Const&&t.constructor===goog.string.Const&&t.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?t.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+t+"'"),"type_error:Const")};goog.string.Const.from=function(t){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,t)};goog.string.Const.TYPE_MARKER_={};goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={};goog.string.Const.EMPTY=goog.string.Const.from("");goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0;goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeScript.fromConstant=function(t){return t=goog.string.Const.unwrap(t),t.length===0?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeScript.fromConstantAndArgs=function(t,o){for(var r=[],n=1;n<arguments.length;n++)r.push(goog.html.SafeScript.stringify_(arguments[n]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(t)+")("+r.join(", ")+");")};goog.html.SafeScript.fromJson=function(t){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(t))};goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()};goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"});goog.html.SafeScript.unwrap=function(t){return goog.html.SafeScript.unwrapTrustedScript(t).toString()};goog.html.SafeScript.unwrapTrustedScript=function(t){return t instanceof goog.html.SafeScript&&t.constructor===goog.html.SafeScript&&t.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeScript")};goog.html.SafeScript.stringify_=function(t){return JSON.stringify(t).replace(/</g,"\\x3c")};goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeScript().initSecurityPrivateDoNotAccessOrElse_(t)};goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(t):t,this};goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");goog.fs={};goog.fs.url={};goog.fs.url.createObjectUrl=function(t){return goog.fs.url.getUrlObject_().createObjectURL(t)};goog.fs.url.revokeObjectUrl=function(t){goog.fs.url.getUrlObject_().revokeObjectURL(t)};goog.fs.url.getUrlObject_=function(){var t=goog.fs.url.findUrlObject_();if(t!=null)return t;throw Error("This browser doesn't seem to support blob URLs")};goog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null};goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null};goog.i18n={};goog.i18n.bidi={};goog.i18n.bidi.FORCE_RTL=!1;goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa");goog.i18n.bidi.Format={LRE:"\u202A",RLE:"\u202B",PDF:"\u202C",LRM:"\u200E",RLM:"\u200F"};goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0};goog.i18n.bidi.RIGHT="right";goog.i18n.bidi.LEFT="left";goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT;goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT;goog.i18n.bidi.toDir=function(t,o){return typeof t=="number"?0<t?goog.i18n.bidi.Dir.LTR:0>t?goog.i18n.bidi.Dir.RTL:o?null:goog.i18n.bidi.Dir.NEUTRAL:t==null?null:t?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.ltrChars_="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0900-\u1FFF\u200E\u2C00-\uD801\uD804-\uD839\uD83C-\uDBFF\uF900-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF";goog.i18n.bidi.rtlChars_="\u0591-\u06EF\u06FA-\u08FF\u200F\uD802-\uD803\uD83A-\uD83B\uFB1D-\uFDFF\uFE70-\uFEFC";goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g;goog.i18n.bidi.stripHtmlIfNeeded_=function(t,o){return o?t.replace(goog.i18n.bidi.htmlSkipReg_,""):t};goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.hasAnyRtl=function(t,o){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl;goog.i18n.bidi.hasAnyLtr=function(t,o){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.isRtlChar=function(t){return goog.i18n.bidi.rtlRe_.test(t)};goog.i18n.bidi.isLtrChar=function(t){return goog.i18n.bidi.ltrRe_.test(t)};goog.i18n.bidi.isNeutralChar=function(t){return!goog.i18n.bidi.isLtrChar(t)&&!goog.i18n.bidi.isRtlChar(t)};goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.startsWithRtl=function(t,o){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl;goog.i18n.bidi.startsWithLtr=function(t,o){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr;goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/;goog.i18n.bidi.isNeutralText=function(t,o){return t=goog.i18n.bidi.stripHtmlIfNeeded_(t,o),goog.i18n.bidi.isRequiredLtrRe_.test(t)||!goog.i18n.bidi.hasAnyLtr(t)&&!goog.i18n.bidi.hasAnyRtl(t)};goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$");goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$");goog.i18n.bidi.endsWithLtr=function(t,o){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr;goog.i18n.bidi.endsWithRtl=function(t,o){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,o))};goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl;goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;goog.i18n.bidi.isRtlLanguage=function(t){return goog.i18n.bidi.rtlLocalesRe_.test(t)};goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g;goog.i18n.bidi.guardBracketInText=function(t,o){return o=(o===void 0?goog.i18n.bidi.hasAnyRtl(t):o)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,t.replace(goog.i18n.bidi.bracketGuardTextRe_,o+"$&"+o)};goog.i18n.bidi.enforceRtlInHtml=function(t){return t.charAt(0)=="<"?t.replace(/<\w+/,"$& dir=rtl"):`
11
- <span dir=rtl>`+t+"</span>"};goog.i18n.bidi.enforceRtlInText=function(t){return goog.i18n.bidi.Format.RLE+t+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.enforceLtrInHtml=function(t){return t.charAt(0)=="<"?t.replace(/<\w+/,"$& dir=ltr"):`
12
- <span dir=ltr>`+t+"</span>"};goog.i18n.bidi.enforceLtrInText=function(t){return goog.i18n.bidi.Format.LRE+t+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g;goog.i18n.bidi.leftRe_=/left/gi;goog.i18n.bidi.rightRe_=/right/gi;goog.i18n.bidi.tempRe_=/%%%%/g;goog.i18n.bidi.mirrorCSS=function(t){return t.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)};goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g;goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g;goog.i18n.bidi.normalizeHebrewQuote=function(t){return t.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05F4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05F3")};goog.i18n.bidi.wordSeparatorRe_=/\s+/;goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/;goog.i18n.bidi.rtlDetectionThreshold_=.4;goog.i18n.bidi.estimateDirection=function(t,o){var r=0,n=0,i=!1;for(t=goog.i18n.bidi.stripHtmlIfNeeded_(t,o).split(goog.i18n.bidi.wordSeparatorRe_),o=0;o<t.length;o++){var s=t[o];goog.i18n.bidi.startsWithRtl(s)?(r++,n++):goog.i18n.bidi.isRequiredLtrRe_.test(s)?i=!0:goog.i18n.bidi.hasAnyLtr(s)?n++:goog.i18n.bidi.hasNumeralsRe_.test(s)&&(i=!0)}return n==0?i?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/n>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.detectRtlDirectionality=function(t,o){return goog.i18n.bidi.estimateDirection(t,o)==goog.i18n.bidi.Dir.RTL};goog.i18n.bidi.setElementDirAndAlign=function(t,o){t&&(o=goog.i18n.bidi.toDir(o))&&(t.style.textAlign=o==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,t.dir=o==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")};goog.i18n.bidi.setElementDirByTextDirectionality=function(t,o){switch(goog.i18n.bidi.estimateDirection(o)){case goog.i18n.bidi.Dir.LTR:t.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:t.dir="rtl";break;default:t.removeAttribute("dir")}};goog.i18n.bidi.DirectionalString=function(){};goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0;goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(t,o){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var n=r[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",t)+goog.html.TrustedResourceUrl.stringifyParams_("#",n,o))};goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"});goog.html.TrustedResourceUrl.unwrap=function(t){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t).toString()};goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(t){return t instanceof goog.html.TrustedResourceUrl&&t.constructor===goog.html.TrustedResourceUrl&&t.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:TrustedResourceUrl")};goog.html.TrustedResourceUrl.unwrapTrustedURL=function(t){return t.trustedURL_?t.trustedURL_:goog.html.TrustedResourceUrl.unwrap(t)};goog.html.TrustedResourceUrl.format=function(t,o){var r=goog.string.Const.unwrap(t);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return t=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(n,i){if(!Object.prototype.hasOwnProperty.call(o,i))throw Error('Found marker, "'+i+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(o));return n=o[i],n instanceof goog.string.Const?goog.string.Const.unwrap(n):encodeURIComponent(String(n))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g;goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i;goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;goog.html.TrustedResourceUrl.formatWithParams=function(t,o,r,n){return goog.html.TrustedResourceUrl.format(t,o).cloneWithParams(r,n)};goog.html.TrustedResourceUrl.fromConstant=function(t){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))};goog.html.TrustedResourceUrl.fromConstants=function(t){for(var o="",r=0;r<t.length;r++)o+=goog.string.Const.unwrap(t[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(t){var o=new goog.html.TrustedResourceUrl;return o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(t):t,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(o.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(t)),o};goog.html.TrustedResourceUrl.stringifyParams_=function(t,o,r){if(r==null)return o;if(goog.isString(r))return r?t+encodeURIComponent(r):"";for(var n in r){var i=r[n];i=goog.isArray(i)?i:[i];for(var s=0;s<i.length;s++){var p=i[s];p!=null&&(o||(o=t),o+=(o.length>t.length?"&":"")+encodeURIComponent(n)+"="+encodeURIComponent(String(p)))}}return o};goog.string.internal={};goog.string.internal.startsWith=function(t,o){return t.lastIndexOf(o,0)==0};goog.string.internal.endsWith=function(t,o){var r=t.length-o.length;return 0<=r&&t.indexOf(o,r)==r};goog.string.internal.caseInsensitiveStartsWith=function(t,o){return goog.string.internal.caseInsensitiveCompare(o,t.substr(0,o.length))==0};goog.string.internal.caseInsensitiveEndsWith=function(t,o){return goog.string.internal.caseInsensitiveCompare(o,t.substr(t.length-o.length,o.length))==0};goog.string.internal.caseInsensitiveEquals=function(t,o){return t.toLowerCase()==o.toLowerCase()};goog.string.internal.isEmptyOrWhitespace=function(t){return/^[\s\xa0]*$/.test(t)};goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]};goog.string.internal.caseInsensitiveCompare=function(t,o){return t=String(t).toLowerCase(),o=String(o).toLowerCase(),t<o?-1:t==o?0:1};goog.string.internal.newLineToBr=function(t,o){return t.replace(/(\r\n|\r|\n)/g,o?"<br />":"<br>")};goog.string.internal.htmlEscape=function(t,o){if(o)t=t.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(t))return t;t.indexOf("&")!=-1&&(t=t.replace(goog.string.internal.AMP_RE_,"&amp;")),t.indexOf("<")!=-1&&(t=t.replace(goog.string.internal.LT_RE_,"&lt;")),t.indexOf(">")!=-1&&(t=t.replace(goog.string.internal.GT_RE_,"&gt;")),t.indexOf('"')!=-1&&(t=t.replace(goog.string.internal.QUOT_RE_,"&quot;")),t.indexOf("'")!=-1&&(t=t.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),t.indexOf("\0")!=-1&&(t=t.replace(goog.string.internal.NULL_RE_,"&#0;"))}return t};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;goog.string.internal.NULL_RE_=/\x00/g;goog.string.internal.ALL_RE_=/[\x00&<>"']/;goog.string.internal.whitespaceEscape=function(t,o){return goog.string.internal.newLineToBr(t.replace(/ /g," &#160;"),o)};goog.string.internal.contains=function(t,o){return t.indexOf(o)!=-1};goog.string.internal.caseInsensitiveContains=function(t,o){return goog.string.internal.contains(t.toLowerCase(),o.toLowerCase())};goog.string.internal.compareVersions=function(t,o){var r=0;t=goog.string.internal.trim(String(t)).split("."),o=goog.string.internal.trim(String(o)).split(".");for(var n=Math.max(t.length,o.length),i=0;r==0&&i<n;i++){var s=t[i]||"",p=o[i]||"";do{if(s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],p=/(\d*)(\D*)(.*)/.exec(p)||["","","",""],s[0].length==0&&p[0].length==0)break;r=s[1].length==0?0:parseInt(s[1],10);var l=p[1].length==0?0:parseInt(p[1],10);r=goog.string.internal.compareElements_(r,l)||goog.string.internal.compareElements_(s[2].length==0,p[2].length==0)||goog.string.internal.compareElements_(s[2],p[2]),s=s[3],p=p[3]}while(r==0)}return r};goog.string.internal.compareElements_=function(t,o){return t<o?-1:t>o?1:0};goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez";goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0;goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"});goog.html.SafeUrl.unwrap=function(t){return goog.html.SafeUrl.unwrapTrustedURL(t).toString()};goog.html.SafeUrl.unwrapTrustedURL=function(t){return t instanceof goog.html.SafeUrl&&t.constructor===goog.html.SafeUrl&&t.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeUrl")};goog.html.SafeUrl.fromConstant=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))};goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i;goog.html.SafeUrl.isSafeMimeType=function(t){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(t)};goog.html.SafeUrl.fromBlob=function(t){return t=goog.html.SAFE_MIME_TYPE_PATTERN_.test(t.type)?goog.fs.url.createObjectUrl(t):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i;goog.html.SafeUrl.fromDataUrl=function(t){t=t.replace(/(%0A|%0D)/g,"");var o=t.match(goog.html.DATA_URL_PATTERN_);return o=o&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(o[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o?t:goog.html.SafeUrl.INNOCUOUS_STRING)};goog.html.SafeUrl.fromTelUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"tel:")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i;goog.html.SafeUrl.fromSipUrl=function(t){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(t))||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.fromFacebookMessengerUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"fb-messenger://share")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.fromWhatsAppUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"whatsapp://send")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.fromSmsUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.isSmsUrlBodyValid_=function(t){var o=t.indexOf("#");if(0<o&&(t=t.substring(0,o)),o=t.match(/[?&]body=/gi),!o)return!0;if(1<o.length)return!1;if(t=t.match(/[?&]body=([^&]*)/)[1],!t)return!0;try{decodeURIComponent(t)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(t)};goog.html.SafeUrl.fromSshUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"ssh://")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(t,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,t,o)};goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(t,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,t,o)};goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(t,o){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,t,o)};goog.html.SafeUrl.sanitizeExtensionUrl_=function(t,o,r){return(t=t.exec(o))?(t=t[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(n){return goog.string.Const.unwrap(n)})).indexOf(t)==-1&&(o=goog.html.SafeUrl.INNOCUOUS_STRING)):o=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.fromTrustedResourceUrl=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(t))};goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_;goog.html.SafeUrl.sanitize=function(t){return t instanceof goog.html.SafeUrl?t:(t=typeof t=="object"&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SAFE_URL_PATTERN_.test(t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t))};goog.html.SafeUrl.sanitizeAssertUnchanged=function(t,o){return t instanceof goog.html.SafeUrl?t:(t=typeof t=="object"&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),o&&/^data:/i.test(t)&&(o=goog.html.SafeUrl.fromDataUrl(t),o.getTypedStringValue()==t)?o:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(t),"%s does not match the safe URL pattern",t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)))};goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(t){var o=new goog.html.SafeUrl;return o.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(t):t,o};goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank");goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeStyle.fromConstant=function(t){return t=goog.string.Const.unwrap(t),t.length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(t,";"),"Last character of style string is not ';': "+t),goog.asserts.assert(goog.string.internal.contains(t,":"),`Style string must contain at least one ':', to specify a "name: value" pair: `+t),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t))};goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"});goog.html.SafeStyle.unwrap=function(t){return t instanceof goog.html.SafeStyle&&t.constructor===goog.html.SafeStyle&&t.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyle")};goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeStyle().initSecurityPrivateDoNotAccessOrElse_(t)};goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=t,this};goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez";goog.html.SafeStyle.create=function(t){var o="",r;for(r in t){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var n=t[r];n!=null&&(n=goog.isArray(n)?goog.array.map(n,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(n),o+=r+":"+n+";")}return o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY};goog.html.SafeStyle.sanitizePropertyValue_=function(t){if(t instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(t).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(t=t instanceof goog.string.Const?goog.string.Const.unwrap(t):goog.html.SafeStyle.sanitizePropertyValueString_(String(t)),/[{;}]/.test(t))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[t]);return t};goog.html.SafeStyle.sanitizePropertyValueString_=function(t){var o=t.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");if(goog.html.SafeStyle.VALUE_RE_.test(o)){if(goog.html.SafeStyle.COMMENT_RE_.test(t))return goog.asserts.fail("String value disallows comments, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedQuotes_(t))return goog.asserts.fail("String value requires balanced quotes, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedSquareBrackets_(t))return goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING}else return goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING;return goog.html.SafeStyle.sanitizeUrl_(t)};goog.html.SafeStyle.hasBalancedQuotes_=function(t){for(var o=!0,r=!0,n=0;n<t.length;n++){var i=t.charAt(n);i=="'"&&r?o=!o:i=='"'&&o&&(r=!r)}return o&&r};goog.html.SafeStyle.hasBalancedSquareBrackets_=function(t){for(var o=!0,r=/^[-_a-zA-Z0-9]$/,n=0;n<t.length;n++){var i=t.charAt(n);if(i=="]"){if(o)return!1;o=!0}else if(i=="["){if(!o)return!1;o=!1}else if(!o&&!r.test(i))return!1}return o};goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`;goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$");goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g;goog.html.SafeStyle.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g;goog.html.SafeStyle.COMMENT_RE_=/\/\*/;goog.html.SafeStyle.sanitizeUrl_=function(t){return t.replace(goog.html.SafeStyle.URL_RE_,function(o,r,n,i){var s="";return n=n.replace(/^(['"])(.*)\1$/,function(p,l,_){return s=l,_}),o=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),r+s+o+s+i})};goog.html.SafeStyle.concat=function(t){var o="",r=function(n){goog.isArray(n)?goog.array.forEach(n,r):o+=goog.html.SafeStyle.unwrap(n)};return goog.array.forEach(arguments,r),o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY};goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeStyleSheet.createRule=function(t,o){if(goog.string.internal.contains(t,"<"))throw Error("Selector does not allow '<', got: "+t);var r=t.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+t);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+t);return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),t=t+"{"+goog.html.SafeStyle.unwrap(o).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeStyleSheet.hasBalancedBrackets_=function(t){for(var o={"(":")","[":"]"},r=[],n=0;n<t.length;n++){var i=t[n];if(o[i])r.push(o[i]);else if(goog.object.contains(o,i)&&r.pop()!=i)return!1}return r.length==0};goog.html.SafeStyleSheet.concat=function(t){var o="",r=function(n){goog.isArray(n)?goog.array.forEach(n,r):o+=goog.html.SafeStyleSheet.unwrap(n)};return goog.array.forEach(arguments,r),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeStyleSheet.fromConstant=function(t){return t=goog.string.Const.unwrap(t),t.length===0?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(t,"<"),"Forbidden '<' character in style sheet string: "+t),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t))};goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"});goog.html.SafeStyleSheet.unwrap=function(t){return t instanceof goog.html.SafeStyleSheet&&t.constructor===goog.html.SafeStyleSheet&&t.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyleSheet")};goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeStyleSheet().initSecurityPrivateDoNotAccessOrElse_(t)};goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=t,this};goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};goog.labs.userAgent.util.getNativeUserAgentString_=function(){var t=goog.labs.userAgent.util.getNavigator_();return t&&(t=t.userAgent)?t:""};goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator};goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_();goog.labs.userAgent.util.setUserAgent=function(t){goog.labs.userAgent.util.userAgent_=t||goog.labs.userAgent.util.getNativeUserAgentString_()};goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_};goog.labs.userAgent.util.matchUserAgent=function(t){var o=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(o,t)};goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(t){var o=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(o,t)};goog.labs.userAgent.util.extractVersionTuples=function(t){for(var o=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[],n;n=o.exec(t);)r.push([n[1],n[2],n[3]||void 0]);return r};goog.labs.userAgent.browser={};goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")};goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")};goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")};goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")};goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")};goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")};goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))};goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")};goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")};goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()};goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())};goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_;goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_;goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_;goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_;goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_;goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_;goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_;goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_;goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_;goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_;goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_;goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")};goog.labs.userAgent.browser.getVersion=function(){function t(i){return i=goog.array.find(i,n),r[i]||""}var o=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(o);o=goog.labs.userAgent.util.extractVersionTuples(o);var r={};goog.array.forEach(o,function(i){r[i[0]]=i[1]});var n=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?t(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?t(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?t(["Edg"]):goog.labs.userAgent.browser.isChrome()?t(["Chrome","CriOS"]):(o=o[2])&&o[1]||""};goog.labs.userAgent.browser.isVersionOrHigher=function(t){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),t)};goog.labs.userAgent.browser.getIEVersion_=function(t){var o=/rv: *([\d\.]*)/.exec(t);if(o&&o[1])return o[1];o="";var r=/MSIE +([\d\.]+)/.exec(t);if(r&&r[1])if(t=/Trident\/(\d.\d)/.exec(t),r[1]=="7.0")if(t&&t[1])switch(t[1]){case"4.0":o="8.0";break;case"5.0":o="9.0";break;case"6.0":o="10.0";break;case"7.0":o="11.0"}else o="7.0";else o=r[1];return o};goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null};goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_};goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0;goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"});goog.html.SafeHtml.unwrap=function(t){return goog.html.SafeHtml.unwrapTrustedHTML(t).toString()};goog.html.SafeHtml.unwrapTrustedHTML=function(t){return t instanceof goog.html.SafeHtml&&t.constructor===goog.html.SafeHtml&&t.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeHtml")};goog.html.SafeHtml.htmlEscape=function(t){if(t instanceof goog.html.SafeHtml)return t;var o=typeof t=="object",r=null;return o&&t.implementsGoogI18nBidiDirectionalString&&(r=t.getDirection()),t=o&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(t),r)};goog.html.SafeHtml.htmlEscapePreservingNewlines=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(t)),t.getDirection()))};goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(t)),t.getDirection()))};goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape;goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/;goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};goog.html.SafeHtml.create=function(t,o,r){return goog.html.SafeHtml.verifyTagName(String(t)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(t),o,r)};goog.html.SafeHtml.verifyTagName=function(t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(t))throw Error("Invalid tag name <"+t+">.");if(t.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+t+"> is not allowed for SafeHtml.")};goog.html.SafeHtml.createIframe=function(t,o,r,n){t&&goog.html.TrustedResourceUrl.unwrap(t);var i={};return i.src=t||null,i.srcdoc=o&&goog.html.SafeHtml.unwrap(o),t=goog.html.SafeHtml.combineAttributes(i,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,n)};goog.html.SafeHtml.createSandboxIframe=function(t,o,r,n){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var i={};return i.src=t?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)):null,i.srcdoc=o||null,i.sandbox="",t=goog.html.SafeHtml.combineAttributes(i,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,n)};goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype};goog.html.SafeHtml.createScriptSrc=function(t,o){return goog.html.TrustedResourceUrl.unwrap(t),t=goog.html.SafeHtml.combineAttributes({src:t},{},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t)};goog.html.SafeHtml.createScript=function(t,o){for(var r in o){var n=r.toLowerCase();if(n=="language"||n=="src"||n=="text"||n=="type")throw Error('Cannot set "'+n+'" attribute')}for(r="",t=goog.array.concat(t),n=0;n<t.length;n++)r+=goog.html.SafeScript.unwrap(t[n]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o,t)};goog.html.SafeHtml.createStyle=function(t,o){o=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},o);var r="";t=goog.array.concat(t);for(var n=0;n<t.length;n++)r+=goog.html.SafeStyleSheet.unwrap(t[n]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",o,t)};goog.html.SafeHtml.createMetaRefresh=function(t,o){return t=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(t,";")&&(t="'"+t.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(o||0)+"; url="+t})};goog.html.SafeHtml.getAttrNameAndValue_=function(t,o,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(o.toLowerCase()=="style")r=goog.html.SafeHtml.getStyleValue_(r);else{if(/^on/i.test(o))throw Error('Attribute "'+o+'" requires goog.string.Const value, "'+r+'" given.');if(o.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if(goog.isString(r))r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error('Attribute "'+o+'" on tag "'+t+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.')}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(goog.isString(r)||goog.isNumber(r),"String or number value expected, got "+typeof r+" with value: "+r),o+'="'+goog.string.internal.htmlEscape(String(r))+'"'};goog.html.SafeHtml.getStyleValue_=function(t){if(!goog.isObject(t))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof t+" given: "+t);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),goog.html.SafeStyle.unwrap(t)};goog.html.SafeHtml.createWithDir=function(t,o,r,n){return o=goog.html.SafeHtml.create(o,r,n),o.dir_=t,o};goog.html.SafeHtml.join=function(t,o){t=goog.html.SafeHtml.htmlEscape(t);var r=t.getDirection(),n=[],i=function(s){goog.isArray(s)?goog.array.forEach(s,i):(s=goog.html.SafeHtml.htmlEscape(s),n.push(goog.html.SafeHtml.unwrap(s)),s=s.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=s:s!=goog.i18n.bidi.Dir.NEUTRAL&&r!=s&&(r=null))};return goog.array.forEach(o,i),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n.join(goog.html.SafeHtml.unwrap(t)),r)};goog.html.SafeHtml.concat=function(t){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))};goog.html.SafeHtml.concatWithDir=function(t,o){var r=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return r.dir_=t,r};goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(t,o){return new goog.html.SafeHtml().initSecurityPrivateDoNotAccessOrElse_(t,o)};goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t,o){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(t):t,this.dir_=o,this};goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(t,o,r){var n=null,i="<"+t+goog.html.SafeHtml.stringifyAttributes(t,o);return goog.isDefAndNotNull(r)?goog.isArray(r)||(r=[r]):r=[],goog.dom.tags.isVoidTag(t.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+t+"> does not allow content."),i+=">"):(n=goog.html.SafeHtml.concat(r),i+=">"+goog.html.SafeHtml.unwrap(n)+"</"+t+">",n=n.getDirection()),(t=o&&o.dir)&&(n=/^(ltr|rtl|auto)$/i.test(t)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(i,n)};goog.html.SafeHtml.stringifyAttributes=function(t,o){var r="";if(o)for(var n in o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(n))throw Error('Invalid attribute name "'+n+'".');var i=o[n];goog.isDefAndNotNull(i)&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(t,n,i))}return r};goog.html.SafeHtml.combineAttributes=function(t,o,r){var n={},i;for(i in t)goog.asserts.assert(i.toLowerCase()==i,"Must be lower case"),n[i]=t[i];for(i in o)goog.asserts.assert(i.toLowerCase()==i,"Must be lower case"),n[i]=o[i];for(i in r){var s=i.toLowerCase();if(s in t)throw Error('Cannot override "'+s+'" attribute, got "'+i+'" with value "'+r[i]+'"');s in o&&delete n[s],n[i]=r[i]}return n};goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL);goog.html.uncheckedconversions={};goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(t,o,r){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,r||null)};goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(t,o){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)};goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(t,o){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o)};goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(t,o){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)};goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(t,o){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(t,o){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)};goog.dom.safe={};goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"};goog.dom.safe.insertAdjacentHtml=function(t,o,r){t.insertAdjacentHTML(o,goog.html.SafeHtml.unwrapTrustedHTML(r))};goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var t=document.createElement("div"),o=document.createElement("div");return o.appendChild(document.createElement("div")),t.appendChild(o),goog.DEBUG&&!t.firstChild?!1:(o=t.firstChild.firstChild,t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!o.parentElement)});goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(t,o){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;t.lastChild;)t.removeChild(t.lastChild);t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(o)};goog.dom.safe.setInnerHtml=function(t,o){if(goog.asserts.ENABLE_ASSERTS){var r=t.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+t.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(t,o)};goog.dom.safe.setOuterHtml=function(t,o){t.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(o)};goog.dom.safe.setFormElementAction=function(t,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLFormElement(t).action=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setButtonFormAction=function(t,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLButtonElement(t).formAction=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setInputFormAction=function(t,o){o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),goog.dom.asserts.assertIsHTMLInputElement(t).formAction=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setStyle=function(t,o){t.style.cssText=goog.html.SafeStyle.unwrap(o)};goog.dom.safe.documentWrite=function(t,o){t.write(goog.html.SafeHtml.unwrapTrustedHTML(o))};goog.dom.safe.setAnchorHref=function(t,o){goog.dom.asserts.assertIsHTMLAnchorElement(t),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t.href=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setImageSrc=function(t,o){if(goog.dom.asserts.assertIsHTMLImageElement(t),!(o instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setAudioSrc=function(t,o){if(goog.dom.asserts.assertIsHTMLAudioElement(t),!(o instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setVideoSrc=function(t,o){if(goog.dom.asserts.assertIsHTMLVideoElement(t),!(o instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(o);o=goog.html.SafeUrl.sanitizeAssertUnchanged(o,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.setEmbedSrc=function(t,o){goog.dom.asserts.assertIsHTMLEmbedElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o)};goog.dom.safe.setFrameSrc=function(t,o){goog.dom.asserts.assertIsHTMLFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(o)};goog.dom.safe.setIframeSrc=function(t,o){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(o)};goog.dom.safe.setIframeSrcdoc=function(t,o){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(o)};goog.dom.safe.setLinkHrefAndRel=function(t,o,r){goog.dom.asserts.assertIsHTMLLinkElement(t),t.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(o instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),t.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(o)):t.href=o instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(o):o instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrapTrustedURL(o):goog.html.SafeUrl.unwrapTrustedURL(goog.html.SafeUrl.sanitizeAssertUnchanged(o))};goog.dom.safe.setObjectData=function(t,o){goog.dom.asserts.assertIsHTMLObjectElement(t),t.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o)};goog.dom.safe.setScriptSrc=function(t,o){goog.dom.asserts.assertIsHTMLScriptElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o),(o=goog.getScriptNonce())&&t.setAttribute("nonce",o)};goog.dom.safe.setScriptContent=function(t,o){goog.dom.asserts.assertIsHTMLScriptElement(t),t.text=goog.html.SafeScript.unwrapTrustedScript(o),(o=goog.getScriptNonce())&&t.setAttribute("nonce",o)};goog.dom.safe.setLocationHref=function(t,o){goog.dom.asserts.assertIsLocation(t),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t.href=goog.html.SafeUrl.unwrapTrustedURL(o)};goog.dom.safe.assignLocation=function(t,o){goog.dom.asserts.assertIsLocation(t),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t.assign(goog.html.SafeUrl.unwrapTrustedURL(o))};goog.dom.safe.replaceLocation=function(t,o){goog.dom.asserts.assertIsLocation(t),o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t.replace(goog.html.SafeUrl.unwrapTrustedURL(o))};goog.dom.safe.openInWindow=function(t,o,r,n,i){return t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),(o||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(t),r?goog.string.Const.unwrap(r):"",n,i)};goog.dom.safe.parseFromStringHtml=function(t,o){return goog.dom.safe.parseFromString(t,o,"text/html")};goog.dom.safe.parseFromString=function(t,o,r){return t.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(o),r)};goog.dom.safe.createImageFromBlob=function(t){if(!/^image\/.*/g.test(t.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var o=goog.global.URL.createObjectURL(t);return t=new goog.global.Image,t.onload=function(){goog.global.URL.revokeObjectURL(o)},goog.dom.safe.setImageSrc(t,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),o)),t};goog.string.DETECT_DOUBLE_ESCAPING=!1;goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;goog.string.Unicode={NBSP:"\xA0"};goog.string.startsWith=goog.string.internal.startsWith;goog.string.endsWith=goog.string.internal.endsWith;goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith;goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith;goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals;goog.string.subs=function(t,o){for(var r=t.split("%s"),n="",i=Array.prototype.slice.call(arguments,1);i.length&&1<r.length;)n+=r.shift()+i.shift();return n+r.join("%s")};goog.string.collapseWhitespace=function(t){return t.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")};goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace;goog.string.isEmptyString=function(t){return t.length==0};goog.string.isEmpty=goog.string.isEmptyOrWhitespace;goog.string.isEmptyOrWhitespaceSafe=function(t){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(t))};goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe;goog.string.isBreakingWhitespace=function(t){return!/[^\t\n\r ]/.test(t)};goog.string.isAlpha=function(t){return!/[^a-zA-Z]/.test(t)};goog.string.isNumeric=function(t){return!/[^0-9]/.test(t)};goog.string.isAlphaNumeric=function(t){return!/[^a-zA-Z0-9]/.test(t)};goog.string.isSpace=function(t){return t==" "};goog.string.isUnicodeChar=function(t){return t.length==1&&" "<=t&&"~">=t||"\x80"<=t&&"\uFFFD">=t};goog.string.stripNewlines=function(t){return t.replace(/(\r\n|\r|\n)+/g," ")};goog.string.canonicalizeNewlines=function(t){return t.replace(/(\r\n|\r|\n)/g,`
13
- `)};goog.string.normalizeWhitespace=function(t){return t.replace(/\xa0|\s/g," ")};goog.string.normalizeSpaces=function(t){return t.replace(/\xa0|[ \t]+/g," ")};goog.string.collapseBreakingSpaces=function(t){return t.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")};goog.string.trim=goog.string.internal.trim;goog.string.trimLeft=function(t){return t.replace(/^[\s\xa0]+/,"")};goog.string.trimRight=function(t){return t.replace(/[\s\xa0]+$/,"")};goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare;goog.string.numberAwareCompare_=function(t,o,r){if(t==o)return 0;if(!t)return-1;if(!o)return 1;for(var n=t.toLowerCase().match(r),i=o.toLowerCase().match(r),s=Math.min(n.length,i.length),p=0;p<s;p++){r=n[p];var l=i[p];if(r!=l)return t=parseInt(r,10),!isNaN(t)&&(o=parseInt(l,10),!isNaN(o)&&t-o)?t-o:r<l?-1:1}return n.length!=i.length?n.length-i.length:t<o?-1:1};goog.string.intAwareCompare=function(t,o){return goog.string.numberAwareCompare_(t,o,/\d+|\D+/g)};goog.string.floatAwareCompare=function(t,o){return goog.string.numberAwareCompare_(t,o,/\d+|\.\d+|\D+/g)};goog.string.numerateCompare=goog.string.floatAwareCompare;goog.string.urlEncode=function(t){return encodeURIComponent(String(t))};goog.string.urlDecode=function(t){return decodeURIComponent(t.replace(/\+/g," "))};goog.string.newLineToBr=goog.string.internal.newLineToBr;goog.string.htmlEscape=function(t,o){return t=goog.string.internal.htmlEscape(t,o),goog.string.DETECT_DOUBLE_ESCAPING&&(t=t.replace(goog.string.E_RE_,"&#101;")),t};goog.string.E_RE_=/e/g;goog.string.unescapeEntities=function(t){return goog.string.contains(t,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(t):goog.string.unescapePureXmlEntities_(t):t};goog.string.unescapeEntitiesWithDocument=function(t,o){return goog.string.contains(t,"&")?goog.string.unescapeEntitiesUsingDom_(t,o):t};goog.string.unescapeEntitiesUsingDom_=function(t,o){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},n=o?o.createElement("div"):goog.global.document.createElement("div");return t.replace(goog.string.HTML_ENTITY_PATTERN_,function(i,s){var p=r[i];return p||(s.charAt(0)=="#"&&(s=Number("0"+s.substr(1)),isNaN(s)||(p=String.fromCharCode(s))),p||(goog.dom.safe.setInnerHtml(n,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),i+" ")),p=n.firstChild.nodeValue.slice(0,-1)),r[i]=p)})};goog.string.unescapePureXmlEntities_=function(t){return t.replace(/&([^;]+);/g,function(o,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?o:String.fromCharCode(r)}})};goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g;goog.string.whitespaceEscape=function(t,o){return goog.string.newLineToBr(t.replace(/ /g," &#160;"),o)};goog.string.preserveSpaces=function(t){return t.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)};goog.string.stripQuotes=function(t,o){for(var r=o.length,n=0;n<r;n++){var i=r==1?o:o.charAt(n);if(t.charAt(0)==i&&t.charAt(t.length-1)==i)return t.substring(1,t.length-1)}return t};goog.string.truncate=function(t,o,r){return r&&(t=goog.string.unescapeEntities(t)),t.length>o&&(t=t.substring(0,o-3)+"..."),r&&(t=goog.string.htmlEscape(t)),t};goog.string.truncateMiddle=function(t,o,r,n){if(r&&(t=goog.string.unescapeEntities(t)),n&&t.length>o){n>o&&(n=o);var i=t.length-n;t=t.substring(0,o-n)+"..."+t.substring(i)}else t.length>o&&(n=Math.floor(o/2),i=t.length-n,t=t.substring(0,n+o%2)+"..."+t.substring(i));return r&&(t=goog.string.htmlEscape(t)),t};goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"};goog.string.jsEscapeCache_={"'":"\\'"};goog.string.quote=function(t){t=String(t);for(var o=['"'],r=0;r<t.length;r++){var n=t.charAt(r),i=n.charCodeAt(0);o[r+1]=goog.string.specialEscapeChars_[n]||(31<i&&127>i?n:goog.string.escapeChar(n))}return o.push('"'),o.join("")};goog.string.escapeString=function(t){for(var o=[],r=0;r<t.length;r++)o[r]=goog.string.escapeChar(t.charAt(r));return o.join("")};goog.string.escapeChar=function(t){if(t in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[t];if(t in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[t]=goog.string.specialEscapeChars_[t];var o=t.charCodeAt(0);if(31<o&&127>o)var r=t;else 256>o?(r="\\x",(16>o||256<o)&&(r+="0")):(r="\\u",4096>o&&(r+="0")),r+=o.toString(16).toUpperCase();return goog.string.jsEscapeCache_[t]=r};goog.string.contains=goog.string.internal.contains;goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains;goog.string.countOf=function(t,o){return t&&o?t.split(o).length-1:0};goog.string.removeAt=function(t,o,r){var n=t;return 0<=o&&o<t.length&&0<r&&(n=t.substr(0,o)+t.substr(o+r,t.length-o-r)),n};goog.string.remove=function(t,o){return t.replace(o,"")};goog.string.removeAll=function(t,o){return o=new RegExp(goog.string.regExpEscape(o),"g"),t.replace(o,"")};goog.string.replaceAll=function(t,o,r){return o=new RegExp(goog.string.regExpEscape(o),"g"),t.replace(o,r.replace(/\$/g,"$$$$"))};goog.string.regExpEscape=function(t){return String(t).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};goog.string.repeat=String.prototype.repeat?function(t,o){return t.repeat(o)}:function(t,o){return Array(o+1).join(t)};goog.string.padNumber=function(t,o,r){return t=goog.isDef(r)?t.toFixed(r):String(t),r=t.indexOf("."),r==-1&&(r=t.length),goog.string.repeat("0",Math.max(0,o-r))+t};goog.string.makeSafe=function(t){return t==null?"":String(t)};goog.string.buildString=function(t){return Array.prototype.join.call(arguments,"")};goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)};goog.string.compareVersions=goog.string.internal.compareVersions;goog.string.hashCode=function(t){for(var o=0,r=0;r<t.length;++r)o=31*o+t.charCodeAt(r)>>>0;return o};goog.string.uniqueStringCounter_=2147483648*Math.random()|0;goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++};goog.string.toNumber=function(t){var o=Number(t);return o==0&&goog.string.isEmptyOrWhitespace(t)?NaN:o};goog.string.isLowerCamelCase=function(t){return/^[a-z]+([A-Z][a-z]*)*$/.test(t)};goog.string.isUpperCamelCase=function(t){return/^([A-Z][a-z]*)+$/.test(t)};goog.string.toCamelCase=function(t){return String(t).replace(/\-([a-z])/g,function(o,r){return r.toUpperCase()})};goog.string.toSelectorCase=function(t){return String(t).replace(/([A-Z])/g,"-$1").toLowerCase()};goog.string.toTitleCase=function(t,o){return o=goog.isString(o)?goog.string.regExpEscape(o):"\\s",t.replace(new RegExp("(^"+(o?"|["+o+"]+":"")+")([a-z])","g"),function(r,n,i){return n+i.toUpperCase()})};goog.string.capitalize=function(t){return String(t.charAt(0)).toUpperCase()+String(t.substr(1)).toLowerCase()};goog.string.parseInt=function(t){return isFinite(t)&&(t=String(t)),goog.isString(t)?/^\s*-?0x/i.test(t)?parseInt(t,16):parseInt(t,10):NaN};goog.string.splitLimit=function(t,o,r){t=t.split(o);for(var n=[];0<r&&t.length;)n.push(t.shift()),r--;return t.length&&n.push(t.join(o)),n};goog.string.lastComponent=function(t,o){if(o)typeof o=="string"&&(o=[o]);else return t;for(var r=-1,n=0;n<o.length;n++)if(o[n]!=""){var i=t.lastIndexOf(o[n]);i>r&&(r=i)}return r==-1?t:t.slice(r+1)};goog.string.editDistance=function(t,o){var r=[],n=[];if(t==o)return 0;if(!t.length||!o.length)return Math.max(t.length,o.length);for(var i=0;i<o.length+1;i++)r[i]=i;for(i=0;i<t.length;i++){n[0]=i+1;for(var s=0;s<o.length;s++)n[s+1]=Math.min(n[s]+1,r[s+1]+1,r[s]+Number(t[i]!=o[s]));for(s=0;s<r.length;s++)r[s]=n[s]}return n[o.length]};goog.labs.userAgent.engine={};goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")};goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")};goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")};goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()};goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()};goog.labs.userAgent.engine.getVersion=function(){var t=goog.labs.userAgent.util.getUserAgent();if(t){t=goog.labs.userAgent.util.extractVersionTuples(t);var o=goog.labs.userAgent.engine.getEngineTuple_(t);if(o)return o[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(t,"Firefox"):o[1];t=t[0];var r;if(t&&(r=t[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""};goog.labs.userAgent.engine.getEngineTuple_=function(t){if(!goog.labs.userAgent.engine.isEdge())return t[1];for(var o=0;o<t.length;o++){var r=t[o];if(r[0]=="Edge")return r}};goog.labs.userAgent.engine.isVersionOrHigher=function(t){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),t)};goog.labs.userAgent.engine.getVersionForKey_=function(t,o){return(t=goog.array.find(t,function(r){return o==r[0]}))&&t[1]||""};goog.labs.userAgent.platform={};goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")};goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")};goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")};goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")};goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()};goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")};goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")};goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")};goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")};goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")};goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")};goog.labs.userAgent.platform.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")};goog.labs.userAgent.platform.getVersion=function(){var t=goog.labs.userAgent.util.getUserAgent(),o="";return goog.labs.userAgent.platform.isWindows()?(o=/Windows (?:NT|Phone) ([0-9.]+)/,o=(t=o.exec(t))?t[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(o=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,o=(t=o.exec(t))&&t[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(o=/Mac OS X ([0-9_.]+)/,o=(t=o.exec(t))?t[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(o=/(?:KaiOS)\/(\S+)/i,o=(t=o.exec(t))&&t[1]):goog.labs.userAgent.platform.isAndroid()?(o=/Android\s+([^\);]+)(\)|;)/,o=(t=o.exec(t))&&t[1]):goog.labs.userAgent.platform.isChromeOS()&&(o=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,o=(t=o.exec(t))&&t[1]),o||""};goog.labs.userAgent.platform.isVersionOrHigher=function(t){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),t)};goog.reflect={};goog.reflect.object=function(t,o){return o};goog.reflect.objectProperty=function(t,o){return t};goog.reflect.sinkValue=function(t){return goog.reflect.sinkValue[" "](t),t};goog.reflect.sinkValue[" "]=goog.nullFunction;goog.reflect.canAccessProperty=function(t,o){try{return goog.reflect.sinkValue(t[o]),!0}catch{}return!1};goog.reflect.cache=function(t,o,r,n){return n=n?n(o):o,Object.prototype.hasOwnProperty.call(t,n)?t[n]:t[n]=r(o)};goog.userAgent={};goog.userAgent.ASSUME_IE=!1;goog.userAgent.ASSUME_EDGE=!1;goog.userAgent.ASSUME_GECKO=!1;goog.userAgent.ASSUME_WEBKIT=!1;goog.userAgent.ASSUME_MOBILE_WEBKIT=!1;goog.userAgent.ASSUME_OPERA=!1;goog.userAgent.ASSUME_ANY_VERSION=!1;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 goog.labs.userAgent.util.getUserAgent()};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:goog.labs.userAgent.browser.isOpera();goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE();goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE: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:goog.labs.userAgent.engine.isGecko();goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit();goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&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 t=goog.userAgent.getNavigatorTyped();return t&&t.platform||""};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog.userAgent.ASSUME_MAC=!1;goog.userAgent.ASSUME_WINDOWS=!1;goog.userAgent.ASSUME_LINUX=!1;goog.userAgent.ASSUME_X11=!1;goog.userAgent.ASSUME_ANDROID=!1;goog.userAgent.ASSUME_IPHONE=!1;goog.userAgent.ASSUME_IPAD=!1;goog.userAgent.ASSUME_IPOD=!1;goog.userAgent.ASSUME_KAIOS=!1;goog.userAgent.ASSUME_GO2PHONE=!1;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;goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows();goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()};goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.isX11_=function(){var t=goog.userAgent.getNavigatorTyped();return!!t&&goog.string.contains(t.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:goog.labs.userAgent.platform.isAndroid();goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone();goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad();goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod();goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos();goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS();goog.userAgent.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone();goog.userAgent.determineVersion_=function(){var t="",o=goog.userAgent.getVersionRegexResult_();return o&&(t=o?o[1]:""),goog.userAgent.IE&&(o=goog.userAgent.getDocumentMode_(),o!=null&&o>parseFloat(t))?String(o):t};goog.userAgent.getVersionRegexResult_=function(){var t=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(t);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(t);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(t);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(t)};goog.userAgent.getDocumentMode_=function(){var t=goog.global.document;return t?t.documentMode:void 0};goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(t,o){return goog.string.compareVersions(t,o)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(t){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,t,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,t)})};goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher;goog.userAgent.isDocumentModeOrHigher=function(t){return Number(goog.userAgent.DOCUMENT_MODE)>=t};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}();goog.userAgent.product={};goog.userAgent.product.ASSUME_FIREFOX=!1;goog.userAgent.product.ASSUME_IPHONE=!1;goog.userAgent.product.ASSUME_IPAD=!1;goog.userAgent.product.ASSUME_ANDROID=!1;goog.userAgent.product.ASSUME_CHROME=!1;goog.userAgent.product.ASSUME_SAFARI=!1;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;goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()};goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_();goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome();goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!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_="=.";goog.crypt.base64.isPadding_=function(t){return goog.string.contains(goog.crypt.base64.paddingChars_,t)};goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA;goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function";goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function";goog.crypt.base64.encodeByteArray=function(t,o){goog.asserts.assert(goog.isArrayLike(t),"encodeByteArray takes an array as a parameter"),o===void 0&&(o=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),o=goog.crypt.base64.byteToCharMaps_[o];for(var r=[],n=0;n<t.length;n+=3){var i=t[n],s=n+1<t.length,p=s?t[n+1]:0,l=n+2<t.length,_=l?t[n+2]:0,C=i>>2;i=(i&3)<<4|p>>4,p=(p&15)<<2|_>>6,_&=63,l||(_=64,s||(p=64)),r.push(o[C],o[i],o[p]||"",o[_]||"")}return r.join("")};goog.crypt.base64.encodeString=function(t,o){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!o?goog.global.btoa(t):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(t),o)};goog.crypt.base64.decodeString=function(t,o){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!o)return goog.global.atob(t);var r="";return goog.crypt.base64.decodeStringInternal_(t,function(n){r+=String.fromCharCode(n)}),r};goog.crypt.base64.decodeStringToByteArray=function(t,o){var r=[];return goog.crypt.base64.decodeStringInternal_(t,function(n){r.push(n)}),r};goog.crypt.base64.decodeStringToUint8Array=function(t){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var o=t.length,r=3*o/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(t[o-1])&&(r=goog.crypt.base64.isPadding_(t[o-2])?r-2:r-1);var n=new Uint8Array(r),i=0;return goog.crypt.base64.decodeStringInternal_(t,function(s){n[i++]=s}),n.subarray(0,i)};goog.crypt.base64.decodeStringInternal_=function(t,o){function r(_){for(;n<t.length;){var C=t.charAt(n++),Q=goog.crypt.base64.charToByteMap_[C];if(Q!=null)return Q;if(!goog.string.isEmptyOrWhitespace(C))throw Error("Unknown base64 encoding at char: "+C)}return _}goog.crypt.base64.init_();for(var n=0;;){var i=r(-1),s=r(0),p=r(64),l=r(64);if(l===64&&i===-1)break;o(i<<2|s>>4),p!=64&&(o(s<<4&240|p>>2),l!=64&&o(p<<6&192|l))}};goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var t=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),o=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var n=t.concat(o[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=n;for(var i=0;i<n.length;i++){var s=n[i],p=goog.crypt.base64.charToByteMap_[s];p===void 0?goog.crypt.base64.charToByteMap_[s]=i:goog.asserts.assert(p===i)}}}};jspb.utils={};jspb.utils.split64Low=0;jspb.utils.split64High=0;jspb.utils.splitUint64=function(t){var o=t>>>0;t=Math.floor((t-o)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=o,jspb.utils.split64High=t};jspb.utils.splitInt64=function(t){var o=0>t;t=Math.abs(t);var r=t>>>0;t=Math.floor((t-r)/jspb.BinaryConstants.TWO_TO_32),t>>>=0,o&&(t=~t>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,t++,4294967295<t&&(t=0))),jspb.utils.split64Low=r,jspb.utils.split64High=t};jspb.utils.splitZigzag64=function(t){var o=0>t;t=2*Math.abs(t),jspb.utils.splitUint64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;o&&(t==0?r==0?r=t=4294967295:(r--,t=4294967295):t--),jspb.utils.split64Low=t,jspb.utils.split64High=r};jspb.utils.splitFloat32=function(t){var o=0>t?1:0;if(t=o?-t:t,t===0)0<1/t?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(t))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(t>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(o<<31|2139095040)>>>0;else if(t<jspb.BinaryConstants.FLOAT32_MIN)t=Math.round(t/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(o<<31|t)>>>0;else{var r=Math.floor(Math.log(t)/Math.LN2);t*=Math.pow(2,-r),t=Math.round(t*jspb.BinaryConstants.TWO_TO_23),16777216<=t&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(o<<31|r+127<<23|t&8388607)>>>0}};jspb.utils.splitFloat64=function(t){var o=0>t?1:0;if(t=o?-t:t,t===0)jspb.utils.split64High=0<1/t?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(t))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(t>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(o<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(t<jspb.BinaryConstants.FLOAT64_MIN){var r=t/Math.pow(2,-1074);t=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(o<<31|t)>>>0,jspb.utils.split64Low=r>>>0}else{r=t;var n=0;if(2<=r)for(;2<=r&&1023>n;)n++,r/=2;else for(;1>r&&-1022<n;)r*=2,n--;r=t*Math.pow(2,-n),t=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(o<<31|n+1023<<20|t)>>>0,jspb.utils.split64Low=r}};jspb.utils.splitHash64=function(t){var o=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),s=t.charCodeAt(4),p=t.charCodeAt(5),l=t.charCodeAt(6);t=t.charCodeAt(7),jspb.utils.split64Low=o+(r<<8)+(n<<16)+(i<<24)>>>0,jspb.utils.split64High=s+(p<<8)+(l<<16)+(t<<24)>>>0};jspb.utils.joinUint64=function(t,o){return o*jspb.BinaryConstants.TWO_TO_32+(t>>>0)};jspb.utils.joinInt64=function(t,o){var r=o&2147483648;return r&&(t=~t+1>>>0,o=~o>>>0,t==0&&(o=o+1>>>0)),t=jspb.utils.joinUint64(t,o),r?-t:t};jspb.utils.toZigzag64=function(t,o,r){var n=o>>31;return r(t<<1^n,(o<<1|t>>>31)^n)};jspb.utils.joinZigzag64=function(t,o){return jspb.utils.fromZigzag64(t,o,jspb.utils.joinInt64)};jspb.utils.fromZigzag64=function(t,o,r){var n=-(t&1);return r((t>>>1|o<<31)^n,o>>>1^n)};jspb.utils.joinFloat32=function(t,o){o=2*(t>>31)+1;var r=t>>>23&255;return t&=8388607,r==255?t?NaN:1/0*o:r==0?o*Math.pow(2,-149)*t:o*Math.pow(2,r-150)*(t+Math.pow(2,23))};jspb.utils.joinFloat64=function(t,o){var r=2*(o>>31)+1,n=o>>>20&2047;return t=jspb.BinaryConstants.TWO_TO_32*(o&1048575)+t,n==2047?t?NaN:1/0*r:n==0?r*Math.pow(2,-1074)*t:r*Math.pow(2,n-1075)*(t+jspb.BinaryConstants.TWO_TO_52)};jspb.utils.joinHash64=function(t,o){return String.fromCharCode(t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255,o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255)};jspb.utils.DIGITS="0123456789abcdef".split("");jspb.utils.ZERO_CHAR_CODE_=48;jspb.utils.A_CHAR_CODE_=97;jspb.utils.joinUnsignedDecimalString=function(t,o){function r(i,s){return i=i?String(i):"",s?"0000000".slice(i.length)+i:i}if(2097151>=o)return""+jspb.utils.joinUint64(t,o);var n=(t>>>24|o<<8)>>>0&16777215;return o=o>>16&65535,t=(t&16777215)+6777216*n+6710656*o,n+=8147497*o,o*=2,1e7<=t&&(n+=Math.floor(t/1e7),t%=1e7),1e7<=n&&(o+=Math.floor(n/1e7),n%=1e7),r(o,0)+r(n,o)+r(t,1)};jspb.utils.joinSignedDecimalString=function(t,o){var r=o&2147483648;return r&&(t=~t+1>>>0,o=~o+(t==0?1:0)>>>0),t=jspb.utils.joinUnsignedDecimalString(t,o),r?"-"+t:t};jspb.utils.hash64ToDecimalString=function(t,o){jspb.utils.splitHash64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;return o?jspb.utils.joinSignedDecimalString(t,r):jspb.utils.joinUnsignedDecimalString(t,r)};jspb.utils.hash64ArrayToDecimalStrings=function(t,o){for(var r=Array(t.length),n=0;n<t.length;n++)r[n]=jspb.utils.hash64ToDecimalString(t[n],o);return r};jspb.utils.decimalStringToHash64=function(t){function o(p,l){for(var _=0;8>_&&(p!==1||0<l);_++)l=p*i[_]+l,i[_]=l&255,l>>>=8}function r(){for(var p=0;8>p;p++)i[p]=~i[p]&255}goog.asserts.assert(0<t.length);var n=!1;t[0]==="-"&&(n=!0,t=t.slice(1));for(var i=[0,0,0,0,0,0,0,0],s=0;s<t.length;s++)o(10,t.charCodeAt(s)-jspb.utils.ZERO_CHAR_CODE_);return n&&(r(),o(1,1)),goog.crypt.byteArrayToString(i)};jspb.utils.splitDecimalString=function(t){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(t))};jspb.utils.toHexDigit_=function(t){return String.fromCharCode(10>t?jspb.utils.ZERO_CHAR_CODE_+t:jspb.utils.A_CHAR_CODE_-10+t)};jspb.utils.fromHexCharCode_=function(t){return t>=jspb.utils.A_CHAR_CODE_?t-jspb.utils.A_CHAR_CODE_+10:t-jspb.utils.ZERO_CHAR_CODE_};jspb.utils.hash64ToHexString=function(t){var o=Array(18);o[0]="0",o[1]="x";for(var r=0;8>r;r++){var n=t.charCodeAt(7-r);o[2*r+2]=jspb.utils.toHexDigit_(n>>4),o[2*r+3]=jspb.utils.toHexDigit_(n&15)}return o.join("")};jspb.utils.hexStringToHash64=function(t){t=t.toLowerCase(),goog.asserts.assert(t.length==18),goog.asserts.assert(t[0]=="0"),goog.asserts.assert(t[1]=="x");for(var o="",r=0;8>r;r++){var n=jspb.utils.fromHexCharCode_(t.charCodeAt(2*r+2)),i=jspb.utils.fromHexCharCode_(t.charCodeAt(2*r+3));o=String.fromCharCode(16*n+i)+o}return o};jspb.utils.hash64ToNumber=function(t,o){jspb.utils.splitHash64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;return o?jspb.utils.joinInt64(t,r):jspb.utils.joinUint64(t,r)};jspb.utils.numberToHash64=function(t){return jspb.utils.splitInt64(t),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.utils.countVarints=function(t,o,r){for(var n=0,i=o;i<r;i++)n+=t[i]>>7;return r-o-n};jspb.utils.countVarintFields=function(t,o,r,n){var i=0;if(n=8*n+jspb.BinaryConstants.WireType.VARINT,128>n)for(;o<r&&t[o++]==n;)for(i++;;){var s=t[o++];if((s&128)==0)break}else for(;o<r;){for(s=n;128<s;){if(t[o]!=(s&127|128))return i;o++,s>>=7}if(t[o++]!=s)break;for(i++;s=t[o++],(s&128)!=0;);}return i};jspb.utils.countFixedFields_=function(t,o,r,n,i){var s=0;if(128>n)for(;o<r&&t[o++]==n;)s++,o+=i;else for(;o<r;){for(var p=n;128<p;){if(t[o++]!=(p&127|128))return s;p>>=7}if(t[o++]!=p)break;s++,o+=i}return s};jspb.utils.countFixed32Fields=function(t,o,r,n){return jspb.utils.countFixedFields_(t,o,r,8*n+jspb.BinaryConstants.WireType.FIXED32,4)};jspb.utils.countFixed64Fields=function(t,o,r,n){return jspb.utils.countFixedFields_(t,o,r,8*n+jspb.BinaryConstants.WireType.FIXED64,8)};jspb.utils.countDelimitedFields=function(t,o,r,n){var i=0;for(n=8*n+jspb.BinaryConstants.WireType.DELIMITED;o<r;){for(var s=n;128<s;){if(t[o++]!=(s&127|128))return i;s>>=7}if(t[o++]!=s)break;i++;for(var p=0,l=1;s=t[o++],p+=(s&127)*l,l*=128,(s&128)!=0;);o+=p}return i};jspb.utils.debugBytesToTextFormat=function(t){var o='"';if(t){t=jspb.utils.byteSourceToUint8Array(t);for(var r=0;r<t.length;r++)o+="\\x",16>t[r]&&(o+="0"),o+=t[r].toString(16)}return o+'"'};jspb.utils.debugScalarToTextFormat=function(t){return typeof t=="string"?goog.string.quote(t):t.toString()};jspb.utils.stringToByteArray=function(t){for(var o=new Uint8Array(t.length),r=0;r<t.length;r++){var n=t.charCodeAt(r);if(255<n)throw Error("Conversion error: string contains codepoint outside of byte range");o[r]=n}return o};jspb.utils.byteSourceToUint8Array=function(t){return t.constructor===Uint8Array?t:t.constructor===ArrayBuffer||typeof Buffer<"u"&&t.constructor===Buffer||t.constructor===Array?new Uint8Array(t):t.constructor===String?goog.crypt.base64.decodeStringToUint8Array(t):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))};jspb.BinaryDecoder=function(t,o,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,t&&this.setBlock(t,o,r)};jspb.BinaryDecoder.instanceCache_=[];jspb.BinaryDecoder.alloc=function(t,o,r){if(jspb.BinaryDecoder.instanceCache_.length){var n=jspb.BinaryDecoder.instanceCache_.pop();return t&&n.setBlock(t,o,r),n}return new jspb.BinaryDecoder(t,o,r)};jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)};jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)};jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1};jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_};jspb.BinaryDecoder.prototype.setBlock=function(t,o,r){this.bytes_=jspb.utils.byteSourceToUint8Array(t),this.start_=o!==void 0?o:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_};jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_};jspb.BinaryDecoder.prototype.setEnd=function(t){this.end_=t};jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_};jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_};jspb.BinaryDecoder.prototype.setCursor=function(t){this.cursor_=t};jspb.BinaryDecoder.prototype.advance=function(t){this.cursor_+=t,goog.asserts.assert(this.cursor_<=this.end_)};jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_};jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_};jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_};jspb.BinaryDecoder.prototype.readSplitVarint64=function(t){for(var o=128,r=0,n=0,i=0;4>i&&128<=o;i++)o=this.bytes_[this.cursor_++],r|=(o&127)<<7*i;if(128<=o&&(o=this.bytes_[this.cursor_++],r|=(o&127)<<28,n|=(o&127)>>4),128<=o)for(i=0;5>i&&128<=o;i++)o=this.bytes_[this.cursor_++],n|=(o&127)<<7*i+3;if(128>o)return t(r>>>0,n>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0};jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(t){return this.readSplitVarint64(function(o,r){return jspb.utils.fromZigzag64(o,r,t)})};jspb.BinaryDecoder.prototype.readSplitFixed64=function(t){var o=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var n=0,i=0,s=r+7;s>=r;s--)n=n<<8|o[s],i=i<<8|o[s+4];return t(n,i)};jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++};jspb.BinaryDecoder.prototype.unskipVarint=function(t){for(;128<t;)this.cursor_--,t>>>=7;this.cursor_--};jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var t=this.bytes_,o=t[this.cursor_+0],r=o&127;return 128>o?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),r):(o=t[this.cursor_+1],r|=(o&127)<<7,128>o?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),r):(o=t[this.cursor_+2],r|=(o&127)<<14,128>o?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),r):(o=t[this.cursor_+3],r|=(o&127)<<21,128>o?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),r):(o=t[this.cursor_+4],r|=(o&15)<<28,128>o?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),r)))))};jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.readUnsignedVarint32;jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()};jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()};jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var t=this.readUnsignedVarint32();return t>>>1^-(t&1)};jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)};jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)};jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)};jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)};jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)};jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)};jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)};jspb.BinaryDecoder.prototype.readUint8=function(){var t=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),t};jspb.BinaryDecoder.prototype.readUint16=function(){var t=this.bytes_[this.cursor_+0],o=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),t<<0|o<<8};jspb.BinaryDecoder.prototype.readUint32=function(){var t=this.bytes_[this.cursor_+0],o=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],n=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(t<<0|o<<8|r<<16|n<<24)>>>0};jspb.BinaryDecoder.prototype.readUint64=function(){var t=this.readUint32(),o=this.readUint32();return jspb.utils.joinUint64(t,o)};jspb.BinaryDecoder.prototype.readUint64String=function(){var t=this.readUint32(),o=this.readUint32();return jspb.utils.joinUnsignedDecimalString(t,o)};jspb.BinaryDecoder.prototype.readInt8=function(){var t=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),t<<24>>24};jspb.BinaryDecoder.prototype.readInt16=function(){var t=this.bytes_[this.cursor_+0],o=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(t<<0|o<<8)<<16>>16};jspb.BinaryDecoder.prototype.readInt32=function(){var t=this.bytes_[this.cursor_+0],o=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],n=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),t<<0|o<<8|r<<16|n<<24};jspb.BinaryDecoder.prototype.readInt64=function(){var t=this.readUint32(),o=this.readUint32();return jspb.utils.joinInt64(t,o)};jspb.BinaryDecoder.prototype.readInt64String=function(){var t=this.readUint32(),o=this.readUint32();return jspb.utils.joinSignedDecimalString(t,o)};jspb.BinaryDecoder.prototype.readFloat=function(){var t=this.readUint32();return jspb.utils.joinFloat32(t,0)};jspb.BinaryDecoder.prototype.readDouble=function(){var t=this.readUint32(),o=this.readUint32();return jspb.utils.joinFloat64(t,o)};jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]};jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()};jspb.BinaryDecoder.prototype.readString=function(t){var o=this.bytes_,r=this.cursor_;t=r+t;for(var n=[],i="";r<t;){var s=o[r++];if(128>s)n.push(s);else{if(192>s)continue;if(224>s){var p=o[r++];n.push((s&31)<<6|p&63)}else if(240>s){p=o[r++];var l=o[r++];n.push((s&15)<<12|(p&63)<<6|l&63)}else if(248>s){p=o[r++],l=o[r++];var _=o[r++];s=(s&7)<<18|(p&63)<<12|(l&63)<<6|_&63,s-=65536,n.push((s>>10&1023)+55296,(s&1023)+56320)}}8192<=n.length&&(i+=String.fromCharCode.apply(null,n),n.length=0)}return i+=goog.crypt.byteArrayToString(n),this.cursor_=r,i};jspb.BinaryDecoder.prototype.readStringWithLength=function(){var t=this.readUnsignedVarint32();return this.readString(t)};jspb.BinaryDecoder.prototype.readBytes=function(t){if(0>t||this.cursor_+t>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var o=this.bytes_.subarray(this.cursor_,this.cursor_+t);return this.cursor_+=t,goog.asserts.assert(this.cursor_<=this.end_),o};jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)};jspb.BinaryDecoder.prototype.readFixedHash64=function(){var t=this.bytes_,o=this.cursor_,r=t[o+0],n=t[o+1],i=t[o+2],s=t[o+3],p=t[o+4],l=t[o+5],_=t[o+6];return t=t[o+7],this.cursor_+=8,String.fromCharCode(r,n,i,s,p,l,_,t)};jspb.BinaryReader=function(t,o,r){this.decoder_=jspb.BinaryDecoder.alloc(t,o,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null};jspb.BinaryReader.instanceCache_=[];jspb.BinaryReader.alloc=function(t,o,r){if(jspb.BinaryReader.instanceCache_.length){var n=jspb.BinaryReader.instanceCache_.pop();return t&&n.decoder_.setBlock(t,o,r),n}return new jspb.BinaryReader(t,o,r)};jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc;jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)};jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_};jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()};jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()};jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_};jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_};jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED};jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP};jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()};jspb.BinaryReader.prototype.setBlock=function(t,o,r){this.decoder_.setBlock(t,o,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID};jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID};jspb.BinaryReader.prototype.advance=function(t){this.decoder_.advance(t)};jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var t=this.decoder_.readUnsignedVarint32(),o=t>>>3;return t&=7,t!=jspb.BinaryConstants.WireType.VARINT&&t!=jspb.BinaryConstants.WireType.FIXED32&&t!=jspb.BinaryConstants.WireType.FIXED64&&t!=jspb.BinaryConstants.WireType.DELIMITED&&t!=jspb.BinaryConstants.WireType.START_GROUP&&t!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",t,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=o,this.nextWireType_=t,!0)};jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)};jspb.BinaryReader.prototype.skipMatchingFields=function(){var t=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==t;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()};jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()};jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var t=this.decoder_.readUnsignedVarint32();this.decoder_.advance(t)}};jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)};jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)};jspb.BinaryReader.prototype.skipGroup=function(){var t=this.nextField_;do{if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=t&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)};jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:goog.asserts.fail("Invalid wire encoding for field.")}};jspb.BinaryReader.prototype.registerReadCallback=function(t,o){this.readCallbacks_===null&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[t]),this.readCallbacks_[t]=o};jspb.BinaryReader.prototype.runReadCallback=function(t){return goog.asserts.assert(this.readCallbacks_!==null),t=this.readCallbacks_[t],goog.asserts.assert(t),t(this)};jspb.BinaryReader.prototype.readAny=function(t){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(t);var o=jspb.BinaryConstants.FieldType;switch(t){case o.DOUBLE:return this.readDouble();case o.FLOAT:return this.readFloat();case o.INT64:return this.readInt64();case o.UINT64:return this.readUint64();case o.INT32:return this.readInt32();case o.FIXED64:return this.readFixed64();case o.FIXED32:return this.readFixed32();case o.BOOL:return this.readBool();case o.STRING:return this.readString();case o.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case o.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case o.BYTES:return this.readBytes();case o.UINT32:return this.readUint32();case o.ENUM:return this.readEnum();case o.SFIXED32:return this.readSfixed32();case o.SFIXED64:return this.readSfixed64();case o.SINT32:return this.readSint32();case o.SINT64:return this.readSint64();case o.FHASH64:return this.readFixedHash64();case o.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0};jspb.BinaryReader.prototype.readMessage=function(t,o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),n=this.decoder_.readUnsignedVarint32();n=this.decoder_.getCursor()+n,this.decoder_.setEnd(n),o(t,this),this.decoder_.setCursor(n),this.decoder_.setEnd(r)};jspb.BinaryReader.prototype.readGroup=function(t,o,r){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==t),r(o,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)};jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32(),o=this.decoder_.getCursor(),r=o+t;return t=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),o,t),this.decoder_.setCursor(r),t};jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()};jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()};jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()};jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()};jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()};jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()};jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()};jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()};jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()};jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()};jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()};jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()};jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()};jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()};jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()};jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()};jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()};jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()};jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()};jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()};jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()};jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()};jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(t)};jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(t)};jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()};jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()};jspb.BinaryReader.prototype.readSplitVarint64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(t)};jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(o,r){return jspb.utils.fromZigzag64(o,r,t)})};jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()};jspb.BinaryReader.prototype.readSplitFixed64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(t)};jspb.BinaryReader.prototype.readPackedField_=function(t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();o=this.decoder_.getCursor()+o;for(var r=[];this.decoder_.getCursor()<o;)r.push(t.call(this.decoder_));return r};jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)};jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)};jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)};jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)};jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)};jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)};jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)};jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)};jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)};jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)};jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)};jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)};jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)};jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)};jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)};jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)};jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)};jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)};jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)};jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)};jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)};jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)};jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)};jspb.BinaryEncoder=function(){this.buffer_=[]};jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length};jspb.BinaryEncoder.prototype.end=function(){var t=this.buffer_;return this.buffer_=[],t};jspb.BinaryEncoder.prototype.writeSplitVarint64=function(t,o){for(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);0<o||127<t;)this.buffer_.push(t&127|128),t=(t>>>7|o<<25)>>>0,o>>>=7;this.buffer_.push(t)};jspb.BinaryEncoder.prototype.writeSplitFixed64=function(t,o){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(t),this.writeUint32(o)};jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(t){for(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);127<t;)this.buffer_.push(t&127|128),t>>>=7;this.buffer_.push(t)};jspb.BinaryEncoder.prototype.writeSignedVarint32=function(t){if(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),0<=t)this.writeUnsignedVarint32(t);else{for(var o=0;9>o;o++)this.buffer_.push(t&127|128),t>>=7;this.buffer_.push(1)}};jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeSignedVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((t<<1^t>>31)>>>0)};jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(t){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t))};jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(t){var o=this;jspb.utils.splitHash64(t),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,n){o.writeSplitVarint64(r>>>0,n>>>0)})};jspb.BinaryEncoder.prototype.writeUint8=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&256>t),this.buffer_.push(t>>>0&255)};jspb.BinaryEncoder.prototype.writeUint16=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&65536>t),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255)};jspb.BinaryEncoder.prototype.writeUint32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255),this.buffer_.push(t>>>16&255),this.buffer_.push(t>>>24&255)};jspb.BinaryEncoder.prototype.writeUint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeInt8=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(-128<=t&&128>t),this.buffer_.push(t>>>0&255)};jspb.BinaryEncoder.prototype.writeInt16=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(-32768<=t&&32768>t),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255)};jspb.BinaryEncoder.prototype.writeInt32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255),this.buffer_.push(t>>>16&255),this.buffer_.push(t>>>24&255)};jspb.BinaryEncoder.prototype.writeInt64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(t),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeInt64String=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(+t>=-jspb.BinaryConstants.TWO_TO_63&&+t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(t)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeFloat=function(t){goog.asserts.assert(t===1/0||t===-1/0||isNaN(t)||t>=-jspb.BinaryConstants.FLOAT32_MAX&&t<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(t),this.writeUint32(jspb.utils.split64Low)};jspb.BinaryEncoder.prototype.writeDouble=function(t){goog.asserts.assert(t===1/0||t===-1/0||isNaN(t)||t>=-jspb.BinaryConstants.FLOAT64_MAX&&t<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeBool=function(t){goog.asserts.assert(typeof t=="boolean"||typeof t=="number"),this.buffer_.push(t?1:0)};jspb.BinaryEncoder.prototype.writeEnum=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(t)};jspb.BinaryEncoder.prototype.writeBytes=function(t){this.buffer_.push.apply(this.buffer_,t)};jspb.BinaryEncoder.prototype.writeVarintHash64=function(t){jspb.utils.splitHash64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeFixedHash64=function(t){jspb.utils.splitHash64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeString=function(t){for(var o=this.buffer_.length,r=0;r<t.length;r++){var n=t.charCodeAt(r);if(128>n)this.buffer_.push(n);else if(2048>n)this.buffer_.push(n>>6|192),this.buffer_.push(n&63|128);else if(65536>n)if(55296<=n&&56319>=n&&r+1<t.length){var i=t.charCodeAt(r+1);56320<=i&&57343>=i&&(n=1024*(n-55296)+i-56320+65536,this.buffer_.push(n>>18|240),this.buffer_.push(n>>12&63|128),this.buffer_.push(n>>6&63|128),this.buffer_.push(n&63|128),r++)}else this.buffer_.push(n>>12|224),this.buffer_.push(n>>6&63|128),this.buffer_.push(n&63|128)}return this.buffer_.length-o};jspb.arith={};jspb.arith.UInt64=function(t,o){this.lo=t,this.hi=o};jspb.arith.UInt64.prototype.cmp=function(t){return this.hi<t.hi||this.hi==t.hi&&this.lo<t.lo?-1:this.hi==t.hi&&this.lo==t.lo?0:1};jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)};jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)};jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)};jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)};jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0};jspb.arith.UInt64.prototype.add=function(t){return new jspb.arith.UInt64((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)};jspb.arith.UInt64.prototype.sub=function(t){return new jspb.arith.UInt64((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)};jspb.arith.UInt64.mul32x32=function(t,o){var r=t&65535;t>>>=16;var n=o&65535,i=o>>>16;for(o=r*n+65536*(r*i&65535)+65536*(t*n&65535),r=t*i+(r*i>>>16)+(t*n>>>16);4294967296<=o;)o-=4294967296,r+=1;return new jspb.arith.UInt64(o>>>0,r>>>0)};jspb.arith.UInt64.prototype.mul=function(t){var o=jspb.arith.UInt64.mul32x32(this.lo,t);return t=jspb.arith.UInt64.mul32x32(this.hi,t),t.hi=t.lo,t.lo=0,o.add(t)};jspb.arith.UInt64.prototype.div=function(t){if(t==0)return[];var o=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);t=new jspb.arith.UInt64(t,0);for(var n=new jspb.arith.UInt64(1,0);!t.msb();)t=t.leftShift(),n=n.leftShift();for(;!n.zero();)0>=t.cmp(r)&&(o=o.add(n),r=r.sub(t)),t=t.rightShift(),n=n.rightShift();return[o,r]};jspb.arith.UInt64.prototype.toString=function(){for(var t="",o=this;!o.zero();){o=o.div(10);var r=o[0];t=o[1].lo+t,o=r}return t==""&&(t="0"),t};jspb.arith.UInt64.fromString=function(t){for(var o=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),n=0;n<t.length;n++){if("0">t[n]||"9"<t[n])return null;var i=parseInt(t[n],10);r.lo=i,o=o.mul(10).add(r)}return o};jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)};jspb.arith.Int64=function(t,o){this.lo=t,this.hi=o};jspb.arith.Int64.prototype.add=function(t){return new jspb.arith.Int64((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)};jspb.arith.Int64.prototype.sub=function(t){return new jspb.arith.Int64((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)};jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)};jspb.arith.Int64.prototype.toString=function(){var t=(this.hi&2147483648)!=0,o=new jspb.arith.UInt64(this.lo,this.hi);return t&&(o=new jspb.arith.UInt64(0,0).sub(o)),(t?"-":"")+o.toString()};jspb.arith.Int64.fromString=function(t){var o=0<t.length&&t[0]=="-";return o&&(t=t.substring(1)),t=jspb.arith.UInt64.fromString(t),t===null?null:(o&&(t=new jspb.arith.UInt64(0,0).sub(t)),new jspb.arith.Int64(t.lo,t.hi))};jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]};jspb.BinaryWriter.prototype.appendUint8Array_=function(t){var o=this.encoder_.end();this.blocks_.push(o),this.blocks_.push(t),this.totalLength_+=o.length+t.length};jspb.BinaryWriter.prototype.beginDelimited_=function(t){return this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),t=this.encoder_.end(),this.blocks_.push(t),this.totalLength_+=t.length,t.push(this.totalLength_),t};jspb.BinaryWriter.prototype.endDelimited_=function(t){var o=t.pop();for(o=this.totalLength_+this.encoder_.length()-o,goog.asserts.assert(0<=o);127<o;)t.push(o&127|128),o>>>=7,this.totalLength_++;t.push(o),this.totalLength_++};jspb.BinaryWriter.prototype.writeSerializedMessage=function(t,o,r){this.appendUint8Array_(t.subarray(o,r))};jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(t,o,r){t!=null&&o!=null&&r!=null&&this.writeSerializedMessage(t,o,r)};jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]};jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(this.bookmarks_.length==0);for(var t=new Uint8Array(this.totalLength_+this.encoder_.length()),o=this.blocks_,r=o.length,n=0,i=0;i<r;i++){var s=o[i];t.set(s,n),n+=s.length}return o=this.encoder_.end(),t.set(o,n),n+=o.length,goog.asserts.assert(n==t.length),this.blocks_=[t],t};jspb.BinaryWriter.prototype.getResultBase64String=function(t){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),t)};jspb.BinaryWriter.prototype.beginSubMessage=function(t){this.bookmarks_.push(this.beginDelimited_(t))};jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())};jspb.BinaryWriter.prototype.writeFieldHeader_=function(t,o){goog.asserts.assert(1<=t&&t==Math.floor(t)),this.encoder_.writeUnsignedVarint32(8*t+o)};jspb.BinaryWriter.prototype.writeAny=function(t,o,r){var n=jspb.BinaryConstants.FieldType;switch(t){case n.DOUBLE:this.writeDouble(o,r);break;case n.FLOAT:this.writeFloat(o,r);break;case n.INT64:this.writeInt64(o,r);break;case n.UINT64:this.writeUint64(o,r);break;case n.INT32:this.writeInt32(o,r);break;case n.FIXED64:this.writeFixed64(o,r);break;case n.FIXED32:this.writeFixed32(o,r);break;case n.BOOL:this.writeBool(o,r);break;case n.STRING:this.writeString(o,r);break;case n.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case n.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case n.BYTES:this.writeBytes(o,r);break;case n.UINT32:this.writeUint32(o,r);break;case n.ENUM:this.writeEnum(o,r);break;case n.SFIXED32:this.writeSfixed32(o,r);break;case n.SFIXED64:this.writeSfixed64(o,r);break;case n.SINT32:this.writeSint32(o,r);break;case n.SINT64:this.writeSint64(o,r);break;case n.FHASH64:this.writeFixedHash64(o,r);break;case n.VHASH64:this.writeVarintHash64(o,r);break;default:goog.asserts.fail("Invalid field type in writeAny()")}};jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(o))};jspb.BinaryWriter.prototype.writeSignedVarint32_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o))};jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(o))};jspb.BinaryWriter.prototype.writeSignedVarint64_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(o))};jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(o))};jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(o))};jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(o))};jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(o))};jspb.BinaryWriter.prototype.writeInt32=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(t,o))};jspb.BinaryWriter.prototype.writeInt32String=function(t,o){o!=null&&(o=parseInt(o,10),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(t,o))};jspb.BinaryWriter.prototype.writeInt64=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(t,o))};jspb.BinaryWriter.prototype.writeInt64String=function(t,o){o!=null&&(o=jspb.arith.Int64.fromString(o),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(o.lo,o.hi))};jspb.BinaryWriter.prototype.writeUint32=function(t,o){o!=null&&(goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(t,o))};jspb.BinaryWriter.prototype.writeUint32String=function(t,o){o!=null&&(o=parseInt(o,10),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(t,o))};jspb.BinaryWriter.prototype.writeUint64=function(t,o){o!=null&&(goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(t,o))};jspb.BinaryWriter.prototype.writeUint64String=function(t,o){o!=null&&(o=jspb.arith.UInt64.fromString(o),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(o.lo,o.hi))};jspb.BinaryWriter.prototype.writeSint32=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(t,o))};jspb.BinaryWriter.prototype.writeSint64=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(t,o))};jspb.BinaryWriter.prototype.writeSintHash64=function(t,o){o!=null&&this.writeZigzagVarintHash64_(t,o)};jspb.BinaryWriter.prototype.writeSint64String=function(t,o){o!=null&&this.writeZigzagVarint64String_(t,o)};jspb.BinaryWriter.prototype.writeFixed32=function(t,o){o!=null&&(goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(o))};jspb.BinaryWriter.prototype.writeFixed64=function(t,o){o!=null&&(goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(o))};jspb.BinaryWriter.prototype.writeFixed64String=function(t,o){o!=null&&(o=jspb.arith.UInt64.fromString(o),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(o.lo,o.hi))};jspb.BinaryWriter.prototype.writeSfixed32=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(o))};jspb.BinaryWriter.prototype.writeSfixed64=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(o))};jspb.BinaryWriter.prototype.writeSfixed64String=function(t,o){o!=null&&(o=jspb.arith.Int64.fromString(o),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(o.lo,o.hi))};jspb.BinaryWriter.prototype.writeFloat=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(o))};jspb.BinaryWriter.prototype.writeDouble=function(t,o){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(o))};jspb.BinaryWriter.prototype.writeBool=function(t,o){o!=null&&(goog.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(o))};jspb.BinaryWriter.prototype.writeEnum=function(t,o){o!=null&&(goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o))};jspb.BinaryWriter.prototype.writeString=function(t,o){o!=null&&(t=this.beginDelimited_(t),this.encoder_.writeString(o),this.endDelimited_(t))};jspb.BinaryWriter.prototype.writeBytes=function(t,o){o!=null&&(o=jspb.utils.byteSourceToUint8Array(o),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(o.length),this.appendUint8Array_(o))};jspb.BinaryWriter.prototype.writeMessage=function(t,o,r){o!=null&&(t=this.beginDelimited_(t),r(o,this),this.endDelimited_(t))};jspb.BinaryWriter.prototype.writeMessageSet=function(t,o,r){o!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t),t=this.beginDelimited_(3),r(o,this),this.endDelimited_(t),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))};jspb.BinaryWriter.prototype.writeGroup=function(t,o,r){o!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.START_GROUP),r(o,this),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.END_GROUP))};jspb.BinaryWriter.prototype.writeFixedHash64=function(t,o){o!=null&&(goog.asserts.assert(o.length==8),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(o))};jspb.BinaryWriter.prototype.writeVarintHash64=function(t,o){o!=null&&(goog.asserts.assert(o.length==8),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(o))};jspb.BinaryWriter.prototype.writeSplitFixed64=function(t,o,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(o,r)};jspb.BinaryWriter.prototype.writeSplitVarint64=function(t,o,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(o,r)};jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(t,o,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT);var n=this.encoder_;jspb.utils.toZigzag64(o,r,function(i,s){n.writeSplitVarint64(i>>>0,s>>>0)})};jspb.BinaryWriter.prototype.writeRepeatedInt32=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeSignedVarint32_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeInt32String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedInt64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeSignedVarint64_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(t,o,r,n){if(o!=null)for(var i=0;i<o.length;i++)this.writeSplitFixed64(t,r(o[i]),n(o[i]))};jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(t,o,r,n){if(o!=null)for(var i=0;i<o.length;i++)this.writeSplitVarint64(t,r(o[i]),n(o[i]))};jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(t,o,r,n){if(o!=null)for(var i=0;i<o.length;i++)this.writeSplitZigzagVarint64(t,r(o[i]),n(o[i]))};jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeInt64String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedUint32=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeUnsignedVarint32_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeUint32String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedUint64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeUnsignedVarint64_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeUint64String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSint32=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeZigzagVarint32_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSint64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeZigzagVarint64_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeZigzagVarint64String_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeZigzagVarintHash64_(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeFixed32(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeFixed64(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeFixed64String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeSfixed32(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeSfixed64(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeSfixed64String(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedFloat=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeFloat(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedDouble=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeDouble(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedBool=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeBool(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedEnum=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeEnum(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedString=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeString(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedBytes=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeBytes(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedMessage=function(t,o,r){if(o!=null)for(var n=0;n<o.length;n++){var i=this.beginDelimited_(t);r(o[n],this),this.endDelimited_(i)}};jspb.BinaryWriter.prototype.writeRepeatedGroup=function(t,o,r){if(o!=null)for(var n=0;n<o.length;n++)this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.START_GROUP),r(o[n],this),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.END_GROUP)};jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeFixedHash64(t,o[r])};jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(t,o){if(o!=null)for(var r=0;r<o.length;r++)this.writeVarintHash64(t,o[r])};jspb.BinaryWriter.prototype.writePackedInt32=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeSignedVarint32(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedInt32String=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeSignedVarint32(parseInt(o[r],10));this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedInt64=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeSignedVarint64(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(t,o,r,n){if(o!=null){t=this.beginDelimited_(t);for(var i=0;i<o.length;i++)this.encoder_.writeSplitFixed64(r(o[i]),n(o[i]));this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(t,o,r,n){if(o!=null){t=this.beginDelimited_(t);for(var i=0;i<o.length;i++)this.encoder_.writeSplitVarint64(r(o[i]),n(o[i]));this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(t,o,r,n){if(o!=null){t=this.beginDelimited_(t);for(var i=this.encoder_,s=0;s<o.length;s++)jspb.utils.toZigzag64(r(o[s]),n(o[s]),function(p,l){i.writeSplitVarint64(p>>>0,l>>>0)});this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedInt64String=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++){var n=jspb.arith.Int64.fromString(o[r]);this.encoder_.writeSplitVarint64(n.lo,n.hi)}this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedUint32=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeUnsignedVarint32(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedUint32String=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(o[r],10));this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedUint64=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeUnsignedVarint64(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedUint64String=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++){var n=jspb.arith.UInt64.fromString(o[r]);this.encoder_.writeSplitVarint64(n.lo,n.hi)}this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSint32=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeZigzagVarint32(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSint64=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeZigzagVarint64(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSint64String=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o[r]));this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedSintHash64=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeZigzagVarintHash64(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedFixed32=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),t=0;t<o.length;t++)this.encoder_.writeUint32(o[t])};jspb.BinaryWriter.prototype.writePackedFixed64=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++)this.encoder_.writeUint64(o[t])};jspb.BinaryWriter.prototype.writePackedFixed64String=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++){var r=jspb.arith.UInt64.fromString(o[t]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}};jspb.BinaryWriter.prototype.writePackedSfixed32=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),t=0;t<o.length;t++)this.encoder_.writeInt32(o[t])};jspb.BinaryWriter.prototype.writePackedSfixed64=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++)this.encoder_.writeInt64(o[t])};jspb.BinaryWriter.prototype.writePackedSfixed64String=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++)this.encoder_.writeInt64String(o[t])};jspb.BinaryWriter.prototype.writePackedFloat=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),t=0;t<o.length;t++)this.encoder_.writeFloat(o[t])};jspb.BinaryWriter.prototype.writePackedDouble=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++)this.encoder_.writeDouble(o[t])};jspb.BinaryWriter.prototype.writePackedBool=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(o.length),t=0;t<o.length;t++)this.encoder_.writeBool(o[t])};jspb.BinaryWriter.prototype.writePackedEnum=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeEnum(o[r]);this.endDelimited_(t)}};jspb.BinaryWriter.prototype.writePackedFixedHash64=function(t,o){if(o!=null&&o.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),t=0;t<o.length;t++)this.encoder_.writeFixedHash64(o[t])};jspb.BinaryWriter.prototype.writePackedVarintHash64=function(t,o){if(o!=null&&o.length){t=this.beginDelimited_(t);for(var r=0;r<o.length;r++)this.encoder_.writeVarintHash64(o[r]);this.endDelimited_(t)}};jspb.Map=function(t,o){this.arr_=t,this.valueCtor_=o,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()};jspb.Map.prototype.loadFromArray_=function(){for(var t=0;t<this.arr_.length;t++){var o=this.arr_[t],r=o[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,o[1])}this.arrClean=!0};jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var t=this.map_,o;for(o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var r=t[o].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,t=this.stringKeys_(),t.sort(),o=0;o<t.length;o++){var n=this.map_[t[o]];(r=n.valueWrapper)&&r.toArray(),this.arr_.push([n.key,n.value])}this.arrClean=!0}return this.arr_};jspb.Map.prototype.toObject=function(t,o){for(var r=this.toArray(),n=[],i=0;i<r.length;i++){var s=this.map_[r[i][0].toString()];this.wrapEntry_(s);var p=s.valueWrapper;p?(goog.asserts.assert(o),n.push([s.key,o(t,p)])):n.push([s.key,s.value])}return n};jspb.Map.fromObject=function(t,o,r){o=new jspb.Map([],o);for(var n=0;n<t.length;n++){var i=t[n][0],s=r(t[n][1]);o.set(i,s)}return o};jspb.Map.ArrayIteratorIterable_=function(t){this.idx_=0,this.arr_=t};jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this});jspb.Map.prototype.getLength=function(){return this.stringKeys_().length};jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1};jspb.Map.prototype.del=function(t){t=t.toString();var o=this.map_.hasOwnProperty(t);return delete this.map_[t],this.arrClean=!1,o};jspb.Map.prototype.getEntryList=function(){var t=[],o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var n=this.map_[o[r]];t.push([n.key,n.value])}return t};jspb.Map.prototype.entries=function(){var t=[],o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var n=this.map_[o[r]];t.push([n.key,this.wrapEntry_(n)])}return new jspb.Map.ArrayIteratorIterable_(t)};jspb.Map.prototype.keys=function(){var t=[],o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++)t.push(this.map_[o[r]].key);return new jspb.Map.ArrayIteratorIterable_(t)};jspb.Map.prototype.values=function(){var t=[],o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++)t.push(this.wrapEntry_(this.map_[o[r]]));return new jspb.Map.ArrayIteratorIterable_(t)};jspb.Map.prototype.forEach=function(t,o){var r=this.stringKeys_();r.sort();for(var n=0;n<r.length;n++){var i=this.map_[r[n]];t.call(o,this.wrapEntry_(i),i.key,this)}};jspb.Map.prototype.set=function(t,o){var r=new jspb.Map.Entry_(t);return this.valueCtor_?(r.valueWrapper=o,r.value=o.toArray()):r.value=o,this.map_[t.toString()]=r,this.arrClean=!1,this};jspb.Map.prototype.wrapEntry_=function(t){return this.valueCtor_?(t.valueWrapper||(t.valueWrapper=new this.valueCtor_(t.value)),t.valueWrapper):t.value};jspb.Map.prototype.get=function(t){if(t=this.map_[t.toString()])return this.wrapEntry_(t)};jspb.Map.prototype.has=function(t){return t.toString()in this.map_};jspb.Map.prototype.serializeBinary=function(t,o,r,n,i){var s=this.stringKeys_();s.sort();for(var p=0;p<s.length;p++){var l=this.map_[s[p]];o.beginSubMessage(t),r.call(o,1,l.key),this.valueCtor_?n.call(o,2,this.wrapEntry_(l),i):n.call(o,2,l.value),o.endSubMessage()}};jspb.Map.deserializeBinary=function(t,o,r,n,i,s,p){for(;o.nextField()&&!o.isEndGroup();){var l=o.getFieldNumber();l==1?s=r.call(o):l==2&&(t.valueCtor_?(goog.asserts.assert(i),p||(p=new t.valueCtor_),n.call(o,p,i)):p=n.call(o))}goog.asserts.assert(s!=null),goog.asserts.assert(p!=null),t.set(s,p)};jspb.Map.prototype.stringKeys_=function(){var t=this.map_,o=[],r;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&o.push(r);return o};jspb.Map.Entry_=function(t,o){this.key=t,this.value=o,this.valueWrapper=void 0};jspb.ExtensionFieldInfo=function(t,o,r,n,i){this.fieldIndex=t,this.fieldName=o,this.ctor=r,this.toObjectFn=n,this.isRepeated=i};jspb.ExtensionFieldBinaryInfo=function(t,o,r,n,i,s){this.fieldInfo=t,this.binaryReaderFn=o,this.binaryWriterFn=r,this.binaryMessageSerializeFn=n,this.binaryMessageDeserializeFn=i,this.isPacked=s};jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor};jspb.Message=function(){};jspb.Message.GENERATE_TO_OBJECT=!0;jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE;jspb.Message.GENERATE_TO_STRING=!0;jspb.Message.ASSUME_LOCAL_ARRAYS=!1;jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0;jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function";jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_};jspb.Message.getIndex_=function(t,o){return o+t.arrayIndexOffset_};jspb.Message.hiddenES6Property_=function(){};jspb.Message.getFieldNumber_=function(t,o){return o-t.arrayIndexOffset_};jspb.Message.initialize=function(t,o,r,n,i,s){if(t.wrappers_=null,o||(o=r?[r]:[]),t.messageId_=r?String(r):void 0,t.arrayIndexOffset_=r===0?-1:0,t.array=o,jspb.Message.initPivotAndExtensionObject_(t,n),t.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(t.repeatedFields=i),i)for(o=0;o<i.length;o++)r=i[o],r<t.pivot_?(r=jspb.Message.getIndex_(t,r),t.array[r]=t.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[r]=t.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(s&&s.length)for(o=0;o<s.length;o++)jspb.Message.computeOneofCase(t,s[o])};jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[];jspb.Message.isArray_=function(t){return jspb.Message.ASSUME_LOCAL_ARRAYS?t instanceof Array:Array.isArray(t)};jspb.Message.isExtensionObject_=function(t){return t!==null&&typeof t=="object"&&!jspb.Message.isArray_(t)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)};jspb.Message.initPivotAndExtensionObject_=function(t,o){var r=t.array.length,n=-1;if(r&&(n=r-1,r=t.array[n],jspb.Message.isExtensionObject_(r))){t.pivot_=jspb.Message.getFieldNumber_(t,n),t.extensionObject_=r;return}-1<o?(t.pivot_=Math.max(o,jspb.Message.getFieldNumber_(t,n+1)),t.extensionObject_=null):t.pivot_=Number.MAX_VALUE};jspb.Message.maybeInitEmptyExtensionObject_=function(t){var o=jspb.Message.getIndex_(t,t.pivot_);t.array[o]||(t.extensionObject_=t.array[o]={})};jspb.Message.toObjectList=function(t,o,r){for(var n=[],i=0;i<t.length;i++)n[i]=o.call(t[i],r,t[i]);return n};jspb.Message.toObjectExtension=function(t,o,r,n,i){for(var s in r){var p=r[s],l=n.call(t,p);if(l!=null){for(var _ in p.fieldName)if(p.fieldName.hasOwnProperty(_))break;o[_]=p.toObjectFn?p.isRepeated?jspb.Message.toObjectList(l,p.toObjectFn,i):p.toObjectFn(i,l):l}}};jspb.Message.serializeBinaryExtensions=function(t,o,r,n){for(var i in r){var s=r[i],p=s.fieldInfo;if(!s.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var l=n.call(t,p);if(l!=null)if(p.isMessageType())if(s.binaryMessageSerializeFn)s.binaryWriterFn.call(o,p.fieldIndex,l,s.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else s.binaryWriterFn.call(o,p.fieldIndex,l)}};jspb.Message.readBinaryExtension=function(t,o,r,n,i){var s=r[o.getFieldNumber()];if(s){if(r=s.fieldInfo,!s.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var p=new r.ctor;s.binaryReaderFn.call(o,p,s.binaryMessageDeserializeFn)}else p=s.binaryReaderFn.call(o);r.isRepeated&&!s.isPacked?(o=n.call(t,r))?o.push(p):i.call(t,r,[p]):i.call(t,r,p)}else o.skipField()};jspb.Message.getField=function(t,o){if(o<t.pivot_){o=jspb.Message.getIndex_(t,o);var r=t.array[o];return r===jspb.Message.EMPTY_LIST_SENTINEL_?t.array[o]=[]:r}if(t.extensionObject_)return r=t.extensionObject_[o],r===jspb.Message.EMPTY_LIST_SENTINEL_?t.extensionObject_[o]=[]:r};jspb.Message.getRepeatedField=function(t,o){return jspb.Message.getField(t,o)};jspb.Message.getOptionalFloatingPointField=function(t,o){return t=jspb.Message.getField(t,o),t==null?t:+t};jspb.Message.getBooleanField=function(t,o){return t=jspb.Message.getField(t,o),t==null?t:!!t};jspb.Message.getRepeatedFloatingPointField=function(t,o){var r=jspb.Message.getRepeatedField(t,o);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[o]){for(var n=0;n<r.length;n++)r[n]=+r[n];t.convertedPrimitiveFields_[o]=!0}return r};jspb.Message.getRepeatedBooleanField=function(t,o){var r=jspb.Message.getRepeatedField(t,o);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[o]){for(var n=0;n<r.length;n++)r[n]=!!r[n];t.convertedPrimitiveFields_[o]=!0}return r};jspb.Message.bytesAsB64=function(t){return t==null||typeof t=="string"?t:jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array?goog.crypt.base64.encodeByteArray(t):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(t)),null)};jspb.Message.bytesAsU8=function(t){return t==null||t instanceof Uint8Array?t:typeof t=="string"?goog.crypt.base64.decodeStringToUint8Array(t):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(t)),null)};jspb.Message.bytesListAsB64=function(t){return jspb.Message.assertConsistentTypes_(t),t.length&&typeof t[0]!="string"?goog.array.map(t,jspb.Message.bytesAsB64):t};jspb.Message.bytesListAsU8=function(t){return jspb.Message.assertConsistentTypes_(t),!t.length||t[0]instanceof Uint8Array?t:goog.array.map(t,jspb.Message.bytesAsU8)};jspb.Message.assertConsistentTypes_=function(t){if(goog.DEBUG&&t&&1<t.length){var o=goog.typeOf(t[0]);goog.array.forEach(t,function(r){goog.typeOf(r)!=o&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+o)})}};jspb.Message.getFieldWithDefault=function(t,o,r){return t=jspb.Message.getField(t,o),t??r};jspb.Message.getBooleanFieldWithDefault=function(t,o,r){return t=jspb.Message.getBooleanField(t,o),t??r};jspb.Message.getFloatingPointFieldWithDefault=function(t,o,r){return t=jspb.Message.getOptionalFloatingPointField(t,o),t??r};jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault;jspb.Message.getMapField=function(t,o,r,n){if(t.wrappers_||(t.wrappers_={}),o in t.wrappers_)return t.wrappers_[o];var i=jspb.Message.getField(t,o);if(!i){if(r)return;i=[],jspb.Message.setField(t,o,i)}return t.wrappers_[o]=new jspb.Map(i,n)};jspb.Message.setField=function(t,o,r){return goog.asserts.assertInstanceof(t,jspb.Message),o<t.pivot_?t.array[jspb.Message.getIndex_(t,o)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[o]=r),t};jspb.Message.setProto3IntField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,0)};jspb.Message.setProto3FloatField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,0)};jspb.Message.setProto3BooleanField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,!1)};jspb.Message.setProto3StringField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,"")};jspb.Message.setProto3BytesField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,"")};jspb.Message.setProto3EnumField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,0)};jspb.Message.setProto3StringIntField=function(t,o,r){return jspb.Message.setFieldIgnoringDefault_(t,o,r,"0")};jspb.Message.setFieldIgnoringDefault_=function(t,o,r,n){return goog.asserts.assertInstanceof(t,jspb.Message),r!==n?jspb.Message.setField(t,o,r):o<t.pivot_?t.array[jspb.Message.getIndex_(t,o)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(t),delete t.extensionObject_[o]),t};jspb.Message.addToRepeatedField=function(t,o,r,n){return goog.asserts.assertInstanceof(t,jspb.Message),o=jspb.Message.getRepeatedField(t,o),n!=null?o.splice(n,0,r):o.push(r),t};jspb.Message.setOneofField=function(t,o,r,n){return goog.asserts.assertInstanceof(t,jspb.Message),(r=jspb.Message.computeOneofCase(t,r))&&r!==o&&n!==void 0&&(t.wrappers_&&r in t.wrappers_&&(t.wrappers_[r]=void 0),jspb.Message.setField(t,r,void 0)),jspb.Message.setField(t,o,n)};jspb.Message.computeOneofCase=function(t,o){for(var r,n,i=0;i<o.length;i++){var s=o[i],p=jspb.Message.getField(t,s);p!=null&&(r=s,n=p,jspb.Message.setField(t,s,void 0))}return r?(jspb.Message.setField(t,r,n),r):0};jspb.Message.getWrapperField=function(t,o,r,n){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[r]){var i=jspb.Message.getField(t,r);(n||i)&&(t.wrappers_[r]=new o(i))}return t.wrappers_[r]};jspb.Message.getRepeatedWrapperField=function(t,o,r){return jspb.Message.wrapRepeatedField_(t,o,r),o=t.wrappers_[r],o==jspb.Message.EMPTY_LIST_SENTINEL_&&(o=t.wrappers_[r]=[]),o};jspb.Message.wrapRepeatedField_=function(t,o,r){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[r]){for(var n=jspb.Message.getRepeatedField(t,r),i=[],s=0;s<n.length;s++)i[s]=new o(n[s]);t.wrappers_[r]=i}};jspb.Message.setWrapperField=function(t,o,r){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var n=r&&r.toArray();return t.wrappers_[o]=r,jspb.Message.setField(t,o,n)};jspb.Message.setOneofWrapperField=function(t,o,r,n){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var i=n&&n.toArray();return t.wrappers_[o]=n,jspb.Message.setOneofField(t,o,r,i)};jspb.Message.setRepeatedWrapperField=function(t,o,r){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={}),r=r||[];for(var n=[],i=0;i<r.length;i++)n[i]=r[i].toArray();return t.wrappers_[o]=r,jspb.Message.setField(t,o,n)};jspb.Message.addToRepeatedWrapperField=function(t,o,r,n,i){jspb.Message.wrapRepeatedField_(t,n,o);var s=t.wrappers_[o];return s||(s=t.wrappers_[o]=[]),r=r||new n,t=jspb.Message.getRepeatedField(t,o),i!=null?(s.splice(i,0,r),t.splice(i,0,r.toArray())):(s.push(r),t.push(r.toArray())),r};jspb.Message.toMap=function(t,o,r,n){for(var i={},s=0;s<t.length;s++)i[o.call(t[s])]=r?r.call(t[s],n,t[s]):t[s];return i};jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var t in this.wrappers_){var o=this.wrappers_[t];if(Array.isArray(o))for(var r=0;r<o.length;r++)o[r]&&o[r].toArray();else o&&o.toArray()}};jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array};jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()});jspb.Message.prototype.getExtension=function(t){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var o=t.fieldIndex;if(t.isRepeated){if(t.isMessageType())return this.wrappers_[o]||(this.wrappers_[o]=goog.array.map(this.extensionObject_[o]||[],function(r){return new t.ctor(r)})),this.wrappers_[o]}else if(t.isMessageType())return!this.wrappers_[o]&&this.extensionObject_[o]&&(this.wrappers_[o]=new t.ctor(this.extensionObject_[o])),this.wrappers_[o];return this.extensionObject_[o]}};jspb.Message.prototype.setExtension=function(t,o){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=t.fieldIndex;return t.isRepeated?(o=o||[],t.isMessageType()?(this.wrappers_[r]=o,this.extensionObject_[r]=goog.array.map(o,function(n){return n.toArray()})):this.extensionObject_[r]=o):t.isMessageType()?(this.wrappers_[r]=o,this.extensionObject_[r]=o&&o.toArray()):this.extensionObject_[r]=o,this};jspb.Message.difference=function(t,o){if(!(t instanceof o.constructor))throw Error("Messages have different types.");var r=t.toArray();o=o.toArray();var n=[],i=0,s=r.length>o.length?r.length:o.length;for(t.getJsPbMessageId()&&(n[0]=t.getJsPbMessageId(),i=1);i<s;i++)jspb.Message.compareFields(r[i],o[i])||(n[i]=o[i]);return new t.constructor(n)};jspb.Message.equals=function(t,o){return t==o||!(!t||!o)&&t instanceof o.constructor&&jspb.Message.compareFields(t.toArray(),o.toArray())};jspb.Message.compareExtensions=function(t,o){t=t||{},o=o||{};var r={},n;for(n in t)r[n]=0;for(n in o)r[n]=0;for(n in r)if(!jspb.Message.compareFields(t[n],o[n]))return!1;return!0};jspb.Message.compareFields=function(t,o){if(t==o)return!0;if(!goog.isObject(t)||!goog.isObject(o))return typeof t=="number"&&isNaN(t)||typeof o=="number"&&isNaN(o)?String(t)==String(o):!1;if(t.constructor!=o.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t.constructor===Uint8Array){if(t.length!=o.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!=o[r])return!1;return!0}if(t.constructor===Array){var n=void 0,i=void 0,s=Math.max(t.length,o.length);for(r=0;r<s;r++){var p=t[r],l=o[r];if(p&&p.constructor==Object&&(goog.asserts.assert(n===void 0),goog.asserts.assert(r===t.length-1),n=p,p=void 0),l&&l.constructor==Object&&(goog.asserts.assert(i===void 0),goog.asserts.assert(r===o.length-1),i=l,l=void 0),!jspb.Message.compareFields(p,l))return!1}return n||i?(n=n||{},i=i||{},jspb.Message.compareExtensions(n,i)):!0}if(t.constructor===Object)return jspb.Message.compareExtensions(t,o);throw Error("Invalid type in JSPB array")};jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)};jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)};jspb.Message.clone=function(t){return jspb.Message.cloneMessage(t)};jspb.Message.cloneMessage=function(t){return new t.constructor(jspb.Message.clone_(t.toArray()))};jspb.Message.copyInto=function(t,o){goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assertInstanceof(o,jspb.Message),goog.asserts.assert(t.constructor==o.constructor,"Copy source and target message should have the same type."),t=jspb.Message.clone(t);for(var r=o.toArray(),n=t.toArray(),i=r.length=0;i<n.length;i++)r[i]=n[i];o.wrappers_=t.wrappers_,o.extensionObject_=t.extensionObject_};jspb.Message.clone_=function(t){if(Array.isArray(t)){for(var o=Array(t.length),r=0;r<t.length;r++){var n=t[r];n!=null&&(o[r]=typeof n=="object"?jspb.Message.clone_(goog.asserts.assert(n)):n)}return o}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)return new Uint8Array(t);o={};for(r in t)n=t[r],n!=null&&(o[r]=typeof n=="object"?jspb.Message.clone_(goog.asserts.assert(n)):n);return o};jspb.Message.registerMessageType=function(t,o){o.messageId=t};jspb.Message.messageSetExtensions={};jspb.Message.messageSetExtensionsBinary={};jspb.Export={};typeof exports=="object"&&(exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf)});var ca=ee(pa=>{var g=mr(),H=g,he=function(){return this?this:typeof window<"u"?window:typeof he<"u"?he:typeof self<"u"?self:Function("return this")()}.call(null);H.exportSymbol("proto.google.protobuf.DescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,he);H.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,he);H.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,he);H.exportSymbol("proto.google.protobuf.EnumOptions",null,he);H.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.EnumValueOptions",null,he);H.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,he);H.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,he);H.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,he);H.exportSymbol("proto.google.protobuf.FieldOptions",null,he);H.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,he);H.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,he);H.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,he);H.exportSymbol("proto.google.protobuf.FileOptions",null,he);H.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,he);H.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,he);H.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,he);H.exportSymbol("proto.google.protobuf.MessageOptions",null,he);H.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.MethodOptions",null,he);H.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,he);H.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.OneofOptions",null,he);H.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,he);H.exportSymbol("proto.google.protobuf.ServiceOptions",null,he);H.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,he);H.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,he);H.exportSymbol("proto.google.protobuf.UninterpretedOption",null,he);H.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,he);proto.google.protobuf.FileDescriptorSet=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)};H.inherits(proto.google.protobuf.FileDescriptorSet,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet");proto.google.protobuf.FileDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)};H.inherits(proto.google.protobuf.FileDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto");proto.google.protobuf.DescriptorProto=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)};H.inherits(proto.google.protobuf.DescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto");proto.google.protobuf.DescriptorProto.ExtensionRange=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange");proto.google.protobuf.DescriptorProto.ReservedRange=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange");proto.google.protobuf.ExtensionRangeOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.ExtensionRangeOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions");proto.google.protobuf.ExtensionRangeOptions.extensions={};proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={};proto.google.protobuf.FieldDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.FieldDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto");proto.google.protobuf.OneofDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.OneofDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto");proto.google.protobuf.EnumDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)};H.inherits(proto.google.protobuf.EnumDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto");proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange");proto.google.protobuf.EnumValueDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.EnumValueDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto");proto.google.protobuf.ServiceDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)};H.inherits(proto.google.protobuf.ServiceDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto");proto.google.protobuf.MethodDescriptorProto=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.MethodDescriptorProto,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto");proto.google.protobuf.FileOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.FileOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions");proto.google.protobuf.FileOptions.extensions={};proto.google.protobuf.FileOptions.extensionsBinary={};proto.google.protobuf.MessageOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.MessageOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions");proto.google.protobuf.MessageOptions.extensions={};proto.google.protobuf.MessageOptions.extensionsBinary={};proto.google.protobuf.FieldOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.FieldOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions");proto.google.protobuf.FieldOptions.extensions={};proto.google.protobuf.FieldOptions.extensionsBinary={};proto.google.protobuf.OneofOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.OneofOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions");proto.google.protobuf.OneofOptions.extensions={};proto.google.protobuf.OneofOptions.extensionsBinary={};proto.google.protobuf.EnumOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.EnumOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions");proto.google.protobuf.EnumOptions.extensions={};proto.google.protobuf.EnumOptions.extensionsBinary={};proto.google.protobuf.EnumValueOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.EnumValueOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions");proto.google.protobuf.EnumValueOptions.extensions={};proto.google.protobuf.EnumValueOptions.extensionsBinary={};proto.google.protobuf.ServiceOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.ServiceOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions");proto.google.protobuf.ServiceOptions.extensions={};proto.google.protobuf.ServiceOptions.extensionsBinary={};proto.google.protobuf.MethodOptions=function(t){g.Message.initialize(this,t,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)};H.inherits(proto.google.protobuf.MethodOptions,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions");proto.google.protobuf.MethodOptions.extensions={};proto.google.protobuf.MethodOptions.extensionsBinary={};proto.google.protobuf.UninterpretedOption=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)};H.inherits(proto.google.protobuf.UninterpretedOption,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption");proto.google.protobuf.UninterpretedOption.NamePart=function(t){g.Message.initialize(this,t,0,-1,null,null)};H.inherits(proto.google.protobuf.UninterpretedOption.NamePart,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart");proto.google.protobuf.SourceCodeInfo=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)};H.inherits(proto.google.protobuf.SourceCodeInfo,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo");proto.google.protobuf.SourceCodeInfo.Location=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)};H.inherits(proto.google.protobuf.SourceCodeInfo.Location,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location");proto.google.protobuf.GeneratedCodeInfo=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)};H.inherits(proto.google.protobuf.GeneratedCodeInfo,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo");proto.google.protobuf.GeneratedCodeInfo.Annotation=function(t){g.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)};H.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,g.Message);H.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation");proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorSet.toObject(t,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(t,o){var r,n={fileList:g.Message.toObjectList(o.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(r,o)};proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.FileDescriptorProto;o.readMessage(n,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),t.addFile(n);break;default:o.skipField();break}}return t};proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getFileList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)};proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)};proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(t){return g.Message.setRepeatedWrapperField(this,1,t)};proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(t,o){return g.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.FileDescriptorProto,o)};proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])};proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorProto.toObject(t,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,pb_package:(r=g.Message.getField(o,2))==null?void 0:r,dependencyList:(r=g.Message.getRepeatedField(o,3))==null?void 0:r,publicDependencyList:(r=g.Message.getRepeatedField(o,10))==null?void 0:r,weakDependencyList:(r=g.Message.getRepeatedField(o,11))==null?void 0:r,messageTypeList:g.Message.toObjectList(o.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:g.Message.toObjectList(o.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),serviceList:g.Message.toObjectList(o.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,t),extensionList:g.Message.toObjectList(o.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),options:(r=o.getOptions())&&proto.google.protobuf.FileOptions.toObject(t,r),sourceCodeInfo:(r=o.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(t,r),syntax:(r=g.Message.getField(o,12))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var s=o.readString();t.setName(s);break;case 2:var s=o.readString();t.setPackage(s);break;case 3:var s=o.readString();t.addDependency(s);break;case 10:for(var i=o.isDelimited()?o.readPackedInt32():[o.readInt32()],n=0;n<i.length;n++)t.addPublicDependency(i[n]);break;case 11:for(var i=o.isDelimited()?o.readPackedInt32():[o.readInt32()],n=0;n<i.length;n++)t.addWeakDependency(i[n]);break;case 4:var s=new proto.google.protobuf.DescriptorProto;o.readMessage(s,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addMessageType(s);break;case 5:var s=new proto.google.protobuf.EnumDescriptorProto;o.readMessage(s,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(s);break;case 6:var s=new proto.google.protobuf.ServiceDescriptorProto;o.readMessage(s,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),t.addService(s);break;case 7:var s=new proto.google.protobuf.FieldDescriptorProto;o.readMessage(s,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(s);break;case 8:var s=new proto.google.protobuf.FileOptions;o.readMessage(s,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),t.setOptions(s);break;case 9:var s=new proto.google.protobuf.SourceCodeInfo;o.readMessage(s,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),t.setSourceCodeInfo(s);break;case 12:var s=o.readString();t.setSyntax(s);break;default:o.skipField();break}}return t};proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,2),r!=null&&o.writeString(2,r),r=t.getDependencyList(),r.length>0&&o.writeRepeatedString(3,r),r=t.getPublicDependencyList(),r.length>0&&o.writeRepeatedInt32(10,r),r=t.getWeakDependencyList(),r.length>0&&o.writeRepeatedInt32(11,r),r=t.getMessageTypeList(),r.length>0&&o.writeRepeatedMessage(4,r,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),r=t.getEnumTypeList(),r.length>0&&o.writeRepeatedMessage(5,r,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),r=t.getServiceList(),r.length>0&&o.writeRepeatedMessage(6,r,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),r=t.getExtensionList(),r.length>0&&o.writeRepeatedMessage(7,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=t.getOptions(),r!=null&&o.writeMessage(8,r,proto.google.protobuf.FileOptions.serializeBinaryToWriter),r=t.getSourceCodeInfo(),r!=null&&o.writeMessage(9,r,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),r=g.Message.getField(t,12),r!=null&&o.writeString(12,r)};proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return g.Message.getRepeatedField(this,3)};proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(t){return g.Message.setField(this,3,t||[])};proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(t,o){return g.Message.addToRepeatedField(this,3,t,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return g.Message.getRepeatedField(this,10)};proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(t){return g.Message.setField(this,10,t||[])};proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(t,o){return g.Message.addToRepeatedField(this,10,t,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return g.Message.getRepeatedField(this,11)};proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(t){return g.Message.setField(this,11,t||[])};proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(t,o){return g.Message.addToRepeatedField(this,11,t,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)};proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(t){return g.Message.setRepeatedWrapperField(this,4,t)};proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(t,o){return g.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.DescriptorProto,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])};proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)};proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(t){return g.Message.setRepeatedWrapperField(this,5,t)};proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(t,o){return g.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.EnumDescriptorProto,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])};proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)};proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(t){return g.Message.setRepeatedWrapperField(this,6,t)};proto.google.protobuf.FileDescriptorProto.prototype.addService=function(t,o){return g.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.ServiceDescriptorProto,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])};proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)};proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(t){return g.Message.setRepeatedWrapperField(this,7,t)};proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(t,o){return g.Message.addToRepeatedWrapperField(this,7,t,proto.google.protobuf.FieldDescriptorProto,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])};proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)};proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,8,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,8)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return g.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)};proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(t){return g.Message.setWrapperField(this,9,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return g.Message.getField(this,9)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return g.Message.getFieldWithDefault(this,12,"")};proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(t){return g.Message.setField(this,12,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return g.Message.setField(this,12,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return g.Message.getField(this,12)!=null};proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.toObject(t,this)},proto.google.protobuf.DescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,fieldList:g.Message.toObjectList(o.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),extensionList:g.Message.toObjectList(o.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),nestedTypeList:g.Message.toObjectList(o.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:g.Message.toObjectList(o.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),extensionRangeList:g.Message.toObjectList(o.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,t),oneofDeclList:g.Message.toObjectList(o.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,t),options:(r=o.getOptions())&&proto.google.protobuf.MessageOptions.toObject(t,r),reservedRangeList:g.Message.toObjectList(o.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,t),reservedNameList:(r=g.Message.getRepeatedField(o,10))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.DescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=new proto.google.protobuf.FieldDescriptorProto;o.readMessage(n,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addField(n);break;case 6:var n=new proto.google.protobuf.FieldDescriptorProto;o.readMessage(n,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(n);break;case 3:var n=new proto.google.protobuf.DescriptorProto;o.readMessage(n,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addNestedType(n);break;case 4:var n=new proto.google.protobuf.EnumDescriptorProto;o.readMessage(n,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(n);break;case 5:var n=new proto.google.protobuf.DescriptorProto.ExtensionRange;o.readMessage(n,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),t.addExtensionRange(n);break;case 8:var n=new proto.google.protobuf.OneofDescriptorProto;o.readMessage(n,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),t.addOneofDecl(n);break;case 7:var n=new proto.google.protobuf.MessageOptions;o.readMessage(n,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),t.setOptions(n);break;case 9:var n=new proto.google.protobuf.DescriptorProto.ReservedRange;o.readMessage(n,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),t.addReservedRange(n);break;case 10:var n=o.readString();t.addReservedName(n);break;default:o.skipField();break}}return t};proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=t.getFieldList(),r.length>0&&o.writeRepeatedMessage(2,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=t.getExtensionList(),r.length>0&&o.writeRepeatedMessage(6,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=t.getNestedTypeList(),r.length>0&&o.writeRepeatedMessage(3,r,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),r=t.getEnumTypeList(),r.length>0&&o.writeRepeatedMessage(4,r,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),r=t.getExtensionRangeList(),r.length>0&&o.writeRepeatedMessage(5,r,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),r=t.getOneofDeclList(),r.length>0&&o.writeRepeatedMessage(8,r,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),r=t.getOptions(),r!=null&&o.writeMessage(7,r,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),r=t.getReservedRangeList(),r.length>0&&o.writeRepeatedMessage(9,r,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),r=t.getReservedNameList(),r.length>0&&o.writeRepeatedString(10,r)};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(t,o){var r,n={start:(r=g.Message.getField(o,1))==null?void 0:r,end:(r=g.Message.getField(o,2))==null?void 0:r,options:(r=o.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(r,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readInt32();t.setStart(n);break;case 2:var n=o.readInt32();t.setEnd(n);break;case 3:var n=new proto.google.protobuf.ExtensionRangeOptions;o.readMessage(n,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),t.setOptions(n);break;default:o.skipField();break}}return t};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeInt32(1,r),r=g.Message.getField(t,2),r!=null&&o.writeInt32(2,r),r=t.getOptions(),r!=null&&o.writeMessage(3,r,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(t){return g.Message.setWrapperField(this,3,t)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return g.Message.getField(this,3)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(t,o){var r,n={start:(r=g.Message.getField(o,1))==null?void 0:r,end:(r=g.Message.getField(o,2))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(r,o)};proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readInt32();t.setStart(n);break;case 2:var n=o.readInt32();t.setEnd(n);break;default:o.skipField();break}}return t};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeInt32(1,r),r=g.Message.getField(t,2),r!=null&&o.writeInt32(2,r)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.DescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)};proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(t){return g.Message.setRepeatedWrapperField(this,2,t)};proto.google.protobuf.DescriptorProto.prototype.addField=function(t,o){return g.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.FieldDescriptorProto,o)};proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])};proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)};proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(t){return g.Message.setRepeatedWrapperField(this,6,t)};proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(t,o){return g.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.FieldDescriptorProto,o)};proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])};proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)};proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(t){return g.Message.setRepeatedWrapperField(this,3,t)};proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(t,o){return g.Message.addToRepeatedWrapperField(this,3,t,proto.google.protobuf.DescriptorProto,o)};proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])};proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)};proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(t){return g.Message.setRepeatedWrapperField(this,4,t)};proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(t,o){return g.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto,o)};proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])};proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)};proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(t){return g.Message.setRepeatedWrapperField(this,5,t)};proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(t,o){return g.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.DescriptorProto.ExtensionRange,o)};proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])};proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)};proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(t){return g.Message.setRepeatedWrapperField(this,8,t)};proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(t,o){return g.Message.addToRepeatedWrapperField(this,8,t,proto.google.protobuf.OneofDescriptorProto,o)};proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])};proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)};proto.google.protobuf.DescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,7,t)};proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,7)!=null};proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)};proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(t){return g.Message.setRepeatedWrapperField(this,9,t)};proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(t,o){return g.Message.addToRepeatedWrapperField(this,9,t,proto.google.protobuf.DescriptorProto.ReservedRange,o)};proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])};proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return g.Message.getRepeatedField(this,10)};proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(t){return g.Message.setField(this,10,t||[])};proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(t,o){return g.Message.addToRepeatedField(this,10,t,o)};proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(t){return proto.google.protobuf.ExtensionRangeOptions.toObject(t,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(t,o){var r,n={uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return t};proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)};proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FieldDescriptorProto.toObject(t,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,number:(r=g.Message.getField(o,3))==null?void 0:r,label:(r=g.Message.getField(o,4))==null?void 0:r,type:(r=g.Message.getField(o,5))==null?void 0:r,typeName:(r=g.Message.getField(o,6))==null?void 0:r,extendee:(r=g.Message.getField(o,2))==null?void 0:r,defaultValue:(r=g.Message.getField(o,7))==null?void 0:r,oneofIndex:(r=g.Message.getField(o,9))==null?void 0:r,jsonName:(r=g.Message.getField(o,10))==null?void 0:r,options:(r=o.getOptions())&&proto.google.protobuf.FieldOptions.toObject(t,r),proto3Optional:(r=g.Message.getBooleanField(o,17))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 3:var n=o.readInt32();t.setNumber(n);break;case 4:var n=o.readEnum();t.setLabel(n);break;case 5:var n=o.readEnum();t.setType(n);break;case 6:var n=o.readString();t.setTypeName(n);break;case 2:var n=o.readString();t.setExtendee(n);break;case 7:var n=o.readString();t.setDefaultValue(n);break;case 9:var n=o.readInt32();t.setOneofIndex(n);break;case 10:var n=o.readString();t.setJsonName(n);break;case 8:var n=new proto.google.protobuf.FieldOptions;o.readMessage(n,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),t.setOptions(n);break;case 17:var n=o.readBool();t.setProto3Optional(n);break;default:o.skipField();break}}return t};proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,3),r!=null&&o.writeInt32(3,r),r=g.Message.getField(t,4),r!=null&&o.writeEnum(4,r),r=g.Message.getField(t,5),r!=null&&o.writeEnum(5,r),r=g.Message.getField(t,6),r!=null&&o.writeString(6,r),r=g.Message.getField(t,2),r!=null&&o.writeString(2,r),r=g.Message.getField(t,7),r!=null&&o.writeString(7,r),r=g.Message.getField(t,9),r!=null&&o.writeInt32(9,r),r=g.Message.getField(t,10),r!=null&&o.writeString(10,r),r=t.getOptions(),r!=null&&o.writeMessage(8,r,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),r=g.Message.getField(t,17),r!=null&&o.writeBool(17,r)};proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18};proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3};proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return g.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return g.Message.getFieldWithDefault(this,4,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(t){return g.Message.setField(this,4,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return g.Message.setField(this,4,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return g.Message.getField(this,4)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return g.Message.getFieldWithDefault(this,5,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(t){return g.Message.setField(this,5,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return g.Message.setField(this,5,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return g.Message.getField(this,5)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return g.Message.getFieldWithDefault(this,6,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(t){return g.Message.setField(this,6,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return g.Message.setField(this,6,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return g.Message.getField(this,6)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return g.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(t){return g.Message.setField(this,7,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return g.Message.setField(this,7,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return g.Message.getField(this,7)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return g.Message.getFieldWithDefault(this,9,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(t){return g.Message.setField(this,9,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return g.Message.setField(this,9,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return g.Message.getField(this,9)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return g.Message.getFieldWithDefault(this,10,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(t){return g.Message.setField(this,10,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return g.Message.setField(this,10,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return g.Message.getField(this,10)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)};proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,8,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,8)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return g.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(t){return g.Message.setField(this,17,t)};proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return g.Message.setField(this,17,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return g.Message.getField(this,17)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.OneofDescriptorProto.toObject(t,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,options:(r=o.getOptions())&&proto.google.protobuf.OneofOptions.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=new proto.google.protobuf.OneofOptions;o.readMessage(n,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),t.setOptions(n);break;default:o.skipField();break}}return t};proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=t.getOptions(),r!=null&&o.writeMessage(2,r,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)};proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)};proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,2,t)};proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,valueList:g.Message.toObjectList(o.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,t),options:(r=o.getOptions())&&proto.google.protobuf.EnumOptions.toObject(t,r),reservedRangeList:g.Message.toObjectList(o.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,t),reservedNameList:(r=g.Message.getRepeatedField(o,5))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=new proto.google.protobuf.EnumValueDescriptorProto;o.readMessage(n,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),t.addValue(n);break;case 3:var n=new proto.google.protobuf.EnumOptions;o.readMessage(n,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),t.setOptions(n);break;case 4:var n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;o.readMessage(n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),t.addReservedRange(n);break;case 5:var n=o.readString();t.addReservedName(n);break;default:o.skipField();break}}return t};proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=t.getValueList(),r.length>0&&o.writeRepeatedMessage(2,r,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),r=t.getOptions(),r!=null&&o.writeMessage(3,r,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),r=t.getReservedRangeList(),r.length>0&&o.writeRepeatedMessage(4,r,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),r=t.getReservedNameList(),r.length>0&&o.writeRepeatedString(5,r)};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(t,o){var r,n={start:(r=g.Message.getField(o,1))==null?void 0:r,end:(r=g.Message.getField(o,2))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(r,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readInt32();t.setStart(n);break;case 2:var n=o.readInt32();t.setEnd(n);break;default:o.skipField();break}}return t};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeInt32(1,r),r=g.Message.getField(t,2),r!=null&&o.writeInt32(2,r)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)};proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(t){return g.Message.setRepeatedWrapperField(this,2,t)};proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(t,o){return g.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.EnumValueDescriptorProto,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])};proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)};proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,3,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(t){return g.Message.setRepeatedWrapperField(this,4,t)};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(t,o){return g.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return g.Message.getRepeatedField(this,5)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(t){return g.Message.setField(this,5,t||[])};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(t,o){return g.Message.addToRepeatedField(this,5,t,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumValueDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,number:(r=g.Message.getField(o,2))==null?void 0:r,options:(r=o.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=o.readInt32();t.setNumber(n);break;case 3:var n=new proto.google.protobuf.EnumValueOptions;o.readMessage(n,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),t.setOptions(n);break;default:o.skipField();break}}return t};proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,2),r!=null&&o.writeInt32(2,r),r=t.getOptions(),r!=null&&o.writeMessage(3,r,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)};proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,3,t)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.ServiceDescriptorProto.toObject(t,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,methodList:g.Message.toObjectList(o.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,t),options:(r=o.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=new proto.google.protobuf.MethodDescriptorProto;o.readMessage(n,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),t.addMethod(n);break;case 3:var n=new proto.google.protobuf.ServiceOptions;o.readMessage(n,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),t.setOptions(n);break;default:o.skipField();break}}return t};proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=t.getMethodList(),r.length>0&&o.writeRepeatedMessage(2,r,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),r=t.getOptions(),r!=null&&o.writeMessage(3,r,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)};proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)};proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(t){return g.Message.setRepeatedWrapperField(this,2,t)};proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(t,o){return g.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.MethodDescriptorProto,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])};proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)};proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,3,t)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,3)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.MethodDescriptorProto.toObject(t,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(t,o){var r,n={name:(r=g.Message.getField(o,1))==null?void 0:r,inputType:(r=g.Message.getField(o,2))==null?void 0:r,outputType:(r=g.Message.getField(o,3))==null?void 0:r,options:(r=o.getOptions())&&proto.google.protobuf.MethodOptions.toObject(t,r),clientStreaming:g.Message.getBooleanFieldWithDefault(o,5,!1),serverStreaming:g.Message.getBooleanFieldWithDefault(o,6,!1)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(r,o)};proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setName(n);break;case 2:var n=o.readString();t.setInputType(n);break;case 3:var n=o.readString();t.setOutputType(n);break;case 4:var n=new proto.google.protobuf.MethodOptions;o.readMessage(n,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),t.setOptions(n);break;case 5:var n=o.readBool();t.setClientStreaming(n);break;case 6:var n=o.readBool();t.setServerStreaming(n);break;default:o.skipField();break}}return t};proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,2),r!=null&&o.writeString(2,r),r=g.Message.getField(t,3),r!=null&&o.writeString(3,r),r=t.getOptions(),r!=null&&o.writeMessage(4,r,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),r=g.Message.getField(t,5),r!=null&&o.writeBool(5,r),r=g.Message.getField(t,6),r!=null&&o.writeBool(6,r)};proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return g.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return g.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)};proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(t){return g.Message.setWrapperField(this,4,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return g.Message.getField(this,4)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return g.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(t){return g.Message.setField(this,5,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return g.Message.setField(this,5,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return g.Message.getField(this,5)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return g.Message.getBooleanFieldWithDefault(this,6,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(t){return g.Message.setField(this,6,t)};proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return g.Message.setField(this,6,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return g.Message.getField(this,6)!=null};proto.google.protobuf.FileOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(t){return proto.google.protobuf.FileOptions.toObject(t,this)},proto.google.protobuf.FileOptions.toObject=function(t,o){var r,n={javaPackage:(r=g.Message.getField(o,1))==null?void 0:r,javaOuterClassname:(r=g.Message.getField(o,8))==null?void 0:r,javaMultipleFiles:g.Message.getBooleanFieldWithDefault(o,10,!1),javaGenerateEqualsAndHash:(r=g.Message.getBooleanField(o,20))==null?void 0:r,javaStringCheckUtf8:g.Message.getBooleanFieldWithDefault(o,27,!1),optimizeFor:g.Message.getFieldWithDefault(o,9,1),goPackage:(r=g.Message.getField(o,11))==null?void 0:r,ccGenericServices:g.Message.getBooleanFieldWithDefault(o,16,!1),javaGenericServices:g.Message.getBooleanFieldWithDefault(o,17,!1),pyGenericServices:g.Message.getBooleanFieldWithDefault(o,18,!1),phpGenericServices:g.Message.getBooleanFieldWithDefault(o,42,!1),deprecated:g.Message.getBooleanFieldWithDefault(o,23,!1),ccEnableArenas:g.Message.getBooleanFieldWithDefault(o,31,!0),objcClassPrefix:(r=g.Message.getField(o,36))==null?void 0:r,csharpNamespace:(r=g.Message.getField(o,37))==null?void 0:r,swiftPrefix:(r=g.Message.getField(o,39))==null?void 0:r,phpClassPrefix:(r=g.Message.getField(o,40))==null?void 0:r,phpNamespace:(r=g.Message.getField(o,41))==null?void 0:r,phpMetadataNamespace:(r=g.Message.getField(o,44))==null?void 0:r,rubyPackage:(r=g.Message.getField(o,45))==null?void 0:r,uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.FileOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setJavaPackage(n);break;case 8:var n=o.readString();t.setJavaOuterClassname(n);break;case 10:var n=o.readBool();t.setJavaMultipleFiles(n);break;case 20:var n=o.readBool();t.setJavaGenerateEqualsAndHash(n);break;case 27:var n=o.readBool();t.setJavaStringCheckUtf8(n);break;case 9:var n=o.readEnum();t.setOptimizeFor(n);break;case 11:var n=o.readString();t.setGoPackage(n);break;case 16:var n=o.readBool();t.setCcGenericServices(n);break;case 17:var n=o.readBool();t.setJavaGenericServices(n);break;case 18:var n=o.readBool();t.setPyGenericServices(n);break;case 42:var n=o.readBool();t.setPhpGenericServices(n);break;case 23:var n=o.readBool();t.setDeprecated(n);break;case 31:var n=o.readBool();t.setCcEnableArenas(n);break;case 36:var n=o.readString();t.setObjcClassPrefix(n);break;case 37:var n=o.readString();t.setCsharpNamespace(n);break;case 39:var n=o.readString();t.setSwiftPrefix(n);break;case 40:var n=o.readString();t.setPhpClassPrefix(n);break;case 41:var n=o.readString();t.setPhpNamespace(n);break;case 44:var n=o.readString();t.setPhpMetadataNamespace(n);break;case 45:var n=o.readString();t.setRubyPackage(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return t};proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,8),r!=null&&o.writeString(8,r),r=g.Message.getField(t,10),r!=null&&o.writeBool(10,r),r=g.Message.getField(t,20),r!=null&&o.writeBool(20,r),r=g.Message.getField(t,27),r!=null&&o.writeBool(27,r),r=g.Message.getField(t,9),r!=null&&o.writeEnum(9,r),r=g.Message.getField(t,11),r!=null&&o.writeString(11,r),r=g.Message.getField(t,16),r!=null&&o.writeBool(16,r),r=g.Message.getField(t,17),r!=null&&o.writeBool(17,r),r=g.Message.getField(t,18),r!=null&&o.writeBool(18,r),r=g.Message.getField(t,42),r!=null&&o.writeBool(42,r),r=g.Message.getField(t,23),r!=null&&o.writeBool(23,r),r=g.Message.getField(t,31),r!=null&&o.writeBool(31,r),r=g.Message.getField(t,36),r!=null&&o.writeString(36,r),r=g.Message.getField(t,37),r!=null&&o.writeString(37,r),r=g.Message.getField(t,39),r!=null&&o.writeString(39,r),r=g.Message.getField(t,40),r!=null&&o.writeString(40,r),r=g.Message.getField(t,41),r!=null&&o.writeString(41,r),r=g.Message.getField(t,44),r!=null&&o.writeString(44,r),r=g.Message.getField(t,45),r!=null&&o.writeString(45,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)};proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3};proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return g.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(t){return g.Message.setField(this,8,t)};proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return g.Message.setField(this,8,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return g.Message.getField(this,8)!=null};proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return g.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(t){return g.Message.setField(this,10,t)};proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return g.Message.setField(this,10,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return g.Message.getField(this,10)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return g.Message.getBooleanFieldWithDefault(this,20,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(t){return g.Message.setField(this,20,t)};proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return g.Message.setField(this,20,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return g.Message.getField(this,20)!=null};proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return g.Message.getBooleanFieldWithDefault(this,27,!1)};proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(t){return g.Message.setField(this,27,t)};proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return g.Message.setField(this,27,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return g.Message.getField(this,27)!=null};proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return g.Message.getFieldWithDefault(this,9,1)};proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(t){return g.Message.setField(this,9,t)};proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return g.Message.setField(this,9,void 0)};proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return g.Message.getField(this,9)!=null};proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return g.Message.getFieldWithDefault(this,11,"")};proto.google.protobuf.FileOptions.prototype.setGoPackage=function(t){return g.Message.setField(this,11,t)};proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return g.Message.setField(this,11,void 0)};proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return g.Message.getField(this,11)!=null};proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return g.Message.getBooleanFieldWithDefault(this,16,!1)};proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(t){return g.Message.setField(this,16,t)};proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return g.Message.setField(this,16,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return g.Message.getField(this,16)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return g.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(t){return g.Message.setField(this,17,t)};proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return g.Message.setField(this,17,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return g.Message.getField(this,17)!=null};proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return g.Message.getBooleanFieldWithDefault(this,18,!1)};proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(t){return g.Message.setField(this,18,t)};proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return g.Message.setField(this,18,void 0)};proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return g.Message.getField(this,18)!=null};proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return g.Message.getBooleanFieldWithDefault(this,42,!1)};proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(t){return g.Message.setField(this,42,t)};proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return g.Message.setField(this,42,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return g.Message.getField(this,42)!=null};proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,23,!1)};proto.google.protobuf.FileOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,23,t)};proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,23,void 0)};proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,23)!=null};proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return g.Message.getBooleanFieldWithDefault(this,31,!0)};proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(t){return g.Message.setField(this,31,t)};proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return g.Message.setField(this,31,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return g.Message.getField(this,31)!=null};proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return g.Message.getFieldWithDefault(this,36,"")};proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(t){return g.Message.setField(this,36,t)};proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return g.Message.setField(this,36,void 0)};proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return g.Message.getField(this,36)!=null};proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return g.Message.getFieldWithDefault(this,37,"")};proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(t){return g.Message.setField(this,37,t)};proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return g.Message.setField(this,37,void 0)};proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return g.Message.getField(this,37)!=null};proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return g.Message.getFieldWithDefault(this,39,"")};proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(t){return g.Message.setField(this,39,t)};proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return g.Message.setField(this,39,void 0)};proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return g.Message.getField(this,39)!=null};proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return g.Message.getFieldWithDefault(this,40,"")};proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(t){return g.Message.setField(this,40,t)};proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return g.Message.setField(this,40,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return g.Message.getField(this,40)!=null};proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return g.Message.getFieldWithDefault(this,41,"")};proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(t){return g.Message.setField(this,41,t)};proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return g.Message.setField(this,41,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return g.Message.getField(this,41)!=null};proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return g.Message.getFieldWithDefault(this,44,"")};proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(t){return g.Message.setField(this,44,t)};proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return g.Message.setField(this,44,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return g.Message.getField(this,44)!=null};proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return g.Message.getFieldWithDefault(this,45,"")};proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(t){return g.Message.setField(this,45,t)};proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return g.Message.setField(this,45,void 0)};proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return g.Message.getField(this,45)!=null};proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.MessageOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(t){return proto.google.protobuf.MessageOptions.toObject(t,this)},proto.google.protobuf.MessageOptions.toObject=function(t,o){var r,n={messageSetWireFormat:g.Message.getBooleanFieldWithDefault(o,1,!1),noStandardDescriptorAccessor:g.Message.getBooleanFieldWithDefault(o,2,!1),deprecated:g.Message.getBooleanFieldWithDefault(o,3,!1),mapEntry:(r=g.Message.getBooleanField(o,7))==null?void 0:r,uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.MessageOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBool();t.setMessageSetWireFormat(n);break;case 2:var n=o.readBool();t.setNoStandardDescriptorAccessor(n);break;case 3:var n=o.readBool();t.setDeprecated(n);break;case 7:var n=o.readBool();t.setMapEntry(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return t};proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeBool(1,r),r=g.Message.getField(t,2),r!=null&&o.writeBool(2,r),r=g.Message.getField(t,3),r!=null&&o.writeBool(3,r),r=g.Message.getField(t,7),r!=null&&o.writeBool(7,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)};proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return g.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return g.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return g.Message.getBooleanFieldWithDefault(this,7,!1)};proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(t){return g.Message.setField(this,7,t)};proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return g.Message.setField(this,7,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return g.Message.getField(this,7)!=null};proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.FieldOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(t){return proto.google.protobuf.FieldOptions.toObject(t,this)},proto.google.protobuf.FieldOptions.toObject=function(t,o){var r,n={ctype:g.Message.getFieldWithDefault(o,1,0),packed:(r=g.Message.getBooleanField(o,2))==null?void 0:r,jstype:g.Message.getFieldWithDefault(o,6,0),lazy:g.Message.getBooleanFieldWithDefault(o,5,!1),deprecated:g.Message.getBooleanFieldWithDefault(o,3,!1),weak:g.Message.getBooleanFieldWithDefault(o,10,!1),uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.FieldOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readEnum();t.setCtype(n);break;case 2:var n=o.readBool();t.setPacked(n);break;case 6:var n=o.readEnum();t.setJstype(n);break;case 5:var n=o.readBool();t.setLazy(n);break;case 3:var n=o.readBool();t.setDeprecated(n);break;case 10:var n=o.readBool();t.setWeak(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return t};proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeEnum(1,r),r=g.Message.getField(t,2),r!=null&&o.writeBool(2,r),r=g.Message.getField(t,6),r!=null&&o.writeEnum(6,r),r=g.Message.getField(t,5),r!=null&&o.writeBool(5,r),r=g.Message.getField(t,3),r!=null&&o.writeBool(3,r),r=g.Message.getField(t,10),r!=null&&o.writeBool(10,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)};proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2};proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2};proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.FieldOptions.prototype.setCtype=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return g.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.FieldOptions.prototype.setPacked=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return g.Message.getFieldWithDefault(this,6,0)};proto.google.protobuf.FieldOptions.prototype.setJstype=function(t){return g.Message.setField(this,6,t)};proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return g.Message.setField(this,6,void 0)};proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return g.Message.getField(this,6)!=null};proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return g.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.FieldOptions.prototype.setLazy=function(t){return g.Message.setField(this,5,t)};proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return g.Message.setField(this,5,void 0)};proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return g.Message.getField(this,5)!=null};proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return g.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FieldOptions.prototype.setWeak=function(t){return g.Message.setField(this,10,t)};proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return g.Message.setField(this,10,void 0)};proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return g.Message.getField(this,10)!=null};proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.OneofOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(t){return proto.google.protobuf.OneofOptions.toObject(t,this)},proto.google.protobuf.OneofOptions.toObject=function(t,o){var r,n={uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.OneofOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return t};proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)};proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.EnumOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumOptions.toObject(t,this)},proto.google.protobuf.EnumOptions.toObject=function(t,o){var r,n={allowAlias:(r=g.Message.getBooleanField(o,2))==null?void 0:r,deprecated:g.Message.getBooleanFieldWithDefault(o,3,!1),uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.EnumOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 2:var n=o.readBool();t.setAllowAlias(n);break;case 3:var n=o.readBool();t.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return t};proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,2),r!=null&&o.writeBool(2,r),r=g.Message.getField(t,3),r!=null&&o.writeBool(3,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)};proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return g.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.EnumValueOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumValueOptions.toObject(t,this)},proto.google.protobuf.EnumValueOptions.toObject=function(t,o){var r,n={deprecated:g.Message.getBooleanFieldWithDefault(o,1,!1),uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.EnumValueOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBool();t.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return t};proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeBool(1,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)};proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.ServiceOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(t){return proto.google.protobuf.ServiceOptions.toObject(t,this)},proto.google.protobuf.ServiceOptions.toObject=function(t,o){var r,n={deprecated:g.Message.getBooleanFieldWithDefault(o,33,!1),uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.ServiceOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 33:var n=o.readBool();t.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return t};proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,33),r!=null&&o.writeBool(33,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)};proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,33,t)};proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,33,void 0)};proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,33)!=null};proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.MethodOptions.repeatedFields_=[999];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(t){return proto.google.protobuf.MethodOptions.toObject(t,this)},proto.google.protobuf.MethodOptions.toObject=function(t,o){var r,n={deprecated:g.Message.getBooleanFieldWithDefault(o,33,!1),idempotencyLevel:g.Message.getFieldWithDefault(o,34,0),uninterpretedOptionList:g.Message.toObjectList(o.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return g.Message.toObjectExtension(o,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.MethodOptions.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(r,o)};proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 33:var n=o.readBool();t.setDeprecated(n);break;case 34:var n=o.readEnum();t.setIdempotencyLevel(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;o.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(n);break;default:g.Message.readBinaryExtension(t,o,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return t};proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,33),r!=null&&o.writeBool(33,r),r=g.Message.getField(t,34),r!=null&&o.writeEnum(34,r),r=t.getUninterpretedOptionList(),r.length>0&&o.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),g.Message.serializeBinaryExtensions(t,o,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)};proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2};proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return g.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(t){return g.Message.setField(this,33,t)};proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return g.Message.setField(this,33,void 0)};proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return g.Message.getField(this,33)!=null};proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return g.Message.getFieldWithDefault(this,34,0)};proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(t){return g.Message.setField(this,34,t)};proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return g.Message.setField(this,34,void 0)};proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return g.Message.getField(this,34)!=null};proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(t){return g.Message.setRepeatedWrapperField(this,999,t)};proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(t,o){return g.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,o)};proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.UninterpretedOption.repeatedFields_=[2];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.toObject(t,this)},proto.google.protobuf.UninterpretedOption.toObject=function(t,o){var r,n={nameList:g.Message.toObjectList(o.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,t),identifierValue:(r=g.Message.getField(o,3))==null?void 0:r,positiveIntValue:(r=g.Message.getField(o,4))==null?void 0:r,negativeIntValue:(r=g.Message.getField(o,5))==null?void 0:r,doubleValue:(r=g.Message.getOptionalFloatingPointField(o,6))==null?void 0:r,stringValue:o.getStringValue_asB64(),aggregateValue:(r=g.Message.getField(o,8))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.UninterpretedOption.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(r,o)};proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 2:var n=new proto.google.protobuf.UninterpretedOption.NamePart;o.readMessage(n,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),t.addName(n);break;case 3:var n=o.readString();t.setIdentifierValue(n);break;case 4:var n=o.readUint64();t.setPositiveIntValue(n);break;case 5:var n=o.readInt64();t.setNegativeIntValue(n);break;case 6:var n=o.readDouble();t.setDoubleValue(n);break;case 7:var n=o.readBytes();t.setStringValue(n);break;case 8:var n=o.readString();t.setAggregateValue(n);break;default:o.skipField();break}}return t};proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getNameList(),r.length>0&&o.writeRepeatedMessage(2,r,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),r=g.Message.getField(t,3),r!=null&&o.writeString(3,r),r=g.Message.getField(t,4),r!=null&&o.writeUint64(4,r),r=g.Message.getField(t,5),r!=null&&o.writeInt64(5,r),r=g.Message.getField(t,6),r!=null&&o.writeDouble(6,r),r=g.Message.getField(t,7),r!=null&&o.writeBytes(7,r),r=g.Message.getField(t,8),r!=null&&o.writeString(8,r)};g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(t,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(t,o){var r,n={namePart:(r=g.Message.getField(o,1))==null?void 0:r,isExtension:(r=g.Message.getBooleanField(o,2))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(r,o)};proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setNamePart(n);break;case 2:var n=o.readBool();t.setIsExtension(n);break;default:o.skipField();break}}return t};proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(t,o){var r=void 0;r=g.Message.getField(t,1),r!=null&&o.writeString(1,r),r=g.Message.getField(t,2),r!=null&&o.writeBool(2,r)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return g.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(t){return g.Message.setField(this,1,t)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return g.Message.setField(this,1,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return g.Message.getField(this,1)!=null};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return g.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)};proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(t){return g.Message.setRepeatedWrapperField(this,2,t)};proto.google.protobuf.UninterpretedOption.prototype.addName=function(t,o){return g.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.UninterpretedOption.NamePart,o)};proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])};proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return g.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return g.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(t){return g.Message.setField(this,4,t)};proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return g.Message.setField(this,4,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return g.Message.getField(this,4)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return g.Message.getFieldWithDefault(this,5,0)};proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(t){return g.Message.setField(this,5,t)};proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return g.Message.setField(this,5,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return g.Message.getField(this,5)!=null};proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return g.Message.getFloatingPointFieldWithDefault(this,6,0)};proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(t){return g.Message.setField(this,6,t)};proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return g.Message.setField(this,6,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return g.Message.getField(this,6)!=null};proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return g.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return g.Message.bytesAsB64(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return g.Message.bytesAsU8(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(t){return g.Message.setField(this,7,t)};proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return g.Message.setField(this,7,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return g.Message.getField(this,7)!=null};proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return g.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(t){return g.Message.setField(this,8,t)};proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return g.Message.setField(this,8,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return g.Message.getField(this,8)!=null};proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(t,o){var r,n={locationList:g.Message.toObjectList(o.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(r,o)};proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.SourceCodeInfo.Location;o.readMessage(n,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),t.addLocation(n);break;default:o.skipField();break}}return t};proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getLocationList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)};proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.Location.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(t,o){var r,n={pathList:(r=g.Message.getRepeatedField(o,1))==null?void 0:r,spanList:(r=g.Message.getRepeatedField(o,2))==null?void 0:r,leadingComments:(r=g.Message.getField(o,3))==null?void 0:r,trailingComments:(r=g.Message.getField(o,4))==null?void 0:r,leadingDetachedCommentsList:(r=g.Message.getRepeatedField(o,6))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(r,o)};proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:for(var i=o.isDelimited()?o.readPackedInt32():[o.readInt32()],n=0;n<i.length;n++)t.addPath(i[n]);break;case 2:for(var i=o.isDelimited()?o.readPackedInt32():[o.readInt32()],n=0;n<i.length;n++)t.addSpan(i[n]);break;case 3:var s=o.readString();t.setLeadingComments(s);break;case 4:var s=o.readString();t.setTrailingComments(s);break;case 6:var s=o.readString();t.addLeadingDetachedComments(s);break;default:o.skipField();break}}return t};proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getPathList(),r.length>0&&o.writePackedInt32(1,r),r=t.getSpanList(),r.length>0&&o.writePackedInt32(2,r),r=g.Message.getField(t,3),r!=null&&o.writeString(3,r),r=g.Message.getField(t,4),r!=null&&o.writeString(4,r),r=t.getLeadingDetachedCommentsList(),r.length>0&&o.writeRepeatedString(6,r)};proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return g.Message.getRepeatedField(this,1)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(t){return g.Message.setField(this,1,t||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(t,o){return g.Message.addToRepeatedField(this,1,t,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])};proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return g.Message.getRepeatedField(this,2)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(t){return g.Message.setField(this,2,t||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(t,o){return g.Message.addToRepeatedField(this,2,t,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return g.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return g.Message.getFieldWithDefault(this,4,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(t){return g.Message.setField(this,4,t)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return g.Message.setField(this,4,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return g.Message.getField(this,4)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return g.Message.getRepeatedField(this,6)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(t){return g.Message.setField(this,6,t||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(t,o){return g.Message.addToRepeatedField(this,6,t,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])};proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)};proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(t){return g.Message.setRepeatedWrapperField(this,1,t)};proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(t,o){return g.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.SourceCodeInfo.Location,o)};proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])};proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(t,o){var r,n={annotationList:g.Message.toObjectList(o.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(r,o)};proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;o.readMessage(n,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),t.addAnnotation(n);break;default:o.skipField();break}}return t};proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getAnnotationList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)};proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(t,o){var r,n={pathList:(r=g.Message.getRepeatedField(o,1))==null?void 0:r,sourceFile:(r=g.Message.getField(o,2))==null?void 0:r,begin:(r=g.Message.getField(o,3))==null?void 0:r,end:(r=g.Message.getField(o,4))==null?void 0:r};return t&&(n.$jspbMessageInstance=o),n});proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(t){var o=new g.BinaryReader(t),r=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(r,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:for(var n=o.isDelimited()?o.readPackedInt32():[o.readInt32()],i=0;i<n.length;i++)t.addPath(n[i]);break;case 2:var s=o.readString();t.setSourceFile(s);break;case 3:var s=o.readInt32();t.setBegin(s);break;case 4:var s=o.readInt32();t.setEnd(s);break;default:o.skipField();break}}return t};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var t=new g.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getPathList(),r.length>0&&o.writePackedInt32(1,r),r=g.Message.getField(t,2),r!=null&&o.writeString(2,r),r=g.Message.getField(t,3),r!=null&&o.writeInt32(3,r),r=g.Message.getField(t,4),r!=null&&o.writeInt32(4,r)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return g.Message.getRepeatedField(this,1)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(t){return g.Message.setField(this,1,t||[])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(t,o){return g.Message.addToRepeatedField(this,1,t,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(t){return g.Message.setField(this,2,t)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return g.Message.setField(this,2,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return g.Message.getField(this,2)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return g.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(t){return g.Message.setField(this,3,t)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return g.Message.setField(this,3,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return g.Message.getField(this,3)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return g.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(t){return g.Message.setField(this,4,t)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return g.Message.setField(this,4,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return g.Message.getField(this,4)!=null};proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return g.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)};proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(t){return g.Message.setRepeatedWrapperField(this,1,t)};proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(t,o){return g.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.GeneratedCodeInfo.Annotation,o)};proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])};H.object.extend(pa,proto.google.protobuf)});var an=ee(ua=>{"use strict";var Z=mr(),ke=Z,jt=function(){return this?this:typeof window<"u"?window:typeof jt<"u"?jt:typeof self<"u"?self:Function("return this")()}.call(null),Ir=ca();ke.object.extend(proto,Ir);ke.exportSymbol("proto.ic_base_types.pb.v1.CanisterAuthzInfo",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.CanisterId",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.MethodAuthzInfo",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.NeuronId",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.PrincipalId",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.ProposalId",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021",null,jt);ke.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedMessage",null,jt);proto.ic_base_types.pb.v1.PrincipalId=function(t){Z.Message.initialize(this,t,0,-1,null,null)};ke.inherits(proto.ic_base_types.pb.v1.PrincipalId,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.PrincipalId.displayName="proto.ic_base_types.pb.v1.PrincipalId");proto.ic_base_types.pb.v1.CanisterId=function(t){Z.Message.initialize(this,t,0,-1,null,null)};ke.inherits(proto.ic_base_types.pb.v1.CanisterId,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterId.displayName="proto.ic_base_types.pb.v1.CanisterId");proto.ic_base_types.pb.v1.NeuronId=function(t){Z.Message.initialize(this,t,0,-1,null,null)};ke.inherits(proto.ic_base_types.pb.v1.NeuronId,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.NeuronId.displayName="proto.ic_base_types.pb.v1.NeuronId");proto.ic_base_types.pb.v1.ProposalId=function(t){Z.Message.initialize(this,t,0,-1,null,null)};ke.inherits(proto.ic_base_types.pb.v1.ProposalId,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.ProposalId.displayName="proto.ic_base_types.pb.v1.ProposalId");proto.ic_base_types.pb.v1.MethodAuthzInfo=function(t){Z.Message.initialize(this,t,0,-1,proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_,null)};ke.inherits(proto.ic_base_types.pb.v1.MethodAuthzInfo,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.MethodAuthzInfo.displayName="proto.ic_base_types.pb.v1.MethodAuthzInfo");proto.ic_base_types.pb.v1.CanisterAuthzInfo=function(t){Z.Message.initialize(this,t,0,-1,proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_,null)};ke.inherits(proto.ic_base_types.pb.v1.CanisterAuthzInfo,Z.Message);ke.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.displayName="proto.ic_base_types.pb.v1.CanisterAuthzInfo");Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.PrincipalId.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.PrincipalId.toObject(t,this)},proto.ic_base_types.pb.v1.PrincipalId.toObject=function(t,o){var r,n={serializedId:o.getSerializedId_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.PrincipalId.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.PrincipalId;return proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setSerializedId(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.PrincipalId.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getSerializedId_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId=function(){return Z.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asB64=function(){return Z.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asU8=function(){return Z.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.setSerializedId=function(t){return Z.Message.setProto3BytesField(this,1,t)};Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.CanisterId.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.CanisterId.toObject(t,this)},proto.ic_base_types.pb.v1.CanisterId.toObject=function(t,o){var r,n={serializedId:o.getSerializedId_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.CanisterId.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.CanisterId;return proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setSerializedId(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.CanisterId.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getSerializedId_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId=function(){return Z.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asB64=function(){return Z.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asU8=function(){return Z.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.setSerializedId=function(t){return Z.Message.setProto3BytesField(this,1,t)};Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.NeuronId.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.NeuronId.toObject(t,this)},proto.ic_base_types.pb.v1.NeuronId.toObject=function(t,o){var r,n={id:Z.Message.getFieldWithDefault(o,2,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.NeuronId.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.NeuronId;return proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 2:var n=o.readUint64String();t.setId(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.NeuronId.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getId(),parseInt(r,10)!==0&&o.writeUint64String(2,r)};proto.ic_base_types.pb.v1.NeuronId.prototype.getId=function(){return Z.Message.getFieldWithDefault(this,2,"0")};proto.ic_base_types.pb.v1.NeuronId.prototype.setId=function(t){return Z.Message.setProto3StringIntField(this,2,t)};Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.ProposalId.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.ProposalId.toObject(t,this)},proto.ic_base_types.pb.v1.ProposalId.toObject=function(t,o){var r,n={id:Z.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.ProposalId.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.ProposalId;return proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setId(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.ProposalId.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getId(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_base_types.pb.v1.ProposalId.prototype.getId=function(){return Z.Message.getFieldWithDefault(this,1,"0")};proto.ic_base_types.pb.v1.ProposalId.prototype.setId=function(t){return Z.Message.setProto3StringIntField(this,1,t)};proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_=[2];Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject(t,this)},proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject=function(t,o){var r,n={methodName:Z.Message.getFieldWithDefault(o,1,""),principalIdsList:o.getPrincipalIdsList_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.MethodAuthzInfo;return proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readString();t.setMethodName(n);break;case 2:var n=o.readBytes();t.addPrincipalIds(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getMethodName(),r.length>0&&o.writeString(1,r),r=t.getPrincipalIdsList_asU8(),r.length>0&&o.writeRepeatedBytes(2,r)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getMethodName=function(){return Z.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setMethodName=function(t){return Z.Message.setProto3StringField(this,1,t)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList=function(){return Z.Message.getRepeatedField(this,2)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asB64=function(){return Z.Message.bytesListAsB64(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asU8=function(){return Z.Message.bytesListAsU8(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setPrincipalIdsList=function(t){return Z.Message.setField(this,2,t||[])};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.addPrincipalIds=function(t,o){return Z.Message.addToRepeatedField(this,2,t,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.clearPrincipalIdsList=function(){return this.setPrincipalIdsList([])};proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_=[1];Z.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.toObject=function(t){return proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject(t,this)},proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject=function(t,o){var r,n={methodsAuthzList:Z.Message.toObjectList(o.getMethodsAuthzList(),proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinary=function(t){var o=new Z.BinaryReader(t),r=new proto.ic_base_types.pb.v1.CanisterAuthzInfo;return proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader(r,o)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_base_types.pb.v1.MethodAuthzInfo;o.readMessage(n,proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader),t.addMethodsAuthz(n);break;default:o.skipField();break}}return t};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.serializeBinary=function(){var t=new Z.BinaryWriter;return proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getMethodsAuthzList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.getMethodsAuthzList=function(){return Z.Message.getRepeatedWrapperField(this,proto.ic_base_types.pb.v1.MethodAuthzInfo,1)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.setMethodsAuthzList=function(t){return Z.Message.setRepeatedWrapperField(this,1,t)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.addMethodsAuthz=function(t,o){return Z.Message.addToRepeatedWrapperField(this,1,t,proto.ic_base_types.pb.v1.MethodAuthzInfo,o)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.clearMethodsAuthzList=function(){return this.setMethodsAuthzList([])};proto.ic_base_types.pb.v1.tuiSignedMessage=new Z.ExtensionFieldInfo(2e4,{tuiSignedMessage:0},null,null,0);Ir.MessageOptions.extensionsBinary[2e4]=new Z.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedMessage,Z.BinaryReader.prototype.readBool,Z.BinaryWriter.prototype.writeBool,void 0,void 0,!1);Ir.MessageOptions.extensions[2e4]=proto.ic_base_types.pb.v1.tuiSignedMessage;proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021=new Z.ExtensionFieldInfo(20001,{tuiSignedDisplayQ22021:0},null,null,0);Ir.FieldOptions.extensionsBinary[20001]=new Z.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021,Z.BinaryReader.prototype.readBool,Z.BinaryWriter.prototype.writeBool,void 0,void 0,!1);Ir.FieldOptions.extensions[20001]=proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021;ke.object.extend(ua,proto.ic_base_types.pb.v1)});var Bo=ee(la=>{"use strict";var A=mr(),j=A,le=function(){return this?this:typeof window<"u"?window:typeof le<"u"?le:typeof self<"u"?self:Function("return this")()}.call(null),De=an();j.object.extend(proto,De);j.exportSymbol("proto.ic_ledger.pb.v1.Account",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.AccountIdentifier",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Block",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.BlockHeight",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Burn",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Certification",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlock",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlocks",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Hash",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.ICPTs",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Memo",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Mint",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.NotifyRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.NotifyResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Payment",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Refund",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Send",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.SendRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.SendResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Subaccount",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.TimeStamp",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainResponse",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.ToppedUp",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Transaction",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.Transaction.TransferCase",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationRequest",null,le);j.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationResponse",null,le);proto.ic_ledger.pb.v1.SendRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.SendRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendRequest.displayName="proto.ic_ledger.pb.v1.SendRequest");proto.ic_ledger.pb.v1.SendResponse=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.SendResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendResponse.displayName="proto.ic_ledger.pb.v1.SendResponse");proto.ic_ledger.pb.v1.NotifyRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.NotifyRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyRequest.displayName="proto.ic_ledger.pb.v1.NotifyRequest");proto.ic_ledger.pb.v1.NotifyResponse=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.NotifyResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyResponse.displayName="proto.ic_ledger.pb.v1.NotifyResponse");proto.ic_ledger.pb.v1.TransactionNotificationRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName="proto.ic_ledger.pb.v1.TransactionNotificationRequest");proto.ic_ledger.pb.v1.TransactionNotificationResponse=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName="proto.ic_ledger.pb.v1.TransactionNotificationResponse");proto.ic_ledger.pb.v1.CyclesNotificationResponse=function(t){A.Message.initialize(this,t,0,-1,null,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_)};j.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName="proto.ic_ledger.pb.v1.CyclesNotificationResponse");proto.ic_ledger.pb.v1.AccountBalanceRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName="proto.ic_ledger.pb.v1.AccountBalanceRequest");proto.ic_ledger.pb.v1.AccountBalanceResponse=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName="proto.ic_ledger.pb.v1.AccountBalanceResponse");proto.ic_ledger.pb.v1.TipOfChainRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainRequest.displayName="proto.ic_ledger.pb.v1.TipOfChainRequest");proto.ic_ledger.pb.v1.TipOfChainResponse=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainResponse.displayName="proto.ic_ledger.pb.v1.TipOfChainResponse");proto.ic_ledger.pb.v1.EncodedBlock=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.EncodedBlock,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlock.displayName="proto.ic_ledger.pb.v1.EncodedBlock");proto.ic_ledger.pb.v1.GetBlocksRequest=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksRequest.displayName="proto.ic_ledger.pb.v1.GetBlocksRequest");proto.ic_ledger.pb.v1.Refund=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Refund,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Refund.displayName="proto.ic_ledger.pb.v1.Refund");proto.ic_ledger.pb.v1.ToppedUp=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.ToppedUp,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ToppedUp.displayName="proto.ic_ledger.pb.v1.ToppedUp");proto.ic_ledger.pb.v1.EncodedBlocks=function(t){A.Message.initialize(this,t,0,-1,proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_,null)};j.inherits(proto.ic_ledger.pb.v1.EncodedBlocks,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlocks.displayName="proto.ic_ledger.pb.v1.EncodedBlocks");proto.ic_ledger.pb.v1.GetBlocksResponse=function(t){A.Message.initialize(this,t,0,-1,null,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_)};j.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksResponse.displayName="proto.ic_ledger.pb.v1.GetBlocksResponse");proto.ic_ledger.pb.v1.ICPTs=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.ICPTs,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ICPTs.displayName="proto.ic_ledger.pb.v1.ICPTs");proto.ic_ledger.pb.v1.Payment=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Payment,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Payment.displayName="proto.ic_ledger.pb.v1.Payment");proto.ic_ledger.pb.v1.BlockHeight=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.BlockHeight,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.BlockHeight.displayName="proto.ic_ledger.pb.v1.BlockHeight");proto.ic_ledger.pb.v1.Block=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Block,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Block.displayName="proto.ic_ledger.pb.v1.Block");proto.ic_ledger.pb.v1.Hash=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Hash,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Hash.displayName="proto.ic_ledger.pb.v1.Hash");proto.ic_ledger.pb.v1.Account=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Account,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Account.displayName="proto.ic_ledger.pb.v1.Account");proto.ic_ledger.pb.v1.Transaction=function(t){A.Message.initialize(this,t,0,-1,null,proto.ic_ledger.pb.v1.Transaction.oneofGroups_)};j.inherits(proto.ic_ledger.pb.v1.Transaction,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Transaction.displayName="proto.ic_ledger.pb.v1.Transaction");proto.ic_ledger.pb.v1.Send=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Send,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Send.displayName="proto.ic_ledger.pb.v1.Send");proto.ic_ledger.pb.v1.Mint=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Mint,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Mint.displayName="proto.ic_ledger.pb.v1.Mint");proto.ic_ledger.pb.v1.Burn=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Burn,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Burn.displayName="proto.ic_ledger.pb.v1.Burn");proto.ic_ledger.pb.v1.AccountIdentifier=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.AccountIdentifier,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountIdentifier.displayName="proto.ic_ledger.pb.v1.AccountIdentifier");proto.ic_ledger.pb.v1.Subaccount=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Subaccount,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Subaccount.displayName="proto.ic_ledger.pb.v1.Subaccount");proto.ic_ledger.pb.v1.Memo=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Memo,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Memo.displayName="proto.ic_ledger.pb.v1.Memo");proto.ic_ledger.pb.v1.TimeStamp=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.TimeStamp,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TimeStamp.displayName="proto.ic_ledger.pb.v1.TimeStamp");proto.ic_ledger.pb.v1.Certification=function(t){A.Message.initialize(this,t,0,-1,null,null)};j.inherits(proto.ic_ledger.pb.v1.Certification,A.Message);j.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Certification.displayName="proto.ic_ledger.pb.v1.Certification");A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.SendRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.SendRequest.toObject(t,this)},proto.ic_ledger.pb.v1.SendRequest.toObject=function(t,o){var r,n={memo:(r=o.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(t,r),payment:(r=o.getPayment())&&proto.ic_ledger.pb.v1.Payment.toObject(t,r),maxFee:(r=o.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r),fromSubaccount:(r=o.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(t,r),to:(r=o.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),createdAt:(r=o.getCreatedAt())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r),createdAtTime:(r=o.getCreatedAtTime())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.SendRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.SendRequest;return proto.ic_ledger.pb.v1.SendRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.SendRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Memo;o.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),t.setMemo(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Payment;o.readMessage(n,proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader),t.setPayment(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setMaxFee(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Subaccount;o.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),t.setFromSubaccount(n);break;case 5:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setTo(n);break;case 6:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setCreatedAt(n);break;case 7:var n=new proto.ic_ledger.pb.v1.TimeStamp;o.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),t.setCreatedAtTime(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.SendRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.SendRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.SendRequest.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getMemo(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter),r=t.getPayment(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter),r=t.getMaxFee(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=t.getFromSubaccount(),r!=null&&o.writeMessage(4,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=t.getTo(),r!=null&&o.writeMessage(5,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getCreatedAt(),r!=null&&o.writeMessage(6,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=t.getCreatedAtTime(),r!=null&&o.writeMessage(7,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.SendRequest.prototype.getMemo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,1)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMemo=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasMemo=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getPayment=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Payment,2)};proto.ic_ledger.pb.v1.SendRequest.prototype.setPayment=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearPayment=function(){return this.setPayment(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasPayment=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getMaxFee=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMaxFee=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasMaxFee=function(){return A.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getFromSubaccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.SendRequest.prototype.setFromSubaccount=function(t){return A.Message.setWrapperField(this,4,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasFromSubaccount=function(){return A.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getTo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,5)};proto.ic_ledger.pb.v1.SendRequest.prototype.setTo=function(t){return A.Message.setWrapperField(this,5,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasTo=function(){return A.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAt=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,6)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAt=function(t){return A.Message.setWrapperField(this,6,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAt=function(){return A.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAtTime=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,7)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAtTime=function(t){return A.Message.setWrapperField(this,7,t)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAtTime=function(){return this.setCreatedAtTime(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAtTime=function(){return A.Message.getField(this,7)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.SendResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.SendResponse.toObject(t,this)},proto.ic_ledger.pb.v1.SendResponse.toObject=function(t,o){var r,n={resultingHeight:(r=o.getResultingHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.SendResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.SendResponse;return proto.ic_ledger.pb.v1.SendResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.SendResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setResultingHeight(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.SendResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.SendResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.SendResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getResultingHeight(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.SendResponse.prototype.getResultingHeight=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.SendResponse.prototype.setResultingHeight=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.SendResponse.prototype.clearResultingHeight=function(){return this.setResultingHeight(void 0)};proto.ic_ledger.pb.v1.SendResponse.prototype.hasResultingHeight=function(){return A.Message.getField(this,1)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.NotifyRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.NotifyRequest.toObject(t,this)},proto.ic_ledger.pb.v1.NotifyRequest.toObject=function(t,o){var r,n={blockHeight:(r=o.getBlockHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r),maxFee:(r=o.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r),fromSubaccount:(r=o.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(t,r),toCanister:(r=o.getToCanister())&&De.PrincipalId.toObject(t,r),toSubaccount:(r=o.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.NotifyRequest;return proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setBlockHeight(n);break;case 2:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setMaxFee(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Subaccount;o.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),t.setFromSubaccount(n);break;case 4:var n=new De.PrincipalId;o.readMessage(n,De.PrincipalId.deserializeBinaryFromReader),t.setToCanister(n);break;case 5:var n=new proto.ic_ledger.pb.v1.Subaccount;o.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),t.setToSubaccount(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.NotifyRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.NotifyRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.NotifyRequest.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBlockHeight(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=t.getMaxFee(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=t.getFromSubaccount(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=t.getToCanister(),r!=null&&o.writeMessage(4,r,De.PrincipalId.serializeBinaryToWriter),r=t.getToSubaccount(),r!=null&&o.writeMessage(5,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getBlockHeight=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setBlockHeight=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearBlockHeight=function(){return this.setBlockHeight(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasBlockHeight=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getMaxFee=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setMaxFee=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasMaxFee=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getFromSubaccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,3)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setFromSubaccount=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasFromSubaccount=function(){return A.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToCanister=function(){return A.Message.getWrapperField(this,De.PrincipalId,4)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToCanister=function(t){return A.Message.setWrapperField(this,4,t)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToCanister=function(){return this.setToCanister(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToCanister=function(){return A.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToSubaccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,5)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToSubaccount=function(t){return A.Message.setWrapperField(this,5,t)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToSubaccount=function(){return this.setToSubaccount(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToSubaccount=function(){return A.Message.getField(this,5)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.NotifyResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.NotifyResponse.toObject(t,this)},proto.ic_ledger.pb.v1.NotifyResponse.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.NotifyResponse;return proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.NotifyResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.NotifyResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.NotifyResponse.serializeBinaryToWriter=function(t,o){var r=void 0};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.TransactionNotificationRequest.toObject(t,this)},proto.ic_ledger.pb.v1.TransactionNotificationRequest.toObject=function(t,o){var r,n={from:(r=o.getFrom())&&De.PrincipalId.toObject(t,r),fromSubaccount:(r=o.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(t,r),to:(r=o.getTo())&&De.PrincipalId.toObject(t,r),toSubaccount:(r=o.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(t,r),blockHeight:(r=o.getBlockHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r),amount:(r=o.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r),memo:(r=o.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.TransactionNotificationRequest;return proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new De.PrincipalId;o.readMessage(n,De.PrincipalId.deserializeBinaryFromReader),t.setFrom(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Subaccount;o.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),t.setFromSubaccount(n);break;case 3:var n=new De.PrincipalId;o.readMessage(n,De.PrincipalId.deserializeBinaryFromReader),t.setTo(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Subaccount;o.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),t.setToSubaccount(n);break;case 5:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setBlockHeight(n);break;case 6:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setAmount(n);break;case 7:var n=new proto.ic_ledger.pb.v1.Memo;o.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),t.setMemo(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.TransactionNotificationRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.TransactionNotificationRequest.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getFrom(),r!=null&&o.writeMessage(1,r,De.PrincipalId.serializeBinaryToWriter),r=t.getFromSubaccount(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=t.getTo(),r!=null&&o.writeMessage(3,r,De.PrincipalId.serializeBinaryToWriter),r=t.getToSubaccount(),r!=null&&o.writeMessage(4,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=t.getBlockHeight(),r!=null&&o.writeMessage(5,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=t.getAmount(),r!=null&&o.writeMessage(6,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=t.getMemo(),r!=null&&o.writeMessage(7,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFrom=function(){return A.Message.getWrapperField(this,De.PrincipalId,1)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFrom=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFrom=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFromSubaccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,2)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFromSubaccount=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFromSubaccount=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getTo=function(){return A.Message.getWrapperField(this,De.PrincipalId,3)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setTo=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasTo=function(){return A.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getToSubaccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setToSubaccount=function(t){return A.Message.setWrapperField(this,4,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearToSubaccount=function(){return this.setToSubaccount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasToSubaccount=function(){return A.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getBlockHeight=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setBlockHeight=function(t){return A.Message.setWrapperField(this,5,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearBlockHeight=function(){return this.setBlockHeight(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasBlockHeight=function(){return A.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getAmount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,6)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setAmount=function(t){return A.Message.setWrapperField(this,6,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasAmount=function(){return A.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getMemo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,7)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setMemo=function(t){return A.Message.setWrapperField(this,7,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasMemo=function(){return A.Message.getField(this,7)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.TransactionNotificationResponse.toObject(t,this)},proto.ic_ledger.pb.v1.TransactionNotificationResponse.toObject=function(t,o){var r,n={response:o.getResponse_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.TransactionNotificationResponse;return proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setResponse(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.TransactionNotificationResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.TransactionNotificationResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getResponse_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asB64=function(){return A.Message.bytesAsB64(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asU8=function(){return A.Message.bytesAsU8(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.setResponse=function(t){return A.Message.setProto3BytesField(this,1,t)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_=[[1,2,3]];proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase={RESPONSE_NOT_SET:0,CREATED_CANISTER_ID:1,REFUND:2,TOPPED_UP:3};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getResponseCase=function(){return A.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0])};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.CyclesNotificationResponse.toObject(t,this)},proto.ic_ledger.pb.v1.CyclesNotificationResponse.toObject=function(t,o){var r,n={createdCanisterId:(r=o.getCreatedCanisterId())&&De.PrincipalId.toObject(t,r),refund:(r=o.getRefund())&&proto.ic_ledger.pb.v1.Refund.toObject(t,r),toppedUp:(r=o.getToppedUp())&&proto.ic_ledger.pb.v1.ToppedUp.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.CyclesNotificationResponse;return proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new De.PrincipalId;o.readMessage(n,De.PrincipalId.deserializeBinaryFromReader),t.setCreatedCanisterId(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Refund;o.readMessage(n,proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader),t.setRefund(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ToppedUp;o.readMessage(n,proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader),t.setToppedUp(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.CyclesNotificationResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.CyclesNotificationResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getCreatedCanisterId(),r!=null&&o.writeMessage(1,r,De.PrincipalId.serializeBinaryToWriter),r=t.getRefund(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter),r=t.getToppedUp(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getCreatedCanisterId=function(){return A.Message.getWrapperField(this,De.PrincipalId,1)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setCreatedCanisterId=function(t){return A.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearCreatedCanisterId=function(){return this.setCreatedCanisterId(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasCreatedCanisterId=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getRefund=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Refund,2)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setRefund=function(t){return A.Message.setOneofWrapperField(this,2,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearRefund=function(){return this.setRefund(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasRefund=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getToppedUp=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ToppedUp,3)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setToppedUp=function(t){return A.Message.setOneofWrapperField(this,3,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearToppedUp=function(){return this.setToppedUp(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasToppedUp=function(){return A.Message.getField(this,3)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.AccountBalanceRequest.toObject(t,this)},proto.ic_ledger.pb.v1.AccountBalanceRequest.toObject=function(t,o){var r,n={account:(r=o.getAccount())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.AccountBalanceRequest;return proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setAccount(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.AccountBalanceRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.AccountBalanceRequest.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getAccount(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.getAccount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.setAccount=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.clearAccount=function(){return this.setAccount(void 0)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.hasAccount=function(){return A.Message.getField(this,1)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.AccountBalanceResponse.toObject(t,this)},proto.ic_ledger.pb.v1.AccountBalanceResponse.toObject=function(t,o){var r,n={balance:(r=o.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.AccountBalanceResponse;return proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setBalance(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.AccountBalanceResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.AccountBalanceResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBalance(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.getBalance=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.setBalance=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.clearBalance=function(){return this.setBalance(void 0)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.hasBalance=function(){return A.Message.getField(this,1)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.TipOfChainRequest.toObject(t,this)},proto.ic_ledger.pb.v1.TipOfChainRequest.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.TipOfChainRequest;return proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter=function(t,o){var r=void 0};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.TipOfChainResponse.toObject(t,this)},proto.ic_ledger.pb.v1.TipOfChainResponse.toObject=function(t,o){var r,n={certification:(r=o.getCertification())&&proto.ic_ledger.pb.v1.Certification.toObject(t,r),chainLength:(r=o.getChainLength())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.TipOfChainResponse;return proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Certification;o.readMessage(n,proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader),t.setCertification(n);break;case 2:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setChainLength(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.TipOfChainResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.TipOfChainResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getCertification(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter),r=t.getChainLength(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getCertification=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Certification,1)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setCertification=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearCertification=function(){return this.setCertification(void 0)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasCertification=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getChainLength=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setChainLength=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearChainLength=function(){return this.setChainLength(void 0)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasChainLength=function(){return A.Message.getField(this,2)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.EncodedBlock.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.EncodedBlock.toObject(t,this)},proto.ic_ledger.pb.v1.EncodedBlock.toObject=function(t,o){var r,n={block:o.getBlock_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.EncodedBlock;return proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setBlock(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.EncodedBlock.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBlock_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asB64=function(){return A.Message.bytesAsB64(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asU8=function(){return A.Message.bytesAsU8(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.setBlock=function(t){return A.Message.setProto3BytesField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.GetBlocksRequest.toObject(t,this)},proto.ic_ledger.pb.v1.GetBlocksRequest.toObject=function(t,o){var r,n={start:A.Message.getFieldWithDefault(o,1,"0"),length:A.Message.getFieldWithDefault(o,2,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.GetBlocksRequest;return proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setStart(n);break;case 2:var n=o.readUint64String();t.setLength(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.GetBlocksRequest.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.GetBlocksRequest.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getStart(),parseInt(r,10)!==0&&o.writeUint64String(1,r),r=t.getLength(),parseInt(r,10)!==0&&o.writeUint64String(2,r)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getStart=function(){return A.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setStart=function(t){return A.Message.setProto3StringIntField(this,1,t)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getLength=function(){return A.Message.getFieldWithDefault(this,2,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setLength=function(t){return A.Message.setProto3StringIntField(this,2,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Refund.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Refund.toObject(t,this)},proto.ic_ledger.pb.v1.Refund.toObject=function(t,o){var r,n={refund:(r=o.getRefund())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r),error:A.Message.getFieldWithDefault(o,3,"")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Refund.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Refund;return proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 2:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setRefund(n);break;case 3:var n=o.readString();t.setError(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Refund.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getRefund(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=t.getError(),r.length>0&&o.writeString(3,r)};proto.ic_ledger.pb.v1.Refund.prototype.getRefund=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.Refund.prototype.setRefund=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.Refund.prototype.clearRefund=function(){return this.setRefund(void 0)};proto.ic_ledger.pb.v1.Refund.prototype.hasRefund=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Refund.prototype.getError=function(){return A.Message.getFieldWithDefault(this,3,"")};proto.ic_ledger.pb.v1.Refund.prototype.setError=function(t){return A.Message.setProto3StringField(this,3,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.ToppedUp.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.ToppedUp.toObject(t,this)},proto.ic_ledger.pb.v1.ToppedUp.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.ToppedUp.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.ToppedUp;return proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.ToppedUp.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter=function(t,o){var r=void 0};proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_=[1];A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.EncodedBlocks.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.EncodedBlocks.toObject(t,this)},proto.ic_ledger.pb.v1.EncodedBlocks.toObject=function(t,o){var r,n={blocksList:A.Message.toObjectList(o.getBlocksList(),proto.ic_ledger.pb.v1.EncodedBlock.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.EncodedBlocks;return proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.EncodedBlock;o.readMessage(n,proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader),t.addBlocks(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBlocksList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.getBlocksList=function(){return A.Message.getRepeatedWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlock,1)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.setBlocksList=function(t){return A.Message.setRepeatedWrapperField(this,1,t)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.addBlocks=function(t,o){return A.Message.addToRepeatedWrapperField(this,1,t,proto.ic_ledger.pb.v1.EncodedBlock,o)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.clearBlocksList=function(){return this.setBlocksList([])};proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_=[[1,2]];proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase={GET_BLOCKS_CONTENT_NOT_SET:0,BLOCKS:1,ERROR:2};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getGetBlocksContentCase=function(){return A.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0])};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.GetBlocksResponse.toObject(t,this)},proto.ic_ledger.pb.v1.GetBlocksResponse.toObject=function(t,o){var r,n={blocks:(r=o.getBlocks())&&proto.ic_ledger.pb.v1.EncodedBlocks.toObject(t,r),error:A.Message.getFieldWithDefault(o,2,"")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.GetBlocksResponse;return proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.EncodedBlocks;o.readMessage(n,proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader),t.setBlocks(n);break;case 2:var n=o.readString();t.setError(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.GetBlocksResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.GetBlocksResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBlocks(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter),r=A.Message.getField(t,2),r!=null&&o.writeString(2,r)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getBlocks=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlocks,1)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setBlocks=function(t){return A.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearBlocks=function(){return this.setBlocks(void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasBlocks=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getError=function(){return A.Message.getFieldWithDefault(this,2,"")};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setError=function(t){return A.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearError=function(){return A.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError=function(){return A.Message.getField(this,2)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.ICPTs.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.ICPTs.toObject(t,this)},proto.ic_ledger.pb.v1.ICPTs.toObject=function(t,o){var r,n={e8s:A.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.ICPTs.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.ICPTs;return proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setE8s(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.ICPTs.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getE8s(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_ledger.pb.v1.ICPTs.prototype.getE8s=function(){return A.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.ICPTs.prototype.setE8s=function(t){return A.Message.setProto3StringIntField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Payment.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Payment.toObject(t,this)},proto.ic_ledger.pb.v1.Payment.toObject=function(t,o){var r,n={receiverGets:(r=o.getReceiverGets())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Payment.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Payment;return proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setReceiverGets(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Payment.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getReceiverGets(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Payment.prototype.getReceiverGets=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.Payment.prototype.setReceiverGets=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.Payment.prototype.clearReceiverGets=function(){return this.setReceiverGets(void 0)};proto.ic_ledger.pb.v1.Payment.prototype.hasReceiverGets=function(){return A.Message.getField(this,1)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.BlockHeight.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.BlockHeight.toObject(t,this)},proto.ic_ledger.pb.v1.BlockHeight.toObject=function(t,o){var r,n={height:A.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.BlockHeight.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.BlockHeight;return proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setHeight(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.BlockHeight.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getHeight(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_ledger.pb.v1.BlockHeight.prototype.getHeight=function(){return A.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.BlockHeight.prototype.setHeight=function(t){return A.Message.setProto3StringIntField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Block.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Block.toObject(t,this)},proto.ic_ledger.pb.v1.Block.toObject=function(t,o){var r,n={parentHash:(r=o.getParentHash())&&proto.ic_ledger.pb.v1.Hash.toObject(t,r),timestamp:(r=o.getTimestamp())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(t,r),transaction:(r=o.getTransaction())&&proto.ic_ledger.pb.v1.Transaction.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Block.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Block;return proto.ic_ledger.pb.v1.Block.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Block.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Hash;o.readMessage(n,proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader),t.setParentHash(n);break;case 2:var n=new proto.ic_ledger.pb.v1.TimeStamp;o.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),t.setTimestamp(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Transaction;o.readMessage(n,proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader),t.setTransaction(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Block.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Block.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Block.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getParentHash(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter),r=t.getTimestamp(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter),r=t.getTransaction(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Block.prototype.getParentHash=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Hash,1)};proto.ic_ledger.pb.v1.Block.prototype.setParentHash=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.Block.prototype.clearParentHash=function(){return this.setParentHash(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasParentHash=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTimestamp=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,2)};proto.ic_ledger.pb.v1.Block.prototype.setTimestamp=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.Block.prototype.clearTimestamp=function(){return this.setTimestamp(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasTimestamp=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTransaction=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Transaction,3)};proto.ic_ledger.pb.v1.Block.prototype.setTransaction=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.Block.prototype.clearTransaction=function(){return this.setTransaction(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasTransaction=function(){return A.Message.getField(this,3)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Hash.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Hash.toObject(t,this)},proto.ic_ledger.pb.v1.Hash.toObject=function(t,o){var r,n={hash:o.getHash_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Hash.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Hash;return proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setHash(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Hash.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getHash_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.Hash.prototype.getHash=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asB64=function(){return A.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asU8=function(){return A.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.setHash=function(t){return A.Message.setProto3BytesField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Account.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Account.toObject(t,this)},proto.ic_ledger.pb.v1.Account.toObject=function(t,o){var r,n={identifier:(r=o.getIdentifier())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),balance:(r=o.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Account.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Account;return proto.ic_ledger.pb.v1.Account.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Account.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setIdentifier(n);break;case 2:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setBalance(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Account.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Account.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Account.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getIdentifier(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getBalance(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Account.prototype.getIdentifier=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Account.prototype.setIdentifier=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.Account.prototype.clearIdentifier=function(){return this.setIdentifier(void 0)};proto.ic_ledger.pb.v1.Account.prototype.hasIdentifier=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Account.prototype.getBalance=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.Account.prototype.setBalance=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.Account.prototype.clearBalance=function(){return this.setBalance(void 0)};proto.ic_ledger.pb.v1.Account.prototype.hasBalance=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.oneofGroups_=[[1,2,3]];proto.ic_ledger.pb.v1.Transaction.TransferCase={TRANSFER_NOT_SET:0,BURN:1,MINT:2,SEND:3};proto.ic_ledger.pb.v1.Transaction.prototype.getTransferCase=function(){return A.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0])};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Transaction.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Transaction.toObject(t,this)},proto.ic_ledger.pb.v1.Transaction.toObject=function(t,o){var r,n={burn:(r=o.getBurn())&&proto.ic_ledger.pb.v1.Burn.toObject(t,r),mint:(r=o.getMint())&&proto.ic_ledger.pb.v1.Mint.toObject(t,r),send:(r=o.getSend())&&proto.ic_ledger.pb.v1.Send.toObject(t,r),memo:(r=o.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(t,r),createdAt:(r=o.getCreatedAt())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(t,r),createdAtTime:(r=o.getCreatedAtTime())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Transaction.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Transaction;return proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Burn;o.readMessage(n,proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader),t.setBurn(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Mint;o.readMessage(n,proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader),t.setMint(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Send;o.readMessage(n,proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader),t.setSend(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Memo;o.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),t.setMemo(n);break;case 5:var n=new proto.ic_ledger.pb.v1.BlockHeight;o.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),t.setCreatedAt(n);break;case 6:var n=new proto.ic_ledger.pb.v1.TimeStamp;o.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),t.setCreatedAtTime(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Transaction.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getBurn(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter),r=t.getMint(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter),r=t.getSend(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter),r=t.getMemo(),r!=null&&o.writeMessage(4,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter),r=t.getCreatedAt(),r!=null&&o.writeMessage(5,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=t.getCreatedAtTime(),r!=null&&o.writeMessage(6,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Transaction.prototype.getBurn=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Burn,1)};proto.ic_ledger.pb.v1.Transaction.prototype.setBurn=function(t){return A.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearBurn=function(){return this.setBurn(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasBurn=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMint=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Mint,2)};proto.ic_ledger.pb.v1.Transaction.prototype.setMint=function(t){return A.Message.setOneofWrapperField(this,2,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearMint=function(){return this.setMint(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasMint=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getSend=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Send,3)};proto.ic_ledger.pb.v1.Transaction.prototype.setSend=function(t){return A.Message.setOneofWrapperField(this,3,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearSend=function(){return this.setSend(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasSend=function(){return A.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMemo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,4)};proto.ic_ledger.pb.v1.Transaction.prototype.setMemo=function(t){return A.Message.setWrapperField(this,4,t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasMemo=function(){return A.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAt=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAt=function(t){return A.Message.setWrapperField(this,5,t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAt=function(){return A.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAtTime=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,6)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAtTime=function(t){return A.Message.setWrapperField(this,6,t)};proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAtTime=function(){return this.setCreatedAtTime(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAtTime=function(){return A.Message.getField(this,6)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Send.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Send.toObject(t,this)},proto.ic_ledger.pb.v1.Send.toObject=function(t,o){var r,n={from:(r=o.getFrom())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),to:(r=o.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),amount:(r=o.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r),maxFee:(r=o.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Send.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Send;return proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setFrom(n);break;case 2:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setTo(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setAmount(n);break;case 4:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setMaxFee(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Send.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getFrom(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getTo(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getAmount(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=t.getMaxFee(),r!=null&&o.writeMessage(4,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Send.prototype.getFrom=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Send.prototype.setFrom=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.Send.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasFrom=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Send.prototype.getTo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Send.prototype.setTo=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.Send.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasTo=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Send.prototype.getAmount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Send.prototype.setAmount=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.Send.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasAmount=function(){return A.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Send.prototype.getMaxFee=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,4)};proto.ic_ledger.pb.v1.Send.prototype.setMaxFee=function(t){return A.Message.setWrapperField(this,4,t)};proto.ic_ledger.pb.v1.Send.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasMaxFee=function(){return A.Message.getField(this,4)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Mint.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Mint.toObject(t,this)},proto.ic_ledger.pb.v1.Mint.toObject=function(t,o){var r,n={to:(r=o.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),amount:(r=o.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Mint.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Mint;return proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 2:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setTo(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setAmount(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Mint.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getTo(),r!=null&&o.writeMessage(2,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getAmount(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Mint.prototype.getTo=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Mint.prototype.setTo=function(t){return A.Message.setWrapperField(this,2,t)};proto.ic_ledger.pb.v1.Mint.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.Mint.prototype.hasTo=function(){return A.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Mint.prototype.getAmount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Mint.prototype.setAmount=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.Mint.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Mint.prototype.hasAmount=function(){return A.Message.getField(this,3)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Burn.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Burn.toObject(t,this)},proto.ic_ledger.pb.v1.Burn.toObject=function(t,o){var r,n={from:(r=o.getFrom())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,r),amount:(r=o.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Burn.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Burn;return proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;o.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),t.setFrom(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;o.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),t.setAmount(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Burn.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getFrom(),r!=null&&o.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=t.getAmount(),r!=null&&o.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Burn.prototype.getFrom=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Burn.prototype.setFrom=function(t){return A.Message.setWrapperField(this,1,t)};proto.ic_ledger.pb.v1.Burn.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.Burn.prototype.hasFrom=function(){return A.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Burn.prototype.getAmount=function(){return A.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Burn.prototype.setAmount=function(t){return A.Message.setWrapperField(this,3,t)};proto.ic_ledger.pb.v1.Burn.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Burn.prototype.hasAmount=function(){return A.Message.getField(this,3)!=null};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountIdentifier.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.AccountIdentifier.toObject(t,this)},proto.ic_ledger.pb.v1.AccountIdentifier.toObject=function(t,o){var r,n={hash:o.getHash_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.AccountIdentifier;return proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setHash(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getHash_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asB64=function(){return A.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asU8=function(){return A.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.setHash=function(t){return A.Message.setProto3BytesField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Subaccount.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Subaccount.toObject(t,this)},proto.ic_ledger.pb.v1.Subaccount.toObject=function(t,o){var r,n={subAccount:o.getSubAccount_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Subaccount.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Subaccount;return proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setSubAccount(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Subaccount.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getSubAccount_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asB64=function(){return A.Message.bytesAsB64(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asU8=function(){return A.Message.bytesAsU8(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.setSubAccount=function(t){return A.Message.setProto3BytesField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Memo.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Memo.toObject(t,this)},proto.ic_ledger.pb.v1.Memo.toObject=function(t,o){var r,n={memo:A.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Memo.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Memo;return proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setMemo(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Memo.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getMemo(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_ledger.pb.v1.Memo.prototype.getMemo=function(){return A.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.Memo.prototype.setMemo=function(t){return A.Message.setProto3StringIntField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TimeStamp.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.TimeStamp.toObject(t,this)},proto.ic_ledger.pb.v1.TimeStamp.toObject=function(t,o){var r,n={timestampNanos:A.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.TimeStamp.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.TimeStamp;return proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setTimestampNanos(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.TimeStamp.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getTimestampNanos(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_ledger.pb.v1.TimeStamp.prototype.getTimestampNanos=function(){return A.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.TimeStamp.prototype.setTimestampNanos=function(t){return A.Message.setProto3StringIntField(this,1,t)};A.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Certification.prototype.toObject=function(t){return proto.ic_ledger.pb.v1.Certification.toObject(t,this)},proto.ic_ledger.pb.v1.Certification.toObject=function(t,o){var r,n={certification:o.getCertification_asB64()};return t&&(n.$jspbMessageInstance=o),n});proto.ic_ledger.pb.v1.Certification.deserializeBinary=function(t){var o=new A.BinaryReader(t),r=new proto.ic_ledger.pb.v1.Certification;return proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader(r,o)};proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readBytes();t.setCertification(n);break;default:o.skipField();break}}return t};proto.ic_ledger.pb.v1.Certification.prototype.serializeBinary=function(){var t=new A.BinaryWriter;return proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getCertification_asU8(),r.length>0&&o.writeBytes(1,r)};proto.ic_ledger.pb.v1.Certification.prototype.getCertification=function(){return A.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asB64=function(){return A.Message.bytesAsB64(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asU8=function(){return A.Message.bytesAsU8(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.setCertification=function(t){return A.Message.setProto3BytesField(this,1,t)};j.object.extend(la,proto.ic_ledger.pb.v1)});var qa=ee(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.decode=Po.encode=void 0;var ln="abcdefghijklmnopqrstuvwxyz234567",ko=Object.create(null);for(let t=0;t<ln.length;t++)ko[ln[t]]=t;ko[0]=ko.o;ko[1]=ko.i;function Lu(t){let o=0,r=0,n="";function i(s){return o<0?r|=s>>-o:r=s<<o&248,o>3?(o-=8,1):(o<4&&(n+=ln[r>>3],o+=5),0)}for(let s=0;s<t.length;)s+=i(t[s]);return n+(o<0?ln[r>>3]:"")}Po.encode=Lu;function Zu(t){let o=0,r=0,n=new Uint8Array(t.length*4/3|0),i=0;function s(p){let l=ko[p.toLowerCase()];if(l===void 0)throw new Error(`Invalid character: ${JSON.stringify(p)}`);l<<=3,r|=l>>>o,o+=5,o>=8&&(n[i++]=r,o-=8,o>0?r=l<<5-o&255:r=0)}for(let p of t)s(p);return n.slice(0,i)}Po.decode=Zu});var za=ee(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.getCrc32=void 0;var Xu=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function $u(t){let o=new Uint8Array(t),r=-1;for(let n=0;n<o.length;n++){let s=(o[n]^r)&255;r=Xu[s]^r>>>8}return(r^-1)>>>0}An.getCrc32=$u});var Va=ee(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.sha224=void 0;var el=Fo();function tl(t){let o=el.sha224.create();return o.update(t),new Uint8Array(o.array())}dn.sha224=tl});var At=ee(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.Principal=void 0;var Ya=qa(),ol=za(),rl=Va(),nl=2,Ja=4,il="aaaaa-aa",sl=t=>{var o;return new Uint8Array(((o=t.match(/.{1,2}/g))!==null&&o!==void 0?o:[]).map(r=>parseInt(r,16)))},al=t=>t.reduce((o,r)=>o+r.toString(16).padStart(2,"0"),""),Uo=class{constructor(o){this._arr=o,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([Ja]))}static managementCanister(){return this.fromHex(il)}static selfAuthenticating(o){let r=(0,rl.sha224)(o);return new this(new Uint8Array([...r,nl]))}static from(o){if(typeof o=="string")return Uo.fromText(o);if(typeof o=="object"&&o!==null&&o._isPrincipal===!0)return new Uo(o._arr);throw new Error(`Impossible to convert ${JSON.stringify(o)} to Principal.`)}static fromHex(o){return new this(sl(o))}static fromText(o){let r=o.toLowerCase().replace(/-/g,""),n=(0,Ya.decode)(r);n=n.slice(4,n.length);let i=new this(n);if(i.toText()!==o)throw new Error(`Principal "${i.toText()}" does not have a valid checksum (original value "${o}" may not be a valid Principal ID).`);return i}static fromUint8Array(o){return new this(o)}isAnonymous(){return this._arr.byteLength===1&&this._arr[0]===Ja}toUint8Array(){return this._arr}toHex(){return al(this._arr).toUpperCase()}toText(){let o=new ArrayBuffer(4);new DataView(o).setUint32(0,(0,ol.getCrc32)(this._arr));let n=new Uint8Array(o),i=Uint8Array.from(this._arr),s=new Uint8Array([...n,...i]),l=(0,Ya.encode)(s).match(/.{1,5}/g);if(!l)throw new Error;return l.join("-")}toString(){return this.toText()}compareTo(o){for(let r=0;r<Math.min(this._arr.length,o._arr.length);r++){if(this._arr[r]<o._arr[r])return"lt";if(this._arr[r]>o._arr[r])return"gt"}return this._arr.length<o._arr.length?"lt":this._arr.length>o._arr.length?"gt":"eq"}ltEq(o){let r=this.compareTo(o);return r=="lt"||r=="eq"}gtEq(o){let r=this.compareTo(o);return r=="gt"||r=="eq"}};fn.Principal=Uo});var tg=ee(hn=>{"use strict";hn.byteLength=pl;hn.toByteArray=ul;hn.fromByteArray=dl;var Wt=[],mt=[],gl=typeof Uint8Array<"u"?Uint8Array:Array,Si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Eo=0,$a=Si.length;Eo<$a;++Eo)Wt[Eo]=Si[Eo],mt[Si.charCodeAt(Eo)]=Eo;var Eo,$a;mt["-".charCodeAt(0)]=62;mt["_".charCodeAt(0)]=63;function eg(t){var o=t.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=o);var n=r===o?0:4-r%4;return[r,n]}function pl(t){var o=eg(t),r=o[0],n=o[1];return(r+n)*3/4-n}function cl(t,o,r){return(o+r)*3/4-r}function ul(t){var o,r=eg(t),n=r[0],i=r[1],s=new gl(cl(t,n,i)),p=0,l=i>0?n-4:n,_;for(_=0;_<l;_+=4)o=mt[t.charCodeAt(_)]<<18|mt[t.charCodeAt(_+1)]<<12|mt[t.charCodeAt(_+2)]<<6|mt[t.charCodeAt(_+3)],s[p++]=o>>16&255,s[p++]=o>>8&255,s[p++]=o&255;return i===2&&(o=mt[t.charCodeAt(_)]<<2|mt[t.charCodeAt(_+1)]>>4,s[p++]=o&255),i===1&&(o=mt[t.charCodeAt(_)]<<10|mt[t.charCodeAt(_+1)]<<4|mt[t.charCodeAt(_+2)]>>2,s[p++]=o>>8&255,s[p++]=o&255),s}function ll(t){return Wt[t>>18&63]+Wt[t>>12&63]+Wt[t>>6&63]+Wt[t&63]}function Al(t,o,r){for(var n,i=[],s=o;s<r;s+=3)n=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(t[s+2]&255),i.push(ll(n));return i.join("")}function dl(t){for(var o,r=t.length,n=r%3,i=[],s=16383,p=0,l=r-n;p<l;p+=s)i.push(Al(t,p,p+s>l?l:p+s));return n===1?(o=t[r-1],i.push(Wt[o>>2]+Wt[o<<4&63]+"==")):n===2&&(o=(t[r-2]<<8)+t[r-1],i.push(Wt[o>>10]+Wt[o>>4&63]+Wt[o<<2&63]+"=")),i.join("")}});var Ni=ee(Ri=>{Ri.read=function(t,o,r,n,i){var s,p,l=i*8-n-1,_=(1<<l)-1,C=_>>1,Q=-7,P=r?i-1:0,G=r?-1:1,O=t[o+P];for(P+=G,s=O&(1<<-Q)-1,O>>=-Q,Q+=l;Q>0;s=s*256+t[o+P],P+=G,Q-=8);for(p=s&(1<<-Q)-1,s>>=-Q,Q+=n;Q>0;p=p*256+t[o+P],P+=G,Q-=8);if(s===0)s=1-C;else{if(s===_)return p?NaN:(O?-1:1)*(1/0);p=p+Math.pow(2,n),s=s-C}return(O?-1:1)*p*Math.pow(2,s-n)};Ri.write=function(t,o,r,n,i,s){var p,l,_,C=s*8-i-1,Q=(1<<C)-1,P=Q>>1,G=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,O=n?0:s-1,Y=n?1:-1,J=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,p=Q):(p=Math.floor(Math.log(o)/Math.LN2),o*(_=Math.pow(2,-p))<1&&(p--,_*=2),p+P>=1?o+=G/_:o+=G*Math.pow(2,1-P),o*_>=2&&(p++,_/=2),p+P>=Q?(l=0,p=Q):p+P>=1?(l=(o*_-1)*Math.pow(2,i),p=p+P):(l=o*Math.pow(2,P-1)*Math.pow(2,i),p=0));i>=8;t[r+O]=l&255,O+=Y,l/=256,i-=8);for(p=p<<i|l,C+=i;C>0;t[r+O]=p&255,O+=Y,p/=256,C-=8);t[r+O-Y]|=J*128}});var dg=ee(Ho=>{"use strict";var xi=tg(),Do=Ni(),og=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ho.Buffer=T;Ho.SlowBuffer=Bl;Ho.INSPECT_MAX_BYTES=50;var _n=2147483647;Ho.kMaxLength=_n;T.TYPED_ARRAY_SUPPORT=fl();!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function fl(){try{var t=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(t,o),t.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(!!T.isBuffer(this))return this.buffer}});Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(!!T.isBuffer(this))return this.byteOffset}});function io(t){if(t>_n)throw new RangeError('The value "'+t+'" is invalid for option "size"');var o=new Uint8Array(t);return Object.setPrototypeOf(o,T.prototype),o}function T(t,o,r){if(typeof t=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qi(t)}return ig(t,o,r)}T.poolSize=8192;function ig(t,o,r){if(typeof t=="string")return _l(t,o);if(ArrayBuffer.isView(t))return bl(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(qt(t,ArrayBuffer)||t&&qt(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(qt(t,SharedArrayBuffer)||t&&qt(t.buffer,SharedArrayBuffer)))return Ti(t,o,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return T.from(n,o,r);var i=yl(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return T.from(t[Symbol.toPrimitive]("string"),o,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}T.from=function(t,o,r){return ig(t,o,r)};Object.setPrototypeOf(T.prototype,Uint8Array.prototype);Object.setPrototypeOf(T,Uint8Array);function sg(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function hl(t,o,r){return sg(t),t<=0?io(t):o!==void 0?typeof r=="string"?io(t).fill(o,r):io(t).fill(o):io(t)}T.alloc=function(t,o,r){return hl(t,o,r)};function Qi(t){return sg(t),io(t<0?0:Gi(t)|0)}T.allocUnsafe=function(t){return Qi(t)};T.allocUnsafeSlow=function(t){return Qi(t)};function _l(t,o){if((typeof o!="string"||o==="")&&(o="utf8"),!T.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var r=ag(t,o)|0,n=io(r),i=n.write(t,o);return i!==r&&(n=n.slice(0,i)),n}function Fi(t){for(var o=t.length<0?0:Gi(t.length)|0,r=io(o),n=0;n<o;n+=1)r[n]=t[n]&255;return r}function bl(t){if(qt(t,Uint8Array)){var o=new Uint8Array(t);return Ti(o.buffer,o.byteOffset,o.byteLength)}return Fi(t)}function Ti(t,o,r){if(o<0||t.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<o+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return o===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,o):n=new Uint8Array(t,o,r),Object.setPrototypeOf(n,T.prototype),n}function yl(t){if(T.isBuffer(t)){var o=Gi(t.length)|0,r=io(o);return r.length===0||t.copy(r,0,0,o),r}if(t.length!==void 0)return typeof t.length!="number"||ki(t.length)?io(0):Fi(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Fi(t.data)}function Gi(t){if(t>=_n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_n.toString(16)+" bytes");return t|0}function Bl(t){return+t!=t&&(t=0),T.alloc(+t)}T.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==T.prototype};T.compare=function(o,r){if(qt(o,Uint8Array)&&(o=T.from(o,o.offset,o.byteLength)),qt(r,Uint8Array)&&(r=T.from(r,r.offset,r.byteLength)),!T.isBuffer(o)||!T.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===r)return 0;for(var n=o.length,i=r.length,s=0,p=Math.min(n,i);s<p;++s)if(o[s]!==r[s]){n=o[s],i=r[s];break}return n<i?-1:i<n?1:0};T.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};T.concat=function(o,r){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return T.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<o.length;++n)r+=o[n].length;var i=T.allocUnsafe(r),s=0;for(n=0;n<o.length;++n){var p=o[n];if(qt(p,Uint8Array))s+p.length>i.length?T.from(p).copy(i,s):Uint8Array.prototype.set.call(i,p,s);else if(T.isBuffer(p))p.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=p.length}return i};function ag(t,o){if(T.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||qt(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(o){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Oi(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ag(t).length;default:if(i)return n?-1:Oi(t).length;o=(""+o).toLowerCase(),i=!0}}T.byteLength=ag;function El(t,o,r){var n=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,o>>>=0,r<=o))return"";for(t||(t="utf8");;)switch(t){case"hex":return xl(this,o,r);case"utf8":case"utf-8":return pg(this,o,r);case"ascii":return Rl(this,o,r);case"latin1":case"binary":return Nl(this,o,r);case"base64":return Ml(this,o,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fl(this,o,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}T.prototype._isBuffer=!0;function vo(t,o,r){var n=t[o];t[o]=t[r],t[r]=n}T.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<o;r+=2)vo(this,r,r+1);return this};T.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<o;r+=4)vo(this,r,r+3),vo(this,r+1,r+2);return this};T.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<o;r+=8)vo(this,r,r+7),vo(this,r+1,r+6),vo(this,r+2,r+5),vo(this,r+3,r+4);return this};T.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?pg(this,0,o):El.apply(this,arguments)};T.prototype.toLocaleString=T.prototype.toString;T.prototype.equals=function(o){if(!T.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:T.compare(this,o)===0};T.prototype.inspect=function(){var o="",r=Ho.INSPECT_MAX_BYTES;return o=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(o+=" ... "),"<Buffer "+o+">"};og&&(T.prototype[og]=T.prototype.inspect);T.prototype.compare=function(o,r,n,i,s){if(qt(o,Uint8Array)&&(o=T.from(o,o.offset,o.byteLength)),!T.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(r===void 0&&(r=0),n===void 0&&(n=o?o.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),r<0||n>o.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&r>=n)return 0;if(i>=s)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,s>>>=0,this===o)return 0;for(var p=s-i,l=n-r,_=Math.min(p,l),C=this.slice(i,s),Q=o.slice(r,n),P=0;P<_;++P)if(C[P]!==Q[P]){p=C[P],l=Q[P];break}return p<l?-1:l<p?1:0};function gg(t,o,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ki(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof o=="string"&&(o=T.from(o,n)),T.isBuffer(o))return o.length===0?-1:rg(t,o,r,n,i);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,o,r):Uint8Array.prototype.lastIndexOf.call(t,o,r):rg(t,[o],r,n,i);throw new TypeError("val must be string, number or Buffer")}function rg(t,o,r,n,i){var s=1,p=t.length,l=o.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||o.length<2)return-1;s=2,p/=2,l/=2,r/=2}function _(O,Y){return s===1?O[Y]:O.readUInt16BE(Y*s)}var C;if(i){var Q=-1;for(C=r;C<p;C++)if(_(t,C)===_(o,Q===-1?0:C-Q)){if(Q===-1&&(Q=C),C-Q+1===l)return Q*s}else Q!==-1&&(C-=C-Q),Q=-1}else for(r+l>p&&(r=p-l),C=r;C>=0;C--){for(var P=!0,G=0;G<l;G++)if(_(t,C+G)!==_(o,G)){P=!1;break}if(P)return C}return-1}T.prototype.includes=function(o,r,n){return this.indexOf(o,r,n)!==-1};T.prototype.indexOf=function(o,r,n){return gg(this,o,r,n,!0)};T.prototype.lastIndexOf=function(o,r,n){return gg(this,o,r,n,!1)};function vl(t,o,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var s=o.length;n>s/2&&(n=s/2);for(var p=0;p<n;++p){var l=parseInt(o.substr(p*2,2),16);if(ki(l))return p;t[r+p]=l}return p}function ml(t,o,r,n){return bn(Oi(o,t.length-r),t,r,n)}function Il(t,o,r,n){return bn(Ql(o),t,r,n)}function Cl(t,o,r,n){return bn(Ag(o),t,r,n)}function wl(t,o,r,n){return bn(Gl(o,t.length-r),t,r,n)}T.prototype.write=function(o,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-r;if((n===void 0||n>s)&&(n=s),o.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return vl(this,o,r,n);case"utf8":case"utf-8":return ml(this,o,r,n);case"ascii":case"latin1":case"binary":return Il(this,o,r,n);case"base64":return Cl(this,o,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wl(this,o,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ml(t,o,r){return o===0&&r===t.length?xi.fromByteArray(t):xi.fromByteArray(t.slice(o,r))}function pg(t,o,r){r=Math.min(t.length,r);for(var n=[],i=o;i<r;){var s=t[i],p=null,l=s>239?4:s>223?3:s>191?2:1;if(i+l<=r){var _,C,Q,P;switch(l){case 1:s<128&&(p=s);break;case 2:_=t[i+1],(_&192)===128&&(P=(s&31)<<6|_&63,P>127&&(p=P));break;case 3:_=t[i+1],C=t[i+2],(_&192)===128&&(C&192)===128&&(P=(s&15)<<12|(_&63)<<6|C&63,P>2047&&(P<55296||P>57343)&&(p=P));break;case 4:_=t[i+1],C=t[i+2],Q=t[i+3],(_&192)===128&&(C&192)===128&&(Q&192)===128&&(P=(s&15)<<18|(_&63)<<12|(C&63)<<6|Q&63,P>65535&&P<1114112&&(p=P))}}p===null?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=l}return Sl(n)}var ng=4096;function Sl(t){var o=t.length;if(o<=ng)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<o;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ng));return r}function Rl(t,o,r){var n="";r=Math.min(t.length,r);for(var i=o;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Nl(t,o,r){var n="";r=Math.min(t.length,r);for(var i=o;i<r;++i)n+=String.fromCharCode(t[i]);return n}function xl(t,o,r){var n=t.length;(!o||o<0)&&(o=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=o;s<r;++s)i+=kl[t[s]];return i}function Fl(t,o,r){for(var n=t.slice(o,r),i="",s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}T.prototype.slice=function(o,r){var n=this.length;o=~~o,r=r===void 0?n:~~r,o<0?(o+=n,o<0&&(o=0)):o>n&&(o=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<o&&(r=o);var i=this.subarray(o,r);return Object.setPrototypeOf(i,T.prototype),i};function et(t,o,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+o>r)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(o,r,n){o=o>>>0,r=r>>>0,n||et(o,r,this.length);for(var i=this[o],s=1,p=0;++p<r&&(s*=256);)i+=this[o+p]*s;return i};T.prototype.readUintBE=T.prototype.readUIntBE=function(o,r,n){o=o>>>0,r=r>>>0,n||et(o,r,this.length);for(var i=this[o+--r],s=1;r>0&&(s*=256);)i+=this[o+--r]*s;return i};T.prototype.readUint8=T.prototype.readUInt8=function(o,r){return o=o>>>0,r||et(o,1,this.length),this[o]};T.prototype.readUint16LE=T.prototype.readUInt16LE=function(o,r){return o=o>>>0,r||et(o,2,this.length),this[o]|this[o+1]<<8};T.prototype.readUint16BE=T.prototype.readUInt16BE=function(o,r){return o=o>>>0,r||et(o,2,this.length),this[o]<<8|this[o+1]};T.prototype.readUint32LE=T.prototype.readUInt32LE=function(o,r){return o=o>>>0,r||et(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};T.prototype.readUint32BE=T.prototype.readUInt32BE=function(o,r){return o=o>>>0,r||et(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};T.prototype.readIntLE=function(o,r,n){o=o>>>0,r=r>>>0,n||et(o,r,this.length);for(var i=this[o],s=1,p=0;++p<r&&(s*=256);)i+=this[o+p]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*r)),i};T.prototype.readIntBE=function(o,r,n){o=o>>>0,r=r>>>0,n||et(o,r,this.length);for(var i=r,s=1,p=this[o+--i];i>0&&(s*=256);)p+=this[o+--i]*s;return s*=128,p>=s&&(p-=Math.pow(2,8*r)),p};T.prototype.readInt8=function(o,r){return o=o>>>0,r||et(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};T.prototype.readInt16LE=function(o,r){o=o>>>0,r||et(o,2,this.length);var n=this[o]|this[o+1]<<8;return n&32768?n|4294901760:n};T.prototype.readInt16BE=function(o,r){o=o>>>0,r||et(o,2,this.length);var n=this[o+1]|this[o]<<8;return n&32768?n|4294901760:n};T.prototype.readInt32LE=function(o,r){return o=o>>>0,r||et(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};T.prototype.readInt32BE=function(o,r){return o=o>>>0,r||et(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};T.prototype.readFloatLE=function(o,r){return o=o>>>0,r||et(o,4,this.length),Do.read(this,o,!0,23,4)};T.prototype.readFloatBE=function(o,r){return o=o>>>0,r||et(o,4,this.length),Do.read(this,o,!1,23,4)};T.prototype.readDoubleLE=function(o,r){return o=o>>>0,r||et(o,8,this.length),Do.read(this,o,!0,52,8)};T.prototype.readDoubleBE=function(o,r){return o=o>>>0,r||et(o,8,this.length),Do.read(this,o,!1,52,8)};function dt(t,o,r,n,i,s){if(!T.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>i||o<s)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(o,r,n,i){if(o=+o,r=r>>>0,n=n>>>0,!i){var s=Math.pow(2,8*n)-1;dt(this,o,r,n,s,0)}var p=1,l=0;for(this[r]=o&255;++l<n&&(p*=256);)this[r+l]=o/p&255;return r+n};T.prototype.writeUintBE=T.prototype.writeUIntBE=function(o,r,n,i){if(o=+o,r=r>>>0,n=n>>>0,!i){var s=Math.pow(2,8*n)-1;dt(this,o,r,n,s,0)}var p=n-1,l=1;for(this[r+p]=o&255;--p>=0&&(l*=256);)this[r+p]=o/l&255;return r+n};T.prototype.writeUint8=T.prototype.writeUInt8=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,1,255,0),this[r]=o&255,r+1};T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,2,65535,0),this[r]=o&255,this[r+1]=o>>>8,r+2};T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,2,65535,0),this[r]=o>>>8,this[r+1]=o&255,r+2};T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,4,4294967295,0),this[r+3]=o>>>24,this[r+2]=o>>>16,this[r+1]=o>>>8,this[r]=o&255,r+4};T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,4,4294967295,0),this[r]=o>>>24,this[r+1]=o>>>16,this[r+2]=o>>>8,this[r+3]=o&255,r+4};T.prototype.writeIntLE=function(o,r,n,i){if(o=+o,r=r>>>0,!i){var s=Math.pow(2,8*n-1);dt(this,o,r,n,s-1,-s)}var p=0,l=1,_=0;for(this[r]=o&255;++p<n&&(l*=256);)o<0&&_===0&&this[r+p-1]!==0&&(_=1),this[r+p]=(o/l>>0)-_&255;return r+n};T.prototype.writeIntBE=function(o,r,n,i){if(o=+o,r=r>>>0,!i){var s=Math.pow(2,8*n-1);dt(this,o,r,n,s-1,-s)}var p=n-1,l=1,_=0;for(this[r+p]=o&255;--p>=0&&(l*=256);)o<0&&_===0&&this[r+p+1]!==0&&(_=1),this[r+p]=(o/l>>0)-_&255;return r+n};T.prototype.writeInt8=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,1,127,-128),o<0&&(o=255+o+1),this[r]=o&255,r+1};T.prototype.writeInt16LE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,2,32767,-32768),this[r]=o&255,this[r+1]=o>>>8,r+2};T.prototype.writeInt16BE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,2,32767,-32768),this[r]=o>>>8,this[r+1]=o&255,r+2};T.prototype.writeInt32LE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,4,2147483647,-2147483648),this[r]=o&255,this[r+1]=o>>>8,this[r+2]=o>>>16,this[r+3]=o>>>24,r+4};T.prototype.writeInt32BE=function(o,r,n){return o=+o,r=r>>>0,n||dt(this,o,r,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[r]=o>>>24,this[r+1]=o>>>16,this[r+2]=o>>>8,this[r+3]=o&255,r+4};function cg(t,o,r,n,i,s){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ug(t,o,r,n,i){return o=+o,r=r>>>0,i||cg(t,o,r,4,34028234663852886e22,-34028234663852886e22),Do.write(t,o,r,n,23,4),r+4}T.prototype.writeFloatLE=function(o,r,n){return ug(this,o,r,!0,n)};T.prototype.writeFloatBE=function(o,r,n){return ug(this,o,r,!1,n)};function lg(t,o,r,n,i){return o=+o,r=r>>>0,i||cg(t,o,r,8,17976931348623157e292,-17976931348623157e292),Do.write(t,o,r,n,52,8),r+8}T.prototype.writeDoubleLE=function(o,r,n){return lg(this,o,r,!0,n)};T.prototype.writeDoubleBE=function(o,r,n){return lg(this,o,r,!1,n)};T.prototype.copy=function(o,r,n,i){if(!T.isBuffer(o))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=o.length&&(r=o.length),r||(r=0),i>0&&i<n&&(i=n),i===n||o.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),o.length-r<i-n&&(i=o.length-r+n);var s=i-n;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(o,this.subarray(n,i),r),s};T.prototype.fill=function(o,r,n,i){if(typeof o=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!T.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(o.length===1){var s=o.charCodeAt(0);(i==="utf8"&&s<128||i==="latin1")&&(o=s)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,o||(o=0);var p;if(typeof o=="number")for(p=r;p<n;++p)this[p]=o;else{var l=T.isBuffer(o)?o:T.from(o,i),_=l.length;if(_===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=l[p%_]}return this};var Tl=/[^+/0-9A-Za-z-_]/g;function Ol(t){if(t=t.split("=")[0],t=t.trim().replace(Tl,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Oi(t,o){o=o||1/0;for(var r,n=t.length,i=null,s=[],p=0;p<n;++p){if(r=t.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(o-=3)>-1&&s.push(239,191,189);continue}else if(p+1===n){(o-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(o-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(o-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((o-=1)<0)break;s.push(r)}else if(r<2048){if((o-=2)<0)break;s.push(r>>6|192,r&63|128)}else if(r<65536){if((o-=3)<0)break;s.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((o-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return s}function Ql(t){for(var o=[],r=0;r<t.length;++r)o.push(t.charCodeAt(r)&255);return o}function Gl(t,o){for(var r,n,i,s=[],p=0;p<t.length&&!((o-=2)<0);++p)r=t.charCodeAt(p),n=r>>8,i=r%256,s.push(i),s.push(n);return s}function Ag(t){return xi.toByteArray(Ol(t))}function bn(t,o,r,n){for(var i=0;i<n&&!(i+r>=o.length||i>=t.length);++i)o[i+r]=t[i];return i}function qt(t,o){return t instanceof o||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===o.name}function ki(t){return t!==t}var kl=function(){for(var t="0123456789abcdef",o=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)o[n+i]=t[r]+t[i];return o}()});var fg=ee(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.ReplicaRejectCode=void 0;var Pl;(function(t){t[t.SysFatal=1]="SysFatal",t[t.SysTransient=2]="SysTransient",t[t.DestinationInvalid=3]="DestinationInvalid",t[t.CanisterReject=4]="CanisterReject",t[t.CanisterError=5]="CanisterError"})(Pl=Qr.ReplicaRejectCode||(Qr.ReplicaRejectCode={}))});var Bn=ee(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.AgentError=void 0;var Gr=class extends Error{constructor(o){super(o),this.message=o,Object.setPrototypeOf(this,Gr.prototype)}};yn.AgentError=Gr});var En=ee(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.PipeArrayBuffer=zt.fromHexString=zt.toHexString=zt.concat=void 0;function Ul(...t){let o=new Uint8Array(t.reduce((n,i)=>n+i.byteLength,0)),r=0;for(let n of t)o.set(new Uint8Array(n),r),r+=n.byteLength;return o}zt.concat=Ul;function jl(t){return new Uint8Array(t).reduce((o,r)=>o+r.toString(16).padStart(2,"0"),"")}zt.toHexString=jl;function Dl(t){var o;return new Uint8Array(((o=t.match(/.{1,2}/g))!==null&&o!==void 0?o:[]).map(r=>parseInt(r,16)))}zt.fromHexString=Dl;var Pi=class{constructor(o,r=(o==null?void 0:o.byteLength)||0){this._buffer=o||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,r)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(o){let r=this._view.subarray(0,o);return this._view=this._view.subarray(o),r.slice().buffer}readUint8(){let o=this._view[0];return this._view=this._view.subarray(1),o}write(o){let r=new Uint8Array(o),n=this._view.byteLength;this._view.byteOffset+this._view.byteLength+r.byteLength>=this._buffer.byteLength?this.alloc(r.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+r.byteLength),this._view.set(r,n)}get end(){return this._view.byteLength===0}alloc(o){let r=new ArrayBuffer((this._buffer.byteLength+o)*1.2|0),n=new Uint8Array(r,0,this._view.byteLength+o);n.set(this._view),this._buffer=r,this._view=n}};zt.PipeArrayBuffer=Pi});var Ui=ee(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.idlLabelToId=void 0;function Hl(t){let r=new TextEncoder().encode(t),n=0;for(let i of r)n=(n*223+i)%2**32;return n}function Wl(t){if(/^_\d+_$/.test(t)||/^_0x[0-9a-fA-F]+_$/.test(t)){let o=+t.slice(1,-1);if(Number.isSafeInteger(o)&&o>=0&&o<2**32)return o}return Hl(t)}vn.idlLabelToId=Wl});var Di=ee(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.readIntLE=Pe.readUIntLE=Pe.writeIntLE=Pe.writeUIntLE=Pe.slebDecode=Pe.slebEncode=Pe.lebDecode=Pe.lebEncode=Pe.safeReadUint8=Pe.safeRead=void 0;var ji=En();function hg(){throw new Error("unexpected end of buffer")}function _g(t,o){return t.byteLength<o&&hg(),t.read(o)}Pe.safeRead=_g;function mn(t){let o=t.readUint8();return o===void 0&&hg(),o}Pe.safeReadUint8=mn;function ql(t){if(typeof t=="number"&&(t=BigInt(t)),t<BigInt(0))throw new Error("Cannot leb encode negative values.");let o=(t===BigInt(0)?0:Math.ceil(Math.log2(Number(t))))+1,r=new ji.PipeArrayBuffer(new ArrayBuffer(o),0);for(;;){let n=Number(t&BigInt(127));if(t/=BigInt(128),t===BigInt(0)){r.write(new Uint8Array([n]));break}else r.write(new Uint8Array([n|128]))}return r.buffer}Pe.lebEncode=ql;function bg(t){let o=BigInt(1),r=BigInt(0),n;do n=mn(t),r+=BigInt(n&127).valueOf()*o,o*=BigInt(128);while(n>=128);return r}Pe.lebDecode=bg;function zl(t){typeof t=="number"&&(t=BigInt(t));let o=t<BigInt(0);o&&(t=-t-BigInt(1));let r=(t===BigInt(0)?0:Math.ceil(Math.log2(Number(t))))+1,n=new ji.PipeArrayBuffer(new ArrayBuffer(r),0);for(;;){let s=i(t);if(t/=BigInt(128),o&&t===BigInt(0)&&(s&64)!==0||!o&&t===BigInt(0)&&(s&64)===0){n.write(new Uint8Array([s]));break}else n.write(new Uint8Array([s|128]))}function i(s){let p=s%BigInt(128);return Number(o?BigInt(128)-p-BigInt(1):p)}return n.buffer}Pe.slebEncode=zl;function Vl(t){let o=new Uint8Array(t.buffer),r=0;for(;r<o.byteLength;r++)if(o[r]<128){if((o[r]&64)===0)return bg(t);break}let n=new Uint8Array(_g(t,r+1)),i=BigInt(0);for(let s=n.byteLength-1;s>=0;s--)i=i*BigInt(128)+BigInt(128-(n[s]&127)-1);return-i-BigInt(1)}Pe.slebDecode=Vl;function Yl(t,o){if(BigInt(t)<BigInt(0))throw new Error("Cannot write negative values.");return yg(t,o)}Pe.writeUIntLE=Yl;function yg(t,o){t=BigInt(t);let r=new ji.PipeArrayBuffer(new ArrayBuffer(Math.min(1,o)),0),n=0,i=BigInt(256),s=BigInt(0),p=Number(t%i);for(r.write(new Uint8Array([p]));++n<o;)t<0&&s===BigInt(0)&&p!==0&&(s=BigInt(1)),p=Number((t/i-s)%BigInt(256)),r.write(new Uint8Array([p])),i*=BigInt(256);return r.buffer}Pe.writeIntLE=yg;function Bg(t,o){let r=BigInt(mn(t)),n=BigInt(1),i=0;for(;++i<o;){n*=BigInt(256);let s=BigInt(mn(t));r=r+n*s}return r}Pe.readUIntLE=Bg;function Jl(t,o){let r=Bg(t,o),n=BigInt(2)**(BigInt(8)*BigInt(o-1)+BigInt(7));return r>=n&&(r-=n*BigInt(2)),r}Pe.readIntLE=Jl});var zi=ee(F=>{"use strict";Object.defineProperty(F,"__esModule",{value:!0});F.Variant=F.Record=F.Opt=F.Vec=F.Tuple=F.Principal=F.Nat64=F.Nat32=F.Nat16=F.Nat8=F.Int64=F.Int32=F.Int16=F.Int8=F.Float64=F.Float32=F.Nat=F.Int=F.Text=F.Null=F.Bool=F.Unknown=F.Reserved=F.Empty=F.decode=F.encode=F.ServiceClass=F.FuncClass=F.PrincipalClass=F.RecClass=F.VariantClass=F.TupleClass=F.RecordClass=F.OptClass=F.VecClass=F.FixedNatClass=F.FixedIntClass=F.FloatClass=F.NatClass=F.IntClass=F.TextClass=F.ReservedClass=F.NullClass=F.BoolClass=F.UnknownClass=F.EmptyClass=F.ConstructType=F.PrimitiveType=F.Type=F.Visitor=void 0;F.Service=F.Func=F.Rec=void 0;var Kl=At(),ve=En(),It=Ui(),z=Di(),In="DIDL";function kr(t,o,r){return t.map((n,i)=>r(n,o[i]))}var Hi=class{constructor(){this._typs=[],this._idx=new Map}has(o){return this._idx.has(o.name)}add(o,r){let n=this._typs.length;this._idx.set(o.name,n),this._typs.push(r)}merge(o,r){let n=this._idx.get(o.name),i=this._idx.get(r);if(n===void 0)throw new Error("Missing type index for "+o);if(i===void 0)throw new Error("Missing type index for "+r);this._typs[n]=this._typs[i],this._typs.splice(i,1),this._idx.delete(r)}encode(){let o=(0,z.lebEncode)(this._typs.length),r=(0,ve.concat)(...this._typs);return(0,ve.concat)(o,r)}indexOf(o){if(!this._idx.has(o))throw new Error("Missing type index for "+o);return(0,z.slebEncode)(this._idx.get(o)||0)}},Wi=class{visitType(o,r){throw new Error("Not implemented")}visitPrimitive(o,r){return this.visitType(o,r)}visitEmpty(o,r){return this.visitPrimitive(o,r)}visitBool(o,r){return this.visitPrimitive(o,r)}visitNull(o,r){return this.visitPrimitive(o,r)}visitReserved(o,r){return this.visitPrimitive(o,r)}visitText(o,r){return this.visitPrimitive(o,r)}visitNumber(o,r){return this.visitPrimitive(o,r)}visitInt(o,r){return this.visitNumber(o,r)}visitNat(o,r){return this.visitNumber(o,r)}visitFloat(o,r){return this.visitPrimitive(o,r)}visitFixedInt(o,r){return this.visitNumber(o,r)}visitFixedNat(o,r){return this.visitNumber(o,r)}visitPrincipal(o,r){return this.visitPrimitive(o,r)}visitConstruct(o,r){return this.visitType(o,r)}visitVec(o,r,n){return this.visitConstruct(o,n)}visitOpt(o,r,n){return this.visitConstruct(o,n)}visitRecord(o,r,n){return this.visitConstruct(o,n)}visitTuple(o,r,n){let i=r.map((s,p)=>[`_${p}_`,s]);return this.visitRecord(o,i,n)}visitVariant(o,r,n){return this.visitConstruct(o,n)}visitRec(o,r,n){return this.visitConstruct(r,n)}visitFunc(o,r){return this.visitConstruct(o,r)}visitService(o,r){return this.visitConstruct(o,r)}};F.Visitor=Wi;var Wo=class{display(){return this.name}valueToString(o){return Eg(o)}buildTypeTable(o){o.has(this)||this._buildTypeTableImpl(o)}};F.Type=Wo;var ft=class extends Wo{checkType(o){if(this.name!==o.name)throw new Error(`type mismatch: type on the wire ${o.name}, expect type ${this.name}`);return o}_buildTypeTableImpl(o){}};F.PrimitiveType=ft;var Yt=class extends Wo{checkType(o){if(o instanceof Jt){let r=o.getType();if(typeof r>"u")throw new Error("type mismatch with uninitialized type");return r}throw new Error(`type mismatch: type on the wire ${o.name}, expect type ${this.name}`)}encodeType(o){return o.indexOf(this.name)}};F.ConstructType=Yt;var Cn=class extends ft{accept(o,r){return o.visitEmpty(this,r)}covariant(o){return!1}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return(0,z.slebEncode)(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}};F.EmptyClass=Cn;var wn=class extends Wo{checkType(o){throw new Error("Method not implemented for unknown.")}accept(o,r){throw o.visitType(this,r)}covariant(o){return!1}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(o,r){let n=r.decodeValue(o,r);Object(n)!==n&&(n=Object(n));let i;return r instanceof Jt?i=()=>r.getType():i=()=>r,Object.defineProperty(n,"type",{value:i,writable:!0,enumerable:!1,configurable:!0}),n}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}};F.UnknownClass=wn;var Mn=class extends ft{accept(o,r){return o.visitBool(this,r)}covariant(o){return typeof o=="boolean"}encodeValue(o){return new Uint8Array([o?1:0])}encodeType(){return(0,z.slebEncode)(-2)}decodeValue(o,r){switch(this.checkType(r),(0,z.safeReadUint8)(o)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}};F.BoolClass=Mn;var Sn=class extends ft{accept(o,r){return o.visitNull(this,r)}covariant(o){return o===null}encodeValue(){return new ArrayBuffer(0)}encodeType(){return(0,z.slebEncode)(-1)}decodeValue(o,r){return this.checkType(r),null}get name(){return"null"}};F.NullClass=Sn;var qo=class extends ft{accept(o,r){return o.visitReserved(this,r)}covariant(o){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return(0,z.slebEncode)(-16)}decodeValue(o,r){return r.name!==this.name&&r.decodeValue(o,r),null}get name(){return"reserved"}};F.ReservedClass=qo;var Rn=class extends ft{accept(o,r){return o.visitText(this,r)}covariant(o){return typeof o=="string"}encodeValue(o){let r=new TextEncoder().encode(o),n=(0,z.lebEncode)(r.byteLength);return(0,ve.concat)(n,r)}encodeType(){return(0,z.slebEncode)(-15)}decodeValue(o,r){this.checkType(r);let n=(0,z.lebDecode)(o),i=(0,z.safeRead)(o,Number(n));return new TextDecoder("utf8",{fatal:!0}).decode(i)}get name(){return"text"}valueToString(o){return'"'+o+'"'}};F.TextClass=Rn;var Nn=class extends ft{accept(o,r){return o.visitInt(this,r)}covariant(o){return typeof o=="bigint"||Number.isInteger(o)}encodeValue(o){return(0,z.slebEncode)(o)}encodeType(){return(0,z.slebEncode)(-4)}decodeValue(o,r){return this.checkType(r),(0,z.slebDecode)(o)}get name(){return"int"}valueToString(o){return o.toString()}};F.IntClass=Nn;var xn=class extends ft{accept(o,r){return o.visitNat(this,r)}covariant(o){return typeof o=="bigint"&&o>=BigInt(0)||Number.isInteger(o)&&o>=0}encodeValue(o){return(0,z.lebEncode)(o)}encodeType(){return(0,z.slebEncode)(-3)}decodeValue(o,r){return this.checkType(r),(0,z.lebDecode)(o)}get name(){return"nat"}valueToString(o){return o.toString()}};F.NatClass=xn;var Pr=class extends ft{constructor(o){if(super(),this._bits=o,o!==32&&o!==64)throw new Error("not a valid float type")}accept(o,r){return o.visitFloat(this,r)}covariant(o){return typeof o=="number"||o instanceof Number}encodeValue(o){let r=new ArrayBuffer(this._bits/8),n=new DataView(r);return this._bits===32?n.setFloat32(0,o,!0):n.setFloat64(0,o,!0),r}encodeType(){let o=this._bits===32?-13:-14;return(0,z.slebEncode)(o)}decodeValue(o,r){this.checkType(r);let n=(0,z.safeRead)(o,this._bits/8),i=new DataView(n);return this._bits===32?i.getFloat32(0,!0):i.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(o){return o.toString()}};F.FloatClass=Pr;var so=class extends ft{constructor(o){super(),this._bits=o}accept(o,r){return o.visitFixedInt(this,r)}covariant(o){let r=BigInt(2)**BigInt(this._bits-1)*BigInt(-1),n=BigInt(2)**BigInt(this._bits-1)-BigInt(1);if(typeof o=="bigint")return o>=r&&o<=n;if(Number.isInteger(o)){let i=BigInt(o);return i>=r&&i<=n}else return!1}encodeValue(o){return(0,z.writeIntLE)(o,this._bits/8)}encodeType(){let o=Math.log2(this._bits)-3;return(0,z.slebEncode)(-9-o)}decodeValue(o,r){this.checkType(r);let n=(0,z.readIntLE)(o,this._bits/8);return this._bits<=32?Number(n):n}get name(){return`int${this._bits}`}valueToString(o){return o.toString()}};F.FixedIntClass=so;var Vt=class extends ft{constructor(o){super(),this._bits=o}accept(o,r){return o.visitFixedNat(this,r)}covariant(o){let r=BigInt(2)**BigInt(this._bits);return typeof o=="bigint"&&o>=BigInt(0)?o<r:Number.isInteger(o)&&o>=0?BigInt(o)<r:!1}encodeValue(o){return(0,z.writeUIntLE)(o,this._bits/8)}encodeType(){let o=Math.log2(this._bits)-3;return(0,z.slebEncode)(-5-o)}decodeValue(o,r){this.checkType(r);let n=(0,z.readUIntLE)(o,this._bits/8);return this._bits<=32?Number(n):n}get name(){return`nat${this._bits}`}valueToString(o){return o.toString()}};F.FixedNatClass=Vt;var zo=class extends Yt{constructor(o){super(),this._type=o,this._blobOptimization=!1,o instanceof Vt&&o._bits===8&&(this._blobOptimization=!0)}accept(o,r){return o.visitVec(this,this._type,r)}covariant(o){let r=this._type instanceof Vt?this._type._bits:this._type instanceof so?this._type._bits:0;return ArrayBuffer.isView(o)&&r==o.BYTES_PER_ELEMENT*8||Array.isArray(o)&&o.every(n=>this._type.covariant(n))}encodeValue(o){let r=(0,z.lebEncode)(o.length);if(this._blobOptimization)return(0,ve.concat)(r,new Uint8Array(o));if(ArrayBuffer.isView(o))return(0,ve.concat)(r,new Uint8Array(o.buffer));let n=new ve.PipeArrayBuffer(new ArrayBuffer(r.byteLength+o.length),0);n.write(r);for(let i of o){let s=this._type.encodeValue(i);n.write(new Uint8Array(s))}return n.buffer}_buildTypeTableImpl(o){this._type.buildTypeTable(o);let r=(0,z.slebEncode)(-19),n=this._type.encodeType(o);o.add(this,(0,ve.concat)(r,n))}decodeValue(o,r){let n=this.checkType(r);if(!(n instanceof zo))throw new Error("Not a vector type");let i=Number((0,z.lebDecode)(o));if(this._type instanceof Vt){if(this._type._bits==8)return new Uint8Array(o.read(i));if(this._type._bits==16)return new Uint16Array(o.read(i*2));if(this._type._bits==32)return new Uint32Array(o.read(i*4));if(this._type._bits==64)return new BigUint64Array(o.read(i*8))}if(this._type instanceof so){if(this._type._bits==8)return new Int8Array(o.read(i));if(this._type._bits==16)return new Int16Array(o.read(i*2));if(this._type._bits==32)return new Int32Array(o.read(i*4));if(this._type._bits==64)return new BigInt64Array(o.read(i*8))}let s=[];for(let p=0;p<i;p++)s.push(this._type.decodeValue(o,n._type));return s}get name(){return`vec ${this._type.name}`}display(){return`vec ${this._type.display()}`}valueToString(o){let r=o.map(n=>this._type.valueToString(n));return"vec {"+r.join("; ")+"}"}};F.VecClass=zo;var co=class extends Yt{constructor(o){super(),this._type=o}accept(o,r){return o.visitOpt(this,this._type,r)}covariant(o){return Array.isArray(o)&&(o.length===0||o.length===1&&this._type.covariant(o[0]))}encodeValue(o){return o.length===0?new Uint8Array([0]):(0,ve.concat)(new Uint8Array([1]),this._type.encodeValue(o[0]))}_buildTypeTableImpl(o){this._type.buildTypeTable(o);let r=(0,z.slebEncode)(-18),n=this._type.encodeType(o);o.add(this,(0,ve.concat)(r,n))}decodeValue(o,r){let n=this.checkType(r);if(!(n instanceof co))throw new Error("Not an option type");switch((0,z.safeReadUint8)(o)){case 0:return[];case 1:return[this._type.decodeValue(o,n._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(o){return o.length===0?"null":`opt ${this._type.valueToString(o[0])}`}};F.OptClass=co;var mo=class extends Yt{constructor(o={}){super(),this._fields=Object.entries(o).sort((r,n)=>(0,It.idlLabelToId)(r[0])-(0,It.idlLabelToId)(n[0]))}accept(o,r){return o.visitRecord(this,this._fields,r)}tryAsTuple(){let o=[];for(let r=0;r<this._fields.length;r++){let[n,i]=this._fields[r];if(n!==`_${r}_`)return null;o.push(i)}return o}covariant(o){return typeof o=="object"&&this._fields.every(([r,n])=>{if(!o.hasOwnProperty(r))throw new Error(`Record is missing key "${r}".`);return n.covariant(o[r])})}encodeValue(o){let r=this._fields.map(([i])=>o[i]),n=kr(this._fields,r,([,i],s)=>i.encodeValue(s));return(0,ve.concat)(...n)}_buildTypeTableImpl(o){this._fields.forEach(([s,p])=>p.buildTypeTable(o));let r=(0,z.slebEncode)(-20),n=(0,z.lebEncode)(this._fields.length),i=this._fields.map(([s,p])=>(0,ve.concat)((0,z.lebEncode)((0,It.idlLabelToId)(s)),p.encodeType(o)));o.add(this,(0,ve.concat)(r,n,(0,ve.concat)(...i)))}decodeValue(o,r){let n=this.checkType(r);if(!(n instanceof mo))throw new Error("Not a record type");let i={},s=0,p=0;for(;p<n._fields.length;){let[l,_]=n._fields[p];if(s>=this._fields.length){_.decodeValue(o,_),p++;continue}let[C,Q]=this._fields[s];if((0,It.idlLabelToId)(this._fields[s][0])!==(0,It.idlLabelToId)(l)){if(Q instanceof co||Q instanceof qo){i[C]=[],s++;continue}_.decodeValue(o,_),p++;continue}i[C]=Q.decodeValue(o,_),s++,p++}for(let[l,_]of this._fields.slice(s))if(_ instanceof co||_ instanceof qo)i[l]=[];else throw new Error("Cannot find required field "+l);return i}get name(){return`record {${this._fields.map(([r,n])=>r+":"+n.name).join("; ")}}`}display(){return`record {${this._fields.map(([r,n])=>r+":"+n.display()).join("; ")}}`}valueToString(o){let r=this._fields.map(([i])=>o[i]);return`record {${kr(this._fields,r,([i,s],p)=>i+"="+s.valueToString(p)).join("; ")}}`}};F.RecordClass=mo;var Vo=class extends mo{constructor(o){let r={};o.forEach((n,i)=>r["_"+i+"_"]=n),super(r),this._components=o}accept(o,r){return o.visitTuple(this,this._components,r)}covariant(o){return Array.isArray(o)&&o.length>=this._fields.length&&this._components.every((r,n)=>r.covariant(o[n]))}encodeValue(o){let r=kr(this._components,o,(n,i)=>n.encodeValue(i));return(0,ve.concat)(...r)}decodeValue(o,r){let n=this.checkType(r);if(!(n instanceof Vo))throw new Error("not a tuple type");if(n._components.length<this._components.length)throw new Error("tuple mismatch");let i=[];for(let[s,p]of n._components.entries())s>=this._components.length?p.decodeValue(o,p):i.push(this._components[s].decodeValue(o,p));return i}display(){return`record {${this._components.map(r=>r.display()).join("; ")}}`}valueToString(o){return`record {${kr(this._components,o,(n,i)=>n.valueToString(i)).join("; ")}}`}};F.TupleClass=Vo;var Yo=class extends Yt{constructor(o={}){super(),this._fields=Object.entries(o).sort((r,n)=>(0,It.idlLabelToId)(r[0])-(0,It.idlLabelToId)(n[0]))}accept(o,r){return o.visitVariant(this,this._fields,r)}covariant(o){return typeof o=="object"&&Object.entries(o).length===1&&this._fields.every(([r,n])=>!o.hasOwnProperty(r)||n.covariant(o[r]))}encodeValue(o){for(let r=0;r<this._fields.length;r++){let[n,i]=this._fields[r];if(o.hasOwnProperty(n)){let s=(0,z.lebEncode)(r),p=i.encodeValue(o[n]);return(0,ve.concat)(s,p)}}throw Error("Variant has no data: "+o)}_buildTypeTableImpl(o){this._fields.forEach(([,s])=>{s.buildTypeTable(o)});let r=(0,z.slebEncode)(-21),n=(0,z.lebEncode)(this._fields.length),i=this._fields.map(([s,p])=>(0,ve.concat)((0,z.lebEncode)((0,It.idlLabelToId)(s)),p.encodeType(o)));o.add(this,(0,ve.concat)(r,n,...i))}decodeValue(o,r){let n=this.checkType(r);if(!(n instanceof Yo))throw new Error("Not a variant type");let i=Number((0,z.lebDecode)(o));if(i>=n._fields.length)throw Error("Invalid variant index: "+i);let[s,p]=n._fields[i];for(let[l,_]of this._fields)if((0,It.idlLabelToId)(s)===(0,It.idlLabelToId)(l)){let C=_.decodeValue(o,p);return{[l]:C}}throw new Error("Cannot find field hash "+s)}get name(){return`variant {${this._fields.map(([r,n])=>r+":"+n.name).join("; ")}}`}display(){return`variant {${this._fields.map(([r,n])=>r+(n.name==="null"?"":`:${n.display()}`)).join("; ")}}`}valueToString(o){for(let[r,n]of this._fields)if(o.hasOwnProperty(r)){let i=n.valueToString(o[r]);return i==="null"?`variant {${r}}`:`variant {${r}=${i}}`}throw new Error("Variant has no data: "+o)}};F.VariantClass=Yo;var Jt=class extends Yt{constructor(){super(...arguments),this._id=Jt._counter++,this._type=void 0}accept(o,r){if(!this._type)throw Error("Recursive type uninitialized.");return o.visitRec(this,this._type,r)}fill(o){this._type=o}getType(){return this._type}covariant(o){return this._type?this._type.covariant(o):!1}encodeValue(o){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(o)}_buildTypeTableImpl(o){if(!this._type)throw Error("Recursive type uninitialized.");o.add(this,new Uint8Array([])),this._type.buildTypeTable(o),o.merge(this,this._type.name)}decodeValue(o,r){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(o,r)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`\u03BC${this.name}.${this._type.name}`}valueToString(o){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(o)}};F.RecClass=Jt;Jt._counter=0;function qi(t){if((0,z.safeReadUint8)(t)!==1)throw new Error("Cannot decode principal");let r=Number((0,z.lebDecode)(t));return Kl.Principal.fromUint8Array(new Uint8Array((0,z.safeRead)(t,r)))}var Fn=class extends ft{accept(o,r){return o.visitPrincipal(this,r)}covariant(o){return o&&o._isPrincipal}encodeValue(o){let r=o.toUint8Array(),n=(0,z.lebEncode)(r.byteLength);return(0,ve.concat)(new Uint8Array([1]),n,r)}encodeType(){return(0,z.slebEncode)(-24)}decodeValue(o,r){return this.checkType(r),qi(o)}get name(){return"principal"}valueToString(o){return`${this.name} "${o.toText()}"`}};F.PrincipalClass=Fn;var Ur=class extends Yt{constructor(o,r,n=[]){super(),this.argTypes=o,this.retTypes=r,this.annotations=n}static argsToString(o,r){if(o.length!==r.length)throw new Error("arity mismatch");return"("+o.map((n,i)=>n.valueToString(r[i])).join(", ")+")"}accept(o,r){return o.visitFunc(this,r)}covariant(o){return Array.isArray(o)&&o.length===2&&o[0]&&o[0]._isPrincipal&&typeof o[1]=="string"}encodeValue([o,r]){let n=o.toUint8Array(),i=(0,z.lebEncode)(n.byteLength),s=(0,ve.concat)(new Uint8Array([1]),i,n),p=new TextEncoder().encode(r),l=(0,z.lebEncode)(p.byteLength);return(0,ve.concat)(new Uint8Array([1]),s,l,p)}_buildTypeTableImpl(o){this.argTypes.forEach(C=>C.buildTypeTable(o)),this.retTypes.forEach(C=>C.buildTypeTable(o));let r=(0,z.slebEncode)(-22),n=(0,z.lebEncode)(this.argTypes.length),i=(0,ve.concat)(...this.argTypes.map(C=>C.encodeType(o))),s=(0,z.lebEncode)(this.retTypes.length),p=(0,ve.concat)(...this.retTypes.map(C=>C.encodeType(o))),l=(0,z.lebEncode)(this.annotations.length),_=(0,ve.concat)(...this.annotations.map(C=>this.encodeAnnotation(C)));o.add(this,(0,ve.concat)(r,n,i,s,p,l,_))}decodeValue(o){if((0,z.safeReadUint8)(o)!==1)throw new Error("Cannot decode function reference");let n=qi(o),i=Number((0,z.lebDecode)(o)),s=(0,z.safeRead)(o,i),l=new TextDecoder("utf8",{fatal:!0}).decode(s);return[n,l]}get name(){let o=this.argTypes.map(i=>i.name).join(", "),r=this.retTypes.map(i=>i.name).join(", "),n=" "+this.annotations.join(" ");return`(${o}) -> (${r})${n}`}valueToString([o,r]){return`func "${o.toText()}".${r}`}display(){let o=this.argTypes.map(i=>i.display()).join(", "),r=this.retTypes.map(i=>i.display()).join(", "),n=" "+this.annotations.join(" ");return`(${o}) \u2192 (${r})${n}`}encodeAnnotation(o){if(o==="query")return new Uint8Array([1]);if(o==="oneway")return new Uint8Array([2]);throw new Error("Illegal function annotation")}};F.FuncClass=Ur;var Tn=class extends Yt{constructor(o){super(),this._fields=Object.entries(o).sort((r,n)=>(0,It.idlLabelToId)(r[0])-(0,It.idlLabelToId)(n[0]))}accept(o,r){return o.visitService(this,r)}covariant(o){return o&&o._isPrincipal}encodeValue(o){let r=o.toUint8Array(),n=(0,z.lebEncode)(r.length);return(0,ve.concat)(new Uint8Array([1]),n,r)}_buildTypeTableImpl(o){this._fields.forEach(([s,p])=>p.buildTypeTable(o));let r=(0,z.slebEncode)(-23),n=(0,z.lebEncode)(this._fields.length),i=this._fields.map(([s,p])=>{let l=new TextEncoder().encode(s),_=(0,z.lebEncode)(l.length);return(0,ve.concat)(_,l,p.encodeType(o))});o.add(this,(0,ve.concat)(r,n,...i))}decodeValue(o){return qi(o)}get name(){return`service {${this._fields.map(([r,n])=>r+":"+n.name).join("; ")}}`}valueToString(o){return`service "${o.toText()}"`}};F.ServiceClass=Tn;function Eg(t){return JSON.stringify(t,(o,r)=>typeof r=="bigint"?`BigInt(${r})`:r)}function Ll(t,o){if(o.length<t.length)throw Error("Wrong number of message arguments");let r=new Hi;t.forEach(_=>_.buildTypeTable(r));let n=new TextEncoder().encode(In),i=r.encode(),s=(0,z.lebEncode)(o.length),p=(0,ve.concat)(...t.map(_=>_.encodeType(r))),l=(0,ve.concat)(...kr(t,o,(_,C)=>{if(!_.covariant(C))throw new Error(`Invalid ${_.display()} argument: ${Eg(C)}`);return _.encodeValue(C)}));return(0,ve.concat)(n,i,s,p,l)}F.encode=Ll;function Zl(t,o){let r=new ve.PipeArrayBuffer(o);if(o.byteLength<In.length)throw new Error("Message length smaller than magic number");let n=(0,z.safeRead)(r,In.length),i=new TextDecoder().decode(n);if(i!==In)throw new Error("Wrong magic number: "+JSON.stringify(i));function s(O){let Y=[],J=Number((0,z.lebDecode)(O));for(let ie=0;ie<J;ie++){let ue=Number((0,z.slebDecode)(O));switch(ue){case-18:case-19:{let ye=Number((0,z.slebDecode)(O));Y.push([ue,ye]);break}case-20:case-21:{let ye=[],X=Number((0,z.lebDecode)(O)),L;for(;X--;){let ne=Number((0,z.lebDecode)(O));if(ne>=Math.pow(2,32))throw new Error("field id out of 32-bit range");if(typeof L=="number"&&L>=ne)throw new Error("field id collision or not sorted");L=ne;let ge=Number((0,z.slebDecode)(O));ye.push([ne,ge])}Y.push([ue,ye]);break}case-22:{let ye=[],X=Number((0,z.lebDecode)(O));for(;X--;)ye.push(Number((0,z.slebDecode)(O)));let L=[],ne=Number((0,z.lebDecode)(O));for(;ne--;)L.push(Number((0,z.slebDecode)(O)));let ge=[],q=Number((0,z.lebDecode)(O));for(;q--;)switch(Number((0,z.lebDecode)(O))){case 1:{ge.push("query");break}case 2:{ge.push("oneway");break}default:throw new Error("unknown annotation")}Y.push([ue,[ye,L,ge]]);break}case-23:{let ye=Number((0,z.lebDecode)(O)),X=[];for(;ye--;){let L=Number((0,z.lebDecode)(O)),ne=new TextDecoder().decode((0,z.safeRead)(O,L)),ge=(0,z.slebDecode)(O);X.push([ne,ge])}Y.push([ue,X]);break}default:throw new Error("Illegal op_code: "+ue)}}let se=[],oe=Number((0,z.lebDecode)(O));for(let ie=0;ie<oe;ie++)se.push(Number((0,z.slebDecode)(O)));return[Y,se]}let[p,l]=s(r);if(l.length<t.length)throw new Error("Wrong number of return values");let _=p.map(O=>Mg());function C(O){if(O<-24)throw new Error("future value not supported");if(O<0)switch(O){case-1:return F.Null;case-2:return F.Bool;case-3:return F.Nat;case-4:return F.Int;case-5:return F.Nat8;case-6:return F.Nat16;case-7:return F.Nat32;case-8:return F.Nat64;case-9:return F.Int8;case-10:return F.Int16;case-11:return F.Int32;case-12:return F.Int64;case-13:return F.Float32;case-14:return F.Float64;case-15:return F.Text;case-16:return F.Reserved;case-17:return F.Empty;case-24:return F.Principal;default:throw new Error("Illegal op_code: "+O)}if(O>=p.length)throw new Error("type index out of range");return _[O]}function Q(O){switch(O[0]){case-19:{let Y=C(O[1]);return mg(Y)}case-18:{let Y=C(O[1]);return Ig(Y)}case-20:{let Y={};for(let[oe,ie]of O[1]){let ue=`_${oe}_`;Y[ue]=C(ie)}let J=Cg(Y),se=J.tryAsTuple();return Array.isArray(se)?vg(...se):J}case-21:{let Y={};for(let[J,se]of O[1]){let oe=`_${J}_`;Y[oe]=C(se)}return wg(Y)}case-22:{let[Y,J,se]=O[1];return Sg(Y.map(oe=>C(oe)),J.map(oe=>C(oe)),se)}case-23:{let Y={},J=O[1];for(let[se,oe]of J){let ie=C(oe);if(ie instanceof Jt&&(ie=ie.getType()),!(ie instanceof Ur))throw new Error("Illegal service definition: services can only contain functions");Y[se]=ie}return Rg(Y)}default:throw new Error("Illegal op_code: "+O[0])}}p.forEach((O,Y)=>{let J=Q(O);_[Y].fill(J)});let P=l.map(O=>C(O)),G=t.map((O,Y)=>O.decodeValue(r,P[Y]));for(let O=t.length;O<P.length;O++)P[O].decodeValue(r,P[O]);if(r.byteLength>0)throw new Error("decode: Left-over bytes");return G}F.decode=Zl;F.Empty=new Cn;F.Reserved=new qo;F.Unknown=new wn;F.Bool=new Mn;F.Null=new Sn;F.Text=new Rn;F.Int=new Nn;F.Nat=new xn;F.Float32=new Pr(32);F.Float64=new Pr(64);F.Int8=new so(8);F.Int16=new so(16);F.Int32=new so(32);F.Int64=new so(64);F.Nat8=new Vt(8);F.Nat16=new Vt(16);F.Nat32=new Vt(32);F.Nat64=new Vt(64);F.Principal=new Fn;function vg(...t){return new Vo(t)}F.Tuple=vg;function mg(t){return new zo(t)}F.Vec=mg;function Ig(t){return new co(t)}F.Opt=Ig;function Cg(t){return new mo(t)}F.Record=Cg;function wg(t){return new Yo(t)}F.Variant=wg;function Mg(){return new Jt}F.Rec=Mg;function Sg(t,o,r=[]){return new Ur(t,o,r)}F.Func=Sg;function Rg(t){return new Tn(t)}F.Service=Rg});var Xi=ee(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.VecForm=pt.OptionForm=pt.VariantForm=pt.TupleForm=pt.RecordForm=pt.InputForm=pt.InputBox=void 0;var Vi=class{constructor(o,r){this.idl=o,this.ui=r,this.label=null,this.value=void 0;let n=document.createElement("span");n.className="status",this.status=n,r.input&&(r.input.addEventListener("blur",()=>{r.input.value!==""&&this.parse()}),r.input.addEventListener("input",()=>{n.style.display="none",r.input.classList.remove("reject")}))}isRejected(){return this.value===void 0}parse(o={}){if(this.ui.form){let r=this.ui.form.parse(o);return this.value=r,r}if(this.ui.input){let r=this.ui.input;try{let n=this.ui.parse(this.idl,o,r.value);if(!this.idl.covariant(n))throw new Error(`${r.value} is not of type ${this.idl.display()}`);return this.status.style.display="none",this.value=n,n}catch(n){r.classList.add("reject"),this.status.style.display="block",this.status.innerHTML="InputError: "+n.message,this.value=void 0;return}}return null}render(o){let r=document.createElement("span");if(this.label){let n=document.createElement("label");n.innerText=this.label,r.appendChild(n)}this.ui.input&&(r.appendChild(this.ui.input),r.appendChild(this.status)),this.ui.form&&this.ui.form.render(r),o.appendChild(r)}};pt.InputBox=Vi;var uo=class{constructor(o){this.ui=o,this.form=[]}renderForm(o){this.ui.container?(this.form.forEach(r=>r.render(this.ui.container)),o.appendChild(this.ui.container)):this.form.forEach(r=>r.render(o))}render(o){if(this.ui.open&&this.ui.event){o.appendChild(this.ui.open);let r=this;r.ui.open.addEventListener(r.ui.event,()=>{if(r.ui.container)r.ui.container.innerHTML="";else{let n=r.ui.open.nextElementSibling;n&&n.parentNode.removeChild(n)}r.generateForm(),r.renderForm(o)})}else this.generateForm(),this.renderForm(o)}};pt.InputForm=uo;var Yi=class extends uo{constructor(o,r){super(r),this.fields=o,this.ui=r}generateForm(){this.form=this.fields.map(([o,r])=>{let n=this.ui.render(r);return this.ui.labelMap&&this.ui.labelMap.hasOwnProperty(o)?n.label=this.ui.labelMap[o]+" ":n.label=o+" ",n})}parse(o){let r={};if(this.fields.forEach(([n,i],s)=>{let p=this.form[s].parse(o);r[n]=p}),!this.form.some(n=>n.isRejected()))return r}};pt.RecordForm=Yi;var Ji=class extends uo{constructor(o,r){super(r),this.components=o,this.ui=r}generateForm(){this.form=this.components.map(o=>this.ui.render(o))}parse(o){let r=[];if(this.components.forEach((n,i)=>{let s=this.form[i].parse(o);r.push(s)}),!this.form.some(n=>n.isRejected()))return r}};pt.TupleForm=Ji;var Ki=class extends uo{constructor(o,r){super(r),this.fields=o,this.ui=r}generateForm(){let o=this.ui.open.selectedIndex,[r,n]=this.fields[o],i=this.ui.render(n);this.form=[i]}parse(o){let r=this.ui.open,n=r.options[r.selectedIndex].value,i=this.form[0].parse(o);if(i===void 0)return;let s={};return s[n]=i,s}};pt.VariantForm=Ki;var Li=class extends uo{constructor(o,r){super(r),this.ty=o,this.ui=r}generateForm(){if(this.ui.open.checked){let o=this.ui.render(this.ty);this.form=[o]}else this.form=[]}parse(o){if(this.form.length===0)return[];{let r=this.form[0].parse(o);return r===void 0?void 0:[r]}}};pt.OptionForm=Li;var Zi=class extends uo{constructor(o,r){super(r),this.ty=o,this.ui=r}generateForm(){let o=+this.ui.open.value;this.form=[];for(let r=0;r<o;r++){let n=this.ui.render(this.ty);this.form.push(n)}}parse(o){let r=this.form.map(n=>n.parse(o));if(!this.form.some(n=>n.isRejected()))return r}};pt.VecForm=Zi});var xg=ee(ce=>{"use strict";var Xl=ce&&ce.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),$l=ce&&ce.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),Ng=ce&&ce.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Xl(o,t,r);return $l(o,t),o};Object.defineProperty(ce,"__esModule",{value:!0});ce.renderValue=ce.renderInput=ce.Render=ce.vecForm=ce.optForm=ce.variantForm=ce.tupleForm=ce.recordForm=ce.inputBox=void 0;var Qn=Ng(zi()),$i=At(),Jo=Ng(Xi()),eA={parse:aA},jr={render:rs},tA=(t,o)=>new Jo.InputBox(t,Object.assign(Object.assign({},eA),o));ce.inputBox=tA;var oA=(t,o)=>new Jo.RecordForm(t,Object.assign(Object.assign({},jr),o));ce.recordForm=oA;var rA=(t,o)=>new Jo.TupleForm(t,Object.assign(Object.assign({},jr),o));ce.tupleForm=rA;var nA=(t,o)=>new Jo.VariantForm(t,Object.assign(Object.assign({},jr),o));ce.variantForm=nA;var iA=(t,o)=>new Jo.OptionForm(t,Object.assign(Object.assign({},jr),o));ce.optForm=iA;var sA=(t,o)=>new Jo.VecForm(t,Object.assign(Object.assign({},jr),o));ce.vecForm=sA;var On=class extends Qn.Visitor{visitType(o,r){let n=document.createElement("input");return n.classList.add("argument"),n.placeholder=o.display(),(0,ce.inputBox)(o,{input:n})}visitNull(o,r){return(0,ce.inputBox)(o,{})}visitRecord(o,r,n){let i={};if(r.length>1){let p=document.createElement("div");p.classList.add("popup-form"),i={container:p}}let s=(0,ce.recordForm)(r,i);return(0,ce.inputBox)(o,{form:s})}visitTuple(o,r,n){let i={};if(r.length>1){let p=document.createElement("div");p.classList.add("popup-form"),i={container:p}}let s=(0,ce.tupleForm)(r,i);return(0,ce.inputBox)(o,{form:s})}visitVariant(o,r,n){let i=document.createElement("select");for(let[l,_]of r){let C=new Option(l);i.add(C)}i.selectedIndex=-1,i.classList.add("open");let s={open:i,event:"change"},p=(0,ce.variantForm)(r,s);return(0,ce.inputBox)(o,{form:p})}visitOpt(o,r,n){let i=document.createElement("input");i.type="checkbox",i.classList.add("open");let s=(0,ce.optForm)(r,{open:i,event:"change"});return(0,ce.inputBox)(o,{form:s})}visitVec(o,r,n){let i=document.createElement("input");i.type="number",i.min="0",i.max="100",i.style.width="8rem",i.placeholder="len",i.classList.add("open");let s=document.createElement("div");s.classList.add("popup-form");let p=(0,ce.vecForm)(r,{open:i,event:"change",container:s});return(0,ce.inputBox)(o,{form:p})}visitRec(o,r,n){return rs(r)}};ce.Render=On;var es=class extends Qn.Visitor{visitNull(o,r){return null}visitBool(o,r){if(r==="true")return!0;if(r==="false")return!1;throw new Error(`Cannot parse ${r} as boolean`)}visitText(o,r){return r}visitFloat(o,r){return parseFloat(r)}visitFixedInt(o,r){return o._bits<=32?parseInt(r,10):BigInt(r)}visitFixedNat(o,r){return o._bits<=32?parseInt(r,10):BigInt(r)}visitNumber(o,r){return BigInt(r)}visitPrincipal(o,r){return $i.Principal.fromText(r)}visitService(o,r){return $i.Principal.fromText(r)}visitFunc(o,r){let n=r.split(".",2);return[$i.Principal.fromText(n[0]),n[1]]}},ts=class extends Qn.Visitor{visitNull(o,r){return null}visitBool(o,r){return Math.random()<.5}visitText(o,r){return Math.random().toString(36).substring(6)}visitFloat(o,r){return Math.random()}visitInt(o,r){return BigInt(this.generateNumber(!0))}visitNat(o,r){return BigInt(this.generateNumber(!1))}visitFixedInt(o,r){let n=this.generateNumber(!0);return o._bits<=32?n:BigInt(r)}visitFixedNat(o,r){let n=this.generateNumber(!1);return o._bits<=32?n:BigInt(r)}generateNumber(o){let r=Math.floor(Math.random()*100);return o&&Math.random()<.5?-r:r}};function aA(t,o,r){return o.random&&r===""?t.accept(new ts,r):t.accept(new es,r)}function rs(t){return t.accept(new On,null)}ce.renderInput=rs;function Io(t,o,r){return t.accept(new os,{input:o,value:r})}ce.renderValue=Io;var os=class extends Qn.Visitor{visitType(o,r){r.input.ui.input.value=o.valueToString(r.value)}visitNull(o,r){}visitText(o,r){r.input.ui.input.value=r.value}visitRec(o,r,n){Io(r,n.input,n.value)}visitOpt(o,r,n){if(n.value.length!==0){let i=n.input.ui.form,s=i.ui.open;s.checked=!0,s.dispatchEvent(new Event(i.ui.event)),Io(r,i.form[0],n.value[0])}}visitRecord(o,r,n){let i=n.input.ui.form;r.forEach(([s,p],l)=>{Io(p,i.form[l],n.value[s])})}visitTuple(o,r,n){let i=n.input.ui.form;r.forEach((s,p)=>{Io(s,i.form[p],n.value[p])})}visitVariant(o,r,n){let i=n.input.ui.form,s=Object.entries(n.value)[0];r.forEach(([p,l],_)=>{if(p===s[0]){let C=i.ui.open;C.selectedIndex=_,C.dispatchEvent(new Event(i.ui.event)),Io(l,i.form[0],s[1])}})}visitVec(o,r,n){let i=n.input.ui.form,s=n.value.length,p=i.ui.open;p.value=s,p.dispatchEvent(new Event(i.ui.event)),n.value.forEach((l,_)=>{Io(r,i.form[_],l)})}}});var Tg=ee(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0})});var Dr=ee(tt=>{"use strict";var Og=tt&&tt.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),gA=tt&&tt.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),Ko=tt&&tt.__exportStar||function(t,o){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(o,r)&&Og(o,t,r)},pA=tt&&tt.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Og(o,t,r);return gA(o,t),o};Object.defineProperty(tt,"__esModule",{value:!0});tt.IDL=void 0;Ko(xg(),tt);Ko(Xi(),tt);tt.IDL=pA(zi());Ko(Ui(),tt);Ko(Di(),tt);Ko(En(),tt);Ko(Tg(),tt)});var Hr=ee((Qg,Gn)=>{(function(t){"use strict";var o,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,n=Math.ceil,i=Math.floor,s="[BigNumber Error] ",p=s+"Number primitive has more than 15 significant digits: ",l=1e14,_=14,C=9007199254740991,Q=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],P=1e7,G=1e9;function O(X){var L,ne,ge,q=D.prototype={constructor:D,toString:null,valueOf:null},Ie=new D(1),me=20,Ce=4,Te=-7,ze=21,Le=-1e7,nt=1e7,st=!1,Oe=1,at=0,to={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},lt="0123456789abcdefghijklmnopqrstuvwxyz",oo=!0;function D(h,y){var B,R,I,M,x,E,w,N,S=this;if(!(S instanceof D))return new D(h,y);if(y==null){if(h&&h._isBigNumber===!0){S.s=h.s,!h.c||h.e>nt?S.c=S.e=null:h.e<Le?S.c=[S.e=0]:(S.e=h.e,S.c=h.c.slice());return}if((E=typeof h=="number")&&h*0==0){if(S.s=1/h<0?(h=-h,-1):1,h===~~h){for(M=0,x=h;x>=10;x/=10,M++);M>nt?S.c=S.e=null:(S.e=M,S.c=[h]);return}N=String(h)}else{if(!r.test(N=String(h)))return ge(S,N,E);S.s=N.charCodeAt(0)==45?(N=N.slice(1),-1):1}(M=N.indexOf("."))>-1&&(N=N.replace(".","")),(x=N.search(/e/i))>0?(M<0&&(M=x),M+=+N.slice(x+1),N=N.substring(0,x)):M<0&&(M=N.length)}else{if(oe(y,2,lt.length,"Base"),y==10&&oo)return S=new D(h),Ze(S,me+S.e+1,Ce);if(N=String(h),E=typeof h=="number"){if(h*0!=0)return ge(S,N,E,y);if(S.s=1/h<0?(N=N.slice(1),-1):1,D.DEBUG&&N.replace(/^0\.0*|\./,"").length>15)throw Error(p+h)}else S.s=N.charCodeAt(0)===45?(N=N.slice(1),-1):1;for(B=lt.slice(0,y),M=x=0,w=N.length;x<w;x++)if(B.indexOf(R=N.charAt(x))<0){if(R=="."){if(x>M){M=w;continue}}else if(!I&&(N==N.toUpperCase()&&(N=N.toLowerCase())||N==N.toLowerCase()&&(N=N.toUpperCase()))){I=!0,x=-1,M=0;continue}return ge(S,String(h),E,y)}E=!1,N=ne(N,y,10,S.s),(M=N.indexOf("."))>-1?N=N.replace(".",""):M=N.length}for(x=0;N.charCodeAt(x)===48;x++);for(w=N.length;N.charCodeAt(--w)===48;);if(N=N.slice(x,++w)){if(w-=x,E&&D.DEBUG&&w>15&&(h>C||h!==i(h)))throw Error(p+S.s*h);if((M=M-x-1)>nt)S.c=S.e=null;else if(M<Le)S.c=[S.e=0];else{if(S.e=M,S.c=[],x=(M+1)%_,M<0&&(x+=_),x<w){for(x&&S.c.push(+N.slice(0,x)),w-=_;x<w;)S.c.push(+N.slice(x,x+=_));x=_-(N=N.slice(x)).length}else x-=w;for(;x--;N+="0");S.c.push(+N)}}else S.c=[S.e=0]}D.clone=O,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(h){var y,B;if(h!=null)if(typeof h=="object"){if(h.hasOwnProperty(y="DECIMAL_PLACES")&&(B=h[y],oe(B,0,G,y),me=B),h.hasOwnProperty(y="ROUNDING_MODE")&&(B=h[y],oe(B,0,8,y),Ce=B),h.hasOwnProperty(y="EXPONENTIAL_AT")&&(B=h[y],B&&B.pop?(oe(B[0],-G,0,y),oe(B[1],0,G,y),Te=B[0],ze=B[1]):(oe(B,-G,G,y),Te=-(ze=B<0?-B:B))),h.hasOwnProperty(y="RANGE"))if(B=h[y],B&&B.pop)oe(B[0],-G,-1,y),oe(B[1],1,G,y),Le=B[0],nt=B[1];else if(oe(B,-G,G,y),B)Le=-(nt=B<0?-B:B);else throw Error(s+y+" cannot be zero: "+B);if(h.hasOwnProperty(y="CRYPTO"))if(B=h[y],B===!!B)if(B)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))st=B;else throw st=!B,Error(s+"crypto unavailable");else st=B;else throw Error(s+y+" not true or false: "+B);if(h.hasOwnProperty(y="MODULO_MODE")&&(B=h[y],oe(B,0,9,y),Oe=B),h.hasOwnProperty(y="POW_PRECISION")&&(B=h[y],oe(B,0,G,y),at=B),h.hasOwnProperty(y="FORMAT"))if(B=h[y],typeof B=="object")to=B;else throw Error(s+y+" not an object: "+B);if(h.hasOwnProperty(y="ALPHABET"))if(B=h[y],typeof B=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(B))oo=B.slice(0,10)=="0123456789",lt=B;else throw Error(s+y+" invalid: "+B)}else throw Error(s+"Object expected: "+h);return{DECIMAL_PLACES:me,ROUNDING_MODE:Ce,EXPONENTIAL_AT:[Te,ze],RANGE:[Le,nt],CRYPTO:st,MODULO_MODE:Oe,POW_PRECISION:at,FORMAT:to,ALPHABET:lt}},D.isBigNumber=function(h){if(!h||h._isBigNumber!==!0)return!1;if(!D.DEBUG)return!0;var y,B,R=h.c,I=h.e,M=h.s;e:if({}.toString.call(R)=="[object Array]"){if((M===1||M===-1)&&I>=-G&&I<=G&&I===i(I)){if(R[0]===0){if(I===0&&R.length===1)return!0;break e}if(y=(I+1)%_,y<1&&(y+=_),String(R[0]).length==y){for(y=0;y<R.length;y++)if(B=R[y],B<0||B>=l||B!==i(B))break e;if(B!==0)return!0}}}else if(R===null&&I===null&&(M===null||M===1||M===-1))return!0;throw Error(s+"Invalid BigNumber: "+h)},D.maximum=D.max=function(){return Pt(arguments,q.lt)},D.minimum=D.min=function(){return Pt(arguments,q.gt)},D.random=function(){var h=9007199254740992,y=Math.random()*h&2097151?function(){return i(Math.random()*h)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(B){var R,I,M,x,E,w=0,N=[],S=new D(Ie);if(B==null?B=me:oe(B,0,G),x=n(B/_),st)if(crypto.getRandomValues){for(R=crypto.getRandomValues(new Uint32Array(x*=2));w<x;)E=R[w]*131072+(R[w+1]>>>11),E>=9e15?(I=crypto.getRandomValues(new Uint32Array(2)),R[w]=I[0],R[w+1]=I[1]):(N.push(E%1e14),w+=2);w=x/2}else if(crypto.randomBytes){for(R=crypto.randomBytes(x*=7);w<x;)E=(R[w]&31)*281474976710656+R[w+1]*1099511627776+R[w+2]*4294967296+R[w+3]*16777216+(R[w+4]<<16)+(R[w+5]<<8)+R[w+6],E>=9e15?crypto.randomBytes(7).copy(R,w):(N.push(E%1e14),w+=7);w=x/7}else throw st=!1,Error(s+"crypto unavailable");if(!st)for(;w<x;)E=y(),E<9e15&&(N[w++]=E%1e14);for(x=N[--w],B%=_,x&&B&&(E=Q[_-B],N[w]=i(x/E)*E);N[w]===0;N.pop(),w--);if(w<0)N=[M=0];else{for(M=-1;N[0]===0;N.splice(0,1),M-=_);for(w=1,E=N[0];E>=10;E/=10,w++);w<_&&(M-=_-w)}return S.e=M,S.c=N,S}}(),D.sum=function(){for(var h=1,y=arguments,B=new D(y[0]);h<y.length;)B=B.plus(y[h++]);return B},ne=function(){var h="0123456789";function y(B,R,I,M){for(var x,E=[0],w,N=0,S=B.length;N<S;){for(w=E.length;w--;E[w]*=R);for(E[0]+=M.indexOf(B.charAt(N++)),x=0;x<E.length;x++)E[x]>I-1&&(E[x+1]==null&&(E[x+1]=0),E[x+1]+=E[x]/I|0,E[x]%=I)}return E.reverse()}return function(B,R,I,M,x){var E,w,N,S,k,W,$,Ae,Be=B.indexOf("."),Ne=me,pe=Ce;for(Be>=0&&(S=at,at=0,B=B.replace(".",""),Ae=new D(R),W=Ae.pow(B.length-Be),at=S,Ae.c=y(ye(J(W.c),W.e,"0"),10,I,h),Ae.e=Ae.c.length),$=y(B,R,I,x?(E=lt,h):(E=h,lt)),N=S=$.length;$[--S]==0;$.pop());if(!$[0])return E.charAt(0);if(Be<0?--N:(W.c=$,W.e=N,W.s=M,W=L(W,Ae,Ne,pe,I),$=W.c,k=W.r,N=W.e),w=N+Ne+1,Be=$[w],S=I/2,k=k||w<0||$[w+1]!=null,k=pe<4?(Be!=null||k)&&(pe==0||pe==(W.s<0?3:2)):Be>S||Be==S&&(pe==4||k||pe==6&&$[w-1]&1||pe==(W.s<0?8:7)),w<1||!$[0])B=k?ye(E.charAt(1),-Ne,E.charAt(0)):E.charAt(0);else{if($.length=w,k)for(--I;++$[--w]>I;)$[w]=0,w||(++N,$=[1].concat($));for(S=$.length;!$[--S];);for(Be=0,B="";Be<=S;B+=E.charAt($[Be++]));B=ye(B,N,E.charAt(0))}return B}}(),L=function(){function h(R,I,M){var x,E,w,N,S=0,k=R.length,W=I%P,$=I/P|0;for(R=R.slice();k--;)w=R[k]%P,N=R[k]/P|0,x=$*w+N*W,E=W*w+x%P*P+S,S=(E/M|0)+(x/P|0)+$*N,R[k]=E%M;return S&&(R=[S].concat(R)),R}function y(R,I,M,x){var E,w;if(M!=x)w=M>x?1:-1;else for(E=w=0;E<M;E++)if(R[E]!=I[E]){w=R[E]>I[E]?1:-1;break}return w}function B(R,I,M,x){for(var E=0;M--;)R[M]-=E,E=R[M]<I[M]?1:0,R[M]=E*x+R[M]-I[M];for(;!R[0]&&R.length>1;R.splice(0,1));}return function(R,I,M,x,E){var w,N,S,k,W,$,Ae,Be,Ne,pe,te,Ge,vt,Nt,ro,He,_e,Xe=R.s==I.s?1:-1,je=R.c,we=I.c;if(!je||!je[0]||!we||!we[0])return new D(!R.s||!I.s||(je?we&&je[0]==we[0]:!we)?NaN:je&&je[0]==0||!we?Xe*0:Xe/0);for(Be=new D(Xe),Ne=Be.c=[],N=R.e-I.e,Xe=M+N+1,E||(E=l,N=Y(R.e/_)-Y(I.e/_),Xe=Xe/_|0),S=0;we[S]==(je[S]||0);S++);if(we[S]>(je[S]||0)&&N--,Xe<0)Ne.push(1),k=!0;else{for(Nt=je.length,He=we.length,S=0,Xe+=2,W=i(E/(we[0]+1)),W>1&&(we=h(we,W,E),je=h(je,W,E),He=we.length,Nt=je.length),vt=He,pe=je.slice(0,He),te=pe.length;te<He;pe[te++]=0);_e=we.slice(),_e=[0].concat(_e),ro=we[0],we[1]>=E/2&&ro++;do{if(W=0,w=y(we,pe,He,te),w<0){if(Ge=pe[0],He!=te&&(Ge=Ge*E+(pe[1]||0)),W=i(Ge/ro),W>1)for(W>=E&&(W=E-1),$=h(we,W,E),Ae=$.length,te=pe.length;y($,pe,Ae,te)==1;)W--,B($,He<Ae?_e:we,Ae,E),Ae=$.length,w=1;else W==0&&(w=W=1),$=we.slice(),Ae=$.length;if(Ae<te&&($=[0].concat($)),B(pe,$,te,E),te=pe.length,w==-1)for(;y(we,pe,He,te)<1;)W++,B(pe,He<te?_e:we,te,E),te=pe.length}else w===0&&(W++,pe=[0]);Ne[S++]=W,pe[0]?pe[te++]=je[vt]||0:(pe=[je[vt]],te=1)}while((vt++<Nt||pe[0]!=null)&&Xe--);k=pe[0]!=null,Ne[0]||Ne.splice(0,1)}if(E==l){for(S=1,Xe=Ne[0];Xe>=10;Xe/=10,S++);Ze(Be,M+(Be.e=S+N*_-1)+1,x,k)}else Be.e=N,Be.r=+k;return Be}}();function m(h,y,B,R){var I,M,x,E,w;if(B==null?B=Ce:oe(B,0,8),!h.c)return h.toString();if(I=h.c[0],x=h.e,y==null)w=J(h.c),w=R==1||R==2&&(x<=Te||x>=ze)?ue(w,x):ye(w,x,"0");else if(h=Ze(new D(h),y,B),M=h.e,w=J(h.c),E=w.length,R==1||R==2&&(y<=M||M<=Te)){for(;E<y;w+="0",E++);w=ue(w,M)}else if(y-=x,w=ye(w,M,"0"),M+1>E){if(--y>0)for(w+=".";y--;w+="0");}else if(y+=M-E,y>0)for(M+1==E&&(w+=".");y--;w+="0");return h.s<0&&I?"-"+w:w}function Pt(h,y){for(var B,R=1,I=new D(h[0]);R<h.length;R++)if(B=new D(h[R]),B.s)y.call(I,B)&&(I=B);else{I=B;break}return I}function Rt(h,y,B){for(var R=1,I=y.length;!y[--I];y.pop());for(I=y[0];I>=10;I/=10,R++);return(B=R+B*_-1)>nt?h.c=h.e=null:B<Le?h.c=[h.e=0]:(h.e=B,h.c=y),h}ge=function(){var h=/^(-?)0([xbo])(?=\w[\w.]*$)/i,y=/^([^.]+)\.$/,B=/^\.([^.]+)$/,R=/^-?(Infinity|NaN)$/,I=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(M,x,E,w){var N,S=E?x:x.replace(I,"");if(R.test(S))M.s=isNaN(S)?null:S<0?-1:1;else{if(!E&&(S=S.replace(h,function(k,W,$){return N=($=$.toLowerCase())=="x"?16:$=="b"?2:8,!w||w==N?W:k}),w&&(N=w,S=S.replace(y,"$1").replace(B,"0.$1")),x!=S))return new D(S,N);if(D.DEBUG)throw Error(s+"Not a"+(w?" base "+w:"")+" number: "+x);M.s=null}M.c=M.e=null}}();function Ze(h,y,B,R){var I,M,x,E,w,N,S,k=h.c,W=Q;if(k){e:{for(I=1,E=k[0];E>=10;E/=10,I++);if(M=y-I,M<0)M+=_,x=y,w=k[N=0],S=w/W[I-x-1]%10|0;else if(N=n((M+1)/_),N>=k.length)if(R){for(;k.length<=N;k.push(0));w=S=0,I=1,M%=_,x=M-_+1}else break e;else{for(w=E=k[N],I=1;E>=10;E/=10,I++);M%=_,x=M-_+I,S=x<0?0:w/W[I-x-1]%10|0}if(R=R||y<0||k[N+1]!=null||(x<0?w:w%W[I-x-1]),R=B<4?(S||R)&&(B==0||B==(h.s<0?3:2)):S>5||S==5&&(B==4||R||B==6&&(M>0?x>0?w/W[I-x]:0:k[N-1])%10&1||B==(h.s<0?8:7)),y<1||!k[0])return k.length=0,R?(y-=h.e+1,k[0]=W[(_-y%_)%_],h.e=-y||0):k[0]=h.e=0,h;if(M==0?(k.length=N,E=1,N--):(k.length=N+1,E=W[_-M],k[N]=x>0?i(w/W[I-x]%W[x])*E:0),R)for(;;)if(N==0){for(M=1,x=k[0];x>=10;x/=10,M++);for(x=k[0]+=E,E=1;x>=10;x/=10,E++);M!=E&&(h.e++,k[0]==l&&(k[0]=1));break}else{if(k[N]+=E,k[N]!=l)break;k[N--]=0,E=1}for(M=k.length;k[--M]===0;k.pop());}h.e>nt?h.c=h.e=null:h.e<Le&&(h.c=[h.e=0])}return h}function re(h){var y,B=h.e;return B===null?h.toString():(y=J(h.c),y=B<=Te||B>=ze?ue(y,B):ye(y,B,"0"),h.s<0?"-"+y:y)}return q.absoluteValue=q.abs=function(){var h=new D(this);return h.s<0&&(h.s=1),h},q.comparedTo=function(h,y){return se(this,new D(h,y))},q.decimalPlaces=q.dp=function(h,y){var B,R,I,M=this;if(h!=null)return oe(h,0,G),y==null?y=Ce:oe(y,0,8),Ze(new D(M),h+M.e+1,y);if(!(B=M.c))return null;if(R=((I=B.length-1)-Y(this.e/_))*_,I=B[I])for(;I%10==0;I/=10,R--);return R<0&&(R=0),R},q.dividedBy=q.div=function(h,y){return L(this,new D(h,y),me,Ce)},q.dividedToIntegerBy=q.idiv=function(h,y){return L(this,new D(h,y),0,1)},q.exponentiatedBy=q.pow=function(h,y){var B,R,I,M,x,E,w,N,S,k=this;if(h=new D(h),h.c&&!h.isInteger())throw Error(s+"Exponent not an integer: "+re(h));if(y!=null&&(y=new D(y)),E=h.e>14,!k.c||!k.c[0]||k.c[0]==1&&!k.e&&k.c.length==1||!h.c||!h.c[0])return S=new D(Math.pow(+re(k),E?2-ie(h):+re(h))),y?S.mod(y):S;if(w=h.s<0,y){if(y.c?!y.c[0]:!y.s)return new D(NaN);R=!w&&k.isInteger()&&y.isInteger(),R&&(k=k.mod(y))}else{if(h.e>9&&(k.e>0||k.e<-1||(k.e==0?k.c[0]>1||E&&k.c[1]>=24e7:k.c[0]<8e13||E&&k.c[0]<=9999975e7)))return M=k.s<0&&ie(h)?-0:0,k.e>-1&&(M=1/M),new D(w?1/M:M);at&&(M=n(at/_+2))}for(E?(B=new D(.5),w&&(h.s=1),N=ie(h)):(I=Math.abs(+re(h)),N=I%2),S=new D(Ie);;){if(N){if(S=S.times(k),!S.c)break;M?S.c.length>M&&(S.c.length=M):R&&(S=S.mod(y))}if(I){if(I=i(I/2),I===0)break;N=I%2}else if(h=h.times(B),Ze(h,h.e+1,1),h.e>14)N=ie(h);else{if(I=+re(h),I===0)break;N=I%2}k=k.times(k),M?k.c&&k.c.length>M&&(k.c.length=M):R&&(k=k.mod(y))}return R?S:(w&&(S=Ie.div(S)),y?S.mod(y):M?Ze(S,at,Ce,x):S)},q.integerValue=function(h){var y=new D(this);return h==null?h=Ce:oe(h,0,8),Ze(y,y.e+1,h)},q.isEqualTo=q.eq=function(h,y){return se(this,new D(h,y))===0},q.isFinite=function(){return!!this.c},q.isGreaterThan=q.gt=function(h,y){return se(this,new D(h,y))>0},q.isGreaterThanOrEqualTo=q.gte=function(h,y){return(y=se(this,new D(h,y)))===1||y===0},q.isInteger=function(){return!!this.c&&Y(this.e/_)>this.c.length-2},q.isLessThan=q.lt=function(h,y){return se(this,new D(h,y))<0},q.isLessThanOrEqualTo=q.lte=function(h,y){return(y=se(this,new D(h,y)))===-1||y===0},q.isNaN=function(){return!this.s},q.isNegative=function(){return this.s<0},q.isPositive=function(){return this.s>0},q.isZero=function(){return!!this.c&&this.c[0]==0},q.minus=function(h,y){var B,R,I,M,x=this,E=x.s;if(h=new D(h,y),y=h.s,!E||!y)return new D(NaN);if(E!=y)return h.s=-y,x.plus(h);var w=x.e/_,N=h.e/_,S=x.c,k=h.c;if(!w||!N){if(!S||!k)return S?(h.s=-y,h):new D(k?x:NaN);if(!S[0]||!k[0])return k[0]?(h.s=-y,h):new D(S[0]?x:Ce==3?-0:0)}if(w=Y(w),N=Y(N),S=S.slice(),E=w-N){for((M=E<0)?(E=-E,I=S):(N=w,I=k),I.reverse(),y=E;y--;I.push(0));I.reverse()}else for(R=(M=(E=S.length)<(y=k.length))?E:y,E=y=0;y<R;y++)if(S[y]!=k[y]){M=S[y]<k[y];break}if(M&&(I=S,S=k,k=I,h.s=-h.s),y=(R=k.length)-(B=S.length),y>0)for(;y--;S[B++]=0);for(y=l-1;R>E;){if(S[--R]<k[R]){for(B=R;B&&!S[--B];S[B]=y);--S[B],S[R]+=l}S[R]-=k[R]}for(;S[0]==0;S.splice(0,1),--N);return S[0]?Rt(h,S,N):(h.s=Ce==3?-1:1,h.c=[h.e=0],h)},q.modulo=q.mod=function(h,y){var B,R,I=this;return h=new D(h,y),!I.c||!h.s||h.c&&!h.c[0]?new D(NaN):!h.c||I.c&&!I.c[0]?new D(I):(Oe==9?(R=h.s,h.s=1,B=L(I,h,0,3),h.s=R,B.s*=R):B=L(I,h,0,Oe),h=I.minus(B.times(h)),!h.c[0]&&Oe==1&&(h.s=I.s),h)},q.multipliedBy=q.times=function(h,y){var B,R,I,M,x,E,w,N,S,k,W,$,Ae,Be,Ne,pe=this,te=pe.c,Ge=(h=new D(h,y)).c;if(!te||!Ge||!te[0]||!Ge[0])return!pe.s||!h.s||te&&!te[0]&&!Ge||Ge&&!Ge[0]&&!te?h.c=h.e=h.s=null:(h.s*=pe.s,!te||!Ge?h.c=h.e=null:(h.c=[0],h.e=0)),h;for(R=Y(pe.e/_)+Y(h.e/_),h.s*=pe.s,w=te.length,k=Ge.length,w<k&&(Ae=te,te=Ge,Ge=Ae,I=w,w=k,k=I),I=w+k,Ae=[];I--;Ae.push(0));for(Be=l,Ne=P,I=k;--I>=0;){for(B=0,W=Ge[I]%Ne,$=Ge[I]/Ne|0,x=w,M=I+x;M>I;)N=te[--x]%Ne,S=te[x]/Ne|0,E=$*N+S*W,N=W*N+E%Ne*Ne+Ae[M]+B,B=(N/Be|0)+(E/Ne|0)+$*S,Ae[M--]=N%Be;Ae[M]=B}return B?++R:Ae.splice(0,1),Rt(h,Ae,R)},q.negated=function(){var h=new D(this);return h.s=-h.s||null,h},q.plus=function(h,y){var B,R=this,I=R.s;if(h=new D(h,y),y=h.s,!I||!y)return new D(NaN);if(I!=y)return h.s=-y,R.minus(h);var M=R.e/_,x=h.e/_,E=R.c,w=h.c;if(!M||!x){if(!E||!w)return new D(I/0);if(!E[0]||!w[0])return w[0]?h:new D(E[0]?R:I*0)}if(M=Y(M),x=Y(x),E=E.slice(),I=M-x){for(I>0?(x=M,B=w):(I=-I,B=E),B.reverse();I--;B.push(0));B.reverse()}for(I=E.length,y=w.length,I-y<0&&(B=w,w=E,E=B,y=I),I=0;y;)I=(E[--y]=E[y]+w[y]+I)/l|0,E[y]=l===E[y]?0:E[y]%l;return I&&(E=[I].concat(E),++x),Rt(h,E,x)},q.precision=q.sd=function(h,y){var B,R,I,M=this;if(h!=null&&h!==!!h)return oe(h,1,G),y==null?y=Ce:oe(y,0,8),Ze(new D(M),h,y);if(!(B=M.c))return null;if(I=B.length-1,R=I*_+1,I=B[I]){for(;I%10==0;I/=10,R--);for(I=B[0];I>=10;I/=10,R++);}return h&&M.e+1>R&&(R=M.e+1),R},q.shiftedBy=function(h){return oe(h,-C,C),this.times("1e"+h)},q.squareRoot=q.sqrt=function(){var h,y,B,R,I,M=this,x=M.c,E=M.s,w=M.e,N=me+4,S=new D("0.5");if(E!==1||!x||!x[0])return new D(!E||E<0&&(!x||x[0])?NaN:x?M:1/0);if(E=Math.sqrt(+re(M)),E==0||E==1/0?(y=J(x),(y.length+w)%2==0&&(y+="0"),E=Math.sqrt(+y),w=Y((w+1)/2)-(w<0||w%2),E==1/0?y="5e"+w:(y=E.toExponential(),y=y.slice(0,y.indexOf("e")+1)+w),B=new D(y)):B=new D(E+""),B.c[0]){for(w=B.e,E=w+N,E<3&&(E=0);;)if(I=B,B=S.times(I.plus(L(M,I,N,1))),J(I.c).slice(0,E)===(y=J(B.c)).slice(0,E))if(B.e<w&&--E,y=y.slice(E-3,E+1),y=="9999"||!R&&y=="4999"){if(!R&&(Ze(I,I.e+me+2,0),I.times(I).eq(M))){B=I;break}N+=4,E+=4,R=1}else{(!+y||!+y.slice(1)&&y.charAt(0)=="5")&&(Ze(B,B.e+me+2,1),h=!B.times(B).eq(M));break}}return Ze(B,B.e+me+1,Ce,h)},q.toExponential=function(h,y){return h!=null&&(oe(h,0,G),h++),m(this,h,y,1)},q.toFixed=function(h,y){return h!=null&&(oe(h,0,G),h=h+this.e+1),m(this,h,y)},q.toFormat=function(h,y,B){var R,I=this;if(B==null)h!=null&&y&&typeof y=="object"?(B=y,y=null):h&&typeof h=="object"?(B=h,h=y=null):B=to;else if(typeof B!="object")throw Error(s+"Argument not an object: "+B);if(R=I.toFixed(h,y),I.c){var M,x=R.split("."),E=+B.groupSize,w=+B.secondaryGroupSize,N=B.groupSeparator||"",S=x[0],k=x[1],W=I.s<0,$=W?S.slice(1):S,Ae=$.length;if(w&&(M=E,E=w,w=M,Ae-=M),E>0&&Ae>0){for(M=Ae%E||E,S=$.substr(0,M);M<Ae;M+=E)S+=N+$.substr(M,E);w>0&&(S+=N+$.slice(M)),W&&(S="-"+S)}R=k?S+(B.decimalSeparator||"")+((w=+B.fractionGroupSize)?k.replace(new RegExp("\\d{"+w+"}\\B","g"),"$&"+(B.fractionGroupSeparator||"")):k):S}return(B.prefix||"")+R+(B.suffix||"")},q.toFraction=function(h){var y,B,R,I,M,x,E,w,N,S,k,W,$=this,Ae=$.c;if(h!=null&&(E=new D(h),!E.isInteger()&&(E.c||E.s!==1)||E.lt(Ie)))throw Error(s+"Argument "+(E.isInteger()?"out of range: ":"not an integer: ")+re(E));if(!Ae)return new D($);for(y=new D(Ie),N=B=new D(Ie),R=w=new D(Ie),W=J(Ae),M=y.e=W.length-$.e-1,y.c[0]=Q[(x=M%_)<0?_+x:x],h=!h||E.comparedTo(y)>0?M>0?y:N:E,x=nt,nt=1/0,E=new D(W),w.c[0]=0;S=L(E,y,0,1),I=B.plus(S.times(R)),I.comparedTo(h)!=1;)B=R,R=I,N=w.plus(S.times(I=N)),w=I,y=E.minus(S.times(I=y)),E=I;return I=L(h.minus(B),R,0,1),w=w.plus(I.times(N)),B=B.plus(I.times(R)),w.s=N.s=$.s,M=M*2,k=L(N,R,M,Ce).minus($).abs().comparedTo(L(w,B,M,Ce).minus($).abs())<1?[N,R]:[w,B],nt=x,k},q.toNumber=function(){return+re(this)},q.toPrecision=function(h,y){return h!=null&&oe(h,1,G),m(this,h,y,2)},q.toString=function(h){var y,B=this,R=B.s,I=B.e;return I===null?R?(y="Infinity",R<0&&(y="-"+y)):y="NaN":(h==null?y=I<=Te||I>=ze?ue(J(B.c),I):ye(J(B.c),I,"0"):h===10&&oo?(B=Ze(new D(B),me+I+1,Ce),y=ye(J(B.c),B.e,"0")):(oe(h,2,lt.length,"Base"),y=ne(ye(J(B.c),I,"0"),10,h,R,!0)),R<0&&B.c[0]&&(y="-"+y)),y},q.valueOf=q.toJSON=function(){return re(this)},q._isBigNumber=!0,X!=null&&D.set(X),D}function Y(X){var L=X|0;return X>0||X===L?L:L-1}function J(X){for(var L,ne,ge=1,q=X.length,Ie=X[0]+"";ge<q;){for(L=X[ge++]+"",ne=_-L.length;ne--;L="0"+L);Ie+=L}for(q=Ie.length;Ie.charCodeAt(--q)===48;);return Ie.slice(0,q+1||1)}function se(X,L){var ne,ge,q=X.c,Ie=L.c,me=X.s,Ce=L.s,Te=X.e,ze=L.e;if(!me||!Ce)return null;if(ne=q&&!q[0],ge=Ie&&!Ie[0],ne||ge)return ne?ge?0:-Ce:me;if(me!=Ce)return me;if(ne=me<0,ge=Te==ze,!q||!Ie)return ge?0:!q^ne?1:-1;if(!ge)return Te>ze^ne?1:-1;for(Ce=(Te=q.length)<(ze=Ie.length)?Te:ze,me=0;me<Ce;me++)if(q[me]!=Ie[me])return q[me]>Ie[me]^ne?1:-1;return Te==ze?0:Te>ze^ne?1:-1}function oe(X,L,ne,ge){if(X<L||X>ne||X!==i(X))throw Error(s+(ge||"Argument")+(typeof X=="number"?X<L||X>ne?" out of range: ":" not an integer: ":" not a primitive number: ")+String(X))}function ie(X){var L=X.c.length-1;return Y(X.e/_)==L&&X.c[L]%2!=0}function ue(X,L){return(X.length>1?X.charAt(0)+"."+X.slice(1):X)+(L<0?"e":"e+")+L}function ye(X,L,ne){var ge,q;if(L<0){for(q=ne+".";++L;q+=ne);X=q+X}else if(ge=X.length,++L>ge){for(q=ne,L-=ge;--L;q+=ne);X+=q}else L<ge&&(X=X.slice(0,L)+"."+X.slice(L));return X}o=O(),o.default=o.BigNumber=o,typeof define=="function"&&define.amd?define(function(){return o}):typeof Gn<"u"&&Gn.exports?Gn.exports=o:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=o)})(Qg)});var kg=ee((bb,Gg)=>{Gg.exports=function(o,r,n){var i=new o.Uint8Array(n),s=r.pushInt,p=r.pushInt32,l=r.pushInt32Neg,_=r.pushInt64,C=r.pushInt64Neg,Q=r.pushFloat,P=r.pushFloatSingle,G=r.pushFloatDouble,O=r.pushTrue,Y=r.pushFalse,J=r.pushUndefined,se=r.pushNull,oe=r.pushInfinity,ie=r.pushInfinityNeg,ue=r.pushNaN,ye=r.pushNaNNeg,X=r.pushArrayStart,L=r.pushArrayStartFixed,ne=r.pushArrayStartFixed32,ge=r.pushArrayStartFixed64,q=r.pushObjectStart,Ie=r.pushObjectStartFixed,me=r.pushObjectStartFixed32,Ce=r.pushObjectStartFixed64,Te=r.pushByteString,ze=r.pushByteStringStart,Le=r.pushUtf8String,nt=r.pushUtf8StringStart,st=r.pushSimpleUnassigned,Oe=r.pushTagStart,at=r.pushTagStart4,to=r.pushTagStart8,lt=r.pushTagUnassigned,oo=r.pushBreak,D=o.Math.pow,m=0,Pt=0,Rt=0;function Ze(v){for(v=v|0,m=0,Pt=v;(m|0)<(Pt|0)&&(Rt=Nu[i[m]&255](i[m]|0)|0,!((Rt|0)>0)););return Rt|0}function re(v){return v=v|0,((m|0)+(v|0)|0)<(Pt|0)?0:1}function h(v){return v=v|0,i[v|0]<<8|i[v+1|0]|0}function y(v){return v=v|0,i[v|0]<<24|i[v+1|0]<<16|i[v+2|0]<<8|i[v+3|0]|0}function B(v){return v=v|0,s(v|0),m=m+1|0,0}function R(v){return v=v|0,re(1)|0?1:(s(i[m+1|0]|0),m=m+2|0,0)}function I(v){return v=v|0,re(2)|0?1:(s(h(m+1|0)|0),m=m+3|0,0)}function M(v){return v=v|0,re(4)|0?1:(p(h(m+1|0)|0,h(m+3|0)|0),m=m+5|0,0)}function x(v){return v=v|0,re(8)|0?1:(_(h(m+1|0)|0,h(m+3|0)|0,h(m+5|0)|0,h(m+7|0)|0),m=m+9|0,0)}function E(v){return v=v|0,s(-1-(v-32|0)|0),m=m+1|0,0}function w(v){return v=v|0,re(1)|0?1:(s(-1-(i[m+1|0]|0)|0),m=m+2|0,0)}function N(v){v=v|0;var fe=0;return re(2)|0?1:(fe=h(m+1|0)|0,s(-1-(fe|0)|0),m=m+3|0,0)}function S(v){return v=v|0,re(4)|0?1:(l(h(m+1|0)|0,h(m+3|0)|0),m=m+5|0,0)}function k(v){return v=v|0,re(8)|0?1:(C(h(m+1|0)|0,h(m+3|0)|0,h(m+5|0)|0,h(m+7|0)|0),m=m+9|0,0)}function W(v){v=v|0;var fe=0,be=0,de=0;return de=v-64|0,re(de|0)|0?1:(fe=m+1|0,be=(m+1|0)+(de|0)|0,Te(fe|0,be|0),m=be|0,0)}function $(v){v=v|0;var fe=0,be=0,de=0;return re(1)|0||(de=i[m+1|0]|0,fe=m+2|0,be=(m+2|0)+(de|0)|0,re(de+1|0)|0)?1:(Te(fe|0,be|0),m=be|0,0)}function Ae(v){v=v|0;var fe=0,be=0,de=0;return re(2)|0||(de=h(m+1|0)|0,fe=m+3|0,be=(m+3|0)+(de|0)|0,re(de+2|0)|0)?1:(Te(fe|0,be|0),m=be|0,0)}function Be(v){v=v|0;var fe=0,be=0,de=0;return re(4)|0||(de=y(m+1|0)|0,fe=m+5|0,be=(m+5|0)+(de|0)|0,re(de+4|0)|0)?1:(Te(fe|0,be|0),m=be|0,0)}function Ne(v){return v=v|0,1}function pe(v){return v=v|0,ze(),m=m+1|0,0}function te(v){v=v|0;var fe=0,be=0,de=0;return de=v-96|0,re(de|0)|0?1:(fe=m+1|0,be=(m+1|0)+(de|0)|0,Le(fe|0,be|0),m=be|0,0)}function Ge(v){v=v|0;var fe=0,be=0,de=0;return re(1)|0||(de=i[m+1|0]|0,fe=m+2|0,be=(m+2|0)+(de|0)|0,re(de+1|0)|0)?1:(Le(fe|0,be|0),m=be|0,0)}function vt(v){v=v|0;var fe=0,be=0,de=0;return re(2)|0||(de=h(m+1|0)|0,fe=m+3|0,be=(m+3|0)+(de|0)|0,re(de+2|0)|0)?1:(Le(fe|0,be|0),m=be|0,0)}function Nt(v){v=v|0;var fe=0,be=0,de=0;return re(4)|0||(de=y(m+1|0)|0,fe=m+5|0,be=(m+5|0)+(de|0)|0,re(de+4|0)|0)?1:(Le(fe|0,be|0),m=be|0,0)}function ro(v){return v=v|0,1}function He(v){return v=v|0,nt(),m=m+1|0,0}function _e(v){return v=v|0,L(v-128|0),m=m+1|0,0}function Xe(v){return v=v|0,re(1)|0?1:(L(i[m+1|0]|0),m=m+2|0,0)}function je(v){return v=v|0,re(2)|0?1:(L(h(m+1|0)|0),m=m+3|0,0)}function we(v){return v=v|0,re(4)|0?1:(ne(h(m+1|0)|0,h(m+3|0)|0),m=m+5|0,0)}function fr(v){return v=v|0,re(8)|0?1:(ge(h(m+1|0)|0,h(m+3|0)|0,h(m+5|0)|0,h(m+7|0)|0),m=m+9|0,0)}function hr(v){return v=v|0,X(),m=m+1|0,0}function Ee(v){v=v|0;var fe=0;return fe=v-160|0,re(fe|0)|0?1:(Ie(fe|0),m=m+1|0,0)}function _r(v){return v=v|0,re(1)|0?1:(Ie(i[m+1|0]|0),m=m+2|0,0)}function br(v){return v=v|0,re(2)|0?1:(Ie(h(m+1|0)|0),m=m+3|0,0)}function yr(v){return v=v|0,re(4)|0?1:(me(h(m+1|0)|0,h(m+3|0)|0),m=m+5|0,0)}function Br(v){return v=v|0,re(8)|0?1:(Ce(h(m+1|0)|0,h(m+3|0)|0,h(m+5|0)|0,h(m+7|0)|0),m=m+9|0,0)}function Er(v){return v=v|0,q(),m=m+1|0,0}function Ut(v){return v=v|0,Oe(v-192|0|0),m=m+1|0,0}function rn(v){return v=v|0,Oe(v|0),m=m+1|0,0}function Eh(v){return v=v|0,Oe(v|0),m=m+1|0,0}function vh(v){return v=v|0,Oe(v|0),m=m+1|0,0}function mh(v){return v=v|0,Oe(v|0),m=m+1|0,0}function $e(v){return v=v|0,Oe(v-192|0|0),m=m+1|0,0}function Ih(v){return v=v|0,Oe(v|0),m=m+1|0,0}function Ch(v){return v=v|0,Oe(v|0),m=m+1|0,0}function wh(v){return v=v|0,Oe(v|0),m=m+1|0,0}function _u(v){return v=v|0,re(1)|0?1:(Oe(i[m+1|0]|0),m=m+2|0,0)}function bu(v){return v=v|0,re(2)|0?1:(Oe(h(m+1|0)|0),m=m+3|0,0)}function yu(v){return v=v|0,re(4)|0?1:(at(h(m+1|0)|0,h(m+3|0)|0),m=m+5|0,0)}function Bu(v){return v=v|0,re(8)|0?1:(to(h(m+1|0)|0,h(m+3|0)|0,h(m+5|0)|0,h(m+7|0)|0),m=m+9|0,0)}function We(v){return v=v|0,st((v|0)-224|0),m=m+1|0,0}function Eu(v){return v=v|0,Y(),m=m+1|0,0}function vu(v){return v=v|0,O(),m=m+1|0,0}function mu(v){return v=v|0,se(),m=m+1|0,0}function Iu(v){return v=v|0,J(),m=m+1|0,0}function Cu(v){return v=v|0,re(1)|0?1:(st(i[m+1|0]|0),m=m+2|0,0)}function wu(v){v=v|0;var fe=0,be=0,de=1,nn=0,vr=0,Mh=0;return re(2)|0?1:(fe=i[m+1|0]|0,be=i[m+2|0]|0,(fe|0)&128&&(de=-1),nn=+(((fe|0)&124)>>2),vr=+(((fe|0)&3)<<8|be),+nn==0?Q(+(+de*5960464477539063e-23*+vr)):+nn==31?+de==1?+vr>0?ue():oe():+vr>0?ye():ie():Q(+(+de*D(2,+(+nn-25))*+(1024+vr))),m=m+3|0,0)}function Mu(v){return v=v|0,re(4)|0?1:(P(i[m+1|0]|0,i[m+2|0]|0,i[m+3|0]|0,i[m+4|0]|0),m=m+5|0,0)}function Su(v){return v=v|0,re(8)|0?1:(G(i[m+1|0]|0,i[m+2|0]|0,i[m+3|0]|0,i[m+4|0]|0,i[m+5|0]|0,i[m+6|0]|0,i[m+7|0]|0,i[m+8|0]|0),m=m+9|0,0)}function Se(v){return v=v|0,1}function Ru(v){return v=v|0,oo(),m=m+1|0,0}var Nu=[B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,R,I,M,x,Se,Se,Se,Se,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,w,N,S,k,Se,Se,Se,Se,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,$,Ae,Be,Ne,Se,Se,Se,pe,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,te,Ge,vt,Nt,ro,Se,Se,Se,He,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,_e,Xe,je,we,fr,Se,Se,Se,hr,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,Ee,_r,br,yr,Br,Se,Se,Se,Er,Ut,Ut,Ut,Ut,Ut,Ut,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,$e,_u,bu,yu,Bu,Se,Se,Se,Se,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,We,Eu,vu,mu,Iu,Cu,wu,Mu,Su,Se,Se,Se,Ru];return{parse:Ze}}});var Wr=ee(yt=>{"use strict";var ns=Hr().BigNumber;yt.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7};yt.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36};yt.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31};yt.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23};yt.SYMS={NULL:Symbol("null"),UNDEFINED:Symbol("undef"),PARENT:Symbol("parent"),BREAK:Symbol("break"),STREAM:Symbol("stream")};yt.SHIFT32=Math.pow(2,32);yt.SHIFT16=Math.pow(2,16);yt.MAX_SAFE_HIGH=2097151;yt.NEG_ONE=new ns(-1);yt.TEN=new ns(10);yt.TWO=new ns(2);yt.PARENT={ARRAY:0,OBJECT:1,MAP:2,TAG:3,BYTE_STRING:4,UTF8_STRING:5}});var kn=ee(Ct=>{"use strict";var{Buffer:cA}=require("buffer"),Ug=Hr().BigNumber,jg=Wr(),Pg=jg.SHIFT32,uA=jg.SHIFT16,lA=2097151;Ct.parseHalf=function(o){var r,n,i;return i=o[0]&128?-1:1,r=(o[0]&124)>>2,n=(o[0]&3)<<8|o[1],r?r===31?i*(n?0/0:1/0):i*Math.pow(2,r-25)*(1024+n):i*5960464477539063e-23*n};function AA(t){return t<16?"0"+t.toString(16):t.toString(16)}Ct.arrayBufferToBignumber=function(t){let o=t.byteLength,r="";for(let n=0;n<o;n++)r+=AA(t[n]);return new Ug(r,16)};Ct.buildMap=t=>{let o=new Map,r=Object.keys(t),n=r.length;for(let i=0;i<n;i++)o.set(r[i],t[r[i]]);return o};Ct.buildInt32=(t,o)=>t*uA+o;Ct.buildInt64=(t,o,r,n)=>{let i=Ct.buildInt32(t,o),s=Ct.buildInt32(r,n);return i>lA?new Ug(i).times(Pg).plus(s):i*Pg+s};Ct.writeHalf=function(o,r){let n=cA.allocUnsafe(4);n.writeFloatBE(r,0);let i=n.readUInt32BE(0);if((i&8191)!==0)return!1;var s=i>>16&32768;let p=i>>23&255,l=i&8388607;if(p>=113&&p<=142)s+=(p-112<<10)+(l>>13);else if(p>=103&&p<113){if(l&(1<<126-p)-1)return!1;s+=l+8388608>>126-p}else return!1;return o.writeUInt16BE(s,0),!0};Ct.keySorter=function(t,o){var r=t[0].byteLength,n=o[0].byteLength;return r>n?1:n>r?-1:t[0].compare(o[0])};Ct.isNegativeZero=t=>t===0&&1/t<0;Ct.nextPowerOf2=t=>{let o=0;if(t&&!(t&t-1))return t;for(;t!==0;)t>>=1,o+=1;return 1<<o}});var as=ee((Eb,Dg)=>{"use strict";var ss=Wr(),dA=ss.MT,Pn=ss.SIMPLE,is=ss.SYMS,Lo=class{constructor(o){if(typeof o!="number")throw new Error("Invalid Simple type: "+typeof o);if(o<0||o>255||(o|0)!==o)throw new Error("value must be a small positive integer: "+o);this.value=o}toString(){return"simple("+this.value+")"}inspect(){return"simple("+this.value+")"}encodeCBOR(o){return o._pushInt(this.value,dA.SIMPLE_FLOAT)}static isSimple(o){return o instanceof Lo}static decode(o,r){switch(r==null&&(r=!0),o){case Pn.FALSE:return!1;case Pn.TRUE:return!0;case Pn.NULL:return r?null:is.NULL;case Pn.UNDEFINED:return r?void 0:is.UNDEFINED;case-1:if(!r)throw new Error("Invalid BREAK");return is.BREAK;default:return new Lo(o)}}};Dg.exports=Lo});var gs=ee((vb,Hg)=>{"use strict";var Zo=class{constructor(o,r,n){if(this.tag=o,this.value=r,this.err=n,typeof this.tag!="number")throw new Error("Invalid tag type ("+typeof this.tag+")");if(this.tag<0||(this.tag|0)!==this.tag)throw new Error("Tag must be a positive integer: "+this.tag)}toString(){return`${this.tag}(${JSON.stringify(this.value)})`}encodeCBOR(o){return o._pushTag(this.tag),o.pushAny(this.value)}convert(o){var r,n;if(n=o!=null?o[this.tag]:void 0,typeof n!="function"&&(n=Zo["_tag"+this.tag],typeof n!="function"))return this;try{return n.call(Zo,this.value)}catch(i){return r=i,this.err=r,this}}};Hg.exports=Zo});var cs=ee((mb,qg)=>{"use strict";var{URL:fA,URLSearchParams:hA,format:_A}=require("url"),Wg="http://localhost",ps=class extends fA{constructor(o="",r=Wg){super(o,r),this.path=this.pathname+this.search,this.auth=this.username&&this.password?this.username+":"+this.password:null,this.query=this.search&&this.search.startsWith("?")?this.search.slice(1):null}format(){return this.toString()}};qg.exports={URLWithLegacySupport:ps,URLSearchParams:hA,format:_A,defaultBase:Wg}});var Yg=ee((Ib,Vg)=>{"use strict";var{URLWithLegacySupport:zg,format:bA}=cs();Vg.exports=(t,o={},r={},n)=>{let i=o.protocol?o.protocol.replace(":",""):"http";i=(r[i]||n||i)+":";let s;try{s=new zg(t)}catch{s={}}let p=Object.assign({},o,{protocol:i||s.protocol,host:o.host||s.host});return new zg(t,bA(p)).toString()}});var us=ee((Cb,Jg)=>{"use strict";var{URLWithLegacySupport:yA,format:BA,URLSearchParams:EA,defaultBase:vA}=cs(),mA=Yg();Jg.exports={URL:yA,URLSearchParams:EA,format:BA,relative:mA,defaultBase:vA}});var ls=ee((wb,Lg)=>{"use strict";var{Buffer:Xo}=require("buffer"),Kg=Ni(),IA=Hr().BigNumber,CA=kg(),ct=kn(),Me=Wr(),wA=as(),MA=gs(),{URL:SA}=us(),lo=class{constructor(o){o=o||{},!o.size||o.size<65536?o.size=65536:o.size=ct.nextPowerOf2(o.size),this._heap=new ArrayBuffer(o.size),this._heap8=new Uint8Array(this._heap),this._buffer=Xo.from(this._heap),this._reset(),this._knownTags=Object.assign({0:r=>new Date(r),1:r=>new Date(r*1e3),2:r=>ct.arrayBufferToBignumber(r),3:r=>Me.NEG_ONE.minus(ct.arrayBufferToBignumber(r)),4:r=>Me.TEN.pow(r[0]).times(r[1]),5:r=>Me.TWO.pow(r[0]).times(r[1]),32:r=>new SA(r),35:r=>new RegExp(r)},o.tags),this.parser=CA(global,{log:console.log.bind(console),pushInt:this.pushInt.bind(this),pushInt32:this.pushInt32.bind(this),pushInt32Neg:this.pushInt32Neg.bind(this),pushInt64:this.pushInt64.bind(this),pushInt64Neg:this.pushInt64Neg.bind(this),pushFloat:this.pushFloat.bind(this),pushFloatSingle:this.pushFloatSingle.bind(this),pushFloatDouble:this.pushFloatDouble.bind(this),pushTrue:this.pushTrue.bind(this),pushFalse:this.pushFalse.bind(this),pushUndefined:this.pushUndefined.bind(this),pushNull:this.pushNull.bind(this),pushInfinity:this.pushInfinity.bind(this),pushInfinityNeg:this.pushInfinityNeg.bind(this),pushNaN:this.pushNaN.bind(this),pushNaNNeg:this.pushNaNNeg.bind(this),pushArrayStart:this.pushArrayStart.bind(this),pushArrayStartFixed:this.pushArrayStartFixed.bind(this),pushArrayStartFixed32:this.pushArrayStartFixed32.bind(this),pushArrayStartFixed64:this.pushArrayStartFixed64.bind(this),pushObjectStart:this.pushObjectStart.bind(this),pushObjectStartFixed:this.pushObjectStartFixed.bind(this),pushObjectStartFixed32:this.pushObjectStartFixed32.bind(this),pushObjectStartFixed64:this.pushObjectStartFixed64.bind(this),pushByteString:this.pushByteString.bind(this),pushByteStringStart:this.pushByteStringStart.bind(this),pushUtf8String:this.pushUtf8String.bind(this),pushUtf8StringStart:this.pushUtf8StringStart.bind(this),pushSimpleUnassigned:this.pushSimpleUnassigned.bind(this),pushTagUnassigned:this.pushTagUnassigned.bind(this),pushTagStart:this.pushTagStart.bind(this),pushTagStart4:this.pushTagStart4.bind(this),pushTagStart8:this.pushTagStart8.bind(this),pushBreak:this.pushBreak.bind(this)},this._heap)}get _depth(){return this._parents.length}get _currentParent(){return this._parents[this._depth-1]}get _ref(){return this._currentParent.ref}_closeParent(){var o=this._parents.pop();if(o.length>0)throw new Error(`Missing ${o.length} elements`);switch(o.type){case Me.PARENT.TAG:this._push(this.createTag(o.ref[0],o.ref[1]));break;case Me.PARENT.BYTE_STRING:this._push(this.createByteString(o.ref,o.length));break;case Me.PARENT.UTF8_STRING:this._push(this.createUtf8String(o.ref,o.length));break;case Me.PARENT.MAP:if(o.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createMap(o.ref,o.length));break;case Me.PARENT.OBJECT:if(o.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createObject(o.ref,o.length));break;case Me.PARENT.ARRAY:this._push(this.createArray(o.ref,o.length));break;default:break}this._currentParent&&this._currentParent.type===Me.PARENT.TAG&&this._dec()}_dec(){let o=this._currentParent;o.length<0||(o.length--,o.length===0&&this._closeParent())}_push(o,r){let n=this._currentParent;switch(n.values++,n.type){case Me.PARENT.ARRAY:case Me.PARENT.BYTE_STRING:case Me.PARENT.UTF8_STRING:n.length>-1?this._ref[this._ref.length-n.length]=o:this._ref.push(o),this._dec();break;case Me.PARENT.OBJECT:n.tmpKey!=null?(this._ref[n.tmpKey]=o,n.tmpKey=null,this._dec()):(n.tmpKey=o,typeof n.tmpKey!="string"&&(n.type=Me.PARENT.MAP,n.ref=ct.buildMap(n.ref)));break;case Me.PARENT.MAP:n.tmpKey!=null?(this._ref.set(n.tmpKey,o),n.tmpKey=null,this._dec()):n.tmpKey=o;break;case Me.PARENT.TAG:this._ref.push(o),r||this._dec();break;default:throw new Error("Unknown parent type")}}_createParent(o,r,n){this._parents[this._depth]={type:r,length:n,ref:o,values:0,tmpKey:null}}_reset(){this._res=[],this._parents=[{type:Me.PARENT.ARRAY,length:-1,ref:this._res,values:0,tmpKey:null}]}createTag(o,r){let n=this._knownTags[o];return n?n(r):new MA(o,r)}createMap(o,r){return o}createObject(o,r){return o}createArray(o,r){return o}createByteString(o,r){return Xo.concat(o)}createByteStringFromHeap(o,r){return o===r?Xo.alloc(0):Xo.from(this._heap.slice(o,r))}createInt(o){return o}createInt32(o,r){return ct.buildInt32(o,r)}createInt64(o,r,n,i){return ct.buildInt64(o,r,n,i)}createFloat(o){return o}createFloatSingle(o,r,n,i){return Kg.read([o,r,n,i],0,!1,23,4)}createFloatDouble(o,r,n,i,s,p,l,_){return Kg.read([o,r,n,i,s,p,l,_],0,!1,52,8)}createInt32Neg(o,r){return-1-ct.buildInt32(o,r)}createInt64Neg(o,r,n,i){let s=ct.buildInt32(o,r),p=ct.buildInt32(n,i);return s>Me.MAX_SAFE_HIGH?Me.NEG_ONE.minus(new IA(s).times(Me.SHIFT32).plus(p)):-1-(s*Me.SHIFT32+p)}createTrue(){return!0}createFalse(){return!1}createNull(){return null}createUndefined(){}createInfinity(){return 1/0}createInfinityNeg(){return-1/0}createNaN(){return NaN}createNaNNeg(){return NaN}createUtf8String(o,r){return o.join("")}createUtf8StringFromHeap(o,r){return o===r?"":this._buffer.toString("utf8",o,r)}createSimpleUnassigned(o){return new wA(o)}pushInt(o){this._push(this.createInt(o))}pushInt32(o,r){this._push(this.createInt32(o,r))}pushInt64(o,r,n,i){this._push(this.createInt64(o,r,n,i))}pushFloat(o){this._push(this.createFloat(o))}pushFloatSingle(o,r,n,i){this._push(this.createFloatSingle(o,r,n,i))}pushFloatDouble(o,r,n,i,s,p,l,_){this._push(this.createFloatDouble(o,r,n,i,s,p,l,_))}pushInt32Neg(o,r){this._push(this.createInt32Neg(o,r))}pushInt64Neg(o,r,n,i){this._push(this.createInt64Neg(o,r,n,i))}pushTrue(){this._push(this.createTrue())}pushFalse(){this._push(this.createFalse())}pushNull(){this._push(this.createNull())}pushUndefined(){this._push(this.createUndefined())}pushInfinity(){this._push(this.createInfinity())}pushInfinityNeg(){this._push(this.createInfinityNeg())}pushNaN(){this._push(this.createNaN())}pushNaNNeg(){this._push(this.createNaNNeg())}pushArrayStart(){this._createParent([],Me.PARENT.ARRAY,-1)}pushArrayStartFixed(o){this._createArrayStartFixed(o)}pushArrayStartFixed32(o,r){let n=ct.buildInt32(o,r);this._createArrayStartFixed(n)}pushArrayStartFixed64(o,r,n,i){let s=ct.buildInt64(o,r,n,i);this._createArrayStartFixed(s)}pushObjectStart(){this._createObjectStartFixed(-1)}pushObjectStartFixed(o){this._createObjectStartFixed(o)}pushObjectStartFixed32(o,r){let n=ct.buildInt32(o,r);this._createObjectStartFixed(n)}pushObjectStartFixed64(o,r,n,i){let s=ct.buildInt64(o,r,n,i);this._createObjectStartFixed(s)}pushByteStringStart(){this._parents[this._depth]={type:Me.PARENT.BYTE_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushByteString(o,r){this._push(this.createByteStringFromHeap(o,r))}pushUtf8StringStart(){this._parents[this._depth]={type:Me.PARENT.UTF8_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushUtf8String(o,r){this._push(this.createUtf8StringFromHeap(o,r))}pushSimpleUnassigned(o){this._push(this.createSimpleUnassigned(o))}pushTagStart(o){this._parents[this._depth]={type:Me.PARENT.TAG,length:1,ref:[o]}}pushTagStart4(o,r){this.pushTagStart(ct.buildInt32(o,r))}pushTagStart8(o,r,n,i){this.pushTagStart(ct.buildInt64(o,r,n,i))}pushTagUnassigned(o){this._push(this.createTag(o))}pushBreak(){if(this._currentParent.length>-1)throw new Error("Unexpected break");this._closeParent()}_createObjectStartFixed(o){if(o===0){this._push(this.createObject({}));return}this._createParent({},Me.PARENT.OBJECT,o)}_createArrayStartFixed(o){if(o===0){this._push(this.createArray([]));return}this._createParent(new Array(o),Me.PARENT.ARRAY,o)}_decode(o){if(o.byteLength===0)throw new Error("Input too short");this._reset(),this._heap8.set(o);let r=this.parser.parse(o.byteLength);if(this._depth>1){for(;this._currentParent.length===0;)this._closeParent();if(this._depth>1)throw new Error("Undeterminated nesting")}if(r>0)throw new Error("Failed to parse");if(this._res.length===0)throw new Error("No valid result")}decodeFirst(o){return this._decode(o),this._res[0]}decodeAll(o){return this._decode(o),this._res}static decode(o,r){return typeof o=="string"&&(o=Xo.from(o,r||"hex")),new lo({size:o.length}).decodeFirst(o)}static decodeAll(o,r){return typeof o=="string"&&(o=Xo.from(o,r||"hex")),new lo({size:o.length}).decodeAll(o)}};lo.decodeFirst=lo.decode;Lg.exports=lo});var $g=ee((Mb,Xg)=>{"use strict";var{Buffer:As}=require("buffer"),RA=ls(),NA=kn(),qr=class extends RA{createTag(o,r){return`${o}(${r})`}createInt(o){return super.createInt(o).toString()}createInt32(o,r){return super.createInt32(o,r).toString()}createInt64(o,r,n,i){return super.createInt64(o,r,n,i).toString()}createInt32Neg(o,r){return super.createInt32Neg(o,r).toString()}createInt64Neg(o,r,n,i){return super.createInt64Neg(o,r,n,i).toString()}createTrue(){return"true"}createFalse(){return"false"}createFloat(o){let r=super.createFloat(o);return NA.isNegativeZero(o)?"-0_1":`${r}_1`}createFloatSingle(o,r,n,i){return`${super.createFloatSingle(o,r,n,i)}_2`}createFloatDouble(o,r,n,i,s,p,l,_){return`${super.createFloatDouble(o,r,n,i,s,p,l,_)}_3`}createByteString(o,r){let n=o.join(", ");return r===-1?`(_ ${n})`:`h'${n}`}createByteStringFromHeap(o,r){return`h'${As.from(super.createByteStringFromHeap(o,r)).toString("hex")}'`}createInfinity(){return"Infinity_1"}createInfinityNeg(){return"-Infinity_1"}createNaN(){return"NaN_1"}createNaNNeg(){return"-NaN_1"}createNull(){return"null"}createUndefined(){return"undefined"}createSimpleUnassigned(o){return`simple(${o})`}createArray(o,r){let n=super.createArray(o,r);return r===-1?`[_ ${n.join(", ")}]`:`[${n.join(", ")}]`}createMap(o,r){let n=super.createMap(o),i=Array.from(n.keys()).reduce(Zg(n),"");return r===-1?`{_ ${i}}`:`{${i}}`}createObject(o,r){let n=super.createObject(o),i=Object.keys(n).reduce(Zg(n),"");return r===-1?`{_ ${i}}`:`{${i}}`}createUtf8String(o,r){let n=o.join(", ");return r===-1?`(_ ${n})`:`"${n}"`}createUtf8StringFromHeap(o,r){return`"${As.from(super.createUtf8StringFromHeap(o,r)).toString("utf8")}"`}static diagnose(o,r){return typeof o=="string"&&(o=As.from(o,r||"hex")),new qr().decodeFirst(o)}};Xg.exports=qr;function Zg(t){return(o,r)=>o?`${o}, ${r}: ${t[r]}`:`${r}: ${t[r]}`}});var np=ee((Sb,rp)=>{"use strict";var{Buffer:Kt}=require("buffer"),{URL:xA}=us(),fs=Hr().BigNumber,ds=kn(),Ye=Wr(),Tt=Ye.MT,Un=Ye.NUMBYTES,ep=Ye.SHIFT32,tp=Ye.SYMS,$o=Ye.TAG,FA=Ye.MT.SIMPLE_FLOAT<<5|Ye.NUMBYTES.TWO,TA=Ye.MT.SIMPLE_FLOAT<<5|Ye.NUMBYTES.FOUR,OA=Ye.MT.SIMPLE_FLOAT<<5|Ye.NUMBYTES.EIGHT,QA=Ye.MT.SIMPLE_FLOAT<<5|Ye.SIMPLE.TRUE,GA=Ye.MT.SIMPLE_FLOAT<<5|Ye.SIMPLE.FALSE,kA=Ye.MT.SIMPLE_FLOAT<<5|Ye.SIMPLE.UNDEFINED,op=Ye.MT.SIMPLE_FLOAT<<5|Ye.SIMPLE.NULL,PA=new fs("0x20000000000000"),UA=Kt.from("f97e00","hex"),jA=Kt.from("f9fc00","hex"),DA=Kt.from("f97c00","hex");function HA(t){return{}.toString.call(t).slice(8,-1)}var er=class{constructor(o){o=o||{},this.streaming=typeof o.stream=="function",this.onData=o.stream,this.semanticTypes=[[xA,this._pushUrl],[fs,this._pushBigNumber]];let r=o.genTypes||[],n=r.length;for(let i=0;i<n;i++)this.addSemanticType(r[i][0],r[i][1]);this._reset()}addSemanticType(o,r){let n=this.semanticTypes.length;for(let i=0;i<n;i++)if(this.semanticTypes[i][0]===o){let p=this.semanticTypes[i][1];return this.semanticTypes[i][1]=r,p}return this.semanticTypes.push([o,r]),null}push(o){return o&&(this.result[this.offset]=o,this.resultMethod[this.offset]=0,this.resultLength[this.offset]=o.length,this.offset++,this.streaming&&this.onData(this.finalize())),!0}pushWrite(o,r,n){return this.result[this.offset]=o,this.resultMethod[this.offset]=r,this.resultLength[this.offset]=n,this.offset++,this.streaming&&this.onData(this.finalize()),!0}_pushUInt8(o){return this.pushWrite(o,1,1)}_pushUInt16BE(o){return this.pushWrite(o,2,2)}_pushUInt32BE(o){return this.pushWrite(o,3,4)}_pushDoubleBE(o){return this.pushWrite(o,4,8)}_pushNaN(){return this.push(UA)}_pushInfinity(o){let r=o<0?jA:DA;return this.push(r)}_pushFloat(o){let r=Kt.allocUnsafe(2);if(ds.writeHalf(r,o)&&ds.parseHalf(r)===o)return this._pushUInt8(FA)&&this.push(r);let n=Kt.allocUnsafe(4);return n.writeFloatBE(o,0),n.readFloatBE(0)===o?this._pushUInt8(TA)&&this.push(n):this._pushUInt8(OA)&&this._pushDoubleBE(o)}_pushInt(o,r,n){let i=r<<5;return o<24?this._pushUInt8(i|o):o<=255?this._pushUInt8(i|Un.ONE)&&this._pushUInt8(o):o<=65535?this._pushUInt8(i|Un.TWO)&&this._pushUInt16BE(o):o<=4294967295?this._pushUInt8(i|Un.FOUR)&&this._pushUInt32BE(o):o<=Number.MAX_SAFE_INTEGER?this._pushUInt8(i|Un.EIGHT)&&this._pushUInt32BE(Math.floor(o/ep))&&this._pushUInt32BE(o%ep):r===Tt.NEG_INT?this._pushFloat(n):this._pushFloat(o)}_pushIntNum(o){return o<0?this._pushInt(-o-1,Tt.NEG_INT,o):this._pushInt(o,Tt.POS_INT)}_pushNumber(o){switch(!1){case o===o:return this._pushNaN(o);case isFinite(o):return this._pushInfinity(o);case o%1!==0:return this._pushIntNum(o);default:return this._pushFloat(o)}}_pushString(o){let r=Kt.byteLength(o,"utf8");return this._pushInt(r,Tt.UTF8_STRING)&&this.pushWrite(o,5,r)}_pushBoolean(o){return this._pushUInt8(o?QA:GA)}_pushUndefined(o){return this._pushUInt8(kA)}_pushArray(o,r){let n=r.length;if(!o._pushInt(n,Tt.ARRAY))return!1;for(let i=0;i<n;i++)if(!o.pushAny(r[i]))return!1;return!0}_pushTag(o){return this._pushInt(o,Tt.TAG)}_pushDate(o,r){return o._pushTag($o.DATE_EPOCH)&&o.pushAny(Math.round(r/1e3))}_pushBuffer(o,r){return o._pushInt(r.length,Tt.BYTE_STRING)&&o.push(r)}_pushNoFilter(o,r){return o._pushBuffer(o,r.slice())}_pushRegexp(o,r){return o._pushTag($o.REGEXP)&&o.pushAny(r.source)}_pushSet(o,r){if(!o._pushInt(r.size,Tt.ARRAY))return!1;for(let n of r)if(!o.pushAny(n))return!1;return!0}_pushUrl(o,r){return o._pushTag($o.URI)&&o.pushAny(r.format())}_pushBigint(o){let r=$o.POS_BIGINT;o.isNegative()&&(o=o.negated().minus(1),r=$o.NEG_BIGINT);let n=o.toString(16);n.length%2&&(n="0"+n);let i=Kt.from(n,"hex");return this._pushTag(r)&&this._pushBuffer(this,i)}_pushBigNumber(o,r){if(r.isNaN())return o._pushNaN();if(!r.isFinite())return o._pushInfinity(r.isNegative()?-1/0:1/0);if(r.isInteger())return o._pushBigint(r);if(!(o._pushTag($o.DECIMAL_FRAC)&&o._pushInt(2,Tt.ARRAY)))return!1;let n=r.decimalPlaces(),i=r.multipliedBy(new fs(10).pow(n));return o._pushIntNum(-n)?i.abs().isLessThan(PA)?o._pushIntNum(i.toNumber()):o._pushBigint(i):!1}_pushMap(o,r){return o._pushInt(r.size,Tt.MAP)?this._pushRawMap(r.size,Array.from(r)):!1}_pushObject(o){if(!o)return this._pushUInt8(op);for(var r=this.semanticTypes.length,n=0;n<r;n++)if(o instanceof this.semanticTypes[n][0])return this.semanticTypes[n][1].call(o,this,o);var i=o.encodeCBOR;if(typeof i=="function")return i.call(o,this);var s=Object.keys(o),p=s.length;return this._pushInt(p,Tt.MAP)?this._pushRawMap(p,s.map(l=>[l,o[l]])):!1}_pushRawMap(o,r){r=r.map(function(i){return i[0]=er.encode(i[0]),i}).sort(ds.keySorter);for(var n=0;n<o;n++)if(!this.push(r[n][0])||!this.pushAny(r[n][1]))return!1;return!0}write(o){return this.pushAny(o)}pushAny(o){var r=HA(o);switch(r){case"Number":return this._pushNumber(o);case"String":return this._pushString(o);case"Boolean":return this._pushBoolean(o);case"Object":return this._pushObject(o);case"Array":return this._pushArray(this,o);case"Uint8Array":return this._pushBuffer(this,Kt.isBuffer(o)?o:Kt.from(o));case"Null":return this._pushUInt8(op);case"Undefined":return this._pushUndefined(o);case"Map":return this._pushMap(this,o);case"Set":return this._pushSet(this,o);case"URL":return this._pushUrl(this,o);case"BigNumber":return this._pushBigNumber(this,o);case"Date":return this._pushDate(this,o);case"RegExp":return this._pushRegexp(this,o);case"Symbol":switch(o){case tp.NULL:return this._pushObject(null);case tp.UNDEFINED:return this._pushUndefined(void 0);default:throw new Error("Unknown symbol: "+o.toString())}default:throw new Error("Unknown type: "+typeof o+", "+(o?o.toString():""))}}finalize(){if(this.offset===0)return null;for(var o=this.result,r=this.resultLength,n=this.resultMethod,i=this.offset,s=0,p=0;p<i;p++)s+=r[p];var l=Kt.allocUnsafe(s),_=0,C=0;for(p=0;p<i;p++){switch(C=r[p],n[p]){case 0:o[p].copy(l,_);break;case 1:l.writeUInt8(o[p],_,!0);break;case 2:l.writeUInt16BE(o[p],_,!0);break;case 3:l.writeUInt32BE(o[p],_,!0);break;case 4:l.writeDoubleBE(o[p],_,!0);break;case 5:l.write(o[p],_,C,"utf8");break;default:throw new Error("unkown method")}_+=C}var Q=l;return this._reset(),Q}_reset(){this.result=[],this.resultMethod=[],this.resultLength=[],this.offset=0}static encode(o){let r=new er;if(!r.pushAny(o))throw new Error("Failed to encode input");return r.finalize()}};rp.exports=er});var hs=ee(Je=>{"use strict";Je.Diagnose=$g();Je.Decoder=ls();Je.Encoder=np();Je.Simple=as();Je.Tagged=gs();Je.decodeAll=Je.Decoder.decodeAll;Je.decodeFirst=Je.Decoder.decodeFirst;Je.diagnose=Je.Diagnose.diagnose;Je.encode=Je.Encoder.encode;Je.decode=Je.Decoder.decode;Je.leveldb={decode:Je.Decoder.decodeAll,encode:Je.Encoder.encode,buffer:!0,name:"cbor"}});var Zt=ee(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.compare=Lt.fromHex=Lt.toHex=Lt.concat=void 0;function WA(...t){let o=new Uint8Array(t.reduce((n,i)=>n+i.byteLength,0)),r=0;for(let n of t)o.set(new Uint8Array(n),r),r+=n.byteLength;return o.buffer}Lt.concat=WA;function qA(t){return[...new Uint8Array(t)].map(o=>o.toString(16).padStart(2,"0")).join("")}Lt.toHex=qA;var zA=new RegExp(/^([0-9A-F]{2})*$/i);function VA(t){if(!zA.test(t))throw new Error("Invalid hexadecimal string.");let o=[...t].reduce((r,n,i)=>(r[i/2|0]=(r[i/2|0]||"")+n,r),[]).map(r=>Number.parseInt(r,16));return new Uint8Array(o).buffer}Lt.fromHex=VA;function YA(t,o){if(t.byteLength!==o.byteLength)return t.byteLength-o.byteLength;let r=new Uint8Array(t),n=new Uint8Array(o);for(let i=0;i<r.length;i++)if(r[i]!==n[i])return r[i]-n[i];return 0}Lt.compare=YA});var Vr=ee(Xt=>{"use strict";var JA=Xt&&Xt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.requestIdOf=Xt.hashValue=Xt.hash=void 0;var ip=Dr(),KA=JA(hs()),LA=Fo(),jn=Zt();function Ao(t){return LA.sha256.create().update(new Uint8Array(t)).arrayBuffer()}Xt.hash=Ao;function zr(t){if(t instanceof KA.default.Tagged)return zr(t.value);if(typeof t=="string")return sp(t);if(typeof t=="number")return Ao(ip.lebEncode(t));if(t instanceof ArrayBuffer||ArrayBuffer.isView(t))return Ao(t);if(Array.isArray(t)){let o=t.map(zr);return Ao(jn.concat(...o))}else{if(t&&typeof t=="object"&&t._isPrincipal)return Ao(t.toUint8Array());if(typeof t=="object"&&t!==null&&typeof t.toHash=="function")return zr(t.toHash());if(typeof t=="bigint")return Ao(ip.lebEncode(t))}throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${t}`),{value:t})}Xt.hashValue=zr;var sp=t=>{let o=new TextEncoder().encode(t);return Ao(o)};function ZA(t){let n=Object.entries(t).filter(([,p])=>p!==void 0).map(([p,l])=>{let _=sp(p),C=zr(l);return[_,C]}).sort(([p],[l])=>jn.compare(p,l)),i=jn.concat(...n.map(p=>jn.concat(...p)));return Ao(i)}Xt.requestIdOf=ZA});var ys=ee($t=>{"use strict";var XA=$t&&$t.__rest||function(t,o){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&o.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)o.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r};Object.defineProperty($t,"__esModule",{value:!0});$t.createIdentityDescriptor=$t.AnonymousIdentity=$t.SignIdentity=void 0;var ap=At(),$A=Vr(),gp=Zt(),ed=new TextEncoder().encode(`
14
- ic-request`),_s=class{getPrincipal(){return this._principal||(this._principal=ap.Principal.selfAuthenticating(new Uint8Array(this.getPublicKey().toDer()))),this._principal}async transformRequest(o){let{body:r}=o,n=XA(o,["body"]),i=await $A.requestIdOf(r);return Object.assign(Object.assign({},n),{body:{content:r,sender_pubkey:this.getPublicKey().toDer(),sender_sig:await this.sign(gp.concat(ed,i))}})}};$t.SignIdentity=_s;var bs=class{getPrincipal(){return ap.Principal.anonymous()}async transformRequest(o){return Object.assign(Object.assign({},o),{body:{content:o.body}})}};$t.AnonymousIdentity=bs;function td(t){return"getPublicKey"in t?{type:"PublicKeyIdentity",publicKey:gp.toHex(t.getPublicKey().toDer())}:{type:"AnonymousIdentity"}}$t.createIdentityDescriptor=td});var vs=ee(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});var od=9007199254740992;function ao(t,...o){let r=new Uint8Array(t.byteLength+o.reduce((i,s)=>i+s.byteLength,0));r.set(new Uint8Array(t),0);let n=t.byteLength;for(let i of o)r.set(new Uint8Array(i),n),n+=i.byteLength;return r.buffer}function Ot(t,o,r){r=r.replace(/[^0-9a-fA-F]/g,"");let n=2**(o-24);r=r.slice(-n*2).padStart(n*2,"0");let i=[(t<<5)+o].concat(r.match(/../g).map(s=>parseInt(s,16)));return new Uint8Array(i).buffer}function Dn(t,o){if(o<24)return new Uint8Array([(t<<5)+o]).buffer;{let r=o<=255?24:o<=65535?25:o<=4294967295?26:27;return Ot(t,r,o.toString(16))}}function pp(t){let o=[];for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);n<128?o.push(n):n<2048?o.push(192|n>>6,128|n&63):n<55296||n>=57344?o.push(224|n>>12,128|n>>6&63,128|n&63):(r++,n=(n&1023)<<10|t.charCodeAt(r)&1023,o.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|n&63))}return ao(new Uint8Array(Dn(3,t.length)),new Uint8Array(o))}function rd(t,o){if(t==14277111)return ao(new Uint8Array([217,217,247]),o);if(t<24)return ao(new Uint8Array([(6<<5)+t]),o);{let r=t<=255?24:t<=65535?25:t<=4294967295?26:27,n=2**(r-24),i=t.toString(16).slice(-n*2).padStart(n*2,"0"),s=[(6<<5)+r].concat(i.match(/../g).map(p=>parseInt(p,16)));return new Uint8Array(s).buffer}}Re.tagged=rd;function Yr(t){return new Uint8Array(t).buffer}Re.raw=Yr;function Bs(t){if(isNaN(t))throw new RangeError("Invalid number.");t=Math.min(Math.max(0,t),23);let o=[(0<<5)+t];return new Uint8Array(o).buffer}Re.uSmall=Bs;function cp(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,t),255),t=t.toString(16),Ot(0,24,t)}Re.u8=cp;function up(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,t),65535),t=t.toString(16),Ot(0,25,t)}Re.u16=up;function lp(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,t),4294967295),t=t.toString(16),Ot(0,26,t)}Re.u32=lp;function Es(t,o){if(typeof t=="string"&&o==16){if(t.match(/[^0-9a-fA-F]/))throw new RangeError("Invalid number.");return Ot(0,27,t)}if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,t),od),t=t.toString(16),Ot(0,27,t)}Re.u64=Es;function Ap(t){if(isNaN(t))throw new RangeError("Invalid number.");if(t===0)return Bs(0);t=Math.min(Math.max(0,-t),24)-1;let o=[(1<<5)+t];return new Uint8Array(o).buffer}Re.iSmall=Ap;function dp(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,-t-1),255),t=t.toString(16),Ot(1,24,t)}Re.i8=dp;function fp(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,-t-1),65535),t=t.toString(16),Ot(1,25,t)}Re.i16=fp;function hp(t,o){if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,-t-1),4294967295),t=t.toString(16),Ot(1,26,t)}Re.i32=hp;function _p(t,o){if(typeof t=="string"&&o==16){if(t.startsWith("-")?t=t.slice(1):t="0",t.match(/[^0-9a-fA-F]/)||t.length>16)throw new RangeError("Invalid number.");let r=!1,n=t.split("").reduceRight((i,s)=>{if(r)return s+i;let p=parseInt(s,16)-1;return p>=0?(r=!0,p.toString(16)+i):"f"+i},"");return r?Ot(1,27,n):Es(0)}if(t=parseInt(""+t,o),isNaN(t))throw new RangeError("Invalid number.");return t=Math.min(Math.max(0,-t-1),9007199254740992),t=t.toString(16),Ot(1,27,t)}Re.i64=_p;function nd(t){return t>=0?t<24?Bs(t):t<=255?cp(t):t<=65535?up(t):t<=4294967295?lp(t):Es(t):t>=-24?Ap(t):t>=-255?dp(t):t>=-65535?fp(t):t>=-4294967295?hp(t):_p(t)}Re.number=nd;function id(t){return ao(Dn(2,t.byteLength),t)}Re.bytes=id;function sd(t){return pp(t)}Re.string=sd;function ad(t){return ao(Dn(4,t.length),...t)}Re.array=ad;function gd(t,o=!1){t instanceof Map||(t=new Map(Object.entries(t)));let r=Array.from(t.entries());return o&&(r=r.sort(([n],[i])=>n.localeCompare(i))),ao(Dn(5,t.size),...r.map(([n,i])=>ao(pp(n),i)))}Re.map=gd;function pd(t){let o=new Float32Array([t]);return ao(new Uint8Array([(7<<5)+26]),new Uint8Array(o.buffer))}Re.singleFloat=pd;function cd(t){let o=new Float64Array([t]);return ao(new Uint8Array([(7<<5)+27]),new Uint8Array(o.buffer))}Re.doubleFloat=cd;function ud(t){return t?bp():yp()}Re.bool=ud;function bp(){return Yr(new Uint8Array([(7<<5)+21]))}Re.true_=bp;function yp(){return Yr(new Uint8Array([(7<<5)+20]))}Re.false_=yp;function ld(){return Yr(new Uint8Array([(7<<5)+22]))}Re.null_=ld;function Ad(){return Yr(new Uint8Array([(7<<5)+23]))}Re.undefined_=Ad});var Bp=ee(fo=>{"use strict";var dd=fo&&fo.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)Object.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o.default=t,o};Object.defineProperty(fo,"__esModule",{value:!0});var Qt=dd(vs()),fd=[ArrayBuffer,Uint8Array,Uint16Array,Uint32Array,Int8Array,Int16Array,Int32Array,Float32Array,Float64Array],Hn=class{constructor(o,r=!1){this._serializer=o,this._stable=r,this.name="jsonDefault",this.priority=-100}match(o){return["undefined","boolean","number","string","object"].indexOf(typeof o)!=-1}encode(o){switch(typeof o){case"undefined":return Qt.undefined_();case"boolean":return Qt.bool(o);case"number":return Math.floor(o)===o?Qt.number(o):Qt.doubleFloat(o);case"string":return Qt.string(o);case"object":if(o===null)return Qt.null_();if(Array.isArray(o))return Qt.array(o.map(r=>this._serializer.serializeValue(r)));if(fd.find(r=>o instanceof r))return Qt.bytes(o.buffer);if(Object.getOwnPropertyNames(o).indexOf("toJSON")!==-1)return this.encode(o.toJSON());if(o instanceof Map){let r=new Map;for(let[n,i]of o.entries())r.set(n,this._serializer.serializeValue(i));return Qt.map(r,this._stable)}else{let r=new Map;for(let[n,i]of Object.entries(o))r.set(n,this._serializer.serializeValue(i));return Qt.map(r,this._stable)}default:throw new Error("Invalid value.")}}};fo.JsonDefaultCborEncoder=Hn;var Wn=class{constructor(){this.name="cborEncoder",this.priority=-90}match(o){return typeof o=="object"&&typeof o.toCBOR=="function"}encode(o){return o.toCBOR()}};fo.ToCborEncoder=Wn;var qn=class{constructor(){this._encoders=new Set}static withDefaultEncoders(o=!1){let r=new this;return r.addEncoder(new Hn(r,o)),r.addEncoder(new Wn),r}removeEncoder(o){for(let r of this._encoders.values())r.name==o&&this._encoders.delete(r)}addEncoder(o){this._encoders.add(o)}getEncoderFor(o){let r=null;for(let n of this._encoders)(!r||n.priority>r.priority)&&n.match(o)&&(r=n);if(r===null)throw new Error("Could not find an encoder for value.");return r}serializeValue(o){return this.getEncoderFor(o).encode(o)}serialize(o){return this.serializeValue(o)}};fo.CborSerializer=qn;var ms=class extends qn{serialize(o){return Qt.raw(new Uint8Array([...new Uint8Array([217,217,247]),...new Uint8Array(super.serializeValue(o))]))}};fo.SelfDescribeCborSerializer=ms});var zn=ee(Co=>{"use strict";function hd(t){for(var o in t)Co.hasOwnProperty(o)||(Co[o]=t[o])}var _d=Co&&Co.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)Object.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o.default=t,o};Object.defineProperty(Co,"__esModule",{value:!0});hd(Bp());var bd=_d(vs());Co.value=bd});var Yn=ee(it=>{"use strict";var yd=it&&it.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Bd=it&&it.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),Ed=it&&it.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&yd(o,t,r);return Bd(o,t),o},vd=it&&it.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(it,"__esModule",{value:!0});it.decode=it.encode=it.CborTag=void 0;var md=vd(hs()),tr=Ed(zn()),Id=zn(),Is=Zt(),Cs=class{get name(){return"Principal"}get priority(){return 0}match(o){return o&&o._isPrincipal===!0}encode(o){return tr.value.bytes(o.toUint8Array())}},ws=class{get name(){return"Buffer"}get priority(){return 1}match(o){return o instanceof ArrayBuffer||ArrayBuffer.isView(o)}encode(o){return tr.value.bytes(new Uint8Array(o))}},Ms=class{get name(){return"BigInt"}get priority(){return 1}match(o){return typeof o=="bigint"}encode(o){return o>BigInt(0)?tr.value.tagged(2,tr.value.bytes(Is.fromHex(o.toString(16)))):tr.value.tagged(3,tr.value.bytes(Is.fromHex((BigInt("-1")*o).toString(16))))}},Vn=Id.SelfDescribeCborSerializer.withDefaultEncoders(!0);Vn.addEncoder(new Cs);Vn.addEncoder(new ws);Vn.addEncoder(new Ms);var vp;(function(t){t[t.Uint64LittleEndian=71]="Uint64LittleEndian",t[t.Semantic=55799]="Semantic"})(vp=it.CborTag||(it.CborTag={}));function Cd(t){return Vn.serialize(t)}it.encode=Cd;function Ep(t){let o=t.byteLength,r=BigInt(0);for(let n=0;n<o;n++)r=r*BigInt(256)+BigInt(t[n]);return r}var Ss=class extends md.default.Decoder{createByteString(o){return Is.concat(...o)}createByteStringFromHeap(o,r){return o===r?new ArrayBuffer(0):new Uint8Array(this._heap.slice(o,r))}};function wd(t){let o=new Uint8Array(t);return new Ss({size:o.byteLength,tags:{2:n=>Ep(n),3:n=>-Ep(n),[vp.Semantic]:n=>n}}).decodeFirst(o)}it.decode=wd});var Jr=ee(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.makeNonce=wo.SubmitRequestType=void 0;var Md;(function(t){t.Call="call"})(Md=wo.SubmitRequestType||(wo.SubmitRequestType={}));function Sd(){let t=new ArrayBuffer(16),o=new DataView(t),r=BigInt(+Date.now()),n=Math.floor(Math.random()*4294967295),i=Math.floor(Math.random()*4294967295);if(typeof o.setBigUint64=="function")o.setBigUint64(0,r);else{let s=BigInt(1)<<BigInt(32);o.setUint32(0,Number(r>>BigInt(32))),o.setUint32(4,Number(r%s))}return o.setUint32(8,n),o.setUint32(12,i),t}wo.makeNonce=Sd});var Kn=ee(ht=>{"use strict";var Rd=ht&&ht.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Nd=ht&&ht.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),xd=ht&&ht.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Rd(o,t,r);return Nd(o,t),o};Object.defineProperty(ht,"__esModule",{value:!0});ht.makeExpiryTransform=ht.makeNonceTransform=ht.Expiry=void 0;var Fd=Dr(),Td=xd(zn()),Od=Jr(),Qd=BigInt(1e6),Gd=BigInt(60*1e3),Jn=class{constructor(o){this._value=(BigInt(Date.now())+BigInt(o)-Gd)*Qd}toCBOR(){return Td.value.u64(this._value.toString(16),16)}toHash(){return Fd.lebEncode(this._value)}};ht.Expiry=Jn;function kd(t=Od.makeNonce){return async o=>{o.endpoint==="call"&&(o.body.nonce=t())}}ht.makeNonceTransform=kd;function Pd(t){return async o=>{o.body.ingress_expiry=new Jn(t)}}ht.makeExpiryTransform=Pd});var wp=ee(Ke=>{"use strict";var Ip=Ke&&Ke.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Ud=Ke&&Ke.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),jd=Ke&&Ke.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Ip(o,t,r);return Ud(o,t),o},Dd=Ke&&Ke.__exportStar||function(t,o){for(var r in t)r!=="default"&&!o.hasOwnProperty(r)&&Ip(o,t,r)};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.HttpAgent=Ke.IdentityInvalidError=Ke.RequestStatusResponseStatus=void 0;var Mo=At(),Cp=Bn(),Hd=ys(),or=jd(Yn()),Wd=Vr(),qd=Zt(),Ln=Kn(),mp=Jr();Dd(Kn(),Ke);var zd=Jr();Object.defineProperty(Ke,"makeNonce",{enumerable:!0,get:function(){return zd.makeNonce}});var Vd;(function(t){t.Received="received",t.Processing="processing",t.Replied="replied",t.Rejected="rejected",t.Unknown="unknown",t.Done="done"})(Vd=Ke.RequestStatusResponseStatus||(Ke.RequestStatusResponseStatus={}));var Rs=5*60*1e3,Yd="308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100814c0e6ec71fab583b08bd81373c255c3c371b2e84863c98a4f1e08b74235d14fb5d9c0cd546d9685f913a0c0b2cc5341583bf4b4392e467db96d65b9bb4cb717112f8472e0d5a4d14505ffd7484b01291091c5f87b98883463f98091a0baaae",Jd="ic0.app",Kd=".ic0.app",Kr=class extends Cp.AgentError{constructor(o){super(o),this.message=o}},So=class extends Cp.AgentError{constructor(o){super(o),this.message=o}};Ke.IdentityInvalidError=So;function Ld(){let t;if(typeof window<"u")if(window.fetch)t=window.fetch.bind(window);else throw new Kr("Fetch implementation was not available. You appear to be in a browser context, but window.fetch was not present.");else if(typeof global<"u")if(global.fetch)t=global.fetch.bind(global);else throw new Kr("Fetch implementation was not available. You appear to be in a Node.js context, but global.fetch was not available.");else typeof self<"u"&&self.fetch&&(t=self.fetch.bind(self));if(t)return t;throw new Kr("Fetch implementation was not available. Please provide fetch to the HttpAgent constructor, or ensure it is available in the window or global context.")}var Lr=class{constructor(o={}){if(this.rootKey=qd.fromHex(Yd),this._pipeline=[],this._rootKeyFetched=!1,o.source){if(!(o.source instanceof Lr))throw new Error("An Agent's source can only be another HttpAgent");this._pipeline=[...o.source._pipeline],this._identity=o.source._identity,this._fetch=o.source._fetch,this._host=o.source._host,this._credentials=o.source._credentials}else this._fetch=o.fetch||Ld()||fetch.bind(global);if(o.host!==void 0)!o.host.match(/^[a-z]+:/)&&typeof window<"u"?this._host=new URL(window.location.protocol+"//"+o.host):this._host=new URL(o.host);else if(o.source!==void 0)this._host=o.source._host;else{let r=typeof window<"u"?window.location:void 0;if(!r)throw new Error("Must specify a host to connect to.");this._host=new URL(r+"")}if(this._host.hostname.endsWith(Kd)&&(this._host.hostname=Jd),o.credentials){let{name:r,password:n}=o.credentials;this._credentials=`${r}${n?":"+n:""}`}this._identity=Promise.resolve(o.identity||new Hd.AnonymousIdentity),o.disableNonce||this.addTransform(Ln.makeNonceTransform(mp.makeNonce))}addTransform(o,r=o.priority||0){let n=this._pipeline.findIndex(i=>(i.priority||0)<r);this._pipeline.splice(n>=0?n:this._pipeline.length,0,Object.assign(o,{priority:r}))}async getPrincipal(){if(!this._identity)throw new So("This identity has expired due this application's security policy. Please refresh your authentication.");return(await this._identity).getPrincipal()}async call(o,r,n){let i=await(n!==void 0?await n:await this._identity);if(!i)throw new So("This identity has expired due this application's security policy. Please refresh your authentication.");let s=Mo.Principal.from(o),p=r.effectiveCanisterId?Mo.Principal.from(r.effectiveCanisterId):s,l=i.getPrincipal()||Mo.Principal.anonymous(),_={request_type:mp.SubmitRequestType.Call,canister_id:s,method_name:r.methodName,arg:r.arg,sender:l,ingress_expiry:new Ln.Expiry(Rs)},C=await this._transform({request:{body:null,method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"call",body:_});C=await i.transformRequest(C);let Q=or.encode(C.body),[P,G]=await Promise.all([this._fetch(""+new URL(`/api/v2/canister/${p.toText()}/call`,this._host),Object.assign(Object.assign({},C.request),{body:Q})),Wd.requestIdOf(_)]);if(!P.ok)throw new Error(`Server returned an error:
15
- Code: ${P.status} (${P.statusText})
16
- Body: ${await P.text()}
17
- `);return{requestId:G,response:{ok:P.ok,status:P.status,statusText:P.statusText}}}async query(o,r,n){let i=await(n!==void 0?await n:await this._identity);if(!i)throw new So("This identity has expired due this application's security policy. Please refresh your authentication.");let s=typeof o=="string"?Mo.Principal.fromText(o):o,p=(i==null?void 0:i.getPrincipal())||Mo.Principal.anonymous(),l={request_type:"query",canister_id:s,method_name:r.methodName,arg:r.arg,sender:p,ingress_expiry:new Ln.Expiry(Rs)},_=await this._transform({request:{method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"read",body:l});_=await(i==null?void 0:i.transformRequest(_));let C=or.encode(_.body),Q=await this._fetch(""+new URL(`/api/v2/canister/${s.toText()}/query`,this._host),Object.assign(Object.assign({},_.request),{body:C}));if(!Q.ok)throw new Error(`Server returned an error:
18
- Code: ${Q.status} (${Q.statusText})
19
- Body: ${await Q.text()}
20
- `);return or.decode(await Q.arrayBuffer())}async readState(o,r,n){let i=typeof o=="string"?Mo.Principal.fromText(o):o,s=await(n!==void 0?await n:await this._identity);if(!s)throw new So("This identity has expired due this application's security policy. Please refresh your authentication.");let p=(s==null?void 0:s.getPrincipal())||Mo.Principal.anonymous(),l=await this._transform({request:{method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"read_state",body:{request_type:"read_state",paths:r.paths,sender:p,ingress_expiry:new Ln.Expiry(Rs)}});l=await(s==null?void 0:s.transformRequest(l));let _=or.encode(l.body),C=await this._fetch(""+new URL(`/api/v2/canister/${i}/read_state`,this._host),Object.assign(Object.assign({},l.request),{body:_}));if(!C.ok)throw new Error(`Server returned an error:
21
- Code: ${C.status} (${C.statusText})
22
- Body: ${await C.text()}
23
- `);return or.decode(await C.arrayBuffer())}async status(){let o=this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{},r=await this._fetch(""+new URL("/api/v2/status",this._host),{headers:o});if(!r.ok)throw new Error(`Server returned an error:
24
- Code: ${r.status} (${r.statusText})
25
- Body: ${await r.text()}
26
- `);return or.decode(await r.arrayBuffer())}async fetchRootKey(){return this._rootKeyFetched||(this.rootKey=(await this.status()).root_key,this._rootKeyFetched=!0),this.rootKey}invalidateIdentity(){this._identity=null}replaceIdentity(o){this._identity=Promise.resolve(o)}_transform(o){let r=Promise.resolve(o);for(let n of this._pipeline)r=r.then(i=>n(i).then(s=>s||i));return r}};Ke.HttpAgent=Lr});var Mp=ee(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.ProxyAgent=go.ProxyStubAgent=go.ProxyMessageKind=void 0;var Zd=At(),Ue;(function(t){t.Error="err",t.GetPrincipal="gp",t.GetPrincipalResponse="gpr",t.Query="q",t.QueryResponse="qr",t.Call="c",t.CallResponse="cr",t.ReadState="rs",t.ReadStateResponse="rsr",t.Status="s",t.StatusResponse="sr"})(Ue=go.ProxyMessageKind||(go.ProxyMessageKind={}));var Ns=class{constructor(o,r){this._frontend=o,this._agent=r}onmessage(o){switch(o.type){case Ue.GetPrincipal:this._agent.getPrincipal().then(r=>{this._frontend({id:o.id,type:Ue.GetPrincipalResponse,response:r.toText()})});break;case Ue.Query:this._agent.query(...o.args).then(r=>{this._frontend({id:o.id,type:Ue.QueryResponse,response:r})});break;case Ue.Call:this._agent.call(...o.args).then(r=>{this._frontend({id:o.id,type:Ue.CallResponse,response:r})});break;case Ue.ReadState:this._agent.readState(...o.args).then(r=>{this._frontend({id:o.id,type:Ue.ReadStateResponse,response:r})});break;case Ue.Status:this._agent.status().then(r=>{this._frontend({id:o.id,type:Ue.StatusResponse,response:r})});break;default:throw new Error(`Invalid message received: ${JSON.stringify(o)}`)}}};go.ProxyStubAgent=Ns;var xs=class{constructor(o){this._backend=o,this._nextId=0,this._pendingCalls=new Map,this.rootKey=null}onmessage(o){let r=o.id,n=this._pendingCalls.get(r);if(!n)throw new Error("A proxy get the same message twice...");this._pendingCalls.delete(r);let[i,s]=n;switch(o.type){case Ue.Error:return s(o.error);case Ue.GetPrincipalResponse:case Ue.CallResponse:case Ue.QueryResponse:case Ue.ReadStateResponse:case Ue.StatusResponse:return i(o.response);default:throw new Error(`Invalid message being sent to ProxyAgent: ${JSON.stringify(o)}`)}}async getPrincipal(){return this._sendAndWait({id:this._nextId++,type:Ue.GetPrincipal}).then(o=>{if(typeof o!="string")throw new Error("Invalid principal received.");return Zd.Principal.fromText(o)})}readState(o,r){return this._sendAndWait({id:this._nextId++,type:Ue.ReadState,args:[o.toString(),r]})}call(o,r){return this._sendAndWait({id:this._nextId++,type:Ue.Call,args:[o.toString(),r]})}status(){return this._sendAndWait({id:this._nextId++,type:Ue.Status})}query(o,r){return this._sendAndWait({id:this._nextId++,type:Ue.Query,args:[o.toString(),r]})}async _sendAndWait(o){return new Promise((r,n)=>{this._pendingCalls.set(o.id,[r,n]),this._backend(o)})}async fetchRootKey(){let o=(await this.status()).root_key;return this.rootKey=o,o}};go.ProxyAgent=xs});var Zn=ee(Gt=>{"use strict";var Xd=Gt&&Gt.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Fs=Gt&&Gt.__exportStar||function(t,o){for(var r in t)r!=="default"&&!o.hasOwnProperty(r)&&Xd(o,t,r)};Object.defineProperty(Gt,"__esModule",{value:!0});Gt.getDefaultAgent=void 0;Fs(fg(),Gt);Fs(wp(),Gt);Fs(Mp(),Gt);function $d(){let t=typeof window>"u"?typeof global>"u"?typeof self>"u"?void 0:self.ic.agent:global.ic.agent:window.ic.agent;if(!t)throw new Error("No Agent could be found.");return t}Gt.getDefaultAgent=$d});var Sp=ee(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=({IDL:t})=>{let o=t.Principal,r=t.Record({controllers:t.Vec(t.Principal),freezing_threshold:t.Nat,memory_allocation:t.Nat,compute_allocation:t.Nat}),n=t.Record({controllers:t.Opt(t.Vec(t.Principal)),freezing_threshold:t.Opt(t.Nat),memory_allocation:t.Opt(t.Nat),compute_allocation:t.Opt(t.Nat)}),i=t.Vec(t.Nat8);return t.Service({canister_status:t.Func([t.Record({canister_id:o})],[t.Record({status:t.Variant({stopped:t.Null,stopping:t.Null,running:t.Null}),memory_size:t.Nat,cycles:t.Nat,settings:r,module_hash:t.Opt(t.Vec(t.Nat8))})],[]),create_canister:t.Func([t.Record({settings:t.Opt(n)})],[t.Record({canister_id:o})],[]),delete_canister:t.Func([t.Record({canister_id:o})],[],[]),deposit_cycles:t.Func([t.Record({canister_id:o})],[],[]),install_code:t.Func([t.Record({arg:t.Vec(t.Nat8),wasm_module:i,mode:t.Variant({reinstall:t.Null,upgrade:t.Null,install:t.Null}),canister_id:o})],[],[]),provisional_create_canister_with_cycles:t.Func([t.Record({settings:t.Opt(n),amount:t.Opt(t.Nat)})],[t.Record({canister_id:o})],[]),provisional_top_up_canister:t.Func([t.Record({canister_id:o,amount:t.Nat})],[],[]),raw_rand:t.Func([],[t.Vec(t.Nat8)],[]),start_canister:t.Func([t.Record({canister_id:o})],[],[]),stop_canister:t.Func([t.Record({canister_id:o})],[],[]),uninstall_code:t.Func([t.Record({canister_id:o})],[],[]),update_settings:t.Func([t.Record({canister_id:t.Principal,settings:n})],[],[])})}});var Qs=ee(rr=>{"use strict";var ef=rr&&rr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(rr,"__esModule",{value:!0});rr.getManagementCanister=void 0;var tf=Xn(),Os=At(),of=ef(Sp());function rf(t){function o(r,n,i){let s=n[0],p=Os.Principal.fromHex("");return s&&typeof s=="object"&&s.canister_id&&(p=Os.Principal.from(s.canister_id)),{effectiveCanisterId:p}}return tf.Actor.createActor(of.default,Object.assign(Object.assign(Object.assign({},t),{canisterId:Os.Principal.fromHex("")}),{callTransform:o,queryTransform:o}))}rr.getManagementCanister=rf});var Rp=ee(Gs=>{(function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(256),r=0;r<t.length;r++)o[t.charCodeAt(r)]=r;Gs.encode=function(n){var i=new Uint8Array(n),s,p=i.length,l="";for(s=0;s<p;s+=3)l+=t[i[s]>>2],l+=t[(i[s]&3)<<4|i[s+1]>>4],l+=t[(i[s+1]&15)<<2|i[s+2]>>6],l+=t[i[s+2]&63];return p%3===2?l=l.substring(0,l.length-1)+"=":p%3===1&&(l=l.substring(0,l.length-2)+"=="),l},Gs.decode=function(n){var i=n.length*.75,s=n.length,p,l=0,_,C,Q,P;n[n.length-1]==="="&&(i--,n[n.length-2]==="="&&i--);var G=new ArrayBuffer(i),O=new Uint8Array(G);for(p=0;p<s;p+=4)_=o[n.charCodeAt(p)],C=o[n.charCodeAt(p+1)],Q=o[n.charCodeAt(p+2)],P=o[n.charCodeAt(p+3)],O[l++]=_<<2|C>>4,O[l++]=(C&15)<<4|Q>>2,O[l++]=(Q&3)<<6|P&63;return G}})()});var xp=ee(Bt=>{"use strict";var nf=Bt&&Bt.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),sf=Bt&&Bt.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),af=Bt&&Bt.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&nf(o,t,r);return sf(o,t),o};Object.defineProperty(Bt,"__esModule",{value:!0});Bt.bls_verify=Bt.bls_init=void 0;var gf=af(Rp()),po,pf=`
27
- AGFzbQEAAAABXg9gAn9/AGABfwBgA39/fwBgAn9/AX9gAX8Bf2ADf39/AX9gBH9/f38AYAV/f39/fwBgBn9/f39/fwF/
28
- YAAAYAZ/f39/f38AYAV/fn5+fgBgAAF/YAF/AX5gAn9/AX4DvAG6AQgEAAEAAAABAgEDAAAMAAACAQEKAQAHBgEAAQEA
29
- AgcCAgABAgAGAAgOBAEBBAAAAQALAQkAAwMAAQQBAAICAAIBAQEBAQEGAQACAQEEAAECAQEABQMBAQMEAwQCAwAAAAEA
30
- AAAAAAEFAQEAAAACAQIAAQMAAQAGBAACAgMEAAAAAAAGAAQABAQEBAAAAwIAAgACAAEBAAAAAQEBAAEAAAAAAgAAAQAB
31
- AQEBAQEBAQEBAQIBAAAAAQ0AAQQFAXABBQUFAwEAEQYJAX8BQYCAwAALBzYEBm1lbW9yeQIACGJsc19pbml0AA0KYmxz
32
- X3ZlcmlmeQAnEV9fd2JpbmRnZW5fbWFsbG9jAHwJDQEAQQELBLgBCrkBtwEKiO8CugGXVQIQfwV+IwBB4OEAayIGJABB
33
- KxABIgkEQCAJQfSgwABBKxBnIQwDQCAHQStHBEAgByAMaiIJQV9BfyAJLQAAIglBn39qQf8BcUEaSRsgCXE6AAAgB0EB
34
- aiEHDAELC0EAIQcgBkGoA2pBOBByGiAGQQE2AuADIAZB6ANqQTgQciEPIAZBoARqQQE2AgAgBkGoBmpBoKfAABBfIAZB
35
- qAZqECkhCSAGQbgVakGAAhByGiAGQdjbAGpBgAEQchogBkGbI2pBgQIQciENIAZBsAxqQcAAEHIaIAZByM8AakHAABBy
36
- GiAGQdDVAGpBwAAQchogBkEAOgCaIyAGIAlB/wBqIhBBA3ZBAWoiCkEBdCILOgCZIyAGIApBB3Y6AJgjIAtBf2pBBXYi
37
- CEEBaiERA0AgB0ErRwRAIAcgDWogByAMai0AADoAACAHQQFqIQcMAQsLIAZBKzoAxiMgBkEgaiAGQZgjakEvQdinwAAQ
38
- ggEgBkGwDGpBwAAgAiADIAYoAiAgBigCJBATQQAhDUEAIAtrIRIgBkGZI2ohE0EBIQNBACEJA0ACQCANIAMgEUtyRQRA
39
- IAMgCEshDSADIAMgCE1qIQJBACEHA0AgB0EgRgRAIAYgAzoAmCNBACEHA0AgB0ErRwRAIAcgE2ogByAMai0AADoAACAH
40
- QQFqIQcMAQsLIAZBKzoAxCMgBkEYaiAGQZgjakEtQeinwAAQggFBACEHIAZByM8AakEAIAZB0NUAakEgIAYoAhggBigC
41
- HBATIAkgEmohAyAJIAlBgAIgCUGAAksbIg5rIRQgBkG4FWogCWohFQJAA0AgB0EgRg0FIAcgFGpFDQEgByAVaiAGQcjP
42
- AGogB2otAAA6AAAgAyAHQQFqIgdqDQALIAIhAyALIQkMBQsgDkGAAkH4p8AAEDwABSAGQcjPAGogB2oiDiAOLQAAIAZB
43
- sAxqIAdqLQAAcyIOOgAAIAZB0NUAaiAHaiAOOgAAIAdBAWohBwwBCwALAAsgEEGACEkhDUEAIQNBACEJA0ACQCAJQQJH
44
- BEAgCUEBaiELIAZBuBVqIANqIQJBACEHAkADQCAHIApGBEAgDQRAIAZByM8AakHwABByGiAGQdjbAGohCCAKIQcDQCAH
45
- BEAgBkHIzwBqQQgQLiAGIAYpA8hPIAgxAAB8NwPITyAHQX9qIQcgCEEBaiEIDAELCyAGQcjPAGoQRSAGQdDVAGogBkGo
46
- BmoQMCAGQZgjakHwABByGiAGQcjPAGogBkHQ1QBqEDZBAEgNBUEAIQIDQCAGQdDVAGpBARAuIAJBAWohAiAGQcjPAGog
47
- BkHQ1QBqEDZBf0oNAAsDQCACQQFIDQZBACEHA0AgB0HoAEYEQCAGIAYpA7hWQgGHNwO4VkEAIQcDQCAHQfAARwRAIAZB
48
- mCNqIAdqIAZByM8AaiAHaikDADcDACAHQQhqIQcMAQsLIAZBmCNqIAZB0NUAahBkIAZBmCNqEEUgBikDgCRCP4chF0EA
49
- IQcDQCAHQfAARwRAIAZByM8AaiAHaiIIIAZBmCNqIAdqKQMAIhYgCCkDAIUgF4MgFoU3AwAgB0EIaiEHDAELCyACQX9q
50
- IQIMAgUgBkHQ1QBqIAdqIgggCEEIaikDAEI5hkKAgICAgICAgAKDIAgpAwBCAYeENwMAIAdBCGohBwwBCwALAAsACyAK
51
- QYABQaChwAAQPQALIAMgB2oiCEH/AU0EQCAHQYABRg0CIAZB2NsAaiAHaiACIAdqLQAAOgAAIAdBAWohBwwBCwsgCEGA
52
- AkGwocAAEDwAC0GAAUGAAUHAocAAEDwACyAGQShqIAZBqANqEAIgBkG4EmogDxACIAZBKGogBkG4EmoQDCAGQegBakHo
53
- g8AAEF8CQAJAIAZB6AFqEFoNACAGQShqEIQBDQAgBkGIPWoQS0EAIQcgBkGIwwBqQTgQchogBkG4IWpBOBByGiAGQYjA
54
- AGoQSyAGQcjEAGoQSyAGQcjJAGoQSyAGQcjMAGoQSyAGQagGahBLIAZBsAxqEEsgBkHIzwBqEEsgBkHQ1QBqEEsgBkHY
55
- 2wBqEEsgBkG4FWoQSyAGQZgjaiAGQcjJAGpBwAEQZxogBkHYJGogBkHIzABqQcABEGcaIAZBmCZqIAZBqAZqQcABEGca
56
- IAZB2CdqIAZBsAxqQcABEGcaIAZBmClqIAZByM8AakHAARBnGiAGQdgqaiAGQdDVAGpBwAEQZxogBkGYLGogBkHY2wBq
57
- QcABEGcaIAZB2C1qIAZBuBVqQcABEGcaIAZBuBVqQecAEHIaIAZBiMAAaiAGQShqEH8gBkGIwABqEBggBkGYI2ogBkEo
58
- ahB/A0AgB0HACkYEQCAGQbghaiAGQegBahBrIAYpA7ghIRcgBkG4IWpBARCdASAGQbghahBEIAYpA7ghIRYgBkGIwwBq
59
- IAZBuCFqEGsgBkGIwwBqQQEQnQEgBkGIwwBqEEQgBkG4IWogBkGIwwBqIBdCAoGnEE8gBkGIwABqIAZBKGogFkICgacQ
60
- bSAGQcjEAGogBkGIwABqEH8gBkG4IWoQKUEDaiIJQQJ2IgdBAWohAkEAIQgCQAJAAkADQAJAIAZBuCFqQQUQjAEhAyAC
61
- IAhGBEAgCUGYA0kNASACQecAQbCEwAAQPAALIAhB5wBGDQIgBkG4FWogCGogA0FwaiIDOgAAIAZBuCFqIANBGHRBGHUQ
62
- ngEgBkG4IWoQRCAGQbghakEEEDsgCEEBaiEIDAELCyAGQbgVaiACaiADOgAAIANBGHRBGHVBf2oiA0EBdiECIANBD0sN
63
- ASAGQYg9aiAGQZgjaiACQcABbGoQfwNAIAdBf0YEQCAGQYg9aiAGQcjEAGoQcyAGQZgjaiAGQYg9akHAARBnGgwICyAH
64
- QeYASw0DIAZBiMAAaiAGQZgjaiAGQbgVaiAHaiwAABAfIAdBf2ohByAGQYg9ahAYIAZBiD1qEBggBkGIPWoQGCAGQYg9
65
- ahAYIAZBiD1qIAZBiMAAahAMDAALAAtB5wBB5wBBoITAABA8AAsgAkEIQcCEwAAQPAALIAdB5wBB0ITAABA8AAUgBkHI
66
- xABqIAZBmCNqIAdqIgIQfyACQcABaiICIAZByMQAahB/IAIgBkGIwABqEAwgB0HAAWohBwwBCwALAAsgBkGYI2oQSwsgB
67
- kEoaiAGQZgjahB/IAZBKGoQRyAMEAlBACEHIAZBqAZqQTAQchogBkGwDGpBoKfAABBfAkACQAJAAkACQANAAkAgB0EwRg
68
- RAIAYgBi0AqAZBH3E6AKgGIAZByM8AaiAGQagGahBdIAENAUEAQQBB8ILAABA8AAsgASAHRg0CIAZBqAZqIAdqIAAgB2o
69
- tAAA6AAAgB0EBaiEHDAELC0EAIQcCQCAALAAAIgJBAE4EQCAAQTBqIQAgAUEwIAFBMEsbQVBqIQIDQCAHQTBGBEAgBkHY
70
- 2wBqIAZBqAZqEF0gBkHoAWoQSyAGQegBaiAGQcjPAGoQtAEgBkGoAmoiACAGQdjbAGoQtAEgBkHoAmoQaSAGQegBahBEI
71
- AZBuBVqIAZB6AFqEE0gBkGYI2ogABCFASAGQZgjahADIAZBmCNqIAZBuBVqEFkNAyAGQegBahCUAQwDCyACIAdGDQQgBk
72
- GoBmogB2ogACAHai0AADoAACAHQQFqIQcMAAsACyAGQZgjahBLIAZB0NUAakE4EHIaIAZBATYCiFYgBkGYI2ogBkHIzwB
73
- qELQBIAZBmCNqEEQgBkGYJGoQaSAGQdjbAGogBkGYI2oQTQJAIAZB2NsAaiAGQdDVAGoQXEEBRwRAIAZBmCNqEJQBDAEL
74
- IAZBuBVqIAZB2NsAaiAGQdDVAGoQIyAGQbgVahBYBEAgBkG4FWoQQSAGQbgVahBECyAGQdgjaiAGQbgVahClAQsgAkEgc
75
- UEFdiAGQdgjahBMQQFGRwRAIAZBmCNqEKYBCyAGQegBaiAGQZgjakHAARBnGgsgBkHQPGpB8IHAABBfIAZB6AFqEIQBRQ
76
- 0CDAMLIAEgAUHggsAAEDwACyAHQTBqIAFBgIPAABA8AAsgBkGoA2oQSyAGQagDaiAGQegBahB/IAZBuBJqEEsgBkG4Emo
77
- gBkHoAWoQfyAGQbgSahBHIAZByMcAakHwgcAAEF8gBkGYI2pBqILAABBfIAZBiMMAaiAGQZgjahCLAUEAIQAgBkG4IWpB
78
- OBByGiAGQfAhakE4EHIhCSAGQdjbAGpB8IHAABBfIAZBuBVqQYCAwAAQXyAGQZgjakE4EHIaIAZBkCNqIQsgBkGwFWohC
79
- gJAAkADQCAAQQdGDQIgAEEBaiEBIAZBuBVqIABBA3RqIQxCACEXQQAhAwNAIANBf2ohByAKIANBA3RqIQIgCyAAIANqQQ
80
- N0aiEIA0AgB0EGRgRAIAEhAAwDCyAIQQhqIQggAkEIaiECIAAgB0EBaiIHakEGSw0ACyAAQQZNBEAgB0EGSw0DIAdBAWo
81
- hAyAGQQhqIAIpAwAiFiAWQj+HIAwpAwAiFiAWQj+HEDEgCCAGKQMIIhkgF3wiFiAIKQMAIhp8IhhC//////////8DgzcD
82
- ACAYIBZUrSAWIBlUrSAGQRBqKQMAIBdCP4d8fCAaQj+HfHxCBoYgGEI6iIQhFwwBCwsLIABBB0G0ncAAEDwACyAHQQdBx
83
- J3AABA8AAsgBkG4IWogBkHQPGoQayAGQbghaiAGQZgjahAkIAkgBkHQPGoQayAJIAZBmCNqEBwgCSAGQdjbAGoQYyAGQb
84
- gSaiAGQYjDAGoQSCAGQbghahApIQAgBkGIyABqIAZBuCFqIAZByMcAahCNASAGQYjIAGoQKSAASQRAIAZBuCFqIAZBiMg
85
- AahBrIAZBqANqEKYBCyAJECkhACAGQYjIAGogCSAGQcjHAGoQjQEgBkGIyABqECkgAEkEQCAJIAZBiMgAahBrIAZBuBJq
86
- EKYBCyAGQbghahBEIAkQREEAIQcgBkHIyABqQTgQchogBkGIyQBqQTgQchogBkGYO2pBOBByGiAGQYg9ahBLIAZBiMAAa
87
- hBLIAZByMQAahBLIAZByMkAahBLIAZByMwAahBLIAZBqAZqEEsgBkGwDGoQSyAGQcjPAGoQSyAGQdDVAGoQSyAGQdjbAG
88
- oQSyAGQbgVahBLIAZBmCNqIAZByMkAakHAARBnGiAGQdgkaiAGQcjMAGpBwAEQZyEAIAZBmCZqIAZBqAZqQcABEGchASA
89
- GQdgnaiAGQbAMakHAARBnIQsgBkGYKWogBkHIzwBqQcABEGchCiAGQdgqaiAGQdDVAGpBwAEQZyECIAZBmCxqIAZB2NsA
90
- akHAARBnIQMgBkHYLWogBkG4FWpBwAEQZyEIIAZBuBVqQcwBEHIaIAZByMgAaiAGQbghahBrIAZBiMkAaiAJEGsgACAGQ
91
- agDahB/IAAgBkG4EmoQcyABIAZBqANqEH8gASAGQbgSahAMIAZBiD1qIAZBuBJqEH8gBkGIPWoQGCAGQcjEAGogABB/IA
92
- ZBmCNqIAZByMQAahB/IAZBmCNqIAZBiD1qEHMgBkHIxABqIAEQfyALIAZByMQAahB/IAsgBkGIPWoQDCAGQYjAAGogBkG
93
- oA2oQfyAGQYjAAGoQGCAGQcjEAGogABB/IAIgBkHIxABqEH8gAiAGQYjAAGoQDCAGQcjEAGogARB/IAMgBkHIxABqEH8g
94
- AyAGQYjAAGoQDCAGQcjEAGogAhB/IAogBkHIxABqEH8gCiAGQYg9ahBzIAZByMQAaiADEH8gCCAGQcjEAGoQfyAIIAZBi
95
- D1qEAwgBikDyEghFyAGQcjIAGpBARCdASAGQcjIAGoQRCAGKQPISCEWIAZBmDtqIAZByMgAahBrIAZBmDtqQQEQnQEgBk
96
- GYO2oQRCAGQcjIAGogBkGYO2ogF0ICgacQTyAGQYjAAGogBkGoA2ogFkICgacQbSAGQcjEAGogBkGIwABqEH8gBikDiEk
97
- hFyAGQYjJAGpBARCdASAGQYjJAGoQRCAGKQOISSEWIAZBmDtqIAZBiMkAahBrIAZBmDtqQQEQnQEgBkGYO2oQRCAGQYjJ
98
- AGogBkGYO2ogF0ICgacQTyAGQYg9aiAGQbgSaiAWQgKBpxBtIAZByMQAaiAGQYg9ahAMIAZBmDtqIAZByMgAahBrIAZBm
99
- DtqIAZBiMkAahBhIAZBmDtqEEQgBkGYO2oQKUEBaiICQQF2IghBAWohAAJAAkACQAJAA0ACQCAGQcjIAGpBAxCMASEBIA
100
- AgB0YEQCAGQYjJAGpBAxCMASEDIAJBlgNJDQEgAEHMAUG0g8AAEDwACyAGQcjIAGogAUF8aiIBEJ4BIAZByMgAahBEIAZ
101
- ByMgAakECEDsgBkGIyQBqIAZBiMkAakEDEIwBQXxqIgMQngEgBkGIyQBqEEQgBkGIyQBqQQIQOyAHQcwBRg0CIAZBuBVq
102
- IAdqIAMgAUECdGo6AAAgB0EBaiEHDAELCyAGQbgVaiAAaiADIAFBAnRqIgA6AAAgAEEYdEEYdUF/aiIBQQF2IQAgAUEPS
103
- w0BIAZBiD1qIAZBmCNqIABBwAFsahB/A0AgCEF/Rg0EIAhBywFLDQMgBkGIwABqIAZBmCNqIAZBuBVqIAhqLAAAEB8gCE
104
- F/aiEIIAZBiD1qEBggBkGIPWoQGCAGQYg9aiAGQYjAAGoQDAwACwALQcwBQcwBQaSDwAAQPAALIABBCEHEg8AAEDwACyA
105
- IQcwBQdSDwAAQPAALIAZBiD1qIAZByMQAahBzIAZBqANqIAZBiD1qQcABEGcaQX8hByAGQagDahCEAUUNASAGQegBahCm
106
- AUEAIQcgBkHIzwBqQeAAEHIaIAUEQANAIAdB4ABGBEAgBiAGLQDIT0EfcToAyE8gBkHQ1QBqIAZByM8AahAhAkACQAJAI
107
- AQsAAAiA0F/SgRAIARB4ABqIQAgBUHgACAFQeAASxtBoH9qIQFBACEHA0AgB0HgAEYEQCAGQZgjaiAGQcjPAGoQISAGQa
108
- gDaiAGQdDVAGogBkGYI2oQPwwDCyABIAdGDQMgBkHIzwBqIAdqIAAgB2otAAA6AAAgB0EBaiEHDAALAAsgBkGYI2oQKiA
109
- GQYjAAGpBOBByGiAGQQE2AsBAIAZBmCNqIAZB0NUAahCQASAGQZgkaiIBELABIAZBmCVqELABIAZBmCNqEKgBIAZB2NsA
110
- aiAGQZgjahAmIAZBuBVqIAZB2NsAahBeIAZBuBVqEKYBIAZBuBVqIAZB2NsAahAPIAZBsAxqIAZBuBVqQcAAEGcaAkAgB
111
- kGwDGogBkGIwABqEFxBAUcEQCAGQZgjahCYAQwBCyAGQdjbAGoQhwFFBEAgBkHIxABqIAZBmNwAaiIAEIUBIAZByMkAai
112
- AGQdjbAGoQhQEgBkHIzABqIAZB2NsAahCFASAGQagGakE4EHIaIAZBATYC4AYgBkGwDGpBOBByGiAGQQE2AugMIAZByMQ
113
- AahADIAZByMkAahADIAZByMQAaiAGQcjJAGoQeCAGQcjEAGoQRCAGQbgVaiAGQcjEAGogBkGIwABqECMgBkHIyQBqIAZB
114
- uBVqEKUBIAZByMQAaiAGQcjJAGoQpQEgBkHIyQBqIAZB2NsAahClASAGQcjJAGogBkHIxABqEHggBkHIyQBqEEQgBkHIy
115
- QBqEEIgBkHIxABqIAAQpQEgBkHIxABqEEIgBkHIyQBqIAZBsAxqEFwhAiAGQcjMAGogBkGwDGoQpQEgBkHIzABqEEEgBk
116
- HIzABqEEQgBkGoBmogBkHIyQBqEKUBIAZBqAZqEEEgBkGoBmoQRCAGQcjJAGogBkGoBmpBASACayICEHkgBkGwDGogBkH
117
- IzABqIAIQeSAGQbgVaiAGQcjJAGogBkGwDGoQIyAGQdjbAGogBkG4FWoQpQEgBkHIzABqIAZByMkAahClASAGQcjMAGog
118
- BkGwDGoQNCAGQcjMAGogBkHY2wBqEEggACAGQcjMAGoQpQEgACAGQcjEAGoQSCAGQagGaiAGQdjbAGoQpQEgBkHY2wBqI
119
- AAgAhB5IAAgBkGoBmogAhB5IAZB2NsAahCJASEAIAZBuBVqIAZB2NsAahBeIAZBuBVqEDogBkG4FWoQqAEgBkHY2wBqIA
120
- ZBuBVqIAAQjwELIAZB2NsAahCJAQRAIAZB2NsAahA6CyAGQdjbAGoQqwEgASAGQdjbAGoQkAELQQAhAgJAIAEQhwENACA
121
- GQdgkahBMIgINACABEEwhAgsgA0EgcUEFdiACQQFGRwRAIAZBmCNqEJwBCyAGQagDaiAGQZgjakGAAxBnGgsgBkHIyABq
122
- QfCBwAAQXyAGQagDahCIAQ0FIAZBuBJqECogBkG4FWoQKiAGQdDVAGoQKiAGQdjbAGoQKiAGQZgjahAqIAZBuBhqIAZB0
123
- NUAakGAAxBnIQ0gBkG4G2ogBkHY2wBqQYADEGchCSAGQbgeaiAGQZgjakGAAxBnIQAgBkHY2wBqQbiAwAAQXyAGQZgjak
124
- HwgMAAEF8gBkGIwwBqIAZB2NsAaiAGQZgjahBJIAZBiMkAakHwgcAAEF9BACEHIAZBuCFqQTgQchogBkHwIWpBqAEQciE
125
- DIAZBsAxqQfCBwAAQXyAGQcjPAGpBgIDAABBfIAZB4CJqIQEgBkGoImohDyAGQdDVAGogBkHIyABqEF8DQCAHQagBRg0C
126
- IAZBuCFqIAdqIgIgBkHQ1QBqEGsgAiAGQcjPAGoQJCAHQThqIQcgBkHQ1QBqIAZByM8AahAcDAALAAsgB0HgAGogBUGwp
127
- MAAEDwACyABIAZB0NUAahBrQQAhByAGQdjbAGpBOBByGiAGQZgjaiADIAZBsAxqEI0BIAZB2NsAaiAGQZgjahBrIAMgBk
128
- HY2wBqEGsgBkGYI2ogASAGQbAMahCNASAGQdjbAGogBkGYI2oQayABIAZB2NsAahBrIAZBiD1qECogBkGIwwBqEEAgBkG
129
- IwwBqEKgBIAZBmDtqQTgQchogBkG4FWogBkGoA2oQfgNAIAdBgAlGBEACQCAGQbgVaiECQQAhBwNAIAdB4AFHBEAgBkG4
130
- IWogB2oiBBApIQUgBkGYI2ogBCAGQYjJAGoQjQEgBkGYO2ogBkGYI2oQayAGQZg7ahApIAVJBEAgBCAGQZg7ahBrIAIQn
131
- AELIAQQRCAHQThqIQcgAkGAA2ohAgwBCwsgBkHIxABqECogBkGIwABqECogBkGYI2oQKiAGQcjJAGoQKiAGQcjMAGoQKi
132
- AGQagGahAqIAZBsAxqECogBkHIzwBqECogBkHQ1QBqECogBkHY2wBqECogBkGYJmogBkHIyQBqQYADEGchAiAGQZgpaiA
133
- GQcjMAGpBgAMQZyEEIAZBmCxqIAZBqAZqQYADEGchBSAGQZgvaiAGQbAMakGAAxBnIQsgBkGYMmogBkHIzwBqQYADEGch
134
- CiAGQZg1aiAGQdDVAGpBgAMQZyEIIAZBmDhqIAZB2NsAakGAAxBnIQxBACEHIAZBqAZqQTgQchogBkGwDGogBkG4IWoQX
135
- yAGQcjPAGogAxBfIAZB0NUAaiAPEF8gBkHY2wBqIAEQXyAGQegMaiAGQcjPAGpBOBBnGiAGQaANaiAGQdDVAGpBOBBnGi
136
- AGQdgNaiAGQdjbAGpBOBBnGiAGQdDVAGpBlwMQchogBkHY2wBqQZcDEHIaA0AgB0HgAUYEQAJAIAZBmCNqIAZBuBVqEH4
137
- gBkHIxABqIAZBmCNqEH4gAiAGQcjEAGoQfiACIA0QCyAEIAZByMQAahB+IAQgCRALIAZByMQAaiACEH4gBSAGQcjEAGoQ
138
- fiAFIAkQCyAGQcjEAGogBkGYI2oQfiALIAZByMQAahB+IAsgABALIAZByMQAaiACEH4gCiAGQcjEAGoQfiAKIAAQCyAGQ
139
- cjEAGogBBB+IAggBkHIxABqEH4gCCAAEAsgBkHIxABqIAUQfiAMIAZByMQAahB+IAwgABALIAZBsAxqQQEgBikDsAxCAo
140
- GnayIFEJ0BIAZBsAxqEEQgBkGoBmoQdEEAIQAgBkGwDGohAgJAAkACQAJAA38gAEEERgR/IAZBqAZqECkiA0GXA08NAiA
141
- DQQFqIQkgBkHY2wBqIANqQQE6AAAgBkHY2wBqIQggAwVBACEHA0AgB0E4RwRAIAZBqAZqIAdqIgEgASkDACACIAdqKQMA
142
- hDcDACAHQQhqIQcMAQsLIAJBOGohAiAAQQFqIQAMAQsLIQcDQCAHBEAgBkGwDGpBARA7IAggBikDsAxCAoGnQQF0QX9qO
143
- gAAIAdBf2ohByAIQQFqIQgMAQsLQQAhBwNAIAcgCUYEQCAGQYjAAGogBkGYI2ogBkHQ1QBqIANqLQAAQRl0QRh1QQFyEC
144
- AgA0F/aiEHA0AgB0F/Rg0GIAZBiMAAahAUIAdBlgNLDQUgBkHIxABqIAZBmCNqIAZB2NsAaiAHai0AACAGQdDVAGogB2o
145
- tAABBAXRqQRh0QRh1ECAgB0F/aiEHIAZBiMAAaiAGQcjEAGoQCwwACwALIAdBlwNGDQIgB0EBaiEBQQAhACAGQdDVAGog
146
- B2oiC0EAOgAAIAZB2NsAaiAHai0AACEKQQEhAkE4IQcDQCAHQeABRgRAIAEhBwwCBSAGQbAMaiAHaiIEKQMAIRcgBEEBE
147
- DsgBCAKIBdCAoGnbCIIQRh0QRl1EJ4BIAQQRCALIAAgAiAIbGoiADoAACAHQThqIQcgAkEBdCECDAELAAsACwALIANBlw
148
- NBkKXAABA8AAtBlwNBlwNBoKXAABA8AAsgB0GXA0GwpcAAEDwACyAGQcjEAGogBkGIwABqEH4gBkHIzwBqECogBkHIzwB
149
- qIAZBuBVqEH4gBkHIzwBqEJwBIAZByMQAaiAGQcjPAGoQCyAGQYjAAGogBkHIxABqIAUQbyAGQbgSaiAGQYjAAGoQfkF/
150
- IQcgBkG4EmoQiAFFDQogBkG4EmoQOCAGQbgVakG4gMAAEF8gBkGYI2pB8IDAABBfIAZBmDtqIAZBuBVqIAZBmCNqEEkgB
151
- kGYPGpBOBByGiAGQdA8akE4EHIaIAZBiD1qECogBkHoAWoQhAFFBEAgBkEoahCEAQ0BIAZBiMAAahAqIAZBiMAAaiAGQb
152
- gSahB+IAZBiMAAahBKIAZBiMMAahBLIAZBiMMAaiAGQegBahB/IAZBiMMAahBHIAZByMQAahAqIAZByMQAaiAGQagDahB
153
- +IAZByMQAahBKIAZBuCFqEEsgBkG4IWogBkEoahB/IAZBuCFqEEcgBkGYI2ogBkGIwwBqEIUBIAZByMcAaiAGQZgjahCF
154
- ASAGQZgjaiAGQcjDAGoQhQEgBkGIyABqIAZBmCNqEIUBIAZBmCNqIAZBuCFqEIUBIAZByMgAaiAGQZgjahCFASAGQZgja
155
- iAGQfghahCFASAGQYjJAGogBkGYI2oQhQEgBkHIyQBqECogBkHIzABqECogBkHQ1QBqEGAgBkHIyQBqIAZBiMAAahB+IA
156
- ZByMwAaiAGQcjEAGoQfiAGQbAMahAqIAZBsAxqIAZBiMAAahB+IAZBsAxqEJwBIAZByM8AahAqIAZByM8AaiAGQcjEAGo
157
- QfiAGQcjPAGoQnAEgBkHQPGogBkGYPGoQVEF/aiEHA0AgB0EBTQRAIAZB0NUAahCTASAGQagGaiAGQdDVAGpBiAYQZxoM
158
- BgsgBkHQ1QBqEBsgBkHY2wBqIAZByMkAaiAGQcjHAGogBkGIyABqEBcgBkG4FWogBkHIzABqIAZByMgAaiAGQYjJAGoQF
159
- yAGQdjbAGogBkG4FWoQBiAGQdDVAGogBkHY2wBqEAQCQAJAIAZB0DxqIAdBf2oiBxBXIAZBmDxqIAcQV2tBAWoOAwECAA
160
- ILIAZB2NsAaiAGQcjJAGogBkGIwABqIAZByMcAaiAGQYjIAGoQFiAGQZgjaiAGQcjMAGogBkHIxABqIAZByMgAaiAGQYj
161
- JAGoQFiAGQdjbAGogBkGYI2oQBiAGQdDVAGogBkHY2wBqEAQMAQsgBkHY2wBqIAZByMkAaiAGQbAMaiAGQcjHAGogBkGI
162
- yABqEBYgBkGYI2ogBkHIzABqIAZByM8AaiAGQcjIAGogBkGIyQBqEBYgBkHY2wBqIAZBmCNqEAYgBkHQ1QBqIAZB2NsAa
163
- hAEDAALAAsgBkGoBmogBkGoA2ogBkEoahAQDAMLBSAGQbAMaiAHahBEIAdBOGohBwwBCwsgBkGoBmogBkG4EmogBkHoAW
164
- oQEAsFIAZBiD1qIAZBuBVqIAdqIgIQfiACQYADaiIEIAZBiD1qEH4gBkGYI2ogBkGIwwBqEF4gBkGYI2oQMiAEEKYBIAJ
165
- BgARqIgUQpgEgAkGABWoiAhCmASACEKsBIAQgBkGYI2oQDyAFIAZBmCNqEA8gBSAGQYjDAGoQDyAHQYADaiEHDAELCyAG
166
- QbgVakG4gMAAEF8gBkGYI2pB8IDAABBfIAZByMQAaiAGQbgVaiAGQZgjahBJIAZBiMAAakGAgMAAEF8gBkGwDGogBkGoB
167
- moQaiAGQcjPAGogBkGwDGoQaiAGQdDVAGogBkHIzwBqEI4BIAZB2NsAaiAGQcjRAGoiARCOASAGQbgVaiAGQcjPAGoQjg
168
- EgBkGYI2oQLyAGQcjPAGoQmQEgBkHQ1QBqECIgBkHY2wBqIAZByNMAaiIAEBkgBkHY2wBqEGYgBkHQ1QBqIAZB2NsAahC
169
- BASAGQdDVAGoQrAEgBkHY2wBqIAAQkgEgBkHY2wBqECIgBkHY2wBqEGYgBkG4FWogARAZIAZB2NsAaiAGQbgVahCBASAG
170
- QdjbAGoQrAEgBkG4FWogARCSASAGQbgVahAiIAZBmCNqIAZByM8AahCSASAGQZgjaiAAEBkgBkG4FWogBkGYI2oQgQEgB
171
- kG4FWoQrAEgBkGYI2ogARCSASAGQZgjaiAGQbgVahAZIAZBmCNqEGYgBkHIzwBqIAZB0NUAahAZIAZBmCNqIAZByM8Aah
172
- CWASAAIAZB2NsAahAZIAAQZiAGQZgjaiAAEJYBIAZBmCNqEKwBIAZByMkAaiAGQZgjahBeIAZByMwAaiAGQZgkaiICEF4
173
- gBkHIyQBqEDIgBkHIzABqEDIgBkHIzABqEFUgBkHIzABqEKgBIAZByMkAaiAGQcjMAGoQfSAGQcjJAGoQQCAGQZgjaiAG
174
- QcjJAGoQDyAGQcjJAGoQOiAGQcjJAGoQqAEgAiAGQcjJAGoQDyAGQcjPAGogBkHQ1QBqEJIBIAZByM8AaiAGQZgjahAZI
175
- AEgBkHY2wBqEJIBIAEgBkGYI2oQGSAAIAZBuBVqEJIBIAAgBkGYI2oQGSAGQQU2AshVIAZBsAxqEJMBIAZBsAxqIAZByM
176
- 8AahAOIAZByM8AaiAGQbAMahBsIAZBsAxqIAZByMQAahA3IAZBsAxqIAZByMQAahA3IAZBsAxqIAZByM8AahAOIAZB0NU
177
- AaiAGQbAMahBqIAZB0NUAahAaIAZB0NUAaiAGQbAMahAOIAZBmCNqIAZBsAxqIAZBiMAAahAdIAZB2NsAaiAGQZgjahBq
178
- IAZB2NsAahCTASAGQbgVaiAGQbAMahBqIAZBuBVqEJMBIAZBsAxqIAZB2NsAahBsIAZBsAxqIAZBuBVqEA4gBkGYI2ogB
179
- kGwDGogBkGIwABqEB0gBkHY2wBqIAZBmCNqEGwgBkHY2wBqEJMBIAZBuBVqIAZBsAxqEGwgBkG4FWoQkwEgBkGwDGogBk
180
- HY2wBqEGwgBkGwDGogBkG4FWoQDiAGQZgjaiAGQbAMaiAGQYjAAGoQHSAGQdjbAGogBkGYI2oQbCAGQdjbAGoQkwEgBkG
181
- 4FWogBkGwDGoQbCAGQbgVaiAGQcjEAGoQNyAGQbAMaiAGQdjbAGoQbCAGQbAMaiAGQbgVahAOIAZBmCNqIAZBsAxqIAZB
182
- iMAAahAdIAZB2NsAaiAGQZgjahBsIAZBmCNqIAZB2NsAaiAGQYjAAGoQHSAGQdjbAGogBkGYI2oQbCAGQbgVaiAGQbAMa
183
- hBsIAZBuBVqIAZByMQAahA3IAZBuBVqIAZByMQAahA3IAZB2NsAaiAGQbgVahAOIAZBuBVqIAZBsAxqEGwgBkG4FWoQkw
184
- EgBkGwDGogBkHY2wBqEGwgBkGwDGogBkG4FWoQDiAGQbAMaiAGQdDVAGoQDiAGQbAMahCaASAGQagGaiAGQbAMakGIBhB
185
- nGiAGQZgjahBuIAZBqAZqIAZBmCNqEHtFDQMgBkGoB2ogAhB7RQ0DIAZBqAhqEIYBRQ0DQQAhByAGQagKahCGAUUNAwwE
186
- CyAFIAdHBEAgBkHIzwBqIAdqIAQgB2otAAA6AAAgB0EBaiEHDAELCyAFIAVBoKTAABA8AAtBAEEAQZCkwAAQPAALQX8hB
187
- wsgBkHg4QBqJAAgBw8LQQAhByAGQbAMakE4EHIaA0AgB0E4RwRAIAZBsAxqIAdqIAZByM8AaiAHaikDADcDACAHQQhqIQ
188
- cMAQsLIAZBmCNqIAZBsAxqEIsBIAZBqANqIAlBBnRqIAZBmCNqQcAAEGcaIAMgCmohAyALIQkMAAsACyAHIAlqIQkgAiE
189
- DDAALAAtBK0EBQaS5wQAoAgAiAEEBIAAbEQAAAAvBKgIIfwF+AkACQAJAAkAgAEH1AU8EQCAAQc3/e08NAiAAQQtqIgBB
190
- eHEhBkHYtcEAKAIAIgdFDQFBHyEIQQAgBmshBQJAAkAgBkH///8HTQRAIAZBBiAAQQh2ZyIAa0EfcXZBAXEgAEEBdGtBP
191
- mohCAsgCEECdEHkt8EAaigCACIABEAgBkEAQRkgCEEBdmtBH3EgCEEfRht0IQMDQAJAIABBBGooAgBBeHEiBCAGSQ0AIA
192
- QgBmsiBCAFTw0AIAAhAiAEIgUNAEEAIQUMAwsgAEEUaigCACIEIAEgBCAAIANBHXZBBHFqQRBqKAIAIgBHGyABIAQbIQE
193
- gA0EBdCEDIAANAAsgAQRAIAEhAAwCCyACDQILQQAhAkECIAhBH3F0IgBBACAAa3IgB3EiAEUNAyAAQQAgAGtxaEECdEHk
194
- t8EAaigCACIARQ0DCwNAIAAgAiAAQQRqKAIAQXhxIgEgBk8gASAGayIDIAVJcSIEGyECIAMgBSAEGyEFIAAoAhAiAQR/I
195
- AEFIABBFGooAgALIgANAAsgAkUNAgtB5LjBACgCACIAIAZPQQAgBSAAIAZrTxsNASACKAIYIQcCQAJAIAIgAigCDCIBRg
196
- RAIAJBFEEQIAJBFGoiAygCACIBG2ooAgAiAA0BQQAhAQwCCyACKAIIIgAgATYCDCABIAA2AggMAQsgAyACQRBqIAEbIQM
197
- DQCADIQQgACIBQRRqIgMoAgAiAEUEQCABQRBqIQMgASgCECEACyAADQALIARBADYCAAsCQCAHRQ0AAkAgAiACKAIcQQJ0
198
- QeS3wQBqIgAoAgBHBEAgB0EQQRQgBygCECACRhtqIAE2AgAgAUUNAgwBCyAAIAE2AgAgAQ0AQdi1wQBB2LXBACgCAEF+I
199
- AIoAhx3cTYCAAwBCyABIAc2AhggAigCECIABEAgASAANgIQIAAgATYCGAsgAkEUaigCACIARQ0AIAFBFGogADYCACAAIA
200
- E2AhgLAkAgBUEQTwRAIAIgBkEDcjYCBCACIAZqIgcgBUEBcjYCBCAFIAdqIAU2AgAgBUGAAk8EQEEfIQAgB0IANwIQIAV
201
- B////B00EQCAFQQYgBUEIdmciAGtBH3F2QQFxIABBAXRrQT5qIQALIAcgADYCHCAAQQJ0QeS3wQBqIQQCQAJAAkACQEHY
202
- tcEAKAIAIgNBASAAQR9xdCIBcQRAIAQoAgAiA0EEaigCAEF4cSAFRw0BIAMhAAwCC0HYtcEAIAEgA3I2AgAgBCAHNgIAI
203
- AcgBDYCGAwDCyAFQQBBGSAAQQF2a0EfcSAAQR9GG3QhAQNAIAMgAUEddkEEcWpBEGoiBCgCACIARQ0CIAFBAXQhASAAIQ
204
- MgAEEEaigCAEF4cSAFRw0ACwsgACgCCCIBIAc2AgwgACAHNgIIIAdBADYCGCAHIAA2AgwgByABNgIIDAQLIAQgBzYCACA
205
- HIAM2AhgLIAcgBzYCDCAHIAc2AggMAgsgBUEDdiIBQQN0Qdy1wQBqIQACf0HUtcEAKAIAIgNBASABdCIBcQRAIAAoAggM
206
- AQtB1LXBACABIANyNgIAIAALIQUgACAHNgIIIAUgBzYCDCAHIAA2AgwgByAFNgIIDAELIAIgBSAGaiIAQQNyNgIEIAAgA
207
- moiACAAKAIEQQFyNgIECyACQQhqDwsCQAJAQdS1wQAoAgAiB0EQIABBC2pBeHEgAEELSRsiBkEDdiIBdiICQQNxRQRAIA
208
- ZB5LjBACgCAE0NAyACDQFB2LXBACgCACIARQ0DIABBACAAa3FoQQJ0QeS3wQBqKAIAIgFBBGooAgBBeHEgBmshBSABIQM
209
- DQCABKAIQIgBFBEAgAUEUaigCACIARQ0ECyAAQQRqKAIAQXhxIAZrIgIgBSACIAVJIgIbIQUgACADIAIbIQMgACEBDAAL
210
- AAsCQCACQX9zQQFxIAFqIgVBA3QiAEHktcEAaigCACIDQQhqIgIoAgAiASAAQdy1wQBqIgBHBEAgASAANgIMIAAgATYCC
211
- AwBC0HUtcEAIAdBfiAFd3E2AgALIAMgBUEDdCIAQQNyNgIEIAAgA2oiACAAKAIEQQFyNgIEIAIPCwJAQQIgAXQiAEEAIA
212
- BrciACIAF0cSIAQQAgAGtxaCIBQQN0IgBB5LXBAGooAgAiA0EIaiIEKAIAIgIgAEHctcEAaiIARwRAIAIgADYCDCAAIAI
213
- 2AggMAQtB1LXBACAHQX4gAXdxNgIACyADIAZBA3I2AgQgAyAGaiIFIAFBA3QiACAGayIHQQFyNgIEIAAgA2ogBzYCAEHk
214
- uMEAKAIAIgAEQCAAQQN2IgJBA3RB3LXBAGohAEHsuMEAKAIAIQgCf0HUtcEAKAIAIgFBASACQR9xdCICcQRAIAAoAggMA
215
- QtB1LXBACABIAJyNgIAIAALIQMgACAINgIIIAMgCDYCDCAIIAA2AgwgCCADNgIIC0HsuMEAIAU2AgBB5LjBACAHNgIAIA
216
- QPCyADKAIYIQcCQAJAIAMgAygCDCIBRgRAIANBFEEQIANBFGoiASgCACICG2ooAgAiAA0BQQAhAQwCCyADKAIIIgAgATY
217
- CDCABIAA2AggMAQsgASADQRBqIAIbIQIDQCACIQQgACIBQRRqIgIoAgAiAEUEQCABQRBqIQIgASgCECEACyAADQALIARB
218
- ADYCAAsgB0UNAyADIAMoAhxBAnRB5LfBAGoiACgCAEcEQCAHQRBBFCAHKAIQIANGG2ogATYCACABRQ0EDAMLIAAgATYCA
219
- CABDQJB2LXBAEHYtcEAKAIAQX4gAygCHHdxNgIADAMLAkACQAJAAkACQEHkuMEAKAIAIgEgBkkEQEHouMEAKAIAIgAgBk
220
- sNA0EAIQUgBkGvgARqIgJBEHZAACIAQX9GDQYgAEEQdCIDRQ0GQfS4wQAgAkGAgHxxIgVB9LjBACgCAGoiAjYCAEH4uME
221
- AQfi4wQAoAgAiACACIAAgAksbNgIAQfC4wQAoAgAiBEUNAUH8uMEAIQADQCAAKAIAIgEgACgCBCICaiADRg0DIAAoAggi
222
- AA0ACwwEC0HsuMEAKAIAIQMCfyABIAZrIgJBD00EQEHsuMEAQQA2AgBB5LjBAEEANgIAIAMgAUEDcjYCBCABIANqIgJBB
223
- GohACACKAIEQQFyDAELQeS4wQAgAjYCAEHsuMEAIAMgBmoiADYCACAAIAJBAXI2AgQgASADaiACNgIAIANBBGohACAGQQ
224
- NyCyEGIAAgBjYCACADQQhqDwtBkLnBACgCACIAQQAgACADTRtFBEBBkLnBACADNgIAC0GUucEAQf8fNgIAQYC5wQAgBTY
225
- CAEH8uMEAIAM2AgBB6LXBAEHctcEANgIAQfC1wQBB5LXBADYCAEHktcEAQdy1wQA2AgBB+LXBAEHstcEANgIAQey1wQBB
226
- 5LXBADYCAEGAtsEAQfS1wQA2AgBB9LXBAEHstcEANgIAQYi2wQBB/LXBADYCAEH8tcEAQfS1wQA2AgBBkLbBAEGEtsEAN
227
- gIAQYS2wQBB/LXBADYCAEGYtsEAQYy2wQA2AgBBjLbBAEGEtsEANgIAQaC2wQBBlLbBADYCAEGUtsEAQYy2wQA2AgBBiL
228
- nBAEEANgIAQai2wQBBnLbBADYCAEGctsEAQZS2wQA2AgBBpLbBAEGctsEANgIAQbC2wQBBpLbBADYCAEGstsEAQaS2wQA
229
- 2AgBBuLbBAEGstsEANgIAQbS2wQBBrLbBADYCAEHAtsEAQbS2wQA2AgBBvLbBAEG0tsEANgIAQci2wQBBvLbBADYCAEHE
230
- tsEAQby2wQA2AgBB0LbBAEHEtsEANgIAQcy2wQBBxLbBADYCAEHYtsEAQcy2wQA2AgBB1LbBAEHMtsEANgIAQeC2wQBB1
231
- LbBADYCAEHctsEAQdS2wQA2AgBB6LbBAEHctsEANgIAQfC2wQBB5LbBADYCAEHktsEAQdy2wQA2AgBB+LbBAEHstsEANg
232
- IAQey2wQBB5LbBADYCAEGAt8EAQfS2wQA2AgBB9LbBAEHstsEANgIAQYi3wQBB/LbBADYCAEH8tsEAQfS2wQA2AgBBkLf
233
- BAEGEt8EANgIAQYS3wQBB/LbBADYCAEGYt8EAQYy3wQA2AgBBjLfBAEGEt8EANgIAQaC3wQBBlLfBADYCAEGUt8EAQYy3
234
- wQA2AgBBqLfBAEGct8EANgIAQZy3wQBBlLfBADYCAEGwt8EAQaS3wQA2AgBBpLfBAEGct8EANgIAQbi3wQBBrLfBADYCA
235
- EGst8EAQaS3wQA2AgBBwLfBAEG0t8EANgIAQbS3wQBBrLfBADYCAEHIt8EAQby3wQA2AgBBvLfBAEG0t8EANgIAQdC3wQ
236
- BBxLfBADYCAEHEt8EAQby3wQA2AgBB2LfBAEHMt8EANgIAQcy3wQBBxLfBADYCAEHgt8EAQdS3wQA2AgBB1LfBAEHMt8E
237
- ANgIAQfC4wQAgAzYCAEHct8EAQdS3wQA2AgBB6LjBACAFQVhqIgA2AgAgAyAAQQFyNgIEIAAgA2pBKDYCBEGMucEAQYCA
238
- gAE2AgAMAwsgAEEMaigCACADIARNciABIARLcg0BIAAgAiAFajYCBEHwuMEAQfC4wQAoAgAiA0EPakF4cSIBQXhqNgIAQ
239
- ei4wQBB6LjBACgCACAFaiICIAMgAWtqQQhqIgA2AgAgAUF8aiAAQQFyNgIAIAIgA2pBKDYCBEGMucEAQYCAgAE2AgAMAg
240
- tB6LjBACAAIAZrIgI2AgBB8LjBAEHwuMEAKAIAIgEgBmoiADYCACAAIAJBAXI2AgQgASAGQQNyNgIEIAFBCGohBQwCC0G
241
- QucEAQZC5wQAoAgAiACADIAAgA0kbNgIAIAMgBWohAUH8uMEAIQACQANAIAEgACgCAEcEQCAAKAIIIgANAQwCCwsgAEEM
242
- aigCAA0AIAAgAzYCACAAIAAoAgQgBWo2AgQgAyAGQQNyNgIEIAMgBmohBCABIANrIAZrIQYCQAJAIAFB8LjBACgCAEcEQ
243
- EHsuMEAKAIAIAFGDQEgAUEEaigCACIAQQNxQQFGBEAgASAAQXhxIgAQFSAAIAZqIQYgACABaiEBCyABIAEoAgRBfnE2Ag
244
- QgBCAGQQFyNgIEIAQgBmogBjYCACAGQYACTwRAQR8hBSAEQgA3AhAgBkH///8HTQRAIAZBBiAGQQh2ZyIAa0EfcXZBAXE
245
- gAEEBdGtBPmohBQsgBCAFNgIcIAVBAnRB5LfBAGohAQJAAkACQAJAQdi1wQAoAgAiAkEBIAVBH3F0IgBxBEAgASgCACIC
246
- QQRqKAIAQXhxIAZHDQEgAiEFDAILQdi1wQAgACACcjYCACABIAQ2AgAgBCABNgIYDAMLIAZBAEEZIAVBAXZrQR9xIAVBH
247
- 0YbdCEBA0AgAiABQR12QQRxakEQaiIAKAIAIgVFDQIgAUEBdCEBIAUiAkEEaigCAEF4cSAGRw0ACwsgBSgCCCIAIAQ2Ag
248
- wgBSAENgIIIARBADYCGCAEIAU2AgwgBCAANgIIDAULIAAgBDYCACAEIAI2AhgLIAQgBDYCDCAEIAQ2AggMAwsgBkEDdiI
249
- CQQN0Qdy1wQBqIQACf0HUtcEAKAIAIgFBASACdCICcQRAIAAoAggMAQtB1LXBACABIAJyNgIAIAALIQUgACAENgIIIAUg
250
- BDYCDCAEIAA2AgwgBCAFNgIIDAILQfC4wQAgBDYCAEHouMEAQei4wQAoAgAgBmoiADYCACAEIABBAXI2AgQMAQtB7LjBA
251
- CAENgIAQeS4wQBB5LjBACgCACAGaiIANgIAIAQgAEEBcjYCBCAAIARqIAA2AgALIANBCGoPC0H8uMEAIQADQAJAIAAoAg
252
- AiAiAETQRAIAIgACgCBGoiAiAESw0BCyAAKAIIIQAMAQsLQfC4wQAgAzYCAEHouMEAIAVBWGoiADYCACADIABBAXI2AgQ
253
- gACADakEoNgIEQYy5wQBBgICAATYCACAEIAJBYGpBeHFBeGoiACAAIARBEGpJGyIBQRs2AgRB/LjBACkCACEJIAFBEGpB
254
- hLnBACkCADcCACABIAk3AghBgLnBACAFNgIAQfy4wQAgAzYCAEGEucEAIAFBCGo2AgBBiLnBAEEANgIAIAFBHGohAANAI
255
- ABBBzYCACACIABBBGoiAEsNAAsgASAERg0AIAEgASgCBEF+cTYCBCAEIAEgBGsiBUEBcjYCBCABIAU2AgAgBUGAAk8EQE
256
- EfIQAgBEIANwIQIAVB////B00EQCAFQQYgBUEIdmciAGtBH3F2QQFxIABBAXRrQT5qIQALIARBHGogADYCACAAQQJ0QeS
257
- 3wQBqIQMCQAJAAkACQEHYtcEAKAIAIgFBASAAQR9xdCICcQRAIAMoAgAiAkEEaigCAEF4cSAFRw0BIAIhAAwCC0HYtcEA
258
- IAEgAnI2AgAgAyAENgIAIARBGGogAzYCAAwDCyAFQQBBGSAAQQF2a0EfcSAAQR9GG3QhAQNAIAIgAUEddkEEcWpBEGoiA
259
- ygCACIARQ0CIAFBAXQhASAAIQIgAEEEaigCAEF4cSAFRw0ACwsgACgCCCICIAQ2AgwgACAENgIIIARBGGpBADYCACAEIA
260
- A2AgwgBCACNgIIDAMLIAMgBDYCACAEQRhqIAI2AgALIAQgBDYCDCAEIAQ2AggMAQsgBUEDdiICQQN0Qdy1wQBqIQACf0H
261
- UtcEAKAIAIgFBASACdCICcQRAIAAoAggMAQtB1LXBACABIAJyNgIAIAALIQEgACAENgIIIAEgBDYCDCAEIAA2AgwgBCAB
262
- NgIIC0EAIQVB6LjBACgCACIAIAZNDQBB6LjBACAAIAZrIgI2AgBB8LjBAEHwuMEAKAIAIgEgBmoiADYCACAAIAJBAXI2A
263
- gQgASAGQQNyNgIEIAFBCGoPCyAFDwsgASAHNgIYIAMoAhAiAARAIAEgADYCECAAIAE2AhgLIANBFGooAgAiAEUNACABQR
264
- RqIAA2AgAgACABNgIYCwJAIAVBEE8EQCADIAZBA3I2AgQgAyAGaiIEIAVBAXI2AgQgBCAFaiAFNgIAQeS4wQAoAgAiAAR
265
- AIABBA3YiAkEDdEHctcEAaiEAQey4wQAoAgAhBwJ/QdS1wQAoAgAiAUEBIAJBH3F0IgJxBEAgACgCCAwBC0HUtcEAIAEg
266
- AnI2AgAgAAshAiAAIAc2AgggAiAHNgIMIAcgADYCDCAHIAI2AggLQey4wQAgBDYCAEHkuMEAIAU2AgAMAQsgAyAFIAZqI
267
- gBBA3I2AgQgACADaiIAIAAoAgRBAXI2AgQLIANBCGoLtA8BA38jAEGAC2siAiQAIAJBCGoQSyACQcgBakE4EHIaIAJBAT
268
- YCgAIgAkGIAmpBOBByGiACQQE2AsACIAJByAJqQTgQchogAkEBNgKAAyACQYgDakE4EHIaIAJBATYCwAMgAkHIA2pBOBB
269
- yGiACQQE2AoAEIAJBiARqQQEQigEgAkHIBGpBOBByGiACQQE2AoAFIAJBiAVqQTgQchogAkEBNgLABSACQcgFaiABEIUB
270
- IAJBiAZqQTgQchogAkEBNgLABiACQcgGakE4EHIaIAJBATYCgAcgAkGIB2pBOBByGiACQQE2AsAHIAJByAdqQTgQchogA
271
- kEBNgKACCACQcgFahBYIQMgAkHICWpB4ITAABBfIAJBiApqIAJByAlqEIsBIAJByAFqIAJBiApqEKUBIAJByAlqQZiFwA
272
- AQXyACQYgKaiACQcgJahCLASACQYgCaiACQYgKahClASACQcgFahADIAJByAVqQQsQUiACQYgGaiACQcgFahClASACQYg
273
- GaiACQYgEahB4IAJBiAZqEEQgAkGIBmogAkHIBWoQSCACQYgFaiACQcgBahClASACQYgFaiACQYgGahBIIAJBiAZqIAJB
274
- iARqEHggAkGIBmoQRCACQYgGaiACQYgCahBIIAJBiAZqEEEgAkGIBmoQRCACQYgDaiACQYgGahClASACQcgDaiACQcgFa
275
- hClASACQcgDaiACQYgDahBIIAJByAdqIAJBiANqEKUBIAJByAdqEAMgAkHIBmogAkGIBWoQpQEgAkHIBmoQAyACQYgGai
276
- ACQcgBahClASACQYgGaiACQcgGahBIIAJByAdqIAJBiAZqEHggAkHIB2oQRCACQcgHaiACQYgDahBIIAJByAZqIAJBiAV
277
- qEEggAkGIBmogAkGIAmoQpQEgAkGIBmogAkHIBmoQSCACQcgHaiACQYgGahB4IAJByAdqEEQgAkGIBmogAkHIB2oQpQEg
278
- AkGIBmogAkGIBWoQSCACQYgGaiACQYgHahBcIQQgAkGIBWogAkGIBmoQpQEgAkGIBWogAkGIB2oQNCACQYgFaiACQcgHa
279
- hBIIAJBiANqIAJBiAVqEEggAkHIA2ogAkGIBWoQSCACQcgFaiABEEggAkHIBmogAkGIBWoQpQEgAkHIBmoQAyACQYgFai
280
- ACQcgGahClASACQYgFaiACQcgFahBIIAJByAVqIAJBiAZqEKUBIAJByAVqQQsQUiACQcgJakHQhcAAEF8gAkGICmogAkH
281
- ICWoQiwEgAkHIAmogAkGICmoQpQEgAkHIAmogAkGIB2oQSCACQYgDaiACQcgDakEBIARrIgEQeSACQcgGaiACQYgFaiAB
282
- EHkgAkGIBmogAkHIBWogARB5IAJBiAdqIAJByAJqIAEQeSACQYgKaiACQYgGaiACQYgHahAjIAJByARqIAJBiApqEKUBI
283
- AJByARqIAJByAZqEEggAkHIBGoQWCEBIAJBiAZqIAJByARqEKUBIAJBiAZqEEEgAkGIBmoQRCACQcgEaiACQYgGaiABIA
284
- NzEHkgAkGICmpBiIbAABBfIAJBiAhqIAJBiApqEIsBQTghAQNAIAFBoAVGRQRAIAJBiAhqIAJBiANqEEggAkHICWogAUG
285
- IhsAAahBfIAFBOGohASACQYgKaiACQcgJahCLASACQYgGaiACQYgKahClASACQYgIaiACQYgGahB4IAJBiAhqEEQMAQsL
286
- IAJByAhqIAJBiANqEIUBIAJByAlqQaiLwAAQXyACQYgKaiACQcgJahCLASACQYgGaiACQYgKahClASACQcgIaiACQYgGa
287
- hB4IAJByAhqEERBACEBA0AgAUH4A0ZFBEAgAkHICGogAkGIA2oQSCACQcgJaiABQeCLwABqEF8gAUE4aiEBIAJBiApqIA
288
- JByAlqEIsBIAJBiAZqIAJBiApqEKUBIAJByAhqIAJBiAZqEHggAkHICGoQRAwBCwsgAkGICmpB2I/AABBfIAJBiAlqIAJ
289
- BiApqEIsBQQAhAQNAIAFByAZGBEACQCACQcgJaiACQYgDahCFASACQcgKakHYlsAAEF8gAkGICmogAkHICmoQiwEgAkGI
290
- BmogAkGICmoQpQEgAkHICWogAkGIBmoQeCACQcgJahBEQQAhAQNAIAFBkAZGDQEgAkHICWogAkGIA2oQSCACQcgKaiABQ
291
- ZCXwABqEF8gAUE4aiEBIAJBiApqIAJByApqEIsBIAJBiAZqIAJBiApqEKUBIAJByAlqIAJBiAZqEHggAkHICWoQRAwACw
292
- ALBSACQYgJaiACQYgDahBIIAJByAlqIAFBkJDAAGoQXyABQThqIQEgAkGICmogAkHICWoQiwEgAkGIBmogAkGICmoQpQE
293
- gAkGICWogAkGIBmoQeCACQYgJahBEDAELCyACQYgJaiACQcgEahBIIAJBiAZqIAJBiAhqEKUBIAJBiAZqIAJByAlqEEgg
294
- AkEIaiACQYgGahClASACQYgGaiACQYgJahClASACQYgGaiACQcgIahBIIAJByABqIAJBiAZqEKUBIAJBiAZqIAJByAhqE
295
- KUBIAJBiAZqIAJByAlqEEggAkGIAWogAkGIBmoQpQEgACACQQhqQcABEGcaIAJBgAtqJAALzQ0CE38IfiMAQYADayIBJA
296
- AgADQCOCIUIBR+QoCAgBBaBEAgABASCyABQeABakHoABByGiABQcgBaiAAKQMAIhggGEI/hyIZIBggGRAxIAEgASkDyAE
297
- iFEL//////////wODNwPYASABQdABaikDACIXQgaGIBRCOoiEIRUgF0I6iCEaIABBCGoiCyEFIAAhBkEBIQcDQCAHQQZP
298
- BEAgAEEYaiEMIABBKGohCyAAQRBqIQcgACkDMCEYQQQhBkEAIQkgAUGgAWohDUEDIQpBAiEIQQchBQJAAkADQCAFQQpLD
299
- QIgBiAIIAYgCEsbIQ4gBiAKIAYgCksbQQN0QWhqIQ8gAUGYAWogBUEDdCIQIABqQVBqKQMAIhQgFEI/hyAYIBhCP4ciGR
300
- AxIAVBAWoiEUEBdiESIA0pAwAhFyABKQOYASEUIAshAyAHIQQgBUF7aiITIQICQANAIAIgDkcEQCACQQdGDQIgAUGIAWo
301
- gBCkDACIWIBZCP4cgAykDACIWIBZCP4cQMSABKQOIASIWIBR8IhQgFlStIAFBkAFqKQMAIBd8fCEXIANBeGohAyAEQQhq
302
- IQQgAkEBaiECDAELCyABQdgBaiAQaiAUQgGGIhYgFXwiFUL//////////wODNwMAIAFB+ABqIAAgE0EDdGopAwAiGyAbQ
303
- j+HIBggGRAxIBUgFlStIBdCAYYgFEI/iIQgGnx8IhRCOochGiAUQgaGIBVCOoiEIRkgBUECaiEFIAFBgAFqKQMAIRcgAS
304
- kDeCEUIAshAyAJIQIDQCACIA9GBEAgAUHYAGogACASQQN0aikDACIVIBVCP4ciFiAVIBYQMSABQdgBaiARQQN0aiAUQgG
305
- GIhYgGXwiFSABKQNYfCIZQv//////////A4M3AwAgGSAVVK0gAUHgAGopAwAgFSAWVK0gF0IBhiAUQj+IhCAafHx8fCIU
306
- QjqHIRogFEIGhiAZQjqIhCEVIApBAmohCiAJQRBqIQkgCEECaiEIIAZBAWohBiAHQRBqIQcMAwsgAkEgRg0DIAFB6ABqI
307
- AIgDGopAwAiFSAVQj+HIAMpAwAiFSAVQj+HEDEgASkDaCIVIBR8IhQgFVStIAFB8ABqKQMAIBd8fCEXIANBeGohAyACQQ
308
- hqIQIMAAsACwtBB0EHQbSewAAQPAALQQdBB0HEnsAAEDwACyABQagBaiAAKQMoIhQgFEI/hyAYIBhCP4ciFBAxIAEgFSA
309
- BKQOoASIVQgGGIhl8IhdC//////////8DgzcDsAIgAUG4AWogGCAUIBggFBAxIAEgFyAZVK0gAUGwAWopAwBCAYYgFUI/
310
- iIQgGnx8IhhCBoYgF0I6iIQiFyABKQO4AXwiFEL//////////wODNwO4AiABIBQgF1StIAFBwAFqKQMAIBhCOod8fEIGh
311
- iAUQjqIhDcDwAIgAUHIAmogAUHYAWoQBSAAIAFByAJqEGsgAEECNgI4IAFBgANqJAAPCyABQcgAaiAAIAdBA3QiDGopAw
312
- AiFCAUQj+HIBggGRAxIAdBAWoiDUEBdiEOIAFB0ABqKQMAIRcgASkDSCEUIAghAiAGIQMgCiEEIAshCQNAIAJFBEAgAUH
313
- YAWogDGogFEIBhiIWIBV8IhVC//////////8DgzcDACABQShqIAAgDUEDdCIMaikDACIbIBtCP4cgGCAZEDEgFSAWVK0g
314
- F0IBhiAUQj+IhCAafHwiFEI6hyEaIBRCBoYgFUI6iIQhFiAHQQJqIQkgAUEwaikDACEXQQAhAiABKQMoIRQgBSEDIAshB
315
- ANAIAIgCGpFBEAgAUEIaiAAIA5BA3RqKQMAIhUgFUI/hyIbIBUgGxAxIAFB2AFqIAxqIBRCAYYiGyAWfCIVIAEpAwh8Ih
316
- ZC//////////8DgzcDACAWIBVUrSABQRBqKQMAIBUgG1StIBdCAYYgFEI/iIQgGnx8fHwiFEI6hyEaIBRCBoYgFkI6iIQ
317
- hFSAFQRBqIQUgCEEBaiEIIAZBEGohBiAKQQJqIQogCSEHDAQLIAIgB2oiDUEGTQRAIAFBGGogBCkDACIVIBVCP4cgAykD
318
- ACIVIBVCP4cQMSABKQMYIhUgFHwiFCAVVK0gAUEgaikDACAXfHwhFyADQXhqIQMgAkF/aiECIARBCGohBAwBCwsgDUEHQ
319
- aSewAAQPAALIARBBk0EQCABQThqIAkpAwAiFiAWQj+HIAMpAwAiFiAWQj+HEDEgASkDOCIWIBR8IhQgFlStIAFBQGspAw
320
- AgF3x8IRcgAkF/aiECIANBeGohAyAEQX9qIQQgCUEIaiEJDAELCwsgBEEHQZSewAAQPAAL7wwBBH8jAEHADWsiAiQAAkA
321
- gACgCgAYiA0EBRwRAIAEoAoAGIgRBAUYNAQJAAkACQAJAIARBA00EQCADQX5xQQJGDQEgAiAAEI4BIAJBgAJqEC8gAkGA
322
- BGoQLyACQYAGahAvIAJBgAhqIAAQjgEgAkGACmoQLyACIAEQGSACQYAIaiAAQYACaiIFEJYBIAJBgAhqEKwBIAJBgAJqI
323
- AJBgAhqEJIBIAJBgAJqIAEQGSACQYAIaiAFEJIBIAJBgAhqIABBgARqIgMQlgEgAkGACGoQrAEgAkGABmogAkGACGoQkg
324
- EgBEECRg0CIAJBwAxqIAFBgAVqEF4gAkGABmogAkHADGoQogEMAwsgAiAAEI4BIAJBgAJqEC8gAkGABGoQLyACQYAGahA
325
- vIAIgARAZAkACQCAEQQRGIgQNACAAKAKABkEERg0AIAJBgARqIABBgAJqEJIBIAJBgARqIAFBgAJqEBkMAQsgAkHADGpB
326
- OBByGiACQQE2AvgMIAJBgA1qQTgQchogAkG4DWpBATYCACACQYAIakE4EHIaIAJBATYCuAggAkHACGpBOBByGiACQfgIa
327
- kEBNgIAIAJBgApqIABBgANqIgMQXiACQYAIaiACQYAKahCQASACQYAKaiABQYADaiIFEF4gAkGACGogAkGACmoQDyACQc
328
- AMahCpASAERQRAIAJBgApqIAMQXiACQcAMaiACQYAKahCQASACQYAKaiABQYACahBeIAJBwAxqIAJBgApqEA8LIAAoAoA
329
- GQQRHBEAgAkGACmogAEGAAmoQXiACQcAMaiACQYAKahCQASACQYAKaiAFEF4gAkHADGogAkGACmoQDwsgAkGABGogAkHA
330
- DGogAkGACGoQoQEgAkGABGoQZgsgAkGACGogABCOASACQYAKaiABEI4BIAJBgAhqIABBgAJqIgQQlgEgAkGACGoQrAEgA
331
- kGACmogAUGAAmoiBRCWASACQYAKahCsASACQYACaiACQYAIahCSASACQYACaiACQYAKahAZIAJBgAhqIAQQkgEgAkGACG
332
- ogAEGABGoiAxCWASACQYAIahCsASACQYAKaiAFEJIBIAJBgApqIAFBgARqIgUQlgEgAkGACmoQrAEgAkGABmogAkGACGo
333
- QkgEgAkGABmogAkGACmoQGSACQYAIaiACEJIBIAJBgAhqECsgAkGACmogAkGABGoQkgEgAkGACmoQKyACQYACaiACQYAI
334
- ahCWASAEIAJBgAJqEJIBIAQgAkGACmoQlgEgAkGABmogAkGACmoQlgEgAkGABGogAkGACGoQlgEgAkGACGogABCSASACQ
335
- YAIaiADEJYBIAJBgAhqEKwBIAJBgApqIAEQkgEgAkGACmogBRCWASACQYAKahCsASACQYAIaiACQYAKahAZIAJBgARqIA
336
- JBgAhqEJYBIAJBgAhqIAMQkgEgAkGACGogBRAZIAJBgApqIAJBgAhqEJIBIAJBgApqECsgAyACQYAEahCSASADIAJBgAp
337
- qEJYBIAJBgAZqIAJBgApqEJYBIAJBgAhqEGYgBCACQYAIahCWAQwDCyAAIAEQBgwECyACQcAMaiABQYAFahBeIAJBgAxq
338
- IAJBwAxqQcAAEGcaIAJBgAZqIAJBgAxqEKMBCyACQYAGahBmIAJBgAhqIAIQkgEgAkGACGoQKyACQYACaiACQYAIahCWA
339
- SAFIAJBgAJqEJIBIAJBgARqIAJBgAhqEJIBIAJBgAhqIAAQkgEgAkGACGogAxCWASACQYAIahCsASACQYAKaiABEJIBIA
340
- JBgApqIAFBgARqEJYBIAJBgApqEKwBIAJBgAhqIAJBgApqEBkgAkGABGogAkGACGoQlgEgAkGACGogAxCSAQJAIARBAkc
341
- EQCACQcAMaiABQYAFahBeIAJBgAhqIAJBwAxqEKIBDAELIAJBwAxqIAFBgAVqEF4gAkGADGogAkHADGpBwAAQZxogAkGA
342
- CGogAkGADGoQowELIAJBgAhqEGYgAkGACmogAkGACGoQkgEgAkGACmoQKyADIAJBgARqEJIBIAMgAkGACmoQlgEgAkGAB
343
- mogAkGACmoQlgEgAkGACGoQZiAFIAJBgAhqEJYBCyACQYAGahCsASACQYAGahBmIAAgAhCSASAAIAJBgAZqEJYBIABBBT
344
- YCgAYgABCZAQwBCyAAIAEQbAsgAkHADWokAAuaCQIPfwt+IwBBwAJrIgIkACACQeAAakGgp8AAEF8gAEE4EHIhDCACQZg
345
- BakHwABByGiACQZACakEwEHIaIAwQdCACIAEpAwAiFEL9//P/z///+QF+Qv//////////A4MiETcDiAIgAkHQAGogEUIA
346
- IAIpA2AiGCAYQj+HIhoQMSAUIAIpA1AiEXwiFiARVK0gAkHYAGopAwAgFEI/h3x8IhRCOocgASkDCCIRQj+HfCARIBRCB
347
- oYgFkI6iIQiEXwiEiARVK18IRNBASEDAkADQAJAIANBB0YEQCACQZACaiEJIAJB6ABqIQpBByEEIAJB4ABqIQ0gAkGIAm
348
- ohDkEGIQ8MAQsgA0EBdiIAQQFqIQUgCiAAayEGIAkgAEEDdCIHayEAIAdBCGohCCACQUBrIANBA3QiBCACQeAAamopAwA
349
- iFiAWQj+HIhQgAikDiAIiESARQj+HEDEgAkHIAGopAwAgEiAVfCIRIBJUrSATIBd8fHwgESACKQNAfCITIBFUrXwhEiAD
350
- QQFqIQcDQCADIAVNBEAgAkGIAmogBGogE0L9//P/z///+QF+Qv//////////A4MiETcDACACQTBqIBFCACAYIBoQMSACQ
351
- SBqIBFCACAWIBQQMSACQZgBaiADQQR0aiIAIAJBKGopAwAiGzcDCCAAIAIpAyAiGTcDACACKQMwIhEgE3wiFiARVK0gAk
352
- E4aikDACASfHwiFEI6hyABIAdBA3RqKQMAIhFCP4d8IBEgFEIGhiAWQjqIhCIRfCISIBFUrXwhEyAVIBl8IhUgGVStIBc
353
- gG3x8IRcgCUEIaiEJIApBAWohCiAHIQMMAwsgBkEGSw0DIAJBEGogAkHgAGogCGopAwAgAkHgAGogAGopAwB9IhEgEUI/
354
- hyACQYgCaiAAaikDACACQYgCaiAIaikDAH0iESARQj+HEDEgAikDECIRIBN8IhMgEVStIAJBGGopAwAgEnx8IRIgBUEBa
355
- iEFIABBeGohACAGQX9qIQYgCEEIaiEIDAALAAsLA0ACQCAEQQ1HBEAgDyAEQQF2IgBrIQUgDiAAQQN0IgtrIRAgDSALay
356
- EIIBMgF3wgEiAVfCITIBJUrXwhEiAEQQFqIQdBMCEAIAkhBiAKIQMDQCAAIAtGDQIgBUEGTQRAIAIgAyALaikDACAAIAh
357
- qKQMAfSIRIBFCP4cgACAQaikDACAGIAtqKQMAfSIRIBFCP4cQMSACKQMAIhEgE3wiEyARVK0gAkEIaikDACASfHwhEiAF
358
- QX9qIQUgBkEIaiEGIANBCGohAyAAQXhqIQAMAQsLIAVBB0HknsAAEDwACyAMIBJC//////////8DgzcDMCACQcACaiQAD
359
- wsgBEEDdCAMakFIaiATQv//////////A4M3AwAgEkI6hyABIAdBA3RqKQMAIhFCP4d8IBEgEkIGhiATQjqIhCIRfCISIB
360
- FUrXwhEyAXIARBBHQgAmpBOGoiAEEIaikDAH0gFSAAKQMAIhFUrX0hFyAOQQhqIQ4gDUEIaiENIA9BAWohDyAVIBF9IRU
361
- gByEEDAALAAsgBkEHQdSewAAQPAAL+QkBBH8jAEGACWsiAiQAIAJBgAhqIAAQXiACIAJBgAhqEF4gAkGACGogAEGAAWoi
362
- BBBeIAJBgAFqIAJBgAhqEF4gAkGACGogARBeIAIgAkGACGoQDyACQYAIaiABQYABaiIFEF4gAkGAAWogAkGACGoQDyAAK
363
- AKABiEDAkACQCABKAKABkECRwRAIANBAkYNASACQYAIaiAAQYAFahBeIAJBgAJqIAJBgAhqEF4gAkGACGogAUGABWoQXi
364
- ACQYACaiACQYAIahAPDAILIANBAkYEQCACQYAIaiAAQYAFahBeIAJBgAdqIAJBgAhqQcAAEGcaIAJBgAZqIAJBgAdqEIU
365
- BIAJBgAhqIAFBgAVqEF4gAkGAB2ogAkGACGpBwAAQZxogAkGABmogAkGAB2oQSCACQYAIakE4EHIaIAJBATYCuAggAkHA
366
- CGpBOBByIAJB+AhqQQE2AgAgAkGACGogAkGABmoQpQEQsgEgAkGAAmogAkGACGpBgAEQZxoMAgsgAkGACGogAEGABWoQX
367
- iACQYACaiACQYAIahBeIAJBgAhqIAFBgAVqEF4gAkGAB2ogAkGACGpBwAAQZxogAkGAAmogAkGAB2oQoAEMAQsgAkGACG
368
- ogAUGABWoQXiACQYACaiACQYAIahBeIAJBgAhqIABBgAVqEF4gAkGAB2ogAkGACGpBwAAQZxogAkGAAmogAkGAB2oQoAE
369
- LIAJBgAhqIAAQXiACQYADaiACQYAIahBeIAJBgAhqIAEQXiACQYAEaiACQYAIahBeIAJBgAhqIAQQXiACQYADaiACQYAI
370
- ahCVASACQYADahCoASACQYAIaiAFEF4gAkGABGogAkGACGoQlQEgAkGABGoQqAEgAkGABWogAkGAA2oQXiACQYAFaiACQ
371
- YAEahAPIAJBgAZqIAIQXiACQYAGaiACQYABahCVASACQYAGahA6IAJBgAVqIAJBgAZqEJUBIAJBgAhqIAAQXiACQYADai
372
- ACQYAIahCQASACQYAIaiAAQYAFaiIDEF4gAkGAA2ogAkGACGoQlQEgAkGAA2oQqAEgAkGACGogARBeIAJBgARqIAJBgAh
373
- qEJABIAJBgAhqIAFBgAVqIgEQXiACQYAEaiACQYAIahCVASACQYAEahCoASACQYAHaiACQYADahBeIAJBgAdqIAJBgARq
374
- EA8gAkGABmogAhCQASACQYAGaiACQYACahCVASACQYAGahA6IAJBgAdqIAJBgAZqEJUBIAJBgAhqIAQQXiACQYADaiACQ
375
- YAIahCQASACQYAIaiADEF4gAkGAA2ogAkGACGoQlQEgAkGAA2oQqAEgAkGACGogBRBeIAJBgARqIAJBgAhqEJABIAJBgA
376
- hqIAEQXiACQYAEaiACQYAIahCVASACQYAEahCoASACQYAIaiACQYADahBeIAJBgAhqIAJBgARqEA8gAkGABmogAkGAAWo
377
- QkAEgAkGABmogAkGAAmoQlQEgAkGABmoQOiACQYAIaiACQYAGahCVASACQYABahBVIAIgAkGAAWoQlQEgACACIAJBgAVq
378
- EKEBIAJBgAJqEFUgAkGAAmoQqAEgAEGAA2ogAkGAAmoQkAEgAEGAAmoQqQEgAkGACGoQqAEgAkGACGoQVSAAQYAEaiIBI
379
- AJBgAhqIAJBgAdqEKEBIAAQrAEgARCsASAAQQQ2AoAGIAJBgAlqJAALnwgBB38jAEGgC2siASQAIAFBCGpBoKfAABBfIA
380
- FBCGpBARCeAQNAIAJBMEYEQCABIAEpAzhCAYc3AzggAUEIakEBEJ4BIAFBCGpBARA7QQAhAiABQYABakE4EHIaIAFB4Ap
381
- qQTgQchogAUGACWpBOBByGiABQQE2ArgBIAFBwAFqQTgQciEEIAFB+AFqQQE2AgAgAUGAAmpBOBByGiABQbgCakEBNgIA
382
- IAFBwAJqQTgQchogAUH4AmpBATYCACABQYADakE4EHIaIAFBuANqQQE2AgAgAUHAA2pBOBByGiABQfgDakEBNgIAIAFBg
383
- ARqQTgQchogAUG4BGpBATYCACABQcAEakE4EHIaIAFB+ARqQQE2AgAgAUGABWpBOBByGiABQbgFakEBNgIAIAFBwAVqQT
384
- gQchogAUH4BWpBATYCACABQYAGakE4EHIaIAFBuAZqQQE2AgAgAUHABmpBOBByGiABQfgGakEBNgIAIAFBgAdqQTgQcho
385
- gAUG4B2pBATYCACABQcAHakE4EHIaIAFB+AdqQQE2AgAgAUGACGogAUHgCmpBOBBnGiABQbgIakEBNgIAIAFBwAhqIAFB
386
- gAlqQTgQZxogAUH4CGpBATYCACABQYAJakHnABByGiABQegJaiAAEIUBIAFB6AlqEEQgAUGoCmogAUEIahBfIAFBqApqE
387
- EQgAUGoCmoQKUEDaiIFQQJ2IgNBAWohBgJAAkACQAJAAkACQANAAkAgAiAGRgRAIAFBgAFqEGkgBCABQegJahClASABQe
388
- AKakE4EHIaIAFBATYCmAtBgHkhAgwBCyABQagKaiABQagKakEEEIwBIgcQngEgAUGoCmoQRCACQecARg0CIAFBgAlqIAJ
389
- qIAc6AAAgAUGoCmpBBBA7IAJBAWohAgwBCwsDQCACBEAgAUHgCmogAUGAAWogAmoiBEHAB2oQpQEgBEGACGoiBCABQeAK
390
- ahClASAEIAFB6AlqEEggAkFAayECDAELCyAFQZwDTw0BIAFBgAlqIANqLAAAIgJBD0sNAiABQUBrIAFBgAFqIAJBBnRqE
391
- IUBIANBf2ohAgNAIAJBf0YNBiABQUBrEAMgAUFAaxADIAFBQGsQAyABQUBrEAMgAkHmAEsNBCABQYAJaiACai0AACIDQQ
392
- 9LDQUgAUFAayABQYABaiADQQZ0ahBIIAJBf2ohAgwACwALQecAQecAQYSjwAAQPAALIANB5wBBlKPAABA8AAsgAkEQQaS
393
- jwAAQPAALIAJB5wBBtKPAABA8AAsgA0EYdEEYdUEQQcSjwAAQPAALIAFBQGsQEiAAIAFBQGsQpQEgAUGgC2okAAUgAUEI
394
- aiACaiIDIANBCGopAwBCOYZCgICAgICAgIACgyADKQMAQgGHhDcDACACQQhqIQIMAQsLC8EHAhJ/BX4jAEGQAmsiBCQAI
395
- ABB8AAQciEPIARBMGpB4AEQchogBEEwaiEAAkADQCADQThGBEACQCAPIAQpAzAiGEL//////////wODNwMAIAFBCGohCS
396
- ACQQhqIQogAiEMIAEhDUF4IRBBASEGIBghFSAEQThqKQMAIhkhFwNAAkAgF0IGhiAVQjqIhCEWIBdCOochFyAGQQdGBEA
397
- gAUEIaiEMIAJBCGohDUEHIQBBBiEKDAELIAsgBkEBdiIFayEAIAwgBUEDdCIIayERIA0gCGshEiAEQTBqIAZBBHRqIgVB
398
- CGopAwAgGXwgBSkDACIVIBh8IhggFVStfCIZIBd8IBYgGHwiFSAYVK18IRcgCEFQaiETIAggEGohFCAGQQFqIQ5BACEDI
399
- AkhByAKIQUDQCADIBRGBEAgDyAGQQN0aiAVQv//////////A4M3AwAgDEEIaiEMIA1BCGohDSALQQFqIQsgEEF4aiEQIA
400
- 4hBgwDCyADIBNGDQYgAEEGSw0DIARBEGogAyARaikDACAFIAhqKQMAfSIWIBZCP4cgByAIaikDACADIBJqKQMAfSIWIBZ
401
- CP4cQMSAEKQMQIhYgFXwiFSAWVK0gBEEYaikDACAXfHwhFyAAQX9qIQAgB0EIaiEHIAVBCGohBSADQXhqIQMMAAsACwsD
402
- QAJAIABBDUcEQCAKIABBAXYiBWshByACIAVBA3QiCWshCCABIAlrIQsgGSAAQQR0IARqQUBqIgVBCGopAwB9IBggBSkDA
403
- CIVVK19IhkgF3wgGCAVfSIYIBZ8IhcgGFStfCEVIABBAWohBkEwIQMgDCEFIA0hDgNAIAMgCUYNAiAHQQZNBEAgBCADIA
404
- hqKQMAIAkgDmopAwB9IhYgFkI/hyAFIAlqKQMAIAMgC2opAwB9IhYgFkI/hxAxIAQpAwAiFiAXfCIXIBZUrSAEQQhqKQM
405
- AIBV8fCEVIAdBf2ohByAFQQhqIQUgDkEIaiEOIANBeGohAwwBCwsgB0EHQYSewAAQPAALIA8gFjcDaCAEQZACaiQADwsg
406
- DyAAQQN0aiAXQv//////////A4M3AwAgFUIGhiAXQjqIhCEWIAJBCGohAiABQQhqIQEgCkEBaiEKIBVCOochFyAGIQAMA
407
- AsACwUgBEEgaiACIANqKQMAIhUgFUI/hyABIANqKQMAIhUgFUI/hxAxIAAgBEEoaikDADcDCCAAIAQpAyA3AwAgAEEQai
408
- EAIANBCGohAwwBCwsgAEEHQfSdwAAQPAALQQdBB0HkncAAEDwAC8sIAQV/IABBeGoiASAAQXxqKAIAIgNBeHEiAGohAgJ
409
- AAkAgA0EBcQ0AIANBA3FFDQEgASgCACIDIABqIQAgASADayIBQey4wQAoAgBGBEAgAigCBEEDcUEDRw0BQeS4wQAgADYC
410
- ACACIAIoAgRBfnE2AgQgASAAQQFyNgIEIAAgAWogADYCAA8LIAEgAxAVCwJAIAJBBGoiBCgCACIDQQJxBEAgBCADQX5xN
411
- gIAIAEgAEEBcjYCBCAAIAFqIAA2AgAMAQsCQCACQfC4wQAoAgBHBEBB7LjBACgCACACRg0BIAIgA0F4cSICEBUgASAAIA
412
- JqIgBBAXI2AgQgACABaiAANgIAIAFB7LjBACgCAEcNAkHkuMEAIAA2AgAPC0HwuMEAIAE2AgBB6LjBAEHouMEAKAIAIAB
413
- qIgA2AgAgASAAQQFyNgIEQey4wQAoAgAgAUYEQEHkuMEAQQA2AgBB7LjBAEEANgIAC0GMucEAKAIAIgIgAE8NAkHwuMEA
414
- KAIAIgBFDQICQEHouMEAKAIAIgNBKUkNAEH8uMEAIQEDQCABKAIAIgQgAE0EQCAEIAEoAgRqIABLDQILIAEoAggiAQ0AC
415
- wtBlLnBAAJ/Qf8fQYS5wQAoAgAiAEUNABpBACEBA0AgAUEBaiEBIAAoAggiAA0ACyABQf8fIAFB/x9LGws2AgAgAyACTQ
416
- 0CQYy5wQBBfzYCAA8LQey4wQAgATYCAEHkuMEAQeS4wQAoAgAgAGoiADYCACABIABBAXI2AgQgACABaiAANgIADwtBlLn
417
- BAAJ/AkAgAEGAAk8EQEEfIQIgAUIANwIQIABB////B00EQCAAQQYgAEEIdmciAmtBH3F2QQFxIAJBAXRrQT5qIQILIAFB
418
- HGogAjYCACACQQJ0QeS3wQBqIQMCQAJAAkACQAJAQdi1wQAoAgAiBEEBIAJBH3F0IgVxBEAgAygCACIDQQRqKAIAQXhxI
419
- ABHDQEgAyECDAILQdi1wQAgBCAFcjYCACADIAE2AgAMAwsgAEEAQRkgAkEBdmtBH3EgAkEfRht0IQQDQCADIARBHXZBBH
420
- FqQRBqIgUoAgAiAkUNAiAEQQF0IQQgAiEDIAJBBGooAgBBeHEgAEcNAAsLIAIoAggiACABNgIMIAIgATYCCCABQRhqQQA
421
- 2AgAgASACNgIMIAEgADYCCAwCCyAFIAE2AgALIAFBGGogAzYCACABIAE2AgwgASABNgIIC0GUucEAQZS5wQAoAgBBf2oi
422
- ADYCACAADQNBhLnBACgCACIADQFB/x8MAgsgAEEDdiICQQN0Qdy1wQBqIQACf0HUtcEAKAIAIgNBASACdCICcQRAIAAoA
423
- ggMAQtB1LXBACACIANyNgIAIAALIQIgACABNgIIIAIgATYCDCABIAA2AgwgASACNgIIDwtBACEBA0AgAUEBaiEBIAAoAg
424
- giAA0ACyABQf8fIAFB/x9LGws2AgALC9AHAgp/An4jAEEwayIIJABBJyECAkAgADUCACIMQpDOAFQEQCAMIQ0MAQsDQCA
425
- IQQlqIAJqIgBBfGogDEKQzgCAIg1C8LF/fiAMfKciA0H//wNxQeQAbiIEQQF0QeaowABqLwAAOwAAIABBfmogBEGcf2wg
426
- A2pB//8DcUEBdEHmqMAAai8AADsAACACQXxqIQIgDEL/wdcvViANIQwNAAsLIA2nIgBB4wBKBEAgAkF+aiICIAhBCWpqI
427
- A2nIgNB//8DcUHkAG4iAEGcf2wgA2pB//8DcUEBdEHmqMAAai8AADsAAAsCQCAAQQpOBEAgAkF+aiIFIAhBCWpqIABBAX
428
- RB5qjAAGovAAA7AAAMAQsgAkF/aiIFIAhBCWpqIABBMGo6AAALQScgBWshA0EBIQJBK0GAgMQAIAEoAgAiAEEBcSIGGyE
429
- EIABBHXRBH3VB9KrAAHEhByAIQQlqIAVqIQUCQCABKAIIQQFHBEAgASAEIAcQUw0BIAEoAhggBSADIAFBHGooAgAoAgwR
430
- BQAhAgwBCyABQQxqKAIAIgkgAyAGaiIGTQRAIAEgBCAHEFMNASABKAIYIAUgAyABQRxqKAIAKAIMEQUAIQIMAQsCQAJAA
431
- kACQCAAQQhxBEAgASgCBCEKIAFBMDYCBCABLQAgIQsgAUEBOgAgIAEgBCAHEFMNBUEAIQIgCSAGayIAIQRBASABLQAgIg
432
- cgB0EDRhtBA3FBAWsOAwIBAgMLQQAhAiAJIAZrIgAhCQJAAkACQEEBIAEtACAiBiAGQQNGG0EDcUEBaw4DAQABAgsgAEE
433
- BdiECIABBAWpBAXYhCQwBC0EAIQkgACECCyACQQFqIQIDQCACQX9qIgJFDQQgASgCGCABKAIEIAEoAhwoAhARAwBFDQAL
434
- QQEhAgwECyAAQQF2IQIgAEEBakEBdiEEDAELQQAhBCAAIQILIAJBAWohAgJAA0AgAkF/aiICRQ0BIAEoAhggASgCBCABK
435
- AIcKAIQEQMARQ0AC0EBIQIMAgsgASgCBCEHQQEhAiABKAIYIAUgAyABKAIcKAIMEQUADQEgBEEBaiEAIAEoAhwhAyABKA
436
- IYIQQDQCAAQX9qIgAEQCAEIAcgAygCEBEDAEUNAQwDCwsgASALOgAgIAEgCjYCBEEAIQIMAQsgASgCBCEGQQEhAiABIAQ
437
- gBxBTDQAgASgCGCAFIAMgASgCHCgCDBEFAA0AIAlBAWohACABKAIcIQMgASgCGCEBA0AgAEF/aiIARQRAQQAhAgwCCyAB
438
- IAYgAygCEBEDAEUNAAsLIAhBMGokACACC7gGAQV/IwBBgAhrIgIkACACIAAQXiACIAEQDyACQYABaiAAQYABaiIDEF4gA
439
- kGAAWogAUGAAWoiBRAPIAJBgAJqIABBgAJqIgQQXiACQYACaiABQYACaiIGEA8gAkGAA2ogABBeIAJBgANqIAMQlQEgAk
440
- GAA2oQqAEgAkGABGogARBeIAJBgARqIAUQlQEgAkGABGoQqAEgAkGAA2ogAkGABGoQDyACQYAEaiACEJABIAJBgARqIAJ
441
- BgAFqEJUBIAJBgANqIAJBgARqEH0gAkGAA2oQqAEgAkGABGogAxCQASACQYAEaiAEEJUBIAJBgARqEKgBIAJBgAVqIAUQ
442
- XiACQYAFaiAGEJUBIAJBgAVqEKgBIAJBgARqIAJBgAVqEA8gAkGABWogAkGAAWoQkAEgAkGABWogAkGAAmoQlQEgAkGAB
443
- GogAkGABWoQfSACQYAEahCoASACQYAFaiAAEJABIAJBgAVqIAQQlQEgAkGABWoQqAEgAkGABmogARBeIAJBgAZqIAYQlQ
444
- EgAkGABmoQqAEgAkGABWogAkGABmoQDyACQYAGaiACEJABIAJBgAZqIAJBgAJqEJUBIAJBgAZqIAJBgAVqELUBIAJBgAZ
445
- qEKgBIAJBgAVqIAIQkAEgAkGABWogAhCVASACIAJBgAVqEJUBIAIQqAEgAkGAAmpBDBCfASACQYACahBVIAJBgAJqEKgB
446
- IAJBgAdqIAJBgAFqEF4gAkGAB2ogAkGAAmoQlQEgAkGAB2oQqAEgAkGAAWogAkGAAmoQfSACQYABahCoASACQYAGakEME
447
- J8BIAJBgAZqEFUgAkGABmoQqAEgAkGABWogAkGABmoQkAEgAkGABWogAkGABGoQDyACQYACaiACQYADahCQASACQYACai
448
- ACQYABahAPIAJBgAVqIAJBgAJqELUBIAJBgAZqIAIQDyACQYABaiACQYAHahAPIAJBgAZqIAJBgAFqEJUBIAIgAkGAA2o
449
- QDyACQYAHaiACQYAEahAPIAJBgAdqIAIQlQEgACACQYAFahCQASAAEKgBIAMgAkGABmoQkAEgAxCoASAEIAJBgAdqEJAB
450
- IAQQqAEgAkGACGokAAv2BQEFfyMAQYAEayICJAAgAiAAEIUBIAIgARBIIAJBQGsgAEFAayIDEIUBIAJBQGsgAUFAayIFE
451
- EggAkGAAWogAEGAAWoiBBCFASACQYABaiABQYABaiIGEEggAkHAAWogABCFASACQcABaiADEHggAkHAAWoQRCACQYACai
452
- ABEIUBIAJBgAJqIAUQeCACQYACahBEIAJBwAFqIAJBgAJqEEggAkGAAmogAhClASACQYACaiACQUBrEHggAkHAAWogAkG
453
- AAmoQgAEgAkHAAWoQRCACQYACaiADEKUBIAJBgAJqIAQQeCACQYACahBEIAJBwAJqIAUQhQEgAkHAAmogBhB4IAJBwAJq
454
- EEQgAkGAAmogAkHAAmoQSCACQcACaiACQUBrEKUBIAJBwAJqIAJBgAFqEHggAkGAAmogAkHAAmoQgAEgAkGAAmoQRCACQ
455
- cACaiAAEKUBIAJBwAJqIAQQeCACQcACahBEIAJBgANqIAEQhQEgAkGAA2ogBhB4IAJBgANqEEQgAkHAAmogAkGAA2oQSC
456
- ACQYADaiACEKUBIAJBgANqIAJBgAFqEHggAkGAA2ogAkHAAmoQswEgAkGAA2oQRCACQcACaiACEKUBIAJBwAJqIAIQeCA
457
- CIAJBwAJqEHggAhBEIAJBgAFqQQwQUiACQcADaiACQUBrEIUBIAJBwANqIAJBgAFqEHggAkHAA2oQRCACQUBrIAJBgAFq
458
- EIABIAJBQGsQRCACQYADakEMEFIgAkHAAmogAkGAA2oQpQEgAkHAAmogAkGAAmoQSCACQYABaiACQcABahClASACQYABa
459
- iACQUBrEEggAkHAAmogAkGAAWoQswEgAkGAA2ogAhBIIAJBQGsgAkHAA2oQSCACQYADaiACQUBrEHggAiACQcABahBIIA
460
- JBwANqIAJBgAJqEEggAkHAA2ogAhB4IAAgAkHAAmoQpQEgABBEIAMgAkGAA2oQpQEgAxBEIAQgAkHAA2oQpQEgBBBEIAJ
461
- BgARqJAALxQUBBH8jAEHwEmsiACQAIAAQOEF/IQEgABCIAUUEQCAAQYADakE4EHIaIABBuANqQTgQchogAEG4A2ogAEGA
462
- A2oQVCAAQfAKakG4gMAAEF8gAEHwDWpB8IDAABBfIABB8ANqIABB8ApqIABB8A1qEEkgAEHwBGpBOBByGiAAQQE2AqgFI
463
- ABBsAVqQTgQchogAEHoBWpBATYCACAAQfAFakE4EHIaIABBATYCqAYgAEGwBmpBOBByGiAAQegGakEBNgIAIABB8AZqQT
464
- gQchogAEEBNgKoByAAQbAHakE4EHIaIABB6AdqQQE2AgBBf2ohAyAAQfAHahAqIABB8AdqIAAQfiAAQfAKahAqIABB8Ap
465
- qIABB8AdqEH4gAEHwDWoQKiAAQfANaiAAQfAHahB+IABB8A1qEJwBAkACQAJAA0AgAiEBIANBAkkNAyAAQfAKaiAAQfAE
466
- aiAAQfAFaiAAQfAGahAlIAFBxABNBEAgAEHwEGogAEHwBGogAEHwBWogAEHwBmoQRiABQQh0QdCrwABqIABB8BBqEJIBI
467
- AFBAWohAgJAAkAgAEG4A2ogA0F/aiIDEFcgAEGAA2ogAxBXa0EBag4DAQMAAwsgAEHwCmogAEHwB2ogAEHwBGogAEHwBW
468
- ogAEHwBmoQHiABQcMASw0DIABB8BBqIABB8ARqIABB8AVqIABB8AZqEEYgAkEIdEHQq8AAaiAAQfAQahCSASABQQJqIQI
469
- MAgsgAEHwCmogAEHwDWogAEHwBGogAEHwBWogAEHwBmoQHiABQcMASw0DIABB8BBqIABB8ARqIABB8AVqIABB8AZqEEYg
470
- AkEIdEHQq8AAaiAAQfAQahCSASABQQJqIQIMAQsLIAFBxQBBvIHAABA8AAtBxQBBxQBBzIHAABA8AAtBxQBBxQBB3IHAA
471
- BA8AAtBACEBCyAAQfASaiQAIAEL8gQBBH8jAEGADGsiAiQAIAIgABCOASACQYACahAvIAJBgARqIABBgAJqIgMQjgEgAk
472
- GABmoQLyACQYAIaiAAEI4BIAJBgApqIAEQjgEgAiABEBkgAkGABGogAUGAAmoiBBAZIAJBgAhqIAMQlgEgAkGACmogBBC
473
- WASACQYAIahCsASACQYAKahCsASACQYACaiACQYAIahCSASACQYACaiACQYAKahAZIAJBgAhqIAMQkgEgAkGACGogAEGA
474
- BGoiBRCWASACQYAKaiAEEJIBIAJBgApqIAFBgARqIgQQlgEgAkGACGoQrAEgAkGACmoQrAEgAkGABmogAkGACGoQkgEgA
475
- kGABmogAkGACmoQGSACQYAIaiACEJIBIAJBgAhqECsgAkGACmogAkGABGoQkgEgAkGACmoQKyACQYACaiACQYAIahCWAS
476
- ADIAJBgAJqEJIBIAMgAkGACmoQlgEgAkGABmogAkGACmoQlgEgAkGABGogAkGACGoQlgEgAkGACGogABCSASACQYAIaiA
477
- FEJYBIAJBgAhqEKwBIAJBgApqIAEQkgEgAkGACmogBBCWASACQYAKahCsASACQYAIaiACQYAKahAZIAJBgARqIAJBgAhq
478
- EJYBIAJBgAhqIAUQkgEgAkGACGogBBAZIAJBgApqIAJBgAhqEJIBIAJBgApqECsgBSACQYAEahCSASAFIAJBgApqEJYBI
479
- AJBgAZqIAJBgApqEJYBIAJBgAhqEGYgAyACQYAIahCWASACQYAGahCsASACQYAGahBmIAAgAhCSASAAIAJBgAZqEJYBIA
480
- BBBTYCgAYgABCZASACQYAMaiQAC68EAQV/IwBBkAZrIgIkACAAQUBrIQQCQCABQfgAaigCACABKAI4aqwgAEH4AGooAgA
481
- iAyAAKAI4IgVqrH5CgICAEFMNACAFQQJOBH8gABASIAAoAngFIAMLQQJIDQAgBBASCyACQaCnwAAQX0EAIQMgAkE4akHw
482
- ABByGiABQUBrIQUDQCADQThGBEAgAkHwAGohBkEAIQMDQCADQThGRQRAIAMgBmogAiADaikDADcDACADQQhqIQMMAQsLI
483
- AJBqAFqIAAQXyACQeABaiABEF8gAkGYAmogACABEAggAkGIA2ogBCAFEAggAkGoAWogBBBhIAJBqAFqEEQgAkHgAWogBR
484
- BhIAJB4AFqEEQgAkH4A2ogAkGoAWogAkHgAWoQCEEAIQMgAkHoBGpB8AAQchoDQCADQfAARkUEQCACQegEaiADaiACQZg
485
- CaiADaikDADcDACADQQhqIQMMAQsLIAJB6ARqIAJBiANqEGVBACEDA0AgA0HwAEZFBEAgAkGIA2ogA2oiASACQThqIANq
486
- KQMAIAEpAwB9NwMAIANBCGohAwwBCwsgAkGYAmogAkGIA2oQZSACQZgCahBFIAJB+ANqIAJB6ARqEGQgAkH4A2oQRSACQ
487
- dgFaiACQZgCahAFIAAgAkHYBWoQayAAQQM2AjggAkHYBWogAkH4A2oQBSAEIAJB2AVqEGsgAEECNgJ4IAJBkAZqJAAFIA
488
- JBOGogA2pCADcDACADQQhqIQMMAQsLC5QEAQF/IwBB0CJrIgMkACADQcAWakG4gMAAEF8gA0HIHGpB8IDAABBfIANBCGo
489
- gA0HAFmogA0HIHGoQSSADQYgBakE4EHIaIANBwAFqQTgQchogA0H4AWoQKgJAIAIQhAFFBEAgA0H4BGoQKiADQfgEaiAB
490
- EH4gA0H4BGoQSiADQfgHahBLIANB+AdqIAIQfyADQfgHahBHIANByBxqIANB+AdqEIUBIANBuAlqIANByBxqEIUBIANBy
491
- BxqIANBuAhqEIUBIANB+AlqIANByBxqEIUBIANBuApqECogA0G4DWoQYCADQbgKaiADQfgEahB+IANBwBNqECogA0HAE2
492
- ogA0H4BGoQfiADQcATahCcASADQcABaiADQYgBahBUQX9qIQIDQCACQQFNBEAgA0G4DWoQkwEgACADQbgNakGIBhBnGgw
493
- DBSADQbgNahAbIANBwBZqIANBuApqIANBuAlqIANB+AlqEBcCQAJAAkAgA0HAAWogAkF/aiICEFcgA0GIAWogAhBXa0EB
494
- ag4DAQIAAgsgA0HIHGogA0G4CmogA0H4BGogA0G4CWogA0H4CWoQFiADQcAWaiADQcgcahAGDAELIANByBxqIANBuApqI
495
- ANBwBNqIANBuAlqIANB+AlqEBYgA0HAFmogA0HIHGoQBgsgA0G4DWogA0HAFmoQBAwBCwALAAsgABBgCyADQdAiaiQAC8
496
- MDARV/A0AgAUHAAUYEQAJAIABBKGohCyAAQRRqKAIAIgwhCCAAQRBqKAIAIg0hAyAAQQxqKAIAIg4hAiAAKAIIIg8hASA
497
- AQRhqKAIAIhAhCiAAQRxqKAIAIhEhBCAAQSBqKAIAIhIhByAAQSRqKAIAIhMhBgNAIAchCSAEIQcgCiEEIAVBgAJGDQEg
498
- AiADcSEUIAIgA3MhFSAFIAtqKAIAIAVB9J7AAGooAgAgBEEadyAEQRV3cyAEQQd3cyAGaiAJIARBf3NxIAQgB3FyampqI
499
- gYgCGohCiAFQQRqIQUgAyEIIAIhAyABIQIgAUEedyABQRN3cyABQQp3cyAUIAEgFXFzaiAGaiEBIAkhBgwACwALBSAAIA
500
- FqIgNB6ABqIANBzABqKAIAIANBKGooAgAgA0EsaigCACICQRl3IAJBDndzIAJBA3ZzIANB4ABqKAIAIgJBD3cgAkENd3M
501
- gAkEKdnNqamo2AgAgAUEEaiEBDAELCyAAIAYgE2o2AiQgACAJIBJqNgIgIAAgByARajYCHCAAIAQgEGo2AhggACAIIAxq
502
- NgIUIAAgAyANajYCECAAIAIgDmo2AgwgACABIA9qNgIIC9YDAgZ/An4jAEHwAGsiASQAIAFBoKfAABBfIAFBOGogARBfI
503
- AAQRAJAAkACQCABAn8gACgCOCICQRBMBEAgAkF/ahA5DAELIAEpAzAiCEIBfCIHIAhUDQEgACkDMCIIQoCAgICAgICAgH
504
- 9RQQAgB0J/URsNAiABQThqIAggB3+nECghByABIAEpA2ggB0I6hnw3A2ggACABQThqEGIgABBEQQILIgMQLSAAQQhqIQQ
505
- DQCADRQ0DIAEgASkDCEI5hkKAgICAgICAgAKDIAEpAwBCAYeEIgc3AwAgASAAKQMAIAd9IgdC//////////8DgzcDOEEA
506
- IQIDQCAHQjqHIQcgAkEoRkUEQCABIAJqIgVBCGoiBiAFQRBqKQMAQjmGQoCAgICAgICAAoMgBikDAEIBh4QiCDcDACABI
507
- AJqQUBrIAIgBGopAwAgCH0gB3wiB0L//////////wODNwMAIAJBCGohAgwBCwsgASABKQMwQgGHIgg3AzAgASAAKQMwIA
508
- h9IAd8Igc3A2ggACABQThqIAdCP4enQQFqEE8gA0F/aiEDDAALAAtBoKLAAEEZQbyiwAAQWwALQdCiwABBH0G8osAAEFs
509
- ACyAAQQE2AjggAUHwAGokAAuhAwEBfyMAQZADayIGJAAgBkEIakHAABByGiAGQcgAakGoAhByGiAGQcgAahBDA0AgAQRA
510
- IAZByABqQQAQPiABQX9qIQEMAQUCQCACBEAgBkHIAGogAiADEHoLIAQEQCAGQcgAaiAEIAUQegsgBkGIA2pCADcDACAGQ
511
- YADakIANwMAIAZB+AJqQgA3AwAgBkIANwPwAiAGKAJIIQEgBigCTCECIAZByABqQYABED4DQCAGKAJIQf8DcUHAA0ZFBE
512
- AgBkHIAGpBABA+DAELCyAGQawBaiABNgIAIAZBqAFqIAI2AgAgBkHIAGoQEUEAIQJBACEBA0AgAUEgRkUEQCAGQfACaiA
513
- BaiABQXxxIAZqQdAAaigCACACQX9zQRhxdjoAACACQQhqIQIgAUEBaiEBDAELCyAGQcgAahBDQQAhAQNAIAFBIEZFBEAg
514
- BkEIaiABaiAGQfACaiABai0AADoAACABQQFqIQEMAQsLQQAhAQNAIAFBIEYNASAAIAFqIAZBCGogAWotAAA6AAAgAUEBa
515
- iEBDAALAAsLCyAGQZADaiQAC6EDAQN/IwBBgAZrIgEkACABIABBgAFqIgMQXiABQYABaiADEF4gAUGAAWoQMiABQYACai
516
- ABEF4gAUGAAmogAEGAAmoiAhAPIAFBgANqIAIQXiABQYADahAyIAIgAUGAAWoQkAEgAiABQYABahCVASACEKgBIAIQpwE
517
- gAhCnASACEKgBIAFBgANqQQwQnwEgAUGAA2oQVSABQYADahCoASABQYAEaiABQYADahBeIAFBgARqIAIQDyABQYAFaiAB
518
- QYABahBeIAFBgAVqIAFBgANqEJUBIAFBgAVqEKgBIAIgAUGAAmoQDyABQYACaiABQYADahCQASABQYACaiABQYADahCVA
519
- SABQYADaiABQYACahCVASABQYADahCoASABQYABaiABQYADahB9IAFBgAFqEKgBIAFBgAVqIAFBgAFqEA8gAUGABWogAU
520
- GABGoQlQEgAUGAAmogABCQASABQYACaiABEA8gACABQYABahCQASAAEKgBIAAgAUGAAmoQDyAAEKcBIAAQqAEgAyABQYA
521
- FahCQASADEKgBIAFBgAZqJAALhQMBBH8CQAJAIAFBgAJPBEAgAEEYaigCACEEAkACQCAAIAAoAgwiAkYEQCAAQRRBECAA
522
- QRRqIgIoAgAiAxtqKAIAIgENAUEAIQIMAgsgACgCCCIBIAI2AgwgAiABNgIIDAELIAIgAEEQaiADGyEDA0AgAyEFIAEiA
523
- kEUaiIDKAIAIgFFBEAgAkEQaiEDIAIoAhAhAQsgAQ0ACyAFQQA2AgALIARFDQIgACAAQRxqKAIAQQJ0QeS3wQBqIgEoAg
524
- BHBEAgBEEQQRQgBCgCECAARhtqIAI2AgAgAkUNAwwCCyABIAI2AgAgAg0BQdi1wQBB2LXBACgCAEF+IAAoAhx3cTYCAA8
525
- LIABBDGooAgAiAiAAQQhqKAIAIgBHBEAgACACNgIMIAIgADYCCA8LQdS1wQBB1LXBACgCAEF+IAFBA3Z3cTYCAAwBCyAC
526
- IAQ2AhggACgCECIBBEAgAiABNgIQIAEgAjYCGAsgAEEUaigCACIARQ0AIAJBFGogADYCACAAIAI2AhgLC7MCAQF/IwBBg
527
- AtrIgUkACAFEC8gBUGAAmoQLyAFQYAEahAvIAVBgAZqQTgQchogBUEBNgK4BiAFQcAGakE4EHIaIAVB+AZqQQE2AgAgBU
528
- GAB2pBOBByGiAFQQE2ArgHIAVBwAdqQTgQchogBUH4B2pBATYCACAFQYAIakE4EHIaIAVBATYCuAggBUHACGpBOBByGiA
529
- FQfgIakEBNgIAIAEgAiAFQYAGaiAFQYAHaiAFQYAIahAeIAVBgAhqIAMQoAEgBUGABmogBBCgASAFQYAJaiAFQYAGaiAF
530
- QYAHahCRASAFIAVBgAlqEJIBIAVBgAlqIAVBgAhqEJsBIAVBgARqIAVBgAlqEJIBIAVBgARqEGYgACAFIAVBgAJqIAVBg
531
- ARqEHYgAEEDNgKABiAFQYALaiQAC7ECAQF/IwBBgAtrIgQkACAEEC8gBEGAAmoQLyAEQYAEahAvIARBgAZqQTgQchogBE
532
- EBNgK4BiAEQcAGakE4EHIaIARB+AZqQQE2AgAgBEGAB2pBOBByGiAEQQE2ArgHIARBwAdqQTgQchogBEH4B2pBATYCACA
533
- EQYAIakE4EHIaIARBATYCuAggBEHACGpBOBByGiAEQfgIakEBNgIAIAEgBEGABmogBEGAB2ogBEGACGoQJSAEQYAIaiAC
534
- EKABIARBgAZqIAMQoAEgBEGACWogBEGABmogBEGAB2oQkQEgBCAEQYAJahCSASAEQYAJaiAEQYAIahCbASAEQYAEaiAEQ
535
- YAJahCSASAEQYAEahBmIAAgBCAEQYACaiAEQYAEahB2IABBAzYCgAYgBEGAC2okAAvJAgEDfyMAQcACayIBJAAgASAAQU
536
- BrIgMQhQEgARADIAFBQGsgAxCFASABQUBrIABBgAFqIgIQSCABQYABaiACEIUBIAFBgAFqEAMgAiABEKUBIAIgARB4IAI
537
- QRCACEE4gAhBOIAIQRCABQYABakEMEFIgAUHAAWogAUGAAWoQhQEgAUHAAWogAhBIIAFBgAJqIAEQhQEgAUGAAmogAUGA
538
- AWoQeCABQYACahBEIAIgAUFAaxBIIAFBQGsgAUGAAWoQpQEgAUFAayABQYABahB4IAFBgAFqIAFBQGsQeCABIAFBgAFqE
539
- IABIAEQRCABQYACaiABEEggAUGAAmogAUHAAWoQeCABQUBrIAAQpQEgAUFAayADEEggACABEKUBIAAQRCAAIAFBQGsQSC
540
- AAEE4gABBEIAMgAUGAAmoQpQEgAxBEIAFBwAJqJAALrQIBA38jAEGABGsiAiQAIAIgABBeIAJBgAFqIABBgAFqIgMQXiA
541
- CQYACakE4EHIaIAJBATYCuAIgAkHAAmpBOBByGiACQfgCakEBNgIAIAJBgANqIAMQXiACIAEQDyACQYABaiABQYABaiIE
542
- EA8gAkGAAmogBBCQASACQYACaiABEJUBIAJBgANqIAAQlQEgAkGAAmoQqAEgAkGAA2oQqAEgAkGAA2ogAkGAAmoQDyACQ
543
- YACaiACEJABIAJBgAJqEDogAkGAA2ogAkGAAmoQlQEgAkGAA2oQqAEgAkGAAmogAkGAAWoQkAEgAkGAAmoQOiADIAJBgA
544
- NqEJABIAMgAkGAAmoQlQEgAkGAAWoQVSAAIAJBgAFqEJABIAAgAhCVASAAEKwBIAJBgARqJAALvQIBA38jAEGACGsiASQ
545
- AIAEgABCOASABQYACaiAAQYAEaiICEI4BIAFBgARqIABBgAJqIgMQjgEgAUGABmoQLyAAECIgAUGABmogABCSASABQYAG
546
- aiAAEJYBIAAgAUGABmoQlgEgABCsASABELYBIAEQrwEgACABEJYBIAFBgAJqECIgAUGAAmoQZiABQYAGaiABQYACahCSA
547
- SABQYAGaiABQYACahCWASABQYACaiABQYAGahCWASABQYACahCsASABQYAEahAiIAFBgAZqIAFBgARqEJIBIAFBgAZqIA
548
- FBgARqEJYBIAFBgARqIAFBgAZqEJYBIAFBgARqEKwBIAMQrgEgAxCvASACELYBIAIQrwEgAyABQYACahCWASACIAFBgAR
549
- qEJYBIABBBTYCgAYgABCaASABQYAIaiQAC7ICAQN/IwBBgAhrIgEkACAAKAKABkEBRwRAIAEgABCOASABQYACaiAAQYAC
550
- aiIDEI4BIAFBgARqIABBgARqIgIQjgEgAUGABmogABCOASABECIgAUGAAmogAhAZIAFBgAJqEK8BIAFBgAJqEKwBIAFBg
551
- ARqECIgAUGABmogAxAZIAFBgAZqEK8BIAIgABCWASACIAMQlgEgAhCsASACECIgACABEJIBIAEgAUGAAmoQlgEgARCsAS
552
- ABIAFBgARqEJYBIAEgAUGABmoQlgEgARCsASABECsgAUGAAmoQZiABQYAEahBmIAAgAUGAAmoQlgEgAyABQYAEahCSASA
553
- DIAFBgAZqEJYBIAIgARCWASAAQQRBBSAAKAKABkF+cUECRhs2AoAGIAAQmQELIAFBgAhqJAALigIBAn8jAEHgAWsiAiQA
554
- IAAQRCACQQhqQTAQchogAkIBNwMAIAJBOGogABBfIAJB8ABqIAEQXyACQagBakE4EHIaIAAQdANAIAJBOGogAkHwAGoQN
555
- UF/TARAA0ACQCADQQBMDQAgAkHwAGpBARA7IAJBARA7IAJBqAFqIAJBOGoQayACQagBaiACQfAAahBiIAJBqAFqEEQgAk
556
- E4aiACQagBaiACKQPYAUI/h6dBAWoiARBPIAJBqAFqIAAQayACQagBaiACEGEgAkGoAWoQRCAAIAJBqAFqIAEQTyADQX9
557
- qIQMMAQsLBSACQQEQLSACQfAAakEBEC0gA0EBaiEDDAELCyACQeABaiQAC54CAQF/IwBBgA1rIgMkACADIAEQaiADEJkB
558
- IANBiAZqIAIQXyADQYgGahBEIANBwAZqIANBiAZqEF8gA0HABmpBAxAoGiADQcAGahBEIANB+AZqIAMQagJAIANBwAZqE
559
- FpFBEAgA0HABmoQKUF/aiECA0AgAkEBTQRAIANB+AZqEJoBDAMLIANB+AZqEBoCQAJAIANBwAZqIAJBf2oiAhBXIANBiA
560
- ZqIAIQV2tBAWoOAwECAAILIANB+AZqIAMQDgwBCyADEJMBIANB+AZqIAMQDiADEJMBDAALAAsgA0H4BmoQsAEgA0H4B2o
561
- QqQEgA0H4CGoQrQEgA0H4CmoQrQEgA0EBNgL4DAsgACADQfgGakGIBhBnGiADQYANaiQAC5ACAQJ/IwBBgAJrIgUkACAF
562
- QYABaiAAEF4gAiAFQYABahCQASAFQYABaiAAQYABahBeIAQgBUGAAWoQkAEgBUGAAWogAEGAAmoiBhBeIAUgBUGAAWoQX
563
- iAFQYABaiAGEF4gAyAFQYABahCQASAFQYABaiABQYABaiIGEF4gBSAFQYABahAPIAVBgAFqIAEQXiADIAVBgAFqEA8gAi
564
- ADEH0gAhCoASAEIAUQfSAEEKgBIAUgAhCQASACEFUgAhCoASAFQYABaiAGEF4gBSAFQYABahAPIAMgBBCQASAFQYABaiA
565
- BEF4gAyAFQYABahAPIAMgBRB9IAMQqAEgBBA6IAQQqAEgACABEAsgBUGAAmokAAvkAQECfyMAQcABayIDJAAgAxBLIAAg
566
- ASACQR91IgQgAnMgBEF/c2pBAm0iAkF/akEfdhBtIAAgAUHAAWogAkEBc0F/akEfdhBtIAAgAUGAA2ogAkECc0F/akEfd
567
- hBtIAAgAUHABGogAkEDc0F/akEfdhBtIAAgAUGABmogAkEEc0F/akEfdhBtIAAgAUHAB2ogAkEFc0F/akEfdhBtIAAgAU
568
- GACWogAkEGc0F/akEfdhBtIAAgAUHACmogAkEHc0F/akEfdhBtIAMgABB/IAMQpgEgACADIARBAXEQbSADQcABaiQAC+Q
569
- BAQJ/IwBBgANrIgMkACADECogACABIAJBH3UiBCACcyAEQX9zakECbSICQX9qQR92EG8gACABQYADaiACQQFzQX9qQR92
570
- EG8gACABQYAGaiACQQJzQX9qQR92EG8gACABQYAJaiACQQNzQX9qQR92EG8gACABQYAMaiACQQRzQX9qQR92EG8gACABQ
571
- YAPaiACQQVzQX9qQR92EG8gACABQYASaiACQQZzQX9qQR92EG8gACABQYAVaiACQQdzQX9qQR92EG8gAyAAEH4gAxCcAS
572
- AAIAMgBEEBcRBvIANBgANqJAALvAEBAn8jAEGwAWsiAiQAIAJBMBByIQIDQCADQTBGBEACQCABQTBqIQEgAkEwaiACEHV
573
- BACEDA0AgA0EwRg0BIAIgA2ogASADai0AADoAACADQQFqIQMMAAsACwUgAiADaiABIANqLQAAOgAAIANBAWohAwwBCwsg
574
- AkHwAGogAhB1IABBOBByIgBBATYCOCAAQUBrQTgQciAAQfgAakEBNgIAIAAgAkHwAGoQpQEgAkEwahClASACQbABaiQAC
575
- 9QBAQJ/IwBBgANrIgEkACABIAAQXiABQYABaiAAQYABaiICEF4gAUGAAmogABBeIAFBgAJqIAIQDyABIAIQlQEgAUGAAW
576
- oQVSABQYABaiAAEJUBIAEQqAEgAUGAAWoQqAEgACABEJABIAAgAUGAAWoQDyABQYABaiABQYACahCQASABQYABahBVIAF
577
- BgAFqIAFBgAJqEJUBIAFBgAFqEKgBIAFBgAFqEDogACABQYABahCVASABQYACahCnASACIAFBgAJqEJABIAAQrAEgAUGA
578
- A2okAAvEAQEBfyMAQYADayIDJAAgA0EIaiABEIUBAkAgAkUEQCADQQhqEAcMAQsgA0EIaiACEKUBCyADQcgAakHYo8AAE
579
- F8gA0GAAWogA0HIAGoQiwEgA0HAAWogA0EIahCFASADQcABahADIANBwAFqIAEQSCAAIAEQhQEgACADQQhqEEggA0GAAm
580
- ogA0HAAWoQhQEgABBYIQEgA0HAAmogABCFASADQcACahBBIANBwAJqEEQgACADQcACaiABEHkgA0GAA2okAAufAQEBfyM
581
- AQfAAayICJAAgAiABEF9BACEBIAJBOGpBOBByGiAAEEQCQCAAIAIQNUEASA0AA0AgAkEBEC0gAUEBaiEBIAAgAhA1QX9K
582
- DQALA0AgAUEATA0BIAJBARA7IAJBOGogABBrIAJBOGogAhBiIAJBOGoQRCAAIAJBOGogAikDaEI/h6dBAWoQTyABQX9qI
583
- QEMAAsACyACQfAAaiQAC7IBAQF/IwBBgAJrIgQkACAEQYABaiAAEF4gAyAEQYABahCQASAEQYABaiAAQYABahBeIAQgBE
584
- GAAWoQXiAEQYABaiAAQYACahBeIAIgBEGAAWoQkAEgASAEEJABIAEgAhAPIAMQMiAEEDIgAhAyIAEQpwEgARA6IAEQqAE
585
- gARBVIAEQqAEgAkEMEJ8BIANBAxCfASACEFUgAhCoASACIAQQfSACEKgBIAAQFCAEQYACaiQAC58BAQJ/IwBBgAJrIgIk
586
- ACAAIAEQXiAAEDIgAkGIAWpB2KTAABBfIAJBCGpBOBByGiACQQE2AkAgAkHIAGpBOBByIAJBgAFqQQE2AgAgAkHAAWogA
587
- kGIAWoQiwEgAkEIaiACQcABahClARCyASACQQhqEKgBIAJBCGoQVSACQQhqEKgBIAAgARAPIAAgAkEIahCVASAAEKsBIA
588
- JBgAJqJAALowEBAX8jAEEwayIGJAAgBkEQaiAAIAEQsQEgBiAGKAIUIgA2AhwgBiAGKAIQIgE2AhggBkEIaiACIAMQsQE
589
- gBiAGKAIMIgI2AiQgBiAGKAIIIgM2AiAgBiAEIAUQsQEgBiAGKAIEIgQ2AiwgBiAGKAIAIgU2AiggASAAIAMgAiAFIAQQ
590
- ACAGQShqEKQBIAZBIGoQpAEgBkEYahCkASAGQTBqJAALiAECA38DfiMAQRBrIgIkAAN+IANBOEYEfiACQRBqJAAgBgUgA
591
- iAAIANqIgQpAwAiBSAFQj+HIAGsIgUgBUI/hxAxIAQgAikDACIHIAZ8IgVC//////////8DgzcDACAFIAdUrSACQQhqKQ
592
- MAIAZCP4d8fEIGhiAFQjqIhCEGIANBCGohAwwBCwsLhAECA38BfiMAQUBqIgEkACABQQhqIAAQXyABQQhqEEQgAUE4aiE
593
- CQQYhA0HcAiEAAn8DQEEAIANBAEgNARogAikDACIEUARAIAJBeGohAiAAQUZqIQAgA0F/aiEDDAELCwN/IARQBH8gAAUg
594
- AEEBaiEAIARCAn8hBAwBCwsLIAFBQGskAAuHAQEBfyMAQcABayIBJAAgAEE4EHIiAEEBNgI4IABBQGtBOBByGiAAQfgAa
595
- kEBNgIAIAEQUCABQYgBakE4EHIaIABBgAFqIAFBgAEQZxogAEGAAmpBOBByGiAAQbgCakEBNgIAIABBvAJqIAFBhAFqQT
596
- wQZxogAEH4AmpBATYCACABQcABaiQAC48BAQJ/IwBBgAJrIgEkACAAEKwBIAEgABBeIAFBgAFqQTgQchogAUEBNgK4ASA
597
- BQcABakE4EHIaIAFB+AFqQQE2AgAgASAAQYABaiICEJUBIAEQOiABQYABaiABEJABIAFBgAFqIAIQlQEgAiABEJABIAIg
598
- ABCVASAAIAFBgAFqEJABIAAQrAEgAUGAAmokAAt9AgF/An4jAEGAAWsiASQAIAFBCGogABCFASABQQhqEBIgAUHIAGogA
599
- UEIahCDAUEIIQADQCAAQThGRQRAIAFByABqIABqKQMAIAKEIQIgAEEIaiEADAELCyABKQNIIQMgAUGAAWokACACQn98IA
600
- NCAYVCf3yDQjqIp0EBcQuJAQIBfwJ+IAAgACkDMCABQT9xrSIDhiAAKQMoQTogAWtBP3GtIgSHhDcDMCAAQShqIQFBBiE
601
- CA0AgAkEBTQRAIAAgACkDACADhkL//////////wODNwMABSABIAEpAwAgA4ZC//////////8DgyABQXhqIgEpAwAgBIeE
602
- NwMAIAJBf2ohAgwBCwsLiQECAX8CfiAAIAApA2BBOiABQTpwIgFrrSIEhyAAKQNoIAGtIgOGhDcDaCAAQeAAaiEBQQ0hA
603
- gNAIAJBAU0EQCAAIAApAwAgA4ZC//////////8DgzcDAAUgASABKQMAIAOGQv//////////A4MgAUF4aiIBKQMAIASHhD
604
- cDACACQX9qIQIMAQsLC3EBAX8jAEFAaiIBJAAgAEE4EHIiAEEBNgI4IABBQGtBOBByGiAAQfgAakEBNgIAIAFBCGpBOBB
605
- yGiAAQYABakE4EHIaIABBuAFqQQE2AgAgAEG8AWogAUEEakE8EGcaIABB+AFqQQE2AgAgAUFAayQAC4EBAgF/AX4gAEHw
606
- ABByIQADQCACQThGBEACQCAAIAEpAzAiA0I6hzcDOCAAIANC//////////8DgzcDMCAAQUBrIQBBACECA0AgAkEwRg0BI
607
- AAgAmpCADcDACACQQhqIQIMAAsACwUgACACaiABIAJqKQMANwMAIAJBCGohAgwBCwsLdQECfiAAIANCIIgiBSABQiCIIg
608
- Z+IAIgA358IAEgBH58IANC/////w+DIgIgAUL/////D4MiAX4iA0IgiCACIAZ+fCICQiCIfCABIAV+IAJC/////w+DfCI
609
- BQiCIfDcDCCAAIANC/////w+DIAFCIIaENwMAC3YBAn8jAEHAAWsiASQAIAEgABCFASABQUBrIAAQhQEgAUGAAWogAEFA
610
- ayICEIUBIAEgAhB4IAFBQGsgABB4IAFBQGsQRCACIAFBQGsQSCABQYABahBBIAAgAUGAAWoQeCABEEQgABBEIAAgARBII
611
- AFBwAFqJAALkwEBAn9B0LXBAEHQtcEAKAIAQQFqNgIAAkACQEGYucEAKAIAQQFGBEBBnLnBAEGcucEAKAIAQQFqIgA2Ag
612
- AgAEECSw0CQaC5wQAoAgAiAUF/Sg0BDAILQZi5wQBCgYCAgBA3AwBBoLnBACgCACIAQQBIDQFBoLnBACAANgIAAAtBoLn
613
- BACABNgIAIABBAUsNAAALAAtnAQJ/IwBBQGoiAiQAIAAQRCACIAAQhQECQCABRQRAIAAQBwwBCyAAIAEQpQELQQAhAQNA
614
- IAFBAUsgA3JFBEAgABADIAFBAEchAyABIAFFaiEBDAELCyAAIAIQSCAAEBIgAkFAayQAC18CAX8EfkIBIQNBMCECA38gA
615
- kF4RgR/IARCAYYgA3ynQX9qBSABIAJqKQMAIgUgACACaikDACIGfUI6hyADgyAEhCEEIAJBeGohAiAFIAaFQn98QjqHIA
616
- ODIQMMAQsLC2ACAX8EfkIBIQNB6AAhAgN/IAJBeEYEfyAEQgGGIAN8p0F/agUgASACaikDACIFIAAgAmopAwAiBn1COoc
617
- gA4MgBIQhBCACQXhqIQIgBSAGhUJ/fEI6hyADgyEDDAELCwt3AQN/IwBBgAJrIgIkACACIAEQXiACQYABaiABEF4gAhAy
618
- IAJBgAFqIAIQDyAAIAJBgAFqEJcBIABBgAJqIgMgAkGAAWoQlwEgAEGABGoiBCACQYABahCXASADIAEQogEgBCACEKIBI
619
- ABBBTYCgAYgAkGAAmokAAt6AQF/IwBB4ANrIgEkACABQYABakHApcAAEF8gAUG4AWpB+KXAABBfIAEgAUGAAWogAUG4AW
620
- oQSSABQfACakGwpsAAEF8gAUGoA2pB6KbAABBfIAFB8AFqIAFB8AJqIAFBqANqEEkgACABIAFB8AFqED8gAUHgA2okAAt
621
- nACAAQQF2IAByIgBBAnYgAHIiAEEEdiAAciIAQQh2IAByIgBBEHYgAHIiACAAQQF2QdWq1aoFcWsiAEECdkGz5syZA3Eg
622
- AEGz5syZA3FqIgBBBHYgAGpBj568+ABxQYGChAhsQRh2C2cBAn8jAEGAAWsiASQAIAEgABCFASABQUBrQTgQchogAUEBN
623
- gJ4IAEgAEFAayICEHggARBBIAFBQGsgARClASABQUBrIAIQeCACIAEQpQEgAiAAEHggACABQUBrEKUBIAFBgAFqJAALaA
624
- IBfwJ+IAFBP3GtIQNBOiABa0E/ca0hBEEAIQEDQCABQTBGBEAgACAAKQMwIAOHNwMwBSAAIAFqIgIgAkEIaikDACAEhkL
625
- //////////wODIAIpAwAgA4eENwMAIAFBCGohAQwBCwsLbAEBfyMAQTBrIgMkACADIAE2AgQgAyAANgIAIANBHGpBAjYC
626
- ACADQSxqQQI2AgAgA0ICNwIMIANBlKjAADYCCCADQQI2AiQgAyADQSBqNgIYIAMgAzYCKCADIANBBGo2AiAgA0EIaiACE
627
- HAAC2wBAX8jAEEwayIDJAAgAyABNgIEIAMgADYCACADQRxqQQI2AgAgA0EsakECNgIAIANCAjcCDCADQbCqwAA2AgggA0
628
- ECNgIkIAMgA0EgajYCGCADIANBBGo2AiggAyADNgIgIANBCGogAhBwAAtlAQJ/IAAgACgCACICQQhqIgM2AgAgACACQQN
629
- 2QTxxakEoaiICIAFB/wFxIAIoAgBBCHRyNgIAAkACQCADRQRAIABBADYCACAAIAAoAgRBAWo2AgQMAQsgA0H/A3ENAQsg
630
- ABARCwtnAQF/IwBBgAJrIgMkACAAECogACABEJABIABBgAFqIgEgAhCQASAAQYACahCwASAAEKgBIAMgABAmIANBgAFqI
631
- AEQXiADQYABahAyIANBgAFqIAMQe0UEQCAAEJgBCyADQYACaiQAC18BAn8jAEGAAWsiASQAIAAQqAEgASAAEIUBIAFBQG
632
- sgAEFAayICEIUBIAEQAyABQUBrEAMgASABQUBrEHggAUEAEDQgACABEEggARBBIAEQRCACIAEQSCABQYABaiQAC10BAn8
633
- jAEFAaiIBJAAgAUEIakGgp8AAEF8gAUEIaiAAKAI4QX9qEDkiAhAtIAAgAUEIahBjIABBASACQQFqQR9xdCICNgI4IAJB
634
- gICAEE4EQCAAEBILIAFBQGskAAtfAgF/AX4jAEHwAGsiASQAIAFBoKfAABBfIAApAwAhAiABQThqIAAQXyAAQQEQOyABQ
635
- ThqIAEQYSABQThqEEQgAUE4akEBEDsgACABQThqIAJCAoGnEE8gAUHwAGokAAt7AQJ/IABBKGohAgNAIAFBgAJGBEAgAE
636
- LnzKfQ1tDrs7t/NwIIIABCADcCACAAQSBqQquzj/yRo7Pw2wA3AgAgAEEYakL/pLmIxZHagpt/NwIAIABBEGpC8ua746O
637
- n/aelfzcCAAUgASACakEANgIAIAFBBGohAQwBCwsLaQICfwF+IAAgACkDACIDQv//////////A4M3AwBBCCEBA0AgA0I6
638
- hyEDIAFBMEYEQCAAIAApAzAgA3w3AzAFIAAgAWoiAiACKQMAIAN8IgNC//////////8DgzcDACABQQhqIQEMAQsLC2oCA
639
- n8BfiAAIAApAwAiA0L//////////wODNwMAQQghAQNAIANCOochAyABQegARgRAIAAgACkDaCADfDcDaAUgACABaiICIA
640
- IpAwAgA3wiA0L//////////wODNwMAIAFBCGohAQwBCwsLWQEBfyMAQYADayIEJAAgBCADEF4gBBBAIARBgAFqIAEQXiA
641
- EQYACaiACEF4gBEGAAWogBBAPIARBgAJqIAQQDyAAIARBgAFqIARBgAJqEJEBIARBgANqJAALWQECfyMAQUBqIgEkAAJA
642
- IAAQhAENACABQQEQigEgAEGAAWoiAiABEFkNACACQQAQNCAAIAIQSCAAEBIgAEFAayIAIAIQSCAAEBIgAiABEKUBCyABQ
643
- UBrJAALVwEBfyMAQbABayICJAAgATQCOCAANAI4fkKAgIAQWQRAIAAQEgsgAkEIaiAAIAEQCCACQfgAaiACQQhqEAUgAC
644
- ACQfgAahBrIABBAjYCOCACQbABaiQAC08BAn8jAEFAaiIDJAAgAEE4EHIiAEEBNgI4IABBQGtBOBByIABB+ABqQQE2AgA
645
- gAyABEIsBIAAgAxClASADIAIQiwEgAxClASADQUBrJAALWQECfyMAQYABayIBJAACQCAAEIgBDQAgARBQIABBgAJqIgIg
646
- ARB7DQAgAhBAIAAgAhAPIAAQqwEgAEGAAWoiACACEA8gABCrASACIAEQkAELIAFBgAFqJAALSwEBfyMAQUBqIgEkACAAQ
647
- TgQciIAQQE2AjggAUEBEIoBIABBQGsgAUHAABBnGiAAQYABakE4EHIaIABBuAFqQQE2AgAgAUFAayQAC0sBAn8jAEHwAG
648
- siASQAIAAQd0UEQCABQaCnwAAQXyABQThqIAAQgwEgASABQThqEGIgARBEIAFBOGogARA1IQILIAFB8ABqJAAgAgtPAQF
649
- /IwBBgAFrIgIkACAAIAEQhQEgABADIAJByABqQdikwAAQXyACQQhqIAJByABqEIsBIAAgARBIIAAgAkEIahB4IAAQEiAC
650
- QYABaiQAC0kBAn8DQCABQThGRQRAIAAgAWoiAiACKQMAQgGGNwMAIAFBCGohAQwBCwsgACAAKAI4QQF0IgE2AjggAUGAg
651
- IAQTgRAIAAQEgsLQgIBfwJ+QQAgAmusIQQDQCADQThHBEAgACADaiICIAIpAwAiBSABIANqKQMAhSAEgyAFhTcDACADQQ
652
- hqIQMMAQsLC0YBAn8jAEFAaiIBJAAgAEE4EHIiAEEBNgI4IABBQGtBOBByIABB+ABqQQE2AgAgAUEBEIoBIAAgARClARC
653
- yASABQUBrJAALTgEBfyMAQYAEayIBJAAgABAvIAEQLyABQYACahAvIABBgAJqIAFBgAIQZxogAEGABGogAUGAAmpBgAIQ
654
- ZxogAEEANgKABiABQYAEaiQAC0sBAX8jAEFAaiICJAACQCAAKAI4IAFsQYCAgBBOBEAgAiABEIoBIAAgAhBIDAELIAAgA
655
- RAoGiAAIAAoAjggAWw2AjgLIAJBQGskAAtKAAJ/IAFBgIDEAEcEQEEBIAAoAhggASAAQRxqKAIAKAIQEQMADQEaCyACRQ
656
- RAQQAPCyAAKAIYIAJBACAAQRxqKAIAKAIMEQUACwtCAQF/IwBBQGoiAiQAIAJBCGpBgIDAABBfIAEgAkEIahBrIAEQRCA
657
- AIAEQayAAQQMQKBogABBEIAAQKSACQUBrJAALSQECfyMAQcABayIBJAAgASAAEF4gAUGAAWogABCFASAAIABBQGsiAhCl
658
- ASAAEEEgAiABQYABahClASAAIAEQlQEgAUHAAWokAAtIAQF/IwBB4AFrIgEkACABQeihwAAQXyABQThqIAAgARAIIAFBq
659
- AFqIAFBOGoQBSAAIAFBqAFqEGsgAEECNgI4IAFB4AFqJAALPgEBfyABQTpuIQIgAUGVA00EQCAAIAJBA3RqKQMAQgEgAU
660
- H//wNxQTpwrYaDQgBVDwsgAkEHQdSdwAAQPAALQAIBfwF+IwBBgAFrIgEkACABQQhqIAAQhQEgAUEIahASIAFByABqIAF
661
- BCGoQgwEgASkDSCABQYABaiQAQgKBpws8AQF/IwBBgAFrIgIkACACIAAQhQEgAkFAayABEIUBIAIQEiACQUBrEBIgAiAC
662
- QUBrEDUgAkGAAWokAEULPAIBfwF+A38gAUE4RgR/IAJCf3xCgICAgICAgIAEg0I6iKcFIAAgAWopAwAgAoQhAiABQQhqI
663
- QEMAQsLC0cBAX8jAEEgayIDJAAgA0EUakEANgIAIANB9KrAADYCECADQgE3AgQgAyABNgIcIAMgADYCGCADIANBGGo2Ag
664
- AgAyACEHAACzkBAX8jAEFAaiICJAAgAiAAEIUBIAIQByABBEAgASACEKUBCyACEAMgAiAAEEggAhAsIAJBQGskAAs6AQF
665
- /IABBOBByIQADQCACQTBGRQRAIABBCBAtIAAgACkDACABIAJqMQAAfDcDACACQQFqIQIMAQsLCzQBAX8gAEE4EHIiAEEB
666
- NgI4IABBQGtBOBByIABB+ABqQQE2AgAgACABEKUBIAFBQGsQpQELMAEBfyAAQTgQciEAA0AgAkE4RwRAIAAgAmogASACa
667
- ikDADcDACACQQhqIQIMAQsLCz8BAX8jAEGAAmsiASQAIAAQUSABEG4gACABEJIBIABBgAJqEK0BIABBgARqEK0BIABBAT
668
- YCgAYgAUGAAmokAAswAQJ/A0AgAkE4RwRAIAAgAmoiAyADKQMAIAEgAmopAwB8NwMAIAJBCGohAgwBCwsLMAECfwNAIAJ
669
- BOEcEQCAAIAJqIgMgAykDACABIAJqKQMAfTcDACACQQhqIQIMAQsLCzABAn8DQCACQThHBEAgACACaiIDIAEgAmopAwAg
670
- AykDAH03AwAgAkEIaiECDAELCwsxAQJ/A0AgAkHwAEcEQCAAIAJqIgMgAykDACABIAJqKQMAfTcDACACQQhqIQIMAQsLC
671
- zEBAn8DQCACQfAARwRAIAAgAmoiAyADKQMAIAEgAmopAwB8NwMAIAJBCGohAgwBCwsLOQECfyMAQYABayIBJAAgASAAQY
672
- ABaiICEF4gAiAAEJABIAEQVSAAIAEQkAEgABCsASABQYABaiQACzMBAX8gAgRAIAAhAwNAIAMgAS0AADoAACABQQFqIQE
673
- gA0EBaiEDIAJBf2oiAg0ACwsgAAtIAQN/IwBBEGsiASQAIAAoAgwhAyAAKAIIIgJFBEBB9KrAAEErQaCrwAAQWwALIAEg
674
- AzYCCCABIAA2AgQgASACNgIAIAEQcQALMgEBfyAAQgE3AwBBCCEBA0AgAUE4RkUEQCAAIAFqQgA3AwAgAUEIaiEBDAELC
675
- yAAEFYLNwAgABBRIAAgARCSASAAQYACaiABQYACahCSASAAQYAEaiABQYAEahCSASAAIAEoAoAGNgKABgsoAQF/A0AgAk
676
- E4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLCzMAIAAgARCSASAAQYACaiABQYACahCSASAAQYAEaiABQYAEahC
677
- SASAAIAEoAoAGNgKABgsoACAAIAEgAhB5IABBQGsgAUFAayACEHkgAEGAAWogAUGAAWogAhB5Cy4BAX8jAEGAAWsiASQA
678
- IAAQLyABEFAgACABEJABIABBgAFqEKkBIAFBgAFqJAALLQAgACABIAIQjwEgAEGAAWogAUGAAWogAhCPASAAQYACaiABQ
679
- YACaiACEI8BCzQBAX8jAEEQayICJAAgAiABNgIMIAIgADYCCCACQaSowAA2AgQgAkH0qsAANgIAIAIQaAALPgEBfyMAQR
680
- BrIgEkACABQQhqIABBCGooAgA2AgAgASAAKQIANwMAIAEoAgAiAEEUaigCABogACgCBBoQMwALKQEBfyABBEAgACECA0A
681
- gAkEAOgAAIAJBAWohAiABQX9qIgENAAsLIAALKwEBfyMAQcABayICJAAgAhBLIAIgARB/IAIQpgEgACACEAwgAkHAAWok
682
- AAsiAQF/A0AgAUE4RwRAIAAgAWpCADcDACABQQhqIQEMAQsLCycBAX8jAEFAaiICJAAgAkEIaiABEF0gACACQQhqEIsBI
683
- AJBQGskAAsrACAAEFEgACABEJIBIABBgAJqIAIQkgEgAEGABGogAxCSASAAQQU2AoAGCyMBAX8jAEFAaiIBJAAgASAAEI
684
- UBIAEQEiABEFogAUFAayQACykAIAAgARBhIAAgACgCOCABKAI4aiIBNgI4IAFBgICAEE4EQCAAEBILCyUAIAAgASACEE8
685
- gAEEAIAJrIAAoAjgiACABKAI4c3EgAHM2AjgLIwADQCACBEAgACABLQAAED4gAkF/aiECIAFBAWohAQwBCwsLIgACQCAA
686
- IAEQWUUNACAAQUBrIAFBQGsQWUUNAEEBDwtBAAskAAJAIABBfE0EQCAARQRAQQQhAAwCCyAAEAEiAA0BCwALIAALJwEBf
687
- yMAQYABayICJAAgAiABEF4gAhA6IAAgAhCVASACQYABaiQACycAIAAgARCQASAAQYABaiABQYABahCQASAAQYACaiABQY
688
- ACahCQAQslACAAIAEQpQEgAEFAayABQUBrEKUBIABBgAFqIAFBgAFqEKUBCyUBAX8jAEFAaiICJAAgAiABEIUBIAIQQSA
689
- AIAIQeCACQUBrJAALKAEBfyMAQYACayICJAAgAiABEI4BIAIQKyAAIAIQlgEgAkGAAmokAAsjAEGEAiACSQRAIAJBhAIg
690
- AxA9AAsgACACNgIEIAAgATYCAAsiAQF/IwBB8ABrIgIkACACIAEQMCAAIAIQBSACQfAAaiQACxwAAkAgABB3RQ0AIABBg
691
- AFqEHdFDQBBAQ8LQQALHwAgAEE4EHIiAEEBNgI4IAAgARBrIAAgASgCODYCOAseAAJAIAAQhwFFDQAgAEGAAWoQhwFFDQ
692
- BBAQ8LQQALGwACQCAAEHdFDQAgAEFAaxB3RQ0AQQEPC0EACx4AAkAgABCHAUUNACAAQYACahCHAUUNAEEBDwtBAAsaAQF
693
- /IAAQWCIBIABBQGsQWCABcyAAEHdxcwsaACAAQTgQciIAQQE2AjggACABEJ0BIAAQVgsZACAAQTgQciIAQQE2AjggACAB
694
- EGsgABBWCxcAIAAQRCAAKAIAQX8gAUEfcXRBf3NxCxoAIAAgARBfIAAgAhAkIAAgAhBjIAAgAhAkCxwAIAAQLyAAIAEQk
695
- AEgAEGAAWogAUGAAWoQkAELGAAgACABIAIQeSAAQUBrIAFBQGsgAhB5CxYAIAAgARClASAAQUBrIAFBQGsQpQELGAAgAB
696
- AvIAAgARCQASAAQYABaiACEJABCxgAIAAgARCQASAAQYABaiABQYABahCQAQsZACAAEK4BIABBgAJqELYBIABBgARqEK4
697
- BCxcAIAAQsgEgAEFAaxBpIABBgAFqELIBCxQAIAAgARB4IABBQGsgAUFAaxB4CxgAIAAgARCVASAAQYABaiABQYABahCV
698
- AQsYACAAEKYBIABBgAFqIgAQpgEgACABEA8LGQAgABCpASAAQYABahCwASAAQYACahCpAQsZACAAEKwBIABBgAJqEKwBI
699
- ABBgARqEKwBCxkAIAAQqgEgAEGAAmoQqgEgAEGABGoQqgELFgAgABAvIAAgARCQASAAQYABahCpAQsWACAAQYABaiIAEK
700
- gBIAAQOiAAEKgBCxQAIAAQRCAAIAApAwAgAax8NwMACxQAIAAQRCAAIAApAwAgAax9NwMACxEAIAAgARBSIABBQGsgARB
701
- SCxEAIAAgARBIIABBQGsgARBICxQAIAAgARCQASAAQYABaiACEJABCxIAIAAgARAPIABBgAFqIAEQDwsUACAAIAEQoAEg
702
- AEGAAWogARCgAQsRACAAKAIEBEAgACgCABAJCwsSACAAIAEQayAAIAEoAjg2AjgLDwAgAEFAayIAEEEgABBECw0AIAAQT
703
- iAAQUBrEE4LDQAgABBEIABBQGsQRAsPACAAELIBIABBQGsQsgELEAAgABCrASAAQYABahCrAQsNACAAEBIgAEFAaxASCx
704
- AAIAAQqAEgAEGAAWoQqAELEAAgABCpASAAQYABahCpAQsPACAAQYABahA6IAAQrAELEAAgABCnASAAQYABahCnAQsOACA
705
- AEGkgAEFAaxCyAQsQACAAIAI2AgQgACABNgIACw0AIAAQdCAAQQE2AjgLDAAgABBBIAAgARB4CwwAIAAgARBrIAAQVgsN
706
- ACAAEDogACABEJUBCwsAIAAQOiAAEKwBCwwAQunQotvMouq7RgsDAAELAwABCwv+PZoCAEGCgMAACwcBAAAAAQI0AEG4g
707
- MAAC9sBuF8jku11BwFjT+D5WE+pA2dPnKtLeD0Akew9ffXy9AMD1g8fDSwgAK1vjPCZwa4A8DtNkAEAAADzStxtEor3AI
708
- uwH1tTsFYDgvLFYx+X7AAysL/NHtseAkehVLifHyMCQHo6ogw4sQGz4sMPAAAAAHNyYy9ibHMxMjM4MS9wYWlyLnJzqAA
709
- QABQAAAAHAQAACQAAAKgAEAAUAAAADAEAAA0AAACoABAAFAAAABEBAAANAAAAAAAAAAEAAAD///8Dv/+W/78AaQM7VYAd
710
- moCAAefMIPV1pkwBp+1zAEGogsAACyz+//7///8BAosAgILYBPYB4Y1oiW++kwLOdqvfPagdAMZpulHOdt8Dy1nGFwBB4
711
- ILAAAuRAZABEAATAAAA0AEAABgAAACQARAAEwAAANQBAAARAAAAkAEQABMAAADWAQAAHAAAAHNyYy9ibHMxMjM4MS9lY3
712
- AucnMAkAEQABMAAAAZBQAADQAAAJABEAATAAAAGwUAAAkAAACQARAAEwAAABwFAAARAAAAkAEQABMAAAAfBQAAHAAAAAA
713
- AAAABAAEAAAABAjQAQaCEwAALuSCQARAAEwAAAGcEAAARAAAAkAEQABMAAABsBAAADQAAAJABEAATAAAAbgQAABUAAACQ
714
- ARAAEwAAAHAEAAAgAAAAHUxYLQgo9ADXXz44aOPbAInJGoj9roEBomOjmrkPTgGY6rCCSW3JAoBOWs9QOu4AimlEAQAAA
715
- ADgKxeO6UjMAXSpOluMVsgAolXvNe/8FADngsIBPcnDA8EWIDvuPnUAusRiAAwgWgDRCCkuAQAAALgh6L1iEMUA3/4Vlz
716
- tIpQGLCDH8A9S9AbsR/Cc0UtIDHfAS2hvXowEqPc423S/bAshidB8AAAAAKdKiiy66yAHqR06TLeDGAiSMtsYkvPEDAo/
717
- w3iCL+AGd1zE97u2BA4ilRy+cg4kDSMIIbgAAAAB7+wUWP99nAjJ7Fwrjx90CaW+GFDsANgMrVFv+4Zl3A8x9+g1bVtIB
718
- Aju2nPiBcwIH2iEDAQAAAJ4MOb5nECQDX97JALfLQgIx+rexS69LAYydZXIx6AACyy7dIo8TXQHUDYML8enzAuH4sWkBA
719
- AAAF+OXhGqYcQFbpdOtpXylAPrkHV2MkmwBFovSVX2eswF1O8QNmb5jAc0s5B7x42kCH8/TgAAAAACOyPDjGFbLAOdrHT
720
- 0yPvIBmzNTJw/vYgALmsY2bZ2sAuVtNVN+EdEAIQ4duvj2agBw54F7AQAAAITtOaEl8tcBt7JLQTBKlADaqLKGnI8hAiN
721
- AhjM+PJkAhhWxv1LmigOwyY1aShP5A1Nl7dYAAAAAgyllb8bBEwFzRs+5ckvDAQgK+Wh+CbkCTntu5kll9wGxPNu1Sqf3
722
- AwZIdMD/xFwDUDIMYwEAAADZlYis6UwVARTxnQfMG4oChYnB+oJZtgK7IfzsX0loAZnbmVSOEeQDLK2Q2RB9ZgCjJpfpA
723
- AAAAGFomx1kiLMB8WQcxDiXuAEzNQgzG58oA8zGl/w2qpUB5PXXElTlBwN0goHTbRvzA2ZxjncBAAAAsNyerJ2fFwD4p1
724
- yCSo8PA1jJJY7GHlAC46GVD2alzAEkA84bmgrRATESRAc7nl0C2wVA1QAAAAC7g8uz8e40ALrVMMa8qTwCg7SGHg3HMwK
725
- X1V8Qqr1sAecXfByoRyECrC5iwcvqUAI+7ZRyAQAAALdJRnNiFqwCq1uLuXy1MABhhSxO22y1A4nJfwFciyICPjBrhRWY
726
- 2QEHRAIu0MygA7HyBRoBAAAACt3saNGEYwELQBne0pLTATFZwTGPlzMBfdvdQN9bugO0gvaAZqWzAo9b2xG1SnoCqxP8l
727
- QAAAABB1qF5Oux2AxHckO6qpJkAOFCDmPNn2gBA0K3ZhMV1AI1/4Myjx68Bz4Kkl+BTaQNqzw6hAAAAAF5azL2b2fcBxL
728
- R4RCdSbgH6gMUimN8cAltmoKIpbwgDY39umQHPdABs/SyMLCpZA6nCekoBAAAAOkrobkl0JQA7G3jD49TsAKfO6e0qBnM
729
- AuDglhk69ZgJXD1chZ1ngAxiDz0OGTVoAz6osdwAAAAClBGOfovktAHDEowjxkjQAQPeCiUvyzgMOKTS1cjqnAzVXOenG
730
- BgUD30NOVe6ZOQGOXzXnAAAAAB6iMjVbOZ0DVAdezQfqpgC9qW0wO4NOAK017oqBhGYBx9//faDnQwNXx5sCKkWKACAWj
731
- joBAAAA2CzGjZPoDQMEcT27D0m1AZcE/dYovIoCMlNFlcVa/AAkCFtU60B8A/urDrK/uGIBGlglNAAAAAAZPrhcujnCAD
732
- +3PyWfJfQAas3qrBEL4ACZ8kczxmm9AUGJbx+Z8r8BivlNoJfI6AHlL5ayAAAAAP87K8huJ8gBeboJLBshqgI9cfWLxIg
733
- lAJsEMADCMygD6EFwNjblmAJEHC3SEGfVAt6lYSUBAAAAHBvSQPr5PAEmfg+Nb6A1AlUrxor8F4YAVnLqIm2NLgHv1QFv
734
- +tNLA4u5LIZrxj8DSNWojAAAAAAEtshpvla0AMEdB7C/n0ABZisb8FqpTwG3XuVoWRI+Ah0Yy7Uu30IDzkKpk/PAQwLp5
735
- GteAQAAAEsidVRxHmsC4e1rXtkmQQC6Rs6nltP1AKxmo5WhXwcCPWde/KPESAN9VqhAxDORA0WWElwAAAAAMwGY2/XT2Q
736
- IQmcoIRyvkA2zMWQbE0zICmU8AVjA1IAA7e3XcFeN7AisAv9ymskcDSjlaJAAAAAD4HpcL8ARMAYN8hGRkcBQCbPAzRnu
737
- ADgGcADvCmtCoALGnekQ/9QQAWEJVdObkBgDByoKxAAAAAI5NB9CkyAcCs4E10QZ9cwKdJEP2EfnnA6+5GAnDq+ICWTVS
738
- zO3S/gNQMEaut73NAwipRosBAAAAMsER0BpxEwA6v+6PM5fOAxsDYZ44FuQDYET/JL2yLQPLL82T+0MdA+NCf4NvNN8Ae
739
- eQTlwEAAAAwHHPK66qvA8qbrlN3FdwDs7lDTR7t5wFhGvjba0WeAgwqxCNKoa0Dea+OSG2vYQChp7vhAAAAAIel23tXDj
740
- cA2OiB4XGAlAGd5qsM8qHmAi16sAl3nlkAvTqPu6FNHgKIJyP6EpplA4sBxJ8AAAAAKftwGKNMXgFoTfq3P1SRAS9kQsg
741
- mbNoADvR/YPeO/wIFChd0xqYsAa9Jpvcbrs4AU418mAAAAADy1ulfhfhhAbJX0IORsB4CenTzNNbEEwDFSC0Thq8oA7hb
742
- 5zxreScA9F2yLO8G6wO8ubBKAAAAAPClMzaxOrIBphygVrLJ2AMD4kRVrdPDAUHZ9d62vlID0Kd0oKbwuAFHeISI2tIYA
743
- KT8A2YBAAAA2/7o8uzatgEQKhBkAjf+Ae7CrVETIv0DDObhQjmP7wM2VRnEKRWiAvjTK9fEP/gD3j/AjAAAAADL9OWwd1
744
- w1Ail7h7GnrhYA5J3PUTLAPgKSJ3DkrTvkAqcq1FdndNgCRh0mXggHJgJuN4YfAAAAAPbhLcdA4t8A7kgBLIqFVAMmfdo
745
- AFLnkAxINi3OMYlkD4lIllEk7agAy4Si9mZulArqGxwwAAAAAlsZBLlrnlwD4L+qLZcRZAWxN03q2PjQCQT704DyVsAHp
746
- IxKDRvt2A7UNRHUEljsBEGqZNAEAAAAzuweXcUWYAq/w6M6mux4D0Dw9VFbJ9gJKrUiloSI5AhOtEfrcgEkBwkdnCbiT6
747
- AKBfNmQAAAAAI9LYx06RxUAEeAlTTxcvQDKBaLKVmPNAzvJTOHOiZcBD8RxwRl4DQJXCcmaD3C3AYEd+uAAAAAA9wbtJh
748
- Pc+gE0IDPFYe9FASDkgCSUJ98A0i0Hn6ScUwJbVr/yds1TAUP3otjOk8sCDkBgJgAAAADMRTNXOLGZAkewQu742AEAMGm
749
- 42QCa7wJz9ZkIfCtmA0YzVJYUX7QAUUzY8PifHQMUlWutAAAAAJIQVuIptYQCpfqu3xsmWgJvURN56oyoAT4wSgs5vysC
750
- /5R/RwzFSAIHS2H9z0AHAnS2y6wAAAAAqGqPupy0+AAAgcHg06dwARqHXGpjbrMBZDmkmIbt5gDQbZwdkdIaACgEPFJvA
751
- akDniUvTQAAAABVP5G4i/RuAI3XbEr1qBcCc7xPfernkgEhTO0e9oSPAfcWMpCEStkDZYGgOoebwgHaXKVnAQAAAEpdU1
752
- WdPSMD2iCS5O69+AMshbQ5v8RQAxWvgmS9GpMDDPv5xEzX0QNT+YbGSBjbANOObIYBAAAA2S6BFVpB7gAYuXcAAmw9AJI
753
- rE1djIP0AzfpfP33oewE3pOVu/6a7An4374D6qY8Di/A+agEAAABcd2oSmRMaAU/ux2JpAKcCXx0FoADEWwJNd73jMzTq
754
- A/3sXkuC6awAzaHu8Mt2pgIIfABmAQAAAKy3+ap/R8YCgDhz6ndu4wCfRKb18LaHAbMXB2JDVRkDUgG3gjF4rAK6mexny
755
- 7ZhAJdSno0AAAAAHQClESMUOQJ2e7v0A3fFAiBqkeyd/KABu1DB7qY9fAKc0cbcjSL4AkQyAyz50BcBlQcOvgAAAAAWVF
756
- 9EmG3SAGrrpaCwPNkAJxf0anKeSAL2SDhM83ZvA8UV0dG07YkD70iDfOWUYwKHKH1rAQAAAPJnvz21OCUCR+Jbvo01XwF
757
- nyi7NedJdAtYwxPy5RlUBhcR4V7GObgGfq+rbiTaQAQYz31gAAAAAPaBJLiwQ9gJMjafU2IEJAYr3AT5FbzUAhJJyVhPH
758
- 3ANPyIW4SMNDAFsvg4YHSOAAwnUtlgEAAADBYzawU5JHAUAbCIO9I9oAf6Dncr61MgIMu5svYOKVA20aYOnq0PoAUASGl
759
- CwmpwLDxBJhAQAAAHNyYy9ibHMxMjM4MS9iaWcucnMAoA4QABMAAADMAQAALQAAAKAOEAATAAAAzAEAADUAAACgDhAAEw
760
- AAABkCAAANAAAAoA4QABMAAAA4AwAAGAAAAKAOEAATAAAAOAMAACEAAACgDhAAEwAAAEIDAAAhAAAAoA4QABMAAABbAwA
761
- AFwAAAKAOEAATAAAAZAMAABcAAACgDhAAEwAAAHIDAAAwAAAAoA4QABMAAAB7AwAAMAAAAKAOEAATAAAApwMAABgAAACg
762
- DhAAEwAAALUDAAAYAAAAmC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3
763
- oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBm
764
- cpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsG
765
- kGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxkJMU19TSUdf
766
- QkxTMTIzODFHMV9YTUQ6U0hBLTI1Nl9TU1dVX1JPX05VTF8A0BAQABMAAAA/AAAALgAAANAQEAATAAAAPQAAABUAAADQE
767
- BAAEwAAAD0AAAANAAAAc3JjL2JsczEyMzgxL2Jscy5ycwAAAAAArve+1aE5BgLok91iZEwkAdIsbk61CS0C2+VwMbbEEQ
768
- GZYzb76G2KA7ycH+3PFk8AK2qmngEAAABhdHRlbXB0IHRvIGRpdmlkZSBieSB6ZXJvAAAAbxEQABIAAAB8AQAAFAAAAAA
769
- AAABhdHRlbXB0IHRvIGRpdmlkZSB3aXRoIG92ZXJmbG93c3JjL2JsczEyMzgxL2ZwLnJzAAAAbxEQABIAAAASAgAADQAA
770
- AG8REAASAAAAHgIAACYAAABvERAAEgAAAB4CAAAjAAAAbxEQABIAAAAkAgAAFwAAAG8REAASAAAAJAIAABQAAAAAAAAAq
771
- qr//////gHu//9UrP//AupBYg9rDyoBw5z9ShTOEwJLd2TXrEtDAu3pxpKm+V8Cox4RoAEAAABAEhAAFAAAABUBAAATAA
772
- AAQBIQABQAAAAeAQAAGAAAAEASEAAUAAAAJAEAABwAAABzcmMvYmxzMTIzODEvZWNwMi5ycwAAAAAEAEGQpcAAC7wGQBI
773
- QABQAAADmAgAACQAAAEASEAAUAAAA7gIAAA0AAABAEhAAFAAAAP4CAAAhAAAAuL0hwchWgAD1+24BqskAA7pwFz2uR7YA
774
- RNEK7ADpUwN65MZREMUtA0kBgkmkwiMALyuqJAAAAAB+KwRdBX2sAflVF+WERDwDNJME9ce9GwJp12rYgmRCA9BrWWVPJ
775
- 4gA6DRrH9hnnAAFtgI+AQAAAAEouAiGVJMBeKIo6w5zsgIjyRINFpWmAQq1nU73MqoCm/2tGjUu2gJxczJjhFufAHdSXc
776
- 4AAAAAvnlf8F8HqQJqaAc710nDAfOzmulytSoB0pm8jp0W+gEoPsuZi8IrAKw0qwwzzakDAkpsYAAAAACrqv/////+Ae7
777
- //1Ss//8C6kFiD2sPKgHDnP1KFM4TAkt3ZNesS0MC7enGkqb5XwKjHhGgAQAAAAgUEAALAAAAjwEAAA8AAAAIFBAACwAA
778
- AKcBAAATAAAACBQQAAsAAACqAQAADQAAAHNyYy9obWFjLnJzADQUEAAgAAAAVBQQABIAAAADAAAAAAAAAAEAAAAEAAAAa
779
- W5kZXggb3V0IG9mIGJvdW5kczogdGhlIGxlbiBpcyAgYnV0IHRoZSBpbmRleCBpcyAwMDAxMDIwMzA0MDUwNjA3MDgwOT
780
- EwMTExMjEzMTQxNTE2MTcxODE5MjAyMTIyMjMyNDI1MjYyNzI4MjkzMDMxMzIzMzM0MzUzNjM3MzgzOTQwNDE0MjQzNDQ
781
- 0NTQ2NDc0ODQ5NTA1MTUyNTM1NDU1NTY1NzU4NTk2MDYxNjI2MzY0NjU2NjY3Njg2OTcwNzE3MjczNzQ3NTc2Nzc3ODc5
782
- ODA4MTgyODM4NDg1ODY4Nzg4ODk5MDkxOTI5Mzk0OTU5Njk3OTg5OQAAQBUQABAAAABQFRAAIgAAAHJhbmdlIGVuZCBpb
783
- mRleCAgb3V0IG9mIHJhbmdlIGZvciBzbGljZSBvZiBsZW5ndGggAABjYWxsZWQgYE9wdGlvbjo6dW53cmFwKClgIG9uIG
784
- EgYE5vbmVgIHZhbHVlALAVEAAcAAAA7gEAAB4AAABsaWJyYXJ5L3N0ZC9zcmMvcGFuaWNraW5nLnJzAEGIrMAACwEBAEH
785
- IrMAACwEBAEGIrcAACwEBAEHIrcAACwEBAEGIrsAACwEBAEHIrsAACwEBAEGIr8AACwEBAEHIr8AACwEBAEGIsMAACwEB
786
- AEHIsMAACwEBAEGIscAACwEBAEHIscAACwEBAEGIssAACwEBAEHIssAACwEBAEGIs8AACwEBAEHIs8AACwEBAEGItMAAC
787
- wEBAEHItMAACwEBAEGItcAACwEBAEHItcAACwEBAEGItsAACwEBAEHItsAACwEBAEGIt8AACwEBAEHIt8AACwEBAEGIuM
788
- AACwEBAEHIuMAACwEBAEGIucAACwEBAEHIucAACwEBAEGIusAACwEBAEHIusAACwEBAEGIu8AACwEBAEHIu8AACwEBAEG
789
- IvMAACwEBAEHIvMAACwEBAEGIvcAACwEBAEHIvcAACwEBAEGIvsAACwEBAEHIvsAACwEBAEGIv8AACwEBAEHIv8AACwEB
790
- AEGIwMAACwEBAEHIwMAACwEBAEGIwcAACwEBAEHIwcAACwEBAEGIwsAACwEBAEHIwsAACwEBAEGIw8AACwEBAEHIw8AAC
791
- wEBAEGIxMAACwEBAEHIxMAACwEBAEGIxcAACwEBAEHIxcAACwEBAEGIxsAACwEBAEHIxsAACwEBAEGIx8AACwEBAEHIx8
792
- AACwEBAEGIyMAACwEBAEHIyMAACwEBAEGIycAACwEBAEHIycAACwEBAEGIysAACwEBAEHIysAACwEBAEGIy8AACwEBAEH
793
- Iy8AACwEBAEGIzMAACwEBAEHIzMAACwEBAEGIzcAACwEBAEHIzcAACwEBAEGIzsAACwEBAEHIzsAACwEBAEGIz8AACwEB
794
- AEHIz8AACwEBAEGI0MAACwEBAEHI0MAACwEBAEGI0cAACwEBAEHI0cAACwEBAEGI0sAACwEBAEHI0sAACwEBAEGI08AAC
795
- wEBAEHI08AACwEBAEGI1MAACwEBAEHI1MAACwEBAEGI1cAACwEBAEHI1cAACwEBAEGI1sAACwEBAEHI1sAACwEBAEGI18
796
- AACwEBAEHI18AACwEBAEGI2MAACwEBAEHI2MAACwEBAEGI2cAACwEBAEHI2cAACwEBAEGI2sAACwEBAEHI2sAACwEBAEG
797
- I28AACwEBAEHI28AACwEBAEGI3MAACwEBAEHI3MAACwEBAEGI3cAACwEBAEHI3cAACwEBAEGI3sAACwEBAEHI3sAACwEB
798
- AEGI38AACwEBAEHI38AACwEBAEGI4MAACwEBAEHI4MAACwEBAEGI4cAACwEBAEHI4cAACwEBAEGI4sAACwEBAEHI4sAAC
799
- wEBAEGI48AACwEBAEHI48AACwEBAEGI5MAACwEBAEHI5MAACwEBAEGI5cAACwEBAEHI5cAACwEBAEGI5sAACwEBAEHI5s
800
- AACwEBAEGI58AACwEBAEHI58AACwEBAEGI6MAACwEBAEHI6MAACwEBAEGI6cAACwEBAEHI6cAACwEBAEGI6sAACwEBAEH
801
- I6sAACwEBAEGI68AACwEBAEHI68AACwEBAEGI7MAACwEBAEHI7MAACwEBAEGI7cAACwEBAEHI7cAACwEBAEGI7sAACwEB
802
- AEHI7sAACwEBAEGI78AACwEBAEHI78AACwEBAEGI8MAACwEBAEHI8MAACwEBAEGI8cAACwEBAEHI8cAACwEBAEGI8sAAC
803
- wEBAEHI8sAACwEBAEGI88AACwEBAEHI88AACwEBAEGI9MAACwEBAEHI9MAACwEBAEGI9cAACwEBAEHI9cAACwEBAEGI9s
804
- AACwEBAEHI9sAACwEBAEGI98AACwEBAEHI98AACwEBAEGI+MAACwEBAEHI+MAACwEBAEGI+cAACwEBAEHI+cAACwEBAEG
805
- I+sAACwEBAEHI+sAACwEBAEGI+8AACwEBAEHI+8AACwEBAEGI/MAACwEBAEHI/MAACwEBAEGI/cAACwEBAEHI/cAACwEB
806
- AEGI/sAACwEBAEHI/sAACwEBAEGI/8AACwEBAEHI/8AACwEBAEGIgMEACwEBAEHIgMEACwEBAEGIgcEACwEBAEHIgcEAC
807
- wEBAEGIgsEACwEBAEHIgsEACwEBAEGIg8EACwEBAEHIg8EACwEBAEGIhMEACwEBAEHIhMEACwEBAEGIhcEACwEBAEHIhc
808
- EACwEBAEGIhsEACwEBAEHIhsEACwEBAEGIh8EACwEBAEHIh8EACwEBAEGIiMEACwEBAEHIiMEACwEBAEGIicEACwEBAEH
809
- IicEACwEBAEGIisEACwEBAEHIisEACwEBAEGIi8EACwEBAEHIi8EACwEBAEGIjMEACwEBAEHIjMEACwEBAEGIjcEACwEB
810
- AEHIjcEACwEBAEGIjsEACwEBAEHIjsEACwEBAEGIj8EACwEBAEHIj8EACwEBAEGIkMEACwEBAEHIkMEACwEBAEGIkcEAC
811
- wEBAEHIkcEACwEBAEGIksEACwEBAEHIksEACwEBAEGIk8EACwEBAEHIk8EACwEBAEGIlMEACwEBAEHIlMEACwEBAEGIlc
812
- EACwEBAEHIlcEACwEBAEGIlsEACwEBAEHIlsEACwEBAEGIl8EACwEBAEHIl8EACwEBAEGImMEACwEBAEHImMEACwEBAEG
813
- ImcEACwEBAEHImcEACwEBAEGImsEACwEBAEHImsEACwEBAEGIm8EACwEBAEHIm8EACwEBAEGInMEACwEBAEHInMEACwEB
814
- AEGIncEACwEBAEHIncEACwEBAEGInsEACwEBAEHInsEACwEBAEGIn8EACwEBAEHIn8EACwEBAEGIoMEACwEBAEHIoMEAC
815
- wEBAEGIocEACwEBAEHIocEACwEBAEGIosEACwEBAEHIosEACwEBAEGIo8EACwEBAEHIo8EACwEBAEGIpMEACwEBAEHIpM
816
- EACwEBAEGIpcEACwEBAEHIpcEACwEBAEGIpsEACwEBAEHIpsEACwEBAEGIp8EACwEBAEHIp8EACwEBAEGIqMEACwEBAEH
817
- IqMEACwEBAEGIqcEACwEBAEHIqcEACwEBAEGIqsEACwEBAEHIqsEACwEBAEGIq8EACwEBAEHIq8EACwEBAEGIrMEACwEB
818
- AEHIrMEACwEBAEGIrcEACwEBAEHIrcEACwEBAEGIrsEACwEBAEHIrsEACwEBAEGIr8EACwEBAEHIr8EACwEBAEGIsMEAC
819
- wEBAEHIsMEACwEBAEGIscEACwEBAEHIscEACwEBAEGIssEACwEBAEHIssEACwEBAEGIs8EACwEBAEHIs8EACwEBAEGItM
820
- EACwEBAEHItMEACwEBAEGItcEACwEBAEHItcEACwEBAHsJcHJvZHVjZXJzAghsYW5ndWFnZQEEUnVzdAAMcHJvY2Vzc2V
821
- kLWJ5AwVydXN0Yx0xLjQ5LjAgKGUxODg0YThlMyAyMDIwLTEyLTI5KQZ3YWxydXMGMC4xOC4wDHdhc20tYmluZGdlbhIw
822
- LjIuNzAgKGI2MzU1YzI3MCk=
823
- `.replace(/[^0-9a-zA-Z/+]/g,""),cf=gf.decode(pf);function uf(){return po.bls_init()}Bt.bls_init=uf;var $n=null;function lf(){return($n===null||$n.buffer!==po.memory.buffer)&&($n=new Uint8Array(po.memory.buffer)),$n}function ks(t,o){let r=o(t.length*1);return lf().set(t,r/1),[r,t.length]}function Af(t,o,r){let[n,i]=ks(t,po.__wbindgen_malloc),[s,p]=ks(o,po.__wbindgen_malloc),[l,_]=ks(r,po.__wbindgen_malloc);return po.bls_verify(n,i,s,p,l,_)}Bt.bls_verify=Af;async function df(t,o){if(typeof Response=="function"&&t instanceof Response){let r=await t.arrayBuffer();return await WebAssembly.instantiate(r,o)}else{let r=await WebAssembly.instantiate(t,o);return r instanceof WebAssembly.Instance?{instance:r,module:t}:r}}async function Np(){let t={},{instance:o,module:r}=await df(cf,t);return po=o.exports,Np.__wbindgen_wasm_module=r,po}Bt.default=Np});var Us=ee(_t=>{"use strict";var ff=_t&&_t.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),hf=_t&&_t.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),_f=_t&&_t.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&ff(o,t,r);return hf(o,t),o};Object.defineProperty(_t,"__esModule",{value:!0});_t.blsVerify=_t.verify=void 0;var Ps=_f(xp());async function bf(t,o,r){if(!_t.verify){if(await Ps.default(),Ps.bls_init()!==0)throw new Error("Cannot initialize BLS");_t.verify=(n,i,s)=>Ps.bls_verify(i,s,n)===0}return _t.verify(t,o,r)}_t.blsVerify=bf});var Ws=ee(ot=>{"use strict";var yf=ot&&ot.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Bf=ot&&ot.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),Ef=ot&&ot.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&yf(o,t,r);return Bf(o,t),o};Object.defineProperty(ot,"__esModule",{value:!0});ot.lookup_path=ot.reconstruct=ot.Certificate=ot.hashTreeToString=ot.CertificateVerificationError=void 0;var Fp=Ef(Yn()),vf=Bn(),ei=Vr(),mf=Us(),eo=Zt(),js=At(),nr=class extends vf.AgentError{constructor(o){super(`Invalid certificate: ${o}`)}};ot.CertificateVerificationError=nr;function ti(t){let o=n=>n.split(`
824
- `).map(i=>" "+i).join(`
825
- `);function r(n){let i=new TextDecoder(void 0,{fatal:!0});try{return JSON.stringify(i.decode(n))}catch{return`data(...${n.byteLength} bytes)`}}switch(t[0]){case 0:return"()";case 1:{let n=ti(t[1]),i=ti(t[2]);return`sub(
826
- left:
827
- ${o(n)}
828
- ---
829
- right:
830
- ${o(i)}
831
- )`}case 2:{let n=r(t[1]),i=ti(t[2]);return`label(
832
- label:
833
- ${o(n)}
834
- sub:
835
- ${o(i)}
836
- )`}case 3:return`leaf(...${t[1].byteLength} bytes)`;case 4:return`pruned(${eo.toHex(new Uint8Array(t[1]))}`;default:return`unknown(${JSON.stringify(t[0])})`}}ot.hashTreeToString=ti;function Tp(t,o){if(t.byteLength!==o.byteLength)return!1;let r=new Uint8Array(t),n=new Uint8Array(o);for(let i=0;i<r.length;i++)if(r[i]!==n[i])return!1;return!0}var ir=class{constructor(o,r,n){this._rootKey=r,this._canisterId=n,this.cert=Fp.decode(new Uint8Array(o))}static async create(o){let r=new ir(o.certificate,o.rootKey,o.canisterId);return await r.verify(),r}lookup(o){return Hs(o,this.cert.tree)}async verify(){let o=await $r(this.cert.tree),r=await this._checkDelegationAndGetKey(this.cert.delegation),n=this.cert.signature,i=Cf(r),s=eo.concat(Xr("ic-state-root"),o),p=!1;try{p=await mf.blsVerify(new Uint8Array(i),new Uint8Array(n),new Uint8Array(s))}catch{p=!1}if(!p)throw new nr("Signature verification failed")}async _checkDelegationAndGetKey(o){if(!o)return this._rootKey;let r=await ir.create({certificate:o.certificate,rootKey:this._rootKey,canisterId:this._canisterId});if(this._canisterId.compareTo(js.Principal.managementCanister())!=="eq"){let i=r.lookup(["subnet",o.subnet_id,"canister_ranges"]);if(!i)throw new nr(`Could not find canister ranges for subnet 0x${eo.toHex(o.subnet_id)}`);if(!Fp.decode(i).map(_=>[js.Principal.fromUint8Array(_[0]),js.Principal.fromUint8Array(_[1])]).some(_=>_[0].ltEq(this._canisterId)&&_[1].gtEq(this._canisterId)))throw new nr(`Canister ${this._canisterId} not in range of delegations for subnet 0x${eo.toHex(o.subnet_id)}`)}let n=r.lookup(["subnet",o.subnet_id,"public_key"]);if(!n)throw new Error(`Could not find subnet key for subnet 0x${eo.toHex(o.subnet_id)}`);return n}};ot.Certificate=ir;var Zr=eo.fromHex("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),If=96;function Cf(t){let o=Zr.byteLength+If;if(t.byteLength!==o)throw new TypeError(`BLS DER-encoded public key must be ${o} bytes long`);let r=t.slice(0,Zr.byteLength);if(!Tp(r,Zr))throw new TypeError(`BLS DER-encoded public key is invalid. Expect the following prefix: ${Zr}, but get ${r}`);return t.slice(Zr.byteLength)}async function $r(t){switch(t[0]){case 0:return ei.hash(Xr("ic-hashtree-empty"));case 4:return t[1];case 3:return ei.hash(eo.concat(Xr("ic-hashtree-leaf"),t[1]));case 2:return ei.hash(eo.concat(Xr("ic-hashtree-labeled"),t[1],await $r(t[2])));case 1:return ei.hash(eo.concat(Xr("ic-hashtree-fork"),await $r(t[1]),await $r(t[2])));default:throw new Error("unreachable")}}ot.reconstruct=$r;function Xr(t){let o=new Uint8Array([t.length]),r=new TextEncoder().encode(t);return eo.concat(o,r)}function Hs(t,o){if(t.length===0)switch(o[0]){case 3:return new Uint8Array(o[1]).buffer;default:return}let r=typeof t[0]=="string"?new TextEncoder().encode(t[0]):t[0],n=wf(r,Ds(o));if(n)return Hs(t.slice(1),n)}ot.lookup_path=Hs;function Ds(t){switch(t[0]){case 0:return[];case 1:return Ds(t[1]).concat(Ds(t[2]));default:return[t]}}function wf(t,o){if(o.length!==0){for(let r of o)if(r[0]===2){let n=r[1];if(Tp(t,n))return r[2]}}}});var qs=ee(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.chain=rt.backoff=rt.timeout=rt.throttle=rt.maxAttempts=rt.conditionalDelay=rt.once=rt.defaultStrategy=void 0;var Op=Zt(),Mf=5*60*1e3;function Sf(){return Up(Gp(Qp(),1e3),Pp(1e3,1.2),kp(Mf))}rt.defaultStrategy=Sf;function Qp(){let t=!0;return async()=>t?(t=!1,!0):!1}rt.once=Qp;function Gp(t,o){return async(r,n,i)=>{if(await t(r,n,i))return new Promise(s=>setTimeout(s,o))}}rt.conditionalDelay=Gp;function Rf(t){let o=t;return async(r,n,i)=>{if(--o<=0)throw new Error(`Failed to retrieve a reply for request after ${t} attempts:
837
- Request ID: ${Op.toHex(n)}
838
- Request status: ${i}
839
- `)}}rt.maxAttempts=Rf;function Nf(t){return()=>new Promise(o=>setTimeout(o,t))}rt.throttle=Nf;function kp(t){let o=Date.now()+t;return async(r,n,i)=>{if(Date.now()>o)throw new Error(`Request timed out after ${t} msec:
840
- Request ID: ${Op.toHex(n)}
841
- Request status: ${i}
842
- `)}}rt.timeout=kp;function Pp(t,o){let r=t;return()=>new Promise(n=>setTimeout(()=>{r*=o,n()},r))}rt.backoff=Pp;function Up(...t){return async(o,r,n)=>{for(let i of t)await i(o,r,n)}}rt.chain=Up});var zs=ee(wt=>{"use strict";var xf=wt&&wt.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Ff=wt&&wt.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),Tf=wt&&wt.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&xf(o,t,r);return Ff(o,t),o};Object.defineProperty(wt,"__esModule",{value:!0});wt.pollForResponse=void 0;var Ro=Zn(),Of=Ws(),jp=Zt();wt.strategy=Tf(qs());var Qf=qs();Object.defineProperty(wt,"defaultStrategy",{enumerable:!0,get:function(){return Qf.defaultStrategy}});async function Dp(t,o,r,n){let i=[new TextEncoder().encode("request_status"),r],s=await t.readState(o,{paths:[i]});if(t.rootKey==null)throw new Error("Agent root key not initialized before polling");let p=await Of.Certificate.create({certificate:s.certificate,rootKey:t.rootKey,canisterId:o}),l=p.lookup([...i,new TextEncoder().encode("status")]),_;switch(typeof l>"u"?_=Ro.RequestStatusResponseStatus.Unknown:_=new TextDecoder().decode(l),_){case Ro.RequestStatusResponseStatus.Replied:return p.lookup([...i,"reply"]);case Ro.RequestStatusResponseStatus.Received:case Ro.RequestStatusResponseStatus.Unknown:case Ro.RequestStatusResponseStatus.Processing:return await n(o,r,_),Dp(t,o,r,n);case Ro.RequestStatusResponseStatus.Rejected:{let C=new Uint8Array(p.lookup([...i,"reject_code"]))[0],Q=new TextDecoder().decode(p.lookup([...i,"reject_message"]));throw new Error(`Call was rejected:
843
- Request ID: ${jp.toHex(r)}
844
- Reject code: ${C}
845
- Reject text: ${Q}
846
- `)}case Ro.RequestStatusResponseStatus.Done:throw new Error(`Call was marked as done but we never saw the reply:
847
- Request ID: ${jp.toHex(r)}
848
- `)}throw new Error("unreachable")}wt.pollForResponse=Dp});var Xn=ee(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.Actor=Et.CanisterInstallMode=Et.UpdateCallRejectedError=Et.QueryCallRejectedError=Et.ActorCallError=void 0;var Gf=dg(),Vs=Zn(),Hp=Qs(),kf=Bn(),oi=Dr(),qp=zs(),sr=At(),Pf=Zt(),en=class extends kf.AgentError{constructor(o,r,n,i){super(["Call failed:",` Canister: ${o.toText()}`,` Method: ${r} (${n})`,...Object.getOwnPropertyNames(i).map(s=>` "${s}": ${JSON.stringify(i[s])}`)].join(`
849
- `)),this.canisterId=o,this.methodName=r,this.type=n,this.props=i}};Et.ActorCallError=en;var ri=class extends en{constructor(o,r,n){var i;super(o,r,"query",{Status:n.status,Code:(i=Vs.ReplicaRejectCode[n.reject_code])!==null&&i!==void 0?i:`Unknown Code "${n.reject_code}"`,Message:n.reject_message}),this.result=n}};Et.QueryCallRejectedError=ri;var ni=class extends en{constructor(o,r,n,i){super(o,r,"update",{"Request ID":Pf.toHex(n),"HTTP status code":i.status.toString(),"HTTP status text":i.statusText}),this.requestId=n,this.response=i}};Et.UpdateCallRejectedError=ni;var zp;(function(t){t.Install="install",t.Reinstall="reinstall",t.Upgrade="upgrade"})(zp=Et.CanisterInstallMode||(Et.CanisterInstallMode={}));var Mt=Symbol.for("ic-agent-metadata"),tn=class{constructor(o){this[Mt]=Object.freeze(o)}static agentOf(o){return o[Mt].config.agent}static interfaceOf(o){return o[Mt].service}static canisterIdOf(o){return sr.Principal.from(o[Mt].config.canisterId)}static async install(o,r){let n=o.mode===void 0?zp.Install:o.mode,i=o.arg?[...new Uint8Array(o.arg)]:[],s=[...new Uint8Array(o.module)],p=typeof r.canisterId=="string"?sr.Principal.fromText(r.canisterId):r.canisterId;await Hp.getManagementCanister(r).install_code({mode:{[n]:null},arg:i,wasm_module:s,canister_id:p})}static async createCanister(o){let{canister_id:r}=await Hp.getManagementCanister(o||{}).provisional_create_canister_with_cycles({amount:[],settings:[]});return r}static async createAndInstallCanister(o,r,n){let i=await this.createCanister(n);return await this.install(Object.assign({},r),Object.assign(Object.assign({},n),{canisterId:i})),this.createActor(o,Object.assign(Object.assign({},n),{canisterId:i}))}static createActorClass(o){let r=o({IDL:oi.IDL});class n extends tn{constructor(s){let p=typeof s.canisterId=="string"?sr.Principal.fromText(s.canisterId):s.canisterId;super({config:Object.assign(Object.assign(Object.assign({},Vp),s),{canisterId:p}),service:r});for(let[l,_]of r._fields)this[l]=Uf(this,l,_)}}return n}static createActor(o,r){return new(this.createActorClass(o))(r)}};Et.Actor=tn;function Wp(t,o){let r=oi.IDL.decode(t,Gf.Buffer.from(o));switch(r.length){case 0:return;case 1:return r[0];default:return r}}var Vp={pollingStrategyFactory:qp.strategy.defaultStrategy};function Uf(t,o,r){let n;r.annotations.includes("query")?n=async(s,...p)=>{var l,_;s=Object.assign(Object.assign({},s),(_=(l=t[Mt].config).queryTransform)===null||_===void 0?void 0:_.call(l,o,p,Object.assign(Object.assign({},t[Mt].config),s)));let C=s.agent||t[Mt].config.agent||Vs.getDefaultAgent(),Q=sr.Principal.from(s.canisterId||t[Mt].config.canisterId),P=oi.IDL.encode(r.argTypes,p),G=await C.query(Q,{methodName:o,arg:P});switch(G.status){case"rejected":throw new ri(Q,o,G);case"replied":return Wp(r.retTypes,G.reply.arg)}}:n=async(s,...p)=>{var l,_;s=Object.assign(Object.assign({},s),(_=(l=t[Mt].config).callTransform)===null||_===void 0?void 0:_.call(l,o,p,Object.assign(Object.assign({},t[Mt].config),s)));let C=s.agent||t[Mt].config.agent||Vs.getDefaultAgent(),{canisterId:Q,effectiveCanisterId:P,pollingStrategyFactory:G}=Object.assign(Object.assign(Object.assign({},Vp),t[Mt].config),s),O=sr.Principal.from(Q),Y=P!==void 0?sr.Principal.from(P):O,J=oi.IDL.encode(r.argTypes,p),{requestId:se,response:oe}=await C.call(O,{methodName:o,arg:J,effectiveCanisterId:Y});if(!oe.ok)throw new ni(O,o,se,oe);let ie=G(),ue=await qp.pollForResponse(C,Y,se,ie);if(ue!==void 0)return Wp(r.retTypes,ue);if(r.retTypes.length===0)return;throw new Error(`Call was returned undefined, but type [${r.retTypes.join(",")}].`)};let i=(...s)=>n({},...s);return i.withOptions=s=>(...p)=>n(s,...p),i}});var Yp=ee(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=({IDL:t})=>t.Service({retrieve:t.Func([t.Text],[t.Vec(t.Nat8)],["query"]),store:t.Func([t.Text,t.Vec(t.Nat8)],[],[])})});var Jp=ee(ar=>{"use strict";var jf=ar&&ar.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ar,"__esModule",{value:!0});ar.createAssetCanisterActor=void 0;var Df=Xn(),Hf=jf(Yp());function Wf(t){return Df.Actor.createActor(Hf.default,t)}ar.createAssetCanisterActor=Wf});var $p=ee(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.encodePath=ho.request=void 0;var Kp=Dr(),qf=At(),Js=on();ho.request=async t=>{let{canisterId:o,agent:r,paths:n}=t,i=[...new Set(n)],s=i.map(_=>ho.encodePath(_,o)),p=new Map,l=i.map((_,C)=>(async()=>{try{let Q=await r.readState(o,{paths:[s[C]]}),G=(await Js.Certificate.create({certificate:Q.certificate,rootKey:r.rootKey,canisterId:o})).lookup(ho.encodePath(i[C],o));if(!G)console.warn(`Expected to find result for path ${_}, but instead found nothing.`),typeof _=="string"?p.set(_,null):p.set(_.key,null);else switch(_){case"time":{p.set(_,zf(G));break}case"controllers":{p.set(_,Vf(G));break}case"module_hash":{p.set(_,Lp(G));break}case"candid":{p.set(_,new TextDecoder().decode(G));break}default:if(typeof _!="string"&&"key"in _&&"path"in _)switch(_.decodeStrategy){case"raw":p.set(_.key,G);break;case"leb128":{p.set(_.key,Zp(G));break}case"cbor":{p.set(_.key,Xp(G));break}case"hex":{p.set(_.key,Lp(G));break}}}}catch(Q){typeof _!="string"&&"key"in _&&"path"in _?p.set(_.key,null):p.set(_,null),console.warn(`Expected to find result for path ${_}, but instead found nothing.`)}})());return await Promise.all(l),p};ho.encodePath=(t,o)=>{let r=new TextEncoder,n=s=>new DataView(r.encode(s).buffer).buffer,i=new DataView(o.toUint8Array().buffer).buffer;switch(t){case"time":return[n("time")];case"controllers":return[n("canister"),i,n("controllers")];case"module_hash":return[n("canister"),i,n("module_hash")];case"subnet":return[n("subnet")];case"candid":return[n("canister"),i,n("metadata"),n("candid:service")];default:if("key"in t&&"path"in t)if(typeof t.path=="string"||t.path instanceof ArrayBuffer){let s=t.path,p=typeof s=="string"?n(s):s;return[n("canister"),i,n("metadata"),p]}else return t.path}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${t} was formatted correctly.`)};var Lp=t=>Js.toHex(t),Zp=t=>Kp.lebDecode(new Kp.PipeArrayBuffer(t)),Xp=t=>Js.Cbor.decode(t),zf=t=>{let o=Zp(t);return new Date(Number(o/BigInt(1e6)))},Vf=t=>{let[o,...r]=Xp(t);return r.map(n=>qf.Principal.fromUint8Array(new Uint8Array(n)))}});var on=ee(Fe=>{"use strict";var ec=Fe&&Fe.__createBinding||(Object.create?function(t,o,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[r]}})}:function(t,o,r,n){n===void 0&&(n=r),t[n]=o[r]}),Yf=Fe&&Fe.__setModuleDefault||(Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o}),kt=Fe&&Fe.__exportStar||function(t,o){for(var r in t)r!=="default"&&!o.hasOwnProperty(r)&&ec(o,t,r)},Ks=Fe&&Fe.__importStar||function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&ec(o,t,r);return Yf(o,t),o};Object.defineProperty(Fe,"__esModule",{value:!0});kt(Xn(),Fe);kt(Zn(),Fe);kt(ys(),Fe);kt(Ws(),Fe);kt(Kn(),Fe);kt(Jr(),Fe);kt(Jp(),Fe);kt(Qs(),Fe);kt(Vr(),Fe);kt(Us(),Fe);kt(Zt(),Fe);Fe.polling=Ks(zs());Fe.CanisterStatus=Ks($p());Fe.Cbor=Ks(Yn())});var rc=ee((py,oc)=>{oc.exports=require("crypto").randomBytes});var si=ee(sc=>{"use strict";var u=mr(),U=u,ae=function(){return this?this:typeof window<"u"?window:typeof ae<"u"?ae:typeof self<"u"?self:Function("return this")()}.call(null),V=an();U.object.extend(proto,V);var pr=Bo();U.object.extend(proto,pr);U.exportSymbol("proto.ic_nns_governance.pb.v1.BallotInfo",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.GovernanceError",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeurons",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeuronsResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Configure",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Follow",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Merge",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron.Followees",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.NeuronInfo",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.NeuronStakeTransfer",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.Topic",null,ae);U.exportSymbol("proto.ic_nns_governance.pb.v1.Vote",null,ae);proto.ic_nns_governance.pb.v1.ManageNeuron=function(t){u.Message.initialize(this,t,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron");proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay");proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving");proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving");proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey");proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey");proto.ic_nns_governance.pb.v1.ManageNeuron.Configure=function(t){u.Message.initialize(this,t,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Configure");proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn");proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse");proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount");proto.ic_nns_governance.pb.v1.ManageNeuron.Follow=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Follow");proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote");proto.ic_nns_governance.pb.v1.ManageNeuron.Merge=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Merge");proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity");proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund");proto.ic_nns_governance.pb.v1.ManageNeuronResponse=function(t){u.Message.initialize(this,t,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse");proto.ic_nns_governance.pb.v1.GovernanceError=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.GovernanceError,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.GovernanceError.displayName="proto.ic_nns_governance.pb.v1.GovernanceError");proto.ic_nns_governance.pb.v1.ListNeurons=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_,null)};U.inherits(proto.ic_nns_governance.pb.v1.ListNeurons,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeurons.displayName="proto.ic_nns_governance.pb.v1.ListNeurons");proto.ic_nns_governance.pb.v1.ListNeuronsResponse=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_,null)};U.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.displayName="proto.ic_nns_governance.pb.v1.ListNeuronsResponse");proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.displayName="proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry");proto.ic_nns_governance.pb.v1.BallotInfo=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.BallotInfo,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.BallotInfo.displayName="proto.ic_nns_governance.pb.v1.BallotInfo");proto.ic_nns_governance.pb.v1.NeuronInfo=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_,null)};U.inherits(proto.ic_nns_governance.pb.v1.NeuronInfo,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.NeuronInfo.displayName="proto.ic_nns_governance.pb.v1.NeuronInfo");proto.ic_nns_governance.pb.v1.Neuron=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.Neuron.repeatedFields_,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_)};U.inherits(proto.ic_nns_governance.pb.v1.Neuron,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.Neuron.displayName="proto.ic_nns_governance.pb.v1.Neuron");proto.ic_nns_governance.pb.v1.Neuron.Followees=function(t){u.Message.initialize(this,t,0,-1,proto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_,null)};U.inherits(proto.ic_nns_governance.pb.v1.Neuron.Followees,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.Neuron.Followees.displayName="proto.ic_nns_governance.pb.v1.Neuron.Followees");proto.ic_nns_governance.pb.v1.NeuronStakeTransfer=function(t){u.Message.initialize(this,t,0,-1,null,null)};U.inherits(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer,u.Message);U.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.displayName="proto.ic_nns_governance.pb.v1.NeuronStakeTransfer");proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_=[[11,12],[2,3,4,5,7,13,14]];proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase={NEURON_ID_OR_SUBACCOUNT_NOT_SET:0,SUBACCOUNT:11,NEURON_ID:12};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronIdOrSubaccountCase=function(){return u.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0])};proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase={COMMAND_NOT_SET:0,CONFIGURE:2,DISBURSE:3,SPAWN:4,FOLLOW:5,REGISTER_VOTE:7,MERGE_MATURITY:13,MERGE:14};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getCommandCase=function(){return u.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.toObject=function(t,o){var r,n={id:(r=o.getId())&&V.NeuronId.toObject(t,r),subaccount:o.getSubaccount_asB64(),neuronId:(r=o.getNeuronId())&&V.NeuronId.toObject(t,r),configure:(r=o.getConfigure())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(t,r),disburse:(r=o.getDisburse())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(t,r),spawn:(r=o.getSpawn())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(t,r),follow:(r=o.getFollow())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(t,r),registerVote:(r=o.getRegisterVote())&&proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(t,r),mergeMaturity:(r=o.getMergeMaturity())&&proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(t,r),merge:(r=o.getMerge())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron;return proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.setId(n);break;case 11:var n=o.readBytes();t.setSubaccount(n);break;case 12:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.setNeuronId(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader),t.setConfigure(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader),t.setDisburse(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader),t.setSpawn(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader),t.setFollow(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader),t.setRegisterVote(n);break;case 13:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader),t.setMergeMaturity(n);break;case 14:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader),t.setMerge(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getId(),r!=null&&o.writeMessage(1,r,V.NeuronId.serializeBinaryToWriter),r=u.Message.getField(t,11),r!=null&&o.writeBytes(11,r),r=t.getNeuronId(),r!=null&&o.writeMessage(12,r,V.NeuronId.serializeBinaryToWriter),r=t.getConfigure(),r!=null&&o.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter),r=t.getDisburse(),r!=null&&o.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter),r=t.getSpawn(),r!=null&&o.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter),r=t.getFollow(),r!=null&&o.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter),r=t.getRegisterVote(),r!=null&&o.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter),r=t.getMergeMaturity(),r!=null&&o.writeMessage(13,r,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter),r=t.getMerge(),r!=null&&o.writeMessage(14,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject=function(t,o){var r,n={additionalDissolveDelaySeconds:u.Message.getFieldWithDefault(o,1,0)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint32();t.setAdditionalDissolveDelaySeconds(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getAdditionalDissolveDelaySeconds(),r!==0&&o.writeUint32(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.getAdditionalDissolveDelaySeconds=function(){return u.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.setAdditionalDissolveDelaySeconds=function(t){return u.Message.setProto3IntField(this,1,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter=function(t,o){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter=function(t,o){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject=function(t,o){var r,n={newHotKey:(r=o.getNewHotKey())&&V.PrincipalId.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.setNewHotKey(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getNewHotKey(),r!=null&&o.writeMessage(1,r,V.PrincipalId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.getNewHotKey=function(){return u.Message.getWrapperField(this,V.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.setNewHotKey=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.clearNewHotKey=function(){return this.setNewHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.hasNewHotKey=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject=function(t,o){var r,n={hotKeyToRemove:(r=o.getHotKeyToRemove())&&V.PrincipalId.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.setHotKeyToRemove(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getHotKeyToRemove(),r!=null&&o.writeMessage(1,r,V.PrincipalId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.getHotKeyToRemove=function(){return u.Message.getWrapperField(this,V.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.setHotKeyToRemove=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.clearHotKeyToRemove=function(){return this.setHotKeyToRemove(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.hasHotKeyToRemove=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_=[[1,2,3,4,5,7]];proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase={OPERATION_NOT_SET:0,INCREASE_DISSOLVE_DELAY:1,START_DISSOLVING:2,STOP_DISSOLVING:3,ADD_HOT_KEY:4,REMOVE_HOT_KEY:5,JOIN_COMMUNITY_FUND:7};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getOperationCase=function(){return u.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject=function(t,o){var r,n={increaseDissolveDelay:(r=o.getIncreaseDissolveDelay())&&proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(t,r),startDissolving:(r=o.getStartDissolving())&&proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(t,r),stopDissolving:(r=o.getStopDissolving())&&proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(t,r),addHotKey:(r=o.getAddHotKey())&&proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(t,r),removeHotKey:(r=o.getRemoveHotKey())&&proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(t,r),joinCommunityFund:(r=o.getJoinCommunityFund())&&proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader),t.setIncreaseDissolveDelay(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader),t.setStartDissolving(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader),t.setStopDissolving(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader),t.setAddHotKey(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader),t.setRemoveHotKey(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader),t.setJoinCommunityFund(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getIncreaseDissolveDelay(),r!=null&&o.writeMessage(1,r,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter),r=t.getStartDissolving(),r!=null&&o.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter),r=t.getStopDissolving(),r!=null&&o.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter),r=t.getAddHotKey(),r!=null&&o.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter),r=t.getRemoveHotKey(),r!=null&&o.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter),r=t.getJoinCommunityFund(),r!=null&&o.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getIncreaseDissolveDelay=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setIncreaseDissolveDelay=function(t){return u.Message.setOneofWrapperField(this,1,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearIncreaseDissolveDelay=function(){return this.setIncreaseDissolveDelay(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasIncreaseDissolveDelay=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStartDissolving=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStartDissolving=function(t){return u.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStartDissolving=function(){return this.setStartDissolving(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStartDissolving=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStopDissolving=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving,3)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStopDissolving=function(t){return u.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStopDissolving=function(){return this.setStopDissolving(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStopDissolving=function(){return u.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getAddHotKey=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey,4)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setAddHotKey=function(t){return u.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearAddHotKey=function(){return this.setAddHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasAddHotKey=function(){return u.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getRemoveHotKey=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey,5)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setRemoveHotKey=function(t){return u.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearRemoveHotKey=function(){return this.setRemoveHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasRemoveHotKey=function(){return u.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getJoinCommunityFund=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund,7)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setJoinCommunityFund=function(t){return u.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearJoinCommunityFund=function(){return this.setJoinCommunityFund(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasJoinCommunityFund=function(){return u.Message.getField(this,7)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject=function(t,o){var r,n={newController:(r=o.getNewController())&&V.PrincipalId.toObject(t,r),nonce:u.Message.getFieldWithDefault(o,2,0),percentageToSpawn:u.Message.getFieldWithDefault(o,3,0)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.setNewController(n);break;case 2:var n=o.readUint64();t.setNonce(n);break;case 3:var n=o.readUint32();t.setPercentageToSpawn(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getNewController(),r!=null&&o.writeMessage(1,r,V.PrincipalId.serializeBinaryToWriter),r=u.Message.getField(t,2),r!=null&&o.writeUint64(2,r),r=u.Message.getField(t,3),r!=null&&o.writeUint32(3,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNewController=function(){return u.Message.getWrapperField(this,V.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNewController=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNewController=function(){return this.setNewController(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNewController=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNonce=function(){return u.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNonce=function(t){return u.Message.setField(this,2,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNonce=function(){return u.Message.setField(this,2,void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNonce=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getPercentageToSpawn=function(){return u.Message.getFieldWithDefault(this,3,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setPercentageToSpawn=function(t){return u.Message.setField(this,3,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearPercentageToSpawn=function(){return u.Message.setField(this,3,void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasPercentageToSpawn=function(){return u.Message.getField(this,3)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject=function(t,o){var r,n={amount:(r=o.getAmount())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(t,r),toAccount:(r=o.getToAccount())&&pr.AccountIdentifier.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader),t.setAmount(n);break;case 2:var n=new pr.AccountIdentifier;o.readMessage(n,pr.AccountIdentifier.deserializeBinaryFromReader),t.setToAccount(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getAmount(),r!=null&&o.writeMessage(1,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter),r=t.getToAccount(),r!=null&&o.writeMessage(2,r,pr.AccountIdentifier.serializeBinaryToWriter)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject=function(t,o){var r,n={e8s:u.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setE8s(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getE8s(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.getE8s=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.setE8s=function(t){return u.Message.setProto3StringIntField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getAmount=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setAmount=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasAmount=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getToAccount=function(){return u.Message.getWrapperField(this,pr.AccountIdentifier,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setToAccount=function(t){return u.Message.setWrapperField(this,2,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearToAccount=function(){return this.setToAccount(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasToAccount=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_=[2];u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject=function(t,o){var r,n={topic:u.Message.getFieldWithDefault(o,1,0),followeesList:u.Message.toObjectList(o.getFolloweesList(),V.NeuronId.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readEnum();t.setTopic(n);break;case 2:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.addFollowees(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getTopic(),r!==0&&o.writeEnum(1,r),r=t.getFolloweesList(),r.length>0&&o.writeRepeatedMessage(2,r,V.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getTopic=function(){return u.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setTopic=function(t){return u.Message.setProto3EnumField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getFolloweesList=function(){return u.Message.getRepeatedWrapperField(this,V.NeuronId,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setFolloweesList=function(t){return u.Message.setRepeatedWrapperField(this,2,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.addFollowees=function(t,o){return u.Message.addToRepeatedWrapperField(this,2,t,proto.ic_base_types.pb.v1.NeuronId,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.clearFolloweesList=function(){return this.setFolloweesList([])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject=function(t,o){var r,n={proposal:(r=o.getProposal())&&V.ProposalId.toObject(t,r),vote:u.Message.getFieldWithDefault(o,2,0)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.ProposalId;o.readMessage(n,V.ProposalId.deserializeBinaryFromReader),t.setProposal(n);break;case 2:var n=o.readEnum();t.setVote(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getProposal(),r!=null&&o.writeMessage(1,r,V.ProposalId.serializeBinaryToWriter),r=t.getVote(),r!==0&&o.writeEnum(2,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getProposal=function(){return u.Message.getWrapperField(this,V.ProposalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setProposal=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.clearProposal=function(){return this.setProposal(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.hasProposal=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getVote=function(){return u.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setVote=function(t){return u.Message.setProto3EnumField(this,2,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject=function(t,o){var r,n={sourceNeuronId:(r=o.getSourceNeuronId())&&V.NeuronId.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.setSourceNeuronId(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getSourceNeuronId(),r!=null&&o.writeMessage(1,r,V.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.getSourceNeuronId=function(){return u.Message.getWrapperField(this,V.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.setSourceNeuronId=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.clearSourceNeuronId=function(){return this.setSourceNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.hasSourceNeuronId=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject=function(t,o){var r,n={percentageToMerge:u.Message.getFieldWithDefault(o,1,0)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint32();t.setPercentageToMerge(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getPercentageToMerge(),r!==0&&o.writeUint32(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.getPercentageToMerge=function(){return u.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.setPercentageToMerge=function(t){return u.Message.setProto3IntField(this,1,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter=function(t,o){var r=void 0};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getId=function(){return u.Message.getWrapperField(this,V.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setId=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearId=function(){return this.setId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasId=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount=function(){return u.Message.getFieldWithDefault(this,11,"")};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asB64=function(){return u.Message.bytesAsB64(this.getSubaccount())};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asU8=function(){return u.Message.bytesAsU8(this.getSubaccount())};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSubaccount=function(t){return u.Message.setOneofField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSubaccount=function(){return u.Message.setOneofField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSubaccount=function(){return u.Message.getField(this,11)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronId=function(){return u.Message.getWrapperField(this,V.NeuronId,12)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setNeuronId=function(t){return u.Message.setOneofWrapperField(this,12,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearNeuronId=function(){return this.setNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasNeuronId=function(){return u.Message.getField(this,12)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getConfigure=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setConfigure=function(t){return u.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearConfigure=function(){return this.setConfigure(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasConfigure=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getDisburse=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse,3)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setDisburse=function(t){return u.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearDisburse=function(){return this.setDisburse(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasDisburse=function(){return u.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSpawn=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn,4)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSpawn=function(t){return u.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSpawn=function(){return this.setSpawn(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSpawn=function(){return u.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getFollow=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow,5)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setFollow=function(t){return u.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearFollow=function(){return this.setFollow(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasFollow=function(){return u.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getRegisterVote=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote,7)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setRegisterVote=function(t){return u.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearRegisterVote=function(){return this.setRegisterVote(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasRegisterVote=function(){return u.Message.getField(this,7)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMergeMaturity=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity,13)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMergeMaturity=function(t){return u.Message.setOneofWrapperField(this,13,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMergeMaturity=function(){return this.setMergeMaturity(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMergeMaturity=function(){return u.Message.getField(this,13)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMerge=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge,14)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMerge=function(t){return u.Message.setOneofWrapperField(this,14,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],t)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMerge=function(){return this.setMerge(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMerge=function(){return u.Message.getField(this,14)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_=[[1,2,3,4,5,7,11,12]];proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase={COMMAND_NOT_SET:0,ERROR:1,CONFIGURE:2,DISBURSE:3,SPAWN:4,FOLLOW:5,REGISTER_VOTE:7,MERGE_MATURITY:11,MERGE:12};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getCommandCase=function(){return u.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject=function(t,o){var r,n={error:(r=o.getError())&&proto.ic_nns_governance.pb.v1.GovernanceError.toObject(t,r),configure:(r=o.getConfigure())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(t,r),disburse:(r=o.getDisburse())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(t,r),spawn:(r=o.getSpawn())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(t,r),follow:(r=o.getFollow())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(t,r),registerVote:(r=o.getRegisterVote())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(t,r),mergeMaturity:(r=o.getMergeMaturity())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(t,r),merge:(r=o.getMerge())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.GovernanceError;o.readMessage(n,proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader),t.setError(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader),t.setConfigure(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader),t.setDisburse(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader),t.setSpawn(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader),t.setFollow(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader),t.setRegisterVote(n);break;case 11:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader),t.setMergeMaturity(n);break;case 12:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;o.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader),t.setMerge(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getError(),r!=null&&o.writeMessage(1,r,proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter),r=t.getConfigure(),r!=null&&o.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter),r=t.getDisburse(),r!=null&&o.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter),r=t.getSpawn(),r!=null&&o.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter),r=t.getFollow(),r!=null&&o.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter),r=t.getRegisterVote(),r!=null&&o.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter),r=t.getMergeMaturity(),r!=null&&o.writeMessage(11,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter),r=t.getMerge(),r!=null&&o.writeMessage(12,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter=function(t,o){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject=function(t,o){var r,n={transferBlockHeight:u.Message.getFieldWithDefault(o,1,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setTransferBlockHeight(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getTransferBlockHeight(),parseInt(r,10)!==0&&o.writeUint64String(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.getTransferBlockHeight=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.setTransferBlockHeight=function(t){return u.Message.setProto3StringIntField(this,1,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject=function(t,o){var r,n={createdNeuronId:(r=o.getCreatedNeuronId())&&V.NeuronId.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.setCreatedNeuronId(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getCreatedNeuronId(),r!=null&&o.writeMessage(1,r,V.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.getCreatedNeuronId=function(){return u.Message.getWrapperField(this,V.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.setCreatedNeuronId=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.clearCreatedNeuronId=function(){return this.setCreatedNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.hasCreatedNeuronId=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject=function(t,o){var r,n={mergedMaturityE8s:u.Message.getFieldWithDefault(o,1,"0"),newStakeE8s:u.Message.getFieldWithDefault(o,2,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setMergedMaturityE8s(n);break;case 2:var n=o.readUint64String();t.setNewStakeE8s(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getMergedMaturityE8s(),parseInt(r,10)!==0&&o.writeUint64String(1,r),r=t.getNewStakeE8s(),parseInt(r,10)!==0&&o.writeUint64String(2,r)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getMergedMaturityE8s=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setMergedMaturityE8s=function(t){return u.Message.setProto3StringIntField(this,1,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getNewStakeE8s=function(){return u.Message.getFieldWithDefault(this,2,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setNewStakeE8s=function(t){return u.Message.setProto3StringIntField(this,2,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter=function(t,o){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter=function(t,o){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject=function(t,o){var r,n={};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter=function(t,o){var r=void 0};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getError=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.GovernanceError,1)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setError=function(t){return u.Message.setOneofWrapperField(this,1,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearError=function(){return this.setError(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasError=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getConfigure=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse,2)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setConfigure=function(t){return u.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearConfigure=function(){return this.setConfigure(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasConfigure=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getDisburse=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse,3)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setDisburse=function(t){return u.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearDisburse=function(){return this.setDisburse(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasDisburse=function(){return u.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getSpawn=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse,4)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setSpawn=function(t){return u.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearSpawn=function(){return this.setSpawn(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasSpawn=function(){return u.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getFollow=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse,5)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setFollow=function(t){return u.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearFollow=function(){return this.setFollow(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasFollow=function(){return u.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getRegisterVote=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse,7)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setRegisterVote=function(t){return u.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearRegisterVote=function(){return this.setRegisterVote(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasRegisterVote=function(){return u.Message.getField(this,7)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMergeMaturity=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse,11)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMergeMaturity=function(t){return u.Message.setOneofWrapperField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMergeMaturity=function(){return this.setMergeMaturity(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMergeMaturity=function(){return u.Message.getField(this,11)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMerge=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse,12)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMerge=function(t){return u.Message.setOneofWrapperField(this,12,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMerge=function(){return this.setMerge(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMerge=function(){return u.Message.getField(this,12)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.GovernanceError.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.GovernanceError.toObject(t,this)},proto.ic_nns_governance.pb.v1.GovernanceError.toObject=function(t,o){var r,n={errorType:u.Message.getFieldWithDefault(o,1,0),errorMessage:u.Message.getFieldWithDefault(o,2,"")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.GovernanceError;return proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readEnum();t.setErrorType(n);break;case 2:var n=o.readString();t.setErrorMessage(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getErrorType(),r!==0&&o.writeEnum(1,r),r=t.getErrorMessage(),r.length>0&&o.writeString(2,r)};proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType={ERROR_TYPE_UNSPECIFIED:0,ERROR_TYPE_OK:1,ERROR_TYPE_UNAVAILABLE:2,ERROR_TYPE_NOT_AUTHORIZED:3,ERROR_TYPE_NOT_FOUND:4,ERROR_TYPE_INVALID_COMMAND:5,ERROR_TYPE_REQUIRES_NOT_DISSOLVING:6,ERROR_TYPE_REQUIRES_DISSOLVING:7,ERROR_TYPE_REQUIRES_DISSOLVED:8,ERROR_TYPE_HOT_KEY:9,ERROR_TYPE_RESOURCE_EXHAUSTED:10,ERROR_TYPE_PRECONDITION_FAILED:11,ERROR_TYPE_EXTERNAL:12,ERROR_TYPE_LEDGER_UPDATE_ONGOING:13,ERROR_TYPE_INSUFFICIENT_FUNDS:14,ERROR_TYPE_INVALID_PRINCIPAL:15,ERROR_TYPE_INVALID_PROPOSAL:16,ERROR_TYPE_ALREADY_JOINED_COMMUNITY_FUND:17};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorType=function(){return u.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorType=function(t){return u.Message.setProto3EnumField(this,1,t)};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorMessage=function(){return u.Message.getFieldWithDefault(this,2,"")};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorMessage=function(t){return u.Message.setProto3StringField(this,2,t)};proto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_=[1];u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeurons.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ListNeurons.toObject(t,this)},proto.ic_nns_governance.pb.v1.ListNeurons.toObject=function(t,o){var r,n={neuronIdsList:(r=u.Message.getRepeatedField(o,1))==null?void 0:r,includeNeuronsReadableByCaller:u.Message.getBooleanFieldWithDefault(o,2,!1)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ListNeurons;return proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:for(var n=o.isDelimited()?o.readPackedFixed64String():[o.readFixed64String()],i=0;i<n.length;i++)t.addNeuronIds(n[i]);break;case 2:var s=o.readBool();t.setIncludeNeuronsReadableByCaller(s);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getNeuronIdsList(),r.length>0&&o.writePackedFixed64String(1,r),r=t.getIncludeNeuronsReadableByCaller(),r&&o.writeBool(2,r)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.getNeuronIdsList=function(){return u.Message.getRepeatedField(this,1)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.setNeuronIdsList=function(t){return u.Message.setField(this,1,t||[])};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.addNeuronIds=function(t,o){return u.Message.addToRepeatedField(this,1,t,o)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.clearNeuronIdsList=function(){return this.setNeuronIdsList([])};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.getIncludeNeuronsReadableByCaller=function(){return u.Message.getBooleanFieldWithDefault(this,2,!1)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.setIncludeNeuronsReadableByCaller=function(t){return u.Message.setProto3BooleanField(this,2,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_=[1,2];u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject(t,this)},proto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject=function(t,o){var r,n={neuronIdsList:u.Message.toObjectList(o.getNeuronIdsList(),proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject,t),fullNeuronsList:u.Message.toObjectList(o.getFullNeuronsList(),proto.ic_nns_governance.pb.v1.Neuron.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;o.readMessage(n,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader),t.addNeuronIds(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.Neuron;o.readMessage(n,proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader),t.addFullNeurons(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getNeuronIdsList(),r.length>0&&o.writeRepeatedMessage(1,r,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter),r=t.getFullNeuronsList(),r.length>0&&o.writeRepeatedMessage(2,r,proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject(t,this)},proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject=function(t,o){var r,n={key:u.Message.getFieldWithDefault(o,1,"0"),value:(r=o.getValue())&&proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(t,r)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readFixed64String();t.setKey(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.NeuronInfo;o.readMessage(n,proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader),t.setValue(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getKey(),parseInt(r,10)!==0&&o.writeFixed64String(1,r),r=t.getValue(),r!=null&&o.writeMessage(2,r,proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getKey=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setKey=function(t){return u.Message.setProto3StringIntField(this,1,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getValue=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.NeuronInfo,2)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setValue=function(t){return u.Message.setWrapperField(this,2,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.clearValue=function(){return this.setValue(void 0)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.hasValue=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getNeuronIdsList=function(){return u.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,1)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setNeuronIdsList=function(t){return u.Message.setRepeatedWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addNeuronIds=function(t,o){return u.Message.addToRepeatedWrapperField(this,1,t,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearNeuronIdsList=function(){return this.setNeuronIdsList([])};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getFullNeuronsList=function(){return u.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.Neuron,2)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setFullNeuronsList=function(t){return u.Message.setRepeatedWrapperField(this,2,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addFullNeurons=function(t,o){return u.Message.addToRepeatedWrapperField(this,2,t,proto.ic_nns_governance.pb.v1.Neuron,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearFullNeuronsList=function(){return this.setFullNeuronsList([])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.BallotInfo.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.BallotInfo.toObject(t,this)},proto.ic_nns_governance.pb.v1.BallotInfo.toObject=function(t,o){var r,n={proposalId:(r=o.getProposalId())&&V.ProposalId.toObject(t,r),vote:u.Message.getFieldWithDefault(o,2,0)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.BallotInfo;return proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.ProposalId;o.readMessage(n,V.ProposalId.deserializeBinaryFromReader),t.setProposalId(n);break;case 2:var n=o.readEnum();t.setVote(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getProposalId(),r!=null&&o.writeMessage(1,r,V.ProposalId.serializeBinaryToWriter),r=t.getVote(),r!==0&&o.writeEnum(2,r)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.getProposalId=function(){return u.Message.getWrapperField(this,V.ProposalId,1)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.setProposalId=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.clearProposalId=function(){return this.setProposalId(void 0)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.hasProposalId=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.getVote=function(){return u.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.setVote=function(t){return u.Message.setProto3EnumField(this,2,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_=[5];u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(t,this)},proto.ic_nns_governance.pb.v1.NeuronInfo.toObject=function(t,o){var r,n={retrievedAtTimestampSeconds:u.Message.getFieldWithDefault(o,1,"0"),ageSeconds:u.Message.getFieldWithDefault(o,3,"0"),dissolveDelaySeconds:u.Message.getFieldWithDefault(o,4,"0"),recentBallotsList:u.Message.toObjectList(o.getRecentBallotsList(),proto.ic_nns_governance.pb.v1.BallotInfo.toObject,t),votingPower:u.Message.getFieldWithDefault(o,6,"0"),createdTimestampSeconds:u.Message.getFieldWithDefault(o,7,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.NeuronInfo;return proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setRetrievedAtTimestampSeconds(n);break;case 3:var n=o.readUint64String();t.setAgeSeconds(n);break;case 4:var n=o.readUint64String();t.setDissolveDelaySeconds(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.BallotInfo;o.readMessage(n,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader),t.addRecentBallots(n);break;case 6:var n=o.readUint64String();t.setVotingPower(n);break;case 7:var n=o.readUint64String();t.setCreatedTimestampSeconds(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getRetrievedAtTimestampSeconds(),parseInt(r,10)!==0&&o.writeUint64String(1,r),r=t.getAgeSeconds(),parseInt(r,10)!==0&&o.writeUint64String(3,r),r=t.getDissolveDelaySeconds(),parseInt(r,10)!==0&&o.writeUint64String(4,r),r=t.getRecentBallotsList(),r.length>0&&o.writeRepeatedMessage(5,r,proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter),r=t.getVotingPower(),parseInt(r,10)!==0&&o.writeUint64String(6,r),r=t.getCreatedTimestampSeconds(),parseInt(r,10)!==0&&o.writeUint64String(7,r)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRetrievedAtTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRetrievedAtTimestampSeconds=function(t){return u.Message.setProto3StringIntField(this,1,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getAgeSeconds=function(){return u.Message.getFieldWithDefault(this,3,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setAgeSeconds=function(t){return u.Message.setProto3StringIntField(this,3,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getDissolveDelaySeconds=function(){return u.Message.getFieldWithDefault(this,4,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setDissolveDelaySeconds=function(t){return u.Message.setProto3StringIntField(this,4,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRecentBallotsList=function(){return u.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.BallotInfo,5)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRecentBallotsList=function(t){return u.Message.setRepeatedWrapperField(this,5,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.addRecentBallots=function(t,o){return u.Message.addToRepeatedWrapperField(this,5,t,proto.ic_nns_governance.pb.v1.BallotInfo,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.clearRecentBallotsList=function(){return this.setRecentBallotsList([])};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getVotingPower=function(){return u.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setVotingPower=function(t){return u.Message.setProto3StringIntField(this,6,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getCreatedTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setCreatedTimestampSeconds=function(t){return u.Message.setProto3StringIntField(this,7,t)};proto.ic_nns_governance.pb.v1.Neuron.repeatedFields_=[4,12];proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_=[[9,10]];proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase={DISSOLVE_STATE_NOT_SET:0,WHEN_DISSOLVED_TIMESTAMP_SECONDS:9,DISSOLVE_DELAY_SECONDS:10};proto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveStateCase=function(){return u.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.Neuron.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.Neuron.toObject(t,this)},proto.ic_nns_governance.pb.v1.Neuron.toObject=function(t,o){var r,n={id:(r=o.getId())&&V.NeuronId.toObject(t,r),account:o.getAccount_asB64(),controller:(r=o.getController())&&V.PrincipalId.toObject(t,r),hotKeysList:u.Message.toObjectList(o.getHotKeysList(),V.PrincipalId.toObject,t),cachedNeuronStakeE8s:u.Message.getFieldWithDefault(o,5,"0"),neuronFeesE8s:u.Message.getFieldWithDefault(o,6,"0"),createdTimestampSeconds:u.Message.getFieldWithDefault(o,7,"0"),agingSinceTimestampSeconds:u.Message.getFieldWithDefault(o,8,"0"),spawnAtTimestampSeconds:u.Message.getFieldWithDefault(o,19,"0"),whenDissolvedTimestampSeconds:u.Message.getFieldWithDefault(o,9,"0"),dissolveDelaySeconds:u.Message.getFieldWithDefault(o,10,"0"),followeesMap:(r=o.getFolloweesMap())?r.toObject(t,proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject):[],recentBallotsList:u.Message.toObjectList(o.getRecentBallotsList(),proto.ic_nns_governance.pb.v1.BallotInfo.toObject,t),kycVerified:u.Message.getBooleanFieldWithDefault(o,13,!1),transfer:(r=o.getTransfer())&&proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(t,r),maturityE8sEquivalent:u.Message.getFieldWithDefault(o,15,"0"),notForProfit:u.Message.getBooleanFieldWithDefault(o,16,!1)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.Neuron.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.Neuron;return proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.setId(n);break;case 2:var n=o.readBytes();t.setAccount(n);break;case 3:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.setController(n);break;case 4:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.addHotKeys(n);break;case 5:var n=o.readUint64String();t.setCachedNeuronStakeE8s(n);break;case 6:var n=o.readUint64String();t.setNeuronFeesE8s(n);break;case 7:var n=o.readUint64String();t.setCreatedTimestampSeconds(n);break;case 8:var n=o.readUint64String();t.setAgingSinceTimestampSeconds(n);break;case 19:var n=o.readUint64String();t.setSpawnAtTimestampSeconds(n);break;case 9:var n=o.readUint64String();t.setWhenDissolvedTimestampSeconds(n);break;case 10:var n=o.readUint64String();t.setDissolveDelaySeconds(n);break;case 11:var n=t.getFolloweesMap();o.readMessage(n,function(i,s){u.Map.deserializeBinary(i,s,u.BinaryReader.prototype.readInt32,u.BinaryReader.prototype.readMessage,proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader,0,new proto.ic_nns_governance.pb.v1.Neuron.Followees)});break;case 12:var n=new proto.ic_nns_governance.pb.v1.BallotInfo;o.readMessage(n,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader),t.addRecentBallots(n);break;case 13:var n=o.readBool();t.setKycVerified(n);break;case 14:var n=new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;o.readMessage(n,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader),t.setTransfer(n);break;case 15:var n=o.readUint64String();t.setMaturityE8sEquivalent(n);break;case 16:var n=o.readBool();t.setNotForProfit(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.Neuron.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getId(),r!=null&&o.writeMessage(1,r,V.NeuronId.serializeBinaryToWriter),r=t.getAccount_asU8(),r.length>0&&o.writeBytes(2,r),r=t.getController(),r!=null&&o.writeMessage(3,r,V.PrincipalId.serializeBinaryToWriter),r=t.getHotKeysList(),r.length>0&&o.writeRepeatedMessage(4,r,V.PrincipalId.serializeBinaryToWriter),r=t.getCachedNeuronStakeE8s(),parseInt(r,10)!==0&&o.writeUint64String(5,r),r=t.getNeuronFeesE8s(),parseInt(r,10)!==0&&o.writeUint64String(6,r),r=t.getCreatedTimestampSeconds(),parseInt(r,10)!==0&&o.writeUint64String(7,r),r=t.getAgingSinceTimestampSeconds(),parseInt(r,10)!==0&&o.writeUint64String(8,r),r=u.Message.getField(t,19),r!=null&&o.writeUint64String(19,r),r=u.Message.getField(t,9),r!=null&&o.writeUint64String(9,r),r=u.Message.getField(t,10),r!=null&&o.writeUint64String(10,r),r=t.getFolloweesMap(!0),r&&r.getLength()>0&&r.serializeBinary(11,o,u.BinaryWriter.prototype.writeInt32,u.BinaryWriter.prototype.writeMessage,proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter),r=t.getRecentBallotsList(),r.length>0&&o.writeRepeatedMessage(12,r,proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter),r=t.getKycVerified(),r&&o.writeBool(13,r),r=t.getTransfer(),r!=null&&o.writeMessage(14,r,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter),r=t.getMaturityE8sEquivalent(),parseInt(r,10)!==0&&o.writeUint64String(15,r),r=t.getNotForProfit(),r&&o.writeBool(16,r)};proto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_=[1];u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject(t,this)},proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject=function(t,o){var r,n={followeesList:u.Message.toObjectList(o.getFolloweesList(),V.NeuronId.toObject,t)};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.Neuron.Followees;return proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=new V.NeuronId;o.readMessage(n,V.NeuronId.deserializeBinaryFromReader),t.addFollowees(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getFolloweesList(),r.length>0&&o.writeRepeatedMessage(1,r,V.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.getFolloweesList=function(){return u.Message.getRepeatedWrapperField(this,V.NeuronId,1)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.setFolloweesList=function(t){return u.Message.setRepeatedWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.addFollowees=function(t,o){return u.Message.addToRepeatedWrapperField(this,1,t,proto.ic_base_types.pb.v1.NeuronId,o)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.clearFolloweesList=function(){return this.setFolloweesList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getId=function(){return u.Message.getWrapperField(this,V.NeuronId,1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setId=function(t){return u.Message.setWrapperField(this,1,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearId=function(){return this.setId(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasId=function(){return u.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount=function(){return u.Message.getFieldWithDefault(this,2,"")};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asB64=function(){return u.Message.bytesAsB64(this.getAccount())};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asU8=function(){return u.Message.bytesAsU8(this.getAccount())};proto.ic_nns_governance.pb.v1.Neuron.prototype.setAccount=function(t){return u.Message.setProto3BytesField(this,2,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getController=function(){return u.Message.getWrapperField(this,V.PrincipalId,3)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setController=function(t){return u.Message.setWrapperField(this,3,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearController=function(){return this.setController(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasController=function(){return u.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getHotKeysList=function(){return u.Message.getRepeatedWrapperField(this,V.PrincipalId,4)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setHotKeysList=function(t){return u.Message.setRepeatedWrapperField(this,4,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.addHotKeys=function(t,o){return u.Message.addToRepeatedWrapperField(this,4,t,proto.ic_base_types.pb.v1.PrincipalId,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearHotKeysList=function(){return this.setHotKeysList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getCachedNeuronStakeE8s=function(){return u.Message.getFieldWithDefault(this,5,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setCachedNeuronStakeE8s=function(t){return u.Message.setProto3StringIntField(this,5,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getNeuronFeesE8s=function(){return u.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setNeuronFeesE8s=function(t){return u.Message.setProto3StringIntField(this,6,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getCreatedTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setCreatedTimestampSeconds=function(t){return u.Message.setProto3StringIntField(this,7,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAgingSinceTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,8,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setAgingSinceTimestampSeconds=function(t){return u.Message.setProto3StringIntField(this,8,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getSpawnAtTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,19,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setSpawnAtTimestampSeconds=function(t){return u.Message.setField(this,19,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearSpawnAtTimestampSeconds=function(){return u.Message.setField(this,19,void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasSpawnAtTimestampSeconds=function(){return u.Message.getField(this,19)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getWhenDissolvedTimestampSeconds=function(){return u.Message.getFieldWithDefault(this,9,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setWhenDissolvedTimestampSeconds=function(t){return u.Message.setOneofField(this,9,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearWhenDissolvedTimestampSeconds=function(){return u.Message.setOneofField(this,9,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasWhenDissolvedTimestampSeconds=function(){return u.Message.getField(this,9)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveDelaySeconds=function(){return u.Message.getFieldWithDefault(this,10,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setDissolveDelaySeconds=function(t){return u.Message.setOneofField(this,10,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearDissolveDelaySeconds=function(){return u.Message.setOneofField(this,10,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasDissolveDelaySeconds=function(){return u.Message.getField(this,10)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getFolloweesMap=function(t){return u.Message.getMapField(this,11,t,proto.ic_nns_governance.pb.v1.Neuron.Followees)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearFolloweesMap=function(){return this.getFolloweesMap().clear(),this};proto.ic_nns_governance.pb.v1.Neuron.prototype.getRecentBallotsList=function(){return u.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.BallotInfo,12)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setRecentBallotsList=function(t){return u.Message.setRepeatedWrapperField(this,12,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.addRecentBallots=function(t,o){return u.Message.addToRepeatedWrapperField(this,12,t,proto.ic_nns_governance.pb.v1.BallotInfo,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearRecentBallotsList=function(){return this.setRecentBallotsList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getKycVerified=function(){return u.Message.getBooleanFieldWithDefault(this,13,!1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setKycVerified=function(t){return u.Message.setProto3BooleanField(this,13,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getTransfer=function(){return u.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer,14)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setTransfer=function(t){return u.Message.setWrapperField(this,14,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearTransfer=function(){return this.setTransfer(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasTransfer=function(){return u.Message.getField(this,14)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getMaturityE8sEquivalent=function(){return u.Message.getFieldWithDefault(this,15,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setMaturityE8sEquivalent=function(t){return u.Message.setProto3StringIntField(this,15,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getNotForProfit=function(){return u.Message.getBooleanFieldWithDefault(this,16,!1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setNotForProfit=function(t){return u.Message.setProto3BooleanField(this,16,t)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.toObject=function(t){return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(t,this)},proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject=function(t,o){var r,n={transferTimestamp:u.Message.getFieldWithDefault(o,1,"0"),from:(r=o.getFrom())&&V.PrincipalId.toObject(t,r),fromSubaccount:o.getFromSubaccount_asB64(),toSubaccount:o.getToSubaccount_asB64(),neuronStakeE8s:u.Message.getFieldWithDefault(o,5,"0"),blockHeight:u.Message.getFieldWithDefault(o,6,"0"),memo:u.Message.getFieldWithDefault(o,7,"0")};return t&&(n.$jspbMessageInstance=o),n});proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinary=function(t){var o=new u.BinaryReader(t),r=new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader(r,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader=function(t,o){for(;o.nextField()&&!o.isEndGroup();){var r=o.getFieldNumber();switch(r){case 1:var n=o.readUint64String();t.setTransferTimestamp(n);break;case 2:var n=new V.PrincipalId;o.readMessage(n,V.PrincipalId.deserializeBinaryFromReader),t.setFrom(n);break;case 3:var n=o.readBytes();t.setFromSubaccount(n);break;case 4:var n=o.readBytes();t.setToSubaccount(n);break;case 5:var n=o.readUint64String();t.setNeuronStakeE8s(n);break;case 6:var n=o.readUint64String();t.setBlockHeight(n);break;case 7:var n=o.readUint64String();t.setMemo(n);break;default:o.skipField();break}}return t};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.serializeBinary=function(){var t=new u.BinaryWriter;return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter(this,t),t.getResultBuffer()};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter=function(t,o){var r=void 0;r=t.getTransferTimestamp(),parseInt(r,10)!==0&&o.writeUint64String(1,r),r=t.getFrom(),r!=null&&o.writeMessage(2,r,V.PrincipalId.serializeBinaryToWriter),r=t.getFromSubaccount_asU8(),r.length>0&&o.writeBytes(3,r),r=t.getToSubaccount_asU8(),r.length>0&&o.writeBytes(4,r),r=t.getNeuronStakeE8s(),parseInt(r,10)!==0&&o.writeUint64String(5,r),r=t.getBlockHeight(),parseInt(r,10)!==0&&o.writeUint64String(6,r),r=t.getMemo(),parseInt(r,10)!==0&&o.writeUint64String(7,r)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getTransferTimestamp=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setTransferTimestamp=function(t){return u.Message.setProto3StringIntField(this,1,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFrom=function(){return u.Message.getWrapperField(this,V.PrincipalId,2)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFrom=function(t){return u.Message.setWrapperField(this,2,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.hasFrom=function(){return u.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount=function(){return u.Message.getFieldWithDefault(this,3,"")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asB64=function(){return u.Message.bytesAsB64(this.getFromSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asU8=function(){return u.Message.bytesAsU8(this.getFromSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFromSubaccount=function(t){return u.Message.setProto3BytesField(this,3,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount=function(){return u.Message.getFieldWithDefault(this,4,"")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asB64=function(){return u.Message.bytesAsB64(this.getToSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asU8=function(){return u.Message.bytesAsU8(this.getToSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setToSubaccount=function(t){return u.Message.setProto3BytesField(this,4,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getNeuronStakeE8s=function(){return u.Message.getFieldWithDefault(this,5,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setNeuronStakeE8s=function(t){return u.Message.setProto3StringIntField(this,5,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getBlockHeight=function(){return u.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setBlockHeight=function(t){return u.Message.setProto3StringIntField(this,6,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getMemo=function(){return u.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setMemo=function(t){return u.Message.setProto3StringIntField(this,7,t)};proto.ic_nns_governance.pb.v1.Vote={VOTE_UNSPECIFIED:0,VOTE_YES:1,VOTE_NO:2};proto.ic_nns_governance.pb.v1.Topic={TOPIC_UNSPECIFIED:0,TOPIC_NEURON_MANAGEMENT:1,TOPIC_EXCHANGE_RATE:2,TOPIC_NETWORK_ECONOMICS:3,TOPIC_GOVERNANCE:4,TOPIC_NODE_ADMIN:5,TOPIC_PARTICIPANT_MANAGEMENT:6,TOPIC_SUBNET_MANAGEMENT:7,TOPIC_NETWORK_CANISTER_MANAGEMENT:8,TOPIC_KYC:9,TOPIC_NODE_PROVIDER_REWARDS:10,TOPIC_SNS_DECENTRALIZATION_SALE:11};U.object.extend(sc,proto.ic_nns_governance.pb.v1)});var Bh={};Gu(Bh,{AccountIdentifier:()=>xt,BadFeeError:()=>un,CouldNotClaimNeuronError:()=>wr,FeatureNotSupportedError:()=>Rr,FromICPStringError:()=>Ci,GenesisTokenCanister:()=>gr,GovernanceCanister:()=>ur,GovernanceError:()=>Ft,ICP:()=>gt,InsufficientAmountError:()=>Mr,InsufficientFundsError:()=>xr,InvalidAccountIDError:()=>Go,InvalidPercentageError:()=>Sr,InvalidSenderError:()=>cn,LedgerCanister:()=>Ar,NeuronState:()=>oa,ProposalRewardStatus:()=>Dc,ProposalStatus:()=>Hc,SnsWasmCanister:()=>dr,StakeNeuronError:()=>Cr,SubAccount:()=>Dt,Topic:()=>qc,TransferError:()=>Ht,TxCreatedInFutureError:()=>Tr,TxDuplicateError:()=>Or,TxTooOldError:()=>Fr,UnrecognizedTypeError:()=>no,UnsupportedValueError:()=>Ve,Vote:()=>Wc,accountIdentifierFromBytes:()=>$s,accountIdentifierToBytes:()=>Xs,checkAccountId:()=>ia,ineligibleNeurons:()=>hu,mapTransferError:()=>wi,mapTransferProtoError:()=>Mi,principalToAccountIdentifier:()=>ea,votableNeurons:()=>bh,votedNeurons:()=>yh});module.exports=ku(Bh);var Ua=qe(Fo()),ja=qe(Bo());var mi=require("buffer");var Pu=(t,o=0)=>{let r=~~o,n=0;for(let i=0;i<t.length;i++)n+=t[i];return r+=n%256,r%256},Aa=Pu;var da=require("buffer"),Uu=(t,o)=>da.Buffer.from(t,o),Ai=Uu;function Qe(t,o){let r=(n,i)=>o(Ai(n),i)>>>0;return r.signed=(n,i)=>o(Ai(n),i),r.unsigned=r,r.model=t,r}var fa=Qe("crc1",Aa);var di=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];typeof Int32Array<"u"&&(di=new Int32Array(di));var ju=(t,o=0)=>{let r=~~o;for(let n=0;n<t.length;n++)r=di[(r^t[n])&255]&255;return r},ha=ju;var _a=Qe("crc-8",ha);var fi=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];typeof Int32Array<"u"&&(fi=new Int32Array(fi));var Du=(t,o=0)=>{let r=~~o;for(let n=0;n<t.length;n++)r=fi[(r^t[n])&255]&255;return r},ba=Du;var ya=Qe("dallas-1-wire",ba);var hi=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(hi=new Int32Array(hi));var Hu=(t,o=0)=>{let r=~~o;for(let n=0;n<t.length;n++)r=(hi[(r^t[n])&255]^r>>8)&65535;return r},Ba=Hu;var Ea=Qe("crc-16",Ba);var _i=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];typeof Int32Array<"u"&&(_i=new Int32Array(_i));var Wu=(t,o)=>{let r=typeof o<"u"?~~o:65535;for(let n=0;n<t.length;n++)r=(_i[(r>>8^t[n])&255]^r<<8)&65535;return r},va=Wu;var ma=Qe("ccitt",va);var bi=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(bi=new Int32Array(bi));var qu=(t,o)=>{let r=typeof o<"u"?~~o:65535;for(let n=0;n<t.length;n++)r=(bi[(r^t[n])&255]^r>>8)&65535;return r},Ia=qu;var Ca=Qe("crc-16-modbus",Ia);var zu=(t,o)=>{let r=typeof o<"u"?~~o:0;for(let n=0;n<t.length;n++){let i=r>>>8&255;i^=t[n]&255,i^=i>>>4,r=r<<8&65535,r^=i,i=i<<5&65535,r^=i,i=i<<7&65535,r^=i}return r},wa=zu;var Ma=Qe("xmodem",wa);var yi=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];typeof Int32Array<"u"&&(yi=new Int32Array(yi));var Vu=(t,o)=>{let r=typeof o<"u"?~~o:0;for(let n=0;n<t.length;n++)r=(yi[(r^t[n])&255]^r>>8)&65535;return r},Sa=Vu;var Ra=Qe("kermit",Sa);var Bi=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];typeof Int32Array<"u"&&(Bi=new Int32Array(Bi));var Yu=(t,o)=>{let r=typeof o<"u"?~~o:11994318;for(let n=0;n<t.length;n++)r=(Bi[(r>>16^t[n])&255]^r<<8)&16777215;return r},Na=Yu;var xa=Qe("crc-24",Na);var Ei=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(Ei=new Int32Array(Ei));var Ju=(t,o)=>{let r=o===0?0:~~o^-1;for(let n=0;n<t.length;n++)r=Ei[(r^t[n])&255]^r>>>8;return r^-1},Fa=Ju;var Ta=Qe("crc-32",Fa);var vi=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(vi=new Int32Array(vi));var Ku=(t,o=-1)=>{let r=o===0?0:~~o;for(let n=0;n<t.length;n++)r=vi[(r^t[n])&255]^r>>>8;return r},Oa=Ku;var Qa=Qe("jam",Oa);var Ga={crc1:fa,crc8:_a,crc81wire:ya,crc16:Ea,crc16ccitt:ma,crc16modbus:Ca,crc16xmodem:Ma,crc16kermit:Ra,crc24:xa,crc32:Ta,crcjam:Qa};var ka=t=>{let o=new DataView(t.buffer,t.byteOffset,t.byteLength);if(typeof o.getBigUint64=="function")return o.getBigUint64(0);{let r=BigInt(o.getUint32(0)),n=BigInt(o.getUint32(4));return(r<<BigInt(32))+n}},Ii=t=>{let o=new Uint8Array(t);return Array.from(o)},Pa=t=>new Uint8Array(t);var To=t=>Array.from(t).map(o=>o.charCodeAt(0)),gn=t=>t.reduce((o,r)=>o+r.toString(16).padStart(2,"0"),""),Oo=t=>{let o=new ArrayBuffer(4);return new DataView(o).setUint32(0,Ga.crc32(mi.Buffer.from(t)),!1),mi.Buffer.from(o)};var xt=class{constructor(o){this.bytes=o}static fromHex(o){return new xt(Uint8Array.from(Buffer.from(o,"hex")))}static fromPrincipal({principal:o,subAccount:r=Dt.ZERO}){let n=To(`
850
- account-id`),i=Ua.sha224.create();i.update([...n,...o.toUint8Array(),...r.toUint8Array()]);let s=new Uint8Array(i.array()),p=Oo(s),l=new Uint8Array([...p,...s]);return new xt(l)}toProto(){let o=new ja.AccountIdentifier;return o.setHash(this.bytes),o}toHex(){return gn(this.bytes)}toUint8Array(){return this.bytes}toNumbers(){return Array.from(this.bytes)}},Qo=class{constructor(o){this.bytes=o}static fromBytes(o){return o.length!=32?Error("Subaccount length must be 32-bytes"):new Qo(o)}static fromPrincipal(o){let r=new Uint8Array(32).fill(0),n=o.toUint8Array();r[0]=n.length;for(let i=0;i<n.length;i++)r[1+i]=n[i];return new Qo(r)}static fromID(o){if(o<0||o>255)throw"Subaccount ID must be >= 0 and <= 255";let r=new Uint8Array(32).fill(0);return r[31]=o,new Qo(r)}toUint8Array(){return this.bytes}},Dt=Qo;Dt.ZERO=Qo.fromID(0);var Cr=class extends Error{},wr=class extends Cr{},Mr=class extends Cr{constructor(r){super();this.minimumAmount=r}},no=class extends Error{},Ft=class extends Error{constructor(r){super();this.detail=r}},Sr=class extends Error{},Go=class extends Error{},Ve=class extends Error{constructor(o){super("Unsupported value: "+o)}},Rr=class extends Error{};var Da=qe(Bo());var H_=BigInt(1095062083),W_=BigInt(1347768404),Nr=BigInt(1e4),pn=BigInt(1e8);var Ci=(r=>(r[r.FRACTIONAL_MORE_THAN_8_DECIMALS=0]="FRACTIONAL_MORE_THAN_8_DECIMALS",r[r.INVALID_FORMAT=1]="INVALID_FORMAT",r))(Ci||{});var gt=class{constructor(o){this.e8s=o}static fromE8s(o){return new gt(o)}static fromString(o){o=o.trim().replace(/[,']/g,"");let r=o.match(/\d*(\.\d*)?/);if(!r||r[0]!==o)return 1;let[n,i]=o.split("."),s=BigInt(0);if(n)try{s+=BigInt(n)*pn}catch{return 1}if(i){if(i.length>8)return 0;try{s+=BigInt(i.padEnd(8,"0"))}catch{return 1}}return new gt(s)}toE8s(){return this.e8s}toProto(){let o=new Da.ICPTs;return o.setE8s(this.e8s.toString()),o}};var Ht=class extends Error{},cn=class extends Ht{},xr=class extends Ht{constructor(r){super();this.balance=r}},Fr=class extends Ht{constructor(r){super();this.allowed_window_secs=r}},Tr=class extends Ht{},Or=class extends Ht{constructor(r){super();this.duplicateOf=r}},un=class extends Ht{constructor(r){super();this.expectedFee=r}},wi=t=>{if("TxDuplicate"in t)return new Or(t.TxDuplicate.duplicate_of);if("InsufficientFunds"in t){let o=gt.fromE8s(t.InsufficientFunds.balance.e8s);return new xr(o)}return"TxCreatedInFuture"in t?new Tr:"TxTooOld"in t?new Fr(Number(t.TxTooOld.allowed_window_nanos)):"BadFee"in t?new un(t.BadFee.expected_fee.e8s):new Ht(`Unknown error type ${JSON.stringify(t)}`)},Mi=t=>{let{message:o}=t;if(o.includes("Reject code: 5")){if(o.match(/Sending from (.*) is not allowed/))return new cn;{let r=o.match(/transaction.*duplicate.* in block (\d+)/);if(r&&r.length>1)return new Or(BigInt(r[1]))}{let r=o.match(/debit account.*, current balance: (\d*(\.\d*)?)/);if(r&&r.length>1){let n=gt.fromString(r[1]);if(n instanceof gt)return new xr(n)}}if(o.includes("is in future"))return new Tr;{let r=o.match(/older than (\d+)/);if(r&&r.length>1)return new Fr(Number.parseInt(r[1]))}}throw t};var Ha=({IDL:t})=>{let o=t.Record({id:t.Nat64}),r=t.Variant({Ok:t.Vec(o),Err:t.Text}),n=t.Variant({Ok:t.Null,Err:t.Text}),i=t.Record({error:t.Opt(t.Text),timestamp_seconds:t.Nat64,neuron_id:t.Opt(o)}),s=t.Record({authenticated_principal_id:t.Opt(t.Principal),successfully_transferred_neurons:t.Vec(i),is_whitelisted_for_forwarding:t.Bool,has_donated:t.Bool,failed_transferred_neurons:t.Vec(i),neuron_ids:t.Vec(o),has_claimed:t.Bool,has_forwarded:t.Bool,icpts:t.Nat32}),p=t.Variant({Ok:s,Err:t.Text});return t.Service({balance:t.Func([t.Text],[t.Nat32],[]),claim_neurons:t.Func([t.Text],[r],[]),donate_account:t.Func([t.Text],[n],[]),forward_whitelisted_unclaimed_accounts:t.Func([t.Null],[n],[]),get_account:t.Func([t.Text],[p],[]),get_build_metadata:t.Func([],[t.Text],[]),len:t.Func([],[t.Nat16],[]),total:t.Func([],[t.Nat32],[])})};var Wa=({IDL:t})=>{let o=t.Record({id:t.Nat64}),r=t.Variant({Ok:t.Vec(o),Err:t.Text}),n=t.Variant({Ok:t.Null,Err:t.Text}),i=t.Record({error:t.Opt(t.Text),timestamp_seconds:t.Nat64,neuron_id:t.Opt(o)}),s=t.Record({authenticated_principal_id:t.Opt(t.Principal),successfully_transferred_neurons:t.Vec(i),is_whitelisted_for_forwarding:t.Bool,has_donated:t.Bool,failed_transferred_neurons:t.Vec(i),neuron_ids:t.Vec(o),has_claimed:t.Bool,has_forwarded:t.Bool,icpts:t.Nat32}),p=t.Variant({Ok:s,Err:t.Text});return t.Service({balance:t.Func([t.Text],[t.Nat32],["query"]),claim_neurons:t.Func([t.Text],[r],[]),donate_account:t.Func([t.Text],[n],[]),forward_whitelisted_unclaimed_accounts:t.Func([t.Null],[n],[]),get_account:t.Func([t.Text],[p],["query"]),get_build_metadata:t.Func([],[t.Text],["query"]),len:t.Func([],[t.Nat16],["query"]),total:t.Func([],[t.Nat32],["query"])})};var jo=qe(At()),rb=jo.Principal.fromText("rrkah-fqaaa-aaaaa-aaaaq-cai"),Ka=jo.Principal.fromText("rrkah-fqaaa-aaaaa-aaaaq-cai"),La=jo.Principal.fromText("ryjl3-tyaaa-aaaaa-aaaba-cai"),Za=jo.Principal.fromText("renrk-eyaaa-aaaaa-aaada-cai"),Xa=jo.Principal.fromText("r7inp-6aaaa-aaaaa-aaabq-cai");var Ls=qe(on());var ii=qe(on()),tc=()=>new ii.HttpAgent({host:"https://ic0.app",identity:new ii.AnonymousIdentity});var _o=({options:{canisterId:t,serviceOverride:o,certifiedServiceOverride:r,agent:n},idlFactory:i,certifiedIdlFactory:s})=>{let p=n??tc(),l=o??Ls.Actor.createActor(i,{agent:p,canisterId:t}),_=r??Ls.Actor.createActor(s,{agent:p,canisterId:t});return{service:l,certifiedService:_,agent:p}};var gr=class{constructor(o){this.service=o;this.claimNeurons=async({hexPubKey:o})=>{let r=await this.service.claim_neurons(o);if("Ok"in r)return r.Ok.map(n=>n.id);throw new Error(r.Err)}}static create(o={}){let{service:r}=_o({options:{...o,canisterId:o.canisterId??Za},idlFactory:Wa,certifiedIdlFactory:Ha});return new gr(r)}};var iu=qe(Fo()),su=qe(rc());var nc=({IDL:t})=>{let o=t.Rec(),r=t.Record({id:t.Nat64}),n=t.Record({followees:t.Vec(r)}),i=t.Record({hash:t.Vec(t.Nat8)}),s=t.Record({id:t.Opt(t.Principal),reward_account:t.Opt(i)}),p=t.Record({dissolve_delay_seconds:t.Nat64}),l=t.Record({to_account:t.Opt(i)}),_=t.Variant({RewardToNeuron:p,RewardToAccount:l}),C=t.Record({node_provider:t.Opt(s),reward_mode:t.Opt(_),amount_e8s:t.Nat64}),Q=t.Record({timestamp:t.Nat64,rewards:t.Vec(C)}),P=t.Record({not_dissolving_neurons_e8s_buckets:t.Vec(t.Tuple(t.Nat64,t.Float64)),garbage_collectable_neurons_count:t.Nat64,neurons_with_invalid_stake_count:t.Nat64,not_dissolving_neurons_count_buckets:t.Vec(t.Tuple(t.Nat64,t.Nat64)),total_supply_icp:t.Nat64,neurons_with_less_than_6_months_dissolve_delay_count:t.Nat64,dissolved_neurons_count:t.Nat64,total_staked_e8s:t.Nat64,not_dissolving_neurons_count:t.Nat64,dissolved_neurons_e8s:t.Nat64,neurons_with_less_than_6_months_dissolve_delay_e8s:t.Nat64,dissolving_neurons_count_buckets:t.Vec(t.Tuple(t.Nat64,t.Nat64)),dissolving_neurons_count:t.Nat64,dissolving_neurons_e8s_buckets:t.Vec(t.Tuple(t.Nat64,t.Float64)),community_fund_total_staked_e8s:t.Nat64,timestamp_seconds:t.Nat64}),G=t.Record({neuron_minimum_stake_e8s:t.Nat64,max_proposals_to_keep_per_topic:t.Nat32,neuron_management_fee_per_proposal_e8s:t.Nat64,reject_cost_e8s:t.Nat64,transaction_fee_e8s:t.Nat64,neuron_spawn_dissolve_delay_seconds:t.Nat64,minimum_icp_xdr_rate:t.Nat64,maximum_node_provider_rewards_e8s:t.Nat64}),O=t.Record({day_after_genesis:t.Nat64,actual_timestamp_seconds:t.Nat64,distributed_e8s_equivalent:t.Nat64,settled_proposals:t.Vec(r)}),Y=t.Record({to_subaccount:t.Vec(t.Nat8),neuron_stake_e8s:t.Nat64,from:t.Opt(t.Principal),memo:t.Nat64,from_subaccount:t.Vec(t.Nat8),transfer_timestamp:t.Nat64,block_height:t.Nat64}),J=t.Record({error_message:t.Text,error_type:t.Int32}),se=t.Record({vote:t.Int32,voting_power:t.Nat64}),oe=t.Record({no:t.Nat64,yes:t.Nat64,total:t.Nat64,timestamp_seconds:t.Nat64}),ie=t.Record({name:t.Text,description:t.Opt(t.Text)}),ue=t.Record({id:t.Opt(r),known_neuron_data:t.Opt(ie)}),ye=t.Record({percentage_to_spawn:t.Opt(t.Nat32),new_controller:t.Opt(t.Principal),nonce:t.Opt(t.Nat64)}),X=t.Record({amount_e8s:t.Nat64}),L=t.Record({topic:t.Int32,followees:t.Vec(r)}),ne=t.Record({controller:t.Opt(t.Principal),memo:t.Nat64}),ge=t.Variant({NeuronIdOrSubaccount:t.Record({}),MemoAndController:ne,Memo:t.Nat64}),q=t.Record({by:t.Opt(ge)}),Ie=t.Record({hot_key_to_remove:t.Opt(t.Principal)}),me=t.Record({new_hot_key:t.Opt(t.Principal)}),Ce=t.Record({additional_dissolve_delay_seconds:t.Nat32}),Te=t.Record({dissolve_timestamp_seconds:t.Nat64}),ze=t.Variant({RemoveHotKey:Ie,AddHotKey:me,StopDissolving:t.Record({}),StartDissolving:t.Record({}),IncreaseDissolveDelay:Ce,JoinCommunityFund:t.Record({}),LeaveCommunityFund:t.Record({}),SetDissolveTimestamp:Te}),Le=t.Record({operation:t.Opt(ze)}),nt=t.Record({vote:t.Int32,proposal:t.Opt(r)}),st=t.Record({source_neuron_id:t.Opt(r)}),Oe=t.Record({dissolve_delay_seconds:t.Nat64,kyc_verified:t.Bool,amount_e8s:t.Nat64,new_controller:t.Opt(t.Principal),nonce:t.Nat64}),at=t.Record({percentage_to_merge:t.Nat32}),to=t.Record({e8s:t.Nat64}),lt=t.Record({to_account:t.Opt(i),amount:t.Opt(to)}),oo=t.Variant({Spawn:ye,Split:X,Follow:L,ClaimOrRefresh:q,Configure:Le,RegisterVote:nt,Merge:st,DisburseToNeuron:Oe,MakeProposal:o,MergeMaturity:at,Disburse:lt}),D=t.Variant({Subaccount:t.Vec(t.Nat8),NeuronId:r}),m=t.Record({id:t.Opt(r),command:t.Opt(oo),neuron_id_or_subaccount:t.Opt(D)}),Pt=t.Record({nns_function:t.Int32,payload:t.Vec(t.Nat8)}),Rt=t.Record({start_timestamp_seconds:t.Nat64,end_timestamp_seconds:t.Nat64}),Ze=t.Record({open_time_window:t.Opt(Rt)}),re=t.Record({request:t.Opt(Ze),swap_canister_id:t.Opt(t.Principal)}),h=t.Record({default_followees:t.Vec(t.Tuple(t.Int32,n))}),y=t.Record({use_registry_derived_rewards:t.Opt(t.Bool),rewards:t.Vec(C)}),B=t.Record({principals:t.Vec(t.Principal)}),R=t.Variant({ToRemove:s,ToAdd:s}),I=t.Record({change:t.Opt(R)}),M=t.Record({motion_text:t.Text}),x=t.Variant({RegisterKnownNeuron:ue,ManageNeuron:m,ExecuteNnsFunction:Pt,RewardNodeProvider:C,SetSnsTokenSwapOpenTimeWindow:re,SetDefaultFollowees:h,RewardNodeProviders:y,ManageNetworkEconomics:G,ApproveGenesisKyc:B,AddOrRemoveNodeProvider:I,Motion:M});o.fill(t.Record({url:t.Text,title:t.Opt(t.Text),action:t.Opt(x),summary:t.Text}));let E=t.Record({current_deadline_timestamp_seconds:t.Nat64}),w=t.Record({id:t.Opt(r),failure_reason:t.Opt(J),ballots:t.Vec(t.Tuple(t.Nat64,se)),proposal_timestamp_seconds:t.Nat64,reward_event_round:t.Nat64,failed_timestamp_seconds:t.Nat64,reject_cost_e8s:t.Nat64,latest_tally:t.Opt(oe),decided_timestamp_seconds:t.Nat64,proposal:t.Opt(o),proposer:t.Opt(r),wait_for_quiet_state:t.Opt(E),executed_timestamp_seconds:t.Nat64}),N=t.Variant({Spawn:r,Split:X,Configure:Le,Merge:st,DisburseToNeuron:Oe,ClaimOrRefreshNeuron:q,MergeMaturity:at,Disburse:lt}),S=t.Record({command:t.Opt(N),timestamp:t.Nat64}),k=t.Record({vote:t.Int32,proposal_id:t.Opt(r)}),W=t.Variant({DissolveDelaySeconds:t.Nat64,WhenDissolvedTimestampSeconds:t.Nat64}),$=t.Record({id:t.Opt(r),controller:t.Opt(t.Principal),recent_ballots:t.Vec(k),kyc_verified:t.Bool,not_for_profit:t.Bool,maturity_e8s_equivalent:t.Nat64,cached_neuron_stake_e8s:t.Nat64,created_timestamp_seconds:t.Nat64,aging_since_timestamp_seconds:t.Nat64,hot_keys:t.Vec(t.Principal),account:t.Vec(t.Nat8),joined_community_fund_timestamp_seconds:t.Opt(t.Nat64),dissolve_state:t.Opt(W),followees:t.Vec(t.Tuple(t.Int32,n)),neuron_fees_e8s:t.Nat64,transfer:t.Opt(Y),known_neuron_data:t.Opt(ie),spawn_at_timestamp_seconds:t.Opt(t.Nat64)}),Ae=t.Record({default_followees:t.Vec(t.Tuple(t.Int32,n)),most_recent_monthly_node_provider_rewards:t.Opt(Q),wait_for_quiet_threshold_seconds:t.Nat64,metrics:t.Opt(P),cached_daily_maturity_modulation:t.Opt(t.Float64),node_providers:t.Vec(s),economics:t.Opt(G),spawning_neurons:t.Opt(t.Bool),latest_reward_event:t.Opt(O),to_claim_transfers:t.Vec(Y),short_voting_period_seconds:t.Nat64,proposals:t.Vec(t.Tuple(t.Nat64,w)),in_flight_commands:t.Vec(t.Tuple(t.Nat64,S)),neurons:t.Vec(t.Tuple(t.Nat64,$)),last_updated_maturity_modulation_cache:t.Opt(t.Nat64),genesis_timestamp_seconds:t.Nat64}),Be=t.Variant({Ok:t.Null,Err:J}),Ne=t.Variant({Error:J,NeuronId:r}),pe=t.Record({result:t.Opt(Ne)}),te=t.Variant({Ok:$,Err:J}),Ge=t.Variant({Ok:y,Err:J}),vt=t.Record({dissolve_delay_seconds:t.Nat64,recent_ballots:t.Vec(k),created_timestamp_seconds:t.Nat64,state:t.Int32,stake_e8s:t.Nat64,joined_community_fund_timestamp_seconds:t.Opt(t.Nat64),retrieved_at_timestamp_seconds:t.Nat64,known_neuron_data:t.Opt(ie),voting_power:t.Nat64,age_seconds:t.Nat64}),Nt=t.Variant({Ok:vt,Err:J}),ro=t.Variant({Ok:s,Err:J}),He=t.Record({id:t.Opt(r),status:t.Int32,topic:t.Int32,failure_reason:t.Opt(J),ballots:t.Vec(t.Tuple(t.Nat64,se)),proposal_timestamp_seconds:t.Nat64,reward_event_round:t.Nat64,deadline_timestamp_seconds:t.Opt(t.Nat64),failed_timestamp_seconds:t.Nat64,reject_cost_e8s:t.Nat64,latest_tally:t.Opt(oe),reward_status:t.Int32,decided_timestamp_seconds:t.Nat64,proposal:t.Opt(o),proposer:t.Opt(r),executed_timestamp_seconds:t.Nat64}),_e=t.Record({known_neurons:t.Vec(ue)}),Xe=t.Record({neuron_ids:t.Vec(t.Nat64),include_neurons_readable_by_caller:t.Bool}),je=t.Record({neuron_infos:t.Vec(t.Tuple(t.Nat64,vt)),full_neurons:t.Vec($)}),we=t.Record({node_providers:t.Vec(s)}),fr=t.Record({include_reward_status:t.Vec(t.Int32),before_proposal:t.Opt(r),limit:t.Nat32,exclude_topic:t.Vec(t.Int32),include_status:t.Vec(t.Int32)}),hr=t.Record({proposal_info:t.Vec(He)}),Ee=t.Record({created_neuron_id:t.Opt(r)}),_r=t.Record({refreshed_neuron_id:t.Opt(r)}),br=t.Record({proposal_id:t.Opt(r)}),yr=t.Record({merged_maturity_e8s:t.Nat64,new_stake_e8s:t.Nat64}),Br=t.Record({transfer_block_height:t.Nat64}),Er=t.Variant({Error:J,Spawn:Ee,Split:Ee,Follow:t.Record({}),ClaimOrRefresh:_r,Configure:t.Record({}),RegisterVote:t.Record({}),Merge:t.Record({}),DisburseToNeuron:Ee,MakeProposal:br,MergeMaturity:yr,Disburse:Br}),Ut=t.Record({command:t.Opt(Er)}),rn=t.Record({reward_account:t.Opt(i)});return t.Service({claim_gtc_neurons:t.Func([t.Principal,t.Vec(r)],[Be],[]),claim_or_refresh_neuron_from_account:t.Func([ne],[pe],[]),get_build_metadata:t.Func([],[t.Text],[]),get_full_neuron:t.Func([t.Nat64],[te],[]),get_full_neuron_by_id_or_subaccount:t.Func([D],[te],[]),get_monthly_node_provider_rewards:t.Func([],[Ge],[]),get_most_recent_monthly_node_provider_rewards:t.Func([],[t.Opt(Q)],[]),get_network_economics_parameters:t.Func([],[G],[]),get_neuron_ids:t.Func([],[t.Vec(t.Nat64)],[]),get_neuron_info:t.Func([t.Nat64],[Nt],[]),get_neuron_info_by_id_or_subaccount:t.Func([D],[Nt],[]),get_node_provider_by_caller:t.Func([t.Null],[ro],[]),get_pending_proposals:t.Func([],[t.Vec(He)],[]),get_proposal_info:t.Func([t.Nat64],[t.Opt(He)],[]),list_known_neurons:t.Func([],[_e],[]),list_neurons:t.Func([Xe],[je],[]),list_node_providers:t.Func([],[we],[]),list_proposals:t.Func([fr],[hr],[]),manage_neuron:t.Func([m],[Ut],[]),transfer_gtc_neuron:t.Func([r,r],[Be],[]),update_node_provider:t.Func([rn],[Be],[])})};var ic=({IDL:t})=>{let o=t.Rec(),r=t.Record({id:t.Nat64}),n=t.Record({followees:t.Vec(r)}),i=t.Record({hash:t.Vec(t.Nat8)}),s=t.Record({id:t.Opt(t.Principal),reward_account:t.Opt(i)}),p=t.Record({dissolve_delay_seconds:t.Nat64}),l=t.Record({to_account:t.Opt(i)}),_=t.Variant({RewardToNeuron:p,RewardToAccount:l}),C=t.Record({node_provider:t.Opt(s),reward_mode:t.Opt(_),amount_e8s:t.Nat64}),Q=t.Record({timestamp:t.Nat64,rewards:t.Vec(C)}),P=t.Record({not_dissolving_neurons_e8s_buckets:t.Vec(t.Tuple(t.Nat64,t.Float64)),garbage_collectable_neurons_count:t.Nat64,neurons_with_invalid_stake_count:t.Nat64,not_dissolving_neurons_count_buckets:t.Vec(t.Tuple(t.Nat64,t.Nat64)),total_supply_icp:t.Nat64,neurons_with_less_than_6_months_dissolve_delay_count:t.Nat64,dissolved_neurons_count:t.Nat64,total_staked_e8s:t.Nat64,not_dissolving_neurons_count:t.Nat64,dissolved_neurons_e8s:t.Nat64,neurons_with_less_than_6_months_dissolve_delay_e8s:t.Nat64,dissolving_neurons_count_buckets:t.Vec(t.Tuple(t.Nat64,t.Nat64)),dissolving_neurons_count:t.Nat64,dissolving_neurons_e8s_buckets:t.Vec(t.Tuple(t.Nat64,t.Float64)),community_fund_total_staked_e8s:t.Nat64,timestamp_seconds:t.Nat64}),G=t.Record({neuron_minimum_stake_e8s:t.Nat64,max_proposals_to_keep_per_topic:t.Nat32,neuron_management_fee_per_proposal_e8s:t.Nat64,reject_cost_e8s:t.Nat64,transaction_fee_e8s:t.Nat64,neuron_spawn_dissolve_delay_seconds:t.Nat64,minimum_icp_xdr_rate:t.Nat64,maximum_node_provider_rewards_e8s:t.Nat64}),O=t.Record({day_after_genesis:t.Nat64,actual_timestamp_seconds:t.Nat64,distributed_e8s_equivalent:t.Nat64,settled_proposals:t.Vec(r)}),Y=t.Record({to_subaccount:t.Vec(t.Nat8),neuron_stake_e8s:t.Nat64,from:t.Opt(t.Principal),memo:t.Nat64,from_subaccount:t.Vec(t.Nat8),transfer_timestamp:t.Nat64,block_height:t.Nat64}),J=t.Record({error_message:t.Text,error_type:t.Int32}),se=t.Record({vote:t.Int32,voting_power:t.Nat64}),oe=t.Record({no:t.Nat64,yes:t.Nat64,total:t.Nat64,timestamp_seconds:t.Nat64}),ie=t.Record({name:t.Text,description:t.Opt(t.Text)}),ue=t.Record({id:t.Opt(r),known_neuron_data:t.Opt(ie)}),ye=t.Record({percentage_to_spawn:t.Opt(t.Nat32),new_controller:t.Opt(t.Principal),nonce:t.Opt(t.Nat64)}),X=t.Record({amount_e8s:t.Nat64}),L=t.Record({topic:t.Int32,followees:t.Vec(r)}),ne=t.Record({controller:t.Opt(t.Principal),memo:t.Nat64}),ge=t.Variant({NeuronIdOrSubaccount:t.Record({}),MemoAndController:ne,Memo:t.Nat64}),q=t.Record({by:t.Opt(ge)}),Ie=t.Record({hot_key_to_remove:t.Opt(t.Principal)}),me=t.Record({new_hot_key:t.Opt(t.Principal)}),Ce=t.Record({additional_dissolve_delay_seconds:t.Nat32}),Te=t.Record({dissolve_timestamp_seconds:t.Nat64}),ze=t.Variant({RemoveHotKey:Ie,AddHotKey:me,StopDissolving:t.Record({}),StartDissolving:t.Record({}),IncreaseDissolveDelay:Ce,JoinCommunityFund:t.Record({}),LeaveCommunityFund:t.Record({}),SetDissolveTimestamp:Te}),Le=t.Record({operation:t.Opt(ze)}),nt=t.Record({vote:t.Int32,proposal:t.Opt(r)}),st=t.Record({source_neuron_id:t.Opt(r)}),Oe=t.Record({dissolve_delay_seconds:t.Nat64,kyc_verified:t.Bool,amount_e8s:t.Nat64,new_controller:t.Opt(t.Principal),nonce:t.Nat64}),at=t.Record({percentage_to_merge:t.Nat32}),to=t.Record({e8s:t.Nat64}),lt=t.Record({to_account:t.Opt(i),amount:t.Opt(to)}),oo=t.Variant({Spawn:ye,Split:X,Follow:L,ClaimOrRefresh:q,Configure:Le,RegisterVote:nt,Merge:st,DisburseToNeuron:Oe,MakeProposal:o,MergeMaturity:at,Disburse:lt}),D=t.Variant({Subaccount:t.Vec(t.Nat8),NeuronId:r}),m=t.Record({id:t.Opt(r),command:t.Opt(oo),neuron_id_or_subaccount:t.Opt(D)}),Pt=t.Record({nns_function:t.Int32,payload:t.Vec(t.Nat8)}),Rt=t.Record({start_timestamp_seconds:t.Nat64,end_timestamp_seconds:t.Nat64}),Ze=t.Record({open_time_window:t.Opt(Rt)}),re=t.Record({request:t.Opt(Ze),swap_canister_id:t.Opt(t.Principal)}),h=t.Record({default_followees:t.Vec(t.Tuple(t.Int32,n))}),y=t.Record({use_registry_derived_rewards:t.Opt(t.Bool),rewards:t.Vec(C)}),B=t.Record({principals:t.Vec(t.Principal)}),R=t.Variant({ToRemove:s,ToAdd:s}),I=t.Record({change:t.Opt(R)}),M=t.Record({motion_text:t.Text}),x=t.Variant({RegisterKnownNeuron:ue,ManageNeuron:m,ExecuteNnsFunction:Pt,RewardNodeProvider:C,SetSnsTokenSwapOpenTimeWindow:re,SetDefaultFollowees:h,RewardNodeProviders:y,ManageNetworkEconomics:G,ApproveGenesisKyc:B,AddOrRemoveNodeProvider:I,Motion:M});o.fill(t.Record({url:t.Text,title:t.Opt(t.Text),action:t.Opt(x),summary:t.Text}));let E=t.Record({current_deadline_timestamp_seconds:t.Nat64}),w=t.Record({id:t.Opt(r),failure_reason:t.Opt(J),ballots:t.Vec(t.Tuple(t.Nat64,se)),proposal_timestamp_seconds:t.Nat64,reward_event_round:t.Nat64,failed_timestamp_seconds:t.Nat64,reject_cost_e8s:t.Nat64,latest_tally:t.Opt(oe),decided_timestamp_seconds:t.Nat64,proposal:t.Opt(o),proposer:t.Opt(r),wait_for_quiet_state:t.Opt(E),executed_timestamp_seconds:t.Nat64}),N=t.Variant({Spawn:r,Split:X,Configure:Le,Merge:st,DisburseToNeuron:Oe,ClaimOrRefreshNeuron:q,MergeMaturity:at,Disburse:lt}),S=t.Record({command:t.Opt(N),timestamp:t.Nat64}),k=t.Record({vote:t.Int32,proposal_id:t.Opt(r)}),W=t.Variant({DissolveDelaySeconds:t.Nat64,WhenDissolvedTimestampSeconds:t.Nat64}),$=t.Record({id:t.Opt(r),controller:t.Opt(t.Principal),recent_ballots:t.Vec(k),kyc_verified:t.Bool,not_for_profit:t.Bool,maturity_e8s_equivalent:t.Nat64,cached_neuron_stake_e8s:t.Nat64,created_timestamp_seconds:t.Nat64,aging_since_timestamp_seconds:t.Nat64,hot_keys:t.Vec(t.Principal),account:t.Vec(t.Nat8),joined_community_fund_timestamp_seconds:t.Opt(t.Nat64),dissolve_state:t.Opt(W),followees:t.Vec(t.Tuple(t.Int32,n)),neuron_fees_e8s:t.Nat64,transfer:t.Opt(Y),known_neuron_data:t.Opt(ie),spawn_at_timestamp_seconds:t.Opt(t.Nat64)}),Ae=t.Record({default_followees:t.Vec(t.Tuple(t.Int32,n)),most_recent_monthly_node_provider_rewards:t.Opt(Q),wait_for_quiet_threshold_seconds:t.Nat64,metrics:t.Opt(P),cached_daily_maturity_modulation:t.Opt(t.Float64),node_providers:t.Vec(s),economics:t.Opt(G),spawning_neurons:t.Opt(t.Bool),latest_reward_event:t.Opt(O),to_claim_transfers:t.Vec(Y),short_voting_period_seconds:t.Nat64,proposals:t.Vec(t.Tuple(t.Nat64,w)),in_flight_commands:t.Vec(t.Tuple(t.Nat64,S)),neurons:t.Vec(t.Tuple(t.Nat64,$)),last_updated_maturity_modulation_cache:t.Opt(t.Nat64),genesis_timestamp_seconds:t.Nat64}),Be=t.Variant({Ok:t.Null,Err:J}),Ne=t.Variant({Error:J,NeuronId:r}),pe=t.Record({result:t.Opt(Ne)}),te=t.Variant({Ok:$,Err:J}),Ge=t.Variant({Ok:y,Err:J}),vt=t.Record({dissolve_delay_seconds:t.Nat64,recent_ballots:t.Vec(k),created_timestamp_seconds:t.Nat64,state:t.Int32,stake_e8s:t.Nat64,joined_community_fund_timestamp_seconds:t.Opt(t.Nat64),retrieved_at_timestamp_seconds:t.Nat64,known_neuron_data:t.Opt(ie),voting_power:t.Nat64,age_seconds:t.Nat64}),Nt=t.Variant({Ok:vt,Err:J}),ro=t.Variant({Ok:s,Err:J}),He=t.Record({id:t.Opt(r),status:t.Int32,topic:t.Int32,failure_reason:t.Opt(J),ballots:t.Vec(t.Tuple(t.Nat64,se)),proposal_timestamp_seconds:t.Nat64,reward_event_round:t.Nat64,deadline_timestamp_seconds:t.Opt(t.Nat64),failed_timestamp_seconds:t.Nat64,reject_cost_e8s:t.Nat64,latest_tally:t.Opt(oe),reward_status:t.Int32,decided_timestamp_seconds:t.Nat64,proposal:t.Opt(o),proposer:t.Opt(r),executed_timestamp_seconds:t.Nat64}),_e=t.Record({known_neurons:t.Vec(ue)}),Xe=t.Record({neuron_ids:t.Vec(t.Nat64),include_neurons_readable_by_caller:t.Bool}),je=t.Record({neuron_infos:t.Vec(t.Tuple(t.Nat64,vt)),full_neurons:t.Vec($)}),we=t.Record({node_providers:t.Vec(s)}),fr=t.Record({include_reward_status:t.Vec(t.Int32),before_proposal:t.Opt(r),limit:t.Nat32,exclude_topic:t.Vec(t.Int32),include_status:t.Vec(t.Int32)}),hr=t.Record({proposal_info:t.Vec(He)}),Ee=t.Record({created_neuron_id:t.Opt(r)}),_r=t.Record({refreshed_neuron_id:t.Opt(r)}),br=t.Record({proposal_id:t.Opt(r)}),yr=t.Record({merged_maturity_e8s:t.Nat64,new_stake_e8s:t.Nat64}),Br=t.Record({transfer_block_height:t.Nat64}),Er=t.Variant({Error:J,Spawn:Ee,Split:Ee,Follow:t.Record({}),ClaimOrRefresh:_r,Configure:t.Record({}),RegisterVote:t.Record({}),Merge:t.Record({}),DisburseToNeuron:Ee,MakeProposal:br,MergeMaturity:yr,Disburse:Br}),Ut=t.Record({command:t.Opt(Er)}),rn=t.Record({reward_account:t.Opt(i)});return t.Service({claim_gtc_neurons:t.Func([t.Principal,t.Vec(r)],[Be],[]),claim_or_refresh_neuron_from_account:t.Func([ne],[pe],[]),get_build_metadata:t.Func([],[t.Text],["query"]),get_full_neuron:t.Func([t.Nat64],[te],["query"]),get_full_neuron_by_id_or_subaccount:t.Func([D],[te],["query"]),get_monthly_node_provider_rewards:t.Func([],[Ge],[]),get_most_recent_monthly_node_provider_rewards:t.Func([],[t.Opt(Q)],["query"]),get_network_economics_parameters:t.Func([],[G],["query"]),get_neuron_ids:t.Func([],[t.Vec(t.Nat64)],["query"]),get_neuron_info:t.Func([t.Nat64],[Nt],["query"]),get_neuron_info_by_id_or_subaccount:t.Func([D],[Nt],["query"]),get_node_provider_by_caller:t.Func([t.Null],[ro],["query"]),get_pending_proposals:t.Func([],[t.Vec(He)],["query"]),get_proposal_info:t.Func([t.Nat64],[t.Opt(He)],["query"]),list_known_neurons:t.Func([],[_e],["query"]),list_neurons:t.Func([Xe],[je],["query"]),list_node_providers:t.Func([],[we],["query"]),list_proposals:t.Func([fr],[hr],["query"]),manage_neuron:t.Func([m],[Ut],[]),transfer_gtc_neuron:t.Func([r,r],[Be],[]),update_node_provider:t.Func([rn],[Be],[])})};var lr=qe(si());var bo=qe(At());var Zs=require("buffer"),ac=qe(Fo());var Xs=t=>Uint8Array.from(Zs.Buffer.from(t,"hex")).subarray(4),$s=t=>Zs.Buffer.from(t).toString("hex"),ea=(t,o)=>{let r=To(`
851
- account-id`),n=ac.sha224.create();n.update([...r,...t.toUint8Array(),...o??Array(32).fill(0)]);let i=new Uint8Array(n.array()),s=Oo(i),p=new Uint8Array([...s,...i]);return gn(p)};var pc=t=>({id:t}),ta=t=>({id:t}),Jf=t=>({followees:t.map(ta)}),Kf=t=>{if("NeuronId"in t)return{NeuronId:{id:t.NeuronId}};if("Subaccount"in t)return{Subaccount:t.Subaccount};throw new Ve(t)},cc=t=>{if("ExecuteNnsFunction"in t){let o=t.ExecuteNnsFunction;if(o.payloadBytes===void 0)throw new Error("payloadBytes not found");return{ExecuteNnsFunction:{nns_function:o.nnsFunctionId,payload:Ii(o.payloadBytes)}}}if("ManageNeuron"in t){let o=t.ManageNeuron;return{ManageNeuron:eh(o)}}if("ApproveGenesisKyc"in t)return{ApproveGenesisKyc:{principals:t.ApproveGenesisKyc.principals.map(bo.Principal.fromText)}};if("ManageNetworkEconomics"in t){let o=t.ManageNetworkEconomics;return{ManageNetworkEconomics:{neuron_minimum_stake_e8s:o.neuronMinimumStake,max_proposals_to_keep_per_topic:o.maxProposalsToKeepPerTopic,neuron_management_fee_per_proposal_e8s:o.neuronManagementFeePerProposal,reject_cost_e8s:o.rejectCost,transaction_fee_e8s:o.transactionFee,neuron_spawn_dissolve_delay_seconds:o.neuronSpawnDissolveDelaySeconds,minimum_icp_xdr_rate:o.minimumIcpXdrRate,maximum_node_provider_rewards_e8s:o.maximumNodeProviderRewards}}}if("RewardNodeProvider"in t){let o=t.RewardNodeProvider;return{RewardNodeProvider:{node_provider:o.nodeProvider?[ai(o.nodeProvider)]:[],amount_e8s:o.amountE8s,reward_mode:o.rewardMode!=null?[gc(o.rewardMode)]:[]}}}if("RewardNodeProviders"in t){let o=t.RewardNodeProviders;return{RewardNodeProviders:{use_registry_derived_rewards:o.useRegistryDerivedRewards===void 0?[]:[o.useRegistryDerivedRewards],rewards:o.rewards.map(r=>({node_provider:r.nodeProvider?[ai(r.nodeProvider)]:[],amount_e8s:r.amountE8s,reward_mode:r.rewardMode!=null?[gc(r.rewardMode)]:[]}))}}}if("AddOrRemoveNodeProvider"in t){let o=t.AddOrRemoveNodeProvider;return{AddOrRemoveNodeProvider:{change:o.change?[Xf(o.change)]:[]}}}if("Motion"in t)return{Motion:{motion_text:t.Motion.motionText}};if("SetDefaultFollowees"in t)return{SetDefaultFollowees:{default_followees:t.SetDefaultFollowees.defaultFollowees.map(r=>[r.topic,Jf(r.followees)])}};if("RegisterKnownNeuron"in t){let o=t.RegisterKnownNeuron;return{RegisterKnownNeuron:{id:[{id:o.id}],known_neuron_data:[{name:o.name,description:o.description!==void 0?[o.description]:[]}]}}}if("SetSnsTokenSwapOpenTimeWindow"in t){let{request:o,swapCanisterId:r}=t.SetSnsTokenSwapOpenTimeWindow;return{SetSnsTokenSwapOpenTimeWindow:{request:o===void 0?[]:[{open_time_window:o.openTimeWindow===void 0?[]:[{start_timestamp_seconds:o.openTimeWindow.startTimestampSeconds,end_timestamp_seconds:o.openTimeWindow.endTimestampSeconds}]}],swap_canister_id:r===void 0?[]:[bo.Principal.fromText(r)]}}}throw new Ve(t)},Lf=t=>{if("Split"in t)return{Split:{amount_e8s:t.Split.amount}};if("Follow"in t){let o=t.Follow;return{Follow:{topic:o.topic,followees:o.followees.map(ta)}}}if("ClaimOrRefresh"in t){let o=t.ClaimOrRefresh;return{ClaimOrRefresh:{by:o.by?[$f(o.by)]:[]}}}if("Configure"in t){let o=t.Configure;return{Configure:{operation:o.operation?[Zf(o.operation)]:[]}}}if("RegisterVote"in t){let o=t.RegisterVote;return{RegisterVote:{vote:o.vote,proposal:o.proposal?[pc(o.proposal)]:[]}}}if("DisburseToNeuron"in t){let o=t.DisburseToNeuron;return{DisburseToNeuron:{dissolve_delay_seconds:o.dissolveDelaySeconds,kyc_verified:o.kycVerified,amount_e8s:o.amount,new_controller:o.newController?[bo.Principal.fromText(o.newController)]:[],nonce:o.nonce}}}if("MergeMaturity"in t)return{MergeMaturity:{percentage_to_merge:t.MergeMaturity.percentageToMerge}};if("MakeProposal"in t){let o=t.MakeProposal;return{MakeProposal:{url:o.url,title:[],action:o.action?[cc(o.action)]:[],summary:o.summary}}}if("Disburse"in t){let o=t.Disburse;return{Disburse:{to_account:o.toAccountId?[gi(o.toAccountId)]:[],amount:o.amount?[uc(o.amount)]:[]}}}if("Spawn"in t){let o=t.Spawn;return{Spawn:{percentage_to_spawn:o.percentageToSpawn===void 0?[]:[o.percentageToSpawn],new_controller:o.newController?[bo.Principal.fromText(o.newController)]:[],nonce:[]}}}if("Merge"in t){let o=t.Merge;return{Merge:{source_neuron_id:o.sourceNeuronId?[{id:o.sourceNeuronId}]:[]}}}throw new Ve(t)},Zf=t=>{if("RemoveHotKey"in t){let o=t.RemoveHotKey;return{RemoveHotKey:{hot_key_to_remove:o.hotKeyToRemove!=null?[bo.Principal.fromText(o.hotKeyToRemove)]:[]}}}if("AddHotKey"in t){let o=t.AddHotKey;return{AddHotKey:{new_hot_key:o.newHotKey?[bo.Principal.fromText(o.newHotKey)]:[]}}}if("StopDissolving"in t)return{StopDissolving:{}};if("StartDissolving"in t)return{StartDissolving:{}};if("IncreaseDissolveDelay"in t)return{IncreaseDissolveDelay:{additional_dissolve_delay_seconds:t.IncreaseDissolveDelay.additionalDissolveDelaySeconds}};if("JoinCommunityFund"in t||"LeaveCommunityFund"in t)return t;if("SetDissolveTimestamp"in t)return{SetDissolveTimestamp:{dissolve_timestamp_seconds:t.SetDissolveTimestamp.dissolveTimestampSeconds}};throw new Ve(t)},Xf=t=>{if("ToRemove"in t)return{ToRemove:ai(t.ToRemove)};if("ToAdd"in t)return{ToAdd:ai(t.ToAdd)};throw new Ve(t)},ai=t=>({id:t.id!=null?[bo.Principal.fromText(t.id)]:[],reward_account:t.rewardAccount!=null?[gi(t.rewardAccount)]:[]}),uc=t=>({e8s:t}),gi=t=>{let o=Xs(t);return{hash:Ii(o)}},gc=t=>{if("RewardToNeuron"in t)return{RewardToNeuron:{dissolve_delay_seconds:t.RewardToNeuron.dissolveDelaySeconds}};if("RewardToAccount"in t)return{RewardToAccount:{to_account:t.RewardToAccount.toAccount!=null?[gi(t.RewardToAccount.toAccount)]:[]}};throw new Ve(t)},$f=t=>{if("NeuronIdOrSubaccount"in t)return{NeuronIdOrSubaccount:{}};if("Memo"in t)return{Memo:t.Memo};if("MemoAndController"in t)return{MemoAndController:{memo:t.MemoAndController.memo,controller:t.MemoAndController.controller?[t.MemoAndController.controller]:[]}};throw new Ve(t)},lc=t=>({neuron_ids:t??[],include_neurons_readable_by_caller:!t}),eh=({id:t,command:o,neuronIdOrSubaccount:r})=>({id:t?[ta(t)]:[],command:o?[Lf(o)]:[],neuron_id_or_subaccount:r?[Kf(r)]:[]});var Ac=({includeRewardStatus:t,beforeProposal:o,excludeTopic:r,includeStatus:n,limit:i})=>({include_reward_status:t,before_proposal:o?[pc(o)]:[],limit:i,exclude_topic:r,include_status:n}),dc=t=>({id:[],command:[{ClaimOrRefresh:{by:[{NeuronIdOrSubaccount:{}}]}}],neuron_id_or_subaccount:[{NeuronId:{id:t.neuronId}}]}),fc=({memo:t,controller:o})=>{let r={ClaimOrRefresh:{by:[{MemoAndController:{controller:o==null?[]:[o],memo:t}}]}};return{id:[],command:[r],neuron_id_or_subaccount:[]}},hc=({neuronId:t,amount:o})=>({id:[],command:[{Split:{amount_e8s:o}}],neuron_id_or_subaccount:[{NeuronId:{id:t}}]});var _c=({neuronId:t,vote:o,proposalId:r})=>No({neuronId:t,command:{RegisterVote:{vote:o,proposal:[{id:r}]}}}),bc=t=>{let o={MakeProposal:{url:t.url,title:t.title!=null?[t.title]:[],summary:t.summary,action:[cc(t.action)]}};return{id:[],command:[o],neuron_id_or_subaccount:[{NeuronId:{id:t.neuronId}}]}},yc=({neuronId:t,topic:o,followees:r})=>No({neuronId:t,command:{Follow:{topic:o,followees:r.map(n=>({id:n}))}}}),Bc=({neuronId:t,toAccountId:o,amount:r})=>No({neuronId:t,command:{Disburse:{to_account:o!==void 0?[gi(o)]:[],amount:r!==void 0?[uc(r)]:[]}}}),Ec=({neuronId:t,percentageToMerge:o})=>No({neuronId:t,command:{MergeMaturity:{percentage_to_merge:o}}}),vc=({neuronId:t,percentageToSpawn:o,newController:r,nonce:n})=>No({neuronId:t,command:{Spawn:{percentage_to_spawn:o===void 0?[]:[o],new_controller:r===void 0?[]:[r],nonce:n===void 0?[]:[n]}}}),mc=({neuronId:t,principal:o})=>xo({neuronId:t,operation:{AddHotKey:{new_hot_key:[o]}}}),Ic=({neuronId:t,principal:o})=>xo({neuronId:t,operation:{RemoveHotKey:{hot_key_to_remove:[o]}}}),Cc=({neuronId:t,additionalDissolveDelaySeconds:o})=>xo({neuronId:t,operation:{IncreaseDissolveDelay:{additional_dissolve_delay_seconds:o}}}),wc=t=>xo({neuronId:t,operation:{JoinCommunityFund:{}}}),Mc=t=>xo({neuronId:t,operation:{LeaveCommunityFund:{}}}),Sc=({sourceNeuronId:t,targetNeuronId:o})=>No({neuronId:o,command:{Merge:{source_neuron_id:[{id:t}]}}}),Rc=t=>xo({neuronId:t,operation:{StartDissolving:{}}}),Nc=t=>xo({neuronId:t,operation:{StopDissolving:{}}}),No=({neuronId:t,command:o})=>({id:[{id:t}],command:[o],neuron_id_or_subaccount:[]}),xo=({neuronId:t,operation:o})=>No({neuronId:t,command:{Configure:{operation:[o]}}});var pi=qe(At()),ut=qe(an()),xe=qe(si()),xc=qe(Bo()),Fc=t=>{let o=new ut.PrincipalId;o.setSerializedId(pi.Principal.fromText(t.principal).toUint8Array());let r=new xe.ManageNeuron.AddHotKey;r.setNewHotKey(o);let n=new xe.ManageNeuron.Configure;n.setAddHotKey(r);let i=new xe.ManageNeuron;i.setConfigure(n);let s=new ut.NeuronId;return s.setId(t.neuronId.toString()),i.setNeuronId(s),i},Tc=t=>{let o=new ut.PrincipalId;o.setSerializedId(pi.Principal.fromText(t.principal).toUint8Array());let r=new xe.ManageNeuron.RemoveHotKey;r.setHotKeyToRemove(o);let n=new xe.ManageNeuron.Configure;n.setRemoveHotKey(r);let i=new xe.ManageNeuron;i.setConfigure(n);let s=new ut.NeuronId;return s.setId(t.neuronId.toString()),i.setNeuronId(s),i},Oc=({neuronId:t,additionalDissolveDelaySeconds:o})=>{let r=new xe.ManageNeuron.IncreaseDissolveDelay;r.setAdditionalDissolveDelaySeconds(o);let n=new xe.ManageNeuron.Configure;n.setIncreaseDissolveDelay(r);let i=new xe.ManageNeuron;i.setConfigure(n);let s=new ut.NeuronId;return s.setId(t.toString()),i.setNeuronId(s),i},Qc=t=>{let o=new xe.ManageNeuron.Configure;o.setStartDissolving(new xe.ManageNeuron.StartDissolving);let r=new xe.ManageNeuron;r.setConfigure(o);let n=new ut.NeuronId;return n.setId(t.toString()),r.setNeuronId(n),r},Gc=t=>{let o=new xe.ManageNeuron.Configure;o.setStopDissolving(new xe.ManageNeuron.StopDissolving);let r=new xe.ManageNeuron;r.setConfigure(o);let n=new ut.NeuronId;return n.setId(t.toString()),r.setNeuronId(n),r},kc=t=>{let o=new xe.ManageNeuron.Disburse;if(t.toAccountId){let i=new xc.AccountIdentifier;i.setHash(Uint8Array.from(Buffer.from(t.toAccountId,"hex"))),o.setToAccount(i)}if(t.amount!=null){let i=new xe.ManageNeuron.Disburse.Amount;i.setE8s(t.amount.toString()),o.setAmount(i)}let r=new xe.ManageNeuron;r.setDisburse(o);let n=new ut.NeuronId;return n.setId(t.neuronId.toString()),r.setNeuronId(n),r},Pc=t=>{let o=new xe.ManageNeuron.MergeMaturity;o.setPercentageToMerge(t.percentageToMerge);let r=new xe.ManageNeuron,n=new ut.NeuronId;return n.setId(t.neuronId.toString()),r.setNeuronId(n),r.setMergeMaturity(o),r},Uc=t=>{let o=new xe.ManageNeuron.Spawn;if(t.newController){let i=new ut.PrincipalId;i.setSerializedId(pi.Principal.fromText(t.newController).toUint8Array().slice(4)),o.setNewController(i)}t.percentageToSpawn!==void 0&&o.setPercentageToSpawn(t.percentageToSpawn);let r=new xe.ManageNeuron;r.setSpawn(o);let n=new ut.NeuronId;return n.setId(t.neuronId.toString()),r.setNeuronId(n),r},jc=t=>{let o=new xe.ManageNeuron.Merge,r=new ut.NeuronId;r.setId(t.sourceNeuronId.toString()),o.setSourceNeuronId(r);let n=new xe.ManageNeuron,i=new ut.NeuronId;return i.setId(t.targetNeuronId.toString()),n.setNeuronId(i),n.setMerge(o),n};var Jc=qe(At());var oa=(s=>(s[s.UNSPECIFIED=0]="UNSPECIFIED",s[s.LOCKED=1]="LOCKED",s[s.DISSOLVING=2]="DISSOLVING",s[s.DISSOLVED=3]="DISSOLVED",s[s.SPAWNING=4]="SPAWNING",s))(oa||{}),Dc=(s=>(s[s.PROPOSAL_REWARD_STATUS_UNKNOWN=0]="PROPOSAL_REWARD_STATUS_UNKNOWN",s[s.PROPOSAL_REWARD_STATUS_ACCEPT_VOTES=1]="PROPOSAL_REWARD_STATUS_ACCEPT_VOTES",s[s.PROPOSAL_REWARD_STATUS_READY_TO_SETTLE=2]="PROPOSAL_REWARD_STATUS_READY_TO_SETTLE",s[s.PROPOSAL_REWARD_STATUS_SETTLED=3]="PROPOSAL_REWARD_STATUS_SETTLED",s[s.PROPOSAL_REWARD_STATUS_INELIGIBLE=4]="PROPOSAL_REWARD_STATUS_INELIGIBLE",s))(Dc||{}),Hc=(p=>(p[p.PROPOSAL_STATUS_UNKNOWN=0]="PROPOSAL_STATUS_UNKNOWN",p[p.PROPOSAL_STATUS_OPEN=1]="PROPOSAL_STATUS_OPEN",p[p.PROPOSAL_STATUS_REJECTED=2]="PROPOSAL_STATUS_REJECTED",p[p.PROPOSAL_STATUS_ACCEPTED=3]="PROPOSAL_STATUS_ACCEPTED",p[p.PROPOSAL_STATUS_EXECUTED=4]="PROPOSAL_STATUS_EXECUTED",p[p.PROPOSAL_STATUS_FAILED=5]="PROPOSAL_STATUS_FAILED",p))(Hc||{}),Wc=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.YES=1]="YES",n[n.NO=2]="NO",n))(Wc||{}),qc=(G=>(G[G.Unspecified=0]="Unspecified",G[G.ManageNeuron=1]="ManageNeuron",G[G.ExchangeRate=2]="ExchangeRate",G[G.NetworkEconomics=3]="NetworkEconomics",G[G.Governance=4]="Governance",G[G.NodeAdmin=5]="NodeAdmin",G[G.ParticipantManagement=6]="ParticipantManagement",G[G.SubnetManagement=7]="SubnetManagement",G[G.NetworkCanisterManagement=8]="NetworkCanisterManagement",G[G.Kyc=9]="Kyc",G[G.NodeProviderRewards=10]="NodeProviderRewards",G[G.SnsDecentralizationSale=11]="SnsDecentralizationSale",G))(qc||{});var zc=t=>t==null?void 0:t[0];var th=({neuronId:t,neuronInfo:o,rawNeuron:r,canisterId:n})=>{let i=r?oh({neuron:r,canisterId:n}):void 0;return{neuronId:t,dissolveDelaySeconds:o.dissolve_delay_seconds,recentBallots:o.recent_ballots.map(Kc),createdTimestampSeconds:o.created_timestamp_seconds,state:o.state,joinedCommunityFundTimestampSeconds:o.joined_community_fund_timestamp_seconds.length?o.joined_community_fund_timestamp_seconds[0]:void 0,retrievedAtTimestampSeconds:o.retrieved_at_timestamp_seconds,votingPower:o.voting_power,ageSeconds:o.age_seconds,fullNeuron:i}},oh=({neuron:t,canisterId:o})=>({id:t.id.length?yo(t.id[0]):void 0,controller:t.controller.length?t.controller[0].toString():void 0,recentBallots:t.recent_ballots.map(Kc),kycVerified:t.kyc_verified,notForProfit:t.not_for_profit,cachedNeuronStake:t.cached_neuron_stake_e8s,createdTimestampSeconds:t.created_timestamp_seconds,maturityE8sEquivalent:t.maturity_e8s_equivalent,agingSinceTimestampSeconds:t.aging_since_timestamp_seconds,neuronFees:t.neuron_fees_e8s,hotKeys:t.hot_keys.map(r=>r.toString()),accountIdentifier:ea(o,Pa(t.account)),joinedCommunityFundTimestampSeconds:t.joined_community_fund_timestamp_seconds.length?t.joined_community_fund_timestamp_seconds[0]:void 0,dissolveState:t.dissolve_state.length?rh(t.dissolve_state[0]):void 0,spawnAtTimesSeconds:t.spawn_at_timestamp_seconds[0],followees:t.followees.map(([r,n])=>Lc({topic:r,followees:n}))}),Kc=({vote:t,proposal_id:o})=>({vote:t,proposalId:o.length?yo(o[0]):void 0}),rh=t=>"DissolveDelaySeconds"in t?{DissolveDelaySeconds:t.DissolveDelaySeconds}:{WhenDissolvedTimestampSeconds:t.WhenDissolvedTimestampSeconds},Lc=({topic:t,followees:o})=>({topic:t,followees:o.followees.map(yo)}),yo=({id:t})=>t,nh=t=>{if("NeuronId"in t)return{NeuronId:t.NeuronId.id};if("Subaccount"in t)return{Subaccount:t.Subaccount};throw new Ve(t)},ih=({neuronId:t,ballot:o})=>{let{vote:r,voting_power:n}=o;return{neuronId:t,vote:r,votingPower:n}},sh=({title:t,url:o,action:r,summary:n})=>({title:t.length?t[0]:void 0,url:o,action:r.length?Zc(r[0]):void 0,summary:n}),Zc=t=>{var o;if("ExecuteNnsFunction"in t)return{ExecuteNnsFunction:{nnsFunctionId:t.ExecuteNnsFunction.nns_function}};if("ManageNeuron"in t){let r=t.ManageNeuron;return{ManageNeuron:{id:r.id.length?yo(r.id[0]):void 0,command:r.command.length?gh(r.command[0]):void 0,neuronIdOrSubaccount:r.neuron_id_or_subaccount.length?nh(r.neuron_id_or_subaccount[0]):void 0}}}if("ApproveGenesisKyc"in t)return{ApproveGenesisKyc:{principals:t.ApproveGenesisKyc.principals.map(n=>n.toString())}};if("ManageNetworkEconomics"in t){let r=t.ManageNetworkEconomics;return{ManageNetworkEconomics:{neuronMinimumStake:r.neuron_minimum_stake_e8s,maxProposalsToKeepPerTopic:r.max_proposals_to_keep_per_topic,neuronManagementFeePerProposal:r.neuron_management_fee_per_proposal_e8s,rejectCost:r.reject_cost_e8s,transactionFee:r.transaction_fee_e8s,neuronSpawnDissolveDelaySeconds:r.neuron_spawn_dissolve_delay_seconds,minimumIcpXdrRate:r.minimum_icp_xdr_rate,maximumNodeProviderRewards:r.maximum_node_provider_rewards_e8s}}}if("RewardNodeProvider"in t){let r=t.RewardNodeProvider;return{RewardNodeProvider:{nodeProvider:r.node_provider.length?ci(r.node_provider[0]):void 0,amountE8s:r.amount_e8s,rewardMode:r.reward_mode.length?Vc(r.reward_mode[0]):void 0}}}if("RewardNodeProviders"in t){let r=t.RewardNodeProviders;return{RewardNodeProviders:{useRegistryDerivedRewards:r.use_registry_derived_rewards.length?r.use_registry_derived_rewards[0]:void 0,rewards:r.rewards.map(n=>({nodeProvider:n.node_provider.length?ci(n.node_provider[0]):void 0,amountE8s:n.amount_e8s,rewardMode:n.reward_mode.length?Vc(n.reward_mode[0]):void 0}))}}}if("AddOrRemoveNodeProvider"in t){let r=t.AddOrRemoveNodeProvider;return{AddOrRemoveNodeProvider:{change:r.change.length?ch(r.change[0]):void 0}}}if("Motion"in t)return{Motion:{motionText:t.Motion.motion_text}};if("SetDefaultFollowees"in t)return{SetDefaultFollowees:{defaultFollowees:t.SetDefaultFollowees.default_followees.map(([n,i])=>Lc({topic:n,followees:i}))}};if("RegisterKnownNeuron"in t){let r=t.RegisterKnownNeuron;return{RegisterKnownNeuron:Ah(r)}}if("SetSnsTokenSwapOpenTimeWindow"in t){let r=t.SetSnsTokenSwapOpenTimeWindow,n=(o=r.request)!=null&&o.length?{openTimeWindow:r.request[0].open_time_window.length?{startTimestampSeconds:r.request[0].open_time_window[0].start_timestamp_seconds,endTimestampSeconds:r.request[0].open_time_window[0].end_timestamp_seconds}:void 0}:void 0,i=r!=null&&r.swap_canister_id.length?r.swap_canister_id[0].toString():void 0;return{SetSnsTokenSwapOpenTimeWindow:{request:n,swapCanisterId:i}}}throw new Ve(t)},ah=t=>({no:t.no,yes:t.yes,total:t.total,timestampSeconds:t.timestamp_seconds}),gh=t=>{if("Spawn"in t){let o=t.Spawn;return{Spawn:{newController:o.new_controller.length?o.new_controller[0].toString():void 0,percentageToSpawn:o.percentage_to_spawn.length?o.percentage_to_spawn[0]:0}}}if("Split"in t)return{Split:{amount:t.Split.amount_e8s}};if("Follow"in t){let o=t.Follow;return{Follow:{topic:o.topic,followees:o.followees.map(yo)}}}if("ClaimOrRefresh"in t){let o=t.ClaimOrRefresh;return{ClaimOrRefresh:{by:o.by.length?lh(o.by[0]):void 0}}}if("Configure"in t){let o=t.Configure;return{Configure:{operation:o.operation.length?ph(o.operation[0]):void 0}}}if("RegisterVote"in t){let o=t.RegisterVote;return{RegisterVote:{vote:o.vote,proposal:o.proposal.length?yo(o.proposal[0]):void 0}}}if("DisburseToNeuron"in t){let o=t.DisburseToNeuron;return{DisburseToNeuron:{dissolveDelaySeconds:o.dissolve_delay_seconds,kycVerified:o.kyc_verified,amount:o.amount_e8s,newController:o.new_controller.length?o.new_controller[0].toString():void 0,nonce:o.nonce}}}if("MergeMaturity"in t)return{MergeMaturity:{percentageToMerge:t.MergeMaturity.percentage_to_merge}};if("MakeProposal"in t){let o=t.MakeProposal;return{MakeProposal:{title:o.title.length?o.title[0]:void 0,url:o.url,action:o.action.length?Zc(o.action[0]):void 0,summary:o.summary}}}if("Disburse"in t){let o=t.Disburse;return{Disburse:{toAccountId:o.to_account.length?ra(o.to_account[0]):void 0,amount:o.amount.length?uh(o.amount[0]):void 0}}}if("Merge"in t){let o=t.Merge;return{Merge:{sourceNeuronId:o.source_neuron_id.length?o.source_neuron_id[0].id:void 0}}}throw new Ve(t)},ph=t=>{if("RemoveHotKey"in t){let o=t.RemoveHotKey;return{RemoveHotKey:{hotKeyToRemove:o.hot_key_to_remove.length?o.hot_key_to_remove[0].toString():void 0}}}if("AddHotKey"in t){let o=t.AddHotKey;return{AddHotKey:{newHotKey:o.new_hot_key.length?o.new_hot_key[0].toString():void 0}}}if("StopDissolving"in t)return{StopDissolving:{}};if("StartDissolving"in t)return{StartDissolving:{}};if("IncreaseDissolveDelay"in t)return{IncreaseDissolveDelay:{additionalDissolveDelaySeconds:t.IncreaseDissolveDelay.additional_dissolve_delay_seconds}};if("JoinCommunityFund"in t||"LeaveCommunityFund"in t)return t;if("SetDissolveTimestamp"in t)return{SetDissolveTimestamp:{dissolveTimestampSeconds:t.SetDissolveTimestamp.dissolve_timestamp_seconds}};throw new Ve(t)},ch=t=>{if("ToRemove"in t)return{ToRemove:ci(t.ToRemove)};if("ToAdd"in t)return{ToAdd:ci(t.ToAdd)};throw new Ve(t)},ci=t=>({id:t.id.length?t.id[0].toString():void 0,rewardAccount:t.reward_account.length?ra(t.reward_account[0]):void 0}),uh=t=>t.e8s,ra=t=>$s(new Uint8Array(t.hash)),Vc=t=>{if("RewardToNeuron"in t)return{RewardToNeuron:{dissolveDelaySeconds:t.RewardToNeuron.dissolve_delay_seconds}};if("RewardToAccount"in t)return{RewardToAccount:{toAccount:t.RewardToAccount.to_account!=null&&t.RewardToAccount.to_account.length?ra(t.RewardToAccount.to_account[0]):void 0}};throw new Ve(t)},lh=t=>{if("NeuronIdOrSubaccount"in t)return{NeuronIdOrSubaccount:{}};if("Memo"in t)return{Memo:t.Memo};if("MemoAndController"in t)return{MemoAndController:{memo:t.MemoAndController.memo,controller:t.MemoAndController.controller.length?t.MemoAndController.controller[0]:void 0}};throw new Ve(t)},na=t=>({id:t.id.length?yo(t.id[0]):void 0,ballots:t.ballots.map(o=>ih({neuronId:o[0],ballot:o[1]})),rejectCost:t.reject_cost_e8s,proposalTimestampSeconds:t.proposal_timestamp_seconds,rewardEventRound:t.reward_event_round,failedTimestampSeconds:t.failed_timestamp_seconds,deadlineTimestampSeconds:zc(t.deadline_timestamp_seconds),decidedTimestampSeconds:t.decided_timestamp_seconds,proposal:t.proposal.length?sh(t.proposal[0]):void 0,proposer:t.proposer.length?yo(t.proposer[0]):void 0,latestTally:t.latest_tally.length?ah(t.latest_tally[0]):void 0,executedTimestampSeconds:t.executed_timestamp_seconds,topic:t.topic,status:t.status,rewardStatus:t.reward_status}),Xc=({response:{neuron_infos:t,full_neurons:o},canisterId:r})=>t.map(([n,i])=>th({neuronId:n,neuronInfo:i,rawNeuron:o.find(s=>s.id.length&&s.id[0].id===n),canisterId:r})),$c=({proposal_info:t})=>({proposals:t.map(na)}),Ah=({id:t,known_neuron_data:o})=>{var r,n,i;return{id:((r=t[0])==null?void 0:r.id)??BigInt(0),name:((n=o[0])==null?void 0:n.name)??"",description:((i=o[0])==null?void 0:i.description[0])??""}},eu=t=>{let o=t.getProposalId();return{vote:t.getVote(),proposalId:o!==void 0?BigInt(o.getId()):void 0}},dh=t=>t!=null&&t.hasWhenDissolvedTimestampSeconds()?2:t!=null&&t.hasDissolveDelaySeconds()?t.getDissolveDelaySeconds()==="0"?3:1:0,fh=t=>t.toArray().map(([o,r])=>{var n;return{topic:Number(o),followees:((n=r.getFolloweesList)==null?void 0:n.call(r).map(i=>BigInt(i.getId())))??[]}}),Yc=t=>Jc.Principal.fromUint8Array(t.getSerializedId_asU8()).toText(),hh=({neuron:t,canisterId:o})=>{let r=Dt.fromBytes(t.getAccount_asU8());return xt.fromPrincipal({principal:o,subAccount:r})},_h=({pbNeuron:t,pbNeuronInfo:o,canisterId:r})=>{let n=t.getId(),i=t.getController(),s=i===void 0?i:Yc(i),p;return t.hasWhenDissolvedTimestampSeconds()?p={WhenDissolvedTimestampSeconds:BigInt(t.getWhenDissolvedTimestampSeconds())}:t.hasDissolveDelaySeconds()&&(p={DissolveDelaySeconds:BigInt(t.getDissolveDelaySeconds())}),{id:n===void 0?void 0:BigInt(n.getId()),controller:s,recentBallots:o.getRecentBallotsList().map(eu),kycVerified:t.getKycVerified(),notForProfit:t.getNotForProfit(),cachedNeuronStake:BigInt(t.getCachedNeuronStakeE8s()),createdTimestampSeconds:BigInt(t.getCreatedTimestampSeconds()),maturityE8sEquivalent:BigInt(t.getMaturityE8sEquivalent()),agingSinceTimestampSeconds:BigInt(t.getAgingSinceTimestampSeconds()),spawnAtTimesSeconds:t.hasSpawnAtTimestampSeconds()?BigInt(t.getSpawnAtTimestampSeconds()):void 0,neuronFees:BigInt(t.getNeuronFeesE8s()),hotKeys:t.getHotKeysList().map(Yc),accountIdentifier:hh({neuron:t,canisterId:r}).toHex(),joinedCommunityFundTimestampSeconds:void 0,dissolveState:p,followees:fh(t.getFolloweesMap())}},tu=({pbNeurons:t,canisterId:o})=>r=>{let n=t.find(s=>{var p;return((p=s.getId())==null?void 0:p.getId())===r.getKey()}),i=r.getValue();if(i===void 0)throw new Error(`NeuronInfo not present for neuron ${r.getKey()}`);return{neuronId:BigInt(r.getKey()),dissolveDelaySeconds:BigInt(i.getDissolveDelaySeconds()),recentBallots:i.getRecentBallotsList().map(eu),createdTimestampSeconds:BigInt(i.getCreatedTimestampSeconds()),state:dh(n),joinedCommunityFundTimestampSeconds:void 0,retrievedAtTimestampSeconds:BigInt(i.getRetrievedAtTimestampSeconds()),votingPower:BigInt(i.getVotingPower()),ageSeconds:BigInt(i.getAgeSeconds()),fullNeuron:n===void 0?void 0:_h({pbNeuron:n,pbNeuronInfo:i,canisterId:o})}};var ou=qe(si());var ru=t=>{let r=ou.ManageNeuronResponse.deserializeBinary(t).getError();if(r)throw new Ft({error_message:r.getErrorMessage(),error_type:r.getErrorType()})};var ui=t=>{let{command:o}=t,r=o[0];if(!r)throw new Ft({error_message:"Error updating neuron",error_type:0});if("Error"in r)throw new Ft(r.Error);return r},bt=async({request:t,service:o})=>{let r=await o.manage_neuron(t);ui(r)};var ia=t=>{if(t.length!=64)throw new Go(`Invalid account identifier ${t}. The account identifier must be 64 chars in length.`);let o=Buffer.from(t,"hex"),r=o.slice(0,4),n=Buffer.from(Oo(o.slice(4)));if(!n.equals(r))throw new Go(`Account identifier ${t} has an invalid checksum. Are you sure the account identifier is correct?
10
+ `},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(o,t,r,n){t=t||[],o=o.replace(/\\/g,"/");var i=goog.normalizePath_(goog.basePath+o);for(n&&typeof n!="boolean"||(n=n?{module:goog.ModuleType.GOOG}:{}),r=this.factory_.createDependency(i,o,t,r,n,goog.transpiler_.needsTranspile(n.lang||"es3",n.module)),this.dependencies_[i]=r,r=0;r<t.length;r++)this.idToPath_[t[r]]=i;this.idToPath_[o]=i},goog.DependencyFactory=function(o){this.transpiler=o},goog.DependencyFactory.prototype.createDependency=function(o,t,r,n,i,p){return i.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(o,t,r,n,i,p,this.transpiler):p?new goog.TranspiledDependency(o,t,r,n,i,this.transpiler):i.module==goog.ModuleType.ES6?goog.TRANSPILE=="never"&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(o,t,r,n,i):new goog.Es6ModuleDependency(o,t,r,n,i):new goog.Dependency(o,t,r,n,i)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(o){goog.debugLoader_.setDependencyFactory(o)},goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(o,t){goog.debugLoader_.bootstrap(o,t)});goog.TRUSTED_TYPES_POLICY_NAME="";goog.identity_=function(o){return o};goog.createTrustedTypesPolicy=function(o){var t=null,r=goog.global.trustedTypes||goog.global.TrustedTypes;if(!r||!r.createPolicy)return t;try{t=r.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(n){goog.logToConsole_(n.message)}return t};goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null;goog.object={};goog.object.is=function(o,t){return o===t?o!==0||1/o===1/t:o!==o&&t!==t};goog.object.forEach=function(o,t,r){for(var n in o)t.call(r,o[n],n,o)};goog.object.filter=function(o,t,r){var n={},i;for(i in o)t.call(r,o[i],i,o)&&(n[i]=o[i]);return n};goog.object.map=function(o,t,r){var n={},i;for(i in o)n[i]=t.call(r,o[i],i,o);return n};goog.object.some=function(o,t,r){for(var n in o)if(t.call(r,o[n],n,o))return!0;return!1};goog.object.every=function(o,t,r){for(var n in o)if(!t.call(r,o[n],n,o))return!1;return!0};goog.object.getCount=function(o){var t=0,r;for(r in o)t++;return t};goog.object.getAnyKey=function(o){for(var t in o)return t};goog.object.getAnyValue=function(o){for(var t in o)return o[t]};goog.object.contains=function(o,t){return goog.object.containsValue(o,t)};goog.object.getValues=function(o){var t=[],r=0,n;for(n in o)t[r++]=o[n];return t};goog.object.getKeys=function(o){var t=[],r=0,n;for(n in o)t[r++]=n;return t};goog.object.getValueByKeys=function(o,t){var r=goog.isArrayLike(t),n=r?t:arguments;for(r=r?0:1;r<n.length;r++){if(o==null)return;o=o[n[r]]}return o};goog.object.containsKey=function(o,t){return o!==null&&t in o};goog.object.containsValue=function(o,t){for(var r in o)if(o[r]==t)return!0;return!1};goog.object.findKey=function(o,t,r){for(var n in o)if(t.call(r,o[n],n,o))return n};goog.object.findValue=function(o,t,r){return(t=goog.object.findKey(o,t,r))&&o[t]};goog.object.isEmpty=function(o){for(var t in o)return!1;return!0};goog.object.clear=function(o){for(var t in o)delete o[t]};goog.object.remove=function(o,t){var r;return(r=t in o)&&delete o[t],r};goog.object.add=function(o,t,r){if(o!==null&&t in o)throw Error('The object already contains the key "'+t+'"');goog.object.set(o,t,r)};goog.object.get=function(o,t,r){return o!==null&&t in o?o[t]:r};goog.object.set=function(o,t,r){o[t]=r};goog.object.setIfUndefined=function(o,t,r){return t in o?o[t]:o[t]=r};goog.object.setWithReturnValueIfNotSet=function(o,t,r){return t in o?o[t]:(r=r(),o[t]=r)};goog.object.equals=function(o,t){for(var r in o)if(!(r in t)||o[r]!==t[r])return!1;for(var n in t)if(!(n in o))return!1;return!0};goog.object.clone=function(o){var t={},r;for(r in o)t[r]=o[r];return t};goog.object.unsafeClone=function(o){var t=goog.typeOf(o);if(t=="object"||t=="array"){if(goog.isFunction(o.clone))return o.clone();t=t=="array"?[]:{};for(var r in o)t[r]=goog.object.unsafeClone(o[r]);return t}return o};goog.object.transpose=function(o){var t={},r;for(r in o)t[o[r]]=r;return t};goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");goog.object.extend=function(o,t){for(var r,n,i=1;i<arguments.length;i++){n=arguments[i];for(r in n)o[r]=n[r];for(var p=0;p<goog.object.PROTOTYPE_FIELDS_.length;p++)r=goog.object.PROTOTYPE_FIELDS_[p],Object.prototype.hasOwnProperty.call(n,r)&&(o[r]=n[r])}};goog.object.create=function(o){var t=arguments.length;if(t==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var r={},n=0;n<t;n+=2)r[arguments[n]]=arguments[n+1];return r};goog.object.createSet=function(o){var t=arguments.length;if(t==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},n=0;n<t;n++)r[arguments[n]]=!0;return r};goog.object.createImmutableView=function(o){var t=o;return Object.isFrozen&&!Object.isFrozen(o)&&(t=Object.create(o),Object.freeze(t)),t};goog.object.isImmutableView=function(o){return!!Object.isFrozen&&Object.isFrozen(o)};goog.object.getAllPropertyNames=function(o,t,r){if(!o)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(o);for(var n={};o&&(o!==Object.prototype||t)&&(o!==Function.prototype||r);){for(var i=Object.getOwnPropertyNames(o),p=0;p<i.length;p++)n[i[p]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(n)};goog.object.getSuperClass=function(o){return(o=Object.getPrototypeOf(o.prototype))&&o.constructor};goog.debug={};goog.debug.Error=function(o){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}o&&(this.message=String(o)),this.reportErrorToServer=!0};goog.inherits(goog.debug.Error,Error);goog.debug.Error.prototype.name="CustomError";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;goog.asserts.AssertionError=function(o,t){goog.debug.Error.call(this,goog.asserts.subs_(o,t)),this.messagePattern=o};goog.inherits(goog.asserts.AssertionError,goog.debug.Error);goog.asserts.AssertionError.prototype.name="AssertionError";goog.asserts.DEFAULT_ERROR_HANDLER=function(o){throw o};goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;goog.asserts.subs_=function(o,t){o=o.split("%s");for(var r="",n=o.length-1,i=0;i<n;i++)r+=o[i]+(i<t.length?t[i]:"%s");return r+o[n]};goog.asserts.doAssertFailure_=function(o,t,r,n){var i="Assertion failed";if(r){i+=": "+r;var p=n}else o&&(i+=": "+o,p=t);o=new goog.asserts.AssertionError(""+i,p||[]),goog.asserts.errorHandler_(o)};goog.asserts.setErrorHandler=function(o){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=o)};goog.asserts.assert=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&!o&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertExists=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&o==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.fail=function(o,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="number"&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertString=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="string"&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertFunction=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(o)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertObject=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(o)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertArray=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(o)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertBoolean=function(o,t,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="boolean"&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertElement=function(o,t,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(o)&&o.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertInstanceof=function(o,t,r,n){return!goog.asserts.ENABLE_ASSERTS||o instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(o)],r,Array.prototype.slice.call(arguments,3)),o};goog.asserts.assertFinite=function(o,t,r){return!goog.asserts.ENABLE_ASSERTS||typeof o=="number"&&isFinite(o)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[o],t,Array.prototype.slice.call(arguments,2)),o};goog.asserts.assertObjectPrototypeIsIntact=function(){for(var o in Object.prototype)goog.asserts.fail(o+" should not be enumerable in Object.prototype.")};goog.asserts.getType_=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):o===null?"null":typeof o};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},BinaryMessage:function(){}};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,FHASH64:30,VHASH64:31};jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5};jspb.BinaryConstants.FieldTypeToWireType=function(o){var t=jspb.BinaryConstants.FieldType,r=jspb.BinaryConstants.WireType;switch(o){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return r.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return r.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return r.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return r.FIXED32;default:return r.INVALID}};jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1;jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60;jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54;jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22;jspb.BinaryConstants.FLOAT64_EPS=5e-324;jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324;jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292;jspb.BinaryConstants.TWO_TO_20=1048576;jspb.BinaryConstants.TWO_TO_23=8388608;jspb.BinaryConstants.TWO_TO_31=2147483648;jspb.BinaryConstants.TWO_TO_32=4294967296;jspb.BinaryConstants.TWO_TO_52=4503599627370496;jspb.BinaryConstants.TWO_TO_63=9223372036854776e3;jspb.BinaryConstants.TWO_TO_64=18446744073709552e3;jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0";goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.peek=function(o){return o[o.length-1]};goog.array.last=goog.array.peek;goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.indexOf.call(o,t,r)}:function(o,t,r){if(r=r==null?0:0>r?Math.max(0,o.length+r):r,typeof o=="string")return typeof t!="string"||t.length!=1?-1:o.indexOf(t,r);for(;r<o.length;r++)if(r in o&&o[r]===t)return r;return-1};goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.lastIndexOf.call(o,t,r??o.length-1)}:function(o,t,r){if(r=r??o.length-1,0>r&&(r=Math.max(0,o.length+r)),typeof o=="string")return typeof t!="string"||t.length!=1?-1:o.lastIndexOf(t,r);for(;0<=r;r--)if(r in o&&o[r]===t)return r;return-1};goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(o,t,r){goog.asserts.assert(o.length!=null),Array.prototype.forEach.call(o,t,r)}:function(o,t,r){for(var n=o.length,i=typeof o=="string"?o.split(""):o,p=0;p<n;p++)p in i&&t.call(r,i[p],p,o)};goog.array.forEachRight=function(o,t,r){var n=o.length,i=typeof o=="string"?o.split(""):o;for(--n;0<=n;--n)n in i&&t.call(r,i[n],n,o)};goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.filter.call(o,t,r)}:function(o,t,r){for(var n=o.length,i=[],p=0,l=typeof o=="string"?o.split(""):o,_=0;_<n;_++)if(_ in l){var y=l[_];t.call(r,y,_,o)&&(i[p++]=y)}return i};goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.map.call(o,t,r)}:function(o,t,r){for(var n=o.length,i=Array(n),p=typeof o=="string"?o.split(""):o,l=0;l<n;l++)l in p&&(i[l]=t.call(r,p[l],l,o));return i};goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,t,r,n){return goog.asserts.assert(o.length!=null),n&&(t=goog.bind(t,n)),Array.prototype.reduce.call(o,t,r)}:function(o,t,r,n){var i=r;return goog.array.forEach(o,function(p,l){i=t.call(n,i,p,l,o)}),i};goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,t,r,n){return goog.asserts.assert(o.length!=null),goog.asserts.assert(t!=null),n&&(t=goog.bind(t,n)),Array.prototype.reduceRight.call(o,t,r)}:function(o,t,r,n){var i=r;return goog.array.forEachRight(o,function(p,l){i=t.call(n,i,p,l,o)}),i};goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.some.call(o,t,r)}:function(o,t,r){for(var n=o.length,i=typeof o=="string"?o.split(""):o,p=0;p<n;p++)if(p in i&&t.call(r,i[p],p,o))return!0;return!1};goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(o,t,r){return goog.asserts.assert(o.length!=null),Array.prototype.every.call(o,t,r)}:function(o,t,r){for(var n=o.length,i=typeof o=="string"?o.split(""):o,p=0;p<n;p++)if(p in i&&!t.call(r,i[p],p,o))return!1;return!0};goog.array.count=function(o,t,r){var n=0;return goog.array.forEach(o,function(i,p,l){t.call(r,i,p,l)&&++n},r),n};goog.array.find=function(o,t,r){return t=goog.array.findIndex(o,t,r),0>t?null:typeof o=="string"?o.charAt(t):o[t]};goog.array.findIndex=function(o,t,r){for(var n=o.length,i=typeof o=="string"?o.split(""):o,p=0;p<n;p++)if(p in i&&t.call(r,i[p],p,o))return p;return-1};goog.array.findRight=function(o,t,r){return t=goog.array.findIndexRight(o,t,r),0>t?null:typeof o=="string"?o.charAt(t):o[t]};goog.array.findIndexRight=function(o,t,r){var n=o.length,i=typeof o=="string"?o.split(""):o;for(--n;0<=n;n--)if(n in i&&t.call(r,i[n],n,o))return n;return-1};goog.array.contains=function(o,t){return 0<=goog.array.indexOf(o,t)};goog.array.isEmpty=function(o){return o.length==0};goog.array.clear=function(o){if(!Array.isArray(o))for(var t=o.length-1;0<=t;t--)delete o[t];o.length=0};goog.array.insert=function(o,t){goog.array.contains(o,t)||o.push(t)};goog.array.insertAt=function(o,t,r){goog.array.splice(o,r,0,t)};goog.array.insertArrayAt=function(o,t,r){goog.partial(goog.array.splice,o,r,0).apply(null,t)};goog.array.insertBefore=function(o,t,r){var n;arguments.length==2||0>(n=goog.array.indexOf(o,r))?o.push(t):goog.array.insertAt(o,t,n)};goog.array.remove=function(o,t){t=goog.array.indexOf(o,t);var r;return(r=0<=t)&&goog.array.removeAt(o,t),r};goog.array.removeLast=function(o,t){return t=goog.array.lastIndexOf(o,t),0<=t?(goog.array.removeAt(o,t),!0):!1};goog.array.removeAt=function(o,t){return goog.asserts.assert(o.length!=null),Array.prototype.splice.call(o,t,1).length==1};goog.array.removeIf=function(o,t,r){return t=goog.array.findIndex(o,t,r),0<=t?(goog.array.removeAt(o,t),!0):!1};goog.array.removeAllIf=function(o,t,r){var n=0;return goog.array.forEachRight(o,function(i,p){t.call(r,i,p,o)&&goog.array.removeAt(o,p)&&n++}),n};goog.array.concat=function(o){return Array.prototype.concat.apply([],arguments)};goog.array.join=function(o){return Array.prototype.concat.apply([],arguments)};goog.array.toArray=function(o){var t=o.length;if(0<t){for(var r=Array(t),n=0;n<t;n++)r[n]=o[n];return r}return[]};goog.array.clone=goog.array.toArray;goog.array.extend=function(o,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(goog.isArrayLike(n)){var i=o.length||0,p=n.length||0;o.length=i+p;for(var l=0;l<p;l++)o[i+l]=n[l]}else o.push(n)}};goog.array.splice=function(o,t,r,n){return goog.asserts.assert(o.length!=null),Array.prototype.splice.apply(o,goog.array.slice(arguments,1))};goog.array.slice=function(o,t,r){return goog.asserts.assert(o.length!=null),2>=arguments.length?Array.prototype.slice.call(o,t):Array.prototype.slice.call(o,t,r)};goog.array.removeDuplicates=function(o,t,r){t=t||o;var n=function(y){return goog.isObject(y)?"o"+goog.getUid(y):(typeof y).charAt(0)+y};r=r||n,n={};for(var i=0,p=0;p<o.length;){var l=o[p++],_=r(l);Object.prototype.hasOwnProperty.call(n,_)||(n[_]=!0,t[i++]=l)}t.length=i};goog.array.binarySearch=function(o,t,r){return goog.array.binarySearch_(o,r||goog.array.defaultCompare,!1,t)};goog.array.binarySelect=function(o,t,r){return goog.array.binarySearch_(o,t,!0,void 0,r)};goog.array.binarySearch_=function(o,t,r,n,i){for(var p=0,l=o.length,_;p<l;){var y=p+(l-p>>>1),R=r?t.call(i,o[y],y,o):t(n,o[y]);0<R?p=y+1:(l=y,_=!R)}return _?p:-p-1};goog.array.sort=function(o,t){o.sort(t||goog.array.defaultCompare)};goog.array.stableSort=function(o,t){for(var r=Array(o.length),n=0;n<o.length;n++)r[n]={index:n,value:o[n]};var i=t||goog.array.defaultCompare;for(goog.array.sort(r,function(p,l){return i(p.value,l.value)||p.index-l.index}),n=0;n<o.length;n++)o[n]=r[n].value};goog.array.sortByKey=function(o,t,r){var n=r||goog.array.defaultCompare;goog.array.sort(o,function(i,p){return n(t(i),t(p))})};goog.array.sortObjectsByKey=function(o,t,r){goog.array.sortByKey(o,function(n){return n[t]},r)};goog.array.isSorted=function(o,t,r){t=t||goog.array.defaultCompare;for(var n=1;n<o.length;n++){var i=t(o[n-1],o[n]);if(0<i||i==0&&r)return!1}return!0};goog.array.equals=function(o,t,r){if(!goog.isArrayLike(o)||!goog.isArrayLike(t)||o.length!=t.length)return!1;var n=o.length;r=r||goog.array.defaultCompareEquality;for(var i=0;i<n;i++)if(!r(o[i],t[i]))return!1;return!0};goog.array.compare3=function(o,t,r){r=r||goog.array.defaultCompare;for(var n=Math.min(o.length,t.length),i=0;i<n;i++){var p=r(o[i],t[i]);if(p!=0)return p}return goog.array.defaultCompare(o.length,t.length)};goog.array.defaultCompare=function(o,t){return o>t?1:o<t?-1:0};goog.array.inverseDefaultCompare=function(o,t){return-goog.array.defaultCompare(o,t)};goog.array.defaultCompareEquality=function(o,t){return o===t};goog.array.binaryInsert=function(o,t,r){return r=goog.array.binarySearch(o,t,r),0>r?(goog.array.insertAt(o,t,-(r+1)),!0):!1};goog.array.binaryRemove=function(o,t,r){return t=goog.array.binarySearch(o,t,r),0<=t?goog.array.removeAt(o,t):!1};goog.array.bucket=function(o,t,r){for(var n={},i=0;i<o.length;i++){var p=o[i],l=t.call(r,p,i,o);l!==void 0&&(n[l]||(n[l]=[])).push(p)}return n};goog.array.toObject=function(o,t,r){var n={};return goog.array.forEach(o,function(i,p){n[t.call(r,i,p,o)]=i}),n};goog.array.range=function(o,t,r){var n=[],i=0,p=o;if(r=r||1,t!==void 0&&(i=o,p=t),0>r*(p-i))return[];if(0<r)for(o=i;o<p;o+=r)n.push(o);else for(o=i;o>p;o+=r)n.push(o);return n};goog.array.repeat=function(o,t){for(var r=[],n=0;n<t;n++)r[n]=o;return r};goog.array.flatten=function(o){for(var t=[],r=0;r<arguments.length;r++){var n=arguments[r];if(Array.isArray(n))for(var i=0;i<n.length;i+=8192){var p=goog.array.slice(n,i,i+8192);p=goog.array.flatten.apply(null,p);for(var l=0;l<p.length;l++)t.push(p[l])}else t.push(n)}return t};goog.array.rotate=function(o,t){return goog.asserts.assert(o.length!=null),o.length&&(t%=o.length,0<t?Array.prototype.unshift.apply(o,o.splice(-t,t)):0>t&&Array.prototype.push.apply(o,o.splice(0,-t))),o};goog.array.moveItem=function(o,t,r){goog.asserts.assert(0<=t&&t<o.length),goog.asserts.assert(0<=r&&r<o.length),t=Array.prototype.splice.call(o,t,1),Array.prototype.splice.call(o,r,0,t[0])};goog.array.zip=function(o){if(!arguments.length)return[];for(var t=[],r=arguments[0].length,n=1;n<arguments.length;n++)arguments[n].length<r&&(r=arguments[n].length);for(n=0;n<r;n++){for(var i=[],p=0;p<arguments.length;p++)i.push(arguments[p][n]);t.push(i)}return t};goog.array.shuffle=function(o,t){t=t||Math.random;for(var r=o.length-1;0<r;r--){var n=Math.floor(t()*(r+1)),i=o[r];o[r]=o[n],o[n]=i}};goog.array.copyByIndex=function(o,t){var r=[];return goog.array.forEach(t,function(n){r.push(o[n])}),r};goog.array.concatMap=function(o,t,r){return goog.array.concat.apply([],goog.array.map(o,t,r))};goog.crypt={};goog.crypt.stringToByteArray=function(o){for(var t=[],r=0,n=0;n<o.length;n++){var i=o.charCodeAt(n);255<i&&(t[r++]=i&255,i>>=8),t[r++]=i}return t};goog.crypt.byteArrayToString=function(o){if(8192>=o.length)return String.fromCharCode.apply(null,o);for(var t="",r=0;r<o.length;r+=8192){var n=goog.array.slice(o,r,r+8192);t+=String.fromCharCode.apply(null,n)}return t};goog.crypt.byteArrayToHex=function(o,t){return goog.array.map(o,function(r){return r=r.toString(16),1<r.length?r:"0"+r}).join(t||"")};goog.crypt.hexToByteArray=function(o){goog.asserts.assert(o.length%2==0,"Key string length must be multiple of 2");for(var t=[],r=0;r<o.length;r+=2)t.push(parseInt(o.substring(r,r+2),16));return t};goog.crypt.stringToUtf8ByteArray=function(o){for(var t=[],r=0,n=0;n<o.length;n++){var i=o.charCodeAt(n);128>i?t[r++]=i:(2048>i?t[r++]=i>>6|192:((i&64512)==55296&&n+1<o.length&&(o.charCodeAt(n+1)&64512)==56320?(i=65536+((i&1023)<<10)+(o.charCodeAt(++n)&1023),t[r++]=i>>18|240,t[r++]=i>>12&63|128):t[r++]=i>>12|224,t[r++]=i>>6&63|128),t[r++]=i&63|128)}return t};goog.crypt.utf8ByteArrayToString=function(o){for(var t=[],r=0,n=0;r<o.length;){var i=o[r++];if(128>i)t[n++]=String.fromCharCode(i);else if(191<i&&224>i){var p=o[r++];t[n++]=String.fromCharCode((i&31)<<6|p&63)}else if(239<i&&365>i){p=o[r++];var l=o[r++],_=o[r++];i=((i&7)<<18|(p&63)<<12|(l&63)<<6|_&63)-65536,t[n++]=String.fromCharCode(55296+(i>>10)),t[n++]=String.fromCharCode(56320+(i&1023))}else p=o[r++],l=o[r++],t[n++]=String.fromCharCode((i&15)<<12|(p&63)<<6|l&63)}return t.join("")};goog.crypt.xorByteArray=function(o,t){goog.asserts.assert(o.length==t.length,"XOR array lengths must match");for(var r=[],n=0;n<o.length;n++)r.push(o[n]^t[n]);return r};goog.dom.asserts={};goog.dom.asserts.assertIsLocation=function(o){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(o);t&&(!o||!(o instanceof t.Location)&&o instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(o))}return o};goog.dom.asserts.assertIsElementType_=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(o);r&&typeof r[t]<"u"&&(o&&(o instanceof r[t]||!(o instanceof r.Location||o instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(o)))}return o};goog.dom.asserts.assertIsHTMLAnchorElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAnchorElement")};goog.dom.asserts.assertIsHTMLButtonElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLButtonElement")};goog.dom.asserts.assertIsHTMLLinkElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLLinkElement")};goog.dom.asserts.assertIsHTMLImageElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLImageElement")};goog.dom.asserts.assertIsHTMLAudioElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAudioElement")};goog.dom.asserts.assertIsHTMLVideoElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLVideoElement")};goog.dom.asserts.assertIsHTMLInputElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLInputElement")};goog.dom.asserts.assertIsHTMLTextAreaElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLTextAreaElement")};goog.dom.asserts.assertIsHTMLCanvasElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLCanvasElement")};goog.dom.asserts.assertIsHTMLEmbedElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLEmbedElement")};goog.dom.asserts.assertIsHTMLFormElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFormElement")};goog.dom.asserts.assertIsHTMLFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFrameElement")};goog.dom.asserts.assertIsHTMLIFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLIFrameElement")};goog.dom.asserts.assertIsHTMLObjectElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLObjectElement")};goog.dom.asserts.assertIsHTMLScriptElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLScriptElement")};goog.dom.asserts.debugStringForType_=function(o){if(goog.isObject(o))try{return o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o)}catch{return"<object could not be stringified>"}else return o===void 0?"undefined":o===null?"null":typeof o};goog.dom.asserts.getWindow_=function(o){try{var t=o&&o.ownerDocument,r=t&&(t.defaultView||t.parentWindow);if(r=r||goog.global,r.Element&&r.Location)return r}catch{}return null};goog.functions={};goog.functions.constant=function(o){return function(){return o}};goog.functions.FALSE=function(){return!1};goog.functions.TRUE=function(){return!0};goog.functions.NULL=function(){return null};goog.functions.identity=function(o,t){return o};goog.functions.error=function(o){return function(){throw Error(o)}};goog.functions.fail=function(o){return function(){throw o}};goog.functions.lock=function(o,t){return t=t||0,function(){return o.apply(this,Array.prototype.slice.call(arguments,0,t))}};goog.functions.nth=function(o){return function(){return arguments[o]}};goog.functions.partialRight=function(o,t){var r=Array.prototype.slice.call(arguments,1);return function(){var n=Array.prototype.slice.call(arguments);return n.push.apply(n,r),o.apply(this,n)}};goog.functions.withReturnValue=function(o,t){return goog.functions.sequence(o,goog.functions.constant(t))};goog.functions.equalTo=function(o,t){return function(r){return t?o==r:o===r}};goog.functions.compose=function(o,t){var r=arguments,n=r.length;return function(){var i;n&&(i=r[n-1].apply(this,arguments));for(var p=n-2;0<=p;p--)i=r[p].call(this,i);return i}};goog.functions.sequence=function(o){var t=arguments,r=t.length;return function(){for(var n,i=0;i<r;i++)n=t[i].apply(this,arguments);return n}};goog.functions.and=function(o){var t=arguments,r=t.length;return function(){for(var n=0;n<r;n++)if(!t[n].apply(this,arguments))return!1;return!0}};goog.functions.or=function(o){var t=arguments,r=t.length;return function(){for(var n=0;n<r;n++)if(t[n].apply(this,arguments))return!0;return!1}};goog.functions.not=function(o){return function(){return!o.apply(this,arguments)}};goog.functions.create=function(o,t){var r=function(){};return r.prototype=o.prototype,r=new r,o.apply(r,Array.prototype.slice.call(arguments,1)),r};goog.functions.CACHE_RETURN_VALUE=!0;goog.functions.cacheReturnValue=function(o){var t=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(t||(r=o(),t=!0),r):o()}};goog.functions.once=function(o){var t=o;return function(){if(t){var r=t;t=null,r()}}};goog.functions.debounce=function(o,t,r){var n=0;return function(i){goog.global.clearTimeout(n);var p=arguments;n=goog.global.setTimeout(function(){o.apply(r,p)},t)}};goog.functions.throttle=function(o,t,r){var n=0,i=!1,p=[],l=function(){n=0,i&&(i=!1,_())},_=function(){n=goog.global.setTimeout(l,t),o.apply(r,p)};return function(y){p=arguments,n?i=!0:_()}};goog.functions.rateLimit=function(o,t,r){var n=0,i=function(){n=0};return function(p){n||(n=goog.global.setTimeout(i,t),o.apply(r,arguments))}};goog.dom.HtmlElement=function(){};goog.dom.TagName=function(o){this.tagName_=o};goog.dom.TagName.prototype.toString=function(){return this.tagName_};goog.dom.TagName.A=new goog.dom.TagName("A");goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR");goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM");goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS");goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET");goog.dom.TagName.AREA=new goog.dom.TagName("AREA");goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE");goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE");goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO");goog.dom.TagName.B=new goog.dom.TagName("B");goog.dom.TagName.BASE=new goog.dom.TagName("BASE");goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT");goog.dom.TagName.BDI=new goog.dom.TagName("BDI");goog.dom.TagName.BDO=new goog.dom.TagName("BDO");goog.dom.TagName.BIG=new goog.dom.TagName("BIG");goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE");goog.dom.TagName.BODY=new goog.dom.TagName("BODY");goog.dom.TagName.BR=new goog.dom.TagName("BR");goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON");goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS");goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION");goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER");goog.dom.TagName.CITE=new goog.dom.TagName("CITE");goog.dom.TagName.CODE=new goog.dom.TagName("CODE");goog.dom.TagName.COL=new goog.dom.TagName("COL");goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP");goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND");goog.dom.TagName.DATA=new goog.dom.TagName("DATA");goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST");goog.dom.TagName.DD=new goog.dom.TagName("DD");goog.dom.TagName.DEL=new goog.dom.TagName("DEL");goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS");goog.dom.TagName.DFN=new goog.dom.TagName("DFN");goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG");goog.dom.TagName.DIR=new goog.dom.TagName("DIR");goog.dom.TagName.DIV=new goog.dom.TagName("DIV");goog.dom.TagName.DL=new goog.dom.TagName("DL");goog.dom.TagName.DT=new goog.dom.TagName("DT");goog.dom.TagName.EM=new goog.dom.TagName("EM");goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED");goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET");goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION");goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE");goog.dom.TagName.FONT=new goog.dom.TagName("FONT");goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER");goog.dom.TagName.FORM=new goog.dom.TagName("FORM");goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME");goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET");goog.dom.TagName.H1=new goog.dom.TagName("H1");goog.dom.TagName.H2=new goog.dom.TagName("H2");goog.dom.TagName.H3=new goog.dom.TagName("H3");goog.dom.TagName.H4=new goog.dom.TagName("H4");goog.dom.TagName.H5=new goog.dom.TagName("H5");goog.dom.TagName.H6=new goog.dom.TagName("H6");goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD");goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER");goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP");goog.dom.TagName.HR=new goog.dom.TagName("HR");goog.dom.TagName.HTML=new goog.dom.TagName("HTML");goog.dom.TagName.I=new goog.dom.TagName("I");goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME");goog.dom.TagName.IMG=new goog.dom.TagName("IMG");goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT");goog.dom.TagName.INS=new goog.dom.TagName("INS");goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX");goog.dom.TagName.KBD=new goog.dom.TagName("KBD");goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN");goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL");goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND");goog.dom.TagName.LI=new goog.dom.TagName("LI");goog.dom.TagName.LINK=new goog.dom.TagName("LINK");goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN");goog.dom.TagName.MAP=new goog.dom.TagName("MAP");goog.dom.TagName.MARK=new goog.dom.TagName("MARK");goog.dom.TagName.MATH=new goog.dom.TagName("MATH");goog.dom.TagName.MENU=new goog.dom.TagName("MENU");goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM");goog.dom.TagName.META=new goog.dom.TagName("META");goog.dom.TagName.METER=new goog.dom.TagName("METER");goog.dom.TagName.NAV=new goog.dom.TagName("NAV");goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES");goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT");goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT");goog.dom.TagName.OL=new goog.dom.TagName("OL");goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP");goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION");goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT");goog.dom.TagName.P=new goog.dom.TagName("P");goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM");goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE");goog.dom.TagName.PRE=new goog.dom.TagName("PRE");goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS");goog.dom.TagName.Q=new goog.dom.TagName("Q");goog.dom.TagName.RP=new goog.dom.TagName("RP");goog.dom.TagName.RT=new goog.dom.TagName("RT");goog.dom.TagName.RTC=new goog.dom.TagName("RTC");goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY");goog.dom.TagName.S=new goog.dom.TagName("S");goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP");goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT");goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION");goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT");goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL");goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE");goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN");goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE");goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG");goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE");goog.dom.TagName.SUB=new goog.dom.TagName("SUB");goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY");goog.dom.TagName.SUP=new goog.dom.TagName("SUP");goog.dom.TagName.SVG=new goog.dom.TagName("SVG");goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE");goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY");goog.dom.TagName.TD=new goog.dom.TagName("TD");goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE");goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA");goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT");goog.dom.TagName.TH=new goog.dom.TagName("TH");goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD");goog.dom.TagName.TIME=new goog.dom.TagName("TIME");goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE");goog.dom.TagName.TR=new goog.dom.TagName("TR");goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK");goog.dom.TagName.TT=new goog.dom.TagName("TT");goog.dom.TagName.U=new goog.dom.TagName("U");goog.dom.TagName.UL=new goog.dom.TagName("UL");goog.dom.TagName.VAR=new goog.dom.TagName("VAR");goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO");goog.dom.TagName.WBR=new goog.dom.TagName("WBR");goog.dom.tags={};goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};goog.dom.tags.isVoidTag=function(o){return goog.dom.tags.VOID_TAGS_[o]===!0};goog.html={};goog.html.trustedtypes={};goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null;goog.string={};goog.string.TypedString=function(){};goog.string.Const=function(o,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=o===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_};goog.string.Const.prototype.implementsGoogStringTypedString=!0;goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"});goog.string.Const.unwrap=function(o){return o instanceof goog.string.Const&&o.constructor===goog.string.Const&&o.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?o.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+o+"'"),"type_error:Const")};goog.string.Const.from=function(o){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,o)};goog.string.Const.TYPE_MARKER_={};goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={};goog.string.Const.EMPTY=goog.string.Const.from("");goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0;goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeScript.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeScript.fromConstantAndArgs=function(o,t){for(var r=[],n=1;n<arguments.length;n++)r.push(goog.html.SafeScript.stringify_(arguments[n]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(o)+")("+r.join(", ")+");")};goog.html.SafeScript.fromJson=function(o){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(o))};goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()};goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"});goog.html.SafeScript.unwrap=function(o){return goog.html.SafeScript.unwrapTrustedScript(o).toString()};goog.html.SafeScript.unwrapTrustedScript=function(o){return o instanceof goog.html.SafeScript&&o.constructor===goog.html.SafeScript&&o.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeScript")};goog.html.SafeScript.stringify_=function(o){return JSON.stringify(o).replace(/</g,"\\x3c")};goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeScript().initSecurityPrivateDoNotAccessOrElse_(o)};goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(o):o,this};goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");goog.fs={};goog.fs.url={};goog.fs.url.createObjectUrl=function(o){return goog.fs.url.getUrlObject_().createObjectURL(o)};goog.fs.url.revokeObjectUrl=function(o){goog.fs.url.getUrlObject_().revokeObjectURL(o)};goog.fs.url.UrlObject_=function(){};goog.fs.url.UrlObject_.prototype.createObjectURL=function(o){};goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(o){};goog.fs.url.getUrlObject_=function(){var o=goog.fs.url.findUrlObject_();if(o!=null)return o;throw Error("This browser doesn't seem to support blob URLs")};goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL!==void 0?goog.global:null};goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null};goog.fs.blob={};goog.fs.blob.getBlob=function(o){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(t!==void 0){t=new t;for(var r=0;r<arguments.length;r++)t.append(arguments[r]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))};goog.fs.blob.getBlobWithProperties=function(o,t,r){var n=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(n!==void 0){n=new n;for(var i=0;i<o.length;i++)n.append(o[i],r);return n.getBlob(t)}if(goog.global.Blob!==void 0)return n={},t&&(n.type=t),r&&(n.endings=r),new Blob(o,n);throw Error("This browser doesn't seem to support creating Blobs")};goog.i18n={};goog.i18n.bidi={};goog.i18n.bidi.FORCE_RTL=!1;goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa");goog.i18n.bidi.Format={LRE:"\u202A",RLE:"\u202B",PDF:"\u202C",LRM:"\u200E",RLM:"\u200F"};goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0};goog.i18n.bidi.RIGHT="right";goog.i18n.bidi.LEFT="left";goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT;goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT;goog.i18n.bidi.toDir=function(o,t){return typeof o=="number"?0<o?goog.i18n.bidi.Dir.LTR:0>o?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:o==null?null:o?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.ltrChars_="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0900-\u1FFF\u200E\u2C00-\uD801\uD804-\uD839\uD83C-\uDBFF\uF900-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF";goog.i18n.bidi.rtlChars_="\u0591-\u06EF\u06FA-\u08FF\u200F\uD802-\uD803\uD83A-\uD83B\uFB1D-\uFDFF\uFE70-\uFEFC";goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g;goog.i18n.bidi.stripHtmlIfNeeded_=function(o,t){return t?o.replace(goog.i18n.bidi.htmlSkipReg_,""):o};goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.hasAnyRtl=function(o,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl;goog.i18n.bidi.hasAnyLtr=function(o,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.isRtlChar=function(o){return goog.i18n.bidi.rtlRe_.test(o)};goog.i18n.bidi.isLtrChar=function(o){return goog.i18n.bidi.ltrRe_.test(o)};goog.i18n.bidi.isNeutralChar=function(o){return!goog.i18n.bidi.isLtrChar(o)&&!goog.i18n.bidi.isRtlChar(o)};goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.startsWithRtl=function(o,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl;goog.i18n.bidi.startsWithLtr=function(o,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr;goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/;goog.i18n.bidi.isNeutralText=function(o,t){return o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t),goog.i18n.bidi.isRequiredLtrRe_.test(o)||!goog.i18n.bidi.hasAnyLtr(o)&&!goog.i18n.bidi.hasAnyRtl(o)};goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$");goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$");goog.i18n.bidi.endsWithLtr=function(o,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr;goog.i18n.bidi.endsWithRtl=function(o,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))};goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl;goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;goog.i18n.bidi.isRtlLanguage=function(o){return goog.i18n.bidi.rtlLocalesRe_.test(o)};goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g;goog.i18n.bidi.guardBracketInText=function(o,t){return t=(t===void 0?goog.i18n.bidi.hasAnyRtl(o):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,o.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)};goog.i18n.bidi.enforceRtlInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=rtl"):`
11
+ <span dir=rtl>`+o+"</span>"};goog.i18n.bidi.enforceRtlInText=function(o){return goog.i18n.bidi.Format.RLE+o+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.enforceLtrInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=ltr"):`
12
+ <span dir=ltr>`+o+"</span>"};goog.i18n.bidi.enforceLtrInText=function(o){return goog.i18n.bidi.Format.LRE+o+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g;goog.i18n.bidi.leftRe_=/left/gi;goog.i18n.bidi.rightRe_=/right/gi;goog.i18n.bidi.tempRe_=/%%%%/g;goog.i18n.bidi.mirrorCSS=function(o){return o.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)};goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g;goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g;goog.i18n.bidi.normalizeHebrewQuote=function(o){return o.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05F4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05F3")};goog.i18n.bidi.wordSeparatorRe_=/\s+/;goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/;goog.i18n.bidi.rtlDetectionThreshold_=.4;goog.i18n.bidi.estimateDirection=function(o,t){var r=0,n=0,i=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<o.length;t++){var p=o[t];goog.i18n.bidi.startsWithRtl(p)?(r++,n++):goog.i18n.bidi.isRequiredLtrRe_.test(p)?i=!0:goog.i18n.bidi.hasAnyLtr(p)?n++:goog.i18n.bidi.hasNumeralsRe_.test(p)&&(i=!0)}return n==0?i?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/n>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.detectRtlDirectionality=function(o,t){return goog.i18n.bidi.estimateDirection(o,t)==goog.i18n.bidi.Dir.RTL};goog.i18n.bidi.setElementDirAndAlign=function(o,t){o&&(t=goog.i18n.bidi.toDir(t))&&(o.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,o.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")};goog.i18n.bidi.setElementDirByTextDirectionality=function(o,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:o.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:o.dir="rtl";break;default:o.removeAttribute("dir")}};goog.i18n.bidi.DirectionalString=function(){};goog.html.TrustedResourceUrl=function(o,t){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=o===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0;goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(o,t){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var n=r[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",n,t))};goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"});goog.html.TrustedResourceUrl.unwrap=function(o){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o).toString()};goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(o){return o instanceof goog.html.TrustedResourceUrl&&o.constructor===goog.html.TrustedResourceUrl&&o.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:TrustedResourceUrl")};goog.html.TrustedResourceUrl.format=function(o,t){var r=goog.string.Const.unwrap(o);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return o=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(n,i){if(!Object.prototype.hasOwnProperty.call(t,i))throw Error('Found marker, "'+i+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(t));return n=t[i],n instanceof goog.string.Const?goog.string.Const.unwrap(n):encodeURIComponent(String(n))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g;goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i;goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;goog.html.TrustedResourceUrl.formatWithParams=function(o,t,r,n){return goog.html.TrustedResourceUrl.format(o,t).cloneWithParams(r,n)};goog.html.TrustedResourceUrl.fromConstant=function(o){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))};goog.html.TrustedResourceUrl.fromConstants=function(o){for(var t="",r=0;r<o.length;r++)t+=goog.string.Const.unwrap(o[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.TrustedResourceUrl.fromSafeScript=function(o){return o=goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(o)],"text/javascript"),o=goog.fs.url.createObjectUrl(o),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){return o=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)};goog.html.TrustedResourceUrl.stringifyParams_=function(o,t,r){if(r==null)return t;if(typeof r=="string")return r?o+encodeURIComponent(r):"";for(var n in r){var i=r[n];i=Array.isArray(i)?i:[i];for(var p=0;p<i.length;p++){var l=i[p];l!=null&&(t||(t=o),t+=(t.length>o.length?"&":"")+encodeURIComponent(n)+"="+encodeURIComponent(String(l)))}}return t};goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={};goog.string.internal={};goog.string.internal.startsWith=function(o,t){return o.lastIndexOf(t,0)==0};goog.string.internal.endsWith=function(o,t){var r=o.length-t.length;return 0<=r&&o.indexOf(t,r)==r};goog.string.internal.caseInsensitiveStartsWith=function(o,t){return goog.string.internal.caseInsensitiveCompare(t,o.substr(0,t.length))==0};goog.string.internal.caseInsensitiveEndsWith=function(o,t){return goog.string.internal.caseInsensitiveCompare(t,o.substr(o.length-t.length,t.length))==0};goog.string.internal.caseInsensitiveEquals=function(o,t){return o.toLowerCase()==t.toLowerCase()};goog.string.internal.isEmptyOrWhitespace=function(o){return/^[\s\xa0]*$/.test(o)};goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(o){return o.trim()}:function(o){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(o)[1]};goog.string.internal.caseInsensitiveCompare=function(o,t){return o=String(o).toLowerCase(),t=String(t).toLowerCase(),o<t?-1:o==t?0:1};goog.string.internal.newLineToBr=function(o,t){return o.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")};goog.string.internal.htmlEscape=function(o,t){if(t)o=o.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(o))return o;o.indexOf("&")!=-1&&(o=o.replace(goog.string.internal.AMP_RE_,"&amp;")),o.indexOf("<")!=-1&&(o=o.replace(goog.string.internal.LT_RE_,"&lt;")),o.indexOf(">")!=-1&&(o=o.replace(goog.string.internal.GT_RE_,"&gt;")),o.indexOf('"')!=-1&&(o=o.replace(goog.string.internal.QUOT_RE_,"&quot;")),o.indexOf("'")!=-1&&(o=o.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),o.indexOf("\0")!=-1&&(o=o.replace(goog.string.internal.NULL_RE_,"&#0;"))}return o};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;goog.string.internal.NULL_RE_=/\x00/g;goog.string.internal.ALL_RE_=/[\x00&<>"']/;goog.string.internal.whitespaceEscape=function(o,t){return goog.string.internal.newLineToBr(o.replace(/ /g," &#160;"),t)};goog.string.internal.contains=function(o,t){return o.indexOf(t)!=-1};goog.string.internal.caseInsensitiveContains=function(o,t){return goog.string.internal.contains(o.toLowerCase(),t.toLowerCase())};goog.string.internal.compareVersions=function(o,t){var r=0;o=goog.string.internal.trim(String(o)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var n=Math.max(o.length,t.length),i=0;r==0&&i<n;i++){var p=o[i]||"",l=t[i]||"";do{if(p=/(\d*)(\D*)(.*)/.exec(p)||["","","",""],l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""],p[0].length==0&&l[0].length==0)break;r=p[1].length==0?0:parseInt(p[1],10);var _=l[1].length==0?0:parseInt(l[1],10);r=goog.string.internal.compareElements_(r,_)||goog.string.internal.compareElements_(p[2].length==0,l[2].length==0)||goog.string.internal.compareElements_(p[2],l[2]),p=p[3],l=l[3]}while(r==0)}return r};goog.string.internal.compareElements_=function(o,t){return o<t?-1:o>t?1:0};goog.html.SafeUrl=function(o,t){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=o===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez";goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0;goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"});goog.html.SafeUrl.unwrap=function(o){return o instanceof goog.html.SafeUrl&&o.constructor===goog.html.SafeUrl&&o.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeUrl")};goog.html.SafeUrl.fromConstant=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))};goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i;goog.html.SafeUrl.isSafeMimeType=function(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)};goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SafeUrl.isSafeMimeType(o.type)?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.fromMediaSource=function(o){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),o=o instanceof MediaSource?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i;goog.html.SafeUrl.fromDataUrl=function(o){o=o.replace(/(%0A|%0D)/g,"");var t=o.match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SafeUrl.isSafeMimeType(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?o:goog.html.SafeUrl.INNOCUOUS_STRING)};goog.html.SafeUrl.fromTelUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"tel:")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i;goog.html.SafeUrl.fromSipUrl=function(o){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(o))||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.fromFacebookMessengerUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"fb-messenger://share")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.fromWhatsAppUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"whatsapp://send")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.fromSmsUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.isSmsUrlBodyValid_=function(o){var t=o.indexOf("#");if(0<t&&(o=o.substring(0,t)),t=o.match(/[?&]body=/gi),!t)return!0;if(1<t.length)return!1;if(o=o.match(/[?&]body=([^&]*)/)[1],!o)return!0;try{decodeURIComponent(o)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(o)};goog.html.SafeUrl.fromSshUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"ssh://")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,o,t)};goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,o,t)};goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,o,t)};goog.html.SafeUrl.sanitizeExtensionUrl_=function(o,t,r){return(o=o.exec(t))?(o=o[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(n){return goog.string.Const.unwrap(n)})).indexOf(o)==-1&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeUrl.fromTrustedResourceUrl=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(o))};goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_;goog.html.SafeUrl.sanitize=function(o){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SAFE_URL_PATTERN_.test(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o))};goog.html.SafeUrl.sanitizeAssertUnchanged=function(o,t){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),t&&/^data:/i.test(o)&&(t=goog.html.SafeUrl.fromDataUrl(o),t.getTypedStringValue()==o)?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(o),"%s does not match the safe URL pattern",o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)))};goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)};goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank");goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={};goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeStyle.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(o,";"),"Last character of style string is not ';': "+o),goog.asserts.assert(goog.string.internal.contains(o,":"),`Style string must contain at least one ':', to specify a "name: value" pair: `+o),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o))};goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"});goog.html.SafeStyle.unwrap=function(o){return o instanceof goog.html.SafeStyle&&o.constructor===goog.html.SafeStyle&&o.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyle")};goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyle().initSecurityPrivateDoNotAccessOrElse_(o)};goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o,this};goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez";goog.html.SafeStyle.create=function(o){var t="",r;for(r in o){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var n=o[r];n!=null&&(n=Array.isArray(n)?goog.array.map(n,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(n),t+=r+":"+n+";")}return t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY};goog.html.SafeStyle.sanitizePropertyValue_=function(o){if(o instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(o).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):goog.html.SafeStyle.sanitizePropertyValueString_(String(o)),/[{;}]/.test(o))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[o]);return o};goog.html.SafeStyle.sanitizePropertyValueString_=function(o){var t=o.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");if(goog.html.SafeStyle.VALUE_RE_.test(t)){if(goog.html.SafeStyle.COMMENT_RE_.test(o))return goog.asserts.fail("String value disallows comments, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedQuotes_(o))return goog.asserts.fail("String value requires balanced quotes, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedSquareBrackets_(o))return goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING}else return goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;return goog.html.SafeStyle.sanitizeUrl_(o)};goog.html.SafeStyle.hasBalancedQuotes_=function(o){for(var t=!0,r=!0,n=0;n<o.length;n++){var i=o.charAt(n);i=="'"&&r?t=!t:i=='"'&&t&&(r=!r)}return t&&r};goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var t=!0,r=/^[-_a-zA-Z0-9]$/,n=0;n<o.length;n++){var i=o.charAt(n);if(i=="]"){if(t)return!1;t=!0}else if(i=="["){if(!t)return!1;t=!1}else if(!t&&!r.test(i))return!1}return t};goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`;goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$");goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g;goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" ");goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g");goog.html.SafeStyle.COMMENT_RE_=/\/\*/;goog.html.SafeStyle.sanitizeUrl_=function(o){return o.replace(goog.html.SafeStyle.URL_RE_,function(t,r,n,i){var p="";return n=n.replace(/^(['"])(.*)\1$/,function(l,_,y){return p=_,y}),t=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),r+p+t+p+i})};goog.html.SafeStyle.concat=function(o){var t="",r=function(n){Array.isArray(n)?goog.array.forEach(n,r):t+=goog.html.SafeStyle.unwrap(n)};return goog.array.forEach(arguments,r),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY};goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeStyleSheet.createRule=function(o,t){if(goog.string.internal.contains(o,"<"))throw Error("Selector does not allow '<', got: "+o);var r=o.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+o);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+o);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),o=o+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)};goog.html.SafeStyleSheet.hasBalancedBrackets_=function(o){for(var t={"(":")","[":"]"},r=[],n=0;n<o.length;n++){var i=o[n];if(t[i])r.push(t[i]);else if(goog.object.contains(t,i)&&r.pop()!=i)return!1}return r.length==0};goog.html.SafeStyleSheet.concat=function(o){var t="",r=function(n){Array.isArray(n)?goog.array.forEach(n,r):t+=goog.html.SafeStyleSheet.unwrap(n)};return goog.array.forEach(arguments,r),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)};goog.html.SafeStyleSheet.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(o,"<"),"Forbidden '<' character in style sheet string: "+o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o))};goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"});goog.html.SafeStyleSheet.unwrap=function(o){return o instanceof goog.html.SafeStyleSheet&&o.constructor===goog.html.SafeStyleSheet&&o.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyleSheet")};goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyleSheet().initSecurityPrivateDoNotAccessOrElse_(o)};goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o,this};goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};goog.labs.userAgent.util.getNativeUserAgentString_=function(){var o=goog.labs.userAgent.util.getNavigator_();return o&&(o=o.userAgent)?o:""};goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator};goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_();goog.labs.userAgent.util.setUserAgent=function(o){goog.labs.userAgent.util.userAgent_=o||goog.labs.userAgent.util.getNativeUserAgentString_()};goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_};goog.labs.userAgent.util.matchUserAgent=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,o)};goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,o)};goog.labs.userAgent.util.extractVersionTuples=function(o){for(var t=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[],n;n=t.exec(o);)r.push([n[1],n[2],n[3]||void 0]);return r};goog.labs.userAgent.browser={};goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")};goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")};goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")};goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")};goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")};goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")};goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))};goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")};goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")};goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()};goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())};goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_;goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_;goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_;goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_;goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_;goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_;goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_;goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_;goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_;goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_;goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_;goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")};goog.labs.userAgent.browser.getVersion=function(){function o(i){return i=goog.array.find(i,n),r[i]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var r={};goog.array.forEach(t,function(i){r[i[0]]=i[1]});var n=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?o(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?o(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?o(["Edg"]):goog.labs.userAgent.browser.isChrome()?o(["Chrome","CriOS","HeadlessChrome"]):(t=t[2])&&t[1]||""};goog.labs.userAgent.browser.isVersionOrHigher=function(o){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),o)};goog.labs.userAgent.browser.getIEVersion_=function(o){var t=/rv: *([\d\.]*)/.exec(o);if(t&&t[1])return t[1];t="";var r=/MSIE +([\d\.]+)/.exec(o);if(r&&r[1])if(o=/Trident\/(\d.\d)/.exec(o),r[1]=="7.0")if(o&&o[1])switch(o[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=r[1];return t};goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null};goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG;goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0;goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_};goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0;goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"});goog.html.SafeHtml.unwrap=function(o){return goog.html.SafeHtml.unwrapTrustedHTML(o).toString()};goog.html.SafeHtml.unwrapTrustedHTML=function(o){return o instanceof goog.html.SafeHtml&&o.constructor===goog.html.SafeHtml&&o.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeHtml")};goog.html.SafeHtml.htmlEscape=function(o){if(o instanceof goog.html.SafeHtml)return o;var t=typeof o=="object",r=null;return t&&o.implementsGoogI18nBidiDirectionalString&&(r=o.getDirection()),o=t&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(o),r)};goog.html.SafeHtml.htmlEscapePreservingNewlines=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(o)),o.getDirection()))};goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(o)),o.getDirection()))};goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape;goog.html.SafeHtml.comment=function(o){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!--"+goog.string.internal.htmlEscape(o)+"-->",null)};goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/;goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};goog.html.SafeHtml.create=function(o,t,r){return goog.html.SafeHtml.verifyTagName(String(o)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(o),t,r)};goog.html.SafeHtml.verifyTagName=function(o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+o+">.":"");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+o+"> is not allowed for SafeHtml.":"")};goog.html.SafeHtml.createIframe=function(o,t,r,n){o&&goog.html.TrustedResourceUrl.unwrap(o);var i={};return i.src=o||null,i.srcdoc=t&&goog.html.SafeHtml.unwrap(t),o=goog.html.SafeHtml.combineAttributes(i,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,n)};goog.html.SafeHtml.createSandboxIframe=function(o,t,r,n){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var i={};return i.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,i.srcdoc=t||null,i.sandbox="",o=goog.html.SafeHtml.combineAttributes(i,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,n)};goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype};goog.html.SafeHtml.createScriptSrc=function(o,t){return goog.html.TrustedResourceUrl.unwrap(o),o=goog.html.SafeHtml.combineAttributes({src:o},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o)};goog.html.SafeHtml.createScript=function(o,t){for(var r in t){var n=r.toLowerCase();if(n=="language"||n=="src"||n=="text"||n=="type")throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+n+'" attribute':"")}for(r="",o=goog.array.concat(o),n=0;n<o.length;n++)r+=goog.html.SafeScript.unwrap(o[n]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,o)};goog.html.SafeHtml.createStyle=function(o,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var r="";o=goog.array.concat(o);for(var n=0;n<o.length;n++)r+=goog.html.SafeStyleSheet.unwrap(o[n]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,o)};goog.html.SafeHtml.createMetaRefresh=function(o,t){return o=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(o,";")&&(o="'"+o.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+o})};goog.html.SafeHtml.getAttrNameAndValue_=function(o,t,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(t.toLowerCase()=="style")if(goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)r=goog.html.SafeHtml.getStyleValue_(r);else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");else{if(/^on/i.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" requires goog.string.Const value, "'+r+'" given.':"");if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if(typeof r=="string")r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" on tag "'+o+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.':"")}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(typeof r=="string"||typeof r=="number","String or number value expected, got "+typeof r+" with value: "+r),t+'="'+goog.string.internal.htmlEscape(String(r))+'"'};goog.html.SafeHtml.getStyleValue_=function(o){if(!goog.isObject(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof o+" given: "+o:"");return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),goog.html.SafeStyle.unwrap(o)};goog.html.SafeHtml.createWithDir=function(o,t,r,n){return t=goog.html.SafeHtml.create(t,r,n),t.dir_=o,t};goog.html.SafeHtml.join=function(o,t){o=goog.html.SafeHtml.htmlEscape(o);var r=o.getDirection(),n=[],i=function(p){Array.isArray(p)?goog.array.forEach(p,i):(p=goog.html.SafeHtml.htmlEscape(p),n.push(goog.html.SafeHtml.unwrap(p)),p=p.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=p:p!=goog.i18n.bidi.Dir.NEUTRAL&&r!=p&&(r=null))};return goog.array.forEach(t,i),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n.join(goog.html.SafeHtml.unwrap(o)),r)};goog.html.SafeHtml.concat=function(o){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))};goog.html.SafeHtml.concatWithDir=function(o,t){var r=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return r.dir_=o,r};goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(o,t){return new goog.html.SafeHtml().initSecurityPrivateDoNotAccessOrElse_(o,t)};goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(o):o,this.dir_=t,this};goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(o,t,r){var n=null,i="<"+o+goog.html.SafeHtml.stringifyAttributes(o,t);return r==null?r=[]:Array.isArray(r)||(r=[r]),goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+o+"> does not allow content."),i+=">"):(n=goog.html.SafeHtml.concat(r),i+=">"+goog.html.SafeHtml.unwrap(n)+"</"+o+">",n=n.getDirection()),(o=t&&t.dir)&&(n=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(i,n)};goog.html.SafeHtml.stringifyAttributes=function(o,t){var r="";if(t)for(var n in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(n))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+n+'".':"");var i=t[n];i!=null&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,n,i))}return r};goog.html.SafeHtml.combineAttributes=function(o,t,r){var n={},i;for(i in o)goog.asserts.assert(i.toLowerCase()==i,"Must be lower case"),n[i]=o[i];for(i in t)goog.asserts.assert(i.toLowerCase()==i,"Must be lower case"),n[i]=t[i];if(r)for(i in r){var p=i.toLowerCase();if(p in o)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+p+'" attribute, got "'+i+'" with value "'+r[i]+'"':"");p in t&&delete n[p],n[i]=r[i]}return n};goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL);goog.html.uncheckedconversions={};goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(o,t,r){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,r||null)};goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)};goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)};goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)};goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)};goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)};goog.dom.safe={};goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"};goog.dom.safe.insertAdjacentHtml=function(o,t,r){o.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(r))};goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var o=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),o.appendChild(t),goog.DEBUG&&!o.firstChild?!1:(t=o.firstChild.firstChild,o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!t.parentElement)});goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(o,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;o.lastChild;)o.removeChild(o.lastChild);o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)};goog.dom.safe.setInnerHtml=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var r=o.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+o.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(o,t)};goog.dom.safe.setOuterHtml=function(o,t){o.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)};goog.dom.safe.setFormElementAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(o).action=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setButtonFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(o).formAction=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setInputFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(o).formAction=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setStyle=function(o,t){o.style.cssText=goog.html.SafeStyle.unwrap(t)};goog.dom.safe.documentWrite=function(o,t){o.write(goog.html.SafeHtml.unwrapTrustedHTML(t))};goog.dom.safe.setAnchorHref=function(o,t){goog.dom.asserts.assertIsHTMLAnchorElement(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setImageSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLImageElement(o),!(t instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}o.src=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setAudioSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLAudioElement(o),!(t instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}o.src=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setVideoSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLVideoElement(o),!(t instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}o.src=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.setEmbedSrc=function(o,t){goog.dom.asserts.assertIsHTMLEmbedElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)};goog.dom.safe.setFrameSrc=function(o,t){goog.dom.asserts.assertIsHTMLFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(t)};goog.dom.safe.setIframeSrc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(t)};goog.dom.safe.setIframeSrcdoc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)};goog.dom.safe.setLinkHrefAndRel=function(o,t,r){goog.dom.asserts.assertIsHTMLLinkElement(o),o.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),o.href=goog.html.TrustedResourceUrl.unwrap(t)):o.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(t):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(t))};goog.dom.safe.setObjectData=function(o,t){goog.dom.asserts.assertIsHTMLObjectElement(o),o.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)};goog.dom.safe.setScriptSrc=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)};goog.dom.safe.setScriptContent=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)};goog.dom.safe.setLocationHref=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrap(t)};goog.dom.safe.assignLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.assign(goog.html.SafeUrl.unwrap(t))};goog.dom.safe.replaceLocation=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.replace(goog.html.SafeUrl.unwrap(t))};goog.dom.safe.openInWindow=function(o,t,r,n,i){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),t=t||goog.global,r=r instanceof goog.string.Const?goog.string.Const.unwrap(r):r||"",t.open(goog.html.SafeUrl.unwrap(o),r,n,i)};goog.dom.safe.parseFromStringHtml=function(o,t){return goog.dom.safe.parseFromString(o,t,"text/html")};goog.dom.safe.parseFromString=function(o,t,r){return o.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),r)};goog.dom.safe.createImageFromBlob=function(o){if(!/^image\/.*/g.test(o.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(o);return o=new goog.global.Image,o.onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(o,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),o};goog.string.DETECT_DOUBLE_ESCAPING=!1;goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;goog.string.Unicode={NBSP:"\xA0"};goog.string.startsWith=goog.string.internal.startsWith;goog.string.endsWith=goog.string.internal.endsWith;goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith;goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith;goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals;goog.string.subs=function(o,t){for(var r=o.split("%s"),n="",i=Array.prototype.slice.call(arguments,1);i.length&&1<r.length;)n+=r.shift()+i.shift();return n+r.join("%s")};goog.string.collapseWhitespace=function(o){return o.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")};goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace;goog.string.isEmptyString=function(o){return o.length==0};goog.string.isEmpty=goog.string.isEmptyOrWhitespace;goog.string.isEmptyOrWhitespaceSafe=function(o){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(o))};goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe;goog.string.isBreakingWhitespace=function(o){return!/[^\t\n\r ]/.test(o)};goog.string.isAlpha=function(o){return!/[^a-zA-Z]/.test(o)};goog.string.isNumeric=function(o){return!/[^0-9]/.test(o)};goog.string.isAlphaNumeric=function(o){return!/[^a-zA-Z0-9]/.test(o)};goog.string.isSpace=function(o){return o==" "};goog.string.isUnicodeChar=function(o){return o.length==1&&" "<=o&&"~">=o||"\x80"<=o&&"\uFFFD">=o};goog.string.stripNewlines=function(o){return o.replace(/(\r\n|\r|\n)+/g," ")};goog.string.canonicalizeNewlines=function(o){return o.replace(/(\r\n|\r|\n)/g,`
13
+ `)};goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")};goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")};goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")};goog.string.trim=goog.string.internal.trim;goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")};goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")};goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare;goog.string.numberAwareCompare_=function(o,t,r){if(o==t)return 0;if(!o)return-1;if(!t)return 1;for(var n=o.toLowerCase().match(r),i=t.toLowerCase().match(r),p=Math.min(n.length,i.length),l=0;l<p;l++){r=n[l];var _=i[l];if(r!=_)return o=parseInt(r,10),!isNaN(o)&&(t=parseInt(_,10),!isNaN(t)&&o-t)?o-t:r<_?-1:1}return n.length!=i.length?n.length-i.length:o<t?-1:1};goog.string.intAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\D+/g)};goog.string.floatAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\.\d+|\D+/g)};goog.string.numerateCompare=goog.string.floatAwareCompare;goog.string.urlEncode=function(o){return encodeURIComponent(String(o))};goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))};goog.string.newLineToBr=goog.string.internal.newLineToBr;goog.string.htmlEscape=function(o,t){return o=goog.string.internal.htmlEscape(o,t),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"&#101;")),o};goog.string.E_RE_=/e/g;goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o};goog.string.unescapeEntitiesWithDocument=function(o,t){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,t):o};goog.string.unescapeEntitiesUsingDom_=function(o,t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},n=t?t.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(i,p){var l=r[i];return l||(p.charAt(0)=="#"&&(p=Number("0"+p.substr(1)),isNaN(p)||(l=String.fromCharCode(p))),l||(goog.dom.safe.setInnerHtml(n,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),i+" ")),l=n.firstChild.nodeValue.slice(0,-1)),r[i]=l)})};goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,function(t,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?t:String.fromCharCode(r)}})};goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g;goog.string.whitespaceEscape=function(o,t){return goog.string.newLineToBr(o.replace(/ /g," &#160;"),t)};goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)};goog.string.stripQuotes=function(o,t){for(var r=t.length,n=0;n<r;n++){var i=r==1?t:t.charAt(n);if(o.charAt(0)==i&&o.charAt(o.length-1)==i)return o.substring(1,o.length-1)}return o};goog.string.truncate=function(o,t,r){return r&&(o=goog.string.unescapeEntities(o)),o.length>t&&(o=o.substring(0,t-3)+"..."),r&&(o=goog.string.htmlEscape(o)),o};goog.string.truncateMiddle=function(o,t,r,n){if(r&&(o=goog.string.unescapeEntities(o)),n&&o.length>t){n>t&&(n=t);var i=o.length-n;o=o.substring(0,t-n)+"..."+o.substring(i)}else o.length>t&&(n=Math.floor(t/2),i=o.length-n,o=o.substring(0,n+t%2)+"..."+o.substring(i));return r&&(o=goog.string.htmlEscape(o)),o};goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"};goog.string.jsEscapeCache_={"'":"\\'"};goog.string.quote=function(o){o=String(o);for(var t=['"'],r=0;r<o.length;r++){var n=o.charAt(r),i=n.charCodeAt(0);t[r+1]=goog.string.specialEscapeChars_[n]||(31<i&&127>i?n:goog.string.escapeChar(n))}return t.push('"'),t.join("")};goog.string.escapeString=function(o){for(var t=[],r=0;r<o.length;r++)t[r]=goog.string.escapeChar(o.charAt(r));return t.join("")};goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var t=o.charCodeAt(0);if(31<t&&127>t)var r=o;else 256>t?(r="\\x",(16>t||256<t)&&(r+="0")):(r="\\u",4096>t&&(r+="0")),r+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=r};goog.string.contains=goog.string.internal.contains;goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains;goog.string.countOf=function(o,t){return o&&t?o.split(t).length-1:0};goog.string.removeAt=function(o,t,r){var n=o;return 0<=t&&t<o.length&&0<r&&(n=o.substr(0,t)+o.substr(t+r,o.length-t-r)),n};goog.string.remove=function(o,t){return o.replace(t,"")};goog.string.removeAll=function(o,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,"")};goog.string.replaceAll=function(o,t,r){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,r.replace(/\$/g,"$$$$"))};goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};goog.string.repeat=String.prototype.repeat?function(o,t){return o.repeat(t)}:function(o,t){return Array(t+1).join(o)};goog.string.padNumber=function(o,t,r){return o=r!==void 0?o.toFixed(r):String(o),r=o.indexOf("."),r==-1&&(r=o.length),goog.string.repeat("0",Math.max(0,t-r))+o};goog.string.makeSafe=function(o){return o==null?"":String(o)};goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")};goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)};goog.string.compareVersions=goog.string.internal.compareVersions;goog.string.hashCode=function(o){for(var t=0,r=0;r<o.length;++r)t=31*t+o.charCodeAt(r)>>>0;return t};goog.string.uniqueStringCounter_=2147483648*Math.random()|0;goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++};goog.string.toNumber=function(o){var t=Number(o);return t==0&&goog.string.isEmptyOrWhitespace(o)?NaN:t};goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)};goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)};goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,function(t,r){return r.toUpperCase()})};goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()};goog.string.toTitleCase=function(o,t){return t=typeof t=="string"?goog.string.regExpEscape(t):"\\s",o.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(r,n,i){return n+i.toUpperCase()})};goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()};goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),typeof o=="string"?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN};goog.string.splitLimit=function(o,t,r){o=o.split(t);for(var n=[];0<r&&o.length;)n.push(o.shift()),r--;return o.length&&n.push(o.join(t)),n};goog.string.lastComponent=function(o,t){if(t)typeof t=="string"&&(t=[t]);else return o;for(var r=-1,n=0;n<t.length;n++)if(t[n]!=""){var i=o.lastIndexOf(t[n]);i>r&&(r=i)}return r==-1?o:o.slice(r+1)};goog.string.editDistance=function(o,t){var r=[],n=[];if(o==t)return 0;if(!o.length||!t.length)return Math.max(o.length,t.length);for(var i=0;i<t.length+1;i++)r[i]=i;for(i=0;i<o.length;i++){n[0]=i+1;for(var p=0;p<t.length;p++)n[p+1]=Math.min(n[p]+1,r[p+1]+1,r[p]+Number(o[i]!=t[p]));for(p=0;p<r.length;p++)r[p]=n[p]}return n[t.length]};goog.labs.userAgent.engine={};goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")};goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")};goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")};goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()};goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()};goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var t=goog.labs.userAgent.engine.getEngineTuple_(o);if(t)return t[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):t[1];o=o[0];var r;if(o&&(r=o[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""};goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var t=0;t<o.length;t++){var r=o[t];if(r[0]=="Edge")return r}};goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)};goog.labs.userAgent.engine.getVersionForKey_=function(o,t){return(o=goog.array.find(o,function(r){return t==r[0]}))&&o[1]||""};goog.labs.userAgent.platform={};goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")};goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")};goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")};goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")};goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()};goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")};goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")};goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")};goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")};goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")};goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")};goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?(t=/Windows (?:NT|Phone) ([0-9.]+)/,t=(o=t.exec(o))?o[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,t=(o=t.exec(o))&&o[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(t=/Mac OS X ([0-9_.]+)/,t=(o=t.exec(o))?o[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(t=/(?:KaiOS)\/(\S+)/i,t=(o=t.exec(o))&&o[1]):goog.labs.userAgent.platform.isAndroid()?(t=/Android\s+([^\);]+)(\)|;)/,t=(o=t.exec(o))&&o[1]):goog.labs.userAgent.platform.isChromeOS()&&(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,t=(o=t.exec(o))&&o[1]),t||""};goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)};goog.reflect={};goog.reflect.object=function(o,t){return t};goog.reflect.objectProperty=function(o,t){return o};goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o};goog.reflect.sinkValue[" "]=goog.nullFunction;goog.reflect.canAccessProperty=function(o,t){try{return goog.reflect.sinkValue(o[t]),!0}catch{}return!1};goog.reflect.cache=function(o,t,r,n){return n=n?n(t):t,Object.prototype.hasOwnProperty.call(o,n)?o[n]:o[n]=r(t)};goog.userAgent={};goog.userAgent.ASSUME_IE=!1;goog.userAgent.ASSUME_EDGE=!1;goog.userAgent.ASSUME_GECKO=!1;goog.userAgent.ASSUME_WEBKIT=!1;goog.userAgent.ASSUME_MOBILE_WEBKIT=!1;goog.userAgent.ASSUME_OPERA=!1;goog.userAgent.ASSUME_ANY_VERSION=!1;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 goog.labs.userAgent.util.getUserAgent()};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:goog.labs.userAgent.browser.isOpera();goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE();goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE: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:goog.labs.userAgent.engine.isGecko();goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit();goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&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 o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog.userAgent.ASSUME_MAC=!1;goog.userAgent.ASSUME_WINDOWS=!1;goog.userAgent.ASSUME_LINUX=!1;goog.userAgent.ASSUME_X11=!1;goog.userAgent.ASSUME_ANDROID=!1;goog.userAgent.ASSUME_IPHONE=!1;goog.userAgent.ASSUME_IPAD=!1;goog.userAgent.ASSUME_IPOD=!1;goog.userAgent.ASSUME_KAIOS=!1;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;goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows();goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()};goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.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:goog.labs.userAgent.platform.isAndroid();goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone();goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad();goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod();goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos();goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS();goog.userAgent.determineVersion_=function(){var o="",t=goog.userAgent.getVersionRegexResult_();return t&&(o=t?t[1]:""),goog.userAgent.IE&&(t=goog.userAgent.getDocumentMode_(),t!=null&&t>parseFloat(o))?String(t):o};goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(o);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(o);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(o)};goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0};goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(o,t){return goog.string.compareVersions(o,t)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)})};goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher;goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var o=goog.userAgent.getDocumentMode_();return o||parseInt(goog.userAgent.VERSION,10)||void 0}}();goog.userAgent.product={};goog.userAgent.product.ASSUME_FIREFOX=!1;goog.userAgent.product.ASSUME_IPHONE=!1;goog.userAgent.product.ASSUME_IPAD=!1;goog.userAgent.product.ASSUME_ANDROID=!1;goog.userAgent.product.ASSUME_CHROME=!1;goog.userAgent.product.ASSUME_SAFARI=!1;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;goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()};goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_();goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome();goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!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_="=.";goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)};goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA;goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function";goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function";goog.crypt.base64.encodeByteArray=function(o,t){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),t===void 0&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var r=[],n=0;n<o.length;n+=3){var i=o[n],p=n+1<o.length,l=p?o[n+1]:0,_=n+2<o.length,y=_?o[n+2]:0,R=i>>2;i=(i&3)<<4|l>>4,l=(l&15)<<2|y>>6,y&=63,_||(y=64,p||(l=64)),r.push(t[R],t[i],t[l]||"",t[y]||"")}return r.join("")};goog.crypt.base64.encodeString=function(o,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),t)};goog.crypt.base64.decodeString=function(o,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(o);var r="";return goog.crypt.base64.decodeStringInternal_(o,function(n){r+=String.fromCharCode(n)}),r};goog.crypt.base64.decodeStringToByteArray=function(o,t){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(n){r.push(n)}),r};goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=o.length,r=3*t/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(o[t-1])&&(r=goog.crypt.base64.isPadding_(o[t-2])?r-2:r-1);var n=new Uint8Array(r),i=0;return goog.crypt.base64.decodeStringInternal_(o,function(p){n[i++]=p}),n.subarray(0,i)};goog.crypt.base64.decodeStringInternal_=function(o,t){function r(y){for(;n<o.length;){var R=o.charAt(n++),x=goog.crypt.base64.charToByteMap_[R];if(x!=null)return x;if(!goog.string.isEmptyOrWhitespace(R))throw Error("Unknown base64 encoding at char: "+R)}return y}goog.crypt.base64.init_();for(var n=0;;){var i=r(-1),p=r(0),l=r(64),_=r(64);if(_===64&&i===-1)break;t(i<<2|p>>4),l!=64&&(t(p<<4&240|l>>2),_!=64&&t(l<<6&192|_))}};goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var n=o.concat(t[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=n;for(var i=0;i<n.length;i++){var p=n[i],l=goog.crypt.base64.charToByteMap_[p];l===void 0?goog.crypt.base64.charToByteMap_[p]=i:goog.asserts.assert(l===i)}}}};jspb.utils={};jspb.utils.split64Low=0;jspb.utils.split64High=0;jspb.utils.splitUint64=function(o){var t=o>>>0;o=Math.floor((o-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=o};jspb.utils.splitInt64=function(o){var t=0>o;o=Math.abs(o);var r=o>>>0;o=Math.floor((o-r)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,t&&(o=~o>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,o++,4294967295<o&&(o=0))),jspb.utils.split64Low=r,jspb.utils.split64High=o};jspb.utils.splitZigzag64=function(o){var t=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;t&&(o==0?r==0?r=o=4294967295:(r--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=r};jspb.utils.splitFloat32=function(o){var t=0>o?1:0;if(o=t?-o:o,o===0)0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o)>>>0;else{var r=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-r),o=Math.round(o*jspb.BinaryConstants.TWO_TO_23),16777216<=o&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|r+127<<23|o&8388607)>>>0}};jspb.utils.splitFloat64=function(o){var t=0>o?1:0;if(o=t?-o:o,o===0)jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var r=o/Math.pow(2,-1074);o=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(t<<31|o)>>>0,jspb.utils.split64Low=r>>>0}else{r=o;var n=0;if(2<=r)for(;2<=r&&1023>n;)n++,r/=2;else for(;1>r&&-1022<n;)r*=2,n--;r=o*Math.pow(2,-n),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|n+1023<<20|o)>>>0,jspb.utils.split64Low=r}};jspb.utils.splitHash64=function(o){var t=o.charCodeAt(0),r=o.charCodeAt(1),n=o.charCodeAt(2),i=o.charCodeAt(3),p=o.charCodeAt(4),l=o.charCodeAt(5),_=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=t+(r<<8)+(n<<16)+(i<<24)>>>0,jspb.utils.split64High=p+(l<<8)+(_<<16)+(o<<24)>>>0};jspb.utils.joinUint64=function(o,t){return t*jspb.BinaryConstants.TWO_TO_32+(o>>>0)};jspb.utils.joinInt64=function(o,t){var r=t&2147483648;return r&&(o=~o+1>>>0,t=~t>>>0,o==0&&(t=t+1>>>0)),o=jspb.utils.joinUint64(o,t),r?-o:o};jspb.utils.toZigzag64=function(o,t,r){var n=t>>31;return r(o<<1^n,(t<<1|o>>>31)^n)};jspb.utils.joinZigzag64=function(o,t){return jspb.utils.fromZigzag64(o,t,jspb.utils.joinInt64)};jspb.utils.fromZigzag64=function(o,t,r){var n=-(o&1);return r((o>>>1|t<<31)^n,t>>>1^n)};jspb.utils.joinFloat32=function(o,t){t=2*(o>>31)+1;var r=o>>>23&255;return o&=8388607,r==255?o?NaN:1/0*t:r==0?t*Math.pow(2,-149)*o:t*Math.pow(2,r-150)*(o+Math.pow(2,23))};jspb.utils.joinFloat64=function(o,t){var r=2*(t>>31)+1,n=t>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(t&1048575)+o,n==2047?o?NaN:1/0*r:n==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,n-1075)*(o+jspb.BinaryConstants.TWO_TO_52)};jspb.utils.joinHash64=function(o,t){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)};jspb.utils.DIGITS="0123456789abcdef".split("");jspb.utils.ZERO_CHAR_CODE_=48;jspb.utils.A_CHAR_CODE_=97;jspb.utils.joinUnsignedDecimalString=function(o,t){function r(i,p){return i=i?String(i):"",p?"0000000".slice(i.length)+i:i}if(2097151>=t)return""+jspb.utils.joinUint64(o,t);var n=(o>>>24|t<<8)>>>0&16777215;return t=t>>16&65535,o=(o&16777215)+6777216*n+6710656*t,n+=8147497*t,t*=2,1e7<=o&&(n+=Math.floor(o/1e7),o%=1e7),1e7<=n&&(t+=Math.floor(n/1e7),n%=1e7),r(t,0)+r(n,t)+r(o,1)};jspb.utils.joinSignedDecimalString=function(o,t){var r=t&2147483648;return r&&(o=~o+1>>>0,t=~t+(o==0?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,t),r?"-"+o:o};jspb.utils.hash64ToDecimalString=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(o,r):jspb.utils.joinUnsignedDecimalString(o,r)};jspb.utils.hash64ArrayToDecimalStrings=function(o,t){for(var r=Array(o.length),n=0;n<o.length;n++)r[n]=jspb.utils.hash64ToDecimalString(o[n],t);return r};jspb.utils.decimalStringToHash64=function(o){function t(l,_){for(var y=0;8>y&&(l!==1||0<_);y++)_=l*i[y]+_,i[y]=_&255,_>>>=8}function r(){for(var l=0;8>l;l++)i[l]=~i[l]&255}goog.asserts.assert(0<o.length);var n=!1;o[0]==="-"&&(n=!0,o=o.slice(1));for(var i=[0,0,0,0,0,0,0,0],p=0;p<o.length;p++)t(10,o.charCodeAt(p)-jspb.utils.ZERO_CHAR_CODE_);return n&&(r(),t(1,1)),goog.crypt.byteArrayToString(i)};jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))};jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)};jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_};jspb.utils.hash64ToHexString=function(o){var t=Array(18);t[0]="0",t[1]="x";for(var r=0;8>r;r++){var n=o.charCodeAt(7-r);t[2*r+2]=jspb.utils.toHexDigit_(n>>4),t[2*r+3]=jspb.utils.toHexDigit_(n&15)}return t.join("")};jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),goog.asserts.assert(o.length==18),goog.asserts.assert(o[0]=="0"),goog.asserts.assert(o[1]=="x");for(var t="",r=0;8>r;r++){var n=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),i=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));t=String.fromCharCode(16*n+i)+t}return t};jspb.utils.hash64ToNumber=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return t?jspb.utils.joinInt64(o,r):jspb.utils.joinUint64(o,r)};jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.utils.countVarints=function(o,t,r){for(var n=0,i=t;i<r;i++)n+=o[i]>>7;return r-t-n};jspb.utils.countVarintFields=function(o,t,r,n){var i=0;if(n=8*n+jspb.BinaryConstants.WireType.VARINT,128>n)for(;t<r&&o[t++]==n;)for(i++;;){var p=o[t++];if((p&128)==0)break}else for(;t<r;){for(p=n;128<p;){if(o[t]!=(p&127|128))return i;t++,p>>=7}if(o[t++]!=p)break;for(i++;p=o[t++],(p&128)!=0;);}return i};jspb.utils.countFixedFields_=function(o,t,r,n,i){var p=0;if(128>n)for(;t<r&&o[t++]==n;)p++,t+=i;else for(;t<r;){for(var l=n;128<l;){if(o[t++]!=(l&127|128))return p;l>>=7}if(o[t++]!=l)break;p++,t+=i}return p};jspb.utils.countFixed32Fields=function(o,t,r,n){return jspb.utils.countFixedFields_(o,t,r,8*n+jspb.BinaryConstants.WireType.FIXED32,4)};jspb.utils.countFixed64Fields=function(o,t,r,n){return jspb.utils.countFixedFields_(o,t,r,8*n+jspb.BinaryConstants.WireType.FIXED64,8)};jspb.utils.countDelimitedFields=function(o,t,r,n){var i=0;for(n=8*n+jspb.BinaryConstants.WireType.DELIMITED;t<r;){for(var p=n;128<p;){if(o[t++]!=(p&127|128))return i;p>>=7}if(o[t++]!=p)break;i++;for(var l=0,_=1;p=o[t++],l+=(p&127)*_,_*=128,(p&128)!=0;);t+=l}return i};jspb.utils.debugBytesToTextFormat=function(o){var t='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var r=0;r<o.length;r++)t+="\\x",16>o[r]&&(t+="0"),t+=o[r].toString(16)}return t+'"'};jspb.utils.debugScalarToTextFormat=function(o){return typeof o=="string"?goog.string.quote(o):o.toString()};jspb.utils.stringToByteArray=function(o){for(var t=new Uint8Array(o.length),r=0;r<o.length;r++){var n=o.charCodeAt(r);if(255<n)throw Error("Conversion error: string contains codepoint outside of byte range");t[r]=n}return t};jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):o instanceof Uint8Array?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))};jspb.BinaryDecoder=function(o,t,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,t,r)};jspb.BinaryDecoder.instanceCache_=[];jspb.BinaryDecoder.alloc=function(o,t,r){if(jspb.BinaryDecoder.instanceCache_.length){var n=jspb.BinaryDecoder.instanceCache_.pop();return o&&n.setBlock(o,t,r),n}return new jspb.BinaryDecoder(o,t,r)};jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)};jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)};jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1};jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_};jspb.BinaryDecoder.prototype.setBlock=function(o,t,r){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=t!==void 0?t:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_};jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_};jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o};jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_};jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_};jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o};jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_)};jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_};jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_};jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_};jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var t=128,r=0,n=0,i=0;4>i&&128<=t;i++)t=this.bytes_[this.cursor_++],r|=(t&127)<<7*i;if(128<=t&&(t=this.bytes_[this.cursor_++],r|=(t&127)<<28,n|=(t&127)>>4),128<=t)for(i=0;5>i&&128<=t;i++)t=this.bytes_[this.cursor_++],n|=(t&127)<<7*i+3;if(128>t)return o(r>>>0,n>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0};jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64(function(t,r){return jspb.utils.fromZigzag64(t,r,o)})};jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var t=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var n=0,i=0,p=r+7;p>=r;p--)n=n<<8|t[p],i=i<<8|t[p+4];return o(n,i)};jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++};jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--};jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,t=o[this.cursor_+0],r=t&127;return 128>t?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),r):(t=o[this.cursor_+1],r|=(t&127)<<7,128>t?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),r):(t=o[this.cursor_+2],r|=(t&127)<<14,128>t?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),r):(t=o[this.cursor_+3],r|=(t&127)<<21,128>t?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),r):(t=o[this.cursor_+4],r|=(t&15)<<28,128>t?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),r)))))};jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.readUnsignedVarint32;jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()};jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()};jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(o&1)};jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)};jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)};jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)};jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)};jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)};jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)};jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)};jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o};jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8};jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],n=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8|r<<16|n<<24)>>>0};jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(o,t)};jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,t)};jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o<<24>>24};jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8)<<16>>16};jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],n=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8|r<<16|n<<24};jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(o,t)};jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(o,t)};jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)};jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(o,t)};jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]};jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()};jspb.BinaryDecoder.prototype.readString=function(o){var t=this.bytes_,r=this.cursor_;o=r+o;for(var n=[],i="";r<o;){var p=t[r++];if(128>p)n.push(p);else{if(192>p)continue;if(224>p){var l=t[r++];n.push((p&31)<<6|l&63)}else if(240>p){l=t[r++];var _=t[r++];n.push((p&15)<<12|(l&63)<<6|_&63)}else if(248>p){l=t[r++],_=t[r++];var y=t[r++];p=(p&7)<<18|(l&63)<<12|(_&63)<<6|y&63,p-=65536,n.push((p>>10&1023)+55296,(p&1023)+56320)}}8192<=n.length&&(i+=String.fromCharCode.apply(null,n),n.length=0)}return i+=goog.crypt.byteArrayToString(n),this.cursor_=r,i};jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)};jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_),t};jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)};jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,t=this.cursor_,r=o[t+0],n=o[t+1],i=o[t+2],p=o[t+3],l=o[t+4],_=o[t+5],y=o[t+6];return o=o[t+7],this.cursor_+=8,String.fromCharCode(r,n,i,p,l,_,y,o)};jspb.BinaryReader=function(o,t,r){this.decoder_=jspb.BinaryDecoder.alloc(o,t,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null};jspb.BinaryReader.instanceCache_=[];jspb.BinaryReader.alloc=function(o,t,r){if(jspb.BinaryReader.instanceCache_.length){var n=jspb.BinaryReader.instanceCache_.pop();return o&&n.decoder_.setBlock(o,t,r),n}return new jspb.BinaryReader(o,t,r)};jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc;jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)};jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_};jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()};jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()};jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_};jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_};jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED};jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP};jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()};jspb.BinaryReader.prototype.setBlock=function(o,t,r){this.decoder_.setBlock(o,t,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID};jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID};jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)};jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),t=o>>>3;return o&=7,o!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=o,!0)};jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)};jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()};jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()};jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}};jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)};jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)};jspb.BinaryReader.prototype.skipGroup=function(){var o=this.nextField_;do{if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)};jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:goog.asserts.fail("Invalid wire encoding for field.")}};jspb.BinaryReader.prototype.registerReadCallback=function(o,t){this.readCallbacks_===null&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=t};jspb.BinaryReader.prototype.runReadCallback=function(o){return goog.asserts.assert(this.readCallbacks_!==null),o=this.readCallbacks_[o],goog.asserts.assert(o),o(this)};jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var t=jspb.BinaryConstants.FieldType;switch(o){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0};jspb.BinaryReader.prototype.readMessage=function(o,t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),n=this.decoder_.readUnsignedVarint32();n=this.decoder_.getCursor()+n,this.decoder_.setEnd(n),t(o,this),this.decoder_.setCursor(n),this.decoder_.setEnd(r)};jspb.BinaryReader.prototype.readGroup=function(o,t,r){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==o),r(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)};jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),r=t+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,o),this.decoder_.setCursor(r),o};jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()};jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()};jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()};jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()};jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()};jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()};jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()};jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()};jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()};jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()};jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()};jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()};jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()};jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()};jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()};jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()};jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()};jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()};jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()};jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()};jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()};jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()};jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)};jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)};jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()};jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()};jspb.BinaryReader.prototype.readSplitVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)};jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(t,r){return jspb.utils.fromZigzag64(t,r,o)})};jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()};jspb.BinaryReader.prototype.readSplitFixed64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)};jspb.BinaryReader.prototype.readPackedField_=function(o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var r=[];this.decoder_.getCursor()<t;)r.push(o.call(this.decoder_));return r};jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)};jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)};jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)};jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)};jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)};jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)};jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)};jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)};jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)};jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)};jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)};jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)};jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)};jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)};jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)};jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)};jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)};jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)};jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)};jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)};jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)};jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)};jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)};jspb.BinaryEncoder=function(){this.buffer_=[]};jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length};jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o};jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,t){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<o;)this.buffer_.push(o&127|128),o=(o>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(o)};jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,t){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(t)};jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(o&127|128),o>>>=7;this.buffer_.push(o)};jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var t=0;9>t;t++)this.buffer_.push(o&127|128),o>>=7;this.buffer_.push(1)}};jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)};jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))};jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var t=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,n){t.writeSplitVarint64(r>>>0,n>>>0)})};jspb.BinaryEncoder.prototype.writeUint8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)};jspb.BinaryEncoder.prototype.writeUint16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)};jspb.BinaryEncoder.prototype.writeUint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)};jspb.BinaryEncoder.prototype.writeUint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeInt8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)};jspb.BinaryEncoder.prototype.writeInt16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)};jspb.BinaryEncoder.prototype.writeInt32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)};jspb.BinaryEncoder.prototype.writeInt64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeInt64String=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeFloat=function(o){goog.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)};jspb.BinaryEncoder.prototype.writeDouble=function(o){goog.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeBool=function(o){goog.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.buffer_.push(o?1:0)};jspb.BinaryEncoder.prototype.writeEnum=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)};jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)};jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)};jspb.BinaryEncoder.prototype.writeString=function(o){var t=this.buffer_.length;goog.asserts.assertString(o);for(var r=0;r<o.length;r++){var n=o.charCodeAt(r);if(128>n)this.buffer_.push(n);else if(2048>n)this.buffer_.push(n>>6|192),this.buffer_.push(n&63|128);else if(65536>n)if(55296<=n&&56319>=n&&r+1<o.length){var i=o.charCodeAt(r+1);56320<=i&&57343>=i&&(n=1024*(n-55296)+i-56320+65536,this.buffer_.push(n>>18|240),this.buffer_.push(n>>12&63|128),this.buffer_.push(n>>6&63|128),this.buffer_.push(n&63|128),r++)}else this.buffer_.push(n>>12|224),this.buffer_.push(n>>6&63|128),this.buffer_.push(n&63|128)}return this.buffer_.length-t};jspb.arith={};jspb.arith.UInt64=function(o,t){this.lo=o,this.hi=t};jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1};jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)};jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)};jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)};jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)};jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0};jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)};jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)};jspb.arith.UInt64.mul32x32=function(o,t){var r=o&65535;o>>>=16;var n=t&65535,i=t>>>16;for(t=r*n+65536*(r*i&65535)+65536*(o*n&65535),r=o*i+(r*i>>>16)+(o*n>>>16);4294967296<=t;)t-=4294967296,r+=1;return new jspb.arith.UInt64(t>>>0,r>>>0)};jspb.arith.UInt64.prototype.mul=function(o){var t=jspb.arith.UInt64.mul32x32(this.lo,o);return o=jspb.arith.UInt64.mul32x32(this.hi,o),o.hi=o.lo,o.lo=0,t.add(o)};jspb.arith.UInt64.prototype.div=function(o){if(o==0)return[];var t=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var n=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),n=n.leftShift();for(;!n.zero();)0>=o.cmp(r)&&(t=t.add(n),r=r.sub(o)),o=o.rightShift(),n=n.rightShift();return[t,r]};jspb.arith.UInt64.prototype.toString=function(){for(var o="",t=this;!t.zero();){t=t.div(10);var r=t[0];o=t[1].lo+o,t=r}return o==""&&(o="0"),o};jspb.arith.UInt64.fromString=function(o){for(var t=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),n=0;n<o.length;n++){if("0">o[n]||"9"<o[n])return null;var i=parseInt(o[n],10);r.lo=i,t=t.mul(10).add(r)}return t};jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)};jspb.arith.Int64=function(o,t){this.lo=o,this.hi=t};jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)};jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)};jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)};jspb.arith.Int64.prototype.toString=function(){var o=(this.hi&2147483648)!=0,t=new jspb.arith.UInt64(this.lo,this.hi);return o&&(t=new jspb.arith.UInt64(0,0).sub(t)),(o?"-":"")+t.toString()};jspb.arith.Int64.fromString=function(o){var t=0<o.length&&o[0]=="-";return t&&(o=o.substring(1)),o=jspb.arith.UInt64.fromString(o),o===null?null:(t&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))};jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]};jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(o),this.totalLength_+=t.length+o.length};jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o};jspb.BinaryWriter.prototype.endDelimited_=function(o){var t=o.pop();for(t=this.totalLength_+this.encoder_.length()-t,goog.asserts.assert(0<=t);127<t;)o.push(t&127|128),t>>>=7,this.totalLength_++;o.push(t),this.totalLength_++};jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,t,r){this.appendUint8Array_(o.subarray(t,r))};jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,t,r){o!=null&&t!=null&&r!=null&&this.writeSerializedMessage(o,t,r)};jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]};jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(this.bookmarks_.length==0);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,r=t.length,n=0,i=0;i<r;i++){var p=t[i];o.set(p,n),n+=p.length}return t=this.encoder_.end(),o.set(t,n),n+=t.length,goog.asserts.assert(n==o.length),this.blocks_=[o],o};jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)};jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))};jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())};jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,t){goog.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+t)};jspb.BinaryWriter.prototype.writeAny=function(o,t,r){var n=jspb.BinaryConstants.FieldType;switch(o){case n.DOUBLE:this.writeDouble(t,r);break;case n.FLOAT:this.writeFloat(t,r);break;case n.INT64:this.writeInt64(t,r);break;case n.UINT64:this.writeUint64(t,r);break;case n.INT32:this.writeInt32(t,r);break;case n.FIXED64:this.writeFixed64(t,r);break;case n.FIXED32:this.writeFixed32(t,r);break;case n.BOOL:this.writeBool(t,r);break;case n.STRING:this.writeString(t,r);break;case n.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case n.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case n.BYTES:this.writeBytes(t,r);break;case n.UINT32:this.writeUint32(t,r);break;case n.ENUM:this.writeEnum(t,r);break;case n.SFIXED32:this.writeSfixed32(t,r);break;case n.SFIXED64:this.writeSfixed64(t,r);break;case n.SINT32:this.writeSint32(t,r);break;case n.SINT64:this.writeSint64(t,r);break;case n.FHASH64:this.writeFixedHash64(t,r);break;case n.VHASH64:this.writeVarintHash64(t,r);break;default:goog.asserts.fail("Invalid field type in writeAny()")}};jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))};jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))};jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))};jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))};jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))};jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))};jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))};jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))};jspb.BinaryWriter.prototype.writeInt32=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))};jspb.BinaryWriter.prototype.writeInt32String=function(o,t){t!=null&&(t=parseInt(t,10),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))};jspb.BinaryWriter.prototype.writeInt64=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,t))};jspb.BinaryWriter.prototype.writeInt64String=function(o,t){t!=null&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))};jspb.BinaryWriter.prototype.writeUint32=function(o,t){t!=null&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))};jspb.BinaryWriter.prototype.writeUint32String=function(o,t){t!=null&&(t=parseInt(t,10),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))};jspb.BinaryWriter.prototype.writeUint64=function(o,t){t!=null&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,t))};jspb.BinaryWriter.prototype.writeUint64String=function(o,t){t!=null&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))};jspb.BinaryWriter.prototype.writeSint32=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,t))};jspb.BinaryWriter.prototype.writeSint64=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,t))};jspb.BinaryWriter.prototype.writeSintHash64=function(o,t){t!=null&&this.writeZigzagVarintHash64_(o,t)};jspb.BinaryWriter.prototype.writeSint64String=function(o,t){t!=null&&this.writeZigzagVarint64String_(o,t)};jspb.BinaryWriter.prototype.writeFixed32=function(o,t){t!=null&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))};jspb.BinaryWriter.prototype.writeFixed64=function(o,t){t!=null&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))};jspb.BinaryWriter.prototype.writeFixed64String=function(o,t){t!=null&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))};jspb.BinaryWriter.prototype.writeSfixed32=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))};jspb.BinaryWriter.prototype.writeSfixed64=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))};jspb.BinaryWriter.prototype.writeSfixed64String=function(o,t){t!=null&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))};jspb.BinaryWriter.prototype.writeFloat=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))};jspb.BinaryWriter.prototype.writeDouble=function(o,t){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))};jspb.BinaryWriter.prototype.writeBool=function(o,t){t!=null&&(goog.asserts.assert(typeof t=="boolean"||typeof t=="number"),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))};jspb.BinaryWriter.prototype.writeEnum=function(o,t){t!=null&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))};jspb.BinaryWriter.prototype.writeString=function(o,t){t!=null&&(o=this.beginDelimited_(o),this.encoder_.writeString(t),this.endDelimited_(o))};jspb.BinaryWriter.prototype.writeBytes=function(o,t){t!=null&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))};jspb.BinaryWriter.prototype.writeMessage=function(o,t,r){t!=null&&(o=this.beginDelimited_(o),r(t,this),this.endDelimited_(o))};jspb.BinaryWriter.prototype.writeMessageSet=function(o,t,r){t!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),r(t,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))};jspb.BinaryWriter.prototype.writeGroup=function(o,t,r){t!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(t,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))};jspb.BinaryWriter.prototype.writeFixedHash64=function(o,t){t!=null&&(goog.asserts.assert(t.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))};jspb.BinaryWriter.prototype.writeVarintHash64=function(o,t){t!=null&&(goog.asserts.assert(t.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))};jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,t,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,r)};jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,t,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,r)};jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,t,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var n=this.encoder_;jspb.utils.toZigzag64(t,r,function(i,p){n.writeSplitVarint64(i>>>0,p>>>0)})};jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeSignedVarint32_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeInt32String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeSignedVarint64_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,t,r,n){if(t!=null)for(var i=0;i<t.length;i++)this.writeSplitFixed64(o,r(t[i]),n(t[i]))};jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,t,r,n){if(t!=null)for(var i=0;i<t.length;i++)this.writeSplitVarint64(o,r(t[i]),n(t[i]))};jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,t,r,n){if(t!=null)for(var i=0;i<t.length;i++)this.writeSplitZigzagVarint64(o,r(t[i]),n(t[i]))};jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeInt64String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeUnsignedVarint32_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeUint32String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeUnsignedVarint64_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeUint64String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeZigzagVarint32_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeZigzagVarint64_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeZigzagVarint64String_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeZigzagVarintHash64_(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeFixed32(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeFixed64(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeFixed64String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeSfixed32(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeSfixed64(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeSfixed64String(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeFloat(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeDouble(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeBool(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeEnum(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedString=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeString(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeBytes(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,t,r){if(t!=null)for(var n=0;n<t.length;n++){var i=this.beginDelimited_(o);r(t[n],this),this.endDelimited_(i)}};jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,t,r){if(t!=null)for(var n=0;n<t.length;n++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(t[n],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)};jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeFixedHash64(o,t[r])};jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,t){if(t!=null)for(var r=0;r<t.length;r++)this.writeVarintHash64(o,t[r])};jspb.BinaryWriter.prototype.writePackedInt32=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeSignedVarint32(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedInt32String=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeSignedVarint32(parseInt(t[r],10));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedInt64=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeSignedVarint64(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,t,r,n){if(t!=null){o=this.beginDelimited_(o);for(var i=0;i<t.length;i++)this.encoder_.writeSplitFixed64(r(t[i]),n(t[i]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,t,r,n){if(t!=null){o=this.beginDelimited_(o);for(var i=0;i<t.length;i++)this.encoder_.writeSplitVarint64(r(t[i]),n(t[i]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,t,r,n){if(t!=null){o=this.beginDelimited_(o);for(var i=this.encoder_,p=0;p<t.length;p++)jspb.utils.toZigzag64(r(t[p]),n(t[p]),function(l,_){i.writeSplitVarint64(l>>>0,_>>>0)});this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedInt64String=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++){var n=jspb.arith.Int64.fromString(t[r]);this.encoder_.writeSplitVarint64(n.lo,n.hi)}this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedUint32=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeUnsignedVarint32(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedUint32String=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(t[r],10));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedUint64=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeUnsignedVarint64(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedUint64String=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++){var n=jspb.arith.UInt64.fromString(t[r]);this.encoder_.writeSplitVarint64(n.lo,n.hi)}this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSint32=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeZigzagVarint32(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSint64=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeZigzagVarint64(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSint64String=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[r]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeZigzagVarintHash64(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedFixed32=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeUint32(t[o])};jspb.BinaryWriter.prototype.writePackedFixed64=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeUint64(t[o])};jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++){var r=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}};jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeInt32(t[o])};jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64(t[o])};jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64String(t[o])};jspb.BinaryWriter.prototype.writePackedFloat=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeFloat(t[o])};jspb.BinaryWriter.prototype.writePackedDouble=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeDouble(t[o])};jspb.BinaryWriter.prototype.writePackedBool=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),o=0;o<t.length;o++)this.encoder_.writeBool(t[o])};jspb.BinaryWriter.prototype.writePackedEnum=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeEnum(t[r]);this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,t){if(t!=null&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeFixedHash64(t[o])};jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,t){if(t!=null&&t.length){o=this.beginDelimited_(o);for(var r=0;r<t.length;r++)this.encoder_.writeVarintHash64(t[r]);this.endDelimited_(o)}};jspb.Map=function(o,t){this.arr_=o,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()};jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var t=this.arr_[o],r=t[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,t[1])}this.arrClean=!0};jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o=this.map_,t;for(t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var r=o[t].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,o=this.stringKeys_(),o.sort(),t=0;t<o.length;t++){var n=this.map_[o[t]];(r=n.valueWrapper)&&r.toArray(),this.arr_.push([n.key,n.value])}this.arrClean=!0}return this.arr_};jspb.Map.prototype.toObject=function(o,t){for(var r=this.toArray(),n=[],i=0;i<r.length;i++){var p=this.map_[r[i][0].toString()];this.wrapEntry_(p);var l=p.valueWrapper;l?(goog.asserts.assert(t),n.push([p.key,t(o,l)])):n.push([p.key,p.value])}return n};jspb.Map.fromObject=function(o,t,r){t=new jspb.Map([],t);for(var n=0;n<o.length;n++){var i=o[n][0],p=r(o[n][1]);t.set(i,p)}return t};jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o};jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this});jspb.Map.prototype.getLength=function(){return this.stringKeys_().length};jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1};jspb.Map.prototype.del=function(o){o=o.toString();var t=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,t};jspb.Map.prototype.getEntryList=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++){var n=this.map_[t[r]];o.push([n.key,n.value])}return o};jspb.Map.prototype.entries=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++){var n=this.map_[t[r]];o.push([n.key,this.wrapEntry_(n)])}return new jspb.Map.ArrayIteratorIterable_(o)};jspb.Map.prototype.keys=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++)o.push(this.map_[t[r]].key);return new jspb.Map.ArrayIteratorIterable_(o)};jspb.Map.prototype.values=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++)o.push(this.wrapEntry_(this.map_[t[r]]));return new jspb.Map.ArrayIteratorIterable_(o)};jspb.Map.prototype.forEach=function(o,t){var r=this.stringKeys_();r.sort();for(var n=0;n<r.length;n++){var i=this.map_[r[n]];o.call(t,this.wrapEntry_(i),i.key,this)}};jspb.Map.prototype.set=function(o,t){var r=new jspb.Map.Entry_(o);return this.valueCtor_?(r.valueWrapper=t,r.value=t.toArray()):r.value=t,this.map_[o.toString()]=r,this.arrClean=!1,this};jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value};jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)};jspb.Map.prototype.has=function(o){return o.toString()in this.map_};jspb.Map.prototype.serializeBinary=function(o,t,r,n,i){var p=this.stringKeys_();p.sort();for(var l=0;l<p.length;l++){var _=this.map_[p[l]];t.beginSubMessage(o),r.call(t,1,_.key),this.valueCtor_?n.call(t,2,this.wrapEntry_(_),i):n.call(t,2,_.value),t.endSubMessage()}};jspb.Map.deserializeBinary=function(o,t,r,n,i,p,l){for(;t.nextField()&&!t.isEndGroup();){var _=t.getFieldNumber();_==1?p=r.call(t):_==2&&(o.valueCtor_?(goog.asserts.assert(i),l||(l=new o.valueCtor_),n.call(t,l,i)):l=n.call(t))}goog.asserts.assert(p!=null),goog.asserts.assert(l!=null),o.set(p,l)};jspb.Map.prototype.stringKeys_=function(){var o=this.map_,t=[],r;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&t.push(r);return t};jspb.Map.Entry_=function(o,t){this.key=o,this.value=t,this.valueWrapper=void 0};jspb.ExtensionFieldInfo=function(o,t,r,n,i){this.fieldIndex=o,this.fieldName=t,this.ctor=r,this.toObjectFn=n,this.isRepeated=i};jspb.ExtensionFieldBinaryInfo=function(o,t,r,n,i,p){this.fieldInfo=o,this.binaryReaderFn=t,this.binaryWriterFn=r,this.binaryMessageSerializeFn=n,this.binaryMessageDeserializeFn=i,this.isPacked=p};jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor};jspb.Message=function(){};jspb.Message.GENERATE_TO_OBJECT=!0;jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE;jspb.Message.GENERATE_TO_STRING=!0;jspb.Message.ASSUME_LOCAL_ARRAYS=!1;jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0;jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function";jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_};jspb.Message.getIndex_=function(o,t){return t+o.arrayIndexOffset_};jspb.Message.hiddenES6Property_=function(){};jspb.Message.getFieldNumber_=function(o,t){return t-o.arrayIndexOffset_};jspb.Message.initialize=function(o,t,r,n,i,p){if(o.wrappers_=null,t||(t=r?[r]:[]),o.messageId_=r?String(r):void 0,o.arrayIndexOffset_=r===0?-1:0,o.array=t,jspb.Message.initPivotAndExtensionObject_(o,n),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=i),i)for(t=0;t<i.length;t++)r=i[t],r<o.pivot_?(r=jspb.Message.getIndex_(o,r),o.array[r]=o.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[r]=o.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(p&&p.length)for(t=0;t<p.length;t++)jspb.Message.computeOneofCase(o,p[t])};jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[];jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)};jspb.Message.isExtensionObject_=function(o){return o!==null&&typeof o=="object"&&!jspb.Message.isArray_(o)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)};jspb.Message.initPivotAndExtensionObject_=function(o,t){var r=o.array.length,n=-1;if(r&&(n=r-1,r=o.array[n],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,n),o.extensionObject_=r;return}-1<t?(o.pivot_=Math.max(t,jspb.Message.getFieldNumber_(o,n+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE};jspb.Message.maybeInitEmptyExtensionObject_=function(o){var t=jspb.Message.getIndex_(o,o.pivot_);o.array[t]||(o.extensionObject_=o.array[t]={})};jspb.Message.toObjectList=function(o,t,r){for(var n=[],i=0;i<o.length;i++)n[i]=t.call(o[i],r,o[i]);return n};jspb.Message.toObjectExtension=function(o,t,r,n,i){for(var p in r){var l=r[p],_=n.call(o,l);if(_!=null){for(var y in l.fieldName)if(l.fieldName.hasOwnProperty(y))break;t[y]=l.toObjectFn?l.isRepeated?jspb.Message.toObjectList(_,l.toObjectFn,i):l.toObjectFn(i,_):_}}};jspb.Message.serializeBinaryExtensions=function(o,t,r,n){for(var i in r){var p=r[i],l=p.fieldInfo;if(!p.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var _=n.call(o,l);if(_!=null)if(l.isMessageType())if(p.binaryMessageSerializeFn)p.binaryWriterFn.call(t,l.fieldIndex,_,p.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else p.binaryWriterFn.call(t,l.fieldIndex,_)}};jspb.Message.readBinaryExtension=function(o,t,r,n,i){var p=r[t.getFieldNumber()];if(p){if(r=p.fieldInfo,!p.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var l=new r.ctor;p.binaryReaderFn.call(t,l,p.binaryMessageDeserializeFn)}else l=p.binaryReaderFn.call(t);r.isRepeated&&!p.isPacked?(t=n.call(o,r))?t.push(l):i.call(o,r,[l]):i.call(o,r,l)}else t.skipField()};jspb.Message.getField=function(o,t){if(t<o.pivot_){t=jspb.Message.getIndex_(o,t);var r=o.array[t];return r===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[t]=[]:r}if(o.extensionObject_)return r=o.extensionObject_[t],r===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[t]=[]:r};jspb.Message.getRepeatedField=function(o,t){return jspb.Message.getField(o,t)};jspb.Message.getOptionalFloatingPointField=function(o,t){return o=jspb.Message.getField(o,t),o==null?o:+o};jspb.Message.getBooleanField=function(o,t){return o=jspb.Message.getField(o,t),o==null?o:!!o};jspb.Message.getRepeatedFloatingPointField=function(o,t){var r=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var n=0;n<r.length;n++)r[n]=+r[n];o.convertedPrimitiveFields_[t]=!0}return r};jspb.Message.getRepeatedBooleanField=function(o,t){var r=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var n=0;n<r.length;n++)r[n]=!!r[n];o.convertedPrimitiveFields_[t]=!0}return r};jspb.Message.bytesAsB64=function(o){return o==null||typeof o=="string"?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)};jspb.Message.bytesAsU8=function(o){return o==null||o instanceof Uint8Array?o:typeof o=="string"?goog.crypt.base64.decodeStringToUint8Array(o):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)};jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&typeof o[0]!="string"?goog.array.map(o,jspb.Message.bytesAsB64):o};jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)};jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var t=goog.typeOf(o[0]);goog.array.forEach(o,function(r){goog.typeOf(r)!=t&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+t)})}};jspb.Message.getFieldWithDefault=function(o,t,r){return o=jspb.Message.getField(o,t),o??r};jspb.Message.getBooleanFieldWithDefault=function(o,t,r){return o=jspb.Message.getBooleanField(o,t),o??r};jspb.Message.getFloatingPointFieldWithDefault=function(o,t,r){return o=jspb.Message.getOptionalFloatingPointField(o,t),o??r};jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault;jspb.Message.getMapField=function(o,t,r,n){if(o.wrappers_||(o.wrappers_={}),t in o.wrappers_)return o.wrappers_[t];var i=jspb.Message.getField(o,t);if(!i){if(r)return;i=[],jspb.Message.setField(o,t,i)}return o.wrappers_[t]=new jspb.Map(i,n)};jspb.Message.setField=function(o,t,r){return goog.asserts.assertInstanceof(o,jspb.Message),t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[t]=r),o};jspb.Message.setProto3IntField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,0)};jspb.Message.setProto3FloatField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,0)};jspb.Message.setProto3BooleanField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,!1)};jspb.Message.setProto3StringField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,"")};jspb.Message.setProto3BytesField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,"")};jspb.Message.setProto3EnumField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,0)};jspb.Message.setProto3StringIntField=function(o,t,r){return jspb.Message.setFieldIgnoringDefault_(o,t,r,"0")};jspb.Message.setFieldIgnoringDefault_=function(o,t,r,n){return goog.asserts.assertInstanceof(o,jspb.Message),r!==n?jspb.Message.setField(o,t,r):t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[t]),o};jspb.Message.addToRepeatedField=function(o,t,r,n){return goog.asserts.assertInstanceof(o,jspb.Message),t=jspb.Message.getRepeatedField(o,t),n!=null?t.splice(n,0,r):t.push(r),o};jspb.Message.setOneofField=function(o,t,r,n){return goog.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==t&&n!==void 0&&(o.wrappers_&&r in o.wrappers_&&(o.wrappers_[r]=void 0),jspb.Message.setField(o,r,void 0)),jspb.Message.setField(o,t,n)};jspb.Message.computeOneofCase=function(o,t){for(var r,n,i=0;i<t.length;i++){var p=t[i],l=jspb.Message.getField(o,p);l!=null&&(r=p,n=l,jspb.Message.setField(o,p,void 0))}return r?(jspb.Message.setField(o,r,n),r):0};jspb.Message.getWrapperField=function(o,t,r,n){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var i=jspb.Message.getField(o,r);(n||i)&&(o.wrappers_[r]=new t(i))}return o.wrappers_[r]};jspb.Message.getRepeatedWrapperField=function(o,t,r){return jspb.Message.wrapRepeatedField_(o,t,r),t=o.wrappers_[r],t==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=o.wrappers_[r]=[]),t};jspb.Message.wrapRepeatedField_=function(o,t,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){for(var n=jspb.Message.getRepeatedField(o,r),i=[],p=0;p<n.length;p++)i[p]=new t(n[p]);o.wrappers_[r]=i}};jspb.Message.setWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var n=r&&r.toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,n)};jspb.Message.setOneofWrapperField=function(o,t,r,n){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var i=n&&n.toArray();return o.wrappers_[t]=n,jspb.Message.setOneofField(o,t,r,i)};jspb.Message.setRepeatedWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var n=[],i=0;i<r.length;i++)n[i]=r[i].toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,n)};jspb.Message.addToRepeatedWrapperField=function(o,t,r,n,i){jspb.Message.wrapRepeatedField_(o,n,t);var p=o.wrappers_[t];return p||(p=o.wrappers_[t]=[]),r=r||new n,o=jspb.Message.getRepeatedField(o,t),i!=null?(p.splice(i,0,r),o.splice(i,0,r.toArray())):(p.push(r),o.push(r.toArray())),r};jspb.Message.toMap=function(o,t,r,n){for(var i={},p=0;p<o.length;p++)i[t.call(o[p])]=r?r.call(o[p],n,o[p]):o[p];return i};jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var t=this.wrappers_[o];if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&t[r].toArray();else t&&t.toArray()}};jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array};jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()});jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],function(r){return new o.ctor(r)})),this.wrappers_[t]}else if(o.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new o.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}};jspb.Message.prototype.setExtension=function(o,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=o.fieldIndex;return o.isRepeated?(t=t||[],o.isMessageType()?(this.wrappers_[r]=t,this.extensionObject_[r]=goog.array.map(t,function(n){return n.toArray()})):this.extensionObject_[r]=t):o.isMessageType()?(this.wrappers_[r]=t,this.extensionObject_[r]=t&&t.toArray()):this.extensionObject_[r]=t,this};jspb.Message.difference=function(o,t){if(!(o instanceof t.constructor))throw Error("Messages have different types.");var r=o.toArray();t=t.toArray();var n=[],i=0,p=r.length>t.length?r.length:t.length;for(o.getJsPbMessageId()&&(n[0]=o.getJsPbMessageId(),i=1);i<p;i++)jspb.Message.compareFields(r[i],t[i])||(n[i]=t[i]);return new o.constructor(n)};jspb.Message.equals=function(o,t){return o==t||!(!o||!t)&&o instanceof t.constructor&&jspb.Message.compareFields(o.toArray(),t.toArray())};jspb.Message.compareExtensions=function(o,t){o=o||{},t=t||{};var r={},n;for(n in o)r[n]=0;for(n in t)r[n]=0;for(n in r)if(!jspb.Message.compareFields(o[n],t[n]))return!1;return!0};jspb.Message.compareFields=function(o,t){if(o==t)return!0;if(!goog.isObject(o)||!goog.isObject(t))return typeof o=="number"&&isNaN(o)||typeof t=="number"&&isNaN(t)?String(o)==String(t):!1;if(o.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=t.length)return!1;for(var r=0;r<o.length;r++)if(o[r]!=t[r])return!1;return!0}if(o.constructor===Array){var n=void 0,i=void 0,p=Math.max(o.length,t.length);for(r=0;r<p;r++){var l=o[r],_=t[r];if(l&&l.constructor==Object&&(goog.asserts.assert(n===void 0),goog.asserts.assert(r===o.length-1),n=l,l=void 0),_&&_.constructor==Object&&(goog.asserts.assert(i===void 0),goog.asserts.assert(r===t.length-1),i=_,_=void 0),!jspb.Message.compareFields(l,_))return!1}return n||i?(n=n||{},i=i||{},jspb.Message.compareExtensions(n,i)):!0}if(o.constructor===Object)return jspb.Message.compareExtensions(o,t);throw Error("Invalid type in JSPB array")};jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)};jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)};jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)};jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))};jspb.Message.copyInto=function(o,t){goog.asserts.assertInstanceof(o,jspb.Message),goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assert(o.constructor==t.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var r=t.toArray(),n=o.toArray(),i=r.length=0;i<n.length;i++)r[i]=n[i];t.wrappers_=o.wrappers_,t.extensionObject_=o.extensionObject_};jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var t=Array(o.length),r=0;r<o.length;r++){var n=o[r];n!=null&&(t[r]=typeof n=="object"?jspb.Message.clone_(goog.asserts.assert(n)):n)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);t={};for(r in o)n=o[r],n!=null&&(t[r]=typeof n=="object"?jspb.Message.clone_(goog.asserts.assert(n)):n);return t};jspb.Message.registerMessageType=function(o,t){t.messageId=o};jspb.Message.messageSetExtensions={};jspb.Message.messageSetExtensionsBinary={};jspb.Export={};typeof exports=="object"&&(exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf)});var Et=le(Tt=>{var s=Ie(),m=s,B=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof B<"u"&&B||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();m.exportSymbol("proto.google.protobuf.DescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,B);m.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,B);m.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,B);m.exportSymbol("proto.google.protobuf.EnumOptions",null,B);m.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.EnumValueOptions",null,B);m.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,B);m.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,B);m.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,B);m.exportSymbol("proto.google.protobuf.FieldOptions",null,B);m.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,B);m.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,B);m.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,B);m.exportSymbol("proto.google.protobuf.FileOptions",null,B);m.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,B);m.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,B);m.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,B);m.exportSymbol("proto.google.protobuf.MessageOptions",null,B);m.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.MethodOptions",null,B);m.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,B);m.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.OneofOptions",null,B);m.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,B);m.exportSymbol("proto.google.protobuf.ServiceOptions",null,B);m.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,B);m.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,B);m.exportSymbol("proto.google.protobuf.UninterpretedOption",null,B);m.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,B);proto.google.protobuf.FileDescriptorSet=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)};m.inherits(proto.google.protobuf.FileDescriptorSet,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet");proto.google.protobuf.FileDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)};m.inherits(proto.google.protobuf.FileDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto");proto.google.protobuf.DescriptorProto=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)};m.inherits(proto.google.protobuf.DescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto");proto.google.protobuf.DescriptorProto.ExtensionRange=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange");proto.google.protobuf.DescriptorProto.ReservedRange=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange");proto.google.protobuf.ExtensionRangeOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.ExtensionRangeOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions");proto.google.protobuf.ExtensionRangeOptions.extensions={};proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={};proto.google.protobuf.FieldDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.FieldDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto");proto.google.protobuf.OneofDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.OneofDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto");proto.google.protobuf.EnumDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)};m.inherits(proto.google.protobuf.EnumDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto");proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange");proto.google.protobuf.EnumValueDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.EnumValueDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto");proto.google.protobuf.ServiceDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)};m.inherits(proto.google.protobuf.ServiceDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto");proto.google.protobuf.MethodDescriptorProto=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.MethodDescriptorProto,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto");proto.google.protobuf.FileOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.FileOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions");proto.google.protobuf.FileOptions.extensions={};proto.google.protobuf.FileOptions.extensionsBinary={};proto.google.protobuf.MessageOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.MessageOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions");proto.google.protobuf.MessageOptions.extensions={};proto.google.protobuf.MessageOptions.extensionsBinary={};proto.google.protobuf.FieldOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.FieldOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions");proto.google.protobuf.FieldOptions.extensions={};proto.google.protobuf.FieldOptions.extensionsBinary={};proto.google.protobuf.OneofOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.OneofOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions");proto.google.protobuf.OneofOptions.extensions={};proto.google.protobuf.OneofOptions.extensionsBinary={};proto.google.protobuf.EnumOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.EnumOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions");proto.google.protobuf.EnumOptions.extensions={};proto.google.protobuf.EnumOptions.extensionsBinary={};proto.google.protobuf.EnumValueOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.EnumValueOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions");proto.google.protobuf.EnumValueOptions.extensions={};proto.google.protobuf.EnumValueOptions.extensionsBinary={};proto.google.protobuf.ServiceOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.ServiceOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions");proto.google.protobuf.ServiceOptions.extensions={};proto.google.protobuf.ServiceOptions.extensionsBinary={};proto.google.protobuf.MethodOptions=function(o){s.Message.initialize(this,o,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)};m.inherits(proto.google.protobuf.MethodOptions,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions");proto.google.protobuf.MethodOptions.extensions={};proto.google.protobuf.MethodOptions.extensionsBinary={};proto.google.protobuf.UninterpretedOption=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)};m.inherits(proto.google.protobuf.UninterpretedOption,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption");proto.google.protobuf.UninterpretedOption.NamePart=function(o){s.Message.initialize(this,o,0,-1,null,null)};m.inherits(proto.google.protobuf.UninterpretedOption.NamePart,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart");proto.google.protobuf.SourceCodeInfo=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)};m.inherits(proto.google.protobuf.SourceCodeInfo,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo");proto.google.protobuf.SourceCodeInfo.Location=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)};m.inherits(proto.google.protobuf.SourceCodeInfo.Location,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location");proto.google.protobuf.GeneratedCodeInfo=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)};m.inherits(proto.google.protobuf.GeneratedCodeInfo,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo");proto.google.protobuf.GeneratedCodeInfo.Annotation=function(o){s.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)};m.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,s.Message);m.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation");proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(o){return proto.google.protobuf.FileDescriptorSet.toObject(o,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(o,t){var r,n={fileList:s.Message.toObjectList(t.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(r,t)};proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.FileDescriptorProto;t.readMessage(n,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),o.addFile(n);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getFileList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)};proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)};proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(o){return s.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(o,t){return s.Message.addToRepeatedWrapperField(this,1,o,proto.google.protobuf.FileDescriptorProto,t)};proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])};proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.FileDescriptorProto.toObject(o,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,pb_package:(r=s.Message.getField(t,2))==null?void 0:r,dependencyList:(r=s.Message.getRepeatedField(t,3))==null?void 0:r,publicDependencyList:(r=s.Message.getRepeatedField(t,10))==null?void 0:r,weakDependencyList:(r=s.Message.getRepeatedField(t,11))==null?void 0:r,messageTypeList:s.Message.toObjectList(t.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:s.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),serviceList:s.Message.toObjectList(t.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,o),extensionList:s.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.FileOptions.toObject(o,r),sourceCodeInfo:(r=t.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(o,r),syntax:(r=s.Message.getField(t,12))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var p=t.readString();o.setName(p);break;case 2:var p=t.readString();o.setPackage(p);break;case 3:var p=t.readString();o.addDependency(p);break;case 10:for(var i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],n=0;n<i.length;n++)o.addPublicDependency(i[n]);break;case 11:for(var i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],n=0;n<i.length;n++)o.addWeakDependency(i[n]);break;case 4:var p=new proto.google.protobuf.DescriptorProto;t.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addMessageType(p);break;case 5:var p=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(p);break;case 6:var p=new proto.google.protobuf.ServiceDescriptorProto;t.readMessage(p,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),o.addService(p);break;case 7:var p=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(p);break;case 8:var p=new proto.google.protobuf.FileOptions;t.readMessage(p,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),o.setOptions(p);break;case 9:var p=new proto.google.protobuf.SourceCodeInfo;t.readMessage(p,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),o.setSourceCodeInfo(p);break;case 12:var p=t.readString();o.setSyntax(p);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,2),r!=null&&t.writeString(2,r),r=o.getDependencyList(),r.length>0&&t.writeRepeatedString(3,r),r=o.getPublicDependencyList(),r.length>0&&t.writeRepeatedInt32(10,r),r=o.getWeakDependencyList(),r.length>0&&t.writeRepeatedInt32(11,r),r=o.getMessageTypeList(),r.length>0&&t.writeRepeatedMessage(4,r,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),r=o.getEnumTypeList(),r.length>0&&t.writeRepeatedMessage(5,r,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),r=o.getServiceList(),r.length>0&&t.writeRepeatedMessage(6,r,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),r=o.getExtensionList(),r.length>0&&t.writeRepeatedMessage(7,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=o.getOptions(),r!=null&&t.writeMessage(8,r,proto.google.protobuf.FileOptions.serializeBinaryToWriter),r=o.getSourceCodeInfo(),r!=null&&t.writeMessage(9,r,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),r=s.Message.getField(o,12),r!=null&&t.writeString(12,r)};proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return s.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return s.Message.getRepeatedField(this,3)};proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(o){return s.Message.setField(this,3,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(o,t){return s.Message.addToRepeatedField(this,3,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return s.Message.getRepeatedField(this,10)};proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(o){return s.Message.setField(this,10,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(o,t){return s.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return s.Message.getRepeatedField(this,11)};proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(o){return s.Message.setField(this,11,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(o,t){return s.Message.addToRepeatedField(this,11,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)};proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(o){return s.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(o,t){return s.Message.addToRepeatedWrapperField(this,4,o,proto.google.protobuf.DescriptorProto,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])};proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)};proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(o){return s.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(o,t){return s.Message.addToRepeatedWrapperField(this,5,o,proto.google.protobuf.EnumDescriptorProto,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])};proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)};proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(o){return s.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.FileDescriptorProto.prototype.addService=function(o,t){return s.Message.addToRepeatedWrapperField(this,6,o,proto.google.protobuf.ServiceDescriptorProto,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])};proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)};proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(o){return s.Message.setRepeatedWrapperField(this,7,o)};proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(o,t){return s.Message.addToRepeatedWrapperField(this,7,o,proto.google.protobuf.FieldDescriptorProto,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])};proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)};proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,8,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,8)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return s.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)};proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(o){return s.Message.setWrapperField(this,9,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return s.Message.getField(this,9)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return s.Message.getFieldWithDefault(this,12,"")};proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(o){return s.Message.setField(this,12,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return s.Message.setField(this,12,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return s.Message.getField(this,12)!=null};proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.DescriptorProto.toObject(o,this)},proto.google.protobuf.DescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,fieldList:s.Message.toObjectList(t.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),extensionList:s.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),nestedTypeList:s.Message.toObjectList(t.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:s.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),extensionRangeList:s.Message.toObjectList(t.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,o),oneofDeclList:s.Message.toObjectList(t.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.MessageOptions.toObject(o,r),reservedRangeList:s.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,o),reservedNameList:(r=s.Message.getRepeatedField(t,10))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.DescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(n,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addField(n);break;case 6:var n=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(n,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(n);break;case 3:var n=new proto.google.protobuf.DescriptorProto;t.readMessage(n,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addNestedType(n);break;case 4:var n=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(n,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(n);break;case 5:var n=new proto.google.protobuf.DescriptorProto.ExtensionRange;t.readMessage(n,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),o.addExtensionRange(n);break;case 8:var n=new proto.google.protobuf.OneofDescriptorProto;t.readMessage(n,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),o.addOneofDecl(n);break;case 7:var n=new proto.google.protobuf.MessageOptions;t.readMessage(n,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),o.setOptions(n);break;case 9:var n=new proto.google.protobuf.DescriptorProto.ReservedRange;t.readMessage(n,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),o.addReservedRange(n);break;case 10:var n=t.readString();o.addReservedName(n);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=o.getFieldList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=o.getExtensionList(),r.length>0&&t.writeRepeatedMessage(6,r,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),r=o.getNestedTypeList(),r.length>0&&t.writeRepeatedMessage(3,r,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),r=o.getEnumTypeList(),r.length>0&&t.writeRepeatedMessage(4,r,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),r=o.getExtensionRangeList(),r.length>0&&t.writeRepeatedMessage(5,r,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),r=o.getOneofDeclList(),r.length>0&&t.writeRepeatedMessage(8,r,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),r=o.getOptions(),r!=null&&t.writeMessage(7,r,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),r=o.getReservedRangeList(),r.length>0&&t.writeRepeatedMessage(9,r,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),r=o.getReservedNameList(),r.length>0&&t.writeRepeatedString(10,r)};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(o){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(o,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(o,t){var r,n={start:(r=s.Message.getField(t,1))==null?void 0:r,end:(r=s.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(r,t)};proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readInt32();o.setStart(n);break;case 2:var n=t.readInt32();o.setEnd(n);break;case 3:var n=new proto.google.protobuf.ExtensionRangeOptions;t.readMessage(n,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),o.setOptions(n);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=s.Message.getField(o,2),r!=null&&t.writeInt32(2,r),r=o.getOptions(),r!=null&&t.writeMessage(3,r,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(o){return s.Message.setWrapperField(this,3,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(o){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(o,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(o,t){var r,n={start:(r=s.Message.getField(t,1))==null?void 0:r,end:(r=s.Message.getField(t,2))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(r,t)};proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readInt32();o.setStart(n);break;case 2:var n=t.readInt32();o.setEnd(n);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=s.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.DescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)};proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(o){return s.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.DescriptorProto.prototype.addField=function(o,t){return s.Message.addToRepeatedWrapperField(this,2,o,proto.google.protobuf.FieldDescriptorProto,t)};proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])};proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)};proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(o){return s.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(o,t){return s.Message.addToRepeatedWrapperField(this,6,o,proto.google.protobuf.FieldDescriptorProto,t)};proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])};proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)};proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(o){return s.Message.setRepeatedWrapperField(this,3,o)};proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(o,t){return s.Message.addToRepeatedWrapperField(this,3,o,proto.google.protobuf.DescriptorProto,t)};proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])};proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)};proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(o){return s.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(o,t){return s.Message.addToRepeatedWrapperField(this,4,o,proto.google.protobuf.EnumDescriptorProto,t)};proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])};proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)};proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(o){return s.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(o,t){return s.Message.addToRepeatedWrapperField(this,5,o,proto.google.protobuf.DescriptorProto.ExtensionRange,t)};proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])};proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)};proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(o){return s.Message.setRepeatedWrapperField(this,8,o)};proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(o,t){return s.Message.addToRepeatedWrapperField(this,8,o,proto.google.protobuf.OneofDescriptorProto,t)};proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])};proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)};proto.google.protobuf.DescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,7,o)};proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,7)!=null};proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)};proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(o){return s.Message.setRepeatedWrapperField(this,9,o)};proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(o,t){return s.Message.addToRepeatedWrapperField(this,9,o,proto.google.protobuf.DescriptorProto.ReservedRange,t)};proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])};proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return s.Message.getRepeatedField(this,10)};proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(o){return s.Message.setField(this,10,o||[])};proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(o,t){return s.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(o){return proto.google.protobuf.ExtensionRangeOptions.toObject(o,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(o,t){var r,n={uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return o};proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)};proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.FieldDescriptorProto.toObject(o,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,number:(r=s.Message.getField(t,3))==null?void 0:r,label:(r=s.Message.getField(t,4))==null?void 0:r,type:(r=s.Message.getField(t,5))==null?void 0:r,typeName:(r=s.Message.getField(t,6))==null?void 0:r,extendee:(r=s.Message.getField(t,2))==null?void 0:r,defaultValue:(r=s.Message.getField(t,7))==null?void 0:r,oneofIndex:(r=s.Message.getField(t,9))==null?void 0:r,jsonName:(r=s.Message.getField(t,10))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.FieldOptions.toObject(o,r),proto3Optional:(r=s.Message.getBooleanField(t,17))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 3:var n=t.readInt32();o.setNumber(n);break;case 4:var n=t.readEnum();o.setLabel(n);break;case 5:var n=t.readEnum();o.setType(n);break;case 6:var n=t.readString();o.setTypeName(n);break;case 2:var n=t.readString();o.setExtendee(n);break;case 7:var n=t.readString();o.setDefaultValue(n);break;case 9:var n=t.readInt32();o.setOneofIndex(n);break;case 10:var n=t.readString();o.setJsonName(n);break;case 8:var n=new proto.google.protobuf.FieldOptions;t.readMessage(n,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),o.setOptions(n);break;case 17:var n=t.readBool();o.setProto3Optional(n);break;default:t.skipField();break}}return o};proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=s.Message.getField(o,4),r!=null&&t.writeEnum(4,r),r=s.Message.getField(o,5),r!=null&&t.writeEnum(5,r),r=s.Message.getField(o,6),r!=null&&t.writeString(6,r),r=s.Message.getField(o,2),r!=null&&t.writeString(2,r),r=s.Message.getField(o,7),r!=null&&t.writeString(7,r),r=s.Message.getField(o,9),r!=null&&t.writeInt32(9,r),r=s.Message.getField(o,10),r!=null&&t.writeString(10,r),r=o.getOptions(),r!=null&&t.writeMessage(8,r,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),r=s.Message.getField(o,17),r!=null&&t.writeBool(17,r)};proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18};proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3};proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return s.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return s.Message.getFieldWithDefault(this,4,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(o){return s.Message.setField(this,4,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return s.Message.setField(this,4,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return s.Message.getField(this,4)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return s.Message.getFieldWithDefault(this,5,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(o){return s.Message.setField(this,5,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return s.Message.setField(this,5,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return s.Message.getField(this,5)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return s.Message.getFieldWithDefault(this,6,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(o){return s.Message.setField(this,6,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return s.Message.setField(this,6,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return s.Message.getField(this,6)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return s.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return s.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(o){return s.Message.setField(this,7,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return s.Message.setField(this,7,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return s.Message.getField(this,7)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return s.Message.getFieldWithDefault(this,9,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(o){return s.Message.setField(this,9,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return s.Message.setField(this,9,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return s.Message.getField(this,9)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return s.Message.getFieldWithDefault(this,10,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(o){return s.Message.setField(this,10,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return s.Message.setField(this,10,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return s.Message.getField(this,10)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)};proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,8,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,8)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return s.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(o){return s.Message.setField(this,17,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return s.Message.setField(this,17,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return s.Message.getField(this,17)!=null};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.OneofDescriptorProto.toObject(o,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.OneofOptions.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=new proto.google.protobuf.OneofOptions;t.readMessage(n,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),o.setOptions(n);break;default:t.skipField();break}}return o};proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=o.getOptions(),r!=null&&t.writeMessage(2,r,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)};proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)};proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,2,o)};proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.EnumDescriptorProto.toObject(o,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,valueList:s.Message.toObjectList(t.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.EnumOptions.toObject(o,r),reservedRangeList:s.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,o),reservedNameList:(r=s.Message.getRepeatedField(t,5))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=new proto.google.protobuf.EnumValueDescriptorProto;t.readMessage(n,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),o.addValue(n);break;case 3:var n=new proto.google.protobuf.EnumOptions;t.readMessage(n,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),o.setOptions(n);break;case 4:var n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;t.readMessage(n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),o.addReservedRange(n);break;case 5:var n=t.readString();o.addReservedName(n);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=o.getValueList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),r=o.getOptions(),r!=null&&t.writeMessage(3,r,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),r=o.getReservedRangeList(),r.length>0&&t.writeRepeatedMessage(4,r,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),r=o.getReservedNameList(),r.length>0&&t.writeRepeatedString(5,r)};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(o){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(o,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(o,t){var r,n={start:(r=s.Message.getField(t,1))==null?void 0:r,end:(r=s.Message.getField(t,2))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(r,t)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readInt32();o.setStart(n);break;case 2:var n=t.readInt32();o.setEnd(n);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=s.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)};proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(o){return s.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(o,t){return s.Message.addToRepeatedWrapperField(this,2,o,proto.google.protobuf.EnumValueDescriptorProto,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])};proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)};proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,3,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(o){return s.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(o,t){return s.Message.addToRepeatedWrapperField(this,4,o,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return s.Message.getRepeatedField(this,5)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(o){return s.Message.setField(this,5,o||[])};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(o,t){return s.Message.addToRepeatedField(this,5,o,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.EnumValueDescriptorProto.toObject(o,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,number:(r=s.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=t.readInt32();o.setNumber(n);break;case 3:var n=new proto.google.protobuf.EnumValueOptions;t.readMessage(n,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),o.setOptions(n);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,2),r!=null&&t.writeInt32(2,r),r=o.getOptions(),r!=null&&t.writeMessage(3,r,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)};proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return s.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,3,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.ServiceDescriptorProto.toObject(o,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,methodList:s.Message.toObjectList(t.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=new proto.google.protobuf.MethodDescriptorProto;t.readMessage(n,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),o.addMethod(n);break;case 3:var n=new proto.google.protobuf.ServiceOptions;t.readMessage(n,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),o.setOptions(n);break;default:t.skipField();break}}return o};proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=o.getMethodList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),r=o.getOptions(),r!=null&&t.writeMessage(3,r,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)};proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)};proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(o){return s.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(o,t){return s.Message.addToRepeatedWrapperField(this,2,o,proto.google.protobuf.MethodDescriptorProto,t)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])};proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)};proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,3,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(o){return proto.google.protobuf.MethodDescriptorProto.toObject(o,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(o,t){var r,n={name:(r=s.Message.getField(t,1))==null?void 0:r,inputType:(r=s.Message.getField(t,2))==null?void 0:r,outputType:(r=s.Message.getField(t,3))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.MethodOptions.toObject(o,r),clientStreaming:s.Message.getBooleanFieldWithDefault(t,5,!1),serverStreaming:s.Message.getBooleanFieldWithDefault(t,6,!1)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(r,t)};proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setName(n);break;case 2:var n=t.readString();o.setInputType(n);break;case 3:var n=t.readString();o.setOutputType(n);break;case 4:var n=new proto.google.protobuf.MethodOptions;t.readMessage(n,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),o.setOptions(n);break;case 5:var n=t.readBool();o.setClientStreaming(n);break;case 6:var n=t.readBool();o.setServerStreaming(n);break;default:t.skipField();break}}return o};proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,2),r!=null&&t.writeString(2,r),r=s.Message.getField(o,3),r!=null&&t.writeString(3,r),r=o.getOptions(),r!=null&&t.writeMessage(4,r,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),r=s.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=s.Message.getField(o,6),r!=null&&t.writeBool(6,r)};proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return s.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return s.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)};proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(o){return s.Message.setWrapperField(this,4,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,4)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return s.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(o){return s.Message.setField(this,5,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return s.Message.setField(this,5,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return s.Message.getField(this,5)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return s.Message.getBooleanFieldWithDefault(this,6,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(o){return s.Message.setField(this,6,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return s.Message.setField(this,6,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return s.Message.getField(this,6)!=null};proto.google.protobuf.FileOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(o){return proto.google.protobuf.FileOptions.toObject(o,this)},proto.google.protobuf.FileOptions.toObject=function(o,t){var r,n={javaPackage:(r=s.Message.getField(t,1))==null?void 0:r,javaOuterClassname:(r=s.Message.getField(t,8))==null?void 0:r,javaMultipleFiles:s.Message.getBooleanFieldWithDefault(t,10,!1),javaGenerateEqualsAndHash:(r=s.Message.getBooleanField(t,20))==null?void 0:r,javaStringCheckUtf8:s.Message.getBooleanFieldWithDefault(t,27,!1),optimizeFor:s.Message.getFieldWithDefault(t,9,1),goPackage:(r=s.Message.getField(t,11))==null?void 0:r,ccGenericServices:s.Message.getBooleanFieldWithDefault(t,16,!1),javaGenericServices:s.Message.getBooleanFieldWithDefault(t,17,!1),pyGenericServices:s.Message.getBooleanFieldWithDefault(t,18,!1),phpGenericServices:s.Message.getBooleanFieldWithDefault(t,42,!1),deprecated:s.Message.getBooleanFieldWithDefault(t,23,!1),ccEnableArenas:s.Message.getBooleanFieldWithDefault(t,31,!0),objcClassPrefix:(r=s.Message.getField(t,36))==null?void 0:r,csharpNamespace:(r=s.Message.getField(t,37))==null?void 0:r,swiftPrefix:(r=s.Message.getField(t,39))==null?void 0:r,phpClassPrefix:(r=s.Message.getField(t,40))==null?void 0:r,phpNamespace:(r=s.Message.getField(t,41))==null?void 0:r,phpMetadataNamespace:(r=s.Message.getField(t,44))==null?void 0:r,rubyPackage:(r=s.Message.getField(t,45))==null?void 0:r,uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.FileOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setJavaPackage(n);break;case 8:var n=t.readString();o.setJavaOuterClassname(n);break;case 10:var n=t.readBool();o.setJavaMultipleFiles(n);break;case 20:var n=t.readBool();o.setJavaGenerateEqualsAndHash(n);break;case 27:var n=t.readBool();o.setJavaStringCheckUtf8(n);break;case 9:var n=t.readEnum();o.setOptimizeFor(n);break;case 11:var n=t.readString();o.setGoPackage(n);break;case 16:var n=t.readBool();o.setCcGenericServices(n);break;case 17:var n=t.readBool();o.setJavaGenericServices(n);break;case 18:var n=t.readBool();o.setPyGenericServices(n);break;case 42:var n=t.readBool();o.setPhpGenericServices(n);break;case 23:var n=t.readBool();o.setDeprecated(n);break;case 31:var n=t.readBool();o.setCcEnableArenas(n);break;case 36:var n=t.readString();o.setObjcClassPrefix(n);break;case 37:var n=t.readString();o.setCsharpNamespace(n);break;case 39:var n=t.readString();o.setSwiftPrefix(n);break;case 40:var n=t.readString();o.setPhpClassPrefix(n);break;case 41:var n=t.readString();o.setPhpNamespace(n);break;case 44:var n=t.readString();o.setPhpMetadataNamespace(n);break;case 45:var n=t.readString();o.setRubyPackage(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return o};proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,8),r!=null&&t.writeString(8,r),r=s.Message.getField(o,10),r!=null&&t.writeBool(10,r),r=s.Message.getField(o,20),r!=null&&t.writeBool(20,r),r=s.Message.getField(o,27),r!=null&&t.writeBool(27,r),r=s.Message.getField(o,9),r!=null&&t.writeEnum(9,r),r=s.Message.getField(o,11),r!=null&&t.writeString(11,r),r=s.Message.getField(o,16),r!=null&&t.writeBool(16,r),r=s.Message.getField(o,17),r!=null&&t.writeBool(17,r),r=s.Message.getField(o,18),r!=null&&t.writeBool(18,r),r=s.Message.getField(o,42),r!=null&&t.writeBool(42,r),r=s.Message.getField(o,23),r!=null&&t.writeBool(23,r),r=s.Message.getField(o,31),r!=null&&t.writeBool(31,r),r=s.Message.getField(o,36),r!=null&&t.writeString(36,r),r=s.Message.getField(o,37),r!=null&&t.writeString(37,r),r=s.Message.getField(o,39),r!=null&&t.writeString(39,r),r=s.Message.getField(o,40),r!=null&&t.writeString(40,r),r=s.Message.getField(o,41),r!=null&&t.writeString(41,r),r=s.Message.getField(o,44),r!=null&&t.writeString(44,r),r=s.Message.getField(o,45),r!=null&&t.writeString(45,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)};proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3};proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return s.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(o){return s.Message.setField(this,8,o)};proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return s.Message.setField(this,8,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return s.Message.getField(this,8)!=null};proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return s.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(o){return s.Message.setField(this,10,o)};proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return s.Message.setField(this,10,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return s.Message.getField(this,10)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return s.Message.getBooleanFieldWithDefault(this,20,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(o){return s.Message.setField(this,20,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return s.Message.setField(this,20,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return s.Message.getField(this,20)!=null};proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return s.Message.getBooleanFieldWithDefault(this,27,!1)};proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(o){return s.Message.setField(this,27,o)};proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return s.Message.setField(this,27,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return s.Message.getField(this,27)!=null};proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return s.Message.getFieldWithDefault(this,9,1)};proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(o){return s.Message.setField(this,9,o)};proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return s.Message.setField(this,9,void 0)};proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return s.Message.getField(this,9)!=null};proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return s.Message.getFieldWithDefault(this,11,"")};proto.google.protobuf.FileOptions.prototype.setGoPackage=function(o){return s.Message.setField(this,11,o)};proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return s.Message.setField(this,11,void 0)};proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return s.Message.getField(this,11)!=null};proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,16,!1)};proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(o){return s.Message.setField(this,16,o)};proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return s.Message.setField(this,16,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return s.Message.getField(this,16)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(o){return s.Message.setField(this,17,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return s.Message.setField(this,17,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return s.Message.getField(this,17)!=null};proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,18,!1)};proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(o){return s.Message.setField(this,18,o)};proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return s.Message.setField(this,18,void 0)};proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return s.Message.getField(this,18)!=null};proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,42,!1)};proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(o){return s.Message.setField(this,42,o)};proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return s.Message.setField(this,42,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return s.Message.getField(this,42)!=null};proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,23,!1)};proto.google.protobuf.FileOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,23,o)};proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,23,void 0)};proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,23)!=null};proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return s.Message.getBooleanFieldWithDefault(this,31,!0)};proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(o){return s.Message.setField(this,31,o)};proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return s.Message.setField(this,31,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return s.Message.getField(this,31)!=null};proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return s.Message.getFieldWithDefault(this,36,"")};proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(o){return s.Message.setField(this,36,o)};proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return s.Message.setField(this,36,void 0)};proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return s.Message.getField(this,36)!=null};proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return s.Message.getFieldWithDefault(this,37,"")};proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(o){return s.Message.setField(this,37,o)};proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return s.Message.setField(this,37,void 0)};proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return s.Message.getField(this,37)!=null};proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return s.Message.getFieldWithDefault(this,39,"")};proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(o){return s.Message.setField(this,39,o)};proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return s.Message.setField(this,39,void 0)};proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return s.Message.getField(this,39)!=null};proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return s.Message.getFieldWithDefault(this,40,"")};proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(o){return s.Message.setField(this,40,o)};proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return s.Message.setField(this,40,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return s.Message.getField(this,40)!=null};proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return s.Message.getFieldWithDefault(this,41,"")};proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(o){return s.Message.setField(this,41,o)};proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return s.Message.setField(this,41,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return s.Message.getField(this,41)!=null};proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return s.Message.getFieldWithDefault(this,44,"")};proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(o){return s.Message.setField(this,44,o)};proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return s.Message.setField(this,44,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return s.Message.getField(this,44)!=null};proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return s.Message.getFieldWithDefault(this,45,"")};proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(o){return s.Message.setField(this,45,o)};proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return s.Message.setField(this,45,void 0)};proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return s.Message.getField(this,45)!=null};proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.MessageOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(o){return proto.google.protobuf.MessageOptions.toObject(o,this)},proto.google.protobuf.MessageOptions.toObject=function(o,t){var r,n={messageSetWireFormat:s.Message.getBooleanFieldWithDefault(t,1,!1),noStandardDescriptorAccessor:s.Message.getBooleanFieldWithDefault(t,2,!1),deprecated:s.Message.getBooleanFieldWithDefault(t,3,!1),mapEntry:(r=s.Message.getBooleanField(t,7))==null?void 0:r,uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.MessageOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBool();o.setMessageSetWireFormat(n);break;case 2:var n=t.readBool();o.setNoStandardDescriptorAccessor(n);break;case 3:var n=t.readBool();o.setDeprecated(n);break;case 7:var n=t.readBool();o.setMapEntry(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return o};proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeBool(1,r),r=s.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=s.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=s.Message.getField(o,7),r!=null&&t.writeBool(7,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)};proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return s.Message.getBooleanFieldWithDefault(this,7,!1)};proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(o){return s.Message.setField(this,7,o)};proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return s.Message.setField(this,7,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return s.Message.getField(this,7)!=null};proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.FieldOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(o){return proto.google.protobuf.FieldOptions.toObject(o,this)},proto.google.protobuf.FieldOptions.toObject=function(o,t){var r,n={ctype:s.Message.getFieldWithDefault(t,1,0),packed:(r=s.Message.getBooleanField(t,2))==null?void 0:r,jstype:s.Message.getFieldWithDefault(t,6,0),lazy:s.Message.getBooleanFieldWithDefault(t,5,!1),unverifiedLazy:s.Message.getBooleanFieldWithDefault(t,15,!1),deprecated:s.Message.getBooleanFieldWithDefault(t,3,!1),weak:s.Message.getBooleanFieldWithDefault(t,10,!1),uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.FieldOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readEnum();o.setCtype(n);break;case 2:var n=t.readBool();o.setPacked(n);break;case 6:var n=t.readEnum();o.setJstype(n);break;case 5:var n=t.readBool();o.setLazy(n);break;case 15:var n=t.readBool();o.setUnverifiedLazy(n);break;case 3:var n=t.readBool();o.setDeprecated(n);break;case 10:var n=t.readBool();o.setWeak(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return o};proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeEnum(1,r),r=s.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=s.Message.getField(o,6),r!=null&&t.writeEnum(6,r),r=s.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=s.Message.getField(o,15),r!=null&&t.writeBool(15,r),r=s.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=s.Message.getField(o,10),r!=null&&t.writeBool(10,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)};proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2};proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2};proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return s.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.FieldOptions.prototype.setCtype=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.FieldOptions.prototype.setPacked=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return s.Message.getFieldWithDefault(this,6,0)};proto.google.protobuf.FieldOptions.prototype.setJstype=function(o){return s.Message.setField(this,6,o)};proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return s.Message.setField(this,6,void 0)};proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return s.Message.getField(this,6)!=null};proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return s.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.FieldOptions.prototype.setLazy=function(o){return s.Message.setField(this,5,o)};proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return s.Message.setField(this,5,void 0)};proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return s.Message.getField(this,5)!=null};proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return s.Message.getBooleanFieldWithDefault(this,15,!1)};proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(o){return s.Message.setField(this,15,o)};proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return s.Message.setField(this,15,void 0)};proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return s.Message.getField(this,15)!=null};proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return s.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FieldOptions.prototype.setWeak=function(o){return s.Message.setField(this,10,o)};proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return s.Message.setField(this,10,void 0)};proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return s.Message.getField(this,10)!=null};proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.OneofOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(o){return proto.google.protobuf.OneofOptions.toObject(o,this)},proto.google.protobuf.OneofOptions.toObject=function(o,t){var r,n={uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.OneofOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return o};proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)};proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.EnumOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(o){return proto.google.protobuf.EnumOptions.toObject(o,this)},proto.google.protobuf.EnumOptions.toObject=function(o,t){var r,n={allowAlias:(r=s.Message.getBooleanField(t,2))==null?void 0:r,deprecated:s.Message.getBooleanFieldWithDefault(t,3,!1),uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.EnumOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 2:var n=t.readBool();o.setAllowAlias(n);break;case 3:var n=t.readBool();o.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return o};proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=s.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)};proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.EnumValueOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(o){return proto.google.protobuf.EnumValueOptions.toObject(o,this)},proto.google.protobuf.EnumValueOptions.toObject=function(o,t){var r,n={deprecated:s.Message.getBooleanFieldWithDefault(t,1,!1),uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.EnumValueOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBool();o.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return o};proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeBool(1,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)};proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.ServiceOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(o){return proto.google.protobuf.ServiceOptions.toObject(o,this)},proto.google.protobuf.ServiceOptions.toObject=function(o,t){var r,n={deprecated:s.Message.getBooleanFieldWithDefault(t,33,!1),uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.ServiceOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 33:var n=t.readBool();o.setDeprecated(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return o};proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,33),r!=null&&t.writeBool(33,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)};proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,33,o)};proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,33,void 0)};proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,33)!=null};proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.MethodOptions.repeatedFields_=[999];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(o){return proto.google.protobuf.MethodOptions.toObject(o,this)},proto.google.protobuf.MethodOptions.toObject=function(o,t){var r,n={deprecated:s.Message.getBooleanFieldWithDefault(t,33,!1),idempotencyLevel:s.Message.getFieldWithDefault(t,34,0),uninterpretedOptionList:s.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return s.Message.toObjectExtension(t,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,o),o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.MethodOptions.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(r,t)};proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 33:var n=t.readBool();o.setDeprecated(n);break;case 34:var n=t.readEnum();o.setIdempotencyLevel(n);break;case 999:var n=new proto.google.protobuf.UninterpretedOption;t.readMessage(n,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(n);break;default:s.Message.readBinaryExtension(o,t,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return o};proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,33),r!=null&&t.writeBool(33,r),r=s.Message.getField(o,34),r!=null&&t.writeEnum(34,r),r=o.getUninterpretedOptionList(),r.length>0&&t.writeRepeatedMessage(999,r,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)};proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2};proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(o){return s.Message.setField(this,33,o)};proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,33,void 0)};proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,33)!=null};proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return s.Message.getFieldWithDefault(this,34,0)};proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(o){return s.Message.setField(this,34,o)};proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return s.Message.setField(this,34,void 0)};proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return s.Message.getField(this,34)!=null};proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(o){return s.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(o,t){return s.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};proto.google.protobuf.UninterpretedOption.repeatedFields_=[2];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(o){return proto.google.protobuf.UninterpretedOption.toObject(o,this)},proto.google.protobuf.UninterpretedOption.toObject=function(o,t){var r,n={nameList:s.Message.toObjectList(t.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,o),identifierValue:(r=s.Message.getField(t,3))==null?void 0:r,positiveIntValue:(r=s.Message.getField(t,4))==null?void 0:r,negativeIntValue:(r=s.Message.getField(t,5))==null?void 0:r,doubleValue:(r=s.Message.getOptionalFloatingPointField(t,6))==null?void 0:r,stringValue:t.getStringValue_asB64(),aggregateValue:(r=s.Message.getField(t,8))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.UninterpretedOption.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(r,t)};proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 2:var n=new proto.google.protobuf.UninterpretedOption.NamePart;t.readMessage(n,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),o.addName(n);break;case 3:var n=t.readString();o.setIdentifierValue(n);break;case 4:var n=t.readUint64();o.setPositiveIntValue(n);break;case 5:var n=t.readInt64();o.setNegativeIntValue(n);break;case 6:var n=t.readDouble();o.setDoubleValue(n);break;case 7:var n=t.readBytes();o.setStringValue(n);break;case 8:var n=t.readString();o.setAggregateValue(n);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getNameList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),r=s.Message.getField(o,3),r!=null&&t.writeString(3,r),r=s.Message.getField(o,4),r!=null&&t.writeUint64(4,r),r=s.Message.getField(o,5),r!=null&&t.writeInt64(5,r),r=s.Message.getField(o,6),r!=null&&t.writeDouble(6,r),r=s.Message.getField(o,7),r!=null&&t.writeBytes(7,r),r=s.Message.getField(o,8),r!=null&&t.writeString(8,r)};s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(o){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(o,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(o,t){var r,n={namePart:(r=s.Message.getField(t,1))==null?void 0:r,isExtension:(r=s.Message.getBooleanField(t,2))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(r,t)};proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setNamePart(n);break;case 2:var n=t.readBool();o.setIsExtension(n);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(o,t){var r=void 0;r=s.Message.getField(o,1),r!=null&&t.writeString(1,r),r=s.Message.getField(o,2),r!=null&&t.writeBool(2,r)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return s.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(o){return s.Message.setField(this,1,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return s.Message.setField(this,1,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return s.Message.getField(this,1)!=null};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)};proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(o){return s.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.UninterpretedOption.prototype.addName=function(o,t){return s.Message.addToRepeatedWrapperField(this,2,o,proto.google.protobuf.UninterpretedOption.NamePart,t)};proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])};proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return s.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return s.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(o){return s.Message.setField(this,4,o)};proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return s.Message.setField(this,4,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return s.Message.getField(this,4)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return s.Message.getFieldWithDefault(this,5,0)};proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(o){return s.Message.setField(this,5,o)};proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return s.Message.setField(this,5,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return s.Message.getField(this,5)!=null};proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return s.Message.getFloatingPointFieldWithDefault(this,6,0)};proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(o){return s.Message.setField(this,6,o)};proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return s.Message.setField(this,6,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return s.Message.getField(this,6)!=null};proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return s.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return s.Message.bytesAsB64(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return s.Message.bytesAsU8(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(o){return s.Message.setField(this,7,o)};proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return s.Message.setField(this,7,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return s.Message.getField(this,7)!=null};proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return s.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(o){return s.Message.setField(this,8,o)};proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return s.Message.setField(this,8,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return s.Message.getField(this,8)!=null};proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(o){return proto.google.protobuf.SourceCodeInfo.toObject(o,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(o,t){var r,n={locationList:s.Message.toObjectList(t.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(r,t)};proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.SourceCodeInfo.Location;t.readMessage(n,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),o.addLocation(n);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getLocationList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)};proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(o){return proto.google.protobuf.SourceCodeInfo.Location.toObject(o,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(o,t){var r,n={pathList:(r=s.Message.getRepeatedField(t,1))==null?void 0:r,spanList:(r=s.Message.getRepeatedField(t,2))==null?void 0:r,leadingComments:(r=s.Message.getField(t,3))==null?void 0:r,trailingComments:(r=s.Message.getField(t,4))==null?void 0:r,leadingDetachedCommentsList:(r=s.Message.getRepeatedField(t,6))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(r,t)};proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:for(var i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],n=0;n<i.length;n++)o.addPath(i[n]);break;case 2:for(var i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],n=0;n<i.length;n++)o.addSpan(i[n]);break;case 3:var p=t.readString();o.setLeadingComments(p);break;case 4:var p=t.readString();o.setTrailingComments(p);break;case 6:var p=t.readString();o.addLeadingDetachedComments(p);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getPathList(),r.length>0&&t.writePackedInt32(1,r),r=o.getSpanList(),r.length>0&&t.writePackedInt32(2,r),r=s.Message.getField(o,3),r!=null&&t.writeString(3,r),r=s.Message.getField(o,4),r!=null&&t.writeString(4,r),r=o.getLeadingDetachedCommentsList(),r.length>0&&t.writeRepeatedString(6,r)};proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return s.Message.getRepeatedField(this,1)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(o){return s.Message.setField(this,1,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(o,t){return s.Message.addToRepeatedField(this,1,o,t)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])};proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return s.Message.getRepeatedField(this,2)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(o){return s.Message.setField(this,2,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(o,t){return s.Message.addToRepeatedField(this,2,o,t)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return s.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return s.Message.getFieldWithDefault(this,4,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(o){return s.Message.setField(this,4,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return s.Message.setField(this,4,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return s.Message.getField(this,4)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return s.Message.getRepeatedField(this,6)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(o){return s.Message.setField(this,6,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(o,t){return s.Message.addToRepeatedField(this,6,o,t)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])};proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)};proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(o){return s.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(o,t){return s.Message.addToRepeatedWrapperField(this,1,o,proto.google.protobuf.SourceCodeInfo.Location,t)};proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])};proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(o){return proto.google.protobuf.GeneratedCodeInfo.toObject(o,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(o,t){var r,n={annotationList:s.Message.toObjectList(t.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(r,t)};proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;t.readMessage(n,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),o.addAnnotation(n);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getAnnotationList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)};proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1];s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(o){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(o,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(o,t){var r,n={pathList:(r=s.Message.getRepeatedField(t,1))==null?void 0:r,sourceFile:(r=s.Message.getField(t,2))==null?void 0:r,begin:(r=s.Message.getField(t,3))==null?void 0:r,end:(r=s.Message.getField(t,4))==null?void 0:r};return o&&(n.$jspbMessageInstance=t),n});proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(o){var t=new s.BinaryReader(o),r=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(r,t)};proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:for(var n=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<n.length;i++)o.addPath(n[i]);break;case 2:var p=t.readString();o.setSourceFile(p);break;case 3:var p=t.readInt32();o.setBegin(p);break;case 4:var p=t.readInt32();o.setEnd(p);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var o=new s.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getPathList(),r.length>0&&t.writePackedInt32(1,r),r=s.Message.getField(o,2),r!=null&&t.writeString(2,r),r=s.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=s.Message.getField(o,4),r!=null&&t.writeInt32(4,r)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return s.Message.getRepeatedField(this,1)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(o){return s.Message.setField(this,1,o||[])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(o,t){return s.Message.addToRepeatedField(this,1,o,t)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return s.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(o){return s.Message.setField(this,2,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return s.Message.setField(this,2,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return s.Message.getField(this,2)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return s.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(o){return s.Message.setField(this,3,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return s.Message.setField(this,3,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return s.Message.getField(this,3)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(o){return s.Message.setField(this,4,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return s.Message.setField(this,4,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return s.Message.getField(this,4)!=null};proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)};proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(o){return s.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(o,t){return s.Message.addToRepeatedWrapperField(this,1,o,proto.google.protobuf.GeneratedCodeInfo.Annotation,t)};proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])};m.object.extend(Tt,proto.google.protobuf)});var eo=le(Ot=>{"use strict";var S=Ie(),j=S,ee=function(){return this?this:typeof window<"u"?window:typeof ee<"u"?ee:typeof self<"u"?self:Function("return this")()}.call(null),He=Et();j.object.extend(proto,He);j.exportSymbol("proto.ic_base_types.pb.v1.CanisterAuthzInfo",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.CanisterId",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.MethodAuthzInfo",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.NeuronId",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.PrincipalId",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.ProposalId",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021",null,ee);j.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedMessage",null,ee);proto.ic_base_types.pb.v1.PrincipalId=function(o){S.Message.initialize(this,o,0,-1,null,null)};j.inherits(proto.ic_base_types.pb.v1.PrincipalId,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.PrincipalId.displayName="proto.ic_base_types.pb.v1.PrincipalId");proto.ic_base_types.pb.v1.CanisterId=function(o){S.Message.initialize(this,o,0,-1,null,null)};j.inherits(proto.ic_base_types.pb.v1.CanisterId,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterId.displayName="proto.ic_base_types.pb.v1.CanisterId");proto.ic_base_types.pb.v1.NeuronId=function(o){S.Message.initialize(this,o,0,-1,null,null)};j.inherits(proto.ic_base_types.pb.v1.NeuronId,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.NeuronId.displayName="proto.ic_base_types.pb.v1.NeuronId");proto.ic_base_types.pb.v1.ProposalId=function(o){S.Message.initialize(this,o,0,-1,null,null)};j.inherits(proto.ic_base_types.pb.v1.ProposalId,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.ProposalId.displayName="proto.ic_base_types.pb.v1.ProposalId");proto.ic_base_types.pb.v1.MethodAuthzInfo=function(o){S.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_,null)};j.inherits(proto.ic_base_types.pb.v1.MethodAuthzInfo,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.MethodAuthzInfo.displayName="proto.ic_base_types.pb.v1.MethodAuthzInfo");proto.ic_base_types.pb.v1.CanisterAuthzInfo=function(o){S.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_,null)};j.inherits(proto.ic_base_types.pb.v1.CanisterAuthzInfo,S.Message);j.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.displayName="proto.ic_base_types.pb.v1.CanisterAuthzInfo");S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.PrincipalId.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.PrincipalId.toObject(o,this)},proto.ic_base_types.pb.v1.PrincipalId.toObject=function(o,t){var r,n={serializedId:t.getSerializedId_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.PrincipalId.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.PrincipalId;return proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setSerializedId(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.PrincipalId.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getSerializedId_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId=function(){return S.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asB64=function(){return S.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asU8=function(){return S.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.setSerializedId=function(o){return S.Message.setProto3BytesField(this,1,o)};S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.CanisterId.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.CanisterId.toObject(o,this)},proto.ic_base_types.pb.v1.CanisterId.toObject=function(o,t){var r,n={serializedId:t.getSerializedId_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.CanisterId.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.CanisterId;return proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setSerializedId(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterId.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getSerializedId_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId=function(){return S.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asB64=function(){return S.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asU8=function(){return S.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.setSerializedId=function(o){return S.Message.setProto3BytesField(this,1,o)};S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.NeuronId.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.NeuronId.toObject(o,this)},proto.ic_base_types.pb.v1.NeuronId.toObject=function(o,t){var r,n={id:S.Message.getFieldWithDefault(t,2,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.NeuronId.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.NeuronId;return proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 2:var n=t.readUint64String();o.setId(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.NeuronId.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getId(),parseInt(r,10)!==0&&t.writeUint64String(2,r)};proto.ic_base_types.pb.v1.NeuronId.prototype.getId=function(){return S.Message.getFieldWithDefault(this,2,"0")};proto.ic_base_types.pb.v1.NeuronId.prototype.setId=function(o){return S.Message.setProto3StringIntField(this,2,o)};S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.ProposalId.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.ProposalId.toObject(o,this)},proto.ic_base_types.pb.v1.ProposalId.toObject=function(o,t){var r,n={id:S.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.ProposalId.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.ProposalId;return proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setId(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.ProposalId.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getId(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_base_types.pb.v1.ProposalId.prototype.getId=function(){return S.Message.getFieldWithDefault(this,1,"0")};proto.ic_base_types.pb.v1.ProposalId.prototype.setId=function(o){return S.Message.setProto3StringIntField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_=[2];S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject(o,this)},proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject=function(o,t){var r,n={methodName:S.Message.getFieldWithDefault(t,1,""),principalIdsList:t.getPrincipalIdsList_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.MethodAuthzInfo;return proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setMethodName(n);break;case 2:var n=t.readBytes();o.addPrincipalIds(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMethodName(),r.length>0&&t.writeString(1,r),r=o.getPrincipalIdsList_asU8(),r.length>0&&t.writeRepeatedBytes(2,r)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getMethodName=function(){return S.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setMethodName=function(o){return S.Message.setProto3StringField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList=function(){return S.Message.getRepeatedField(this,2)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asB64=function(){return S.Message.bytesListAsB64(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asU8=function(){return S.Message.bytesListAsU8(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setPrincipalIdsList=function(o){return S.Message.setField(this,2,o||[])};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.addPrincipalIds=function(o,t){return S.Message.addToRepeatedField(this,2,o,t)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.clearPrincipalIdsList=function(){return this.setPrincipalIdsList([])};proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_=[1];S.Message.GENERATE_TO_OBJECT&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.toObject=function(o){return proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject(o,this)},proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject=function(o,t){var r,n={methodsAuthzList:S.Message.toObjectList(t.getMethodsAuthzList(),proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinary=function(o){var t=new S.BinaryReader(o),r=new proto.ic_base_types.pb.v1.CanisterAuthzInfo;return proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader(r,t)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_base_types.pb.v1.MethodAuthzInfo;t.readMessage(n,proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader),o.addMethodsAuthz(n);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.serializeBinary=function(){var o=new S.BinaryWriter;return proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMethodsAuthzList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.getMethodsAuthzList=function(){return S.Message.getRepeatedWrapperField(this,proto.ic_base_types.pb.v1.MethodAuthzInfo,1)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.setMethodsAuthzList=function(o){return S.Message.setRepeatedWrapperField(this,1,o)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.addMethodsAuthz=function(o,t){return S.Message.addToRepeatedWrapperField(this,1,o,proto.ic_base_types.pb.v1.MethodAuthzInfo,t)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.clearMethodsAuthzList=function(){return this.setMethodsAuthzList([])};proto.ic_base_types.pb.v1.tuiSignedMessage=new S.ExtensionFieldInfo(2e4,{tuiSignedMessage:0},null,null,0);He.MessageOptions.extensionsBinary[2e4]=new S.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedMessage,S.BinaryReader.prototype.readBool,S.BinaryWriter.prototype.writeBool,void 0,void 0,!1);He.MessageOptions.extensions[2e4]=proto.ic_base_types.pb.v1.tuiSignedMessage;proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021=new S.ExtensionFieldInfo(20001,{tuiSignedDisplayQ22021:0},null,null,0);He.FieldOptions.extensionsBinary[20001]=new S.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021,S.BinaryReader.prototype.readBool,S.BinaryWriter.prototype.writeBool,void 0,void 0,!1);He.FieldOptions.extensions[20001]=proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021;j.object.extend(Ot,proto.ic_base_types.pb.v1)});var de=le(Ft=>{"use strict";var u=Ie(),v=u,F=function(){return this?this:typeof window<"u"?window:typeof F<"u"?F:typeof self<"u"?self:Function("return this")()}.call(null),W=eo();v.object.extend(proto,W);v.exportSymbol("proto.ic_ledger.pb.v1.Account",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.AccountIdentifier",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Block",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.BlockHeight",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Burn",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Certification",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlock",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlocks",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Hash",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.ICPTs",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Memo",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Mint",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.NotifyRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.NotifyResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Payment",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Refund",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Send",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.SendRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.SendResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Subaccount",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.TimeStamp",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainResponse",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.ToppedUp",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Transaction",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.Transaction.TransferCase",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationRequest",null,F);v.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationResponse",null,F);proto.ic_ledger.pb.v1.SendRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.SendRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendRequest.displayName="proto.ic_ledger.pb.v1.SendRequest");proto.ic_ledger.pb.v1.SendResponse=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.SendResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendResponse.displayName="proto.ic_ledger.pb.v1.SendResponse");proto.ic_ledger.pb.v1.NotifyRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.NotifyRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyRequest.displayName="proto.ic_ledger.pb.v1.NotifyRequest");proto.ic_ledger.pb.v1.NotifyResponse=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.NotifyResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyResponse.displayName="proto.ic_ledger.pb.v1.NotifyResponse");proto.ic_ledger.pb.v1.TransactionNotificationRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName="proto.ic_ledger.pb.v1.TransactionNotificationRequest");proto.ic_ledger.pb.v1.TransactionNotificationResponse=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName="proto.ic_ledger.pb.v1.TransactionNotificationResponse");proto.ic_ledger.pb.v1.CyclesNotificationResponse=function(o){u.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_)};v.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName="proto.ic_ledger.pb.v1.CyclesNotificationResponse");proto.ic_ledger.pb.v1.AccountBalanceRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName="proto.ic_ledger.pb.v1.AccountBalanceRequest");proto.ic_ledger.pb.v1.AccountBalanceResponse=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName="proto.ic_ledger.pb.v1.AccountBalanceResponse");proto.ic_ledger.pb.v1.TipOfChainRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainRequest.displayName="proto.ic_ledger.pb.v1.TipOfChainRequest");proto.ic_ledger.pb.v1.TipOfChainResponse=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainResponse.displayName="proto.ic_ledger.pb.v1.TipOfChainResponse");proto.ic_ledger.pb.v1.EncodedBlock=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.EncodedBlock,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlock.displayName="proto.ic_ledger.pb.v1.EncodedBlock");proto.ic_ledger.pb.v1.GetBlocksRequest=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksRequest.displayName="proto.ic_ledger.pb.v1.GetBlocksRequest");proto.ic_ledger.pb.v1.Refund=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Refund,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Refund.displayName="proto.ic_ledger.pb.v1.Refund");proto.ic_ledger.pb.v1.ToppedUp=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.ToppedUp,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ToppedUp.displayName="proto.ic_ledger.pb.v1.ToppedUp");proto.ic_ledger.pb.v1.EncodedBlocks=function(o){u.Message.initialize(this,o,0,-1,proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_,null)};v.inherits(proto.ic_ledger.pb.v1.EncodedBlocks,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlocks.displayName="proto.ic_ledger.pb.v1.EncodedBlocks");proto.ic_ledger.pb.v1.GetBlocksResponse=function(o){u.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_)};v.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksResponse.displayName="proto.ic_ledger.pb.v1.GetBlocksResponse");proto.ic_ledger.pb.v1.ICPTs=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.ICPTs,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ICPTs.displayName="proto.ic_ledger.pb.v1.ICPTs");proto.ic_ledger.pb.v1.Payment=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Payment,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Payment.displayName="proto.ic_ledger.pb.v1.Payment");proto.ic_ledger.pb.v1.BlockHeight=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.BlockHeight,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.BlockHeight.displayName="proto.ic_ledger.pb.v1.BlockHeight");proto.ic_ledger.pb.v1.Block=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Block,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Block.displayName="proto.ic_ledger.pb.v1.Block");proto.ic_ledger.pb.v1.Hash=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Hash,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Hash.displayName="proto.ic_ledger.pb.v1.Hash");proto.ic_ledger.pb.v1.Account=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Account,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Account.displayName="proto.ic_ledger.pb.v1.Account");proto.ic_ledger.pb.v1.Transaction=function(o){u.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.Transaction.oneofGroups_)};v.inherits(proto.ic_ledger.pb.v1.Transaction,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Transaction.displayName="proto.ic_ledger.pb.v1.Transaction");proto.ic_ledger.pb.v1.Send=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Send,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Send.displayName="proto.ic_ledger.pb.v1.Send");proto.ic_ledger.pb.v1.Mint=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Mint,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Mint.displayName="proto.ic_ledger.pb.v1.Mint");proto.ic_ledger.pb.v1.Burn=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Burn,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Burn.displayName="proto.ic_ledger.pb.v1.Burn");proto.ic_ledger.pb.v1.AccountIdentifier=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.AccountIdentifier,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountIdentifier.displayName="proto.ic_ledger.pb.v1.AccountIdentifier");proto.ic_ledger.pb.v1.Subaccount=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Subaccount,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Subaccount.displayName="proto.ic_ledger.pb.v1.Subaccount");proto.ic_ledger.pb.v1.Memo=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Memo,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Memo.displayName="proto.ic_ledger.pb.v1.Memo");proto.ic_ledger.pb.v1.TimeStamp=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.TimeStamp,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TimeStamp.displayName="proto.ic_ledger.pb.v1.TimeStamp");proto.ic_ledger.pb.v1.Certification=function(o){u.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_ledger.pb.v1.Certification,u.Message);v.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Certification.displayName="proto.ic_ledger.pb.v1.Certification");u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.SendRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.SendRequest.toObject(o,this)},proto.ic_ledger.pb.v1.SendRequest.toObject=function(o,t){var r,n={memo:(r=t.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(o,r),payment:(r=t.getPayment())&&proto.ic_ledger.pb.v1.Payment.toObject(o,r),maxFee:(r=t.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r),fromSubaccount:(r=t.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),to:(r=t.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),createdAt:(r=t.getCreatedAt())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),createdAtTime:(r=t.getCreatedAtTime())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.SendRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.SendRequest;return proto.ic_ledger.pb.v1.SendRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.SendRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Memo;t.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Payment;t.readMessage(n,proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader),o.setPayment(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(n);break;case 5:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(n);break;case 6:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(n);break;case 7:var n=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.SendRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.SendRequest.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMemo(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter),r=o.getPayment(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter),r=o.getMaxFee(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=o.getFromSubaccount(),r!=null&&t.writeMessage(4,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=o.getTo(),r!=null&&t.writeMessage(5,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getCreatedAt(),r!=null&&t.writeMessage(6,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=o.getCreatedAtTime(),r!=null&&t.writeMessage(7,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.SendRequest.prototype.getMemo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,1)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMemo=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasMemo=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getPayment=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Payment,2)};proto.ic_ledger.pb.v1.SendRequest.prototype.setPayment=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearPayment=function(){return this.setPayment(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasPayment=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getMaxFee=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMaxFee=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasMaxFee=function(){return u.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getFromSubaccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.SendRequest.prototype.setFromSubaccount=function(o){return u.Message.setWrapperField(this,4,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasFromSubaccount=function(){return u.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getTo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,5)};proto.ic_ledger.pb.v1.SendRequest.prototype.setTo=function(o){return u.Message.setWrapperField(this,5,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasTo=function(){return u.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAt=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,6)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAt=function(o){return u.Message.setWrapperField(this,6,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAt=function(){return u.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAtTime=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,7)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAtTime=function(o){return u.Message.setWrapperField(this,7,o)};proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAtTime=function(){return this.setCreatedAtTime(void 0)};proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAtTime=function(){return u.Message.getField(this,7)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.SendResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.SendResponse.toObject(o,this)},proto.ic_ledger.pb.v1.SendResponse.toObject=function(o,t){var r,n={resultingHeight:(r=t.getResultingHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.SendResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.SendResponse;return proto.ic_ledger.pb.v1.SendResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.SendResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setResultingHeight(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.SendResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.SendResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getResultingHeight(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.SendResponse.prototype.getResultingHeight=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.SendResponse.prototype.setResultingHeight=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.SendResponse.prototype.clearResultingHeight=function(){return this.setResultingHeight(void 0)};proto.ic_ledger.pb.v1.SendResponse.prototype.hasResultingHeight=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.NotifyRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.NotifyRequest.toObject(o,this)},proto.ic_ledger.pb.v1.NotifyRequest.toObject=function(o,t){var r,n={blockHeight:(r=t.getBlockHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),maxFee:(r=t.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r),fromSubaccount:(r=t.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),toCanister:(r=t.getToCanister())&&W.PrincipalId.toObject(o,r),toSubaccount:(r=t.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.NotifyRequest;return proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(n);break;case 2:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(n);break;case 4:var n=new W.PrincipalId;t.readMessage(n,W.PrincipalId.deserializeBinaryFromReader),o.setToCanister(n);break;case 5:var n=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.NotifyRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.NotifyRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.NotifyRequest.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBlockHeight(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=o.getMaxFee(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=o.getFromSubaccount(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=o.getToCanister(),r!=null&&t.writeMessage(4,r,W.PrincipalId.serializeBinaryToWriter),r=o.getToSubaccount(),r!=null&&t.writeMessage(5,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getBlockHeight=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setBlockHeight=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearBlockHeight=function(){return this.setBlockHeight(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasBlockHeight=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getMaxFee=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setMaxFee=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasMaxFee=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getFromSubaccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,3)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setFromSubaccount=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasFromSubaccount=function(){return u.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToCanister=function(){return u.Message.getWrapperField(this,W.PrincipalId,4)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToCanister=function(o){return u.Message.setWrapperField(this,4,o)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToCanister=function(){return this.setToCanister(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToCanister=function(){return u.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToSubaccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,5)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToSubaccount=function(o){return u.Message.setWrapperField(this,5,o)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToSubaccount=function(){return this.setToSubaccount(void 0)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToSubaccount=function(){return u.Message.getField(this,5)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.NotifyResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.NotifyResponse.toObject(o,this)},proto.ic_ledger.pb.v1.NotifyResponse.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.NotifyResponse;return proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.NotifyResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.NotifyResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.NotifyResponse.serializeBinaryToWriter=function(o,t){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.TransactionNotificationRequest.toObject(o,this)},proto.ic_ledger.pb.v1.TransactionNotificationRequest.toObject=function(o,t){var r,n={from:(r=t.getFrom())&&W.PrincipalId.toObject(o,r),fromSubaccount:(r=t.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),to:(r=t.getTo())&&W.PrincipalId.toObject(o,r),toSubaccount:(r=t.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),blockHeight:(r=t.getBlockHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),amount:(r=t.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r),memo:(r=t.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.TransactionNotificationRequest;return proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new W.PrincipalId;t.readMessage(n,W.PrincipalId.deserializeBinaryFromReader),o.setFrom(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(n);break;case 3:var n=new W.PrincipalId;t.readMessage(n,W.PrincipalId.deserializeBinaryFromReader),o.setTo(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(n,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(n);break;case 5:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(n);break;case 6:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(n);break;case 7:var n=new proto.ic_ledger.pb.v1.Memo;t.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.TransactionNotificationRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.TransactionNotificationRequest.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getFrom(),r!=null&&t.writeMessage(1,r,W.PrincipalId.serializeBinaryToWriter),r=o.getFromSubaccount(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=o.getTo(),r!=null&&t.writeMessage(3,r,W.PrincipalId.serializeBinaryToWriter),r=o.getToSubaccount(),r!=null&&t.writeMessage(4,r,proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter),r=o.getBlockHeight(),r!=null&&t.writeMessage(5,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=o.getAmount(),r!=null&&t.writeMessage(6,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=o.getMemo(),r!=null&&t.writeMessage(7,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFrom=function(){return u.Message.getWrapperField(this,W.PrincipalId,1)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFrom=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFrom=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFromSubaccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,2)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFromSubaccount=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFromSubaccount=function(){return this.setFromSubaccount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFromSubaccount=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getTo=function(){return u.Message.getWrapperField(this,W.PrincipalId,3)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setTo=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasTo=function(){return u.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getToSubaccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setToSubaccount=function(o){return u.Message.setWrapperField(this,4,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearToSubaccount=function(){return this.setToSubaccount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasToSubaccount=function(){return u.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getBlockHeight=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setBlockHeight=function(o){return u.Message.setWrapperField(this,5,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearBlockHeight=function(){return this.setBlockHeight(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasBlockHeight=function(){return u.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getAmount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,6)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setAmount=function(o){return u.Message.setWrapperField(this,6,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasAmount=function(){return u.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getMemo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,7)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setMemo=function(o){return u.Message.setWrapperField(this,7,o)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasMemo=function(){return u.Message.getField(this,7)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.TransactionNotificationResponse.toObject(o,this)},proto.ic_ledger.pb.v1.TransactionNotificationResponse.toObject=function(o,t){var r,n={response:t.getResponse_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.TransactionNotificationResponse;return proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setResponse(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.TransactionNotificationResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.TransactionNotificationResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getResponse_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asB64=function(){return u.Message.bytesAsB64(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asU8=function(){return u.Message.bytesAsU8(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.setResponse=function(o){return u.Message.setProto3BytesField(this,1,o)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_=[[1,2,3]];proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase={RESPONSE_NOT_SET:0,CREATED_CANISTER_ID:1,REFUND:2,TOPPED_UP:3};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getResponseCase=function(){return u.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.CyclesNotificationResponse.toObject(o,this)},proto.ic_ledger.pb.v1.CyclesNotificationResponse.toObject=function(o,t){var r,n={createdCanisterId:(r=t.getCreatedCanisterId())&&W.PrincipalId.toObject(o,r),refund:(r=t.getRefund())&&proto.ic_ledger.pb.v1.Refund.toObject(o,r),toppedUp:(r=t.getToppedUp())&&proto.ic_ledger.pb.v1.ToppedUp.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.CyclesNotificationResponse;return proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new W.PrincipalId;t.readMessage(n,W.PrincipalId.deserializeBinaryFromReader),o.setCreatedCanisterId(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Refund;t.readMessage(n,proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader),o.setRefund(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ToppedUp;t.readMessage(n,proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader),o.setToppedUp(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.CyclesNotificationResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.CyclesNotificationResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getCreatedCanisterId(),r!=null&&t.writeMessage(1,r,W.PrincipalId.serializeBinaryToWriter),r=o.getRefund(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter),r=o.getToppedUp(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getCreatedCanisterId=function(){return u.Message.getWrapperField(this,W.PrincipalId,1)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setCreatedCanisterId=function(o){return u.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearCreatedCanisterId=function(){return this.setCreatedCanisterId(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasCreatedCanisterId=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getRefund=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Refund,2)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setRefund=function(o){return u.Message.setOneofWrapperField(this,2,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearRefund=function(){return this.setRefund(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasRefund=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getToppedUp=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ToppedUp,3)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setToppedUp=function(o){return u.Message.setOneofWrapperField(this,3,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearToppedUp=function(){return this.setToppedUp(void 0)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasToppedUp=function(){return u.Message.getField(this,3)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.AccountBalanceRequest.toObject(o,this)},proto.ic_ledger.pb.v1.AccountBalanceRequest.toObject=function(o,t){var r,n={account:(r=t.getAccount())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.AccountBalanceRequest;return proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setAccount(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.AccountBalanceRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.AccountBalanceRequest.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getAccount(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.getAccount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.setAccount=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.clearAccount=function(){return this.setAccount(void 0)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.hasAccount=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.AccountBalanceResponse.toObject(o,this)},proto.ic_ledger.pb.v1.AccountBalanceResponse.toObject=function(o,t){var r,n={balance:(r=t.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.AccountBalanceResponse;return proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.AccountBalanceResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.AccountBalanceResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBalance(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.getBalance=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.setBalance=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.clearBalance=function(){return this.setBalance(void 0)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.hasBalance=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.TipOfChainRequest.toObject(o,this)},proto.ic_ledger.pb.v1.TipOfChainRequest.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.TipOfChainRequest;return proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter=function(o,t){var r=void 0};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.TipOfChainResponse.toObject(o,this)},proto.ic_ledger.pb.v1.TipOfChainResponse.toObject=function(o,t){var r,n={certification:(r=t.getCertification())&&proto.ic_ledger.pb.v1.Certification.toObject(o,r),chainLength:(r=t.getChainLength())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.TipOfChainResponse;return proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Certification;t.readMessage(n,proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader),o.setCertification(n);break;case 2:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setChainLength(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.TipOfChainResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.TipOfChainResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getCertification(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter),r=o.getChainLength(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getCertification=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Certification,1)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setCertification=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearCertification=function(){return this.setCertification(void 0)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasCertification=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getChainLength=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setChainLength=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearChainLength=function(){return this.setChainLength(void 0)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasChainLength=function(){return u.Message.getField(this,2)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.EncodedBlock.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.EncodedBlock.toObject(o,this)},proto.ic_ledger.pb.v1.EncodedBlock.toObject=function(o,t){var r,n={block:t.getBlock_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.EncodedBlock;return proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setBlock(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlock.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBlock_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asB64=function(){return u.Message.bytesAsB64(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asU8=function(){return u.Message.bytesAsU8(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.setBlock=function(o){return u.Message.setProto3BytesField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.GetBlocksRequest.toObject(o,this)},proto.ic_ledger.pb.v1.GetBlocksRequest.toObject=function(o,t){var r,n={start:u.Message.getFieldWithDefault(t,1,"0"),length:u.Message.getFieldWithDefault(t,2,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.GetBlocksRequest;return proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setStart(n);break;case 2:var n=t.readUint64String();o.setLength(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.GetBlocksRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.GetBlocksRequest.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getStart(),parseInt(r,10)!==0&&t.writeUint64String(1,r),r=o.getLength(),parseInt(r,10)!==0&&t.writeUint64String(2,r)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getStart=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setStart=function(o){return u.Message.setProto3StringIntField(this,1,o)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getLength=function(){return u.Message.getFieldWithDefault(this,2,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setLength=function(o){return u.Message.setProto3StringIntField(this,2,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Refund.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Refund.toObject(o,this)},proto.ic_ledger.pb.v1.Refund.toObject=function(o,t){var r,n={refund:(r=t.getRefund())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),error:u.Message.getFieldWithDefault(t,3,"")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Refund.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Refund;return proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 2:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setRefund(n);break;case 3:var n=t.readString();o.setError(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Refund.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Refund.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getRefund(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=o.getError(),r.length>0&&t.writeString(3,r)};proto.ic_ledger.pb.v1.Refund.prototype.getRefund=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.Refund.prototype.setRefund=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.Refund.prototype.clearRefund=function(){return this.setRefund(void 0)};proto.ic_ledger.pb.v1.Refund.prototype.hasRefund=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Refund.prototype.getError=function(){return u.Message.getFieldWithDefault(this,3,"")};proto.ic_ledger.pb.v1.Refund.prototype.setError=function(o){return u.Message.setProto3StringField(this,3,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.ToppedUp.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.ToppedUp.toObject(o,this)},proto.ic_ledger.pb.v1.ToppedUp.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.ToppedUp.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.ToppedUp;return proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.ToppedUp.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter=function(o,t){var r=void 0};proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_=[1];u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.EncodedBlocks.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.EncodedBlocks.toObject(o,this)},proto.ic_ledger.pb.v1.EncodedBlocks.toObject=function(o,t){var r,n={blocksList:u.Message.toObjectList(t.getBlocksList(),proto.ic_ledger.pb.v1.EncodedBlock.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.EncodedBlocks;return proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.EncodedBlock;t.readMessage(n,proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader),o.addBlocks(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBlocksList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.ic_ledger.pb.v1.EncodedBlock.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.getBlocksList=function(){return u.Message.getRepeatedWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlock,1)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.setBlocksList=function(o){return u.Message.setRepeatedWrapperField(this,1,o)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.addBlocks=function(o,t){return u.Message.addToRepeatedWrapperField(this,1,o,proto.ic_ledger.pb.v1.EncodedBlock,t)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.clearBlocksList=function(){return this.setBlocksList([])};proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_=[[1,2]];proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase={GET_BLOCKS_CONTENT_NOT_SET:0,BLOCKS:1,ERROR:2};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getGetBlocksContentCase=function(){return u.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.GetBlocksResponse.toObject(o,this)},proto.ic_ledger.pb.v1.GetBlocksResponse.toObject=function(o,t){var r,n={blocks:(r=t.getBlocks())&&proto.ic_ledger.pb.v1.EncodedBlocks.toObject(o,r),error:u.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.GetBlocksResponse;return proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.EncodedBlocks;t.readMessage(n,proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader),o.setBlocks(n);break;case 2:var n=t.readString();o.setError(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.GetBlocksResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.GetBlocksResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBlocks(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.EncodedBlocks.serializeBinaryToWriter),r=u.Message.getField(o,2),r!=null&&t.writeString(2,r)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getBlocks=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlocks,1)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setBlocks=function(o){return u.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearBlocks=function(){return this.setBlocks(void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasBlocks=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getError=function(){return u.Message.getFieldWithDefault(this,2,"")};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setError=function(o){return u.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearError=function(){return u.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError=function(){return u.Message.getField(this,2)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.ICPTs.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.ICPTs.toObject(o,this)},proto.ic_ledger.pb.v1.ICPTs.toObject=function(o,t){var r,n={e8s:u.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.ICPTs.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.ICPTs;return proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setE8s(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.ICPTs.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getE8s(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_ledger.pb.v1.ICPTs.prototype.getE8s=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.ICPTs.prototype.setE8s=function(o){return u.Message.setProto3StringIntField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Payment.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Payment.toObject(o,this)},proto.ic_ledger.pb.v1.Payment.toObject=function(o,t){var r,n={receiverGets:(r=t.getReceiverGets())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Payment.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Payment;return proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setReceiverGets(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Payment.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Payment.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getReceiverGets(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Payment.prototype.getReceiverGets=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.Payment.prototype.setReceiverGets=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.Payment.prototype.clearReceiverGets=function(){return this.setReceiverGets(void 0)};proto.ic_ledger.pb.v1.Payment.prototype.hasReceiverGets=function(){return u.Message.getField(this,1)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.BlockHeight.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.BlockHeight.toObject(o,this)},proto.ic_ledger.pb.v1.BlockHeight.toObject=function(o,t){var r,n={height:u.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.BlockHeight.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.BlockHeight;return proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setHeight(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.BlockHeight.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getHeight(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_ledger.pb.v1.BlockHeight.prototype.getHeight=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.BlockHeight.prototype.setHeight=function(o){return u.Message.setProto3StringIntField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Block.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Block.toObject(o,this)},proto.ic_ledger.pb.v1.Block.toObject=function(o,t){var r,n={parentHash:(r=t.getParentHash())&&proto.ic_ledger.pb.v1.Hash.toObject(o,r),timestamp:(r=t.getTimestamp())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(o,r),transaction:(r=t.getTransaction())&&proto.ic_ledger.pb.v1.Transaction.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Block.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Block;return proto.ic_ledger.pb.v1.Block.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Block.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Hash;t.readMessage(n,proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader),o.setParentHash(n);break;case 2:var n=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setTimestamp(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Transaction;t.readMessage(n,proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader),o.setTransaction(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Block.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Block.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Block.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getParentHash(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter),r=o.getTimestamp(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter),r=o.getTransaction(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Block.prototype.getParentHash=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Hash,1)};proto.ic_ledger.pb.v1.Block.prototype.setParentHash=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.Block.prototype.clearParentHash=function(){return this.setParentHash(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasParentHash=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTimestamp=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,2)};proto.ic_ledger.pb.v1.Block.prototype.setTimestamp=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.Block.prototype.clearTimestamp=function(){return this.setTimestamp(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasTimestamp=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTransaction=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Transaction,3)};proto.ic_ledger.pb.v1.Block.prototype.setTransaction=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.Block.prototype.clearTransaction=function(){return this.setTransaction(void 0)};proto.ic_ledger.pb.v1.Block.prototype.hasTransaction=function(){return u.Message.getField(this,3)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Hash.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Hash.toObject(o,this)},proto.ic_ledger.pb.v1.Hash.toObject=function(o,t){var r,n={hash:t.getHash_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Hash.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Hash;return proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setHash(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Hash.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Hash.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getHash_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.Hash.prototype.getHash=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asB64=function(){return u.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asU8=function(){return u.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.setHash=function(o){return u.Message.setProto3BytesField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Account.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Account.toObject(o,this)},proto.ic_ledger.pb.v1.Account.toObject=function(o,t){var r,n={identifier:(r=t.getIdentifier())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),balance:(r=t.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Account.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Account;return proto.ic_ledger.pb.v1.Account.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Account.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setIdentifier(n);break;case 2:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Account.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Account.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Account.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getIdentifier(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getBalance(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Account.prototype.getIdentifier=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Account.prototype.setIdentifier=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.Account.prototype.clearIdentifier=function(){return this.setIdentifier(void 0)};proto.ic_ledger.pb.v1.Account.prototype.hasIdentifier=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Account.prototype.getBalance=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.Account.prototype.setBalance=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.Account.prototype.clearBalance=function(){return this.setBalance(void 0)};proto.ic_ledger.pb.v1.Account.prototype.hasBalance=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.oneofGroups_=[[1,2,3]];proto.ic_ledger.pb.v1.Transaction.TransferCase={TRANSFER_NOT_SET:0,BURN:1,MINT:2,SEND:3};proto.ic_ledger.pb.v1.Transaction.prototype.getTransferCase=function(){return u.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0])};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Transaction.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Transaction.toObject(o,this)},proto.ic_ledger.pb.v1.Transaction.toObject=function(o,t){var r,n={burn:(r=t.getBurn())&&proto.ic_ledger.pb.v1.Burn.toObject(o,r),mint:(r=t.getMint())&&proto.ic_ledger.pb.v1.Mint.toObject(o,r),send:(r=t.getSend())&&proto.ic_ledger.pb.v1.Send.toObject(o,r),memo:(r=t.getMemo())&&proto.ic_ledger.pb.v1.Memo.toObject(o,r),createdAt:(r=t.getCreatedAt())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),createdAtTime:(r=t.getCreatedAtTime())&&proto.ic_ledger.pb.v1.TimeStamp.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Transaction.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Transaction;return proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.Burn;t.readMessage(n,proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader),o.setBurn(n);break;case 2:var n=new proto.ic_ledger.pb.v1.Mint;t.readMessage(n,proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader),o.setMint(n);break;case 3:var n=new proto.ic_ledger.pb.v1.Send;t.readMessage(n,proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader),o.setSend(n);break;case 4:var n=new proto.ic_ledger.pb.v1.Memo;t.readMessage(n,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(n);break;case 5:var n=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(n,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(n);break;case 6:var n=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(n,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Transaction.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Transaction.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getBurn(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter),r=o.getMint(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter),r=o.getSend(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter),r=o.getMemo(),r!=null&&t.writeMessage(4,r,proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter),r=o.getCreatedAt(),r!=null&&t.writeMessage(5,r,proto.ic_ledger.pb.v1.BlockHeight.serializeBinaryToWriter),r=o.getCreatedAtTime(),r!=null&&t.writeMessage(6,r,proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Transaction.prototype.getBurn=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Burn,1)};proto.ic_ledger.pb.v1.Transaction.prototype.setBurn=function(o){return u.Message.setOneofWrapperField(this,1,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearBurn=function(){return this.setBurn(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasBurn=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMint=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Mint,2)};proto.ic_ledger.pb.v1.Transaction.prototype.setMint=function(o){return u.Message.setOneofWrapperField(this,2,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearMint=function(){return this.setMint(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasMint=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getSend=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Send,3)};proto.ic_ledger.pb.v1.Transaction.prototype.setSend=function(o){return u.Message.setOneofWrapperField(this,3,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearSend=function(){return this.setSend(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasSend=function(){return u.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMemo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,4)};proto.ic_ledger.pb.v1.Transaction.prototype.setMemo=function(o){return u.Message.setWrapperField(this,4,o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearMemo=function(){return this.setMemo(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasMemo=function(){return u.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAt=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAt=function(o){return u.Message.setWrapperField(this,5,o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAt=function(){return u.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAtTime=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,6)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAtTime=function(o){return u.Message.setWrapperField(this,6,o)};proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAtTime=function(){return this.setCreatedAtTime(void 0)};proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAtTime=function(){return u.Message.getField(this,6)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Send.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Send.toObject(o,this)},proto.ic_ledger.pb.v1.Send.toObject=function(o,t){var r,n={from:(r=t.getFrom())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),to:(r=t.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),amount:(r=t.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r),maxFee:(r=t.getMaxFee())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Send.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Send;return proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(n);break;case 2:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(n);break;case 4:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Send.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Send.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getFrom(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getTo(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getAmount(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter),r=o.getMaxFee(),r!=null&&t.writeMessage(4,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Send.prototype.getFrom=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Send.prototype.setFrom=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.Send.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasFrom=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Send.prototype.getTo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Send.prototype.setTo=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.Send.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasTo=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Send.prototype.getAmount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Send.prototype.setAmount=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.Send.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasAmount=function(){return u.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Send.prototype.getMaxFee=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,4)};proto.ic_ledger.pb.v1.Send.prototype.setMaxFee=function(o){return u.Message.setWrapperField(this,4,o)};proto.ic_ledger.pb.v1.Send.prototype.clearMaxFee=function(){return this.setMaxFee(void 0)};proto.ic_ledger.pb.v1.Send.prototype.hasMaxFee=function(){return u.Message.getField(this,4)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Mint.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Mint.toObject(o,this)},proto.ic_ledger.pb.v1.Mint.toObject=function(o,t){var r,n={to:(r=t.getTo())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),amount:(r=t.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Mint.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Mint;return proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 2:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Mint.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Mint.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getTo(),r!=null&&t.writeMessage(2,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getAmount(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Mint.prototype.getTo=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Mint.prototype.setTo=function(o){return u.Message.setWrapperField(this,2,o)};proto.ic_ledger.pb.v1.Mint.prototype.clearTo=function(){return this.setTo(void 0)};proto.ic_ledger.pb.v1.Mint.prototype.hasTo=function(){return u.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Mint.prototype.getAmount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Mint.prototype.setAmount=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.Mint.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Mint.prototype.hasAmount=function(){return u.Message.getField(this,3)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Burn.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Burn.toObject(o,this)},proto.ic_ledger.pb.v1.Burn.toObject=function(o,t){var r,n={from:(r=t.getFrom())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r),amount:(r=t.getAmount())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Burn.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Burn;return proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(n,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(n);break;case 3:var n=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(n,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Burn.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Burn.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getFrom(),r!=null&&t.writeMessage(1,r,proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter),r=o.getAmount(),r!=null&&t.writeMessage(3,r,proto.ic_ledger.pb.v1.ICPTs.serializeBinaryToWriter)};proto.ic_ledger.pb.v1.Burn.prototype.getFrom=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Burn.prototype.setFrom=function(o){return u.Message.setWrapperField(this,1,o)};proto.ic_ledger.pb.v1.Burn.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_ledger.pb.v1.Burn.prototype.hasFrom=function(){return u.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Burn.prototype.getAmount=function(){return u.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Burn.prototype.setAmount=function(o){return u.Message.setWrapperField(this,3,o)};proto.ic_ledger.pb.v1.Burn.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_ledger.pb.v1.Burn.prototype.hasAmount=function(){return u.Message.getField(this,3)!=null};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.AccountIdentifier.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,this)},proto.ic_ledger.pb.v1.AccountIdentifier.toObject=function(o,t){var r,n={hash:t.getHash_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.AccountIdentifier;return proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setHash(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.AccountIdentifier.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getHash_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asB64=function(){return u.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asU8=function(){return u.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.setHash=function(o){return u.Message.setProto3BytesField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Subaccount.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Subaccount.toObject(o,this)},proto.ic_ledger.pb.v1.Subaccount.toObject=function(o,t){var r,n={subAccount:t.getSubAccount_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Subaccount.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Subaccount;return proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setSubAccount(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Subaccount.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Subaccount.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getSubAccount_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asB64=function(){return u.Message.bytesAsB64(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asU8=function(){return u.Message.bytesAsU8(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.setSubAccount=function(o){return u.Message.setProto3BytesField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Memo.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Memo.toObject(o,this)},proto.ic_ledger.pb.v1.Memo.toObject=function(o,t){var r,n={memo:u.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Memo.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Memo;return proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setMemo(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Memo.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Memo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMemo(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_ledger.pb.v1.Memo.prototype.getMemo=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.Memo.prototype.setMemo=function(o){return u.Message.setProto3StringIntField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.TimeStamp.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.TimeStamp.toObject(o,this)},proto.ic_ledger.pb.v1.TimeStamp.toObject=function(o,t){var r,n={timestampNanos:u.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.TimeStamp.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.TimeStamp;return proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setTimestampNanos(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TimeStamp.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.TimeStamp.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getTimestampNanos(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_ledger.pb.v1.TimeStamp.prototype.getTimestampNanos=function(){return u.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.TimeStamp.prototype.setTimestampNanos=function(o){return u.Message.setProto3StringIntField(this,1,o)};u.Message.GENERATE_TO_OBJECT&&(proto.ic_ledger.pb.v1.Certification.prototype.toObject=function(o){return proto.ic_ledger.pb.v1.Certification.toObject(o,this)},proto.ic_ledger.pb.v1.Certification.toObject=function(o,t){var r,n={certification:t.getCertification_asB64()};return o&&(n.$jspbMessageInstance=t),n});proto.ic_ledger.pb.v1.Certification.deserializeBinary=function(o){var t=new u.BinaryReader(o),r=new proto.ic_ledger.pb.v1.Certification;return proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader(r,t)};proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readBytes();o.setCertification(n);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Certification.prototype.serializeBinary=function(){var o=new u.BinaryWriter;return proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_ledger.pb.v1.Certification.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getCertification_asU8(),r.length>0&&t.writeBytes(1,r)};proto.ic_ledger.pb.v1.Certification.prototype.getCertification=function(){return u.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asB64=function(){return u.Message.bytesAsB64(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asU8=function(){return u.Message.bytesAsU8(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.setCertification=function(o){return u.Message.setProto3BytesField(this,1,o)};v.object.extend(Ft,proto.ic_ledger.pb.v1)});var dr=le((oa,lr)=>{lr.exports=require("crypto").randomBytes});var io=le(br=>{"use strict";var g=Ie(),h=g,E=function(){return this?this:typeof window<"u"?window:typeof E<"u"?E:typeof self<"u"?self:Function("return this")()}.call(null),M=eo();h.object.extend(proto,M);var Re=de();h.object.extend(proto,Re);h.exportSymbol("proto.ic_nns_governance.pb.v1.BallotInfo",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.GovernanceError",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeurons",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeuronsResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Configure",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Follow",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Merge",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.Neuron.Followees",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.NeuronInfo",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.NeuronStakeTransfer",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.Topic",null,E);h.exportSymbol("proto.ic_nns_governance.pb.v1.Vote",null,E);proto.ic_nns_governance.pb.v1.ManageNeuron=function(o){g.Message.initialize(this,o,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron");proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay");proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving");proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving");proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey");proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey");proto.ic_nns_governance.pb.v1.ManageNeuron.Configure=function(o){g.Message.initialize(this,o,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Configure");proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn");proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse");proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount");proto.ic_nns_governance.pb.v1.ManageNeuron.Follow=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Follow");proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote");proto.ic_nns_governance.pb.v1.ManageNeuron.Merge=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.Merge");proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity");proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.displayName="proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund");proto.ic_nns_governance.pb.v1.ManageNeuronResponse=function(o){g.Message.initialize(this,o,0,-1,null,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse");proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.displayName="proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse");proto.ic_nns_governance.pb.v1.GovernanceError=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.GovernanceError,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.GovernanceError.displayName="proto.ic_nns_governance.pb.v1.GovernanceError");proto.ic_nns_governance.pb.v1.ListNeurons=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_,null)};h.inherits(proto.ic_nns_governance.pb.v1.ListNeurons,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeurons.displayName="proto.ic_nns_governance.pb.v1.ListNeurons");proto.ic_nns_governance.pb.v1.ListNeuronsResponse=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_,null)};h.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.displayName="proto.ic_nns_governance.pb.v1.ListNeuronsResponse");proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.displayName="proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry");proto.ic_nns_governance.pb.v1.BallotInfo=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.BallotInfo,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.BallotInfo.displayName="proto.ic_nns_governance.pb.v1.BallotInfo");proto.ic_nns_governance.pb.v1.NeuronInfo=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_,null)};h.inherits(proto.ic_nns_governance.pb.v1.NeuronInfo,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.NeuronInfo.displayName="proto.ic_nns_governance.pb.v1.NeuronInfo");proto.ic_nns_governance.pb.v1.Neuron=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.Neuron.repeatedFields_,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_)};h.inherits(proto.ic_nns_governance.pb.v1.Neuron,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.Neuron.displayName="proto.ic_nns_governance.pb.v1.Neuron");proto.ic_nns_governance.pb.v1.Neuron.Followees=function(o){g.Message.initialize(this,o,0,-1,proto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_,null)};h.inherits(proto.ic_nns_governance.pb.v1.Neuron.Followees,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.Neuron.Followees.displayName="proto.ic_nns_governance.pb.v1.Neuron.Followees");proto.ic_nns_governance.pb.v1.NeuronStakeTransfer=function(o){g.Message.initialize(this,o,0,-1,null,null)};h.inherits(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer,g.Message);h.DEBUG&&!COMPILED&&(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.displayName="proto.ic_nns_governance.pb.v1.NeuronStakeTransfer");proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_=[[11,12],[2,3,4,5,7,13,14]];proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase={NEURON_ID_OR_SUBACCOUNT_NOT_SET:0,SUBACCOUNT:11,NEURON_ID:12};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronIdOrSubaccountCase=function(){return g.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0])};proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase={COMMAND_NOT_SET:0,CONFIGURE:2,DISBURSE:3,SPAWN:4,FOLLOW:5,REGISTER_VOTE:7,MERGE_MATURITY:13,MERGE:14};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getCommandCase=function(){return g.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.toObject=function(o,t){var r,n={id:(r=t.getId())&&M.NeuronId.toObject(o,r),subaccount:t.getSubaccount_asB64(),neuronId:(r=t.getNeuronId())&&M.NeuronId.toObject(o,r),configure:(r=t.getConfigure())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(o,r),disburse:(r=t.getDisburse())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(o,r),spawn:(r=t.getSpawn())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(o,r),follow:(r=t.getFollow())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(o,r),registerVote:(r=t.getRegisterVote())&&proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(o,r),mergeMaturity:(r=t.getMergeMaturity())&&proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(o,r),merge:(r=t.getMerge())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron;return proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.setId(n);break;case 11:var n=t.readBytes();o.setSubaccount(n);break;case 12:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.setNeuronId(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader),o.setConfigure(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader),o.setDisburse(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader),o.setSpawn(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader),o.setFollow(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader),o.setRegisterVote(n);break;case 13:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader),o.setMergeMaturity(n);break;case 14:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader),o.setMerge(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getId(),r!=null&&t.writeMessage(1,r,M.NeuronId.serializeBinaryToWriter),r=g.Message.getField(o,11),r!=null&&t.writeBytes(11,r),r=o.getNeuronId(),r!=null&&t.writeMessage(12,r,M.NeuronId.serializeBinaryToWriter),r=o.getConfigure(),r!=null&&t.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter),r=o.getDisburse(),r!=null&&t.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter),r=o.getSpawn(),r!=null&&t.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter),r=o.getFollow(),r!=null&&t.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter),r=o.getRegisterVote(),r!=null&&t.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter),r=o.getMergeMaturity(),r!=null&&t.writeMessage(13,r,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter),r=o.getMerge(),r!=null&&t.writeMessage(14,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject=function(o,t){var r,n={additionalDissolveDelaySeconds:g.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setAdditionalDissolveDelaySeconds(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getAdditionalDissolveDelaySeconds(),r!==0&&t.writeUint32(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.getAdditionalDissolveDelaySeconds=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.setAdditionalDissolveDelaySeconds=function(o){return g.Message.setProto3IntField(this,1,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter=function(o,t){var r=void 0};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter=function(o,t){var r=void 0};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject=function(o,t){var r,n={newHotKey:(r=t.getNewHotKey())&&M.PrincipalId.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.setNewHotKey(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getNewHotKey(),r!=null&&t.writeMessage(1,r,M.PrincipalId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.getNewHotKey=function(){return g.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.setNewHotKey=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.clearNewHotKey=function(){return this.setNewHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.hasNewHotKey=function(){return g.Message.getField(this,1)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject=function(o,t){var r,n={hotKeyToRemove:(r=t.getHotKeyToRemove())&&M.PrincipalId.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.setHotKeyToRemove(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getHotKeyToRemove(),r!=null&&t.writeMessage(1,r,M.PrincipalId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.getHotKeyToRemove=function(){return g.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.setHotKeyToRemove=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.clearHotKeyToRemove=function(){return this.setHotKeyToRemove(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.hasHotKeyToRemove=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_=[[1,2,3,4,5,7]];proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase={OPERATION_NOT_SET:0,INCREASE_DISSOLVE_DELAY:1,START_DISSOLVING:2,STOP_DISSOLVING:3,ADD_HOT_KEY:4,REMOVE_HOT_KEY:5,JOIN_COMMUNITY_FUND:7};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getOperationCase=function(){return g.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject=function(o,t){var r,n={increaseDissolveDelay:(r=t.getIncreaseDissolveDelay())&&proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(o,r),startDissolving:(r=t.getStartDissolving())&&proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(o,r),stopDissolving:(r=t.getStopDissolving())&&proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(o,r),addHotKey:(r=t.getAddHotKey())&&proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(o,r),removeHotKey:(r=t.getRemoveHotKey())&&proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(o,r),joinCommunityFund:(r=t.getJoinCommunityFund())&&proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader),o.setIncreaseDissolveDelay(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader),o.setStartDissolving(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader),o.setStopDissolving(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader),o.setAddHotKey(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader),o.setRemoveHotKey(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader),o.setJoinCommunityFund(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getIncreaseDissolveDelay(),r!=null&&t.writeMessage(1,r,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter),r=o.getStartDissolving(),r!=null&&t.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter),r=o.getStopDissolving(),r!=null&&t.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter),r=o.getAddHotKey(),r!=null&&t.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter),r=o.getRemoveHotKey(),r!=null&&t.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter),r=o.getJoinCommunityFund(),r!=null&&t.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getIncreaseDissolveDelay=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setIncreaseDissolveDelay=function(o){return g.Message.setOneofWrapperField(this,1,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearIncreaseDissolveDelay=function(){return this.setIncreaseDissolveDelay(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasIncreaseDissolveDelay=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStartDissolving=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStartDissolving=function(o){return g.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStartDissolving=function(){return this.setStartDissolving(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStartDissolving=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStopDissolving=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving,3)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStopDissolving=function(o){return g.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStopDissolving=function(){return this.setStopDissolving(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStopDissolving=function(){return g.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getAddHotKey=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey,4)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setAddHotKey=function(o){return g.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearAddHotKey=function(){return this.setAddHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasAddHotKey=function(){return g.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getRemoveHotKey=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey,5)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setRemoveHotKey=function(o){return g.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearRemoveHotKey=function(){return this.setRemoveHotKey(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasRemoveHotKey=function(){return g.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getJoinCommunityFund=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund,7)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setJoinCommunityFund=function(o){return g.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearJoinCommunityFund=function(){return this.setJoinCommunityFund(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasJoinCommunityFund=function(){return g.Message.getField(this,7)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject=function(o,t){var r,n={newController:(r=t.getNewController())&&M.PrincipalId.toObject(o,r),nonce:g.Message.getFieldWithDefault(t,2,0),percentageToSpawn:g.Message.getFieldWithDefault(t,3,0)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.setNewController(n);break;case 2:var n=t.readUint64();o.setNonce(n);break;case 3:var n=t.readUint32();o.setPercentageToSpawn(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getNewController(),r!=null&&t.writeMessage(1,r,M.PrincipalId.serializeBinaryToWriter),r=g.Message.getField(o,2),r!=null&&t.writeUint64(2,r),r=g.Message.getField(o,3),r!=null&&t.writeUint32(3,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNewController=function(){return g.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNewController=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNewController=function(){return this.setNewController(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNewController=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNonce=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNonce=function(o){return g.Message.setField(this,2,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNonce=function(){return g.Message.setField(this,2,void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNonce=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getPercentageToSpawn=function(){return g.Message.getFieldWithDefault(this,3,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setPercentageToSpawn=function(o){return g.Message.setField(this,3,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearPercentageToSpawn=function(){return g.Message.setField(this,3,void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasPercentageToSpawn=function(){return g.Message.getField(this,3)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject=function(o,t){var r,n={amount:(r=t.getAmount())&&proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(o,r),toAccount:(r=t.getToAccount())&&Re.AccountIdentifier.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader),o.setAmount(n);break;case 2:var n=new Re.AccountIdentifier;t.readMessage(n,Re.AccountIdentifier.deserializeBinaryFromReader),o.setToAccount(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getAmount(),r!=null&&t.writeMessage(1,r,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter),r=o.getToAccount(),r!=null&&t.writeMessage(2,r,Re.AccountIdentifier.serializeBinaryToWriter)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject=function(o,t){var r,n={e8s:g.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setE8s(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getE8s(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.getE8s=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.setE8s=function(o){return g.Message.setProto3StringIntField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getAmount=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setAmount=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearAmount=function(){return this.setAmount(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasAmount=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getToAccount=function(){return g.Message.getWrapperField(this,Re.AccountIdentifier,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setToAccount=function(o){return g.Message.setWrapperField(this,2,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearToAccount=function(){return this.setToAccount(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasToAccount=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_=[2];g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject=function(o,t){var r,n={topic:g.Message.getFieldWithDefault(t,1,0),followeesList:g.Message.toObjectList(t.getFolloweesList(),M.NeuronId.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readEnum();o.setTopic(n);break;case 2:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.addFollowees(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getTopic(),r!==0&&t.writeEnum(1,r),r=o.getFolloweesList(),r.length>0&&t.writeRepeatedMessage(2,r,M.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getTopic=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setTopic=function(o){return g.Message.setProto3EnumField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getFolloweesList=function(){return g.Message.getRepeatedWrapperField(this,M.NeuronId,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setFolloweesList=function(o){return g.Message.setRepeatedWrapperField(this,2,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.addFollowees=function(o,t){return g.Message.addToRepeatedWrapperField(this,2,o,proto.ic_base_types.pb.v1.NeuronId,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.clearFolloweesList=function(){return this.setFolloweesList([])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject=function(o,t){var r,n={proposal:(r=t.getProposal())&&M.ProposalId.toObject(o,r),vote:g.Message.getFieldWithDefault(t,2,0)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.ProposalId;t.readMessage(n,M.ProposalId.deserializeBinaryFromReader),o.setProposal(n);break;case 2:var n=t.readEnum();o.setVote(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getProposal(),r!=null&&t.writeMessage(1,r,M.ProposalId.serializeBinaryToWriter),r=o.getVote(),r!==0&&t.writeEnum(2,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getProposal=function(){return g.Message.getWrapperField(this,M.ProposalId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setProposal=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.clearProposal=function(){return this.setProposal(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.hasProposal=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getVote=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setVote=function(o){return g.Message.setProto3EnumField(this,2,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject=function(o,t){var r,n={sourceNeuronId:(r=t.getSourceNeuronId())&&M.NeuronId.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.setSourceNeuronId(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getSourceNeuronId(),r!=null&&t.writeMessage(1,r,M.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.getSourceNeuronId=function(){return g.Message.getWrapperField(this,M.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.setSourceNeuronId=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.clearSourceNeuronId=function(){return this.setSourceNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.hasSourceNeuronId=function(){return g.Message.getField(this,1)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject=function(o,t){var r,n={percentageToMerge:g.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setPercentageToMerge(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getPercentageToMerge(),r!==0&&t.writeUint32(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.getPercentageToMerge=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.setPercentageToMerge=function(o){return g.Message.setProto3IntField(this,1,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter=function(o,t){var r=void 0};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getId=function(){return g.Message.getWrapperField(this,M.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setId=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearId=function(){return this.setId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasId=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount=function(){return g.Message.getFieldWithDefault(this,11,"")};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asB64=function(){return g.Message.bytesAsB64(this.getSubaccount())};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asU8=function(){return g.Message.bytesAsU8(this.getSubaccount())};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSubaccount=function(o){return g.Message.setOneofField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSubaccount=function(){return g.Message.setOneofField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSubaccount=function(){return g.Message.getField(this,11)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronId=function(){return g.Message.getWrapperField(this,M.NeuronId,12)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setNeuronId=function(o){return g.Message.setOneofWrapperField(this,12,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearNeuronId=function(){return this.setNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasNeuronId=function(){return g.Message.getField(this,12)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getConfigure=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure,2)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setConfigure=function(o){return g.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearConfigure=function(){return this.setConfigure(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasConfigure=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getDisburse=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse,3)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setDisburse=function(o){return g.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearDisburse=function(){return this.setDisburse(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasDisburse=function(){return g.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSpawn=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn,4)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSpawn=function(o){return g.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSpawn=function(){return this.setSpawn(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSpawn=function(){return g.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getFollow=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow,5)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setFollow=function(o){return g.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearFollow=function(){return this.setFollow(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasFollow=function(){return g.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getRegisterVote=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote,7)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setRegisterVote=function(o){return g.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearRegisterVote=function(){return this.setRegisterVote(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasRegisterVote=function(){return g.Message.getField(this,7)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMergeMaturity=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity,13)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMergeMaturity=function(o){return g.Message.setOneofWrapperField(this,13,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMergeMaturity=function(){return this.setMergeMaturity(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMergeMaturity=function(){return g.Message.getField(this,13)!=null};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMerge=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge,14)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMerge=function(o){return g.Message.setOneofWrapperField(this,14,proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1],o)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMerge=function(){return this.setMerge(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMerge=function(){return g.Message.getField(this,14)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_=[[1,2,3,4,5,7,11,12]];proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase={COMMAND_NOT_SET:0,ERROR:1,CONFIGURE:2,DISBURSE:3,SPAWN:4,FOLLOW:5,REGISTER_VOTE:7,MERGE_MATURITY:11,MERGE:12};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getCommandCase=function(){return g.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject=function(o,t){var r,n={error:(r=t.getError())&&proto.ic_nns_governance.pb.v1.GovernanceError.toObject(o,r),configure:(r=t.getConfigure())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(o,r),disburse:(r=t.getDisburse())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(o,r),spawn:(r=t.getSpawn())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(o,r),follow:(r=t.getFollow())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(o,r),registerVote:(r=t.getRegisterVote())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(o,r),mergeMaturity:(r=t.getMergeMaturity())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(o,r),merge:(r=t.getMerge())&&proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.GovernanceError;t.readMessage(n,proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader),o.setError(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader),o.setConfigure(n);break;case 3:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader),o.setDisburse(n);break;case 4:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader),o.setSpawn(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader),o.setFollow(n);break;case 7:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader),o.setRegisterVote(n);break;case 11:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader),o.setMergeMaturity(n);break;case 12:var n=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;t.readMessage(n,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader),o.setMerge(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getError(),r!=null&&t.writeMessage(1,r,proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter),r=o.getConfigure(),r!=null&&t.writeMessage(2,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter),r=o.getDisburse(),r!=null&&t.writeMessage(3,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter),r=o.getSpawn(),r!=null&&t.writeMessage(4,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter),r=o.getFollow(),r!=null&&t.writeMessage(5,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter),r=o.getRegisterVote(),r!=null&&t.writeMessage(7,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter),r=o.getMergeMaturity(),r!=null&&t.writeMessage(11,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter),r=o.getMerge(),r!=null&&t.writeMessage(12,r,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter=function(o,t){var r=void 0};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject=function(o,t){var r,n={transferBlockHeight:g.Message.getFieldWithDefault(t,1,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setTransferBlockHeight(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getTransferBlockHeight(),parseInt(r,10)!==0&&t.writeUint64String(1,r)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.getTransferBlockHeight=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.setTransferBlockHeight=function(o){return g.Message.setProto3StringIntField(this,1,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject=function(o,t){var r,n={createdNeuronId:(r=t.getCreatedNeuronId())&&M.NeuronId.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.setCreatedNeuronId(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getCreatedNeuronId(),r!=null&&t.writeMessage(1,r,M.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.getCreatedNeuronId=function(){return g.Message.getWrapperField(this,M.NeuronId,1)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.setCreatedNeuronId=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.clearCreatedNeuronId=function(){return this.setCreatedNeuronId(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.hasCreatedNeuronId=function(){return g.Message.getField(this,1)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject=function(o,t){var r,n={mergedMaturityE8s:g.Message.getFieldWithDefault(t,1,"0"),newStakeE8s:g.Message.getFieldWithDefault(t,2,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setMergedMaturityE8s(n);break;case 2:var n=t.readUint64String();o.setNewStakeE8s(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMergedMaturityE8s(),parseInt(r,10)!==0&&t.writeUint64String(1,r),r=o.getNewStakeE8s(),parseInt(r,10)!==0&&t.writeUint64String(2,r)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getMergedMaturityE8s=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setMergedMaturityE8s=function(o){return g.Message.setProto3StringIntField(this,1,o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getNewStakeE8s=function(){return g.Message.getFieldWithDefault(this,2,"0")};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setNewStakeE8s=function(o){return g.Message.setProto3StringIntField(this,2,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter=function(o,t){var r=void 0};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter=function(o,t){var r=void 0};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject=function(o,t){var r,n={};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter=function(o,t){var r=void 0};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getError=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.GovernanceError,1)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setError=function(o){return g.Message.setOneofWrapperField(this,1,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearError=function(){return this.setError(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasError=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getConfigure=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse,2)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setConfigure=function(o){return g.Message.setOneofWrapperField(this,2,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearConfigure=function(){return this.setConfigure(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasConfigure=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getDisburse=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse,3)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setDisburse=function(o){return g.Message.setOneofWrapperField(this,3,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearDisburse=function(){return this.setDisburse(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasDisburse=function(){return g.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getSpawn=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse,4)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setSpawn=function(o){return g.Message.setOneofWrapperField(this,4,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearSpawn=function(){return this.setSpawn(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasSpawn=function(){return g.Message.getField(this,4)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getFollow=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse,5)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setFollow=function(o){return g.Message.setOneofWrapperField(this,5,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearFollow=function(){return this.setFollow(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasFollow=function(){return g.Message.getField(this,5)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getRegisterVote=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse,7)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setRegisterVote=function(o){return g.Message.setOneofWrapperField(this,7,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearRegisterVote=function(){return this.setRegisterVote(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasRegisterVote=function(){return g.Message.getField(this,7)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMergeMaturity=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse,11)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMergeMaturity=function(o){return g.Message.setOneofWrapperField(this,11,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMergeMaturity=function(){return this.setMergeMaturity(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMergeMaturity=function(){return g.Message.getField(this,11)!=null};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMerge=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse,12)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMerge=function(o){return g.Message.setOneofWrapperField(this,12,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMerge=function(){return this.setMerge(void 0)};proto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMerge=function(){return g.Message.getField(this,12)!=null};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.GovernanceError.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.GovernanceError.toObject(o,this)},proto.ic_nns_governance.pb.v1.GovernanceError.toObject=function(o,t){var r,n={errorType:g.Message.getFieldWithDefault(t,1,0),errorMessage:g.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.GovernanceError;return proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readEnum();o.setErrorType(n);break;case 2:var n=t.readString();o.setErrorMessage(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getErrorType(),r!==0&&t.writeEnum(1,r),r=o.getErrorMessage(),r.length>0&&t.writeString(2,r)};proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType={ERROR_TYPE_UNSPECIFIED:0,ERROR_TYPE_OK:1,ERROR_TYPE_UNAVAILABLE:2,ERROR_TYPE_NOT_AUTHORIZED:3,ERROR_TYPE_NOT_FOUND:4,ERROR_TYPE_INVALID_COMMAND:5,ERROR_TYPE_REQUIRES_NOT_DISSOLVING:6,ERROR_TYPE_REQUIRES_DISSOLVING:7,ERROR_TYPE_REQUIRES_DISSOLVED:8,ERROR_TYPE_HOT_KEY:9,ERROR_TYPE_RESOURCE_EXHAUSTED:10,ERROR_TYPE_PRECONDITION_FAILED:11,ERROR_TYPE_EXTERNAL:12,ERROR_TYPE_LEDGER_UPDATE_ONGOING:13,ERROR_TYPE_INSUFFICIENT_FUNDS:14,ERROR_TYPE_INVALID_PRINCIPAL:15,ERROR_TYPE_INVALID_PROPOSAL:16,ERROR_TYPE_ALREADY_JOINED_COMMUNITY_FUND:17};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorType=function(){return g.Message.getFieldWithDefault(this,1,0)};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorType=function(o){return g.Message.setProto3EnumField(this,1,o)};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorMessage=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorMessage=function(o){return g.Message.setProto3StringField(this,2,o)};proto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeurons.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ListNeurons.toObject(o,this)},proto.ic_nns_governance.pb.v1.ListNeurons.toObject=function(o,t){var r,n={neuronIdsList:(r=g.Message.getRepeatedField(t,1))==null?void 0:r,includeNeuronsReadableByCaller:g.Message.getBooleanFieldWithDefault(t,2,!1)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ListNeurons;return proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:for(var n=t.isDelimited()?t.readPackedFixed64String():[t.readFixed64String()],i=0;i<n.length;i++)o.addNeuronIds(n[i]);break;case 2:var p=t.readBool();o.setIncludeNeuronsReadableByCaller(p);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getNeuronIdsList(),r.length>0&&t.writePackedFixed64String(1,r),r=o.getIncludeNeuronsReadableByCaller(),r&&t.writeBool(2,r)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.getNeuronIdsList=function(){return g.Message.getRepeatedField(this,1)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.setNeuronIdsList=function(o){return g.Message.setField(this,1,o||[])};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.addNeuronIds=function(o,t){return g.Message.addToRepeatedField(this,1,o,t)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.clearNeuronIdsList=function(){return this.setNeuronIdsList([])};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.getIncludeNeuronsReadableByCaller=function(){return g.Message.getBooleanFieldWithDefault(this,2,!1)};proto.ic_nns_governance.pb.v1.ListNeurons.prototype.setIncludeNeuronsReadableByCaller=function(o){return g.Message.setProto3BooleanField(this,2,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_=[1,2];g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject(o,this)},proto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject=function(o,t){var r,n={neuronIdsList:g.Message.toObjectList(t.getNeuronIdsList(),proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject,o),fullNeuronsList:g.Message.toObjectList(t.getFullNeuronsList(),proto.ic_nns_governance.pb.v1.Neuron.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;t.readMessage(n,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader),o.addNeuronIds(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.Neuron;t.readMessage(n,proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader),o.addFullNeurons(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getNeuronIdsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter),r=o.getFullNeuronsList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject(o,this)},proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject=function(o,t){var r,n={key:g.Message.getFieldWithDefault(t,1,"0"),value:(r=t.getValue())&&proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readFixed64String();o.setKey(n);break;case 2:var n=new proto.ic_nns_governance.pb.v1.NeuronInfo;t.readMessage(n,proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader),o.setValue(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getKey(),parseInt(r,10)!==0&&t.writeFixed64String(1,r),r=o.getValue(),r!=null&&t.writeMessage(2,r,proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getKey=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setKey=function(o){return g.Message.setProto3StringIntField(this,1,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getValue=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.NeuronInfo,2)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setValue=function(o){return g.Message.setWrapperField(this,2,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.clearValue=function(){return this.setValue(void 0)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.hasValue=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getNeuronIdsList=function(){return g.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,1)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setNeuronIdsList=function(o){return g.Message.setRepeatedWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addNeuronIds=function(o,t){return g.Message.addToRepeatedWrapperField(this,1,o,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearNeuronIdsList=function(){return this.setNeuronIdsList([])};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getFullNeuronsList=function(){return g.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.Neuron,2)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setFullNeuronsList=function(o){return g.Message.setRepeatedWrapperField(this,2,o)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addFullNeurons=function(o,t){return g.Message.addToRepeatedWrapperField(this,2,o,proto.ic_nns_governance.pb.v1.Neuron,t)};proto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearFullNeuronsList=function(){return this.setFullNeuronsList([])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.BallotInfo.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.BallotInfo.toObject(o,this)},proto.ic_nns_governance.pb.v1.BallotInfo.toObject=function(o,t){var r,n={proposalId:(r=t.getProposalId())&&M.ProposalId.toObject(o,r),vote:g.Message.getFieldWithDefault(t,2,0)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.BallotInfo;return proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.ProposalId;t.readMessage(n,M.ProposalId.deserializeBinaryFromReader),o.setProposalId(n);break;case 2:var n=t.readEnum();o.setVote(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getProposalId(),r!=null&&t.writeMessage(1,r,M.ProposalId.serializeBinaryToWriter),r=o.getVote(),r!==0&&t.writeEnum(2,r)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.getProposalId=function(){return g.Message.getWrapperField(this,M.ProposalId,1)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.setProposalId=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.clearProposalId=function(){return this.setProposalId(void 0)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.hasProposalId=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.getVote=function(){return g.Message.getFieldWithDefault(this,2,0)};proto.ic_nns_governance.pb.v1.BallotInfo.prototype.setVote=function(o){return g.Message.setProto3EnumField(this,2,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_=[5];g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(o,this)},proto.ic_nns_governance.pb.v1.NeuronInfo.toObject=function(o,t){var r,n={retrievedAtTimestampSeconds:g.Message.getFieldWithDefault(t,1,"0"),ageSeconds:g.Message.getFieldWithDefault(t,3,"0"),dissolveDelaySeconds:g.Message.getFieldWithDefault(t,4,"0"),recentBallotsList:g.Message.toObjectList(t.getRecentBallotsList(),proto.ic_nns_governance.pb.v1.BallotInfo.toObject,o),votingPower:g.Message.getFieldWithDefault(t,6,"0"),createdTimestampSeconds:g.Message.getFieldWithDefault(t,7,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.NeuronInfo;return proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setRetrievedAtTimestampSeconds(n);break;case 3:var n=t.readUint64String();o.setAgeSeconds(n);break;case 4:var n=t.readUint64String();o.setDissolveDelaySeconds(n);break;case 5:var n=new proto.ic_nns_governance.pb.v1.BallotInfo;t.readMessage(n,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader),o.addRecentBallots(n);break;case 6:var n=t.readUint64String();o.setVotingPower(n);break;case 7:var n=t.readUint64String();o.setCreatedTimestampSeconds(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getRetrievedAtTimestampSeconds(),parseInt(r,10)!==0&&t.writeUint64String(1,r),r=o.getAgeSeconds(),parseInt(r,10)!==0&&t.writeUint64String(3,r),r=o.getDissolveDelaySeconds(),parseInt(r,10)!==0&&t.writeUint64String(4,r),r=o.getRecentBallotsList(),r.length>0&&t.writeRepeatedMessage(5,r,proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter),r=o.getVotingPower(),parseInt(r,10)!==0&&t.writeUint64String(6,r),r=o.getCreatedTimestampSeconds(),parseInt(r,10)!==0&&t.writeUint64String(7,r)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRetrievedAtTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRetrievedAtTimestampSeconds=function(o){return g.Message.setProto3StringIntField(this,1,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getAgeSeconds=function(){return g.Message.getFieldWithDefault(this,3,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setAgeSeconds=function(o){return g.Message.setProto3StringIntField(this,3,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getDissolveDelaySeconds=function(){return g.Message.getFieldWithDefault(this,4,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setDissolveDelaySeconds=function(o){return g.Message.setProto3StringIntField(this,4,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRecentBallotsList=function(){return g.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.BallotInfo,5)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRecentBallotsList=function(o){return g.Message.setRepeatedWrapperField(this,5,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.addRecentBallots=function(o,t){return g.Message.addToRepeatedWrapperField(this,5,o,proto.ic_nns_governance.pb.v1.BallotInfo,t)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.clearRecentBallotsList=function(){return this.setRecentBallotsList([])};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getVotingPower=function(){return g.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setVotingPower=function(o){return g.Message.setProto3StringIntField(this,6,o)};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getCreatedTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setCreatedTimestampSeconds=function(o){return g.Message.setProto3StringIntField(this,7,o)};proto.ic_nns_governance.pb.v1.Neuron.repeatedFields_=[4,12];proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_=[[9,10]];proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase={DISSOLVE_STATE_NOT_SET:0,WHEN_DISSOLVED_TIMESTAMP_SECONDS:9,DISSOLVE_DELAY_SECONDS:10};proto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveStateCase=function(){return g.Message.computeOneofCase(this,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0])};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.Neuron.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.Neuron.toObject(o,this)},proto.ic_nns_governance.pb.v1.Neuron.toObject=function(o,t){var r,n={id:(r=t.getId())&&M.NeuronId.toObject(o,r),account:t.getAccount_asB64(),controller:(r=t.getController())&&M.PrincipalId.toObject(o,r),hotKeysList:g.Message.toObjectList(t.getHotKeysList(),M.PrincipalId.toObject,o),cachedNeuronStakeE8s:g.Message.getFieldWithDefault(t,5,"0"),neuronFeesE8s:g.Message.getFieldWithDefault(t,6,"0"),createdTimestampSeconds:g.Message.getFieldWithDefault(t,7,"0"),agingSinceTimestampSeconds:g.Message.getFieldWithDefault(t,8,"0"),spawnAtTimestampSeconds:g.Message.getFieldWithDefault(t,19,"0"),whenDissolvedTimestampSeconds:g.Message.getFieldWithDefault(t,9,"0"),dissolveDelaySeconds:g.Message.getFieldWithDefault(t,10,"0"),followeesMap:(r=t.getFolloweesMap())?r.toObject(o,proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject):[],recentBallotsList:g.Message.toObjectList(t.getRecentBallotsList(),proto.ic_nns_governance.pb.v1.BallotInfo.toObject,o),kycVerified:g.Message.getBooleanFieldWithDefault(t,13,!1),transfer:(r=t.getTransfer())&&proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(o,r),maturityE8sEquivalent:g.Message.getFieldWithDefault(t,15,"0"),notForProfit:g.Message.getBooleanFieldWithDefault(t,16,!1)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.Neuron.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.Neuron;return proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.setId(n);break;case 2:var n=t.readBytes();o.setAccount(n);break;case 3:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.setController(n);break;case 4:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.addHotKeys(n);break;case 5:var n=t.readUint64String();o.setCachedNeuronStakeE8s(n);break;case 6:var n=t.readUint64String();o.setNeuronFeesE8s(n);break;case 7:var n=t.readUint64String();o.setCreatedTimestampSeconds(n);break;case 8:var n=t.readUint64String();o.setAgingSinceTimestampSeconds(n);break;case 19:var n=t.readUint64String();o.setSpawnAtTimestampSeconds(n);break;case 9:var n=t.readUint64String();o.setWhenDissolvedTimestampSeconds(n);break;case 10:var n=t.readUint64String();o.setDissolveDelaySeconds(n);break;case 11:var n=o.getFolloweesMap();t.readMessage(n,function(i,p){g.Map.deserializeBinary(i,p,g.BinaryReader.prototype.readInt32,g.BinaryReader.prototype.readMessage,proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader,0,new proto.ic_nns_governance.pb.v1.Neuron.Followees)});break;case 12:var n=new proto.ic_nns_governance.pb.v1.BallotInfo;t.readMessage(n,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader),o.addRecentBallots(n);break;case 13:var n=t.readBool();o.setKycVerified(n);break;case 14:var n=new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;t.readMessage(n,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader),o.setTransfer(n);break;case 15:var n=t.readUint64String();o.setMaturityE8sEquivalent(n);break;case 16:var n=t.readBool();o.setNotForProfit(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.Neuron.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getId(),r!=null&&t.writeMessage(1,r,M.NeuronId.serializeBinaryToWriter),r=o.getAccount_asU8(),r.length>0&&t.writeBytes(2,r),r=o.getController(),r!=null&&t.writeMessage(3,r,M.PrincipalId.serializeBinaryToWriter),r=o.getHotKeysList(),r.length>0&&t.writeRepeatedMessage(4,r,M.PrincipalId.serializeBinaryToWriter),r=o.getCachedNeuronStakeE8s(),parseInt(r,10)!==0&&t.writeUint64String(5,r),r=o.getNeuronFeesE8s(),parseInt(r,10)!==0&&t.writeUint64String(6,r),r=o.getCreatedTimestampSeconds(),parseInt(r,10)!==0&&t.writeUint64String(7,r),r=o.getAgingSinceTimestampSeconds(),parseInt(r,10)!==0&&t.writeUint64String(8,r),r=g.Message.getField(o,19),r!=null&&t.writeUint64String(19,r),r=g.Message.getField(o,9),r!=null&&t.writeUint64String(9,r),r=g.Message.getField(o,10),r!=null&&t.writeUint64String(10,r),r=o.getFolloweesMap(!0),r&&r.getLength()>0&&r.serializeBinary(11,t,g.BinaryWriter.prototype.writeInt32,g.BinaryWriter.prototype.writeMessage,proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter),r=o.getRecentBallotsList(),r.length>0&&t.writeRepeatedMessage(12,r,proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter),r=o.getKycVerified(),r&&t.writeBool(13,r),r=o.getTransfer(),r!=null&&t.writeMessage(14,r,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter),r=o.getMaturityE8sEquivalent(),parseInt(r,10)!==0&&t.writeUint64String(15,r),r=o.getNotForProfit(),r&&t.writeBool(16,r)};proto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_=[1];g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject(o,this)},proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject=function(o,t){var r,n={followeesList:g.Message.toObjectList(t.getFolloweesList(),M.NeuronId.toObject,o)};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.Neuron.Followees;return proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=new M.NeuronId;t.readMessage(n,M.NeuronId.deserializeBinaryFromReader),o.addFollowees(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getFolloweesList(),r.length>0&&t.writeRepeatedMessage(1,r,M.NeuronId.serializeBinaryToWriter)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.getFolloweesList=function(){return g.Message.getRepeatedWrapperField(this,M.NeuronId,1)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.setFolloweesList=function(o){return g.Message.setRepeatedWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.addFollowees=function(o,t){return g.Message.addToRepeatedWrapperField(this,1,o,proto.ic_base_types.pb.v1.NeuronId,t)};proto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.clearFolloweesList=function(){return this.setFolloweesList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getId=function(){return g.Message.getWrapperField(this,M.NeuronId,1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setId=function(o){return g.Message.setWrapperField(this,1,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearId=function(){return this.setId(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasId=function(){return g.Message.getField(this,1)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount=function(){return g.Message.getFieldWithDefault(this,2,"")};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asB64=function(){return g.Message.bytesAsB64(this.getAccount())};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asU8=function(){return g.Message.bytesAsU8(this.getAccount())};proto.ic_nns_governance.pb.v1.Neuron.prototype.setAccount=function(o){return g.Message.setProto3BytesField(this,2,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getController=function(){return g.Message.getWrapperField(this,M.PrincipalId,3)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setController=function(o){return g.Message.setWrapperField(this,3,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearController=function(){return this.setController(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasController=function(){return g.Message.getField(this,3)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getHotKeysList=function(){return g.Message.getRepeatedWrapperField(this,M.PrincipalId,4)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setHotKeysList=function(o){return g.Message.setRepeatedWrapperField(this,4,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.addHotKeys=function(o,t){return g.Message.addToRepeatedWrapperField(this,4,o,proto.ic_base_types.pb.v1.PrincipalId,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearHotKeysList=function(){return this.setHotKeysList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getCachedNeuronStakeE8s=function(){return g.Message.getFieldWithDefault(this,5,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setCachedNeuronStakeE8s=function(o){return g.Message.setProto3StringIntField(this,5,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getNeuronFeesE8s=function(){return g.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setNeuronFeesE8s=function(o){return g.Message.setProto3StringIntField(this,6,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getCreatedTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setCreatedTimestampSeconds=function(o){return g.Message.setProto3StringIntField(this,7,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getAgingSinceTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,8,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setAgingSinceTimestampSeconds=function(o){return g.Message.setProto3StringIntField(this,8,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getSpawnAtTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,19,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setSpawnAtTimestampSeconds=function(o){return g.Message.setField(this,19,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearSpawnAtTimestampSeconds=function(){return g.Message.setField(this,19,void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasSpawnAtTimestampSeconds=function(){return g.Message.getField(this,19)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getWhenDissolvedTimestampSeconds=function(){return g.Message.getFieldWithDefault(this,9,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setWhenDissolvedTimestampSeconds=function(o){return g.Message.setOneofField(this,9,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearWhenDissolvedTimestampSeconds=function(){return g.Message.setOneofField(this,9,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasWhenDissolvedTimestampSeconds=function(){return g.Message.getField(this,9)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveDelaySeconds=function(){return g.Message.getFieldWithDefault(this,10,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setDissolveDelaySeconds=function(o){return g.Message.setOneofField(this,10,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearDissolveDelaySeconds=function(){return g.Message.setOneofField(this,10,proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0],void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasDissolveDelaySeconds=function(){return g.Message.getField(this,10)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getFolloweesMap=function(o){return g.Message.getMapField(this,11,o,proto.ic_nns_governance.pb.v1.Neuron.Followees)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearFolloweesMap=function(){return this.getFolloweesMap().clear(),this};proto.ic_nns_governance.pb.v1.Neuron.prototype.getRecentBallotsList=function(){return g.Message.getRepeatedWrapperField(this,proto.ic_nns_governance.pb.v1.BallotInfo,12)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setRecentBallotsList=function(o){return g.Message.setRepeatedWrapperField(this,12,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.addRecentBallots=function(o,t){return g.Message.addToRepeatedWrapperField(this,12,o,proto.ic_nns_governance.pb.v1.BallotInfo,t)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearRecentBallotsList=function(){return this.setRecentBallotsList([])};proto.ic_nns_governance.pb.v1.Neuron.prototype.getKycVerified=function(){return g.Message.getBooleanFieldWithDefault(this,13,!1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setKycVerified=function(o){return g.Message.setProto3BooleanField(this,13,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getTransfer=function(){return g.Message.getWrapperField(this,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer,14)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setTransfer=function(o){return g.Message.setWrapperField(this,14,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.clearTransfer=function(){return this.setTransfer(void 0)};proto.ic_nns_governance.pb.v1.Neuron.prototype.hasTransfer=function(){return g.Message.getField(this,14)!=null};proto.ic_nns_governance.pb.v1.Neuron.prototype.getMaturityE8sEquivalent=function(){return g.Message.getFieldWithDefault(this,15,"0")};proto.ic_nns_governance.pb.v1.Neuron.prototype.setMaturityE8sEquivalent=function(o){return g.Message.setProto3StringIntField(this,15,o)};proto.ic_nns_governance.pb.v1.Neuron.prototype.getNotForProfit=function(){return g.Message.getBooleanFieldWithDefault(this,16,!1)};proto.ic_nns_governance.pb.v1.Neuron.prototype.setNotForProfit=function(o){return g.Message.setProto3BooleanField(this,16,o)};g.Message.GENERATE_TO_OBJECT&&(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.toObject=function(o){return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(o,this)},proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject=function(o,t){var r,n={transferTimestamp:g.Message.getFieldWithDefault(t,1,"0"),from:(r=t.getFrom())&&M.PrincipalId.toObject(o,r),fromSubaccount:t.getFromSubaccount_asB64(),toSubaccount:t.getToSubaccount_asB64(),neuronStakeE8s:g.Message.getFieldWithDefault(t,5,"0"),blockHeight:g.Message.getFieldWithDefault(t,6,"0"),memo:g.Message.getFieldWithDefault(t,7,"0")};return o&&(n.$jspbMessageInstance=t),n});proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinary=function(o){var t=new g.BinaryReader(o),r=new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader(r,t)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();){var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint64String();o.setTransferTimestamp(n);break;case 2:var n=new M.PrincipalId;t.readMessage(n,M.PrincipalId.deserializeBinaryFromReader),o.setFrom(n);break;case 3:var n=t.readBytes();o.setFromSubaccount(n);break;case 4:var n=t.readBytes();o.setToSubaccount(n);break;case 5:var n=t.readUint64String();o.setNeuronStakeE8s(n);break;case 6:var n=t.readUint64String();o.setBlockHeight(n);break;case 7:var n=t.readUint64String();o.setMemo(n);break;default:t.skipField();break}}return o};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.serializeBinary=function(){var o=new g.BinaryWriter;return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getTransferTimestamp(),parseInt(r,10)!==0&&t.writeUint64String(1,r),r=o.getFrom(),r!=null&&t.writeMessage(2,r,M.PrincipalId.serializeBinaryToWriter),r=o.getFromSubaccount_asU8(),r.length>0&&t.writeBytes(3,r),r=o.getToSubaccount_asU8(),r.length>0&&t.writeBytes(4,r),r=o.getNeuronStakeE8s(),parseInt(r,10)!==0&&t.writeUint64String(5,r),r=o.getBlockHeight(),parseInt(r,10)!==0&&t.writeUint64String(6,r),r=o.getMemo(),parseInt(r,10)!==0&&t.writeUint64String(7,r)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getTransferTimestamp=function(){return g.Message.getFieldWithDefault(this,1,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setTransferTimestamp=function(o){return g.Message.setProto3StringIntField(this,1,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFrom=function(){return g.Message.getWrapperField(this,M.PrincipalId,2)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFrom=function(o){return g.Message.setWrapperField(this,2,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.clearFrom=function(){return this.setFrom(void 0)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.hasFrom=function(){return g.Message.getField(this,2)!=null};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount=function(){return g.Message.getFieldWithDefault(this,3,"")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asB64=function(){return g.Message.bytesAsB64(this.getFromSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asU8=function(){return g.Message.bytesAsU8(this.getFromSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFromSubaccount=function(o){return g.Message.setProto3BytesField(this,3,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount=function(){return g.Message.getFieldWithDefault(this,4,"")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asB64=function(){return g.Message.bytesAsB64(this.getToSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asU8=function(){return g.Message.bytesAsU8(this.getToSubaccount())};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setToSubaccount=function(o){return g.Message.setProto3BytesField(this,4,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getNeuronStakeE8s=function(){return g.Message.getFieldWithDefault(this,5,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setNeuronStakeE8s=function(o){return g.Message.setProto3StringIntField(this,5,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getBlockHeight=function(){return g.Message.getFieldWithDefault(this,6,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setBlockHeight=function(o){return g.Message.setProto3StringIntField(this,6,o)};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getMemo=function(){return g.Message.getFieldWithDefault(this,7,"0")};proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setMemo=function(o){return g.Message.setProto3StringIntField(this,7,o)};proto.ic_nns_governance.pb.v1.Vote={VOTE_UNSPECIFIED:0,VOTE_YES:1,VOTE_NO:2};proto.ic_nns_governance.pb.v1.Topic={TOPIC_UNSPECIFIED:0,TOPIC_NEURON_MANAGEMENT:1,TOPIC_EXCHANGE_RATE:2,TOPIC_NETWORK_ECONOMICS:3,TOPIC_GOVERNANCE:4,TOPIC_NODE_ADMIN:5,TOPIC_PARTICIPANT_MANAGEMENT:6,TOPIC_SUBNET_MANAGEMENT:7,TOPIC_NETWORK_CANISTER_MANAGEMENT:8,TOPIC_KYC:9,TOPIC_NODE_PROVIDER_REWARDS:10,TOPIC_SNS_DECENTRALIZATION_SALE:11};h.object.extend(br,proto.ic_nns_governance.pb.v1)});var Si={};Wn(Si,{AccountIdentifier:()=>Q,BadFeeError:()=>no,CouldNotClaimNeuronError:()=>Ge,FeatureNotSupportedError:()=>Ke,FromICPStringError:()=>ut,GenesisTokenCanister:()=>Me,GovernanceCanister:()=>Ne,GovernanceError:()=>L,ICP:()=>V,InsufficientAmountError:()=>De,InsufficientFundsError:()=>Je,InvalidAccountIDError:()=>ve,InvalidPercentageError:()=>qe,InvalidSenderError:()=>ro,LedgerCanister:()=>Te,NeuronState:()=>vt,ProposalRewardStatus:()=>Zr,ProposalStatus:()=>Qr,SnsWasmCanister:()=>Ee,StakeNeuronError:()=>Ve,SubAccount:()=>oe,Topic:()=>en,TransferError:()=>te,TxCreatedInFutureError:()=>Xe,TxDuplicateError:()=>Ze,TxTooOldError:()=>$e,UnrecognizedTypeError:()=>re,UnsupportedValueError:()=>z,Vote:()=>Lr,accountIdentifierFromBytes:()=>bt,accountIdentifierToBytes:()=>_t,checkAccountId:()=>Rt,ineligibleNeurons:()=>wn,mapTransferError:()=>lt,mapTransferProtoError:()=>dt,principalToAccountIdentifier:()=>yt,votableNeurons:()=>Mi,votedNeurons:()=>Ri});module.exports=kn(Si);var tr=J(Le()),rr=J(de());var gt=require("buffer");var zn=(o,t=0)=>{let r=~~t,n=0;for(let i=0;i<o.length;i++)n+=o[i];return r+=n%256,r%256},wt=zn;var Bt=require("buffer"),In=(o,t)=>Bt.Buffer.from(o,t),Lo=In;function C(o,t){let r=(n,i)=>t(Lo(n),i)>>>0;return r.signed=(n,i)=>t(Lo(n),i),r.unsigned=r,r.model=o,r}var At=C("crc1",wt);var et=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];typeof Int32Array<"u"&&(et=new Int32Array(et));var Hn=(o,t=0)=>{let r=~~t;for(let n=0;n<o.length;n++)r=et[(r^o[n])&255]&255;return r},Ct=Hn;var Pt=C("crc-8",Ct);var ot=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];typeof Int32Array<"u"&&(ot=new Int32Array(ot));var Vn=(o,t=0)=>{let r=~~t;for(let n=0;n<o.length;n++)r=ot[(r^o[n])&255]&255;return r},jt=Vn;var Ut=C("dallas-1-wire",jt);var tt=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(tt=new Int32Array(tt));var Gn=(o,t=0)=>{let r=~~t;for(let n=0;n<o.length;n++)r=(tt[(r^o[n])&255]^r>>8)&65535;return r},Wt=Gn;var kt=C("crc-16",Wt);var rt=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];typeof Int32Array<"u"&&(rt=new Int32Array(rt));var Dn=(o,t)=>{let r=typeof t<"u"?~~t:65535;for(let n=0;n<o.length;n++)r=(rt[(r>>8^o[n])&255]^r<<8)&65535;return r},zt=Dn;var It=C("ccitt",zt);var nt=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(nt=new Int32Array(nt));var qn=(o,t)=>{let r=typeof t<"u"?~~t:65535;for(let n=0;n<o.length;n++)r=(nt[(r^o[n])&255]^r>>8)&65535;return r},Ht=qn;var Vt=C("crc-16-modbus",Ht);var Kn=(o,t)=>{let r=typeof t<"u"?~~t:0;for(let n=0;n<o.length;n++){let i=r>>>8&255;i^=o[n]&255,i^=i>>>4,r=r<<8&65535,r^=i,i=i<<5&65535,r^=i,i=i<<7&65535,r^=i}return r},Gt=Kn;var Dt=C("xmodem",Gt);var it=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];typeof Int32Array<"u"&&(it=new Int32Array(it));var Yn=(o,t)=>{let r=typeof t<"u"?~~t:0;for(let n=0;n<o.length;n++)r=(it[(r^o[n])&255]^r>>8)&65535;return r},qt=Yn;var Kt=C("kermit",qt);var st=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];typeof Int32Array<"u"&&(st=new Int32Array(st));var Jn=(o,t)=>{let r=typeof t<"u"?~~t:11994318;for(let n=0;n<o.length;n++)r=(st[(r>>16^o[n])&255]^r<<8)&16777215;return r},Yt=Jn;var Jt=C("crc-24",Yt);var at=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(at=new Int32Array(at));var $n=(o,t)=>{let r=t===0?0:~~t^-1;for(let n=0;n<o.length;n++)r=at[(r^o[n])&255]^r>>>8;return r^-1},$t=$n;var Xt=C("crc-32",$t);var pt=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(pt=new Int32Array(pt));var Xn=(o,t=-1)=>{let r=t===0?0:~~t;for(let n=0;n<o.length;n++)r=pt[(r^o[n])&255]^r>>>8;return r},Zt=Xn;var Qt=C("jam",Zt);var Lt={crc1:At,crc8:Pt,crc81wire:Ut,crc16:kt,crc16ccitt:It,crc16modbus:Vt,crc16xmodem:Dt,crc16kermit:Kt,crc24:Jt,crc32:Xt,crcjam:Qt};var er=o=>{let t=new DataView(o.buffer,o.byteOffset,o.byteLength);if(typeof t.getBigUint64=="function")return t.getBigUint64(0);{let r=BigInt(t.getUint32(0)),n=BigInt(t.getUint32(4));return(r<<BigInt(32))+n}},ct=o=>{let t=new Uint8Array(o);return Array.from(t)},or=o=>new Uint8Array(o);var be=o=>Array.from(o).map(t=>t.charCodeAt(0)),oo=o=>o.reduce((t,r)=>t+r.toString(16).padStart(2,"0"),""),ye=o=>{let t=new ArrayBuffer(4);return new DataView(t).setUint32(0,Lt.crc32(gt.Buffer.from(o)),!1),gt.Buffer.from(t)};var Q=class{constructor(t){this.bytes=t}static fromHex(t){return new Q(Uint8Array.from(Buffer.from(t,"hex")))}static fromPrincipal({principal:t,subAccount:r=oe.ZERO}){let n=be(`
14
+ account-id`),i=tr.sha224.create();i.update([...n,...t.toUint8Array(),...r.toUint8Array()]);let p=new Uint8Array(i.array()),l=ye(p),_=new Uint8Array([...l,...p]);return new Q(_)}toProto(){let t=new rr.AccountIdentifier;return t.setHash(this.bytes),t}toHex(){return oo(this.bytes)}toUint8Array(){return this.bytes}toNumbers(){return Array.from(this.bytes)}},he=class{constructor(t){this.bytes=t}static fromBytes(t){return t.length!=32?Error("Subaccount length must be 32-bytes"):new he(t)}static fromPrincipal(t){let r=new Uint8Array(32).fill(0),n=t.toUint8Array();r[0]=n.length;for(let i=0;i<n.length;i++)r[1+i]=n[i];return new he(r)}static fromID(t){if(t<0||t>255)throw"Subaccount ID must be >= 0 and <= 255";let r=new Uint8Array(32).fill(0);return r[31]=t,new he(r)}toUint8Array(){return this.bytes}},oe=he;oe.ZERO=he.fromID(0);var Ve=class extends Error{},Ge=class extends Ve{},De=class extends Ve{constructor(r){super();this.minimumAmount=r}},re=class extends Error{},L=class extends Error{constructor(r){super();this.detail=r}},qe=class extends Error{},ve=class extends Error{},z=class extends Error{constructor(t){super("Unsupported value: "+t)}},Ke=class extends Error{};var nr=J(de());var ks=BigInt(1095062083),zs=BigInt(1347768404),Ye=BigInt(1e4),to=BigInt(1e8);var ut=(r=>(r[r.FRACTIONAL_MORE_THAN_8_DECIMALS=0]="FRACTIONAL_MORE_THAN_8_DECIMALS",r[r.INVALID_FORMAT=1]="INVALID_FORMAT",r))(ut||{});var V=class{constructor(t){this.e8s=t}static fromE8s(t){return new V(t)}static fromString(t){t=t.trim().replace(/[,']/g,"");let r=t.match(/\d*(\.\d*)?/);if(!r||r[0]!==t)return 1;let[n,i]=t.split("."),p=BigInt(0);if(n)try{p+=BigInt(n)*to}catch{return 1}if(i){if(i.length>8)return 0;try{p+=BigInt(i.padEnd(8,"0"))}catch{return 1}}return new V(p)}toE8s(){return this.e8s}toProto(){let t=new nr.ICPTs;return t.setE8s(this.e8s.toString()),t}};var te=class extends Error{},ro=class extends te{},Je=class extends te{constructor(r){super();this.balance=r}},$e=class extends te{constructor(r){super();this.allowed_window_secs=r}},Xe=class extends te{},Ze=class extends te{constructor(r){super();this.duplicateOf=r}},no=class extends te{constructor(r){super();this.expectedFee=r}},lt=o=>{if("TxDuplicate"in o)return new Ze(o.TxDuplicate.duplicate_of);if("InsufficientFunds"in o){let t=V.fromE8s(o.InsufficientFunds.balance.e8s);return new Je(t)}return"TxCreatedInFuture"in o?new Xe:"TxTooOld"in o?new $e(Number(o.TxTooOld.allowed_window_nanos)):"BadFee"in o?new no(o.BadFee.expected_fee.e8s):new te(`Unknown error type ${JSON.stringify(o)}`)},dt=o=>{let{message:t}=o;if(t.includes("Reject code: 5")){if(t.match(/Sending from (.*) is not allowed/))return new ro;{let r=t.match(/transaction.*duplicate.* in block (\d+)/);if(r&&r.length>1)return new Ze(BigInt(r[1]))}{let r=t.match(/debit account.*, current balance: (\d*(\.\d*)?)/);if(r&&r.length>1){let n=V.fromString(r[1]);if(n instanceof V)return new Je(n)}}if(t.includes("is in future"))return new Xe;{let r=t.match(/older than (\d+)/);if(r&&r.length>1)return new $e(Number.parseInt(r[1]))}}throw o};var ur=require("@dfinity/utils");var ir=({IDL:o})=>{let t=o.Record({id:o.Nat64}),r=o.Variant({Ok:o.Vec(t),Err:o.Text}),n=o.Variant({Ok:o.Null,Err:o.Text}),i=o.Record({error:o.Opt(o.Text),timestamp_seconds:o.Nat64,neuron_id:o.Opt(t)}),p=o.Record({authenticated_principal_id:o.Opt(o.Principal),successfully_transferred_neurons:o.Vec(i),is_whitelisted_for_forwarding:o.Bool,has_donated:o.Bool,failed_transferred_neurons:o.Vec(i),neuron_ids:o.Vec(t),has_claimed:o.Bool,has_forwarded:o.Bool,icpts:o.Nat32}),l=o.Variant({Ok:p,Err:o.Text});return o.Service({balance:o.Func([o.Text],[o.Nat32],[]),claim_neurons:o.Func([o.Text],[r],[]),donate_account:o.Func([o.Text],[n],[]),forward_whitelisted_unclaimed_accounts:o.Func([o.Null],[n],[]),get_account:o.Func([o.Text],[l],[]),get_build_metadata:o.Func([],[o.Text],[]),len:o.Func([],[o.Nat16],[]),total:o.Func([],[o.Nat32],[])})};var sr=({IDL:o})=>{let t=o.Record({id:o.Nat64}),r=o.Variant({Ok:o.Vec(t),Err:o.Text}),n=o.Variant({Ok:o.Null,Err:o.Text}),i=o.Record({error:o.Opt(o.Text),timestamp_seconds:o.Nat64,neuron_id:o.Opt(t)}),p=o.Record({authenticated_principal_id:o.Opt(o.Principal),successfully_transferred_neurons:o.Vec(i),is_whitelisted_for_forwarding:o.Bool,has_donated:o.Bool,failed_transferred_neurons:o.Vec(i),neuron_ids:o.Vec(t),has_claimed:o.Bool,has_forwarded:o.Bool,icpts:o.Nat32}),l=o.Variant({Ok:p,Err:o.Text});return o.Service({balance:o.Func([o.Text],[o.Nat32],["query"]),claim_neurons:o.Func([o.Text],[r],[]),donate_account:o.Func([o.Text],[n],[]),forward_whitelisted_unclaimed_accounts:o.Func([o.Null],[n],[]),get_account:o.Func([o.Text],[l],["query"]),get_build_metadata:o.Func([],[o.Text],["query"]),len:o.Func([],[o.Nat16],["query"]),total:o.Func([],[o.Nat32],["query"])})};var me=require("@dfinity/principal"),$s=me.Principal.fromText("rrkah-fqaaa-aaaaa-aaaaq-cai"),ar=me.Principal.fromText("rrkah-fqaaa-aaaaa-aaaaq-cai"),pr=me.Principal.fromText("ryjl3-tyaaa-aaaaa-aaaba-cai"),gr=me.Principal.fromText("renrk-eyaaa-aaaaa-aaada-cai"),cr=me.Principal.fromText("r7inp-6aaaa-aaaaa-aaabq-cai");var Me=class{constructor(t){this.service=t;this.claimNeurons=async({hexPubKey:t})=>{let r=await this.service.claim_neurons(t);if("Ok"in r)return r.Ok.map(n=>n.id);throw new Error(r.Err)}}static create(t={}){let{service:r}=(0,ur.createServices)({options:{...t,canisterId:t.canisterId??gr},idlFactory:sr,certifiedIdlFactory:ir});return new Me(r)}};var bn=require("@dfinity/utils"),yn=J(Le()),hn=J(dr());var fr=({IDL:o})=>{let t=o.Rec(),r=o.Record({id:o.Nat64}),n=o.Record({followees:o.Vec(r)}),i=o.Record({hash:o.Vec(o.Nat8)}),p=o.Record({id:o.Opt(o.Principal),reward_account:o.Opt(i)}),l=o.Record({dissolve_delay_seconds:o.Nat64}),_=o.Record({to_account:o.Opt(i)}),y=o.Variant({RewardToNeuron:l,RewardToAccount:_}),R=o.Record({node_provider:o.Opt(p),reward_mode:o.Opt(y),amount_e8s:o.Nat64}),x=o.Record({timestamp:o.Nat64,rewards:o.Vec(R)}),O=o.Record({not_dissolving_neurons_e8s_buckets:o.Vec(o.Tuple(o.Nat64,o.Float64)),garbage_collectable_neurons_count:o.Nat64,neurons_with_invalid_stake_count:o.Nat64,not_dissolving_neurons_count_buckets:o.Vec(o.Tuple(o.Nat64,o.Nat64)),total_supply_icp:o.Nat64,neurons_with_less_than_6_months_dissolve_delay_count:o.Nat64,dissolved_neurons_count:o.Nat64,total_staked_e8s:o.Nat64,not_dissolving_neurons_count:o.Nat64,dissolved_neurons_e8s:o.Nat64,neurons_with_less_than_6_months_dissolve_delay_e8s:o.Nat64,dissolving_neurons_count_buckets:o.Vec(o.Tuple(o.Nat64,o.Nat64)),dissolving_neurons_count:o.Nat64,dissolving_neurons_e8s_buckets:o.Vec(o.Tuple(o.Nat64,o.Float64)),community_fund_total_staked_e8s:o.Nat64,timestamp_seconds:o.Nat64}),N=o.Record({neuron_minimum_stake_e8s:o.Nat64,max_proposals_to_keep_per_topic:o.Nat32,neuron_management_fee_per_proposal_e8s:o.Nat64,reject_cost_e8s:o.Nat64,transaction_fee_e8s:o.Nat64,neuron_spawn_dissolve_delay_seconds:o.Nat64,minimum_icp_xdr_rate:o.Nat64,maximum_node_provider_rewards_e8s:o.Nat64}),T=o.Record({day_after_genesis:o.Nat64,actual_timestamp_seconds:o.Nat64,distributed_e8s_equivalent:o.Nat64,settled_proposals:o.Vec(r)}),P=o.Record({to_subaccount:o.Vec(o.Nat8),neuron_stake_e8s:o.Nat64,from:o.Opt(o.Principal),memo:o.Nat64,from_subaccount:o.Vec(o.Nat8),transfer_timestamp:o.Nat64,block_height:o.Nat64}),w=o.Record({error_message:o.Text,error_type:o.Int32}),k=o.Record({vote:o.Int32,voting_power:o.Nat64}),H=o.Record({no:o.Nat64,yes:o.Nat64,total:o.Nat64,timestamp_seconds:o.Nat64}),U=o.Record({name:o.Text,description:o.Opt(o.Text)}),I=o.Record({id:o.Opt(r),known_neuron_data:o.Opt(U)}),X=o.Record({percentage_to_spawn:o.Opt(o.Nat32),new_controller:o.Opt(o.Principal),nonce:o.Opt(o.Nat64)}),q=o.Record({amount_e8s:o.Nat64}),Z=o.Record({topic:o.Int32,followees:o.Vec(r)}),Y=o.Record({controller:o.Opt(o.Principal),memo:o.Nat64}),se=o.Variant({NeuronIdOrSubaccount:o.Record({}),MemoAndController:Y,Memo:o.Nat64}),Oe=o.Record({by:o.Opt(se)}),lo=o.Record({hot_key_to_remove:o.Opt(o.Principal)}),fo=o.Record({new_hot_key:o.Opt(o.Principal)}),_o=o.Record({additional_dissolve_delay_seconds:o.Nat32}),bo=o.Record({dissolve_timestamp_seconds:o.Nat64}),yo=o.Variant({RemoveHotKey:lo,AddHotKey:fo,StopDissolving:o.Record({}),StartDissolving:o.Record({}),IncreaseDissolveDelay:_o,JoinCommunityFund:o.Record({}),LeaveCommunityFund:o.Record({}),SetDissolveTimestamp:bo}),Fe=o.Record({operation:o.Opt(yo)}),ho=o.Record({vote:o.Int32,proposal:o.Opt(r)}),we=o.Record({source_neuron_id:o.Opt(r)}),Be=o.Record({dissolve_delay_seconds:o.Nat64,kyc_verified:o.Bool,amount_e8s:o.Nat64,new_controller:o.Opt(o.Principal),nonce:o.Nat64}),Ae=o.Record({percentage_to_merge:o.Nat32}),vo=o.Record({e8s:o.Nat64}),Ce=o.Record({to_account:o.Opt(i),amount:o.Opt(vo)}),mo=o.Variant({Spawn:X,Split:q,Follow:Z,ClaimOrRefresh:Oe,Configure:Fe,RegisterVote:ho,Merge:we,DisburseToNeuron:Be,MakeProposal:t,MergeMaturity:Ae,Disburse:Ce}),ae=o.Variant({Subaccount:o.Vec(o.Nat8),NeuronId:r}),Pe=o.Record({id:o.Opt(r),command:o.Opt(mo),neuron_id_or_subaccount:o.Opt(ae)}),Mo=o.Record({nns_function:o.Int32,payload:o.Vec(o.Nat8)}),Ro=o.Record({start_timestamp_seconds:o.Nat64,end_timestamp_seconds:o.Nat64}),So=o.Record({open_time_window:o.Opt(Ro)}),No=o.Record({request:o.Opt(So),swap_canister_id:o.Opt(o.Principal)}),xo=o.Record({default_followees:o.Vec(o.Tuple(o.Int32,n))}),je=o.Record({use_registry_derived_rewards:o.Opt(o.Bool),rewards:o.Vec(R)}),To=o.Record({principals:o.Vec(o.Principal)}),Eo=o.Variant({ToRemove:p,ToAdd:p}),Oo=o.Record({change:o.Opt(Eo)}),Fo=o.Record({motion_text:o.Text}),wo=o.Variant({RegisterKnownNeuron:I,ManageNeuron:Pe,ExecuteNnsFunction:Mo,RewardNodeProvider:R,SetSnsTokenSwapOpenTimeWindow:No,SetDefaultFollowees:xo,RewardNodeProviders:je,ManageNetworkEconomics:N,ApproveGenesisKyc:To,AddOrRemoveNodeProvider:Oo,Motion:Fo});t.fill(o.Record({url:o.Text,title:o.Opt(o.Text),action:o.Opt(wo),summary:o.Text}));let Bo=o.Record({current_deadline_timestamp_seconds:o.Nat64}),Ao=o.Record({id:o.Opt(r),failure_reason:o.Opt(w),ballots:o.Vec(o.Tuple(o.Nat64,k)),proposal_timestamp_seconds:o.Nat64,reward_event_round:o.Nat64,failed_timestamp_seconds:o.Nat64,reject_cost_e8s:o.Nat64,latest_tally:o.Opt(H),decided_timestamp_seconds:o.Nat64,proposal:o.Opt(t),proposer:o.Opt(r),wait_for_quiet_state:o.Opt(Bo),executed_timestamp_seconds:o.Nat64}),Co=o.Variant({Spawn:r,Split:q,Configure:Fe,Merge:we,DisburseToNeuron:Be,ClaimOrRefreshNeuron:Oe,MergeMaturity:Ae,Disburse:Ce}),Po=o.Record({command:o.Opt(Co),timestamp:o.Nat64}),Ue=o.Record({vote:o.Int32,proposal_id:o.Opt(r)}),jo=o.Variant({DissolveDelaySeconds:o.Nat64,WhenDissolvedTimestampSeconds:o.Nat64}),pe=o.Record({id:o.Opt(r),controller:o.Opt(o.Principal),recent_ballots:o.Vec(Ue),kyc_verified:o.Bool,not_for_profit:o.Bool,maturity_e8s_equivalent:o.Nat64,cached_neuron_stake_e8s:o.Nat64,created_timestamp_seconds:o.Nat64,aging_since_timestamp_seconds:o.Nat64,hot_keys:o.Vec(o.Principal),account:o.Vec(o.Nat8),joined_community_fund_timestamp_seconds:o.Opt(o.Nat64),dissolve_state:o.Opt(jo),followees:o.Vec(o.Tuple(o.Int32,n)),neuron_fees_e8s:o.Nat64,transfer:o.Opt(P),known_neuron_data:o.Opt(U),spawn_at_timestamp_seconds:o.Opt(o.Nat64)}),Bn=o.Record({default_followees:o.Vec(o.Tuple(o.Int32,n)),most_recent_monthly_node_provider_rewards:o.Opt(x),wait_for_quiet_threshold_seconds:o.Nat64,metrics:o.Opt(O),cached_daily_maturity_modulation:o.Opt(o.Float64),node_providers:o.Vec(p),economics:o.Opt(N),spawning_neurons:o.Opt(o.Bool),latest_reward_event:o.Opt(T),to_claim_transfers:o.Vec(P),short_voting_period_seconds:o.Nat64,proposals:o.Vec(o.Tuple(o.Nat64,Ao)),in_flight_commands:o.Vec(o.Tuple(o.Nat64,Po)),neurons:o.Vec(o.Tuple(o.Nat64,pe)),last_updated_maturity_modulation_cache:o.Opt(o.Nat64),genesis_timestamp_seconds:o.Nat64}),ge=o.Variant({Ok:o.Null,Err:w}),Uo=o.Variant({Error:w,NeuronId:r}),Wo=o.Record({result:o.Opt(Uo)}),We=o.Variant({Ok:pe,Err:w}),ko=o.Variant({Ok:je,Err:w}),ke=o.Record({dissolve_delay_seconds:o.Nat64,recent_ballots:o.Vec(Ue),created_timestamp_seconds:o.Nat64,state:o.Int32,stake_e8s:o.Nat64,joined_community_fund_timestamp_seconds:o.Opt(o.Nat64),retrieved_at_timestamp_seconds:o.Nat64,known_neuron_data:o.Opt(U),voting_power:o.Nat64,age_seconds:o.Nat64}),ze=o.Variant({Ok:ke,Err:w}),zo=o.Variant({Ok:p,Err:w}),ce=o.Record({id:o.Opt(r),status:o.Int32,topic:o.Int32,failure_reason:o.Opt(w),ballots:o.Vec(o.Tuple(o.Nat64,k)),proposal_timestamp_seconds:o.Nat64,reward_event_round:o.Nat64,deadline_timestamp_seconds:o.Opt(o.Nat64),failed_timestamp_seconds:o.Nat64,reject_cost_e8s:o.Nat64,latest_tally:o.Opt(H),reward_status:o.Int32,decided_timestamp_seconds:o.Nat64,proposal:o.Opt(t),proposer:o.Opt(r),executed_timestamp_seconds:o.Nat64}),Io=o.Record({known_neurons:o.Vec(I)}),Ho=o.Record({neuron_ids:o.Vec(o.Nat64),include_neurons_readable_by_caller:o.Bool}),Vo=o.Record({neuron_infos:o.Vec(o.Tuple(o.Nat64,ke)),full_neurons:o.Vec(pe)}),Go=o.Record({node_providers:o.Vec(p)}),Do=o.Record({include_reward_status:o.Vec(o.Int32),before_proposal:o.Opt(r),limit:o.Nat32,exclude_topic:o.Vec(o.Int32),include_status:o.Vec(o.Int32)}),qo=o.Record({proposal_info:o.Vec(ce)}),ue=o.Record({created_neuron_id:o.Opt(r)}),Ko=o.Record({refreshed_neuron_id:o.Opt(r)}),Yo=o.Record({proposal_id:o.Opt(r)}),Jo=o.Record({merged_maturity_e8s:o.Nat64,new_stake_e8s:o.Nat64}),$o=o.Record({transfer_block_height:o.Nat64}),Xo=o.Variant({Error:w,Spawn:ue,Split:ue,Follow:o.Record({}),ClaimOrRefresh:Ko,Configure:o.Record({}),RegisterVote:o.Record({}),Merge:o.Record({}),DisburseToNeuron:ue,MakeProposal:Yo,MergeMaturity:Jo,Disburse:$o}),Zo=o.Record({command:o.Opt(Xo)}),Qo=o.Record({reward_account:o.Opt(i)});return o.Service({claim_gtc_neurons:o.Func([o.Principal,o.Vec(r)],[ge],[]),claim_or_refresh_neuron_from_account:o.Func([Y],[Wo],[]),get_build_metadata:o.Func([],[o.Text],[]),get_full_neuron:o.Func([o.Nat64],[We],[]),get_full_neuron_by_id_or_subaccount:o.Func([ae],[We],[]),get_monthly_node_provider_rewards:o.Func([],[ko],[]),get_most_recent_monthly_node_provider_rewards:o.Func([],[o.Opt(x)],[]),get_network_economics_parameters:o.Func([],[N],[]),get_neuron_ids:o.Func([],[o.Vec(o.Nat64)],[]),get_neuron_info:o.Func([o.Nat64],[ze],[]),get_neuron_info_by_id_or_subaccount:o.Func([ae],[ze],[]),get_node_provider_by_caller:o.Func([o.Null],[zo],[]),get_pending_proposals:o.Func([],[o.Vec(ce)],[]),get_proposal_info:o.Func([o.Nat64],[o.Opt(ce)],[]),list_known_neurons:o.Func([],[Io],[]),list_neurons:o.Func([Ho],[Vo],[]),list_node_providers:o.Func([],[Go],[]),list_proposals:o.Func([Do],[qo],[]),manage_neuron:o.Func([Pe],[Zo],[]),transfer_gtc_neuron:o.Func([r,r],[ge],[]),update_node_provider:o.Func([Qo],[ge],[])})};var _r=({IDL:o})=>{let t=o.Rec(),r=o.Record({id:o.Nat64}),n=o.Record({followees:o.Vec(r)}),i=o.Record({hash:o.Vec(o.Nat8)}),p=o.Record({id:o.Opt(o.Principal),reward_account:o.Opt(i)}),l=o.Record({dissolve_delay_seconds:o.Nat64}),_=o.Record({to_account:o.Opt(i)}),y=o.Variant({RewardToNeuron:l,RewardToAccount:_}),R=o.Record({node_provider:o.Opt(p),reward_mode:o.Opt(y),amount_e8s:o.Nat64}),x=o.Record({timestamp:o.Nat64,rewards:o.Vec(R)}),O=o.Record({not_dissolving_neurons_e8s_buckets:o.Vec(o.Tuple(o.Nat64,o.Float64)),garbage_collectable_neurons_count:o.Nat64,neurons_with_invalid_stake_count:o.Nat64,not_dissolving_neurons_count_buckets:o.Vec(o.Tuple(o.Nat64,o.Nat64)),total_supply_icp:o.Nat64,neurons_with_less_than_6_months_dissolve_delay_count:o.Nat64,dissolved_neurons_count:o.Nat64,total_staked_e8s:o.Nat64,not_dissolving_neurons_count:o.Nat64,dissolved_neurons_e8s:o.Nat64,neurons_with_less_than_6_months_dissolve_delay_e8s:o.Nat64,dissolving_neurons_count_buckets:o.Vec(o.Tuple(o.Nat64,o.Nat64)),dissolving_neurons_count:o.Nat64,dissolving_neurons_e8s_buckets:o.Vec(o.Tuple(o.Nat64,o.Float64)),community_fund_total_staked_e8s:o.Nat64,timestamp_seconds:o.Nat64}),N=o.Record({neuron_minimum_stake_e8s:o.Nat64,max_proposals_to_keep_per_topic:o.Nat32,neuron_management_fee_per_proposal_e8s:o.Nat64,reject_cost_e8s:o.Nat64,transaction_fee_e8s:o.Nat64,neuron_spawn_dissolve_delay_seconds:o.Nat64,minimum_icp_xdr_rate:o.Nat64,maximum_node_provider_rewards_e8s:o.Nat64}),T=o.Record({day_after_genesis:o.Nat64,actual_timestamp_seconds:o.Nat64,distributed_e8s_equivalent:o.Nat64,settled_proposals:o.Vec(r)}),P=o.Record({to_subaccount:o.Vec(o.Nat8),neuron_stake_e8s:o.Nat64,from:o.Opt(o.Principal),memo:o.Nat64,from_subaccount:o.Vec(o.Nat8),transfer_timestamp:o.Nat64,block_height:o.Nat64}),w=o.Record({error_message:o.Text,error_type:o.Int32}),k=o.Record({vote:o.Int32,voting_power:o.Nat64}),H=o.Record({no:o.Nat64,yes:o.Nat64,total:o.Nat64,timestamp_seconds:o.Nat64}),U=o.Record({name:o.Text,description:o.Opt(o.Text)}),I=o.Record({id:o.Opt(r),known_neuron_data:o.Opt(U)}),X=o.Record({percentage_to_spawn:o.Opt(o.Nat32),new_controller:o.Opt(o.Principal),nonce:o.Opt(o.Nat64)}),q=o.Record({amount_e8s:o.Nat64}),Z=o.Record({topic:o.Int32,followees:o.Vec(r)}),Y=o.Record({controller:o.Opt(o.Principal),memo:o.Nat64}),se=o.Variant({NeuronIdOrSubaccount:o.Record({}),MemoAndController:Y,Memo:o.Nat64}),Oe=o.Record({by:o.Opt(se)}),lo=o.Record({hot_key_to_remove:o.Opt(o.Principal)}),fo=o.Record({new_hot_key:o.Opt(o.Principal)}),_o=o.Record({additional_dissolve_delay_seconds:o.Nat32}),bo=o.Record({dissolve_timestamp_seconds:o.Nat64}),yo=o.Variant({RemoveHotKey:lo,AddHotKey:fo,StopDissolving:o.Record({}),StartDissolving:o.Record({}),IncreaseDissolveDelay:_o,JoinCommunityFund:o.Record({}),LeaveCommunityFund:o.Record({}),SetDissolveTimestamp:bo}),Fe=o.Record({operation:o.Opt(yo)}),ho=o.Record({vote:o.Int32,proposal:o.Opt(r)}),we=o.Record({source_neuron_id:o.Opt(r)}),Be=o.Record({dissolve_delay_seconds:o.Nat64,kyc_verified:o.Bool,amount_e8s:o.Nat64,new_controller:o.Opt(o.Principal),nonce:o.Nat64}),Ae=o.Record({percentage_to_merge:o.Nat32}),vo=o.Record({e8s:o.Nat64}),Ce=o.Record({to_account:o.Opt(i),amount:o.Opt(vo)}),mo=o.Variant({Spawn:X,Split:q,Follow:Z,ClaimOrRefresh:Oe,Configure:Fe,RegisterVote:ho,Merge:we,DisburseToNeuron:Be,MakeProposal:t,MergeMaturity:Ae,Disburse:Ce}),ae=o.Variant({Subaccount:o.Vec(o.Nat8),NeuronId:r}),Pe=o.Record({id:o.Opt(r),command:o.Opt(mo),neuron_id_or_subaccount:o.Opt(ae)}),Mo=o.Record({nns_function:o.Int32,payload:o.Vec(o.Nat8)}),Ro=o.Record({start_timestamp_seconds:o.Nat64,end_timestamp_seconds:o.Nat64}),So=o.Record({open_time_window:o.Opt(Ro)}),No=o.Record({request:o.Opt(So),swap_canister_id:o.Opt(o.Principal)}),xo=o.Record({default_followees:o.Vec(o.Tuple(o.Int32,n))}),je=o.Record({use_registry_derived_rewards:o.Opt(o.Bool),rewards:o.Vec(R)}),To=o.Record({principals:o.Vec(o.Principal)}),Eo=o.Variant({ToRemove:p,ToAdd:p}),Oo=o.Record({change:o.Opt(Eo)}),Fo=o.Record({motion_text:o.Text}),wo=o.Variant({RegisterKnownNeuron:I,ManageNeuron:Pe,ExecuteNnsFunction:Mo,RewardNodeProvider:R,SetSnsTokenSwapOpenTimeWindow:No,SetDefaultFollowees:xo,RewardNodeProviders:je,ManageNetworkEconomics:N,ApproveGenesisKyc:To,AddOrRemoveNodeProvider:Oo,Motion:Fo});t.fill(o.Record({url:o.Text,title:o.Opt(o.Text),action:o.Opt(wo),summary:o.Text}));let Bo=o.Record({current_deadline_timestamp_seconds:o.Nat64}),Ao=o.Record({id:o.Opt(r),failure_reason:o.Opt(w),ballots:o.Vec(o.Tuple(o.Nat64,k)),proposal_timestamp_seconds:o.Nat64,reward_event_round:o.Nat64,failed_timestamp_seconds:o.Nat64,reject_cost_e8s:o.Nat64,latest_tally:o.Opt(H),decided_timestamp_seconds:o.Nat64,proposal:o.Opt(t),proposer:o.Opt(r),wait_for_quiet_state:o.Opt(Bo),executed_timestamp_seconds:o.Nat64}),Co=o.Variant({Spawn:r,Split:q,Configure:Fe,Merge:we,DisburseToNeuron:Be,ClaimOrRefreshNeuron:Oe,MergeMaturity:Ae,Disburse:Ce}),Po=o.Record({command:o.Opt(Co),timestamp:o.Nat64}),Ue=o.Record({vote:o.Int32,proposal_id:o.Opt(r)}),jo=o.Variant({DissolveDelaySeconds:o.Nat64,WhenDissolvedTimestampSeconds:o.Nat64}),pe=o.Record({id:o.Opt(r),controller:o.Opt(o.Principal),recent_ballots:o.Vec(Ue),kyc_verified:o.Bool,not_for_profit:o.Bool,maturity_e8s_equivalent:o.Nat64,cached_neuron_stake_e8s:o.Nat64,created_timestamp_seconds:o.Nat64,aging_since_timestamp_seconds:o.Nat64,hot_keys:o.Vec(o.Principal),account:o.Vec(o.Nat8),joined_community_fund_timestamp_seconds:o.Opt(o.Nat64),dissolve_state:o.Opt(jo),followees:o.Vec(o.Tuple(o.Int32,n)),neuron_fees_e8s:o.Nat64,transfer:o.Opt(P),known_neuron_data:o.Opt(U),spawn_at_timestamp_seconds:o.Opt(o.Nat64)}),Bn=o.Record({default_followees:o.Vec(o.Tuple(o.Int32,n)),most_recent_monthly_node_provider_rewards:o.Opt(x),wait_for_quiet_threshold_seconds:o.Nat64,metrics:o.Opt(O),cached_daily_maturity_modulation:o.Opt(o.Float64),node_providers:o.Vec(p),economics:o.Opt(N),spawning_neurons:o.Opt(o.Bool),latest_reward_event:o.Opt(T),to_claim_transfers:o.Vec(P),short_voting_period_seconds:o.Nat64,proposals:o.Vec(o.Tuple(o.Nat64,Ao)),in_flight_commands:o.Vec(o.Tuple(o.Nat64,Po)),neurons:o.Vec(o.Tuple(o.Nat64,pe)),last_updated_maturity_modulation_cache:o.Opt(o.Nat64),genesis_timestamp_seconds:o.Nat64}),ge=o.Variant({Ok:o.Null,Err:w}),Uo=o.Variant({Error:w,NeuronId:r}),Wo=o.Record({result:o.Opt(Uo)}),We=o.Variant({Ok:pe,Err:w}),ko=o.Variant({Ok:je,Err:w}),ke=o.Record({dissolve_delay_seconds:o.Nat64,recent_ballots:o.Vec(Ue),created_timestamp_seconds:o.Nat64,state:o.Int32,stake_e8s:o.Nat64,joined_community_fund_timestamp_seconds:o.Opt(o.Nat64),retrieved_at_timestamp_seconds:o.Nat64,known_neuron_data:o.Opt(U),voting_power:o.Nat64,age_seconds:o.Nat64}),ze=o.Variant({Ok:ke,Err:w}),zo=o.Variant({Ok:p,Err:w}),ce=o.Record({id:o.Opt(r),status:o.Int32,topic:o.Int32,failure_reason:o.Opt(w),ballots:o.Vec(o.Tuple(o.Nat64,k)),proposal_timestamp_seconds:o.Nat64,reward_event_round:o.Nat64,deadline_timestamp_seconds:o.Opt(o.Nat64),failed_timestamp_seconds:o.Nat64,reject_cost_e8s:o.Nat64,latest_tally:o.Opt(H),reward_status:o.Int32,decided_timestamp_seconds:o.Nat64,proposal:o.Opt(t),proposer:o.Opt(r),executed_timestamp_seconds:o.Nat64}),Io=o.Record({known_neurons:o.Vec(I)}),Ho=o.Record({neuron_ids:o.Vec(o.Nat64),include_neurons_readable_by_caller:o.Bool}),Vo=o.Record({neuron_infos:o.Vec(o.Tuple(o.Nat64,ke)),full_neurons:o.Vec(pe)}),Go=o.Record({node_providers:o.Vec(p)}),Do=o.Record({include_reward_status:o.Vec(o.Int32),before_proposal:o.Opt(r),limit:o.Nat32,exclude_topic:o.Vec(o.Int32),include_status:o.Vec(o.Int32)}),qo=o.Record({proposal_info:o.Vec(ce)}),ue=o.Record({created_neuron_id:o.Opt(r)}),Ko=o.Record({refreshed_neuron_id:o.Opt(r)}),Yo=o.Record({proposal_id:o.Opt(r)}),Jo=o.Record({merged_maturity_e8s:o.Nat64,new_stake_e8s:o.Nat64}),$o=o.Record({transfer_block_height:o.Nat64}),Xo=o.Variant({Error:w,Spawn:ue,Split:ue,Follow:o.Record({}),ClaimOrRefresh:Ko,Configure:o.Record({}),RegisterVote:o.Record({}),Merge:o.Record({}),DisburseToNeuron:ue,MakeProposal:Yo,MergeMaturity:Jo,Disburse:$o}),Zo=o.Record({command:o.Opt(Xo)}),Qo=o.Record({reward_account:o.Opt(i)});return o.Service({claim_gtc_neurons:o.Func([o.Principal,o.Vec(r)],[ge],[]),claim_or_refresh_neuron_from_account:o.Func([Y],[Wo],[]),get_build_metadata:o.Func([],[o.Text],["query"]),get_full_neuron:o.Func([o.Nat64],[We],["query"]),get_full_neuron_by_id_or_subaccount:o.Func([ae],[We],["query"]),get_monthly_node_provider_rewards:o.Func([],[ko],[]),get_most_recent_monthly_node_provider_rewards:o.Func([],[o.Opt(x)],["query"]),get_network_economics_parameters:o.Func([],[N],["query"]),get_neuron_ids:o.Func([],[o.Vec(o.Nat64)],["query"]),get_neuron_info:o.Func([o.Nat64],[ze],["query"]),get_neuron_info_by_id_or_subaccount:o.Func([ae],[ze],["query"]),get_node_provider_by_caller:o.Func([o.Null],[zo],["query"]),get_pending_proposals:o.Func([],[o.Vec(ce)],["query"]),get_proposal_info:o.Func([o.Nat64],[o.Opt(ce)],["query"]),list_known_neurons:o.Func([],[Io],["query"]),list_neurons:o.Func([Ho],[Vo],["query"]),list_node_providers:o.Func([],[Go],["query"]),list_proposals:o.Func([Do],[qo],["query"]),manage_neuron:o.Func([Pe],[Zo],[]),transfer_gtc_neuron:o.Func([r,r],[ge],[]),update_node_provider:o.Func([Qo],[ge],[])})};var xe=J(io());var ne=require("@dfinity/principal");var ft=require("buffer"),yr=J(Le());var _t=o=>Uint8Array.from(ft.Buffer.from(o,"hex")).subarray(4),bt=o=>ft.Buffer.from(o).toString("hex"),yt=(o,t)=>{let r=be(`
15
+ account-id`),n=yr.sha224.create();n.update([...r,...o.toUint8Array(),...t??Array(32).fill(0)]);let i=new Uint8Array(n.array()),p=ye(i),l=new Uint8Array([...p,...i]);return oo(l)};var vr=o=>({id:o}),ht=o=>({id:o}),Zn=o=>({followees:o.map(ht)}),Qn=o=>{if("NeuronId"in o)return{NeuronId:{id:o.NeuronId}};if("Subaccount"in o)return{Subaccount:o.Subaccount};throw new z(o)},mr=o=>{if("ExecuteNnsFunction"in o){let t=o.ExecuteNnsFunction;if(t.payloadBytes===void 0)throw new Error("payloadBytes not found");return{ExecuteNnsFunction:{nns_function:t.nnsFunctionId,payload:ct(t.payloadBytes)}}}if("ManageNeuron"in o){let t=o.ManageNeuron;return{ManageNeuron:ri(t)}}if("ApproveGenesisKyc"in o)return{ApproveGenesisKyc:{principals:o.ApproveGenesisKyc.principals.map(ne.Principal.fromText)}};if("ManageNetworkEconomics"in o){let t=o.ManageNetworkEconomics;return{ManageNetworkEconomics:{neuron_minimum_stake_e8s:t.neuronMinimumStake,max_proposals_to_keep_per_topic:t.maxProposalsToKeepPerTopic,neuron_management_fee_per_proposal_e8s:t.neuronManagementFeePerProposal,reject_cost_e8s:t.rejectCost,transaction_fee_e8s:t.transactionFee,neuron_spawn_dissolve_delay_seconds:t.neuronSpawnDissolveDelaySeconds,minimum_icp_xdr_rate:t.minimumIcpXdrRate,maximum_node_provider_rewards_e8s:t.maximumNodeProviderRewards}}}if("RewardNodeProvider"in o){let t=o.RewardNodeProvider;return{RewardNodeProvider:{node_provider:t.nodeProvider?[so(t.nodeProvider)]:[],amount_e8s:t.amountE8s,reward_mode:t.rewardMode!=null?[hr(t.rewardMode)]:[]}}}if("RewardNodeProviders"in o){let t=o.RewardNodeProviders;return{RewardNodeProviders:{use_registry_derived_rewards:t.useRegistryDerivedRewards===void 0?[]:[t.useRegistryDerivedRewards],rewards:t.rewards.map(r=>({node_provider:r.nodeProvider?[so(r.nodeProvider)]:[],amount_e8s:r.amountE8s,reward_mode:r.rewardMode!=null?[hr(r.rewardMode)]:[]}))}}}if("AddOrRemoveNodeProvider"in o){let t=o.AddOrRemoveNodeProvider;return{AddOrRemoveNodeProvider:{change:t.change?[oi(t.change)]:[]}}}if("Motion"in o)return{Motion:{motion_text:o.Motion.motionText}};if("SetDefaultFollowees"in o)return{SetDefaultFollowees:{default_followees:o.SetDefaultFollowees.defaultFollowees.map(r=>[r.topic,Zn(r.followees)])}};if("RegisterKnownNeuron"in o){let t=o.RegisterKnownNeuron;return{RegisterKnownNeuron:{id:[{id:t.id}],known_neuron_data:[{name:t.name,description:t.description!==void 0?[t.description]:[]}]}}}if("SetSnsTokenSwapOpenTimeWindow"in o){let{request:t,swapCanisterId:r}=o.SetSnsTokenSwapOpenTimeWindow;return{SetSnsTokenSwapOpenTimeWindow:{request:t===void 0?[]:[{open_time_window:t.openTimeWindow===void 0?[]:[{start_timestamp_seconds:t.openTimeWindow.startTimestampSeconds,end_timestamp_seconds:t.openTimeWindow.endTimestampSeconds}]}],swap_canister_id:r===void 0?[]:[ne.Principal.fromText(r)]}}}throw new z(o)},Ln=o=>{if("Split"in o)return{Split:{amount_e8s:o.Split.amount}};if("Follow"in o){let t=o.Follow;return{Follow:{topic:t.topic,followees:t.followees.map(ht)}}}if("ClaimOrRefresh"in o){let t=o.ClaimOrRefresh;return{ClaimOrRefresh:{by:t.by?[ti(t.by)]:[]}}}if("Configure"in o){let t=o.Configure;return{Configure:{operation:t.operation?[ei(t.operation)]:[]}}}if("RegisterVote"in o){let t=o.RegisterVote;return{RegisterVote:{vote:t.vote,proposal:t.proposal?[vr(t.proposal)]:[]}}}if("DisburseToNeuron"in o){let t=o.DisburseToNeuron;return{DisburseToNeuron:{dissolve_delay_seconds:t.dissolveDelaySeconds,kyc_verified:t.kycVerified,amount_e8s:t.amount,new_controller:t.newController?[ne.Principal.fromText(t.newController)]:[],nonce:t.nonce}}}if("MergeMaturity"in o)return{MergeMaturity:{percentage_to_merge:o.MergeMaturity.percentageToMerge}};if("MakeProposal"in o){let t=o.MakeProposal;return{MakeProposal:{url:t.url,title:[],action:t.action?[mr(t.action)]:[],summary:t.summary}}}if("Disburse"in o){let t=o.Disburse;return{Disburse:{to_account:t.toAccountId?[ao(t.toAccountId)]:[],amount:t.amount?[Mr(t.amount)]:[]}}}if("Spawn"in o){let t=o.Spawn;return{Spawn:{percentage_to_spawn:t.percentageToSpawn===void 0?[]:[t.percentageToSpawn],new_controller:t.newController?[ne.Principal.fromText(t.newController)]:[],nonce:[]}}}if("Merge"in o){let t=o.Merge;return{Merge:{source_neuron_id:t.sourceNeuronId?[{id:t.sourceNeuronId}]:[]}}}throw new z(o)},ei=o=>{if("RemoveHotKey"in o){let t=o.RemoveHotKey;return{RemoveHotKey:{hot_key_to_remove:t.hotKeyToRemove!=null?[ne.Principal.fromText(t.hotKeyToRemove)]:[]}}}if("AddHotKey"in o){let t=o.AddHotKey;return{AddHotKey:{new_hot_key:t.newHotKey?[ne.Principal.fromText(t.newHotKey)]:[]}}}if("StopDissolving"in o)return{StopDissolving:{}};if("StartDissolving"in o)return{StartDissolving:{}};if("IncreaseDissolveDelay"in o)return{IncreaseDissolveDelay:{additional_dissolve_delay_seconds:o.IncreaseDissolveDelay.additionalDissolveDelaySeconds}};if("JoinCommunityFund"in o||"LeaveCommunityFund"in o)return o;if("SetDissolveTimestamp"in o)return{SetDissolveTimestamp:{dissolve_timestamp_seconds:o.SetDissolveTimestamp.dissolveTimestampSeconds}};throw new z(o)},oi=o=>{if("ToRemove"in o)return{ToRemove:so(o.ToRemove)};if("ToAdd"in o)return{ToAdd:so(o.ToAdd)};throw new z(o)},so=o=>({id:o.id!=null?[ne.Principal.fromText(o.id)]:[],reward_account:o.rewardAccount!=null?[ao(o.rewardAccount)]:[]}),Mr=o=>({e8s:o}),ao=o=>{let t=_t(o);return{hash:ct(t)}},hr=o=>{if("RewardToNeuron"in o)return{RewardToNeuron:{dissolve_delay_seconds:o.RewardToNeuron.dissolveDelaySeconds}};if("RewardToAccount"in o)return{RewardToAccount:{to_account:o.RewardToAccount.toAccount!=null?[ao(o.RewardToAccount.toAccount)]:[]}};throw new z(o)},ti=o=>{if("NeuronIdOrSubaccount"in o)return{NeuronIdOrSubaccount:{}};if("Memo"in o)return{Memo:o.Memo};if("MemoAndController"in o)return{MemoAndController:{memo:o.MemoAndController.memo,controller:o.MemoAndController.controller?[o.MemoAndController.controller]:[]}};throw new z(o)},Rr=o=>({neuron_ids:o??[],include_neurons_readable_by_caller:!o}),ri=({id:o,command:t,neuronIdOrSubaccount:r})=>({id:o?[ht(o)]:[],command:t?[Ln(t)]:[],neuron_id_or_subaccount:r?[Qn(r)]:[]});var Sr=({includeRewardStatus:o,beforeProposal:t,excludeTopic:r,includeStatus:n,limit:i})=>({include_reward_status:o,before_proposal:t?[vr(t)]:[],limit:i,exclude_topic:r,include_status:n}),Nr=o=>({id:[],command:[{ClaimOrRefresh:{by:[{NeuronIdOrSubaccount:{}}]}}],neuron_id_or_subaccount:[{NeuronId:{id:o.neuronId}}]}),xr=({memo:o,controller:t})=>{let r={ClaimOrRefresh:{by:[{MemoAndController:{controller:t==null?[]:[t],memo:o}}]}};return{id:[],command:[r],neuron_id_or_subaccount:[]}},Tr=({neuronId:o,amount:t})=>({id:[],command:[{Split:{amount_e8s:t}}],neuron_id_or_subaccount:[{NeuronId:{id:o}}]});var Er=({neuronId:o,vote:t,proposalId:r})=>fe({neuronId:o,command:{RegisterVote:{vote:t,proposal:[{id:r}]}}}),Or=o=>{let t={MakeProposal:{url:o.url,title:o.title!=null?[o.title]:[],summary:o.summary,action:[mr(o.action)]}};return{id:[],command:[t],neuron_id_or_subaccount:[{NeuronId:{id:o.neuronId}}]}},Fr=({neuronId:o,topic:t,followees:r})=>fe({neuronId:o,command:{Follow:{topic:t,followees:r.map(n=>({id:n}))}}}),wr=({neuronId:o,toAccountId:t,amount:r})=>fe({neuronId:o,command:{Disburse:{to_account:t!==void 0?[ao(t)]:[],amount:r!==void 0?[Mr(r)]:[]}}}),Br=({neuronId:o,percentageToMerge:t})=>fe({neuronId:o,command:{MergeMaturity:{percentage_to_merge:t}}}),Ar=({neuronId:o,percentageToSpawn:t,newController:r,nonce:n})=>fe({neuronId:o,command:{Spawn:{percentage_to_spawn:t===void 0?[]:[t],new_controller:r===void 0?[]:[r],nonce:n===void 0?[]:[n]}}}),Cr=({neuronId:o,principal:t})=>_e({neuronId:o,operation:{AddHotKey:{new_hot_key:[t]}}}),Pr=({neuronId:o,principal:t})=>_e({neuronId:o,operation:{RemoveHotKey:{hot_key_to_remove:[t]}}}),jr=({neuronId:o,additionalDissolveDelaySeconds:t})=>_e({neuronId:o,operation:{IncreaseDissolveDelay:{additional_dissolve_delay_seconds:t}}}),Ur=o=>_e({neuronId:o,operation:{JoinCommunityFund:{}}}),Wr=o=>_e({neuronId:o,operation:{LeaveCommunityFund:{}}}),kr=({sourceNeuronId:o,targetNeuronId:t})=>fe({neuronId:t,command:{Merge:{source_neuron_id:[{id:o}]}}}),zr=o=>_e({neuronId:o,operation:{StartDissolving:{}}}),Ir=o=>_e({neuronId:o,operation:{StopDissolving:{}}}),fe=({neuronId:o,command:t})=>({id:[{id:o}],command:[t],neuron_id_or_subaccount:[]}),_e=({neuronId:o,operation:t})=>fe({neuronId:o,command:{Configure:{operation:[t]}}});var po=require("@dfinity/principal"),G=J(eo()),A=J(io()),Hr=J(de()),Vr=o=>{let t=new G.PrincipalId;t.setSerializedId(po.Principal.fromText(o.principal).toUint8Array());let r=new A.ManageNeuron.AddHotKey;r.setNewHotKey(t);let n=new A.ManageNeuron.Configure;n.setAddHotKey(r);let i=new A.ManageNeuron;i.setConfigure(n);let p=new G.NeuronId;return p.setId(o.neuronId.toString()),i.setNeuronId(p),i},Gr=o=>{let t=new G.PrincipalId;t.setSerializedId(po.Principal.fromText(o.principal).toUint8Array());let r=new A.ManageNeuron.RemoveHotKey;r.setHotKeyToRemove(t);let n=new A.ManageNeuron.Configure;n.setRemoveHotKey(r);let i=new A.ManageNeuron;i.setConfigure(n);let p=new G.NeuronId;return p.setId(o.neuronId.toString()),i.setNeuronId(p),i},Dr=({neuronId:o,additionalDissolveDelaySeconds:t})=>{let r=new A.ManageNeuron.IncreaseDissolveDelay;r.setAdditionalDissolveDelaySeconds(t);let n=new A.ManageNeuron.Configure;n.setIncreaseDissolveDelay(r);let i=new A.ManageNeuron;i.setConfigure(n);let p=new G.NeuronId;return p.setId(o.toString()),i.setNeuronId(p),i},qr=o=>{let t=new A.ManageNeuron.Configure;t.setStartDissolving(new A.ManageNeuron.StartDissolving);let r=new A.ManageNeuron;r.setConfigure(t);let n=new G.NeuronId;return n.setId(o.toString()),r.setNeuronId(n),r},Kr=o=>{let t=new A.ManageNeuron.Configure;t.setStopDissolving(new A.ManageNeuron.StopDissolving);let r=new A.ManageNeuron;r.setConfigure(t);let n=new G.NeuronId;return n.setId(o.toString()),r.setNeuronId(n),r},Yr=o=>{let t=new A.ManageNeuron.Disburse;if(o.toAccountId){let i=new Hr.AccountIdentifier;i.setHash(Uint8Array.from(Buffer.from(o.toAccountId,"hex"))),t.setToAccount(i)}if(o.amount!=null){let i=new A.ManageNeuron.Disburse.Amount;i.setE8s(o.amount.toString()),t.setAmount(i)}let r=new A.ManageNeuron;r.setDisburse(t);let n=new G.NeuronId;return n.setId(o.neuronId.toString()),r.setNeuronId(n),r},Jr=o=>{let t=new A.ManageNeuron.MergeMaturity;t.setPercentageToMerge(o.percentageToMerge);let r=new A.ManageNeuron,n=new G.NeuronId;return n.setId(o.neuronId.toString()),r.setNeuronId(n),r.setMergeMaturity(t),r},$r=o=>{let t=new A.ManageNeuron.Spawn;if(o.newController){let i=new G.PrincipalId;i.setSerializedId(po.Principal.fromText(o.newController).toUint8Array().slice(4)),t.setNewController(i)}o.percentageToSpawn!==void 0&&t.setPercentageToSpawn(o.percentageToSpawn);let r=new A.ManageNeuron;r.setSpawn(t);let n=new G.NeuronId;return n.setId(o.neuronId.toString()),r.setNeuronId(n),r},Xr=o=>{let t=new A.ManageNeuron.Merge,r=new G.NeuronId;r.setId(o.sourceNeuronId.toString()),t.setSourceNeuronId(r);let n=new A.ManageNeuron,i=new G.NeuronId;return i.setId(o.targetNeuronId.toString()),n.setNeuronId(i),n.setMerge(t),n};var rn=require("@dfinity/principal"),nn=require("@dfinity/utils");var vt=(p=>(p[p.UNSPECIFIED=0]="UNSPECIFIED",p[p.LOCKED=1]="LOCKED",p[p.DISSOLVING=2]="DISSOLVING",p[p.DISSOLVED=3]="DISSOLVED",p[p.SPAWNING=4]="SPAWNING",p))(vt||{}),Zr=(p=>(p[p.PROPOSAL_REWARD_STATUS_UNKNOWN=0]="PROPOSAL_REWARD_STATUS_UNKNOWN",p[p.PROPOSAL_REWARD_STATUS_ACCEPT_VOTES=1]="PROPOSAL_REWARD_STATUS_ACCEPT_VOTES",p[p.PROPOSAL_REWARD_STATUS_READY_TO_SETTLE=2]="PROPOSAL_REWARD_STATUS_READY_TO_SETTLE",p[p.PROPOSAL_REWARD_STATUS_SETTLED=3]="PROPOSAL_REWARD_STATUS_SETTLED",p[p.PROPOSAL_REWARD_STATUS_INELIGIBLE=4]="PROPOSAL_REWARD_STATUS_INELIGIBLE",p))(Zr||{}),Qr=(l=>(l[l.PROPOSAL_STATUS_UNKNOWN=0]="PROPOSAL_STATUS_UNKNOWN",l[l.PROPOSAL_STATUS_OPEN=1]="PROPOSAL_STATUS_OPEN",l[l.PROPOSAL_STATUS_REJECTED=2]="PROPOSAL_STATUS_REJECTED",l[l.PROPOSAL_STATUS_ACCEPTED=3]="PROPOSAL_STATUS_ACCEPTED",l[l.PROPOSAL_STATUS_EXECUTED=4]="PROPOSAL_STATUS_EXECUTED",l[l.PROPOSAL_STATUS_FAILED=5]="PROPOSAL_STATUS_FAILED",l))(Qr||{}),Lr=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.YES=1]="YES",n[n.NO=2]="NO",n))(Lr||{}),en=(N=>(N[N.Unspecified=0]="Unspecified",N[N.ManageNeuron=1]="ManageNeuron",N[N.ExchangeRate=2]="ExchangeRate",N[N.NetworkEconomics=3]="NetworkEconomics",N[N.Governance=4]="Governance",N[N.NodeAdmin=5]="NodeAdmin",N[N.ParticipantManagement=6]="ParticipantManagement",N[N.SubnetManagement=7]="SubnetManagement",N[N.NetworkCanisterManagement=8]="NetworkCanisterManagement",N[N.Kyc=9]="Kyc",N[N.NodeProviderRewards=10]="NodeProviderRewards",N[N.SnsDecentralizationSale=11]="SnsDecentralizationSale",N))(en||{});var ni=({neuronId:o,neuronInfo:t,rawNeuron:r,canisterId:n})=>{let i=r?ii({neuron:r,canisterId:n}):void 0;return{neuronId:o,dissolveDelaySeconds:t.dissolve_delay_seconds,recentBallots:t.recent_ballots.map(sn),createdTimestampSeconds:t.created_timestamp_seconds,state:t.state,joinedCommunityFundTimestampSeconds:t.joined_community_fund_timestamp_seconds.length?t.joined_community_fund_timestamp_seconds[0]:void 0,retrievedAtTimestampSeconds:t.retrieved_at_timestamp_seconds,votingPower:t.voting_power,ageSeconds:t.age_seconds,fullNeuron:i}},ii=({neuron:o,canisterId:t})=>({id:o.id.length?ie(o.id[0]):void 0,controller:o.controller.length?o.controller[0].toString():void 0,recentBallots:o.recent_ballots.map(sn),kycVerified:o.kyc_verified,notForProfit:o.not_for_profit,cachedNeuronStake:o.cached_neuron_stake_e8s,createdTimestampSeconds:o.created_timestamp_seconds,maturityE8sEquivalent:o.maturity_e8s_equivalent,agingSinceTimestampSeconds:o.aging_since_timestamp_seconds,neuronFees:o.neuron_fees_e8s,hotKeys:o.hot_keys.map(r=>r.toString()),accountIdentifier:yt(t,or(o.account)),joinedCommunityFundTimestampSeconds:o.joined_community_fund_timestamp_seconds.length?o.joined_community_fund_timestamp_seconds[0]:void 0,dissolveState:o.dissolve_state.length?si(o.dissolve_state[0]):void 0,spawnAtTimesSeconds:o.spawn_at_timestamp_seconds[0],followees:o.followees.map(([r,n])=>an({topic:r,followees:n}))}),sn=({vote:o,proposal_id:t})=>({vote:o,proposalId:t.length?ie(t[0]):void 0}),si=o=>"DissolveDelaySeconds"in o?{DissolveDelaySeconds:o.DissolveDelaySeconds}:{WhenDissolvedTimestampSeconds:o.WhenDissolvedTimestampSeconds},an=({topic:o,followees:t})=>({topic:o,followees:t.followees.map(ie)}),ie=({id:o})=>o,ai=o=>{if("NeuronId"in o)return{NeuronId:o.NeuronId.id};if("Subaccount"in o)return{Subaccount:o.Subaccount};throw new z(o)},pi=({neuronId:o,ballot:t})=>{let{vote:r,voting_power:n}=t;return{neuronId:o,vote:r,votingPower:n}},gi=({title:o,url:t,action:r,summary:n})=>({title:o.length?o[0]:void 0,url:t,action:r.length?pn(r[0]):void 0,summary:n}),pn=o=>{var t;if("ExecuteNnsFunction"in o)return{ExecuteNnsFunction:{nnsFunctionId:o.ExecuteNnsFunction.nns_function}};if("ManageNeuron"in o){let r=o.ManageNeuron;return{ManageNeuron:{id:r.id.length?ie(r.id[0]):void 0,command:r.command.length?ui(r.command[0]):void 0,neuronIdOrSubaccount:r.neuron_id_or_subaccount.length?ai(r.neuron_id_or_subaccount[0]):void 0}}}if("ApproveGenesisKyc"in o)return{ApproveGenesisKyc:{principals:o.ApproveGenesisKyc.principals.map(n=>n.toString())}};if("ManageNetworkEconomics"in o){let r=o.ManageNetworkEconomics;return{ManageNetworkEconomics:{neuronMinimumStake:r.neuron_minimum_stake_e8s,maxProposalsToKeepPerTopic:r.max_proposals_to_keep_per_topic,neuronManagementFeePerProposal:r.neuron_management_fee_per_proposal_e8s,rejectCost:r.reject_cost_e8s,transactionFee:r.transaction_fee_e8s,neuronSpawnDissolveDelaySeconds:r.neuron_spawn_dissolve_delay_seconds,minimumIcpXdrRate:r.minimum_icp_xdr_rate,maximumNodeProviderRewards:r.maximum_node_provider_rewards_e8s}}}if("RewardNodeProvider"in o){let r=o.RewardNodeProvider;return{RewardNodeProvider:{nodeProvider:r.node_provider.length?go(r.node_provider[0]):void 0,amountE8s:r.amount_e8s,rewardMode:r.reward_mode.length?on(r.reward_mode[0]):void 0}}}if("RewardNodeProviders"in o){let r=o.RewardNodeProviders;return{RewardNodeProviders:{useRegistryDerivedRewards:r.use_registry_derived_rewards.length?r.use_registry_derived_rewards[0]:void 0,rewards:r.rewards.map(n=>({nodeProvider:n.node_provider.length?go(n.node_provider[0]):void 0,amountE8s:n.amount_e8s,rewardMode:n.reward_mode.length?on(n.reward_mode[0]):void 0}))}}}if("AddOrRemoveNodeProvider"in o){let r=o.AddOrRemoveNodeProvider;return{AddOrRemoveNodeProvider:{change:r.change.length?di(r.change[0]):void 0}}}if("Motion"in o)return{Motion:{motionText:o.Motion.motion_text}};if("SetDefaultFollowees"in o)return{SetDefaultFollowees:{defaultFollowees:o.SetDefaultFollowees.default_followees.map(([n,i])=>an({topic:n,followees:i}))}};if("RegisterKnownNeuron"in o){let r=o.RegisterKnownNeuron;return{RegisterKnownNeuron:bi(r)}}if("SetSnsTokenSwapOpenTimeWindow"in o){let r=o.SetSnsTokenSwapOpenTimeWindow,n=(t=r.request)!=null&&t.length?{openTimeWindow:r.request[0].open_time_window.length?{startTimestampSeconds:r.request[0].open_time_window[0].start_timestamp_seconds,endTimestampSeconds:r.request[0].open_time_window[0].end_timestamp_seconds}:void 0}:void 0,i=r!=null&&r.swap_canister_id.length?r.swap_canister_id[0].toString():void 0;return{SetSnsTokenSwapOpenTimeWindow:{request:n,swapCanisterId:i}}}throw new z(o)},ci=o=>({no:o.no,yes:o.yes,total:o.total,timestampSeconds:o.timestamp_seconds}),ui=o=>{if("Spawn"in o){let t=o.Spawn;return{Spawn:{newController:t.new_controller.length?t.new_controller[0].toString():void 0,percentageToSpawn:t.percentage_to_spawn.length?t.percentage_to_spawn[0]:0}}}if("Split"in o)return{Split:{amount:o.Split.amount_e8s}};if("Follow"in o){let t=o.Follow;return{Follow:{topic:t.topic,followees:t.followees.map(ie)}}}if("ClaimOrRefresh"in o){let t=o.ClaimOrRefresh;return{ClaimOrRefresh:{by:t.by.length?_i(t.by[0]):void 0}}}if("Configure"in o){let t=o.Configure;return{Configure:{operation:t.operation.length?li(t.operation[0]):void 0}}}if("RegisterVote"in o){let t=o.RegisterVote;return{RegisterVote:{vote:t.vote,proposal:t.proposal.length?ie(t.proposal[0]):void 0}}}if("DisburseToNeuron"in o){let t=o.DisburseToNeuron;return{DisburseToNeuron:{dissolveDelaySeconds:t.dissolve_delay_seconds,kycVerified:t.kyc_verified,amount:t.amount_e8s,newController:t.new_controller.length?t.new_controller[0].toString():void 0,nonce:t.nonce}}}if("MergeMaturity"in o)return{MergeMaturity:{percentageToMerge:o.MergeMaturity.percentage_to_merge}};if("MakeProposal"in o){let t=o.MakeProposal;return{MakeProposal:{title:t.title.length?t.title[0]:void 0,url:t.url,action:t.action.length?pn(t.action[0]):void 0,summary:t.summary}}}if("Disburse"in o){let t=o.Disburse;return{Disburse:{toAccountId:t.to_account.length?mt(t.to_account[0]):void 0,amount:t.amount.length?fi(t.amount[0]):void 0}}}if("Merge"in o){let t=o.Merge;return{Merge:{sourceNeuronId:t.source_neuron_id.length?t.source_neuron_id[0].id:void 0}}}throw new z(o)},li=o=>{if("RemoveHotKey"in o){let t=o.RemoveHotKey;return{RemoveHotKey:{hotKeyToRemove:t.hot_key_to_remove.length?t.hot_key_to_remove[0].toString():void 0}}}if("AddHotKey"in o){let t=o.AddHotKey;return{AddHotKey:{newHotKey:t.new_hot_key.length?t.new_hot_key[0].toString():void 0}}}if("StopDissolving"in o)return{StopDissolving:{}};if("StartDissolving"in o)return{StartDissolving:{}};if("IncreaseDissolveDelay"in o)return{IncreaseDissolveDelay:{additionalDissolveDelaySeconds:o.IncreaseDissolveDelay.additional_dissolve_delay_seconds}};if("JoinCommunityFund"in o||"LeaveCommunityFund"in o)return o;if("SetDissolveTimestamp"in o)return{SetDissolveTimestamp:{dissolveTimestampSeconds:o.SetDissolveTimestamp.dissolve_timestamp_seconds}};throw new z(o)},di=o=>{if("ToRemove"in o)return{ToRemove:go(o.ToRemove)};if("ToAdd"in o)return{ToAdd:go(o.ToAdd)};throw new z(o)},go=o=>({id:o.id.length?o.id[0].toString():void 0,rewardAccount:o.reward_account.length?mt(o.reward_account[0]):void 0}),fi=o=>o.e8s,mt=o=>bt(new Uint8Array(o.hash)),on=o=>{if("RewardToNeuron"in o)return{RewardToNeuron:{dissolveDelaySeconds:o.RewardToNeuron.dissolve_delay_seconds}};if("RewardToAccount"in o)return{RewardToAccount:{toAccount:o.RewardToAccount.to_account!=null&&o.RewardToAccount.to_account.length?mt(o.RewardToAccount.to_account[0]):void 0}};throw new z(o)},_i=o=>{if("NeuronIdOrSubaccount"in o)return{NeuronIdOrSubaccount:{}};if("Memo"in o)return{Memo:o.Memo};if("MemoAndController"in o)return{MemoAndController:{memo:o.MemoAndController.memo,controller:o.MemoAndController.controller.length?o.MemoAndController.controller[0]:void 0}};throw new z(o)},Mt=o=>({id:o.id.length?ie(o.id[0]):void 0,ballots:o.ballots.map(t=>pi({neuronId:t[0],ballot:t[1]})),rejectCost:o.reject_cost_e8s,proposalTimestampSeconds:o.proposal_timestamp_seconds,rewardEventRound:o.reward_event_round,failedTimestampSeconds:o.failed_timestamp_seconds,deadlineTimestampSeconds:(0,nn.fromNullable)(o.deadline_timestamp_seconds),decidedTimestampSeconds:o.decided_timestamp_seconds,proposal:o.proposal.length?gi(o.proposal[0]):void 0,proposer:o.proposer.length?ie(o.proposer[0]):void 0,latestTally:o.latest_tally.length?ci(o.latest_tally[0]):void 0,executedTimestampSeconds:o.executed_timestamp_seconds,topic:o.topic,status:o.status,rewardStatus:o.reward_status}),gn=({response:{neuron_infos:o,full_neurons:t},canisterId:r})=>o.map(([n,i])=>ni({neuronId:n,neuronInfo:i,rawNeuron:t.find(p=>p.id.length&&p.id[0].id===n),canisterId:r})),cn=({proposal_info:o})=>({proposals:o.map(Mt)}),bi=({id:o,known_neuron_data:t})=>{var r,n,i;return{id:((r=o[0])==null?void 0:r.id)??BigInt(0),name:((n=t[0])==null?void 0:n.name)??"",description:((i=t[0])==null?void 0:i.description[0])??""}},un=o=>{let t=o.getProposalId();return{vote:o.getVote(),proposalId:t!==void 0?BigInt(t.getId()):void 0}},yi=o=>o!=null&&o.hasWhenDissolvedTimestampSeconds()?2:o!=null&&o.hasDissolveDelaySeconds()?o.getDissolveDelaySeconds()==="0"?3:1:0,hi=o=>o.toArray().map(([t,r])=>{var n;return{topic:Number(t),followees:((n=r.getFolloweesList)==null?void 0:n.call(r).map(i=>BigInt(i.getId())))??[]}}),tn=o=>rn.Principal.fromUint8Array(o.getSerializedId_asU8()).toText(),vi=({neuron:o,canisterId:t})=>{let r=oe.fromBytes(o.getAccount_asU8());return Q.fromPrincipal({principal:t,subAccount:r})},mi=({pbNeuron:o,pbNeuronInfo:t,canisterId:r})=>{let n=o.getId(),i=o.getController(),p=i===void 0?i:tn(i),l;return o.hasWhenDissolvedTimestampSeconds()?l={WhenDissolvedTimestampSeconds:BigInt(o.getWhenDissolvedTimestampSeconds())}:o.hasDissolveDelaySeconds()&&(l={DissolveDelaySeconds:BigInt(o.getDissolveDelaySeconds())}),{id:n===void 0?void 0:BigInt(n.getId()),controller:p,recentBallots:t.getRecentBallotsList().map(un),kycVerified:o.getKycVerified(),notForProfit:o.getNotForProfit(),cachedNeuronStake:BigInt(o.getCachedNeuronStakeE8s()),createdTimestampSeconds:BigInt(o.getCreatedTimestampSeconds()),maturityE8sEquivalent:BigInt(o.getMaturityE8sEquivalent()),agingSinceTimestampSeconds:BigInt(o.getAgingSinceTimestampSeconds()),spawnAtTimesSeconds:o.hasSpawnAtTimestampSeconds()?BigInt(o.getSpawnAtTimestampSeconds()):void 0,neuronFees:BigInt(o.getNeuronFeesE8s()),hotKeys:o.getHotKeysList().map(tn),accountIdentifier:vi({neuron:o,canisterId:r}).toHex(),joinedCommunityFundTimestampSeconds:void 0,dissolveState:l,followees:hi(o.getFolloweesMap())}},ln=({pbNeurons:o,canisterId:t})=>r=>{let n=o.find(p=>{var l;return((l=p.getId())==null?void 0:l.getId())===r.getKey()}),i=r.getValue();if(i===void 0)throw new Error(`NeuronInfo not present for neuron ${r.getKey()}`);return{neuronId:BigInt(r.getKey()),dissolveDelaySeconds:BigInt(i.getDissolveDelaySeconds()),recentBallots:i.getRecentBallotsList().map(un),createdTimestampSeconds:BigInt(i.getCreatedTimestampSeconds()),state:yi(n),joinedCommunityFundTimestampSeconds:void 0,retrievedAtTimestampSeconds:BigInt(i.getRetrievedAtTimestampSeconds()),votingPower:BigInt(i.getVotingPower()),ageSeconds:BigInt(i.getAgeSeconds()),fullNeuron:n===void 0?void 0:mi({pbNeuron:n,pbNeuronInfo:i,canisterId:t})}};var dn=J(io());var fn=o=>{let r=dn.ManageNeuronResponse.deserializeBinary(o).getError();if(r)throw new L({error_message:r.getErrorMessage(),error_type:r.getErrorType()})};var co=o=>{let{command:t}=o,r=t[0];if(!r)throw new L({error_message:"Error updating neuron",error_type:0});if("Error"in r)throw new L(r.Error);return r},D=async({request:o,service:t})=>{let r=await t.manage_neuron(o);co(r)};var Rt=o=>{if(o.length!=64)throw new ve(`Invalid account identifier ${o}. The account identifier must be 64 chars in length.`);let t=Buffer.from(o,"hex"),r=t.slice(0,4),n=Buffer.from(ye(t.slice(4)));if(!n.equals(r))throw new ve(`Account identifier ${o} has an invalid checksum. Are you sure the account identifier is correct?
852
16
 
853
17
  Expected checksum: ${n.toString("hex")}
854
- Found checksum: ${r.toString("hex")}`)};var sa=t=>{if(t<0||t>100)throw new Sr(`${t} is not a valid percentage number.`)};var aa=qe(on()),cr=async({agent:t,canisterId:o,methodName:r,arg:n})=>{let i=await t.call(o,{methodName:r,arg:n,effectiveCanisterId:o});if(!i.response.ok)throw new Error(["Call failed:",` Method: ${r}`,` Canister ID: ${o}`,` Request ID: ${i.requestId}`,` HTTP status code: ${i.response.status}`,` HTTP status text: ${i.response.statusText}`].join(`
855
- `));let s=await aa.polling.pollForResponse(t,o,i.requestId,aa.polling.defaultStrategy());return new Uint8Array(s)},nu=async({agent:t,canisterId:o,methodName:r,arg:n})=>{let i=await t.query(o,{methodName:r,arg:n});if(i.status=="rejected")throw new Error(["Call failed:",` Method: ${r}`,` Canister ID: ${o}`,` HTTP status code: ${i.reject_code}`,` HTTP status text: ${i.reject_message}`].join(`
856
- `));return new Uint8Array(i.reply.arg)};var ur=class{constructor(o,r,n,i,s=!1){this.canisterId=o;this.service=r;this.certifiedService=n;this.agent=i;this.hardwareWallet=s;this.listNeurons=async({certified:o=!0,neuronIds:r})=>{if(this.hardwareWallet&&!o)throw new Rr;if(this.hardwareWallet)return this.listNeuronsHardwareWallet();let n=lc(r),i=await this.getGovernanceService(o).list_neurons(n);return Xc({response:i,canisterId:this.canisterId})};this.listKnownNeurons=async(o=!0)=>(await this.getGovernanceService(o).list_known_neurons()).known_neurons.map(n=>{var i,s,p;return{id:((i=n.id[0])==null?void 0:i.id)??BigInt(0),name:((s=n.known_neuron_data[0])==null?void 0:s.name)??"",description:(p=n.known_neuron_data[0])==null?void 0:p.description[0]}});this.listProposals=async({request:o,certified:r=!0})=>{let n=Ac(o),i=await this.getGovernanceService(r).list_proposals(n);return $c(i)};this.stakeNeuron=async({stake:o,principal:r,fromSubAccount:n,ledgerCanister:i})=>{if(o.toE8s()<pn)throw new Mr(gt.fromString("1"));let s=new Uint8Array((0,su.default)(8)),p=ka(s),l=this.buildNeuronStakeSubAccount(s,r),_=xt.fromPrincipal({principal:this.canisterId,subAccount:l});await i.transfer({memo:p,amount:o,fromSubAccount:n,to:_});let C=await this.claimOrRefreshNeuronFromAccount({controller:r,memo:p});if(C===void 0)throw new wr;return C};this.increaseDissolveDelay=async({neuronId:o,additionalDissolveDelaySeconds:r})=>{if(this.hardwareWallet)return this.increaseDissolveDelayHardwareWallet({neuronId:o,additionalDissolveDelaySeconds:r});let n=Cc({neuronId:o,additionalDissolveDelaySeconds:r});return bt({request:n,service:this.certifiedService})};this.startDissolving=async o=>{if(this.hardwareWallet)return this.startDissolvingHardwareWallet(o);let r=Rc(o);return bt({request:r,service:this.certifiedService})};this.stopDissolving=async o=>{if(this.hardwareWallet)return this.stopDissolvingHardwareWallet(o);let r=Nc(o);return bt({request:r,service:this.certifiedService})};this.joinCommunityFund=async o=>{let r=wc(o);return bt({request:r,service:this.certifiedService})};this.leaveCommunityFund=async o=>{let r=Mc(o);return bt({request:r,service:this.certifiedService})};this.mergeNeurons=async o=>{if(this.hardwareWallet)return this.mergeNeuronsHardwareWallet(o);let r=Sc(o);return bt({request:r,service:this.certifiedService})};this.splitNeuron=async({neuronId:o,amount:r})=>{let n=hc({neuronId:o,amount:r.toE8s()}),i=await this.certifiedService.manage_neuron(n),s=ui(i);if("Split"in s){let p=s.Split.created_neuron_id[0];if(p===void 0)throw new Ft({error_message:"Unexpected error splitting neuron. No neuronId in Split response.",error_type:0});return p.id}throw new no(`Unrecognized Split error in ${JSON.stringify(i)}`)};this.getProposal=async({proposalId:o,certified:r=!0})=>{let[n]=await this.getGovernanceService(r).get_proposal_info(o);return n?na(n):void 0};this.makeProposal=async o=>{let r=bc(o);return bt({request:r,service:this.certifiedService})};this.registerVote=async({neuronId:o,vote:r,proposalId:n})=>{let i=_c({neuronId:o,vote:r,proposalId:n});return bt({request:i,service:this.certifiedService})};this.setFollowees=async o=>{let r=yc(o);return bt({request:r,service:this.certifiedService})};this.disburse=async({neuronId:o,toAccountId:r,amount:n})=>{if(r!==void 0&&ia(r),this.hardwareWallet)return this.disburseHardwareWallet({neuronId:o,toAccountId:r,amount:n});let i=Bc({neuronId:o,toAccountId:r,amount:n});return bt({request:i,service:this.certifiedService})};this.mergeMaturity=async({neuronId:o,percentageToMerge:r})=>{if(sa(r),this.hardwareWallet)return this.mergeMaturityHardwareWallet({neuronId:o,percentageToMerge:r});let n=Ec({neuronId:o,percentageToMerge:r});return bt({request:n,service:this.certifiedService})};this.spawnNeuron=async({neuronId:o,percentageToSpawn:r,newController:n,nonce:i})=>{if(r!==void 0&&sa(r),this.hardwareWallet)return this.spawnHardwareWallet({neuronId:o,percentageToSpawn:r,newController:n==null?void 0:n.toText()});let s=vc({neuronId:o,percentageToSpawn:r,newController:n,nonce:i}),p=await this.certifiedService.manage_neuron(s),l=ui(p);if("Spawn"in l&&l.Spawn.created_neuron_id[0]!==void 0)return l.Spawn.created_neuron_id[0].id;throw new no(`Unrecognized Spawn error in ${JSON.stringify(p)}`)};this.addHotkey=async({neuronId:o,principal:r})=>{if(this.hardwareWallet)return this.addHotkeyHardwareWallet({neuronId:o,principal:r});let n=mc({neuronId:o,principal:r});return bt({request:n,service:this.certifiedService})};this.removeHotkey=async({neuronId:o,principal:r})=>{if(this.hardwareWallet)return this.removeHotkeyHardwareWallet({neuronId:o,principal:r});let n=Ic({neuronId:o,principal:r});return bt({request:n,service:this.certifiedService})};this.claimOrRefreshNeuronFromAccount=async({memo:o,controller:r})=>{var p;let n=fc({memo:o,controller:r}),i=await this.certifiedService.manage_neuron(n),{command:s}=i;if(s.length&&"ClaimOrRefresh"in s[0])return(p=s[0].ClaimOrRefresh.refreshed_neuron_id[0])==null?void 0:p.id;throw new no(`Unrecognized ClaimOrRefresh error in ${JSON.stringify(i)}`)};this.claimOrRefreshNeuron=async o=>{var s;let r=dc(o),n=await this.service.manage_neuron(r),{command:i}=n;if(i.length&&"ClaimOrRefresh"in i[0])return(s=i[0].ClaimOrRefresh.refreshed_neuron_id[0])==null?void 0:s.id;throw new no(`Unrecognized ClaimOrRefresh error in ${JSON.stringify(n)}`)};this.buildNeuronStakeSubAccount=(o,r)=>{let n=To("neuron-stake"),i=iu.sha256.create();return i.update([12,...n,...r.toUint8Array(),...o]),Dt.fromBytes(new Uint8Array(i.array()))};this.getNeuron=async({certified:o=!0,neuronId:r})=>{let[n]=await this.listNeurons({certified:o,neuronIds:[r]});return n};this.listNeuronsHardwareWallet=async()=>{let o=new lr.ListNeurons;o.setIncludeNeuronsReadableByCaller(!0);let r=await cr({agent:this.agent,canisterId:this.canisterId,methodName:"list_neurons_pb",arg:o.serializeBinary()}),n=lr.ListNeuronsResponse.deserializeBinary(r),i=n.getFullNeuronsList();return n.getNeuronIdsList().map(tu({pbNeurons:i,canisterId:this.canisterId}))};this.manageNeuronUpdateCall=async o=>{let r=await cr({agent:this.agent,canisterId:this.canisterId,methodName:"manage_neuron_pb",arg:o.serializeBinary()});ru(r)};this.addHotkeyHardwareWallet=async({neuronId:o,principal:r})=>{let n=Fc({neuronId:o,principal:r.toText()});await this.manageNeuronUpdateCall(n)};this.removeHotkeyHardwareWallet=async({neuronId:o,principal:r})=>{let n=Tc({neuronId:o,principal:r.toText()});await this.manageNeuronUpdateCall(n)};this.increaseDissolveDelayHardwareWallet=async({neuronId:o,additionalDissolveDelaySeconds:r})=>{let n=Oc({neuronId:o,additionalDissolveDelaySeconds:r});await this.manageNeuronUpdateCall(n)};this.startDissolvingHardwareWallet=async o=>{let r=Qc(o);await this.manageNeuronUpdateCall(r)};this.stopDissolvingHardwareWallet=async o=>{let r=Gc(o);await this.manageNeuronUpdateCall(r)};this.disburseHardwareWallet=async o=>{let r=kc(o);await this.manageNeuronUpdateCall(r)};this.mergeMaturityHardwareWallet=async o=>{let r=Pc(o);await this.manageNeuronUpdateCall(r)};this.spawnHardwareWallet=async o=>{var l;let r=Uc(o),n=await cr({agent:this.agent,canisterId:this.canisterId,methodName:"manage_neuron_pb",arg:r.serializeBinary()}),i=lr.ManageNeuronResponse.deserializeBinary(n),s=i.getError();if(s)throw new Ft({error_message:s.getErrorMessage(),error_type:s.getErrorType()});let p=(l=i.getSpawn())==null?void 0:l.getCreatedNeuronId();if(p!==void 0)return BigInt(p.getId());throw new no(`Unrecognized Spawn error in ${JSON.stringify(i)}`)};this.mergeNeuronsHardwareWallet=async o=>{let r=jc(o);await this.manageNeuronUpdateCall(r)};this.canisterId=o,this.service=r,this.certifiedService=n,this.agent=i,this.hardwareWallet=s}static create(o={}){let r=o.canisterId??Ka,{service:n,certifiedService:i,agent:s}=_o({options:{...o,canisterId:r},idlFactory:ic,certifiedIdlFactory:nc});return new ur(r,n,i,s,o.hardwareWallet)}getGovernanceService(o){return o?this.certifiedService:this.service}};var au=({IDL:t})=>{let o=t.Nat64,r=t.Record({start:o,length:t.Nat64}),n=t.Nat64,i=t.Vec(t.Nat8),s=t.Record({e8s:t.Nat64}),p=t.Variant({Burn:t.Record({from:i,amount:s}),Mint:t.Record({to:i,amount:s}),Transfer:t.Record({to:i,fee:s,from:i,amount:s})}),l=t.Record({timestamp_nanos:t.Nat64}),_=t.Record({memo:n,operation:t.Opt(p),created_at_time:l}),C=t.Record({transaction:_,timestamp:l,parent_hash:t.Opt(t.Vec(t.Nat8))}),Q=t.Record({blocks:t.Vec(C)}),P=t.Variant({BadFirstBlockIndex:t.Record({requested_index:o,first_valid_index:o}),Other:t.Record({error_message:t.Text,error_code:t.Nat64})}),G=t.Variant({Ok:Q,Err:P}),O=t.Func([r],[G],[]),Y=t.Record({certificate:t.Opt(t.Vec(t.Nat8)),blocks:t.Vec(C),chain_length:t.Nat64,first_block_index:o,archived_blocks:t.Vec(t.Record({callback:O,start:o,length:t.Nat64}))}),J=t.Record({account:i}),se=t.Record({canister_id:t.Principal}),oe=t.Record({archives:t.Vec(se)}),ie=t.Vec(t.Nat8),ue=t.Record({to:i,fee:s,memo:n,from_subaccount:t.Opt(ie),created_at_time:t.Opt(l),amount:s}),ye=t.Variant({TxTooOld:t.Record({allowed_window_nanos:t.Nat64}),BadFee:t.Record({expected_fee:s}),TxDuplicate:t.Record({duplicate_of:o}),TxCreatedInFuture:t.Null,InsufficientFunds:t.Record({balance:s})}),X=t.Variant({Ok:o,Err:ye}),L=t.Record({}),ne=t.Record({transfer_fee:s});return t.Service({_blocks:t.Func([r],[Y],[]),account_balance:t.Func([J],[s],[]),archives:t.Func([],[oe],[]),decimals:t.Func([],[t.Record({decimals:t.Nat32})],[]),name:t.Func([],[t.Record({name:t.Text})],[]),symbol:t.Func([],[t.Record({symbol:t.Text})],[]),transfer:t.Func([ue],[X],[]),transfer_fee:t.Func([L],[ne],[])})};var gu=({IDL:t})=>{let o=t.Vec(t.Nat8),r=t.Record({account:o}),n=t.Record({e8s:t.Nat64}),i=t.Record({canister_id:t.Principal}),s=t.Record({archives:t.Vec(i)}),p=t.Nat64,l=t.Record({start:p,length:t.Nat64}),_=t.Nat64,C=t.Variant({Burn:t.Record({from:o,amount:n}),Mint:t.Record({to:o,amount:n}),Transfer:t.Record({to:o,fee:n,from:o,amount:n})}),Q=t.Record({timestamp_nanos:t.Nat64}),P=t.Record({memo:_,operation:t.Opt(C),created_at_time:Q}),G=t.Record({transaction:P,timestamp:Q,parent_hash:t.Opt(t.Vec(t.Nat8))}),O=t.Record({blocks:t.Vec(G)}),Y=t.Variant({BadFirstBlockIndex:t.Record({requested_index:p,first_valid_index:p}),Other:t.Record({error_message:t.Text,error_code:t.Nat64})}),J=t.Variant({Ok:O,Err:Y}),se=t.Func([l],[J],["query"]),oe=t.Record({certificate:t.Opt(t.Vec(t.Nat8)),blocks:t.Vec(G),chain_length:t.Nat64,first_block_index:p,archived_blocks:t.Vec(t.Record({callback:se,start:p,length:t.Nat64}))}),ie=t.Vec(t.Nat8),ue=t.Record({to:o,fee:n,memo:_,from_subaccount:t.Opt(ie),created_at_time:t.Opt(Q),amount:n}),ye=t.Variant({TxTooOld:t.Record({allowed_window_nanos:t.Nat64}),BadFee:t.Record({expected_fee:n}),TxDuplicate:t.Record({duplicate_of:p}),TxCreatedInFuture:t.Null,InsufficientFunds:t.Record({balance:n})}),X=t.Variant({Ok:p,Err:ye}),L=t.Record({}),ne=t.Record({transfer_fee:n});return t.Service({account_balance:t.Func([r],[n],["query"]),archives:t.Func([],[s],["query"]),decimals:t.Func([],[t.Record({decimals:t.Nat32})],["query"]),name:t.Func([],[t.Record({name:t.Text})],["query"]),query_blocks:t.Func([l],[oe],["query"]),symbol:t.Func([],[t.Record({symbol:t.Text})],["query"]),transfer:t.Func([ue],[X],[]),transfer_fee:t.Func([L],[ne],["query"])})};var St=qe(Bo());var li=qe(Bo());var cu=t=>{let o=new Uint8Array(t).buffer,r=new li.Subaccount;return r.setSubAccount(new Uint8Array(o)),r},uu=t=>{let o=new li.ICPTs;return o.setE8s(t.toString(10)),o},pu=t=>({e8s:t}),lu=({to:t,amount:o,memo:r,fee:n,fromSubAccount:i})=>({to:t.toNumbers(),fee:pu(n??Nr),amount:pu(o.toE8s()),memo:r??BigInt(0),created_at_time:[],from_subaccount:i===void 0?[]:[i]});var Ar=class{constructor(o,r,n,i,s,p,l=!1){this.agent=o;this.canisterId=r;this.service=n;this.certifiedService=i;this.updateFetcher=s;this.queryFetcher=p;this.hardwareWallet=l;this.accountBalance=async({accountIdentifier:o,certified:r=!0})=>{if(this.hardwareWallet)return this.accountBalanceHardwareWallet({accountIdentifier:o,certified:r});let i=await(r?this.certifiedService:this.service).account_balance({account:o.toNumbers()});return gt.fromE8s(i.e8s)};this.transactionFee=async()=>{let{transfer_fee:{e8s:o}}=await this.service.transfer_fee({});return o};this.transfer=async o=>{if(this.hardwareWallet)return this.transferHardwareWallet(o);o.fee===void 0&&(o.fee=this.hardwareWallet?Nr:await this.transactionFee());let r=lu(o),n=await this.certifiedService.transfer(r);if("Err"in n)throw wi(n.Err);return n.Ok};this.accountBalanceHardwareWallet=async({accountIdentifier:o,certified:r=!0})=>{let n=r?this.updateFetcher:this.queryFetcher,i=new St.AccountBalanceRequest;i.setAccount(o.toProto());let s=await n({agent:this.agent,canisterId:this.canisterId,methodName:"account_balance_pb",arg:i.serializeBinary()});return gt.fromE8s(BigInt(St.ICPTs.deserializeBinary(new Uint8Array(s)).getE8s()))};this.transferHardwareWallet=async({to:o,amount:r,memo:n,fee:i,fromSubAccount:s})=>{let p=new St.SendRequest;p.setTo(o.toProto());let l=new St.Payment;l.setReceiverGets(r.toProto()),p.setPayment(l),p.setMaxFee(uu(i??Nr));let _=new St.Memo;_.setMemo((n??BigInt(0)).toString()),p.setMemo(_),s!==void 0&&p.setFromSubaccount(cu(s));try{let C=await this.updateFetcher({agent:this.agent,canisterId:this.canisterId,methodName:"send_pb",arg:p.serializeBinary()});return BigInt(St.BlockHeight.deserializeBinary(C).getHeight())}catch(C){throw C instanceof Error?Mi(C):C}}}static create(o={}){let r=o.canisterId??La,{service:n,certifiedService:i,agent:s}=_o({options:{...o,canisterId:r},idlFactory:gu,certifiedIdlFactory:au});return new Ar(s,r,n,i,o.updateCallOverride??cr,o.queryCallOverride??nu,o.hardwareWallet)}};var Au=({IDL:t})=>{let o=t.Record({sns_subnet_ids:t.Vec(t.Principal)}),r=t.Record({wasm:t.Vec(t.Nat8),canister_type:t.Int32}),n=t.Record({hash:t.Vec(t.Nat8),wasm:t.Opt(r)}),i=t.Record({message:t.Text}),s=t.Variant({Error:i,Hash:t.Vec(t.Nat8)}),p=t.Record({result:t.Opt(s)}),l=t.Record({total_e8s:t.Nat64}),_=t.Record({controller:t.Opt(t.Principal),stake_e8s:t.Nat64}),C=t.Record({developer_neurons:t.Vec(_)}),Q=t.Record({airdrop_neurons:t.Vec(_)}),P=t.Record({total_e8s:t.Nat64,initial_swap_amount_e8s:t.Nat64}),G=t.Record({treasury_distribution:t.Opt(l),developer_distribution:t.Opt(C),airdrop_distribution:t.Opt(Q),swap_distribution:t.Opt(P)}),O=t.Variant({FractionalDeveloperVotingPower:G}),Y=t.Record({min_participant_icp_e8s:t.Opt(t.Nat64),fallback_controller_principal_ids:t.Vec(t.Text),token_symbol:t.Opt(t.Text),max_icp_e8s:t.Opt(t.Nat64),neuron_minimum_stake_e8s:t.Opt(t.Nat64),min_participants:t.Opt(t.Nat32),transaction_fee_e8s:t.Opt(t.Nat64),initial_token_distribution:t.Opt(O),token_name:t.Opt(t.Text),max_participant_icp_e8s:t.Opt(t.Nat64),proposal_reject_cost_e8s:t.Opt(t.Nat64),min_icp_e8s:t.Opt(t.Nat64)}),J=t.Record({sns_init_payload:t.Opt(Y)}),se=t.Record({root:t.Opt(t.Principal),swap:t.Opt(t.Principal),ledger:t.Opt(t.Principal),governance:t.Opt(t.Principal)}),oe=t.Record({subnet_id:t.Opt(t.Principal),error:t.Opt(i),canisters:t.Opt(se)}),ie=t.Record({root_wasm_hash:t.Vec(t.Nat8),swap_wasm_hash:t.Vec(t.Nat8),ledger_wasm_hash:t.Vec(t.Nat8),governance_wasm_hash:t.Vec(t.Nat8)}),ue=t.Record({current_version:t.Opt(ie)}),ye=t.Record({next_version:t.Opt(ie)}),X=t.Record({hash:t.Vec(t.Nat8)}),L=t.Record({wasm:t.Opt(r)}),ne=t.Record({root_canister_id:t.Opt(t.Principal)}),ge=t.Record({instances:t.Vec(ne)});return t.Service({add_wasm:t.Func([n],[p],[]),deploy_new_sns:t.Func([J],[oe],[]),get_next_sns_version:t.Func([ue],[ye],[]),get_wasm:t.Func([X],[L],[]),list_deployed_snses:t.Func([t.Record({})],[ge],[])})};var du=({IDL:t})=>{let o=t.Record({sns_subnet_ids:t.Vec(t.Principal)}),r=t.Record({wasm:t.Vec(t.Nat8),canister_type:t.Int32}),n=t.Record({hash:t.Vec(t.Nat8),wasm:t.Opt(r)}),i=t.Record({message:t.Text}),s=t.Variant({Error:i,Hash:t.Vec(t.Nat8)}),p=t.Record({result:t.Opt(s)}),l=t.Record({total_e8s:t.Nat64}),_=t.Record({controller:t.Opt(t.Principal),stake_e8s:t.Nat64}),C=t.Record({developer_neurons:t.Vec(_)}),Q=t.Record({airdrop_neurons:t.Vec(_)}),P=t.Record({total_e8s:t.Nat64,initial_swap_amount_e8s:t.Nat64}),G=t.Record({treasury_distribution:t.Opt(l),developer_distribution:t.Opt(C),airdrop_distribution:t.Opt(Q),swap_distribution:t.Opt(P)}),O=t.Variant({FractionalDeveloperVotingPower:G}),Y=t.Record({min_participant_icp_e8s:t.Opt(t.Nat64),fallback_controller_principal_ids:t.Vec(t.Text),token_symbol:t.Opt(t.Text),max_icp_e8s:t.Opt(t.Nat64),neuron_minimum_stake_e8s:t.Opt(t.Nat64),min_participants:t.Opt(t.Nat32),transaction_fee_e8s:t.Opt(t.Nat64),initial_token_distribution:t.Opt(O),token_name:t.Opt(t.Text),max_participant_icp_e8s:t.Opt(t.Nat64),proposal_reject_cost_e8s:t.Opt(t.Nat64),min_icp_e8s:t.Opt(t.Nat64)}),J=t.Record({sns_init_payload:t.Opt(Y)}),se=t.Record({root:t.Opt(t.Principal),swap:t.Opt(t.Principal),ledger:t.Opt(t.Principal),governance:t.Opt(t.Principal)}),oe=t.Record({subnet_id:t.Opt(t.Principal),error:t.Opt(i),canisters:t.Opt(se)}),ie=t.Record({root_wasm_hash:t.Vec(t.Nat8),swap_wasm_hash:t.Vec(t.Nat8),ledger_wasm_hash:t.Vec(t.Nat8),governance_wasm_hash:t.Vec(t.Nat8)}),ue=t.Record({current_version:t.Opt(ie)}),ye=t.Record({next_version:t.Opt(ie)}),X=t.Record({hash:t.Vec(t.Nat8)}),L=t.Record({wasm:t.Opt(r)}),ne=t.Record({root_canister_id:t.Opt(t.Principal)}),ge=t.Record({instances:t.Vec(ne)});return t.Service({add_wasm:t.Func([n],[p],[]),deploy_new_sns:t.Func([J],[oe],[]),get_next_sns_version:t.Func([ue],[ye],["query"]),get_wasm:t.Func([X],[L],["query"]),list_deployed_snses:t.Func([t.Record({})],[ge],["query"])})};var dr=class{constructor(o,r){this.service=o;this.certifiedService=r;this.listSnses=async({certified:o=!0})=>{let r=o?this.certifiedService:this.service,{instances:n}=await r.list_deployed_snses({});return n}}static create(o={}){let{service:r,certifiedService:n}=_o({options:{...o,canisterId:o.canisterId??Xa},idlFactory:du,certifiedIdlFactory:Au});return new dr(r,n)}};var fu=({recentBallots:t,proposalId:o})=>{if(!o)return;let r=t.find(({proposalId:n})=>n===o);return r==null?void 0:r.vote},hu=({neurons:t,proposal:o})=>{let{ballots:r,proposalTimestampSeconds:n}=o;return t.filter(({createdTimestampSeconds:i,neuronId:s})=>{let p=i>n,l=r.find(({neuronId:_})=>_===s)===void 0;return p||l})},bh=({neurons:t,proposal:o})=>{let{id:r}=o;return t.filter(({recentBallots:n,neuronId:i})=>fu({recentBallots:n,proposalId:r})===void 0&&hu({neurons:t,proposal:o}).find(({neuronId:s})=>s===i)===void 0)},yh=({neurons:t,proposal:o})=>{let{id:r}=o;return t.filter(({recentBallots:n})=>fu({recentBallots:n,proposalId:r})!==void 0)};0&&(module.exports={AccountIdentifier,BadFeeError,CouldNotClaimNeuronError,FeatureNotSupportedError,FromICPStringError,GenesisTokenCanister,GovernanceCanister,GovernanceError,ICP,InsufficientAmountError,InsufficientFundsError,InvalidAccountIDError,InvalidPercentageError,InvalidSenderError,LedgerCanister,NeuronState,ProposalRewardStatus,ProposalStatus,SnsWasmCanister,StakeNeuronError,SubAccount,Topic,TransferError,TxCreatedInFutureError,TxDuplicateError,TxTooOldError,UnrecognizedTypeError,UnsupportedValueError,Vote,accountIdentifierFromBytes,accountIdentifierToBytes,checkAccountId,ineligibleNeurons,mapTransferError,mapTransferProtoError,principalToAccountIdentifier,votableNeurons,votedNeurons});
857
- /*!
858
- * The buffer module from node.js, for the browser.
859
- *
860
- * @author Feross Aboukhadijeh <https://feross.org>
861
- * @license MIT
862
- */
863
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
18
+ Found checksum: ${r.toString("hex")}`)};var St=o=>{if(o<0||o>100)throw new qe(`${o} is not a valid percentage number.`)};var Nt=require("@dfinity/agent"),Se=async({agent:o,canisterId:t,methodName:r,arg:n})=>{let i=await o.call(t,{methodName:r,arg:n,effectiveCanisterId:t});if(!i.response.ok)throw new Error(["Call failed:",` Method: ${r}`,` Canister ID: ${t}`,` Request ID: ${i.requestId}`,` HTTP status code: ${i.response.status}`,` HTTP status text: ${i.response.statusText}`].join(`
19
+ `));let p=await Nt.polling.pollForResponse(o,t,i.requestId,Nt.polling.defaultStrategy());return new Uint8Array(p)},_n=async({agent:o,canisterId:t,methodName:r,arg:n})=>{let i=await o.query(t,{methodName:r,arg:n});if(i.status=="rejected")throw new Error(["Call failed:",` Method: ${r}`,` Canister ID: ${t}`,` HTTP status code: ${i.reject_code}`,` HTTP status text: ${i.reject_message}`].join(`
20
+ `));return new Uint8Array(i.reply.arg)};var Ne=class{constructor(t,r,n,i,p=!1){this.canisterId=t;this.service=r;this.certifiedService=n;this.agent=i;this.hardwareWallet=p;this.listNeurons=async({certified:t=!0,neuronIds:r})=>{if(this.hardwareWallet&&!t)throw new Ke;if(this.hardwareWallet)return this.listNeuronsHardwareWallet();let n=Rr(r),i=await this.getGovernanceService(t).list_neurons(n);return gn({response:i,canisterId:this.canisterId})};this.listKnownNeurons=async(t=!0)=>(await this.getGovernanceService(t).list_known_neurons()).known_neurons.map(n=>{var i,p,l;return{id:((i=n.id[0])==null?void 0:i.id)??BigInt(0),name:((p=n.known_neuron_data[0])==null?void 0:p.name)??"",description:(l=n.known_neuron_data[0])==null?void 0:l.description[0]}});this.listProposals=async({request:t,certified:r=!0})=>{let n=Sr(t),i=await this.getGovernanceService(r).list_proposals(n);return cn(i)};this.stakeNeuron=async({stake:t,principal:r,fromSubAccount:n,ledgerCanister:i})=>{if(t.toE8s()<to)throw new De(V.fromString("1"));let p=new Uint8Array((0,hn.default)(8)),l=er(p),_=this.buildNeuronStakeSubAccount(p,r),y=Q.fromPrincipal({principal:this.canisterId,subAccount:_});await i.transfer({memo:l,amount:t,fromSubAccount:n,to:y});let R=await this.claimOrRefreshNeuronFromAccount({controller:r,memo:l});if(R===void 0)throw new Ge;return R};this.increaseDissolveDelay=async({neuronId:t,additionalDissolveDelaySeconds:r})=>{if(this.hardwareWallet)return this.increaseDissolveDelayHardwareWallet({neuronId:t,additionalDissolveDelaySeconds:r});let n=jr({neuronId:t,additionalDissolveDelaySeconds:r});return D({request:n,service:this.certifiedService})};this.startDissolving=async t=>{if(this.hardwareWallet)return this.startDissolvingHardwareWallet(t);let r=zr(t);return D({request:r,service:this.certifiedService})};this.stopDissolving=async t=>{if(this.hardwareWallet)return this.stopDissolvingHardwareWallet(t);let r=Ir(t);return D({request:r,service:this.certifiedService})};this.joinCommunityFund=async t=>{let r=Ur(t);return D({request:r,service:this.certifiedService})};this.leaveCommunityFund=async t=>{let r=Wr(t);return D({request:r,service:this.certifiedService})};this.mergeNeurons=async t=>{if(this.hardwareWallet)return this.mergeNeuronsHardwareWallet(t);let r=kr(t);return D({request:r,service:this.certifiedService})};this.splitNeuron=async({neuronId:t,amount:r})=>{let n=Tr({neuronId:t,amount:r.toE8s()}),i=await this.certifiedService.manage_neuron(n),p=co(i);if("Split"in p){let l=p.Split.created_neuron_id[0];if(l===void 0)throw new L({error_message:"Unexpected error splitting neuron. No neuronId in Split response.",error_type:0});return l.id}throw new re(`Unrecognized Split error in ${JSON.stringify(i)}`)};this.getProposal=async({proposalId:t,certified:r=!0})=>{let[n]=await this.getGovernanceService(r).get_proposal_info(t);return n?Mt(n):void 0};this.makeProposal=async t=>{let r=Or(t);return D({request:r,service:this.certifiedService})};this.registerVote=async({neuronId:t,vote:r,proposalId:n})=>{let i=Er({neuronId:t,vote:r,proposalId:n});return D({request:i,service:this.certifiedService})};this.setFollowees=async t=>{let r=Fr(t);return D({request:r,service:this.certifiedService})};this.disburse=async({neuronId:t,toAccountId:r,amount:n})=>{if(r!==void 0&&Rt(r),this.hardwareWallet)return this.disburseHardwareWallet({neuronId:t,toAccountId:r,amount:n});let i=wr({neuronId:t,toAccountId:r,amount:n});return D({request:i,service:this.certifiedService})};this.mergeMaturity=async({neuronId:t,percentageToMerge:r})=>{if(St(r),this.hardwareWallet)return this.mergeMaturityHardwareWallet({neuronId:t,percentageToMerge:r});let n=Br({neuronId:t,percentageToMerge:r});return D({request:n,service:this.certifiedService})};this.spawnNeuron=async({neuronId:t,percentageToSpawn:r,newController:n,nonce:i})=>{if(r!==void 0&&St(r),this.hardwareWallet)return this.spawnHardwareWallet({neuronId:t,percentageToSpawn:r,newController:n==null?void 0:n.toText()});let p=Ar({neuronId:t,percentageToSpawn:r,newController:n,nonce:i}),l=await this.certifiedService.manage_neuron(p),_=co(l);if("Spawn"in _&&_.Spawn.created_neuron_id[0]!==void 0)return _.Spawn.created_neuron_id[0].id;throw new re(`Unrecognized Spawn error in ${JSON.stringify(l)}`)};this.addHotkey=async({neuronId:t,principal:r})=>{if(this.hardwareWallet)return this.addHotkeyHardwareWallet({neuronId:t,principal:r});let n=Cr({neuronId:t,principal:r});return D({request:n,service:this.certifiedService})};this.removeHotkey=async({neuronId:t,principal:r})=>{if(this.hardwareWallet)return this.removeHotkeyHardwareWallet({neuronId:t,principal:r});let n=Pr({neuronId:t,principal:r});return D({request:n,service:this.certifiedService})};this.claimOrRefreshNeuronFromAccount=async({memo:t,controller:r})=>{var l;let n=xr({memo:t,controller:r}),i=await this.certifiedService.manage_neuron(n),{command:p}=i;if(p.length&&"ClaimOrRefresh"in p[0])return(l=p[0].ClaimOrRefresh.refreshed_neuron_id[0])==null?void 0:l.id;throw new re(`Unrecognized ClaimOrRefresh error in ${JSON.stringify(i)}`)};this.claimOrRefreshNeuron=async t=>{var p;let r=Nr(t),n=await this.service.manage_neuron(r),{command:i}=n;if(i.length&&"ClaimOrRefresh"in i[0])return(p=i[0].ClaimOrRefresh.refreshed_neuron_id[0])==null?void 0:p.id;throw new re(`Unrecognized ClaimOrRefresh error in ${JSON.stringify(n)}`)};this.buildNeuronStakeSubAccount=(t,r)=>{let n=be("neuron-stake"),i=yn.sha256.create();return i.update([12,...n,...r.toUint8Array(),...t]),oe.fromBytes(new Uint8Array(i.array()))};this.getNeuron=async({certified:t=!0,neuronId:r})=>{let[n]=await this.listNeurons({certified:t,neuronIds:[r]});return n};this.listNeuronsHardwareWallet=async()=>{let t=new xe.ListNeurons;t.setIncludeNeuronsReadableByCaller(!0);let r=await Se({agent:this.agent,canisterId:this.canisterId,methodName:"list_neurons_pb",arg:t.serializeBinary()}),n=xe.ListNeuronsResponse.deserializeBinary(r),i=n.getFullNeuronsList();return n.getNeuronIdsList().map(ln({pbNeurons:i,canisterId:this.canisterId}))};this.manageNeuronUpdateCall=async t=>{let r=await Se({agent:this.agent,canisterId:this.canisterId,methodName:"manage_neuron_pb",arg:t.serializeBinary()});fn(r)};this.addHotkeyHardwareWallet=async({neuronId:t,principal:r})=>{let n=Vr({neuronId:t,principal:r.toText()});await this.manageNeuronUpdateCall(n)};this.removeHotkeyHardwareWallet=async({neuronId:t,principal:r})=>{let n=Gr({neuronId:t,principal:r.toText()});await this.manageNeuronUpdateCall(n)};this.increaseDissolveDelayHardwareWallet=async({neuronId:t,additionalDissolveDelaySeconds:r})=>{let n=Dr({neuronId:t,additionalDissolveDelaySeconds:r});await this.manageNeuronUpdateCall(n)};this.startDissolvingHardwareWallet=async t=>{let r=qr(t);await this.manageNeuronUpdateCall(r)};this.stopDissolvingHardwareWallet=async t=>{let r=Kr(t);await this.manageNeuronUpdateCall(r)};this.disburseHardwareWallet=async t=>{let r=Yr(t);await this.manageNeuronUpdateCall(r)};this.mergeMaturityHardwareWallet=async t=>{let r=Jr(t);await this.manageNeuronUpdateCall(r)};this.spawnHardwareWallet=async t=>{var _;let r=$r(t),n=await Se({agent:this.agent,canisterId:this.canisterId,methodName:"manage_neuron_pb",arg:r.serializeBinary()}),i=xe.ManageNeuronResponse.deserializeBinary(n),p=i.getError();if(p)throw new L({error_message:p.getErrorMessage(),error_type:p.getErrorType()});let l=(_=i.getSpawn())==null?void 0:_.getCreatedNeuronId();if(l!==void 0)return BigInt(l.getId());throw new re(`Unrecognized Spawn error in ${JSON.stringify(i)}`)};this.mergeNeuronsHardwareWallet=async t=>{let r=Xr(t);await this.manageNeuronUpdateCall(r)};this.canisterId=t,this.service=r,this.certifiedService=n,this.agent=i,this.hardwareWallet=p}static create(t={}){let r=t.canisterId??ar,{service:n,certifiedService:i,agent:p}=(0,bn.createServices)({options:{...t,canisterId:r},idlFactory:_r,certifiedIdlFactory:fr});return new Ne(r,n,i,p,t.hardwareWallet)}getGovernanceService(t){return t?this.certifiedService:this.service}};var xn=require("@dfinity/utils");var vn=({IDL:o})=>{let t=o.Nat64,r=o.Record({start:t,length:o.Nat64}),n=o.Nat64,i=o.Vec(o.Nat8),p=o.Record({e8s:o.Nat64}),l=o.Variant({Burn:o.Record({from:i,amount:p}),Mint:o.Record({to:i,amount:p}),Transfer:o.Record({to:i,fee:p,from:i,amount:p})}),_=o.Record({timestamp_nanos:o.Nat64}),y=o.Record({memo:n,operation:o.Opt(l),created_at_time:_}),R=o.Record({transaction:y,timestamp:_,parent_hash:o.Opt(o.Vec(o.Nat8))}),x=o.Record({blocks:o.Vec(R)}),O=o.Variant({BadFirstBlockIndex:o.Record({requested_index:t,first_valid_index:t}),Other:o.Record({error_message:o.Text,error_code:o.Nat64})}),N=o.Variant({Ok:x,Err:O}),T=o.Func([r],[N],[]),P=o.Record({certificate:o.Opt(o.Vec(o.Nat8)),blocks:o.Vec(R),chain_length:o.Nat64,first_block_index:t,archived_blocks:o.Vec(o.Record({callback:T,start:t,length:o.Nat64}))}),w=o.Record({account:i}),k=o.Record({canister_id:o.Principal}),H=o.Record({archives:o.Vec(k)}),U=o.Vec(o.Nat8),I=o.Record({to:i,fee:p,memo:n,from_subaccount:o.Opt(U),created_at_time:o.Opt(_),amount:p}),X=o.Variant({TxTooOld:o.Record({allowed_window_nanos:o.Nat64}),BadFee:o.Record({expected_fee:p}),TxDuplicate:o.Record({duplicate_of:t}),TxCreatedInFuture:o.Null,InsufficientFunds:o.Record({balance:p})}),q=o.Variant({Ok:t,Err:X}),Z=o.Record({}),Y=o.Record({transfer_fee:p});return o.Service({_blocks:o.Func([r],[P],[]),account_balance:o.Func([w],[p],[]),archives:o.Func([],[H],[]),decimals:o.Func([],[o.Record({decimals:o.Nat32})],[]),name:o.Func([],[o.Record({name:o.Text})],[]),symbol:o.Func([],[o.Record({symbol:o.Text})],[]),transfer:o.Func([I],[q],[]),transfer_fee:o.Func([Z],[Y],[])})};var mn=({IDL:o})=>{let t=o.Vec(o.Nat8),r=o.Record({account:t}),n=o.Record({e8s:o.Nat64}),i=o.Record({canister_id:o.Principal}),p=o.Record({archives:o.Vec(i)}),l=o.Nat64,_=o.Record({start:l,length:o.Nat64}),y=o.Nat64,R=o.Variant({Burn:o.Record({from:t,amount:n}),Mint:o.Record({to:t,amount:n}),Transfer:o.Record({to:t,fee:n,from:t,amount:n})}),x=o.Record({timestamp_nanos:o.Nat64}),O=o.Record({memo:y,operation:o.Opt(R),created_at_time:x}),N=o.Record({transaction:O,timestamp:x,parent_hash:o.Opt(o.Vec(o.Nat8))}),T=o.Record({blocks:o.Vec(N)}),P=o.Variant({BadFirstBlockIndex:o.Record({requested_index:l,first_valid_index:l}),Other:o.Record({error_message:o.Text,error_code:o.Nat64})}),w=o.Variant({Ok:T,Err:P}),k=o.Func([_],[w],["query"]),H=o.Record({certificate:o.Opt(o.Vec(o.Nat8)),blocks:o.Vec(N),chain_length:o.Nat64,first_block_index:l,archived_blocks:o.Vec(o.Record({callback:k,start:l,length:o.Nat64}))}),U=o.Vec(o.Nat8),I=o.Record({to:t,fee:n,memo:y,from_subaccount:o.Opt(U),created_at_time:o.Opt(x),amount:n}),X=o.Variant({TxTooOld:o.Record({allowed_window_nanos:o.Nat64}),BadFee:o.Record({expected_fee:n}),TxDuplicate:o.Record({duplicate_of:l}),TxCreatedInFuture:o.Null,InsufficientFunds:o.Record({balance:n})}),q=o.Variant({Ok:l,Err:X}),Z=o.Record({}),Y=o.Record({transfer_fee:n});return o.Service({account_balance:o.Func([r],[n],["query"]),archives:o.Func([],[p],["query"]),decimals:o.Func([],[o.Record({decimals:o.Nat32})],["query"]),name:o.Func([],[o.Record({name:o.Text})],["query"]),query_blocks:o.Func([_],[H],["query"]),symbol:o.Func([],[o.Record({symbol:o.Text})],["query"]),transfer:o.Func([I],[q],[]),transfer_fee:o.Func([Z],[Y],["query"])})};var $=J(de());var uo=J(de());var Rn=o=>{let t=new Uint8Array(o).buffer,r=new uo.Subaccount;return r.setSubAccount(new Uint8Array(t)),r},Sn=o=>{let t=new uo.ICPTs;return t.setE8s(o.toString(10)),t},Mn=o=>({e8s:o}),Nn=({to:o,amount:t,memo:r,fee:n,fromSubAccount:i})=>({to:o.toNumbers(),fee:Mn(n??Ye),amount:Mn(t.toE8s()),memo:r??BigInt(0),created_at_time:[],from_subaccount:i===void 0?[]:[i]});var Te=class{constructor(t,r,n,i,p,l,_=!1){this.agent=t;this.canisterId=r;this.service=n;this.certifiedService=i;this.updateFetcher=p;this.queryFetcher=l;this.hardwareWallet=_;this.accountBalance=async({accountIdentifier:t,certified:r=!0})=>{if(this.hardwareWallet)return this.accountBalanceHardwareWallet({accountIdentifier:t,certified:r});let i=await(r?this.certifiedService:this.service).account_balance({account:t.toNumbers()});return V.fromE8s(i.e8s)};this.transactionFee=async()=>{let{transfer_fee:{e8s:t}}=await this.service.transfer_fee({});return t};this.transfer=async t=>{if(this.hardwareWallet)return this.transferHardwareWallet(t);t.fee===void 0&&(t.fee=this.hardwareWallet?Ye:await this.transactionFee());let r=Nn(t),n=await this.certifiedService.transfer(r);if("Err"in n)throw lt(n.Err);return n.Ok};this.accountBalanceHardwareWallet=async({accountIdentifier:t,certified:r=!0})=>{let n=r?this.updateFetcher:this.queryFetcher,i=new $.AccountBalanceRequest;i.setAccount(t.toProto());let p=await n({agent:this.agent,canisterId:this.canisterId,methodName:"account_balance_pb",arg:i.serializeBinary()});return V.fromE8s(BigInt($.ICPTs.deserializeBinary(new Uint8Array(p)).getE8s()))};this.transferHardwareWallet=async({to:t,amount:r,memo:n,fee:i,fromSubAccount:p})=>{let l=new $.SendRequest;l.setTo(t.toProto());let _=new $.Payment;_.setReceiverGets(r.toProto()),l.setPayment(_),l.setMaxFee(Sn(i??Ye));let y=new $.Memo;y.setMemo((n??BigInt(0)).toString()),l.setMemo(y),p!==void 0&&l.setFromSubaccount(Rn(p));try{let R=await this.updateFetcher({agent:this.agent,canisterId:this.canisterId,methodName:"send_pb",arg:l.serializeBinary()});return BigInt($.BlockHeight.deserializeBinary(R).getHeight())}catch(R){throw R instanceof Error?dt(R):R}}}static create(t={}){let r=t.canisterId??pr,{service:n,certifiedService:i,agent:p}=(0,xn.createServices)({options:{...t,canisterId:r},idlFactory:mn,certifiedIdlFactory:vn});return new Te(p,r,n,i,t.updateCallOverride??Se,t.queryCallOverride??_n,t.hardwareWallet)}};var On=require("@dfinity/utils");var Tn=({IDL:o})=>{let t=o.Record({access_controls_enabled:o.Bool,sns_subnet_ids:o.Vec(o.Principal)}),r=o.Record({wasm:o.Vec(o.Nat8),canister_type:o.Int32}),n=o.Record({hash:o.Vec(o.Nat8),wasm:o.Opt(r)}),i=o.Record({message:o.Text}),p=o.Variant({Error:i,Hash:o.Vec(o.Nat8)}),l=o.Record({result:o.Opt(p)}),_=o.Record({total_e8s:o.Nat64}),y=o.Record({controller:o.Opt(o.Principal),stake_e8s:o.Nat64}),R=o.Record({developer_neurons:o.Vec(y)}),x=o.Record({airdrop_neurons:o.Vec(y)}),O=o.Record({total_e8s:o.Nat64,initial_swap_amount_e8s:o.Nat64}),N=o.Record({treasury_distribution:o.Opt(_),developer_distribution:o.Opt(R),airdrop_distribution:o.Opt(x),swap_distribution:o.Opt(O)}),T=o.Variant({FractionalDeveloperVotingPower:N}),P=o.Record({url:o.Opt(o.Text),min_participant_icp_e8s:o.Opt(o.Nat64),fallback_controller_principal_ids:o.Vec(o.Text),token_symbol:o.Opt(o.Text),max_icp_e8s:o.Opt(o.Nat64),neuron_minimum_stake_e8s:o.Opt(o.Nat64),logo:o.Opt(o.Text),name:o.Opt(o.Text),description:o.Opt(o.Text),min_participants:o.Opt(o.Nat32),transaction_fee_e8s:o.Opt(o.Nat64),initial_token_distribution:o.Opt(T),token_name:o.Opt(o.Text),max_participant_icp_e8s:o.Opt(o.Nat64),proposal_reject_cost_e8s:o.Opt(o.Nat64),min_icp_e8s:o.Opt(o.Nat64)}),w=o.Record({sns_init_payload:o.Opt(P)}),k=o.Record({root:o.Opt(o.Principal),swap:o.Opt(o.Principal),ledger:o.Opt(o.Principal),governance:o.Opt(o.Principal)}),H=o.Record({subnet_id:o.Opt(o.Principal),error:o.Opt(i),canisters:o.Opt(k)}),U=o.Record({root_wasm_hash:o.Vec(o.Nat8),swap_wasm_hash:o.Vec(o.Nat8),ledger_wasm_hash:o.Vec(o.Nat8),governance_wasm_hash:o.Vec(o.Nat8)}),I=o.Record({current_version:o.Opt(U)}),X=o.Record({next_version:o.Opt(U)}),q=o.Record({hash:o.Vec(o.Nat8)}),Z=o.Record({wasm:o.Opt(r)}),Y=o.Record({root_canister_id:o.Opt(o.Principal)}),se=o.Record({instances:o.Vec(Y)});return o.Service({add_wasm:o.Func([n],[l],[]),deploy_new_sns:o.Func([w],[H],[]),get_next_sns_version:o.Func([I],[X],[]),get_wasm:o.Func([q],[Z],[]),list_deployed_snses:o.Func([o.Record({})],[se],[])})};var En=({IDL:o})=>{let t=o.Record({access_controls_enabled:o.Bool,sns_subnet_ids:o.Vec(o.Principal)}),r=o.Record({wasm:o.Vec(o.Nat8),canister_type:o.Int32}),n=o.Record({hash:o.Vec(o.Nat8),wasm:o.Opt(r)}),i=o.Record({message:o.Text}),p=o.Variant({Error:i,Hash:o.Vec(o.Nat8)}),l=o.Record({result:o.Opt(p)}),_=o.Record({total_e8s:o.Nat64}),y=o.Record({controller:o.Opt(o.Principal),stake_e8s:o.Nat64}),R=o.Record({developer_neurons:o.Vec(y)}),x=o.Record({airdrop_neurons:o.Vec(y)}),O=o.Record({total_e8s:o.Nat64,initial_swap_amount_e8s:o.Nat64}),N=o.Record({treasury_distribution:o.Opt(_),developer_distribution:o.Opt(R),airdrop_distribution:o.Opt(x),swap_distribution:o.Opt(O)}),T=o.Variant({FractionalDeveloperVotingPower:N}),P=o.Record({url:o.Opt(o.Text),min_participant_icp_e8s:o.Opt(o.Nat64),fallback_controller_principal_ids:o.Vec(o.Text),token_symbol:o.Opt(o.Text),max_icp_e8s:o.Opt(o.Nat64),neuron_minimum_stake_e8s:o.Opt(o.Nat64),logo:o.Opt(o.Text),name:o.Opt(o.Text),description:o.Opt(o.Text),min_participants:o.Opt(o.Nat32),transaction_fee_e8s:o.Opt(o.Nat64),initial_token_distribution:o.Opt(T),token_name:o.Opt(o.Text),max_participant_icp_e8s:o.Opt(o.Nat64),proposal_reject_cost_e8s:o.Opt(o.Nat64),min_icp_e8s:o.Opt(o.Nat64)}),w=o.Record({sns_init_payload:o.Opt(P)}),k=o.Record({root:o.Opt(o.Principal),swap:o.Opt(o.Principal),ledger:o.Opt(o.Principal),governance:o.Opt(o.Principal)}),H=o.Record({subnet_id:o.Opt(o.Principal),error:o.Opt(i),canisters:o.Opt(k)}),U=o.Record({root_wasm_hash:o.Vec(o.Nat8),swap_wasm_hash:o.Vec(o.Nat8),ledger_wasm_hash:o.Vec(o.Nat8),governance_wasm_hash:o.Vec(o.Nat8)}),I=o.Record({current_version:o.Opt(U)}),X=o.Record({next_version:o.Opt(U)}),q=o.Record({hash:o.Vec(o.Nat8)}),Z=o.Record({wasm:o.Opt(r)}),Y=o.Record({root_canister_id:o.Opt(o.Principal)}),se=o.Record({instances:o.Vec(Y)});return o.Service({add_wasm:o.Func([n],[l],[]),deploy_new_sns:o.Func([w],[H],[]),get_next_sns_version:o.Func([I],[X],["query"]),get_wasm:o.Func([q],[Z],["query"]),list_deployed_snses:o.Func([o.Record({})],[se],["query"])})};var Ee=class{constructor(t,r){this.service=t;this.certifiedService=r;this.listSnses=async({certified:t=!0})=>{let r=t?this.certifiedService:this.service,{instances:n}=await r.list_deployed_snses({});return n}}static create(t={}){let{service:r,certifiedService:n}=(0,On.createServices)({options:{...t,canisterId:t.canisterId??cr},idlFactory:En,certifiedIdlFactory:Tn});return new Ee(r,n)}};var Fn=({recentBallots:o,proposalId:t})=>{if(!t)return;let r=o.find(({proposalId:n})=>n===t);return r==null?void 0:r.vote},wn=({neurons:o,proposal:t})=>{let{ballots:r,proposalTimestampSeconds:n}=t;return o.filter(({createdTimestampSeconds:i,neuronId:p})=>{let l=i>n,_=r.find(({neuronId:y})=>y===p)===void 0;return l||_})},Mi=({neurons:o,proposal:t})=>{let{id:r}=t;return o.filter(({recentBallots:n,neuronId:i})=>Fn({recentBallots:n,proposalId:r})===void 0&&wn({neurons:o,proposal:t}).find(({neuronId:p})=>p===i)===void 0)},Ri=({neurons:o,proposal:t})=>{let{id:r}=t;return o.filter(({recentBallots:n})=>Fn({recentBallots:n,proposalId:r})!==void 0)};0&&(module.exports={AccountIdentifier,BadFeeError,CouldNotClaimNeuronError,FeatureNotSupportedError,FromICPStringError,GenesisTokenCanister,GovernanceCanister,GovernanceError,ICP,InsufficientAmountError,InsufficientFundsError,InvalidAccountIDError,InvalidPercentageError,InvalidSenderError,LedgerCanister,NeuronState,ProposalRewardStatus,ProposalStatus,SnsWasmCanister,StakeNeuronError,SubAccount,Topic,TransferError,TxCreatedInFutureError,TxDuplicateError,TxTooOldError,UnrecognizedTypeError,UnsupportedValueError,Vote,accountIdentifierFromBytes,accountIdentifierToBytes,checkAccountId,ineligibleNeurons,mapTransferError,mapTransferProtoError,principalToAccountIdentifier,votableNeurons,votedNeurons});
864
21
  /**
865
22
  * [js-sha256]{@link https://github.com/emn178/js-sha256}
866
23
  *