@dfinity/nns 0.4.0 → 0.4.1

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 (66) hide show
  1. package/dist/candid/genesis_token.certified.idl.js +37 -0
  2. package/dist/candid/genesis_token.did +30 -0
  3. package/dist/candid/genesis_token.idl.d.ts +10 -0
  4. package/dist/candid/genesis_token.idl.js +37 -0
  5. package/dist/candid/governance.certified.idl.js +14 -0
  6. package/dist/candid/governance.did +18 -4
  7. package/dist/candid/governance.idl.js +23 -5
  8. package/dist/candid/governanceTypes.d.ts +19 -13
  9. package/dist/candid/payloads.did +127 -21
  10. package/dist/candid/payloads.idl.d.ts +28 -1
  11. package/dist/candid/payloads.idl.js +97 -3
  12. package/dist/cjs/index.cjs.js +36 -33
  13. package/dist/cjs/index.cjs.js.map +3 -3
  14. package/dist/esm/account_identifier.js +1 -1
  15. package/dist/esm/{chunk-L4BUBLWY.js → chunk-E6UFXMWU.js} +20 -20
  16. package/dist/esm/{chunk-L4BUBLWY.js.map → chunk-E6UFXMWU.js.map} +2 -2
  17. package/dist/esm/{chunk-PKY54KPG.js → chunk-FL7E4DL3.js} +3 -3
  18. package/dist/esm/{chunk-PKY54KPG.js.map → chunk-FL7E4DL3.js.map} +1 -1
  19. package/dist/esm/chunk-HPCMNLTU.js +2 -0
  20. package/dist/esm/{chunk-7RUPLQYT.js.map → chunk-HPCMNLTU.js.map} +3 -3
  21. package/dist/esm/chunk-KUIJF2IJ.js +4 -0
  22. package/dist/esm/chunk-KUIJF2IJ.js.map +7 -0
  23. package/dist/esm/chunk-KXYKDST6.js +17 -0
  24. package/dist/esm/{chunk-BRAPLAM7.js.map → chunk-KXYKDST6.js.map} +3 -3
  25. package/dist/esm/chunk-MTPVFXPH.js +2 -0
  26. package/dist/esm/{chunk-EWMNJTAM.js.map → chunk-MTPVFXPH.js.map} +1 -1
  27. package/dist/esm/chunk-NOBP3Q32.js +7 -0
  28. package/dist/esm/chunk-NOBP3Q32.js.map +7 -0
  29. package/dist/esm/chunk-ONAVPXOT.js +2 -0
  30. package/dist/esm/chunk-ONAVPXOT.js.map +7 -0
  31. package/dist/esm/chunk-QNJXXPDD.js +2 -0
  32. package/dist/esm/chunk-QNJXXPDD.js.map +7 -0
  33. package/dist/esm/{chunk-CY2PTZ5N.js → chunk-XMQ7XZ3Q.js} +2 -2
  34. package/dist/esm/{chunk-CY2PTZ5N.js.map → chunk-XMQ7XZ3Q.js.map} +1 -1
  35. package/dist/esm/genesis_token.js +2 -0
  36. package/dist/esm/genesis_token.js.map +7 -0
  37. package/dist/esm/governance.js +1 -1
  38. package/dist/esm/icp.js +1 -1
  39. package/dist/esm/index.js +1 -1
  40. package/dist/esm/index.js.map +3 -3
  41. package/dist/esm/ledger.js +1 -1
  42. package/dist/proto/governance.proto +287 -0
  43. package/dist/proto/governance_pb.d.ts +1055 -0
  44. package/dist/proto/governance_pb.js +7806 -0
  45. package/dist/types/canisters/governance/request.converters.d.ts +15 -0
  46. package/dist/types/canisters/governance/request.proto.converters.d.ts +15 -0
  47. package/dist/types/canisters/governance/response.converters.d.ts +2 -0
  48. package/dist/types/canisters/governance/response.proto.converters.d.ts +1 -0
  49. package/dist/types/canisters/governance/services.d.ts +7 -1
  50. package/dist/types/constants/canister_ids.d.ts +1 -0
  51. package/dist/types/errors/governance.errors.d.ts +7 -1
  52. package/dist/types/genesis_token.d.ts +17 -0
  53. package/dist/types/governance.d.ts +49 -1
  54. package/dist/types/index.d.ts +2 -0
  55. package/dist/types/types/governance.d.ts +1 -0
  56. package/dist/types/types/governance_converters.d.ts +10 -5
  57. package/dist/types/utils/account_identifier.utils.d.ts +5 -0
  58. package/dist/types/utils/accounts.utils.d.ts +6 -0
  59. package/dist/types/utils/converter.utils.d.ts +0 -5
  60. package/dist/types/utils/number.utils.d.ts +1 -0
  61. package/package.json +17 -17
  62. package/dist/esm/chunk-7RUPLQYT.js +0 -4
  63. package/dist/esm/chunk-BRAPLAM7.js +0 -18
  64. package/dist/esm/chunk-DEPEAMHA.js +0 -3
  65. package/dist/esm/chunk-DEPEAMHA.js.map +0 -7
  66. package/dist/esm/chunk-EWMNJTAM.js +0 -2
@@ -1,4 +1,4 @@
1
- var U=Object.create;var D=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var H=(o,t,r)=>t in o?D(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r;var I=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),q=(o,t)=>{for(var r in t)D(o,r,{get:t[r],enumerable:!0})},G=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of k(t))!z.call(o,s)&&s!==r&&D(o,s,{get:()=>t[s],enumerable:!(i=W(t,s))||i.enumerable});return o};var Y=(o,t,r)=>(r=o!=null?U(x(o)):{},G(t||!o||!o.__esModule?D(r,"default",{value:o,enumerable:!0}):r,o));var $=(o,t,r)=>(H(o,typeof t!="symbol"?t+"":t,r),r);var C=I((exports,module)=>{var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(o,t,r){o instanceof String&&(o=String(o));for(var i=o.length,s=0;s<i;s++){var g=o[s];if(t.call(r,g,s,o))return{i:s,v:g}}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 window<"u"&&window!=null?window:o};$jscomp.global=$jscomp.getGlobal(exports);$jscomp.polyfill=function(o,t,r,i){if(t){for(r=$jscomp.global,o=o.split("."),i=0;i<o.length-1;i++){var s=o[i];s in r||(r[s]={}),r=r[s]}o=o[o.length-1],i=r[o],t=t(i),t!=i&&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 i=$jscomp.checkStringArgs(this,t,"endsWith");t+="",r===void 0&&(r=i.length),r=Math.max(0,Math.min(r|0,i.length));for(var s=t.length;0<s&&0<r;)if(i[--r]!=t[--s])return!1;return 0>=s}},"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 i=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var s=i.length,g=t.length;r=Math.max(0,Math.min(r|0,i.length));for(var l=0;l<g&&r<s;)if(i[r++]!=t[l++])return!1;return l>=g}},"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 i="";t;)t&1&&(i+=r),(t>>>=1)&&(r+=r);return i}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=exports||self;goog.isDef=function(o){return o!==void 0};goog.isString=function(o){return typeof o=="string"};goog.isBoolean=function(o){return typeof o=="boolean"};goog.isNumber=function(o){return typeof o=="number"};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 i;o.length&&(i=o.shift());)!o.length&&goog.isDef(t)?r[i]=t:r=r[i]&&r[i]!==Object.prototype[i]?r[i]:r[i]={}};goog.define=function(o,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,i=goog.global.CLOSURE_DEFINES;r&&r.nodeType===void 0&&Object.prototype.hasOwnProperty.call(r,o)?t=r[o]:i&&i.nodeType===void 0&&Object.prototype.hasOwnProperty.call(i,o)&&(t=i[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(!goog.isString(o)||!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.isDefAndNotNull(goog.getObjectByName(o))},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]],!goog.isDefAndNotNull(t))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,i){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(o,t,r,i)};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+`
1
+ import{a as D}from"./chunk-ONAVPXOT.js";var I=D((exports,module)=>{var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(o,t,r){o instanceof String&&(o=String(o));for(var i=o.length,s=0;s<i;s++){var g=o[s];if(t.call(r,g,s,o))return{i:s,v:g}}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 window<"u"&&window!=null?window:o};$jscomp.global=$jscomp.getGlobal(exports);$jscomp.polyfill=function(o,t,r,i){if(t){for(r=$jscomp.global,o=o.split("."),i=0;i<o.length-1;i++){var s=o[i];s in r||(r[s]={}),r=r[s]}o=o[o.length-1],i=r[o],t=t(i),t!=i&&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 i=$jscomp.checkStringArgs(this,t,"endsWith");t+="",r===void 0&&(r=i.length),r=Math.max(0,Math.min(r|0,i.length));for(var s=t.length;0<s&&0<r;)if(i[--r]!=t[--s])return!1;return 0>=s}},"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 i=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var s=i.length,g=t.length;r=Math.max(0,Math.min(r|0,i.length));for(var l=0;l<g&&r<s;)if(i[r++]!=t[l++])return!1;return l>=g}},"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 i="";t;)t&1&&(i+=r),(t>>>=1)&&(r+=r);return i}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=exports||self;goog.isDef=function(o){return o!==void 0};goog.isString=function(o){return typeof o=="string"};goog.isBoolean=function(o){return typeof o=="boolean"};goog.isNumber=function(o){return typeof o=="number"};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 i;o.length&&(i=o.shift());)!o.length&&goog.isDef(t)?r[i]=t:r=r[i]&&r[i]!==Object.prototype[i]?r[i]:r[i]={}};goog.define=function(o,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,i=goog.global.CLOSURE_DEFINES;r&&r.nodeType===void 0&&Object.prototype.hasOwnProperty.call(r,o)?t=r[o]:i&&i.nodeType===void 0&&Object.prototype.hasOwnProperty.call(i,o)&&(t=i[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(!goog.isString(o)||!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.isDefAndNotNull(goog.getObjectByName(o))},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]],!goog.isDefAndNotNull(t))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,i){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(o,t,r,i)};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
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(goog.isString(o))goog.useSafari10Workaround()&&(o=goog.workaroundSafari10EvalBug(o)),r=goog.loadModuleFromSource_.call(void 0,o);else throw Error("Invalid module definition");var i=goog.moduleLoaderState_.moduleName;if(goog.isString(i)&&i)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(i,r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof r=="object"&&r!=null&&Object.seal(r),goog.loadedModules_[i]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+i+'"')}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 i=goog.global.$jscomp;i||(goog.global.$jscomp=i={});var s=i.transpile;if(!s){var g=goog.basePath+goog.TRANSPILER,l=goog.loadFileSync_(g);if(l){if(function(){(0,eval)(l+`
4
4
  //# sourceURL=`+g)}.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,i=goog.global.$jscomp,s=i.transpile}}return s||(s=i.transpile=function(h,m){return goog.logToConsole_(m+" requires transpilation but no transpiler was found."),h}),s(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.isNull=function(o){return o===null};goog.isDefAndNotNull=function(o){return o!=null};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 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 i=Array.prototype.slice.call(arguments,2);return function(){var s=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(s,i),o.apply(t,s)}}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 i=r.slice();return i.push.apply(i,arguments),o.apply(this,i)}};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(s){return goog.cssNameMapping_[s]||s},i=function(s){s=s.split("-");for(var g=[],l=0;l<s.length;l++)g.push(r(s[l]));return g.join("-")};return i=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:i:function(s){return s},o=t?o+"-"+i(t):i(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(i,s){return t!=null&&s in t?t[s]:i})),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(i,s,g){for(var l=Array(arguments.length-2),h=2;h<arguments.length;h++)l[h-2]=arguments[h];return t.prototype[s].apply(i,l)}};goog.base=function(o,t,r){var i=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!i)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 i.superClass_<"u"){for(var s=Array(arguments.length-1),g=1;g<arguments.length;g++)s[g-1]=arguments[g];return i.superClass_.constructor.apply(o,s)}if(typeof t!="string"&&typeof t!="symbol")throw Error("method names provided to goog.base must be a string or a symbol");for(s=Array(arguments.length-2),g=2;g<arguments.length;g++)s[g-2]=arguments[g];g=!1;for(var l=o.constructor.prototype;l;l=Object.getPrototypeOf(l))if(l[t]===i)g=!0;else if(g)return l[t].apply(o,s);if(o[t]===i)return o.constructor.prototype[t].apply(o,s);throw Error("goog.base called from a method of one name to a method of a different name")};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,i=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),i!=null&&(i instanceof Function?i(r):goog.defineClass.applyProperties_(r,i)),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),i=function(){var s=o.apply(this,arguments)||this;return s[goog.UID_PROPERTY_]=s[goog.UID_PROPERTY_],this.constructor===i&&r&&Object.seal instanceof Function&&Object.seal(s),s};return i};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 i=0;i<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;i++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[i],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.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 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,i=r.lastIndexOf("?");if(i=i==-1?r.length:i,r.substr(i-7,7)=="base.js"){goog.basePath=r.substr(0,i-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(){i&&(goog.global.setTimeout(i,0),i=null)}var i=t;if(o.length){t=[];for(var s=0;s<o.length;s++){var g=this.getPathFromDeps_(o[s]);if(!g)throw Error("Unregonized namespace: "+o[s]);t.push(this.dependencies_[g])}g=goog.require;var l=0;for(s=0;s<o.length;s++)g(o[s]),t[s].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=[],i=function(s){var g=t.getPathFromDeps_(s);if(!g)throw Error("Bad dependency path or symbol: "+s);if(!t.written_[g]){for(t.written_[g]=!0,s=t.dependencies_[g],g=0;g<s.requires.length;g++)goog.isProvided_(s.requires[g])||i(s.requires[g]);r.push(s)}};i(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,i=o.depsToLoad_.shift(),s=!1;o.loading_(i);var g={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(s)throw Error("Double call to loaded.");s=!0,o.loaded_(i)},pending:function(){for(var l=[],h=0;h<o.loadingDeps_.length;h++)l.push(o.loadingDeps_[h]);return l},setModuleState:function(l){goog.moduleLoaderState_={type:l,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(l,h,m){m&&(goog.loadedModules_[m]={exports:h,type:goog.ModuleType.ES6,moduleId:m||""})},registerGoogModuleExports:function(l,h){goog.loadedModules_[l]={exports:h,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_(i,l)},areDepsLoaded:function(){return o.areDepsLoaded_(i.requires)}};try{i.load(g)}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,i,s){this.path=o,this.relativePath=t,this.provides=r,this.requires=i,this.loadFlags=s,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],i=[],s=1;s<arguments.length;s++)i.push(arguments[s]);r.apply(void 0,i)}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(g){goog.DebugLoader_.IS_OLD_IE_&&g.readyState!="complete"||(goog.Dependency.unregisterCallback_(r),o.loaded())}),i=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";i='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+`="goog.Dependency.callback_('`+r+`', this)" type="text/javascript" `+(goog.Dependency.defer_?"defer":"")+i+"><\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(i):i)}else{var s=t.createElement("script");s.defer=goog.Dependency.defer_,s.async=!1,s.type="text/javascript",(i=goog.getScriptNonce())&&s.setAttribute("nonce",i),goog.DebugLoader_.IS_OLD_IE_?(o.pause(),s.onreadystatechange=function(){(s.readyState=="loaded"||s.readyState=="complete")&&(o.loaded(),o.resume())}):s.onload=function(){s.onload=null,o.loaded()},s.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(s)}}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,i,s){goog.Dependency.call(this,o,t,r,i,s)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(o){function t(T,O){T=O?'<script type="module" crossorigin>'+O+"<\/script>":'<script type="module" crossorigin src="'+T+'"><\/script>',i.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(T):T)}function r(T,O){var R=i.createElement("script");R.defer=!0,R.async=!1,R.type="module",R.setAttribute("crossorigin",!0);var B=goog.getScriptNonce();B&&R.setAttribute("nonce",B),O?R.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(O):O:R.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(T):T,i.head.appendChild(R)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?o.loaded():o.pause();else if(goog.inHtmlDocument_()){var i=goog.global.document,s=this;if(goog.isDocumentLoading_()){var g=t;goog.Dependency.defer_=!0}else g=r;var l=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(l),o.setModuleState(goog.ModuleType.ES6)});g(void 0,'goog.Dependency.callback_("'+l+'")'),g(this.path,void 0);var h=goog.Dependency.registerCallback_(function(T){goog.Dependency.unregisterCallback_(h),o.registerEs6ModuleExports(s.path,T,goog.moduleLoaderState_.moduleName)});g(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+h+'", m)');var m=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(m),o.clearModuleState(),o.loaded()});g(void 0,'goog.Dependency.callback_("'+m+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),o.pause()},goog.TransformedDependency=function(o,t,r,i,s){goog.Dependency.call(this,o,t,r,i,s),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(){s.contents_=goog.loadFileSync_(s.path),s.contents_&&(s.contents_=s.transform(s.contents_),s.contents_&&(s.contents_+=`
