@signalk/freeboard-sk 2.19.5 → 2.19.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/public/3rdpartylicenses.txt +34 -0
- package/public/assets/img/ob/chart-radar-overlay-iec.svg +4 -0
- package/public/assets/img/ob/radar-iec.svg +3 -0
- package/public/index.html +1 -6
- package/public/main-ZOI63BYP.js +279 -0
- package/public/manifest.json +9 -6
- package/public/worker-JWBESAJK.js +10 -0
- package/public/worker-XLDLGEWQ.js +10 -0
- package/public/main-YREPE7Q3.js +0 -280
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var X=Object.create;var L=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var q=Object.getPrototypeOf,J=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ee=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Z(e))!J.call(t,r)&&r!==o&&L(t,r,{get:()=>e[r],enumerable:!(n=K(e,r))||n.enumerable});return t};var te=(t,e,o)=>(o=t!=null?X(q(t)):{},ee(e||!t||!t.__esModule?L(o,"default",{value:t,enumerable:!0}):o,t));var v=Q((exports,module)=>{var COMPILED=!0,goog=goog||{};goog.global=exports||self;goog.exportPath_=function(t,e,o,n){t=t.split("."),n=n||goog.global,t[0]in n||typeof n.execScript>"u"||n.execScript("var "+t[0]);for(var r;t.length&&(r=t.shift());)if(t.length||e===void 0)n=n[r]&&n[r]!==Object.prototype[r]?n[r]:n[r]={};else if(!o&&goog.isObject(e)&&goog.isObject(n[r]))for(var s in e)e.hasOwnProperty(s)&&(n[r][s]=e[s]);else n[r]=e};goog.define=function(t,e){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;o&&o.nodeType===void 0&&Object.prototype.hasOwnProperty.call(o,t)?e=o[t]:n&&n.nodeType===void 0&&Object.prototype.hasOwnProperty.call(n,t)&&(e=n[t])}return e};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="en";goog.TRUSTED_SITE=!0;goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');goog.constructNamespace_(t)};goog.constructNamespace_=function(t,e,o){if(!COMPILED){delete goog.implicitNamespaces_[t];for(var n=t;(n=n.substring(0,n.lastIndexOf(".")))&&!goog.getObjectByName(n);)goog.implicitNamespaces_[n]=!0}goog.exportPath_(t,e,o)};goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;goog.getScriptNonce_=function(t){return t=(t||goog.global).document,(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;goog.module=function(t){if(typeof t!="string"||!t||t.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=t,!COMPILED){if(goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');delete goog.implicitNamespaces_[t]}};goog.module.get=function(t){return goog.module.getInternal_(t)};goog.module.getInternal_=function(t){if(!COMPILED){if(t in goog.loadedModules_)return goog.loadedModules_[t].exports;if(!goog.implicitNamespaces_[t])return t=goog.getObjectByName(t),t??null}return null};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()};goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG};goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t=goog.global.$jscomp;return t?typeof t.getCurrentModulePath!="function"?!1:!!t.getCurrentModulePath():!1};goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0};goog.declareModuleId=function(t){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(t in goog.loadedModules_)throw Error('Module with namespace "'+t+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var e=goog.global.$jscomp;if(!e||typeof e.getCurrentModulePath!="function")throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');e=e.require(e.getCurrentModulePath()),goog.loadedModules_[t]={exports:e,type:goog.ModuleType.ES6,moduleId:t}}};goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))};goog.forwardDeclare=function(t){};COMPILED||(goog.isProvided_=function(t){return t in goog.loadedModules_||!goog.implicitNamespaces_[t]&&goog.getObjectByName(t)!=null},goog.implicitNamespaces_={"goog.module":!0});goog.getObjectByName=function(t,e){t=t.split("."),e=e||goog.global;for(var o=0;o<t.length;o++)if(e=e[t[o]],e==null)return null;return e};goog.addDependency=function(t,e,o,n){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(t,e,o,n)};goog.ENABLE_DEBUG_LOADER=!1;goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)};goog.require=function(t){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(t),goog.isProvided_(t)){if(goog.isInModuleLoader_())return goog.module.getInternal_(t)}else if(goog.ENABLE_DEBUG_LOADER){var e=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(t)}finally{goog.moduleLoaderState_=e}}return null}};goog.requireType=function(t){return{}};goog.basePath="";goog.abstractMethod=function(){throw Error("unimplemented abstract method")};goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRUSTED_TYPES_POLICY_NAME="goog";goog.hasBadLetScoping=null;goog.loadModule=function(t){var e=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var o={},n=o;if(typeof t=="function")n=t.call(void 0,n);else if(typeof t=="string")n=goog.loadModuleFromSource_.call(void 0,n,t);else throw Error("Invalid module definition");var r=goog.moduleLoaderState_.moduleName;if(typeof r=="string"&&r)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,n,o!==n):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof n=="object"&&n!=null&&Object.seal(n),goog.loadedModules_[r]={exports:n,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+r+'"')}finally{goog.moduleLoaderState_=e}};goog.loadModuleFromSource_=function(a,b){return eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b)),a};goog.normalizePath_=function(t){t=t.split("/");for(var e=0;e<t.length;)t[e]=="."?t.splice(e,1):e&&t[e]==".."&&t[e-1]&&t[e-1]!=".."?t.splice(--e,2):e++;return t.join("/")};goog.loadFileSync_=function(t){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t);try{var e=new goog.global.XMLHttpRequest;return e.open("get",t,!1),e.send(),e.status==0||e.status==200?e.responseText:null}catch{return null}};goog.typeOf=function(t){var e=typeof t;return e!="object"?e:t?Array.isArray(t)?"array":e:"null"};goog.isArrayLike=function(t){var e=goog.typeOf(t);return e=="array"||e=="object"&&typeof t.length=="number"};goog.isDateLike=function(t){return goog.isObject(t)&&typeof t.getFullYear=="function"};goog.isObject=function(t){var e=typeof t;return e=="object"&&t!=null||e=="function"};goog.getUid=function(t){return Object.prototype.hasOwnProperty.call(t,goog.UID_PROPERTY_)&&t[goog.UID_PROPERTY_]||(t[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(t){return!!t[goog.UID_PROPERTY_]};goog.removeUid=function(t){t!==null&&"removeAttribute"in t&&t.removeAttribute(goog.UID_PROPERTY_);try{delete t[goog.UID_PROPERTY_]}catch{}};goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0);goog.uidCounter_=0;goog.cloneObject=function(t){var e=goog.typeOf(t);if(e=="object"||e=="array"){if(typeof t.clone=="function")return t.clone();if(typeof Map<"u"&&t instanceof Map)return new Map(t);if(typeof Set<"u"&&t instanceof Set)return new Set(t);e=e=="array"?[]:{};for(var o in t)e[o]=goog.cloneObject(t[o]);return e}return t};goog.bindNative_=function(t,e,o){return t.call.apply(t.bind,arguments)};goog.bindJs_=function(t,e,o){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,n),t.apply(e,r)}}return function(){return t.apply(e,arguments)}};goog.bind=function(t,e,o){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)};goog.partial=function(t,e){var o=Array.prototype.slice.call(arguments,1);return function(){var n=o.slice();return n.push.apply(n,arguments),t.apply(this,n)}};goog.now=function(){return Date.now()};goog.globalEval=function(t){(0,eval)(t)};goog.getCssName=function(t,e){if(String(t).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+t);var o=function(r){return goog.cssNameMapping_[r]||r},n=function(r){r=r.split("-");for(var s=[],i=0;i<r.length;i++)s.push(o(r[i]));return s.join("-")};return n=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?o:n:function(r){return r},t=e?t+"-"+n(e):n(t),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t):t};goog.setCssNameMapping=function(t,e){goog.cssNameMapping_=t,goog.cssNameMappingStyle_=e};!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING);goog.GetMsgOptions=function(){};goog.getMsg=function(t,e,o){return o&&o.html&&(t=t.replace(/</g,"<")),o&&o.unescapeHtmlEntities&&(t=t.replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,'"').replace(/&/g,"&")),e&&(t=t.replace(/\{\$([^}]+)}/g,function(n,r){return e!=null&&r in e?e[r]:n})),t};goog.getMsgWithFallback=function(t,e){return t};goog.exportSymbol=function(t,e,o){goog.exportPath_(t,e,!0,o)};goog.exportProperty=function(t,e,o){t[e]=o};goog.inherits=function(t,e){function o(){}o.prototype=e.prototype,t.superClass_=e.prototype,t.prototype=new o,t.prototype.constructor=t,t.base=function(n,r,s){for(var i=Array(arguments.length-2),g=2;g<arguments.length;g++)i[g-2]=arguments[g];return e.prototype[r].apply(n,i)}};goog.scope=function(t){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");t.call(goog.global)};COMPILED||(goog.global.COMPILED=COMPILED);goog.defineClass=function(t,e){var o=e.constructor,n=e.statics;return o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),o=goog.defineClass.createSealingConstructor_(o,t),t&&goog.inherits(o,t),delete e.constructor,delete e.statics,goog.defineClass.applyProperties_(o.prototype,e),n!=null&&(n instanceof Function?n(o):goog.defineClass.applyProperties_(o,n)),o};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;goog.defineClass.createSealingConstructor_=function(t,e){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var o=t.apply(this,arguments)||this;return o[goog.UID_PROPERTY_]=o[goog.UID_PROPERTY_],o}:t};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");goog.defineClass.applyProperties_=function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);for(var n=0;n<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;n++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[n],Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])};goog.identity_=function(t){return t};goog.createTrustedTypesPolicy=function(t){var e=null,o=goog.global.trustedTypes;if(!o||!o.createPolicy)return e;try{e=o.createPolicy(t,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(n){goog.logToConsole_(n.message)}return e};!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.isEdge_=function(){return!!(goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"").match(/Edge\/(\d+)(\.\d)*/i)},goog.inHtmlDocument_=function(){var t=goog.global.document;return t!=null&&"write"in t},goog.isDocumentLoading_=function(){var t=goog.global.document;return t.attachEvent?t.readyState!="complete":t.readyState=="loading"},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH!=null&&typeof goog.global.CLOSURE_BASE_PATH=="string")goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var t=goog.global.document,e=t.currentScript;for(t=e?[e]:t.getElementsByTagName("SCRIPT"),e=t.length-1;0<=e;--e){var o=t[e].src,n=o.lastIndexOf("?");if(n=n==-1?o.length:n,o.slice(n-7,n)=="base.js"){goog.basePath=o.slice(0,n-7);break}}}},goog.findBasePath_(),goog.protectScriptTag_=function(t){return t.replace(/<\/(SCRIPT)/ig,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory,this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(t,e){function o(){n&&(goog.global.setTimeout(n,0),n=null)}var n=e;if(t.length){e=[];for(var r=0;r<t.length;r++){var s=this.getPathFromDeps_(t[r]);if(!s)throw Error("Unregonized namespace: "+t[r]);e.push(this.dependencies_[s])}s=goog.require;var i=0;for(r=0;r<t.length;r++)s(t[r]),e[r].onLoad(function(){++i==t.length&&o()})}else o()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{})),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(t,e){(t=this.getPathFromDeps_(t))&&(e||this.areDepsLoaded_(this.dependencies_[t].requires))&&(e=this.deferredCallbacks_[t])&&(delete this.deferredCallbacks_[t],e())},goog.DebugLoader_.prototype.setDependencyFactory=function(t){this.factory_=t},goog.DebugLoader_.prototype.load_=function(t){if(this.getPathFromDeps_(t)){var e=this,o=[],n=function(r){var s=e.getPathFromDeps_(r);if(!s)throw Error("Bad dependency path or symbol: "+r);if(!e.written_[s]){for(e.written_[s]=!0,r=e.dependencies_[s],s=0;s<r.requires.length;s++)goog.isProvided_(r.requires[s])||n(r.requires[s]);o.push(r)}};n(t),t=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(o),this.paused_||t||this.loadDeps_()}else goog.logToConsole_("goog.require could not find: "+t)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var t=this,e=this.paused_;this.depsToLoad_.length&&!e;)(function(){var o=!1,n=t.depsToLoad_.shift(),r=!1;t.loading_(n);var s={pause:function(){if(o)throw Error("Cannot call pause after the call to load.");e=!0},resume:function(){o?t.resume_():e=!1},loaded:function(){if(r)throw Error("Double call to loaded.");r=!0,t.loaded_(n)},pending:function(){for(var i=[],g=0;g<t.loadingDeps_.length;g++)i.push(t.loadingDeps_[g]);return i},setModuleState:function(i){goog.moduleLoaderState_={type:i,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(i,g,$){$&&(goog.loadedModules_[$]={exports:g,type:goog.ModuleType.ES6,moduleId:$||""})},registerGoogModuleExports:function(i,g){goog.loadedModules_[i]={exports:g,type:goog.ModuleType.GOOG,moduleId:i}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(i){if(o)throw Error("Cannot register with defer after the call to load.");t.defer_(n,i)},areDepsLoaded:function(){return t.areDepsLoaded_(n.requires)}};try{n.load(s)}finally{o=!0}})();e&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(t){this.loadingDeps_.push(t)},goog.DebugLoader_.prototype.loaded_=function(t){for(var e=0;e<this.loadingDeps_.length;e++)if(this.loadingDeps_[e]==t){this.loadingDeps_.splice(e,1);break}for(e=0;e<this.deferredQueue_.length;e++)if(this.deferredQueue_[e]==t.path){this.deferredQueue_.splice(e,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);t.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(t){for(var e=0;e<t.length;e++){var o=this.getPathFromDeps_(t[e]);if(!o||!(o in this.deferredCallbacks_||goog.isProvided_(t[e])))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(t){return t in this.idToPath_?this.idToPath_[t]:t in this.dependencies_?t:null},goog.DebugLoader_.prototype.defer_=function(t,e){this.deferredCallbacks_[t.path]=e,this.deferredQueue_.push(t.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(t,e,o){},goog.LoadController.prototype.setModuleState=function(t){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(t){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(t,e,o,n,r){this.path=t,this.relativePath=e,this.provides=o,this.requires=n,this.loadFlags=r,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var t=this.path,e=t.indexOf("://");return 0<=e&&(t=t.substring(e+3),e=t.indexOf("/"),0<=e&&(t=t.substring(e+1))),t},goog.Dependency.prototype.onLoad=function(t){this.loaded_?t():this.loadCallbacks_.push(t)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var t=this.loadCallbacks_;this.loadCallbacks_=[];for(var e=0;e<t.length;e++)t[e]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(t){var e=Math.random().toString(32);return goog.Dependency.callbackMap_[e]=t,e},goog.Dependency.unregisterCallback_=function(t){delete goog.Dependency.callbackMap_[t]},goog.Dependency.callback_=function(t,e){if(t in goog.Dependency.callbackMap_){for(var o=goog.Dependency.callbackMap_[t],n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);o.apply(void 0,n)}else throw Error("Callback key "+t+" does not exist (was base.js loaded more than once?).")},goog.Dependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var e=goog.global.document;if(e.readyState=="complete"&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path)){t.loaded();return}throw Error('Cannot write "'+this.path+'" after document load')}var o=goog.getScriptNonce_();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var n=function(g){g.readyState&&g.readyState!="complete"?g.onload=n:(goog.Dependency.unregisterCallback_(r),t.loaded())},r=goog.Dependency.registerCallback_(n);o=o?' nonce="'+o+'"':"";var s='<script src="'+this.path+'"'+o+(goog.Dependency.defer_?" defer":"")+' id="script-'+r+'"><\/script>';s+="<script"+o+">",s=goog.Dependency.defer_?s+("document.getElementById('script-"+r+`').onload = function() {
|
|
2
|
+
goog.Dependency.callback_('`+r+`', this);
|
|
3
|
+
};
|
|
4
|
+
`):s+("goog.Dependency.callback_('"+r+"', document.getElementById('script-"+r+"'));"),s+="<\/script>",e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(s):s)}else{var i=e.createElement("script");i.defer=goog.Dependency.defer_,i.async=!1,o&&(i.nonce=o),i.onload=function(){i.onload=null,t.loaded()},i.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,e.head.appendChild(i)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),this.relativePath=="deps.js"?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),t.loaded()):t.pause()},goog.Es6ModuleDependency=function(t,e,o,n,r){goog.Dependency.call(this,t,e,o,n,r)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(t){function e(l,d){var c="",m=goog.getScriptNonce_();m&&(c=' nonce="'+m+'"'),l=d?'<script type="module" crossorigin'+c+">"+d+"<\/script>":'<script type="module" crossorigin src="'+l+'"'+c+"><\/script>",n.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(l):l)}function o(l,d){var c=n.createElement("script");c.defer=!0,c.async=!1,c.type="module",c.setAttribute("crossorigin",!0);var m=goog.getScriptNonce_();m&&(c.nonce=m),d?c.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(d):d:c.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(l):l,n.head.appendChild(c)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var n=goog.global.document,r=this;if(goog.isDocumentLoading_()){var s=e;goog.Dependency.defer_=!0}else s=o;var i=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(i),t.setModuleState(goog.ModuleType.ES6)});s(void 0,'goog.Dependency.callback_("'+i+'")'),s(this.path,void 0);var g=goog.Dependency.registerCallback_(function(l){goog.Dependency.unregisterCallback_(g),t.registerEs6ModuleExports(r.path,l,goog.moduleLoaderState_.moduleName)});s(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+g+'", m)');var $=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_($),t.clearModuleState(),t.loaded()});s(void 0,'goog.Dependency.callback_("'+$+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),t.pause()},goog.TransformedDependency=function(t,e,o,n,r){goog.Dependency.call(this,t,e,o,n,r),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(t){function e(){r.contents_=goog.loadFileSync_(r.path),r.contents_&&(r.contents_=r.transform(r.contents_),r.contents_&&(r.contents_+=`
|
|
5
|
+
//# sourceURL=`+r.path))}function o(){if(r.lazyFetch_&&e(),r.contents_){s&&t.setModuleState(goog.ModuleType.ES6);try{var l=r.contents_;if(r.contents_=null,goog.globalEval(goog.CLOSURE_EVAL_PREFILTER_.createScript(l)),s)var d=goog.moduleLoaderState_.moduleName}finally{s&&t.clearModuleState()}s&&goog.global.$jscomp.require.ensure([r.getPathName()],function(){t.registerEs6ModuleExports(r.path,goog.global.$jscomp.require(r.getPathName()),d)}),t.loaded()}}function n(){var l=goog.global.document,d=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(d),o()}),c=goog.getScriptNonce_();c="<script"+(c?' nonce="'+c+'"':"")+">"+goog.protectScriptTag_('goog.Dependency.callback_("'+d+'");')+"<\/script>",l.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(c):c)}var r=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)e(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,t.loaded()):t.pause();else{var s=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||e();var i=1<t.pending().length;if(goog.Dependency.defer_&&(i||goog.isDocumentLoading_()))t.defer(function(){o()});else{var g=goog.global.document;if(i=goog.inHtmlDocument_()&&("ActiveXObject"in goog.global||goog.isEdge_()),s&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!i){goog.Dependency.defer_=!0,t.pause();var $=g.onreadystatechange;g.onreadystatechange=function(){g.readyState=="interactive"&&(g.onreadystatechange=$,o(),t.resume()),typeof $=="function"&&$.apply(void 0,arguments)}}else goog.inHtmlDocument_()&&goog.isDocumentLoading_()?n():o()}}},goog.TransformedDependency.prototype.transform=function(t){},goog.PreTranspiledEs6ModuleDependency=function(t,e,o,n,r){goog.TransformedDependency.call(this,t,e,o,n,r)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(t){return t},goog.GoogModuleDependency=function(t,e,o,n,r){goog.TransformedDependency.call(this,t,e,o,n,r)},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(t){return goog.LOAD_MODULE_USING_EVAL&&goog.global.JSON!==void 0?"goog.loadModule("+goog.global.JSON.stringify(t+`
|
|
6
|
+
//# sourceURL=`+this.path+`
|
|
7
|
+
`)+");":'goog.loadModule(function(exports) {"use strict";'+t+`
|
|
8
|
+
;return exports});
|
|
9
|
+
//# sourceURL=`+this.path+`
|
|
10
|
+
`},goog.DebugLoader_.prototype.addDependency=function(t,e,o,n){e=e||[],t=t.replace(/\\/g,"/");var r=goog.normalizePath_(goog.basePath+t);for(n&&typeof n!="boolean"||(n=n?{module:goog.ModuleType.GOOG}:{}),o=this.factory_.createDependency(r,t,e,o,n),this.dependencies_[r]=o,o=0;o<e.length;o++)this.idToPath_[e[o]]=r;this.idToPath_[t]=r},goog.DependencyFactory=function(){},goog.DependencyFactory.prototype.createDependency=function(t,e,o,n,r){return r.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(t,e,o,n,r):r.module==goog.ModuleType.ES6?goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(t,e,o,n,r):new goog.Es6ModuleDependency(t,e,o,n,r):new goog.Dependency(t,e,o,n,r)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(t){goog.debugLoader_.setDependencyFactory(t)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(t,e){goog.debugLoader_.bootstrap(t,e)});if(!COMPILED){isChrome87=!1;try{isChrome87=eval(goog.global.trustedTypes.emptyScript)!==goog.global.trustedTypes.emptyScript}catch(t){}goog.CLOSURE_EVAL_PREFILTER_=goog.global.trustedTypes&&isChrome87&&goog.createTrustedTypesPolicy("goog#base#devonly#eval")||{createScript:goog.identity_}}var isChrome87;goog.object={};function module$contents$goog$object_forEach(t,e,o){for(let n in t)e.call(o,t[n],n,t)}function module$contents$goog$object_filter(t,e,o){let n={};for(let r in t)e.call(o,t[r],r,t)&&(n[r]=t[r]);return n}function module$contents$goog$object_map(t,e,o){let n={};for(let r in t)n[r]=e.call(o,t[r],r,t);return n}function module$contents$goog$object_some(t,e,o){for(let n in t)if(e.call(o,t[n],n,t))return!0;return!1}function module$contents$goog$object_every(t,e,o){for(let n in t)if(!e.call(o,t[n],n,t))return!1;return!0}function module$contents$goog$object_getCount(t){let e=0;for(let o in t)e++;return e}function module$contents$goog$object_getAnyKey(t){for(let e in t)return e}function module$contents$goog$object_getAnyValue(t){for(let e in t)return t[e]}function module$contents$goog$object_contains(t,e){return module$contents$goog$object_containsValue(t,e)}function module$contents$goog$object_getValues(t){let e=[],o=0;for(let n in t)e[o++]=t[n];return e}function module$contents$goog$object_getKeys(t){let e=[],o=0;for(let n in t)e[o++]=n;return e}function module$contents$goog$object_getValueByKeys(t,e){var o=goog.isArrayLike(e);let n=o?e:arguments;for(o=o?0:1;o<n.length;o++){if(t==null)return;t=t[n[o]]}return t}function module$contents$goog$object_containsKey(t,e){return t!==null&&e in t}function module$contents$goog$object_containsValue(t,e){for(let o in t)if(t[o]==e)return!0;return!1}function module$contents$goog$object_findKey(t,e,o){for(let n in t)if(e.call(o,t[n],n,t))return n}function module$contents$goog$object_findValue(t,e,o){return(e=module$contents$goog$object_findKey(t,e,o))&&t[e]}function module$contents$goog$object_isEmpty(t){for(let e in t)return!1;return!0}function module$contents$goog$object_clear(t){for(let e in t)delete t[e]}function module$contents$goog$object_remove(t,e){let o;return(o=e in t)&&delete t[e],o}function module$contents$goog$object_add(t,e,o){if(t!==null&&e in t)throw Error(`The object already contains the key "${e}"`);module$contents$goog$object_set(t,e,o)}function module$contents$goog$object_get(t,e,o){return t!==null&&e in t?t[e]:o}function module$contents$goog$object_set(t,e,o){t[e]=o}function module$contents$goog$object_setIfUndefined(t,e,o){return e in t?t[e]:t[e]=o}function module$contents$goog$object_setWithReturnValueIfNotSet(t,e,o){return e in t?t[e]:(o=o(),t[e]=o)}function module$contents$goog$object_equals(t,e){for(let o in t)if(!(o in e)||t[o]!==e[o])return!1;for(let o in e)if(!(o in t))return!1;return!0}function module$contents$goog$object_clone(t){let e={};for(let o in t)e[o]=t[o];return e}function module$contents$goog$object_unsafeClone(t){if(!t||typeof t!="object")return t;if(typeof t.clone=="function")return t.clone();if(typeof Map<"u"&&t instanceof Map)return new Map(t);if(typeof Set<"u"&&t instanceof Set)return new Set(t);if(t instanceof Date)return new Date(t.getTime());let e=Array.isArray(t)?[]:typeof ArrayBuffer!="function"||typeof ArrayBuffer.isView!="function"||!ArrayBuffer.isView(t)||t instanceof DataView?{}:new t.constructor(t.length);for(let o in t)e[o]=module$contents$goog$object_unsafeClone(t[o]);return e}function module$contents$goog$object_transpose(t){let e={};for(let o in t)e[t[o]]=o;return e}var module$contents$goog$object_PROTOTYPE_FIELDS="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function module$contents$goog$object_extend(t,e){let o,n;for(let r=1;r<arguments.length;r++){n=arguments[r];for(o in n)t[o]=n[o];for(let s=0;s<module$contents$goog$object_PROTOTYPE_FIELDS.length;s++)o=module$contents$goog$object_PROTOTYPE_FIELDS[s],Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}}function module$contents$goog$object_create(t){let e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return module$contents$goog$object_create.apply(null,arguments[0]);if(e%2)throw Error("Uneven number of arguments");let o={};for(let n=0;n<e;n+=2)o[arguments[n]]=arguments[n+1];return o}function module$contents$goog$object_createSet(t){let e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return module$contents$goog$object_createSet.apply(null,arguments[0]);let o={};for(let n=0;n<e;n++)o[arguments[n]]=!0;return o}function module$contents$goog$object_createImmutableView(t){let e=t;return Object.isFrozen&&!Object.isFrozen(t)&&(e=Object.create(t),Object.freeze(e)),e}function module$contents$goog$object_isImmutableView(t){return!!Object.isFrozen&&Object.isFrozen(t)}function module$contents$goog$object_getAllPropertyNames(t,e,o){if(!t)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return module$contents$goog$object_getKeys(t);let n={};for(;t&&(t!==Object.prototype||e)&&(t!==Function.prototype||o);){let r=Object.getOwnPropertyNames(t);for(let s=0;s<r.length;s++)n[r[s]]=!0;t=Object.getPrototypeOf(t)}return module$contents$goog$object_getKeys(n)}function module$contents$goog$object_getSuperClass(t){return(t=Object.getPrototypeOf(t.prototype))&&t.constructor}goog.object.add=module$contents$goog$object_add;goog.object.clear=module$contents$goog$object_clear;goog.object.clone=module$contents$goog$object_clone;goog.object.contains=module$contents$goog$object_contains;goog.object.containsKey=module$contents$goog$object_containsKey;goog.object.containsValue=module$contents$goog$object_containsValue;goog.object.create=module$contents$goog$object_create;goog.object.createImmutableView=module$contents$goog$object_createImmutableView;goog.object.createSet=module$contents$goog$object_createSet;goog.object.equals=module$contents$goog$object_equals;goog.object.every=module$contents$goog$object_every;goog.object.extend=module$contents$goog$object_extend;goog.object.filter=module$contents$goog$object_filter;goog.object.findKey=module$contents$goog$object_findKey;goog.object.findValue=module$contents$goog$object_findValue;goog.object.forEach=module$contents$goog$object_forEach;goog.object.get=module$contents$goog$object_get;goog.object.getAllPropertyNames=module$contents$goog$object_getAllPropertyNames;goog.object.getAnyKey=module$contents$goog$object_getAnyKey;goog.object.getAnyValue=module$contents$goog$object_getAnyValue;goog.object.getCount=module$contents$goog$object_getCount;goog.object.getKeys=module$contents$goog$object_getKeys;goog.object.getSuperClass=module$contents$goog$object_getSuperClass;goog.object.getValueByKeys=module$contents$goog$object_getValueByKeys;goog.object.getValues=module$contents$goog$object_getValues;goog.object.isEmpty=module$contents$goog$object_isEmpty;goog.object.isImmutableView=module$contents$goog$object_isImmutableView;goog.object.map=module$contents$goog$object_map;goog.object.remove=module$contents$goog$object_remove;goog.object.set=module$contents$goog$object_set;goog.object.setIfUndefined=module$contents$goog$object_setIfUndefined;goog.object.setWithReturnValueIfNotSet=module$contents$goog$object_setWithReturnValueIfNotSet;goog.object.some=module$contents$goog$object_some;goog.object.transpose=module$contents$goog$object_transpose;goog.object.unsafeClone=module$contents$goog$object_unsafeClone;goog.debug={};function module$contents$goog$debug$Error_DebugError(t,e){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{let o=Error().stack;o&&(this.stack=o)}t&&(this.message=String(t)),e!==void 0&&(this.cause=e),this.reportErrorToServer=!0}goog.inherits(module$contents$goog$debug$Error_DebugError,Error);module$contents$goog$debug$Error_DebugError.prototype.name="CustomError";goog.debug.Error=module$contents$goog$debug$Error_DebugError;goog.dom={};goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};goog.asserts={};goog.asserts.ENABLE_ASSERTS=goog.DEBUG;function module$contents$goog$asserts_AssertionError(t,e){module$contents$goog$debug$Error_DebugError.call(this,module$contents$goog$asserts_subs(t,e)),this.messagePattern=t}goog.inherits(module$contents$goog$asserts_AssertionError,module$contents$goog$debug$Error_DebugError);goog.asserts.AssertionError=module$contents$goog$asserts_AssertionError;module$contents$goog$asserts_AssertionError.prototype.name="AssertionError";goog.asserts.DEFAULT_ERROR_HANDLER=function(t){throw t};var module$contents$goog$asserts_errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;function module$contents$goog$asserts_subs(t,e){t=t.split("%s");let o="",n=t.length-1;for(let r=0;r<n;r++)o+=t[r]+(r<e.length?e[r]:"%s");return o+t[n]}function module$contents$goog$asserts_doAssertFailure(t,e,o,n){let r="Assertion failed",s;o?(r+=": "+o,s=n):t&&(r+=": "+t,s=e),t=new module$contents$goog$asserts_AssertionError(""+r,s||[]),module$contents$goog$asserts_errorHandler_(t)}goog.asserts.setErrorHandler=function(t){goog.asserts.ENABLE_ASSERTS&&(module$contents$goog$asserts_errorHandler_=t)};goog.asserts.assert=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&!t&&module$contents$goog$asserts_doAssertFailure("",null,e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertExists=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&t==null&&module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.",[t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.fail=function(t,e){goog.asserts.ENABLE_ASSERTS&&module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&typeof t!="number"&&module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertString=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&typeof t!="string"&&module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertFunction=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&typeof t!="function"&&module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertObject=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t)&&module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertArray=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(t)&&module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertBoolean=function(t,e,o){return goog.asserts.ENABLE_ASSERTS&&typeof t!="boolean"&&module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertElement=function(t,e,o){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t)&&t.nodeType==goog.dom.NodeType.ELEMENT||module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t};goog.asserts.assertInstanceof=function(t,e,o,n){return!goog.asserts.ENABLE_ASSERTS||t instanceof e||module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.",[module$contents$goog$asserts_getType(e),module$contents$goog$asserts_getType(t)],o,Array.prototype.slice.call(arguments,3)),t};goog.asserts.assertFinite=function(t,e,o){return!goog.asserts.ENABLE_ASSERTS||typeof t=="number"&&isFinite(t)||module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.",[t],e,Array.prototype.slice.call(arguments,2)),t};function module$contents$goog$asserts_getType(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):t===null?"null":typeof t}goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;function module$contents$goog$array_peek(t){return t[t.length-1]}goog.array.peek=module$contents$goog$array_peek;goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.indexOf.call(t,e,o)}:function(t,e,o){if(o=o==null?0:0>o?Math.max(0,t.length+o):o,typeof t=="string")return typeof e!="string"||e.length!=1?-1:t.indexOf(e,o);for(;o<t.length;o++)if(o in t&&t[o]===e)return o;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.lastIndexOf.call(t,e,o??t.length-1)}:function(t,e,o){if(o=o??t.length-1,0>o&&(o=Math.max(0,t.length+o)),typeof t=="string")return typeof e!="string"||e.length!=1?-1:t.lastIndexOf(e,o);for(;0<=o;o--)if(o in t&&t[o]===e)return o;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(t,e,o){goog.asserts.assert(t.length!=null),Array.prototype.forEach.call(t,e,o)}:function(t,e,o){let n=t.length,r=typeof t=="string"?t.split(""):t;for(let s=0;s<n;s++)s in r&&e.call(o,r[s],s,t)};goog.array.forEach=module$contents$goog$array_forEach;function module$contents$goog$array_forEachRight(t,e,o){var n=t.length;let r=typeof t=="string"?t.split(""):t;for(--n;0<=n;--n)n in r&&e.call(o,r[n],n,t)}goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.filter.call(t,e,o)}:function(t,e,o){let n=t.length,r=[],s=0,i=typeof t=="string"?t.split(""):t;for(let g=0;g<n;g++)if(g in i){let $=i[g];e.call(o,$,g,t)&&(r[s++]=$)}return r};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.map.call(t,e,o)}:function(t,e,o){let n=t.length,r=Array(n),s=typeof t=="string"?t.split(""):t;for(let i=0;i<n;i++)i in s&&(r[i]=e.call(o,s[i],i,t));return r};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(t,e,o,n){return goog.asserts.assert(t.length!=null),n&&(e=goog.bind(e,n)),Array.prototype.reduce.call(t,e,o)}:function(t,e,o,n){let r=o;return module$contents$goog$array_forEach(t,function(s,i){r=e.call(n,r,s,i,t)}),r};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(t,e,o,n){return goog.asserts.assert(t.length!=null),goog.asserts.assert(e!=null),n&&(e=goog.bind(e,n)),Array.prototype.reduceRight.call(t,e,o)}:function(t,e,o,n){let r=o;return module$contents$goog$array_forEachRight(t,function(s,i){r=e.call(n,r,s,i,t)}),r};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.some.call(t,e,o)}:function(t,e,o){let n=t.length,r=typeof t=="string"?t.split(""):t;for(let s=0;s<n;s++)if(s in r&&e.call(o,r[s],s,t))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(t,e,o){return goog.asserts.assert(t.length!=null),Array.prototype.every.call(t,e,o)}:function(t,e,o){let n=t.length,r=typeof t=="string"?t.split(""):t;for(let s=0;s<n;s++)if(s in r&&!e.call(o,r[s],s,t))return!1;return!0};goog.array.every=module$contents$goog$array_every;function module$contents$goog$array_count(t,e,o){let n=0;return module$contents$goog$array_forEach(t,function(r,s,i){e.call(o,r,s,i)&&++n},o),n}goog.array.count=module$contents$goog$array_count;function module$contents$goog$array_find(t,e,o){return e=module$contents$goog$array_findIndex(t,e,o),0>e?null:typeof t=="string"?t.charAt(e):t[e]}goog.array.find=module$contents$goog$array_find;function module$contents$goog$array_findIndex(t,e,o){let n=t.length,r=typeof t=="string"?t.split(""):t;for(let s=0;s<n;s++)if(s in r&&e.call(o,r[s],s,t))return s;return-1}goog.array.findIndex=module$contents$goog$array_findIndex;function module$contents$goog$array_findRight(t,e,o){return e=module$contents$goog$array_findIndexRight(t,e,o),0>e?null:typeof t=="string"?t.charAt(e):t[e]}goog.array.findRight=module$contents$goog$array_findRight;function module$contents$goog$array_findIndexRight(t,e,o){var n=t.length;let r=typeof t=="string"?t.split(""):t;for(--n;0<=n;n--)if(n in r&&e.call(o,r[n],n,t))return n;return-1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function module$contents$goog$array_contains(t,e){return 0<=module$contents$goog$array_indexOf(t,e)}goog.array.contains=module$contents$goog$array_contains;function module$contents$goog$array_isEmpty(t){return t.length==0}goog.array.isEmpty=module$contents$goog$array_isEmpty;function module$contents$goog$array_clear(t){if(!Array.isArray(t))for(let e=t.length-1;0<=e;e--)delete t[e];t.length=0}goog.array.clear=module$contents$goog$array_clear;function module$contents$goog$array_insert(t,e){module$contents$goog$array_contains(t,e)||t.push(e)}goog.array.insert=module$contents$goog$array_insert;function module$contents$goog$array_insertAt(t,e,o){module$contents$goog$array_splice(t,o,0,e)}goog.array.insertAt=module$contents$goog$array_insertAt;function module$contents$goog$array_insertArrayAt(t,e,o){goog.partial(module$contents$goog$array_splice,t,o,0).apply(null,e)}goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt;function module$contents$goog$array_insertBefore(t,e,o){let n;arguments.length==2||0>(n=module$contents$goog$array_indexOf(t,o))?t.push(e):module$contents$goog$array_insertAt(t,e,n)}goog.array.insertBefore=module$contents$goog$array_insertBefore;function module$contents$goog$array_remove(t,e){e=module$contents$goog$array_indexOf(t,e);let o;return(o=0<=e)&&module$contents$goog$array_removeAt(t,e),o}goog.array.remove=module$contents$goog$array_remove;function module$contents$goog$array_removeLast(t,e){return e=module$contents$goog$array_lastIndexOf(t,e),0<=e?(module$contents$goog$array_removeAt(t,e),!0):!1}goog.array.removeLast=module$contents$goog$array_removeLast;function module$contents$goog$array_removeAt(t,e){return goog.asserts.assert(t.length!=null),Array.prototype.splice.call(t,e,1).length==1}goog.array.removeAt=module$contents$goog$array_removeAt;function module$contents$goog$array_removeIf(t,e,o){return e=module$contents$goog$array_findIndex(t,e,o),0<=e?(module$contents$goog$array_removeAt(t,e),!0):!1}goog.array.removeIf=module$contents$goog$array_removeIf;function module$contents$goog$array_removeAllIf(t,e,o){let n=0;return module$contents$goog$array_forEachRight(t,function(r,s){e.call(o,r,s,t)&&module$contents$goog$array_removeAt(t,s)&&n++}),n}goog.array.removeAllIf=module$contents$goog$array_removeAllIf;function module$contents$goog$array_concat(t){return Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$array_concat;function module$contents$goog$array_join(t){return Array.prototype.concat.apply([],arguments)}goog.array.join=module$contents$goog$array_join;function module$contents$goog$array_toArray(t){let e=t.length;if(0<e){let o=Array(e);for(let n=0;n<e;n++)o[n]=t[n];return o}return[]}var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;goog.array.clone=module$contents$goog$array_toArray;function module$contents$goog$array_extend(t,e){for(let o=1;o<arguments.length;o++){let n=arguments[o];if(goog.isArrayLike(n)){let r=t.length||0,s=n.length||0;t.length=r+s;for(let i=0;i<s;i++)t[r+i]=n[i]}else t.push(n)}}goog.array.extend=module$contents$goog$array_extend;function module$contents$goog$array_splice(t,e,o,n){return goog.asserts.assert(t.length!=null),Array.prototype.splice.apply(t,module$contents$goog$array_slice(arguments,1))}goog.array.splice=module$contents$goog$array_splice;function module$contents$goog$array_slice(t,e,o){return goog.asserts.assert(t.length!=null),2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,o)}goog.array.slice=module$contents$goog$array_slice;function module$contents$goog$array_removeDuplicates(t,e,o){e=e||t;var n=function(i){return goog.isObject(i)?"o"+goog.getUid(i):(typeof i).charAt(0)+i};o=o||n;let r=n=0,s={};for(;r<t.length;){let i=t[r++],g=o(i);Object.prototype.hasOwnProperty.call(s,g)||(s[g]=!0,e[n++]=i)}e.length=n}goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates;function module$contents$goog$array_binarySearch(t,e,o){return module$contents$goog$array_binarySearch_(t,o||module$contents$goog$array_defaultCompare,!1,e)}goog.array.binarySearch=module$contents$goog$array_binarySearch;function module$contents$goog$array_binarySelect(t,e,o){return module$contents$goog$array_binarySearch_(t,e,!0,void 0,o)}goog.array.binarySelect=module$contents$goog$array_binarySelect;function module$contents$goog$array_binarySearch_(t,e,o,n,r){let s=0,i=t.length,g;for(;s<i;){let $=s+(i-s>>>1),l;l=o?e.call(r,t[$],$,t):e(n,t[$]),0<l?s=$+1:(i=$,g=!l)}return g?s:-s-1}function module$contents$goog$array_sort(t,e){t.sort(e||module$contents$goog$array_defaultCompare)}goog.array.sort=module$contents$goog$array_sort;function module$contents$goog$array_stableSort(t,e){let o=Array(t.length);for(let r=0;r<t.length;r++)o[r]={index:r,value:t[r]};let n=e||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(o,function(r,s){return n(r.value,s.value)||r.index-s.index}),e=0;e<t.length;e++)t[e]=o[e].value}goog.array.stableSort=module$contents$goog$array_stableSort;function module$contents$goog$array_sortByKey(t,e,o){let n=o||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(t,function(r,s){return n(e(r),e(s))})}goog.array.sortByKey=module$contents$goog$array_sortByKey;function module$contents$goog$array_sortObjectsByKey(t,e,o){module$contents$goog$array_sortByKey(t,function(n){return n[e]},o)}goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey;function module$contents$goog$array_isSorted(t,e,o){e=e||module$contents$goog$array_defaultCompare;for(let n=1;n<t.length;n++){let r=e(t[n-1],t[n]);if(0<r||r==0&&o)return!1}return!0}goog.array.isSorted=module$contents$goog$array_isSorted;function module$contents$goog$array_equals(t,e,o){if(!goog.isArrayLike(t)||!goog.isArrayLike(e)||t.length!=e.length)return!1;let n=t.length;o=o||module$contents$goog$array_defaultCompareEquality;for(let r=0;r<n;r++)if(!o(t[r],e[r]))return!1;return!0}goog.array.equals=module$contents$goog$array_equals;function module$contents$goog$array_compare3(t,e,o){o=o||module$contents$goog$array_defaultCompare;let n=Math.min(t.length,e.length);for(let r=0;r<n;r++){let s=o(t[r],e[r]);if(s!=0)return s}return module$contents$goog$array_defaultCompare(t.length,e.length)}goog.array.compare3=module$contents$goog$array_compare3;function module$contents$goog$array_defaultCompare(t,e){return t>e?1:t<e?-1:0}goog.array.defaultCompare=module$contents$goog$array_defaultCompare;function module$contents$goog$array_inverseDefaultCompare(t,e){return-module$contents$goog$array_defaultCompare(t,e)}goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare;function module$contents$goog$array_defaultCompareEquality(t,e){return t===e}goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality;function module$contents$goog$array_binaryInsert(t,e,o){return o=module$contents$goog$array_binarySearch(t,e,o),0>o?(module$contents$goog$array_insertAt(t,e,-(o+1)),!0):!1}goog.array.binaryInsert=module$contents$goog$array_binaryInsert;function module$contents$goog$array_binaryRemove(t,e,o){return e=module$contents$goog$array_binarySearch(t,e,o),0<=e?module$contents$goog$array_removeAt(t,e):!1}goog.array.binaryRemove=module$contents$goog$array_binaryRemove;function module$contents$goog$array_bucket(t,e,o){let n={};for(let r=0;r<t.length;r++){let s=t[r],i=e.call(o,s,r,t);i!==void 0&&(n[i]||(n[i]=[])).push(s)}return n}goog.array.bucket=module$contents$goog$array_bucket;function module$contents$goog$array_bucketToMap(t,e){let o=new Map;for(let n=0;n<t.length;n++){let r=t[n],s=e(r,n,t);if(s!==void 0){let i=o.get(s);i||(i=[],o.set(s,i)),i.push(r)}}return o}goog.array.bucketToMap=module$contents$goog$array_bucketToMap;function module$contents$goog$array_toObject(t,e,o){let n={};return module$contents$goog$array_forEach(t,function(r,s){n[e.call(o,r,s,t)]=r}),n}goog.array.toObject=module$contents$goog$array_toObject;function module$contents$goog$array_toMap(t,e){let o=new Map;for(let n=0;n<t.length;n++){let r=t[n];o.set(e(r,n,t),r)}return o}goog.array.toMap=module$contents$goog$array_toMap;function module$contents$goog$array_range(t,e,o){let n=[],r=0,s=t;if(o=o||1,e!==void 0&&(r=t,s=e),0>o*(s-r))return[];if(0<o)for(t=r;t<s;t+=o)n.push(t);else for(t=r;t>s;t+=o)n.push(t);return n}goog.array.range=module$contents$goog$array_range;function module$contents$goog$array_repeat(t,e){let o=[];for(let n=0;n<e;n++)o[n]=t;return o}goog.array.repeat=module$contents$goog$array_repeat;function module$contents$goog$array_flatten(t){let e=[];for(let n=0;n<arguments.length;n++){let r=arguments[n];if(Array.isArray(r))for(let s=0;s<r.length;s+=8192){var o=module$contents$goog$array_slice(r,s,s+8192);o=module$contents$goog$array_flatten.apply(null,o);for(let i=0;i<o.length;i++)e.push(o[i])}else e.push(r)}return e}goog.array.flatten=module$contents$goog$array_flatten;function module$contents$goog$array_rotate(t,e){return goog.asserts.assert(t.length!=null),t.length&&(e%=t.length,0<e?Array.prototype.unshift.apply(t,t.splice(-e,e)):0>e&&Array.prototype.push.apply(t,t.splice(0,-e))),t}goog.array.rotate=module$contents$goog$array_rotate;function module$contents$goog$array_moveItem(t,e,o){goog.asserts.assert(0<=e&&e<t.length),goog.asserts.assert(0<=o&&o<t.length),e=Array.prototype.splice.call(t,e,1),Array.prototype.splice.call(t,o,0,e[0])}goog.array.moveItem=module$contents$goog$array_moveItem;function module$contents$goog$array_zip(t){if(!arguments.length)return[];let e=[],o=arguments[0].length;for(var n=1;n<arguments.length;n++)arguments[n].length<o&&(o=arguments[n].length);for(n=0;n<o;n++){let r=[];for(let s=0;s<arguments.length;s++)r.push(arguments[s][n]);e.push(r)}return e}goog.array.zip=module$contents$goog$array_zip;function module$contents$goog$array_shuffle(t,e){e=e||Math.random;for(let o=t.length-1;0<o;o--){let n=Math.floor(e()*(o+1)),r=t[o];t[o]=t[n],t[n]=r}}goog.array.shuffle=module$contents$goog$array_shuffle;function module$contents$goog$array_copyByIndex(t,e){let o=[];return module$contents$goog$array_forEach(e,function(n){o.push(t[n])}),o}goog.array.copyByIndex=module$contents$goog$array_copyByIndex;function module$contents$goog$array_concatMap(t,e,o){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(t,e,o))}goog.array.concatMap=module$contents$goog$array_concatMap;var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(t,e,o,n){let r="Assertion failed",s;throw o?(r+=": "+o,s=n):t&&(r+=": "+t,s=e),Error(""+r,s||[])};jspb.asserts.assert=function(t,e,...o){return t||jspb.asserts.doAssertFailure("",null,e,o),t};jspb.asserts.assertString=function(t,e,...o){return typeof t!="string"&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(t),t],e,o),t};jspb.asserts.assertArray=function(t,e,...o){return Array.isArray(t)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(t),t],e,o),t};jspb.asserts.fail=function(t,...e){throw Error("Failure"+(t?": "+t:""),e)};jspb.asserts.assertInstanceof=function(t,e,o,...n){return t instanceof e||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(e),jspb.asserts.getType(t)],o,n),t};jspb.asserts.getType=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):t===null?"null":typeof t};jspb.Map=function(t,e){this.arr_=t,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()};goog.exportSymbol("jspb.Map",jspb.Map);jspb.Map.prototype.loadFromArray_=function(){for(var t=0;t<this.arr_.length;t++){var e=this.arr_[t],o=e[0];this.map_[o.toString()]=new jspb.Map.Entry_(o,e[1])}this.arrClean=!0};jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var t=this.map_,e;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].valueWrapper;o&&o.toArray()}}}else{for(this.arr_.length=0,t=this.stringKeys_(),t.sort(),e=0;e<t.length;e++){var n=this.map_[t[e]];(o=n.valueWrapper)&&o.toArray(),this.arr_.push([n.key,n.value])}this.arrClean=!0}return this.arr_};goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray);jspb.Map.prototype.toObject=function(t,e){for(var o=this.toArray(),n=[],r=0;r<o.length;r++){var s=this.map_[o[r][0].toString()];this.wrapEntry_(s);var i=s.valueWrapper;i?(jspb.asserts.assert(e),n.push([s.key,e(t,i)])):n.push([s.key,s.value])}return n};goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject);jspb.Map.fromObject=function(t,e,o){e=new jspb.Map([],e);for(var n=0;n<t.length;n++){var r=t[n][0],s=o(t[n][1]);e.set(r,s)}return e};goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject);jspb.Map.ArrayIteratorIterable_=function(t){this.idx_=0,this.arr_=t};jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this});jspb.Map.prototype.getLength=function(){return this.stringKeys_().length};goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength);jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1};goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear);jspb.Map.prototype.del=function(t){t=t.toString();var e=this.map_.hasOwnProperty(t);return delete this.map_[t],this.arrClean=!1,e};goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del);jspb.Map.prototype.getEntryList=function(){var t=[],e=this.stringKeys_();e.sort();for(var o=0;o<e.length;o++){var n=this.map_[e[o]];t.push([n.key,n.value])}return t};goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList);jspb.Map.prototype.entries=function(){var t=[],e=this.stringKeys_();e.sort();for(var o=0;o<e.length;o++){var n=this.map_[e[o]];t.push([n.key,this.wrapEntry_(n)])}return new jspb.Map.ArrayIteratorIterable_(t)};goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries);jspb.Map.prototype.keys=function(){var t=[],e=this.stringKeys_();e.sort();for(var o=0;o<e.length;o++)t.push(this.map_[e[o]].key);return new jspb.Map.ArrayIteratorIterable_(t)};goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys);jspb.Map.prototype.values=function(){var t=[],e=this.stringKeys_();e.sort();for(var o=0;o<e.length;o++)t.push(this.wrapEntry_(this.map_[e[o]]));return new jspb.Map.ArrayIteratorIterable_(t)};goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values);jspb.Map.prototype.forEach=function(t,e){var o=this.stringKeys_();o.sort();for(var n=0;n<o.length;n++){var r=this.map_[o[n]];t.call(e,this.wrapEntry_(r),r.key,this)}};goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach);jspb.Map.prototype.set=function(t,e){var o=new jspb.Map.Entry_(t);return this.valueCtor_?(o.valueWrapper=e,o.value=e.toArray()):o.value=e,this.map_[t.toString()]=o,this.arrClean=!1,this};goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set);jspb.Map.prototype.wrapEntry_=function(t){return this.valueCtor_?(t.valueWrapper||(t.valueWrapper=new this.valueCtor_(t.value)),t.valueWrapper):t.value};jspb.Map.prototype.get=function(t){if(t=this.map_[t.toString()])return this.wrapEntry_(t)};goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get);jspb.Map.prototype.has=function(t){return t.toString()in this.map_};goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has);jspb.Map.deserializeBinary=function(t,e,o,n,r,s,i){for(;e.nextField()&&!e.isEndGroup();){var g=e.getFieldNumber();g==1?s=o.call(e):g==2&&(t.valueCtor_?(jspb.asserts.assert(r),i||=new t.valueCtor_,n.call(e,i,r)):i=n.call(e))}jspb.asserts.assert(s!=null),jspb.asserts.assert(i!=null),t.set(s,i)};goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary);jspb.Map.prototype.stringKeys_=function(){var t=this.map_,e=[],o;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.push(o);return e};jspb.Map.Entry_=function(t,e){this.key=t,this.value=e,this.valueWrapper=void 0};goog.async={};function module$contents$goog$async$throwException_throwException(t){goog.global.setTimeout(()=>{throw t},0)}goog.async.throwException=module$contents$goog$async$throwException_throwException;goog.crypt={};goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE=goog.DEBUG;goog.crypt.TEST_ONLY={};goog.crypt.TEST_ONLY.throwException=module$contents$goog$async$throwException_throwException;goog.crypt.TEST_ONLY.alwaysThrowSynchronously=goog.DEBUG;goog.crypt.binaryStringToByteArray=function(t){return goog.crypt.stringToByteArray(t,!0)};goog.crypt.stringToByteArray=function(t,e){for(var o=[],n=0,r=0;r<t.length;r++){var s=t.charCodeAt(r);if(255<s){var i=Error("go/unicode-to-byte-error");if(goog.crypt.TEST_ONLY.alwaysThrowSynchronously||e)throw i;goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE&&goog.crypt.TEST_ONLY.throwException(i),o[n++]=s&255,s>>=8}o[n++]=s}return o};goog.crypt.byteArrayToString=function(t){return goog.crypt.byteArrayToBinaryString(t)};goog.crypt.byteArrayToBinaryString=function(t){if(8192>=t.length)return String.fromCharCode.apply(null,t);for(var e="",o=0;o<t.length;o+=8192){var n=Array.prototype.slice.call(t,o,o+8192);e+=String.fromCharCode.apply(null,n)}return e};goog.crypt.byteArrayToHex=function(t,e){return Array.prototype.map.call(t,function(o){return o=o.toString(16),1<o.length?o:"0"+o}).join(e||"")};goog.crypt.hexToByteArray=function(t){goog.asserts.assert(t.length%2==0,"Key string length must be multiple of 2");for(var e=[],o=0;o<t.length;o+=2)e.push(parseInt(t.substring(o,o+2),16));return e};goog.crypt.stringToUtf8ByteArray=function(t){return goog.crypt.textToByteArray(t)};goog.crypt.textToByteArray=function(t){for(var e=[],o=0,n=0;n<t.length;n++){var r=t.charCodeAt(n);128>r?e[o++]=r:(2048>r?e[o++]=r>>6|192:((r&64512)==55296&&n+1<t.length&&(t.charCodeAt(n+1)&64512)==56320?(r=65536+((r&1023)<<10)+(t.charCodeAt(++n)&1023),e[o++]=r>>18|240,e[o++]=r>>12&63|128):e[o++]=r>>12|224,e[o++]=r>>6&63|128),e[o++]=r&63|128)}return e};goog.crypt.utf8ByteArrayToString=function(t){return goog.crypt.byteArrayToText(t)};goog.crypt.byteArrayToText=function(t){for(var e=[],o=0,n=0;o<t.length;){var r=t[o++];if(128>r)e[n++]=String.fromCharCode(r);else if(191<r&&224>r){var s=t[o++];e[n++]=String.fromCharCode((r&31)<<6|s&63)}else if(239<r&&365>r){s=t[o++];var i=t[o++],g=t[o++];r=((r&7)<<18|(s&63)<<12|(i&63)<<6|g&63)-65536,e[n++]=String.fromCharCode(55296+(r>>10)),e[n++]=String.fromCharCode(56320+(r&1023))}else s=t[o++],i=t[o++],e[n++]=String.fromCharCode((r&15)<<12|(s&63)<<6|i&63)}return e.join("")};goog.crypt.xorByteArray=function(t,e){goog.asserts.assert(t.length==e.length,"XOR array lengths must match");for(var o=[],n=0;n<t.length;n++)o.push(t[n]^e[n]);return o};goog.string={};goog.string.internal={};goog.string.internal.startsWith=function(t,e){return t.lastIndexOf(e,0)==0};goog.string.internal.endsWith=function(t,e){let o=t.length-e.length;return 0<=o&&t.indexOf(e,o)==o};goog.string.internal.caseInsensitiveStartsWith=function(t,e){return goog.string.internal.caseInsensitiveCompare(e,t.slice(0,e.length))==0};goog.string.internal.caseInsensitiveEndsWith=function(t,e){return goog.string.internal.caseInsensitiveCompare(e,t.slice(t.length-e.length))==0};goog.string.internal.caseInsensitiveEquals=function(t,e){return t.toLowerCase()==e.toLowerCase()};goog.string.internal.isEmptyOrWhitespace=function(t){return/^[\s\xa0]*$/.test(t)};goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]};goog.string.internal.caseInsensitiveCompare=function(t,e){return t=String(t).toLowerCase(),e=String(e).toLowerCase(),t<e?-1:t==e?0:1};goog.string.internal.newLineToBr=function(t,e){return t.replace(/(\r\n|\r|\n)/g,e?"<br />":"<br>")};goog.string.internal.htmlEscape=function(t,e){if(e)t=t.replace(goog.string.internal.AMP_RE_,"&").replace(goog.string.internal.LT_RE_,"<").replace(goog.string.internal.GT_RE_,">").replace(goog.string.internal.QUOT_RE_,""").replace(goog.string.internal.SINGLE_QUOTE_RE_,"'").replace(goog.string.internal.NULL_RE_,"�");else{if(!goog.string.internal.ALL_RE_.test(t))return t;t.indexOf("&")!=-1&&(t=t.replace(goog.string.internal.AMP_RE_,"&")),t.indexOf("<")!=-1&&(t=t.replace(goog.string.internal.LT_RE_,"<")),t.indexOf(">")!=-1&&(t=t.replace(goog.string.internal.GT_RE_,">")),t.indexOf('"')!=-1&&(t=t.replace(goog.string.internal.QUOT_RE_,""")),t.indexOf("'")!=-1&&(t=t.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),t.indexOf("\0")!=-1&&(t=t.replace(goog.string.internal.NULL_RE_,"�"))}return t};goog.string.internal.AMP_RE_=/&/g;goog.string.internal.LT_RE_=/</g;goog.string.internal.GT_RE_=/>/g;goog.string.internal.QUOT_RE_=/"/g;goog.string.internal.SINGLE_QUOTE_RE_=/'/g;goog.string.internal.NULL_RE_=/\x00/g;goog.string.internal.ALL_RE_=/[\x00&<>"']/;goog.string.internal.whitespaceEscape=function(t,e){return goog.string.internal.newLineToBr(t.replace(/ /g,"  "),e)};goog.string.internal.contains=function(t,e){return t.indexOf(e)!=-1};goog.string.internal.caseInsensitiveContains=function(t,e){return goog.string.internal.contains(t.toLowerCase(),e.toLowerCase())};goog.string.internal.compareVersions=function(t,e){var o=0;t=goog.string.internal.trim(String(t)).split("."),e=goog.string.internal.trim(String(e)).split(".");let n=Math.max(t.length,e.length);for(let i=0;o==0&&i<n;i++){var r=t[i]||"",s=e[i]||"";do{if(r=/(\d*)(\D*)(.*)/.exec(r)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],r[0].length==0&&s[0].length==0)break;o=r[1].length==0?0:parseInt(r[1],10);let g=s[1].length==0?0:parseInt(s[1],10);o=goog.string.internal.compareElements_(o,g)||goog.string.internal.compareElements_(r[2].length==0,s[2].length==0)||goog.string.internal.compareElements_(r[2],s[2]),r=r[3],s=s[3]}while(o==0)}return o};goog.string.internal.compareElements_=function(t,e){return t<e?-1:t>e?1:0};goog.flags={};goog.flags.USE_USER_AGENT_CLIENT_HINTS=!1;goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE=!1;goog.labs={};goog.labs.userAgent={};var module$contents$goog$labs$userAgent_USE_CLIENT_HINTS_OVERRIDE="",module$contents$goog$labs$userAgent_USE_CLIENT_HINTS=!1,module$contents$goog$labs$userAgent_forceClientHintsInTests=!1;goog.labs.userAgent.setUseClientHintsForTesting=t=>{module$contents$goog$labs$userAgent_forceClientHintsInTests=t};var module$contents$goog$labs$userAgent_useClientHintsRuntimeOverride=module$contents$goog$labs$userAgent_USE_CLIENT_HINTS_OVERRIDE?!!goog.getObjectByName(module$contents$goog$labs$userAgent_USE_CLIENT_HINTS_OVERRIDE):!1;goog.labs.userAgent.useClientHints=()=>goog.flags.USE_USER_AGENT_CLIENT_HINTS||module$contents$goog$labs$userAgent_USE_CLIENT_HINTS||module$contents$goog$labs$userAgent_useClientHintsRuntimeOverride||module$contents$goog$labs$userAgent_forceClientHintsInTests;goog.labs.userAgent.util={};var module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT=!1;function module$contents$goog$labs$userAgent$util_getNativeUserAgentString(){var t=module$contents$goog$labs$userAgent$util_getNavigator();return t&&(t=t.userAgent)?t:""}function module$contents$goog$labs$userAgent$util_getNativeUserAgentData(){let t=module$contents$goog$labs$userAgent$util_getNavigator();return t&&t.userAgentData||null}function module$contents$goog$labs$userAgent$util_getNavigator(){return goog.global.navigator}var module$contents$goog$labs$userAgent$util_userAgentInternal=null,module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData();function module$contents$goog$labs$userAgent$util_setUserAgent(t){module$contents$goog$labs$userAgent$util_userAgentInternal=typeof t=="string"?t:module$contents$goog$labs$userAgent$util_getNativeUserAgentString()}function module$contents$goog$labs$userAgent$util_getUserAgent(){return module$contents$goog$labs$userAgent$util_userAgentInternal??module$contents$goog$labs$userAgent$util_getNativeUserAgentString()}function module$contents$goog$labs$userAgent$util_setUserAgentData(t){module$contents$goog$labs$userAgent$util_userAgentDataInternal=t}function module$contents$goog$labs$userAgent$util_resetUserAgentData(){module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData()}function module$contents$goog$labs$userAgent$util_getUserAgentData(){return module$contents$goog$labs$userAgent$util_userAgentDataInternal}function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(t){if(!(0,goog.labs.userAgent.useClientHints)())return!1;let e=module$contents$goog$labs$userAgent$util_getUserAgentData();return e?e.brands.some(({brand:o})=>o&&(0,goog.string.internal.contains)(o,t)):!1}function module$contents$goog$labs$userAgent$util_matchUserAgent(t){let e=module$contents$goog$labs$userAgent$util_getUserAgent();return(0,goog.string.internal.contains)(e,t)}function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(t){let e=module$contents$goog$labs$userAgent$util_getUserAgent();return(0,goog.string.internal.caseInsensitiveContains)(e,t)}function module$contents$goog$labs$userAgent$util_extractVersionTuples(t){let e=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),o=[],n;for(;n=e.exec(t);)o.push([n[1],n[2],n[3]||void 0]);return o}goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT=module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT;goog.labs.userAgent.util.extractVersionTuples=module$contents$goog$labs$userAgent$util_extractVersionTuples;goog.labs.userAgent.util.getNativeUserAgentString=module$contents$goog$labs$userAgent$util_getNativeUserAgentString;goog.labs.userAgent.util.getUserAgent=module$contents$goog$labs$userAgent$util_getUserAgent;goog.labs.userAgent.util.getUserAgentData=module$contents$goog$labs$userAgent$util_getUserAgentData;goog.labs.userAgent.util.matchUserAgent=module$contents$goog$labs$userAgent$util_matchUserAgent;goog.labs.userAgent.util.matchUserAgentDataBrand=module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand;goog.labs.userAgent.util.matchUserAgentIgnoreCase=module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;goog.labs.userAgent.util.resetUserAgentData=module$contents$goog$labs$userAgent$util_resetUserAgentData;goog.labs.userAgent.util.setUserAgent=module$contents$goog$labs$userAgent$util_setUserAgent;goog.labs.userAgent.util.setUserAgentData=module$contents$goog$labs$userAgent$util_setUserAgentData;var module$exports$goog$labs$userAgent$highEntropy$highEntropyValue={AsyncValue:class{getIfLoaded(){}load(){}},HighEntropyValue:class{constructor(t){this.key_=t,this.promise_=this.value_=void 0,this.pending_=!1}getIfLoaded(){if(module$contents$goog$labs$userAgent$util_getUserAgentData())return this.value_}async load(){let t=module$contents$goog$labs$userAgent$util_getUserAgentData();if(t)return this.promise_||(this.pending_=!0,this.promise_=(async()=>{try{return this.value_=(await t.getHighEntropyValues([this.key_]))[this.key_]}finally{this.pending_=!1}})()),await this.promise_}resetForTesting(){if(this.pending_)throw Error("Unsafe call to resetForTesting");this.value_=this.promise_=void 0,this.pending_=!1}},Version:class{constructor(t){this.versionString_=t}toVersionStringForLogging(){return this.versionString_}isAtLeast(t){return 0<=(0,goog.string.internal.compareVersions)(this.versionString_,t)}}},module$exports$goog$labs$userAgent$highEntropy$highEntropyData={};module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("platformVersion");goog.labs.userAgent.browser={};var module$contents$goog$labs$userAgent$browser_Brand={ANDROID_BROWSER:"Android Browser",CHROMIUM:"Chromium",EDGE:"Microsoft Edge",FIREFOX:"Firefox",IE:"Internet Explorer",OPERA:"Opera",SAFARI:"Safari",SILK:"Silk"};goog.labs.userAgent.browser.Brand=module$contents$goog$labs$userAgent$browser_Brand;function module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(t=!1){return module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT?!0:!t&&!(0,goog.labs.userAgent.useClientHints)()?!1:(t=module$contents$goog$labs$userAgent$util_getUserAgentData(),!!t&&0<t.brands.length)}function module$contents$goog$labs$userAgent$browser_hasFullVersionList(){return module$contents$goog$labs$userAgent$browser_isAtLeast(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM,98)}function module$contents$goog$labs$userAgent$browser_matchOpera(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!1:module$contents$goog$labs$userAgent$util_matchUserAgent("Opera")}function module$contents$goog$labs$userAgent$browser_matchIE(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!1:module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}function module$contents$goog$labs$userAgent$browser_matchEdgeHtml(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!1:module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}function module$contents$goog$labs$userAgent$browser_matchEdgeChromium(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.EDGE):module$contents$goog$labs$userAgent$util_matchUserAgent("Edg/")}function module$contents$goog$labs$userAgent$browser_matchOperaChromium(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.OPERA):module$contents$goog$labs$userAgent$util_matchUserAgent("OPR")}function module$contents$goog$labs$userAgent$browser_matchFirefox(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Firefox")||module$contents$goog$labs$userAgent$util_matchUserAgent("FxiOS")}function module$contents$goog$labs$userAgent$browser_matchSafari(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Safari")&&!(module$contents$goog$labs$userAgent$browser_matchChrome()||module$contents$goog$labs$userAgent$browser_matchCoast()||module$contents$goog$labs$userAgent$browser_matchOpera()||module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||module$contents$goog$labs$userAgent$browser_matchEdgeChromium()||module$contents$goog$labs$userAgent$browser_matchOperaChromium()||module$contents$goog$labs$userAgent$browser_matchFirefox()||module$contents$goog$labs$userAgent$browser_isSilk()||module$contents$goog$labs$userAgent$util_matchUserAgent("Android"))}function module$contents$goog$labs$userAgent$browser_matchCoast(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!1:module$contents$goog$labs$userAgent$util_matchUserAgent("Coast")}function module$contents$goog$labs$userAgent$browser_matchIosWebview(){return(module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")||module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone"))&&!module$contents$goog$labs$userAgent$browser_matchSafari()&&!module$contents$goog$labs$userAgent$browser_matchChrome()&&!module$contents$goog$labs$userAgent$browser_matchCoast()&&!module$contents$goog$labs$userAgent$browser_matchFirefox()&&module$contents$goog$labs$userAgent$util_matchUserAgent("AppleWebKit")}function module$contents$goog$labs$userAgent$browser_matchChrome(){return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM):(module$contents$goog$labs$userAgent$util_matchUserAgent("Chrome")||module$contents$goog$labs$userAgent$util_matchUserAgent("CriOS"))&&!module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||module$contents$goog$labs$userAgent$browser_isSilk()}function module$contents$goog$labs$userAgent$browser_matchAndroidBrowser(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Android")&&!(module$contents$goog$labs$userAgent$browser_matchChrome()||module$contents$goog$labs$userAgent$browser_matchFirefox()||module$contents$goog$labs$userAgent$browser_matchOpera()||module$contents$goog$labs$userAgent$browser_isSilk())}var module$contents$goog$labs$userAgent$browser_isOpera=module$contents$goog$labs$userAgent$browser_matchOpera;goog.labs.userAgent.browser.isOpera=module$contents$goog$labs$userAgent$browser_matchOpera;var module$contents$goog$labs$userAgent$browser_isIE=module$contents$goog$labs$userAgent$browser_matchIE;goog.labs.userAgent.browser.isIE=module$contents$goog$labs$userAgent$browser_matchIE;var module$contents$goog$labs$userAgent$browser_isEdge=module$contents$goog$labs$userAgent$browser_matchEdgeHtml;goog.labs.userAgent.browser.isEdge=module$contents$goog$labs$userAgent$browser_matchEdgeHtml;var module$contents$goog$labs$userAgent$browser_isEdgeChromium=module$contents$goog$labs$userAgent$browser_matchEdgeChromium;goog.labs.userAgent.browser.isEdgeChromium=module$contents$goog$labs$userAgent$browser_matchEdgeChromium;var module$contents$goog$labs$userAgent$browser_isOperaChromium=module$contents$goog$labs$userAgent$browser_matchOperaChromium;goog.labs.userAgent.browser.isOperaChromium=module$contents$goog$labs$userAgent$browser_matchOperaChromium;var module$contents$goog$labs$userAgent$browser_isFirefox=module$contents$goog$labs$userAgent$browser_matchFirefox;goog.labs.userAgent.browser.isFirefox=module$contents$goog$labs$userAgent$browser_matchFirefox;var module$contents$goog$labs$userAgent$browser_isSafari=module$contents$goog$labs$userAgent$browser_matchSafari;goog.labs.userAgent.browser.isSafari=module$contents$goog$labs$userAgent$browser_matchSafari;var module$contents$goog$labs$userAgent$browser_isCoast=module$contents$goog$labs$userAgent$browser_matchCoast;goog.labs.userAgent.browser.isCoast=module$contents$goog$labs$userAgent$browser_matchCoast;var module$contents$goog$labs$userAgent$browser_isIosWebview=module$contents$goog$labs$userAgent$browser_matchIosWebview;goog.labs.userAgent.browser.isIosWebview=module$contents$goog$labs$userAgent$browser_matchIosWebview;var module$contents$goog$labs$userAgent$browser_isChrome=module$contents$goog$labs$userAgent$browser_matchChrome;goog.labs.userAgent.browser.isChrome=module$contents$goog$labs$userAgent$browser_matchChrome;var module$contents$goog$labs$userAgent$browser_isAndroidBrowser=module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;goog.labs.userAgent.browser.isAndroidBrowser=module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;function module$contents$goog$labs$userAgent$browser_isSilk(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Silk")}goog.labs.userAgent.browser.isSilk=module$contents$goog$labs$userAgent$browser_isSilk;function module$contents$goog$labs$userAgent$browser_createVersionMap(t){let e={};return t.forEach(o=>{e[o[0]]=o[1]}),o=>e[o.find(n=>n in e)]||""}function module$contents$goog$labs$userAgent$browser_getVersion(){var t=module$contents$goog$labs$userAgent$util_getUserAgent();if(module$contents$goog$labs$userAgent$browser_matchIE())return module$contents$goog$labs$userAgent$browser_getIEVersion(t);t=module$contents$goog$labs$userAgent$util_extractVersionTuples(t);let e=module$contents$goog$labs$userAgent$browser_createVersionMap(t);return module$contents$goog$labs$userAgent$browser_matchOpera()?e(["Version","Opera"]):module$contents$goog$labs$userAgent$browser_matchEdgeHtml()?e(["Edge"]):module$contents$goog$labs$userAgent$browser_matchEdgeChromium()?e(["Edg"]):module$contents$goog$labs$userAgent$browser_isSilk()?e(["Silk"]):module$contents$goog$labs$userAgent$browser_matchChrome()?e(["Chrome","CriOS","HeadlessChrome"]):(t=t[2])&&t[1]||""}goog.labs.userAgent.browser.getVersion=module$contents$goog$labs$userAgent$browser_getVersion;function module$contents$goog$labs$userAgent$browser_isVersionOrHigher(t){return 0<=(0,goog.string.internal.compareVersions)(module$contents$goog$labs$userAgent$browser_getVersion(),t)}goog.labs.userAgent.browser.isVersionOrHigher=module$contents$goog$labs$userAgent$browser_isVersionOrHigher;function module$contents$goog$labs$userAgent$browser_getIEVersion(t){var e=/rv: *([\d\.]*)/.exec(t);if(e&&e[1])return e[1];e="";let o=/MSIE +([\d\.]+)/.exec(t);if(o&&o[1])if(t=/Trident\/(\d.\d)/.exec(t),o[1]=="7.0")if(t&&t[1])switch(t[1]){case"4.0":e="8.0";break;case"5.0":e="9.0";break;case"6.0":e="10.0";break;case"7.0":e="11.0"}else e="7.0";else e=o[1];return e}function module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(t){var e=module$contents$goog$labs$userAgent$util_getUserAgent();if(t===module$contents$goog$labs$userAgent$browser_Brand.IE)return module$contents$goog$labs$userAgent$browser_matchIE()?module$contents$goog$labs$userAgent$browser_getIEVersion(e):"";e=module$contents$goog$labs$userAgent$util_extractVersionTuples(e);let o=module$contents$goog$labs$userAgent$browser_createVersionMap(e);switch(t){case module$contents$goog$labs$userAgent$browser_Brand.OPERA:if(module$contents$goog$labs$userAgent$browser_matchOpera())return o(["Version","Opera"]);if(module$contents$goog$labs$userAgent$browser_matchOperaChromium())return o(["OPR"]);break;case module$contents$goog$labs$userAgent$browser_Brand.EDGE:if(module$contents$goog$labs$userAgent$browser_matchEdgeHtml())return o(["Edge"]);if(module$contents$goog$labs$userAgent$browser_matchEdgeChromium())return o(["Edg"]);break;case module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM:if(module$contents$goog$labs$userAgent$browser_matchChrome())return o(["Chrome","CriOS","HeadlessChrome"])}return(t===module$contents$goog$labs$userAgent$browser_Brand.FIREFOX&&module$contents$goog$labs$userAgent$browser_matchFirefox()||t===module$contents$goog$labs$userAgent$browser_Brand.SAFARI&&module$contents$goog$labs$userAgent$browser_matchSafari()||t===module$contents$goog$labs$userAgent$browser_Brand.ANDROID_BROWSER&&module$contents$goog$labs$userAgent$browser_matchAndroidBrowser()||t===module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$labs$userAgent$browser_isSilk())&&(t=e[2])&&t[1]||""}function module$contents$goog$labs$userAgent$browser_versionOf_(t){if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()&&t!==module$contents$goog$labs$userAgent$browser_Brand.SILK){var e=module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:o})=>o===t);if(!e||!e.version)return NaN;e=e.version.split(".")}else{if(e=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(t),e==="")return NaN;e=e.split(".")}return e.length===0?NaN:Number(e[0])}function module$contents$goog$labs$userAgent$browser_isAtLeast(t,e){return(0,goog.asserts.assert)(Math.floor(e)===e,"Major version must be an integer"),module$contents$goog$labs$userAgent$browser_versionOf_(t)>=e}goog.labs.userAgent.browser.isAtLeast=module$contents$goog$labs$userAgent$browser_isAtLeast;function module$contents$goog$labs$userAgent$browser_isAtMost(t,e){return(0,goog.asserts.assert)(Math.floor(e)===e,"Major version must be an integer"),module$contents$goog$labs$userAgent$browser_versionOf_(t)<=e}goog.labs.userAgent.browser.isAtMost=module$contents$goog$labs$userAgent$browser_isAtMost;var module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion=class{constructor(e,o,n){this.brand_=e,this.version_=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(n),this.useUach_=o}getIfLoaded(){if(this.useUach_){var e=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();if(e!==void 0)return e=e.find(({brand:o})=>this.brand_===o),(0,goog.asserts.assertExists)(e),new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(e.version)}if(module$contents$goog$labs$userAgent$browser_preUachHasLoaded)return this.version_}async load(){if(this.useUach_){var e=await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load();if(e!==void 0)return e=e.find(({brand:o})=>this.brand_===o),(0,goog.asserts.assertExists)(e),new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(e.version)}else await 0;return module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!0,this.version_}},module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!1;async function module$contents$goog$labs$userAgent$browser_loadFullVersions(){module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)&&await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(),module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!0}goog.labs.userAgent.browser.loadFullVersions=module$contents$goog$labs$userAgent$browser_loadFullVersions;goog.labs.userAgent.browser.resetForTesting=()=>{module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!1,module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.resetForTesting()};function module$contents$goog$labs$userAgent$browser_fullVersionOf(t){let e="";module$contents$goog$labs$userAgent$browser_hasFullVersionList()||(e=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(t));let o=t!==module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0);if(o){if(!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:n})=>n===t))return}else if(e==="")return;return new module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(t,o,e)}goog.labs.userAgent.browser.fullVersionOf=module$contents$goog$labs$userAgent$browser_fullVersionOf;function module$contents$goog$labs$userAgent$browser_getVersionStringForLogging(t){if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)){var e=module$contents$goog$labs$userAgent$browser_fullVersionOf(t);return e?(e=e.getIfLoaded())?e.toVersionStringForLogging():(e=module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(({brand:o})=>o===t),(0,goog.asserts.assertExists)(e),e.version):""}return module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(t)}goog.labs.userAgent.browser.getVersionStringForLogging=module$contents$goog$labs$userAgent$browser_getVersionStringForLogging;goog.labs.userAgent.engine={};function module$contents$goog$labs$userAgent$engine_isPresto(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Presto")}function module$contents$goog$labs$userAgent$engine_isTrident(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}function module$contents$goog$labs$userAgent$engine_isEdge(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}function module$contents$goog$labs$userAgent$engine_isWebKit(){return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("WebKit")&&!module$contents$goog$labs$userAgent$engine_isEdge()}function module$contents$goog$labs$userAgent$engine_isGecko(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Gecko")&&!module$contents$goog$labs$userAgent$engine_isWebKit()&&!module$contents$goog$labs$userAgent$engine_isTrident()&&!module$contents$goog$labs$userAgent$engine_isEdge()}function module$contents$goog$labs$userAgent$engine_getVersion(){var t=module$contents$goog$labs$userAgent$util_getUserAgent();if(t){t=module$contents$goog$labs$userAgent$util_extractVersionTuples(t);let o=module$contents$goog$labs$userAgent$engine_getEngineTuple(t);if(o)return o[0]=="Gecko"?module$contents$goog$labs$userAgent$engine_getVersionForKey(t,"Firefox"):o[1];t=t[0];var e;if(t&&(e=t[2])&&(e=/Trident\/([^\s;]+)/.exec(e)))return e[1]}return""}function module$contents$goog$labs$userAgent$engine_getEngineTuple(t){if(!module$contents$goog$labs$userAgent$engine_isEdge())return t[1];for(let e=0;e<t.length;e++){let o=t[e];if(o[0]=="Edge")return o}}function module$contents$goog$labs$userAgent$engine_isVersionOrHigher(t){return 0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(),t)}function module$contents$goog$labs$userAgent$engine_getVersionForKey(t,e){return(t=module$contents$goog$array_find(t,function(o){return e==o[0]}))&&t[1]||""}goog.labs.userAgent.engine.getVersion=module$contents$goog$labs$userAgent$engine_getVersion;goog.labs.userAgent.engine.isEdge=module$contents$goog$labs$userAgent$engine_isEdge;goog.labs.userAgent.engine.isGecko=module$contents$goog$labs$userAgent$engine_isGecko;goog.labs.userAgent.engine.isPresto=module$contents$goog$labs$userAgent$engine_isPresto;goog.labs.userAgent.engine.isTrident=module$contents$goog$labs$userAgent$engine_isTrident;goog.labs.userAgent.engine.isVersionOrHigher=module$contents$goog$labs$userAgent$engine_isVersionOrHigher;goog.labs.userAgent.engine.isWebKit=module$contents$goog$labs$userAgent$engine_isWebKit;goog.labs.userAgent.platform={};function module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(t=!1){return module$contents$goog$labs$userAgent$util_ASSUME_CLIENT_HINTS_SUPPORT?!0:!t&&!(0,goog.labs.userAgent.useClientHints)()?!1:(t=module$contents$goog$labs$userAgent$util_getUserAgentData(),!!t&&!!t.platform)}function module$contents$goog$labs$userAgent$platform_isAndroid(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?module$contents$goog$labs$userAgent$util_getUserAgentData().platform==="Android":module$contents$goog$labs$userAgent$util_matchUserAgent("Android")}function module$contents$goog$labs$userAgent$platform_isIpod(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")}function module$contents$goog$labs$userAgent$platform_isIphone(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}function module$contents$goog$labs$userAgent$platform_isIpad(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}function module$contents$goog$labs$userAgent$platform_isIos(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$goog$labs$userAgent$platform_isIpad()||module$contents$goog$labs$userAgent$platform_isIpod()}function module$contents$goog$labs$userAgent$platform_isMacintosh(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?module$contents$goog$labs$userAgent$util_getUserAgentData().platform==="macOS":module$contents$goog$labs$userAgent$util_matchUserAgent("Macintosh")}function module$contents$goog$labs$userAgent$platform_isLinux(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?module$contents$goog$labs$userAgent$util_getUserAgentData().platform==="Linux":module$contents$goog$labs$userAgent$util_matchUserAgent("Linux")}function module$contents$goog$labs$userAgent$platform_isWindows(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?module$contents$goog$labs$userAgent$util_getUserAgentData().platform==="Windows":module$contents$goog$labs$userAgent$util_matchUserAgent("Windows")}function module$contents$goog$labs$userAgent$platform_isChromeOS(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?module$contents$goog$labs$userAgent$util_getUserAgentData().platform==="Chrome OS":module$contents$goog$labs$userAgent$util_matchUserAgent("CrOS")}function module$contents$goog$labs$userAgent$platform_isChromecast(){return module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey")}function module$contents$goog$labs$userAgent$platform_isKaiOS(){return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS")}function module$contents$goog$labs$userAgent$platform_getVersion(){var t=module$contents$goog$labs$userAgent$util_getUserAgent(),e="";return module$contents$goog$labs$userAgent$platform_isWindows()?(e=/Windows (?:NT|Phone) ([0-9.]+)/,e=(t=e.exec(t))?t[1]:"0.0"):module$contents$goog$labs$userAgent$platform_isIos()?(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,e=(t=e.exec(t))&&t[1].replace(/_/g,".")):module$contents$goog$labs$userAgent$platform_isMacintosh()?(e=/Mac OS X ([0-9_.]+)/,e=(t=e.exec(t))?t[1].replace(/_/g,"."):"10"):module$contents$goog$labs$userAgent$platform_isKaiOS()?(e=/(?:KaiOS)\/(\S+)/i,e=(t=e.exec(t))&&t[1]):module$contents$goog$labs$userAgent$platform_isAndroid()?(e=/Android\s+([^\);]+)(\)|;)/,e=(t=e.exec(t))&&t[1]):module$contents$goog$labs$userAgent$platform_isChromeOS()&&(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,e=(t=e.exec(t))&&t[1]),e||""}function module$contents$goog$labs$userAgent$platform_isVersionOrHigher(t){return 0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(),t)}var module$contents$goog$labs$userAgent$platform_PlatformVersion=class{constructor(){this.preUachHasLoaded_=!1}getIfLoaded(){if(module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)){let e=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.getIfLoaded();return e===void 0?void 0:new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(e)}if(this.preUachHasLoaded_)return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion())}async load(){return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)?new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(await module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load()):(this.preUachHasLoaded_=!0,new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()))}resetForTesting(){module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.resetForTesting(),this.preUachHasLoaded_=!1}},module$contents$goog$labs$userAgent$platform_version=new module$contents$goog$labs$userAgent$platform_PlatformVersion;goog.labs.userAgent.platform.getVersion=module$contents$goog$labs$userAgent$platform_getVersion;goog.labs.userAgent.platform.isAndroid=module$contents$goog$labs$userAgent$platform_isAndroid;goog.labs.userAgent.platform.isChromeOS=module$contents$goog$labs$userAgent$platform_isChromeOS;goog.labs.userAgent.platform.isChromecast=module$contents$goog$labs$userAgent$platform_isChromecast;goog.labs.userAgent.platform.isIos=module$contents$goog$labs$userAgent$platform_isIos;goog.labs.userAgent.platform.isIpad=module$contents$goog$labs$userAgent$platform_isIpad;goog.labs.userAgent.platform.isIphone=module$contents$goog$labs$userAgent$platform_isIphone;goog.labs.userAgent.platform.isIpod=module$contents$goog$labs$userAgent$platform_isIpod;goog.labs.userAgent.platform.isKaiOS=module$contents$goog$labs$userAgent$platform_isKaiOS;goog.labs.userAgent.platform.isLinux=module$contents$goog$labs$userAgent$platform_isLinux;goog.labs.userAgent.platform.isMacintosh=module$contents$goog$labs$userAgent$platform_isMacintosh;goog.labs.userAgent.platform.isVersionOrHigher=module$contents$goog$labs$userAgent$platform_isVersionOrHigher;goog.labs.userAgent.platform.isWindows=module$contents$goog$labs$userAgent$platform_isWindows;goog.labs.userAgent.platform.version=module$contents$goog$labs$userAgent$platform_version;goog.reflect={};goog.reflect.object=function(t,e){return e};goog.reflect.objectProperty=function(t,e){return t};goog.reflect.sinkValue=function(t){return goog.reflect.sinkValue[" "](t),t};goog.reflect.sinkValue[" "]=function(){};goog.reflect.canAccessProperty=function(t,e){try{return goog.reflect.sinkValue(t[e]),!0}catch{}return!1};goog.reflect.cache=function(t,e,o,n){return n=n?n(e):e,Object.prototype.hasOwnProperty.call(t,n)?t[n]:t[n]=o(e)};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 module$contents$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:module$contents$goog$labs$userAgent$browser_matchOpera();goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:module$contents$goog$labs$userAgent$browser_matchIE();goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:module$contents$goog$labs$userAgent$engine_isEdge();goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE;goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:module$contents$goog$labs$userAgent$engine_isGecko();goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:module$contents$goog$labs$userAgent$engine_isWebKit();goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&module$contents$goog$labs$userAgent$util_matchUserAgent("Mobile")};goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_();goog.userAgent.SAFARI=goog.userAgent.WEBKIT;goog.userAgent.determinePlatform_=function(){var t=goog.userAgent.getNavigatorTyped();return t&&t.platform||""};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog.userAgent.ASSUME_MAC=!1;goog.userAgent.ASSUME_WINDOWS=!1;goog.userAgent.ASSUME_LINUX=!1;goog.userAgent.ASSUME_X11=!1;goog.userAgent.ASSUME_ANDROID=!1;goog.userAgent.ASSUME_IPHONE=!1;goog.userAgent.ASSUME_IPAD=!1;goog.userAgent.ASSUME_IPOD=!1;goog.userAgent.ASSUME_KAIOS=!1;goog.userAgent.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:module$contents$goog$labs$userAgent$platform_isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:module$contents$goog$labs$userAgent$platform_isWindows();goog.userAgent.isLegacyLinux_=function(){return module$contents$goog$labs$userAgent$platform_isLinux()||module$contents$goog$labs$userAgent$platform_isChromeOS()};goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.isX11_=function(){var t=goog.userAgent.getNavigatorTyped();return!!t&&goog.string.internal.contains(t.appVersion||"","X11")};goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_();goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:module$contents$goog$labs$userAgent$platform_isAndroid();goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:module$contents$goog$labs$userAgent$platform_isIphone();goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isIpad();goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIpod();goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIos();goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:module$contents$goog$labs$userAgent$platform_isKaiOS();goog.userAgent.determineVersion_=function(){var t="",e=goog.userAgent.getVersionRegexResult_();return e&&(t=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_(),e!=null&&e>parseFloat(t))?String(e):t};goog.userAgent.getVersionRegexResult_=function(){var t=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(t);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(t);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(t);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(t)};goog.userAgent.getDocumentMode_=function(){var t=goog.global.document;return t?t.documentMode:void 0};goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(t,e){return goog.string.internal.compareVersions(t,e)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(t){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,t,function(){return 0<=goog.string.internal.compareVersions(goog.userAgent.VERSION,t)})};goog.userAgent.isDocumentModeOrHigher=function(t){return Number(goog.userAgent.DOCUMENT_MODE)>=t};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;goog.userAgent.DOCUMENT_MODE=(function(){if(goog.global.document&&goog.userAgent.IE){var t=goog.userAgent.getDocumentMode_();return t||parseInt(goog.userAgent.VERSION,10)||void 0}})();goog.userAgent.product={};goog.userAgent.product.ASSUME_FIREFOX=!1;goog.userAgent.product.ASSUME_IPHONE=!1;goog.userAgent.product.ASSUME_IPAD=!1;goog.userAgent.product.ASSUME_ANDROID=!1;goog.userAgent.product.ASSUME_CHROME=!1;goog.userAgent.product.ASSUME_SAFARI=!1;goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI;goog.userAgent.product.OPERA=goog.userAgent.OPERA;goog.userAgent.product.IE=goog.userAgent.IE;goog.userAgent.product.EDGE=goog.userAgent.EDGE;goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:module$contents$goog$labs$userAgent$browser_matchFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$goog$labs$userAgent$platform_isIpod()};goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_();goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isIpad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:module$contents$goog$labs$userAgent$browser_matchAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:module$contents$goog$labs$userAgent$browser_matchChrome();goog.userAgent.product.isSafariDesktop_=function(){return module$contents$goog$labs$userAgent$browser_matchSafari()&&!module$contents$goog$labs$userAgent$platform_isIos()};goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_();goog.crypt.base64={};goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=";goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.";goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4};goog.crypt.base64.paddingChars_="=.";goog.crypt.base64.isPadding_=function(t){return goog.string.internal.contains(goog.crypt.base64.paddingChars_,t)};goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT;goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function";goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function";goog.crypt.base64.encodeByteArray=function(t,e){goog.asserts.assert(goog.isArrayLike(t),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];let o=Array(Math.floor(t.length/3)),n=e[64]||"",r=0,s=0;for(;r<t.length-2;r+=3){var i=t[r],g=t[r+1],$=t[r+2],l=e[i>>2];i=e[(i&3)<<4|g>>4],g=e[(g&15)<<2|$>>6],$=e[$&63],o[s++]=""+l+i+g+$}switch(l=0,$=n,t.length-r){case 2:l=t[r+1],$=e[(l&15)<<2]||n;case 1:t=t[r],o[s]=""+e[t>>2]+e[(t&3)<<4|l>>4]+$+n}return o.join("")};goog.crypt.base64.encodeBinaryString=function(t,e){return goog.crypt.base64.encodeString(t,e,!0)};goog.crypt.base64.encodeString=function(t,e,o){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(t):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(t,o),e)};goog.crypt.base64.encodeStringUtf8=function(t,e){return goog.crypt.base64.encodeText(t,e)};goog.crypt.base64.encodeText=function(t,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(unescape(encodeURIComponent(t))):goog.crypt.base64.encodeByteArray(goog.crypt.stringToUtf8ByteArray(t),e)};goog.crypt.base64.decodeToBinaryString=function(t,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(t);var o="";return goog.crypt.base64.decodeStringInternal_(t,function(n){o+=String.fromCharCode(n)}),o};goog.crypt.base64.decodeString=goog.crypt.base64.decodeToBinaryString;goog.crypt.base64.decodeStringUtf8=function(t,e){return goog.crypt.base64.decodeToText(t,e)};goog.crypt.base64.decodeToText=function(t,e){return decodeURIComponent(escape(goog.crypt.base64.decodeString(t,e)))};goog.crypt.base64.decodeStringToByteArray=function(t,e){var o=[];return goog.crypt.base64.decodeStringInternal_(t,function(n){o.push(n)}),o};goog.crypt.base64.decodeStringToUint8Array=function(t){var e=t.length,o=3*e/4;o%3?o=Math.floor(o):goog.crypt.base64.isPadding_(t[e-1])&&(o=goog.crypt.base64.isPadding_(t[e-2])?o-2:o-1);var n=new Uint8Array(o),r=0;return goog.crypt.base64.decodeStringInternal_(t,function(s){n[r++]=s}),r!==o?n.subarray(0,r):n};goog.crypt.base64.decodeStringInternal_=function(t,e){function o($){for(;n<t.length;){var l=t.charAt(n++),d=goog.crypt.base64.charToByteMap_[l];if(d!=null)return d;if(!goog.string.internal.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return $}goog.crypt.base64.init_();for(var n=0;;){var r=o(-1),s=o(0),i=o(64),g=o(64);if(g===64&&r===-1)break;e(r<<2|s>>4),i!=64&&(e(s<<4&240|i>>2),g!=64&&e(i<<6&192|g))}};goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var t=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var n=t.concat(e[o].split(""));goog.crypt.base64.byteToCharMaps_[o]=n;for(var r=0;r<n.length;r++){var s=n[r],i=goog.crypt.base64.charToByteMap_[s];i===void 0?goog.crypt.base64.charToByteMap_[s]=r:goog.asserts.assert(i===r)}}}};jspb.BinaryConstants={};var module$contents$jspb$BinaryConstants_FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},module$contents$jspb$BinaryConstants_WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5};function module$contents$jspb$BinaryConstants_isValidWireType(t){return 0<=t&&5>=t}function module$contents$jspb$BinaryConstants_FieldTypeToWireType(t){switch(t){case module$contents$jspb$BinaryConstants_FieldType.INT32:case module$contents$jspb$BinaryConstants_FieldType.INT64:case module$contents$jspb$BinaryConstants_FieldType.UINT32:case module$contents$jspb$BinaryConstants_FieldType.UINT64:case module$contents$jspb$BinaryConstants_FieldType.SINT32:case module$contents$jspb$BinaryConstants_FieldType.SINT64:case module$contents$jspb$BinaryConstants_FieldType.BOOL:case module$contents$jspb$BinaryConstants_FieldType.ENUM:return module$contents$jspb$BinaryConstants_WireType.VARINT;case module$contents$jspb$BinaryConstants_FieldType.DOUBLE:case module$contents$jspb$BinaryConstants_FieldType.FIXED64:case module$contents$jspb$BinaryConstants_FieldType.SFIXED64:return module$contents$jspb$BinaryConstants_WireType.FIXED64;case module$contents$jspb$BinaryConstants_FieldType.STRING:case module$contents$jspb$BinaryConstants_FieldType.MESSAGE:case module$contents$jspb$BinaryConstants_FieldType.BYTES:return module$contents$jspb$BinaryConstants_WireType.DELIMITED;case module$contents$jspb$BinaryConstants_FieldType.FLOAT:case module$contents$jspb$BinaryConstants_FieldType.FIXED32:case module$contents$jspb$BinaryConstants_FieldType.SFIXED32:return module$contents$jspb$BinaryConstants_WireType.FIXED32;default:return module$contents$jspb$BinaryConstants_WireType.INVALID}}var module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER=-1,module$contents$jspb$BinaryConstants_INVALID_TAG=-1,module$contents$jspb$BinaryConstants_FLOAT32_EPS=1401298464324817e-60,module$contents$jspb$BinaryConstants_FLOAT32_MIN=11754943508222875e-54,module$contents$jspb$BinaryConstants_FLOAT32_MAX=34028234663852886e22,module$contents$jspb$BinaryConstants_FLOAT64_EPS=5e-324,module$contents$jspb$BinaryConstants_FLOAT64_MIN=22250738585072014e-324,module$contents$jspb$BinaryConstants_FLOAT64_MAX=17976931348623157e292,module$contents$jspb$BinaryConstants_TWO_TO_20=1048576,module$contents$jspb$BinaryConstants_TWO_TO_23=8388608,module$contents$jspb$BinaryConstants_TWO_TO_31=2147483648,module$contents$jspb$BinaryConstants_TWO_TO_32=4294967296,module$contents$jspb$BinaryConstants_TWO_TO_52=4503599627370496,module$contents$jspb$BinaryConstants_TWO_TO_63=9223372036854776e3,module$contents$jspb$BinaryConstants_TWO_TO_64=18446744073709552e3,module$contents$jspb$BinaryConstants_ZERO_HASH="\0\0\0\0\0\0\0\0",module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER=1,module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER=2,module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER=3,module$contents$jspb$BinaryConstants_MESSAGE_SET_MAX_TYPE_ID=4294967294;jspb.BinaryConstants.FieldType=module$contents$jspb$BinaryConstants_FieldType;jspb.BinaryConstants.FieldTypeToWireType=module$contents$jspb$BinaryConstants_FieldTypeToWireType;jspb.BinaryConstants.FLOAT32_EPS=module$contents$jspb$BinaryConstants_FLOAT32_EPS;jspb.BinaryConstants.FLOAT32_MIN=module$contents$jspb$BinaryConstants_FLOAT32_MIN;jspb.BinaryConstants.FLOAT32_MAX=module$contents$jspb$BinaryConstants_FLOAT32_MAX;jspb.BinaryConstants.FLOAT64_EPS=module$contents$jspb$BinaryConstants_FLOAT64_EPS;jspb.BinaryConstants.FLOAT64_MIN=module$contents$jspb$BinaryConstants_FLOAT64_MIN;jspb.BinaryConstants.FLOAT64_MAX=module$contents$jspb$BinaryConstants_FLOAT64_MAX;jspb.BinaryConstants.INVALID_FIELD_NUMBER=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER;jspb.BinaryConstants.INVALID_TAG=module$contents$jspb$BinaryConstants_INVALID_TAG;jspb.BinaryConstants.MESSAGE_SET_GROUP_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER;jspb.BinaryConstants.MESSAGE_SET_MAX_TYPE_ID=module$contents$jspb$BinaryConstants_MESSAGE_SET_MAX_TYPE_ID;jspb.BinaryConstants.MESSAGE_SET_MESSAGE_FIELD_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER;jspb.BinaryConstants.MESSAGE_SET_TYPE_ID_FIELD_NUMBER=module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER;jspb.BinaryConstants.TWO_TO_20=module$contents$jspb$BinaryConstants_TWO_TO_20;jspb.BinaryConstants.TWO_TO_23=module$contents$jspb$BinaryConstants_TWO_TO_23;jspb.BinaryConstants.TWO_TO_31=module$contents$jspb$BinaryConstants_TWO_TO_31;jspb.BinaryConstants.TWO_TO_32=module$contents$jspb$BinaryConstants_TWO_TO_32;jspb.BinaryConstants.TWO_TO_52=module$contents$jspb$BinaryConstants_TWO_TO_52;jspb.BinaryConstants.TWO_TO_63=module$contents$jspb$BinaryConstants_TWO_TO_63;jspb.BinaryConstants.TWO_TO_64=module$contents$jspb$BinaryConstants_TWO_TO_64;jspb.BinaryConstants.WireType=module$contents$jspb$BinaryConstants_WireType;jspb.BinaryConstants.ZERO_HASH=module$contents$jspb$BinaryConstants_ZERO_HASH;jspb.BinaryConstants.isValidWireType=module$contents$jspb$BinaryConstants_isValidWireType;var module$exports$jspb$binary$errors={};function module$contents$jspb$binary$errors_messageLengthMismatchError(t,e){return Error(`Message parsing ended unexpectedly. Expected to read ${t} bytes, instead read ${e} bytes, either the data ended unexpectedly or the message misreported its own length`)}function module$contents$jspb$binary$errors_invalidWireTypeError(t,e){return Error(`Invalid wire type: ${t} (at position ${e})`)}function module$contents$jspb$binary$errors_invalidFieldNumberError(t,e){return Error(`Invalid field number: ${t} (at position ${e})`)}function module$contents$jspb$binary$errors_malformedBinaryBytesForMessageSet(){return Error("Malformed binary bytes for message set")}function module$contents$jspb$binary$errors_unmatchedStartGroupEofError(){return Error("Unmatched start-group tag: stream EOF")}function module$contents$jspb$binary$errors_unmatchedStartGroupError(){return Error("Unmatched end-group tag")}function module$contents$jspb$binary$errors_groupDidNotEndWithEndGroupError(){return Error("Group submessage did not end with an END_GROUP tag")}function module$contents$jspb$binary$errors_invalidVarintError(){return Error("Failed to read varint, encoding is invalid.")}function module$contents$jspb$binary$errors_readTooFarError(t,e){return Error(`Tried to read past the end of the data ${e} > ${t}`)}function module$contents$jspb$binary$errors_negativeByteLengthError(t){return Error(`Tried to read a negative byte length: ${t}`)}module$exports$jspb$binary$errors.messageLengthMismatchError=module$contents$jspb$binary$errors_messageLengthMismatchError;module$exports$jspb$binary$errors.groupDidNotEndWithEndGroupError=module$contents$jspb$binary$errors_groupDidNotEndWithEndGroupError;module$exports$jspb$binary$errors.invalidFieldNumberError=module$contents$jspb$binary$errors_invalidFieldNumberError;module$exports$jspb$binary$errors.invalidVarintError=module$contents$jspb$binary$errors_invalidVarintError;module$exports$jspb$binary$errors.invalidWireTypeError=module$contents$jspb$binary$errors_invalidWireTypeError;module$exports$jspb$binary$errors.malformedBinaryBytesForMessageSet=module$contents$jspb$binary$errors_malformedBinaryBytesForMessageSet;module$exports$jspb$binary$errors.negativeByteLengthError=module$contents$jspb$binary$errors_negativeByteLengthError;module$exports$jspb$binary$errors.readTooFarError=module$contents$jspb$binary$errors_readTooFarError;module$exports$jspb$binary$errors.unmatchedStartGroupError=module$contents$jspb$binary$errors_unmatchedStartGroupError;module$exports$jspb$binary$errors.unmatchedStartGroupEofError=module$contents$jspb$binary$errors_unmatchedStartGroupEofError;var module$exports$jspb$internal_options={};function module$contents$jspb$internal_options_isBigIntAvailable(){return 2021<=goog.FEATURESET_YEAR||typeof BigInt=="function"}module$exports$jspb$internal_options.isBigIntAvailable=module$contents$jspb$internal_options_isBigIntAvailable;var module$exports$jspb$binary$bytesource={},module$exports$jspb$internal_bytes={};module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY=2018<=goog.FEATURESET_YEAR||typeof Uint8Array<"u";var module$contents$jspb$internal_bytes_HANDLE_WEB_SAFE_ENCODINGS_WITH_ATOB_AND_BTOA=!0,module$contents$jspb$internal_bytes_CAN_USE_ATOB_AND_BTOA=!0,module$contents$jspb$internal_bytes_ASSUME_ATOB_AND_BTOA_AVAILABLE=2018<=goog.FEATURESET_YEAR;module$exports$jspb$internal_bytes.USE_ATOB_BTOA=module$contents$jspb$internal_bytes_CAN_USE_ATOB_AND_BTOA&&(module$contents$jspb$internal_bytes_ASSUME_ATOB_AND_BTOA_AVAILABLE||!goog.userAgent.IE&&typeof btoa=="function");var module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD=10240;function module$contents$jspb$internal_bytes_encodeByteArray(t){if(!module$exports$jspb$internal_bytes.USE_ATOB_BTOA)return goog.crypt.base64.encodeByteArray(t);let e="",o=0,n=t.length-module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD;for(;o<n;)e+=String.fromCharCode.apply(null,t.subarray(o,o+=module$contents$jspb$internal_bytes_UINT8ARRAY_MAX_SIZE_FOR_SPREAD));return e+=String.fromCharCode.apply(null,o?t.subarray(o):t),btoa(e)}var module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS=/[-_.]/g,module$contents$jspb$internal_bytes_websafeReplacer={"-":"+",_:"/",".":"="};function module$contents$jspb$internal_bytes_replaceWebsafe(t){return module$contents$jspb$internal_bytes_websafeReplacer[t]||""}function module$contents$jspb$internal_bytes_replaceWebsafeString(t){return module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS.test(t)?t.replace(module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS,module$contents$jspb$internal_bytes_replaceWebsafe):t}function module$contents$jspb$internal_bytes_decodeByteArray(t){if(!module$exports$jspb$internal_bytes.USE_ATOB_BTOA)return goog.crypt.base64.decodeStringToUint8Array(t);var e=t;module$contents$jspb$internal_bytes_HANDLE_WEB_SAFE_ENCODINGS_WITH_ATOB_AND_BTOA&&(e=module$contents$jspb$internal_bytes_replaceWebsafeString(e));let o;if(goog.DEBUG)try{o=atob(e)}catch(n){throw Error(`invalid encoding '${t}': ${n}`)}else o=atob(e);for(t=new Uint8Array(o.length),e=0;e<o.length;e++)t[e]=o.charCodeAt(e);return t}function module$contents$jspb$internal_bytes_dataAsU8(t){return t==null||module$contents$jspb$internal_bytes_isU8(t)?t:typeof t=="string"?module$contents$jspb$internal_bytes_decodeByteArray(t):((0,goog.asserts.fail)("Cannot coerce to Uint8Array: "+goog.typeOf(t)),null)}function module$contents$jspb$internal_bytes_isU8(t){return module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY&&t!=null&&t instanceof Uint8Array}function module$contents$jspb$internal_bytes_uint8ArrayEquals(t,e){let o=t.length;if(o!==e.length)return!1;for(let n=0;n<o;n++)if(t[n]!==e[n])return!1;return!0}module$exports$jspb$internal_bytes.I_AM_INTERNAL={};module$exports$jspb$internal_bytes.encodeByteArray=module$contents$jspb$internal_bytes_encodeByteArray;module$exports$jspb$internal_bytes.decodeByteArray=module$contents$jspb$internal_bytes_decodeByteArray;module$exports$jspb$internal_bytes.dataAsU8=module$contents$jspb$internal_bytes_dataAsU8;module$exports$jspb$internal_bytes.isU8=module$contents$jspb$internal_bytes_isU8;module$exports$jspb$internal_bytes.replaceWebsafeString=module$contents$jspb$internal_bytes_replaceWebsafeString;module$exports$jspb$internal_bytes.uint8ArrayEquals=module$contents$jspb$internal_bytes_uint8ArrayEquals;jspb.binary={};jspb.binary.utf8={};var module$contents$jspb$binary$utf8_USE_TEXT_ENCODING=!0,module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE=2020<=goog.FEATURESET_YEAR,module$contents$jspb$binary$utf8_MIN_SURROGATE=55296,module$contents$jspb$binary$utf8_MIN_HIGH_SURROGATE=module$contents$jspb$binary$utf8_MIN_SURROGATE,module$contents$jspb$binary$utf8_MAX_HIGH_SURROGATE=56319,module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE=56320,module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE=57343,module$contents$jspb$binary$utf8_MAX_SURROGATE=module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE;function module$contents$jspb$binary$utf8_isNotTrailingByte(t){return(t&192)!==128}function module$contents$jspb$binary$utf8_invalid(t,e){if(t)throw Error("Invalid UTF8");e.push(65533)}function module$contents$jspb$binary$utf8_codeUnitsToString(t,e){return e=String.fromCharCode.apply(null,e),t==null?e:t+e}function module$contents$jspb$binary$utf8_polyfillDecodeUtf8(t,e,o,n){o=e+o;let r=[],s=null,i,g,$;for(;e<o;){var l=t[e++];128>l?r.push(l):224>l?e>=o?module$contents$jspb$binary$utf8_invalid(n,r):(i=t[e++],194>l||module$contents$jspb$binary$utf8_isNotTrailingByte(i)?(e--,module$contents$jspb$binary$utf8_invalid(n,r)):(l=(l&31)<<6|i&63,(0,goog.asserts.assert)(128<=l&&2047>=l),r.push(l))):240>l?e>=o-1?module$contents$jspb$binary$utf8_invalid(n,r):(i=t[e++],module$contents$jspb$binary$utf8_isNotTrailingByte(i)||l===224&&160>i||l===237&&160<=i||module$contents$jspb$binary$utf8_isNotTrailingByte(g=t[e++])?(e--,module$contents$jspb$binary$utf8_invalid(n,r)):(l=(l&15)<<12|(i&63)<<6|g&63,(0,goog.asserts.assert)(2048<=l&&65535>=l),(0,goog.asserts.assert)(l<module$contents$jspb$binary$utf8_MIN_SURROGATE||l>module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE),r.push(l))):244>=l?e>=o-2?module$contents$jspb$binary$utf8_invalid(n,r):(i=t[e++],module$contents$jspb$binary$utf8_isNotTrailingByte(i)||(l<<28)+(i-144)>>30!==0||module$contents$jspb$binary$utf8_isNotTrailingByte(g=t[e++])||module$contents$jspb$binary$utf8_isNotTrailingByte($=t[e++])?(e--,module$contents$jspb$binary$utf8_invalid(n,r)):(l=(l&7)<<18|(i&63)<<12|(g&63)<<6|$&63,(0,goog.asserts.assert)(65536<=l&&1114111>=l),l-=65536,r.push((l>>10&1023)+module$contents$jspb$binary$utf8_MIN_SURROGATE,(l&1023)+module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE))):module$contents$jspb$binary$utf8_invalid(n,r),8192<=r.length&&(s=module$contents$jspb$binary$utf8_codeUnitsToString(s,r),r.length=0)}return(0,goog.asserts.assert)(e===o,`expected ${e} === ${o}`),module$contents$jspb$binary$utf8_codeUnitsToString(s,r)}var module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=2020<=goog.FEATURESET_YEAR?!0:void 0;function module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing(t){if(module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_===void 0){try{t.decode(new Uint8Array([128]))}catch{}try{t.decode(new Uint8Array([97])),module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=!0}catch{module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=!1}}return module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_}var module$contents$jspb$binary$utf8_fatalDecoderInstance;function module$contents$jspb$binary$utf8_getFatalDecoderInstance(){let t=module$contents$jspb$binary$utf8_fatalDecoderInstance;return t||=module$contents$jspb$binary$utf8_fatalDecoderInstance=new TextDecoder("utf-8",{fatal:!0}),t}var module$contents$jspb$binary$utf8_nonFatalDecoderInstance;function module$contents$jspb$binary$utf8_getNonFatalDecoderInstance(){let t=module$contents$jspb$binary$utf8_nonFatalDecoderInstance;return t||=module$contents$jspb$binary$utf8_nonFatalDecoderInstance=new TextDecoder("utf-8",{fatal:!1}),t}function module$contents$jspb$binary$utf8_subarray(t,e,o){return e===0&&o===t.length?t:t.subarray(e,o)}function module$contents$jspb$binary$utf8_textDecoderDecodeUtf8(t,e,o,n){let r=n?module$contents$jspb$binary$utf8_getFatalDecoderInstance():module$contents$jspb$binary$utf8_getNonFatalDecoderInstance();t=module$contents$jspb$binary$utf8_subarray(t,e,e+o);try{return r.decode(t)}catch(s){throw n&&!module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing(r)&&(module$contents$jspb$binary$utf8_fatalDecoderInstance=void 0),s}}var module$contents$jspb$binary$utf8_useTextDecoderDecode=module$contents$jspb$binary$utf8_USE_TEXT_ENCODING&&(module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||typeof TextDecoder<"u");function module$contents$jspb$binary$utf8_decodeUtf8(t,e,o,n){return module$contents$jspb$binary$utf8_useTextDecoderDecode?module$contents$jspb$binary$utf8_textDecoderDecodeUtf8(t,e,o,n):module$contents$jspb$binary$utf8_polyfillDecodeUtf8(t,e,o,n)}var module$contents$jspb$binary$utf8_textEncoderInstance;function module$contents$jspb$binary$utf8_textEncoderEncode(t,e){return e&&module$contents$jspb$binary$utf8_checkWellFormed(t),(module$contents$jspb$binary$utf8_textEncoderInstance||=new TextEncoder).encode(t)}var module$contents$jspb$binary$utf8_IS_WELL_FORMED="isWellFormed",module$contents$jspb$binary$utf8_HAS_WELL_FORMED_METHOD=2023<goog.FEATURESET_YEAR||typeof String.prototype[module$contents$jspb$binary$utf8_IS_WELL_FORMED]=="function";function module$contents$jspb$binary$utf8_checkWellFormed(t){if(module$contents$jspb$binary$utf8_HAS_WELL_FORMED_METHOD?!t[module$contents$jspb$binary$utf8_IS_WELL_FORMED]():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(t))throw Error("Found an unpaired surrogate")}function module$contents$jspb$binary$utf8_polyfillEncode(t,e){let o=0,n=new Uint8Array(3*t.length);for(let s=0;s<t.length;s++){var r=t.charCodeAt(s);if(128>r)n[o++]=r;else{if(2048>r)n[o++]=r>>6|192;else{if((0,goog.asserts.assert)(65536>r),r>=module$contents$jspb$binary$utf8_MIN_SURROGATE&&r<=module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE){if(r<=module$contents$jspb$binary$utf8_MAX_HIGH_SURROGATE&&s<t.length){let i=t.charCodeAt(++s);if(i>=module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE&&i<=module$contents$jspb$binary$utf8_MAX_LOW_SURROGATE){r=1024*(r-module$contents$jspb$binary$utf8_MIN_SURROGATE)+i-module$contents$jspb$binary$utf8_MIN_LOW_SURROGATE+65536,n[o++]=r>>18|240,n[o++]=r>>12&63|128,n[o++]=r>>6&63|128,n[o++]=r&63|128;continue}else s--}if(e)throw Error("Found an unpaired surrogate");r=65533}n[o++]=r>>12|224,n[o++]=r>>6&63|128}n[o++]=r&63|128}}return module$contents$jspb$binary$utf8_subarray(n,0,o)}var module$contents$jspb$binary$utf8_useTextEncoderEncode=module$contents$jspb$binary$utf8_USE_TEXT_ENCODING&&(module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||typeof TextEncoder<"u");function module$contents$jspb$binary$utf8_encodeUtf8(t,e=!1){return(0,goog.asserts.assertString)(t),module$contents$jspb$binary$utf8_useTextEncoderEncode?module$contents$jspb$binary$utf8_textEncoderEncode(t,e):module$contents$jspb$binary$utf8_polyfillEncode(t,e)}jspb.binary.utf8.decodeUtf8=module$contents$jspb$binary$utf8_decodeUtf8;jspb.binary.utf8.encodeUtf8=module$contents$jspb$binary$utf8_encodeUtf8;jspb.binary.utf8.checkWellFormed=module$contents$jspb$binary$utf8_checkWellFormed;jspb.binary.utf8.textDecoderDecodeUtf8=module$contents$jspb$binary$utf8_textDecoderDecodeUtf8;jspb.binary.utf8.polyfillDecodeUtf8=module$contents$jspb$binary$utf8_polyfillDecodeUtf8;jspb.binary.utf8.textEncoderEncode=module$contents$jspb$binary$utf8_textEncoderEncode;jspb.binary.utf8.polyfillEncode=module$contents$jspb$binary$utf8_polyfillEncode;jspb.bytestring={};var module$contents$jspb$bytestring_ByteString=class t{static fromBase64(e){return(0,goog.asserts.assertString)(e),e?new t(e,module$exports$jspb$internal_bytes.I_AM_INTERNAL):t.empty()}static fromUint8Array(e){return(0,goog.asserts.assert)(e instanceof Uint8Array||Array.isArray(e)),e.length?new t(new Uint8Array(e),module$exports$jspb$internal_bytes.I_AM_INTERNAL):t.empty()}static fromStringUtf8(e){return(0,goog.asserts.assertString)(e),e.length?new t(module$contents$jspb$binary$utf8_encodeUtf8(e,!0),module$exports$jspb$internal_bytes.I_AM_INTERNAL):t.empty()}static async fromBlob(e){return(0,goog.asserts.assertInstanceof)(e,Blob),e.size===0?t.empty():(e=await e.arrayBuffer(),new t(new Uint8Array(e),module$exports$jspb$internal_bytes.I_AM_INTERNAL))}static empty(){return module$contents$jspb$bytestring_emptyByteString||=new t(null,module$exports$jspb$internal_bytes.I_AM_INTERNAL)}asBase64(){let e=this.value_;return e==null?"":typeof e=="string"?e:this.value_=module$contents$jspb$internal_bytes_encodeByteArray(e)}asUint8Array(){return new Uint8Array(this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL)||0)}isEmpty(){return this.value_==null}sizeBytes(){let e=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return e?e.length:0}unsignedByteAt(e){(0,goog.asserts.assertNumber)(e),(0,goog.asserts.assert)(0<=e,"index %s should be non-negative",e);let o=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return(0,goog.asserts.assert)(e<o.length,"index %s must be less than %s",e,o.length),o[e]}signedByteAt(e){return this.unsignedByteAt(e)<<24>>24}asStringUtf8({parsingErrorsAreFatal:e=!0}={}){let o=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return o?module$contents$jspb$binary$utf8_decodeUtf8(o,0,o.length,e):""}asBlob(e){let o=this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL);return o?new Blob([o],e):new Blob([],e)}internalBytesUnsafe(e){return module$contents$jspb$bytestring_checkAllowedCaller(e),e=module$contents$jspb$internal_bytes_dataAsU8(this.value_),e==null?e:this.value_=e}internalUnwrap(e){return module$contents$jspb$bytestring_checkAllowedCaller(e),this.value_||""}constructor(e,o){if(module$contents$jspb$bytestring_checkAllowedCaller(o),this.value_=e,e!=null&&e.length===0)throw Error("ByteString should be constructed with non-empty values")}},module$contents$jspb$bytestring_emptyByteString;function module$contents$jspb$bytestring_checkAllowedCaller(t){if(t!==module$exports$jspb$internal_bytes.I_AM_INTERNAL)throw Error("illegal external caller")}jspb.bytestring.ByteString=module$contents$jspb$bytestring_ByteString;var module$exports$jspb$unsafe_bytestring={};function module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(t){return(0,goog.asserts.assertInstanceof)(t,Uint8Array),t.length==0?module$contents$jspb$bytestring_ByteString.empty():new module$contents$jspb$bytestring_ByteString(t,module$exports$jspb$internal_bytes.I_AM_INTERNAL)}function module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(t){return(0,goog.asserts.assertInstanceof)(t,module$contents$jspb$bytestring_ByteString),t.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL)||new Uint8Array(0)}function module$contents$jspb$unsafe_bytestring_unsafeUnwrapByteString(t){return(0,goog.asserts.assertInstanceof)(t,module$contents$jspb$bytestring_ByteString),t.internalUnwrap(module$exports$jspb$internal_bytes.I_AM_INTERNAL)}module$exports$jspb$unsafe_bytestring.unsafeByteStringFromUint8Array=module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array;module$exports$jspb$unsafe_bytestring.unsafeUint8ArrayFromByteString=module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString;module$exports$jspb$unsafe_bytestring.unsafeUnwrapByteString=module$contents$jspb$unsafe_bytestring_unsafeUnwrapByteString;jspb.utils={};var module$contents$jspb$utils_SUPPORTS_UINT8ARRAY_SLICING=2018<=goog.FEATURESET_YEAR||typeof Uint8Array.prototype.slice=="function",module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES=8;function module$contents$jspb$utils_sliceUint8Array(t,e,o){return e===o?new Uint8Array(0):module$contents$jspb$utils_SUPPORTS_UINT8ARRAY_SLICING?t.slice(e,o):new Uint8Array(t.subarray(e,o))}var module$contents$jspb$utils_split64Low=0,module$contents$jspb$utils_split64High=0,module$contents$jspb$utils_scratchpad;function module$contents$jspb$utils_splitUint64(t){let e=t>>>0;t=(t-e)/module$contents$jspb$BinaryConstants_TWO_TO_32>>>0,module$contents$jspb$utils_split64Low=e,module$contents$jspb$utils_split64High=t}function module$contents$jspb$utils_splitInt64(t){if(0>t){module$contents$jspb$utils_splitUint64(0-t);let[e,o]=module$contents$jspb$utils_negate(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High);module$contents$jspb$utils_split64Low=e>>>0,module$contents$jspb$utils_split64High=o>>>0}else module$contents$jspb$utils_splitUint64(t)}function module$contents$jspb$utils_splitZigzag64(t){let e=0>t;t=2*Math.abs(t),module$contents$jspb$utils_splitUint64(t),t=module$contents$jspb$utils_split64Low;let o=module$contents$jspb$utils_split64High;e&&(t==0?o==0?o=t=4294967295:(o--,t=4294967295):t--),module$contents$jspb$utils_split64Low=t,module$contents$jspb$utils_split64High=o}function module$contents$jspb$utils_getScratchpad(t){return(0,goog.asserts.assert)(t<=module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES),module$contents$jspb$utils_scratchpad||=new DataView(new ArrayBuffer(module$contents$jspb$utils_MAX_SCRATCHPAD_BYTES))}function module$contents$jspb$utils_splitFloat32(t){let e=module$contents$jspb$utils_getScratchpad(4);e.setFloat32(0,+t,!0),module$contents$jspb$utils_split64High=0,module$contents$jspb$utils_split64Low=e.getUint32(0,!0)}function module$contents$jspb$utils_splitFloat64(t){let e=module$contents$jspb$utils_getScratchpad(8);e.setFloat64(0,+t,!0),module$contents$jspb$utils_split64Low=e.getUint32(0,!0),module$contents$jspb$utils_split64High=e.getUint32(4,!0)}function module$contents$jspb$utils_splitBytes64(t){let[e,o,n,r,s,i,g,$]=t;module$contents$jspb$utils_split64Low=e+(o<<8)+(n<<16)+(r<<24)>>>0,module$contents$jspb$utils_split64High=s+(i<<8)+(g<<16)+($<<24)>>>0}function module$contents$jspb$utils_joinUint64(t,e){let o=e*module$contents$jspb$BinaryConstants_TWO_TO_32+(t>>>0);return Number.isSafeInteger(o)?o:module$contents$jspb$utils_joinUnsignedDecimalString(t,e)}function module$contents$jspb$utils_joinInt64(t,e){let o=e&2147483648;return o&&(t=~t+1>>>0,e=~e>>>0,t==0&&(e=e+1>>>0)),t=module$contents$jspb$utils_joinUint64(t,e),typeof t=="number"?o?-t:t:o?"-"+t:t}function module$contents$jspb$utils_toZigzag32(t){return(t<<1^t>>31)>>>0}function module$contents$jspb$utils_toZigzag64(t,e,o){let n=e>>31;return e=(e<<1|t>>>31)^n,t=t<<1^n,o(t,e)}function module$contents$jspb$utils_joinZigzag64(t,e){return module$contents$jspb$utils_fromZigzag64(t,e,module$contents$jspb$utils_joinInt64)}function module$contents$jspb$utils_fromZigzag32(t){return t>>>1^-(t&1)}function module$contents$jspb$utils_fromZigzag64(t,e,o){let n=-(t&1);return t=(t>>>1|e<<31)^n,e=e>>>1^n,o(t,e)}function module$contents$jspb$utils_joinFloat32(t,e){e=2*(t>>31)+1;let o=t>>>23&255;return t&=8388607,o==255?t?NaN:1/0*e:o==0?e*Math.pow(2,-149)*t:e*Math.pow(2,o-150)*(t+Math.pow(2,23))}function module$contents$jspb$utils_joinFloat64(t,e){let o=2*(e>>31)+1,n=e>>>20&2047;return t=module$contents$jspb$BinaryConstants_TWO_TO_32*(e&1048575)+t,n==2047?t?NaN:1/0*o:n==0?o*Math.pow(2,-1074)*t:o*Math.pow(2,n-1075)*(t+module$contents$jspb$BinaryConstants_TWO_TO_52)}function module$contents$jspb$utils_joinUnsignedDecimalString(t,e){return e>>>=0,t>>>=0,2097151>=e?""+(module$contents$jspb$BinaryConstants_TWO_TO_32*e+t):module$contents$jspb$internal_options_isBigIntAvailable()?""+(BigInt(e)<<BigInt(32)|BigInt(t)):module$contents$jspb$utils_joinUnsignedDecimalStringFallback(t,e)}function module$contents$jspb$utils_joinUnsignedDecimalStringFallback(t,e){var o=(t>>>24|e<<8)&module$contents$jspb$utils_LOW_24_BITS;return e=e>>16&module$contents$jspb$utils_LOW_16_BITS,t=(t&module$contents$jspb$utils_LOW_24_BITS)+6777216*o+6710656*e,o+=8147497*e,e*=2,1e7<=t&&(o+=t/1e7>>>0,t%=1e7),1e7<=o&&(e+=o/1e7>>>0,o%=1e7),(0,goog.asserts.assert)(e),e+module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(o)+module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(t)}function module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(t){return t=String(t),"0000000".slice(t.length)+t}function module$contents$jspb$utils_joinSignedDecimalString(t,e){return e&2147483648?module$contents$jspb$internal_options_isBigIntAvailable()?""+(BigInt(e|0)<<BigInt(32)|BigInt(t>>>0)):module$contents$jspb$utils_joinNegativeDecimalStringFallback(t,e):module$contents$jspb$utils_joinUnsignedDecimalString(t,e)}function module$contents$jspb$utils_joinSignedNumberOrDecimalString(t,e){let o=module$contents$jspb$utils_joinInt64(t,e);return Number.isSafeInteger(o)?o:module$contents$jspb$utils_joinSignedDecimalString(t,e)}function module$contents$jspb$utils_joinUnsignedNumberOrDecimalString(t,e){e>>>=0;let o=module$contents$jspb$utils_joinUint64(t,e);return Number.isSafeInteger(o)?o:module$contents$jspb$utils_joinUnsignedDecimalString(t,e)}function module$contents$jspb$utils_joinNegativeDecimalStringFallback(t,e){let[o,n]=module$contents$jspb$utils_negate(t,e);return t=o,e=n,"-"+module$contents$jspb$utils_joinUnsignedDecimalString(t,e)}function module$contents$jspb$utils_splitDecimalString(t){(0,goog.asserts.assert)(0<t.length),t.length<module$contents$jspb$utils_MAX_SAFE_INTEGER_DECIMAL_LENGTH?module$contents$jspb$utils_splitInt64(Number(t)):module$contents$jspb$internal_options_isBigIntAvailable()?(t=BigInt(t),module$contents$jspb$utils_split64Low=Number(t&BigInt(module$contents$jspb$utils_ALL_32_BITS))>>>0,module$contents$jspb$utils_split64High=Number(t>>BigInt(32)&BigInt(module$contents$jspb$utils_ALL_32_BITS))):module$contents$jspb$utils_splitDecimalStringFallback(t)}function module$contents$jspb$utils_splitDecimalStringFallback(t){(0,goog.asserts.assert)(0<t.length);let e=+(t[0]==="-");module$contents$jspb$utils_split64High=module$contents$jspb$utils_split64Low=0;let o=t.length;for(let n=0+e,r=(o-e)%6+e;r<=o;n=r,r+=6){let s=Number(t.slice(n,r));module$contents$jspb$utils_split64High*=1e6,module$contents$jspb$utils_split64Low=1e6*module$contents$jspb$utils_split64Low+s,module$contents$jspb$utils_split64Low>=module$contents$jspb$BinaryConstants_TWO_TO_32&&(module$contents$jspb$utils_split64High+=Math.trunc(module$contents$jspb$utils_split64Low/module$contents$jspb$BinaryConstants_TWO_TO_32),module$contents$jspb$utils_split64High>>>=0,module$contents$jspb$utils_split64Low>>>=0)}if(e){let[n,r]=module$contents$jspb$utils_negate(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High);module$contents$jspb$utils_split64Low=n,module$contents$jspb$utils_split64High=r}}function module$contents$jspb$utils_negate(t,e){return e=~e,t?t=~t+1:e+=1,[t,e]}function module$contents$jspb$utils_countVarints(t,e,o){let n=0;for(let r=e;r<o;r++)n+=t[r]>>7;return o-e-n}function module$contents$jspb$utils_countVarintFields(t,e,o,n){let r=0;if(n=8*n+module$contents$jspb$BinaryConstants_WireType.VARINT,128>n)for(;e<o&&t[e++]==n;)for(r++;(t[e++]&128)!=0;);else for(;e<o;){let s=n;for(;128<s;){if(t[e]!=(s&127|128))return r;e++,s>>=7}if(t[e++]!=s)break;for(r++;(t[e++]&128)!=0;);}return r}function module$contents$jspb$utils_countFixedFields_(t,e,o,n,r){let s=0;if(128>n)for(;e<o&&t[e++]==n;)s++,e+=r;else for(;e<o;){let i=n;for(;128<i;){if(t[e++]!=(i&127|128))return s;i>>=7}if(t[e++]!=i)break;s++,e+=r}return s}function module$contents$jspb$utils_countFixed32Fields(t,e,o,n){return module$contents$jspb$utils_countFixedFields_(t,e,o,8*n+module$contents$jspb$BinaryConstants_WireType.FIXED32,4)}function module$contents$jspb$utils_countFixed64Fields(t,e,o,n){return module$contents$jspb$utils_countFixedFields_(t,e,o,8*n+module$contents$jspb$BinaryConstants_WireType.FIXED64,8)}function module$contents$jspb$utils_countDelimitedFields(t,e,o,n){let r=0;for(n=8*n+module$contents$jspb$BinaryConstants_WireType.DELIMITED;e<o;){let s=n;for(;128<s;){if(t[e++]!=(s&127|128))return r;s>>=7}if(t[e++]!=s)break;r++;let i=0,g=1;for(;s=t[e++],i+=(s&127)*g,g*=128,(s&128)!=0;);e+=i}return r}function module$contents$jspb$utils_byteSourceToUint8Array(t,e){if(t.constructor===Uint8Array)return t;if(t.constructor===ArrayBuffer||t.constructor===Array)return new Uint8Array(t);if(t.constructor===String)return(0,goog.crypt.base64.decodeStringToUint8Array)(t);if(t.constructor===module$contents$jspb$bytestring_ByteString)return e?t.asUint8Array():module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(t);if(t instanceof Uint8Array)return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, or Array of numbers")}function module$contents$jspb$utils_getSplit64Low(){return module$contents$jspb$utils_split64Low}function module$contents$jspb$utils_getSplit64High(){return module$contents$jspb$utils_split64High}function module$contents$jspb$utils_makeTag(t,e){return 8*t+e}var module$contents$jspb$utils_LOW_16_BITS=65535,module$contents$jspb$utils_LOW_24_BITS=16777215,module$contents$jspb$utils_ALL_32_BITS=4294967295,module$contents$jspb$utils_MAX_SAFE_INTEGER_DECIMAL_LENGTH=16;jspb.utils.byteSourceToUint8Array=module$contents$jspb$utils_byteSourceToUint8Array;jspb.utils.countDelimitedFields=module$contents$jspb$utils_countDelimitedFields;jspb.utils.countFixed32Fields=module$contents$jspb$utils_countFixed32Fields;jspb.utils.countFixed64Fields=module$contents$jspb$utils_countFixed64Fields;jspb.utils.countVarintFields=module$contents$jspb$utils_countVarintFields;jspb.utils.countVarints=module$contents$jspb$utils_countVarints;jspb.utils.fromZigzag32=module$contents$jspb$utils_fromZigzag32;jspb.utils.fromZigzag64=module$contents$jspb$utils_fromZigzag64;jspb.utils.getSplit64High=module$contents$jspb$utils_getSplit64High;jspb.utils.getSplit64Low=module$contents$jspb$utils_getSplit64Low;jspb.utils.joinFloat32=module$contents$jspb$utils_joinFloat32;jspb.utils.joinFloat64=module$contents$jspb$utils_joinFloat64;jspb.utils.joinInt64=module$contents$jspb$utils_joinInt64;jspb.utils.joinNegativeDecimalStringFallback=module$contents$jspb$utils_joinNegativeDecimalStringFallback;jspb.utils.joinSignedDecimalString=module$contents$jspb$utils_joinSignedDecimalString;jspb.utils.joinSignedNumberOrDecimalString=module$contents$jspb$utils_joinSignedNumberOrDecimalString;jspb.utils.joinUint64=module$contents$jspb$utils_joinUint64;jspb.utils.joinUnsignedDecimalString=module$contents$jspb$utils_joinUnsignedDecimalString;jspb.utils.joinUnsignedDecimalStringFallback=module$contents$jspb$utils_joinUnsignedDecimalStringFallback;jspb.utils.joinUnsignedNumberOrDecimalString=module$contents$jspb$utils_joinUnsignedNumberOrDecimalString;jspb.utils.joinZigzag64=module$contents$jspb$utils_joinZigzag64;jspb.utils.makeTag=module$contents$jspb$utils_makeTag;jspb.utils.sliceUint8Array=module$contents$jspb$utils_sliceUint8Array;jspb.utils.splitDecimalString=module$contents$jspb$utils_splitDecimalString;jspb.utils.splitDecimalStringFallback=module$contents$jspb$utils_splitDecimalStringFallback;jspb.utils.splitFloat32=module$contents$jspb$utils_splitFloat32;jspb.utils.splitFloat64=module$contents$jspb$utils_splitFloat64;jspb.utils.splitInt64=module$contents$jspb$utils_splitInt64;jspb.utils.splitUint64=module$contents$jspb$utils_splitUint64;jspb.utils.splitZigzag64=module$contents$jspb$utils_splitZigzag64;jspb.utils.toZigzag32=module$contents$jspb$utils_toZigzag32;jspb.utils.toZigzag64=module$contents$jspb$utils_toZigzag64;var module$exports$jspb$binary$internal_buffer={Buffer:class{constructor(t,e,o){if(this.buffer=t,(this.bufferAsByteStringInternal=o)&&!e)throw goog.DEBUG?Error("Buffer must be immutable if a ByteString is provided."):Error();this.isImmutable=e}getBufferAsByteStringIfImmutable(){if(!this.isImmutable)throw goog.DEBUG?Error("Cannot get ByteString from mutable buffer."):Error();return this.buffer==null?null:this.bufferAsByteStringInternal??(this.bufferAsByteStringInternal=module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(this.buffer))}}};function module$contents$jspb$binary$internal_buffer_bufferFromSource(t,e){if(typeof t=="string")return new module$exports$jspb$binary$internal_buffer.Buffer(module$contents$jspb$internal_bytes_decodeByteArray(t),e);if(Array.isArray(t))return new module$exports$jspb$binary$internal_buffer.Buffer(new Uint8Array(t),e);if(t.constructor===Uint8Array)return new module$exports$jspb$binary$internal_buffer.Buffer(t,!1);if(t.constructor===ArrayBuffer)return t=new Uint8Array(t),new module$exports$jspb$binary$internal_buffer.Buffer(t,!1);if(t.constructor===module$contents$jspb$bytestring_ByteString)return e=module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(t),new module$exports$jspb$binary$internal_buffer.Buffer(e,!0,t);if(t instanceof Uint8Array)return t=t.constructor===Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new module$exports$jspb$binary$internal_buffer.Buffer(t,!1);throw goog.DEBUG?Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"):Error()}module$exports$jspb$binary$internal_buffer.bufferFromSource=module$contents$jspb$binary$internal_buffer_bufferFromSource;jspb.binary.decoder={};var module$contents$jspb$binary$decoder_MAX_VARINT_SIZE=10,module$contents$jspb$binary$decoder_BinaryDecoder=class t{constructor(e,o,n,r){this.buffer_=this.bytes_=null,this.bytesAreImmutable_=!1,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null),this.cursor_=this.end_=this.start_=0,this.init(e,o,n,r)}init(e,o,n,{aliasBytesFields:r=!1,treatNewDataAsImmutable:s=!1}={}){this.aliasBytesFields=r,this.treatNewDataAsImmutable=s,e&&this.setBlock(e,o,n)}static alloc(e,o,n,r){if(t.instanceCache_.length){let s=t.instanceCache_.pop();return s.init(e,o,n,r),s}return new t(e,o,n,r)}free(){this.clear(),100>t.instanceCache_.length&&t.instanceCache_.push(this)}clear(){this.buffer_=this.bytes_=null,this.bytesAreImmutable_=!1,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null),this.cursor_=this.end_=this.start_=0,this.aliasBytesFields=!1}dataIsImmutable(){return this.bytesAreImmutable_}getBuffer(){if(this.bytesAreImmutable_)throw goog.DEBUG?Error("cannot access the buffer of decoders over immutable data."):Error();return this.bytes_}getBufferAsByteString(){if(this.buffer_==null)return null;if(!this.bytesAreImmutable_)throw goog.DEBUG?Error("cannot access the buffer of decoders over immutable data."):Error();return this.buffer_.getBufferAsByteStringIfImmutable()}setBlock(e,o,n){this.buffer_=e=module$contents$jspb$binary$internal_buffer_bufferFromSource(e,this.treatNewDataAsImmutable),this.bytes_=e.buffer,this.bytesAreImmutable_=e.isImmutable,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null),this.start_=o||0,this.end_=n!==void 0?this.start_+n:this.bytes_.length,this.cursor_=this.start_}getEnd(){return this.end_}setEnd(e){this.end_=e}reset(){this.cursor_=this.start_}getCursor(){return this.cursor_}setCursor(e){this.cursor_=e}advance(e){this.setCursorAndCheck(this.cursor_+e)}atEnd(){return this.cursor_==this.end_}pastEnd(){return this.cursor_>this.end_}static readSplitVarint64(e,o){let n,r=0,s=0,i=0,g=e.bytes_,$=e.cursor_;do n=g[$++],r|=(n&127)<<i,i+=7;while(32>i&&n&128);for(32<i&&(s|=(n&127)>>4),i=3;32>i&&n&128;i+=7)n=g[$++],s|=(n&127)<<i;if(e.setCursorAndCheck($),128>n)return o(r>>>0,s>>>0);throw module$contents$jspb$binary$errors_invalidVarintError()}static readSplitZigzagVarint64(e,o){return t.readSplitVarint64(e,(n,r)=>module$contents$jspb$utils_fromZigzag64(n,r,o))}static readSplitFixed64(e,o){let n=e.bytes_,r=e.cursor_;e.advance(8);let s=e=0;for(let i=r+7;i>=r;i--)e=e<<8|n[i],s=s<<8|n[i+4];return o(e,s)}skipVarint(){t.readBool(this)}setCursorAndCheck(e){if(this.cursor_=e,e>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(this.end_,e)}static readSignedVarint32(e){let o=e.bytes_,n=e.cursor_,r=o[n++],s=r&127;if(r&128&&(r=o[n++],s|=(r&127)<<7,r&128&&(r=o[n++],s|=(r&127)<<14,r&128&&(r=o[n++],s|=(r&127)<<21,r&128&&(r=o[n++],s|=r<<28,r&128&&o[n++]&128&&o[n++]&128&&o[n++]&128&&o[n++]&128&&o[n++]&128)))))throw module$contents$jspb$binary$errors_invalidVarintError();return e.setCursorAndCheck(n),s}static readUnsignedVarint32(e){return t.readSignedVarint32(e)>>>0}readUnsignedVarint32IfEqualTo(e){goog.asserts.assert(e===e>>>0);let o=this.cursor_,n=o,r=this.end_,s=this.bytes_;for(;n<r;)if(127<e){let i=128|e&127;if(s[n++]!==i)break;e>>>=7}else{if(s[n++]===e)return this.cursor_=n,o;break}return-1}static readZigzagVarint32(e){return module$contents$jspb$utils_fromZigzag32(t.readUnsignedVarint32(e))}static readUnsignedVarint64(e){return t.readSplitVarint64(e,module$contents$jspb$utils_joinUint64)}static readUnsignedVarint64String(e){return t.readSplitVarint64(e,module$contents$jspb$utils_joinUnsignedDecimalString)}static readSignedVarint64(e){return t.readSplitVarint64(e,module$contents$jspb$utils_joinInt64)}static readSignedVarint64String(e){return t.readSplitVarint64(e,module$contents$jspb$utils_joinSignedDecimalString)}static readZigzagVarint64(e){return t.readSplitVarint64(e,module$contents$jspb$utils_joinZigzag64)}static readZigzagVarint64String(e){return t.readSplitZigzagVarint64(e,module$contents$jspb$utils_joinSignedDecimalString)}static readUint8(e){let o=e.bytes_[e.cursor_+0];return e.advance(1),o}static readUint16(e){let o=e.bytes_[e.cursor_+0],n=e.bytes_[e.cursor_+1];return e.advance(2),o<<0|n<<8}static readUint32(e){var o=e.bytes_;let n=e.cursor_,r=o[n+0],s=o[n+1],i=o[n+2];return o=o[n+3],e.advance(4),(r<<0|s<<8|i<<16|o<<24)>>>0}static readUint64(e){let o=t.readUint32(e);return e=t.readUint32(e),module$contents$jspb$utils_joinUint64(o,e)}static readUint64String(e){let o=t.readUint32(e);return e=t.readUint32(e),module$contents$jspb$utils_joinUnsignedDecimalString(o,e)}static readInt8(e){let o=e.bytes_[e.cursor_+0];return e.advance(1),o<<24>>24}static readInt16(e){let o=e.bytes_[e.cursor_+0],n=e.bytes_[e.cursor_+1];return e.advance(2),(o<<0|n<<8)<<16>>16}static readInt32(e){var o=e.bytes_;let n=e.cursor_,r=o[n+0],s=o[n+1],i=o[n+2];return o=o[n+3],e.advance(4),r<<0|s<<8|i<<16|o<<24}static readInt64(e){let o=t.readUint32(e);return e=t.readUint32(e),module$contents$jspb$utils_joinInt64(o,e)}static readInt64String(e){let o=t.readUint32(e);return e=t.readUint32(e),module$contents$jspb$utils_joinSignedDecimalString(o,e)}static readFloat(e){return e=t.readUint32(e),module$contents$jspb$utils_joinFloat32(e,0)}static readDouble(e){if(module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST){var o=e.getDataView().getFloat64(e.cursor_,!0);return e.advance(8),o}return o=t.readUint32(e),e=t.readUint32(e),module$contents$jspb$utils_joinFloat64(o,e)}readDoubleArrayInto(e,o){var n=this.cursor_,r=8*e;if(n+r>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(r,this.end_-n);var s=this.bytes_;if(n+=s.byteOffset,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST)for(this.cursor_+=r,e=new DataView(s.buffer,n,r),r=0;s=r+8,!(s>e.byteLength);)o.push(e.getFloat64(r,!0)),r=s;else if(module$contents$jspb$binary$decoder_OPTIMIZE_LITTLE_ENDIAN_MACHINES&&module$contents$jspb$binary$decoder_isLittleEndian())for(this.cursor_+=r,e=new Float64Array(s.buffer.slice(n,n+r)),r=0;r<e.length;r++)o.push(e[r]);else for(r=0;r<e;r++)o.push(t.readDouble(this))}static readBool(e){let o=0,n=e.cursor_,r=n+module$contents$jspb$binary$decoder_MAX_VARINT_SIZE,s=e.bytes_;for(;n<r;){let i=s[n++];if(o|=i,(i&128)===0)return e.setCursorAndCheck(n),!!(o&127)}throw module$contents$jspb$binary$errors_invalidVarintError()}static readEnum(e){return t.readSignedVarint32(e)}checkReadLengthAndAdvance(e){if(0>e)throw module$contents$jspb$binary$errors_negativeByteLengthError(e);let o=this.cursor_,n=o+e;if(n>this.end_)throw module$contents$jspb$binary$errors_readTooFarError(e,this.end_-o);return this.cursor_=n,o}readString(e,o){let n=this.checkReadLengthAndAdvance(e);return module$contents$jspb$binary$utf8_decodeUtf8(goog.asserts.assert(this.bytes_),n,e,o)}readBytes(e){let o=this.checkReadLengthAndAdvance(e);return this.aliasBytesFields&&!this.bytesAreImmutable_?this.bytes_.subarray(o,o+e):module$contents$jspb$utils_sliceUint8Array(goog.asserts.assert(this.bytes_),o,o+e)}readByteString(e){if(e==0)return module$contents$jspb$bytestring_ByteString.empty();let o=this.checkReadLengthAndAdvance(e);return e=this.aliasBytesFields&&this.bytesAreImmutable_?this.bytes_.subarray(o,o+e):module$contents$jspb$utils_sliceUint8Array(goog.asserts.assert(this.bytes_),o,o+e),module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(e)}getDataView(){var e=this.dataView_;return e||(e=this.bytes_,e=this.dataView_=new DataView(e.buffer,e.byteOffset,e.byteLength)),e}static resetInstanceCache(){t.instanceCache_=[]}static getInstanceCache(){return t.instanceCache_}};goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"getInstanceCache",module$contents$jspb$binary$decoder_BinaryDecoder.getInstanceCache);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"resetInstanceCache",module$contents$jspb$binary$decoder_BinaryDecoder.resetInstanceCache);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readByteString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readByteString);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readBytes",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readBytes);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readString);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readEnum",module$contents$jspb$binary$decoder_BinaryDecoder.readEnum);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readBool",module$contents$jspb$binary$decoder_BinaryDecoder.readBool);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readDoubleArrayInto",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readDoubleArrayInto);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readDouble",module$contents$jspb$binary$decoder_BinaryDecoder.readDouble);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readFloat",module$contents$jspb$binary$decoder_BinaryDecoder.readFloat);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt64String",module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt64",module$contents$jspb$binary$decoder_BinaryDecoder.readInt64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt32",module$contents$jspb$binary$decoder_BinaryDecoder.readInt32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt16",module$contents$jspb$binary$decoder_BinaryDecoder.readInt16);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readInt8",module$contents$jspb$binary$decoder_BinaryDecoder.readInt8);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint64",module$contents$jspb$binary$decoder_BinaryDecoder.readUint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint32",module$contents$jspb$binary$decoder_BinaryDecoder.readUint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint16",module$contents$jspb$binary$decoder_BinaryDecoder.readUint16);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUint8",module$contents$jspb$binary$decoder_BinaryDecoder.readUint8);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint64String",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readZigzagVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"readUnsignedVarint32IfEqualTo",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.readUnsignedVarint32IfEqualTo);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readUnsignedVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSignedVarint32",module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"skipVarint",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.skipVarint);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitFixed64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitFixed64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitZigzagVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitZigzagVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"readSplitVarint64",module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"pastEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.pastEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"atEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.atEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"advance",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.advance);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setCursor",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setCursor);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getCursor",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getCursor);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"reset",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.reset);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getEnd",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getEnd);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"setBlock",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.setBlock);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getBufferAsByteString",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getBufferAsByteString);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"getBuffer",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.getBuffer);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"dataIsImmutable",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.dataIsImmutable);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"clear",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.clear);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder.prototype,"free",module$contents$jspb$binary$decoder_BinaryDecoder.prototype.free);goog.exportProperty(module$contents$jspb$binary$decoder_BinaryDecoder,"alloc",module$contents$jspb$binary$decoder_BinaryDecoder.alloc);module$contents$jspb$binary$decoder_BinaryDecoder.instanceCache_=[];function module$contents$jspb$binary$decoder_isLittleEndian(){return module$contents$jspb$binary$decoder_isLittleEndianCache===void 0&&(module$contents$jspb$binary$decoder_isLittleEndianCache=new Uint16Array(new Uint8Array([1,2]).buffer)[0]==513),goog.asserts.assertBoolean(module$contents$jspb$binary$decoder_isLittleEndianCache)}var module$contents$jspb$binary$decoder_isLittleEndianCache,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST=2019<=goog.FEATURESET_YEAR,module$contents$jspb$binary$decoder_OPTIMIZE_LITTLE_ENDIAN_MACHINES=!0;jspb.binary.decoder.BinaryDecoder=module$contents$jspb$binary$decoder_BinaryDecoder;jspb.binary.reader={};var module$contents$jspb$binary$reader_ENFORCE_UTF8="ALWAYS";goog.asserts.assert(module$contents$jspb$binary$reader_ENFORCE_UTF8==="DEPRECATED_PROTO3_ONLY"||module$contents$jspb$binary$reader_ENFORCE_UTF8==="ALWAYS");var module$contents$jspb$binary$reader_UTF8_PARSING_ERRORS_ARE_FATAL=module$contents$jspb$binary$reader_ENFORCE_UTF8==="ALWAYS",module$contents$jspb$binary$reader_BinaryReaderOptions=class{constructor(){}},module$contents$jspb$binary$reader_BinaryReader=class t{constructor(e,o,n,r){this.decoder_=module$contents$jspb$binary$decoder_BinaryDecoder.alloc(e,o,n,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER,this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG,this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID,this.setOptions(r)}setOptions({discardUnknownFields:e=!1}={}){this.discardUnknownFields=e}static alloc(e,o,n,r){if(t.instanceCache_.length){let s=t.instanceCache_.pop();return s.setOptions(r),s.decoder_.init(e,o,n,r),s}return new t(e,o,n,r)}free(){this.decoder_.clear(),this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG,this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER,this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID,100>t.instanceCache_.length&&t.instanceCache_.push(this)}getFieldCursor(){return this.fieldCursor_}getCursor(){return this.decoder_.getCursor()}dataIsImmutable(){return this.decoder_.dataIsImmutable()}getBuffer(){return this.decoder_.getBuffer()}getBufferAsByteString(){return this.decoder_.getBufferAsByteString()}getTag(){return this.nextTag_}getFieldNumber(){return this.nextField_}getWireType(){return this.nextWireType_}isEndGroup(){return this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.END_GROUP}isDelimited(){return this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED}reset(){this.decoder_.reset(),this.fieldCursor_=this.decoder_.getCursor(),this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG,this.nextField_=module$contents$jspb$BinaryConstants_INVALID_FIELD_NUMBER,this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID}advance(e){this.decoder_.advance(e)}nextField(){if(this.decoder_.atEnd())return!1;this.assertPriorFieldWasRead(),this.fieldCursor_=this.decoder_.getCursor();let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_),o=module$contents$jspb$binary$reader_parseFieldNumber(e),n=module$contents$jspb$binary$reader_parseWireType(e);if(!module$contents$jspb$BinaryConstants_isValidWireType(n))throw module$contents$jspb$binary$errors_invalidWireTypeError(n,this.fieldCursor_);if(1>o)throw module$contents$jspb$binary$errors_invalidFieldNumberError(o,this.fieldCursor_);return this.nextTag_=e,this.nextField_=o,this.nextWireType_=n,!0}nextFieldIfTagEqualTo(e){this.assertPriorFieldWasRead(),goog.asserts.assert(module$contents$jspb$BinaryConstants_isValidWireType(module$contents$jspb$binary$reader_parseWireType(e))&&0<module$contents$jspb$binary$reader_parseFieldNumber(e),"Must pass a valid tag.");let o=this.decoder_.readUnsignedVarint32IfEqualTo(e),n=0<=o;return n&&(this.fieldCursor_=o,this.nextTag_=e,this.nextField_=module$contents$jspb$binary$reader_parseFieldNumber(e),this.nextWireType_=module$contents$jspb$binary$reader_parseWireType(e)),n}assertPriorFieldWasRead(){if(goog.asserts.ENABLE_ASSERTS&&this.nextTag_!==module$contents$jspb$BinaryConstants_INVALID_TAG){let e=this.decoder_.getCursor();this.decoder_.setCursor(this.fieldCursor_),module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_),this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.END_GROUP||this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.START_GROUP?goog.asserts.assert(e===this.decoder_.getCursor(),"Expected to not advance the cursor. Group tags do not have values."):goog.asserts.assert(e>this.decoder_.getCursor(),"Expected to read the field, did you forget to call a read or skip method?"),this.decoder_.setCursor(e)}}skipVarintField(){this.nextWireType_!=module$contents$jspb$BinaryConstants_WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()}skipDelimitedField(){if(this.nextWireType_!=module$contents$jspb$BinaryConstants_WireType.DELIMITED)return goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField(),0;let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.advance(e),e}skipFixed32Field(){goog.asserts.assert(this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.FIXED32),this.decoder_.advance(4)}skipFixed64Field(){goog.asserts.assert(this.nextWireType_===module$contents$jspb$BinaryConstants_WireType.FIXED64),this.decoder_.advance(8)}skipGroup(){let e=this.nextField_;do{if(!this.nextField())throw module$contents$jspb$binary$errors_unmatchedStartGroupEofError();if(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.END_GROUP){if(this.nextField_!=e)throw module$contents$jspb$binary$errors_unmatchedStartGroupError();break}this.skipField()}while(!0)}skipField(){switch(this.nextWireType_){case module$contents$jspb$BinaryConstants_WireType.VARINT:this.skipVarintField();break;case module$contents$jspb$BinaryConstants_WireType.FIXED64:this.skipFixed64Field();break;case module$contents$jspb$BinaryConstants_WireType.DELIMITED:this.skipDelimitedField();break;case module$contents$jspb$BinaryConstants_WireType.FIXED32:this.skipFixed32Field();break;case module$contents$jspb$BinaryConstants_WireType.START_GROUP:this.skipGroup();break;default:throw module$contents$jspb$binary$errors_invalidWireTypeError(this.nextWireType_,this.fieldCursor_)}}skipToEnd(){this.decoder_.setCursor(this.decoder_.getEnd())}readUnknownField(){let e=this.getFieldCursor();return this.skipField(),this.readUnknownFieldsStartingFrom(e)}readUnknownFieldsStartingFrom(e){if(!this.discardUnknownFields){let o=this.decoder_.getCursor(),n=o-e;return this.decoder_.setCursor(e),e=this.decoder_.readByteString(n),goog.asserts.assert(o==this.decoder_.getCursor()),e}}readAny(e){if(module$contents$jspb$BinaryConstants_FieldTypeToWireType(e)!==this.nextWireType_)return null;let o=module$contents$jspb$BinaryConstants_FieldType;switch(e){case o.DOUBLE:return this.readDouble();case o.FLOAT:return this.readFloat();case o.INT64:return this.readInt64();case o.UINT64:return this.readUint64();case o.INT32:return this.readInt32();case o.FIXED64:return this.readFixed64();case o.FIXED32:return this.readFixed32();case o.BOOL:return this.readBool();case o.STRING:return this.readString();case o.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case o.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case o.BYTES:return this.readBytes();case o.UINT32:return this.readUint32();case o.ENUM:return this.readEnum();case o.SFIXED32:return this.readSfixed32();case o.SFIXED64:return this.readSfixed64();case o.SINT32:return this.readSint32();case o.SINT64:return this.readSint64();default:goog.asserts.fail("Invalid field type in readAny()")}return null}readMessage(e,o,n,r,s){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);let i=this.decoder_.getEnd(),g=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_),$=this.decoder_.getCursor()+g,l=$-i;if(0>=l&&(this.decoder_.setEnd($),o(e,this,n,r,s),l=$-this.decoder_.getCursor()),l)throw module$contents$jspb$binary$errors_messageLengthMismatchError(g,g-l);return this.decoder_.setCursor($),this.decoder_.setEnd(i),e}readGroup(e,o,n){if(goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.START_GROUP),goog.asserts.assert(this.nextField_==e),n(o,this),this.nextWireType_!==module$contents$jspb$BinaryConstants_WireType.END_GROUP)throw module$contents$jspb$binary$errors_groupDidNotEndWithEndGroupError();if(this.nextField_!==e)throw module$contents$jspb$binary$errors_unmatchedStartGroupError();return o}isMessageSetGroup(){return this.getTag()===module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG}readMessageSetGroup(e){goog.asserts.assert(this.isMessageSetGroup());let o=0,n=0;for(;this.nextField()&&!this.isEndGroup();)this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG||o?this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_MESSAGE_TAG||n?this.skipField():o?(n=-1,this.readMessage(o,e)):(n=this.getFieldCursor(),this.skipDelimitedField()):(o=this.readUint32(),n&&(goog.asserts.assert(0<n),goog.asserts.ENABLE_ASSERTS&&(this.nextTag_=module$contents$jspb$BinaryConstants_INVALID_TAG,this.nextWireType_=module$contents$jspb$BinaryConstants_WireType.INVALID),this.decoder_.setCursor(n),n=0));if(this.getTag()!==module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG||!n||!o)throw module$contents$jspb$binary$errors_malformedBinaryBytesForMessageSet()}readInt32(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(this.decoder_)}readInt64(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64(this.decoder_)}readInt64String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String(this.decoder_)}readUint32(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_)}readUint64(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64(this.decoder_)}readUint64String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String(this.decoder_)}readSint32(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32(this.decoder_)}readSint64(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64(this.decoder_)}readSint64String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String(this.decoder_)}readFixed32(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32),module$contents$jspb$binary$decoder_BinaryDecoder.readUint32(this.decoder_)}readFixed64(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readUint64(this.decoder_)}readFixed64String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String(this.decoder_)}readSfixed32(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32),module$contents$jspb$binary$decoder_BinaryDecoder.readInt32(this.decoder_)}readSfixed32String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32),module$contents$jspb$binary$decoder_BinaryDecoder.readInt32(this.decoder_).toString()}readSfixed64(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readInt64(this.decoder_)}readSfixed64String(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String(this.decoder_)}readFloat(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED32),module$contents$jspb$binary$decoder_BinaryDecoder.readFloat(this.decoder_)}readDouble(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readDouble(this.decoder_)}readBool(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readBool(this.decoder_)}readEnum(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32(this.decoder_)}readString(){if(module$contents$jspb$binary$reader_UTF8_PARSING_ERRORS_ARE_FATAL)return this.readStringRequireUtf8();goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readString(e,!1)}readStringRequireUtf8(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readString(e,!0)}readBytes(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readBytes(e)}readByteString(){goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED);let e=module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_);return this.decoder_.readByteString(e)}readSplitVarint64(e){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(this.decoder_,e)}readSplitZigzagVarint64(e){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$decoder_BinaryDecoder.readSplitVarint64(this.decoder_,(o,n)=>module$contents$jspb$utils_fromZigzag64(o,n,e))}readSplitFixed64(e){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.FIXED64),module$contents$jspb$binary$decoder_BinaryDecoder.readSplitFixed64(this.decoder_,e)}readPackedFieldInto_(e,o){var n=this.readPackedFieldLength_();for(n=this.decoder_.getCursor()+n;this.decoder_.getCursor()<n;)o.push(e(this.decoder_))}readPackedFieldLength_(){return goog.asserts.assert(this.nextWireType_==module$contents$jspb$BinaryConstants_WireType.DELIMITED),module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32(this.decoder_)}readPackableInt32Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint32,e):e.push(this.readInt32())}readPackableInt64Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64,e):e.push(this.readInt64())}readPackableInt64StringInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readSignedVarint64String,e):e.push(this.readInt64String())}readPackableUint32Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint32,e):e.push(this.readUint32())}readPackableUint64Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64,e):e.push(this.readUint64())}readPackableUint64StringInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUnsignedVarint64String,e):e.push(this.readUint64String())}readPackableSint32Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint32,e):e.push(this.readSint32())}readPackableSint64Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64,e):e.push(this.readSint64())}readPackableSint64StringInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readZigzagVarint64String,e):e.push(this.readSint64String())}readPackableFixed32Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint32,e):e.push(this.readFixed32())}readPackableFixed64Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint64,e):e.push(this.readFixed64())}readPackableFixed64StringInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readUint64String,e):e.push(this.readFixed64String())}readPackableSfixed32Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt32,e):e.push(this.readSfixed32())}readPackableSfixed64Into(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt64,e):e.push(this.readSfixed64())}readPackableSfixed64StringInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readInt64String,e):e.push(this.readSfixed64String())}readPackedFixed32(){let e=[];return this.readPackableFixed32Into(e),e}readPackedFixed64(){let e=[];return this.readPackableFixed64Into(e),e}readPackedFixed64String(){let e=[];return this.readPackableFixed64StringInto(e),e}readPackedSfixed32(){let e=[];return this.readPackableSfixed32Into(e),e}readPackedSfixed64String(){let e=[];return this.readPackableSfixed64StringInto(e),e}readPackableFloatInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readFloat,e):e.push(this.readFloat())}readPackableDoubleInto(e){this.isDelimited()?this.decoder_.readDoubleArrayInto(this.readPackedFieldLength_()/8,e):e.push(this.readDouble())}readPackableBoolInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readBool,e):e.push(this.readBool())}readPackableEnumInto(e){this.isDelimited()?this.readPackedFieldInto_(module$contents$jspb$binary$decoder_BinaryDecoder.readEnum,e):e.push(this.readEnum())}static resetInstanceCache(){t.instanceCache_=[]}static getInstanceCache(){return t.instanceCache_}};goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedSfixed64String",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedSfixed64String);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedSfixed32",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedSfixed32);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed64String",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed64String);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed64",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed64);goog.exportProperty(module$contents$jspb$binary$reader_BinaryReader.prototype,"readPackedFixed32",module$contents$jspb$binary$reader_BinaryReader.prototype.readPackedFixed32);function module$contents$jspb$binary$reader_parseWireType(t){return t&7}function module$contents$jspb$binary$reader_parseFieldNumber(t){return t>>>3}module$contents$jspb$binary$reader_BinaryReader.instanceCache_=[];var module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER,module$contents$jspb$BinaryConstants_WireType.START_GROUP),module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_TYPE_ID_FIELD_NUMBER,module$contents$jspb$BinaryConstants_WireType.VARINT),module$contents$jspb$binary$reader_MESSAGE_SET_MESSAGE_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_MESSAGE_FIELD_NUMBER,module$contents$jspb$BinaryConstants_WireType.DELIMITED),module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG=module$contents$jspb$utils_makeTag(module$contents$jspb$BinaryConstants_MESSAGE_SET_GROUP_NUMBER,module$contents$jspb$BinaryConstants_WireType.END_GROUP);jspb.binary.reader.BinaryReader=module$contents$jspb$binary$reader_BinaryReader;jspb.binary.reader.BinaryReaderOptions=module$contents$jspb$binary$reader_BinaryReaderOptions;jspb.binary.reader.UTF8_PARSING_ERRORS_ARE_FATAL=module$contents$jspb$binary$reader_UTF8_PARSING_ERRORS_ARE_FATAL;jspb.ExtensionFieldInfo=function(t,e,o,n,r){this.fieldIndex=t,this.fieldName=e,this.ctor=o,this.toObjectFn=n,this.isRepeated=r};goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo);jspb.ExtensionFieldBinaryInfo=function(t,e,o,n,r,s){this.fieldInfo=t,this.binaryReaderFn=e,this.binaryWriterFn=o,this.binaryMessageSerializeFn=n,this.binaryMessageDeserializeFn=r,this.isPacked=s};goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo);jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor};goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType);jspb.Message=function(){};goog.exportSymbol("jspb.Message",jspb.Message);jspb.Message.GENERATE_TO_OBJECT=!0;goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT);jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE;goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT);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_};goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId);jspb.Message.getIndex_=function(t,e){return e+t.arrayIndexOffset_};jspb.Message.hiddenES6Property_=class{};jspb.Message.getFieldNumber_=function(t,e){return e-t.arrayIndexOffset_};jspb.Message.initialize=function(t,e,o,n,r,s){if(t.wrappers_=null,e||=o?[o]:[],t.messageId_=o?String(o):void 0,t.arrayIndexOffset_=o===0?-1:0,t.array=e,jspb.Message.initPivotAndExtensionObject_(t,n),t.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(t.repeatedFields=r),r)for(e=0;e<r.length;e++)o=r[e],o<t.pivot_?(o=jspb.Message.getIndex_(t,o),t.array[o]=t.array[o]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[o]=t.extensionObject_[o]||jspb.Message.EMPTY_LIST_SENTINEL_);if(s&&s.length)for(e=0;e<s.length;e++)jspb.Message.computeOneofCase(t,s[e])};goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize);jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[];jspb.Message.isArray_=function(t){return jspb.Message.ASSUME_LOCAL_ARRAYS?t instanceof Array:Array.isArray(t)};jspb.Message.isExtensionObject_=function(t){return t!==null&&typeof t=="object"&&!jspb.Message.isArray_(t)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)};jspb.Message.initPivotAndExtensionObject_=function(t,e){var o=t.array.length,n=-1;if(o&&(n=o-1,o=t.array[n],jspb.Message.isExtensionObject_(o))){t.pivot_=jspb.Message.getFieldNumber_(t,n),t.extensionObject_=o;return}-1<e?(t.pivot_=Math.max(e,jspb.Message.getFieldNumber_(t,n+1)),t.extensionObject_=null):t.pivot_=Number.MAX_VALUE};jspb.Message.maybeInitEmptyExtensionObject_=function(t){var e=jspb.Message.getIndex_(t,t.pivot_);t.array[e]||(t.extensionObject_=t.array[e]={})};jspb.Message.toObjectList=function(t,e,o){for(var n=[],r=0;r<t.length;r++)n[r]=e.call(t[r],o,t[r]);return n};goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList);jspb.Message.toObjectExtension=function(t,e,o,n,r){for(var s in o){var i=o[s],g=n.call(t,i);if(g!=null){for(var $ in i.fieldName)if(i.fieldName.hasOwnProperty($))break;e[$]=i.toObjectFn?i.isRepeated?jspb.Message.toObjectList(g,i.toObjectFn,r):i.toObjectFn(r,g):g}}};goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension);jspb.Message.serializeBinaryExtensions=function(t,e,o,n){for(var r in o){var s=o[r],i=s.fieldInfo;if(!s.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var g=n.call(t,i);if(g!=null)if(i.isMessageType())if(s.binaryMessageSerializeFn)s.binaryWriterFn.call(e,i.fieldIndex,g,s.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else s.binaryWriterFn.call(e,i.fieldIndex,g)}};goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions);jspb.Message.readBinaryExtension=function(t,e,o,n,r){var s=o[e.getFieldNumber()];if(s){if(o=s.fieldInfo,!s.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(o.isMessageType()){var i=new o.ctor;s.binaryReaderFn.call(e,i,s.binaryMessageDeserializeFn)}else{if(o.isRepeated&&s.isPacked){i=n.call(t,o)??[],s.binaryReaderFn.call(e,i),r.call(t,o,i);return}i=s.binaryReaderFn.call(e)}o.isRepeated&&!s.isPacked?(e=n.call(t,o))?e.push(i):r.call(t,o,[i]):r.call(t,o,i)}else e.skipField()};goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension);jspb.Message.getField=function(t,e){if(e<t.pivot_){e=jspb.Message.getIndex_(t,e);var o=t.array[e];return o===jspb.Message.EMPTY_LIST_SENTINEL_?t.array[e]=[]:o}if(t.extensionObject_)return o=t.extensionObject_[e],o===jspb.Message.EMPTY_LIST_SENTINEL_?t.extensionObject_[e]=[]:o};goog.exportProperty(jspb.Message,"getField",jspb.Message.getField);jspb.Message.getRepeatedField=function(t,e){return jspb.Message.getField(t,e)};goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField);jspb.Message.getOptionalFloatingPointField=function(t,e){return t=jspb.Message.getField(t,e),t==null?t:+t};goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField);jspb.Message.getBooleanField=function(t,e){return t=jspb.Message.getField(t,e),t==null?t:!!t};goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField);jspb.Message.getRepeatedFloatingPointField=function(t,e){var o=jspb.Message.getRepeatedField(t,e);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[e]){for(var n=0;n<o.length;n++)o[n]=+o[n];t.convertedPrimitiveFields_[e]=!0}return o};goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField);jspb.Message.getRepeatedBooleanField=function(t,e){var o=jspb.Message.getRepeatedField(t,e);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[e]){for(var n=0;n<o.length;n++)o[n]=!!o[n];t.convertedPrimitiveFields_[e]=!0}return o};goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField);jspb.Message.bytesAsB64=function(t){return t==null||typeof t=="string"?t:jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array?goog.crypt.base64.encodeByteArray(t):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(t)),null)};goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64);jspb.Message.bytesAsU8=function(t){return t==null||t instanceof Uint8Array?t:typeof t=="string"?goog.crypt.base64.decodeStringToUint8Array(t):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(t)),null)};goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8);jspb.Message.bytesListAsB64=function(t){return jspb.Message.assertConsistentTypes_(t),t.length&&typeof t[0]!="string"?module$contents$goog$array_map(t,jspb.Message.bytesAsB64):t};goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64);jspb.Message.bytesListAsU8=function(t){return jspb.Message.assertConsistentTypes_(t),!t.length||t[0]instanceof Uint8Array?t:module$contents$goog$array_map(t,jspb.Message.bytesAsU8)};goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8);jspb.Message.assertConsistentTypes_=function(t){if(goog.DEBUG&&t&&1<t.length){var e=goog.typeOf(t[0]);module$contents$goog$array_forEach(t,function(o){goog.typeOf(o)!=e&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(o)+" expected "+e)})}};jspb.Message.getFieldWithDefault=function(t,e,o){return t=jspb.Message.getField(t,e),t??o};goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault);jspb.Message.getBooleanFieldWithDefault=function(t,e,o){return t=jspb.Message.getBooleanField(t,e),t??o};goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault);jspb.Message.getFloatingPointFieldWithDefault=function(t,e,o){return t=jspb.Message.getOptionalFloatingPointField(t,e),t??o};goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault);jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault;goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3);jspb.Message.getMapField=function(t,e,o,n){if(t.wrappers_||(t.wrappers_={}),e in t.wrappers_)return t.wrappers_[e];var r=jspb.Message.getField(t,e);if(!r){if(o)return;r=[],jspb.Message.setField(t,e,r)}return t.wrappers_[e]=new jspb.Map(r,n)};goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField);jspb.Message.setField=function(t,e,o){return jspb.asserts.assertInstanceof(t,jspb.Message),e<t.pivot_?t.array[jspb.Message.getIndex_(t,e)]=o:(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[e]=o),t};goog.exportProperty(jspb.Message,"setField",jspb.Message.setField);jspb.Message.setProto3IntField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,0)};goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField);jspb.Message.setProto3FloatField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,0)};goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField);jspb.Message.setProto3BooleanField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,!1)};goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField);jspb.Message.setProto3StringField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,"")};goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField);jspb.Message.setProto3BytesField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,"")};goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField);jspb.Message.setProto3EnumField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,0)};goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField);jspb.Message.setProto3StringIntField=function(t,e,o){return jspb.Message.setFieldIgnoringDefault_(t,e,o,"0")};goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField);jspb.Message.setFieldIgnoringDefault_=function(t,e,o,n){return jspb.asserts.assertInstanceof(t,jspb.Message),o!==n?jspb.Message.setField(t,e,o):e<t.pivot_?t.array[jspb.Message.getIndex_(t,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(t),delete t.extensionObject_[e]),t};jspb.Message.addToRepeatedField=function(t,e,o,n){return jspb.asserts.assertInstanceof(t,jspb.Message),e=jspb.Message.getRepeatedField(t,e),n!=null?e.splice(n,0,o):e.push(o),t};goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField);jspb.Message.setOneofField=function(t,e,o,n){return jspb.asserts.assertInstanceof(t,jspb.Message),(o=jspb.Message.computeOneofCase(t,o))&&o!==e&&n!==void 0&&(t.wrappers_&&o in t.wrappers_&&(t.wrappers_[o]=void 0),jspb.Message.setField(t,o,void 0)),jspb.Message.setField(t,e,n)};goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField);jspb.Message.computeOneofCase=function(t,e){for(var o,n,r=0;r<e.length;r++){var s=e[r],i=jspb.Message.getField(t,s);i!=null&&(o=s,n=i,jspb.Message.setField(t,s,void 0))}return o?(jspb.Message.setField(t,o,n),o):0};goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase);jspb.Message.getWrapperField=function(t,e,o,n){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[o]){var r=jspb.Message.getField(t,o);(n||r)&&(t.wrappers_[o]=new e(r))}return t.wrappers_[o]};goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField);jspb.Message.getRepeatedWrapperField=function(t,e,o){return jspb.Message.wrapRepeatedField_(t,e,o),e=t.wrappers_[o],e==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=t.wrappers_[o]=[]),e};goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField);jspb.Message.wrapRepeatedField_=function(t,e,o){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[o]){for(var n=jspb.Message.getRepeatedField(t,o),r=[],s=0;s<n.length;s++)r[s]=new e(n[s]);t.wrappers_[o]=r}};jspb.Message.setWrapperField=function(t,e,o){jspb.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var n=o&&o.toArray();return t.wrappers_[e]=o,jspb.Message.setField(t,e,n)};goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField);jspb.Message.setOneofWrapperField=function(t,e,o,n){jspb.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var r=n&&n.toArray();return t.wrappers_[e]=n,jspb.Message.setOneofField(t,e,o,r)};goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField);jspb.Message.setRepeatedWrapperField=function(t,e,o){jspb.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={}),o=o||[];for(var n=[],r=0;r<o.length;r++)n[r]=o[r].toArray();return t.wrappers_[e]=o,jspb.Message.setField(t,e,n)};goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField);jspb.Message.addToRepeatedWrapperField=function(t,e,o,n,r){jspb.Message.wrapRepeatedField_(t,n,e);var s=t.wrappers_[e];return s||=t.wrappers_[e]=[],o=o||new n,t=jspb.Message.getRepeatedField(t,e),r!=null?(s.splice(r,0,o),t.splice(r,0,o.toArray())):(s.push(o),t.push(o.toArray())),o};goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField);jspb.Message.toMap=function(t,e,o,n){for(var r={},s=0;s<t.length;s++)r[e.call(t[s])]=o?o.call(t[s],n,t[s]):t[s];return r};goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap);jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var t in this.wrappers_){var e=this.wrappers_[t];if(Array.isArray(e))for(var o=0;o<e.length;o++)e[o]&&e[o].toArray();else e&&e.toArray()}};jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array};goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray);jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()});jspb.Message.prototype.getExtension=function(t){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=t.fieldIndex;if(t.isRepeated){if(t.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=module$contents$goog$array_map(this.extensionObject_[e]||[],function(o){return new t.ctor(o)})),this.wrappers_[e]}else if(t.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new t.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}};goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension);jspb.Message.prototype.setExtension=function(t,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var o=t.fieldIndex;return t.isRepeated?(e=e||[],t.isMessageType()?(this.wrappers_[o]=e,this.extensionObject_[o]=module$contents$goog$array_map(e,function(n){return n.toArray()})):this.extensionObject_[o]=e):t.isMessageType()?(this.wrappers_[o]=e,this.extensionObject_[o]=e&&e.toArray()):this.extensionObject_[o]=e,this};goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension);jspb.Message.difference=function(t,e){if(!(t instanceof e.constructor))throw Error("Messages have different types.");var o=t.toArray();e=e.toArray();var n=[],r=0,s=o.length>e.length?o.length:e.length;for(t.getJsPbMessageId()&&(n[0]=t.getJsPbMessageId(),r=1);r<s;r++)jspb.Message.compareFields(o[r],e[r])||(n[r]=e[r]);return new t.constructor(n)};goog.exportProperty(jspb.Message,"difference",jspb.Message.difference);jspb.Message.equals=function(t,e){return t==e||!(!t||!e)&&t instanceof e.constructor&&jspb.Message.compareFields(t.toArray(),e.toArray())};goog.exportProperty(jspb.Message,"equals",jspb.Message.equals);jspb.Message.compareExtensions=function(t,e){t=t||{},e=e||{};var o={},n;for(n in t)o[n]=0;for(n in e)o[n]=0;for(n in o)if(!jspb.Message.compareFields(t[n],e[n]))return!1;return!0};goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions);jspb.Message.compareFields=function(t,e){if(t==e)return!0;if(!goog.isObject(t)||!goog.isObject(e))return typeof t=="number"&&isNaN(t)||typeof e=="number"&&isNaN(e)?String(t)==String(e):!1;if(t.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t.constructor===Uint8Array){if(t.length!=e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!=e[o])return!1;return!0}if(t.constructor===Array){var n=void 0,r=void 0,s=Math.max(t.length,e.length);for(o=0;o<s;o++){var i=t[o],g=e[o];if(i&&i.constructor==Object&&(jspb.asserts.assert(n===void 0),jspb.asserts.assert(o===t.length-1),n=i,i=void 0),g&&g.constructor==Object&&(jspb.asserts.assert(r===void 0),jspb.asserts.assert(o===e.length-1),r=g,g=void 0),!jspb.Message.compareFields(i,g))return!1}return n||r?(n=n||{},r=r||{},jspb.Message.compareExtensions(n,r)):!0}if(t.constructor===Object)return jspb.Message.compareExtensions(t,e);throw Error("Invalid type in JSPB array")};goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields);jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)};goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage);jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)};goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone);jspb.Message.clone=function(t){return jspb.Message.cloneMessage(t)};goog.exportProperty(jspb.Message,"clone",jspb.Message.clone);jspb.Message.cloneMessage=function(t){return new t.constructor(jspb.Message.clone_(t.toArray()))};jspb.Message.copyInto=function(t,e){jspb.asserts.assertInstanceof(t,jspb.Message),jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assert(t.constructor==e.constructor,"Copy source and target message should have the same type."),t=jspb.Message.clone(t);for(var o=e.toArray(),n=t.toArray(),r=o.length=0;r<n.length;r++)o[r]=n[r];e.wrappers_=t.wrappers_,e.extensionObject_=t.extensionObject_};goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto);jspb.Message.clone_=function(t){if(Array.isArray(t)){for(var e=Array(t.length),o=0;o<t.length;o++){var n=t[o];n!=null&&(e[o]=typeof n=="object"?jspb.Message.clone_(jspb.asserts.assert(n)):n)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)return new Uint8Array(t);e={};for(o in t)n=t[o],n!=null&&(e[o]=typeof n=="object"?jspb.Message.clone_(jspb.asserts.assert(n)):n);return e};jspb.Message.registerMessageType=function(t,e){e.messageId=t};goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType);jspb.Message.messageSetExtensions={};jspb.Message.messageSetExtensionsBinary={};jspb.debug={};jspb.debug.dump=function(t){return goog.DEBUG?(jspb.asserts.assertInstanceof(t,jspb.Message,"jspb.Message instance expected"),jspb.asserts.assert(t.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),jspb.debug.dump_(t)):null};goog.exportSymbol("jspb.debug.dump",jspb.debug.dump);jspb.debug.dump_=function(t){var e=goog.typeOf(t);if(e=="number"||e=="string"||e=="boolean"||e=="null"||e=="undefined"||typeof Uint8Array<"u"&&t instanceof Uint8Array)return t;if(e=="array")return jspb.asserts.assertArray(t),module$contents$goog$array_map(t,jspb.debug.dump_);if(t instanceof jspb.Map){var o={};t=t.entries();for(var n=t.next();!n.done;n=t.next())o[n.value[0]]=jspb.debug.dump_(n.value[1]);return o}jspb.asserts.assertInstanceof(t,jspb.Message,"Only messages expected: "+t),e=t.constructor;var r={$name:e.name||e.displayName};for(g in e.prototype){var s=/^get([A-Z]\w*)/.exec(g);if(s&&g!="getExtension"&&g!="getJsPbMessageId"){var i="has"+s[1];(!t[i]||t[i]())&&(i=t[g](),r[jspb.debug.formatFieldName_(s[1])]=jspb.debug.dump_(i))}}if(COMPILED&&t.extensionObject_)return r.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",r;for(n in e.extensions)if(/^\d+$/.test(n)){s=e.extensions[n];var g=t.getExtension(s);s=module$contents$goog$object_getKeys(s.fieldName)[0],g!=null&&(o||=r.$extensions={},o[jspb.debug.formatFieldName_(s)]=jspb.debug.dump_(g))}return r};jspb.debug.formatFieldName_=function(t){return t.replace(/^[A-Z]/,function(e){return e.toLowerCase()})};jspb.BinaryReader=module$contents$jspb$binary$reader_BinaryReader;jspb.binary.encoder={};var module$contents$jspb$binary$encoder_MAX_PUSH=8192,module$contents$jspb$binary$encoder_BinaryEncoder=class{constructor(){this.buffer_=[]}length(){return this.buffer_.length}end(){let e=this.buffer_;return this.buffer_=[],e}writeSplitVarint64(e,o){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_32),goog.asserts.assert(0<=o&&o<module$contents$jspb$BinaryConstants_TWO_TO_32);0<o||127<e;)this.buffer_.push(e&127|128),e=(e>>>7|o<<25)>>>0,o>>>=7;this.buffer_.push(e)}writeSplitFixed64(e,o){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_32),goog.asserts.assert(0<=o&&o<module$contents$jspb$BinaryConstants_TWO_TO_32),this.writeUint32(e),this.writeUint32(o)}writeSplitZigzagVarint64(e,o){module$contents$jspb$utils_toZigzag64(e,o,(n,r)=>{this.writeSplitVarint64(n>>>0,r>>>0)})}writeUnsignedVarint32(e){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_32);127<e;)this.buffer_.push(e&127|128),e>>>=7;this.buffer_.push(e)}writeSignedVarint32(e){if(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&e<module$contents$jspb$BinaryConstants_TWO_TO_31),0<=e)this.writeUnsignedVarint32(e);else{for(let o=0;9>o;o++)this.buffer_.push(e&127|128),e>>=7;this.buffer_.push(1)}}writeUnsignedVarint64(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_64),module$contents$jspb$utils_splitInt64(e),this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())}writeSignedVarint64(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&e<module$contents$jspb$BinaryConstants_TWO_TO_63),module$contents$jspb$utils_splitInt64(e),this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())}writeZigzagVarint32(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&e<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeUnsignedVarint32(module$contents$jspb$utils_toZigzag32(e))}writeZigzagVarint64(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&e<module$contents$jspb$BinaryConstants_TWO_TO_63),module$contents$jspb$utils_splitZigzag64(e),this.writeSplitVarint64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())}writeZigzagVarint64String(e){module$contents$jspb$utils_splitDecimalString(e),module$contents$jspb$utils_toZigzag64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High(),(o,n)=>{this.writeSplitVarint64(o>>>0,n>>>0)})}writeUint8(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&256>e),this.buffer_.push(e>>>0&255)}writeUint16(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&65536>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)}writeUint32(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_32),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)}writeUint64(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_64),module$contents$jspb$utils_splitUint64(e),this.writeUint32(module$contents$jspb$utils_getSplit64Low()),this.writeUint32(module$contents$jspb$utils_getSplit64High())}writeInt8(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-128<=e&&128>e),this.buffer_.push(e>>>0&255)}writeInt16(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-32768<=e&&32768>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)}writeInt32(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&e<module$contents$jspb$BinaryConstants_TWO_TO_31),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)}writeInt64(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&e<module$contents$jspb$BinaryConstants_TWO_TO_63),module$contents$jspb$utils_splitInt64(e),this.writeSplitFixed64(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())}writeFloat(e){goog.asserts.assert(e==1/0||e==-1/0||isNaN(e)||typeof e=="number"&&e>=-module$contents$jspb$BinaryConstants_FLOAT32_MAX&&e<=module$contents$jspb$BinaryConstants_FLOAT32_MAX),module$contents$jspb$utils_splitFloat32(e),this.writeUint32(module$contents$jspb$utils_getSplit64Low())}writeDouble(e){goog.asserts.assert(typeof e=="number"||e==="Infinity"||e==="-Infinity"||e==="NaN"),module$contents$jspb$utils_splitFloat64(e),this.writeUint32(module$contents$jspb$utils_getSplit64Low()),this.writeUint32(module$contents$jspb$utils_getSplit64High())}writeBool(e){goog.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.buffer_.push(e?1:0)}writeEnum(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&e<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeSignedVarint32(e)}writeBytes(e){for(;e.length>module$contents$jspb$binary$encoder_MAX_PUSH;)Array.prototype.push.apply(this.buffer_,e.subarray(0,module$contents$jspb$binary$encoder_MAX_PUSH)),e=e.subarray(module$contents$jspb$binary$encoder_MAX_PUSH);Array.prototype.push.apply(this.buffer_,e)}};jspb.binary.encoder.BinaryEncoder=module$contents$jspb$binary$encoder_BinaryEncoder;jspb.arith={};var module$contents$jspb$arith_UInt64=class t{constructor(e,o){this.lo=e>>>0,this.hi=o>>>0}toDecimalString(){return module$contents$jspb$utils_joinUnsignedDecimalString(this.lo,this.hi)}negateInTwosComplement(){return this.lo===0?new t(0,1+~this.hi):new t(~this.lo+1,~this.hi)}static fromBigInt(e){return e=BigInt.asUintN(64,e),new t(Number(e&BigInt(4294967295)),Number(e>>BigInt(32)))}static fromString(e){return e?/^\d+$/.test(e)?(module$contents$jspb$utils_splitDecimalString(e),new t(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())):null:t.getZero()}static fromNumber(e){return new t(e&module$contents$jspb$arith_ALL_32_BITS,e/module$contents$jspb$arith_TWO_PWR_32_DBL)}static getZero(){return module$contents$jspb$arith_uint64Zero||=new t(0,0)}},module$contents$jspb$arith_uint64Zero,module$contents$jspb$arith_Int64=class t{constructor(e,o){this.lo=e>>>0,this.hi=o>>>0}toDecimalString(){return module$contents$jspb$utils_joinSignedDecimalString(this.lo,this.hi)}static fromBigInt(e){return e=BigInt.asUintN(64,e),new t(Number(e&BigInt(4294967295)),Number(e>>BigInt(32)))}static fromString(e){return e?/^-?\d+$/.test(e)?(module$contents$jspb$utils_splitDecimalString(e),new t(module$contents$jspb$utils_getSplit64Low(),module$contents$jspb$utils_getSplit64High())):null:t.getZero()}static fromNumber(e){return new t(e&module$contents$jspb$arith_ALL_32_BITS,e/module$contents$jspb$arith_TWO_PWR_32_DBL)}static getZero(){return module$contents$jspb$arith_int64Zero||=new t(0,0)}},module$contents$jspb$arith_int64Zero,module$contents$jspb$arith_ALL_32_BITS=4294967295,module$contents$jspb$arith_TWO_PWR_32_DBL=4294967296;jspb.arith.UInt64=module$contents$jspb$arith_UInt64;jspb.arith.Int64=module$contents$jspb$arith_Int64;jspb.binary.writer={};var module$contents$jspb$binary$writer_REJECT_UNPAIRED_SURROGATES=goog.DEBUG,module$contents$jspb$binary$writer_BinaryWriter=class{constructor(){this.blocks_=[],this.totalLength_=0,this.encoder_=new module$contents$jspb$binary$encoder_BinaryEncoder}pushBlock(e){e.length!==0&&(this.blocks_.push(e),this.totalLength_+=e.length)}appendUint8Array_(e){this.pushBlock(this.encoder_.end()),this.pushBlock(e)}beginDelimited_(e){return this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),e=this.encoder_.end(),this.pushBlock(e),e.push(this.totalLength_),e}endDelimited_(e){var o=e.pop();for(o=this.totalLength_+this.encoder_.length()-o,(0,goog.asserts.assert)(0<=o);127<o;)e.push(o&127|128),o>>>=7,this.totalLength_++;e.push(o),this.totalLength_++}writeUnknownFields(e){this.pushBlock(this.encoder_.end());for(let o=0;o<e.length;o++)this.pushBlock(module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(e[o]))}writeSerializedMessage(e,o,n){this.appendUint8Array_(e.subarray(o,n))}maybeWriteSerializedMessage(e,o,n){e!=null&&o!=null&&n!=null&&this.writeSerializedMessage(e,o,n)}reset(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0}getResultBuffer(){this.pushBlock(this.encoder_.end());let e=new Uint8Array(this.totalLength_),o=this.blocks_,n=o.length,r=0;for(let s=0;s<n;s++){let i=o[s];e.set(i,r),r+=i.length}return(0,goog.asserts.assert)(r==e.length),this.blocks_=[e],e}getResultBufferAsByteString(){return module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(this.getResultBuffer())}getResultBase64String(e){return e===void 0?module$contents$jspb$internal_bytes_encodeByteArray(this.getResultBuffer()):(0,goog.crypt.base64.encodeByteArray)(this.getResultBuffer(),e)}writeFieldHeader_(e,o){(0,goog.asserts.assert)(1<=e&&e==Math.floor(e)),this.encoder_.writeUnsignedVarint32(module$contents$jspb$utils_makeTag(e,o))}writeAny(e,o,n){switch(e){case module$contents$jspb$BinaryConstants_FieldType.DOUBLE:this.writeDouble(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.FLOAT:this.writeFloat(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.INT64:this.writeInt64(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.UINT64:this.writeUint64(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.INT32:this.writeInt32(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.FIXED64:this.writeFixed64(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.FIXED32:this.writeFixed32(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.BOOL:this.writeBool(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.STRING:this.writeString(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.GROUP:(0,goog.asserts.fail)("Group field type not supported in writeAny()");break;case module$contents$jspb$BinaryConstants_FieldType.MESSAGE:(0,goog.asserts.fail)("Message field type not supported in writeAny()");break;case module$contents$jspb$BinaryConstants_FieldType.BYTES:this.writeBytes(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.UINT32:this.writeUint32(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.ENUM:this.writeEnum(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.SFIXED32:this.writeSfixed32(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.SFIXED64:this.writeSfixed64(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.SINT32:this.writeSint32(o,n);break;case module$contents$jspb$BinaryConstants_FieldType.SINT64:this.writeSint64(o,n);break;default:(0,goog.asserts.fail)("Invalid field type in writeAny()")}}writeUnsignedVarint32_(e,o){o!=null&&(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeUnsignedVarint32(o))}writeSignedVarint32_(e,o){o!=null&&(module$contents$jspb$binary$writer_assertSignedInteger(e,o),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(o))}writeUnsignedVarint64_(e,o){if(o!=null)switch(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof o){case"number":this.encoder_.writeUnsignedVarint64(o);break;case"bigint":e=module$contents$jspb$arith_UInt64.fromBigInt(o),this.encoder_.writeSplitVarint64(e.lo,e.hi);break;default:e=module$contents$jspb$arith_UInt64.fromString(o),this.encoder_.writeSplitVarint64(e.lo,e.hi)}}writeSignedVarint64_(e,o){if(o!=null)switch(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof o){case"number":this.encoder_.writeSignedVarint64(o);break;case"bigint":e=module$contents$jspb$arith_Int64.fromBigInt(o),this.encoder_.writeSplitVarint64(e.lo,e.hi);break;default:e=module$contents$jspb$arith_Int64.fromString(o),this.encoder_.writeSplitVarint64(e.lo,e.hi)}}writeZigzagVarint32_(e,o){o!=null&&(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeZigzagVarint32(o))}writeZigzagVarint64_(e,o){if(o!=null)switch(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),typeof o){case"number":this.encoder_.writeZigzagVarint64(o);break;default:this.encoder_.writeZigzagVarint64String(o)}}writeInt32(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,o>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&o<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeSignedVarint32_(e,o))}writeInt64(e,o){o!=null&&(module$contents$jspb$binary$writer_assertSignedInt64(e,o),this.writeSignedVarint64_(e,o))}writeInt64String(e,o){this.writeInt64(e,o)}writeUint32(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,0<=o&&o<module$contents$jspb$BinaryConstants_TWO_TO_32),this.writeUnsignedVarint32_(e,o))}writeUint64(e,o){o!=null&&(module$contents$jspb$binary$writer_assertUnsignedInt64(e,o),this.writeUnsignedVarint64_(e,o))}writeUint64String(e,o){this.writeUint64(e,o)}writeSint32(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,o>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&o<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeZigzagVarint32_(e,o))}writeSint64(e,o){o!=null&&(module$contents$jspb$binary$writer_assertSignedInt64(e,o),this.writeZigzagVarint64_(e,o))}writeSint64String(e,o){this.writeSint64(e,o)}writeFixed32(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,0<=o&&o<module$contents$jspb$BinaryConstants_TWO_TO_32),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeUint32(o))}writeFixed64(e,o){if(o!=null)switch(module$contents$jspb$binary$writer_assertUnsignedInt64(e,o),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED64),typeof o){case"number":this.encoder_.writeUint64(o);break;case"bigint":e=module$contents$jspb$arith_UInt64.fromBigInt(o),this.encoder_.writeSplitFixed64(e.lo,e.hi);break;default:e=module$contents$jspb$arith_UInt64.fromString(o),this.encoder_.writeSplitFixed64(e.lo,e.hi)}}writeFixed64String(e,o){this.writeFixed64(e,o)}writeSfixed32(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,o>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&o<module$contents$jspb$BinaryConstants_TWO_TO_31),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeInt32(o))}writeSfixed64(e,o){if(o!=null)switch(module$contents$jspb$binary$writer_assertSignedInt64(e,o),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED64),typeof o){case"number":this.encoder_.writeInt64(o);break;case"bigint":e=module$contents$jspb$arith_Int64.fromBigInt(o),this.encoder_.writeSplitFixed64(e.lo,e.hi);break;default:e=module$contents$jspb$arith_Int64.fromString(o),this.encoder_.writeSplitFixed64(e.lo,e.hi)}}writeSfixed64String(e,o){this.writeSfixed64(e,o)}writeFloat(e,o){o!=null&&(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED32),this.encoder_.writeFloat(o))}writeDouble(e,o){o!=null&&(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED64),this.encoder_.writeDouble(o))}writeBool(e,o){o!=null&&(module$contents$jspb$binary$writer_assertThat(e,o,typeof o=="boolean"||typeof o=="number"),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeBool(o))}writeEnum(e,o){o!=null&&(o=parseInt(o,10),module$contents$jspb$binary$writer_assertSignedInteger(e,o),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(o))}writeString(e,o){o!=null&&this.writeUint8Array(e,module$contents$jspb$binary$utf8_encodeUtf8(o,module$contents$jspb$binary$writer_REJECT_UNPAIRED_SURROGATES))}writeBytes(e,o){o!=null&&this.writeUint8Array(e,module$contents$jspb$binary$internal_buffer_bufferFromSource(o,!0).buffer)}writeUint8Array(e,o){this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(o.length),this.appendUint8Array_(o)}writeMessage(e,o,n){o!=null&&(e=this.beginDelimited_(e),n(o,this),this.endDelimited_(e))}writeMessageSet(e,o,n){o!=null&&(this.writeFieldHeader_(1,module$contents$jspb$BinaryConstants_WireType.START_GROUP),this.writeFieldHeader_(2,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSignedVarint32(e),e=this.beginDelimited_(3),n(o,this),this.endDelimited_(e),this.writeFieldHeader_(1,module$contents$jspb$BinaryConstants_WireType.END_GROUP))}writeGroup(e,o,n){o!=null&&(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.START_GROUP),n(o,this),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.END_GROUP))}writeSplitFixed64(e,o,n){this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.FIXED64),this.encoder_.writeSplitFixed64(o,n)}writeSplitVarint64(e,o,n){this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSplitVarint64(o,n)}writeSplitZigzagVarint64(e,o,n){this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.VARINT),this.encoder_.writeSplitZigzagVarint64(o>>>0,n>>>0)}writeRepeatedInt32(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeSignedVarint32_(e,o[n])}writeRepeatedInt64(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeSignedVarint64_(e,o[n])}writeRepeatedSplitFixed64(e,o,n,r){if(o!=null)for(let s=0;s<o.length;s++)this.writeSplitFixed64(e,n(o[s]),r(o[s]))}writeRepeatedSplitVarint64(e,o,n,r){if(o!=null)for(let s=0;s<o.length;s++)this.writeSplitVarint64(e,n(o[s]),r(o[s]))}writeRepeatedSplitZigzagVarint64(e,o,n,r){if(o!=null)for(let s=0;s<o.length;s++)this.writeSplitZigzagVarint64(e,n(o[s]),r(o[s]))}writeRepeatedInt64String(e,o){this.writeRepeatedInt64(e,o)}writeRepeatedUint32(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeUnsignedVarint32_(e,o[n])}writeRepeatedUint64(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeUnsignedVarint64_(e,o[n])}writeRepeatedUint64String(e,o){this.writeRepeatedUint64(e,o)}writeRepeatedSint32(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeZigzagVarint32_(e,o[n])}writeRepeatedSint64(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeZigzagVarint64_(e,o[n])}writeRepeatedSint64String(e,o){this.writeRepeatedSint64(e,o)}writeRepeatedFixed32(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeFixed32(e,o[n])}writeRepeatedFixed64(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeFixed64(e,o[n])}writeRepeatedFixed64String(e,o){this.writeRepeatedFixed64(e,o)}writeRepeatedSfixed32(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeSfixed32(e,o[n])}writeRepeatedSfixed64(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeSfixed64(e,o[n])}writeRepeatedSfixed64String(e,o){this.writeRepeatedSfixed64(e,o)}writeRepeatedFloat(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeFloat(e,o[n])}writeRepeatedDouble(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeDouble(e,o[n])}writeRepeatedBool(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeBool(e,o[n])}writeRepeatedEnum(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeEnum(e,o[n])}writeRepeatedString(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeString(e,o[n])}writeRepeatedBytes(e,o){if(o!=null)for(let n=0;n<o.length;n++)this.writeBytes(e,o[n])}writeRepeatedMessage(e,o,n){if(o!=null)for(let r=0;r<o.length;r++){let s=this.beginDelimited_(e);n(o[r],this),this.endDelimited_(s)}}writeRepeatedGroup(e,o,n){if(o!=null)for(let r=0;r<o.length;r++)this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.START_GROUP),n(o[r],this),this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.END_GROUP)}writePackedInt32(e,o){if(o!=null&&o.length){var n=this.beginDelimited_(e);for(let r=0;r<o.length;r++)module$contents$jspb$binary$writer_assertSignedInteger(e,o[r]),this.encoder_.writeSignedVarint32(o[r]);this.endDelimited_(n)}}writePackedInt32String(e,o){if(o!=null&&o.length){var n=this.beginDelimited_(e);for(let r=0;r<o.length;r++){let s=parseInt(o[r],10);module$contents$jspb$binary$writer_assertSignedInteger(e,s),this.encoder_.writeSignedVarint32(s)}this.endDelimited_(n)}}writePackedInt64(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let r=0;r<o.length;r++){var n=o[r];switch(typeof n){case"number":this.encoder_.writeSignedVarint64(n);break;case"bigint":n=module$contents$jspb$arith_Int64.fromBigInt(n),this.encoder_.writeSplitVarint64(n.lo,n.hi);break;default:n=module$contents$jspb$arith_Int64.fromString(n),this.encoder_.writeSplitVarint64(n.lo,n.hi)}}this.endDelimited_(e)}}writePackedSplitFixed64(e,o,n,r){if(o!=null){e=this.beginDelimited_(e);for(let s=0;s<o.length;s++)this.encoder_.writeSplitFixed64(n(o[s]),r(o[s]));this.endDelimited_(e)}}writePackedSplitVarint64(e,o,n,r){if(o!=null){e=this.beginDelimited_(e);for(let s=0;s<o.length;s++)this.encoder_.writeSplitVarint64(n(o[s]),r(o[s]));this.endDelimited_(e)}}writePackedSplitZigzagVarint64(e,o,n,r){if(o!=null){e=this.beginDelimited_(e);var s=this.encoder_;for(let i=0;i<o.length;i++)s.writeSplitZigzagVarint64(n(o[i]),r(o[i]));this.endDelimited_(e)}}writePackedInt64String(e,o){this.writePackedInt64(e,o)}writePackedUint32(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let n=0;n<o.length;n++)this.encoder_.writeUnsignedVarint32(o[n]);this.endDelimited_(e)}}writePackedUint64(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let r=0;r<o.length;r++){var n=o[r];switch(typeof n){case"number":this.encoder_.writeUnsignedVarint64(n);break;case"bigint":let s=Number(n);Number.isSafeInteger(s)?this.encoder_.writeUnsignedVarint64(s):(n=module$contents$jspb$arith_UInt64.fromBigInt(n),this.encoder_.writeSplitVarint64(n.lo,n.hi));break;default:n=module$contents$jspb$arith_UInt64.fromString(n),this.encoder_.writeSplitVarint64(n.lo,n.hi)}}this.endDelimited_(e)}}writePackedUint64String(e,o){this.writePackedUint64(e,o)}writePackedSint32(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let n=0;n<o.length;n++)this.encoder_.writeZigzagVarint32(o[n]);this.endDelimited_(e)}}writePackedSint64(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let n=0;n<o.length;n++){let r=o[n];switch(typeof r){case"number":this.encoder_.writeZigzagVarint64(r);break;default:this.encoder_.writeZigzagVarint64String(r)}}this.endDelimited_(e)}}writePackedSint64String(e,o){this.writePackedSint64(e,o)}writePackedFixed32(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),e=0;e<o.length;e++)this.encoder_.writeUint32(o[e])}writePackedFixed64(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),e=0;e<o.length;e++){var n=o[e];switch(typeof n){case"number":this.encoder_.writeUint64(n);break;case"bigint":n=module$contents$jspb$arith_UInt64.fromBigInt(n),this.encoder_.writeSplitFixed64(n.lo,n.hi);break;default:n=module$contents$jspb$arith_UInt64.fromString(n),this.encoder_.writeSplitFixed64(n.lo,n.hi)}}}writePackedFixed64String(e,o){this.writePackedFixed64(e,o)}writePackedSfixed32(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),e=0;e<o.length;e++)this.encoder_.writeInt32(o[e])}writePackedSfixed64(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),e=0;e<o.length;e++){var n=o[e];switch(typeof n){case"number":this.encoder_.writeInt64(n);break;case"bigint":n=module$contents$jspb$arith_Int64.fromBigInt(n),this.encoder_.writeSplitFixed64(n.lo,n.hi);break;default:n=module$contents$jspb$arith_Int64.fromString(n),this.encoder_.writeSplitFixed64(n.lo,n.hi)}}}writePackedSfixed64String(e,o){this.writePackedSfixed64(e,o)}writePackedFloat(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*o.length),e=0;e<o.length;e++)this.encoder_.writeFloat(o[e])}writePackedDouble(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*o.length),e=0;e<o.length;e++)this.encoder_.writeDouble(o[e])}writePackedBool(e,o){if(o!=null&&o.length)for(this.writeFieldHeader_(e,module$contents$jspb$BinaryConstants_WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(o.length),e=0;e<o.length;e++)this.encoder_.writeBool(o[e])}writePackedEnum(e,o){if(o!=null&&o.length){e=this.beginDelimited_(e);for(let n=0;n<o.length;n++)this.encoder_.writeEnum(o[n]);this.endDelimited_(e)}}};function module$contents$jspb$binary$writer_assertSignedInteger(t,e){module$contents$jspb$binary$writer_assertThat(t,e,e===Math.floor(e)),module$contents$jspb$binary$writer_assertThat(t,e,e>=-module$contents$jspb$BinaryConstants_TWO_TO_31&&e<module$contents$jspb$BinaryConstants_TWO_TO_31)}function module$contents$jspb$binary$writer_assertSignedInt64(t,e){switch(typeof e){case"string":module$contents$jspb$binary$writer_assertThat(t,e,module$contents$jspb$arith_Int64.fromString(e));break;case"number":module$contents$jspb$binary$writer_assertThat(t,e,e>=-module$contents$jspb$BinaryConstants_TWO_TO_63&&e<module$contents$jspb$BinaryConstants_TWO_TO_63);break;default:module$contents$jspb$binary$writer_assertThat(t,e,e>=BigInt(-module$contents$jspb$BinaryConstants_TWO_TO_63)&&e<BigInt(module$contents$jspb$BinaryConstants_TWO_TO_63))}}function module$contents$jspb$binary$writer_assertUnsignedInt64(t,e){switch(typeof e){case"string":module$contents$jspb$binary$writer_assertThat(t,e,module$contents$jspb$arith_UInt64.fromString(e));break;case"number":module$contents$jspb$binary$writer_assertThat(t,e,0<=e&&e<module$contents$jspb$BinaryConstants_TWO_TO_64);break;default:module$contents$jspb$binary$writer_assertThat(t,e,e>=BigInt(0)&&e<BigInt(module$contents$jspb$BinaryConstants_TWO_TO_64))}}function module$contents$jspb$binary$writer_assertThat(t,e,o){o||(0,goog.asserts.fail)(`for [${e}] at [${t}]`)}jspb.binary.writer.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter;jspb.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter;jspb.internal={};jspb.internal.public_for_gencode={};function module$contents$jspb$internal$public_for_gencode_serializeMapToBinary(t,e,o,n,r,s){t&&t.forEach((i,g)=>{o.writeMessage(e,t,($,l)=>{n.call(l,1,g),r.call(l,2,i,s)})})}function module$contents$jspb$internal$public_for_gencode_deserializeMapFromBinary(t,e,o,n,r,s){e.readMessage(t,(i,g)=>{i=n;let $=s;for(;g.nextField()&&!g.isEndGroup();){let l=g.getFieldNumber();l==1?i=o.call(g):l==2&&(t.valueCtor?g.readMessage($,r):$=r.call(g))}goog.asserts.assert(i!=null),goog.asserts.assert($!=null),t.set(i,$)})}jspb.internal.public_for_gencode.deserializeMapFromBinary=module$contents$jspb$internal$public_for_gencode_deserializeMapFromBinary;jspb.internal.public_for_gencode.serializeMapToBinary=module$contents$jspb$internal$public_for_gencode_serializeMapToBinary;jspb.Export={};typeof exports=="object"&&(exports.debug=jspb.debug,exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=module$contents$jspb$binary$reader_BinaryReader,exports.BinaryWriter=module$contents$jspb$binary$writer_BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.internal={public_for_gencode:jspb.internal.public_for_gencode},exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:module$contents$goog$object_extend},exports.typeOf=goog.typeOf)});var u=te(v()),S=class t extends u.Message{#e=[];constructor(e){super(),u.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[2],this.#e),!Array.isArray(e)&&typeof e=="object"&&("radar"in e&&e.radar!=null&&(this.radar=e.radar),"spokes"in e&&e.spokes!=null&&(this.spokes=e.spokes))}get radar(){return u.Message.getFieldWithDefault(this,1,0)}set radar(e){u.Message.setField(this,1,e)}get spokes(){return u.Message.getRepeatedWrapperField(this,t.Spoke,2)}set spokes(e){u.Message.setRepeatedWrapperField(this,2,e)}static fromObject(e){let o=new t({});return e.radar!=null&&(o.radar=e.radar),e.spokes!=null&&(o.spokes=e.spokes.map(n=>t.Spoke.fromObject(n))),o}toObject(){let e={};return this.radar!=null&&(e.radar=this.radar),this.spokes!=null&&(e.spokes=this.spokes.map(o=>o.toObject())),e}serialize(e){let o=e||new u.BinaryWriter;if(this.radar!=0&&o.writeUint32(1,this.radar),this.spokes.length&&o.writeRepeatedMessage(2,this.spokes,n=>n.serialize(o)),!e)return o.getResultBuffer()}static deserialize(e){let o=e instanceof u.BinaryReader?e:new u.BinaryReader(e),n=new t;for(;o.nextField()&&!o.isEndGroup();)switch(o.getFieldNumber()){case 1:n.radar=o.readUint32();break;case 2:o.readMessage(n.spokes,()=>u.Message.addToRepeatedWrapperField(n,2,t.Spoke.deserialize(o),t.Spoke));break;default:o.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return t.deserialize(e)}};(e=>{class t extends u.Message{#e=[[2],[4],[6],[7]];constructor(n){super(),u.Message.initialize(this,Array.isArray(n)?n:[],0,-1,[],this.#e),!Array.isArray(n)&&typeof n=="object"&&("angle"in n&&n.angle!=null&&(this.angle=n.angle),"bearing"in n&&n.bearing!=null&&(this.bearing=n.bearing),"range"in n&&n.range!=null&&(this.range=n.range),"time"in n&&n.time!=null&&(this.time=n.time),"lat"in n&&n.lat!=null&&(this.lat=n.lat),"lon"in n&&n.lon!=null&&(this.lon=n.lon),"data"in n&&n.data!=null&&(this.data=n.data))}get angle(){return u.Message.getFieldWithDefault(this,1,0)}set angle(n){u.Message.setField(this,1,n)}get bearing(){return u.Message.getFieldWithDefault(this,2,0)}set bearing(n){u.Message.setOneofField(this,2,this.#e[0],n)}get has_bearing(){return u.Message.getField(this,2)!=null}get range(){return u.Message.getFieldWithDefault(this,3,0)}set range(n){u.Message.setField(this,3,n)}get time(){return u.Message.getFieldWithDefault(this,4,0)}set time(n){u.Message.setOneofField(this,4,this.#e[1],n)}get has_time(){return u.Message.getField(this,4)!=null}get lat(){return u.Message.getFieldWithDefault(this,6,0)}set lat(n){u.Message.setOneofField(this,6,this.#e[2],n)}get has_lat(){return u.Message.getField(this,6)!=null}get lon(){return u.Message.getFieldWithDefault(this,7,0)}set lon(n){u.Message.setOneofField(this,7,this.#e[3],n)}get has_lon(){return u.Message.getField(this,7)!=null}get data(){return u.Message.getFieldWithDefault(this,5,new Uint8Array(0))}set data(n){u.Message.setField(this,5,n)}get _bearing(){return{0:"none",2:"bearing"}[u.Message.computeOneofCase(this,[2])]}get _time(){return{0:"none",4:"time"}[u.Message.computeOneofCase(this,[4])]}get _lat(){return{0:"none",6:"lat"}[u.Message.computeOneofCase(this,[6])]}get _lon(){return{0:"none",7:"lon"}[u.Message.computeOneofCase(this,[7])]}static fromObject(n){let r=new t({});return n.angle!=null&&(r.angle=n.angle),n.bearing!=null&&(r.bearing=n.bearing),n.range!=null&&(r.range=n.range),n.time!=null&&(r.time=n.time),n.lat!=null&&(r.lat=n.lat),n.lon!=null&&(r.lon=n.lon),n.data!=null&&(r.data=n.data),r}toObject(){let n={};return this.angle!=null&&(n.angle=this.angle),this.bearing!=null&&(n.bearing=this.bearing),this.range!=null&&(n.range=this.range),this.time!=null&&(n.time=this.time),this.lat!=null&&(n.lat=this.lat),this.lon!=null&&(n.lon=this.lon),this.data!=null&&(n.data=this.data),n}serialize(n){let r=n||new u.BinaryWriter;if(this.angle!=0&&r.writeUint32(1,this.angle),this.has_bearing&&r.writeUint32(2,this.bearing),this.range!=0&&r.writeUint32(3,this.range),this.has_time&&r.writeUint64(4,this.time),this.has_lat&&r.writeInt64(6,this.lat),this.has_lon&&r.writeInt64(7,this.lon),this.data.length&&r.writeBytes(5,this.data),!n)return r.getResultBuffer()}static deserialize(n){let r=n instanceof u.BinaryReader?n:new u.BinaryReader(n),s=new t;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:s.angle=r.readUint32();break;case 2:s.bearing=r.readUint32();break;case 3:s.range=r.readUint32();break;case 4:s.time=r.readUint64();break;case 6:s.lat=r.readInt64();break;case 7:s.lon=r.readInt64();break;case 5:s.data=r.readBytes();break;default:r.skipField()}return s}serializeBinary(){return this.serialize()}static deserializeBinary(n){return t.deserialize(n)}}e.Spoke=t})(S||={});var E=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",oe=E.includes("safari")&&!E.includes("chrom"),me=oe&&(E.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(E)),fe=E.includes("webkit")&&!E.includes("edge"),he=E.includes("macintosh");var W=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,Ae=typeof Image<"u"&&Image.prototype.decode;var je=(function(){let t=!1;try{let e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t})();function V(t,e,o,n){let r;return o&&o.length?r=o.shift():W?r=new class extends OffscreenCanvas{style={}}(t??300,e??150):r=document.createElement("canvas"),t&&(r.width=t),e&&(r.height=e),r.getContext("2d",n)}function M(t,e,o){return Math.min(Math.max(t,e),o)}function k(t,e){let o=Math.pow(10,e);return Math.round(t*o)/o}var ne=[NaN,NaN,NaN,0],x;function re(){return x||(x=V(1,1,void 0,{willReadFrequently:!0,desynchronized:!0})),x}var se=/^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,ie=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,ae=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,ge=/^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;function F(t,e){return t.endsWith("%")?Number(t.substring(0,t.length-1))/e:Number(t)}function D(t){throw new Error('failed to parse "'+t+'" as color')}function G(t){if(t.toLowerCase().startsWith("rgb")){let s=t.match(ie)||t.match(se)||t.match(ae);if(s){let i=s[4],g=100/255;return[M(F(s[1],g)+.5|0,0,255),M(F(s[2],g)+.5|0,0,255),M(F(s[3],g)+.5|0,0,255),i!==void 0?M(F(i,100),0,1):1]}D(t)}if(t.startsWith("#")){if(ge.test(t)){let s=t.substring(1),i=s.length<=4?1:2,g=[0,0,0,255];for(let $=0,l=s.length;$<l;$+=i){let d=parseInt(s.substring($,$+i),16);i===1&&(d+=d<<4),g[$/i]=d}return g[3]=g[3]/255,g}D(t)}let e=re();e.fillStyle="#abcdef";let o=e.fillStyle;e.fillStyle=t,e.fillStyle===o&&(e.fillStyle="#fedcba",o=e.fillStyle,e.fillStyle=t,e.fillStyle===o&&D(t));let n=e.fillStyle;if(n.startsWith("#")||n.startsWith("rgba"))return G(n);e.clearRect(0,0,1,1),e.fillRect(0,0,1,1);let r=Array.from(e.getImageData(0,0,1,1).data);return r[3]=k(r[3]/255,3),r}var le=1024,B={},R=0;function H(t){if(t==="none")return ne;if(B.hasOwnProperty(t))return B[t];if(R>=le){let o=0;for(let n in B)(o++&3)===0&&(delete B[n],--R)}let e=G(t);e.length!==4&&D(t);for(let o of e)isNaN(o)&&D(t);return B[t]=e,++R,e}var Y=0,N=new Map;addEventListener("message",t=>{if(t.data.heading&&(Y=t.data.heading),t.data.canvas){let m=function(p){let _=Y-90;return _<0&&(_+=360),p+=Math.round(_/(360/r.spokes)),p=p%r.spokes,p},P=function(){let p=new WebSocket(r.streamUrl);p.binaryType="arraybuffer";let _=0;p.onmessage=A=>{let y=S.deserialize(A.data);y.spokes.length>0&&y.spokes[0].has_time;let O=m(y.spokes[0].angle%r.spokes),w=m(y.spokes[y.spokes.length-1].angle%r.spokes);s.save(),s.beginPath(),s.strokeStyle="#00000000",s.moveTo($[0],l[0]),s.lineTo($[O*r.maxSpokeLen+r.maxSpokeLen-1],l[O*r.maxSpokeLen+r.maxSpokeLen-1]),s.lineTo($[w*r.maxSpokeLen+r.maxSpokeLen-1],l[w*r.maxSpokeLen+r.maxSpokeLen-1]),s.closePath(),s.stroke(),s.clip(),s.clearRect(0,0,n.width,n.height),s.restore();let f=s.getImageData(0,0,n.width,n.height);for(let U=0;U<y.spokes.length;U++){let h=y.spokes[U];_!=h.range&&(s.clearRect(0,0,n.width,n.height),f=s.getImageData(0,0,n.width,n.height),_=h.range,postMessage({range:h.range}));let C=m(h.angle);h.has_bearing&&(C=h.bearing);for(let T=0;T<h.data.length;T++){let z=$[C*r.maxSpokeLen+T],j=l[C*r.maxSpokeLen+T]*f.width+z;j=j*4;let I=N.get(h.data[T]);I?(f.data[j]=I[0],f.data[j+1]=I[1],f.data[j+2]=I[2],f.data[j+3]=I[3]*255):f.data[j+3]=0}}s.putImageData(f,0,0),o.clearRect(0,0,n.width,n.height),o.drawImage(n,0,0),postMessage({redraw:!0})},p.onopen=A=>{console.log(`Radar ${r.name} connected`)},p.onclose=A=>{console.log(`Radar ${r.name} disconnected retry in 3 seconds`),s.clearRect(0,0,n.width,n.height),o.clearRect(0,0,n.width,n.height),setTimeout(function(){P()},3e3)},p.onerror=A=>{s.clearRect(0,0,n.width,n.height),o.clearRect(0,0,n.width,n.height),postMessage({redraw:!0}),console.error(`Error on radar ${r.name} stopping`)}},e=t.data.canvas,o=e.getContext("2d"),n=new OffscreenCanvas(e.width,e.height),r=t.data.radar;N.clear(),Object.keys(r.legend).forEach(p=>{N.set(parseInt(p),H(r.legend[p].color))});let s=n.getContext("2d"),g=s.createImageData(1,1).data;g[0]=0,g[1]=0,g[2]=0,g[3]=255;let $=[],l=[],d=n.width/2,c=n.height/2;for(let p=0;p<r.spokes;p++)for(let _=0;_<r.maxSpokeLen;_++){let A=p*(2*Math.PI/r.spokes),y=_*(n.width/2/r.maxSpokeLen),O=Math.round(d+y*Math.cos(A)),w=Math.round(c+y*Math.sin(A));$[p*r.maxSpokeLen+_]=O,l[p*r.maxSpokeLen+_]=w}P()}});
|