@@ -10,5 +10,5 @@ var U=Object.create;var D=Object.defineProperty;var W=Object.getOwnPropertyDescr
10
10
  `},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(o,t,r,i){t=t||[],o=o.replace(/\\/g,"/");var s=goog.normalizePath_(goog.basePath+o);for(i&&typeof i!="boolean"||(i=i?{module:goog.ModuleType.GOOG}:{}),r=this.factory_.createDependency(s,o,t,r,i,goog.transpiler_.needsTranspile(i.lang||"es3",i.module)),this.dependencies_[s]=r,r=0;r<t.length;r++)this.idToPath_[t[r]]=s;this.idToPath_[o]=s},goog.DependencyFactory=function(o){this.transpiler=o},goog.DependencyFactory.prototype.createDependency=function(o,t,r,i,s,g){return s.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(o,t,r,i,s,g,this.transpiler):g?new goog.TranspiledDependency(o,t,r,i,s,this.transpiler):s.module==goog.ModuleType.ES6?goog.TRANSPILE=="never"&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(o,t,r,i,s):new goog.Es6ModuleDependency(o,t,r,i,s):new goog.Dependency(o,t,r,i,s)},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;if(typeof TrustedTypes>"u"||!TrustedTypes.createPolicy)return t;try{t=TrustedTypes.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(r){goog.logToConsole_(r.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 i in o)t.call(r,o[i],i,o)};goog.object.filter=function(o,t,r){var i={},s;for(s in o)t.call(r,o[s],s,o)&&(i[s]=o[s]);return i};goog.object.map=function(o,t,r){var i={},s;for(s in o)i[s]=t.call(r,o[s],s,o);return i};goog.object.some=function(o,t,r){for(var i in o)if(t.call(r,o[i],i,o))return!0;return!1};goog.object.every=function(o,t,r){for(var i in o)if(!t.call(r,o[i],i,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,i;for(i in o)t[r++]=o[i];return t};goog.object.getKeys=function(o){var t=[],r=0,i;for(i in o)t[r++]=i;return t};goog.object.getValueByKeys=function(o,t){var r=goog.isArrayLike(t),i=r?t:arguments;for(r=r?0:1;r<i.length;r++){if(o==null)return;o=o[i[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 i in o)if(t.call(r,o[i],i,o))return i};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 i in t)if(!(i 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,i,s=1;s<arguments.length;s++){i=arguments[s];for(r in i)o[r]=i[r];for(var g=0;g<goog.object.PROTOTYPE_FIELDS_.length;g++)r=goog.object.PROTOTYPE_FIELDS_[g],Object.prototype.hasOwnProperty.call(i,r)&&(o[r]=i[r])}};goog.object.create=function(o){var t=arguments.length;if(t==1&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var r={},i=0;i<t;i+=2)r[arguments[i]]=arguments[i+1];return r};goog.object.createSet=function(o){var t=arguments.length;if(t==1&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},i=0;i<t;i++)r[arguments[i]]=!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 i={};o&&(o!==Object.prototype||t)&&(o!==Function.prototype||r);){for(var s=Object.getOwnPropertyNames(o),g=0;g<s.length;g++)i[s[g]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(i)};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="",i=o.length-1,s=0;s<i;s++)r+=o[s]+(s<t.length?t[s]:"%s");return r+o[i]};goog.asserts.doAssertFailure_=function(o,t,r,i){var s="Assertion failed";if(r){s+=": "+r;var g=i}else o&&(s+=": "+o,g=t);o=new goog.asserts.AssertionError(""+s,g||[]),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&&!goog.isNumber(o)&&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&&!goog.isString(o)&&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&&!goog.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&&!goog.isBoolean(o)&&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,i){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,goog.isString(o))return goog.isString(t)&&t.length==1?o.indexOf(t,r):-1;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)),goog.isString(o))return goog.isString(t)&&t.length==1?o.lastIndexOf(t,r):-1;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 i=o.length,s=goog.isString(o)?o.split(""):o,g=0;g<i;g++)g in s&&t.call(r,s[g],g,o)};goog.array.forEachRight=function(o,t,r){var i=o.length,s=goog.isString(o)?o.split(""):o;for(--i;0<=i;--i)i in s&&t.call(r,s[i],i,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 i=o.length,s=[],g=0,l=goog.isString(o)?o.split(""):o,h=0;h<i;h++)if(h in l){var m=l[h];t.call(r,m,h,o)&&(s[g++]=m)}return s};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 i=o.length,s=Array(i),g=goog.isString(o)?o.split(""):o,l=0;l<i;l++)l in g&&(s[l]=t.call(r,g[l],l,o));return s};goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,t,r,i){return goog.asserts.assert(o.length!=null),i&&(t=goog.bind(t,i)),Array.prototype.reduce.call(o,t,r)}:function(o,t,r,i){var s=r;return goog.array.forEach(o,function(g,l){s=t.call(i,s,g,l,o)}),s};goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,t,r,i){return goog.asserts.assert(o.length!=null),goog.asserts.assert(t!=null),i&&(t=goog.bind(t,i)),Array.prototype.reduceRight.call(o,t,r)}:function(o,t,r,i){var s=r;return goog.array.forEachRight(o,function(g,l){s=t.call(i,s,g,l,o)}),s};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 i=o.length,s=goog.isString(o)?o.split(""):o,g=0;g<i;g++)if(g in s&&t.call(r,s[g],g,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 i=o.length,s=goog.isString(o)?o.split(""):o,g=0;g<i;g++)if(g in s&&!t.call(r,s[g],g,o))return!1;return!0};goog.array.count=function(o,t,r){var i=0;return goog.array.forEach(o,function(s,g,l){t.call(r,s,g,l)&&++i},r),i};goog.array.find=function(o,t,r){return t=goog.array.findIndex(o,t,r),0>t?null:goog.isString(o)?o.charAt(t):o[t]};goog.array.findIndex=function(o,t,r){for(var i=o.length,s=goog.isString(o)?o.split(""):o,g=0;g<i;g++)if(g in s&&t.call(r,s[g],g,o))return g;return-1};goog.array.findRight=function(o,t,r){return t=goog.array.findIndexRight(o,t,r),0>t?null:goog.isString(o)?o.charAt(t):o[t]};goog.array.findIndexRight=function(o,t,r){var i=o.length,s=goog.isString(o)?o.split(""):o;for(--i;0<=i;i--)if(i in s&&t.call(r,s[i],i,o))return i;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(!goog.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 i;arguments.length==2||0>(i=goog.array.indexOf(o,r))?o.push(t):goog.array.insertAt(o,t,i)};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 i=0;return goog.array.forEachRight(o,function(s,g){t.call(r,s,g,o)&&goog.array.removeAt(o,g)&&i++}),i};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),i=0;i<t;i++)r[i]=o[i];return r}return[]};goog.array.clone=goog.array.toArray;goog.array.extend=function(o,t){for(var r=1;r<arguments.length;r++){var i=arguments[r];if(goog.isArrayLike(i)){var s=o.length||0,g=i.length||0;o.length=s+g;for(var l=0;l<g;l++)o[s+l]=i[l]}else o.push(i)}};goog.array.splice=function(o,t,r,i){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 i=function(m){return goog.isObject(m)?"o"+goog.getUid(m):(typeof m).charAt(0)+m};r=r||i,i={};for(var s=0,g=0;g<o.length;){var l=o[g++],h=r(l);Object.prototype.hasOwnProperty.call(i,h)||(i[h]=!0,t[s++]=l)}t.length=s};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,i,s){for(var g=0,l=o.length,h;g<l;){var m=g+l>>1,T=r?t.call(s,o[m],m,o):t(i,o[m]);0<T?g=m+1:(l=m,h=!T)}return h?g:~g};goog.array.sort=function(o,t){o.sort(t||goog.array.defaultCompare)};goog.array.stableSort=function(o,t){for(var r=Array(o.length),i=0;i<o.length;i++)r[i]={index:i,value:o[i]};var s=t||goog.array.defaultCompare;for(goog.array.sort(r,function(g,l){return s(g.value,l.value)||g.index-l.index}),i=0;i<o.length;i++)o[i]=r[i].value};goog.array.sortByKey=function(o,t,r){var i=r||goog.array.defaultCompare;goog.array.sort(o,function(s,g){return i(t(s),t(g))})};goog.array.sortObjectsByKey=function(o,t,r){goog.array.sortByKey(o,function(i){return i[t]},r)};goog.array.isSorted=function(o,t,r){t=t||goog.array.defaultCompare;for(var i=1;i<o.length;i++){var s=t(o[i-1],o[i]);if(0<s||s==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 i=o.length;r=r||goog.array.defaultCompareEquality;for(var s=0;s<i;s++)if(!r(o[s],t[s]))return!1;return!0};goog.array.compare3=function(o,t,r){r=r||goog.array.defaultCompare;for(var i=Math.min(o.length,t.length),s=0;s<i;s++){var g=r(o[s],t[s]);if(g!=0)return g}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 i={},s=0;s<o.length;s++){var g=o[s],l=t.call(r,g,s,o);goog.isDef(l)&&(i[l]||(i[l]=[])).push(g)}return i};goog.array.toObject=function(o,t,r){var i={};return goog.array.forEach(o,function(s,g){i[t.call(r,s,g,o)]=s}),i};goog.array.range=function(o,t,r){var i=[],s=0,g=o;if(r=r||1,t!==void 0&&(s=o,g=t),0>r*(g-s))return[];if(0<r)for(o=s;o<g;o+=r)i.push(o);else for(o=s;o>g;o+=r)i.push(o);return i};goog.array.repeat=function(o,t){for(var r=[],i=0;i<t;i++)r[i]=o;return r};goog.array.flatten=function(o){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(goog.isArray(i))for(var s=0;s<i.length;s+=8192){var g=goog.array.slice(i,s,s+8192);g=goog.array.flatten.apply(null,g);for(var l=0;l<g.length;l++)t.push(g[l])}else t.push(i)}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,i=1;i<arguments.length;i++)arguments[i].length<r&&(r=arguments[i].length);for(i=0;i<r;i++){for(var s=[],g=0;g<arguments.length;g++)s.push(arguments[g][i]);t.push(s)}return t};goog.array.shuffle=function(o,t){t=t||Math.random;for(var r=o.length-1;0<r;r--){var i=Math.floor(t()*(r+1)),s=o[r];o[r]=o[i],o[i]=s}};goog.array.copyByIndex=function(o,t){var r=[];return goog.array.forEach(t,function(i){r.push(o[i])}),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,i=0;i<o.length;i++){var s=o.charCodeAt(i);255<s&&(t[r++]=s&255,s>>=8),t[r++]=s}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 i=goog.array.slice(o,r,r+8192);t+=String.fromCharCode.apply(null,i)}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,i=0;i<o.length;i++){var s=o.charCodeAt(i);128>s?t[r++]=s:(2048>s?t[r++]=s>>6|192:((s&64512)==55296&&i+1<o.length&&(o.charCodeAt(i+1)&64512)==56320?(s=65536+((s&1023)<<10)+(o.charCodeAt(++i)&1023),t[r++]=s>>18|240,t[r++]=s>>12&63|128):t[r++]=s>>12|224,t[r++]=s>>6&63|128),t[r++]=s&63|128)}return t};goog.crypt.utf8ByteArrayToString=function(o){for(var t=[],r=0,i=0;r<o.length;){var s=o[r++];if(128>s)t[i++]=String.fromCharCode(s);else if(191<s&&224>s){var g=o[r++];t[i++]=String.fromCharCode((s&31)<<6|g&63)}else if(239<s&&365>s){g=o[r++];var l=o[r++],h=o[r++];s=((s&7)<<18|(g&63)<<12|(l&63)<<6|h&63)-65536,t[i++]=String.fromCharCode(55296+(s>>10)),t[i++]=String.fromCharCode(56320+(s&1023))}else g=o[r++],l=o[r++],t[i++]=String.fromCharCode((s&15)<<12|(g&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=[],i=0;i<o.length;i++)r.push(o[i]^t[i]);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 i=Array.prototype.slice.call(arguments);return i.push.apply(i,r),o.apply(this,i)}};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,i=r.length;return function(){var s;i&&(s=r[i-1].apply(this,arguments));for(var g=i-2;0<=g;g--)s=r[g].call(this,s);return s}};goog.functions.sequence=function(o){var t=arguments,r=t.length;return function(){for(var i,s=0;s<r;s++)i=t[s].apply(this,arguments);return i}};goog.functions.and=function(o){var t=arguments,r=t.length;return function(){for(var i=0;i<r;i++)if(!t[i].apply(this,arguments))return!1;return!0}};goog.functions.or=function(o){var t=arguments,r=t.length;return function(){for(var i=0;i<r;i++)if(t[i].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 i=0;return function(s){goog.global.clearTimeout(i);var g=arguments;i=goog.global.setTimeout(function(){o.apply(r,g)},t)}};goog.functions.throttle=function(o,t,r){var i=0,s=!1,g=[],l=function(){i=0,s&&(s=!1,h())},h=function(){i=goog.global.setTimeout(l,t),o.apply(r,g)};return function(m){g=arguments,i?s=!0:h()}};goog.functions.rateLimit=function(o,t,r){var i=0,s=function(){i=0};return function(g){i||(i=goog.global.setTimeout(s,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.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=[],i=1;i<arguments.length;i++)r.push(goog.html.SafeScript.stringify_(arguments[i]));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.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.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(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
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
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,i=0,s=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<o.length;t++){var g=o[t];goog.i18n.bidi.startsWithRtl(g)?(r++,i++):goog.i18n.bidi.isRequiredLtrRe_.test(g)?s=!0:goog.i18n.bidi.hasAnyLtr(g)?i++:goog.i18n.bidi.hasNumeralsRe_.test(g)&&(s=!0)}return i==0?s?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/i>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(){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(o,t){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var i=r[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",i,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.unwrapTrustedURL=function(o){return o.trustedURL_?o.trustedURL_:goog.html.TrustedResourceUrl.unwrap(o)};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(i,s){if(!Object.prototype.hasOwnProperty.call(t,s))throw Error('Found marker, "'+s+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(t));return i=t[s],i instanceof goog.string.Const?goog.string.Const.unwrap(i):encodeURIComponent(String(i))}),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,i){return goog.html.TrustedResourceUrl.format(o,t).cloneWithParams(r,i)};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.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){var t=new goog.html.TrustedResourceUrl;return t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(t.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o)),t};goog.html.TrustedResourceUrl.stringifyParams_=function(o,t,r){if(r==null)return t;if(goog.isString(r))return r?o+encodeURIComponent(r):"";for(var i in r){var s=r[i];s=goog.isArray(s)?s:[s];for(var g=0;g<s.length;g++){var l=s[g];l!=null&&(t||(t=o),t+=(t.length>o.length?"&":"")+encodeURIComponent(i)+"="+encodeURIComponent(String(l)))}}return t};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 i=Math.max(o.length,t.length),s=0;r==0&&s<i;s++){var g=o[s]||"",l=t[s]||"";do{if(g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""],l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""],g[0].length==0&&l[0].length==0)break;r=g[1].length==0?0:parseInt(g[1],10);var h=l[1].length==0?0:parseInt(l[1],10);r=goog.string.internal.compareElements_(r,h)||goog.string.internal.compareElements_(g[2].length==0,l[2].length==0)||goog.string.internal.compareElements_(g[2],l[2]),g=g[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(){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(o){return goog.html.SafeUrl.unwrapTrustedURL(o).toString()};goog.html.SafeUrl.unwrapTrustedURL=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-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(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)};goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SAFE_MIME_TYPE_PATTERN_.test(o.type)?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.SAFE_MIME_TYPE_PATTERN_.test(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(i){return goog.string.Const.unwrap(i)})).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){var t=new goog.html.SafeUrl;return t.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o):o,t};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(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 i=o[r];i!=null&&(i=goog.isArray(i)?goog.array.map(i,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(i),t+=r+":"+i+";")}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,i=0;i<o.length;i++){var s=o.charAt(i);s=="'"&&r?t=!t:s=='"'&&t&&(r=!r)}return t&&r};goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var t=!0,r=/^[-_a-zA-Z0-9]$/,i=0;i<o.length;i++){var s=o.charAt(i);if(s=="]"){if(t)return!1;t=!0}else if(s=="["){if(!t)return!1;t=!1}else if(!t&&!r.test(s))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.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(o){return o.replace(goog.html.SafeStyle.URL_RE_,function(t,r,i,s){var g="";return i=i.replace(/^(['"])(.*)\1$/,function(l,h,m){return g=h,m}),t=goog.html.SafeUrl.sanitize(i).getTypedStringValue(),r+g+t+g+s})};goog.html.SafeStyle.concat=function(o){var t="",r=function(i){goog.isArray(i)?goog.array.forEach(i,r):t+=goog.html.SafeStyle.unwrap(i)};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=[],i=0;i<o.length;i++){var s=o[i];if(t[s])r.push(t[s]);else if(goog.object.contains(t,s)&&r.pop()!=s)return!1}return r.length==0};goog.html.SafeStyleSheet.concat=function(o){var t="",r=function(i){goog.isArray(i)?goog.array.forEach(i,r):t+=goog.html.SafeStyleSheet.unwrap(i)};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=[],i;i=t.exec(o);)r.push([i[1],i[2],i[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(s){return s=goog.array.find(s,i),r[s]||""}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(s){r[s[0]]=s[1]});var i=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"]):(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.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.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("Invalid tag name <"+o+">.");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+o+"> is not allowed for SafeHtml.")};goog.html.SafeHtml.createIframe=function(o,t,r,i){o&&goog.html.TrustedResourceUrl.unwrap(o);var s={};return s.src=o||null,s.srcdoc=t&&goog.html.SafeHtml.unwrap(t),o=goog.html.SafeHtml.combineAttributes(s,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,i)};goog.html.SafeHtml.createSandboxIframe=function(o,t,r,i){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var s={};return s.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,s.srcdoc=t||null,s.sandbox="",o=goog.html.SafeHtml.combineAttributes(s,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,i)};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 i=r.toLowerCase();if(i=="language"||i=="src"||i=="text"||i=="type")throw Error('Cannot set "'+i+'" attribute')}for(r="",o=goog.array.concat(o),i=0;i<o.length;i++)r+=goog.html.SafeScript.unwrap(o[i]);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 i=0;i<o.length;i++)r+=goog.html.SafeStyleSheet.unwrap(o[i]);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")r=goog.html.SafeHtml.getStyleValue_(r);else{if(/^on/i.test(t))throw Error('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(goog.isString(r))r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error('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(goog.isString(r)||goog.isNumber(r),"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('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,i){return t=goog.html.SafeHtml.create(t,r,i),t.dir_=o,t};goog.html.SafeHtml.join=function(o,t){o=goog.html.SafeHtml.htmlEscape(o);var r=o.getDirection(),i=[],s=function(g){goog.isArray(g)?goog.array.forEach(g,s):(g=goog.html.SafeHtml.htmlEscape(g),i.push(goog.html.SafeHtml.unwrap(g)),g=g.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=g:g!=goog.i18n.bidi.Dir.NEUTRAL&&r!=g&&(r=null))};return goog.array.forEach(t,s),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(i.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 i=null,s="<"+o+goog.html.SafeHtml.stringifyAttributes(o,t);return goog.isDefAndNotNull(r)?goog.isArray(r)||(r=[r]):r=[],goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+o+"> does not allow content."),s+=">"):(i=goog.html.SafeHtml.concat(r),s+=">"+goog.html.SafeHtml.unwrap(i)+"</"+o+">",i=i.getDirection()),(o=t&&t.dir)&&(i=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(s,i)};goog.html.SafeHtml.stringifyAttributes=function(o,t){var r="";if(t)for(var i in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(i))throw Error('Invalid attribute name "'+i+'".');var s=t[i];goog.isDefAndNotNull(s)&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,i,s))}return r};goog.html.SafeHtml.combineAttributes=function(o,t,r){var i={},s;for(s in o)goog.asserts.assert(s.toLowerCase()==s,"Must be lower case"),i[s]=o[s];for(s in t)goog.asserts.assert(s.toLowerCase()==s,"Must be lower case"),i[s]=t[s];for(s in r){var g=s.toLowerCase();if(g in o)throw Error('Cannot override "'+g+'" attribute, got "'+s+'" with value "'+r[s]+'"');g in t&&delete i[g],i[s]=r[s]}return i};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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(t)};goog.dom.safe.setIframeSrc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(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.unwrapTrustedURL(t)):o.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrapTrustedURL(t):goog.html.SafeUrl.unwrapTrustedURL(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.unwrapTrustedURL(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.unwrapTrustedURL(t))};goog.dom.safe.replaceLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.replace(goog.html.SafeUrl.unwrapTrustedURL(t))};goog.dom.safe.openInWindow=function(o,t,r,i,s){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),(t||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(o),r?goog.string.Const.unwrap(r):"",i,s)};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"),i="",s=Array.prototype.slice.call(arguments,1);s.length&&1<r.length;)i+=r.shift()+s.shift();return i+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 i=o.toLowerCase().match(r),s=t.toLowerCase().match(r),g=Math.min(i.length,s.length),l=0;l<g;l++){r=i[l];var h=s[l];if(r!=h)return o=parseInt(r,10),!isNaN(o)&&(t=parseInt(h,10),!isNaN(t)&&o-t)?o-t:r<h?-1:1}return i.length!=s.length?i.length-s.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;":'"'},i=t?t.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(s,g){var l=r[s];return l||(g.charAt(0)=="#"&&(g=Number("0"+g.substr(1)),isNaN(g)||(l=String.fromCharCode(g))),l||(goog.dom.safe.setInnerHtml(i,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),s+" ")),l=i.firstChild.nodeValue.slice(0,-1)),r[s]=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,i=0;i<r;i++){var s=r==1?t:t.charAt(i);if(o.charAt(0)==s&&o.charAt(o.length-1)==s)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,i){if(r&&(o=goog.string.unescapeEntities(o)),i&&o.length>t){i>t&&(i=t);var s=o.length-i;o=o.substring(0,t-i)+"..."+o.substring(s)}else o.length>t&&(i=Math.floor(t/2),s=o.length-i,o=o.substring(0,i+t%2)+"..."+o.substring(s));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 i=o.charAt(r),s=i.charCodeAt(0);t[r+1]=goog.string.specialEscapeChars_[i]||(31<s&&127>s?i:goog.string.escapeChar(i))}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 i=o;return 0<=t&&t<o.length&&0<r&&(i=o.substr(0,t)+o.substr(t+r,o.length-t-r)),i};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=goog.isDef(r)?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=goog.isString(t)?goog.string.regExpEscape(t):"\\s",o.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(r,i,s){return i+s.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)),goog.isString(o)?/^\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 i=[];0<r&&o.length;)i.push(o.shift()),r--;return o.length&&i.push(o.join(t)),i};goog.string.lastComponent=function(o,t){if(t)typeof t=="string"&&(t=[t]);else return o;for(var r=-1,i=0;i<t.length;i++)if(t[i]!=""){var s=o.lastIndexOf(t[i]);s>r&&(r=s)}return r==-1?o:o.slice(r+1)};goog.string.editDistance=function(o,t){var r=[],i=[];if(o==t)return 0;if(!o.length||!t.length)return Math.max(o.length,t.length);for(var s=0;s<t.length+1;s++)r[s]=s;for(s=0;s<o.length;s++){i[0]=s+1;for(var g=0;g<t.length;g++)i[g+1]=Math.min(i[g]+1,r[g+1]+1,r[g]+Number(o[s]!=t[g]));for(g=0;g<r.length;g++)r[g]=i[g]}return i[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.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")};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,i){return i=i?i(t):t,Object.prototype.hasOwnProperty.call(o,i)?o[i]:o[i]=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.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 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.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone();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)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(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=[],i=0;i<o.length;i+=3){var s=o[i],g=i+1<o.length,l=g?o[i+1]:0,h=i+2<o.length,m=h?o[i+2]:0,T=s>>2;s=(s&3)<<4|l>>4,l=(l&15)<<2|m>>6,m&=63,h||(m=64,g||(l=64)),r.push(t[T],t[s],t[l]||"",t[m]||"")}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(i){r+=String.fromCharCode(i)}),r};goog.crypt.base64.decodeStringToByteArray=function(o,t){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(i){r.push(i)}),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 i=new Uint8Array(r),s=0;return goog.crypt.base64.decodeStringInternal_(o,function(g){i[s++]=g}),i.subarray(0,s)};goog.crypt.base64.decodeStringInternal_=function(o,t){function r(m){for(;i<o.length;){var T=o.charAt(i++),O=goog.crypt.base64.charToByteMap_[T];if(O!=null)return O;if(!goog.string.isEmptyOrWhitespace(T))throw Error("Unknown base64 encoding at char: "+T)}return m}goog.crypt.base64.init_();for(var i=0;;){var s=r(-1),g=r(0),l=r(64),h=r(64);if(h===64&&s===-1)break;t(s<<2|g>>4),l!=64&&(t(g<<4&240|l>>2),h!=64&&t(l<<6&192|h))}};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 i=o.concat(t[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=i;for(var s=0;s<i.length;s++){var g=i[s],l=goog.crypt.base64.charToByteMap_[g];l===void 0?goog.crypt.base64.charToByteMap_[g]=s:goog.asserts.assert(l===s)}}}};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 i=0;if(2<=r)for(;2<=r&&1023>i;)i++,r/=2;else for(;1>r&&-1022<i;)r*=2,i--;r=o*Math.pow(2,-i),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|i+1023<<20|o)>>>0,jspb.utils.split64Low=r}};jspb.utils.splitHash64=function(o){var t=o.charCodeAt(0),r=o.charCodeAt(1),i=o.charCodeAt(2),s=o.charCodeAt(3),g=o.charCodeAt(4),l=o.charCodeAt(5),h=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=t+(r<<8)+(i<<16)+(s<<24)>>>0,jspb.utils.split64High=g+(l<<8)+(h<<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 i=t>>31;return r(o<<1^i,(t<<1|o>>>31)^i)};jspb.utils.joinZigzag64=function(o,t){return jspb.utils.fromZigzag64(o,t,jspb.utils.joinInt64)};jspb.utils.fromZigzag64=function(o,t,r){var i=-(o&1);return r((o>>>1|t<<31)^i,t>>>1^i)};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,i=t>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(t&1048575)+o,i==2047?o?NaN:1/0*r:i==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,i-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(s,g){return s=s?String(s):"",g?"0000000".slice(s.length)+s:s}if(2097151>=t)return""+jspb.utils.joinUint64(o,t);var i=(o>>>24|t<<8)>>>0&16777215;return t=t>>16&65535,o=(o&16777215)+6777216*i+6710656*t,i+=8147497*t,t*=2,1e7<=o&&(i+=Math.floor(o/1e7),o%=1e7),1e7<=i&&(t+=Math.floor(i/1e7),i%=1e7),r(t,0)+r(i,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),i=0;i<o.length;i++)r[i]=jspb.utils.hash64ToDecimalString(o[i],t);return r};jspb.utils.decimalStringToHash64=function(o){function t(l,h){for(var m=0;8>m&&(l!==1||0<h);m++)h=l*s[m]+h,s[m]=h&255,h>>>=8}function r(){for(var l=0;8>l;l++)s[l]=~s[l]&255}goog.asserts.assert(0<o.length);var i=!1;o[0]==="-"&&(i=!0,o=o.slice(1));for(var s=[0,0,0,0,0,0,0,0],g=0;g<o.length;g++)t(10,o.charCodeAt(g)-jspb.utils.ZERO_CHAR_CODE_);return i&&(r(),t(1,1)),goog.crypt.byteArrayToString(s)};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 i=o.charCodeAt(7-r);t[2*r+2]=jspb.utils.toHexDigit_(i>>4),t[2*r+3]=jspb.utils.toHexDigit_(i&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 i=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));t=String.fromCharCode(16*i+s)+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 i=0,s=t;s<r;s++)i+=o[s]>>7;return r-t-i};jspb.utils.countVarintFields=function(o,t,r,i){var s=0;if(i=8*i+jspb.BinaryConstants.WireType.VARINT,128>i)for(;t<r&&o[t++]==i;)for(s++;;){var g=o[t++];if((g&128)==0)break}else for(;t<r;){for(g=i;128<g;){if(o[t]!=(g&127|128))return s;t++,g>>=7}if(o[t++]!=g)break;for(s++;g=o[t++],(g&128)!=0;);}return s};jspb.utils.countFixedFields_=function(o,t,r,i,s){var g=0;if(128>i)for(;t<r&&o[t++]==i;)g++,t+=s;else for(;t<r;){for(var l=i;128<l;){if(o[t++]!=(l&127|128))return g;l>>=7}if(o[t++]!=l)break;g++,t+=s}return g};jspb.utils.countFixed32Fields=function(o,t,r,i){return jspb.utils.countFixedFields_(o,t,r,8*i+jspb.BinaryConstants.WireType.FIXED32,4)};jspb.utils.countFixed64Fields=function(o,t,r,i){return jspb.utils.countFixedFields_(o,t,r,8*i+jspb.BinaryConstants.WireType.FIXED64,8)};jspb.utils.countDelimitedFields=function(o,t,r,i){var s=0;for(i=8*i+jspb.BinaryConstants.WireType.DELIMITED;t<r;){for(var g=i;128<g;){if(o[t++]!=(g&127|128))return s;g>>=7}if(o[t++]!=g)break;s++;for(var l=0,h=1;g=o[t++],l+=(g&127)*h,h*=128,(g&128)!=0;);t+=l}return s};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 i=o.charCodeAt(r);if(255<i)throw Error("Conversion error: string contains codepoint outside of byte range");t[r]=i}return t};jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||typeof Buffer<"u"&&o.constructor===Buffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):(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 i=jspb.BinaryDecoder.instanceCache_.pop();return o&&i.setBlock(o,t,r),i}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,i=0,s=0;4>s&&128<=t;s++)t=this.bytes_[this.cursor_++],r|=(t&127)<<7*s;if(128<=t&&(t=this.bytes_[this.cursor_++],r|=(t&127)<<28,i|=(t&127)>>4),128<=t)for(s=0;5>s&&128<=t;s++)t=this.bytes_[this.cursor_++],i|=(t&127)<<7*s+3;if(128>t)return o(r>>>0,i>>>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 i=0,s=0,g=r+7;g>=r;g--)i=i<<8|t[g],s=s<<8|t[g+4];return o(i,s)};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],i=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8|r<<16|i<<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],i=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8|r<<16|i<<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 i=[],s="";r<o;){var g=t[r++];if(128>g)i.push(g);else{if(192>g)continue;if(224>g){var l=t[r++];i.push((g&31)<<6|l&63)}else if(240>g){l=t[r++];var h=t[r++];i.push((g&15)<<12|(l&63)<<6|h&63)}else if(248>g){l=t[r++],h=t[r++];var m=t[r++];g=(g&7)<<18|(l&63)<<12|(h&63)<<6|m&63,g-=65536,i.push((g>>10&1023)+55296,(g&1023)+56320)}}8192<=i.length&&(s+=String.fromCharCode.apply(null,i),i.length=0)}return s+=goog.crypt.byteArrayToString(i),this.cursor_=r,s};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],i=o[t+1],s=o[t+2],g=o[t+3],l=o[t+4],h=o[t+5],m=o[t+6];return o=o[t+7],this.cursor_+=8,String.fromCharCode(r,i,s,g,l,h,m,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 i=jspb.BinaryReader.instanceCache_.pop();return o&&i.decoder_.setBlock(o,t,r),i}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(),i=this.decoder_.readUnsignedVarint32();i=this.decoder_.getCursor()+i,this.decoder_.setEnd(i),t(o,this),this.decoder_.setCursor(i),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,i){t.writeSplitVarint64(r>>>0,i>>>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){for(var t=this.buffer_.length,r=0;r<o.length;r++){var i=o.charCodeAt(r);if(128>i)this.buffer_.push(i);else if(2048>i)this.buffer_.push(i>>6|192),this.buffer_.push(i&63|128);else if(65536>i)if(55296<=i&&56319>=i&&r+1<o.length){var s=o.charCodeAt(r+1);56320<=s&&57343>=s&&(i=1024*(i-55296)+s-56320+65536,this.buffer_.push(i>>18|240),this.buffer_.push(i>>12&63|128),this.buffer_.push(i>>6&63|128),this.buffer_.push(i&63|128),r++)}else this.buffer_.push(i>>12|224),this.buffer_.push(i>>6&63|128),this.buffer_.push(i&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 i=t&65535,s=t>>>16;for(t=r*i+65536*(r*s&65535)+65536*(o*i&65535),r=o*s+(r*s>>>16)+(o*i>>>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 i=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),i=i.leftShift();for(;!i.zero();)0>=o.cmp(r)&&(t=t.add(i),r=r.sub(o)),o=o.rightShift(),i=i.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),i=0;i<o.length;i++){if("0">o[i]||"9"<o[i])return null;var s=parseInt(o[i],10);r.lo=s,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,i=0,s=0;s<r;s++){var g=t[s];o.set(g,i),i+=g.length}return t=this.encoder_.end(),o.set(t,i),i+=t.length,goog.asserts.assert(i==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 i=jspb.BinaryConstants.FieldType;switch(o){case i.DOUBLE:this.writeDouble(t,r);break;case i.FLOAT:this.writeFloat(t,r);break;case i.INT64:this.writeInt64(t,r);break;case i.UINT64:this.writeUint64(t,r);break;case i.INT32:this.writeInt32(t,r);break;case i.FIXED64:this.writeFixed64(t,r);break;case i.FIXED32:this.writeFixed32(t,r);break;case i.BOOL:this.writeBool(t,r);break;case i.STRING:this.writeString(t,r);break;case i.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case i.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case i.BYTES:this.writeBytes(t,r);break;case i.UINT32:this.writeUint32(t,r);break;case i.ENUM:this.writeEnum(t,r);break;case i.SFIXED32:this.writeSfixed32(t,r);break;case i.SFIXED64:this.writeSfixed64(t,r);break;case i.SINT32:this.writeSint32(t,r);break;case i.SINT64:this.writeSint64(t,r);break;case i.FHASH64:this.writeFixedHash64(t,r);break;case i.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 i=this.encoder_;jspb.utils.toZigzag64(t,r,function(s,g){i.writeSplitVarint64(s>>>0,g>>>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,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitFixed64(o,r(t[s]),i(t[s]))};jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,t,r,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitVarint64(o,r(t[s]),i(t[s]))};jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,t,r,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitZigzagVarint64(o,r(t[s]),i(t[s]))};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 i=0;i<t.length;i++){var s=this.beginDelimited_(o);r(t[i],this),this.endDelimited_(s)}};jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,t,r){if(t!=null)for(var i=0;i<t.length;i++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(t[i],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,i){if(t!=null){o=this.beginDelimited_(o);for(var s=0;s<t.length;s++)this.encoder_.writeSplitFixed64(r(t[s]),i(t[s]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,t,r,i){if(t!=null){o=this.beginDelimited_(o);for(var s=0;s<t.length;s++)this.encoder_.writeSplitVarint64(r(t[s]),i(t[s]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,t,r,i){if(t!=null){o=this.beginDelimited_(o);for(var s=this.encoder_,g=0;g<t.length;g++)jspb.utils.toZigzag64(r(t[g]),i(t[g]),function(l,h){s.writeSplitVarint64(l>>>0,h>>>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 i=jspb.arith.Int64.fromString(t[r]);this.encoder_.writeSplitVarint64(i.lo,i.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 i=jspb.arith.UInt64.fromString(t[r]);this.encoder_.writeSplitVarint64(i.lo,i.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 i=this.map_[o[t]];(r=i.valueWrapper)&&r.toArray(),this.arr_.push([i.key,i.value])}this.arrClean=!0}return this.arr_};jspb.Map.prototype.toObject=function(o,t){for(var r=this.toArray(),i=[],s=0;s<r.length;s++){var g=this.map_[r[s][0].toString()];this.wrapEntry_(g);var l=g.valueWrapper;l?(goog.asserts.assert(t),i.push([g.key,t(o,l)])):i.push([g.key,g.value])}return i};jspb.Map.fromObject=function(o,t,r){t=new jspb.Map([],t);for(var i=0;i<o.length;i++){var s=o[i][0],g=r(o[i][1]);t.set(s,g)}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 i=this.map_[t[r]];o.push([i.key,i.value])}return o};jspb.Map.prototype.entries=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++){var i=this.map_[t[r]];o.push([i.key,this.wrapEntry_(i)])}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 i=0;i<r.length;i++){var s=this.map_[r[i]];o.call(t,this.wrapEntry_(s),s.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,i,s){var g=this.stringKeys_();g.sort();for(var l=0;l<g.length;l++){var h=this.map_[g[l]];t.beginSubMessage(o),r.call(t,1,h.key),this.valueCtor_?i.call(t,2,this.wrapEntry_(h),s):i.call(t,2,h.value),t.endSubMessage()}};jspb.Map.deserializeBinary=function(o,t,r,i,s,g,l){for(;t.nextField()&&!t.isEndGroup();){var h=t.getFieldNumber();h==1?g=r.call(t):h==2&&(o.valueCtor_?(goog.asserts.assert(s),l||(l=new o.valueCtor_),i.call(t,l,s)):l=i.call(t))}goog.asserts.assert(g!=null),goog.asserts.assert(l!=null),o.set(g,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,i,s){this.fieldIndex=o,this.fieldName=t,this.ctor=r,this.toObjectFn=i,this.isRepeated=s};jspb.ExtensionFieldBinaryInfo=function(o,t,r,i,s,g){this.fieldInfo=o,this.binaryReaderFn=t,this.binaryWriterFn=r,this.binaryMessageSerializeFn=i,this.binaryMessageDeserializeFn=s,this.isPacked=g};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,i,s,g){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,i),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=s),s)for(t=0;t<s.length;t++)r=s[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(g&&g.length)for(t=0;t<g.length;t++)jspb.Message.computeOneofCase(o,g[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,i=-1;if(r&&(i=r-1,r=o.array[i],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,i),o.extensionObject_=r;return}-1<t?(o.pivot_=Math.max(t,jspb.Message.getFieldNumber_(o,i+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 i=[],s=0;s<o.length;s++)i[s]=t.call(o[s],r,o[s]);return i};jspb.Message.toObjectExtension=function(o,t,r,i,s){for(var g in r){var l=r[g],h=i.call(o,l);if(h!=null){for(var m in l.fieldName)if(l.fieldName.hasOwnProperty(m))break;t[m]=l.toObjectFn?l.isRepeated?jspb.Message.toObjectList(h,l.toObjectFn,s):l.toObjectFn(s,h):h}}};jspb.Message.serializeBinaryExtensions=function(o,t,r,i){for(var s in r){var g=r[s],l=g.fieldInfo;if(!g.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var h=i.call(o,l);if(h!=null)if(l.isMessageType())if(g.binaryMessageSerializeFn)g.binaryWriterFn.call(t,l.fieldIndex,h,g.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else g.binaryWriterFn.call(t,l.fieldIndex,h)}};jspb.Message.readBinaryExtension=function(o,t,r,i,s){var g=r[t.getFieldNumber()];if(g){if(r=g.fieldInfo,!g.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var l=new r.ctor;g.binaryReaderFn.call(t,l,g.binaryMessageDeserializeFn)}else l=g.binaryReaderFn.call(t);r.isRepeated&&!g.isPacked?(t=i.call(o,r))?t.push(l):s.call(o,r,[l]):s.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 i=0;i<r.length;i++)r[i]=+r[i];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 i=0;i<r.length;i++)r[i]=!!r[i];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,i){if(o.wrappers_||(o.wrappers_={}),t in o.wrappers_)return o.wrappers_[t];var s=jspb.Message.getField(o,t);if(!s){if(r)return;s=[],jspb.Message.setField(o,t,s)}return o.wrappers_[t]=new jspb.Map(s,i)};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,i){return goog.asserts.assertInstanceof(o,jspb.Message),r!==i?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,i){return goog.asserts.assertInstanceof(o,jspb.Message),t=jspb.Message.getRepeatedField(o,t),i!=null?t.splice(i,0,r):t.push(r),o};jspb.Message.setOneofField=function(o,t,r,i){return goog.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==t&&i!==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,i)};jspb.Message.computeOneofCase=function(o,t){for(var r,i,s=0;s<t.length;s++){var g=t[s],l=jspb.Message.getField(o,g);l!=null&&(r=g,i=l,jspb.Message.setField(o,g,void 0))}return r?(jspb.Message.setField(o,r,i),r):0};jspb.Message.getWrapperField=function(o,t,r,i){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var s=jspb.Message.getField(o,r);(i||s)&&(o.wrappers_[r]=new t(s))}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 i=jspb.Message.getRepeatedField(o,r),s=[],g=0;g<i.length;g++)s[g]=new t(i[g]);o.wrappers_[r]=s}};jspb.Message.setWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var i=r&&r.toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,i)};jspb.Message.setOneofWrapperField=function(o,t,r,i){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=i&&i.toArray();return o.wrappers_[t]=i,jspb.Message.setOneofField(o,t,r,s)};jspb.Message.setRepeatedWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var i=[],s=0;s<r.length;s++)i[s]=r[s].toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,i)};jspb.Message.addToRepeatedWrapperField=function(o,t,r,i,s){jspb.Message.wrapRepeatedField_(o,i,t);var g=o.wrappers_[t];return g||(g=o.wrappers_[t]=[]),r=r||new i,o=jspb.Message.getRepeatedField(o,t),s!=null?(g.splice(s,0,r),o.splice(s,0,r.toArray())):(g.push(r),o.push(r.toArray())),r};jspb.Message.toMap=function(o,t,r,i){for(var s={},g=0;g<o.length;g++)s[t.call(o[g])]=r?r.call(o[g],i,o[g]):o[g];return s};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(i){return i.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 i=[],s=0,g=r.length>t.length?r.length:t.length;for(o.getJsPbMessageId()&&(i[0]=o.getJsPbMessageId(),s=1);s<g;s++)jspb.Message.compareFields(r[s],t[s])||(i[s]=t[s]);return new o.constructor(i)};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={},i;for(i in o)r[i]=0;for(i in t)r[i]=0;for(i in r)if(!jspb.Message.compareFields(o[i],t[i]))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 i=void 0,s=void 0,g=Math.max(o.length,t.length);for(r=0;r<g;r++){var l=o[r],h=t[r];if(l&&l.constructor==Object&&(goog.asserts.assert(i===void 0),goog.asserts.assert(r===o.length-1),i=l,l=void 0),h&&h.constructor==Object&&(goog.asserts.assert(s===void 0),goog.asserts.assert(r===t.length-1),s=h,h=void 0),!jspb.Message.compareFields(l,h))return!1}return i||s?(i=i||{},s=s||{},jspb.Message.compareExtensions(i,s)):!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(),i=o.toArray(),s=r.length=0;s<i.length;s++)r[s]=i[s];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 i=o[r];i!=null&&(t[r]=typeof i=="object"?jspb.Message.clone_(goog.asserts.assert(i)):i)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);t={};for(r in o)i=o[r],i!=null&&(t[r]=typeof i=="object"?jspb.Message.clone_(goog.asserts.assert(i)):i);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 j=I(P=>{var n=C(),y=n,E=function(){return this||window||E||self||Function("return this")()}.call(null);y.exportSymbol("proto.google.protobuf.DescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,E);y.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,E);y.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,E);y.exportSymbol("proto.google.protobuf.EnumOptions",null,E);y.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.EnumValueOptions",null,E);y.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,E);y.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,E);y.exportSymbol("proto.google.protobuf.FileOptions",null,E);y.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,E);y.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,E);y.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,E);y.exportSymbol("proto.google.protobuf.MessageOptions",null,E);y.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.MethodOptions",null,E);y.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,E);y.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.OneofOptions",null,E);y.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.ServiceOptions",null,E);y.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,E);y.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,E);y.exportSymbol("proto.google.protobuf.UninterpretedOption",null,E);y.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,E);proto.google.protobuf.FileDescriptorSet=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileDescriptorSet,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet");proto.google.protobuf.FileDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto");proto.google.protobuf.DescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.DescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto");proto.google.protobuf.DescriptorProto.ExtensionRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange");proto.google.protobuf.DescriptorProto.ReservedRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange");proto.google.protobuf.ExtensionRangeOptions=function(o){n.Message.initialize(this,o,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.ExtensionRangeOptions,n.Message);y.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){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.FieldDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto");proto.google.protobuf.OneofDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.OneofDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto");proto.google.protobuf.EnumDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto");proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange");proto.google.protobuf.EnumValueDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.EnumValueDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto");proto.google.protobuf.ServiceDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.ServiceDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto");proto.google.protobuf.MethodDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.MethodDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto");proto.google.protobuf.FileOptions=function(o){n.Message.initialize(this,o,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.MessageOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.FieldOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.OneofOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumValueOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.ServiceOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.MethodOptions,n.Message);y.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){n.Message.initialize(this,o,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)};y.inherits(proto.google.protobuf.UninterpretedOption,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption");proto.google.protobuf.UninterpretedOption.NamePart=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.UninterpretedOption.NamePart,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart");proto.google.protobuf.SourceCodeInfo=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)};y.inherits(proto.google.protobuf.SourceCodeInfo,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo");proto.google.protobuf.SourceCodeInfo.Location=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)};y.inherits(proto.google.protobuf.SourceCodeInfo.Location,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location");proto.google.protobuf.GeneratedCodeInfo=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)};y.inherits(proto.google.protobuf.GeneratedCodeInfo,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo");proto.google.protobuf.GeneratedCodeInfo.Annotation=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)};y.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation");proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1];n.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,i={fileList:n.Message.toObjectList(t.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.FileDescriptorProto;t.readMessage(i,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),o.addFile(i);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var o=new n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)};proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(o,t){return n.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];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,pb_package:(r=n.Message.getField(t,2))==null?void 0:r,dependencyList:(r=n.Message.getRepeatedField(t,3))==null?void 0:r,publicDependencyList:(r=n.Message.getRepeatedField(t,10))==null?void 0:r,weakDependencyList:(r=n.Message.getRepeatedField(t,11))==null?void 0:r,messageTypeList:n.Message.toObjectList(t.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:n.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),serviceList:n.Message.toObjectList(t.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,o),extensionList:n.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=n.Message.getField(t,12))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(o){var t=new n.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 g=t.readString();o.setName(g);break;case 2:var g=t.readString();o.setPackage(g);break;case 3:var g=t.readString();o.addDependency(g);break;case 10:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addPublicDependency(s[i]);break;case 11:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addWeakDependency(s[i]);break;case 4:var g=new proto.google.protobuf.DescriptorProto;t.readMessage(g,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addMessageType(g);break;case 5:var g=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(g,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(g);break;case 6:var g=new proto.google.protobuf.ServiceDescriptorProto;t.readMessage(g,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),o.addService(g);break;case 7:var g=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(g,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(g);break;case 8:var g=new proto.google.protobuf.FileOptions;t.readMessage(g,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),o.setOptions(g);break;case 9:var g=new proto.google.protobuf.SourceCodeInfo;t.readMessage(g,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),o.setSourceCodeInfo(g);break;case 12:var g=t.readString();o.setSyntax(g);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.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=n.Message.getField(o,12),r!=null&&t.writeString(12,r)};proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return n.Message.getRepeatedField(this,3)};proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(o){return n.Message.setField(this,3,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(o,t){return n.Message.addToRepeatedField(this,3,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return n.Message.getRepeatedField(this,10)};proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(o){return n.Message.setField(this,10,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(o,t){return n.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return n.Message.getRepeatedField(this,11)};proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(o){return n.Message.setField(this,11,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(o,t){return n.Message.addToRepeatedField(this,11,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)};proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)};proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(o){return n.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)};proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(o){return n.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.FileDescriptorProto.prototype.addService=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)};proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(o){return n.Message.setRepeatedWrapperField(this,7,o)};proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)};proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,8)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return n.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)};proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(o){return n.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 n.Message.getField(this,9)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return n.Message.getFieldWithDefault(this,12,"")};proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(o){return n.Message.setField(this,12,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return n.Message.setField(this,12,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return n.Message.getField(this,12)!=null};proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,fieldList:n.Message.toObjectList(t.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),extensionList:n.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),nestedTypeList:n.Message.toObjectList(t.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:n.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),extensionRangeList:n.Message.toObjectList(t.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,o),oneofDeclList:n.Message.toObjectList(t.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.MessageOptions.toObject(o,r),reservedRangeList:n.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,o),reservedNameList:(r=n.Message.getRepeatedField(t,10))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(i,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addField(i);break;case 6:var i=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(i,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(i);break;case 3:var i=new proto.google.protobuf.DescriptorProto;t.readMessage(i,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addNestedType(i);break;case 4:var i=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(i,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(i);break;case 5:var i=new proto.google.protobuf.DescriptorProto.ExtensionRange;t.readMessage(i,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),o.addExtensionRange(i);break;case 8:var i=new proto.google.protobuf.OneofDescriptorProto;t.readMessage(i,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),o.addOneofDecl(i);break;case 7:var i=new proto.google.protobuf.MessageOptions;t.readMessage(i,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 9:var i=new proto.google.protobuf.DescriptorProto.ReservedRange;t.readMessage(i,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),o.addReservedRange(i);break;case 10:var i=t.readString();o.addReservedName(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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)};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;case 3:var i=new proto.google.protobuf.ExtensionRangeOptions;t.readMessage(i,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.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 n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.DescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)};proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.DescriptorProto.prototype.addField=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)};proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(o){return n.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)};proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(o){return n.Message.setRepeatedWrapperField(this,3,o)};proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)};proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)};proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(o){return n.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)};proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(o){return n.Message.setRepeatedWrapperField(this,8,o)};proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)};proto.google.protobuf.DescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,7)!=null};proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)};proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(o){return n.Message.setRepeatedWrapperField(this,9,o)};proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(o,t){return n.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 n.Message.getRepeatedField(this,10)};proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(o){return n.Message.setField(this,10,o||[])};proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(o,t){return n.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999];n.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,i={uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)};proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(o,t){return n.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,number:(r=n.Message.getField(t,3))==null?void 0:r,label:(r=n.Message.getField(t,4))==null?void 0:r,type:(r=n.Message.getField(t,5))==null?void 0:r,typeName:(r=n.Message.getField(t,6))==null?void 0:r,extendee:(r=n.Message.getField(t,2))==null?void 0:r,defaultValue:(r=n.Message.getField(t,7))==null?void 0:r,oneofIndex:(r=n.Message.getField(t,9))==null?void 0:r,jsonName:(r=n.Message.getField(t,10))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.FieldOptions.toObject(o,r),proto3Optional:(r=n.Message.getBooleanField(t,17))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 3:var i=t.readInt32();o.setNumber(i);break;case 4:var i=t.readEnum();o.setLabel(i);break;case 5:var i=t.readEnum();o.setType(i);break;case 6:var i=t.readString();o.setTypeName(i);break;case 2:var i=t.readString();o.setExtendee(i);break;case 7:var i=t.readString();o.setDefaultValue(i);break;case 9:var i=t.readInt32();o.setOneofIndex(i);break;case 10:var i=t.readString();o.setJsonName(i);break;case 8:var i=new proto.google.protobuf.FieldOptions;t.readMessage(i,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 17:var i=t.readBool();o.setProto3Optional(i);break;default:t.skipField();break}}return o};proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=n.Message.getField(o,4),r!=null&&t.writeEnum(4,r),r=n.Message.getField(o,5),r!=null&&t.writeEnum(5,r),r=n.Message.getField(o,6),r!=null&&t.writeString(6,r),r=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.Message.getField(o,7),r!=null&&t.writeString(7,r),r=n.Message.getField(o,9),r!=null&&t.writeInt32(9,r),r=n.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=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return n.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,4,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return n.Message.getFieldWithDefault(this,5,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return n.Message.getFieldWithDefault(this,6,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return n.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return n.Message.getFieldWithDefault(this,9,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(o){return n.Message.setField(this,9,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return n.Message.setField(this,9,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return n.Message.getField(this,9)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return n.Message.getFieldWithDefault(this,10,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)};proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,8)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return n.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(o){return n.Message.setField(this,17,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return n.Message.setField(this,17,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return n.Message.getField(this,17)!=null};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.OneofOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.OneofOptions;t.readMessage(i,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)};proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,valueList:n.Message.toObjectList(t.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.EnumOptions.toObject(o,r),reservedRangeList:n.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,o),reservedNameList:(r=n.Message.getRepeatedField(t,5))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.EnumValueDescriptorProto;t.readMessage(i,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),o.addValue(i);break;case 3:var i=new proto.google.protobuf.EnumOptions;t.readMessage(i,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 4:var i=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;t.readMessage(i,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),o.addReservedRange(i);break;case 5:var i=t.readString();o.addReservedName(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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)};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)};proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)};proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(o,t){return n.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 n.Message.getRepeatedField(this,5)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(o){return n.Message.setField(this,5,o||[])};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(o,t){return n.Message.addToRepeatedField(this,5,o,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,number:(r=n.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=t.readInt32();o.setNumber(i);break;case 3:var i=new proto.google.protobuf.EnumValueOptions;t.readMessage(i,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,methodList:n.Message.toObjectList(t.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.MethodDescriptorProto;t.readMessage(i,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),o.addMethod(i);break;case 3:var i=new proto.google.protobuf.ServiceOptions;t.readMessage(i,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)};proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)};proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,inputType:(r=n.Message.getField(t,2))==null?void 0:r,outputType:(r=n.Message.getField(t,3))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.MethodOptions.toObject(o,r),clientStreaming:n.Message.getBooleanFieldWithDefault(t,5,!1),serverStreaming:n.Message.getBooleanFieldWithDefault(t,6,!1)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=t.readString();o.setInputType(i);break;case 3:var i=t.readString();o.setOutputType(i);break;case 4:var i=new proto.google.protobuf.MethodOptions;t.readMessage(i,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 5:var i=t.readBool();o.setClientStreaming(i);break;case 6:var i=t.readBool();o.setServerStreaming(i);break;default:t.skipField();break}}return o};proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.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=n.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=n.Message.getField(o,6),r!=null&&t.writeBool(6,r)};proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)};proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,4)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return n.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return n.Message.getBooleanFieldWithDefault(this,6,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FileOptions.repeatedFields_=[999];n.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,i={javaPackage:(r=n.Message.getField(t,1))==null?void 0:r,javaOuterClassname:(r=n.Message.getField(t,8))==null?void 0:r,javaMultipleFiles:n.Message.getBooleanFieldWithDefault(t,10,!1),javaGenerateEqualsAndHash:(r=n.Message.getBooleanField(t,20))==null?void 0:r,javaStringCheckUtf8:n.Message.getBooleanFieldWithDefault(t,27,!1),optimizeFor:n.Message.getFieldWithDefault(t,9,1),goPackage:(r=n.Message.getField(t,11))==null?void 0:r,ccGenericServices:n.Message.getBooleanFieldWithDefault(t,16,!1),javaGenericServices:n.Message.getBooleanFieldWithDefault(t,17,!1),pyGenericServices:n.Message.getBooleanFieldWithDefault(t,18,!1),phpGenericServices:n.Message.getBooleanFieldWithDefault(t,42,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,23,!1),ccEnableArenas:n.Message.getBooleanFieldWithDefault(t,31,!0),objcClassPrefix:(r=n.Message.getField(t,36))==null?void 0:r,csharpNamespace:(r=n.Message.getField(t,37))==null?void 0:r,swiftPrefix:(r=n.Message.getField(t,39))==null?void 0:r,phpClassPrefix:(r=n.Message.getField(t,40))==null?void 0:r,phpNamespace:(r=n.Message.getField(t,41))==null?void 0:r,phpMetadataNamespace:(r=n.Message.getField(t,44))==null?void 0:r,rubyPackage:(r=n.Message.getField(t,45))==null?void 0:r,uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileOptions.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setJavaPackage(i);break;case 8:var i=t.readString();o.setJavaOuterClassname(i);break;case 10:var i=t.readBool();o.setJavaMultipleFiles(i);break;case 20:var i=t.readBool();o.setJavaGenerateEqualsAndHash(i);break;case 27:var i=t.readBool();o.setJavaStringCheckUtf8(i);break;case 9:var i=t.readEnum();o.setOptimizeFor(i);break;case 11:var i=t.readString();o.setGoPackage(i);break;case 16:var i=t.readBool();o.setCcGenericServices(i);break;case 17:var i=t.readBool();o.setJavaGenericServices(i);break;case 18:var i=t.readBool();o.setPyGenericServices(i);break;case 42:var i=t.readBool();o.setPhpGenericServices(i);break;case 23:var i=t.readBool();o.setDeprecated(i);break;case 31:var i=t.readBool();o.setCcEnableArenas(i);break;case 36:var i=t.readString();o.setObjcClassPrefix(i);break;case 37:var i=t.readString();o.setCsharpNamespace(i);break;case 39:var i=t.readString();o.setSwiftPrefix(i);break;case 40:var i=t.readString();o.setPhpClassPrefix(i);break;case 41:var i=t.readString();o.setPhpNamespace(i);break;case 44:var i=t.readString();o.setPhpMetadataNamespace(i);break;case 45:var i=t.readString();o.setRubyPackage(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,8),r!=null&&t.writeString(8,r),r=n.Message.getField(o,10),r!=null&&t.writeBool(10,r),r=n.Message.getField(o,20),r!=null&&t.writeBool(20,r),r=n.Message.getField(o,27),r!=null&&t.writeBool(27,r),r=n.Message.getField(o,9),r!=null&&t.writeEnum(9,r),r=n.Message.getField(o,11),r!=null&&t.writeString(11,r),r=n.Message.getField(o,16),r!=null&&t.writeBool(16,r),r=n.Message.getField(o,17),r!=null&&t.writeBool(17,r),r=n.Message.getField(o,18),r!=null&&t.writeBool(18,r),r=n.Message.getField(o,42),r!=null&&t.writeBool(42,r),r=n.Message.getField(o,23),r!=null&&t.writeBool(23,r),r=n.Message.getField(o,31),r!=null&&t.writeBool(31,r),r=n.Message.getField(o,36),r!=null&&t.writeString(36,r),r=n.Message.getField(o,37),r!=null&&t.writeString(37,r),r=n.Message.getField(o,39),r!=null&&t.writeString(39,r),r=n.Message.getField(o,40),r!=null&&t.writeString(40,r),r=n.Message.getField(o,41),r!=null&&t.writeString(41,r),r=n.Message.getField(o,44),r!=null&&t.writeString(44,r),r=n.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),n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return n.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(o){return n.Message.setField(this,8,o)};proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return n.Message.setField(this,8,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return n.Message.getField(this,8)!=null};proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return n.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return n.Message.getBooleanFieldWithDefault(this,20,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(o){return n.Message.setField(this,20,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return n.Message.setField(this,20,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return n.Message.getField(this,20)!=null};proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return n.Message.getBooleanFieldWithDefault(this,27,!1)};proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(o){return n.Message.setField(this,27,o)};proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return n.Message.setField(this,27,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return n.Message.getField(this,27)!=null};proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return n.Message.getFieldWithDefault(this,9,1)};proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(o){return n.Message.setField(this,9,o)};proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return n.Message.setField(this,9,void 0)};proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return n.Message.getField(this,9)!=null};proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return n.Message.getFieldWithDefault(this,11,"")};proto.google.protobuf.FileOptions.prototype.setGoPackage=function(o){return n.Message.setField(this,11,o)};proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return n.Message.setField(this,11,void 0)};proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return n.Message.getField(this,11)!=null};proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,16,!1)};proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(o){return n.Message.setField(this,16,o)};proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return n.Message.setField(this,16,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return n.Message.getField(this,16)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(o){return n.Message.setField(this,17,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return n.Message.setField(this,17,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return n.Message.getField(this,17)!=null};proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,18,!1)};proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(o){return n.Message.setField(this,18,o)};proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return n.Message.setField(this,18,void 0)};proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return n.Message.getField(this,18)!=null};proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,42,!1)};proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(o){return n.Message.setField(this,42,o)};proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return n.Message.setField(this,42,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return n.Message.getField(this,42)!=null};proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,23,!1)};proto.google.protobuf.FileOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,23,o)};proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,23,void 0)};proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,23)!=null};proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return n.Message.getBooleanFieldWithDefault(this,31,!0)};proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(o){return n.Message.setField(this,31,o)};proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return n.Message.setField(this,31,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return n.Message.getField(this,31)!=null};proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return n.Message.getFieldWithDefault(this,36,"")};proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(o){return n.Message.setField(this,36,o)};proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return n.Message.setField(this,36,void 0)};proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return n.Message.getField(this,36)!=null};proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return n.Message.getFieldWithDefault(this,37,"")};proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(o){return n.Message.setField(this,37,o)};proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return n.Message.setField(this,37,void 0)};proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return n.Message.getField(this,37)!=null};proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return n.Message.getFieldWithDefault(this,39,"")};proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(o){return n.Message.setField(this,39,o)};proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return n.Message.setField(this,39,void 0)};proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return n.Message.getField(this,39)!=null};proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return n.Message.getFieldWithDefault(this,40,"")};proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(o){return n.Message.setField(this,40,o)};proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return n.Message.setField(this,40,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return n.Message.getField(this,40)!=null};proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return n.Message.getFieldWithDefault(this,41,"")};proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(o){return n.Message.setField(this,41,o)};proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return n.Message.setField(this,41,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return n.Message.getField(this,41)!=null};proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return n.Message.getFieldWithDefault(this,44,"")};proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(o){return n.Message.setField(this,44,o)};proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return n.Message.setField(this,44,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return n.Message.getField(this,44)!=null};proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return n.Message.getFieldWithDefault(this,45,"")};proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(o){return n.Message.setField(this,45,o)};proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return n.Message.setField(this,45,void 0)};proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return n.Message.getField(this,45)!=null};proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={messageSetWireFormat:n.Message.getBooleanFieldWithDefault(t,1,!1),noStandardDescriptorAccessor:n.Message.getBooleanFieldWithDefault(t,2,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),mapEntry:(r=n.Message.getBooleanField(t,7))==null?void 0:r,uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MessageOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setMessageSetWireFormat(i);break;case 2:var i=t.readBool();o.setNoStandardDescriptorAccessor(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 7:var i=t.readBool();o.setMapEntry(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeBool(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)};proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return n.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return n.Message.getBooleanFieldWithDefault(this,7,!1)};proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={ctype:n.Message.getFieldWithDefault(t,1,0),packed:(r=n.Message.getBooleanField(t,2))==null?void 0:r,jstype:n.Message.getFieldWithDefault(t,6,0),lazy:n.Message.getBooleanFieldWithDefault(t,5,!1),unverifiedLazy:n.Message.getBooleanFieldWithDefault(t,15,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),weak:n.Message.getBooleanFieldWithDefault(t,10,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FieldOptions.deserializeBinary=function(o){var t=new n.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 i=t.readEnum();o.setCtype(i);break;case 2:var i=t.readBool();o.setPacked(i);break;case 6:var i=t.readEnum();o.setJstype(i);break;case 5:var i=t.readBool();o.setLazy(i);break;case 15:var i=t.readBool();o.setUnverifiedLazy(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 10:var i=t.readBool();o.setWeak(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeEnum(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.Message.getField(o,6),r!=null&&t.writeEnum(6,r),r=n.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=n.Message.getField(o,15),r!=null&&t.writeBool(15,r),r=n.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=n.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),n.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 n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.FieldOptions.prototype.setCtype=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.FieldOptions.prototype.setPacked=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return n.Message.getFieldWithDefault(this,6,0)};proto.google.protobuf.FieldOptions.prototype.setJstype=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return n.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.FieldOptions.prototype.setLazy=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return n.Message.getBooleanFieldWithDefault(this,15,!1)};proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(o){return n.Message.setField(this,15,o)};proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return n.Message.setField(this,15,void 0)};proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return n.Message.getField(this,15)!=null};proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return n.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FieldOptions.prototype.setWeak=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.OneofOptions.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)};proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={allowAlias:(r=n.Message.getBooleanField(t,2))==null?void 0:r,deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setAllowAlias(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)};proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,1,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumValueOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)};proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,33,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ServiceOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)};proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,33,o)};proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,33,void 0)};proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,33)!=null};proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,33,!1),idempotencyLevel:n.Message.getFieldWithDefault(t,34,0),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MethodOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 34:var i=t.readEnum();o.setIdempotencyLevel(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,33),r!=null&&t.writeBool(33,r),r=n.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),n.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 n.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,33,o)};proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,33,void 0)};proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,33)!=null};proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return n.Message.getFieldWithDefault(this,34,0)};proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(o){return n.Message.setField(this,34,o)};proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return n.Message.setField(this,34,void 0)};proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return n.Message.getField(this,34)!=null};proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={nameList:n.Message.toObjectList(t.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,o),identifierValue:(r=n.Message.getField(t,3))==null?void 0:r,positiveIntValue:(r=n.Message.getField(t,4))==null?void 0:r,negativeIntValue:(r=n.Message.getField(t,5))==null?void 0:r,doubleValue:(r=n.Message.getOptionalFloatingPointField(t,6))==null?void 0:r,stringValue:t.getStringValue_asB64(),aggregateValue:(r=n.Message.getField(t,8))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.UninterpretedOption.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption.NamePart;t.readMessage(i,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),o.addName(i);break;case 3:var i=t.readString();o.setIdentifierValue(i);break;case 4:var i=t.readUint64();o.setPositiveIntValue(i);break;case 5:var i=t.readInt64();o.setNegativeIntValue(i);break;case 6:var i=t.readDouble();o.setDoubleValue(i);break;case 7:var i=t.readBytes();o.setStringValue(i);break;case 8:var i=t.readString();o.setAggregateValue(i);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,3),r!=null&&t.writeString(3,r),r=n.Message.getField(o,4),r!=null&&t.writeUint64(4,r),r=n.Message.getField(o,5),r!=null&&t.writeInt64(5,r),r=n.Message.getField(o,6),r!=null&&t.writeDouble(6,r),r=n.Message.getField(o,7),r!=null&&t.writeBytes(7,r),r=n.Message.getField(o,8),r!=null&&t.writeString(8,r)};n.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,i={namePart:(r=n.Message.getField(t,1))==null?void 0:r,isExtension:(r=n.Message.getBooleanField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setNamePart(i);break;case 2:var i=t.readBool();o.setIsExtension(i);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)};proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.UninterpretedOption.prototype.addName=function(o,t){return n.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 n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return n.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return n.Message.getFieldWithDefault(this,5,0)};proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return n.Message.getFloatingPointFieldWithDefault(this,6,0)};proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return n.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return n.Message.bytesAsB64(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return n.Message.bytesAsU8(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return n.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(o){return n.Message.setField(this,8,o)};proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return n.Message.setField(this,8,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return n.Message.getField(this,8)!=null};proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1];n.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,i={locationList:n.Message.toObjectList(t.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.SourceCodeInfo.Location;t.readMessage(i,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),o.addLocation(i);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var o=new n.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];n.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,i={pathList:(r=n.Message.getRepeatedField(t,1))==null?void 0:r,spanList:(r=n.Message.getRepeatedField(t,2))==null?void 0:r,leadingComments:(r=n.Message.getField(t,3))==null?void 0:r,trailingComments:(r=n.Message.getField(t,4))==null?void 0:r,leadingDetachedCommentsList:(r=n.Message.getRepeatedField(t,6))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(o){var t=new n.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 s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addPath(s[i]);break;case 2:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addSpan(s[i]);break;case 3:var g=t.readString();o.setLeadingComments(g);break;case 4:var g=t.readString();o.setTrailingComments(g);break;case 6:var g=t.readString();o.addLeadingDetachedComments(g);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,3),r!=null&&t.writeString(3,r),r=n.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 n.Message.getRepeatedField(this,1)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(o){return n.Message.setField(this,1,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(o,t){return n.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 n.Message.getRepeatedField(this,2)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(o){return n.Message.setField(this,2,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(o,t){return n.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 n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return n.Message.getFieldWithDefault(this,4,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return n.Message.getRepeatedField(this,6)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(o){return n.Message.setField(this,6,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)};proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(o,t){return n.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];n.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,i={annotationList:n.Message.toObjectList(t.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.GeneratedCodeInfo.Annotation;t.readMessage(i,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),o.addAnnotation(i);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var o=new n.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];n.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,i={pathList:(r=n.Message.getRepeatedField(t,1))==null?void 0:r,sourceFile:(r=n.Message.getField(t,2))==null?void 0:r,begin:(r=n.Message.getField(t,3))==null?void 0:r,end:(r=n.Message.getField(t,4))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(o){var t=new n.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 i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],s=0;s<i.length;s++)o.addPath(i[s]);break;case 2:var g=t.readString();o.setSourceFile(g);break;case 3:var g=t.readInt32();o.setBegin(g);break;case 4:var g=t.readInt32();o.setEnd(g);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=n.Message.getField(o,4),r!=null&&t.writeInt32(4,r)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return n.Message.getRepeatedField(this,1)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(o){return n.Message.setField(this,1,o||[])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(o,t){return n.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 n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return n.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)};proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(o,t){return n.Message.addToRepeatedWrapperField(this,1,o,proto.google.protobuf.GeneratedCodeInfo.Annotation,t)};proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])};y.object.extend(P,proto.google.protobuf)});var w=I(N=>{var _=C(),v=_,F=function(){return this?this:typeof window<"u"?window:typeof F<"u"?F:typeof self<"u"?self:Function("return this")()}.call(null),A=j();v.object.extend(proto,A);v.exportSymbol("proto.ic_base_types.pb.v1.CanisterAuthzInfo",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.CanisterId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.MethodAuthzInfo",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.NeuronId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.PrincipalId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.ProposalId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedMessage",null,F);proto.ic_base_types.pb.v1.PrincipalId=function(o){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.PrincipalId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.CanisterId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.NeuronId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.ProposalId,_.Message);v.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){_.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_,null)};v.inherits(proto.ic_base_types.pb.v1.MethodAuthzInfo,_.Message);v.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){_.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_,null)};v.inherits(proto.ic_base_types.pb.v1.CanisterAuthzInfo,_.Message);v.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.displayName="proto.ic_base_types.pb.v1.CanisterAuthzInfo");_.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,i={serializedId:t.getSerializedId_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.PrincipalId.deserializeBinary=function(o){var t=new _.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 i=t.readBytes();o.setSerializedId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.PrincipalId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asB64=function(){return _.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asU8=function(){return _.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.setSerializedId=function(o){return _.Message.setProto3BytesField(this,1,o)};_.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,i={serializedId:t.getSerializedId_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.CanisterId.deserializeBinary=function(o){var t=new _.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 i=t.readBytes();o.setSerializedId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asB64=function(){return _.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asU8=function(){return _.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.setSerializedId=function(o){return _.Message.setProto3BytesField(this,1,o)};_.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,i={id:_.Message.getFieldWithDefault(t,2,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.NeuronId.deserializeBinary=function(o){var t=new _.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 i=t.readUint64String();o.setId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.NeuronId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,2,"0")};proto.ic_base_types.pb.v1.NeuronId.prototype.setId=function(o){return _.Message.setProto3StringIntField(this,2,o)};_.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,i={id:_.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.ProposalId.deserializeBinary=function(o){var t=new _.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 i=t.readUint64String();o.setId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.ProposalId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"0")};proto.ic_base_types.pb.v1.ProposalId.prototype.setId=function(o){return _.Message.setProto3StringIntField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_=[2];_.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,i={methodName:_.Message.getFieldWithDefault(t,1,""),principalIdsList:t.getPrincipalIdsList_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinary=function(o){var t=new _.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 i=t.readString();o.setMethodName(i);break;case 2:var i=t.readBytes();o.addPrincipalIds(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setMethodName=function(o){return _.Message.setProto3StringField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList=function(){return _.Message.getRepeatedField(this,2)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asB64=function(){return _.Message.bytesListAsB64(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asU8=function(){return _.Message.bytesListAsU8(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setPrincipalIdsList=function(o){return _.Message.setField(this,2,o||[])};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.addPrincipalIds=function(o,t){return _.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];_.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,i={methodsAuthzList:_.Message.toObjectList(t.getMethodsAuthzList(),proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinary=function(o){var t=new _.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 i=new proto.ic_base_types.pb.v1.MethodAuthzInfo;t.readMessage(i,proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader),o.addMethodsAuthz(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.serializeBinary=function(){var o=new _.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 _.Message.getRepeatedWrapperField(this,proto.ic_base_types.pb.v1.MethodAuthzInfo,1)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.setMethodsAuthzList=function(o){return _.Message.setRepeatedWrapperField(this,1,o)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.addMethodsAuthz=function(o,t){return _.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 _.ExtensionFieldInfo(2e4,{tuiSignedMessage:0},null,null,0);A.MessageOptions.extensionsBinary[2e4]=new _.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedMessage,_.BinaryReader.prototype.readBool,_.BinaryWriter.prototype.writeBool,void 0,void 0,!1);A.MessageOptions.extensions[2e4]=proto.ic_base_types.pb.v1.tuiSignedMessage;proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021=new _.ExtensionFieldInfo(20001,{tuiSignedDisplayQ22021:0},null,null,0);A.FieldOptions.extensionsBinary[20001]=new _.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021,_.BinaryReader.prototype.readBool,_.BinaryWriter.prototype.writeBool,void 0,void 0,!1);A.FieldOptions.extensions[20001]=proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021;v.object.extend(N,proto.ic_base_types.pb.v1)});var V=I(L=>{var p=C(),u=p,S=function(){return this?this:typeof window<"u"?window:typeof S<"u"?S:typeof self<"u"?self:Function("return this")()}.call(null),M=w();u.object.extend(proto,M);u.exportSymbol("proto.ic_ledger.pb.v1.Account",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountIdentifier",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Block",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.BlockHeight",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Burn",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Certification",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlock",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlocks",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Hash",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.ICPTs",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Memo",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Mint",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.NotifyRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.NotifyResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Payment",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Refund",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Send",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.SendRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.SendResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Subaccount",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TimeStamp",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.ToppedUp",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Transaction",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Transaction.TransferCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationResponse",null,S);proto.ic_ledger.pb.v1.SendRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.SendRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendRequest.displayName="proto.ic_ledger.pb.v1.SendRequest");proto.ic_ledger.pb.v1.SendResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.SendResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendResponse.displayName="proto.ic_ledger.pb.v1.SendResponse");proto.ic_ledger.pb.v1.NotifyRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.NotifyRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyRequest.displayName="proto.ic_ledger.pb.v1.NotifyRequest");proto.ic_ledger.pb.v1.NotifyResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.NotifyResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyResponse.displayName="proto.ic_ledger.pb.v1.NotifyResponse");proto.ic_ledger.pb.v1.TransactionNotificationRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName="proto.ic_ledger.pb.v1.TransactionNotificationRequest");proto.ic_ledger.pb.v1.TransactionNotificationResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName="proto.ic_ledger.pb.v1.TransactionNotificationResponse");proto.ic_ledger.pb.v1.CyclesNotificationResponse=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName="proto.ic_ledger.pb.v1.CyclesNotificationResponse");proto.ic_ledger.pb.v1.AccountBalanceRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName="proto.ic_ledger.pb.v1.AccountBalanceRequest");proto.ic_ledger.pb.v1.AccountBalanceResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName="proto.ic_ledger.pb.v1.AccountBalanceResponse");proto.ic_ledger.pb.v1.TipOfChainRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainRequest.displayName="proto.ic_ledger.pb.v1.TipOfChainRequest");proto.ic_ledger.pb.v1.TipOfChainResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainResponse.displayName="proto.ic_ledger.pb.v1.TipOfChainResponse");proto.ic_ledger.pb.v1.EncodedBlock=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.EncodedBlock,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlock.displayName="proto.ic_ledger.pb.v1.EncodedBlock");proto.ic_ledger.pb.v1.GetBlocksRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksRequest.displayName="proto.ic_ledger.pb.v1.GetBlocksRequest");proto.ic_ledger.pb.v1.Refund=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Refund,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Refund.displayName="proto.ic_ledger.pb.v1.Refund");proto.ic_ledger.pb.v1.ToppedUp=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.ToppedUp,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ToppedUp.displayName="proto.ic_ledger.pb.v1.ToppedUp");proto.ic_ledger.pb.v1.EncodedBlocks=function(o){p.Message.initialize(this,o,0,-1,proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_,null)};u.inherits(proto.ic_ledger.pb.v1.EncodedBlocks,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlocks.displayName="proto.ic_ledger.pb.v1.EncodedBlocks");proto.ic_ledger.pb.v1.GetBlocksResponse=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksResponse.displayName="proto.ic_ledger.pb.v1.GetBlocksResponse");proto.ic_ledger.pb.v1.ICPTs=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.ICPTs,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ICPTs.displayName="proto.ic_ledger.pb.v1.ICPTs");proto.ic_ledger.pb.v1.Payment=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Payment,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Payment.displayName="proto.ic_ledger.pb.v1.Payment");proto.ic_ledger.pb.v1.BlockHeight=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.BlockHeight,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.BlockHeight.displayName="proto.ic_ledger.pb.v1.BlockHeight");proto.ic_ledger.pb.v1.Block=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Block,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Block.displayName="proto.ic_ledger.pb.v1.Block");proto.ic_ledger.pb.v1.Hash=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Hash,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Hash.displayName="proto.ic_ledger.pb.v1.Hash");proto.ic_ledger.pb.v1.Account=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Account,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Account.displayName="proto.ic_ledger.pb.v1.Account");proto.ic_ledger.pb.v1.Transaction=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.Transaction.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.Transaction,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Transaction.displayName="proto.ic_ledger.pb.v1.Transaction");proto.ic_ledger.pb.v1.Send=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Send,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Send.displayName="proto.ic_ledger.pb.v1.Send");proto.ic_ledger.pb.v1.Mint=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Mint,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Mint.displayName="proto.ic_ledger.pb.v1.Mint");proto.ic_ledger.pb.v1.Burn=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Burn,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Burn.displayName="proto.ic_ledger.pb.v1.Burn");proto.ic_ledger.pb.v1.AccountIdentifier=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountIdentifier,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountIdentifier.displayName="proto.ic_ledger.pb.v1.AccountIdentifier");proto.ic_ledger.pb.v1.Subaccount=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Subaccount,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Subaccount.displayName="proto.ic_ledger.pb.v1.Subaccount");proto.ic_ledger.pb.v1.Memo=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Memo,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Memo.displayName="proto.ic_ledger.pb.v1.Memo");proto.ic_ledger.pb.v1.TimeStamp=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TimeStamp,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TimeStamp.displayName="proto.ic_ledger.pb.v1.TimeStamp");proto.ic_ledger.pb.v1.Certification=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Certification,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Certification.displayName="proto.ic_ledger.pb.v1.Certification");p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.SendRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Payment;t.readMessage(i,proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader),o.setPayment(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 5:var i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 6:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(i);break;case 7:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,1)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMemo=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getPayment=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Payment,2)};proto.ic_ledger.pb.v1.SendRequest.prototype.setPayment=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.SendRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getTo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,5)};proto.ic_ledger.pb.v1.SendRequest.prototype.setTo=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAt=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,6)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAt=function(o){return p.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 p.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAtTime=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,7)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAtTime=function(o){return p.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 p.Message.getField(this,7)!=null};p.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,i={resultingHeight:(r=t.getResultingHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.SendResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setResultingHeight(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.SendResponse.prototype.setResultingHeight=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={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())&&M.PrincipalId.toObject(o,r),toSubaccount:(r=t.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(i);break;case 2:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 4:var i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setToCanister(i);break;case 5:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.NotifyRequest.prototype.serializeBinary=function(){var o=new p.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,M.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setBlockHeight=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,3)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToCanister=function(){return p.Message.getWrapperField(this,M.PrincipalId,4)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToCanister=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,5)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToSubaccount=function(o){return p.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 p.Message.getField(this,5)!=null};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinary=function(o){var t=new p.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 p.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};p.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,i={from:(r=t.getFrom())&&M.PrincipalId.toObject(o,r),fromSubaccount:(r=t.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),to:(r=t.getTo())&&M.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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinary=function(o){var t=new p.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 i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setFrom(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 3:var i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setTo(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(i);break;case 5:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(i);break;case 6:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;case 7:var i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.serializeBinary=function(){var o=new p.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,M.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,M.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 p.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,2)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getTo=function(){return p.Message.getWrapperField(this,M.PrincipalId,3)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setTo=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getToSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setToSubaccount=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getBlockHeight=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setBlockHeight=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,6)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setAmount=function(o){return p.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 p.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getMemo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,7)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setMemo=function(o){return p.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 p.Message.getField(this,7)!=null};p.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,i={response:t.getResponse_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setResponse(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asB64=function(){return p.Message.bytesAsB64(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asU8=function(){return p.Message.bytesAsU8(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.setResponse=function(o){return p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0])};p.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,i={createdCanisterId:(r=t.getCreatedCanisterId())&&M.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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinary=function(o){var t=new p.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 i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setCreatedCanisterId(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Refund;t.readMessage(i,proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader),o.setRefund(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ToppedUp;t.readMessage(i,proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader),o.setToppedUp(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.serializeBinary=function(){var o=new p.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,M.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 p.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setCreatedCanisterId=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getRefund=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Refund,2)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setRefund=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getToppedUp=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ToppedUp,3)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setToppedUp=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={account:(r=t.getAccount())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setAccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.setAccount=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={balance:(r=t.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.setBalance=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinary=function(o){var t=new p.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 p.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};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Certification;t.readMessage(i,proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader),o.setCertification(i);break;case 2:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setChainLength(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Certification,1)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setCertification=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getChainLength=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setChainLength=function(o){return p.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 p.Message.getField(this,2)!=null};p.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,i={block:t.getBlock_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setBlock(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlock.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asB64=function(){return p.Message.bytesAsB64(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asU8=function(){return p.Message.bytesAsU8(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.setBlock=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={start:p.Message.getFieldWithDefault(t,1,"0"),length:p.Message.getFieldWithDefault(t,2,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setStart(i);break;case 2:var i=t.readUint64String();o.setLength(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setStart=function(o){return p.Message.setProto3StringIntField(this,1,o)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getLength=function(){return p.Message.getFieldWithDefault(this,2,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setLength=function(o){return p.Message.setProto3StringIntField(this,2,o)};p.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,i={refund:(r=t.getRefund())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),error:p.Message.getFieldWithDefault(t,3,"")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Refund.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setRefund(i);break;case 3:var i=t.readString();o.setError(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Refund.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.Refund.prototype.setRefund=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Refund.prototype.getError=function(){return p.Message.getFieldWithDefault(this,3,"")};proto.ic_ledger.pb.v1.Refund.prototype.setError=function(o){return p.Message.setProto3StringField(this,3,o)};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.ToppedUp.deserializeBinary=function(o){var t=new p.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 p.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];p.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,i={blocksList:p.Message.toObjectList(t.getBlocksList(),proto.ic_ledger.pb.v1.EncodedBlock.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.EncodedBlock;t.readMessage(i,proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader),o.addBlocks(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.serializeBinary=function(){var o=new p.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 p.Message.getRepeatedWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlock,1)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.setBlocksList=function(o){return p.Message.setRepeatedWrapperField(this,1,o)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.addBlocks=function(o,t){return p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0])};p.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,i={blocks:(r=t.getBlocks())&&proto.ic_ledger.pb.v1.EncodedBlocks.toObject(o,r),error:p.Message.getFieldWithDefault(t,2,"")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.EncodedBlocks;t.readMessage(i,proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader),o.setBlocks(i);break;case 2:var i=t.readString();o.setError(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.serializeBinary=function(){var o=new p.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=p.Message.getField(o,2),r!=null&&t.writeString(2,r)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getBlocks=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlocks,1)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setBlocks=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getError=function(){return p.Message.getFieldWithDefault(this,2,"")};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setError=function(o){return p.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearError=function(){return p.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError=function(){return p.Message.getField(this,2)!=null};p.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,i={e8s:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.ICPTs.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setE8s(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.ICPTs.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.ICPTs.prototype.setE8s=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={receiverGets:(r=t.getReceiverGets())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Payment.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setReceiverGets(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Payment.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.Payment.prototype.setReceiverGets=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={height:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.BlockHeight.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setHeight(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.BlockHeight.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.BlockHeight.prototype.setHeight=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Block.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Hash;t.readMessage(i,proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader),o.setParentHash(i);break;case 2:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setTimestamp(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Transaction;t.readMessage(i,proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader),o.setTransaction(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Block.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Hash,1)};proto.ic_ledger.pb.v1.Block.prototype.setParentHash=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTimestamp=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,2)};proto.ic_ledger.pb.v1.Block.prototype.setTimestamp=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTransaction=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Transaction,3)};proto.ic_ledger.pb.v1.Block.prototype.setTransaction=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={hash:t.getHash_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Hash.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setHash(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Hash.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asB64=function(){return p.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asU8=function(){return p.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.setHash=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Account.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setIdentifier(i);break;case 2:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Account.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Account.prototype.setIdentifier=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Account.prototype.getBalance=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.Account.prototype.setBalance=function(o){return p.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 p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0])};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Transaction.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Burn;t.readMessage(i,proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader),o.setBurn(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Mint;t.readMessage(i,proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader),o.setMint(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Send;t.readMessage(i,proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader),o.setSend(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;case 5:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(i);break;case 6:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Transaction.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Burn,1)};proto.ic_ledger.pb.v1.Transaction.prototype.setBurn=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMint=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Mint,2)};proto.ic_ledger.pb.v1.Transaction.prototype.setMint=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getSend=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Send,3)};proto.ic_ledger.pb.v1.Transaction.prototype.setSend=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMemo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,4)};proto.ic_ledger.pb.v1.Transaction.prototype.setMemo=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAt=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAt=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAtTime=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,6)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAtTime=function(o){return p.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 p.Message.getField(this,6)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Send.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(i);break;case 2:var i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;case 4:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Send.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Send.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Send.prototype.getTo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Send.prototype.setTo=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Send.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Send.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Send.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,4)};proto.ic_ledger.pb.v1.Send.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,4)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Mint.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Mint.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Mint.prototype.setTo=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Mint.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Mint.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Burn.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Burn.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Burn.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Burn.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Burn.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={hash:t.getHash_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setHash(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asB64=function(){return p.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asU8=function(){return p.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.setHash=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={subAccount:t.getSubAccount_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Subaccount.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setSubAccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Subaccount.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asB64=function(){return p.Message.bytesAsB64(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asU8=function(){return p.Message.bytesAsU8(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.setSubAccount=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={memo:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Memo.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setMemo(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Memo.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.Memo.prototype.setMemo=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={timestampNanos:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TimeStamp.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setTimestampNanos(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TimeStamp.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.TimeStamp.prototype.setTimestampNanos=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={certification:t.getCertification_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Certification.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setCertification(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Certification.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asB64=function(){return p.Message.bytesAsB64(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asU8=function(){return p.Message.bytesAsU8(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.setCertification=function(o){return p.Message.setProto3BytesField(this,1,o)};u.object.extend(L,proto.ic_ledger.pb.v1)});export{I as a,q as b,Y as c,$ as d,V as e};
14
- //# sourceMappingURL=chunk-PKY54KPG.js.map
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 i=o.toLowerCase().match(r),s=t.toLowerCase().match(r),g=Math.min(i.length,s.length),l=0;l<g;l++){r=i[l];var h=s[l];if(r!=h)return o=parseInt(r,10),!isNaN(o)&&(t=parseInt(h,10),!isNaN(t)&&o-t)?o-t:r<h?-1:1}return i.length!=s.length?i.length-s.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;":'"'},i=t?t.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(s,g){var l=r[s];return l||(g.charAt(0)=="#"&&(g=Number("0"+g.substr(1)),isNaN(g)||(l=String.fromCharCode(g))),l||(goog.dom.safe.setInnerHtml(i,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),s+" ")),l=i.firstChild.nodeValue.slice(0,-1)),r[s]=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,i=0;i<r;i++){var s=r==1?t:t.charAt(i);if(o.charAt(0)==s&&o.charAt(o.length-1)==s)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,i){if(r&&(o=goog.string.unescapeEntities(o)),i&&o.length>t){i>t&&(i=t);var s=o.length-i;o=o.substring(0,t-i)+"..."+o.substring(s)}else o.length>t&&(i=Math.floor(t/2),s=o.length-i,o=o.substring(0,i+t%2)+"..."+o.substring(s));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 i=o.charAt(r),s=i.charCodeAt(0);t[r+1]=goog.string.specialEscapeChars_[i]||(31<s&&127>s?i:goog.string.escapeChar(i))}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 i=o;return 0<=t&&t<o.length&&0<r&&(i=o.substr(0,t)+o.substr(t+r,o.length-t-r)),i};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=goog.isDef(r)?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=goog.isString(t)?goog.string.regExpEscape(t):"\\s",o.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(r,i,s){return i+s.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)),goog.isString(o)?/^\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 i=[];0<r&&o.length;)i.push(o.shift()),r--;return o.length&&i.push(o.join(t)),i};goog.string.lastComponent=function(o,t){if(t)typeof t=="string"&&(t=[t]);else return o;for(var r=-1,i=0;i<t.length;i++)if(t[i]!=""){var s=o.lastIndexOf(t[i]);s>r&&(r=s)}return r==-1?o:o.slice(r+1)};goog.string.editDistance=function(o,t){var r=[],i=[];if(o==t)return 0;if(!o.length||!t.length)return Math.max(o.length,t.length);for(var s=0;s<t.length+1;s++)r[s]=s;for(s=0;s<o.length;s++){i[0]=s+1;for(var g=0;g<t.length;g++)i[g+1]=Math.min(i[g]+1,r[g+1]+1,r[g]+Number(o[s]!=t[g]));for(g=0;g<r.length;g++)r[g]=i[g]}return i[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.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")};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,i){return i=i?i(t):t,Object.prototype.hasOwnProperty.call(o,i)?o[i]:o[i]=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.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 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.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone();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)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(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=[],i=0;i<o.length;i+=3){var s=o[i],g=i+1<o.length,l=g?o[i+1]:0,h=i+2<o.length,m=h?o[i+2]:0,T=s>>2;s=(s&3)<<4|l>>4,l=(l&15)<<2|m>>6,m&=63,h||(m=64,g||(l=64)),r.push(t[T],t[s],t[l]||"",t[m]||"")}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(i){r+=String.fromCharCode(i)}),r};goog.crypt.base64.decodeStringToByteArray=function(o,t){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(i){r.push(i)}),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 i=new Uint8Array(r),s=0;return goog.crypt.base64.decodeStringInternal_(o,function(g){i[s++]=g}),i.subarray(0,s)};goog.crypt.base64.decodeStringInternal_=function(o,t){function r(m){for(;i<o.length;){var T=o.charAt(i++),O=goog.crypt.base64.charToByteMap_[T];if(O!=null)return O;if(!goog.string.isEmptyOrWhitespace(T))throw Error("Unknown base64 encoding at char: "+T)}return m}goog.crypt.base64.init_();for(var i=0;;){var s=r(-1),g=r(0),l=r(64),h=r(64);if(h===64&&s===-1)break;t(s<<2|g>>4),l!=64&&(t(g<<4&240|l>>2),h!=64&&t(l<<6&192|h))}};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 i=o.concat(t[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=i;for(var s=0;s<i.length;s++){var g=i[s],l=goog.crypt.base64.charToByteMap_[g];l===void 0?goog.crypt.base64.charToByteMap_[g]=s:goog.asserts.assert(l===s)}}}};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 i=0;if(2<=r)for(;2<=r&&1023>i;)i++,r/=2;else for(;1>r&&-1022<i;)r*=2,i--;r=o*Math.pow(2,-i),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|i+1023<<20|o)>>>0,jspb.utils.split64Low=r}};jspb.utils.splitHash64=function(o){var t=o.charCodeAt(0),r=o.charCodeAt(1),i=o.charCodeAt(2),s=o.charCodeAt(3),g=o.charCodeAt(4),l=o.charCodeAt(5),h=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=t+(r<<8)+(i<<16)+(s<<24)>>>0,jspb.utils.split64High=g+(l<<8)+(h<<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 i=t>>31;return r(o<<1^i,(t<<1|o>>>31)^i)};jspb.utils.joinZigzag64=function(o,t){return jspb.utils.fromZigzag64(o,t,jspb.utils.joinInt64)};jspb.utils.fromZigzag64=function(o,t,r){var i=-(o&1);return r((o>>>1|t<<31)^i,t>>>1^i)};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,i=t>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(t&1048575)+o,i==2047?o?NaN:1/0*r:i==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,i-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(s,g){return s=s?String(s):"",g?"0000000".slice(s.length)+s:s}if(2097151>=t)return""+jspb.utils.joinUint64(o,t);var i=(o>>>24|t<<8)>>>0&16777215;return t=t>>16&65535,o=(o&16777215)+6777216*i+6710656*t,i+=8147497*t,t*=2,1e7<=o&&(i+=Math.floor(o/1e7),o%=1e7),1e7<=i&&(t+=Math.floor(i/1e7),i%=1e7),r(t,0)+r(i,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),i=0;i<o.length;i++)r[i]=jspb.utils.hash64ToDecimalString(o[i],t);return r};jspb.utils.decimalStringToHash64=function(o){function t(l,h){for(var m=0;8>m&&(l!==1||0<h);m++)h=l*s[m]+h,s[m]=h&255,h>>>=8}function r(){for(var l=0;8>l;l++)s[l]=~s[l]&255}goog.asserts.assert(0<o.length);var i=!1;o[0]==="-"&&(i=!0,o=o.slice(1));for(var s=[0,0,0,0,0,0,0,0],g=0;g<o.length;g++)t(10,o.charCodeAt(g)-jspb.utils.ZERO_CHAR_CODE_);return i&&(r(),t(1,1)),goog.crypt.byteArrayToString(s)};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 i=o.charCodeAt(7-r);t[2*r+2]=jspb.utils.toHexDigit_(i>>4),t[2*r+3]=jspb.utils.toHexDigit_(i&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 i=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));t=String.fromCharCode(16*i+s)+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 i=0,s=t;s<r;s++)i+=o[s]>>7;return r-t-i};jspb.utils.countVarintFields=function(o,t,r,i){var s=0;if(i=8*i+jspb.BinaryConstants.WireType.VARINT,128>i)for(;t<r&&o[t++]==i;)for(s++;;){var g=o[t++];if((g&128)==0)break}else for(;t<r;){for(g=i;128<g;){if(o[t]!=(g&127|128))return s;t++,g>>=7}if(o[t++]!=g)break;for(s++;g=o[t++],(g&128)!=0;);}return s};jspb.utils.countFixedFields_=function(o,t,r,i,s){var g=0;if(128>i)for(;t<r&&o[t++]==i;)g++,t+=s;else for(;t<r;){for(var l=i;128<l;){if(o[t++]!=(l&127|128))return g;l>>=7}if(o[t++]!=l)break;g++,t+=s}return g};jspb.utils.countFixed32Fields=function(o,t,r,i){return jspb.utils.countFixedFields_(o,t,r,8*i+jspb.BinaryConstants.WireType.FIXED32,4)};jspb.utils.countFixed64Fields=function(o,t,r,i){return jspb.utils.countFixedFields_(o,t,r,8*i+jspb.BinaryConstants.WireType.FIXED64,8)};jspb.utils.countDelimitedFields=function(o,t,r,i){var s=0;for(i=8*i+jspb.BinaryConstants.WireType.DELIMITED;t<r;){for(var g=i;128<g;){if(o[t++]!=(g&127|128))return s;g>>=7}if(o[t++]!=g)break;s++;for(var l=0,h=1;g=o[t++],l+=(g&127)*h,h*=128,(g&128)!=0;);t+=l}return s};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 i=o.charCodeAt(r);if(255<i)throw Error("Conversion error: string contains codepoint outside of byte range");t[r]=i}return t};jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||typeof Buffer<"u"&&o.constructor===Buffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):(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 i=jspb.BinaryDecoder.instanceCache_.pop();return o&&i.setBlock(o,t,r),i}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,i=0,s=0;4>s&&128<=t;s++)t=this.bytes_[this.cursor_++],r|=(t&127)<<7*s;if(128<=t&&(t=this.bytes_[this.cursor_++],r|=(t&127)<<28,i|=(t&127)>>4),128<=t)for(s=0;5>s&&128<=t;s++)t=this.bytes_[this.cursor_++],i|=(t&127)<<7*s+3;if(128>t)return o(r>>>0,i>>>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 i=0,s=0,g=r+7;g>=r;g--)i=i<<8|t[g],s=s<<8|t[g+4];return o(i,s)};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],i=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8|r<<16|i<<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],i=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8|r<<16|i<<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 i=[],s="";r<o;){var g=t[r++];if(128>g)i.push(g);else{if(192>g)continue;if(224>g){var l=t[r++];i.push((g&31)<<6|l&63)}else if(240>g){l=t[r++];var h=t[r++];i.push((g&15)<<12|(l&63)<<6|h&63)}else if(248>g){l=t[r++],h=t[r++];var m=t[r++];g=(g&7)<<18|(l&63)<<12|(h&63)<<6|m&63,g-=65536,i.push((g>>10&1023)+55296,(g&1023)+56320)}}8192<=i.length&&(s+=String.fromCharCode.apply(null,i),i.length=0)}return s+=goog.crypt.byteArrayToString(i),this.cursor_=r,s};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],i=o[t+1],s=o[t+2],g=o[t+3],l=o[t+4],h=o[t+5],m=o[t+6];return o=o[t+7],this.cursor_+=8,String.fromCharCode(r,i,s,g,l,h,m,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 i=jspb.BinaryReader.instanceCache_.pop();return o&&i.decoder_.setBlock(o,t,r),i}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(),i=this.decoder_.readUnsignedVarint32();i=this.decoder_.getCursor()+i,this.decoder_.setEnd(i),t(o,this),this.decoder_.setCursor(i),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,i){t.writeSplitVarint64(r>>>0,i>>>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){for(var t=this.buffer_.length,r=0;r<o.length;r++){var i=o.charCodeAt(r);if(128>i)this.buffer_.push(i);else if(2048>i)this.buffer_.push(i>>6|192),this.buffer_.push(i&63|128);else if(65536>i)if(55296<=i&&56319>=i&&r+1<o.length){var s=o.charCodeAt(r+1);56320<=s&&57343>=s&&(i=1024*(i-55296)+s-56320+65536,this.buffer_.push(i>>18|240),this.buffer_.push(i>>12&63|128),this.buffer_.push(i>>6&63|128),this.buffer_.push(i&63|128),r++)}else this.buffer_.push(i>>12|224),this.buffer_.push(i>>6&63|128),this.buffer_.push(i&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 i=t&65535,s=t>>>16;for(t=r*i+65536*(r*s&65535)+65536*(o*i&65535),r=o*s+(r*s>>>16)+(o*i>>>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 i=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),i=i.leftShift();for(;!i.zero();)0>=o.cmp(r)&&(t=t.add(i),r=r.sub(o)),o=o.rightShift(),i=i.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),i=0;i<o.length;i++){if("0">o[i]||"9"<o[i])return null;var s=parseInt(o[i],10);r.lo=s,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,i=0,s=0;s<r;s++){var g=t[s];o.set(g,i),i+=g.length}return t=this.encoder_.end(),o.set(t,i),i+=t.length,goog.asserts.assert(i==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 i=jspb.BinaryConstants.FieldType;switch(o){case i.DOUBLE:this.writeDouble(t,r);break;case i.FLOAT:this.writeFloat(t,r);break;case i.INT64:this.writeInt64(t,r);break;case i.UINT64:this.writeUint64(t,r);break;case i.INT32:this.writeInt32(t,r);break;case i.FIXED64:this.writeFixed64(t,r);break;case i.FIXED32:this.writeFixed32(t,r);break;case i.BOOL:this.writeBool(t,r);break;case i.STRING:this.writeString(t,r);break;case i.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case i.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case i.BYTES:this.writeBytes(t,r);break;case i.UINT32:this.writeUint32(t,r);break;case i.ENUM:this.writeEnum(t,r);break;case i.SFIXED32:this.writeSfixed32(t,r);break;case i.SFIXED64:this.writeSfixed64(t,r);break;case i.SINT32:this.writeSint32(t,r);break;case i.SINT64:this.writeSint64(t,r);break;case i.FHASH64:this.writeFixedHash64(t,r);break;case i.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 i=this.encoder_;jspb.utils.toZigzag64(t,r,function(s,g){i.writeSplitVarint64(s>>>0,g>>>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,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitFixed64(o,r(t[s]),i(t[s]))};jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,t,r,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitVarint64(o,r(t[s]),i(t[s]))};jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,t,r,i){if(t!=null)for(var s=0;s<t.length;s++)this.writeSplitZigzagVarint64(o,r(t[s]),i(t[s]))};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 i=0;i<t.length;i++){var s=this.beginDelimited_(o);r(t[i],this),this.endDelimited_(s)}};jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,t,r){if(t!=null)for(var i=0;i<t.length;i++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(t[i],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,i){if(t!=null){o=this.beginDelimited_(o);for(var s=0;s<t.length;s++)this.encoder_.writeSplitFixed64(r(t[s]),i(t[s]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,t,r,i){if(t!=null){o=this.beginDelimited_(o);for(var s=0;s<t.length;s++)this.encoder_.writeSplitVarint64(r(t[s]),i(t[s]));this.endDelimited_(o)}};jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,t,r,i){if(t!=null){o=this.beginDelimited_(o);for(var s=this.encoder_,g=0;g<t.length;g++)jspb.utils.toZigzag64(r(t[g]),i(t[g]),function(l,h){s.writeSplitVarint64(l>>>0,h>>>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 i=jspb.arith.Int64.fromString(t[r]);this.encoder_.writeSplitVarint64(i.lo,i.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 i=jspb.arith.UInt64.fromString(t[r]);this.encoder_.writeSplitVarint64(i.lo,i.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 i=this.map_[o[t]];(r=i.valueWrapper)&&r.toArray(),this.arr_.push([i.key,i.value])}this.arrClean=!0}return this.arr_};jspb.Map.prototype.toObject=function(o,t){for(var r=this.toArray(),i=[],s=0;s<r.length;s++){var g=this.map_[r[s][0].toString()];this.wrapEntry_(g);var l=g.valueWrapper;l?(goog.asserts.assert(t),i.push([g.key,t(o,l)])):i.push([g.key,g.value])}return i};jspb.Map.fromObject=function(o,t,r){t=new jspb.Map([],t);for(var i=0;i<o.length;i++){var s=o[i][0],g=r(o[i][1]);t.set(s,g)}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 i=this.map_[t[r]];o.push([i.key,i.value])}return o};jspb.Map.prototype.entries=function(){var o=[],t=this.stringKeys_();t.sort();for(var r=0;r<t.length;r++){var i=this.map_[t[r]];o.push([i.key,this.wrapEntry_(i)])}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 i=0;i<r.length;i++){var s=this.map_[r[i]];o.call(t,this.wrapEntry_(s),s.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,i,s){var g=this.stringKeys_();g.sort();for(var l=0;l<g.length;l++){var h=this.map_[g[l]];t.beginSubMessage(o),r.call(t,1,h.key),this.valueCtor_?i.call(t,2,this.wrapEntry_(h),s):i.call(t,2,h.value),t.endSubMessage()}};jspb.Map.deserializeBinary=function(o,t,r,i,s,g,l){for(;t.nextField()&&!t.isEndGroup();){var h=t.getFieldNumber();h==1?g=r.call(t):h==2&&(o.valueCtor_?(goog.asserts.assert(s),l||(l=new o.valueCtor_),i.call(t,l,s)):l=i.call(t))}goog.asserts.assert(g!=null),goog.asserts.assert(l!=null),o.set(g,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,i,s){this.fieldIndex=o,this.fieldName=t,this.ctor=r,this.toObjectFn=i,this.isRepeated=s};jspb.ExtensionFieldBinaryInfo=function(o,t,r,i,s,g){this.fieldInfo=o,this.binaryReaderFn=t,this.binaryWriterFn=r,this.binaryMessageSerializeFn=i,this.binaryMessageDeserializeFn=s,this.isPacked=g};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,i,s,g){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,i),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=s),s)for(t=0;t<s.length;t++)r=s[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(g&&g.length)for(t=0;t<g.length;t++)jspb.Message.computeOneofCase(o,g[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,i=-1;if(r&&(i=r-1,r=o.array[i],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,i),o.extensionObject_=r;return}-1<t?(o.pivot_=Math.max(t,jspb.Message.getFieldNumber_(o,i+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 i=[],s=0;s<o.length;s++)i[s]=t.call(o[s],r,o[s]);return i};jspb.Message.toObjectExtension=function(o,t,r,i,s){for(var g in r){var l=r[g],h=i.call(o,l);if(h!=null){for(var m in l.fieldName)if(l.fieldName.hasOwnProperty(m))break;t[m]=l.toObjectFn?l.isRepeated?jspb.Message.toObjectList(h,l.toObjectFn,s):l.toObjectFn(s,h):h}}};jspb.Message.serializeBinaryExtensions=function(o,t,r,i){for(var s in r){var g=r[s],l=g.fieldInfo;if(!g.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var h=i.call(o,l);if(h!=null)if(l.isMessageType())if(g.binaryMessageSerializeFn)g.binaryWriterFn.call(t,l.fieldIndex,h,g.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else g.binaryWriterFn.call(t,l.fieldIndex,h)}};jspb.Message.readBinaryExtension=function(o,t,r,i,s){var g=r[t.getFieldNumber()];if(g){if(r=g.fieldInfo,!g.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var l=new r.ctor;g.binaryReaderFn.call(t,l,g.binaryMessageDeserializeFn)}else l=g.binaryReaderFn.call(t);r.isRepeated&&!g.isPacked?(t=i.call(o,r))?t.push(l):s.call(o,r,[l]):s.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 i=0;i<r.length;i++)r[i]=+r[i];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 i=0;i<r.length;i++)r[i]=!!r[i];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,i){if(o.wrappers_||(o.wrappers_={}),t in o.wrappers_)return o.wrappers_[t];var s=jspb.Message.getField(o,t);if(!s){if(r)return;s=[],jspb.Message.setField(o,t,s)}return o.wrappers_[t]=new jspb.Map(s,i)};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,i){return goog.asserts.assertInstanceof(o,jspb.Message),r!==i?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,i){return goog.asserts.assertInstanceof(o,jspb.Message),t=jspb.Message.getRepeatedField(o,t),i!=null?t.splice(i,0,r):t.push(r),o};jspb.Message.setOneofField=function(o,t,r,i){return goog.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==t&&i!==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,i)};jspb.Message.computeOneofCase=function(o,t){for(var r,i,s=0;s<t.length;s++){var g=t[s],l=jspb.Message.getField(o,g);l!=null&&(r=g,i=l,jspb.Message.setField(o,g,void 0))}return r?(jspb.Message.setField(o,r,i),r):0};jspb.Message.getWrapperField=function(o,t,r,i){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var s=jspb.Message.getField(o,r);(i||s)&&(o.wrappers_[r]=new t(s))}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 i=jspb.Message.getRepeatedField(o,r),s=[],g=0;g<i.length;g++)s[g]=new t(i[g]);o.wrappers_[r]=s}};jspb.Message.setWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var i=r&&r.toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,i)};jspb.Message.setOneofWrapperField=function(o,t,r,i){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=i&&i.toArray();return o.wrappers_[t]=i,jspb.Message.setOneofField(o,t,r,s)};jspb.Message.setRepeatedWrapperField=function(o,t,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var i=[],s=0;s<r.length;s++)i[s]=r[s].toArray();return o.wrappers_[t]=r,jspb.Message.setField(o,t,i)};jspb.Message.addToRepeatedWrapperField=function(o,t,r,i,s){jspb.Message.wrapRepeatedField_(o,i,t);var g=o.wrappers_[t];return g||(g=o.wrappers_[t]=[]),r=r||new i,o=jspb.Message.getRepeatedField(o,t),s!=null?(g.splice(s,0,r),o.splice(s,0,r.toArray())):(g.push(r),o.push(r.toArray())),r};jspb.Message.toMap=function(o,t,r,i){for(var s={},g=0;g<o.length;g++)s[t.call(o[g])]=r?r.call(o[g],i,o[g]):o[g];return s};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(i){return i.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 i=[],s=0,g=r.length>t.length?r.length:t.length;for(o.getJsPbMessageId()&&(i[0]=o.getJsPbMessageId(),s=1);s<g;s++)jspb.Message.compareFields(r[s],t[s])||(i[s]=t[s]);return new o.constructor(i)};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={},i;for(i in o)r[i]=0;for(i in t)r[i]=0;for(i in r)if(!jspb.Message.compareFields(o[i],t[i]))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 i=void 0,s=void 0,g=Math.max(o.length,t.length);for(r=0;r<g;r++){var l=o[r],h=t[r];if(l&&l.constructor==Object&&(goog.asserts.assert(i===void 0),goog.asserts.assert(r===o.length-1),i=l,l=void 0),h&&h.constructor==Object&&(goog.asserts.assert(s===void 0),goog.asserts.assert(r===t.length-1),s=h,h=void 0),!jspb.Message.compareFields(l,h))return!1}return i||s?(i=i||{},s=s||{},jspb.Message.compareExtensions(i,s)):!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(),i=o.toArray(),s=r.length=0;s<i.length;s++)r[s]=i[s];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 i=o[r];i!=null&&(t[r]=typeof i=="object"?jspb.Message.clone_(goog.asserts.assert(i)):i)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);t={};for(r in o)i=o[r],i!=null&&(t[r]=typeof i=="object"?jspb.Message.clone_(goog.asserts.assert(i)):i);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 P=D(C=>{var n=I(),y=n,E=function(){return this||window||E||self||Function("return this")()}.call(null);y.exportSymbol("proto.google.protobuf.DescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,E);y.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,E);y.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,E);y.exportSymbol("proto.google.protobuf.EnumOptions",null,E);y.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.EnumValueOptions",null,E);y.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,E);y.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,E);y.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,E);y.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,E);y.exportSymbol("proto.google.protobuf.FileOptions",null,E);y.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,E);y.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,E);y.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,E);y.exportSymbol("proto.google.protobuf.MessageOptions",null,E);y.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.MethodOptions",null,E);y.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,E);y.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.OneofOptions",null,E);y.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,E);y.exportSymbol("proto.google.protobuf.ServiceOptions",null,E);y.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,E);y.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,E);y.exportSymbol("proto.google.protobuf.UninterpretedOption",null,E);y.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,E);proto.google.protobuf.FileDescriptorSet=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileDescriptorSet,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet");proto.google.protobuf.FileDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto");proto.google.protobuf.DescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.DescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto");proto.google.protobuf.DescriptorProto.ExtensionRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange");proto.google.protobuf.DescriptorProto.ReservedRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange");proto.google.protobuf.ExtensionRangeOptions=function(o){n.Message.initialize(this,o,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.ExtensionRangeOptions,n.Message);y.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){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.FieldDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto");proto.google.protobuf.OneofDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.OneofDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto");proto.google.protobuf.EnumDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto");proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange");proto.google.protobuf.EnumValueDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.EnumValueDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto");proto.google.protobuf.ServiceDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)};y.inherits(proto.google.protobuf.ServiceDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto");proto.google.protobuf.MethodDescriptorProto=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.MethodDescriptorProto,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto");proto.google.protobuf.FileOptions=function(o){n.Message.initialize(this,o,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.FileOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.MessageOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.FieldOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.OneofOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.EnumValueOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.ServiceOptions,n.Message);y.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){n.Message.initialize(this,o,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)};y.inherits(proto.google.protobuf.MethodOptions,n.Message);y.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){n.Message.initialize(this,o,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)};y.inherits(proto.google.protobuf.UninterpretedOption,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption");proto.google.protobuf.UninterpretedOption.NamePart=function(o){n.Message.initialize(this,o,0,-1,null,null)};y.inherits(proto.google.protobuf.UninterpretedOption.NamePart,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart");proto.google.protobuf.SourceCodeInfo=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)};y.inherits(proto.google.protobuf.SourceCodeInfo,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo");proto.google.protobuf.SourceCodeInfo.Location=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)};y.inherits(proto.google.protobuf.SourceCodeInfo.Location,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location");proto.google.protobuf.GeneratedCodeInfo=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)};y.inherits(proto.google.protobuf.GeneratedCodeInfo,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo");proto.google.protobuf.GeneratedCodeInfo.Annotation=function(o){n.Message.initialize(this,o,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)};y.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,n.Message);y.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation");proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1];n.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,i={fileList:n.Message.toObjectList(t.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.FileDescriptorProto;t.readMessage(i,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),o.addFile(i);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var o=new n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)};proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(o,t){return n.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];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,pb_package:(r=n.Message.getField(t,2))==null?void 0:r,dependencyList:(r=n.Message.getRepeatedField(t,3))==null?void 0:r,publicDependencyList:(r=n.Message.getRepeatedField(t,10))==null?void 0:r,weakDependencyList:(r=n.Message.getRepeatedField(t,11))==null?void 0:r,messageTypeList:n.Message.toObjectList(t.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:n.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),serviceList:n.Message.toObjectList(t.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,o),extensionList:n.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=n.Message.getField(t,12))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(o){var t=new n.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 g=t.readString();o.setName(g);break;case 2:var g=t.readString();o.setPackage(g);break;case 3:var g=t.readString();o.addDependency(g);break;case 10:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addPublicDependency(s[i]);break;case 11:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addWeakDependency(s[i]);break;case 4:var g=new proto.google.protobuf.DescriptorProto;t.readMessage(g,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addMessageType(g);break;case 5:var g=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(g,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(g);break;case 6:var g=new proto.google.protobuf.ServiceDescriptorProto;t.readMessage(g,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),o.addService(g);break;case 7:var g=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(g,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(g);break;case 8:var g=new proto.google.protobuf.FileOptions;t.readMessage(g,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),o.setOptions(g);break;case 9:var g=new proto.google.protobuf.SourceCodeInfo;t.readMessage(g,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),o.setSourceCodeInfo(g);break;case 12:var g=t.readString();o.setSyntax(g);break;default:t.skipField();break}}return o};proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.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=n.Message.getField(o,12),r!=null&&t.writeString(12,r)};proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return n.Message.getRepeatedField(this,3)};proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(o){return n.Message.setField(this,3,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(o,t){return n.Message.addToRepeatedField(this,3,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return n.Message.getRepeatedField(this,10)};proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(o){return n.Message.setField(this,10,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(o,t){return n.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return n.Message.getRepeatedField(this,11)};proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(o){return n.Message.setField(this,11,o||[])};proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(o,t){return n.Message.addToRepeatedField(this,11,o,t)};proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])};proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)};proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)};proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(o){return n.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)};proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(o){return n.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.FileDescriptorProto.prototype.addService=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)};proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(o){return n.Message.setRepeatedWrapperField(this,7,o)};proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)};proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,8)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return n.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)};proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(o){return n.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 n.Message.getField(this,9)!=null};proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return n.Message.getFieldWithDefault(this,12,"")};proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(o){return n.Message.setField(this,12,o)};proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return n.Message.setField(this,12,void 0)};proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return n.Message.getField(this,12)!=null};proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,fieldList:n.Message.toObjectList(t.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),extensionList:n.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,o),nestedTypeList:n.Message.toObjectList(t.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,o),enumTypeList:n.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,o),extensionRangeList:n.Message.toObjectList(t.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,o),oneofDeclList:n.Message.toObjectList(t.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.MessageOptions.toObject(o,r),reservedRangeList:n.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,o),reservedNameList:(r=n.Message.getRepeatedField(t,10))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(i,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addField(i);break;case 6:var i=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(i,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),o.addExtension$(i);break;case 3:var i=new proto.google.protobuf.DescriptorProto;t.readMessage(i,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),o.addNestedType(i);break;case 4:var i=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(i,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),o.addEnumType(i);break;case 5:var i=new proto.google.protobuf.DescriptorProto.ExtensionRange;t.readMessage(i,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),o.addExtensionRange(i);break;case 8:var i=new proto.google.protobuf.OneofDescriptorProto;t.readMessage(i,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),o.addOneofDecl(i);break;case 7:var i=new proto.google.protobuf.MessageOptions;t.readMessage(i,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 9:var i=new proto.google.protobuf.DescriptorProto.ReservedRange;t.readMessage(i,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),o.addReservedRange(i);break;case 10:var i=t.readString();o.addReservedName(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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)};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;case 3:var i=new proto.google.protobuf.ExtensionRangeOptions;t.readMessage(i,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.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 n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)};proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;default:t.skipField();break}}return o};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.DescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.DescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)};proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.DescriptorProto.prototype.addField=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)};proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(o){return n.Message.setRepeatedWrapperField(this,6,o)};proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)};proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(o){return n.Message.setRepeatedWrapperField(this,3,o)};proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)};proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)};proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(o){return n.Message.setRepeatedWrapperField(this,5,o)};proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)};proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(o){return n.Message.setRepeatedWrapperField(this,8,o)};proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)};proto.google.protobuf.DescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,7)!=null};proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)};proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(o){return n.Message.setRepeatedWrapperField(this,9,o)};proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(o,t){return n.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 n.Message.getRepeatedField(this,10)};proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(o){return n.Message.setField(this,10,o||[])};proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(o,t){return n.Message.addToRepeatedField(this,10,o,t)};proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999];n.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,i={uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)};proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(o,t){return n.Message.addToRepeatedWrapperField(this,999,o,proto.google.protobuf.UninterpretedOption,t)};proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,number:(r=n.Message.getField(t,3))==null?void 0:r,label:(r=n.Message.getField(t,4))==null?void 0:r,type:(r=n.Message.getField(t,5))==null?void 0:r,typeName:(r=n.Message.getField(t,6))==null?void 0:r,extendee:(r=n.Message.getField(t,2))==null?void 0:r,defaultValue:(r=n.Message.getField(t,7))==null?void 0:r,oneofIndex:(r=n.Message.getField(t,9))==null?void 0:r,jsonName:(r=n.Message.getField(t,10))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.FieldOptions.toObject(o,r),proto3Optional:(r=n.Message.getBooleanField(t,17))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 3:var i=t.readInt32();o.setNumber(i);break;case 4:var i=t.readEnum();o.setLabel(i);break;case 5:var i=t.readEnum();o.setType(i);break;case 6:var i=t.readString();o.setTypeName(i);break;case 2:var i=t.readString();o.setExtendee(i);break;case 7:var i=t.readString();o.setDefaultValue(i);break;case 9:var i=t.readInt32();o.setOneofIndex(i);break;case 10:var i=t.readString();o.setJsonName(i);break;case 8:var i=new proto.google.protobuf.FieldOptions;t.readMessage(i,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 17:var i=t.readBool();o.setProto3Optional(i);break;default:t.skipField();break}}return o};proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=n.Message.getField(o,4),r!=null&&t.writeEnum(4,r),r=n.Message.getField(o,5),r!=null&&t.writeEnum(5,r),r=n.Message.getField(o,6),r!=null&&t.writeString(6,r),r=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.Message.getField(o,7),r!=null&&t.writeString(7,r),r=n.Message.getField(o,9),r!=null&&t.writeInt32(9,r),r=n.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=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return n.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,4,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return n.Message.getFieldWithDefault(this,5,1)};proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return n.Message.getFieldWithDefault(this,6,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return n.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return n.Message.getFieldWithDefault(this,9,0)};proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(o){return n.Message.setField(this,9,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return n.Message.setField(this,9,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return n.Message.getField(this,9)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return n.Message.getFieldWithDefault(this,10,"")};proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)};proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,8)!=null};proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return n.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(o){return n.Message.setField(this,17,o)};proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return n.Message.setField(this,17,void 0)};proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return n.Message.getField(this,17)!=null};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.OneofOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.OneofOptions;t.readMessage(i,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)};proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,valueList:n.Message.toObjectList(t.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.EnumOptions.toObject(o,r),reservedRangeList:n.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,o),reservedNameList:(r=n.Message.getRepeatedField(t,5))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.EnumValueDescriptorProto;t.readMessage(i,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),o.addValue(i);break;case 3:var i=new proto.google.protobuf.EnumOptions;t.readMessage(i,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 4:var i=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;t.readMessage(i,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),o.addReservedRange(i);break;case 5:var i=t.readString();o.addReservedName(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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)};n.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,i={start:(r=n.Message.getField(t,1))==null?void 0:r,end:(r=n.Message.getField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(o){var t=new n.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 i=t.readInt32();o.setStart(i);break;case 2:var i=t.readInt32();o.setEnd(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeInt32(1,r),r=n.Message.getField(o,2),r!=null&&t.writeInt32(2,r)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)};proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)};proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(o){return n.Message.setRepeatedWrapperField(this,4,o)};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(o,t){return n.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 n.Message.getRepeatedField(this,5)};proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(o){return n.Message.setField(this,5,o||[])};proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(o,t){return n.Message.addToRepeatedField(this,5,o,t)};proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,number:(r=n.Message.getField(t,2))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=t.readInt32();o.setNumber(i);break;case 3:var i=new proto.google.protobuf.EnumValueOptions;t.readMessage(i,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return n.Message.getFieldWithDefault(this,2,0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)};proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2];n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,methodList:n.Message.toObjectList(t.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,o),options:(r=t.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=new proto.google.protobuf.MethodDescriptorProto;t.readMessage(i,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),o.addMethod(i);break;case 3:var i=new proto.google.protobuf.ServiceOptions;t.readMessage(i,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),o.setOptions(i);break;default:t.skipField();break}}return o};proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)};proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(o,t){return n.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 n.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)};proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,3)!=null};n.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,i={name:(r=n.Message.getField(t,1))==null?void 0:r,inputType:(r=n.Message.getField(t,2))==null?void 0:r,outputType:(r=n.Message.getField(t,3))==null?void 0:r,options:(r=t.getOptions())&&proto.google.protobuf.MethodOptions.toObject(o,r),clientStreaming:n.Message.getBooleanFieldWithDefault(t,5,!1),serverStreaming:n.Message.getBooleanFieldWithDefault(t,6,!1)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setName(i);break;case 2:var i=t.readString();o.setInputType(i);break;case 3:var i=t.readString();o.setOutputType(i);break;case 4:var i=new proto.google.protobuf.MethodOptions;t.readMessage(i,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),o.setOptions(i);break;case 5:var i=t.readBool();o.setClientStreaming(i);break;case 6:var i=t.readBool();o.setServerStreaming(i);break;default:t.skipField();break}}return o};proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var o=new n.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.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=n.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=n.Message.getField(o,6),r!=null&&t.writeBool(6,r)};proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return n.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)};proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(o){return n.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 n.Message.getField(this,4)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return n.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return n.Message.getBooleanFieldWithDefault(this,6,!1)};proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FileOptions.repeatedFields_=[999];n.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,i={javaPackage:(r=n.Message.getField(t,1))==null?void 0:r,javaOuterClassname:(r=n.Message.getField(t,8))==null?void 0:r,javaMultipleFiles:n.Message.getBooleanFieldWithDefault(t,10,!1),javaGenerateEqualsAndHash:(r=n.Message.getBooleanField(t,20))==null?void 0:r,javaStringCheckUtf8:n.Message.getBooleanFieldWithDefault(t,27,!1),optimizeFor:n.Message.getFieldWithDefault(t,9,1),goPackage:(r=n.Message.getField(t,11))==null?void 0:r,ccGenericServices:n.Message.getBooleanFieldWithDefault(t,16,!1),javaGenericServices:n.Message.getBooleanFieldWithDefault(t,17,!1),pyGenericServices:n.Message.getBooleanFieldWithDefault(t,18,!1),phpGenericServices:n.Message.getBooleanFieldWithDefault(t,42,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,23,!1),ccEnableArenas:n.Message.getBooleanFieldWithDefault(t,31,!0),objcClassPrefix:(r=n.Message.getField(t,36))==null?void 0:r,csharpNamespace:(r=n.Message.getField(t,37))==null?void 0:r,swiftPrefix:(r=n.Message.getField(t,39))==null?void 0:r,phpClassPrefix:(r=n.Message.getField(t,40))==null?void 0:r,phpNamespace:(r=n.Message.getField(t,41))==null?void 0:r,phpMetadataNamespace:(r=n.Message.getField(t,44))==null?void 0:r,rubyPackage:(r=n.Message.getField(t,45))==null?void 0:r,uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FileOptions.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setJavaPackage(i);break;case 8:var i=t.readString();o.setJavaOuterClassname(i);break;case 10:var i=t.readBool();o.setJavaMultipleFiles(i);break;case 20:var i=t.readBool();o.setJavaGenerateEqualsAndHash(i);break;case 27:var i=t.readBool();o.setJavaStringCheckUtf8(i);break;case 9:var i=t.readEnum();o.setOptimizeFor(i);break;case 11:var i=t.readString();o.setGoPackage(i);break;case 16:var i=t.readBool();o.setCcGenericServices(i);break;case 17:var i=t.readBool();o.setJavaGenericServices(i);break;case 18:var i=t.readBool();o.setPyGenericServices(i);break;case 42:var i=t.readBool();o.setPhpGenericServices(i);break;case 23:var i=t.readBool();o.setDeprecated(i);break;case 31:var i=t.readBool();o.setCcEnableArenas(i);break;case 36:var i=t.readString();o.setObjcClassPrefix(i);break;case 37:var i=t.readString();o.setCsharpNamespace(i);break;case 39:var i=t.readString();o.setSwiftPrefix(i);break;case 40:var i=t.readString();o.setPhpClassPrefix(i);break;case 41:var i=t.readString();o.setPhpNamespace(i);break;case 44:var i=t.readString();o.setPhpMetadataNamespace(i);break;case 45:var i=t.readString();o.setRubyPackage(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,8),r!=null&&t.writeString(8,r),r=n.Message.getField(o,10),r!=null&&t.writeBool(10,r),r=n.Message.getField(o,20),r!=null&&t.writeBool(20,r),r=n.Message.getField(o,27),r!=null&&t.writeBool(27,r),r=n.Message.getField(o,9),r!=null&&t.writeEnum(9,r),r=n.Message.getField(o,11),r!=null&&t.writeString(11,r),r=n.Message.getField(o,16),r!=null&&t.writeBool(16,r),r=n.Message.getField(o,17),r!=null&&t.writeBool(17,r),r=n.Message.getField(o,18),r!=null&&t.writeBool(18,r),r=n.Message.getField(o,42),r!=null&&t.writeBool(42,r),r=n.Message.getField(o,23),r!=null&&t.writeBool(23,r),r=n.Message.getField(o,31),r!=null&&t.writeBool(31,r),r=n.Message.getField(o,36),r!=null&&t.writeString(36,r),r=n.Message.getField(o,37),r!=null&&t.writeString(37,r),r=n.Message.getField(o,39),r!=null&&t.writeString(39,r),r=n.Message.getField(o,40),r!=null&&t.writeString(40,r),r=n.Message.getField(o,41),r!=null&&t.writeString(41,r),r=n.Message.getField(o,44),r!=null&&t.writeString(44,r),r=n.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),n.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 n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return n.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(o){return n.Message.setField(this,8,o)};proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return n.Message.setField(this,8,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return n.Message.getField(this,8)!=null};proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return n.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return n.Message.getBooleanFieldWithDefault(this,20,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(o){return n.Message.setField(this,20,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return n.Message.setField(this,20,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return n.Message.getField(this,20)!=null};proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return n.Message.getBooleanFieldWithDefault(this,27,!1)};proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(o){return n.Message.setField(this,27,o)};proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return n.Message.setField(this,27,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return n.Message.getField(this,27)!=null};proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return n.Message.getFieldWithDefault(this,9,1)};proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(o){return n.Message.setField(this,9,o)};proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return n.Message.setField(this,9,void 0)};proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return n.Message.getField(this,9)!=null};proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return n.Message.getFieldWithDefault(this,11,"")};proto.google.protobuf.FileOptions.prototype.setGoPackage=function(o){return n.Message.setField(this,11,o)};proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return n.Message.setField(this,11,void 0)};proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return n.Message.getField(this,11)!=null};proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,16,!1)};proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(o){return n.Message.setField(this,16,o)};proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return n.Message.setField(this,16,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return n.Message.getField(this,16)!=null};proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,17,!1)};proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(o){return n.Message.setField(this,17,o)};proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return n.Message.setField(this,17,void 0)};proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return n.Message.getField(this,17)!=null};proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,18,!1)};proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(o){return n.Message.setField(this,18,o)};proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return n.Message.setField(this,18,void 0)};proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return n.Message.getField(this,18)!=null};proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return n.Message.getBooleanFieldWithDefault(this,42,!1)};proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(o){return n.Message.setField(this,42,o)};proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return n.Message.setField(this,42,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return n.Message.getField(this,42)!=null};proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,23,!1)};proto.google.protobuf.FileOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,23,o)};proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,23,void 0)};proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,23)!=null};proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return n.Message.getBooleanFieldWithDefault(this,31,!0)};proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(o){return n.Message.setField(this,31,o)};proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return n.Message.setField(this,31,void 0)};proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return n.Message.getField(this,31)!=null};proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return n.Message.getFieldWithDefault(this,36,"")};proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(o){return n.Message.setField(this,36,o)};proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return n.Message.setField(this,36,void 0)};proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return n.Message.getField(this,36)!=null};proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return n.Message.getFieldWithDefault(this,37,"")};proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(o){return n.Message.setField(this,37,o)};proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return n.Message.setField(this,37,void 0)};proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return n.Message.getField(this,37)!=null};proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return n.Message.getFieldWithDefault(this,39,"")};proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(o){return n.Message.setField(this,39,o)};proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return n.Message.setField(this,39,void 0)};proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return n.Message.getField(this,39)!=null};proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return n.Message.getFieldWithDefault(this,40,"")};proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(o){return n.Message.setField(this,40,o)};proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return n.Message.setField(this,40,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return n.Message.getField(this,40)!=null};proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return n.Message.getFieldWithDefault(this,41,"")};proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(o){return n.Message.setField(this,41,o)};proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return n.Message.setField(this,41,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return n.Message.getField(this,41)!=null};proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return n.Message.getFieldWithDefault(this,44,"")};proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(o){return n.Message.setField(this,44,o)};proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return n.Message.setField(this,44,void 0)};proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return n.Message.getField(this,44)!=null};proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return n.Message.getFieldWithDefault(this,45,"")};proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(o){return n.Message.setField(this,45,o)};proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return n.Message.setField(this,45,void 0)};proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return n.Message.getField(this,45)!=null};proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={messageSetWireFormat:n.Message.getBooleanFieldWithDefault(t,1,!1),noStandardDescriptorAccessor:n.Message.getBooleanFieldWithDefault(t,2,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),mapEntry:(r=n.Message.getBooleanField(t,7))==null?void 0:r,uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MessageOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setMessageSetWireFormat(i);break;case 2:var i=t.readBool();o.setNoStandardDescriptorAccessor(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 7:var i=t.readBool();o.setMapEntry(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeBool(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)};proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return n.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return n.Message.getBooleanFieldWithDefault(this,7,!1)};proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={ctype:n.Message.getFieldWithDefault(t,1,0),packed:(r=n.Message.getBooleanField(t,2))==null?void 0:r,jstype:n.Message.getFieldWithDefault(t,6,0),lazy:n.Message.getBooleanFieldWithDefault(t,5,!1),unverifiedLazy:n.Message.getBooleanFieldWithDefault(t,15,!1),deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),weak:n.Message.getBooleanFieldWithDefault(t,10,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.FieldOptions.deserializeBinary=function(o){var t=new n.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 i=t.readEnum();o.setCtype(i);break;case 2:var i=t.readBool();o.setPacked(i);break;case 6:var i=t.readEnum();o.setJstype(i);break;case 5:var i=t.readBool();o.setLazy(i);break;case 15:var i=t.readBool();o.setUnverifiedLazy(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 10:var i=t.readBool();o.setWeak(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,1),r!=null&&t.writeEnum(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.Message.getField(o,6),r!=null&&t.writeEnum(6,r),r=n.Message.getField(o,5),r!=null&&t.writeBool(5,r),r=n.Message.getField(o,15),r!=null&&t.writeBool(15,r),r=n.Message.getField(o,3),r!=null&&t.writeBool(3,r),r=n.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),n.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 n.Message.getFieldWithDefault(this,1,0)};proto.google.protobuf.FieldOptions.prototype.setCtype=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.FieldOptions.prototype.setPacked=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return n.Message.getFieldWithDefault(this,6,0)};proto.google.protobuf.FieldOptions.prototype.setJstype=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return n.Message.getBooleanFieldWithDefault(this,5,!1)};proto.google.protobuf.FieldOptions.prototype.setLazy=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return n.Message.getBooleanFieldWithDefault(this,15,!1)};proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(o){return n.Message.setField(this,15,o)};proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return n.Message.setField(this,15,void 0)};proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return n.Message.getField(this,15)!=null};proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return n.Message.getBooleanFieldWithDefault(this,10,!1)};proto.google.protobuf.FieldOptions.prototype.setWeak=function(o){return n.Message.setField(this,10,o)};proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return n.Message.setField(this,10,void 0)};proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return n.Message.getField(this,10)!=null};proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.OneofOptions.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)};proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={allowAlias:(r=n.Message.getBooleanField(t,2))==null?void 0:r,deprecated:n.Message.getBooleanFieldWithDefault(t,3,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setAllowAlias(i);break;case 3:var i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r),r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)};proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,3,!1)};proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,1,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.EnumValueOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)};proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,1,!1)};proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,33,!1),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.ServiceOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.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),n.Message.serializeBinaryExtensions(o,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)};proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return n.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,33,o)};proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,33,void 0)};proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,33)!=null};proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={deprecated:n.Message.getBooleanFieldWithDefault(t,33,!1),idempotencyLevel:n.Message.getFieldWithDefault(t,34,0),uninterpretedOptionList:n.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,o)};return n.Message.toObjectExtension(t,i,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,o),o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.MethodOptions.deserializeBinary=function(o){var t=new n.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 i=t.readBool();o.setDeprecated(i);break;case 34:var i=t.readEnum();o.setIdempotencyLevel(i);break;case 999:var i=new proto.google.protobuf.UninterpretedOption;t.readMessage(i,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),o.addUninterpretedOption(i);break;default:n.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 n.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,o),o.getResultBuffer()};proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(o,t){var r=void 0;r=n.Message.getField(o,33),r!=null&&t.writeBool(33,r),r=n.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),n.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 n.Message.getBooleanFieldWithDefault(this,33,!1)};proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(o){return n.Message.setField(this,33,o)};proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return n.Message.setField(this,33,void 0)};proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return n.Message.getField(this,33)!=null};proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return n.Message.getFieldWithDefault(this,34,0)};proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(o){return n.Message.setField(this,34,o)};proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return n.Message.setField(this,34,void 0)};proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return n.Message.getField(this,34)!=null};proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)};proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(o){return n.Message.setRepeatedWrapperField(this,999,o)};proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(o,t){return n.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];n.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,i={nameList:n.Message.toObjectList(t.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,o),identifierValue:(r=n.Message.getField(t,3))==null?void 0:r,positiveIntValue:(r=n.Message.getField(t,4))==null?void 0:r,negativeIntValue:(r=n.Message.getField(t,5))==null?void 0:r,doubleValue:(r=n.Message.getOptionalFloatingPointField(t,6))==null?void 0:r,stringValue:t.getStringValue_asB64(),aggregateValue:(r=n.Message.getField(t,8))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.UninterpretedOption.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.UninterpretedOption.NamePart;t.readMessage(i,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),o.addName(i);break;case 3:var i=t.readString();o.setIdentifierValue(i);break;case 4:var i=t.readUint64();o.setPositiveIntValue(i);break;case 5:var i=t.readInt64();o.setNegativeIntValue(i);break;case 6:var i=t.readDouble();o.setDoubleValue(i);break;case 7:var i=t.readBytes();o.setStringValue(i);break;case 8:var i=t.readString();o.setAggregateValue(i);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,3),r!=null&&t.writeString(3,r),r=n.Message.getField(o,4),r!=null&&t.writeUint64(4,r),r=n.Message.getField(o,5),r!=null&&t.writeInt64(5,r),r=n.Message.getField(o,6),r!=null&&t.writeDouble(6,r),r=n.Message.getField(o,7),r!=null&&t.writeBytes(7,r),r=n.Message.getField(o,8),r!=null&&t.writeString(8,r)};n.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,i={namePart:(r=n.Message.getField(t,1))==null?void 0:r,isExtension:(r=n.Message.getBooleanField(t,2))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(o){var t=new n.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 i=t.readString();o.setNamePart(i);break;case 2:var i=t.readBool();o.setIsExtension(i);break;default:t.skipField();break}}return o};proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,1),r!=null&&t.writeString(1,r),r=n.Message.getField(o,2),r!=null&&t.writeBool(2,r)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return n.Message.getFieldWithDefault(this,1,"")};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(o){return n.Message.setField(this,1,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return n.Message.setField(this,1,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return n.Message.getField(this,1)!=null};proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return n.Message.getBooleanFieldWithDefault(this,2,!1)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)};proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(o){return n.Message.setRepeatedWrapperField(this,2,o)};proto.google.protobuf.UninterpretedOption.prototype.addName=function(o,t){return n.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 n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return n.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return n.Message.getFieldWithDefault(this,5,0)};proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(o){return n.Message.setField(this,5,o)};proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return n.Message.setField(this,5,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return n.Message.getField(this,5)!=null};proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return n.Message.getFloatingPointFieldWithDefault(this,6,0)};proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(o){return n.Message.setField(this,6,o)};proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return n.Message.setField(this,6,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return n.Message.getField(this,6)!=null};proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return n.Message.getFieldWithDefault(this,7,"")};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return n.Message.bytesAsB64(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return n.Message.bytesAsU8(this.getStringValue())};proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(o){return n.Message.setField(this,7,o)};proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return n.Message.setField(this,7,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return n.Message.getField(this,7)!=null};proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return n.Message.getFieldWithDefault(this,8,"")};proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(o){return n.Message.setField(this,8,o)};proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return n.Message.setField(this,8,void 0)};proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return n.Message.getField(this,8)!=null};proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1];n.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,i={locationList:n.Message.toObjectList(t.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.SourceCodeInfo.Location;t.readMessage(i,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),o.addLocation(i);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var o=new n.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];n.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,i={pathList:(r=n.Message.getRepeatedField(t,1))==null?void 0:r,spanList:(r=n.Message.getRepeatedField(t,2))==null?void 0:r,leadingComments:(r=n.Message.getField(t,3))==null?void 0:r,trailingComments:(r=n.Message.getField(t,4))==null?void 0:r,leadingDetachedCommentsList:(r=n.Message.getRepeatedField(t,6))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(o){var t=new n.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 s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addPath(s[i]);break;case 2:for(var s=t.isDelimited()?t.readPackedInt32():[t.readInt32()],i=0;i<s.length;i++)o.addSpan(s[i]);break;case 3:var g=t.readString();o.setLeadingComments(g);break;case 4:var g=t.readString();o.setTrailingComments(g);break;case 6:var g=t.readString();o.addLeadingDetachedComments(g);break;default:t.skipField();break}}return o};proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,3),r!=null&&t.writeString(3,r),r=n.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 n.Message.getRepeatedField(this,1)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(o){return n.Message.setField(this,1,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(o,t){return n.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 n.Message.getRepeatedField(this,2)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(o){return n.Message.setField(this,2,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(o,t){return n.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 n.Message.getFieldWithDefault(this,3,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return n.Message.getFieldWithDefault(this,4,"")};proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return n.Message.getRepeatedField(this,6)};proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(o){return n.Message.setField(this,6,o||[])};proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(o,t){return n.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 n.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)};proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(o,t){return n.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];n.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,i={annotationList:n.Message.toObjectList(t.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(o){var t=new n.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 i=new proto.google.protobuf.GeneratedCodeInfo.Annotation;t.readMessage(i,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),o.addAnnotation(i);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var o=new n.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];n.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,i={pathList:(r=n.Message.getRepeatedField(t,1))==null?void 0:r,sourceFile:(r=n.Message.getField(t,2))==null?void 0:r,begin:(r=n.Message.getField(t,3))==null?void 0:r,end:(r=n.Message.getField(t,4))==null?void 0:r};return o&&(i.$jspbMessageInstance=t),i});proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(o){var t=new n.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 i=t.isDelimited()?t.readPackedInt32():[t.readInt32()],s=0;s<i.length;s++)o.addPath(i[s]);break;case 2:var g=t.readString();o.setSourceFile(g);break;case 3:var g=t.readInt32();o.setBegin(g);break;case 4:var g=t.readInt32();o.setEnd(g);break;default:t.skipField();break}}return o};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var o=new n.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=n.Message.getField(o,2),r!=null&&t.writeString(2,r),r=n.Message.getField(o,3),r!=null&&t.writeInt32(3,r),r=n.Message.getField(o,4),r!=null&&t.writeInt32(4,r)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return n.Message.getRepeatedField(this,1)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(o){return n.Message.setField(this,1,o||[])};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(o,t){return n.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 n.Message.getFieldWithDefault(this,2,"")};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(o){return n.Message.setField(this,2,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return n.Message.setField(this,2,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return n.Message.getField(this,2)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return n.Message.getFieldWithDefault(this,3,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(o){return n.Message.setField(this,3,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return n.Message.setField(this,3,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return n.Message.getField(this,3)!=null};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return n.Message.getFieldWithDefault(this,4,0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(o){return n.Message.setField(this,4,o)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return n.Message.setField(this,4,void 0)};proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return n.Message.getField(this,4)!=null};proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return n.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)};proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(o){return n.Message.setRepeatedWrapperField(this,1,o)};proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(o,t){return n.Message.addToRepeatedWrapperField(this,1,o,proto.google.protobuf.GeneratedCodeInfo.Annotation,t)};proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])};y.object.extend(C,proto.google.protobuf)});var N=D(j=>{var _=I(),v=_,F=function(){return this?this:typeof window<"u"?window:typeof F<"u"?F:typeof self<"u"?self:Function("return this")()}.call(null),A=P();v.object.extend(proto,A);v.exportSymbol("proto.ic_base_types.pb.v1.CanisterAuthzInfo",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.CanisterId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.MethodAuthzInfo",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.NeuronId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.PrincipalId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.ProposalId",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021",null,F);v.exportSymbol("proto.ic_base_types.pb.v1.tuiSignedMessage",null,F);proto.ic_base_types.pb.v1.PrincipalId=function(o){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.PrincipalId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.CanisterId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.NeuronId,_.Message);v.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){_.Message.initialize(this,o,0,-1,null,null)};v.inherits(proto.ic_base_types.pb.v1.ProposalId,_.Message);v.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){_.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_,null)};v.inherits(proto.ic_base_types.pb.v1.MethodAuthzInfo,_.Message);v.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){_.Message.initialize(this,o,0,-1,proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_,null)};v.inherits(proto.ic_base_types.pb.v1.CanisterAuthzInfo,_.Message);v.DEBUG&&!COMPILED&&(proto.ic_base_types.pb.v1.CanisterAuthzInfo.displayName="proto.ic_base_types.pb.v1.CanisterAuthzInfo");_.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,i={serializedId:t.getSerializedId_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.PrincipalId.deserializeBinary=function(o){var t=new _.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 i=t.readBytes();o.setSerializedId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.PrincipalId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asB64=function(){return _.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asU8=function(){return _.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.PrincipalId.prototype.setSerializedId=function(o){return _.Message.setProto3BytesField(this,1,o)};_.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,i={serializedId:t.getSerializedId_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.CanisterId.deserializeBinary=function(o){var t=new _.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 i=t.readBytes();o.setSerializedId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asB64=function(){return _.Message.bytesAsB64(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asU8=function(){return _.Message.bytesAsU8(this.getSerializedId())};proto.ic_base_types.pb.v1.CanisterId.prototype.setSerializedId=function(o){return _.Message.setProto3BytesField(this,1,o)};_.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,i={id:_.Message.getFieldWithDefault(t,2,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.NeuronId.deserializeBinary=function(o){var t=new _.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 i=t.readUint64String();o.setId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.NeuronId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,2,"0")};proto.ic_base_types.pb.v1.NeuronId.prototype.setId=function(o){return _.Message.setProto3StringIntField(this,2,o)};_.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,i={id:_.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.ProposalId.deserializeBinary=function(o){var t=new _.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 i=t.readUint64String();o.setId(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.ProposalId.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"0")};proto.ic_base_types.pb.v1.ProposalId.prototype.setId=function(o){return _.Message.setProto3StringIntField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_=[2];_.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,i={methodName:_.Message.getFieldWithDefault(t,1,""),principalIdsList:t.getPrincipalIdsList_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinary=function(o){var t=new _.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 i=t.readString();o.setMethodName(i);break;case 2:var i=t.readBytes();o.addPrincipalIds(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.serializeBinary=function(){var o=new _.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 _.Message.getFieldWithDefault(this,1,"")};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setMethodName=function(o){return _.Message.setProto3StringField(this,1,o)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList=function(){return _.Message.getRepeatedField(this,2)};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asB64=function(){return _.Message.bytesListAsB64(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asU8=function(){return _.Message.bytesListAsU8(this.getPrincipalIdsList())};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setPrincipalIdsList=function(o){return _.Message.setField(this,2,o||[])};proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.addPrincipalIds=function(o,t){return _.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];_.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,i={methodsAuthzList:_.Message.toObjectList(t.getMethodsAuthzList(),proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinary=function(o){var t=new _.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 i=new proto.ic_base_types.pb.v1.MethodAuthzInfo;t.readMessage(i,proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader),o.addMethodsAuthz(i);break;default:t.skipField();break}}return o};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.serializeBinary=function(){var o=new _.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 _.Message.getRepeatedWrapperField(this,proto.ic_base_types.pb.v1.MethodAuthzInfo,1)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.setMethodsAuthzList=function(o){return _.Message.setRepeatedWrapperField(this,1,o)};proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.addMethodsAuthz=function(o,t){return _.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 _.ExtensionFieldInfo(2e4,{tuiSignedMessage:0},null,null,0);A.MessageOptions.extensionsBinary[2e4]=new _.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedMessage,_.BinaryReader.prototype.readBool,_.BinaryWriter.prototype.writeBool,void 0,void 0,!1);A.MessageOptions.extensions[2e4]=proto.ic_base_types.pb.v1.tuiSignedMessage;proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021=new _.ExtensionFieldInfo(20001,{tuiSignedDisplayQ22021:0},null,null,0);A.FieldOptions.extensionsBinary[20001]=new _.ExtensionFieldBinaryInfo(proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021,_.BinaryReader.prototype.readBool,_.BinaryWriter.prototype.writeBool,void 0,void 0,!1);A.FieldOptions.extensions[20001]=proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021;v.object.extend(j,proto.ic_base_types.pb.v1)});var L=D(w=>{var p=I(),u=p,S=function(){return this?this:typeof window<"u"?window:typeof S<"u"?S:typeof self<"u"?self:Function("return this")()}.call(null),M=N();u.object.extend(proto,M);u.exportSymbol("proto.ic_ledger.pb.v1.Account",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountBalanceResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.AccountIdentifier",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Block",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.BlockHeight",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Burn",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Certification",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlock",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.EncodedBlocks",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Hash",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.ICPTs",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Memo",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Mint",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.NotifyRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.NotifyResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Payment",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Refund",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Send",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.SendRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.SendResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Subaccount",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TimeStamp",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TipOfChainResponse",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.ToppedUp",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Transaction",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.Transaction.TransferCase",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationRequest",null,S);u.exportSymbol("proto.ic_ledger.pb.v1.TransactionNotificationResponse",null,S);proto.ic_ledger.pb.v1.SendRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.SendRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendRequest.displayName="proto.ic_ledger.pb.v1.SendRequest");proto.ic_ledger.pb.v1.SendResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.SendResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.SendResponse.displayName="proto.ic_ledger.pb.v1.SendResponse");proto.ic_ledger.pb.v1.NotifyRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.NotifyRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyRequest.displayName="proto.ic_ledger.pb.v1.NotifyRequest");proto.ic_ledger.pb.v1.NotifyResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.NotifyResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.NotifyResponse.displayName="proto.ic_ledger.pb.v1.NotifyResponse");proto.ic_ledger.pb.v1.TransactionNotificationRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName="proto.ic_ledger.pb.v1.TransactionNotificationRequest");proto.ic_ledger.pb.v1.TransactionNotificationResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName="proto.ic_ledger.pb.v1.TransactionNotificationResponse");proto.ic_ledger.pb.v1.CyclesNotificationResponse=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName="proto.ic_ledger.pb.v1.CyclesNotificationResponse");proto.ic_ledger.pb.v1.AccountBalanceRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName="proto.ic_ledger.pb.v1.AccountBalanceRequest");proto.ic_ledger.pb.v1.AccountBalanceResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName="proto.ic_ledger.pb.v1.AccountBalanceResponse");proto.ic_ledger.pb.v1.TipOfChainRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainRequest.displayName="proto.ic_ledger.pb.v1.TipOfChainRequest");proto.ic_ledger.pb.v1.TipOfChainResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TipOfChainResponse.displayName="proto.ic_ledger.pb.v1.TipOfChainResponse");proto.ic_ledger.pb.v1.EncodedBlock=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.EncodedBlock,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlock.displayName="proto.ic_ledger.pb.v1.EncodedBlock");proto.ic_ledger.pb.v1.GetBlocksRequest=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksRequest.displayName="proto.ic_ledger.pb.v1.GetBlocksRequest");proto.ic_ledger.pb.v1.Refund=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Refund,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Refund.displayName="proto.ic_ledger.pb.v1.Refund");proto.ic_ledger.pb.v1.ToppedUp=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.ToppedUp,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ToppedUp.displayName="proto.ic_ledger.pb.v1.ToppedUp");proto.ic_ledger.pb.v1.EncodedBlocks=function(o){p.Message.initialize(this,o,0,-1,proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_,null)};u.inherits(proto.ic_ledger.pb.v1.EncodedBlocks,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.EncodedBlocks.displayName="proto.ic_ledger.pb.v1.EncodedBlocks");proto.ic_ledger.pb.v1.GetBlocksResponse=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.GetBlocksResponse.displayName="proto.ic_ledger.pb.v1.GetBlocksResponse");proto.ic_ledger.pb.v1.ICPTs=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.ICPTs,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.ICPTs.displayName="proto.ic_ledger.pb.v1.ICPTs");proto.ic_ledger.pb.v1.Payment=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Payment,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Payment.displayName="proto.ic_ledger.pb.v1.Payment");proto.ic_ledger.pb.v1.BlockHeight=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.BlockHeight,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.BlockHeight.displayName="proto.ic_ledger.pb.v1.BlockHeight");proto.ic_ledger.pb.v1.Block=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Block,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Block.displayName="proto.ic_ledger.pb.v1.Block");proto.ic_ledger.pb.v1.Hash=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Hash,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Hash.displayName="proto.ic_ledger.pb.v1.Hash");proto.ic_ledger.pb.v1.Account=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Account,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Account.displayName="proto.ic_ledger.pb.v1.Account");proto.ic_ledger.pb.v1.Transaction=function(o){p.Message.initialize(this,o,0,-1,null,proto.ic_ledger.pb.v1.Transaction.oneofGroups_)};u.inherits(proto.ic_ledger.pb.v1.Transaction,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Transaction.displayName="proto.ic_ledger.pb.v1.Transaction");proto.ic_ledger.pb.v1.Send=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Send,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Send.displayName="proto.ic_ledger.pb.v1.Send");proto.ic_ledger.pb.v1.Mint=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Mint,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Mint.displayName="proto.ic_ledger.pb.v1.Mint");proto.ic_ledger.pb.v1.Burn=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Burn,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Burn.displayName="proto.ic_ledger.pb.v1.Burn");proto.ic_ledger.pb.v1.AccountIdentifier=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.AccountIdentifier,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.AccountIdentifier.displayName="proto.ic_ledger.pb.v1.AccountIdentifier");proto.ic_ledger.pb.v1.Subaccount=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Subaccount,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Subaccount.displayName="proto.ic_ledger.pb.v1.Subaccount");proto.ic_ledger.pb.v1.Memo=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Memo,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Memo.displayName="proto.ic_ledger.pb.v1.Memo");proto.ic_ledger.pb.v1.TimeStamp=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.TimeStamp,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.TimeStamp.displayName="proto.ic_ledger.pb.v1.TimeStamp");proto.ic_ledger.pb.v1.Certification=function(o){p.Message.initialize(this,o,0,-1,null,null)};u.inherits(proto.ic_ledger.pb.v1.Certification,p.Message);u.DEBUG&&!COMPILED&&(proto.ic_ledger.pb.v1.Certification.displayName="proto.ic_ledger.pb.v1.Certification");p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.SendRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Payment;t.readMessage(i,proto.ic_ledger.pb.v1.Payment.deserializeBinaryFromReader),o.setPayment(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 5:var i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 6:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(i);break;case 7:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,1)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMemo=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getPayment=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Payment,2)};proto.ic_ledger.pb.v1.SendRequest.prototype.setPayment=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.SendRequest.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.SendRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getTo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,5)};proto.ic_ledger.pb.v1.SendRequest.prototype.setTo=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAt=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,6)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAt=function(o){return p.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 p.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAtTime=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,7)};proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAtTime=function(o){return p.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 p.Message.getField(this,7)!=null};p.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,i={resultingHeight:(r=t.getResultingHeight())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.SendResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setResultingHeight(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.SendResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.SendResponse.prototype.setResultingHeight=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={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())&&M.PrincipalId.toObject(o,r),toSubaccount:(r=t.getToSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.NotifyRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(i);break;case 2:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 4:var i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setToCanister(i);break;case 5:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.NotifyRequest.prototype.serializeBinary=function(){var o=new p.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,M.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,1)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setBlockHeight=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,3)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToCanister=function(){return p.Message.getWrapperField(this,M.PrincipalId,4)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToCanister=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,5)};proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToSubaccount=function(o){return p.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 p.Message.getField(this,5)!=null};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.NotifyResponse.deserializeBinary=function(o){var t=new p.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 p.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};p.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,i={from:(r=t.getFrom())&&M.PrincipalId.toObject(o,r),fromSubaccount:(r=t.getFromSubaccount())&&proto.ic_ledger.pb.v1.Subaccount.toObject(o,r),to:(r=t.getTo())&&M.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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TransactionNotificationRequest.deserializeBinary=function(o){var t=new p.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 i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setFrom(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setFromSubaccount(i);break;case 3:var i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setTo(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Subaccount;t.readMessage(i,proto.ic_ledger.pb.v1.Subaccount.deserializeBinaryFromReader),o.setToSubaccount(i);break;case 5:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setBlockHeight(i);break;case 6:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;case 7:var i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.serializeBinary=function(){var o=new p.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,M.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,M.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 p.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFromSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,2)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFromSubaccount=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getTo=function(){return p.Message.getWrapperField(this,M.PrincipalId,3)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setTo=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getToSubaccount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Subaccount,4)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setToSubaccount=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getBlockHeight=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setBlockHeight=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,6)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setAmount=function(o){return p.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 p.Message.getField(this,6)!=null};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getMemo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,7)};proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setMemo=function(o){return p.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 p.Message.getField(this,7)!=null};p.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,i={response:t.getResponse_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TransactionNotificationResponse.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setResponse(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asB64=function(){return p.Message.bytesAsB64(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asU8=function(){return p.Message.bytesAsU8(this.getResponse())};proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.setResponse=function(o){return p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0])};p.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,i={createdCanisterId:(r=t.getCreatedCanisterId())&&M.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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.CyclesNotificationResponse.deserializeBinary=function(o){var t=new p.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 i=new M.PrincipalId;t.readMessage(i,M.PrincipalId.deserializeBinaryFromReader),o.setCreatedCanisterId(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Refund;t.readMessage(i,proto.ic_ledger.pb.v1.Refund.deserializeBinaryFromReader),o.setRefund(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ToppedUp;t.readMessage(i,proto.ic_ledger.pb.v1.ToppedUp.deserializeBinaryFromReader),o.setToppedUp(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.serializeBinary=function(){var o=new p.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,M.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 p.Message.getWrapperField(this,M.PrincipalId,1)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setCreatedCanisterId=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getRefund=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Refund,2)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setRefund=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getToppedUp=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ToppedUp,3)};proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setToppedUp=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={account:(r=t.getAccount())&&proto.ic_ledger.pb.v1.AccountIdentifier.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountBalanceRequest.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setAccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.setAccount=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={balance:(r=t.getBalance())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountBalanceResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.setBalance=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TipOfChainRequest.deserializeBinary=function(o){var t=new p.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 p.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};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TipOfChainResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Certification;t.readMessage(i,proto.ic_ledger.pb.v1.Certification.deserializeBinaryFromReader),o.setCertification(i);break;case 2:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setChainLength(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Certification,1)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setCertification=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getChainLength=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setChainLength=function(o){return p.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 p.Message.getField(this,2)!=null};p.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,i={block:t.getBlock_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setBlock(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlock.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asB64=function(){return p.Message.bytesAsB64(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asU8=function(){return p.Message.bytesAsU8(this.getBlock())};proto.ic_ledger.pb.v1.EncodedBlock.prototype.setBlock=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={start:p.Message.getFieldWithDefault(t,1,"0"),length:p.Message.getFieldWithDefault(t,2,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.GetBlocksRequest.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setStart(i);break;case 2:var i=t.readUint64String();o.setLength(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setStart=function(o){return p.Message.setProto3StringIntField(this,1,o)};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getLength=function(){return p.Message.getFieldWithDefault(this,2,"0")};proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setLength=function(o){return p.Message.setProto3StringIntField(this,2,o)};p.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,i={refund:(r=t.getRefund())&&proto.ic_ledger.pb.v1.BlockHeight.toObject(o,r),error:p.Message.getFieldWithDefault(t,3,"")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Refund.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setRefund(i);break;case 3:var i=t.readString();o.setError(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Refund.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,2)};proto.ic_ledger.pb.v1.Refund.prototype.setRefund=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Refund.prototype.getError=function(){return p.Message.getFieldWithDefault(this,3,"")};proto.ic_ledger.pb.v1.Refund.prototype.setError=function(o){return p.Message.setProto3StringField(this,3,o)};p.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,i={};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.ToppedUp.deserializeBinary=function(o){var t=new p.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 p.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];p.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,i={blocksList:p.Message.toObjectList(t.getBlocksList(),proto.ic_ledger.pb.v1.EncodedBlock.toObject,o)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.EncodedBlock;t.readMessage(i,proto.ic_ledger.pb.v1.EncodedBlock.deserializeBinaryFromReader),o.addBlocks(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.serializeBinary=function(){var o=new p.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 p.Message.getRepeatedWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlock,1)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.setBlocksList=function(o){return p.Message.setRepeatedWrapperField(this,1,o)};proto.ic_ledger.pb.v1.EncodedBlocks.prototype.addBlocks=function(o,t){return p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0])};p.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,i={blocks:(r=t.getBlocks())&&proto.ic_ledger.pb.v1.EncodedBlocks.toObject(o,r),error:p.Message.getFieldWithDefault(t,2,"")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.GetBlocksResponse.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.EncodedBlocks;t.readMessage(i,proto.ic_ledger.pb.v1.EncodedBlocks.deserializeBinaryFromReader),o.setBlocks(i);break;case 2:var i=t.readString();o.setError(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.serializeBinary=function(){var o=new p.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=p.Message.getField(o,2),r!=null&&t.writeString(2,r)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getBlocks=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.EncodedBlocks,1)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setBlocks=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getError=function(){return p.Message.getFieldWithDefault(this,2,"")};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setError=function(o){return p.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],o)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearError=function(){return p.Message.setOneofField(this,2,proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0],void 0)};proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError=function(){return p.Message.getField(this,2)!=null};p.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,i={e8s:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.ICPTs.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setE8s(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.ICPTs.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.ICPTs.prototype.setE8s=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={receiverGets:(r=t.getReceiverGets())&&proto.ic_ledger.pb.v1.ICPTs.toObject(o,r)};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Payment.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setReceiverGets(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Payment.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,1)};proto.ic_ledger.pb.v1.Payment.prototype.setReceiverGets=function(o){return p.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 p.Message.getField(this,1)!=null};p.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,i={height:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.BlockHeight.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setHeight(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.BlockHeight.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.BlockHeight.prototype.setHeight=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Block.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Hash;t.readMessage(i,proto.ic_ledger.pb.v1.Hash.deserializeBinaryFromReader),o.setParentHash(i);break;case 2:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setTimestamp(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Transaction;t.readMessage(i,proto.ic_ledger.pb.v1.Transaction.deserializeBinaryFromReader),o.setTransaction(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Block.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Hash,1)};proto.ic_ledger.pb.v1.Block.prototype.setParentHash=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTimestamp=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,2)};proto.ic_ledger.pb.v1.Block.prototype.setTimestamp=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Block.prototype.getTransaction=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Transaction,3)};proto.ic_ledger.pb.v1.Block.prototype.setTransaction=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={hash:t.getHash_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Hash.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setHash(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Hash.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asB64=function(){return p.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.getHash_asU8=function(){return p.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.Hash.prototype.setHash=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Account.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setIdentifier(i);break;case 2:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setBalance(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Account.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Account.prototype.setIdentifier=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Account.prototype.getBalance=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,2)};proto.ic_ledger.pb.v1.Account.prototype.setBalance=function(o){return p.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 p.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 p.Message.computeOneofCase(this,proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0])};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Transaction.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.Burn;t.readMessage(i,proto.ic_ledger.pb.v1.Burn.deserializeBinaryFromReader),o.setBurn(i);break;case 2:var i=new proto.ic_ledger.pb.v1.Mint;t.readMessage(i,proto.ic_ledger.pb.v1.Mint.deserializeBinaryFromReader),o.setMint(i);break;case 3:var i=new proto.ic_ledger.pb.v1.Send;t.readMessage(i,proto.ic_ledger.pb.v1.Send.deserializeBinaryFromReader),o.setSend(i);break;case 4:var i=new proto.ic_ledger.pb.v1.Memo;t.readMessage(i,proto.ic_ledger.pb.v1.Memo.deserializeBinaryFromReader),o.setMemo(i);break;case 5:var i=new proto.ic_ledger.pb.v1.BlockHeight;t.readMessage(i,proto.ic_ledger.pb.v1.BlockHeight.deserializeBinaryFromReader),o.setCreatedAt(i);break;case 6:var i=new proto.ic_ledger.pb.v1.TimeStamp;t.readMessage(i,proto.ic_ledger.pb.v1.TimeStamp.deserializeBinaryFromReader),o.setCreatedAtTime(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Transaction.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Burn,1)};proto.ic_ledger.pb.v1.Transaction.prototype.setBurn=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMint=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Mint,2)};proto.ic_ledger.pb.v1.Transaction.prototype.setMint=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getSend=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Send,3)};proto.ic_ledger.pb.v1.Transaction.prototype.setSend=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getMemo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.Memo,4)};proto.ic_ledger.pb.v1.Transaction.prototype.setMemo=function(o){return p.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 p.Message.getField(this,4)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAt=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.BlockHeight,5)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAt=function(o){return p.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 p.Message.getField(this,5)!=null};proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAtTime=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.TimeStamp,6)};proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAtTime=function(o){return p.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 p.Message.getField(this,6)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Send.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(i);break;case 2:var i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;case 4:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setMaxFee(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Send.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Send.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Send.prototype.getTo=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Send.prototype.setTo=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Send.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Send.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};proto.ic_ledger.pb.v1.Send.prototype.getMaxFee=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,4)};proto.ic_ledger.pb.v1.Send.prototype.setMaxFee=function(o){return p.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 p.Message.getField(this,4)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Mint.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setTo(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Mint.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,2)};proto.ic_ledger.pb.v1.Mint.prototype.setTo=function(o){return p.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 p.Message.getField(this,2)!=null};proto.ic_ledger.pb.v1.Mint.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Mint.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={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&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Burn.deserializeBinary=function(o){var t=new p.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 i=new proto.ic_ledger.pb.v1.AccountIdentifier;t.readMessage(i,proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinaryFromReader),o.setFrom(i);break;case 3:var i=new proto.ic_ledger.pb.v1.ICPTs;t.readMessage(i,proto.ic_ledger.pb.v1.ICPTs.deserializeBinaryFromReader),o.setAmount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Burn.prototype.serializeBinary=function(){var o=new p.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 p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.AccountIdentifier,1)};proto.ic_ledger.pb.v1.Burn.prototype.setFrom=function(o){return p.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 p.Message.getField(this,1)!=null};proto.ic_ledger.pb.v1.Burn.prototype.getAmount=function(){return p.Message.getWrapperField(this,proto.ic_ledger.pb.v1.ICPTs,3)};proto.ic_ledger.pb.v1.Burn.prototype.setAmount=function(o){return p.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 p.Message.getField(this,3)!=null};p.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,i={hash:t.getHash_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.AccountIdentifier.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setHash(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asB64=function(){return p.Message.bytesAsB64(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asU8=function(){return p.Message.bytesAsU8(this.getHash())};proto.ic_ledger.pb.v1.AccountIdentifier.prototype.setHash=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={subAccount:t.getSubAccount_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Subaccount.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setSubAccount(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Subaccount.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asB64=function(){return p.Message.bytesAsB64(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asU8=function(){return p.Message.bytesAsU8(this.getSubAccount())};proto.ic_ledger.pb.v1.Subaccount.prototype.setSubAccount=function(o){return p.Message.setProto3BytesField(this,1,o)};p.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,i={memo:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Memo.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setMemo(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Memo.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.Memo.prototype.setMemo=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={timestampNanos:p.Message.getFieldWithDefault(t,1,"0")};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.TimeStamp.deserializeBinary=function(o){var t=new p.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 i=t.readUint64String();o.setTimestampNanos(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.TimeStamp.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"0")};proto.ic_ledger.pb.v1.TimeStamp.prototype.setTimestampNanos=function(o){return p.Message.setProto3StringIntField(this,1,o)};p.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,i={certification:t.getCertification_asB64()};return o&&(i.$jspbMessageInstance=t),i});proto.ic_ledger.pb.v1.Certification.deserializeBinary=function(o){var t=new p.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 i=t.readBytes();o.setCertification(i);break;default:t.skipField();break}}return o};proto.ic_ledger.pb.v1.Certification.prototype.serializeBinary=function(){var o=new p.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 p.Message.getFieldWithDefault(this,1,"")};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asB64=function(){return p.Message.bytesAsB64(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asU8=function(){return p.Message.bytesAsU8(this.getCertification())};proto.ic_ledger.pb.v1.Certification.prototype.setCertification=function(o){return p.Message.setProto3BytesField(this,1,o)};u.object.extend(w,proto.ic_ledger.pb.v1)});export{I as a,N as b,L as c};
14
+ //# sourceMappingURL=chunk-FL7E4DL3.js.map